You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/vendors.435c34a1.async.js

773 lines
3.8 MiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+6XX":function(R,I,e){var g=e("y1pI");function f(b){return g(this.__data__,b)>-1}R.exports=f},"+BJd":function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("6MrE"),m=e.n(b)},"+QRC":function(R,I,e){"use strict";var g=e("E9nw"),f={"text/plain":"Text","text/html":"Url",default:"Text"},b="Copy to clipboard: #{key}, Enter";function m(h){var u=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return h.replace(/#{\s*key\s*}/g,u)}function y(h,u){var i,a,r,o,d,n,l=!1;u||(u={}),i=u.debug||!1;try{r=g(),o=document.createRange(),d=document.getSelection(),n=document.createElement("span"),n.textContent=h,n.style.all="unset",n.style.position="fixed",n.style.top=0,n.style.clip="rect(0, 0, 0, 0)",n.style.whiteSpace="pre",n.style.webkitUserSelect="text",n.style.MozUserSelect="text",n.style.msUserSelect="text",n.style.userSelect="text",n.addEventListener("copy",function(s){if(s.stopPropagation(),u.format)if(s.preventDefault(),typeof s.clipboardData=="undefined"){i&&console.warn("unable to use e.clipboardData"),i&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var c=f[u.format]||f.default;window.clipboardData.setData(c,h)}else s.clipboardData.clearData(),s.clipboardData.setData(u.format,h);u.onCopy&&(s.preventDefault(),u.onCopy(s.clipboardData))}),document.body.appendChild(n),o.selectNodeContents(n),d.addRange(o);var t=document.execCommand("copy");if(!t)throw new Error("copy command was unsuccessful");l=!0}catch(s){i&&console.error("unable to copy using execCommand: ",s),i&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(u.format||"text",h),u.onCopy&&u.onCopy(window.clipboardData),l=!0}catch(c){i&&console.error("unable to copy using clipboardData: ",c),i&&console.error("falling back to prompt"),a=m("message"in u?u.message:b),window.prompt(a,h)}}finally{d&&(typeof d.removeRange=="function"?d.removeRange(o):d.removeAllRanges()),n&&document.body.removeChild(n),r()}return l}R.exports=y},"+TT/":function(R,I,e){var g=e("bYtY"),f=e("mFDi"),b=e("OELB"),m=b.parsePercent,y=e("7aKB"),h=g.each,u=["left","right","top","bottom","width","height"],i=[["width","left","right"],["height","top","bottom"]];function a(w,C,x,E,T){var _=0,v=0;E==null&&(E=Infinity),T==null&&(T=Infinity);var S=0;C.eachChild(function(O,L){var M=O.position,F=O.getBoundingRect(),U=C.childAt(L+1),z=U&&U.getBoundingRect(),W,N;if(w==="horizontal"){var H=F.width+(z?-z.x+F.x:0);W=_+H,W>E||O.newline?(_=0,W=H,v+=S+x,S=F.height):S=Math.max(S,F.height)}else{var j=F.height+(z?-z.y+F.y:0);N=v+j,N>T||O.newline?(_+=S+x,v=0,N=j,S=F.width):S=Math.max(S,F.width)}if(O.newline)return;M[0]=_,M[1]=v,w==="horizontal"?_=W+x:v=N+x})}var r=a,o=g.curry(a,"vertical"),d=g.curry(a,"horizontal");function n(w,C,x){var E=C.width,T=C.height,_=m(w.x,E),v=m(w.y,T),S=m(w.x2,E),O=m(w.y2,T);return(isNaN(_)||isNaN(parseFloat(w.x)))&&(_=0),(isNaN(S)||isNaN(parseFloat(w.x2)))&&(S=E),(isNaN(v)||isNaN(parseFloat(w.y)))&&(v=0),(isNaN(O)||isNaN(parseFloat(w.y2)))&&(O=T),x=y.normalizeCssArray(x||0),{width:Math.max(S-_-x[1]-x[3],0),height:Math.max(O-v-x[0]-x[2],0)}}function l(w,C,x){x=y.normalizeCssArray(x||0);var E=C.width,T=C.height,_=m(w.left,E),v=m(w.top,T),S=m(w.right,E),O=m(w.bottom,T),L=m(w.width,E),M=m(w.height,T),F=x[2]+x[0],U=x[1]+x[3],z=w.aspect;isNaN(L)&&(L=E-S-U-_),isNaN(M)&&(M=T-O-F-v),z!=null&&(isNaN(L)&&isNaN(M)&&(z>E/T?L=E*.8:M=T*.8),isNaN(L)&&(L=z*M),isNaN(M)&&(M=L/z)),isNaN(_)&&(_=E-S-L-U),isNaN(v)&&(v=T-O-M-F);switch(w.left||w.right){case"center":_=E/2-L/2-x[3];break;case"right":_=E-L-U;break}switch(w.top||w.bottom){case"middle":case"center":v=T/2-M/2-x[0];break;case"bottom":v=T-M-F;break}_=_||0,v=v||0,isNaN(L)&&(L=E-U-_-(S||0)),isNaN(M)&&(M=T-F-v-(O||0));var W=new f(_+x[3],v+x[0],L,M);return W.margin=x,W}function t(w,C,x,E,T){var _=!T||!T.hv||T.hv[0],v=!T||!T.hv||T.hv[1],S=T&&T.boundingMode||"all";if(!_&&!v)return;var O;if(S==="raw")O=w.type==="group"?new f(0,0,+C.width||0,+C.height||0):w.getBoundingRect();else if(O=w.getBoundingRect(),w.needLocalTransform()){var L=w.getLocalTransform();O=O.clone(),O.applyTransform(L)}C=l(g.defaults({width:O.width,height:O.height},C),x,E);var M=w.position,F=_?C.x-O.x:0,U=v?C.y-O.y:0;w.attr("position",S==="raw"?[F,U]:[M[0]+F,M[1]+U])}function s(w,C){return w[i[C][0]]!=null||w[i[C][1]]!=null&&w[i[C][2]]!=null}function c(w,C,x){!g.isObject(x)&&(x={});var E=x.ignoreSize;!g.isArray(E)&&(E=[E,E]);var T=v(i[0],0),_=v(i[1],1);L(i[0],w,T),L(i[1],w,_);function v(M,F){var U={},z=0,W={},N=0,H=2;if(h(M,function(B){W[B]=w[B]}),h(M,function(B){S(C,B)&&(U[B]=W[B]=C[B]),O(U,B)&&z++,O(W,B)&&N++}),E[F])return O(C,M[1])?W[M[2]]=null:O(C,M[2])&&(W[M[1]]=null),W;if(N===H||!z)return W;if(z>=H)return U;for(var j=0;j<M.length;j++){var k=M[j];if(!S(U,k)&&S(w,k)){U[k]=w[k];break}}return U}function S(M,F){return M.hasOwnProperty(F)}function O(M,F){return M[F]!=null&&M[F]!=="auto"}function L(M,F,U){h(M,function(z){F[z]=U[z]})}}function p(w){return A({},w)}function A(w,C){return C&&w&&h(u,function(x){C.hasOwnProperty(x)&&(w[x]=C[x])}),w}I.LOCATION_PARAMS=u,I.HV_NAMES=i,I.box=r,I.vbox=o,I.hbox=d,I.getAvailableSize=n,I.getLayoutRect=l,I.positionElement=t,I.sizeCalculable=s,I.mergeLayoutParam=c,I.getLayoutParams=p,I.copyLayoutParams=A},"+Zaj":function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("ugBc")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="CalendarOutlined";var u=b.forwardRef(h);I.default=u},"+d4F":function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("y3Yb"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},"+eQT":function(R,I,e){"use strict";var g=e("wd/R"),f=e.n(g),b=e("Kwbf"),m={getNow:function(){return f()()},getWeekDay:function(jt){var Zt=jt.clone().locale("en_US");return Zt.weekday()+Zt.localeData().firstDayOfWeek()},getYear:function(jt){return jt.year()},getMonth:function(jt){return jt.month()},getDate:function(jt){return jt.date()},getHour:function(jt){return jt.hour()},getMinute:function(jt){return jt.minute()},getSecond:function(jt){return jt.second()},addYear:function(jt,Zt){var nr=jt.clone();return nr.add(Zt,"year")},addMonth:function(jt,Zt){var nr=jt.clone();return nr.add(Zt,"month")},addDate:function(jt,Zt){var nr=jt.clone();return nr.add(Zt,"day")},setYear:function(jt,Zt){var nr=jt.clone();return nr.year(Zt)},setMonth:function(jt,Zt){var nr=jt.clone();return nr.month(Zt)},setDate:function(jt,Zt){var nr=jt.clone();return nr.date(Zt)},setHour:function(jt,Zt){var nr=jt.clone();return nr.hour(Zt)},setMinute:function(jt,Zt){var nr=jt.clone();return nr.minute(Zt)},setSecond:function(jt,Zt){var nr=jt.clone();return nr.second(Zt)},isAfter:function(jt,Zt){return jt.isAfter(Zt)},isValidate:function(jt){return jt.isValid()},locale:{getWeekFirstDay:function(jt){var Zt=f()().locale(jt);return Zt.localeData().firstDayOfWeek()},getWeek:function(jt,Zt){var nr=Zt.clone(),Or=nr.locale(jt);return Or.week()},getShortWeekDays:function(jt){var Zt=f()().locale(jt);return Zt.localeData().weekdaysMin()},getShortMonths:function(jt){var Zt=f()().locale(jt);return Zt.localeData().monthsShort()},format:function(jt,Zt,nr){var Or=Zt.clone(),wr=Or.locale(jt);return wr.format(nr)},parse:function(jt,Zt,nr){for(var Or=[],wr=0;wr<nr.length;wr+=1){var Er=nr[wr],Kr=Zt;if(Er.includes("wo")||Er.includes("Wo")){Er=Er.replace(/wo/g,"w").replace(/Wo/g,"W");var Zr=Er.match(/[-YyMmDdHhSsWwGg]+/g),Jr=Kr.match(/[-\d]+/g);Zr&&Jr?(Er=Zr.join(""),Kr=Jr.join("")):Or.push(Er.replace(/o/g,""))}var an=f()(Kr,Er,jt,!0);if(an.isValid())return an}for(var xt=0;xt<Or.length;xt+=1){var Vt=f()(Zt,Or[xt],jt,!1);if(Vt.isValid())return Object(b.b)(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),Vt}return null}}},y=m,h=e("pVnL"),u=e.n(h),i=e("q1tI"),a=e("2/Rp");function r(it){return i.createElement(a.a,u()({size:"small",type:"primary"},it))}var o=e("mr32");function d(it){return i.createElement(o.a,u()({color:"blue"},it))}var n=e("lSNA"),l=e.n(n),t=e("lwsE"),s=e.n(t),c=e("W8MJ"),p=e.n(c),A=e("7W2i"),w=e.n(A),C=e("LQ03"),x=e.n(C),E=e("TSYQ"),T=e.n(E),_=e("r/2G"),v=e.n(_),S=e("XzQk"),O=e.n(S),L=e("kbBi"),M=e.n(L),F=e("1OyB"),U=e("vuIU"),z=e("Ji7U"),W=e("LK+K"),N=e("rePB"),H=e("VTBJ"),j=e("ODXe"),k=e("6cGi"),B=e("U8pU"),V=e("4IlW"),K=i.createContext({}),Y=K,Q={visibility:"hidden"};function he(it){var jt=it.prefixCls,Zt=it.prevIcon,nr=Zt===void 0?"\u2039":Zt,Or=it.nextIcon,wr=Or===void 0?"\u203A":Or,Er=it.superPrevIcon,Kr=Er===void 0?"\xAB":Er,Zr=it.superNextIcon,Jr=Zr===void 0?"\xBB":Zr,an=it.onSuperPrev,xt=it.onSuperNext,Vt=it.onPrev,sr=it.onNext,br=it.children,Mr=i.useContext(Y),Dr=Mr.hideNextBtn,rn=Mr.hidePrevBtn;return i.createElement("div",{className:jt},an&&i.createElement("button",{type:"button",onClick:an,tabIndex:-1,className:"".concat(jt,"-super-prev-btn"),style:rn?Q:{}},Kr),Vt&&i.createElement("button",{type:"button",onClick:Vt,tabIndex:-1,className:"".concat(jt,"-prev-btn"),style:rn?Q:{}},nr),i.createElement("div",{className:"".concat(jt,"-view")},br),sr&&i.createElement("button",{type:"button",onClick:sr,tabIndex:-1,className:"".concat(jt,"-next-btn"),style:Dr?Q:{}},wr),xt&&i.createElement("button",{type:"button",onClick:xt,tabIndex:-1,className:"".concat(jt,"-super-next-btn"),style:Dr?Q:{}},Jr))}var G=he;function ye(it){var jt=i.useContext(Y),Zt=jt.hideHeader;if(Zt)return null;var nr=it.prefixCls,Or=it.generateConfig,wr=it.locale,Er=it.value,Kr=it.format,Zr="".concat(nr,"-header");return i.createElement(G,{prefixCls:Zr},Er?Or.locale.format(wr.locale,Er,Kr):"\xA0")}var Ae=ye,ge=e("YrtM"),Pe=e("KQm4"),Re=new Map;function rt(it,jt,Zt){if(Re.get(it)&&cancelAnimationFrame(Re.get(it)),Zt<=0){Re.set(it,requestAnimationFrame(function(){it.scrollTop=jt}));return}var nr=jt-it.scrollTop,Or=nr/Zt*10;Re.set(it,requestAnimationFrame(function(){it.scrollTop+=Or,it.scrollTop!==jt&&rt(it,jt,Zt-10)}))}function ne(it,jt){var Zt=jt.onLeftRight,nr=jt.onCtrlLeftRight,Or=jt.onUpDown,wr=jt.onPageUpDown,Er=jt.onEnter,Kr=it.which,Zr=it.ctrlKey,Jr=it.metaKey;switch(Kr){case V.a.LEFT:if(Zr||Jr){if(nr)return nr(-1),!0}else if(Zt)return Zt(-1),!0;break;case V.a.RIGHT:if(Zr||Jr){if(nr)return nr(1),!0}else if(Zt)return Zt(1),!0;break;case V.a.UP:if(Or)return Or(-1),!0;break;case V.a.DOWN:if(Or)return Or(1),!0;break;case V.a.PAGE_UP:if(wr)return wr(-1),!0;break;case V.a.PAGE_DOWN:if(wr)return wr(1),!0;break;case V.a.ENTER:if(Er)return Er(),!0;break}return!1}function be(it,jt,Zt,nr){var Or=it;if(!Or)switch(jt){case"time":Or=nr?"hh:mm:ss a":"HH:mm:ss";break;case"week":Or="gggg-wo";break;case"month":Or="YYYY-MM";break;case"quarter":Or="YYYY-[Q]Q";break;case"year":Or="YYYY";break;default:Or=Zt?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Or}function at(it,jt){var Zt=it==="time"?8:10;return Math.max(Zt,jt.length)+2}var se=null,q=new Set;function X(it){return!se&&typeof window!="undefined"&&window.addEventListener&&(se=function(Zt){Object(Pe.a)(q).forEach(function(nr){nr(Zt)})},window.addEventListener("mousedown",se)),q.add(it),function(){q.delete(it),q.size===0&&(window.removeEventListener("mousedown",se),se=null)}}var Z=function(jt){return jt==="month"||jt==="date"?"year":jt},pe=function(jt){return jt==="date"?"month":jt},oe=function(jt){return jt==="month"||jt==="date"?"quarter":jt},Ie=function(jt){return jt==="date"?"week":jt},fe={year:Z,month:pe,quarter:oe,week:Ie,time:null,date:null};function te(it,jt){return it.some(function(Zt){return Zt&&Zt.contains(jt)})}function J(it){var jt=it.prefixCls,Zt=it.units,nr=it.onSelect,Or=it.value,wr=it.active,Er=it.hideDisabledOptions,Kr="".concat(jt,"-cell"),Zr=i.useContext(Y),Jr=Zr.open,an=i.useRef(null),xt=i.useRef(new Map);return i.useLayoutEffect(function(){var Vt=xt.current.get(Or);Vt&&Jr!==!1&&rt(an.current,Vt.offsetTop,120)},[Or]),i.useLayoutEffect(function(){if(Jr){var Vt=xt.current.get(Or);Vt&&rt(an.current,Vt.offsetTop,0)}},[Jr]),i.createElement("ul",{className:T()("".concat(jt,"-column"),Object(N.a)({},"".concat(jt,"-column-active"),wr)),ref:an,style:{position:"relative"}},Zt.map(function(Vt){var sr;return Er&&Vt.disabled?null:i.createElement("li",{key:Vt.value,ref:function(Mr){xt.current.set(Vt.value,Mr)},className:T()(Kr,(sr={},Object(N.a)(sr,"".concat(Kr,"-disabled"),Vt.disabled),Object(N.a)(sr,"".concat(Kr,"-selected"),Or===Vt.value),sr)),onClick:function(){if(Vt.disabled)return;nr(Vt.value)}},i.createElement("div",{className:"".concat(Kr,"-inner")},Vt.label))}))}var ve=J;function De(it,jt){for(var Zt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",nr=String(it);nr.length<jt;)nr="".concat(Zt).concat(it);return nr}var ze=function(){for(var jt=arguments.length,Zt=new Array(jt),nr=0;nr<jt;nr++)Zt[nr]=arguments[nr];return Zt};function dt(it){return it==null?[]:Array.isArray(it)?it:[it]}function Me(it){var jt={};return Object.keys(it).forEach(function(Zt){(Zt.substr(0,5)==="data-"||Zt.substr(0,5)==="aria-"||Zt==="role"||Zt==="name")&&Zt.substr(0,7)!=="data-__"&&(jt[Zt]=it[Zt])}),jt}function Tt(it,jt){return it?it[jt]:null}function je(it,jt,Zt){var nr=[Tt(it,0),Tt(it,1)];return nr[Zt]=typeof jt=="function"?jt(nr[Zt]):jt,!nr[0]&&!nr[1]?null:nr}function st(it,jt,Zt,nr,Or){var wr=it.setHour(jt,Zt);return wr=it.setMinute(wr,nr),wr=it.setSecond(wr,Or),wr}function Xe(it,jt,Zt,nr,Or,wr){var Er=Math.floor(it/nr)*nr;if(Er<it)return[Er,60-Or,60-wr];var Kr=Math.floor(jt/Or)*Or;if(Kr<jt)return[Er,Kr,60-wr];var Zr=Math.floor(Zt/wr)*wr;return[Er,Kr,Zr]}function Je(it,jt){if(it.length!==jt.length)return!0;for(var Zt=0;Zt<it.length;Zt+=1)if(it[Zt].disabled!==jt[Zt].disabled)return!0;return!1}function et(it,jt,Zt,nr){for(var Or=[],wr=it;wr<=jt;wr+=Zt)Or.push({label:De(wr,2),value:wr,disabled:(nr||[]).includes(wr)});return Or}function ot(it){var jt=it.generateConfig,Zt=it.prefixCls,nr=it.operationRef,Or=it.activeColumnIndex,wr=it.value,Er=it.showHour,Kr=it.showMinute,Zr=it.showSecond,Jr=it.use12Hours,an=it.hourStep,xt=an===void 0?1:an,Vt=it.minuteStep,sr=Vt===void 0?1:Vt,br=it.secondStep,Mr=br===void 0?1:br,Dr=it.disabledHours,rn=it.disabledMinutes,fn=it.disabledSeconds,wn=it.hideDisabledOptions,Hn=it.onSelect,Sn=[],bn="".concat(Zt,"-content"),Mn="".concat(Zt,"-time-panel"),vn,Rn=wr?jt.getHour(wr):-1,En=wr?jt.getMinute(wr):-1,Ln=wr?jt.getSecond(wr):-1,Xn=function(hi,qi,va,Ea){var ya=wr||jt.getNow(),oa=Math.max(0,qi),sa=Math.max(0,va),Ni=Math.max(0,Ea);return ya=st(jt,ya,!Jr||!hi?oa:oa+12,sa,Ni),ya},ai=et(0,23,xt,Dr&&Dr()),ri=Object(ge.a)(function(){return ai},ai,Je);Jr&&(vn=Rn>=12,Rn%=12);var Di=i.useMemo(function(){if(!Jr)return[!1,!1];var mi=[!0,!0];return ri.forEach(function(hi){var qi=hi.disabled,va=hi.value;if(qi)return;va>=12?mi[1]=!1:mi[0]=!1}),mi},[Jr,ri]),yi=Object(j.a)(Di,2),xi=yi[0],_i=yi[1],Un=i.useMemo(function(){return Jr?ri.filter(vn?function(mi){return mi.value>=12}:function(mi){return mi.value<12}).map(function(mi){var hi=mi.value%12,qi=hi===0?"12":De(hi,2);return Object(H.a)(Object(H.a)({},mi),{},{label:qi,value:hi})}):ri},[Jr,ri]),Ri=et(0,59,sr,rn&&rn(Rn)),fa=et(0,59,Mr,fn&&fn(Rn,En));nr.current={onUpDown:function(hi){var qi=Sn[Or];if(qi)for(var va=qi.units.findIndex(function(sa){return sa.value===qi.value}),Ea=qi.units.length,ya=1;ya<Ea;ya+=1){var oa=qi.units[(va+hi*ya+Ea)%Ea];if(oa.disabled!==!0){qi.onSelect(oa.value);break}}}};function Ui(mi,hi,qi,va,Ea){mi!==!1&&Sn.push({node:i.cloneElement(hi,{prefixCls:Mn,value:qi,active:Or===Sn.length,onSelect:Ea,units:va,hideDisabledOptions:wn}),onSelect:Ea,value:qi,units:va})}Ui(Er,i.createElement(ve,{key:"hour"}),Rn,Un,function(mi){Hn(Xn(vn,mi,En,Ln),"mouse")}),Ui(Kr,i.createElement(ve,{key:"minute"}),En,Ri,function(mi){Hn(Xn(vn,Rn,mi,Ln),"mouse")}),Ui(Zr,i.createElement(ve,{key:"second"}),Ln,fa,function(mi){Hn(Xn(vn,Rn,En,mi),"mouse")});var Mi=-1;return typeof vn=="boolean"&&(Mi=vn?1:0),Ui(Jr===!0,i.createElement(ve,{key:"12hours"}),Mi,[{label:"AM",value:0,disabled:xi},{label:"PM",value:1,disabled:_i}],function(mi){Hn(Xn(!!mi,Rn,En,Ln),"mouse")}),i.createElement("div",{className:bn},Sn.map(function(mi){var hi=mi.node;return hi}))}var Ve=ot,ue=function(jt){return jt.filter(function(Zt){return Zt!==!1}).length};function ae(it){var jt=it.generateConfig,Zt=it.format,nr=Zt===void 0?"HH:mm:ss":Zt,Or=it.prefixCls,wr=it.active,Er=it.operationRef,Kr=it.showHour,Zr=it.showMinute,Jr=it.showSecond,an=it.use12Hours,xt=an===void 0?!1:an,Vt=it.onSelect,sr=it.value,br="".concat(Or,"-time-panel"),Mr=i.useRef(),Dr=i.useState(-1),rn=Object(j.a)(Dr,2),fn=rn[0],wn=rn[1],Hn=ue([Kr,Zr,Jr,xt]);return Er.current={onKeyDown:function(bn){return ne(bn,{onLeftRight:function(vn){wn((fn+vn+Hn)%Hn)},onUpDown:function(vn){fn===-1?wn(0):Mr.current&&Mr.current.onUpDown(vn)},onEnter:function(){Vt(sr||jt.getNow(),"key"),wn(-1)}})},onBlur:function(){wn(-1)}},i.createElement("div",{className:T()(br,Object(N.a)({},"".concat(br,"-active"),wr))},i.createElement(Ae,Object.assign({},it,{format:nr,prefixCls:Or})),i.createElement(Ve,Object.assign({},it,{prefixCls:Or,activeColumnIndex:fn,operationRef:Mr})))}var lt=ae,Ze=7;function Te(it,jt){return!it&&!jt?!0:!it||!jt?!1:void 0}function Jt(it,jt,Zt){var nr=Te(jt,Zt);if(typeof nr=="boolean")return nr;var Or=Math.floor(it.getYear(jt)/10),wr=Math.floor(it.getYear(Zt)/10);return Or===wr}function mt(it,jt,Zt){var nr=Te(jt,Zt);return typeof nr=="boolean"?nr:it.getYear(jt)===it.getYear(Zt)}function ft(it,jt){var Zt=Math.floor(it.getMonth(jt)/3);return Zt+1}function bt(it,jt,Zt){var nr=Te(jt,Zt);return typeof nr=="boolean"?nr:mt(it,jt,Zt)&&ft(it,jt)===ft(it,Zt)}function Lt(it,jt,Zt){var nr=Te(jt,Zt);return typeof nr=="boolean"?nr:mt(it,jt,Zt)&&it.getMonth(jt)===it.getMonth(Zt)}function or(it,jt,Zt){var nr=Te(jt,Zt);return typeof nr=="boolean"?nr:it.getYear(jt)===it.getYear(Zt)&&it.getMonth(jt)===it.getMonth(Zt)&&it.getDate(jt)===it.getDate(Zt)}function Bt(it,jt,Zt){var nr=Te(jt,Zt);return typeof nr=="boolean"?nr:it.getHour(jt)===it.getHour(Zt)&&it.getMinute(jt)===it.getMinute(Zt)&&it.getSecond(jt)===it.getSecond(Zt)}function _e(it,jt,Zt,nr){var Or=Te(Zt,nr);return typeof Or=="boolean"?Or:it.locale.getWeek(jt,Zt)===it.locale.getWeek(jt,nr)}function Ce(it,jt,Zt){return or(it,jt,Zt)&&Bt(it,jt,Zt)}function Ee(it,jt,Zt,nr){return!jt||!Zt||!nr?!1:!or(it,jt,nr)&&!or(it,Zt,nr)&&it.isAfter(nr,jt)&&it.isAfter(Zt,nr)}function we(it,jt,Zt){var nr=jt.locale.getWeekFirstDay(it),Or=jt.setDate(Zt,1),wr=jt.getWeekDay(Or),Er=jt.addDate(Or,nr-wr);return jt.getMonth(Er)===jt.getMonth(Zt)&&jt.getDate(Er)>1&&(Er=jt.addDate(Er,-7)),Er}function Fe(it,jt,Zt){var nr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(jt){case"year":return Zt.addYear(it,nr*10);case"quarter":case"month":return Zt.addYear(it,nr);default:return Zt.addMonth(it,nr)}}var Ye=i.createContext({}),Ge=Ye;function qe(it){var jt=it.cellPrefixCls,Zt=it.generateConfig,nr=it.rangedValue,Or=it.hoverRangedValue,wr=it.isInView,Er=it.isSameCell,Kr=it.offsetCell,Zr=it.today,Jr=it.value;function an(xt){var Vt,sr=Kr(xt,-1),br=Kr(xt,1),Mr=Tt(nr,0),Dr=Tt(nr,1),rn=Tt(Or,0),fn=Tt(Or,1),wn=Ee(Zt,rn,fn,xt);function Hn(En){return Er(Mr,En)}function Sn(En){return Er(Dr,En)}var bn=Er(rn,xt),Mn=Er(fn,xt),vn=(wn||Mn)&&(!wr(sr)||Sn(sr)),Rn=(wn||bn)&&(!wr(br)||Hn(br));return Vt={},Object(N.a)(Vt,"".concat(jt,"-in-view"),wr(xt)),Object(N.a)(Vt,"".concat(jt,"-in-range"),Ee(Zt,Mr,Dr,xt)),Object(N.a)(Vt,"".concat(jt,"-range-start"),Hn(xt)),Object(N.a)(Vt,"".concat(jt,"-range-end"),Sn(xt)),Object(N.a)(Vt,"".concat(jt,"-range-start-single"),Hn(xt)&&!Dr),Object(N.a)(Vt,"".concat(jt,"-range-end-single"),Sn(xt)&&!Mr),Object(N.a)(Vt,"".concat(jt,"-range-start-near-hover"),Hn(xt)&&(Er(sr,rn)||Ee(Zt,rn,fn,sr))),Object(N.a)(Vt,"".concat(jt,"-range-end-near-hover"),Sn(xt)&&(Er(br,fn)||Ee(Zt,rn,fn,br))),Object(N.a)(Vt,"".concat(jt,"-range-hover"),wn),Object(N.a)(Vt,"".concat(jt,"-range-hover-start"),bn),Object(N.a)(Vt,"".concat(jt,"-range-hover-end"),Mn),Object(N.a)(Vt,"".concat(jt,"-range-hover-edge-start"),vn),Object(N.a)(Vt,"".concat(jt,"-range-hover-edge-end"),Rn),Object(N.a)(Vt,"".concat(jt,"-range-hover-edge-start-near-range"),vn&&Er(sr,Dr)),Object(N.a)(Vt,"".concat(jt,"-range-hover-edge-end-near-range"),Rn&&Er(br,Mr)),Object(N.a)(Vt,"".concat(jt,"-today"),Er(Zr,xt)),Object(N.a)(Vt,"".concat(jt,"-selected"),Er(Jr,xt)),Vt}return an}function Ke(it){for(var jt=it.prefixCls,Zt=it.disabledDate,nr=it.onSelect,Or=it.rowNum,wr=it.colNum,Er=it.prefixColumn,Kr=it.rowClassName,Zr=it.baseDate,Jr=it.getCellClassName,an=it.getCellText,xt=it.getCellNode,Vt=it.getCellDate,sr=it.titleCell,br=it.headerCells,Mr=i.useContext(Y),Dr=Mr.onDateMouseEnter,rn=Mr.onDateMouseLeave,fn="".concat(jt,"-cell"),wn=[],Hn=0;Hn<Or;Hn+=1){for(var Sn=[],bn=void 0,Mn=function(En){var Ln=Hn*wr+En,Xn=Vt(Zr,Ln),ai=Zt&&Zt(Xn);En===0&&(bn=Xn,Er&&Sn.push(Er(bn))),Sn.push(i.createElement("td",{key:En,title:sr&&sr(Xn),className:T()(fn,Object(H.a)(Object(N.a)({},"".concat(fn,"-disabled"),ai),Jr(Xn))),onClick:function(){ai||nr(Xn)},onMouseEnter:function(){!ai&&Dr&&Dr(Xn)},onMouseLeave:function(){!ai&&rn&&rn(Xn)}},xt?xt(Xn):i.createElement("div",{className:"".concat(fn,"-inner")},an(Xn))))},vn=0;vn<wr;vn+=1)Mn(vn);wn.push(i.createElement("tr",{key:Hn,className:Kr&&Kr(bn)},Sn))}return i.createElement("div",{className:"".concat(jt,"-body")},i.createElement("table",{className:"".concat(jt,"-content")},br&&i.createElement("thead",null,i.createElement("tr",null,br)),i.createElement("tbody",null,wn)))}function ut(it){var jt=it.prefixCls,Zt=it.generateConfig,nr=it.prefixColumn,Or=it.locale,wr=it.rowCount,Er=it.viewDate,Kr=it.value,Zr=it.dateRender,Jr=i.useContext(Ge),an=Jr.rangedValue,xt=Jr.hoverRangedValue,Vt=we(Or.locale,Zt,Er),sr="".concat(jt,"-cell"),br=Zt.locale.getWeekFirstDay(Or.locale),Mr=Zt.getNow(),Dr=[],rn=Or.shortWeekDays||(Zt.locale.getShortWeekDays?Zt.locale.getShortWeekDays(Or.locale):[]);nr&&Dr.push(i.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var fn=0;fn<Ze;fn+=1)Dr.push(i.createElement("th",{key:fn},rn[(fn+br)%Ze]));var wn=qe({cellPrefixCls:sr,today:Mr,value:Kr,generateConfig:Zt,rangedValue:nr?null:an,hoverRangedValue:nr?null:xt,isSameCell:function(bn,Mn){return or(Zt,bn,Mn)},isInView:function(bn){return Lt(Zt,bn,Er)},offsetCell:function(bn,Mn){return Zt.addDate(bn,Mn)}}),Hn=Zr?function(Sn){return Zr(Sn,Mr)}:void 0;return i.createElement(Ke,Object.assign({},it,{rowNum:wr,colNum:Ze,baseDate:Vt,getCellNode:Hn,getCellText:Zt.getDate,getCellClassName:wn,getCellDate:Zt.addDate,titleCell:function(bn){return Zt.locale.format(Or.locale,bn,"YYYY-MM-DD")},headerCells:Dr}))}var wt=ut;function It(it){var jt=it.prefixCls,Zt=it.generateConfig,nr=it.locale,Or=it.viewDate,wr=it.onNextMonth,Er=it.onPrevMonth,Kr=it.onNextYear,Zr=it.onPrevYear,Jr=it.onYearClick,an=it.onMonthClick,xt=i.useContext(Y),Vt=xt.hideHeader;if(Vt)return null;var sr="".concat(jt,"-header"),br=nr.shortMonths||(Zt.locale.getShortMonths?Zt.locale.getShortMonths(nr.locale):[]),Mr=Zt.getMonth(Or),Dr=i.createElement("button",{type:"button",key:"year",onClick:Jr,tabIndex:-1,className:"".concat(jt,"-year-btn")},Zt.locale.format(nr.locale,Or,nr.yearFormat)),rn=i.createElement("button",{type:"button",key:"month",onClick:an,tabIndex:-1,className:"".concat(jt,"-month-btn")},nr.monthFormat?Zt.locale.format(nr.locale,Or,nr.monthFormat):br[Mr]),fn=nr.monthBeforeYear?[rn,Dr]:[Dr,rn];return i.createElement(G,Object.assign({},it,{prefixCls:sr,onSuperPrev:Zr,onPrev:Er,onNext:wr,onSuperNext:Kr}),fn)}var de=It,xe=6;function $(it){var jt=it.prefixCls,Zt=it.panelName,nr=Zt===void 0?"date":Zt,Or=it.keyboardConfig,wr=it.active,Er=it.operationRef,Kr=it.generateConfig,Zr=it.value,Jr=it.viewDate,an=it.onViewDateChange,xt=it.onPanelChange,Vt=it.onSelect,sr="".concat(jt,"-").concat(nr,"-panel");Er.current={onKeyDown:function(rn){return ne(rn,Object(H.a)({onLeftRight:function(wn){Vt(Kr.addDate(Zr||Jr,wn),"key")},onCtrlLeftRight:function(wn){Vt(Kr.addYear(Zr||Jr,wn),"key")},onUpDown:function(wn){Vt(Kr.addDate(Zr||Jr,wn*Ze),"key")},onPageUpDown:function(wn){Vt(Kr.addMonth(Zr||Jr,wn),"key")}},Or))}};var br=function(rn){var fn=Kr.addYear(Jr,rn);an(fn),xt(null,fn)},Mr=function(rn){var fn=Kr.addMonth(Jr,rn);an(fn),xt(null,fn)};return i.createElement("div",{className:T()(sr,Object(N.a)({},"".concat(sr,"-active"),wr))},i.createElement(de,Object.assign({},it,{prefixCls:jt,value:Zr,viewDate:Jr,onPrevYear:function(){br(-1)},onNextYear:function(){br(1)},onPrevMonth:function(){Mr(-1)},onNextMonth:function(){Mr(1)},onMonthClick:function(){xt("month",Jr)},onYearClick:function(){xt("year",Jr)}})),i.createElement(wt,Object.assign({},it,{onSelect:function(rn){return Vt(rn,"mouse")},prefixCls:jt,value:Zr,viewDate:Jr,rowCount:xe})))}var le=$;function Oe(it,jt,Zt){if(!Zt)return jt;var nr=jt;return nr=it.setHour(nr,it.getHour(Zt)),nr=it.setMinute(nr,it.getMinute(Zt)),nr=it.setSecond(nr,it.getSecond(Zt)),nr}var ke=ze("date","time");function Ue(it){var jt=it.prefixCls,Zt=it.operationRef,nr=it.generateConfig,Or=it.value,wr=it.defaultValue,Er=it.disabledTime,Kr=it.showTime,Zr=it.onSelect,Jr="".concat(jt,"-datetime-panel"),an=i.useState(null),xt=Object(j.a)(an,2),Vt=xt[0],sr=xt[1],br=i.useRef({}),Mr=i.useRef({}),Dr=Object(B.a)(Kr)==="object"?Object(H.a)({},Kr):{};function rn(Sn){var bn=ke.indexOf(Vt)+Sn,Mn=ke[bn]||null;return Mn}var fn=function(bn){Mr.current.onBlur&&Mr.current.onBlur(bn),sr(null)};Zt.current={onKeyDown:function(bn){if(bn.which===V.a.TAB){var Mn=rn(bn.shiftKey?-1:1);return sr(Mn),Mn&&bn.preventDefault(),!0}if(Vt){var vn=Vt==="date"?br:Mr;return vn.current&&vn.current.onKeyDown&&vn.current.onKeyDown(bn),!0}return[V.a.LEFT,V.a.RIGHT,V.a.UP,V.a.DOWN].includes(bn.which)?(sr("date"),!0):!1},onBlur:fn,onClose:fn};var wn=function(bn,Mn){var vn=bn;Mn==="date"&&!Or&&Dr.defaultValue?(vn=nr.setHour(vn,nr.getHour(Dr.defaultValue)),vn=nr.setMinute(vn,nr.getMinute(Dr.defaultValue)),vn=nr.setSecond(vn,nr.getSecond(Dr.defaultValue))):Mn==="time"&&!Or&&wr&&(vn=nr.setYear(vn,nr.getYear(wr)),vn=nr.setMonth(vn,nr.getMonth(wr)),vn=nr.setDate(vn,nr.getDate(wr))),Zr&&Zr(vn,"mouse")},Hn=Er?Er(Or||null):{};return i.createElement("div",{className:T()(Jr,Object(N.a)({},"".concat(Jr,"-active"),Vt))},i.createElement(le,Object.assign({},it,{operationRef:br,active:Vt==="date",onSelect:function(bn){wn(Oe(nr,bn,Kr&&Object(B.a)(Kr)==="object"?Kr.defaultValue:null),"date")}})),i.createElement(lt,Object.assign({},it,{format:void 0},Dr,Hn,{defaultValue:void 0,operationRef:Mr,active:Vt==="time",onSelect:function(bn){wn(bn,"time")}})))}var nt=Ue;function At(it){var jt=it.prefixCls,Zt=it.generateConfig,nr=it.locale,Or=it.value,wr="".concat(jt,"-cell"),Er=function(an){return i.createElement("td",{key:"week",className:T()(wr,"".concat(wr,"-week"))},Zt.locale.getWeek(nr.locale,an))},Kr="".concat(jt,"-week-panel-row"),Zr=function(an){return T()(Kr,Object(N.a)({},"".concat(Kr,"-selected"),_e(Zt,nr.locale,Or,an)))};return i.createElement(le,Object.assign({},it,{panelName:"week",prefixColumn:Er,rowClassName:Zr,keyboardConfig:{onLeftRight:null}}))}var Wt=At;function $t(it){var jt=it.prefixCls,Zt=it.generateConfig,nr=it.locale,Or=it.viewDate,wr=it.onNextYear,Er=it.onPrevYear,Kr=it.onYearClick,Zr=i.useContext(Y),Jr=Zr.hideHeader;if(Jr)return null;var an="".concat(jt,"-header");return i.createElement(G,Object.assign({},it,{prefixCls:an,onSuperPrev:Er,onSuperNext:wr}),i.createElement("button",{type:"button",onClick:Kr,className:"".concat(jt,"-year-btn")},Zt.locale.format(nr.locale,Or,nr.yearFormat)))}var Rt=$t,zt=3,Gt=4;function Qt(it){var jt=it.prefixCls,Zt=it.locale,nr=it.value,Or=it.viewDate,wr=it.generateConfig,Er=it.monthCellRender,Kr=i.useContext(Ge),Zr=Kr.rangedValue,Jr=Kr.hoverRangedValue,an="".concat(jt,"-cell"),xt=qe({cellPrefixCls:an,value:nr,generateConfig:wr,rangedValue:Zr,hoverRangedValue:Jr,isSameCell:function(Dr,rn){return Lt(wr,Dr,rn)},isInView:function(){return!0},offsetCell:function(Dr,rn){return wr.addMonth(Dr,rn)}}),Vt=Zt.shortMonths||(wr.locale.getShortMonths?wr.locale.getShortMonths(Zt.locale):[]),sr=wr.setMonth(Or,0),br=Er?function(Mr){return Er(Mr,Zt)}:void 0;return i.createElement(Ke,Object.assign({},it,{rowNum:Gt,colNum:zt,baseDate:sr,getCellNode:br,getCellText:function(Dr){return Zt.monthFormat?wr.locale.format(Zt.locale,Dr,Zt.monthFormat):Vt[wr.getMonth(Dr)]},getCellClassName:xt,getCellDate:wr.addMonth,titleCell:function(Dr){return wr.locale.format(Zt.locale,Dr,"YYYY-MM")}}))}var Mt=Qt;function dr(it){var jt=it.prefixCls,Zt=it.operationRef,nr=it.onViewDateChange,Or=it.generateConfig,wr=it.value,Er=it.viewDate,Kr=it.onPanelChange,Zr=it.onSelect,Jr="".concat(jt,"-month-panel");Zt.current={onKeyDown:function(Vt){return ne(Vt,{onLeftRight:function(br){Zr(Or.addMonth(wr||Er,br),"key")},onCtrlLeftRight:function(br){Zr(Or.addYear(wr||Er,br),"key")},onUpDown:function(br){Zr(Or.addMonth(wr||Er,br*zt),"key")},onEnter:function(){Kr("date",wr||Er)}})}};var an=function(Vt){var sr=Or.addYear(Er,Vt);nr(sr),Kr(null,sr)};return i.createElement("div",{className:Jr},i.createElement(Rt,Object.assign({},it,{prefixCls:jt,onPrevYear:function(){an(-1)},onNextYear:function(){an(1)},onYearClick:function(){Kr("year",Er)}})),i.createElement(Mt,Object.assign({},it,{prefixCls:jt,onSelect:function(Vt){Zr(Vt,"mouse"),Kr("date",Vt)}})))}var er=dr;function ht(it){var jt=it.prefixCls,Zt=it.generateConfig,nr=it.locale,Or=it.viewDate,wr=it.onNextYear,Er=it.onPrevYear,Kr=it.onYearClick,Zr=i.useContext(Y),Jr=Zr.hideHeader;if(Jr)return null;var an="".concat(jt,"-header");return i.createElement(G,Object.assign({},it,{prefixCls:an,onSuperPrev:Er,onSuperNext:wr}),i.createElement("button",{type:"button",onClick:Kr,className:"".concat(jt,"-year-btn")},Zt.locale.format(nr.locale,Or,nr.yearFormat)))}var Et=ht,pt=4,vt=1;function Nt(it){var jt=it.prefixCls,Zt=it.locale,nr=it.value,Or=it.viewDate,wr=it.generateConfig,Er=i.useContext(Ge),Kr=Er.rangedValue,Zr=Er.hoverRangedValue,Jr="".concat(jt,"-cell"),an=qe({cellPrefixCls:Jr,value:nr,generateConfig:wr,rangedValue:Kr,hoverRangedValue:Zr,isSameCell:function(sr,br){return bt(wr,sr,br)},isInView:function(){return!0},offsetCell:function(sr,br){return wr.addMonth(sr,br*3)}}),xt=wr.setDate(wr.setMonth(Or,0),1);return i.createElement(Ke,Object.assign({},it,{rowNum:vt,colNum:pt,baseDate:xt,getCellText:function(sr){return wr.locale.format(Zt.locale,sr,Zt.quarterFormat||"[Q]Q")},getCellClassName:an,getCellDate:function(sr,br){return wr.addMonth(sr,br*3)},titleCell:function(sr){return wr.locale.format(Zt.locale,sr,"YYYY-[Q]Q")}}))}var _t=Nt;function gt(it){var jt=it.prefixCls,Zt=it.operationRef,nr=it.onViewDateChange,Or=it.generateConfig,wr=it.value,Er=it.viewDate,Kr=it.onPanelChange,Zr=it.onSelect,Jr="".concat(jt,"-quarter-panel");Zt.current={onKeyDown:function(Vt){return ne(Vt,{onLeftRight:function(br){Zr(Or.addMonth(wr||Er,br*3),"key")},onCtrlLeftRight:function(br){Zr(Or.addYear(wr||Er,br),"key")},onUpDown:function(br){Zr(Or.addYear(wr||Er,br),"key")}})}};var an=function(Vt){var sr=Or.addYear(Er,Vt);nr(sr),Kr(null,sr)};return i.createElement("div",{className:Jr},i.createElement(Et,Object.assign({},it,{prefixCls:jt,onPrevYear:function(){an(-1)},onNextYear:function(){an(1)},onYearClick:function(){Kr("year",Er)}})),i.createElement(_t,Object.assign({},it,{prefixCls:jt,onSelect:function(Vt){Zr(Vt,"mouse")}})))}var Ht=gt;function kt(it){var jt=it.prefixCls,Zt=it.generateConfig,nr=it.viewDate,Or=it.onPrevDecade,wr=it.onNextDecade,Er=it.onDecadeClick,Kr=i.useContext(Y),Zr=Kr.hideHeader;if(Zr)return null;var Jr="".concat(jt,"-header"),an=Zt.getYear(nr),xt=Math.floor(an/kr)*kr,Vt=xt+kr-1;return i.createElement(G,Object.assign({},it,{prefixCls:Jr,onSuperPrev:Or,onSuperNext:wr}),i.createElement("button",{type:"button",onClick:Er,className:"".concat(jt,"-decade-btn")},xt,"-",Vt))}var ir=kt,Xt=3,mr=4;function Ar(it){var jt=it.prefixCls,Zt=it.value,nr=it.viewDate,Or=it.locale,wr=it.generateConfig,Er=i.useContext(Ge),Kr=Er.rangedValue,Zr=Er.hoverRangedValue,Jr="".concat(jt,"-cell"),an=wr.getYear(nr),xt=Math.floor(an/kr)*kr,Vt=xt+kr-1,sr=wr.setYear(nr,xt-Math.ceil((Xt*mr-kr)/2)),br=function(rn){var fn=wr.getYear(rn);return xt<=fn&&fn<=Vt},Mr=qe({cellPrefixCls:Jr,value:Zt,generateConfig:wr,rangedValue:Kr,hoverRangedValue:Zr,isSameCell:function(rn,fn){return mt(wr,rn,fn)},isInView:br,offsetCell:function(rn,fn){return wr.addYear(rn,fn)}});return i.createElement(Ke,Object.assign({},it,{rowNum:mr,colNum:Xt,baseDate:sr,getCellText:wr.getYear,getCellClassName:Mr,getCellDate:wr.addYear,titleCell:function(rn){return wr.locale.format(Or.locale,rn,"YYYY")}}))}var Nr=Ar,kr=10;function tn(it){var jt=it.prefixCls,Zt=it.operationRef,nr=it.onViewDateChange,Or=it.generateConfig,wr=it.value,Er=it.viewDate,Kr=it.sourceMode,Zr=it.onSelect,Jr=it.onPanelChange,an="".concat(jt,"-year-panel");Zt.current={onKeyDown:function(sr){return ne(sr,{onLeftRight:function(Mr){Zr(Or.addYear(wr||Er,Mr),"key")},onCtrlLeftRight:function(Mr){Zr(Or.addYear(wr||Er,Mr*kr),"key")},onUpDown:function(Mr){Zr(Or.addYear(wr||Er,Mr*Xt),"key")},onEnter:function(){Jr(Kr==="date"?"date":"month",wr||Er)}})}};var xt=function(sr){var br=Or.addYear(Er,sr*10);nr(br),Jr(null,br)};return i.createElement("div",{className:an},i.createElement(ir,Object.assign({},it,{prefixCls:jt,onPrevDecade:function(){xt(-1)},onNextDecade:function(){xt(1)},onDecadeClick:function(){Jr("decade",Er)}})),i.createElement(Nr,Object.assign({},it,{prefixCls:jt,onSelect:function(sr){Jr(Kr==="date"?"date":"month",sr),Zr(sr,"mouse")}})))}var qr=tn;function _r(it){var jt=it.prefixCls,Zt=it.generateConfig,nr=it.viewDate,Or=it.onPrevDecades,wr=it.onNextDecades,Er=i.useContext(Y),Kr=Er.hideHeader;if(Kr)return null;var Zr="".concat(jt,"-header"),Jr=Zt.getYear(nr),an=Math.floor(Jr/xr)*xr,xt=an+xr-1;return i.createElement(G,Object.assign({},it,{prefixCls:Zr,onSuperPrev:Or,onSuperNext:wr}),an,"-",xt)}var Qr=_r,Ir=3,cr=4;function pr(it){var jt=fr-1,Zt=it.prefixCls,nr=it.viewDate,Or=it.generateConfig,wr=it.disabledDate,Er="".concat(Zt,"-cell"),Kr=Or.getYear(nr),Zr=Math.floor(Kr/fr)*fr,Jr=Math.floor(Kr/xr)*xr,an=Jr+xr-1,xt=Or.setYear(nr,Jr-Math.ceil((Ir*cr*fr-xr)/2)),Vt=function(br){var Mr,Dr=wr&&wr(br),rn=Or.getYear(br),fn=rn+jt;return Mr={},Object(N.a)(Mr,"".concat(Er,"-disabled"),Dr),Object(N.a)(Mr,"".concat(Er,"-in-view"),Jr<=rn&&fn<=an),Object(N.a)(Mr,"".concat(Er,"-selected"),rn===Zr),Mr};return i.createElement(Ke,Object.assign({},it,{rowNum:cr,colNum:Ir,baseDate:xt,getCellText:function(br){var Mr=Or.getYear(br);return"".concat(Mr,"-").concat(Mr+jt)},getCellClassName:Vt,getCellDate:function(br,Mr){return Or.addYear(br,Mr*fr)}}))}var ur=pr,fr=10,xr=fr*10;function Yr(it){var jt=it.prefixCls,Zt=it.onViewDateChange,nr=it.generateConfig,Or=it.viewDate,wr=it.operationRef,Er=it.onSelect,Kr=it.onPanelChange,Zr="".concat(jt,"-decade-panel");wr.current={onKeyDown:function(Vt){return ne(Vt,{onLeftRight:function(br){Er(nr.addYear(Or,br*fr),"key")},onCtrlLeftRight:function(br){Er(nr.addYear(Or,br*xr),"key")},onUpDown:function(br){Er(nr.addYear(Or,br*fr*Ir),"key")},onEnter:function(){Kr("year",Or)}})}};var Jr=function(Vt){var sr=nr.addYear(Or,Vt*xr);Zt(sr),Kr(null,sr)},an=function(Vt){Er(Vt,"mouse"),Kr("year",Vt)};return i.createElement("div",{className:Zr},i.createElement(Qr,Object.assign({},it,{prefixCls:jt,onPrevDecades:function(){Jr(-1)},onNextDecades:function(){Jr(1)}})),i.createElement(ur,Object.assign({},it,{prefixCls:jt,onSelect:an})))}var cn=Yr;function Nn(it,jt,Zt){return Zt?i.createElement("div",{className:"".concat(it,"-footer-extra")},Zt(jt)):null}function jr(it){var jt=it.prefixCls,Zt=it.rangeList,nr=Zt===void 0?[]:Zt,Or=it.components,wr=Or===void 0?{}:Or,Er=it.needConfirmButton,Kr=it.onNow,Zr=it.onOk,Jr=it.okDisabled,an=it.showNow,xt=it.locale,Vt,sr;if(nr.length){var br=wr.rangeItem||"span";Vt=i.createElement(i.Fragment,null,nr.map(function(Dr){var rn=Dr.label,fn=Dr.onClick,wn=Dr.onMouseEnter,Hn=Dr.onMouseLeave;return i.createElement("li",{key:rn,className:"".concat(jt,"-preset")},i.createElement(br,{onClick:fn,onMouseEnter:wn,onMouseLeave:Hn},rn))}))}if(Er){var Mr=wr.button||"button";Kr&&!Vt&&an!==!1&&(Vt=i.createElement("li",{className:"".concat(jt,"-now")},i.createElement("a",{className:"".concat(jt,"-now-btn"),onClick:Kr},xt.now))),sr=Er&&i.createElement("li",{className:"".concat(jt,"-ok")},i.createElement(Mr,{disabled:Jr,onClick:Zr},xt.ok))}return!Vt&&!sr?null:i.createElement("ul",{className:"".concat(jt,"-ranges")},Vt,sr)}function Tn(it){var jt,Zt=it.prefixCls,nr=Zt===void 0?"rc-picker":Zt,Or=it.className,wr=it.style,Er=it.locale,Kr=it.generateConfig,Zr=it.value,Jr=it.defaultValue,an=it.pickerValue,xt=it.defaultPickerValue,Vt=it.disabledDate,sr=it.mode,br=it.picker,Mr=br===void 0?"date":br,Dr=it.tabIndex,rn=Dr===void 0?0:Dr,fn=it.showNow,wn=it.showTime,Hn=it.showToday,Sn=it.renderExtraFooter,bn=it.hideHeader,Mn=it.onSelect,vn=it.onChange,Rn=it.onPanelChange,En=it.onMouseDown,Ln=it.onPickerValueChange,Xn=it.onOk,ai=it.components,ri=it.direction,Di=it.hourStep,yi=Di===void 0?1:Di,xi=it.minuteStep,_i=xi===void 0?1:xi,Un=it.secondStep,Ri=Un===void 0?1:Un,fa=Mr==="date"&&!!wn||Mr==="time",Ui=24%yi===0,Mi=60%_i===0,mi=60%Ri===0,hi=i.useContext(Y),qi=hi.operationRef,va=hi.panelRef,Ea=hi.onSelect,ya=hi.hideRanges,oa=hi.defaultOpenValue,sa=i.useContext(Ge),Ni=sa.inRange,$n=sa.panelPosition,Ai=sa.rangedValue,Li=sa.hoverRangedValue,Vi=i.useRef({}),Xi=i.useRef(!0),bi=Object(k.a)(null,{value:Zr,defaultValue:Jr,postState:function(pi){return!pi&&oa&&Mr==="time"?oa:pi}}),Aa=Object(j.a)(bi,2),ua=Aa[0],la=Aa[1],gi=Object(k.a)(null,{value:an,defaultValue:xt||ua,postState:function(pi){return pi||Kr.getNow()}}),Pa=Object(j.a)(gi,2),Ma=Pa[0],ra=Pa[1],Yi=function(pi){ra(pi),Ln&&Ln(pi)},Xa=function(pi){var Gi=fe[Mr];return Gi?Gi(pi):pi},zi=Object(k.a)(function(){return Mr==="time"?"time":Xa("date")},{value:sr}),Ki=Object(j.a)(zi,2),ba=Ki[0],Ua=Ki[1];i.useEffect(function(){Ua(Mr)},[Mr]);var wa=i.useState(function(){return ba}),vi=Object(j.a)(wa,2),Ya=vi[0],za=vi[1],pa=function(pi,Gi){var oo=Xa(pi||ba);za(ba),Ua(oo),Rn&&(ba!==oo||Ce(Kr,Ma,Ma))&&Rn(Gi,oo)},Oi=function(pi,Gi){var oo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(ba===Mr||oo)&&(la(pi),Mn&&Mn(pi),Ea&&Ea(pi,Gi),vn&&!Ce(Kr,pi,ua)&&vn(pi))},So=function(pi){return Vi.current&&Vi.current.onKeyDown?([V.a.LEFT,V.a.RIGHT,V.a.UP,V.a.DOWN,V.a.PAGE_UP,V.a.PAGE_DOWN,V.a.ENTER].includes(pi.which)&&pi.preventDefault(),Vi.current.onKeyDown(pi)):(Object(b.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},Ka=function(pi){Vi.current&&Vi.current.onBlur&&Vi.current.onBlur(pi)};qi&&$n!=="right"&&(qi.current={onKeyDown:So,onClose:function(){Vi.current&&Vi.current.onClose&&Vi.current.onClose()}}),i.useEffect(function(){Zr&&!Xi.current&&ra(Zr)},[Zr]),i.useEffect(function(){Xi.current=!1},[]);var ja,qa=Object(H.a)(Object(H.a)({},it),{},{operationRef:Vi,prefixCls:nr,viewDate:Ma,value:ua,onViewDateChange:Yi,sourceMode:Ya,onPanelChange:pa,disabledDate:ba!=="decade"?Vt:void 0});delete qa.onChange,delete qa.onSelect;switch(ba){case"decade":ja=i.createElement(cn,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}));break;case"year":ja=i.createElement(qr,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}));break;case"month":ja=i.createElement(er,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}));break;case"quarter":ja=i.createElement(Ht,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}));break;case"week":ja=i.createElement(Wt,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}));break;case"time":delete qa.showTime,ja=i.createElement(lt,Object.assign({},qa,Object(B.a)(wn)==="object"?wn:null,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}));break;default:wn?ja=i.createElement(nt,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}})):ja=i.createElement(le,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Oi(pi,Gi)}}))}var ho,Ca,to=function(){var pi=Kr.getNow(),Gi=Xe(Kr.getHour(pi),Kr.getMinute(pi),Kr.getSecond(pi),Ui?yi:1,Mi?_i:1,mi?Ri:1),oo=st(Kr,pi,Gi[0],Gi[1],Gi[2]);Oi(oo,"submit")};ya||(ho=Nn(nr,ba,Sn),Ca=jr({prefixCls:nr,components:ai,needConfirmButton:fa,okDisabled:!ua||Vt&&Vt(ua),locale:Er,showNow:fn,onNow:fa&&to,onOk:function(){ua&&(Oi(ua,"submit",!0),Xn&&Xn(ua))}}));var _o;if(Hn&&ba==="date"&&Mr==="date"&&!wn){var La=Kr.getNow(),ki="".concat(nr,"-today-btn"),Za=Vt&&Vt(La);_o=i.createElement("a",{className:T()(ki,Za&&"".concat(ki,"-disabled")),"aria-disabled":Za,onClick:function(){Za||Oi(La,"mouse",!0)}},Er.today)}return i.createElement(Y.Provider,{value:Object(H.a)(Object(H.a)({},hi),{},{hideHeader:"hideHeader"in it?bn:hi.hideHeader,hidePrevBtn:Ni&&$n==="right",hideNextBtn:Ni&&$n==="left"})},i.createElement("div",{tabIndex:rn,className:T()("".concat(nr,"-panel"),Or,(jt={},Object(N.a)(jt,"".concat(nr,"-panel-has-range"),Ai&&Ai[0]&&Ai[1]),Object(N.a)(jt,"".concat(nr,"-panel-has-range-hover"),Li&&Li[0]&&Li[1]),Object(N.a)(jt,"".concat(nr,"-panel-rtl"),ri==="rtl"),jt)),style:wr,onKeyDown:So,onBlur:Ka,onMouseDown:En,ref:va},ja,ho||Ca||_o?i.createElement("div",{className:"".concat(nr,"-footer")},ho,Ca,_o):null))}var gn=Tn,Pn=e("uciX"),Kn={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function qn(it){var jt,Zt=it.prefixCls,nr=it.popupElement,Or=it.popupStyle,wr=it.visible,Er=it.dropdownClassName,Kr=it.dropdownAlign,Zr=it.transitionName,Jr=it.getPopupContainer,an=it.children,xt=it.range,Vt=it.popupPlacement,sr=it.direction,br="".concat(Zt,"-dropdown"),Mr=function(){return Vt!==void 0?Vt:sr==="rtl"?"bottomRight":"bottomLeft"};return i.createElement(Pn.a,{showAction:[],hideAction:[],popupPlacement:Mr(),builtinPlacements:Kn,prefixCls:br,popupTransitionName:Zr,popup:nr,popupAlign:Kr,popupVisible:wr,popupClassName:T()(Er,(jt={},Object(N.a)(jt,"".concat(br,"-range"),xt),Object(N.a)(jt,"".concat(br,"-rtl"),sr==="rtl"),jt)),popupStyle:Or,getPopupContainer:Jr},an)}var Yn=qn;function Vn(it){var jt=it.open,Zt=it.value,nr=it.isClickOutside,Or=it.triggerOpen,wr=it.forwardKeyDown,Er=it.blurToCancel,Kr=it.onSubmit,Zr=it.onCancel,Jr=it.onFocus,an=it.onBlur,xt=Object(i.useState)(!1),Vt=Object(j.a)(xt,2),sr=Vt[0],br=Vt[1],Mr=Object(i.useState)(!1),Dr=Object(j.a)(Mr,2),rn=Dr[0],fn=Dr[1],wn=Object(i.useRef)(!1),Hn=Object(i.useRef)(!1),Sn={onMouseDown:function(){br(!0),Or(!0)},onKeyDown:function(Mn){switch(Mn.which){case V.a.ENTER:{jt?Kr()!==!1&&br(!0):Or(!0),Mn.preventDefault();return}case V.a.TAB:{sr&&jt&&!Mn.shiftKey?(br(!1),Mn.preventDefault()):!sr&&jt&&(!wr(Mn)&&Mn.shiftKey&&(br(!0),Mn.preventDefault()));return}case V.a.ESC:{br(!0),Zr();return}}!jt&&![V.a.SHIFT].includes(Mn.which)?Or(!0):sr||wr(Mn)},onFocus:function(Mn){br(!0),fn(!0),Jr&&Jr(Mn)},onBlur:function(Mn){if(wn.current||!nr(document.activeElement)){wn.current=!1;return}Er?setTimeout(function(){nr(document.activeElement)&&Zr()},0):jt&&(Or(!1),Hn.current&&Kr()),fn(!1),an&&an(Mn)}};return Object(i.useEffect)(function(){Hn.current=!1},[jt]),Object(i.useEffect)(function(){Hn.current=!0},[Zt]),Object(i.useEffect)(function(){return X(function(bn){var Mn=bn.target;jt&&(nr(Mn)?rn||Or(!1):(wn.current=!0,requestAnimationFrame(function(){wn.current=!1})))})}),[Sn,{focused:rn,typing:sr}]}function An(it){var jt=it.valueTexts,Zt=it.onTextChange,nr=i.useState(""),Or=Object(j.a)(nr,2),wr=Or[0],Er=Or[1],Kr=i.useRef([]);Kr.current=jt;function Zr(an){Er(an),Zt(an)}function Jr(){Er(Kr.current[0])}return i.useEffect(function(){jt.every(function(an){return an!==wr})&&Jr()},[jt.join("||")]),[wr,Zr,Jr]}var on=e("Gytx"),ia=e.n(on);function xa(it,jt){var Zt=jt.formatList,nr=jt.generateConfig,Or=jt.locale;return Object(ge.a)(function(){if(!it)return[[""],""];for(var wr="",Er=[],Kr=0;Kr<Zt.length;Kr+=1){var Zr=Zt[Kr],Jr=nr.locale.format(Or.locale,it,Zr);Er.push(Jr),Kr===0&&(wr=Jr)}return[Er,wr]},[it,Zt],function(wr,Er){return wr[0]!==Er[0]||!ia()(wr[1],Er[1])})}function ta(it,jt){var Zt=jt.formatList,nr=jt.generateConfig,Or=jt.locale,wr=Object(i.useState)(null),Er=Object(j.a)(wr,2),Kr=Er[0],Zr=Er[1],Jr=xa(Kr,{formatList:Zt,generateConfig:nr,locale:Or}),an=Object(j.a)(Jr,2),xt=an[1];function Vt(br){Zr(br)}function sr(){Zr(null)}return Object(i.useEffect)(function(){sr()},[it]),[xt,Vt,sr]}function Ii(it){var jt,Zt=it.prefixCls,nr=Zt===void 0?"rc-picker":Zt,Or=it.id,wr=it.tabIndex,Er=it.style,Kr=it.className,Zr=it.dropdownClassName,Jr=it.dropdownAlign,an=it.popupStyle,xt=it.transitionName,Vt=it.generateConfig,sr=it.locale,br=it.inputReadOnly,Mr=it.allowClear,Dr=it.autoFocus,rn=it.showTime,fn=it.picker,wn=fn===void 0?"date":fn,Hn=it.format,Sn=it.use12Hours,bn=it.value,Mn=it.defaultValue,vn=it.open,Rn=it.defaultOpen,En=it.defaultOpenValue,Ln=it.suffixIcon,Xn=it.clearIcon,ai=it.disabled,ri=it.disabledDate,Di=it.placeholder,yi=it.getPopupContainer,xi=it.pickerRef,_i=it.panelRender,Un=it.onChange,Ri=it.onOpenChange,fa=it.onFocus,Ui=it.onBlur,Mi=it.onMouseDown,mi=it.onMouseUp,hi=it.onMouseEnter,qi=it.onMouseLeave,va=it.onContextMenu,Ea=it.onClick,ya=it.direction,oa=it.autoComplete,sa=oa===void 0?"off":oa,Ni=i.useRef(null),$n=wn==="date"&&!!rn||wn==="time",Ai=dt(be(Hn,wn,rn,Sn)),Li=i.useRef(null),Vi=i.useRef(null),Xi=Object(k.a)(null,{value:bn,defaultValue:Mn}),bi=Object(j.a)(Xi,2),Aa=bi[0],ua=bi[1],la=i.useState(Aa),gi=Object(j.a)(la,2),Pa=gi[0],Ma=gi[1],ra=i.useRef(null),Yi=Object(k.a)(!1,{value:vn,defaultValue:Rn,postState:function(Ji){return ai?!1:Ji},onChange:function(Ji){Ri&&Ri(Ji),!Ji&&ra.current&&ra.current.onClose&&ra.current.onClose()}}),Xa=Object(j.a)(Yi,2),zi=Xa[0],Ki=Xa[1],ba=xa(Pa,{formatList:Ai,generateConfig:Vt,locale:sr}),Ua=Object(j.a)(ba,2),wa=Ua[0],vi=Ua[1],Ya=An({valueTexts:wa,onTextChange:function(Ji){var xo=Vt.locale.parse(sr.locale,Ji,Ai);xo&&(!ri||!ri(xo))&&Ma(xo)}}),za=Object(j.a)(Ya,3),pa=za[0],Oi=za[1],So=za[2],Ka=function(Ji){Ma(Ji),ua(Ji),Un&&!Ce(Vt,Aa,Ji)&&Un(Ji,Ji?Vt.locale.format(sr.locale,Ji,Ai[0]):"")},ja=function(Ji){if(ai&&Ji)return;Ki(Ji)},qa=function(Ji){return zi&&ra.current&&ra.current.onKeyDown?ra.current.onKeyDown(Ji):(Object(b.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},ho=function(){mi&&mi.apply(void 0,arguments),Ni.current&&(Ni.current.focus(),ja(!0))},Ca=Vn({blurToCancel:$n,open:zi,value:pa,triggerOpen:ja,forwardKeyDown:qa,isClickOutside:function(Ji){return!te([Li.current,Vi.current],Ji)},onSubmit:function(){return ri&&ri(Pa)?!1:(Ka(Pa),ja(!1),So(),!0)},onCancel:function(){ja(!1),Ma(Aa),So()},onFocus:fa,onBlur:Ui}),to=Object(j.a)(Ca,2),_o=to[0],La=to[1],ki=La.focused,Za=La.typing;i.useEffect(function(){zi||(Ma(Aa),!wa.length||wa[0]===""?Oi(""):vi!==pa&&So())},[zi,wa]),i.useEffect(function(){zi||So()},[wn]),i.useEffect(function(){Ma(Aa)},[Aa]),xi&&(xi.current={focus:function(){Ni.current&&Ni.current.focus()},blur:function(){Ni.current&&Ni.current.blur()}});var Da=Object(H.a)(Object(H.a)({},it),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),pi=i.createElement(gn,Object.assign({},Da,{generateConfig:Vt,className:T()(Object(N.a)({},"".concat(nr,"-panel-focused"),!Za)),value:Pa,locale:sr,tabIndex:-1,onChange:Ma,direction:ya}));_i&&(pi=_i(pi));var Gi=i.createElement("div",{className:"".concat(nr,"-panel-container"),onMouseDown:function(Ji){Ji.preventDefault()}},pi),oo;Ln&&(oo=i.createElement("span",{className:"".concat(nr,"-suffix")},Ln));var go;Mr&&Aa&&!ai&&(go=i.createElement("span",{onMouseDown:function(Ji){Ji.preventDefault(),Ji.stopPropagation()},onMouseUp:function(Ji){Ji.preventDefault(),Ji.stopPropagation(),Ka(null),ja(!1)},className:"".concat(nr,"-clear")},Xn||i.createElement("span",{className:"".concat(nr,"-clear-btn")})));var fo=function(Ji,xo){(xo==="submit"||xo!=="key"&&!$n)&&(Ka(Ji),ja(!1))},Ta=ya==="rtl"?"bottomRight":"bottomLeft",Fi=ta(pa,{formatList:Ai,generateConfig:Vt,locale:sr}),Ra=Object(j.a)(Fi,3),Vo=Ra[0],ro=Ra[1],vo=Ra[2];return i.createElement(Y.Provider,{value:{operationRef:ra,hideHeader:wn==="time",panelRef:Li,onSelect:fo,open:zi,defaultOpenValue:En,onDateMouseEnter:ro,onDateMouseLeave:vo}},i.createElement(Yn,{visible:zi,popupElement:Gi,popupStyle:an,prefixCls:nr,dropdownClassName:Zr,dropdownAlign:Jr,getPopupContainer:yi,transitionName:xt,popupPlacement:Ta,direction:ya},i.createElement("div",{className:T()(nr,Kr,(jt={},Object(N.a)(jt,"".concat(nr,"-disabled"),ai),Object(N.a)(jt,"".concat(nr,"-focused"),ki),Object(N.a)(jt,"".concat(nr,"-rtl"),ya==="rtl"),jt)),style:Er,onMouseDown:Mi,onMouseUp:ho,onMouseEnter:hi,onMouseLeave:qi,onContextMenu:va,onClick:Ea},i.createElement("div",{className:T()("".concat(nr,"-input"),Object(N.a)({},"".concat(nr,"-input-placeholder"),!!Vo)),ref:Vi},i.createElement("input",Object.assign({id:Or,tabIndex:wr,disabled:ai,readOnly:br||!Za,value:Vo||pa,onChange:function(Ji){Oi(Ji.target.value)},autoFocus:Dr,placeholder:Di,ref:Ni,title:pa},_o,{size:at(wn,Ai[0])},Me(it),{autoComplete:sa})),oo,go))))}var Ci=function(it){Object(z.a)(Zt,it);var jt=Object(W.a)(Zt);function Zt(){var nr;return Object(F.a)(this,Zt),nr=jt.apply(this,arguments),nr.pickerRef=i.createRef(),nr.focus=function(){nr.pickerRef.current&&nr.pickerRef.current.focus()},nr.blur=function(){nr.pickerRef.current&&nr.pickerRef.current.blur()},nr}return Object(U.a)(Zt,[{key:"render",value:function(){return i.createElement(Ii,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Zt}(i.Component),Gn=Ci;function Oa(it,jt,Zt){var nr=it.picker,Or=it.locale,wr=it.selectedValue,Er=it.disabledDate,Kr=it.disabled,Zr=it.generateConfig,Jr=Tt(wr,0),an=Tt(wr,1);function xt(Dr){var rn=Zr.getYear(Dr),fn=Zr.locale.getWeek(Or.locale,Dr);return rn*100+fn}function Vt(Dr){var rn=Zr.getYear(Dr),fn=Zr.getMonth(Dr);return rn*100+fn}function sr(Dr){var rn=Zr.getYear(Dr),fn=ft(Zr,Dr);return rn*10+fn}var br=i.useCallback(function(Dr){if(Er&&Er(Dr))return!0;if(Kr[1]&&an)return!or(Zr,Dr,an)&&Zr.isAfter(Dr,an);if(jt&&an)switch(nr){case"quarter":return sr(Dr)>sr(an);case"month":return Vt(Dr)>Vt(an);case"week":return xt(Dr)>xt(an);default:return!or(Zr,Dr,an)&&Zr.isAfter(Dr,an)}return!1},[Er,Kr[1],an,jt]),Mr=i.useCallback(function(Dr){if(Er&&Er(Dr))return!0;if(Kr[0]&&Jr)return!or(Zr,Dr,an)&&Zr.isAfter(Jr,Dr);if(Zt&&Jr)switch(nr){case"quarter":return sr(Dr)<sr(Jr);case"month":return Vt(Dr)<Vt(Jr);case"week":return xt(Dr)<xt(Jr);default:return!or(Zr,Dr,Jr)&&Zr.isAfter(Jr,Dr)}return!1},[Er,Kr[0],Jr,Zt]);return[br,Mr]}function mn(it,jt,Zt,nr){var Or=Fe(it,Zt,nr,1);function wr(Er){return Er(it,jt)?"same":Er(Or,jt)?"closing":"far"}switch(Zt){case"year":return wr(function(Er,Kr){return Jt(nr,Er,Kr)});case"quarter":case"month":return wr(function(Er,Kr){return mt(nr,Er,Kr)});default:return wr(function(Er,Kr){return Lt(nr,Er,Kr)})}}function On(it,jt,Zt,nr){var Or=Tt(it,0),wr=Tt(it,1);if(jt===0)return Or;if(Or&&wr){var Er=mn(Or,wr,Zt,nr);switch(Er){case"same":return Or;case"closing":return Or;default:return Fe(wr,Zt,nr,-1)}}return Or}function _n(it){var jt=it.values,Zt=it.picker,nr=it.defaultDates,Or=it.generateConfig,wr=i.useState(function(){return[Tt(nr,0),Tt(nr,1)]}),Er=Object(j.a)(wr,2),Kr=Er[0],Zr=Er[1],Jr=i.useState(null),an=Object(j.a)(Jr,2),xt=an[0],Vt=an[1],sr=Tt(jt,0),br=Tt(jt,1);function Mr(rn){return Kr[rn]?Kr[rn]:Tt(xt,rn)||On(jt,rn,Zt,Or)||sr||br||Or.getNow()}function Dr(rn,fn){if(rn){var wn=je(xt,rn,fn);Zr(je(Kr,null,fn)||[null,null]);var Hn=(fn+1)%2;Tt(jt,Hn)||(wn=je(wn,rn,Hn)),Vt(wn)}else(sr||br)&&Vt(null)}return[Mr,Dr]}function In(it,jt){return it&&it[0]&&it[1]&&jt.isAfter(it[0],it[1])?[it[1],it[0]]:it}function jn(it,jt,Zt,nr){return it||nr&&nr[jt]?!0:!!Zt[(jt+1)%2]}function ni(it){var jt,Zt,nr,Or=it.prefixCls,wr=Or===void 0?"rc-picker":Or,Er=it.id,Kr=it.style,Zr=it.className,Jr=it.popupStyle,an=it.dropdownClassName,xt=it.transitionName,Vt=it.dropdownAlign,sr=it.getPopupContainer,br=it.generateConfig,Mr=it.locale,Dr=it.placeholder,rn=it.autoFocus,fn=it.disabled,wn=it.format,Hn=it.picker,Sn=Hn===void 0?"date":Hn,bn=it.showTime,Mn=it.use12Hours,vn=it.separator,Rn=vn===void 0?"~":vn,En=it.value,Ln=it.defaultValue,Xn=it.defaultPickerValue,ai=it.open,ri=it.defaultOpen,Di=it.disabledDate,yi=it.disabledTime,xi=it.dateRender,_i=it.panelRender,Un=it.ranges,Ri=it.allowEmpty,fa=it.allowClear,Ui=it.suffixIcon,Mi=it.clearIcon,mi=it.pickerRef,hi=it.inputReadOnly,qi=it.mode,va=it.renderExtraFooter,Ea=it.onChange,ya=it.onOpenChange,oa=it.onPanelChange,sa=it.onCalendarChange,Ni=it.onFocus,$n=it.onBlur,Ai=it.onOk,Li=it.components,Vi=it.order,Xi=it.direction,bi=it.activePickerIndex,Aa=it.autoComplete,ua=Aa===void 0?"off":Aa,la=Sn==="date"&&!!bn||Sn==="time",gi=Object(i.useRef)({}),Pa=Object(i.useRef)(null),Ma=Object(i.useRef)(null),ra=Object(i.useRef)(null),Yi=Object(i.useRef)(null),Xa=Object(i.useRef)(null),zi=Object(i.useRef)(null),Ki=Object(i.useRef)(null),ba=dt(be(wn,Sn,bn,Mn)),Ua=Object(k.a)(0,{value:bi}),wa=Object(j.a)(Ua,2),vi=wa[0],Ya=wa[1],za=Object(i.useRef)(null),pa=i.useMemo(function(){return Array.isArray(fn)?fn:[fn||!1,fn||!1]},[fn]),Oi=Object(k.a)(null,{value:En,defaultValue:Ln,postState:function(ci){return Sn==="time"&&!Vi?ci:In(ci,br)}}),So=Object(j.a)(Oi,2),Ka=So[0],ja=So[1],qa=_n({values:Ka,picker:Sn,defaultDates:Xn,generateConfig:br}),ho=Object(j.a)(qa,2),Ca=ho[0],to=ho[1],_o=Object(k.a)(Ka,{postState:function(ci){var Bi=ci;if(pa[0]&&pa[1])return Bi;for(var Wn=0;Wn<2;Wn+=1)pa[Wn]&&!Tt(Bi,Wn)&&!Tt(Ri,Wn)&&(Bi=je(Bi,br.getNow(),Wn));return Bi}}),La=Object(j.a)(_o,2),ki=La[0],Za=La[1],Da=Object(k.a)([Sn,Sn],{value:qi}),pi=Object(j.a)(Da,2),Gi=pi[0],oo=pi[1];Object(i.useEffect)(function(){oo([Sn,Sn])},[Sn]);var go=function(ci,Bi){oo(ci),oa&&oa(Bi,ci)},fo=Oa({picker:Sn,selectedValue:ki,locale:Mr,disabled:pa,disabledDate:Di,generateConfig:br},gi.current[1],gi.current[0]),Ta=Object(j.a)(fo,2),Fi=Ta[0],Ra=Ta[1],Vo=Object(k.a)(!1,{value:ai,defaultValue:ri,postState:function(ci){return pa[vi]?!1:ci},onChange:function(ci){ya&&ya(ci),!ci&&za.current&&za.current.onClose&&za.current.onClose()}}),ro=Object(j.a)(Vo,2),vo=ro[0],po=ro[1],Ji=vo&&vi===0,xo=vo&&vi===1,is=Object(i.useState)(0),Zo=Object(j.a)(is,2),Is=Zo[0],Cs=Zo[1];Object(i.useEffect)(function(){!vo&&Pa.current&&Cs(Pa.current.offsetWidth)},[vo]);var Ts=i.useRef();function Go(ca,ci){if(ca)clearTimeout(Ts.current),gi.current[ci]=!0,Ya(ci),po(ca),vo||to(null,ci);else if(vi===ci){po(ca);var Bi=gi.current;Ts.current=setTimeout(function(){Bi===gi.current&&(gi.current={})})}}function bo(ca){Go(!0,ca),setTimeout(function(){var ci=[zi,Ki][ca];ci.current&&ci.current.focus()},0)}function Ja(ca,ci){var Bi=ca,Wn=Tt(Bi,0),io=Tt(Bi,1);Wn&&io&&br.isAfter(Wn,io)&&(Sn==="week"&&!_e(br,Mr.locale,Wn,io)||Sn==="quarter"&&!bt(br,Wn,io)||Sn!=="week"&&Sn!=="quarter"&&Sn!=="time"&&!or(br,Wn,io)?(ci===0?(Bi=[Wn,null],io=null):(Wn=null,Bi=[null,io]),gi.current=Object(N.a)({},ci,!0)):(Sn!=="time"||Vi!==!1)&&(Bi=In(Bi,br))),Za(Bi);var qo=Bi&&Bi[0]?br.locale.format(Mr.locale,Bi[0],ba[0]):"",gs=Bi&&Bi[1]?br.locale.format(Mr.locale,Bi[1],ba[0]):"";if(sa){var os={range:ci===0?"start":"end"};sa(Bi,[qo,gs],os)}var Jo=jn(Wn,0,pa,Ri),$o=jn(io,1,pa,Ri),ws=Bi===null||Jo&&$o;ws&&(ja(Bi),Ea&&(!Ce(br,Tt(Ka,0),Wn)||!Ce(br,Tt(Ka,1),io))&&Ea(Bi,[qo,gs]));var Ho=null;ci===0&&!pa[1]?Ho=1:ci===1&&!pa[0]&&(Ho=0),Ho!==null&&Ho!==vi&&(!gi.current[Ho]||!Tt(Bi,Ho))&&Tt(Bi,ci)?bo(Ho):Go(!1,ci)}var Ga=function(ci){return vo&&za.current&&za.current.onKeyDown?za.current.onKeyDown(ci):(Object(b.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},so={formatList:ba,generateConfig:br,locale:Mr},ps=xa(Tt(ki,0),so),Sr=Object(j.a)(ps,2),Xo=Sr[0],ss=Sr[1],_s=xa(Tt(ki,1),so),ka=Object(j.a)(_s,2),_a=ka[0],Oo=ka[1],Lo=function(ci,Bi){var Wn=br.locale.parse(Mr.locale,ci,ba),io=Bi===0?Fi:Ra;Wn&&!io(Wn)&&(Za(je(ki,Wn,Bi)),to(Wn,Bi))},ts=An({valueTexts:Xo,onTextChange:function(ci){return Lo(ci,0)}}),Bo=Object(j.a)(ts,3),rs=Bo[0],ms=Bo[1],ls=Bo[2],Ns=An({valueTexts:_a,onTextChange:function(ci){return Lo(ci,1)}}),Ds=Object(j.a)(Ns,3),as=Ds[0],$s=Ds[1],us=Ds[2],Mo=Object(i.useState)(null),Dn=Object(j.a)(Mo,2),Vs=Dn[0],Os=Dn[1],Pt=Object(i.useState)(null),me=Object(j.a)(Pt,2),Le=me[0],Ne=me[1],Qe=ta(rs,{formatList:ba,generateConfig:br,locale:Mr}),Ct=Object(j.a)(Qe,3),Ut=Ct[0],hr=Ct[1],gr=Ct[2],Rr=ta(as,{formatList:ba,generateConfig:br,locale:Mr}),$r=Object(j.a)(Rr,3),ln=$r[0],yn=$r[1],Cn=$r[2],Qn=function(ci){Ne(je(ki,ci,vi)),vi===0?hr(ci):yn(ci)},ti=function(){Ne(je(ki,null,vi)),vi===0?gr(null):Cn(null)},wi=function(ci,Bi){return{blurToCancel:la,forwardKeyDown:Ga,onBlur:$n,isClickOutside:function(io){return!te([Ma.current,ra.current,Yi.current],io)},onFocus:function(io){Ya(ci),Ni&&Ni(io)},triggerOpen:function(io){Go(io,ci)},onSubmit:function(){Ja(ki,ci),Bi()},onCancel:function(){Go(!1,ci),Za(Ka),Bi()}}},ea=Vn(Object(H.a)(Object(H.a)({},wi(0,ls)),{},{open:Ji,value:rs})),ji=Object(j.a)(ea,2),Sa=ji[0],lo=ji[1],Wa=lo.focused,yo=lo.typing,Ao=Vn(Object(H.a)(Object(H.a)({},wi(1,us)),{},{open:xo,value:as})),$a=Object(j.a)(Ao,2),ko=$a[0],No=$a[1],Ha=No.focused,jo=No.typing,Fo=function(ci){!vo&&!zi.current.contains(ci.target)&&!Ki.current.contains(ci.target)&&(pa[0]?pa[1]||bo(1):bo(0))},Qo=function(ci){vo&&(Wa||Ha)&&!zi.current.contains(ci.target)&&!Ki.current.contains(ci.target)&&ci.preventDefault()},wo=Ka&&Ka[0]?br.locale.format(Mr.locale,Ka[0],"YYYYMMDDHHmmss"):"",cs=Ka&&Ka[1]?br.locale.format(Mr.locale,Ka[1],"YYYYMMDDHHmmss"):"";Object(i.useEffect)(function(){vo||(Za(Ka),!Xo.length||Xo[0]===""?ms(""):ss!==rs&&ls(),!_a.length||_a[0]===""?$s(""):Oo!==as&&us())},[vo,Xo,_a]),Object(i.useEffect)(function(){Za(Ka)},[wo,cs]),mi&&(mi.current={focus:function(){zi.current&&zi.current.focus()},blur:function(){zi.current&&zi.current.blur(),Ki.current&&Ki.current.blur()}});var ns=Object.keys(Un||{}),Xs=ns.map(function(ca){var ci=Un[ca],Bi=typeof ci=="function"?ci():ci;return{label:ca,onClick:function(){Ja(Bi,null),Go(!1,vi)},onMouseEnter:function(){Os(Bi)},onMouseLeave:function(){Os(null)}}});function Ys(){var ca=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ci=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Bi=null;vo&&Le&&Le[0]&&Le[1]&&br.isAfter(Le[1],Le[0])&&(Bi=Le);var Wn=bn;if(bn&&Object(B.a)(bn)==="object"&&bn.defaultValue){var io=bn.defaultValue;Wn=Object(H.a)(Object(H.a)({},bn),{},{defaultValue:Tt(io,vi)||void 0})}var qo=null;return xi&&(qo=function(os,Jo){return xi(os,Jo,{range:vi?"end":"start"})}),i.createElement(Ge.Provider,{value:{inRange:!0,panelPosition:ca,rangedValue:Vs||ki,hoverRangedValue:Bi}},i.createElement(gn,Object.assign({},it,ci,{dateRender:qo,showTime:Wn,mode:Gi[vi],generateConfig:br,style:void 0,direction:Xi,disabledDate:vi===0?Fi:Ra,disabledTime:function(os){return yi?yi(os,vi===0?"start":"end"):!1},className:T()(Object(N.a)({},"".concat(wr,"-panel-focused"),vi===0?!yo:!jo)),value:Tt(ki,vi),locale:Mr,tabIndex:-1,onPanelChange:function(os,Jo){go(je(Gi,Jo,vi),je(ki,os,vi));var $o=os;ca==="right"&&Gi[vi]===Jo&&($o=Fe($o,Jo,br,-1)),to($o,vi)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var Yo=0,Eo=0;vi&&ra.current&&Xa.current&&Ma.current&&(Yo=ra.current.offsetWidth+Xa.current.offsetWidth,Ma.current.offsetWidth&&Yo>Ma.current.offsetWidth&&(Eo=Yo));var ds=Xi==="rtl"?{right:Yo}:{left:Yo};function hs(){var ca,ci=Nn(wr,Gi[vi],va),Bi=jr({prefixCls:wr,components:Li,needConfirmButton:la,okDisabled:!Tt(ki,vi)||Di&&Di(ki[vi]),locale:Mr,rangeList:Xs,onOk:function(){Tt(ki,vi)&&(Ja(ki,vi),Ai&&Ai(ki))}});if(Sn!=="time"&&!bn){var Wn=Ca(vi),io=Fe(Wn,Sn,br),qo=Gi[vi],gs=qo===Sn,os=Ys(gs?"left":!1,{pickerValue:Wn,onPickerValueChange:function(Ho){to(Ho,vi)}}),Jo=Ys("right",{pickerValue:io,onPickerValueChange:function(Ho){to(Fe(Ho,Sn,br,-1),vi)}});Xi==="rtl"?ca=i.createElement(i.Fragment,null,Jo,gs&&os):ca=i.createElement(i.Fragment,null,os,gs&&Jo)}else ca=Ys();var $o=i.createElement(i.Fragment,null,i.createElement("div",{className:"".concat(wr,"-panels")},ca),(ci||Bi)&&i.createElement("div",{className:"".concat(wr,"-footer")},ci,Bi));return _i&&($o=_i($o)),i.createElement("div",{className:"".concat(wr,"-panel-container"),style:{marginLeft:Eo},ref:Ma,onMouseDown:function(Ho){Ho.preventDefault()}},$o)}var Rs=i.createElement("div",{className:T()("".concat(wr,"-range-wrapper"),"".concat(wr,"-").concat(Sn,"-range-wrapper")),style:{minWidth:Is}},i.createElement("div",{className:"".concat(wr,"-range-arrow"),style:ds}),hs()),Do;Ui&&(Do=i.createElement("span",{className:"".concat(wr,"-suffix")},Ui));var ys;fa&&(Tt(Ka,0)&&!pa[0]||Tt(Ka,1)&&!pa[1])&&(ys=i.createElement("span",{onMouseDown:function(ci){ci.preventDefault(),ci.stopPropagation()},onMouseUp:function(ci){ci.preventDefault(),ci.stopPropagation();var Bi=Ka;pa[0]||(Bi=je(Bi,null,0)),pa[1]||(Bi=je(Bi,null,1)),Ja(Bi,null),Go(!1,vi)},className:"".concat(wr,"-clear")},Mi||i.createElement("span",{className:"".concat(wr,"-clear-btn")})));var Ms={size:at(Sn,ba[0])},As=0,ks=0;ra.current&&Yi.current&&Xa.current&&(vi===0?ks=ra.current.offsetWidth:(As=Yo,ks=Yi.current.offsetWidth));var Hs=Xi==="rtl"?{right:As}:{left:As},bs=function(ci,Bi){var Wn=je(ki,ci,vi);Bi==="submit"||Bi!=="key"&&!la?Ja(Wn,vi):Za(Wn)};return i.createElement(Y.Provider,{value:{operationRef:za,hideHeader:Sn==="time",onDateMouseEnter:Qn,onDateMouseLeave:ti,hideRanges:!0,onSelect:bs,open:vo}},i.createElement(Yn,{visible:vo,popupElement:Rs,popupStyle:Jr,prefixCls:wr,dropdownClassName:an,dropdownAlign:Vt,getPopupContainer:sr,transitionName:xt,range:!0,direction:Xi},i.createElement("div",Object.assign({ref:Pa,className:T()(wr,"".concat(wr,"-range"),Zr,(jt={},Object(N.a)(jt,"".concat(wr,"-disabled"),pa[0]&&pa[1]),Object(N.a)(jt,"".concat(wr,"-focused"),vi===0?Wa:Ha),Object(N.a)(jt,"".concat(wr,"-rtl"),Xi==="rtl"),jt)),style:Kr,onClick:Fo,onMouseDown:Qo},Me(it)),i.createElement("div",{className:T()("".concat(wr,"-input"),(Zt={},Object(N.a)(Zt,"".concat(wr,"-input-active"),vi===0),Object(N.a)(Zt,"".concat(wr,"-input-placeholder"),!!Ut),Zt)),ref:ra},i.createElement("input",Object.assign({id:Er,disabled:pa[0],readOnly:hi||!yo,value:Ut||rs,onChange:function(ci){ms(ci.target.value)},autoFocus:rn,placeholder:Tt(Dr,0)||"",ref:zi},Sa,Ms,{autoComplete:ua}))),i.createElement("div",{className:"".concat(wr,"-range-separator"),ref:Xa},Rn),i.createElement("div",{className:T()("".concat(wr,"-input"),(nr={},Object(N.a)(nr,"".concat(wr,"-input-active"),vi===1),Object(N.a)(nr,"".concat(wr,"-input-placeholder"),!!ln),nr)),ref:Yi},i.createElement("input",Object.assign({disabled:pa[1],readOnly:hi||!jo,value:ln||as,onChange:function(ci){$s(ci.target.value)},placeholder:Tt(Dr,1)||"",ref:Ki},ko,Ms,{autoComplete:ua}))),i.createElement("div",{className:"".concat(wr,"-active-bar"),style:Object(H.a)(Object(H.a)({},Hs),{},{width:ks,position:"absolute"})}),Do,ys)))}var di=function(it){Object(z.a)(Zt,it);var jt=Object(W.a)(Zt);function Zt(){var nr;return Object(F.a)(this,Zt),nr=jt.apply(this,arguments),nr.pickerRef=i.createRef(),nr.focus=function(){nr.pickerRef.current&&nr.pickerRef.current.focus()},nr.blur=function(){nr.pickerRef.current&&nr.pickerRef.current.blur()},nr}return Object(U.a)(Zt,[{key:"render",value:function(){return i.createElement(ni,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Zt}(i.Component),Na=di,Qi=Gn,ma=e("61s2");function Ba(it,jt,Zt){return Zt!==void 0?Zt:it==="year"&&jt.lang.yearPlaceholder?jt.lang.yearPlaceholder:it==="quarter"&&jt.lang.quarterPlaceholder?jt.lang.quarterPlaceholder:it==="month"&&jt.lang.monthPlaceholder?jt.lang.monthPlaceholder:it==="week"&&jt.lang.weekPlaceholder?jt.lang.weekPlaceholder:it==="time"&&jt.timePickerLocale.placeholder?jt.timePickerLocale.placeholder:jt.lang.placeholder}function Qa(it,jt,Zt){return Zt!==void 0?Zt:it==="year"&&jt.lang.yearPlaceholder?jt.lang.rangeYearPlaceholder:it==="month"&&jt.lang.monthPlaceholder?jt.lang.rangeMonthPlaceholder:it==="week"&&jt.lang.weekPlaceholder?jt.lang.rangeWeekPlaceholder:it==="time"&&jt.timePickerLocale.placeholder?jt.timePickerLocale.rangePlaceholder:jt.lang.rangePlaceholder}var Wi=e("uaoM"),Co=e("H84U"),aa=e("YMnH"),Hi=e("3Nzz"),ga=function(it,jt){var Zt={};for(var nr in it)Object.prototype.hasOwnProperty.call(it,nr)&&jt.indexOf(nr)<0&&(Zt[nr]=it[nr]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Or=0,nr=Object.getOwnPropertySymbols(it);Or<nr.length;Or++)jt.indexOf(nr[Or])<0&&Object.prototype.propertyIsEnumerable.call(it,nr[Or])&&(Zt[nr[Or]]=it[nr[Or]]);return Zt};function ha(it){function jt(Zr,Jr){var an=function(xt){w()(sr,xt);var Vt=x()(sr);function sr(br){var Mr;return s()(this,sr),Mr=Vt.call(this,br),Mr.pickerRef=i.createRef(),Mr.focus=function(){Mr.pickerRef.current&&Mr.pickerRef.current.focus()},Mr.blur=function(){Mr.pickerRef.current&&Mr.pickerRef.current.blur()},Mr.getDefaultLocale=function(){var Dr=Mr.props.locale,rn=u()(u()({},ma.a),Dr);return rn.lang=u()(u()({},rn.lang),(Dr||{}).lang),rn},Mr.renderPicker=function(Dr){var rn=Mr.context,fn=rn.getPrefixCls,wn=rn.direction,Hn=rn.getPopupContainer,Sn=Mr.props,bn=Sn.prefixCls,Mn=Sn.getPopupContainer,vn=Sn.className,Rn=Sn.size,En=Sn.bordered,Ln=En===void 0?!0:En,Xn=Sn.placeholder,ai=ga(Sn,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),ri=Mr.props,Di=ri.format,yi=ri.showTime,xi=fn("picker",bn),_i={showToday:!0},Un={};Zr&&(Un.picker=Zr);var Ri=Zr||Mr.props.picker;return Un=u()(u()(u()({},Un),yi?rr(u()({format:Di,picker:Ri},yi)):{}),Ri==="time"?rr(u()(u()({format:Di},Mr.props),{picker:Ri})):{}),i.createElement(Hi.b.Consumer,null,function(fa){var Ui,Mi=Rn||fa;return i.createElement(Qi,u()({ref:Mr.pickerRef,placeholder:Ba(Ri,Dr,Xn),suffixIcon:Ri==="time"?i.createElement(O.a,null):i.createElement(v.a,null),clearIcon:i.createElement(M.a,null),allowClear:!0,transitionName:"slide-up"},_i,ai,Un,{locale:Dr.lang,className:T()(vn,(Ui={},l()(Ui,"".concat(xi,"-").concat(Mi),Mi),l()(Ui,"".concat(xi,"-borderless"),!Ln),Ui)),prefixCls:xi,getPopupContainer:Mn||Hn,generateConfig:it,prevIcon:i.createElement("span",{className:"".concat(xi,"-prev-icon")}),nextIcon:i.createElement("span",{className:"".concat(xi,"-next-icon")}),superPrevIcon:i.createElement("span",{className:"".concat(xi,"-super-prev-icon")}),superNextIcon:i.createElement("span",{className:"".concat(xi,"-super-next-icon")}),components:To,direction:wn}))})},Object(Wi.a)(Zr!=="quarter",Jr,"DatePicker.".concat(Jr," is legacy usage. Please use DatePicker[picker='").concat(Zr,"'] directly.")),Mr}return p()(sr,[{key:"render",value:function(){return i.createElement(aa.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),sr}(i.Component);return an.contextType=Co.b,Jr&&(an.displayName=Jr),an}var Zt=jt(),nr=jt("week","WeekPicker"),Or=jt("month","MonthPicker"),wr=jt("year","YearPicker"),Er=jt("time","TimePicker"),Kr=jt("quarter","QuarterPicker");return{DatePicker:Zt,WeekPicker:nr,MonthPicker:Or,YearPicker:wr,TimePicker:Er,QuarterPicker:Kr}}var mo=e("8ISB"),Fn=e.n(mo),$i=function(it,jt){var Zt={};for(var nr in it)Object.prototype.hasOwnProperty.call(it,nr)&&jt.indexOf(nr)<0&&(Zt[nr]=it[nr]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Or=0,nr=Object.getOwnPropertySymbols(it);Or<nr.length;Or++)jt.indexOf(nr[Or])<0&&Object.prototype.propertyIsEnumerable.call(it,nr[Or])&&(Zt[nr[Or]]=it[nr[Or]]);return Zt};function eo(it){var jt=function(Zt){w()(Or,Zt);var nr=x()(Or);function Or(){var wr;return s()(this,Or),wr=nr.apply(this,arguments),wr.pickerRef=i.createRef(),wr.focus=function(){wr.pickerRef.current&&wr.pickerRef.current.focus()},wr.blur=function(){wr.pickerRef.current&&wr.pickerRef.current.blur()},wr.getDefaultLocale=function(){var Er=wr.props.locale,Kr=u()(u()({},ma.a),Er);return Kr.lang=u()(u()({},Kr.lang),(Er||{}).lang),Kr},wr.renderPicker=function(Er){var Kr=wr.context,Zr=Kr.getPrefixCls,Jr=Kr.direction,an=Kr.getPopupContainer,xt=wr.props,Vt=xt.prefixCls,sr=xt.getPopupContainer,br=xt.className,Mr=xt.size,Dr=xt.bordered,rn=Dr===void 0?!0:Dr,fn=xt.placeholder,wn=$i(xt,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),Hn=wr.props,Sn=Hn.format,bn=Hn.showTime,Mn=Hn.picker,vn=Zr("picker",Vt),Rn={};return Rn=u()(u()(u()({},Rn),bn?rr(u()({format:Sn,picker:Mn},bn)):{}),Mn==="time"?rr(u()(u()({format:Sn},wr.props),{picker:Mn})):{}),i.createElement(Hi.b.Consumer,null,function(En){var Ln,Xn=Mr||En;return i.createElement(Na,u()({separator:i.createElement("span",{"aria-label":"to",className:"".concat(vn,"-separator")},i.createElement(Fn.a,null)),ref:wr.pickerRef,placeholder:Qa(Mn,Er,fn),suffixIcon:Mn==="time"?i.createElement(O.a,null):i.createElement(v.a,null),clearIcon:i.createElement(M.a,null),allowClear:!0,transitionName:"slide-up"},wn,Rn,{className:T()(br,(Ln={},l()(Ln,"".concat(vn,"-").concat(Xn),Xn),l()(Ln,"".concat(vn,"-borderless"),!rn),Ln)),locale:Er.lang,prefixCls:vn,getPopupContainer:sr||an,generateConfig:it,prevIcon:i.createElement("span",{className:"".concat(vn,"-prev-icon")}),nextIcon:i.createElement("span",{className:"".concat(vn,"-next-icon")}),superPrevIcon:i.createElement("span",{className:"".concat(vn,"-super-prev-icon")}),superNextIcon:i.createElement("span",{className:"".concat(vn,"-super-next-icon")}),components:To,direction:Jr}))})},wr}return p()(Or,[{key:"render",value:function(){return i.createElement(aa.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),Or}(i.Component);return jt.contextType=Co.b,jt}var To={button:r,rangeItem:d};function co(it){return it?Array.isArray(it)?it:[it]:[]}function rr(it){var jt=it.format,Zt=it.picker,nr=it.showHour,Or=it.showMinute,wr=it.showSecond,Er=it.use12Hours,Kr=co(jt)[0],Zr=u()({},it);return Kr&&(!Kr.includes("s")&&wr===void 0&&(Zr.showSecond=!1),!Kr.includes("m")&&Or===void 0&&(Zr.showMinute=!1),!Kr.includes("H")&&!Kr.includes("h")&&nr===void 0&&(Zr.showHour=!1),(Kr.includes("a")||Kr.includes("A"))&&Er===void 0&&(Zr.use12Hours=!0)),Zt==="time"?Zr:{showTime:Zr}}function Tr(it){var jt=ha(it),Zt=jt.DatePicker,nr=jt.WeekPicker,Or=jt.MonthPicker,wr=jt.YearPicker,Er=jt.TimePicker,Kr=jt.QuarterPicker,Zr=eo(it),Jr=Zt;return Jr.WeekPicker=nr,Jr.MonthPicker=Or,Jr.YearPicker=wr,Jr.RangePicker=Zr,Jr.TimePicker=Er,Jr.QuarterPicker=Kr,Jr}var Pr=Tr,Wr=Pr(y),hn=I.a=Wr},"+lIL":function(R,I,e){var g=e("ProS");e("/ry/"),e("3OrL");var f=e("L5E0"),b=e("7Phj");g.registerVisual(f),g.registerLayout(b)},"+nKL":function(R,I,e){"use strict";var g=e("q1tI"),f=e("TSYQ"),b=e.n(f),m=e("t23M");function y(Xe,Je){var et=Object.keys(Xe);if(Object.getOwnPropertySymbols){var ot=Object.getOwnPropertySymbols(Xe);Je&&(ot=ot.filter(function(Ve){return Object.getOwnPropertyDescriptor(Xe,Ve).enumerable})),et.push.apply(et,ot)}return et}function h(Xe){for(var Je=1;Je<arguments.length;Je++){var et=arguments[Je]!=null?arguments[Je]:{};Je%2?y(Object(et),!0).forEach(function(ot){u(Xe,ot,et[ot])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Xe,Object.getOwnPropertyDescriptors(et)):y(Object(et)).forEach(function(ot){Object.defineProperty(Xe,ot,Object.getOwnPropertyDescriptor(et,ot))})}return Xe}function u(Xe,Je,et){return Je in Xe?Object.defineProperty(Xe,Je,{value:et,enumerable:!0,configurable:!0,writable:!0}):Xe[Je]=et,Xe}var i=function(Je){var et=Je.height,ot=Je.offset,Ve=Je.children,ue=Je.prefixCls,ae=Je.onInnerResize,lt={},Ze={display:"flex",flexDirection:"column"};return ot!==void 0&&(lt={height:et,position:"relative",overflow:"hidden"},Ze=h(h({},Ze),{},{transform:"translateY(".concat(ot,"px)"),position:"absolute",left:0,right:0,top:0})),g.createElement("div",{style:lt},g.createElement(m.a,{onResize:function(Jt){var mt=Jt.offsetHeight;mt&&ae()}},g.createElement("div",{style:Ze,className:b()(u({},"".concat(ue,"-holder-inner"),ue))},Ve)))},a=i,r=e("wgJM");function o(Xe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?o=function(et){return typeof et}:o=function(et){return et&&typeof Symbol=="function"&&et.constructor===Symbol&&et!==Symbol.prototype?"symbol":typeof et},o(Xe)}function d(Xe,Je,et){return Je in Xe?Object.defineProperty(Xe,Je,{value:et,enumerable:!0,configurable:!0,writable:!0}):Xe[Je]=et,Xe}function n(Xe,Je){if(!(Xe instanceof Je))throw new TypeError("Cannot call a class as a function")}function l(Xe,Je){for(var et=0;et<Je.length;et++){var ot=Je[et];ot.enumerable=ot.enumerable||!1,ot.configurable=!0,"value"in ot&&(ot.writable=!0),Object.defineProperty(Xe,ot.key,ot)}}function t(Xe,Je,et){return Je&&l(Xe.prototype,Je),et&&l(Xe,et),Xe}function s(Xe,Je){if(typeof Je!="function"&&Je!==null)throw new TypeError("Super expression must either be null or a function");Xe.prototype=Object.create(Je&&Je.prototype,{constructor:{value:Xe,writable:!0,configurable:!0}}),Je&&c(Xe,Je)}function c(Xe,Je){return c=Object.setPrototypeOf||function(ot,Ve){return ot.__proto__=Ve,ot},c(Xe,Je)}function p(Xe){var Je=C();return function(){var ot=x(Xe),Ve;if(Je){var ue=x(this).constructor;Ve=Reflect.construct(ot,arguments,ue)}else Ve=ot.apply(this,arguments);return A(this,Ve)}}function A(Xe,Je){return Je&&(o(Je)==="object"||typeof Je=="function")?Je:w(Xe)}function w(Xe){if(Xe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Xe}function C(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Xe){return!1}}function x(Xe){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(et){return et.__proto__||Object.getPrototypeOf(et)},x(Xe)}var E=20,T=function(Xe){s(et,Xe);var Je=p(et);function et(){var ot;return n(this,et),ot=Je.apply(this,arguments),ot.moveRaf=null,ot.visibleTimeout=null,ot.state={dragging:!1,pageY:null,startTop:null,visible:!1},ot.delayHidden=function(){clearTimeout(ot.visibleTimeout),ot.setState({visible:!0}),ot.visibleTimeout=setTimeout(function(){ot.setState({visible:!1})},2e3)},ot.patchEvents=function(){window.addEventListener("mousemove",ot.onMouseMove),window.addEventListener("mouseup",ot.onMouseUp)},ot.removeEvents=function(){window.removeEventListener("mousemove",ot.onMouseMove),window.removeEventListener("mouseup",ot.onMouseUp),r.a.cancel(ot.moveRaf)},ot.onContainerMouseDown=function(Ve){Ve.stopPropagation(),Ve.preventDefault()},ot.onMouseDown=function(Ve){var ue=ot.props.onStartMove;ot.setState({dragging:!0,pageY:Ve.pageY,startTop:ot.getTop()}),ue(),ot.patchEvents(),Ve.stopPropagation(),Ve.preventDefault()},ot.onMouseMove=function(Ve){var ue=ot.state,ae=ue.dragging,lt=ue.pageY,Ze=ue.startTop,Te=ot.props.onScroll;if(r.a.cancel(ot.moveRaf),ae){var Jt=Ve.pageY-lt,mt=Ze+Jt,ft=ot.getEnableScrollRange(),bt=ot.getEnableHeightRange(),Lt=mt/bt,or=Math.ceil(Lt*ft);ot.moveRaf=Object(r.a)(function(){Te(or)})}},ot.onMouseUp=function(){var Ve=ot.props.onStopMove;ot.setState({dragging:!1}),Ve(),ot.removeEvents()},ot.getSpinHeight=function(){var Ve=ot.props,ue=Ve.height,ae=Ve.count,lt=ue/ae*10;return lt=Math.max(lt,E),lt=Math.min(lt,ue/2),Math.floor(lt)},ot.getEnableScrollRange=function(){var Ve=ot.props,ue=Ve.scrollHeight,ae=Ve.height;return ue-ae},ot.getEnableHeightRange=function(){var Ve=ot.props.height,ue=ot.getSpinHeight();return Ve-ue},ot.getTop=function(){var Ve=ot.props.scrollTop,ue=ot.getEnableScrollRange(),ae=ot.getEnableHeightRange(),lt=Ve/ue;return lt*ae},ot}return t(et,[{key:"componentDidUpdate",value:function(Ve){Ve.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var Ve=this.state,ue=Ve.visible,ae=Ve.dragging,lt=this.props.prefixCls,Ze=this.getSpinHeight(),Te=this.getTop();return g.createElement("div",{className:"".concat(lt,"-scrollbar"),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:ue?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},g.createElement("div",{className:b()("".concat(lt,"-scrollbar-thumb"),d({},"".concat(lt,"-scrollbar-thumb-moving"),ae)),style:{width:"100%",height:Ze,top:Te,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),et}(g.Component);function _(Xe){var Je=Xe.children,et=Xe.setRef,ot=g.useCallback(function(Ve){et(Ve)},[]);return g.cloneElement(Je,{ref:ot})}function v(Xe,Je,et,ot,Ve,ue){var ae=ue.getKey;return Xe.slice(Je,et+1).map(function(lt,Ze){var Te=Je+Ze,Jt=Ve(lt,Te,{}),mt=ae(lt);return g.createElement(_,{key:mt,setRef:function(bt){return ot(lt,bt)}},Jt)})}var S=e("m+aA");function O(Xe,Je){if(!(Xe instanceof Je))throw new TypeError("Cannot call a class as a function")}function L(Xe,Je){for(var et=0;et<Je.length;et++){var ot=Je[et];ot.enumerable=ot.enumerable||!1,ot.configurable=!0,"value"in ot&&(ot.writable=!0),Object.defineProperty(Xe,ot.key,ot)}}function M(Xe,Je,et){return Je&&L(Xe.prototype,Je),et&&L(Xe,et),Xe}var F=function(){function Xe(){O(this,Xe),this.maps={},this.maps.prototype=null}return M(Xe,[{key:"set",value:function(et,ot){this.maps[et]=ot}},{key:"get",value:function(et){return this.maps[et]}}]),Xe}(),U=F;function z(Xe,Je){return k(Xe)||j(Xe,Je)||N(Xe,Je)||W()}function W(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function N(Xe,Je){if(!Xe)return;if(typeof Xe=="string")return H(Xe,Je);var et=Object.prototype.toString.call(Xe).slice(8,-1);if(et==="Object"&&Xe.constructor&&(et=Xe.constructor.name),et==="Map"||et==="Set")return Array.from(Xe);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return H(Xe,Je)}function H(Xe,Je){(Je==null||Je>Xe.length)&&(Je=Xe.length);for(var et=0,ot=new Array(Je);et<Je;et++)ot[et]=Xe[et];return ot}function j(Xe,Je){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Xe)))return;var et=[],ot=!0,Ve=!1,ue=void 0;try{for(var ae=Xe[Symbol.iterator](),lt;!(ot=(lt=ae.next()).done)&&!(et.push(lt.value),Je&&et.length===Je);ot=!0);}catch(Ze){Ve=!0,ue=Ze}finally{try{!ot&&ae.return!=null&&ae.return()}finally{if(Ve)throw ue}}return et}function k(Xe){if(Array.isArray(Xe))return Xe}function B(Xe,Je,et){var ot=g.useState(0),Ve=z(ot,2),ue=Ve[0],ae=Ve[1],lt=Object(g.useRef)(new Map),Ze=Object(g.useRef)(new U);function Te(mt,ft){var bt=Xe(mt),Lt=lt.current.get(bt);ft?lt.current.set(bt,ft):lt.current.delete(bt),!Lt!==!ft&&(ft?Je==null||Je(mt):et==null||et(mt))}function Jt(){var mt=!1;lt.current.forEach(function(ft,bt){if(ft&&ft.offsetParent){var Lt=Object(S.a)(ft),or=Lt.offsetHeight;Ze.current.get(bt)!==or&&(mt=!0,Ze.current.set(bt,Lt.offsetHeight))}}),mt&&ae(function(ft){return ft+1})}return[Te,Jt,Ze.current,ue]}function V(Xe,Je){var et=Object(g.useRef)(),ot=Object(g.useRef)();return et.current=Xe,ot.current=Je,function(Ve){var ue=Math.max(Ve,0),ae=et.current-ot.current;return Number.isNaN(ae)||(ue=Math.min(ue,ae)),ue}}function K(Xe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?K=function(et){return typeof et}:K=function(et){return et&&typeof Symbol=="function"&&et.constructor===Symbol&&et!==Symbol.prototype?"symbol":typeof et},K(Xe)}function Y(Xe,Je,et,ot,Ve,ue,ae){var lt=g.useRef();return function(Ze){if(r.a.cancel(lt.current),typeof Ze=="number")ae(Ze);else if(Ze&&K(Ze)==="object"){var Te,Jt=Ze.align;"index"in Ze?Te=Ze.index:Te=Je.findIndex(function(ft){return Ve(ft)===Ze.key});var mt=function ft(bt,Lt){if(bt<0||!Xe.current)return;var or=Xe.current.clientHeight,Bt=!1,_e=Lt;if(or){for(var Ce=Lt||Jt,Ee=0,we=0,Fe=0,Ye=0;Ye<=Te;Ye+=1){var Ge=Ve(Je[Ye]);we=Ee;var qe=et.get(Ge);Fe=we+(qe===void 0?ot:qe),Ee=Fe,Ye===Te&&qe===void 0&&(Bt=!0)}var Ke=null;switch(Ce){case"top":Ke=we;break;case"bottom":Ke=Fe-or;break;default:{var ut=Xe.current.scrollTop,wt=ut+or;we<ut?_e="top":Fe>wt&&(_e="bottom")}}Ke!==null&&Ke!==Xe.current.scrollTop&&ae(Ke)}lt.current=Object(r.a)(function(){Bt&&ue(),ft(bt-1,_e)})};mt(3)}}}function Q(Xe,Je,et,ot){var Ve=et-Xe,ue=Je-et,ae=Math.min(Ve,ue)*2;if(ot<=ae){var lt=Math.floor(ot/2);return ot%2?et+lt+1:et-lt}return Ve>ue?et-(ot-ue):et+(ot-Ve)}function he(Xe,Je,et){var ot=Xe.length,Ve=Je.length,ue,ae;if(ot===0&&Ve===0)return null;ot<Ve?(ue=Xe,ae=Je):(ue=Je,ae=Xe);var lt={__EMPTY_ITEM__:!0};function Ze(Lt){return Lt!==void 0?et(Lt):lt}for(var Te=null,Jt=Math.abs(ot-Ve)!==1,mt=0;mt<ae.length;mt+=1){var ft=Ze(ue[mt]),bt=Ze(ae[mt]);if(ft!==bt){Te=mt,Jt=Jt||ft!==Ze(ae[mt+1]);break}}return Te===null?null:{index:Te,multiple:Jt}}function G(Xe,Je){return Re(Xe)||Pe(Xe,Je)||Ae(Xe,Je)||ye()}function ye(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ae(Xe,Je){if(!Xe)return;if(typeof Xe=="string")return ge(Xe,Je);var et=Object.prototype.toString.call(Xe).slice(8,-1);if(et==="Object"&&Xe.constructor&&(et=Xe.constructor.name),et==="Map"||et==="Set")return Array.from(Xe);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return ge(Xe,Je)}function ge(Xe,Je){(Je==null||Je>Xe.length)&&(Je=Xe.length);for(var et=0,ot=new Array(Je);et<Je;et++)ot[et]=Xe[et];return ot}function Pe(Xe,Je){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Xe)))return;var et=[],ot=!0,Ve=!1,ue=void 0;try{for(var ae=Xe[Symbol.iterator](),lt;!(ot=(lt=ae.next()).done)&&!(et.push(lt.value),Je&&et.length===Je);ot=!0);}catch(Ze){Ve=!0,ue=Ze}finally{try{!ot&&ae.return!=null&&ae.return()}finally{if(Ve)throw ue}}return et}function Re(Xe){if(Array.isArray(Xe))return Xe}function rt(Xe,Je,et){var ot=g.useState(Xe),Ve=G(ot,2),ue=Ve[0],ae=Ve[1],lt=g.useState(null),Ze=G(lt,2),Te=Ze[0],Jt=Ze[1];return g.useEffect(function(){var mt=he(ue||[],Xe||[],Je);(mt==null?void 0:mt.index)!==void 0&&(et==null||et(mt.index),Jt(Xe[mt.index])),ae(Xe)},[Xe]),[Te]}function ne(Xe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ne=function(et){return typeof et}:ne=function(et){return et&&typeof Symbol=="function"&&et.constructor===Symbol&&et!==Symbol.prototype?"symbol":typeof et},ne(Xe)}var be=(typeof navigator=="undefined"?"undefined":ne(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),at=be;function se(Xe,Je){var et=Object(g.useRef)(0),ot=Object(g.useRef)(null),Ve=Object(g.useRef)(null),ue=Object(g.useRef)(!1);function ae(Ze){if(!Xe)return;at||Ze.preventDefault(),r.a.cancel(ot.current),et.current+=Ze.deltaY,Ve.current=Ze.deltaY,ot.current=Object(r.a)(function(){var Te=ue.current?10:1;Je(et.current*Te),et.current=0})}function lt(Ze){if(!Xe)return;Ze.preventDefault(),ue.current=Ze.detail===Ve.current}return[ae,lt]}function q(Xe,Je){var et=Object.keys(Xe);if(Object.getOwnPropertySymbols){var ot=Object.getOwnPropertySymbols(Xe);Je&&(ot=ot.filter(function(Ve){return Object.getOwnPropertyDescriptor(Xe,Ve).enumerable})),et.push.apply(et,ot)}return et}function X(Xe){for(var Je=1;Je<arguments.length;Je++){var et=arguments[Je]!=null?arguments[Je]:{};Je%2?q(Object(et),!0).forEach(function(ot){Z(Xe,ot,et[ot])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Xe,Object.getOwnPropertyDescriptors(et)):q(Object(et)).forEach(function(ot){Object.defineProperty(Xe,ot,Object.getOwnPropertyDescriptor(et,ot))})}return Xe}function Z(Xe,Je,et){return Je in Xe?Object.defineProperty(Xe,Je,{value:et,enumerable:!0,configurable:!0,writable:!0}):Xe[Je]=et,Xe}function pe(Xe,Je){return J(Xe)||te(Xe,Je)||Ie(Xe,Je)||oe()}function oe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ie(Xe,Je){if(!Xe)return;if(typeof Xe=="string")return fe(Xe,Je);var et=Object.prototype.toString.call(Xe).slice(8,-1);if(et==="Object"&&Xe.constructor&&(et=Xe.constructor.name),et==="Map"||et==="Set")return Array.from(Xe);if(et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return fe(Xe,Je)}function fe(Xe,Je){(Je==null||Je>Xe.length)&&(Je=Xe.length);for(var et=0,ot=new Array(Je);et<Je;et++)ot[et]=Xe[et];return ot}function te(Xe,Je){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Xe)))return;var et=[],ot=!0,Ve=!1,ue=void 0;try{for(var ae=Xe[Symbol.iterator](),lt;!(ot=(lt=ae.next()).done)&&!(et.push(lt.value),Je&&et.length===Je);ot=!0);}catch(Ze){Ve=!0,ue=Ze}finally{try{!ot&&ae.return!=null&&ae.return()}finally{if(Ve)throw ue}}return et}function J(Xe){if(Array.isArray(Xe))return Xe}function ve(Xe,Je){if(Xe==null)return{};var et=De(Xe,Je),ot,Ve;if(Object.getOwnPropertySymbols){var ue=Object.getOwnPropertySymbols(Xe);for(Ve=0;Ve<ue.length;Ve++){if(ot=ue[Ve],Je.indexOf(ot)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Xe,ot))continue;et[ot]=Xe[ot]}}return et}function De(Xe,Je){if(Xe==null)return{};var et={},ot=Object.keys(Xe),Ve,ue;for(ue=0;ue<ot.length;ue++){if(Ve=ot[ue],Je.indexOf(Ve)>=0)continue;et[Ve]=Xe[Ve]}return et}var ze=[],dt={overflowY:"auto",overflowAnchor:"none"};function Me(Xe,Je){var et=Xe.prefixCls,ot=et===void 0?"rc-virtual-list":et,Ve=Xe.className,ue=Xe.height,ae=Xe.itemHeight,lt=Xe.fullHeight,Ze=lt===void 0?!0:lt,Te=Xe.style,Jt=Xe.data,mt=Xe.children,ft=Xe.itemKey,bt=Xe.virtual,Lt=Xe.component,or=Lt===void 0?"div":Lt,Bt=Xe.onScroll,_e=ve(Xe,["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll"]),Ce=bt!==!1&&ue&&ae&&Jt&&ae*Jt.length>ue,Ee=g.useState(0),we=pe(Ee,2),Fe=we[0],Ye=we[1],Ge=g.useState(!1),qe=pe(Ge,2),Ke=qe[0],ut=qe[1],wt=b()(ot,Ve),It=Jt||ze,de=Object(g.useRef)(),xe=g.useCallback(function(Ar){return typeof ft=="function"?ft(Ar):Ar[ft]},[ft]),$={getKey:xe};function le(Ar){Ye(function(Nr){var kr;return typeof Ar=="function"?kr=Ar(Nr):kr=Ar,de.current.scrollTop=kr,kr})}var Oe=Object(g.useRef)({start:0,end:It.length}),ke=Object(g.useRef)(),Ue=rt(It,xe),nt=pe(Ue,1),At=nt[0];ke.current=At;var Wt=B(xe,null,null),$t=pe(Wt,4),Rt=$t[0],zt=$t[1],Gt=$t[2],Qt=$t[3],Mt=g.useMemo(function(){if(!Ce)return{scrollHeight:void 0,start:0,end:It.length-1,offset:void 0};for(var Ar=0,Nr,kr,tn,qr=It.length,_r=0;_r<qr;_r+=1){var Qr=It[_r],Ir=xe(Qr),cr=Gt.get(Ir),pr=Ar+(cr===void 0?ae:cr);pr>=Fe&&Nr===void 0&&(Nr=_r,kr=Ar),pr>Fe+ue&&tn===void 0&&(tn=_r),Ar=pr}return Nr===void 0&&(Nr=0,kr=0),tn===void 0&&(tn=It.length-1),tn=Math.min(tn+1,It.length),{scrollHeight:Ar,start:Nr,end:tn,offset:kr}},[Ce,Fe,It,Qt,ue]),dr=Mt.scrollHeight,er=Mt.start,ht=Mt.end,Et=Mt.offset;Oe.current.start=er,Oe.current.end=ht;var pt=V(dr,ue);function vt(Ar){var Nr=pt(Ar);Nr!==Fe&&le(Nr)}function Nt(Ar){var Nr=Ar.currentTarget.scrollTop;Nr!==Fe&&le(Nr),Bt==null||Bt(Ar)}var _t=se(Ce,function(Ar){le(function(Nr){var kr=pt(Nr+Ar);return kr})}),gt=pe(_t,2),Ht=gt[0],kt=gt[1];g.useEffect(function(){return de.current.addEventListener("wheel",Ht),de.current.addEventListener("DOMMouseScroll",kt),function(){de.current.removeEventListener("wheel",Ht),de.current.removeEventListener("DOMMouseScroll",kt)}},[Ce]);var ir=Y(de,It,Gt,ae,xe,zt,le);g.useImperativeHandle(Je,function(){return{scrollTo:ir}});var Xt=v(It,er,ht,Rt,mt,$),mr=null;return ue&&(mr=X(Z({},Ze?"height":"maxHeight",ue),dt),Ce&&(mr.overflowY="hidden",Ke&&(mr.pointerEvents="none"))),g.createElement("div",Object.assign({style:X(X({},Te),{},{position:"relative"}),className:wt},_e),g.createElement(or,{className:"".concat(ot,"-holder"),style:mr,ref:de,onScroll:Nt},g.createElement(a,{prefixCls:ot,height:dr,offset:Et,onInnerResize:zt},Xt)),Ce&&g.createElement(T,{prefixCls:ot,scrollTop:Fe,height:ue,scrollHeight:dr,count:It.length,onScroll:vt,onStartMove:function(){ut(!0)},onStopMove:function(){ut(!1)}}))}var Tt=g.forwardRef(Me);Tt.displayName="List";var je=Tt,st=I.a=je},"+rIm":function(R,I,e){var g=e("bYtY"),f=g.retrieve,b=g.defaults,m=g.extend,y=g.each,h=e("7aKB"),u=e("IwbS"),i=e("Qxkt"),a=e("OELB"),r=a.isRadianAroundZero,o=a.remRadian,d=e("oVpE"),n=d.createSymbol,l=e("Fofx"),t=e("QBsz"),s=t.applyTransform,c=e("aX7z"),p=c.shouldShowAllLabels,A=Math.PI,w=function(N,H){this.opt=H,this.axisModel=N,b(H,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new u.Group;var j=new u.Group({position:H.position.slice(),rotation:H.rotation});j.updateTransform(),this._transform=j.transform,this._dumbGroup=j};w.prototype={constructor:w,hasBuilder:function(N){return!!C[N]},add:function(N){C[N].call(this)},getGroup:function(){return this.group}};var C={axisLine:function(){var N=this.opt,H=this.axisModel;if(!H.get("axisLine.show"))return;var j=this.axisModel.axis.getExtent(),k=this._transform,B=[j[0],0],V=[j[1],0];k&&(s(B,B,k),s(V,V,k));var K=m({lineCap:"round"},H.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new u.Line({anid:"line",subPixelOptimize:!0,shape:{x1:B[0],y1:B[1],x2:V[0],y2:V[1]},style:K,strokeContainThreshold:N.strokeContainThreshold||5,silent:!0,z2:1}));var Y=H.get("axisLine.symbol"),Q=H.get("axisLine.symbolSize"),he=H.get("axisLine.symbolOffset")||0;if(typeof he=="number"&&(he=[he,he]),Y!=null){typeof Y=="string"&&(Y=[Y,Y]),(typeof Q=="string"||typeof Q=="number")&&(Q=[Q,Q]);var G=Q[0],ye=Q[1];y([{rotate:N.rotation+Math.PI/2,offset:he[0],r:0},{rotate:N.rotation-Math.PI/2,offset:he[1],r:Math.sqrt((B[0]-V[0])*(B[0]-V[0])+(B[1]-V[1])*(B[1]-V[1]))}],function(Ae,ge){if(Y[ge]!=="none"&&Y[ge]!=null){var Pe=n(Y[ge],-G/2,-ye/2,G,ye,K.stroke,!0),Re=Ae.r+Ae.offset,rt=[B[0]+Re*Math.cos(N.rotation),B[1]-Re*Math.sin(N.rotation)];Pe.attr({rotation:Ae.rotate,position:rt,silent:!0,z2:11}),this.group.add(Pe)}},this)}},axisTickLabel:function(){var N=this.axisModel,H=this.opt,j=F(this,N,H),k=z(this,N,H);v(N,k,j),U(this,N,H)},axisName:function(){var N=this.opt,H=this.axisModel,j=f(N.axisName,H.get("name"));if(!j)return;var k=H.get("nameLocation"),B=N.nameDirection,V=H.getModel("nameTextStyle"),K=H.get("nameGap")||0,Y=this.axisModel.axis.getExtent(),Q=Y[0]>Y[1]?-1:1,he=[k==="start"?Y[0]-Q*K:k==="end"?Y[1]+Q*K:(Y[0]+Y[1])/2,L(k)?N.labelOffset+B*K:0],G,ye=H.get("nameRotate");ye!=null&&(ye=ye*A/180);var Ae;L(k)?G=E(N.rotation,ye!=null?ye:N.rotation,B):(G=T(N,k,ye||0,Y),Ae=N.axisNameAvailableWidth,Ae!=null&&(Ae=Math.abs(Ae/Math.sin(G.rotation)),!isFinite(Ae)&&(Ae=null)));var ge=V.getFont(),Pe=H.get("nameTruncate",!0)||{},Re=Pe.ellipsis,rt=f(N.nameTruncateMaxWidth,Pe.maxWidth,Ae),ne=Re!=null&&rt!=null?h.truncateText(j,rt,ge,Re,{minChar:2,placeholder:Pe.placeholder}):j,be=H.get("tooltip",!0),at=H.mainType,se={componentType:at,name:j,$vars:["name"]};se[at+"Index"]=H.componentIndex;var q=new u.Text({anid:"name",__fullText:j,__truncatedText:ne,position:he,rotation:G.rotation,silent:_(H),z2:1,tooltip:be&&be.show?m({content:j,formatter:function(){return j},formatterParams:se},be):null});u.setTextStyle(q.style,V,{text:ne,textFont:ge,textFill:V.getTextColor()||H.get("axisLine.lineStyle.color"),textAlign:V.get("align")||G.textAlign,textVerticalAlign:V.get("verticalAlign")||G.textVerticalAlign}),H.get("triggerEvent")&&(q.eventData=x(H),q.eventData.targetType="axisName",q.eventData.name=j),this._dumbGroup.add(q),q.updateTransform(),this.group.add(q),q.decomposeTransform()}},x=w.makeAxisEventDataBase=function(N){var H={componentType:N.mainType,componentIndex:N.componentIndex};return H[N.mainType+"Index"]=N.componentIndex,H},E=w.innerTextLayout=function(N,H,j){var k=o(H-N),B,V;return r(k)?(V=j>0?"top":"bottom",B="center"):r(k-A)?(V=j>0?"bottom":"top",B="center"):(V="middle",k>0&&k<A?B=j>0?"right":"left":B=j>0?"left":"right"),{rotation:k,textAlign:B,textVerticalAlign:V}};function T(N,H,j,k){var B=o(j-N.rotation),V,K,Y=k[0]>k[1],Q=H==="start"&&!Y||H!=="start"&&Y;return r(B-A/2)?(K=Q?"bottom":"top",V="center"):r(B-A*1.5)?(K=Q?"top":"bottom",V="center"):(K="middle",B<A*1.5&&B>A/2?V=Q?"left":"right":V=Q?"right":"left"),{rotation:B,textAlign:V,textVerticalAlign:K}}var _=w.isLabelSilent=function(N){var H=N.get("tooltip");return N.get("silent")||!(N.get("triggerEvent")||H&&H.show)};function v(N,H,j){if(p(N.axis))return;var k=N.get("axisLabel.showMinLabel"),B=N.get("axisLabel.showMaxLabel");H=H||[],j=j||[];var V=H[0],K=H[1],Y=H[H.length-1],Q=H[H.length-2],he=j[0],G=j[1],ye=j[j.length-1],Ae=j[j.length-2];k===!1?(S(V),S(he)):O(V,K)&&(k?(S(K),S(G)):(S(V),S(he))),B===!1?(S(Y),S(ye)):O(Q,Y)&&(B?(S(Q),S(Ae)):(S(Y),S(ye)))}function S(N){N&&(N.ignore=!0)}function O(N,H,j){var k=N&&N.getBoundingRect().clone(),B=H&&H.getBoundingRect().clone();if(!k||!B)return;var V=l.identity([]);return l.rotate(V,V,-N.rotation),k.applyTransform(l.mul([],V,N.getLocalTransform())),B.applyTransform(l.mul([],V,H.getLocalTransform())),k.intersect(B)}function L(N){return N==="middle"||N==="center"}function M(N,H,j,k,B){for(var V=[],K=[],Y=[],Q=0;Q<N.length;Q++){var he=N[Q].coord;K[0]=he,K[1]=0,Y[0]=he,Y[1]=j,H&&(s(K,K,H),s(Y,Y,H));var G=new u.Line({anid:B+"_"+N[Q].tickValue,subPixelOptimize:!0,shape:{x1:K[0],y1:K[1],x2:Y[0],y2:Y[1]},style:k,z2:2,silent:!0});V.push(G)}return V}function F(N,H,j){var k=H.axis,B=H.getModel("axisTick");if(!B.get("show")||k.scale.isBlank())return;for(var V=B.getModel("lineStyle"),K=j.tickDirection*B.get("length"),Y=k.getTicksCoords(),Q=M(Y,N._transform,K,b(V.getLineStyle(),{stroke:H.get("axisLine.lineStyle.color")}),"ticks"),he=0;he<Q.length;he++)N.group.add(Q[he]);return Q}function U(N,H,j){var k=H.axis,B=H.getModel("minorTick");if(!B.get("show")||k.scale.isBlank())return;var V=k.getMinorTicksCoords();if(!V.length)return;for(var K=B.getModel("lineStyle"),Y=j.tickDirection*B.get("length"),Q=b(K.getLineStyle(),b(H.getModel("axisTick").getLineStyle(),{stroke:H.get("axisLine.lineStyle.color")})),he=0;he<V.length;he++)for(var G=M(V[he],N._transform,Y,Q,"minorticks_"+he),ye=0;ye<G.length;ye++)N.group.add(G[ye])}function z(N,H,j){var k=H.axis,B=f(j.axisLabelShow,H.get("axisLabel.show"));if(!B||k.scale.isBlank())return;var V=H.getModel("axisLabel"),K=V.get("margin"),Y=k.getViewLabels(),Q=(f(j.labelRotate,V.get("rotate"))||0)*A/180,he=E(j.rotation,Q,j.labelDirection),G=H.getCategories&&H.getCategories(!0),ye=[],Ae=_(H),ge=H.get("triggerEvent");return y(Y,function(Pe,Re){var rt=Pe.tickValue,ne=Pe.formattedLabel,be=Pe.rawLabel,at=V;G&&G[rt]&&G[rt].textStyle&&(at=new i(G[rt].textStyle,V,H.ecModel));var se=at.getTextColor()||H.get("axisLine.lineStyle.color"),q=k.dataToCoord(rt),X=[q,j.labelOffset+j.labelDirection*K],Z=new u.Text({anid:"label_"+rt,position:X,rotation:he.rotation,silent:Ae,z2:10});u.setTextStyle(Z.style,at,{text:ne,textAlign:at.getShallow("align",!0)||he.textAlign,textVerticalAlign:at.getShallow("verticalAlign",!0)||at.getShallow("baseline",!0)||he.textVerticalAlign,textFill:typeof se=="function"?se(k.type==="category"?be:k.type==="value"?rt+"":rt,Re):se}),ge&&(Z.eventData=x(H),Z.eventData.targetType="axisLabel",Z.eventData.value=be),N._dumbGroup.add(Z),Z.updateTransform(),ye.push(Z),N.group.add(Z),Z.decomposeTransform()}),ye}var W=w;R.exports=W},"+uyH":function(R,I,e){"use strict";var g=e("TqRt");Object.defineProperty(I,"__esModule",{value:!0}),I.Track=void 0;var f=g(e("pVnL")),b=g(e("lwsE")),m=g(e("W8MJ")),y=g(e("PJYZ")),h=g(e("7W2i")),u=g(e("LQ03")),i=g(e("lSNA")),a=g(e("3tO9")),r=g(e("q1tI")),o=g(e("TSYQ")),d=e("3K4p"),n=function(A){var w,C,x,E,T;A.rtl?T=A.slideCount-1-A.index:T=A.index,x=T<0||T>=A.slideCount,A.centerMode?(E=Math.floor(A.slidesToShow/2),C=(T-A.currentSlide)%A.slideCount===0,T>A.currentSlide-E-1&&T<=A.currentSlide+E&&(w=!0)):w=A.currentSlide<=T&&T<A.currentSlide+A.slidesToShow;var _;A.targetSlide<0?_=A.targetSlide+A.slideCount:A.targetSlide>=A.slideCount?_=A.targetSlide-A.slideCount:_=A.targetSlide;var v=T===_;return{"slick-slide":!0,"slick-active":w,"slick-center":C,"slick-cloned":x,"slick-current":v}},l=function(A){var w={};return(A.variableWidth===void 0||A.variableWidth===!1)&&(w.width=A.slideWidth),A.fade&&(w.position="relative",A.vertical?w.top=-A.index*parseInt(A.slideHeight):w.left=-A.index*parseInt(A.slideWidth),w.opacity=A.currentSlide===A.index?1:0,A.useCSS&&(w.transition="opacity "+A.speed+"ms "+A.cssEase+", visibility "+A.speed+"ms "+A.cssEase)),w},t=function(A,w){return A.key+"-"+w},s=function(A){var w,C=[],x=[],E=[],T=r.default.Children.count(A.children),_=(0,d.lazyStartIndex)(A),v=(0,d.lazyEndIndex)(A);return r.default.Children.forEach(A.children,function(S,O){var L,M={message:"children",index:O,slidesToScroll:A.slidesToScroll,currentSlide:A.currentSlide};!A.lazyLoad||A.lazyLoad&&A.lazyLoadedList.indexOf(O)>=0?L=S:L=r.default.createElement("div",null);var F=l((0,a.default)((0,a.default)({},A),{},{index:O})),U=L.props.className||"",z=n((0,a.default)((0,a.default)({},A),{},{index:O}));if(C.push(r.default.cloneElement(L,{key:"original"+t(L,O),"data-index":O,className:(0,o.default)(z,U),tabIndex:"-1","aria-hidden":!z["slick-active"],style:(0,a.default)((0,a.default)({outline:"none"},L.props.style||{}),F),onClick:function(H){L.props&&L.props.onClick&&L.props.onClick(H),A.focusOnSelect&&A.focusOnSelect(M)}})),A.infinite&&A.fade===!1){var W=T-O;W<=(0,d.getPreClones)(A)&&T!==A.slidesToShow&&(w=-W,w>=_&&(L=S),z=n((0,a.default)((0,a.default)({},A),{},{index:w})),x.push(r.default.cloneElement(L,{key:"precloned"+t(L,w),"data-index":w,tabIndex:"-1",className:(0,o.default)(z,U),"aria-hidden":!z["slick-active"],style:(0,a.default)((0,a.default)({},L.props.style||{}),F),onClick:function(H){L.props&&L.props.onClick&&L.props.onClick(H),A.focusOnSelect&&A.focusOnSelect(M)}}))),T!==A.slidesToShow&&(w=T+O,w<v&&(L=S),z=n((0,a.default)((0,a.default)({},A),{},{index:w})),E.push(r.default.cloneElement(L,{key:"postcloned"+t(L,w),"data-index":w,tabIndex:"-1",className:(0,o.default)(z,U),"aria-hidden":!z["slick-active"],style:(0,a.default)((0,a.default)({},L.props.style||{}),F),onClick:function(H){L.props&&L.props.onClick&&L.props.onClick(H),A.focusOnSelect&&A.focusOnSelect(M)}})))}}),A.rtl?x.concat(C,E).reverse():x.concat(C,E)},c=function(p){(0,h.default)(w,p);var A=(0,u.default)(w);function w(){var C;(0,b.default)(this,w);for(var x=arguments.length,E=new Array(x),T=0;T<x;T++)E[T]=arguments[T];return C=A.call.apply(A,[this].concat(E)),(0,i.default)((0,y.default)(C),"node",null),(0,i.default)((0,y.default)(C),"handleRef",function(_){C.node=_}),C}return(0,m.default)(w,[{key:"render",value:function(){var x=s(this.props),E=this.props,T=E.onMouseEnter,_=E.onMouseOver,v=E.onMouseLeave,S={onMouseEnter:T,onMouseOver:_,onMouseLeave:v};return r.default.createElement("div",(0,f.default)({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},S),x)}}]),w}(r.default.PureComponent);I.Track=c},"+wW9":function(R,I,e){var g=e("bYtY"),f=g.each,b=g.isArray,m=g.isObject,y=e("JuEJ"),h=e("4NO4"),u=h.normalizeToArray;function i(l,t){t=t.split(",");for(var s=l,c=0;c<t.length&&!(s=s&&s[t[c]],s==null);c++);return s}function a(l,t,s,c){t=t.split(",");for(var p=l,A,w=0;w<t.length-1;w++)A=t[w],p[A]==null&&(p[A]={}),p=p[A];(c||p[t[w]]==null)&&(p[t[w]]=s)}function r(l){f(o,function(t){t[0]in l&&!(t[1]in l)&&(l[t[1]]=l[t[0]])})}var o=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],d=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function n(l,t){y(l,t),l.series=u(l.series),f(l.series,function(s){if(!m(s))return;var c=s.type;if(c==="line")s.clipOverflow!=null&&(s.clip=s.clipOverflow);else if(c==="pie"||c==="gauge")s.clockWise!=null&&(s.clockwise=s.clockWise);else if(c==="gauge"){var p=i(s,"pointer.color");p!=null&&a(s,"itemStyle.color",p)}r(s)}),l.dataRange&&(l.visualMap=l.dataRange),f(d,function(s){var c=l[s];c&&(b(c)||(c=[c]),f(c,function(p){r(p)}))})}R.exports=n},"/IIm":function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("bYtY"),m=e("H6uX"),y=e("IwbS"),h=e("pP6R"),u=e("gPAo"),i=b.curry,a=b.each,r=b.map,o=Math.min,d=Math.max,n=Math.pow,l=1e4,t=6,s=6,c="globalPan",p={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},A={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},w={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},C=0;function x(te){m.call(this),this._zr=te,this.group=new y.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+C++,this._handlers={},a(X,function(J,ve){this._handlers[ve]=b.bind(J,this)},this)}x.prototype={constructor:x,enableBrush:function(te){return this._brushType&&T(this),te.brushType&&E(this,te),this},setPanels:function(te){if(te&&te.length){var J=this._panels={};b.each(te,function(ve){J[ve.panelId]=b.clone(ve)})}else this._panels=null;return this},mount:function(te){te=te||{},this._enableGlobalPan=te.enableGlobalPan;var J=this.group;return this._zr.add(J),J.attr({position:te.position||[0,0],rotation:te.rotation||0,scale:te.scale||[1,1]}),this._transform=J.getLocalTransform(),this},eachCover:function(te,J){a(this._covers,te,J)},updateCovers:function(te){te=b.map(te,function(Xe){return b.merge(b.clone(w),Xe,!0)});var J="\0-brush-index-",ve=this._covers,De=this._covers=[],ze=this,dt=this._creatingCover;return new u(ve,te,Tt,Me).add(je).update(je).remove(st).execute(),this;function Me(Xe,Je){return(Xe.id!=null?Xe.id:J+Je)+"-"+Xe.brushType}function Tt(Xe,Je){return Me(Xe.__brushOption,Je)}function je(Xe,Je){var et=te[Xe];if(Je!=null&&ve[Je]===dt)De[Xe]=ve[Je];else{var ot=De[Xe]=Je!=null?(ve[Je].__brushOption=et,ve[Je]):O(ze,S(ze,et));F(ze,ot)}}function st(Xe){ve[Xe]!==dt&&ze.group.remove(ve[Xe])}},unmount:function(){return this.enableBrush(!1),N(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},b.mixin(x,m);function E(te,J){var ve=te._zr;te._enableGlobalPan||h.take(ve,c,te._uid),_(ve,te._handlers),te._brushType=J.brushType,te._brushOption=b.merge(b.clone(w),J,!0)}function T(te){var J=te._zr;h.release(J,c,te._uid),v(J,te._handlers),te._brushType=te._brushOption=null}function _(te,J){a(J,function(ve,De){te.on(De,ve)})}function v(te,J){a(J,function(ve,De){te.off(De,ve)})}function S(te,J){var ve=oe[J.brushType].createCover(te,J);return ve.__brushOption=J,M(ve,J),te.group.add(ve),ve}function O(te,J){var ve=U(J);return ve.endCreating&&(ve.endCreating(te,J),M(J,J.__brushOption)),J}function L(te,J){var ve=J.__brushOption;U(J).updateCoverShape(te,J,ve.range,ve)}function M(te,J){var ve=J.z;ve==null&&(ve=l),te.traverse(function(De){De.z=ve,De.z2=ve})}function F(te,J){U(J).updateCommon(te,J),L(te,J)}function U(te){return oe[te.__brushOption.brushType]}function z(te,J,ve){var De=te._panels;if(!De)return!0;var ze,dt=te._transform;return a(De,function(Me){Me.isTargetByCursor(J,ve,dt)&&(ze=Me)}),ze}function W(te,J){var ve=te._panels;if(!ve)return!0;var De=J.__brushOption.panelId;return De!=null?ve[De]:!0}function N(te){var J=te._covers,ve=J.length;return a(J,function(De){te.group.remove(De)},te),J.length=0,!!ve}function H(te,J){var ve=r(te._covers,function(De){var ze=De.__brushOption,dt=b.clone(ze.range);return{brushType:ze.brushType,panelId:ze.panelId,range:dt}});te.trigger("brush",ve,{isEnd:!!J.isEnd,removeOnClick:!!J.removeOnClick})}function j(te){var J=te._track;if(!J.length)return!1;var ve=J[J.length-1],De=J[0],ze=ve[0]-De[0],dt=ve[1]-De[1],Me=n(ze*ze+dt*dt,.5);return Me>t}function k(te){var J=te.length-1;return J<0&&(J=0),[te[0],te[J]]}function B(te,J,ve,De){var ze=new y.Group;return ze.add(new y.Rect({name:"main",style:Q(ve),silent:!0,draggable:!0,cursor:"move",drift:i(te,J,ze,"nswe"),ondragend:i(H,J,{isEnd:!0})})),a(De,function(dt){ze.add(new y.Rect({name:dt,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:i(te,J,ze,dt),ondragend:i(H,J,{isEnd:!0})}))}),ze}function V(te,J,ve,De){var ze=De.brushStyle.lineWidth||0,dt=d(ze,s),Me=ve[0][0],Tt=ve[1][0],je=Me-ze/2,st=Tt-ze/2,Xe=ve[0][1],Je=ve[1][1],et=Xe-dt+ze/2,ot=Je-dt+ze/2,Ve=Xe-Me,ue=Je-Tt,ae=Ve+ze,lt=ue+ze;Y(te,J,"main",Me,Tt,Ve,ue),De.transformable&&(Y(te,J,"w",je,st,dt,lt),Y(te,J,"e",et,st,dt,lt),Y(te,J,"n",je,st,ae,dt),Y(te,J,"s",je,ot,ae,dt),Y(te,J,"nw",je,st,dt,dt),Y(te,J,"ne",et,st,dt,dt),Y(te,J,"sw",je,ot,dt,dt),Y(te,J,"se",et,ot,dt,dt))}function K(te,J){var ve=J.__brushOption,De=ve.transformable,ze=J.childAt(0);ze.useStyle(Q(ve)),ze.attr({silent:!De,cursor:De?"move":"default"}),a(["w","e","n","s","se","sw","ne","nw"],function(dt){var Me=J.childOfName(dt),Tt=ye(te,dt);Me&&Me.attr({silent:!De,invisible:!De,cursor:De?A[Tt]+"-resize":null})})}function Y(te,J,ve,De,ze,dt,Me){var Tt=J.childOfName(ve);Tt&&Tt.setShape(rt(Re(te,J,[[De,ze],[De+dt,ze+Me]])))}function Q(te){return b.defaults({strokeNoScale:!0},te.brushStyle)}function he(te,J,ve,De){var ze=[o(te,ve),o(J,De)],dt=[d(te,ve),d(J,De)];return[[ze[0],dt[0]],[ze[1],dt[1]]]}function G(te){return y.getTransform(te.group)}function ye(te,J){if(J.length>1){J=J.split("");var ve=[ye(te,J[0]),ye(te,J[1])];return(ve[0]==="e"||ve[0]==="w")&&ve.reverse(),ve.join("")}else{var De={w:"left",e:"right",n:"top",s:"bottom"},ze={left:"w",right:"e",top:"n",bottom:"s"},ve=y.transformDirection(De[J],G(te));return ze[ve]}}function Ae(te,J,ve,De,ze,dt,Me,Tt){var je=De.__brushOption,st=te(je.range),Xe=Pe(ve,dt,Me);a(ze.split(""),function(Je){var et=p[Je];st[et[0]][et[1]]+=Xe[et[0]]}),je.range=J(he(st[0][0],st[1][0],st[0][1],st[1][1])),F(ve,De),H(ve,{isEnd:!1})}function ge(te,J,ve,De,ze){var dt=J.__brushOption.range,Me=Pe(te,ve,De);a(dt,function(Tt){Tt[0]+=Me[0],Tt[1]+=Me[1]}),F(te,J),H(te,{isEnd:!1})}function Pe(te,J,ve){var De=te.group,ze=De.transformCoordToLocal(J,ve),dt=De.transformCoordToLocal(0,0);return[ze[0]-dt[0],ze[1]-dt[1]]}function Re(te,J,ve){var De=W(te,J);return De&&De!==!0?De.clipPath(ve,te._transform):b.clone(ve)}function rt(te){var J=o(te[0][0],te[1][0]),ve=o(te[0][1],te[1][1]),De=d(te[0][0],te[1][0]),ze=d(te[0][1],te[1][1]);return{x:J,y:ve,width:De-J,height:ze-ve}}function ne(te,J,ve){if(!te._brushType||pe(te,J))return;var De=te._zr,ze=te._covers,dt=z(te,J,ve);if(!te._dragging)for(var Me=0;Me<ze.length;Me++){var Tt=ze[Me].__brushOption;if(dt&&(dt===!0||Tt.panelId===dt.panelId)&&oe[Tt.brushType].contain(ze[Me],ve[0],ve[1]))return}dt&&De.setCursorStyle("crosshair")}function be(te){var J=te.event;J.preventDefault&&J.preventDefault()}function at(te,J,ve){return te.childOfName("main").contain(J,ve)}function se(te,J,ve,De){var ze=te._creatingCover,dt=te._creatingPanel,Me=te._brushOption,Tt;if(te._track.push(ve.slice()),j(te)||ze){if(dt&&!ze){Me.brushMode==="single"&&N(te);var je=b.clone(Me);je.brushType=q(je.brushType,dt),je.panelId=dt===!0?null:dt.panelId,ze=te._creatingCover=S(te,je),te._covers.push(ze)}if(ze){var st=oe[q(te._brushType,dt)],Xe=ze.__brushOption;Xe.range=st.getCreatingRange(Re(te,ze,te._track)),De&&(O(te,ze),st.updateCommon(te,ze)),L(te,ze),Tt={isEnd:De}}}else De&&Me.brushMode==="single"&&Me.removeOnClick&&(z(te,J,ve)&&N(te)&&(Tt={isEnd:De,removeOnClick:!0}));return Tt}function q(te,J){return te==="auto"?J.defaultBrushType:te}var X={mousedown:function(te){if(this._dragging)Z(this,te);else if(!te.target||!te.target.draggable){be(te);var J=this.group.transformCoordToLocal(te.offsetX,te.offsetY);this._creatingCover=null;var ve=this._creatingPanel=z(this,te,J);ve&&(this._dragging=!0,this._track=[J.slice()])}},mousemove:function(te){var J=te.offsetX,ve=te.offsetY,De=this.group.transformCoordToLocal(J,ve);if(ne(this,te,De),this._dragging){be(te);var ze=se(this,te,De,!1);ze&&H(this,ze)}},mouseup:function(te){Z(this,te)}};function Z(te,J){if(te._dragging){be(J);var ve=J.offsetX,De=J.offsetY,ze=te.group.transformCoordToLocal(ve,De),dt=se(te,J,ze,!0);te._dragging=!1,te._track=[],te._creatingCover=null,dt&&H(te,dt)}}function pe(te,J,ve){var De=te._zr;return J<0||J>De.getWidth()||ve<0||ve>De.getHeight()}var oe={lineX:Ie(0),lineY:Ie(1),rect:{createCover:function(te,J){return B(i(Ae,function(ve){return ve},function(ve){return ve}),te,J,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(te){var J=k(te);return he(J[1][0],J[1][1],J[0][0],J[0][1])},updateCoverShape:function(te,J,ve,De){V(te,J,ve,De)},updateCommon:K,contain:at},polygon:{createCover:function(te,J){var ve=new y.Group;return ve.add(new y.Polyline({name:"main",style:Q(J),silent:!0})),ve},getCreatingRange:function(te){return te},endCreating:function(te,J){J.remove(J.childAt(0)),J.add(new y.Polygon({name:"main",draggable:!0,drift:i(ge,te,J),ondragend:i(H,te,{isEnd:!0})}))},updateCoverShape:function(te,J,ve,De){J.childAt(0).setShape({points:Re(te,J,ve)})},updateCommon:K,contain:at}};function Ie(te){return{createCover:function(J,ve){return B(i(Ae,function(De){var ze=[De,[0,100]];return te&&ze.reverse(),ze},function(De){return De[te]}),J,ve,[["w","e"],["n","s"]][te])},getCreatingRange:function(J){var ve=k(J),De=o(ve[0][te],ve[1][te]),ze=d(ve[0][te],ve[1][te]);return[De,ze]},updateCoverShape:function(J,ve,De,ze){var dt,Me=W(J,ve);if(Me!==!0&&Me.getLinearBrushOtherExtent)dt=Me.getLinearBrushOtherExtent(te,J._transform);else{var Tt=J._zr;dt=[0,[Tt.getWidth(),Tt.getHeight()][1-te]]}var je=[De,dt];te&&je.reverse(),V(J,ve,je,ze)},updateCommon:K,contain:at}}var fe=x;R.exports=fe},"/MfK":function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="DeleteOutlined";var h=I.a=g.forwardRef(y)},"/POA":function(R,I,e){!function(g,f){if(!0)R.exports=f();else var b,m}(window,function(){return function(g){var f={};function b(m){if(f[m])return f[m].exports;var y=f[m]={i:m,l:!1,exports:{}};return g[m].call(y.exports,y,y.exports,b),y.l=!0,y.exports}return b.m=g,b.c=f,b.d=function(m,y,h){b.o(m,y)||Object.defineProperty(m,y,{enumerable:!0,get:h})},b.r=function(m){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},b.t=function(m,y){if(1&y&&(m=b(m)),8&y)return m;if(4&y&&typeof m=="object"&&m&&m.__esModule)return m;var h=Object.create(null);if(b.r(h),Object.defineProperty(h,"default",{enumerable:!0,value:m}),2&y&&typeof m!="string")for(var u in m)b.d(h,u,function(i){return m[i]}.bind(null,u));return h},b.n=function(m){var y=m&&m.__esModule?function(){return m.default}:function(){return m};return b.d(y,"a",y),y},b.o=function(m,y){return Object.prototype.hasOwnProperty.call(m,y)},b.p="",b(b.s=34)}([function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.forwardEvent=f.EventEmitter=void 0;var m=function(){function y(){this._listeners=[],this._disposed=!1}return Object.defineProperty(y.prototype,"event",{get:function(){var u=this;return this._event||(this._event=function(i){return u._listeners.push(i),{dispose:function(){if(!u._disposed){for(var r=0;r<u._listeners.length;r++)if(u._listeners[r]===i)return void u._listeners.splice(r,1)}}}}),this._event},enumerable:!1,configurable:!0}),y.prototype.fire=function(h,u){for(var i=[],a=0;a<this._listeners.length;a++)i.push(this._listeners[a]);for(a=0;a<i.length;a++)i[a].call(void 0,h,u)},y.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},y}();f.EventEmitter=m,f.forwardEvent=function(y,h){return y(function(u){return h.fire(u)})}},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.IUnicodeService=f.IOptionsService=f.ILogService=f.IInstantiationService=f.IDirtyRowService=f.ICharsetService=f.ICoreService=f.ICoreMouseService=f.IBufferService=void 0;var m=b(14);f.IBufferService=m.createDecorator("BufferService"),f.ICoreMouseService=m.createDecorator("CoreMouseService"),f.ICoreService=m.createDecorator("CoreService"),f.ICharsetService=m.createDecorator("CharsetService"),f.IDirtyRowService=m.createDecorator("DirtyRowService"),f.IInstantiationService=m.createDecorator("InstantiationService"),f.ILogService=m.createDecorator("LogService"),f.IOptionsService=m.createDecorator("OptionsService"),f.IUnicodeService=m.createDecorator("UnicodeService")},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.getDisposeArrayDisposable=f.disposeArray=f.Disposable=void 0;var m=function(){function h(){this._disposables=[],this._isDisposed=!1}return h.prototype.dispose=function(){this._isDisposed=!0;for(var u=0,i=this._disposables;u<i.length;u++)i[u].dispose();this._disposables.length=0},h.prototype.register=function(u){return this._disposables.push(u),u},h.prototype.unregister=function(u){var i=this._disposables.indexOf(u);i!==-1&&this._disposables.splice(i,1)},h}();function y(h){for(var u=0,i=h;u<i.length;u++)i[u].dispose();h.length=0}f.Disposable=m,f.disposeArray=y,f.getDisposeArrayDisposable=function(h){return{dispose:function(){return y(h)}}}},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.WHITESPACE_CELL_CODE=f.WHITESPACE_CELL_WIDTH=f.WHITESPACE_CELL_CHAR=f.NULL_CELL_CODE=f.NULL_CELL_WIDTH=f.NULL_CELL_CHAR=f.CHAR_DATA_CODE_INDEX=f.CHAR_DATA_WIDTH_INDEX=f.CHAR_DATA_CHAR_INDEX=f.CHAR_DATA_ATTR_INDEX=f.DEFAULT_ATTR=f.DEFAULT_COLOR=void 0,f.DEFAULT_COLOR=256,f.DEFAULT_ATTR=256|f.DEFAULT_COLOR<<9,f.CHAR_DATA_ATTR_INDEX=0,f.CHAR_DATA_CHAR_INDEX=1,f.CHAR_DATA_WIDTH_INDEX=2,f.CHAR_DATA_CODE_INDEX=3,f.NULL_CELL_CHAR="",f.NULL_CELL_WIDTH=1,f.NULL_CELL_CODE=0,f.WHITESPACE_CELL_CHAR=" ",f.WHITESPACE_CELL_WIDTH=1,f.WHITESPACE_CELL_CODE=32},function(g,f,b){"use strict";var m,y=this&&this.__extends||(m=function(o,d){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,l){n.__proto__=l}||function(n,l){for(var t in l)l.hasOwnProperty(t)&&(n[t]=l[t])})(o,d)},function(r,o){function d(){this.constructor=r}m(r,o),r.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)});Object.defineProperty(f,"__esModule",{value:!0}),f.CellData=void 0;var h=b(8),u=b(3),i=b(6),a=function(r){function o(){var d=r!==null&&r.apply(this,arguments)||this;return d.content=0,d.fg=0,d.bg=0,d.extended=new i.ExtendedAttrs,d.combinedData="",d}return y(o,r),o.fromCharData=function(d){var n=new o;return n.setFromCharData(d),n},o.prototype.isCombined=function(){return 2097152&this.content},o.prototype.getWidth=function(){return this.content>>22},o.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?h.stringFromCodePoint(2097151&this.content):""},o.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},o.prototype.setFromCharData=function(d){this.fg=d[u.CHAR_DATA_ATTR_INDEX],this.bg=0;var n=!1;if(d[u.CHAR_DATA_CHAR_INDEX].length>2)n=!0;else if(d[u.CHAR_DATA_CHAR_INDEX].length===2){var l=d[u.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=l&&l<=56319){var t=d[u.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=t&&t<=57343?this.content=1024*(l-55296)+t-56320+65536|d[u.CHAR_DATA_WIDTH_INDEX]<<22:n=!0}else n=!0}else this.content=d[u.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|d[u.CHAR_DATA_WIDTH_INDEX]<<22;n&&(this.combinedData=d[u.CHAR_DATA_CHAR_INDEX],this.content=2097152|d[u.CHAR_DATA_WIDTH_INDEX]<<22)},o.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},o}(i.AttributeData);f.CellData=a},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ISoundService=f.ISelectionService=f.IRenderService=f.IMouseService=f.ICoreBrowserService=f.ICharSizeService=void 0;var m=b(14);f.ICharSizeService=m.createDecorator("CharSizeService"),f.ICoreBrowserService=m.createDecorator("CoreBrowserService"),f.IMouseService=m.createDecorator("MouseService"),f.IRenderService=m.createDecorator("RenderService"),f.ISelectionService=m.createDecorator("SelectionService"),f.ISoundService=m.createDecorator("SoundService")},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ExtendedAttrs=f.AttributeData=void 0;var m=function(){function h(){this.fg=0,this.bg=0,this.extended=new y}return h.toColorRGB=function(u){return[u>>>16&255,u>>>8&255,255&u]},h.fromColorRGB=function(u){return(255&u[0])<<16|(255&u[1])<<8|255&u[2]},h.prototype.clone=function(){var u=new h;return u.fg=this.fg,u.bg=this.bg,u.extended=this.extended.clone(),u},h.prototype.isInverse=function(){return 67108864&this.fg},h.prototype.isBold=function(){return 134217728&this.fg},h.prototype.isUnderline=function(){return 268435456&this.fg},h.prototype.isBlink=function(){return 536870912&this.fg},h.prototype.isInvisible=function(){return 1073741824&this.fg},h.prototype.isItalic=function(){return 67108864&this.bg},h.prototype.isDim=function(){return 134217728&this.bg},h.prototype.getFgColorMode=function(){return 50331648&this.fg},h.prototype.getBgColorMode=function(){return 50331648&this.bg},h.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},h.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},h.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},h.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},h.prototype.isFgDefault=function(){return(50331648&this.fg)==0},h.prototype.isBgDefault=function(){return(50331648&this.bg)==0},h.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},h.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},h.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},h.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},h.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},h.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},h.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},h.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},h.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},h.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},h.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},h}();f.AttributeData=m;var y=function(){function h(u,i){u===void 0&&(u=0),i===void 0&&(i=-1),this.underlineStyle=u,this.underlineColor=i}return h.prototype.clone=function(){return new h(this.underlineStyle,this.underlineColor)},h.prototype.isEmpty=function(){return this.underlineStyle===0},h}();f.ExtendedAttrs=y},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.addDisposableDomListener=void 0,f.addDisposableDomListener=function(m,y,h,u){m.addEventListener(y,h,u);var i=!1;return{dispose:function(){i||(i=!0,m.removeEventListener(y,h,u))}}}},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Utf8ToUtf32=f.StringToUtf32=f.utf32ToString=f.stringFromCodePoint=void 0,f.stringFromCodePoint=function(h){return h>65535?(h-=65536,String.fromCharCode(55296+(h>>10))+String.fromCharCode(h%1024+56320)):String.fromCharCode(h)},f.utf32ToString=function(h,u,i){u===void 0&&(u=0),i===void 0&&(i=h.length);for(var a="",r=u;r<i;++r){var o=h[r];o>65535?(o-=65536,a+=String.fromCharCode(55296+(o>>10))+String.fromCharCode(o%1024+56320)):a+=String.fromCharCode(o)}return a};var m=function(){function h(){this._interim=0}return h.prototype.clear=function(){this._interim=0},h.prototype.decode=function(u,i){var a=u.length;if(!a)return 0;var r=0,o=0;this._interim&&(56320<=(l=u.charCodeAt(o++))&&l<=57343?i[r++]=1024*(this._interim-55296)+l-56320+65536:(i[r++]=this._interim,i[r++]=l),this._interim=0);for(var d=o;d<a;++d){var n=u.charCodeAt(d);if(55296<=n&&n<=56319){if(++d>=a)return this._interim=n,r;var l;56320<=(l=u.charCodeAt(d))&&l<=57343?i[r++]=1024*(n-55296)+l-56320+65536:(i[r++]=n,i[r++]=l)}else i[r++]=n}return r},h}();f.StringToUtf32=m;var y=function(){function h(){this.interim=new Uint8Array(3)}return h.prototype.clear=function(){this.interim.fill(0)},h.prototype.decode=function(u,i){var a=u.length;if(!a)return 0;var r,o,d,n,l=0,t=0,s=0;if(this.interim[0]){var c=!1,p=this.interim[0];p&=(224&p)==192?31:(240&p)==224?15:7;for(var A=0,w=void 0;(w=63&this.interim[++A])&&A<4;)p<<=6,p|=w;for(var C=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,x=C-A;s<x;){if(s>=a)return 0;if((192&(w=u[s++]))!=128){s--,c=!0;break}this.interim[A++]=w,p<<=6,p|=63&w}c||(C===2?p<128?s--:i[l++]=p:C===3?p<2048||p>=55296&&p<=57343||(i[l++]=p):p<65536||p>1114111||(i[l++]=p)),this.interim.fill(0)}for(var E=a-4,T=s;T<a;){for(;!(!(T<E)||128&(r=u[T])||128&(o=u[T+1])||128&(d=u[T+2])||128&(n=u[T+3]));)i[l++]=r,i[l++]=o,i[l++]=d,i[l++]=n,T+=4;if((r=u[T++])<128)i[l++]=r;else if((224&r)==192){if(T>=a)return this.interim[0]=r,l;if((192&(o=u[T++]))!=128){T--;continue}if((t=(31&r)<<6|63&o)<128){T--;continue}i[l++]=t}else if((240&r)==224){if(T>=a)return this.interim[0]=r,l;if((192&(o=u[T++]))!=128){T--;continue}if(T>=a)return this.interim[0]=r,this.interim[1]=o,l;if((192&(d=u[T++]))!=128){T--;continue}if((t=(15&r)<<12|(63&o)<<6|63&d)<2048||t>=55296&&t<=57343)continue;i[l++]=t}else if((248&r)==240){if(T>=a)return this.interim[0]=r,l;if((192&(o=u[T++]))!=128){T--;continue}if(T>=a)return this.interim[0]=r,this.interim[1]=o,l;if((192&(d=u[T++]))!=128){T--;continue}if(T>=a)return this.interim[0]=r,this.interim[1]=o,this.interim[2]=d,l;if((192&(n=u[T++]))!=128){T--;continue}if((t=(7&r)<<18|(63&o)<<12|(63&d)<<6|63&n)<65536||t>1114111)continue;i[l++]=t}}return l},h}();f.Utf8ToUtf32=y},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CHAR_ATLAS_CELL_SPACING=f.DIM_OPACITY=f.INVERTED_DEFAULT_COLOR=void 0,f.INVERTED_DEFAULT_COLOR=257,f.DIM_OPACITY=.5,f.CHAR_ATLAS_CELL_SPACING=1},function(g,f,b){"use strict";var m,y,h,u;function i(r){var o=r.toString(16);return o.length<2?"0"+o:o}function a(r,o){return r<o?(o+.05)/(r+.05):(r+.05)/(o+.05)}Object.defineProperty(f,"__esModule",{value:!0}),f.contrastRatio=f.toPaddedHex=f.rgba=f.rgb=f.css=f.color=f.channels=void 0,function(r){r.toCss=function(o,d,n,l){return l!==void 0?"#"+i(o)+i(d)+i(n)+i(l):"#"+i(o)+i(d)+i(n)},r.toRgba=function(o,d,n,l){return l===void 0&&(l=255),(o<<24|d<<16|n<<8|l)>>>0}}(m=f.channels||(f.channels={})),(y=f.color||(f.color={})).blend=function(r,o){var d=(255&o.rgba)/255;if(d===1)return{css:o.css,rgba:o.rgba};var n=o.rgba>>24&255,l=o.rgba>>16&255,t=o.rgba>>8&255,s=r.rgba>>24&255,c=r.rgba>>16&255,p=r.rgba>>8&255,A=s+Math.round((n-s)*d),w=c+Math.round((l-c)*d),C=p+Math.round((t-p)*d);return{css:m.toCss(A,w,C),rgba:m.toRgba(A,w,C)}},y.isOpaque=function(r){return(255&r.rgba)==255},y.ensureContrastRatio=function(r,o,d){var n=u.ensureContrastRatio(r.rgba,o.rgba,d);if(n)return u.toColor(n>>24&255,n>>16&255,n>>8&255)},y.opaque=function(r){var o=(255|r.rgba)>>>0,d=u.toChannels(o),n=d[0],l=d[1],t=d[2];return{css:m.toCss(n,l,t),rgba:o}},y.opacity=function(r,o){var d=Math.round(255*o),n=u.toChannels(r.rgba),l=n[0],t=n[1],s=n[2];return{css:m.toCss(l,t,s,d),rgba:m.toRgba(l,t,s,d)}},(f.css||(f.css={})).toColor=function(r){switch(r.length){case 7:return{css:r,rgba:(parseInt(r.slice(1),16)<<8|255)>>>0};case 9:return{css:r,rgba:parseInt(r.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(r){function o(d,n,l){var t=d/255,s=n/255,c=l/255;return .2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4))+.0722*(c<=.03928?c/12.92:Math.pow((c+.055)/1.055,2.4))}r.relativeLuminance=function(d){return o(d>>16&255,d>>8&255,255&d)},r.relativeLuminance2=o}(h=f.rgb||(f.rgb={})),function(r){function o(n,l,t){for(var s=n>>24&255,c=n>>16&255,p=n>>8&255,A=l>>24&255,w=l>>16&255,C=l>>8&255,x=a(h.relativeLuminance2(A,C,w),h.relativeLuminance2(s,c,p));x<t&&(A>0||w>0||C>0);)A-=Math.max(0,Math.ceil(.1*A)),w-=Math.max(0,Math.ceil(.1*w)),C-=Math.max(0,Math.ceil(.1*C)),x=a(h.relativeLuminance2(A,C,w),h.relativeLuminance2(s,c,p));return(A<<24|w<<16|C<<8|255)>>>0}function d(n,l,t){for(var s=n>>24&255,c=n>>16&255,p=n>>8&255,A=l>>24&255,w=l>>16&255,C=l>>8&255,x=a(h.relativeLuminance2(A,C,w),h.relativeLuminance2(s,c,p));x<t&&(A<255||w<255||C<255);)A=Math.min(255,A+Math.ceil(.1*(255-A))),w=Math.min(255,w+Math.ceil(.1*(255-w))),C=Math.min(255,C+Math.ceil(.1*(255-C))),x=a(h.relativeLuminance2(A,C,w),h.relativeLuminance2(s,c,p));return(A<<24|w<<16|C<<8|255)>>>0}r.ensureContrastRatio=function(n,l,t){var s=h.relativeLuminance(n>>8),c=h.relativeLuminance(l>>8);if(a(s,c)<t)return c<s?o(n,l,t):d(n,l,t)},r.reduceLuminance=o,r.increaseLuminance=d,r.toChannels=function(n){return[n>>24&255,n>>16&255,n>>8&255,255&n]},r.toColor=function(n,l,t){return{css:m.toCss(n,l,t),rgba:m.toRgba(n,l,t)}}}(u=f.rgba||(f.rgba={})),f.toPaddedHex=i,f.contrastRatio=a},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.isLinux=f.isWindows=f.isIphone=f.isIpad=f.isMac=f.isSafari=f.isFirefox=void 0;var m=typeof navigator=="undefined",y=m?"node":navigator.userAgent,h=m?"node":navigator.platform;function u(i,a){return i.indexOf(a)>=0}f.isFirefox=!!~y.indexOf("Firefox"),f.isSafari=/^((?!chrome|android).)*safari/i.test(y),f.isMac=u(["Macintosh","MacIntel","MacPPC","Mac68K"],h),f.isIpad=h==="iPad",f.isIphone=h==="iPhone",f.isWindows=u(["Windows","Win16","Win32","WinCE"],h),f.isLinux=h.indexOf("Linux")>=0},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.C1=f.C0=void 0,function(m){m.NUL="\0",m.SOH="",m.STX="",m.ETX="",m.EOT="",m.ENQ="",m.ACK="",m.BEL="\x07",m.BS="\b",m.HT=" ",m.LF=`
`,m.VT="\v",m.FF="\f",m.CR="\r",m.SO="",m.SI="",m.DLE="",m.DC1="",m.DC2="",m.DC3="",m.DC4="",m.NAK="",m.SYN="",m.ETB="",m.CAN="",m.EM="",m.SUB="",m.ESC="",m.FS="",m.GS="",m.RS="",m.US="",m.SP=" ",m.DEL="\x7F"}(f.C0||(f.C0={})),function(m){m.PAD="\x80",m.HOP="\x81",m.BPH="\x82",m.NBH="\x83",m.IND="\x84",m.NEL="\x85",m.SSA="\x86",m.ESA="\x87",m.HTS="\x88",m.HTJ="\x89",m.VTS="\x8A",m.PLD="\x8B",m.PLU="\x8C",m.RI="\x8D",m.SS2="\x8E",m.SS3="\x8F",m.DCS="\x90",m.PU1="\x91",m.PU2="\x92",m.STS="\x93",m.CCH="\x94",m.MW="\x95",m.SPA="\x96",m.EPA="\x97",m.SOS="\x98",m.SGCI="\x99",m.SCI="\x9A",m.CSI="\x9B",m.ST="\x9C",m.OSC="\x9D",m.PM="\x9E",m.APC="\x9F"}(f.C1||(f.C1={}))},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BaseRenderLayer=void 0;var m=b(3),y=b(9),h=b(25),u=b(6),i=b(28),a=b(10),r=b(17),o=function(){function d(n,l,t,s,c,p,A,w){this._container=n,this._alpha=s,this._colors=c,this._rendererId=p,this._bufferService=A,this._optionsService=w,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+l+"-layer"),this._canvas.style.zIndex=t.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return d.prototype.dispose=function(){var n;r.removeElementFromParent(this._canvas),(n=this._charAtlas)===null||n===void 0||n.dispose()},d.prototype._initCanvas=function(){this._ctx=i.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},d.prototype.onOptionsChanged=function(){},d.prototype.onBlur=function(){},d.prototype.onFocus=function(){},d.prototype.onCursorMove=function(){},d.prototype.onGridChanged=function(n,l){},d.prototype.onSelectionChanged=function(n,l,t){t===void 0&&(t=!1)},d.prototype.setColors=function(n){this._refreshCharAtlas(n)},d.prototype._setTransparency=function(n){if(n!==this._alpha){var l=this._canvas;this._alpha=n,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,l),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},d.prototype._refreshCharAtlas=function(n){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=h.acquireCharAtlas(this._optionsService.options,this._rendererId,n,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},d.prototype.resize=function(n){this._scaledCellWidth=n.scaledCellWidth,this._scaledCellHeight=n.scaledCellHeight,this._scaledCharWidth=n.scaledCharWidth,this._scaledCharHeight=n.scaledCharHeight,this._scaledCharLeft=n.scaledCharLeft,this._scaledCharTop=n.scaledCharTop,this._canvas.width=n.scaledCanvasWidth,this._canvas.height=n.scaledCanvasHeight,this._canvas.style.width=n.canvasWidth+"px",this._canvas.style.height=n.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},d.prototype._fillCells=function(n,l,t,s){this._ctx.fillRect(n*this._scaledCellWidth,l*this._scaledCellHeight,t*this._scaledCellWidth,s*this._scaledCellHeight)},d.prototype._fillBottomLineAtCells=function(n,l,t){t===void 0&&(t=1),this._ctx.fillRect(n*this._scaledCellWidth,(l+1)*this._scaledCellHeight-window.devicePixelRatio-1,t*this._scaledCellWidth,window.devicePixelRatio)},d.prototype._fillLeftLineAtCell=function(n,l,t){this._ctx.fillRect(n*this._scaledCellWidth,l*this._scaledCellHeight,window.devicePixelRatio*t,this._scaledCellHeight)},d.prototype._strokeRectAtCell=function(n,l,t,s){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(n*this._scaledCellWidth+window.devicePixelRatio/2,l*this._scaledCellHeight+window.devicePixelRatio/2,t*this._scaledCellWidth-window.devicePixelRatio,s*this._scaledCellHeight-window.devicePixelRatio)},d.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},d.prototype._clearCells=function(n,l,t,s){this._alpha?this._ctx.clearRect(n*this._scaledCellWidth,l*this._scaledCellHeight,t*this._scaledCellWidth,s*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(n*this._scaledCellWidth,l*this._scaledCellHeight,t*this._scaledCellWidth,s*this._scaledCellHeight))},d.prototype._fillCharTrueColor=function(n,l,t){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(t),this._ctx.fillText(n.getChars(),l*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},d.prototype._drawChars=function(n,l,t){var s,c,p=this._getContrastColor(n);p||n.isFgRGB()||n.isBgRGB()?this._drawUncachedChars(n,l,t,p):(n.isInverse()?(s=n.isBgDefault()?y.INVERTED_DEFAULT_COLOR:n.getBgColor(),c=n.isFgDefault()?y.INVERTED_DEFAULT_COLOR:n.getFgColor()):(c=n.isBgDefault()?m.DEFAULT_COLOR:n.getBgColor(),s=n.isFgDefault()?m.DEFAULT_COLOR:n.getFgColor()),s+=this._optionsService.options.drawBoldTextInBrightColors&&n.isBold()&&s<8?8:0,this._currentGlyphIdentifier.chars=n.getChars()||m.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=n.getCode()||m.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=c,this._currentGlyphIdentifier.fg=s,this._currentGlyphIdentifier.bold=!!n.isBold(),this._currentGlyphIdentifier.dim=!!n.isDim(),this._currentGlyphIdentifier.italic=!!n.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,l*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(n,l,t))},d.prototype._drawUncachedChars=function(n,l,t,s){if(this._ctx.save(),this._ctx.font=this._getFont(!!n.isBold(),!!n.isItalic()),this._ctx.textBaseline="middle",n.isInverse())if(s)this._ctx.fillStyle=s.css;else if(n.isBgDefault())this._ctx.fillStyle=a.color.opaque(this._colors.background).css;else if(n.isBgRGB())this._ctx.fillStyle="rgb("+u.AttributeData.toColorRGB(n.getBgColor()).join(",")+")";else{var c=n.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&n.isBold()&&c<8&&(c+=8),this._ctx.fillStyle=this._colors.ansi[c].css}else if(s)this._ctx.fillStyle=s.css;else if(n.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(n.isFgRGB())this._ctx.fillStyle="rgb("+u.AttributeData.toColorRGB(n.getFgColor()).join(",")+")";else{var p=n.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&n.isBold()&&p<8&&(p+=8),this._ctx.fillStyle=this._colors.ansi[p].css}this._clipRow(t),n.isDim()&&(this._ctx.globalAlpha=y.DIM_OPACITY),this._ctx.fillText(n.getChars(),l*this._scaledCellWidth+this._scaledCharLeft,t*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},d.prototype._clipRow=function(n){this._ctx.beginPath(),this._ctx.rect(0,n*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},d.prototype._getFont=function(n,l){return(l?"italic":"")+" "+(n?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},d.prototype._getContrastColor=function(n){if(this._optionsService.options.minimumContrastRatio!==1){var l=this._colors.contrastCache.getColor(n.bg,n.fg);if(l!==void 0)return l||void 0;var t=n.getFgColor(),s=n.getFgColorMode(),c=n.getBgColor(),p=n.getBgColorMode(),A=!!n.isInverse(),w=!!n.isInverse();if(A){var C=t;t=c,c=C;var x=s;s=p,p=x}var E=this._resolveBackgroundRgba(p,c,A),T=this._resolveForegroundRgba(s,t,A,w),_=a.rgba.ensureContrastRatio(E,T,this._optionsService.options.minimumContrastRatio);if(_){var v={css:a.channels.toCss(_>>24&255,_>>16&255,_>>8&255),rgba:_};return this._colors.contrastCache.setColor(n.bg,n.fg,v),v}this._colors.contrastCache.setColor(n.bg,n.fg,null)}},d.prototype._resolveBackgroundRgba=function(n,l,t){switch(n){case 16777216:case 33554432:return this._colors.ansi[l].rgba;case 50331648:return l<<8;case 0:default:return t?this._colors.foreground.rgba:this._colors.background.rgba}},d.prototype._resolveForegroundRgba=function(n,l,t,s){switch(n){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&s&&l<8&&(l+=8),this._colors.ansi[l].rgba;case 50331648:return l<<8;case 0:default:return t?this._colors.background.rgba:this._colors.foreground.rgba}},d}();f.BaseRenderLayer=o},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.createDecorator=f.getServiceDependencies=f.serviceRegistry=void 0;function m(y,h,u){h.di$target===h?h.di$dependencies.push({id:y,index:u}):(h.di$dependencies=[{id:y,index:u}],h.di$target=h)}f.serviceRegistry=new Map,f.getServiceDependencies=function(y){return y.di$dependencies||[]},f.createDecorator=function(y){if(f.serviceRegistry.has(y))return f.serviceRegistry.get(y);var h=function u(i,a,r){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");m(u,i,r)};return h.toString=function(){return y},f.serviceRegistry.set(y,h),h}},function(g,f,b){"use strict";function m(y,h,u,i){if(u===void 0&&(u=0),i===void 0&&(i=y.length),u>=y.length)return y;u=(y.length+u)%y.length,i=i>=y.length?y.length:(y.length+i)%y.length;for(var a=u;a<i;++a)y[a]=h;return y}Object.defineProperty(f,"__esModule",{value:!0}),f.concat=f.fillFallback=f.fill=void 0,f.fill=function(y,h,u,i){return y.fill?y.fill(h,u,i):m(y,h,u,i)},f.fillFallback=m,f.concat=function(y,h){var u=new y.constructor(y.length+h.length);return u.set(y),u.set(h,y.length),u}},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BufferLine=f.DEFAULT_ATTR_DATA=void 0;var m=b(8),y=b(3),h=b(4),u=b(6);f.DEFAULT_ATTR_DATA=Object.freeze(new u.AttributeData);var i=function(){function a(r,o,d){d===void 0&&(d=!1),this.isWrapped=d,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*r);for(var n=o||h.CellData.fromCharData([0,y.NULL_CELL_CHAR,y.NULL_CELL_WIDTH,y.NULL_CELL_CODE]),l=0;l<r;++l)this.setCell(l,n);this.length=r}return a.prototype.get=function(r){var o=this._data[3*r+0],d=2097151&o;return[this._data[3*r+1],2097152&o?this._combined[r]:d?m.stringFromCodePoint(d):"",o>>22,2097152&o?this._combined[r].charCodeAt(this._combined[r].length-1):d]},a.prototype.set=function(r,o){this._data[3*r+1]=o[y.CHAR_DATA_ATTR_INDEX],o[y.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[r]=o[1],this._data[3*r+0]=2097152|r|o[y.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*r+0]=o[y.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|o[y.CHAR_DATA_WIDTH_INDEX]<<22},a.prototype.getWidth=function(r){return this._data[3*r+0]>>22},a.prototype.hasWidth=function(r){return 12582912&this._data[3*r+0]},a.prototype.getFg=function(r){return this._data[3*r+1]},a.prototype.getBg=function(r){return this._data[3*r+2]},a.prototype.hasContent=function(r){return 4194303&this._data[3*r+0]},a.prototype.getCodePoint=function(r){var o=this._data[3*r+0];return 2097152&o?this._combined[r].charCodeAt(this._combined[r].length-1):2097151&o},a.prototype.isCombined=function(r){return 2097152&this._data[3*r+0]},a.prototype.getString=function(r){var o=this._data[3*r+0];return 2097152&o?this._combined[r]:2097151&o?m.stringFromCodePoint(2097151&o):""},a.prototype.loadCell=function(r,o){var d=3*r;return o.content=this._data[d+0],o.fg=this._data[d+1],o.bg=this._data[d+2],2097152&o.content&&(o.combinedData=this._combined[r]),268435456&o.bg&&(o.extended=this._extendedAttrs[r]),o},a.prototype.setCell=function(r,o){2097152&o.content&&(this._combined[r]=o.combinedData),268435456&o.bg&&(this._extendedAttrs[r]=o.extended),this._data[3*r+0]=o.content,this._data[3*r+1]=o.fg,this._data[3*r+2]=o.bg},a.prototype.setCellFromCodePoint=function(r,o,d,n,l,t){268435456&l&&(this._extendedAttrs[r]=t),this._data[3*r+0]=o|d<<22,this._data[3*r+1]=n,this._data[3*r+2]=l},a.prototype.addCodepointToCell=function(r,o){var d=this._data[3*r+0];2097152&d?this._combined[r]+=m.stringFromCodePoint(o):(2097151&d?(this._combined[r]=m.stringFromCodePoint(2097151&d)+m.stringFromCodePoint(o),d&=-2097152,d|=2097152):d=o|1<<22,this._data[3*r+0]=d)},a.prototype.insertCells=function(r,o,d,n){if((r%=this.length)&&this.getWidth(r-1)===2&&this.setCellFromCodePoint(r-1,0,1,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new u.ExtendedAttrs),o<this.length-r){for(var l=new h.CellData,t=this.length-r-o-1;t>=0;--t)this.setCell(r+o+t,this.loadCell(r+t,l));for(t=0;t<o;++t)this.setCell(r+t,d)}else for(t=r;t<this.length;++t)this.setCell(t,d);this.getWidth(this.length-1)===2&&this.setCellFromCodePoint(this.length-1,0,1,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new u.ExtendedAttrs)},a.prototype.deleteCells=function(r,o,d,n){if(r%=this.length,o<this.length-r){for(var l=new h.CellData,t=0;t<this.length-r-o;++t)this.setCell(r+t,this.loadCell(r+o+t,l));for(t=this.length-o;t<this.length;++t)this.setCell(t,d)}else for(t=r;t<this.length;++t)this.setCell(t,d);r&&this.getWidth(r-1)===2&&this.setCellFromCodePoint(r-1,0,1,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new u.ExtendedAttrs),this.getWidth(r)!==0||this.hasContent(r)||this.setCellFromCodePoint(r,0,1,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new u.ExtendedAttrs)},a.prototype.replaceCells=function(r,o,d,n){for(r&&this.getWidth(r-1)===2&&this.setCellFromCodePoint(r-1,0,1,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new u.ExtendedAttrs),o<this.length&&this.getWidth(o-1)===2&&this.setCellFromCodePoint(o,0,1,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new u.ExtendedAttrs);r<o&&r<this.length;)this.setCell(r++,d)},a.prototype.resize=function(r,o){if(r!==this.length){if(r>this.length){var d=new Uint32Array(3*r);this.length&&(3*r<this._data.length?d.set(this._data.subarray(0,3*r)):d.set(this._data)),this._data=d;for(var n=this.length;n<r;++n)this.setCell(n,o)}else if(r){(d=new Uint32Array(3*r)).set(this._data.subarray(0,3*r)),this._data=d;var l=Object.keys(this._combined);for(n=0;n<l.length;n++){var t=parseInt(l[n],10);t>=r&&delete this._combined[t]}}else this._data=new Uint32Array(0),this._combined={};this.length=r}},a.prototype.fill=function(r){this._combined={},this._extendedAttrs={};for(var o=0;o<this.length;++o)this.setCell(o,r)},a.prototype.copyFrom=function(r){for(var o in this.length!==r.length?this._data=new Uint32Array(r._data):this._data.set(r._data),this.length=r.length,this._combined={},r._combined)this._combined[o]=r._combined[o];for(var o in this._extendedAttrs={},r._extendedAttrs)this._extendedAttrs[o]=r._extendedAttrs[o];this.isWrapped=r.isWrapped},a.prototype.clone=function(){var r=new a(0);for(var o in r._data=new Uint32Array(this._data),r.length=this.length,this._combined)r._combined[o]=this._combined[o];for(var o in this._extendedAttrs)r._extendedAttrs[o]=this._extendedAttrs[o];return r.isWrapped=this.isWrapped,r},a.prototype.getTrimmedLength=function(){for(var r=this.length-1;r>=0;--r)if(4194303&this._data[3*r+0])return r+(this._data[3*r+0]>>22);return 0},a.prototype.copyCellsFrom=function(r,o,d,n,l){var t=r._data;if(l)for(var s=n-1;s>=0;s--)for(var c=0;c<3;c++)this._data[3*(d+s)+c]=t[3*(o+s)+c];else for(s=0;s<n;s++)for(c=0;c<3;c++)this._data[3*(d+s)+c]=t[3*(o+s)+c];var p=Object.keys(r._combined);for(c=0;c<p.length;c++){var A=parseInt(p[c],10);A>=o&&(this._combined[A-o+d]=r._combined[A])}},a.prototype.translateToString=function(r,o,d){r===void 0&&(r=!1),o===void 0&&(o=0),d===void 0&&(d=this.length),r&&(d=Math.min(d,this.getTrimmedLength()));for(var n="";o<d;){var l=this._data[3*o+0],t=2097151&l;n+=2097152&l?this._combined[o]:t?m.stringFromCodePoint(t):y.WHITESPACE_CELL_CHAR,o+=l>>22||1}return n},a}();f.BufferLine=i},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.removeElementFromParent=void 0,f.removeElementFromParent=function(){for(var m,y=[],h=0;h<arguments.length;h++)y[h]=arguments[h];for(var u=0,i=y;u<i.length;u++){var a=i[u];(m=a==null?void 0:a.parentElement)===null||m===void 0||m.removeChild(a)}}},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.tooMuchOutput=f.promptLabel=void 0,f.promptLabel="Terminal input",f.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(g,f,b){"use strict";var m,y=this&&this.__extends||(m=function(_,v){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,O){S.__proto__=O}||function(S,O){for(var L in O)O.hasOwnProperty(L)&&(S[L]=O[L])})(_,v)},function(T,_){function v(){this.constructor=T}m(T,_),T.prototype=_===null?Object.create(_):(v.prototype=_.prototype,new v)});Object.defineProperty(f,"__esModule",{value:!0}),f.InputHandler=f.WindowsOptionsReportType=void 0;var h,u=b(12),i=b(20),a=b(39),r=b(2),o=b(15),d=b(8),n=b(16),l=b(0),t=b(3),s=b(4),c=b(6),p=b(22),A=b(24),w={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function C(T,_){if(T>24)return _.setWinLines||!1;switch(T){case 1:return!!_.restoreWin;case 2:return!!_.minimizeWin;case 3:return!!_.setWinPosition;case 4:return!!_.setWinSizePixels;case 5:return!!_.raiseWin;case 6:return!!_.lowerWin;case 7:return!!_.refreshWin;case 8:return!!_.setWinSizeChars;case 9:return!!_.maximizeWin;case 10:return!!_.fullscreenWin;case 11:return!!_.getWinState;case 13:return!!_.getWinPosition;case 14:return!!_.getWinSizePixels;case 15:return!!_.getScreenSizePixels;case 16:return!!_.getCellSizePixels;case 18:return!!_.getWinSizeChars;case 19:return!!_.getScreenSizeChars;case 20:return!!_.getIconTitle;case 21:return!!_.getWinTitle;case 22:return!!_.pushTitle;case 23:return!!_.popTitle;case 24:return!!_.setWinLines}return!1}!function(T){T[T.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",T[T.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(h=f.WindowsOptionsReportType||(f.WindowsOptionsReportType={}));var x=function(){function T(_,v,S,O){this._bufferService=_,this._coreService=v,this._logService=S,this._optionsService=O,this._data=new Uint32Array(0)}return T.prototype.hook=function(_){this._data=new Uint32Array(0)},T.prototype.put=function(_,v,S){this._data=o.concat(this._data,_.subarray(v,S))},T.prototype.unhook=function(_){if(_){var v=d.utf32ToString(this._data);switch(this._data=new Uint32Array(0),v){case'"q':return this._coreService.triggerDataEvent(u.C0.ESC+'P1$r0"q'+u.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(u.C0.ESC+'P1$r61;1"p'+u.C0.ESC+"\\");case"r":var S=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(u.C0.ESC+"P1$r"+S+u.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(u.C0.ESC+"P1$r0m"+u.C0.ESC+"\\");case" q":var O={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return O-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(u.C0.ESC+"P1$r"+O+" q"+u.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",v),this._coreService.triggerDataEvent(u.C0.ESC+"P0$r"+u.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},T}(),E=function(T){function _(v,S,O,L,M,F,U,z,W){W===void 0&&(W=new a.EscapeSequenceParser);var N=T.call(this)||this;N._bufferService=v,N._charsetService=S,N._coreService=O,N._dirtyRowService=L,N._logService=M,N._optionsService=F,N._coreMouseService=U,N._unicodeService=z,N._parser=W,N._parseBuffer=new Uint32Array(4096),N._stringDecoder=new d.StringToUtf32,N._utf8Decoder=new d.Utf8ToUtf32,N._workCell=new s.CellData,N._windowTitle="",N._iconName="",N._windowTitleStack=[],N._iconNameStack=[],N._curAttrData=n.DEFAULT_ATTR_DATA.clone(),N._eraseAttrDataInternal=n.DEFAULT_ATTR_DATA.clone(),N._onRequestBell=new l.EventEmitter,N._onRequestRefreshRows=new l.EventEmitter,N._onRequestReset=new l.EventEmitter,N._onRequestScroll=new l.EventEmitter,N._onRequestSyncScrollBar=new l.EventEmitter,N._onRequestWindowsOptionsReport=new l.EventEmitter,N._onA11yChar=new l.EventEmitter,N._onA11yTab=new l.EventEmitter,N._onCursorMove=new l.EventEmitter,N._onLineFeed=new l.EventEmitter,N._onScroll=new l.EventEmitter,N._onTitleChange=new l.EventEmitter,N.register(N._parser),N._parser.setCsiHandlerFallback(function(B,V){N._logService.debug("Unknown CSI code: ",{identifier:N._parser.identToString(B),params:V.toArray()})}),N._parser.setEscHandlerFallback(function(B){N._logService.debug("Unknown ESC code: ",{identifier:N._parser.identToString(B)})}),N._parser.setExecuteHandlerFallback(function(B){N._logService.debug("Unknown EXECUTE code: ",{code:B})}),N._parser.setOscHandlerFallback(function(B,V,K){N._logService.debug("Unknown OSC code: ",{identifier:B,action:V,data:K})}),N._parser.setDcsHandlerFallback(function(B,V,K){V==="HOOK"&&(K=K.toArray()),N._logService.debug("Unknown DCS code: ",{identifier:N._parser.identToString(B),action:V,payload:K})}),N._parser.setPrintHandler(function(B,V,K){return N.print(B,V,K)}),N._parser.setCsiHandler({final:"@"},function(B){return N.insertChars(B)}),N._parser.setCsiHandler({intermediates:" ",final:"@"},function(B){return N.scrollLeft(B)}),N._parser.setCsiHandler({final:"A"},function(B){return N.cursorUp(B)}),N._parser.setCsiHandler({intermediates:" ",final:"A"},function(B){return N.scrollRight(B)}),N._parser.setCsiHandler({final:"B"},function(B){return N.cursorDown(B)}),N._parser.setCsiHandler({final:"C"},function(B){return N.cursorForward(B)}),N._parser.setCsiHandler({final:"D"},function(B){return N.cursorBackward(B)}),N._parser.setCsiHandler({final:"E"},function(B){return N.cursorNextLine(B)}),N._parser.setCsiHandler({final:"F"},function(B){return N.cursorPrecedingLine(B)}),N._parser.setCsiHandler({final:"G"},function(B){return N.cursorCharAbsolute(B)}),N._parser.setCsiHandler({final:"H"},function(B){return N.cursorPosition(B)}),N._parser.setCsiHandler({final:"I"},function(B){return N.cursorForwardTab(B)}),N._parser.setCsiHandler({final:"J"},function(B){return N.eraseInDisplay(B)}),N._parser.setCsiHandler({prefix:"?",final:"J"},function(B){return N.eraseInDisplay(B)}),N._parser.setCsiHandler({final:"K"},function(B){return N.eraseInLine(B)}),N._parser.setCsiHandler({prefix:"?",final:"K"},function(B){return N.eraseInLine(B)}),N._parser.setCsiHandler({final:"L"},function(B){return N.insertLines(B)}),N._parser.setCsiHandler({final:"M"},function(B){return N.deleteLines(B)}),N._parser.setCsiHandler({final:"P"},function(B){return N.deleteChars(B)}),N._parser.setCsiHandler({final:"S"},function(B){return N.scrollUp(B)}),N._parser.setCsiHandler({final:"T"},function(B){return N.scrollDown(B)}),N._parser.setCsiHandler({final:"X"},function(B){return N.eraseChars(B)}),N._parser.setCsiHandler({final:"Z"},function(B){return N.cursorBackwardTab(B)}),N._parser.setCsiHandler({final:"`"},function(B){return N.charPosAbsolute(B)}),N._parser.setCsiHandler({final:"a"},function(B){return N.hPositionRelative(B)}),N._parser.setCsiHandler({final:"b"},function(B){return N.repeatPrecedingCharacter(B)}),N._parser.setCsiHandler({final:"c"},function(B){return N.sendDeviceAttributesPrimary(B)}),N._parser.setCsiHandler({prefix:">",final:"c"},function(B){return N.sendDeviceAttributesSecondary(B)}),N._parser.setCsiHandler({final:"d"},function(B){return N.linePosAbsolute(B)}),N._parser.setCsiHandler({final:"e"},function(B){return N.vPositionRelative(B)}),N._parser.setCsiHandler({final:"f"},function(B){return N.hVPosition(B)}),N._parser.setCsiHandler({final:"g"},function(B){return N.tabClear(B)}),N._parser.setCsiHandler({final:"h"},function(B){return N.setMode(B)}),N._parser.setCsiHandler({prefix:"?",final:"h"},function(B){return N.setModePrivate(B)}),N._parser.setCsiHandler({final:"l"},function(B){return N.resetMode(B)}),N._parser.setCsiHandler({prefix:"?",final:"l"},function(B){return N.resetModePrivate(B)}),N._parser.setCsiHandler({final:"m"},function(B){return N.charAttributes(B)}),N._parser.setCsiHandler({final:"n"},function(B){return N.deviceStatus(B)}),N._parser.setCsiHandler({prefix:"?",final:"n"},function(B){return N.deviceStatusPrivate(B)}),N._parser.setCsiHandler({intermediates:"!",final:"p"},function(B){return N.softReset(B)}),N._parser.setCsiHandler({intermediates:" ",final:"q"},function(B){return N.setCursorStyle(B)}),N._parser.setCsiHandler({final:"r"},function(B){return N.setScrollRegion(B)}),N._parser.setCsiHandler({final:"s"},function(B){return N.saveCursor(B)}),N._parser.setCsiHandler({final:"t"},function(B){return N.windowOptions(B)}),N._parser.setCsiHandler({final:"u"},function(B){return N.restoreCursor(B)}),N._parser.setCsiHandler({intermediates:"'",final:"}"},function(B){return N.insertColumns(B)}),N._parser.setCsiHandler({intermediates:"'",final:"~"},function(B){return N.deleteColumns(B)}),N._parser.setExecuteHandler(u.C0.BEL,function(){return N.bell()}),N._parser.setExecuteHandler(u.C0.LF,function(){return N.lineFeed()}),N._parser.setExecuteHandler(u.C0.VT,function(){return N.lineFeed()}),N._parser.setExecuteHandler(u.C0.FF,function(){return N.lineFeed()}),N._parser.setExecuteHandler(u.C0.CR,function(){return N.carriageReturn()}),N._parser.setExecuteHandler(u.C0.BS,function(){return N.backspace()}),N._parser.setExecuteHandler(u.C0.HT,function(){return N.tab()}),N._parser.setExecuteHandler(u.C0.SO,function(){return N.shiftOut()}),N._parser.setExecuteHandler(u.C0.SI,function(){return N.shiftIn()}),N._parser.setExecuteHandler(u.C1.IND,function(){return N.index()}),N._parser.setExecuteHandler(u.C1.NEL,function(){return N.nextLine()}),N._parser.setExecuteHandler(u.C1.HTS,function(){return N.tabSet()}),N._parser.setOscHandler(0,new p.OscHandler(function(B){N.setTitle(B),N.setIconName(B)})),N._parser.setOscHandler(1,new p.OscHandler(function(B){return N.setIconName(B)})),N._parser.setOscHandler(2,new p.OscHandler(function(B){return N.setTitle(B)})),N._parser.setEscHandler({final:"7"},function(){return N.saveCursor()}),N._parser.setEscHandler({final:"8"},function(){return N.restoreCursor()}),N._parser.setEscHandler({final:"D"},function(){return N.index()}),N._parser.setEscHandler({final:"E"},function(){return N.nextLine()}),N._parser.setEscHandler({final:"H"},function(){return N.tabSet()}),N._parser.setEscHandler({final:"M"},function(){return N.reverseIndex()}),N._parser.setEscHandler({final:"="},function(){return N.keypadApplicationMode()}),N._parser.setEscHandler({final:">"},function(){return N.keypadNumericMode()}),N._parser.setEscHandler({final:"c"},function(){return N.fullReset()}),N._parser.setEscHandler({final:"n"},function(){return N.setgLevel(2)}),N._parser.setEscHandler({final:"o"},function(){return N.setgLevel(3)}),N._parser.setEscHandler({final:"|"},function(){return N.setgLevel(3)}),N._parser.setEscHandler({final:"}"},function(){return N.setgLevel(2)}),N._parser.setEscHandler({final:"~"},function(){return N.setgLevel(1)}),N._parser.setEscHandler({intermediates:"%",final:"@"},function(){return N.selectDefaultCharset()}),N._parser.setEscHandler({intermediates:"%",final:"G"},function(){return N.selectDefaultCharset()});var H=function(V){j._parser.setEscHandler({intermediates:"(",final:V},function(){return N.selectCharset("("+V)}),j._parser.setEscHandler({intermediates:")",final:V},function(){return N.selectCharset(")"+V)}),j._parser.setEscHandler({intermediates:"*",final:V},function(){return N.selectCharset("*"+V)}),j._parser.setEscHandler({intermediates:"+",final:V},function(){return N.selectCharset("+"+V)}),j._parser.setEscHandler({intermediates:"-",final:V},function(){return N.selectCharset("-"+V)}),j._parser.setEscHandler({intermediates:".",final:V},function(){return N.selectCharset("."+V)}),j._parser.setEscHandler({intermediates:"/",final:V},function(){return N.selectCharset("/"+V)})},j=this;for(var k in i.CHARSETS)H(k);return N._parser.setEscHandler({intermediates:"#",final:"8"},function(){return N.screenAlignmentPattern()}),N._parser.setErrorHandler(function(B){return N._logService.error("Parsing error: ",B),B}),N._parser.setDcsHandler({intermediates:"$",final:"q"},new x(N._bufferService,N._coreService,N._logService,N._optionsService)),N}return y(_,T),Object.defineProperty(_.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),_.prototype.dispose=function(){T.prototype.dispose.call(this)},_.prototype.parse=function(v){var S=this._bufferService.buffer,O=S.x,L=S.y;if(this._logService.debug("parsing data",v),this._parseBuffer.length<v.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(v.length,131072))),this._dirtyRowService.clearRange(),v.length>131072)for(var M=0;M<v.length;M+=131072){var F=M+131072<v.length?M+131072:v.length,U=typeof v=="string"?this._stringDecoder.decode(v.substring(M,F),this._parseBuffer):this._utf8Decoder.decode(v.subarray(M,F),this._parseBuffer);this._parser.parse(this._parseBuffer,U)}else U=typeof v=="string"?this._stringDecoder.decode(v,this._parseBuffer):this._utf8Decoder.decode(v,this._parseBuffer),this._parser.parse(this._parseBuffer,U);(S=this._bufferService.buffer).x===O&&S.y===L||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},_.prototype.print=function(v,S,O){var L,M,F=this._bufferService.buffer,U=this._charsetService.charset,z=this._optionsService.options.screenReaderMode,W=this._bufferService.cols,N=this._coreService.decPrivateModes.wraparound,H=this._coreService.modes.insertMode,j=this._curAttrData,k=F.lines.get(F.ybase+F.y);this._dirtyRowService.markDirty(F.y),F.x&&O-S>0&&k.getWidth(F.x-1)===2&&k.setCellFromCodePoint(F.x-1,0,1,j.fg,j.bg,j.extended);for(var B=S;B<O;++B){if(L=v[B],M=this._unicodeService.wcwidth(L),L<127&&U){var V=U[String.fromCharCode(L)];V&&(L=V.charCodeAt(0))}if(z&&this._onA11yChar.fire(d.stringFromCodePoint(L)),M||!F.x){if(F.x+M-1>=W){if(N){for(;F.x<W;)k.setCellFromCodePoint(F.x++,0,1,j.fg,j.bg,j.extended);F.x=0,F.y++,F.y===F.scrollBottom+1?(F.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(F.y>=this._bufferService.rows&&(F.y=this._bufferService.rows-1),F.lines.get(F.ybase+F.y).isWrapped=!0),k=F.lines.get(F.ybase+F.y)}else if(F.x=W-1,M===2)continue}if(H&&(k.insertCells(F.x,M,F.getNullCell(j),j),k.getWidth(W-1)===2&&k.setCellFromCodePoint(W-1,t.NULL_CELL_CODE,t.NULL_CELL_WIDTH,j.fg,j.bg,j.extended)),k.setCellFromCodePoint(F.x++,L,M,j.fg,j.bg,j.extended),M>0)for(;--M;)k.setCellFromCodePoint(F.x++,0,0,j.fg,j.bg,j.extended)}else k.getWidth(F.x-1)?k.addCodepointToCell(F.x-1,L):k.addCodepointToCell(F.x-2,L)}O-S>0&&(k.loadCell(F.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),F.x<W&&O-S>0&&k.getWidth(F.x)===0&&!k.hasContent(F.x)&&k.setCellFromCodePoint(F.x,0,1,j.fg,j.bg,j.extended),this._dirtyRowService.markDirty(F.y)},_.prototype.addCsiHandler=function(v,S){var O=this;return v.final!=="t"||v.prefix||v.intermediates?this._parser.addCsiHandler(v,S):this._parser.addCsiHandler(v,function(L){return!C(L.params[0],O._optionsService.options.windowOptions)||S(L)})},_.prototype.addDcsHandler=function(v,S){return this._parser.addDcsHandler(v,new A.DcsHandler(S))},_.prototype.addEscHandler=function(v,S){return this._parser.addEscHandler(v,S)},_.prototype.addOscHandler=function(v,S){return this._parser.addOscHandler(v,new p.OscHandler(S))},_.prototype.bell=function(){this._onRequestBell.fire()},_.prototype.lineFeed=function(){var v=this._bufferService.buffer;this._dirtyRowService.markDirty(v.y),this._optionsService.options.convertEol&&(v.x=0),v.y++,v.y===v.scrollBottom+1?(v.y--,this._onRequestScroll.fire(this._eraseAttrData())):v.y>=this._bufferService.rows&&(v.y=this._bufferService.rows-1),v.x>=this._bufferService.cols&&v.x--,this._dirtyRowService.markDirty(v.y),this._onLineFeed.fire()},_.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},_.prototype.backspace=function(){var v,S=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(S.x>0&&S.x--);if(this._restrictCursor(this._bufferService.cols),S.x>0)S.x--;else if(S.x===0&&S.y>S.scrollTop&&S.y<=S.scrollBottom&&((v=S.lines.get(S.ybase+S.y))===null||v===void 0?void 0:v.isWrapped)){S.lines.get(S.ybase+S.y).isWrapped=!1,S.y--,S.x=this._bufferService.cols-1;var O=S.lines.get(S.ybase+S.y);O.hasWidth(S.x)&&!O.hasContent(S.x)&&S.x--}this._restrictCursor()},_.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var v=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-v)}},_.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},_.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},_.prototype._restrictCursor=function(v){v===void 0&&(v=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(v,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},_.prototype._setCursor=function(v,S){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=v,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+S):(this._bufferService.buffer.x=v,this._bufferService.buffer.y=S),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},_.prototype._moveCursor=function(v,S){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+v,this._bufferService.buffer.y+S)},_.prototype.cursorUp=function(v){var S=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;S>=0?this._moveCursor(0,-Math.min(S,v.params[0]||1)):this._moveCursor(0,-(v.params[0]||1))},_.prototype.cursorDown=function(v){var S=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;S>=0?this._moveCursor(0,Math.min(S,v.params[0]||1)):this._moveCursor(0,v.params[0]||1)},_.prototype.cursorForward=function(v){this._moveCursor(v.params[0]||1,0)},_.prototype.cursorBackward=function(v){this._moveCursor(-(v.params[0]||1),0)},_.prototype.cursorNextLine=function(v){this.cursorDown(v),this._bufferService.buffer.x=0},_.prototype.cursorPrecedingLine=function(v){this.cursorUp(v),this._bufferService.buffer.x=0},_.prototype.cursorCharAbsolute=function(v){this._setCursor((v.params[0]||1)-1,this._bufferService.buffer.y)},_.prototype.cursorPosition=function(v){this._setCursor(v.length>=2?(v.params[1]||1)-1:0,(v.params[0]||1)-1)},_.prototype.charPosAbsolute=function(v){this._setCursor((v.params[0]||1)-1,this._bufferService.buffer.y)},_.prototype.hPositionRelative=function(v){this._moveCursor(v.params[0]||1,0)},_.prototype.linePosAbsolute=function(v){this._setCursor(this._bufferService.buffer.x,(v.params[0]||1)-1)},_.prototype.vPositionRelative=function(v){this._moveCursor(0,v.params[0]||1)},_.prototype.hVPosition=function(v){this.cursorPosition(v)},_.prototype.tabClear=function(v){var S=v.params[0];S===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:S===3&&(this._bufferService.buffer.tabs={})},_.prototype.cursorForwardTab=function(v){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var S=v.params[0]||1;S--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},_.prototype.cursorBackwardTab=function(v){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var S=v.params[0]||1,O=this._bufferService.buffer;S--;)O.x=O.prevStop()},_.prototype._eraseInBufferLine=function(v,S,O,L){L===void 0&&(L=!1);var M=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+v);M.replaceCells(S,O,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),L&&(M.isWrapped=!1)},_.prototype._resetBufferLine=function(v){var S=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+v);S.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),S.isWrapped=!1},_.prototype.eraseInDisplay=function(v){var S;switch(this._restrictCursor(),v.params[0]){case 0:for(S=this._bufferService.buffer.y,this._dirtyRowService.markDirty(S),this._eraseInBufferLine(S++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);S<this._bufferService.rows;S++)this._resetBufferLine(S);this._dirtyRowService.markDirty(S);break;case 1:for(S=this._bufferService.buffer.y,this._dirtyRowService.markDirty(S),this._eraseInBufferLine(S,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(S+1).isWrapped=!1);S--;)this._resetBufferLine(S);this._dirtyRowService.markDirty(0);break;case 2:for(S=this._bufferService.rows,this._dirtyRowService.markDirty(S-1);S--;)this._resetBufferLine(S);this._dirtyRowService.markDirty(0);break;case 3:var O=this._bufferService.buffer.lines.length-this._bufferService.rows;O>0&&(this._bufferService.buffer.lines.trimStart(O),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-O,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-O,0),this._onScroll.fire(0))}},_.prototype.eraseInLine=function(v){switch(this._restrictCursor(),v.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},_.prototype.insertLines=function(v){this._restrictCursor();var S=v.params[0]||1,O=this._bufferService.buffer;if(!(O.y>O.scrollBottom||O.y<O.scrollTop)){for(var L=O.ybase+O.y,M=this._bufferService.rows-1-O.scrollBottom,F=this._bufferService.rows-1+O.ybase-M+1;S--;)O.lines.splice(F-1,1),O.lines.splice(L,0,O.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(O.y,O.scrollBottom),O.x=0}},_.prototype.deleteLines=function(v){this._restrictCursor();var S=v.params[0]||1,O=this._bufferService.buffer;if(!(O.y>O.scrollBottom||O.y<O.scrollTop)){var L,M=O.ybase+O.y;for(L=this._bufferService.rows-1-O.scrollBottom,L=this._bufferService.rows-1+O.ybase-L;S--;)O.lines.splice(M,1),O.lines.splice(L,0,O.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(O.y,O.scrollBottom),O.x=0}},_.prototype.insertChars=function(v){this._restrictCursor();var S=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);S&&(S.insertCells(this._bufferService.buffer.x,v.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},_.prototype.deleteChars=function(v){this._restrictCursor();var S=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);S&&(S.deleteCells(this._bufferService.buffer.x,v.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},_.prototype.scrollUp=function(v){for(var S=v.params[0]||1,O=this._bufferService.buffer;S--;)O.lines.splice(O.ybase+O.scrollTop,1),O.lines.splice(O.ybase+O.scrollBottom,0,O.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(O.scrollTop,O.scrollBottom)},_.prototype.scrollDown=function(v){for(var S=v.params[0]||1,O=this._bufferService.buffer;S--;)O.lines.splice(O.ybase+O.scrollBottom,1),O.lines.splice(O.ybase+O.scrollTop,0,O.getBlankLine(n.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(O.scrollTop,O.scrollBottom)},_.prototype.scrollLeft=function(v){var S=this._bufferService.buffer;if(!(S.y>S.scrollBottom||S.y<S.scrollTop)){for(var O=v.params[0]||1,L=S.scrollTop;L<=S.scrollBottom;++L){var M=S.lines.get(S.ybase+L);M.deleteCells(0,O,S.getNullCell(this._eraseAttrData()),this._eraseAttrData()),M.isWrapped=!1}this._dirtyRowService.markRangeDirty(S.scrollTop,S.scrollBottom)}},_.prototype.scrollRight=function(v){var S=this._bufferService.buffer;if(!(S.y>S.scrollBottom||S.y<S.scrollTop)){for(var O=v.params[0]||1,L=S.scrollTop;L<=S.scrollBottom;++L){var M=S.lines.get(S.ybase+L);M.insertCells(0,O,S.getNullCell(this._eraseAttrData()),this._eraseAttrData()),M.isWrapped=!1}this._dirtyRowService.markRangeDirty(S.scrollTop,S.scrollBottom)}},_.prototype.insertColumns=function(v){var S=this._bufferService.buffer;if(!(S.y>S.scrollBottom||S.y<S.scrollTop)){for(var O=v.params[0]||1,L=S.scrollTop;L<=S.scrollBottom;++L){var M=this._bufferService.buffer.lines.get(S.ybase+L);M.insertCells(S.x,O,S.getNullCell(this._eraseAttrData()),this._eraseAttrData()),M.isWrapped=!1}this._dirtyRowService.markRangeDirty(S.scrollTop,S.scrollBottom)}},_.prototype.deleteColumns=function(v){var S=this._bufferService.buffer;if(!(S.y>S.scrollBottom||S.y<S.scrollTop)){for(var O=v.params[0]||1,L=S.scrollTop;L<=S.scrollBottom;++L){var M=S.lines.get(S.ybase+L);M.deleteCells(S.x,O,S.getNullCell(this._eraseAttrData()),this._eraseAttrData()),M.isWrapped=!1}this._dirtyRowService.markRangeDirty(S.scrollTop,S.scrollBottom)}},_.prototype.eraseChars=function(v){this._restrictCursor();var S=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);S&&(S.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(v.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},_.prototype.repeatPrecedingCharacter=function(v){if(this._parser.precedingCodepoint){for(var S=v.params[0]||1,O=new Uint32Array(S),L=0;L<S;++L)O[L]=this._parser.precedingCodepoint;this.print(O,0,O.length)}},_.prototype.sendDeviceAttributesPrimary=function(v){v.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(u.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(u.C0.ESC+"[?6c"))},_.prototype.sendDeviceAttributesSecondary=function(v){v.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(u.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(u.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(v.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(u.C0.ESC+"[>83;40003;0c"))},_.prototype._is=function(v){return(this._optionsService.options.termName+"").indexOf(v)===0},_.prototype.setMode=function(v){for(var S=0;S<v.length;S++)switch(v.params[S]){case 4:this._coreService.modes.insertMode=!0}},_.prototype.setModePrivate=function(v){for(var S=0;S<v.length;S++)switch(v.params[S]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,i.DEFAULT_CHARSET),this._charsetService.setgCharset(1,i.DEFAULT_CHARSET),this._charsetService.setgCharset(2,i.DEFAULT_CHARSET),this._charsetService.setgCharset(3,i.DEFAULT_CHARSET);break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(132,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!0,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!0;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!0;break;case 66:this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire();break;case 9:this._coreMouseService.activeProtocol="X10";break;case 1e3:this._coreMouseService.activeProtocol="VT200";break;case 1002:this._coreMouseService.activeProtocol="DRAG";break;case 1003:this._coreMouseService.activeProtocol="ANY";break;case 1004:this._coreService.decPrivateModes.sendFocus=!0;break;case 1005:this._logService.debug("DECSET 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="SGR";break;case 1015:this._logService.debug("DECSET 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!1;break;case 1048:this.saveCursor();break;case 1049:this.saveCursor();case 47:case 1047:this._bufferService.buffers.activateAltBuffer(this._eraseAttrData()),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!0}},_.prototype.resetMode=function(v){for(var S=0;S<v.length;S++)switch(v.params[S]){case 4:this._coreService.modes.insertMode=!1}},_.prototype.resetModePrivate=function(v){for(var S=0;S<v.length;S++)switch(v.params[S]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!1;break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(80,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!1,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!1;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!1;break;case 66:this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire();break;case 9:case 1e3:case 1002:case 1003:this._coreMouseService.activeProtocol="NONE";break;case 1004:this._coreService.decPrivateModes.sendFocus=!1;break;case 1005:this._logService.debug("DECRST 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="DEFAULT";break;case 1015:this._logService.debug("DECRST 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!0;break;case 1048:this.restoreCursor();break;case 1049:case 47:case 1047:this._bufferService.buffers.activateNormalBuffer(),v.params[S]===1049&&this.restoreCursor(),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!1}},_.prototype._updateAttrColor=function(v,S,O,L,M){return S===2?(v|=50331648,v&=-16777216,v|=c.AttributeData.fromColorRGB([O,L,M])):S===5&&(v&=-50331904,v|=33554432|255&O),v},_.prototype._extractColor=function(v,S,O){var L=[0,0,-1,0,0,0],M=0,F=0;do{if(L[F+M]=v.params[S+F],v.hasSubParams(S+F)){var U=v.getSubParams(S+F),z=0;do L[1]===5&&(M=1),L[F+z+1+M]=U[z];while(++z<U.length&&z+F+1+M<L.length);break}if(L[1]===5&&F+M>=2||L[1]===2&&F+M>=5)break;L[1]&&(M=1)}while(++F+S<v.length&&F+M<L.length);for(z=2;z<L.length;++z)L[z]===-1&&(L[z]=0);switch(L[0]){case 38:O.fg=this._updateAttrColor(O.fg,L[1],L[3],L[4],L[5]);break;case 48:O.bg=this._updateAttrColor(O.bg,L[1],L[3],L[4],L[5]);break;case 58:O.extended=O.extended.clone(),O.extended.underlineColor=this._updateAttrColor(O.extended.underlineColor,L[1],L[3],L[4],L[5])}return F},_.prototype._processUnderline=function(v,S){S.extended=S.extended.clone(),(!~v||v>5)&&(v=1),S.extended.underlineStyle=v,S.fg|=268435456,v===0&&(S.fg&=-268435457),S.updateExtended()},_.prototype.charAttributes=function(v){if(v.length===1&&v.params[0]===0)return this._curAttrData.fg=n.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=n.DEFAULT_ATTR_DATA.bg);for(var S,O=v.length,L=this._curAttrData,M=0;M<O;M++)(S=v.params[M])>=30&&S<=37?(L.fg&=-50331904,L.fg|=16777216|S-30):S>=40&&S<=47?(L.bg&=-50331904,L.bg|=16777216|S-40):S>=90&&S<=97?(L.fg&=-50331904,L.fg|=16777224|S-90):S>=100&&S<=107?(L.bg&=-50331904,L.bg|=16777224|S-100):S===0?(L.fg=n.DEFAULT_ATTR_DATA.fg,L.bg=n.DEFAULT_ATTR_DATA.bg):S===1?L.fg|=134217728:S===3?L.bg|=67108864:S===4?(L.fg|=268435456,this._processUnderline(v.hasSubParams(M)?v.getSubParams(M)[0]:1,L)):S===5?L.fg|=536870912:S===7?L.fg|=67108864:S===8?L.fg|=1073741824:S===2?L.bg|=134217728:S===21?this._processUnderline(2,L):S===22?(L.fg&=-134217729,L.bg&=-134217729):S===23?L.bg&=-67108865:S===24?L.fg&=-268435457:S===25?L.fg&=-536870913:S===27?L.fg&=-67108865:S===28?L.fg&=-1073741825:S===39?(L.fg&=-67108864,L.fg|=16777215&n.DEFAULT_ATTR_DATA.fg):S===49?(L.bg&=-67108864,L.bg|=16777215&n.DEFAULT_ATTR_DATA.bg):S===38||S===48||S===58?M+=this._extractColor(v,M,L):S===59?(L.extended=L.extended.clone(),L.extended.underlineColor=-1,L.updateExtended()):S===100?(L.fg&=-67108864,L.fg|=16777215&n.DEFAULT_ATTR_DATA.fg,L.bg&=-67108864,L.bg|=16777215&n.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",S)},_.prototype.deviceStatus=function(v){switch(v.params[0]){case 5:this._coreService.triggerDataEvent(u.C0.ESC+"[0n");break;case 6:var S=this._bufferService.buffer.y+1,O=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(u.C0.ESC+"["+S+";"+O+"R")}},_.prototype.deviceStatusPrivate=function(v){switch(v.params[0]){case 6:var S=this._bufferService.buffer.y+1,O=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(u.C0.ESC+"[?"+S+";"+O+"R")}},_.prototype.softReset=function(v){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=n.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._bufferService.buffer.savedX=0,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1},_.prototype.setCursorStyle=function(v){var S=v.params[0]||1;switch(S){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var O=S%2==1;this._optionsService.options.cursorBlink=O},_.prototype.setScrollRegion=function(v){var S,O=v.params[0]||1;(v.length<2||(S=v.params[1])>this._bufferService.rows||S===0)&&(S=this._bufferService.rows),S>O&&(this._bufferService.buffer.scrollTop=O-1,this._bufferService.buffer.scrollBottom=S-1,this._setCursor(0,0))},_.prototype.windowOptions=function(v){if(C(v.params[0],this._optionsService.options.windowOptions)){var S=v.length>1?v.params[1]:0;switch(v.params[0]){case 14:S!==2&&this._onRequestWindowsOptionsReport.fire(h.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(h.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(u.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:S!==0&&S!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),S!==0&&S!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:S!==0&&S!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),S!==0&&S!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},_.prototype.saveCursor=function(v){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},_.prototype.restoreCursor=function(v){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},_.prototype.setTitle=function(v){this._windowTitle=v,this._onTitleChange.fire(v)},_.prototype.setIconName=function(v){this._iconName=v},_.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},_.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},_.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},_.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,i.DEFAULT_CHARSET)},_.prototype.selectCharset=function(v){v.length===2?v[0]!=="/"&&this._charsetService.setgCharset(w[v[0]],i.CHARSETS[v[1]]||i.DEFAULT_CHARSET):this.selectDefaultCharset()},_.prototype.index=function(){this._restrictCursor();var v=this._bufferService.buffer;this._bufferService.buffer.y++,v.y===v.scrollBottom+1?(v.y--,this._onRequestScroll.fire(this._eraseAttrData())):v.y>=this._bufferService.rows&&(v.y=this._bufferService.rows-1),this._restrictCursor()},_.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},_.prototype.reverseIndex=function(){this._restrictCursor();var v=this._bufferService.buffer;if(v.y===v.scrollTop){var S=v.scrollBottom-v.scrollTop;v.lines.shiftElements(v.ybase+v.y,S,1),v.lines.set(v.ybase+v.y,v.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(v.scrollTop,v.scrollBottom)}else v.y--,this._restrictCursor()},_.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},_.prototype.reset=function(){this._curAttrData=n.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=n.DEFAULT_ATTR_DATA.clone()},_.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},_.prototype.setgLevel=function(v){this._charsetService.setgLevel(v)},_.prototype.screenAlignmentPattern=function(){var v=new s.CellData;v.content=1<<22|"E".charCodeAt(0),v.fg=this._curAttrData.fg,v.bg=this._curAttrData.bg;var S=this._bufferService.buffer;this._setCursor(0,0);for(var O=0;O<this._bufferService.rows;++O){var L=S.ybase+S.y+O,M=S.lines.get(L);M&&(M.fill(v),M.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},_}(r.Disposable);f.InputHandler=E},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DEFAULT_CHARSET=f.CHARSETS=void 0,f.CHARSETS={},f.DEFAULT_CHARSET=f.CHARSETS.B,f.CHARSETS[0]={"`":"\u25C6",a:"\u2592",b:"\u2409",c:"\u240C",d:"\u240D",e:"\u240A",f:"\xB0",g:"\xB1",h:"\u2424",i:"\u240B",j:"\u2518",k:"\u2510",l:"\u250C",m:"\u2514",n:"\u253C",o:"\u23BA",p:"\u23BB",q:"\u2500",r:"\u23BC",s:"\u23BD",t:"\u251C",u:"\u2524",v:"\u2534",w:"\u252C",x:"\u2502",y:"\u2264",z:"\u2265","{":"\u03C0","|":"\u2260","}":"\xA3","~":"\xB7"},f.CHARSETS.A={"#":"\xA3"},f.CHARSETS.B=void 0,f.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},f.CHARSETS.C=f.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},f.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},f.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},f.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},f.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},f.CHARSETS.E=f.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},f.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},f.CHARSETS.H=f.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},f.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Params=void 0;var m=function(){function y(h,u){if(h===void 0&&(h=32),u===void 0&&(u=32),this.maxLength=h,this.maxSubParamsLength=u,u>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(h),this.length=0,this._subParams=new Int32Array(u),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(h),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return y.fromArray=function(h){var u=new y;if(!h.length)return u;for(var i=h[0]instanceof Array?1:0;i<h.length;++i){var a=h[i];if(a instanceof Array)for(var r=0;r<a.length;++r)u.addSubParam(a[r]);else u.addParam(a)}return u},y.prototype.clone=function(){var h=new y(this.maxLength,this.maxSubParamsLength);return h.params.set(this.params),h.length=this.length,h._subParams.set(this._subParams),h._subParamsLength=this._subParamsLength,h._subParamsIdx.set(this._subParamsIdx),h._rejectDigits=this._rejectDigits,h._rejectSubDigits=this._rejectSubDigits,h._digitIsSub=this._digitIsSub,h},y.prototype.toArray=function(){for(var h=[],u=0;u<this.length;++u){h.push(this.params[u]);var i=this._subParamsIdx[u]>>8,a=255&this._subParamsIdx[u];a-i>0&&h.push(Array.prototype.slice.call(this._subParams,i,a))}return h},y.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},y.prototype.addParam=function(h){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(h<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=h>2147483647?2147483647:h}},y.prototype.addSubParam=function(h){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(h<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=h>2147483647?2147483647:h,this._subParamsIdx[this.length-1]++}},y.prototype.hasSubParams=function(h){return(255&this._subParamsIdx[h])-(this._subParamsIdx[h]>>8)>0},y.prototype.getSubParams=function(h){var u=this._subParamsIdx[h]>>8,i=255&this._subParamsIdx[h];return i-u>0?this._subParams.subarray(u,i):null},y.prototype.getSubParamsAll=function(){for(var h={},u=0;u<this.length;++u){var i=this._subParamsIdx[u]>>8,a=255&this._subParamsIdx[u];a-i>0&&(h[u]=this._subParams.slice(i,a))}return h},y.prototype.addDigit=function(h){var u;if(!(this._rejectDigits||!(u=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var i=this._digitIsSub?this._subParams:this.params,a=i[u-1];i[u-1]=~a?Math.min(10*a+h,2147483647):h}},y}();f.Params=m},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.OscHandler=f.OscParser=void 0;var m=b(23),y=b(8),h=function(){function i(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return i.prototype.addHandler=function(a,r){this._handlers[a]===void 0&&(this._handlers[a]=[]);var o=this._handlers[a];return o.push(r),{dispose:function(){var n=o.indexOf(r);n!==-1&&o.splice(n,1)}}},i.prototype.setHandler=function(a,r){this._handlers[a]=[r]},i.prototype.clearHandler=function(a){this._handlers[a]&&delete this._handlers[a]},i.prototype.setHandlerFallback=function(a){this._handlerFb=a},i.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},i.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},i.prototype._start=function(){var a=this._handlers[this._id];if(a)for(var r=a.length-1;r>=0;r--)a[r].start();else this._handlerFb(this._id,"START")},i.prototype._put=function(a,r,o){var d=this._handlers[this._id];if(d)for(var n=d.length-1;n>=0;n--)d[n].put(a,r,o);else this._handlerFb(this._id,"PUT",y.utf32ToString(a,r,o))},i.prototype._end=function(a){var r=this._handlers[this._id];if(r){for(var o=r.length-1;o>=0&&r[o].end(a)===!1;o--);for(o--;o>=0;o--)r[o].end(!1)}else this._handlerFb(this._id,"END",a)},i.prototype.start=function(){this.reset(),this._id=-1,this._state=1},i.prototype.put=function(a,r,o){if(this._state!==3){if(this._state===1)for(;r<o;){var d=a[r++];if(d===59){this._state=2,this._start();break}if(d<48||57<d)return void(this._state=3);this._id===-1&&(this._id=0),this._id=10*this._id+d-48}this._state===2&&o-r>0&&this._put(a,r,o)}},i.prototype.end=function(a){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(a)),this._id=-1,this._state=0)},i}();f.OscParser=h;var u=function(){function i(a){this._handler=a,this._data="",this._hitLimit=!1}return i.prototype.start=function(){this._data="",this._hitLimit=!1},i.prototype.put=function(a,r,o){this._hitLimit||(this._data+=y.utf32ToString(a,r,o),this._data.length>m.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},i.prototype.end=function(a){var r;return this._hitLimit?r=!1:a&&(r=this._handler(this._data)),this._data="",this._hitLimit=!1,r},i}();f.OscHandler=u},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PAYLOAD_LIMIT=void 0,f.PAYLOAD_LIMIT=1e7},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DcsHandler=f.DcsParser=void 0;var m=b(8),y=b(21),h=b(23),u=[],i=function(){function r(){this._handlers=Object.create(null),this._active=u,this._ident=0,this._handlerFb=function(){}}return r.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},r.prototype.addHandler=function(o,d){this._handlers[o]===void 0&&(this._handlers[o]=[]);var n=this._handlers[o];return n.push(d),{dispose:function(){var t=n.indexOf(d);t!==-1&&n.splice(t,1)}}},r.prototype.setHandler=function(o,d){this._handlers[o]=[d]},r.prototype.clearHandler=function(o){this._handlers[o]&&delete this._handlers[o]},r.prototype.setHandlerFallback=function(o){this._handlerFb=o},r.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=u,this._ident=0},r.prototype.hook=function(o,d){if(this.reset(),this._ident=o,this._active=this._handlers[o]||u,this._active.length)for(var n=this._active.length-1;n>=0;n--)this._active[n].hook(d);else this._handlerFb(this._ident,"HOOK",d)},r.prototype.put=function(o,d,n){if(this._active.length)for(var l=this._active.length-1;l>=0;l--)this._active[l].put(o,d,n);else this._handlerFb(this._ident,"PUT",m.utf32ToString(o,d,n))},r.prototype.unhook=function(o){if(this._active.length){for(var d=this._active.length-1;d>=0&&this._active[d].unhook(o)===!1;d--);for(d--;d>=0;d--)this._active[d].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",o);this._active=u,this._ident=0},r}();f.DcsParser=i;var a=function(){function r(o){this._handler=o,this._data="",this._hitLimit=!1}return r.prototype.hook=function(o){this._params=o.clone(),this._data="",this._hitLimit=!1},r.prototype.put=function(o,d,n){this._hitLimit||(this._data+=m.utf32ToString(o,d,n),this._data.length>h.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},r.prototype.unhook=function(o){var d;return this._hitLimit?d=!1:o&&(d=this._handler(this._data,this._params||new y.Params)),this._params=void 0,this._data="",this._hitLimit=!1,d},r}();f.DcsHandler=a},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.removeTerminalFromCache=f.acquireCharAtlas=void 0;var m=b(26),y=b(43),h=[];f.acquireCharAtlas=function(u,i,a,r,o){for(var d=m.generateConfig(r,o,u,a),n=0;n<h.length;n++){var l=(t=h[n]).ownedBy.indexOf(i);if(l>=0){if(m.configEquals(t.config,d))return t.atlas;t.ownedBy.length===1?(t.atlas.dispose(),h.splice(n,1)):t.ownedBy.splice(l,1);break}}for(n=0;n<h.length;n++){var t=h[n];if(m.configEquals(t.config,d))return t.ownedBy.push(i),t.atlas}var s={atlas:new y.DynamicCharAtlas(document,d),config:d,ownedBy:[i]};return h.push(s),s.atlas},f.removeTerminalFromCache=function(u){for(var i=0;i<h.length;i++){var a=h[i].ownedBy.indexOf(u);if(a!==-1){h[i].ownedBy.length===1?(h[i].atlas.dispose(),h.splice(i,1)):h[i].ownedBy.splice(a,1);break}}}},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.is256Color=f.configEquals=f.generateConfig=void 0;var m=b(3);f.generateConfig=function(y,h,u,i){var a={foreground:i.foreground,background:i.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:i.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:y,scaledCharHeight:h,fontFamily:u.fontFamily,fontSize:u.fontSize,fontWeight:u.fontWeight,fontWeightBold:u.fontWeightBold,allowTransparency:u.allowTransparency,colors:a}},f.configEquals=function(y,h){for(var u=0;u<y.colors.ansi.length;u++)if(y.colors.ansi[u].rgba!==h.colors.ansi[u].rgba)return!1;return y.devicePixelRatio===h.devicePixelRatio&&y.fontFamily===h.fontFamily&&y.fontSize===h.fontSize&&y.fontWeight===h.fontWeight&&y.fontWeightBold===h.fontWeightBold&&y.allowTransparency===h.allowTransparency&&y.scaledCharWidth===h.scaledCharWidth&&y.scaledCharHeight===h.scaledCharHeight&&y.colors.foreground===h.colors.foreground&&y.colors.background===h.colors.background},f.is256Color=function(y){return y<m.DEFAULT_COLOR}},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ColorManager=f.DEFAULT_ANSI_COLORS=void 0;var m=b(10),y=b(45),h=m.css.toColor("#ffffff"),u=m.css.toColor("#000000"),i=m.css.toColor("#ffffff"),a=m.css.toColor("#000000"),r={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};f.DEFAULT_ANSI_COLORS=function(){for(var d=[m.css.toColor("#2e3436"),m.css.toColor("#cc0000"),m.css.toColor("#4e9a06"),m.css.toColor("#c4a000"),m.css.toColor("#3465a4"),m.css.toColor("#75507b"),m.css.toColor("#06989a"),m.css.toColor("#d3d7cf"),m.css.toColor("#555753"),m.css.toColor("#ef2929"),m.css.toColor("#8ae234"),m.css.toColor("#fce94f"),m.css.toColor("#729fcf"),m.css.toColor("#ad7fa8"),m.css.toColor("#34e2e2"),m.css.toColor("#eeeeec")],n=[0,95,135,175,215,255],l=0;l<216;l++){var t=n[l/36%6|0],s=n[l/6%6|0],c=n[l%6];d.push({css:m.channels.toCss(t,s,c),rgba:m.channels.toRgba(t,s,c)})}for(l=0;l<24;l++){var p=8+10*l;d.push({css:m.channels.toCss(p,p,p),rgba:m.channels.toRgba(p,p,p)})}return d}();var o=function(){function d(n,l){this.allowTransparency=l;var t=n.createElement("canvas");t.width=1,t.height=1;var s=t.getContext("2d");if(!s)throw new Error("Could not get rendering context");this._ctx=s,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new y.ColorContrastCache,this.colors={foreground:h,background:u,cursor:i,cursorAccent:a,selectionTransparent:r,selectionOpaque:m.color.blend(u,r),ansi:f.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return d.prototype.onOptionsChange=function(n){n==="minimumContrastRatio"&&this._contrastCache.clear()},d.prototype.setTheme=function(n){(n===void 0&&(n={}),this.colors.foreground=this._parseColor(n.foreground,h),this.colors.background=this._parseColor(n.background,u),this.colors.cursor=this._parseColor(n.cursor,i,!0),this.colors.cursorAccent=this._parseColor(n.cursorAccent,a,!0),this.colors.selectionTransparent=this._parseColor(n.selection,r,!0),this.colors.selectionOpaque=m.color.blend(this.colors.background,this.colors.selectionTransparent),m.color.isOpaque(this.colors.selectionTransparent))&&(this.colors.selectionTransparent=m.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(n.black,f.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(n.red,f.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(n.green,f.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(n.yellow,f.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(n.blue,f.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(n.magenta,f.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(n.cyan,f.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(n.white,f.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(n.brightBlack,f.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(n.brightRed,f.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(n.brightGreen,f.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(n.brightYellow,f.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(n.brightBlue,f.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(n.brightMagenta,f.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(n.brightCyan,f.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(n.brightWhite,f.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},d.prototype._parseColor=function(n,l,t){if(t===void 0&&(t=this.allowTransparency),n===void 0)return l;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=n,typeof this._ctx.fillStyle!="string")return console.warn("Color: "+n+" is invalid using fallback "+l.css),l;this._ctx.fillRect(0,0,1,1);var s=this._ctx.getImageData(0,0,1,1).data;if(s[3]!==255){if(!t)return console.warn("Color: "+n+" is using transparency, but allowTransparency is false. Using fallback "+l.css+"."),l;var c=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(E){return Number(E)}),p=c[0],A=c[1],w=c[2],C=c[3],x=Math.round(255*C);return{rgba:m.channels.toRgba(p,A,w,x),css:n}}return{css:this._ctx.fillStyle,rgba:m.channels.toRgba(s[0],s[1],s[2],s[3])}},d}();f.ColorManager=o},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.throwIfFalsy=void 0,f.throwIfFalsy=function(m){if(!m)throw new Error("value must not be falsy");return m}},function(g,f,b){"use strict";var m,y=this&&this.__extends||(m=function(d,n){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,t){l.__proto__=t}||function(l,t){for(var s in t)t.hasOwnProperty(s)&&(l[s]=t[s])})(d,n)},function(o,d){function n(){this.constructor=o}m(o,d),o.prototype=d===null?Object.create(d):(n.prototype=d.prototype,new n)});Object.defineProperty(f,"__esModule",{value:!0}),f.CharacterJoinerRegistry=f.JoinedCellData=void 0;var h=b(6),u=b(3),i=b(4),a=function(o){function d(n,l,t){var s=o.call(this)||this;return s.content=0,s.combinedData="",s.fg=n.fg,s.bg=n.bg,s.combinedData=l,s._width=t,s}return y(d,o),d.prototype.isCombined=function(){return 2097152},d.prototype.getWidth=function(){return this._width},d.prototype.getChars=function(){return this.combinedData},d.prototype.getCode=function(){return 2097151},d.prototype.setFromCharData=function(n){throw new Error("not implemented")},d.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},d}(h.AttributeData);f.JoinedCellData=a;var r=function(){function o(d){this._bufferService=d,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new i.CellData}return o.prototype.registerCharacterJoiner=function(d){var n={id:this._nextCharacterJoinerId++,handler:d};return this._characterJoiners.push(n),n.id},o.prototype.deregisterCharacterJoiner=function(d){for(var n=0;n<this._characterJoiners.length;n++)if(this._characterJoiners[n].id===d)return this._characterJoiners.splice(n,1),!0;return!1},o.prototype.getJoinedCharacters=function(d){if(this._characterJoiners.length===0)return[];var n=this._bufferService.buffer.lines.get(d);if(!n||n.length===0)return[];for(var l=[],t=n.translateToString(!0),s=0,c=0,p=0,A=n.getFg(0),w=n.getBg(0),C=0;C<n.getTrimmedLength();C++)if(n.loadCell(C,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==A||this._workCell.bg!==w){if(C-s>1)for(var x=this._getJoinedRanges(t,p,c,n,s),E=0;E<x.length;E++)l.push(x[E]);s=C,p=c,A=this._workCell.fg,w=this._workCell.bg}c+=this._workCell.getChars().length||u.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-s>1)for(x=this._getJoinedRanges(t,p,c,n,s),E=0;E<x.length;E++)l.push(x[E]);return l},o.prototype._getJoinedRanges=function(d,n,l,t,s){for(var c=d.substring(n,l),p=this._characterJoiners[0].handler(c),A=1;A<this._characterJoiners.length;A++)for(var w=this._characterJoiners[A].handler(c),C=0;C<w.length;C++)o._mergeRanges(p,w[C]);return this._stringRangesToCellRanges(p,t,s),p},o.prototype._stringRangesToCellRanges=function(d,n,l){var t=0,s=!1,c=0,p=d[t];if(p){for(var A=l;A<this._bufferService.cols;A++){var w=n.getWidth(A),C=n.getString(A).length||u.WHITESPACE_CELL_CHAR.length;if(w!==0){if(!s&&p[0]<=c&&(p[0]=A,s=!0),p[1]<=c){if(p[1]=A,!(p=d[++t]))break;p[0]<=c?(p[0]=A,s=!0):s=!1}c+=C}}p&&(p[1]=this._bufferService.cols)}},o._mergeRanges=function(d,n){for(var l=!1,t=0;t<d.length;t++){var s=d[t];if(l){if(n[1]<=s[0])return d[t-1][1]=n[1],d;if(n[1]<=s[1])return d[t-1][1]=Math.max(n[1],s[1]),d.splice(t,1),d;d.splice(t,1),t--}else{if(n[1]<=s[0])return d.splice(t,0,n),d;if(n[1]<=s[1])return s[0]=Math.min(n[0],s[0]),d;n[0]<s[1]&&(s[0]=Math.min(n[0],s[0]),l=!0)}}return l?d[d.length-1][1]=n[1]:d.push(n),d},o}();f.CharacterJoinerRegistry=r},function(g,f,b){"use strict";function m(y,h){var u=h.getBoundingClientRect();return[y.clientX-u.left,y.clientY-u.top]}Object.defineProperty(f,"__esModule",{value:!0}),f.getRawByteCoords=f.getCoords=f.getCoordsRelativeToElement=void 0,f.getCoordsRelativeToElement=m,f.getCoords=function(y,h,u,i,a,r,o,d){if(a){var n=m(y,h);if(n)return n[0]=Math.ceil((n[0]+(d?r/2:0))/r),n[1]=Math.ceil(n[1]/o),n[0]=Math.min(Math.max(n[0],1),u+(d?1:0)),n[1]=Math.min(Math.max(n[1],1),i),n}},f.getRawByteCoords=function(y){if(y)return{x:y[0]+32,y:y[1]+32}}},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.RenderDebouncer=void 0;var m=function(){function y(h){this._renderCallback=h}return y.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},y.prototype.refresh=function(h,u,i){var a=this;this._rowCount=i,h=h!==void 0?h:0,u=u!==void 0?u:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,h):h,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,u):u,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return a._innerRefresh()}))},y.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var h=Math.max(this._rowStart,0),u=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(h,u)}},y}();f.RenderDebouncer=m},function(g,f,b){"use strict";var m,y=this&&this.__extends||(m=function(i,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var d in o)o.hasOwnProperty(d)&&(r[d]=o[d])})(i,a)},function(u,i){function a(){this.constructor=u}m(u,i),u.prototype=i===null?Object.create(i):(a.prototype=i.prototype,new a)});Object.defineProperty(f,"__esModule",{value:!0}),f.ScreenDprMonitor=void 0;var h=function(u){function i(){var a=u!==null&&u.apply(this,arguments)||this;return a._currentDevicePixelRatio=window.devicePixelRatio,a}return y(i,u),i.prototype.setListener=function(a){var r=this;this._listener&&this.clearListener(),this._listener=a,this._outerListener=function(){r._listener&&(r._listener(window.devicePixelRatio,r._currentDevicePixelRatio),r._updateDpr())},this._updateDpr()},i.prototype.dispose=function(){u.prototype.dispose.call(this),this.clearListener()},i.prototype._updateDpr=function(){var a;this._outerListener&&((a=this._resolutionMediaMatchList)===null||a===void 0||a.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},i.prototype.clearListener=function(){this._resolutionMediaMatchList&&this._listener&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._listener=void 0,this._outerListener=void 0)},i}(b(2).Disposable);f.ScreenDprMonitor=h},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.clone=void 0,f.clone=function m(y,h){if(h===void 0&&(h=5),typeof y!="object")return y;var u=Array.isArray(y)?[]:{};for(var i in y)u[i]=h<=1?y[i]:y[i]?m(y[i],h-1):y[i];return u}},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Terminal=void 0;var m=b(4),y=b(35),h=b(18),u=b(0),i=b(83),a=function(){function t(s){this._core=new y.Terminal(s),this._addonManager=new i.AddonManager}return t.prototype._checkProposedApi=function(){if(!this._core.optionsService.options.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")},Object.defineProperty(t.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new n(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"unicode",{get:function(){return this._checkProposedApi(),new l(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"buffer",{get:function(){return this._checkProposedApi(),new o(this._core.buffers)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),t.prototype.blur=function(){this._core.blur()},t.prototype.focus=function(){this._core.focus()},t.prototype.resize=function(s,c){this._verifyIntegers(s,c),this._core.resize(s,c)},t.prototype.open=function(s){this._core.open(s)},t.prototype.attachCustomKeyEventHandler=function(s){this._core.attachCustomKeyEventHandler(s)},t.prototype.registerLinkMatcher=function(s,c,p){return this._checkProposedApi(),this._core.registerLinkMatcher(s,c,p)},t.prototype.deregisterLinkMatcher=function(s){this._checkProposedApi(),this._core.deregisterLinkMatcher(s)},t.prototype.registerLinkProvider=function(s){return this._checkProposedApi(),this._core.registerLinkProvider(s)},t.prototype.registerCharacterJoiner=function(s){return this._checkProposedApi(),this._core.registerCharacterJoiner(s)},t.prototype.deregisterCharacterJoiner=function(s){this._checkProposedApi(),this._core.deregisterCharacterJoiner(s)},t.prototype.registerMarker=function(s){return this._checkProposedApi(),this._verifyIntegers(s),this._core.addMarker(s)},t.prototype.addMarker=function(s){return this.registerMarker(s)},t.prototype.hasSelection=function(){return this._core.hasSelection()},t.prototype.select=function(s,c,p){this._verifyIntegers(s,c,p),this._core.select(s,c,p)},t.prototype.getSelection=function(){return this._core.getSelection()},t.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},t.prototype.clearSelection=function(){this._core.clearSelection()},t.prototype.selectAll=function(){this._core.selectAll()},t.prototype.selectLines=function(s,c){this._verifyIntegers(s,c),this._core.selectLines(s,c)},t.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},t.prototype.scrollLines=function(s){this._verifyIntegers(s),this._core.scrollLines(s)},t.prototype.scrollPages=function(s){this._verifyIntegers(s),this._core.scrollPages(s)},t.prototype.scrollToTop=function(){this._core.scrollToTop()},t.prototype.scrollToBottom=function(){this._core.scrollToBottom()},t.prototype.scrollToLine=function(s){this._verifyIntegers(s),this._core.scrollToLine(s)},t.prototype.clear=function(){this._core.clear()},t.prototype.write=function(s,c){this._core.write(s,c)},t.prototype.writeUtf8=function(s,c){this._core.write(s,c)},t.prototype.writeln=function(s,c){this._core.write(s),this._core.write(`\r
`,c)},t.prototype.paste=function(s){this._core.paste(s)},t.prototype.getOption=function(s){return this._core.optionsService.getOption(s)},t.prototype.setOption=function(s,c){this._core.optionsService.setOption(s,c)},t.prototype.refresh=function(s,c){this._verifyIntegers(s,c),this._core.refresh(s,c)},t.prototype.reset=function(){this._core.reset()},t.prototype.loadAddon=function(s){return this._addonManager.loadAddon(this,s)},Object.defineProperty(t,"strings",{get:function(){return h},enumerable:!1,configurable:!0}),t.prototype._verifyIntegers=function(){for(var s=[],c=0;c<arguments.length;c++)s[c]=arguments[c];for(var p=0,A=s;p<A.length;p++){var w=A[p];if(w===1/0||isNaN(w)||w%1!=0)throw new Error("This API only accepts integers")}},t}();f.Terminal=a;var r=function(){function t(s,c){this._buffer=s,this.type=c}return t.prototype.init=function(s){return this._buffer=s,this},Object.defineProperty(t.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),t.prototype.getLine=function(s){var c=this._buffer.lines.get(s);if(c)return new d(c)},t.prototype.getNullCell=function(){return new m.CellData},t}(),o=function(){function t(s){var c=this;this._buffers=s,this._onBufferChange=new u.EventEmitter,this._normal=new r(this._buffers.normal,"normal"),this._alternate=new r(this._buffers.alt,"alternate"),this._buffers.onBufferActivate(function(){return c._onBufferChange.fire(c.active)})}return Object.defineProperty(t.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){if(this._buffers.active===this._buffers.normal)return this.normal;if(this._buffers.active===this._buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"normal",{get:function(){return this._normal.init(this._buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alternate",{get:function(){return this._alternate.init(this._buffers.alt)},enumerable:!1,configurable:!0}),t}(),d=function(){function t(s){this._line=s}return Object.defineProperty(t.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),t.prototype.getCell=function(s,c){if(!(s<0||s>=this._line.length))return c?(this._line.loadCell(s,c),c):this._line.loadCell(s,new m.CellData)},t.prototype.translateToString=function(s,c,p){return this._line.translateToString(s,c,p)},t}(),n=function(){function t(s){this._core=s}return t.prototype.registerCsiHandler=function(s,c){return this._core.addCsiHandler(s,function(p){return c(p.toArray())})},t.prototype.addCsiHandler=function(s,c){return this.registerCsiHandler(s,c)},t.prototype.registerDcsHandler=function(s,c){return this._core.addDcsHandler(s,function(p,A){return c(p,A.toArray())})},t.prototype.addDcsHandler=function(s,c){return this.registerDcsHandler(s,c)},t.prototype.registerEscHandler=function(s,c){return this._core.addEscHandler(s,c)},t.prototype.addEscHandler=function(s,c){return this.registerEscHandler(s,c)},t.prototype.registerOscHandler=function(s,c){return this._core.addOscHandler(s,c)},t.prototype.addOscHandler=function(s,c){return this.registerOscHandler(s,c)},t}(),l=function(){function t(s){this._core=s}return t.prototype.register=function(s){this._core.unicodeService.register(s)},Object.defineProperty(t.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(c){this._core.unicodeService.activeVersion=c},enumerable:!1,configurable:!0}),t}()},function(g,f,b){"use strict";var m,y=this&&this.__extends||(m=function(N,H){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(j,k){j.__proto__=k}||function(j,k){for(var B in k)k.hasOwnProperty(B)&&(j[B]=k[B])})(N,H)},function(W,N){function H(){this.constructor=W}m(W,N),W.prototype=N===null?Object.create(N):(H.prototype=N.prototype,new H)});Object.defineProperty(f,"__esModule",{value:!0}),f.Terminal=void 0;var h=b(36),u=b(37),i=b(38),a=b(12),r=b(19),o=b(40),d=b(50),n=b(51),l=b(11),t=b(7),s=b(18),c=b(54),p=b(55),A=b(56),w=b(57),C=b(59),x=b(0),E=b(16),T=b(27),_=b(60),v=b(5),S=b(61),O=b(62),L=b(63),M=b(64),F=b(65),U=typeof window!="undefined"?window.document:null,z=function(W){function N(H){H===void 0&&(H={});var j=W.call(this,H)||this;return j.browser=l,j._keyDownHandled=!1,j._onCursorMove=new x.EventEmitter,j._onKey=new x.EventEmitter,j._onRender=new x.EventEmitter,j._onSelectionChange=new x.EventEmitter,j._onTitleChange=new x.EventEmitter,j._onFocus=new x.EventEmitter,j._onBlur=new x.EventEmitter,j._onA11yCharEmitter=new x.EventEmitter,j._onA11yTabEmitter=new x.EventEmitter,j._setup(),j.linkifier=j._instantiationService.createInstance(d.Linkifier),j.linkifier2=j.register(j._instantiationService.createInstance(L.Linkifier2)),j.register(j._inputHandler.onRequestBell(function(){return j.bell()})),j.register(j._inputHandler.onRequestRefreshRows(function(k,B){return j.refresh(k,B)})),j.register(j._inputHandler.onRequestReset(function(){return j.reset()})),j.register(j._inputHandler.onRequestScroll(function(k,B){return j.scroll(k,B||void 0)})),j.register(j._inputHandler.onRequestWindowsOptionsReport(function(k){return j._reportWindowsOptions(k)})),j.register(x.forwardEvent(j._inputHandler.onCursorMove,j._onCursorMove)),j.register(x.forwardEvent(j._inputHandler.onTitleChange,j._onTitleChange)),j.register(x.forwardEvent(j._inputHandler.onA11yChar,j._onA11yCharEmitter)),j.register(x.forwardEvent(j._inputHandler.onA11yTab,j._onA11yTabEmitter)),j.register(j._bufferService.onResize(function(k){return j._afterResize(k.cols,k.rows)})),j}return y(N,W),Object.defineProperty(N.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),N.prototype.dispose=function(){var H,j,k;this._isDisposed||(W.prototype.dispose.call(this),(H=this._renderService)===null||H===void 0||H.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(k=(j=this.element)===null||j===void 0?void 0:j.parentNode)===null||k===void 0||k.removeChild(this.element))},N.prototype._setup=function(){W.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(N.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),N.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},N.prototype._updateOptions=function(H){var j,k,B,V;switch(W.prototype._updateOptions.call(this,H),H){case"fontFamily":case"fontSize":(j=this._renderService)===null||j===void 0||j.clear(),(k=this._charSizeService)===null||k===void 0||k.measure();break;case"cursorBlink":case"cursorStyle":this.refresh(this.buffer.y,this.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":this._renderService&&(this._renderService.clear(),this._renderService.onResize(this.cols,this.rows),this.refresh(0,this.rows-1));break;case"rendererType":this._renderService&&(this._renderService.setRenderer(this._createRenderer()),this._renderService.onResize(this.cols,this.rows));break;case"scrollback":(B=this.viewport)===null||B===void 0||B.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new A.AccessibilityManager(this,this._renderService)):((V=this._accessibilityManager)===null||V===void 0||V.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},N.prototype._onTextAreaFocus=function(H){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(a.C0.ESC+"[I"),this.updateCursorStyle(H),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},N.prototype.blur=function(){var H;return(H=this.textarea)===null||H===void 0?void 0:H.blur()},N.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(a.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},N.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var H=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),j=this._bufferService.buffer.y*H,k=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=k+"px",this.textarea.style.top=j+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=H+"px",this.textarea.style.lineHeight=H+"px",this.textarea.style.zIndex="-5"}},N.prototype._initGlobal=function(){var H=this;this._bindKeys(),this.register(t.addDisposableDomListener(this.element,"copy",function(k){H.hasSelection()&&i.copyHandler(k,H._selectionService)}));var j=function(B){return i.handlePasteEvent(B,H.textarea,H._coreService)};this.register(t.addDisposableDomListener(this.textarea,"paste",j)),this.register(t.addDisposableDomListener(this.element,"paste",j)),l.isFirefox?this.register(t.addDisposableDomListener(this.element,"mousedown",function(k){k.button===2&&i.rightClickHandler(k,H.textarea,H.screenElement,H._selectionService,H.options.rightClickSelectsWord)})):this.register(t.addDisposableDomListener(this.element,"contextmenu",function(k){i.rightClickHandler(k,H.textarea,H.screenElement,H._selectionService,H.options.rightClickSelectsWord)})),l.isLinux&&this.register(t.addDisposableDomListener(this.element,"auxclick",function(k){k.button===1&&i.moveTextAreaUnderMouseCursor(k,H.textarea,H.screenElement)}))},N.prototype._bindKeys=function(){var H=this;this.register(t.addDisposableDomListener(this.textarea,"keyup",function(j){return H._keyUp(j)},!0)),this.register(t.addDisposableDomListener(this.textarea,"keydown",function(j){return H._keyDown(j)},!0)),this.register(t.addDisposableDomListener(this.textarea,"keypress",function(j){return H._keyPress(j)},!0)),this.register(t.addDisposableDomListener(this.textarea,"compositionstart",function(){return H._compositionHelper.compositionstart()})),this.register(t.addDisposableDomListener(this.textarea,"compositionupdate",function(j){return H._compositionHelper.compositionupdate(j)})),this.register(t.addDisposableDomListener(this.textarea,"compositionend",function(){return H._compositionHelper.compositionend()})),this.register(this.onRender(function(){return H._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(j){return H._queueLinkification(j.start,j.end)}))},N.prototype.open=function(H){var j=this;if(!H)throw new Error("Terminal requires a parent element.");U.body.contains(H)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=H.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),H.appendChild(this.element);var k=U.createDocumentFragment();this._viewportElement=U.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),k.appendChild(this._viewportElement),this._viewportScrollArea=U.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=U.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=U.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),k.appendChild(this.screenElement),this.textarea=U.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",s.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(t.addDisposableDomListener(this.textarea,"focus",function(K){return j._onTextAreaFocus(K)})),this.register(t.addDisposableDomListener(this.textarea,"blur",function(){return j._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var B=this._instantiationService.createInstance(M.CoreBrowserService,this.textarea);this._instantiationService.setService(v.ICoreBrowserService,B),this._charSizeService=this._instantiationService.createInstance(S.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(v.ICharSizeService,this._charSizeService),this._compositionView=U.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(h.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(k),this._theme=this.options.theme||this._theme,this._colorManager=new T.ColorManager(U,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(K){return j._colorManager.onOptionsChange(K)})),this._colorManager.setTheme(this._theme);var V=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(_.RenderService,V,this.rows,this.screenElement)),this._instantiationService.setService(v.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(K){return j._onRender.fire(K)})),this.onResize(function(K){return j._renderService.resize(K.cols,K.rows)}),this._soundService=this._instantiationService.createInstance(c.SoundService),this._instantiationService.setService(v.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(O.MouseService),this._instantiationService.setService(v.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(u.Viewport,function(K,Y){return j.scrollLines(K,Y)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return j.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){j._renderService.onCursorMove(),j._syncTextArea()})),this.register(this.onResize(function(){return j._renderService.onResize(j.cols,j.rows)})),this.register(this.onBlur(function(){return j._renderService.onBlur()})),this.register(this.onFocus(function(){return j._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return j.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(n.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(v.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(K){return j.scrollLines(K.amount,K.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return j._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(K){return j._renderService.onSelectionChanged(K.start,K.end,K.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(K){j.textarea.value=K,j.textarea.focus(),j.textarea.select()})),this.register(this.onScroll(function(){j.viewport.syncScrollArea(),j._selectionService.refresh()})),this.register(t.addDisposableDomListener(this._viewportElement,"scroll",function(){return j._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(p.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return j._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(t.addDisposableDomListener(this.element,"mousedown",function(K){return j._selectionService.onMouseDown(K)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new A.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},N.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(o.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(w.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},N.prototype._setTheme=function(H){var j,k,B;this._theme=H,(j=this._colorManager)===null||j===void 0||j.setTheme(H),(k=this._renderService)===null||k===void 0||k.setColors(this._colorManager.colors),(B=this.viewport)===null||B===void 0||B.onThemeChange(this._colorManager.colors)},N.prototype.bindMouse=function(){var H=this,j=this,k=this.element;function B(G){var ye,Ae,ge=j._mouseService.getRawByteCoords(G,j.screenElement,j.cols,j.rows);if(!ge)return!1;switch(G.overrideType||G.type){case"mousemove":Ae=32,G.buttons===void 0?(ye=3,G.button!==void 0&&(ye=G.button<3?G.button:3)):ye=1&G.buttons?0:4&G.buttons?1:2&G.buttons?2:3;break;case"mouseup":Ae=0,ye=G.button<3?G.button:3;break;case"mousedown":Ae=1,ye=G.button<3?G.button:3;break;case"wheel":G.deltaY!==0&&(Ae=G.deltaY<0?0:1),ye=4;break;default:return!1}return!(Ae===void 0||ye===void 0||ye>4)&&j._coreMouseService.triggerMouseEvent({col:ge.x-33,row:ge.y-33,button:ye,action:Ae,ctrl:G.ctrlKey,alt:G.altKey,shift:G.shiftKey})}var V={mouseup:null,wheel:null,mousedrag:null,mousemove:null},K=function(ye){return B(ye),ye.buttons||(H._document.removeEventListener("mouseup",V.mouseup),V.mousedrag&&H._document.removeEventListener("mousemove",V.mousedrag)),H.cancel(ye)},Y=function(ye){return B(ye),ye.preventDefault(),H.cancel(ye)},Q=function(ye){ye.buttons&&B(ye)},he=function(ye){ye.buttons||B(ye)};this.register(this._coreMouseService.onProtocolChange(function(G){G?(H.optionsService.options.logLevel==="debug"&&H._logService.debug("Binding to mouse events:",H._coreMouseService.explainEvents(G)),H.element.classList.add("enable-mouse-events"),H._selectionService.disable()):(H._logService.debug("Unbinding from mouse events."),H.element.classList.remove("enable-mouse-events"),H._selectionService.enable()),8&G?V.mousemove||(k.addEventListener("mousemove",he),V.mousemove=he):(k.removeEventListener("mousemove",V.mousemove),V.mousemove=null),16&G?V.wheel||(k.addEventListener("wheel",Y,{passive:!1}),V.wheel=Y):(k.removeEventListener("wheel",V.wheel),V.wheel=null),2&G?V.mouseup||(V.mouseup=K):(H._document.removeEventListener("mouseup",V.mouseup),V.mouseup=null),4&G?V.mousedrag||(V.mousedrag=Q):(H._document.removeEventListener("mousemove",V.mousedrag),V.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(t.addDisposableDomListener(k,"mousedown",function(G){if(G.preventDefault(),H.focus(),H._coreMouseService.areMouseEventsActive&&!H._selectionService.shouldForceSelection(G))return B(G),V.mouseup&&H._document.addEventListener("mouseup",V.mouseup),V.mousedrag&&H._document.addEventListener("mousemove",V.mousedrag),H.cancel(G)})),this.register(t.addDisposableDomListener(k,"wheel",function(G){if(!V.wheel){if(!H.buffer.hasScrollback){var ye=H.viewport.getLinesScrolled(G);if(ye===0)return;for(var Ae=a.C0.ESC+(H._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(G.deltaY<0?"A":"B"),ge="",Pe=0;Pe<Math.abs(ye);Pe++)ge+=Ae;H._coreService.triggerDataEvent(ge,!0)}}},{passive:!0})),this.register(t.addDisposableDomListener(k,"wheel",function(G){if(!V.wheel)return H.viewport.onWheel(G)?void 0:H.cancel(G)},{passive:!1})),this.register(t.addDisposableDomListener(k,"touchstart",function(G){if(!H._coreMouseService.areMouseEventsActive)return H.viewport.onTouchStart(G),H.cancel(G)},{passive:!0})),this.register(t.addDisposableDomListener(k,"touchmove",function(G){if(!H._coreMouseService.areMouseEventsActive)return H.viewport.onTouchMove(G)?void 0:H.cancel(G)},{passive:!1}))},N.prototype.refresh=function(H,j){var k;(k=this._renderService)===null||k===void 0||k.refreshRows(H,j)},N.prototype._queueLinkification=function(H,j){var k;(k=this.linkifier)===null||k===void 0||k.linkifyRows(H,j)},N.prototype.updateCursorStyle=function(H){this._selectionService&&this._selectionService.shouldColumnSelect(H)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},N.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},N.prototype.scrollLines=function(H,j){W.prototype.scrollLines.call(this,H,j),this.refresh(0,this.rows-1)},N.prototype.paste=function(H){i.paste(H,this.textarea,this._coreService)},N.prototype.attachCustomKeyEventHandler=function(H){this._customKeyEventHandler=H},N.prototype.registerLinkMatcher=function(H,j,k){var B=this.linkifier.registerLinkMatcher(H,j,k);return this.refresh(0,this.rows-1),B},N.prototype.deregisterLinkMatcher=function(H){this.linkifier.deregisterLinkMatcher(H)&&this.refresh(0,this.rows-1)},N.prototype.registerLinkProvider=function(H){return this.linkifier2.registerLinkProvider(H)},N.prototype.registerCharacterJoiner=function(H){var j=this._renderService.registerCharacterJoiner(H);return this.refresh(0,this.rows-1),j},N.prototype.deregisterCharacterJoiner=function(H){this._renderService.deregisterCharacterJoiner(H)&&this.refresh(0,this.rows-1)},Object.defineProperty(N.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),N.prototype.addMarker=function(H){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+H)},N.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},N.prototype.select=function(H,j,k){this._selectionService.setSelection(H,j,k)},N.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},N.prototype.getSelectionPosition=function(){if(this._selectionService&&this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},N.prototype.clearSelection=function(){var H;(H=this._selectionService)===null||H===void 0||H.clearSelection()},N.prototype.selectAll=function(){var H;(H=this._selectionService)===null||H===void 0||H.selectAll()},N.prototype.selectLines=function(H,j){var k;(k=this._selectionService)===null||k===void 0||k.selectLines(H,j)},N.prototype._keyDown=function(H){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(H)===!1)return!1;if(!this._compositionHelper.keydown(H))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var j=C.evaluateKeyboardEvent(H,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(H),j.type===3||j.type===2){var k=this.rows-1;return this.scrollLines(j.type===2?-k:k),this.cancel(H,!0)}return j.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,H)||(j.cancel&&this.cancel(H,!0),!j.key||(j.key!==a.C0.ETX&&j.key!==a.C0.CR||(this.textarea.value=""),this._onKey.fire({key:j.key,domEvent:H}),this._showCursor(),this._coreService.triggerDataEvent(j.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(H,!0)))},N.prototype._isThirdLevelShift=function(H,j){var k=H.isMac&&!this.options.macOptionIsMeta&&j.altKey&&!j.ctrlKey&&!j.metaKey||H.isWindows&&j.altKey&&j.ctrlKey&&!j.metaKey;return j.type==="keypress"?k:k&&(!j.keyCode||j.keyCode>47)},N.prototype._keyUp=function(H){this._customKeyEventHandler&&this._customKeyEventHandler(H)===!1||(function(j){return j.keyCode===16||j.keyCode===17||j.keyCode===18}(H)||this.focus(),this.updateCursorStyle(H))},N.prototype._keyPress=function(H){var j;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&this._customKeyEventHandler(H)===!1)return!1;if(this.cancel(H),H.charCode)j=H.charCode;else if(H.which===null||H.which===void 0)j=H.keyCode;else{if(H.which===0||H.charCode===0)return!1;j=H.which}return!(!j||(H.altKey||H.ctrlKey||H.metaKey)&&!this._isThirdLevelShift(this.browser,H))&&(j=String.fromCharCode(j),this._onKey.fire({key:j,domEvent:H}),this._showCursor(),this._coreService.triggerDataEvent(j,!0),!0)},N.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},N.prototype.resize=function(H,j){H!==this.cols||j!==this.rows?W.prototype.resize.call(this,H,j):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},N.prototype._afterResize=function(H,j){var k,B;(k=this._charSizeService)===null||k===void 0||k.measure(),(B=this.viewport)===null||B===void 0||B.syncScrollArea(!0)},N.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var H=1;H<this.rows;H++)this.buffer.lines.push(this.buffer.getBlankLine(E.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},N.prototype.reset=function(){var H,j;this.options.rows=this.rows,this.options.cols=this.cols;var k=this._customKeyEventHandler;this._setup(),W.prototype.reset.call(this),(H=this._selectionService)===null||H===void 0||H.reset(),this._customKeyEventHandler=k,this.refresh(0,this.rows-1),(j=this.viewport)===null||j===void 0||j.syncScrollArea()},N.prototype._reportWindowsOptions=function(H){if(this._renderService)switch(H){case r.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var j=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),k=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(a.C0.ESC+"[4;"+k+";"+j+"t");break;case r.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var B=this._renderService.dimensions.scaledCellWidth.toFixed(0),V=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(a.C0.ESC+"[6;"+V+";"+B+"t")}},N.prototype.cancel=function(H,j){if(this.options.cancelEvents||j)return H.preventDefault(),H.stopPropagation(),!1},N.prototype._visualBell=function(){return!1},N.prototype._soundBell=function(){return this.options.bellStyle==="sound"},N}(F.CoreTerminal);f.Terminal=z},function(g,f,b){"use strict";var m=this&&this.__decorate||function(a,r,o,d){var n,l=arguments.length,t=l<3?r:d===null?d=Object.getOwnPropertyDescriptor(r,o):d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(a,r,o,d);else for(var s=a.length-1;s>=0;s--)(n=a[s])&&(t=(l<3?n(t):l>3?n(r,o,t):n(r,o))||t);return l>3&&t&&Object.defineProperty(r,o,t),t},y=this&&this.__param||function(a,r){return function(o,d){r(o,d,a)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CompositionHelper=void 0;var h=b(5),u=b(1),i=function(){function a(r,o,d,n,l,t){this._textarea=r,this._compositionView=o,this._bufferService=d,this._optionsService=n,this._charSizeService=l,this._coreService=t,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(a.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),a.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},a.prototype.compositionupdate=function(r){var o=this;this._compositionView.textContent=r.data,this.updateCompositionElements(),setTimeout(function(){o._compositionPosition.end=o._textarea.value.length},0)},a.prototype.compositionend=function(){this._finalizeComposition(!0)},a.prototype.keydown=function(r){if(this._isComposing||this._isSendingComposition){if(r.keyCode===229)return!1;if(r.keyCode===16||r.keyCode===17||r.keyCode===18)return!1;this._finalizeComposition(!1)}return r.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},a.prototype._finalizeComposition=function(r){var o=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,r){var d={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(o._isSendingComposition){o._isSendingComposition=!1;var l=void 0;l=o._isComposing?o._textarea.value.substring(d.start,d.end):o._textarea.value.substring(d.start),o._coreService.triggerDataEvent(l,!0)}},0)}else{this._isSendingComposition=!1;var n=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(n,!0)}},a.prototype._handleAnyTextareaChanges=function(){var r=this,o=this._textarea.value;setTimeout(function(){if(!r._isComposing){var d=r._textarea.value.replace(o,"");d.length>0&&r._coreService.triggerDataEvent(d,!0)}},0)},a.prototype.updateCompositionElements=function(r){var o=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var d=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),n=this._bufferService.buffer.y*d,l=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=l+"px",this._compositionView.style.top=n+"px",this._compositionView.style.height=d+"px",this._compositionView.style.lineHeight=d+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var t=this._compositionView.getBoundingClientRect();this._textarea.style.left=l+"px",this._textarea.style.top=n+"px",this._textarea.style.width=t.width+"px",this._textarea.style.height=t.height+"px",this._textarea.style.lineHeight=t.height+"px"}r||setTimeout(function(){return o.updateCompositionElements(!0)},0)}},a=m([y(2,u.IBufferService),y(3,u.IOptionsService),y(4,h.ICharSizeService),y(5,u.ICoreService)],a)}();f.CompositionHelper=i},function(g,f,b){"use strict";var m,y=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,c){s.__proto__=c}||function(s,c){for(var p in c)c.hasOwnProperty(p)&&(s[p]=c[p])})(l,t)},function(n,l){function t(){this.constructor=n}m(n,l),n.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)}),h=this&&this.__decorate||function(n,l,t,s){var c,p=arguments.length,A=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(n,l,t,s);else for(var w=n.length-1;w>=0;w--)(c=n[w])&&(A=(p<3?c(A):p>3?c(l,t,A):c(l,t))||A);return p>3&&A&&Object.defineProperty(l,t,A),A},u=this&&this.__param||function(n,l){return function(t,s){l(t,s,n)}};Object.defineProperty(f,"__esModule",{value:!0}),f.Viewport=void 0;var i=b(2),a=b(7),r=b(5),o=b(1),d=function(n){function l(t,s,c,p,A,w,C){var x=n.call(this)||this;return x._scrollLines=t,x._viewportElement=s,x._scrollArea=c,x._bufferService=p,x._optionsService=A,x._charSizeService=w,x._renderService=C,x.scrollBarWidth=0,x._currentRowHeight=0,x._lastRecordedBufferLength=0,x._lastRecordedViewportHeight=0,x._lastRecordedBufferHeight=0,x._lastTouchY=0,x._lastScrollTop=0,x._wheelPartialScroll=0,x._refreshAnimationFrame=null,x._ignoreNextScrollEvent=!1,x.scrollBarWidth=x._viewportElement.offsetWidth-x._scrollArea.offsetWidth||15,x.register(a.addDisposableDomListener(x._viewportElement,"scroll",x._onScroll.bind(x))),setTimeout(function(){return x.syncScrollArea()},0),x}return y(l,n),l.prototype.onThemeChange=function(t){this._viewportElement.style.backgroundColor=t.background.css},l.prototype._refresh=function(t){var s=this;if(t)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return s._innerRefresh()}))},l.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var t=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==t&&(this._lastRecordedBufferHeight=t,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var s=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==s&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=s),this._refreshAnimationFrame=null},l.prototype.syncScrollArea=function(t){if(t===void 0&&(t=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(t);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var s=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===s&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(t)}else this._refresh(t)},l.prototype._onScroll=function(t){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var s=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(s,!0)}},l.prototype._bubbleScroll=function(t,s){var c=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(s<0&&this._viewportElement.scrollTop!==0||s>0&&c<this._lastRecordedBufferHeight)||(t.cancelable&&t.preventDefault(),!1)},l.prototype.onWheel=function(t){var s=this._getPixelsScrolled(t);return s!==0&&(this._viewportElement.scrollTop+=s,this._bubbleScroll(t,s))},l.prototype._getPixelsScrolled=function(t){if(t.deltaY===0)return 0;var s=this._applyScrollModifier(t.deltaY,t);return t.deltaMode===WheelEvent.DOM_DELTA_LINE?s*=this._currentRowHeight:t.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(s*=this._currentRowHeight*this._bufferService.rows),s},l.prototype.getLinesScrolled=function(t){if(t.deltaY===0)return 0;var s=this._applyScrollModifier(t.deltaY,t);return t.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(s/=this._currentRowHeight+0,this._wheelPartialScroll+=s,s=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):t.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(s*=this._bufferService.rows),s},l.prototype._applyScrollModifier=function(t,s){var c=this._optionsService.options.fastScrollModifier;return c==="alt"&&s.altKey||c==="ctrl"&&s.ctrlKey||c==="shift"&&s.shiftKey?t*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:t*this._optionsService.options.scrollSensitivity},l.prototype.onTouchStart=function(t){this._lastTouchY=t.touches[0].pageY},l.prototype.onTouchMove=function(t){var s=this._lastTouchY-t.touches[0].pageY;return this._lastTouchY=t.touches[0].pageY,s!==0&&(this._viewportElement.scrollTop+=s,this._bubbleScroll(t,s))},l=h([u(3,o.IBufferService),u(4,o.IOptionsService),u(5,r.ICharSizeService),u(6,r.IRenderService)],l)}(i.Disposable);f.Viewport=d},function(g,f,b){"use strict";function m(i){return i.replace(/\r?\n/g,"\r")}function y(i,a){return a?"[200~"+i+"[201~":i}function h(i,a,r){i=y(i=m(i),r.decPrivateModes.bracketedPasteMode),r.triggerDataEvent(i,!0),a.value=""}function u(i,a,r){var o=r.getBoundingClientRect(),d=i.clientX-o.left-10,n=i.clientY-o.top-10;a.style.width="20px",a.style.height="20px",a.style.left=d+"px",a.style.top=n+"px",a.style.zIndex="1000",a.focus()}Object.defineProperty(f,"__esModule",{value:!0}),f.rightClickHandler=f.moveTextAreaUnderMouseCursor=f.paste=f.handlePasteEvent=f.copyHandler=f.bracketTextForPaste=f.prepareTextForTerminal=void 0,f.prepareTextForTerminal=m,f.bracketTextForPaste=y,f.copyHandler=function(i,a){i.clipboardData&&i.clipboardData.setData("text/plain",a.selectionText),i.preventDefault()},f.handlePasteEvent=function(i,a,r){i.stopPropagation(),i.clipboardData&&h(i.clipboardData.getData("text/plain"),a,r)},f.paste=h,f.moveTextAreaUnderMouseCursor=u,f.rightClickHandler=function(i,a,r,o,d){u(i,a,r),d&&!o.isClickInSelection(i)&&o.selectWordAtCursor(i),a.value=o.selectionText,a.select()}},function(g,f,b){"use strict";var m,y=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,c){s.__proto__=c}||function(s,c){for(var p in c)c.hasOwnProperty(p)&&(s[p]=c[p])})(l,t)},function(n,l){function t(){this.constructor=n}m(n,l),n.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)});Object.defineProperty(f,"__esModule",{value:!0}),f.EscapeSequenceParser=f.VT500_TRANSITION_TABLE=f.TransitionTable=void 0;var h=b(2),u=b(15),i=b(21),a=b(22),r=b(24),o=function(){function n(l){this.table=new Uint8Array(l)}return n.prototype.setDefault=function(l,t){u.fill(this.table,l<<4|t)},n.prototype.add=function(l,t,s,c){this.table[t<<8|l]=s<<4|c},n.prototype.addMany=function(l,t,s,c){for(var p=0;p<l.length;p++)this.table[t<<8|l[p]]=s<<4|c},n}();f.TransitionTable=o,f.VT500_TRANSITION_TABLE=function(){var n=new o(4095),l=Array.apply(null,Array(256)).map(function(w,C){return C}),t=function(C,x){return l.slice(C,x)},s=t(32,127),c=t(0,24);c.push(25),c.push.apply(c,t(28,32));var p,A=t(0,14);for(p in n.setDefault(1,0),n.addMany(s,0,2,0),A)n.addMany([24,26,153,154],p,3,0),n.addMany(t(128,144),p,3,0),n.addMany(t(144,152),p,3,0),n.add(156,p,0,0),n.add(27,p,11,1),n.add(157,p,4,8),n.addMany([152,158,159],p,0,7),n.add(155,p,11,3),n.add(144,p,11,9);return n.addMany(c,0,3,0),n.addMany(c,1,3,1),n.add(127,1,0,1),n.addMany(c,8,0,8),n.addMany(c,3,3,3),n.add(127,3,0,3),n.addMany(c,4,3,4),n.add(127,4,0,4),n.addMany(c,6,3,6),n.addMany(c,5,3,5),n.add(127,5,0,5),n.addMany(c,2,3,2),n.add(127,2,0,2),n.add(93,1,4,8),n.addMany(s,8,5,8),n.add(127,8,5,8),n.addMany([156,27,24,26,7],8,6,0),n.addMany(t(28,32),8,0,8),n.addMany([88,94,95],1,0,7),n.addMany(s,7,0,7),n.addMany(c,7,0,7),n.add(156,7,0,0),n.add(127,7,0,7),n.add(91,1,11,3),n.addMany(t(64,127),3,7,0),n.addMany(t(48,60),3,8,4),n.addMany([60,61,62,63],3,9,4),n.addMany(t(48,60),4,8,4),n.addMany(t(64,127),4,7,0),n.addMany([60,61,62,63],4,0,6),n.addMany(t(32,64),6,0,6),n.add(127,6,0,6),n.addMany(t(64,127),6,0,0),n.addMany(t(32,48),3,9,5),n.addMany(t(32,48),5,9,5),n.addMany(t(48,64),5,0,6),n.addMany(t(64,127),5,7,0),n.addMany(t(32,48),4,9,5),n.addMany(t(32,48),1,9,2),n.addMany(t(32,48),2,9,2),n.addMany(t(48,127),2,10,0),n.addMany(t(48,80),1,10,0),n.addMany(t(81,88),1,10,0),n.addMany([89,90,92],1,10,0),n.addMany(t(96,127),1,10,0),n.add(80,1,11,9),n.addMany(c,9,0,9),n.add(127,9,0,9),n.addMany(t(28,32),9,0,9),n.addMany(t(32,48),9,9,12),n.addMany(t(48,60),9,8,10),n.addMany([60,61,62,63],9,9,10),n.addMany(c,11,0,11),n.addMany(t(32,128),11,0,11),n.addMany(t(28,32),11,0,11),n.addMany(c,10,0,10),n.add(127,10,0,10),n.addMany(t(28,32),10,0,10),n.addMany(t(48,60),10,8,10),n.addMany([60,61,62,63],10,0,11),n.addMany(t(32,48),10,9,12),n.addMany(c,12,0,12),n.add(127,12,0,12),n.addMany(t(28,32),12,0,12),n.addMany(t(32,48),12,9,12),n.addMany(t(48,64),12,0,11),n.addMany(t(64,127),12,12,13),n.addMany(t(64,127),10,12,13),n.addMany(t(64,127),9,12,13),n.addMany(c,13,13,13),n.addMany(s,13,13,13),n.add(127,13,0,13),n.addMany([27,156,24,26],13,14,0),n.add(160,0,2,0),n.add(160,8,5,8),n.add(160,6,0,6),n.add(160,11,0,11),n.add(160,13,13,13),n}();var d=function(n){function l(t){t===void 0&&(t=f.VT500_TRANSITION_TABLE);var s=n.call(this)||this;return s._transitions=t,s.initialState=0,s.currentState=s.initialState,s._params=new i.Params,s._params.addParam(0),s._collect=0,s.precedingCodepoint=0,s._printHandlerFb=function(c,p,A){},s._executeHandlerFb=function(c){},s._csiHandlerFb=function(c,p){},s._escHandlerFb=function(c){},s._errorHandlerFb=function(c){return c},s._printHandler=s._printHandlerFb,s._executeHandlers=Object.create(null),s._csiHandlers=Object.create(null),s._escHandlers=Object.create(null),s._oscParser=new a.OscParser,s._dcsParser=new r.DcsParser,s._errorHandler=s._errorHandlerFb,s.setEscHandler({final:"\\"},function(){}),s}return y(l,n),l.prototype._identifier=function(t,s){s===void 0&&(s=[64,126]);var c=0;if(t.prefix){if(t.prefix.length>1)throw new Error("only one byte as prefix supported");if((c=t.prefix.charCodeAt(0))&&60>c||c>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(t.intermediates){if(t.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var p=0;p<t.intermediates.length;++p){var A=t.intermediates.charCodeAt(p);if(32>A||A>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");c<<=8,c|=A}}if(t.final.length!==1)throw new Error("final must be a single byte");var w=t.final.charCodeAt(0);if(s[0]>w||w>s[1])throw new Error("final must be in range "+s[0]+" .. "+s[1]);return c<<=8,c|=w},l.prototype.identToString=function(t){for(var s=[];t;)s.push(String.fromCharCode(255&t)),t>>=8;return s.reverse().join("")},l.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},l.prototype.setPrintHandler=function(t){this._printHandler=t},l.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},l.prototype.addEscHandler=function(t,s){var c=this._identifier(t,[48,126]);this._escHandlers[c]===void 0&&(this._escHandlers[c]=[]);var p=this._escHandlers[c];return p.push(s),{dispose:function(){var w=p.indexOf(s);w!==-1&&p.splice(w,1)}}},l.prototype.setEscHandler=function(t,s){this._escHandlers[this._identifier(t,[48,126])]=[s]},l.prototype.clearEscHandler=function(t){this._escHandlers[this._identifier(t,[48,126])]&&delete this._escHandlers[this._identifier(t,[48,126])]},l.prototype.setEscHandlerFallback=function(t){this._escHandlerFb=t},l.prototype.setExecuteHandler=function(t,s){this._executeHandlers[t.charCodeAt(0)]=s},l.prototype.clearExecuteHandler=function(t){this._executeHandlers[t.charCodeAt(0)]&&delete this._executeHandlers[t.charCodeAt(0)]},l.prototype.setExecuteHandlerFallback=function(t){this._executeHandlerFb=t},l.prototype.addCsiHandler=function(t,s){var c=this._identifier(t);this._csiHandlers[c]===void 0&&(this._csiHandlers[c]=[]);var p=this._csiHandlers[c];return p.push(s),{dispose:function(){var w=p.indexOf(s);w!==-1&&p.splice(w,1)}}},l.prototype.setCsiHandler=function(t,s){this._csiHandlers[this._identifier(t)]=[s]},l.prototype.clearCsiHandler=function(t){this._csiHandlers[this._identifier(t)]&&delete this._csiHandlers[this._identifier(t)]},l.prototype.setCsiHandlerFallback=function(t){this._csiHandlerFb=t},l.prototype.addDcsHandler=function(t,s){return this._dcsParser.addHandler(this._identifier(t),s)},l.prototype.setDcsHandler=function(t,s){this._dcsParser.setHandler(this._identifier(t),s)},l.prototype.clearDcsHandler=function(t){this._dcsParser.clearHandler(this._identifier(t))},l.prototype.setDcsHandlerFallback=function(t){this._dcsParser.setHandlerFallback(t)},l.prototype.addOscHandler=function(t,s){return this._oscParser.addHandler(t,s)},l.prototype.setOscHandler=function(t,s){this._oscParser.setHandler(t,s)},l.prototype.clearOscHandler=function(t){this._oscParser.clearHandler(t)},l.prototype.setOscHandlerFallback=function(t){this._oscParser.setHandlerFallback(t)},l.prototype.setErrorHandler=function(t){this._errorHandler=t},l.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},l.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},l.prototype.parse=function(t,s){for(var c=0,p=0,A=this.currentState,w=this._oscParser,C=this._dcsParser,x=this._collect,E=this._params,T=this._transitions.table,_=0;_<s;++_){switch((p=T[A<<8|((c=t[_])<160?c:160)])>>4){case 2:for(var v=_+1;;++v){if(v>=s||(c=t[v])<32||c>126&&c<160){this._printHandler(t,_,v),_=v-1;break}if(++v>=s||(c=t[v])<32||c>126&&c<160){this._printHandler(t,_,v),_=v-1;break}if(++v>=s||(c=t[v])<32||c>126&&c<160){this._printHandler(t,_,v),_=v-1;break}if(++v>=s||(c=t[v])<32||c>126&&c<160){this._printHandler(t,_,v),_=v-1;break}}break;case 3:this._executeHandlers[c]?this._executeHandlers[c]():this._executeHandlerFb(c),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:_,code:c,currentState:A,collect:x,params:E,abort:!1}).abort)return;break;case 7:for(var S=this._csiHandlers[x<<8|c],O=S?S.length-1:-1;O>=0&&S[O](E)===!1;O--);O<0&&this._csiHandlerFb(x<<8|c,E),this.precedingCodepoint=0;break;case 8:do switch(c){case 59:E.addParam(0);break;case 58:E.addSubParam(-1);break;default:E.addDigit(c-48)}while(++_<s&&(c=t[_])>47&&c<60);_--;break;case 9:x<<=8,x|=c;break;case 10:for(var L=this._escHandlers[x<<8|c],M=L?L.length-1:-1;M>=0&&L[M]()===!1;M--);M<0&&this._escHandlerFb(x<<8|c),this.precedingCodepoint=0;break;case 11:E.reset(),E.addParam(0),x=0;break;case 12:C.hook(x<<8|c,E);break;case 13:for(var F=_+1;;++F)if(F>=s||(c=t[F])===24||c===26||c===27||c>127&&c<160){C.put(t,_,F),_=F-1;break}break;case 14:C.unhook(c!==24&&c!==26),c===27&&(p|=1),E.reset(),E.addParam(0),x=0,this.precedingCodepoint=0;break;case 4:w.start();break;case 5:for(var U=_+1;;U++)if(U>=s||(c=t[U])<32||c>127&&c<=159){w.put(t,_,U),_=U-1;break}break;case 6:w.end(c!==24&&c!==26),c===27&&(p|=1),E.reset(),E.addParam(0),x=0,this.precedingCodepoint=0}A=15&p}this._collect=x,this.currentState=A},l}(h.Disposable);f.EscapeSequenceParser=d},function(g,f,b){"use strict";var m,y=this&&this.__extends||(m=function(C,x){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,T){E.__proto__=T}||function(E,T){for(var _ in T)T.hasOwnProperty(_)&&(E[_]=T[_])})(C,x)},function(w,C){function x(){this.constructor=w}m(w,C),w.prototype=C===null?Object.create(C):(x.prototype=C.prototype,new x)}),h=this&&this.__decorate||function(w,C,x,E){var T,_=arguments.length,v=_<3?C:E===null?E=Object.getOwnPropertyDescriptor(C,x):E;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")v=Reflect.decorate(w,C,x,E);else for(var S=w.length-1;S>=0;S--)(T=w[S])&&(v=(_<3?T(v):_>3?T(C,x,v):T(C,x))||v);return _>3&&v&&Object.defineProperty(C,x,v),v},u=this&&this.__param||function(w,C){return function(x,E){C(x,E,w)}};Object.defineProperty(f,"__esModule",{value:!0}),f.Renderer=void 0;var i=b(41),a=b(47),r=b(48),o=b(49),d=b(29),n=b(2),l=b(5),t=b(1),s=b(25),c=b(0),p=1,A=function(w){function C(x,E,T,_,v,S,O,L,M){var F=w.call(this)||this;F._colors=x,F._screenElement=E,F._bufferService=v,F._charSizeService=S,F._optionsService=O,F._id=p++,F._onRequestRedraw=new c.EventEmitter;var U=F._optionsService.options.allowTransparency;return F._characterJoinerRegistry=new d.CharacterJoinerRegistry(F._bufferService),F._renderLayers=[new i.TextRenderLayer(F._screenElement,0,F._colors,F._characterJoinerRegistry,U,F._id,F._bufferService,O),new a.SelectionRenderLayer(F._screenElement,1,F._colors,F._id,F._bufferService,O),new o.LinkRenderLayer(F._screenElement,2,F._colors,F._id,T,_,F._bufferService,O),new r.CursorRenderLayer(F._screenElement,3,F._colors,F._id,F._onRequestRedraw,F._bufferService,O,L,M)],F.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},F._devicePixelRatio=window.devicePixelRatio,F._updateDimensions(),F.onOptionsChanged(),F}return y(C,w),Object.defineProperty(C.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),C.prototype.dispose=function(){for(var x=0,E=this._renderLayers;x<E.length;x++)E[x].dispose();w.prototype.dispose.call(this),s.removeTerminalFromCache(this._id)},C.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},C.prototype.setColors=function(x){this._colors=x;for(var E=0,T=this._renderLayers;E<T.length;E++){var _=T[E];_.setColors(this._colors),_.reset()}},C.prototype.onResize=function(x,E){this._updateDimensions();for(var T=0,_=this._renderLayers;T<_.length;T++)_[T].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},C.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},C.prototype.onBlur=function(){this._runOperation(function(x){return x.onBlur()})},C.prototype.onFocus=function(){this._runOperation(function(x){return x.onFocus()})},C.prototype.onSelectionChanged=function(x,E,T){T===void 0&&(T=!1),this._runOperation(function(_){return _.onSelectionChanged(x,E,T)})},C.prototype.onCursorMove=function(){this._runOperation(function(x){return x.onCursorMove()})},C.prototype.onOptionsChanged=function(){this._runOperation(function(x){return x.onOptionsChanged()})},C.prototype.clear=function(){this._runOperation(function(x){return x.reset()})},C.prototype._runOperation=function(x){for(var E=0,T=this._renderLayers;E<T.length;E++)x(T[E])},C.prototype.renderRows=function(x,E){for(var T=0,_=this._renderLayers;T<_.length;T++)_[T].onGridChanged(x,E)},C.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharTop=this._optionsService.options.lineHeight===1?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.options.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},C.prototype.registerCharacterJoiner=function(x){return this._characterJoinerRegistry.registerCharacterJoiner(x)},C.prototype.deregisterCharacterJoiner=function(x){return this._characterJoinerRegistry.deregisterCharacterJoiner(x)},C=h([u(4,t.IBufferService),u(5,l.ICharSizeService),u(6,t.IOptionsService),u(7,t.ICoreService),u(8,l.ICoreBrowserService)],C)}(n.Disposable);f.Renderer=A},function(g,f,b){"use strict";var m,y=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,c){s.__proto__=c}||function(s,c){for(var p in c)c.hasOwnProperty(p)&&(s[p]=c[p])})(l,t)},function(n,l){function t(){this.constructor=n}m(n,l),n.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)});Object.defineProperty(f,"__esModule",{value:!0}),f.TextRenderLayer=void 0;var h=b(42),u=b(13),i=b(6),a=b(3),r=b(29),o=b(4),d=function(n){function l(t,s,c,p,A,w,C,x){var E=n.call(this,t,"text",s,A,c,w,C,x)||this;return E._characterWidth=0,E._characterFont="",E._characterOverlapCache={},E._workCell=new o.CellData,E._state=new h.GridCache,E._characterJoinerRegistry=p,E}return y(l,n),l.prototype.resize=function(t){n.prototype.resize.call(this,t);var s=this._getFont(!1,!1);this._characterWidth===t.scaledCharWidth&&this._characterFont===s||(this._characterWidth=t.scaledCharWidth,this._characterFont=s,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},l.prototype.reset=function(){this._state.clear(),this._clearAll()},l.prototype._forEachCell=function(t,s,c,p){for(var A=t;A<=s;A++)for(var w=A+this._bufferService.buffer.ydisp,C=this._bufferService.buffer.lines.get(w),x=c?c.getJoinedCharacters(w):[],E=0;E<this._bufferService.cols;E++){C.loadCell(E,this._workCell);var T=this._workCell,_=!1,v=E;if(T.getWidth()!==0){if(x.length>0&&E===x[0][0]){_=!0;var S=x.shift();T=new r.JoinedCellData(this._workCell,C.translateToString(!0,S[0],S[1]),S[1]-S[0]),v=S[1]-1}!_&&this._isOverlapping(T)&&v<C.length-1&&C.getCodePoint(v+1)===a.NULL_CELL_CODE&&(T.content&=-12582913,T.content|=2<<22),p(T,E,A),E=v}}},l.prototype._drawBackground=function(t,s){var c=this,p=this._ctx,A=this._bufferService.cols,w=0,C=0,x=null;p.save(),this._forEachCell(t,s,null,function(E,T,_){var v=null;E.isInverse()?v=E.isFgDefault()?c._colors.foreground.css:E.isFgRGB()?"rgb("+i.AttributeData.toColorRGB(E.getFgColor()).join(",")+")":c._colors.ansi[E.getFgColor()].css:E.isBgRGB()?v="rgb("+i.AttributeData.toColorRGB(E.getBgColor()).join(",")+")":E.isBgPalette()&&(v=c._colors.ansi[E.getBgColor()].css),x===null&&(w=T,C=_),_!==C?(p.fillStyle=x||"",c._fillCells(w,C,A-w,1),w=T,C=_):x!==v&&(p.fillStyle=x||"",c._fillCells(w,C,T-w,1),w=T,C=_),x=v}),x!==null&&(p.fillStyle=x,this._fillCells(w,C,A-w,1)),p.restore()},l.prototype._drawForeground=function(t,s){var c=this;this._forEachCell(t,s,this._characterJoinerRegistry,function(p,A,w){if(!p.isInvisible()&&(c._drawChars(p,A,w),p.isUnderline())){if(c._ctx.save(),p.isInverse())if(p.isBgDefault())c._ctx.fillStyle=c._colors.background.css;else if(p.isBgRGB())c._ctx.fillStyle="rgb("+i.AttributeData.toColorRGB(p.getBgColor()).join(",")+")";else{var C=p.getBgColor();c._optionsService.options.drawBoldTextInBrightColors&&p.isBold()&&C<8&&(C+=8),c._ctx.fillStyle=c._colors.ansi[C].css}else if(p.isFgDefault())c._ctx.fillStyle=c._colors.foreground.css;else if(p.isFgRGB())c._ctx.fillStyle="rgb("+i.AttributeData.toColorRGB(p.getFgColor()).join(",")+")";else{var x=p.getFgColor();c._optionsService.options.drawBoldTextInBrightColors&&p.isBold()&&x<8&&(x+=8),c._ctx.fillStyle=c._colors.ansi[x].css}c._fillBottomLineAtCells(A,w,p.getWidth()),c._ctx.restore()}})},l.prototype.onGridChanged=function(t,s){this._state.cache.length!==0&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,t,this._bufferService.cols,s-t+1),this._drawBackground(t,s),this._drawForeground(t,s))},l.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},l.prototype._isOverlapping=function(t){if(t.getWidth()!==1)return!1;if(t.getCode()<256)return!1;var s=t.getChars();if(this._characterOverlapCache.hasOwnProperty(s))return this._characterOverlapCache[s];this._ctx.save(),this._ctx.font=this._characterFont;var c=Math.floor(this._ctx.measureText(s).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[s]=c,c},l}(u.BaseRenderLayer);f.TextRenderLayer=d},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.GridCache=void 0;var m=function(){function y(){this.cache=[]}return y.prototype.resize=function(h,u){for(var i=0;i<h;i++){this.cache.length<=i&&this.cache.push([]);for(var a=this.cache[i].length;a<u;a++)this.cache[i].push(void 0);this.cache[i].length=u}this.cache.length=h},y.prototype.clear=function(){for(var h=0;h<this.cache.length;h++)for(var u=0;u<this.cache[h].length;u++)this.cache[h][u]=void 0},y}();f.GridCache=m},function(g,f,b){"use strict";var m,y=this&&this.__extends||(m=function(p,A){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,C){w.__proto__=C}||function(w,C){for(var x in C)C.hasOwnProperty(x)&&(w[x]=C[x])})(p,A)},function(c,p){function A(){this.constructor=c}m(c,p),c.prototype=p===null?Object.create(p):(A.prototype=p.prototype,new A)});Object.defineProperty(f,"__esModule",{value:!0}),f.NoneCharAtlas=f.DynamicCharAtlas=f.getGlyphCacheKey=void 0;var h=b(9),u=b(44),i=b(27),a=b(46),r=b(11),o=b(28),d=b(10),n={css:"rgba(0, 0, 0, 0)",rgba:0};function l(c){return c.code<<21|c.bg<<12|c.fg<<3|(c.bold?0:4)+(c.dim?0:2)+(c.italic?0:1)}f.getGlyphCacheKey=l;var t=function(c){function p(A,w){var C=c.call(this)||this;C._config=w,C._drawToCacheCount=0,C._glyphsWaitingOnBitmap=[],C._bitmapCommitTimeout=null,C._bitmap=null,C._cacheCanvas=A.createElement("canvas"),C._cacheCanvas.width=1024,C._cacheCanvas.height=1024,C._cacheCtx=o.throwIfFalsy(C._cacheCanvas.getContext("2d",{alpha:!0}));var x=A.createElement("canvas");x.width=C._config.scaledCharWidth,x.height=C._config.scaledCharHeight,C._tmpCtx=o.throwIfFalsy(x.getContext("2d",{alpha:C._config.allowTransparency})),C._width=Math.floor(1024/C._config.scaledCharWidth),C._height=Math.floor(1024/C._config.scaledCharHeight);var E=C._width*C._height;return C._cacheMap=new a.LRUMap(E),C._cacheMap.prealloc(E),C}return y(p,c),p.prototype.dispose=function(){this._bitmapCommitTimeout!==null&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},p.prototype.beginFrame=function(){this._drawToCacheCount=0},p.prototype.draw=function(A,w,C,x){if(w.code===32)return!0;if(!this._canCache(w))return!1;var E=l(w),T=this._cacheMap.get(E);if(T!=null)return this._drawFromCache(A,T,C,x),!0;if(this._drawToCacheCount<100){var _=void 0;_=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var v=this._drawToCache(w,_);return this._cacheMap.set(E,v),this._drawFromCache(A,v,C,x),!0}return!1},p.prototype._canCache=function(A){return A.code<256},p.prototype._toCoordinateX=function(A){return A%this._width*this._config.scaledCharWidth},p.prototype._toCoordinateY=function(A){return Math.floor(A/this._width)*this._config.scaledCharHeight},p.prototype._drawFromCache=function(A,w,C,x){if(!w.isEmpty){var E=this._toCoordinateX(w.index),T=this._toCoordinateY(w.index);A.drawImage(w.inBitmap?this._bitmap:this._cacheCanvas,E,T,this._config.scaledCharWidth,this._config.scaledCharHeight,C,x,this._config.scaledCharWidth,this._config.scaledCharHeight)}},p.prototype._getColorFromAnsiIndex=function(A){return A<this._config.colors.ansi.length?this._config.colors.ansi[A]:i.DEFAULT_ANSI_COLORS[A]},p.prototype._getBackgroundColor=function(A){return this._config.allowTransparency?n:A.bg===h.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:A.bg<256?this._getColorFromAnsiIndex(A.bg):this._config.colors.background},p.prototype._getForegroundColor=function(A){return A.fg===h.INVERTED_DEFAULT_COLOR?d.color.opaque(this._config.colors.background):A.fg<256?this._getColorFromAnsiIndex(A.fg):this._config.colors.foreground},p.prototype._drawToCache=function(A,w){this._drawToCacheCount++,this._tmpCtx.save();var C=this._getBackgroundColor(A);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=C.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var x=A.bold?this._config.fontWeightBold:this._config.fontWeight,E=A.italic?"italic":"";this._tmpCtx.font=E+" "+x+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(A).css,A.dim&&(this._tmpCtx.globalAlpha=h.DIM_OPACITY),this._tmpCtx.fillText(A.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var T=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),_=!1;this._config.allowTransparency||(_=function(L,M){for(var F=!0,U=M.rgba>>>24,z=M.rgba>>>16&255,W=M.rgba>>>8&255,N=0;N<L.data.length;N+=4)L.data[N]===U&&L.data[N+1]===z&&L.data[N+2]===W?L.data[N+3]=0:F=!1;return F}(T,C));var v=this._toCoordinateX(w),S=this._toCoordinateY(w);this._cacheCtx.putImageData(T,v,S);var O={index:w,isEmpty:_,inBitmap:!1};return this._addGlyphToBitmap(O),O},p.prototype._addGlyphToBitmap=function(A){var w=this;!("createImageBitmap"in window)||r.isFirefox||r.isSafari||(this._glyphsWaitingOnBitmap.push(A),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return w._generateBitmap()},100)))},p.prototype._generateBitmap=function(){var A=this,w=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(C){A._bitmap=C;for(var x=0;x<w.length;x++)w[x].inBitmap=!0}),this._bitmapCommitTimeout=null},p}(u.BaseCharAtlas);f.DynamicCharAtlas=t;var s=function(c){function p(A,w){return c.call(this)||this}return y(p,c),p.prototype.draw=function(A,w,C,x){return!1},p}(u.BaseCharAtlas);f.NoneCharAtlas=s},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BaseCharAtlas=void 0;var m=function(){function y(){this._didWarmUp=!1}return y.prototype.dispose=function(){},y.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},y.prototype._doWarmUp=function(){},y.prototype.beginFrame=function(){},y}();f.BaseCharAtlas=m},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ColorContrastCache=void 0;var m=function(){function y(){this._color={},this._rgba={}}return y.prototype.clear=function(){this._color={},this._rgba={}},y.prototype.setCss=function(h,u,i){this._rgba[h]||(this._rgba[h]={}),this._rgba[h][u]=i},y.prototype.getCss=function(h,u){return this._rgba[h]?this._rgba[h][u]:void 0},y.prototype.setColor=function(h,u,i){this._color[h]||(this._color[h]={}),this._color[h][u]=i},y.prototype.getColor=function(h,u){return this._color[h]?this._color[h][u]:void 0},y}();f.ColorContrastCache=m},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.LRUMap=void 0;var m=function(){function y(h){this.capacity=h,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return y.prototype._unlinkNode=function(h){var u=h.prev,i=h.next;h===this._head&&(this._head=i),h===this._tail&&(this._tail=u),u!==null&&(u.next=i),i!==null&&(i.prev=u)},y.prototype._appendNode=function(h){var u=this._tail;u!==null&&(u.next=h),h.prev=u,h.next=null,this._tail=h,this._head===null&&(this._head=h)},y.prototype.prealloc=function(h){for(var u=this._nodePool,i=0;i<h;i++)u.push({prev:null,next:null,key:null,value:null})},y.prototype.get=function(h){var u=this._map[h];return u!==void 0?(this._unlinkNode(u),this._appendNode(u),u.value):null},y.prototype.peekValue=function(h){var u=this._map[h];return u!==void 0?u.value:null},y.prototype.peek=function(){var h=this._head;return h===null?null:h.value},y.prototype.set=function(h,u){var i=this._map[h];if(i!==void 0)i=this._map[h],this._unlinkNode(i),i.value=u;else if(this.size>=this.capacity)i=this._head,this._unlinkNode(i),delete this._map[i.key],i.key=h,i.value=u,this._map[h]=i;else{var a=this._nodePool;a.length>0?((i=a.pop()).key=h,i.value=u):i={prev:null,next:null,key:h,value:u},this._map[h]=i,this.size++}this._appendNode(i)},y}();f.LRUMap=m},function(g,f,b){"use strict";var m,y=this&&this.__extends||(m=function(i,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var d in o)o.hasOwnProperty(d)&&(r[d]=o[d])})(i,a)},function(u,i){function a(){this.constructor=u}m(u,i),u.prototype=i===null?Object.create(i):(a.prototype=i.prototype,new a)});Object.defineProperty(f,"__esModule",{value:!0}),f.SelectionRenderLayer=void 0;var h=function(u){function i(a,r,o,d,n,l){var t=u.call(this,a,"selection",r,!0,o,d,n,l)||this;return t._clearState(),t}return y(i,u),i.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},i.prototype.resize=function(a){u.prototype.resize.call(this,a),this._clearState()},i.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},i.prototype.onSelectionChanged=function(a,r,o){if(this._didStateChange(a,r,o,this._bufferService.buffer.ydisp))if(this._clearAll(),a&&r){var d=a[1]-this._bufferService.buffer.ydisp,n=r[1]-this._bufferService.buffer.ydisp,l=Math.max(d,0),t=Math.min(n,this._bufferService.rows-1);if(!(l>=this._bufferService.rows||t<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,o){var s=a[0],c=r[0]-s,p=t-l+1;this._fillCells(s,l,c,p)}else{s=d===l?a[0]:0;var A=l===t?r[0]:this._bufferService.cols;this._fillCells(s,l,A-s,1);var w=Math.max(t-l-1,0);if(this._fillCells(0,l+1,this._bufferService.cols,w),l!==t){var C=n===t?r[0]:this._bufferService.cols;this._fillCells(0,t,C,1)}}this._state.start=[a[0],a[1]],this._state.end=[r[0],r[1]],this._state.columnSelectMode=o,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},i.prototype._didStateChange=function(a,r,o,d){return!this._areCoordinatesEqual(a,this._state.start)||!this._areCoordinatesEqual(r,this._state.end)||o!==this._state.columnSelectMode||d!==this._state.ydisp},i.prototype._areCoordinatesEqual=function(a,r){return!(!a||!r)&&a[0]===r[0]&&a[1]===r[1]},i}(b(13).BaseRenderLayer);f.SelectionRenderLayer=h},function(g,f,b){"use strict";var m,y=this&&this.__extends||(m=function(o,d){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,l){n.__proto__=l}||function(n,l){for(var t in l)l.hasOwnProperty(t)&&(n[t]=l[t])})(o,d)},function(r,o){function d(){this.constructor=r}m(r,o),r.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)});Object.defineProperty(f,"__esModule",{value:!0}),f.CursorRenderLayer=void 0;var h=b(13),u=b(4),i=function(r){function o(d,n,l,t,s,c,p,A,w){var C=r.call(this,d,"cursor",n,!0,l,t,c,p)||this;return C._onRequestRedraw=s,C._coreService=A,C._coreBrowserService=w,C._cell=new u.CellData,C._state={x:0,y:0,isFocused:!1,style:"",width:0},C._cursorRenderers={bar:C._renderBarCursor.bind(C),block:C._renderBlockCursor.bind(C),underline:C._renderUnderlineCursor.bind(C)},C}return y(o,r),o.prototype.resize=function(d){r.prototype.resize.call(this,d),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},o.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},o.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},o.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},o.prototype.onOptionsChanged=function(){var d,n=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new a(this._coreBrowserService.isFocused,function(){n._render(!0)})):((d=this._cursorBlinkStateManager)===null||d===void 0||d.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},o.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},o.prototype.onGridChanged=function(d,n){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},o.prototype._render=function(d){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var n=this._bufferService.buffer.ybase+this._bufferService.buffer.y,l=n-this._bufferService.buffer.ydisp;if(l<0||l>=this._bufferService.rows)this._clearCursor();else{var t=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(n).loadCell(t,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var s=this._optionsService.options.cursorStyle;return s&&s!=="block"?this._cursorRenderers[s](t,l,this._cell):this._renderBlurCursor(t,l,this._cell),this._ctx.restore(),this._state.x=t,this._state.y=l,this._state.isFocused=!1,this._state.style=s,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===t&&this._state.y===l&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](t,l,this._cell),this._ctx.restore(),this._state.x=t,this._state.y=l,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},o.prototype._clearCursor=function(){this._state&&(this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},o.prototype._renderBarCursor=function(d,n,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(d,n,this._optionsService.options.cursorWidth),this._ctx.restore()},o.prototype._renderBlockCursor=function(d,n,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(d,n,l.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(l,d,n),this._ctx.restore()},o.prototype._renderUnderlineCursor=function(d,n,l){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(d,n),this._ctx.restore()},o.prototype._renderBlurCursor=function(d,n,l){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(d,n,l.getWidth(),1),this._ctx.restore()},o}(h.BaseRenderLayer);f.CursorRenderLayer=i;var a=function(){function r(o,d){this._renderCallback=d,this.isCursorVisible=!0,o&&this._restartInterval()}return Object.defineProperty(r.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),r.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},r.prototype.restartBlinkAnimation=function(){var o=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){o._renderCallback(),o._animationFrame=void 0})))},r.prototype._restartInterval=function(o){var d=this;o===void 0&&(o=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(d._animationTimeRestarted){var n=600-(Date.now()-d._animationTimeRestarted);if(d._animationTimeRestarted=void 0,n>0)return void d._restartInterval(n)}d.isCursorVisible=!1,d._animationFrame=window.requestAnimationFrame(function(){d._renderCallback(),d._animationFrame=void 0}),d._blinkInterval=window.setInterval(function(){if(d._animationTimeRestarted){var l=600-(Date.now()-d._animationTimeRestarted);return d._animationTimeRestarted=void 0,void d._restartInterval(l)}d.isCursorVisible=!d.isCursorVisible,d._animationFrame=window.requestAnimationFrame(function(){d._renderCallback(),d._animationFrame=void 0})},600)},o)},r.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},r.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},r}()},function(g,f,b){"use strict";var m,y=this&&this.__extends||(m=function(o,d){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,l){n.__proto__=l}||function(n,l){for(var t in l)l.hasOwnProperty(t)&&(n[t]=l[t])})(o,d)},function(r,o){function d(){this.constructor=r}m(r,o),r.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)});Object.defineProperty(f,"__esModule",{value:!0}),f.LinkRenderLayer=void 0;var h=b(13),u=b(9),i=b(26),a=function(r){function o(d,n,l,t,s,c,p,A){var w=r.call(this,d,"link",n,!0,l,t,p,A)||this;return s.onShowLinkUnderline(function(C){return w._onShowLinkUnderline(C)}),s.onHideLinkUnderline(function(C){return w._onHideLinkUnderline(C)}),c.onShowLinkUnderline(function(C){return w._onShowLinkUnderline(C)}),c.onHideLinkUnderline(function(C){return w._onHideLinkUnderline(C)}),w}return y(o,r),o.prototype.resize=function(d){r.prototype.resize.call(this,d),this._state=void 0},o.prototype.reset=function(){this._clearCurrentLink()},o.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var d=this._state.y2-this._state.y1-1;d>0&&this._clearCells(0,this._state.y1+1,this._state.cols,d),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},o.prototype._onShowLinkUnderline=function(d){if(d.fg===u.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:d.fg&&i.is256Color(d.fg)?this._ctx.fillStyle=this._colors.ansi[d.fg].css:this._ctx.fillStyle=this._colors.foreground.css,d.y1===d.y2)this._fillBottomLineAtCells(d.x1,d.y1,d.x2-d.x1);else{this._fillBottomLineAtCells(d.x1,d.y1,d.cols-d.x1);for(var n=d.y1+1;n<d.y2;n++)this._fillBottomLineAtCells(0,n,d.cols);this._fillBottomLineAtCells(0,d.y2,d.x2)}this._state=d},o.prototype._onHideLinkUnderline=function(d){this._clearCurrentLink()},o}(h.BaseRenderLayer);f.LinkRenderLayer=a},function(g,f,b){"use strict";var m=this&&this.__decorate||function(r,o,d,n){var l,t=arguments.length,s=t<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,d):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,o,d,n);else for(var c=r.length-1;c>=0;c--)(l=r[c])&&(s=(t<3?l(s):t>3?l(o,d,s):l(o,d))||s);return t>3&&s&&Object.defineProperty(o,d,s),s},y=this&&this.__param||function(r,o){return function(d,n){o(d,n,r)}};Object.defineProperty(f,"__esModule",{value:!0}),f.MouseZone=f.Linkifier=void 0;var h=b(0),u=b(1),i=function(){function r(o,d,n){this._bufferService=o,this._logService=d,this._unicodeService=n,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new h.EventEmitter,this._onHideLinkUnderline=new h.EventEmitter,this._onLinkTooltip=new h.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(r.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),r.prototype.attachToDom=function(o,d){this._element=o,this._mouseZoneManager=d},r.prototype.linkifyRows=function(o,d){var n=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=o,this._rowsToLinkify.end=d):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,o),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,d)),this._mouseZoneManager.clearAll(o,d),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return n._linkifyRows()},r._timeBeforeLatency))},r.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var o=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var d=o.ydisp+this._rowsToLinkify.start;if(!(d>=o.lines.length)){for(var n=o.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,l=Math.ceil(2e3/this._bufferService.cols),t=this._bufferService.buffer.iterator(!1,d,n,l,l);t.hasNext();)for(var s=t.next(),c=0;c<this._linkMatchers.length;c++)this._doLinkifyRow(s.range.first,s.content,this._linkMatchers[c]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},r.prototype.registerLinkMatcher=function(o,d,n){if(n===void 0&&(n={}),!d)throw new Error("handler must be defined");var l={id:this._nextLinkMatcherId++,regex:o,handler:d,matchIndex:n.matchIndex,validationCallback:n.validationCallback,hoverTooltipCallback:n.tooltipCallback,hoverLeaveCallback:n.leaveCallback,willLinkActivate:n.willLinkActivate,priority:n.priority||0};return this._addLinkMatcherToList(l),l.id},r.prototype._addLinkMatcherToList=function(o){if(this._linkMatchers.length!==0){for(var d=this._linkMatchers.length-1;d>=0;d--)if(o.priority<=this._linkMatchers[d].priority)return void this._linkMatchers.splice(d+1,0,o);this._linkMatchers.splice(0,0,o)}else this._linkMatchers.push(o)},r.prototype.deregisterLinkMatcher=function(o){for(var d=0;d<this._linkMatchers.length;d++)if(this._linkMatchers[d].id===o)return this._linkMatchers.splice(d,1),!0;return!1},r.prototype._doLinkifyRow=function(o,d,n){for(var l,t=this,s=new RegExp(n.regex.source,(n.regex.flags||"")+"g"),c=-1,p=function(){var C=l[typeof n.matchIndex!="number"?0:n.matchIndex];if(!C)return A._logService.debug("match found without corresponding matchIndex",l,n),"break";if(c=d.indexOf(C,c+1),s.lastIndex=c+C.length,c<0)return"break";var x=A._bufferService.buffer.stringIndexToBufferIndex(o,c);if(x[0]<0)return"break";var E=A._bufferService.buffer.lines.get(x[0]);if(!E)return"break";var T=E.getFg(x[1]),_=T?T>>9&511:void 0;n.validationCallback?n.validationCallback(C,function(v){t._rowsTimeoutId||v&&t._addLink(x[1],x[0]-t._bufferService.buffer.ydisp,C,n,_)}):A._addLink(x[1],x[0]-A._bufferService.buffer.ydisp,C,n,_)},A=this;(l=s.exec(d))!==null&&!(p()==="break"););},r.prototype._addLink=function(o,d,n,l,t){var s=this;if(this._mouseZoneManager&&this._element){var c=this._unicodeService.getStringCellWidth(n),p=o%this._bufferService.cols,A=d+Math.floor(o/this._bufferService.cols),w=(p+c)%this._bufferService.cols,C=A+Math.floor((p+c)/this._bufferService.cols);w===0&&(w=this._bufferService.cols,C--),this._mouseZoneManager.add(new a(p+1,A+1,w+1,C+1,function(x){if(l.handler)return l.handler(x,n);var E=window.open();E?(E.opener=null,E.location.href=n):console.warn("Opening link blocked as opener could not be cleared")},function(){s._onShowLinkUnderline.fire(s._createLinkHoverEvent(p,A,w,C,t)),s._element.classList.add("xterm-cursor-pointer")},function(x){s._onLinkTooltip.fire(s._createLinkHoverEvent(p,A,w,C,t)),l.hoverTooltipCallback&&l.hoverTooltipCallback(x,n,{start:{x:p,y:A},end:{x:w,y:C}})},function(){s._onHideLinkUnderline.fire(s._createLinkHoverEvent(p,A,w,C,t)),s._element.classList.remove("xterm-cursor-pointer"),l.hoverLeaveCallback&&l.hoverLeaveCallback()},function(x){return!l.willLinkActivate||l.willLinkActivate(x,n)}))}},r.prototype._createLinkHoverEvent=function(o,d,n,l,t){return{x1:o,y1:d,x2:n,y2:l,cols:this._bufferService.cols,fg:t}},r._timeBeforeLatency=200,r=m([y(0,u.IBufferService),y(1,u.ILogService),y(2,u.IUnicodeService)],r)}();f.Linkifier=i;var a=function(o,d,n,l,t,s,c,p,A){this.x1=o,this.y1=d,this.x2=n,this.y2=l,this.clickCallback=t,this.hoverCallback=s,this.tooltipCallback=c,this.leaveCallback=p,this.willLinkActivate=A};f.MouseZone=a},function(g,f,b){"use strict";var m,y=this&&this.__extends||(m=function(C,x){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,T){E.__proto__=T}||function(E,T){for(var _ in T)T.hasOwnProperty(_)&&(E[_]=T[_])})(C,x)},function(w,C){function x(){this.constructor=w}m(w,C),w.prototype=C===null?Object.create(C):(x.prototype=C.prototype,new x)}),h=this&&this.__decorate||function(w,C,x,E){var T,_=arguments.length,v=_<3?C:E===null?E=Object.getOwnPropertyDescriptor(C,x):E;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")v=Reflect.decorate(w,C,x,E);else for(var S=w.length-1;S>=0;S--)(T=w[S])&&(v=(_<3?T(v):_>3?T(C,x,v):T(C,x))||v);return _>3&&v&&Object.defineProperty(C,x,v),v},u=this&&this.__param||function(w,C){return function(x,E){C(x,E,w)}};Object.defineProperty(f,"__esModule",{value:!0}),f.SelectionService=void 0;var i=b(11),a=b(52),r=b(4),o=b(0),d=b(5),n=b(1),l=b(30),t=b(53),s=b(2),c=String.fromCharCode(160),p=new RegExp(c,"g"),A=function(w){function C(x,E,T,_,v,S,O){var L=w.call(this)||this;return L._element=x,L._screenElement=E,L._bufferService=T,L._coreService=_,L._mouseService=v,L._optionsService=S,L._renderService=O,L._dragScrollAmount=0,L._enabled=!0,L._workCell=new r.CellData,L._mouseDownTimeStamp=0,L._onLinuxMouseSelection=L.register(new o.EventEmitter),L._onRedrawRequest=L.register(new o.EventEmitter),L._onSelectionChange=L.register(new o.EventEmitter),L._onRequestScrollLines=L.register(new o.EventEmitter),L._mouseMoveListener=function(M){return L._onMouseMove(M)},L._mouseUpListener=function(M){return L._onMouseUp(M)},L._coreService.onUserInput(function(){L.hasSelection&&L.clearSelection()}),L._trimListener=L._bufferService.buffer.lines.onTrim(function(M){return L._onTrim(M)}),L.register(L._bufferService.buffers.onBufferActivate(function(M){return L._onBufferActivate(M)})),L.enable(),L._model=new a.SelectionModel(L._bufferService),L._activeSelectionMode=0,L}return y(C,w),Object.defineProperty(C.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),C.prototype.dispose=function(){this._removeMouseDownListeners()},C.prototype.reset=function(){this.clearSelection()},C.prototype.disable=function(){this.clearSelection(),this._enabled=!1},C.prototype.enable=function(){this._enabled=!0},Object.defineProperty(C.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"hasSelection",{get:function(){var E=this._model.finalSelectionStart,T=this._model.finalSelectionEnd;return!(!E||!T)&&(E[0]!==T[0]||E[1]!==T[1])},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"selectionText",{get:function(){var E=this._model.finalSelectionStart,T=this._model.finalSelectionEnd;if(!E||!T)return"";var _=this._bufferService.buffer,v=[];if(this._activeSelectionMode===3){if(E[0]===T[0])return"";for(var S=E[1];S<=T[1];S++){var O=_.translateBufferLineToString(S,!0,E[0],T[0]);v.push(O)}}else{var L=E[1]===T[1]?T[0]:void 0;for(v.push(_.translateBufferLineToString(E[1],!0,E[0],L)),S=E[1]+1;S<=T[1]-1;S++){var M=_.lines.get(S);O=_.translateBufferLineToString(S,!0),M&&M.isWrapped?v[v.length-1]+=O:v.push(O)}E[1]!==T[1]&&(M=_.lines.get(T[1]),O=_.translateBufferLineToString(T[1],!0,0,T[0]),M&&M.isWrapped?v[v.length-1]+=O:v.push(O))}return v.map(function(F){return F.replace(p," ")}).join(i.isWindows?`\r
`:`
`)},enumerable:!1,configurable:!0}),C.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},C.prototype.refresh=function(x){var E=this;(this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return E._refresh()})),i.isLinux&&x)&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},C.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},C.prototype.isClickInSelection=function(x){var E=this._getMouseBufferCoords(x),T=this._model.finalSelectionStart,_=this._model.finalSelectionEnd;return!!(T&&_&&E)&&this._areCoordsInSelection(E,T,_)},C.prototype._areCoordsInSelection=function(x,E,T){return x[1]>E[1]&&x[1]<T[1]||E[1]===T[1]&&x[1]===E[1]&&x[0]>=E[0]&&x[0]<T[0]||E[1]<T[1]&&x[1]===T[1]&&x[0]<T[0]||E[1]<T[1]&&x[1]===E[1]&&x[0]>=E[0]},C.prototype.selectWordAtCursor=function(x){var E=this._getMouseBufferCoords(x);E&&(this._selectWordAt(E,!1),this._model.selectionEnd=void 0,this.refresh(!0))},C.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},C.prototype.selectLines=function(x,E){this._model.clearSelection(),x=Math.max(x,0),E=Math.min(E,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,x],this._model.selectionEnd=[this._bufferService.cols,E],this.refresh(),this._onSelectionChange.fire()},C.prototype._onTrim=function(x){this._model.onTrim(x)&&this.refresh()},C.prototype._getMouseBufferCoords=function(x){var E=this._mouseService.getCoords(x,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(E)return E[0]--,E[1]--,E[1]+=this._bufferService.buffer.ydisp,E},C.prototype._getMouseEventScrollAmount=function(x){var E=l.getCoordsRelativeToElement(x,this._screenElement)[1],T=this._renderService.dimensions.canvasHeight;return E>=0&&E<=T?0:(E>T&&(E-=T),E=Math.min(Math.max(E,-50),50),(E/=50)/Math.abs(E)+Math.round(14*E))},C.prototype.shouldForceSelection=function(x){return i.isMac?x.altKey&&this._optionsService.options.macOptionClickForcesSelection:x.shiftKey},C.prototype.onMouseDown=function(x){if(this._mouseDownTimeStamp=x.timeStamp,(x.button!==2||!this.hasSelection)&&x.button===0){if(!this._enabled){if(!this.shouldForceSelection(x))return;x.stopPropagation()}x.preventDefault(),this._dragScrollAmount=0,this._enabled&&x.shiftKey?this._onIncrementalClick(x):x.detail===1?this._onSingleClick(x):x.detail===2?this._onDoubleClick(x):x.detail===3&&this._onTripleClick(x),this._addMouseDownListeners(),this.refresh(!0)}},C.prototype._addMouseDownListeners=function(){var x=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return x._dragScroll()},50)},C.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},C.prototype._onIncrementalClick=function(x){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(x))},C.prototype._onSingleClick=function(x){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(x)?3:0,this._model.selectionStart=this._getMouseBufferCoords(x),this._model.selectionStart){this._model.selectionEnd=void 0;var E=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);E&&E.length!==this._model.selectionStart[0]&&E.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},C.prototype._onDoubleClick=function(x){var E=this._getMouseBufferCoords(x);E&&(this._activeSelectionMode=1,this._selectWordAt(E,!0))},C.prototype._onTripleClick=function(x){var E=this._getMouseBufferCoords(x);E&&(this._activeSelectionMode=2,this._selectLineAt(E[1]))},C.prototype.shouldColumnSelect=function(x){return x.altKey&&!(i.isMac&&this._optionsService.options.macOptionClickForcesSelection)},C.prototype._onMouseMove=function(x){if(x.stopImmediatePropagation(),this._model.selectionStart){var E=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(x),this._model.selectionEnd){this._activeSelectionMode===2?this._model.selectionEnd[1]<this._model.selectionStart[1]?this._model.selectionEnd[0]=0:this._model.selectionEnd[0]=this._bufferService.cols:this._activeSelectionMode===1&&this._selectToWordAt(this._model.selectionEnd),this._dragScrollAmount=this._getMouseEventScrollAmount(x),this._activeSelectionMode!==3&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var T=this._bufferService.buffer;if(this._model.selectionEnd[1]<T.lines.length){var _=T.lines.get(this._model.selectionEnd[1]);_&&_.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}E&&E[0]===this._model.selectionEnd[0]&&E[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},C.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var x=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(x.ydisp+this._bufferService.rows,x.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=x.ydisp),this.refresh()}},C.prototype._onMouseUp=function(x){var E=x.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&E<500&&x.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var T=this._mouseService.getCoords(x,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(T&&T[0]!==void 0&&T[1]!==void 0){var _=t.moveToCellSequence(T[0]-1,T[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(_,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},C.prototype._onBufferActivate=function(x){var E=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=x.activeBuffer.lines.onTrim(function(T){return E._onTrim(T)})},C.prototype._convertViewportColToCharacterIndex=function(x,E){for(var T=E[0],_=0;E[0]>=_;_++){var v=x.loadCell(_,this._workCell).getChars().length;this._workCell.getWidth()===0?T--:v>1&&E[0]!==_&&(T+=v-1)}return T},C.prototype.setSelection=function(x,E,T){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[x,E],this._model.selectionStartLength=T,this.refresh()},C.prototype._getWordAt=function(x,E,T,_){if(T===void 0&&(T=!0),_===void 0&&(_=!0),!(x[0]>=this._bufferService.cols)){var v=this._bufferService.buffer,S=v.lines.get(x[1]);if(S){var O=v.translateBufferLineToString(x[1],!1),L=this._convertViewportColToCharacterIndex(S,x),M=L,F=x[0]-L,U=0,z=0,W=0,N=0;if(O.charAt(L)===" "){for(;L>0&&O.charAt(L-1)===" ";)L--;for(;M<O.length&&O.charAt(M+1)===" ";)M++}else{var H=x[0],j=x[0];S.getWidth(H)===0&&(U++,H--),S.getWidth(j)===2&&(z++,j++);var k=S.getString(j).length;for(k>1&&(N+=k-1,M+=k-1);H>0&&L>0&&!this._isCharWordSeparator(S.loadCell(H-1,this._workCell));){S.loadCell(H-1,this._workCell);var B=this._workCell.getChars().length;this._workCell.getWidth()===0?(U++,H--):B>1&&(W+=B-1,L-=B-1),L--,H--}for(;j<S.length&&M+1<O.length&&!this._isCharWordSeparator(S.loadCell(j+1,this._workCell));){S.loadCell(j+1,this._workCell);var V=this._workCell.getChars().length;this._workCell.getWidth()===2?(z++,j++):V>1&&(N+=V-1,M+=V-1),M++,j++}}M++;var K=L+F-U+W,Y=Math.min(this._bufferService.cols,M-L+U+z-W-N);if(E||O.slice(L,M).trim()!==""){if(T&&K===0&&S.getCodePoint(0)!==32){var Q=v.lines.get(x[1]-1);if(Q&&S.isWrapped&&Q.getCodePoint(this._bufferService.cols-1)!==32){var he=this._getWordAt([this._bufferService.cols-1,x[1]-1],!1,!0,!1);if(he){var G=this._bufferService.cols-he.start;K-=G,Y+=G}}}if(_&&K+Y===this._bufferService.cols&&S.getCodePoint(this._bufferService.cols-1)!==32){var ye=v.lines.get(x[1]+1);if(ye&&ye.isWrapped&&ye.getCodePoint(0)!==32){var Ae=this._getWordAt([0,x[1]+1],!1,!1,!0);Ae&&(Y+=Ae.length)}}return{start:K,length:Y}}}}},C.prototype._selectWordAt=function(x,E){var T=this._getWordAt(x,E);if(T){for(;T.start<0;)T.start+=this._bufferService.cols,x[1]--;this._model.selectionStart=[T.start,x[1]],this._model.selectionStartLength=T.length}},C.prototype._selectToWordAt=function(x){var E=this._getWordAt(x,!0);if(E){for(var T=x[1];E.start<0;)E.start+=this._bufferService.cols,T--;if(!this._model.areSelectionValuesReversed())for(;E.start+E.length>this._bufferService.cols;)E.length-=this._bufferService.cols,T++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?E.start:E.start+E.length,T]}},C.prototype._isCharWordSeparator=function(x){return x.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(x.getChars())>=0},C.prototype._selectLineAt=function(x){var E=this._bufferService.buffer.getWrappedRangeForLine(x);this._model.selectionStart=[0,E.first],this._model.selectionEnd=[this._bufferService.cols,E.last],this._model.selectionStartLength=0},C=h([u(2,n.IBufferService),u(3,n.ICoreService),u(4,d.IMouseService),u(5,n.IOptionsService),u(6,d.IRenderService)],C)}(s.Disposable);f.SelectionService=A},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.SelectionModel=void 0;var m=function(){function y(h){this._bufferService=h,this.isSelectAllActive=!1,this.selectionStartLength=0}return y.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(y.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var u=this.selectionStart[0]+this.selectionStartLength;return u>this._bufferService.cols?[u%this._bufferService.cols,this.selectionStart[1]+Math.floor(u/this._bufferService.cols)]:[u,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),y.prototype.areSelectionValuesReversed=function(){var h=this.selectionStart,u=this.selectionEnd;return!(!h||!u)&&(h[1]>u[1]||h[1]===u[1]&&h[0]>u[0])},y.prototype.onTrim=function(h){return this.selectionStart&&(this.selectionStart[1]-=h),this.selectionEnd&&(this.selectionEnd[1]-=h),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},y}();f.SelectionModel=m},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.moveToCellSequence=void 0;var m=b(12);function y(o,d,n,l){var t=o-h(n,o),s=d-h(n,d);return r(Math.abs(t-s)-function(c,p,A){for(var w=0,C=c-h(A,c),x=p-h(A,p),E=0;E<Math.abs(C-x);E++){var T=u(c,p)==="A"?-1:1,_=A.buffer.lines.get(C+T*E);_&&_.isWrapped&&w++}return w}(o,d,n),a(u(o,d),l))}function h(o,d){for(var n=0,l=o.buffer.lines.get(d),t=l&&l.isWrapped;t&&d>=0&&d<o.rows;)n++,t=(l=o.buffer.lines.get(--d))&&l.isWrapped;return n}function u(o,d){return o>d?"A":"B"}function i(o,d,n,l,t,s){for(var c=o,p=d,A="";c!==n||p!==l;)c+=t?1:-1,t&&c>s.cols-1?(A+=s.buffer.translateBufferLineToString(p,!1,o,c),c=0,o=0,p++):!t&&c<0&&(A+=s.buffer.translateBufferLineToString(p,!1,0,o+1),o=c=s.cols-1,p--);return A+s.buffer.translateBufferLineToString(p,!1,o,c)}function a(o,d){var n=d?"O":"[";return m.C0.ESC+n+o}function r(o,d){o=Math.floor(o);for(var n="",l=0;l<o;l++)n+=d;return n}f.moveToCellSequence=function(o,d,n,l){var t,s=n.buffer.x,c=n.buffer.y;if(!n.buffer.hasScrollback)return function(A,w,C,x,E,T){return y(w,x,E,T).length===0?"":r(i(A,w,A,w-h(E,w),!1,E).length,a("D",T))}(s,c,0,d,n,l)+y(c,d,n,l)+function(A,w,C,x,E,T){var _;_=y(w,x,E,T).length>0?x-h(E,x):w;var v=x,S=function(O,L,M,F,U,z){var W;return W=y(M,F,U,z).length>0?F-h(U,F):L,O<M&&W<=F||O>=M&&W<F?"C":"D"}(A,w,C,x,E,T);return r(i(A,_,C,v,S==="C",E).length,a(S,T))}(s,c,o,d,n,l);if(c===d)return t=s>o?"D":"C",r(Math.abs(s-o),a(t,l));t=c>d?"D":"C";var p=Math.abs(c-d);return r(function(A,w){return w.cols-A}(c>d?o:s,n)+(p-1)*n.cols+1+((c>d?s:o)-1),a(t,l))}},function(g,f,b){"use strict";var m=this&&this.__decorate||function(i,a,r,o){var d,n=arguments.length,l=n<3?a:o===null?o=Object.getOwnPropertyDescriptor(a,r):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(i,a,r,o);else for(var t=i.length-1;t>=0;t--)(d=i[t])&&(l=(n<3?d(l):n>3?d(a,r,l):d(a,r))||l);return n>3&&l&&Object.defineProperty(a,r,l),l},y=this&&this.__param||function(i,a){return function(r,o){a(r,o,i)}};Object.defineProperty(f,"__esModule",{value:!0}),f.SoundService=void 0;var h=b(1),u=function(){function i(a){this._optionsService=a}return Object.defineProperty(i,"audioContext",{get:function(){if(!i._audioContext){var r=window.AudioContext||window.webkitAudioContext;if(!r)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;i._audioContext=new r}return i._audioContext},enumerable:!1,configurable:!0}),i.prototype.playBellSound=function(){var a=i.audioContext;if(a){var r=a.createBufferSource();a.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(o){r.buffer=o,r.connect(a.destination),r.start(0)})}},i.prototype._base64ToArrayBuffer=function(a){for(var r=window.atob(a),o=r.length,d=new Uint8Array(o),n=0;n<o;n++)d[n]=r.charCodeAt(n);return d.buffer},i.prototype._removeMimeType=function(a){return a.split(",")[1]},i=m([y(0,h.IOptionsService)],i)}();f.SoundService=u},function(g,f,b){"use strict";var m,y=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,c){s.__proto__=c}||function(s,c){for(var p in c)c.hasOwnProperty(p)&&(s[p]=c[p])})(l,t)},function(n,l){function t(){this.constructor=n}m(n,l),n.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)}),h=this&&this.__decorate||function(n,l,t,s){var c,p=arguments.length,A=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(n,l,t,s);else for(var w=n.length-1;w>=0;w--)(c=n[w])&&(A=(p<3?c(A):p>3?c(l,t,A):c(l,t))||A);return p>3&&A&&Object.defineProperty(l,t,A),A},u=this&&this.__param||function(n,l){return function(t,s){l(t,s,n)}};Object.defineProperty(f,"__esModule",{value:!0}),f.MouseZoneManager=void 0;var i=b(2),a=b(7),r=b(5),o=b(1),d=function(n){function l(t,s,c,p,A,w){var C=n.call(this)||this;return C._element=t,C._screenElement=s,C._bufferService=c,C._mouseService=p,C._selectionService=A,C._optionsService=w,C._zones=[],C._areZonesActive=!1,C._lastHoverCoords=[void 0,void 0],C._initialSelectionLength=0,C.register(a.addDisposableDomListener(C._element,"mousedown",function(x){return C._onMouseDown(x)})),C._mouseMoveListener=function(x){return C._onMouseMove(x)},C._mouseLeaveListener=function(x){return C._onMouseLeave(x)},C._clickListener=function(x){return C._onClick(x)},C}return y(l,n),l.prototype.dispose=function(){n.prototype.dispose.call(this),this._deactivate()},l.prototype.add=function(t){this._zones.push(t),this._zones.length===1&&this._activate()},l.prototype.clearAll=function(t,s){if(this._zones.length!==0){t&&s||(t=0,s=this._bufferService.rows-1);for(var c=0;c<this._zones.length;c++){var p=this._zones[c];(p.y1>t&&p.y1<=s+1||p.y2>t&&p.y2<=s+1||p.y1<t&&p.y2>s+1)&&(this._currentZone&&this._currentZone===p&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(c--,1))}this._zones.length===0&&this._deactivate()}},l.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},l.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},l.prototype._onMouseMove=function(t){this._lastHoverCoords[0]===t.pageX&&this._lastHoverCoords[1]===t.pageY||(this._onHover(t),this._lastHoverCoords=[t.pageX,t.pageY])},l.prototype._onHover=function(t){var s=this,c=this._findZoneEventAt(t);c!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),c&&(this._currentZone=c,c.hoverCallback&&c.hoverCallback(t),this._tooltipTimeout=window.setTimeout(function(){return s._onTooltip(t)},this._optionsService.options.linkTooltipHoverDuration)))},l.prototype._onTooltip=function(t){this._tooltipTimeout=void 0;var s=this._findZoneEventAt(t);s&&s.tooltipCallback&&s.tooltipCallback(t)},l.prototype._onMouseDown=function(t){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var s=this._findZoneEventAt(t);(s==null?void 0:s.willLinkActivate(t))&&(t.preventDefault(),t.stopImmediatePropagation())}},l.prototype._onMouseLeave=function(t){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},l.prototype._onClick=function(t){var s=this._findZoneEventAt(t),c=this._getSelectionLength();s&&c===this._initialSelectionLength&&(s.clickCallback(t),t.preventDefault(),t.stopImmediatePropagation())},l.prototype._getSelectionLength=function(){var t=this._selectionService.selectionText;return t?t.length:0},l.prototype._findZoneEventAt=function(t){var s=this._mouseService.getCoords(t,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(s)for(var c=s[0],p=s[1],A=0;A<this._zones.length;A++){var w=this._zones[A];if(w.y1===w.y2){if(p===w.y1&&c>=w.x1&&c<w.x2)return w}else if(p===w.y1&&c>=w.x1||p===w.y2&&c<w.x2||p>w.y1&&p<w.y2)return w}},l=h([u(2,o.IBufferService),u(3,r.IMouseService),u(4,r.ISelectionService),u(5,o.IOptionsService)],l)}(i.Disposable);f.MouseZoneManager=d},function(g,f,b){"use strict";var m,y=this&&this.__extends||(m=function(t,s){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,p){c.__proto__=p}||function(c,p){for(var A in p)p.hasOwnProperty(A)&&(c[A]=p[A])})(t,s)},function(l,t){function s(){this.constructor=l}m(l,t),l.prototype=t===null?Object.create(t):(s.prototype=t.prototype,new s)});Object.defineProperty(f,"__esModule",{value:!0}),f.AccessibilityManager=void 0;var h=b(18),u=b(11),i=b(31),a=b(7),r=b(2),o=b(32),d=b(17),n=function(l){function t(s,c){var p=l.call(this)||this;p._terminal=s,p._renderService=c,p._liveRegionLineCount=0,p._charsToConsume=[],p._charsToAnnounce="",p._accessibilityTreeRoot=document.createElement("div"),p._accessibilityTreeRoot.classList.add("xterm-accessibility"),p._rowContainer=document.createElement("div"),p._rowContainer.classList.add("xterm-accessibility-tree"),p._rowContainer.setAttribute("role","list"),p._rowElements=[];for(var A=0;A<p._terminal.rows;A++)p._rowElements[A]=p._createAccessibilityTreeNode(),p._rowContainer.appendChild(p._rowElements[A]);if(p._topBoundaryFocusListener=function(w){return p._onBoundaryFocus(w,0)},p._bottomBoundaryFocusListener=function(w){return p._onBoundaryFocus(w,1)},p._rowElements[0].addEventListener("focus",p._topBoundaryFocusListener),p._rowElements[p._rowElements.length-1].addEventListener("focus",p._bottomBoundaryFocusListener),p._refreshRowsDimensions(),p._accessibilityTreeRoot.appendChild(p._rowContainer),p._renderRowsDebouncer=new i.RenderDebouncer(p._renderRows.bind(p)),p._refreshRows(),p._liveRegion=document.createElement("div"),p._liveRegion.classList.add("live-region"),p._liveRegion.setAttribute("aria-live","assertive"),p._accessibilityTreeRoot.appendChild(p._liveRegion),!p._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return p._terminal.element.insertAdjacentElement("afterbegin",p._accessibilityTreeRoot),p.register(p._renderRowsDebouncer),p.register(p._terminal.onResize(function(w){return p._onResize(w.rows)})),p.register(p._terminal.onRender(function(w){return p._refreshRows(w.start,w.end)})),p.register(p._terminal.onScroll(function(){return p._refreshRows()})),p.register(p._terminal.onA11yChar(function(w){return p._onChar(w)})),p.register(p._terminal.onLineFeed(function(){return p._onChar(`
`)})),p.register(p._terminal.onA11yTab(function(w){return p._onTab(w)})),p.register(p._terminal.onKey(function(w){return p._onKey(w.key)})),p.register(p._terminal.onBlur(function(){return p._clearLiveRegion()})),p.register(p._renderService.onDimensionsChange(function(){return p._refreshRowsDimensions()})),p._screenDprMonitor=new o.ScreenDprMonitor,p.register(p._screenDprMonitor),p._screenDprMonitor.setListener(function(){return p._refreshRowsDimensions()}),p.register(a.addDisposableDomListener(window,"resize",function(){return p._refreshRowsDimensions()})),p}return y(t,l),t.prototype.dispose=function(){l.prototype.dispose.call(this),d.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},t.prototype._onBoundaryFocus=function(s,c){var p=s.target,A=this._rowElements[c===0?1:this._rowElements.length-2];if(p.getAttribute("aria-posinset")!==(c===0?"1":""+this._terminal.buffer.lines.length)&&s.relatedTarget===A){var w,C;if(c===0?(w=p,C=this._rowElements.pop(),this._rowContainer.removeChild(C)):(w=this._rowElements.shift(),C=p,this._rowContainer.removeChild(w)),w.removeEventListener("focus",this._topBoundaryFocusListener),C.removeEventListener("focus",this._bottomBoundaryFocusListener),c===0){var x=this._createAccessibilityTreeNode();this._rowElements.unshift(x),this._rowContainer.insertAdjacentElement("afterbegin",x)}else x=this._createAccessibilityTreeNode(),this._rowElements.push(x),this._rowContainer.appendChild(x);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(c===0?-1:1),this._rowElements[c===0?1:this._rowElements.length-2].focus(),s.preventDefault(),s.stopImmediatePropagation()}},t.prototype._onResize=function(s){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var c=this._rowContainer.children.length;c<this._terminal.rows;c++)this._rowElements[c]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[c]);for(;this._rowElements.length>s;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},t.prototype._createAccessibilityTreeNode=function(){var s=document.createElement("div");return s.setAttribute("role","listitem"),s.tabIndex=-1,this._refreshRowDimensions(s),s},t.prototype._onTab=function(s){for(var c=0;c<s;c++)this._onChar(" ")},t.prototype._onChar=function(s){var c=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==s&&(this._charsToAnnounce+=s):this._charsToAnnounce+=s,s===`
`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=h.tooMuchOutput)),u.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){c._accessibilityTreeRoot.appendChild(c._liveRegion)},0))},t.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,u.isMac&&d.removeElementFromParent(this._liveRegion)},t.prototype._onKey=function(s){this._clearLiveRegion(),this._charsToConsume.push(s)},t.prototype._refreshRows=function(s,c){this._renderRowsDebouncer.refresh(s,c,this._terminal.rows)},t.prototype._renderRows=function(s,c){for(var p=this._terminal.buffer,A=p.lines.length.toString(),w=s;w<=c;w++){var C=p.translateBufferLineToString(p.ydisp+w,!0),x=(p.ydisp+w+1).toString(),E=this._rowElements[w];E&&(C.length===0?E.innerHTML="&nbsp;":E.textContent=C,E.setAttribute("aria-posinset",x),E.setAttribute("aria-setsize",A))}this._announceCharacters()},t.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var s=0;s<this._terminal.rows;s++)this._refreshRowDimensions(this._rowElements[s])}},t.prototype._refreshRowDimensions=function(s){s.style.height=this._renderService.dimensions.actualCellHeight+"px"},t.prototype._announceCharacters=function(){this._charsToAnnounce.length!==0&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},t}(r.Disposable);f.AccessibilityManager=n},function(g,f,b){"use strict";var m,y=this&&this.__extends||(m=function(A,w){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,x){C.__proto__=x}||function(C,x){for(var E in x)x.hasOwnProperty(E)&&(C[E]=x[E])})(A,w)},function(p,A){function w(){this.constructor=p}m(p,A),p.prototype=A===null?Object.create(A):(w.prototype=A.prototype,new w)}),h=this&&this.__decorate||function(p,A,w,C){var x,E=arguments.length,T=E<3?A:C===null?C=Object.getOwnPropertyDescriptor(A,w):C;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")T=Reflect.decorate(p,A,w,C);else for(var _=p.length-1;_>=0;_--)(x=p[_])&&(T=(E<3?x(T):E>3?x(A,w,T):x(A,w))||T);return E>3&&T&&Object.defineProperty(A,w,T),T},u=this&&this.__param||function(p,A){return function(w,C){A(w,C,p)}};Object.defineProperty(f,"__esModule",{value:!0}),f.DomRenderer=void 0;var i=b(58),a=b(9),r=b(2),o=b(5),d=b(1),n=b(0),l=b(10),t=b(17),s=1,c=function(p){function A(w,C,x,E,T,_,v,S,O){var L=p.call(this)||this;return L._colors=w,L._element=C,L._screenElement=x,L._viewportElement=E,L._linkifier=T,L._linkifier2=_,L._charSizeService=v,L._optionsService=S,L._bufferService=O,L._terminalClass=s++,L._rowElements=[],L._rowContainer=document.createElement("div"),L._rowContainer.classList.add("xterm-rows"),L._rowContainer.style.lineHeight="normal",L._rowContainer.setAttribute("aria-hidden","true"),L._refreshRowElements(L._bufferService.cols,L._bufferService.rows),L._selectionContainer=document.createElement("div"),L._selectionContainer.classList.add("xterm-selection"),L._selectionContainer.setAttribute("aria-hidden","true"),L.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},L._updateDimensions(),L._injectCss(),L._rowFactory=new i.DomRendererRowFactory(document,L._optionsService,L._colors),L._element.classList.add("xterm-dom-renderer-owner-"+L._terminalClass),L._screenElement.appendChild(L._rowContainer),L._screenElement.appendChild(L._selectionContainer),L._linkifier.onShowLinkUnderline(function(M){return L._onLinkHover(M)}),L._linkifier.onHideLinkUnderline(function(M){return L._onLinkLeave(M)}),L._linkifier2.onShowLinkUnderline(function(M){return L._onLinkHover(M)}),L._linkifier2.onHideLinkUnderline(function(M){return L._onLinkLeave(M)}),L}return y(A,p),Object.defineProperty(A.prototype,"onRequestRedraw",{get:function(){return new n.EventEmitter().event},enumerable:!1,configurable:!0}),A.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),t.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),p.prototype.dispose.call(this)},A.prototype._updateDimensions=function(){this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;for(var w=0,C=this._rowElements;w<C.length;w++){var x=C[w];x.style.width=this.dimensions.canvasWidth+"px",x.style.height=this.dimensions.actualCellHeight+"px",x.style.lineHeight=this.dimensions.actualCellHeight+"px",x.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var E=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=E,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},A.prototype.setColors=function(w){this._colors=w,this._injectCss()},A.prototype._injectCss=function(){var w=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var C=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";C+=this._terminalSelector+" span:not(."+i.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+i.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+i.ITALIC_CLASS+" { font-style: italic;}",C+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",C+="@keyframes blink_block_"+this._terminalClass+" { 0% { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+"; } 50% { background-color: "+this._colors.cursorAccent.css+"; color: "+this._colors.cursor.css+"; }}",C+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+i.CURSOR_CLASS+"."+i.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+i.CURSOR_CLASS+"."+i.CURSOR_BLINK_CLASS+":not(."+i.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+i.CURSOR_CLASS+"."+i.CURSOR_BLINK_CLASS+"."+i.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+i.CURSOR_CLASS+"."+i.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+i.CURSOR_CLASS+"."+i.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+i.CURSOR_CLASS+"."+i.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",C+=this._terminalSelector+" .xterm-selection { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" .xterm-selection div { position: absolute; background-color: "+this._colors.selectionTransparent.css+";}",this._colors.ansi.forEach(function(x,E){C+=w._terminalSelector+" .xterm-fg-"+E+" { color: "+x.css+"; }"+w._terminalSelector+" .xterm-bg-"+E+" { background-color: "+x.css+"; }"}),C+=this._terminalSelector+" .xterm-fg-"+a.INVERTED_DEFAULT_COLOR+" { color: "+l.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+a.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=C},A.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},A.prototype._refreshRowElements=function(w,C){for(var x=this._rowElements.length;x<=C;x++){var E=document.createElement("div");this._rowContainer.appendChild(E),this._rowElements.push(E)}for(;this._rowElements.length>C;)this._rowContainer.removeChild(this._rowElements.pop())},A.prototype.onResize=function(w,C){this._refreshRowElements(w,C),this._updateDimensions()},A.prototype.onCharSizeChanged=function(){this._updateDimensions()},A.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},A.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},A.prototype.onSelectionChanged=function(w,C,x){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(w&&C){var E=w[1]-this._bufferService.buffer.ydisp,T=C[1]-this._bufferService.buffer.ydisp,_=Math.max(E,0),v=Math.min(T,this._bufferService.rows-1);if(!(_>=this._bufferService.rows||v<0)){var S=document.createDocumentFragment();if(x)S.appendChild(this._createSelectionElement(_,w[0],C[0],v-_+1));else{var O=E===_?w[0]:0,L=_===v?C[0]:this._bufferService.cols;S.appendChild(this._createSelectionElement(_,O,L));var M=v-_-1;if(S.appendChild(this._createSelectionElement(_+1,0,this._bufferService.cols,M)),_!==v){var F=T===v?C[0]:this._bufferService.cols;S.appendChild(this._createSelectionElement(v,0,F))}}this._selectionContainer.appendChild(S)}}},A.prototype._createSelectionElement=function(w,C,x,E){E===void 0&&(E=1);var T=document.createElement("div");return T.style.height=E*this.dimensions.actualCellHeight+"px",T.style.top=w*this.dimensions.actualCellHeight+"px",T.style.left=C*this.dimensions.actualCellWidth+"px",T.style.width=this.dimensions.actualCellWidth*(x-C)+"px",T},A.prototype.onCursorMove=function(){},A.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},A.prototype.clear=function(){for(var w=0,C=this._rowElements;w<C.length;w++)C[w].innerHTML=""},A.prototype.renderRows=function(w,C){for(var x=this._bufferService.buffer.ybase+this._bufferService.buffer.y,E=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),T=this._optionsService.options.cursorBlink,_=w;_<=C;_++){var v=this._rowElements[_];v.innerHTML="";var S=_+this._bufferService.buffer.ydisp,O=this._bufferService.buffer.lines.get(S),L=this._optionsService.options.cursorStyle;v.appendChild(this._rowFactory.createRow(O,S===x,L,E,T,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(A.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),A.prototype.registerCharacterJoiner=function(w){return-1},A.prototype.deregisterCharacterJoiner=function(w){return!1},A.prototype._onLinkHover=function(w){this._setCellUnderline(w.x1,w.x2,w.y1,w.y2,w.cols,!0)},A.prototype._onLinkLeave=function(w){this._setCellUnderline(w.x1,w.x2,w.y1,w.y2,w.cols,!1)},A.prototype._setCellUnderline=function(w,C,x,E,T,_){for(;w!==C||x!==E;){var v=this._rowElements[x];if(!v)return;var S=v.children[w];S&&(S.style.textDecoration=_?"underline":"none"),++w>=T&&(w=0,x++)}},A=h([u(6,o.ICharSizeService),u(7,d.IOptionsService),u(8,d.IBufferService)],A)}(r.Disposable);f.DomRenderer=c},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DomRendererRowFactory=f.CURSOR_STYLE_UNDERLINE_CLASS=f.CURSOR_STYLE_BAR_CLASS=f.CURSOR_STYLE_BLOCK_CLASS=f.CURSOR_BLINK_CLASS=f.CURSOR_CLASS=f.UNDERLINE_CLASS=f.ITALIC_CLASS=f.DIM_CLASS=f.BOLD_CLASS=void 0;var m=b(9),y=b(3),h=b(4),u=b(10);f.BOLD_CLASS="xterm-bold",f.DIM_CLASS="xterm-dim",f.ITALIC_CLASS="xterm-italic",f.UNDERLINE_CLASS="xterm-underline",f.CURSOR_CLASS="xterm-cursor",f.CURSOR_BLINK_CLASS="xterm-cursor-blink",f.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",f.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",f.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var i=function(){function r(o,d,n){this._document=o,this._optionsService=d,this._colors=n,this._workCell=new h.CellData}return r.prototype.setColors=function(o){this._colors=o},r.prototype.createRow=function(o,d,n,l,t,s,c){for(var p=this._document.createDocumentFragment(),A=0,w=Math.min(o.length,c)-1;w>=0;w--)if(o.loadCell(w,this._workCell).getCode()!==y.NULL_CELL_CODE||d&&w===l){A=w+1;break}for(w=0;w<A;w++){o.loadCell(w,this._workCell);var C=this._workCell.getWidth();if(C!==0){var x=this._document.createElement("span");if(C>1&&(x.style.width=s*C+"px"),d&&w===l)switch(x.classList.add(f.CURSOR_CLASS),t&&x.classList.add(f.CURSOR_BLINK_CLASS),n){case"bar":x.classList.add(f.CURSOR_STYLE_BAR_CLASS);break;case"underline":x.classList.add(f.CURSOR_STYLE_UNDERLINE_CLASS);break;default:x.classList.add(f.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&x.classList.add(f.BOLD_CLASS),this._workCell.isItalic()&&x.classList.add(f.ITALIC_CLASS),this._workCell.isDim()&&x.classList.add(f.DIM_CLASS),this._workCell.isUnderline()&&x.classList.add(f.UNDERLINE_CLASS),this._workCell.isInvisible()?x.textContent=y.WHITESPACE_CELL_CHAR:x.textContent=this._workCell.getChars()||y.WHITESPACE_CELL_CHAR;var E=this._workCell.getFgColor(),T=this._workCell.getFgColorMode(),_=this._workCell.getBgColor(),v=this._workCell.getBgColorMode(),S=!!this._workCell.isInverse();if(S){var O=E;E=_,_=O;var L=T;T=v,v=L}switch(T){case 16777216:case 33554432:this._workCell.isBold()&&E<8&&this._optionsService.options.drawBoldTextInBrightColors&&(E+=8),this._applyMinimumContrast(x,this._colors.background,this._colors.ansi[E])||x.classList.add("xterm-fg-"+E);break;case 50331648:var M=u.rgba.toColor(E>>16&255,E>>8&255,255&E);this._applyMinimumContrast(x,this._colors.background,M)||this._addStyle(x,"color:#"+a(E.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(x,this._colors.background,this._colors.foreground)||S&&x.classList.add("xterm-fg-"+m.INVERTED_DEFAULT_COLOR)}switch(v){case 16777216:case 33554432:x.classList.add("xterm-bg-"+_);break;case 50331648:this._addStyle(x,"background-color:#"+a(_.toString(16),"0",6));break;case 0:default:S&&x.classList.add("xterm-bg-"+m.INVERTED_DEFAULT_COLOR)}p.appendChild(x)}}return p},r.prototype._applyMinimumContrast=function(o,d,n){if(this._optionsService.options.minimumContrastRatio===1)return!1;var l=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return l===void 0&&(l=u.color.ensureContrastRatio(d,n,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,l!=null?l:null)),!!l&&(this._addStyle(o,"color:"+l.css),!0)},r.prototype._addStyle=function(o,d){o.setAttribute("style",""+(o.getAttribute("style")||"")+d+";")},r}();function a(r,o,d){for(;r.length<d;)r=o+r;return r}f.DomRendererRowFactory=i},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.evaluateKeyboardEvent=void 0;var m=b(12),y={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};f.evaluateKeyboardEvent=function(h,u,i,a){var r={type:0,cancel:!1,key:void 0},o=(h.shiftKey?1:0)|(h.altKey?2:0)|(h.ctrlKey?4:0)|(h.metaKey?8:0);switch(h.keyCode){case 0:h.key==="UIKeyInputUpArrow"?r.key=u?m.C0.ESC+"OA":m.C0.ESC+"[A":h.key==="UIKeyInputLeftArrow"?r.key=u?m.C0.ESC+"OD":m.C0.ESC+"[D":h.key==="UIKeyInputRightArrow"?r.key=u?m.C0.ESC+"OC":m.C0.ESC+"[C":h.key==="UIKeyInputDownArrow"&&(r.key=u?m.C0.ESC+"OB":m.C0.ESC+"[B");break;case 8:if(h.shiftKey){r.key=m.C0.BS;break}if(h.altKey){r.key=m.C0.ESC+m.C0.DEL;break}r.key=m.C0.DEL;break;case 9:if(h.shiftKey){r.key=m.C0.ESC+"[Z";break}r.key=m.C0.HT,r.cancel=!0;break;case 13:r.key=h.altKey?m.C0.ESC+m.C0.CR:m.C0.CR,r.cancel=!0;break;case 27:r.key=m.C0.ESC,h.altKey&&(r.key=m.C0.ESC+m.C0.ESC),r.cancel=!0;break;case 37:if(h.metaKey)break;o?(r.key=m.C0.ESC+"[1;"+(o+1)+"D",r.key===m.C0.ESC+"[1;3D"&&(r.key=m.C0.ESC+(i?"b":"[1;5D"))):r.key=u?m.C0.ESC+"OD":m.C0.ESC+"[D";break;case 39:if(h.metaKey)break;o?(r.key=m.C0.ESC+"[1;"+(o+1)+"C",r.key===m.C0.ESC+"[1;3C"&&(r.key=m.C0.ESC+(i?"f":"[1;5C"))):r.key=u?m.C0.ESC+"OC":m.C0.ESC+"[C";break;case 38:if(h.metaKey)break;o?(r.key=m.C0.ESC+"[1;"+(o+1)+"A",i||r.key!==m.C0.ESC+"[1;3A"||(r.key=m.C0.ESC+"[1;5A")):r.key=u?m.C0.ESC+"OA":m.C0.ESC+"[A";break;case 40:if(h.metaKey)break;o?(r.key=m.C0.ESC+"[1;"+(o+1)+"B",i||r.key!==m.C0.ESC+"[1;3B"||(r.key=m.C0.ESC+"[1;5B")):r.key=u?m.C0.ESC+"OB":m.C0.ESC+"[B";break;case 45:h.shiftKey||h.ctrlKey||(r.key=m.C0.ESC+"[2~");break;case 46:r.key=o?m.C0.ESC+"[3;"+(o+1)+"~":m.C0.ESC+"[3~";break;case 36:r.key=o?m.C0.ESC+"[1;"+(o+1)+"H":u?m.C0.ESC+"OH":m.C0.ESC+"[H";break;case 35:r.key=o?m.C0.ESC+"[1;"+(o+1)+"F":u?m.C0.ESC+"OF":m.C0.ESC+"[F";break;case 33:h.shiftKey?r.type=2:r.key=m.C0.ESC+"[5~";break;case 34:h.shiftKey?r.type=3:r.key=m.C0.ESC+"[6~";break;case 112:r.key=o?m.C0.ESC+"[1;"+(o+1)+"P":m.C0.ESC+"OP";break;case 113:r.key=o?m.C0.ESC+"[1;"+(o+1)+"Q":m.C0.ESC+"OQ";break;case 114:r.key=o?m.C0.ESC+"[1;"+(o+1)+"R":m.C0.ESC+"OR";break;case 115:r.key=o?m.C0.ESC+"[1;"+(o+1)+"S":m.C0.ESC+"OS";break;case 116:r.key=o?m.C0.ESC+"[15;"+(o+1)+"~":m.C0.ESC+"[15~";break;case 117:r.key=o?m.C0.ESC+"[17;"+(o+1)+"~":m.C0.ESC+"[17~";break;case 118:r.key=o?m.C0.ESC+"[18;"+(o+1)+"~":m.C0.ESC+"[18~";break;case 119:r.key=o?m.C0.ESC+"[19;"+(o+1)+"~":m.C0.ESC+"[19~";break;case 120:r.key=o?m.C0.ESC+"[20;"+(o+1)+"~":m.C0.ESC+"[20~";break;case 121:r.key=o?m.C0.ESC+"[21;"+(o+1)+"~":m.C0.ESC+"[21~";break;case 122:r.key=o?m.C0.ESC+"[23;"+(o+1)+"~":m.C0.ESC+"[23~";break;case 123:r.key=o?m.C0.ESC+"[24;"+(o+1)+"~":m.C0.ESC+"[24~";break;default:if(!h.ctrlKey||h.shiftKey||h.altKey||h.metaKey)if(i&&!a||!h.altKey||h.metaKey)i&&!h.altKey&&!h.ctrlKey&&h.metaKey?h.keyCode===65&&(r.type=1):h.key&&!h.ctrlKey&&!h.altKey&&!h.metaKey&&h.keyCode>=48&&h.key.length===1?r.key=h.key:h.key&&h.ctrlKey&&h.key==="_"&&(r.key=m.C0.US);else{var d=y[h.keyCode],n=d&&d[h.shiftKey?1:0];if(n)r.key=m.C0.ESC+n;else if(h.keyCode>=65&&h.keyCode<=90){var l=h.ctrlKey?h.keyCode-64:h.keyCode+32;r.key=m.C0.ESC+String.fromCharCode(l)}}else h.keyCode>=65&&h.keyCode<=90?r.key=String.fromCharCode(h.keyCode-64):h.keyCode===32?r.key=m.C0.NUL:h.keyCode>=51&&h.keyCode<=55?r.key=String.fromCharCode(h.keyCode-51+27):h.keyCode===56?r.key=m.C0.DEL:h.keyCode===219?r.key=m.C0.ESC:h.keyCode===220?r.key=m.C0.FS:h.keyCode===221&&(r.key=m.C0.GS)}return r}},function(g,f,b){"use strict";var m,y=this&&this.__extends||(m=function(c,p){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,w){A.__proto__=w}||function(A,w){for(var C in w)w.hasOwnProperty(C)&&(A[C]=w[C])})(c,p)},function(s,c){function p(){this.constructor=s}m(s,c),s.prototype=c===null?Object.create(c):(p.prototype=c.prototype,new p)}),h=this&&this.__decorate||function(s,c,p,A){var w,C=arguments.length,x=C<3?c:A===null?A=Object.getOwnPropertyDescriptor(c,p):A;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(s,c,p,A);else for(var E=s.length-1;E>=0;E--)(w=s[E])&&(x=(C<3?w(x):C>3?w(c,p,x):w(c,p))||x);return C>3&&x&&Object.defineProperty(c,p,x),x},u=this&&this.__param||function(s,c){return function(p,A){c(p,A,s)}};Object.defineProperty(f,"__esModule",{value:!0}),f.RenderService=void 0;var i=b(31),a=b(0),r=b(2),o=b(32),d=b(7),n=b(1),l=b(5),t=function(s){function c(p,A,w,C,x,E){var T=s.call(this)||this;if(T._renderer=p,T._rowCount=A,T._isPaused=!1,T._needsFullRefresh=!1,T._isNextRenderRedrawOnly=!0,T._needsSelectionRefresh=!1,T._canvasWidth=0,T._canvasHeight=0,T._selectionState={start:void 0,end:void 0,columnSelectMode:!1},T._onDimensionsChange=new a.EventEmitter,T._onRender=new a.EventEmitter,T._onRefreshRequest=new a.EventEmitter,T.register({dispose:function(){return T._renderer.dispose()}}),T._renderDebouncer=new i.RenderDebouncer(function(v,S){return T._renderRows(v,S)}),T.register(T._renderDebouncer),T._screenDprMonitor=new o.ScreenDprMonitor,T._screenDprMonitor.setListener(function(){return T.onDevicePixelRatioChange()}),T.register(T._screenDprMonitor),T.register(E.onResize(function(v){return T._fullRefresh()})),T.register(C.onOptionChange(function(){return T._renderer.onOptionsChanged()})),T.register(x.onCharSizeChange(function(){return T.onCharSizeChanged()})),T._renderer.onRequestRedraw(function(v){return T.refreshRows(v.start,v.end,!0)}),T.register(d.addDisposableDomListener(window,"resize",function(){return T.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var _=new IntersectionObserver(function(v){return T._onIntersectionChange(v[v.length-1])},{threshold:0});_.observe(w),T.register({dispose:function(){return _.disconnect()}})}return T}return y(c,s),Object.defineProperty(c.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),c.prototype._onIntersectionChange=function(p){this._isPaused=p.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},c.prototype.refreshRows=function(p,A,w){w===void 0&&(w=!1),this._isPaused?this._needsFullRefresh=!0:(w||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(p,A,this._rowCount))},c.prototype._renderRows=function(p,A){this._renderer.renderRows(p,A),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:p,end:A}),this._isNextRenderRedrawOnly=!0},c.prototype.resize=function(p,A){this._rowCount=A,this._fireOnCanvasResize()},c.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},c.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},c.prototype.dispose=function(){s.prototype.dispose.call(this)},c.prototype.setRenderer=function(p){var A=this;this._renderer.dispose(),this._renderer=p,this._renderer.onRequestRedraw(function(w){return A.refreshRows(w.start,w.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},c.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},c.prototype.setColors=function(p){this._renderer.setColors(p),this._fullRefresh()},c.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},c.prototype.onResize=function(p,A){this._renderer.onResize(p,A),this._fullRefresh()},c.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},c.prototype.onBlur=function(){this._renderer.onBlur()},c.prototype.onFocus=function(){this._renderer.onFocus()},c.prototype.onSelectionChanged=function(p,A,w){this._selectionState.start=p,this._selectionState.end=A,this._selectionState.columnSelectMode=w,this._renderer.onSelectionChanged(p,A,w)},c.prototype.onCursorMove=function(){this._renderer.onCursorMove()},c.prototype.clear=function(){this._renderer.clear()},c.prototype.registerCharacterJoiner=function(p){return this._renderer.registerCharacterJoiner(p)},c.prototype.deregisterCharacterJoiner=function(p){return this._renderer.deregisterCharacterJoiner(p)},c=h([u(3,n.IOptionsService),u(4,l.ICharSizeService),u(5,n.IBufferService)],c)}(r.Disposable);f.RenderService=t},function(g,f,b){"use strict";var m=this&&this.__decorate||function(r,o,d,n){var l,t=arguments.length,s=t<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,d):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,o,d,n);else for(var c=r.length-1;c>=0;c--)(l=r[c])&&(s=(t<3?l(s):t>3?l(o,d,s):l(o,d))||s);return t>3&&s&&Object.defineProperty(o,d,s),s},y=this&&this.__param||function(r,o){return function(d,n){o(d,n,r)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CharSizeService=void 0;var h=b(1),u=b(0),i=function(){function r(o,d,n){this._optionsService=n,this.width=0,this.height=0,this._onCharSizeChange=new u.EventEmitter,this._measureStrategy=new a(o,d,this._optionsService)}return Object.defineProperty(r.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),r.prototype.measure=function(){var o=this._measureStrategy.measure();o.width===this.width&&o.height===this.height||(this.width=o.width,this.height=o.height,this._onCharSizeChange.fire())},r=m([y(2,h.IOptionsService)],r)}();f.CharSizeService=i;var a=function(){function r(o,d,n){this._document=o,this._parentElement=d,this._optionsService=n,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return r.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var o=this._measureElement.getBoundingClientRect();return o.width!==0&&o.height!==0&&(this._result.width=o.width,this._result.height=Math.ceil(o.height)),this._result},r}()},function(g,f,b){"use strict";var m=this&&this.__decorate||function(a,r,o,d){var n,l=arguments.length,t=l<3?r:d===null?d=Object.getOwnPropertyDescriptor(r,o):d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(a,r,o,d);else for(var s=a.length-1;s>=0;s--)(n=a[s])&&(t=(l<3?n(t):l>3?n(r,o,t):n(r,o))||t);return l>3&&t&&Object.defineProperty(r,o,t),t},y=this&&this.__param||function(a,r){return function(o,d){r(o,d,a)}};Object.defineProperty(f,"__esModule",{value:!0}),f.MouseService=void 0;var h=b(5),u=b(30),i=function(){function a(r,o){this._renderService=r,this._charSizeService=o}return a.prototype.getCoords=function(r,o,d,n,l){return u.getCoords(r,o,d,n,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,l)},a.prototype.getRawByteCoords=function(r,o,d,n){var l=this.getCoords(r,o,d,n);return u.getRawByteCoords(l)},a=m([y(0,h.IRenderService),y(1,h.ICharSizeService)],a)}();f.MouseService=i},function(g,f,b){"use strict";var m,y=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,c){s.__proto__=c}||function(s,c){for(var p in c)c.hasOwnProperty(p)&&(s[p]=c[p])})(l,t)},function(n,l){function t(){this.constructor=n}m(n,l),n.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)}),h=this&&this.__decorate||function(n,l,t,s){var c,p=arguments.length,A=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(n,l,t,s);else for(var w=n.length-1;w>=0;w--)(c=n[w])&&(A=(p<3?c(A):p>3?c(l,t,A):c(l,t))||A);return p>3&&A&&Object.defineProperty(l,t,A),A},u=this&&this.__param||function(n,l){return function(t,s){l(t,s,n)}};Object.defineProperty(f,"__esModule",{value:!0}),f.Linkifier2=void 0;var i=b(1),a=b(0),r=b(2),o=b(7),d=function(n){function l(t){var s=n.call(this)||this;return s._bufferService=t,s._linkProviders=[],s._linkCacheDisposables=[],s._isMouseOut=!0,s._activeLine=-1,s._onShowLinkUnderline=s.register(new a.EventEmitter),s._onHideLinkUnderline=s.register(new a.EventEmitter),s.register(r.getDisposeArrayDisposable(s._linkCacheDisposables)),s}return y(l,n),Object.defineProperty(l.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),l.prototype.registerLinkProvider=function(t){var s=this;return this._linkProviders.push(t),{dispose:function(){var p=s._linkProviders.indexOf(t);p!==-1&&s._linkProviders.splice(p,1)}}},l.prototype.attachToDom=function(t,s,c){var p=this;this._element=t,this._mouseService=s,this._renderService=c,this.register(o.addDisposableDomListener(this._element,"mouseleave",function(){p._isMouseOut=!0,p._clearCurrentLink()})),this.register(o.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(o.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},l.prototype._onMouseMove=function(t){if(this._lastMouseEvent=t,this._element&&this._mouseService){var s=this._positionFromMouseEvent(t,this._element,this._mouseService);if(s){this._isMouseOut=!1;for(var c=t.composedPath(),p=0;p<c.length;p++){var A=c[p];if(A.classList.contains("xterm"))break;if(A.classList.contains("xterm-hover"))return}this._lastBufferCell&&s.x===this._lastBufferCell.x&&s.y===this._lastBufferCell.y||(this._onHover(s),this._lastBufferCell=s)}}},l.prototype._onHover=function(t){if(this._activeLine!==t.y)return this._clearCurrentLink(),void this._askForLink(t,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,t)||(this._clearCurrentLink(),this._askForLink(t,!0))},l.prototype._askForLink=function(t,s){var c=this;this._activeProviderReplies&&s||(this._activeProviderReplies=new Map,this._activeLine=t.y);var p=!1;this._linkProviders.forEach(function(A,w){var C;s?((C=c._activeProviderReplies)===null||C===void 0?void 0:C.get(w))&&(p=c._checkLinkProviderResult(w,t,p)):A.provideLinks(t.y,function(x){var E,T;if(!c._isMouseOut){var _=x==null?void 0:x.map(function(v){return{link:v}});(E=c._activeProviderReplies)===null||E===void 0||E.set(w,_),p=c._checkLinkProviderResult(w,t,p),((T=c._activeProviderReplies)===null||T===void 0?void 0:T.size)===c._linkProviders.length&&c._removeIntersectingLinks(t.y,c._activeProviderReplies)}})})},l.prototype._removeIntersectingLinks=function(t,s){for(var c=new Set,p=0;p<s.size;p++){var A=s.get(p);if(A)for(var w=0;w<A.length;w++)for(var C=A[w],x=C.link.range.start.y<t?0:C.link.range.start.x,E=C.link.range.end.y>t?this._bufferService.cols:C.link.range.end.x,T=x;T<=E;T++){if(c.has(T)){A.splice(w--,1);break}c.add(T)}}},l.prototype._checkLinkProviderResult=function(t,s,c){var p,A=this;if(!this._activeProviderReplies)return c;for(var w=this._activeProviderReplies.get(t),C=!1,x=0;x<t;x++)this._activeProviderReplies.has(x)&&!this._activeProviderReplies.get(x)||(C=!0);if(!C&&w){var E=w.find(function(_){return A._linkAtPosition(_.link,s)});E&&(c=!0,this._handleNewLink(E))}if(this._activeProviderReplies.size===this._linkProviders.length&&!c)for(x=0;x<this._activeProviderReplies.size;x++){var T=(p=this._activeProviderReplies.get(x))===null||p===void 0?void 0:p.find(function(_){return A._linkAtPosition(_.link,s)});if(T){c=!0,this._handleNewLink(T);break}}return c},l.prototype._onClick=function(t){if(this._element&&this._mouseService&&this._currentLink){var s=this._positionFromMouseEvent(t,this._element,this._mouseService);s&&this._linkAtPosition(this._currentLink.link,s)&&this._currentLink.link.activate(t,this._currentLink.link.text)}},l.prototype._clearCurrentLink=function(t,s){this._element&&this._currentLink&&this._lastMouseEvent&&(!t||!s||this._currentLink.link.range.start.y>=t&&this._currentLink.link.range.end.y<=s)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,r.disposeArray(this._linkCacheDisposables))},l.prototype._handleNewLink=function(t){var s=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var c=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);c&&this._linkAtPosition(t.link,c)&&(this._currentLink=t,this._currentLink.state={decorations:{underline:t.link.decorations===void 0||t.link.decorations.underline,pointerCursor:t.link.decorations===void 0||t.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,t.link,this._lastMouseEvent),t.link.decorations={},Object.defineProperties(t.link.decorations,{pointerCursor:{get:function(){var A,w;return(w=(A=s._currentLink)===null||A===void 0?void 0:A.state)===null||w===void 0?void 0:w.decorations.pointerCursor},set:function(A){var w,C;((w=s._currentLink)===null||w===void 0?void 0:w.state)&&s._currentLink.state.decorations.pointerCursor!==A&&(s._currentLink.state.decorations.pointerCursor=A,s._currentLink.state.isHovered&&((C=s._element)===null||C===void 0||C.classList.toggle("xterm-cursor-pointer",A)))}},underline:{get:function(){var A,w;return(w=(A=s._currentLink)===null||A===void 0?void 0:A.state)===null||w===void 0?void 0:w.decorations.underline},set:function(A){var w,C,x;((w=s._currentLink)===null||w===void 0?void 0:w.state)&&((x=(C=s._currentLink)===null||C===void 0?void 0:C.state)===null||x===void 0?void 0:x.decorations.underline)!==A&&(s._currentLink.state.decorations.underline=A,s._currentLink.state.isHovered&&s._fireUnderlineEvent(t.link,A))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(p){var A=p.start===0?0:p.start+1+s._bufferService.buffer.ydisp;s._clearCurrentLink(A,p.end+1+s._bufferService.buffer.ydisp)})))}},l.prototype._linkHover=function(t,s,c){var p;((p=this._currentLink)===null||p===void 0?void 0:p.state)&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(s,!0),this._currentLink.state.decorations.pointerCursor&&t.classList.add("xterm-cursor-pointer")),s.hover&&s.hover(c,s.text)},l.prototype._fireUnderlineEvent=function(t,s){var c=t.range,p=this._bufferService.buffer.ydisp,A=this._createLinkUnderlineEvent(c.start.x-1,c.start.y-p-1,c.end.x,c.end.y-p-1,void 0);(s?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(A)},l.prototype._linkLeave=function(t,s,c){var p;((p=this._currentLink)===null||p===void 0?void 0:p.state)&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(s,!1),this._currentLink.state.decorations.pointerCursor&&t.classList.remove("xterm-cursor-pointer")),s.leave&&s.leave(c,s.text)},l.prototype._linkAtPosition=function(t,s){var c=t.range.start.y===t.range.end.y,p=t.range.start.y<s.y,A=t.range.end.y>s.y;return(c&&t.range.start.x<=s.x&&t.range.end.x>=s.x||p&&t.range.end.x>=s.x||A&&t.range.start.x<=s.x||p&&A)&&t.range.start.y<=s.y&&t.range.end.y>=s.y},l.prototype._positionFromMouseEvent=function(t,s,c){var p=c.getCoords(t,s,this._bufferService.cols,this._bufferService.rows);if(p)return{x:p[0],y:p[1]+this._bufferService.buffer.ydisp}},l.prototype._createLinkUnderlineEvent=function(t,s,c,p,A){return{x1:t,y1:s,x2:c,y2:p,cols:this._bufferService.cols,fg:A}},l=h([u(0,i.IBufferService)],l)}(r.Disposable);f.Linkifier2=d},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CoreBrowserService=void 0;var m=function(){function y(h){this._textarea=h}return Object.defineProperty(y.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),y}();f.CoreBrowserService=m},function(g,f,b){"use strict";var m,y=this&&this.__extends||(m=function(E,T){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,v){_.__proto__=v}||function(_,v){for(var S in v)v.hasOwnProperty(S)&&(_[S]=v[S])})(E,T)},function(x,E){function T(){this.constructor=x}m(x,E),x.prototype=E===null?Object.create(E):(T.prototype=E.prototype,new T)});Object.defineProperty(f,"__esModule",{value:!0}),f.CoreTerminal=void 0;var h=b(2),u=b(1),i=b(66),a=b(67),r=b(68),o=b(74),d=b(75),n=b(0),l=b(76),t=b(77),s=b(78),c=b(80),p=b(81),A=b(19),w=b(82),C=function(x){function E(T){var _=x.call(this)||this;return _._onBinary=new n.EventEmitter,_._onData=new n.EventEmitter,_._onLineFeed=new n.EventEmitter,_._onResize=new n.EventEmitter,_._onScroll=new n.EventEmitter,_._instantiationService=new i.InstantiationService,_.optionsService=new o.OptionsService(T),_._instantiationService.setService(u.IOptionsService,_.optionsService),_._bufferService=_.register(_._instantiationService.createInstance(r.BufferService)),_._instantiationService.setService(u.IBufferService,_._bufferService),_._logService=_._instantiationService.createInstance(a.LogService),_._instantiationService.setService(u.ILogService,_._logService),_._coreService=_.register(_._instantiationService.createInstance(d.CoreService,function(){return _.scrollToBottom()})),_._instantiationService.setService(u.ICoreService,_._coreService),_._coreMouseService=_._instantiationService.createInstance(l.CoreMouseService),_._instantiationService.setService(u.ICoreMouseService,_._coreMouseService),_._dirtyRowService=_._instantiationService.createInstance(t.DirtyRowService),_._instantiationService.setService(u.IDirtyRowService,_._dirtyRowService),_.unicodeService=_._instantiationService.createInstance(s.UnicodeService),_._instantiationService.setService(u.IUnicodeService,_.unicodeService),_._charsetService=_._instantiationService.createInstance(c.CharsetService),_._instantiationService.setService(u.ICharsetService,_._charsetService),_._inputHandler=new A.InputHandler(_._bufferService,_._charsetService,_._coreService,_._dirtyRowService,_._logService,_.optionsService,_._coreMouseService,_.unicodeService),_.register(n.forwardEvent(_._inputHandler.onLineFeed,_._onLineFeed)),_.register(_._inputHandler),_.register(n.forwardEvent(_._bufferService.onResize,_._onResize)),_.register(n.forwardEvent(_._coreService.onData,_._onData)),_.register(n.forwardEvent(_._coreService.onBinary,_._onBinary)),_.register(_.optionsService.onOptionChange(function(v){return _._updateOptions(v)})),_._writeBuffer=new w.WriteBuffer(function(v){return _._inputHandler.parse(v)}),_}return y(E,x),Object.defineProperty(E.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),E.prototype.dispose=function(){var T;this._isDisposed||(x.prototype.dispose.call(this),(T=this._windowsMode)===null||T===void 0||T.dispose(),this._windowsMode=void 0)},E.prototype.write=function(T,_){this._writeBuffer.write(T,_)},E.prototype.writeSync=function(T){this._writeBuffer.writeSync(T)},E.prototype.resize=function(T,_){isNaN(T)||isNaN(_)||(T=Math.max(T,r.MINIMUM_COLS),_=Math.max(_,r.MINIMUM_ROWS),this._bufferService.resize(T,_))},E.prototype.scroll=function(T,_){_===void 0&&(_=!1);var v,S=this._bufferService.buffer;(v=this._cachedBlankLine)&&v.length===this.cols&&v.getFg(0)===T.fg&&v.getBg(0)===T.bg||(v=S.getBlankLine(T,_),this._cachedBlankLine=v),v.isWrapped=_;var O=S.ybase+S.scrollTop,L=S.ybase+S.scrollBottom;if(S.scrollTop===0){var M=S.lines.isFull;L===S.lines.length-1?M?S.lines.recycle().copyFrom(v):S.lines.push(v.clone()):S.lines.splice(L+1,0,v.clone()),M?this._bufferService.isUserScrolling&&(S.ydisp=Math.max(S.ydisp-1,0)):(S.ybase++,this._bufferService.isUserScrolling||S.ydisp++)}else{var F=L-O+1;S.lines.shiftElements(O+1,F-1,-1),S.lines.set(L,v.clone())}this._bufferService.isUserScrolling||(S.ydisp=S.ybase),this._dirtyRowService.markRangeDirty(S.scrollTop,S.scrollBottom),this._onScroll.fire(S.ydisp)},E.prototype.scrollLines=function(T,_){var v=this._bufferService.buffer;if(T<0){if(v.ydisp===0)return;this._bufferService.isUserScrolling=!0}else T+v.ydisp>=v.ybase&&(this._bufferService.isUserScrolling=!1);var S=v.ydisp;v.ydisp=Math.max(Math.min(v.ydisp+T,v.ybase),0),S!==v.ydisp&&(_||this._onScroll.fire(v.ydisp))},E.prototype.scrollPages=function(T){this.scrollLines(T*(this.rows-1))},E.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},E.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},E.prototype.scrollToLine=function(T){var _=T-this._bufferService.buffer.ydisp;_!==0&&this.scrollLines(_)},E.prototype.addEscHandler=function(T,_){return this._inputHandler.addEscHandler(T,_)},E.prototype.addDcsHandler=function(T,_){return this._inputHandler.addDcsHandler(T,_)},E.prototype.addCsiHandler=function(T,_){return this._inputHandler.addCsiHandler(T,_)},E.prototype.addOscHandler=function(T,_){return this._inputHandler.addOscHandler(T,_)},E.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},E.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},E.prototype._updateOptions=function(T){var _;switch(T){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((_=this._windowsMode)===null||_===void 0||_.dispose(),this._windowsMode=void 0)}},E.prototype._enableWindowsMode=function(){var T=this;if(!this._windowsMode){var _=[];_.push(this.onLineFeed(p.updateWindowsModeWrappedState.bind(null,this._bufferService))),_.push(this.addCsiHandler({final:"H"},function(){return p.updateWindowsModeWrappedState(T._bufferService),!1})),this._windowsMode={dispose:function(){for(var S=0,O=_;S<O.length;S++)O[S].dispose()}}}},E}(h.Disposable);f.CoreTerminal=C},function(g,f,b){"use strict";var m=this&&this.__spreadArrays||function(){for(var a=0,r=0,o=arguments.length;r<o;r++)a+=arguments[r].length;var d=Array(a),n=0;for(r=0;r<o;r++)for(var l=arguments[r],t=0,s=l.length;t<s;t++,n++)d[n]=l[t];return d};Object.defineProperty(f,"__esModule",{value:!0}),f.InstantiationService=f.ServiceCollection=void 0;var y=b(1),h=b(14),u=function(){function a(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];this._entries=new Map;for(var d=0,n=r;d<n.length;d++){var l=n[d],t=l[0],s=l[1];this.set(t,s)}}return a.prototype.set=function(r,o){var d=this._entries.get(r);return this._entries.set(r,o),d},a.prototype.forEach=function(r){this._entries.forEach(function(o,d){return r(d,o)})},a.prototype.has=function(r){return this._entries.has(r)},a.prototype.get=function(r){return this._entries.get(r)},a}();f.ServiceCollection=u;var i=function(){function a(){this._services=new u,this._services.set(y.IInstantiationService,this)}return a.prototype.setService=function(r,o){this._services.set(r,o)},a.prototype.getService=function(r){return this._services.get(r)},a.prototype.createInstance=function(r){for(var o=[],d=1;d<arguments.length;d++)o[d-1]=arguments[d];for(var n=h.getServiceDependencies(r).sort(function(w,C){return w.index-C.index}),l=[],t=0,s=n;t<s.length;t++){var c=s[t],p=this._services.get(c.id);if(!p)throw new Error("[createInstance] "+r.name+" depends on UNKNOWN service "+c.id+".");l.push(p)}var A=n.length>0?n[0].index:o.length;if(o.length!==A)throw new Error("[createInstance] First service dependency of "+r.name+" at position "+(A+1)+" conflicts with "+o.length+" static arguments");return new(r.bind.apply(r,m([void 0],m(o,l))))},a}();f.InstantiationService=i},function(g,f,b){"use strict";var m=this&&this.__decorate||function(o,d,n,l){var t,s=arguments.length,c=s<3?d:l===null?l=Object.getOwnPropertyDescriptor(d,n):l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(o,d,n,l);else for(var p=o.length-1;p>=0;p--)(t=o[p])&&(c=(s<3?t(c):s>3?t(d,n,c):t(d,n))||c);return s>3&&c&&Object.defineProperty(d,n,c),c},y=this&&this.__param||function(o,d){return function(n,l){d(n,l,o)}},h=this&&this.__spreadArrays||function(){for(var o=0,d=0,n=arguments.length;d<n;d++)o+=arguments[d].length;var l=Array(o),t=0;for(d=0;d<n;d++)for(var s=arguments[d],c=0,p=s.length;c<p;c++,t++)l[t]=s[c];return l};Object.defineProperty(f,"__esModule",{value:!0}),f.LogService=f.LogLevel=void 0;var u,i=b(1);!function(o){o[o.DEBUG=0]="DEBUG",o[o.INFO=1]="INFO",o[o.WARN=2]="WARN",o[o.ERROR=3]="ERROR",o[o.OFF=4]="OFF"}(u=f.LogLevel||(f.LogLevel={}));var a={debug:u.DEBUG,info:u.INFO,warn:u.WARN,error:u.ERROR,off:u.OFF},r=function(){function o(d){var n=this;this._optionsService=d,this._updateLogLevel(),this._optionsService.onOptionChange(function(l){l==="logLevel"&&n._updateLogLevel()})}return o.prototype._updateLogLevel=function(){this._logLevel=a[this._optionsService.options.logLevel]},o.prototype._evalLazyOptionalParams=function(d){for(var n=0;n<d.length;n++)typeof d[n]=="function"&&(d[n]=d[n]())},o.prototype._log=function(d,n,l){this._evalLazyOptionalParams(l),d.call.apply(d,h([console,"xterm.js: "+n],l))},o.prototype.debug=function(d){for(var n=[],l=1;l<arguments.length;l++)n[l-1]=arguments[l];this._logLevel<=u.DEBUG&&this._log(console.log,d,n)},o.prototype.info=function(d){for(var n=[],l=1;l<arguments.length;l++)n[l-1]=arguments[l];this._logLevel<=u.INFO&&this._log(console.info,d,n)},o.prototype.warn=function(d){for(var n=[],l=1;l<arguments.length;l++)n[l-1]=arguments[l];this._logLevel<=u.WARN&&this._log(console.warn,d,n)},o.prototype.error=function(d){for(var n=[],l=1;l<arguments.length;l++)n[l-1]=arguments[l];this._logLevel<=u.ERROR&&this._log(console.error,d,n)},o=m([y(0,i.IOptionsService)],o)}();f.LogService=r},function(g,f,b){"use strict";var m,y=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,c){s.__proto__=c}||function(s,c){for(var p in c)c.hasOwnProperty(p)&&(s[p]=c[p])})(l,t)},function(n,l){function t(){this.constructor=n}m(n,l),n.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)}),h=this&&this.__decorate||function(n,l,t,s){var c,p=arguments.length,A=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(n,l,t,s);else for(var w=n.length-1;w>=0;w--)(c=n[w])&&(A=(p<3?c(A):p>3?c(l,t,A):c(l,t))||A);return p>3&&A&&Object.defineProperty(l,t,A),A},u=this&&this.__param||function(n,l){return function(t,s){l(t,s,n)}};Object.defineProperty(f,"__esModule",{value:!0}),f.BufferService=f.MINIMUM_ROWS=f.MINIMUM_COLS=void 0;var i=b(1),a=b(69),r=b(0),o=b(2);f.MINIMUM_COLS=2,f.MINIMUM_ROWS=1;var d=function(n){function l(t){var s=n.call(this)||this;return s._optionsService=t,s.isUserScrolling=!1,s._onResize=new r.EventEmitter,s.cols=Math.max(t.options.cols,f.MINIMUM_COLS),s.rows=Math.max(t.options.rows,f.MINIMUM_ROWS),s.buffers=new a.BufferSet(t,s),s}return y(l,n),Object.defineProperty(l.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),l.prototype.dispose=function(){n.prototype.dispose.call(this),this.buffers.dispose()},l.prototype.resize=function(t,s){this.cols=t,this.rows=s,this.buffers.resize(t,s),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:t,rows:s})},l.prototype.reset=function(){this.buffers.dispose(),this.buffers=new a.BufferSet(this._optionsService,this),this.isUserScrolling=!1},l=h([u(0,i.IOptionsService)],l)}(o.Disposable);f.BufferService=d},function(g,f,b){"use strict";var m,y=this&&this.__extends||(m=function(r,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,n){d.__proto__=n}||function(d,n){for(var l in n)n.hasOwnProperty(l)&&(d[l]=n[l])})(r,o)},function(a,r){function o(){this.constructor=a}m(a,r),a.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)});Object.defineProperty(f,"__esModule",{value:!0}),f.BufferSet=void 0;var h=b(70),u=b(0),i=function(a){function r(o,d){var n=a.call(this)||this;return n._onBufferActivate=n.register(new u.EventEmitter),n._normal=new h.Buffer(!0,o,d),n._normal.fillViewportRows(),n._alt=new h.Buffer(!1,o,d),n._activeBuffer=n._normal,n.setupTabStops(),n}return y(r,a),Object.defineProperty(r.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),r.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},r.prototype.activateAltBuffer=function(o){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(o),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},r.prototype.resize=function(o,d){this._normal.resize(o,d),this._alt.resize(o,d)},r.prototype.setupTabStops=function(o){this._normal.setupTabStops(o),this._alt.setupTabStops(o)},r}(b(2).Disposable);f.BufferSet=i},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BufferStringIterator=f.Buffer=f.MAX_BUFFER_SIZE=void 0;var m=b(71),y=b(16),h=b(4),u=b(3),i=b(72),a=b(73),r=b(20),o=b(6);f.MAX_BUFFER_SIZE=4294967295;var d=function(){function l(t,s,c){this._hasScrollback=t,this._optionsService=s,this._bufferService=c,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=y.DEFAULT_ATTR_DATA.clone(),this.savedCharset=r.DEFAULT_CHARSET,this.markers=[],this._nullCell=h.CellData.fromCharData([0,u.NULL_CELL_CHAR,u.NULL_CELL_WIDTH,u.NULL_CELL_CODE]),this._whitespaceCell=h.CellData.fromCharData([0,u.WHITESPACE_CELL_CHAR,u.WHITESPACE_CELL_WIDTH,u.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new m.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return l.prototype.getNullCell=function(t){return t?(this._nullCell.fg=t.fg,this._nullCell.bg=t.bg,this._nullCell.extended=t.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new o.ExtendedAttrs),this._nullCell},l.prototype.getWhitespaceCell=function(t){return t?(this._whitespaceCell.fg=t.fg,this._whitespaceCell.bg=t.bg,this._whitespaceCell.extended=t.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new o.ExtendedAttrs),this._whitespaceCell},l.prototype.getBlankLine=function(t,s){return new y.BufferLine(this._bufferService.cols,this.getNullCell(t),s)},Object.defineProperty(l.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"isCursorInViewport",{get:function(){var s=this.ybase+this.y-this.ydisp;return s>=0&&s<this._rows},enumerable:!1,configurable:!0}),l.prototype._getCorrectBufferLength=function(t){if(!this._hasScrollback)return t;var s=t+this._optionsService.options.scrollback;return s>f.MAX_BUFFER_SIZE?f.MAX_BUFFER_SIZE:s},l.prototype.fillViewportRows=function(t){if(this.lines.length===0){t===void 0&&(t=y.DEFAULT_ATTR_DATA);for(var s=this._rows;s--;)this.lines.push(this.getBlankLine(t))}},l.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new m.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},l.prototype.resize=function(t,s){var c=this.getNullCell(y.DEFAULT_ATTR_DATA),p=this._getCorrectBufferLength(s);if(p>this.lines.maxLength&&(this.lines.maxLength=p),this.lines.length>0){if(this._cols<t)for(var A=0;A<this.lines.length;A++)this.lines.get(A).resize(t,c);var w=0;if(this._rows<s)for(var C=this._rows;C<s;C++)this.lines.length<s+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new y.BufferLine(t,c)):this.ybase>0&&this.lines.length<=this.ybase+this.y+w+1?(this.ybase--,w++,this.ydisp>0&&this.ydisp--):this.lines.push(new y.BufferLine(t,c)));else for(C=this._rows;C>s;C--)this.lines.length>s+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(p<this.lines.maxLength){var x=this.lines.length-p;x>0&&(this.lines.trimStart(x),this.ybase=Math.max(this.ybase-x,0),this.ydisp=Math.max(this.ydisp-x,0),this.savedY=Math.max(this.savedY-x,0)),this.lines.maxLength=p}this.x=Math.min(this.x,t-1),this.y=Math.min(this.y,s-1),w&&(this.y+=w),this.savedX=Math.min(this.savedX,t-1),this.scrollTop=0}if(this.scrollBottom=s-1,this._isReflowEnabled&&(this._reflow(t,s),this._cols>t))for(A=0;A<this.lines.length;A++)this.lines.get(A).resize(t,c);this._cols=t,this._rows=s},Object.defineProperty(l.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),l.prototype._reflow=function(t,s){this._cols!==t&&(t>this._cols?this._reflowLarger(t,s):this._reflowSmaller(t,s))},l.prototype._reflowLarger=function(t,s){var c=i.reflowLargerGetLinesToRemove(this.lines,this._cols,t,this.ybase+this.y,this.getNullCell(y.DEFAULT_ATTR_DATA));if(c.length>0){var p=i.reflowLargerCreateNewLayout(this.lines,c);i.reflowLargerApplyNewLayout(this.lines,p.layout),this._reflowLargerAdjustViewport(t,s,p.countRemoved)}},l.prototype._reflowLargerAdjustViewport=function(t,s,c){for(var p=this.getNullCell(y.DEFAULT_ATTR_DATA),A=c;A-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length<s&&this.lines.push(new y.BufferLine(t,p))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-c,0)},l.prototype._reflowSmaller=function(t,s){for(var c=this.getNullCell(y.DEFAULT_ATTR_DATA),p=[],A=0,w=this.lines.length-1;w>=0;w--){var C=this.lines.get(w);if(!(!C||!C.isWrapped&&C.getTrimmedLength()<=t)){for(var x=[C];C.isWrapped&&w>0;)C=this.lines.get(--w),x.unshift(C);var E=this.ybase+this.y;if(!(E>=w&&E<w+x.length)){var T=x[x.length-1].getTrimmedLength(),_=i.reflowSmallerGetNewLineLengths(x,this._cols,t),v=_.length-x.length,S=void 0;S=this.ybase===0&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+v):Math.max(0,this.lines.length-this.lines.maxLength+v);for(var O=[],L=0;L<v;L++){var M=this.getBlankLine(y.DEFAULT_ATTR_DATA,!0);O.push(M)}O.length>0&&(p.push({start:w+x.length+A,newLines:O}),A+=O.length),x.push.apply(x,O);var F=_.length-1,U=_[F];U===0&&(U=_[--F]);for(var z=x.length-v-1,W=T;z>=0;){var N=Math.min(W,U);if(x[F].copyCellsFrom(x[z],W-N,U-N,N,!0),(U-=N)===0&&(U=_[--F]),(W-=N)===0){z--;var H=Math.max(z,0);W=i.getWrappedLineTrimmedLength(x,H,this._cols)}}for(L=0;L<x.length;L++)_[L]<t&&x[L].setCell(_[L],c);for(var j=v-S;j-- >0;)this.ybase===0?this.y<s-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+A)-s&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+v,this.ybase+s-1)}}}if(p.length>0){var k=[],B=[];for(L=0;L<this.lines.length;L++)B.push(this.lines.get(L));var V=this.lines.length,K=V-1,Y=0,Q=p[Y];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+A);var he=0;for(L=Math.min(this.lines.maxLength-1,V+A-1);L>=0;L--)if(Q&&Q.start>K+he){for(var G=Q.newLines.length-1;G>=0;G--)this.lines.set(L--,Q.newLines[G]);L++,k.push({index:K+1,amount:Q.newLines.length}),he+=Q.newLines.length,Q=p[++Y]}else this.lines.set(L,B[K--]);var ye=0;for(L=k.length-1;L>=0;L--)k[L].index+=ye,this.lines.onInsertEmitter.fire(k[L]),ye+=k[L].amount;var Ae=Math.max(0,V+A-this.lines.maxLength);Ae>0&&this.lines.onTrimEmitter.fire(Ae)}},l.prototype.stringIndexToBufferIndex=function(t,s,c){for(c===void 0&&(c=!1);s;){var p=this.lines.get(t);if(!p)return[-1,-1];for(var A=c?p.getTrimmedLength():p.length,w=0;w<A;++w)if(p.get(w)[u.CHAR_DATA_WIDTH_INDEX]&&(s-=p.get(w)[u.CHAR_DATA_CHAR_INDEX].length||1),s<0)return[t,w];t++}return[t,0]},l.prototype.translateBufferLineToString=function(t,s,c,p){c===void 0&&(c=0);var A=this.lines.get(t);return A?A.translateToString(s,c,p):""},l.prototype.getWrappedRangeForLine=function(t){for(var s=t,c=t;s>0&&this.lines.get(s).isWrapped;)s--;for(;c+1<this.lines.length&&this.lines.get(c+1).isWrapped;)c++;return{first:s,last:c}},l.prototype.setupTabStops=function(t){for(t!=null?this.tabs[t]||(t=this.prevStop(t)):(this.tabs={},t=0);t<this._cols;t+=this._optionsService.options.tabStopWidth)this.tabs[t]=!0},l.prototype.prevStop=function(t){for(t==null&&(t=this.x);!this.tabs[--t]&&t>0;);return t>=this._cols?this._cols-1:t<0?0:t},l.prototype.nextStop=function(t){for(t==null&&(t=this.x);!this.tabs[++t]&&t<this._cols;);return t>=this._cols?this._cols-1:t<0?0:t},l.prototype.addMarker=function(t){var s=this,c=new a.Marker(t);return this.markers.push(c),c.register(this.lines.onTrim(function(p){c.line-=p,c.line<0&&c.dispose()})),c.register(this.lines.onInsert(function(p){c.line>=p.index&&(c.line+=p.amount)})),c.register(this.lines.onDelete(function(p){c.line>=p.index&&c.line<p.index+p.amount&&c.dispose(),c.line>p.index&&(c.line-=p.amount)})),c.register(c.onDispose(function(){return s._removeMarker(c)})),c},l.prototype._removeMarker=function(t){this.markers.splice(this.markers.indexOf(t),1)},l.prototype.iterator=function(t,s,c,p,A){return new n(this,t,s,c,p,A)},l}();f.Buffer=d;var n=function(){function l(t,s,c,p,A,w){c===void 0&&(c=0),p===void 0&&(p=t.lines.length),A===void 0&&(A=0),w===void 0&&(w=0),this._buffer=t,this._trimRight=s,this._startIndex=c,this._endIndex=p,this._startOverscan=A,this._endOverscan=w,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return l.prototype.hasNext=function(){return this._current<this._endIndex},l.prototype.next=function(){var t=this._buffer.getWrappedRangeForLine(this._current);t.first<this._startIndex-this._startOverscan&&(t.first=this._startIndex-this._startOverscan),t.last>this._endIndex+this._endOverscan&&(t.last=this._endIndex+this._endOverscan),t.first=Math.max(t.first,0),t.last=Math.min(t.last,this._buffer.lines.length);for(var s="",c=t.first;c<=t.last;++c)s+=this._buffer.translateBufferLineToString(c,this._trimRight);return this._current=t.last+1,{range:t,content:s}},l}();f.BufferStringIterator=n},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CircularList=void 0;var m=b(0),y=function(){function h(u){this._maxLength=u,this.onDeleteEmitter=new m.EventEmitter,this.onInsertEmitter=new m.EventEmitter,this.onTrimEmitter=new m.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(h.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"maxLength",{get:function(){return this._maxLength},set:function(i){if(this._maxLength!==i){for(var a=new Array(i),r=0;r<Math.min(i,this.length);r++)a[r]=this._array[this._getCyclicIndex(r)];this._array=a,this._maxLength=i,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"length",{get:function(){return this._length},set:function(i){if(i>this._length)for(var a=this._length;a<i;a++)this._array[a]=void 0;this._length=i},enumerable:!1,configurable:!0}),h.prototype.get=function(u){return this._array[this._getCyclicIndex(u)]},h.prototype.set=function(u,i){this._array[this._getCyclicIndex(u)]=i},h.prototype.push=function(u){this._array[this._getCyclicIndex(this._length)]=u,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},h.prototype.recycle=function(){if(this._length!==this._maxLength)throw new Error("Can only recycle when the buffer is full");return this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1),this._array[this._getCyclicIndex(this._length-1)]},Object.defineProperty(h.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),h.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},h.prototype.splice=function(u,i){for(var a=[],r=2;r<arguments.length;r++)a[r-2]=arguments[r];if(i){for(var o=u;o<this._length-i;o++)this._array[this._getCyclicIndex(o)]=this._array[this._getCyclicIndex(o+i)];this._length-=i}for(o=this._length-1;o>=u;o--)this._array[this._getCyclicIndex(o+a.length)]=this._array[this._getCyclicIndex(o)];for(o=0;o<a.length;o++)this._array[this._getCyclicIndex(u+o)]=a[o];if(this._length+a.length>this._maxLength){var d=this._length+a.length-this._maxLength;this._startIndex+=d,this._length=this._maxLength,this.onTrimEmitter.fire(d)}else this._length+=a.length},h.prototype.trimStart=function(u){u>this._length&&(u=this._length),this._startIndex+=u,this._length-=u,this.onTrimEmitter.fire(u)},h.prototype.shiftElements=function(u,i,a){if(!(i<=0)){if(u<0||u>=this._length)throw new Error("start argument out of range");if(u+a<0)throw new Error("Cannot shift elements in list beyond index 0");if(a>0){for(var r=i-1;r>=0;r--)this.set(u+r+a,this.get(u+r));var o=u+i+a-this._length;if(o>0)for(this._length+=o;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(r=0;r<i;r++)this.set(u+r+a,this.get(u+r))}},h.prototype._getCyclicIndex=function(u){return(this._startIndex+u)%this._maxLength},h}();f.CircularList=y},function(g,f,b){"use strict";function m(y,h,u){if(h===y.length-1)return y[h].getTrimmedLength();var i=!y[h].hasContent(u-1)&&y[h].getWidth(u-1)===1,a=y[h+1].getWidth(0)===2;return i&&a?u-1:u}Object.defineProperty(f,"__esModule",{value:!0}),f.getWrappedLineTrimmedLength=f.reflowSmallerGetNewLineLengths=f.reflowLargerApplyNewLayout=f.reflowLargerCreateNewLayout=f.reflowLargerGetLinesToRemove=void 0,f.reflowLargerGetLinesToRemove=function(y,h,u,i,a){for(var r=[],o=0;o<y.length-1;o++){var d=o,n=y.get(++d);if(n.isWrapped){for(var l=[y.get(o)];d<y.length&&n.isWrapped;)l.push(n),n=y.get(++d);if(i>=o&&i<d)o+=l.length-1;else{for(var t=0,s=m(l,t,h),c=1,p=0;c<l.length;){var A=m(l,c,h),w=A-p,C=u-s,x=Math.min(w,C);l[t].copyCellsFrom(l[c],p,s,x,!1),(s+=x)===u&&(t++,s=0),(p+=x)===A&&(c++,p=0),s===0&&t!==0&&l[t-1].getWidth(u-1)===2&&(l[t].copyCellsFrom(l[t-1],u-1,s++,1,!1),l[t-1].setCell(u-1,a))}l[t].replaceCells(s,u,a);for(var E=0,T=l.length-1;T>0&&(T>t||l[T].getTrimmedLength()===0);T--)E++;E>0&&(r.push(o+l.length-E),r.push(E)),o+=l.length-1}}}return r},f.reflowLargerCreateNewLayout=function(y,h){for(var u=[],i=0,a=h[i],r=0,o=0;o<y.length;o++)if(a===o){var d=h[++i];y.onDeleteEmitter.fire({index:o-r,amount:d}),o+=d-1,r+=d,a=h[++i]}else u.push(o);return{layout:u,countRemoved:r}},f.reflowLargerApplyNewLayout=function(y,h){for(var u=[],i=0;i<h.length;i++)u.push(y.get(h[i]));for(i=0;i<u.length;i++)y.set(i,u[i]);y.length=h.length},f.reflowSmallerGetNewLineLengths=function(y,h,u){for(var i=[],a=y.map(function(s,c){return m(y,c,h)}).reduce(function(s,c){return s+c}),r=0,o=0,d=0;d<a;){if(a-d<u){i.push(a-d);break}r+=u;var n=m(y,o,h);r>n&&(r-=n,o++);var l=y[o].getWidth(r-1)===2;l&&r--;var t=l?u-1:u;i.push(t),d+=t}return i},f.getWrappedLineTrimmedLength=m},function(g,f,b){"use strict";var m,y=this&&this.__extends||(m=function(a,r){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,d){o.__proto__=d}||function(o,d){for(var n in d)d.hasOwnProperty(n)&&(o[n]=d[n])})(a,r)},function(i,a){function r(){this.constructor=i}m(i,a),i.prototype=a===null?Object.create(a):(r.prototype=a.prototype,new r)});Object.defineProperty(f,"__esModule",{value:!0}),f.Marker=void 0;var h=b(0),u=function(i){function a(r){var o=i.call(this)||this;return o.line=r,o._id=a._nextId++,o.isDisposed=!1,o._onDispose=new h.EventEmitter,o}return y(a,i),Object.defineProperty(a.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),a.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},a._nextId=1,a}(b(2).Disposable);f.Marker=u},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.OptionsService=f.DEFAULT_OPTIONS=f.DEFAULT_BELL_SOUND=void 0;var m=b(0),y=b(11),h=b(33);f.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",f.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:f.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:y.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var u=["cols","rows"],i=function(){function a(r){this._onOptionChange=new m.EventEmitter,this.options=h.clone(f.DEFAULT_OPTIONS);for(var o=0,d=Object.keys(r);o<d.length;o++){var n=d[o];if(n in this.options){var l=r[n];this.options[n]=l}}}return Object.defineProperty(a.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),a.prototype.setOption=function(r,o){if(!(r in f.DEFAULT_OPTIONS))throw new Error('No option with key "'+r+'"');if(u.indexOf(r)!==-1)throw new Error('Option "'+r+'" can only be set in the constructor');this.options[r]!==o&&(o=this._sanitizeAndValidateOption(r,o),this.options[r]!==o&&(this.options[r]=o,this._onOptionChange.fire(r)))},a.prototype._sanitizeAndValidateOption=function(r,o){switch(r){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":o||(o=f.DEFAULT_OPTIONS[r]);break;case"cursorWidth":o=Math.floor(o);case"lineHeight":case"tabStopWidth":if(o<1)throw new Error(r+" cannot be less than 1, value: "+o);break;case"minimumContrastRatio":o=Math.max(1,Math.min(21,Math.round(10*o)/10));break;case"scrollback":if((o=Math.min(o,4294967295))<0)throw new Error(r+" cannot be less than 0, value: "+o);break;case"fastScrollSensitivity":case"scrollSensitivity":if(o<=0)throw new Error(r+" cannot be less than or equal to 0, value: "+o)}return o},a.prototype.getOption=function(r){if(!(r in f.DEFAULT_OPTIONS))throw new Error('No option with key "'+r+'"');return this.options[r]},a}();f.OptionsService=i},function(g,f,b){"use strict";var m,y=this&&this.__extends||(m=function(s,c){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,A){p.__proto__=A}||function(p,A){for(var w in A)A.hasOwnProperty(w)&&(p[w]=A[w])})(s,c)},function(t,s){function c(){this.constructor=t}m(t,s),t.prototype=s===null?Object.create(s):(c.prototype=s.prototype,new c)}),h=this&&this.__decorate||function(t,s,c,p){var A,w=arguments.length,C=w<3?s:p===null?p=Object.getOwnPropertyDescriptor(s,c):p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")C=Reflect.decorate(t,s,c,p);else for(var x=t.length-1;x>=0;x--)(A=t[x])&&(C=(w<3?A(C):w>3?A(s,c,C):A(s,c))||C);return w>3&&C&&Object.defineProperty(s,c,C),C},u=this&&this.__param||function(t,s){return function(c,p){s(c,p,t)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CoreService=void 0;var i=b(1),a=b(0),r=b(33),o=b(2),d=Object.freeze({insertMode:!1}),n=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),l=function(t){function s(c,p,A,w){var C=t.call(this)||this;return C._bufferService=p,C._logService=A,C._optionsService=w,C.isCursorInitialized=!1,C.isCursorHidden=!1,C._onData=C.register(new a.EventEmitter),C._onUserInput=C.register(new a.EventEmitter),C._onBinary=C.register(new a.EventEmitter),C._scrollToBottom=c,C.register({dispose:function(){return C._scrollToBottom=void 0}}),C.modes=r.clone(d),C.decPrivateModes=r.clone(n),C}return y(s,t),Object.defineProperty(s.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),s.prototype.reset=function(){this.modes=r.clone(d),this.decPrivateModes=r.clone(n)},s.prototype.triggerDataEvent=function(c,p){if(p===void 0&&(p=!1),!this._optionsService.options.disableStdin){var A=this._bufferService.buffer;A.ybase!==A.ydisp&&this._scrollToBottom(),p&&this._onUserInput.fire(),this._logService.debug('sending data "'+c+'"',function(){return c.split("").map(function(w){return w.charCodeAt(0)})}),this._onData.fire(c)}},s.prototype.triggerBinaryEvent=function(c){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+c+'"',function(){return c.split("").map(function(p){return p.charCodeAt(0)})}),this._onBinary.fire(c))},s=h([u(1,i.IBufferService),u(2,i.ILogService),u(3,i.IOptionsService)],s)}(o.Disposable);f.CoreService=l},function(g,f,b){"use strict";var m=this&&this.__decorate||function(n,l,t,s){var c,p=arguments.length,A=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(n,l,t,s);else for(var w=n.length-1;w>=0;w--)(c=n[w])&&(A=(p<3?c(A):p>3?c(l,t,A):c(l,t))||A);return p>3&&A&&Object.defineProperty(l,t,A),A},y=this&&this.__param||function(n,l){return function(t,s){l(t,s,n)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CoreMouseService=void 0;var h=b(1),u=b(0),i={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(l){return l.button!==4&&l.action===1&&(l.ctrl=!1,l.alt=!1,l.shift=!1,!0)}},VT200:{events:19,restrict:function(l){return l.action!==32}},DRAG:{events:23,restrict:function(l){return l.action!==32||l.button!==3}},ANY:{events:31,restrict:function(l){return!0}}};function a(n,l){var t=(n.ctrl?16:0)|(n.shift?4:0)|(n.alt?8:0);return n.button===4?(t|=64,t|=n.action):(t|=3&n.button,4&n.button&&(t|=64),8&n.button&&(t|=128),n.action===32?t|=32:n.action!==0||l||(t|=3)),t}var r=String.fromCharCode,o={DEFAULT:function(l){var t=[a(l,!1)+32,l.col+32,l.row+32];return t[0]>255||t[1]>255||t[2]>255?"":""+r(t[0])+r(t[1])+r(t[2])},SGR:function(l){var t=l.action===0&&l.button!==4?"m":"M";return"[<"+a(l,!0)+";"+l.col+";"+l.row+t}},d=function(){function n(l,t){this._bufferService=l,this._coreService=t,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new u.EventEmitter,this._lastEvent=null;for(var s=0,c=Object.keys(i);s<c.length;s++){var p=c[s];this.addProtocol(p,i[p])}for(var A=0,w=Object.keys(o);A<w.length;A++){var C=w[A];this.addEncoding(C,o[C])}this.reset()}return n.prototype.addProtocol=function(l,t){this._protocols[l]=t},n.prototype.addEncoding=function(l,t){this._encodings[l]=t},Object.defineProperty(n.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(t){if(!this._protocols[t])throw new Error('unknown protocol "'+t+'"');this._activeProtocol=t,this._onProtocolChange.fire(this._protocols[t].events)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"areMouseEventsActive",{get:function(){return this._protocols[this._activeProtocol].events!==0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(t){if(!this._encodings[t])throw new Error('unknown encoding "'+t+'"');this._activeEncoding=t},enumerable:!1,configurable:!0}),n.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(n.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),n.prototype.triggerMouseEvent=function(l){if(l.col<0||l.col>=this._bufferService.cols||l.row<0||l.row>=this._bufferService.rows)return!1;if(l.button===4&&l.action===32)return!1;if(l.button===3&&l.action!==32)return!1;if(l.button!==4&&(l.action===2||l.action===3))return!1;if(l.col++,l.row++,l.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,l))return!1;if(!this._protocols[this._activeProtocol].restrict(l))return!1;var t=this._encodings[this._activeEncoding](l);return t&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(t):this._coreService.triggerDataEvent(t,!0)),this._lastEvent=l,!0},n.prototype.explainEvents=function(l){return{down:!!(1&l),up:!!(2&l),drag:!!(4&l),move:!!(8&l),wheel:!!(16&l)}},n.prototype._compareEvents=function(l,t){return l.col===t.col&&l.row===t.row&&l.button===t.button&&l.action===t.action&&l.ctrl===t.ctrl&&l.alt===t.alt&&l.shift===t.shift},n=m([y(0,h.IBufferService),y(1,h.ICoreService)],n)}();f.CoreMouseService=d},function(g,f,b){"use strict";var m=this&&this.__decorate||function(i,a,r,o){var d,n=arguments.length,l=n<3?a:o===null?o=Object.getOwnPropertyDescriptor(a,r):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(i,a,r,o);else for(var t=i.length-1;t>=0;t--)(d=i[t])&&(l=(n<3?d(l):n>3?d(a,r,l):d(a,r))||l);return n>3&&l&&Object.defineProperty(a,r,l),l},y=this&&this.__param||function(i,a){return function(r,o){a(r,o,i)}};Object.defineProperty(f,"__esModule",{value:!0}),f.DirtyRowService=void 0;var h=b(1),u=function(){function i(a){this._bufferService=a,this.clearRange()}return Object.defineProperty(i.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),i.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},i.prototype.markDirty=function(a){a<this._start?this._start=a:a>this._end&&(this._end=a)},i.prototype.markRangeDirty=function(a,r){if(a>r){var o=a;a=r,r=o}a<this._start&&(this._start=a),r>this._end&&(this._end=r)},i.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},i=m([y(0,h.IBufferService)],i)}();f.DirtyRowService=u},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.UnicodeService=void 0;var m=b(0),y=b(79),h=function(){function u(){this._providers=Object.create(null),this._active="",this._onChange=new m.EventEmitter;var i=new y.UnicodeV6;this.register(i),this._active=i.version,this._activeProvider=i}return Object.defineProperty(u.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"activeVersion",{get:function(){return this._active},set:function(a){if(!this._providers[a])throw new Error('unknown Unicode version "'+a+'"');this._active=a,this._activeProvider=this._providers[a],this._onChange.fire(a)},enumerable:!1,configurable:!0}),u.prototype.register=function(i){this._providers[i.version]=i},u.prototype.wcwidth=function(i){return this._activeProvider.wcwidth(i)},u.prototype.getStringCellWidth=function(i){for(var a=0,r=i.length,o=0;o<r;++o){var d=i.charCodeAt(o);if(55296<=d&&d<=56319){if(++o>=r)return a+this.wcwidth(d);var n=i.charCodeAt(o);56320<=n&&n<=57343?d=1024*(d-55296)+n-56320+65536:a+=this.wcwidth(n)}a+=this.wcwidth(d)}return a},u}();f.UnicodeService=h},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.UnicodeV6=void 0;var m,y=b(15),h=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],u=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],i=function(){function a(){if(this.version="6",!m){m=new Uint8Array(65536),y.fill(m,1),m[0]=0,y.fill(m,0,1,32),y.fill(m,0,127,160),y.fill(m,2,4352,4448),m[9001]=2,m[9002]=2,y.fill(m,2,11904,42192),m[12351]=1,y.fill(m,2,44032,55204),y.fill(m,2,63744,64256),y.fill(m,2,65040,65050),y.fill(m,2,65072,65136),y.fill(m,2,65280,65377),y.fill(m,2,65504,65511);for(var r=0;r<h.length;++r)y.fill(m,0,h[r][0],h[r][1]+1)}}return a.prototype.wcwidth=function(r){return r<32?0:r<127?1:r<65536?m[r]:function(o,d){var n,l=0,t=d.length-1;if(o<d[0][0]||o>d[t][1])return!1;for(;t>=l;)if(o>d[n=l+t>>1][1])l=n+1;else{if(!(o<d[n][0]))return!0;t=n-1}return!1}(r,u)?0:r>=131072&&r<=196605||r>=196608&&r<=262141?2:1},a}();f.UnicodeV6=i},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CharsetService=void 0;var m=function(){function y(){this.glevel=0,this._charsets=[]}return y.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},y.prototype.setgLevel=function(h){this.glevel=h,this.charset=this._charsets[h]},y.prototype.setgCharset=function(h,u){this._charsets[h]=u,this.glevel===h&&(this.charset=u)},y}();f.CharsetService=m},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.updateWindowsModeWrappedState=void 0;var m=b(3);f.updateWindowsModeWrappedState=function(y){var h=y.buffer.lines.get(y.buffer.ybase+y.buffer.y-1),u=h==null?void 0:h.get(y.cols-1),i=y.buffer.lines.get(y.buffer.ybase+y.buffer.y);i&&u&&(i.isWrapped=u[m.CHAR_DATA_CODE_INDEX]!==m.NULL_CELL_CODE&&u[m.CHAR_DATA_CODE_INDEX]!==m.WHITESPACE_CELL_CODE)}},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.WriteBuffer=void 0;var m=function(){function y(h){this._action=h,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return y.prototype.writeSync=function(h){if(this._writeBuffer.length){for(var u=this._bufferOffset;u<this._writeBuffer.length;++u){var i=this._writeBuffer[u],a=this._callbacks[u];this._action(i),a&&a()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(h)},y.prototype.write=function(h,u){var i=this;if(this._pendingData>5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return i._innerWrite()})),this._pendingData+=h.length,this._writeBuffer.push(h),this._callbacks.push(u)},y.prototype._innerWrite=function(){for(var h=this,u=Date.now();this._writeBuffer.length>this._bufferOffset;){var i=this._writeBuffer[this._bufferOffset],a=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(i),this._pendingData-=i.length,a&&a(),Date.now()-u>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return h._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},y}();f.WriteBuffer=m},function(g,f,b){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AddonManager=void 0;var m=function(){function y(){this._addons=[]}return y.prototype.dispose=function(){for(var h=this._addons.length-1;h>=0;h--)this._addons[h].instance.dispose()},y.prototype.loadAddon=function(h,u){var i=this,a={instance:u,dispose:u.dispose,isDisposed:!1};this._addons.push(a),u.dispose=function(){return i._wrappedAddonDispose(a)},u.activate(h)},y.prototype._wrappedAddonDispose=function(h){if(!h.isDisposed){for(var u=-1,i=0;i<this._addons.length;i++)if(this._addons[i]===h){u=i;break}if(u===-1)throw new Error("Could not dispose an addon that has not been loaded");h.isDisposed=!0,h.dispose.apply(h.instance),this._addons.splice(u,1)}},y}();f.AddonManager=m}])})},"/SeX":function(R,I,e){var g=e("knOB"),f=e("qZFw"),b=function(y){this.name=y||"",this.cx=0,this.cy=0,this._radiusAxis=new g,this._angleAxis=new f,this._radiusAxis.polar=this._angleAxis.polar=this};b.prototype={type:"polar",axisPointerEnabled:!0,constructor:b,dimensions:["radius","angle"],model:null,containPoint:function(y){var h=this.pointToCoord(y);return this._radiusAxis.contain(h[0])&&this._angleAxis.contain(h[1])},containData:function(y){return this._radiusAxis.containData(y[0])&&this._angleAxis.containData(y[1])},getAxis:function(y){return this["_"+y+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(y){var h=[],u=this._angleAxis,i=this._radiusAxis;return u.scale.type===y&&h.push(u),i.scale.type===y&&h.push(i),h},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(y){var h=this._angleAxis;return y===h?this._radiusAxis:h},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(y){var h=y!=null&&y!=="auto"?this.getAxis(y):this.getBaseAxis();return{baseAxes:[h],otherAxes:[this.getOtherAxis(h)]}},dataToPoint:function(y,h){return this.coordToPoint([this._radiusAxis.dataToRadius(y[0],h),this._angleAxis.dataToAngle(y[1],h)])},pointToData:function(y,h){var u=this.pointToCoord(y);return[this._radiusAxis.radiusToData(u[0],h),this._angleAxis.angleToData(u[1],h)]},pointToCoord:function(y){var h=y[0]-this.cx,u=y[1]-this.cy,i=this.getAngleAxis(),a=i.getExtent(),r=Math.min(a[0],a[1]),o=Math.max(a[0],a[1]);i.inverse?r=o-360:o=r+360;var d=Math.sqrt(h*h+u*u);h/=d,u/=d;for(var n=Math.atan2(-u,h)/Math.PI*180,l=n<r?1:-1;n<r||n>o;)n+=l*360;return[d,n]},coordToPoint:function(y){var h=y[0],u=y[1]/180*Math.PI,i=Math.cos(u)*h+this.cx,a=-Math.sin(u)*h+this.cy;return[i,a]},getArea:function(){var y=this.getAngleAxis(),h=this.getRadiusAxis(),u=h.getExtent().slice();u[0]>u[1]&&u.reverse();var i=y.getExtent(),a=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:u[0],r:u[1],startAngle:-i[0]*a,endAngle:-i[1]*a,clockwise:y.inverse,contain:function(r,o){var d=r-this.cx,n=o-this.cy,l=d*d+n*n,t=this.r,s=this.r0;return l<=t*t&&l>=s*s}}}};var m=b;R.exports=m},"/WM3":function(R,I,e){var g=e("QuXc"),f=e("bYtY"),b=f.isFunction,m={createOnAllSeries:!0,performRawSeries:!0,reset:function(y,h){var u=y.getData(),i=(y.visualColorAccessPath||"itemStyle.color").split("."),a=y.get(i),r=b(a)&&!(a instanceof g)?a:null;(!a||r)&&(a=y.getColorFromPalette(y.name,null,h.getSeriesCount())),u.setVisual("color",a);var o=(y.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),d=y.get(o);if(u.setVisual("borderColor",d),!h.isSeriesFiltered(y)){r&&u.each(function(l){u.setItemVisual(l,"color",r(y.getDataParams(l)))});var n=function(l,t){var s=l.getItemModel(t),c=s.get(i,!0),p=s.get(o,!0);c!=null&&l.setItemVisual(t,"color",c),p!=null&&l.setItemVisual(t,"borderColor",p)};return{dataEach:u.hasItemOption?n:null}}}};R.exports=m},"/d5a":function(R,I){var e={average:function(b){for(var m=0,y=0,h=0;h<b.length;h++)isNaN(b[h])||(m+=b[h],y++);return y===0?NaN:m/y},sum:function(b){for(var m=0,y=0;y<b.length;y++)m+=b[y]||0;return m},max:function(b){for(var m=-Infinity,y=0;y<b.length;y++)b[y]>m&&(m=b[y]);return isFinite(m)?m:NaN},min:function(b){for(var m=Infinity,y=0;y<b.length;y++)b[y]<m&&(m=b[y]);return isFinite(m)?m:NaN},nearest:function(b){return b[0]}},g=function(b,m){return Math.round(b.length/2)};function f(b){return{seriesType:b,modifyOutputEnd:!0,reset:function(m,y,h){var u=m.getData(),i=m.get("sampling"),a=m.coordinateSystem;if(a.type==="cartesian2d"&&i){var r=a.getBaseAxis(),o=a.getOtherAxis(r),d=r.getExtent(),n=d[1]-d[0],l=Math.round(u.count()/n);if(l>1){var t;typeof i=="string"?t=e[i]:typeof i=="function"&&(t=i),t&&m.setData(u.downSample(u.mapDimension(o.dim),1/l,t,g))}}}}}R.exports=f},"/ezw":function(R,I,e){"use strict";var g=e("lSNA"),f=e.n(g),b=e("pVnL"),m=e.n(b),y=e("cDf5"),h=e.n(y),u=e("q1tI"),i=e("TSYQ"),a=e.n(i),r=function(j){var k=j.prefixCls,B=j.className,V=j.width,K=j.style;return u.createElement("h3",{className:a()(k,B),style:m()({width:V},K)})},o=r,d=e("RIqP"),n=e.n(d),l=function(j){var k=function(G){var ye=j.width,Ae=j.rows,ge=Ae===void 0?2:Ae;return Array.isArray(ye)?ye[G]:ge-1===G?ye:void 0},B=j.prefixCls,V=j.className,K=j.style,Y=j.rows,Q=n()(Array(Y)).map(function(he,G){return u.createElement("li",{key:G,style:{width:k(G)}})});return u.createElement("ul",{className:a()(B,V),style:K},Q)},t=l,s=e("H84U"),c=function(j){var k,B,V=j.prefixCls,K=j.className,Y=j.style,Q=j.size,he=j.shape,G=a()((k={},f()(k,"".concat(V,"-lg"),Q==="large"),f()(k,"".concat(V,"-sm"),Q==="small"),k)),ye=a()((B={},f()(B,"".concat(V,"-circle"),he==="circle"),f()(B,"".concat(V,"-square"),he==="square"),f()(B,"".concat(V,"-round"),he==="round"),B)),Ae=typeof Q=="number"?{width:Q,height:Q,lineHeight:"".concat(Q,"px")}:{};return u.createElement("span",{className:a()(V,K,G,ye),style:m()(m()({},Ae),Y)})},p=c,A=e("BGR+"),w=function(j){var k=function(V){var K=V.getPrefixCls,Y=j.prefixCls,Q=j.className,he=j.active,G=K("skeleton",Y),ye=Object(A.default)(j,["prefixCls"]),Ae=a()(G,Q,"".concat(G,"-element"),f()({},"".concat(G,"-active"),he));return u.createElement("div",{className:Ae},u.createElement(p,m()({prefixCls:"".concat(G,"-avatar")},ye)))};return u.createElement(s.a,null,k)};w.defaultProps={size:"default",shape:"circle"};var C=w,x=function(j){var k=function(V){var K=V.getPrefixCls,Y=j.prefixCls,Q=j.className,he=j.active,G=K("skeleton",Y),ye=Object(A.default)(j,["prefixCls"]),Ae=a()(G,Q,"".concat(G,"-element"),f()({},"".concat(G,"-active"),he));return u.createElement("div",{className:Ae},u.createElement(p,m()({prefixCls:"".concat(G,"-button")},ye)))};return u.createElement(s.a,null,k)};x.defaultProps={size:"default"};var E=x,T=function(j){var k=function(V){var K=V.getPrefixCls,Y=j.prefixCls,Q=j.className,he=j.active,G=K("skeleton",Y),ye=Object(A.default)(j,["prefixCls"]),Ae=a()(G,Q,"".concat(G,"-element"),f()({},"".concat(G,"-active"),he));return u.createElement("div",{className:Ae},u.createElement(p,m()({prefixCls:"".concat(G,"-input")},ye)))};return u.createElement(s.a,null,k)};T.defaultProps={size:"default"};var _=T,v="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",S=function(j){var k=function(V){var K=V.getPrefixCls,Y=j.prefixCls,Q=j.className,he=j.style,G=K("skeleton",Y),ye=a()(G,Q,"".concat(G,"-element"));return u.createElement("div",{className:ye},u.createElement("div",{className:a()("".concat(G,"-image"),Q),style:he},u.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(G,"-image-svg")},u.createElement("path",{d:v,className:"".concat(G,"-image-path")}))))};return u.createElement(s.a,null,k)},O=S;function L(H){return H&&h()(H)==="object"?H:{}}function M(H,j){return H&&!j?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function F(H,j){return!H&&j?{width:"38%"}:H&&j?{width:"50%"}:{}}function U(H,j){var k={};return(!H||!j)&&(k.width="61%"),!H&&j?k.rows=3:k.rows=2,k}var z=function(j){var k=function(V){var K=V.getPrefixCls,Y=V.direction,Q=j.prefixCls,he=j.loading,G=j.className,ye=j.children,Ae=j.avatar,ge=j.title,Pe=j.paragraph,Re=j.active,rt=j.round,ne=K("skeleton",Q);if(he||!("loading"in j)){var be,at=!!Ae,se=!!ge,q=!!Pe,X;if(at){var Z=m()(m()({prefixCls:"".concat(ne,"-avatar")},M(se,q)),L(Ae));X=u.createElement("div",{className:"".concat(ne,"-header")},u.createElement(p,Z))}var pe;if(se||q){var oe;if(se){var Ie=m()(m()({prefixCls:"".concat(ne,"-title")},F(at,q)),L(ge));oe=u.createElement(o,Ie)}var fe;if(q){var te=m()(m()({prefixCls:"".concat(ne,"-paragraph")},U(at,se)),L(Pe));fe=u.createElement(t,te)}pe=u.createElement("div",{className:"".concat(ne,"-content")},oe,fe)}var J=a()(ne,G,(be={},f()(be,"".concat(ne,"-with-avatar"),at),f()(be,"".concat(ne,"-active"),Re),f()(be,"".concat(ne,"-rtl"),Y==="rtl"),f()(be,"".concat(ne,"-round"),rt),be));return u.createElement("div",{className:J},X,pe)}return ye};return u.createElement(s.a,null,k)};z.defaultProps={avatar:!1,title:!0,paragraph:!0},z.Button=E,z.Avatar=C,z.Input=_,z.Image=O;var W=z,N=I.a=W},"/iHx":function(R,I,e){var g=e("6GrX"),f=e("IwbS"),b=["textStyle","color"],m={getTextColor:function(y){var h=this.ecModel;return this.getShallow("color")||(!y&&h?h.get(b):null)},getFont:function(){return f.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(y){return g.getBoundingRect(y,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};R.exports=m},"/ry/":function(R,I,e){var g=e("bYtY"),f=e("T4UG"),b=e("5GhG"),m=b.seriesModelMixin,y=f.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});g.mixin(y,m,!0);var h=y;R.exports=h},"/stD":function(R,I,e){var g=e("bYtY"),f=e("IUWy"),b=e("Kagy"),m=b.toolbox.brush;function y(i,a,r){this.model=i,this.ecModel=a,this.api=r,this._brushType,this._brushMode}y.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],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:g.clone(m.title)};var h=y.prototype;h.render=h.updateView=function(i,a,r){var o,d,n;a.eachComponent({mainType:"brush"},function(l){o=l.brushType,d=l.brushOption.brushMode||"single",n|=l.areas.length}),this._brushType=o,this._brushMode=d,g.each(i.get("type",!0),function(l){i.setIconStatus(l,(l==="keep"?d==="multiple":l==="clear"?n:l===o)?"emphasis":"normal")})},h.getIcons=function(){var i=this.model,a=i.get("icon",!0),r={};return g.each(i.get("type",!0),function(o){a[o]&&(r[o]=a[o])}),r},h.onclick=function(i,a,r){var o=this._brushType,d=this._brushMode;r==="clear"?(a.dispatchAction({type:"axisAreaSelect",intervals:[]}),a.dispatchAction({type:"brush",command:"clear",areas:[]})):a.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:r==="keep"?o:o===r?!1:r,brushMode:r==="keep"?d==="multiple"?"single":"multiple":d}})},f.register("brush",y);var u=y;R.exports=u},"/wGt":function(R,I,e){"use strict";var g=e("lSNA"),f=e.n(g),b=e("pVnL"),m=e.n(b),y=e("lwsE"),h=e.n(y),u=e("W8MJ"),i=e.n(u),a=e("PJYZ"),r=e.n(a),o=e("7W2i"),d=e.n(o),n=e("LQ03"),l=e.n(n),t=e("q1tI"),s=e("Ff2n"),c=e("1OyB"),p=e("vuIU"),A=e("Ji7U"),w=e("md7G"),C=e("foSv"),x=e("1W/9"),E=e("rePB"),T=e("JX7q"),_=e("TSYQ"),v=e.n(_),S=e("qx4F"),O=e("4IlW");function L(oe){return Array.isArray(oe)?oe:[oe]}var M={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},F=Object.keys(M).filter(function(oe){if(typeof document=="undefined")return!1;var Ie=document.getElementsByTagName("html")[0];return oe in(Ie?Ie.style:{})})[0],U=M[F];function z(oe,Ie,fe,te){oe.addEventListener?oe.addEventListener(Ie,fe,te):oe.attachEvent&&oe.attachEvent("on".concat(Ie),fe)}function W(oe,Ie,fe,te){oe.removeEventListener?oe.removeEventListener(Ie,fe,te):oe.attachEvent&&oe.detachEvent("on".concat(Ie),fe)}function N(oe,Ie){var fe=typeof oe=="function"?oe(Ie):oe;return Array.isArray(fe)?fe.length===2?fe:[fe[0],fe[1]]:[fe]}var H=function(Ie){return!isNaN(parseFloat(Ie))&&isFinite(Ie)},j=!(typeof window!="undefined"&&window.document&&window.document.createElement),k=function oe(Ie,fe,te,J){if(!fe||fe===document||fe instanceof Document)return!1;if(fe===Ie.parentNode)return!0;var ve=Math.max(Math.abs(te),Math.abs(J))===Math.abs(J),De=Math.max(Math.abs(te),Math.abs(J))===Math.abs(te),ze=fe.scrollHeight-fe.clientHeight,dt=fe.scrollWidth-fe.clientWidth,Me=document.defaultView.getComputedStyle(fe),Tt=Me.overflowY==="auto"||Me.overflowY==="scroll",je=Me.overflowX==="auto"||Me.overflowX==="scroll",st=ze&&Tt,Xe=dt&&je;return ve&&(!st||st&&(fe.scrollTop>=ze&&J<0||fe.scrollTop<=0&&J>0))||De&&(!Xe||Xe&&(fe.scrollLeft>=dt&&te<0||fe.scrollLeft<=0&&te>0))?oe(Ie,fe.parentNode,te,J):!1};function B(oe){var Ie=V();return function(){var te=Object(C.a)(oe),J;if(Ie){var ve=Object(C.a)(this).constructor;J=Reflect.construct(te,arguments,ve)}else J=te.apply(this,arguments);return Object(w.a)(this,J)}}function V(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(oe){return!1}}var K={},Y=function(oe){Object(A.a)(fe,oe);var Ie=B(fe);function fe(te){var J;return Object(c.a)(this,fe),J=Ie.call(this,te),J.domFocus=function(){J.dom&&J.dom.focus()},J.removeStartHandler=function(ve){if(ve.touches.length>1)return;J.startPos={x:ve.touches[0].clientX,y:ve.touches[0].clientY}},J.removeMoveHandler=function(ve){if(ve.changedTouches.length>1)return;var De=ve.currentTarget,ze=ve.changedTouches[0].clientX-J.startPos.x,dt=ve.changedTouches[0].clientY-J.startPos.y;(De===J.maskDom||De===J.handlerDom||De===J.contentDom&&k(De,ve.target,ze,dt))&&ve.cancelable&&ve.preventDefault()},J.transitionEnd=function(ve){var De=ve.target;W(De,U,J.transitionEnd),De.style.transition=""},J.onKeyDown=function(ve){if(ve.keyCode===O.a.ESC){var De=J.props.onClose;ve.stopPropagation(),De&&De(ve)}},J.onWrapperTransitionEnd=function(ve){var De=J.props,ze=De.open,dt=De.afterVisibleChange;ve.target===J.contentWrapper&&ve.propertyName.match(/transform$/)&&(J.dom.style.transition="",!ze&&J.getCurrentDrawerSome()&&(document.body.style.overflowX="",J.maskDom&&(J.maskDom.style.left="",J.maskDom.style.width="")),dt&&dt(!!ze))},J.openLevelTransition=function(){var ve=J.props,De=ve.open,ze=ve.width,dt=ve.height,Me=J.getHorizontalBoolAndPlacementName(),Tt=Me.isHorizontal,je=Me.placementName,st=J.contentDom?J.contentDom.getBoundingClientRect()[Tt?"width":"height"]:0,Xe=(Tt?ze:dt)||st;J.setLevelAndScrolling(De,je,Xe)},J.setLevelTransform=function(ve,De,ze,dt){var Me=J.props,Tt=Me.placement,je=Me.levelMove,st=Me.duration,Xe=Me.ease,Je=Me.showMask;J.levelDom.forEach(function(et){et.style.transition="transform ".concat(st," ").concat(Xe),z(et,U,J.transitionEnd);var ot=ve?ze:0;if(je){var Ve=N(je,{target:et,open:ve});ot=ve?Ve[0]:Ve[1]||0}var ue=typeof ot=="number"?"".concat(ot,"px"):ot,ae=Tt==="left"||Tt==="top"?ue:"-".concat(ue);ae=Je&&Tt==="right"&&dt?"calc(".concat(ae," + ").concat(dt,"px)"):ae,et.style.transform=ot?"".concat(De,"(").concat(ae,")"):""})},J.setLevelAndScrolling=function(ve,De,ze){var dt=J.props.onChange;if(!j){var Me=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(S.a)(!0):0;J.setLevelTransform(ve,De,ze,Me),J.toggleScrollingToDrawerAndBody(Me)}dt&&dt(ve)},J.toggleScrollingToDrawerAndBody=function(ve){var De=J.props,ze=De.getOpenCount,dt=De.getContainer,Me=De.showMask,Tt=De.open,je=dt&&dt(),st=ze&&ze();if(je&&je.parentNode===document.body&&Me){var Xe=["touchstart"],Je=[document.body,J.maskDom,J.handlerDom,J.contentDom];Tt&&document.body.style.overflow!=="hidden"?(ve&&J.addScrollingEffect(ve),st===1&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",Je.forEach(function(et,ot){if(!et)return;z(et,Xe[ot]||"touchmove",ot?J.removeMoveHandler:J.removeStartHandler,J.passive)})):J.getCurrentDrawerSome()&&(st||(document.body.style.overflow=""),document.body.style.touchAction="",ve&&J.remScrollingEffect(ve),Je.forEach(function(et,ot){if(!et)return;W(et,Xe[ot]||"touchmove",ot?J.removeMoveHandler:J.removeStartHandler,J.passive)}))}},J.addScrollingEffect=function(ve){var De=J.props,ze=De.placement,dt=De.duration,Me=De.ease,Tt=De.getOpenCount,je=De.switchScrollingEffect,st=Tt&&Tt();st===1&&je();var Xe="width ".concat(dt," ").concat(Me),Je="transform ".concat(dt," ").concat(Me);J.dom.style.transition="none";switch(ze){case"right":J.dom.style.transform="translateX(-".concat(ve,"px)");break;case"top":case"bottom":J.dom.style.width="calc(100% - ".concat(ve,"px)"),J.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(J.timeout),J.timeout=setTimeout(function(){J.dom&&(J.dom.style.transition="".concat(Je,",").concat(Xe),J.dom.style.width="",J.dom.style.transform="")})},J.remScrollingEffect=function(ve){var De=J.props,ze=De.placement,dt=De.duration,Me=De.ease,Tt=De.getOpenCount,je=De.switchScrollingEffect,st=Tt&&Tt();st||je(!0),F&&(document.body.style.overflowX="hidden"),J.dom.style.transition="none";var Xe,Je="width ".concat(dt," ").concat(Me),et="transform ".concat(dt," ").concat(Me);switch(ze){case"left":{J.dom.style.width="100%",Je="width 0s ".concat(Me," ").concat(dt);break}case"right":{J.dom.style.transform="translateX(".concat(ve,"px)"),J.dom.style.width="100%",Je="width 0s ".concat(Me," ").concat(dt),J.maskDom&&(J.maskDom.style.left="-".concat(ve,"px"),J.maskDom.style.width="calc(100% + ".concat(ve,"px)"));break}case"top":case"bottom":{J.dom.style.width="calc(100% + ".concat(ve,"px)"),J.dom.style.height="100%",J.dom.style.transform="translateZ(0)",Xe="height 0s ".concat(Me," ").concat(dt);break}default:break}clearTimeout(J.timeout),J.timeout=setTimeout(function(){J.dom&&(J.dom.style.transition="".concat(et,",").concat(Xe?"".concat(Xe,","):"").concat(Je),J.dom.style.transform="",J.dom.style.width="",J.dom.style.height="")})},J.getCurrentDrawerSome=function(){return!Object.keys(K).some(function(ve){return K[ve]})},J.getLevelDom=function(ve){var De=ve.level,ze=ve.getContainer;if(j)return;var dt=ze&&ze(),Me=dt?dt.parentNode:null;if(J.levelDom=[],De==="all"){var Tt=Me?Array.prototype.slice.call(Me.children):[];Tt.forEach(function(je){je.nodeName!=="SCRIPT"&&je.nodeName!=="STYLE"&&je.nodeName!=="LINK"&&je!==dt&&J.levelDom.push(je)})}else De&&L(De).forEach(function(je){document.querySelectorAll(je).forEach(function(st){J.levelDom.push(st)})})},J.getHorizontalBoolAndPlacementName=function(){var ve=J.props.placement,De=ve==="left"||ve==="right",ze="translate".concat(De?"X":"Y");return{isHorizontal:De,placementName:ze}},J.state={_self:Object(T.a)(J)},J}return Object(p.a)(fe,[{key:"componentDidMount",value:function(){var J=this;if(!j){var ve=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return ve=!0,null}}))}catch(Tt){}this.passive=ve?{passive:!1}:!1}var De=this.props,ze=De.open,dt=De.getContainer,Me=dt&&dt();this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)),this.getLevelDom(this.props),ze&&(Me&&Me.parentNode===document.body&&(K[this.drawerId]=ze),this.openLevelTransition(),this.forceUpdate(function(){J.domFocus()}))}},{key:"componentDidUpdate",value:function(J){var ve=this.props,De=ve.open,ze=ve.getContainer,dt=ze&&ze();De!==J.open&&(De&&this.domFocus(),dt&&dt.parentNode===document.body&&(K[this.drawerId]=!!De),this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var J=this.props,ve=J.getOpenCount,De=J.open,ze=J.switchScrollingEffect,dt=typeof ve=="function"&&ve();delete K[this.drawerId],De&&(this.setLevelTransform(!1),document.body.style.touchAction=""),dt||(document.body.style.overflow="",ze(!0))}},{key:"render",value:function(){var J,ve=this,De=this.props,ze=De.className,dt=De.children,Me=De.style,Tt=De.width,je=De.height,st=De.defaultOpen,Xe=De.open,Je=De.prefixCls,et=De.placement,ot=De.level,Ve=De.levelMove,ue=De.ease,ae=De.duration,lt=De.getContainer,Ze=De.handler,Te=De.onChange,Jt=De.afterVisibleChange,mt=De.showMask,ft=De.maskClosable,bt=De.maskStyle,Lt=De.onClose,or=De.onHandleClick,Bt=De.keyboard,_e=De.getOpenCount,Ce=De.switchScrollingEffect,Ee=Object(s.a)(De,["className","children","style","width","height","defaultOpen","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","handler","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","onClose","onHandleClick","keyboard","getOpenCount","switchScrollingEffect"]),we=this.dom?Xe:!1,Fe=v()(Je,(J={},Object(E.a)(J,"".concat(Je,"-").concat(et),!0),Object(E.a)(J,"".concat(Je,"-open"),we),Object(E.a)(J,ze||"",!!ze),Object(E.a)(J,"no-mask",!mt),J)),Ye=this.getHorizontalBoolAndPlacementName(),Ge=Ye.placementName,qe=et==="left"||et==="top"?"-100%":"100%",Ke=we?"":"".concat(Ge,"(").concat(qe,")"),ut=Ze&&t.cloneElement(Ze,{onClick:function(It){Ze.props.onClick&&Ze.props.onClick(),or&&or(It)},ref:function(It){ve.handlerDom=It}});return t.createElement("div",Object.assign({},Ee,{tabIndex:-1,className:Fe,style:Me,ref:function(It){ve.dom=It},onKeyDown:we&&Bt?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),mt&&t.createElement("div",{className:"".concat(Je,"-mask"),onClick:ft?Lt:void 0,style:bt,ref:function(It){ve.maskDom=It}}),t.createElement("div",{className:"".concat(Je,"-content-wrapper"),style:{transform:Ke,msTransform:Ke,width:H(Tt)?"".concat(Tt,"px"):Tt,height:H(je)?"".concat(je,"px"):je},ref:function(It){ve.contentWrapper=It}},t.createElement("div",{className:"".concat(Je,"-content"),ref:function(It){ve.contentDom=It},onTouchStart:we&&mt?this.removeStartHandler:void 0,onTouchMove:we&&mt?this.removeMoveHandler:void 0},dt),ut))}}],[{key:"getDerivedStateFromProps",value:function(J,ve){var De=ve.prevProps,ze=ve._self,dt={prevProps:J};if(De!==void 0){var Me=J.placement,Tt=J.level;Me!==De.placement&&(ze.contentDom=null),Tt!==De.level&&ze.getLevelDom(J)}return dt}}]),fe}(t.Component);Y.defaultProps={switchScrollingEffect:function(){}};var Q=Y;function he(oe){var Ie=G();return function(){var te=Object(C.a)(oe),J;if(Ie){var ve=Object(C.a)(this).constructor;J=Reflect.construct(te,arguments,ve)}else J=te.apply(this,arguments);return Object(w.a)(this,J)}}function G(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(oe){return!1}}var ye=function(oe){Object(A.a)(fe,oe);var Ie=he(fe);function fe(te){var J;Object(c.a)(this,fe),J=Ie.call(this,te),J.onHandleClick=function(De){var ze=J.props,dt=ze.onHandleClick,Me=ze.open;if(dt&&dt(De),typeof Me=="undefined"){var Tt=J.state.open;J.setState({open:!Tt})}},J.onClose=function(De){var ze=J.props,dt=ze.onClose,Me=ze.open;dt&&dt(De),typeof Me=="undefined"&&J.setState({open:!1})};var ve=typeof te.open!="undefined"?te.open:!!te.defaultOpen;return J.state={open:ve},"onMaskClick"in te&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),J}return Object(p.a)(fe,[{key:"render",value:function(){var J=this,ve=this.props,De=ve.defaultOpen,ze=ve.getContainer,dt=ve.wrapperClassName,Me=ve.forceRender,Tt=ve.handler,je=Object(s.a)(ve,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),st=this.state.open;if(!ze)return t.createElement("div",{className:dt,ref:function(et){J.dom=et}},t.createElement(Q,Object.assign({},je,{open:st,handler:Tt,getContainer:function(){return J.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var Xe=!!Tt||Me;return t.createElement(x.a,{visible:st,forceRender:Xe,getContainer:ze,wrapperClassName:dt},function(Je){var et=Je.visible,ot=Je.afterClose,Ve=Object(s.a)(Je,["visible","afterClose"]);return t.createElement(Q,Object.assign({},je,Ve,{open:et!==void 0?et:st,afterVisibleChange:ot!==void 0?ot:je.afterVisibleChange,handler:Tt,onClose:J.onClose,onHandleClick:J.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(J,ve){var De=ve.prevProps,ze={prevProps:J};return typeof De!="undefined"&&J.open!==De.open&&(ze.open=J.open),ze}}]),fe}(t.Component);ye.defaultProps={prefixCls:"drawer",placement:"left",getContainer:"body",defaultOpen:!1,level:"all",duration:".3s",ease:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",onChange:function(){},afterVisibleChange:function(){},handler:t.createElement("div",{className:"drawer-handle"},t.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var Ae=ye,ge=Ae,Pe=e("V/uB"),Re=e.n(Pe),rt=e("BGR+"),ne=e("H84U"),be=e("CWQg"),at=function(oe,Ie){var fe={};for(var te in oe)Object.prototype.hasOwnProperty.call(oe,te)&&Ie.indexOf(te)<0&&(fe[te]=oe[te]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var J=0,te=Object.getOwnPropertySymbols(oe);J<te.length;J++)Ie.indexOf(te[J])<0&&Object.prototype.propertyIsEnumerable.call(oe,te[J])&&(fe[te[J]]=oe[te[J]]);return fe},se=t.createContext(null),q=Object(be.a)("top","right","bottom","left"),X={distance:180},Z=function(oe){d()(fe,oe);var Ie=l()(fe);function fe(){var te;return h()(this,fe),te=Ie.apply(this,arguments),te.state={push:!1},te.push=function(){te.props.push&&te.setState({push:!0})},te.pull=function(){te.props.push&&te.setState({push:!1})},te.onDestroyTransitionEnd=function(){var J=te.getDestroyOnClose();if(!J)return;te.props.visible||(te.destroyClose=!0,te.forceUpdate())},te.getDestroyOnClose=function(){return te.props.destroyOnClose&&!te.props.visible},te.getPushDistance=function(){var J=te.props.push,ve;return typeof J=="boolean"?ve=J?X.distance:0:ve=J.distance,parseFloat(String(ve||0))},te.getPushTransform=function(J){var ve=te.getPushDistance();if(J==="left"||J==="right")return"translateX(".concat(J==="left"?ve:-ve,"px)");if(J==="top"||J==="bottom")return"translateY(".concat(J==="top"?ve:-ve,"px)")},te.getRcDrawerStyle=function(){var J=te.props,ve=J.zIndex,De=J.placement,ze=J.mask,dt=J.style,Me=te.state.push,Tt=ze?{}:te.getOffsetStyle();return m()(m()({zIndex:ve,transform:Me?te.getPushTransform(De):void 0},Tt),dt)},te.renderBody=function(){var J=te.props,ve=J.bodyStyle,De=J.drawerStyle,ze=J.prefixCls,dt=J.visible;if(te.destroyClose&&!dt)return null;te.destroyClose=!1;var Me={},Tt=te.getDestroyOnClose();return Tt&&(Me.opacity=0,Me.transition="opacity .3s"),t.createElement("div",{className:"".concat(ze,"-wrapper-body"),style:m()(m()({},Me),De),onTransitionEnd:te.onDestroyTransitionEnd},te.renderHeader(),t.createElement("div",{className:"".concat(ze,"-body"),style:ve},te.props.children),te.renderFooter())},te.renderProvider=function(J){return te.parentDrawer=J,t.createElement(ne.a,null,function(ve){var De=ve.getPopupContainer,ze=ve.getPrefixCls,dt=te.props,Me=dt.prefixCls,Tt=dt.placement,je=dt.className,st=dt.mask,Xe=dt.direction,Je=dt.visible,et=at(dt,["prefixCls","placement","className","mask","direction","visible"]),ot=ze("select",Me),Ve=v()(je,f()({"no-mask":!st},"".concat(ot,"-rtl"),Xe==="rtl")),ue=st?te.getOffsetStyle():{};return t.createElement(se.Provider,{value:r()(te)},t.createElement(ge,m()({handler:!1},Object(rt.default)(et,["zIndex","style","closable","closeIcon","destroyOnClose","drawerStyle","headerStyle","bodyStyle","footerStyle","footer","locale","title","push","visible","getPopupContainer","rootPrefixCls","getPrefixCls","renderEmpty","csp","pageHeader","autoInsertSpaceInButton","width","height","dropdownMatchSelectWidth","getTargetContainer"]),{getContainer:et.getContainer===void 0&&De?function(){return De(document.body)}:et.getContainer},ue,{prefixCls:ot,open:Je,showMask:st,placement:Tt,style:te.getRcDrawerStyle(),className:Ve}),te.renderBody()))})},te}return i()(fe,[{key:"componentDidMount",value:function(){var J=this.props.visible;J&&this.parentDrawer&&this.parentDrawer.push()}},{key:"componentDidUpdate",value:function(J){var ve=this.props.visible;J.visible!==ve&&this.parentDrawer&&(ve?this.parentDrawer.push():this.parentDrawer.pull())}},{key:"componentWillUnmount",value:function(){this.parentDrawer&&(this.parentDrawer.pull(),this.parentDrawer=null)}},{key:"getOffsetStyle",value:function(){var J=this.props,ve=J.placement,De=J.width,ze=J.height,dt=J.visible,Me=J.mask;if(!dt&&!Me)return{};var Tt={};return ve==="left"||ve==="right"?Tt.width=De:Tt.height=ze,Tt}},{key:"renderHeader",value:function(){var J=this.props,ve=J.title,De=J.prefixCls,ze=J.closable,dt=J.headerStyle;if(!ve&&!ze)return null;var Me=ve?"".concat(De,"-header"):"".concat(De,"-header-no-title");return t.createElement("div",{className:Me,style:dt},ve&&t.createElement("div",{className:"".concat(De,"-title")},ve),ze&&this.renderCloseIcon())}},{key:"renderFooter",value:function(){var J=this.props,ve=J.footer,De=J.footerStyle,ze=J.prefixCls;if(!ve)return null;var dt="".concat(ze,"-footer");return t.createElement("div",{className:dt,style:De},ve)}},{key:"renderCloseIcon",value:function(){var J=this.props,ve=J.closable,De=J.closeIcon,ze=De===void 0?t.createElement(Re.a,null):De,dt=J.prefixCls,Me=J.onClose;return ve&&t.createElement("button",{onClick:Me,"aria-label":"Close",className:"".concat(dt,"-close"),style:{"--scroll-bar":"".concat(Object(S.a)(),"px")}},ze)}},{key:"render",value:function(){return t.createElement(se.Consumer,null,this.renderProvider)}}]),fe}(t.Component);Z.defaultProps={width:256,height:256,closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:X};var pe=I.a=Object(ne.c)({prefixCls:"drawer"})(Z)},"/y7N":function(R,I,e){var g=e("bYtY"),f=e("IwbS"),b=e("6GrX"),m=e("7aKB"),y=e("Fofx"),h=e("aX7z"),u=e("+rIm");function i(c){var p=c.get("type"),A=c.getModel(p+"Style"),w;return p==="line"?(w=A.getLineStyle(),w.fill=null):p==="shadow"&&(w=A.getAreaStyle(),w.stroke=null),w}function a(c,p,A,w,C){var x=A.get("value"),E=o(x,p.axis,p.ecModel,A.get("seriesDataIndices"),{precision:A.get("label.precision"),formatter:A.get("label.formatter")}),T=A.getModel("label"),_=m.normalizeCssArray(T.get("padding")||0),v=T.getFont(),S=b.getBoundingRect(E,v),O=C.position,L=S.width+_[1]+_[3],M=S.height+_[0]+_[2],F=C.align;F==="right"&&(O[0]-=L),F==="center"&&(O[0]-=L/2);var U=C.verticalAlign;U==="bottom"&&(O[1]-=M),U==="middle"&&(O[1]-=M/2),r(O,L,M,w);var z=T.get("backgroundColor");(!z||z==="auto")&&(z=p.get("axisLine.lineStyle.color")),c.label={shape:{x:0,y:0,width:L,height:M,r:T.get("borderRadius")},position:O.slice(),style:{text:E,textFont:v,textFill:T.getTextColor(),textPosition:"inside",textPadding:_,fill:z,stroke:T.get("borderColor")||"transparent",lineWidth:T.get("borderWidth")||0,shadowBlur:T.get("shadowBlur"),shadowColor:T.get("shadowColor"),shadowOffsetX:T.get("shadowOffsetX"),shadowOffsetY:T.get("shadowOffsetY")},z2:10}}function r(c,p,A,w){var C=w.getWidth(),x=w.getHeight();c[0]=Math.min(c[0]+p,C)-p,c[1]=Math.min(c[1]+A,x)-A,c[0]=Math.max(c[0],0),c[1]=Math.max(c[1],0)}function o(c,p,A,w,C){c=p.scale.parse(c);var x=p.scale.getLabel(c,{precision:C.precision}),E=C.formatter;if(E){var T={value:h.getAxisRawValue(p,c),axisDimension:p.dim,axisIndex:p.index,seriesData:[]};g.each(w,function(_){var v=A.getSeriesByIndex(_.seriesIndex),S=_.dataIndexInside,O=v&&v.getDataParams(S);O&&T.seriesData.push(O)}),g.isString(E)?x=E.replace("{value}",x):g.isFunction(E)&&(x=E(T))}return x}function d(c,p,A){var w=y.create();return y.rotate(w,w,A.rotation),y.translate(w,w,A.position),f.applyTransform([c.dataToCoord(p),(A.labelOffset||0)+(A.labelDirection||1)*(A.labelMargin||0)],w)}function n(c,p,A,w,C,x){var E=u.innerTextLayout(A.rotation,0,A.labelDirection);A.labelMargin=C.get("label.margin"),a(p,w,C,x,{position:d(w.axis,c,A),align:E.textAlign,verticalAlign:E.textVerticalAlign})}function l(c,p,A){return A=A||0,{x1:c[A],y1:c[1-A],x2:p[A],y2:p[1-A]}}function t(c,p,A){return A=A||0,{x:c[A],y:c[1-A],width:p[A],height:p[1-A]}}function s(c,p,A,w,C,x){return{cx:c,cy:p,r0:A,r:w,startAngle:C,endAngle:x,clockwise:!0}}I.buildElStyle=i,I.buildLabelElOption=a,I.getValueLabel=o,I.getTransformedPosition=d,I.buildCartesianSingleLabelElOption=n,I.makeLineShape=l,I.makeRectShape=t,I.makeSectorShape=s},"/zsF":function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("bE4E"),m=e.n(b)},"0/Rx":function(R,I){function e(g){return{seriesType:g,reset:function(f,b){var m=b.findComponents({mainType:"legend"});if(!m||!m.length)return;var y=f.getData();y.filterSelf(function(h){for(var u=y.getName(h),i=0;i<m.length;i++)if(!m[i].isSelected(u))return!1;return!0})}}}R.exports=e},"01d+":function(R,I,e){var g=e("bYtY"),f=g.each,b=e("HF/U"),m=b.simpleLayout,y=b.simpleLayoutEdge;function h(u,i){u.eachSeriesByType("graph",function(a){var r=a.get("layout"),o=a.coordinateSystem;if(o&&o.type!=="view"){var d=a.getData(),n=[];f(o.dimensions,function(A){n=n.concat(d.mapDimension(A,!0))});for(var l=0;l<d.count();l++){for(var t=[],s=!1,c=0;c<n.length;c++){var p=d.get(n[c],l);isNaN(p)||(s=!0),t.push(p)}s?d.setItemLayout(l,o.dataToPoint(t)):d.setItemLayout(l,[NaN,NaN])}y(d.graph)}else(!r||r==="none")&&m(a)})}R.exports=h},"03A+":function(R,I,e){var g=e("JTzB"),f=e("ExA7"),b=Object.prototype,m=b.hasOwnProperty,y=b.propertyIsEnumerable,h=g(function(){return arguments}())?g:function(u){return f(u)&&m.call(u,"callee")&&!y.call(u,"callee")};R.exports=h},"06DH":function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("Kagy"),m=e("IUWy"),y=b.toolbox.magicType,h="__ec_magicType_stack__";function u(d){this.model=d}u.defaultOption={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:f.clone(y.title),option:{},seriesIndex:{}};var i=u.prototype;i.getIcons=function(){var d=this.model,n=d.get("icon"),l={};return f.each(d.get("type"),function(t){n[t]&&(l[t]=n[t])}),l};var a={line:function(d,n,l,t){if(d==="bar")return f.merge({id:n,type:"line",data:l.get("data"),stack:l.get("stack"),markPoint:l.get("markPoint"),markLine:l.get("markLine")},t.get("option.line")||{},!0)},bar:function(d,n,l,t){if(d==="line")return f.merge({id:n,type:"bar",data:l.get("data"),stack:l.get("stack"),markPoint:l.get("markPoint"),markLine:l.get("markLine")},t.get("option.bar")||{},!0)},stack:function(d,n,l,t){var s=l.get("stack")===h;if(d==="line"||d==="bar")return t.setIconStatus("stack",s?"normal":"emphasis"),f.merge({id:n,stack:s?"":h},t.get("option.stack")||{},!0)}},r=[["line","bar"],["stack"]];i.onclick=function(d,n,l){var t=this.model,s=t.get("seriesIndex."+l);if(!a[l])return;var c={series:[]},p=function(C){var x=C.subType,E=C.id,T=a[l](x,E,C,t);T&&(f.defaults(T,C.option),c.series.push(T));var _=C.coordinateSystem;if(_&&_.type==="cartesian2d"&&(l==="line"||l==="bar")){var v=_.getAxesByScale("ordinal")[0];if(v){var S=v.dim,O=S+"Axis",L=d.queryComponents({mainType:O,index:C.get(name+"Index"),id:C.get(name+"Id")})[0],M=L.componentIndex;c[O]=c[O]||[];for(var F=0;F<=M;F++)c[O][M]=c[O][M]||{};c[O][M].boundaryGap=l==="bar"}}};f.each(r,function(C){f.indexOf(C,l)>=0&&f.each(C,function(x){t.setIconStatus(x,"normal")})}),t.setIconStatus(l,"emphasis"),d.eachComponent({mainType:"series",query:s==null?null:{seriesIndex:s}},p);var A;if(l==="stack"){var w=c.series&&c.series[0]&&c.series[0].stack===h;A=w?f.merge({stack:y.title.tiled},y.title):f.clone(y.title)}n.dispatchAction({type:"changeMagicType",currentType:l,newOption:c,newTitle:A,featureName:"magicType"})},g.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(d,n){n.mergeOption(d.newOption)}),m.register("magicType",u);var o=u;R.exports=o},"06Qe":function(R,I,e){var g=e("ItGF"),f="urn:schemas-microsoft-com:vml",b=typeof window=="undefined"?null:window,m=!1,y=b&&b.document;function h(a){return u(a)}var u;if(y&&!g.canvasSupported)try{!y.namespaces.zrvml&&y.namespaces.add("zrvml",f),u=function(r){return y.createElement("<zrvml:"+r+' class="zrvml">')}}catch(a){u=function(o){return y.createElement("<"+o+' xmlns="'+f+'" class="zrvml">')}}function i(){if(m||!y)return;m=!0;var a=y.styleSheets;a.length<31?y.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):a[0].addRule(".zrvml","behavior:url(#default#VML)")}I.doc=y,I.createNode=h,I.initVML=i},"09Wf":function(R,I,e){"use strict";e.d(I,"b",function(){return f}),e.d(I,"a",function(){return b});var g=e("CWQg"),f=Object(g.a)("success","processing","error","default","warning"),b=Object(g.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Bwj":function(R,I,e){var g=e("T4UG"),f=e("I3/A"),b=e("7aKB"),m=b.encodeHTML,y=e("Qxkt"),h=e("Tghj"),u=h.__DEV__,i=g.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(r,o){for(var d=r.edges||r.links,n=r.data||r.nodes,l=r.levels,t=this.levelModels={},s=0;s<l.length;s++)l[s].depth!=null&&l[s].depth>=0&&(t[l[s].depth]=new y(l[s],this,o));if(n&&d){var c=f(n,d,this,!0,p);return c.data}function p(A,w){A.wrapMethod("getItemModel",function(C,x){return C.customizeGetParent(function(E){var T=this.parentModel,_=T.getData().getItemLayout(x).depth,v=T.levelModels[_];return v||this.parentModel}),C}),w.wrapMethod("getItemModel",function(C,x){return C.customizeGetParent(function(E){var T=this.parentModel,_=T.getGraph().getEdgeByIndex(x),v=_.node1.getLayout().depth,S=T.levelModels[v];return S||this.parentModel}),C})}},setNodePosition:function(r,o){var d=this.option.data[r];d.localX=o[0],d.localY=o[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(r,o,d){if(d==="edge"){var n=this.getDataParams(r,d),l=n.data,t=l.source+" -- "+l.target;return n.value&&(t+=" : "+n.value),m(t)}else if(d==="node"){var s=this.getGraph().getNodeByIndex(r),c=s.getLayout().value,p=this.getDataParams(r,d).data.name;if(c)var t=p+" : "+c;return m(t)}return i.superCall(this,"formatTooltip",r,o)},optionUpdated:function(){var r=this.option;r.focusNodeAdjacency===!0&&(r.focusNodeAdjacency="allEdges")},getDataParams:function(r,o){var d=i.superCall(this,"getDataParams",r,o);if(d.value==null&&o==="node"){var n=this.getGraph().getNodeByIndex(r),l=n.getLayout().value;d.value=l}return d},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}}),a=i;R.exports=a},"0Cz8":function(R,I,e){var g=e("Xi7e"),f=e("ebwN"),b=e("e4Nc"),m=200;function y(h,u){var i=this.__data__;if(i instanceof g){var a=i.__data__;if(!f||a.length<m-1)return a.push([h,u]),this.size=++i.size,this;i=this.__data__=new b(a)}return i.set(h,u),this.size=i.size,this}R.exports=y},"0HBW":function(R,I,e){var g=e("ProS"),f=e("bYtY");e("Hxpc"),e("7uqq"),e("dmGj"),e("SehX");function b(m,y){y.update="updateView",g.registerAction(y,function(h,u){var i={};return u.eachComponent({mainType:"geo",query:h},function(a){a[m](h.name);var r=a.coordinateSystem;f.each(r.regions,function(o){i[o.name]=a.isSelected(o.name)||!1})}),{selected:i,name:h.name}})}b("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),b("select",{type:"geoSelect",event:"geoselected"}),b("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(R,I,e){var g=e("bYtY"),f=e("+TT/"),b=e("OELB"),m=e("IDmD"),y=864e5;function h(a,r,o){this._model=a}h.prototype={constructor:h,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(a){a=b.parseDate(a);var r=a.getFullYear(),o=a.getMonth()+1;o=o<10?"0"+o:o;var d=a.getDate();d=d<10?"0"+d:d;var n=a.getDay();return n=Math.abs((n+7-this.getFirstDayOfWeek())%7),{y:r,m:o,d,day:n,time:a.getTime(),formatedDate:r+"-"+o+"-"+d,date:a}},getNextNDay:function(a,r){return r=r||0,r===0?this.getDateInfo(a):(a=new Date(this.getDateInfo(a).time),a.setDate(a.getDate()+r),this.getDateInfo(a))},update:function(a,r){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 o=this._rangeInfo.weeks||1,d=["width","height"],n=this._model.get("cellSize").slice(),l=this._model.getBoxLayoutParams(),t=this._orient==="horizontal"?[o,7]:[7,o];g.each([0,1],function(A){p(n,A)&&(l[d[A]]=n[A]*t[A])});var s={width:r.getWidth(),height:r.getHeight()},c=this._rect=f.getLayoutRect(l,s);g.each([0,1],function(A){p(n,A)||(n[A]=c[d[A]]/t[A])});function p(A,w){return A[w]!=null&&A[w]!=="auto"}this._sw=n[0],this._sh=n[1]},dataToPoint:function(a,r){g.isArray(a)&&(a=a[0]),r==null&&(r=!0);var o=this.getDateInfo(a),d=this._rangeInfo,n=o.formatedDate;if(r&&!(o.time>=d.start.time&&o.time<d.end.time+y))return[NaN,NaN];var l=o.day,t=this._getRangeInfo([d.start.time,n]).nthWeek;return this._orient==="vertical"?[this._rect.x+l*this._sw+this._sw/2,this._rect.y+t*this._sh+this._sh/2]:[this._rect.x+t*this._sw+this._sw/2,this._rect.y+l*this._sh+this._sh/2]},pointToData:function(a){var r=this.pointToDate(a);return r&&r.time},dataToRect:function(a,r){var o=this.dataToPoint(a,r);return{contentShape:{x:o[0]-(this._sw-this._lineWidth)/2,y:o[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:o,tl:[o[0]-this._sw/2,o[1]-this._sh/2],tr:[o[0]+this._sw/2,o[1]-this._sh/2],br:[o[0]+this._sw/2,o[1]+this._sh/2],bl:[o[0]-this._sw/2,o[1]+this._sh/2]}},pointToDate:function(a){var r=Math.floor((a[0]-this._rect.x)/this._sw)+1,o=Math.floor((a[1]-this._rect.y)/this._sh)+1,d=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(o,r-1,d):this._getDateByWeeksAndDay(r,o-1,d)},convertToPixel:g.curry(u,"dataToPoint"),convertFromPixel:g.curry(u,"pointToData"),_initRangeOption:function(){var a=this._model.get("range"),r=a;if(g.isArray(r)&&r.length===1&&(r=r[0]),/^\d{4}$/.test(r)&&(a=[r+"-01-01",r+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(r)){var o=this.getDateInfo(r),d=o.date;d.setMonth(d.getMonth()+1);var n=this.getNextNDay(d,-1);a=[o.formatedDate,n.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(r)&&(a=[r,r]);var l=this._getRangeInfo(a);return l.start.time>l.end.time&&a.reverse(),a},_getRangeInfo:function(a){a=[this.getDateInfo(a[0]),this.getDateInfo(a[1])];var r;a[0].time>a[1].time&&(r=!0,a.reverse());var o=Math.floor(a[1].time/y)-Math.floor(a[0].time/y)+1,d=new Date(a[0].time),n=d.getDate(),l=a[1].date.getDate();d.setDate(n+o-1);var t=d.getDate();if(t!==l)for(var s=d.getTime()-a[1].time>0?1:-1;(t=d.getDate())!==l&&(d.getTime()-a[1].time)*s>0;)o-=s,d.setDate(t-s);var c=Math.floor((o+a[0].day+6)/7),p=r?-c+1:c-1;return r&&a.reverse(),{range:[a[0].formatedDate,a[1].formatedDate],start:a[0],end:a[1],allDay:o,weeks:c,nthWeek:p,fweek:a[0].day,lweek:a[1].day}},_getDateByWeeksAndDay:function(a,r,o){var d=this._getRangeInfo(o);if(a>d.weeks||a===0&&r<d.fweek||a===d.weeks&&r>d.lweek)return!1;var n=(a-1)*7-d.fweek+r,l=new Date(d.start.time);return l.setDate(d.start.d+n),this.getDateInfo(l)}},h.dimensions=h.prototype.dimensions,h.getDimensionsInfo=h.prototype.getDimensionsInfo,h.create=function(a,r){var o=[];return a.eachComponent("calendar",function(d){var n=new h(d,a,r);o.push(n),d.coordinateSystem=n}),a.eachSeries(function(d){d.get("coordinateSystem")==="calendar"&&(d.coordinateSystem=o[d.get("calendarIndex")||0])}),o};function u(a,r,o,d){var n=o.calendarModel,l=o.seriesModel,t=n?n.coordinateSystem:l?l.coordinateSystem:null;return t===this?t[a](d):null}m.register("calendar",h);var i=h;R.exports=i},"0JQy":function(R,I){var e="\\ud800-\\udfff",g="\\u0300-\\u036f",f="\\ufe20-\\ufe2f",b="\\u20d0-\\u20ff",m=g+f+b,y="\\ufe0e\\ufe0f",h="["+e+"]",u="["+m+"]",i="\\ud83c[\\udffb-\\udfff]",a="(?:"+u+"|"+i+")",r="[^"+e+"]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",n="\\u200d",l=a+"?",t="["+y+"]?",s="(?:"+n+"(?:"+[r,o,d].join("|")+")"+t+l+")*",c=t+l+s,p="(?:"+[r+u+"?",u,o,d,h].join("|")+")",A=RegExp(i+"(?="+i+")|"+p+c,"g");function w(C){return C.match(A)||[]}R.exports=w},"0NbB":function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="CaretDownOutlined";var h=I.a=g.forwardRef(y)},"0V0F":function(R,I,e){var g=e("bYtY"),f=g.createHashMap,b=g.each;function m(h){var u=f();h.eachSeries(function(i){var a=i.get("stack");if(a){var r=u.get(a)||u.set(a,[]),o=i.getData(),d={stackResultDimension:o.getCalculationInfo("stackResultDimension"),stackedOverDimension:o.getCalculationInfo("stackedOverDimension"),stackedDimension:o.getCalculationInfo("stackedDimension"),stackedByDimension:o.getCalculationInfo("stackedByDimension"),isStackedByIndex:o.getCalculationInfo("isStackedByIndex"),data:o,seriesModel:i};if(!d.stackedDimension||!(d.isStackedByIndex||d.stackedByDimension))return;r.length&&o.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(d)}}),u.each(y)}function y(h){b(h,function(u,i){var a=[],r=[NaN,NaN],o=[u.stackResultDimension,u.stackedOverDimension],d=u.data,n=u.isStackedByIndex,l=d.map(o,function(t,s,c){var p=d.get(u.stackedDimension,c);if(isNaN(p))return r;var A,w;n?w=d.getRawIndex(c):A=d.get(u.stackedByDimension,c);for(var C=NaN,x=i-1;x>=0;x--){var E=h[x];if(n||(w=E.data.rawIndexOf(E.stackedByDimension,A)),w>=0){var T=E.data.getByRawIndex(E.stackResultDimension,w);if(p>=0&&T>0||p<=0&&T<0){p+=T,C=T;break}}}return a[0]=p,a[1]=C,a});d.hostModel.setData(l),u.data=l})}R.exports=m},"0XgM":function(R,I,e){},"0fbx":function(R,I,e){},"0o9m":function(R,I,e){var g=e("ProS");e("hNWo"),e("RlCK"),e("XpcN");var f=e("kDyi"),b=e("bLfw");g.registerProcessor(g.PRIORITY.PROCESSOR.SERIES_FILTER,f),b.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(R,I,e){var g=e("ProS");g.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),g.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0r65":function(R,I){var e=arguments[3],g=arguments[4],f=arguments[5],b=JSON.stringify;R.exports=function(m,y){for(var h,u=Object.keys(f),i=0,a=u.length;i<a;i++){var r=u[i],o=f[r].exports;if(o===m||o&&o.default===m){h=r;break}}if(!h){h=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var d={},i=0,a=u.length;i<a;i++){var r=u[i];d[r]=r}g[h]=["function(require,module,exports){"+m+"(self); }",d]}var n=Math.floor(Math.pow(16,8)*Math.random()).toString(16),l={};l[h]=h,g[n]=["function(require,module,exports){var f = require("+b(h)+");(f.default ? f.default : f)(self);}",l];var t={};s(n);function s(x){t[x]=!0;for(var E in g[x][1]){var T=g[x][1][E];t[T]||s(T)}}var c="("+e+")({"+Object.keys(t).map(function(x){return b(x)+":["+g[x][0]+","+b(g[x][1])+"]"}).join(",")+"},{},["+b(n)+"])",p=window.URL||window.webkitURL||window.mozURL||window.msURL,A=new Blob([c],{type:"text/javascript"});if(y&&y.bare)return A;var w=p.createObjectURL(A),C=new Worker(w);return C.objectURL=w,C}},"0s+r":function(R,I,e){var g=e("bYtY"),f=e("QBsz"),b=e("y23F"),m=e("H6uX"),y=e("YH21"),h=e("C0SR"),u="silent";function i(s,c,p){return{type:s,event:p,target:c.target,topTarget:c.topTarget,cancelBubble:!1,offsetX:p.zrX,offsetY:p.zrY,gestureEvent:p.gestureEvent,pinchX:p.pinchX,pinchY:p.pinchY,pinchScale:p.pinchScale,wheelDelta:p.zrDelta,zrByTouch:p.zrByTouch,which:p.which,stop:a}}function a(){y.stop(this.event)}function r(){}r.prototype.dispose=function(){};var o=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],d=function(c,p,A,w){m.call(this),this.storage=c,this.painter=p,this.painterRoot=w,A=A||new r,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,b.call(this),this.setHandlerProxy(A)};d.prototype={constructor:d,setHandlerProxy:function(c){this.proxy&&this.proxy.dispose(),c&&(g.each(o,function(p){c.on&&c.on(p,this[p],this)},this),c.handler=this),this.proxy=c},mousemove:function(c){var p=c.zrX,A=c.zrY,w=l(this,p,A),C=this._hovered,x=C.target;x&&!x.__zr&&(C=this.findHover(C.x,C.y),x=C.target);var E=this._hovered=w?{x:p,y:A}:this.findHover(p,A),T=E.target,_=this.proxy;_.setCursor&&_.setCursor(T?T.cursor:"default"),x&&T!==x&&this.dispatchToElement(C,"mouseout",c),this.dispatchToElement(E,"mousemove",c),T&&T!==x&&this.dispatchToElement(E,"mouseover",c)},mouseout:function(c){var p=c.zrEventControl,A=c.zrIsToLocalDOM;p!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",c),p!=="no_globalout"&&(!A&&this.trigger("globalout",{type:"globalout",event:c}))},resize:function(c){this._hovered={}},dispatch:function(c,p){var A=this[c];A&&A.call(this,p)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(c){var p=this.proxy;p.setCursor&&p.setCursor(c)},dispatchToElement:function(c,p,A){c=c||{};var w=c.target;if(w&&w.silent)return;for(var C="on"+p,x=i(p,c,A);w&&!(w[C]&&(x.cancelBubble=w[C].call(w,x)),w.trigger(p,x),w=w.parent,x.cancelBubble););x.cancelBubble||(this.trigger(p,x),this.painter&&this.painter.eachOtherLayer(function(E){typeof E[C]=="function"&&E[C].call(E,x),E.trigger&&E.trigger(p,x)}))},findHover:function(c,p,A){for(var w=this.storage.getDisplayList(),C={x:c,y:p},x=w.length-1;x>=0;x--){var E;if(w[x]!==A&&!w[x].ignore&&(E=n(w[x],c,p))&&(!C.topTarget&&(C.topTarget=w[x]),E!==u)){C.target=w[x];break}}return C},processGesture:function(c,p){this._gestureMgr||(this._gestureMgr=new h);var A=this._gestureMgr;p==="start"&&A.clear();var w=A.recognize(c,this.findHover(c.zrX,c.zrY,null).target,this.proxy.dom);if(p==="end"&&A.clear(),w){var C=w.type;c.gestureEvent=C,this.dispatchToElement({target:w.target},C,w.event)}}},g.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(s){d.prototype[s]=function(c){var p=c.zrX,A=c.zrY,w=l(this,p,A),C,x;if((s!=="mouseup"||!w)&&(C=this.findHover(p,A),x=C.target),s==="mousedown")this._downEl=x,this._downPoint=[c.zrX,c.zrY],this._upEl=x;else if(s==="mouseup")this._upEl=x;else if(s==="click"){if(this._downEl!==this._upEl||!this._downPoint||f.dist(this._downPoint,[c.zrX,c.zrY])>4)return;this._downPoint=null}this.dispatchToElement(C,s,c)}});function n(s,c,p){if(s[s.rectHover?"rectContain":"contain"](c,p)){for(var A=s,w;A;){if(A.clipPath&&!A.clipPath.contain(c,p))return!1;A.silent&&(w=!0),A=A.parent}return w?u:!0}return!1}function l(s,c,p){var A=s.painter;return c<0||c>A.getWidth()||p<0||p>A.getHeight()}g.mixin(d,m),g.mixin(d,b);var t=d;R.exports=t},"0ycA":function(R,I){function e(){return[]}R.exports=e},"10cm":function(R,I,e){var g=e("ProS"),f=e("2B6p"),b=f.updateCenterAndZoom;e("0qV/");var m={type:"graphRoam",event:"graphRoam",update:"none"};g.registerAction(m,function(y,h){h.eachComponent({mainType:"series",query:y},function(u){var i=u.coordinateSystem,a=b(i,y);u.setCenter&&u.setCenter(a.center),u.setZoom&&u.setZoom(a.zoom)})})},"15/o":function(R,I,e){},"19Vz":function(R,I,e){(function(g){g(e("VrN/"))})(function(g){g.defineOption("placeholder","",function(i,a,r){var o=r&&r!=g.Init;if(a&&!o)i.on("blur",y),i.on("change",h),i.on("swapDoc",h),g.on(i.getInputField(),"compositionupdate",i.state.placeholderCompose=function(){m(i)}),h(i);else if(!a&&o){i.off("blur",y),i.off("change",h),i.off("swapDoc",h),g.off(i.getInputField(),"compositionupdate",i.state.placeholderCompose),f(i);var d=i.getWrapperElement();d.className=d.className.replace(" CodeMirror-empty","")}a&&!i.hasFocus()&&y(i)});function f(i){i.state.placeholder&&(i.state.placeholder.parentNode.removeChild(i.state.placeholder),i.state.placeholder=null)}function b(i){f(i);var a=i.state.placeholder=document.createElement("pre");a.style.cssText="height: 0; overflow: visible",a.style.direction=i.getOption("direction"),a.className="CodeMirror-placeholder CodeMirror-line-like";var r=i.getOption("placeholder");typeof r=="string"&&(r=document.createTextNode(r)),a.appendChild(r),i.display.lineSpace.insertBefore(a,i.display.lineSpace.firstChild)}function m(i){setTimeout(function(){var a=!1,r=i.getInputField();r.nodeName=="TEXTAREA"?a=!r.value:i.lineCount()==1&&(a=!/[^\u200b]/.test(r.querySelector(".CodeMirror-line").textContent)),a?b(i):f(i)},20)}function y(i){u(i)&&b(i)}function h(i){var a=i.getWrapperElement(),r=u(i);a.className=a.className.replace(" CodeMirror-empty","")+(r?" CodeMirror-empty":""),r?b(i):f(i)}function u(i){return i.lineCount()===1&&i.getLine(0)===""}})},"1Jh7":function(R,I,e){var g=e("y+Vt"),f=e("T6xi"),b=g.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(y,h){f.buildPath(y,h,!1)}});R.exports=b},"1LEl":function(R,I,e){var g=e("ProS"),f=e("F9bG"),b=g.extendComponentView({type:"axisPointer",render:function(y,h,u){var i=h.getComponent("tooltip"),a=y.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";f.register("axisPointer",u,function(r,o,d){a!=="none"&&(r==="leave"||a.indexOf(r)>=0)&&d({type:"updateAxisPointer",currTrigger:r,x:o&&o.offsetX,y:o&&o.offsetY})})},remove:function(y,h){f.unregister(h.getZr(),"axisPointer"),b.superApply(this._model,"remove",arguments)},dispose:function(y,h){f.unregister("axisPointer",h),b.superApply(this._model,"dispose",arguments)}}),m=b;R.exports=m},"1MYJ":function(R,I,e){var g=e("y+Vt"),f=g.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var m=this.__dirtyPath,y=this.shape.paths,h=0;h<y.length;h++)m=m||y[h].__dirtyPath;this.__dirtyPath=m,this.__dirty=this.__dirty||m},beforeBrush:function(){this._updatePathDirty();for(var m=this.shape.paths||[],y=this.getGlobalScale(),h=0;h<m.length;h++)m[h].path||m[h].createPathProxy(),m[h].path.setScale(y[0],y[1],m[h].segmentIgnoreThreshold)},buildPath:function(m,y){for(var h=y.paths||[],u=0;u<h.length;u++)h[u].buildPath(m,h[u].shape,!0)},afterBrush:function(){for(var m=this.shape.paths||[],y=0;y<m.length;y++)m[y].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),g.prototype.getBoundingRect.call(this)}});R.exports=f},"1NG9":function(R,I,e){var g=e("y+Vt"),f=e("QBsz"),b=e("iXp4"),m=f.min,y=f.max,h=f.scaleAndAdd,u=f.copy,i=[],a=[],r=[];function o(p){return isNaN(p[0])||isNaN(p[1])}function d(p,A,w,C,x,E,T,_,v,S,O){return S==="none"||!S?l.apply(this,arguments):n.apply(this,arguments)}function n(p,A,w,C,x,E,T,_,v,S,O){for(var L=0,M=w,F=0;F<C;F++){var U=A[M];if(M>=x||M<0)break;if(o(U)){if(O){M+=E;continue}break}if(M===w)p[E>0?"moveTo":"lineTo"](U[0],U[1]);else if(v>0){var z=A[L],W=S==="y"?1:0,N=(U[W]-z[W])*v;u(a,z),a[W]=z[W]+N,u(r,U),r[W]=U[W]-N,p.bezierCurveTo(a[0],a[1],r[0],r[1],U[0],U[1])}else p.lineTo(U[0],U[1]);L=M,M+=E}return F}function l(p,A,w,C,x,E,T,_,v,S,O){for(var L=0,M=w,F=0;F<C;F++){var U=A[M];if(M>=x||M<0)break;if(o(U)){if(O){M+=E;continue}break}if(M===w)p[E>0?"moveTo":"lineTo"](U[0],U[1]),u(a,U);else if(v>0){var z=M+E,W=A[z];if(O)for(;W&&o(A[z]);)z+=E,W=A[z];var N=.5,H=A[L],W=A[z];if(!W||o(W))u(r,U);else{o(W)&&!O&&(W=U),f.sub(i,W,H);var j,k;if(S==="x"||S==="y"){var B=S==="x"?0:1;j=Math.abs(U[B]-H[B]),k=Math.abs(U[B]-W[B])}else j=f.dist(U,H),k=f.dist(U,W);N=k/(k+j),h(r,U,i,-v*(1-N))}m(a,a,_),y(a,a,T),m(r,r,_),y(r,r,T),p.bezierCurveTo(a[0],a[1],r[0],r[1],U[0],U[1]),h(a,U,i,v*N)}else p.lineTo(U[0],U[1]);L=M,M+=E}return F}function t(p,A){var w=[Infinity,Infinity],C=[-Infinity,-Infinity];if(A)for(var x=0;x<p.length;x++){var E=p[x];E[0]<w[0]&&(w[0]=E[0]),E[1]<w[1]&&(w[1]=E[1]),E[0]>C[0]&&(C[0]=E[0]),E[1]>C[1]&&(C[1]=E[1])}return{min:A?w:C,max:A?C:w}}var s=g.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:b(g.prototype.brush),buildPath:function(p,A){var w=A.points,C=0,x=w.length,E=t(w,A.smoothConstraint);if(A.connectNulls){for(;x>0&&o(w[x-1]);x--);for(;C<x&&o(w[C]);C++);}for(;C<x;)C+=d(p,w,C,x,x,1,E.min,E.max,A.smooth,A.smoothMonotone,A.connectNulls)+1}}),c=g.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:b(g.prototype.brush),buildPath:function(p,A){var w=A.points,C=A.stackedOnPoints,x=0,E=w.length,T=A.smoothMonotone,_=t(w,A.smoothConstraint),v=t(C,A.smoothConstraint);if(A.connectNulls){for(;E>0&&o(w[E-1]);E--);for(;x<E&&o(w[x]);x++);}for(;x<E;){var S=d(p,w,x,E,E,1,_.min,_.max,A.smooth,T,A.connectNulls);d(p,C,x+S-1,S,E,-1,v.min,v.max,A.stackedOnSmooth,T,A.connectNulls),x+=S+1,p.closePath()}}});I.Polyline=s,I.Polygon=c},"1RvN":function(R,I){var e=function(){this.head=null,this.tail=null,this._len=0},g=e.prototype;g.insert=function(h){var u=new f(h);return this.insertEntry(u),u},g.insertEntry=function(h){this.head?(this.tail.next=h,h.prev=this.tail,h.next=null,this.tail=h):this.head=this.tail=h,this._len++},g.remove=function(h){var u=h.prev,i=h.next;u?u.next=i:this.head=i,i?i.prev=u:this.tail=u,h.next=h.prev=null,this._len--},g.len=function(){return this._len},g.clear=function(){this.head=this.tail=null,this._len=0};var f=function(u){this.value=u,this.next,this.prev},b=function(u){this._list=new e,this._map={},this._maxSize=u||10,this._lastRemovedEntry=null},m=b.prototype;m.put=function(h,u){var i=this._list,a=this._map,r=null;if(a[h]==null){var o=i.len(),d=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var n=i.head;i.remove(n),delete a[n.key],r=n.value,this._lastRemovedEntry=n}d?d.value=u:d=new f(u),d.key=h,i.insertEntry(d),a[h]=d}return r},m.get=function(h){var u=this._map[h],i=this._list;if(u!=null)return u!==i.tail&&(i.remove(u),i.insertEntry(u)),u.value},m.clear=function(){this._list.clear(),this._map={}};var y=b;R.exports=y},"1bdT":function(R,I,e){var g=e("3gBT"),f=e("H6uX"),b=e("DN4a"),m=e("vWvF"),y=e("bYtY"),h=function(a){b.call(this,a),f.call(this,a),m.call(this,a),this.id=a.id||g()};h.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(a,r){switch(this.draggable){case"horizontal":r=0;break;case"vertical":a=0;break}var o=this.transform;o||(o=this.transform=[1,0,0,1,0,0]),o[4]+=a,o[5]+=r,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(a,r){},attrKV:function(a,r){if(a==="position"||a==="scale"||a==="origin"){if(r){var o=this[a];o||(o=this[a]=[]),o[0]=r[0],o[1]=r[1]}}else this[a]=r},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(a,r){if(typeof a=="string")this.attrKV(a,r);else if(y.isObject(a))for(var o in a)a.hasOwnProperty(o)&&this.attrKV(o,a[o]);return this.dirty(!1),this},setClipPath:function(a){var r=this.__zr;r&&a.addSelfToZr(r),this.clipPath&&this.clipPath!==a&&this.removeClipPath(),this.clipPath=a,a.__zr=r,a.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var a=this.clipPath;a&&(a.__zr&&a.removeSelfFromZr(a.__zr),a.__zr=null,a.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(a){this.__zr=a;var r=this.animators;if(r)for(var o=0;o<r.length;o++)a.animation.addAnimator(r[o]);this.clipPath&&this.clipPath.addSelfToZr(a)},removeSelfFromZr:function(a){this.__zr=null;var r=this.animators;if(r)for(var o=0;o<r.length;o++)a.animation.removeAnimator(r[o]);this.clipPath&&this.clipPath.removeSelfFromZr(a)}},y.mixin(h,m),y.mixin(h,b),y.mixin(h,f);var u=h;R.exports=u},"1dTM":function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=e("GQ8N"),f=S(e("Lo0S")),b=e("VSMT"),m=e("GdRQ"),y=e("SZEN"),h=e("vewr"),u=_(e("YJ9k")),i=_(e("MZdM")),a=_(e("ItS6")),r=_(e("whVF")),o=_(e("Fv0C")),d=_(e("LCi9")),n=_(e("rwxt")),l=_(e("Mmt2")),t=_(e("iUHT")),s=_(e("mHUz")),c=_(e("P2ho")),p=e("NBmB");e("mdZa");var A=_(e("34/K")),w=_(e("hXwI")),C=_(e("SgaC")),x=_(e("3690")),E=_(e("8K/p")),T=_(e("xO64"));function _(pe){return pe&&pe.__esModule?pe:{default:pe}}function v(){if(typeof WeakMap!="function")return null;var pe=new WeakMap;return v=function(){return pe},pe}function S(pe){if(pe&&pe.__esModule)return pe;if(pe===null||O(pe)!=="object"&&typeof pe!="function")return{default:pe};var oe=v();if(oe&&oe.has(pe))return oe.get(pe);var Ie={},fe=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var te in pe)if(Object.prototype.hasOwnProperty.call(pe,te)){var J=fe?Object.getOwnPropertyDescriptor(pe,te):null;J&&(J.get||J.set)?Object.defineProperty(Ie,te,J):Ie[te]=pe[te]}return Ie.default=pe,oe&&oe.set(pe,Ie),Ie}function O(pe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(Ie){return typeof Ie}:O=function(Ie){return Ie&&typeof Symbol=="function"&&Ie.constructor===Symbol&&Ie!==Symbol.prototype?"symbol":typeof Ie},O(pe)}function L(pe,oe){if(!(pe instanceof oe))throw new TypeError("Cannot call a class as a function")}function M(pe,oe){for(var Ie=0;Ie<oe.length;Ie++){var fe=oe[Ie];fe.enumerable=fe.enumerable||!1,fe.configurable=!0,"value"in fe&&(fe.writable=!0),Object.defineProperty(pe,fe.key,fe)}}function F(pe,oe,Ie){return oe&&M(pe.prototype,oe),Ie&&M(pe,Ie),pe}function U(pe,oe){if(typeof oe!="function"&&oe!==null)throw new TypeError("Super expression must either be null or a function");pe.prototype=Object.create(oe&&oe.prototype,{constructor:{value:pe,writable:!0,configurable:!0}}),oe&&z(pe,oe)}function z(pe,oe){return z=Object.setPrototypeOf||function(fe,te){return fe.__proto__=te,fe},z(pe,oe)}function W(pe){var oe=j();return function(){var fe=k(pe),te;if(oe){var J=k(this).constructor;te=Reflect.construct(fe,arguments,J)}else te=fe.apply(this,arguments);return N(this,te)}}function N(pe,oe){return oe&&(O(oe)==="object"||typeof oe=="function")?oe:H(pe)}function H(pe){if(pe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return pe}function j(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(pe){return!1}}function k(pe){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(Ie){return Ie.__proto__||Object.getPrototypeOf(Ie)},k(pe)}var B=3,V="rgb(40, 40, 40)",K=17,Y=50,Q=19,he=75,G=50,ye=1e3,Ae=50,ge=1,Pe=1<<1,Re=1<<2,rt=1<<3,ne=1<<4,be=1<<24,at=1<<25,se=1<<26,q=1<<27,X=1<<28,Z=function(pe){U(Ie,pe);var oe=W(Ie);function Ie(fe,te,J){var ve;if(L(this,Ie),!fe)throw new Error("Must specify target");if(!te)throw new Error("Must specify URL");ve=oe.call(this),ve._target=fe,ve._url=te,J=J||{},ve._rfbCredentials=J.credentials||{},ve._shared="shared"in J?!!J.shared:!0,ve._repeaterID=J.repeaterID||"",ve._wsProtocols=J.wsProtocols||[],ve._rfbConnectionState="",ve._rfbInitState="",ve._rfbAuthScheme=-1,ve._rfbCleanDisconnect=!0,ve._rfbVersion=0,ve._rfbMaxVersion=3.8,ve._rfbTightVNC=!1,ve._rfbVeNCryptState=0,ve._rfbXvpVer=0,ve._fbWidth=0,ve._fbHeight=0,ve._fbName="",ve._capabilities={power:!1},ve._supportsFence=!1,ve._supportsContinuousUpdates=!1,ve._enabledContinuousUpdates=!1,ve._supportsSetDesktopSize=!1,ve._screenID=0,ve._screenFlags=0,ve._qemuExtKeyEventSupported=!1,ve._clipboardText=null,ve._clipboardServerCapabilitiesActions={},ve._clipboardServerCapabilitiesFormats={},ve._sock=null,ve._display=null,ve._flushing=!1,ve._keyboard=null,ve._gestures=null,ve._disconnTimer=null,ve._resizeTimeout=null,ve._mouseMoveTimer=null,ve._decoders={},ve._FBU={rects:0,x:0,y:0,width:0,height:0,encoding:null},ve._mousePos={},ve._mouseButtonMask=0,ve._mouseLastMoveTime=0,ve._viewportDragging=!1,ve._viewportDragPos={},ve._viewportHasMoved=!1,ve._accumulatedWheelDeltaX=0,ve._accumulatedWheelDeltaY=0,ve._gestureLastTapTime=null,ve._gestureFirstDoubleTapEv=null,ve._gestureLastMagnitudeX=0,ve._gestureLastMagnitudeY=0,ve._eventHandlers={focusCanvas:ve._focusCanvas.bind(H(ve)),windowResize:ve._windowResize.bind(H(ve)),handleMouse:ve._handleMouse.bind(H(ve)),handleWheel:ve._handleWheel.bind(H(ve)),handleGesture:ve._handleGesture.bind(H(ve))},f.Debug(">> RFB.constructor"),ve._screen=document.createElement("div"),ve._screen.style.display="flex",ve._screen.style.width="100%",ve._screen.style.height="100%",ve._screen.style.overflow="auto",ve._screen.style.background=V,ve._canvas=document.createElement("canvas"),ve._canvas.style.margin="auto",ve._canvas.style.outline="none",ve._canvas.style.flexShrink="0",ve._canvas.width=0,ve._canvas.height=0,ve._canvas.tabIndex=-1,ve._screen.appendChild(ve._canvas),ve._cursor=new n.default,ve._cursorImage=Ie.cursors.none,ve._decoders[p.encodings.encodingRaw]=new A.default,ve._decoders[p.encodings.encodingCopyRect]=new w.default,ve._decoders[p.encodings.encodingRRE]=new C.default,ve._decoders[p.encodings.encodingHextile]=new x.default,ve._decoders[p.encodings.encodingTight]=new E.default,ve._decoders[p.encodings.encodingTightPNG]=new T.default;try{ve._display=new i.default(ve._canvas)}catch(De){throw f.Error("Display exception: "+De),De}return ve._display.onflush=ve._onFlush.bind(H(ve)),ve._keyboard=new o.default(ve._canvas),ve._keyboard.onkeyevent=ve._handleKeyEvent.bind(H(ve)),ve._gestures=new d.default,ve._sock=new l.default,ve._sock.on("message",function(){ve._handleMessage()}),ve._sock.on("open",function(){ve._rfbConnectionState==="connecting"&&ve._rfbInitState===""?(ve._rfbInitState="ProtocolVersion",f.Debug("Starting VNC handshake")):ve._fail("Unexpected server connection while "+ve._rfbConnectionState)}),ve._sock.on("close",function(De){f.Debug("WebSocket on-close event");var ze="";De.code&&(ze="(code: "+De.code,De.reason&&(ze+=", reason: "+De.reason),ze+=")");switch(ve._rfbConnectionState){case"connecting":ve._fail("Connection closed "+ze);break;case"connected":ve._updateConnectionState("disconnecting"),ve._updateConnectionState("disconnected");break;case"disconnecting":ve._updateConnectionState("disconnected");break;case"disconnected":ve._fail("Unexpected server disconnect when already disconnected "+ze);break;default:ve._fail("Unexpected server disconnect before connecting "+ze);break}ve._sock.off("close")}),ve._sock.on("error",function(De){return f.Warn("WebSocket on-error event")}),setTimeout(ve._updateConnectionState.bind(H(ve),"connecting")),f.Debug("<< RFB.constructor"),ve.dragViewport=!1,ve.focusOnClick=!0,ve._viewOnly=!1,ve._clipViewport=!1,ve._scaleViewport=!1,ve._resizeSession=!1,ve._showDotCursor=!1,J.showDotCursor!==void 0&&(f.Warn("Specifying showDotCursor as a RFB constructor argument is deprecated"),ve._showDotCursor=J.showDotCursor),ve._qualityLevel=6,ve._compressionLevel=2,ve}return F(Ie,[{key:"disconnect",value:function(){this._updateConnectionState("disconnecting"),this._sock.off("error"),this._sock.off("message"),this._sock.off("open")}},{key:"sendCredentials",value:function(te){this._rfbCredentials=te,setTimeout(this._initMsg.bind(this),0)}},{key:"sendCtrlAltDel",value:function(){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;f.Info("Sending Ctrl-Alt-Del"),this.sendKey(s.default.XK_Control_L,"ControlLeft",!0),this.sendKey(s.default.XK_Alt_L,"AltLeft",!0),this.sendKey(s.default.XK_Delete,"Delete",!0),this.sendKey(s.default.XK_Delete,"Delete",!1),this.sendKey(s.default.XK_Alt_L,"AltLeft",!1),this.sendKey(s.default.XK_Control_L,"ControlLeft",!1)}},{key:"machineShutdown",value:function(){this._xvpOp(1,2)}},{key:"machineReboot",value:function(){this._xvpOp(1,3)}},{key:"machineReset",value:function(){this._xvpOp(1,4)}},{key:"sendKey",value:function(te,J,ve){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(ve===void 0){this.sendKey(te,J,!0),this.sendKey(te,J,!1);return}var De=c.default[J];if(this._qemuExtKeyEventSupported&&De)te=te||0,f.Info("Sending key ("+(ve?"down":"up")+"): keysym "+te+", scancode "+De),Ie.messages.QEMUExtendedKeyEvent(this._sock,te,ve,De);else{if(!te)return;f.Info("Sending keysym ("+(ve?"down":"up")+"): "+te),Ie.messages.keyEvent(this._sock,te,ve?1:0)}}},{key:"focus",value:function(){this._canvas.focus()}},{key:"blur",value:function(){this._canvas.blur()}},{key:"clipboardPasteFrom",value:function(te){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(this._clipboardServerCapabilitiesFormats[ge]&&this._clipboardServerCapabilitiesActions[q])this._clipboardText=te,Ie.messages.extendedClipboardNotify(this._sock,[ge]);else{for(var J=new Uint8Array(te.length),ve=0;ve<te.length;ve++)J[ve]=te.charCodeAt(ve);Ie.messages.clientCutText(this._sock,J)}}},{key:"_connect",value:function(){f.Debug(">> RFB.connect"),f.Info("connecting to "+this._url);try{this._sock.open(this._url,this._wsProtocols)}catch(te){te.name==="SyntaxError"?this._fail("Invalid host or port ("+te+")"):this._fail("Error when opening socket ("+te+")")}this._target.appendChild(this._screen),this._gestures.attach(this._canvas),this._cursor.attach(this._canvas),this._refreshCursor(),window.addEventListener("resize",this._eventHandlers.windowResize),this._canvas.addEventListener("mousedown",this._eventHandlers.focusCanvas),this._canvas.addEventListener("touchstart",this._eventHandlers.focusCanvas),this._canvas.addEventListener("mousedown",this._eventHandlers.handleMouse),this._canvas.addEventListener("mouseup",this._eventHandlers.handleMouse),this._canvas.addEventListener("mousemove",this._eventHandlers.handleMouse),this._canvas.addEventListener("click",this._eventHandlers.handleMouse),this._canvas.addEventListener("contextmenu",this._eventHandlers.handleMouse),this._canvas.addEventListener("wheel",this._eventHandlers.handleWheel),this._canvas.addEventListener("gesturestart",this._eventHandlers.handleGesture),this._canvas.addEventListener("gesturemove",this._eventHandlers.handleGesture),this._canvas.addEventListener("gestureend",this._eventHandlers.handleGesture),f.Debug("<< RFB.connect")}},{key:"_disconnect",value:function(){f.Debug(">> RFB.disconnect"),this._cursor.detach(),this._canvas.removeEventListener("gesturestart",this._eventHandlers.handleGesture),this._canvas.removeEventListener("gesturemove",this._eventHandlers.handleGesture),this._canvas.removeEventListener("gestureend",this._eventHandlers.handleGesture),this._canvas.removeEventListener("wheel",this._eventHandlers.handleWheel),this._canvas.removeEventListener("mousedown",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mouseup",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mousemove",this._eventHandlers.handleMouse),this._canvas.removeEventListener("click",this._eventHandlers.handleMouse),this._canvas.removeEventListener("contextmenu",this._eventHandlers.handleMouse),this._canvas.removeEventListener("mousedown",this._eventHandlers.focusCanvas),this._canvas.removeEventListener("touchstart",this._eventHandlers.focusCanvas),window.removeEventListener("resize",this._eventHandlers.windowResize),this._keyboard.ungrab(),this._gestures.detach(),this._sock.close();try{this._target.removeChild(this._screen)}catch(te){if(!(te.name==="NotFoundError"))throw te}clearTimeout(this._resizeTimeout),clearTimeout(this._mouseMoveTimer),f.Debug("<< RFB.disconnect")}},{key:"_focusCanvas",value:function(te){if(!this.focusOnClick)return;this.focus()}},{key:"_setDesktopName",value:function(te){this._fbName=te,this.dispatchEvent(new CustomEvent("desktopname",{detail:{name:this._fbName}}))}},{key:"_windowResize",value:function(te){var J=this;window.requestAnimationFrame(function(){J._updateClip(),J._updateScale()}),this._resizeSession&&(clearTimeout(this._resizeTimeout),this._resizeTimeout=setTimeout(this._requestRemoteResize.bind(this),500))}},{key:"_updateClip",value:function(){var te=this._display.clipViewport,J=this._clipViewport;if(this._scaleViewport&&(J=!1),te!==J&&(this._display.clipViewport=J),J){var ve=this._screenSize();this._display.viewportChangeSize(ve.w,ve.h),this._fixScrollbars()}}},{key:"_updateScale",value:function(){if(!this._scaleViewport)this._display.scale=1;else{var te=this._screenSize();this._display.autoscale(te.w,te.h)}this._fixScrollbars()}},{key:"_requestRemoteResize",value:function(){if(clearTimeout(this._resizeTimeout),this._resizeTimeout=null,!this._resizeSession||this._viewOnly||!this._supportsSetDesktopSize)return;var te=this._screenSize();Ie.messages.setDesktopSize(this._sock,Math.floor(te.w),Math.floor(te.h),this._screenID,this._screenFlags),f.Debug("Requested new desktop size: "+te.w+"x"+te.h)}},{key:"_screenSize",value:function(){var te=this._screen.getBoundingClientRect();return{w:te.width,h:te.height}}},{key:"_fixScrollbars",value:function(){var te=this._screen.style.overflow;this._screen.style.overflow="hidden",this._screen.getBoundingClientRect(),this._screen.style.overflow=te}},{key:"_updateConnectionState",value:function(te){var J=this,ve=this._rfbConnectionState;if(te===ve){f.Debug("Already in state '"+te+"', ignoring");return}if(ve==="disconnected"){f.Error("Tried changing state of a disconnected RFB object");return}switch(te){case"connected":if(ve!=="connecting"){f.Error("Bad transition to connected state, previous connection state: "+ve);return}break;case"disconnected":if(ve!=="disconnecting"){f.Error("Bad transition to disconnected state, previous connection state: "+ve);return}break;case"connecting":if(ve!==""){f.Error("Bad transition to connecting state, previous connection state: "+ve);return}break;case"disconnecting":if(ve!=="connected"&&ve!=="connecting"){f.Error("Bad transition to disconnecting state, previous connection state: "+ve);return}break;default:f.Error("Unknown connection state: "+te);return}this._rfbConnectionState=te,f.Debug("New state '"+te+"', was '"+ve+"'."),this._disconnTimer&&te!=="disconnecting"&&(f.Debug("Clearing disconnect timer"),clearTimeout(this._disconnTimer),this._disconnTimer=null,this._sock.off("close"));switch(te){case"connecting":this._connect();break;case"connected":this.dispatchEvent(new CustomEvent("connect",{detail:{}}));break;case"disconnecting":this._disconnect(),this._disconnTimer=setTimeout(function(){f.Error("Disconnection timed out."),J._updateConnectionState("disconnected")},B*1e3);break;case"disconnected":this.dispatchEvent(new CustomEvent("disconnect",{detail:{clean:this._rfbCleanDisconnect}}));break}}},{key:"_fail",value:function(te){switch(this._rfbConnectionState){case"disconnecting":f.Error("Failed when disconnecting: "+te);break;case"connected":f.Error("Failed while connected: "+te);break;case"connecting":f.Error("Failed when connecting: "+te);break;default:f.Error("RFB failure: "+te);break}return this._rfbCleanDisconnect=!1,this._updateConnectionState("disconnecting"),this._updateConnectionState("disconnected"),!1}},{key:"_setCapability",value:function(te,J){this._capabilities[te]=J,this.dispatchEvent(new CustomEvent("capabilities",{detail:{capabilities:this._capabilities}}))}},{key:"_handleMessage",value:function(){if(this._sock.rQlen===0){f.Warn("handleMessage called on an empty receive queue");return}switch(this._rfbConnectionState){case"disconnected":f.Error("Got data while disconnected");break;case"connected":for(;!this._flushing;){if(!this._normalMsg())break;if(this._sock.rQlen===0)break}break;default:this._initMsg();break}}},{key:"_handleKeyEvent",value:function(te,J,ve){this.sendKey(te,J,ve)}},{key:"_handleMouse",value:function(te){if(te.type==="click"&&te.target!==this._canvas)return;if(te.stopPropagation(),te.preventDefault(),te.type==="click"||te.type==="contextmenu")return;var J=(0,y.clientToElement)(te.clientX,te.clientY,this._canvas);switch(te.type){case"mousedown":(0,h.setCapture)(this._canvas),this._handleMouseButton(J.x,J.y,!0,1<<te.button);break;case"mouseup":this._handleMouseButton(J.x,J.y,!1,1<<te.button);break;case"mousemove":this._handleMouseMove(J.x,J.y);break}}},{key:"_handleMouseButton",value:function(te,J,ve,De){if(this.dragViewport)if(ve&&!this._viewportDragging){this._viewportDragging=!0,this._viewportDragPos={x:te,y:J},this._viewportHasMoved=!1;return}else{if(this._viewportDragging=!1,this._viewportHasMoved)return;this._sendMouse(te,J,De)}this._mouseMoveTimer!==null&&(clearTimeout(this._mouseMoveTimer),this._mouseMoveTimer=null,this._sendMouse(te,J,this._mouseButtonMask)),ve?this._mouseButtonMask|=De:this._mouseButtonMask&=~De,this._sendMouse(te,J,this._mouseButtonMask)}},{key:"_handleMouseMove",value:function(te,J){var ve=this;if(this._viewportDragging){var De=this._viewportDragPos.x-te,ze=this._viewportDragPos.y-J;(this._viewportHasMoved||Math.abs(De)>m.dragThreshold||Math.abs(ze)>m.dragThreshold)&&(this._viewportHasMoved=!0,this._viewportDragPos={x:te,y:J},this._display.viewportChangePos(De,ze));return}if(this._mousePos={x:te,y:J},this._mouseMoveTimer==null){var dt=Date.now()-this._mouseLastMoveTime;dt>K?(this._sendMouse(te,J,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()):this._mouseMoveTimer=setTimeout(function(){ve._handleDelayedMouseMove()},K-dt)}}},{key:"_handleDelayedMouseMove",value:function(){this._mouseMoveTimer=null,this._sendMouse(this._mousePos.x,this._mousePos.y,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()}},{key:"_sendMouse",value:function(te,J,ve){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;Ie.messages.pointerEvent(this._sock,this._display.absX(te),this._display.absY(J),ve)}},{key:"_handleWheel",value:function(te){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;te.stopPropagation(),te.preventDefault();var J=(0,y.clientToElement)(te.clientX,te.clientY,this._canvas),ve=te.deltaX,De=te.deltaY;te.deltaMode!==0&&(ve*=Q,De*=Q),this._accumulatedWheelDeltaX+=ve,this._accumulatedWheelDeltaY+=De,Math.abs(this._accumulatedWheelDeltaX)>=Y&&(this._accumulatedWheelDeltaX<0?(this._handleMouseButton(J.x,J.y,!0,1<<5),this._handleMouseButton(J.x,J.y,!1,1<<5)):this._accumulatedWheelDeltaX>0&&(this._handleMouseButton(J.x,J.y,!0,1<<6),this._handleMouseButton(J.x,J.y,!1,1<<6)),this._accumulatedWheelDeltaX=0),Math.abs(this._accumulatedWheelDeltaY)>=Y&&(this._accumulatedWheelDeltaY<0?(this._handleMouseButton(J.x,J.y,!0,1<<3),this._handleMouseButton(J.x,J.y,!1,1<<3)):this._accumulatedWheelDeltaY>0&&(this._handleMouseButton(J.x,J.y,!0,1<<4),this._handleMouseButton(J.x,J.y,!1,1<<4)),this._accumulatedWheelDeltaY=0)}},{key:"_fakeMouseMove",value:function(te,J,ve){this._handleMouseMove(J,ve),this._cursor.move(te.detail.clientX,te.detail.clientY)}},{key:"_handleTapEvent",value:function(te,J){var ve=(0,y.clientToElement)(te.detail.clientX,te.detail.clientY,this._canvas);if(this._gestureLastTapTime!==null&&Date.now()-this._gestureLastTapTime<ye&&this._gestureFirstDoubleTapEv.detail.type===te.detail.type){var De=this._gestureFirstDoubleTapEv.detail.clientX-te.detail.clientX,ze=this._gestureFirstDoubleTapEv.detail.clientY-te.detail.clientY,dt=Math.hypot(De,ze);dt<Ae?ve=(0,y.clientToElement)(this._gestureFirstDoubleTapEv.detail.clientX,this._gestureFirstDoubleTapEv.detail.clientY,this._canvas):this._gestureFirstDoubleTapEv=te}else this._gestureFirstDoubleTapEv=te;this._gestureLastTapTime=Date.now(),this._fakeMouseMove(this._gestureFirstDoubleTapEv,ve.x,ve.y),this._handleMouseButton(ve.x,ve.y,!0,J),this._handleMouseButton(ve.x,ve.y,!1,J)}},{key:"_handleGesture",value:function(te){var J,ve=(0,y.clientToElement)(te.detail.clientX,te.detail.clientY,this._canvas);switch(te.type){case"gesturestart":switch(te.detail.type){case"onetap":this._handleTapEvent(te,1);break;case"twotap":this._handleTapEvent(te,4);break;case"threetap":this._handleTapEvent(te,2);break;case"drag":this._fakeMouseMove(te,ve.x,ve.y),this._handleMouseButton(ve.x,ve.y,!0,1);break;case"longpress":this._fakeMouseMove(te,ve.x,ve.y),this._handleMouseButton(ve.x,ve.y,!0,4);break;case"twodrag":this._gestureLastMagnitudeX=te.detail.magnitudeX,this._gestureLastMagnitudeY=te.detail.magnitudeY,this._fakeMouseMove(te,ve.x,ve.y);break;case"pinch":this._gestureLastMagnitudeX=Math.hypot(te.detail.magnitudeX,te.detail.magnitudeY),this._fakeMouseMove(te,ve.x,ve.y);break}break;case"gesturemove":switch(te.detail.type){case"onetap":case"twotap":case"threetap":break;case"drag":case"longpress":this._fakeMouseMove(te,ve.x,ve.y);break;case"twodrag":for(this._fakeMouseMove(te,ve.x,ve.y);te.detail.magnitudeY-this._gestureLastMagnitudeY>G;)this._handleMouseButton(ve.x,ve.y,!0,8),this._handleMouseButton(ve.x,ve.y,!1,8),this._gestureLastMagnitudeY+=G;for(;te.detail.magnitudeY-this._gestureLastMagnitudeY<-G;)this._handleMouseButton(ve.x,ve.y,!0,16),this._handleMouseButton(ve.x,ve.y,!1,16),this._gestureLastMagnitudeY-=G;for(;te.detail.magnitudeX-this._gestureLastMagnitudeX>G;)this._handleMouseButton(ve.x,ve.y,!0,32),this._handleMouseButton(ve.x,ve.y,!1,32),this._gestureLastMagnitudeX+=G;for(;te.detail.magnitudeX-this._gestureLastMagnitudeX<-G;)this._handleMouseButton(ve.x,ve.y,!0,64),this._handleMouseButton(ve.x,ve.y,!1,64),this._gestureLastMagnitudeX-=G;break;case"pinch":if(this._fakeMouseMove(te,ve.x,ve.y),J=Math.hypot(te.detail.magnitudeX,te.detail.magnitudeY),Math.abs(J-this._gestureLastMagnitudeX)>he){for(this._handleKeyEvent(s.default.XK_Control_L,"ControlLeft",!0);J-this._gestureLastMagnitudeX>he;)this._handleMouseButton(ve.x,ve.y,!0,8),this._handleMouseButton(ve.x,ve.y,!1,8),this._gestureLastMagnitudeX+=he;for(;J-this._gestureLastMagnitudeX<-he;)this._handleMouseButton(ve.x,ve.y,!0,16),this._handleMouseButton(ve.x,ve.y,!1,16),this._gestureLastMagnitudeX-=he}this._handleKeyEvent(s.default.XK_Control_L,"ControlLeft",!1);break}break;case"gestureend":switch(te.detail.type){case"onetap":case"twotap":case"threetap":case"pinch":case"twodrag":break;case"drag":this._fakeMouseMove(te,ve.x,ve.y),this._handleMouseButton(ve.x,ve.y,!1,1);break;case"longpress":this._fakeMouseMove(te,ve.x,ve.y),this._handleMouseButton(ve.x,ve.y,!1,4);break}break}}},{key:"_negotiateProtocolVersion",value:function(){if(this._sock.rQwait("version",12))return!1;var te=this._sock.rQshiftStr(12).substr(4,7);f.Info("Server ProtocolVersion: "+te);var J=0;switch(te){case"000.000":J=1;break;case"003.003":case"003.006":case"003.889":this._rfbVersion=3.3;break;case"003.007":this._rfbVersion=3.7;break;case"003.008":case"004.000":case"004.001":case"005.000":this._rfbVersion=3.8;break;default:return this._fail("Invalid server version "+te)}if(J){for(var ve="ID:"+this._repeaterID;ve.length<250;)ve+="\0";return this._sock.sendString(ve),!0}this._rfbVersion>this._rfbMaxVersion&&(this._rfbVersion=this._rfbMaxVersion);var De="00"+parseInt(this._rfbVersion,10)+".00"+this._rfbVersion*10%10;this._sock.sendString("RFB "+De+`
`),f.Debug("Sent ProtocolVersion: "+De),this._rfbInitState="Security"}},{key:"_negotiateSecurity",value:function(){function te(De,ze){for(var dt=0;dt<ze.length;dt++)if(ze[dt]===De)return!0;return!1}if(this._rfbVersion>=3.7){var J=this._sock.rQshift8();if(this._sock.rQwait("security type",J,1))return!1;if(J===0)return this._rfbInitState="SecurityReason",this._securityContext="no security types",this._securityStatus=1,this._initMsg();var ve=this._sock.rQshiftBytes(J);if(f.Debug("Server security types: "+ve),te(1,ve))this._rfbAuthScheme=1;else if(te(22,ve))this._rfbAuthScheme=22;else if(te(16,ve))this._rfbAuthScheme=16;else if(te(2,ve))this._rfbAuthScheme=2;else if(te(19,ve))this._rfbAuthScheme=19;else return this._fail("Unsupported security types (types: "+ve+")");this._sock.send([this._rfbAuthScheme])}else{if(this._sock.rQwait("security scheme",4))return!1;if(this._rfbAuthScheme=this._sock.rQshift32(),this._rfbAuthScheme==0)return this._rfbInitState="SecurityReason",this._securityContext="authentication scheme",this._securityStatus=1,this._initMsg()}return this._rfbInitState="Authentication",f.Debug("Authenticating using scheme: "+this._rfbAuthScheme),this._initMsg()}},{key:"_handleSecurityReason",value:function(){if(this._sock.rQwait("reason length",4))return!1;var te=this._sock.rQshift32(),J="";if(te>0){if(this._sock.rQwait("reason",te,4))return!1;J=this._sock.rQshiftStr(te)}return J!==""?(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus,reason:J}})),this._fail("Security negotiation failed on "+this._securityContext+" (reason: "+J+")")):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus}})),this._fail("Security negotiation failed on "+this._securityContext))}},{key:"_negotiateXvpAuth",value:function(){if(this._rfbCredentials.username===void 0||this._rfbCredentials.password===void 0||this._rfbCredentials.target===void 0)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password","target"]}})),!1;var te=String.fromCharCode(this._rfbCredentials.username.length)+String.fromCharCode(this._rfbCredentials.target.length)+this._rfbCredentials.username+this._rfbCredentials.target;return this._sock.sendString(te),this._rfbAuthScheme=2,this._negotiateAuthentication()}},{key:"_negotiateVeNCryptAuth",value:function(){if(this._rfbVeNCryptState==0){if(this._sock.rQwait("vencrypt version",2))return!1;var te=this._sock.rQshift8(),J=this._sock.rQshift8();if(!(te==0&&J==2))return this._fail("Unsupported VeNCrypt version "+te+"."+J);this._sock.send([0,2]),this._rfbVeNCryptState=1}if(this._rfbVeNCryptState==1){if(this._sock.rQwait("vencrypt ack",1))return!1;var ve=this._sock.rQshift8();if(ve!=0)return this._fail("VeNCrypt failure "+ve);this._rfbVeNCryptState=2}if(this._rfbVeNCryptState==2){if(this._sock.rQwait("vencrypt subtypes length",1))return!1;var De=this._sock.rQshift8();if(De<1)return this._fail("VeNCrypt subtypes empty");this._rfbVeNCryptSubtypesLength=De,this._rfbVeNCryptState=3}if(this._rfbVeNCryptState==3){if(this._sock.rQwait("vencrypt subtypes",4*this._rfbVeNCryptSubtypesLength))return!1;for(var ze=[],dt=0;dt<this._rfbVeNCryptSubtypesLength;dt++)ze.push(this._sock.rQshift32());if(ze.indexOf(256)!=-1)this._sock.send([0,0,1,0]),this._rfbVeNCryptState=4;else return this._fail("VeNCrypt Plain subtype not offered by server")}if(this._rfbVeNCryptState==4){if(!this._rfbCredentials.username||!this._rfbCredentials.password)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password"]}})),!1;var Me=(0,b.encodeUTF8)(this._rfbCredentials.username),Tt=(0,b.encodeUTF8)(this._rfbCredentials.password);return this._sock.send([0,0,0,Me.length]),this._sock.send([0,0,0,Tt.length]),this._sock.sendString(Me),this._sock.sendString(Tt),this._rfbInitState="SecurityResult",!0}}},{key:"_negotiateStdVNCAuth",value:function(){if(this._sock.rQwait("auth challenge",16))return!1;if(this._rfbCredentials.password===void 0)return this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["password"]}})),!1;var te=Array.prototype.slice.call(this._sock.rQshiftBytes(16)),J=Ie.genDES(this._rfbCredentials.password,te);return this._sock.send(J),this._rfbInitState="SecurityResult",!0}},{key:"_negotiateTightUnixAuth",value:function(){return this._rfbCredentials.username===void 0||this._rfbCredentials.password===void 0?(this.dispatchEvent(new CustomEvent("credentialsrequired",{detail:{types:["username","password"]}})),!1):(this._sock.send([0,0,0,this._rfbCredentials.username.length]),this._sock.send([0,0,0,this._rfbCredentials.password.length]),this._sock.sendString(this._rfbCredentials.username),this._sock.sendString(this._rfbCredentials.password),this._rfbInitState="SecurityResult",!0)}},{key:"_negotiateTightTunnels",value:function(te){for(var J={0:{vendor:"TGHT",signature:"NOTUNNEL"}},ve={},De=0;De<te;De++){var ze=this._sock.rQshift32(),dt=this._sock.rQshiftStr(4),Me=this._sock.rQshiftStr(8);ve[ze]={vendor:dt,signature:Me}}return f.Debug("Server Tight tunnel types: "+ve),ve[1]&&ve[1].vendor==="SICR"&&ve[1].signature==="SCHANNEL"&&(f.Debug("Detected Siemens server. Assuming NOTUNNEL support."),ve[0]={vendor:"TGHT",signature:"NOTUNNEL"}),ve[0]?ve[0].vendor!=J[0].vendor||ve[0].signature!=J[0].signature?this._fail("Client's tunnel type had the incorrect vendor or signature"):(f.Debug("Selected tunnel type: "+J[0]),this._sock.send([0,0,0,0]),!1):this._fail("Server wanted tunnels, but doesn't support the notunnel type")}},{key:"_negotiateTightAuth",value:function(){if(!this._rfbTightVNC){if(this._sock.rQwait("num tunnels",4))return!1;var te=this._sock.rQshift32();if(te>0&&this._sock.rQwait("tunnel capabilities",16*te,4))return!1;if(this._rfbTightVNC=!0,te>0)return this._negotiateTightTunnels(te),!1}if(this._sock.rQwait("sub auth count",4))return!1;var J=this._sock.rQshift32();if(J===0)return this._rfbInitState="SecurityResult",!0;if(this._sock.rQwait("sub auth capabilities",16*J,4))return!1;for(var ve={STDVNOAUTH__:1,STDVVNCAUTH_:2,TGHTULGNAUTH:129},De=[],ze=0;ze<J;ze++){this._sock.rQshift32();var dt=this._sock.rQshiftStr(12);De.push(dt)}f.Debug("Server Tight authentication types: "+De);for(var Me in ve)if(De.indexOf(Me)!=-1){this._sock.send([0,0,0,ve[Me]]),f.Debug("Selected authentication type: "+Me);switch(Me){case"STDVNOAUTH__":return this._rfbInitState="SecurityResult",!0;case"STDVVNCAUTH_":return this._rfbAuthScheme=2,this._initMsg();case"TGHTULGNAUTH":return this._rfbAuthScheme=129,this._initMsg();default:return this._fail("Unsupported tiny auth scheme (scheme: "+Me+")")}}return this._fail("No supported sub-auth types!")}},{key:"_negotiateAuthentication",value:function(){switch(this._rfbAuthScheme){case 1:return this._rfbVersion>=3.8?(this._rfbInitState="SecurityResult",!0):(this._rfbInitState="ClientInitialisation",this._initMsg());case 22:return this._negotiateXvpAuth();case 2:return this._negotiateStdVNCAuth();case 16:return this._negotiateTightAuth();case 19:return this._negotiateVeNCryptAuth();case 129:return this._negotiateTightUnixAuth();default:return this._fail("Unsupported auth scheme (scheme: "+this._rfbAuthScheme+")")}}},{key:"_handleSecurityResult",value:function(){if(this._sock.rQwait("VNC auth response ",4))return!1;var te=this._sock.rQshift32();return te===0?(this._rfbInitState="ClientInitialisation",f.Debug("Authentication OK"),this._initMsg()):this._rfbVersion>=3.8?(this._rfbInitState="SecurityReason",this._securityContext="security result",this._securityStatus=te,this._initMsg()):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:te}})),this._fail("Security handshake failed"))}},{key:"_negotiateServerInit",value:function(){if(this._sock.rQwait("server initialization",24))return!1;var te=this._sock.rQshift16(),J=this._sock.rQshift16(),ve=this._sock.rQshift8(),De=this._sock.rQshift8(),ze=this._sock.rQshift8(),dt=this._sock.rQshift8(),Me=this._sock.rQshift16(),Tt=this._sock.rQshift16(),je=this._sock.rQshift16(),st=this._sock.rQshift8(),Xe=this._sock.rQshift8(),Je=this._sock.rQshift8();this._sock.rQskipBytes(3);var et=this._sock.rQshift32();if(this._sock.rQwait("server init name",et,24))return!1;var ot=this._sock.rQshiftStr(et);if(ot=(0,b.decodeUTF8)(ot,!0),this._rfbTightVNC){if(this._sock.rQwait("TightVNC extended server init header",8,24+et))return!1;var Ve=this._sock.rQshift16(),ue=this._sock.rQshift16(),ae=this._sock.rQshift16();this._sock.rQskipBytes(2);var lt=(Ve+ue+ae)*16;if(this._sock.rQwait("TightVNC extended server init header",lt,32+et))return!1;this._sock.rQskipBytes(16*Ve),this._sock.rQskipBytes(16*ue),this._sock.rQskipBytes(16*ae)}return f.Info("Screen: "+te+"x"+J+", bpp: "+ve+", depth: "+De+", bigEndian: "+ze+", trueColor: "+dt+", redMax: "+Me+", greenMax: "+Tt+", blueMax: "+je+", redShift: "+st+", greenShift: "+Xe+", blueShift: "+Je),this._setDesktopName(ot),this._resize(te,J),this._viewOnly||this._keyboard.grab(),this._fbDepth=24,this._fbName==="Intel(r) AMT KVM"&&(f.Warn("Intel AMT KVM only supports 8/16 bit depths. Using low color mode."),this._fbDepth=8),Ie.messages.pixelFormat(this._sock,this._fbDepth,!0),this._sendEncodings(),Ie.messages.fbUpdateRequest(this._sock,!1,0,0,this._fbWidth,this._fbHeight),this._updateConnectionState("connected"),!0}},{key:"_sendEncodings",value:function(){var te=[];te.push(p.encodings.encodingCopyRect),this._fbDepth==24&&(te.push(p.encodings.encodingTight),te.push(p.encodings.encodingTightPNG),te.push(p.encodings.encodingHextile),te.push(p.encodings.encodingRRE)),te.push(p.encodings.encodingRaw),te.push(p.encodings.pseudoEncodingQualityLevel0+this._qualityLevel),te.push(p.encodings.pseudoEncodingCompressLevel0+this._compressionLevel),te.push(p.encodings.pseudoEncodingDesktopSize),te.push(p.encodings.pseudoEncodingLastRect),te.push(p.encodings.pseudoEncodingQEMUExtendedKeyEvent),te.push(p.encodings.pseudoEncodingExtendedDesktopSize),te.push(p.encodings.pseudoEncodingXvp),te.push(p.encodings.pseudoEncodingFence),te.push(p.encodings.pseudoEncodingContinuousUpdates),te.push(p.encodings.pseudoEncodingDesktopName),te.push(p.encodings.pseudoEncodingExtendedClipboard),this._fbDepth==24&&(te.push(p.encodings.pseudoEncodingVMwareCursor),te.push(p.encodings.pseudoEncodingCursor)),Ie.messages.clientEncodings(this._sock,te)}},{key:"_initMsg",value:function(){switch(this._rfbInitState){case"ProtocolVersion":return this._negotiateProtocolVersion();case"Security":return this._negotiateSecurity();case"Authentication":return this._negotiateAuthentication();case"SecurityResult":return this._handleSecurityResult();case"SecurityReason":return this._handleSecurityReason();case"ClientInitialisation":return this._sock.send([this._shared?1:0]),this._rfbInitState="ServerInitialisation",!0;case"ServerInitialisation":return this._negotiateServerInit();default:return this._fail("Unknown init state (state: "+this._rfbInitState+")")}}},{key:"_handleSetColourMapMsg",value:function(){return f.Debug("SetColorMapEntries"),this._fail("Unexpected SetColorMapEntries message")}},{key:"_handleServerCutText",value:function(){if(f.Debug("ServerCutText"),this._sock.rQwait("ServerCutText header",7,1))return!1;this._sock.rQskipBytes(3);var te=this._sock.rQshift32();if(te=(0,g.toSigned32bit)(te),this._sock.rQwait("ServerCutText content",Math.abs(te),8))return!1;if(te>=0){var J=this._sock.rQshiftStr(te);if(this._viewOnly)return!0;this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:J}}))}else{te=Math.abs(te);var ve=this._sock.rQshift32(),De=ve&65535,ze=ve&4278190080,dt=!!(ze&be);if(dt){this._clipboardServerCapabilitiesFormats={},this._clipboardServerCapabilitiesActions={};for(var Me=0;Me<=15;Me++){var Tt=1<<Me;De&Tt&&(this._clipboardServerCapabilitiesFormats[Tt]=!0,this._sock.rQshift32())}for(var je=24;je<=31;je++){var st=1<<je;this._clipboardServerCapabilitiesActions[st]=!!(ze&st)}var Xe=[be,at,se,q,X];Ie.messages.extendedClipboardCaps(this._sock,Xe,{extendedClipboardFormatText:0})}else if(ze===at){if(this._viewOnly)return!0;this._clipboardText!=null&&this._clipboardServerCapabilitiesActions[X]&&(De&ge&&Ie.messages.extendedClipboardProvide(this._sock,[ge],[this._clipboardText]))}else if(ze===se){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[q]&&(this._clipboardText!=null?Ie.messages.extendedClipboardNotify(this._sock,[ge]):Ie.messages.extendedClipboardNotify(this._sock,[]))}else if(ze===q){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[at]&&(De&ge&&Ie.messages.extendedClipboardRequest(this._sock,[ge]))}else if(ze===X){if(this._viewOnly)return!0;if(!(De&ge))return!0;this._clipboardText=null;var Je=this._sock.rQshiftBytes(te-4),et=new a.default,ot=null;et.setInput(Je);for(var Ve=0;Ve<=15;Ve++){var ue=1<<Ve;if(De&ue){var ae=0,lt=et.inflate(4);ae|=lt[0]<<24,ae|=lt[1]<<16,ae|=lt[2]<<8,ae|=lt[3];var Ze=et.inflate(ae);ue===ge&&(ot=Ze)}}if(et.setInput(null),ot!==null){for(var Te="",Jt=0;Jt<ot.length;Jt++)Te+=String.fromCharCode(ot[Jt]);ot=Te,ot=(0,b.decodeUTF8)(ot),ot.length>0&&ot.charAt(ot.length-1)==="\0"&&(ot=ot.slice(0,-1)),ot=ot.replace(`\r
`,`
`),this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:ot}}))}}else return this._fail("Unexpected action in extended clipboard message: "+ze)}return!0}},{key:"_handleServerFenceMsg",value:function(){if(this._sock.rQwait("ServerFence header",8,1))return!1;this._sock.rQskipBytes(3);var te=this._sock.rQshift32(),J=this._sock.rQshift8();if(this._sock.rQwait("ServerFence payload",J,9))return!1;J>64&&(f.Warn("Bad payload length ("+J+") in fence response"),J=64);var ve=this._sock.rQshiftStr(J);return this._supportsFence=!0,te&1<<31?(te&=1<<0|1<<1,Ie.messages.clientFence(this._sock,te,ve),!0):this._fail("Unexpected fence response")}},{key:"_handleXvpMsg",value:function(){if(this._sock.rQwait("XVP version and message",3,1))return!1;this._sock.rQskipBytes(1);var te=this._sock.rQshift8(),J=this._sock.rQshift8();switch(J){case 0:f.Error("XVP Operation Failed");break;case 1:this._rfbXvpVer=te,f.Info("XVP extensions enabled (version "+this._rfbXvpVer+")"),this._setCapability("power",!0);break;default:this._fail("Illegal server XVP message (msg: "+J+")");break}return!0}},{key:"_normalMsg",value:function(){var te;this._FBU.rects>0?te=0:te=this._sock.rQshift8();var J,ve;switch(te){case 0:return ve=this._framebufferUpdate(),ve&&!this._enabledContinuousUpdates&&Ie.messages.fbUpdateRequest(this._sock,!0,0,0,this._fbWidth,this._fbHeight),ve;case 1:return this._handleSetColourMapMsg();case 2:return f.Debug("Bell"),this.dispatchEvent(new CustomEvent("bell",{detail:{}})),!0;case 3:return this._handleServerCutText();case 150:return J=!this._supportsContinuousUpdates,this._supportsContinuousUpdates=!0,this._enabledContinuousUpdates=!1,J&&(this._enabledContinuousUpdates=!0,this._updateContinuousUpdates(),f.Info("Enabling continuous updates.")),!0;case 248:return this._handleServerFenceMsg();case 250:return this._handleXvpMsg();default:return this._fail("Unexpected server message (type "+te+")"),f.Debug("sock.rQslice(0, 30): "+this._sock.rQslice(0,30)),!0}}},{key:"_onFlush",value:function(){this._flushing=!1,this._sock.rQlen>0&&this._handleMessage()}},{key:"_framebufferUpdate",value:function(){if(this._FBU.rects===0){if(this._sock.rQwait("FBU header",3,1))return!1;if(this._sock.rQskipBytes(1),this._FBU.rects=this._sock.rQshift16(),this._display.pending())return this._flushing=!0,this._display.flush(),!1}for(;this._FBU.rects>0;){if(this._FBU.encoding===null){if(this._sock.rQwait("rect header",12))return!1;var te=this._sock.rQshiftBytes(12);this._FBU.x=(te[0]<<8)+te[1],this._FBU.y=(te[2]<<8)+te[3],this._FBU.width=(te[4]<<8)+te[5],this._FBU.height=(te[6]<<8)+te[7],this._FBU.encoding=parseInt((te[8]<<24)+(te[9]<<16)+(te[10]<<8)+te[11],10)}if(!this._handleRect())return!1;this._FBU.rects--,this._FBU.encoding=null}return this._display.flip(),!0}},{key:"_handleRect",value:function(){switch(this._FBU.encoding){case p.encodings.pseudoEncodingLastRect:return this._FBU.rects=1,!0;case p.encodings.pseudoEncodingVMwareCursor:return this._handleVMwareCursor();case p.encodings.pseudoEncodingCursor:return this._handleCursor();case p.encodings.pseudoEncodingQEMUExtendedKeyEvent:try{var te=document.createEvent("keyboardEvent");te.code!==void 0&&(this._qemuExtKeyEventSupported=!0)}catch(J){}return!0;case p.encodings.pseudoEncodingDesktopName:return this._handleDesktopName();case p.encodings.pseudoEncodingDesktopSize:return this._resize(this._FBU.width,this._FBU.height),!0;case p.encodings.pseudoEncodingExtendedDesktopSize:return this._handleExtendedDesktopSize();default:return this._handleDataRect()}}},{key:"_handleVMwareCursor",value:function(){var te=this._FBU.x,J=this._FBU.y,ve=this._FBU.width,De=this._FBU.height;if(this._sock.rQwait("VMware cursor encoding",1))return!1;var ze=this._sock.rQshift8();this._sock.rQshift8();var dt,Me=4;if(ze==0){var Tt=4294967040|0;if(dt=new Array(ve*De*Me),this._sock.rQwait("VMware cursor classic encoding",ve*De*Me*2,2))return!1;for(var je=new Array(ve*De),st=0;st<ve*De;st++)je[st]=this._sock.rQshift32();for(var Xe=new Array(ve*De),Je=0;Je<ve*De;Je++)Xe[Je]=this._sock.rQshift32();for(var et=0;et<ve*De;et++)if(je[et]==0){var ot=Xe[et],Ve=ot>>8&255,ue=ot>>16&255,ae=ot>>24&255;dt[et*Me]=Ve,dt[et*Me+1]=ue,dt[et*Me+2]=ae,dt[et*Me+3]=255}else(je[et]&Tt)==Tt?Xe[et]==0?(dt[et*Me]=0,dt[et*Me+1]=0,dt[et*Me+2]=0,dt[et*Me+3]=0):((Xe[et]&Tt)==Tt,dt[et*Me]=0,dt[et*Me+1]=0,dt[et*Me+2]=0,dt[et*Me+3]=255):(dt[et*Me]=0,dt[et*Me+1]=0,dt[et*Me+2]=0,dt[et*Me+3]=255)}else if(ze==1){if(this._sock.rQwait("VMware cursor alpha encoding",ve*De*4,2))return!1;dt=new Array(ve*De*Me);for(var lt=0;lt<ve*De;lt++){var Ze=this._sock.rQshift32();dt[lt*4]=Ze>>24&255,dt[lt*4+1]=Ze>>16&255,dt[lt*4+2]=Ze>>8&255,dt[lt*4+3]=Ze&255}}else return f.Warn("The given cursor type is not supported: "+ze+" given."),!1;return this._updateCursor(dt,te,J,ve,De),!0}},{key:"_handleCursor",value:function(){var te=this._FBU.x,J=this._FBU.y,ve=this._FBU.width,De=this._FBU.height,ze=ve*De*4,dt=Math.ceil(ve/8)*De,Me=ze+dt;if(this._sock.rQwait("cursor encoding",Me))return!1;for(var Tt=this._sock.rQshiftBytes(ze),je=this._sock.rQshiftBytes(dt),st=new Uint8Array(ve*De*4),Xe=0,Je=0;Je<De;Je++)for(var et=0;et<ve;et++){var ot=Je*Math.ceil(ve/8)+Math.floor(et/8),Ve=je[ot]<<et%8&128?255:0;st[Xe]=Tt[Xe+2],st[Xe+1]=Tt[Xe+1],st[Xe+2]=Tt[Xe],st[Xe+3]=Ve,Xe+=4}return this._updateCursor(st,te,J,ve,De),!0}},{key:"_handleDesktopName",value:function(){if(this._sock.rQwait("DesktopName",4))return!1;var te=this._sock.rQshift32();if(this._sock.rQwait("DesktopName",te,4))return!1;var J=this._sock.rQshiftStr(te);return J=(0,b.decodeUTF8)(J,!0),this._setDesktopName(J),!0}},{key:"_handleExtendedDesktopSize",value:function(){if(this._sock.rQwait("ExtendedDesktopSize",4))return!1;var te=this._sock.rQpeek8(),J=4+te*16;if(this._sock.rQwait("ExtendedDesktopSize",J))return!1;var ve=!this._supportsSetDesktopSize;this._supportsSetDesktopSize=!0,ve&&this._requestRemoteResize(),this._sock.rQskipBytes(1),this._sock.rQskipBytes(3);for(var De=0;De<te;De+=1)De===0?(this._screenID=this._sock.rQshiftBytes(4),this._sock.rQskipBytes(2),this._sock.rQskipBytes(2),this._sock.rQskipBytes(2),this._sock.rQskipBytes(2),this._screenFlags=this._sock.rQshiftBytes(4)):this._sock.rQskipBytes(16);if(this._FBU.x===1&&this._FBU.y!==0){var ze="";switch(this._FBU.y){case 1:ze="Resize is administratively prohibited";break;case 2:ze="Out of resources";break;case 3:ze="Invalid screen layout";break;default:ze="Unknown reason";break}f.Warn("Server did not accept the resize request: "+ze)}else this._resize(this._FBU.width,this._FBU.height);return!0}},{key:"_handleDataRect",value:function(){var te=this._decoders[this._FBU.encoding];if(!te)return this._fail("Unsupported encoding (encoding: "+this._FBU.encoding+")"),!1;try{return te.decodeRect(this._FBU.x,this._FBU.y,this._FBU.width,this._FBU.height,this._sock,this._display,this._fbDepth)}catch(J){return this._fail("Error decoding rect: "+J),!1}}},{key:"_updateContinuousUpdates",value:function(){if(!this._enabledContinuousUpdates)return;Ie.messages.enableContinuousUpdates(this._sock,!0,0,0,this._fbWidth,this._fbHeight)}},{key:"_resize",value:function(te,J){this._fbWidth=te,this._fbHeight=J,this._display.resize(this._fbWidth,this._fbHeight),this._updateClip(),this._updateScale(),this._updateContinuousUpdates()}},{key:"_xvpOp",value:function(te,J){if(this._rfbXvpVer<te)return;f.Info("Sending XVP operation "+J+" (version "+te+")"),Ie.messages.xvpOp(this._sock,te,J)}},{key:"_updateCursor",value:function(te,J,ve,De,ze){this._cursorImage={rgbaPixels:te,hotx:J,hoty:ve,w:De,h:ze},this._refreshCursor()}},{key:"_shouldShowDotCursor",value:function(){if(!this._showDotCursor)return!1;for(var te=3;te<this._cursorImage.rgbaPixels.length;te+=4)if(this._cursorImage.rgbaPixels[te])return!1;return!0}},{key:"_refreshCursor",value:function(){if(this._rfbConnectionState!=="connecting"&&this._rfbConnectionState!=="connected")return;var te=this._shouldShowDotCursor()?Ie.cursors.dot:this._cursorImage;this._cursor.change(te.rgbaPixels,te.hotx,te.hoty,te.w,te.h)}},{key:"viewOnly",get:function(){return this._viewOnly},set:function(te){this._viewOnly=te,(this._rfbConnectionState==="connecting"||this._rfbConnectionState==="connected")&&(te?this._keyboard.ungrab():this._keyboard.grab())}},{key:"capabilities",get:function(){return this._capabilities}},{key:"touchButton",get:function(){return 0},set:function(te){f.Warn("Using old API!")}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(te){this._clipViewport=te,this._updateClip()}},{key:"scaleViewport",get:function(){return this._scaleViewport},set:function(te){this._scaleViewport=te,te&&this._clipViewport&&this._updateClip(),this._updateScale(),!te&&this._clipViewport&&this._updateClip()}},{key:"resizeSession",get:function(){return this._resizeSession},set:function(te){this._resizeSession=te,te&&this._requestRemoteResize()}},{key:"showDotCursor",get:function(){return this._showDotCursor},set:function(te){this._showDotCursor=te,this._refreshCursor()}},{key:"background",get:function(){return this._screen.style.background},set:function(te){this._screen.style.background=te}},{key:"qualityLevel",get:function(){return this._qualityLevel},set:function(te){if(!Number.isInteger(te)||te<0||te>9){f.Error("qualityLevel must be an integer between 0 and 9");return}if(this._qualityLevel===te)return;this._qualityLevel=te,this._rfbConnectionState==="connected"&&this._sendEncodings()}},{key:"compressionLevel",get:function(){return this._compressionLevel},set:function(te){if(!Number.isInteger(te)||te<0||te>9){f.Error("compressionLevel must be an integer between 0 and 9");return}if(this._compressionLevel===te)return;this._compressionLevel=te,this._rfbConnectionState==="connected"&&this._sendEncodings()}}],[{key:"genDES",value:function(te,J){var ve=te.split("").map(function(De){return De.charCodeAt(0)});return new t.default(ve).encrypt(J)}}]),Ie}(u.default);I.default=Z,Z.messages={keyEvent:function(oe,Ie,fe){var te=oe._sQ,J=oe._sQlen;te[J]=4,te[J+1]=fe,te[J+2]=0,te[J+3]=0,te[J+4]=Ie>>24,te[J+5]=Ie>>16,te[J+6]=Ie>>8,te[J+7]=Ie,oe._sQlen+=8,oe.flush()},QEMUExtendedKeyEvent:function(oe,Ie,fe,te){function J(dt){var Me=te>>8,Tt=te&255;return Me===224&&Tt<127?Tt|128:dt}var ve=oe._sQ,De=oe._sQlen;ve[De]=255,ve[De+1]=0,ve[De+2]=fe>>8,ve[De+3]=fe,ve[De+4]=Ie>>24,ve[De+5]=Ie>>16,ve[De+6]=Ie>>8,ve[De+7]=Ie;var ze=J(te);ve[De+8]=ze>>24,ve[De+9]=ze>>16,ve[De+10]=ze>>8,ve[De+11]=ze,oe._sQlen+=12,oe.flush()},pointerEvent:function(oe,Ie,fe,te){var J=oe._sQ,ve=oe._sQlen;J[ve]=5,J[ve+1]=te,J[ve+2]=Ie>>8,J[ve+3]=Ie,J[ve+4]=fe>>8,J[ve+5]=fe,oe._sQlen+=6,oe.flush()},_buildExtendedClipboardFlags:function(oe,Ie){for(var fe=new Uint8Array(4),te=0,J=0,ve=0;ve<oe.length;ve++)J|=oe[ve];for(var De=0;De<Ie.length;De++)te|=Ie[De];return fe[0]=J>>24,fe[1]=0,fe[2]=0,fe[3]=te,fe},extendedClipboardProvide:function(oe,Ie,fe){for(var te=new r.default,J=[],ve=0;ve<Ie.length;ve++){if(Ie[ve]!=ge)throw new Error("Unsupported extended clipboard format for Provide message.");fe[ve]=fe[ve].replace(/\r\n|\r|\n/gm,`\r
`);var De=(0,b.encodeUTF8)(fe[ve]+"\0");J.push(De.length>>24&255,De.length>>16&255,De.length>>8&255,De.length&255);for(var ze=0;ze<De.length;ze++)J.push(De.charCodeAt(ze))}var dt=te.deflate(new Uint8Array(J)),Me=new Uint8Array(4+dt.length);Me.set(Z.messages._buildExtendedClipboardFlags([X],Ie)),Me.set(dt,4),Z.messages.clientCutText(oe,Me,!0)},extendedClipboardNotify:function(oe,Ie){var fe=Z.messages._buildExtendedClipboardFlags([q],Ie);Z.messages.clientCutText(oe,fe,!0)},extendedClipboardRequest:function(oe,Ie){var fe=Z.messages._buildExtendedClipboardFlags([at],Ie);Z.messages.clientCutText(oe,fe,!0)},extendedClipboardCaps:function(oe,Ie,fe){var te=Object.keys(fe),J=new Uint8Array(4+4*te.length);te.map(function(ze){return parseInt(ze)}),te.sort(function(ze,dt){return ze-dt}),J.set(Z.messages._buildExtendedClipboardFlags(Ie,[]));for(var ve=4,De=0;De<te.length;De++)J[ve]=fe[te[De]]>>24,J[ve+1]=fe[te[De]]>>16,J[ve+2]=fe[te[De]]>>8,J[ve+3]=fe[te[De]]>>0,ve+=4,J[3]|=1<<te[De];Z.messages.clientCutText(oe,J,!0)},clientCutText:function(oe,Ie){var fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,te=oe._sQ,J=oe._sQlen;te[J]=6,te[J+1]=0,te[J+2]=0,te[J+3]=0;var ve;fe?ve=(0,g.toUnsigned32bit)(-Ie.length):ve=Ie.length,te[J+4]=ve>>24,te[J+5]=ve>>16,te[J+6]=ve>>8,te[J+7]=ve,oe._sQlen+=8;for(var De=0,ze=Ie.length;ze>0;){for(var dt=Math.min(ze,oe._sQbufferSize-oe._sQlen),Me=0;Me<dt;Me++)te[oe._sQlen+Me]=Ie[De+Me];oe._sQlen+=dt,oe.flush(),ze-=dt,De+=dt}},setDesktopSize:function(oe,Ie,fe,te,J){var ve=oe._sQ,De=oe._sQlen;ve[De]=251,ve[De+1]=0,ve[De+2]=Ie>>8,ve[De+3]=Ie,ve[De+4]=fe>>8,ve[De+5]=fe,ve[De+6]=1,ve[De+7]=0,ve[De+8]=te>>24,ve[De+9]=te>>16,ve[De+10]=te>>8,ve[De+11]=te,ve[De+12]=0,ve[De+13]=0,ve[De+14]=0,ve[De+15]=0,ve[De+16]=Ie>>8,ve[De+17]=Ie,ve[De+18]=fe>>8,ve[De+19]=fe,ve[De+20]=J>>24,ve[De+21]=J>>16,ve[De+22]=J>>8,ve[De+23]=J,oe._sQlen+=24,oe.flush()},clientFence:function(oe,Ie,fe){var te=oe._sQ,J=oe._sQlen;te[J]=248,te[J+1]=0,te[J+2]=0,te[J+3]=0,te[J+4]=Ie>>24,te[J+5]=Ie>>16,te[J+6]=Ie>>8,te[J+7]=Ie;var ve=fe.length;te[J+8]=ve;for(var De=0;De<ve;De++)te[J+9+De]=fe.charCodeAt(De);oe._sQlen+=9+ve,oe.flush()},enableContinuousUpdates:function(oe,Ie,fe,te,J,ve){var De=oe._sQ,ze=oe._sQlen;De[ze]=150,De[ze+1]=Ie,De[ze+2]=fe>>8,De[ze+3]=fe,De[ze+4]=te>>8,De[ze+5]=te,De[ze+6]=J>>8,De[ze+7]=J,De[ze+8]=ve>>8,De[ze+9]=ve,oe._sQlen+=10,oe.flush()},pixelFormat:function(oe,Ie,fe){var te=oe._sQ,J=oe._sQlen,ve;Ie>16?ve=32:Ie>8?ve=16:ve=8;var De=Math.floor(Ie/3);te[J]=0,te[J+1]=0,te[J+2]=0,te[J+3]=0,te[J+4]=ve,te[J+5]=Ie,te[J+6]=0,te[J+7]=fe?1:0,te[J+8]=0,te[J+9]=(1<<De)-1,te[J+10]=0,te[J+11]=(1<<De)-1,te[J+12]=0,te[J+13]=(1<<De)-1,te[J+14]=De*2,te[J+15]=De*1,te[J+16]=De*0,te[J+17]=0,te[J+18]=0,te[J+19]=0,oe._sQlen+=20,oe.flush()},clientEncodings:function(oe,Ie){var fe=oe._sQ,te=oe._sQlen;fe[te]=2,fe[te+1]=0,fe[te+2]=Ie.length>>8,fe[te+3]=Ie.length;for(var J=te+4,ve=0;ve<Ie.length;ve++){var De=Ie[ve];fe[J]=De>>24,fe[J+1]=De>>16,fe[J+2]=De>>8,fe[J+3]=De,J+=4}oe._sQlen+=J-te,oe.flush()},fbUpdateRequest:function(oe,Ie,fe,te,J,ve){var De=oe._sQ,ze=oe._sQlen;typeof fe=="undefined"&&(fe=0),typeof te=="undefined"&&(te=0),De[ze]=3,De[ze+1]=Ie?1:0,De[ze+2]=fe>>8&255,De[ze+3]=fe&255,De[ze+4]=te>>8&255,De[ze+5]=te&255,De[ze+6]=J>>8&255,De[ze+7]=J&255,De[ze+8]=ve>>8&255,De[ze+9]=ve&255,oe._sQlen+=10,oe.flush()},xvpOp:function(oe,Ie,fe){var te=oe._sQ,J=oe._sQlen;te[J]=250,te[J+1]=0,te[J+2]=Ie,te[J+3]=fe,oe._sQlen+=4,oe.flush()}},Z.cursors={none:{rgbaPixels:new Uint8Array,w:0,h:0,hotx:0,hoty:0},dot:{rgbaPixels:new Uint8Array([255,255,255,255,0,0,0,255,255,255,255,255,0,0,0,255,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,255,255,255,255,255]),w:3,h:3,hotx:1,hoty:1}}},"1eCo":function(R,I,e){(function(g){g(e("VrN/"))})(function(g){"use strict";var f={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},b={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};g.defineMode("xml",function(m,y){var h=m.indentUnit,u={},i=y.htmlMode?f:b;for(var a in i)u[a]=i[a];for(var a in y)u[a]=y[a];var r,o;function d(L,M){function F(W){return M.tokenize=W,W(L,M)}var U=L.next();if(U=="<")return L.eat("!")?L.eat("[")?L.match("CDATA[")?F(t("atom","]]>")):null:L.match("--")?F(t("comment","-->")):L.match("DOCTYPE",!0,!0)?(L.eatWhile(/[\w\._\-]/),F(s(1))):null:L.eat("?")?(L.eatWhile(/[\w\._\-]/),M.tokenize=t("meta","?>"),"meta"):(r=L.eat("/")?"closeTag":"openTag",M.tokenize=n,"tag bracket");if(U=="&"){var z;return L.eat("#")?L.eat("x")?z=L.eatWhile(/[a-fA-F\d]/)&&L.eat(";"):z=L.eatWhile(/[\d]/)&&L.eat(";"):z=L.eatWhile(/[\w\.\-:]/)&&L.eat(";"),z?"atom":"error"}else return L.eatWhile(/[^&<]/),null}d.isInText=!0;function n(L,M){var F=L.next();if(F==">"||F=="/"&&L.eat(">"))return M.tokenize=d,r=F==">"?"endTag":"selfcloseTag","tag bracket";if(F=="=")return r="equals",null;if(F=="<"){M.tokenize=d,M.state=w,M.tagName=M.tagStart=null;var U=M.tokenize(L,M);return U?U+" tag error":"tag error"}else return/[\'\"]/.test(F)?(M.tokenize=l(F),M.stringStartCol=L.column(),M.tokenize(L,M)):(L.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function l(L){var M=function(U,z){for(;!U.eol();)if(U.next()==L){z.tokenize=n;break}return"string"};return M.isInAttribute=!0,M}function t(L,M){return function(F,U){for(;!F.eol();){if(F.match(M)){U.tokenize=d;break}F.next()}return L}}function s(L){return function(M,F){for(var U;(U=M.next())!=null;){if(U=="<")return F.tokenize=s(L+1),F.tokenize(M,F);if(U==">")if(L==1){F.tokenize=d;break}else return F.tokenize=s(L-1),F.tokenize(M,F)}return"meta"}}function c(L,M,F){this.prev=L.context,this.tagName=M,this.indent=L.indented,this.startOfLine=F,(u.doNotIndent.hasOwnProperty(M)||L.context&&L.context.noIndent)&&(this.noIndent=!0)}function p(L){L.context&&(L.context=L.context.prev)}function A(L,M){for(var F;;){if(!L.context)return;if(F=L.context.tagName,!u.contextGrabbers.hasOwnProperty(F)||!u.contextGrabbers[F].hasOwnProperty(M))return;p(L)}}function w(L,M,F){return L=="openTag"?(F.tagStart=M.column(),C):L=="closeTag"?x:w}function C(L,M,F){return L=="word"?(F.tagName=M.current(),o="tag",_):u.allowMissingTagName&&L=="endTag"?(o="tag bracket",_(L,M,F)):(o="error",C)}function x(L,M,F){if(L=="word"){var U=M.current();return F.context&&F.context.tagName!=U&&u.implicitlyClosed.hasOwnProperty(F.context.tagName)&&p(F),F.context&&F.context.tagName==U||u.matchClosing===!1?(o="tag",E):(o="tag error",T)}else return u.allowMissingTagName&&L=="endTag"?(o="tag bracket",E(L,M,F)):(o="error",T)}function E(L,M,F){return L!="endTag"?(o="error",E):(p(F),w)}function T(L,M,F){return o="error",E(L,M,F)}function _(L,M,F){if(L=="word")return o="attribute",v;if(L=="endTag"||L=="selfcloseTag"){var U=F.tagName,z=F.tagStart;return F.tagName=F.tagStart=null,L=="selfcloseTag"||u.autoSelfClosers.hasOwnProperty(U)?A(F,U):(A(F,U),F.context=new c(F,U,z==F.indented)),w}return o="error",_}function v(L,M,F){return L=="equals"?S:(u.allowMissing||(o="error"),_(L,M,F))}function S(L,M,F){return L=="string"?O:L=="word"&&u.allowUnquoted?(o="string",_):(o="error",_(L,M,F))}function O(L,M,F){return L=="string"?O:_(L,M,F)}return{startState:function(M){var F={tokenize:d,state:w,indented:M||0,tagName:null,tagStart:null,context:null};return M!=null&&(F.baseIndent=M),F},token:function(M,F){if(!F.tagName&&M.sol()&&(F.indented=M.indentation()),M.eatSpace())return null;r=null;var U=F.tokenize(M,F);return(U||r)&&U!="comment"&&(o=null,F.state=F.state(r||U,M,F),o&&(U=o=="error"?U+" error":o)),U},indent:function(M,F,U){var z=M.context;if(M.tokenize.isInAttribute)return M.tagStart==M.indented?M.stringStartCol+1:M.indented+h;if(z&&z.noIndent)return g.Pass;if(M.tokenize!=n&&M.tokenize!=d)return U?U.match(/^(\s*)/)[0].length:0;if(M.tagName)return u.multilineTagIndentPastTag!==!1?M.tagStart+M.tagName.length+2:M.tagStart+h*(u.multilineTagIndentFactor||1);if(u.alignCDATA&&/<!\[CDATA\[/.test(F))return 0;var W=F&&/^<(\/)?([\w_:\.-]*)/.exec(F);if(W&&W[1])for(;z;)if(z.tagName==W[2]){z=z.prev;break}else if(u.implicitlyClosed.hasOwnProperty(z.tagName))z=z.prev;else break;else if(W)for(;z;){var N=u.contextGrabbers[z.tagName];if(N&&N.hasOwnProperty(W[2]))z=z.prev;else break}for(;z&&z.prev&&!z.startOfLine;)z=z.prev;return z?z.indent+h:M.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:u.htmlMode?"html":"xml",helperType:u.htmlMode?"html":"xml",skipAttribute:function(M){M.state==S&&(M.state=_)},xmlCurrentTag:function(M){return M.tagName?{name:M.tagName,close:M.type=="closeTag"}:null},xmlCurrentContext:function(M){for(var F=[],U=M.context;U;U=U.prev)U.tagName&&F.push(U.tagName);return F.reverse()}}}),g.defineMIME("text/xml","xml"),g.defineMIME("application/xml","xml"),g.mimeModes.hasOwnProperty("text/html")||g.defineMIME("text/html",{name:"xml",htmlMode:!0})})},"1hJj":function(R,I,e){var g=e("e4Nc"),f=e("ftKO"),b=e("3A9y");function m(y){var h=-1,u=y==null?0:y.length;for(this.__data__=new g;++h<u;)this.add(y[h])}m.prototype.add=m.prototype.push=f,m.prototype.has=b,R.exports=m},"1j5w":function(R,I,e){"use strict";e.d(I,"e",function(){return Xe}),e.d(I,"b",function(){return Ee}),e.d(I,"d",function(){return Ee}),e.d(I,"c",function(){return Fe}),e.d(I,"a",function(){return Ge});var g=e("VTBJ"),f=e("1OyB"),b=e("vuIU"),m=e("JX7q"),y=e("Ji7U"),h=e("LK+K"),u=e("q1tI"),i=function(){var Ke=function(wt,It){return Ke=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(de,xe){de.__proto__=xe}||function(de,xe){for(var $ in xe)xe.hasOwnProperty($)&&(de[$]=xe[$])},Ke(wt,It)};return function(ut,wt){Ke(ut,wt);function It(){this.constructor=ut}ut.prototype=wt===null?Object.create(wt):(It.prototype=wt.prototype,new It)}}(),a=u.createContext(null),r=function(Ke){i(ut,Ke);function ut(){return Ke!==null&&Ke.apply(this,arguments)||this}return ut.prototype.render=function(){return u.createElement(a.Provider,{value:this.props.store},this.props.children)},ut}(u.Component),o=e("Gytx"),d=e.n(o),n=e("2mql"),l=e.n(n),t=function(){var Ke=function(wt,It){return Ke=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(de,xe){de.__proto__=xe}||function(de,xe){for(var $ in xe)xe.hasOwnProperty($)&&(de[$]=xe[$])},Ke(wt,It)};return function(ut,wt){Ke(ut,wt);function It(){this.constructor=ut}ut.prototype=wt===null?Object.create(wt):(It.prototype=wt.prototype,new It)}}(),s=function(){return s=Object.assign||function(Ke){for(var ut,wt=1,It=arguments.length;wt<It;wt++){ut=arguments[wt];for(var de in ut)Object.prototype.hasOwnProperty.call(ut,de)&&(Ke[de]=ut[de])}return Ke},s.apply(this,arguments)};function c(Ke){return Ke.displayName||Ke.name||"Component"}var p=function(){return{}};function A(Ke,ut){ut===void 0&&(ut={});var wt=!!Ke,It=Ke||p;return function(xe){var $=function(Oe){t(ke,Oe);function ke(Ue,nt){var At=Oe.call(this,Ue,nt)||this;return At.unsubscribe=null,At.handleChange=function(){if(!At.unsubscribe)return;var Wt=It(At.store.getState(),At.props);At.setState({subscribed:Wt})},At.store=At.context,At.state={subscribed:It(At.store.getState(),Ue),store:At.store,props:Ue},At}return ke.getDerivedStateFromProps=function(Ue,nt){return Ke&&Ke.length===2&&Ue!==nt.props?{subscribed:It(nt.store.getState(),Ue),props:Ue}:{props:Ue}},ke.prototype.componentDidMount=function(){this.trySubscribe()},ke.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},ke.prototype.shouldComponentUpdate=function(Ue,nt){return!d()(this.props,Ue)||!d()(this.state.subscribed,nt.subscribed)},ke.prototype.trySubscribe=function(){wt&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())},ke.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},ke.prototype.render=function(){var Ue=s(s(s({},this.props),this.state.subscribed),{store:this.store});return u.createElement(xe,s({},Ue,{ref:this.props.miniStoreForwardedRef}))},ke.displayName="Connect("+c(xe)+")",ke.contextType=a,ke}(u.Component);if(ut.forwardRef){var le=u.forwardRef(function(Oe,ke){return u.createElement($,s({},Oe,{miniStoreForwardedRef:ke}))});return l()(le,xe)}return l()($,xe)}}var w=function(){return w=Object.assign||function(Ke){for(var ut,wt=1,It=arguments.length;wt<It;wt++){ut=arguments[wt];for(var de in ut)Object.prototype.hasOwnProperty.call(ut,de)&&(Ke[de]=ut[de])}return Ke},w.apply(this,arguments)};function C(Ke){var ut=Ke,wt=[];function It($){ut=w(w({},ut),$);for(var le=0;le<wt.length;le++)wt[le]()}function de(){return ut}function xe($){return wt.push($),function(){var Oe=wt.indexOf($);wt.splice(Oe,1)}}return{setState:It,getState:de,subscribe:xe}}var x=e("BGR+"),E=e("wx14"),T=e("rePB"),_=e("4IlW"),v=e("2GS6"),S=e("TSYQ"),O=e.n(S),L=e("U8pU"),M=e("ODXe"),F=/iPhone/i,U=/iPod/i,z=/iPad/i,W=/\bAndroid(?:.+)Mobile\b/i,N=/Android/i,H=/\bAndroid(?:.+)SD4930UR\b/i,j=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,k=/Windows Phone/i,B=/\bWindows(?:.+)ARM\b/i,V=/BlackBerry/i,K=/BB10/i,Y=/Opera Mini/i,Q=/\b(CriOS|Chrome)(?:.+)Mobile/i,he=/Mobile(?:.+)Firefox\b/i;function G(Ke,ut){return Ke.test(ut)}function ye(Ke){var ut=Ke||(typeof navigator!="undefined"?navigator.userAgent:""),wt=ut.split("[FBAN");if(typeof wt[1]!="undefined"){var It=wt,de=Object(M.a)(It,1);ut=de[0]}if(wt=ut.split("Twitter"),typeof wt[1]!="undefined"){var xe=wt,$=Object(M.a)(xe,1);ut=$[0]}var le={apple:{phone:G(F,ut)&&!G(k,ut),ipod:G(U,ut),tablet:!G(F,ut)&&G(z,ut)&&!G(k,ut),device:(G(F,ut)||G(U,ut)||G(z,ut))&&!G(k,ut)},amazon:{phone:G(H,ut),tablet:!G(H,ut)&&G(j,ut),device:G(H,ut)||G(j,ut)},android:{phone:!G(k,ut)&&G(H,ut)||!G(k,ut)&&G(W,ut),tablet:!G(k,ut)&&!G(H,ut)&&!G(W,ut)&&(G(j,ut)||G(N,ut)),device:!G(k,ut)&&(G(H,ut)||G(j,ut)||G(W,ut)||G(N,ut))||G(/\bokhttp\b/i,ut)},windows:{phone:G(k,ut),tablet:G(B,ut),device:G(k,ut)||G(B,ut)},other:{blackberry:G(V,ut),blackberry10:G(K,ut),opera:G(Y,ut),firefox:G(he,ut),chrome:G(Q,ut),device:G(V,ut)||G(K,ut)||G(Y,ut)||G(he,ut)||G(Q,ut)},any:null,phone:null,tablet:null};return le.any=le.apple.device||le.android.device||le.windows.device||le.other.device,le.phone=le.apple.phone||le.android.phone||le.windows.phone,le.tablet=le.apple.tablet||le.android.tablet||le.windows.tablet,le}var Ae=Object(g.a)(Object(g.a)({},ye()),{},{isMobile:ye}),ge=Ae;function Pe(){}function Re(Ke,ut,wt){var It=ut||"";return Ke.key||"".concat(It,"item_").concat(wt)}function rt(Ke){return"".concat(Ke,"-menu-")}function ne(Ke,ut){var wt=-1;u.Children.forEach(Ke,function(It){wt+=1,It&&It.type&&It.type.isMenuItemGroup?u.Children.forEach(It.props.children,function(de){wt+=1,ut(de,wt)}):ut(It,wt)})}function be(Ke,ut,wt){if(!Ke||wt.find)return;u.Children.forEach(Ke,function(It){if(It){var de=It.type;if(!de||!(de.isSubMenu||de.isMenuItem||de.isMenuItemGroup))return;ut.indexOf(It.key)!==-1?wt.find=!0:It.props.children&&be(It.props.children,ut,wt)}})}var at=["defaultSelectedKeys","selectedKeys","defaultOpenKeys","openKeys","mode","getPopupContainer","onSelect","onDeselect","onDestroy","openTransitionName","openAnimation","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","triggerSubMenuAction","level","selectable","multiple","onOpenChange","visible","focusable","defaultActiveFirst","prefixCls","inlineIndent","parentMenu","title","rootPrefixCls","eventKey","active","onItemHover","onTitleMouseEnter","onTitleMouseLeave","onTitleClick","popupAlign","popupOffset","isOpen","renderMenuItem","manualRef","subMenuKey","disabled","index","isSelected","store","activeKey","builtinPlacements","overflowedIndicator","motion","attribute","value","popupClassName","inlineCollapsed","menu","theme","itemIcon","expandIcon"],se=function(ut){var wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,It=ut&&typeof ut.getBoundingClientRect=="function"&&ut.getBoundingClientRect().width;if(It){if(wt){var de=getComputedStyle(ut),xe=de.marginLeft,$=de.marginRight;It+=+xe.replace("px","")+ +$.replace("px","")}It=+It.toFixed(6)}return It||0},q=function(ut,wt,It){ut&&Object(L.a)(ut.style)==="object"&&(ut.style[wt]=It)},X=function(){return ge.any},Z=e("KQm4"),pe=e("Ff2n"),oe=e("i8i4"),Ie=e("bdgK"),fe=e("uciX"),te=e("8XRh"),J={adjustX:1,adjustY:1},ve={topLeft:{points:["bl","tl"],overflow:J,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:J,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:J,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:J,offset:[4,0]}},De={topLeft:{points:["bl","tl"],overflow:J,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:J,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:J,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:J,offset:[4,0]}},ze=ve,dt=0,Me={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},Tt=function(ut,wt,It){var de=rt(wt),xe=ut.getState();ut.setState({defaultActiveFirst:Object(g.a)(Object(g.a)({},xe.defaultActiveFirst),{},Object(T.a)({},de,It))})},je=function(Ke){Object(y.a)(wt,Ke);var ut=Object(h.a)(wt);function wt(It){var de;Object(f.a)(this,wt),de=ut.call(this,It),de.onDestroy=function(Ue){de.props.onDestroy(Ue)},de.onKeyDown=function(Ue){var nt=Ue.keyCode,At=de.menuInstance,Wt=de.props,$t=Wt.isOpen,Rt=Wt.store;if(nt===_.a.ENTER)return de.onTitleClick(Ue),Tt(Rt,de.props.eventKey,!0),!0;if(nt===_.a.RIGHT)return $t?At.onKeyDown(Ue):(de.triggerOpenChange(!0),Tt(Rt,de.props.eventKey,!0)),!0;if(nt===_.a.LEFT){var zt;if($t)zt=At.onKeyDown(Ue);else return;return zt||(de.triggerOpenChange(!1),zt=!0),zt}return $t&&(nt===_.a.UP||nt===_.a.DOWN)?At.onKeyDown(Ue):void 0},de.onOpenChange=function(Ue){de.props.onOpenChange(Ue)},de.onPopupVisibleChange=function(Ue){de.triggerOpenChange(Ue,Ue?"mouseenter":"mouseleave")},de.onMouseEnter=function(Ue){var nt=de.props,At=nt.eventKey,Wt=nt.onMouseEnter,$t=nt.store;Tt($t,de.props.eventKey,!1),Wt({key:At,domEvent:Ue})},de.onMouseLeave=function(Ue){var nt=de.props,At=nt.parentMenu,Wt=nt.eventKey,$t=nt.onMouseLeave;At.subMenuInstance=Object(m.a)(de),$t({key:Wt,domEvent:Ue})},de.onTitleMouseEnter=function(Ue){var nt=de.props,At=nt.eventKey,Wt=nt.onItemHover,$t=nt.onTitleMouseEnter;Wt({key:At,hover:!0}),$t({key:At,domEvent:Ue})},de.onTitleMouseLeave=function(Ue){var nt=de.props,At=nt.parentMenu,Wt=nt.eventKey,$t=nt.onItemHover,Rt=nt.onTitleMouseLeave;At.subMenuInstance=Object(m.a)(de),$t({key:Wt,hover:!1}),Rt({key:Wt,domEvent:Ue})},de.onTitleClick=function(Ue){var nt=Object(m.a)(de),At=nt.props;if(At.onTitleClick({key:At.eventKey,domEvent:Ue}),At.triggerSubMenuAction==="hover")return;de.triggerOpenChange(!At.isOpen,"click"),Tt(At.store,de.props.eventKey,!1)},de.onSubMenuClick=function(Ue){typeof de.props.onClick=="function"&&de.props.onClick(de.addKeyPath(Ue))},de.onSelect=function(Ue){de.props.onSelect(Ue)},de.onDeselect=function(Ue){de.props.onDeselect(Ue)},de.getPrefixCls=function(){return"".concat(de.props.rootPrefixCls,"-submenu")},de.getActiveClassName=function(){return"".concat(de.getPrefixCls(),"-active")},de.getDisabledClassName=function(){return"".concat(de.getPrefixCls(),"-disabled")},de.getSelectedClassName=function(){return"".concat(de.getPrefixCls(),"-selected")},de.getOpenClassName=function(){return"".concat(de.props.rootPrefixCls,"-submenu-open")},de.saveMenuInstance=function(Ue){de.menuInstance=Ue},de.addKeyPath=function(Ue){return Object(g.a)(Object(g.a)({},Ue),{},{keyPath:(Ue.keyPath||[]).concat(de.props.eventKey)})},de.triggerOpenChange=function(Ue,nt){var At=de.props.eventKey,Wt=function(){de.onOpenChange({key:At,item:Object(m.a)(de),trigger:nt,open:Ue})};nt==="mouseenter"?de.mouseenterTimeout=setTimeout(function(){Wt()},0):Wt()},de.isChildrenSelected=function(){var Ue={find:!1};return be(de.props.children,de.props.selectedKeys,Ue),Ue.find},de.isOpen=function(){return de.props.openKeys.indexOf(de.props.eventKey)!==-1},de.adjustWidth=function(){if(!de.subMenuTitle||!de.menuInstance)return;var Ue=oe.findDOMNode(de.menuInstance);if(Ue.offsetWidth>=de.subMenuTitle.offsetWidth)return;Ue.style.minWidth="".concat(de.subMenuTitle.offsetWidth,"px")},de.saveSubMenuTitle=function(Ue){de.subMenuTitle=Ue},de.getBaseProps=function(){var Ue=Object(m.a)(de),nt=Ue.props;return{mode:nt.mode==="horizontal"?"vertical":nt.mode,visible:de.props.isOpen,level:nt.level+1,inlineIndent:nt.inlineIndent,focusable:!1,onClick:de.onSubMenuClick,onSelect:de.onSelect,onDeselect:de.onDeselect,onDestroy:de.onDestroy,selectedKeys:nt.selectedKeys,eventKey:"".concat(nt.eventKey,"-menu-"),openKeys:nt.openKeys,motion:nt.motion,onOpenChange:de.onOpenChange,subMenuOpenDelay:nt.subMenuOpenDelay,parentMenu:Object(m.a)(de),subMenuCloseDelay:nt.subMenuCloseDelay,forceSubMenuRender:nt.forceSubMenuRender,triggerSubMenuAction:nt.triggerSubMenuAction,builtinPlacements:nt.builtinPlacements,defaultActiveFirst:nt.store.getState().defaultActiveFirst[rt(nt.eventKey)],multiple:nt.multiple,prefixCls:nt.rootPrefixCls,id:de.internalMenuId,manualRef:de.saveMenuInstance,itemIcon:nt.itemIcon,expandIcon:nt.expandIcon,direction:nt.direction}},de.getMotion=function(Ue,nt){var At=Object(m.a)(de),Wt=At.haveRendered,$t=de.props,Rt=$t.motion,zt=$t.rootPrefixCls,Gt=Object(g.a)(Object(g.a)({},Rt),{},{leavedClassName:"".concat(zt,"-hidden"),removeOnLeave:!1,motionAppear:Wt||!nt||Ue!=="inline"});return Gt};var xe=It.store,$=It.eventKey,le=xe.getState(),Oe=le.defaultActiveFirst;de.isRootMenu=!1;var ke=!1;return Oe&&(ke=Oe[$]),Tt(xe,$,ke),de}return Object(b.a)(wt,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var de=this,xe=this.props,$=xe.mode,le=xe.parentMenu,Oe=xe.manualRef;if(Oe&&Oe(this),$!=="horizontal"||!le.isRootMenu||!this.props.isOpen)return;this.minWidthTimeout=setTimeout(function(){return de.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var de=this.props,xe=de.onDestroy,$=de.eventKey;xe&&xe($),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(de){var xe=this,$=this.getBaseProps(),le=this.getMotion($.mode,$.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||$.visible||$.forceSubMenuRender,!this.haveOpened)return u.createElement("div",null);var Oe=$.direction;return u.createElement(te.default,Object.assign({visible:$.visible},le),function(ke){var Ue=ke.className,nt=ke.style,At=O()("".concat($.prefixCls,"-sub"),Ue,Object(T.a)({},"".concat($.prefixCls,"-rtl"),Oe==="rtl"));return u.createElement(ft,Object.assign({},$,{id:xe.internalMenuId,className:At,style:nt}),de)})}},{key:"render",value:function(){var de,xe=Object(g.a)({},this.props),$=xe.isOpen,le=this.getPrefixCls(),Oe=xe.mode==="inline",ke=O()(le,"".concat(le,"-").concat(xe.mode),(de={},Object(T.a)(de,xe.className,!!xe.className),Object(T.a)(de,this.getOpenClassName(),$),Object(T.a)(de,this.getActiveClassName(),xe.active||$&&!Oe),Object(T.a)(de,this.getDisabledClassName(),xe.disabled),Object(T.a)(de,this.getSelectedClassName(),this.isChildrenSelected()),de));this.internalMenuId||(xe.eventKey?this.internalMenuId="".concat(xe.eventKey,"$Menu"):(dt+=1,this.internalMenuId="$__$".concat(dt,"$Menu")));var Ue={},nt={},At={};xe.disabled||(Ue={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},nt={onClick:this.onTitleClick},At={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Wt={},$t=xe.direction;Oe&&($t==="rtl"?Wt.paddingRight=xe.inlineIndent*xe.level:Wt.paddingLeft=xe.inlineIndent*xe.level);var Rt={};this.props.isOpen&&(Rt={"aria-owns":this.internalMenuId});var zt=null;xe.mode!=="horizontal"&&(zt=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(zt=u.createElement(this.props.expandIcon,Object(g.a)({},this.props))));var Gt=u.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:Wt,className:"".concat(le,"-title"),role:"button"},At,nt,{"aria-expanded":$},Rt,{"aria-haspopup":"true",title:typeof xe.title=="string"?xe.title:void 0}),xe.title,zt||u.createElement("i",{className:"".concat(le,"-arrow")})),Qt=this.renderChildren(xe.children),Mt=xe.parentMenu.isRootMenu?xe.parentMenu.props.getPopupContainer:function(kt){return kt.parentNode},dr=Me[xe.mode],er=xe.popupOffset?{offset:xe.popupOffset}:{},ht=xe.mode==="inline"?"":xe.popupClassName;ht+=$t==="rtl"?" ".concat(le,"-rtl"):"";var Et=xe.disabled,pt=xe.triggerSubMenuAction,vt=xe.subMenuOpenDelay,Nt=xe.forceSubMenuRender,_t=xe.subMenuCloseDelay,gt=xe.builtinPlacements;at.forEach(function(kt){return delete xe[kt]}),delete xe.onClick;var Ht=$t==="rtl"?Object.assign({},De,gt):Object.assign({},ve,gt);return delete xe.direction,u.createElement("li",Object.assign({},xe,Ue,{className:ke,role:"menuitem"}),Oe&&Gt,Oe&&Qt,!Oe&&u.createElement(fe.a,{prefixCls:le,popupClassName:O()("".concat(le,"-popup"),ht),getPopupContainer:Mt,builtinPlacements:Ht,popupPlacement:dr,popupVisible:$,popupAlign:er,popup:Qt,action:Et?[]:[pt],mouseEnterDelay:vt,mouseLeaveDelay:_t,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:Nt},Gt))}}]),wt}(u.Component);je.defaultProps={onMouseEnter:Pe,onMouseLeave:Pe,onTitleMouseEnter:Pe,onTitleMouseLeave:Pe,onTitleClick:Pe,manualRef:Pe,mode:"vertical",title:""};var st=A(function(Ke,ut){var wt=Ke.openKeys,It=Ke.activeKey,de=Ke.selectedKeys,xe=ut.eventKey,$=ut.subMenuKey;return{isOpen:wt.indexOf(xe)>-1,active:It[$]===xe,selectedKeys:de}})(je);st.isSubMenu=!0;var Xe=st,Je="menuitem-overflowed",et=.5,ot=function(Ke){Object(y.a)(wt,Ke);var ut=Object(h.a)(wt);function wt(){var It;return Object(f.a)(this,wt),It=ut.apply(this,arguments),It.resizeObserver=null,It.mutationObserver=null,It.originalTotalWidth=0,It.overflowedItems=[],It.menuItemSizes=[],It.cancelFrameId=null,It.state={lastVisibleIndex:void 0},It.getMenuItemNodes=function(){var de=It.props.prefixCls,xe=oe.findDOMNode(Object(m.a)(It));return xe?[].slice.call(xe.children).filter(function($){return $.className.split(" ").indexOf("".concat(de,"-overflowed-submenu"))<0}):[]},It.getOverflowedSubMenuItem=function(de,xe,$){var le=It.props,Oe=le.overflowedIndicator,ke=le.level,Ue=le.mode,nt=le.prefixCls,At=le.theme;if(ke!==1||Ue!=="horizontal")return null;var Wt=It.props.children[0],$t=Wt.props,Rt=$t.children,zt=$t.title,Gt=$t.style,Qt=Object(pe.a)($t,["children","title","style"]),Mt=Object(g.a)({},Gt),dr="".concat(de,"-overflowed-indicator"),er="".concat(de,"-overflowed-indicator");xe.length===0&&$!==!0?Mt=Object(g.a)(Object(g.a)({},Mt),{},{display:"none"}):$&&(Mt=Object(g.a)(Object(g.a)({},Mt),{},{visibility:"hidden",position:"absolute"}),dr="".concat(dr,"-placeholder"),er="".concat(er,"-placeholder"));var ht=At?"".concat(nt,"-").concat(At):"",Et={};return at.forEach(function(pt){Qt[pt]!==void 0&&(Et[pt]=Qt[pt])}),u.createElement(Xe,Object.assign({title:Oe,className:"".concat(nt,"-overflowed-submenu"),popupClassName:ht},Et,{key:dr,eventKey:er,disabled:!1,style:Mt}),xe)},It.setChildrenWidthAndResize=function(){if(It.props.mode!=="horizontal")return;var de=oe.findDOMNode(Object(m.a)(It));if(!de)return;var xe=de.children;if(!xe||xe.length===0)return;var $=de.children[xe.length-1];q($,"display","inline-block");var le=It.getMenuItemNodes(),Oe=le.filter(function(ke){return ke.className.split(" ").indexOf(Je)>=0});Oe.forEach(function(ke){q(ke,"display","inline-block")}),It.menuItemSizes=le.map(function(ke){return se(ke,!0)}),Oe.forEach(function(ke){q(ke,"display","none")}),It.overflowedIndicatorWidth=se(de.children[de.children.length-1],!0),It.originalTotalWidth=It.menuItemSizes.reduce(function(ke,Ue){return ke+Ue},0),It.handleResize(),q($,"display","none")},It.handleResize=function(){if(It.props.mode!=="horizontal")return;var de=oe.findDOMNode(Object(m.a)(It));if(!de)return;var xe=se(de);It.overflowedItems=[];var $=0,le;It.originalTotalWidth>xe+et&&(le=-1,It.menuItemSizes.forEach(function(Oe){$+=Oe,$+It.overflowedIndicatorWidth<=xe&&(le+=1)})),It.setState({lastVisibleIndex:le})},It}return Object(b.a)(wt,[{key:"componentDidMount",value:function(){var de=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var xe=oe.findDOMNode(this);if(!xe)return;this.resizeObserver=new Ie.default(function($){$.forEach(function(){var le=de.cancelFrameId;cancelAnimationFrame(le),de.cancelFrameId=requestAnimationFrame(de.setChildrenWidthAndResize)})}),[].slice.call(xe.children).concat(xe).forEach(function($){de.resizeObserver.observe($)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){de.resizeObserver.disconnect(),[].slice.call(xe.children).concat(xe).forEach(function($){de.resizeObserver.observe($)}),de.setChildrenWidthAndResize()}),this.mutationObserver.observe(xe,{attributes:!1,childList:!0,subTree:!1}))}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect(),cancelAnimationFrame(this.cancelFrameId)}},{key:"renderChildren",value:function(de){var xe=this,$=this.state.lastVisibleIndex;return(de||[]).reduce(function(le,Oe,ke){var Ue=Oe;if(xe.props.mode==="horizontal"){var nt=xe.getOverflowedSubMenuItem(Oe.props.eventKey,[]);$!==void 0&&xe.props.className.indexOf("".concat(xe.props.prefixCls,"-root"))!==-1&&(ke>$&&(Ue=u.cloneElement(Oe,{style:{display:"none"},eventKey:"".concat(Oe.props.eventKey,"-hidden"),className:"".concat(Je)})),ke===$+1&&(xe.overflowedItems=de.slice($+1).map(function(Wt){return u.cloneElement(Wt,{key:Wt.props.eventKey,mode:"vertical-left"})}),nt=xe.getOverflowedSubMenuItem(Oe.props.eventKey,xe.overflowedItems)));var At=[].concat(Object(Z.a)(le),[nt,Ue]);return ke===de.length-1&&At.push(xe.getOverflowedSubMenuItem(Oe.props.eventKey,[],!0)),At}return[].concat(Object(Z.a)(le),[Ue])},[])}},{key:"render",value:function(){var de=this.props,xe=de.visible,$=de.prefixCls,le=de.overflowedIndicator,Oe=de.mode,ke=de.level,Ue=de.tag,nt=de.children,At=de.theme,Wt=Object(pe.a)(de,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),$t=Ue;return u.createElement($t,Object.assign({},Wt),this.renderChildren(nt))}}]),wt}(u.Component);ot.defaultProps={tag:"div",className:""};var Ve=ot;function ue(Ke){return Ke.length?Ke.every(function(ut){return!!ut.props.disabled}):!0}function ae(Ke,ut,wt){var It=Ke.getState();Ke.setState({activeKey:Object(g.a)(Object(g.a)({},It.activeKey),{},Object(T.a)({},ut,wt))})}function lt(Ke){return Ke.eventKey||"0-menu-"}function Ze(Ke,ut){var wt=ut,It=Ke.children,de=Ke.eventKey;if(wt){var xe;if(ne(It,function($,le){$&&$.props&&!$.props.disabled&&wt===Re($,de,le)&&(xe=!0)}),xe)return wt}return wt=null,Ke.defaultActiveFirst&&ne(It,function($,le){!wt&&$&&!$.props.disabled&&(wt=Re($,de,le))}),wt}function Te(Ke){if(Ke){var ut=this.instanceArray.indexOf(Ke);ut!==-1?this.instanceArray[ut]=Ke:this.instanceArray.push(Ke)}}var Jt=function(Ke){Object(y.a)(wt,Ke);var ut=Object(h.a)(wt);function wt(It){var de;return Object(f.a)(this,wt),de=ut.call(this,It),de.onKeyDown=function(xe,$){var le=xe.keyCode,Oe;if(de.getFlatInstanceArray().forEach(function(Ue){Ue&&Ue.props.active&&Ue.onKeyDown&&(Oe=Ue.onKeyDown(xe))}),Oe)return 1;var ke=null;return(le===_.a.UP||le===_.a.DOWN)&&(ke=de.step(le===_.a.UP?-1:1)),ke?(xe.preventDefault(),ae(de.props.store,lt(de.props),ke.props.eventKey),typeof $=="function"&&$(ke),1):void 0},de.onItemHover=function(xe){var $=xe.key,le=xe.hover;ae(de.props.store,lt(de.props),le?$:null)},de.onDeselect=function(xe){de.props.onDeselect(xe)},de.onSelect=function(xe){de.props.onSelect(xe)},de.onClick=function(xe){de.props.onClick(xe)},de.onOpenChange=function(xe){de.props.onOpenChange(xe)},de.onDestroy=function(xe){de.props.onDestroy(xe)},de.getFlatInstanceArray=function(){return de.instanceArray},de.step=function(xe){var $=de.getFlatInstanceArray(),le=de.props.store.getState().activeKey[lt(de.props)],Oe=$.length;if(!Oe)return null;xe<0&&($=$.concat().reverse());var ke=-1;if($.every(function(Wt,$t){return Wt&&Wt.props.eventKey===le?(ke=$t,!1):!0}),!de.props.defaultActiveFirst&&ke!==-1&&ue($.slice(ke,Oe-1)))return;var Ue=(ke+1)%Oe,nt=Ue;do{var At=$[nt];if(!At||At.props.disabled)nt=(nt+1)%Oe;else return At}while(nt!==Ue);return null},de.renderCommonMenuItem=function(xe,$,le){var Oe=de.props.store.getState(),ke=Object(m.a)(de),Ue=ke.props,nt=Re(xe,Ue.eventKey,$),At=xe.props;if(!At||typeof xe.type=="string")return xe;var Wt=nt===Oe.activeKey,$t=Object(g.a)(Object(g.a)({mode:At.mode||Ue.mode,level:Ue.level,inlineIndent:Ue.inlineIndent,renderMenuItem:de.renderMenuItem,rootPrefixCls:Ue.prefixCls,index:$,parentMenu:Ue.parentMenu,manualRef:At.disabled?void 0:Object(v.a)(xe.ref,Te.bind(Object(m.a)(de))),eventKey:nt,active:!At.disabled&&Wt,multiple:Ue.multiple,onClick:function(zt){(At.onClick||Pe)(zt),de.onClick(zt)},onItemHover:de.onItemHover,motion:Ue.motion,subMenuOpenDelay:Ue.subMenuOpenDelay,subMenuCloseDelay:Ue.subMenuCloseDelay,forceSubMenuRender:Ue.forceSubMenuRender,onOpenChange:de.onOpenChange,onDeselect:de.onDeselect,onSelect:de.onSelect,builtinPlacements:Ue.builtinPlacements,itemIcon:At.itemIcon||de.props.itemIcon,expandIcon:At.expandIcon||de.props.expandIcon},le),{},{direction:Ue.direction});return(Ue.mode==="inline"||X())&&($t.triggerSubMenuAction="click"),u.cloneElement(xe,$t)},de.renderMenuItem=function(xe,$,le){if(!xe)return null;var Oe=de.props.store.getState(),ke={openKeys:Oe.openKeys,selectedKeys:Oe.selectedKeys,triggerSubMenuAction:de.props.triggerSubMenuAction,subMenuKey:le};return de.renderCommonMenuItem(xe,$,ke)},It.store.setState({activeKey:Object(g.a)(Object(g.a)({},It.store.getState().activeKey),{},Object(T.a)({},It.eventKey,Ze(It,It.activeKey)))}),de.instanceArray=[],de}return Object(b.a)(wt,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(de){return this.props.visible||de.visible||this.props.className!==de.className||!d()(this.props.style,de.style)}},{key:"componentDidUpdate",value:function(de){var xe=this.props,$="activeKey"in xe?xe.activeKey:xe.store.getState().activeKey[lt(xe)],le=Ze(xe,$);if(le!==$)ae(xe.store,lt(xe),le);else if("activeKey"in de){var Oe=Ze(de,de.activeKey);le!==Oe&&ae(xe.store,lt(xe),le)}}},{key:"render",value:function(){var de=this,xe=Object(E.a)({},this.props);this.instanceArray=[];var $=O()(xe.prefixCls,xe.className,"".concat(xe.prefixCls,"-").concat(xe.mode)),le={className:$,role:xe.role||"menu"};xe.id&&(le.id=xe.id),xe.focusable&&(le.tabIndex=0,le.onKeyDown=this.onKeyDown);var Oe=xe.prefixCls,ke=xe.eventKey,Ue=xe.visible,nt=xe.level,At=xe.mode,Wt=xe.overflowedIndicator,$t=xe.theme;return at.forEach(function(Rt){return delete xe[Rt]}),delete xe.onClick,u.createElement(Ve,Object.assign({},xe,{prefixCls:Oe,mode:At,tag:"ul",level:nt,theme:$t,visible:Ue,overflowedIndicator:Wt},le),u.Children.map(xe.children,function(Rt,zt){return de.renderMenuItem(Rt,zt,ke||"0-menu-")}))}}]),wt}(u.Component);Jt.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:Pe};var mt=A()(Jt),ft=mt,bt=e("Kwbf");function Lt(Ke,ut,wt){var It=Ke.prefixCls,de=Ke.motion,xe=Ke.defaultMotions,$=xe===void 0?{}:xe,le=Ke.openAnimation,Oe=Ke.openTransitionName,ke=ut.switchingModeFromInline;if(de)return de;if(Object(L.a)(le)==="object"&&le)Object(bt.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof le=="string")return{motionName:"".concat(It,"-open-").concat(le)};if(Oe)return{motionName:Oe};var Ue=$[wt];return Ue||(ke?null:$.other)}var or=function(Ke){Object(y.a)(wt,Ke);var ut=Object(h.a)(wt);function wt(It){var de;Object(f.a)(this,wt),de=ut.call(this,It),de.inlineOpenKeys=[],de.onSelect=function(le){var Oe=Object(m.a)(de),ke=Oe.props;if(ke.selectable){var Ue=de.store.getState(),nt=Ue.selectedKeys,At=le.key;ke.multiple?nt=nt.concat([At]):nt=[At],"selectedKeys"in ke||de.store.setState({selectedKeys:nt}),ke.onSelect(Object(g.a)(Object(g.a)({},le),{},{selectedKeys:nt}))}},de.onClick=function(le){var Oe=de.getRealMenuMode(),ke=Object(m.a)(de),Ue=ke.store,nt=ke.props.onOpenChange;Oe!=="inline"&&!("openKeys"in de.props)&&(Ue.setState({openKeys:[]}),nt([])),de.props.onClick(le)},de.onKeyDown=function(le,Oe){de.innerMenu.getWrappedInstance().onKeyDown(le,Oe)},de.onOpenChange=function(le){var Oe=Object(m.a)(de),ke=Oe.props,Ue=de.store.getState().openKeys.concat(),nt=!1,At=function($t){var Rt=!1;if($t.open)Rt=Ue.indexOf($t.key)===-1,Rt&&Ue.push($t.key);else{var zt=Ue.indexOf($t.key);Rt=zt!==-1,Rt&&Ue.splice(zt,1)}nt=nt||Rt};Array.isArray(le)?le.forEach(At):At(le),nt&&("openKeys"in de.props||de.store.setState({openKeys:Ue}),ke.onOpenChange(Ue))},de.onDeselect=function(le){var Oe=Object(m.a)(de),ke=Oe.props;if(ke.selectable){var Ue=de.store.getState().selectedKeys.concat(),nt=le.key,At=Ue.indexOf(nt);At!==-1&&Ue.splice(At,1),"selectedKeys"in ke||de.store.setState({selectedKeys:Ue}),ke.onDeselect(Object(g.a)(Object(g.a)({},le),{},{selectedKeys:Ue}))}},de.onMouseEnter=function(le){de.restoreModeVerticalFromInline();var Oe=de.props.onMouseEnter;Oe&&Oe(le)},de.onTransitionEnd=function(le){var Oe=le.propertyName==="width"&&le.target===le.currentTarget,ke=le.target.className,Ue=Object.prototype.toString.call(ke)==="[object SVGAnimatedString]"?ke.animVal:ke,nt=le.propertyName==="font-size"&&Ue.indexOf("anticon")>=0;(Oe||nt)&&de.restoreModeVerticalFromInline()},de.setInnerMenu=function(le){de.innerMenu=le},de.isRootMenu=!0;var xe=It.defaultSelectedKeys,$=It.defaultOpenKeys;return"selectedKeys"in It&&(xe=It.selectedKeys||[]),"openKeys"in It&&($=It.openKeys||[]),de.store=C({selectedKeys:xe,openKeys:$,activeKey:{"0-menu-":Ze(It,It.activeKey)}}),de.state={switchingModeFromInline:!1},de}return Object(b.a)(wt,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(de){this.updateOpentKeysWhenSwitchMode(de),this.updateMiniStore();var xe=this.props,$=xe.siderCollapsed,le=xe.inlineCollapsed,Oe=xe.onOpenChange;(!de.inlineCollapsed&&le||!de.siderCollapsed&&$)&&Oe([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(de){var xe=this.props,$=this.store,le=this.inlineOpenKeys,Oe=$.getState(),ke={};de.mode==="inline"&&xe.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in xe||((xe.inlineCollapsed&&!de.inlineCollapsed||xe.siderCollapsed&&!de.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=Oe.openKeys.concat(),ke.openKeys=[]),(!xe.inlineCollapsed&&de.inlineCollapsed||!xe.siderCollapsed&&de.siderCollapsed)&&(ke.openKeys=le,this.inlineOpenKeys=[])),Object.keys(ke).length&&$.setState(ke)}},{key:"updateMenuDisplay",value:function(){var de=this.props.collapsedWidth,xe=this.store,$=this.prevOpenKeys,le=this.getInlineCollapsed()&&(de===0||de==="0"||de==="0px");le?(this.prevOpenKeys=xe.getState().openKeys.concat(),this.store.setState({openKeys:[]})):$&&(this.store.setState({openKeys:$}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var de=this.props.mode,xe=this.state.switchingModeFromInline,$=this.getInlineCollapsed();return xe&&$?"inline":$?"vertical":de}},{key:"getInlineCollapsed",value:function(){var de=this.props,xe=de.inlineCollapsed,$=de.siderCollapsed;return $!==void 0?$:xe}},{key:"restoreModeVerticalFromInline",value:function(){var de=this.state.switchingModeFromInline;de&&this.setState({switchingModeFromInline:!1})}},{key:"updateMiniStore",value:function(){"selectedKeys"in this.props&&this.store.setState({selectedKeys:this.props.selectedKeys||[]}),"openKeys"in this.props&&this.store.setState({openKeys:this.props.openKeys||[]})}},{key:"render",value:function(){var de=Object(g.a)({},Object(x.default)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),xe=this.getRealMenuMode();return de.className+=" ".concat(de.prefixCls,"-root"),de.direction==="rtl"&&(de.className+=" ".concat(de.prefixCls,"-rtl")),de=Object(g.a)(Object(g.a)({},de),{},{mode:xe,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:Lt(this.props,this.state,xe)}),delete de.openAnimation,delete de.openTransitionName,u.createElement(r,{store:this.store},u.createElement(ft,Object.assign({},de,{ref:this.setInnerMenu}),this.props.children))}}]),wt}(u.Component);or.defaultProps={selectable:!0,onClick:Pe,onSelect:Pe,onOpenChange:Pe,onDeselect:Pe,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:u.createElement("span",null,"\xB7\xB7\xB7")};var Bt=or,_e=function(Ke){Object(y.a)(wt,Ke);var ut=Object(h.a)(wt);function wt(){var It;return Object(f.a)(this,wt),It=ut.apply(this,arguments),It.onKeyDown=function(de){var xe=de.keyCode;return xe===_.a.ENTER?(It.onClick(de),!0):void 0},It.onMouseLeave=function(de){var xe=It.props,$=xe.eventKey,le=xe.onItemHover,Oe=xe.onMouseLeave;le({key:$,hover:!1}),Oe({key:$,domEvent:de})},It.onMouseEnter=function(de){var xe=It.props,$=xe.eventKey,le=xe.onItemHover,Oe=xe.onMouseEnter;le({key:$,hover:!0}),Oe({key:$,domEvent:de})},It.onClick=function(de){var xe=It.props,$=xe.eventKey,le=xe.multiple,Oe=xe.onClick,ke=xe.onSelect,Ue=xe.onDeselect,nt=xe.isSelected,At={key:$,keyPath:[$],item:Object(m.a)(It),domEvent:de};Oe(At),le?nt?Ue(At):ke(At):nt||ke(At)},It.saveNode=function(de){It.node=de},It}return Object(b.a)(wt,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var de=this.props;de.onDestroy&&de.onDestroy(de.eventKey)}},{key:"getPrefixCls",value:function(){return"".concat(this.props.rootPrefixCls,"-item")}},{key:"getActiveClassName",value:function(){return"".concat(this.getPrefixCls(),"-active")}},{key:"getSelectedClassName",value:function(){return"".concat(this.getPrefixCls(),"-selected")}},{key:"getDisabledClassName",value:function(){return"".concat(this.getPrefixCls(),"-disabled")}},{key:"callRef",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"render",value:function(){var de,xe=Object(g.a)({},this.props),$=O()(this.getPrefixCls(),xe.className,(de={},Object(T.a)(de,this.getActiveClassName(),!xe.disabled&&xe.active),Object(T.a)(de,this.getSelectedClassName(),xe.isSelected),Object(T.a)(de,this.getDisabledClassName(),xe.disabled),de)),le=Object(g.a)(Object(g.a)({},xe.attribute),{},{title:typeof xe.title=="string"?xe.title:void 0,className:$,role:xe.role||"menuitem","aria-disabled":xe.disabled});xe.role==="option"?le=Object(g.a)(Object(g.a)({},le),{},{role:"option","aria-selected":xe.isSelected}):(xe.role===null||xe.role==="none")&&(le.role="none");var Oe={onClick:xe.disabled?null:this.onClick,onMouseLeave:xe.disabled?null:this.onMouseLeave,onMouseEnter:xe.disabled?null:this.onMouseEnter},ke=Object(g.a)({},xe.style);xe.mode==="inline"&&(xe.direction==="rtl"?ke.paddingRight=xe.inlineIndent*xe.level:ke.paddingLeft=xe.inlineIndent*xe.level),at.forEach(function(nt){return delete xe[nt]}),delete xe.direction;var Ue=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(Ue=u.createElement(this.props.itemIcon,this.props)),u.createElement("li",Object.assign({},Object(x.default)(xe,["onClick","onMouseEnter","onMouseLeave","onSelect"]),le,Oe,{style:ke,ref:this.saveNode}),xe.children,Ue)}}]),wt}(u.Component);_e.isMenuItem=!0,_e.defaultProps={onSelect:Pe,onMouseEnter:Pe,onMouseLeave:Pe,manualRef:Pe};var Ce=A(function(Ke,ut){var wt=Ke.activeKey,It=Ke.selectedKeys,de=ut.eventKey,xe=ut.subMenuKey;return{active:wt[xe]===de,isSelected:It.indexOf(de)!==-1}})(_e),Ee=Ce,we=function(Ke){Object(y.a)(wt,Ke);var ut=Object(h.a)(wt);function wt(){var It;return Object(f.a)(this,wt),It=ut.apply(this,arguments),It.renderInnerMenuItem=function(de){var xe=It.props,$=xe.renderMenuItem,le=xe.index;return $(de,le,It.props.subMenuKey)},It}return Object(b.a)(wt,[{key:"render",value:function(){var de=Object(E.a)({},this.props),xe=de.className,$=xe===void 0?"":xe,le=de.rootPrefixCls,Oe="".concat(le,"-item-group-title"),ke="".concat(le,"-item-group-list"),Ue=de.title,nt=de.children;return at.forEach(function(At){return delete de[At]}),delete de.onClick,delete de.direction,u.createElement("li",Object.assign({},de,{className:"".concat($," ").concat(le,"-item-group")}),u.createElement("div",{className:Oe,title:typeof Ue=="string"?Ue:void 0},Ue),u.createElement("ul",{className:ke},u.Children.map(nt,this.renderInnerMenuItem)))}}]),wt}(u.Component);we.isMenuItemGroup=!0,we.defaultProps={disabled:!0};var Fe=we,Ye=function(ut){var wt=ut.className,It=ut.rootPrefixCls,de=ut.style;return u.createElement("li",{className:"".concat(wt," ").concat(It,"-item-divider"),style:de})};Ye.defaultProps={disabled:!0,className:"",style:{}};var Ge=Ye,qe=I.f=Bt},"1n7x":function(R,I,e){(function(g,f){(function(b,m){R.exports=m(e("5RHE"),e("wOnQ"))})(this,function(b,m){"use strict";b=b&&b.hasOwnProperty("default")?b.default:b,m=m&&m.hasOwnProperty("default")?m.default:m;var y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(x){return typeof x}:function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},h=Object.assign||function(x){for(var E=1;E<arguments.length;E++){var T=arguments[E];for(var _ in T)Object.prototype.hasOwnProperty.call(T,_)&&(x[_]=T[_])}return x},u=function(E){var T=typeof E=="undefined"?"undefined":y(E);return T==="undefined"?"undefined":T==="string"||E instanceof String?"string":T==="number"||E instanceof Number?"number":T==="function"||E instanceof Function?"function":!!E&&E.constructor===Array?"array":E&&E.nodeType===1?"element":T==="object"?"object":"unknown"},i=function(E,T){var _=document.createElement(E);if(T.className&&(_.className=T.className),T.innerHTML){_.innerHTML=T.innerHTML;for(var v=_.getElementsByTagName("script"),S=v.length;S-- >0;null)v[S].parentNode.removeChild(v[S])}for(var O in T.style)_.style[O]=T.style[O];return _},a=function x(E,T){for(var _=E.nodeType===3?document.createTextNode(E.nodeValue):E.cloneNode(!1),v=E.firstChild;v;v=v.nextSibling)(T===!0||v.nodeType!==1||v.nodeName!=="SCRIPT")&&_.appendChild(x(v,T));return E.nodeType===1&&(E.nodeName==="CANVAS"?(_.width=E.width,_.height=E.height,_.getContext("2d").drawImage(E,0,0)):(E.nodeName==="TEXTAREA"||E.nodeName==="SELECT")&&(_.value=E.value),_.addEventListener("load",function(){_.scrollTop=E.scrollTop,_.scrollLeft=E.scrollLeft},!0)),_},r=function(E,T){if(u(E)==="number")return E*72/96/T;var _={};for(var v in E)_[v]=E[v]*72/96/T;return _},o=function(E,T){return Math.floor(E*T/72*96)},d=typeof window!="undefined"?window:typeof g!="undefined"?g:typeof self!="undefined"?self:{};function n(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function l(x,E){return E={exports:{}},x(E,E.exports),E.exports}var t=l(function(x,E){/*!
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
* @version v4.2.5+7f2b526d
*/(function(T,_){x.exports=_()})(d,function(){function T(mt){var ft=typeof mt;return mt!==null&&(ft==="object"||ft==="function")}function _(mt){return typeof mt=="function"}var v=void 0;Array.isArray?v=Array.isArray:v=function(ft){return Object.prototype.toString.call(ft)==="[object Array]"};var S=v,O=0,L=void 0,M=void 0,F=function(ft,bt){he[O]=ft,he[O+1]=bt,O+=2,O===2&&(M?M(G):Ae())};function U(mt){M=mt}function z(mt){F=mt}var W=typeof window!="undefined"?window:void 0,N=W||{},H=N.MutationObserver||N.WebKitMutationObserver,j=typeof self=="undefined"&&typeof f!="undefined"&&{}.toString.call(f)==="[object process]",k=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function B(){return function(){return f.nextTick(G)}}function V(){return typeof L!="undefined"?function(){L(G)}:Q()}function K(){var mt=0,ft=new H(G),bt=document.createTextNode("");return ft.observe(bt,{characterData:!0}),function(){bt.data=mt=++mt%2}}function Y(){var mt=new MessageChannel;return mt.port1.onmessage=G,function(){return mt.port2.postMessage(0)}}function Q(){var mt=setTimeout;return function(){return mt(G,1)}}var he=new Array(1e3);function G(){for(var mt=0;mt<O;mt+=2){var ft=he[mt],bt=he[mt+1];ft(bt),he[mt]=void 0,he[mt+1]=void 0}O=0}function ye(){try{var mt=Function("return this")().require("vertx");return L=mt.runOnLoop||mt.runOnContext,V()}catch(ft){return Q()}}var Ae=void 0;j?Ae=B():H?Ae=K():k?Ae=Y():W===void 0&&typeof n=="function"?Ae=ye():Ae=Q();function ge(mt,ft){var bt=this,Lt=new this.constructor(rt);Lt[Re]===void 0&&Je(Lt);var or=bt._state;if(or){var Bt=arguments[or-1];F(function(){return Tt(or,Lt,Bt,bt._result)})}else ze(bt,Lt,mt,ft);return Lt}function Pe(mt){var ft=this;if(mt&&typeof mt=="object"&&mt.constructor===ft)return mt;var bt=new ft(rt);return te(bt,mt),bt}var Re=Math.random().toString(36).substring(2);function rt(){}var ne=void 0,be=1,at=2,se={error:null};function q(){return new TypeError("You cannot resolve a promise with itself")}function X(){return new TypeError("A promises callback cannot return that same promise.")}function Z(mt){try{return mt.then}catch(ft){return se.error=ft,se}}function pe(mt,ft,bt,Lt){try{mt.call(ft,bt,Lt)}catch(or){return or}}function oe(mt,ft,bt){F(function(Lt){var or=!1,Bt=pe(bt,ft,function(_e){if(or)return;or=!0,ft!==_e?te(Lt,_e):ve(Lt,_e)},function(_e){if(or)return;or=!0,De(Lt,_e)},"Settle: "+(Lt._label||" unknown promise"));!or&&Bt&&(or=!0,De(Lt,Bt))},mt)}function Ie(mt,ft){ft._state===be?ve(mt,ft._result):ft._state===at?De(mt,ft._result):ze(ft,void 0,function(bt){return te(mt,bt)},function(bt){return De(mt,bt)})}function fe(mt,ft,bt){ft.constructor===mt.constructor&&bt===ge&&ft.constructor.resolve===Pe?Ie(mt,ft):bt===se?(De(mt,se.error),se.error=null):bt===void 0?ve(mt,ft):_(bt)?oe(mt,ft,bt):ve(mt,ft)}function te(mt,ft){mt===ft?De(mt,q()):T(ft)?fe(mt,ft,Z(ft)):ve(mt,ft)}function J(mt){mt._onerror&&mt._onerror(mt._result),dt(mt)}function ve(mt,ft){if(mt._state!==ne)return;mt._result=ft,mt._state=be,mt._subscribers.length!==0&&F(dt,mt)}function De(mt,ft){if(mt._state!==ne)return;mt._state=at,mt._result=ft,F(J,mt)}function ze(mt,ft,bt,Lt){var or=mt._subscribers,Bt=or.length;mt._onerror=null,or[Bt]=ft,or[Bt+be]=bt,or[Bt+at]=Lt,Bt===0&&mt._state&&F(dt,mt)}function dt(mt){var ft=mt._subscribers,bt=mt._state;if(ft.length===0)return;for(var Lt=void 0,or=void 0,Bt=mt._result,_e=0;_e<ft.length;_e+=3)Lt=ft[_e],or=ft[_e+bt],Lt?Tt(bt,Lt,or,Bt):or(Bt);mt._subscribers.length=0}function Me(mt,ft){try{return mt(ft)}catch(bt){return se.error=bt,se}}function Tt(mt,ft,bt,Lt){var or=_(bt),Bt=void 0,_e=void 0,Ce=void 0,Ee=void 0;if(or){if(Bt=Me(bt,Lt),Bt===se?(Ee=!0,_e=Bt.error,Bt.error=null):Ce=!0,ft===Bt){De(ft,X());return}}else Bt=Lt,Ce=!0;ft._state!==ne||(or&&Ce?te(ft,Bt):Ee?De(ft,_e):mt===be?ve(ft,Bt):mt===at&&De(ft,Bt))}function je(mt,ft){try{ft(function(Lt){te(mt,Lt)},function(Lt){De(mt,Lt)})}catch(bt){De(mt,bt)}}var st=0;function Xe(){return st++}function Je(mt){mt[Re]=st++,mt._state=void 0,mt._result=void 0,mt._subscribers=[]}function et(){return new Error("Array Methods must be provided an Array")}var ot=function(){function mt(ft,bt){this._instanceConstructor=ft,this.promise=new ft(rt),this.promise[Re]||Je(this.promise),S(bt)?(this.length=bt.length,this._remaining=bt.length,this._result=new Array(this.length),this.length===0?ve(this.promise,this._result):(this.length=this.length||0,this._enumerate(bt),this._remaining===0&&ve(this.promise,this._result))):De(this.promise,et())}return mt.prototype._enumerate=function(bt){for(var Lt=0;this._state===ne&&Lt<bt.length;Lt++)this._eachEntry(bt[Lt],Lt)},mt.prototype._eachEntry=function(bt,Lt){var or=this._instanceConstructor,Bt=or.resolve;if(Bt===Pe){var _e=Z(bt);if(_e===ge&&bt._state!==ne)this._settledAt(bt._state,Lt,bt._result);else if(typeof _e!="function")this._remaining--,this._result[Lt]=bt;else if(or===Te){var Ce=new or(rt);fe(Ce,bt,_e),this._willSettleAt(Ce,Lt)}else this._willSettleAt(new or(function(Ee){return Ee(bt)}),Lt)}else this._willSettleAt(Bt(bt),Lt)},mt.prototype._settledAt=function(bt,Lt,or){var Bt=this.promise;Bt._state===ne&&(this._remaining--,bt===at?De(Bt,or):this._result[Lt]=or),this._remaining===0&&ve(Bt,this._result)},mt.prototype._willSettleAt=function(bt,Lt){var or=this;ze(bt,void 0,function(Bt){return or._settledAt(be,Lt,Bt)},function(Bt){return or._settledAt(at,Lt,Bt)})},mt}();function Ve(mt){return new ot(this,mt).promise}function ue(mt){var ft=this;return S(mt)?new ft(function(bt,Lt){for(var or=mt.length,Bt=0;Bt<or;Bt++)ft.resolve(mt[Bt]).then(bt,Lt)}):new ft(function(bt,Lt){return Lt(new TypeError("You must pass an array to race."))})}function ae(mt){var ft=this,bt=new ft(rt);return De(bt,mt),bt}function lt(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Ze(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Te=function(){function mt(ft){this[Re]=Xe(),this._result=this._state=void 0,this._subscribers=[],rt!==ft&&(typeof ft!="function"&&lt(),this instanceof mt?je(this,ft):Ze())}return mt.prototype.catch=function(bt){return this.then(null,bt)},mt.prototype.finally=function(bt){var Lt=this,or=Lt.constructor;return _(bt)?Lt.then(function(Bt){return or.resolve(bt()).then(function(){return Bt})},function(Bt){return or.resolve(bt()).then(function(){throw Bt})}):Lt.then(bt,bt)},mt}();Te.prototype.then=ge,Te.all=Ve,Te.race=ue,Te.resolve=Pe,Te.reject=ae,Te._setScheduler=U,Te._setAsap=z,Te._asap=F;function Jt(){var mt=void 0;if(typeof d!="undefined")mt=d;else if(typeof self!="undefined")mt=self;else try{mt=Function("return this")()}catch(Lt){throw new Error("polyfill failed because global object is unavailable in this environment")}var ft=mt.Promise;if(ft){var bt=null;try{bt=Object.prototype.toString.call(ft.resolve())}catch(Lt){}if(bt==="[object Promise]"&&!ft.cast)return}mt.Promise=Te}return Te.polyfill=Jt,Te.Promise=Te,Te})}),s=t.Promise,c=function x(E){var T=h(x.convert(s.resolve()),JSON.parse(JSON.stringify(x.template))),_=x.convert(s.resolve(),T);return _=_.setProgress(1,x,1,[x]),_=_.set(E),_};c.prototype=Object.create(s.prototype),c.prototype.constructor=c,c.convert=function(E,T){return E.__proto__=T||c.prototype,E},c.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},c.prototype.from=function(E,T){function _(v){switch(u(v)){case"string":return"string";case"element":return v.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){T=T||_(E);switch(T){case"string":return this.set({src:i("div",{innerHTML:E})});case"element":return this.set({src:E});case"canvas":return this.set({canvas:E});case"img":return this.set({img:E});default:return this.error("Unknown source type.")}})},c.prototype.to=function(E){switch(E){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},c.prototype.toContainer=function(){var E=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(E).then(function(){var _={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},v={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};_.opacity=0;var S=a(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=i("div",{className:"html2pdf__overlay",style:_}),this.prop.container=i("div",{className:"html2pdf__container",style:v}),this.prop.container.appendChild(S),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},c.prototype.toCanvas=function(){var E=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(E).then(function(){var _=h({},this.opt.html2canvas);return delete _.onrendered,m(this.prop.container,_)}).then(function(_){var v=this.opt.html2canvas.onrendered||function(){};v(_),this.prop.canvas=_,document.body.removeChild(this.prop.overlay)})},c.prototype.toImg=function(){var E=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(E).then(function(){var _=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=_})},c.prototype.toPdf=function(){var E=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(E).then(function(){var _=this.prop.canvas,v=this.opt,S=_.height,O=Math.floor(_.width*this.prop.pageSize.inner.ratio),L=Math.ceil(S/O),M=this.prop.pageSize.inner.height,F=document.createElement("canvas"),U=F.getContext("2d");F.width=_.width,F.height=O,this.prop.pdf=this.prop.pdf||new b(v.jsPDF);for(var z=0;z<L;z++){z===L-1&&S%O!==0&&(F.height=S%O,M=F.height*this.prop.pageSize.inner.width/F.width);var W=F.width,N=F.height;U.fillStyle="white",U.fillRect(0,0,W,N),U.drawImage(_,0,z*O,W,N,0,0,W,N),z&&this.prop.pdf.addPage();var H=F.toDataURL("image/"+v.image.type,v.image.quality);this.prop.pdf.addImage(H,v.image.type,v.margin[1],v.margin[0],this.prop.pageSize.inner.width,M)}})},c.prototype.output=function(E,T,_){return _=_||"pdf",_.toLowerCase()==="img"||_.toLowerCase()==="image"?this.outputImg(E,T):this.outputPdf(E,T)},c.prototype.outputPdf=function(E,T){var _=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(_).then(function(){return this.prop.pdf.output(E,T)})},c.prototype.outputImg=function(E,T){var _=[function(){return this.prop.img||this.toImg()}];return this.thenList(_).then(function(){switch(E){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+E+'" is not supported.'}})},c.prototype.save=function(E){var T=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(T).set(E?{filename:E}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},c.prototype.set=function(E){if(u(E)!=="object")return this;var T=Object.keys(E||{}).map(function(_){if(_ in c.template.prop)return function(){this.prop[_]=E[_]};switch(_){case"margin":return this.setMargin.bind(this,E.margin);case"jsPDF":return function(){return this.opt.jsPDF=E.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,E.pageSize);default:return function(){this.opt[_]=E[_]}}},this);return this.then(function(){return this.thenList(T)})},c.prototype.get=function(E,T){return this.then(function(){var v=E in c.template.prop?this.prop[E]:this.opt[E];return T?T(v):v})},c.prototype.setMargin=function(E){return this.then(function(){switch(u(E)){case"number":E=[E,E,E,E];case"array":if(E.length===2&&(E=[E[0],E[1],E[0],E[1]]),E.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=E}).then(this.setPageSize)},c.prototype.setPageSize=function(E){return this.then(function(){E=E||b.getPageSize(this.opt.jsPDF),E.hasOwnProperty("inner")||(E.inner={width:E.width-this.opt.margin[1]-this.opt.margin[3],height:E.height-this.opt.margin[0]-this.opt.margin[2]},E.inner.px={width:o(E.inner.width,E.k),height:o(E.inner.height,E.k)},E.inner.ratio=E.inner.height/E.inner.width),this.prop.pageSize=E})},c.prototype.setProgress=function(E,T,_,v){return E!=null&&(this.progress.val=E),T!=null&&(this.progress.state=T),_!=null&&(this.progress.n=_),v!=null&&(this.progress.stack=v),this.progress.ratio=this.progress.val/this.progress.state,this},c.prototype.updateProgress=function(E,T,_,v){return this.setProgress(E?this.progress.val+E:null,T||null,_?this.progress.n+_:null,v?this.progress.stack.concat(v):null)},c.prototype.then=function(E,T){var _=this;return this.thenCore(E,T,function(S,O){return _.updateProgress(null,null,1,[S]),s.prototype.then.call(this,function(M){return _.updateProgress(null,S),M}).then(S,O).then(function(M){return _.updateProgress(1),M})})},c.prototype.thenCore=function(E,T,_){_=_||s.prototype.then;var v=this;E&&(E=E.bind(v)),T&&(T=T.bind(v));var S=s.toString().indexOf("[native code]")!==-1&&s.name==="Promise",O=S?v:c.convert(h({},v),s.prototype),L=_.call(O,E,T);return c.convert(L,v.__proto__)},c.prototype.thenExternal=function(E,T){return s.prototype.then.call(this,E,T)},c.prototype.thenList=function(E){var T=this;return E.forEach(function(v){T=T.thenCore(v)}),T},c.prototype.catch=function(x){x&&(x=x.bind(this));var E=s.prototype.catch.call(this,x);return c.convert(E,this)},c.prototype.catchExternal=function(E){return s.prototype.catch.call(this,E)},c.prototype.error=function(E){return this.then(function(){throw new Error(E)})},c.prototype.using=c.prototype.set,c.prototype.saveAs=c.prototype.save,c.prototype.export=c.prototype.output,c.prototype.run=c.prototype.then,b.getPageSize=function(x,E,T){if((typeof x=="undefined"?"undefined":y(x))==="object"){var _=x;x=_.orientation,E=_.unit||E,T=_.format||T}E=E||"mm",T=T||"a4",x=(""+(x||"P")).toLowerCase();var v=(""+T).toLowerCase(),S={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(E){case"pt":var O=1;break;case"mm":var O=72/25.4;break;case"cm":var O=72/2.54;break;case"in":var O=72;break;case"px":var O=72/96;break;case"pc":var O=12;break;case"em":var O=12;break;case"ex":var O=6;break;default:throw"Invalid unit: "+E}if(S.hasOwnProperty(v))var L=S[v][1]/O,M=S[v][0]/O;else try{var L=T[1],M=T[0]}catch(z){throw new Error("Invalid format: "+T)}if(x==="p"||x==="portrait"){if(x="p",M>L){var F=M;M=L,L=F}}else if(x==="l"||x==="landscape"){if(x="l",L>M){var F=M;M=L,L=F}}else throw"Invalid orientation: "+x;var U={width:M,height:L,unit:E,k:O};return U};var p={toContainer:c.prototype.toContainer};c.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},c.prototype.toContainer=function(){return p.toContainer.call(this).then(function(){var T=this.prop.container,_=this.prop.pageSize.inner.px.height,v=[].concat(this.opt.pagebreak.mode),S={avoidAll:v.indexOf("avoid-all")!==-1,css:v.indexOf("css")!==-1,legacy:v.indexOf("legacy")!==-1},O={},L=this;["before","after","avoid"].forEach(function(U){var z=S.avoidAll&&U==="avoid";O[U]=z?[]:[].concat(L.opt.pagebreak[U]||[]),O[U].length>0&&(O[U]=Array.prototype.slice.call(T.querySelectorAll(O[U].join(", "))))});var M=T.querySelectorAll(".html2pdf__page-break");M=Array.prototype.slice.call(M);var F=T.querySelectorAll("*");Array.prototype.forEach.call(F,function(z){var W={before:!1,after:S.legacy&&M.indexOf(z)!==-1,avoid:S.avoidAll};if(S.css){var N=window.getComputedStyle(z),H=["always","page","left","right"],j=["avoid","avoid-page"];W={before:W.before||H.indexOf(N.breakBefore||N.pageBreakBefore)!==-1,after:W.after||H.indexOf(N.breakAfter||N.pageBreakAfter)!==-1,avoid:W.avoid||j.indexOf(N.breakInside||N.pageBreakInside)!==-1}}Object.keys(W).forEach(function(Q){W[Q]=W[Q]||O[Q].indexOf(z)!==-1});var k=z.getBoundingClientRect();if(W.avoid&&!W.before){var B=Math.floor(k.top/_),V=Math.floor(k.bottom/_),K=Math.abs(k.bottom-k.top)/_;V!==B&&K<=1&&(W.before=!0)}if(W.before){var Y=i("div",{style:{display:"block",height:_-k.top%_+"px"}});z.parentNode.insertBefore(Y,z)}if(W.after){var Y=i("div",{style:{display:"block",height:_-k.bottom%_+"px"}});z.parentNode.insertBefore(Y,z.nextSibling)}})})};var A=[],w={toContainer:c.prototype.toContainer,toPdf:c.prototype.toPdf};c.prototype.toContainer=function(){return w.toContainer.call(this).then(function(){if(this.opt.enableLinks){var T=this.prop.container,_=T.querySelectorAll("a"),v=r(T.getBoundingClientRect(),this.prop.pageSize.k);A=[],Array.prototype.forEach.call(_,function(S){for(var O=S.getClientRects(),L=0;L<O.length;L++){var M=r(O[L],this.prop.pageSize.k);M.left-=v.left,M.top-=v.top;var F=Math.floor(M.top/this.prop.pageSize.inner.height)+1,U=this.opt.margin[0]+M.top%this.prop.pageSize.inner.height,z=this.opt.margin[1]+M.left;A.push({page:F,top:U,left:z,clientRect:M,link:S})}},this)}})},c.prototype.toPdf=function(){return w.toPdf.call(this).then(function(){if(this.opt.enableLinks){A.forEach(function(_){this.prop.pdf.setPage(_.page),this.prop.pdf.link(_.left,_.top,_.clientRect.width,_.clientRect.height,{url:_.link.href})},this);var T=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(T)}})};var C=function x(E,T){var _=new x.Worker(T);return E?_.from(E).save():_};return C.Worker=c,C})}).call(this,e("yLpj"),e("Q2Ig"))},"1q3G":function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=g;function g(){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}},"1tlw":function(R,I,e){var g=e("MBQ8"),f=g.extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(m){return m.stack=null,f.superApply(this,"getInitialData",arguments)}}),b=f;R.exports=b},"1u/T":function(R,I,e){var g=e("ProS"),f={type:"selectDataRange",event:"dataRangeSelected",update:"update"};g.registerAction(f,function(b,m){m.eachComponent({mainType:"visualMap",query:b},function(y){y.setSelected(b.selected)})})},"1vzs":function(R,I,e){"use strict";e.d(I,"a",function(){return t});var g=e("q1tI"),f=e.n(g),b=e("HQEm"),m=e.n(b),y=e("gZBC"),h=e.n(y),u=e("NAnI"),i=e.n(u),a=e("V/uB"),r=e.n(a),o=e("kbBi"),d=e.n(o),n=e("w6Tc"),l=e.n(n);function t(s){var c=s.suffixIcon,p=s.clearIcon,A=s.menuItemSelectedIcon,w=s.removeIcon,C=s.loading,x=s.multiple,E=s.prefixCls,T=p;p||(T=g.createElement(d.a,null));var _=null;if(c!==void 0)_=c;else if(C)_=g.createElement(h.a,{spin:!0});else{var v="".concat(E,"-suffix");_=function(M){var F=M.open,U=M.showSearch;return F&&U?g.createElement(l.a,{className:v}):g.createElement(m.a,{className:v})}}var S=null;A!==void 0?S=A:x?S=g.createElement(i.a,null):S=null;var O=null;return w!==void 0?O=w:O=g.createElement(r.a,null),{clearIcon:T,suffixIcon:_,itemIcon:S,removeIcon:O}}},"1xaR":function(R,I,e){var g=e("ProS"),f=e("bYtY");e("qgGe"),e("NA0q"),e("RPvy");var b=e("mOdp"),m=e("y3NT"),y=e("0/Rx");g.registerVisual(f.curry(b,"sunburst")),g.registerLayout(f.curry(m,"sunburst")),g.registerProcessor(f.curry(y,"sunburst"))},"24YM":function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.SensorTabIndex=I.SensorClassName=I.SizeSensorId=void 0;var g="size-sensor-id";I.SizeSensorId=g;var f="size-sensor-object";I.SensorClassName=f;var b="-1";I.SensorTabIndex=b},"2548":function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("6GrX"),m=e("IUWy"),y=e("IwbS"),h=e("Qxkt"),u=e("gPAo"),i=e("eRkO"),a=g.extendComponentView({type:"toolbox",render:function(o,d,n,l){var t=this.group;if(t.removeAll(),!o.get("show"))return;var s=+o.get("itemSize"),c=o.get("feature")||{},p=this._features||(this._features={}),A=[];f.each(c,function(x,E){A.push(E)}),new u(this._featureNames||[],A).add(w).update(w).remove(f.curry(w,null)).execute(),this._featureNames=A;function w(x,E){var T=A[x],_=A[E],v=c[T],S=new h(v,o,o.ecModel),O;if(l&&l.newTitle!=null&&l.featureName===T&&(v.title=l.newTitle),T&&!_){if(r(T))O={model:S,onclick:S.option.onclick,featureName:T};else{var L=m.get(T);if(!L)return;O=new L(S,d,n)}p[T]=O}else{if(O=p[_],!O)return;O.model=S,O.ecModel=d,O.api=n}if(!T&&_){O.dispose&&O.dispose(d,n);return}if(!S.get("show")||O.unusable){O.remove&&O.remove(d,n);return}C(S,O,T),S.setIconStatus=function(M,F){var U=this.option,z=this.iconPaths;U.iconStatus=U.iconStatus||{},U.iconStatus[M]=F,z[M]&&z[M].trigger(F)},O.render&&O.render(S,d,n,l)}function C(x,E,T){var _=x.getModel("iconStyle"),v=x.getModel("emphasis.iconStyle"),S=E.getIcons?E.getIcons():x.get("icon"),O=x.get("title")||{};if(typeof S=="string"){var L=S,M=O;S={},O={},S[T]=L,O[T]=M}var F=x.iconPaths={};f.each(S,function(U,z){var W=y.createIcon(U,{},{x:-s/2,y:-s/2,width:s,height:s});W.setStyle(_.getItemStyle()),W.hoverStyle=v.getItemStyle(),W.setStyle({text:O[z],textAlign:v.get("textAlign"),textBorderRadius:v.get("textBorderRadius"),textPadding:v.get("textPadding"),textFill:null});var N=o.getModel("tooltip");N&&N.get("show")&&W.attr("tooltip",f.extend({content:O[z],formatter:N.get("formatter",!0)||function(){return O[z]},formatterParams:{componentType:"toolbox",name:z,title:O[z],$vars:["name","title"]},position:N.get("position",!0)||"bottom"},N.option)),y.setHoverStyle(W),o.get("showTitle")&&(W.__title=O[z],W.on("mouseover",function(){var H=v.getItemStyle(),j=o.get("orient")==="vertical"?o.get("right")==null?"right":"left":o.get("bottom")==null?"bottom":"top";W.setStyle({textFill:v.get("textFill")||H.fill||H.stroke||"#000",textBackgroundColor:v.get("textBackgroundColor"),textPosition:v.get("textPosition")||j})}).on("mouseout",function(){W.setStyle({textFill:null,textBackgroundColor:null})})),W.trigger(x.get("iconStatus."+z)||"normal"),t.add(W),W.on("click",f.bind(E.onclick,E,d,n,z)),F[z]=W})}i.layout(t,o,n),t.add(i.makeBackground(t.getBoundingRect(),o)),t.eachChild(function(x){var E=x.__title,T=x.hoverStyle;if(T&&E){var _=b.getBoundingRect(E,b.makeFont(T)),v=x.position[0]+t.position[0],S=x.position[1]+t.position[1]+s,O=!1;S+_.height>n.getHeight()&&(T.textPosition="top",O=!0);var L=O?-5-_.height:s+8;v+_.width/2>n.getWidth()?(T.textPosition=["100%",L],T.textAlign="right"):v-_.width/2<0&&(T.textPosition=[0,L],T.textAlign="left")}})},updateView:function(o,d,n,l){f.each(this._features,function(t){t.updateView&&t.updateView(t.model,d,n,l)})},remove:function(o,d){f.each(this._features,function(n){n.remove&&n.remove(o,d)}),this.group.removeAll()},dispose:function(o,d){f.each(this._features,function(n){n.dispose&&n.dispose(o,d)})}});function r(o){return o.indexOf("my")===0}R.exports=a},"2B6p":function(R,I){function e(g,f,b){var m=g.getZoom(),y=g.getCenter(),h=f.zoom,u=g.dataToPoint(y);if(f.dx!=null&&f.dy!=null){u[0]-=f.dx,u[1]-=f.dy;var y=g.pointToData(u);g.setCenter(y)}if(h!=null){if(b){var i=b.min||0,a=b.max||Infinity;h=Math.max(Math.min(m*h,a),i)/m}g.scale[0]*=h,g.scale[1]*=h;var r=g.position,o=(f.originX-r[0])*(h-1),d=(f.originY-r[1])*(h-1);r[0]-=o,r[1]-=d,g.updateTransform();var y=g.pointToData(u);g.setCenter(y),g.setZoom(h*m)}return{center:g.getCenter(),zoom:g.getZoom()}}I.updateCenterAndZoom=e},"2BaD":function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="CloseCircleOutlined";var h=I.a=g.forwardRef(y)},"2DNl":function(R,I,e){var g=e("IMiH"),f=e("loD1"),b=e("59Ip"),m=e("aKvl"),y=e("n1HI"),h=e("hX1E"),u=h.normalizeRadian,i=e("Sj9i"),a=e("hyiK"),r=g.CMD,o=Math.PI*2,d=1e-4;function n(E,T){return Math.abs(E-T)<d}var l=[-1,-1,-1],t=[-1,-1];function s(){var E=t[0];t[0]=t[1],t[1]=E}function c(E,T,_,v,S,O,L,M,F,U){if(U>T&&U>v&&U>O&&U>M||U<T&&U<v&&U<O&&U<M)return 0;var z=i.cubicRootAt(T,v,O,M,U,l);if(z===0)return 0;for(var W=0,N=-1,H,j,k=0;k<z;k++){var B=l[k],V=B===0||B===1?.5:1,K=i.cubicAt(E,_,S,L,B);if(K<F)continue;N<0&&(N=i.cubicExtrema(T,v,O,M,t),t[1]<t[0]&&N>1&&s(),H=i.cubicAt(T,v,O,M,t[0]),N>1&&(j=i.cubicAt(T,v,O,M,t[1]))),N===2?B<t[0]?W+=H<T?V:-V:B<t[1]?W+=j<H?V:-V:W+=M<j?V:-V:B<t[0]?W+=H<T?V:-V:W+=M<H?V:-V}return W}function p(E,T,_,v,S,O,L,M){if(M>T&&M>v&&M>O||M<T&&M<v&&M<O)return 0;var F=i.quadraticRootAt(T,v,O,M,l);if(F===0)return 0;var U=i.quadraticExtremum(T,v,O);if(U>=0&&U<=1){for(var z=0,W=i.quadraticAt(T,v,O,U),N=0;N<F;N++){var H=l[N]===0||l[N]===1?.5:1,j=i.quadraticAt(E,_,S,l[N]);if(j<L)continue;l[N]<U?z+=W<T?H:-H:z+=O<W?H:-H}return z}else{var H=l[0]===0||l[0]===1?.5:1,j=i.quadraticAt(E,_,S,l[0]);return j<L?0:O<T?H:-H}}function A(E,T,_,v,S,O,L,M){if(M-=T,M>_||M<-_)return 0;var F=Math.sqrt(_*_-M*M);l[0]=-F,l[1]=F;var U=Math.abs(v-S);if(U<1e-4)return 0;if(U%o<1e-4){v=0,S=o;var z=O?1:-1;return L>=l[0]+E&&L<=l[1]+E?z:0}if(O){var F=v;v=u(S),S=u(F)}else v=u(v),S=u(S);v>S&&(S+=o);for(var W=0,N=0;N<2;N++){var H=l[N];if(H+E>L){var j=Math.atan2(M,H),z=O?1:-1;j<0&&(j=o+j),(j>=v&&j<=S||j+o>=v&&j+o<=S)&&(j>Math.PI/2&&j<Math.PI*1.5&&(z=-z),W+=z)}}return W}function w(E,T,_,v,S){for(var O=0,L=0,M=0,F=0,U=0,z=0;z<E.length;){var W=E[z++];W===r.M&&z>1&&(_||(O+=a(L,M,F,U,v,S))),z===1&&(L=E[z],M=E[z+1],F=L,U=M);switch(W){case r.M:F=E[z++],U=E[z++],L=F,M=U;break;case r.L:if(_){if(f.containStroke(L,M,E[z],E[z+1],T,v,S))return!0}else O+=a(L,M,E[z],E[z+1],v,S)||0;L=E[z++],M=E[z++];break;case r.C:if(_){if(b.containStroke(L,M,E[z++],E[z++],E[z++],E[z++],E[z],E[z+1],T,v,S))return!0}else O+=c(L,M,E[z++],E[z++],E[z++],E[z++],E[z],E[z+1],v,S)||0;L=E[z++],M=E[z++];break;case r.Q:if(_){if(m.containStroke(L,M,E[z++],E[z++],E[z],E[z+1],T,v,S))return!0}else O+=p(L,M,E[z++],E[z++],E[z],E[z+1],v,S)||0;L=E[z++],M=E[z++];break;case r.A:var N=E[z++],H=E[z++],j=E[z++],k=E[z++],B=E[z++],V=E[z++];z+=1;var K=1-E[z++],Y=Math.cos(B)*j+N,Q=Math.sin(B)*k+H;z>1?O+=a(L,M,Y,Q,v,S):(F=Y,U=Q);var he=(v-N)*k/j+N;if(_){if(y.containStroke(N,H,k,B,B+V,K,T,he,S))return!0}else O+=A(N,H,k,B,B+V,K,he,S);L=Math.cos(B+V)*j+N,M=Math.sin(B+V)*k+H;break;case r.R:F=L=E[z++],U=M=E[z++];var G=E[z++],ye=E[z++],Y=F+G,Q=U+ye;if(_){if(f.containStroke(F,U,Y,U,T,v,S)||f.containStroke(Y,U,Y,Q,T,v,S)||f.containStroke(Y,Q,F,Q,T,v,S)||f.containStroke(F,Q,F,U,T,v,S))return!0}else O+=a(Y,U,Y,Q,v,S),O+=a(F,Q,F,U,v,S);break;case r.Z:if(_){if(f.containStroke(L,M,F,U,T,v,S))return!0}else O+=a(L,M,F,U,v,S);L=F,M=U;break}}return!_&&!n(M,U)&&(O+=a(L,M,F,U,v,S)||0),O!==0}function C(E,T,_){return w(E,0,!1,T,_)}function x(E,T,_,v){return w(E,T,!0,_,v)}I.contain=C,I.containStroke=x},"2Qr1":function(R,I,e){"use strict";e.d(I,"d",function(){return n}),e.d(I,"c",function(){return t}),e.d(I,"e",function(){return s}),e.d(I,"b",function(){return A}),e.d(I,"f",function(){return w}),e.d(I,"g",function(){return C}),e.d(I,"a",function(){return x});var g=e("rePB"),f=e("KQm4"),b=e("DSFK"),m=e("25BE"),y=e("BsWD"),h=e("PYwp");function u(E){return Object(b.a)(E)||Object(m.a)(E)||Object(y.a)(E)||Object(h.a)()}var i=e("U8pU"),a=e("VTBJ"),r=e("Kwbf"),o=e("WKfj");function d(E,T){var _=E.key,v;return"value"in E&&(v=E.value),_!=null?_:v!==void 0?v:"rc-index-key-".concat(T)}function n(E){var T=[];function _(v,S){v.forEach(function(O){S||!("options"in O)?T.push({key:d(O,T.length),groupOption:S,data:O}):(T.push({key:d(O,T.length),group:!0,data:O}),_(O.options,!0))})}return _(E,!1),T}function l(E){var T=Object(a.a)({},E);return"props"in T||Object.defineProperty(T,"props",{get:function(){return Object(r.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),T}}),T}function t(E,T){var _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},v=_.prevValueOptions,S=v===void 0?[]:v,O=new Map;return T.forEach(function(L){if(!L.group){var M=L.data;O.set(M.value,M)}}),E.map(function(L){var M=O.get(L);return M||(M=Object(a.a)({},S.find(function(F){return F._INTERNAL_OPTION_VALUE_===L}))),l(M)})}var s=function(T,_){var v=_.options,S=_.prevValue,O=_.labelInValue,L=_.optionLabelProp,M=t([T],v)[0],F={value:T},U,z=Object(o.d)(S);return O&&(U=z.find(function(W){return Object(i.a)(W)==="object"&&"value"in W?W.value===T:W.key===T})),U&&Object(i.a)(U)==="object"&&"label"in U?(F.label=U.label,M&&typeof U.label=="string"&&typeof M[L]=="string"&&U.label.trim()!==M[L].trim()&&Object(r.a)(!1,"`label` of `value` is not same as `label` in Select options.")):M&&L in M?F.label=M[L]:F.label=T,F.key=F.value,F};function c(E){return Object(o.d)(E).join("")}function p(E){return function(T,_){var v=T.toLowerCase();if("options"in _)return c(_.label).toLowerCase().includes(v);var S=_[E],O=c(S).toLowerCase();return O.includes(v)&&!_.disabled}}function A(E,T,_){var v=_.optionFilterProp,S=_.filterOption,O=[],L;return S===!1?T:(typeof S=="function"?L=S:L=p(v),T.forEach(function(M){if("options"in M){var F=L(E,M);if(F)O.push(M);else{var U=M.options.filter(function(z){return L(E,z)});U.length&&O.push(Object(a.a)(Object(a.a)({},M),{},{options:U}))}return}L(E,l(M))&&O.push(M)}),O)}function w(E,T){if(!T||!T.length)return null;var _=!1;function v(O,L){var M=u(L),F=M[0],U=M.slice(1);if(!F)return[O];var z=O.split(F);return _=_||z.length>1,z.reduce(function(W,N){return[].concat(Object(f.a)(W),Object(f.a)(v(N,U)))},[]).filter(function(W){return W})}var S=v(E,T);return _?S:null}function C(E,T){var _=t([E],T)[0];return _.disabled}function x(E,T,_,v){var S=Object(o.d)(T).slice().sort(),O=Object(f.a)(E),L=new Set;return E.forEach(function(M){M.options?M.options.forEach(function(F){L.add(F.value)}):L.add(M.value)}),S.forEach(function(M){var F=v?M.value:M;if(!L.has(F)){var U;O.push(v?(U={},Object(g.a)(U,_,M.label),Object(g.a)(U,"value",F),U):{value:F})}}),O}},"2dDv":function(R,I,e){var g=e("bYtY"),f=e("Fofx"),b=e("+TT/"),m=e("aX7z"),y=e("D1WM"),h=e("IwbS"),u=e("OELB"),i=e("72pK"),a=g.each,r=Math.min,o=Math.max,d=Math.floor,n=Math.ceil,l=u.round,t=Math.PI;function s(C,x,E){this._axesMap=g.createHashMap(),this._axesLayout={},this.dimensions=C.dimensions,this._rect,this._model=C,this._init(C,x,E)}s.prototype={type:"parallel",constructor:s,_init:function(C,x,E){var T=C.dimensions,_=C.parallelAxisIndex;a(T,function(v,S){var O=_[S],L=x.getComponent("parallelAxis",O),M=this._axesMap.set(v,new y(v,m.createScaleByModel(L),[0,0],L.get("type"),O)),F=M.type==="category";M.onBand=F&&L.get("boundaryGap"),M.inverse=L.get("inverse"),L.axis=M,M.model=L,M.coordinateSystem=L.coordinateSystem=this},this)},update:function(C,x){this._updateAxesFromSeries(this._model,C)},containPoint:function(C){var x=this._makeLayoutInfo(),E=x.axisBase,T=x.layoutBase,_=x.pixelDimIndex,v=C[1-_],S=C[_];return v>=E&&v<=E+x.axisLength&&S>=T&&S<=T+x.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(C,x){x.eachSeries(function(E){if(!C.contains(E,x))return;var T=E.getData();a(this.dimensions,function(_){var v=this._axesMap.get(_);v.scale.unionExtentFromData(T,T.mapDimension(_)),m.niceScaleExtent(v.scale,v.model)},this)},this)},resize:function(C,x){this._rect=b.getLayoutRect(C.getBoxLayoutParams(),{width:x.getWidth(),height:x.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var C=this._model,x=this._rect,E=["x","y"],T=["width","height"],_=C.get("layout"),v=_==="horizontal"?0:1,S=x[T[v]],O=[0,S],L=this.dimensions.length,M=c(C.get("axisExpandWidth"),O),F=c(C.get("axisExpandCount")||0,[0,L]),U=C.get("axisExpandable")&&L>3&&L>F&&F>1&&M>0&&S>0,z=C.get("axisExpandWindow"),W;if(z)W=c(z[1]-z[0],O),z[1]=z[0]+W;else{W=c(M*(F-1),O);var N=C.get("axisExpandCenter")||d(L/2);z=[M*N-W/2],z[1]=z[0]+W}var H=(S-W)/(L-F);H<3&&(H=0);var j=[d(l(z[0]/M,1))+1,n(l(z[1]/M,1))-1],k=H/M*z[0];return{layout:_,pixelDimIndex:v,layoutBase:x[E[v]],layoutLength:S,axisBase:x[E[1-v]],axisLength:x[T[1-v]],axisExpandable:U,axisExpandWidth:M,axisCollapseWidth:H,axisExpandWindow:z,axisCount:L,winInnerIndices:j,axisExpandWindow0Pos:k}},_layoutAxes:function(){var C=this._rect,x=this._axesMap,E=this.dimensions,T=this._makeLayoutInfo(),_=T.layout;x.each(function(v){var S=[0,T.axisLength],O=v.inverse?1:0;v.setExtent(S[O],S[1-O])}),a(E,function(v,S){var O=(T.axisExpandable?A:p)(S,T),L={horizontal:{x:O.position,y:T.axisLength},vertical:{x:0,y:O.position}},M={horizontal:t/2,vertical:0},F=[L[_].x+C.x,L[_].y+C.y],U=M[_],z=f.create();f.rotate(z,z,U),f.translate(z,z,F),this._axesLayout[v]={position:F,rotation:U,transform:z,axisNameAvailableWidth:O.axisNameAvailableWidth,axisLabelShow:O.axisLabelShow,nameTruncateMaxWidth:O.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(C){return this._axesMap.get(C)},dataToPoint:function(C,x){return this.axisCoordToPoint(this._axesMap.get(x).dataToCoord(C),x)},eachActiveState:function(C,x,E,T){E==null&&(E=0),T==null&&(T=C.count());var _=this._axesMap,v=this.dimensions,S=[],O=[];g.each(v,function(H){S.push(C.mapDimension(H)),O.push(_.get(H).model)});for(var L=this.hasAxisBrushed(),M=E;M<T;M++){var F;if(!L)F="normal";else{F="active";for(var U=C.getValues(S,M),z=0,W=v.length;z<W;z++){var N=O[z].getActiveState(U[z]);if(N==="inactive"){F="inactive";break}}}x(F,M)}},hasAxisBrushed:function(){for(var C=this.dimensions,x=this._axesMap,E=!1,T=0,_=C.length;T<_;T++)x.get(C[T]).model.getActiveState()!=="normal"&&(E=!0);return E},axisCoordToPoint:function(C,x){var E=this._axesLayout[x];return h.applyTransform([C,0],E.transform)},getAxisLayout:function(C){return g.clone(this._axesLayout[C])},getSlidedAxisExpandWindow:function(C){var x=this._makeLayoutInfo(),E=x.pixelDimIndex,T=x.axisExpandWindow.slice(),_=T[1]-T[0],v=[0,x.axisExpandWidth*(x.axisCount-1)];if(!this.containPoint(C))return{behavior:"none",axisExpandWindow:T};var S=C[E]-x.layoutBase-x.axisExpandWindow0Pos,O,L="slide",M=x.axisCollapseWidth,F=this._model.get("axisExpandSlideTriggerArea"),U=F[0]!=null;if(M)U&&M&&S<_*F[0]?(L="jump",O=S-_*F[2]):U&&M&&S>_*(1-F[0])?(L="jump",O=S-_*(1-F[2])):(O=S-_*F[1])>=0&&(O=S-_*(1-F[1]))<=0&&(O=0),O*=x.axisExpandWidth/M,O?i(O,T,v,"all"):L="none";else{var _=T[1]-T[0],z=v[1]*S/_;T=[o(0,z-_/2)],T[1]=r(v[1],T[0]+_),T[0]=T[1]-_}return{axisExpandWindow:T,behavior:L}}};function c(C,x){return r(o(C,x[0]),x[1])}function p(C,x){var E=x.layoutLength/(x.axisCount-1);return{position:E*C,axisNameAvailableWidth:E,axisLabelShow:!0}}function A(C,x){var E=x.layoutLength,T=x.axisExpandWidth,_=x.axisCount,v=x.axisCollapseWidth,S=x.winInnerIndices,O,L=v,M=!1,F;return C<S[0]?(O=C*v,F=v):C<=S[1]?(O=x.axisExpandWindow0Pos+C*T-x.axisExpandWindow[0],L=T,M=!0):(O=E-(_-1-C)*v,F=v),{position:O,axisNameAvailableWidth:L,axisLabelShow:M,nameTruncateMaxWidth:F}}var w=s;R.exports=w},"2fGM":function(R,I,e){var g=e("bYtY"),f=e("bLfw"),b=e("nkfE"),m=e("ICMv"),y=f.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});g.merge(y.prototype,m);var h={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function u(i,a){return a.type||(a.data?"category":"value")}b("angle",y,u,h.angle),b("radius",y,u,h.radius)},"2fM7":function(R,I,e){"use strict";var g=e("lSNA"),f=e.n(g),b=e("pVnL"),m=e.n(b),y=e("lwsE"),h=e.n(y),u=e("W8MJ"),i=e.n(u),a=e("7W2i"),r=e.n(a),o=e("LQ03"),d=e.n(o),n=e("q1tI"),l=e("BGR+"),t=e("TSYQ"),s=e.n(t),c=e("1OyB"),p=e("vuIU"),A=e("Ji7U"),w=e("LK+K"),C=e("rePB"),x=e("Ff2n"),E=e("ODXe"),T=e("4IlW"),_=e("bX4T"),v=e("YrtM"),S=e("+nKL"),O=e("8OUc"),L=function(X,Z){var pe=X.prefixCls,oe=X.id,Ie=X.flattenOptions,fe=X.childrenAsData,te=X.values,J=X.searchValue,ve=X.multiple,De=X.defaultActiveFirstOption,ze=X.height,dt=X.itemHeight,Me=X.notFoundContent,Tt=X.open,je=X.menuItemSelectedIcon,st=X.virtual,Xe=X.onSelect,Je=X.onToggleOpen,et=X.onActiveValue,ot=X.onScroll,Ve=X.onMouseEnter,ue="".concat(pe,"-item"),ae=Object(v.a)(function(){return Ie},[Tt,Ie],function(Ce,Ee){return Ee[0]&&Ce[1]!==Ee[1]}),lt=n.useRef(null),Ze=function(Ee){Ee.preventDefault()},Te=function(Ee){lt.current&&lt.current.scrollTo({index:Ee})},Jt=function(Ee){for(var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Fe=ae.length,Ye=0;Ye<Fe;Ye+=1){var Ge=(Ee+Ye*we+Fe)%Fe,qe=ae[Ge],Ke=qe.group,ut=qe.data;if(!Ke&&!ut.disabled)return Ge}return-1},mt=n.useState(function(){return Jt(0)}),ft=Object(E.a)(mt,2),bt=ft[0],Lt=ft[1],or=function(Ee){Lt(Ee);var we=ae[Ee];if(!we){et(null,-1);return}et(we.data.value,Ee)};n.useEffect(function(){or(De!==!1?Jt(0):-1)},[ae.length,J]),n.useEffect(function(){var Ce=setTimeout(function(){if(!ve&&Tt&&te.size===1){var Ee=Array.from(te)[0],we=ae.findIndex(function(Fe){var Ye=Fe.data;return Ye.value===Ee});or(we),Te(we)}});return function(){return clearTimeout(Ce)}},[Tt]);var Bt=function(Ee){Ee!==void 0&&Xe(Ee,{selected:!te.has(Ee)}),ve||Je(!1)};if(n.useImperativeHandle(Z,function(){return{onKeyDown:function(Ee){var we=Ee.which;switch(we){case T.a.UP:case T.a.DOWN:{var Fe=0;if(we===T.a.UP?Fe=-1:we===T.a.DOWN&&(Fe=1),Fe!==0){var Ye=Jt(bt+Fe,Fe);Te(Ye),or(Ye)}break}case T.a.ENTER:{var Ge=ae[bt];Ge&&!Ge.data.disabled?Bt(Ge.data.value):Bt(void 0),Tt&&Ee.preventDefault();break}case T.a.ESC:Je(!1)}},onKeyUp:function(){},scrollTo:function(Ee){Te(Ee)}}}),ae.length===0)return n.createElement("div",{role:"listbox",id:"".concat(oe,"_list"),className:"".concat(ue,"-empty"),onMouseDown:Ze},Me);function _e(Ce){var Ee=ae[Ce];if(!Ee)return null;var we=Ee.data||{},Fe=we.value,Ye=we.label,Ge=we.children,qe=Object(_.a)(we,!0),Ke=fe?Ge:Ye;return Ee?n.createElement("div",Object.assign({"aria-label":typeof Ke=="string"?Ke:null},qe,{key:Ce,role:"option",id:"".concat(oe,"_list_").concat(Ce),"aria-selected":te.has(Fe)}),Fe):null}return n.createElement(n.Fragment,null,n.createElement("div",{role:"listbox",id:"".concat(oe,"_list"),style:{height:0,width:0,overflow:"hidden"}},_e(bt-1),_e(bt),_e(bt+1)),n.createElement(S.a,{itemKey:"key",ref:lt,data:ae,height:ze,itemHeight:dt,fullHeight:!1,onMouseDown:Ze,onScroll:ot,virtual:st,onMouseEnter:Ve},function(Ce,Ee){var we,Fe=Ce.group,Ye=Ce.groupOption,Ge=Ce.data,qe=Ge.label,Ke=Ge.key;if(Fe)return n.createElement("div",{className:s()(ue,"".concat(ue,"-group"))},qe!==void 0?qe:Ke);var ut=Ge.disabled,wt=Ge.value,It=Ge.title,de=Ge.children,xe=Ge.style,$=Ge.className,le=Object(x.a)(Ge,["disabled","value","title","children","style","className"]),Oe=te.has(wt),ke="".concat(ue,"-option"),Ue=s()(ue,ke,$,(we={},Object(C.a)(we,"".concat(ke,"-grouped"),Ye),Object(C.a)(we,"".concat(ke,"-active"),bt===Ee&&!ut),Object(C.a)(we,"".concat(ke,"-disabled"),ut),Object(C.a)(we,"".concat(ke,"-selected"),Oe),we)),nt=fe?de:qe,At=!je||typeof je=="function"||Oe;return n.createElement("div",Object.assign({},le,{"aria-selected":Oe,className:Ue,title:It,onMouseMove:function(){if(bt===Ee||ut)return;or(Ee)},onClick:function(){ut||Bt(wt)},style:xe}),n.createElement("div",{className:"".concat(ke,"-content")},nt||wt),n.isValidElement(je)||Oe,At&&n.createElement(O.a,{className:"".concat(ue,"-option-state"),customizeIcon:je,customizeIconProps:{isSelected:Oe}},Oe?"\u2713":null))}))},M=n.forwardRef(L);M.displayName="OptionList";var F=M,U=function(){return null};U.isSelectOption=!0;var z=U,W=function(){return null};W.isSelectOptGroup=!0;var N=W,H=e("VTBJ"),j=e("Zm9Q");function k(q){var X=q.key,Z=q.props,pe=Z.children,oe=Z.value,Ie=Object(x.a)(Z,["children","value"]);return Object(H.a)({key:X,value:oe!==void 0?oe:X,children:pe},Ie)}function B(q){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(j.a)(q).map(function(Z,pe){if(!n.isValidElement(Z)||!Z.type)return null;var oe=Z.type.isSelectOptGroup,Ie=Z.key,fe=Z.props,te=fe.children,J=Object(x.a)(fe,["children"]);return X||!oe?k(Z):Object(H.a)(Object(H.a)({key:"__RC_SELECT_GRP__".concat(Ie===null?pe:Ie,"__"),label:Ie},J),{},{options:B(te)})}).filter(function(Z){return Z})}var V=e("2Qr1"),K=e("qNPg"),Y=e("U8pU"),Q=e("Kwbf"),he=e("WKfj");function G(q){var X=q.mode,Z=q.options,pe=q.children,oe=q.backfill,Ie=q.allowClear,fe=q.placeholder,te=q.getInputElement,J=q.showSearch,ve=q.onSearch,De=q.defaultOpen,ze=q.autoFocus,dt=q.labelInValue,Me=q.value,Tt=q.inputValue,je=q.optionLabelProp,st=X==="multiple"||X==="tags",Xe=J!==void 0?J:st||X==="combobox",Je=Z||B(pe);if(Object(Q.a)(X!=="tags"||Je.every(function(ue){return!ue.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),X==="tags"||X==="combobox"){var et=Je.some(function(ue){return ue.options?ue.options.some(function(ae){return typeof("value"in ae?ae.value:ae.key)=="number"}):typeof("value"in ue?ue.value:ue.key)=="number"});Object(Q.a)(!et,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(Q.a)(X!=="combobox"||!je,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(Q.a)(X==="combobox"||!oe,"`backfill` only works with `combobox` mode."),Object(Q.a)(X==="combobox"||!te,"`getInputElement` only work with `combobox` mode."),Object(Q.b)(X!=="combobox"||!te||!Ie||!fe,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),ve&&!Xe&&X!=="combobox"&&X!=="tags"&&Object(Q.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(Q.b)(!De||ze,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Me!=null){var ot=Object(he.d)(Me);Object(Q.a)(!dt||ot.every(function(ue){return Object(Y.a)(ue)==="object"&&("key"in ue||"value"in ue)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(Q.a)(!st||Array.isArray(Me),"`value` should be array when `mode` is `multiple` or `tags`")}if(pe){var Ve=null;Object(j.a)(pe).some(function(ue){if(!n.isValidElement(ue)||!ue.type)return!1;var ae=ue.type;if(ae.isSelectOption)return!1;if(ae.isSelectOptGroup){var lt=Object(j.a)(ue.props.children).every(function(Ze){return!n.isValidElement(Ze)||!ue.type||Ze.type.isSelectOption?!0:(Ve=Ze.type,!1)});return!lt}return Ve=ae,!0}),Ve&&Object(Q.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ve.displayName||Ve.name||Ve,"`.")),Object(Q.a)(Tt===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var ye=G,Ae=Object(K.a)({prefixCls:"rc-select",components:{optionList:F},convertChildrenToData:B,flattenOptions:V.d,getLabeledValue:V.e,filterOptions:V.b,isValueDisabled:V.g,findValueOption:V.c,warningProps:ye,fillOptionsWithMissingValue:V.a}),ge=function(q){Object(A.a)(Z,q);var X=Object(w.a)(Z);function Z(){var pe;return Object(c.a)(this,Z),pe=X.apply(this,arguments),pe.selectRef=n.createRef(),pe.focus=function(){pe.selectRef.current.focus()},pe.blur=function(){pe.selectRef.current.blur()},pe}return Object(p.a)(Z,[{key:"render",value:function(){return n.createElement(Ae,Object.assign({ref:this.selectRef},this.props))}}]),Z}(n.Component);ge.Option=z,ge.OptGroup=N;var Pe=ge,Re=Pe,rt=e("H84U"),ne=e("1vzs"),be=e("3Nzz"),at=function(q){r()(Z,q);var X=d()(Z);function Z(){var pe;return h()(this,Z),pe=X.apply(this,arguments),pe.selectRef=n.createRef(),pe.focus=function(){pe.selectRef.current&&pe.selectRef.current.focus()},pe.blur=function(){pe.selectRef.current&&pe.selectRef.current.blur()},pe.getMode=function(){var oe=pe.props.mode;return oe==="combobox"?void 0:oe===Z.SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":oe},pe.renderSelect=function(oe){var Ie=oe.getPopupContainer,fe=oe.getPrefixCls,te=oe.renderEmpty,J=oe.direction,ve=oe.virtual,De=oe.dropdownMatchSelectWidth,ze=pe.props,dt=ze.prefixCls,Me=ze.notFoundContent,Tt=ze.className,je=ze.size,st=ze.listHeight,Xe=st===void 0?256:st,Je=ze.listItemHeight,et=Je===void 0?24:Je,ot=ze.getPopupContainer,Ve=ze.dropdownClassName,ue=ze.bordered,ae=fe("select",dt),lt=pe.getMode(),Ze=lt==="multiple"||lt==="tags",Te;Me!==void 0?Te=Me:lt==="combobox"?Te=null:Te=te("Select");var Jt=Object(ne.a)(m()(m()({},pe.props),{multiple:Ze,prefixCls:ae})),mt=Jt.suffixIcon,ft=Jt.itemIcon,bt=Jt.removeIcon,Lt=Jt.clearIcon,or=Object(l.default)(pe.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),Bt=s()(Ve,f()({},"".concat(ae,"-dropdown-").concat(J),J==="rtl"));return n.createElement(be.b.Consumer,null,function(_e){var Ce,Ee=je||_e,we=s()(Tt,(Ce={},f()(Ce,"".concat(ae,"-lg"),Ee==="large"),f()(Ce,"".concat(ae,"-sm"),Ee==="small"),f()(Ce,"".concat(ae,"-rtl"),J==="rtl"),f()(Ce,"".concat(ae,"-borderless"),!ue),Ce));return n.createElement(Re,m()({ref:pe.selectRef,virtual:ve,dropdownMatchSelectWidth:De},or,{listHeight:Xe,listItemHeight:et,mode:lt,prefixCls:ae,direction:J,inputIcon:mt,menuItemSelectedIcon:ft,removeIcon:bt,clearIcon:Lt,notFoundContent:Te,className:we,getPopupContainer:ot||Ie,dropdownClassName:Bt}))})},pe}return i()(Z,[{key:"render",value:function(){return n.createElement(rt.a,null,this.renderSelect)}}]),Z}(n.Component);at.Option=z,at.OptGroup=N,at.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",at.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var se=I.a=at},"2fw6":function(R,I,e){var g=e("y+Vt"),f=g.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(m,y,h){h&&m.moveTo(y.cx+y.r,y.cy),m.arc(y.cx,y.cy,y.r,0,Math.PI*2,!0)}});R.exports=f},"2gN3":function(R,I,e){var g=e("Kz5y"),f=g["__core-js_shared__"];R.exports=f},"2jpz":function(R,I,e){"use strict";e.d(I,"a",function(){return p});var g=e("cDf5"),f=e.n(g),b=e("q1tI"),m=e.n(b),y=e("TSYQ"),h=e.n(y),u=e("gZBC"),i=e.n(u),a=e("vk+C"),r=e.n(a),o=e("pG52"),d=e.n(o),n=e("Csr3"),l=e.n(n),t=e("e5VY"),s=e.n(t),c=e("0n0R");function p(A,w,C,x){var E=x.isLeaf,T=x.expanded,_=x.loading;if(_)return b.createElement(i.a,{className:"".concat(A,"-switcher-loading-icon")});var v;if(C&&f()(C)==="object"&&(v=C.showLeafIcon),E)return C?f()(C)==="object"&&!v?b.createElement("span",{className:"".concat(A,"-switcher-leaf-line")}):b.createElement(r.a,{className:"".concat(A,"-switcher-line-icon")}):null;var S="".concat(A,"-switcher-icon");return Object(c.b)(w)?Object(c.a)(w,{className:h()(w.props.className||"",S)}):w||(C?T?b.createElement(d.a,{className:"".concat(A,"-switcher-line-icon")}):b.createElement(l.a,{className:"".concat(A,"-switcher-line-icon")}):b.createElement(s.a,{className:S}))}},"2oIt":function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};I.default=g},"2uGb":function(R,I,e){var g=e("ProS");e("ko1b"),e("s2lz"),e("RBEP");var f=e("kMLO"),b=e("nKiI");g.registerVisual(f),g.registerLayout(b)},"2w7y":function(R,I,e){var g=e("ProS");e("qMZE"),e("g0SD"),g.registerPreprocessor(function(f){f.markPoint=f.markPoint||{}})},"33Ds":function(R,I,e){var g=e("ProS"),f=e("b9oc"),b=e("Kagy"),m=e("IUWy"),y=b.toolbox.restore;function h(a){this.model=a}h.defaultOption={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:y.title};var u=h.prototype;u.onclick=function(a,r,o){f.clear(a),r.dispatchAction({type:"restore",from:this.uid})},m.register("restore",h),g.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(a,r){r.resetOption("recreate")});var i=h;R.exports=i},"34/K":function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;function g(y,h){if(!(y instanceof h))throw new TypeError("Cannot call a class as a function")}function f(y,h){for(var u=0;u<h.length;u++){var i=h[u];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(y,i.key,i)}}function b(y,h,u){return h&&f(y.prototype,h),u&&f(y,u),y}var m=function(){function y(){g(this,y),this._lines=0}return b(y,[{key:"decodeRect",value:function(u,i,a,r,o,d,n){this._lines===0&&(this._lines=r);var l=n==8?1:4,t=a*l;if(o.rQwait("RAW",t))return!1;var s=i+(r-this._lines),c=Math.min(this._lines,Math.floor(o.rQlen/t)),p=o.rQ,A=o.rQi;if(n==8){for(var w=a*c,C=new Uint8Array(w*4),x=0;x<w;x++)C[x*4+0]=(p[A+x]>>0&3)*255/3,C[x*4+1]=(p[A+x]>>2&3)*255/3,C[x*4+2]=(p[A+x]>>4&3)*255/3,C[x*4+4]=0;p=C,A=0}return d.blitImage(u,s,a,c,p,A),o.rQskipBytes(c*t),this._lines-=c,!(this._lines>0)}}]),y}();I.default=m},"3690":function(R,I,e){"use strict";function g(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(o){return typeof o}:g=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},g(a)}Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var f=m(e("Lo0S"));function b(){if(typeof WeakMap!="function")return null;var a=new WeakMap;return b=function(){return a},a}function m(a){if(a&&a.__esModule)return a;if(a===null||g(a)!=="object"&&typeof a!="function")return{default:a};var r=b();if(r&&r.has(a))return r.get(a);var o={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in a)if(Object.prototype.hasOwnProperty.call(a,n)){var l=d?Object.getOwnPropertyDescriptor(a,n):null;l&&(l.get||l.set)?Object.defineProperty(o,n,l):o[n]=a[n]}return o.default=a,r&&r.set(a,o),o}function y(a,r){if(!(a instanceof r))throw new TypeError("Cannot call a class as a function")}function h(a,r){for(var o=0;o<r.length;o++){var d=r[o];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}function u(a,r,o){return r&&h(a.prototype,r),o&&h(a,o),a}var i=function(){function a(){y(this,a),this._tiles=0,this._lastsubencoding=0}return u(a,[{key:"decodeRect",value:function(o,d,n,l,t,s,c){for(this._tiles===0&&(this._tilesX=Math.ceil(n/16),this._tilesY=Math.ceil(l/16),this._totalTiles=this._tilesX*this._tilesY,this._tiles=this._totalTiles);this._tiles>0;){var p=1;if(t.rQwait("HEXTILE",p))return!1;var A=t.rQ,w=t.rQi,C=A[w];if(C>30)throw new Error("Illegal hextile subencoding (subencoding: "+C+")");var x=this._totalTiles-this._tiles,E=x%this._tilesX,T=Math.floor(x/this._tilesX),_=o+E*16,v=d+T*16,S=Math.min(16,o+n-_),O=Math.min(16,d+l-v);if(C&1)p+=S*O*4;else if(C&2&&(p+=4),C&4&&(p+=4),C&8){if(p++,t.rQwait("HEXTILE",p))return!1;var L=A[w+p-1];C&16?p+=L*(4+2):p+=L*2}if(t.rQwait("HEXTILE",p))return!1;if(w++,C===0)this._lastsubencoding&1?f.Debug(" Ignoring blank after RAW"):s.fillRect(_,v,S,O,this._background);else if(C&1)s.blitImage(_,v,S,O,A,w),w+=p-1;else{if(C&2&&(this._background=[A[w],A[w+1],A[w+2],A[w+3]],w+=4),C&4&&(this._foreground=[A[w],A[w+1],A[w+2],A[w+3]],w+=4),s.startTile(_,v,S,O,this._background),C&8){var M=A[w];w++;for(var F=0;F<M;F++){var U=void 0;C&16?(U=[A[w],A[w+1],A[w+2],A[w+3]],w+=4):U=this._foreground;var z=A[w];w++;var W=z>>4,N=z&15,H=A[w];w++;var j=(H>>4)+1,k=(H&15)+1;s.subTile(W,N,j,k,U)}}s.finishTile()}t.rQi=w,this._lastsubencoding=C,this._tiles--}return!0}}]),a}();I.default=i},"3A9y":function(R,I){function e(g){return this.__data__.has(g)}R.exports=e},"3C/r":function(R,I){var e=function(b,m){this.image=b,this.repeat=m,this.type="pattern"};e.prototype.getCanvasPattern=function(f){return f.createPattern(this.image,this.repeat||"repeat")};var g=e;R.exports=g},"3CBa":function(R,I,e){var g=e("hydK"),f=g.createElement,b=e("bYtY"),m=e("SUKs"),y=e("y+Vt"),h=e("Dagg"),u=e("dqUG"),i=e("DBLp"),a=e("sW+o"),r=e("n6Mw"),o=e("vKoX"),d=e("P47w"),n=d.path,l=d.image,t=d.text;function s(S){return parseInt(S,10)}function c(S){return S instanceof y?n:S instanceof h?l:S instanceof u?t:n}function p(S,O){return O&&S&&O.parentNode!==S}function A(S,O,L){if(p(S,O)&&L){var M=L.nextSibling;M?S.insertBefore(O,M):S.appendChild(O)}}function w(S,O){if(p(S,O)){var L=S.firstChild;L?S.insertBefore(O,L):S.appendChild(O)}}function C(S,O){O&&S&&O.parentNode===S&&S.removeChild(O)}function x(S){return S.__textSvgEl}function E(S){return S.__svgEl}var T=function(O,L,M,F){this.root=O,this.storage=L,this._opts=M=b.extend({},M||{});var U=f("svg");U.setAttribute("xmlns","http://www.w3.org/2000/svg"),U.setAttribute("version","1.1"),U.setAttribute("baseProfile","full"),U.style.cssText="user-select:none;position:absolute;left:0;top:0;";var z=f("g");U.appendChild(z);var W=f("g");U.appendChild(W),this.gradientManager=new a(F,W),this.clipPathManager=new r(F,W),this.shadowManager=new o(F,W);var N=document.createElement("div");N.style.cssText="overflow:hidden;position:relative",this._svgDom=U,this._svgRoot=W,this._backgroundRoot=z,this._viewport=N,O.appendChild(N),N.appendChild(U),this.resize(M.width,M.height),this._visibleList=[]};T.prototype={constructor:T,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var O=this.getViewportRoot();if(O)return{offsetLeft:O.offsetLeft||0,offsetTop:O.offsetTop||0}},refresh:function(){var O=this.storage.getDisplayList(!0);this._paintList(O)},setBackgroundColor:function(O){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var L=f("rect");L.setAttribute("width",this.getWidth()),L.setAttribute("height",this.getHeight()),L.setAttribute("x",0),L.setAttribute("y",0),L.setAttribute("id",0),L.style.fill=O,this._backgroundRoot.appendChild(L),this._backgroundNode=L},_paintList:function(O){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var L=this._svgRoot,M=this._visibleList,F=O.length,U=[],z;for(z=0;z<F;z++){var W=O[z],N=c(W),H=E(W)||x(W);W.invisible||(W.__dirty&&(N&&N.brush(W),this.clipPathManager.update(W),W.style&&(this.gradientManager.update(W.style.fill),this.gradientManager.update(W.style.stroke),this.shadowManager.update(H,W)),W.__dirty=!1),U.push(W))}var j=i(M,U),k;for(z=0;z<j.length;z++){var B=j[z];if(B.removed)for(var V=0;V<B.count;V++){var W=M[B.indices[V]],H=E(W),K=x(W);C(L,H),C(L,K)}}for(z=0;z<j.length;z++){var B=j[z];if(B.added)for(var V=0;V<B.count;V++){var W=U[B.indices[V]],H=E(W),K=x(W);k?A(L,H,k):w(L,H),H?A(L,K,H):k?A(L,K,k):w(L,K),A(L,K,H),k=K||H||k,this.gradientManager.addWithoutUpdate(H||K,W),this.shadowManager.addWithoutUpdate(H||K,W),this.clipPathManager.markUsed(W)}else if(!B.removed)for(var V=0;V<B.count;V++){var W=U[B.indices[V]],H=E(W),K=x(W),H=E(W),K=x(W);this.gradientManager.markUsed(W),this.gradientManager.addWithoutUpdate(H||K,W),this.shadowManager.markUsed(W),this.shadowManager.addWithoutUpdate(H||K,W),this.clipPathManager.markUsed(W),K&&A(L,K,H),k=H||K||k}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=U},_getDefs:function(O){var L=this._svgDom,M=L.getElementsByTagName("defs");if(M.length===0)if(O){var M=L.insertBefore(f("defs"),L.firstChild);return M.contains||(M.contains=function(U){var z=M.children;if(!z)return!1;for(var W=z.length-1;W>=0;--W)if(z[W]===U)return!0;return!1}),M}else return null;else return M[0]},resize:function(O,L){var M=this._viewport;M.style.display="none";var F=this._opts;if(O!=null&&(F.width=O),L!=null&&(F.height=L),O=this._getSize(0),L=this._getSize(1),M.style.display="",this._width!==O||this._height!==L){this._width=O,this._height=L;var U=M.style;U.width=O+"px",U.height=L+"px";var z=this._svgDom;z.setAttribute("width",O),z.setAttribute("height",L)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",O),this._backgroundNode.setAttribute("height",L))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(O){var L=this._opts,M=["width","height"][O],F=["clientWidth","clientHeight"][O],U=["paddingLeft","paddingTop"][O],z=["paddingRight","paddingBottom"][O];if(L[M]!=null&&L[M]!=="auto")return parseFloat(L[M]);var W=this.root,N=document.defaultView.getComputedStyle(W);return(W[F]||s(N[M])||s(W.style[M]))-(s(N[U])||0)-(s(N[z])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var O=encodeURIComponent(this._svgDom.outerHTML.replace(/></g,`>
\r<`));return"data:image/svg+xml;charset=UTF-8,"+O}};function _(S){return function(){m('In SVG mode painter not support method "'+S+'"')}}b.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(S){T.prototype[S]=_(S)});var v=T;R.exports=v},"3Fdi":function(R,I){var e=Function.prototype,g=e.toString;function f(b){if(b!=null){try{return g.call(b)}catch(m){}try{return b+""}catch(m){}}return""}R.exports=f},"3Fjq":function(R,I,e){"use strict";var g=e("TqRt");Object.defineProperty(I,"__esModule",{value:!0}),I.NextArrow=I.PrevArrow=void 0;var f=g(e("pVnL")),b=g(e("3tO9")),m=g(e("lwsE")),y=g(e("W8MJ")),h=g(e("7W2i")),u=g(e("LQ03")),i=g(e("q1tI")),a=g(e("TSYQ")),r=e("3K4p"),o=function(n){(0,h.default)(t,n);var l=(0,u.default)(t);function t(){return(0,m.default)(this,t),l.apply(this,arguments)}return(0,y.default)(t,[{key:"clickHandler",value:function(c,p){p&&p.preventDefault(),this.props.clickHandler(c,p)}},{key:"render",value:function(){var c={"slick-arrow":!0,"slick-prev":!0},p=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(c["slick-disabled"]=!0,p=null);var A={key:"0","data-role":"none",className:(0,a.default)(c),style:{display:"block"},onClick:p},w={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},C;return this.props.prevArrow?C=i.default.cloneElement(this.props.prevArrow,(0,b.default)((0,b.default)({},A),w)):C=i.default.createElement("button",(0,f.default)({key:"0",type:"button"},A)," ","Previous"),C}}]),t}(i.default.PureComponent);I.PrevArrow=o;var d=function(n){(0,h.default)(t,n);var l=(0,u.default)(t);function t(){return(0,m.default)(this,t),l.apply(this,arguments)}return(0,y.default)(t,[{key:"clickHandler",value:function(c,p){p&&p.preventDefault(),this.props.clickHandler(c,p)}},{key:"render",value:function(){var c={"slick-arrow":!0,"slick-next":!0},p=this.clickHandler.bind(this,{message:"next"});(0,r.canGoNext)(this.props)||(c["slick-disabled"]=!0,p=null);var A={key:"1","data-role":"none",className:(0,a.default)(c),style:{display:"block"},onClick:p},w={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},C;return this.props.nextArrow?C=i.default.cloneElement(this.props.nextArrow,(0,b.default)((0,b.default)({},A),w)):C=i.default.createElement("button",(0,f.default)({key:"1",type:"button"},A)," ","Next"),C}}]),t}(i.default.PureComponent);I.NextArrow=d},"3I+P":function(R,I,e){"use strict";e.d(I,"a",function(){return x});var g=e("lSNA"),f=e.n(g),b=e("pVnL"),m=e.n(b),y=e("lwsE"),h=e.n(y),u=e("W8MJ"),i=e.n(u),a=e("7W2i"),r=e.n(a),o=e("LQ03"),d=e.n(o),n=e("q1tI"),l=e.n(n),t=e("sEfC"),s=e.n(t),c=e("N/JB"),p=e.n(c),A=e("TSYQ"),w=e.n(A),C=e("H84U"),x=function(E){r()(_,E);var T=d()(_);function _(v){var S;return h()(this,_),S=T.call(this,v),S.saveSlick=function(O){S.slick=O},S.onWindowResized=function(){var O=S.props.autoplay;O&&S.slick&&S.slick.innerSlider&&S.slick.innerSlider.autoPlay&&S.slick.innerSlider.autoPlay()},S.renderCarousel=function(O){var L,M=O.getPrefixCls,F=O.direction,U,z=m()({},S.props);z.effect==="fade"&&(z.fade=!0);var W=M("carousel",z.prefixCls),N="slick-dots",H=S.getDotPosition();z.vertical=H==="left"||H==="right";var j=!!z.dots,k=w()(N,"".concat(N,"-").concat(H||"bottom"),typeof z.dots=="boolean"?!1:(U=z.dots)===null||U===void 0?void 0:U.className),B=w()(W,(L={},f()(L,"".concat(W,"-rtl"),F==="rtl"),f()(L,"".concat(W,"-vertical"),z.vertical),L));return n.createElement("div",{className:B},n.createElement(p.a,m()({ref:S.saveSlick},z,{dots:j,dotsClass:k})))},S.onWindowResized=s()(S.onWindowResized,500,{leading:!1}),S}return i()(_,[{key:"componentDidMount",value:function(){var S=this.props.autoplay;S&&window.addEventListener("resize",this.onWindowResized),this.innerSlider=this.slick&&this.slick.innerSlider}},{key:"componentDidUpdate",value:function(S){n.Children.count(this.props.children)!==n.Children.count(S.children)&&this.goTo(this.props.initialSlide||0,!1)}},{key:"componentWillUnmount",value:function(){var S=this.props.autoplay;S&&(window.removeEventListener("resize",this.onWindowResized),this.onWindowResized.cancel())}},{key:"getDotPosition",value:function(){var S=this.props.dotPosition,O=S===void 0?"bottom":S;return O}},{key:"next",value:function(){this.slick.slickNext()}},{key:"prev",value:function(){this.slick.slickPrev()}},{key:"goTo",value:function(S){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;this.slick.slickGoTo(S,O)}},{key:"render",value:function(){return n.createElement(C.a,null,this.renderCarousel)}}]),_}(n.Component);x.defaultProps={dots:!0,arrows:!1,draggable:!1}},"3K4p":function(R,I,e){"use strict";var g=e("TqRt");Object.defineProperty(I,"__esModule",{value:!0}),I.clamp=m,I.canUseDOM=I.slidesOnLeft=I.slidesOnRight=I.siblingDirection=I.getTotalSlides=I.getPostClones=I.getPreClones=I.getTrackLeft=I.getTrackAnimateCSS=I.getTrackCSS=I.checkSpecKeys=I.getSlideCount=I.checkNavigable=I.getNavigableIndexes=I.swipeEnd=I.swipeMove=I.swipeStart=I.keyHandler=I.changeSlide=I.slideHandler=I.initializedState=I.extractObject=I.canGoNext=I.getSwipeDirection=I.getHeight=I.getWidth=I.lazySlidesOnRight=I.lazySlidesOnLeft=I.lazyEndIndex=I.lazyStartIndex=I.getRequiredLazySlides=I.getOnDemandLazySlides=void 0;var f=g(e("3tO9")),b=g(e("q1tI"));function m(j,k,B){return Math.max(k,Math.min(j,B))}var y=function(k){for(var B=[],V=u(k),K=i(k),Y=V;Y<K;Y++)k.lazyLoadedList.indexOf(Y)<0&&B.push(Y);return B};I.getOnDemandLazySlides=y;var h=function(k){for(var B=[],V=u(k),K=i(k),Y=V;Y<K;Y++)B.push(Y);return B};I.getRequiredLazySlides=h;var u=function(k){return k.currentSlide-a(k)};I.lazyStartIndex=u;var i=function(k){return k.currentSlide+r(k)};I.lazyEndIndex=i;var a=function(k){return k.centerMode?Math.floor(k.slidesToShow/2)+(parseInt(k.centerPadding)>0?1:0):0};I.lazySlidesOnLeft=a;var r=function(k){return k.centerMode?Math.floor((k.slidesToShow-1)/2)+1+(parseInt(k.centerPadding)>0?1:0):k.slidesToShow};I.lazySlidesOnRight=r;var o=function(k){return k&&k.offsetWidth||0};I.getWidth=o;var d=function(k){return k&&k.offsetHeight||0};I.getHeight=d;var n=function(k){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,V,K,Y,Q;return V=k.startX-k.curX,K=k.startY-k.curY,Y=Math.atan2(K,V),Q=Math.round(Y*180/Math.PI),Q<0&&(Q=360-Math.abs(Q)),Q<=45&&Q>=0||Q<=360&&Q>=315?"left":Q>=135&&Q<=225?"right":B===!0?Q>=35&&Q<=135?"up":"down":"vertical"};I.getSwipeDirection=n;var l=function(k){var B=!0;return k.infinite||(k.centerMode&&k.currentSlide>=k.slideCount-1||(k.slideCount<=k.slidesToShow||k.currentSlide>=k.slideCount-k.slidesToShow))&&(B=!1),B};I.canGoNext=l;var t=function(k,B){var V={};return B.forEach(function(K){return V[K]=k[K]}),V};I.extractObject=t;var s=function(k){var B=b.default.Children.count(k.children),V=k.listRef,K=Math.ceil(o(V)),Y=k.trackRef&&k.trackRef.node,Q=Math.ceil(o(Y)),he;if(k.vertical)he=K;else{var G=k.centerMode&&parseInt(k.centerPadding)*2;typeof k.centerPadding=="string"&&k.centerPadding.slice(-1)==="%"&&(G*=K/100),he=Math.ceil((K-G)/k.slidesToShow)}var ye=V&&d(V.querySelector('[data-index="0"]')),Ae=ye*k.slidesToShow,ge=k.currentSlide===void 0?k.initialSlide:k.currentSlide;k.rtl&&k.currentSlide===void 0&&(ge=B-1-k.initialSlide);var Pe=k.lazyLoadedList||[],Re=y((0,f.default)((0,f.default)({},k),{},{currentSlide:ge,lazyLoadedList:Pe}));Pe.concat(Re);var rt={slideCount:B,slideWidth:he,listWidth:K,trackWidth:Q,currentSlide:ge,slideHeight:ye,listHeight:Ae,lazyLoadedList:Pe};return k.autoplaying===null&&k.autoplay&&(rt.autoplaying="playing"),rt};I.initializedState=s;var c=function(k){var B=k.waitForAnimate,V=k.animating,K=k.fade,Y=k.infinite,Q=k.index,he=k.slideCount,G=k.lazyLoadedList,ye=k.lazyLoad,Ae=k.currentSlide,ge=k.centerMode,Pe=k.slidesToScroll,Re=k.slidesToShow,rt=k.useCSS;if(B&&V)return{};var ne=Q,be,at,se,q={},X={},Z=Y?Q:m(Q,0,he-1);if(K){if(!Y&&(Q<0||Q>=he))return{};Q<0?ne=Q+he:Q>=he&&(ne=Q-he),ye&&G.indexOf(ne)<0&&G.push(ne),q={animating:!0,currentSlide:ne,lazyLoadedList:G},X={animating:!1}}else be=ne,ne<0?(be=ne+he,Y?he%Pe!==0&&(be=he-he%Pe):be=0):!l(k)&&ne>Ae?ne=be=Ae:ge&&ne>=he?(ne=Y?he:he-1,be=Y?0:he-1):ne>=he&&(be=ne-he,Y?he%Pe!==0&&(be=0):be=he-Re),!Y&&ne+Re>=he&&(be=he-Re),at=L((0,f.default)((0,f.default)({},k),{},{slideIndex:ne})),se=L((0,f.default)((0,f.default)({},k),{},{slideIndex:be})),Y||(at===se&&(ne=be),at=se),ye&&G.concat(y((0,f.default)((0,f.default)({},k),{},{currentSlide:ne}))),rt?(q={animating:!0,currentSlide:be,trackStyle:O((0,f.default)((0,f.default)({},k),{},{left:at})),lazyLoadedList:G,targetSlide:Z},X={animating:!1,currentSlide:be,trackStyle:S((0,f.default)((0,f.default)({},k),{},{left:se})),swipeLeft:null,targetSlide:Z}):q={currentSlide:be,trackStyle:S((0,f.default)((0,f.default)({},k),{},{left:se})),lazyLoadedList:G,targetSlide:Z};return{state:q,nextState:X}};I.slideHandler=c;var p=function(k,B){var V,K,Y,Q,he,G=k.slidesToScroll,ye=k.slidesToShow,Ae=k.slideCount,ge=k.currentSlide,Pe=k.targetSlide,Re=k.lazyLoad,rt=k.infinite;if(Q=Ae%G!==0,V=Q?0:(Ae-ge)%G,B.message==="previous")Y=V===0?G:ye-V,he=ge-Y,Re&&!rt&&(K=ge-Y,he=K===-1?Ae-1:K),rt||(he=Pe-G);else if(B.message==="next")Y=V===0?G:V,he=ge+Y,Re&&!rt&&(he=(ge+G)%Ae+V),rt||(he=Pe+G);else if(B.message==="dots")he=B.index*B.slidesToScroll;else if(B.message==="children"){if(he=B.index,rt){var ne=z((0,f.default)((0,f.default)({},k),{},{targetSlide:he}));he>B.currentSlide&&ne==="left"?he=he-Ae:he<B.currentSlide&&ne==="right"&&(he=he+Ae)}}else B.message==="index"&&(he=Number(B.index));return he};I.changeSlide=p;var A=function(k,B,V){return k.target.tagName.match("TEXTAREA|INPUT|SELECT")||!B?"":k.keyCode===37?V?"next":"previous":k.keyCode===39?V?"previous":"next":""};I.keyHandler=A;var w=function(k,B,V){return k.target.tagName==="IMG"&&k.preventDefault(),!B||!V&&k.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:k.touches?k.touches[0].pageX:k.clientX,startY:k.touches?k.touches[0].pageY:k.clientY,curX:k.touches?k.touches[0].pageX:k.clientX,curY:k.touches?k.touches[0].pageY:k.clientY}}};I.swipeStart=w;var C=function(k,B){var V=B.scrolling,K=B.animating,Y=B.vertical,Q=B.swipeToSlide,he=B.verticalSwiping,G=B.rtl,ye=B.currentSlide,Ae=B.edgeFriction,ge=B.edgeDragged,Pe=B.onEdge,Re=B.swiped,rt=B.swiping,ne=B.slideCount,be=B.slidesToScroll,at=B.infinite,se=B.touchObject,q=B.swipeEvent,X=B.listHeight,Z=B.listWidth;if(V)return;if(K)return k.preventDefault();Y&&Q&&he&&k.preventDefault();var pe,oe={},Ie=L(B);se.curX=k.touches?k.touches[0].pageX:k.clientX,se.curY=k.touches?k.touches[0].pageY:k.clientY,se.swipeLength=Math.round(Math.sqrt(Math.pow(se.curX-se.startX,2)));var fe=Math.round(Math.sqrt(Math.pow(se.curY-se.startY,2)));if(!he&&!rt&&fe>10)return{scrolling:!0};he&&(se.swipeLength=fe);var te=(G?-1:1)*(se.curX>se.startX?1:-1);he&&(te=se.curY>se.startY?1:-1);var J=Math.ceil(ne/be),ve=n(B.touchObject,he),De=se.swipeLength;return at||(ye===0&&ve==="right"||ye+1>=J&&ve==="left"||!l(B)&&ve==="left")&&(De=se.swipeLength*Ae,ge===!1&&Pe&&(Pe(ve),oe.edgeDragged=!0)),!Re&&q&&(q(ve),oe.swiped=!0),Y?pe=Ie+De*(X/Z)*te:G?pe=Ie-De*te:pe=Ie+De*te,he&&(pe=Ie+De*te),oe=(0,f.default)((0,f.default)({},oe),{},{touchObject:se,swipeLeft:pe,trackStyle:S((0,f.default)((0,f.default)({},B),{},{left:pe}))}),Math.abs(se.curX-se.startX)<Math.abs(se.curY-se.startY)*.8||se.swipeLength>10&&(oe.swiping=!0,k.preventDefault()),oe};I.swipeMove=C;var x=function(k,B){var V=B.dragging,K=B.swipe,Y=B.touchObject,Q=B.listWidth,he=B.touchThreshold,G=B.verticalSwiping,ye=B.listHeight,Ae=B.swipeToSlide,ge=B.scrolling,Pe=B.onSwipe,Re=B.targetSlide,rt=B.currentSlide,ne=B.infinite;if(!V)return K&&k.preventDefault(),{};var be=G?ye/he:Q/he,at=n(Y,G),se={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(ge)return se;if(!Y.swipeLength)return se;if(Y.swipeLength>be){k.preventDefault(),Pe&&Pe(at);var q,X,Z=ne?rt:Re;switch(at){case"left":case"up":X=Z+_(B),q=Ae?T(B,X):X,se.currentDirection=0;break;case"right":case"down":X=Z-_(B),q=Ae?T(B,X):X,se.currentDirection=1;break;default:q=Z}se.triggerSlideHandler=q}else{var pe=L(B);se.trackStyle=O((0,f.default)((0,f.default)({},B),{},{left:pe}))}return se};I.swipeEnd=x;var E=function(k){for(var B=k.infinite?k.slideCount*2:k.slideCount,V=k.infinite?k.slidesToShow*-1:0,K=k.infinite?k.slidesToShow*-1:0,Y=[];V<B;)Y.push(V),V=K+k.slidesToScroll,K+=Math.min(k.slidesToScroll,k.slidesToShow);return Y};I.getNavigableIndexes=E;var T=function(k,B){var V=E(k),K=0;if(B>V[V.length-1])B=V[V.length-1];else for(var Y in V){if(B<V[Y]){B=K;break}K=V[Y]}return B};I.checkNavigable=T;var _=function(k){var B=k.centerMode?k.slideWidth*Math.floor(k.slidesToShow/2):0;if(k.swipeToSlide){var V,K=k.listRef,Y=K.querySelectorAll(".slick-slide");if(Array.from(Y).every(function(G){if(k.vertical){if(G.offsetTop+d(G)/2>k.swipeLeft*-1)return V=G,!1}else if(G.offsetLeft-B+o(G)/2>k.swipeLeft*-1)return V=G,!1;return!0}),!V)return 0;var Q=k.rtl===!0?k.slideCount-k.currentSlide:k.currentSlide,he=Math.abs(V.dataset.index-Q)||1;return he}else return k.slidesToScroll};I.getSlideCount=_;var v=function(k,B){return B.reduce(function(V,K){return V&&k.hasOwnProperty(K)},!0)?null:console.error("Keys Missing:",k)};I.checkSpecKeys=v;var S=function(k){v(k,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var B,V,K=k.slideCount+2*k.slidesToShow;k.vertical?V=K*k.slideHeight:B=U(k)*k.slideWidth;var Y={opacity:1,transition:"",WebkitTransition:""};if(k.useTransform){var Q=k.vertical?"translate3d(0px, "+k.left+"px, 0px)":"translate3d("+k.left+"px, 0px, 0px)",he=k.vertical?"translate3d(0px, "+k.left+"px, 0px)":"translate3d("+k.left+"px, 0px, 0px)",G=k.vertical?"translateY("+k.left+"px)":"translateX("+k.left+"px)";Y=(0,f.default)((0,f.default)({},Y),{},{WebkitTransform:Q,transform:he,msTransform:G})}else k.vertical?Y.top=k.left:Y.left=k.left;return k.fade&&(Y={opacity:1}),B&&(Y.width=B),V&&(Y.height=V),window&&!window.addEventListener&&window.attachEvent&&(k.vertical?Y.marginTop=k.left+"px":Y.marginLeft=k.left+"px"),Y};I.getTrackCSS=S;var O=function(k){v(k,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var B=S(k);return k.useTransform?(B.WebkitTransition="-webkit-transform "+k.speed+"ms "+k.cssEase,B.transition="transform "+k.speed+"ms "+k.cssEase):k.vertical?B.transition="top "+k.speed+"ms "+k.cssEase:B.transition="left "+k.speed+"ms "+k.cssEase,B};I.getTrackAnimateCSS=O;var L=function(k){if(k.unslick)return 0;v(k,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var B=k.slideIndex,V=k.trackRef,K=k.infinite,Y=k.centerMode,Q=k.slideCount,he=k.slidesToShow,G=k.slidesToScroll,ye=k.slideWidth,Ae=k.listWidth,ge=k.variableWidth,Pe=k.slideHeight,Re=k.fade,rt=k.vertical,ne=0,be,at,se=0;if(Re||k.slideCount===1)return 0;var q=0;if(K?(q=-M(k),Q%G!==0&&B+G>Q&&(q=-(B>Q?he-(B-Q):Q%G)),Y&&(q+=parseInt(he/2))):(Q%G!==0&&B+G>Q&&(q=he-Q%G),Y&&(q=parseInt(he/2))),ne=q*ye,se=q*Pe,rt?be=B*Pe*-1+se:be=B*ye*-1+ne,ge===!0){var X,Z=V&&V.node;if(X=B+M(k),at=Z&&Z.childNodes[X],be=at?at.offsetLeft*-1:0,Y===!0){X=K?B+M(k):B,at=Z&&Z.children[X],be=0;for(var pe=0;pe<X;pe++)be-=Z&&Z.children[pe]&&Z.children[pe].offsetWidth;be-=parseInt(k.centerPadding),be+=at&&(Ae-at.offsetWidth)/2}}return be};I.getTrackLeft=L;var M=function(k){return k.unslick||!k.infinite?0:k.variableWidth?k.slideCount:k.slidesToShow+(k.centerMode?1:0)};I.getPreClones=M;var F=function(k){return k.unslick||!k.infinite?0:k.slideCount};I.getPostClones=F;var U=function(k){return k.slideCount===1?1:M(k)+k.slideCount+F(k)};I.getTotalSlides=U;var z=function(k){return k.targetSlide>k.currentSlide?k.targetSlide>k.currentSlide+W(k)?"left":"right":k.targetSlide<k.currentSlide-N(k)?"right":"left"};I.siblingDirection=z;var W=function(k){var B=k.slidesToShow,V=k.centerMode,K=k.rtl,Y=k.centerPadding;if(V){var Q=(B-1)/2+1;return parseInt(Y)>0&&(Q+=1),K&&B%2===0&&(Q+=1),Q}return K?0:B-1};I.slidesOnRight=W;var N=function(k){var B=k.slidesToShow,V=k.centerMode,K=k.rtl,Y=k.centerPadding;if(V){var Q=(B-1)/2+1;return parseInt(Y)>0&&(Q+=1),!K&&B%2===0&&(Q+=1),Q}return K?B-1:0};I.slidesOnLeft=N;var H=function(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)};I.canUseDOM=H},"3LNs":function(R,I,e){var g=e("bYtY"),f=e("Yl7c"),b=e("IwbS"),m=e("zTMp"),y=e("YH21"),h=e("iLNv"),u=e("4NO4"),i=u.makeInner,a=i(),r=g.clone,o=g.bind;function d(){}d.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(A,w,C,x){var E=w.get("value"),T=w.get("status");if(this._axisModel=A,this._axisPointerModel=w,this._api=C,!x&&this._lastValue===E&&this._lastStatus===T)return;this._lastValue=E,this._lastStatus=T;var _=this._group,v=this._handle;if(!T||T==="hide"){_&&_.hide(),v&&v.hide();return}_&&_.show(),v&&v.show();var S={};this.makeElOption(S,E,A,w,C);var O=S.graphicKey;O!==this._lastGraphicKey&&this.clear(C),this._lastGraphicKey=O;var L=this._moveAnimation=this.determineAnimation(A,w);if(!_)_=this._group=new b.Group,this.createPointerEl(_,S,A,w),this.createLabelEl(_,S,A,w),C.getZr().add(_);else{var M=g.curry(n,w,L);this.updatePointerEl(_,S,M,w),this.updateLabelEl(_,S,M,w)}c(_,w,!0),this._renderHandle(E)},remove:function(A){this.clear(A)},dispose:function(A){this.clear(A)},determineAnimation:function(A,w){var C=w.get("animation"),x=A.axis,E=x.type==="category",T=w.get("snap");if(!T&&!E)return!1;if(C==="auto"||C==null){var _=this.animationThreshold;if(E&&x.getBandWidth()>_)return!0;if(T){var v=m.getAxisInfo(A).seriesDataCount,S=x.getExtent();return Math.abs(S[0]-S[1])/v>_}return!1}return C===!0},makeElOption:function(A,w,C,x,E){},createPointerEl:function(A,w,C,x){var E=w.pointer;if(E){var T=a(A).pointerEl=new b[E.type](r(w.pointer));A.add(T)}},createLabelEl:function(A,w,C,x){if(w.label){var E=a(A).labelEl=new b.Rect(r(w.label));A.add(E),t(E,x)}},updatePointerEl:function(A,w,C){var x=a(A).pointerEl;x&&w.pointer&&(x.setStyle(w.pointer.style),C(x,{shape:w.pointer.shape}))},updateLabelEl:function(A,w,C,x){var E=a(A).labelEl;E&&(E.setStyle(w.label.style),C(E,{shape:w.label.shape,position:w.label.position}),t(E,x))},_renderHandle:function(A){if(this._dragging||!this.updateHandleTransform)return;var w=this._axisPointerModel,C=this._api.getZr(),x=this._handle,E=w.getModel("handle"),T=w.get("status");if(!E.get("show")||!T||T==="hide"){x&&C.remove(x),this._handle=null;return}var _;this._handle||(_=!0,x=this._handle=b.createIcon(E.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(O){y.stop(O.event)},onmousedown:o(this._onHandleDragMove,this,0,0),drift:o(this._onHandleDragMove,this),ondragend:o(this._onHandleDragEnd,this)}),C.add(x)),c(x,w,!1);var v=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];x.setStyle(E.getItemStyle(null,v));var S=E.get("size");g.isArray(S)||(S=[S,S]),x.attr("scale",[S[0]/2,S[1]/2]),h.createOrUpdate(this,"_doDispatchAxisPointer",E.get("throttle")||0,"fixRate"),this._moveHandleToValue(A,_)},_moveHandleToValue:function(A,w){n(this._axisPointerModel,!w&&this._moveAnimation,this._handle,s(this.getHandleTransform(A,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(A,w){var C=this._handle;if(!C)return;this._dragging=!0;var x=this.updateHandleTransform(s(C),[A,w],this._axisModel,this._axisPointerModel);this._payloadInfo=x,C.stopAnimation(),C.attr(s(x)),a(C).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var A=this._handle;if(!A)return;var w=this._payloadInfo,C=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:w.cursorPoint[0],y:w.cursorPoint[1],tooltipOption:w.tooltipOption,axesInfo:[{axisDim:C.axis.dim,axisIndex:C.componentIndex}]})},_onHandleDragEnd:function(A){this._dragging=!1;var w=this._handle;if(!w)return;var C=this._axisPointerModel.get("value");this._moveHandleToValue(C),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(A){this._lastValue=null,this._lastStatus=null;var w=A.getZr(),C=this._group,x=this._handle;w&&C&&(this._lastGraphicKey=null,C&&w.remove(C),x&&w.remove(x),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(A,w,C){return C=C||0,{x:A[C],y:A[1-C],width:w[C],height:w[1-C]}}},d.prototype.constructor=d;function n(A,w,C,x){l(a(C).lastProp,x)||(a(C).lastProp=x,w?b.updateProps(C,x,A):(C.stopAnimation(),C.attr(x)))}function l(A,w){if(g.isObject(A)&&g.isObject(w)){var C=!0;return g.each(w,function(x,E){C=C&&l(A[E],x)}),!!C}else return A===w}function t(A,w){A[w.get("label.show")?"show":"hide"]()}function s(A){return{position:A.position.slice(),rotation:A.rotation||0}}function c(A,w,C){var x=w.get("z"),E=w.get("zlevel");A&&A.traverse(function(T){T.type!=="group"&&(x!=null&&(T.z=x),E!=null&&(T.zlevel=E),T.silent=C)})}f.enableClassExtend(d);var p=d;R.exports=p},"3OrL":function(R,I,e){var g=e("bYtY"),f=e("6Ic6"),b=e("IwbS"),m=e("y+Vt"),y=["itemStyle"],h=["emphasis","itemStyle"],u=f.extend({type:"boxplot",render:function(n,l,t){var s=n.getData(),c=this.group,p=this._data;this._data||c.removeAll();var A=n.get("layout")==="horizontal"?1:0;s.diff(p).add(function(w){if(s.hasValue(w)){var C=s.getItemLayout(w),x=a(C,s,w,A,!0);s.setItemGraphicEl(w,x),c.add(x)}}).update(function(w,C){var x=p.getItemGraphicEl(C);if(!s.hasValue(w)){c.remove(x);return}var E=s.getItemLayout(w);x?r(E,x,s,w):x=a(E,s,w,A),c.add(x),s.setItemGraphicEl(w,x)}).remove(function(w){var C=p.getItemGraphicEl(w);C&&c.remove(C)}).execute(),this._data=s},remove:function(n){var l=this.group,t=this._data;this._data=null,t&&t.eachItemGraphicEl(function(s){s&&l.remove(s)})},dispose:g.noop}),i=m.extend({type:"boxplotBoxPath",shape:{},buildPath:function(n,l){var t=l.points,s=0;for(n.moveTo(t[s][0],t[s][1]),s++;s<4;s++)n.lineTo(t[s][0],t[s][1]);for(n.closePath();s<t.length;s++)n.moveTo(t[s][0],t[s][1]),s++,n.lineTo(t[s][0],t[s][1])}});function a(n,l,t,s,c){var p=n.ends,A=new i({shape:{points:c?o(p,s,n):p}});return r(n,A,l,t,c),A}function r(n,l,t,s,c){var p=t.hostModel,A=b[c?"initProps":"updateProps"];A(l,{shape:{points:n.ends}},p,s);var w=t.getItemModel(s),C=w.getModel(y),x=t.getItemVisual(s,"color"),E=C.getItemStyle(["borderColor"]);E.stroke=x,E.strokeNoScale=!0,l.useStyle(E),l.z2=100;var T=w.getModel(h).getItemStyle();b.setHoverStyle(l,T)}function o(n,l,t){return g.map(n,function(s){return s=s.slice(),s[l]=t.initBaseline,s})}var d=u;R.exports=d},"3S7+":function(R,I,e){"use strict";var g=e("lSNA"),f=e.n(g),b=e("J4zp"),m=e.n(b),y=e("pVnL"),h=e.n(y),u=e("q1tI"),i=e.n(u),a=e("uciX"),r={adjustX:1,adjustY:1},o=[0,0],d={left:{points:["cr","cl"],overflow:r,offset:[-4,0],targetOffset:o},right:{points:["cl","cr"],overflow:r,offset:[4,0],targetOffset:o},top:{points:["bc","tc"],overflow:r,offset:[0,-4],targetOffset:o},bottom:{points:["tc","bc"],overflow:r,offset:[0,4],targetOffset:o},topLeft:{points:["bl","tl"],overflow:r,offset:[0,-4],targetOffset:o},leftTop:{points:["tr","tl"],overflow:r,offset:[-4,0],targetOffset:o},topRight:{points:["br","tr"],overflow:r,offset:[0,-4],targetOffset:o},rightTop:{points:["tl","tr"],overflow:r,offset:[4,0],targetOffset:o},bottomRight:{points:["tr","br"],overflow:r,offset:[0,4],targetOffset:o},rightBottom:{points:["bl","br"],overflow:r,offset:[4,0],targetOffset:o},bottomLeft:{points:["tl","bl"],overflow:r,offset:[0,4],targetOffset:o},leftBottom:{points:["br","bl"],overflow:r,offset:[-4,0],targetOffset:o}},n=d,l=function(K){var Y=K.overlay,Q=K.prefixCls,he=K.id,G=K.overlayInnerStyle;return i.a.createElement("div",{className:"".concat(Q,"-inner"),id:he,role:"tooltip",style:G},typeof Y=="function"?Y():Y)},t=l;function s(V){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(Y){return typeof Y}:s=function(Y){return Y&&typeof Symbol=="function"&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y},s(V)}function c(V,K){var Y=Object.keys(V);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(V);K&&(Q=Q.filter(function(he){return Object.getOwnPropertyDescriptor(V,he).enumerable})),Y.push.apply(Y,Q)}return Y}function p(V){for(var K=1;K<arguments.length;K++){var Y=arguments[K]!=null?arguments[K]:{};K%2?c(Object(Y),!0).forEach(function(Q){A(V,Q,Y[Q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(V,Object.getOwnPropertyDescriptors(Y)):c(Object(Y)).forEach(function(Q){Object.defineProperty(V,Q,Object.getOwnPropertyDescriptor(Y,Q))})}return V}function A(V,K,Y){return K in V?Object.defineProperty(V,K,{value:Y,enumerable:!0,configurable:!0,writable:!0}):V[K]=Y,V}function w(V,K){if(V==null)return{};var Y=C(V,K),Q,he;if(Object.getOwnPropertySymbols){var G=Object.getOwnPropertySymbols(V);for(he=0;he<G.length;he++){if(Q=G[he],K.indexOf(Q)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(V,Q))continue;Y[Q]=V[Q]}}return Y}function C(V,K){if(V==null)return{};var Y={},Q=Object.keys(V),he,G;for(G=0;G<Q.length;G++){if(he=Q[G],K.indexOf(he)>=0)continue;Y[he]=V[he]}return Y}var x=function(K,Y){var Q=K.overlayClassName,he=K.trigger,G=he===void 0?["hover"]:he,ye=K.mouseEnterDelay,Ae=ye===void 0?0:ye,ge=K.mouseLeaveDelay,Pe=ge===void 0?.1:ge,Re=K.overlayStyle,rt=K.prefixCls,ne=rt===void 0?"rc-tooltip":rt,be=K.children,at=K.onVisibleChange,se=K.afterVisibleChange,q=K.transitionName,X=K.animation,Z=K.placement,pe=Z===void 0?"right":Z,oe=K.align,Ie=oe===void 0?{}:oe,fe=K.destroyTooltipOnHide,te=fe===void 0?!1:fe,J=K.defaultVisible,ve=K.getTooltipContainer,De=K.overlayInnerStyle,ze=w(K,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),dt=Object(u.useRef)(null);Object(u.useImperativeHandle)(Y,function(){return dt.current});var Me=p({},ze);"visible"in K&&(Me.popupVisible=K.visible);var Tt=function(){var et=K.arrowContent,ot=et===void 0?null:et,Ve=K.overlay,ue=K.id;return[i.a.createElement("div",{className:"".concat(ne,"-arrow"),key:"arrow"},ot),i.a.createElement(t,{key:"content",prefixCls:ne,id:ue,overlay:Ve,overlayInnerStyle:De})]},je=!1,st=!1;if(typeof te=="boolean")je=te;else if(te&&s(te)==="object"){var Xe=te.keepParent;je=Xe===!0,st=Xe===!1}return i.a.createElement(a.a,Object.assign({popupClassName:Q,prefixCls:ne,popup:Tt,action:G,builtinPlacements:d,popupPlacement:pe,ref:dt,popupAlign:Ie,getPopupContainer:ve,onPopupVisibleChange:at,afterPopupVisibleChange:se,popupTransitionName:q,popupAnimation:X,defaultPopupVisible:J,destroyPopupOnHide:je,autoDestroy:st,mouseLeaveDelay:Pe,popupStyle:Re,mouseEnterDelay:Ae},Me),be)},E=Object(u.forwardRef)(x),T=E,_=e("TSYQ"),v=e.n(_),S={adjustX:1,adjustY:1},O={adjustX:0,adjustY:0},L=[0,0];function M(V){return typeof V=="boolean"?V?S:O:h()(h()({},O),V)}function F(V){var K=V.arrowWidth,Y=K===void 0?5:K,Q=V.horizontalArrowShift,he=Q===void 0?16:Q,G=V.verticalArrowShift,ye=G===void 0?8:G,Ae=V.autoAdjustOverflow,ge={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(he+Y),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(ye+Y)]},topRight:{points:["br","tc"],offset:[he+Y,-4]},rightTop:{points:["tl","cr"],offset:[4,-(ye+Y)]},bottomRight:{points:["tr","bc"],offset:[he+Y,4]},rightBottom:{points:["bl","cr"],offset:[4,ye+Y]},bottomLeft:{points:["tl","bc"],offset:[-(he+Y),4]},leftBottom:{points:["br","cl"],offset:[-4,ye+Y]}};return Object.keys(ge).forEach(function(Pe){ge[Pe]=V.arrowPointAtCenter?h()(h()({},ge[Pe]),{overflow:M(Ae),targetOffset:L}):h()(h()({},d[Pe]),{overflow:M(Ae)}),ge[Pe].ignoreShake=!0}),ge}var U=e("0n0R"),z=e("H84U"),W=e("09Wf"),N=function(K,Y){var Q={},he=h()({},K);return Y.forEach(function(G){K&&G in K&&(Q[G]=K[G],delete he[G])}),{picked:Q,omitted:he}},H=new RegExp("^(".concat(W.a.join("|"),")(-inverse)?$"));function j(V,K){var Y=V.type;if((Y.__ANT_BUTTON===!0||Y.__ANT_SWITCH===!0||Y.__ANT_CHECKBOX===!0||V.type==="button")&&V.props.disabled){var Q=N(V.props.style,["position","left","right","top","bottom","float","display","zIndex"]),he=Q.picked,G=Q.omitted,ye=h()(h()({display:"inline-block"},he),{cursor:"not-allowed",width:V.props.block?"100%":null}),Ae=h()(h()({},G),{pointerEvents:"none"}),ge=Object(U.a)(V,{style:Ae,className:null});return u.createElement("span",{style:ye,className:v()(V.props.className,"".concat(K,"-disabled-compatible-wrapper"))},ge)}return V}var k=u.forwardRef(function(V,K){var Y,Q=u.useContext(z.b),he=Q.getPopupContainer,G=Q.getPrefixCls,ye=Q.direction,Ae=u.useState(!!V.visible||!!V.defaultVisible),ge=m()(Ae,2),Pe=ge[0],Re=ge[1];u.useEffect(function(){"visible"in V&&Re(V.visible)},[V.visible]);var rt=function(){var Xe=V.title,Je=V.overlay;return!Xe&&!Je&&Xe!==0},ne=function(Xe){"visible"in V||Re(rt()?!1:Xe),V.onVisibleChange&&!rt()&&V.onVisibleChange(Xe)},be=function(){var Xe=V.builtinPlacements,Je=V.arrowPointAtCenter,et=V.autoAdjustOverflow;return Xe||F({arrowPointAtCenter:Je,autoAdjustOverflow:et})},at=function(Xe,Je){var et=be(),ot=Object.keys(et).filter(function(ae){return et[ae].points[0]===Je.points[0]&&et[ae].points[1]===Je.points[1]})[0];if(!ot)return;var Ve=Xe.getBoundingClientRect(),ue={top:"50%",left:"50%"};ot.indexOf("top")>=0||ot.indexOf("Bottom")>=0?ue.top="".concat(Ve.height-Je.offset[1],"px"):(ot.indexOf("Top")>=0||ot.indexOf("bottom")>=0)&&(ue.top="".concat(-Je.offset[1],"px")),ot.indexOf("left")>=0||ot.indexOf("Right")>=0?ue.left="".concat(Ve.width-Je.offset[0],"px"):(ot.indexOf("right")>=0||ot.indexOf("Left")>=0)&&(ue.left="".concat(-Je.offset[0],"px")),Xe.style.transformOrigin="".concat(ue.left," ").concat(ue.top)},se=function(){var Xe=V.title,Je=V.overlay;return Xe===0?Xe:Je||Xe||""},q=V.prefixCls,X=V.openClassName,Z=V.getPopupContainer,pe=V.getTooltipContainer,oe=V.overlayClassName,Ie=V.color,fe=V.overlayInnerStyle,te=V.children,J=G("tooltip",q),ve=Pe;!("visible"in V)&&rt()&&(ve=!1);var De=j(Object(U.b)(te)?te:u.createElement("span",null,te),J),ze=De.props,dt=v()(ze.className,f()({},X||"".concat(J,"-open"),!0)),Me=v()(oe,(Y={},f()(Y,"".concat(J,"-rtl"),ye==="rtl"),f()(Y,"".concat(J,"-").concat(Ie),Ie&&H.test(Ie)),Y)),Tt,je;return Ie&&!H.test(Ie)&&(Tt=h()(h()({},fe),{background:Ie}),je={background:Ie}),u.createElement(T,h()({},V,{prefixCls:J,overlayClassName:Me,getTooltipContainer:Z||pe||he,ref:K,builtinPlacements:be(),overlay:se(),visible:ve,onVisibleChange:ne,onPopupAlign:at,overlayInnerStyle:Tt,arrowContent:u.createElement("span",{className:"".concat(J,"-arrow-content"),style:je})}),ve?Object(U.a)(De,{className:dt}):De)});k.displayName="Tooltip",k.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var B=I.a=k},"3TkU":function(R,I,e){e("aTJb"),e("OlYY"),e("fc+c"),e("QUw5"),e("Swgg"),e("LBfv"),e("noeP")},"3X6L":function(R,I,e){var g=e("bYtY"),f=e("7a+S"),b=e("OKJ2"),m=f.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,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:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});g.mixin(m,b);var y=m;R.exports=y},"3dVZ":function(R,I,e){},"3e3G":function(R,I,e){var g=e("bYtY"),f=e("QuXc"),b=function(h,u,i,a,r){this.x=h==null?.5:h,this.y=u==null?.5:u,this.r=i==null?.5:i,this.type="radial",this.global=r||!1,f.call(this,a)};b.prototype={constructor:b},g.inherits(b,f);var m=b;R.exports=m},"3gBT":function(R,I){var e=2311;function g(){return e++}R.exports=g},"3hzK":function(R,I){var e={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}};R.exports=e},"3m61":function(R,I){function e(f){return f instanceof Array||(f=[f,f]),f}function g(f){f.eachSeriesByType("graph",function(b){var m=b.getGraph(),y=b.getEdgeData(),h=e(b.get("edgeSymbol")),u=e(b.get("edgeSymbolSize")),i="lineStyle.color".split("."),a="lineStyle.opacity".split(".");y.setVisual("fromSymbol",h&&h[0]),y.setVisual("toSymbol",h&&h[1]),y.setVisual("fromSymbolSize",u&&u[0]),y.setVisual("toSymbolSize",u&&u[1]),y.setVisual("color",b.get(i)),y.setVisual("opacity",b.get(a)),y.each(function(r){var o=y.getItemModel(r),d=m.getEdgeByIndex(r),n=e(o.getShallow("symbol",!0)),l=e(o.getShallow("symbolSize",!0)),t=o.get(i),s=o.get(a);switch(t){case"source":t=d.node1.getVisual("color");break;case"target":t=d.node2.getVisual("color");break}n[0]&&d.setVisual("fromSymbol",n[0]),n[1]&&d.setVisual("toSymbol",n[1]),l[0]&&d.setVisual("fromSymbolSize",l[0]),l[1]&&d.setVisual("toSymbolSize",l[1]),d.setVisual("color",t),d.setVisual("opacity",s)})})}R.exports=g},"3ouR":function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M354 671h58.9c4.7 0 9.2-2.1 12.3-5.7L512 561.8l86.8 103.5c3 3.6 7.5 5.7 12.3 5.7H670c6.8 0 10.5-7.9 6.1-13.1L553.8 512l122.4-145.9c4.4-5.2.7-13.1-6.1-13.1h-58.9c-4.7 0-9.2 2.1-12.3 5.7L512 462.2l-86.8-103.5c-3-3.6-7.5-5.7-12.3-5.7H354c-6.8 0-10.5 7.9-6.1 13.1L470.2 512 347.9 657.9A7.95 7.95 0 00354 671z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"close-square",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="CloseSquareOutlined";var h=I.a=g.forwardRef(y)},"3zoK":function(R,I,e){var g=e("bYtY"),f=e("bLfw"),b=e("KCsZ"),m=e("nkfE"),y=e("OELB"),h=e("ICMv"),u=f.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return b([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(o){var d=this.activeIntervals=g.clone(o);if(d)for(var n=d.length-1;n>=0;n--)y.asc(d[n])},getActiveState:function(o){var d=this.activeIntervals;if(!d.length)return"normal";if(o==null||isNaN(o))return"inactive";if(d.length===1){var n=d[0];if(n[0]<=o&&o<=n[1])return"active"}else for(var l=0,t=d.length;l<t;l++)if(d[l][0]<=o&&o<=d[l][1])return"active";return"inactive"}}),i={type:"value",dim:null,areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};g.merge(u.prototype,h);function a(o,d){return d.type||(d.data?"category":"value")}m("parallel",u,a,i);var r=u;R.exports=r},"49sm":function(R,I){var e={}.toString;R.exports=Array.isArray||function(g){return e.call(g)=="[object Array]"}},"4Feb":function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("bYtY"),m=e("IwbS"),y=e("x3X8"),h=y.getDefaultLabel,u=e("MwEJ"),i=e("nVfU"),a=i.getLayoutOnAxis,r=e("gPAo"),o=e("T4UG"),d=e("Qxkt"),n=e("6Ic6"),l=e("sK/D"),t=l.createClipPath,s=e("qj72"),c=e("ANjR"),p=e("MHtr"),A=e("6usn"),w=e("Rx6q"),C=m.CACHED_LABEL_STYLE_PROPERTIES,x=["itemStyle"],E=["emphasis","itemStyle"],T=["label"],_=["emphasis","label"],v="e\0\0",S={cartesian2d:s,geo:c,singleAxis:p,polar:A,calendar:w};o.extend({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,useTransform:!0,clip:!1},getInitialData:function(G,ye){return u(this.getSource(),this)},getDataParams:function(G,ye,Ae){var ge=o.prototype.getDataParams.apply(this,arguments);return Ae&&(ge.info=Ae.info),ge}}),n.extend({type:"custom",_data:null,render:function(G,ye,Ae,ge){var Pe=this._data,Re=G.getData(),rt=this.group,ne=F(G,Re,ye,Ae);Re.diff(Pe).add(function(at){z(null,at,ne(at,ge),G,rt,Re)}).update(function(at,se){var q=Pe.getItemGraphicEl(se);z(q,at,ne(at,ge),G,rt,Re)}).remove(function(at){var se=Pe.getItemGraphicEl(at);se&&rt.remove(se)}).execute();var be=G.get("clip",!0)?t(G.coordinateSystem,!1,G):null;be?rt.setClipPath(be):rt.removeClipPath(),this._data=Re},incrementalPrepareRender:function(G,ye,Ae){this.group.removeAll(),this._data=null},incrementalRender:function(G,ye,Ae,ge,Pe){var Re=ye.getData(),rt=F(ye,Re,Ae,ge);function ne(se){se.isGroup||(se.incremental=!0,se.useHoverLayer=!0)}for(var be=G.start;be<G.end;be++){var at=z(null,be,rt(be,Pe),ye,this.group,Re);at.traverse(ne)}},dispose:b.noop,filterForExposedEvent:function(G,ye,Ae,ge){var Pe=ye.element;if(Pe==null||Ae.name===Pe)return!0;for(;(Ae=Ae.parent)&&Ae!==this.group;)if(Ae.name===Pe)return!0;return!1}});function O(G){var ye=G.type,Ae;if(ye==="path"){var ge=G.shape,Pe=ge.width!=null&&ge.height!=null?{x:ge.x||0,y:ge.y||0,width:ge.width,height:ge.height}:null,Re=Y(ge);Ae=m.makePath(Re,null,Pe,ge.layout||"center"),Ae.__customPathData=Re}else if(ye==="image")Ae=new m.Image({}),Ae.__customImagePath=G.style.image;else if(ye==="text")Ae=new m.Text({}),Ae.__customText=G.style.text;else if(ye==="group")Ae=new m.Group;else{if(ye==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var rt=m.getShapeClass(ye);Ae=new rt}return Ae.__customGraphicType=ye,Ae.name=G.name,Ae}function L(G,ye,Ae,ge,Pe,Re,rt){var ne={},be=Ae.style||{};if(Ae.shape&&(ne.shape=b.clone(Ae.shape)),Ae.position&&(ne.position=Ae.position.slice()),Ae.scale&&(ne.scale=Ae.scale.slice()),Ae.origin&&(ne.origin=Ae.origin.slice()),Ae.rotation&&(ne.rotation=Ae.rotation),G.type==="image"&&Ae.style){var at=ne.style={};b.each(["x","y","width","height"],function(X){M(X,at,be,G.style,Re)})}if(G.type==="text"&&Ae.style){var at=ne.style={};b.each(["x","y"],function(Z){M(Z,at,be,G.style,Re)}),!be.hasOwnProperty("textFill")&&be.fill&&(be.textFill=be.fill),!be.hasOwnProperty("textStroke")&&be.stroke&&(be.textStroke=be.stroke)}if(G.type!=="group"&&(G.useStyle(be),Re)){G.style.opacity=0;var se=be.opacity;se==null&&(se=1),m.initProps(G,{style:{opacity:se}},ge,ye)}Re?G.attr(ne):m.updateProps(G,ne,ge,ye),Ae.hasOwnProperty("z2")&&G.attr("z2",Ae.z2||0),Ae.hasOwnProperty("silent")&&G.attr("silent",Ae.silent),Ae.hasOwnProperty("invisible")&&G.attr("invisible",Ae.invisible),Ae.hasOwnProperty("ignore")&&G.attr("ignore",Ae.ignore),Ae.hasOwnProperty("info")&&G.attr("info",Ae.info);var q=Ae.styleEmphasis;m.setElementHoverStyle(G,q),rt&&m.setAsHighDownDispatcher(G,q!==!1)}function M(G,ye,Ae,ge,Pe){Ae[G]!=null&&!Pe&&(ye[G]=Ae[G],Ae[G]=ge[G])}function F(G,ye,Ae,ge){var Pe=G.get("renderItem"),Re=G.coordinateSystem,rt={};Re&&(rt=Re.prepareCustoms?Re.prepareCustoms():S[Re.type](Re));var ne=b.defaults({getWidth:ge.getWidth,getHeight:ge.getHeight,getZr:ge.getZr,getDevicePixelRatio:ge.getDevicePixelRatio,value:Ie,style:fe,styleEmphasis:te,visual:J,barLayout:ve,currentSeriesIndices:De,font:ze},rt.api||{}),be={context:{},seriesId:G.id,seriesName:G.name,seriesIndex:G.seriesIndex,coordSys:rt.coordSys,dataInsideLength:ye.count(),encode:U(G.getData())},at,se=!0,q,X,Z,pe;return function(dt,Me){return at=dt,se=!0,Pe&&Pe(b.defaults({dataIndexInside:dt,dataIndex:ye.getRawIndex(dt),actionType:Me?Me.type:null},be),ne)};function oe(dt){dt==null&&(dt=at),se&&(q=ye.getItemModel(dt),X=q.getModel(T),Z=q.getModel(_),pe=ye.getItemVisual(dt,"color"),se=!1)}function Ie(dt,Me){return Me==null&&(Me=at),ye.get(ye.getDimension(dt||0),Me)}function fe(dt,Me){Me==null&&(Me=at),oe(Me);var Tt=q.getModel(x).getItemStyle();pe!=null&&(Tt.fill=pe);var je=ye.getItemVisual(Me,"opacity");je!=null&&(Tt.opacity=je);var st=dt?B(dt,X):X;return m.setTextStyle(Tt,st,null,{autoColor:pe,isRectText:!0}),Tt.text=st.getShallow("show")?b.retrieve2(G.getFormattedLabel(Me,"normal"),h(ye,Me)):null,dt&&V(Tt,dt),Tt}function te(dt,Me){Me==null&&(Me=at),oe(Me);var Tt=q.getModel(E).getItemStyle(),je=dt?B(dt,Z):Z;return m.setTextStyle(Tt,je,null,{isRectText:!0},!0),Tt.text=je.getShallow("show")?b.retrieve3(G.getFormattedLabel(Me,"emphasis"),G.getFormattedLabel(Me,"normal"),h(ye,Me)):null,dt&&V(Tt,dt),Tt}function J(dt,Me){return Me==null&&(Me=at),ye.getItemVisual(Me,dt)}function ve(dt){if(Re.getBaseAxis){var Me=Re.getBaseAxis();return a(b.defaults({axis:Me},dt),ge)}}function De(){return Ae.getCurrentSeriesIndices()}function ze(dt){return m.getFont(dt,Ae)}}function U(G){var ye={};return b.each(G.dimensions,function(Ae,ge){var Pe=G.getDimensionInfo(Ae);if(!Pe.isExtraCoord){var Re=Pe.coordDim,rt=ye[Re]=ye[Re]||[];rt[Pe.coordDimIndex]=ge}}),ye}function z(G,ye,Ae,ge,Pe,Re){return G=W(G,ye,Ae,ge,Pe,Re,!0),G&&Re.setItemGraphicEl(ye,G),G}function W(G,ye,Ae,ge,Pe,Re,rt){var ne=!Ae;Ae=Ae||{};var be=Ae.type,at=Ae.shape,se=Ae.style;if(G&&(ne||be!=null&&be!==G.__customGraphicType||be==="path"&&Q(at)&&Y(at)!==G.__customPathData||be==="image"&&he(se,"image")&&se.image!==G.__customImagePath||be==="text"&&he(at,"text")&&se.text!==G.__customText)&&(Pe.remove(G),G=null),ne)return;var q=!G;return!G&&(G=O(Ae)),L(G,ye,Ae,ge,Re,q,rt),be==="group"&&N(G,ye,Ae,ge,Re),Pe.add(G),G}function N(G,ye,Ae,ge,Pe){var Re=Ae.children,rt=Re?Re.length:0,ne=Ae.$mergeChildren,be=ne==="byName"||Ae.diffChildrenByName,at=ne===!1;if(!rt&&!be&&!at)return;if(be){H({oldChildren:G.children()||[],newChildren:Re||[],dataIndex:ye,animatableModel:ge,group:G,data:Pe});return}at&&G.removeAll();for(var se=0;se<rt;se++)Re[se]&&W(G.childAt(se),ye,Re[se],ge,G,Pe)}function H(G){new r(G.oldChildren,G.newChildren,j,j,G).add(k).update(k).remove(K).execute()}function j(G,ye){var Ae=G&&G.name;return Ae!=null?Ae:v+ye}function k(G,ye){var Ae=this.context,ge=G!=null?Ae.newChildren[G]:null,Pe=ye!=null?Ae.oldChildren[ye]:null;W(Pe,Ae.dataIndex,ge,Ae.animatableModel,Ae.group,Ae.data)}function B(G,ye){var Ae=new d({},ye);return b.each(C,function(ge,Pe){G.hasOwnProperty(ge)&&(Ae.option[Pe]=G[ge])}),Ae}function V(G,ye){for(var Ae in ye)(ye.hasOwnProperty(Ae)||!C.hasOwnProperty(Ae))&&(G[Ae]=ye[Ae])}function K(G){var ye=this.context,Ae=ye.oldChildren[G];Ae&&ye.group.remove(Ae)}function Y(G){return G&&(G.pathData||G.d)}function Q(G){return G&&(G.hasOwnProperty("pathData")||G.hasOwnProperty("d"))}function he(G,ye){return G&&G.hasOwnProperty(ye)}},"4HMb":function(R,I,e){var g=e("bYtY"),f=e("6GrX"),b=e("4NO4"),m=b.makeInner,y=e("aX7z"),h=y.makeLabelFormatter,u=y.getOptionCategoryInterval,i=y.shouldShowAllLabels,a=m();function r(T){return T.type==="category"?d(T):t(T)}function o(T,_){return T.type==="category"?l(T,_):{ticks:T.scale.getTicks()}}function d(T){var _=T.getLabelModel(),v=n(T,_);return!_.get("show")||T.scale.isBlank()?{labels:[],labelCategoryInterval:v.labelCategoryInterval}:v}function n(T,_){var v=s(T,"labels"),S=u(_),O=c(v,S);if(O)return O;var L,M;return g.isFunction(S)?L=E(T,S):(M=S==="auto"?A(T):S,L=x(T,M)),p(v,S,{labels:L,labelCategoryInterval:M})}function l(T,_){var v=s(T,"ticks"),S=u(_),O=c(v,S);if(O)return O;var L,M;if((!_.get("show")||T.scale.isBlank())&&(L=[]),g.isFunction(S))L=E(T,S,!0);else if(S==="auto"){var F=n(T,T.getLabelModel());M=F.labelCategoryInterval,L=g.map(F.labels,function(U){return U.tickValue})}else M=S,L=x(T,M,!0);return p(v,S,{ticks:L,tickCategoryInterval:M})}function t(T){var _=T.scale.getTicks(),v=h(T);return{labels:g.map(_,function(S,O){return{formattedLabel:v(S,O),rawLabel:T.scale.getLabel(S),tickValue:S}})}}function s(T,_){return a(T)[_]||(a(T)[_]=[])}function c(T,_){for(var v=0;v<T.length;v++)if(T[v].key===_)return T[v].value}function p(T,_,v){return T.push({key:_,value:v}),v}function A(T){var _=a(T).autoInterval;return _!=null?_:a(T).autoInterval=T.calculateCategoryInterval()}function w(T){var _=C(T),v=h(T),S=(_.axisRotate-_.labelRotate)/180*Math.PI,O=T.scale,L=O.getExtent(),M=O.count();if(L[1]-L[0]<1)return 0;var F=1;M>40&&(F=Math.max(1,Math.floor(M/40)));for(var U=L[0],z=T.dataToCoord(U+1)-T.dataToCoord(U),W=Math.abs(z*Math.cos(S)),N=Math.abs(z*Math.sin(S)),H=0,j=0;U<=L[1];U+=F){var k=0,B=0,V=f.getBoundingRect(v(U),_.font,"center","top");k=V.width*1.3,B=V.height*1.3,H=Math.max(H,k,7),j=Math.max(j,B,7)}var K=H/W,Y=j/N;isNaN(K)&&(K=Infinity),isNaN(Y)&&(Y=Infinity);var Q=Math.max(0,Math.floor(Math.min(K,Y))),he=a(T.model),G=T.getExtent(),ye=he.lastAutoInterval,Ae=he.lastTickCount;return ye!=null&&Ae!=null&&Math.abs(ye-Q)<=1&&Math.abs(Ae-M)<=1&&ye>Q&&he.axisExtend0===G[0]&&he.axisExtend1===G[1]?Q=ye:(he.lastTickCount=M,he.lastAutoInterval=Q,he.axisExtend0=G[0],he.axisExtend1=G[1]),Q}function C(T){var _=T.getLabelModel();return{axisRotate:T.getRotate?T.getRotate():T.isHorizontal&&!T.isHorizontal()?90:0,labelRotate:_.get("rotate")||0,font:_.getFont()}}function x(T,_,v){var S=h(T),O=T.scale,L=O.getExtent(),M=T.getLabelModel(),F=[],U=Math.max((_||0)+1,1),z=L[0],W=O.count();z!==0&&U>1&&W/U>2&&(z=Math.round(Math.ceil(z/U)*U));var N=i(T),H=M.get("showMinLabel")||N,j=M.get("showMaxLabel")||N;H&&z!==L[0]&&B(L[0]);for(var k=z;k<=L[1];k+=U)B(k);j&&k-U!==L[1]&&B(L[1]);function B(V){F.push(v?V:{formattedLabel:S(V),rawLabel:O.getLabel(V),tickValue:V})}return F}function E(T,_,v){var S=T.scale,O=h(T),L=[];return g.each(S.getTicks(),function(M){var F=S.getLabel(M);_(M,F)&&L.push(v?M:{formattedLabel:O(M),rawLabel:F,tickValue:M})}),L}I.createAxisLabels=r,I.createAxisTicks=o,I.calculateCategoryInterval=w},"4NO4":function(R,I,e){var g=e("bYtY"),f=e("ItGF"),b=g.each,m=g.isObject,y=g.isArray,h="series\0";function u(v){return v instanceof Array?v:v==null?[]:[v]}function i(v,S,O){if(v){v[S]=v[S]||{},v.emphasis=v.emphasis||{},v.emphasis[S]=v.emphasis[S]||{};for(var L=0,M=O.length;L<M;L++){var F=O[L];!v.emphasis[S].hasOwnProperty(F)&&v[S].hasOwnProperty(F)&&(v.emphasis[S][F]=v[S][F])}}}var a=["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 r(v){return m(v)&&!y(v)&&!(v instanceof Date)?v.value:v}function o(v){return m(v)&&!(v instanceof Array)}function d(v,S){S=(S||[]).slice();var O=g.map(v||[],function(L,M){return{exist:L}});return b(S,function(L,M){if(!m(L))return;for(var F=0;F<O.length;F++)if(!O[F].option&&L.id!=null&&O[F].exist.id===L.id+""){O[F].option=L,S[M]=null;return}for(var F=0;F<O.length;F++){var U=O[F].exist;if(!O[F].option&&(U.id==null||L.id==null)&&L.name!=null&&!t(L)&&!t(U)&&U.name===L.name+""){O[F].option=L,S[M]=null;return}}}),b(S,function(L,M){if(!m(L))return;for(var F=0;F<O.length;F++){var U=O[F].exist;if(!O[F].option&&!t(U)&&L.id==null){O[F].option=L;break}}F>=O.length&&O.push({option:L})}),O}function n(v){var S=g.createHashMap();b(v,function(O,L){var M=O.exist;M&&S.set(M.id,O)}),b(v,function(O,L){var M=O.option;g.assert(!M||M.id==null||!S.get(M.id)||S.get(M.id)===O,"id duplicates: "+(M&&M.id)),M&&M.id!=null&&S.set(M.id,O),!O.keyInfo&&(O.keyInfo={})}),b(v,function(O,L){var M=O.exist,F=O.option,U=O.keyInfo;if(!m(F))return;if(U.name=F.name!=null?F.name+"":M?M.name:h+L,M)U.id=M.id;else if(F.id!=null)U.id=F.id+"";else{var z=0;do U.id="\0"+U.name+"\0"+z++;while(S.get(U.id))}S.set(U.id,O)})}function l(v){var S=v.name;return!!(S&&S.indexOf(h))}function t(v){return m(v)&&v.id&&(v.id+"").indexOf("\0_ec_\0")===0}function s(v,S){var O={},L={};return M(v||[],O),M(S||[],L,O),[F(O),F(L)];function M(U,z,W){for(var N=0,H=U.length;N<H;N++)for(var j=U[N].seriesId,k=u(U[N].dataIndex),B=W&&W[j],V=0,K=k.length;V<K;V++){var Y=k[V];B&&B[Y]?B[Y]=null:(z[j]||(z[j]={}))[Y]=1}}function F(U,z){var W=[];for(var N in U)if(U.hasOwnProperty(N)&&U[N]!=null)if(z)W.push(+N);else{var H=F(U[N],!0);H.length&&W.push({seriesId:N,dataIndex:H})}return W}}function c(v,S){if(S.dataIndexInside!=null)return S.dataIndexInside;if(S.dataIndex!=null)return g.isArray(S.dataIndex)?g.map(S.dataIndex,function(O){return v.indexOfRawIndex(O)}):v.indexOfRawIndex(S.dataIndex);if(S.name!=null)return g.isArray(S.name)?g.map(S.name,function(O){return v.indexOfName(O)}):v.indexOfName(S.name)}function p(){var v="__\0ec_inner_"+A+++"_"+Math.random().toFixed(5);return function(S){return S[v]||(S[v]={})}}var A=0;function w(v,S,O){if(g.isString(S)){var L={};L[S+"Index"]=0,S=L}var M=O&&O.defaultMainType;M&&!C(S,M+"Index")&&!C(S,M+"Id")&&!C(S,M+"Name")&&(S[M+"Index"]=0);var F={};return b(S,function(U,z){var U=S[z];if(z==="dataIndex"||z==="dataIndexInside"){F[z]=U;return}var W=z.match(/^(\w+)(Index|Id|Name)$/)||[],N=W[1],H=(W[2]||"").toLowerCase();if(!N||!H||U==null||H==="index"&&U==="none"||O&&O.includeMainTypes&&g.indexOf(O.includeMainTypes,N)<0)return;var j={mainType:N};(H!=="index"||U!=="all")&&(j[H]=U);var k=v.queryComponents(j);F[N+"Models"]=k,F[N+"Model"]=k[0]}),F}function C(v,S){return v&&v.hasOwnProperty(S)}function x(v,S,O){v.setAttribute?v.setAttribute(S,O):v[S]=O}function E(v,S){return v.getAttribute?v.getAttribute(S):v[S]}function T(v){return v==="auto"?f.domSupported?"html":"richText":v||"html"}function _(v,S){var O=g.createHashMap(),L=[];return g.each(v,function(M){var F=S(M);(O.get(F)||(L.push(F),O.set(F,[]))).push(M)}),{keys:L,buckets:O}}I.normalizeToArray=u,I.defaultEmphasis=i,I.TEXT_STYLE_OPTIONS=a,I.getDataItemValue=r,I.isDataItemOption=o,I.mappingToExists=d,I.makeIdAndName=n,I.isNameSpecified=l,I.isIdInner=t,I.compressBatches=s,I.queryDataIndex=c,I.makeInner=p,I.parseFinder=w,I.setAttribute=x,I.getAttribute=E,I.getTooltipRenderMode=T,I.groupData=_},"4NgU":function(R,I,e){var g=e("Yl7c");function f(m){this._setting=m||{},this._extent=[Infinity,-Infinity],this._interval=0,this.init&&this.init.apply(this,arguments)}f.prototype.parse=function(m){return m},f.prototype.getSetting=function(m){return this._setting[m]},f.prototype.contain=function(m){var y=this._extent;return m>=y[0]&&m<=y[1]},f.prototype.normalize=function(m){var y=this._extent;return y[1]===y[0]?.5:(m-y[0])/(y[1]-y[0])},f.prototype.scale=function(m){var y=this._extent;return m*(y[1]-y[0])+y[0]},f.prototype.unionExtent=function(m){var y=this._extent;m[0]<y[0]&&(y[0]=m[0]),m[1]>y[1]&&(y[1]=m[1])},f.prototype.unionExtentFromData=function(m,y){this.unionExtent(m.getApproximateExtent(y))},f.prototype.getExtent=function(){return this._extent.slice()},f.prototype.setExtent=function(m,y){var h=this._extent;isNaN(m)||(h[0]=m),isNaN(y)||(h[1]=y)},f.prototype.isBlank=function(){return this._isBlank},f.prototype.setBlank=function(m){this._isBlank=m},f.prototype.getLabel=null,g.enableClassExtend(f),g.enableClassManagement(f,{registerWhenExtend:!0});var b=f;R.exports=b},"4fz+":function(R,I,e){var g=e("bYtY"),f=e("1bdT"),b=e("mFDi"),m=function(u){u=u||{},f.call(this,u);for(var i in u)u.hasOwnProperty(i)&&(this[i]=u[i]);this._children=[],this.__storage=null,this.__dirty=!0};m.prototype={constructor:m,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(u){return this._children[u]},childOfName:function(u){for(var i=this._children,a=0;a<i.length;a++)if(i[a].name===u)return i[a]},childCount:function(){return this._children.length},add:function(u){return u&&u!==this&&u.parent!==this&&(this._children.push(u),this._doAdd(u)),this},addBefore:function(u,i){if(u&&u!==this&&u.parent!==this&&i&&i.parent===this){var a=this._children,r=a.indexOf(i);r>=0&&(a.splice(r,0,u),this._doAdd(u))}return this},_doAdd:function(u){u.parent&&u.parent.remove(u),u.parent=this;var i=this.__storage,a=this.__zr;i&&i!==u.__storage&&(i.addToStorage(u),u instanceof m&&u.addChildrenToStorage(i)),a&&a.refresh()},remove:function(u){var i=this.__zr,a=this.__storage,r=this._children,o=g.indexOf(r,u);return o<0?this:(r.splice(o,1),u.parent=null,a&&(a.delFromStorage(u),u instanceof m&&u.delChildrenFromStorage(a)),i&&i.refresh(),this)},removeAll:function(){var u=this._children,i=this.__storage,a,r;for(r=0;r<u.length;r++)a=u[r],i&&(i.delFromStorage(a),a instanceof m&&a.delChildrenFromStorage(i)),a.parent=null;return u.length=0,this},eachChild:function(u,i){for(var a=this._children,r=0;r<a.length;r++){var o=a[r];u.call(i,o,r)}return this},traverse:function(u,i){for(var a=0;a<this._children.length;a++){var r=this._children[a];u.call(i,r),r.type==="group"&&r.traverse(u,i)}return this},addChildrenToStorage:function(u){for(var i=0;i<this._children.length;i++){var a=this._children[i];u.addToStorage(a),a instanceof m&&a.addChildrenToStorage(u)}},delChildrenFromStorage:function(u){for(var i=0;i<this._children.length;i++){var a=this._children[i];u.delFromStorage(a),a instanceof m&&a.delChildrenFromStorage(u)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(u){for(var i=null,a=new b(0,0,0,0),r=u||this._children,o=[],d=0;d<r.length;d++){var n=r[d];if(n.ignore||n.invisible)continue;var l=n.getBoundingRect(),t=n.getLocalTransform(o);t?(a.copy(l),a.applyTransform(t),i=i||a.clone(),i.union(a)):(i=i||l.clone(),i.union(l))}return i||a}},g.inherits(m,f);var y=m;R.exports=y},"4i/N":function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="CloseOutlined";var h=I.a=g.forwardRef(y)},"4kuk":function(R,I,e){var g=e("SfRM"),f=e("Hvzi"),b=e("u8Dt"),m=e("ekgI"),y=e("JSQU");function h(u){var i=-1,a=u==null?0:u.length;for(this.clear();++i<a;){var r=u[i];this.set(r[0],r[1])}}h.prototype.clear=g,h.prototype.delete=f,h.prototype.get=b,h.prototype.has=m,h.prototype.set=y,R.exports=h},"4mN7":function(R,I,e){var g=e("QBsz"),f=e("Sj9i"),b=Math.min,m=Math.max,y=Math.sin,h=Math.cos,u=Math.PI*2,i=g.create(),a=g.create(),r=g.create();function o(p,A,w){if(p.length===0)return;var C=p[0],x=C[0],E=C[0],T=C[1],_=C[1],v;for(v=1;v<p.length;v++)C=p[v],x=b(x,C[0]),E=m(E,C[0]),T=b(T,C[1]),_=m(_,C[1]);A[0]=x,A[1]=T,w[0]=E,w[1]=_}function d(p,A,w,C,x,E){x[0]=b(p,w),x[1]=b(A,C),E[0]=m(p,w),E[1]=m(A,C)}var n=[],l=[];function t(p,A,w,C,x,E,T,_,v,S){var O=f.cubicExtrema,L=f.cubicAt,M,F=O(p,w,x,T,n);for(v[0]=Infinity,v[1]=Infinity,S[0]=-Infinity,S[1]=-Infinity,M=0;M<F;M++){var U=L(p,w,x,T,n[M]);v[0]=b(U,v[0]),S[0]=m(U,S[0])}for(F=O(A,C,E,_,l),M=0;M<F;M++){var z=L(A,C,E,_,l[M]);v[1]=b(z,v[1]),S[1]=m(z,S[1])}v[0]=b(p,v[0]),S[0]=m(p,S[0]),v[0]=b(T,v[0]),S[0]=m(T,S[0]),v[1]=b(A,v[1]),S[1]=m(A,S[1]),v[1]=b(_,v[1]),S[1]=m(_,S[1])}function s(p,A,w,C,x,E,T,_){var v=f.quadraticExtremum,S=f.quadraticAt,O=m(b(v(p,w,x),1),0),L=m(b(v(A,C,E),1),0),M=S(p,w,x,O),F=S(A,C,E,L);T[0]=b(p,x,M),T[1]=b(A,E,F),_[0]=m(p,x,M),_[1]=m(A,E,F)}function c(p,A,w,C,x,E,T,_,v){var S=g.min,O=g.max,L=Math.abs(x-E);if(L%u<1e-4&&L>1e-4){_[0]=p-w,_[1]=A-C,v[0]=p+w,v[1]=A+C;return}if(i[0]=h(x)*w+p,i[1]=y(x)*C+A,a[0]=h(E)*w+p,a[1]=y(E)*C+A,S(_,i,a),O(v,i,a),x=x%u,x<0&&(x=x+u),E=E%u,E<0&&(E=E+u),x>E&&!T?E+=u:x<E&&T&&(x+=u),T){var M=E;E=x,x=M}for(var F=0;F<E;F+=Math.PI/2)F>x&&(r[0]=h(F)*w+p,r[1]=y(F)*C+A,S(_,r,_),O(v,r,v))}I.fromPoints=o,I.fromLine=d,I.fromCubic=t,I.fromQuadratic=s,I.fromArc=c},"4vCz":function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("X2/X")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="PlusSquareOutlined";var u=b.forwardRef(h);I.default=u},"4xFK":function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};I.default=g},"56rv":function(R,I,e){var g=e("IwbS"),f=e("x3X8"),b=f.getDefaultLabel;function m(h,u,i,a,r,o,d){var n=i.getModel("label"),l=i.getModel("emphasis.label");g.setLabelStyle(h,u,n,l,{labelFetcher:r,labelDataIndex:o,defaultText:b(r.getData(),o),isRectText:!0,autoColor:a}),y(h),y(u)}function y(h,u){h.textPosition==="outside"&&(h.textPosition=u)}I.setLabel=m},"59Ip":function(R,I,e){var g=e("Sj9i");function f(b,m,y,h,u,i,a,r,o,d,n){if(o===0)return!1;var l=o;if(n>m+l&&n>h+l&&n>i+l&&n>r+l||n<m-l&&n<h-l&&n<i-l&&n<r-l||d>b+l&&d>y+l&&d>u+l&&d>a+l||d<b-l&&d<y-l&&d<u-l&&d<a-l)return!1;var t=g.cubicProjectPoint(b,m,y,h,u,i,a,r,d,n,null);return t<=l/2}I.containStroke=f},"5Dmo":function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("5YgA"),m=e.n(b)},"5GOC":function(R,I,e){"use strict";var g=e("cIOH"),f=e("b56q"),b=e("15/o")},"5GhG":function(R,I,e){var g=e("5GtS"),f=e("bYtY"),b=e("L0Ub"),m=b.getDimensionTypeByAxis,y=e("D5nY"),h=y.makeSeriesEncodeForAxisCoordSys,u={_baseAxisDim:null,getInitialData:function(i,a){var r,o=a.getComponent("xAxis",this.get("xAxisIndex")),d=a.getComponent("yAxis",this.get("yAxisIndex")),n=o.get("type"),l=d.get("type"),t;n==="category"?(i.layout="horizontal",r=o.getOrdinalMeta(),t=!0):l==="category"?(i.layout="vertical",r=d.getOrdinalMeta(),t=!0):i.layout=i.layout||"horizontal";var s=["x","y"],c=i.layout==="horizontal"?0:1,p=this._baseAxisDim=s[c],A=s[1-c],w=[o,d],C=w[c].get("type"),x=w[1-c].get("type"),E=i.data;if(E&&t){var T=[];f.each(E,function(S,O){var L;S.value&&f.isArray(S.value)?(L=S.value.slice(),S.value.unshift(O)):f.isArray(S)?(L=S.slice(),S.unshift(O)):L=S,T.push(L)}),i.data=T}var _=this.defaultValueDimensions,v=[{name:p,type:m(C),ordinalMeta:r,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:A,type:m(x),dimsDef:_.slice()}];return g(this,{coordDimensions:v,dimensionsCount:_.length+1,encodeDefaulter:f.curry(h,v,this)})},getBaseAxis:function(){var i=this._baseAxisDim;return this.ecModel.getComponent(i+"Axis",this.get(i+"AxisIndex")).axis}};I.seriesModelMixin=u},"5GtS":function(R,I,e){var g=e("sdST"),f=e("YXkt"),b=e("bYtY"),m=b.extend,y=b.isArray;function h(u,i,a){i=y(i)&&{coordDimensions:i}||m({},i);var r=u.getSource(),o=g(r,i),d=new f(o,u);return d.initData(r,a),d}R.exports=h},"5Hur":function(R,I,e){var g=e("4NO4"),f=g.makeInner,b=g.normalizeToArray,m=f();function y(u,i){for(var a=u.length,r=0;r<a;r++)if(u[r].length>i)return u[r];return u[a-1]}var h={clearColorPalette:function(){m(this).colorIdx=0,m(this).colorNameMap={}},getColorFromPalette:function(u,i,a){i=i||this;var r=m(i),o=r.colorIdx||0,d=r.colorNameMap=r.colorNameMap||{};if(d.hasOwnProperty(u))return d[u];var n=b(this.get("color",!0)),l=this.get("colorLayer",!0),t=a==null||!l?n:y(l,a);if(t=t||n,!t||!t.length)return;var s=t[o];return u&&(d[u]=s),r.colorIdx=(o+1)%t.length,s}};R.exports=h},"5NDa":function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("OnYD"),m=e.n(b),y=e("+L6B")},"5NHt":function(R,I,e){e("aTJb"),e("OlYY"),e("fc+c"),e("N5BQ"),e("IyUQ"),e("LBfv"),e("noeP")},"5OYt":function(R,I,e){"use strict";var g=e("J4zp"),f=e.n(g),b=e("q1tI"),m=e.n(b),y=e("ACnJ");function h(){var u=Object(b.useState)({}),i=f()(u,2),a=i[0],r=i[1];return Object(b.useEffect)(function(){var o=y.a.subscribe(function(d){r(d)});return function(){return y.a.unsubscribe(o)}},[]),a}I.a=h},"5RHE":function(R,I,e){(function(g){var f,b,b;!function(m){!(f=m,b=typeof f=="function"?f.call(I,e,I,R):f,b!==void 0&&(R.exports=b))}(function(){"use strict";/** @license
* jsPDF - PDF Document creation from JavaScript
* Version 1.5.3 Built on 2018-12-27T14:11:42.696Z
* CommitID d93d28db14
*
* Copyright (c) 2010-2016 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
* 2010 Aaron Spike, https://github.com/acspike
* 2012 Willow Systems Corporation, willow-systems.com
* 2012 Pablo Hess, https://github.com/pablohess
* 2012 Florian Jenett, https://github.com/fjenett
* 2013 Warren Weckesser, https://github.com/warrenweckesser
* 2013 Youssef Beddad, https://github.com/lifof
* 2013 Lee Driscoll, https://github.com/lsdriscoll
* 2013 Stefan Slonevskiy, https://github.com/stefslon
* 2013 Jeremy Morel, https://github.com/jmorel
* 2013 Christoph Hartmann, https://github.com/chris-rock
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
* 2014 James Makes, https://github.com/dollaruw
* 2014 Diego Casorran, https://github.com/diegocr
* 2014 Steven Spungin, https://github.com/Flamenco
* 2014 Kenneth Glassey, https://github.com/Gavvers
*
* Licensed under the MIT License
*
* Contributor(s):
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
* kim3er, mfo, alnorth, Flamenco
*/function m(_e){return(m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ce){return typeof Ce}:function(Ce){return Ce&&typeof Symbol=="function"&&Ce.constructor===Symbol&&Ce!==Symbol.prototype?"symbol":typeof Ce})(_e)}!function(_e){if(m(_e.console)!=="object"){_e.console={};for(var Ce,Ee,we=_e.console,Fe=function(){},Ye=["memory"],Ge="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");Ce=Ye.pop();)we[Ce]||(we[Ce]={});for(;Ee=Ge.pop();)we[Ee]||(we[Ee]=Fe)}var qe,Ke,ut,wt,It="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";_e.btoa===void 0&&(_e.btoa=function(de){var xe,$,le,Oe,ke,Ue=0,nt=0,At="",Wt=[];if(!de)return de;for(;xe=(ke=de.charCodeAt(Ue++)<<16|de.charCodeAt(Ue++)<<8|de.charCodeAt(Ue++))>>18&63,$=ke>>12&63,le=ke>>6&63,Oe=63&ke,Wt[nt++]=It.charAt(xe)+It.charAt($)+It.charAt(le)+It.charAt(Oe),Ue<de.length;);At=Wt.join("");var $t=de.length%3;return($t?At.slice(0,$t-3):At)+"===".slice($t||3)}),_e.atob===void 0&&(_e.atob=function(de){var xe,$,le,Oe,ke,Ue,nt=0,At=0,Wt=[];if(!de)return de;for(de+="";xe=(Ue=It.indexOf(de.charAt(nt++))<<18|It.indexOf(de.charAt(nt++))<<12|(Oe=It.indexOf(de.charAt(nt++)))<<6|(ke=It.indexOf(de.charAt(nt++))))>>16&255,$=Ue>>8&255,le=255&Ue,Wt[At++]=Oe==64?String.fromCharCode(xe):ke==64?String.fromCharCode(xe,$):String.fromCharCode(xe,$,le),nt<de.length;);return Wt.join("")}),Array.prototype.map||(Array.prototype.map=function(de){if(this==null||typeof de!="function")throw new TypeError;for(var xe=Object(this),$=xe.length>>>0,le=new Array($),Oe=1<arguments.length?arguments[1]:void 0,ke=0;ke<$;ke++)ke in xe&&(le[ke]=de.call(Oe,xe[ke],ke,xe));return le}),Array.isArray||(Array.isArray=function(de){return Object.prototype.toString.call(de)==="[object Array]"}),Array.prototype.forEach||(Array.prototype.forEach=function(de,xe){if(this==null||typeof de!="function")throw new TypeError;for(var $=Object(this),le=$.length>>>0,Oe=0;Oe<le;Oe++)Oe in $&&de.call(xe,$[Oe],Oe,$)}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(xe){if(this==null)throw new TypeError('"this" is null or not defined');var $=Object(this),le=$.length>>>0;if(typeof xe!="function")throw new TypeError("predicate must be a function");for(var Oe=arguments[1],ke=0;ke<le;){var Ue=$[ke];if(xe.call(Oe,Ue,ke,$))return Ue;ke++}},configurable:!0,writable:!0}),Object.keys||(Object.keys=(qe=Object.prototype.hasOwnProperty,Ke=!{toString:null}.propertyIsEnumerable("toString"),wt=(ut=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]).length,function(de){if(m(de)!=="object"&&(typeof de!="function"||de===null))throw new TypeError;var xe,$,le=[];for(xe in de)qe.call(de,xe)&&le.push(xe);if(Ke)for($=0;$<wt;$++)qe.call(de,ut[$])&&le.push(ut[$]);return le})),typeof Object.assign!="function"&&(Object.assign=function(de){if(de==null)throw new TypeError("Cannot convert undefined or null to object");de=Object(de);for(var xe=1;xe<arguments.length;xe++){var $=arguments[xe];if($!=null)for(var le in $)Object.prototype.hasOwnProperty.call($,le)&&(de[le]=$[le])}return de}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),String.prototype.trimLeft||(String.prototype.trimLeft=function(){return this.replace(/^\s+/g,"")}),String.prototype.trimRight||(String.prototype.trimRight=function(){return this.replace(/\s+$/g,"")}),Number.isInteger=Number.isInteger||function(de){return typeof de=="number"&&isFinite(de)&&Math.floor(de)===de}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")());var y,h,u,i,a,r,o,d,n,l,t,s,c,p,A,w,C,x,E,T,_,v,S,O,L,M,F,U,z,W,N,H,j,k,B,V,K,Y,Q,he,G,ye,Ae,ge,Pe,Re,rt,ne,be,at,se,q,X,Z,pe,oe,Ie,fe,te,J,ve,De,ze=function(_e){function Ce(we){if(m(we)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var Fe={};this.subscribe=function(Ye,Ge,qe){if(qe=qe||!1,typeof Ye!="string"||typeof Ge!="function"||typeof qe!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");Fe.hasOwnProperty(Ye)||(Fe[Ye]={});var Ke=Math.random().toString(35);return Fe[Ye][Ke]=[Ge,!!qe],Ke},this.unsubscribe=function(Ye){for(var Ge in Fe)if(Fe[Ge][Ye])return delete Fe[Ge][Ye],Object.keys(Fe[Ge]).length===0&&delete Fe[Ge],!0;return!1},this.publish=function(Ye){if(Fe.hasOwnProperty(Ye)){var Ge=Array.prototype.slice.call(arguments,1),qe=[];for(var Ke in Fe[Ye]){var ut=Fe[Ye][Ke];try{ut[0].apply(we,Ge)}catch(wt){_e.console&&console.error("jsPDF PubSub Error",wt.message,wt)}ut[1]&&qe.push(Ke)}qe.length&&qe.forEach(this.unsubscribe)}},this.getTopics=function(){return Fe}}function Ee(we,Fe,Ye,Ge){var qe={},Ke=[],ut=1;m(we)==="object"&&(we=(qe=we).orientation,Fe=qe.unit||Fe,Ye=qe.format||Ye,Ge=qe.compress||qe.compressPdf||Ge,Ke=qe.filters||(Ge===!0?["FlateEncode"]:Ke),ut=typeof qe.userUnit=="number"?Math.abs(qe.userUnit):1),Fe=Fe||"mm",we=(""+(we||"P")).toLowerCase();var wt=qe.putOnlyUsedFonts||!0,It={},de={internal:{},__private__:{}};de.__private__.PubSub=Ce;var xe="1.3",$=de.__private__.getPdfVersion=function(){return xe},le=(de.__private__.setPdfVersion=function(xt){xe=xt},{a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]}),Oe=(de.__private__.getPageFormats=function(){return le},de.__private__.getPageFormat=function(xt){return le[xt]});typeof Ye=="string"&&(Ye=Oe(Ye)),Ye=Ye||Oe("a4");var ke,Ue=de.f2=de.__private__.f2=function(xt){if(isNaN(xt))throw new Error("Invalid argument passed to jsPDF.f2");return xt.toFixed(2)},nt=de.__private__.f3=function(xt){if(isNaN(xt))throw new Error("Invalid argument passed to jsPDF.f3");return xt.toFixed(3)},At="00000000000000000000000000000000",Wt=de.__private__.getFileId=function(){return At},$t=de.__private__.setFileId=function(xt){return xt=xt||"12345678901234567890123456789012".split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),At=xt};de.setFileId=function(xt){return $t(xt),this},de.getFileId=function(){return Wt()};var Rt=de.__private__.convertDateToPDFDate=function(xt){var Vt=xt.getTimezoneOffset(),sr=Vt<0?"+":"-",br=Math.floor(Math.abs(Vt/60)),Mr=Math.abs(Vt%60),Dr=[sr,_t(br),"'",_t(Mr),"'"].join("");return["D:",xt.getFullYear(),_t(xt.getMonth()+1),_t(xt.getDate()),_t(xt.getHours()),_t(xt.getMinutes()),_t(xt.getSeconds()),Dr].join("")},zt=de.__private__.convertPDFDateToDate=function(xt){var Vt=parseInt(xt.substr(2,4),10),sr=parseInt(xt.substr(6,2),10)-1,br=parseInt(xt.substr(8,2),10),Mr=parseInt(xt.substr(10,2),10),Dr=parseInt(xt.substr(12,2),10),rn=parseInt(xt.substr(14,2),10);return parseInt(xt.substr(16,2),10),parseInt(xt.substr(20,2),10),new Date(Vt,sr,br,Mr,Dr,rn,0)},Gt=de.__private__.setCreationDate=function(xt){var Vt;if(xt===void 0&&(xt=new Date),m(xt)==="object"&&Object.prototype.toString.call(xt)==="[object Date]")Vt=Rt(xt);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|\-0[0-9]|\-1[0-1])\'(0[0-9]|[1-5][0-9])\'?$/.test(xt))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Vt=xt}return ke=Vt},Qt=de.__private__.getCreationDate=function(xt){var Vt=ke;return xt==="jsDate"&&(Vt=zt(ke)),Vt};de.setCreationDate=function(xt){return Gt(xt),this},de.getCreationDate=function(xt){return Qt(xt)};var Mt,dr,er,ht,Et,pt,vt,Nt,_t=de.__private__.padd2=function(xt){return("0"+parseInt(xt)).slice(-2)},gt=!1,Ht=[],kt=[],ir=0,Xt=(de.__private__.setCustomOutputDestination=function(xt){dr=xt},de.__private__.resetCustomOutputDestination=function(xt){dr=void 0},de.__private__.out=function(xt){var Vt;return xt=typeof xt=="string"?xt:xt.toString(),(Vt=dr===void 0?gt?Ht[Mt]:kt:dr).push(xt),gt||(ir+=xt.length+1),Vt}),mr=de.__private__.write=function(xt){return Xt(arguments.length===1?xt.toString():Array.prototype.join.call(arguments," "))},Ar=de.__private__.getArrayBuffer=function(xt){for(var Vt=xt.length,sr=new ArrayBuffer(Vt),br=new Uint8Array(sr);Vt--;)br[Vt]=xt.charCodeAt(Vt);return sr},Nr=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]],kr=(de.__private__.getStandardFonts=function(xt){return Nr},qe.fontSize||16),tn=(de.__private__.setFontSize=de.setFontSize=function(xt){return kr=xt,this},de.__private__.getFontSize=de.getFontSize=function(){return kr}),qr=qe.R2L||!1,_r=(de.__private__.setR2L=de.setR2L=function(xt){return qr=xt,this},de.__private__.getR2L=de.getR2L=function(xt){return qr},de.__private__.setZoomMode=function(xt){var Vt=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^\d*\.?\d*\%$/.test(xt))er=xt;else if(isNaN(xt)){if(Vt.indexOf(xt)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+xt+'" is not recognized.');er=xt}else er=parseInt(xt,10)}),Qr=(de.__private__.getZoomMode=function(){return er},de.__private__.setPageMode=function(xt){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(xt)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+xt+'" is not recognized.');ht=xt}),Ir=(de.__private__.getPageMode=function(){return ht},de.__private__.setLayoutMode=function(xt){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(xt)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+xt+'" is not recognized.');Et=xt}),cr=(de.__private__.getLayoutMode=function(){return Et},de.__private__.setDisplayMode=de.setDisplayMode=function(xt,Vt,sr){return _r(xt),Ir(Vt),Qr(sr),this},{title:"",subject:"",author:"",keywords:"",creator:""}),pr=(de.__private__.getDocumentProperty=function(xt){if(Object.keys(cr).indexOf(xt)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return cr[xt]},de.__private__.getDocumentProperties=function(xt){return cr},de.__private__.setDocumentProperties=de.setProperties=de.setDocumentProperties=function(xt){for(var Vt in cr)cr.hasOwnProperty(Vt)&&xt[Vt]&&(cr[Vt]=xt[Vt]);return this},de.__private__.setDocumentProperty=function(xt,Vt){if(Object.keys(cr).indexOf(xt)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return cr[xt]=Vt},0),ur=[],fr={},xr={},Yr=0,cn=[],Nn=[],jr=new Ce(de),Tn=qe.hotfixes||[],gn=de.__private__.newObject=function(){var xt=Pn();return Kn(xt,!0),xt},Pn=de.__private__.newObjectDeferred=function(){return ur[++pr]=function(){return ir},pr},Kn=function(Vt,sr){return sr=typeof sr=="boolean"&&sr,ur[Vt]=ir,sr&&Xt(Vt+" 0 obj"),Vt},qn=de.__private__.newAdditionalObject=function(){var xt={objId:Pn(),content:""};return Nn.push(xt),xt},Yn=Pn(),Vn=Pn(),An=de.__private__.decodeColorString=function(xt){var Vt=xt.split(" ");if(Vt.length===2&&(Vt[1]==="g"||Vt[1]==="G")){var sr=parseFloat(Vt[0]);Vt=[sr,sr,sr,"r"]}for(var br="#",Mr=0;Mr<3;Mr++)br+=("0"+Math.floor(255*parseFloat(Vt[Mr])).toString(16)).slice(-2);return br},on=de.__private__.encodeColorString=function(xt){var Vt;typeof xt=="string"&&(xt={ch1:xt});var sr=xt.ch1,br=xt.ch2,Mr=xt.ch3,Dr=xt.ch4,rn=(xt.precision,xt.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"]);if(typeof sr=="string"&&sr.charAt(0)!=="#"){var fn=new RGBColor(sr);if(fn.ok)sr=fn.toHex();else if(!/^\d*\.?\d*$/.test(sr))throw new Error('Invalid color "'+sr+'" passed to jsPDF.encodeColorString.')}if(typeof sr=="string"&&/^#[0-9A-Fa-f]{3}$/.test(sr)&&(sr="#"+sr[1]+sr[1]+sr[2]+sr[2]+sr[3]+sr[3]),typeof sr=="string"&&/^#[0-9A-Fa-f]{6}$/.test(sr)){var wn=parseInt(sr.substr(1),16);sr=wn>>16&255,br=wn>>8&255,Mr=255&wn}if(br===void 0||Dr===void 0&&sr===br&&br===Mr)if(typeof sr=="string")Vt=sr+" "+rn[0];else switch(xt.precision){case 2:Vt=Ue(sr/255)+" "+rn[0];break;case 3:default:Vt=nt(sr/255)+" "+rn[0]}else if(Dr===void 0||m(Dr)==="object"){if(Dr&&!isNaN(Dr.a)&&Dr.a===0)return Vt=["1.000","1.000","1.000",rn[1]].join(" ");if(typeof sr=="string")Vt=[sr,br,Mr,rn[1]].join(" ");else switch(xt.precision){case 2:Vt=[Ue(sr/255),Ue(br/255),Ue(Mr/255),rn[1]].join(" ");break;default:case 3:Vt=[nt(sr/255),nt(br/255),nt(Mr/255),rn[1]].join(" ")}}else if(typeof sr=="string")Vt=[sr,br,Mr,Dr,rn[2]].join(" ");else switch(xt.precision){case 2:Vt=[Ue(sr/255),Ue(br/255),Ue(Mr/255),Ue(Dr/255),rn[2]].join(" ");break;case 3:default:Vt=[nt(sr/255),nt(br/255),nt(Mr/255),nt(Dr/255),rn[2]].join(" ")}return Vt},ia=de.__private__.getFilters=function(){return Ke},xa=de.__private__.putStream=function(xt){var Vt=(xt=xt||{}).data||"",sr=xt.filters||ia(),br=xt.alreadyAppliedFilters||[],Mr=xt.addLength1||!1,Dr=Vt.length,rn={};sr===!0&&(sr=["FlateEncode"]);var fn=xt.additionalKeyValues||[],wn=(rn=Ee.API.processDataByFilters!==void 0?Ee.API.processDataByFilters(Vt,sr):{data:Vt,reverseChain:[]}).reverseChain+(Array.isArray(br)?br.join(" "):br.toString());rn.data.length!==0&&(fn.push({key:"Length",value:rn.data.length}),Mr===!0&&fn.push({key:"Length1",value:Dr})),wn.length!=0&&(wn.split("/").length-1==1?fn.push({key:"Filter",value:wn}):fn.push({key:"Filter",value:"["+wn+"]"})),Xt("<<");for(var Hn=0;Hn<fn.length;Hn++)Xt("/"+fn[Hn].key+" "+fn[Hn].value);Xt(">>"),rn.data.length!==0&&(Xt("stream"),Xt(rn.data),Xt("endstream"))},ta=de.__private__.putPage=function(xt){xt.mediaBox;var Vt=xt.number,sr=xt.data,br=xt.objId,Mr=xt.contentsObjId;Kn(br,!0),cn[Mt].mediaBox.topRightX,cn[Mt].mediaBox.bottomLeftX,cn[Mt].mediaBox.topRightY,cn[Mt].mediaBox.bottomLeftY,Xt("<</Type /Page"),Xt("/Parent "+xt.rootDictionaryObjId+" 0 R"),Xt("/Resources "+xt.resourceDictionaryObjId+" 0 R"),Xt("/MediaBox ["+parseFloat(Ue(xt.mediaBox.bottomLeftX))+" "+parseFloat(Ue(xt.mediaBox.bottomLeftY))+" "+Ue(xt.mediaBox.topRightX)+" "+Ue(xt.mediaBox.topRightY)+"]"),xt.cropBox!==null&&Xt("/CropBox ["+Ue(xt.cropBox.bottomLeftX)+" "+Ue(xt.cropBox.bottomLeftY)+" "+Ue(xt.cropBox.topRightX)+" "+Ue(xt.cropBox.topRightY)+"]"),xt.bleedBox!==null&&Xt("/BleedBox ["+Ue(xt.bleedBox.bottomLeftX)+" "+Ue(xt.bleedBox.bottomLeftY)+" "+Ue(xt.bleedBox.topRightX)+" "+Ue(xt.bleedBox.topRightY)+"]"),xt.trimBox!==null&&Xt("/TrimBox ["+Ue(xt.trimBox.bottomLeftX)+" "+Ue(xt.trimBox.bottomLeftY)+" "+Ue(xt.trimBox.topRightX)+" "+Ue(xt.trimBox.topRightY)+"]"),xt.artBox!==null&&Xt("/ArtBox ["+Ue(xt.artBox.bottomLeftX)+" "+Ue(xt.artBox.bottomLeftY)+" "+Ue(xt.artBox.topRightX)+" "+Ue(xt.artBox.topRightY)+"]"),typeof xt.userUnit=="number"&&xt.userUnit!==1&&Xt("/UserUnit "+xt.userUnit),jr.publish("putPage",{objId:br,pageContext:cn[Vt],pageNumber:Vt,page:sr}),Xt("/Contents "+Mr+" 0 R"),Xt(">>"),Xt("endobj");var Dr=sr.join(`
`);return Kn(Mr,!0),xa({data:Dr,filters:ia()}),Xt("endobj"),br},Ii=de.__private__.putPages=function(){var xt,Vt,sr=[];for(xt=1;xt<=Yr;xt++)cn[xt].objId=Pn(),cn[xt].contentsObjId=Pn();for(xt=1;xt<=Yr;xt++)sr.push(ta({number:xt,data:Ht[xt],objId:cn[xt].objId,contentsObjId:cn[xt].contentsObjId,mediaBox:cn[xt].mediaBox,cropBox:cn[xt].cropBox,bleedBox:cn[xt].bleedBox,trimBox:cn[xt].trimBox,artBox:cn[xt].artBox,userUnit:cn[xt].userUnit,rootDictionaryObjId:Yn,resourceDictionaryObjId:Vn}));Kn(Yn,!0),Xt("<</Type /Pages");var br="/Kids [";for(Vt=0;Vt<Yr;Vt++)br+=sr[Vt]+" 0 R ";Xt(br+"]"),Xt("/Count "+Yr),Xt(">>"),Xt("endobj"),jr.publish("postPutPages")},Ci=function(){!function(){for(var Vt in fr)fr.hasOwnProperty(Vt)&&(wt===!1||wt===!0&&It.hasOwnProperty(Vt))&&(sr=fr[Vt],jr.publish("putFont",{font:sr,out:Xt,newObject:gn,putStream:xa}),sr.isAlreadyPutted!==!0&&(sr.objectNumber=gn(),Xt("<<"),Xt("/Type /Font"),Xt("/BaseFont /"+sr.postScriptName),Xt("/Subtype /Type1"),typeof sr.encoding=="string"&&Xt("/Encoding /"+sr.encoding),Xt("/FirstChar 32"),Xt("/LastChar 255"),Xt(">>"),Xt("endobj")));var sr}(),jr.publish("putResources"),Kn(Vn,!0),Xt("<<"),function(){for(var Vt in Xt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Xt("/Font <<"),fr)fr.hasOwnProperty(Vt)&&(wt===!1||wt===!0&&It.hasOwnProperty(Vt))&&Xt("/"+Vt+" "+fr[Vt].objectNumber+" 0 R");Xt(">>"),Xt("/XObject <<"),jr.publish("putXobjectDict"),Xt(">>")}(),Xt(">>"),Xt("endobj"),jr.publish("postPutResources")},Gn=function(Vt,sr,br){xr.hasOwnProperty(sr)||(xr[sr]={}),xr[sr][br]=Vt},Oa=function(Vt,sr,br,Mr,Dr){Dr=Dr||!1;var rn="F"+(Object.keys(fr).length+1).toString(10),fn={id:rn,postScriptName:Vt,fontName:sr,fontStyle:br,encoding:Mr,isStandardFont:Dr,metadata:{}};return jr.publish("addFont",{font:fn,instance:this}),rn!==void 0&&(fr[rn]=fn,Gn(rn,sr,br)),rn},mn=de.__private__.pdfEscape=de.pdfEscape=function(xt,Vt){return function(sr,br){var Mr,Dr,rn,fn,wn,Hn,Sn,bn,Mn;if(rn=(br=br||{}).sourceEncoding||"Unicode",wn=br.outputEncoding,(br.autoencode||wn)&&fr[pt].metadata&&fr[pt].metadata[rn]&&fr[pt].metadata[rn].encoding&&(fn=fr[pt].metadata[rn].encoding,!wn&&fr[pt].encoding&&(wn=fr[pt].encoding),!wn&&fn.codePages&&(wn=fn.codePages[0]),typeof wn=="string"&&(wn=fn[wn]),wn)){for(Sn=!1,Hn=[],Mr=0,Dr=sr.length;Mr<Dr;Mr++)(bn=wn[sr.charCodeAt(Mr)])?Hn.push(String.fromCharCode(bn)):Hn.push(sr[Mr]),Hn[Mr].charCodeAt(0)>>8&&(Sn=!0);sr=Hn.join("")}for(Mr=sr.length;Sn===void 0&&Mr!==0;)sr.charCodeAt(Mr-1)>>8&&(Sn=!0),Mr--;if(!Sn)return sr;for(Hn=br.noBOM?[]:[254,255],Mr=0,Dr=sr.length;Mr<Dr;Mr++){if((Mn=(bn=sr.charCodeAt(Mr))>>8)>>8)throw new Error("Character at position "+Mr+" of string '"+sr+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Hn.push(Mn),Hn.push(bn-(Mn<<8))}return String.fromCharCode.apply(void 0,Hn)}(xt,Vt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},On=de.__private__.beginPage=function(xt,Vt){var sr,br=typeof Vt=="string"&&Vt.toLowerCase();if(typeof xt=="string"&&(sr=Oe(xt.toLowerCase()))&&(xt=sr[0],Vt=sr[1]),Array.isArray(xt)&&(Vt=xt[1],xt=xt[0]),(isNaN(xt)||isNaN(Vt))&&(xt=Ye[0],Vt=Ye[1]),br){switch(br.substr(0,1)){case"l":xt<Vt&&(br="s");break;case"p":Vt<xt&&(br="s")}br==="s"&&(sr=xt,xt=Vt,Vt=sr)}(14400<xt||14400<Vt)&&(console.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),xt=Math.min(14400,xt),Vt=Math.min(14400,Vt)),Ye=[xt,Vt],gt=!0,Ht[++Yr]=[],cn[Yr]={objId:0,contentsObjId:0,userUnit:Number(ut),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(xt),topRightY:Number(Vt)}},In(Yr)},_n=function(){On.apply(this,arguments),To(eo),Xt(jt),Kr!==0&&Xt(Kr+" J"),Jr!==0&&Xt(Jr+" j"),jr.publish("addPage",{pageNumber:Yr})},In=function(Vt){0<Vt&&Vt<=Yr&&(Mt=Vt)},jn=de.__private__.getNumberOfPages=de.getNumberOfPages=function(){return Ht.length-1},ni=function(Vt,sr,br){var Mr,Dr=void 0;return br=br||{},Vt=Vt!==void 0?Vt:fr[pt].fontName,sr=sr!==void 0?sr:fr[pt].fontStyle,Mr=Vt.toLowerCase(),xr[Mr]!==void 0&&xr[Mr][sr]!==void 0?Dr=xr[Mr][sr]:xr[Vt]!==void 0&&xr[Vt][sr]!==void 0?Dr=xr[Vt][sr]:br.disableWarning===!1&&console.warn("Unable to look up font label for font '"+Vt+"', '"+sr+"'. Refer to getFontList() for available fonts."),Dr||br.noFallback||(Dr=xr.times[sr])==null&&(Dr=xr.times.normal),Dr},di=de.__private__.putInfo=function(){for(var xt in gn(),Xt("<<"),Xt("/Producer (jsPDF "+Ee.version+")"),cr)cr.hasOwnProperty(xt)&&cr[xt]&&Xt("/"+xt.substr(0,1).toUpperCase()+xt.substr(1)+" ("+mn(cr[xt])+")");Xt("/CreationDate ("+ke+")"),Xt(">>"),Xt("endobj")},Na=de.__private__.putCatalog=function(xt){var Vt=(xt=xt||{}).rootDictionaryObjId||Yn;switch(gn(),Xt("<<"),Xt("/Type /Catalog"),Xt("/Pages "+Vt+" 0 R"),er||(er="fullwidth"),er){case"fullwidth":Xt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Xt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Xt("/OpenAction [3 0 R /Fit]");break;case"original":Xt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var sr=""+er;sr.substr(sr.length-1)==="%"&&(er=parseInt(er)/100),typeof er=="number"&&Xt("/OpenAction [3 0 R /XYZ null null "+Ue(er)+"]")}switch(Et||(Et="continuous"),Et){case"continuous":Xt("/PageLayout /OneColumn");break;case"single":Xt("/PageLayout /SinglePage");break;case"two":case"twoleft":Xt("/PageLayout /TwoColumnLeft");break;case"tworight":Xt("/PageLayout /TwoColumnRight")}ht&&Xt("/PageMode /"+ht),jr.publish("putCatalog"),Xt(">>"),Xt("endobj")},Qi=de.__private__.putTrailer=function(){Xt("trailer"),Xt("<<"),Xt("/Size "+(pr+1)),Xt("/Root "+pr+" 0 R"),Xt("/Info "+(pr-1)+" 0 R"),Xt("/ID [ <"+At+"> <"+At+"> ]"),Xt(">>")},ma=de.__private__.putHeader=function(){Xt("%PDF-"+xe),Xt("%\xBA\xDF\xAC\xE0")},Ba=de.__private__.putXRef=function(){var xt=1,Vt="0000000000";for(Xt("xref"),Xt("0 "+(pr+1)),Xt("0000000000 65535 f "),xt=1;xt<=pr;xt++)typeof ur[xt]=="function"?Xt((Vt+ur[xt]()).slice(-10)+" 00000 n "):ur[xt]!==void 0?Xt((Vt+ur[xt]).slice(-10)+" 00000 n "):Xt("0000000000 00000 n ")},Qa=de.__private__.buildDocument=function(){gt=!1,ir=pr=0,kt=[],ur=[],Nn=[],Yn=Pn(),Vn=Pn(),jr.publish("buildDocument"),ma(),Ii(),function(){jr.publish("putAdditionalObjects");for(var Vt=0;Vt<Nn.length;Vt++){var sr=Nn[Vt];Kn(sr.objId,!0),Xt(sr.content),Xt("endobj")}jr.publish("postPutAdditionalObjects")}(),Ci(),di(),Na();var xt=ir;return Ba(),Qi(),Xt("startxref"),Xt(""+xt),Xt("%%EOF"),gt=!0,kt.join(`
`)},Wi=de.__private__.getBlob=function(xt){return new Blob([Ar(xt)],{type:"application/pdf"})},Co=de.output=de.__private__.output=((Nt=function(Vt,sr){sr=sr||{};var br=Qa();switch(typeof sr=="string"?sr={filename:sr}:sr.filename=sr.filename||"generated.pdf",Vt){case void 0:return br;case"save":de.save(sr.filename);break;case"arraybuffer":return Ar(br);case"blob":return Wi(br);case"bloburi":case"bloburl":if(_e.URL!==void 0&&typeof _e.URL.createObjectURL=="function")return _e.URL&&_e.URL.createObjectURL(Wi(br))||void 0;console.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":return"data:application/pdf;filename="+sr.filename+";base64,"+btoa(br);case"dataurlnewwindow":var Mr='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring")+'"></iframe></body></html>',Dr=_e.open();if(Dr!==null&&Dr.document.write(Mr),Dr||typeof safari=="undefined")return Dr;case"datauri":case"dataurl":return _e.document.location.href="data:application/pdf;filename="+sr.filename+";base64,"+btoa(br);default:return null}}).foo=function(){try{return Nt.apply(this,arguments)}catch(sr){var xt=sr.stack||"";~xt.indexOf(" at ")&&(xt=xt.split(" at ")[1]);var Vt="Error in function "+xt.split(`
`)[0].split("<")[0]+": "+sr.message;if(!_e.console)throw new Error(Vt);_e.console.error(Vt,sr),_e.alert&&alert(Vt)}},(Nt.foo.bar=Nt).foo),aa=function(Vt){return Array.isArray(Tn)===!0&&-1<Tn.indexOf(Vt)};switch(Fe){case"pt":vt=1;break;case"mm":vt=72/25.4;break;case"cm":vt=72/2.54;break;case"in":vt=72;break;case"px":vt=aa("px_scaling")==1?.75:96/72;break;case"pc":case"em":vt=12;break;case"ex":vt=6;break;default:throw new Error("Invalid unit: "+Fe)}Gt(),$t();var Hi=de.__private__.getPageInfo=function(xt){if(isNaN(xt)||xt%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:cn[xt].objId,pageNumber:xt,pageContext:cn[xt]}},ga=de.__private__.getPageInfoByObjId=function(xt){for(var Vt in cn)if(cn[Vt].objId===xt)break;if(isNaN(xt)||xt%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");return Hi(Vt)},ha=de.__private__.getCurrentPageInfo=function(){return{objId:cn[Mt].objId,pageNumber:Mt,pageContext:cn[Mt]}};de.addPage=function(){return _n.apply(this,arguments),this},de.setPage=function(){return In.apply(this,arguments),this},de.insertPage=function(xt){return this.addPage(),this.movePage(Mt,xt),this},de.movePage=function(xt,Vt){if(Vt<xt){for(var sr=Ht[xt],br=cn[xt],Mr=xt;Vt<Mr;Mr--)Ht[Mr]=Ht[Mr-1],cn[Mr]=cn[Mr-1];Ht[Vt]=sr,cn[Vt]=br,this.setPage(Vt)}else if(xt<Vt){for(sr=Ht[xt],br=cn[xt],Mr=xt;Mr<Vt;Mr++)Ht[Mr]=Ht[Mr+1],cn[Mr]=cn[Mr+1];Ht[Vt]=sr,cn[Vt]=br,this.setPage(Vt)}return this},de.deletePage=function(){return function(xt){0<xt&&xt<=Yr&&(Ht.splice(xt,1),--Yr<Mt&&(Mt=Yr),this.setPage(Mt))}.apply(this,arguments),this},de.__private__.text=de.text=function(xt,Vt,sr,br){var Mr;typeof xt!="number"||typeof Vt!="number"||typeof sr!="string"&&!Array.isArray(sr)||(Mr=sr,sr=Vt,Vt=xt,xt=Mr);var Dr=arguments[3],rn=arguments[4],fn=arguments[5];if(m(Dr)==="object"&&Dr!==null||(typeof rn=="string"&&(fn=rn,rn=null),typeof Dr=="string"&&(fn=Dr,Dr=null),typeof Dr=="number"&&(rn=Dr,Dr=null),br={flags:Dr,angle:rn,align:fn}),(Dr=Dr||{}).noBOM=Dr.noBOM||!0,Dr.autoencode=Dr.autoencode||!0,isNaN(Vt)||isNaN(sr)||xt==null)throw new Error("Invalid arguments passed to jsPDF.text");if(xt.length===0)return bn;var wn,Hn="",Sn=typeof br.lineHeightFactor=="number"?br.lineHeightFactor:$i,bn=br.scope||this;function Mn(ra){for(var Yi,Xa=ra.concat(),zi=[],Ki=Xa.length;Ki--;)typeof(Yi=Xa.shift())=="string"?zi.push(Yi):Array.isArray(ra)&&Yi.length===1?zi.push(Yi[0]):zi.push([Yi[0],Yi[1],Yi[2]]);return zi}function vn(ra,Yi){var Xa;if(typeof ra=="string")Xa=Yi(ra)[0];else if(Array.isArray(ra)){for(var zi,Ki,ba=ra.concat(),Ua=[],wa=ba.length;wa--;)typeof(zi=ba.shift())=="string"?Ua.push(Yi(zi)[0]):Array.isArray(zi)&&zi[0]==="string"&&(Ki=Yi(zi[0],zi[1],zi[2]),Ua.push([Ki[0],Ki[1],Ki[2]]));Xa=Ua}return Xa}var Rn=!1,En=!0;if(typeof xt=="string")Rn=!0;else if(Array.isArray(xt)){for(var Ln,Xn=xt.concat(),ai=[],ri=Xn.length;ri--;)(typeof(Ln=Xn.shift())!="string"||Array.isArray(Ln)&&typeof Ln[0]!="string")&&(En=!1);Rn=En}if(Rn===!1)throw new Error('Type of text must be string or Array. "'+xt+'" is not recognized.');var Di=fr[pt].encoding;Di!=="WinAnsiEncoding"&&Di!=="StandardEncoding"||(xt=vn(xt,function(ra,Yi,Xa){return[(zi=ra,zi=zi.split(" ").join(Array(br.TabLen||9).join(" ")),mn(zi,Dr)),Yi,Xa];var zi})),typeof xt=="string"&&(xt=xt.match(/[\r?\n]/)?xt.split(/\r\n|\r|\n/g):[xt]);var yi=kr/bn.internal.scaleFactor,xi=yi*($i-1);switch(br.baseline){case"bottom":sr-=xi;break;case"top":sr+=yi-xi;break;case"hanging":sr+=yi-2*xi;break;case"middle":sr+=yi/2-xi}0<(sa=br.maxWidth||0)&&(typeof xt=="string"?xt=bn.splitTextToSize(xt,sa):Object.prototype.toString.call(xt)==="[object Array]"&&(xt=bn.splitTextToSize(xt.join(" "),sa)));var _i={text:xt,x:Vt,y:sr,options:br,mutex:{pdfEscape:mn,activeFontKey:pt,fonts:fr,activeFontSize:kr}};jr.publish("preProcessText",_i),xt=_i.text,rn=(br=_i.options).angle;var Un=bn.internal.scaleFactor,Ri=[];if(rn){rn*=Math.PI/180;var fa=Math.cos(rn),Ui=Math.sin(rn);Ri=[Ue(fa),Ue(Ui),Ue(-1*Ui),Ue(fa)]}(oa=br.charSpace)!==void 0&&(Hn+=nt(oa*Un)+` Tc
`),br.lang;var Mi=-1,mi=br.renderingMode!==void 0?br.renderingMode:br.stroke,hi=bn.internal.getCurrentPageInfo().pageContext;switch(mi){case 0:case!1:case"fill":Mi=0;break;case 1:case!0:case"stroke":Mi=1;break;case 2:case"fillThenStroke":Mi=2;break;case 3:case"invisible":Mi=3;break;case 4:case"fillAndAddForClipping":Mi=4;break;case 5:case"strokeAndAddPathForClipping":Mi=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":Mi=6;break;case 7:case"addToPathForClipping":Mi=7}var qi=hi.usedRenderingMode!==void 0?hi.usedRenderingMode:-1;Mi!==-1?Hn+=Mi+` Tr
`:qi!==-1&&(Hn+=`0 Tr
`),Mi!==-1&&(hi.usedRenderingMode=Mi),fn=br.align||"left";var va=kr*Sn,Ea=bn.internal.pageSize.getWidth(),ya=(Un=bn.internal.scaleFactor,fr[pt]),oa=br.charSpace||wr,sa=br.maxWidth||0,Ni=(Dr={},[]);if(Object.prototype.toString.call(xt)==="[object Array]"){var $n,Ai;ai=Mn(xt),fn!=="left"&&(Ai=ai.map(function(ra){return bn.getStringUnitWidth(ra,{font:ya,charSpace:oa,fontSize:kr})*kr/Un}));var Li,Vi=Math.max.apply(Math,Ai),Xi=0;if(fn==="right"){Vt-=Ai[0],xt=[];var bi=0;for(ri=ai.length;bi<ri;bi++)Vi-Ai[bi],$n=bi===0?(Li=Pr(Vt),Wr(sr)):(Li=(Xi-Ai[bi])*Un,-va),xt.push([ai[bi],Li,$n]),Xi=Ai[bi]}else if(fn==="center")for(Vt-=Ai[0]/2,xt=[],bi=0,ri=ai.length;bi<ri;bi++)(Vi-Ai[bi])/2,$n=bi===0?(Li=Pr(Vt),Wr(sr)):(Li=(Xi-Ai[bi])/2*Un,-va),xt.push([ai[bi],Li,$n]),Xi=Ai[bi];else if(fn==="left")for(xt=[],bi=0,ri=ai.length;bi<ri;bi++)$n=bi===0?Wr(sr):-va,Li=bi===0?Pr(Vt):0,xt.push(ai[bi]);else{if(fn!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(xt=[],sa=sa!==0?sa:Ea,bi=0,ri=ai.length;bi<ri;bi++)$n=bi===0?Wr(sr):-va,Li=bi===0?Pr(Vt):0,bi<ri-1&&Ni.push(((sa-Ai[bi])/(ai[bi].split(" ").length-1)*Un).toFixed(2)),xt.push([ai[bi],Li,$n])}}(typeof br.R2L=="boolean"?br.R2L:qr)===!0&&(xt=vn(xt,function(ra,Yi,Xa){return[ra.split("").reverse().join(""),Yi,Xa]})),_i={text:xt,x:Vt,y:sr,options:br,mutex:{pdfEscape:mn,activeFontKey:pt,fonts:fr,activeFontSize:kr}},jr.publish("postProcessText",_i),xt=_i.text,wn=_i.mutex.isHex,ai=Mn(xt),xt=[];var Aa,ua,la,gi=0,Pa=(ri=ai.length,"");for(bi=0;bi<ri;bi++)Pa="",Array.isArray(ai[bi])?(Aa=parseFloat(ai[bi][1]),ua=parseFloat(ai[bi][2]),la=(wn?"<":"(")+ai[bi][0]+(wn?">":")"),gi=1):(Aa=Pr(Vt),ua=Wr(sr),la=(wn?"<":"(")+ai[bi]+(wn?">":")")),Ni!==void 0&&Ni[bi]!==void 0&&(Pa=Ni[bi]+` Tw
`),Ri.length!==0&&bi===0?xt.push(Pa+Ri.join(" ")+" "+Aa.toFixed(2)+" "+ua.toFixed(2)+` Tm
`+la):gi===1||gi===0&&bi===0?xt.push(Pa+Aa.toFixed(2)+" "+ua.toFixed(2)+` Td
`+la):xt.push(Pa+la);xt=gi===0?xt.join(` Tj
T* `):xt.join(` Tj
`),xt+=` Tj
`;var Ma=`BT
/`+pt+" "+kr+` Tf
`+(kr*Sn).toFixed(2)+` TL
`+nr+`
`;return Ma+=Hn,Ma+=xt,Xt(Ma+="ET"),It[pt]=!0,bn},de.__private__.lstext=de.lstext=function(xt,Vt,sr,br){return console.warn("jsPDF.lstext is deprecated"),this.text(xt,Vt,sr,{charSpace:br})},de.__private__.clip=de.clip=function(xt){Xt(xt==="evenodd"?"W*":"W"),Xt("n")},de.__private__.clip_fixed=de.clip_fixed=function(xt){console.log("clip_fixed is deprecated"),de.clip(xt)};var mo=de.__private__.isValidStyle=function(xt){var Vt=!1;return[void 0,null,"S","F","DF","FD","f","f*","B","B*"].indexOf(xt)!==-1&&(Vt=!0),Vt},Fn=de.__private__.getStyle=function(xt){var Vt="S";return xt==="F"?Vt="f":xt==="FD"||xt==="DF"?Vt="B":xt!=="f"&&xt!=="f*"&&xt!=="B"&&xt!=="B*"||(Vt=xt),Vt};de.__private__.line=de.line=function(xt,Vt,sr,br){if(isNaN(xt)||isNaN(Vt)||isNaN(sr)||isNaN(br))throw new Error("Invalid arguments passed to jsPDF.line");return this.lines([[sr-xt,br-Vt]],xt,Vt)},de.__private__.lines=de.lines=function(xt,Vt,sr,br,Mr,Dr){var rn,fn,wn,Hn,Sn,bn,Mn,vn,Rn,En,Ln,Xn;if(typeof xt=="number"&&(Xn=sr,sr=Vt,Vt=xt,xt=Xn),br=br||[1,1],Dr=Dr||!1,isNaN(Vt)||isNaN(sr)||!Array.isArray(xt)||!Array.isArray(br)||!mo(Mr)||typeof Dr!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Xt(nt(Pr(Vt))+" "+nt(Wr(sr))+" m "),rn=br[0],fn=br[1],Hn=xt.length,En=Vt,Ln=sr,wn=0;wn<Hn;wn++)(Sn=xt[wn]).length===2?(En=Sn[0]*rn+En,Ln=Sn[1]*fn+Ln,Xt(nt(Pr(En))+" "+nt(Wr(Ln))+" l")):(bn=Sn[0]*rn+En,Mn=Sn[1]*fn+Ln,vn=Sn[2]*rn+En,Rn=Sn[3]*fn+Ln,En=Sn[4]*rn+En,Ln=Sn[5]*fn+Ln,Xt(nt(Pr(bn))+" "+nt(Wr(Mn))+" "+nt(Pr(vn))+" "+nt(Wr(Rn))+" "+nt(Pr(En))+" "+nt(Wr(Ln))+" c"));return Dr&&Xt(" h"),Mr!==null&&Xt(Fn(Mr)),this},de.__private__.rect=de.rect=function(xt,Vt,sr,br,Mr){if(isNaN(xt)||isNaN(Vt)||isNaN(sr)||isNaN(br)||!mo(Mr))throw new Error("Invalid arguments passed to jsPDF.rect");return Xt([Ue(Pr(xt)),Ue(Wr(Vt)),Ue(sr*vt),Ue(-br*vt),"re"].join(" ")),Mr!==null&&Xt(Fn(Mr)),this},de.__private__.triangle=de.triangle=function(xt,Vt,sr,br,Mr,Dr,rn){if(isNaN(xt)||isNaN(Vt)||isNaN(sr)||isNaN(br)||isNaN(Mr)||isNaN(Dr)||!mo(rn))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[sr-xt,br-Vt],[Mr-sr,Dr-br],[xt-Mr,Vt-Dr]],xt,Vt,[1,1],rn,!0),this},de.__private__.roundedRect=de.roundedRect=function(xt,Vt,sr,br,Mr,Dr,rn){if(isNaN(xt)||isNaN(Vt)||isNaN(sr)||isNaN(br)||isNaN(Mr)||isNaN(Dr)||!mo(rn))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var fn=4/3*(Math.SQRT2-1);return this.lines([[sr-2*Mr,0],[Mr*fn,0,Mr,Dr-Dr*fn,Mr,Dr],[0,br-2*Dr],[0,Dr*fn,-Mr*fn,Dr,-Mr,Dr],[2*Mr-sr,0],[-Mr*fn,0,-Mr,-Dr*fn,-Mr,-Dr],[0,2*Dr-br],[0,-Dr*fn,Mr*fn,-Dr,Mr,-Dr]],xt+Mr,Vt,[1,1],rn),this},de.__private__.ellipse=de.ellipse=function(xt,Vt,sr,br,Mr){if(isNaN(xt)||isNaN(Vt)||isNaN(sr)||isNaN(br)||!mo(Mr))throw new Error("Invalid arguments passed to jsPDF.ellipse");var Dr=4/3*(Math.SQRT2-1)*sr,rn=4/3*(Math.SQRT2-1)*br;return Xt([Ue(Pr(xt+sr)),Ue(Wr(Vt)),"m",Ue(Pr(xt+sr)),Ue(Wr(Vt-rn)),Ue(Pr(xt+Dr)),Ue(Wr(Vt-br)),Ue(Pr(xt)),Ue(Wr(Vt-br)),"c"].join(" ")),Xt([Ue(Pr(xt-Dr)),Ue(Wr(Vt-br)),Ue(Pr(xt-sr)),Ue(Wr(Vt-rn)),Ue(Pr(xt-sr)),Ue(Wr(Vt)),"c"].join(" ")),Xt([Ue(Pr(xt-sr)),Ue(Wr(Vt+rn)),Ue(Pr(xt-Dr)),Ue(Wr(Vt+br)),Ue(Pr(xt)),Ue(Wr(Vt+br)),"c"].join(" ")),Xt([Ue(Pr(xt+Dr)),Ue(Wr(Vt+br)),Ue(Pr(xt+sr)),Ue(Wr(Vt+rn)),Ue(Pr(xt+sr)),Ue(Wr(Vt)),"c"].join(" ")),Mr!==null&&Xt(Fn(Mr)),this},de.__private__.circle=de.circle=function(xt,Vt,sr,br){if(isNaN(xt)||isNaN(Vt)||isNaN(sr)||!mo(br))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(xt,Vt,sr,sr,br)},de.setFont=function(xt,Vt){return pt=ni(xt,Vt,{disableWarning:!1}),this},de.setFontStyle=de.setFontType=function(xt){return pt=ni(void 0,xt),this},de.__private__.getFontList=de.getFontList=function(){var xt,Vt,sr,br={};for(xt in xr)if(xr.hasOwnProperty(xt))for(Vt in br[xt]=sr=[],xr[xt])xr[xt].hasOwnProperty(Vt)&&sr.push(Vt);return br},de.addFont=function(xt,Vt,sr,br){Oa.call(this,xt,Vt,sr,br=br||"Identity-H")};var $i,eo=qe.lineWidth||.200025,To=de.__private__.setLineWidth=de.setLineWidth=function(xt){return Xt((xt*vt).toFixed(2)+" w"),this},co=(de.__private__.setLineDash=Ee.API.setLineDash=function(xt,Vt){if(xt=xt||[],Vt=Vt||0,isNaN(Vt)||!Array.isArray(xt))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return xt=xt.map(function(sr){return(sr*vt).toFixed(3)}).join(" "),Vt=parseFloat((Vt*vt).toFixed(3)),Xt("["+xt+"] "+Vt+" d"),this},de.__private__.getLineHeight=de.getLineHeight=function(){return kr*$i}),rr=(co=de.__private__.getLineHeight=de.getLineHeight=function(){return kr*$i},de.__private__.setLineHeightFactor=de.setLineHeightFactor=function(xt){return typeof(xt=xt||1.15)=="number"&&($i=xt),this}),Tr=de.__private__.getLineHeightFactor=de.getLineHeightFactor=function(){return $i};rr(qe.lineHeight);var Pr=de.__private__.getHorizontalCoordinate=function(xt){return xt*vt},Wr=de.__private__.getVerticalCoordinate=function(xt){return cn[Mt].mediaBox.topRightY-cn[Mt].mediaBox.bottomLeftY-xt*vt},hn=de.__private__.getHorizontalCoordinateString=function(xt){return Ue(xt*vt)},it=de.__private__.getVerticalCoordinateString=function(xt){return Ue(cn[Mt].mediaBox.topRightY-cn[Mt].mediaBox.bottomLeftY-xt*vt)},jt=qe.strokeColor||"0 G",Zt=(de.__private__.getStrokeColor=de.getDrawColor=function(){return An(jt)},de.__private__.setStrokeColor=de.setDrawColor=function(xt,Vt,sr,br){return jt=on({ch1:xt,ch2:Vt,ch3:sr,ch4:br,pdfColorType:"draw",precision:2}),Xt(jt),this},qe.fillColor||"0 g"),nr=(de.__private__.getFillColor=de.getFillColor=function(){return An(Zt)},de.__private__.setFillColor=de.setFillColor=function(xt,Vt,sr,br){return Zt=on({ch1:xt,ch2:Vt,ch3:sr,ch4:br,pdfColorType:"fill",precision:2}),Xt(Zt),this},qe.textColor||"0 g"),Or=de.__private__.getTextColor=de.getTextColor=function(){return An(nr)},wr=(de.__private__.setTextColor=de.setTextColor=function(xt,Vt,sr,br){return nr=on({ch1:xt,ch2:Vt,ch3:sr,ch4:br,pdfColorType:"text",precision:3}),this},qe.charSpace||0),Er=de.__private__.getCharSpace=de.getCharSpace=function(){return wr},Kr=(de.__private__.setCharSpace=de.setCharSpace=function(xt){if(isNaN(xt))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return wr=xt,this},0);de.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},de.__private__.setLineCap=de.setLineCap=function(xt){var Vt=de.CapJoinStyles[xt];if(Vt===void 0)throw new Error("Line cap style of '"+xt+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Xt((Kr=Vt)+" J"),this};var Zr,Jr=0;de.__private__.setLineJoin=de.setLineJoin=function(xt){var Vt=de.CapJoinStyles[xt];if(Vt===void 0)throw new Error("Line join style of '"+xt+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Xt((Jr=Vt)+" j"),this},de.__private__.setMiterLimit=de.setMiterLimit=function(xt){if(xt=xt||0,isNaN(xt))throw new Error("Invalid argument passed to jsPDF.setMiterLimit");return Zr=parseFloat(Ue(xt*vt)),Xt(Zr+" M"),this};for(var an in de.save=function(xt,Vt){if(xt=xt||"generated.pdf",(Vt=Vt||{}).returnPromise=Vt.returnPromise||!1,Vt.returnPromise!==!1)return new Promise(function(sr,br){try{var Mr=Jt(Wi(Qa()),xt);typeof Jt.unload=="function"&&_e.setTimeout&&setTimeout(Jt.unload,911),sr(Mr)}catch(Dr){br(Dr.message)}});Jt(Wi(Qa()),xt),typeof Jt.unload=="function"&&_e.setTimeout&&setTimeout(Jt.unload,911)},Ee.API)Ee.API.hasOwnProperty(an)&&(an==="events"&&Ee.API.events.length?function(xt,Vt){var sr,br,Mr;for(Mr=Vt.length-1;Mr!==-1;Mr--)sr=Vt[Mr][0],br=Vt[Mr][1],xt.subscribe.apply(xt,[sr].concat(typeof br=="function"?[br]:br))}(jr,Ee.API.events):de[an]=Ee.API[an]);return de.internal={pdfEscape:mn,getStyle:Fn,getFont:function(){return fr[ni.apply(de,arguments)]},getFontSize:tn,getCharSpace:Er,getTextColor:Or,getLineHeight:co,getLineHeightFactor:Tr,write:mr,getHorizontalCoordinate:Pr,getVerticalCoordinate:Wr,getCoordinateString:hn,getVerticalCoordinateString:it,collections:{},newObject:gn,newAdditionalObject:qn,newObjectDeferred:Pn,newObjectDeferredBegin:Kn,getFilters:ia,putStream:xa,events:jr,scaleFactor:vt,pageSize:{getWidth:function(){return(cn[Mt].mediaBox.topRightX-cn[Mt].mediaBox.bottomLeftX)/vt},setWidth:function(Vt){cn[Mt].mediaBox.topRightX=Vt*vt+cn[Mt].mediaBox.bottomLeftX},getHeight:function(){return(cn[Mt].mediaBox.topRightY-cn[Mt].mediaBox.bottomLeftY)/vt},setHeight:function(Vt){cn[Mt].mediaBox.topRightY=Vt*vt+cn[Mt].mediaBox.bottomLeftY}},output:Co,getNumberOfPages:jn,pages:Ht,out:Xt,f2:Ue,f3:nt,getPageInfo:Hi,getPageInfoByObjId:ga,getCurrentPageInfo:ha,getPDFVersion:$,hasHotfix:aa},Object.defineProperty(de.internal.pageSize,"width",{get:function(){return(cn[Mt].mediaBox.topRightX-cn[Mt].mediaBox.bottomLeftX)/vt},set:function(Vt){cn[Mt].mediaBox.topRightX=Vt*vt+cn[Mt].mediaBox.bottomLeftX},enumerable:!0,configurable:!0}),Object.defineProperty(de.internal.pageSize,"height",{get:function(){return(cn[Mt].mediaBox.topRightY-cn[Mt].mediaBox.bottomLeftY)/vt},set:function(Vt){cn[Mt].mediaBox.topRightY=Vt*vt+cn[Mt].mediaBox.bottomLeftY},enumerable:!0,configurable:!0}),function(xt){for(var Vt=0,sr=Nr.length;Vt<sr;Vt++){var br=Oa(xt[Vt][0],xt[Vt][1],xt[Vt][2],Nr[Vt][3],!0);It[br]=!0;var Mr=xt[Vt][0].split("-");Gn(br,Mr[0],Mr[1]||"")}jr.publish("addFonts",{fonts:fr,dictionary:xr})}(Nr),pt="F1",_n(Ye,we),jr.publish("initialized"),de}return Ee.API={events:[]},Ee.version="1.5.3",!(b=function(){return Ee}.call(I,e,I,R),b!==void 0&&(R.exports=b)),Ee}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")());/**
* @license
* Copyright (c) 2016 Alexander Weidt,
* https://github.com/BiggA94
*
* Licensed under the MIT License. http://opensource.org/licenses/mit-license
*/(function(_e,Ce){var Ee,we=1,Fe=function(cr){return cr.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Ye=function(cr){return cr.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Ge=function(cr){if(isNaN(cr))throw new Error("Invalid argument passed to jsPDF.f2");return cr.toFixed(2)},qe=function(cr){if(isNaN(cr))throw new Error("Invalid argument passed to jsPDF.f2");return cr.toFixed(5)};_e.__acroform__={};var Ke=function(cr,pr){cr.prototype=Object.create(pr.prototype),cr.prototype.constructor=cr},ut=function(cr){return cr*we},wt=function(cr){return cr/we},It=function(cr){var pr=new vt,ur=_r.internal.getHeight(cr)||0,fr=_r.internal.getWidth(cr)||0;return pr.BBox=[0,0,Number(Ge(fr)),Number(Ge(ur))],pr},de=_e.__acroform__.setBit=function(Ir,cr){if(Ir=Ir||0,cr=cr||0,isNaN(Ir)||isNaN(cr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return Ir|=1<<cr},xe=_e.__acroform__.clearBit=function(Ir,cr){if(Ir=Ir||0,cr=cr||0,isNaN(Ir)||isNaN(cr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return Ir&=~(1<<cr)},$=_e.__acroform__.getBit=function(Ir,cr){if(isNaN(Ir)||isNaN(cr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return(Ir&1<<cr)==0?0:1},le=_e.__acroform__.getBitForPdf=function(Ir,cr){if(isNaN(Ir)||isNaN(cr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return $(Ir,cr-1)},Oe=_e.__acroform__.setBitForPdf=function(Ir,cr){if(isNaN(Ir)||isNaN(cr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return de(Ir,cr-1)},ke=_e.__acroform__.clearBitForPdf=function(Ir,cr,pr){if(isNaN(Ir)||isNaN(cr))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return xe(Ir,cr-1)},Ue=_e.__acroform__.calculateCoordinates=function(Ir){var cr=this.internal.getHorizontalCoordinate,pr=this.internal.getVerticalCoordinate,ur=Ir[0],fr=Ir[1],xr=Ir[2],Yr=Ir[3],cn={};return cn.lowerLeft_X=cr(ur)||0,cn.lowerLeft_Y=pr(fr+Yr)||0,cn.upperRight_X=cr(ur+xr)||0,cn.upperRight_Y=pr(fr)||0,[Number(Ge(cn.lowerLeft_X)),Number(Ge(cn.lowerLeft_Y)),Number(Ge(cn.upperRight_X)),Number(Ge(cn.upperRight_Y))]},nt=function(cr){if(cr.appearanceStreamContent)return cr.appearanceStreamContent;if(cr.V||cr.DV){var pr=[],ur=cr.V||cr.DV,fr=At(cr,ur),xr=Ee.internal.getFont(cr.fontName,cr.fontStyle).id;pr.push("/Tx BMC"),pr.push("q"),pr.push("BT"),pr.push(Ee.__private__.encodeColorString(cr.color)),pr.push("/"+xr+" "+Ge(fr.fontSize)+" Tf"),pr.push("1 0 0 1 0 0 Tm"),pr.push(fr.text),pr.push("ET"),pr.push("Q"),pr.push("EMC");var Yr=new It(cr);return Yr.stream=pr.join(`
`),Yr}},At=function(cr,pr){var ur=cr.maxFontSize||12,fr=(cr.fontName,{text:"",fontSize:""}),xr=(pr=(pr=pr.substr(0,1)=="("?pr.substr(1):pr).substr(pr.length-1)==")"?pr.substr(0,pr.length-1):pr).split(" "),Yr=(Ee.__private__.encodeColorString(cr.color),ur),cn=_r.internal.getHeight(cr)||0;cn=cn<0?-cn:cn;var Nn=_r.internal.getWidth(cr)||0;Nn=Nn<0?-Nn:Nn;var jr=function(mn,On,_n){if(mn+1<xr.length){var In=On+" "+xr[mn+1];return Wt(In,cr,_n).width<=Nn-4}return!1};Yr++;e:for(;;){pr="";var Tn=Wt("3",cr,--Yr).height,gn=cr.multiline?cn-Yr:(cn-Tn)/2,Pn=-2,Kn=gn+=2,qn=0,Yn=0,Vn=0;if(Yr<=0){pr=`(...) Tj
`,pr+="% Width of Text: "+Wt(pr,cr,Yr=12).width+", FieldWidth:"+Nn+`
`;break}Vn=Wt(xr[0]+" ",cr,Yr).width;var An="",on=0;for(var ia in xr)if(xr.hasOwnProperty(ia)){An=(An+=xr[ia]+" ").substr(An.length-1)==" "?An.substr(0,An.length-1):An;var xa=parseInt(ia);Vn=Wt(An+" ",cr,Yr).width;var ta=jr(xa,An,Yr),Ii=ia>=xr.length-1;if(ta&&!Ii){An+=" ";continue}if(ta||Ii){if(Ii)Yn=xa;else if(cr.multiline&&cn<(Tn+2)*(on+2)+2)continue e}else{if(!cr.multiline)continue e;if(cn<(Tn+2)*(on+2)+2)continue e;Yn=xa}for(var Ci="",Gn=qn;Gn<=Yn;Gn++)Ci+=xr[Gn]+" ";switch(Ci=Ci.substr(Ci.length-1)==" "?Ci.substr(0,Ci.length-1):Ci,Vn=Wt(Ci,cr,Yr).width,cr.textAlign){case"right":Pn=Nn-Vn-2;break;case"center":Pn=(Nn-Vn)/2;break;case"left":default:Pn=2}pr+=Ge(Pn)+" "+Ge(Kn)+` Td
`,pr+="("+Fe(Ci)+`) Tj
`,pr+=-Ge(Pn)+` 0 Td
`,Kn=-(Yr+2),Vn=0,qn=Yn+1,on++,An=""}break}return fr.text=pr,fr.fontSize=Yr,fr},Wt=function(cr,pr,ur){var fr=Ee.internal.getFont(pr.fontName,pr.fontStyle),xr=Ee.getStringUnitWidth(cr,{font:fr,fontSize:parseFloat(ur),charSpace:0})*parseFloat(ur);return{height:Ee.getStringUnitWidth("3",{font:fr,fontSize:parseFloat(ur),charSpace:0})*parseFloat(ur)*1.5,width:xr}},$t={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Rt=function(){Ee.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var cr=Ee.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var pr in cr)if(cr.hasOwnProperty(pr)){var ur=cr[pr];ur.objId=void 0,ur.hasAnnotation&&zt.call(Ee,ur)}},zt=function(cr){var pr={type:"reference",object:cr};Ee.internal.getPageInfo(cr.page).pageContext.annotations.find(function(ur){return ur.type===pr.type&&ur.object===pr.object})===void 0&&Ee.internal.getPageInfo(cr.page).pageContext.annotations.push(pr)},Gt=function(){if(Ee.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");Ee.internal.write("/AcroForm "+Ee.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")},Qt=function(){Ee.internal.events.unsubscribe(Ee.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete Ee.internal.acroformPlugin.acroFormDictionaryRoot._eventID,Ee.internal.acroformPlugin.printedOut=!0},Mt=function(cr){var pr=!cr;cr||(Ee.internal.newObjectDeferredBegin(Ee.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),Ee.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),cr=cr||Ee.internal.acroformPlugin.acroFormDictionaryRoot.Kids;for(var ur in cr)if(cr.hasOwnProperty(ur)){var fr=cr[ur],xr=[],Yr=fr.Rect;if(fr.Rect&&(fr.Rect=Ue.call(this,fr.Rect)),Ee.internal.newObjectDeferredBegin(fr.objId,!0),fr.DA=_r.createDefaultAppearanceStream(fr),m(fr)==="object"&&typeof fr.getKeyValueListForStream=="function"&&(xr=fr.getKeyValueListForStream()),fr.Rect=Yr,fr.hasAppearanceStream&&!fr.appearanceStreamContent){var cn=nt.call(this,fr);xr.push({key:"AP",value:"<</N "+cn+">>"}),Ee.internal.acroformPlugin.xForms.push(cn)}if(fr.appearanceStreamContent){var Nn="";for(var jr in fr.appearanceStreamContent)if(fr.appearanceStreamContent.hasOwnProperty(jr)){var Tn=fr.appearanceStreamContent[jr];if(Nn+="/"+jr+" ",Nn+="<<",1<=Object.keys(Tn).length||Array.isArray(Tn))for(var ur in Tn){var gn;Tn.hasOwnProperty(ur)&&(typeof(gn=Tn[ur])=="function"&&(gn=gn.call(this,fr)),Nn+="/"+ur+" "+gn+" ",0<=Ee.internal.acroformPlugin.xForms.indexOf(gn)||Ee.internal.acroformPlugin.xForms.push(gn))}else typeof(gn=Tn)=="function"&&(gn=gn.call(this,fr)),Nn+="/"+ur+" "+gn,0<=Ee.internal.acroformPlugin.xForms.indexOf(gn)||Ee.internal.acroformPlugin.xForms.push(gn);Nn+=">>"}xr.push({key:"AP",value:`<<
`+Nn+">>"})}Ee.internal.putStream({additionalKeyValues:xr}),Ee.internal.out("endobj")}pr&&dr.call(this,Ee.internal.acroformPlugin.xForms)},dr=function(cr){for(var pr in cr)if(cr.hasOwnProperty(pr)){var ur=pr,fr=cr[pr];Ee.internal.newObjectDeferredBegin(fr&&fr.objId,!0),m(fr)==="object"&&typeof fr.putStream=="function"&&fr.putStream(),delete cr[ur]}},er=function(){if(this.internal!==void 0&&(this.internal.acroformPlugin===void 0||this.internal.acroformPlugin.isInitialized===!1)){if(Ee=this,_t.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify($t)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");we=Ee.internal.scaleFactor,Ee.internal.acroformPlugin.acroFormDictionaryRoot=new Nt,Ee.internal.acroformPlugin.acroFormDictionaryRoot._eventID=Ee.internal.events.subscribe("postPutResources",Qt),Ee.internal.events.subscribe("buildDocument",Rt),Ee.internal.events.subscribe("putCatalog",Gt),Ee.internal.events.subscribe("postPutPages",Mt),Ee.internal.acroformPlugin.isInitialized=!0}},ht=_e.__acroform__.arrayToPdfArray=function(Ir){if(Array.isArray(Ir)){for(var cr="[",pr=0;pr<Ir.length;pr++)switch(pr!==0&&(cr+=" "),m(Ir[pr])){case"boolean":case"number":case"object":cr+=Ir[pr].toString();break;case"string":Ir[pr].substr(0,1)!=="/"?cr+="("+Fe(Ir[pr].toString())+")":cr+=Ir[pr].toString()}return cr+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Et=function(cr){return(cr=cr||"").toString(),cr="("+Fe(cr)+")"},pt=function(){var cr;Object.defineProperty(this,"objId",{configurable:!0,get:function(){if(cr||(cr=Ee.internal.newObjectDeferred()),!cr)throw new Error("AcroFormPDFObject: Couldn't create Object ID");return cr},set:function(ur){cr=ur}})};pt.prototype.toString=function(){return this.objId+" 0 R"},pt.prototype.putStream=function(){var Ir=this.getKeyValueListForStream();Ee.internal.putStream({data:this.stream,additionalKeyValues:Ir}),Ee.internal.out("endobj")},pt.prototype.getKeyValueListForStream=function(){return function(Ir){var cr=[],pr=Object.getOwnPropertyNames(Ir).filter(function(Yr){return Yr!="content"&&Yr!="appearanceStreamContent"&&Yr.substring(0,1)!="_"});for(var ur in pr)if(Object.getOwnPropertyDescriptor(Ir,pr[ur]).configurable===!1){var fr=pr[ur],xr=Ir[fr];xr&&(Array.isArray(xr)?cr.push({key:fr,value:ht(xr)}):xr instanceof pt?cr.push({key:fr,value:xr.objId+" 0 R"}):typeof xr!="function"&&cr.push({key:fr,value:xr}))}return cr}(this)};var vt=function(){pt.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writeable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writeable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writeable:!0});var cr,pr=[];Object.defineProperty(this,"BBox",{configurable:!1,writeable:!0,get:function(){return pr},set:function(fr){pr=fr}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writeable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(fr){cr=fr.trim()},get:function(){return cr||null}})};Ke(vt,pt);var Nt=function(){pt.call(this);var cr,pr=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return 0<pr.length?pr:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return pr}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(cr)return"("+cr+")"},set:function(fr){cr=fr}})};Ke(Nt,pt);var _t=function Ir(){pt.call(this);var cr=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return cr},set:function(on){if(isNaN(on))throw new Error('Invalid value "'+on+'" for attribute F supplied.');cr=on}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(le(cr,3))},set:function(on){Boolean(on)===!0?this.F=Oe(cr,3):this.F=ke(cr,3)}});var pr=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return pr},set:function(on){if(isNaN(on))throw new Error('Invalid value "'+on+'" for attribute Ff supplied.');pr=on}});var ur=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(ur.length!==0)return ur},set:function(on){ur=on!==void 0?on:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!ur||isNaN(ur[0])?0:wt(ur[0])},set:function(on){ur[0]=ut(on)}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!ur||isNaN(ur[1])?0:wt(ur[1])},set:function(on){ur[1]=ut(on)}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!ur||isNaN(ur[2])?0:wt(ur[2])},set:function(on){ur[2]=ut(on)}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!ur||isNaN(ur[3])?0:wt(ur[3])},set:function(on){ur[3]=ut(on)}});var fr="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return fr},set:function(on){switch(on){case"/Btn":case"/Tx":case"/Ch":case"/Sig":fr=on;break;default:throw new Error('Invalid value "'+on+'" for attribute FT supplied.')}}});var xr=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!xr||xr.length<1){if(this instanceof Nr)return;xr="FieldObject"+Ir.FieldNum++}return"("+Fe(xr)+")"},set:function(on){xr=on.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return xr},set:function(on){xr=on}});var Yr="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return Yr},set:function(on){Yr=on}});var cn="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return cn},set:function(on){cn=on}});var Nn=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return wt(Nn)},set:function(on){Nn=ut(on)}});var jr=50;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return wt(jr)},set:function(on){jr=ut(on)}});var Tn="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return Tn},set:function(on){Tn=on}});var gn="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!gn||this instanceof Nr||this instanceof tn))return Et(gn)},set:function(on){on=on.toString(),gn=on}});var Pn=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(Pn)return this instanceof Xt==!1?Et(Pn):Pn},set:function(on){on=on.toString(),Pn=this instanceof Xt==!1?on.substr(0,1)==="("?Ye(on.substr(1,on.length-2)):Ye(on):on}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Xt==!0?Ye(Pn.substr(1,Pn.length-1)):Pn},set:function(on){on=on.toString(),Pn=this instanceof Xt==!0?"/"+on:on}});var Kn=null;Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(Kn)return this instanceof Xt==!1?Et(Kn):Kn},set:function(on){on=on.toString(),Kn=this instanceof Xt==!1?on.substr(0,1)==="("?Ye(on.substr(1,on.length-2)):Ye(on):on}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Xt==!0?Ye(Kn.substr(1,Kn.length-1)):Kn},set:function(on){on=on.toString(),Kn=this instanceof Xt==!0?"/"+on:on}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var qn,Yn=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,writeable:!0,get:function(){return Yn},set:function(on){on=Boolean(on),Yn=on}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,writeable:!0,get:function(){if(qn)return qn},set:function(on){qn=on}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(le(this.Ff,1))},set:function(on){Boolean(on)===!0?this.Ff=Oe(this.Ff,1):this.Ff=ke(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(le(this.Ff,2))},set:function(on){Boolean(on)===!0?this.Ff=Oe(this.Ff,2):this.Ff=ke(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(le(this.Ff,3))},set:function(on){Boolean(on)===!0?this.Ff=Oe(this.Ff,3):this.Ff=ke(this.Ff,3)}});var Vn=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Vn!==null)return Vn},set:function(on){if([0,1,2].indexOf(on)===-1)throw new Error('Invalid value "'+on+'" for attribute Q supplied.');Vn=on}}),Object.defineProperty(this,"textAlign",{get:function(){var on="left";switch(Vn){case 0:default:on="left";break;case 1:on="center";break;case 2:on="right"}return on},configurable:!0,enumerable:!0,set:function(on){switch(on){case"right":case 2:Vn=2;break;case"center":case 1:Vn=1;break;case"left":case 0:default:Vn=0}}})};Ke(_t,pt);var gt=function(){_t.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var cr=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return cr},set:function(fr){cr=fr}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return cr},set:function(fr){cr=fr}});var pr=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return ht(pr)},set:function(fr){var xr,Yr;Yr=[],typeof(xr=fr)=="string"&&(Yr=function(cn,Nn,jr){jr||(jr=1);for(var Tn,gn=[];Tn=Nn.exec(cn);)gn.push(Tn[jr]);return gn}(xr,/\((.*?)\)/g)),pr=Yr}}),this.getOptions=function(){return pr},this.setOptions=function(ur){pr=ur,this.sort&&pr.sort()},this.addOption=function(ur){ur=(ur=ur||"").toString(),pr.push(ur),this.sort&&pr.sort()},this.removeOption=function(ur,fr){for(fr=fr||!1,ur=(ur=ur||"").toString();pr.indexOf(ur)!==-1&&(pr.splice(pr.indexOf(ur),1),fr!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(le(this.Ff,18))},set:function(fr){Boolean(fr)===!0?this.Ff=Oe(this.Ff,18):this.Ff=ke(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(le(this.Ff,19))},set:function(fr){this.combo===!0&&(Boolean(fr)===!0?this.Ff=Oe(this.Ff,19):this.Ff=ke(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(le(this.Ff,20))},set:function(fr){Boolean(fr)===!0?(this.Ff=Oe(this.Ff,20),pr.sort()):this.Ff=ke(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(le(this.Ff,22))},set:function(fr){Boolean(fr)===!0?this.Ff=Oe(this.Ff,22):this.Ff=ke(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(le(this.Ff,23))},set:function(fr){Boolean(fr)===!0?this.Ff=Oe(this.Ff,23):this.Ff=ke(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(le(this.Ff,27))},set:function(fr){Boolean(fr)===!0?this.Ff=Oe(this.Ff,27):this.Ff=ke(this.Ff,27)}}),this.hasAppearanceStream=!1};Ke(gt,_t);var Ht=function(){gt.call(this),this.fontName="helvetica",this.combo=!1};Ke(Ht,gt);var kt=function(){Ht.call(this),this.combo=!0};Ke(kt,Ht);var ir=function(){kt.call(this),this.edit=!0};Ke(ir,kt);var Xt=function(){_t.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(le(this.Ff,15))},set:function(fr){Boolean(fr)===!0?this.Ff=Oe(this.Ff,15):this.Ff=ke(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(le(this.Ff,16))},set:function(fr){Boolean(fr)===!0?this.Ff=Oe(this.Ff,16):this.Ff=ke(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(le(this.Ff,17))},set:function(fr){Boolean(fr)===!0?this.Ff=Oe(this.Ff,17):this.Ff=ke(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(le(this.Ff,26))},set:function(fr){Boolean(fr)===!0?this.Ff=Oe(this.Ff,26):this.Ff=ke(this.Ff,26)}});var cr,pr={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){if(Object.keys(pr).length!==0){var fr,xr=[];for(fr in xr.push("<<"),pr)xr.push("/"+fr+" ("+pr[fr]+")");return xr.push(">>"),xr.join(`
`)}},set:function(fr){m(fr)==="object"&&(pr=fr)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return pr.CA||""},set:function(fr){typeof fr=="string"&&(pr.CA=fr)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return cr},set:function(fr){cr=fr}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return cr.substr(1,cr.length-1)},set:function(fr){cr="/"+fr}})};Ke(Xt,_t);var mr=function(){Xt.call(this),this.pushButton=!0};Ke(mr,Xt);var Ar=function(){Xt.call(this),this.radio=!0,this.pushButton=!1;var cr=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return cr},set:function(ur){cr=ur!==void 0?ur:[]}})};Ke(Ar,Xt);var Nr=function(){var cr,pr;_t.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return cr},set:function(Yr){cr=Yr}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return pr},set:function(Yr){pr=Yr}});var ur,fr={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Yr,cn=[];for(Yr in cn.push("<<"),fr)cn.push("/"+Yr+" ("+fr[Yr]+")");return cn.push(">>"),cn.join(`
`)},set:function(Yr){m(Yr)==="object"&&(fr=Yr)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return fr.CA||""},set:function(Yr){typeof Yr=="string"&&(fr.CA=Yr)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return ur},set:function(Yr){ur=Yr}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return ur.substr(1,ur.length-1)},set:function(Yr){ur="/"+Yr}}),this.optionName=name,this.caption="l",this.appearanceState="Off",this._AppearanceType=_r.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(name)};Ke(Nr,_t),Ar.prototype.setAppearance=function(Ir){if(!("createAppearanceStream"in Ir&&"getCA"in Ir))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var cr in this.Kids)if(this.Kids.hasOwnProperty(cr)){var pr=this.Kids[cr];pr.appearanceStreamContent=Ir.createAppearanceStream(pr.optionName),pr.caption=Ir.getCA()}},Ar.prototype.createOption=function(Ir){this.Kids.length;var cr=new Nr;return cr.Parent=this,cr.optionName=Ir,this.Kids.push(cr),Qr.call(this,cr),cr};var kr=function(){Xt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=_r.CheckBox.createAppearanceStream()};Ke(kr,Xt);var tn=function(){_t.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(le(this.Ff,13))},set:function(ur){Boolean(ur)===!0?this.Ff=Oe(this.Ff,13):this.Ff=ke(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(le(this.Ff,21))},set:function(ur){Boolean(ur)===!0?this.Ff=Oe(this.Ff,21):this.Ff=ke(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(le(this.Ff,23))},set:function(ur){Boolean(ur)===!0?this.Ff=Oe(this.Ff,23):this.Ff=ke(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(le(this.Ff,24))},set:function(ur){Boolean(ur)===!0?this.Ff=Oe(this.Ff,24):this.Ff=ke(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(le(this.Ff,25))},set:function(ur){Boolean(ur)===!0?this.Ff=Oe(this.Ff,25):this.Ff=ke(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(le(this.Ff,26))},set:function(ur){Boolean(ur)===!0?this.Ff=Oe(this.Ff,26):this.Ff=ke(this.Ff,26)}});var cr=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return cr},set:function(ur){cr=ur}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return cr},set:function(ur){Number.isInteger(ur)&&(cr=ur)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};Ke(tn,_t);var qr=function(){tn.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(le(this.Ff,14))},set:function(pr){Boolean(pr)===!0?this.Ff=Oe(this.Ff,14):this.Ff=ke(this.Ff,14)}}),this.password=!0};Ke(qr,tn);var _r={CheckBox:{createAppearanceStream:function(){return{N:{On:_r.CheckBox.YesNormal},D:{On:_r.CheckBox.YesPushDown,Off:_r.CheckBox.OffPushDown}}},YesPushDown:function(cr){var pr=It(cr),ur=[],fr=Ee.internal.getFont(cr.fontName,cr.fontStyle).id,xr=Ee.__private__.encodeColorString(cr.color),Yr=At(cr,cr.caption);return ur.push("0.749023 g"),ur.push("0 0 "+Ge(_r.internal.getWidth(cr))+" "+Ge(_r.internal.getHeight(cr))+" re"),ur.push("f"),ur.push("BMC"),ur.push("q"),ur.push("0 0 1 rg"),ur.push("/"+fr+" "+Ge(Yr.fontSize)+" Tf "+xr),ur.push("BT"),ur.push(Yr.text),ur.push("ET"),ur.push("Q"),ur.push("EMC"),pr.stream=ur.join(`
`),pr},YesNormal:function(cr){var pr=It(cr),ur=Ee.internal.getFont(cr.fontName,cr.fontStyle).id,fr=Ee.__private__.encodeColorString(cr.color),xr=[],Yr=_r.internal.getHeight(cr),cn=_r.internal.getWidth(cr),Nn=At(cr,cr.caption);return xr.push("1 g"),xr.push("0 0 "+Ge(cn)+" "+Ge(Yr)+" re"),xr.push("f"),xr.push("q"),xr.push("0 0 1 rg"),xr.push("0 0 "+Ge(cn-1)+" "+Ge(Yr-1)+" re"),xr.push("W"),xr.push("n"),xr.push("0 g"),xr.push("BT"),xr.push("/"+ur+" "+Ge(Nn.fontSize)+" Tf "+fr),xr.push(Nn.text),xr.push("ET"),xr.push("Q"),pr.stream=xr.join(`
`),pr},OffPushDown:function(cr){var pr=It(cr),ur=[];return ur.push("0.749023 g"),ur.push("0 0 "+Ge(_r.internal.getWidth(cr))+" "+Ge(_r.internal.getHeight(cr))+" re"),ur.push("f"),pr.stream=ur.join(`
`),pr}},RadioButton:{Circle:{createAppearanceStream:function(cr){var pr={D:{Off:_r.RadioButton.Circle.OffPushDown},N:{}};return pr.N[cr]=_r.RadioButton.Circle.YesNormal,pr.D[cr]=_r.RadioButton.Circle.YesPushDown,pr},getCA:function(){return"l"},YesNormal:function(cr){var pr=It(cr),ur=[],fr=_r.internal.getWidth(cr)<=_r.internal.getHeight(cr)?_r.internal.getWidth(cr)/4:_r.internal.getHeight(cr)/4;fr=Number((.9*fr).toFixed(5));var xr=_r.internal.Bezier_C,Yr=Number((fr*xr).toFixed(5));return ur.push("q"),ur.push("1 0 0 1 "+qe(_r.internal.getWidth(cr)/2)+" "+qe(_r.internal.getHeight(cr)/2)+" cm"),ur.push(fr+" 0 m"),ur.push(fr+" "+Yr+" "+Yr+" "+fr+" 0 "+fr+" c"),ur.push("-"+Yr+" "+fr+" -"+fr+" "+Yr+" -"+fr+" 0 c"),ur.push("-"+fr+" -"+Yr+" -"+Yr+" -"+fr+" 0 -"+fr+" c"),ur.push(Yr+" -"+fr+" "+fr+" -"+Yr+" "+fr+" 0 c"),ur.push("f"),ur.push("Q"),pr.stream=ur.join(`
`),pr},YesPushDown:function(cr){var pr=It(cr),ur=[],fr=_r.internal.getWidth(cr)<=_r.internal.getHeight(cr)?_r.internal.getWidth(cr)/4:_r.internal.getHeight(cr)/4,xr=(fr=Number((.9*fr).toFixed(5)),Number((2*fr).toFixed(5))),Yr=Number((xr*_r.internal.Bezier_C).toFixed(5)),cn=Number((fr*_r.internal.Bezier_C).toFixed(5));return ur.push("0.749023 g"),ur.push("q"),ur.push("1 0 0 1 "+qe(_r.internal.getWidth(cr)/2)+" "+qe(_r.internal.getHeight(cr)/2)+" cm"),ur.push(xr+" 0 m"),ur.push(xr+" "+Yr+" "+Yr+" "+xr+" 0 "+xr+" c"),ur.push("-"+Yr+" "+xr+" -"+xr+" "+Yr+" -"+xr+" 0 c"),ur.push("-"+xr+" -"+Yr+" -"+Yr+" -"+xr+" 0 -"+xr+" c"),ur.push(Yr+" -"+xr+" "+xr+" -"+Yr+" "+xr+" 0 c"),ur.push("f"),ur.push("Q"),ur.push("0 g"),ur.push("q"),ur.push("1 0 0 1 "+qe(_r.internal.getWidth(cr)/2)+" "+qe(_r.internal.getHeight(cr)/2)+" cm"),ur.push(fr+" 0 m"),ur.push(fr+" "+cn+" "+cn+" "+fr+" 0 "+fr+" c"),ur.push("-"+cn+" "+fr+" -"+fr+" "+cn+" -"+fr+" 0 c"),ur.push("-"+fr+" -"+cn+" -"+cn+" -"+fr+" 0 -"+fr+" c"),ur.push(cn+" -"+fr+" "+fr+" -"+cn+" "+fr+" 0 c"),ur.push("f"),ur.push("Q"),pr.stream=ur.join(`
`),pr},OffPushDown:function(cr){var pr=It(cr),ur=[],fr=_r.internal.getWidth(cr)<=_r.internal.getHeight(cr)?_r.internal.getWidth(cr)/4:_r.internal.getHeight(cr)/4,xr=(fr=Number((.9*fr).toFixed(5)),Number((2*fr).toFixed(5))),Yr=Number((xr*_r.internal.Bezier_C).toFixed(5));return ur.push("0.749023 g"),ur.push("q"),ur.push("1 0 0 1 "+qe(_r.internal.getWidth(cr)/2)+" "+qe(_r.internal.getHeight(cr)/2)+" cm"),ur.push(xr+" 0 m"),ur.push(xr+" "+Yr+" "+Yr+" "+xr+" 0 "+xr+" c"),ur.push("-"+Yr+" "+xr+" -"+xr+" "+Yr+" -"+xr+" 0 c"),ur.push("-"+xr+" -"+Yr+" -"+Yr+" -"+xr+" 0 -"+xr+" c"),ur.push(Yr+" -"+xr+" "+xr+" -"+Yr+" "+xr+" 0 c"),ur.push("f"),ur.push("Q"),pr.stream=ur.join(`
`),pr}},Cross:{createAppearanceStream:function(cr){var pr={D:{Off:_r.RadioButton.Cross.OffPushDown},N:{}};return pr.N[cr]=_r.RadioButton.Cross.YesNormal,pr.D[cr]=_r.RadioButton.Cross.YesPushDown,pr},getCA:function(){return"8"},YesNormal:function(cr){var pr=It(cr),ur=[],fr=_r.internal.calculateCross(cr);return ur.push("q"),ur.push("1 1 "+Ge(_r.internal.getWidth(cr)-2)+" "+Ge(_r.internal.getHeight(cr)-2)+" re"),ur.push("W"),ur.push("n"),ur.push(Ge(fr.x1.x)+" "+Ge(fr.x1.y)+" m"),ur.push(Ge(fr.x2.x)+" "+Ge(fr.x2.y)+" l"),ur.push(Ge(fr.x4.x)+" "+Ge(fr.x4.y)+" m"),ur.push(Ge(fr.x3.x)+" "+Ge(fr.x3.y)+" l"),ur.push("s"),ur.push("Q"),pr.stream=ur.join(`
`),pr},YesPushDown:function(cr){var pr=It(cr),ur=_r.internal.calculateCross(cr),fr=[];return fr.push("0.749023 g"),fr.push("0 0 "+Ge(_r.internal.getWidth(cr))+" "+Ge(_r.internal.getHeight(cr))+" re"),fr.push("f"),fr.push("q"),fr.push("1 1 "+Ge(_r.internal.getWidth(cr)-2)+" "+Ge(_r.internal.getHeight(cr)-2)+" re"),fr.push("W"),fr.push("n"),fr.push(Ge(ur.x1.x)+" "+Ge(ur.x1.y)+" m"),fr.push(Ge(ur.x2.x)+" "+Ge(ur.x2.y)+" l"),fr.push(Ge(ur.x4.x)+" "+Ge(ur.x4.y)+" m"),fr.push(Ge(ur.x3.x)+" "+Ge(ur.x3.y)+" l"),fr.push("s"),fr.push("Q"),pr.stream=fr.join(`
`),pr},OffPushDown:function(cr){var pr=It(cr),ur=[];return ur.push("0.749023 g"),ur.push("0 0 "+Ge(_r.internal.getWidth(cr))+" "+Ge(_r.internal.getHeight(cr))+" re"),ur.push("f"),pr.stream=ur.join(`
`),pr}}},createDefaultAppearanceStream:function(cr){var pr=Ee.internal.getFont(cr.fontName,cr.fontStyle).id,ur=Ee.__private__.encodeColorString(cr.color);return"/"+pr+" "+cr.fontSize+" Tf "+ur}};_r.internal={Bezier_C:.551915024494,calculateCross:function(cr){var pr=_r.internal.getWidth(cr),ur=_r.internal.getHeight(cr),fr=Math.min(pr,ur);return{x1:{x:(pr-fr)/2,y:(ur-fr)/2+fr},x2:{x:(pr-fr)/2+fr,y:(ur-fr)/2},x3:{x:(pr-fr)/2,y:(ur-fr)/2},x4:{x:(pr-fr)/2+fr,y:(ur-fr)/2+fr}}}},_r.internal.getWidth=function(Ir){var cr=0;return m(Ir)==="object"&&(cr=ut(Ir.Rect[2])),cr},_r.internal.getHeight=function(Ir){var cr=0;return m(Ir)==="object"&&(cr=ut(Ir.Rect[3])),cr};var Qr=_e.addField=function(Ir){if(er.call(this),!(Ir instanceof _t))throw new Error("Invalid argument passed to jsPDF.addField.");return function(cr){Ee.internal.acroformPlugin.printedOut&&(Ee.internal.acroformPlugin.printedOut=!1,Ee.internal.acroformPlugin.acroFormDictionaryRoot=null),Ee.internal.acroformPlugin.acroFormDictionaryRoot||er.call(Ee),Ee.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(cr)}.call(this,Ir),Ir.page=Ee.internal.getCurrentPageInfo().pageNumber,this};_e.addButton=function(Ir){if(Ir instanceof Xt==!1)throw new Error("Invalid argument passed to jsPDF.addButton.");return Qr.call(this,Ir)},_e.addTextField=function(Ir){if(Ir instanceof tn==!1)throw new Error("Invalid argument passed to jsPDF.addTextField.");return Qr.call(this,Ir)},_e.addChoiceField=function(Ir){if(Ir instanceof gt==!1)throw new Error("Invalid argument passed to jsPDF.addChoiceField.");return Qr.call(this,Ir)},m(Ce)=="object"&&Ce.ChoiceField===void 0&&Ce.ListBox===void 0&&Ce.ComboBox===void 0&&Ce.EditBox===void 0&&Ce.Button===void 0&&Ce.PushButton===void 0&&Ce.RadioButton===void 0&&Ce.CheckBox===void 0&&Ce.TextField===void 0&&Ce.PasswordField===void 0?(Ce.ChoiceField=gt,Ce.ListBox=Ht,Ce.ComboBox=kt,Ce.EditBox=ir,Ce.Button=Xt,Ce.PushButton=mr,Ce.RadioButton=Ar,Ce.CheckBox=kr,Ce.TextField=tn,Ce.PasswordField=qr,Ce.AcroForm={Appearance:_r}):console.warn("AcroForm-Classes are not populated into global-namespace, because the class-Names exist already."),_e.AcroFormChoiceField=gt,_e.AcroFormListBox=Ht,_e.AcroFormComboBox=kt,_e.AcroFormEditBox=ir,_e.AcroFormButton=Xt,_e.AcroFormPushButton=mr,_e.AcroFormRadioButton=Ar,_e.AcroFormCheckBox=kr,_e.AcroFormTextField=tn,_e.AcroFormPasswordField=qr,_e.AcroFormAppearance=_r,_e.AcroForm={ChoiceField:gt,ListBox:Ht,ComboBox:kt,EditBox:ir,Button:Xt,PushButton:mr,RadioButton:Ar,CheckBox:kr,TextField:tn,PasswordField:qr,Appearance:_r}})((window.tmp=ze).API,typeof window!="undefined"&&window||typeof g!="undefined"&&g),function(_e){var Ce="addImage_",Ee={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},we=_e.getImageFileTypeByImageData=function(de,xe){var $,le;xe=xe||"UNKNOWN";var Oe,ke,Ue,nt="UNKNOWN";for(Ue in _e.isArrayBufferView(de)&&(de=_e.arrayBufferToBinaryString(de)),Ee)for(Oe=Ee[Ue],$=0;$<Oe.length;$+=1){for(ke=!0,le=0;le<Oe[$].length;le+=1)if(Oe[$][le]!==void 0&&Oe[$][le]!==de.charCodeAt(le)){ke=!1;break}if(ke===!0){nt=Ue;break}}return nt==="UNKNOWN"&&xe!=="UNKNOWN"&&(console.warn('FileType of Image not recognized. Processing image as "'+xe+'".'),nt=xe),nt},Fe=function de(xe){for(var $=this.internal.newObject(),le=this.internal.write,Oe=this.internal.putStream,ke=(0,this.internal.getFilters)();ke.indexOf("FlateEncode")!==-1;)ke.splice(ke.indexOf("FlateEncode"),1);xe.n=$;var Ue=[];if(Ue.push({key:"Type",value:"/XObject"}),Ue.push({key:"Subtype",value:"/Image"}),Ue.push({key:"Width",value:xe.w}),Ue.push({key:"Height",value:xe.h}),xe.cs===this.color_spaces.INDEXED?Ue.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(xe.pal.length/3-1)+" "+("smask"in xe?$+2:$+1)+" 0 R]"}):(Ue.push({key:"ColorSpace",value:"/"+xe.cs}),xe.cs===this.color_spaces.DEVICE_CMYK&&Ue.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),Ue.push({key:"BitsPerComponent",value:xe.bpc}),"dp"in xe&&Ue.push({key:"DecodeParms",value:"<<"+xe.dp+">>"}),"trns"in xe&&xe.trns.constructor==Array){for(var nt="",At=0,Wt=xe.trns.length;At<Wt;At++)nt+=xe.trns[At]+" "+xe.trns[At]+" ";Ue.push({key:"Mask",value:"["+nt+"]"})}"smask"in xe&&Ue.push({key:"SMask",value:$+1+" 0 R"});var $t=xe.f!==void 0?["/"+xe.f]:void 0;if(Oe({data:xe.data,additionalKeyValues:Ue,alreadyAppliedFilters:$t}),le("endobj"),"smask"in xe){var Rt="/Predictor "+xe.p+" /Colors 1 /BitsPerComponent "+xe.bpc+" /Columns "+xe.w,zt={w:xe.w,h:xe.h,cs:"DeviceGray",bpc:xe.bpc,dp:Rt,data:xe.smask};"f"in xe&&(zt.f=xe.f),de.call(this,zt)}xe.cs===this.color_spaces.INDEXED&&(this.internal.newObject(),Oe({data:this.arrayBufferToBinaryString(new Uint8Array(xe.pal))}),le("endobj"))},Ye=function(){var xe=this.internal.collections[Ce+"images"];for(var $ in xe)Fe.call(this,xe[$])},Ge=function(){var xe,$=this.internal.collections[Ce+"images"],le=this.internal.write;for(var Oe in $)le("/I"+(xe=$[Oe]).i,xe.n,"0","R")},qe=function(xe){return typeof _e["process"+xe.toUpperCase()]=="function"},Ke=function(xe){return m(xe)==="object"&&xe.nodeType===1},ut=function(xe,$){if(xe.nodeName==="IMG"&&xe.hasAttribute("src")){var le=""+xe.getAttribute("src");if(le.indexOf("data:image/")===0)return unescape(le);var Oe=_e.loadFile(le);if(Oe!==void 0)return btoa(Oe)}if(xe.nodeName==="CANVAS"){var ke=xe;return xe.toDataURL("image/jpeg",1)}(ke=document.createElement("canvas")).width=xe.clientWidth||xe.width,ke.height=xe.clientHeight||xe.height;var Ue=ke.getContext("2d");if(!Ue)throw"addImage requires canvas to be supported by browser.";return Ue.drawImage(xe,0,0,ke.width,ke.height),ke.toDataURL((""+$).toLowerCase()=="png"?"image/png":"image/jpeg")},wt=function(xe,$){var le;if($){for(var Oe in $)if(xe===$[Oe].alias){le=$[Oe];break}}return le};_e.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"},_e.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"},_e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},_e.sHashCode=function(de){var xe,$=0;if((de=de||"").length===0)return $;for(xe=0;xe<de.length;xe++)$=($<<5)-$+de.charCodeAt(xe),$|=0;return $},_e.isString=function(de){return typeof de=="string"},_e.validateStringAsBase64=function(de){(de=de||"").toString().trim();var xe=!0;return de.length===0&&(xe=!1),de.length%4!=0&&(xe=!1),/^[A-Za-z0-9+\/]+$/.test(de.substr(0,de.length-2))===!1&&(xe=!1),/^[A-Za-z0-9\/][A-Za-z0-9+\/]|[A-Za-z0-9+\/]=|==$/.test(de.substr(-2))===!1&&(xe=!1),xe},_e.extractInfoFromBase64DataURI=function(de){return/^data:([\w]+?\/([\w]+?));\S*;*base64,(.+)$/g.exec(de)},_e.extractImageFromDataUrl=function(de){var xe=(de=de||"").split("base64,"),$=null;if(xe.length===2){var le=/^data:(\w*\/\w*);*(charset=[\w=-]*)*;*$/.exec(xe[0]);Array.isArray(le)&&($={mimeType:le[1],charset:le[2],data:xe[1]})}return $},_e.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"},_e.isArrayBuffer=function(de){return!!this.supportsArrayBuffer()&&de instanceof ArrayBuffer},_e.isArrayBufferView=function(de){return!!this.supportsArrayBuffer()&&typeof Uint32Array!="undefined"&&(de instanceof Int8Array||de instanceof Uint8Array||typeof Uint8ClampedArray!="undefined"&&de instanceof Uint8ClampedArray||de instanceof Int16Array||de instanceof Uint16Array||de instanceof Int32Array||de instanceof Uint32Array||de instanceof Float32Array||de instanceof Float64Array)},_e.binaryStringToUint8Array=function(de){for(var xe=de.length,$=new Uint8Array(xe),le=0;le<xe;le++)$[le]=de.charCodeAt(le);return $},_e.arrayBufferToBinaryString=function(de){if(typeof atob=="function")return atob(this.arrayBufferToBase64(de))},_e.arrayBufferToBase64=function(de){for(var xe,$="",le="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Oe=new Uint8Array(de),ke=Oe.byteLength,Ue=ke%3,nt=ke-Ue,At=0;At<nt;At+=3)$+=le[(16515072&(xe=Oe[At]<<16|Oe[At+1]<<8|Oe[At+2]))>>18]+le[(258048&xe)>>12]+le[(4032&xe)>>6]+le[63&xe];return Ue==1?$+=le[(252&(xe=Oe[nt]))>>2]+le[(3&xe)<<4]+"==":Ue==2&&($+=le[(64512&(xe=Oe[nt]<<8|Oe[nt+1]))>>10]+le[(1008&xe)>>4]+le[(15&xe)<<2]+"="),$},_e.createImageInfo=function(de,xe,$,le,Oe,ke,Ue,nt,At,Wt,$t,Rt,zt){var Gt={alias:nt,w:xe,h:$,cs:le,bpc:Oe,i:Ue,data:de};return ke&&(Gt.f=ke),At&&(Gt.dp=At),Wt&&(Gt.trns=Wt),$t&&(Gt.pal=$t),Rt&&(Gt.smask=Rt),zt&&(Gt.p=zt),Gt},_e.addImage=function(de,xe,$,le,Oe,ke,Ue,nt,At){var Wt="";if(typeof xe!="string"){var $t=ke;ke=Oe,Oe=le,le=$,$=xe,xe=$t}if(m(de)==="object"&&!Ke(de)&&"imageData"in de){var Rt=de;de=Rt.imageData,xe=Rt.format||xe||"UNKNOWN",$=Rt.x||$||0,le=Rt.y||le||0,Oe=Rt.w||Oe,ke=Rt.h||ke,Ue=Rt.alias||Ue,nt=Rt.compression||nt,At=Rt.rotation||Rt.angle||At}var zt=this.internal.getFilters();if(nt===void 0&&zt.indexOf("FlateEncode")!==-1&&(nt="SLOW"),typeof de=="string"&&(de=unescape(de)),isNaN($)||isNaN(le))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var Gt,Qt,Mt,dr,er,ht,Et,pt=function(){var vt=this.internal.collections[Ce+"images"];return vt||(this.internal.collections[Ce+"images"]=vt={},this.internal.events.subscribe("putResources",Ye),this.internal.events.subscribe("putXobjectDict",Ge)),vt}.call(this);if(!((Gt=wt(de,pt))||(Ke(de)&&(de=ut(de,xe)),((Et=Ue)==null||Et.length===0)&&(Ue=typeof(ht=de)=="string"?_e.sHashCode(ht):_e.isArrayBufferView(ht)?_e.sHashCode(_e.arrayBufferToBinaryString(ht)):null),Gt=wt(Ue,pt)))){if(this.isString(de)&&((Wt=this.convertStringToImageData(de))!==""||(Wt=_e.loadFile(de))!==void 0)&&(de=Wt),xe=this.getImageFileTypeByImageData(de,xe),!qe(xe))throw new Error("addImage does not support files of type '"+xe+"', please ensure that a plugin for '"+xe+"' support is added.");if(this.supportsArrayBuffer()&&(de instanceof Uint8Array||(Qt=de,de=this.binaryStringToUint8Array(de))),!(Gt=this["process"+xe.toUpperCase()](de,(er=0,(dr=pt)&&(er=Object.keys?Object.keys(dr).length:function(vt){var Nt=0;for(var _t in vt)vt.hasOwnProperty(_t)&&Nt++;return Nt}(dr)),er),Ue,((Mt=nt)&&typeof Mt=="string"&&(Mt=Mt.toUpperCase()),Mt in _e.image_compression?Mt:_e.image_compression.NONE),Qt)))throw new Error("An unknown error occurred whilst processing the image")}return function(vt,Nt,_t,gt,Ht,kt,ir,Xt){var mr=function(Qr,Ir,cr){return Qr||Ir||(Ir=Qr=-96),Qr<0&&(Qr=-1*cr.w*72/Qr/this.internal.scaleFactor),Ir<0&&(Ir=-1*cr.h*72/Ir/this.internal.scaleFactor),Qr===0&&(Qr=Ir*cr.w/cr.h),Ir===0&&(Ir=Qr*cr.h/cr.w),[Qr,Ir]}.call(this,_t,gt,Ht),Ar=this.internal.getCoordinateString,Nr=this.internal.getVerticalCoordinateString;if(_t=mr[0],gt=mr[1],ir[kt]=Ht,Xt){Xt*=Math.PI/180;var kr=Math.cos(Xt),tn=Math.sin(Xt),qr=function(Ir){return Ir.toFixed(4)},_r=[qr(kr),qr(tn),qr(-1*tn),qr(kr),0,0,"cm"]}this.internal.write("q"),Xt?(this.internal.write([1,"0","0",1,Ar(vt),Nr(Nt+gt),"cm"].join(" ")),this.internal.write(_r.join(" ")),this.internal.write([Ar(_t),"0","0",Ar(gt),"0","0","cm"].join(" "))):this.internal.write([Ar(_t),"0","0",Ar(gt),Ar(vt),Nr(Nt+gt),"cm"].join(" ")),this.internal.write("/I"+Ht.i+" Do"),this.internal.write("Q")}.call(this,$,le,Oe,ke,Gt,Gt.i,pt,At),this},_e.convertStringToImageData=function(de){var xe,$="";if(this.isString(de)){var le;xe=(le=this.extractImageFromDataUrl(de))!==null?le.data:de;try{$=atob(xe)}catch(Oe){throw _e.validateStringAsBase64(xe)?new Error("atob-Error in jsPDF.convertStringToImageData "+Oe.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertStringToImageData ")}}return $};var It=function(xe,$){return xe.subarray($,$+5)};_e.processJPEG=function(de,xe,$,le,Oe,ke){var Ue,nt=this.decode.DCT_DECODE;if(!this.isString(de)&&!this.isArrayBuffer(de)&&!this.isArrayBufferView(de))return null;if(this.isString(de)&&(Ue=function(At){var Wt;if(we(At)!=="JPEG")throw new Error("getJpegSize requires a binary string jpeg file");for(var $t=256*At.charCodeAt(4)+At.charCodeAt(5),Rt=4,zt=At.length;Rt<zt;){if(Rt+=$t,At.charCodeAt(Rt)!==255)throw new Error("getJpegSize could not find the size of the image");if(At.charCodeAt(Rt+1)===192||At.charCodeAt(Rt+1)===193||At.charCodeAt(Rt+1)===194||At.charCodeAt(Rt+1)===195||At.charCodeAt(Rt+1)===196||At.charCodeAt(Rt+1)===197||At.charCodeAt(Rt+1)===198||At.charCodeAt(Rt+1)===199)return Wt=256*At.charCodeAt(Rt+5)+At.charCodeAt(Rt+6),[256*At.charCodeAt(Rt+7)+At.charCodeAt(Rt+8),Wt,At.charCodeAt(Rt+9)];Rt+=2,$t=256*At.charCodeAt(Rt)+At.charCodeAt(Rt+1)}}(de)),this.isArrayBuffer(de)&&(de=new Uint8Array(de)),this.isArrayBufferView(de)&&(Ue=function(At){if((At[0]<<8|At[1])!=65496)throw new Error("Supplied data is not a JPEG");for(var Wt,$t=At.length,Rt=(At[4]<<8)+At[5],zt=4;zt<$t;){if(Rt=((Wt=It(At,zt+=Rt))[2]<<8)+Wt[3],(Wt[1]===192||Wt[1]===194)&&Wt[0]===255&&7<Rt)return{width:((Wt=It(At,zt+5))[2]<<8)+Wt[3],height:(Wt[0]<<8)+Wt[1],numcomponents:Wt[4]};zt+=2}throw new Error("getJpegSizeFromBytes could not find the size of the image")}(de),de=Oe||this.arrayBufferToBinaryString(de)),ke===void 0)switch(Ue.numcomponents){case 1:ke=this.color_spaces.DEVICE_GRAY;break;case 4:ke=this.color_spaces.DEVICE_CMYK;break;default:case 3:ke=this.color_spaces.DEVICE_RGB}return this.createImageInfo(de,Ue.width,Ue.height,ke,8,nt,xe,$)},_e.processJPG=function(){return this.processJPEG.apply(this,arguments)},_e.getImageProperties=function(de){var xe,$,le="";if(Ke(de)&&(de=ut(de)),this.isString(de)&&((le=this.convertStringToImageData(de))!==""||(le=_e.loadFile(de))!==void 0)&&(de=le),$=this.getImageFileTypeByImageData(de),!qe($))throw new Error("addImage does not support files of type '"+$+"', please ensure that a plugin for '"+$+"' support is added.");if(this.supportsArrayBuffer()&&(de instanceof Uint8Array||(de=this.binaryStringToUint8Array(de))),!(xe=this["process"+$.toUpperCase()](de)))throw new Error("An unknown error occurred whilst processing the image");return{fileType:$,width:xe.w,height:xe.h,colorSpace:xe.cs,compressionMode:xe.f,bitsPerComponent:xe.bpc}}}(ze.API),y=ze.API,ze.API.events.push(["addPage",function(_e){this.internal.getPageInfo(_e.pageNumber).pageContext.annotations=[]}]),y.events.push(["putPage",function(_e){for(var Ce=this.internal.getPageInfoByObjId(_e.objId),Ee=_e.pageContext.annotations,we=function(nt){if(nt!==void 0&&nt!="")return!0},Fe=!1,Ye=0;Ye<Ee.length&&!Fe;Ye++)switch((Ke=Ee[Ye]).type){case"link":if(we(Ke.options.url)||we(Ke.options.pageNumber)){Fe=!0;break}case"reference":case"text":case"freetext":Fe=!0}if(Fe!=0){this.internal.write("/Annots ["),this.internal.pageSize.height;var Ge=this.internal.getCoordinateString,qe=this.internal.getVerticalCoordinateString;for(Ye=0;Ye<Ee.length;Ye++){var Ke;switch((Ke=Ee[Ye]).type){case"reference":this.internal.write(" "+Ke.object.objId+" 0 R ");break;case"text":var ut=this.internal.newAdditionalObject(),wt=this.internal.newAdditionalObject(),It=Ke.title||"Note";Oe="<</Type /Annot /Subtype /Text "+(xe="/Rect ["+Ge(Ke.bounds.x)+" "+qe(Ke.bounds.y+Ke.bounds.h)+" "+Ge(Ke.bounds.x+Ke.bounds.w)+" "+qe(Ke.bounds.y)+"] ")+"/Contents ("+Ke.contents+")",Oe+=" /Popup "+wt.objId+" 0 R",Oe+=" /P "+Ce.objId+" 0 R",Oe+=" /T ("+It+") >>",ut.content=Oe;var de=ut.objId+" 0 R";Oe="<</Type /Annot /Subtype /Popup "+(xe="/Rect ["+Ge(Ke.bounds.x+30)+" "+qe(Ke.bounds.y+Ke.bounds.h)+" "+Ge(Ke.bounds.x+Ke.bounds.w+30)+" "+qe(Ke.bounds.y)+"] ")+" /Parent "+de,Ke.open&&(Oe+=" /Open true"),Oe+=" >>",wt.content=Oe,this.internal.write(ut.objId,"0 R",wt.objId,"0 R");break;case"freetext":var xe="/Rect ["+Ge(Ke.bounds.x)+" "+qe(Ke.bounds.y)+" "+Ge(Ke.bounds.x+Ke.bounds.w)+" "+qe(Ke.bounds.y+Ke.bounds.h)+"] ",$=Ke.color||"#000000";Oe="<</Type /Annot /Subtype /FreeText "+xe+"/Contents ("+Ke.contents+")",Oe+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+$+")",Oe+=" /Border [0 0 0]",Oe+=" >>",this.internal.write(Oe);break;case"link":if(Ke.options.name){var le=this.annotations._nameMap[Ke.options.name];Ke.options.pageNumber=le.page,Ke.options.top=le.y}else Ke.options.top||(Ke.options.top=0);xe="/Rect ["+Ge(Ke.x)+" "+qe(Ke.y)+" "+Ge(Ke.x+Ke.w)+" "+qe(Ke.y+Ke.h)+"] ";var Oe="";if(Ke.options.url)Oe="<</Type /Annot /Subtype /Link "+xe+"/Border [0 0 0] /A <</S /URI /URI ("+Ke.options.url+") >>";else if(Ke.options.pageNumber)switch(Oe="<</Type /Annot /Subtype /Link "+xe+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(Ke.options.pageNumber).objId+" 0 R",Ke.options.magFactor=Ke.options.magFactor||"XYZ",Ke.options.magFactor){case"Fit":Oe+=" /Fit]";break;case"FitH":Oe+=" /FitH "+Ke.options.top+"]";break;case"FitV":Ke.options.left=Ke.options.left||0,Oe+=" /FitV "+Ke.options.left+"]";break;case"XYZ":default:var ke=qe(Ke.options.top);Ke.options.left=Ke.options.left||0,Ke.options.zoom===void 0&&(Ke.options.zoom=0),Oe+=" /XYZ "+Ke.options.left+" "+ke+" "+Ke.options.zoom+"]"}Oe!=""&&(Oe+=" >>",this.internal.write(Oe))}}this.internal.write("]")}}]),y.createAnnotation=function(_e){var Ce=this.internal.getCurrentPageInfo();switch(_e.type){case"link":this.link(_e.bounds.x,_e.bounds.y,_e.bounds.w,_e.bounds.h,_e);break;case"text":case"freetext":Ce.pageContext.annotations.push(_e)}},y.link=function(_e,Ce,Ee,we,Fe){this.internal.getCurrentPageInfo().pageContext.annotations.push({x:_e,y:Ce,w:Ee,h:we,options:Fe,type:"link"})},y.textWithLink=function(_e,Ce,Ee,we){var Fe=this.getTextWidth(_e),Ye=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(_e,Ce,Ee),Ee+=.2*Ye,this.link(Ce,Ee-Ye,Fe,Ye,we),Fe},y.getTextWidth=function(_e){var Ce=this.internal.getFontSize();return this.getStringUnitWidth(_e)*Ce/this.internal.scaleFactor},function(_e){var Ce={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},Ee={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},we={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},Fe=[1570,1571,1573,1575];_e.__arabicParser__={};var Ye=_e.__arabicParser__.isInArabicSubstitutionA=function($){return Ce[$.charCodeAt(0)]!==void 0},Ge=_e.__arabicParser__.isArabicLetter=function($){return typeof $=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test($)},qe=_e.__arabicParser__.isArabicEndLetter=function($){return Ge($)&&Ye($)&&Ce[$.charCodeAt(0)].length<=2},Ke=_e.__arabicParser__.isArabicAlfLetter=function($){return Ge($)&&0<=Fe.indexOf($.charCodeAt(0))},ut=(_e.__arabicParser__.arabicLetterHasIsolatedForm=function($){return Ge($)&&Ye($)&&1<=Ce[$.charCodeAt(0)].length},_e.__arabicParser__.arabicLetterHasFinalForm=function($){return Ge($)&&Ye($)&&2<=Ce[$.charCodeAt(0)].length}),wt=(_e.__arabicParser__.arabicLetterHasInitialForm=function($){return Ge($)&&Ye($)&&3<=Ce[$.charCodeAt(0)].length},_e.__arabicParser__.arabicLetterHasMedialForm=function($){return Ge($)&&Ye($)&&Ce[$.charCodeAt(0)].length==4}),It=_e.__arabicParser__.resolveLigatures=function($){var le=0,Oe=Ee,ke=0,Ue="",nt=0;for(le=0;le<$.length;le+=1)Oe[$.charCodeAt(le)]!==void 0?(nt++,typeof(Oe=Oe[$.charCodeAt(le)])=="number"&&(ke=(ke=de($.charAt(le),$.charAt(le-nt),$.charAt(le+1)))!==-1?ke:0,Ue+=String.fromCharCode(Oe),Oe=Ee,nt=0),le===$.length-1&&(Oe=Ee,Ue+=$.charAt(le-(nt-1)),le-=nt-1,nt=0)):(Oe=Ee,Ue+=$.charAt(le-nt),le-=nt,nt=0);return Ue},de=(_e.__arabicParser__.isArabicDiacritic=function($){return $!==void 0&&we[$.charCodeAt(0)]!==void 0},_e.__arabicParser__.getCorrectForm=function($,le,Oe){return Ge($)?Ye($)===!1?-1:!ut($)||!Ge(le)&&!Ge(Oe)||!Ge(Oe)&&qe(le)||qe($)&&!Ge(le)||qe($)&&Ke(le)||qe($)&&qe(le)?0:wt($)&&Ge(le)&&!qe(le)&&Ge(Oe)&&ut(Oe)?3:qe($)||!Ge(Oe)?1:2:-1}),xe=_e.__arabicParser__.processArabic=_e.processArabic=function($){var le=0,Oe=0,ke=0,Ue="",nt="",At="",Wt=($=$||"").split("\\s+"),$t=[];for(le=0;le<Wt.length;le+=1){for($t.push(""),Oe=0;Oe<Wt[le].length;Oe+=1)Ue=Wt[le][Oe],nt=Wt[le][Oe-1],At=Wt[le][Oe+1],Ge(Ue)?(ke=de(Ue,nt,At),$t[le]+=ke!==-1?String.fromCharCode(Ce[Ue.charCodeAt(0)][ke]):Ue):$t[le]+=Ue;$t[le]=It($t[le])}return $t.join(" ")};_e.events.push(["preProcessText",function($){var le=$.text,Oe=($.x,$.y,$.options||{}),ke=($.mutex,Oe.lang,[]);if(Object.prototype.toString.call(le)==="[object Array]"){var Ue=0;for(ke=[],Ue=0;Ue<le.length;Ue+=1)Object.prototype.toString.call(le[Ue])==="[object Array]"?ke.push([xe(le[Ue][0]),le[Ue][1],le[Ue][2]]):ke.push([xe(le[Ue])]);$.text=ke}else $.text=xe(le)}])}(ze.API),ze.API.autoPrint=function(_e){var Ce;switch((_e=_e||{}).variant=_e.variant||"non-conform",_e.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){Ce=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+Ce+" 0 R")})}return this},h=ze.API,(u=function(){var Ce=void 0;Object.defineProperty(this,"pdf",{get:function(){return Ce},set:function(qe){Ce=qe}});var Ee=150;Object.defineProperty(this,"width",{get:function(){return Ee},set:function(qe){Ee=isNaN(qe)||Number.isInteger(qe)===!1||qe<0?150:qe,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=Ee+1)}});var we=300;Object.defineProperty(this,"height",{get:function(){return we},set:function(qe){we=isNaN(qe)||Number.isInteger(qe)===!1||qe<0?300:qe,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=we+1)}});var Fe=[];Object.defineProperty(this,"childNodes",{get:function(){return Fe},set:function(qe){Fe=qe}});var Ye={};Object.defineProperty(this,"style",{get:function(){return Ye},set:function(qe){Ye=qe}}),Object.defineProperty(this,"parentNode",{get:function(){return!1}})}).prototype.getContext=function(_e,Ce){var Ee;if((_e=_e||"2d")!=="2d")return null;for(Ee in Ce)this.pdf.context2d.hasOwnProperty(Ee)&&(this.pdf.context2d[Ee]=Ce[Ee]);return(this.pdf.context2d._canvas=this).pdf.context2d},u.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},h.events.push(["initialized",function(){this.canvas=new u,this.canvas.pdf=this}]),i=ze.API,r={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},o=1,d=function(Ce,Ee,we,Fe,Ye){r={x:Ce,y:Ee,w:we,h:Fe,ln:Ye}},n=function(){return r},l={left:0,top:0,bottom:0},i.setHeaderFunction=function(_e){a=_e},i.getTextDimensions=function(_e,Ce){var Ee=this.table_font_size||this.internal.getFontSize(),we=(this.internal.getFont().fontStyle,(Ce=Ce||{}).scaleFactor||this.internal.scaleFactor),Fe=0,Ye=0,Ge=0;if(typeof _e=="string")(Fe=this.getStringUnitWidth(_e)*Ee)!=0&&(Ye=1);else{if(Object.prototype.toString.call(_e)!=="[object Array]")throw new Error("getTextDimensions expects text-parameter to be of type String or an Array of Strings.");for(var qe=0;qe<_e.length;qe++)Fe<(Ge=this.getStringUnitWidth(_e[qe])*Ee)&&(Fe=Ge);Fe!==0&&(Ye=_e.length)}return{w:Fe/=we,h:Math.max((Ye*Ee*this.getLineHeightFactor()-Ee*(this.getLineHeightFactor()-1))/we,0)}},i.cellAddPage=function(){var _e=this.margins||l;this.addPage(),d(_e.left,_e.top,void 0,void 0),o+=1},i.cellInitialize=function(){r={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},o=1},i.cell=function(_e,Ce,Ee,we,Fe,Ye,Ge){var qe=n(),Ke=!1;if(qe.ln!==void 0)if(qe.ln===Ye)_e=qe.x+qe.w,Ce=qe.y;else{var ut=this.margins||l;qe.y+qe.h+we+13>=this.internal.pageSize.getHeight()-ut.bottom&&(this.cellAddPage(),Ke=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(Ye,!0)),Ce=n().y+n().h,Ke&&(Ce=23)}if(Fe[0]!==void 0)if(this.printingHeaderRow?this.rect(_e,Ce,Ee,we,"FD"):this.rect(_e,Ce,Ee,we),Ge==="right"){Fe instanceof Array||(Fe=[Fe]);for(var wt=0;wt<Fe.length;wt++){var It=Fe[wt],de=this.getStringUnitWidth(It)*this.internal.getFontSize()/this.internal.scaleFactor;this.text(It,_e+Ee-de-3,Ce+this.internal.getLineHeight()*(wt+1))}}else this.text(Fe,_e+3,Ce+this.internal.getLineHeight());return d(_e,Ce,Ee,we,Ye),this},i.arrayMax=function(_e,Ce){var Ee,we,Fe,Ye=_e[0];for(Ee=0,we=_e.length;Ee<we;Ee+=1)Fe=_e[Ee],Ce?Ce(Ye,Fe)===-1&&(Ye=Fe):Ye<Fe&&(Ye=Fe);return Ye},i.table=function(_e,Ce,Ee,we,Fe){if(!Ee)throw"No data for PDF table";var Ye,Ge,qe,Ke,ut,wt,It,de,xe,$,le=[],Oe=[],ke={},Ue={},nt=[],At=[],Wt=!1,$t=!0,Rt=12,zt=l;if(zt.width=this.internal.pageSize.getWidth(),Fe&&(Fe.autoSize===!0&&(Wt=!0),Fe.printHeaders===!1&&($t=!1),Fe.fontSize&&(Rt=Fe.fontSize),Fe.css&&Fe.css["font-size"]!==void 0&&(Rt=16*Fe.css["font-size"]),Fe.margins&&(zt=Fe.margins)),this.lnMod=0,r={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},o=1,this.printHeaders=$t,this.margins=zt,this.setFontSize(Rt),this.table_font_size=Rt,we==null)le=Object.keys(Ee[0]);else if(we[0]&&typeof we[0]!="string")for(Ge=0,qe=we.length;Ge<qe;Ge+=1)Ye=we[Ge],le.push(Ye.name),Oe.push(Ye.prompt),Ue[Ye.name]=Ye.width*(19.049976/25.4);else le=we;if(Wt)for($=function(Mt){return Mt[Ye]},Ge=0,qe=le.length;Ge<qe;Ge+=1){for(ke[Ye=le[Ge]]=Ee.map($),nt.push(this.getTextDimensions(Oe[Ge]||Ye,{scaleFactor:1}).w),It=0,Ke=(wt=ke[Ye]).length;It<Ke;It+=1)ut=wt[It],nt.push(this.getTextDimensions(ut,{scaleFactor:1}).w);Ue[Ye]=i.arrayMax(nt),nt=[]}if($t){var Gt=this.calculateLineHeight(le,Ue,Oe.length?Oe:le);for(Ge=0,qe=le.length;Ge<qe;Ge+=1)Ye=le[Ge],At.push([_e,Ce,Ue[Ye],Gt,String(Oe.length?Oe[Ge]:Ye)]);this.setTableHeaderRow(At),this.printHeaderRow(1,!1)}for(Ge=0,qe=Ee.length;Ge<qe;Ge+=1)for(de=Ee[Ge],Gt=this.calculateLineHeight(le,Ue,de),It=0,xe=le.length;It<xe;It+=1)Ye=le[It],this.cell(_e,Ce,Ue[Ye],Gt,de[Ye],Ge+2,Ye.align);return this.lastCellPos=r,this.table_x=_e,this.table_y=Ce,this},i.calculateLineHeight=function(_e,Ce,Ee){for(var we,Fe=0,Ye=0;Ye<_e.length;Ye++){Ee[we=_e[Ye]]=this.splitTextToSize(String(Ee[we]),Ce[we]-3);var Ge=this.internal.getLineHeight()*Ee[we].length+3;Fe<Ge&&(Fe=Ge)}return Fe},i.setTableHeaderRow=function(_e){this.tableHeaderRow=_e},i.printHeaderRow=function(_e,Ce){if(!this.tableHeaderRow)throw"Property tableHeaderRow does not exist.";var Ee,we,Fe,Ye;if(this.printingHeaderRow=!0,a!==void 0){var Ge=a(this,o);d(Ge[0],Ge[1],Ge[2],Ge[3],-1)}this.setFontStyle("bold");var qe=[];for(Fe=0,Ye=this.tableHeaderRow.length;Fe<Ye;Fe+=1)this.setFillColor(200,200,200),Ee=this.tableHeaderRow[Fe],Ce&&(this.margins.top=13,Ee[1]=this.margins&&this.margins.top||0,qe.push(Ee)),we=[].concat(Ee),this.cell.apply(this,we.concat(_e));0<qe.length&&this.setTableHeaderRow(qe),this.setFontStyle("normal"),this.printingHeaderRow=!1},function(_e,Ce){var Ee,we,Fe,Ye,Ge,qe=function(gt){return gt=gt||{},this.isStrokeTransparent=gt.isStrokeTransparent||!1,this.strokeOpacity=gt.strokeOpacity||1,this.strokeStyle=gt.strokeStyle||"#000000",this.fillStyle=gt.fillStyle||"#000000",this.isFillTransparent=gt.isFillTransparent||!1,this.fillOpacity=gt.fillOpacity||1,this.font=gt.font||"10px sans-serif",this.textBaseline=gt.textBaseline||"alphabetic",this.textAlign=gt.textAlign||"left",this.lineWidth=gt.lineWidth||1,this.lineJoin=gt.lineJoin||"miter",this.lineCap=gt.lineCap||"butt",this.path=gt.path||[],this.transform=gt.transform!==void 0?gt.transform.clone():new Nt,this.globalCompositeOperation=gt.globalCompositeOperation||"normal",this.globalAlpha=gt.globalAlpha||1,this.clip_path=gt.clip_path||[],this.currentPoint=gt.currentPoint||new pt,this.miterLimit=gt.miterLimit||10,this.lastPoint=gt.lastPoint||new pt,this.ignoreClearRect=typeof gt.ignoreClearRect!="boolean"||gt.ignoreClearRect,this};_e.events.push(["initialized",function(){this.context2d=new Ke(this),Ee=this.internal.f2,this.internal.f3,we=this.internal.getCoordinateString,Fe=this.internal.getVerticalCoordinateString,Ye=this.internal.getHorizontalCoordinate,Ge=this.internal.getVerticalCoordinate}]);var Ke=function(gt){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}}),Object.defineProperty(this,"pdf",{get:function(){return gt}});var Ht=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return Ht},set:function(_r){Ht=Boolean(_r)}});var kt=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return kt},set:function(_r){kt=Boolean(_r)}});var ir=0;Object.defineProperty(this,"posX",{get:function(){return ir},set:function(_r){isNaN(_r)||(ir=_r)}});var Xt=0;Object.defineProperty(this,"posY",{get:function(){return Xt},set:function(_r){isNaN(_r)||(Xt=_r)}});var mr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return mr},set:function(_r){mr=Boolean(_r)}});var Ar=0;Object.defineProperty(this,"lastBreak",{get:function(){return Ar},set:function(_r){Ar=_r}});var Nr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Nr},set:function(_r){Nr=_r}});var kr=new qe;Object.defineProperty(this,"ctx",{get:function(){return kr},set:function(_r){_r instanceof qe&&(kr=_r)}}),Object.defineProperty(this,"path",{get:function(){return kr.path},set:function(_r){kr.path=_r}});var tn=[];Object.defineProperty(this,"ctxStack",{get:function(){return tn},set:function(_r){tn=_r}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(_r){var Qr;Qr=ut(_r),this.ctx.fillStyle=Qr.style,this.ctx.isFillTransparent=Qr.a===0,this.ctx.fillOpacity=Qr.a,this.pdf.setFillColor(Qr.r,Qr.g,Qr.b,{a:Qr.a}),this.pdf.setTextColor(Qr.r,Qr.g,Qr.b,{a:Qr.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(_r){var Qr=ut(_r);this.ctx.strokeStyle=Qr.style,this.ctx.isStrokeTransparent=Qr.a===0,this.ctx.strokeOpacity=Qr.a,Qr.a===0?this.pdf.setDrawColor(255,255,255):(Qr.a,this.pdf.setDrawColor(Qr.r,Qr.g,Qr.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(_r){["butt","round","square"].indexOf(_r)!==-1&&(this.ctx.lineCap=_r,this.pdf.setLineCap(_r))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(_r){isNaN(_r)||(this.ctx.lineWidth=_r,this.pdf.setLineWidth(_r))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(_r){["bevel","round","miter"].indexOf(_r)!==-1&&(this.ctx.lineJoin=_r,this.pdf.setLineJoin(_r))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(_r){isNaN(_r)||(this.ctx.miterLimit=_r,this.pdf.setMiterLimit(_r))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(_r){this.ctx.textBaseline=_r}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(_r){["right","end","center","left","start"].indexOf(_r)!==-1&&(this.ctx.textAlign=_r)}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(_r){var Qr;if(this.ctx.font=_r,(Qr=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(_r))!==null){var Ir=Qr[1],cr=(Qr[2],Qr[3]),pr=Qr[4],ur=Qr[5],fr=Qr[6];pr=ur==="px"?Math.floor(parseFloat(pr)):ur==="em"?Math.floor(parseFloat(pr)*this.pdf.getFontSize()):Math.floor(parseFloat(pr)),this.pdf.setFontSize(pr);var xr="";(cr==="bold"||700<=parseInt(cr,10)||Ir==="bold")&&(xr="bold"),Ir==="italic"&&(xr+="italic"),xr.length===0&&(xr="normal");for(var Yr="",cn=fr.toLowerCase().replace(/"|'/g,"").split(/\s*,\s*/),Nn={arial:"Helvetica",verdana:"Helvetica",helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",courier:"Courier",times:"Times",cursive:"Times",fantasy:"Times",serif:"Times"},jr=0;jr<cn.length;jr++){if(this.pdf.internal.getFont(cn[jr],xr,{noFallback:!0,disableWarning:!0})!==void 0){Yr=cn[jr];break}if(xr==="bolditalic"&&this.pdf.internal.getFont(cn[jr],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Yr=cn[jr],xr="bold";else if(this.pdf.internal.getFont(cn[jr],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Yr=cn[jr],xr="normal";break}}if(Yr===""){for(jr=0;jr<cn.length;jr++)if(Nn[cn[jr]]){Yr=Nn[cn[jr]];break}}Yr=Yr===""?"Times":Yr,this.pdf.setFont(Yr,xr)}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(_r){this.ctx.globalCompositeOperation=_r}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(_r){this.ctx.globalAlpha=_r}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(_r){this.ctx.ignoreClearRect=Boolean(_r)}})};Ke.prototype.fill=function(){le.call(this,"fill",!1)},Ke.prototype.stroke=function(){le.call(this,"stroke",!1)},Ke.prototype.beginPath=function(){this.path=[{type:"begin"}]},Ke.prototype.moveTo=function(_t,gt){if(isNaN(_t)||isNaN(gt))throw console.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var Ht=this.ctx.transform.applyToPoint(new pt(_t,gt));this.path.push({type:"mt",x:Ht.x,y:Ht.y}),this.ctx.lastPoint=new pt(_t,gt)},Ke.prototype.closePath=function(){var _t=new pt(0,0),gt=0;for(gt=this.path.length-1;gt!==-1;gt--)if(this.path[gt].type==="begin"&&m(this.path[gt+1])==="object"&&typeof this.path[gt+1].x=="number"){_t=new pt(this.path[gt+1].x,this.path[gt+1].y),this.path.push({type:"lt",x:_t.x,y:_t.y});break}m(this.path[gt+2])==="object"&&typeof this.path[gt+2].x=="number"&&this.path.push(JSON.parse(JSON.stringify(this.path[gt+2]))),this.path.push({type:"close"}),this.ctx.lastPoint=new pt(_t.x,_t.y)},Ke.prototype.lineTo=function(_t,gt){if(isNaN(_t)||isNaN(gt))throw console.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var Ht=this.ctx.transform.applyToPoint(new pt(_t,gt));this.path.push({type:"lt",x:Ht.x,y:Ht.y}),this.ctx.lastPoint=new pt(Ht.x,Ht.y)},Ke.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),le.call(this,null,!0)},Ke.prototype.quadraticCurveTo=function(_t,gt,Ht,kt){if(isNaN(Ht)||isNaN(kt)||isNaN(_t)||isNaN(gt))throw console.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var ir=this.ctx.transform.applyToPoint(new pt(Ht,kt)),Xt=this.ctx.transform.applyToPoint(new pt(_t,gt));this.path.push({type:"qct",x1:Xt.x,y1:Xt.y,x:ir.x,y:ir.y}),this.ctx.lastPoint=new pt(ir.x,ir.y)},Ke.prototype.bezierCurveTo=function(_t,gt,Ht,kt,ir,Xt){if(isNaN(ir)||isNaN(Xt)||isNaN(_t)||isNaN(gt)||isNaN(Ht)||isNaN(kt))throw console.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var mr=this.ctx.transform.applyToPoint(new pt(ir,Xt)),Ar=this.ctx.transform.applyToPoint(new pt(_t,gt)),Nr=this.ctx.transform.applyToPoint(new pt(Ht,kt));this.path.push({type:"bct",x1:Ar.x,y1:Ar.y,x2:Nr.x,y2:Nr.y,x:mr.x,y:mr.y}),this.ctx.lastPoint=new pt(mr.x,mr.y)},Ke.prototype.arc=function(_t,gt,Ht,kt,ir,Xt){if(isNaN(_t)||isNaN(gt)||isNaN(Ht)||isNaN(kt)||isNaN(ir))throw console.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(Xt=Boolean(Xt),!this.ctx.transform.isIdentity){var mr=this.ctx.transform.applyToPoint(new pt(_t,gt));_t=mr.x,gt=mr.y;var Ar=this.ctx.transform.applyToPoint(new pt(0,Ht)),Nr=this.ctx.transform.applyToPoint(new pt(0,0));Ht=Math.sqrt(Math.pow(Ar.x-Nr.x,2)+Math.pow(Ar.y-Nr.y,2))}Math.abs(ir-kt)>=2*Math.PI&&(kt=0,ir=2*Math.PI),this.path.push({type:"arc",x:_t,y:gt,radius:Ht,startAngle:kt,endAngle:ir,counterclockwise:Xt})},Ke.prototype.arcTo=function(_t,gt,Ht,kt,ir){throw new Error("arcTo not implemented.")},Ke.prototype.rect=function(_t,gt,Ht,kt){if(isNaN(_t)||isNaN(gt)||isNaN(Ht)||isNaN(kt))throw console.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(_t,gt),this.lineTo(_t+Ht,gt),this.lineTo(_t+Ht,gt+kt),this.lineTo(_t,gt+kt),this.lineTo(_t,gt),this.lineTo(_t+Ht,gt),this.lineTo(_t,gt)},Ke.prototype.fillRect=function(_t,gt,Ht,kt){if(isNaN(_t)||isNaN(gt)||isNaN(Ht)||isNaN(kt))throw console.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!wt.call(this)){var ir={};this.lineCap!=="butt"&&(ir.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(ir.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(_t,gt,Ht,kt),this.fill(),ir.hasOwnProperty("lineCap")&&(this.lineCap=ir.lineCap),ir.hasOwnProperty("lineJoin")&&(this.lineJoin=ir.lineJoin)}},Ke.prototype.strokeRect=function(_t,gt,Ht,kt){if(isNaN(_t)||isNaN(gt)||isNaN(Ht)||isNaN(kt))throw console.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");It.call(this)||(this.beginPath(),this.rect(_t,gt,Ht,kt),this.stroke())},Ke.prototype.clearRect=function(_t,gt,Ht,kt){if(isNaN(_t)||isNaN(gt)||isNaN(Ht)||isNaN(kt))throw console.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(_t,gt,Ht,kt))},Ke.prototype.save=function(_t){_t=typeof _t!="boolean"||_t;for(var gt=this.pdf.internal.getCurrentPageInfo().pageNumber,Ht=0;Ht<this.pdf.internal.getNumberOfPages();Ht++)this.pdf.setPage(Ht+1),this.pdf.internal.out("q");if(this.pdf.setPage(gt),_t){this.ctx.fontSize=this.pdf.internal.getFontSize();var kt=new qe(this.ctx);this.ctxStack.push(this.ctx),this.ctx=kt}},Ke.prototype.restore=function(_t){_t=typeof _t!="boolean"||_t;for(var gt=this.pdf.internal.getCurrentPageInfo().pageNumber,Ht=0;Ht<this.pdf.internal.getNumberOfPages();Ht++)this.pdf.setPage(Ht+1),this.pdf.internal.out("Q");this.pdf.setPage(gt),_t&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin)},Ke.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var ut=function(gt){var Ht,kt,ir,Xt;if(gt.isCanvasGradient===!0&&(gt=gt.getColor()),!gt)return{r:0,g:0,b:0,a:0,style:gt};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(gt))Xt=ir=kt=Ht=0;else{var mr=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(gt);if(mr!==null)Ht=parseInt(mr[1]),kt=parseInt(mr[2]),ir=parseInt(mr[3]),Xt=1;else if((mr=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d\.]+)\s*\)/.exec(gt))!==null)Ht=parseInt(mr[1]),kt=parseInt(mr[2]),ir=parseInt(mr[3]),Xt=parseFloat(mr[4]);else{if(Xt=1,typeof gt=="string"&&gt.charAt(0)!=="#"){var Ar=new RGBColor(gt);gt=Ar.ok?Ar.toHex():"#000000"}gt.length===4?(Ht=gt.substring(1,2),Ht+=Ht,kt=gt.substring(2,3),kt+=kt,ir=gt.substring(3,4),ir+=ir):(Ht=gt.substring(1,3),kt=gt.substring(3,5),ir=gt.substring(5,7)),Ht=parseInt(Ht,16),kt=parseInt(kt,16),ir=parseInt(ir,16)}}return{r:Ht,g:kt,b:ir,a:Xt,style:gt}},wt=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},It=function(){return Boolean(this.ctx.isStrokeTransparent||this.globalAlpha==0)};Ke.prototype.fillText=function(_t,gt,Ht,kt){if(isNaN(gt)||isNaN(Ht)||typeof _t!="string")throw console.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(kt=isNaN(kt)?void 0:kt,!wt.call(this)){Ht=ke.call(this,Ht);var ir=dr(this.ctx.transform.rotation),Xt=this.ctx.transform.scaleX;$t.call(this,{text:_t,x:gt,y:Ht,scale:Xt,angle:ir,align:this.textAlign,maxWidth:kt})}},Ke.prototype.strokeText=function(_t,gt,Ht,kt){if(isNaN(gt)||isNaN(Ht)||typeof _t!="string")throw console.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!It.call(this)){kt=isNaN(kt)?void 0:kt,Ht=ke.call(this,Ht);var ir=dr(this.ctx.transform.rotation),Xt=this.ctx.transform.scaleX;$t.call(this,{text:_t,x:gt,y:Ht,scale:Xt,renderingMode:"stroke",angle:ir,align:this.textAlign,maxWidth:kt})}},Ke.prototype.measureText=function(_t){if(typeof _t!="string")throw console.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var gt=this.pdf,Ht=this.pdf.internal.scaleFactor,kt=gt.internal.getFontSize(),ir=gt.getStringUnitWidth(_t)*kt/gt.internal.scaleFactor;return new function(Xt){var mr=(Xt=Xt||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return mr}}),this}({width:ir*=Math.round(96*Ht/72*1e4)/1e4})},Ke.prototype.scale=function(_t,gt){if(isNaN(_t)||isNaN(gt))throw console.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var Ht=new Nt(_t,0,0,gt,0,0);this.ctx.transform=this.ctx.transform.multiply(Ht)},Ke.prototype.rotate=function(_t){if(isNaN(_t))throw console.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var gt=new Nt(Math.cos(_t),Math.sin(_t),-Math.sin(_t),Math.cos(_t),0,0);this.ctx.transform=this.ctx.transform.multiply(gt)},Ke.prototype.translate=function(_t,gt){if(isNaN(_t)||isNaN(gt))throw console.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var Ht=new Nt(1,0,0,1,_t,gt);this.ctx.transform=this.ctx.transform.multiply(Ht)},Ke.prototype.transform=function(_t,gt,Ht,kt,ir,Xt){if(isNaN(_t)||isNaN(gt)||isNaN(Ht)||isNaN(kt)||isNaN(ir)||isNaN(Xt))throw console.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var mr=new Nt(_t,gt,Ht,kt,ir,Xt);this.ctx.transform=this.ctx.transform.multiply(mr)},Ke.prototype.setTransform=function(_t,gt,Ht,kt,ir,Xt){_t=isNaN(_t)?1:_t,gt=isNaN(gt)?0:gt,Ht=isNaN(Ht)?0:Ht,kt=isNaN(kt)?1:kt,ir=isNaN(ir)?0:ir,Xt=isNaN(Xt)?0:Xt,this.ctx.transform=new Nt(_t,gt,Ht,kt,ir,Xt)},Ke.prototype.drawImage=function(_t,gt,Ht,kt,ir,Xt,mr,Ar,Nr){var kr=this.pdf.getImageProperties(_t),tn=1,qr=1,_r=1,Qr=1;kt!==void 0&&Ar!==void 0&&(_r=Ar/kt,Qr=Nr/ir,tn=kr.width/kt*Ar/kt,qr=kr.height/ir*Nr/ir),Xt===void 0&&(Xt=gt,mr=Ht,Ht=gt=0),kt!==void 0&&Ar===void 0&&(Ar=kt,Nr=ir),kt===void 0&&Ar===void 0&&(Ar=kr.width,Nr=kr.height);var Ir=this.ctx.transform.decompose(),cr=dr(Ir.rotate.shx);Ir.scale.sx,Ir.scale.sy;for(var pr,ur=new Nt,fr=((ur=(ur=(ur=ur.multiply(Ir.translate)).multiply(Ir.skew)).multiply(Ir.scale)).applyToPoint(new pt(Ar,Nr)),ur.applyToRectangle(new vt(Xt-gt*_r,mr-Ht*Qr,kt*tn,ir*qr))),xr=de.call(this,fr),Yr=[],cn=0;cn<xr.length;cn+=1)Yr.indexOf(xr[cn])===-1&&Yr.push(xr[cn]);if(Yr.sort(),this.autoPaging)for(var Nn=Yr[0],jr=Yr[Yr.length-1],Tn=Nn;Tn<jr+1;Tn++){if(this.pdf.setPage(Tn),this.ctx.clip_path.length!==0){var gn=this.path;pr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=$(pr,this.posX,-1*this.pdf.internal.pageSize.height*(Tn-1)+this.posY),Oe.call(this,"fill",!0),this.path=gn}var Pn=JSON.parse(JSON.stringify(fr));Pn=$([Pn],this.posX,-1*this.pdf.internal.pageSize.height*(Tn-1)+this.posY)[0],this.pdf.addImage(_t,"jpg",Pn.x,Pn.y,Pn.w,Pn.h,null,null,cr)}else this.pdf.addImage(_t,"jpg",fr.x,fr.y,fr.w,fr.h,null,null,cr)};var de=function(gt,Ht,kt){var ir=[];switch(Ht=Ht||this.pdf.internal.pageSize.width,kt=kt||this.pdf.internal.pageSize.height,gt.type){default:case"mt":case"lt":ir.push(Math.floor((gt.y+this.posY)/kt)+1);break;case"arc":ir.push(Math.floor((gt.y+this.posY-gt.radius)/kt)+1),ir.push(Math.floor((gt.y+this.posY+gt.radius)/kt)+1);break;case"qct":var Xt=ht(this.ctx.lastPoint.x,this.ctx.lastPoint.y,gt.x1,gt.y1,gt.x,gt.y);ir.push(Math.floor(Xt.y/kt)+1),ir.push(Math.floor((Xt.y+Xt.h)/kt)+1);break;case"bct":var mr=Et(this.ctx.lastPoint.x,this.ctx.lastPoint.y,gt.x1,gt.y1,gt.x2,gt.y2,gt.x,gt.y);ir.push(Math.floor(mr.y/kt)+1),ir.push(Math.floor((mr.y+mr.h)/kt)+1);break;case"rect":ir.push(Math.floor((gt.y+this.posY)/kt)+1),ir.push(Math.floor((gt.y+gt.h+this.posY)/kt)+1)}for(var Ar=0;Ar<ir.length;Ar+=1)for(;this.pdf.internal.getNumberOfPages()<ir[Ar];)xe.call(this);return ir},xe=function(){var gt=this.fillStyle,Ht=this.strokeStyle,kt=this.font,ir=this.lineCap,Xt=this.lineWidth,mr=this.lineJoin;this.pdf.addPage(),this.fillStyle=gt,this.strokeStyle=Ht,this.font=kt,this.lineCap=ir,this.lineWidth=Xt,this.lineJoin=mr},$=function(gt,Ht,kt){for(var ir=0;ir<gt.length;ir++)switch(gt[ir].type){case"bct":gt[ir].x2+=Ht,gt[ir].y2+=kt;case"qct":gt[ir].x1+=Ht,gt[ir].y1+=kt;case"mt":case"lt":case"arc":default:gt[ir].x+=Ht,gt[ir].y+=kt}return gt},le=function(gt,Ht){for(var kt,ir,Xt=this.fillStyle,mr=this.strokeStyle,Ar=(this.font,this.lineCap),Nr=this.lineWidth,kr=this.lineJoin,tn=JSON.parse(JSON.stringify(this.path)),qr=JSON.parse(JSON.stringify(this.path)),_r=[],Qr=0;Qr<qr.length;Qr++)if(qr[Qr].x!==void 0)for(var Ir=de.call(this,qr[Qr]),cr=0;cr<Ir.length;cr+=1)_r.indexOf(Ir[cr])===-1&&_r.push(Ir[cr]);for(Qr=0;Qr<_r.length;Qr++)for(;this.pdf.internal.getNumberOfPages()<_r[Qr];)xe.call(this);if(_r.sort(),this.autoPaging){var pr=_r[0],ur=_r[_r.length-1];for(Qr=pr;Qr<ur+1;Qr++){if(this.pdf.setPage(Qr),this.fillStyle=Xt,this.strokeStyle=mr,this.lineCap=Ar,this.lineWidth=Nr,this.lineJoin=kr,this.ctx.clip_path.length!==0){var fr=this.path;kt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=$(kt,this.posX,-1*this.pdf.internal.pageSize.height*(Qr-1)+this.posY),Oe.call(this,gt,!0),this.path=fr}ir=JSON.parse(JSON.stringify(tn)),this.path=$(ir,this.posX,-1*this.pdf.internal.pageSize.height*(Qr-1)+this.posY),Ht!==!1&&Qr!==0||Oe.call(this,gt,Ht)}}else Oe.call(this,gt,Ht);this.path=tn},Oe=function(gt,Ht){if((gt!=="stroke"||Ht||!It.call(this))&&(gt==="stroke"||Ht||!wt.call(this))){var kt=[];this.ctx.globalAlpha,this.ctx.fillOpacity<1&&this.ctx.fillOpacity;for(var ir,Xt=this.path,mr=0;mr<Xt.length;mr++){var Ar=Xt[mr];switch(Ar.type){case"begin":kt.push({begin:!0});break;case"close":kt.push({close:!0});break;case"mt":kt.push({start:Ar,deltas:[],abs:[]});break;case"lt":var Nr=kt.length;if(!isNaN(Xt[mr-1].x)){var kr=[Ar.x-Xt[mr-1].x,Ar.y-Xt[mr-1].y];if(0<Nr){for(;0<=Nr;Nr--)if(kt[Nr-1].close!==!0&&kt[Nr-1].begin!==!0){kt[Nr-1].deltas.push(kr),kt[Nr-1].abs.push(Ar);break}}}break;case"bct":kr=[Ar.x1-Xt[mr-1].x,Ar.y1-Xt[mr-1].y,Ar.x2-Xt[mr-1].x,Ar.y2-Xt[mr-1].y,Ar.x-Xt[mr-1].x,Ar.y-Xt[mr-1].y],kt[kt.length-1].deltas.push(kr);break;case"qct":var tn=Xt[mr-1].x+2/3*(Ar.x1-Xt[mr-1].x),qr=Xt[mr-1].y+2/3*(Ar.y1-Xt[mr-1].y),_r=Ar.x+2/3*(Ar.x1-Ar.x),Qr=Ar.y+2/3*(Ar.y1-Ar.y),Ir=Ar.x,cr=Ar.y;kr=[tn-Xt[mr-1].x,qr-Xt[mr-1].y,_r-Xt[mr-1].x,Qr-Xt[mr-1].y,Ir-Xt[mr-1].x,cr-Xt[mr-1].y],kt[kt.length-1].deltas.push(kr);break;case"arc":kt.push({deltas:[],abs:[],arc:!0}),Array.isArray(kt[kt.length-1].abs)&&kt[kt.length-1].abs.push(Ar)}}for(ir=Ht?null:gt==="stroke"?"stroke":"fill",mr=0;mr<kt.length;mr++){if(kt[mr].arc)for(var pr=kt[mr].abs,ur=0;ur<pr.length;ur++){var fr=pr[ur];if(fr.startAngle!==void 0){var xr=dr(fr.startAngle),Yr=dr(fr.endAngle),cn=fr.x,Nn=fr.y;Ue.call(this,cn,Nn,fr.radius,xr,Yr,fr.counterclockwise,ir,Ht)}else Rt.call(this,fr.x,fr.y)}!kt[mr].arc&&kt[mr].close!==!0&&kt[mr].begin!==!0&&(cn=kt[mr].start.x,Nn=kt[mr].start.y,zt.call(this,kt[mr].deltas,cn,Nn,null,null))}ir&&nt.call(this,ir),Ht&&At.call(this)}},ke=function(gt){var Ht=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,kt=Ht*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return gt-kt;case"top":return gt+Ht-kt;case"hanging":return gt+Ht-2*kt;case"middle":return gt+Ht/2-kt;case"ideographic":return gt;case"alphabetic":default:return gt}};Ke.prototype.createLinearGradient=function(){var _t=function(){};return _t.colorStops=[],_t.addColorStop=function(gt,Ht){this.colorStops.push([gt,Ht])},_t.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},_t.isCanvasGradient=!0,_t},Ke.prototype.createPattern=function(){return this.createLinearGradient()},Ke.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Ue=function(gt,Ht,kt,ir,Xt,mr,Ar,Nr){this.pdf.internal.scaleFactor;for(var kr=er(ir),tn=er(Xt),qr=Qt.call(this,kt,kr,tn,mr),_r=0;_r<qr.length;_r++){var Qr=qr[_r];_r===0&&Wt.call(this,Qr.x1+gt,Qr.y1+Ht),Gt.call(this,gt,Ht,Qr.x2,Qr.y2,Qr.x3,Qr.y3,Qr.x4,Qr.y4)}Nr?At.call(this):nt.call(this,Ar)},nt=function(gt){switch(gt){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},At=function(){this.pdf.clip()},Wt=function(gt,Ht){this.pdf.internal.out(we(gt)+" "+Fe(Ht)+" m")},$t=function(gt){var Ht;switch(gt.align){case"right":case"end":Ht="right";break;case"center":Ht="center";break;case"left":case"start":default:Ht="left"}var kt=this.ctx.transform.applyToPoint(new pt(gt.x,gt.y)),ir=this.ctx.transform.decompose(),Xt=new Nt;Xt=(Xt=(Xt=Xt.multiply(ir.translate)).multiply(ir.skew)).multiply(ir.scale);for(var mr,Ar=this.pdf.getTextDimensions(gt.text),Nr=this.ctx.transform.applyToRectangle(new vt(gt.x,gt.y,Ar.w,Ar.h)),kr=Xt.applyToRectangle(new vt(gt.x,gt.y-Ar.h,Ar.w,Ar.h)),tn=de.call(this,kr),qr=[],_r=0;_r<tn.length;_r+=1)qr.indexOf(tn[_r])===-1&&qr.push(tn[_r]);if(qr.sort(),this.autoPaging===!0)for(var Qr=qr[0],Ir=qr[qr.length-1],cr=Qr;cr<Ir+1;cr++){if(this.pdf.setPage(cr),this.ctx.clip_path.length!==0){var pr=this.path;mr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=$(mr,this.posX,-1*this.pdf.internal.pageSize.height*(cr-1)+this.posY),Oe.call(this,"fill",!0),this.path=pr}var ur=JSON.parse(JSON.stringify(Nr));if(ur=$([ur],this.posX,-1*this.pdf.internal.pageSize.height*(cr-1)+this.posY)[0],.01<=gt.scale){var fr=this.pdf.internal.getFontSize();this.pdf.setFontSize(fr*gt.scale)}this.pdf.text(gt.text,ur.x,ur.y,{angle:gt.angle,align:Ht,renderingMode:gt.renderingMode,maxWidth:gt.maxWidth}),.01<=gt.scale&&this.pdf.setFontSize(fr)}else .01<=gt.scale&&(fr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(fr*gt.scale)),this.pdf.text(gt.text,kt.x+this.posX,kt.y+this.posY,{angle:gt.angle,align:Ht,renderingMode:gt.renderingMode,maxWidth:gt.maxWidth}),.01<=gt.scale&&this.pdf.setFontSize(fr)},Rt=function(gt,Ht,kt,ir){kt=kt||0,ir=ir||0,this.pdf.internal.out(we(gt+kt)+" "+Fe(Ht+ir)+" l")},zt=function(gt,Ht,kt){return this.pdf.lines(gt,Ht,kt,null,null)},Gt=function(gt,Ht,kt,ir,Xt,mr,Ar,Nr){this.pdf.internal.out([Ee(Ye(kt+gt)),Ee(Ge(ir+Ht)),Ee(Ye(Xt+gt)),Ee(Ge(mr+Ht)),Ee(Ye(Ar+gt)),Ee(Ge(Nr+Ht)),"c"].join(" "))},Qt=function(gt,Ht,kt,ir){var Xt=2*Math.PI,mr=Ht;(mr<Xt||Xt<mr)&&(mr%=Xt);var Ar=kt;(Ar<Xt||Xt<Ar)&&(Ar%=Xt);for(var Nr=[],kr=Math.PI/2,tn=ir?-1:1,qr=Ht,_r=Math.min(Xt,Math.abs(Ar-mr));1e-5<_r;){var Qr=qr+tn*Math.min(_r,kr);Nr.push(Mt.call(this,gt,qr,Qr)),_r-=Math.abs(Qr-qr),qr=Qr}return Nr},Mt=function(gt,Ht,kt){var ir=(kt-Ht)/2,Xt=gt*Math.cos(ir),mr=gt*Math.sin(ir),Ar=Xt,Nr=-mr,kr=Ar*Ar+Nr*Nr,tn=kr+Ar*Xt+Nr*mr,qr=4/3*(Math.sqrt(2*kr*tn)-tn)/(Ar*mr-Nr*Xt),_r=Ar-qr*Nr,Qr=Nr+qr*Ar,Ir=_r,cr=-Qr,pr=ir+Ht,ur=Math.cos(pr),fr=Math.sin(pr);return{x1:gt*Math.cos(Ht),y1:gt*Math.sin(Ht),x2:_r*ur-Qr*fr,y2:_r*fr+Qr*ur,x3:Ir*ur-cr*fr,y3:Ir*fr+cr*ur,x4:gt*Math.cos(kt),y4:gt*Math.sin(kt)}},dr=function(gt){return 180*gt/Math.PI},er=function(gt){return gt*Math.PI/180},ht=function(gt,Ht,kt,ir,Xt,mr){var Ar=gt+.5*(kt-gt),Nr=Ht+.5*(ir-Ht),kr=Xt+.5*(kt-Xt),tn=mr+.5*(ir-mr),qr=Math.min(gt,Xt,Ar,kr),_r=Math.max(gt,Xt,Ar,kr),Qr=Math.min(Ht,mr,Nr,tn),Ir=Math.max(Ht,mr,Nr,tn);return new vt(qr,Qr,_r-qr,Ir-Qr)},Et=function(gt,Ht,kt,ir,Xt,mr,Ar,Nr){for(var kr,tn,qr,_r,Qr,Ir,cr,pr,ur,fr,xr,Yr,cn,Nn=kt-gt,jr=ir-Ht,Tn=Xt-kt,gn=mr-ir,Pn=Ar-Xt,Kn=Nr-mr,qn=0;qn<41;qn++)pr=(Ir=(tn=gt+(kr=qn/40)*Nn)+kr*((_r=kt+kr*Tn)-tn))+kr*(_r+kr*(Xt+kr*Pn-_r)-Ir),ur=(cr=(qr=Ht+kr*jr)+kr*((Qr=ir+kr*gn)-qr))+kr*(Qr+kr*(mr+kr*Kn-Qr)-cr),cn=qn==0?(Yr=fr=pr,xr=ur):(fr=Math.min(fr,pr),xr=Math.min(xr,ur),Yr=Math.max(Yr,pr),Math.max(cn,ur));return new vt(Math.round(fr),Math.round(xr),Math.round(Yr-fr),Math.round(cn-xr))},pt=function(gt,Ht){var kt=gt||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return kt},set:function(Ar){isNaN(Ar)||(kt=parseFloat(Ar))}});var ir=Ht||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return ir},set:function(Ar){isNaN(Ar)||(ir=parseFloat(Ar))}});var Xt="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return Xt},set:function(Ar){Xt=Ar.toString()}}),this},vt=function(gt,Ht,kt,ir){pt.call(this,gt,Ht),this.type="rect";var Xt=kt||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return Xt},set:function(Nr){isNaN(Nr)||(Xt=parseFloat(Nr))}});var mr=ir||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return mr},set:function(Nr){isNaN(Nr)||(mr=parseFloat(Nr))}}),this},Nt=function(gt,Ht,kt,ir,Xt,mr){var Ar=[];return Object.defineProperty(this,"sx",{get:function(){return Ar[0]},set:function(kr){Ar[0]=Math.round(1e5*kr)/1e5}}),Object.defineProperty(this,"shy",{get:function(){return Ar[1]},set:function(kr){Ar[1]=Math.round(1e5*kr)/1e5}}),Object.defineProperty(this,"shx",{get:function(){return Ar[2]},set:function(kr){Ar[2]=Math.round(1e5*kr)/1e5}}),Object.defineProperty(this,"sy",{get:function(){return Ar[3]},set:function(kr){Ar[3]=Math.round(1e5*kr)/1e5}}),Object.defineProperty(this,"tx",{get:function(){return Ar[4]},set:function(kr){Ar[4]=Math.round(1e5*kr)/1e5}}),Object.defineProperty(this,"ty",{get:function(){return Ar[5]},set:function(kr){Ar[5]=Math.round(1e5*kr)/1e5}}),Object.defineProperty(this,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(this,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(this,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(this,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),this.sx=isNaN(gt)?1:gt,this.shy=isNaN(Ht)?0:Ht,this.shx=isNaN(kt)?0:kt,this.sy=isNaN(ir)?1:ir,this.tx=isNaN(Xt)?0:Xt,this.ty=isNaN(mr)?0:mr,this};Nt.prototype.multiply=function(_t){var gt=_t.sx*this.sx+_t.shy*this.shx,Ht=_t.sx*this.shy+_t.shy*this.sy,kt=_t.shx*this.sx+_t.sy*this.shx,ir=_t.shx*this.shy+_t.sy*this.sy,Xt=_t.tx*this.sx+_t.ty*this.shx+this.tx,mr=_t.tx*this.shy+_t.ty*this.sy+this.ty;return new Nt(gt,Ht,kt,ir,Xt,mr)},Nt.prototype.decompose=function(){var _t=this.sx,gt=this.shy,Ht=this.shx,kt=this.sy,ir=this.tx,Xt=this.ty,mr=Math.sqrt(_t*_t+gt*gt),Ar=(_t/=mr)*Ht+(gt/=mr)*kt;Ht-=_t*Ar,kt-=gt*Ar;var Nr=Math.sqrt(Ht*Ht+kt*kt);return Ar/=Nr,_t*(kt/=Nr)<gt*(Ht/=Nr)&&(_t=-_t,gt=-gt,Ar=-Ar,mr=-mr),{scale:new Nt(mr,0,0,Nr,0,0),translate:new Nt(1,0,0,1,ir,Xt),rotate:new Nt(_t,gt,-gt,_t,0,0),skew:new Nt(1,0,Ar,1,0,0)}},Nt.prototype.applyToPoint=function(_t){var gt=_t.x*this.sx+_t.y*this.shx+this.tx,Ht=_t.x*this.shy+_t.y*this.sy+this.ty;return new pt(gt,Ht)},Nt.prototype.applyToRectangle=function(_t){var gt=this.applyToPoint(_t),Ht=this.applyToPoint(new pt(_t.x+_t.w,_t.y+_t.h));return new vt(gt.x,gt.y,Ht.x-gt.x,Ht.y-gt.y)},Nt.prototype.clone=function(){var _t=this.sx,gt=this.shy,Ht=this.shx,kt=this.sy,ir=this.tx,Xt=this.ty;return new Nt(_t,gt,Ht,kt,ir,Xt)}}(ze.API,typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")()),t=ze.API,s=function(Ce){var Ee,we,Fe,Ye,Ge,qe,Ke,ut,wt,It;for(/[^\x00-\xFF]/.test(Ce),we=[],Fe=0,Ye=(Ce+=Ee="\0\0\0\0".slice(Ce.length%4||4)).length;Fe<Ye;Fe+=4)(Ge=(Ce.charCodeAt(Fe)<<24)+(Ce.charCodeAt(Fe+1)<<16)+(Ce.charCodeAt(Fe+2)<<8)+Ce.charCodeAt(Fe+3))!==0?(qe=(Ge=((Ge=((Ge=((Ge=(Ge-(It=Ge%85))/85)-(wt=Ge%85))/85)-(ut=Ge%85))/85)-(Ke=Ge%85))/85)%85,we.push(qe+33,Ke+33,ut+33,wt+33,It+33)):we.push(122);return function(de,xe){for(var $=Ee.length;0<$;$--)de.pop()}(we),String.fromCharCode.apply(String,we)+"~>"},c=function(Ce){var Ee,we,Fe,Ye,Ge,qe=String,Ke="length",ut="charCodeAt",wt="slice",It="replace";for(Ce[wt](-2),Ce=Ce[wt](0,-2)[It](/\s/g,"")[It]("z","!!!!!"),Fe=[],Ye=0,Ge=(Ce+=Ee="uuuuu"[wt](Ce[Ke]%5||5))[Ke];Ye<Ge;Ye+=5)we=52200625*(Ce[ut](Ye)-33)+614125*(Ce[ut](Ye+1)-33)+7225*(Ce[ut](Ye+2)-33)+85*(Ce[ut](Ye+3)-33)+(Ce[ut](Ye+4)-33),Fe.push(255&we>>24,255&we>>16,255&we>>8,255&we);return function(de,xe){for(var $=Ee[Ke];0<$;$--)de.pop()}(Fe),qe.fromCharCode.apply(qe,Fe)},p=function(Ce){for(var Ee="",we=0;we<Ce.length;we+=1)Ee+=("0"+Ce.charCodeAt(we).toString(16)).slice(-2);return Ee+=">"},A=function(Ce){var Ee=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((Ce=Ce.replace(/\s/g,"")).indexOf(">")!==-1&&(Ce=Ce.substr(0,Ce.indexOf(">"))),Ce.length%2&&(Ce+="0"),Ee.test(Ce)===!1)return"";for(var we="",Fe=0;Fe<Ce.length;Fe+=2)we+=String.fromCharCode("0x"+(Ce[Fe]+Ce[Fe+1]));return we},w=function(Ce,Ee){Ee=Object.assign({predictor:1,colors:1,bitsPerComponent:8,columns:1},Ee);for(var we,Fe,Ye=[],Ge=Ce.length;Ge--;)Ye[Ge]=Ce.charCodeAt(Ge);return we=t.adler32cs.from(Ce),(Fe=new Deflater(6)).append(new Uint8Array(Ye)),Ce=Fe.flush(),(Ye=new Uint8Array(Ce.length+6)).set(new Uint8Array([120,156])),Ye.set(Ce,2),Ye.set(new Uint8Array([255&we,we>>8&255,we>>16&255,we>>24&255]),Ce.length+2),Ce=String.fromCharCode.apply(null,Ye)},t.processDataByFilters=function(_e,Ce){var Ee=0,we=_e||"",Fe=[];for(typeof(Ce=Ce||[])=="string"&&(Ce=[Ce]),Ee=0;Ee<Ce.length;Ee+=1)switch(Ce[Ee]){case"ASCII85Decode":case"/ASCII85Decode":we=c(we),Fe.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":we=s(we),Fe.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":we=A(we),Fe.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":we=p(we),Fe.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":we=w(we),Fe.push("/FlateDecode");break;default:throw'The filter: "'+Ce[Ee]+'" is not implemented'}return{data:we,reverseChain:Fe.reverse().join(" ")}},(C=ze.API).loadFile=function(_e,Ce,Ee){var we;Ce=Ce||!0,Ee=Ee||function(){};try{we=function(Fe,Ye,Ge){var qe=new XMLHttpRequest,Ke=[],ut=0,wt=function(de){var xe=de.length,$=String.fromCharCode;for(ut=0;ut<xe;ut+=1)Ke.push($(255&de.charCodeAt(ut)));return Ke.join("")};if(qe.open("GET",Fe,!Ye),qe.overrideMimeType("text/plain; charset=x-user-defined"),Ye===!1&&(qe.onload=function(){return wt(this.responseText)}),qe.send(null),qe.status===200)return Ye?wt(qe.responseText):void 0;console.warn('Unable to load file "'+Fe+'"')}(_e,Ce)}catch(Fe){we=void 0}return we},C.loadImageFile=C.loadFile,x=ze.API,E=typeof window!="undefined"&&window||typeof g!="undefined"&&g,T=function(Ce){var Ee=m(Ce);return Ee==="undefined"?"undefined":Ee==="string"||Ce instanceof String?"string":Ee==="number"||Ce instanceof Number?"number":Ee==="function"||Ce instanceof Function?"function":Ce&&Ce.constructor===Array?"array":Ce&&Ce.nodeType===1?"element":Ee==="object"?"object":"unknown"},_=function(Ce,Ee){var we=document.createElement(Ce);if(Ee.className&&(we.className=Ee.className),Ee.innerHTML){we.innerHTML=Ee.innerHTML;for(var Fe=we.getElementsByTagName("script"),Ye=Fe.length;0<Ye--;null)Fe[Ye].parentNode.removeChild(Fe[Ye])}for(var Ge in Ee.style)we.style[Ge]=Ee.style[Ge];return we},(((v=function _e(Ce){var Ee=Object.assign(_e.convert(Promise.resolve()),JSON.parse(JSON.stringify(_e.template))),we=_e.convert(Promise.resolve(),Ee);return we=(we=we.setProgress(1,_e,1,[_e])).set(Ce)}).prototype=Object.create(Promise.prototype)).constructor=v).convert=function(_e,Ce){return _e.__proto__=Ce||v.prototype,_e},v.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{}}},v.prototype.from=function(_e,Ce){return this.then(function(){switch(Ce=Ce||function(Ee){switch(T(Ee)){case"string":return"string";case"element":return Ee.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}(_e)){case"string":return this.set({src:_("div",{innerHTML:_e})});case"element":return this.set({src:_e});case"canvas":return this.set({canvas:_e});case"img":return this.set({img:_e});default:return this.error("Unknown source type.")}})},v.prototype.to=function(_e){switch(_e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},v.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var _e={position:"relative",display:"inline-block",width:Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:"white"},Ce=function Ee(we,Fe){for(var Ye=we.nodeType===3?document.createTextNode(we.nodeValue):we.cloneNode(!1),Ge=we.firstChild;Ge;Ge=Ge.nextSibling)Fe!==!0&&Ge.nodeType===1&&Ge.nodeName==="SCRIPT"||Ye.appendChild(Ee(Ge,Fe));return we.nodeType===1&&(we.nodeName==="CANVAS"?(Ye.width=we.width,Ye.height=we.height,Ye.getContext("2d").drawImage(we,0,0)):we.nodeName!=="TEXTAREA"&&we.nodeName!=="SELECT"||(Ye.value=we.value),Ye.addEventListener("load",function(){Ye.scrollTop=we.scrollTop,Ye.scrollLeft=we.scrollLeft},!0)),Ye}(this.prop.src,this.opt.html2canvas.javascriptEnabled);Ce.tagName==="BODY"&&(_e.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=_("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=_("div",{className:"html2pdf__container",style:_e}),this.prop.container.appendChild(Ce),this.prop.container.firstChild.appendChild(_("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},v.prototype.toCanvas=function(){var _e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(_e).then(function(){var Ce=Object.assign({},this.opt.html2canvas);if(delete Ce.onrendered,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,Ce)}).then(function(Ce){(this.opt.html2canvas.onrendered||function(){})(Ce),this.prop.canvas=Ce,document.body.removeChild(this.prop.overlay)})},v.prototype.toContext2d=function(){var _e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(_e).then(function(){var Ce=this.opt.jsPDF,Ee=Object.assign({async:!0,allowTaint:!0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete Ee.onrendered,Ce.context2d.autoPaging=!0,Ce.context2d.posX=this.opt.x,Ce.context2d.posY=this.opt.y,Ee.windowHeight=Ee.windowHeight||0,Ee.windowHeight=Ee.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):Ee.windowHeight,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,Ee)}).then(function(Ce){(this.opt.html2canvas.onrendered||function(){})(Ce),this.prop.canvas=Ce,document.body.removeChild(this.prop.overlay)})},v.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var _e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=_e})},v.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},v.prototype.output=function(_e,Ce,Ee){return(Ee=Ee||"pdf").toLowerCase()==="img"||Ee.toLowerCase()==="image"?this.outputImg(_e,Ce):this.outputPdf(_e,Ce)},v.prototype.outputPdf=function(_e,Ce){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(_e,Ce)})},v.prototype.outputImg=function(_e,Ce){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(_e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+_e+'" is not supported.'}})},v.prototype.isHtml2CanvasLoaded=function(){var _e=E.html2canvas!==void 0;return _e||console.error("html2canvas not loaded."),_e},v.prototype.save=function(_e){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(_e?{filename:_e}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},v.prototype.doCallback=function(_e){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},v.prototype.set=function(_e){if(T(_e)!=="object")return this;var Ce=Object.keys(_e||{}).map(function(Ee){if(Ee in v.template.prop)return function(){this.prop[Ee]=_e[Ee]};switch(Ee){case"margin":return this.setMargin.bind(this,_e.margin);case"jsPDF":return function(){return this.opt.jsPDF=_e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,_e.pageSize);default:return function(){this.opt[Ee]=_e[Ee]}}},this);return this.then(function(){return this.thenList(Ce)})},v.prototype.get=function(_e,Ce){return this.then(function(){var Ee=_e in v.template.prop?this.prop[_e]:this.opt[_e];return Ce?Ce(Ee):Ee})},v.prototype.setMargin=function(_e){return this.then(function(){switch(T(_e)){case"number":_e=[_e,_e,_e,_e];case"array":if(_e.length===2&&(_e=[_e[0],_e[1],_e[0],_e[1]]),_e.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=_e}).then(this.setPageSize)},v.prototype.setPageSize=function(_e){function Ce(Ee,we){return Math.floor(Ee*we/72*96)}return this.then(function(){(_e=_e||ze.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(_e.inner={width:_e.width-this.opt.margin[1]-this.opt.margin[3],height:_e.height-this.opt.margin[0]-this.opt.margin[2]},_e.inner.px={width:Ce(_e.inner.width,_e.k),height:Ce(_e.inner.height,_e.k)},_e.inner.ratio=_e.inner.height/_e.inner.width),this.prop.pageSize=_e})},v.prototype.setProgress=function(_e,Ce,Ee,we){return _e!=null&&(this.progress.val=_e),Ce!=null&&(this.progress.state=Ce),Ee!=null&&(this.progress.n=Ee),we!=null&&(this.progress.stack=we),this.progress.ratio=this.progress.val/this.progress.state,this},v.prototype.updateProgress=function(_e,Ce,Ee,we){return this.setProgress(_e?this.progress.val+_e:null,Ce||null,Ee?this.progress.n+Ee:null,we?this.progress.stack.concat(we):null)},v.prototype.then=function(_e,Ce){var Ee=this;return this.thenCore(_e,Ce,function(we,Fe){return Ee.updateProgress(null,null,1,[we]),Promise.prototype.then.call(this,function(Ye){return Ee.updateProgress(null,we),Ye}).then(we,Fe).then(function(Ye){return Ee.updateProgress(1),Ye})})},v.prototype.thenCore=function(_e,Ce,Ee){Ee=Ee||Promise.prototype.then;var we=this;_e&&(_e=_e.bind(we)),Ce&&(Ce=Ce.bind(we));var Fe=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?we:v.convert(Object.assign({},we),Promise.prototype),Ye=Ee.call(Fe,_e,Ce);return v.convert(Ye,we.__proto__)},v.prototype.thenExternal=function(_e,Ce){return Promise.prototype.then.call(this,_e,Ce)},v.prototype.thenList=function(_e){var Ce=this;return _e.forEach(function(Ee){Ce=Ce.thenCore(Ee)}),Ce},v.prototype.catch=function(_e){_e&&(_e=_e.bind(this));var Ce=Promise.prototype.catch.call(this,_e);return v.convert(Ce,this)},v.prototype.catchExternal=function(_e){return Promise.prototype.catch.call(this,_e)},v.prototype.error=function(_e){return this.then(function(){throw new Error(_e)})},v.prototype.using=v.prototype.set,v.prototype.saveAs=v.prototype.save,v.prototype.export=v.prototype.output,v.prototype.run=v.prototype.then,ze.getPageSize=function(_e,Ce,Ee){if(m(_e)==="object"){var we=_e;_e=we.orientation,Ce=we.unit||Ce,Ee=we.format||Ee}Ce=Ce||"mm",Ee=Ee||"a4",_e=(""+(_e||"P")).toLowerCase();var Fe=(""+Ee).toLowerCase(),Ye={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(Ce){case"pt":var Ge=1;break;case"mm":Ge=72/25.4;break;case"cm":Ge=72/2.54;break;case"in":Ge=72;break;case"px":Ge=.75;break;case"pc":case"em":Ge=12;break;case"ex":Ge=6;break;default:throw"Invalid unit: "+Ce}if(Ye.hasOwnProperty(Fe))var qe=Ye[Fe][1]/Ge,Ke=Ye[Fe][0]/Ge;else try{qe=Ee[1],Ke=Ee[0]}catch(wt){throw new Error("Invalid format: "+Ee)}if(_e==="p"||_e==="portrait"){if(_e="p",qe<Ke){var ut=Ke;Ke=qe,qe=ut}}else{if(_e!=="l"&&_e!=="landscape")throw"Invalid orientation: "+_e;_e="l",Ke<qe&&(ut=Ke,Ke=qe,qe=ut)}return{width:Ke,height:qe,unit:Ce,k:Ge}},x.html=function(_e,Ce){(Ce=Ce||{}).callback=Ce.callback||function(){},Ce.html2canvas=Ce.html2canvas||{},Ce.html2canvas.canvas=Ce.html2canvas.canvas||this.canvas,Ce.jsPDF=Ce.jsPDF||this,Ce.jsPDF;var Ee=new v(Ce);return Ce.worker?Ee:Ee.from(_e).doCallback()},ze.API.addJS=function(_e){return L=_e,this.internal.events.subscribe("postPutResources",function(Ce){S=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(S+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),O=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+L+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){S!==void 0&&O!==void 0&&this.internal.out("/Names <</JavaScript "+S+" 0 R>>")}),this},(M=ze.API).events.push(["postPutResources",function(){var _e=this,Ce=/^(\d+) 0 obj$/;if(0<this.outline.root.children.length)for(var Ee=_e.outline.render().split(/\r\n/),we=0;we<Ee.length;we++){var Fe=Ee[we],Ye=Ce.exec(Fe);if(Ye!=null){var Ge=Ye[1];_e.internal.newObjectDeferredBegin(Ge,!1)}_e.internal.write(Fe)}if(this.outline.createNamedDestinations){var qe=this.internal.pages.length,Ke=[];for(we=0;we<qe;we++){var ut=_e.internal.newObject();Ke.push(ut);var wt=_e.internal.getPageInfo(we+1);_e.internal.write("<< /D["+wt.objId+" 0 R /XYZ null null null]>> endobj")}var It=_e.internal.newObject();for(_e.internal.write("<< /Names [ "),we=0;we<Ke.length;we++)_e.internal.write("(page_"+(we+1)+")"+Ke[we]+" 0 R");_e.internal.write(" ] >>","endobj"),_e.internal.newObject(),_e.internal.write("<< /Dests "+It+" 0 R"),_e.internal.write(">>","endobj")}}]),M.events.push(["putCatalog",function(){0<this.outline.root.children.length&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+namesOid+" 0 R"))}]),M.events.push(["initialized",function(){var _e=this;_e.outline={createNamedDestinations:!1,root:{children:[]}},_e.outline.add=function(Ce,Ee,we){var Fe={title:Ee,options:we,children:[]};return Ce==null&&(Ce=this.root),Ce.children.push(Fe),Fe},_e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=_e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},_e.outline.genIds_r=function(Ce){Ce.id=_e.internal.newObjectDeferred();for(var Ee=0;Ee<Ce.children.length;Ee++)this.genIds_r(Ce.children[Ee])},_e.outline.renderRoot=function(Ce){this.objStart(Ce),this.line("/Type /Outlines"),0<Ce.children.length&&(this.line("/First "+this.makeRef(Ce.children[0])),this.line("/Last "+this.makeRef(Ce.children[Ce.children.length-1]))),this.line("/Count "+this.count_r({count:0},Ce)),this.objEnd()},_e.outline.renderItems=function(Ce){this.ctx.pdf.internal.getCoordinateString;for(var Ee=this.ctx.pdf.internal.getVerticalCoordinateString,we=0;we<Ce.children.length;we++){var Fe=Ce.children[we];this.objStart(Fe),this.line("/Title "+this.makeString(Fe.title)),this.line("/Parent "+this.makeRef(Ce)),0<we&&this.line("/Prev "+this.makeRef(Ce.children[we-1])),we<Ce.children.length-1&&this.line("/Next "+this.makeRef(Ce.children[we+1])),0<Fe.children.length&&(this.line("/First "+this.makeRef(Fe.children[0])),this.line("/Last "+this.makeRef(Fe.children[Fe.children.length-1])));var Ye=this.count=this.count_r({count:0},Fe);if(0<Ye&&this.line("/Count "+Ye),Fe.options&&Fe.options.pageNumber){var Ge=_e.internal.getPageInfo(Fe.options.pageNumber);this.line("/Dest ["+Ge.objId+" 0 R /XYZ 0 "+Ee(0)+" 0]")}this.objEnd()}for(we=0;we<Ce.children.length;we++)Fe=Ce.children[we],this.renderItems(Fe)},_e.outline.line=function(Ce){this.ctx.val+=Ce+`\r
`},_e.outline.makeRef=function(Ce){return Ce.id+" 0 R"},_e.outline.makeString=function(Ce){return"("+_e.internal.pdfEscape(Ce)+")"},_e.outline.objStart=function(Ce){this.ctx.val+=`\r
`+Ce.id+` 0 obj\r
<<\r
`},_e.outline.objEnd=function(Ce){this.ctx.val+=`>> \r
endobj\r
`},_e.outline.count_r=function(Ce,Ee){for(var we=0;we<Ee.children.length;we++)Ce.count++,this.count_r(Ce,Ee.children[we]);return Ce.count}}]),F=ze.API,U=function(){var Ce=typeof Deflater=="function";if(!Ce)throw new Error("requires deflate.js for compression");return Ce},z=function(Ce,Ee,we,Fe){var Ye=5,Ge=B;switch(Fe){case F.image_compression.FAST:Ye=3,Ge=k;break;case F.image_compression.MEDIUM:Ye=6,Ge=V;break;case F.image_compression.SLOW:Ye=9,Ge=K}Ce=H(Ce,Ee,we,Ge);var qe=new Uint8Array(W(Ye)),Ke=N(Ce),ut=new Deflater(Ye),wt=ut.append(Ce),It=ut.flush(),de=qe.length+wt.length+It.length,xe=new Uint8Array(de+4);return xe.set(qe),xe.set(wt,qe.length),xe.set(It,qe.length+wt.length),xe[de++]=Ke>>>24&255,xe[de++]=Ke>>>16&255,xe[de++]=Ke>>>8&255,xe[de++]=255&Ke,F.arrayBufferToBinaryString(xe)},W=function(Ce,Ee){var we=Math.LOG2E*Math.log(32768)-8<<4|8,Fe=we<<8;return Fe|=Math.min(3,(Ee-1&255)>>1)<<6,Fe|=0,[we,255&(Fe+=31-Fe%31)]},N=function(Ce,Ee){for(var we,Fe=1,Ye=0,Ge=Ce.length,qe=0;0<Ge;){for(Ge-=we=Ee<Ge?Ee:Ge;Ye+=Fe+=Ce[qe++],--we;);Fe%=65521,Ye%=65521}return(Ye<<16|Fe)>>>0},H=function(Ce,Ee,we,Fe){for(var Ye,Ge,qe,Ke=Ce.length/Ee,ut=new Uint8Array(Ce.length+Ke),wt=Q(),It=0;It<Ke;It++){if(qe=It*Ee,Ye=Ce.subarray(qe,qe+Ee),Fe)ut.set(Fe(Ye,we,Ge),qe+It);else{for(var de=0,xe=wt.length,$=[];de<xe;de++)$[de]=wt[de](Ye,we,Ge);var le=he($.concat());ut.set($[le],qe+It)}Ge=Ye}return ut},j=function(Ce,Ee,we){var Fe=Array.apply([],Ce);return Fe.unshift(0),Fe},k=function(Ce,Ee,we){var Fe,Ye=[],Ge=0,qe=Ce.length;for(Ye[0]=1;Ge<qe;Ge++)Fe=Ce[Ge-Ee]||0,Ye[Ge+1]=Ce[Ge]-Fe+256&255;return Ye},B=function(Ce,Ee,we){var Fe,Ye=[],Ge=0,qe=Ce.length;for(Ye[0]=2;Ge<qe;Ge++)Fe=we&&we[Ge]||0,Ye[Ge+1]=Ce[Ge]-Fe+256&255;return Ye},V=function(Ce,Ee,we){var Fe,Ye,Ge=[],qe=0,Ke=Ce.length;for(Ge[0]=3;qe<Ke;qe++)Fe=Ce[qe-Ee]||0,Ye=we&&we[qe]||0,Ge[qe+1]=Ce[qe]+256-(Fe+Ye>>>1)&255;return Ge},K=function(Ce,Ee,we){var Fe,Ye,Ge,qe,Ke=[],ut=0,wt=Ce.length;for(Ke[0]=4;ut<wt;ut++)Fe=Ce[ut-Ee]||0,Ye=we&&we[ut]||0,Ge=we&&we[ut-Ee]||0,qe=Y(Fe,Ye,Ge),Ke[ut+1]=Ce[ut]-qe+256&255;return Ke},Y=function(Ce,Ee,we){var Fe=Ce+Ee-we,Ye=Math.abs(Fe-Ce),Ge=Math.abs(Fe-Ee),qe=Math.abs(Fe-we);return Ye<=Ge&&Ye<=qe?Ce:Ge<=qe?Ee:we},Q=function(){return[j,k,B,V,K]},he=function(Ce){for(var Ee,we,Fe,Ye=0,Ge=Ce.length;Ye<Ge;)((Ee=G(Ce[Ye].slice(1)))<we||!we)&&(we=Ee,Fe=Ye),Ye++;return Fe},G=function(Ce){for(var Ee=0,we=Ce.length,Fe=0;Ee<we;)Fe+=Math.abs(Ce[Ee++]);return Fe},F.processPNG=function(_e,Ce,Ee,we,Fe){var Ye,Ge,qe,Ke,ut,wt,It=this.color_spaces.DEVICE_RGB,de=this.decode.FLATE_DECODE,xe=8;if(this.isArrayBuffer(_e)&&(_e=new Uint8Array(_e)),this.isArrayBufferView(_e)){if(typeof PNG!="function"||typeof Bt!="function")throw new Error("PNG support requires png.js and zlib.js");if(_e=(Ye=new PNG(_e)).imgData,xe=Ye.bits,It=Ye.colorSpace,Ke=Ye.colors,[4,6].indexOf(Ye.colorType)!==-1){if(Ye.bits===8)for(var $,le=(Qt=Ye.pixelBitlength==32?new Uint32Array(Ye.decodePixels().buffer):Ye.pixelBitlength==16?new Uint16Array(Ye.decodePixels().buffer):new Uint8Array(Ye.decodePixels().buffer)).length,Oe=new Uint8Array(le*Ye.colors),ke=new Uint8Array(le),Ue=Ye.pixelBitlength-Ye.bits,nt=0,At=0;nt<le;nt++){for(Wt=Qt[nt],$=0;$<Ue;)Oe[At++]=Wt>>>$&255,$+=Ye.bits;ke[nt]=Wt>>>$&255}if(Ye.bits===16){le=(Qt=new Uint32Array(Ye.decodePixels().buffer)).length,Oe=new Uint8Array(le*(32/Ye.pixelBitlength)*Ye.colors),ke=new Uint8Array(le*(32/Ye.pixelBitlength));for(var Wt,$t=1<Ye.colors,Rt=At=nt=0;nt<le;)Wt=Qt[nt++],Oe[At++]=Wt>>>0&255,$t&&(Oe[At++]=Wt>>>16&255,Wt=Qt[nt++],Oe[At++]=Wt>>>0&255),ke[Rt++]=Wt>>>16&255;xe=8}we!==F.image_compression.NONE&&U()?(_e=z(Oe,Ye.width*Ye.colors,Ye.colors,we),wt=z(ke,Ye.width,1,we)):(_e=Oe,wt=ke,de=null)}if(Ye.colorType===3&&(It=this.color_spaces.INDEXED,ut=Ye.palette,Ye.transparency.indexed)){var zt=Ye.transparency.indexed,Gt=0;for(nt=0,le=zt.length;nt<le;++nt)Gt+=zt[nt];if((Gt/=255)==le-1&&zt.indexOf(0)!==-1)qe=[zt.indexOf(0)];else if(Gt!==le){var Qt=Ye.decodePixels();for(ke=new Uint8Array(Qt.length),nt=0,le=Qt.length;nt<le;nt++)ke[nt]=zt[Qt[nt]];wt=z(ke,Ye.width,1)}}var Mt=function(dr){var er;switch(dr){case F.image_compression.FAST:er=11;break;case F.image_compression.MEDIUM:er=13;break;case F.image_compression.SLOW:er=14;break;default:er=12}return er}(we);return Ge=de===this.decode.FLATE_DECODE?"/Predictor "+Mt+" /Colors "+Ke+" /BitsPerComponent "+xe+" /Columns "+Ye.width:"/Colors "+Ke+" /BitsPerComponent "+xe+" /Columns "+Ye.width,(this.isArrayBuffer(_e)||this.isArrayBufferView(_e))&&(_e=this.arrayBufferToBinaryString(_e)),(wt&&this.isArrayBuffer(wt)||this.isArrayBufferView(wt))&&(wt=this.arrayBufferToBinaryString(wt)),this.createImageInfo(_e,Ye.width,Ye.height,It,xe,de,Ce,Ee,Ge,qe,ut,wt,Mt)}throw new Error("Unsupported PNG image data, try using JPEG instead.")},(ye=ze.API).processGIF89A=function(_e,Ce,Ee,we,Fe){var Ye=new mt(_e),Ge=Ye.width,qe=Ye.height,Ke=[];Ye.decodeAndBlitFrameRGBA(0,Ke);var ut={data:Ke,width:Ge,height:qe},wt=new bt(100).encode(ut,100);return ye.processJPEG.call(this,wt,Ce,Ee,we)},ye.processGIF87A=ye.processGIF89A,(Ae=ze.API).processBMP=function(_e,Ce,Ee,we,Fe){var Ye=new Lt(_e,!1),Ge=Ye.width,qe=Ye.height,Ke={data:Ye.getData(),width:Ge,height:qe},ut=new bt(100).encode(Ke,100);return Ae.processJPEG.call(this,ut,Ce,Ee,we)},ze.API.setLanguage=function(_e){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"FYRO Macedonian",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[_e]!==void 0&&(this.internal.languageSettings.languageCode=_e,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},ge=ze.API,Pe=ge.getCharWidthsArray=function(_e,Ce){var Ee,we,Fe,Ye=(Ce=Ce||{}).font||this.internal.getFont(),Ge=Ce.fontSize||this.internal.getFontSize(),qe=Ce.charSpace||this.internal.getCharSpace(),Ke=Ce.widths?Ce.widths:Ye.metadata.Unicode.widths,ut=Ke.fof?Ke.fof:1,wt=Ce.kerning?Ce.kerning:Ye.metadata.Unicode.kerning,It=wt.fof?wt.fof:1,de=0,xe=Ke[0]||ut,$=[];for(Ee=0,we=_e.length;Ee<we;Ee++)Fe=_e.charCodeAt(Ee),typeof Ye.metadata.widthOfString=="function"?$.push((Ye.metadata.widthOfGlyph(Ye.metadata.characterToGlyph(Fe))+qe*(1e3/Ge)||0)/1e3):$.push((Ke[Fe]||xe)/ut+(wt[Fe]&&wt[Fe][de]||0)/It),de=Fe;return $},Re=ge.getArraySum=function(_e){for(var Ce=_e.length,Ee=0;Ce;)Ee+=_e[--Ce];return Ee},rt=ge.getStringUnitWidth=function(_e,Ce){var Ee=(Ce=Ce||{}).fontSize||this.internal.getFontSize(),we=Ce.font||this.internal.getFont(),Fe=Ce.charSpace||this.internal.getCharSpace();return typeof we.metadata.widthOfString=="function"?we.metadata.widthOfString(_e,Ee,Fe)/Ee:Re(Pe.apply(this,arguments))},ne=function(Ce,Ee,we,Fe){for(var Ye=[],Ge=0,qe=Ce.length,Ke=0;Ge!==qe&&Ke+Ee[Ge]<we;)Ke+=Ee[Ge],Ge++;Ye.push(Ce.slice(0,Ge));var ut=Ge;for(Ke=0;Ge!==qe;)Ke+Ee[Ge]>Fe&&(Ye.push(Ce.slice(ut,Ge)),Ke=0,ut=Ge),Ke+=Ee[Ge],Ge++;return ut!==Ge&&Ye.push(Ce.slice(ut,Ge)),Ye},be=function(Ce,Ee,we){we||(we={});var Fe,Ye,Ge,qe,Ke,ut,wt=[],It=[wt],de=we.textIndent||0,xe=0,$=0,le=Ce.split(" "),Oe=Pe.apply(this,[" ",we])[0];if(ut=we.lineIndent===-1?le[0].length+2:we.lineIndent||0){var ke=Array(ut).join(" "),Ue=[];le.map(function(Wt){1<(Wt=Wt.split(/\s*\n/)).length?Ue=Ue.concat(Wt.map(function($t,Rt){return(Rt&&$t.length?`
`:"")+$t})):Ue.push(Wt[0])}),le=Ue,ut=rt.apply(this,[ke,we])}for(Ge=0,qe=le.length;Ge<qe;Ge++){var nt=0;if(Fe=le[Ge],ut&&Fe[0]==`
`&&(Fe=Fe.substr(1),nt=1),Ye=Pe.apply(this,[Fe,we]),Ee<de+xe+($=Re(Ye))||nt){if(Ee<$){for(Ke=ne.apply(this,[Fe,Ye,Ee-(de+xe),Ee]),wt.push(Ke.shift()),wt=[Ke.pop()];Ke.length;)It.push([Ke.shift()]);$=Re(Ye.slice(Fe.length-(wt[0]?wt[0].length:0)))}else wt=[Fe];It.push(wt),de=$+ut,xe=Oe}else wt.push(Fe),de+=xe+$,xe=Oe}if(ut)var At=function($t,Rt){return(Rt?ke:"")+$t.join(" ")};else At=function($t){return $t.join(" ")};return It.map(At)},ge.splitTextToSize=function(_e,Ce,Ee){var we,Fe=(Ee=Ee||{}).fontSize||this.internal.getFontSize(),Ye=function(wt){var It={0:1},de={};if(wt.widths&&wt.kerning)return{widths:wt.widths,kerning:wt.kerning};var xe=this.internal.getFont(wt.fontName,wt.fontStyle),$="Unicode";return xe.metadata[$]?{widths:xe.metadata[$].widths||It,kerning:xe.metadata[$].kerning||de}:{font:xe.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,Ee);we=Array.isArray(_e)?_e:_e.split(/\r?\n/);var Ge=1*this.internal.scaleFactor*Ce/Fe;Ye.textIndent=Ee.textIndent?1*Ee.textIndent*this.internal.scaleFactor/Fe:0,Ye.lineIndent=Ee.lineIndent;var qe,Ke,ut=[];for(qe=0,Ke=we.length;qe<Ke;qe++)ut=ut.concat(be.apply(this,[we[qe],Ge,Ye]));return ut},at=ze.API,q={codePages:["WinAnsiEncoding"],WinAnsiEncoding:(se=function(Ce){for(var Ee="klmnopqrstuvwxyz",we={},Fe=0;Fe<Ee.length;Fe++)we[Ee[Fe]]="0123456789abcdef"[Fe];var Ye,Ge,qe,Ke,ut,wt={},It=1,de=wt,xe=[],$="",le="",Oe=Ce.length-1;for(Fe=1;Fe!=Oe;)ut=Ce[Fe],Fe+=1,ut=="'"?Ge=Ge?(Ke=Ge.join(""),Ye):[]:Ge?Ge.push(ut):ut=="{"?(xe.push([de,Ke]),de={},Ke=Ye):ut=="}"?((qe=xe.pop())[0][qe[1]]=de,Ke=Ye,de=qe[0]):ut=="-"?It=-1:Ke===Ye?we.hasOwnProperty(ut)?($+=we[ut],Ke=parseInt($,16)*It,It=1,$=""):$+=ut:we.hasOwnProperty(ut)?(le+=we[ut],de[Ke]=parseInt(le,16)*It,It=1,Ke=Ye,le=""):le+=ut;return wt})("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},X={Unicode:{Courier:q,"Courier-Bold":q,"Courier-BoldOblique":q,"Courier-Oblique":q,Helvetica:q,"Helvetica-Bold":q,"Helvetica-BoldOblique":q,"Helvetica-Oblique":q,"Times-Roman":q,"Times-Bold":q,"Times-BoldItalic":q,"Times-Italic":q}},Z={Unicode:{"Courier-Oblique":se("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":se("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":se("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:se("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":se("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":se("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:se("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:se("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":se("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:se("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":se("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":se("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":se("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":se("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}},at.events.push(["addFont",function(_e){var Ce,Ee,we,Fe=_e.font,Ye="Unicode";(Ce=Z[Ye][Fe.postScriptName])&&((Ee=Fe.metadata[Ye]?Fe.metadata[Ye]:Fe.metadata[Ye]={}).widths=Ce.widths,Ee.kerning=Ce.kerning),(we=X[Ye][Fe.postScriptName])&&((Ee=Fe.metadata[Ye]?Fe.metadata[Ye]:Fe.metadata[Ye]={}).encoding=we).codePages&&we.codePages.length&&(Fe.encoding=we.codePages[0])}]),pe=ze,typeof self!="undefined"&&self||typeof g!="undefined"&&g||typeof window!="undefined"&&window||Function("return this")(),pe.API.events.push(["addFont",function(_e){var Ce=_e.font,Ee=_e.instance;if(Ee!==void 0&&Ee.existsFileInVFS(Ce.postScriptName)){var we=Ee.getFileFromVFS(Ce.postScriptName);if(typeof we!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+Ce.postScriptName+"').");Ce.metadata=pe.API.TTFFont.open(Ce.postScriptName,Ce.fontName,we,Ce.encoding),Ce.metadata.Unicode=Ce.metadata.Unicode||{encoding:{},kerning:{},widths:[]},Ce.metadata.glyIdsUsed=[0]}else if(Ce.isStandardFont===!1)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+Ce.postScriptName+"').")}]),(oe=ze.API).addSvg=function(_e,Ce,Ee,we,Fe){if(Ce===void 0||Ee===void 0)throw new Error("addSVG needs values for 'x' and 'y'");function Ye(zt){for(var Gt=parseFloat(zt[1]),Qt=parseFloat(zt[2]),Mt=[],dr=3,er=zt.length;dr<er;)zt[dr]==="c"?(Mt.push([parseFloat(zt[dr+1]),parseFloat(zt[dr+2]),parseFloat(zt[dr+3]),parseFloat(zt[dr+4]),parseFloat(zt[dr+5]),parseFloat(zt[dr+6])]),dr+=7):zt[dr]==="l"?(Mt.push([parseFloat(zt[dr+1]),parseFloat(zt[dr+2])]),dr+=3):dr+=1;return[Gt,Qt,Mt]}var Ge,qe,Ke,ut,wt,It,de,xe,$=(ut=document,xe=ut.createElement("iframe"),wt=".jsPDF_sillysvg_iframe {display:none;position:absolute;}",(de=(It=ut).createElement("style")).type="text/css",de.styleSheet?de.styleSheet.cssText=wt:de.appendChild(It.createTextNode(wt)),It.getElementsByTagName("head")[0].appendChild(de),xe.name="childframe",xe.setAttribute("width",0),xe.setAttribute("height",0),xe.setAttribute("frameborder","0"),xe.setAttribute("scrolling","no"),xe.setAttribute("seamless","seamless"),xe.setAttribute("class","jsPDF_sillysvg_iframe"),ut.body.appendChild(xe),xe),le=(Ge=_e,(Ke=((qe=$).contentWindow||qe.contentDocument).document).write(Ge),Ke.close(),Ke.getElementsByTagName("svg")[0]),Oe=[1,1],ke=parseFloat(le.getAttribute("width")),Ue=parseFloat(le.getAttribute("height"));ke&&Ue&&(we&&Fe?Oe=[we/ke,Fe/Ue]:we?Oe=[we/ke,we/ke]:Fe&&(Oe=[Fe/Ue,Fe/Ue]));var nt,At,Wt,$t,Rt=le.childNodes;for(nt=0,At=Rt.length;nt<At;nt++)(Wt=Rt[nt]).tagName&&Wt.tagName.toUpperCase()==="PATH"&&(($t=Ye(Wt.getAttribute("d").split(" ")))[0]=$t[0]*Oe[0]+Ce,$t[1]=$t[1]*Oe[1]+Ee,this.lines.call(this,$t[2],$t[0],$t[1],Oe));return this},oe.addSVG=oe.addSvg,oe.addSvgAsImage=function(_e,Ce,Ee,we,Fe,Ye,Ge,qe){if(isNaN(Ce)||isNaN(Ee))throw console.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(we)||isNaN(Fe))throw console.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var Ke=document.createElement("canvas");Ke.width=we,Ke.height=Fe;var ut=Ke.getContext("2d");return ut.fillStyle="#fff",ut.fillRect(0,0,Ke.width,Ke.height),canvg(Ke,_e,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0}),this.addImage(Ke.toDataURL("image/jpeg",1),Ce,Ee,we,Fe,Ge,qe),this},ze.API.putTotalPages=function(_e){var Ce,Ee=0;Ee=parseInt(this.internal.getFont().id.substr(1),10)<15?(Ce=new RegExp(_e,"g"),this.internal.getNumberOfPages()):(Ce=new RegExp(this.pdfEscape16(_e,this.internal.getFont()),"g"),this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var we=1;we<=this.internal.getNumberOfPages();we++)for(var Fe=0;Fe<this.internal.pages[we].length;Fe++)this.internal.pages[we][Fe]=this.internal.pages[we][Fe].replace(Ce,Ee);return this},ze.API.viewerPreferences=function(_e,Ce){var Ee;_e=_e||{},Ce=Ce||!1;var we,Fe,Ye={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},Ge=Object.keys(Ye),qe=[],Ke=0,ut=0,wt=0,It=!0;function de($,le){var Oe,ke=!1;for(Oe=0;Oe<$.length;Oe+=1)$[Oe]===le&&(ke=!0);return ke}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(Ye)),this.internal.viewerpreferences.isSubscribed=!1),Ee=this.internal.viewerpreferences.configuration,_e==="reset"||Ce===!0){var xe=Ge.length;for(wt=0;wt<xe;wt+=1)Ee[Ge[wt]].value=Ee[Ge[wt]].defaultValue,Ee[Ge[wt]].explicitSet=!1}if(m(_e)==="object"){for(we in _e)if(Fe=_e[we],de(Ge,we)&&Fe!==void 0){if(Ee[we].type==="boolean"&&typeof Fe=="boolean")Ee[we].value=Fe;else if(Ee[we].type==="name"&&de(Ee[we].valueSet,Fe))Ee[we].value=Fe;else if(Ee[we].type==="integer"&&Number.isInteger(Fe))Ee[we].value=Fe;else if(Ee[we].type==="array"){for(Ke=0;Ke<Fe.length;Ke+=1)if(It=!0,Fe[Ke].length===1&&typeof Fe[Ke][0]=="number")qe.push(String(Fe[Ke]-1));else if(1<Fe[Ke].length){for(ut=0;ut<Fe[Ke].length;ut+=1)typeof Fe[Ke][ut]!="number"&&(It=!1);It===!0&&qe.push([Fe[Ke][0]-1,Fe[Ke][1]-1].join(" "))}Ee[we].value="["+qe.join(" ")+"]"}else Ee[we].value=Ee[we].defaultValue;Ee[we].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var $,le=[];for($ in Ee)Ee[$].explicitSet===!0&&(Ee[$].type==="name"?le.push("/"+$+" /"+Ee[$].value):le.push("/"+$+" "+Ee[$].value));le.length!==0&&this.internal.write(`/ViewerPreferences
<<
`+le.join(`
`)+`
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=Ee,this},Ie=ze.API,J=te=fe="",Ie.addMetadata=function(_e,Ce){return te=Ce||"http://jspdf.default.namespaceuri/",fe=_e,this.internal.events.subscribe("postPutResources",function(){if(fe){var Ee='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+te+'"><jspdf:metadata>',we=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),Fe=unescape(encodeURIComponent(Ee)),Ye=unescape(encodeURIComponent(fe)),Ge=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),qe=unescape(encodeURIComponent("</x:xmpmeta>")),Ke=Fe.length+Ye.length+Ge.length+we.length+qe.length;J=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+Ke+" >>"),this.internal.write("stream"),this.internal.write(we+Fe+Ye+Ge+qe),this.internal.write("endstream"),this.internal.write("endobj")}else J=""}),this.internal.events.subscribe("putCatalog",function(){J&&this.internal.write("/Metadata "+J+" 0 R")}),this},function(_e,Ce){var Ee=_e.API,we=Ee.pdfEscape16=function(Ge,qe){for(var Ke,ut=qe.metadata.Unicode.widths,wt=["","0","00","000","0000"],It=[""],de=0,xe=Ge.length;de<xe;++de){if(Ke=qe.metadata.characterToGlyph(Ge.charCodeAt(de)),qe.metadata.glyIdsUsed.push(Ke),qe.metadata.toUnicode[Ke]=Ge.charCodeAt(de),ut.indexOf(Ke)==-1&&(ut.push(Ke),ut.push([parseInt(qe.metadata.widthOfGlyph(Ke),10)])),Ke=="0")return It.join("");Ke=Ke.toString(16),It.push(wt[4-Ke.length],Ke)}return It.join("")},Fe=function(qe){var Ke,ut,wt,It,de,xe,$;for(de=`/CIDInit /ProcSet findresource begin
12 dict begin
begincmap
/CIDSystemInfo <<
/Registry (Adobe)
/Ordering (UCS)
/Supplement 0
>> def
/CMapName /Adobe-Identity-UCS def
/CMapType 2 def
1 begincodespacerange
<0000><ffff>
endcodespacerange`,wt=[],xe=0,$=(ut=Object.keys(qe).sort(function(le,Oe){return le-Oe})).length;xe<$;xe++)Ke=ut[xe],100<=wt.length&&(de+=`
`+wt.length+` beginbfchar
`+wt.join(`
`)+`
endbfchar`,wt=[]),It=("0000"+qe[Ke].toString(16)).slice(-4),Ke=("0000"+(+Ke).toString(16)).slice(-4),wt.push("<"+Ke+"><"+It+">");return wt.length&&(de+=`
`+wt.length+` beginbfchar
`+wt.join(`
`)+`
endbfchar
`),de+=`endcmap
CMapName currentdict /CMap defineresource pop
end
end`};Ee.events.push(["putFont",function(Ge){!function(qe,Ke,ut,wt){if(qe.metadata instanceof _e.API.TTFFont&&qe.encoding==="Identity-H"){for(var It=qe.metadata.Unicode.widths,de=qe.metadata.subset.encode(qe.metadata.glyIdsUsed,1),xe="",$=0;$<de.length;$++)xe+=String.fromCharCode(de[$]);var le=ut();wt({data:xe,addLength1:!0}),Ke("endobj");var Oe=ut();wt({data:Fe(qe.metadata.toUnicode),addLength1:!0}),Ke("endobj");var ke=ut();Ke("<<"),Ke("/Type /FontDescriptor"),Ke("/FontName /"+qe.fontName),Ke("/FontFile2 "+le+" 0 R"),Ke("/FontBBox "+_e.API.PDFObject.convert(qe.metadata.bbox)),Ke("/Flags "+qe.metadata.flags),Ke("/StemV "+qe.metadata.stemV),Ke("/ItalicAngle "+qe.metadata.italicAngle),Ke("/Ascent "+qe.metadata.ascender),Ke("/Descent "+qe.metadata.decender),Ke("/CapHeight "+qe.metadata.capHeight),Ke(">>"),Ke("endobj");var Ue=ut();Ke("<<"),Ke("/Type /Font"),Ke("/BaseFont /"+qe.fontName),Ke("/FontDescriptor "+ke+" 0 R"),Ke("/W "+_e.API.PDFObject.convert(It)),Ke("/CIDToGIDMap /Identity"),Ke("/DW 1000"),Ke("/Subtype /CIDFontType2"),Ke("/CIDSystemInfo"),Ke("<<"),Ke("/Supplement 0"),Ke("/Registry (Adobe)"),Ke("/Ordering ("+qe.encoding+")"),Ke(">>"),Ke(">>"),Ke("endobj"),qe.objectNumber=ut(),Ke("<<"),Ke("/Type /Font"),Ke("/Subtype /Type0"),Ke("/ToUnicode "+Oe+" 0 R"),Ke("/BaseFont /"+qe.fontName),Ke("/Encoding /"+qe.encoding),Ke("/DescendantFonts ["+Ue+" 0 R]"),Ke(">>"),Ke("endobj"),qe.isAlreadyPutted=!0}}(Ge.font,Ge.out,Ge.newObject,Ge.putStream)}]),Ee.events.push(["putFont",function(Ge){!function(qe,Ke,ut,wt){if(qe.metadata instanceof _e.API.TTFFont&&qe.encoding==="WinAnsiEncoding"){qe.metadata.Unicode.widths;for(var It=qe.metadata.rawData,de="",xe=0;xe<It.length;xe++)de+=String.fromCharCode(It[xe]);var $=ut();wt({data:de,addLength1:!0}),Ke("endobj");var le=ut();wt({data:Fe(qe.metadata.toUnicode),addLength1:!0}),Ke("endobj");var Oe=ut();for(Ke("<<"),Ke("/Descent "+qe.metadata.decender),Ke("/CapHeight "+qe.metadata.capHeight),Ke("/StemV "+qe.metadata.stemV),Ke("/Type /FontDescriptor"),Ke("/FontFile2 "+$+" 0 R"),Ke("/Flags 96"),Ke("/FontBBox "+_e.API.PDFObject.convert(qe.metadata.bbox)),Ke("/FontName /"+qe.fontName),Ke("/ItalicAngle "+qe.metadata.italicAngle),Ke("/Ascent "+qe.metadata.ascender),Ke(">>"),Ke("endobj"),qe.objectNumber=ut(),xe=0;xe<qe.metadata.hmtx.widths.length;xe++)qe.metadata.hmtx.widths[xe]=parseInt(qe.metadata.hmtx.widths[xe]*(1e3/qe.metadata.head.unitsPerEm));Ke("<</Subtype/TrueType/Type/Font/ToUnicode "+le+" 0 R/BaseFont/"+qe.fontName+"/FontDescriptor "+Oe+" 0 R/Encoding/"+qe.encoding+" /FirstChar 29 /LastChar 255 /Widths "+_e.API.PDFObject.convert(qe.metadata.hmtx.widths)+">>"),Ke("endobj"),qe.isAlreadyPutted=!0}}(Ge.font,Ge.out,Ge.newObject,Ge.putStream)}]);var Ye=function(qe){var Ke,ut,wt=qe.text||"",It=qe.x,de=qe.y,xe=qe.options||{},$=qe.mutex||{},le=$.pdfEscape,Oe=$.activeFontKey,ke=$.fonts,Ue=($.activeFontSize,""),nt=0,At="",Wt=ke[ut=Oe].encoding;if(ke[ut].encoding!=="Identity-H")return{text:wt,x:It,y:de,options:xe,mutex:$};for(At=wt,ut=Oe,Object.prototype.toString.call(wt)==="[object Array]"&&(At=wt[0]),nt=0;nt<At.length;nt+=1)ke[ut].metadata.hasOwnProperty("cmap")&&(Ke=ke[ut].metadata.cmap.unicode.codeMap[At[nt].charCodeAt(0)]),Ke||At[nt].charCodeAt(0)<256&&ke[ut].metadata.hasOwnProperty("Unicode")?Ue+=At[nt]:Ue+="";var $t="";return parseInt(ut.slice(1))<14||Wt==="WinAnsiEncoding"?$t=function(Rt){for(var zt="",Gt=0;Gt<Rt.length;Gt++)zt+=""+Rt.charCodeAt(Gt).toString(16);return zt}(le(Ue,ut)):Wt==="Identity-H"&&($t=we(Ue,ke[ut])),$.isHex=!0,{text:$t,x:It,y:de,options:xe,mutex:$}};Ee.events.push(["postProcessText",function(Ge){var qe=Ge.text||"",Ke=Ge.x,ut=Ge.y,wt=Ge.options,It=Ge.mutex,de=(wt.lang,[]),xe={text:qe,x:Ke,y:ut,options:wt,mutex:It};if(Object.prototype.toString.call(qe)==="[object Array]"){var $=0;for($=0;$<qe.length;$+=1)Object.prototype.toString.call(qe[$])==="[object Array]"&&qe[$].length===3?de.push([Ye(Object.assign({},xe,{text:qe[$][0]})).text,qe[$][1],qe[$][2]]):de.push(Ye(Object.assign({},xe,{text:qe[$]})).text);Ge.text=de}else Ge.text=Ye(Object.assign({},xe,{text:qe})).text}])}(ze,typeof self!="undefined"&&self||typeof g!="undefined"&&g||typeof window!="undefined"&&window||Function("return this")()),ve=ze.API,De=function(Ce){return Ce!==void 0&&(Ce.vFS===void 0&&(Ce.vFS={}),!0)},ve.existsFileInVFS=function(_e){return!!De(this.internal)&&this.internal.vFS[_e]!==void 0},ve.addFileToVFS=function(_e,Ce){return De(this.internal),this.internal.vFS[_e]=Ce,this},ve.getFileFromVFS=function(_e){return De(this.internal),this.internal.vFS[_e]!==void 0?this.internal.vFS[_e]:null},ze.API.addHTML=function(_e,Ce,Ee,we,Fe){if(typeof html2canvas=="undefined"&&typeof rasterizeHTML=="undefined")throw new Error("You need either https://github.com/niklasvh/html2canvas or https://github.com/cburgmer/rasterizeHTML.js");typeof Ce!="number"&&(we=Ce,Fe=Ee),typeof we=="function"&&(Fe=we,we=null),typeof Fe!="function"&&(Fe=function(){});var Ye=this.internal,Ge=Ye.scaleFactor,qe=Ye.pageSize.getWidth(),Ke=Ye.pageSize.getHeight();if((we=we||{}).onrendered=function(wt){Ce=parseInt(Ce)||0,Ee=parseInt(Ee)||0;var It=we.dim||{},de=Object.assign({top:0,right:0,bottom:0,left:0,useFor:"content"},we.margin),xe=It.h||Math.min(Ke,wt.height/Ge),$=It.w||Math.min(qe,wt.width/Ge)-Ce,le=we.format||"JPEG",Oe=we.imageCompression||"SLOW";if(wt.height>Ke-de.top-de.bottom&&we.pagesplit){var ke=function(Rt,zt,Gt,Qt,Mt){var dr=document.createElement("canvas");dr.height=Mt,dr.width=Qt;var er=dr.getContext("2d");return er.mozImageSmoothingEnabled=!1,er.webkitImageSmoothingEnabled=!1,er.msImageSmoothingEnabled=!1,er.imageSmoothingEnabled=!1,er.fillStyle=we.backgroundColor||"#ffffff",er.fillRect(0,0,Qt,Mt),er.drawImage(Rt,zt,Gt,Qt,Mt,0,0,Qt,Mt),dr},Ue=function(){for(var $t,Rt,zt=0,Gt=0,Qt={},Mt=!1;;){var dr;if(Gt=0,Qt.top=zt!==0?de.top:Ee,Qt.left=zt!==0?de.left:Ce,Mt=(qe-de.left-de.right)*Ge<wt.width,de.useFor==="content"?zt===0?($t=Math.min((qe-de.left)*Ge,wt.width),Rt=Math.min((Ke-de.top)*Ge,wt.height-zt)):($t=Math.min(qe*Ge,wt.width),Rt=Math.min(Ke*Ge,wt.height-zt),Qt.top=0):($t=Math.min((qe-de.left-de.right)*Ge,wt.width),Rt=Math.min((Ke-de.bottom-de.top)*Ge,wt.height-zt)),Mt)for(;;){de.useFor==="content"&&(Gt===0?$t=Math.min((qe-de.left)*Ge,wt.width):($t=Math.min(qe*Ge,wt.width-Gt),Qt.left=0));var er=[dr=ke(wt,Gt,zt,$t,Rt),Qt.left,Qt.top,dr.width/Ge,dr.height/Ge,le,null,Oe];if(this.addImage.apply(this,er),(Gt+=$t)>=wt.width)break;this.addPage()}else er=[dr=ke(wt,0,zt,$t,Rt),Qt.left,Qt.top,dr.width/Ge,dr.height/Ge,le,null,Oe],this.addImage.apply(this,er);if((zt+=Rt)>=wt.height)break;this.addPage()}Fe($,zt,null,er)}.bind(this);if(wt.nodeName==="CANVAS"){var nt=new Image;nt.onload=Ue,nt.src=wt.toDataURL("image/png"),wt=nt}else Ue()}else{var At=Math.random().toString(35),Wt=[wt,Ce,Ee,$,xe,le,At,Oe];this.addImage.apply(this,Wt),Fe($,xe,At,Wt)}}.bind(this),typeof html2canvas!="undefined"&&!we.rstz)return html2canvas(_e,we);if(typeof rasterizeHTML=="undefined")return null;var ut="drawDocument";return typeof _e=="string"&&(ut=/^http/.test(_e)?"drawURL":"drawHTML"),we.width=we.width||qe*Ge,rasterizeHTML[ut](_e,void 0,we).then(function(wt){we.onrendered(wt.image)},function(wt){Fe(null,wt)})},function(_e){var Ce,Ee,we,Fe,Ye,Ge,qe,Ke,ut,wt,It,de,xe,$,le,Oe,ke,Ue,nt,At;Ce=function(){return function(zt){return Rt.prototype=zt,new Rt};function Rt(){}}(),wt=function(zt){var Gt,Qt,Mt,dr,er,ht,Et;for(Qt=0,Mt=zt.length,Gt=void 0,ht=dr=!1;!dr&&Qt!==Mt;)(Gt=zt[Qt]=zt[Qt].trimLeft())&&(dr=!0),Qt++;for(Qt=Mt-1;Mt&&!ht&&Qt!==-1;)(Gt=zt[Qt]=zt[Qt].trimRight())&&(ht=!0),Qt--;for(er=/\s+$/g,Et=!0,Qt=0;Qt!==Mt;)zt[Qt]!="\u2028"&&(Gt=zt[Qt].replace(/\s+/g," "),Et&&(Gt=Gt.trimLeft()),Gt&&(Et=er.test(Gt)),zt[Qt]=Gt),Qt++;return zt},de=function(zt){var Gt,Qt,Mt;for(Gt=void 0,Qt=(Mt=zt.split(",")).shift();!Gt&&Qt;)Gt=we[Qt.trim().toLowerCase()],Qt=Mt.shift();return Gt},xe=function(zt){var Gt;return-1<(zt=zt==="auto"?"0px":zt).indexOf("em")&&!isNaN(Number(zt.replace("em","")))&&(zt=18.719*Number(zt.replace("em",""))+"px"),-1<zt.indexOf("pt")&&!isNaN(Number(zt.replace("pt","")))&&(zt=1.333*Number(zt.replace("pt",""))+"px"),(Gt=$[zt])?Gt:(Gt={"xx-small":9,"x-small":11,small:13,medium:16,large:19,"x-large":23,"xx-large":28,auto:0}[zt])!==void 0||(Gt=parseFloat(zt))?$[zt]=Gt/16:(Gt=zt.match(/([\d\.]+)(px)/),Array.isArray(Gt)&&Gt.length===3?$[zt]=parseFloat(Gt[1])/16:$[zt]=1)},ut=function(zt){var Gt,Qt,Mt,dr,er;return er=zt,dr=document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(er,null):er.currentStyle?er.currentStyle:er.style,Qt=void 0,(Gt={})["font-family"]=de((Mt=function(Et){return Et=Et.replace(/-\D/g,function(pt){return pt.charAt(1).toUpperCase()}),dr[Et]})("font-family"))||"times",Gt["font-style"]=Fe[Mt("font-style")]||"normal",Gt["text-align"]=Ye[Mt("text-align")]||"left",(Qt=Ge[Mt("font-weight")]||"normal")==="bold"&&(Gt["font-style"]==="normal"?Gt["font-style"]=Qt:Gt["font-style"]=Qt+Gt["font-style"]),Gt["font-size"]=xe(Mt("font-size"))||1,Gt["line-height"]=xe(Mt("line-height"))||1,Gt.display=Mt("display")==="inline"?"inline":"block",Qt=Gt.display==="block",Gt["margin-top"]=Qt&&xe(Mt("margin-top"))||0,Gt["margin-bottom"]=Qt&&xe(Mt("margin-bottom"))||0,Gt["padding-top"]=Qt&&xe(Mt("padding-top"))||0,Gt["padding-bottom"]=Qt&&xe(Mt("padding-bottom"))||0,Gt["margin-left"]=Qt&&xe(Mt("margin-left"))||0,Gt["margin-right"]=Qt&&xe(Mt("margin-right"))||0,Gt["padding-left"]=Qt&&xe(Mt("padding-left"))||0,Gt["padding-right"]=Qt&&xe(Mt("padding-right"))||0,Gt["page-break-before"]=Mt("page-break-before")||"auto",Gt.float=qe[Mt("cssFloat")]||"none",Gt.clear=Ke[Mt("clear")]||"none",Gt.color=Mt("color"),Gt},le=function(zt,Gt,Qt){var Mt,dr,er,ht,Et;if(er=!1,ht=dr=void 0,Mt=Qt["#"+zt.id])if(typeof Mt=="function")er=Mt(zt,Gt);else for(dr=0,ht=Mt.length;!er&&dr!==ht;)er=Mt[dr](zt,Gt),dr++;if(Mt=Qt[zt.nodeName],!er&&Mt)if(typeof Mt=="function")er=Mt(zt,Gt);else for(dr=0,ht=Mt.length;!er&&dr!==ht;)er=Mt[dr](zt,Gt),dr++;for(Et=typeof zt.className=="string"?zt.className.split(" "):[],dr=0;dr<Et.length;dr++)if(Mt=Qt["."+Et[dr]],!er&&Mt)if(typeof Mt=="function")er=Mt(zt,Gt);else for(dr=0,ht=Mt.length;!er&&dr!==ht;)er=Mt[dr](zt,Gt),dr++;return er},At=function(zt,Gt){var Qt,Mt,dr,er,ht,Et,pt,vt,Nt;for(Qt=[],Mt=[],dr=0,Nt=zt.rows[0].cells.length,pt=zt.clientWidth;dr<Nt;)vt=zt.rows[0].cells[dr],Mt[dr]={name:vt.textContent.toLowerCase().replace(/\s+/g,""),prompt:vt.textContent.replace(/\r?\n/g,""),width:vt.clientWidth/pt*Gt.pdf.internal.pageSize.getWidth()},dr++;for(dr=1;dr<zt.rows.length;){for(Et=zt.rows[dr],ht={},er=0;er<Et.cells.length;)ht[Mt[er].name]=Et.cells[er].textContent.replace(/\r?\n/g,""),er++;Qt.push(ht),dr++}return{rows:Qt,headers:Mt}};var Wt={SCRIPT:1,STYLE:1,NOSCRIPT:1,OBJECT:1,EMBED:1,SELECT:1},$t=1;Ee=function(zt,Gt,Qt){var Mt,dr,er,ht,Et,pt,vt,Nt;for(dr=zt.childNodes,Mt=void 0,(Et=(er=ut(zt)).display==="block")&&(Gt.setBlockBoundary(),Gt.setBlockStyle(er)),ht=0,pt=dr.length;ht<pt;){if(m(Mt=dr[ht])==="object"){if(Gt.executeWatchFunctions(Mt),Mt.nodeType===1&&Mt.nodeName==="HEADER"){var _t=Mt,gt=Gt.pdf.margins_doc.top;Gt.pdf.internal.events.subscribe("addPage",function(ur){Gt.y=gt,Ee(_t,Gt,Qt),Gt.pdf.margins_doc.top=Gt.y+10,Gt.y+=10},!1)}if(Mt.nodeType===8&&Mt.nodeName==="#comment")~Mt.textContent.indexOf("ADD_PAGE")&&(Gt.pdf.addPage(),Gt.y=Gt.pdf.margins_doc.top);else if(Mt.nodeType!==1||Wt[Mt.nodeName])if(Mt.nodeType===3){var Ht=Mt.nodeValue;if(Mt.nodeValue&&Mt.parentNode.nodeName==="LI")if(Mt.parentNode.parentNode.nodeName==="OL")Ht=$t+++". "+Ht;else{var kt=er["font-size"],ir=(3-.75*kt)*Gt.pdf.internal.scaleFactor,Xt=.75*kt*Gt.pdf.internal.scaleFactor,mr=1.74*kt/Gt.pdf.internal.scaleFactor;Nt=function(fr,xr){this.pdf.circle(fr+ir,xr+Xt,mr,"FD")}}16&Mt.ownerDocument.body.compareDocumentPosition(Mt)&&Gt.addText(Ht,er)}else typeof Mt=="string"&&Gt.addText(Mt,er);else{var Ar;if(Mt.nodeName==="IMG"){var Nr=Mt.getAttribute("src");Ar=Oe[Gt.pdf.sHashCode(Nr)||Nr]}if(Ar){Gt.pdf.internal.pageSize.getHeight()-Gt.pdf.margins_doc.bottom<Gt.y+Mt.height&&Gt.y>Gt.pdf.margins_doc.top&&(Gt.pdf.addPage(),Gt.y=Gt.pdf.margins_doc.top,Gt.executeWatchFunctions(Mt));var kr=ut(Mt),tn=Gt.x,qr=12/Gt.pdf.internal.scaleFactor,_r=(kr["margin-left"]+kr["padding-left"])*qr,Qr=(kr["margin-right"]+kr["padding-right"])*qr,Ir=(kr["margin-top"]+kr["padding-top"])*qr,cr=(kr["margin-bottom"]+kr["padding-bottom"])*qr;kr.float!==void 0&&kr.float==="right"?tn+=Gt.settings.width-Mt.width-Qr:tn+=_r,Gt.pdf.addImage(Ar,tn,Gt.y+Ir,Mt.width,Mt.height),Ar=void 0,kr.float==="right"||kr.float==="left"?(Gt.watchFunctions.push(function(ur,fr,xr,Yr){return Gt.y>=fr?(Gt.x+=ur,Gt.settings.width+=xr,!0):!!(Yr&&Yr.nodeType===1&&!Wt[Yr.nodeName]&&Gt.x+Yr.width>Gt.pdf.margins_doc.left+Gt.pdf.margins_doc.width)&&(Gt.x+=ur,Gt.y=fr,Gt.settings.width+=xr,!0)}.bind(this,kr.float==="left"?-Mt.width-_r-Qr:0,Gt.y+Mt.height+Ir+cr,Mt.width)),Gt.watchFunctions.push(function(ur,fr,xr){return!(Gt.y<ur&&fr===Gt.pdf.internal.getNumberOfPages())||xr.nodeType===1&&ut(xr).clear==="both"&&(Gt.y=ur,!0)}.bind(this,Gt.y+Mt.height,Gt.pdf.internal.getNumberOfPages())),Gt.settings.width-=Mt.width+_r+Qr,kr.float==="left"&&(Gt.x+=Mt.width+_r+Qr)):Gt.y+=Mt.height+Ir+cr}else if(Mt.nodeName==="TABLE")vt=At(Mt,Gt),Gt.y+=10,Gt.pdf.table(Gt.x,Gt.y,vt.rows,vt.headers,{autoSize:!1,printHeaders:Qt.printHeaders,margins:Gt.pdf.margins_doc,css:ut(Mt)}),Gt.y=Gt.pdf.lastCellPos.y+Gt.pdf.lastCellPos.h+20;else if(Mt.nodeName==="OL"||Mt.nodeName==="UL")$t=1,le(Mt,Gt,Qt)||Ee(Mt,Gt,Qt),Gt.y+=10;else if(Mt.nodeName==="LI"){var pr=Gt.x;Gt.x+=20/Gt.pdf.internal.scaleFactor,Gt.y+=3,le(Mt,Gt,Qt)||Ee(Mt,Gt,Qt),Gt.x=pr}else Mt.nodeName==="BR"?(Gt.y+=er["font-size"]*Gt.pdf.internal.scaleFactor,Gt.addText("\u2028",Ce(er))):le(Mt,Gt,Qt)||Ee(Mt,Gt,Qt)}}ht++}if(Qt.outY=Gt.y,Et)return Gt.setBlockBoundary(Nt)},Oe={},ke=function(zt,Gt,Qt,Mt){var dr,er=zt.getElementsByTagName("img"),ht=er.length,Et=0;function pt(){Gt.pdf.internal.events.publish("imagesLoaded"),Mt(dr)}function vt(Nt,_t,gt){if(Nt){var Ht=new Image;dr=++Et,Ht.crossOrigin="",Ht.onerror=Ht.onload=function(){if(Ht.complete&&(Ht.src.indexOf("data:image/")===0&&(Ht.width=_t||Ht.width||0,Ht.height=gt||Ht.height||0),Ht.width+Ht.height)){var kt=Gt.pdf.sHashCode(Nt)||Nt;Oe[kt]=Oe[kt]||Ht}--Et||pt()},Ht.src=Nt}}for(;ht--;)vt(er[ht].getAttribute("src"),er[ht].width,er[ht].height);return Et||pt()},Ue=function(zt,Gt,Qt){var Mt=zt.getElementsByTagName("footer");if(0<Mt.length){Mt=Mt[0];var dr=Gt.pdf.internal.write,er=Gt.y;Gt.pdf.internal.write=function(){},Ee(Mt,Gt,Qt);var ht=Math.ceil(Gt.y-er)+5;Gt.y=er,Gt.pdf.internal.write=dr,Gt.pdf.margins_doc.bottom+=ht;for(var Et=function(_t){var gt=_t!==void 0?_t.pageNumber:1,Ht=Gt.y;Gt.y=Gt.pdf.internal.pageSize.getHeight()-Gt.pdf.margins_doc.bottom,Gt.pdf.margins_doc.bottom-=ht;for(var kt=Mt.getElementsByTagName("span"),ir=0;ir<kt.length;++ir)-1<(" "+kt[ir].className+" ").replace(/[\n\t]/g," ").indexOf(" pageCounter ")&&(kt[ir].innerHTML=gt),-1<(" "+kt[ir].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&(kt[ir].innerHTML="###jsPDFVarTotalPages###");Ee(Mt,Gt,Qt),Gt.pdf.margins_doc.bottom+=ht,Gt.y=Ht},pt=Mt.getElementsByTagName("span"),vt=0;vt<pt.length;++vt)-1<(" "+pt[vt].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&Gt.pdf.internal.events.subscribe("htmlRenderingFinished",Gt.pdf.putTotalPages.bind(Gt.pdf,"###jsPDFVarTotalPages###"),!0);Gt.pdf.internal.events.subscribe("addPage",Et,!1),Et(),Wt.FOOTER=1}},nt=function(zt,Gt,Qt,Mt,dr,er){if(!Gt)return!1;var ht,Et,pt,vt;typeof Gt=="string"||Gt.parentNode||(Gt=""+Gt.innerHTML),typeof Gt=="string"&&(ht=Gt.replace(/<\/?script[^>]*?>/gi,""),vt="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(pt=document.createElement("div")).style.cssText="position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;",pt.innerHTML='<iframe style="height:1px;width:1px" name="'+vt+'" />',document.body.appendChild(pt),(Et=window.frames[vt]).document.open(),Et.document.writeln(ht),Et.document.close(),Gt=Et.document.body);var Nt,_t=new It(zt,Qt,Mt,dr);return ke.call(this,Gt,_t,dr.elementHandlers,function(gt){Ue(Gt,_t,dr.elementHandlers),Ee(Gt,_t,dr.elementHandlers),_t.pdf.internal.events.publish("htmlRenderingFinished"),Nt=_t.dispose(),typeof er=="function"?er(Nt):gt&&console.error("jsPDF Warning: rendering issues? provide a callback to fromHTML!")}),Nt||{x:_t.x,y:_t.y}},(It=function(zt,Gt,Qt,Mt){return this.pdf=zt,this.x=Gt,this.y=Qt,this.settings=Mt,this.watchFunctions=[],this.init(),this}).prototype.init=function(){return this.paragraph={text:[],style:[]},this.pdf.internal.write("q")},It.prototype.dispose=function(){return this.pdf.internal.write("Q"),{x:this.x,y:this.y,ready:!0}},It.prototype.executeWatchFunctions=function(Rt){var zt=!1,Gt=[];if(0<this.watchFunctions.length){for(var Qt=0;Qt<this.watchFunctions.length;++Qt)this.watchFunctions[Qt](Rt)===!0?zt=!0:Gt.push(this.watchFunctions[Qt]);this.watchFunctions=Gt}return zt},It.prototype.splitFragmentsIntoLines=function(Rt,zt){var Gt,Qt,Mt,dr,er,ht,Et,pt,vt,Nt,_t,gt,Ht,kt;for(Nt=this.pdf.internal.scaleFactor,dr={},ht=Et=pt=kt=er=Mt=vt=Qt=void 0,gt=[_t=[]],Gt=0,Ht=this.settings.width;Rt.length;)if(er=Rt.shift(),kt=zt.shift(),er)if((Mt=dr[(Qt=kt["font-family"])+(vt=kt["font-style"])])||(Mt=this.pdf.internal.getFont(Qt,vt).metadata.Unicode,dr[Qt+vt]=Mt),pt={widths:Mt.widths,kerning:Mt.kerning,fontSize:12*kt["font-size"],textIndent:Gt},Et=this.pdf.getStringUnitWidth(er,pt)*pt.fontSize/Nt,er=="\u2028")_t=[],gt.push(_t);else if(Ht<Gt+Et){for(ht=this.pdf.splitTextToSize(er,Ht,pt),_t.push([ht.shift(),kt]);ht.length;)_t=[[ht.shift(),kt]],gt.push(_t);Gt=this.pdf.getStringUnitWidth(_t[0][0],pt)*pt.fontSize/Nt}else _t.push([er,kt]),Gt+=Et;if(kt["text-align"]!==void 0&&(kt["text-align"]==="center"||kt["text-align"]==="right"||kt["text-align"]==="justify"))for(var ir=0;ir<gt.length;++ir){var Xt=this.pdf.getStringUnitWidth(gt[ir][0][0],pt)*pt.fontSize/Nt;0<ir&&(gt[ir][0][1]=Ce(gt[ir][0][1]));var mr=Ht-Xt;if(kt["text-align"]==="right")gt[ir][0][1]["margin-left"]=mr;else if(kt["text-align"]==="center")gt[ir][0][1]["margin-left"]=mr/2;else if(kt["text-align"]==="justify"){var Ar=gt[ir][0][0].split(" ").length-1;gt[ir][0][1]["word-spacing"]=mr/Ar,ir===gt.length-1&&(gt[ir][0][1]["word-spacing"]=0)}}return gt},It.prototype.RenderTextFragment=function(Rt,zt){var Gt,Qt;Qt=0,this.pdf.internal.pageSize.getHeight()-this.pdf.margins_doc.bottom<this.y+this.pdf.internal.getFontSize()&&(this.pdf.internal.write("ET","Q"),this.pdf.addPage(),this.y=this.pdf.margins_doc.top,this.pdf.internal.write("q","BT",this.getPdfColor(zt.color),this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td"),Qt=Math.max(Qt,zt["line-height"],zt["font-size"]),this.pdf.internal.write(0,(-12*Qt).toFixed(2),"Td")),Gt=this.pdf.internal.getFont(zt["font-family"],zt["font-style"]);var Mt=this.getPdfColor(zt.color);Mt!==this.lastTextColor&&(this.pdf.internal.write(Mt),this.lastTextColor=Mt),zt["word-spacing"]!==void 0&&0<zt["word-spacing"]&&this.pdf.internal.write(zt["word-spacing"].toFixed(2),"Tw"),this.pdf.internal.write("/"+Gt.id,(12*zt["font-size"]).toFixed(2),"Tf","("+this.pdf.internal.pdfEscape(Rt)+") Tj"),zt["word-spacing"]!==void 0&&this.pdf.internal.write(0,"Tw")},It.prototype.getPdfColor=function(Rt){var zt,Gt,Qt,Mt=/rgb\s*\(\s*(\d+),\s*(\d+),\s*(\d+\s*)\)/.exec(Rt);if(Mt!=null)zt=parseInt(Mt[1]),Gt=parseInt(Mt[2]),Qt=parseInt(Mt[3]);else{if(typeof Rt=="string"&&Rt.charAt(0)!="#"){var dr=new RGBColor(Rt);Rt=dr.ok?dr.toHex():"#000000"}zt=Rt.substring(1,3),zt=parseInt(zt,16),Gt=Rt.substring(3,5),Gt=parseInt(Gt,16),Qt=Rt.substring(5,7),Qt=parseInt(Qt,16)}if(typeof zt=="string"&&/^#[0-9A-Fa-f]{6}$/.test(zt)){var er=parseInt(zt.substr(1),16);zt=er>>16&255,Gt=er>>8&255,Qt=255&er}var ht=this.f3;return zt===0&&Gt===0&&Qt===0||Gt===void 0?ht(zt/255)+" g":[ht(zt/255),ht(Gt/255),ht(Qt/255),"rg"].join(" ")},It.prototype.f3=function(Rt){return Rt.toFixed(3)},It.prototype.renderParagraph=function(Rt){var zt,Gt,Qt,Mt,dr,er,ht,Et,pt,vt,Nt,_t,gt;if(Qt=wt(this.paragraph.text),_t=this.paragraph.style,zt=this.paragraph.blockstyle,this.paragraph.priorblockstyle,this.paragraph={text:[],style:[],blockstyle:{},priorblockstyle:zt},Qt.join("").trim()){ht=this.splitFragmentsIntoLines(Qt,_t),Et=er=void 0,Gt=12/this.pdf.internal.scaleFactor,this.priorMarginBottom=this.priorMarginBottom||0,Nt=(Math.max((zt["margin-top"]||0)-this.priorMarginBottom,0)+(zt["padding-top"]||0))*Gt,vt=((zt["margin-bottom"]||0)+(zt["padding-bottom"]||0))*Gt,this.priorMarginBottom=zt["margin-bottom"]||0,zt["page-break-before"]==="always"&&(this.pdf.addPage(),this.y=0,Nt=((zt["margin-top"]||0)+(zt["padding-top"]||0))*Gt),pt=this.pdf.internal.write,dr=Mt=void 0,this.y+=Nt,pt("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td");for(var Ht=0;ht.length;){for(Mt=Et=0,dr=(er=ht.shift()).length;Mt!==dr;)er[Mt][0].trim()&&(Et=Math.max(Et,er[Mt][1]["line-height"],er[Mt][1]["font-size"]),gt=7*er[Mt][1]["font-size"]),Mt++;var kt=0,ir=0;for(er[0][1]["margin-left"]!==void 0&&0<er[0][1]["margin-left"]&&(kt=(ir=this.pdf.internal.getCoordinateString(er[0][1]["margin-left"]))-Ht,Ht=ir),pt(kt+Math.max(zt["margin-left"]||0,0)*Gt,(-12*Et).toFixed(2),"Td"),Mt=0,dr=er.length;Mt!==dr;)er[Mt][0]&&this.RenderTextFragment(er[Mt][0],er[Mt][1]),Mt++;if(this.y+=Et*Gt,this.executeWatchFunctions(er[0][1])&&0<ht.length){var Xt=[],mr=[];ht.forEach(function(Ar){for(var Nr=0,kr=Ar.length;Nr!==kr;)Ar[Nr][0]&&(Xt.push(Ar[Nr][0]+" "),mr.push(Ar[Nr][1])),++Nr}),ht=this.splitFragmentsIntoLines(wt(Xt),mr),pt("ET","Q"),pt("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td")}}return Rt&&typeof Rt=="function"&&Rt.call(this,this.x-9,this.y-gt/2),pt("ET","Q"),this.y+=vt}},It.prototype.setBlockBoundary=function(Rt){return this.renderParagraph(Rt)},It.prototype.setBlockStyle=function(Rt){return this.paragraph.blockstyle=Rt},It.prototype.addText=function(Rt,zt){return this.paragraph.text.push(Rt),this.paragraph.style.push(zt)},we={helvetica:"helvetica","sans-serif":"helvetica","times new roman":"times",serif:"times",times:"times",monospace:"courier",courier:"courier"},Ge={100:"normal",200:"normal",300:"normal",400:"normal",500:"bold",600:"bold",700:"bold",800:"bold",900:"bold",normal:"normal",bold:"bold",bolder:"bold",lighter:"normal"},Fe={normal:"normal",italic:"italic",oblique:"italic"},Ye={left:"left",right:"right",center:"center",justify:"justify"},qe={none:"none",right:"right",left:"left"},Ke={none:"none",both:"both"},$={normal:1},_e.fromHTML=function(Rt,zt,Gt,Qt,Mt,dr){return this.margins_doc=dr||{top:0,bottom:0},Qt||(Qt={}),Qt.elementHandlers||(Qt.elementHandlers={}),nt(this,Rt,isNaN(zt)?4:zt,isNaN(Gt)?4:Gt,Qt,Mt)}}(ze.API),ze.API,(typeof window!="undefined"&&window||typeof g!="undefined"&&g).html2pdf=function(_e,Ce,Ee){var we=Ce.canvas;if(we){var Fe,Ye;if((we.pdf=Ce).annotations={_nameMap:[],createAnnotation:function(It,de){var xe,$=Ce.context2d._wrapX(de.left),le=Ce.context2d._wrapY(de.top),Oe=(Ce.context2d._page(de.top),It.indexOf("#"));xe=0<=Oe?{name:It.substring(Oe+1)}:{url:It},Ce.link($,le,de.right-de.left,de.bottom-de.top,xe)},setName:function(It,de){var xe=Ce.context2d._wrapX(de.left),$=Ce.context2d._wrapY(de.top),le=Ce.context2d._page(de.top);this._nameMap[It]={page:le,x:xe,y:$}}},we.annotations=Ce.annotations,Ce.context2d._pageBreakAt=function(wt){this.pageBreaks.push(wt)},Ce.context2d._gotoPage=function(wt){for(;Ce.internal.getNumberOfPages()<wt;)Ce.addPage();Ce.setPage(wt)},typeof _e=="string"){_e=_e.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"");var Ge,qe,Ke=document.createElement("iframe");document.body.appendChild(Ke),(Ge=Ke.contentDocument)!=null&&Ge!=null||(Ge=Ke.contentWindow.document),Ge.open(),Ge.write(_e),Ge.close(),Fe=Ge.body,qe=Ge.body||{},_e=Ge.documentElement||{},Ye=Math.max(qe.scrollHeight,qe.offsetHeight,_e.clientHeight,_e.scrollHeight,_e.offsetHeight)}else qe=(Fe=_e).body||{},Ye=Math.max(qe.scrollHeight,qe.offsetHeight,_e.clientHeight,_e.scrollHeight,_e.offsetHeight);var ut={async:!0,allowTaint:!0,backgroundColor:"#ffffff",canvas:we,imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1,windowHeight:Ye=Ce.internal.pageSize.getHeight(),scrollY:Ye};Ce.context2d.pageWrapYEnabled=!0,Ce.context2d.pageWrapY=Ce.internal.pageSize.getHeight(),html2canvas(Fe,ut).then(function(wt){Ee&&(Ke&&Ke.parentElement.removeChild(Ke),Ee(Ce))})}else alert("jsPDF canvas plugin not installed")},window.tmp=html2pdf,function(_e){var Ce=_e.BlobBuilder||_e.WebKitBlobBuilder||_e.MSBlobBuilder||_e.MozBlobBuilder;_e.URL=_e.URL||_e.webkitURL||function($,le){return(le=document.createElement("a")).href=$,le};var Ee=_e.Blob,we=URL.createObjectURL,Fe=URL.revokeObjectURL,Ye=_e.Symbol&&_e.Symbol.toStringTag,Ge=!1,qe=!1,Ke=!!_e.ArrayBuffer,ut=Ce&&Ce.prototype.append&&Ce.prototype.getBlob;try{Ge=new Blob(["\xE4"]).size===2,qe=new Blob([new Uint8Array([1,2])]).size===2}catch($){}function wt($){return $.map(function(le){if(le.buffer instanceof ArrayBuffer){var Oe=le.buffer;if(le.byteLength!==Oe.byteLength){var ke=new Uint8Array(le.byteLength);ke.set(new Uint8Array(Oe,le.byteOffset,le.byteLength)),Oe=ke.buffer}return Oe}return le})}function It($,le){le=le||{};var Oe=new Ce;return wt($).forEach(function(ke){Oe.append(ke)}),le.type?Oe.getBlob(le.type):Oe.getBlob()}function de($,le){return new Ee(wt($),le||{})}if(_e.Blob&&(It.prototype=Blob.prototype,de.prototype=Blob.prototype),Ye)try{File.prototype[Ye]="File",Blob.prototype[Ye]="Blob",FileReader.prototype[Ye]="FileReader"}catch($){}function xe(){var $=!!_e.ActiveXObject||"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style,le=_e.XMLHttpRequest&&_e.XMLHttpRequest.prototype.send;$&&le&&(XMLHttpRequest.prototype.send=function(ke){ke instanceof Blob&&this.setRequestHeader("Content-Type",ke.type),le.call(this,ke)});try{new File([],"")}catch(ke){try{var Oe=new Function('class File extends Blob {constructor(chunks, name, opts) {opts = opts || {};super(chunks, opts || {});this.name = name;this.lastModifiedDate = opts.lastModified ? new Date(opts.lastModified) : new Date;this.lastModified = +this.lastModifiedDate;}};return new File([], ""), File')();_e.File=Oe}catch(Ue){Oe=function(At,Wt,$t){var Rt=new Blob(At,$t),zt=$t&&$t.lastModified!==void 0?new Date($t.lastModified):new Date;return Rt.name=Wt,Rt.lastModifiedDate=zt,Rt.lastModified=+zt,Rt.toString=function(){return"[object File]"},Ye&&(Rt[Ye]="File"),Rt},_e.File=Oe}}}Ge?(xe(),_e.Blob=qe?_e.Blob:de):ut?(xe(),_e.Blob=It):function(){function $(Qt){for(var Mt=[],dr=0;dr<Qt.length;dr++){var er=Qt.charCodeAt(dr);er<128?Mt.push(er):er<2048?Mt.push(192|er>>6,128|63&er):er<55296||57344<=er?Mt.push(224|er>>12,128|er>>6&63,128|63&er):(dr++,er=65536+((1023&er)<<10|1023&Qt.charCodeAt(dr)),Mt.push(240|er>>18,128|er>>12&63,128|er>>6&63,128|63&er))}return Mt}function le(Qt){var Mt,dr,er,ht,Et,pt;for(Mt="",er=Qt.length,dr=0;dr<er;)switch((ht=Qt[dr++])>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:Mt+=String.fromCharCode(ht);break;case 12:case 13:Et=Qt[dr++],Mt+=String.fromCharCode((31&ht)<<6|63&Et);break;case 14:Et=Qt[dr++],pt=Qt[dr++],Mt+=String.fromCharCode((15&ht)<<12|(63&Et)<<6|(63&pt)<<0)}return Mt}function Oe(Qt){for(var Mt=new Array(Qt.byteLength),dr=new Uint8Array(Qt),er=Mt.length;er--;)Mt[er]=dr[er];return Mt}function ke(Qt){for(var Mt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",dr=[],er=0;er<Qt.length;er+=3){var ht=Qt[er],Et=er+1<Qt.length,pt=Et?Qt[er+1]:0,vt=er+2<Qt.length,Nt=vt?Qt[er+2]:0,_t=ht>>2,gt=(3&ht)<<4|pt>>4,Ht=(15&pt)<<2|Nt>>6,kt=63&Nt;vt||(kt=64,Et||(Ht=64)),dr.push(Mt[_t],Mt[gt],Mt[Ht],Mt[kt])}return dr.join("")}var Ue=Object.create||function(Qt){function Mt(){}return Mt.prototype=Qt,new Mt};if(Ke)var nt=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],At=ArrayBuffer.isView||function(Qt){return Qt&&-1<nt.indexOf(Object.prototype.toString.call(Qt))};function Wt(Qt,Mt){for(var dr=0,er=(Qt=Qt||[]).length;dr<er;dr++){var ht=Qt[dr];ht instanceof Wt?Qt[dr]=ht._buffer:typeof ht=="string"?Qt[dr]=$(ht):Ke&&(ArrayBuffer.prototype.isPrototypeOf(ht)||At(ht))?Qt[dr]=Oe(ht):Ke&&(Et=ht)&&DataView.prototype.isPrototypeOf(Et)?Qt[dr]=Oe(ht.buffer):Qt[dr]=$(String(ht))}var Et;this._buffer=[].concat.apply([],Qt),this.size=this._buffer.length,this.type=Mt&&Mt.type||""}function $t(Qt,Mt,dr){var er=Wt.call(this,Qt,dr=dr||{})||this;return er.name=Mt,er.lastModifiedDate=dr.lastModified?new Date(dr.lastModified):new Date,er.lastModified=+er.lastModifiedDate,er}if(Wt.prototype.slice=function(Qt,Mt,dr){return new Wt([this._buffer.slice(Qt||0,Mt||this._buffer.length)],{type:dr})},Wt.prototype.toString=function(){return"[object Blob]"},($t.prototype=Ue(Wt.prototype)).constructor=$t,Object.setPrototypeOf)Object.setPrototypeOf($t,Wt);else try{$t.__proto__=Wt}catch(Qt){}function Rt(){if(!(this instanceof Rt))throw new TypeError("Failed to construct 'FileReader': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");var Qt=document.createDocumentFragment();this.addEventListener=Qt.addEventListener,this.dispatchEvent=function(Mt){var dr=this["on"+Mt.type];typeof dr=="function"&&dr(Mt),Qt.dispatchEvent(Mt)},this.removeEventListener=Qt.removeEventListener}function zt(Qt,Mt,dr){if(!(Mt instanceof Wt))throw new TypeError("Failed to execute '"+dr+"' on 'FileReader': parameter 1 is not of type 'Blob'.");Qt.result="",setTimeout(function(){this.readyState=Rt.LOADING,Qt.dispatchEvent(new Event("load")),Qt.dispatchEvent(new Event("loadend"))})}$t.prototype.toString=function(){return"[object File]"},Rt.EMPTY=0,Rt.LOADING=1,Rt.DONE=2,Rt.prototype.error=null,Rt.prototype.onabort=null,Rt.prototype.onerror=null,Rt.prototype.onload=null,Rt.prototype.onloadend=null,Rt.prototype.onloadstart=null,Rt.prototype.onprogress=null,Rt.prototype.readAsDataURL=function(Qt){zt(this,Qt,"readAsDataURL"),this.result="data:"+Qt.type+";base64,"+ke(Qt._buffer)},Rt.prototype.readAsText=function(Qt){zt(this,Qt,"readAsText"),this.result=le(Qt._buffer)},Rt.prototype.readAsArrayBuffer=function(Qt){zt(this,Qt,"readAsText"),this.result=Qt._buffer.slice()},Rt.prototype.abort=function(){},URL.createObjectURL=function(Qt){return Qt instanceof Wt?"data:"+Qt.type+";base64,"+ke(Qt._buffer):we.call(URL,Qt)},URL.revokeObjectURL=function(Qt){Fe&&Fe.call(URL,Qt)};var Gt=_e.XMLHttpRequest&&_e.XMLHttpRequest.prototype.send;Gt&&(XMLHttpRequest.prototype.send=function(Qt){Qt instanceof Wt?(this.setRequestHeader("Content-Type",Qt.type),Gt.call(this,le(Qt._buffer))):Gt.call(this,Qt)}),_e.FileReader=Rt,_e.File=$t,_e.Blob=Wt}()}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")());var dt,Me,Tt,je,st,Xe,Je,et,ot,Ve,ue,ae,lt,Ze,Te,Jt=Jt||function(_e){if(!(_e===void 0||typeof navigator!="undefined"&&/MSIE [1-9]\./.test(navigator.userAgent))){var Ce=_e.document,Ee=function(){return _e.URL||_e.webkitURL||_e},we=Ce.createElementNS("http://www.w3.org/1999/xhtml","a"),Fe="download"in we,Ye=/constructor/i.test(_e.HTMLElement)||_e.safari,Ge=/CriOS\/[\d]+/.test(navigator.userAgent),qe=_e.setImmediate||_e.setTimeout,Ke=function($){qe(function(){throw $},0)},ut=function($){setTimeout(function(){typeof $=="string"?Ee().revokeObjectURL($):$.remove()},4e4)},wt=function($){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test($.type)?new Blob([String.fromCharCode(65279),$],{type:$.type}):$},It=function($,le,Oe){Oe||($=wt($));var ke,Ue=this,nt=$.type==="application/octet-stream",At=function(){!function($t,Rt,zt){for(var Gt=(Rt=[].concat(Rt)).length;Gt--;){var Qt=$t["on"+Rt[Gt]];if(typeof Qt=="function")try{Qt.call($t,zt||$t)}catch(Mt){Ke(Mt)}}}(Ue,"writestart progress write writeend".split(" "))};if(Ue.readyState=Ue.INIT,Fe)return ke=Ee().createObjectURL($),void qe(function(){var Wt,$t;we.href=ke,we.download=le,Wt=we,$t=new MouseEvent("click"),Wt.dispatchEvent($t),At(),ut(ke),Ue.readyState=Ue.DONE},0);!function(){if((Ge||nt&&Ye)&&_e.FileReader){var Wt=new FileReader;return Wt.onloadend=function(){var $t=Ge?Wt.result:Wt.result.replace(/^data:[^;]*;/,"data:attachment/file;");_e.open($t,"_blank")||(_e.location.href=$t),$t=void 0,Ue.readyState=Ue.DONE,At()},Wt.readAsDataURL($),Ue.readyState=Ue.INIT}ke||(ke=Ee().createObjectURL($)),nt?_e.location.href=ke:_e.open(ke,"_blank")||(_e.location.href=ke),Ue.readyState=Ue.DONE,At(),ut(ke)}()},de=It.prototype;return typeof navigator!="undefined"&&navigator.msSaveOrOpenBlob?function(xe,$,le){return $=$||xe.name||"download",le||(xe=wt(xe)),navigator.msSaveOrOpenBlob(xe,$)}:(de.abort=function(){},de.readyState=de.INIT=0,de.WRITING=1,de.DONE=2,de.error=de.onwritestart=de.onprogress=de.onwrite=de.onabort=de.onerror=de.onwriteend=null,function(xe,$,le){return new It(xe,$||xe.name||"download",le)})}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||void 0);function mt(_e){var Ce=0;if(_e[Ce++]!==71||_e[Ce++]!==73||_e[Ce++]!==70||_e[Ce++]!==56||(_e[Ce++]+1&253)!=56||_e[Ce++]!==97)throw"Invalid GIF 87a/89a header.";var Ee=_e[Ce++]|_e[Ce++]<<8,we=_e[Ce++]|_e[Ce++]<<8,Fe=_e[Ce++],Ye=Fe>>7,Ge=1<<(7&Fe)+1;_e[Ce++],_e[Ce++];var qe=null;Ye&&(qe=Ce,Ce+=3*Ge);var Ke=!0,ut=[],wt=0,It=null,de=0,xe=null;for(this.width=Ee,this.height=we;Ke&&Ce<_e.length;)switch(_e[Ce++]){case 33:switch(_e[Ce++]){case 255:if(_e[Ce]!==11||_e[Ce+1]==78&&_e[Ce+2]==69&&_e[Ce+3]==84&&_e[Ce+4]==83&&_e[Ce+5]==67&&_e[Ce+6]==65&&_e[Ce+7]==80&&_e[Ce+8]==69&&_e[Ce+9]==50&&_e[Ce+10]==46&&_e[Ce+11]==48&&_e[Ce+12]==3&&_e[Ce+13]==1&&_e[Ce+16]==0)Ce+=14,xe=_e[Ce++]|_e[Ce++]<<8,Ce++;else for(Ce+=12;!((zt=_e[Ce++])===0);)Ce+=zt;break;case 249:if(_e[Ce++]!==4||_e[Ce+4]!==0)throw"Invalid graphics extension block.";var $=_e[Ce++];wt=_e[Ce++]|_e[Ce++]<<8,It=_e[Ce++],(1&$)==0&&(It=null),de=$>>2&7,Ce++;break;case 254:for(;!((zt=_e[Ce++])===0);)Ce+=zt;break;default:throw"Unknown graphic control label: 0x"+_e[Ce-1].toString(16)}break;case 44:var le=_e[Ce++]|_e[Ce++]<<8,Oe=_e[Ce++]|_e[Ce++]<<8,ke=_e[Ce++]|_e[Ce++]<<8,Ue=_e[Ce++]|_e[Ce++]<<8,nt=_e[Ce++],At=nt>>6&1,Wt=qe,$t=!1;nt>>7&&($t=!0,Wt=Ce,Ce+=3*(1<<(7&nt)+1));var Rt=Ce;for(Ce++;;){var zt;if((zt=_e[Ce++])===0)break;Ce+=zt}ut.push({x:le,y:Oe,width:ke,height:Ue,has_local_palette:$t,palette_offset:Wt,data_offset:Rt,data_length:Ce-Rt,transparent_index:It,interlaced:!!At,delay:wt,disposal:de});break;case 59:Ke=!1;break;default:throw"Unknown gif block: 0x"+_e[Ce-1].toString(16)}this.numFrames=function(){return ut.length},this.loopCount=function(){return xe},this.frameInfo=function(Gt){if(Gt<0||Gt>=ut.length)throw"Frame index out of range.";return ut[Gt]},this.decodeAndBlitFrameBGRA=function(Gt,Qt){var Mt=this.frameInfo(Gt),dr=Mt.width*Mt.height,er=new Uint8Array(dr);ft(_e,Mt.data_offset,er,dr);var ht=Mt.palette_offset,Et=Mt.transparent_index;Et===null&&(Et=256);var pt=Mt.width,vt=Ee-pt,Nt=pt,_t=4*(Mt.y*Ee+Mt.x),gt=4*((Mt.y+Mt.height)*Ee+Mt.x),Ht=_t,kt=4*vt;Mt.interlaced===!0&&(kt+=4*(pt+vt)*7);for(var ir=8,Xt=0,mr=er.length;Xt<mr;++Xt){var Ar=er[Xt];if(Nt===0&&(Nt=pt,gt<=(Ht+=kt)&&(kt=vt+4*(pt+vt)*(ir-1),Ht=_t+(pt+vt)*(ir<<1),ir>>=1)),Ar===Et)Ht+=4;else{var Nr=_e[ht+3*Ar],kr=_e[ht+3*Ar+1],tn=_e[ht+3*Ar+2];Qt[Ht++]=tn,Qt[Ht++]=kr,Qt[Ht++]=Nr,Qt[Ht++]=255}--Nt}},this.decodeAndBlitFrameRGBA=function(Gt,Qt){var Mt=this.frameInfo(Gt),dr=Mt.width*Mt.height,er=new Uint8Array(dr);ft(_e,Mt.data_offset,er,dr);var ht=Mt.palette_offset,Et=Mt.transparent_index;Et===null&&(Et=256);var pt=Mt.width,vt=Ee-pt,Nt=pt,_t=4*(Mt.y*Ee+Mt.x),gt=4*((Mt.y+Mt.height)*Ee+Mt.x),Ht=_t,kt=4*vt;Mt.interlaced===!0&&(kt+=4*(pt+vt)*7);for(var ir=8,Xt=0,mr=er.length;Xt<mr;++Xt){var Ar=er[Xt];if(Nt===0&&(Nt=pt,gt<=(Ht+=kt)&&(kt=vt+4*(pt+vt)*(ir-1),Ht=_t+(pt+vt)*(ir<<1),ir>>=1)),Ar===Et)Ht+=4;else{var Nr=_e[ht+3*Ar],kr=_e[ht+3*Ar+1],tn=_e[ht+3*Ar+2];Qt[Ht++]=Nr,Qt[Ht++]=kr,Qt[Ht++]=tn,Qt[Ht++]=255}--Nt}}}function ft(_e,Ce,Ee,we){for(var Fe=_e[Ce++],Ye=1<<Fe,Ge=Ye+1,qe=Ge+1,Ke=Fe+1,ut=(1<<Ke)-1,wt=0,It=0,de=0,xe=_e[Ce++],$=new Int32Array(4096),le=null;;){for(;wt<16&&xe!==0;)It|=_e[Ce++]<<wt,wt+=8,xe===1?xe=_e[Ce++]:--xe;if(wt<Ke)break;var Oe=It&ut;if(It>>=Ke,wt-=Ke,Oe!==Ye){if(Oe===Ge)break;for(var ke=Oe<qe?Oe:le,Ue=0,nt=ke;Ye<nt;)nt=$[nt]>>8,++Ue;var At=nt;if(we<de+Ue+(ke!==Oe?1:0))return void console.log("Warning, gif stream longer than expected.");Ee[de++]=At;var Wt=de+=Ue;for(ke!==Oe&&(Ee[de++]=At),nt=ke;Ue--;)nt=$[nt],Ee[--Wt]=255&nt,nt>>=8;le!==null&&qe<4096&&($[qe++]=le<<8|At,ut+1<=qe&&Ke<12&&(++Ke,ut=ut<<1|1)),le=Oe}else qe=Ge+1,ut=(1<<(Ke=Fe+1))-1,le=null}return de!==we&&console.log("Warning, gif stream shorter than expected."),Ee}try{I.GifWriter=function(_e,Ce,Ee,we){var Fe=0,Ye=(we=we===void 0?{}:we).loop===void 0?null:we.loop,Ge=we.palette===void 0?null:we.palette;if(Ce<=0||Ee<=0||65535<Ce||65535<Ee)throw"Width/Height invalid.";function qe(le){var Oe=le.length;if(Oe<2||256<Oe||Oe&Oe-1)throw"Invalid code/color length, must be power of 2 and 2 .. 256.";return Oe}_e[Fe++]=71,_e[Fe++]=73,_e[Fe++]=70,_e[Fe++]=56,_e[Fe++]=57,_e[Fe++]=97;var Ke=0,ut=0;if(Ge!==null){for(var wt=qe(Ge);wt>>=1;)++Ke;if(wt=1<<Ke,--Ke,we.background!==void 0){if(wt<=(ut=we.background))throw"Background index out of range.";if(ut===0)throw"Background index explicitly passed as 0."}}if(_e[Fe++]=255&Ce,_e[Fe++]=Ce>>8&255,_e[Fe++]=255&Ee,_e[Fe++]=Ee>>8&255,_e[Fe++]=(Ge!==null?128:0)|Ke,_e[Fe++]=ut,_e[Fe++]=0,Ge!==null)for(var It=0,de=Ge.length;It<de;++It){var xe=Ge[It];_e[Fe++]=xe>>16&255,_e[Fe++]=xe>>8&255,_e[Fe++]=255&xe}if(Ye!==null){if(Ye<0||65535<Ye)throw"Loop count invalid.";_e[Fe++]=33,_e[Fe++]=255,_e[Fe++]=11,_e[Fe++]=78,_e[Fe++]=69,_e[Fe++]=84,_e[Fe++]=83,_e[Fe++]=67,_e[Fe++]=65,_e[Fe++]=80,_e[Fe++]=69,_e[Fe++]=50,_e[Fe++]=46,_e[Fe++]=48,_e[Fe++]=3,_e[Fe++]=1,_e[Fe++]=255&Ye,_e[Fe++]=Ye>>8&255,_e[Fe++]=0}var $=!1;this.addFrame=function(le,Oe,ke,Ue,nt,At){if($===!0&&(--Fe,$=!1),At=At===void 0?{}:At,le<0||Oe<0||65535<le||65535<Oe)throw"x/y invalid.";if(ke<=0||Ue<=0||65535<ke||65535<Ue)throw"Width/Height invalid.";if(nt.length<ke*Ue)throw"Not enough pixels for the frame size.";var Wt=!0,$t=At.palette;if($t==null&&(Wt=!1,$t=Ge),$t==null)throw"Must supply either a local or global palette.";for(var Rt=qe($t),zt=0;Rt>>=1;)++zt;Rt=1<<zt;var Gt=At.delay===void 0?0:At.delay,Qt=At.disposal===void 0?0:At.disposal;if(Qt<0||3<Qt)throw"Disposal out of range.";var Mt=!1,dr=0;if(At.transparent!==void 0&&At.transparent!==null&&(Mt=!0,(dr=At.transparent)<0||Rt<=dr))throw"Transparent color index.";if((Qt!==0||Mt||Gt!==0)&&(_e[Fe++]=33,_e[Fe++]=249,_e[Fe++]=4,_e[Fe++]=Qt<<2|(Mt===!0?1:0),_e[Fe++]=255&Gt,_e[Fe++]=Gt>>8&255,_e[Fe++]=dr,_e[Fe++]=0),_e[Fe++]=44,_e[Fe++]=255&le,_e[Fe++]=le>>8&255,_e[Fe++]=255&Oe,_e[Fe++]=Oe>>8&255,_e[Fe++]=255&ke,_e[Fe++]=ke>>8&255,_e[Fe++]=255&Ue,_e[Fe++]=Ue>>8&255,_e[Fe++]=Wt===!0?128|zt-1:0,Wt===!0)for(var er=0,ht=$t.length;er<ht;++er){var Et=$t[er];_e[Fe++]=Et>>16&255,_e[Fe++]=Et>>8&255,_e[Fe++]=255&Et}Fe=function(pt,vt,Nt,_t){pt[vt++]=Nt;var gt=vt++,Ht=1<<Nt,kt=Ht-1,ir=Ht+1,Xt=ir+1,mr=Nt+1,Ar=0,Nr=0;function kr(fr){for(;fr<=Ar;)pt[vt++]=255&Nr,Nr>>=8,Ar-=8,vt===gt+256&&(pt[gt]=255,gt=vt++)}function tn(fr){Nr|=fr<<Ar,Ar+=mr,kr(8)}var qr=_t[0]&kt,_r={};tn(Ht);for(var Qr=1,Ir=_t.length;Qr<Ir;++Qr){var cr=_t[Qr]&kt,pr=qr<<8|cr,ur=_r[pr];if(ur===void 0){for(Nr|=qr<<Ar,Ar+=mr;8<=Ar;)pt[vt++]=255&Nr,Nr>>=8,Ar-=8,vt===gt+256&&(pt[gt]=255,gt=vt++);Xt===4096?(tn(Ht),Xt=ir+1,mr=Nt+1,_r={}):(1<<mr<=Xt&&++mr,_r[pr]=Xt++),qr=cr}else qr=ur}return tn(qr),tn(ir),kr(1),gt+1===vt?pt[gt]=0:(pt[gt]=vt-gt-1,pt[vt++]=0),vt}(_e,Fe,zt<2?2:zt,nt)},this.end=function(){return $===!1&&(_e[Fe++]=59,$=!0),Fe}},I.GifReader=mt}catch(_e){}function bt(_e){var Ce,Ee,we,Fe,Ye,Ge=Math.floor,qe=new Array(64),Ke=new Array(64),ut=new Array(64),wt=new Array(64),It=new Array(65535),de=new Array(65535),xe=new Array(64),$=new Array(64),le=[],Oe=0,ke=7,Ue=new Array(64),nt=new Array(64),At=new Array(64),Wt=new Array(256),$t=new Array(2048),Rt=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],zt=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Gt=[0,1,2,3,4,5,6,7,8,9,10,11],Qt=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Mt=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],dr=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],er=[0,1,2,3,4,5,6,7,8,9,10,11],ht=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Et=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function pt(kt,ir){for(var Xt=0,mr=0,Ar=new Array,Nr=1;Nr<=16;Nr++){for(var kr=1;kr<=kt[Nr];kr++)Ar[ir[mr]]=[],Ar[ir[mr]][0]=Xt,Ar[ir[mr]][1]=Nr,mr++,Xt++;Xt*=2}return Ar}function vt(kt){for(var ir=kt[0],Xt=kt[1]-1;0<=Xt;)ir&1<<Xt&&(Oe|=1<<ke),Xt--,--ke<0&&(Oe==255?(Nt(255),Nt(0)):Nt(Oe),ke=7,Oe=0)}function Nt(kt){le.push(kt)}function _t(kt){Nt(kt>>8&255),Nt(255&kt)}function gt(kt,ir,Xt,mr,Ar){for(var Nr,kr=Ar[0],tn=Ar[240],qr=function(Yr,cn){var Nn,jr,Tn,gn,Pn,Kn,qn,Yn,Vn,An,on=0;for(Vn=0;Vn<8;++Vn){Nn=Yr[on],jr=Yr[on+1],Tn=Yr[on+2],gn=Yr[on+3],Pn=Yr[on+4],Kn=Yr[on+5],qn=Yr[on+6];var ia=Nn+(Yn=Yr[on+7]),xa=Nn-Yn,ta=jr+qn,Ii=jr-qn,Ci=Tn+Kn,Gn=Tn-Kn,Oa=gn+Pn,mn=gn-Pn,On=ia+Oa,_n=ia-Oa,In=ta+Ci,jn=ta-Ci;Yr[on]=On+In,Yr[on+4]=On-In;var ni=.707106781*(jn+_n);Yr[on+2]=_n+ni,Yr[on+6]=_n-ni;var di=.382683433*((On=mn+Gn)-(jn=Ii+xa)),Na=.5411961*On+di,Qi=1.306562965*jn+di,ma=.707106781*(In=Gn+Ii),Ba=xa+ma,Qa=xa-ma;Yr[on+5]=Qa+Na,Yr[on+3]=Qa-Na,Yr[on+1]=Ba+Qi,Yr[on+7]=Ba-Qi,on+=8}for(Vn=on=0;Vn<8;++Vn){Nn=Yr[on],jr=Yr[on+8],Tn=Yr[on+16],gn=Yr[on+24],Pn=Yr[on+32],Kn=Yr[on+40],qn=Yr[on+48];var Wi=Nn+(Yn=Yr[on+56]),Co=Nn-Yn,aa=jr+qn,Hi=jr-qn,ga=Tn+Kn,ha=Tn-Kn,mo=gn+Pn,Fn=gn-Pn,$i=Wi+mo,eo=Wi-mo,To=aa+ga,co=aa-ga;Yr[on]=$i+To,Yr[on+32]=$i-To;var rr=.707106781*(co+eo);Yr[on+16]=eo+rr,Yr[on+48]=eo-rr;var Tr=.382683433*(($i=Fn+ha)-(co=Hi+Co)),Pr=.5411961*$i+Tr,Wr=1.306562965*co+Tr,hn=.707106781*(To=ha+Hi),it=Co+hn,jt=Co-hn;Yr[on+40]=jt+Pr,Yr[on+24]=jt-Pr,Yr[on+8]=it+Wr,Yr[on+56]=it-Wr,on++}for(Vn=0;Vn<64;++Vn)An=Yr[Vn]*cn[Vn],xe[Vn]=0<An?An+.5|0:An-.5|0;return xe}(kt,ir),_r=0;_r<64;++_r)$[Rt[_r]]=qr[_r];var Qr=$[0]-Xt;Xt=$[0],Qr==0?vt(mr[0]):(vt(mr[de[Nr=32767+Qr]]),vt(It[Nr]));for(var Ir=63;0<Ir&&$[Ir]==0;Ir--);if(Ir==0)return vt(kr),Xt;for(var cr,pr=1;pr<=Ir;){for(var ur=pr;$[pr]==0&&pr<=Ir;++pr);var fr=pr-ur;if(16<=fr){cr=fr>>4;for(var xr=1;xr<=cr;++xr)vt(tn);fr&=15}Nr=32767+$[pr],vt(Ar[(fr<<4)+de[Nr]]),vt(It[Nr]),pr++}return Ir!=63&&vt(kr),Xt}function Ht(kt){(kt<=0&&(kt=1),100<kt&&(kt=100),Ye!=kt)&&(function(ir){for(var Xt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],mr=0;mr<64;mr++){var Ar=Ge((Xt[mr]*ir+50)/100);Ar<1?Ar=1:255<Ar&&(Ar=255),qe[Rt[mr]]=Ar}for(var Nr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],kr=0;kr<64;kr++){var tn=Ge((Nr[kr]*ir+50)/100);tn<1?tn=1:255<tn&&(tn=255),Ke[Rt[kr]]=tn}for(var qr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],_r=0,Qr=0;Qr<8;Qr++)for(var Ir=0;Ir<8;Ir++)ut[_r]=1/(qe[Rt[_r]]*qr[Qr]*qr[Ir]*8),wt[_r]=1/(Ke[Rt[_r]]*qr[Qr]*qr[Ir]*8),_r++}(kt<50?Math.floor(5e3/kt):Math.floor(200-2*kt)),Ye=kt)}this.encode=function(kt,ir){var Xt,mr;new Date().getTime(),ir&&Ht(ir),le=new Array,Oe=0,ke=7,_t(65496),_t(65504),_t(16),Nt(74),Nt(70),Nt(73),Nt(70),Nt(0),Nt(1),Nt(1),Nt(0),_t(1),_t(1),Nt(0),Nt(0),function(){_t(65499),_t(132),Nt(0);for(var gn=0;gn<64;gn++)Nt(qe[gn]);Nt(1);for(var Pn=0;Pn<64;Pn++)Nt(Ke[Pn])}(),Xt=kt.width,mr=kt.height,_t(65472),_t(17),Nt(8),_t(mr),_t(Xt),Nt(3),Nt(1),Nt(17),Nt(0),Nt(2),Nt(17),Nt(1),Nt(3),Nt(17),Nt(1),function(){_t(65476),_t(418),Nt(0);for(var gn=0;gn<16;gn++)Nt(zt[gn+1]);for(var Pn=0;Pn<=11;Pn++)Nt(Gt[Pn]);Nt(16);for(var Kn=0;Kn<16;Kn++)Nt(Qt[Kn+1]);for(var qn=0;qn<=161;qn++)Nt(Mt[qn]);Nt(1);for(var Yn=0;Yn<16;Yn++)Nt(dr[Yn+1]);for(var Vn=0;Vn<=11;Vn++)Nt(er[Vn]);Nt(17);for(var An=0;An<16;An++)Nt(ht[An+1]);for(var on=0;on<=161;on++)Nt(Et[on])}(),_t(65498),_t(12),Nt(3),Nt(1),Nt(0),Nt(2),Nt(17),Nt(3),Nt(17),Nt(0),Nt(63),Nt(0);var Ar=0,Nr=0,kr=0;Oe=0,ke=7,this.encode.displayName="_encode_";for(var tn,qr,_r,Qr,Ir,cr,pr,ur,fr,xr=kt.data,Yr=kt.width,cn=kt.height,Nn=4*Yr,jr=0;jr<cn;){for(tn=0;tn<Nn;){for(cr=Ir=Nn*jr+tn,pr=-1,fr=ur=0;fr<64;fr++)cr=Ir+(ur=fr>>3)*Nn+(pr=4*(7&fr)),cn<=jr+ur&&(cr-=Nn*(jr+1+ur-cn)),Nn<=tn+pr&&(cr-=tn+pr-Nn+4),qr=xr[cr++],_r=xr[cr++],Qr=xr[cr++],Ue[fr]=($t[qr]+$t[_r+256>>0]+$t[Qr+512>>0]>>16)-128,nt[fr]=($t[qr+768>>0]+$t[_r+1024>>0]+$t[Qr+1280>>0]>>16)-128,At[fr]=($t[qr+1280>>0]+$t[_r+1536>>0]+$t[Qr+1792>>0]>>16)-128;Ar=gt(Ue,ut,Ar,Ce,we),Nr=gt(nt,wt,Nr,Ee,Fe),kr=gt(At,wt,kr,Ee,Fe),tn+=32}jr+=8}if(0<=ke){var Tn=[];Tn[1]=ke+1,Tn[0]=(1<<ke+1)-1,vt(Tn)}return _t(65497),new Uint8Array(le)},function(){new Date().getTime(),_e||(_e=50),function(){for(var kt=String.fromCharCode,ir=0;ir<256;ir++)Wt[ir]=kt(ir)}(),Ce=pt(zt,Gt),Ee=pt(dr,er),we=pt(Qt,Mt),Fe=pt(ht,Et),function(){for(var kt=1,ir=2,Xt=1;Xt<=15;Xt++){for(var mr=kt;mr<ir;mr++)de[32767+mr]=Xt,It[32767+mr]=[],It[32767+mr][1]=Xt,It[32767+mr][0]=mr;for(var Ar=-(ir-1);Ar<=-kt;Ar++)de[32767+Ar]=Xt,It[32767+Ar]=[],It[32767+Ar][1]=Xt,It[32767+Ar][0]=ir-1+Ar;kt<<=1,ir<<=1}}(),function(){for(var kt=0;kt<256;kt++)$t[kt]=19595*kt,$t[kt+256>>0]=38470*kt,$t[kt+512>>0]=7471*kt+32768,$t[kt+768>>0]=-11059*kt,$t[kt+1024>>0]=-21709*kt,$t[kt+1280>>0]=32768*kt+8421375,$t[kt+1536>>0]=-27439*kt,$t[kt+1792>>0]=-5329*kt}(),Ht(_e),new Date().getTime()}()}function Lt(_e,Ce){if(this.pos=0,this.buffer=_e,this.datav=new DataView(_e.buffer),this.is_with_alpha=!!Ce,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}window.tmp=mt,ze.API.adler32cs=(Xe=typeof ArrayBuffer=="function"&&typeof Uint8Array=="function",Je=null,et=function(){if(!Xe)return function(){return!1};try{var _e={};typeof _e.Buffer=="function"&&(Je=_e.Buffer)}catch(Ce){}return function(Ce){return Ce instanceof ArrayBuffer||Je!==null&&Ce instanceof Je}}(),ot=Je!==null?function(_e){return new Je(_e,"utf8").toString("binary")}:function(_e){return unescape(encodeURIComponent(_e))},Ve=function(Ce,Ee){for(var we=65535&Ce,Fe=Ce>>>16,Ye=0,Ge=Ee.length;Ye<Ge;Ye++)we=(we+(255&Ee.charCodeAt(Ye)))%65521,Fe=(Fe+we)%65521;return(Fe<<16|we)>>>0},ue=function(Ce,Ee){for(var we=65535&Ce,Fe=Ce>>>16,Ye=0,Ge=Ee.length;Ye<Ge;Ye++)we=(we+Ee[Ye])%65521,Fe=(Fe+we)%65521;return(Fe<<16|we)>>>0},lt=(ae={}).Adler32=(((st=(je=function(Ce){if(!(this instanceof je))throw new TypeError("Constructor cannot called be as a function.");if(!isFinite(Ce=Ce==null?1:+Ce))throw new Error("First arguments needs to be a finite number.");this.checksum=Ce>>>0}).prototype={}).constructor=je).from=((dt=function(Ce){if(!(this instanceof je))throw new TypeError("Constructor cannot called be as a function.");if(Ce==null)throw new Error("First argument needs to be a string.");this.checksum=Ve(1,Ce.toString())}).prototype=st,dt),je.fromUtf8=((Me=function(Ce){if(!(this instanceof je))throw new TypeError("Constructor cannot called be as a function.");if(Ce==null)throw new Error("First argument needs to be a string.");var Ee=ot(Ce.toString());this.checksum=Ve(1,Ee)}).prototype=st,Me),Xe&&(je.fromBuffer=((Tt=function(Ce){if(!(this instanceof je))throw new TypeError("Constructor cannot called be as a function.");if(!et(Ce))throw new Error("First argument needs to be ArrayBuffer.");var Ee=new Uint8Array(Ce);return this.checksum=ue(1,Ee)}).prototype=st,Tt)),st.update=function(_e){if(_e==null)throw new Error("First argument needs to be a string.");return _e=_e.toString(),this.checksum=Ve(this.checksum,_e)},st.updateUtf8=function(_e){if(_e==null)throw new Error("First argument needs to be a string.");var Ce=ot(_e.toString());return this.checksum=Ve(this.checksum,Ce)},Xe&&(st.updateBuffer=function(_e){if(!et(_e))throw new Error("First argument needs to be ArrayBuffer.");var Ce=new Uint8Array(_e);return this.checksum=ue(this.checksum,Ce)}),st.clone=function(){return new lt(this.checksum)},je),ae.from=function(_e){if(_e==null)throw new Error("First argument needs to be a string.");return Ve(1,_e.toString())},ae.fromUtf8=function(_e){if(_e==null)throw new Error("First argument needs to be a string.");var Ce=ot(_e.toString());return Ve(1,Ce)},Xe&&(ae.fromBuffer=function(_e){if(!et(_e))throw new Error("First argument need to be ArrayBuffer.");var Ce=new Uint8Array(_e);return ue(1,Ce)}),ae),function(_e){_e.__bidiEngine__=_e.prototype.__bidiEngine__=function(we){var Fe,Ye,Ge,qe,Ke,ut,wt,It=Ce,de=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],xe=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],$={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},le={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},Oe=["(",")","(","<",">","<","[","]","[","{","}","{","\xAB","\xBB","\xAB","\u2039","\u203A","\u2039","\u2045","\u2046","\u2045","\u207D","\u207E","\u207D","\u208D","\u208E","\u208D","\u2264","\u2265","\u2264","\u2329","\u232A","\u2329","\uFE59","\uFE5A","\uFE59","\uFE5B","\uFE5C","\uFE5B","\uFE5D","\uFE5E","\uFE5D","\uFE64","\uFE65","\uFE64"],ke=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),Ue=!1,nt=0;this.__bidiEngine__={};var At=function(dr){var er=dr.charCodeAt(),ht=er>>8,Et=le[ht];return Et!==void 0?It[256*Et+(255&er)]:ht===252||ht===253?"AL":ke.test(ht)?"L":ht===8?"R":"N"},Wt=function(dr){for(var er,ht=0;ht<dr.length;ht++){if((er=At(dr.charAt(ht)))==="L")return!1;if(er==="R")return!0}return!1},$t=function(dr,er,ht,Et){var pt,vt,Nt,_t,gt=er[Et];switch(gt){case"L":case"R":Ue=!1;break;case"N":case"AN":break;case"EN":Ue&&(gt="AN");break;case"AL":Ue=!0,gt="R";break;case"WS":gt="N";break;case"CS":Et<1||Et+1>=er.length||(pt=ht[Et-1])!=="EN"&&pt!=="AN"||(vt=er[Et+1])!=="EN"&&vt!=="AN"?gt="N":Ue&&(vt="AN"),gt=vt===pt?vt:"N";break;case"ES":gt=(pt=0<Et?ht[Et-1]:"B")==="EN"&&Et+1<er.length&&er[Et+1]==="EN"?"EN":"N";break;case"ET":if(0<Et&&ht[Et-1]==="EN"){gt="EN";break}if(Ue){gt="N";break}for(Nt=Et+1,_t=er.length;Nt<_t&&er[Nt]==="ET";)Nt++;gt=Nt<_t&&er[Nt]==="EN"?"EN":"N";break;case"NSM":if(Ge&&!qe){for(_t=er.length,Nt=Et+1;Nt<_t&&er[Nt]==="NSM";)Nt++;if(Nt<_t){var Ht=dr[Et],kt=1425<=Ht&&Ht<=2303||Ht===64286;if(pt=er[Nt],kt&&(pt==="R"||pt==="AL")){gt="R";break}}}gt=Et<1||(pt=er[Et-1])==="B"?"N":ht[Et-1];break;case"B":Fe=!(Ue=!1),gt=nt;break;case"S":Ye=!0,gt="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Ue=!1;break;case"BN":gt="N"}return gt},Rt=function(dr,er,ht){var Et=dr.split("");return ht&&zt(Et,ht,{hiLevel:nt}),Et.reverse(),er&&er.reverse(),Et.join("")},zt=function(dr,er,ht){var Et,pt,vt,Nt,_t,gt=-1,Ht=dr.length,kt=0,ir=[],Xt=nt?xe:de,mr=[];for(Ye=Fe=Ue=!1,pt=0;pt<Ht;pt++)mr[pt]=At(dr[pt]);for(vt=0;vt<Ht;vt++){if(_t=kt,ir[vt]=$t(dr,mr,ir,vt),Et=240&(kt=Xt[_t][$[ir[vt]]]),kt&=15,er[vt]=Nt=Xt[kt][5],0<Et)if(Et===16){for(pt=gt;pt<vt;pt++)er[pt]=1;gt=-1}else gt=-1;if(Xt[kt][6])gt===-1&&(gt=vt);else if(-1<gt){for(pt=gt;pt<vt;pt++)er[pt]=Nt;gt=-1}mr[vt]==="B"&&(er[vt]=0),ht.hiLevel|=Nt}Ye&&function(Ar,Nr,kr){for(var tn=0;tn<kr;tn++)if(Ar[tn]==="S"){Nr[tn]=nt;for(var qr=tn-1;0<=qr&&Ar[qr]==="WS";qr--)Nr[qr]=nt}}(mr,er,Ht)},Gt=function(dr,er,ht,Et,pt){if(!(pt.hiLevel<dr)){if(dr===1&&nt===1&&!Fe)return er.reverse(),void(ht&&ht.reverse());for(var vt,Nt,_t,gt,Ht=er.length,kt=0;kt<Ht;){if(Et[kt]>=dr){for(_t=kt+1;_t<Ht&&Et[_t]>=dr;)_t++;for(gt=kt,Nt=_t-1;gt<Nt;gt++,Nt--)vt=er[gt],er[gt]=er[Nt],er[Nt]=vt,ht&&(vt=ht[gt],ht[gt]=ht[Nt],ht[Nt]=vt);kt=_t}kt++}}},Qt=function(dr,er,ht){var Et=dr.split(""),pt={hiLevel:nt};return ht||(ht=[]),zt(Et,ht,pt),function(vt,Nt,_t){if(_t.hiLevel!==0&&wt)for(var gt,Ht=0;Ht<vt.length;Ht++)Nt[Ht]===1&&0<=(gt=Oe.indexOf(vt[Ht]))&&(vt[Ht]=Oe[gt+1])}(Et,ht,pt),Gt(2,Et,er,ht,pt),Gt(1,Et,er,ht,pt),Et.join("")};return this.__bidiEngine__.doBidiReorder=function(Mt,dr,er){if(function(Et,pt){if(pt)for(var vt=0;vt<Et.length;vt++)pt[vt]=vt;qe===void 0&&(qe=Wt(Et)),ut===void 0&&(ut=Wt(Et))}(Mt,dr),Ge||!Ke||ut)if(Ge&&Ke&&qe^ut)nt=qe?1:0,Mt=Rt(Mt,dr,er);else if(!Ge&&Ke&&ut)nt=qe?1:0,Mt=Qt(Mt,dr,er),Mt=Rt(Mt,dr);else if(!Ge||qe||Ke||ut){if(Ge&&!Ke&&qe^ut)Mt=Rt(Mt,dr),Mt=qe?(nt=0,Qt(Mt,dr,er)):(nt=1,Mt=Qt(Mt,dr,er),Rt(Mt,dr));else if(Ge&&qe&&!Ke&&ut)nt=1,Mt=Qt(Mt,dr,er),Mt=Rt(Mt,dr);else if(!Ge&&!Ke&&qe^ut){var ht=wt;qe?(nt=1,Mt=Qt(Mt,dr,er),nt=0,wt=!1,Mt=Qt(Mt,dr,er),wt=ht):(nt=0,Mt=Qt(Mt,dr,er),Mt=Rt(Mt,dr),wt=!(nt=1),Mt=Qt(Mt,dr,er),wt=ht,Mt=Rt(Mt,dr))}}else nt=0,Mt=Qt(Mt,dr,er);else nt=qe?1:0,Mt=Qt(Mt,dr,er);return Mt},this.__bidiEngine__.setOptions=function(Mt){Mt&&(Ge=Mt.isInputVisual,Ke=Mt.isOutputVisual,qe=Mt.isInputRtl,ut=Mt.isOutputRtl,wt=Mt.isSymmetricSwapping)},this.__bidiEngine__.setOptions(we),this.__bidiEngine__};var Ce=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],Ee=new _e.__bidiEngine__({isInputVisual:!0});_e.API.events.push(["postProcessText",function(we){var Fe=we.text,Ye=(we.x,we.y,we.options||{}),Ge=(we.mutex,Ye.lang,[]);if(Object.prototype.toString.call(Fe)==="[object Array]"){var qe=0;for(Ge=[],qe=0;qe<Fe.length;qe+=1)Object.prototype.toString.call(Fe[qe])==="[object Array]"?Ge.push([Ee.doBidiReorder(Fe[qe][0]),Fe[qe][1],Fe[qe][2]]):Ge.push([Ee.doBidiReorder(Fe[qe])]);we.text=Ge}else we.text=Ee.doBidiReorder(Fe)}])}(ze),window.tmp=bt,Lt.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var _e=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(_e);for(var Ce=0;Ce<_e;Ce++){var Ee=this.datav.getUint8(this.pos++,!0),we=this.datav.getUint8(this.pos++,!0),Fe=this.datav.getUint8(this.pos++,!0),Ye=this.datav.getUint8(this.pos++,!0);this.palette[Ce]={red:Fe,green:we,blue:Ee,quad:Ye}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Lt.prototype.parseBGR=function(){this.pos=this.offset;try{var _e="bit"+this.bitPP,Ce=this.width*this.height*4;this.data=new Uint8Array(Ce),this[_e]()}catch(Ee){console.log("bit decode error:"+Ee)}},Lt.prototype.bit1=function(){var _e=Math.ceil(this.width/8),Ce=_e%4,Ee=0<=this.height?this.height-1:-this.height;for(Ee=this.height-1;0<=Ee;Ee--){for(var we=this.bottom_up?Ee:this.height-1-Ee,Fe=0;Fe<_e;Fe++)for(var Ye=this.datav.getUint8(this.pos++,!0),Ge=we*this.width*4+8*Fe*4,qe=0;qe<8&&8*Fe+qe<this.width;qe++){var Ke=this.palette[Ye>>7-qe&1];this.data[Ge+4*qe]=Ke.blue,this.data[Ge+4*qe+1]=Ke.green,this.data[Ge+4*qe+2]=Ke.red,this.data[Ge+4*qe+3]=255}Ce!=0&&(this.pos+=4-Ce)}},Lt.prototype.bit4=function(){for(var _e=Math.ceil(this.width/2),Ce=_e%4,Ee=this.height-1;0<=Ee;Ee--){for(var we=this.bottom_up?Ee:this.height-1-Ee,Fe=0;Fe<_e;Fe++){var Ye=this.datav.getUint8(this.pos++,!0),Ge=we*this.width*4+2*Fe*4,qe=Ye>>4,Ke=15&Ye,ut=this.palette[qe];if(this.data[Ge]=ut.blue,this.data[Ge+1]=ut.green,this.data[Ge+2]=ut.red,this.data[Ge+3]=255,2*Fe+1>=this.width)break;ut=this.palette[Ke],this.data[Ge+4]=ut.blue,this.data[Ge+4+1]=ut.green,this.data[Ge+4+2]=ut.red,this.data[Ge+4+3]=255}Ce!=0&&(this.pos+=4-Ce)}},Lt.prototype.bit8=function(){for(var _e=this.width%4,Ce=this.height-1;0<=Ce;Ce--){for(var Ee=this.bottom_up?Ce:this.height-1-Ce,we=0;we<this.width;we++){var Fe=this.datav.getUint8(this.pos++,!0),Ye=Ee*this.width*4+4*we;if(Fe<this.palette.length){var Ge=this.palette[Fe];this.data[Ye]=Ge.red,this.data[Ye+1]=Ge.green,this.data[Ye+2]=Ge.blue,this.data[Ye+3]=255}else this.data[Ye]=255,this.data[Ye+1]=255,this.data[Ye+2]=255,this.data[Ye+3]=255}_e!=0&&(this.pos+=4-_e)}},Lt.prototype.bit15=function(){for(var _e=this.width%3,Ce=parseInt("11111",2),Ee=this.height-1;0<=Ee;Ee--){for(var we=this.bottom_up?Ee:this.height-1-Ee,Fe=0;Fe<this.width;Fe++){var Ye=this.datav.getUint16(this.pos,!0);this.pos+=2;var Ge=(Ye&Ce)/Ce*255|0,qe=(Ye>>5&Ce)/Ce*255|0,Ke=(Ye>>10&Ce)/Ce*255|0,ut=Ye>>15?255:0,wt=we*this.width*4+4*Fe;this.data[wt]=Ke,this.data[wt+1]=qe,this.data[wt+2]=Ge,this.data[wt+3]=ut}this.pos+=_e}},Lt.prototype.bit16=function(){for(var _e=this.width%3,Ce=parseInt("11111",2),Ee=parseInt("111111",2),we=this.height-1;0<=we;we--){for(var Fe=this.bottom_up?we:this.height-1-we,Ye=0;Ye<this.width;Ye++){var Ge=this.datav.getUint16(this.pos,!0);this.pos+=2;var qe=(Ge&Ce)/Ce*255|0,Ke=(Ge>>5&Ee)/Ee*255|0,ut=(Ge>>11)/Ce*255|0,wt=Fe*this.width*4+4*Ye;this.data[wt]=ut,this.data[wt+1]=Ke,this.data[wt+2]=qe,this.data[wt+3]=255}this.pos+=_e}},Lt.prototype.bit24=function(){for(var _e=this.height-1;0<=_e;_e--){for(var Ce=this.bottom_up?_e:this.height-1-_e,Ee=0;Ee<this.width;Ee++){var we=this.datav.getUint8(this.pos++,!0),Fe=this.datav.getUint8(this.pos++,!0),Ye=this.datav.getUint8(this.pos++,!0),Ge=Ce*this.width*4+4*Ee;this.data[Ge]=Ye,this.data[Ge+1]=Fe,this.data[Ge+2]=we,this.data[Ge+3]=255}this.pos+=this.width%4}},Lt.prototype.bit32=function(){for(var _e=this.height-1;0<=_e;_e--)for(var Ce=this.bottom_up?_e:this.height-1-_e,Ee=0;Ee<this.width;Ee++){var we=this.datav.getUint8(this.pos++,!0),Fe=this.datav.getUint8(this.pos++,!0),Ye=this.datav.getUint8(this.pos++,!0),Ge=this.datav.getUint8(this.pos++,!0),qe=Ce*this.width*4+4*Ee;this.data[qe]=Ye,this.data[qe+1]=Fe,this.data[qe+2]=we,this.data[qe+3]=Ge}},Lt.prototype.getData=function(){return this.data},window.tmp=Lt,function(_e){var Ce=15,Ee=573,we=[0,1,2,3,4,4,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,0,16,17,18,18,19,19,20,20,20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29];function Fe(){var xe=this;function $(le,Oe){for(var ke=0;ke|=1&le,le>>>=1,ke<<=1,0<--Oe;);return ke>>>1}xe.build_tree=function(le){var Oe,ke,Ue,nt=xe.dyn_tree,At=xe.stat_desc.static_tree,Wt=xe.stat_desc.elems,$t=-1;for(le.heap_len=0,le.heap_max=Ee,Oe=0;Oe<Wt;Oe++)nt[2*Oe]!==0?(le.heap[++le.heap_len]=$t=Oe,le.depth[Oe]=0):nt[2*Oe+1]=0;for(;le.heap_len<2;)nt[2*(Ue=le.heap[++le.heap_len]=$t<2?++$t:0)]=1,le.depth[Ue]=0,le.opt_len--,At&&(le.static_len-=At[2*Ue+1]);for(xe.max_code=$t,Oe=Math.floor(le.heap_len/2);1<=Oe;Oe--)le.pqdownheap(nt,Oe);for(Ue=Wt;Oe=le.heap[1],le.heap[1]=le.heap[le.heap_len--],le.pqdownheap(nt,1),ke=le.heap[1],le.heap[--le.heap_max]=Oe,le.heap[--le.heap_max]=ke,nt[2*Ue]=nt[2*Oe]+nt[2*ke],le.depth[Ue]=Math.max(le.depth[Oe],le.depth[ke])+1,nt[2*Oe+1]=nt[2*ke+1]=Ue,le.heap[1]=Ue++,le.pqdownheap(nt,1),2<=le.heap_len;);le.heap[--le.heap_max]=le.heap[1],function(Rt){var zt,Gt,Qt,Mt,dr,er,ht=xe.dyn_tree,Et=xe.stat_desc.static_tree,pt=xe.stat_desc.extra_bits,vt=xe.stat_desc.extra_base,Nt=xe.stat_desc.max_length,_t=0;for(Mt=0;Mt<=Ce;Mt++)Rt.bl_count[Mt]=0;for(ht[2*Rt.heap[Rt.heap_max]+1]=0,zt=Rt.heap_max+1;zt<Ee;zt++)Nt<(Mt=ht[2*ht[2*(Gt=Rt.heap[zt])+1]+1]+1)&&(Mt=Nt,_t++),ht[2*Gt+1]=Mt,Gt>xe.max_code||(Rt.bl_count[Mt]++,dr=0,vt<=Gt&&(dr=pt[Gt-vt]),er=ht[2*Gt],Rt.opt_len+=er*(Mt+dr),Et&&(Rt.static_len+=er*(Et[2*Gt+1]+dr)));if(_t!==0){do{for(Mt=Nt-1;Rt.bl_count[Mt]===0;)Mt--;Rt.bl_count[Mt]--,Rt.bl_count[Mt+1]+=2,Rt.bl_count[Nt]--,_t-=2}while(0<_t);for(Mt=Nt;Mt!==0;Mt--)for(Gt=Rt.bl_count[Mt];Gt!==0;)(Qt=Rt.heap[--zt])>xe.max_code||(ht[2*Qt+1]!=Mt&&(Rt.opt_len+=(Mt-ht[2*Qt+1])*ht[2*Qt],ht[2*Qt+1]=Mt),Gt--)}}(le),function(Rt,zt,Gt){var Qt,Mt,dr,er=[],ht=0;for(Qt=1;Qt<=Ce;Qt++)er[Qt]=ht=ht+Gt[Qt-1]<<1;for(Mt=0;Mt<=zt;Mt++)(dr=Rt[2*Mt+1])!==0&&(Rt[2*Mt]=$(er[dr]++,dr))}(nt,xe.max_code,le.bl_count)}}function Ye(xe,$,le,Oe,ke){this.static_tree=xe,this.extra_bits=$,this.extra_base=le,this.elems=Oe,this.max_length=ke}Fe._length_code=[0,1,2,3,4,5,6,7,8,8,9,9,10,10,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28],Fe.base_length=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],Fe.base_dist=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],Fe.d_code=function(xe){return xe<256?we[xe]:we[256+(xe>>>7)]},Fe.extra_lbits=[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],Fe.extra_dbits=[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],Fe.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Fe.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Ye.static_ltree=[12,8,140,8,76,8,204,8,44,8,172,8,108,8,236,8,28,8,156,8,92,8,220,8,60,8,188,8,124,8,252,8,2,8,130,8,66,8,194,8,34,8,162,8,98,8,226,8,18,8,146,8,82,8,210,8,50,8,178,8,114,8,242,8,10,8,138,8,74,8,202,8,42,8,170,8,106,8,234,8,26,8,154,8,90,8,218,8,58,8,186,8,122,8,250,8,6,8,134,8,70,8,198,8,38,8,166,8,102,8,230,8,22,8,150,8,86,8,214,8,54,8,182,8,118,8,246,8,14,8,142,8,78,8,206,8,46,8,174,8,110,8,238,8,30,8,158,8,94,8,222,8,62,8,190,8,126,8,254,8,1,8,129,8,65,8,193,8,33,8,161,8,97,8,225,8,17,8,145,8,81,8,209,8,49,8,177,8,113,8,241,8,9,8,137,8,73,8,201,8,41,8,169,8,105,8,233,8,25,8,153,8,89,8,217,8,57,8,185,8,121,8,249,8,5,8,133,8,69,8,197,8,37,8,165,8,101,8,229,8,21,8,149,8,85,8,213,8,53,8,181,8,117,8,245,8,13,8,141,8,77,8,205,8,45,8,173,8,109,8,237,8,29,8,157,8,93,8,221,8,61,8,189,8,125,8,253,8,19,9,275,9,147,9,403,9,83,9,339,9,211,9,467,9,51,9,307,9,179,9,435,9,115,9,371,9,243,9,499,9,11,9,267,9,139,9,395,9,75,9,331,9,203,9,459,9,43,9,299,9,171,9,427,9,107,9,363,9,235,9,491,9,27,9,283,9,155,9,411,9,91,9,347,9,219,9,475,9,59,9,315,9,187,9,443,9,123,9,379,9,251,9,507,9,7,9,263,9,135,9,391,9,71,9,327,9,199,9,455,9,39,9,295,9,167,9,423,9,103,9,359,9,231,9,487,9,23,9,279,9,151,9,407,9,87,9,343,9,215,9,471,9,55,9,311,9,183,9,439,9,119,9,375,9,247,9,503,9,15,9,271,9,143,9,399,9,79,9,335,9,207,9,463,9,47,9,303,9,175,9,431,9,111,9,367,9,239,9,495,9,31,9,287,9,159,9,415,9,95,9,351,9,223,9,479,9,63,9,319,9,191,9,447,9,127,9,383,9,255,9,511,9,0,7,64,7,32,7,96,7,16,7,80,7,48,7,112,7,8,7,72,7,40,7,104,7,24,7,88,7,56,7,120,7,4,7,68,7,36,7,100,7,20,7,84,7,52,7,116,7,3,8,131,8,67,8,195,8,35,8,163,8,99,8,227,8],Ye.static_dtree=[0,5,16,5,8,5,24,5,4,5,20,5,12,5,28,5,2,5,18,5,10,5,26,5,6,5,22,5,14,5,30,5,1,5,17,5,9,5,25,5,5,5,21,5,13,5,29,5,3,5,19,5,11,5,27,5,7,5,23,5],Ye.static_l_desc=new Ye(Ye.static_ltree,Fe.extra_lbits,257,286,Ce),Ye.static_d_desc=new Ye(Ye.static_dtree,Fe.extra_dbits,0,30,Ce),Ye.static_bl_desc=new Ye(null,Fe.extra_blbits,0,19,7);function Ge(xe,$,le,Oe,ke){this.good_length=xe,this.max_lazy=$,this.nice_length=le,this.max_chain=Oe,this.func=ke}var qe=[new Ge(0,0,0,0,0),new Ge(4,4,8,4,1),new Ge(4,5,16,8,1),new Ge(4,6,32,32,1),new Ge(4,4,16,16,2),new Ge(8,16,32,32,2),new Ge(8,16,128,128,2),new Ge(8,32,128,256,2),new Ge(32,128,258,1024,2),new Ge(32,258,258,4096,2)],Ke=["need dictionary","stream end","","","stream error","data error","","buffer error","",""];function ut(xe,$,le,Oe){var ke=xe[2*$],Ue=xe[2*le];return ke<Ue||ke==Ue&&Oe[$]<=Oe[le]}function wt(){var xe,$,le,Oe,ke,Ue,nt,At,Wt,$t,Rt,zt,Gt,Qt,Mt,dr,er,ht,Et,pt,vt,Nt,_t,gt,Ht,kt,ir,Xt,mr,Ar,Nr,kr,tn,qr,_r,Qr,Ir,cr,pr,ur,fr,xr=this,Yr=new Fe,cn=new Fe,Nn=new Fe;function jr(){var mn;for(mn=0;mn<286;mn++)Nr[2*mn]=0;for(mn=0;mn<30;mn++)kr[2*mn]=0;for(mn=0;mn<19;mn++)tn[2*mn]=0;Nr[512]=1,xr.opt_len=xr.static_len=0,Qr=cr=0}function Tn(mn,On){var _n,In,jn=-1,ni=mn[1],di=0,Na=7,Qi=4;for(ni===0&&(Na=138,Qi=3),mn[2*(On+1)+1]=65535,_n=0;_n<=On;_n++)In=ni,ni=mn[2*(_n+1)+1],++di<Na&&In==ni||(di<Qi?tn[2*In]+=di:In!==0?(In!=jn&&tn[2*In]++,tn[32]++):di<=10?tn[34]++:tn[36]++,jn=In,Qi=(di=0)===ni?(Na=138,3):In==ni?(Na=6,3):(Na=7,4))}function gn(mn){xr.pending_buf[xr.pending++]=mn}function Pn(mn){gn(255&mn),gn(mn>>>8&255)}function Kn(mn,On){var _n,In=On;16-In<fr?(Pn(ur|=(_n=mn)<<fr&65535),ur=_n>>>16-fr,fr+=In-16):(ur|=mn<<fr&65535,fr+=In)}function qn(mn,On){var _n=2*mn;Kn(65535&On[_n],65535&On[_n+1])}function Yn(mn,On){var _n,In,jn=-1,ni=mn[1],di=0,Na=7,Qi=4;for(ni===0&&(Na=138,Qi=3),_n=0;_n<=On;_n++)if(In=ni,ni=mn[2*(_n+1)+1],!(++di<Na&&In==ni)){if(di<Qi)for(;qn(In,tn),--di!=0;);else In!==0?(In!=jn&&(qn(In,tn),di--),qn(16,tn),Kn(di-3,2)):di<=10?(qn(17,tn),Kn(di-3,3)):(qn(18,tn),Kn(di-11,7));jn=In,Qi=(di=0)===ni?(Na=138,3):In==ni?(Na=6,3):(Na=7,4)}}function Vn(){fr==16?(Pn(ur),fr=ur=0):8<=fr&&(gn(255&ur),ur>>>=8,fr-=8)}function An(mn,On){var _n,In,jn;if(xr.pending_buf[Ir+2*Qr]=mn>>>8&255,xr.pending_buf[Ir+2*Qr+1]=255&mn,xr.pending_buf[qr+Qr]=255&On,Qr++,mn===0?Nr[2*On]++:(cr++,mn--,Nr[2*(Fe._length_code[On]+256+1)]++,kr[2*Fe.d_code(mn)]++),(8191&Qr)==0&&2<ir){for(_n=8*Qr,In=vt-er,jn=0;jn<30;jn++)_n+=kr[2*jn]*(5+Fe.extra_dbits[jn]);if(_n>>>=3,cr<Math.floor(Qr/2)&&_n<Math.floor(In/2))return!0}return Qr==_r-1}function on(mn,On){var _n,In,jn,ni,di=0;if(Qr!==0)for(;_n=xr.pending_buf[Ir+2*di]<<8&65280|255&xr.pending_buf[Ir+2*di+1],In=255&xr.pending_buf[qr+di],di++,_n===0?qn(In,mn):(qn((jn=Fe._length_code[In])+256+1,mn),(ni=Fe.extra_lbits[jn])!==0&&Kn(In-=Fe.base_length[jn],ni),qn(jn=Fe.d_code(--_n),On),(ni=Fe.extra_dbits[jn])!==0&&Kn(_n-=Fe.base_dist[jn],ni)),di<Qr;);qn(256,mn),pr=mn[513]}function ia(){8<fr?Pn(ur):0<fr&&gn(255&ur),fr=ur=0}function xa(mn,On,_n){var In,jn,ni;Kn(0+(_n?1:0),3),In=mn,jn=On,ni=!0,ia(),pr=8,ni&&(Pn(jn),Pn(~jn)),xr.pending_buf.set(At.subarray(In,In+jn),xr.pending),xr.pending+=jn}function ta(mn,On,_n){var In,jn,ni=0;0<ir?(Yr.build_tree(xr),cn.build_tree(xr),ni=function(){var di;for(Tn(Nr,Yr.max_code),Tn(kr,cn.max_code),Nn.build_tree(xr),di=18;3<=di&&tn[2*Fe.bl_order[di]+1]===0;di--);return xr.opt_len+=3*(di+1)+5+5+4,di}(),In=xr.opt_len+3+7>>>3,(jn=xr.static_len+3+7>>>3)<=In&&(In=jn)):In=jn=On+5,On+4<=In&&mn!=-1?xa(mn,On,_n):jn==In?(Kn(2+(_n?1:0),3),on(Ye.static_ltree,Ye.static_dtree)):(Kn(4+(_n?1:0),3),function(di,Na,Qi){var ma;for(Kn(di-257,5),Kn(Na-1,5),Kn(Qi-4,4),ma=0;ma<Qi;ma++)Kn(tn[2*Fe.bl_order[ma]+1],3);Yn(Nr,di-1),Yn(kr,Na-1)}(Yr.max_code+1,cn.max_code+1,ni+1),on(Nr,kr)),jr(),_n&&ia()}function Ii(mn){ta(0<=er?er:-1,vt-er,mn),er=vt,xe.flush_pending()}function Ci(){var mn,On,_n,In;do{if((In=Wt-_t-vt)===0&&vt===0&&_t===0)In=ke;else if(In==-1)In--;else if(ke+ke-262<=vt){for(At.set(At.subarray(ke,ke+ke),0),Nt-=ke,vt-=ke,er-=ke,_n=mn=Gt;On=65535&Rt[--_n],Rt[_n]=ke<=On?On-ke:0,--mn!=0;);for(_n=mn=ke;On=65535&$t[--_n],$t[_n]=ke<=On?On-ke:0,--mn!=0;);In+=ke}if(xe.avail_in===0)return;mn=xe.read_buf(At,vt+_t,In),3<=(_t+=mn)&&(zt=((zt=255&At[vt])<<dr^255&At[vt+1])&Mt)}while(_t<262&&xe.avail_in!==0)}function Gn(mn){var On,_n,In=Ht,jn=vt,ni=gt,di=ke-262<vt?vt-(ke-262):0,Na=Ar,Qi=nt,ma=vt+258,Ba=At[jn+ni-1],Qa=At[jn+ni];mr<=gt&&(In>>=2),_t<Na&&(Na=_t);do if(At[(On=mn)+ni]==Qa&&At[On+ni-1]==Ba&&At[On]==At[jn]&&At[++On]==At[jn+1]){jn+=2,On++;do;while(At[++jn]==At[++On]&&At[++jn]==At[++On]&&At[++jn]==At[++On]&&At[++jn]==At[++On]&&At[++jn]==At[++On]&&At[++jn]==At[++On]&&At[++jn]==At[++On]&&At[++jn]==At[++On]&&jn<ma);if(_n=258-(ma-jn),jn=ma-258,ni<_n){if(Nt=mn,Na<=(ni=_n))break;Ba=At[jn+ni-1],Qa=At[jn+ni]}}while((mn=65535&$t[mn&Qi])>di&&--In!=0);return ni<=_t?ni:_t}function Oa(mn){return mn.total_in=mn.total_out=0,mn.msg=null,xr.pending=0,xr.pending_out=0,$=113,Oe=0,Yr.dyn_tree=Nr,Yr.stat_desc=Ye.static_l_desc,cn.dyn_tree=kr,cn.stat_desc=Ye.static_d_desc,Nn.dyn_tree=tn,Nn.stat_desc=Ye.static_bl_desc,fr=ur=0,pr=8,jr(),function(){var On;for(Wt=2*ke,On=Rt[Gt-1]=0;On<Gt-1;On++)Rt[On]=0;kt=qe[ir].max_lazy,mr=qe[ir].good_length,Ar=qe[ir].nice_length,Ht=qe[ir].max_chain,ht=gt=2,zt=pt=_t=er=vt=0}(),0}xr.depth=[],xr.bl_count=[],xr.heap=[],Nr=[],kr=[],tn=[],xr.pqdownheap=function(mn,On){for(var _n=xr.heap,In=_n[On],jn=On<<1;jn<=xr.heap_len&&(jn<xr.heap_len&&ut(mn,_n[jn+1],_n[jn],xr.depth)&&jn++,!ut(mn,In,_n[jn],xr.depth));)_n[On]=_n[jn],On=jn,jn<<=1;_n[On]=In},xr.deflateInit=function(mn,On,_n,In,jn,ni){return In||(In=8),jn||(jn=8),ni||(ni=0),mn.msg=null,On==-1&&(On=6),jn<1||9<jn||In!=8||_n<9||15<_n||On<0||9<On||ni<0||2<ni?-2:(mn.dstate=xr,nt=(ke=1<<(Ue=_n))-1,Mt=(Gt=1<<(Qt=jn+7))-1,dr=Math.floor((Qt+3-1)/3),At=new Uint8Array(2*ke),$t=[],Rt=[],_r=1<<jn+6,xr.pending_buf=new Uint8Array(4*_r),le=4*_r,Ir=Math.floor(_r/2),qr=3*_r,ir=On,Xt=ni,Oa(mn))},xr.deflateEnd=function(){return $!=42&&$!=113&&$!=666?-2:(xr.pending_buf=null,At=$t=Rt=null,xr.dstate=null,$==113?-3:0)},xr.deflateParams=function(mn,On,_n){var In=0;return On==-1&&(On=6),On<0||9<On||_n<0||2<_n?-2:(qe[ir].func!=qe[On].func&&mn.total_in!==0&&(In=mn.deflate(1)),ir!=On&&(kt=qe[ir=On].max_lazy,mr=qe[ir].good_length,Ar=qe[ir].nice_length,Ht=qe[ir].max_chain),Xt=_n,In)},xr.deflateSetDictionary=function(mn,On,_n){var In,jn=_n,ni=0;if(!On||$!=42)return-2;if(jn<3)return 0;for(ke-262<jn&&(ni=_n-(jn=ke-262)),At.set(On.subarray(ni,ni+jn),0),er=vt=jn,zt=((zt=255&At[0])<<dr^255&At[1])&Mt,In=0;In<=jn-3;In++)zt=(zt<<dr^255&At[In+2])&Mt,$t[In&nt]=Rt[zt],Rt[zt]=In;return 0},xr.deflate=function(mn,On){var _n,In,jn,ni,di,Na;if(4<On||On<0)return-2;if(!mn.next_out||!mn.next_in&&mn.avail_in!==0||$==666&&On!=4)return mn.msg=Ke[4],-2;if(mn.avail_out===0)return mn.msg=Ke[7],-5;if(xe=mn,ni=Oe,Oe=On,$==42&&(In=8+(Ue-8<<4)<<8,3<(jn=(ir-1&255)>>1)&&(jn=3),In|=jn<<6,vt!==0&&(In|=32),$=113,gn((Na=In+=31-In%31)>>8&255),gn(255&Na)),xr.pending!==0){if(xe.flush_pending(),xe.avail_out===0)return Oe=-1,0}else if(xe.avail_in===0&&On<=ni&&On!=4)return xe.msg=Ke[7],-5;if($==666&&xe.avail_in!==0)return mn.msg=Ke[7],-5;if(xe.avail_in!==0||_t!==0||On!=0&&$!=666){switch(di=-1,qe[ir].func){case 0:di=function(Qi){var ma,Ba=65535;for(le-5<Ba&&(Ba=le-5);;){if(_t<=1){if(Ci(),_t===0&&Qi==0)return 0;if(_t===0)break}if(vt+=_t,ma=er+Ba,((_t=0)===vt||ma<=vt)&&(_t=vt-ma,vt=ma,Ii(!1),xe.avail_out===0))return 0;if(ke-262<=vt-er&&(Ii(!1),xe.avail_out===0))return 0}return Ii(Qi==4),xe.avail_out===0?Qi==4?2:0:Qi==4?3:1}(On);break;case 1:di=function(Qi){for(var ma,Ba=0;;){if(_t<262){if(Ci(),_t<262&&Qi==0)return 0;if(_t===0)break}if(3<=_t&&(zt=(zt<<dr^255&At[vt+2])&Mt,Ba=65535&Rt[zt],$t[vt&nt]=Rt[zt],Rt[zt]=vt),Ba!==0&&(vt-Ba&65535)<=ke-262&&Xt!=2&&(ht=Gn(Ba)),3<=ht)if(ma=An(vt-Nt,ht-3),_t-=ht,ht<=kt&&3<=_t){for(ht--;zt=(zt<<dr^255&At[++vt+2])&Mt,Ba=65535&Rt[zt],$t[vt&nt]=Rt[zt],Rt[zt]=vt,--ht!=0;);vt++}else vt+=ht,ht=0,zt=((zt=255&At[vt])<<dr^255&At[vt+1])&Mt;else ma=An(0,255&At[vt]),_t--,vt++;if(ma&&(Ii(!1),xe.avail_out===0))return 0}return Ii(Qi==4),xe.avail_out===0?Qi==4?2:0:Qi==4?3:1}(On);break;case 2:di=function(Qi){for(var ma,Ba,Qa=0;;){if(_t<262){if(Ci(),_t<262&&Qi==0)return 0;if(_t===0)break}if(3<=_t&&(zt=(zt<<dr^255&At[vt+2])&Mt,Qa=65535&Rt[zt],$t[vt&nt]=Rt[zt],Rt[zt]=vt),gt=ht,Et=Nt,ht=2,Qa!==0&&gt<kt&&(vt-Qa&65535)<=ke-262&&(Xt!=2&&(ht=Gn(Qa)),ht<=5&&(Xt==1||ht==3&&4096<vt-Nt)&&(ht=2)),3<=gt&&ht<=gt){for(Ba=vt+_t-3,ma=An(vt-1-Et,gt-3),_t-=gt-1,gt-=2;++vt<=Ba&&(zt=(zt<<dr^255&At[vt+2])&Mt,Qa=65535&Rt[zt],$t[vt&nt]=Rt[zt],Rt[zt]=vt),--gt!=0;);if(pt=0,ht=2,vt++,ma&&(Ii(!1),xe.avail_out===0))return 0}else if(pt!==0){if((ma=An(0,255&At[vt-1]))&&Ii(!1),vt++,_t--,xe.avail_out===0)return 0}else pt=1,vt++,_t--}return pt!==0&&(ma=An(0,255&At[vt-1]),pt=0),Ii(Qi==4),xe.avail_out===0?Qi==4?2:0:Qi==4?3:1}(On)}if(di!=2&&di!=3||($=666),di==0||di==2)return xe.avail_out===0&&(Oe=-1),0;if(di==1){if(On==1)Kn(2,3),qn(256,Ye.static_ltree),Vn(),1+pr+10-fr<9&&(Kn(2,3),qn(256,Ye.static_ltree),Vn()),pr=7;else if(xa(0,0,!1),On==3)for(_n=0;_n<Gt;_n++)Rt[_n]=0;if(xe.flush_pending(),xe.avail_out===0)return Oe=-1,0}}return On!=4?0:1}}function It(){this.next_in_index=0,this.next_out_index=0,this.avail_in=0,this.total_in=0,this.avail_out=0,this.total_out=0}It.prototype={deflateInit:function($,le){return this.dstate=new wt,le||(le=Ce),this.dstate.deflateInit(this,$,le)},deflate:function($){return this.dstate?this.dstate.deflate(this,$):-2},deflateEnd:function(){if(!this.dstate)return-2;var $=this.dstate.deflateEnd();return this.dstate=null,$},deflateParams:function($,le){return this.dstate?this.dstate.deflateParams(this,$,le):-2},deflateSetDictionary:function($,le){return this.dstate?this.dstate.deflateSetDictionary(this,$,le):-2},read_buf:function($,le,Oe){var ke=this.avail_in;return Oe<ke&&(ke=Oe),ke===0?0:(this.avail_in-=ke,$.set(this.next_in.subarray(this.next_in_index,this.next_in_index+ke),le),this.next_in_index+=ke,this.total_in+=ke,ke)},flush_pending:function(){var $=this,le=$.dstate.pending;le>$.avail_out&&(le=$.avail_out),le!==0&&($.next_out.set($.dstate.pending_buf.subarray($.dstate.pending_out,$.dstate.pending_out+le),$.next_out_index),$.next_out_index+=le,$.dstate.pending_out+=le,$.total_out+=le,$.avail_out-=le,$.dstate.pending-=le,$.dstate.pending===0&&($.dstate.pending_out=0))}};var de=_e.zip||_e;de.Deflater=de._jzlib_Deflater=function(xe){var $=new It,le=new Uint8Array(512),Oe=xe?xe.level:-1;Oe===void 0&&(Oe=-1),$.deflateInit(Oe),$.next_out=le,this.append=function(ke,Ue){var nt,At=[],Wt=0,$t=0,Rt=0;if(ke.length){$.next_in_index=0,$.next_in=ke,$.avail_in=ke.length;do{if($.next_out_index=0,$.avail_out=512,$.deflate(0)!=0)throw new Error("deflating: "+$.msg);$.next_out_index&&($.next_out_index==512?At.push(new Uint8Array(le)):At.push(new Uint8Array(le.subarray(0,$.next_out_index)))),Rt+=$.next_out_index,Ue&&0<$.next_in_index&&$.next_in_index!=Wt&&(Ue($.next_in_index),Wt=$.next_in_index)}while(0<$.avail_in||$.avail_out===0);return nt=new Uint8Array(Rt),At.forEach(function(zt){nt.set(zt,$t),$t+=zt.length}),nt}},this.flush=function(){var ke,Ue,nt=[],At=0,Wt=0;do{if($.next_out_index=0,$.avail_out=512,(ke=$.deflate(4))!=1&&ke!=0)throw new Error("deflating: "+$.msg);0<512-$.avail_out&&nt.push(new Uint8Array(le.subarray(0,$.next_out_index))),Wt+=$.next_out_index}while(0<$.avail_in||$.avail_out===0);return $.deflateEnd(),Ue=new Uint8Array(Wt),nt.forEach(function($t){Ue.set($t,At),At+=$t.length}),Ue}}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")()),(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")()).RGBColor=function(_e){var Ce;_e=_e||"",this.ok=!1,_e.charAt(0)=="#"&&(_e=_e.substr(1,6)),_e=(_e=_e.replace(/ /g,"")).toLowerCase();var Ee={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};for(var we in Ee)_e==we&&(_e=Ee[we]);for(var Fe=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(wt){return[parseInt(wt[1]),parseInt(wt[2]),parseInt(wt[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(wt){return[parseInt(wt[1],16),parseInt(wt[2],16),parseInt(wt[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(wt){return[parseInt(wt[1]+wt[1],16),parseInt(wt[2]+wt[2],16),parseInt(wt[3]+wt[3],16)]}}],Ye=0;Ye<Fe.length;Ye++){var Ge=Fe[Ye].re,qe=Fe[Ye].process,Ke=Ge.exec(_e);Ke&&(Ce=qe(Ke),this.r=Ce[0],this.g=Ce[1],this.b=Ce[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:255<this.r?255:this.r,this.g=this.g<0||isNaN(this.g)?0:255<this.g?255:this.g,this.b=this.b<0||isNaN(this.b)?0:255<this.b?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var ut=this.r.toString(16),wt=this.g.toString(16),It=this.b.toString(16);return ut.length==1&&(ut="0"+ut),wt.length==1&&(wt="0"+wt),It.length==1&&(It="0"+It),"#"+ut+wt+It}},function(_e){var Ce="+".charCodeAt(0),Ee="/".charCodeAt(0),we="0".charCodeAt(0),Fe="a".charCodeAt(0),Ye="A".charCodeAt(0),Ge="-".charCodeAt(0),qe="_".charCodeAt(0),Ke=function(Et){var pt=Et.charCodeAt(0);return pt===Ce||pt===Ge?62:pt===Ee||pt===qe?63:pt<we?-1:pt<we+10?pt-we+26+26:pt<Ye+26?pt-Ye:pt<Fe+26?pt-Fe+26:void 0};_e.API.TTFFont=function(){function ht(Et,pt,vt){var Nt;if(this.rawData=Et,Nt=this.contents=new wt(Et),this.contents.pos=4,Nt.readString(4)==="ttcf")throw pt?new Error("Font "+pt+" not found in TTC file."):new Error("Must specify a font name for TTC files.");Nt.pos=0,this.parse(),this.subset=new er(this),this.registerTTF()}return ht.open=function(Et,pt,vt,Nt){if(typeof vt!="string")throw new Error("Invalid argument supplied in TTFFont.open");return new ht(function(_t){var gt,Ht,kt,ir,Xt,mr;if(0<_t.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var Ar=_t.length;Xt=_t.charAt(Ar-2)==="="?2:_t.charAt(Ar-1)==="="?1:0,mr=new Uint8Array(3*_t.length/4-Xt),kt=0<Xt?_t.length-4:_t.length;var Nr=0;function kr(tn){mr[Nr++]=tn}for(Ht=gt=0;gt<kt;gt+=4,Ht+=3)kr((16711680&(ir=Ke(_t.charAt(gt))<<18|Ke(_t.charAt(gt+1))<<12|Ke(_t.charAt(gt+2))<<6|Ke(_t.charAt(gt+3))))>>16),kr((65280&ir)>>8),kr(255&ir);return Xt===2?kr(255&(ir=Ke(_t.charAt(gt))<<2|Ke(_t.charAt(gt+1))>>4)):Xt===1&&(kr((ir=Ke(_t.charAt(gt))<<10|Ke(_t.charAt(gt+1))<<4|Ke(_t.charAt(gt+2))>>2)>>8&255),kr(255&ir)),mr}(vt),pt,Nt)},ht.prototype.parse=function(){return this.directory=new It(this.contents),this.head=new $(this),this.name=new Wt(this),this.cmap=new Oe(this),this.toUnicode=new Map,this.hhea=new ke(this),this.maxp=new $t(this),this.hmtx=new Rt(this),this.post=new nt(this),this.os2=new Ue(this),this.loca=new dr(this),this.glyf=new Gt(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},ht.prototype.registerTTF=function(){var Et,pt,vt,Nt,_t;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var gt,Ht,kt,ir;for(ir=[],gt=0,Ht=(kt=this.bbox).length;gt<Ht;gt++)Et=kt[gt],ir.push(Math.round(Et*this.scaleFactor));return ir}.call(this),this.stemV=0,this.post.exists?(vt=255&(Nt=this.post.italic_angle),!0&(pt=Nt>>16)&&(pt=-(1+(65535^pt))),this.italicAngle=+(pt+"."+vt)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(_t=this.familyClass)===1||_t===2||_t===3||_t===4||_t===5||_t===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},ht.prototype.characterToGlyph=function(Et){var pt;return((pt=this.cmap.unicode)!=null?pt.codeMap[Et]:void 0)||0},ht.prototype.widthOfGlyph=function(Et){var pt;return pt=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(Et).advance*pt},ht.prototype.widthOfString=function(Et,pt,vt){var Nt,_t,gt,Ht,kt;for(_t=Ht=gt=0,kt=(Et=""+Et).length;0<=kt?Ht<kt:kt<Ht;_t=0<=kt?++Ht:--Ht)Nt=Et.charCodeAt(_t),gt+=this.widthOfGlyph(this.characterToGlyph(Nt))+vt*(1e3/pt)||0;return gt*(pt/1e3)},ht.prototype.lineHeight=function(Et,pt){var vt;return pt==null&&(pt=!1),vt=pt?this.lineGap:0,(this.ascender+vt-this.decender)/1e3*Et},ht}();var ut,wt=function(){function ht(Et){this.data=Et!=null?Et:[],this.pos=0,this.length=this.data.length}return ht.prototype.readByte=function(){return this.data[this.pos++]},ht.prototype.writeByte=function(Et){return this.data[this.pos++]=Et},ht.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},ht.prototype.writeUInt32=function(Et){return this.writeByte(Et>>>24&255),this.writeByte(Et>>16&255),this.writeByte(Et>>8&255),this.writeByte(255&Et)},ht.prototype.readInt32=function(){var Et;return 2147483648<=(Et=this.readUInt32())?Et-4294967296:Et},ht.prototype.writeInt32=function(Et){return Et<0&&(Et+=4294967296),this.writeUInt32(Et)},ht.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},ht.prototype.writeUInt16=function(Et){return this.writeByte(Et>>8&255),this.writeByte(255&Et)},ht.prototype.readInt16=function(){var Et;return 32768<=(Et=this.readUInt16())?Et-65536:Et},ht.prototype.writeInt16=function(Et){return Et<0&&(Et+=65536),this.writeUInt16(Et)},ht.prototype.readString=function(Et){var pt,vt,Nt;for(vt=[],pt=Nt=0;0<=Et?Nt<Et:Et<Nt;pt=0<=Et?++Nt:--Nt)vt[pt]=String.fromCharCode(this.readByte());return vt.join("")},ht.prototype.writeString=function(Et){var pt,vt,Nt,_t;for(_t=[],pt=vt=0,Nt=Et.length;0<=Nt?vt<Nt:Nt<vt;pt=0<=Nt?++vt:--vt)_t.push(this.writeByte(Et.charCodeAt(pt)));return _t},ht.prototype.readShort=function(){return this.readInt16()},ht.prototype.writeShort=function(Et){return this.writeInt16(Et)},ht.prototype.readLongLong=function(){var Et,pt,vt,Nt,_t,gt,Ht,kt;return Et=this.readByte(),pt=this.readByte(),vt=this.readByte(),Nt=this.readByte(),_t=this.readByte(),gt=this.readByte(),Ht=this.readByte(),kt=this.readByte(),128&Et?-1*(72057594037927940*(255^Et)+281474976710656*(255^pt)+1099511627776*(255^vt)+4294967296*(255^Nt)+16777216*(255^_t)+65536*(255^gt)+256*(255^Ht)+(255^kt)+1):72057594037927940*Et+281474976710656*pt+1099511627776*vt+4294967296*Nt+16777216*_t+65536*gt+256*Ht+kt},ht.prototype.writeLongLong=function(Et){var pt,vt;return pt=Math.floor(Et/4294967296),vt=4294967295&Et,this.writeByte(pt>>24&255),this.writeByte(pt>>16&255),this.writeByte(pt>>8&255),this.writeByte(255&pt),this.writeByte(vt>>24&255),this.writeByte(vt>>16&255),this.writeByte(vt>>8&255),this.writeByte(255&vt)},ht.prototype.readInt=function(){return this.readInt32()},ht.prototype.writeInt=function(Et){return this.writeInt32(Et)},ht.prototype.read=function(Et){var pt,vt;for(pt=[],vt=0;0<=Et?vt<Et:Et<vt;0<=Et?++vt:--vt)pt.push(this.readByte());return pt},ht.prototype.write=function(Et){var pt,vt,Nt,_t;for(_t=[],vt=0,Nt=Et.length;vt<Nt;vt++)pt=Et[vt],_t.push(this.writeByte(pt));return _t},ht}(),It=function(){var ht;function Et(pt){var vt,Nt,_t;for(this.scalarType=pt.readInt(),this.tableCount=pt.readShort(),this.searchRange=pt.readShort(),this.entrySelector=pt.readShort(),this.rangeShift=pt.readShort(),this.tables={},Nt=0,_t=this.tableCount;0<=_t?Nt<_t:_t<Nt;0<=_t?++Nt:--Nt)vt={tag:pt.readString(4),checksum:pt.readInt(),offset:pt.readInt(),length:pt.readInt()},this.tables[vt.tag]=vt}return Et.prototype.encode=function(pt){var vt,Nt,_t,gt,Ht,kt,ir,Xt,mr,Ar,Nr,kr,tn;for(tn in Nr=Object.keys(pt).length,kt=Math.log(2),mr=16*Math.floor(Math.log(Nr)/kt),gt=Math.floor(mr/kt),Xt=16*Nr-mr,(Nt=new wt).writeInt(this.scalarType),Nt.writeShort(Nr),Nt.writeShort(mr),Nt.writeShort(gt),Nt.writeShort(Xt),_t=16*Nr,ir=Nt.pos+_t,Ht=null,kr=[],pt)for(Ar=pt[tn],Nt.writeString(tn),Nt.writeInt(ht(Ar)),Nt.writeInt(ir),Nt.writeInt(Ar.length),kr=kr.concat(Ar),tn==="head"&&(Ht=ir),ir+=Ar.length;ir%4;)kr.push(0),ir++;return Nt.write(kr),vt=2981146554-ht(Nt.data),Nt.pos=Ht+8,Nt.writeUInt32(vt),Nt.data},ht=function(vt){var Nt,_t,gt,Ht;for(vt=zt.call(vt);vt.length%4;)vt.push(0);for(_t=new wt(vt),gt=Nt=0,Ht=vt.length;gt<Ht;gt+=4)Nt+=_t.readUInt32();return 4294967295&Nt},Et}(),de={}.hasOwnProperty,xe=function(Et,pt){for(var vt in pt)de.call(pt,vt)&&(Et[vt]=pt[vt]);function Nt(){this.constructor=Et}return Nt.prototype=pt.prototype,Et.prototype=new Nt,Et.__super__=pt.prototype,Et};ut=function(){function ht(Et){var pt;this.file=Et,pt=this.file.directory.tables[this.tag],this.exists=!!pt,pt&&(this.offset=pt.offset,this.length=pt.length,this.parse(this.file.contents))}return ht.prototype.parse=function(){},ht.prototype.encode=function(){},ht.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},ht}();var $=function(ht){function Et(){return Et.__super__.constructor.apply(this,arguments)}return xe(Et,ut),Et.prototype.tag="head",Et.prototype.parse=function(pt){return pt.pos=this.offset,this.version=pt.readInt(),this.revision=pt.readInt(),this.checkSumAdjustment=pt.readInt(),this.magicNumber=pt.readInt(),this.flags=pt.readShort(),this.unitsPerEm=pt.readShort(),this.created=pt.readLongLong(),this.modified=pt.readLongLong(),this.xMin=pt.readShort(),this.yMin=pt.readShort(),this.xMax=pt.readShort(),this.yMax=pt.readShort(),this.macStyle=pt.readShort(),this.lowestRecPPEM=pt.readShort(),this.fontDirectionHint=pt.readShort(),this.indexToLocFormat=pt.readShort(),this.glyphDataFormat=pt.readShort()},Et.prototype.encode=function(pt){var vt;return(vt=new wt).writeInt(this.version),vt.writeInt(this.revision),vt.writeInt(this.checkSumAdjustment),vt.writeInt(this.magicNumber),vt.writeShort(this.flags),vt.writeShort(this.unitsPerEm),vt.writeLongLong(this.created),vt.writeLongLong(this.modified),vt.writeShort(this.xMin),vt.writeShort(this.yMin),vt.writeShort(this.xMax),vt.writeShort(this.yMax),vt.writeShort(this.macStyle),vt.writeShort(this.lowestRecPPEM),vt.writeShort(this.fontDirectionHint),vt.writeShort(pt),vt.writeShort(this.glyphDataFormat),vt.data},Et}(),le=function(){function ht(Et,pt){var vt,Nt,_t,gt,Ht,kt,ir,Xt,mr,Ar,Nr,kr,tn,qr,_r,Qr,Ir,cr;switch(this.platformID=Et.readUInt16(),this.encodingID=Et.readShort(),this.offset=pt+Et.readInt(),mr=Et.pos,Et.pos=this.offset,this.format=Et.readUInt16(),this.length=Et.readUInt16(),this.language=Et.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(kt=_r=0;_r<256;kt=++_r)this.codeMap[kt]=Et.readByte();break;case 4:for(Nr=Et.readUInt16(),Ar=Nr/2,Et.pos+=6,_t=function(){var pr,ur;for(ur=[],kt=pr=0;0<=Ar?pr<Ar:Ar<pr;kt=0<=Ar?++pr:--pr)ur.push(Et.readUInt16());return ur}(),Et.pos+=2,tn=function(){var pr,ur;for(ur=[],kt=pr=0;0<=Ar?pr<Ar:Ar<pr;kt=0<=Ar?++pr:--pr)ur.push(Et.readUInt16());return ur}(),ir=function(){var pr,ur;for(ur=[],kt=pr=0;0<=Ar?pr<Ar:Ar<pr;kt=0<=Ar?++pr:--pr)ur.push(Et.readUInt16());return ur}(),Xt=function(){var pr,ur;for(ur=[],kt=pr=0;0<=Ar?pr<Ar:Ar<pr;kt=0<=Ar?++pr:--pr)ur.push(Et.readUInt16());return ur}(),Nt=(this.length-Et.pos+this.offset)/2,Ht=function(){var pr,ur;for(ur=[],kt=pr=0;0<=Nt?pr<Nt:Nt<pr;kt=0<=Nt?++pr:--pr)ur.push(Et.readUInt16());return ur}(),kt=Qr=0,cr=_t.length;Qr<cr;kt=++Qr)for(qr=_t[kt],vt=Ir=kr=tn[kt];kr<=qr?Ir<=qr:qr<=Ir;vt=kr<=qr?++Ir:--Ir)Xt[kt]===0?gt=vt+ir[kt]:(gt=Ht[Xt[kt]/2+(vt-kr)-(Ar-kt)]||0)!==0&&(gt+=ir[kt]),this.codeMap[vt]=65535&gt}Et.pos=mr}return ht.encode=function(Et,pt){var vt,Nt,_t,gt,Ht,kt,ir,Xt,mr,Ar,Nr,kr,tn,qr,_r,Qr,Ir,cr,pr,ur,fr,xr,Yr,cn,Nn,jr,Tn,gn,Pn,Kn,qn,Yn,Vn,An,on,ia,xa,ta,Ii,Ci,Gn,Oa,mn,On,_n,In;switch(gn=new wt,gt=Object.keys(Et).sort(function(jn,ni){return jn-ni}),pt){case"macroman":for(tn=0,qr=function(){var jn,ni;for(ni=[],kr=jn=0;jn<256;kr=++jn)ni.push(0);return ni}(),Qr={0:0},_t={},Pn=0,Vn=gt.length;Pn<Vn;Pn++)Qr[mn=Et[Nt=gt[Pn]]]==null&&(Qr[mn]=++tn),_t[Nt]={old:Et[Nt],new:Qr[Et[Nt]]},qr[Nt]=Qr[Et[Nt]];return gn.writeUInt16(1),gn.writeUInt16(0),gn.writeUInt32(12),gn.writeUInt16(0),gn.writeUInt16(262),gn.writeUInt16(0),gn.write(qr),{charMap:_t,subtable:gn.data,maxGlyphID:tn+1};case"unicode":for(jr=[],mr=[],Qr={},vt={},_r=ir=null,Kn=Ir=0,An=gt.length;Kn<An;Kn++)Qr[pr=Et[Nt=gt[Kn]]]==null&&(Qr[pr]=++Ir),vt[Nt]={old:pr,new:Qr[pr]},Ht=Qr[pr]-Nt,_r!=null&&Ht===ir||(_r&&mr.push(_r),jr.push(Nt),ir=Ht),_r=Nt;for(_r&&mr.push(_r),mr.push(65535),jr.push(65535),cn=2*(Yr=jr.length),xr=2*Math.pow(Math.log(Yr)/Math.LN2,2),Ar=Math.log(xr/2)/Math.LN2,fr=2*Yr-xr,kt=[],ur=[],Nr=[],kr=qn=0,on=jr.length;qn<on;kr=++qn){if(Nn=jr[kr],Xt=mr[kr],Nn===65535){kt.push(0),ur.push(0);break}if(32768<=Nn-(Tn=vt[Nn].new))for(kt.push(0),ur.push(2*(Nr.length+Yr-kr)),Nt=Yn=Nn;Nn<=Xt?Yn<=Xt:Xt<=Yn;Nt=Nn<=Xt?++Yn:--Yn)Nr.push(vt[Nt].new);else kt.push(Tn-Nn),ur.push(0)}for(gn.writeUInt16(3),gn.writeUInt16(1),gn.writeUInt32(12),gn.writeUInt16(4),gn.writeUInt16(16+8*Yr+2*Nr.length),gn.writeUInt16(0),gn.writeUInt16(cn),gn.writeUInt16(xr),gn.writeUInt16(Ar),gn.writeUInt16(fr),Gn=0,ia=mr.length;Gn<ia;Gn++)Nt=mr[Gn],gn.writeUInt16(Nt);for(gn.writeUInt16(0),Oa=0,xa=jr.length;Oa<xa;Oa++)Nt=jr[Oa],gn.writeUInt16(Nt);for(On=0,ta=kt.length;On<ta;On++)Ht=kt[On],gn.writeUInt16(Ht);for(_n=0,Ii=ur.length;_n<Ii;_n++)cr=ur[_n],gn.writeUInt16(cr);for(In=0,Ci=Nr.length;In<Ci;In++)tn=Nr[In],gn.writeUInt16(tn);return{charMap:vt,subtable:gn.data,maxGlyphID:Ir+1}}},ht}(),Oe=function(ht){function Et(){return Et.__super__.constructor.apply(this,arguments)}return xe(Et,ut),Et.prototype.tag="cmap",Et.prototype.parse=function(pt){var vt,Nt,_t;for(pt.pos=this.offset,this.version=pt.readUInt16(),Nt=pt.readUInt16(),this.tables=[],this.unicode=null,_t=0;0<=Nt?_t<Nt:Nt<_t;0<=Nt?++_t:--_t)vt=new le(pt,this.offset),this.tables.push(vt),vt.isUnicode&&this.unicode==null&&(this.unicode=vt);return!0},Et.encode=function(pt,vt){var Nt,_t;return vt==null&&(vt="macroman"),Nt=le.encode(pt,vt),(_t=new wt).writeUInt16(0),_t.writeUInt16(1),Nt.table=_t.data.concat(Nt.subtable),Nt},Et}(),ke=function(ht){function Et(){return Et.__super__.constructor.apply(this,arguments)}return xe(Et,ut),Et.prototype.tag="hhea",Et.prototype.parse=function(pt){return pt.pos=this.offset,this.version=pt.readInt(),this.ascender=pt.readShort(),this.decender=pt.readShort(),this.lineGap=pt.readShort(),this.advanceWidthMax=pt.readShort(),this.minLeftSideBearing=pt.readShort(),this.minRightSideBearing=pt.readShort(),this.xMaxExtent=pt.readShort(),this.caretSlopeRise=pt.readShort(),this.caretSlopeRun=pt.readShort(),this.caretOffset=pt.readShort(),pt.pos+=8,this.metricDataFormat=pt.readShort(),this.numberOfMetrics=pt.readUInt16()},Et}(),Ue=function(ht){function Et(){return Et.__super__.constructor.apply(this,arguments)}return xe(Et,ut),Et.prototype.tag="OS/2",Et.prototype.parse=function(pt){if(pt.pos=this.offset,this.version=pt.readUInt16(),this.averageCharWidth=pt.readShort(),this.weightClass=pt.readUInt16(),this.widthClass=pt.readUInt16(),this.type=pt.readShort(),this.ySubscriptXSize=pt.readShort(),this.ySubscriptYSize=pt.readShort(),this.ySubscriptXOffset=pt.readShort(),this.ySubscriptYOffset=pt.readShort(),this.ySuperscriptXSize=pt.readShort(),this.ySuperscriptYSize=pt.readShort(),this.ySuperscriptXOffset=pt.readShort(),this.ySuperscriptYOffset=pt.readShort(),this.yStrikeoutSize=pt.readShort(),this.yStrikeoutPosition=pt.readShort(),this.familyClass=pt.readShort(),this.panose=function(){var vt,Nt;for(Nt=[],vt=0;vt<10;++vt)Nt.push(pt.readByte());return Nt}(),this.charRange=function(){var vt,Nt;for(Nt=[],vt=0;vt<4;++vt)Nt.push(pt.readInt());return Nt}(),this.vendorID=pt.readString(4),this.selection=pt.readShort(),this.firstCharIndex=pt.readShort(),this.lastCharIndex=pt.readShort(),0<this.version&&(this.ascent=pt.readShort(),this.descent=pt.readShort(),this.lineGap=pt.readShort(),this.winAscent=pt.readShort(),this.winDescent=pt.readShort(),this.codePageRange=function(){var vt,Nt;for(Nt=[],vt=0;vt<2;++vt)Nt.push(pt.readInt());return Nt}(),1<this.version))return this.xHeight=pt.readShort(),this.capHeight=pt.readShort(),this.defaultChar=pt.readShort(),this.breakChar=pt.readShort(),this.maxContext=pt.readShort()},Et}(),nt=function(ht){function Et(){return Et.__super__.constructor.apply(this,arguments)}return xe(Et,ut),Et.prototype.tag="post",Et.prototype.parse=function(pt){var vt,Nt,_t,gt;switch(pt.pos=this.offset,this.format=pt.readInt(),this.italicAngle=pt.readInt(),this.underlinePosition=pt.readShort(),this.underlineThickness=pt.readShort(),this.isFixedPitch=pt.readInt(),this.minMemType42=pt.readInt(),this.maxMemType42=pt.readInt(),this.minMemType1=pt.readInt(),this.maxMemType1=pt.readInt(),this.format){case 65536:break;case 131072:for(Nt=pt.readUInt16(),this.glyphNameIndex=[],_t=0;0<=Nt?_t<Nt:Nt<_t;0<=Nt?++_t:--_t)this.glyphNameIndex.push(pt.readUInt16());for(this.names=[],gt=[];pt.pos<this.offset+this.length;)vt=pt.readByte(),gt.push(this.names.push(pt.readString(vt)));return gt;case 151552:return Nt=pt.readUInt16(),this.offsets=pt.read(Nt);case 196608:break;case 262144:return this.map=function(){var Ht,kt,ir;for(ir=[],Ht=0,kt=this.file.maxp.numGlyphs;0<=kt?Ht<kt:kt<Ht;0<=kt?++Ht:--Ht)ir.push(pt.readUInt32());return ir}.call(this)}},Et}(),At=function(Et,pt){this.raw=Et,this.length=Et.length,this.platformID=pt.platformID,this.encodingID=pt.encodingID,this.languageID=pt.languageID},Wt=function(ht){function Et(){return Et.__super__.constructor.apply(this,arguments)}return xe(Et,ut),Et.prototype.tag="name",Et.prototype.parse=function(pt){var vt,Nt,_t,gt,Ht,kt,ir,Xt,mr,Ar,Nr,kr;for(pt.pos=this.offset,pt.readShort(),vt=pt.readShort(),kt=pt.readShort(),Nt=[],gt=mr=0;0<=vt?mr<vt:vt<mr;gt=0<=vt?++mr:--mr)Nt.push({platformID:pt.readShort(),encodingID:pt.readShort(),languageID:pt.readShort(),nameID:pt.readShort(),length:pt.readShort(),offset:this.offset+kt+pt.readShort()});for(ir={},gt=Ar=0,Nr=Nt.length;Ar<Nr;gt=++Ar)_t=Nt[gt],pt.pos=_t.offset,Xt=pt.readString(_t.length),Ht=new At(Xt,_t),ir[kr=_t.nameID]==null&&(ir[kr]=[]),ir[_t.nameID].push(Ht);this.strings=ir,this.copyright=ir[0],this.fontFamily=ir[1],this.fontSubfamily=ir[2],this.uniqueSubfamily=ir[3],this.fontName=ir[4],this.version=ir[5];try{this.postscriptName=ir[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(tn){this.postscriptName=ir[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=ir[7],this.manufacturer=ir[8],this.designer=ir[9],this.description=ir[10],this.vendorUrl=ir[11],this.designerUrl=ir[12],this.license=ir[13],this.licenseUrl=ir[14],this.preferredFamily=ir[15],this.preferredSubfamily=ir[17],this.compatibleFull=ir[18],this.sampleText=ir[19]},Et}(),$t=function(ht){function Et(){return Et.__super__.constructor.apply(this,arguments)}return xe(Et,ut),Et.prototype.tag="maxp",Et.prototype.parse=function(pt){return pt.pos=this.offset,this.version=pt.readInt(),this.numGlyphs=pt.readUInt16(),this.maxPoints=pt.readUInt16(),this.maxContours=pt.readUInt16(),this.maxCompositePoints=pt.readUInt16(),this.maxComponentContours=pt.readUInt16(),this.maxZones=pt.readUInt16(),this.maxTwilightPoints=pt.readUInt16(),this.maxStorage=pt.readUInt16(),this.maxFunctionDefs=pt.readUInt16(),this.maxInstructionDefs=pt.readUInt16(),this.maxStackElements=pt.readUInt16(),this.maxSizeOfInstructions=pt.readUInt16(),this.maxComponentElements=pt.readUInt16(),this.maxComponentDepth=pt.readUInt16()},Et}(),Rt=function(ht){function Et(){return Et.__super__.constructor.apply(this,arguments)}return xe(Et,ut),Et.prototype.tag="hmtx",Et.prototype.parse=function(pt){var vt,Nt,_t,gt,Ht,kt,ir;for(pt.pos=this.offset,this.metrics=[],gt=0,kt=this.file.hhea.numberOfMetrics;0<=kt?gt<kt:kt<gt;0<=kt?++gt:--gt)this.metrics.push({advance:pt.readUInt16(),lsb:pt.readInt16()});for(Nt=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Xt,mr;for(mr=[],Xt=0;0<=Nt?Xt<Nt:Nt<Xt;0<=Nt?++Xt:--Xt)mr.push(pt.readInt16());return mr}(),this.widths=function(){var Xt,mr,Ar,Nr;for(Nr=[],Xt=0,mr=(Ar=this.metrics).length;Xt<mr;Xt++)_t=Ar[Xt],Nr.push(_t.advance);return Nr}.call(this),vt=this.widths[this.widths.length-1],ir=[],Ht=0;0<=Nt?Ht<Nt:Nt<Ht;0<=Nt?++Ht:--Ht)ir.push(this.widths.push(vt));return ir},Et.prototype.forGlyph=function(pt){return pt in this.metrics?this.metrics[pt]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[pt-this.metrics.length]}},Et}(),zt=[].slice,Gt=function(ht){function Et(){return Et.__super__.constructor.apply(this,arguments)}return xe(Et,ut),Et.prototype.tag="glyf",Et.prototype.parse=function(pt){return this.cache={}},Et.prototype.glyphFor=function(pt){var vt,Nt,_t,gt,Ht,kt,ir,Xt,mr,Ar;return(pt=pt)in this.cache?this.cache[pt]:(gt=this.file.loca,vt=this.file.contents,Nt=gt.indexOf(pt),(_t=gt.lengthOf(pt))===0?this.cache[pt]=null:(vt.pos=this.offset+Nt,Ht=(kt=new wt(vt.read(_t))).readShort(),Xt=kt.readShort(),Ar=kt.readShort(),ir=kt.readShort(),mr=kt.readShort(),this.cache[pt]=Ht===-1?new Mt(kt,Xt,Ar,ir,mr):new Qt(kt,Ht,Xt,Ar,ir,mr),this.cache[pt]))},Et.prototype.encode=function(pt,vt,Nt){var _t,gt,Ht,kt,ir;for(Ht=[],gt=[],kt=0,ir=vt.length;kt<ir;kt++)_t=pt[vt[kt]],gt.push(Ht.length),_t&&(Ht=Ht.concat(_t.encode(Nt)));return gt.push(Ht.length),{table:Ht,offsets:gt}},Et}(),Qt=function(){function ht(Et,pt,vt,Nt,_t,gt){this.raw=Et,this.numberOfContours=pt,this.xMin=vt,this.yMin=Nt,this.xMax=_t,this.yMax=gt,this.compound=!1}return ht.prototype.encode=function(){return this.raw.data},ht}(),Mt=function(){function ht(Et,pt,vt,Nt,_t){var gt,Ht;for(this.raw=Et,this.xMin=pt,this.yMin=vt,this.xMax=Nt,this.yMax=_t,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],gt=this.raw;Ht=gt.readShort(),this.glyphOffsets.push(gt.pos),this.glyphIDs.push(gt.readShort()),32&Ht;)gt.pos+=1&Ht?4:2,128&Ht?gt.pos+=8:64&Ht?gt.pos+=4:8&Ht&&(gt.pos+=2)}return ht.prototype.encode=function(Et){var pt,vt,Nt,_t,gt;for(vt=new wt(zt.call(this.raw.data)),pt=Nt=0,_t=(gt=this.glyphIDs).length;Nt<_t;pt=++Nt)gt[pt],vt.pos=this.glyphOffsets[pt];return vt.data},ht}(),dr=function(ht){function Et(){return Et.__super__.constructor.apply(this,arguments)}return xe(Et,ut),Et.prototype.tag="loca",Et.prototype.parse=function(pt){var vt;return pt.pos=this.offset,vt=this.file.head.indexToLocFormat,this.offsets=vt===0?function(){var Nt,_t,gt;for(gt=[],Nt=0,_t=this.length;Nt<_t;Nt+=2)gt.push(2*pt.readUInt16());return gt}.call(this):function(){var Nt,_t,gt;for(gt=[],Nt=0,_t=this.length;Nt<_t;Nt+=4)gt.push(pt.readUInt32());return gt}.call(this)},Et.prototype.indexOf=function(pt){return this.offsets[pt]},Et.prototype.lengthOf=function(pt){return this.offsets[pt+1]-this.offsets[pt]},Et.prototype.encode=function(pt,vt){for(var Nt=new Uint32Array(this.offsets.length),_t=0,gt=0,Ht=0;Ht<Nt.length;++Ht)if(Nt[Ht]=_t,gt<vt.length&&vt[gt]==Ht){++gt,Nt[Ht]=_t;var kt=this.offsets[Ht],ir=this.offsets[Ht+1]-kt;0<ir&&(_t+=ir)}for(var Xt=new Array(4*Nt.length),mr=0;mr<Nt.length;++mr)Xt[4*mr+3]=255&Nt[mr],Xt[4*mr+2]=(65280&Nt[mr])>>8,Xt[4*mr+1]=(16711680&Nt[mr])>>16,Xt[4*mr]=(4278190080&Nt[mr])>>24;return Xt},Et}(),er=function(){function ht(Et){this.font=Et,this.subset={},this.unicodes={},this.next=33}return ht.prototype.generateCmap=function(){var Et,pt,vt,Nt,_t;for(pt in Nt=this.font.cmap.tables[0].codeMap,Et={},_t=this.subset)vt=_t[pt],Et[pt]=Nt[vt];return Et},ht.prototype.glyphsFor=function(Et){var pt,vt,Nt,_t,gt,Ht,kt;for(Nt={},gt=0,Ht=Et.length;gt<Ht;gt++)Nt[_t=Et[gt]]=this.font.glyf.glyphFor(_t);for(_t in pt=[],Nt)((vt=Nt[_t])!=null?vt.compound:void 0)&&pt.push.apply(pt,vt.glyphIDs);if(0<pt.length)for(_t in kt=this.glyphsFor(pt))vt=kt[_t],Nt[_t]=vt;return Nt},ht.prototype.encode=function(Et,pt){var vt,Nt,_t,gt,Ht,kt,ir,Xt,mr,Ar,Nr,kr,tn,qr,_r;for(Nt in vt=Oe.encode(this.generateCmap(),"unicode"),gt=this.glyphsFor(Et),Nr={0:0},_r=vt.charMap)Nr[(kt=_r[Nt]).old]=kt.new;for(kr in Ar=vt.maxGlyphID,gt)kr in Nr||(Nr[kr]=Ar++);return Xt=function(Qr){var Ir,cr;for(Ir in cr={},Qr)cr[Qr[Ir]]=Ir;return cr}(Nr),mr=Object.keys(Xt).sort(function(Qr,Ir){return Qr-Ir}),tn=function(){var Qr,Ir,cr;for(cr=[],Qr=0,Ir=mr.length;Qr<Ir;Qr++)Ht=mr[Qr],cr.push(Xt[Ht]);return cr}(),_t=this.font.glyf.encode(gt,tn,Nr),ir=this.font.loca.encode(_t.offsets,tn),qr={cmap:this.font.cmap.raw(),glyf:_t.table,loca:ir,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(pt)},this.font.os2.exists&&(qr["OS/2"]=this.font.os2.raw()),this.font.directory.encode(qr)},ht}();_e.API.PDFObject=function(){var ht;function Et(){}return ht=function(vt,Nt){return(Array(Nt+1).join("0")+vt).slice(-Nt)},Et.convert=function(pt){var vt,Nt,_t,gt;if(Array.isArray(pt))return"["+function(){var Ht,kt,ir;for(ir=[],Ht=0,kt=pt.length;Ht<kt;Ht++)vt=pt[Ht],ir.push(Et.convert(vt));return ir}().join(" ")+"]";if(typeof pt=="string")return"/"+pt;if(pt!=null?pt.isString:void 0)return"("+pt+")";if(pt instanceof Date)return"(D:"+ht(pt.getUTCFullYear(),4)+ht(pt.getUTCMonth(),2)+ht(pt.getUTCDate(),2)+ht(pt.getUTCHours(),2)+ht(pt.getUTCMinutes(),2)+ht(pt.getUTCSeconds(),2)+"Z)";if({}.toString.call(pt)!=="[object Object]")return""+pt;for(Nt in _t=["<<"],pt)gt=pt[Nt],_t.push("/"+Nt+" "+Et.convert(gt));return _t.push(">>"),_t.join(`
`)},Et}()}(ze),Ze=typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")(),Te=function(){var _e,Ce,Ee;function we(Fe){var Ye,Ge,qe,Ke,ut,wt,It,de,xe,$,le,Oe,ke,Ue;for(this.data=Fe,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},wt=null;;){switch(Ye=this.readUInt32(),xe=function(){var nt,At;for(At=[],nt=0;nt<4;++nt)At.push(String.fromCharCode(this.data[this.pos++]));return At}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(Ye);break;case"fcTL":wt&&this.animation.frames.push(wt),this.pos+=4,wt={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},ut=this.readUInt16(),Ke=this.readUInt16()||100,wt.delay=1e3*ut/Ke,wt.disposeOp=this.data[this.pos++],wt.blendOp=this.data[this.pos++],wt.data=[];break;case"IDAT":case"fdAT":for(xe==="fdAT"&&(this.pos+=4,Ye-=4),Fe=(wt!=null?wt.data:void 0)||this.imgData,Oe=0;0<=Ye?Oe<Ye:Ye<Oe;0<=Ye?++Oe:--Oe)Fe.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(qe=this.palette.length/3,this.transparency.indexed=this.read(Ye),this.transparency.indexed.length>qe)throw new Error("More transparent colors than palette size");if(0<($=qe-this.transparency.indexed.length))for(ke=0;0<=$?ke<$:$<ke;0<=$?++ke:--ke)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(Ye)[0];break;case 2:this.transparency.rgb=this.read(Ye)}break;case"tEXt":It=(le=this.read(Ye)).indexOf(0),de=String.fromCharCode.apply(String,le.slice(0,It)),this.text[de]=String.fromCharCode.apply(String,le.slice(It+1));break;case"IEND":return wt&&this.animation.frames.push(wt),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(Ue=this.colorType)===4||Ue===6,Ge=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*Ge,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=Ye}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}we.load=function(Fe,Ye,Ge){var qe;return typeof Ye=="function"&&(Ge=Ye),(qe=new XMLHttpRequest).open("GET",Fe,!0),qe.responseType="arraybuffer",qe.onload=function(){var Ke;return Ke=new we(new Uint8Array(qe.response||qe.mozResponseArrayBuffer)),typeof(Ye!=null?Ye.getContext:void 0)=="function"&&Ke.render(Ye),typeof Ge=="function"?Ge(Ke):void 0},qe.send(null)},we.prototype.read=function(Fe){var Ye,Ge;for(Ge=[],Ye=0;0<=Fe?Ye<Fe:Fe<Ye;0<=Fe?++Ye:--Ye)Ge.push(this.data[this.pos++]);return Ge},we.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},we.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},we.prototype.decodePixels=function(Fe){var Ye=this.pixelBitlength/8,Ge=new Uint8Array(this.width*this.height*Ye),qe=0,Ke=this;if(Fe==null&&(Fe=this.imgData),Fe.length===0)return new Uint8Array(0);function ut(wt,It,de,xe){var $,le,Oe,ke,Ue,nt,At,Wt,$t,Rt,zt,Gt,Qt,Mt,dr,er,ht,Et,pt,vt,Nt,_t=Math.ceil((Ke.width-wt)/de),gt=Math.ceil((Ke.height-It)/xe),Ht=Ke.width==_t&&Ke.height==gt;for(Mt=Ye*_t,Gt=Ht?Ge:new Uint8Array(Mt*gt),nt=Fe.length,le=Qt=0;Qt<gt&&qe<nt;){switch(Fe[qe++]){case 0:for(ke=ht=0;ht<Mt;ke=ht+=1)Gt[le++]=Fe[qe++];break;case 1:for(ke=Et=0;Et<Mt;ke=Et+=1)$=Fe[qe++],Ue=ke<Ye?0:Gt[le-Ye],Gt[le++]=($+Ue)%256;break;case 2:for(ke=pt=0;pt<Mt;ke=pt+=1)$=Fe[qe++],Oe=(ke-ke%Ye)/Ye,dr=Qt&&Gt[(Qt-1)*Mt+Oe*Ye+ke%Ye],Gt[le++]=(dr+$)%256;break;case 3:for(ke=vt=0;vt<Mt;ke=vt+=1)$=Fe[qe++],Oe=(ke-ke%Ye)/Ye,Ue=ke<Ye?0:Gt[le-Ye],dr=Qt&&Gt[(Qt-1)*Mt+Oe*Ye+ke%Ye],Gt[le++]=($+Math.floor((Ue+dr)/2))%256;break;case 4:for(ke=Nt=0;Nt<Mt;ke=Nt+=1)$=Fe[qe++],Oe=(ke-ke%Ye)/Ye,Ue=ke<Ye?0:Gt[le-Ye],Qt===0?dr=er=0:(dr=Gt[(Qt-1)*Mt+Oe*Ye+ke%Ye],er=Oe&&Gt[(Qt-1)*Mt+(Oe-1)*Ye+ke%Ye]),At=Ue+dr-er,Wt=Math.abs(At-Ue),Rt=Math.abs(At-dr),zt=Math.abs(At-er),$t=Wt<=Rt&&Wt<=zt?Ue:Rt<=zt?dr:er,Gt[le++]=($+$t)%256;break;default:throw new Error("Invalid filter algorithm: "+Fe[qe-1])}if(!Ht){var kt=((It+Qt*xe)*Ke.width+wt)*Ye,ir=Qt*Mt;for(ke=0;ke<_t;ke+=1){for(var Xt=0;Xt<Ye;Xt+=1)Ge[kt++]=Gt[ir++];kt+=(de-1)*Ye}}Qt++}}return Fe=(Fe=new Bt(Fe)).getBytes(),Ke.interlaceMethod==1?(ut(0,0,8,8),ut(4,0,8,8),ut(0,4,4,8),ut(2,0,4,4),ut(0,2,2,4),ut(1,0,2,2),ut(0,1,1,2)):ut(0,0,1,1),Ge},we.prototype.decodePalette=function(){var Fe,Ye,Ge,qe,Ke,ut,wt,It,de;for(Ge=this.palette,ut=this.transparency.indexed||[],Ke=new Uint8Array((ut.length||0)+Ge.length),qe=0,Ge.length,Ye=wt=Fe=0,It=Ge.length;wt<It;Ye=wt+=3)Ke[qe++]=Ge[Ye],Ke[qe++]=Ge[Ye+1],Ke[qe++]=Ge[Ye+2],Ke[qe++]=(de=ut[Fe++])!=null?de:255;return Ke},we.prototype.copyToImageData=function(Fe,Ye){var Ge,qe,Ke,ut,wt,It,de,xe,$,le,Oe;if(qe=this.colors,$=null,Ge=this.hasAlphaChannel,this.palette.length&&($=(Oe=this._decodedPalette)!=null?Oe:this._decodedPalette=this.decodePalette(),qe=4,Ge=!0),xe=(Ke=Fe.data||Fe).length,wt=$||Ye,ut=It=0,qe===1)for(;ut<xe;)de=$?4*Ye[ut/4]:It,le=wt[de++],Ke[ut++]=le,Ke[ut++]=le,Ke[ut++]=le,Ke[ut++]=Ge?wt[de++]:255,It=de;else for(;ut<xe;)de=$?4*Ye[ut/4]:It,Ke[ut++]=wt[de++],Ke[ut++]=wt[de++],Ke[ut++]=wt[de++],Ke[ut++]=Ge?wt[de++]:255,It=de},we.prototype.decode=function(){var Fe;return Fe=new Uint8Array(this.width*this.height*4),this.copyToImageData(Fe,this.decodePixels()),Fe};try{Ce=Ze.document.createElement("canvas"),Ee=Ce.getContext("2d")}catch(Fe){return-1}return _e=function(Ye){var Ge;return Ee.width=Ye.width,Ee.height=Ye.height,Ee.clearRect(0,0,Ye.width,Ye.height),Ee.putImageData(Ye,0,0),(Ge=new Image).src=Ce.toDataURL(),Ge},we.prototype.decodeFrames=function(Fe){var Ye,Ge,qe,Ke,ut,wt,It,de;if(this.animation){for(de=[],Ge=ut=0,wt=(It=this.animation.frames).length;ut<wt;Ge=++ut)Ye=It[Ge],qe=Fe.createImageData(Ye.width,Ye.height),Ke=this.decodePixels(new Uint8Array(Ye.data)),this.copyToImageData(qe,Ke),Ye.imageData=qe,de.push(Ye.image=_e(qe));return de}},we.prototype.renderFrame=function(Fe,Ye){var Ge,qe,Ke;return Ge=(qe=this.animation.frames)[Ye],Ke=qe[Ye-1],Ye===0&&Fe.clearRect(0,0,this.width,this.height),(Ke!=null?Ke.disposeOp:void 0)===1?Fe.clearRect(Ke.xOffset,Ke.yOffset,Ke.width,Ke.height):(Ke!=null?Ke.disposeOp:void 0)===2&&Fe.putImageData(Ke.imageData,Ke.xOffset,Ke.yOffset),Ge.blendOp===0&&Fe.clearRect(Ge.xOffset,Ge.yOffset,Ge.width,Ge.height),Fe.drawImage(Ge.image,Ge.xOffset,Ge.yOffset)},we.prototype.animate=function(Fe){var Ye,Ge,qe,Ke,ut,wt,It=this;return Ge=0,wt=this.animation,Ke=wt.numFrames,qe=wt.frames,ut=wt.numPlays,(Ye=function(){var xe,$;if(xe=Ge++%Ke,$=qe[xe],It.renderFrame(Fe,xe),1<Ke&&Ge/Ke<ut)return It.animation._timeout=setTimeout(Ye,$.delay)})()},we.prototype.stopAnimation=function(){var Fe;return clearTimeout((Fe=this.animation)!=null?Fe._timeout:void 0)},we.prototype.render=function(Fe){var Ye,Ge;return Fe._png&&Fe._png.stopAnimation(),Fe._png=this,Fe.width=this.width,Fe.height=this.height,Ye=Fe.getContext("2d"),this.animation?(this.decodeFrames(Ye),this.animate(Ye)):(Ge=Ye.createImageData(this.width,this.height),this.copyToImageData(Ge,this.decodePixels()),Ye.putImageData(Ge,0,0))},we}(),Ze.PNG=Te;var or=function(){function _e(){this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=null}return _e.prototype={ensureBuffer:function(Ee){var we=this.buffer,Fe=we?we.byteLength:0;if(Ee<Fe)return we;for(var Ye=512;Ye<Ee;)Ye<<=1;for(var Ge=new Uint8Array(Ye),qe=0;qe<Fe;++qe)Ge[qe]=we[qe];return this.buffer=Ge},getByte:function(){for(var Ee=this.pos;this.bufferLength<=Ee;){if(this.eof)return null;this.readBlock()}return this.buffer[this.pos++]},getBytes:function(Ee){var we=this.pos;if(Ee){this.ensureBuffer(we+Ee);for(var Fe=we+Ee;!this.eof&&this.bufferLength<Fe;)this.readBlock();var Ye=this.bufferLength;Ye<Fe&&(Fe=Ye)}else{for(;!this.eof;)this.readBlock();Fe=this.bufferLength}return this.pos=Fe,this.buffer.subarray(we,Fe)},lookChar:function(){for(var Ee=this.pos;this.bufferLength<=Ee;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos])},getChar:function(){for(var Ee=this.pos;this.bufferLength<=Ee;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos++])},makeSubStream:function(Ee,we,Fe){for(var Ye=Ee+we;this.bufferLength<=Ye&&!this.eof;)this.readBlock();return new Stream(this.buffer,Ee,we,Fe)},skip:function(Ee){Ee||(Ee=1),this.pos+=Ee},reset:function(){this.pos=0}},_e}(),Bt=function(){if(typeof Uint32Array!="undefined"){var _e=new Uint32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Ce=new Uint32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),Ee=new Uint32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),we=[new Uint32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],Fe=[new Uint32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];return(Ge.prototype=Object.create(or.prototype)).getBits=function(qe){for(var Ke,ut=this.codeSize,wt=this.codeBuf,It=this.bytes,de=this.bytesPos;ut<qe;)(Ke=It[de++])===void 0&&Ye("Bad encoding in flate stream"),wt|=Ke<<ut,ut+=8;return Ke=wt&(1<<qe)-1,this.codeBuf=wt>>qe,this.codeSize=ut-=qe,this.bytesPos=de,Ke},Ge.prototype.getCode=function(qe){for(var Ke=qe[0],ut=qe[1],wt=this.codeSize,It=this.codeBuf,de=this.bytes,xe=this.bytesPos;wt<ut;){var $;($=de[xe++])===void 0&&Ye("Bad encoding in flate stream"),It|=$<<wt,wt+=8}var le=Ke[It&(1<<ut)-1],Oe=le>>16,ke=65535&le;return(wt==0||wt<Oe||Oe==0)&&Ye("Bad encoding in flate stream"),this.codeBuf=It>>Oe,this.codeSize=wt-Oe,this.bytesPos=xe,ke},Ge.prototype.generateHuffmanTable=function(qe){for(var Ke=qe.length,ut=0,wt=0;wt<Ke;++wt)qe[wt]>ut&&(ut=qe[wt]);for(var It=1<<ut,de=new Uint32Array(It),xe=1,$=0,le=2;xe<=ut;++xe,$<<=1,le<<=1)for(var Oe=0;Oe<Ke;++Oe)if(qe[Oe]==xe){var ke=0,Ue=$;for(wt=0;wt<xe;++wt)ke=ke<<1|1&Ue,Ue>>=1;for(wt=ke;wt<It;wt+=le)de[wt]=xe<<16|Oe;++$}return[de,ut]},Ge.prototype.readBlock=function(){function qe(gt,Ht,kt,ir,Xt){for(var mr=gt.getBits(kt)+ir;0<mr--;)Ht[le++]=Xt}var Ke=this.getBits(3);if(1&Ke&&(this.eof=!0),(Ke>>=1)!=0){var ut,wt;if(Ke==1)ut=we,wt=Fe;else if(Ke==2){for(var It=this.getBits(5)+257,de=this.getBits(5)+1,xe=this.getBits(4)+4,$=Array(_e.length),le=0;le<xe;)$[_e[le++]]=this.getBits(3);for(var Oe=this.generateHuffmanTable($),ke=0,Ue=(le=0,It+de),nt=new Array(Ue);le<Ue;){var At=this.getCode(Oe);At==16?qe(this,nt,2,3,ke):At==17?qe(this,nt,3,3,ke=0):At==18?qe(this,nt,7,11,ke=0):nt[le++]=ke=At}ut=this.generateHuffmanTable(nt.slice(0,It)),wt=this.generateHuffmanTable(nt.slice(It,Ue))}else Ye("Unknown block type in flate stream");for(var Wt=(vt=this.buffer)?vt.length:0,$t=this.bufferLength;;){var Rt=this.getCode(ut);if(Rt<256)Wt<=$t+1&&(Wt=(vt=this.ensureBuffer($t+1)).length),vt[$t++]=Rt;else{if(Rt==256)return void(this.bufferLength=$t);var zt=(Rt=Ce[Rt-=257])>>16;0<zt&&(zt=this.getBits(zt)),ke=(65535&Rt)+zt,Rt=this.getCode(wt),0<(zt=(Rt=Ee[Rt])>>16)&&(zt=this.getBits(zt));var Gt=(65535&Rt)+zt;Wt<=$t+ke&&(Wt=(vt=this.ensureBuffer($t+ke)).length);for(var Qt=0;Qt<ke;++Qt,++$t)vt[$t]=vt[$t-Gt]}}}else{var Mt,dr=this.bytes,er=this.bytesPos;(Mt=dr[er++])===void 0&&Ye("Bad block header in flate stream");var ht=Mt;(Mt=dr[er++])===void 0&&Ye("Bad block header in flate stream"),ht|=Mt<<8,(Mt=dr[er++])===void 0&&Ye("Bad block header in flate stream");var Et=Mt;(Mt=dr[er++])===void 0&&Ye("Bad block header in flate stream"),(Et|=Mt<<8)!=(65535&~ht)&&Ye("Bad uncompressed block length in flate stream"),this.codeBuf=0,this.codeSize=0;var pt=this.bufferLength,vt=this.ensureBuffer(pt+ht),Nt=pt+ht;this.bufferLength=Nt;for(var _t=pt;_t<Nt;++_t){if((Mt=dr[er++])===void 0){this.eof=!0;break}vt[_t]=Mt}this.bytesPos=er}},Ge}function Ye(qe){throw new Error(qe)}function Ge(qe){var Ke=0,ut=qe[Ke++],wt=qe[Ke++];ut!=-1&&wt!=-1||Ye("Invalid header in flate stream"),(15&ut)!=8&&Ye("Unknown compression method in flate stream"),((ut<<8)+wt)%31!=0&&Ye("Bad FCHECK in flate stream"),32&wt&&Ye("FDICT bit set in flate stream"),this.bytes=qe,this.bytesPos=2,this.codeSize=0,this.codeBuf=0,or.call(this)}}();window.tmp=Bt});try{R.exports=jsPDF}catch(m){}}).call(this,e("yLpj"))},"5RzL":function(R,I,e){"use strict";var g=e("pVnL"),f=e.n(g),b=e("lSNA"),m=e.n(b),y=e("lwsE"),h=e.n(y),u=e("W8MJ"),i=e.n(u),a=e("7W2i"),r=e.n(a),o=e("LQ03"),d=e.n(o),n=e("q1tI"),l=e.n(n),t=e("1OyB"),s=e("vuIU"),c=e("Ji7U"),p=e("LK+K"),A=e("KQm4"),w=e("U8pU"),C=e("ODXe"),x=e("VTBJ"),E=e("qNPg"),T=e("2Qr1"),_=e("815F"),v=e("NvD2"),S=e("wPlo"),O=e("6cGi"),L=e("Kwbf"),M=e("4IlW"),F=e("YrtM"),U=e("fAei"),z=l.a.createContext(null);function W(bt,Lt){if(!bt)return!0;var or=bt.data,Bt=or.disabled,_e=or.disableCheckbox;switch(Lt){case"select":return Bt;case"checkbox":return Bt||_e}return!1}function N(bt,Lt){var or=l.a.useCallback(function(_e){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",Ee=arguments.length>2?arguments[2]:void 0,we=bt.get(_e);return!Ee&&W(we,Ce)?null:we},[bt]),Bt=l.a.useCallback(function(_e){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",Ee=arguments.length>2?arguments[2]:void 0,we=Lt.get(_e);return!Ee&&W(we,Ce)?null:we},[Lt]);return[or,Bt]}function H(bt){return l.a.useMemo(function(){var Lt=new Map,or=new Map;return bt.forEach(function(Bt){Lt.set(Bt.key,Bt),or.set(Bt.data.value,Bt)}),[Lt,or]},[bt])}var j={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},k=function(Lt,or){var Bt=Lt.prefixCls,_e=Lt.height,Ce=Lt.itemHeight,Ee=Lt.virtual,we=Lt.options,Fe=Lt.flattenOptions,Ye=Lt.multiple,Ge=Lt.searchValue,qe=Lt.onSelect,Ke=Lt.onToggleOpen,ut=Lt.open,wt=Lt.notFoundContent,It=Lt.onMouseEnter,de=l.a.useContext(z),xe=de.checkable,$=de.checkedKeys,le=de.halfCheckedKeys,Oe=de.treeExpandedKeys,ke=de.treeDefaultExpandAll,Ue=de.treeDefaultExpandedKeys,nt=de.onTreeExpand,At=de.treeIcon,Wt=de.showTreeIcon,$t=de.switcherIcon,Rt=de.treeLine,zt=de.treeNodeFilterProp,Gt=de.loadData,Qt=de.treeLoadedKeys,Mt=de.treeMotion,dr=de.onTreeLoad,er=l.a.useRef(),ht=Object(F.a)(function(){return we},[ut,we],function(Pn,Kn){return Kn[0]&&Pn[1]!==Kn[1]}),Et=H(Fe),pt=Object(C.a)(Et,2),vt=pt[0],Nt=pt[1],_t=N(vt,Nt),gt=Object(C.a)(_t,2),Ht=gt[0],kt=gt[1],ir=l.a.useMemo(function(){return $.map(function(Pn){var Kn=kt(Pn);return Kn?Kn.key:null})},[$]),Xt=l.a.useMemo(function(){return xe?{checked:ir,halfChecked:le}:null},[ir,le,xe]);l.a.useEffect(function(){if(ut&&!Ye&&ir.length){var Pn;(Pn=er.current)===null||Pn===void 0||Pn.scrollTo({key:ir[0]})}},[ut]);var mr=String(Ge).toLowerCase(),Ar=function(Kn){return mr?String(Kn[zt]).toLowerCase().includes(mr):!1},Nr=l.a.useState(Ue),kr=Object(C.a)(Nr,2),tn=kr[0],qr=kr[1],_r=l.a.useState(null),Qr=Object(C.a)(_r,2),Ir=Qr[0],cr=Qr[1],pr=l.a.useMemo(function(){return Oe?Object(A.a)(Oe):Ge?Ir:tn},[tn,Ir,mr,Oe]);l.a.useEffect(function(){Ge&&cr(Fe.map(function(Pn){return Pn.key}))},[Ge]);var ur=function(Kn){qr(Kn),cr(Kn),nt&&nt(Kn)},fr=function(Kn){Kn.preventDefault()},xr=function(Kn,qn){var Yn=qn.node.key,Vn=Ht(Yn,xe?"checkbox":"select");Vn!==null&&qe(Vn.data.value,{selected:!$.includes(Vn.data.value)}),Ye||Ke(!1)},Yr=l.a.useState(null),cn=Object(C.a)(Yr,2),Nn=cn[0],jr=cn[1],Tn=Ht(Nn);if(l.a.useImperativeHandle(or,function(){return{onKeyDown:function(Kn){var qn,Yn=Kn.which;switch(Yn){case M.a.UP:case M.a.DOWN:case M.a.LEFT:case M.a.RIGHT:(qn=er.current)===null||qn===void 0||qn.onKeyDown(Kn);break;case M.a.ENTER:{Tn!==null&&xr(null,{node:{key:Nn},selected:!$.includes(Tn.data.value)});break}case M.a.ESC:Ke(!1)}},onKeyUp:function(){}}}),ht.length===0)return l.a.createElement("div",{role:"listbox",className:"".concat(Bt,"-empty"),onMouseDown:fr},wt);var gn={};return Qt&&(gn.loadedKeys=Qt),pr&&(gn.expandedKeys=pr),l.a.createElement("div",{onMouseDown:fr,onMouseEnter:It},Tn&&ut&&l.a.createElement("span",{style:j,"aria-live":"assertive"},Tn.data.value),l.a.createElement(U.b,Object.assign({ref:er,focusable:!1,prefixCls:"".concat(Bt,"-tree"),treeData:ht,height:_e,itemHeight:Ce,virtual:Ee,multiple:Ye,icon:At,showIcon:Wt,switcherIcon:$t,showLine:Rt,loadData:Ge?null:Gt,motion:Mt,checkable:xe,checkStrictly:!0,checkedKeys:Xt,selectedKeys:xe?[]:ir,defaultExpandAll:ke},gn,{onActiveChange:jr,onSelect:xr,onCheck:xr,onExpand:ur,onLoad:dr,filterTreeNode:Ar})))},B=l.a.forwardRef(k);B.displayName="OptionList";var V=B,K=function(){return null},Y=K,Q=e("Ff2n"),he=e("Zm9Q");function G(bt){return Object(he.a)(bt).map(function(Lt){if(!l.a.isValidElement(Lt)||!Lt.type)return null;var or=Lt.key,Bt=Lt.props,_e=Bt.children,Ce=Bt.value,Ee=Object(Q.a)(Bt,["children","value"]),we=Object(x.a)({key:or,value:Ce},Ee),Fe=G(_e);return Fe.length&&(we.children=Fe),we}).filter(function(Lt){return Lt})}function ye(bt){if(!bt)return bt;var Lt=Object(x.a)({},bt);return"props"in Lt||Object.defineProperty(Lt,"props",{get:function(){return Object(L.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),Lt}}),Lt}function Ae(bt,Lt,or,Bt,_e){var Ce=null,Ee=null;function we(){function Fe(Ye){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Ye.map(function(Ke,ut){var wt="".concat(Ge,"-").concat(ut),It=or.includes(Ke.value),de=Fe(Ke.children||[],wt,It),xe=l.a.createElement(Y,Object.assign({},Ke),de.map(function(le){return le.node}));if(Lt===Ke.value&&(Ce=xe),It){var $={pos:wt,node:xe,children:de};return qe||Ee.push($),$}return null}).filter(function(Ke){return Ke})}Ee||(Ee=[],Fe(Bt),Ee.sort(function(Ye,Ge){var qe=Ye.node.props.value,Ke=Ge.node.props.value,ut=or.indexOf(qe),wt=or.indexOf(Ke);return ut-wt}))}Object.defineProperty(bt,"triggerNode",{get:function(){return Object(L.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),we(),Ce}}),Object.defineProperty(bt,"allCheckedNodes",{get:function(){return Object(L.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),we(),_e?Ee:Ee.map(function(Ye){var Ge=Ye.node;return Ge})}})}function ge(bt){return Array.isArray(bt)?bt:bt!==void 0?[bt]:[]}function Pe(bt,Lt){var or=new Map;return Lt.forEach(function(Bt){var _e=Bt.data;or.set(_e.value,_e)}),bt.map(function(Bt){return ye(or.get(Bt))})}function Re(bt,Lt){var or=Pe([bt],Lt)[0];return or?or.disabled:!1}function rt(bt){return bt.disabled||bt.disableCheckbox||bt.checkable===!1}function ne(bt){for(var Lt=bt.parent,or=0,Bt=Lt;Bt;)Bt=Bt.parent,or+=1;return or}function be(bt){function Lt(Bt){return(Bt||[]).map(function(_e){var Ce=_e.value,Ee=_e.key,we=_e.children,Fe=Object(x.a)(Object(x.a)({},_e),{},{key:"key"in _e?Ee:Ce});return we&&(Fe.children=Lt(we)),Fe})}var or=Object(_.d)(Lt(bt),!0);return or.map(function(Bt){return{key:Bt.data.key,data:Bt.data,level:ne(Bt)}})}function at(bt){return function(Lt,or){var Bt=or[bt];return String(Bt).toLowerCase().includes(String(Lt).toLowerCase())}}function se(bt,Lt,or){var Bt=or.optionFilterProp,_e=or.filterOption;if(_e===!1)return Lt;var Ce;typeof _e=="function"?Ce=_e:Ce=at(Bt);function Ee(we){var Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return we.map(function(Ye){var Ge=Ye.children,qe=Fe||Ce(bt,ye(Ye)),Ke=Ee(Ge||[],qe);return qe||Ke.length?Object(x.a)(Object(x.a)({},Ye),{},{children:Ke}):null}).filter(function(Ye){return Ye})}return Ee(Lt)}function q(bt,Lt,or,Bt){var _e=new Map;return ge(Lt).forEach(function(Ce){Ce&&Object(w.a)(Ce)==="object"&&"value"in Ce&&_e.set(Ce.value,Ce)}),bt.map(function(Ce){var Ee={value:Ce},we=or(Ce,"select",!0),Fe=we?Bt(we.data):Ce;if(_e.has(Ce)){var Ye=_e.get(Ce);Ee.label="label"in Ye?Ye.label:Fe,"halfChecked"in Ye&&(Ee.halfChecked=Ye.halfChecked)}else Ee.label=Fe;return Ee})}function X(bt,Lt){var or=new Set(bt);return or.add(Lt),Array.from(or)}function Z(bt,Lt){var or=new Set(bt);return or.delete(Lt),Array.from(or)}function pe(bt){var Lt=bt.searchPlaceholder,or=bt.treeCheckStrictly,Bt=bt.treeCheckable,_e=bt.labelInValue,Ce=bt.value,Ee=bt.multiple;Object(L.a)(!Lt,"`searchPlaceholder` has been removed."),or&&_e===!1&&Object(L.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(_e||or)&&Object(L.a)(ge(Ce).every(function(we){return we&&Object(w.a)(we)==="object"&&"value"in we}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),or||Ee||Bt?Object(L.a)(!Ce||Array.isArray(Ce),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(L.a)(!Array.isArray(Ce),"`value` should not be array when `TreeSelect` is single mode.")}var oe=pe,Ie=10;function fe(bt,Lt){var or=Lt.id,Bt=Lt.pId,_e=Lt.rootPId,Ce={},Ee=[],we=bt.map(function(Fe){var Ye=Object(x.a)({},Fe),Ge=Ye[or];return Ce[Ge]=Ye,Ye.key=Ye.key||Ge,Ye});return we.forEach(function(Fe){var Ye=Fe[Bt],Ge=Ce[Ye];Ge&&(Ge.children=Ge.children||[],Ge.children.push(Fe)),(Ye===_e||!Ge&&_e===null)&&Ee.push(Fe)}),Ee}function te(bt,Lt){var or=0,Bt=new Set;function _e(Ce){return(Ce||[]).map(function(Ee){var we=Ee.key,Fe=Ee.value,Ye=Ee.children,Ge=Object(Q.a)(Ee,["key","value","children"]),qe="value"in Ee?Fe:we,Ke=Object(x.a)(Object(x.a)({},Ge),{},{key:we!=null?we:qe,value:qe,title:Lt(Ee)});return"children"in Ee&&(Ke.children=_e(Ye)),Ke})}return _e(bt)}function J(bt,Lt,or){var Bt=or.getLabelProp,_e=or.simpleMode,Ce=l.a.useRef({});return bt?(Ce.current.formatTreeData=Ce.current.treeData===bt?Ce.current.formatTreeData:te(_e?fe(bt,Object(x.a)({id:"id",pId:"pId",rootPId:null},_e!==!0?_e:{})):bt,Bt),Ce.current.treeData=bt):Ce.current.formatTreeData=Ce.current.children===Lt?Ce.current.formatTreeData:te(G(Lt),Bt),Ce.current.formatTreeData}var ve="SHOW_ALL",De="SHOW_PARENT",ze="SHOW_CHILD";function dt(bt,Lt,or){var Bt=new Set(bt);return Lt===ze?bt.filter(function(_e){var Ce=or[_e];return!(Ce&&Ce.children&&Ce.children.every(function(Ee){var we=Ee.node;return rt(we)||Bt.has(we.key)}))}):Lt===De?bt.filter(function(_e){var Ce=or[_e],Ee=Ce?Ce.parent:null;return!(Ee&&!rt(Ee.node)&&Bt.has(Ee.node.key))}):bt}function Me(bt,Lt){var or=Lt.value,Bt=Lt.getEntityByValue,_e=Lt.getEntityByKey,Ce=Lt.treeConduction,Ee=Lt.showCheckedStrategy,we=Lt.conductKeyEntities,Fe=Lt.getLabelProp;return l.a.useMemo(function(){var Ye=bt;if(Ce){var Ge=dt(bt.map(function(qe){var Ke=Bt(qe);return Ke?Ke.key:qe}),Ee,we);Ye=Ge.map(function(qe){var Ke=_e(qe);return Ke?Ke.data.value:qe})}return q(Ye,or,Bt,Fe)},[bt,or,Ce,Ee,Bt])}var Tt=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],je=Object(E.a)({prefixCls:"rc-tree-select",components:{optionList:V},convertChildrenToData:function(){return null},flattenOptions:be,getLabeledValue:T.e,filterOptions:se,isValueDisabled:Re,findValueOption:Pe,omitDOMProps:function(Lt){var or=Object(x.a)({},Lt);return Tt.forEach(function(Bt){delete or[Bt]}),or}});je.displayName="Select";var st=n.forwardRef(function(bt,Lt){var or=bt.multiple,Bt=bt.treeCheckable,_e=bt.treeCheckStrictly,Ce=bt.showCheckedStrategy,Ee=Ce===void 0?"SHOW_CHILD":Ce,we=bt.labelInValue,Fe=bt.loadData,Ye=bt.treeLoadedKeys,Ge=bt.treeNodeFilterProp,qe=Ge===void 0?"value":Ge,Ke=bt.treeNodeLabelProp,ut=bt.treeDataSimpleMode,wt=bt.treeData,It=bt.treeExpandedKeys,de=bt.treeDefaultExpandedKeys,xe=bt.treeDefaultExpandAll,$=bt.children,le=bt.treeIcon,Oe=bt.showTreeIcon,ke=bt.switcherIcon,Ue=bt.treeLine,nt=bt.treeMotion,At=bt.filterTreeNode,Wt=bt.dropdownPopupAlign,$t=bt.onChange,Rt=bt.onTreeExpand,zt=bt.onTreeLoad,Gt=bt.onDropdownVisibleChange,Qt=bt.onSelect,Mt=bt.onDeselect,dr=Bt||_e,er=or||dr,ht=Bt&&!_e,Et=_e||we,pt=n.useRef(null);n.useImperativeHandle(Lt,function(){return{focus:pt.current.focus,blur:pt.current.blur}});var vt=function(Yn){return wt&&Yn.label||Yn.title},Nt=function(Yn){return Ke?Yn[Ke]:vt(Yn)},_t=J(wt,$,{getLabelProp:vt,simpleMode:ut}),gt=Object(n.useMemo)(function(){return be(_t)},[_t]),Ht=H(gt),kt=Object(C.a)(Ht,2),ir=kt[0],Xt=kt[1],mr=N(ir,Xt),Ar=Object(C.a)(mr,2),Nr=Ar[0],kr=Ar[1],tn=Object(n.useMemo)(function(){return ht?Object(_.a)(_t):{keyEntities:null}},[_t,Bt,_e]),qr=tn.keyEntities,_r=Object(O.a)(bt.defaultValue,{value:bt.value}),Qr=Object(C.a)(_r,2),Ir=Qr[0],cr=Qr[1],pr=function(Yn){var Vn=[],An=[];return Yn.forEach(function(on){kr(on)?An.push(on):Vn.push(on)}),{missingRawValues:Vn,existRawValues:An}},ur=Object(n.useMemo)(function(){var qn=[],Yn=[];if(ge(Ir).forEach(function(Ci){if(Ci&&Object(w.a)(Ci)==="object"&&"value"in Ci)if(Ci.halfChecked&&_e){var Gn=kr(Ci.value);qn.push(Gn?Gn.key:Ci.value)}else Yn.push(Ci.value);else Yn.push(Ci)}),ht){var Vn=pr(Yn),An=Vn.missingRawValues,on=Vn.existRawValues,ia=on.map(function(Ci){return kr(Ci).key}),xa=Object(v.a)(ia,!0,qr),ta=xa.checkedKeys,Ii=xa.halfCheckedKeys;return[[].concat(Object(A.a)(An),Object(A.a)(ta.map(function(Ci){return Nr(Ci).data.value}))),Ii]}return[Yn,qn]},[Ir,er,Et,Bt,_e]),fr=Object(C.a)(ur,2),xr=fr[0],Yr=fr[1],cn=Me(xr,{treeConduction:ht,value:Ir,showCheckedStrategy:Ee,conductKeyEntities:qr,getEntityByValue:kr,getEntityByKey:Nr,getLabelProp:Nt}),Nn=function(Yn,Vn,An){if(cr(er?Yn:Yn[0]),$t){var on=Yn;if(ht&&Ee!=="SHOW_ALL"){var ia=Yn.map(function(_n){var In=kr(_n);return In?In.key:_n}),xa=dt(ia,Ee,qr);on=xa.map(function(_n){var In=Nr(_n);return In?In.data.value:_n})}var ta=Vn||{triggerValue:void 0,selected:void 0},Ii=ta.triggerValue,Ci=ta.selected,Gn=Et?q(on,Ir,kr,Nt):on;if(_e){var Oa=Yr.map(function(_n){var In=Nr(_n);return In?In.data.value:_n}).filter(function(_n){return!on.includes(_n)});Gn=[].concat(Object(A.a)(Gn),Object(A.a)(q(Oa,Ir,kr,Nt)))}var mn={preValue:cn,triggerValue:Ii},On=!0;(_e||An==="selection"&&!Ci)&&(On=!1),Ae(mn,Ii,Yn,_t,On),dr?mn.checked=Ci:mn.selected=Ci,$t(er?Gn:Gn[0],Et?null:on.map(function(_n){var In=kr(_n);return In?Nt(In.data):null}),mn)}},jr=function(Yn,Vn,An){var on=Yn;if(!er)Nn([Yn],{selected:!0,triggerValue:Yn},An);else{var ia=X(xr,Yn);if(ht){var xa=pr(ia),ta=xa.missingRawValues,Ii=xa.existRawValues,Ci=Ii.map(function(mn){return kr(mn).key}),Gn=Object(v.a)(Ci,!0,qr),Oa=Gn.checkedKeys;ia=[].concat(Object(A.a)(ta),Object(A.a)(Oa.map(function(mn){return Nr(mn).data.value})))}Nn(ia,{selected:!0,triggerValue:Yn},An)}Qt&&Qt(on,Vn)},Tn=function(Yn,Vn,An){var on=Yn,ia=Z(xr,Yn);if(ht){var xa=pr(ia),ta=xa.missingRawValues,Ii=xa.existRawValues,Ci=Ii.map(function(mn){return kr(mn).key}),Gn=Object(v.a)(Ci,{checked:!1,halfCheckedKeys:Yr},qr),Oa=Gn.checkedKeys;ia=[].concat(Object(A.a)(ta),Object(A.a)(Oa.map(function(mn){return Nr(mn).data.value})))}Nn(ia,{selected:!1,triggerValue:Yn},An),Mt&&Mt(on,Vn)},gn=function(){Nn([],null,"clear")},Pn=n.useCallback(function(qn){if(Gt){var Yn={};Object.defineProperty(Yn,"documentClickClose",{get:function(){return Object(L.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Gt(qn,Yn)}},[Gt]),Kn={optionLabelProp:null,optionFilterProp:qe,dropdownAlign:Wt,internalProps:{mark:S.a,onClear:gn,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:jr,onRawDeselect:Tn}};return"filterTreeNode"in bt&&(Kn.filterOption=At),n.createElement(z.Provider,{value:{checkable:dr,loadData:Fe,treeLoadedKeys:Ye,onTreeLoad:zt,checkedKeys:xr,halfCheckedKeys:Yr,treeDefaultExpandAll:xe,treeExpandedKeys:It,treeDefaultExpandedKeys:de,onTreeExpand:Rt,treeIcon:le,treeMotion:nt,showTreeIcon:Oe,switcherIcon:ke,treeLine:Ue,treeNodeFilterProp:qe}},n.createElement(je,Object.assign({ref:pt,mode:er?"multiple":null},bt,Kn,{value:cn,labelInValue:!0,options:_t,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:Pn})))}),Xe=function(bt){Object(c.a)(or,bt);var Lt=Object(p.a)(or);function or(){var Bt;return Object(t.a)(this,or),Bt=Lt.apply(this,arguments),Bt.selectRef=n.createRef(),Bt.focus=function(){Bt.selectRef.current.focus()},Bt.blur=function(){Bt.selectRef.current.blur()},Bt}return Object(s.a)(or,[{key:"render",value:function(){return n.createElement(st,Object.assign({ref:this.selectRef},this.props))}}]),or}(n.Component);Xe.TreeNode=Y,Xe.SHOW_ALL=ve,Xe.SHOW_PARENT=De,Xe.SHOW_CHILD=ze;var Je=Xe,et=Je,ot=e("TSYQ"),Ve=e.n(ot),ue=e("BGR+"),ae=e("H84U"),lt=e("uaoM"),Ze=e("1vzs"),Te=e("2jpz"),Jt=e("3Nzz"),mt=function(bt){r()(or,bt);var Lt=d()(or);function or(Bt){var _e;return h()(this,or),_e=Lt.call(this,Bt),_e.selectRef=n.createRef(),_e.renderTreeSelect=function(Ce){var Ee=Ce.getPopupContainer,we=Ce.getPrefixCls,Fe=Ce.renderEmpty,Ye=Ce.direction,Ge=Ce.virtual,qe=Ce.dropdownMatchSelectWidth,Ke=_e.props,ut=Ke.prefixCls,wt=Ke.size,It=Ke.className,de=Ke.treeCheckable,xe=Ke.multiple,$=Ke.listHeight,le=$===void 0?256:$,Oe=Ke.listItemHeight,ke=Oe===void 0?26:Oe,Ue=Ke.notFoundContent,nt=Ke.switcherIcon,At=Ke.treeLine,Wt=Ke.getPopupContainer,$t=Ke.dropdownClassName,Rt=Ke.bordered,zt=Ke.treeIcon,Gt=zt===void 0?!1:zt,Qt=we("select",ut),Mt=we("select-tree",ut),dr=we("tree-select",ut),er=Ve()($t,"".concat(dr,"-dropdown"),m()({},"".concat(dr,"-dropdown-rtl"),Ye==="rtl")),ht=!!(de||xe),Et=Object(Ze.a)(f()(f()({},_e.props),{multiple:ht,prefixCls:Qt})),pt=Et.suffixIcon,vt=Et.itemIcon,Nt=Et.removeIcon,_t=Et.clearIcon,gt;Ue!==void 0?gt=Ue:gt=Fe("Select");var Ht=Object(ue.default)(_e.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","size","bordered"]);return n.createElement(Jt.b.Consumer,null,function(kt){var ir,Xt=wt||kt,mr=Ve()(!ut&&dr,(ir={},m()(ir,"".concat(Qt,"-lg"),Xt==="large"),m()(ir,"".concat(Qt,"-sm"),Xt==="small"),m()(ir,"".concat(Qt,"-rtl"),Ye==="rtl"),m()(ir,"".concat(Qt,"-borderless"),!Rt),ir),It);return n.createElement(et,f()({virtual:Ge,dropdownMatchSelectWidth:qe},Ht,{ref:_e.selectRef,prefixCls:Qt,className:mr,listHeight:le,listItemHeight:ke,treeCheckable:de&&n.createElement("span",{className:"".concat(Qt,"-tree-checkbox-inner")}),inputIcon:pt,menuItemSelectedIcon:vt,removeIcon:Nt,clearIcon:_t,switcherIcon:function(Nr){return Object(Te.a)(Mt,nt,At,Nr)},showTreeIcon:Gt,notFoundContent:gt,getPopupContainer:Wt||Ee,treeMotion:null,dropdownClassName:er}))})},Object(lt.a)(Bt.multiple!==!1||!Bt.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true"),_e}return i()(or,[{key:"focus",value:function(){this.selectRef.current&&this.selectRef.current.focus()}},{key:"blur",value:function(){this.selectRef.current&&this.selectRef.current.blur()}},{key:"render",value:function(){return n.createElement(ae.a,null,this.renderTreeSelect)}}]),or}(n.Component);mt.TreeNode=Y,mt.SHOW_ALL=ve,mt.SHOW_PARENT=De,mt.SHOW_CHILD=ze,mt.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var ft=I.a=mt},"5Uyt":function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("KmBX"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},"5YOS":function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("xb2K"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},"5YgA":function(R,I,e){},"5bA4":function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="LeftOutlined";var h=I.a=g.forwardRef(y)},"5nXd":function(R,I,e){var g=e("MFOe"),f=g.slice,b=g.pluck,m=g.each,y=g.bind,h=g.create,u=g.isList,i=g.isFunction,a=g.isObject;R.exports={createStore:d};var r={version:"2.0.12",enabled:!1,get:function(l,t){var s=this.storage.read(this._namespacePrefix+l);return this._deserialize(s,t)},set:function(l,t){return t===void 0?this.remove(l):(this.storage.write(this._namespacePrefix+l,this._serialize(t)),t)},remove:function(l){this.storage.remove(this._namespacePrefix+l)},each:function(l){var t=this;this.storage.each(function(s,c){l.call(t,t._deserialize(s),(c||"").replace(t._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(l){return this._namespacePrefix=="__storejs_"+l+"_"},createStore:function(){return d.apply(this,arguments)},addPlugin:function(l){this._addPlugin(l)},namespace:function(l){return d(this.storage,this.plugins,l)}};function o(){var n=typeof console=="undefined"?null:console;if(!n)return;var l=n.warn?n.warn:n.log;l.apply(n,arguments)}function d(n,l,t){t||(t=""),n&&!u(n)&&(n=[n]),l&&!u(l)&&(l=[l]);var s=t?"__storejs_"+t+"_":"",c=t?new RegExp("^"+s):null,p=/^[a-zA-Z0-9_\-]*$/;if(!p.test(t))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var A={_namespacePrefix:s,_namespaceRegexp:c,_testStorage:function(x){try{var E="__storejs__test__";x.write(E,E);var T=x.read(E)===E;return x.remove(E),T}catch(_){return!1}},_assignPluginFnProp:function(x,E){var T=this[E];this[E]=function(){var v=f(arguments,0),S=this;function O(){return T?(m(arguments,function(M,F){v[F]=M}),T.apply(S,v)):void 0}var L=[O].concat(v);return x.apply(S,L)}},_serialize:function(x){return JSON.stringify(x)},_deserialize:function(x,E){if(!x)return E;var T="";try{T=JSON.parse(x)}catch(_){T=x}return T!==void 0?T:E},_addStorage:function(x){if(this.enabled)return;this._testStorage(x)&&(this.storage=x,this.enabled=!0)},_addPlugin:function(x){var E=this;if(u(x)){m(x,function(v){E._addPlugin(v)});return}var T=b(this.plugins,function(v){return x===v});if(T)return;if(this.plugins.push(x),!i(x))throw new Error("Plugins must be function values that return objects");var _=x.call(this);if(!a(_))throw new Error("Plugins must return an object of function properties");m(_,function(v,S){if(!i(v))throw new Error("Bad plugin property: "+S+" from plugin "+x.name+". Plugins should only return functions.");E._assignPluginFnProp(v,S)})},addStorage:function(x){o("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(x)}},w=h(A,r,{plugins:[]});return w.raw={},m(w,function(C,x){i(C)&&(w.raw[x]=y(w,C))}),m(n,function(C){w._addStorage(C)}),m(l,function(C){w._addPlugin(C)}),w}},"5rEg":function(R,I,e){"use strict";var g=e("pVnL"),f=e.n(g),b=e("lwsE"),m=e.n(b),y=e("W8MJ"),h=e.n(y),u=e("7W2i"),i=e.n(u),a=e("LQ03"),r=e.n(a),o=e("lSNA"),d=e.n(o),n=e("q1tI"),l=e("TSYQ"),t=e.n(l),s=e("BGR+"),c=e("kbBi"),p=e.n(c),A=e("CWQg"),w=e("0n0R"),C=Object(A.a)("text","input");function x(Z){return!!(Z.prefix||Z.suffix||Z.allowClear)}var E=function(Z){i()(oe,Z);var pe=r()(oe);function oe(){var Ie;return m()(this,oe),Ie=pe.apply(this,arguments),Ie.containerRef=n.createRef(),Ie.onInputMouseUp=function(fe){var te;if((te=Ie.containerRef.current)===null||te===void 0?void 0:te.contains(fe.target)){var J=Ie.props.triggerFocus;J()}},Ie}return h()(oe,[{key:"renderClearIcon",value:function(fe){var te=this.props,J=te.allowClear,ve=te.value,De=te.disabled,ze=te.readOnly,dt=te.inputType,Me=te.handleReset;if(!J)return null;var Tt=!De&&!ze&&ve,je=dt===C[0]?"".concat(fe,"-textarea-clear-icon"):"".concat(fe,"-clear-icon");return n.createElement(p.a,{onClick:Me,className:t()(je,d()({},"".concat(je,"-hidden"),!Tt)),role:"button"})}},{key:"renderSuffix",value:function(fe){var te=this.props,J=te.suffix,ve=te.allowClear;return J||ve?n.createElement("span",{className:"".concat(fe,"-suffix")},this.renderClearIcon(fe),J):null}},{key:"renderLabeledIcon",value:function(fe,te){var J,ve=this.props,De=ve.focused,ze=ve.value,dt=ve.prefix,Me=ve.className,Tt=ve.size,je=ve.suffix,st=ve.disabled,Xe=ve.allowClear,Je=ve.direction,et=ve.style,ot=ve.readOnly,Ve=ve.bordered,ue=this.renderSuffix(fe);if(!x(this.props))return Object(w.a)(te,{value:ze});var ae=dt?n.createElement("span",{className:"".concat(fe,"-prefix")},dt):null,lt=t()(Me,"".concat(fe,"-affix-wrapper"),(J={},d()(J,"".concat(fe,"-affix-wrapper-focused"),De),d()(J,"".concat(fe,"-affix-wrapper-disabled"),st),d()(J,"".concat(fe,"-affix-wrapper-sm"),Tt==="small"),d()(J,"".concat(fe,"-affix-wrapper-lg"),Tt==="large"),d()(J,"".concat(fe,"-affix-wrapper-input-with-clear-btn"),je&&Xe&&ze),d()(J,"".concat(fe,"-affix-wrapper-rtl"),Je==="rtl"),d()(J,"".concat(fe,"-affix-wrapper-readonly"),ot),d()(J,"".concat(fe,"-affix-wrapper-borderless"),!Ve),J));return n.createElement("span",{ref:this.containerRef,className:lt,style:et,onMouseUp:this.onInputMouseUp},ae,Object(w.a)(te,{style:null,value:ze,className:M(fe,Ve,Tt,st)}),ue)}},{key:"renderInputWithLabel",value:function(fe,te){var J,ve,De=this.props,ze=De.addonBefore,dt=De.addonAfter,Me=De.style,Tt=De.size,je=De.className,st=De.direction;if(!ze&&!dt)return te;var Xe="".concat(fe,"-group"),Je="".concat(Xe,"-addon"),et=ze?n.createElement("span",{className:Je},ze):null,ot=dt?n.createElement("span",{className:Je},dt):null,Ve=t()("".concat(fe,"-wrapper"),(J={},d()(J,Xe,ze||dt),d()(J,"".concat(Xe,"-rtl"),st==="rtl"),J)),ue=t()(je,"".concat(fe,"-group-wrapper"),(ve={},d()(ve,"".concat(fe,"-group-wrapper-sm"),Tt==="small"),d()(ve,"".concat(fe,"-group-wrapper-lg"),Tt==="large"),d()(ve,"".concat(fe,"-group-wrapper-rtl"),st==="rtl"),ve));return n.createElement("span",{className:ue,style:Me},n.createElement("span",{className:Ve},et,Object(w.a)(te,{style:null}),ot))}},{key:"renderTextAreaWithClearIcon",value:function(fe,te){var J,ve=this.props,De=ve.value,ze=ve.allowClear,dt=ve.className,Me=ve.style,Tt=ve.direction,je=ve.bordered;if(!ze)return Object(w.a)(te,{value:De});var st=t()(dt,"".concat(fe,"-affix-wrapper"),"".concat(fe,"-affix-wrapper-textarea-with-clear-btn"),(J={},d()(J,"".concat(fe,"-affix-wrapper-rtl"),Tt==="rtl"),d()(J,"".concat(fe,"-affix-wrapper-borderless"),!je),J));return n.createElement("span",{className:st,style:Me},Object(w.a)(te,{style:null,value:De}),this.renderClearIcon(fe))}},{key:"render",value:function(){var fe=this.props,te=fe.prefixCls,J=fe.inputType,ve=fe.element;return J===C[0]?this.renderTextAreaWithClearIcon(te,ve):this.renderInputWithLabel(te,this.renderLabeledIcon(te,ve))}}]),oe}(n.Component),T=E,_=e("H84U"),v=e("3Nzz"),S=e("uaoM");function O(Z){return typeof Z=="undefined"||Z===null?"":Z}function L(Z,pe,oe){if(oe){var Ie=pe;if(pe.type==="click"){Ie=Object.create(pe),Ie.target=Z,Ie.currentTarget=Z;var fe=Z.value;Z.value="",oe(Ie),Z.value=fe;return}oe(Ie)}}function M(Z,pe,oe,Ie,fe){var te;return t()(Z,(te={},d()(te,"".concat(Z,"-sm"),oe==="small"),d()(te,"".concat(Z,"-lg"),oe==="large"),d()(te,"".concat(Z,"-disabled"),Ie),d()(te,"".concat(Z,"-rtl"),fe==="rtl"),d()(te,"".concat(Z,"-borderless"),!pe),te))}var F=function(Z){i()(oe,Z);var pe=r()(oe);function oe(Ie){var fe;m()(this,oe),fe=pe.call(this,Ie),fe.direction="ltr",fe.focus=function(){fe.input.focus()},fe.saveClearableInput=function(J){fe.clearableInput=J},fe.saveInput=function(J){fe.input=J},fe.onFocus=function(J){var ve=fe.props.onFocus;fe.setState({focused:!0},fe.clearPasswordValueAttribute),ve&&ve(J)},fe.onBlur=function(J){var ve=fe.props.onBlur;fe.setState({focused:!1},fe.clearPasswordValueAttribute),ve&&ve(J)},fe.handleReset=function(J){fe.setValue("",function(){fe.focus()}),L(fe.input,J,fe.props.onChange)},fe.renderInput=function(J,ve,De){var ze=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},dt=fe.props,Me=dt.className,Tt=dt.addonBefore,je=dt.addonAfter,st=dt.size,Xe=dt.disabled,Je=Object(s.default)(fe.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return n.createElement("input",f()({autoComplete:ze.autoComplete},Je,{onChange:fe.handleChange,onFocus:fe.onFocus,onBlur:fe.onBlur,onKeyDown:fe.handleKeyDown,className:t()(M(J,De,st||ve,Xe,fe.direction),d()({},Me,Me&&!Tt&&!je)),ref:fe.saveInput}))},fe.clearPasswordValueAttribute=function(){fe.removePasswordTimeout=setTimeout(function(){fe.input&&fe.input.getAttribute("type")==="password"&&fe.input.hasAttribute("value")&&fe.input.removeAttribute("value")})},fe.handleChange=function(J){fe.setValue(J.target.value,fe.clearPasswordValueAttribute),L(fe.input,J,fe.props.onChange)},fe.handleKeyDown=function(J){var ve=fe.props,De=ve.onPressEnter,ze=ve.onKeyDown;J.keyCode===13&&De&&De(J),ze&&ze(J)},fe.renderComponent=function(J){var ve=J.getPrefixCls,De=J.direction,ze=J.input,dt=fe.state,Me=dt.value,Tt=dt.focused,je=fe.props,st=je.prefixCls,Xe=je.bordered,Je=Xe===void 0?!0:Xe,et=ve("input",st);return fe.direction=De,n.createElement(v.b.Consumer,null,function(ot){return n.createElement(T,f()({size:ot},fe.props,{prefixCls:et,inputType:"input",value:O(Me),element:fe.renderInput(et,ot,Je,ze),handleReset:fe.handleReset,ref:fe.saveClearableInput,direction:De,focused:Tt,triggerFocus:fe.focus,bordered:Je}))})};var te=typeof Ie.value=="undefined"?Ie.defaultValue:Ie.value;return fe.state={value:te,focused:!1,prevValue:Ie.value},fe}return h()(oe,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(fe){return x(fe)!==x(this.props)&&Object(S.a)(this.input!==document.activeElement,"Input","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),null}},{key:"componentWillUnmount",value:function(){this.removePasswordTimeout&&clearTimeout(this.removePasswordTimeout)}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"setValue",value:function(fe,te){this.props.value===void 0&&this.setState({value:fe},te)}},{key:"render",value:function(){return n.createElement(_.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(fe,te){var J=te.prevValue,ve={prevValue:fe.value};return(fe.value!==void 0||J!==fe.value)&&(ve.value=fe.value),ve}}]),oe}(n.Component);F.defaultProps={type:"text"};var U=F,z=function(pe){return n.createElement(_.a,null,function(oe){var Ie,fe=oe.getPrefixCls,te=oe.direction,J=pe.prefixCls,ve=pe.className,De=ve===void 0?"":ve,ze=fe("input-group",J),dt=t()(ze,(Ie={},d()(Ie,"".concat(ze,"-lg"),pe.size==="large"),d()(Ie,"".concat(ze,"-sm"),pe.size==="small"),d()(Ie,"".concat(ze,"-compact"),pe.compact),d()(Ie,"".concat(ze,"-rtl"),te==="rtl"),Ie),De);return n.createElement("span",{className:dt,style:pe.style,onMouseEnter:pe.onMouseEnter,onMouseLeave:pe.onMouseLeave,onFocus:pe.onFocus,onBlur:pe.onBlur},pe.children)})},W=z,N=e("c+Xe"),H=e("w6Tc"),j=e.n(H),k=e("gZBC"),B=e.n(k),V=e("2/Rp"),K=function(Z,pe){var oe={};for(var Ie in Z)Object.prototype.hasOwnProperty.call(Z,Ie)&&pe.indexOf(Ie)<0&&(oe[Ie]=Z[Ie]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,Ie=Object.getOwnPropertySymbols(Z);fe<Ie.length;fe++)pe.indexOf(Ie[fe])<0&&Object.prototype.propertyIsEnumerable.call(Z,Ie[fe])&&(oe[Ie[fe]]=Z[Ie[fe]]);return oe},Y=n.forwardRef(function(Z,pe){var oe=n.useRef(null),Ie=function(Me){var Tt=Z.onChange,je=Z.onSearch;Me&&Me.target&&Me.type==="click"&&je&&je(Me.target.value,Me),Tt&&Tt(Me)},fe=function(Me){var Tt;document.activeElement===((Tt=oe.current)===null||Tt===void 0?void 0:Tt.input)&&Me.preventDefault()},te=function(Me){var Tt,je=Z.onSearch,st=Z.loading,Xe=Z.disabled;if(st||Xe)return;je&&je((Tt=oe.current)===null||Tt===void 0?void 0:Tt.input.value,Me)},J=function(Me){var Tt=Z.enterButton,je=Z.size;return Tt?n.createElement(v.b.Consumer,{key:"enterButton"},function(st){return n.createElement(V.a,{className:"".concat(Me,"-button"),type:"primary",size:je||st},n.createElement(B.a,null))}):n.createElement(B.a,{className:"".concat(Me,"-icon"),key:"loadingIcon"})},ve=function(Me){var Tt=Z.suffix,je=Z.enterButton,st=Z.loading;if(st&&!je)return[Tt,J(Me)];if(je)return Tt;var Xe=n.createElement(j.a,{className:"".concat(Me,"-icon"),key:"searchIcon",onClick:te});return Tt?[Object(w.c)(Tt,null,{key:"suffix"}),Xe]:Xe},De=function(Me,Tt){var je=Z.enterButton,st=Z.disabled,Xe=Z.addonAfter,Je=Z.loading,et="".concat(Me,"-button");if(Je&&je)return[J(Me),Xe];if(!je)return Xe;var ot,Ve=je,ue=Ve.type&&Ve.type.__ANT_BUTTON===!0;return ue||Ve.type==="button"?ot=Object(w.a)(Ve,f()({onMouseDown:fe,onClick:te,key:"enterButton"},ue?{className:et,size:Tt}:{})):ot=n.createElement(V.a,{className:et,type:"primary",size:Tt,disabled:st,key:"enterButton",onMouseDown:fe,onClick:te},je===!0?n.createElement(j.a,null):je),Xe?[ot,Object(w.c)(Xe,null,{key:"addonAfter"})]:ot},ze=function(Me){var Tt=Me.getPrefixCls,je=Me.direction,st=Z.prefixCls,Xe=Z.inputPrefixCls,Je=Z.enterButton,et=Z.className,ot=Z.size,Ve=K(Z,["prefixCls","inputPrefixCls","enterButton","className","size"]);delete Ve.onSearch,delete Ve.loading;var ue=Tt("input-search",st),ae=Tt("input",Xe),lt=function(Te){var Jt;if(Je){var mt;Jt=t()(ue,et,(mt={},d()(mt,"".concat(ue,"-rtl"),je==="rtl"),d()(mt,"".concat(ue,"-enter-button"),!!Je),d()(mt,"".concat(ue,"-").concat(Te),!!Te),mt))}else Jt=t()(ue,et,d()({},"".concat(ue,"-rtl"),je==="rtl"));return Jt};return n.createElement(v.b.Consumer,null,function(Ze){return n.createElement(U,f()({ref:Object(N.a)(oe,pe),onPressEnter:te},Ve,{size:ot||Ze,prefixCls:ae,addonAfter:De(ue,ot||Ze),suffix:ve(ue),onChange:Ie,className:lt(ot||Ze)}))})};return n.createElement(_.a,null,ze)});Y.defaultProps={enterButton:!1},Y.displayName="Search";var Q=Y,he=e("Y1PL"),G=function(Z){i()(oe,Z);var pe=r()(oe);function oe(Ie){var fe;m()(this,oe),fe=pe.call(this,Ie),fe.focus=function(){fe.resizableTextArea.textArea.focus()},fe.saveTextArea=function(J){fe.resizableTextArea=J==null?void 0:J.resizableTextArea},fe.saveClearableInput=function(J){fe.clearableInput=J},fe.handleChange=function(J){fe.setValue(J.target.value),L(fe.resizableTextArea.textArea,J,fe.props.onChange)},fe.handleReset=function(J){fe.setValue("",function(){fe.focus()}),L(fe.resizableTextArea.textArea,J,fe.props.onChange)},fe.renderTextArea=function(J,ve){return n.createElement(he.default,f()({},Object(s.default)(fe.props,["allowClear","bordered"]),{className:t()(fe.props.className,d()({},"".concat(J,"-borderless"),!ve)),prefixCls:J,onChange:fe.handleChange,ref:fe.saveTextArea}))},fe.renderComponent=function(J){var ve=J.getPrefixCls,De=J.direction,ze=fe.state.value,dt=fe.props,Me=dt.prefixCls,Tt=dt.bordered,je=Tt===void 0?!0:Tt,st=ve("input",Me);return n.createElement(T,f()({},fe.props,{prefixCls:st,direction:De,inputType:"text",value:O(ze),element:fe.renderTextArea(st,je),handleReset:fe.handleReset,ref:fe.saveClearableInput,triggerFocus:fe.focus,bordered:je}))};var te=typeof Ie.value=="undefined"?Ie.defaultValue:Ie.value;return fe.state={value:te},fe}return h()(oe,[{key:"setValue",value:function(fe,te){this.props.value===void 0&&this.setState({value:fe},te)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return n.createElement(_.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(fe){return fe.value!==void 0?{value:fe.value}:null}}]),oe}(n.Component),ye=G,Ae=e("J4zp"),ge=e.n(Ae),Pe=e("qPY4"),Re=e.n(Pe),rt=e("fUL4"),ne=e.n(rt),be=function(Z,pe){var oe={};for(var Ie in Z)Object.prototype.hasOwnProperty.call(Z,Ie)&&pe.indexOf(Ie)<0&&(oe[Ie]=Z[Ie]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,Ie=Object.getOwnPropertySymbols(Z);fe<Ie.length;fe++)pe.indexOf(Ie[fe])<0&&Object.prototype.propertyIsEnumerable.call(Z,Ie[fe])&&(oe[Ie[fe]]=Z[Ie[fe]]);return oe},at={click:"onClick",hover:"onMouseOver"},se=n.forwardRef(function(Z,pe){var oe=Object(n.useState)(!1),Ie=ge()(oe,2),fe=Ie[0],te=Ie[1],J=function(){var dt=Z.disabled;if(dt)return;te(!fe)},ve=function(dt){var Me,Tt=Z.action,je=Z.iconRender,st=je===void 0?function(){return null}:je,Xe=at[Tt]||"",Je=st(fe),et=(Me={},d()(Me,Xe,J),d()(Me,"className","".concat(dt,"-icon")),d()(Me,"key","passwordIcon"),d()(Me,"onMouseDown",function(Ve){Ve.preventDefault()}),d()(Me,"onMouseUp",function(Ve){Ve.preventDefault()}),Me);return n.cloneElement(n.isValidElement(Je)?Je:n.createElement("span",null,Je),et)},De=function(dt){var Me=dt.getPrefixCls,Tt=Z.className,je=Z.prefixCls,st=Z.inputPrefixCls,Xe=Z.size,Je=Z.visibilityToggle,et=be(Z,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),ot=Me("input",st),Ve=Me("input-password",je),ue=Je&&ve(Ve),ae=t()(Ve,Tt,d()({},"".concat(Ve,"-").concat(Xe),!!Xe)),lt=f()(f()({},Object(s.default)(et,["suffix","iconRender"])),{type:fe?"text":"password",className:ae,prefixCls:ot,suffix:ue});return Xe&&(lt.size=Xe),n.createElement(U,f()({ref:pe},lt))};return n.createElement(_.a,null,De)});se.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(pe){return pe?n.createElement(Re.a,null):n.createElement(ne.a,null)}},se.displayName="Password";var q=se;U.Group=W,U.Search=Q,U.TextArea=ye,U.Password=q;var X=I.a=U},"5s0K":function(R,I,e){var g=e("bYtY");function f(){var b=[],m={},y;return{add:function(h,u,i,a,r){return g.isString(a)&&(r=a,a=0),m[h.id]?!1:(m[h.id]=1,b.push({el:h,target:u,time:i,delay:a,easing:r}),!0)},done:function(h){return y=h,this},start:function(){for(var h=b.length,u=0,i=b.length;u<i;u++){var a=b[u];a.el.animateTo(a.target,a.time,a.delay,a.easing,r)}return this;function r(){h--,h||(b.length=0,m={},y&&y())}}}}I.createWrap=f},"5yev":function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"};I.default=g},"6/k+":function(R,I,e){},"6/nd":function(R,I,e){var g=e("ProS");g.registerAction("legendScroll","legendscroll",function(f,b){var m=f.scrollDataIndex;m!=null&&b.eachComponent({mainType:"legend",subType:"scroll",query:f},function(y){y.setScrollDataIndex(m)})})},"62sa":function(R,I,e){var g=e("bYtY"),f=e("4NO4"),b=f.makeInner,m=e("zTMp"),y=e("Ez2D"),h=g.each,u=g.curry,i=b();function a(w,C,x){var E=w.currTrigger,T=[w.x,w.y],_=w,v=w.dispatchAction||g.bind(x.dispatchAction,x),S=C.getComponent("axisPointer").coordSysAxesInfo;if(!S)return;A(T)&&(T=y({seriesIndex:_.seriesIndex,dataIndex:_.dataIndex},C).point);var O=A(T),L=_.axesInfo,M=S.axesInfo,F=E==="leave"||A(T),U={},z={},W={list:[],map:{}},N={showPointer:u(d,z),showTooltip:u(n,W)};h(S.coordSysMap,function(j,k){var B=O||j.containPoint(T);h(S.coordSysAxesInfo[k],function(V,K){var Y=V.axis,Q=c(L,V);if(!F&&B&&(!L||Q)){var he=Q&&Q.value;he==null&&!O&&(he=Y.pointToData(T)),he!=null&&r(V,he,N,!1,U)}})});var H={};return h(M,function(j,k){var B=j.linkGroup;B&&!z[k]&&h(B.axesInfo,function(V,K){var Y=z[K];if(V!==j&&Y){var Q=Y.value;B.mapper&&(Q=j.axis.scale.parse(B.mapper(Q,p(V),p(j)))),H[j.key]=Q}})}),h(H,function(j,k){r(M[k],j,N,!0,U)}),l(z,M,U),t(W,T,w,v),s(M,v,x),U}function r(w,C,x,E,T){var _=w.axis;if(_.scale.isBlank()||!_.containData(C))return;if(!w.involveSeries){x.showPointer(w,C);return}var v=o(C,w),S=v.payloadBatch,O=v.snapToValue;S[0]&&T.seriesIndex==null&&g.extend(T,S[0]),!E&&w.snap&&(_.containData(O)&&O!=null&&(C=O)),x.showPointer(w,C,S,T),x.showTooltip(w,v,O)}function o(w,C){var x=C.axis,E=x.dim,T=w,_=[],v=Number.MAX_VALUE,S=-1;return h(C.seriesModels,function(O,L){var M=O.getData().mapDimension(E,!0),F,U;if(O.getAxisTooltipData){var z=O.getAxisTooltipData(M,w,x);U=z.dataIndices,F=z.nestestValue}else{if(U=O.getData().indicesOfNearest(M[0],w,x.type==="category"?.5:null),!U.length)return;F=O.getData().get(M[0],U[0])}if(F==null||!isFinite(F))return;var W=w-F,N=Math.abs(W);N<=v&&((N<v||W>=0&&S<0)&&(v=N,S=W,T=F,_.length=0),h(U,function(H){_.push({seriesIndex:O.seriesIndex,dataIndexInside:H,dataIndex:O.getData().getRawIndex(H)})}))}),{payloadBatch:_,snapToValue:T}}function d(w,C,x,E){w[C.key]={value:x,payloadBatch:E}}function n(w,C,x,E){var T=x.payloadBatch,_=C.axis,v=_.model,S=C.axisPointerModel;if(!C.triggerTooltip||!T.length)return;var O=C.coordSys.model,L=m.makeKey(O),M=w.map[L];M||(M=w.map[L]={coordSysId:O.id,coordSysIndex:O.componentIndex,coordSysType:O.type,coordSysMainType:O.mainType,dataByAxis:[]},w.list.push(M)),M.dataByAxis.push({axisDim:_.dim,axisIndex:v.componentIndex,axisType:v.type,axisId:v.id,value:E,valueLabelOpt:{precision:S.get("label.precision"),formatter:S.get("label.formatter")},seriesDataIndices:T.slice()})}function l(w,C,x){var E=x.axesInfo=[];h(C,function(T,_){var v=T.axisPointerModel.option,S=w[_];S?(!T.useHandle&&(v.status="show"),v.value=S.value,v.seriesDataIndices=(S.payloadBatch||[]).slice()):!T.useHandle&&(v.status="hide"),v.status==="show"&&E.push({axisDim:T.axis.dim,axisIndex:T.axis.model.componentIndex,value:v.value})})}function t(w,C,x,E){if(A(C)||!w.list.length){E({type:"hideTip"});return}var T=((w.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};E({type:"showTip",escapeConnect:!0,x:C[0],y:C[1],tooltipOption:x.tooltipOption,position:x.position,dataIndexInside:T.dataIndexInside,dataIndex:T.dataIndex,seriesIndex:T.seriesIndex,dataByCoordSys:w.list})}function s(w,C,x){var E=x.getZr(),T="axisPointerLastHighlights",_=i(E)[T]||{},v=i(E)[T]={};h(w,function(L,M){var F=L.axisPointerModel.option;F.status==="show"&&h(F.seriesDataIndices,function(U){var z=U.seriesIndex+" | "+U.dataIndex;v[z]=U})});var S=[],O=[];g.each(_,function(L,M){!v[M]&&O.push(L)}),g.each(v,function(L,M){!_[M]&&S.push(L)}),O.length&&x.dispatchAction({type:"downplay",escapeConnect:!0,batch:O}),S.length&&x.dispatchAction({type:"highlight",escapeConnect:!0,batch:S})}function c(w,C){for(var x=0;x<(w||[]).length;x++){var E=w[x];if(C.axis.dim===E.axisDim&&C.axis.model.componentIndex===E.axisIndex)return E}}function p(w){var C=w.axis.model,x={},E=x.axisDim=w.axis.dim;return x.axisIndex=x[E+"AxisIndex"]=C.componentIndex,x.axisName=x[E+"AxisName"]=C.name,x.axisId=x[E+"AxisId"]=C.id,x}function A(w){return!w||w[0]==null||isNaN(w[0])||w[1]==null||isNaN(w[1])}R.exports=a},"6BzB":function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.shrinkBuf=g,I.arraySet=f,I.flattenChunks=b,I.Buf32=I.Buf16=I.Buf8=void 0;function g(u,i){return u.length===i?u:u.subarray?u.subarray(0,i):(u.length=i,u)}function f(u,i,a,r,o){if(i.subarray&&u.subarray){u.set(i.subarray(a,a+r),o);return}for(var d=0;d<r;d++)u[o+d]=i[a+d]}function b(u){var i,a,r,o,d,n;for(r=0,i=0,a=u.length;i<a;i++)r+=u[i].length;for(n=new Uint8Array(r),o=0,i=0,a=u.length;i<a;i++)d=u[i],n.set(d,o),o+=d.length;return n}var m=Uint8Array;I.Buf8=m;var y=Uint16Array;I.Buf16=y;var h=Int32Array;I.Buf32=h},"6D9b":function(R,I,e){},"6GrX":function(R,I,e){var g=e("mFDi"),f=e("Xnb7"),b=e("bYtY"),m=b.getContext,y=b.extend,h=b.retrieve2,u=b.retrieve3,i=b.trim,a={},r=0,o=5e3,d=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,n="12px sans-serif",l={};function t(W,N){l[W]=N}function s(W,N){N=N||n;var H=W+":"+N;if(a[H])return a[H];for(var j=(W+"").split(`
`),k=0,B=0,V=j.length;B<V;B++)k=Math.max(L(j[B],N).width,k);return r>o&&(r=0,a={}),r++,a[H]=k,k}function c(W,N,H,j,k,B,V,K){return V?A(W,N,H,j,k,B,V,K):p(W,N,H,j,k,B,K)}function p(W,N,H,j,k,B,V){var K=M(W,N,k,B,V),Y=s(W,N);k&&(Y+=k[1]+k[3]);var Q=K.outerHeight,he=w(0,Y,H),G=C(0,Q,j),ye=new g(he,G,Y,Q);return ye.lineHeight=K.lineHeight,ye}function A(W,N,H,j,k,B,V,K){var Y=F(W,{rich:V,truncate:K,font:N,textAlign:H,textPadding:k,textLineHeight:B}),Q=Y.outerWidth,he=Y.outerHeight,G=w(0,Q,H),ye=C(0,he,j);return new g(G,ye,Q,he)}function w(W,N,H){return H==="right"?W-=N:H==="center"&&(W-=N/2),W}function C(W,N,H){return H==="middle"?W-=N/2:H==="bottom"&&(W-=N),W}function x(W,N,H){var j=N.textPosition,k=N.textDistance,B=H.x,V=H.y;k=k||0;var K=H.height,Y=H.width,Q=K/2,he="left",G="top";switch(j){case"left":B-=k,V+=Q,he="right",G="middle";break;case"right":B+=k+Y,V+=Q,G="middle";break;case"top":B+=Y/2,V-=k,he="center",G="bottom";break;case"bottom":B+=Y/2,V+=K+k,he="center";break;case"inside":B+=Y/2,V+=Q,he="center",G="middle";break;case"insideLeft":B+=k,V+=Q,G="middle";break;case"insideRight":B+=Y-k,V+=Q,he="right",G="middle";break;case"insideTop":B+=Y/2,V+=k,he="center";break;case"insideBottom":B+=Y/2,V+=K-k,he="center",G="bottom";break;case"insideTopLeft":B+=k,V+=k;break;case"insideTopRight":B+=Y-k,V+=k,he="right";break;case"insideBottomLeft":B+=k,V+=K-k,G="bottom";break;case"insideBottomRight":B+=Y-k,V+=K-k,he="right",G="bottom";break}return W=W||{},W.x=B,W.y=V,W.textAlign=he,W.textVerticalAlign=G,W}function E(W,N,H){var j={textPosition:W,textDistance:H};return x({},j,N)}function T(W,N,H,j,k){if(!N)return"";var B=(W+"").split(`
`);k=_(N,H,j,k);for(var V=0,K=B.length;V<K;V++)B[V]=v(B[V],k);return B.join(`
`)}function _(W,N,H,j){j=y({},j),j.font=N;var H=h(H,"...");j.maxIterations=h(j.maxIterations,2);var k=j.minChar=h(j.minChar,0);j.cnCharWidth=s("\u56FD",N);var B=j.ascCharWidth=s("a",N);j.placeholder=h(j.placeholder,"");for(var V=W=Math.max(0,W-1),K=0;K<k&&V>=B;K++)V-=B;var Y=s(H,N);return Y>V&&(H="",Y=0),V=W-Y,j.ellipsis=H,j.ellipsisWidth=Y,j.contentWidth=V,j.containerWidth=W,j}function v(W,N){var H=N.containerWidth,j=N.font,k=N.contentWidth;if(!H)return"";var B=s(W,j);if(B<=H)return W;for(var V=0;;V++){if(B<=k||V>=N.maxIterations){W+=N.ellipsis;break}var K=V===0?S(W,k,N.ascCharWidth,N.cnCharWidth):B>0?Math.floor(W.length*k/B):0;W=W.substr(0,K),B=s(W,j)}return W===""&&(W=N.placeholder),W}function S(W,N,H,j){for(var k=0,B=0,V=W.length;B<V&&k<N;B++){var K=W.charCodeAt(B);k+=0<=K&&K<=127?H:j}return B}function O(W){return s("\u56FD",W)}function L(W,N){return l.measureText(W,N)}l.measureText=function(W,N){var H=m();return H.font=N||n,H.measureText(W)};function M(W,N,H,j,k){W!=null&&(W+="");var B=h(j,O(N)),V=W?W.split(`
`):[],K=V.length*B,Y=K,Q=!0;if(H&&(Y+=H[0]+H[2]),W&&k){Q=!1;var he=k.outerHeight,G=k.outerWidth;if(he!=null&&Y>he)W="",V=[];else if(G!=null)for(var ye=_(G-(H?H[1]+H[3]:0),N,k.ellipsis,{minChar:k.minChar,placeholder:k.placeholder}),Ae=0,ge=V.length;Ae<ge;Ae++)V[Ae]=v(V[Ae],ye)}return{lines:V,height:K,outerHeight:Y,lineHeight:B,canCacheByTextString:Q}}function F(W,N){var H={lines:[],width:0,height:0};if(W!=null&&(W+=""),!W)return H;for(var j=d.lastIndex=0,k;(k=d.exec(W))!=null;){var B=k.index;B>j&&U(H,W.substring(j,B)),U(H,k[2],k[1]),j=d.lastIndex}j<W.length&&U(H,W.substring(j,W.length));var V=H.lines,K=0,Y=0,Q=[],he=N.textPadding,G=N.truncate,ye=G&&G.outerWidth,Ae=G&&G.outerHeight;he&&(ye!=null&&(ye-=he[1]+he[3]),Ae!=null&&(Ae-=he[0]+he[2]));for(var ge=0;ge<V.length;ge++){for(var Pe=V[ge],Re=0,rt=0,ne=0;ne<Pe.tokens.length;ne++){var be=Pe.tokens[ne],at=be.styleName&&N.rich[be.styleName]||{},se=be.textPadding=at.textPadding,q=be.font=at.font||N.font,X=be.textHeight=h(at.textHeight,O(q));if(se&&(X+=se[0]+se[2]),be.height=X,be.lineHeight=u(at.textLineHeight,N.textLineHeight,X),be.textAlign=at&&at.textAlign||N.textAlign,be.textVerticalAlign=at&&at.textVerticalAlign||"middle",Ae!=null&&K+be.lineHeight>Ae)return{lines:[],width:0,height:0};be.textWidth=s(be.text,q);var Z=at.textWidth,pe=Z==null||Z==="auto";if(typeof Z=="string"&&Z.charAt(Z.length-1)==="%")be.percentWidth=Z,Q.push(be),Z=0;else{if(pe){Z=be.textWidth;var oe=at.textBackgroundColor,Ie=oe&&oe.image;Ie&&(Ie=f.findExistImage(Ie),f.isImageReady(Ie)&&(Z=Math.max(Z,Ie.width*X/Ie.height)))}var fe=se?se[1]+se[3]:0;Z+=fe;var te=ye!=null?ye-rt:null;te!=null&&te<Z&&(!pe||te<fe?(be.text="",be.textWidth=Z=0):(be.text=T(be.text,te-fe,q,G.ellipsis,{minChar:G.minChar}),be.textWidth=s(be.text,q),Z=be.textWidth+fe))}rt+=be.width=Z,at&&(Re=Math.max(Re,be.lineHeight))}Pe.width=rt,Pe.lineHeight=Re,K+=Re,Y=Math.max(Y,rt)}H.outerWidth=H.width=h(N.textWidth,Y),H.outerHeight=H.height=h(N.textHeight,K),he&&(H.outerWidth+=he[1]+he[3],H.outerHeight+=he[0]+he[2]);for(var ge=0;ge<Q.length;ge++){var be=Q[ge],J=be.percentWidth;be.width=parseInt(J,10)/100*Y}return H}function U(W,N,H){for(var j=N==="",k=N.split(`
`),B=W.lines,V=0;V<k.length;V++){var K=k[V],Y={styleName:H,text:K,isLineHolder:!K&&!j};if(V)B.push({tokens:[Y]});else{var Q=(B[B.length-1]||(B[0]={tokens:[]})).tokens,he=Q.length;he===1&&Q[0].isLineHolder?Q[0]=Y:(K||!he||j)&&Q.push(Y)}}}function z(W){var N=(W.fontSize||W.fontFamily)&&[W.fontStyle,W.fontWeight,(W.fontSize||12)+"px",W.fontFamily||"sans-serif"].join(" ");return N&&i(N)||W.textFont||W.font}I.DEFAULT_FONT=n,I.$override=t,I.getWidth=s,I.getBoundingRect=c,I.adjustTextX=w,I.adjustTextY=C,I.calculateTextPosition=x,I.adjustTextPositionOnRect=E,I.truncateText=T,I.getLineHeight=O,I.measureText=L,I.parsePlainText=M,I.parseRichText=F,I.makeFont=z},"6Hfg":function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("FhB9")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="SwapRightOutlined";var u=b.forwardRef(h);I.default=u},"6Ic6":function(R,I,e){var g=e("bYtY"),f=g.each,b=e("4fz+"),m=e("iRjW"),y=e("Yl7c"),h=e("4NO4"),u=e("IwbS"),i=e("9H2F"),a=i.createTask,r=e("zM3Q"),o=h.makeInner(),d=r();function n(){this.group=new b,this.uid=m.getUID("viewChart"),this.renderTask=a({plan:c,reset:p}),this.renderTask.context={view:this}}n.prototype={type:"chart",init:function(C,x){},render:function(C,x,E,T){},highlight:function(C,x,E,T){s(C.getData(),T,"emphasis")},downplay:function(C,x,E,T){s(C.getData(),T,"normal")},remove:function(C,x){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var l=n.prototype;l.updateView=l.updateLayout=l.updateVisual=function(C,x,E,T){this.render(C,x,E,T)};function t(C,x,E){if(C&&(C.trigger(x,E),C.isGroup&&!u.isHighDownDispatcher(C)))for(var T=0,_=C.childCount();T<_;T++)t(C.childAt(T),x,E)}function s(C,x,E){var T=h.queryDataIndex(C,x),_=x&&x.highlightKey!=null?u.getHighlightDigit(x.highlightKey):null;T!=null?f(h.normalizeToArray(T),function(v){t(C.getItemGraphicEl(v),E,_)}):C.eachItemGraphicEl(function(v){t(v,E,_)})}y.enableClassExtend(n,["dispose"]),y.enableClassManagement(n,{registerWhenExtend:!0}),n.markUpdateMethod=function(C,x){o(C).updateMethod=x};function c(C){return d(C.model)}function p(C){var x=C.model,E=C.ecModel,T=C.api,_=C.payload,v=x.pipelineContext.progressiveRender,S=C.view,O=_&&o(_).updateMethod,L=v?"incrementalPrepareRender":O&&S[O]?O:"render";return L!=="render"&&S[L](x,E,T,_),A[L]}var A={incrementalPrepareRender:{progress:function(C,x){x.view.incrementalRender(C,x.model,x.ecModel,x.api,x.payload)}},render:{forceFirstProgress:!0,progress:function(C,x){x.view.render(x.model,x.ecModel,x.api,x.payload)}}},w=n;R.exports=w},"6MrE":function(R,I,e){},"6Qwc":function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g={8:"Backspace",9:"Tab",10:"NumpadClear",12:"Numpad5",13:"Enter",16:"ShiftLeft",17:"ControlLeft",18:"AltLeft",19:"Pause",20:"CapsLock",21:"Lang1",25:"Lang2",27:"Escape",28:"Convert",29:"NonConvert",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",41:"Select",44:"PrintScreen",45:"Insert",46:"Delete",47:"Help",48:"Digit0",49:"Digit1",50:"Digit2",51:"Digit3",52:"Digit4",53:"Digit5",54:"Digit6",55:"Digit7",56:"Digit8",57:"Digit9",91:"MetaLeft",92:"MetaRight",93:"ContextMenu",95:"Sleep",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9",106:"NumpadMultiply",107:"NumpadAdd",108:"NumpadDecimal",109:"NumpadSubtract",110:"NumpadDecimal",111:"NumpadDivide",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",124:"F13",125:"F14",126:"F15",127:"F16",128:"F17",129:"F18",130:"F19",131:"F20",132:"F21",133:"F22",134:"F23",135:"F24",144:"NumLock",145:"ScrollLock",166:"BrowserBack",167:"BrowserForward",168:"BrowserRefresh",169:"BrowserStop",170:"BrowserSearch",171:"BrowserFavorites",172:"BrowserHome",173:"AudioVolumeMute",174:"AudioVolumeDown",175:"AudioVolumeUp",176:"MediaTrackNext",177:"MediaTrackPrevious",178:"MediaStop",179:"MediaPlayPause",180:"LaunchMail",181:"MediaSelect",182:"LaunchApp1",183:"LaunchApp2",225:"AltRight"};I.default=g},"6SEX":function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("qWUW"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},"6UJt":function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("v56E"),m=e.n(b),y=e("R9oj"),h=e("5NDa")},"6VBw":function(R,I,e){"use strict";var g=e("ODXe"),f=e("rePB"),b=e("Ff2n"),m=e("q1tI"),y=e("TSYQ"),h=e.n(y),u=e("VTBJ"),i=e("Qi1f"),a={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function r(p){var A=p.primaryColor,w=p.secondaryColor;a.primaryColor=A,a.secondaryColor=w||Object(i.b)(A),a.calculated=!!w}function o(){return Object(u.a)({},a)}var d=function(A){var w=A.icon,C=A.className,x=A.onClick,E=A.style,T=A.primaryColor,_=A.secondaryColor,v=Object(b.a)(A,["icon","className","onClick","style","primaryColor","secondaryColor"]),S=a;if(T&&(S={primaryColor:T,secondaryColor:_||Object(i.b)(T)}),Object(i.f)(),Object(i.g)(Object(i.c)(w),"icon should be icon definiton, but got ".concat(w)),!Object(i.c)(w))return null;var O=w;return O&&typeof O.icon=="function"&&(O=Object(u.a)(Object(u.a)({},O),{},{icon:O.icon(S.primaryColor,S.secondaryColor)})),Object(i.a)(O.icon,"svg-".concat(O.name),Object(u.a)({className:C,onClick:x,style:E,"data-icon":O.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},v))};d.displayName="IconReact",d.getTwoToneColors=o,d.setTwoToneColors=r;var n=d;function l(p){var A=Object(i.d)(p),w=Object(g.a)(A,2),C=w[0],x=w[1];return n.setTwoToneColors({primaryColor:C,secondaryColor:x})}function t(){var p=n.getTwoToneColors();return p.calculated?[p.primaryColor,p.secondaryColor]:p.primaryColor}l("#1890ff");var s=m.forwardRef(function(p,A){var w=p.className,C=p.icon,x=p.spin,E=p.rotate,T=p.tabIndex,_=p.onClick,v=p.twoToneColor,S=Object(b.a)(p,["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"]),O=h()("anticon",Object(f.a)({},"anticon-".concat(C.name),Boolean(C.name)),w),L=h()({"anticon-spin":!!x||C.name==="loading"}),M=T;M===void 0&&_&&(M=-1);var F=E?{msTransform:"rotate(".concat(E,"deg)"),transform:"rotate(".concat(E,"deg)")}:void 0,U=Object(i.d)(v),z=Object(g.a)(U,2),W=z[0],N=z[1];return m.createElement("span",Object.assign({role:"img","aria-label":C.name},S,{ref:A,tabIndex:M,onClick:_,className:O}),m.createElement(n,{className:L,icon:C,primaryColor:W,secondaryColor:N,style:F}))});s.displayName="AntdIcon",s.getTwoToneColor=t,s.setTwoToneColor=l;var c=I.a=s},"6cGi":function(R,I,e){"use strict";e.d(I,"a",function(){return a});var g=e("q1tI"),f=e.n(g);function b(r,o){return i(r)||u(r,o)||y(r,o)||m()}function m(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function y(r,o){if(!r)return;if(typeof r=="string")return h(r,o);var d=Object.prototype.toString.call(r).slice(8,-1);if(d==="Object"&&r.constructor&&(d=r.constructor.name),d==="Map"||d==="Set")return Array.from(r);if(d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d))return h(r,o)}function h(r,o){(o==null||o>r.length)&&(o=r.length);for(var d=0,n=new Array(o);d<o;d++)n[d]=r[d];return n}function u(r,o){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(r)))return;var d=[],n=!0,l=!1,t=void 0;try{for(var s=r[Symbol.iterator](),c;!(n=(c=s.next()).done)&&!(d.push(c.value),o&&d.length===o);n=!0);}catch(p){l=!0,t=p}finally{try{!n&&s.return!=null&&s.return()}finally{if(l)throw t}}return d}function i(r){if(Array.isArray(r))return r}function a(r,o){var d=o||{},n=d.defaultValue,l=d.value,t=d.onChange,s=d.postState,c=g.useState(function(){return l!==void 0?l:n!==void 0?typeof n=="function"?n():n:typeof r=="function"?r():r}),p=b(c,2),A=p[0],w=p[1],C=l!==void 0?l:A;s&&(C=s(C));function x(T){w(T),C!==T&&t&&t(T,C)}var E=g.useRef(!0);return g.useEffect(function(){if(E.current){E.current=!1;return}l===void 0&&w(l)},[l]),[C,x]}},"6fms":function(R,I,e){var g=e("SUKs"),f=e("06Qe"),b=e("bYtY"),m=b.each;function y(a){return parseInt(a,10)}function h(a,r){f.initVML(),this.root=a,this.storage=r;var o=document.createElement("div"),d=document.createElement("div");o.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",d.style.cssText="position:absolute;left:0;top:0;",a.appendChild(o),this._vmlRoot=d,this._vmlViewport=o,this.resize();var n=r.delFromStorage,l=r.addToStorage;r.delFromStorage=function(t){n.call(r,t),t&&(t.onRemove&&t.onRemove(d))},r.addToStorage=function(t){t.onAdd&&t.onAdd(d),l.call(r,t)},this._firstPaint=!0}h.prototype={constructor:h,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var r=this.getViewportRoot();if(r)return{offsetLeft:r.offsetLeft||0,offsetTop:r.offsetTop||0}},refresh:function(){var r=this.storage.getDisplayList(!0,!0);this._paintList(r)},_paintList:function(r){for(var o=this._vmlRoot,d=0;d<r.length;d++){var n=r[d];n.invisible||n.ignore?(n.__alreadyNotVisible||n.onRemove(o),n.__alreadyNotVisible=!0):(n.__alreadyNotVisible&&n.onAdd(o),n.__alreadyNotVisible=!1,n.__dirty&&(n.beforeBrush&&n.beforeBrush(),(n.brushVML||n.brush).call(n,o),n.afterBrush&&n.afterBrush())),n.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(o),this._firstPaint=!1)},resize:function(r,o){var r=r==null?this._getWidth():r,o=o==null?this._getHeight():o;if(this._width!==r||this._height!==o){this._width=r,this._height=o;var d=this._vmlViewport.style;d.width=r+"px",d.height=o+"px"}},dispose:function(){this.root.innerHTML="",this._vmlRoot=this._vmlViewport=this.storage=null},getWidth:function(){return this._width},getHeight:function(){return this._height},clear:function(){this._vmlViewport&&this.root.removeChild(this._vmlViewport)},_getWidth:function(){var r=this.root,o=r.currentStyle;return(r.clientWidth||y(o.width))-y(o.paddingLeft)-y(o.paddingRight)|0},_getHeight:function(){var r=this.root,o=r.currentStyle;return(r.clientHeight||y(o.height))-y(o.paddingTop)-y(o.paddingBottom)|0}};function u(a){return function(){g('In IE8.0 VML mode painter not support method "'+a+'"')}}m(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(a){h.prototype[a]=u(a)});var i=h;R.exports=i},"6r85":function(R,I,e){var g=e("bYtY");function f(b){if(!b||!g.isArray(b.series))return;g.each(b.series,function(m){g.isObject(m)&&m.type==="k"&&(m.type="candlestick")})}R.exports=f},"6sVZ":function(R,I){var e=Object.prototype;function g(f){var b=f&&f.constructor,m=typeof b=="function"&&b.prototype||e;return f===m}R.exports=g},"6uqw":function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("ItGF"),m=e("YOMW"),y=e("XxSj"),h=e("K4ya"),u=e("4NO4"),i=e("OELB"),a=y.mapVisual,r=y.eachVisual,o=f.isArray,d=f.each,n=i.asc,l=i.linearMap,t=f.noop,s=g.extendComponentModel({type:"visualMap",dependencies:["series"],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange","target","controller","color"],dataBound:[-Infinity,Infinity],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,dimension:null,inRange:null,outOfRange:null,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,color:null,formatter:null,text:null,textStyle:{color:"#333"}},init:function(p,A,w){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(p,w)},optionUpdated:function(p,A){var w=this.option;b.canvasSupported||(w.realtime=!1),!A&&h.replaceVisualOption(w,p,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(p){var A=this.stateList;p=f.bind(p,this),this.controllerVisuals=h.createVisualMappings(this.option.controller,A,p),this.targetVisuals=h.createVisualMappings(this.option.target,A,p)},getTargetSeriesIndices:function(){var p=this.option.seriesIndex,A=[];return p==null||p==="all"?this.ecModel.eachSeries(function(w,C){A.push(C)}):A=u.normalizeToArray(p),A},eachTargetSeries:function(p,A){f.each(this.getTargetSeriesIndices(),function(w){p.call(A,this.ecModel.getSeriesByIndex(w))},this)},isTargetSeries:function(p){var A=!1;return this.eachTargetSeries(function(w){w===p&&(A=!0)}),A},formatValueText:function(p,A,w){var C=this.option,x=C.precision,E=this.dataBound,T=C.formatter,_,v;if(w=w||["<",">"],f.isArray(p)&&(p=p.slice(),_=!0),v=A?p:_?[S(p[0]),S(p[1])]:S(p),f.isString(T))return T.replace("{value}",_?v[0]:v).replace("{value2}",_?v[1]:v);if(f.isFunction(T))return _?T(p[0],p[1]):T(p);if(_)return p[0]===E[0]?w[0]+" "+v[1]:p[1]===E[1]?w[1]+" "+v[0]:v[0]+" - "+v[1];return v;function S(O){return O===E[0]?"min":O===E[1]?"max":(+O).toFixed(Math.min(x,20))}},resetExtent:function(){var p=this.option,A=n([p.min,p.max]);this._dataExtent=A},getDataDimension:function(p){var A=this.option.dimension,w=p.dimensions;if(A==null&&!w.length)return;if(A!=null)return p.getDimension(A);for(var C=p.dimensions,x=C.length-1;x>=0;x--){var E=C[x],T=p.getDimensionInfo(E);if(!T.isCalculationCoord)return E}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var p=this.ecModel,A=this.option,w={inRange:A.inRange,outOfRange:A.outOfRange},C=A.target||(A.target={}),x=A.controller||(A.controller={});f.merge(C,w),f.merge(x,w);var E=this.isCategory();T.call(this,C),T.call(this,x),_.call(this,C,"inRange","outOfRange"),v.call(this,x);function T(S){o(A.color)&&!S.inRange&&(S.inRange={color:A.color.slice().reverse()}),S.inRange=S.inRange||{color:p.get("gradientColor")},d(this.stateList,function(O){var L=S[O];if(f.isString(L)){var M=m.get(L,"active",E);M?(S[O]={},S[O][L]=M):delete S[O]}},this)}function _(S,O,L){var M=S[O],F=S[L];M&&!F&&(F=S[L]={},d(M,function(U,z){if(!y.isValidType(z))return;var W=m.get(z,"inactive",E);W!=null&&(F[z]=W,z==="color"&&!F.hasOwnProperty("opacity")&&!F.hasOwnProperty("colorAlpha")&&(F.opacity=[0,0]))}))}function v(S){var O=(S.inRange||{}).symbol||(S.outOfRange||{}).symbol,L=(S.inRange||{}).symbolSize||(S.outOfRange||{}).symbolSize,M=this.get("inactiveColor");d(this.stateList,function(F){var U=this.itemSize,z=S[F];z||(z=S[F]={color:E?M:[M]}),z.symbol==null&&(z.symbol=O&&f.clone(O)||(E?"roundRect":["roundRect"])),z.symbolSize==null&&(z.symbolSize=L&&f.clone(L)||(E?U[0]:[U[0],U[0]])),z.symbol=a(z.symbol,function(H){return H==="none"||H==="square"?"roundRect":H});var W=z.symbolSize;if(W!=null){var N=-Infinity;r(W,function(H){H>N&&(N=H)}),z.symbolSize=a(W,function(H){return l(H,[0,N],[0,U[0]],!0)})}},this)}},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:t,getValueState:t,getVisualMeta:t}),c=s;R.exports=c},"6usn":function(R,I,e){var g=e("bYtY");function f(m,y){return g.map(["Radius","Angle"],function(h,u){var i=this["get"+h+"Axis"](),a=y[u],r=m[u]/2,o="dataTo"+h,d=i.type==="category"?i.getBandWidth():Math.abs(i[o](a-r)-i[o](a+r));return h==="Angle"&&(d=d*Math.PI/180),d},this)}function b(m){var y=m.getRadiusAxis(),h=m.getAngleAxis(),u=y.getExtent();return u[0]>u[1]&&u.reverse(),{coordSys:{type:"polar",cx:m.cx,cy:m.cy,r:u[1],r0:u[0]},api:{coord:g.bind(function(i){var a=y.dataToRadius(i[0]),r=h.dataToAngle(i[1]),o=m.coordToPoint([a,r]);return o.push(a,r*Math.PI/180),o}),size:g.bind(f,m)}}}R.exports=b},"6xvX":function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("V7ic"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},"711d":function(R,I){function e(g){return function(f){return f==null?void 0:f[g]}}R.exports=e},"72pK":function(R,I){function e(b,m,y,h,u,i){b=b||0;var a=y[1]-y[0];if(u!=null&&(u=f(u,[0,a])),i!=null&&(i=Math.max(i,u!=null?u:0)),h==="all"){var r=Math.abs(m[1]-m[0]);r=f(r,[0,a]),u=i=f(r,[u,i]),h=0}m[0]=f(m[0],y),m[1]=f(m[1],y);var o=g(m,h);m[h]+=b;var d=u||0,n=y.slice();o.sign<0?n[0]+=d:n[1]-=d,m[h]=f(m[h],n);var l=g(m,h);u!=null&&(l.sign!==o.sign||l.span<u)&&(m[1-h]=m[h]+o.sign*u);var l=g(m,h);return i!=null&&l.span>i&&(m[1-h]=m[h]+l.sign*i),m}function g(b,m){var y=b[m]-b[1-m];return{span:Math.abs(y),sign:y>0?-1:y<0?1:m?-1:1}}function f(b,m){return Math.min(m[1]!=null?m[1]:Infinity,Math.max(m[0]!=null?m[0]:-Infinity,b))}R.exports=e},"75ce":function(R,I,e){var g=e("ProS");e("IXuL"),e("8X+K");var f=e("f5Yq"),b=e("h8O9"),m=e("/d5a");e("Ae16"),g.registerVisual(f("line","circle","line")),g.registerLayout(b("line")),g.registerProcessor(g.PRIORITY.PROCESSOR.STATISTIC,m("line"))},"75ev":function(R,I,e){var g=e("ProS");e("IWNH"),e("bNin"),e("v5uJ");var f=e("f5Yq"),b=e("yik8");g.registerVisual(f("tree","circle")),g.registerLayout(b)},"77Zs":function(R,I,e){var g=e("Xi7e");function f(){this.__data__=new g,this.size=0}R.exports=f},"7AJT":function(R,I,e){var g=e("bYtY"),f=e("hM6l"),b=function(y,h,u,i,a){f.call(this,y,h,u),this.type=i||"value",this.position=a||"bottom"};b.prototype={constructor:b,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var y=this.position;return y==="top"||y==="bottom"},getGlobalExtent:function(y){var h=this.getExtent();return h[0]=this.toGlobalCoord(h[0]),h[1]=this.toGlobalCoord(h[1]),y&&h[0]>h[1]&&h.reverse(),h},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(y,h){return this.coordToData(this.toLocalCoord(y[this.dim==="x"?0:1]),h)},toLocalCoord:null,toGlobalCoord:null},g.inherits(b,f);var m=b;R.exports=m},"7Cbv":function(R,I,e){"use strict";var g=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),f=new Uint8Array(16);function b(){if(!g)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return g(f)}var m=/^(?:[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;function y(n){return typeof n=="string"&&m.test(n)}for(var h=y,u=[],i=0;i<256;++i)u.push((i+256).toString(16).substr(1));function a(n){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=(u[n[l+0]]+u[n[l+1]]+u[n[l+2]]+u[n[l+3]]+"-"+u[n[l+4]]+u[n[l+5]]+"-"+u[n[l+6]]+u[n[l+7]]+"-"+u[n[l+8]]+u[n[l+9]]+"-"+u[n[l+10]]+u[n[l+11]]+u[n[l+12]]+u[n[l+13]]+u[n[l+14]]+u[n[l+15]]).toLowerCase();if(!h(t))throw TypeError("Stringified UUID is invalid");return t}var r=a;function o(n,l,t){n=n||{};var s=n.random||(n.rng||b)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,l){t=t||0;for(var c=0;c<16;++c)l[t+c]=s[c];return l}return r(s)}var d=I.a=o},"7DRL":function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("bYtY"),m=b.createHashMap,y=b.isString,h=b.isArray,u=b.each,i=b.assert,a=e("MEGo"),r=a.parseXML,o=m(),d={registerMap:function(l,t,s){var c;return h(t)?c=t:t.svg?c=[{type:"svg",source:t.svg,specialAreas:t.specialAreas}]:(t.geoJson&&!t.features&&(s=t.specialAreas,t=t.geoJson),c=[{type:"geoJSON",source:t,specialAreas:s}]),u(c,function(p){var A=p.type;A==="geoJson"&&(A=p.type="geoJSON");var w=n[A];w(p)}),o.set(l,c)},retrieveMap:function(l){return o.get(l)}},n={geoJSON:function(l){var t=l.source;l.geoJSON=y(t)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t},svg:function(l){l.svgXML=r(l.source)}};R.exports=d},"7G+c":function(R,I,e){var g=e("bYtY"),f=g.createHashMap,b=g.isTypedArray,m=e("Yl7c"),y=m.enableClassCheck,h=e("k9D9"),u=h.SOURCE_FORMAT_ORIGINAL,i=h.SERIES_LAYOUT_BY_COLUMN,a=h.SOURCE_FORMAT_UNKNOWN,r=h.SOURCE_FORMAT_TYPED_ARRAY,o=h.SOURCE_FORMAT_KEYED_COLUMNS;function d(l){this.fromDataset=l.fromDataset,this.data=l.data||(l.sourceFormat===o?{}:[]),this.sourceFormat=l.sourceFormat||a,this.seriesLayoutBy=l.seriesLayoutBy||i,this.dimensionsDefine=l.dimensionsDefine,this.encodeDefine=l.encodeDefine&&f(l.encodeDefine),this.startIndex=l.startIndex||0,this.dimensionsDetectCount=l.dimensionsDetectCount}d.seriesDataToSource=function(l){return new d({data:l,sourceFormat:b(l)?r:u,fromDataset:!1})},y(d);var n=d;R.exports=n},"7GkX":function(R,I,e){var g=e("b80T"),f=e("A90E"),b=e("MMmD");function m(y){return b(y)?g(y):f(y)}R.exports=m},"7Kak":function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("KPFz"),m=e.n(b)},"7Phj":function(R,I,e){var g=e("bYtY"),f=e("OELB"),b=f.parsePercent,m=g.each;function y(a){var r=h(a);m(r,function(o){var d=o.seriesModels;if(!d.length)return;u(o),m(d,function(n,l){i(n,o.boxOffsetList[l],o.boxWidthList[l])})})}function h(a){var r=[],o=[];return a.eachSeriesByType("boxplot",function(d){var n=d.getBaseAxis(),l=g.indexOf(o,n);l<0&&(l=o.length,o[l]=n,r[l]={axis:n,seriesModels:[]}),r[l].seriesModels.push(d)}),r}function u(a){var r,o=a.axis,d=a.seriesModels,n=d.length,l=a.boxWidthList=[],t=a.boxOffsetList=[],s=[],c;if(o.type==="category")c=o.getBandWidth();else{var p=0;m(d,function(E){p=Math.max(p,E.getData().count())}),r=o.getExtent(),Math.abs(r[1]-r[0])/p}m(d,function(E){var T=E.get("boxWidth");g.isArray(T)||(T=[T,T]),s.push([b(T[0],c)||0,b(T[1],c)||0])});var A=c*.8-2,w=A/n*.3,C=(A-w*(n-1))/n,x=C/2-A/2;m(d,function(E,T){t.push(x),x+=w+C,l.push(Math.min(Math.max(C,s[T][0]),s[T][1]))})}function i(a,r,o){var d=a.coordinateSystem,n=a.getData(),l=o/2,t=a.get("layout")==="horizontal"?0:1,s=1-t,c=["x","y"],p=n.mapDimension(c[t]),A=n.mapDimension(c[s],!0);if(p==null||A.length<5)return;for(var w=0;w<n.count();w++){var C=n.get(p,w),x=O(C,A[2],w),E=O(C,A[0],w),T=O(C,A[1],w),_=O(C,A[3],w),v=O(C,A[4],w),S=[];L(S,T,0),L(S,_,1),S.push(E,T,v,_),M(S,E),M(S,v),M(S,x),n.setItemLayout(w,{initBaseline:x[s],ends:S})}function O(F,U,z){var W=n.get(U,z),N=[];N[t]=F,N[s]=W;var H;return isNaN(F)||isNaN(W)?H=[NaN,NaN]:(H=d.dataToPoint(N),H[t]+=r),H}function L(F,U,z){var W=U.slice(),N=U.slice();W[t]+=l,N[t]-=l,z?F.push(W,N):F.push(N,W)}function M(F,U){var z=U.slice(),W=U.slice();z[t]-=l,W[t]+=l,F.push(z,W)}}R.exports=y},"7SHv":function(R,I,e){var g=e("LPTA"),f=g.devicePixelRatio,b=e("bYtY"),m=e("SUKs"),y=e("mFDi"),h=e("BPZU"),u=e("Xmg4"),i=e("mLcG"),a=e("Dagg"),r=e("ItGF"),o=1e5,d=314159,n=.01,l=.001;function t(_){return parseInt(_,10)}function s(_){return _?_.__builtin__?!0:!(typeof _.resize!="function"||typeof _.refresh!="function"):!1}var c=new y(0,0,0,0),p=new y(0,0,0,0);function A(_,v,S){return c.copy(_.getBoundingRect()),_.transform&&c.applyTransform(_.transform),p.width=v,p.height=S,!c.intersect(p)}function w(_,v){if(_===v)return!1;if(!_||!v||_.length!==v.length)return!0;for(var S=0;S<_.length;S++)if(_[S]!==v[S])return!0;return!1}function C(_,v){for(var S=0;S<_.length;S++){var O=_[S];O.setTransform(v),v.beginPath(),O.buildPath(v,O.shape),v.clip(),O.restoreTransform(v)}}function x(_,v){var S=document.createElement("div");return S.style.cssText=["position:relative","width:"+_+"px","height:"+v+"px","padding:0","margin:0","border-width:0"].join(";")+";",S}var E=function(v,S,O){this.type="canvas";var L=!v.nodeName||v.nodeName.toUpperCase()==="CANVAS";this._opts=O=b.extend({},O||{}),this.dpr=O.devicePixelRatio||f,this._singleCanvas=L,this.root=v;var M=v.style;M&&(M["-webkit-tap-highlight-color"]="transparent",M["-webkit-user-select"]=M["user-select"]=M["-webkit-touch-callout"]="none",v.innerHTML=""),this.storage=S;var F=this._zlevelList=[],U=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,L){var W=v.width,N=v.height;O.width!=null&&(W=O.width),O.height!=null&&(N=O.height),this.dpr=O.devicePixelRatio||1,v.width=W*this.dpr,v.height=N*this.dpr,this._width=W,this._height=N;var H=new u(v,this,this.dpr);H.__builtin__=!0,H.initContext(),U[d]=H,H.zlevel=d,F.push(d),this._domRoot=v}else{this._width=this._getSize(0),this._height=this._getSize(1);var z=this._domRoot=x(this._width,this._height);v.appendChild(z)}this._hoverlayer=null,this._hoverElements=[]};E.prototype={constructor:E,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var v=this.getViewportRoot();if(v)return{offsetLeft:v.offsetLeft||0,offsetTop:v.offsetTop||0}},refresh:function(v){var S=this.storage.getDisplayList(!0),O=this._zlevelList;this._redrawId=Math.random(),this._paintList(S,v,this._redrawId);for(var L=0;L<O.length;L++){var M=O[L],F=this._layers[M];if(!F.__builtin__&&F.refresh){var U=L===0?this._backgroundColor:null;F.refresh(U)}}return this.refreshHover(),this},addHover:function(v,S){if(v.__hoverMir)return;var O=new v.constructor({style:v.style,shape:v.shape,z:v.z,z2:v.z2,silent:v.silent});return O.__from=v,v.__hoverMir=O,S&&O.setStyle(S),this._hoverElements.push(O),O},removeHover:function(v){var S=v.__hoverMir,O=this._hoverElements,L=b.indexOf(O,S);L>=0&&O.splice(L,1),v.__hoverMir=null},clearHover:function(v){for(var S=this._hoverElements,O=0;O<S.length;O++){var L=S[O].__from;L&&(L.__hoverMir=null)}S.length=0},refreshHover:function(){var v=this._hoverElements,S=v.length,O=this._hoverlayer;if(O&&O.clear(),!S)return;h(v,this.storage.displayableSortFunc),O||(O=this._hoverlayer=this.getLayer(o));var L={};O.ctx.save();for(var M=0;M<S;){var F=v[M],U=F.__from;if(!(U&&U.__zr)){v.splice(M,1),U.__hoverMir=null,S--;continue}M++,U.invisible||(F.transform=U.transform,F.invTransform=U.invTransform,F.__clipPaths=U.__clipPaths,this._doPaintEl(F,O,!0,L))}O.ctx.restore()},getHoverLayer:function(){return this.getLayer(o)},_paintList:function(v,S,O){if(this._redrawId!==O)return;S=S||!1,this._updateLayerStatus(v);var L=this._doPaintList(v,S);if(this._needsManuallyCompositing&&this._compositeManually(),!L){var M=this;i(function(){M._paintList(v,S,O)})}},_compositeManually:function(){var v=this.getLayer(d).ctx,S=this._domRoot.width,O=this._domRoot.height;v.clearRect(0,0,S,O),this.eachBuiltinLayer(function(L){L.virtual&&v.drawImage(L.dom,0,0,S,O)})},_doPaintList:function(v,S){for(var O=[],L=0;L<this._zlevelList.length;L++){var M=this._zlevelList[L],F=this._layers[M];F.__builtin__&&F!==this._hoverlayer&&(F.__dirty||S)&&O.push(F)}for(var U=!0,z=0;z<O.length;z++){var F=O[z],W=F.ctx,N={};W.save();var H=S?F.__startIndex:F.__drawIndex,j=!S&&F.incremental&&Date.now,k=j&&Date.now(),B=F.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(F.__startIndex===F.__endIndex)F.clear(!1,B);else if(H===F.__startIndex){var V=v[H];(!V.incremental||!V.notClear||S)&&F.clear(!1,B)}H===-1&&(console.error("For some unknown reason. drawIndex is -1"),H=F.__startIndex);for(var K=H;K<F.__endIndex;K++){var Y=v[K];if(this._doPaintEl(Y,F,S,N),Y.__dirty=Y.__dirtyText=!1,j){var Q=Date.now()-k;if(Q>15)break}}F.__drawIndex=K,F.__drawIndex<F.__endIndex&&(U=!1),N.prevElClipPaths&&W.restore(),W.restore()}return r.wxa&&b.each(this._layers,function(he){he&&he.ctx&&he.ctx.draw&&he.ctx.draw()}),U},_doPaintEl:function(v,S,O,L){var M=S.ctx,F=v.transform;if((S.__dirty||O)&&!v.invisible&&v.style.opacity!==0&&!(F&&!F[0]&&!F[3])&&!(v.culling&&A(v,this._width,this._height))){var U=v.__clipPaths,z=L.prevElClipPaths;(!z||w(U,z))&&(z&&(M.restore(),L.prevElClipPaths=null,L.prevEl=null),U&&(M.save(),C(U,M),L.prevElClipPaths=U)),v.beforeBrush&&v.beforeBrush(M),v.brush(M,L.prevEl||null),L.prevEl=v,v.afterBrush&&v.afterBrush(M)}},getLayer:function(v,S){this._singleCanvas&&!this._needsManuallyCompositing&&(v=d);var O=this._layers[v];return O||(O=new u("zr_"+v,this,this.dpr),O.zlevel=v,O.__builtin__=!0,this._layerConfig[v]?b.merge(O,this._layerConfig[v],!0):this._layerConfig[v-n]&&b.merge(O,this._layerConfig[v-n],!0),S&&(O.virtual=S),this.insertLayer(v,O),O.initContext()),O},insertLayer:function(v,S){var O=this._layers,L=this._zlevelList,M=L.length,F=null,U=-1,z=this._domRoot;if(O[v]){m("ZLevel "+v+" has been used already");return}if(!s(S)){m("Layer of zlevel "+v+" is not valid");return}if(M>0&&v>L[0]){for(U=0;U<M-1&&!(L[U]<v&&L[U+1]>v);U++);F=O[L[U]]}if(L.splice(U+1,0,v),O[v]=S,!S.virtual)if(F){var W=F.dom;W.nextSibling?z.insertBefore(S.dom,W.nextSibling):z.appendChild(S.dom)}else z.firstChild?z.insertBefore(S.dom,z.firstChild):z.appendChild(S.dom)},eachLayer:function(v,S){var O=this._zlevelList,L,M;for(M=0;M<O.length;M++)L=O[M],v.call(S,this._layers[L],L)},eachBuiltinLayer:function(v,S){var O=this._zlevelList,L,M,F;for(F=0;F<O.length;F++)M=O[F],L=this._layers[M],L.__builtin__&&v.call(S,L,M)},eachOtherLayer:function(v,S){var O=this._zlevelList,L,M,F;for(F=0;F<O.length;F++)M=O[F],L=this._layers[M],L.__builtin__||v.call(S,L,M)},getLayers:function(){return this._layers},_updateLayerStatus:function(v){this.eachBuiltinLayer(function(N,H){N.__dirty=N.__used=!1});function S(N){M&&(M.__endIndex!==N&&(M.__dirty=!0),M.__endIndex=N)}if(this._singleCanvas)for(var O=1;O<v.length;O++){var L=v[O];if(L.zlevel!==v[O-1].zlevel||L.incremental){this._needsManuallyCompositing=!0;break}}for(var M=null,F=0,U,O=0;O<v.length;O++){var L=v[O],z=L.zlevel,W;U!==z&&(U=z,F=0),L.incremental?(W=this.getLayer(z+l,this._needsManuallyCompositing),W.incremental=!0,F=1):W=this.getLayer(z+(F>0?n:0),this._needsManuallyCompositing),W.__builtin__||m("ZLevel "+z+" has been used by unkown layer "+W.id),W!==M&&(W.__used=!0,W.__startIndex!==O&&(W.__dirty=!0),W.__startIndex=O,W.incremental?W.__drawIndex=-1:W.__drawIndex=O,S(O),M=W),L.__dirty&&(W.__dirty=!0,W.incremental&&W.__drawIndex<0&&(W.__drawIndex=O))}S(O),this.eachBuiltinLayer(function(N,H){!N.__used&&N.getElementCount()>0&&(N.__dirty=!0,N.__startIndex=N.__endIndex=N.__drawIndex=0),N.__dirty&&N.__drawIndex<0&&(N.__drawIndex=N.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(v){v.clear()},setBackgroundColor:function(v){this._backgroundColor=v},configLayer:function(v,S){if(S){var O=this._layerConfig;O[v]?b.merge(O[v],S,!0):O[v]=S;for(var L=0;L<this._zlevelList.length;L++){var M=this._zlevelList[L];if(M===v||M===v+n){var F=this._layers[M];b.merge(F,O[v],!0)}}}},delLayer:function(v){var S=this._layers,O=this._zlevelList,L=S[v];if(!L)return;L.dom.parentNode.removeChild(L.dom),delete S[v],O.splice(b.indexOf(O,v),1)},resize:function(v,S){if(this._domRoot.style){var O=this._domRoot;O.style.display="none";var L=this._opts;if(v!=null&&(L.width=v),S!=null&&(L.height=S),v=this._getSize(0),S=this._getSize(1),O.style.display="",this._width!==v||S!==this._height){O.style.width=v+"px",O.style.height=S+"px";for(var M in this._layers)this._layers.hasOwnProperty(M)&&this._layers[M].resize(v,S);b.each(this._progressiveLayers,function(F){F.resize(v,S)}),this.refresh(!0)}this._width=v,this._height=S}else{if(v==null||S==null)return;this._width=v,this._height=S,this.getLayer(d).resize(v,S)}return this},clearLayer:function(v){var S=this._layers[v];S&&S.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(v){if(v=v||{},this._singleCanvas&&!this._compositeManually)return this._layers[d].dom;var S=new u("image",this,v.pixelRatio||this.dpr);if(S.initContext(),S.clear(!1,v.backgroundColor||this._backgroundColor),v.pixelRatio<=this.dpr){this.refresh();var O=S.dom.width,L=S.dom.height,M=S.ctx;this.eachLayer(function(N){N.__builtin__?M.drawImage(N.dom,0,0,O,L):N.renderToCanvas&&(S.ctx.save(),N.renderToCanvas(S.ctx),S.ctx.restore())})}else for(var F={},U=this.storage.getDisplayList(!0),z=0;z<U.length;z++){var W=U[z];this._doPaintEl(W,S,!0,F)}return S.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(v){var S=this._opts,O=["width","height"][v],L=["clientWidth","clientHeight"][v],M=["paddingLeft","paddingTop"][v],F=["paddingRight","paddingBottom"][v];if(S[O]!=null&&S[O]!=="auto")return parseFloat(S[O]);var U=this.root,z=document.defaultView.getComputedStyle(U);return(U[L]||t(z[O])||t(U.style[O]))-(t(z[M])||0)-(t(z[F])||0)|0},pathToImage:function(v,S){S=S||this.dpr;var O=document.createElement("canvas"),L=O.getContext("2d"),M=v.getBoundingRect(),F=v.style,U=F.shadowBlur*S,z=F.shadowOffsetX*S,W=F.shadowOffsetY*S,N=F.hasStroke()?F.lineWidth:0,H=Math.max(N/2,-z+U),j=Math.max(N/2,z+U),k=Math.max(N/2,-W+U),B=Math.max(N/2,W+U),V=M.width+H+j,K=M.height+k+B;O.width=V*S,O.height=K*S,L.scale(S,S),L.clearRect(0,0,V,K),L.dpr=S;var Y={position:v.position,rotation:v.rotation,scale:v.scale};v.position=[H-M.x,k-M.y],v.rotation=0,v.scale=[1,1],v.updateTransform(),v&&v.brush(L);var Q=a,he=new Q({style:{x:0,y:0,image:O}});return Y.position!=null&&(he.position=v.position=Y.position),Y.rotation!=null&&(he.rotation=v.rotation=Y.rotation),Y.scale!=null&&(he.scale=v.scale=Y.scale),he}};var T=E;R.exports=T},"7a+S":function(R,I,e){var g=e("bYtY"),f=e("bLfw"),b=e("YXkt"),m=e("4NO4"),y=f.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(u,i,a){this._data,this._names,this.mergeDefaultAndTheme(u,a),this._initData()},mergeOption:function(u){y.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(u){u==null&&(u=this.option.currentIndex);var i=this._data.count();this.option.loop?u=(u%i+i)%i:(u>=i&&(u=i-1),u<0&&(u=0)),this.option.currentIndex=u},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(u){this.option.autoPlay=!!u},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var u=this.option,i=u.data||[],a=u.axisType,r=this._names=[];if(a==="category"){var o=[];g.each(i,function(l,t){var s=m.getDataItemValue(l),c;g.isObject(l)?(c=g.clone(l),c.value=t):c=t,o.push(c),!g.isString(s)&&(s==null||isNaN(s))&&(s=""),r.push(s+"")}),i=o}var d={category:"ordinal",time:"time"}[a]||"number",n=this._data=new b([{name:"value",type:d}],this);n.initData(i,r)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),h=y;R.exports=h},"7aKB":function(R,I,e){var g=e("bYtY"),f=e("6GrX"),b=e("OELB");function m(x){return isNaN(x)?"-":(x=(x+"").split("."),x[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(x.length>1?"."+x[1]:""))}function y(x,E){return x=(x||"").toLowerCase().replace(/-(.)/g,function(T,_){return _.toUpperCase()}),E&&x&&(x=x.charAt(0).toUpperCase()+x.slice(1)),x}var h=g.normalizeCssArray,u=/([&<>"'])/g,i={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function a(x){return x==null?"":(x+"").replace(u,function(E,T){return i[T]})}var r=["a","b","c","d","e","f","g"],o=function(x,E){return"{"+x+(E==null?"":E)+"}"};function d(x,E,T){g.isArray(E)||(E=[E]);var _=E.length;if(!_)return"";for(var v=E[0].$vars||[],S=0;S<v.length;S++){var O=r[S];x=x.replace(o(O),o(O,0))}for(var L=0;L<_;L++)for(var M=0;M<v.length;M++){var F=E[L][v[M]];x=x.replace(o(r[M],L),T?a(F):F)}return x}function n(x,E,T){return g.each(E,function(_,v){x=x.replace("{"+v+"}",T?a(_):_)}),x}function l(x,E){x=g.isString(x)?{color:x,extraCssText:E}:x||{};var T=x.color,_=x.type,E=x.extraCssText,v=x.renderMode||"html",S=x.markerId||"X";return T?v==="html"?_==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+a(T)+";"+(E||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+a(T)+";"+(E||"")+'"></span>':{renderMode:v,content:"{marker"+S+"|} ",style:{color:T}}:""}function t(x,E){return x+="","0000".substr(0,E-x.length)+x}function s(x,E,T){(x==="week"||x==="month"||x==="quarter"||x==="half-year"||x==="year")&&(x=`MM-dd
yyyy`);var _=b.parseDate(E),v=T?"UTC":"",S=_["get"+v+"FullYear"](),O=_["get"+v+"Month"]()+1,L=_["get"+v+"Date"](),M=_["get"+v+"Hours"](),F=_["get"+v+"Minutes"](),U=_["get"+v+"Seconds"](),z=_["get"+v+"Milliseconds"]();return x=x.replace("MM",t(O,2)).replace("M",O).replace("yyyy",S).replace("yy",S%100).replace("dd",t(L,2)).replace("d",L).replace("hh",t(M,2)).replace("h",M).replace("mm",t(F,2)).replace("m",F).replace("ss",t(U,2)).replace("s",U).replace("SSS",t(z,3)),x}function c(x){return x&&x.charAt(0).toUpperCase()+x.substr(1)}var p=f.truncateText;function A(x){return f.getBoundingRect(x.text,x.font,x.textAlign,x.textVerticalAlign,x.textPadding,x.textLineHeight,x.rich,x.truncate)}function w(x,E,T,_,v,S,O,L){return f.getBoundingRect(x,E,T,_,v,L,S,O)}function C(x,E){if(E==="_blank"||E==="blank"){var T=window.open();T.opener=null,T.location=x}else window.open(x,E)}I.addCommas=m,I.toCamelCase=y,I.normalizeCssArray=h,I.encodeHTML=a,I.formatTpl=d,I.formatTplSimple=n,I.getTooltipMarker=l,I.formatTime=s,I.capitalFirst=c,I.truncateText=p,I.getTextBoundingRect=A,I.getTextRect=w,I.windowOpen=C},"7bkD":function(R,I,e){var g=e("bYtY");function f(b,m){m=m||{};var y=b.coordinateSystem,h=b.axis,u={},i=h.position,a=h.orient,r=y.getRect(),o=[r.x,r.x+r.width,r.y,r.y+r.height],d={horizontal:{top:o[2],bottom:o[3]},vertical:{left:o[0],right:o[1]}};u.position=[a==="vertical"?d.vertical[i]:o[0],a==="horizontal"?d.horizontal[i]:o[3]];var n={horizontal:0,vertical:1};u.rotation=Math.PI/2*n[a];var l={top:-1,bottom:1,right:1,left:-1};u.labelDirection=u.tickDirection=u.nameDirection=l[i],b.get("axisTick.inside")&&(u.tickDirection=-u.tickDirection),g.retrieve(m.labelInside,b.get("axisLabel.inside"))&&(u.labelDirection=-u.labelDirection);var t=m.rotate;return t==null&&(t=b.get("axisLabel.rotate")),u.labelRotation=i==="top"?-t:t,u.z2=1,u}I.layout=f},"7fqy":function(R,I){function e(g){var f=-1,b=Array(g.size);return g.forEach(function(m,y){b[++f]=[y,m]}),b}R.exports=e},"7hqr":function(R,I,e){var g=e("bYtY"),f=g.each,b=g.isString;function m(u,i,a){a=a||{};var r=a.byIndex,o=a.stackedCoordDimension,d=!!(u&&u.get("stack")),n,l,t,s;if(f(i,function(w,C){b(w)&&(i[C]=w={name:w}),d&&!w.isExtraCoord&&(!r&&!n&&w.ordinalMeta&&(n=w),!l&&w.type!=="ordinal"&&w.type!=="time"&&(!o||o===w.coordDim)&&(l=w))}),l&&!r&&!n&&(r=!0),l){t="__\0ecstackresult",s="__\0ecstackedover",n&&(n.createInvertedIndices=!0);var c=l.coordDim,p=l.type,A=0;f(i,function(w){w.coordDim===c&&A++}),i.push({name:t,coordDim:c,coordDimIndex:A,type:p,isExtraCoord:!0,isCalculationCoord:!0}),A++,i.push({name:s,coordDim:s,coordDimIndex:A,type:p,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:l&&l.name,stackedByDimension:n&&n.name,isStackedByIndex:r,stackedOverDimension:s,stackResultDimension:t}}function y(u,i){return!!i&&i===u.getCalculationInfo("stackedDimension")}function h(u,i){return y(u,i)?u.getCalculationInfo("stackResultDimension"):i}I.enableDataStack=m,I.isDimensionStacked=y,I.getStackedDimension=h},"7mYs":function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("IwbS"),m=e("7aKB"),y=e("OELB"),h={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]},u={EN:["S","M","T","W","T","F","S"],CN:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},i=g.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(a,r,o){var d=this.group;d.removeAll();var n=a.coordinateSystem,l=n.getRangeInfo(),t=n.getOrient();this._renderDayRect(a,l,d),this._renderLines(a,l,t,d),this._renderYearText(a,l,t,d),this._renderMonthText(a,t,d),this._renderWeekText(a,l,t,d)},_renderDayRect:function(a,r,o){for(var d=a.coordinateSystem,n=a.getModel("itemStyle").getItemStyle(),l=d.getCellWidth(),t=d.getCellHeight(),s=r.start.time;s<=r.end.time;s=d.getNextNDay(s,1).time){var c=d.dataToRect([s],!1).tl,p=new b.Rect({shape:{x:c[0],y:c[1],width:l,height:t},cursor:"default",style:n});o.add(p)}},_renderLines:function(a,r,o,d){var n=this,l=a.coordinateSystem,t=a.getModel("splitLine.lineStyle").getLineStyle(),s=a.get("splitLine.show"),c=t.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var p=r.start,A=0;p.time<=r.end.time;A++){C(p.formatedDate),A===0&&(p=l.getDateInfo(r.start.y+"-"+r.start.m));var w=p.date;w.setMonth(w.getMonth()+1),p=l.getDateInfo(w)}C(l.getNextNDay(r.end.time,1).formatedDate);function C(x){n._firstDayOfMonth.push(l.getDateInfo(x)),n._firstDayPoints.push(l.dataToRect([x],!1).tl);var E=n._getLinePointsOfOneWeek(a,x,o);n._tlpoints.push(E[0]),n._blpoints.push(E[E.length-1]),s&&n._drawSplitline(E,t,d)}s&&this._drawSplitline(n._getEdgesPoints(n._tlpoints,c,o),t,d),s&&this._drawSplitline(n._getEdgesPoints(n._blpoints,c,o),t,d)},_getEdgesPoints:function(a,r,o){var d=[a[0].slice(),a[a.length-1].slice()],n=o==="horizontal"?0:1;return d[0][n]=d[0][n]-r/2,d[1][n]=d[1][n]+r/2,d},_drawSplitline:function(a,r,o){var d=new b.Polyline({z2:20,shape:{points:a},style:r});o.add(d)},_getLinePointsOfOneWeek:function(a,r,o){var d=a.coordinateSystem;r=d.getDateInfo(r);for(var n=[],l=0;l<7;l++){var t=d.getNextNDay(r.time,l),s=d.dataToRect([t.time],!1);n[2*t.day]=s.tl,n[2*t.day+1]=s[o==="horizontal"?"bl":"tr"]}return n},_formatterLabel:function(a,r){return typeof a=="string"&&a?m.formatTplSimple(a,r):typeof a=="function"?a(r):r.nameMap},_yearTextPositionControl:function(a,r,o,d,n){r=r.slice();var l=["center","bottom"];d==="bottom"?(r[1]+=n,l=["center","top"]):d==="left"?r[0]-=n:d==="right"?(r[0]+=n,l=["center","top"]):r[1]-=n;var t=0;return(d==="left"||d==="right")&&(t=Math.PI/2),{rotation:t,position:r,style:{textAlign:l[0],textVerticalAlign:l[1]}}},_renderYearText:function(a,r,o,d){var n=a.getModel("yearLabel");if(!n.get("show"))return;var l=n.get("margin"),t=n.get("position");t||(t=o!=="horizontal"?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],c=(s[0][0]+s[1][0])/2,p=(s[0][1]+s[1][1])/2,A=o==="horizontal"?0:1,w={top:[c,s[A][1]],bottom:[c,s[1-A][1]],left:[s[1-A][0],p],right:[s[A][0],p]},C=r.start.y;+r.end.y>+r.start.y&&(C=C+"-"+r.end.y);var x=n.get("formatter"),E={start:r.start.y,end:r.end.y,nameMap:C},T=this._formatterLabel(x,E),_=new b.Text({z2:30});b.setTextStyle(_.style,n,{text:T}),_.attr(this._yearTextPositionControl(_,w[t],o,t,l)),d.add(_)},_monthTextPositionControl:function(a,r,o,d,n){var l="left",t="top",s=a[0],c=a[1];return o==="horizontal"?(c=c+n,r&&(l="center"),d==="start"&&(t="bottom")):(s=s+n,r&&(t="middle"),d==="start"&&(l="right")),{x:s,y:c,textAlign:l,textVerticalAlign:t}},_renderMonthText:function(a,r,o){var d=a.getModel("monthLabel");if(!d.get("show"))return;var n=d.get("nameMap"),l=d.get("margin"),t=d.get("position"),s=d.get("align"),c=[this._tlpoints,this._blpoints];f.isString(n)&&(n=h[n.toUpperCase()]||[]);var p=t==="start"?0:1,A=r==="horizontal"?0:1;l=t==="start"?-l:l;for(var w=s==="center",C=0;C<c[p].length-1;C++){var x=c[p][C].slice(),E=this._firstDayOfMonth[C];if(w){var T=this._firstDayPoints[C];x[A]=(T[A]+c[0][C+1][A])/2}var _=d.get("formatter"),v=n[+E.m-1],S={yyyy:E.y,yy:(E.y+"").slice(2),MM:E.m,M:+E.m,nameMap:v},O=this._formatterLabel(_,S),L=new b.Text({z2:30});f.extend(b.setTextStyle(L.style,d,{text:O}),this._monthTextPositionControl(x,w,r,t,l)),o.add(L)}},_weekTextPositionControl:function(a,r,o,d,n){var l="center",t="middle",s=a[0],c=a[1],p=o==="start";return r==="horizontal"?(s=s+d+(p?1:-1)*n[0]/2,l=p?"right":"left"):(c=c+d+(p?1:-1)*n[1]/2,t=p?"bottom":"top"),{x:s,y:c,textAlign:l,textVerticalAlign:t}},_renderWeekText:function(a,r,o,d){var n=a.getModel("dayLabel");if(!n.get("show"))return;var l=a.coordinateSystem,t=n.get("position"),s=n.get("nameMap"),c=n.get("margin"),p=l.getFirstDayOfWeek();f.isString(s)&&(s=u[s.toUpperCase()]||[]);var A=l.getNextNDay(r.end.time,7-r.lweek).time,w=[l.getCellWidth(),l.getCellHeight()];c=y.parsePercent(c,w[o==="horizontal"?0:1]),t==="start"&&(A=l.getNextNDay(r.start.time,-(7+r.fweek)).time,c=-c);for(var C=0;C<7;C++){var x=l.getNextNDay(A,C),E=l.dataToRect([x.time],!1).center,T=C;T=Math.abs((C+p)%7);var _=new b.Text({z2:30});f.extend(b.setTextStyle(_.style,n,{text:s[T]}),this._weekTextPositionControl(E,o,t,c,w)),d.add(_)}}});R.exports=i},"7oTu":function(R,I,e){var g=e("IMiH"),f=e("QBsz"),b=f.applyTransform,m=g.CMD,y=[[],[],[]],h=Math.sqrt,u=Math.atan2;function i(a,r){var o=a.data,d,n,l,t,s,c,p=m.M,A=m.C,w=m.L,C=m.R,x=m.A,E=m.Q;for(l=0,t=0;l<o.length;){d=o[l++],t=l,n=0;switch(d){case p:n=1;break;case w:n=1;break;case A:n=3;break;case E:n=2;break;case x:var T=r[4],_=r[5],v=h(r[0]*r[0]+r[1]*r[1]),S=h(r[2]*r[2]+r[3]*r[3]),O=u(-r[1]/S,r[0]/v);o[l]*=v,o[l++]+=T,o[l]*=S,o[l++]+=_,o[l++]*=v,o[l++]*=S,o[l++]+=O,o[l++]+=O,l+=2,t=l;break;case C:c[0]=o[l++],c[1]=o[l++],b(c,c,r),o[t++]=c[0],o[t++]=c[1],c[0]+=o[l++],c[1]+=o[l++],b(c,c,r),o[t++]=c[0],o[t++]=c[1]}for(s=0;s<n;s++){var c=y[s];c[0]=o[l++],c[1]=o[l++],b(c,c,r),o[t++]=c[0],o[t++]=c[1]}}}R.exports=i},"7pVf":function(R,I,e){var g=e("ProS"),f=e("ZqQs");e("oE7X"),e("OUJF"),e("3X6L"),e("NH9N"),g.registerPreprocessor(f)},"7ph2":function(R,I){function e(b){return b instanceof Array||(b=[b,b]),b}var g="lineStyle.opacity".split("."),f={seriesType:"lines",reset:function(b,m,y){var h=e(b.get("symbol")),u=e(b.get("symbolSize")),i=b.getData();i.setVisual("fromSymbol",h&&h[0]),i.setVisual("toSymbol",h&&h[1]),i.setVisual("fromSymbolSize",u&&u[0]),i.setVisual("toSymbolSize",u&&u[1]),i.setVisual("opacity",b.get(g));function a(r,o){var d=r.getItemModel(o),n=e(d.getShallow("symbol",!0)),l=e(d.getShallow("symbolSize",!0)),t=d.get(g);n[0]&&r.setItemVisual(o,"fromSymbol",n[0]),n[1]&&r.setItemVisual(o,"toSymbol",n[1]),l[0]&&r.setItemVisual(o,"fromSymbolSize",l[0]),l[1]&&r.setItemVisual(o,"toSymbolSize",l[1]),r.setItemVisual(o,"opacity",t)}return{dataEach:i.hasItemOption?a:null}}};R.exports=f},"7uqq":function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("ProS"),m=e("bYtY"),y=e("AUH6"),h=e("+TT/"),u=e("OELB"),i=e("W4dC"),a=e("7DRL");function r(l,t){var s=l.get("boundingCoords");if(s!=null){var c=s[0],p=s[1];isNaN(c[0])||isNaN(c[1])||isNaN(p[0])||isNaN(p[1])||this.setBoundingRect(c[0],c[1],p[0]-c[0],p[1]-c[1])}var A=this.getBoundingRect(),w,C=l.get("layoutCenter"),x=l.get("layoutSize"),E=t.getWidth(),T=t.getHeight(),_=A.width/A.height*this.aspectScale,v=!1;C&&x&&(C=[u.parsePercent(C[0],E),u.parsePercent(C[1],T)],x=u.parsePercent(x,Math.min(E,T)),!isNaN(C[0])&&!isNaN(C[1])&&!isNaN(x)&&(v=!0));var S;if(v){var S={};_>1?(S.width=x,S.height=x/_):(S.height=x,S.width=x*_),S.y=C[1]-S.height/2,S.x=C[0]-S.width/2}else w=l.getBoxLayoutParams(),w.aspect=_,S=h.getLayoutRect(w,{width:E,height:T});this.setViewRect(S.x,S.y,S.width,S.height),this.setCenter(l.get("center")),this.setZoom(l.get("zoom"))}function o(l,t){m.each(t.get("geoCoord"),function(s,c){l.addGeoCoord(c,s)})}var d={dimensions:y.prototype.dimensions,create:function(l,t){var s=[];l.eachComponent("geo",function(p,A){var w=p.get("map"),C=p.get("aspectScale"),x=!0,E=a.retrieveMap(w);E&&E[0]&&E[0].type==="svg"?(C==null&&(C=1),x=!1):C==null&&(C=.75);var T=new y(w+A,w,p.get("nameMap"),x);T.aspectScale=C,T.zoomLimit=p.get("scaleLimit"),s.push(T),o(T,p),p.coordinateSystem=T,T.model=p,T.resize=r,T.resize(p,t)}),l.eachSeries(function(p){var A=p.get("coordinateSystem");if(A==="geo"){var w=p.get("geoIndex")||0;p.coordinateSystem=s[w]}});var c={};return l.eachSeriesByType("map",function(p){if(!p.getHostGeoModel()){var A=p.getMapType();c[A]=c[A]||[],c[A].push(p)}}),m.each(c,function(p,A){var w=m.map(p,function(x){return x.get("nameMap")}),C=new y(A,A,m.mergeAll(w));C.zoomLimit=m.retrieve.apply(null,m.map(p,function(x){return x.get("scaleLimit")})),s.push(C),C.resize=r,C.aspectScale=p[0].get("aspectScale"),C.resize(p[0],t),m.each(p,function(x){x.coordinateSystem=C,o(C,x)})}),s},getFilledRegions:function(l,t,s){for(var c=(l||[]).slice(),p=m.createHashMap(),A=0;A<c.length;A++)p.set(c[A].name,c[A]);var w=i.load(t,s);return m.each(w.regions,function(C){var x=C.name;!p.get(x)&&c.push({name:x})}),c}};b.registerCoordinateSystem("geo",d);var n=d;R.exports=n},"7yuC":function(R,I,e){var g=e("QBsz"),f=g.scaleAndAdd;function b(m,y,h){for(var u=h.rect,i=u.width,a=u.height,r=[u.x+i/2,u.y+a/2],o=h.gravity==null?.1:h.gravity,d=0;d<m.length;d++){var n=m[d];n.p||(n.p=g.create(i*(Math.random()-.5)+r[0],a*(Math.random()-.5)+r[1])),n.pp=g.clone(n.p),n.edges=null}var l=h.friction==null?.6:h.friction,t=l;return{warmUp:function(){t=l*.8},setFixed:function(s){m[s].fixed=!0},setUnfixed:function(s){m[s].fixed=!1},step:function(s){for(var c=[],p=m.length,A=0;A<y.length;A++){var w=y[A];if(w.ignoreForceLayout)continue;var C=w.n1,x=w.n2;g.sub(c,x.p,C.p);var E=g.len(c)-w.d,T=x.w/(C.w+x.w);isNaN(T)&&(T=0),g.normalize(c,c),!C.fixed&&f(C.p,C.p,c,T*E*t),!x.fixed&&f(x.p,x.p,c,-(1-T)*E*t)}for(var A=0;A<p;A++){var _=m[A];_.fixed||(g.sub(c,r,_.p),f(_.p,_.p,c,o*t))}for(var A=0;A<p;A++)for(var C=m[A],v=A+1;v<p;v++){var x=m[v];g.sub(c,x.p,C.p);var E=g.len(c);E===0&&(g.set(c,Math.random()-.5,Math.random()-.5),E=1);var S=(C.rep+x.rep)/E/E;!C.fixed&&f(C.pp,C.pp,c,S),!x.fixed&&f(x.pp,x.pp,c,-S)}for(var O=[],A=0;A<p;A++){var _=m[A];_.fixed||(g.sub(O,_.p,_.pp),f(_.p,_.p,O,t),g.copy(_.pp,_.p))}t=t*.992,s&&s(m,y,t<.01)}}}I.forceLayout=b},"8+yF":function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g={256:960,257:992,258:451,259:483,260:417,261:433,262:454,263:486,264:710,265:742,266:709,267:741,268:456,269:488,270:463,271:495,272:464,273:496,274:938,275:954,278:972,279:1004,280:458,281:490,282:460,283:492,284:728,285:760,286:683,287:699,288:725,289:757,290:939,291:955,292:678,293:694,294:673,295:689,296:933,297:949,298:975,299:1007,302:967,303:999,304:681,305:697,308:684,309:700,310:979,311:1011,312:930,313:453,314:485,315:934,316:950,317:421,318:437,321:419,322:435,323:465,324:497,325:977,326:1009,327:466,328:498,330:957,331:959,332:978,333:1010,336:469,337:501,338:5052,339:5053,340:448,341:480,342:931,343:947,344:472,345:504,346:422,347:438,348:734,349:766,350:426,351:442,352:425,353:441,354:478,355:510,356:427,357:443,358:940,359:956,360:989,361:1021,362:990,363:1022,364:733,365:765,366:473,367:505,368:475,369:507,370:985,371:1017,376:5054,377:428,378:444,379:431,380:447,381:430,382:446,402:2294,466:16777681,711:439,728:418,729:511,731:434,733:445,901:1966,902:1953,904:1954,905:1955,906:1956,908:1959,910:1960,911:1963,912:1974,913:1985,914:1986,915:1987,916:1988,917:1989,918:1990,919:1991,920:1992,921:1993,922:1994,923:1995,924:1996,925:1997,926:1998,927:1999,928:2e3,929:2001,931:2002,932:2004,933:2005,934:2006,935:2007,936:2008,937:2009,938:1957,939:1961,940:1969,941:1970,942:1971,943:1972,944:1978,945:2017,946:2018,947:2019,948:2020,949:2021,950:2022,951:2023,952:2024,953:2025,954:2026,955:2027,956:2028,957:2029,958:2030,959:2031,960:2032,961:2033,962:2035,963:2034,964:2036,965:2037,966:2038,967:2039,968:2040,969:2041,970:1973,971:1977,972:1975,973:1976,974:1979,1025:1715,1026:1713,1027:1714,1028:1716,1029:1717,1030:1718,1031:1719,1032:1720,1033:1721,1034:1722,1035:1723,1036:1724,1038:1726,1039:1727,1040:1761,1041:1762,1042:1783,1043:1767,1044:1764,1045:1765,1046:1782,1047:1786,1048:1769,1049:1770,1050:1771,1051:1772,1052:1773,1053:1774,1054:1775,1055:1776,1056:1778,1057:1779,1058:1780,1059:1781,1060:1766,1061:1768,1062:1763,1063:1790,1064:1787,1065:1789,1066:1791,1067:1785,1068:1784,1069:1788,1070:1760,1071:1777,1072:1729,1073:1730,1074:1751,1075:1735,1076:1732,1077:1733,1078:1750,1079:1754,1080:1737,1081:1738,1082:1739,1083:1740,1084:1741,1085:1742,1086:1743,1087:1744,1088:1746,1089:1747,1090:1748,1091:1749,1092:1734,1093:1736,1094:1731,1095:1758,1096:1755,1097:1757,1098:1759,1099:1753,1100:1752,1101:1756,1102:1728,1103:1745,1105:1699,1106:1697,1107:1698,1108:1700,1109:1701,1110:1702,1111:1703,1112:1704,1113:1705,1114:1706,1115:1707,1116:1708,1118:1710,1119:1711,1168:1725,1169:1709,1488:3296,1489:3297,1490:3298,1491:3299,1492:3300,1493:3301,1494:3302,1495:3303,1496:3304,1497:3305,1498:3306,1499:3307,1500:3308,1501:3309,1502:3310,1503:3311,1504:3312,1505:3313,1506:3314,1507:3315,1508:3316,1509:3317,1510:3318,1511:3319,1512:3320,1513:3321,1514:3322,1548:1452,1563:1467,1567:1471,1569:1473,1570:1474,1571:1475,1572:1476,1573:1477,1574:1478,1575:1479,1576:1480,1577:1481,1578:1482,1579:1483,1580:1484,1581:1485,1582:1486,1583:1487,1584:1488,1585:1489,1586:1490,1587:1491,1588:1492,1589:1493,1590:1494,1591:1495,1592:1496,1593:1497,1594:1498,1600:1504,1601:1505,1602:1506,1603:1507,1604:1508,1605:1509,1606:1510,1607:1511,1608:1512,1609:1513,1610:1514,1611:1515,1612:1516,1613:1517,1614:1518,1615:1519,1616:1520,1617:1521,1618:1522,3585:3489,3586:3490,3587:3491,3588:3492,3589:3493,3590:3494,3591:3495,3592:3496,3593:3497,3594:3498,3595:3499,3596:3500,3597:3501,3598:3502,3599:3503,3600:3504,3601:3505,3602:3506,3603:3507,3604:3508,3605:3509,3606:3510,3607:3511,3608:3512,3609:3513,3610:3514,3611:3515,3612:3516,3613:3517,3614:3518,3615:3519,3616:3520,3617:3521,3618:3522,3619:3523,3620:3524,3621:3525,3622:3526,3623:3527,3624:3528,3625:3529,3626:3530,3627:3531,3628:3532,3629:3533,3630:3534,3631:3535,3632:3536,3633:3537,3634:3538,3635:3539,3636:3540,3637:3541,3638:3542,3639:3543,3640:3544,3641:3545,3642:3546,3647:3551,3648:3552,3649:3553,3650:3554,3651:3555,3652:3556,3653:3557,3654:3558,3655:3559,3656:3560,3657:3561,3658:3562,3659:3563,3660:3564,3661:3565,3664:3568,3665:3569,3666:3570,3667:3571,3668:3572,3669:3573,3670:3574,3671:3575,3672:3576,3673:3577,8194:2722,8195:2721,8196:2723,8197:2724,8199:2725,8200:2726,8201:2727,8202:2728,8210:2747,8211:2730,8212:2729,8213:1967,8215:3295,8216:2768,8217:2769,8218:2813,8220:2770,8221:2771,8222:2814,8224:2801,8225:2802,8226:2790,8229:2735,8230:2734,8240:2773,8242:2774,8243:2775,8248:2812,8254:1150,8361:3839,8364:8364,8453:2744,8470:1712,8471:2811,8478:2772,8482:2761,8531:2736,8532:2737,8533:2738,8534:2739,8535:2740,8536:2741,8537:2742,8538:2743,8539:2755,8540:2756,8541:2757,8542:2758,8592:2299,8593:2300,8594:2301,8595:2302,8658:2254,8660:2253,8706:2287,8711:2245,8728:3018,8730:2262,8733:2241,8734:2242,8743:2270,8744:2271,8745:2268,8746:2269,8747:2239,8756:2240,8764:2248,8771:2249,8773:16785992,8800:2237,8801:2255,8804:2236,8805:2238,8834:2266,8835:2267,8866:3068,8867:3036,8868:3010,8869:3022,8968:3027,8970:3012,8981:2810,8992:2212,8993:2213,9109:3020,9115:2219,9117:2220,9118:2221,9120:2222,9121:2215,9123:2216,9124:2217,9126:2218,9128:2223,9132:2224,9143:2209,9146:2543,9147:2544,9148:2546,9149:2547,9225:2530,9226:2533,9227:2537,9228:2531,9229:2532,9251:2732,9252:2536,9472:2211,9474:2214,9484:2210,9488:2539,9492:2541,9496:2538,9500:2548,9508:2549,9516:2551,9524:2550,9532:2542,9618:2529,9642:2791,9643:2785,9644:2779,9645:2786,9646:2783,9647:2767,9650:2792,9651:2787,9654:2781,9655:2765,9660:2793,9661:2788,9664:2780,9665:2764,9670:2528,9675:2766,9679:2782,9702:2784,9734:2789,9742:2809,9747:2762,9756:2794,9758:2795,9792:2808,9794:2807,9827:2796,9829:2798,9830:2797,9837:2806,9839:2805,10003:2803,10007:2804,10013:2777,10016:2800,10216:2748,10217:2750,12289:1188,12290:1185,12300:1186,12301:1187,12443:1246,12444:1247,12449:1191,12450:1201,12451:1192,12452:1202,12453:1193,12454:1203,12455:1194,12456:1204,12457:1195,12458:1205,12459:1206,12461:1207,12463:1208,12465:1209,12467:1210,12469:1211,12471:1212,12473:1213,12475:1214,12477:1215,12479:1216,12481:1217,12483:1199,12484:1218,12486:1219,12488:1220,12490:1221,12491:1222,12492:1223,12493:1224,12494:1225,12495:1226,12498:1227,12501:1228,12504:1229,12507:1230,12510:1231,12511:1232,12512:1233,12513:1234,12514:1235,12515:1196,12516:1236,12517:1197,12518:1237,12519:1198,12520:1238,12521:1239,12522:1240,12523:1241,12524:1242,12525:1243,12527:1244,12530:1190,12531:1245,12539:1189,12540:1200},f={lookup:function(m){if(m>=32&&m<=255)return m;var y=g[m];return y!==void 0?y:16777216|m}};I.default=f},"815F":function(R,I,e){"use strict";e.d(I,"e",function(){return u}),e.d(I,"c",function(){return a}),e.d(I,"d",function(){return r}),e.d(I,"a",function(){return d}),e.d(I,"f",function(){return n}),e.d(I,"b",function(){return l});var g=e("KQm4"),f=e("VTBJ"),b=e("Ff2n"),m=e("Zm9Q"),y=e("Kwbf"),h=e("OZM5");function u(t,s){return t!=null?t:s}function i(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=new Map;function c(p){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(p||[]).forEach(function(w){var C=w.key,x=w.children;Object(y.a)(C!=null,"Tree node must have a certain key: [".concat(A).concat(C,"]"));var E=String(C);Object(y.a)(!s.has(E)||C===null||C===void 0,"Same 'key' exist in the Tree: ".concat(E)),s.set(E,!0),c(x,"".concat(A).concat(E," > "))})}c(t)}function a(t){function s(c){var p=Object(m.a)(c);return p.map(function(A){if(!Object(h.i)(A))return Object(y.a)(!A,"Tree/TreeNode can only accept TreeNode as children."),null;var w=A.key,C=A.props,x=C.children,E=Object(b.a)(C,["children"]),T=Object(f.a)({key:w},E),_=s(x);return _.length&&(T.children=_),T}).filter(function(A){return A})}return s(t)}function r(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],c=new Set(s===!0?[]:s),p=[];function A(w){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return w.map(function(x,E){var T=Object(h.h)(C?C.pos:"0",E),_=u(x.key,T),v=Object(f.a)(Object(f.a)({},x),{},{parent:C,pos:T,children:null,data:x,isStart:[].concat(Object(g.a)(C?C.isStart:[]),[E===0]),isEnd:[].concat(Object(g.a)(C?C.isEnd:[]),[E===w.length-1])});return p.push(v),s===!0||c.has(_)?v.children=A(x.children||[],v):v.children=[],v})}return A(t),p}function o(t,s,c){var p;c?typeof c=="string"?p=function(C){return C[c]}:typeof c=="function"&&(p=function(C){return c(C)}):p=function(C,x){return u(C.key,x)};function A(w,C,x){var E=w?w.children:t,T=w?Object(h.h)(x.pos,C):"0";if(w){var _=p(w,T),v={node:w,index:C,pos:T,key:_,parentPos:x.node?x.pos:null,level:x.level+1};s(v)}E&&E.forEach(function(S,O){A(S,O,{node:w,pos:T,level:x?x.level+1:-1})})}A(null)}function d(t){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=s.initWrapper,p=s.processEntity,A=s.onProcessFinished,w=arguments.length>2?arguments[2]:void 0,C={},x={},E={posEntities:C,keyEntities:x};return c&&(E=c(E)||E),o(t,function(T){var _=T.node,v=T.index,S=T.pos,O=T.key,L=T.parentPos,M=T.level,F={node:_,index:v,key:O,pos:S,level:M},U=u(O,S);C[S]=F,x[U]=F,F.parent=C[L],F.parent&&(F.parent.children=F.parent.children||[],F.parent.children.push(F)),p&&p(F,E)},w),A&&A(E),E}function n(t,s){var c=s.expandedKeys,p=s.selectedKeys,A=s.loadedKeys,w=s.loadingKeys,C=s.checkedKeys,x=s.halfCheckedKeys,E=s.dragOverNodeKey,T=s.dropPosition,_=s.keyEntities,v=_[t],S={eventKey:t,expanded:c.indexOf(t)!==-1,selected:p.indexOf(t)!==-1,loaded:A.indexOf(t)!==-1,loading:w.indexOf(t)!==-1,checked:C.indexOf(t)!==-1,halfChecked:x.indexOf(t)!==-1,pos:String(v?v.pos:""),dragOver:E===t&&T===0,dragOverGapTop:E===t&&T===-1,dragOverGapBottom:E===t&&T===1};return S}function l(t){var s=t.data,c=t.expanded,p=t.selected,A=t.checked,w=t.loaded,C=t.loading,x=t.halfChecked,E=t.dragOver,T=t.dragOverGapTop,_=t.dragOverGapBottom,v=t.pos,S=t.active,O=Object(f.a)(Object(f.a)({},s),{},{expanded:c,selected:p,checked:A,loaded:w,loading:C,halfChecked:x,dragOver:E,dragOverGapTop:T,dragOverGapBottom:_,pos:v,active:S});return"props"in O||Object.defineProperty(O,"props",{get:function(){return Object(y.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),t}}),O}},"8CQX":function(R,I,e){"use strict";function g(l){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(s){return typeof s}:g=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},g(l)}Object.defineProperty(I,"__esModule",{value:!0}),I.getKeycode=o,I.getKey=d,I.getKeysym=n;var f=r(e("mHUz")),b=r(e("8+yF")),m=r(e("6Qwc")),y=r(e("gIYZ")),h=r(e("mTgk")),u=a(e("GdRQ"));function i(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return i=function(){return l},l}function a(l){if(l&&l.__esModule)return l;if(l===null||g(l)!=="object"&&typeof l!="function")return{default:l};var t=i();if(t&&t.has(l))return t.get(l);var s={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in l)if(Object.prototype.hasOwnProperty.call(l,p)){var A=c?Object.getOwnPropertyDescriptor(l,p):null;A&&(A.get||A.set)?Object.defineProperty(s,p,A):s[p]=l[p]}return s.default=l,t&&t.set(l,s),s}function r(l){return l&&l.__esModule?l:{default:l}}function o(l){if(l.code){switch(l.code){case"OSLeft":return"MetaLeft";case"OSRight":return"MetaRight"}return l.code}if(l.type!=="keypress"&&l.keyCode in m.default){var t=m.default[l.keyCode];if(u.isMac()&&t==="ContextMenu"&&(t="MetaRight"),l.location===2)switch(t){case"ShiftLeft":return"ShiftRight";case"ControlLeft":return"ControlRight";case"AltLeft":return"AltRight"}if(l.location===3)switch(t){case"Delete":return"NumpadDecimal";case"Insert":return"Numpad0";case"End":return"Numpad1";case"ArrowDown":return"Numpad2";case"PageDown":return"Numpad3";case"ArrowLeft":return"Numpad4";case"ArrowRight":return"Numpad6";case"Home":return"Numpad7";case"ArrowUp":return"Numpad8";case"PageUp":return"Numpad9";case"Enter":return"NumpadEnter"}return t}return"Unidentified"}function d(l){if(l.key!==void 0){switch(l.key){case"Spacebar":return" ";case"Esc":return"Escape";case"Scroll":return"ScrollLock";case"Win":return"Meta";case"Apps":return"ContextMenu";case"Up":return"ArrowUp";case"Left":return"ArrowLeft";case"Right":return"ArrowRight";case"Down":return"ArrowDown";case"Del":return"Delete";case"Divide":return"/";case"Multiply":return"*";case"Subtract":return"-";case"Add":return"+";case"Decimal":return l.char}switch(l.key){case"OS":return"Meta";case"LaunchMyComputer":return"LaunchApplication1";case"LaunchCalculator":return"LaunchApplication2"}switch(l.key){case"UIKeyInputUpArrow":return"ArrowUp";case"UIKeyInputDownArrow":return"ArrowDown";case"UIKeyInputLeftArrow":return"ArrowLeft";case"UIKeyInputRightArrow":return"ArrowRight";case"UIKeyInputEscape":return"Escape"}if(l.key==="\0"&&l.code==="NumpadDecimal")return"Delete";if(!u.isIE()&&!u.isEdge())return l.key;if(l.key.length!==1&&l.key!=="Unidentified")return l.key}var t=o(l);return t in y.default?y.default[t]:l.charCode?String.fromCharCode(l.charCode):"Unidentified"}function n(l){var t=d(l);if(t==="Unidentified")return null;if(t in h.default){var s=l.location;if(t==="Meta"&&s===0&&(s=2),t==="Clear"&&s===3){var c=o(l);c==="NumLock"&&(s=0)}if((s===void 0||s>3)&&(s=0),t==="Meta"){var p=o(l);if(p==="AltLeft")return f.default.XK_Meta_L;if(p==="AltRight")return f.default.XK_Meta_R}if(t==="Clear"){var A=o(l);if(A==="NumLock")return f.default.XK_Num_Lock}return h.default[t][s]}if(t.length!==1)return null;var w=t.charCodeAt();return w?b.default.lookup(w):null}},"8EBN":function(R,I,e){(function(g){g(e("VrN/"))})(function(g){"use strict";g.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var f=0;f<g.modeInfo.length;f++){var b=g.modeInfo[f];b.mimes&&(b.mime=b.mimes[0])}g.findModeByMIME=function(m){m=m.toLowerCase();for(var y=0;y<g.modeInfo.length;y++){var h=g.modeInfo[y];if(h.mime==m)return h;if(h.mimes){for(var u=0;u<h.mimes.length;u++)if(h.mimes[u]==m)return h}}if(/\+xml$/.test(m))return g.findModeByMIME("application/xml");if(/\+json$/.test(m))return g.findModeByMIME("application/json")},g.findModeByExtension=function(m){m=m.toLowerCase();for(var y=0;y<g.modeInfo.length;y++){var h=g.modeInfo[y];if(h.ext){for(var u=0;u<h.ext.length;u++)if(h.ext[u]==m)return h}}},g.findModeByFileName=function(m){for(var y=0;y<g.modeInfo.length;y++){var h=g.modeInfo[y];if(h.file&&h.file.test(m))return h}var u=m.lastIndexOf("."),i=u>-1&&m.substring(u+1,m.length);if(i)return g.findModeByExtension(i)},g.findModeByName=function(m){m=m.toLowerCase();for(var y=0;y<g.modeInfo.length;y++){var h=g.modeInfo[y];if(h.name.toLowerCase()==m)return h;if(h.alias){for(var u=0;u<h.alias.length;u++)if(h.alias[u].toLowerCase()==m)return h}}}})},"8IMR":function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};I.default=g},"8ISB":function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("6Hfg"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},"8K/p":function(R,I,e){"use strict";function g(o){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(n){return typeof n}:g=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},g(o)}Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var f=h(e("Lo0S")),b=m(e("ItS6"));function m(o){return o&&o.__esModule?o:{default:o}}function y(){if(typeof WeakMap!="function")return null;var o=new WeakMap;return y=function(){return o},o}function h(o){if(o&&o.__esModule)return o;if(o===null||g(o)!=="object"&&typeof o!="function")return{default:o};var d=y();if(d&&d.has(o))return d.get(o);var n={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in o)if(Object.prototype.hasOwnProperty.call(o,t)){var s=l?Object.getOwnPropertyDescriptor(o,t):null;s&&(s.get||s.set)?Object.defineProperty(n,t,s):n[t]=o[t]}return n.default=o,d&&d.set(o,n),n}function u(o,d){if(!(o instanceof d))throw new TypeError("Cannot call a class as a function")}function i(o,d){for(var n=0;n<d.length;n++){var l=d[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(o,l.key,l)}}function a(o,d,n){return d&&i(o.prototype,d),n&&i(o,n),o}var r=function(){function o(){u(this,o),this._ctl=null,this._filter=null,this._numColors=0,this._palette=new Uint8Array(1024),this._len=0,this._zlibs=[];for(var d=0;d<4;d++)this._zlibs[d]=new b.default}return a(o,[{key:"decodeRect",value:function(n,l,t,s,c,p,A){if(this._ctl===null){if(c.rQwait("TIGHT compression-control",1))return!1;this._ctl=c.rQshift8();for(var w=0;w<4;w++)this._ctl>>w&1&&(this._zlibs[w].reset(),f.Info("Reset zlib stream "+w));this._ctl=this._ctl>>4}var C;if(this._ctl===8)C=this._fillRect(n,l,t,s,c,p,A);else if(this._ctl===9)C=this._jpegRect(n,l,t,s,c,p,A);else if(this._ctl===10)C=this._pngRect(n,l,t,s,c,p,A);else if((this._ctl&128)==0)C=this._basicRect(this._ctl,n,l,t,s,c,p,A);else throw new Error("Illegal tight compression received (ctl: "+this._ctl+")");return C&&(this._ctl=null),C}},{key:"_fillRect",value:function(n,l,t,s,c,p,A){if(c.rQwait("TIGHT",3))return!1;var w=c.rQi,C=c.rQ;return p.fillRect(n,l,t,s,[C[w+2],C[w+1],C[w]],!1),c.rQskipBytes(3),!0}},{key:"_jpegRect",value:function(n,l,t,s,c,p,A){var w=this._readData(c);return w===null?!1:(p.imageRect(n,l,t,s,"image/jpeg",w),!0)}},{key:"_pngRect",value:function(n,l,t,s,c,p,A){throw new Error("PNG received in standard Tight rect")}},{key:"_basicRect",value:function(n,l,t,s,c,p,A,w){if(this._filter===null)if(n&4){if(p.rQwait("TIGHT",1))return!1;this._filter=p.rQshift8()}else this._filter=0;var C=n&3,x;switch(this._filter){case 0:x=this._copyFilter(C,l,t,s,c,p,A,w);break;case 1:x=this._paletteFilter(C,l,t,s,c,p,A,w);break;case 2:x=this._gradientFilter(C,l,t,s,c,p,A,w);break;default:throw new Error("Illegal tight filter received (ctl: "+this._filter+")")}return x&&(this._filter=null),x}},{key:"_copyFilter",value:function(n,l,t,s,c,p,A,w){var C=s*c*3,x;if(C<12){if(p.rQwait("TIGHT",C))return!1;x=p.rQshiftBytes(C)}else{if(x=this._readData(p),x===null)return!1;this._zlibs[n].setInput(x),x=this._zlibs[n].inflate(C),this._zlibs[n].setInput(null)}return A.blitRgbImage(l,t,s,c,x,0,!1),!0}},{key:"_paletteFilter",value:function(n,l,t,s,c,p,A,w){if(this._numColors===0){if(p.rQwait("TIGHT palette",1))return!1;var C=p.rQpeek8()+1,x=C*3;if(p.rQwait("TIGHT palette",1+x))return!1;this._numColors=C,p.rQskipBytes(1),p.rQshiftTo(this._palette,x)}var E=this._numColors<=2?1:8,T=Math.floor((s*E+7)/8),_=T*c,v;if(_<12){if(p.rQwait("TIGHT",_))return!1;v=p.rQshiftBytes(_)}else{if(v=this._readData(p),v===null)return!1;this._zlibs[n].setInput(v),v=this._zlibs[n].inflate(_),this._zlibs[n].setInput(null)}return this._numColors==2?this._monoRect(l,t,s,c,v,this._palette,A):this._paletteRect(l,t,s,c,v,this._palette,A),this._numColors=0,!0}},{key:"_monoRect",value:function(n,l,t,s,c,p,A){for(var w=this._getScratchBuffer(t*s*4),C=Math.floor((t+7)/8),x=Math.floor(t/8),E=0;E<s;E++){var T=void 0,_=void 0,v=void 0;for(v=0;v<x;v++)for(var S=7;S>=0;S--)T=(E*t+v*8+7-S)*4,_=(c[E*C+v]>>S&1)*3,w[T]=p[_],w[T+1]=p[_+1],w[T+2]=p[_+2],w[T+3]=255;for(var O=7;O>=8-t%8;O--)T=(E*t+v*8+7-O)*4,_=(c[E*C+v]>>O&1)*3,w[T]=p[_],w[T+1]=p[_+1],w[T+2]=p[_+2],w[T+3]=255}A.blitRgbxImage(n,l,t,s,w,0,!1)}},{key:"_paletteRect",value:function(n,l,t,s,c,p,A){for(var w=this._getScratchBuffer(t*s*4),C=t*s*4,x=0,E=0;x<C;x+=4,E++){var T=c[E]*3;w[x]=p[T],w[x+1]=p[T+1],w[x+2]=p[T+2],w[x+3]=255}A.blitRgbxImage(n,l,t,s,w,0,!1)}},{key:"_gradientFilter",value:function(n,l,t,s,c,p,A,w){throw new Error("Gradient filter not implemented")}},{key:"_readData",value:function(n){if(this._len===0){if(n.rQwait("TIGHT",3))return null;var l;l=n.rQshift8(),this._len=l&127,l&128&&(l=n.rQshift8(),this._len|=(l&127)<<7,l&128&&(l=n.rQshift8(),this._len|=l<<14))}if(n.rQwait("TIGHT",this._len))return null;var t=n.rQshiftBytes(this._len);return this._len=0,t}},{key:"_getScratchBuffer",value:function(n){return(!this._scratchBuffer||this._scratchBuffer.length<n)&&(this._scratchBuffer=new Uint8Array(n)),this._scratchBuffer}}]),o}();I.default=r},"8OUc":function(R,I,e){"use strict";var g=e("q1tI"),f=e.n(g),b=e("TSYQ"),m=e.n(b),y=function(u){var i=u.className,a=u.customizeIcon,r=u.customizeIconProps,o=u.onMouseDown,d=u.onClick,n=u.children,l;return typeof a=="function"?l=a(r):l=a,g.createElement("span",{className:i,onMouseDown:function(s){s.preventDefault(),o&&o(s)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:d,"aria-hidden":!0},l!==void 0?l:g.createElement("span",{className:m()(i.split(/\s+/).map(function(t){return"".concat(t,"-icon")}))},n))};I.a=y},"8SMY":function(R,I,e){var g=e("n4Lv"),f=g.prepareDataCoordInfo,b=g.getStackedOnPoint;function m(h,u){var i=[];return u.diff(h).add(function(a){i.push({cmd:"+",idx:a})}).update(function(a,r){i.push({cmd:"=",idx:r,idx1:a})}).remove(function(a){i.push({cmd:"-",idx:a})}).execute(),i}function y(h,u,i,a,r,o,d,n){for(var l=m(h,u),t=[],s=[],c=[],p=[],A=[],w=[],C=[],x=f(r,u,d),E=f(o,h,n),T=0;T<l.length;T++){var _=l[T],v=!0;switch(_.cmd){case"=":var S=h.getItemLayout(_.idx),O=u.getItemLayout(_.idx1);(isNaN(S[0])||isNaN(S[1]))&&(S=O.slice()),t.push(S),s.push(O),c.push(i[_.idx]),p.push(a[_.idx1]),C.push(u.getRawIndex(_.idx1));break;case"+":var L=_.idx;t.push(r.dataToPoint([u.get(x.dataDimsForPoint[0],L),u.get(x.dataDimsForPoint[1],L)])),s.push(u.getItemLayout(L).slice()),c.push(b(x,r,u,L)),p.push(a[L]),C.push(u.getRawIndex(L));break;case"-":var L=_.idx,M=h.getRawIndex(L);M!==L?(t.push(h.getItemLayout(L)),s.push(o.dataToPoint([h.get(E.dataDimsForPoint[0],L),h.get(E.dataDimsForPoint[1],L)])),c.push(i[L]),p.push(b(E,o,h,L)),C.push(M)):v=!1}v&&(A.push(_),w.push(w.length))}w.sort(function(H,j){return C[H]-C[j]});for(var F=[],U=[],z=[],W=[],N=[],T=0;T<w.length;T++){var L=w[T];F[T]=t[L],U[T]=s[L],z[T]=c[L],W[T]=p[L],N[T]=A[L]}return{current:F,next:U,stackedOnCurrent:z,stackedOnNext:W,status:N}}R.exports=y},"8Skl":function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="DownOutlined";var h=I.a=g.forwardRef(y)},"8Th4":function(R,I,e){var g=e("3LNs"),f=e("/y7N"),b=e("7bkD"),m=e("Znkb"),y=["x","y"],h=["width","height"],u=g.extend({makeElOption:function(d,n,l,t,s){var c=l.axis,p=c.coordinateSystem,A=r(p,1-a(c)),w=p.dataToPoint(n)[0],C=t.get("type");if(C&&C!=="none"){var x=f.buildElStyle(t),E=i[C](c,w,A);E.style=x,d.graphicKey=E.type,d.pointer=E}var T=b.layout(l);f.buildCartesianSingleLabelElOption(n,d,T,l,t,s)},getHandleTransform:function(d,n,l){var t=b.layout(n,{labelInside:!1});return t.labelMargin=l.get("handle.margin"),{position:f.getTransformedPosition(n.axis,d,t),rotation:t.rotation+(t.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(d,n,l,t){var s=l.axis,c=s.coordinateSystem,p=a(s),A=r(c,p),w=d.position;w[p]+=n[p],w[p]=Math.min(A[1],w[p]),w[p]=Math.max(A[0],w[p]);var C=r(c,1-p),x=(C[1]+C[0])/2,E=[x,x];return E[p]=w[p],{position:w,rotation:d.rotation,cursorPoint:E,tooltipOption:{verticalAlign:"middle"}}}}),i={line:function(d,n,l){var t=f.makeLineShape([n,l[0]],[n,l[1]],a(d));return{type:"Line",subPixelOptimize:!0,shape:t}},shadow:function(d,n,l){var t=d.getBandWidth(),s=l[1]-l[0];return{type:"Rect",shape:f.makeRectShape([n-t/2,l[0]],[t,s],a(d))}}};function a(d){return d.isHorizontal()?0:1}function r(d,n){var l=d.getRect();return[l[y[n]],l[y[n]]+l[h[n]]]}m.registerAxisPointerClass("SingleAxisPointer",u);var o=u;R.exports=o},"8Uz6":function(R,I,e){var g=e("hNWo"),f=e("+TT/"),b=f.mergeLayoutParam,m=f.getLayoutParams,y=g.extend({type:"legend.scroll",setScrollDataIndex:function(i){this.option.scrollDataIndex=i},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},init:function(i,a,r,o){var d=m(i);y.superCall(this,"init",i,a,r,o),h(this,i,d)},mergeOption:function(i,a){y.superCall(this,"mergeOption",i,a),h(this,this.option,i)}});function h(i,a,r){var o=i.getOrient(),d=[1,1];d[o.index]=0,b(a,r,{type:"box",ignoreSize:d})}var u=y;R.exports=u},"8X+K":function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("bYtY"),m=e("4mN7"),y=m.fromPoints,h=e("9wZj"),u=e("FBjb"),i=e("8SMY"),a=e("IwbS"),r=e("4NO4"),o=e("1NG9"),d=o.Polyline,n=o.Polygon,l=e("6Ic6"),t=e("n4Lv"),s=t.prepareDataCoordInfo,c=t.getStackedOnPoint,p=e("sK/D"),A=p.createGridClipPath,w=p.createPolarClipPath;function C(F,U){if(F.length!==U.length)return;for(var z=0;z<F.length;z++){var W=F[z],N=U[z];if(W[0]!==N[0]||W[1]!==N[1])return}return!0}function x(F,U){var z=[],W=[],N=[],H=[];return y(F,z,W),y(U,N,H),Math.max(Math.abs(z[0]-N[0]),Math.abs(z[1]-N[1]),Math.abs(W[0]-H[0]),Math.abs(W[1]-H[1]))}function E(F){return typeof F=="number"?F:F?.5:0}function T(F,U,z){if(!z.valueDim)return[];for(var W=[],N=0,H=U.count();N<H;N++)W.push(c(z,F,U,N));return W}function _(F,U,z){for(var W=U.getBaseAxis(),N=W.dim==="x"||W.dim==="radius"?0:1,H=[],j=0;j<F.length-1;j++){var k=F[j+1],B=F[j];H.push(B);var V=[];switch(z){case"end":V[N]=k[N],V[1-N]=B[1-N],H.push(V);break;case"middle":var K=(B[N]+k[N])/2,Y=[];V[N]=Y[N]=K,V[1-N]=B[1-N],Y[1-N]=k[1-N],H.push(V),H.push(Y);break;default:V[N]=B[N],V[1-N]=k[1-N],H.push(V)}}return F[j]&&H.push(F[j]),H}function v(F,U){var z=F.getVisual("visualMeta");if(!z||!z.length||!F.count())return;if(U.type!=="cartesian2d")return;for(var W,N,H=z.length-1;H>=0;H--){var j=z[H].dimension,k=F.dimensions[j],B=F.getDimensionInfo(k);if(W=B&&B.coordDim,W==="x"||W==="y"){N=z[H];break}}if(!N)return;var V=U.getAxis(W),K=b.map(N.stops,function(Pe){return{coord:V.toGlobalCoord(V.dataToCoord(Pe.value)),color:Pe.color}}),Y=K.length,Q=N.outerColors.slice();Y&&K[0].coord>K[Y-1].coord&&(K.reverse(),Q.reverse());var he=10,G=K[0].coord-he,ye=K[Y-1].coord+he,Ae=ye-G;if(Ae<.001)return"transparent";b.each(K,function(Pe){Pe.offset=(Pe.coord-G)/Ae}),K.push({offset:Y?K[Y-1].offset:.5,color:Q[1]||"transparent"}),K.unshift({offset:Y?K[0].offset:.5,color:Q[0]||"transparent"});var ge=new a.LinearGradient(0,0,0,0,K,!0);return ge[W]=G,ge[W+"2"]=ye,ge}function S(F,U,z){var W=F.get("showAllSymbol"),N=W==="auto";if(W&&!N)return;var H=z.getAxesByScale("ordinal")[0];if(!H)return;if(N&&O(H,U))return;var j=U.mapDimension(H.dim),k={};return b.each(H.getViewLabels(),function(B){k[B.tickValue]=1}),function(B){return!k.hasOwnProperty(U.get(j,B))}}function O(F,U){var z=F.getExtent(),W=Math.abs(z[1]-z[0])/F.scale.count();isNaN(W)&&(W=0);for(var N=U.count(),H=Math.max(1,Math.round(N/5)),j=0;j<N;j+=H)if(u.getSymbolSize(U,j)[F.isHorizontal()?1:0]*1.5>W)return!1;return!0}function L(F,U,z){if(F.type==="cartesian2d"){var W=F.getBaseAxis().isHorizontal(),N=A(F,U,z);if(!z.get("clip",!0)){var H=N.shape,j=Math.max(H.width,H.height);W?(H.y-=j,H.height+=j*2):(H.x-=j,H.width+=j*2)}return N}else return w(F,U,z)}var M=l.extend({type:"line",init:function(){var F=new a.Group,U=new h;this.group.add(U.group),this._symbolDraw=U,this._lineGroup=F},render:function(F,U,z){var W=F.coordinateSystem,N=this.group,H=F.getData(),j=F.getModel("lineStyle"),k=F.getModel("areaStyle"),B=H.mapArray(H.getItemLayout),V=W.type==="polar",K=this._coordSys,Y=this._symbolDraw,Q=this._polyline,he=this._polygon,G=this._lineGroup,ye=F.get("animation"),Ae=!k.isEmpty(),ge=k.get("origin"),Pe=s(W,H,ge),Re=T(W,H,Pe),rt=F.get("showSymbol"),ne=rt&&!V&&S(F,H,W),be=this._data;be&&be.eachItemGraphicEl(function(oe,Ie){oe.__temp&&(N.remove(oe),be.setItemGraphicEl(Ie,null))}),rt||Y.remove(),N.add(G);var at=!V&&F.get("step"),se;W&&W.getArea&&F.get("clip",!0)&&(se=W.getArea(),se.width!=null?(se.x-=.1,se.y-=.1,se.width+=.2,se.height+=.2):se.r0&&(se.r0-=.5,se.r1+=.5)),this._clipShapeForSymbol=se,Q&&K.type===W.type&&at===this._step?(Ae&&!he?he=this._newPolygon(B,Re,W,ye):he&&!Ae&&(G.remove(he),he=this._polygon=null),G.setClipPath(L(W,!1,F)),rt&&Y.updateData(H,{isIgnore:ne,clipShape:se}),H.eachItemGraphicEl(function(oe){oe.stopAnimation(!0)}),(!C(this._stackedOnPoints,Re)||!C(this._points,B))&&(ye?this._updateAnimation(H,Re,W,z,at,ge):(at&&(B=_(B,W,at),Re=_(Re,W,at)),Q.setShape({points:B}),he&&he.setShape({points:B,stackedOnPoints:Re})))):(rt&&Y.updateData(H,{isIgnore:ne,clipShape:se}),at&&(B=_(B,W,at),Re=_(Re,W,at)),Q=this._newPolyline(B,W,ye),Ae&&(he=this._newPolygon(B,Re,W,ye)),G.setClipPath(L(W,!0,F)));var q=v(H,W)||H.getVisual("color");Q.useStyle(b.defaults(j.getLineStyle(),{fill:"none",stroke:q,lineJoin:"bevel"}));var X=F.get("smooth");if(X=E(F.get("smooth")),Q.setShape({smooth:X,smoothMonotone:F.get("smoothMonotone"),connectNulls:F.get("connectNulls")}),he){var Z=H.getCalculationInfo("stackedOnSeries"),pe=0;he.useStyle(b.defaults(k.getAreaStyle(),{fill:q,opacity:.7,lineJoin:"bevel"})),Z&&(pe=E(Z.get("smooth"))),he.setShape({smooth:X,stackedOnSmooth:pe,smoothMonotone:F.get("smoothMonotone"),connectNulls:F.get("connectNulls")})}this._data=H,this._coordSys=W,this._stackedOnPoints=Re,this._points=B,this._step=at,this._valueOrigin=ge},dispose:function(){},highlight:function(F,U,z,W){var N=F.getData(),H=r.queryDataIndex(N,W);if(!(H instanceof Array)&&H!=null&&H>=0){var j=N.getItemGraphicEl(H);if(!j){var k=N.getItemLayout(H);if(!k)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(k[0],k[1]))return;j=new u(N,H),j.position=k,j.setZ(F.get("zlevel"),F.get("z")),j.ignore=isNaN(k[0])||isNaN(k[1]),j.__temp=!0,N.setItemGraphicEl(H,j),j.stopSymbolAnimation(!0),this.group.add(j)}j.highlight()}else l.prototype.highlight.call(this,F,U,z,W)},downplay:function(F,U,z,W){var N=F.getData(),H=r.queryDataIndex(N,W);if(H!=null&&H>=0){var j=N.getItemGraphicEl(H);j&&(j.__temp?(N.setItemGraphicEl(H,null),this.group.remove(j)):j.downplay())}else l.prototype.downplay.call(this,F,U,z,W)},_newPolyline:function(F){var U=this._polyline;return U&&this._lineGroup.remove(U),U=new d({shape:{points:F},silent:!0,z2:10}),this._lineGroup.add(U),this._polyline=U,U},_newPolygon:function(F,U){var z=this._polygon;return z&&this._lineGroup.remove(z),z=new n({shape:{points:F,stackedOnPoints:U},silent:!0}),this._lineGroup.add(z),this._polygon=z,z},_updateAnimation:function(F,U,z,W,N,H){var j=this._polyline,k=this._polygon,B=F.hostModel,V=i(this._data,F,this._stackedOnPoints,U,this._coordSys,z,this._valueOrigin,H),K=V.current,Y=V.stackedOnCurrent,Q=V.next,he=V.stackedOnNext;if(N&&(K=_(V.current,z,N),Y=_(V.stackedOnCurrent,z,N),Q=_(V.next,z,N),he=_(V.stackedOnNext,z,N)),x(K,Q)>3e3||k&&x(Y,he)>3e3){j.setShape({points:Q}),k&&k.setShape({points:Q,stackedOnPoints:he});return}j.shape.__points=V.current,j.shape.points=K,a.updateProps(j,{shape:{points:Q}},B),k&&(k.setShape({points:K,stackedOnPoints:Y}),a.updateProps(k,{shape:{points:Q,stackedOnPoints:he}},B));for(var G=[],ye=V.status,Ae=0;Ae<ye.length;Ae++){var ge=ye[Ae].cmd;if(ge==="="){var Pe=F.getItemGraphicEl(ye[Ae].idx1);Pe&&G.push({el:Pe,ptIdx:Ae})}}j.animators&&j.animators.length&&j.animators[0].during(function(){for(var Re=0;Re<G.length;Re++){var rt=G[Re].el;rt.attr("position",j.shape.__points[G[Re].ptIdx])}})},remove:function(F){var U=this.group,z=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),z&&z.eachItemGraphicEl(function(W,N){W.__temp&&(U.remove(W),z.setItemGraphicEl(N,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});R.exports=M},"8XDt":function(R,I,e){e("qH13");var g=e("aX58"),f=g.registerPainter,b=e("6fms");f("vml",b)},"8hn6":function(R,I){var e="#eee",g=function(){return{axisLine:{lineStyle:{color:e}},axisTick:{lineStyle:{color:e}},axisLabel:{textStyle:{color:e}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:e}}}},f=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],b={color:f,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:e},crossStyle:{color:e},label:{color:"#000"}}},legend:{textStyle:{color:e}},textStyle:{color:e},title:{textStyle:{color:e}},toolbox:{iconStyle:{normal:{borderColor:e}}},dataZoom:{textStyle:{color:e}},visualMap:{textStyle:{color:e}},timeline:{lineStyle:{color:e},itemStyle:{normal:{color:f[1]}},label:{normal:{textStyle:{color:e}}},controlStyle:{normal:{color:e,borderColor:e}}},timeAxis:g(),logAxis:g(),valueAxis:g(),categoryAxis:g(),line:{symbol:"circle"},graph:{color:f},gauge:{title:{textStyle:{color:e}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};b.categoryAxis.splitLine.show=!1;var m=b;R.exports=m},"8nMs":function(R,I,e){var g=e("bYtY"),f=e("IwbS"),b=e("+rIm"),m=e("Znkb"),y=e("AVZG"),h=e("WN+l"),u=h.rectCoordAxisBuildSplitArea,i=h.rectCoordAxisHandleRemove,a=["axisLine","axisTickLabel","axisName"],r=["splitArea","splitLine","minorSplitLine"],o=m.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(d,n,l,t){this.group.removeAll();var s=this._axisGroup;if(this._axisGroup=new f.Group,this.group.add(this._axisGroup),!d.get("show"))return;var c=d.getCoordSysModel(),p=y.layout(c,d),A=new b(d,p);g.each(a,A.add,A),this._axisGroup.add(A.getGroup()),g.each(r,function(w){d.get(w+".show")&&this["_"+w](d,c)},this),f.groupTransition(s,this._axisGroup,d),o.superCall(this,"render",d,n,l,t)},remove:function(){i(this)},_splitLine:function(d,n){var l=d.axis;if(l.scale.isBlank())return;var t=d.getModel("splitLine"),s=t.getModel("lineStyle"),c=s.get("color");c=g.isArray(c)?c:[c];for(var p=n.coordinateSystem.getRect(),A=l.isHorizontal(),w=0,C=l.getTicksCoords({tickModel:t}),x=[],E=[],T=s.getLineStyle(),_=0;_<C.length;_++){var v=l.toGlobalCoord(C[_].coord);A?(x[0]=v,x[1]=p.y,E[0]=v,E[1]=p.y+p.height):(x[0]=p.x,x[1]=v,E[0]=p.x+p.width,E[1]=v);var S=w++%c.length,O=C[_].tickValue;this._axisGroup.add(new f.Line({anid:O!=null?"line_"+C[_].tickValue:null,subPixelOptimize:!0,shape:{x1:x[0],y1:x[1],x2:E[0],y2:E[1]},style:g.defaults({stroke:c[S]},T),silent:!0}))}},_minorSplitLine:function(d,n){var l=d.axis,t=d.getModel("minorSplitLine"),s=t.getModel("lineStyle"),c=n.coordinateSystem.getRect(),p=l.isHorizontal(),A=l.getMinorTicksCoords();if(!A.length)return;for(var w=[],C=[],x=s.getLineStyle(),E=0;E<A.length;E++)for(var T=0;T<A[E].length;T++){var _=l.toGlobalCoord(A[E][T].coord);p?(w[0]=_,w[1]=c.y,C[0]=_,C[1]=c.y+c.height):(w[0]=c.x,w[1]=_,C[0]=c.x+c.width,C[1]=_),this._axisGroup.add(new f.Line({anid:"minor_line_"+A[E][T].tickValue,subPixelOptimize:!0,shape:{x1:w[0],y1:w[1],x2:C[0],y2:C[1]},style:x,silent:!0}))}},_splitArea:function(d,n){u(this,this._axisGroup,d,n)}});o.extend({type:"xAxis"}),o.extend({type:"yAxis"})},"8nly":function(R,I,e){var g=e("mFDi"),f=e("4mN7"),b=e("QBsz"),m=e("BlVb");function y(u,i,a){if(this.name=u,this.geometries=i,a)a=[a[0],a[1]];else{var r=this.getBoundingRect();a=[r.x+r.width/2,r.y+r.height/2]}this.center=a}y.prototype={constructor:y,properties:null,getBoundingRect:function(){var u=this._rect;if(u)return u;for(var i=Number.MAX_VALUE,a=[i,i],r=[-i,-i],o=[],d=[],n=this.geometries,l=0;l<n.length;l++){if(n[l].type!=="polygon")continue;var t=n[l].exterior;f.fromPoints(t,o,d),b.min(a,a,o),b.max(r,r,d)}return l===0&&(a[0]=a[1]=r[0]=r[1]=0),this._rect=new g(a[0],a[1],r[0]-a[0],r[1]-a[1])},contain:function(u){var i=this.getBoundingRect(),a=this.geometries;if(!i.contain(u[0],u[1]))return!1;e:for(var r=0,o=a.length;r<o;r++){if(a[r].type!=="polygon")continue;var d=a[r].exterior,n=a[r].interiors;if(m.contain(d,u[0],u[1])){for(var l=0;l<(n?n.length:0);l++)if(m.contain(n[l]))continue e;return!0}}return!1},transformTo:function(u,i,a,r){var o=this.getBoundingRect(),d=o.width/o.height;a?r||(r=a/d):a=d*r;for(var n=new g(u,i,a,r),l=o.calculateTransform(n),t=this.geometries,s=0;s<t.length;s++){if(t[s].type!=="polygon")continue;for(var c=t[s].exterior,p=t[s].interiors,A=0;A<c.length;A++)b.applyTransform(c[A],c[A],l);for(var w=0;w<(p?p.length:0);w++)for(var A=0;A<p[w].length;A++)b.applyTransform(p[w][A],p[w][A],l)}o=this._rect,o.copy(n),this.center=[o.x+o.width/2,o.y+o.height/2]},cloneShallow:function(u){u==null&&(u=this.name);var i=new y(u,this.geometries,this.center);return i._rect=this._rect,i.transformTo=null,i}};var h=y;R.exports=h},"8waO":function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("iLNv"),m=e("ZWlE");e("hJvP"),e("IXyC"),e("xRUu");var y=5;g.extendComponentView({type:"parallel",render:function(i,a,r){this._model=i,this._api=r,this._handlers||(this._handlers={},f.each(h,function(o,d){r.getZr().on(d,this._handlers[d]=f.bind(o,this))},this)),b.createOrUpdate(this,"_throttledDispatchExpand",i.get("axisExpandRate"),"fixRate")},dispose:function(i,a){f.each(this._handlers,function(r,o){a.getZr().off(o,r)}),this._handlers=null},_throttledDispatchExpand:function(i){this._dispatchExpand(i)},_dispatchExpand:function(i){i&&this._api.dispatchAction(f.extend({type:"parallelAxisExpand"},i))}});var h={mousedown:function(i){u(this,"click")&&(this._mouseDownPoint=[i.offsetX,i.offsetY])},mouseup:function(i){var a=this._mouseDownPoint;if(u(this,"click")&&a){var r=[i.offsetX,i.offsetY],o=Math.pow(a[0]-r[0],2)+Math.pow(a[1]-r[1],2);if(o>y)return;var d=this._model.coordinateSystem.getSlidedAxisExpandWindow([i.offsetX,i.offsetY]);d.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:d.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(i){if(this._mouseDownPoint||!u(this,"mousemove"))return;var a=this._model,r=a.coordinateSystem.getSlidedAxisExpandWindow([i.offsetX,i.offsetY]),o=r.behavior;o==="jump"&&this._throttledDispatchExpand.debounceNextCall(a.get("axisExpandDebounce")),this._throttledDispatchExpand(o==="none"?null:{axisExpandWindow:r.axisExpandWindow,animation:o==="jump"?null:!1})}};function u(i,a){var r=i._model;return r.get("axisExpandable")&&r.get("axisExpandTriggerOn")===a}g.registerPreprocessor(m)},"8x+h":function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("ProS"),m=e("bYtY"),y=e("K4ya"),h=e("Qxkt"),u=["#ddd"],i=b.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(o,d){var n=this.option;!d&&y.replaceVisualOption(n,o,["inBrush","outOfBrush"]);var l=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:u},l.hasOwnProperty("liftZ")||(l.liftZ=5)},setAreas:function(o){if(!o)return;this.areas=m.map(o,function(d){return a(this.option,d)},this)},setBrushOption:function(o){this.brushOption=a(this.option,o),this.brushType=this.brushOption.brushType}});function a(o,d){return m.merge({brushType:o.brushType,brushMode:o.brushMode,transformable:o.transformable,brushStyle:new h(o.brushStyle).getItemStyle(),removeOnClick:o.removeOnClick,z:o.z},d,!0)}var r=i;R.exports=r},"8z0m":function(R,I,e){"use strict";var g=e("lSNA"),f=e.n(g),b=e("RIqP"),m=e.n(b),y=e("pVnL"),h=e.n(y),u=e("J4zp"),i=e.n(u),a=e("q1tI"),r=e.n(a),o=e("TSYQ"),d=e.n(o);function n(Bt,_e){var Ce="cannot "+Bt.method+" "+Bt.action+" "+_e.status+"'",Ee=new Error(Ce);return Ee.status=_e.status,Ee.method=Bt.method,Ee.url=Bt.action,Ee}function l(Bt){var _e=Bt.responseText||Bt.response;if(!_e)return _e;try{return JSON.parse(_e)}catch(Ce){return _e}}function t(Bt){var _e=new XMLHttpRequest;Bt.onProgress&&_e.upload&&(_e.upload.onprogress=function(Fe){Fe.total>0&&(Fe.percent=Fe.loaded/Fe.total*100),Bt.onProgress(Fe)});var Ce=new FormData;Bt.data&&Object.keys(Bt.data).forEach(function(we){var Fe=Bt.data[we];if(Array.isArray(Fe)){Fe.forEach(function(Ye){Ce.append(we+"[]",Ye)});return}Ce.append(we,Bt.data[we])}),Bt.file instanceof Blob?Ce.append(Bt.filename,Bt.file,Bt.file.name):Ce.append(Bt.filename,Bt.file),_e.onerror=function(Fe){Bt.onError(Fe)},_e.onload=function(){return _e.status<200||_e.status>=300?Bt.onError(n(Bt,_e),l(_e)):Bt.onSuccess(l(_e),_e)},_e.open(Bt.method,Bt.action,!0),Bt.withCredentials&&"withCredentials"in _e&&(_e.withCredentials=!0);var Ee=Bt.headers||{};return Ee["X-Requested-With"]!==null&&_e.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Ee).forEach(function(we){Ee[we]!==null&&_e.setRequestHeader(we,Ee[we])}),_e.send(Ce),{abort:function(){_e.abort()}}}var s=+new Date,c=0;function p(){return"rc-upload-"+s+"-"+ ++c}function A(Bt,_e){return Bt.indexOf(_e,Bt.length-_e.length)!==-1}var w=function(Bt,_e){if(Bt&&_e){var Ce=Array.isArray(_e)?_e:_e.split(","),Ee=Bt.name||"",we=Bt.type||"",Fe=we.replace(/\/.*$/,"");return Ce.some(function(Ye){var Ge=Ye.trim();return Ge.charAt(0)==="."?A(Ee.toLowerCase(),Ge.toLowerCase()):/\/\*$/.test(Ge)?Fe===Ge.replace(/\/.*$/,""):we===Ge})}return!0};function C(Bt,_e){var Ce=Bt.createReader(),Ee=[];function we(){Ce.readEntries(function(Fe){var Ye=Array.prototype.slice.apply(Fe);Ee=Ee.concat(Ye);var Ge=!Ye.length;Ge?_e(Ee):we()})}we()}var x=function(_e,Ce,Ee){var we=function Fe(Ye,Ge){Ge=Ge||"",Ye.isFile?Ye.file(function(qe){Ee(qe)&&(Ye.fullPath&&!qe.webkitRelativePath&&(Object.defineProperties(qe,{webkitRelativePath:{writable:!0}}),qe.webkitRelativePath=Ye.fullPath.replace(/^\//,""),Object.defineProperties(qe,{webkitRelativePath:{writable:!1}})),Ce([qe]))}):Ye.isDirectory&&C(Ye,function(qe){qe.forEach(function(Ke){Fe(Ke,""+Ge+Ye.name+"/")})})};_e.forEach(function(Fe){we(Fe.webkitGetAsEntry())})},E=x,T=Object.assign||function(Bt){for(var _e=1;_e<arguments.length;_e++){var Ce=arguments[_e];for(var Ee in Ce)Object.prototype.hasOwnProperty.call(Ce,Ee)&&(Bt[Ee]=Ce[Ee])}return Bt},_=function(){function Bt(_e,Ce){var Ee=[],we=!0,Fe=!1,Ye=void 0;try{for(var Ge=_e[Symbol.iterator](),qe;!(we=(qe=Ge.next()).done)&&!(Ee.push(qe.value),Ce&&Ee.length===Ce);we=!0);}catch(Ke){Fe=!0,Ye=Ke}finally{try{!we&&Ge.return&&Ge.return()}finally{if(Fe)throw Ye}}return Ee}return function(_e,Ce){if(Array.isArray(_e))return _e;if(Symbol.iterator in Object(_e))return Bt(_e,Ce);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),v=function(){function Bt(_e,Ce){for(var Ee=0;Ee<Ce.length;Ee++){var we=Ce[Ee];we.enumerable=we.enumerable||!1,we.configurable=!0,"value"in we&&(we.writable=!0),Object.defineProperty(_e,we.key,we)}}return function(_e,Ce,Ee){return Ce&&Bt(_e.prototype,Ce),Ee&&Bt(_e,Ee),_e}}();function S(Bt,_e,Ce){return _e in Bt?Object.defineProperty(Bt,_e,{value:Ce,enumerable:!0,configurable:!0,writable:!0}):Bt[_e]=Ce,Bt}function O(Bt,_e){var Ce={};for(var Ee in Bt){if(_e.indexOf(Ee)>=0)continue;if(!Object.prototype.hasOwnProperty.call(Bt,Ee))continue;Ce[Ee]=Bt[Ee]}return Ce}function L(Bt,_e){if(!(Bt instanceof _e))throw new TypeError("Cannot call a class as a function")}function M(Bt,_e){if(!Bt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _e&&(typeof _e=="object"||typeof _e=="function")?_e:Bt}function F(Bt,_e){if(typeof _e!="function"&&_e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _e);Bt.prototype=Object.create(_e&&_e.prototype,{constructor:{value:Bt,enumerable:!1,writable:!0,configurable:!0}}),_e&&(Object.setPrototypeOf?Object.setPrototypeOf(Bt,_e):Bt.__proto__=_e)}var U=function(_e){return Object.keys(_e).reduce(function(Ce,Ee){return(Ee.substr(0,5)==="data-"||Ee.substr(0,5)==="aria-"||Ee==="role")&&(Ce[Ee]=_e[Ee]),Ce},{})},z=function(Bt){F(_e,Bt);function _e(){var Ce,Ee,we,Fe;L(this,_e);for(var Ye=arguments.length,Ge=Array(Ye),qe=0;qe<Ye;qe++)Ge[qe]=arguments[qe];return Fe=(Ee=(we=M(this,(Ce=_e.__proto__||Object.getPrototypeOf(_e)).call.apply(Ce,[this].concat(Ge))),we),we.state={uid:p()},we.reqs={},we.onChange=function(Ke){var ut=Ke.target.files;we.uploadFiles(ut),we.reset()},we.onClick=function(Ke){var ut=we.fileInput;if(!ut)return;var wt=we.props,It=wt.children,de=wt.onClick;It&&It.type==="button"&&(ut.parentNode.focus(),ut.parentNode.querySelector("button").blur()),ut.click(),de&&de(Ke)},we.onKeyDown=function(Ke){Ke.key==="Enter"&&we.onClick()},we.onFileDrop=function(Ke){var ut=we.props.multiple;if(Ke.preventDefault(),Ke.type==="dragover")return;if(we.props.directory)E(Array.prototype.slice.call(Ke.dataTransfer.items),we.uploadFiles,function(It){return w(It,we.props.accept)});else{var wt=Array.prototype.slice.call(Ke.dataTransfer.files).filter(function(It){return w(It,we.props.accept)});ut===!1&&(wt=wt.slice(0,1)),we.uploadFiles(wt)}},we.uploadFiles=function(Ke){var ut=Array.prototype.slice.call(Ke);ut.map(function(wt){return wt.uid=p(),wt}).forEach(function(wt){we.upload(wt,ut)})},we.saveFileInput=function(Ke){we.fileInput=Ke},Ee),M(we,Fe)}return v(_e,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(Ee,we){var Fe=this,Ye=this.props;if(!Ye.beforeUpload)return setTimeout(function(){return Fe.post(Ee)},0);var Ge=Ye.beforeUpload(Ee,we);Ge&&Ge.then?Ge.then(function(qe){var Ke=Object.prototype.toString.call(qe);return Ke==="[object File]"||Ke==="[object Blob]"?Fe.post(qe):Fe.post(Ee)}).catch(function(qe){console.log(qe)}):Ge!==!1&&setTimeout(function(){return Fe.post(Ee)},0);return}},{key:"post",value:function(Ee){var we=this;if(!this._isMounted)return;var Fe=this.props,Ye=Fe.onStart,Ge=Fe.onProgress,qe=Fe.transformFile,Ke=qe===void 0?function(ut){return ut}:qe;new Promise(function(ut){var wt=Fe.action;return typeof wt=="function"&&(wt=wt(Ee)),ut(wt)}).then(function(ut){var wt=Ee.uid,It=Fe.customRequest||t,de=Promise.resolve(Ke(Ee)).then(function(xe){var $=Fe.data;return typeof $=="function"&&($=$(xe)),Promise.all([xe,$])}).catch(function(xe){console.error(xe)});de.then(function(xe){var $=_(xe,2),le=$[0],Oe=$[1],ke={action:ut,filename:Fe.name,data:Oe,file:le,headers:Fe.headers,withCredentials:Fe.withCredentials,method:Fe.method||"post",onProgress:Ge?function(Ue){Ge(Ue,Ee)}:null,onSuccess:function(nt,At){delete we.reqs[wt],Fe.onSuccess(nt,Ee,At)},onError:function(nt,At){delete we.reqs[wt],Fe.onError(nt,At,Ee)}};we.reqs[wt]=It(ke),Ye(Ee)})})}},{key:"reset",value:function(){this.setState({uid:p()})}},{key:"abort",value:function(Ee){var we=this.reqs;if(Ee){var Fe=Ee;Ee&&Ee.uid&&(Fe=Ee.uid),we[Fe]&&we[Fe].abort&&we[Fe].abort(),delete we[Fe]}else Object.keys(we).forEach(function(Ye){we[Ye]&&we[Ye].abort&&we[Ye].abort(),delete we[Ye]})}},{key:"render",value:function(){var Ee,we=this.props,Fe=we.component,Ye=we.prefixCls,Ge=we.className,qe=we.disabled,Ke=we.id,ut=we.style,wt=we.multiple,It=we.accept,de=we.children,xe=we.directory,$=we.openFileDialogOnClick,le=we.onMouseEnter,Oe=we.onMouseLeave,ke=O(we,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),Ue=d()((Ee={},S(Ee,Ye,!0),S(Ee,Ye+"-disabled",qe),S(Ee,Ge,Ge),Ee)),nt=qe?{}:{onClick:$?this.onClick:function(){},onKeyDown:$?this.onKeyDown:function(){},onMouseEnter:le,onMouseLeave:Oe,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return r.a.createElement(Fe,T({},nt,{className:Ue,role:"button",style:ut}),r.a.createElement("input",T({},U(ke),{id:Ke,type:"file",ref:this.saveFileInput,onClick:function(Wt){return Wt.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:It,directory:xe?"directory":null,webkitdirectory:xe?"webkitdirectory":null,multiple:wt,onChange:this.onChange})),de)}}]),_e}(a.Component),W=z,N=Object.assign||function(Bt){for(var _e=1;_e<arguments.length;_e++){var Ce=arguments[_e];for(var Ee in Ce)Object.prototype.hasOwnProperty.call(Ce,Ee)&&(Bt[Ee]=Ce[Ee])}return Bt},H=function(){function Bt(_e,Ce){for(var Ee=0;Ee<Ce.length;Ee++){var we=Ce[Ee];we.enumerable=we.enumerable||!1,we.configurable=!0,"value"in we&&(we.writable=!0),Object.defineProperty(_e,we.key,we)}}return function(_e,Ce,Ee){return Ce&&Bt(_e.prototype,Ce),Ee&&Bt(_e,Ee),_e}}();function j(Bt,_e){if(!(Bt instanceof _e))throw new TypeError("Cannot call a class as a function")}function k(Bt,_e){if(!Bt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _e&&(typeof _e=="object"||typeof _e=="function")?_e:Bt}function B(Bt,_e){if(typeof _e!="function"&&_e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _e);Bt.prototype=Object.create(_e&&_e.prototype,{constructor:{value:Bt,enumerable:!1,writable:!0,configurable:!0}}),_e&&(Object.setPrototypeOf?Object.setPrototypeOf(Bt,_e):Bt.__proto__=_e)}function V(){}var K=function(Bt){B(_e,Bt);function _e(){var Ce,Ee,we,Fe;j(this,_e);for(var Ye=arguments.length,Ge=Array(Ye),qe=0;qe<Ye;qe++)Ge[qe]=arguments[qe];return Fe=(Ee=(we=k(this,(Ce=_e.__proto__||Object.getPrototypeOf(_e)).call.apply(Ce,[this].concat(Ge))),we),we.saveUploader=function(Ke){we.uploader=Ke},Ee),k(we,Fe)}return H(_e,[{key:"abort",value:function(Ee){this.uploader.abort(Ee)}},{key:"render",value:function(){return r.a.createElement(W,N({},this.props,{ref:this.saveUploader}))}}]),_e}(a.Component);K.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:V,onError:V,onSuccess:V,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var Y=K,Q=Y,he=function(Bt,_e){var Ce={};for(var Ee in Bt)Object.prototype.hasOwnProperty.call(Bt,Ee)&&_e.indexOf(Ee)<0&&(Ce[Ee]=Bt[Ee]);if(Bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Ee=Object.getOwnPropertySymbols(Bt);we<Ee.length;we++)_e.indexOf(Ee[we])<0&&Object.prototype.propertyIsEnumerable.call(Bt,Ee[we])&&(Ce[Ee[we]]=Bt[Ee[we]]);return Ce},G=function(_e,Ce){var Ee=_e.style,we=_e.height,Fe=he(_e,["style","height"]);return a.createElement(Lt,h()({ref:Ce},Fe,{type:"drag",style:h()(h()({},Ee),{height:we})}))},ye=a.forwardRef(G);ye.displayName="Dragger";var Ae=ye,ge=e("UmKh"),Pe=e("gZBC"),Re=e.n(Pe),rt=e("+d4F"),ne=e.n(rt),be=e("XAae"),at=e.n(be),se=e("6xvX"),q=e.n(se),X=e("qPY4"),Z=e.n(X),pe=e("QB+1"),oe=e.n(pe),Ie=e("Qs3X"),fe=e.n(Ie),te=e("0n0R");function J(){return!0}function ve(Bt){return h()(h()({},Bt),{lastModified:Bt.lastModified,lastModifiedDate:Bt.lastModifiedDate,name:Bt.name,size:Bt.size,type:Bt.type,uid:Bt.uid,percent:0,originFileObj:Bt})}function De(Bt,_e){var Ce=Bt.uid!==void 0?"uid":"name";return _e.filter(function(Ee){return Ee[Ce]===Bt[Ce]})[0]}function ze(Bt,_e){var Ce=Bt.uid!==void 0?"uid":"name",Ee=_e.filter(function(we){return we[Ce]!==Bt[Ce]});return Ee.length===_e.length?null:Ee}var dt=function(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",Ce=_e.split("/"),Ee=Ce[Ce.length-1],we=Ee.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(we)||[""])[0]},Me=function(_e){return _e.indexOf("image/")===0},Tt=function(_e){if(_e.type&&!_e.thumbUrl)return Me(_e.type);var Ce=_e.thumbUrl||_e.url,Ee=dt(Ce);return/^data:image\//.test(Ce)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(Ee)?!0:/^data:/.test(Ce)?!1:!Ee},je=200;function st(Bt){return new Promise(function(_e){if(!Bt.type||!Me(Bt.type)){_e("");return}var Ce=document.createElement("canvas");Ce.width=je,Ce.height=je,Ce.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(je,"px; height: ").concat(je,"px; z-index: 9999; display: none;"),document.body.appendChild(Ce);var Ee=Ce.getContext("2d"),we=new Image;we.onload=function(){var Fe=we.width,Ye=we.height,Ge=je,qe=je,Ke=0,ut=0;Fe<Ye?(qe=Ye*(je/Fe),ut=-(qe-Ge)/2):(Ge=Fe*(je/Ye),Ke=-(Ge-qe)/2),Ee.drawImage(we,Ke,ut,Ge,qe);var wt=Ce.toDataURL();document.body.removeChild(Ce),_e(wt)},we.src=window.URL.createObjectURL(Bt)})}var Xe=e("3S7+"),Je=e("CFYs"),et=e("H84U"),ot=e("2/Rp"),Ve=e("hkKa"),ue=function(_e,Ce){var Ee,we=_e.listType,Fe=_e.previewFile,Ye=_e.onPreview,Ge=_e.onDownload,qe=_e.onRemove,Ke=_e.locale,ut=_e.iconRender,wt=_e.isImageUrl,It=_e.prefixCls,de=_e.items,xe=de===void 0?[]:de,$=_e.showPreviewIcon,le=_e.showRemoveIcon,Oe=_e.showDownloadIcon,ke=_e.removeIcon,Ue=_e.downloadIcon,nt=_e.progress,At=Object(Ve.a)();a.useEffect(function(){if(we!=="picture"&&we!=="picture-card")return;(xe||[]).forEach(function(vt){if(typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(vt.originFileObj instanceof File||vt.originFileObj instanceof Blob)||vt.thumbUrl!==void 0)return;vt.thumbUrl="",Fe&&Fe(vt.originFileObj).then(function(Nt){vt.thumbUrl=Nt||"",At()})})},[we,xe,Fe]);var Wt=function(Nt,_t){return Ye?(_t.preventDefault(),Ye(Nt)):void 0},$t=function(Nt){typeof Ge=="function"?Ge(Nt):Nt.url&&window.open(Nt.url)},Rt=function(Nt){qe&&qe(Nt)},zt=function(Nt){if(ut)return ut(Nt,we);var _t=Nt.status==="uploading",gt=wt&&wt(Nt)?a.createElement(at.a,null):a.createElement(q.a,null),Ht=_t?a.createElement(Re.a,null):a.createElement(ne.a,null);return we==="picture"?Ht=_t?a.createElement(Re.a,null):gt:we==="picture-card"&&(Ht=_t?Ke.uploading:gt),Ht},Gt=function(Nt,_t,gt,Ht){var kt={type:"text",size:"small",title:Ht,onClick:function(mr){_t(),Object(te.b)(Nt)&&Nt.props.onClick&&Nt.props.onClick(mr)},className:"".concat(gt,"-list-item-card-actions-btn")};if(Object(te.b)(Nt)){var ir=Object(te.a)(Nt,h()(h()({},Nt.props),{onClick:function(){}}));return a.createElement(ot.a,h()({},kt,{icon:ir}))}return a.createElement(ot.a,kt,a.createElement("span",null,Nt))};a.useImperativeHandle(Ce,function(){return{handlePreview:Wt,handleDownload:$t}});var Qt=a.useContext(et.b),Mt=Qt.getPrefixCls,dr=Qt.direction,er=Mt("upload",It),ht=xe.map(function(vt){var Nt,_t,gt,Ht=zt(vt),kt=a.createElement("div",{className:"".concat(er,"-text-icon")},Ht);if(we==="picture"||we==="picture-card")if(vt.status==="uploading"||!vt.thumbUrl&&!vt.url){var ir,Xt=d()((ir={},f()(ir,"".concat(er,"-list-item-thumbnail"),!0),f()(ir,"".concat(er,"-list-item-file"),vt.status!=="uploading"),ir));kt=a.createElement("div",{className:Xt},Ht)}else{var mr,Ar=wt&&wt(vt)?a.createElement("img",{src:vt.thumbUrl||vt.url,alt:vt.name,className:"".concat(er,"-list-item-image")}):Ht,Nr=d()((mr={},f()(mr,"".concat(er,"-list-item-thumbnail"),!0),f()(mr,"".concat(er,"-list-item-file"),wt&&!wt(vt)),mr));kt=a.createElement("a",{className:Nr,onClick:function(gn){return Wt(vt,gn)},href:vt.url||vt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ar)}if(vt.status==="uploading"){var kr="percent"in vt?a.createElement(Je.a,h()({},nt,{type:"line",percent:vt.percent})):null;gt=a.createElement("div",{className:"".concat(er,"-list-item-progress"),key:"progress"},kr)}var tn=d()((Nt={},f()(Nt,"".concat(er,"-list-item"),!0),f()(Nt,"".concat(er,"-list-item-").concat(vt.status),!0),f()(Nt,"".concat(er,"-list-item-list-type-").concat(we),!0),Nt)),qr=typeof vt.linkProps=="string"?JSON.parse(vt.linkProps):vt.linkProps,_r=le?Gt(ke||a.createElement(oe.a,null),function(){return Rt(vt)},er,Ke.removeFile):null,Qr=Oe&&vt.status==="done"?Gt(Ue||a.createElement(fe.a,null),function(){return $t(vt)},er,Ke.downloadFile):null,Ir=we!=="picture-card"&&a.createElement("span",{key:"download-delete",className:"".concat(er,"-list-item-card-actions ").concat(we==="picture"?"picture":"")},Qr,_r),cr=d()((_t={},f()(_t,"".concat(er,"-list-item-name"),!0),f()(_t,"".concat(er,"-list-item-name-icon-count-").concat([Qr,_r].filter(function(Tn){return Tn}).length),!0),_t)),pr=vt.url?[a.createElement("a",h()({key:"view",target:"_blank",rel:"noopener noreferrer",className:cr,title:vt.name},qr,{href:vt.url,onClick:function(gn){return Wt(vt,gn)}}),vt.name),Ir]:[a.createElement("span",{key:"view",className:cr,onClick:function(gn){return Wt(vt,gn)},title:vt.name},vt.name),Ir],ur={pointerEvents:"none",opacity:.5},fr=$?a.createElement("a",{href:vt.url||vt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:vt.url||vt.thumbUrl?void 0:ur,onClick:function(gn){return Wt(vt,gn)},title:Ke.previewFile},a.createElement(Z.a,null)):null,xr=we==="picture-card"&&vt.status!=="uploading"&&a.createElement("span",{className:"".concat(er,"-list-item-actions")},fr,vt.status==="done"&&Qr,_r),Yr;vt.response&&typeof vt.response=="string"?Yr=vt.response:Yr=vt.error&&vt.error.statusText||Ke.uploadError;var cn=a.createElement("span",null,kt,pr),Nn=a.createElement("div",{className:tn},a.createElement("div",{className:"".concat(er,"-list-item-info")},cn),xr,a.createElement(ge.a,{transitionName:"fade",component:""},gt)),jr=d()(f()({},"".concat(er,"-list-picture-card-container"),we==="picture-card"));return a.createElement("div",{key:vt.uid,className:jr},vt.status==="error"?a.createElement(Xe.a,{title:Yr,getPopupContainer:function(gn){return gn.parentNode}},Nn):a.createElement("span",null,Nn))}),Et=d()((Ee={},f()(Ee,"".concat(er,"-list"),!0),f()(Ee,"".concat(er,"-list-").concat(we),!0),f()(Ee,"".concat(er,"-list-rtl"),dr==="rtl"),Ee)),pt=we==="picture-card"?"animate-inline":"animate";return a.createElement(ge.a,{transitionName:"".concat(er,"-").concat(pt),component:"div",className:Et},ht)},ae=a.forwardRef(ue);ae.displayName="UploadList",ae.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:st,isImageUrl:Tt};var lt=ae,Ze=e("YMnH"),Te=e("ZvpZ"),Jt=e("uaoM"),mt=e("sPtV"),ft=function(_e,Ce){var Ee,we=_e.fileList,Fe=_e.defaultFileList,Ye=_e.onRemove,Ge=_e.showUploadList,qe=_e.listType,Ke=_e.onPreview,ut=_e.onDownload,wt=_e.previewFile,It=_e.disabled,de=_e.locale,xe=_e.iconRender,$=_e.isImageUrl,le=_e.progress,Oe=_e.prefixCls,ke=_e.className,Ue=_e.type,nt=_e.children,At=_e.style,Wt=Object(mt.a)(we||Fe||[]),$t=i()(Wt,2),Rt=$t[0],zt=$t[1],Gt=a.useState("drop"),Qt=i()(Gt,2),Mt=Qt[0],dr=Qt[1],er=a.useRef();a.useEffect(function(){zt(we||Fe||[]),Object(Jt.a)("fileList"in _e||!("value"in _e),"Upload","`value` is not a valid prop, do you mean `fileList`?")},[]),a.useEffect(function(){"fileList"in _e&&zt(we||[])},[we]);var ht=function(pr){"fileList"in _e||zt(pr.fileList);var ur=_e.onChange;ur&&ur(h()(h()({},pr),{fileList:m()(pr.fileList)}))},Et=function(pr){var ur=ve(pr);ur.status="uploading";var fr=Rt().concat(),xr=fr.findIndex(function(Yr){var cn=Yr.uid;return cn===ur.uid});xr===-1?fr.push(ur):fr[xr]=ur,ht({file:ur,fileList:fr})},pt=function(pr,ur,fr){try{typeof pr=="string"&&(pr=JSON.parse(pr))}catch(Yr){}var xr=De(ur,Rt());if(!xr)return;xr.status="done",xr.response=pr,xr.xhr=fr,ht({file:h()({},xr),fileList:Rt().concat()})},vt=function(pr,ur){var fr=De(ur,Rt());if(!fr)return;fr.percent=pr.percent,ht({event:pr,file:h()({},fr),fileList:Rt().concat()})},Nt=function(pr,ur,fr){var xr=De(fr,Rt());if(!xr)return;xr.error=pr,xr.response=ur,xr.status="error",ht({file:h()({},xr),fileList:Rt().concat()})},_t=function(pr){Promise.resolve(typeof Ye=="function"?Ye(pr):Ye).then(function(ur){if(ur===!1)return;var fr=ze(pr,Rt());fr&&(pr.status="removed",er.current&&er.current.abort(pr),ht({file:pr,fileList:fr}))})},gt=function(pr){dr(pr.type)},Ht=function(pr,ur){var fr=_e.beforeUpload;if(!fr)return!0;var xr=fr(pr,ur);if(xr===!1){var Yr=[];return Rt().concat(ur.map(ve)).forEach(function(cn){Yr.every(function(Nn){return Nn.uid!==cn.uid})&&Yr.push(cn)}),ht({file:pr,fileList:Yr}),!1}return xr&&xr.then?xr:!0},kt=Object(Ve.a)();a.useImperativeHandle(Ce,function(){return{onStart:Et,onSuccess:pt,onProgress:vt,onError:Nt,fileList:Rt(),upload:er.current,forceUpdate:kt}});var ir=function(pr){var ur=Ge.showRemoveIcon,fr=Ge.showPreviewIcon,xr=Ge.showDownloadIcon,Yr=Ge.removeIcon,cn=Ge.downloadIcon;return a.createElement(lt,{listType:qe,items:Rt(),previewFile:wt,onPreview:Ke,onDownload:ut,onRemove:_t,showRemoveIcon:!It&&ur,showPreviewIcon:fr,showDownloadIcon:xr,removeIcon:Yr,downloadIcon:cn,iconRender:xe,locale:h()(h()({},pr),de),isImageUrl:$,progress:le})},Xt=a.useContext(et.b),mr=Xt.getPrefixCls,Ar=Xt.direction,Nr=mr("upload",Oe),kr=h()(h()({onStart:Et,onError:Nt,onProgress:vt,onSuccess:pt},_e),{prefixCls:Nr,beforeUpload:Ht});delete kr.className,delete kr.style,(!nt||It)&&delete kr.id;var tn=Ge?a.createElement(Ze.a,{componentName:"Upload",defaultLocale:Te.a.Upload},ir):null;if(Ue==="drag"){var qr,_r=d()(Nr,(qr={},f()(qr,"".concat(Nr,"-drag"),!0),f()(qr,"".concat(Nr,"-drag-uploading"),Rt().some(function(cr){return cr.status==="uploading"})),f()(qr,"".concat(Nr,"-drag-hover"),Mt==="dragover"),f()(qr,"".concat(Nr,"-disabled"),It),f()(qr,"".concat(Nr,"-rtl"),Ar==="rtl"),qr),ke);return a.createElement("span",null,a.createElement("div",{className:_r,onDrop:gt,onDragOver:gt,onDragLeave:gt,style:At},a.createElement(Q,h()({},kr,{ref:er,className:"".concat(Nr,"-btn")}),a.createElement("div",{className:"".concat(Nr,"-drag-container")},nt))),tn)}var Qr=d()(Nr,(Ee={},f()(Ee,"".concat(Nr,"-select"),!0),f()(Ee,"".concat(Nr,"-select-").concat(qe),!0),f()(Ee,"".concat(Nr,"-disabled"),It),f()(Ee,"".concat(Nr,"-rtl"),Ar==="rtl"),Ee)),Ir=a.createElement("div",{className:Qr,style:nt?void 0:{display:"none"}},a.createElement(Q,h()({},kr,{ref:er})));return qe==="picture-card"?a.createElement("span",{className:d()(ke,"".concat(Nr,"-picture-card-wrapper"))},tn,Ir):a.createElement("span",{className:ke},Ir,tn)},bt=a.forwardRef(ft);bt.Dragger=Ae,bt.displayName="Upload",bt.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:J,showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var Lt=bt;Lt.Dragger=Ae;var or=I.a=Lt},"98bh":function(R,I,e){var g=e("ProS"),f=e("5GtS"),b=e("bYtY"),m=e("4NO4"),y=e("OELB"),h=y.getPercentWithPrecision,u=e("cCMj"),i=e("KxfA"),a=i.retrieveRawAttr,r=e("D5nY"),o=r.makeSeriesEncodeForNameBased,d=e("xKMd"),n=g.extendSeriesModel({type:"series.pie",init:function(t){n.superApply(this,"init",arguments),this.legendVisualProvider=new d(b.bind(this.getData,this),b.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){n.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,s){return f(this,{coordDimensions:["value"],encodeDefaulter:b.curry(o,this)})},_createSelectableList:function(){for(var t=this.getRawData(),s=t.mapDimension("value"),c=[],p=0,A=t.count();p<A;p++)c.push({name:t.getName(p),value:t.get(s,p),selected:a(t,p,"selected")});return c},getDataParams:function(t){var s=this.getData(),c=n.superCall(this,"getDataParams",t),p=[];return s.each(s.mapDimension("value"),function(A){p.push(A)}),c.percent=h(p,t,s.hostModel.get("percentPrecision")),c.$vars.push("percent"),c},_defaultLabelLine:function(t){m.defaultEmphasis(t,"labelLine",["show"]);var s=t.labelLine,c=t.emphasis.labelLine;s.show=s.show&&t.label.show,c.show=c.show&&t.emphasis.label.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:!1,show:!0,position:"outer",alignTo:"none",margin:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},animationType:"expansion",animationTypeUpdate:"transition",animationEasing:"cubicOut"}});b.mixin(n,u);var l=n;R.exports=l},"9H2F":function(R,I,e){var g=e("bYtY"),f=g.assert,b=g.isArray,m=e("Tghj"),y=m.__DEV__;function h(d){return new u(d)}function u(d){d=d||{},this._reset=d.reset,this._plan=d.plan,this._count=d.count,this._onDirty=d.onDirty,this._dirty=!0,this.context}var i=u.prototype;i.perform=function(d){var n=this._upstream,l=d&&d.skip;if(this._dirty&&n){var t=this.context;t.data=t.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var s;this._plan&&!l&&(s=this._plan(this.context));var c=C(this._modBy),p=this._modDataCount||0,A=C(d&&d.modBy),w=d&&d.modDataCount||0;(c!==A||p!==w)&&(s="reset");function C(L){return!(L>=1)&&(L=1),L}var x;(this._dirty||s==="reset")&&(this._dirty=!1,x=o(this,l)),this._modBy=A,this._modDataCount=w;var E=d&&d.step;if(n?this._dueEnd=n._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var T=this._dueIndex,_=Math.min(E!=null?this._dueIndex+E:Infinity,this._dueEnd);if(!l&&(x||T<_)){var v=this._progress;if(b(v))for(var S=0;S<v.length;S++)r(this,v[S],T,_,A,w);else r(this,v,T,_,A,w)}this._dueIndex=_;var O=this._settedOutputEnd!=null?this._settedOutputEnd:_;this._outputDueEnd=O}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var a=function(){var d,n,l,t,s,c={reset:function(w,C,x,E){n=w,d=C,l=x,t=E,s=Math.ceil(t/l),c.next=l>1&&t>0?A:p}};return c;function p(){return n<d?n++:null}function A(){var w=n%s*l+Math.ceil(n/s),C=n>=d?null:w<t?w:n;return n++,C}}();i.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)};function r(d,n,l,t,s,c){a.reset(l,t,s,c),d._callingProgress=n,d._callingProgress({start:l,end:t,count:t-l,next:a.next},d.context)}function o(d,n){d._dueIndex=d._outputDueEnd=d._dueEnd=0,d._settedOutputEnd=null;var l,t;!n&&d._reset&&(l=d._reset(d.context),l&&l.progress&&(t=l.forceFirstProgress,l=l.progress),b(l)&&!l.length&&(l=null)),d._progress=l,d._modBy=d._modDataCount=null;var s=d._downstream;return s&&s.dirty(),t}i.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},i.pipe=function(d){(this._downstream!==d||this._dirty)&&(this._downstream=d,d._upstream=this,d.dirty())},i.dispose=function(){if(this._disposed)return;this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0},i.getUpstream=function(){return this._upstream},i.getDownstream=function(){return this._downstream},i.setOutputEnd=function(d){this._outputDueEnd=this._settedOutputEnd=d},I.createTask=h},"9KIM":function(R,I,e){var g=e("mFDi"),f=e("xSat"),b=f.onIrrelevantElement,m=e("IwbS");function y(a){return a=i(a),function(r,o){return m.clipPointsByRect(r,a)}}function h(a,r){return a=i(a),function(o){var d=r!=null?r:o,n=d?a.width:a.height,l=d?a.x:a.y;return[l,l+(n||0)]}}function u(a,r,o){return a=i(a),function(d,n,l){return a.contain(n[0],n[1])&&!b(d,r,o)}}function i(a){return g.create(a)}I.makeRectPanelClipPath=y,I.makeLinearBrushOtherExtent=h,I.makeRectIsTargetByCursor=u},"9ama":function(R,I,e){},"9eas":function(R,I,e){e("HM/N"),e("tBnm")},"9hCq":function(R,I,e){var g=e("IwbS"),f=e("+TT/"),b=e("bYtY"),m=e("VaxA"),y=m.wrapTreePathInfo,h=8,u=8,i=5;function a(n){this.group=new g.Group,n.add(this.group)}a.prototype={constructor:a,render:function(n,l,t,s){var c=n.getModel("breadcrumb"),p=this.group;if(p.removeAll(),!c.get("show")||!t)return;var A=c.getModel("itemStyle"),w=A.getModel("textStyle"),C={pos:{left:c.get("left"),right:c.get("right"),top:c.get("top"),bottom:c.get("bottom")},box:{width:l.getWidth(),height:l.getHeight()},emptyItemWidth:c.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(t,C,w),this._renderContent(n,C,A,w,s),f.positionElement(p,C.pos,C.box)},_prepare:function(n,l,t){for(var s=n;s;s=s.parentNode){var c=s.getModel().get("name"),p=t.getTextRect(c),A=Math.max(p.width+h*2,l.emptyItemWidth);l.totalWidth+=A+u,l.renderList.push({node:s,text:c,width:A})}},_renderContent:function(n,l,t,s,c){for(var p=0,A=l.emptyItemWidth,w=n.get("breadcrumb.height"),C=f.getAvailableSize(l.pos,l.box),x=l.totalWidth,E=l.renderList,T=E.length-1;T>=0;T--){var _=E[T],v=_.node,S=_.width,O=_.text;x>C.width&&(x-=S-A,S=A,O=null);var L=new g.Polygon({shape:{points:r(p,0,S,w,T===E.length-1,T===0)},style:b.defaults(t.getItemStyle(),{lineJoin:"bevel",text:O,textFill:s.getTextColor(),textFont:s.getFont()}),z:10,onclick:b.curry(c,v)});this.group.add(L),o(L,n,v),p+=S+u}},remove:function(){this.group.removeAll()}};function r(n,l,t,s,c,p){var A=[[c?n:n-i,l],[n+t,l],[n+t,l+s],[c?n:n-i,l+s]];return!p&&A.splice(2,0,[n+t+i,l+s/2]),!c&&A.push([n,l+s/2]),A}function o(n,l,t){n.eventData={componentType:"series",componentSubType:"treemap",componentIndex:l.componentIndex,seriesIndex:l.componentIndex,seriesName:l.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:t&&t.dataIndex,name:t&&t.name},treePathInfo:t&&y(t,l)}}var d=a;R.exports=d},"9u0u":function(R,I,e){var g=e("bYtY");function f(m,y){var h={};return g.each(m,function(u){u.each(u.mapDimension("value"),function(i,a){var r="ec-"+u.getName(a);h[r]=h[r]||[],isNaN(i)||h[r].push(i)})}),m[0].map(m[0].mapDimension("value"),function(u,i){for(var a="ec-"+m[0].getName(i),r=0,o=Infinity,d=-Infinity,n=h[a].length,l=0;l<n;l++)o=Math.min(o,h[a][l]),d=Math.max(d,h[a][l]),r+=h[a][l];var t;return y==="min"?t=o:y==="max"?t=d:y==="average"?t=r/n:t=r,n===0?NaN:t})}function b(m){var y={};m.eachSeriesByType("map",function(h){var u=h.getHostGeoModel(),i=u?"o"+u.id:"i"+h.getMapType();(y[i]=y[i]||[]).push(h)}),g.each(y,function(h,u){for(var i=f(g.map(h,function(r){return r.getData()}),h[0].get("mapValueCalculation")),a=0;a<h.length;a++)h[a].originalData=h[a].getData();for(var a=0;a<h.length;a++)h[a].seriesGroup=h,h[a].needsDrawMap=a===0&&!h[a].getHostGeoModel(),h[a].setData(i.cloneShallow()),h[a].mainSeries=h[0]})}R.exports=b},"9wZj":function(R,I,e){var g=e("IwbS"),f=e("FBjb"),b=e("bYtY"),m=b.isObject;function y(o){this.group=new g.Group,this._symbolCtor=o||f}var h=y.prototype;function u(o,d,n,l){return d&&!isNaN(d[0])&&!isNaN(d[1])&&!(l.isIgnore&&l.isIgnore(n))&&!(l.clipShape&&!l.clipShape.contain(d[0],d[1]))&&o.getItemVisual(n,"symbol")!=="none"}h.updateData=function(o,d){d=i(d);var n=this.group,l=o.hostModel,t=this._data,s=this._symbolCtor,c=a(o);t||n.removeAll(),o.diff(t).add(function(p){var A=o.getItemLayout(p);if(u(o,A,p,d)){var w=new s(o,p,c);w.attr("position",A),o.setItemGraphicEl(p,w),n.add(w)}}).update(function(p,A){var w=t.getItemGraphicEl(A),C=o.getItemLayout(p);if(!u(o,C,p,d)){n.remove(w);return}w?(w.updateData(o,p,c),g.updateProps(w,{position:C},l)):(w=new s(o,p),w.attr("position",C)),n.add(w),o.setItemGraphicEl(p,w)}).remove(function(p){var A=t.getItemGraphicEl(p);A&&A.fadeOut(function(){n.remove(A)})}).execute(),this._data=o},h.isPersistent=function(){return!0},h.updateLayout=function(){var o=this._data;o&&o.eachItemGraphicEl(function(d,n){var l=o.getItemLayout(n);d.attr("position",l)})},h.incrementalPrepareUpdate=function(o){this._seriesScope=a(o),this._data=null,this.group.removeAll()},h.incrementalUpdate=function(o,d,n){n=i(n);function l(p){p.isGroup||(p.incremental=p.useHoverLayer=!0)}for(var t=o.start;t<o.end;t++){var s=d.getItemLayout(t);if(u(d,s,t,n)){var c=new this._symbolCtor(d,t,this._seriesScope);c.traverse(l),c.attr("position",s),this.group.add(c),d.setItemGraphicEl(t,c)}}};function i(o){return o!=null&&!m(o)&&(o={isIgnore:o}),o||{}}h.remove=function(o){var d=this.group,n=this._data;n&&o?n.eachItemGraphicEl(function(l){l.fadeOut(function(){d.remove(l)})}):d.removeAll()};function a(o){var d=o.hostModel;return{itemStyle:d.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:d.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:d.get("symbolRotate"),symbolOffset:d.get("symbolOffset"),hoverAnimation:d.get("hoverAnimation"),labelModel:d.getModel("label"),hoverLabelModel:d.getModel("emphasis.label"),cursorStyle:d.get("cursor")}}var r=y;R.exports=r},"9yH6":function(R,I,e){"use strict";var g=e("lSNA"),f=e.n(g),b=e("pVnL"),m=e.n(b),y=e("q1tI"),h=e("+6Fa"),u=e("TSYQ"),i=e.n(u),a=e("H84U"),r=y.createContext(null),o=r.Provider,d=r,n=e("cDf5"),l=e.n(n);function t(z,W){typeof z=="function"?z(W):l()(z)==="object"&&z&&"current"in z&&(z.current=W)}function s(){for(var z=arguments.length,W=new Array(z),N=0;N<z;N++)W[N]=arguments[N];return function(H){W.forEach(function(j){t(j,H)})}}var c=e("uaoM"),p=function(z,W){var N={};for(var H in z)Object.prototype.hasOwnProperty.call(z,H)&&W.indexOf(H)<0&&(N[H]=z[H]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,H=Object.getOwnPropertySymbols(z);j<H.length;j++)W.indexOf(H[j])<0&&Object.prototype.propertyIsEnumerable.call(z,H[j])&&(N[H[j]]=z[H[j]]);return N},A=function(W,N){var H,j=y.useContext(d),k=y.useContext(a.b),B=k.getPrefixCls,V=k.direction,K=y.useRef(),Y=s(N,K);y.useEffect(function(){Object(c.a)(!("optionType"in W),"Radio","`optionType` is only support in Radio.Group.")},[]);var Q=function(be){W.onChange&&W.onChange(be),(j==null?void 0:j.onChange)&&j.onChange(be)},he=W.prefixCls,G=W.className,ye=W.children,Ae=W.style,ge=p(W,["prefixCls","className","children","style"]),Pe=B("radio",he),Re=m()({},ge);j&&(Re.name=j.name,Re.onChange=Q,Re.checked=W.value===j.value,Re.disabled=W.disabled||j.disabled);var rt=i()(G,(H={},f()(H,"".concat(Pe,"-wrapper"),!0),f()(H,"".concat(Pe,"-wrapper-checked"),Re.checked),f()(H,"".concat(Pe,"-wrapper-disabled"),Re.disabled),f()(H,"".concat(Pe,"-wrapper-rtl"),V==="rtl"),H));return y.createElement("label",{className:rt,style:Ae,onMouseEnter:W.onMouseEnter,onMouseLeave:W.onMouseLeave},y.createElement(h.a,m()({},Re,{prefixCls:Pe,ref:Y})),ye!==void 0?y.createElement("span",null,ye):null)},w=y.forwardRef(A);w.displayName="Radio",w.defaultProps={type:"radio"};var C=w,x=e("J4zp"),E=e.n(x),T=e("6cGi"),_=e("3Nzz"),v=y.forwardRef(function(z,W){var N=y.useContext(a.b),H=N.getPrefixCls,j=N.direction,k=y.useContext(_.b),B=Object(T.a)(z.defaultValue,{value:z.value}),V=E()(B,2),K=V[0],Y=V[1],Q=function(ye){var Ae=K,ge=ye.target.value;"value"in z||Y(ge);var Pe=z.onChange;Pe&&ge!==Ae&&Pe(ye)},he=function(){var ye,Ae=z.prefixCls,ge=z.className,Pe=ge===void 0?"":ge,Re=z.options,rt=z.optionType,ne=z.buttonStyle,be=z.disabled,at=z.children,se=z.size,q=z.style,X=z.id,Z=z.onMouseEnter,pe=z.onMouseLeave,oe=H("radio",Ae),Ie="".concat(oe,"-group"),fe=at;if(Re&&Re.length>0){var te=rt==="button"?"".concat(oe,"-button"):oe;fe=Re.map(function(De){return typeof De=="string"?y.createElement(C,{ref:W,key:De,prefixCls:te,disabled:be,value:De,checked:K===De},De):y.createElement(C,{ref:W,key:"radio-group-value-options-".concat(De.value),prefixCls:te,disabled:De.disabled||be,value:De.value,checked:K===De.value,style:De.style},De.label)})}var J=se||k,ve=i()(Ie,"".concat(Ie,"-").concat(ne),(ye={},f()(ye,"".concat(Ie,"-").concat(J),J),f()(ye,"".concat(Ie,"-rtl"),j==="rtl"),ye),Pe);return y.createElement("div",{className:ve,style:q,onMouseEnter:Z,onMouseLeave:pe,id:X},fe)};return y.createElement(o,{value:{onChange:Q,value:K,disabled:z.disabled,name:z.name}},he())});v.defaultProps={buttonStyle:"outline"};var S=y.memo(v),O=function(z,W){var N={};for(var H in z)Object.prototype.hasOwnProperty.call(z,H)&&W.indexOf(H)<0&&(N[H]=z[H]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,H=Object.getOwnPropertySymbols(z);j<H.length;j++)W.indexOf(H[j])<0&&Object.prototype.propertyIsEnumerable.call(z,H[j])&&(N[H[j]]=z[H[j]]);return N},L=function(W,N){var H=y.useContext(d),j=y.useContext(a.b),k=j.getPrefixCls,B=W.prefixCls,V=O(W,["prefixCls"]),K=k("radio-button",B);return H&&(V.checked=W.value===H.value,V.disabled=W.disabled||H.disabled),y.createElement(C,m()({prefixCls:K},V,{type:"radio",ref:N}))},M=y.forwardRef(L),F=C;F.Button=M,F.Group=S;var U=I.a=F},A1Ka:function(R,I,e){var g=e("bLfw"),f=e("sS/r"),b=e("D5nY"),m=b.detectSourceFormat,y=e("k9D9"),h=y.SERIES_LAYOUT_BY_COLUMN;g.extend({type:"dataset",defaultOption:{seriesLayoutBy:h,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){m(this)}}),f.extend({type:"dataset"})},A90E:function(R,I,e){var g=e("6sVZ"),f=e("V6Ve"),b=Object.prototype,m=b.hasOwnProperty;function y(h){if(!g(h))return f(h);var u=[];for(var i in Object(h))m.call(h,i)&&i!="constructor"&&u.push(i);return u}R.exports=y},ABKa:function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("Qs9O")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="FolderOutlined";var u=b.forwardRef(h);I.default=u},AE9C:function(R,I,e){var g=e("bYtY"),f=e("crZl"),b=e("IwbS"),m=e("oVpE"),y=m.createSymbol,h=e("+TT/"),u=e("y7Aq"),i=f.extend({type:"visualMap.piecewise",doRender:function(){var r=this.group;r.removeAll();var o=this.visualMapModel,d=o.get("textGap"),n=o.textStyleModel,l=n.getFont(),t=n.getTextColor(),s=this._getItemAlign(),c=o.itemSize,p=this._getViewData(),A=p.endsText,w=g.retrieve(o.get("showLabel",!0),!A);A&&this._renderEndsText(r,A[0],c,w,s),g.each(p.viewPieceList,C,this),A&&this._renderEndsText(r,A[1],c,w,s),h.box(o.get("orient"),r,o.get("itemGap")),this.renderBackground(r),this.positionGroup(r);function C(x){var E=x.piece,T=new b.Group;T.onclick=g.bind(this._onItemClick,this,E),this._enableHoverLink(T,x.indexInModelPieceList);var _=o.getRepresentValue(E);if(this._createItemSymbol(T,_,[0,0,c[0],c[1]]),w){var v=this.visualMapModel.getValueState(_);T.add(new b.Text({style:{x:s==="right"?-d:c[0]+d,y:c[1]/2,text:E.text,textVerticalAlign:"middle",textAlign:s,textFont:l,textFill:t,opacity:v==="outOfRange"?.5:1}}))}r.add(T)}},_enableHoverLink:function(r,o){r.on("mouseover",g.bind(d,this,"highlight")).on("mouseout",g.bind(d,this,"downplay"));function d(n){var l=this.visualMapModel;l.option.hoverLink&&this.api.dispatchAction({type:n,batch:u.makeHighDownBatch(l.findTargetDataIndices(o),l)})}},_getItemAlign:function(){var r=this.visualMapModel,o=r.option;if(o.orient==="vertical")return u.getItemAlign(r,this.api,r.itemSize);var d=o.align;return(!d||d==="auto")&&(d="left"),d},_renderEndsText:function(r,o,d,n,l){if(!o)return;var t=new b.Group,s=this.visualMapModel.textStyleModel;t.add(new b.Text({style:{x:n?l==="right"?d[0]:0:d[0]/2,y:d[1]/2,textVerticalAlign:"middle",textAlign:n?l:"center",text:o,textFont:s.getFont(),textFill:s.getTextColor()}})),r.add(t)},_getViewData:function(){var r=this.visualMapModel,o=g.map(r.getPieceList(),function(t,s){return{piece:t,indexInModelPieceList:s}}),d=r.get("text"),n=r.get("orient"),l=r.get("inverse");return(n==="horizontal"?l:!l)?o.reverse():d&&(d=d.slice().reverse()),{viewPieceList:o,endsText:d}},_createItemSymbol:function(r,o,d){r.add(y(this.getControllerVisual(o,"symbol"),d[0],d[1],d[2],d[3],this.getControllerVisual(o,"color")))},_onItemClick:function(r){var o=this.visualMapModel,d=o.option,n=g.clone(d.selected),l=o.getSelectedMapKey(r);d.selectedMode==="single"?(n[l]=!0,g.each(n,function(t,s){n[s]=s===l})):n[l]=!n[l],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:n})}}),a=i;R.exports=a},AEZ6:function(R,I,e){var g=e("bYtY"),f=g.each,b=g.createHashMap,m=e("T4UG"),y=e("MwEJ"),h=m.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(a,r){var o=this.getSource();return u(o,this),y(o,this)},getRawIndicesByActiveState:function(a){var r=this.coordinateSystem,o=this.getData(),d=[];return r.eachActiveState(o,function(n,l){a===n&&d.push(o.getRawIndex(l))}),d},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function u(a,r){if(a.encodeDefine)return;var o=r.ecModel.getComponent("parallel",r.get("parallelIndex"));if(!o)return;var d=a.encodeDefine=b();f(o.dimensions,function(n){var l=i(n);d.set(n,l)})}function i(a){return+a.replace("dim","")}R.exports=h},AH3D:function(R,I,e){var g=e("ProS");e("y4/Y"),e("qWt2"),e("Qvb6"),g.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),g.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},ALo7:function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("5GtS"),m=e("4NO4"),y=m.defaultEmphasis,h=e("D5nY"),u=h.makeSeriesEncodeForNameBased,i=e("xKMd"),a=g.extendSeriesModel({type:"series.funnel",init:function(o){a.superApply(this,"init",arguments),this.legendVisualProvider=new i(f.bind(this.getData,this),f.bind(this.getRawData,this)),this._defaultLabelLine(o)},getInitialData:function(o,d){return b(this,{coordDimensions:["value"],encodeDefaulter:f.curry(u,this)})},_defaultLabelLine:function(o){y(o,"labelLine",["show"]);var d=o.labelLine,n=o.emphasis.labelLine;d.show=d.show&&o.label.show,n.show=n.show&&o.emphasis.label.show},getDataParams:function(o){var d=this.getData(),n=a.superCall(this,"getDataParams",o),l=d.mapDimension("value"),t=d.getSum(l);return n.percent=t?+(d.get(l,o)/t*100).toFixed(2):0,n.$vars.push("percent"),n},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),r=a;R.exports=r},ANjR:function(R,I,e){var g=e("bYtY");function f(m,y){return y=y||[0,0],g.map([0,1],function(h){var u=y[h],i=m[h]/2,a=[],r=[];return a[h]=u-i,r[h]=u+i,a[1-h]=r[1-h]=y[1-h],Math.abs(this.dataToPoint(a)[h]-this.dataToPoint(r)[h])},this)}function b(m){var y=m.getBoundingRect();return{coordSys:{type:"geo",x:y.x,y:y.y,width:y.width,height:y.height,zoom:m.getZoom()},api:{coord:function(h){return m.dataToPoint(h)},size:g.bind(f,m)}}}R.exports=b},AOa7:function(R,I,e){},AUH6:function(R,I,e){var g=e("bYtY"),f=e("mFDi"),b=e("bMXI"),m=e("W4dC");function y(i,a,r,o){b.call(this,i),this.map=a;var d=m.load(a,r);this._nameCoordMap=d.nameCoordMap,this._regionsMap=d.regionsMap,this._invertLongitute=o==null?!0:o,this.regions=d.regions,this._rect=d.boundingRect}y.prototype={constructor:y,type:"geo",dimensions:["lng","lat"],containCoord:function(i){for(var a=this.regions,r=0;r<a.length;r++)if(a[r].contain(i))return!0;return!1},transformTo:function(i,a,r,o){var d=this.getBoundingRect(),n=this._invertLongitute;d=d.clone(),n&&(d.y=-d.y-d.height);var l=this._rawTransformable;if(l.transform=d.calculateTransform(new f(i,a,r,o)),l.decomposeTransform(),n){var t=l.scale;t[1]=-t[1]}l.updateTransform(),this._updateTransform()},getRegion:function(i){return this._regionsMap.get(i)},getRegionByCoord:function(i){for(var a=this.regions,r=0;r<a.length;r++)if(a[r].contain(i))return a[r]},addGeoCoord:function(i,a){this._nameCoordMap.set(i,a)},getGeoCoord:function(i){return this._nameCoordMap.get(i)},getBoundingRect:function(){return this._rect},dataToPoint:function(i,a,r){if(typeof i=="string"&&(i=this.getGeoCoord(i)),i)return b.prototype.dataToPoint.call(this,i,a,r)},convertToPixel:g.curry(h,"dataToPoint"),convertFromPixel:g.curry(h,"pointToData")},g.mixin(y,b);function h(i,a,r,o){var d=r.geoModel,n=r.seriesModel,l=d?d.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return l===this?l[i](o):null}var u=y;R.exports=u},AVZG:function(R,I,e){var g=e("bYtY");function f(b,m,y){y=y||{};var h=b.coordinateSystem,u=m.axis,i={},a=u.getAxesOnZeroOf()[0],r=u.position,o=a?"onZero":r,d=u.dim,n=h.getRect(),l=[n.x,n.x+n.width,n.y,n.y+n.height],t={left:0,right:1,top:0,bottom:1,onZero:2},s=m.get("offset")||0,c=d==="x"?[l[2]-s,l[3]+s]:[l[0]-s,l[1]+s];if(a){var p=a.toGlobalCoord(a.dataToCoord(0));c[t.onZero]=Math.max(Math.min(p,c[1]),c[0])}i.position=[d==="y"?c[t[o]]:l[0],d==="x"?c[t[o]]:l[3]],i.rotation=Math.PI/2*(d==="x"?0:1);var A={top:-1,bottom:1,left:-1,right:1};i.labelDirection=i.tickDirection=i.nameDirection=A[r],i.labelOffset=a?c[t[r]]-c[t.onZero]:0,m.get("axisTick.inside")&&(i.tickDirection=-i.tickDirection),g.retrieve(y.labelInside,m.get("axisLabel.inside"))&&(i.labelDirection=-i.labelDirection);var w=m.get("axisLabel.rotate");return i.labelRotate=o==="top"?-w:w,i.z2=1,i}I.layout=f},"Ae+d":function(R,I){function e(f,b,m){var y=f.target,h=y.position;h[0]+=b,h[1]+=m,y.dirty()}function g(f,b,m,y){var h=f.target,u=f.zoomLimit,i=h.position,a=h.scale,r=f.zoom=f.zoom||1;if(r*=b,u){var o=u.min||0,d=u.max||Infinity;r=Math.max(Math.min(d,r),o)}var n=r/f.zoom;f.zoom=r,i[0]-=(m-i[0])*(n-1),i[1]-=(y-i[1])*(n-1),a[0]*=n,a[1]*=n,h.dirty()}I.updateViewOnPan=e,I.updateViewOnZoom=g},Ae16:function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("IwbS");e("Wqna"),e("rySg"),g.extendComponentView({type:"grid",render:function(m,y){this.group.removeAll(),m.get("show")&&this.group.add(new b.Rect({shape:m.coordinateSystem.getRect(),style:f.defaults({fill:m.get("backgroundColor")},m.getItemStyle()),silent:!0,z2:-1}))}}),g.registerPreprocessor(function(m){m.xAxis&&m.yAxis&&!m.grid&&(m.grid={})})},Awhp:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("PQMj"),m=e.n(b)},"B+YJ":function(R,I,e){e("TYVI"),e("p1MT")},"B6l+":function(R,I,e){var g=e("Sq3C"),f=e("Z1HP"),b=e("Sxd8"),m=e("dt0z");function y(h,u,i){h=m(h),u=b(u);var a=u?f(h):0;return u&&a<u?h+g(u-a,i):h}R.exports=y},B8du:function(R,I){function e(){return!1}R.exports=e},B9cy:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("0XgM"),m=e.n(b)},B9fm:function(R,I,e){var g=e("bYtY"),f=e("Qe9p"),b=e("YH21"),m=e("Ze12"),y=e("ItGF"),h=e("7aKB"),u=g.each,i=h.toCamelCase,a=["","-webkit-","-moz-","-o-"],r="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function o(c){var p="cubic-bezier(0.23, 1, 0.32, 1)",A="left "+c+"s "+p+",top "+c+"s "+p;return g.map(a,function(w){return w+"transition:"+A}).join(";")}function d(c){var p=[],A=c.get("fontSize"),w=c.getTextColor();return w&&p.push("color:"+w),p.push("font:"+c.getFont()),A&&p.push("line-height:"+Math.round(A*3/2)+"px"),u(["decoration","align"],function(C){var x=c.get(C);x&&p.push("text-"+C+":"+x)}),p.join(";")}function n(c){var p=[],A=c.get("transitionDuration"),w=c.get("backgroundColor"),C=c.getModel("textStyle"),x=c.get("padding");return A&&p.push(o(A)),w&&(y.canvasSupported?p.push("background-Color:"+w):(p.push("background-Color:#"+f.toHex(w)),p.push("filter:alpha(opacity=70)"))),u(["width","color","radius"],function(E){var T="border-"+E,_=i(T),v=c.get(_);v!=null&&p.push(T+":"+v+(E==="color"?"":"px"))}),p.push(d(C)),x!=null&&p.push("padding:"+h.normalizeCssArray(x).join("px ")+"px"),p.join(";")+";"}function l(c,p,A,w,C){var x=p&&p.painter;if(A){var E=x&&x.getViewportRoot();E&&m.transformLocalCoord(c,E,document.body,w,C)}else{c[0]=w,c[1]=C;var T=x&&x.getViewportRootOffset();T&&(c[0]+=T.offsetLeft,c[1]+=T.offsetTop)}}function t(c,p,A){if(y.wxa)return null;var w=document.createElement("div");w.domBelongToZr=!0,this.el=w;var C=this._zr=p.getZr(),x=this._appendToBody=A&&A.appendToBody;this._styleCoord=[0,0],l(this._styleCoord,C,x,p.getWidth()/2,p.getHeight()/2),x?document.body.appendChild(w):c.appendChild(w),this._container=c,this._show=!1,this._hideTimeout;var E=this;w.onmouseenter=function(){E._enterable&&(clearTimeout(E._hideTimeout),E._show=!0),E._inContent=!0},w.onmousemove=function(T){if(T=T||window.event,!E._enterable){var _=C.handler,v=C.painter.getViewportRoot();b.normalizeEvent(v,T,!0),_.dispatch("mousemove",T)}},w.onmouseleave=function(){E._enterable&&(E._show&&E.hideLater(E._hideDelay)),E._inContent=!1}}t.prototype={constructor:t,_enterable:!0,update:function(){var c=this._container,p=c.currentStyle||document.defaultView.getComputedStyle(c),A=c.style;A.position!=="absolute"&&p.position!=="absolute"&&(A.position="relative")},show:function(c){clearTimeout(this._hideTimeout);var p=this.el,A=this._styleCoord;p.style.cssText=r+n(c)+";left:"+A[0]+"px;top:"+A[1]+"px;"+(c.get("extraCssText")||""),p.style.display=p.innerHTML?"block":"none",p.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(c){this.el.innerHTML=c==null?"":c},setEnterable:function(c){this._enterable=c},getSize:function(){var c=this.el;return[c.clientWidth,c.clientHeight]},moveTo:function(c,p){var A=this._styleCoord;l(A,this._zr,this._appendToBody,c,p);var w=this.el.style;w.left=A[0]+"px",w.top=A[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(c){this._show&&!(this._inContent&&this._enterable)&&(c?(this._hideDelay=c,this._show=!1,this._hideTimeout=setTimeout(g.bind(this.hide,this),c)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var c=this.el.clientWidth,p=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var A=document.defaultView.getComputedStyle(this.el);A&&(c+=parseInt(A.borderLeftWidth,10)+parseInt(A.borderRightWidth,10),p+=parseInt(A.borderTopWidth,10)+parseInt(A.borderBottomWidth,10))}return{width:c,height:p}}};var s=t;R.exports=s},BJfS:function(R,I){var e=function(f){return f.replace(/[A-Z]/g,function(b){return"-"+b.toLowerCase()}).toLowerCase()};R.exports=e},BPZU:function(R,I){var e=32,g=7,f=256;function b(o){for(var d=0;o>=e;)d|=o&1,o>>=1;return o+d}function m(o,d,n,l){var t=d+1;if(t===n)return 1;if(l(o[t++],o[d])<0){for(;t<n&&l(o[t],o[t-1])<0;)t++;y(o,d,t)}else for(;t<n&&l(o[t],o[t-1])>=0;)t++;return t-d}function y(o,d,n){for(n--;d<n;){var l=o[d];o[d++]=o[n],o[n--]=l}}function h(o,d,n,l,t){for(l===d&&l++;l<n;l++){for(var s=o[l],c=d,p=l,A;c<p;)A=c+p>>>1,t(s,o[A])<0?p=A:c=A+1;var w=l-c;switch(w){case 3:o[c+3]=o[c+2];case 2:o[c+2]=o[c+1];case 1:o[c+1]=o[c];break;default:for(;w>0;)o[c+w]=o[c+w-1],w--}o[c]=s}}function u(o,d,n,l,t,s){var c=0,p=0,A=1;if(s(o,d[n+t])>0){for(p=l-t;A<p&&s(o,d[n+t+A])>0;)c=A,A=(A<<1)+1,A<=0&&(A=p);A>p&&(A=p),c+=t,A+=t}else{for(p=t+1;A<p&&s(o,d[n+t-A])<=0;)c=A,A=(A<<1)+1,A<=0&&(A=p);A>p&&(A=p);var w=c;c=t-A,A=t-w}for(c++;c<A;){var C=c+(A-c>>>1);s(o,d[n+C])>0?c=C+1:A=C}return A}function i(o,d,n,l,t,s){var c=0,p=0,A=1;if(s(o,d[n+t])<0){for(p=t+1;A<p&&s(o,d[n+t-A])<0;)c=A,A=(A<<1)+1,A<=0&&(A=p);A>p&&(A=p);var w=c;c=t-A,A=t-w}else{for(p=l-t;A<p&&s(o,d[n+t+A])>=0;)c=A,A=(A<<1)+1,A<=0&&(A=p);A>p&&(A=p),c+=t,A+=t}for(c++;c<A;){var C=c+(A-c>>>1);s(o,d[n+C])<0?A=C:c=C+1}return A}function a(o,d){var n=g,l=0,t=f,s=0,c,p,A=0;l=o.length,l<2*f&&(t=l>>>1);var w=[];s=l<120?5:l<1542?10:l<119151?19:40,c=[],p=[];function C(S,O){c[A]=S,p[A]=O,A+=1}function x(){for(;A>1;){var S=A-2;if(S>=1&&p[S-1]<=p[S]+p[S+1]||S>=2&&p[S-2]<=p[S]+p[S-1])p[S-1]<p[S+1]&&S--;else if(p[S]>p[S+1])break;T(S)}}function E(){for(;A>1;){var S=A-2;S>0&&p[S-1]<p[S+1]&&S--,T(S)}}function T(S){var O=c[S],L=p[S],M=c[S+1],F=p[S+1];p[S]=L+F,S===A-3&&(c[S+1]=c[S+2],p[S+1]=p[S+2]),A--;var U=i(o[M],o,O,L,0,d);if(O+=U,L-=U,L===0)return;if(F=u(o[O+L-1],o,M,F,F-1,d),F===0)return;L<=F?_(O,L,M,F):v(O,L,M,F)}function _(S,O,L,M){var F=0;for(F=0;F<O;F++)w[F]=o[S+F];var U=0,z=L,W=S;if(o[W++]=o[z++],--M===0){for(F=0;F<O;F++)o[W+F]=w[U+F];return}if(O===1){for(F=0;F<M;F++)o[W+F]=o[z+F];o[W+M]=w[U];return}for(var N=n,H,j,k;;){H=0,j=0,k=!1;do if(d(o[z],w[U])<0){if(o[W++]=o[z++],j++,H=0,--M===0){k=!0;break}}else if(o[W++]=w[U++],H++,j=0,--O===1){k=!0;break}while((H|j)<N);if(k)break;do{if(H=i(o[z],w,U,O,0,d),H!==0){for(F=0;F<H;F++)o[W+F]=w[U+F];if(W+=H,U+=H,O-=H,O<=1){k=!0;break}}if(o[W++]=o[z++],--M===0){k=!0;break}if(j=u(w[U],o,z,M,0,d),j!==0){for(F=0;F<j;F++)o[W+F]=o[z+F];if(W+=j,z+=j,M-=j,M===0){k=!0;break}}if(o[W++]=w[U++],--O===1){k=!0;break}N--}while(H>=g||j>=g);if(k)break;N<0&&(N=0),N+=2}if(n=N,n<1&&(n=1),O===1){for(F=0;F<M;F++)o[W+F]=o[z+F];o[W+M]=w[U]}else{if(O===0)throw new Error;for(F=0;F<O;F++)o[W+F]=w[U+F]}}function v(S,O,L,M){var F=0;for(F=0;F<M;F++)w[F]=o[L+F];var U=S+O-1,z=M-1,W=L+M-1,N=0,H=0;if(o[W--]=o[U--],--O===0){for(N=W-(M-1),F=0;F<M;F++)o[N+F]=w[F];return}if(M===1){for(W-=O,U-=O,H=W+1,N=U+1,F=O-1;F>=0;F--)o[H+F]=o[N+F];o[W]=w[z];return}for(var j=n;;){var k=0,B=0,V=!1;do if(d(w[z],o[U])<0){if(o[W--]=o[U--],k++,B=0,--O===0){V=!0;break}}else if(o[W--]=w[z--],B++,k=0,--M===1){V=!0;break}while((k|B)<j);if(V)break;do{if(k=O-i(w[z],o,S,O,O-1,d),k!==0){for(W-=k,U-=k,O-=k,H=W+1,N=U+1,F=k-1;F>=0;F--)o[H+F]=o[N+F];if(O===0){V=!0;break}}if(o[W--]=w[z--],--M===1){V=!0;break}if(B=M-u(o[U],w,0,M,M-1,d),B!==0){for(W-=B,z-=B,M-=B,H=W+1,N=z+1,F=0;F<B;F++)o[H+F]=w[N+F];if(M<=1){V=!0;break}}if(o[W--]=o[U--],--O===0){V=!0;break}j--}while(k>=g||B>=g);if(V)break;j<0&&(j=0),j+=2}if(n=j,n<1&&(n=1),M===1){for(W-=O,U-=O,H=W+1,N=U+1,F=O-1;F>=0;F--)o[H+F]=o[N+F];o[W]=w[z]}else{if(M===0)throw new Error;for(N=W-(M-1),F=0;F<M;F++)o[N+F]=w[F]}}this.mergeRuns=x,this.forceMergeRuns=E,this.pushRun=C}function r(o,d,n,l){n||(n=0),l||(l=o.length);var t=l-n;if(t<2)return;var s=0;if(t<e){s=m(o,n,l,d),h(o,n,l,n+s,d);return}var c=new a(o,d),p=b(t);do{if(s=m(o,n,l,d),s<p){var A=t;A>p&&(A=p),h(o,n,n+A,n+s,d),s=A}c.pushRun(n,s),c.mergeRuns(),t-=s,n+=s}while(t!==0);c.forceMergeRuns()}R.exports=r},Bd2K:function(R,I,e){(function(g){g(e("VrN/"),e("osHv"))})(function(g){g.defineOption("autoCloseTags",!1,function(a,r,o){if(o!=g.Init&&o&&a.removeKeyMap("autoCloseTags"),!r)return;var d={name:"autoCloseTags"};(typeof r!="object"||r.whenClosing!==!1)&&(d["'/'"]=function(n){return h(n)}),(typeof r!="object"||r.whenOpening!==!1)&&(d["'>'"]=function(n){return m(n)}),a.addKeyMap(d)});var f=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],b=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function m(a){if(a.getOption("disableInput"))return g.Pass;for(var r=a.listSelections(),o=[],d=a.getOption("autoCloseTags"),n=0;n<r.length;n++){if(!r[n].empty())return g.Pass;var l=r[n].head,t=a.getTokenAt(l),s=g.innerMode(a.getMode(),t.state),c=s.state,p=s.mode.xmlCurrentTag&&s.mode.xmlCurrentTag(c),A=p&&p.name;if(!A)return g.Pass;var w=s.mode.configuration=="html",C=typeof d=="object"&&d.dontCloseTags||w&&f,x=typeof d=="object"&&d.indentTags||w&&b;t.end>l.ch&&(A=A.slice(0,A.length-t.end+l.ch));var E=A.toLowerCase();if(!A||t.type=="string"&&(t.end!=l.ch||!/[\"\']/.test(t.string.charAt(t.string.length-1))||t.string.length==1)||t.type=="tag"&&p.close||t.string.indexOf("/")==l.ch-t.start-1||C&&u(C,E)>-1||i(a,s.mode.xmlCurrentContext&&s.mode.xmlCurrentContext(c)||[],A,l,!0))return g.Pass;var T=typeof d=="object"&&d.emptyTags;if(T&&u(T,A)>-1){o[n]={text:"/>",newPos:g.Pos(l.line,l.ch+2)};continue}var _=x&&u(x,E)>-1;o[n]={indent:_,text:">"+(_?`
`:"")+"</"+A+">",newPos:_?g.Pos(l.line+1,0):g.Pos(l.line,l.ch+1)}}for(var v=typeof d=="object"&&d.dontIndentOnAutoClose,n=r.length-1;n>=0;n--){var S=o[n];a.replaceRange(S.text,r[n].head,r[n].anchor,"+insert");var O=a.listSelections().slice(0);O[n]={head:S.newPos,anchor:S.newPos},a.setSelections(O),!v&&S.indent&&(a.indentLine(S.newPos.line,null,!0),a.indentLine(S.newPos.line+1,null,!0))}}function y(a,r){for(var o=a.listSelections(),d=[],n=r?"/":"</",l=a.getOption("autoCloseTags"),t=typeof l=="object"&&l.dontIndentOnSlash,s=0;s<o.length;s++){if(!o[s].empty())return g.Pass;var c=o[s].head,p=a.getTokenAt(c),A=g.innerMode(a.getMode(),p.state),w=A.state;if(r&&(p.type=="string"||p.string.charAt(0)!="<"||p.start!=c.ch-1))return g.Pass;var C,x=A.mode.name!="xml"&&a.getMode().name=="htmlmixed";if(x&&A.mode.name=="javascript")C=n+"script";else if(x&&A.mode.name=="css")C=n+"style";else{var E=A.mode.xmlCurrentContext&&A.mode.xmlCurrentContext(w);if(!E||E.length&&i(a,E,E[E.length-1],c))return g.Pass;C=n+E[E.length-1]}a.getLine(c.line).charAt(p.end)!=">"&&(C+=">"),d[s]=C}if(a.replaceSelections(d),o=a.listSelections(),!t)for(var s=0;s<o.length;s++)(s==o.length-1||o[s].head.line<o[s+1].head.line)&&a.indentLine(o[s].head.line)}function h(a){return a.getOption("disableInput")?g.Pass:y(a,!0)}g.commands.closeTag=function(a){return y(a)};function u(a,r){if(a.indexOf)return a.indexOf(r);for(var o=0,d=a.length;o<d;++o)if(a[o]==r)return o;return-1}function i(a,r,o,d,n){if(!g.scanForClosingTag)return!1;var l=Math.min(a.lastLine()+1,d.line+500),t=g.scanForClosingTag(a,d,null,l);if(!t||t.tag!=o)return!1;for(var s=n?1:0,c=r.length-1;c>=0&&r[c]==o;c--)++s;d=t.to;for(var c=1;c<s;c++){var p=g.scanForClosingTag(a,d,null,l);if(!p||p.tag!=o)return!1;d=p.to}return!0}})},BlVb:function(R,I,e){var g=e("hyiK"),f=1e-8;function b(y,h){return Math.abs(y-h)<f}function m(y,h,u){var i=0,a=y[0];if(!a)return!1;for(var r=1;r<y.length;r++){var o=y[r];i+=g(a[0],a[1],o[0],o[1],h,u),a=o}var d=y[0];return(!b(a[0],d[0])||!b(a[1],d[1]))&&(i+=g(a[0],a[1],d[0],d[1],h,u)),i!==0}I.contain=m},BoS7:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("czTT"),m=e.n(b)},Bq2U:function(R,I,e){var g=e("RDYZ"),f=e("Qe9p"),b=e("bYtY"),m=b.isArrayLike,y=Array.prototype.slice;function h(C,x){return C[x]}function u(C,x,E){C[x]=E}function i(C,x,E){return(x-C)*E+C}function a(C,x,E){return E>.5?x:C}function r(C,x,E,T,_){var v=C.length;if(_===1)for(var S=0;S<v;S++)T[S]=i(C[S],x[S],E);else for(var O=v&&C[0].length,S=0;S<v;S++)for(var L=0;L<O;L++)T[S][L]=i(C[S][L],x[S][L],E)}function o(C,x,E){var T=C.length,_=x.length;if(T!==_){var v=T>_;if(v)C.length=_;else for(var S=T;S<_;S++)C.push(E===1?x[S]:y.call(x[S]))}for(var O=C[0]&&C[0].length,S=0;S<C.length;S++)if(E===1)isNaN(C[S])&&(C[S]=x[S]);else for(var L=0;L<O;L++)isNaN(C[S][L])&&(C[S][L]=x[S][L])}function d(C,x,E){if(C===x)return!0;var T=C.length;if(T!==x.length)return!1;if(E===1){for(var _=0;_<T;_++)if(C[_]!==x[_])return!1}else for(var v=C[0].length,_=0;_<T;_++)for(var S=0;S<v;S++)if(C[_][S]!==x[_][S])return!1;return!0}function n(C,x,E,T,_,v,S,O,L){var M=C.length;if(L===1)for(var F=0;F<M;F++)O[F]=l(C[F],x[F],E[F],T[F],_,v,S);else for(var U=C[0].length,F=0;F<M;F++)for(var z=0;z<U;z++)O[F][z]=l(C[F][z],x[F][z],E[F][z],T[F][z],_,v,S)}function l(C,x,E,T,_,v,S){var O=(E-C)*.5,L=(T-x)*.5;return(2*(x-E)+O+L)*S+(-3*(x-E)-2*O-L)*v+O*_+x}function t(C){if(m(C)){var x=C.length;if(m(C[0])){for(var E=[],T=0;T<x;T++)E.push(y.call(C[T]));return E}return y.call(C)}return C}function s(C){return C[0]=Math.floor(C[0]),C[1]=Math.floor(C[1]),C[2]=Math.floor(C[2]),"rgba("+C.join(",")+")"}function c(C){var x=C[C.length-1].value;return m(x&&x[0])?2:1}function p(C,x,E,T,_,v){var S=C._getter,O=C._setter,L=x==="spline",M=T.length;if(!M)return;var F=T[0].value,U=m(F),z=!1,W=!1,N=U?c(T):0,H;T.sort(function(q,X){return q.time-X.time}),H=T[M-1].time;for(var j=[],k=[],B=T[0].value,V=!0,K=0;K<M;K++){j.push(T[K].time/H);var Y=T[K].value;if(U&&d(Y,B,N)||!U&&Y===B||(V=!1),B=Y,typeof Y=="string"){var Q=f.parse(Y);Q?(Y=Q,z=!0):W=!0}k.push(Y)}if(!v&&V)return;for(var he=k[M-1],K=0;K<M-1;K++)U?o(k[K],he,N):isNaN(k[K])&&!isNaN(he)&&!W&&!z&&(k[K]=he);U&&o(S(C._target,_),he,N);var G=0,ye=0,Ae,ge,Pe,Re,rt,ne;if(z)var be=[0,0,0,0];var at=function(X,Z){var pe;if(Z<0)pe=0;else if(Z<ye){for(Ae=Math.min(G+1,M-1),pe=Ae;pe>=0&&!(j[pe]<=Z);pe--);pe=Math.min(pe,M-2)}else{for(pe=G;pe<M&&!(j[pe]>Z);pe++);pe=Math.min(pe-1,M-2)}G=pe,ye=Z;var oe=j[pe+1]-j[pe];if(oe===0)return;if(ge=(Z-j[pe])/oe,L)if(Re=k[pe],Pe=k[pe===0?pe:pe-1],rt=k[pe>M-2?M-1:pe+1],ne=k[pe>M-3?M-1:pe+2],U)n(Pe,Re,rt,ne,ge,ge*ge,ge*ge*ge,S(X,_),N);else{var Ie;if(z)Ie=n(Pe,Re,rt,ne,ge,ge*ge,ge*ge*ge,be,1),Ie=s(be);else{if(W)return a(Re,rt,ge);Ie=l(Pe,Re,rt,ne,ge,ge*ge,ge*ge*ge)}O(X,_,Ie)}else if(U)r(k[pe],k[pe+1],ge,S(X,_),N);else{var Ie;if(z)r(k[pe],k[pe+1],ge,be,1),Ie=s(be);else{if(W)return a(k[pe],k[pe+1],ge);Ie=i(k[pe],k[pe+1],ge)}O(X,_,Ie)}},se=new g({target:C._target,life:H,loop:C._loop,delay:C._delay,onframe:at,ondestroy:E});return x&&x!=="spline"&&(se.easing=x),se}var A=function(x,E,T,_){this._tracks={},this._target=x,this._loop=E||!1,this._getter=T||h,this._setter=_||u,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};A.prototype={when:function(x,E){var T=this._tracks;for(var _ in E){if(!E.hasOwnProperty(_))continue;if(!T[_]){T[_]=[];var v=this._getter(this._target,_);if(v==null)continue;x!==0&&T[_].push({time:0,value:t(v)})}T[_].push({time:x,value:E[_]})}return this},during:function(x){return this._onframeList.push(x),this},pause:function(){for(var x=0;x<this._clipList.length;x++)this._clipList[x].pause();this._paused=!0},resume:function(){for(var x=0;x<this._clipList.length;x++)this._clipList[x].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var x=this._doneList,E=x.length,T=0;T<E;T++)x[T].call(this)},start:function(x,E){var T=this,_=0,v=function(){_--,_||T._doneCallback()},S;for(var O in this._tracks){if(!this._tracks.hasOwnProperty(O))continue;var L=p(this,x,v,this._tracks[O],O,E);L&&(this._clipList.push(L),_++,this.animation&&this.animation.addClip(L),S=L)}if(S){var M=S.onframe;S.onframe=function(F,U){M(F,U);for(var z=0;z<T._onframeList.length;z++)T._onframeList[z](F,U)}}return _||this._doneCallback(),this},stop:function(x){for(var E=this._clipList,T=this.animation,_=0;_<E.length;_++){var v=E[_];x&&v.onframe(this._target,1),T&&T.removeClip(v)}E.length=0},delay:function(x){return this._delay=x,this},done:function(x){return x&&this._doneList.push(x),this},getClips:function(){return this._clipList}};var w=A;R.exports=w},Bqw1:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"};I.default=g},Bsck:function(R,I,e){var g=e("bYtY"),f=e("Qxkt"),b=e("Mdki"),m=e("YXkt"),y=e("sdST"),h=function(r,o){this.name=r||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=o};h.prototype={constructor:h,isRemoved:function(){return this.dataIndex<0},eachNode:function(r,o,d){typeof r=="function"&&(d=o,o=r,r=null),r=r||{},g.isString(r)&&(r={order:r});var n=r.order||"preorder",l=this[r.attr||"children"],t;n==="preorder"&&(t=o.call(d,this));for(var s=0;!t&&s<l.length;s++)l[s].eachNode(r,o,d);n==="postorder"&&o.call(d,this)},updateDepthAndHeight:function(r){var o=0;this.depth=r;for(var d=0;d<this.children.length;d++){var n=this.children[d];n.updateDepthAndHeight(r+1),n.height>o&&(o=n.height)}this.height=o+1},getNodeById:function(r){if(this.getId()===r)return this;for(var o=0,d=this.children,n=d.length;o<n;o++){var l=d[o].getNodeById(r);if(l)return l}},contains:function(r){if(r===this)return!0;for(var o=0,d=this.children,n=d.length;o<n;o++){var l=d[o].contains(r);if(l)return l}},getAncestors:function(r){for(var o=[],d=r?this:this.parentNode;d;)o.push(d),d=d.parentNode;return o.reverse(),o},getValue:function(r){var o=this.hostTree.data;return o.get(o.getDimension(r||"value"),this.dataIndex)},setLayout:function(r,o){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,r,o)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(r){if(this.dataIndex<0)return;var o=this.hostTree,d=o.data.getItemModel(this.dataIndex),n=this.getLevelModel();return n?d.getModel(r,n.getModel(r)):d.getModel(r)},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(r,o){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,r,o)},getVisual:function(r,o){return this.hostTree.data.getItemVisual(this.dataIndex,r,o)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(r){for(var o=r.parentNode;o;){if(o===this)return!0;o=o.parentNode}return!1},isDescendantOf:function(r){return r!==this&&r.isAncestorOf(this)}};function u(r,o){this.root,this.data,this._nodes=[],this.hostModel=r,this.levelModels=g.map(o||[],function(d){return new f(d,r,r.ecModel)})}u.prototype={constructor:u,type:"tree",eachNode:function(r,o,d){this.root.eachNode(r,o,d)},getNodeByDataIndex:function(r){var o=this.data.getRawIndex(r);return this._nodes[o]},getNodeByName:function(r){return this.root.getNodeByName(r)},update:function(){for(var r=this.data,o=this._nodes,d=0,n=o.length;d<n;d++)o[d].dataIndex=-1;for(var d=0,n=r.count();d<n;d++)o[r.getRawIndex(d)].dataIndex=d},clearLayouts:function(){this.data.clearItemLayouts()}},u.createTree=function(r,o,d,n){var l=new u(o,d&&d.levels),t=[],s=1;c(r);function c(w,C){var x=w.value;s=Math.max(s,g.isArray(x)?x.length:1),t.push(w);var E=new h(w.name,l);C?i(E,C):l.root=E,l._nodes.push(E);var T=w.children;if(T)for(var _=0;_<T.length;_++)c(T[_],E)}l.root.updateDepthAndHeight(0);var p=y(t,{coordDimensions:["value"],dimensionsCount:s}),A=new m(p,o);return A.initData(t),n&&n(A),b({mainData:A,struct:l,structAttr:"tree"}),l.update(),l};function i(r,o){var d=o.children;if(r.parentNode===o)return;d.push(r),r.parentNode=o}var a=u;R.exports=a},BtR2:function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="LikeOutlined";var h=I.a=g.forwardRef(y)},BuqR:function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("bYtY"),m=e("6uqw"),y=e("XxSj"),h=e("YOMW"),u=e("OELB"),i=u.reformIntervals,a=m.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(n,l){a.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var t=this._mode=this._determineMode();r[this._mode].call(this),this._resetSelected(n,l);var s=this.option.categories;this.resetVisual(function(c,p){t==="categories"?(c.mappingMethod="category",c.categories=b.clone(s)):(c.dataExtent=this.getExtent(),c.mappingMethod="piecewise",c.pieceList=b.map(this._pieceList,function(A){var A=b.clone(A);return p!=="inRange"&&(A.visual=null),A}))})},completeVisualOption:function(){var n=this.option,l={},t=y.listVisualTypes(),s=this.isCategory();b.each(n.pieces,function(p){b.each(t,function(A){p.hasOwnProperty(A)&&(l[A]=1)})}),b.each(l,function(p,A){var w=0;b.each(this.stateList,function(C){w|=c(n,C,A)||c(n.target,C,A)},this),!w&&b.each(this.stateList,function(C){(n[C]||(n[C]={}))[A]=h.get(A,C==="inRange"?"active":"inactive",s)})},this);function c(p,A,w){return p&&p[A]&&(b.isObject(p[A])?p[A].hasOwnProperty(w):p[A]===w)}m.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(n,l){var t=this.option,s=this._pieceList,c=(l?t:n).selected||{};if(t.selected=c,b.each(s,function(A,w){var C=this.getSelectedMapKey(A);c.hasOwnProperty(C)||(c[C]=!0)},this),t.selectedMode==="single"){var p=!1;b.each(s,function(A,w){var C=this.getSelectedMapKey(A);c[C]&&(p?c[C]=!1:p=!0)},this)}},getSelectedMapKey:function(n){return this._mode==="categories"?n.value+"":n.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var n=this.option;return n.pieces&&n.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(n){this.option.selected=b.clone(n)},getValueState:function(n){var l=y.findPieceIndex(n,this._pieceList);return l!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[l])]?"inRange":"outOfRange"},findTargetDataIndices:function(n){var l=[];return this.eachTargetSeries(function(t){var s=[],c=t.getData();c.each(this.getDataDimension(c),function(p,A){var w=y.findPieceIndex(p,this._pieceList);w===n&&s.push(A)},this),l.push({seriesId:t.id,dataIndex:s})},this),l},getRepresentValue:function(n){var l;if(this.isCategory())l=n.value;else if(n.value!=null)l=n.value;else{var t=n.interval||[];l=t[0]===-Infinity&&t[1]===Infinity?0:(t[0]+t[1])/2}return l},getVisualMeta:function(n){if(this.isCategory())return;var l=[],t=[],s=this;function c(C,x){var E=s.getRepresentValue({interval:C});x||(x=s.getValueState(E));var T=n(E,x);C[0]===-Infinity?t[0]=T:C[1]===Infinity?t[1]=T:l.push({value:C[0],color:T},{value:C[1],color:T})}var p=this._pieceList.slice();if(!p.length)p.push({interval:[-Infinity,Infinity]});else{var A=p[0].interval[0];A!==-Infinity&&p.unshift({interval:[-Infinity,A]}),A=p[p.length-1].interval[1],A!==Infinity&&p.push({interval:[A,Infinity]})}var w=-Infinity;return b.each(p,function(C){var x=C.interval;x&&(x[0]>w&&c([w,x[0]],"outOfRange"),c(x.slice()),w=x[1])},this),{stops:l,outerColors:t}}}),r={splitNumber:function(){var n=this.option,l=this._pieceList,t=Math.min(n.precision,20),s=this.getExtent(),c=n.splitNumber;c=Math.max(parseInt(c,10),1),n.splitNumber=c;for(var p=(s[1]-s[0])/c;+p.toFixed(t)!==p&&t<5;)t++;n.precision=t,p=+p.toFixed(t),n.minOpen&&l.push({interval:[-Infinity,s[0]],close:[0,0]});for(var A=0,w=s[0];A<c;w+=p,A++){var C=A===c-1?s[1]:w+p;l.push({interval:[w,C],close:[1,1]})}n.maxOpen&&l.push({interval:[s[1],Infinity],close:[0,0]}),i(l),b.each(l,function(x,E){x.index=E,x.text=this.formatValueText(x.interval)},this)},categories:function(){var n=this.option;b.each(n.categories,function(l){this._pieceList.push({text:this.formatValueText(l,!0),value:l})},this),o(n,this._pieceList)},pieces:function(){var n=this.option,l=this._pieceList;b.each(n.pieces,function(t,s){b.isObject(t)||(t={value:t});var c={text:"",index:s};if(t.label!=null&&(c.text=t.label),t.hasOwnProperty("value")){var p=c.value=t.value;c.interval=[p,p],c.close=[1,1]}else{for(var A=c.interval=[],w=c.close=[0,0],C=[1,0,1],x=[-Infinity,Infinity],E=[],T=0;T<2;T++){for(var _=[["gte","gt","min"],["lte","lt","max"]][T],v=0;v<3&&A[T]==null;v++)A[T]=t[_[v]],w[T]=C[v],E[T]=v===2;A[T]==null&&(A[T]=x[T])}E[0]&&A[1]===Infinity&&(w[0]=0),E[1]&&A[0]===-Infinity&&(w[1]=0),A[0]===A[1]&&w[0]&&w[1]&&(c.value=A[0])}c.visual=y.retrieveVisuals(t),l.push(c)},this),o(n,l),i(l),b.each(l,function(t){var s=t.close,c=[["<","\u2264"][s[1]],[">","\u2265"][s[0]]];t.text=t.text||this.formatValueText(t.value!=null?t.value:t.interval,!1,c)},this)}};function o(n,l){var t=n.inverse;(n.orient==="vertical"?!t:t)&&l.reverse()}var d=a;R.exports=d},BvKs:function(R,I,e){"use strict";e.d(I,"a",function(){return U});var g=e("pVnL"),f=e.n(g),b=e("lSNA"),m=e.n(b),y=e("lwsE"),h=e.n(y),u=e("W8MJ"),i=e.n(u),a=e("7W2i"),r=e.n(a),o=e("LQ03"),d=e.n(o),n=e("q1tI"),l=e("1j5w"),t=e("TSYQ"),s=e.n(t),c=e("BGR+"),p=Object(n.createContext)({inlineCollapsed:!1}),A=p,w=e("0n0R"),C=function(z){r()(N,z);var W=d()(N);function N(){return h()(this,N),W.apply(this,arguments)}return i()(N,[{key:"renderTitle",value:function(j){var k=this.props,B=k.icon,V=k.title,K=k.level,Y=k.rootPrefixCls;if(!B)return j&&K===1&&V&&typeof V=="string"?n.createElement("div",{className:"".concat(Y,"-inline-collapsed-noicon")},V.charAt(0)):V;var Q=Object(w.b)(V)&&V.type==="span";return n.createElement(n.Fragment,null,B,Q?V:n.createElement("span",null,V))}},{key:"render",value:function(){var j=this,k=this.props,B=k.rootPrefixCls,V=k.popupClassName;return n.createElement(A.Consumer,null,function(K){var Y=K.inlineCollapsed,Q=K.antdMenuTheme;return n.createElement(l.e,f()({},Object(c.default)(j.props,["icon"]),{title:j.renderTitle(Y),popupClassName:s()(B,"".concat(B,"-").concat(Q),V)}))})}}]),N}(n.Component);C.contextType=A,C.isSubMenu=1;var x=C,E=e("Zm9Q"),T=e("3S7+"),_=e("ZX9x"),v=function(z,W){var N={};for(var H in z)Object.prototype.hasOwnProperty.call(z,H)&&W.indexOf(H)<0&&(N[H]=z[H]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,H=Object.getOwnPropertySymbols(z);j<H.length;j++)W.indexOf(H[j])<0&&Object.prototype.propertyIsEnumerable.call(z,H[j])&&(N[H[j]]=z[H[j]]);return N},S=function(z){r()(N,z);var W=d()(N);function N(){var H;return h()(this,N),H=W.apply(this,arguments),H.renderItem=function(j){var k=j.siderCollapsed,B=H.props,V=B.level,K=B.className,Y=B.children,Q=B.rootPrefixCls,he=H.props,G=he.title,ye=he.icon,Ae=he.danger,ge=v(he,["title","icon","danger"]);return n.createElement(A.Consumer,null,function(Pe){var Re,rt=Pe.inlineCollapsed,ne=Pe.direction,be=G;typeof G=="undefined"?be=V===1?Y:"":G===!1&&(be="");var at={title:be};!k&&!rt&&(at.title=null,at.visible=!1);var se=Object(E.a)(Y).length;return n.createElement(T.a,f()({},at,{placement:ne==="rtl"?"left":"right",overlayClassName:"".concat(Q,"-inline-collapsed-tooltip")}),n.createElement(l.b,f()({},ge,{className:s()(K,(Re={},m()(Re,"".concat(Q,"-item-danger"),Ae),m()(Re,"".concat(Q,"-item-only-child"),(ye?se+1:se)===1),Re)),title:G}),ye,H.renderItemChildren(rt)))})},H}return i()(N,[{key:"renderItemChildren",value:function(j){var k=this.props,B=k.icon,V=k.children,K=k.level,Y=k.rootPrefixCls;return!B||Object(w.b)(V)&&V.type==="span"?V&&j&&K===1&&typeof V=="string"?n.createElement("div",{className:"".concat(Y,"-inline-collapsed-noicon")},V.charAt(0)):V:n.createElement("span",null,V)}},{key:"render",value:function(){return n.createElement(_.a.Consumer,null,this.renderItem)}}]),N}(n.Component);S.isMenuItem=!0;var O=e("H84U"),L=e("uaoM"),M=e("EXcs"),F=function(z){r()(N,z);var W=d()(N);function N(H){var j;return h()(this,N),j=W.call(this,H),j.renderMenu=function(k){var B=k.getPopupContainer,V=k.getPrefixCls,K=k.direction,Y=j.props,Q=Y.prefixCls,he=Y.className,G=Y.theme,ye={horizontal:{motionName:"slide-up"},inline:M.a,other:{motionName:"zoom-big"}},Ae=V("menu",Q),ge=s()(he,"".concat(Ae,"-").concat(G),m()({},"".concat(Ae,"-inline-collapsed"),j.getInlineCollapsed()));return n.createElement(A.Provider,{value:{inlineCollapsed:j.getInlineCollapsed()||!1,antdMenuTheme:G,direction:K}},n.createElement(l.f,f()({getPopupContainer:B},j.props,{className:ge,prefixCls:Ae,direction:K,defaultMotions:ye})))},Object(L.a)(!("inlineCollapsed"in H&&H.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(L.a)(!(H.siderCollapsed!==void 0&&"inlineCollapsed"in H),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),j}return i()(N,[{key:"getInlineCollapsed",value:function(){var j=this.props,k=j.inlineCollapsed,B=j.siderCollapsed;return B!==void 0?B:k}},{key:"render",value:function(){return n.createElement(O.a,null,this.renderMenu)}}]),N}(n.Component);F.defaultProps={className:"",theme:"light",focusable:!1};var U=function(z){r()(N,z);var W=d()(N);function N(){return h()(this,N),W.apply(this,arguments)}return i()(N,[{key:"render",value:function(){var j=this;return n.createElement(_.a.Consumer,null,function(k){return n.createElement(F,f()({},j.props,k))})}}]),N}(n.Component);U.Divider=l.a,U.Item=S,U.SubMenu=x,U.ItemGroup=l.c},C0SR:function(R,I,e){var g=e("YH21"),f=function(){this._track=[]};f.prototype={constructor:f,recognize:function(i,a,r){return this._doTrack(i,a,r),this._recognize(i)},clear:function(){return this._track.length=0,this},_doTrack:function(i,a,r){var o=i.touches;if(!o)return;for(var d={points:[],touches:[],target:a,event:i},n=0,l=o.length;n<l;n++){var t=o[n],s=g.clientToLocal(r,t,{});d.points.push([s.zrX,s.zrY]),d.touches.push(t)}this._track.push(d)},_recognize:function(i){for(var a in y)if(y.hasOwnProperty(a)){var r=y[a](this._track,i);if(r)return r}}};function b(u){var i=u[1][0]-u[0][0],a=u[1][1]-u[0][1];return Math.sqrt(i*i+a*a)}function m(u){return[(u[0][0]+u[1][0])/2,(u[0][1]+u[1][1])/2]}var y={pinch:function(i,a){var r=i.length;if(!r)return;var o=(i[r-1]||{}).points,d=(i[r-2]||{}).points||o;if(d&&d.length>1&&o&&o.length>1){var n=b(o)/b(d);!isFinite(n)&&(n=1),a.pinchScale=n;var l=m(o);return a.pinchX=l[0],a.pinchY=l[1],{type:"pinch",target:i[0].target,event:a}}}},h=f;R.exports=h},C0tN:function(R,I,e){e("0o9m"),e("8Uz6"),e("Ducp"),e("6/nd")},CBdT:function(R,I,e){var g=e("ProS");e("8waO"),e("AEZ6"),e("YNf1");var f=e("q3GZ");g.registerVisual(f)},CF2D:function(R,I,e){var g=e("ProS");e("vZI5"),e("GeKi");var f=e("6r85"),b=e("TJmX"),m=e("CbHG");g.registerPreprocessor(f),g.registerVisual(b),g.registerLayout(m)},CFYs:function(R,I,e){"use strict";var g=e("lSNA"),f=e.n(g),b=e("pVnL"),m=e.n(b),y=e("lwsE"),h=e.n(y),u=e("W8MJ"),i=e.n(u),a=e("PJYZ"),r=e.n(a),o=e("7W2i"),d=e.n(o),n=e("LQ03"),l=e.n(n),t=e("q1tI"),s=e.n(t),c=e("TSYQ"),p=e.n(c),A=e("BGR+"),w=e("V/uB"),C=e.n(w),x=e("NAnI"),E=e.n(x),T=e("J84W"),_=e.n(T),v=e("kbBi"),S=e.n(v),O=e("H84U"),L=e("CWQg"),M=e("uaoM"),F=e("Zss7"),U=e.n(F),z=2,W=.16,N=.05,H=.05,j=.15,k=5,B=4,V=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function K(Ue,nt,At){var Wt;return Math.round(Ue.h)>=60&&Math.round(Ue.h)<=240?Wt=At?Math.round(Ue.h)-z*nt:Math.round(Ue.h)+z*nt:Wt=At?Math.round(Ue.h)+z*nt:Math.round(Ue.h)-z*nt,Wt<0?Wt+=360:Wt>=360&&(Wt-=360),Wt}function Y(Ue,nt,At){if(Ue.h===0&&Ue.s===0)return Ue.s;var Wt;return At?Wt=Ue.s-W*nt:nt===B?Wt=Ue.s+W:Wt=Ue.s+N*nt,Wt>1&&(Wt=1),At&&nt===k&&Wt>.1&&(Wt=.1),Wt<.06&&(Wt=.06),Number(Wt.toFixed(2))}function Q(Ue,nt,At){var Wt;return At?Wt=Ue.v+H*nt:Wt=Ue.v-j*nt,Wt>1&&(Wt=1),Number(Wt.toFixed(2))}function he(Ue){for(var nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},At=[],Wt=U()(Ue),$t=k;$t>0;$t-=1){var Rt=Wt.toHsv(),zt=U()({h:K(Rt,$t,!0),s:Y(Rt,$t,!0),v:Q(Rt,$t,!0)}).toHexString();At.push(zt)}At.push(Wt.toHexString());for(var Gt=1;Gt<=B;Gt+=1){var Qt=Wt.toHsv(),Mt=U()({h:K(Qt,Gt),s:Y(Qt,Gt),v:Q(Qt,Gt)}).toHexString();At.push(Mt)}return nt.theme==="dark"?V.map(function(dr){var er=dr.index,ht=dr.opacity,Et=U.a.mix(nt.backgroundColor||"#141414",At[er],ht*100).toHexString();return Et}):At}var G={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},ye={},Ae={};Object.keys(G).forEach(function(Ue){ye[Ue]=he(G[Ue]),ye[Ue].primary=ye[Ue][5],Ae[Ue]=he(G[Ue],{theme:"dark",backgroundColor:"#141414"}),Ae[Ue].primary=Ae[Ue][5]});var ge=ye.red,Pe=ye.volcano,Re=ye.gold,rt=ye.orange,ne=ye.yellow,be=ye.lime,at=ye.green,se=ye.cyan,q=ye.blue,X=ye.geekblue,Z=ye.purple,pe=ye.magenta,oe=ye.grey;function Ie(Ue){return!Ue||Ue<0?0:Ue>100?100:Ue}function fe(Ue){var nt=Ue.success,At=Ue.successPercent,Wt=At;return nt&&"progress"in nt&&(Object(M.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),Wt=nt.progress),nt&&"percent"in nt&&(Wt=nt.percent),Wt}var te=function(Ue,nt){var At={};for(var Wt in Ue)Object.prototype.hasOwnProperty.call(Ue,Wt)&&nt.indexOf(Wt)<0&&(At[Wt]=Ue[Wt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $t=0,Wt=Object.getOwnPropertySymbols(Ue);$t<Wt.length;$t++)nt.indexOf(Wt[$t])<0&&Object.prototype.propertyIsEnumerable.call(Ue,Wt[$t])&&(At[Wt[$t]]=Ue[Wt[$t]]);return At},J=function(nt){var At=[];return Object.keys(nt).forEach(function(Wt){var $t=parseFloat(Wt.replace(/%/g,""));isNaN($t)||At.push({key:$t,value:nt[Wt]})}),At=At.sort(function(Wt,$t){return Wt.key-$t.key}),At.map(function(Wt){var $t=Wt.key,Rt=Wt.value;return"".concat(Rt," ").concat($t,"%")}).join(", ")},ve=function(nt){var At=nt.from,Wt=At===void 0?G.blue:At,$t=nt.to,Rt=$t===void 0?G.blue:$t,zt=nt.direction,Gt=zt===void 0?"to right":zt,Qt=te(nt,["from","to","direction"]);if(Object.keys(Qt).length!==0){var Mt=J(Qt);return{backgroundImage:"linear-gradient(".concat(Gt,", ").concat(Mt,")")}}return{backgroundImage:"linear-gradient(".concat(Gt,", ").concat(Wt,", ").concat(Rt,")")}},De=function(nt){var At=nt.prefixCls,Wt=nt.percent,$t=nt.strokeWidth,Rt=nt.size,zt=nt.strokeColor,Gt=nt.strokeLinecap,Qt=nt.children,Mt=nt.trailColor,dr=nt.success,er=zt&&typeof zt!="string"?ve(zt):{background:zt},ht=Mt?{backgroundColor:Mt}:void 0,Et=m()({width:"".concat(Ie(Wt),"%"),height:$t||(Rt==="small"?6:8),borderRadius:Gt==="square"?0:""},er),pt=fe(nt),vt={width:"".concat(Ie(pt),"%"),height:$t||(Rt==="small"?6:8),borderRadius:Gt==="square"?0:"",backgroundColor:dr==null?void 0:dr.strokeColor},Nt=pt!==void 0?t.createElement("div",{className:"".concat(At,"-success-bg"),style:vt}):null;return t.createElement(t.Fragment,null,t.createElement("div",{className:"".concat(At,"-outer")},t.createElement("div",{className:"".concat(At,"-inner"),style:ht},t.createElement("div",{className:"".concat(At,"-bg"),style:Et}),Nt)),Qt)},ze=De,dt={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},Me=function(nt){var At=nt.map(function(){return Object(t.useRef)()}),Wt=Object(t.useRef)();return Object(t.useEffect)(function(){var $t=Date.now(),Rt=!1;Object.keys(At).forEach(function(zt){var Gt=At[zt].current;if(!Gt)return;Rt=!0;var Qt=Gt.style;Qt.transitionDuration=".3s, .3s, .3s, .06s",Wt.current&&$t-Wt.current<100&&(Qt.transitionDuration="0s, 0s")}),Rt&&(Wt.current=Date.now())}),[At]};function Tt(){return Tt=Object.assign||function(Ue){for(var nt=1;nt<arguments.length;nt++){var At=arguments[nt];for(var Wt in At)Object.prototype.hasOwnProperty.call(At,Wt)&&(Ue[Wt]=At[Wt])}return Ue},Tt.apply(this,arguments)}function je(Ue,nt){return ot(Ue)||et(Ue,nt)||Xe(Ue,nt)||st()}function st(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Xe(Ue,nt){if(!Ue)return;if(typeof Ue=="string")return Je(Ue,nt);var At=Object.prototype.toString.call(Ue).slice(8,-1);if(At==="Object"&&Ue.constructor&&(At=Ue.constructor.name),At==="Map"||At==="Set")return Array.from(Ue);if(At==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(At))return Je(Ue,nt)}function Je(Ue,nt){(nt==null||nt>Ue.length)&&(nt=Ue.length);for(var At=0,Wt=new Array(nt);At<nt;At++)Wt[At]=Ue[At];return Wt}function et(Ue,nt){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ue)))return;var At=[],Wt=!0,$t=!1,Rt=void 0;try{for(var zt=Ue[Symbol.iterator](),Gt;!(Wt=(Gt=zt.next()).done)&&!(At.push(Gt.value),nt&&At.length===nt);Wt=!0);}catch(Qt){$t=!0,Rt=Qt}finally{try{!Wt&&zt.return!=null&&zt.return()}finally{if($t)throw Rt}}return At}function ot(Ue){if(Array.isArray(Ue))return Ue}function Ve(Ue,nt){if(Ue==null)return{};var At=ue(Ue,nt),Wt,$t;if(Object.getOwnPropertySymbols){var Rt=Object.getOwnPropertySymbols(Ue);for($t=0;$t<Rt.length;$t++){if(Wt=Rt[$t],nt.indexOf(Wt)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Ue,Wt))continue;At[Wt]=Ue[Wt]}}return At}function ue(Ue,nt){if(Ue==null)return{};var At={},Wt=Object.keys(Ue),$t,Rt;for(Rt=0;Rt<Wt.length;Rt++){if($t=Wt[Rt],nt.indexOf($t)>=0)continue;At[$t]=Ue[$t]}return At}var ae=function(nt){var At=nt.className,Wt=nt.percent,$t=nt.prefixCls,Rt=nt.strokeColor,zt=nt.strokeLinecap,Gt=nt.strokeWidth,Qt=nt.style,Mt=nt.trailColor,dr=nt.trailWidth,er=nt.transition,ht=Ve(nt,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete ht.gapPosition;var Et=Array.isArray(Wt)?Wt:[Wt],pt=Array.isArray(Rt)?Rt:[Rt],vt=Me(Et),Nt=je(vt,1),_t=Nt[0],gt=Gt/2,Ht=100-Gt/2,kt="M ".concat(zt==="round"?gt:0,",").concat(gt,`
L `).concat(zt==="round"?Ht:100,",").concat(gt),ir="0 0 100 ".concat(Gt),Xt=0;return s.a.createElement("svg",Tt({className:p()("".concat($t,"-line"),At),viewBox:ir,preserveAspectRatio:"none",style:Qt},ht),s.a.createElement("path",{className:"".concat($t,"-line-trail"),d:kt,strokeLinecap:zt,stroke:Mt,strokeWidth:dr||Gt,fillOpacity:"0"}),Et.map(function(mr,Ar){var Nr={strokeDasharray:"".concat(mr,"px, 100px"),strokeDashoffset:"-".concat(Xt,"px"),transition:er||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},kr=pt[Ar]||pt[pt.length-1];return Xt+=mr,s.a.createElement("path",{key:Ar,className:"".concat($t,"-line-path"),d:kt,strokeLinecap:zt,stroke:kr,strokeWidth:Gt,fillOpacity:"0",ref:_t[Ar],style:Nr})}))};ae.defaultProps=dt;var lt=ae;function Ze(){return Ze=Object.assign||function(Ue){for(var nt=1;nt<arguments.length;nt++){var At=arguments[nt];for(var Wt in At)Object.prototype.hasOwnProperty.call(At,Wt)&&(Ue[Wt]=At[Wt])}return Ue},Ze.apply(this,arguments)}function Te(Ue,nt){return Lt(Ue)||bt(Ue,nt)||mt(Ue,nt)||Jt()}function Jt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mt(Ue,nt){if(!Ue)return;if(typeof Ue=="string")return ft(Ue,nt);var At=Object.prototype.toString.call(Ue).slice(8,-1);if(At==="Object"&&Ue.constructor&&(At=Ue.constructor.name),At==="Map"||At==="Set")return Array.from(Ue);if(At==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(At))return ft(Ue,nt)}function ft(Ue,nt){(nt==null||nt>Ue.length)&&(nt=Ue.length);for(var At=0,Wt=new Array(nt);At<nt;At++)Wt[At]=Ue[At];return Wt}function bt(Ue,nt){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ue)))return;var At=[],Wt=!0,$t=!1,Rt=void 0;try{for(var zt=Ue[Symbol.iterator](),Gt;!(Wt=(Gt=zt.next()).done)&&!(At.push(Gt.value),nt&&At.length===nt);Wt=!0);}catch(Qt){$t=!0,Rt=Qt}finally{try{!Wt&&zt.return!=null&&zt.return()}finally{if($t)throw Rt}}return At}function Lt(Ue){if(Array.isArray(Ue))return Ue}function or(Ue,nt){if(Ue==null)return{};var At=Bt(Ue,nt),Wt,$t;if(Object.getOwnPropertySymbols){var Rt=Object.getOwnPropertySymbols(Ue);for($t=0;$t<Rt.length;$t++){if(Wt=Rt[$t],nt.indexOf(Wt)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Ue,Wt))continue;At[Wt]=Ue[Wt]}}return At}function Bt(Ue,nt){if(Ue==null)return{};var At={},Wt=Object.keys(Ue),$t,Rt;for(Rt=0;Rt<Wt.length;Rt++){if($t=Wt[Rt],nt.indexOf($t)>=0)continue;At[$t]=Ue[$t]}return At}var _e=0;function Ce(Ue){return+Ue.replace("%","")}function Ee(Ue){return Array.isArray(Ue)?Ue:[Ue]}function we(Ue,nt,At,Wt){var $t=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,Rt=arguments.length>5?arguments[5]:void 0,zt=50-Wt/2,Gt=0,Qt=-zt,Mt=0,dr=-2*zt;switch(Rt){case"left":Gt=-zt,Qt=0,Mt=2*zt,dr=0;break;case"right":Gt=zt,Qt=0,Mt=-2*zt,dr=0;break;case"bottom":Qt=zt,dr=2*zt;break;default:}var er="M 50,50 m ".concat(Gt,",").concat(Qt,`
a `).concat(zt,",").concat(zt," 0 1 1 ").concat(Mt,",").concat(-dr,`
a `).concat(zt,",").concat(zt," 0 1 1 ").concat(-Mt,",").concat(dr),ht=Math.PI*2*zt,Et={stroke:At,strokeDasharray:"".concat(nt/100*(ht-$t),"px ").concat(ht,"px"),strokeDashoffset:"-".concat($t/2+Ue/100*(ht-$t),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:er,pathStyle:Et}}var Fe=function(nt){var At=nt.prefixCls,Wt=nt.strokeWidth,$t=nt.trailWidth,Rt=nt.gapDegree,zt=nt.gapPosition,Gt=nt.trailColor,Qt=nt.strokeLinecap,Mt=nt.style,dr=nt.className,er=nt.strokeColor,ht=nt.percent,Et=or(nt,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),pt=Object(t.useMemo)(function(){return _e+=1,_e},[]),vt=we(0,100,Gt,Wt,Rt,zt),Nt=vt.pathString,_t=vt.pathStyle,gt=Ee(ht),Ht=Ee(er),kt=Ht.find(function(Nr){return Object.prototype.toString.call(Nr)==="[object Object]"}),ir=Me(gt),Xt=Te(ir,1),mr=Xt[0],Ar=function(){var kr=0;return gt.map(function(tn,qr){var _r=Ht[qr]||Ht[Ht.length-1],Qr=Object.prototype.toString.call(_r)==="[object Object]"?"url(#".concat(At,"-gradient-").concat(pt,")"):"",Ir=we(kr,tn,_r,Wt,Rt,zt);return kr+=tn,s.a.createElement("path",{key:qr,className:"".concat(At,"-circle-path"),d:Ir.pathString,stroke:Qr,strokeLinecap:Qt,strokeWidth:Wt,opacity:tn===0?0:1,fillOpacity:"0",style:Ir.pathStyle,ref:mr[qr]})})};return s.a.createElement("svg",Ze({className:p()("".concat(At,"-circle"),dr),viewBox:"0 0 100 100",style:Mt},Et),kt&&s.a.createElement("defs",null,s.a.createElement("linearGradient",{id:"".concat(At,"-gradient-").concat(pt),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(kt).sort(function(Nr,kr){return Ce(Nr)-Ce(kr)}).map(function(Nr,kr){return s.a.createElement("stop",{key:kr,offset:Nr,stopColor:kt[Nr]})}))),s.a.createElement("path",{className:"".concat(At,"-circle-trail"),d:Nt,stroke:Gt,strokeLinecap:Qt,strokeWidth:$t||Wt,fillOpacity:"0",style:_t}),Ar().reverse())};Fe.defaultProps=dt;var Ye=Fe,Ge={Line:lt,Circle:Ye};function qe(Ue){var nt=Ue.percent,At=Ue.success,Wt=Ue.successPercent,$t=Ie(nt),Rt=fe({success:At,successPercent:Wt});return Rt?[Ie(Rt),Ie($t-Ie(Rt))]:$t}function Ke(Ue){var nt=Ue.success,At=Ue.strokeColor,Wt=Ue.successPercent,$t=At||null,Rt=fe({success:nt,successPercent:Wt});return Rt?[G.green,$t]:$t}var ut=function(nt){var At=nt.prefixCls,Wt=nt.width,$t=nt.strokeWidth,Rt=nt.trailColor,zt=nt.strokeLinecap,Gt=nt.gapPosition,Qt=nt.gapDegree,Mt=nt.type,dr=nt.children,er=Wt||120,ht={width:er,height:er,fontSize:er*.15+6},Et=$t||6,pt=Gt||Mt==="dashboard"&&"bottom"||"top",vt=function(){return Qt||Qt===0?Qt:Mt==="dashboard"?75:void 0},Nt=Ke(nt),_t=Object.prototype.toString.call(Nt)==="[object Object]",gt=p()("".concat(At,"-inner"),f()({},"".concat(At,"-circle-gradient"),_t));return t.createElement("div",{className:gt,style:ht},t.createElement(Ye,{percent:qe(nt),strokeWidth:Et,trailWidth:Et,strokeColor:Nt,strokeLinecap:zt,trailColor:Rt,prefixCls:At,gapDegree:vt(),gapPosition:pt}),dr)},wt=ut,It=function(nt){for(var At=nt.size,Wt=nt.steps,$t=nt.percent,Rt=$t===void 0?0:$t,zt=nt.strokeWidth,Gt=zt===void 0?8:zt,Qt=nt.strokeColor,Mt=nt.trailColor,dr=nt.prefixCls,er=nt.children,ht=Math.floor(Wt*(Rt/100)),Et=At==="small"?2:14,pt=[],vt=0;vt<Wt;vt+=1)pt.push(t.createElement("div",{key:vt,className:p()("".concat(dr,"-steps-item"),f()({},"".concat(dr,"-steps-item-active"),vt<=ht-1)),style:{backgroundColor:vt<=ht-1?Qt:Mt,width:Et,height:Gt}}));return t.createElement("div",{className:"".concat(dr,"-steps-outer")},pt,er)},de=It,xe=function(Ue,nt){var At={};for(var Wt in Ue)Object.prototype.hasOwnProperty.call(Ue,Wt)&&nt.indexOf(Wt)<0&&(At[Wt]=Ue[Wt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $t=0,Wt=Object.getOwnPropertySymbols(Ue);$t<Wt.length;$t++)nt.indexOf(Wt[$t])<0&&Object.prototype.propertyIsEnumerable.call(Ue,Wt[$t])&&(At[Wt[$t]]=Ue[Wt[$t]]);return At},$=Object(L.a)("line","circle","dashboard"),le=Object(L.a)("normal","exception","active","success"),Oe=function(Ue){d()(At,Ue);var nt=l()(At);function At(){var Wt;return h()(this,At),Wt=nt.apply(this,arguments),Wt.renderProgress=function($t){var Rt,zt=$t.getPrefixCls,Gt=$t.direction,Qt=r()(Wt),Mt=Qt.props,dr=Mt.prefixCls,er=Mt.className,ht=Mt.size,Et=Mt.type,pt=Mt.steps,vt=Mt.showInfo,Nt=Mt.strokeColor,_t=xe(Mt,["prefixCls","className","size","type","steps","showInfo","strokeColor"]),gt=zt("progress",dr),Ht=Wt.getProgressStatus(),kt=Wt.renderProcessInfo(gt,Ht);Object(M.a)(!("successPercent"in Mt),"Progress","`successPercent` is deprecated. Please use `success.percent` instead.");var ir;Et==="line"?ir=pt?t.createElement(de,m()({},Wt.props,{strokeColor:typeof Nt=="string"?Nt:void 0,prefixCls:gt,steps:pt}),kt):t.createElement(ze,m()({},Wt.props,{prefixCls:gt}),kt):(Et==="circle"||Et==="dashboard")&&(ir=t.createElement(wt,m()({},Wt.props,{prefixCls:gt,progressStatus:Ht}),kt));var Xt=p()(gt,(Rt={},f()(Rt,"".concat(gt,"-").concat(Et==="dashboard"&&"circle"||pt&&"steps"||Et),!0),f()(Rt,"".concat(gt,"-status-").concat(Ht),!0),f()(Rt,"".concat(gt,"-show-info"),vt),f()(Rt,"".concat(gt,"-").concat(ht),ht),f()(Rt,"".concat(gt,"-rtl"),Gt==="rtl"),Rt),er);return t.createElement("div",m()({},Object(A.default)(_t,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent","steps","success","successPercent"]),{className:Xt}),ir)},Wt}return i()(At,[{key:"getPercentNumber",value:function(){var $t=this.props.percent,Rt=$t===void 0?0:$t,zt=fe(this.props);return parseInt(zt!==void 0?zt.toString():Rt.toString(),10)}},{key:"getProgressStatus",value:function(){var $t=this.props.status;return le.indexOf($t)<0&&this.getPercentNumber()>=100?"success":$t||"normal"}},{key:"renderProcessInfo",value:function($t,Rt){var zt=this.props,Gt=zt.showInfo,Qt=zt.format,Mt=zt.type,dr=zt.percent,er=fe(this.props);if(!Gt)return null;var ht,Et=Qt||function(vt){return"".concat(vt,"%")},pt=Mt==="line";return Qt||Rt!=="exception"&&Rt!=="success"?ht=Et(Ie(dr),Ie(er)):Rt==="exception"?ht=pt?t.createElement(S.a,null):t.createElement(C.a,null):Rt==="success"&&(ht=pt?t.createElement(_.a,null):t.createElement(E.a,null)),t.createElement("span",{className:"".concat($t,"-text"),title:typeof ht=="string"?ht:void 0},ht)}},{key:"render",value:function(){return t.createElement(O.a,null,this.renderProgress)}}]),At}(t.Component);Oe.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var ke=I.a=Oe},CH3K:function(R,I){function e(g,f){for(var b=-1,m=f.length,y=g.length;++b<m;)g[y+b]=f[b];return g}R.exports=e},"CMP+":function(R,I,e){var g=e("bYtY"),f=e("hM6l"),b=function(y,h,u,i){f.call(this,y,h,u),this.type=i||"value",this.model=null};b.prototype={constructor:b,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},g.inherits(b,f);var m=b;R.exports=m},CP8R:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};I.default=g},"CWI+":function(R,I,e){},CbHG:function(R,I,e){var g=e("IwbS"),f=g.subPixelOptimize,b=e("zM3Q"),m=e("OELB"),y=m.parsePercent,h=e("bYtY"),u=h.retrieve2,i=typeof Float32Array!="undefined"?Float32Array:Array,a={seriesType:"candlestick",plan:b(),reset:function(d){var n=d.coordinateSystem,l=d.getData(),t=o(d,l),s=0,c=1,p=["x","y"],A=l.mapDimension(p[s]),w=l.mapDimension(p[c],!0),C=w[0],x=w[1],E=w[2],T=w[3];if(l.setLayout({candleWidth:t,isSimpleBox:t<=1.3}),A==null||w.length<4)return;return{progress:d.pipelineContext.large?v:_};function _(S,O){for(var L;(L=S.next())!=null;){var M=O.get(A,L),F=O.get(C,L),U=O.get(x,L),z=O.get(E,L),W=O.get(T,L),N=Math.min(F,U),H=Math.max(F,U),j=Y(N,M),k=Y(H,M),B=Y(z,M),V=Y(W,M),K=[];Q(K,k,0),Q(K,j,1),K.push(G(V),G(k),G(B),G(j)),O.setItemLayout(L,{sign:r(O,L,F,U,x),initBaseline:F>U?k[c]:j[c],ends:K,brushRect:he(z,W,M)})}function Y(ye,Ae){var ge=[];return ge[s]=Ae,ge[c]=ye,isNaN(Ae)||isNaN(ye)?[NaN,NaN]:n.dataToPoint(ge)}function Q(ye,Ae,ge){var Pe=Ae.slice(),Re=Ae.slice();Pe[s]=f(Pe[s]+t/2,1,!1),Re[s]=f(Re[s]-t/2,1,!0),ge?ye.push(Pe,Re):ye.push(Re,Pe)}function he(ye,Ae,ge){var Pe=Y(ye,ge),Re=Y(Ae,ge);return Pe[s]-=t/2,Re[s]-=t/2,{x:Pe[0],y:Pe[1],width:c?t:Re[0]-Pe[0],height:c?Re[1]-Pe[1]:t}}function G(ye){return ye[s]=f(ye[s],1),ye}}function v(S,O){for(var L=new i(S.count*4),M=0,F,U=[],z=[],W;(W=S.next())!=null;){var N=O.get(A,W),H=O.get(C,W),j=O.get(x,W),k=O.get(E,W),B=O.get(T,W);if(isNaN(N)||isNaN(k)||isNaN(B)){L[M++]=NaN,M+=3;continue}L[M++]=r(O,W,H,j,x),U[s]=N,U[c]=k,F=n.dataToPoint(U,null,z),L[M++]=F?F[0]:NaN,L[M++]=F?F[1]:NaN,U[c]=B,F=n.dataToPoint(U,null,z),L[M++]=F?F[1]:NaN}O.setLayout("largePoints",L)}}};function r(d,n,l,t,s){var c;return l>t?c=-1:l<t?c=1:c=n>0?d.get(s,n-1)<=t?1:-1:1,c}function o(d,n){var l=d.getBaseAxis(),t,s=l.type==="category"?l.getBandWidth():(t=l.getExtent(),Math.abs(t[1]-t[0])/n.count()),c=y(u(d.get("barMaxWidth"),s),s),p=y(u(d.get("barMinWidth"),1),s),A=d.get("barWidth");return A!=null?y(A,s):Math.max(Math.min(s/2,c),p)}R.exports=a},CiB2:function(R,I,e){"use strict";e.d(I,"a",function(){return g});function g(f){if(f==null)throw new TypeError("Cannot destructure undefined")}},Cm0C:function(R,I,e){e("5NHt"),e("f3JH")},CrYA:function(R,I,e){var g=e("MFOe"),f=g.Global;R.exports={name:"sessionStorage",read:m,write:y,each:h,remove:u,clearAll:i};function b(){return f.sessionStorage}function m(a){return b().getItem(a)}function y(a,r){return b().setItem(a,r)}function h(a){for(var r=b().length-1;r>=0;r--){var o=b().key(r);a(m(o),o)}}function u(a){return b().removeItem(a)}function i(){return b().clear()}},Csr3:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("4vCz"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},Cwc5:function(R,I,e){var g=e("NKxu"),f=e("Npjl");function b(m,y){var h=f(m,y);return g(h)?h:void 0}R.exports=b},D1WM:function(R,I,e){var g=e("bYtY"),f=e("hM6l"),b=function(y,h,u,i,a){f.call(this,y,h,u),this.type=i||"value",this.axisIndex=a};b.prototype={constructor:b,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},g.inherits(b,f);var m=b;R.exports=m},D5nY:function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("4NO4"),m=b.makeInner,y=b.getDataItemValue,h=e("bYtY"),u=h.createHashMap,i=h.each,a=h.map,r=h.isArray,o=h.isString,d=h.isObject,n=h.isTypedArray,l=h.isArrayLike,t=h.extend,s=h.assert,c=e("7G+c"),p=e("k9D9"),A=p.SOURCE_FORMAT_ORIGINAL,w=p.SOURCE_FORMAT_ARRAY_ROWS,C=p.SOURCE_FORMAT_OBJECT_ROWS,x=p.SOURCE_FORMAT_KEYED_COLUMNS,E=p.SOURCE_FORMAT_UNKNOWN,T=p.SOURCE_FORMAT_TYPED_ARRAY,_=p.SERIES_LAYOUT_BY_ROW,v={Must:1,Might:2,Not:3},S=m();function O(K){var Y=K.option.source,Q=E;if(n(Y))Q=T;else if(r(Y)){Y.length===0&&(Q=w);for(var he=0,G=Y.length;he<G;he++){var ye=Y[he];if(ye==null)continue;if(r(ye)){Q=w;break}else if(d(ye)){Q=C;break}}}else if(d(Y)){for(var Ae in Y)if(Y.hasOwnProperty(Ae)&&l(Y[Ae])){Q=x;break}}else if(Y!=null)throw new Error("Invalid data");S(K).sourceFormat=Q}function L(K){return S(K).source}function M(K){S(K).datasetMap=u()}function F(K){var Y=K.option,Q=Y.data,he=n(Q)?T:A,G=!1,ye=Y.seriesLayoutBy,Ae=Y.sourceHeader,ge=Y.dimensions,Pe=k(K);if(Pe){var Re=Pe.option;Q=Re.source,he=S(Pe).sourceFormat,G=!0,ye=ye||Re.seriesLayoutBy,Ae==null&&(Ae=Re.sourceHeader),ge=ge||Re.dimensions}var rt=U(Q,he,ye,Ae,ge);S(K).source=new c({data:Q,fromDataset:G,seriesLayoutBy:ye,sourceFormat:he,dimensionsDefine:rt.dimensionsDefine,startIndex:rt.startIndex,dimensionsDetectCount:rt.dimensionsDetectCount,encodeDefine:Y.encode})}function U(K,Y,Q,he,G){if(!K)return{dimensionsDefine:z(G)};var ye,Ae;if(Y===w)he==="auto"||he==null?W(function(Pe){Pe!=null&&Pe!=="-"&&(o(Pe)?Ae==null&&(Ae=1):Ae=0)},Q,K,10):Ae=he?1:0,!G&&Ae===1&&(G=[],W(function(Pe,Re){G[Re]=Pe!=null?Pe:""},Q,K)),ye=G?G.length:Q===_?K.length:K[0]?K[0].length:null;else if(Y===C)G||(G=N(K));else if(Y===x)G||(G=[],i(K,function(Pe,Re){G.push(Re)}));else if(Y===A){var ge=y(K[0]);ye=r(ge)&&ge.length||1}else Y===T;return{startIndex:Ae,dimensionsDefine:z(G),dimensionsDetectCount:ye}}function z(K){if(!K)return;var Y=u();return a(K,function(Q,he){if(Q=t({},d(Q)?Q:{name:Q}),Q.name==null)return Q;Q.name+="",Q.displayName==null&&(Q.displayName=Q.name);var G=Y.get(Q.name);return G?Q.name+="-"+G.count++:Y.set(Q.name,{count:1}),Q})}function W(K,Y,Q,he){if(he==null&&(he=Infinity),Y===_)for(var G=0;G<Q.length&&G<he;G++)K(Q[G]?Q[G][0]:null,G);else for(var ye=Q[0]||[],G=0;G<ye.length&&G<he;G++)K(ye[G],G)}function N(K){for(var Y=0,Q;Y<K.length&&!(Q=K[Y++]););if(Q){var he=[];return i(Q,function(G,ye){he.push(ye)}),he}}function H(K,Y,Q){var he={},G=k(Y);if(!G||!K)return he;var ye=[],Ae=[],ge=Y.ecModel,Pe=S(ge).datasetMap,Re=G.uid+"_"+Q.seriesLayoutBy,rt,ne;K=K.slice(),i(K,function(q,X){!d(q)&&(K[X]={name:q}),q.type==="ordinal"&&rt==null&&(rt=X,ne=se(K[X])),he[q.name]=[]});var be=Pe.get(Re)||Pe.set(Re,{categoryWayDim:ne,valueWayDim:0});i(K,function(q,X){var Z=q.name,pe=se(q);if(rt==null){var oe=be.valueWayDim;at(he[Z],oe,pe),at(Ae,oe,pe),be.valueWayDim+=pe}else if(rt===X)at(he[Z],0,pe),at(ye,0,pe);else{var oe=be.categoryWayDim;at(he[Z],oe,pe),at(Ae,oe,pe),be.categoryWayDim+=pe}});function at(q,X,Z){for(var pe=0;pe<Z;pe++)q.push(X+pe)}function se(q){var X=q.dimsDef;return X?X.length:1}return ye.length&&(he.itemName=ye),Ae.length&&(he.seriesName=Ae),he}function j(K,Y,Q){var he={},G=k(K);if(!G)return he;var ye=Y.sourceFormat,Ae=Y.dimensionsDefine,ge;(ye===C||ye===x)&&i(Ae,function(rt,ne){(d(rt)?rt.name:rt)==="name"&&(ge=ne)});var Pe=function(){for(var rt={},ne={},be=[],at=0,se=Math.min(5,Q);at<se;at++){var q=V(Y.data,ye,Y.seriesLayoutBy,Ae,Y.startIndex,at);be.push(q);var X=q===v.Not;if(X&&rt.v==null&&at!==ge&&(rt.v=at),(rt.n==null||rt.n===rt.v||!X&&be[rt.n]===v.Not)&&(rt.n=at),Z(rt)&&be[rt.n]!==v.Not)return rt;X||(q===v.Might&&ne.v==null&&at!==ge&&(ne.v=at),(ne.n==null||ne.n===ne.v)&&(ne.n=at))}function Z(pe){return pe.v!=null&&pe.n!=null}return Z(rt)?rt:Z(ne)?ne:null}();if(Pe){he.value=Pe.v;var Re=ge!=null?ge:Pe.n;he.itemName=[Re],he.seriesName=[Re]}return he}function k(K){var Y=K.option,Q=Y.data;if(!Q)return K.ecModel.getComponent("dataset",Y.datasetIndex||0)}function B(K,Y){return V(K.data,K.sourceFormat,K.seriesLayoutBy,K.dimensionsDefine,K.startIndex,Y)}function V(K,Y,Q,he,G,ye){var Ae,ge=5;if(n(K))return v.Not;var Pe,Re;if(he){var rt=he[ye];d(rt)?(Pe=rt.name,Re=rt.type):o(rt)&&(Pe=rt)}if(Re!=null)return Re==="ordinal"?v.Must:v.Not;if(Y===w)if(Q===_){for(var ne=K[ye],be=0;be<(ne||[]).length&&be<ge;be++)if((Ae=X(ne[G+be]))!=null)return Ae}else for(var be=0;be<K.length&&be<ge;be++){var at=K[G+be];if(at&&(Ae=X(at[ye]))!=null)return Ae}else if(Y===C){if(!Pe)return v.Not;for(var be=0;be<K.length&&be<ge;be++){var se=K[be];if(se&&(Ae=X(se[Pe]))!=null)return Ae}}else if(Y===x){if(!Pe)return v.Not;var ne=K[Pe];if(!ne||n(ne))return v.Not;for(var be=0;be<ne.length&&be<ge;be++)if((Ae=X(ne[be]))!=null)return Ae}else if(Y===A)for(var be=0;be<K.length&&be<ge;be++){var se=K[be],q=y(se);if(!r(q))return v.Not;if((Ae=X(q[ye]))!=null)return Ae}function X(Z){var pe=o(Z);if(Z!=null&&isFinite(Z)&&Z!=="")return pe?v.Might:v.Not;if(pe&&Z!=="-")return v.Must}return v.Not}I.BE_ORDINAL=v,I.detectSourceFormat=O,I.getSource=L,I.resetSourceDefaulter=M,I.prepareSource=F,I.makeSeriesEncodeForAxisCoordSys=H,I.makeSeriesEncodeForNameBased=j,I.guessOrdinal=B},D9ME:function(R,I,e){var g=e("IwbS"),f=e("fls0"),b=e("bYtY"),m=e("oVpE"),y=m.createSymbol,h=e("QBsz"),u=e("Sj9i");function i(o,d,n){g.Group.call(this),this.add(this.createLine(o,d,n)),this._updateEffectSymbol(o,d)}var a=i.prototype;a.createLine=function(o,d,n){return new f(o,d,n)},a._updateEffectSymbol=function(o,d){var n=o.getItemModel(d),l=n.getModel("effect"),t=l.get("symbolSize"),s=l.get("symbol");b.isArray(t)||(t=[t,t]);var c=l.get("color")||o.getItemVisual(d,"color"),p=this.childAt(1);if(this._symbolType!==s&&(this.remove(p),p=y(s,-.5,-.5,1,1,c),p.z2=100,p.culling=!0,this.add(p)),!p)return;p.setStyle("shadowColor",c),p.setStyle(l.getItemStyle(["color"])),p.attr("scale",t),p.setColor(c),p.attr("scale",t),this._symbolType=s,this._symbolScale=t,this._updateEffectAnimation(o,l,d)},a._updateEffectAnimation=function(o,d,n){var l=this.childAt(1);if(!l)return;var t=this,s=o.getItemLayout(n),c=d.get("period")*1e3,p=d.get("loop"),A=d.get("constantSpeed"),w=b.retrieve(d.get("delay"),function(T){return T/o.count()*c/3}),C=typeof w=="function";if(l.ignore=!0,this.updateAnimationPoints(l,s),A>0&&(c=this.getLineLength(l)/A*1e3),c!==this._period||p!==this._loop){l.stopAnimation();var x=w;C&&(x=w(n)),l.__t>0&&(x=-c*l.__t),l.__t=0;var E=l.animate("",p).when(c,{__t:1}).delay(x).during(function(){t.updateSymbolPosition(l)});p||E.done(function(){t.remove(l)}),E.start()}this._period=c,this._loop=p},a.getLineLength=function(o){return h.dist(o.__p1,o.__cp1)+h.dist(o.__cp1,o.__p2)},a.updateAnimationPoints=function(o,d){o.__p1=d[0],o.__p2=d[1],o.__cp1=d[2]||[(d[0][0]+d[1][0])/2,(d[0][1]+d[1][1])/2]},a.updateData=function(o,d,n){this.childAt(0).updateData(o,d,n),this._updateEffectSymbol(o,d)},a.updateSymbolPosition=function(o){var d=o.__p1,n=o.__p2,l=o.__cp1,t=o.__t,s=o.position,c=[s[0],s[1]],p=u.quadraticAt,A=u.quadraticDerivativeAt;s[0]=p(d[0],l[0],n[0],t),s[1]=p(d[1],l[1],n[1],t);var w=A(d[0],l[0],n[0],t),C=A(d[1],l[1],n[1],t);if(o.rotation=-Math.atan2(C,w)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(o.__lastT!==void 0&&o.__lastT<o.__t){var x=h.dist(c,s)*1.05;o.attr("scale",[o.scale[0],x]),t===1&&(s[0]=c[0]+(s[0]-c[0])/2,s[1]=c[1]+(s[1]-c[1])/2)}else if(o.__lastT===1){var x=2*h.dist(d,s);o.attr("scale",[o.scale[0],x])}else o.attr("scale",this._symbolScale);o.__lastT=o.__t,o.ignore=!1},a.updateLayout=function(o,d){this.childAt(0).updateLayout(o,d);var n=o.getItemModel(d).getModel("effect");this._updateEffectAnimation(o,n,d)},b.inherits(i,g.Group);var r=i;R.exports=r},DBLp:function(R,I){function e(){}e.prototype={diff:function(h,u,i){i||(i=function(C,x){return C===x}),this.equals=i;var a=this;h=h.slice(),u=u.slice();var r=u.length,o=h.length,d=1,n=r+o,l=[{newPos:-1,components:[]}],t=this.extractCommon(l[0],u,h,0);if(l[0].newPos+1>=r&&t+1>=o){for(var s=[],c=0;c<u.length;c++)s.push(c);return[{indices:s,count:u.length}]}function p(){for(var w=-1*d;w<=d;w+=2){var C,x=l[w-1],E=l[w+1],T=(E?E.newPos:0)-w;x&&(l[w-1]=void 0);var _=x&&x.newPos+1<r,v=E&&0<=T&&T<o;if(!_&&!v){l[w]=void 0;continue}if(!_||v&&x.newPos<E.newPos?(C=f(E),a.pushComponent(C.components,void 0,!0)):(C=x,C.newPos++,a.pushComponent(C.components,!0,void 0)),T=a.extractCommon(C,u,h,w),C.newPos+1>=r&&T+1>=o)return g(a,C.components,u,h);l[w]=C}d++}for(;d<=n;){var A=p();if(A)return A}},pushComponent:function(h,u,i){var a=h[h.length-1];a&&a.added===u&&a.removed===i?h[h.length-1]={count:a.count+1,added:u,removed:i}:h.push({count:1,added:u,removed:i})},extractCommon:function(h,u,i,a){for(var r=u.length,o=i.length,d=h.newPos,n=d-a,l=0;d+1<r&&n+1<o&&this.equals(u[d+1],i[n+1]);)d++,n++,l++;return l&&h.components.push({count:l}),h.newPos=d,n},tokenize:function(h){return h.slice()},join:function(h){return h.slice()}};function g(y,h,u,i){for(var a=0,r=h.length,o=0,d=0;a<r;a++){var n=h[a];if(n.removed){for(var l=[],t=d;t<d+n.count;t++)l.push(t);n.indices=l,d+=n.count}else{for(var l=[],t=o;t<o+n.count;t++)l.push(t);n.indices=l,o+=n.count,n.added||(d+=n.count)}}return h}function f(y){return{newPos:y.newPos,components:y.components.slice(0)}}var b=new e;function m(y,h,u){return b.diff(y,h,u)}R.exports=m},DEFe:function(R,I,e){var g=e("bYtY"),f=e("SgGq"),b=e("Ae+d"),m=e("xSat"),y=m.onIrrelevantElement,h=e("IwbS"),u=e("W4dC"),i=e("iRjW"),a=i.getUID,r=e("DN4a");function o(s){var c=s.getItemStyle(),p=s.get("areaColor");return p!=null&&(c.fill=p),c}function d(s,c,p,A,w){p.off("click"),p.off("mousedown"),c.get("selectedMode")&&(p.on("mousedown",function(){s._mouseDownFlag=!0}),p.on("click",function(C){if(!s._mouseDownFlag)return;s._mouseDownFlag=!1;for(var x=C.target;!x.__regions;)x=x.parent;if(!x)return;var E={type:(c.mainType==="geo"?"geo":"map")+"ToggleSelect",batch:g.map(x.__regions,function(T){return{name:T.name,from:w.uid}})};E[c.mainType+"Id"]=c.id,A.dispatchAction(E),n(c,p)}))}function n(s,c){c.eachChild(function(p){g.each(p.__regions,function(A){p.trigger(s.isSelected(A.name)?"emphasis":"normal")})})}function l(s,c){var p=new h.Group;this.uid=a("ec_map_draw"),this._controller=new f(s.getZr()),this._controllerHost={target:c?p:null},this.group=p,this._updateGroup=c,this._mouseDownFlag,this._mapName,this._initialized,p.add(this._regionsGroup=new h.Group),p.add(this._backgroundGroup=new h.Group)}l.prototype={constructor:l,draw:function(s,c,p,A,w){var C=s.mainType==="geo",x=s.getData&&s.getData();C&&c.eachComponent({mainType:"series",subType:"map"},function(k){!x&&k.getHostGeoModel()===s&&(x=k.getData())});var E=s.coordinateSystem;this._updateBackground(E);var T=this._regionsGroup,_=this.group,v=E.getTransformInfo(),S=!T.childAt(0)||w,O;if(S)_.transform=v.roamTransform,_.decomposeTransform(),_.dirty();else{var L=new r;L.transform=v.roamTransform,L.decomposeTransform();var M={scale:L.scale,position:L.position};O=L.scale,h.updateProps(_,M,s)}var F=v.rawScale,U=v.rawPosition;T.removeAll();var z=["itemStyle"],W=["emphasis","itemStyle"],N=["label"],H=["emphasis","label"],j=g.createHashMap();g.each(E.regions,function(k){var B=j.get(k.name)||j.set(k.name,new h.Group),V=new h.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});B.add(V);var K=s.getRegionModel(k.name)||s,Y=K.getModel(z),Q=K.getModel(W),he=o(Y),G=o(Q),ye=K.getModel(N),Ae=K.getModel(H),ge;if(x){ge=x.indexOfName(k.name);var Pe=x.getItemVisual(ge,"color",!0);Pe&&(he.fill=Pe)}var Re=function(oe){return[oe[0]*F[0]+U[0],oe[1]*F[1]+U[1]]};g.each(k.geometries,function(oe){if(oe.type!=="polygon")return;for(var Ie=[],fe=0;fe<oe.exterior.length;++fe)Ie.push(Re(oe.exterior[fe]));V.shape.paths.push(new h.Polygon({segmentIgnoreThreshold:1,shape:{points:Ie}}));for(var fe=0;fe<(oe.interiors?oe.interiors.length:0);++fe){for(var te=oe.interiors[fe],Ie=[],J=0;J<te.length;++J)Ie.push(Re(te[J]));V.shape.paths.push(new h.Polygon({segmentIgnoreThreshold:1,shape:{points:Ie}}))}}),V.setStyle(he),V.style.strokeNoScale=!0,V.culling=!0;var rt=ye.get("show"),ne=Ae.get("show"),be=x&&isNaN(x.get(x.mapDimension("value"),ge)),at=x&&x.getItemLayout(ge);if(C||be&&(rt||ne)||at&&at.showLabel){var se=C?k.name:ge,q;(!x||ge>=0)&&(q=s);var X=new h.Text({position:Re(k.center.slice()),scale:[1/_.scale[0],1/_.scale[1]],z2:10,silent:!0});if(h.setLabelStyle(X.style,X.hoverStyle={},ye,Ae,{labelFetcher:q,labelDataIndex:se,defaultText:k.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!S){var Z=[1/O[0],1/O[1]];h.updateProps(X,{scale:Z},s)}B.add(X)}if(x)x.setItemGraphicEl(ge,B);else{var K=s.getRegionModel(k.name);V.eventData={componentType:"geo",componentIndex:s.componentIndex,geoIndex:s.componentIndex,name:k.name,region:K&&K.option||{}}}var pe=B.__regions||(B.__regions=[]);pe.push(k),B.highDownSilentOnTouch=!!s.get("selectedMode"),h.setHoverStyle(B,G),T.add(B)}),this._updateController(s,c,p),d(this,s,T,p,A),n(s,T)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&u.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(s){var c=s.map;this._mapName!==c&&g.each(u.makeGraphic(c,this.uid),function(p){this._backgroundGroup.add(p)},this),this._mapName=c},_updateController:function(s,c,p){var A=s.coordinateSystem,w=this._controller,C=this._controllerHost;C.zoomLimit=s.get("scaleLimit"),C.zoom=A.getZoom(),w.enable(s.get("roam")||!1);var x=s.mainType;function E(){var T={type:"geoRoam",componentType:x};return T[x+"Id"]=s.id,T}w.off("pan").on("pan",function(T){this._mouseDownFlag=!1,b.updateViewOnPan(C,T.dx,T.dy),p.dispatchAction(g.extend(E(),{dx:T.dx,dy:T.dy}))},this),w.off("zoom").on("zoom",function(T){if(this._mouseDownFlag=!1,b.updateViewOnZoom(C,T.scale,T.originX,T.originY),p.dispatchAction(g.extend(E(),{zoom:T.scale,originX:T.originX,originY:T.originY})),this._updateGroup){var _=this.group.scale;this._regionsGroup.traverse(function(v){v.type==="text"&&v.attr("scale",[1/_[0],1/_[1]])})}},this),w.setPointerChecker(function(T,_,v){return A.getViewRectAfterRoam().contain(_,v)&&!y(T,p,s)})}};var t=l;R.exports=t},DFOY:function(R,I,e){"use strict";var g=e("pVnL"),f=e.n(g),b=e("lSNA"),m=e.n(b),y=e("lwsE"),h=e.n(y),u=e("W8MJ"),i=e.n(u),a=e("PJYZ"),r=e.n(a),o=e("7W2i"),d=e.n(o),n=e("LQ03"),l=e.n(n),t=e("q1tI"),s=e("uciX"),c=e("2W6z"),p=e.n(c),A=e("4IlW"),w=e("uK0f"),C=e.n(w);function x(Ee,we){if(Ee===we)return!0;if(!Ee||!we)return!1;var Fe=Ee.length;if(we.length!==Fe)return!1;for(var Ye=0;Ye<Fe;Ye++)if(Ee[Ye]!==we[Ye])return!1;return!0}function E(Ee){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?E=function(Fe){return typeof Fe}:E=function(Fe){return Fe&&typeof Symbol=="function"&&Fe.constructor===Symbol&&Fe!==Symbol.prototype?"symbol":typeof Fe},E(Ee)}function T(Ee,we){if(!(Ee instanceof we))throw new TypeError("Cannot call a class as a function")}function _(Ee,we){for(var Fe=0;Fe<we.length;Fe++){var Ye=we[Fe];Ye.enumerable=Ye.enumerable||!1,Ye.configurable=!0,"value"in Ye&&(Ye.writable=!0),Object.defineProperty(Ee,Ye.key,Ye)}}function v(Ee,we,Fe){return we&&_(Ee.prototype,we),Fe&&_(Ee,Fe),Ee}function S(Ee,we){if(typeof we!="function"&&we!==null)throw new TypeError("Super expression must either be null or a function");Ee.prototype=Object.create(we&&we.prototype,{constructor:{value:Ee,writable:!0,configurable:!0}}),we&&O(Ee,we)}function O(Ee,we){return O=Object.setPrototypeOf||function(Ye,Ge){return Ye.__proto__=Ge,Ye},O(Ee,we)}function L(Ee){var we=U();return function(){var Fe=z(Ee),Ye;if(we){var Ge=z(this).constructor;Ye=Reflect.construct(Fe,arguments,Ge)}else Ye=Fe.apply(this,arguments);return M(this,Ye)}}function M(Ee,we){return we&&(E(we)==="object"||typeof we=="function")?we:F(Ee)}function F(Ee){if(Ee===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ee}function U(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Ee){return!1}}function z(Ee){return z=Object.setPrototypeOf?Object.getPrototypeOf:function(Fe){return Fe.__proto__||Object.getPrototypeOf(Fe)},z(Ee)}var W=function(){var Ee=function(we){S(Ye,we);var Fe=L(Ye);function Ye(){var Ge;return T(this,Ye),Ge=Fe.apply(this,arguments),Ge.menuItems={},Ge.saveMenuItem=function(qe){return function(Ke){Ge.menuItems[qe]=Ke}},Ge}return v(Ye,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function(qe){!qe.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function(qe){var Ke=this.props,ut=Ke.fieldNames,wt=Ke.defaultFieldNames;return ut[qe]||wt[qe]}},{key:"getOption",value:function(qe,Ke){var ut=this.props,wt=ut.prefixCls,It=ut.expandTrigger,de=ut.expandIcon,xe=ut.loadingIcon,$=this.props.onSelect.bind(this,qe,Ke),le=this.props.onItemDoubleClick.bind(this,qe,Ke),Oe={onClick:$,onDoubleClick:le},ke="".concat(wt,"-menu-item"),Ue=null,nt=qe[this.getFieldName("children")]&&qe[this.getFieldName("children")].length>0;(nt||qe.isLeaf===!1)&&(ke+=" ".concat(wt,"-menu-item-expand"),qe.loading||(Ue=t.createElement("span",{className:"".concat(wt,"-menu-item-expand-icon")},de))),It==="hover"&&(nt||qe.isLeaf===!1)&&(Oe={onMouseEnter:this.delayOnSelect.bind(this,$),onMouseLeave:this.delayOnSelect.bind(this),onClick:$}),this.isActiveOption(qe,Ke)&&(ke+=" ".concat(wt,"-menu-item-active"),Oe.ref=this.saveMenuItem(Ke)),qe.disabled&&(ke+=" ".concat(wt,"-menu-item-disabled"));var At=null;qe.loading&&(ke+=" ".concat(wt,"-menu-item-loading"),At=xe||null);var Wt="";return"title"in qe?Wt=qe.title:typeof qe[this.getFieldName("label")]=="string"&&(Wt=qe[this.getFieldName("label")]),t.createElement("li",Object.assign({key:qe[this.getFieldName("value")],className:ke,title:Wt},Oe,{role:"menuitem",onMouseDown:function(Rt){return Rt.preventDefault()}}),qe[this.getFieldName("label")],Ue,At)}},{key:"getActiveOptions",value:function(qe){var Ke=this,ut=this.props.options,wt=qe||this.props.activeValue;return C()(ut,function(It,de){return It[Ke.getFieldName("value")]===wt[de]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var qe=this,Ke=this.props.options,ut=this.getActiveOptions().map(function(wt){return wt[qe.getFieldName("children")]}).filter(function(wt){return!!wt});return ut.unshift(Ke),ut}},{key:"delayOnSelect",value:function(qe){for(var Ke=this,ut=arguments.length,wt=new Array(ut>1?ut-1:0),It=1;It<ut;It++)wt[It-1]=arguments[It];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),typeof qe=="function"&&(this.delayTimer=window.setTimeout(function(){qe(wt),Ke.delayTimer=null},150))}},{key:"scrollActiveItemToView",value:function(){for(var qe=this.getShowOptions().length,Ke=0;Ke<qe;Ke++){var ut=this.menuItems[Ke];ut&&ut.parentElement&&(ut.parentElement.scrollTop=ut.offsetTop)}}},{key:"isActiveOption",value:function(qe,Ke){var ut=this.props.activeValue,wt=ut===void 0?[]:ut;return wt[Ke]===qe[this.getFieldName("value")]}},{key:"render",value:function(){var qe=this,Ke=this.props,ut=Ke.prefixCls,wt=Ke.dropdownMenuColumnStyle;return t.createElement("div",null,this.getShowOptions().map(function(It,de){return t.createElement("ul",{className:"".concat(ut,"-menu"),key:de,style:wt},It.map(function(xe){return qe.getOption(xe,de)}))}))}}]),Ye}(t.Component);return Ee.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"},Ee}(),N=W,H={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}}},j=H;function k(Ee){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?k=function(Fe){return typeof Fe}:k=function(Fe){return Fe&&typeof Symbol=="function"&&Fe.constructor===Symbol&&Fe!==Symbol.prototype?"symbol":typeof Fe},k(Ee)}function B(Ee,we){if(Ee==null)return{};var Fe=V(Ee,we),Ye,Ge;if(Object.getOwnPropertySymbols){var qe=Object.getOwnPropertySymbols(Ee);for(Ge=0;Ge<qe.length;Ge++){if(Ye=qe[Ge],we.indexOf(Ye)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Ee,Ye))continue;Fe[Ye]=Ee[Ye]}}return Fe}function V(Ee,we){if(Ee==null)return{};var Fe={},Ye=Object.keys(Ee),Ge,qe;for(qe=0;qe<Ye.length;qe++){if(Ge=Ye[qe],we.indexOf(Ge)>=0)continue;Fe[Ge]=Ee[Ge]}return Fe}function K(Ee){return G(Ee)||he(Ee)||Q(Ee)||Y()}function Y(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Q(Ee,we){if(!Ee)return;if(typeof Ee=="string")return ye(Ee,we);var Fe=Object.prototype.toString.call(Ee).slice(8,-1);if(Fe==="Object"&&Ee.constructor&&(Fe=Ee.constructor.name),Fe==="Map"||Fe==="Set")return Array.from(Ee);if(Fe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Fe))return ye(Ee,we)}function he(Ee){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(Ee))return Array.from(Ee)}function G(Ee){if(Array.isArray(Ee))return ye(Ee)}function ye(Ee,we){(we==null||we>Ee.length)&&(we=Ee.length);for(var Fe=0,Ye=new Array(we);Fe<we;Fe++)Ye[Fe]=Ee[Fe];return Ye}function Ae(Ee,we){if(!(Ee instanceof we))throw new TypeError("Cannot call a class as a function")}function ge(Ee,we){for(var Fe=0;Fe<we.length;Fe++){var Ye=we[Fe];Ye.enumerable=Ye.enumerable||!1,Ye.configurable=!0,"value"in Ye&&(Ye.writable=!0),Object.defineProperty(Ee,Ye.key,Ye)}}function Pe(Ee,we,Fe){return we&&ge(Ee.prototype,we),Fe&&ge(Ee,Fe),Ee}function Re(Ee,we){if(typeof we!="function"&&we!==null)throw new TypeError("Super expression must either be null or a function");Ee.prototype=Object.create(we&&we.prototype,{constructor:{value:Ee,writable:!0,configurable:!0}}),we&&rt(Ee,we)}function rt(Ee,we){return rt=Object.setPrototypeOf||function(Ye,Ge){return Ye.__proto__=Ge,Ye},rt(Ee,we)}function ne(Ee){var we=se();return function(){var Fe=q(Ee),Ye;if(we){var Ge=q(this).constructor;Ye=Reflect.construct(Fe,arguments,Ge)}else Ye=Fe.apply(this,arguments);return be(this,Ye)}}function be(Ee,we){return we&&(k(we)==="object"||typeof we=="function")?we:at(Ee)}function at(Ee){if(Ee===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ee}function se(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Ee){return!1}}function q(Ee){return q=Object.setPrototypeOf?Object.getPrototypeOf:function(Fe){return Fe.__proto__||Object.getPrototypeOf(Fe)},q(Ee)}var X=function(){var Ee=function(we){Re(Ye,we);var Fe=ne(Ye);function Ye(Ge){var qe;Ae(this,Ye),qe=Fe.call(this,Ge),qe.setPopupVisible=function(ut){var wt=qe.state.value;"popupVisible"in qe.props||qe.setState({popupVisible:ut}),ut&&!qe.state.popupVisible&&qe.setState({activeValue:wt}),qe.props.onPopupVisibleChange(ut)},qe.handleChange=function(ut,wt,It){var de=wt.visible;(It.type!=="keydown"||It.keyCode===A.a.ENTER)&&(qe.props.onChange(ut.map(function(xe){return xe[qe.getFieldName("value")]}),ut),qe.setPopupVisible(de))},qe.handlePopupVisibleChange=function(ut){qe.setPopupVisible(ut)},qe.handleMenuSelect=function(ut,wt,It){var de=qe.trigger.getRootDomNode();de&&de.focus&&de.focus();var xe=qe.props,$=xe.changeOnSelect,le=xe.loadData,Oe=xe.expandTrigger;if(!ut||ut.disabled)return;var ke=qe.state.activeValue;ke=ke.slice(0,wt+1),ke[wt]=ut[qe.getFieldName("value")];var Ue=qe.getActiveOptions(ke);if(ut.isLeaf===!1&&!ut[qe.getFieldName("children")]&&le){$&&qe.handleChange(Ue,{visible:!0},It),qe.setState({activeValue:ke}),le(Ue);return}var nt={};!ut[qe.getFieldName("children")]||!ut[qe.getFieldName("children")].length?(qe.handleChange(Ue,{visible:!1},It),nt.value=ke):$&&(It.type==="click"||It.type==="keydown")&&(Oe==="hover"?qe.handleChange(Ue,{visible:!1},It):qe.handleChange(Ue,{visible:!0},It),nt.value=ke),nt.activeValue=ke,("value"in qe.props||It.type==="keydown"&&It.keyCode!==A.a.ENTER)&&delete nt.value,qe.setState(nt)},qe.handleItemDoubleClick=function(){var ut=qe.props.changeOnSelect;ut&&qe.setPopupVisible(!1)},qe.handleKeyDown=function(ut){var wt=qe.props.children;if(wt&&wt.props.onKeyDown){wt.props.onKeyDown(ut);return}var It=K(qe.state.activeValue),de=It.length-1<0?0:It.length-1,xe=qe.getCurrentLevelOptions(),$=xe.map(function(Ue){return Ue[qe.getFieldName("value")]}).indexOf(It[de]);if(ut.keyCode!==A.a.DOWN&&ut.keyCode!==A.a.UP&&ut.keyCode!==A.a.LEFT&&ut.keyCode!==A.a.RIGHT&&ut.keyCode!==A.a.ENTER&&ut.keyCode!==A.a.SPACE&&ut.keyCode!==A.a.BACKSPACE&&ut.keyCode!==A.a.ESC&&ut.keyCode!==A.a.TAB)return;if(!qe.state.popupVisible&&ut.keyCode!==A.a.BACKSPACE&&ut.keyCode!==A.a.LEFT&&ut.keyCode!==A.a.RIGHT&&ut.keyCode!==A.a.ESC&&ut.keyCode!==A.a.TAB){qe.setPopupVisible(!0);return}if(ut.keyCode===A.a.DOWN||ut.keyCode===A.a.UP){ut.preventDefault();var le=$;le!==-1?ut.keyCode===A.a.DOWN?(le+=1,le=le>=xe.length?0:le):(le-=1,le=le<0?xe.length-1:le):le=0,It[de]=xe[le][qe.getFieldName("value")]}else if(ut.keyCode===A.a.LEFT||ut.keyCode===A.a.BACKSPACE)ut.preventDefault(),It.splice(It.length-1,1);else if(ut.keyCode===A.a.RIGHT)ut.preventDefault(),xe[$]&&xe[$][qe.getFieldName("children")]&&It.push(xe[$][qe.getFieldName("children")][0][qe.getFieldName("value")]);else if(ut.keyCode===A.a.ESC||ut.keyCode===A.a.TAB){qe.setPopupVisible(!1);return}(!It||It.length===0)&&qe.setPopupVisible(!1);var Oe=qe.getActiveOptions(It),ke=Oe[Oe.length-1];qe.handleMenuSelect(ke,Oe.length-1,ut),qe.props.onKeyDown&&qe.props.onKeyDown(ut)},qe.saveTrigger=function(ut){qe.trigger=ut};var Ke=[];return"value"in Ge?Ke=Ge.value||[]:"defaultValue"in Ge&&(Ke=Ge.defaultValue||[]),p()(!("filedNames"in Ge),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),qe.state={popupVisible:Ge.popupVisible,activeValue:Ke,value:Ke,prevProps:Ge},qe.defaultFieldNames={label:"label",value:"value",children:"children"},qe}return Pe(Ye,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(qe){var Ke=this.defaultFieldNames,ut=this.props,wt=ut.fieldNames,It=ut.filedNames;return"filedNames"in this.props?It[qe]||Ke[qe]:wt[qe]||Ke[qe]}},{key:"getFieldNames",value:function(){var qe=this.props,Ke=qe.fieldNames,ut=qe.filedNames;return"filedNames"in this.props?ut:Ke}},{key:"getCurrentLevelOptions",value:function(){var qe=this,Ke=this.props.options,ut=Ke===void 0?[]:Ke,wt=this.state.activeValue,It=wt===void 0?[]:wt,de=C()(ut,function(xe,$){return xe[qe.getFieldName("value")]===It[$]},{childrenKeyName:this.getFieldName("children")});return de[de.length-2]?de[de.length-2][this.getFieldName("children")]:K(ut).filter(function(xe){return!xe.disabled})}},{key:"getActiveOptions",value:function(qe){var Ke=this;return C()(this.props.options||[],function(ut,wt){return ut[Ke.getFieldName("value")]===qe[wt]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var qe=this.props,Ke=qe.prefixCls,ut=qe.transitionName,wt=qe.popupClassName,It=qe.options,de=It===void 0?[]:It,xe=qe.disabled,$=qe.builtinPlacements,le=qe.popupPlacement,Oe=qe.children,ke=qe.dropdownRender,Ue=B(qe,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),nt=t.createElement("div",null),At="";de&&de.length>0?nt=t.createElement(N,Object.assign({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):At=" ".concat(Ke,"-menus-empty");var Wt=nt;return ke&&(Wt=ke(nt)),t.createElement(s.a,Object.assign({ref:this.saveTrigger},Ue,{popupPlacement:le,builtinPlacements:$,popupTransitionName:ut,action:xe?[]:["click"],popupVisible:xe?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(Ke,"-menus"),popupClassName:wt+At,popup:Wt}),t.cloneElement(Oe,{onKeyDown:this.handleKeyDown,tabIndex:xe?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(qe,Ke){var ut=Ke.prevProps,wt=ut===void 0?{}:ut,It={prevProps:qe};return"value"in qe&&!x(wt.value,qe.value)&&(It.value=qe.value||[],"loadData"in qe||(It.activeValue=qe.value||[])),"popupVisible"in qe&&(It.popupVisible=qe.popupVisible),It}}]),Ye}(t.Component);return Ee.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:j,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},Ee}(),Z=X,pe=Z,oe=e("TSYQ"),Ie=e.n(oe),fe=e("BGR+"),te=e("kbBi"),J=e.n(te),ve=e("HQEm"),De=e.n(ve),ze=e("fEPi"),dt=e.n(ze),Me=e("5YOS"),Tt=e.n(Me),je=e("DFhj"),st=e.n(je),Xe=e("5rEg"),Je=e("H84U"),et=e("YMnH"),ot=e("uaoM"),Ve=e("3Nzz"),ue=e("0n0R"),ae=function(Ee,we){var Fe={};for(var Ye in Ee)Object.prototype.hasOwnProperty.call(Ee,Ye)&&we.indexOf(Ye)<0&&(Fe[Ye]=Ee[Ye]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,Ye=Object.getOwnPropertySymbols(Ee);Ge<Ye.length;Ge++)we.indexOf(Ye[Ge])<0&&Object.prototype.propertyIsEnumerable.call(Ee,Ye[Ge])&&(Fe[Ye[Ge]]=Ee[Ye[Ge]]);return Fe},lt=50;function Ze(Ee,we,Fe){return Ee.split(we).map(function(Ye,Ge){return Ge===0?Ye:[t.createElement("span",{className:"".concat(Fe,"-menu-item-keyword"),key:"seperator"},we),Ye]})}function Te(Ee,we,Fe){return we.some(function(Ye){return Ye[Fe.label].indexOf(Ee)>-1})}function Jt(Ee,we,Fe,Ye){return we.map(function(Ge,qe){var Ke=Ge[Ye.label],ut=Ke.indexOf(Ee)>-1?Ze(Ke,Ee,Fe):Ke;return qe===0?ut:[" / ",ut]})}function mt(Ee,we,Fe,Ye){function Ge(qe){return qe[Ye.label].indexOf(Fe)>-1}return Ee.findIndex(Ge)-we.findIndex(Ge)}function ft(Ee){var we=Ee.fieldNames;return we}function bt(Ee){var we=ft(Ee)||{},Fe={children:we.children||"children",label:we.label||"label",value:we.value||"value"};return Fe}function Lt(Ee,we){var Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Ye=bt(we),Ge=[],qe=Ye.children;return Ee.forEach(function(Ke){var ut=Fe.concat(Ke);(we.changeOnSelect||!Ke[qe]||!Ke[qe].length)&&Ge.push(ut),Ke[qe]&&(Ge=Ge.concat(Lt(Ke[qe],we,ut)))}),Ge}var or=function(we){return we.join(" / ")};function Bt(Ee){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(Ee||[]).forEach(function(Fe){var Ye=we.value||"value";Object(ot.a)(Ye in Fe,"Cascader","Not found `value` in `options`."),Bt(Fe[we.children||"children"],we)})}var _e=function(Ee){d()(Fe,Ee);var we=l()(Fe);function Fe(Ye){var Ge;return h()(this,Fe),Ge=we.call(this,Ye),Ge.cachedOptions=[],Ge.setValue=function(qe){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in Ge.props||Ge.setState({value:qe});var ut=Ge.props.onChange;ut&&ut(qe,Ke)},Ge.saveInput=function(qe){Ge.input=qe},Ge.handleChange=function(qe,Ke){if(Ge.setState({inputValue:""}),Ke[0].__IS_FILTERED_OPTION){var ut=qe[0],wt=Ke[0].path;Ge.setValue(ut,wt);return}Ge.setValue(qe,Ke)},Ge.handlePopupVisibleChange=function(qe){"popupVisible"in Ge.props||Ge.setState(function(ut){return{popupVisible:qe,inputFocused:qe,inputValue:qe?ut.inputValue:""}});var Ke=Ge.props.onPopupVisibleChange;Ke&&Ke(qe)},Ge.handleInputBlur=function(){Ge.setState({inputFocused:!1})},Ge.handleInputClick=function(qe){var Ke=Ge.state,ut=Ke.inputFocused,wt=Ke.popupVisible;(ut||wt)&&qe.stopPropagation()},Ge.handleKeyDown=function(qe){(qe.keyCode===A.a.BACKSPACE||qe.keyCode===A.a.SPACE)&&qe.stopPropagation()},Ge.handleInputChange=function(qe){var Ke=Ge.state.popupVisible,ut=qe.target.value;Ke||Ge.handlePopupVisibleChange(!0),Ge.setState({inputValue:ut})},Ge.clearSelection=function(qe){var Ke=Ge.state.inputValue;qe.preventDefault(),qe.stopPropagation(),Ke?Ge.setState({inputValue:""}):(Ge.handlePopupVisibleChange(!1),Ge.clearSelectionTimeout=setTimeout(function(){Ge.setValue([])},200))},Ge.renderCascader=function(qe,Ke){var ut=qe.getPopupContainer,wt=qe.getPrefixCls,It=qe.renderEmpty,de=qe.direction;return t.createElement(Ve.b.Consumer,null,function(xe){var $,le,Oe,ke,Ue=r()(Ge),nt=Ue.props,At=Ue.state,Wt=nt.prefixCls,$t=nt.inputPrefixCls,Rt=nt.children,zt=nt.placeholder,Gt=zt===void 0?Ke.placeholder||"Please select":zt,Qt=nt.size,Mt=nt.disabled,dr=nt.className,er=nt.style,ht=nt.allowClear,Et=nt.showSearch,pt=Et===void 0?!1:Et,vt=nt.suffixIcon,Nt=nt.expandIcon,_t=nt.notFoundContent,gt=nt.popupClassName,Ht=nt.bordered,kt=nt.dropdownRender,ir=ae(nt,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),Xt=Qt||xe,mr=At.value,Ar=At.inputFocused,Nr=de==="rtl",kr=wt("cascader",Wt),tn=wt("input",$t),qr=Ie()(($={},m()($,"".concat(tn,"-lg"),Xt==="large"),m()($,"".concat(tn,"-sm"),Xt==="small"),$)),_r=ht&&!Mt&&mr.length>0||At.inputValue?t.createElement(J.a,{className:"".concat(kr,"-picker-clear"),onClick:Ge.clearSelection}):null,Qr=Ie()((le={},m()(le,"".concat(kr,"-picker-arrow"),!0),m()(le,"".concat(kr,"-picker-arrow-expand"),At.popupVisible),le)),Ir=Ie()(dr,"".concat(kr,"-picker"),(Oe={},m()(Oe,"".concat(kr,"-picker-rtl"),Nr),m()(Oe,"".concat(kr,"-picker-with-value"),At.inputValue),m()(Oe,"".concat(kr,"-picker-disabled"),Mt),m()(Oe,"".concat(kr,"-picker-").concat(Xt),!!Xt),m()(Oe,"".concat(kr,"-picker-show-search"),!!pt),m()(Oe,"".concat(kr,"-picker-focused"),Ar),m()(Oe,"".concat(kr,"-picker-borderless"),!Ht),Oe)),cr=Object(fe.default)(ir,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","bordered"]),pr=nt.options,ur=bt(Ge.props);if(pr&&pr.length>0)At.inputValue&&(pr=Ge.generateFilteredOptions(kr,It));else{var fr;pr=[(fr={},m()(fr,ur.label,_t||It("Cascader")),m()(fr,ur.value,"ANT_CASCADER_NOT_FOUND"),fr)]}At.popupVisible?Ge.cachedOptions=pr:pr=Ge.cachedOptions;var xr={},Yr=(pr||[]).length===1&&pr[0].isEmptyNode;Yr&&(xr.height="auto");var cn=pt.matchInputWidth!==!1;cn&&(At.inputValue||Yr)&&Ge.input&&(xr.width=Ge.input.input.offsetWidth);var Nn;vt?Nn=Object(ue.c)(vt,t.createElement("span",{className:"".concat(kr,"-picker-arrow")},vt),function(){var Yn;return{className:Ie()((Yn={},m()(Yn,vt.props.className,vt.props.className),m()(Yn,"".concat(kr,"-picker-arrow"),!0),Yn))}}):Nn=t.createElement(De.a,{className:Qr});var jr=Rt||t.createElement("span",{style:er,className:Ir},t.createElement("span",{className:"".concat(kr,"-picker-label")},Ge.getLabel()),t.createElement(Xe.a,f()({},cr,{tabIndex:"-1",ref:Ge.saveInput,prefixCls:tn,placeholder:mr&&mr.length>0?void 0:Gt,className:"".concat(kr,"-input ").concat(qr),value:At.inputValue,disabled:Mt,readOnly:!pt,autoComplete:cr.autoComplete||"off",onClick:pt?Ge.handleInputClick:void 0,onBlur:pt?Ge.handleInputBlur:void 0,onKeyDown:Ge.handleKeyDown,onChange:pt?Ge.handleInputChange:void 0})),_r,Nn),Tn;Nt?Tn=Nt:Tn=Nr?t.createElement(st.a,null):t.createElement(dt.a,null);var gn=t.createElement("span",{className:"".concat(kr,"-menu-item-loading-icon")},t.createElement(Tt.a,{spin:!0})),Pn=nt.getPopupContainer||ut,Kn=Object(fe.default)(nt,["inputIcon","expandIcon","loadingIcon","bordered"]),qn=Ie()(gt,(ke={},m()(ke,"".concat(kr,"-menu-").concat(de),de==="rtl"),m()(ke,"".concat(kr,"-menu-empty"),pr.length===1&&pr[0].value==="ANT_CASCADER_NOT_FOUND"),ke));return t.createElement(pe,f()({},Kn,{prefixCls:kr,getPopupContainer:Pn,options:pr,value:mr,popupVisible:At.popupVisible,onPopupVisibleChange:Ge.handlePopupVisibleChange,onChange:Ge.handleChange,dropdownMenuColumnStyle:xr,expandIcon:Tn,loadingIcon:gn,popupClassName:qn,popupPlacement:Ge.getPopupPlacement(de),dropdownRender:kt}),jr)})},Ge.state={value:Ye.value||Ye.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:Ye.popupVisible,flattenOptions:Ye.showSearch?Lt(Ye.options,Ye):void 0,prevProps:Ye},Ge}return i()(Fe,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var Ge=this.props,qe=Ge.options,Ke=Ge.displayRender,ut=Ke===void 0?or:Ke,wt=bt(this.props),It=this.state.value,de=Array.isArray(It[0])?It[0]:It,xe=C()(qe,function(le,Oe){return le[wt.value]===de[Oe]},{childrenKeyName:wt.children}),$=xe.length?xe.map(function(le){return le[wt.label]}):It;return ut($,xe)}},{key:"generateFilteredOptions",value:function(Ge,qe){var Ke=this,ut,wt=this.props,It=wt.showSearch,de=wt.notFoundContent,xe=bt(this.props),$=It.filter,le=$===void 0?Te:$,Oe=It.render,ke=Oe===void 0?Jt:Oe,Ue=It.sort,nt=Ue===void 0?mt:Ue,At=It.limit,Wt=At===void 0?lt:At,$t=this.state,Rt=$t.flattenOptions,zt=Rt===void 0?[]:Rt,Gt=$t.inputValue,Qt;if(Wt>0){Qt=[];var Mt=0;zt.some(function(dr){var er=le(Ke.state.inputValue,dr,xe);return er&&(Qt.push(dr),Mt+=1),Mt>=Wt})}else Object(ot.a)(typeof Wt!="number","Cascader","'limit' of showSearch should be positive number or false."),Qt=zt.filter(function(dr){return le(Ke.state.inputValue,dr,xe)});return Qt=Qt.sort(function(dr,er){return nt(dr,er,Gt,xe)}),Qt.length>0?Qt.map(function(dr){var er;return er={__IS_FILTERED_OPTION:!0,path:dr},m()(er,xe.value,dr.map(function(ht){return ht[xe.value]})),m()(er,xe.label,ke(Gt,dr,Ge,xe)),m()(er,"disabled",dr.some(function(ht){return!!ht.disabled})),m()(er,"isEmptyNode",!0),er}):[(ut={},m()(ut,xe.value,"ANT_CASCADER_NOT_FOUND"),m()(ut,xe.label,de||qe("Cascader")),m()(ut,"disabled",!0),m()(ut,"isEmptyNode",!0),ut)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var Ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ltr",qe=this.props.popupPlacement;return qe!==void 0?qe:Ge==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var Ge=this;return t.createElement(Je.a,null,function(qe){return t.createElement(et.a,null,function(Ke){return Ge.renderCascader(qe,Ke)})})}}],[{key:"getDerivedStateFromProps",value:function(Ge,qe){var Ke=qe.prevProps,ut={prevProps:Ge};return"value"in Ge&&(ut.value=Ge.value||[]),"popupVisible"in Ge&&(ut.popupVisible=Ge.popupVisible),Ge.showSearch&&Ke.options!==Ge.options&&(ut.flattenOptions=Lt(Ge.options,Ge)),ut}}]),Fe}(t.Component);_e.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};var Ce=I.a=_e},DFhj:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("GGyF"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},DL4k:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};I.default=g},DN4a:function(R,I,e){var g=e("Fofx"),f=e("QBsz"),b=g.identity,m=5e-5;function y(d){return d>m||d<-m}var h=function(n){n=n||{},n.position||(this.position=[0,0]),n.rotation==null&&(this.rotation=0),n.scale||(this.scale=[1,1]),this.origin=this.origin||null},u=h.prototype;u.transform=null,u.needLocalTransform=function(){return y(this.rotation)||y(this.position[0])||y(this.position[1])||y(this.scale[0]-1)||y(this.scale[1]-1)};var i=[];u.updateTransform=function(){var d=this.parent,n=d&&d.transform,l=this.needLocalTransform(),t=this.transform;if(!(l||n)){t&&b(t);return}t=t||g.create(),l?this.getLocalTransform(t):b(t),n&&(l?g.mul(t,d.transform,t):g.copy(t,d.transform)),this.transform=t;var s=this.globalScaleRatio;if(s!=null&&s!==1){this.getGlobalScale(i);var c=i[0]<0?-1:1,p=i[1]<0?-1:1,A=((i[0]-c)*s+c)/i[0]||0,w=((i[1]-p)*s+p)/i[1]||0;t[0]*=A,t[1]*=A,t[2]*=w,t[3]*=w}this.invTransform=this.invTransform||g.create(),g.invert(this.invTransform,t)},u.getLocalTransform=function(d){return h.getLocalTransform(this,d)},u.setTransform=function(d){var n=this.transform,l=d.dpr||1;n?d.setTransform(l*n[0],l*n[1],l*n[2],l*n[3],l*n[4],l*n[5]):d.setTransform(l,0,0,l,0,0)},u.restoreTransform=function(d){var n=d.dpr||1;d.setTransform(n,0,0,n,0,0)};var a=[],r=g.create();u.setLocalTransform=function(d){if(!d)return;var n=d[0]*d[0]+d[1]*d[1],l=d[2]*d[2]+d[3]*d[3],t=this.position,s=this.scale;y(n-1)&&(n=Math.sqrt(n)),y(l-1)&&(l=Math.sqrt(l)),d[0]<0&&(n=-n),d[3]<0&&(l=-l),t[0]=d[4],t[1]=d[5],s[0]=n,s[1]=l,this.rotation=Math.atan2(-d[1]/l,d[0]/n)},u.decomposeTransform=function(){if(!this.transform)return;var d=this.parent,n=this.transform;d&&d.transform&&(g.mul(a,d.invTransform,n),n=a);var l=this.origin;l&&(l[0]||l[1])&&(r[4]=l[0],r[5]=l[1],g.mul(a,n,r),a[4]-=l[0],a[5]-=l[1],n=a),this.setLocalTransform(n)},u.getGlobalScale=function(d){var n=this.transform;return d=d||[],n?(d[0]=Math.sqrt(n[0]*n[0]+n[1]*n[1]),d[1]=Math.sqrt(n[2]*n[2]+n[3]*n[3]),n[0]<0&&(d[0]=-d[0]),n[3]<0&&(d[1]=-d[1]),d):(d[0]=1,d[1]=1,d)},u.transformCoordToLocal=function(d,n){var l=[d,n],t=this.invTransform;return t&&f.applyTransform(l,l,t),l},u.transformCoordToGlobal=function(d,n){var l=[d,n],t=this.transform;return t&&f.applyTransform(l,l,t),l},h.getLocalTransform=function(d,n){n=n||[],b(n);var l=d.origin,t=d.scale||[1,1],s=d.rotation||0,c=d.position||[0,0];return l&&(n[4]-=l[0],n[5]-=l[1]),g.scale(n,n,t),s&&g.rotate(n,n,s),l&&(n[4]+=l[0],n[5]+=l[1]),n[4]+=c[0],n[5]+=c[1],n};var o=h;R.exports=o},DO2E:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};I.default=g},DSRE:function(R,I,e){(function(g){var f=e("Kz5y"),b=e("B8du"),m=I&&!I.nodeType&&I,y=m&&typeof g=="object"&&g&&!g.nodeType&&g,h=y&&y.exports===m,u=h?f.Buffer:void 0,i=u?u.isBuffer:void 0,a=i||b;g.exports=a}).call(this,e("YuTi")(R))},DYRE:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("OPEp"),m=e.n(b)},DZo9:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("JGo8"),m=e.n(b),y=e("+L6B"),h=e("MXD1"),u=e("5Dmo")},Dagg:function(R,I,e){var g=e("Gev7"),f=e("mFDi"),b=e("bYtY"),m=e("Xnb7");function y(u){g.call(this,u)}y.prototype={constructor:y,type:"image",brush:function(i,a){var r=this.style,o=r.image;r.bind(i,this,a);var d=this._image=m.createOrUpdateImage(o,this._image,this,this.onload);if(!d||!m.isImageReady(d))return;var n=r.x||0,l=r.y||0,t=r.width,s=r.height,c=d.width/d.height;if(t==null&&s!=null?t=s*c:s==null&&t!=null?s=t/c:t==null&&s==null&&(t=d.width,s=d.height),this.setTransform(i),r.sWidth&&r.sHeight){var p=r.sx||0,A=r.sy||0;i.drawImage(d,p,A,r.sWidth,r.sHeight,n,l,t,s)}else if(r.sx&&r.sy){var p=r.sx,A=r.sy,w=t-p,C=s-A;i.drawImage(d,p,A,w,C,n,l,t,s)}else i.drawImage(d,n,l,t,s);r.text!=null&&(this.restoreTransform(i),this.drawRectText(i,this.getBoundingRect()))},getBoundingRect:function(){var i=this.style;return this._rect||(this._rect=new f(i.x||0,i.y||0,i.width||0,i.height||0)),this._rect}},b.inherits(y,g);var h=y;R.exports=h},Dg8C:function(R,I,e){var g=e("XxSj"),f=e("bYtY");function b(m,y){m.eachSeriesByType("sankey",function(h){var u=h.getGraph(),i=u.nodes;if(i.length){var a=Infinity,r=-Infinity;f.each(i,function(o){var d=o.getLayout().value;d<a&&(a=d),d>r&&(r=d)}),f.each(i,function(o){var d=new g({type:"color",mappingMethod:"linear",dataExtent:[a,r],visual:h.get("color")}),n=d.mapValueToVisual(o.getLayout().value),l=o.getModel().get("itemStyle.color");l!=null?o.setVisual("color",l):o.setVisual("color",n)})}})}R.exports=b},DjyN:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("Urep"),m=e.n(b),y=e("OaEy")},DlQD:function(R,I,e){(function(g,f){R.exports=f()})(this,function(){"use strict";function g(Je,et){for(var ot=0;ot<et.length;ot++){var Ve=et[ot];Ve.enumerable=Ve.enumerable||!1,Ve.configurable=!0,"value"in Ve&&(Ve.writable=!0),Object.defineProperty(Je,Ve.key,Ve)}}function f(Je,et,ot){return et&&g(Je.prototype,et),ot&&g(Je,ot),Je}function b(Je,et){if(!Je)return;if(typeof Je=="string")return m(Je,et);var ot=Object.prototype.toString.call(Je).slice(8,-1);if(ot==="Object"&&Je.constructor&&(ot=Je.constructor.name),ot==="Map"||ot==="Set")return Array.from(Je);if(ot==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ot))return m(Je,et)}function m(Je,et){(et==null||et>Je.length)&&(et=Je.length);for(var ot=0,Ve=new Array(et);ot<et;ot++)Ve[ot]=Je[ot];return Ve}function y(Je,et){var ot;if(typeof Symbol=="undefined"||Je[Symbol.iterator]==null){if(Array.isArray(Je)||(ot=b(Je))||et&&Je&&typeof Je.length=="number"){ot&&(Je=ot);var Ve=0;return function(){return Ve>=Je.length?{done:!0}:{done:!1,value:Je[Ve++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return ot=Je[Symbol.iterator](),ot.next.bind(ot)}function h(Je,et){return et={exports:{}},Je(et,et.exports),et.exports}var u=h(function(Je){function et(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function ot(Ve){Je.exports.defaults=Ve}Je.exports={defaults:et(),getDefaults:et,changeDefaults:ot}}),i=u.defaults,a=u.getDefaults,r=u.changeDefaults,o=/[&<>"']/,d=/[&<>"']/g,n=/[<>"']|&(?!#?\w+;)/,l=/[<>"']|&(?!#?\w+;)/g,t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},s=function(et){return t[et]};function c(Je,et){if(et){if(o.test(Je))return Je.replace(d,s)}else if(n.test(Je))return Je.replace(l,s);return Je}var p=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function A(Je){return Je.replace(p,function(et,ot){return ot=ot.toLowerCase(),ot==="colon"?":":ot.charAt(0)==="#"?ot.charAt(1)==="x"?String.fromCharCode(parseInt(ot.substring(2),16)):String.fromCharCode(+ot.substring(1)):""})}var w=/(^|[^\[])\^/g;function C(Je,et){Je=Je.source||Je,et=et||"";var ot={replace:function(ue,ae){return ae=ae.source||ae,ae=ae.replace(w,"$1"),Je=Je.replace(ue,ae),ot},getRegex:function(){return new RegExp(Je,et)}};return ot}var x=/[^\w:]/g,E=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function T(Je,et,ot){if(Je){var Ve;try{Ve=decodeURIComponent(A(ot)).replace(x,"").toLowerCase()}catch(ue){return null}if(Ve.indexOf("javascript:")===0||Ve.indexOf("vbscript:")===0||Ve.indexOf("data:")===0)return null}et&&!E.test(ot)&&(ot=L(et,ot));try{ot=encodeURI(ot).replace(/%25/g,"%")}catch(ue){return null}return ot}var _={},v=/^[^:]+:\/*[^/]*$/,S=/^([^:]+:)[\s\S]*$/,O=/^([^:]+:\/*[^/]*)[\s\S]*$/;function L(Je,et){_[" "+Je]||(v.test(Je)?_[" "+Je]=Je+"/":_[" "+Je]=z(Je,"/",!0)),Je=_[" "+Je];var ot=Je.indexOf(":")===-1;return et.substring(0,2)==="//"?ot?et:Je.replace(S,"$1")+et:et.charAt(0)==="/"?ot?et:Je.replace(O,"$1")+et:Je+et}var M={exec:function(){}};function F(Je){for(var et=1,ot,Ve;et<arguments.length;et++){ot=arguments[et];for(Ve in ot)Object.prototype.hasOwnProperty.call(ot,Ve)&&(Je[Ve]=ot[Ve])}return Je}function U(Je,et){var ot=Je.replace(/\|/g,function(ae,lt,Ze){for(var Te=!1,Jt=lt;--Jt>=0&&Ze[Jt]==="\\";)Te=!Te;return Te?"|":" |"}),Ve=ot.split(/ \|/),ue=0;if(Ve.length>et)Ve.splice(et);else for(;Ve.length<et;)Ve.push("");for(;ue<Ve.length;ue++)Ve[ue]=Ve[ue].trim().replace(/\\\|/g,"|");return Ve}function z(Je,et,ot){var Ve=Je.length;if(Ve===0)return"";for(var ue=0;ue<Ve;){var ae=Je.charAt(Ve-ue-1);if(ae===et&&!ot)ue++;else if(ae!==et&&ot)ue++;else break}return Je.substr(0,Ve-ue)}function W(Je,et){if(Je.indexOf(et[1])===-1)return-1;for(var ot=Je.length,Ve=0,ue=0;ue<ot;ue++)if(Je[ue]==="\\")ue++;else if(Je[ue]===et[0])Ve++;else if(Je[ue]===et[1]&&(Ve--,Ve<0))return ue;return-1}function N(Je){Je&&Je.sanitize&&!Je.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}var H={escape:c,unescape:A,edit:C,cleanUrl:T,resolveUrl:L,noopTest:M,merge:F,splitCells:U,rtrim:z,findClosingBracket:W,checkSanitizeDeprecation:N},j=u.defaults,k=H.rtrim,B=H.splitCells,V=H.escape,K=H.findClosingBracket;function Y(Je,et,ot){var Ve=et.href,ue=et.title?V(et.title):null,ae=Je[1].replace(/\\([\[\]])/g,"$1");return Je[0].charAt(0)!=="!"?{type:"link",raw:ot,href:Ve,title:ue,text:ae}:{type:"image",raw:ot,href:Ve,title:ue,text:V(ae)}}function Q(Je,et){var ot=Je.match(/^(\s+)(?:```)/);if(ot===null)return et;var Ve=ot[1];return et.split(`
`).map(function(ue){var ae=ue.match(/^\s+/);if(ae===null)return ue;var lt=ae[0];return lt.length>=Ve.length?ue.slice(Ve.length):ue}).join(`
`)}var he=function(){function Je(ot){this.options=ot||j}var et=Je.prototype;return et.space=function(Ve){var ue=this.rules.block.newline.exec(Ve);if(ue)return ue[0].length>1?{type:"space",raw:ue[0]}:{raw:`
`}},et.code=function(Ve,ue){var ae=this.rules.block.code.exec(Ve);if(ae){var lt=ue[ue.length-1];if(lt&&lt.type==="paragraph")return{raw:ae[0],text:ae[0].trimRight()};var Ze=ae[0].replace(/^ {4}/gm,"");return{type:"code",raw:ae[0],codeBlockStyle:"indented",text:this.options.pedantic?Ze:k(Ze,`
`)}}},et.fences=function(Ve){var ue=this.rules.block.fences.exec(Ve);if(ue){var ae=ue[0],lt=Q(ae,ue[3]||"");return{type:"code",raw:ae,lang:ue[2]?ue[2].trim():ue[2],text:lt}}},et.heading=function(Ve){var ue=this.rules.block.heading.exec(Ve);if(ue)return{type:"heading",raw:ue[0],depth:ue[1].length,text:ue[2]}},et.nptable=function(Ve){var ue=this.rules.block.nptable.exec(Ve);if(ue){var ae={type:"table",header:B(ue[1].replace(/^ *| *\| *$/g,"")),align:ue[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:ue[3]?ue[3].replace(/\n$/,"").split(`
`):[],raw:ue[0]};if(ae.header.length===ae.align.length){var lt=ae.align.length,Ze;for(Ze=0;Ze<lt;Ze++)/^ *-+: *$/.test(ae.align[Ze])?ae.align[Ze]="right":/^ *:-+: *$/.test(ae.align[Ze])?ae.align[Ze]="center":/^ *:-+ *$/.test(ae.align[Ze])?ae.align[Ze]="left":ae.align[Ze]=null;for(lt=ae.cells.length,Ze=0;Ze<lt;Ze++)ae.cells[Ze]=B(ae.cells[Ze],ae.header.length);return ae}}},et.hr=function(Ve){var ue=this.rules.block.hr.exec(Ve);if(ue)return{type:"hr",raw:ue[0]}},et.blockquote=function(Ve){var ue=this.rules.block.blockquote.exec(Ve);if(ue){var ae=ue[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:ue[0],text:ae}}},et.list=function(Ve){var ue=this.rules.block.list.exec(Ve);if(ue){for(var ae=ue[0],lt=ue[2],Ze=lt.length>1,Te=lt[lt.length-1]===")",Jt={type:"list",raw:ae,ordered:Ze,start:Ze?+lt.slice(0,-1):"",loose:!1,items:[]},mt=ue[0].match(this.rules.block.item),ft=!1,bt,Lt,or,Bt,_e,Ce,Ee,we=mt.length,Fe=0;Fe<we;Fe++)bt=mt[Fe],ae=bt,Lt=bt.length,bt=bt.replace(/^ *([*+-]|\d+[.)]) */,""),~bt.indexOf(`
`)&&(Lt-=bt.length,bt=this.options.pedantic?bt.replace(/^ {1,4}/gm,""):bt.replace(new RegExp("^ {1,"+Lt+"}","gm"),"")),Fe!==we-1&&(or=this.rules.block.bullet.exec(mt[Fe+1])[0],(Ze?or.length===1||!Te&&or[or.length-1]===")":or.length>1||this.options.smartLists&&or!==lt)&&(Bt=mt.slice(Fe+1).join(`
`),Jt.raw=Jt.raw.substring(0,Jt.raw.length-Bt.length),Fe=we-1)),_e=ft||/\n\n(?!\s*$)/.test(bt),Fe!==we-1&&(ft=bt.charAt(bt.length-1)===`
`,_e||(_e=ft)),_e&&(Jt.loose=!0),Ce=/^\[[ xX]\] /.test(bt),Ee=void 0,Ce&&(Ee=bt[1]!==" ",bt=bt.replace(/^\[[ xX]\] +/,"")),Jt.items.push({type:"list_item",raw:ae,task:Ce,checked:Ee,loose:_e,text:bt});return Jt}},et.html=function(Ve){var ue=this.rules.block.html.exec(Ve);if(ue)return{type:this.options.sanitize?"paragraph":"html",raw:ue[0],pre:!this.options.sanitizer&&(ue[1]==="pre"||ue[1]==="script"||ue[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(ue[0]):V(ue[0]):ue[0]}},et.def=function(Ve){var ue=this.rules.block.def.exec(Ve);if(ue){ue[3]&&(ue[3]=ue[3].substring(1,ue[3].length-1));var ae=ue[1].toLowerCase().replace(/\s+/g," ");return{tag:ae,raw:ue[0],href:ue[2],title:ue[3]}}},et.table=function(Ve){var ue=this.rules.block.table.exec(Ve);if(ue){var ae={type:"table",header:B(ue[1].replace(/^ *| *\| *$/g,"")),align:ue[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:ue[3]?ue[3].replace(/\n$/,"").split(`
`):[]};if(ae.header.length===ae.align.length){ae.raw=ue[0];var lt=ae.align.length,Ze;for(Ze=0;Ze<lt;Ze++)/^ *-+: *$/.test(ae.align[Ze])?ae.align[Ze]="right":/^ *:-+: *$/.test(ae.align[Ze])?ae.align[Ze]="center":/^ *:-+ *$/.test(ae.align[Ze])?ae.align[Ze]="left":ae.align[Ze]=null;for(lt=ae.cells.length,Ze=0;Ze<lt;Ze++)ae.cells[Ze]=B(ae.cells[Ze].replace(/^ *\| *| *\| *$/g,""),ae.header.length);return ae}}},et.lheading=function(Ve){var ue=this.rules.block.lheading.exec(Ve);if(ue)return{type:"heading",raw:ue[0],depth:ue[2].charAt(0)==="="?1:2,text:ue[1]}},et.paragraph=function(Ve){var ue=this.rules.block.paragraph.exec(Ve);if(ue)return{type:"paragraph",raw:ue[0],text:ue[1].charAt(ue[1].length-1)===`
`?ue[1].slice(0,-1):ue[1]}},et.text=function(Ve,ue){var ae=this.rules.block.text.exec(Ve);if(ae){var lt=ue[ue.length-1];return lt&&lt.type==="text"?{raw:ae[0],text:ae[0]}:{type:"text",raw:ae[0],text:ae[0]}}},et.escape=function(Ve){var ue=this.rules.inline.escape.exec(Ve);if(ue)return{type:"escape",raw:ue[0],text:V(ue[1])}},et.tag=function(Ve,ue,ae){var lt=this.rules.inline.tag.exec(Ve);if(lt)return!ue&&/^<a /i.test(lt[0])?ue=!0:ue&&/^<\/a>/i.test(lt[0])&&(ue=!1),!ae&&/^<(pre|code|kbd|script)(\s|>)/i.test(lt[0])?ae=!0:ae&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(lt[0])&&(ae=!1),{type:this.options.sanitize?"text":"html",raw:lt[0],inLink:ue,inRawBlock:ae,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(lt[0]):V(lt[0]):lt[0]}},et.link=function(Ve){var ue=this.rules.inline.link.exec(Ve);if(ue){var ae=K(ue[2],"()");if(ae>-1){var lt=ue[0].indexOf("!")===0?5:4,Ze=lt+ue[1].length+ae;ue[2]=ue[2].substring(0,ae),ue[0]=ue[0].substring(0,Ze).trim(),ue[3]=""}var Te=ue[2],Jt="";if(this.options.pedantic){var mt=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Te);mt?(Te=mt[1],Jt=mt[3]):Jt=""}else Jt=ue[3]?ue[3].slice(1,-1):"";Te=Te.trim().replace(/^<([\s\S]*)>$/,"$1");var ft=Y(ue,{href:Te&&Te.replace(this.rules.inline._escapes,"$1"),title:Jt&&Jt.replace(this.rules.inline._escapes,"$1")},ue[0]);return ft}},et.reflink=function(Ve,ue){var ae;if((ae=this.rules.inline.reflink.exec(Ve))||(ae=this.rules.inline.nolink.exec(Ve))){var lt=(ae[2]||ae[1]).replace(/\s+/g," ");if(lt=ue[lt.toLowerCase()],!lt||!lt.href){var Ze=ae[0].charAt(0);return{type:"text",raw:Ze,text:Ze}}var Te=Y(ae,lt,ae[0]);return Te}},et.strong=function(Ve,ue,ae){ae===void 0&&(ae="");var lt=this.rules.inline.strong.start.exec(Ve);if(lt&&(!lt[1]||lt[1]&&(ae===""||this.rules.inline.punctuation.exec(ae)))){ue=ue.slice(-1*Ve.length);var Ze=lt[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;Ze.lastIndex=0;for(var Te;(lt=Ze.exec(ue))!=null;)if(Te=this.rules.inline.strong.middle.exec(ue.slice(0,lt.index+3)),Te)return{type:"strong",raw:Ve.slice(0,Te[0].length),text:Ve.slice(2,Te[0].length-2)}}},et.em=function(Ve,ue,ae){ae===void 0&&(ae="");var lt=this.rules.inline.em.start.exec(Ve);if(lt&&(!lt[1]||lt[1]&&(ae===""||this.rules.inline.punctuation.exec(ae)))){ue=ue.slice(-1*Ve.length);var Ze=lt[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;Ze.lastIndex=0;for(var Te;(lt=Ze.exec(ue))!=null;)if(Te=this.rules.inline.em.middle.exec(ue.slice(0,lt.index+2)),Te)return{type:"em",raw:Ve.slice(0,Te[0].length),text:Ve.slice(1,Te[0].length-1)}}},et.codespan=function(Ve){var ue=this.rules.inline.code.exec(Ve);if(ue){var ae=ue[2].replace(/\n/g," "),lt=/[^ ]/.test(ae),Ze=ae.startsWith(" ")&&ae.endsWith(" ");return lt&&Ze&&(ae=ae.substring(1,ae.length-1)),ae=V(ae,!0),{type:"codespan",raw:ue[0],text:ae}}},et.br=function(Ve){var ue=this.rules.inline.br.exec(Ve);if(ue)return{type:"br",raw:ue[0]}},et.del=function(Ve){var ue=this.rules.inline.del.exec(Ve);if(ue)return{type:"del",raw:ue[0],text:ue[1]}},et.autolink=function(Ve,ue){var ae=this.rules.inline.autolink.exec(Ve);if(ae){var lt,Ze;return ae[2]==="@"?(lt=V(this.options.mangle?ue(ae[1]):ae[1]),Ze="mailto:"+lt):(lt=V(ae[1]),Ze=lt),{type:"link",raw:ae[0],text:lt,href:Ze,tokens:[{type:"text",raw:lt,text:lt}]}}},et.url=function(Ve,ue){var ae;if(ae=this.rules.inline.url.exec(Ve)){var lt,Ze;if(ae[2]==="@")lt=V(this.options.mangle?ue(ae[0]):ae[0]),Ze="mailto:"+lt;else{var Te;do Te=ae[0],ae[0]=this.rules.inline._backpedal.exec(ae[0])[0];while(Te!==ae[0]);lt=V(ae[0]),ae[1]==="www."?Ze="http://"+lt:Ze=lt}return{type:"link",raw:ae[0],text:lt,href:Ze,tokens:[{type:"text",raw:lt,text:lt}]}}},et.inlineText=function(Ve,ue,ae){var lt=this.rules.inline.text.exec(Ve);if(lt){var Ze;return ue?Ze=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(lt[0]):V(lt[0]):lt[0]:Ze=V(this.options.smartypants?ae(lt[0]):lt[0]),{type:"text",raw:lt[0],text:Ze}}},Je}(),G=H.noopTest,ye=H.edit,Ae=H.merge,ge={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:G,table:G,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};ge._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,ge._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,ge.def=ye(ge.def).replace("label",ge._label).replace("title",ge._title).getRegex(),ge.bullet=/(?:[*+-]|\d{1,9}[.)])/,ge.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,ge.item=ye(ge.item,"gm").replace(/bull/g,ge.bullet).getRegex(),ge.list=ye(ge.list).replace(/bull/g,ge.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+ge.def.source+")").getRegex(),ge._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",ge._comment=/<!--(?!-?>)[\s\S]*?-->/,ge.html=ye(ge.html,"i").replace("comment",ge._comment).replace("tag",ge._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ge.paragraph=ye(ge._paragraph).replace("hr",ge.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",ge._tag).getRegex(),ge.blockquote=ye(ge.blockquote).replace("paragraph",ge.paragraph).getRegex(),ge.normal=Ae({},ge),ge.gfm=Ae({},ge.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),ge.gfm.nptable=ye(ge.gfm.nptable).replace("hr",ge.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",ge._tag).getRegex(),ge.gfm.table=ye(ge.gfm.table).replace("hr",ge.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",ge._tag).getRegex(),ge.pedantic=Ae({},ge.normal,{html:ye(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",ge._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:G,paragraph:ye(ge.normal._paragraph).replace("hr",ge.hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",ge.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Pe={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:G,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:G,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/};Pe._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Pe.punctuation=ye(Pe.punctuation).replace(/punctuation/g,Pe._punctuation).getRegex(),Pe._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",Pe._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",Pe.em.start=ye(Pe.em.start).replace(/punctuation/g,Pe._punctuation).getRegex(),Pe.em.middle=ye(Pe.em.middle).replace(/punctuation/g,Pe._punctuation).replace(/overlapSkip/g,Pe._overlapSkip).getRegex(),Pe.em.endAst=ye(Pe.em.endAst,"g").replace(/punctuation/g,Pe._punctuation).getRegex(),Pe.em.endUnd=ye(Pe.em.endUnd,"g").replace(/punctuation/g,Pe._punctuation).getRegex(),Pe.strong.start=ye(Pe.strong.start).replace(/punctuation/g,Pe._punctuation).getRegex(),Pe.strong.middle=ye(Pe.strong.middle).replace(/punctuation/g,Pe._punctuation).replace(/blockSkip/g,Pe._blockSkip).getRegex(),Pe.strong.endAst=ye(Pe.strong.endAst,"g").replace(/punctuation/g,Pe._punctuation).getRegex(),Pe.strong.endUnd=ye(Pe.strong.endUnd,"g").replace(/punctuation/g,Pe._punctuation).getRegex(),Pe.blockSkip=ye(Pe._blockSkip,"g").getRegex(),Pe.overlapSkip=ye(Pe._overlapSkip,"g").getRegex(),Pe._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Pe._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Pe._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,Pe.autolink=ye(Pe.autolink).replace("scheme",Pe._scheme).replace("email",Pe._email).getRegex(),Pe._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Pe.tag=ye(Pe.tag).replace("comment",ge._comment).replace("attribute",Pe._attribute).getRegex(),Pe._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Pe._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,Pe._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Pe.link=ye(Pe.link).replace("label",Pe._label).replace("href",Pe._href).replace("title",Pe._title).getRegex(),Pe.reflink=ye(Pe.reflink).replace("label",Pe._label).getRegex(),Pe.reflinkSearch=ye(Pe.reflinkSearch,"g").replace("reflink",Pe.reflink).replace("nolink",Pe.nolink).getRegex(),Pe.normal=Ae({},Pe),Pe.pedantic=Ae({},Pe.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:ye(/^!?\[(label)\]\((.*?)\)/).replace("label",Pe._label).getRegex(),reflink:ye(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Pe._label).getRegex()}),Pe.gfm=Ae({},Pe.normal,{escape:ye(Pe.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),Pe.gfm.url=ye(Pe.gfm.url,"i").replace("email",Pe.gfm._extended_email).getRegex(),Pe.breaks=Ae({},Pe.gfm,{br:ye(Pe.br).replace("{2,}","*").getRegex(),text:ye(Pe.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Re={block:ge,inline:Pe},rt=u.defaults,ne=Re.block,be=Re.inline;function at(Je){return Je.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function se(Je){var et="",ot,Ve,ue=Je.length;for(ot=0;ot<ue;ot++)Ve=Je.charCodeAt(ot),Math.random()>.5&&(Ve="x"+Ve.toString(16)),et+="&#"+Ve+";";return et}var q=function(){function Je(ot){this.tokens=[],this.tokens.links=Object.create(null),this.options=ot||rt,this.options.tokenizer=this.options.tokenizer||new he,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var Ve={block:ne.normal,inline:be.normal};this.options.pedantic?(Ve.block=ne.pedantic,Ve.inline=be.pedantic):this.options.gfm&&(Ve.block=ne.gfm,this.options.breaks?Ve.inline=be.breaks:Ve.inline=be.gfm),this.tokenizer.rules=Ve}Je.lex=function(Ve,ue){var ae=new Je(ue);return ae.lex(Ve)};var et=Je.prototype;return et.lex=function(Ve){return Ve=Ve.replace(/\r\n|\r/g,`
`).replace(/\t/g," "),this.blockTokens(Ve,this.tokens,!0),this.inline(this.tokens),this.tokens},et.blockTokens=function(Ve,ue,ae){ue===void 0&&(ue=[]),ae===void 0&&(ae=!0),Ve=Ve.replace(/^ +$/gm,"");for(var lt,Ze,Te,Jt;Ve;){if(lt=this.tokenizer.space(Ve)){Ve=Ve.substring(lt.raw.length),lt.type&&ue.push(lt);continue}if(lt=this.tokenizer.code(Ve,ue)){Ve=Ve.substring(lt.raw.length),lt.type?ue.push(lt):(Jt=ue[ue.length-1],Jt.raw+=`
`+lt.raw,Jt.text+=`
`+lt.text);continue}if(lt=this.tokenizer.fences(Ve)){Ve=Ve.substring(lt.raw.length),ue.push(lt);continue}if(lt=this.tokenizer.heading(Ve)){Ve=Ve.substring(lt.raw.length),ue.push(lt);continue}if(lt=this.tokenizer.nptable(Ve)){Ve=Ve.substring(lt.raw.length),ue.push(lt);continue}if(lt=this.tokenizer.hr(Ve)){Ve=Ve.substring(lt.raw.length),ue.push(lt);continue}if(lt=this.tokenizer.blockquote(Ve)){Ve=Ve.substring(lt.raw.length),lt.tokens=this.blockTokens(lt.text,[],ae),ue.push(lt);continue}if(lt=this.tokenizer.list(Ve)){for(Ve=Ve.substring(lt.raw.length),Te=lt.items.length,Ze=0;Ze<Te;Ze++)lt.items[Ze].tokens=this.blockTokens(lt.items[Ze].text,[],!1);ue.push(lt);continue}if(lt=this.tokenizer.html(Ve)){Ve=Ve.substring(lt.raw.length),ue.push(lt);continue}if(ae&&(lt=this.tokenizer.def(Ve))){Ve=Ve.substring(lt.raw.length),this.tokens.links[lt.tag]||(this.tokens.links[lt.tag]={href:lt.href,title:lt.title});continue}if(lt=this.tokenizer.table(Ve)){Ve=Ve.substring(lt.raw.length),ue.push(lt);continue}if(lt=this.tokenizer.lheading(Ve)){Ve=Ve.substring(lt.raw.length),ue.push(lt);continue}if(ae&&(lt=this.tokenizer.paragraph(Ve))){Ve=Ve.substring(lt.raw.length),ue.push(lt);continue}if(lt=this.tokenizer.text(Ve,ue)){Ve=Ve.substring(lt.raw.length),lt.type?ue.push(lt):(Jt=ue[ue.length-1],Jt.raw+=`
`+lt.raw,Jt.text+=`
`+lt.text);continue}if(Ve){var mt="Infinite loop on byte: "+Ve.charCodeAt(0);if(this.options.silent){console.error(mt);break}else throw new Error(mt)}}return ue},et.inline=function(Ve){var ue,ae,lt,Ze,Te,Jt,mt=Ve.length;for(ue=0;ue<mt;ue++){Jt=Ve[ue];switch(Jt.type){case"paragraph":case"text":case"heading":{Jt.tokens=[],this.inlineTokens(Jt.text,Jt.tokens);break}case"table":{for(Jt.tokens={header:[],cells:[]},Ze=Jt.header.length,ae=0;ae<Ze;ae++)Jt.tokens.header[ae]=[],this.inlineTokens(Jt.header[ae],Jt.tokens.header[ae]);for(Ze=Jt.cells.length,ae=0;ae<Ze;ae++)for(Te=Jt.cells[ae],Jt.tokens.cells[ae]=[],lt=0;lt<Te.length;lt++)Jt.tokens.cells[ae][lt]=[],this.inlineTokens(Te[lt],Jt.tokens.cells[ae][lt]);break}case"blockquote":{this.inline(Jt.tokens);break}case"list":{for(Ze=Jt.items.length,ae=0;ae<Ze;ae++)this.inline(Jt.items[ae].tokens);break}}}return Ve},et.inlineTokens=function(Ve,ue,ae,lt,Ze){ue===void 0&&(ue=[]),ae===void 0&&(ae=!1),lt===void 0&&(lt=!1),Ze===void 0&&(Ze="");var Te,Jt=Ve,mt;if(this.tokens.links){var ft=Object.keys(this.tokens.links);if(ft.length>0)for(;(mt=this.tokenizer.rules.inline.reflinkSearch.exec(Jt))!=null;)ft.includes(mt[0].slice(mt[0].lastIndexOf("[")+1,-1))&&(Jt=Jt.slice(0,mt.index)+"["+"a".repeat(mt[0].length-2)+"]"+Jt.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(mt=this.tokenizer.rules.inline.blockSkip.exec(Jt))!=null;)Jt=Jt.slice(0,mt.index)+"["+"a".repeat(mt[0].length-2)+"]"+Jt.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;Ve;){if(Te=this.tokenizer.escape(Ve)){Ve=Ve.substring(Te.raw.length),ue.push(Te);continue}if(Te=this.tokenizer.tag(Ve,ae,lt)){Ve=Ve.substring(Te.raw.length),ae=Te.inLink,lt=Te.inRawBlock,ue.push(Te);continue}if(Te=this.tokenizer.link(Ve)){Ve=Ve.substring(Te.raw.length),Te.type==="link"&&(Te.tokens=this.inlineTokens(Te.text,[],!0,lt)),ue.push(Te);continue}if(Te=this.tokenizer.reflink(Ve,this.tokens.links)){Ve=Ve.substring(Te.raw.length),Te.type==="link"&&(Te.tokens=this.inlineTokens(Te.text,[],!0,lt)),ue.push(Te);continue}if(Te=this.tokenizer.strong(Ve,Jt,Ze)){Ve=Ve.substring(Te.raw.length),Te.tokens=this.inlineTokens(Te.text,[],ae,lt),ue.push(Te);continue}if(Te=this.tokenizer.em(Ve,Jt,Ze)){Ve=Ve.substring(Te.raw.length),Te.tokens=this.inlineTokens(Te.text,[],ae,lt),ue.push(Te);continue}if(Te=this.tokenizer.codespan(Ve)){Ve=Ve.substring(Te.raw.length),ue.push(Te);continue}if(Te=this.tokenizer.br(Ve)){Ve=Ve.substring(Te.raw.length),ue.push(Te);continue}if(Te=this.tokenizer.del(Ve)){Ve=Ve.substring(Te.raw.length),Te.tokens=this.inlineTokens(Te.text,[],ae,lt),ue.push(Te);continue}if(Te=this.tokenizer.autolink(Ve,se)){Ve=Ve.substring(Te.raw.length),ue.push(Te);continue}if(!ae&&(Te=this.tokenizer.url(Ve,se))){Ve=Ve.substring(Te.raw.length),ue.push(Te);continue}if(Te=this.tokenizer.inlineText(Ve,lt,at)){Ve=Ve.substring(Te.raw.length),Ze=Te.raw.slice(-1),ue.push(Te);continue}if(Ve){var bt="Infinite loop on byte: "+Ve.charCodeAt(0);if(this.options.silent){console.error(bt);break}else throw new Error(bt)}}return ue},f(Je,null,[{key:"rules",get:function(){return{block:ne,inline:be}}}]),Je}(),X=u.defaults,Z=H.cleanUrl,pe=H.escape,oe=function(){function Je(ot){this.options=ot||X}var et=Je.prototype;return et.code=function(Ve,ue,ae){var lt=(ue||"").match(/\S*/)[0];if(this.options.highlight){var Ze=this.options.highlight(Ve,lt);Ze!=null&&Ze!==Ve&&(ae=!0,Ve=Ze)}return lt?'<pre><code class="'+this.options.langPrefix+pe(lt,!0)+'">'+(ae?Ve:pe(Ve,!0))+`</code></pre>
`:"<pre><code>"+(ae?Ve:pe(Ve,!0))+`</code></pre>
`},et.blockquote=function(Ve){return`<blockquote>
`+Ve+`</blockquote>
`},et.html=function(Ve){return Ve},et.heading=function(Ve,ue,ae,lt){return this.options.headerIds?"<h"+ue+' id="'+this.options.headerPrefix+lt.slug(ae)+'">'+Ve+"</h"+ue+`>
`:"<h"+ue+">"+Ve+"</h"+ue+`>
`},et.hr=function(){return this.options.xhtml?`<hr/>
`:`<hr>
`},et.list=function(Ve,ue,ae){var lt=ue?"ol":"ul",Ze=ue&&ae!==1?' start="'+ae+'"':"";return"<"+lt+Ze+`>
`+Ve+"</"+lt+`>
`},et.listitem=function(Ve){return"<li>"+Ve+`</li>
`},et.checkbox=function(Ve){return"<input "+(Ve?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},et.paragraph=function(Ve){return"<p>"+Ve+`</p>
`},et.table=function(Ve,ue){return ue&&(ue="<tbody>"+ue+"</tbody>"),`<table>
<thead>
`+Ve+`</thead>
`+ue+`</table>
`},et.tablerow=function(Ve){return`<tr>
`+Ve+`</tr>
`},et.tablecell=function(Ve,ue){var ae=ue.header?"th":"td",lt=ue.align?"<"+ae+' align="'+ue.align+'">':"<"+ae+">";return lt+Ve+"</"+ae+`>
`},et.strong=function(Ve){return"<strong>"+Ve+"</strong>"},et.em=function(Ve){return"<em>"+Ve+"</em>"},et.codespan=function(Ve){return"<code>"+Ve+"</code>"},et.br=function(){return this.options.xhtml?"<br/>":"<br>"},et.del=function(Ve){return"<del>"+Ve+"</del>"},et.link=function(Ve,ue,ae){if(Ve=Z(this.options.sanitize,this.options.baseUrl,Ve),Ve===null)return ae;var lt='<a href="'+pe(Ve)+'"';return ue&&(lt+=' title="'+ue+'"'),lt+=">"+ae+"</a>",lt},et.image=function(Ve,ue,ae){if(Ve=Z(this.options.sanitize,this.options.baseUrl,Ve),Ve===null)return ae;var lt='<img src="'+Ve+'" alt="'+ae+'"';return ue&&(lt+=' title="'+ue+'"'),lt+=this.options.xhtml?"/>":">",lt},et.text=function(Ve){return Ve},Je}(),Ie=function(){function Je(){}var et=Je.prototype;return et.strong=function(Ve){return Ve},et.em=function(Ve){return Ve},et.codespan=function(Ve){return Ve},et.del=function(Ve){return Ve},et.html=function(Ve){return Ve},et.text=function(Ve){return Ve},et.link=function(Ve,ue,ae){return""+ae},et.image=function(Ve,ue,ae){return""+ae},et.br=function(){return""},Je}(),fe=function(){function Je(){this.seen={}}var et=Je.prototype;return et.slug=function(Ve){var ue=Ve.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(ue)){var ae=ue;do this.seen[ae]++,ue=ae+"-"+this.seen[ae];while(this.seen.hasOwnProperty(ue))}return this.seen[ue]=0,ue},Je}(),te=u.defaults,J=H.unescape,ve=function(){function Je(ot){this.options=ot||te,this.options.renderer=this.options.renderer||new oe,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Ie,this.slugger=new fe}Je.parse=function(Ve,ue){var ae=new Je(ue);return ae.parse(Ve)};var et=Je.prototype;return et.parse=function(Ve,ue){ue===void 0&&(ue=!0);var ae="",lt,Ze,Te,Jt,mt,ft,bt,Lt,or,Bt,_e,Ce,Ee,we,Fe,Ye,Ge,qe,Ke=Ve.length;for(lt=0;lt<Ke;lt++){Bt=Ve[lt];switch(Bt.type){case"space":continue;case"hr":{ae+=this.renderer.hr();continue}case"heading":{ae+=this.renderer.heading(this.parseInline(Bt.tokens),Bt.depth,J(this.parseInline(Bt.tokens,this.textRenderer)),this.slugger);continue}case"code":{ae+=this.renderer.code(Bt.text,Bt.lang,Bt.escaped);continue}case"table":{for(Lt="",bt="",Jt=Bt.header.length,Ze=0;Ze<Jt;Ze++)bt+=this.renderer.tablecell(this.parseInline(Bt.tokens.header[Ze]),{header:!0,align:Bt.align[Ze]});for(Lt+=this.renderer.tablerow(bt),or="",Jt=Bt.cells.length,Ze=0;Ze<Jt;Ze++){for(ft=Bt.tokens.cells[Ze],bt="",mt=ft.length,Te=0;Te<mt;Te++)bt+=this.renderer.tablecell(this.parseInline(ft[Te]),{header:!1,align:Bt.align[Te]});or+=this.renderer.tablerow(bt)}ae+=this.renderer.table(Lt,or);continue}case"blockquote":{or=this.parse(Bt.tokens),ae+=this.renderer.blockquote(or);continue}case"list":{for(_e=Bt.ordered,Ce=Bt.start,Ee=Bt.loose,Jt=Bt.items.length,or="",Ze=0;Ze<Jt;Ze++)Fe=Bt.items[Ze],Ye=Fe.checked,Ge=Fe.task,we="",Fe.task&&(qe=this.renderer.checkbox(Ye),Ee?Fe.tokens.length>0&&Fe.tokens[0].type==="text"?(Fe.tokens[0].text=qe+" "+Fe.tokens[0].text,Fe.tokens[0].tokens&&Fe.tokens[0].tokens.length>0&&Fe.tokens[0].tokens[0].type==="text"&&(Fe.tokens[0].tokens[0].text=qe+" "+Fe.tokens[0].tokens[0].text)):Fe.tokens.unshift({type:"text",text:qe}):we+=qe),we+=this.parse(Fe.tokens,Ee),or+=this.renderer.listitem(we,Ge,Ye);ae+=this.renderer.list(or,_e,Ce);continue}case"html":{ae+=this.renderer.html(Bt.text);continue}case"paragraph":{ae+=this.renderer.paragraph(this.parseInline(Bt.tokens));continue}case"text":{for(or=Bt.tokens?this.parseInline(Bt.tokens):Bt.text;lt+1<Ke&&Ve[lt+1].type==="text";)Bt=Ve[++lt],or+=`
`+(Bt.tokens?this.parseInline(Bt.tokens):Bt.text);ae+=ue?this.renderer.paragraph(or):or;continue}default:{var ut='Token with "'+Bt.type+'" type was not found.';if(this.options.silent){console.error(ut);return}else throw new Error(ut)}}}return ae},et.parseInline=function(Ve,ue){ue=ue||this.renderer;var ae="",lt,Ze,Te=Ve.length;for(lt=0;lt<Te;lt++){Ze=Ve[lt];switch(Ze.type){case"escape":{ae+=ue.text(Ze.text);break}case"html":{ae+=ue.html(Ze.text);break}case"link":{ae+=ue.link(Ze.href,Ze.title,this.parseInline(Ze.tokens,ue));break}case"image":{ae+=ue.image(Ze.href,Ze.title,Ze.text);break}case"strong":{ae+=ue.strong(this.parseInline(Ze.tokens,ue));break}case"em":{ae+=ue.em(this.parseInline(Ze.tokens,ue));break}case"codespan":{ae+=ue.codespan(Ze.text);break}case"br":{ae+=ue.br();break}case"del":{ae+=ue.del(this.parseInline(Ze.tokens,ue));break}case"text":{ae+=ue.text(Ze.text);break}default:{var Jt='Token with "'+Ze.type+'" type was not found.';if(this.options.silent){console.error(Jt);return}else throw new Error(Jt)}}}return ae},Je}(),De=H.merge,ze=H.checkSanitizeDeprecation,dt=H.escape,Me=u.getDefaults,Tt=u.changeDefaults,je=u.defaults;function st(Je,et,ot){if(typeof Je=="undefined"||Je===null)throw new Error("marked(): input parameter is undefined or null");if(typeof Je!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Je)+", string expected");if(typeof et=="function"&&(ot=et,et=null),et=De({},st.defaults,et||{}),ze(et),ot){var Ve=et.highlight,ue;try{ue=q.lex(Je,et)}catch(Te){return ot(Te)}var ae=function(Jt){var mt;if(!Jt)try{mt=ve.parse(ue,et)}catch(ft){Jt=ft}return et.highlight=Ve,Jt?ot(Jt):ot(null,mt)};if(!Ve||Ve.length<3)return ae();if(delete et.highlight,!ue.length)return ae();var lt=0;st.walkTokens(ue,function(Te){Te.type==="code"&&(lt++,setTimeout(function(){Ve(Te.text,Te.lang,function(Jt,mt){if(Jt)return ae(Jt);mt!=null&&mt!==Te.text&&(Te.text=mt,Te.escaped=!0),lt--,lt===0&&ae()})},0))}),lt===0&&ae();return}try{var Ze=q.lex(Je,et);return et.walkTokens&&st.walkTokens(Ze,et.walkTokens),ve.parse(Ze,et)}catch(Te){if(Te.message+=`
Please report this to https://github.com/markedjs/marked.`,et.silent)return"<p>An error occurred:</p><pre>"+dt(Te.message+"",!0)+"</pre>";throw Te}}st.options=st.setOptions=function(Je){return De(st.defaults,Je),Tt(st.defaults),st},st.getDefaults=Me,st.defaults=je,st.use=function(Je){var et=De({},Je);if(Je.renderer&&function(){var Ve=st.defaults.renderer||new oe,ue=function(Ze){var Te=Ve[Ze];Ve[Ze]=function(){for(var Jt=arguments.length,mt=new Array(Jt),ft=0;ft<Jt;ft++)mt[ft]=arguments[ft];var bt=Je.renderer[Ze].apply(Ve,mt);return bt===!1&&(bt=Te.apply(Ve,mt)),bt}};for(var ae in Je.renderer)ue(ae);et.renderer=Ve}(),Je.tokenizer&&function(){var Ve=st.defaults.tokenizer||new he,ue=function(Ze){var Te=Ve[Ze];Ve[Ze]=function(){for(var Jt=arguments.length,mt=new Array(Jt),ft=0;ft<Jt;ft++)mt[ft]=arguments[ft];var bt=Je.tokenizer[Ze].apply(Ve,mt);return bt===!1&&(bt=Te.apply(Ve,mt)),bt}};for(var ae in Je.tokenizer)ue(ae);et.tokenizer=Ve}(),Je.walkTokens){var ot=st.defaults.walkTokens;et.walkTokens=function(Ve){Je.walkTokens(Ve),ot&&ot(Ve)}}st.setOptions(et)},st.walkTokens=function(Je,et){for(var ot=y(Je),Ve;!(Ve=ot()).done;){var ue=Ve.value;et(ue);switch(ue.type){case"table":{for(var ae=y(ue.tokens.header),lt;!(lt=ae()).done;){var Ze=lt.value;st.walkTokens(Ze,et)}for(var Te=y(ue.tokens.cells),Jt;!(Jt=Te()).done;)for(var mt=Jt.value,ft=y(mt),bt;!(bt=ft()).done;){var Lt=bt.value;st.walkTokens(Lt,et)}break}case"list":{st.walkTokens(ue.items,et);break}default:ue.tokens&&st.walkTokens(ue.tokens,et)}}},st.Parser=ve,st.parser=ve.parse,st.Renderer=oe,st.TextRenderer=Ie,st.Lexer=q,st.lexer=q.lex,st.Tokenizer=he,st.Slugger=fe,st.parse=st;var Xe=st;return Xe})},"DlR+":function(R,I,e){var g=e("MFOe"),f=g.Global,b=g.trim;R.exports={name:"cookieStorage",read:y,write:u,each:h,remove:i,clearAll:a};var m=f.document;function y(o){if(!o||!r(o))return null;var d="(?:^|.*;\\s*)"+escape(o).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(m.cookie.replace(new RegExp(d),"$1"))}function h(o){for(var d=m.cookie.split(/; ?/g),n=d.length-1;n>=0;n--){if(!b(d[n]))continue;var l=d[n].split("="),t=unescape(l[0]),s=unescape(l[1]);o(s,t)}}function u(o,d){if(!o)return;m.cookie=escape(o)+"="+escape(d)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function i(o){if(!o||!r(o))return;m.cookie=escape(o)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function a(){h(function(o,d){i(d)})}function r(o){return new RegExp("(?:^|;\\s*)"+escape(o).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(m.cookie)}},Ducp:function(R,I,e){var g=e("bYtY"),f=e("IwbS"),b=e("+TT/"),m=e("XpcN"),y=f.Group,h=["width","height"],u=["x","y"],i=m.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){i.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new y),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new y),this._showController},resetInner:function(){i.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(r,o,d,n,l,t,s){var c=this;i.superCall(this,"renderInner",r,o,d,n,l,t,s);var p=this._controllerGroup,A=o.get("pageIconSize",!0);g.isArray(A)||(A=[A,A]),C("pagePrev",0);var w=o.getModel("pageTextStyle");p.add(new f.Text({name:"pageText",style:{textFill:w.getTextColor(),font:w.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),C("pageNext",1);function C(x,E){var T=x+"DataIndex",_=f.createIcon(o.get("pageIcons",!0)[o.getOrient().name][E],{onclick:g.bind(c._pageGo,c,T,o,n)},{x:-A[0]/2,y:-A[1]/2,width:A[0],height:A[1]});_.name=x,p.add(_)}},layoutInner:function(r,o,d,n,l,t){var s=this.getSelectorGroup(),c=r.getOrient().index,p=h[c],A=u[c],w=h[1-c],C=u[1-c];l&&b.box("horizontal",s,r.get("selectorItemGap",!0));var x=r.get("selectorButtonGap",!0),E=s.getBoundingRect(),T=[-E.x,-E.y],_=g.clone(d);l&&(_[p]=d[p]-E[p]-x);var v=this._layoutContentAndController(r,n,_,c,p,w,C);if(l){if(t==="end")T[c]+=v[p]+x;else{var S=E[p]+x;T[c]-=S,v[A]-=S}v[p]+=E[p]+x,T[1-c]+=v[C]+v[w]/2-E[w]/2,v[w]=Math.max(v[w],E[w]),v[C]=Math.min(v[C],E[C]+T[1-c]),s.attr("position",T)}return v},_layoutContentAndController:function(r,o,d,n,l,t,s){var c=this.getContentGroup(),p=this._containerGroup,A=this._controllerGroup;b.box(r.get("orient"),c,r.get("itemGap"),n?d.width:null,n?null:d.height),b.box("horizontal",A,r.get("pageButtonItemGap",!0));var w=c.getBoundingRect(),C=A.getBoundingRect(),x=this._showController=w[l]>d[l],E=[-w.x,-w.y];o||(E[n]=c.position[n]);var T=[0,0],_=[-C.x,-C.y],v=g.retrieve2(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(x){var S=r.get("pageButtonPosition",!0);S==="end"?_[n]+=d[l]-C[l]:T[n]+=C[l]+v}_[1-n]+=w[t]/2-C[t]/2,c.attr("position",E),p.attr("position",T),A.attr("position",_);var O={x:0,y:0};if(O[l]=x?d[l]:w[l],O[t]=Math.max(w[t],C[t]),O[s]=Math.min(0,C[s]+_[1-n]),p.__rectSize=d[l],x){var L={x:0,y:0};L[l]=Math.max(d[l]-C[l]-v,0),L[t]=O[t],p.setClipPath(new f.Rect({shape:L})),p.__rectSize=L[l]}else A.eachChild(function(F){F.attr({invisible:!0,silent:!0})});var M=this._getPageInfo(r);return M.pageIndex!=null&&f.updateProps(c,{position:M.contentPosition},x?r:!1),this._updatePageInfoView(r,M),O},_pageGo:function(r,o,d){var n=this._getPageInfo(o)[r];n!=null&&d.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:o.id})},_updatePageInfoView:function(r,o){var d=this._controllerGroup;g.each(["pagePrev","pageNext"],function(p){var A=o[p+"DataIndex"]!=null,w=d.childOfName(p);w&&(w.setStyle("fill",A?r.get("pageIconColor",!0):r.get("pageIconInactiveColor",!0)),w.cursor=A?"pointer":"default")});var n=d.childOfName("pageText"),l=r.get("pageFormatter"),t=o.pageIndex,s=t!=null?t+1:0,c=o.pageCount;n&&l&&n.setStyle("text",g.isString(l)?l.replace("{current}",s).replace("{total}",c):l({current:s,total:c}))},_getPageInfo:function(r){var o=r.get("scrollDataIndex",!0),d=this.getContentGroup(),n=this._containerGroup.__rectSize,l=r.getOrient().index,t=h[l],s=u[l],c=this._findTargetItemIndex(o),p=d.children(),A=p[c],w=p.length,C=w?1:0,x={contentPosition:d.position.slice(),pageCount:C,pageIndex:C-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!A)return x;var E=O(A);x.contentPosition[l]=-E.s;for(var T=c+1,_=E,v=E,S=null;T<=w;++T)S=O(p[T]),(!S&&v.e>_.s+n||S&&!L(S,_.s))&&(v.i>_.i?_=v:_=S,_&&(x.pageNextDataIndex==null&&(x.pageNextDataIndex=_.i),++x.pageCount)),v=S;for(var T=c-1,_=E,v=E,S=null;T>=-1;--T)S=O(p[T]),(!S||!L(v,S.s))&&_.i<v.i&&(v=_,x.pagePrevDataIndex==null&&(x.pagePrevDataIndex=_.i),++x.pageCount,++x.pageIndex),_=S;return x;function O(M){if(M){var F=M.getBoundingRect(),U=F[s]+M.position[l];return{s:U,e:U+F[t],i:M.__legendDataIndex}}}function L(M,F){return M.e>=F&&M.s<=F+n}},_findTargetItemIndex:function(r){if(!this._showController)return 0;var o,d=this.getContentGroup(),n;return d.eachChild(function(l,t){var s=l.__legendDataIndex;n==null&&s!=null&&(n=t),s===r&&(o=t)}),o!=null?o:n}}),a=i;R.exports=a},"E/ki":function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};I.default=g},E2g8:function(R,I,e){(function(g,f){/*!
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
* @version v4.2.8+1e68dce6
*/(function(b,m){R.exports=m()})(this,function(){"use strict";function b(oe){var Ie=typeof oe;return oe!==null&&(Ie==="object"||Ie==="function")}function m(oe){return typeof oe=="function"}var y=void 0;Array.isArray?y=Array.isArray:y=function(Ie){return Object.prototype.toString.call(Ie)==="[object Array]"};var h=y,u=0,i=void 0,a=void 0,r=function(Ie,fe){E[u]=Ie,E[u+1]=fe,u+=2,u===2&&(a?a(T):v())};function o(oe){a=oe}function d(oe){r=oe}var n=typeof window!="undefined"?window:void 0,l=n||{},t=l.MutationObserver||l.WebKitMutationObserver,s=typeof self=="undefined"&&typeof g!="undefined"&&{}.toString.call(g)==="[object process]",c=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function p(){return function(){return g.nextTick(T)}}function A(){return typeof i!="undefined"?function(){i(T)}:x()}function w(){var oe=0,Ie=new t(T),fe=document.createTextNode("");return Ie.observe(fe,{characterData:!0}),function(){fe.data=oe=++oe%2}}function C(){var oe=new MessageChannel;return oe.port1.onmessage=T,function(){return oe.port2.postMessage(0)}}function x(){var oe=setTimeout;return function(){return oe(T,1)}}var E=new Array(1e3);function T(){for(var oe=0;oe<u;oe+=2){var Ie=E[oe],fe=E[oe+1];Ie(fe),E[oe]=void 0,E[oe+1]=void 0}u=0}function _(){try{var oe=Function("return this")().require("vertx");return i=oe.runOnLoop||oe.runOnContext,A()}catch(Ie){return x()}}var v=void 0;s?v=p():t?v=w():c?v=C():n===void 0&&!0?v=_():v=x();function S(oe,Ie){var fe=this,te=new this.constructor(M);te[L]===void 0&&Re(te);var J=fe._state;if(J){var ve=arguments[J-1];r(function(){return ye(J,te,ve,fe._result)})}else he(fe,te,oe,Ie);return te}function O(oe){var Ie=this;if(oe&&typeof oe=="object"&&oe.constructor===Ie)return oe;var fe=new Ie(M);return V(fe,oe),fe}var L=Math.random().toString(36).substring(2);function M(){}var F=void 0,U=1,z=2;function W(){return new TypeError("You cannot resolve a promise with itself")}function N(){return new TypeError("A promises callback cannot return that same promise.")}function H(oe,Ie,fe,te){try{oe.call(Ie,fe,te)}catch(J){return J}}function j(oe,Ie,fe){r(function(te){var J=!1,ve=H(fe,Ie,function(De){if(J)return;J=!0,Ie!==De?V(te,De):Y(te,De)},function(De){if(J)return;J=!0,Q(te,De)},"Settle: "+(te._label||" unknown promise"));!J&&ve&&(J=!0,Q(te,ve))},oe)}function k(oe,Ie){Ie._state===U?Y(oe,Ie._result):Ie._state===z?Q(oe,Ie._result):he(Ie,void 0,function(fe){return V(oe,fe)},function(fe){return Q(oe,fe)})}function B(oe,Ie,fe){Ie.constructor===oe.constructor&&fe===S&&Ie.constructor.resolve===O?k(oe,Ie):fe===void 0?Y(oe,Ie):m(fe)?j(oe,Ie,fe):Y(oe,Ie)}function V(oe,Ie){if(oe===Ie)Q(oe,W());else if(b(Ie)){var fe=void 0;try{fe=Ie.then}catch(te){Q(oe,te);return}B(oe,Ie,fe)}else Y(oe,Ie)}function K(oe){oe._onerror&&oe._onerror(oe._result),G(oe)}function Y(oe,Ie){if(oe._state!==F)return;oe._result=Ie,oe._state=U,oe._subscribers.length!==0&&r(G,oe)}function Q(oe,Ie){if(oe._state!==F)return;oe._state=z,oe._result=Ie,r(K,oe)}function he(oe,Ie,fe,te){var J=oe._subscribers,ve=J.length;oe._onerror=null,J[ve]=Ie,J[ve+U]=fe,J[ve+z]=te,ve===0&&oe._state&&r(G,oe)}function G(oe){var Ie=oe._subscribers,fe=oe._state;if(Ie.length===0)return;for(var te=void 0,J=void 0,ve=oe._result,De=0;De<Ie.length;De+=3)te=Ie[De],J=Ie[De+fe],te?ye(fe,te,J,ve):J(ve);oe._subscribers.length=0}function ye(oe,Ie,fe,te){var J=m(fe),ve=void 0,De=void 0,ze=!0;if(J){try{ve=fe(te)}catch(dt){ze=!1,De=dt}if(Ie===ve){Q(Ie,N());return}}else ve=te;Ie._state!==F||(J&&ze?V(Ie,ve):ze===!1?Q(Ie,De):oe===U?Y(Ie,ve):oe===z&&Q(Ie,ve))}function Ae(oe,Ie){try{Ie(function(te){V(oe,te)},function(te){Q(oe,te)})}catch(fe){Q(oe,fe)}}var ge=0;function Pe(){return ge++}function Re(oe){oe[L]=ge++,oe._state=void 0,oe._result=void 0,oe._subscribers=[]}function rt(){return new Error("Array Methods must be provided an Array")}var ne=function(){function oe(Ie,fe){this._instanceConstructor=Ie,this.promise=new Ie(M),this.promise[L]||Re(this.promise),h(fe)?(this.length=fe.length,this._remaining=fe.length,this._result=new Array(this.length),this.length===0?Y(this.promise,this._result):(this.length=this.length||0,this._enumerate(fe),this._remaining===0&&Y(this.promise,this._result))):Q(this.promise,rt())}return oe.prototype._enumerate=function(fe){for(var te=0;this._state===F&&te<fe.length;te++)this._eachEntry(fe[te],te)},oe.prototype._eachEntry=function(fe,te){var J=this._instanceConstructor,ve=J.resolve;if(ve===O){var De=void 0,ze=void 0,dt=!1;try{De=fe.then}catch(Tt){dt=!0,ze=Tt}if(De===S&&fe._state!==F)this._settledAt(fe._state,te,fe._result);else if(typeof De!="function")this._remaining--,this._result[te]=fe;else if(J===Z){var Me=new J(M);dt?Q(Me,ze):B(Me,fe,De),this._willSettleAt(Me,te)}else this._willSettleAt(new J(function(Tt){return Tt(fe)}),te)}else this._willSettleAt(ve(fe),te)},oe.prototype._settledAt=function(fe,te,J){var ve=this.promise;ve._state===F&&(this._remaining--,fe===z?Q(ve,J):this._result[te]=J),this._remaining===0&&Y(ve,this._result)},oe.prototype._willSettleAt=function(fe,te){var J=this;he(fe,void 0,function(ve){return J._settledAt(U,te,ve)},function(ve){return J._settledAt(z,te,ve)})},oe}();function be(oe){return new ne(this,oe).promise}function at(oe){var Ie=this;return h(oe)?new Ie(function(fe,te){for(var J=oe.length,ve=0;ve<J;ve++)Ie.resolve(oe[ve]).then(fe,te)}):new Ie(function(fe,te){return te(new TypeError("You must pass an array to race."))})}function se(oe){var Ie=this,fe=new Ie(M);return Q(fe,oe),fe}function q(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function X(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Z=function(){function oe(Ie){this[L]=Pe(),this._result=this._state=void 0,this._subscribers=[],M!==Ie&&(typeof Ie!="function"&&q(),this instanceof oe?Ae(this,Ie):X())}return oe.prototype.catch=function(fe){return this.then(null,fe)},oe.prototype.finally=function(fe){var te=this,J=te.constructor;return m(fe)?te.then(function(ve){return J.resolve(fe()).then(function(){return ve})},function(ve){return J.resolve(fe()).then(function(){throw ve})}):te.then(fe,fe)},oe}();Z.prototype.then=S,Z.all=be,Z.race=at,Z.resolve=O,Z.reject=se,Z._setScheduler=o,Z._setAsap=d,Z._asap=r;function pe(){var oe=void 0;if(typeof f!="undefined")oe=f;else if(typeof self!="undefined")oe=self;else try{oe=Function("return this")()}catch(te){throw new Error("polyfill failed because global object is unavailable in this environment")}var Ie=oe.Promise;if(Ie){var fe=null;try{fe=Object.prototype.toString.call(Ie.resolve())}catch(te){}if(fe==="[object Promise]"&&!Ie.cast)return}oe.Promise=Z}return Z.polyfill=pe,Z.Promise=Z,Z})}).call(this,e("Q2Ig"),e("yLpj"))},E2jh:function(R,I,e){var g=e("2gN3"),f=function(){var m=/[^.]+$/.exec(g&&g.keys&&g.keys.IE_PROTO||"");return m?"Symbol(src)_1."+m:""}();function b(m){return!!f&&f in m}R.exports=b},E9nw:function(R,I){R.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var g=document.activeElement,f=[],b=0;b<e.rangeCount;b++)f.push(e.getRangeAt(b));switch(g.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":g.blur();break;default:g=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||f.forEach(function(m){e.addRange(m)}),g&&g.focus()}}},ELLl:function(R,I,e){(function(g){g(e("VrN/"))})(function(g){var f={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},b=g.Pos;g.defineOption("autoCloseBrackets",!1,function(t,s,c){c&&c!=g.Init&&(t.removeKeyMap(y),t.state.closeBrackets=null),s&&(h(m(s,"pairs")),t.state.closeBrackets=s,t.addKeyMap(y))});function m(t,s){return s=="pairs"&&typeof t=="string"?t:typeof t=="object"&&t[s]!=null?t[s]:f[s]}var y={Backspace:a,Enter:r};function h(t){for(var s=0;s<t.length;s++){var c=t.charAt(s),p="'"+c+"'";y[p]||(y[p]=u(c))}}h(f.pairs+"`");function u(t){return function(s){return d(s,t)}}function i(t){var s=t.state.closeBrackets;if(!s||s.override)return s;var c=t.getModeAt(t.getCursor());return c.closeBrackets||s}function a(t){var s=i(t);if(!s||t.getOption("disableInput"))return g.Pass;for(var c=m(s,"pairs"),p=t.listSelections(),A=0;A<p.length;A++){if(!p[A].empty())return g.Pass;var w=n(t,p[A].head);if(!w||c.indexOf(w)%2!=0)return g.Pass}for(var A=p.length-1;A>=0;A--){var C=p[A].head;t.replaceRange("",b(C.line,C.ch-1),b(C.line,C.ch+1),"+delete")}}function r(t){var s=i(t),c=s&&m(s,"explode");if(!c||t.getOption("disableInput"))return g.Pass;for(var p=t.listSelections(),A=0;A<p.length;A++){if(!p[A].empty())return g.Pass;var w=n(t,p[A].head);if(!w||c.indexOf(w)%2!=0)return g.Pass}t.operation(function(){var C=t.lineSeparator()||`
`;t.replaceSelection(C+C,null),t.execCommand("goCharLeft"),p=t.listSelections();for(var x=0;x<p.length;x++){var E=p[x].head.line;t.indentLine(E,null,!0),t.indentLine(E+1,null,!0)}})}function o(t){var s=g.cmpPos(t.anchor,t.head)>0;return{anchor:new b(t.anchor.line,t.anchor.ch+(s?-1:1)),head:new b(t.head.line,t.head.ch+(s?1:-1))}}function d(t,s){var c=i(t);if(!c||t.getOption("disableInput"))return g.Pass;var p=m(c,"pairs"),A=p.indexOf(s);if(A==-1)return g.Pass;for(var w=m(c,"closeBefore"),C=m(c,"triples"),x=p.charAt(A+1)==s,E=t.listSelections(),T=A%2==0,_,v=0;v<E.length;v++){var S=E[v],O=S.head,L,M=t.getRange(O,b(O.line,O.ch+1));if(T&&!S.empty())L="surround";else if((x||!T)&&M==s)x&&l(t,O)?L="both":C.indexOf(s)>=0&&t.getRange(O,b(O.line,O.ch+3))==s+s+s?L="skipThree":L="skip";else if(x&&O.ch>1&&C.indexOf(s)>=0&&t.getRange(b(O.line,O.ch-2),O)==s+s){if(O.ch>2&&/\bstring/.test(t.getTokenTypeAt(b(O.line,O.ch-2))))return g.Pass;L="addFour"}else if(x){var F=O.ch==0?" ":t.getRange(b(O.line,O.ch-1),O);if(!g.isWordChar(M)&&F!=s&&!g.isWordChar(F))L="both";else return g.Pass}else if(T&&(M.length===0||/\s/.test(M)||w.indexOf(M)>-1))L="both";else return g.Pass;if(!_)_=L;else if(_!=L)return g.Pass}var U=A%2?p.charAt(A-1):s,z=A%2?s:p.charAt(A+1);t.operation(function(){if(_=="skip")t.execCommand("goCharRight");else if(_=="skipThree")for(var W=0;W<3;W++)t.execCommand("goCharRight");else if(_=="surround"){for(var N=t.getSelections(),W=0;W<N.length;W++)N[W]=U+N[W]+z;t.replaceSelections(N,"around"),N=t.listSelections().slice();for(var W=0;W<N.length;W++)N[W]=o(N[W]);t.setSelections(N)}else _=="both"?(t.replaceSelection(U+z,null),t.triggerElectric(U+z),t.execCommand("goCharLeft")):_=="addFour"&&(t.replaceSelection(U+U+U+U,"before"),t.execCommand("goCharRight"))})}function n(t,s){var c=t.getRange(b(s.line,s.ch-1),b(s.line,s.ch+1));return c.length==2?c:null}function l(t,s){var c=t.getTokenAt(b(s.line,s.ch+1));return/\bstring/.test(c.type)&&c.start==s.ch&&(s.ch==0||!/\bstring/.test(t.getTokenTypeAt(s)))}})},EMyp:function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("mFDi"),m=e("K4ya"),y=e("qJCg"),h=e("iLNv"),u=e("vZ6x"),i=["inBrush","outOfBrush"],a="__ecBrushSelect",r="__ecInBrushSelectEvent",o=g.PRIORITY.VISUAL.BRUSH;g.registerLayout(o,function(C,x,E){C.eachComponent({mainType:"brush"},function(T){E&&E.type==="takeGlobalCursor"&&T.setBrushOption(E.key==="brush"?E.brushOption:{brushType:!1})}),d(C)});function d(C){C.eachComponent({mainType:"brush"},function(x){var E=x.brushTargetManager=new u(x.option,C);E.setInputRanges(x.areas,C)})}g.registerVisual(o,function(C,x,E){var T=[],_,v;C.eachComponent({mainType:"brush"},function(S,O){var L={brushId:S.id,brushIndex:O,brushName:S.name,areas:f.clone(S.areas),selected:[]};T.push(L);var M=S.option,F=M.brushLink,U=[],z=[],W=[],N=0;O||(_=M.throttleType,v=M.throttleDelay);var H=f.map(S.areas,function(Y){return p(f.defaults({boundingRect:A[Y.brushType](Y)},Y))}),j=m.createVisualMappings(S.option,i,function(Y){Y.mappingMethod="fixed"});f.isArray(F)&&f.each(F,function(Y){U[Y]=1});function k(Y){return F==="all"||U[Y]}function B(Y){return!!Y.length}C.eachSeries(function(Y,Q){var he=W[Q]=[];Y.subType==="parallel"?V(Y,Q,he):K(Y,Q,he)});function V(Y,Q){var he=Y.coordinateSystem;N|=he.hasAxisBrushed(),k(Q)&&he.eachActiveState(Y.getData(),function(G,ye){G==="active"&&(z[ye]=1)})}function K(Y,Q,he){var G=s(Y);if(!G||c(S,Q))return;if(f.each(H,function(Ae){G[Ae.brushType]&&S.brushTargetManager.controlSeries(Ae,Y,C)&&he.push(Ae),N|=B(he)}),k(Q)&&B(he)){var ye=Y.getData();ye.each(function(Ae){t(G,he,ye,Ae)&&(z[Ae]=1)})}}C.eachSeries(function(Y,Q){var he={seriesId:Y.id,seriesIndex:Q,seriesName:Y.name,dataIndex:[]};L.selected.push(he);var G=s(Y),ye=W[Q],Ae=Y.getData(),ge=k(Q)?function(Pe){return z[Pe]?(he.dataIndex.push(Ae.getRawIndex(Pe)),"inBrush"):"outOfBrush"}:function(Pe){return t(G,ye,Ae,Pe)?(he.dataIndex.push(Ae.getRawIndex(Pe)),"inBrush"):"outOfBrush"};(k(Q)?N:B(ye))&&m.applyVisual(i,j,Ae,ge)})}),n(x,_,v,T,E)});function n(C,x,E,T,_){if(!_)return;var v=C.getZr();if(v[r])return;v[a]||(v[a]=l);var S=h.createOrUpdate(v,a,E,x);S(C,T)}function l(C,x){if(!C.isDisposed()){var E=C.getZr();E[r]=!0,C.dispatchAction({type:"brushSelect",batch:x}),E[r]=!1}}function t(C,x,E,T){for(var _=0,v=x.length;_<v;_++){var S=x[_];if(C[S.brushType](T,E,S.selectors,S))return!0}}function s(C){var x=C.brushSelector;if(f.isString(x)){var E=[];return f.each(y,function(_,v){E[v]=function(S,O,L,M){var F=O.getItemLayout(S);return _[x](F,L,M)}}),E}else if(f.isFunction(x)){var T={};return f.each(y,function(_,v){T[v]=x}),T}return x}function c(C,x){var E=C.option.seriesIndex;return E!=null&&E!=="all"&&(f.isArray(E)?f.indexOf(E,x)<0:x!==E)}function p(C){var x=C.selectors={};return f.each(y[C.brushType],function(E,T){x[T]=function(_){return E(_,x,C)}}),C}var A={lineX:f.noop,lineY:f.noop,rect:function(C){return w(C.range)},polygon:function(C){for(var x,E=C.range,T=0,_=E.length;T<_;T++){x=x||[[Infinity,-Infinity],[Infinity,-Infinity]];var v=E[T];v[0]<x[0][0]&&(x[0][0]=v[0]),v[0]>x[0][1]&&(x[0][1]=v[0]),v[1]<x[1][0]&&(x[1][0]=v[1]),v[1]>x[1][1]&&(x[1][1]=v[1])}return x&&w(x)}};function w(C){return new b(C[0][0],C[1][0],C[0][1]-C[0][0],C[1][1]-C[1][0])}I.layoutCovers=d},ERHi:function(R,I,e){var g=e("ProS");e("Z6js"),e("R4Th");var f=e("f5Yq"),b=e("h8O9");g.registerVisual(f("effectScatter","circle")),g.registerLayout(b("effectScatter"))},EXcs:function(R,I,e){"use strict";var g=function(){return{height:0,opacity:0}},f=function(u){return{height:u.scrollHeight,opacity:1}},b=function(u){return{height:u.offsetHeight}},m=function(u,i){return i.propertyName==="height"},y={motionName:"ant-motion-collapse",onAppearStart:g,onEnterStart:g,onAppearActive:f,onEnterActive:f,onLeaveStart:b,onLeaveActive:g,onAppearEnd:m,onEnterEnd:m,onLeaveEnd:m,motionDeadline:500};I.a=y},Em2t:function(R,I,e){var g=e("bahg"),f=e("quyA"),b=e("0JQy");function m(y){return f(y)?b(y):g(y)}R.exports=m},EpBk:function(R,I){function e(g){var f=typeof g;return f=="string"||f=="number"||f=="symbol"||f=="boolean"?g!=="__proto__":g===null}R.exports=e},Ez2D:function(R,I,e){var g=e("bYtY"),f=e("4NO4");function b(m,y){var h=[],u=m.seriesIndex,i;if(u==null||!(i=y.getSeriesByIndex(u)))return{point:[]};var a=i.getData(),r=f.queryDataIndex(a,m);if(r==null||r<0||g.isArray(r))return{point:[]};var o=a.getItemGraphicEl(r),d=i.coordinateSystem;if(i.getTooltipPosition)h=i.getTooltipPosition(r)||[];else if(d&&d.dataToPoint)h=d.dataToPoint(a.getValues(g.map(d.dimensions,function(l){return a.mapDimension(l)}),r,!0))||[];else if(o){var n=o.getBoundingRect().clone();n.applyTransform(o.transform),h=[n.x+n.width/2,n.y+n.height/2]}return{point:h,el:o}}R.exports=b},F0hE:function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("ca2m"),m=e("Qxkt"),y=e("ICMv"),h=b.valueAxis;function u(r,o){return f.defaults({show:o},r)}var i=g.extendComponentModel({type:"radar",optionUpdated:function(){var r=this.get("boundaryGap"),o=this.get("splitNumber"),d=this.get("scale"),n=this.get("axisLine"),l=this.get("axisTick"),t=this.get("axisType"),s=this.get("axisLabel"),c=this.get("name"),p=this.get("name.show"),A=this.get("name.formatter"),w=this.get("nameGap"),C=this.get("triggerEvent"),x=f.map(this.get("indicator")||[],function(E){E.max!=null&&E.max>0&&!E.min?E.min=0:E.min!=null&&E.min<0&&!E.max&&(E.max=0);var T=c;if(E.color!=null&&(T=f.defaults({color:E.color},c)),E=f.merge(f.clone(E),{boundaryGap:r,splitNumber:o,scale:d,axisLine:n,axisTick:l,axisType:t,axisLabel:s,name:E.text,nameLocation:"end",nameGap:w,nameTextStyle:T,triggerEvent:C},!1),p||(E.name=""),typeof A=="string"){var _=E.name;E.name=A.replace("{value}",_!=null?_:"")}else typeof A=="function"&&(E.name=A(E.name,E));var v=f.extend(new m(E,null,this.ecModel),y);return v.mainType="radar",v.componentIndex=this.componentIndex,v},this);this.getIndicatorModels=function(){return x}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:f.merge({lineStyle:{color:"#bbb"}},h.axisLine),axisLabel:u(h.axisLabel,!1),axisTick:u(h.axisTick,!1),axisType:"interval",splitLine:u(h.splitLine,!0),splitArea:u(h.splitArea,!0),indicator:[]}}),a=i;R.exports=a},F1Ou:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0},f=g;I.default=f},F5Ls:function(R,I){var e={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function g(f,b){if(f==="china"){var m=e[b.name];if(m){var y=b.center;y[0]+=m[0]/10.5,y[1]+=-m[1]/(10.5/.75)}}}R.exports=g},F7hV:function(R,I,e){var g=e("MBQ8"),f=g.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return this.get("large")?this.get("progressive"):!1},getProgressiveThreshold:function(){var b=this.get("progressiveThreshold"),m=this.get("largeThreshold");return m>b&&(b=m),b},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}}});R.exports=f},F9bG:function(R,I,e){var g=e("bYtY"),f=e("ItGF"),b=e("4NO4"),m=b.makeInner,y=m(),h=g.each;function u(l,t,s){if(f.node)return;var c=t.getZr();y(c).records||(y(c).records={}),i(c,t);var p=y(c).records[l]||(y(c).records[l]={});p.handler=s}function i(l,t){if(y(l).initialized)return;y(l).initialized=!0,s("click",g.curry(o,"click")),s("mousemove",g.curry(o,"mousemove")),s("globalout",r);function s(c,p){l.on(c,function(A){var w=d(t);h(y(l).records,function(C){C&&p(C,A,w.dispatchAction)}),a(w.pendings,t)})}}function a(l,t){var s=l.showTip.length,c=l.hideTip.length,p;s?p=l.showTip[s-1]:c&&(p=l.hideTip[c-1]),p&&(p.dispatchAction=null,t.dispatchAction(p))}function r(l,t,s){l.handler("leave",null,s)}function o(l,t,s,c){t.handler(l,s,c)}function d(l){var t={showTip:[],hideTip:[]},s=function(c){var p=t[c.type];p?p.push(c):(c.dispatchAction=s,l.dispatchAction(c))};return{dispatchAction:s,pendings:t}}function n(l,t){if(f.node)return;var s=t.getZr(),c=(y(s).records||{})[l];c&&(y(s).records[l]=null)}I.register=u,I.unregister=n},FBjb:function(R,I,e){var g=e("bYtY"),f=e("oVpE"),b=f.createSymbol,m=e("IwbS"),y=e("OELB"),h=y.parsePercent,u=e("x3X8"),i=u.getDefaultLabel;function a(w,C,x){m.Group.call(this),this.updateData(w,C,x)}var r=a.prototype,o=a.getSymbolSize=function(w,C){var x=w.getItemVisual(C,"symbolSize");return x instanceof Array?x.slice():[+x,+x]};function d(w){return[w[0]/2,w[1]/2]}function n(w,C){this.parent.drift(w,C)}r._createSymbol=function(w,C,x,E,T){this.removeAll();var _=C.getItemVisual(x,"color"),v=b(w,-1,-1,2,2,_,T);v.attr({z2:100,culling:!0,scale:d(E)}),v.drift=n,this._symbolType=w,this.add(v)},r.stopSymbolAnimation=function(w){this.childAt(0).stopAnimation(w)},r.getSymbolPath=function(){return this.childAt(0)},r.getScale=function(){return this.childAt(0).scale},r.highlight=function(){this.childAt(0).trigger("emphasis")},r.downplay=function(){this.childAt(0).trigger("normal")},r.setZ=function(w,C){var x=this.childAt(0);x.zlevel=w,x.z=C},r.setDraggable=function(w){var C=this.childAt(0);C.draggable=w,C.cursor=w?"move":C.cursor},r.updateData=function(w,C,x){this.silent=!1;var E=w.getItemVisual(C,"symbol")||"circle",T=w.hostModel,_=o(w,C),v=E!==this._symbolType;if(v){var S=w.getItemVisual(C,"symbolKeepAspect");this._createSymbol(E,w,C,_,S)}else{var O=this.childAt(0);O.silent=!1,m.updateProps(O,{scale:d(_)},T,C)}if(this._updateCommon(w,C,_,x),v){var O=this.childAt(0),L=x&&x.fadeIn,M={scale:O.scale.slice()};L&&(M.style={opacity:O.style.opacity}),O.scale=[0,0],L&&(O.style.opacity=0),m.initProps(O,M,T,C)}this._seriesModel=T};var l=["itemStyle"],t=["emphasis","itemStyle"],s=["label"],c=["emphasis","label"];r._updateCommon=function(w,C,x,E){var T=this.childAt(0),_=w.hostModel,v=w.getItemVisual(C,"color");T.type!=="image"?T.useStyle({strokeNoScale:!0}):T.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var S=E&&E.itemStyle,O=E&&E.hoverItemStyle,L=E&&E.symbolOffset,M=E&&E.labelModel,F=E&&E.hoverLabelModel,U=E&&E.hoverAnimation,z=E&&E.cursorStyle;if(!E||w.hasItemOption){var W=E&&E.itemModel?E.itemModel:w.getItemModel(C);S=W.getModel(l).getItemStyle(["color"]),O=W.getModel(t).getItemStyle(),L=W.getShallow("symbolOffset"),M=W.getModel(s),F=W.getModel(c),U=W.getShallow("hoverAnimation"),z=W.getShallow("cursor")}else O=g.extend({},O);var N=T.style,H=w.getItemVisual(C,"symbolRotate");T.attr("rotation",(H||0)*Math.PI/180||0),L&&T.attr("position",[h(L[0],x[0]),h(L[1],x[1])]),z&&T.attr("cursor",z),T.setColor(v,E&&E.symbolInnerColor),T.setStyle(S);var j=w.getItemVisual(C,"opacity");j!=null&&(N.opacity=j);var k=w.getItemVisual(C,"liftZ"),B=T.__z2Origin;k!=null?B==null&&(T.__z2Origin=T.z2,T.z2+=k):B!=null&&(T.z2=B,T.__z2Origin=null);var V=E&&E.useNameLabel;m.setLabelStyle(N,O,M,F,{labelFetcher:_,labelDataIndex:C,defaultText:K,isRectText:!0,autoColor:v});function K(Y,Q){return V?w.getName(Y):i(w,Y)}T.__symbolOriginalScale=d(x),T.hoverStyle=O,T.highDownOnUpdate=U&&_.isAnimationEnabled()?p:null,m.setHoverStyle(T)};function p(w,C){if(this.incremental||this.useHoverLayer)return;if(C==="emphasis"){var x=this.__symbolOriginalScale,E=x[1]/x[0],T={scale:[Math.max(x[0]*1.1,x[0]+3),Math.max(x[1]*1.1,x[1]+3*E)]};this.animateTo(T,400,"elasticOut")}else C==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}r.fadeOut=function(w,C){var x=this.childAt(0);this.silent=x.silent=!0,!(C&&C.keepLabel)&&(x.style.text=null),m.updateProps(x,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,w)},g.inherits(a,m.Group);var A=a;R.exports=A},FGaS:function(R,I,e){var g=e("ProS"),f=e("IwbS"),b=e("bYtY"),m=e("oVpE");function y(u){return b.isArray(u)||(u=[+u,+u]),u}var h=g.extendChartView({type:"radar",render:function(u,i,a){var r=u.coordinateSystem,o=this.group,d=u.getData(),n=this._data;function l(c,p){var A=c.getItemVisual(p,"symbol")||"circle",w=c.getItemVisual(p,"color");if(A==="none")return;var C=y(c.getItemVisual(p,"symbolSize")),x=m.createSymbol(A,-1,-1,2,2,w);return x.attr({style:{strokeNoScale:!0},z2:100,scale:[C[0]/2,C[1]/2]}),x}function t(c,p,A,w,C,x){A.removeAll();for(var E=0;E<p.length-1;E++){var T=l(w,C);T&&(T.__dimIdx=E,c[E]?(T.attr("position",c[E]),f[x?"initProps":"updateProps"](T,{position:p[E]},u,C)):T.attr("position",p[E]),A.add(T))}}function s(c){return b.map(c,function(p){return[r.cx,r.cy]})}d.diff(n).add(function(c){var p=d.getItemLayout(c);if(!p)return;var A=new f.Polygon,w=new f.Polyline,C={shape:{points:p}};A.shape.points=s(p),w.shape.points=s(p),f.initProps(A,C,u,c),f.initProps(w,C,u,c);var x=new f.Group,E=new f.Group;x.add(w),x.add(A),x.add(E),t(w.shape.points,p,E,d,c,!0),d.setItemGraphicEl(c,x)}).update(function(c,p){var A=n.getItemGraphicEl(p),w=A.childAt(0),C=A.childAt(1),x=A.childAt(2),E={shape:{points:d.getItemLayout(c)}};if(!E.shape.points)return;t(w.shape.points,E.shape.points,x,d,c,!1),f.updateProps(w,E,u),f.updateProps(C,E,u),d.setItemGraphicEl(c,A)}).remove(function(c){o.remove(n.getItemGraphicEl(c))}).execute(),d.eachItemGraphicEl(function(c,p){var A=d.getItemModel(p),w=c.childAt(0),C=c.childAt(1),x=c.childAt(2),E=d.getItemVisual(p,"color");o.add(c),w.useStyle(b.defaults(A.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:E})),w.hoverStyle=A.getModel("emphasis.lineStyle").getLineStyle();var T=A.getModel("areaStyle"),_=A.getModel("emphasis.areaStyle"),v=T.isEmpty()&&T.parentModel.isEmpty(),S=_.isEmpty()&&_.parentModel.isEmpty();S=S&&v,C.ignore=v,C.useStyle(b.defaults(T.getAreaStyle(),{fill:E,opacity:.7})),C.hoverStyle=_.getAreaStyle();var O=A.getModel("itemStyle").getItemStyle(["color"]),L=A.getModel("emphasis.itemStyle").getItemStyle(),M=A.getModel("label"),F=A.getModel("emphasis.label");x.eachChild(function(U){U.setStyle(O),U.hoverStyle=b.clone(L);var z=d.get(d.dimensions[U.__dimIdx],p);(z==null||isNaN(z))&&(z=""),f.setLabelStyle(U.style,U.hoverStyle,M,F,{labelFetcher:d.hostModel,labelDataIndex:p,labelDimIndex:U.__dimIdx,defaultText:z,autoColor:E,isRectText:!0})}),c.highDownOnUpdate=function(U,z){C.attr("ignore",z==="emphasis"?S:v)},f.setHoverStyle(c)}),this._data=d},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});R.exports=h},FH2Y:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("ZMnZ"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},FNN5:function(R,I,e){var g=e("bYtY"),f=e("IwbS"),b=e("+rIm"),m=e("Znkb"),y=["axisLine","axisTickLabel","axisName"],h=["splitLine","splitArea","minorSplitLine"],u=m.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(a,r){if(this.group.removeAll(),!a.get("show"))return;var o=a.axis,d=o.polar,n=d.getAngleAxis(),l=o.getTicksCoords(),t=o.getMinorTicksCoords(),s=n.getExtent()[0],c=o.getExtent(),p=i(d,a,s),A=new b(a,p);g.each(y,A.add,A),this.group.add(A.getGroup()),g.each(h,function(w){a.get(w+".show")&&!o.scale.isBlank()&&this["_"+w](a,d,s,c,l,t)},this)},_splitLine:function(a,r,o,d,n){var l=a.getModel("splitLine"),t=l.getModel("lineStyle"),s=t.get("color"),c=0;s=s instanceof Array?s:[s];for(var p=[],A=0;A<n.length;A++){var w=c++%s.length;p[w]=p[w]||[],p[w].push(new f.Circle({shape:{cx:r.cx,cy:r.cy,r:n[A].coord}}))}for(var A=0;A<p.length;A++)this.group.add(f.mergePath(p[A],{style:g.defaults({stroke:s[A%s.length],fill:null},t.getLineStyle()),silent:!0}))},_minorSplitLine:function(a,r,o,d,n,l){if(!l.length)return;for(var t=a.getModel("minorSplitLine"),s=t.getModel("lineStyle"),c=[],p=0;p<l.length;p++)for(var A=0;A<l[p].length;A++)c.push(new f.Circle({shape:{cx:r.cx,cy:r.cy,r:l[p][A].coord}}));this.group.add(f.mergePath(c,{style:g.defaults({fill:null},s.getLineStyle()),silent:!0}))},_splitArea:function(a,r,o,d,n){if(!n.length)return;var l=a.getModel("splitArea"),t=l.getModel("areaStyle"),s=t.get("color"),c=0;s=s instanceof Array?s:[s];for(var p=[],A=n[0].coord,w=1;w<n.length;w++){var C=c++%s.length;p[C]=p[C]||[],p[C].push(new f.Sector({shape:{cx:r.cx,cy:r.cy,r0:A,r:n[w].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),A=n[w].coord}for(var w=0;w<p.length;w++)this.group.add(f.mergePath(p[w],{style:g.defaults({fill:s[w%s.length]},t.getAreaStyle()),silent:!0}))}});function i(a,r,o){return{position:[a.cx,a.cy],rotation:o/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:r.getModel("axisLabel").get("rotate"),z2:1}}R.exports=u},FUi9:function(R,I,e){var g=e("bYtY"),f=e("MwEJ"),b=e("aX7z"),m=e("ICMv"),y=e("Qxkt"),h=e("+TT/"),u=h.getLayoutRect;I.getLayoutRect=h.getLayoutRect;var i=e("7hqr"),a=i.enableDataStack,r=i.isDimensionStacked,o=i.getStackedDimension,d=e("hi0g");I.completeDimensions=d;var n=e("sdST");I.createDimensions=n;var l=e("oVpE");I.createSymbol=l.createSymbol;function t(A){return f(A.getSource(),A)}var s={isDimensionStacked:r,enableDataStack:a,getStackedDimension:o};function c(A,w){var C=w;y.isInstance(w)||(C=new y(w),g.mixin(C,m));var x=b.createScaleByModel(C);return x.setExtent(A[0],A[1]),b.niceScaleExtent(x,C),x}function p(A){g.mixin(A,m)}I.createList=t,I.dataStack=s,I.createScale=c,I.mixinAxisModelCommonMethods=p},"Fa/5":function(R,I,e){var g=e("ProS");e("y2l5"),e("q/+u");var f=e("f5Yq"),b=e("h8O9");e("Ae16"),g.registerVisual(f("scatter","circle")),g.registerLayout(b("scatter"))},FhB9:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};I.default=g},"Fm1+":function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("a7Wl")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="CaretUpOutlined";var u=b.forwardRef(h);I.default=u},Fofx:function(R,I){var e=typeof Float32Array=="undefined"?Array:Float32Array;function g(){var r=new e(6);return f(r),r}function f(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function b(r,o){return r[0]=o[0],r[1]=o[1],r[2]=o[2],r[3]=o[3],r[4]=o[4],r[5]=o[5],r}function m(r,o,d){var n=o[0]*d[0]+o[2]*d[1],l=o[1]*d[0]+o[3]*d[1],t=o[0]*d[2]+o[2]*d[3],s=o[1]*d[2]+o[3]*d[3],c=o[0]*d[4]+o[2]*d[5]+o[4],p=o[1]*d[4]+o[3]*d[5]+o[5];return r[0]=n,r[1]=l,r[2]=t,r[3]=s,r[4]=c,r[5]=p,r}function y(r,o,d){return r[0]=o[0],r[1]=o[1],r[2]=o[2],r[3]=o[3],r[4]=o[4]+d[0],r[5]=o[5]+d[1],r}function h(r,o,d){var n=o[0],l=o[2],t=o[4],s=o[1],c=o[3],p=o[5],A=Math.sin(d),w=Math.cos(d);return r[0]=n*w+s*A,r[1]=-n*A+s*w,r[2]=l*w+c*A,r[3]=-l*A+w*c,r[4]=w*t+A*p,r[5]=w*p-A*t,r}function u(r,o,d){var n=d[0],l=d[1];return r[0]=o[0]*n,r[1]=o[1]*l,r[2]=o[2]*n,r[3]=o[3]*l,r[4]=o[4]*n,r[5]=o[5]*l,r}function i(r,o){var d=o[0],n=o[2],l=o[4],t=o[1],s=o[3],c=o[5],p=d*s-t*n;return p?(p=1/p,r[0]=s*p,r[1]=-t*p,r[2]=-n*p,r[3]=d*p,r[4]=(n*c-s*l)*p,r[5]=(t*l-d*c)*p,r):null}function a(r){var o=g();return b(o,r),o}I.create=g,I.identity=f,I.copy=b,I.mul=m,I.translate=y,I.rotate=h,I.scale=u,I.invert=i,I.clone=a},Fv0C:function(R,I,e){"use strict";function g(l){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(s){return typeof s}:g=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},g(l)}Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var f=a(e("Lo0S")),b=e("vewr"),m=a(e("8CQX")),y=u(e("mHUz")),h=a(e("GdRQ"));function u(l){return l&&l.__esModule?l:{default:l}}function i(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return i=function(){return l},l}function a(l){if(l&&l.__esModule)return l;if(l===null||g(l)!=="object"&&typeof l!="function")return{default:l};var t=i();if(t&&t.has(l))return t.get(l);var s={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in l)if(Object.prototype.hasOwnProperty.call(l,p)){var A=c?Object.getOwnPropertyDescriptor(l,p):null;A&&(A.get||A.set)?Object.defineProperty(s,p,A):s[p]=l[p]}return s.default=l,t&&t.set(l,s),s}function r(l,t){if(!(l instanceof t))throw new TypeError("Cannot call a class as a function")}function o(l,t){for(var s=0;s<t.length;s++){var c=t[s];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(l,c.key,c)}}function d(l,t,s){return t&&o(l.prototype,t),s&&o(l,s),l}var n=function(){function l(t){r(this,l),this._target=t||null,this._keyDownList={},this._pendingKey=null,this._altGrArmed=!1,this._eventHandlers={keyup:this._handleKeyUp.bind(this),keydown:this._handleKeyDown.bind(this),keypress:this._handleKeyPress.bind(this),blur:this._allKeysUp.bind(this),checkalt:this._checkAlt.bind(this)},this.onkeyevent=function(){}}return d(l,[{key:"_sendKeyEvent",value:function(s,c,p){if(p)this._keyDownList[c]=s;else{if(!(c in this._keyDownList))return;delete this._keyDownList[c]}f.Debug("onkeyevent "+(p?"down":"up")+", keysym: "+s,", code: "+c),this.onkeyevent(s,c,p)}},{key:"_getKeyCode",value:function(s){var c=m.getKeycode(s);if(c!=="Unidentified")return c;if(s.keyCode&&s.type!=="keypress"&&s.keyCode!==229)return"Platform"+s.keyCode;if(s.keyIdentifier){if(s.keyIdentifier.substr(0,2)!=="U+")return s.keyIdentifier;var p=parseInt(s.keyIdentifier.substr(2),16),A=String.fromCharCode(p).toUpperCase();return"Platform"+A.charCodeAt()}return"Unidentified"}},{key:"_handleKeyDown",value:function(s){var c=this._getKeyCode(s),p=m.getKeysym(s);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),c==="AltRight"&&s.timeStamp-this._altGrCtrlTime<50?p=y.default.XK_ISO_Level3_Shift:this._sendKeyEvent(y.default.XK_Control_L,"ControlLeft",!0)),c==="Unidentified"){p&&(this._sendKeyEvent(p,c,!0),this._sendKeyEvent(p,c,!1)),(0,b.stopEvent)(s);return}if(h.isMac()||h.isIOS())switch(p){case y.default.XK_Super_L:p=y.default.XK_Alt_L;break;case y.default.XK_Super_R:p=y.default.XK_Super_L;break;case y.default.XK_Alt_L:p=y.default.XK_Mode_switch;break;case y.default.XK_Alt_R:p=y.default.XK_ISO_Level3_Shift;break}if(c in this._keyDownList&&(p=this._keyDownList[c]),(h.isMac()||h.isIOS())&&c==="CapsLock"){this._sendKeyEvent(y.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(y.default.XK_Caps_Lock,"CapsLock",!1),(0,b.stopEvent)(s);return}if(!p&&(!s.key||h.isIE()||h.isEdge())){this._pendingKey=c,setTimeout(this._handleKeyPressTimeout.bind(this),10,s);return}if(this._pendingKey=null,(0,b.stopEvent)(s),c==="ControlLeft"&&h.isWindows()&&!("ControlLeft"in this._keyDownList)){this._altGrArmed=!0,this._altGrTimeout=setTimeout(this._handleAltGrTimeout.bind(this),100),this._altGrCtrlTime=s.timeStamp;return}this._sendKeyEvent(p,c,!0)}},{key:"_handleKeyPress",value:function(s){if((0,b.stopEvent)(s),this._pendingKey===null)return;var c=this._getKeyCode(s),p=m.getKeysym(s);if(c!=="Unidentified"&&c!=this._pendingKey)return;if(c=this._pendingKey,this._pendingKey=null,!p){f.Info("keypress with no keysym:",s);return}this._sendKeyEvent(p,c,!0)}},{key:"_handleKeyPressTimeout",value:function(s){if(this._pendingKey===null)return;var c,p=this._pendingKey;if(this._pendingKey=null,s.keyCode>=48&&s.keyCode<=57)c=s.keyCode;else if(s.keyCode>=65&&s.keyCode<=90){var A=String.fromCharCode(s.keyCode);s.shiftKey?A=A.toUpperCase():A=A.toLowerCase(),c=A.charCodeAt()}else c=0;this._sendKeyEvent(c,p,!0)}},{key:"_handleKeyUp",value:function(s){(0,b.stopEvent)(s);var c=this._getKeyCode(s);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(y.default.XK_Control_L,"ControlLeft",!0)),(h.isMac()||h.isIOS())&&c==="CapsLock"){this._sendKeyEvent(y.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(y.default.XK_Caps_Lock,"CapsLock",!1);return}this._sendKeyEvent(this._keyDownList[c],c,!1),h.isWindows()&&(c==="ShiftLeft"||c==="ShiftRight")&&("ShiftRight"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftRight,"ShiftRight",!1),"ShiftLeft"in this._keyDownList&&this._sendKeyEvent(this._keyDownList.ShiftLeft,"ShiftLeft",!1))}},{key:"_handleAltGrTimeout",value:function(){this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(y.default.XK_Control_L,"ControlLeft",!0)}},{key:"_allKeysUp",value:function(){f.Debug(">> Keyboard.allKeysUp");for(var s in this._keyDownList)this._sendKeyEvent(this._keyDownList[s],s,!1);f.Debug("<< Keyboard.allKeysUp")}},{key:"_checkAlt",value:function(s){if(s.skipCheckAlt)return;if(s.altKey)return;var c=this._target,p=this._keyDownList;["AltLeft","AltRight"].forEach(function(A){if(!(A in p))return;var w=new KeyboardEvent("keyup",{key:p[A],code:A});w.skipCheckAlt=!0,c.dispatchEvent(w)})}},{key:"grab",value:function(){if(this._target.addEventListener("keydown",this._eventHandlers.keydown),this._target.addEventListener("keyup",this._eventHandlers.keyup),this._target.addEventListener("keypress",this._eventHandlers.keypress),window.addEventListener("blur",this._eventHandlers.blur),h.isWindows()&&h.isFirefox()){var s=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(c){return document.addEventListener(c,s,{capture:!0,passive:!0})})}}},{key:"ungrab",value:function(){if(h.isWindows()&&h.isFirefox()){var s=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(c){return document.removeEventListener(c,s)})}this._target.removeEventListener("keydown",this._eventHandlers.keydown),this._target.removeEventListener("keyup",this._eventHandlers.keyup),this._target.removeEventListener("keypress",this._eventHandlers.keypress),window.removeEventListener("blur",this._eventHandlers.blur),this._allKeysUp()}}]),l}();I.default=n},FxDU:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.createSensor=void 0;var g=e("QO+J"),f=e("j5sG"),b=typeof ResizeObserver!="undefined"?f.createSensor:g.createSensor;I.createSensor=b},GGyF:function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("wgjA")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="LeftOutlined";var u=b.forwardRef(h);I.default=u},GIiI:function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="PoweroffOutlined";var h=I.a=g.forwardRef(y)},GMDS:function(R,I,e){var g=e("bYtY"),f=e("4NgU"),b=e("jkPA"),m=f.prototype,y=f.extend({type:"ordinal",init:function(u,i){(!u||g.isArray(u))&&(u=new b({categories:u})),this._ordinalMeta=u,this._extent=i||[0,u.categories.length-1]},parse:function(u){return typeof u=="string"?this._ordinalMeta.getOrdinal(u):Math.round(u)},contain:function(u){return u=this.parse(u),m.contain.call(this,u)&&this._ordinalMeta.categories[u]!=null},normalize:function(u){return m.normalize.call(this,this.parse(u))},scale:function(u){return Math.round(m.scale.call(this,u))},getTicks:function(){for(var u=[],i=this._extent,a=i[0];a<=i[1];)u.push(a),a++;return u},getLabel:function(u){if(!this.isBlank())return this._ordinalMeta.categories[u]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(u,i){this.unionExtent(u.getApproximateExtent(i))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:g.noop,niceExtent:g.noop});y.create=function(){return new y};var h=y;R.exports=h},GQ8N:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.toUnsigned32bit=g,I.toSigned32bit=f;function g(b){return b>>>0}function f(b){return b|0}},GUcZ:function(R,I,e){"use strict";var g=e("fWQN"),f=e("mtLc"),b=function(){function de(){Object(g.a)(this,de)}return Object(f.a)(de,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function($,le){return $.__proto__=le,$},Object.assign=Object.assign||function($){if($==null)throw new TypeError("Cannot convert undefined or null to object");for(var le=Object($),Oe=1;Oe<arguments.length;Oe++){var ke=arguments[Oe];if(ke!=null)for(var Ue in ke)ke.hasOwnProperty(Ue)&&(le[Ue]=ke[Ue])}return le},typeof self.Promise!="function"&&e("E2g8").polyfill()}}]),de}();b.install();var m=b,y=e("+qE3"),h=e.n(y),u=function(){function de(){Object(g.a)(this,de)}return Object(f.a)(de,null,[{key:"e",value:function($,le){(!$||de.FORCE_GLOBAL_TAG)&&($=de.GLOBAL_TAG);var Oe="[".concat($,"] > ").concat(le);if(de.ENABLE_CALLBACK&&de.emitter.emit("log","error",Oe),!de.ENABLE_ERROR)return;console.error?console.error(Oe):console.warn?console.warn(Oe):console.log(Oe)}},{key:"i",value:function($,le){(!$||de.FORCE_GLOBAL_TAG)&&($=de.GLOBAL_TAG);var Oe="[".concat($,"] > ").concat(le);if(de.ENABLE_CALLBACK&&de.emitter.emit("log","info",Oe),!de.ENABLE_INFO)return;console.info?console.info(Oe):console.log(Oe)}},{key:"w",value:function($,le){(!$||de.FORCE_GLOBAL_TAG)&&($=de.GLOBAL_TAG);var Oe="[".concat($,"] > ").concat(le);if(de.ENABLE_CALLBACK&&de.emitter.emit("log","warn",Oe),!de.ENABLE_WARN)return;console.warn?console.warn(Oe):console.log(Oe)}},{key:"d",value:function($,le){(!$||de.FORCE_GLOBAL_TAG)&&($=de.GLOBAL_TAG);var Oe="[".concat($,"] > ").concat(le);if(de.ENABLE_CALLBACK&&de.emitter.emit("log","debug",Oe),!de.ENABLE_DEBUG)return;console.debug?console.debug(Oe):console.log(Oe)}},{key:"v",value:function($,le){(!$||de.FORCE_GLOBAL_TAG)&&($=de.GLOBAL_TAG);var Oe="[".concat($,"] > ").concat(le);if(de.ENABLE_CALLBACK&&de.emitter.emit("log","verbose",Oe),!de.ENABLE_VERBOSE)return;console.log(Oe)}}]),de}();u.GLOBAL_TAG="flv.js",u.FORCE_GLOBAL_TAG=!1,u.ENABLE_ERROR=!0,u.ENABLE_INFO=!0,u.ENABLE_WARN=!0,u.ENABLE_DEBUG=!0,u.ENABLE_VERBOSE=!0,u.ENABLE_CALLBACK=!1,u.emitter=new h.a;var i=u,a=function(){function de(){Object(g.a)(this,de),this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}return Object(f.a)(de,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function($){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=$,this._totalBytes+=$):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=$,this._totalBytes+=$):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=$,this._totalBytes+=$,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var $=(this._now()-this._lastCheckpoint)/1e3;return $==0&&($=1),this._intervalBytes/$/1024}},{key:"lastSecondKBps",get:function(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}},{key:"averageKBps",get:function(){var $=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/$/1024}}]),de}(),r=a,o=e("yKVA"),d=e("879j"),n=function(){function de(xe){Object(g.a)(this,de),this._message=xe}return Object(f.a)(de,[{key:"toString",value:function(){return this.name+": "+this.message}},{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}}]),de}(),l=function(de){Object(o.a)($,de);var xe=Object(d.a)($);function $(le){return Object(g.a)(this,$),xe.call(this,le)}return Object(f.a)($,[{key:"name",get:function(){return"IllegalStateException"}}]),$}(n),t=function(de){Object(o.a)($,de);var xe=Object(d.a)($);function $(le){return Object(g.a)(this,$),xe.call(this,le)}return Object(f.a)($,[{key:"name",get:function(){return"InvalidArgumentException"}}]),$}(n),s=function(de){Object(o.a)($,de);var xe=Object(d.a)($);function $(le){return Object(g.a)(this,$),xe.call(this,le)}return Object(f.a)($,[{key:"name",get:function(){return"NotImplementedException"}}]),$}(n),c={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},p={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"},A=function(){function de(xe){Object(g.a)(this,de),this._type=xe||"undefined",this._status=c.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return Object(f.a)(de,[{key:"destroy",value:function(){this._status=c.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}},{key:"isWorking",value:function(){return this._status===c.kConnecting||this._status===c.kBuffering}},{key:"open",value:function($,le){throw new s("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new s("Unimplemented abstract function!")}},{key:"type",get:function(){return this._type}},{key:"status",get:function(){return this._status}},{key:"needStashBuffer",get:function(){return this._needStash}},{key:"onContentLengthKnown",get:function(){return this._onContentLengthKnown},set:function($){this._onContentLengthKnown=$}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function($){this._onURLRedirect=$}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function($){this._onDataArrival=$}},{key:"onError",get:function(){return this._onError},set:function($){this._onError=$}},{key:"onComplete",get:function(){return this._onComplete},set:function($){this._onComplete=$}}]),de}(),w=e("oZsa");function C(de,xe){for(;!Object.prototype.hasOwnProperty.call(de,xe)&&!(de=Object(w.a)(de),de===null););return de}function x(de,xe,$){return typeof Reflect!="undefined"&&Reflect.get?x=Reflect.get:x=function(Oe,ke,Ue){var nt=C(Oe,ke);if(!nt)return;var At=Object.getOwnPropertyDescriptor(nt,ke);return At.get?At.get.call(Ue):At.value},x(de,xe,$||de)}var E={};function T(){var de=self.navigator.userAgent.toLowerCase(),xe=/(edge)\/([\w.]+)/.exec(de)||/(opr)[\/]([\w.]+)/.exec(de)||/(chrome)[ \/]([\w.]+)/.exec(de)||/(iemobile)[\/]([\w.]+)/.exec(de)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(de)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(de)||/(webkit)[ \/]([\w.]+)/.exec(de)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(de)||/(msie) ([\w.]+)/.exec(de)||de.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(de)||de.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(de)||[],$=/(ipad)/.exec(de)||/(ipod)/.exec(de)||/(windows phone)/.exec(de)||/(iphone)/.exec(de)||/(kindle)/.exec(de)||/(android)/.exec(de)||/(windows)/.exec(de)||/(mac)/.exec(de)||/(linux)/.exec(de)||/(cros)/.exec(de)||[],le={browser:xe[5]||xe[3]||xe[1]||"",version:xe[2]||xe[4]||"0",majorVersion:xe[4]||xe[2]||"0",platform:$[0]||""},Oe={};if(le.browser){Oe[le.browser]=!0;var ke=le.majorVersion.split(".");Oe.version={major:parseInt(le.majorVersion,10),string:le.version},ke.length>1&&(Oe.version.minor=parseInt(ke[1],10)),ke.length>2&&(Oe.version.build=parseInt(ke[2],10))}if(le.platform&&(Oe[le.platform]=!0),(Oe.chrome||Oe.opr||Oe.safari)&&(Oe.webkit=!0),Oe.rv||Oe.iemobile){Oe.rv&&delete Oe.rv;var Ue="msie";le.browser=Ue,Oe[Ue]=!0}if(Oe.edge){delete Oe.edge;var nt="msedge";le.browser=nt,Oe[nt]=!0}if(Oe.opr){var At="opera";le.browser=At,Oe[At]=!0}if(Oe.safari&&Oe.android){var Wt="android";le.browser=Wt,Oe[Wt]=!0}Oe.name=le.browser,Oe.platform=le.platform;for(var $t in E)E.hasOwnProperty($t)&&delete E[$t];Object.assign(E,Oe)}T();var _=E,v=function(de){Object(o.a)($,de);var xe=Object(d.a)($);Object(f.a)($,null,[{key:"isSupported",value:function(){try{var Oe=_.msedge&&_.version.minor>=15048,ke=_.msedge?Oe:!0;return self.fetch&&self.ReadableStream&&ke}catch(Ue){return!1}}}]);function $(le,Oe){var ke;return Object(g.a)(this,$),ke=xe.call(this,"fetch-stream-loader"),ke.TAG="FetchStreamLoader",ke._seekHandler=le,ke._config=Oe,ke._needStash=!0,ke._requestAbort=!1,ke._contentLength=null,ke._receivedLength=0,ke}return Object(f.a)($,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),x(Object(w.a)($.prototype),"destroy",this).call(this)}},{key:"open",value:function(Oe,ke){var Ue=this;this._dataSource=Oe,this._range=ke;var nt=Oe.url;this._config.reuseRedirectedURL&&Oe.redirectedURL!=null&&(nt=Oe.redirectedURL);var At=this._seekHandler.getConfig(nt,ke),Wt=new self.Headers;if(typeof At.headers=="object"){var $t=At.headers;for(var Rt in $t)$t.hasOwnProperty(Rt)&&Wt.append(Rt,$t[Rt])}var zt={method:"GET",headers:Wt,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var Gt in this._config.headers)Wt.append(Gt,this._config.headers[Gt]);Oe.cors===!1&&(zt.mode="same-origin"),Oe.withCredentials&&(zt.credentials="include"),Oe.referrerPolicy&&(zt.referrerPolicy=Oe.referrerPolicy),this._status=c.kConnecting,self.fetch(At.url,zt).then(function(Qt){if(Ue._requestAbort){Ue._requestAbort=!1,Ue._status=c.kIdle;return}if(Qt.ok&&Qt.status>=200&&Qt.status<=299){if(Qt.url!==At.url&&Ue._onURLRedirect){var Mt=Ue._seekHandler.removeURLParameters(Qt.url);Ue._onURLRedirect(Mt)}var dr=Qt.headers.get("Content-Length");return dr!=null&&(Ue._contentLength=parseInt(dr),Ue._contentLength!==0&&(Ue._onContentLengthKnown&&Ue._onContentLengthKnown(Ue._contentLength))),Ue._pump.call(Ue,Qt.body.getReader())}else if(Ue._status=c.kError,Ue._onError)Ue._onError(p.HTTP_STATUS_CODE_INVALID,{code:Qt.status,msg:Qt.statusText});else throw new n("FetchStreamLoader: Http code invalid, "+Qt.status+" "+Qt.statusText)}).catch(function(Qt){if(Ue._status=c.kError,Ue._onError)Ue._onError(p.EXCEPTION,{code:-1,msg:Qt.message});else throw Qt})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(Oe){var ke=this;return Oe.read().then(function(Ue){if(Ue.done)if(ke._contentLength!==null&&ke._receivedLength<ke._contentLength){ke._status=c.kError;var nt=p.EARLY_EOF,At={code:-1,msg:"Fetch stream meet Early-EOF"};if(ke._onError)ke._onError(nt,At);else throw new n(At.msg)}else ke._status=c.kComplete,ke._onComplete&&ke._onComplete(ke._range.from,ke._range.from+ke._receivedLength-1);else{if(ke._requestAbort===!0)return ke._requestAbort=!1,ke._status=c.kComplete,Oe.cancel();ke._status=c.kBuffering;var Wt=Ue.value.buffer,$t=ke._range.from+ke._receivedLength;ke._receivedLength+=Wt.byteLength,ke._onDataArrival&&ke._onDataArrival(Wt,$t,ke._receivedLength),ke._pump(Oe)}}).catch(function(Ue){if(Ue.code===11&&_.msedge)return;ke._status=c.kError;var nt=0,At=null;if((Ue.code===19||Ue.message==="network error")&&(ke._contentLength===null||ke._contentLength!==null&&ke._receivedLength<ke._contentLength)?(nt=p.EARLY_EOF,At={code:Ue.code,msg:"Fetch stream meet Early-EOF"}):(nt=p.EXCEPTION,At={code:Ue.code,msg:Ue.message}),ke._onError)ke._onError(nt,At);else throw new n(At.msg)})}}]),$}(A),S=v,O=function(de){Object(o.a)($,de);var xe=Object(d.a)($);Object(f.a)($,null,[{key:"isSupported",value:function(){try{var Oe=new XMLHttpRequest;return Oe.open("GET","https://example.com",!0),Oe.responseType="moz-chunked-arraybuffer",Oe.responseType==="moz-chunked-arraybuffer"}catch(ke){return i.w("MozChunkedLoader",ke.message),!1}}}]);function $(le,Oe){var ke;return Object(g.a)(this,$),ke=xe.call(this,"xhr-moz-chunked-loader"),ke.TAG="MozChunkedLoader",ke._seekHandler=le,ke._config=Oe,ke._needStash=!0,ke._xhr=null,ke._requestAbort=!1,ke._contentLength=null,ke._receivedLength=0,ke}return Object(f.a)($,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onloadend=null,this._xhr.onerror=null,this._xhr=null),x(Object(w.a)($.prototype),"destroy",this).call(this)}},{key:"open",value:function(Oe,ke){this._dataSource=Oe,this._range=ke;var Ue=Oe.url;this._config.reuseRedirectedURL&&Oe.redirectedURL!=null&&(Ue=Oe.redirectedURL);var nt=this._seekHandler.getConfig(Ue,ke);this._requestURL=nt.url;var At=this._xhr=new XMLHttpRequest;if(At.open("GET",nt.url,!0),At.responseType="moz-chunked-arraybuffer",At.onreadystatechange=this._onReadyStateChange.bind(this),At.onprogress=this._onProgress.bind(this),At.onloadend=this._onLoadEnd.bind(this),At.onerror=this._onXhrError.bind(this),Oe.withCredentials&&(At.withCredentials=!0),typeof nt.headers=="object"){var Wt=nt.headers;for(var $t in Wt)Wt.hasOwnProperty($t)&&At.setRequestHeader($t,Wt[$t])}if(typeof this._config.headers=="object"){var Rt=this._config.headers;for(var zt in Rt)Rt.hasOwnProperty(zt)&&At.setRequestHeader(zt,Rt[zt])}this._status=c.kConnecting,At.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=c.kComplete}},{key:"_onReadyStateChange",value:function(Oe){var ke=Oe.target;if(ke.readyState===2){if(ke.responseURL!=null&&ke.responseURL!==this._requestURL&&this._onURLRedirect){var Ue=this._seekHandler.removeURLParameters(ke.responseURL);this._onURLRedirect(Ue)}if(ke.status!==0&&(ke.status<200||ke.status>299))if(this._status=c.kError,this._onError)this._onError(p.HTTP_STATUS_CODE_INVALID,{code:ke.status,msg:ke.statusText});else throw new n("MozChunkedLoader: Http code invalid, "+ke.status+" "+ke.statusText);else this._status=c.kBuffering}}},{key:"_onProgress",value:function(Oe){if(this._status===c.kError)return;this._contentLength===null&&(Oe.total!==null&&Oe.total!==0&&(this._contentLength=Oe.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var ke=Oe.target.response,Ue=this._range.from+this._receivedLength;this._receivedLength+=ke.byteLength,this._onDataArrival&&this._onDataArrival(ke,Ue,this._receivedLength)}},{key:"_onLoadEnd",value:function(Oe){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===c.kError)return;this._status=c.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}},{key:"_onXhrError",value:function(Oe){this._status=c.kError;var ke=0,Ue=null;if(this._contentLength&&Oe.loaded<this._contentLength?(ke=p.EARLY_EOF,Ue={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(ke=p.EXCEPTION,Ue={code:-1,msg:Oe.constructor.name+" "+Oe.type}),this._onError)this._onError(ke,Ue);else throw new n(Ue.msg)}}]),$}(A),L=O,M=function(de){Object(o.a)($,de);var xe=Object(d.a)($);Object(f.a)($,null,[{key:"isSupported",value:function(){try{if(typeof self.MSStream=="undefined"||typeof self.MSStreamReader=="undefined")return!1;var Oe=new XMLHttpRequest;return Oe.open("GET","https://example.com",!0),Oe.responseType="ms-stream",Oe.responseType==="ms-stream"}catch(ke){return i.w("MSStreamLoader",ke.message),!1}}}]);function $(le,Oe){var ke;return Object(g.a)(this,$),ke=xe.call(this,"xhr-msstream-loader"),ke.TAG="MSStreamLoader",ke._seekHandler=le,ke._config=Oe,ke._needStash=!0,ke._xhr=null,ke._reader=null,ke._totalRange=null,ke._currentRange=null,ke._currentRequestURL=null,ke._currentRedirectedURL=null,ke._contentLength=null,ke._receivedLength=0,ke._bufferLimit=16*1024*1024,ke._lastTimeBufferSize=0,ke._isReconnecting=!1,ke}return Object(f.a)($,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._reader&&(this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr=null),x(Object(w.a)($.prototype),"destroy",this).call(this)}},{key:"open",value:function(Oe,ke){this._internalOpen(Oe,ke,!1)}},{key:"_internalOpen",value:function(Oe,ke,Ue){this._dataSource=Oe,Ue?this._currentRange=ke:this._totalRange=ke;var nt=Oe.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?nt=this._currentRedirectedURL:Oe.redirectedURL!=null&&(nt=Oe.redirectedURL));var At=this._seekHandler.getConfig(nt,ke);this._currentRequestURL=At.url;var Wt=this._reader=new self.MSStreamReader;Wt.onprogress=this._msrOnProgress.bind(this),Wt.onload=this._msrOnLoad.bind(this),Wt.onerror=this._msrOnError.bind(this);var $t=this._xhr=new XMLHttpRequest;if($t.open("GET",At.url,!0),$t.responseType="ms-stream",$t.onreadystatechange=this._xhrOnReadyStateChange.bind(this),$t.onerror=this._xhrOnError.bind(this),Oe.withCredentials&&($t.withCredentials=!0),typeof At.headers=="object"){var Rt=At.headers;for(var zt in Rt)Rt.hasOwnProperty(zt)&&$t.setRequestHeader(zt,Rt[zt])}if(typeof this._config.headers=="object"){var Gt=this._config.headers;for(var Qt in Gt)Gt.hasOwnProperty(Qt)&&$t.setRequestHeader(Qt,Gt[Qt])}this._isReconnecting?this._isReconnecting=!1:this._status=c.kConnecting,$t.send()}},{key:"abort",value:function(){this._internalAbort(),this._status=c.kComplete}},{key:"_internalAbort",value:function(){this._reader&&(this._reader.readyState===1&&this._reader.abort(),this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.abort(),this._xhr.onreadystatechange=null,this._xhr=null)}},{key:"_xhrOnReadyStateChange",value:function(Oe){var ke=Oe.target;if(ke.readyState===2)if(ke.status>=200&&ke.status<=299){if(this._status=c.kBuffering,ke.responseURL!=null){var Ue=this._seekHandler.removeURLParameters(ke.responseURL);ke.responseURL!==this._currentRequestURL&&Ue!==this._currentRedirectedURL&&(this._currentRedirectedURL=Ue,this._onURLRedirect&&this._onURLRedirect(Ue))}var nt=ke.getResponseHeader("Content-Length");if(nt!=null&&this._contentLength==null){var At=parseInt(nt);At>0&&(this._contentLength=At,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=c.kError,this._onError)this._onError(p.HTTP_STATUS_CODE_INVALID,{code:ke.status,msg:ke.statusText});else throw new n("MSStreamLoader: Http code invalid, "+ke.status+" "+ke.statusText);else if(ke.readyState===3&&(ke.status>=200&&ke.status<=299)){this._status=c.kBuffering;var Wt=ke.response;this._reader.readAsArrayBuffer(Wt)}}},{key:"_xhrOnError",value:function(Oe){this._status=c.kError;var ke=p.EXCEPTION,Ue={code:-1,msg:Oe.constructor.name+" "+Oe.type};if(this._onError)this._onError(ke,Ue);else throw new n(Ue.msg)}},{key:"_msrOnProgress",value:function(Oe){var ke=Oe.target,Ue=ke.result;if(Ue==null){this._doReconnectIfNeeded();return}var nt=Ue.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=Ue.byteLength;var At=this._totalRange.from+this._receivedLength;this._receivedLength+=nt.byteLength,this._onDataArrival&&this._onDataArrival(nt,At,this._receivedLength),Ue.byteLength>=this._bufferLimit&&(i.v(this.TAG,"MSStream buffer exceeded max size near ".concat(At+nt.byteLength,", reconnecting...")),this._doReconnectIfNeeded())}},{key:"_doReconnectIfNeeded",value:function(){if(this._contentLength==null||this._receivedLength<this._contentLength){this._isReconnecting=!0,this._lastTimeBufferSize=0,this._internalAbort();var Oe={from:this._totalRange.from+this._receivedLength,to:-1};this._internalOpen(this._dataSource,Oe,!0)}}},{key:"_msrOnLoad",value:function(Oe){this._status=c.kComplete,this._onComplete&&this._onComplete(this._totalRange.from,this._totalRange.from+this._receivedLength-1)}},{key:"_msrOnError",value:function(Oe){this._status=c.kError;var ke=0,Ue=null;if(this._contentLength&&this._receivedLength<this._contentLength?(ke=p.EARLY_EOF,Ue={code:-1,msg:"MSStream meet Early-Eof"}):(ke=p.EARLY_EOF,Ue={code:-1,msg:Oe.constructor.name+" "+Oe.type}),this._onError)this._onError(ke,Ue);else throw new n(Ue.msg)}}]),$}(A),F=M,U=function(de){Object(o.a)($,de);var xe=Object(d.a)($);Object(f.a)($,null,[{key:"isSupported",value:function(){try{var Oe=new XMLHttpRequest;return Oe.open("GET","https://example.com",!0),Oe.responseType="arraybuffer",Oe.responseType==="arraybuffer"}catch(ke){return i.w("RangeLoader",ke.message),!1}}}]);function $(le,Oe){var ke;return Object(g.a)(this,$),ke=xe.call(this,"xhr-range-loader"),ke.TAG="RangeLoader",ke._seekHandler=le,ke._config=Oe,ke._needStash=!1,ke._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],ke._currentChunkSizeKB=384,ke._currentSpeedNormalized=0,ke._zeroSpeedChunkCount=0,ke._xhr=null,ke._speedSampler=new r,ke._requestAbort=!1,ke._waitForTotalLength=!1,ke._totalLengthReceived=!1,ke._currentRequestURL=null,ke._currentRedirectedURL=null,ke._currentRequestRange=null,ke._totalLength=null,ke._contentLength=null,ke._receivedLength=0,ke._lastTimeLoaded=0,ke}return Object(f.a)($,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr=null),x(Object(w.a)($.prototype),"destroy",this).call(this)}},{key:"open",value:function(Oe,ke){this._dataSource=Oe,this._range=ke,this._status=c.kConnecting;var Ue=!1;this._dataSource.filesize!=null&&this._dataSource.filesize!==0&&(Ue=!0,this._totalLength=this._dataSource.filesize),!this._totalLengthReceived&&!Ue?(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1})):this._openSubRange()}},{key:"_openSubRange",value:function(){var Oe=this._currentChunkSizeKB*1024,ke=this._range.from+this._receivedLength,Ue=ke+Oe;this._contentLength!=null&&(Ue-this._range.from>=this._contentLength&&(Ue=this._range.from+this._contentLength-1)),this._currentRequestRange={from:ke,to:Ue},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(Oe,ke){this._lastTimeLoaded=0;var Ue=Oe.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Ue=this._currentRedirectedURL:Oe.redirectedURL!=null&&(Ue=Oe.redirectedURL));var nt=this._seekHandler.getConfig(Ue,ke);this._currentRequestURL=nt.url;var At=this._xhr=new XMLHttpRequest;if(At.open("GET",nt.url,!0),At.responseType="arraybuffer",At.onreadystatechange=this._onReadyStateChange.bind(this),At.onprogress=this._onProgress.bind(this),At.onload=this._onLoad.bind(this),At.onerror=this._onXhrError.bind(this),Oe.withCredentials&&(At.withCredentials=!0),typeof nt.headers=="object"){var Wt=nt.headers;for(var $t in Wt)Wt.hasOwnProperty($t)&&At.setRequestHeader($t,Wt[$t])}if(typeof this._config.headers=="object"){var Rt=this._config.headers;for(var zt in Rt)Rt.hasOwnProperty(zt)&&At.setRequestHeader(zt,Rt[zt])}At.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._internalAbort(),this._status=c.kComplete}},{key:"_internalAbort",value:function(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}},{key:"_onReadyStateChange",value:function(Oe){var ke=Oe.target;if(ke.readyState===2){if(ke.responseURL!=null){var Ue=this._seekHandler.removeURLParameters(ke.responseURL);ke.responseURL!==this._currentRequestURL&&Ue!==this._currentRedirectedURL&&(this._currentRedirectedURL=Ue,this._onURLRedirect&&this._onURLRedirect(Ue))}if(ke.status>=200&&ke.status<=299){if(this._waitForTotalLength)return;this._status=c.kBuffering}else if(this._status=c.kError,this._onError)this._onError(p.HTTP_STATUS_CODE_INVALID,{code:ke.status,msg:ke.statusText});else throw new n("RangeLoader: Http code invalid, "+ke.status+" "+ke.statusText)}}},{key:"_onProgress",value:function(Oe){if(this._status===c.kError)return;if(this._contentLength===null){var ke=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,ke=!0;var Ue=Oe.total;this._internalAbort(),Ue!=null&Ue!==0&&(this._totalLength=Ue)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,ke){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var nt=Oe.loaded-this._lastTimeLoaded;this._lastTimeLoaded=Oe.loaded,this._speedSampler.addBytes(nt)}},{key:"_normalizeSpeed",value:function(Oe){var ke=this._chunkSizeKBList,Ue=ke.length-1,nt=0,At=0,Wt=Ue;if(Oe<ke[0])return ke[0];for(;At<=Wt;){if(nt=At+Math.floor((Wt-At)/2),nt===Ue||Oe>=ke[nt]&&Oe<ke[nt+1])return ke[nt];ke[nt]<Oe?At=nt+1:Wt=nt-1}}},{key:"_onLoad",value:function(Oe){if(this._status===c.kError)return;if(this._waitForTotalLength){this._waitForTotalLength=!1;return}this._lastTimeLoaded=0;var ke=this._speedSampler.lastSecondKBps;if(ke===0&&(this._zeroSpeedChunkCount++,this._zeroSpeedChunkCount>=3&&(ke=this._speedSampler.currentKBps)),ke!==0){var Ue=this._normalizeSpeed(ke);this._currentSpeedNormalized!==Ue&&(this._currentSpeedNormalized=Ue,this._currentChunkSizeKB=Ue)}var nt=Oe.target.response,At=this._range.from+this._receivedLength;this._receivedLength+=nt.byteLength;var Wt=!1;this._contentLength!=null&&this._receivedLength<this._contentLength?this._openSubRange():Wt=!0,this._onDataArrival&&this._onDataArrival(nt,At,this._receivedLength),Wt&&(this._status=c.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1))}},{key:"_onXhrError",value:function(Oe){this._status=c.kError;var ke=0,Ue=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(ke=p.EARLY_EOF,Ue={code:-1,msg:"RangeLoader meet Early-Eof"}):(ke=p.EXCEPTION,Ue={code:-1,msg:Oe.constructor.name+" "+Oe.type}),this._onError)this._onError(ke,Ue);else throw new n(Ue.msg)}},{key:"currentSpeed",get:function(){return this._speedSampler.lastSecondKBps}}]),$}(A),z=U,W=function(de){Object(o.a)($,de);var xe=Object(d.a)($);Object(f.a)($,null,[{key:"isSupported",value:function(){try{return typeof self.WebSocket!="undefined"}catch(Oe){return!1}}}]);function $(){var le;return Object(g.a)(this,$),le=xe.call(this,"websocket-loader"),le.TAG="WebSocketLoader",le._needStash=!0,le._ws=null,le._requestAbort=!1,le._receivedLength=0,le}return Object(f.a)($,[{key:"destroy",value:function(){this._ws&&this.abort(),x(Object(w.a)($.prototype),"destroy",this).call(this)}},{key:"open",value:function(Oe){try{var ke=this._ws=new self.WebSocket(Oe.url);ke.binaryType="arraybuffer",ke.onopen=this._onWebSocketOpen.bind(this),ke.onclose=this._onWebSocketClose.bind(this),ke.onmessage=this._onWebSocketMessage.bind(this),ke.onerror=this._onWebSocketError.bind(this),this._status=c.kConnecting}catch(nt){this._status=c.kError;var Ue={code:nt.code,msg:nt.message};if(this._onError)this._onError(p.EXCEPTION,Ue);else throw new n(Ue.msg)}}},{key:"abort",value:function(){var Oe=this._ws;Oe&&(Oe.readyState===0||Oe.readyState===1)&&(this._requestAbort=!0,Oe.close()),this._ws=null,this._status=c.kComplete}},{key:"_onWebSocketOpen",value:function(Oe){this._status=c.kBuffering}},{key:"_onWebSocketClose",value:function(Oe){if(this._requestAbort===!0){this._requestAbort=!1;return}this._status=c.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)}},{key:"_onWebSocketMessage",value:function(Oe){var ke=this;if(Oe.data instanceof ArrayBuffer)this._dispatchArrayBuffer(Oe.data);else if(Oe.data instanceof Blob){var Ue=new FileReader;Ue.onload=function(){ke._dispatchArrayBuffer(Ue.result)},Ue.readAsArrayBuffer(Oe.data)}else{this._status=c.kError;var nt={code:-1,msg:"Unsupported WebSocket message type: "+Oe.data.constructor.name};if(this._onError)this._onError(p.EXCEPTION,nt);else throw new n(nt.msg)}}},{key:"_dispatchArrayBuffer",value:function(Oe){var ke=Oe,Ue=this._receivedLength;this._receivedLength+=ke.byteLength,this._onDataArrival&&this._onDataArrival(ke,Ue,this._receivedLength)}},{key:"_onWebSocketError",value:function(Oe){this._status=c.kError;var ke={code:Oe.code,msg:Oe.message};if(this._onError)this._onError(p.EXCEPTION,ke);else throw new n(ke.msg)}}]),$}(A),N=W,H=function(){function de(xe){Object(g.a)(this,de),this._zeroStart=xe||!1}return Object(f.a)(de,[{key:"getConfig",value:function($,le){var Oe={};if(le.from!==0||le.to!==-1){var ke;le.to!==-1?ke="bytes=".concat(le.from.toString(),"-").concat(le.to.toString()):ke="bytes=".concat(le.from.toString(),"-"),Oe.Range=ke}else this._zeroStart&&(Oe.Range="bytes=0-");return{url:$,headers:Oe}}},{key:"removeURLParameters",value:function($){return $}}]),de}(),j=H,k=function(){function de(xe,$){Object(g.a)(this,de),this._startName=xe,this._endName=$}return Object(f.a)(de,[{key:"getConfig",value:function($,le){var Oe=$;if(le.from!==0||le.to!==-1){var ke=!0;Oe.indexOf("?")===-1&&(Oe+="?",ke=!1),ke&&(Oe+="&"),Oe+="".concat(this._startName,"=").concat(le.from.toString()),le.to!==-1&&(Oe+="&".concat(this._endName,"=").concat(le.to.toString()))}return{url:Oe,headers:{}}}},{key:"removeURLParameters",value:function($){var le=$.split("?")[0],Oe=void 0,ke=$.indexOf("?");ke!==-1&&(Oe=$.substring(ke+1));var Ue="";if(Oe!=null&&Oe.length>0)for(var nt=Oe.split("&"),At=0;At<nt.length;At++){var Wt=nt[At].split("="),$t=At>0;Wt[0]!==this._startName&&Wt[0]!==this._endName&&($t&&(Ue+="&"),Ue+=nt[At])}return Ue.length===0?le:le+"?"+Ue}}]),de}(),B=k,V=function(){function de(xe,$,le){Object(g.a)(this,de),this.TAG="IOController",this._config=$,this._extraData=le,this._stashInitialSize=1024*384,$.stashInitialSize!=null&&$.stashInitialSize>0&&(this._stashInitialSize=$.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,$.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=xe,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(xe.url),this._refTotalLength=xe.filesize?xe.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new r,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}return Object(f.a)(de,[{key:"destroy",value:function(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}},{key:"isWorking",value:function(){return this._loader&&this._loader.isWorking()&&!this._paused}},{key:"isPaused",value:function(){return this._paused}},{key:"_selectSeekHandler",value:function(){var $=this._config;if($.seekType==="range")this._seekHandler=new j(this._config.rangeLoadZeroStart);else if($.seekType==="param"){var le=$.seekParamStart||"bstart",Oe=$.seekParamEnd||"bend";this._seekHandler=new B(le,Oe)}else if($.seekType==="custom"){if(typeof $.customSeekHandler!="function")throw new t("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new $.customSeekHandler}else throw new t("Invalid seekType in config: ".concat($.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=N;else if(S.isSupported())this._loaderClass=S;else if(L.isSupported())this._loaderClass=L;else if(z.isSupported())this._loaderClass=z;else throw new n("Your browser doesn't support xhr with arraybuffer responseType!")}},{key:"_createLoader",value:function(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}},{key:"open",value:function($){this._currentRange={from:0,to:-1},$&&(this._currentRange.from=$),this._speedSampler.reset(),$||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}},{key:"abort",value:function(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}},{key:"pause",value:function(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}},{key:"resume",value:function(){if(this._paused){this._paused=!1;var $=this._resumeFrom;this._resumeFrom=0,this._internalSeek($,!0)}}},{key:"seek",value:function($){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek($,!0)}},{key:"_internalSeek",value:function($,le){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(le),this._loader.destroy(),this._loader=null;var Oe={from:$,to:-1};this._currentRange={from:Oe.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,Oe),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function($){if(!$||typeof $!="string"||$.length===0)throw new t("Url must be a non-empty string!");this._dataSource.url=$}},{key:"_expandBuffer",value:function($){for(var le=this._stashSize;le+1024*1024*1<$;)le*=2;if(le+=1024*1024*1,le===this._bufferSize)return;var Oe=new ArrayBuffer(le);if(this._stashUsed>0){var ke=new Uint8Array(this._stashBuffer,0,this._stashUsed),Ue=new Uint8Array(Oe,0,le);Ue.set(ke,0)}this._stashBuffer=Oe,this._bufferSize=le}},{key:"_normalizeSpeed",value:function($){var le=this._speedNormalizeList,Oe=le.length-1,ke=0,Ue=0,nt=Oe;if($<le[0])return le[0];for(;Ue<=nt;){if(ke=Ue+Math.floor((nt-Ue)/2),ke===Oe||$>=le[ke]&&$<le[ke+1])return le[ke];le[ke]<$?Ue=ke+1:nt=ke-1}}},{key:"_adjustStashSize",value:function($){var le=0;this._config.isLive||$<512?le=$:$>=512&&$<=1024?le=Math.floor($*1.5):le=$*2,le>8192&&(le=8192);var Oe=le*1024+1024*1024*1;this._bufferSize<Oe&&this._expandBuffer(Oe),this._stashSize=le*1024}},{key:"_dispatchChunks",value:function($,le){return this._currentRange.to=le+$.byteLength-1,this._onDataArrival($,le)}},{key:"_onURLRedirect",value:function($){this._redirectedURL=$,this._onRedirect&&this._onRedirect($)}},{key:"_onContentLengthKnown",value:function($){$&&this._fullRequestFlag&&(this._totalLength=$,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function($,le,Oe){if(!this._onDataArrival)throw new l("IOController: No existing consumer (onDataArrival) callback!");if(this._paused)return;this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes($.byteLength);var ke=this._speedSampler.lastSecondKBps;if(ke!==0){var Ue=this._normalizeSpeed(ke);this._speedNormalized!==Ue&&(this._speedNormalized=Ue,this._adjustStashSize(Ue))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=le),this._stashUsed+$.byteLength<=this._stashSize){var Gt=new Uint8Array(this._stashBuffer,0,this._stashSize);Gt.set(new Uint8Array($),this._stashUsed),this._stashUsed+=$.byteLength}else{var Qt=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var Mt=this._stashBuffer.slice(0,this._stashUsed),dr=this._dispatchChunks(Mt,this._stashByteStart);if(dr<Mt.byteLength){if(dr>0){var er=new Uint8Array(Mt,dr);Qt.set(er,0),this._stashUsed=er.byteLength,this._stashByteStart+=dr}}else this._stashUsed=0,this._stashByteStart+=dr;this._stashUsed+$.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+$.byteLength),Qt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Qt.set(new Uint8Array($),this._stashUsed),this._stashUsed+=$.byteLength}else{var ht=this._dispatchChunks($,le);if(ht<$.byteLength){var Et=$.byteLength-ht;Et>this._bufferSize&&(this._expandBuffer(Et),Qt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Qt.set(new Uint8Array($,ht),0),this._stashUsed+=Et,this._stashByteStart=le+ht}}}else if(this._stashUsed===0){var nt=this._dispatchChunks($,le);if(nt<$.byteLength){var At=$.byteLength-nt;At>this._bufferSize&&this._expandBuffer(At);var Wt=new Uint8Array(this._stashBuffer,0,this._bufferSize);Wt.set(new Uint8Array($,nt),0),this._stashUsed+=At,this._stashByteStart=le+nt}}else{this._stashUsed+$.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+$.byteLength);var $t=new Uint8Array(this._stashBuffer,0,this._bufferSize);$t.set(new Uint8Array($),this._stashUsed),this._stashUsed+=$.byteLength;var Rt=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(Rt<this._stashUsed&&Rt>0){var zt=new Uint8Array(this._stashBuffer,Rt);$t.set(zt,0)}this._stashUsed-=Rt,this._stashByteStart+=Rt}}},{key:"_flushStashBuffer",value:function($){if(this._stashUsed>0){var le=this._stashBuffer.slice(0,this._stashUsed),Oe=this._dispatchChunks(le,this._stashByteStart),ke=le.byteLength-Oe;if(Oe<le.byteLength)if($)i.w(this.TAG,"".concat(ke," bytes unconsumed data remain when flush buffer, dropped"));else{if(Oe>0){var Ue=new Uint8Array(this._stashBuffer,0,this._bufferSize),nt=new Uint8Array(le,Oe);Ue.set(nt,0),this._stashUsed=nt.byteLength,this._stashByteStart+=Oe}return 0}return this._stashUsed=0,this._stashByteStart=0,ke}return 0}},{key:"_onLoaderComplete",value:function($,le){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function($,le){i.e(this.TAG,"Loader error, code = ".concat(le.code,", msg = ").concat(le.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,$=p.UNRECOVERABLE_EARLY_EOF);switch($){case p.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var Oe=this._currentRange.to+1;Oe<this._totalLength&&(i.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(Oe,!1));return}$=p.UNRECOVERABLE_EARLY_EOF;break}case p.UNRECOVERABLE_EARLY_EOF:case p.CONNECTING_TIMEOUT:case p.HTTP_STATUS_CODE_INVALID:case p.EXCEPTION:break}if(this._onError)this._onError($,le);else throw new n("IOException: "+le.msg)}},{key:"status",get:function(){return this._loader.status}},{key:"extraData",get:function(){return this._extraData},set:function($){this._extraData=$}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function($){this._onDataArrival=$}},{key:"onSeeked",get:function(){return this._onSeeked},set:function($){this._onSeeked=$}},{key:"onError",get:function(){return this._onError},set:function($){this._onError=$}},{key:"onComplete",get:function(){return this._onComplete},set:function($){this._onComplete=$}},{key:"onRedirect",get:function(){return this._onRedirect},set:function($){this._onRedirect=$}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function($){this._onRecoveredEarlyEof=$}},{key:"currentURL",get:function(){return this._dataSource.url}},{key:"hasRedirect",get:function(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}},{key:"currentRedirectedURL",get:function(){return this._redirectedURL||this._dataSource.redirectedURL}},{key:"currentSpeed",get:function(){return this._loaderClass===z?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}}]),de}(),K=V,Y={enableWorker:!1,enableStashBuffer:!0,stashInitialSize:void 0,isLive:!1,lazyLoad:!0,lazyLoadMaxDuration:3*60,lazyLoadRecoverDuration:30,deferLoadAfterSourceOpen:!0,autoCleanupMaxBackwardDuration:3*60,autoCleanupMinBackwardDuration:2*60,statisticsInfoReportInterval:600,fixAudioTimestampGap:!0,accurateSeek:!1,seekType:"range",seekParamStart:"bstart",seekParamEnd:"bend",rangeLoadZeroStart:!1,customSeekHandler:void 0,reuseRedirectedURL:!1,headers:void 0,customLoader:void 0};function Q(){return Object.assign({},Y)}var he=function(){function de(){Object(g.a)(this,de)}return Object(f.a)(de,null,[{key:"supportMSEH264Playback",value:function(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}},{key:"supportNetworkStreamIO",value:function(){var $=new K({},Q()),le=$.loaderType;return $.destroy(),le=="fetch-stream-loader"||le=="xhr-moz-chunked-loader"}},{key:"getNetworkLoaderTypeName",value:function(){var $=new K({},Q()),le=$.loaderType;return $.destroy(),le}},{key:"supportNativeMediaPlayback",value:function($){de.videoElement==null&&(de.videoElement=window.document.createElement("video"));var le=de.videoElement.canPlayType($);return le==="probably"||le=="maybe"}},{key:"getFeatureList",value:function(){var $={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return $.mseFlvPlayback=de.supportMSEH264Playback(),$.networkStreamIO=de.supportNetworkStreamIO(),$.networkLoaderName=de.getNetworkLoaderTypeName(),$.mseLiveFlvPlayback=$.mseFlvPlayback&&$.networkStreamIO,$.nativeMP4H264Playback=de.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),$.nativeWebmVP8Playback=de.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),$.nativeWebmVP9Playback=de.supportNativeMediaPlayback('video/webm; codecs="vp9"'),$}}]),de}(),G=he,ye={ERROR:"error",LOADING_COMPLETE:"loading_complete",RECOVERED_EARLY_EOF:"recovered_early_eof",MEDIA_INFO:"media_info",METADATA_ARRIVED:"metadata_arrived",SCRIPTDATA_ARRIVED:"scriptdata_arrived",STATISTICS_INFO:"statistics_info"},Ae=ye,ge=function(){function de(){Object(g.a)(this,de)}return Object(f.a)(de,null,[{key:"getConfig",value:function(){return{globalTag:i.GLOBAL_TAG,forceGlobalTag:i.FORCE_GLOBAL_TAG,enableVerbose:i.ENABLE_VERBOSE,enableDebug:i.ENABLE_DEBUG,enableInfo:i.ENABLE_INFO,enableWarn:i.ENABLE_WARN,enableError:i.ENABLE_ERROR,enableCallback:i.ENABLE_CALLBACK}}},{key:"applyConfig",value:function($){i.GLOBAL_TAG=$.globalTag,i.FORCE_GLOBAL_TAG=$.forceGlobalTag,i.ENABLE_VERBOSE=$.enableVerbose,i.ENABLE_DEBUG=$.enableDebug,i.ENABLE_INFO=$.enableInfo,i.ENABLE_WARN=$.enableWarn,i.ENABLE_ERROR=$.enableError,i.ENABLE_CALLBACK=$.enableCallback}},{key:"_notifyChange",value:function(){var $=de.emitter;if($.listenerCount("change")>0){var le=de.getConfig();$.emit("change",le)}}},{key:"registerListener",value:function($){de.emitter.addListener("change",$)}},{key:"removeListener",value:function($){de.emitter.removeListener("change",$)}},{key:"addLogListener",value:function($){i.emitter.addListener("log",$),i.emitter.listenerCount("log")>0&&(i.ENABLE_CALLBACK=!0,de._notifyChange())}},{key:"removeLogListener",value:function($){i.emitter.removeListener("log",$),i.emitter.listenerCount("log")===0&&(i.ENABLE_CALLBACK=!1,de._notifyChange())}},{key:"forceGlobalTag",get:function(){return i.FORCE_GLOBAL_TAG},set:function($){i.FORCE_GLOBAL_TAG=$,de._notifyChange()}},{key:"globalTag",get:function(){return i.GLOBAL_TAG},set:function($){i.GLOBAL_TAG=$,de._notifyChange()}},{key:"enableAll",get:function(){return i.ENABLE_VERBOSE&&i.ENABLE_DEBUG&&i.ENABLE_INFO&&i.ENABLE_WARN&&i.ENABLE_ERROR},set:function($){i.ENABLE_VERBOSE=$,i.ENABLE_DEBUG=$,i.ENABLE_INFO=$,i.ENABLE_WARN=$,i.ENABLE_ERROR=$,de._notifyChange()}},{key:"enableDebug",get:function(){return i.ENABLE_DEBUG},set:function($){i.ENABLE_DEBUG=$,de._notifyChange()}},{key:"enableVerbose",get:function(){return i.ENABLE_VERBOSE},set:function($){i.ENABLE_VERBOSE=$,de._notifyChange()}},{key:"enableInfo",get:function(){return i.ENABLE_INFO},set:function($){i.ENABLE_INFO=$,de._notifyChange()}},{key:"enableWarn",get:function(){return i.ENABLE_WARN},set:function($){i.ENABLE_WARN=$,de._notifyChange()}},{key:"enableError",get:function(){return i.ENABLE_ERROR},set:function($){i.ENABLE_ERROR=$,de._notifyChange()}}]),de}();ge.emitter=new h.a;var Pe=ge,Re=function(){function de(){Object(g.a)(this,de),this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}return Object(f.a)(de,[{key:"isComplete",value:function(){var $=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,le=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&$&&le}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function($){if(this.keyframesIndex==null)return null;var le=this.keyframesIndex,Oe=this._search(le.times,$);return{index:Oe,milliseconds:le.times[Oe],fileposition:le.filepositions[Oe]}}},{key:"_search",value:function($,le){var Oe=0,ke=$.length-1,Ue=0,nt=0,At=ke;for(le<$[0]&&(Oe=0,nt=At+1);nt<=At;)if(Ue=nt+Math.floor((At-nt)/2),Ue===ke||le>=$[Ue]&&le<$[Ue+1]){Oe=Ue;break}else $[Ue]<le?nt=Ue+1:At=Ue-1;return Oe}}]),de}(),rt=Re;function ne(de,xe,$){var le=de;if(xe+$<le.length){for(;$--;)if((le[++xe]&192)!==128)return!1;return!0}else return!1}function be(de){for(var xe=[],$=de,le=0,Oe=de.length;le<Oe;){if($[le]<128){xe.push(String.fromCharCode($[le])),++le;continue}else if(!($[le]<192)){if($[le]<224){if(ne($,le,1)){var ke=($[le]&31)<<6|$[le+1]&63;if(ke>=128){xe.push(String.fromCharCode(ke&65535)),le+=2;continue}}}else if($[le]<240){if(ne($,le,2)){var Ue=($[le]&15)<<12|($[le+1]&63)<<6|$[le+2]&63;if(Ue>=2048&&(Ue&63488)!==55296){xe.push(String.fromCharCode(Ue&65535)),le+=3;continue}}}else if($[le]<248&&ne($,le,3)){var nt=($[le]&7)<<18|($[le+1]&63)<<12|($[le+2]&63)<<6|$[le+3]&63;if(nt>65536&&nt<1114112){nt-=65536,xe.push(String.fromCharCode(nt>>>10|55296)),xe.push(String.fromCharCode(nt&1023|56320)),le+=4;continue}}}xe.push(String.fromCharCode(65533)),++le}return xe.join("")}var at=be,se=function(){var de=new ArrayBuffer(2);return new DataView(de).setInt16(0,256,!0),new Int16Array(de)[0]===256}(),q=function(){function de(){Object(g.a)(this,de)}return Object(f.a)(de,null,[{key:"parseScriptData",value:function($,le,Oe){var ke={};try{var Ue=de.parseValue($,le,Oe),nt=de.parseValue($,le+Ue.size,Oe-Ue.size);ke[Ue.data]=nt.data}catch(At){i.e("AMF",At.toString())}return ke}},{key:"parseObject",value:function($,le,Oe){if(Oe<3)throw new l("Data not enough when parse ScriptDataObject");var ke=de.parseString($,le,Oe),Ue=de.parseValue($,le+ke.size,Oe-ke.size),nt=Ue.objectEnd;return{data:{name:ke.data,value:Ue.data},size:ke.size+Ue.size,objectEnd:nt}}},{key:"parseVariable",value:function($,le,Oe){return de.parseObject($,le,Oe)}},{key:"parseString",value:function($,le,Oe){if(Oe<2)throw new l("Data not enough when parse String");var ke=new DataView($,le,Oe),Ue=ke.getUint16(0,!se),nt;return Ue>0?nt=at(new Uint8Array($,le+2,Ue)):nt="",{data:nt,size:2+Ue}}},{key:"parseLongString",value:function($,le,Oe){if(Oe<4)throw new l("Data not enough when parse LongString");var ke=new DataView($,le,Oe),Ue=ke.getUint32(0,!se),nt;return Ue>0?nt=at(new Uint8Array($,le+4,Ue)):nt="",{data:nt,size:4+Ue}}},{key:"parseDate",value:function($,le,Oe){if(Oe<10)throw new l("Data size invalid when parse Date");var ke=new DataView($,le,Oe),Ue=ke.getFloat64(0,!se),nt=ke.getInt16(8,!se);return Ue+=nt*60*1e3,{data:new Date(Ue),size:8+2}}},{key:"parseValue",value:function($,le,Oe){if(Oe<1)throw new l("Data not enough when parse Value");var ke=new DataView($,le,Oe),Ue=1,nt=ke.getUint8(0),At,Wt=!1;try{switch(nt){case 0:At=ke.getFloat64(1,!se),Ue+=8;break;case 1:{var $t=ke.getUint8(1);At=!!$t,Ue+=1;break}case 2:{var Rt=de.parseString($,le+1,Oe-1);At=Rt.data,Ue+=Rt.size;break}case 3:{At={};var zt=0;for((ke.getUint32(Oe-4,!se)&16777215)===9&&(zt=3);Ue<Oe-4;){var Gt=de.parseObject($,le+Ue,Oe-Ue-zt);if(Gt.objectEnd)break;At[Gt.data.name]=Gt.data.value,Ue+=Gt.size}if(Ue<=Oe-3){var Qt=ke.getUint32(Ue-1,!se)&16777215;Qt===9&&(Ue+=3)}break}case 8:{At={},Ue+=4;var Mt=0;for((ke.getUint32(Oe-4,!se)&16777215)===9&&(Mt=3);Ue<Oe-8;){var dr=de.parseVariable($,le+Ue,Oe-Ue-Mt);if(dr.objectEnd)break;At[dr.data.name]=dr.data.value,Ue+=dr.size}if(Ue<=Oe-3){var er=ke.getUint32(Ue-1,!se)&16777215;er===9&&(Ue+=3)}break}case 9:At=void 0,Ue=1,Wt=!0;break;case 10:{At=[];var ht=ke.getUint32(1,!se);Ue+=4;for(var Et=0;Et<ht;Et++){var pt=de.parseValue($,le+Ue,Oe-Ue);At.push(pt.data),Ue+=pt.size}break}case 11:{var vt=de.parseDate($,le+1,Oe-1);At=vt.data,Ue+=vt.size;break}case 12:{var Nt=de.parseString($,le+1,Oe-1);At=Nt.data,Ue+=Nt.size;break}default:Ue=Oe,i.w("AMF","Unsupported AMF value type "+nt)}}catch(_t){i.e("AMF",_t.toString())}return{data:At,size:Ue,objectEnd:Wt}}}]),de}(),X=q,Z=function(){function de(xe){Object(g.a)(this,de),this.TAG="ExpGolomb",this._buffer=xe,this._buffer_index=0,this._total_bytes=xe.byteLength,this._total_bits=xe.byteLength*8,this._current_word=0,this._current_word_bits_left=0}return Object(f.a)(de,[{key:"destroy",value:function(){this._buffer=null}},{key:"_fillCurrentWord",value:function(){var $=this._total_bytes-this._buffer_index;if($<=0)throw new l("ExpGolomb: _fillCurrentWord() but no bytes available");var le=Math.min(4,$),Oe=new Uint8Array(4);Oe.set(this._buffer.subarray(this._buffer_index,this._buffer_index+le)),this._current_word=new DataView(Oe.buffer).getUint32(0,!1),this._buffer_index+=le,this._current_word_bits_left=le*8}},{key:"readBits",value:function($){if($>32)throw new t("ExpGolomb: readBits() bits exceeded max 32bits!");if($<=this._current_word_bits_left){var le=this._current_word>>>32-$;return this._current_word<<=$,this._current_word_bits_left-=$,le}var Oe=this._current_word_bits_left?this._current_word:0;Oe=Oe>>>32-this._current_word_bits_left;var ke=$-this._current_word_bits_left;this._fillCurrentWord();var Ue=Math.min(ke,this._current_word_bits_left),nt=this._current_word>>>32-Ue;return this._current_word<<=Ue,this._current_word_bits_left-=Ue,Oe=Oe<<Ue|nt,Oe}},{key:"readBool",value:function(){return this.readBits(1)===1}},{key:"readByte",value:function(){return this.readBits(8)}},{key:"_skipLeadingZero",value:function(){var $;for($=0;$<this._current_word_bits_left;$++)if((this._current_word&2147483648>>>$)!==0)return this._current_word<<=$,this._current_word_bits_left-=$,$;return this._fillCurrentWord(),$+this._skipLeadingZero()}},{key:"readUEG",value:function(){var $=this._skipLeadingZero();return this.readBits($+1)-1}},{key:"readSEG",value:function(){var $=this.readUEG();return $&1?$+1>>>1:-1*($>>>1)}}]),de}(),pe=Z,oe=function(){function de(){Object(g.a)(this,de)}return Object(f.a)(de,null,[{key:"_ebsp2rbsp",value:function($){for(var le=$,Oe=le.byteLength,ke=new Uint8Array(Oe),Ue=0,nt=0;nt<Oe;nt++){if(nt>=2&&(le[nt]===3&&le[nt-1]===0&&le[nt-2]===0))continue;ke[Ue]=le[nt],Ue++}return new Uint8Array(ke.buffer,0,Ue)}},{key:"parseSPS",value:function($){var le=de._ebsp2rbsp($),Oe=new pe(le);Oe.readByte();var ke=Oe.readByte();Oe.readByte();var Ue=Oe.readByte();Oe.readUEG();var nt=de.getProfileString(ke),At=de.getLevelString(Ue),Wt=1,$t=420,Rt=[0,420,422,444],zt=8;if((ke===100||ke===110||ke===122||ke===244||ke===44||ke===83||ke===86||ke===118||ke===128||ke===138||ke===144)&&(Wt=Oe.readUEG(),Wt===3&&Oe.readBits(1),Wt<=3&&($t=Rt[Wt]),zt=Oe.readUEG()+8,Oe.readUEG(),Oe.readBits(1),Oe.readBool()))for(var Gt=Wt!==3?8:12,Qt=0;Qt<Gt;Qt++)Oe.readBool()&&(Qt<6?de._skipScalingList(Oe,16):de._skipScalingList(Oe,64));Oe.readUEG();var Mt=Oe.readUEG();if(Mt===0)Oe.readUEG();else if(Mt===1){Oe.readBits(1),Oe.readSEG(),Oe.readSEG();for(var dr=Oe.readUEG(),er=0;er<dr;er++)Oe.readSEG()}var ht=Oe.readUEG();Oe.readBits(1);var Et=Oe.readUEG(),pt=Oe.readUEG(),vt=Oe.readBits(1);vt===0&&Oe.readBits(1),Oe.readBits(1);var Nt=0,_t=0,gt=0,Ht=0,kt=Oe.readBool();kt&&(Nt=Oe.readUEG(),_t=Oe.readUEG(),gt=Oe.readUEG(),Ht=Oe.readUEG());var ir=1,Xt=1,mr=0,Ar=!0,Nr=0,kr=0,tn=Oe.readBool();if(tn){if(Oe.readBool()){var qr=Oe.readByte(),_r=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],Qr=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];qr>0&&qr<16?(ir=_r[qr-1],Xt=Qr[qr-1]):qr===255&&(ir=Oe.readByte()<<8|Oe.readByte(),Xt=Oe.readByte()<<8|Oe.readByte())}if(Oe.readBool()&&Oe.readBool(),Oe.readBool()&&(Oe.readBits(4),Oe.readBool()&&Oe.readBits(24)),Oe.readBool()&&(Oe.readUEG(),Oe.readUEG()),Oe.readBool()){var Ir=Oe.readBits(32),cr=Oe.readBits(32);Ar=Oe.readBool(),Nr=cr,kr=Ir*2,mr=Nr/kr}}var pr=1;(ir!==1||Xt!==1)&&(pr=ir/Xt);var ur=0,fr=0;if(Wt===0)ur=1,fr=2-vt;else{var xr=Wt===3?1:2,Yr=Wt===1?2:1;ur=xr,fr=Yr*(2-vt)}var cn=(Et+1)*16,Nn=(2-vt)*((pt+1)*16);cn-=(Nt+_t)*ur,Nn-=(gt+Ht)*fr;var jr=Math.ceil(cn*pr);return Oe.destroy(),Oe=null,{profile_string:nt,level_string:At,bit_depth:zt,ref_frames:ht,chroma_format:$t,chroma_format_string:de.getChromaFormatString($t),frame_rate:{fixed:Ar,fps:mr,fps_den:kr,fps_num:Nr},sar_ratio:{width:ir,height:Xt},codec_size:{width:cn,height:Nn},present_size:{width:jr,height:Nn}}}},{key:"_skipScalingList",value:function($,le){for(var Oe=8,ke=8,Ue=0,nt=0;nt<le;nt++)ke!==0&&(Ue=$.readSEG(),ke=(Oe+Ue+256)%256),Oe=ke===0?Oe:ke}},{key:"getProfileString",value:function($){switch($){case 66:return"Baseline";case 77:return"Main";case 88:return"Extended";case 100:return"High";case 110:return"High10";case 122:return"High422";case 244:return"High444";default:return"Unknown"}}},{key:"getLevelString",value:function($){return($/10).toFixed(1)}},{key:"getChromaFormatString",value:function($){switch($){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}}}]),de}(),Ie=oe,fe={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"},te=fe;function J(de){return de>>>8&255|(de&255)<<8}function ve(de){return(de&4278190080)>>>24|(de&16711680)>>>8|(de&65280)<<8|(de&255)<<24}function De(de,xe){return de[xe]<<24|de[xe+1]<<16|de[xe+2]<<8|de[xe+3]}var ze=function(){function de(xe,$){Object(g.a)(this,de),this.TAG="FLVDemuxer",this._config=$,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=xe.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=xe.hasAudioTrack,this._hasVideo=xe.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new rt,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){var le=new ArrayBuffer(2);return new DataView(le).setInt16(0,256,!0),new Int16Array(le)[0]===256}()}return Object(f.a)(de,[{key:"destroy",value:function(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}},{key:"bindDataSource",value:function($){return $.onDataArrival=this.parseChunks.bind(this),this}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new rt}},{key:"_isInitialMetadataDispatched",value:function(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}},{key:"parseChunks",value:function($,le){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new l("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var Oe=0,ke=this._littleEndian;if(le===0)if($.byteLength>13){var Ue=de.probe($);Oe=Ue.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,le+Oe!==this._dataOffset&&i.w(this.TAG,"First time parsing but chunk byteStart invalid!");var nt=new DataView($,Oe),At=nt.getUint32(0,!ke);At!==0&&i.w(this.TAG,"PrevTagSize0 !== 0 !!!"),Oe+=4}for(;Oe<$.byteLength;){this._dispatch=!0;var Wt=new DataView($,Oe);if(Oe+11+4>$.byteLength)break;var $t=Wt.getUint8(0),Rt=Wt.getUint32(0,!ke)&16777215;if(Oe+11+Rt+4>$.byteLength)break;if($t!==8&&$t!==9&&$t!==18){i.w(this.TAG,"Unsupported tag type ".concat($t,", skipped")),Oe+=11+Rt+4;continue}var zt=Wt.getUint8(4),Gt=Wt.getUint8(5),Qt=Wt.getUint8(6),Mt=Wt.getUint8(7),dr=Qt|Gt<<8|zt<<16|Mt<<24,er=Wt.getUint32(7,!ke)&16777215;er!==0&&i.w(this.TAG,"Meet tag which has StreamID != 0!");var ht=Oe+11;switch($t){case 8:this._parseAudioData($,ht,Rt,dr);break;case 9:this._parseVideoData($,ht,Rt,dr,le+Oe);break;case 18:this._parseScriptData($,ht,Rt);break}var Et=Wt.getUint32(11+Rt,!ke);Et!==11+Rt&&i.w(this.TAG,"Invalid PrevTagSize ".concat(Et)),Oe+=11+Rt+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),Oe}},{key:"_parseScriptData",value:function($,le,Oe){var ke=X.parseScriptData($,le,Oe);if(ke.hasOwnProperty("onMetaData")){if(ke.onMetaData==null||typeof ke.onMetaData!="object"){i.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&i.w(this.TAG,"Found another onMetaData tag!"),this._metadata=ke;var Ue=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},Ue)),typeof Ue.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=Ue.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof Ue.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=Ue.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof Ue.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=Ue.audiodatarate),typeof Ue.videodatarate=="number"&&(this._mediaInfo.videoDataRate=Ue.videodatarate),typeof Ue.width=="number"&&(this._mediaInfo.width=Ue.width),typeof Ue.height=="number"&&(this._mediaInfo.height=Ue.height),typeof Ue.duration=="number"){if(!this._durationOverrided){var nt=Math.floor(Ue.duration*this._timescale);this._duration=nt,this._mediaInfo.duration=nt}}else this._mediaInfo.duration=0;if(typeof Ue.framerate=="number"){var At=Math.floor(Ue.framerate*1e3);if(At>0){var Wt=At/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=Wt,this._referenceFrameRate.fps_num=At,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=Wt}}if(typeof Ue.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var $t=Ue.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex($t),Ue.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=Ue,i.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(ke).length>0&&(this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},ke)))}},{key:"_parseKeyframesIndex",value:function($){for(var le=[],Oe=[],ke=1;ke<$.times.length;ke++){var Ue=this._timestampBase+Math.floor($.times[ke]*1e3);le.push(Ue),Oe.push($.filepositions[ke])}return{times:le,filepositions:Oe}}},{key:"_parseAudioData",value:function($,le,Oe,ke){if(Oe<=1){i.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)return;var Ue=this._littleEndian,nt=new DataView($,le,Oe),At=nt.getUint8(0),Wt=At>>>4;if(Wt!==2&&Wt!==10){this._onError(te.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+Wt);return}var $t=0,Rt=(At&12)>>>2;if(Rt>=0&&Rt<=4)$t=this._flvSoundRateTable[Rt];else{this._onError(te.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+Rt);return}var zt=(At&2)>>>1,Gt=At&1,Qt=this._audioMetadata,Mt=this._audioTrack;if(Qt||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Qt=this._audioMetadata={},Qt.type="audio",Qt.id=Mt.id,Qt.timescale=this._timescale,Qt.duration=this._duration,Qt.audioSampleRate=$t,Qt.channelCount=Gt===0?1:2),Wt===10){var dr=this._parseAACAudioData($,le+1,Oe-1);if(dr==null)return;if(dr.packetType===0){Qt.config&&i.w(this.TAG,"Found another AudioSpecificConfig!");var er=dr.data;Qt.audioSampleRate=er.samplingRate,Qt.channelCount=er.channelCount,Qt.codec=er.codec,Qt.originalCodec=er.originalCodec,Qt.config=er.config,Qt.refSampleDuration=1024/Qt.audioSampleRate*Qt.timescale,i.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",Qt);var ht=this._mediaInfo;ht.audioCodec=Qt.originalCodec,ht.audioSampleRate=Qt.audioSampleRate,ht.audioChannelCount=Qt.channelCount,ht.hasVideo?ht.videoCodec!=null&&(ht.mimeType='video/x-flv; codecs="'+ht.videoCodec+","+ht.audioCodec+'"'):ht.mimeType='video/x-flv; codecs="'+ht.audioCodec+'"',ht.isComplete()&&this._onMediaInfo(ht)}else if(dr.packetType===1){var Et=this._timestampBase+ke,pt={unit:dr.data,length:dr.data.byteLength,dts:Et,pts:Et};Mt.samples.push(pt),Mt.length+=dr.data.length}else i.e(this.TAG,"Flv: Unsupported AAC data type ".concat(dr.packetType))}else if(Wt===2){if(!Qt.codec){var vt=this._parseMP3AudioData($,le+1,Oe-1,!0);if(vt==null)return;Qt.audioSampleRate=vt.samplingRate,Qt.channelCount=vt.channelCount,Qt.codec=vt.codec,Qt.originalCodec=vt.originalCodec,Qt.refSampleDuration=1152/Qt.audioSampleRate*Qt.timescale,i.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Qt);var Nt=this._mediaInfo;Nt.audioCodec=Qt.codec,Nt.audioSampleRate=Qt.audioSampleRate,Nt.audioChannelCount=Qt.channelCount,Nt.audioDataRate=vt.bitRate,Nt.hasVideo?Nt.videoCodec!=null&&(Nt.mimeType='video/x-flv; codecs="'+Nt.videoCodec+","+Nt.audioCodec+'"'):Nt.mimeType='video/x-flv; codecs="'+Nt.audioCodec+'"',Nt.isComplete()&&this._onMediaInfo(Nt)}var _t=this._parseMP3AudioData($,le+1,Oe-1,!1);if(_t==null)return;var gt=this._timestampBase+ke,Ht={unit:_t,length:_t.byteLength,dts:gt,pts:gt};Mt.samples.push(Ht),Mt.length+=_t.length}}},{key:"_parseAACAudioData",value:function($,le,Oe){if(Oe<=1){i.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var ke={},Ue=new Uint8Array($,le,Oe);return ke.packetType=Ue[0],Ue[0]===0?ke.data=this._parseAACAudioSpecificConfig($,le+1,Oe-1):ke.data=Ue.subarray(1),ke}},{key:"_parseAACAudioSpecificConfig",value:function($,le,Oe){var ke=new Uint8Array($,le,Oe),Ue=null,nt=0,At=0,Wt=null,$t=0,Rt=null;if(nt=At=ke[0]>>>3,$t=(ke[0]&7)<<1|ke[1]>>>7,$t<0||$t>=this._mpegSamplingRates.length){this._onError(te.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var zt=this._mpegSamplingRates[$t],Gt=(ke[1]&120)>>>3;if(Gt<0||Gt>=8){this._onError(te.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}nt===5&&(Rt=(ke[1]&7)<<1|ke[2]>>>7,Wt=(ke[2]&124)>>>2);var Qt=self.navigator.userAgent.toLowerCase();return Qt.indexOf("firefox")!==-1?$t>=6?(nt=5,Ue=new Array(4),Rt=$t-3):(nt=2,Ue=new Array(2),Rt=$t):Qt.indexOf("android")!==-1?(nt=2,Ue=new Array(2),Rt=$t):(nt=5,Rt=$t,Ue=new Array(4),$t>=6?Rt=$t-3:Gt===1&&(nt=2,Ue=new Array(2),Rt=$t)),Ue[0]=nt<<3,Ue[0]|=($t&15)>>>1,Ue[1]=($t&15)<<7,Ue[1]|=(Gt&15)<<3,nt===5&&(Ue[1]|=(Rt&15)>>>1,Ue[2]=(Rt&1)<<7,Ue[2]|=2<<2,Ue[3]=0),{config:Ue,samplingRate:zt,channelCount:Gt,codec:"mp4a.40."+nt,originalCodec:"mp4a.40."+At}}},{key:"_parseMP3AudioData",value:function($,le,Oe,ke){if(Oe<4){i.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var Ue=this._littleEndian,nt=new Uint8Array($,le,Oe),At=null;if(ke){if(nt[0]!==255)return;var Wt=nt[1]>>>3&3,$t=(nt[1]&6)>>1,Rt=(nt[2]&240)>>>4,zt=(nt[2]&12)>>>2,Gt=nt[3]>>>6&3,Qt=Gt!==3?2:1,Mt=0,dr=0,er=34,ht="mp3";switch(Wt){case 0:Mt=this._mpegAudioV25SampleRateTable[zt];break;case 2:Mt=this._mpegAudioV20SampleRateTable[zt];break;case 3:Mt=this._mpegAudioV10SampleRateTable[zt];break}switch($t){case 1:er=34,Rt<this._mpegAudioL3BitRateTable.length&&(dr=this._mpegAudioL3BitRateTable[Rt]);break;case 2:er=33,Rt<this._mpegAudioL2BitRateTable.length&&(dr=this._mpegAudioL2BitRateTable[Rt]);break;case 3:er=32,Rt<this._mpegAudioL1BitRateTable.length&&(dr=this._mpegAudioL1BitRateTable[Rt]);break}At={bitRate:dr,samplingRate:Mt,channelCount:Qt,codec:ht,originalCodec:ht}}else At=nt;return At}},{key:"_parseVideoData",value:function($,le,Oe,ke,Ue){if(Oe<=1){i.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");return}if(this._hasVideoFlagOverrided===!0&&this._hasVideo===!1)return;var nt=new Uint8Array($,le,Oe)[0],At=(nt&240)>>>4,Wt=nt&15;if(Wt!==7){this._onError(te.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(Wt));return}this._parseAVCVideoPacket($,le+1,Oe-1,ke,Ue,At)}},{key:"_parseAVCVideoPacket",value:function($,le,Oe,ke,Ue,nt){if(Oe<4){i.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var At=this._littleEndian,Wt=new DataView($,le,Oe),$t=Wt.getUint8(0),Rt=Wt.getUint32(0,!At)&16777215,zt=Rt<<8>>8;if($t===0)this._parseAVCDecoderConfigurationRecord($,le+4,Oe-4);else if($t===1)this._parseAVCVideoData($,le+4,Oe-4,ke,Ue,nt,zt);else if(!($t===2)){this._onError(te.FORMAT_ERROR,"Flv: Invalid video packet type ".concat($t));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function($,le,Oe){if(Oe<7){i.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var ke=this._videoMetadata,Ue=this._videoTrack,nt=this._littleEndian,At=new DataView($,le,Oe);ke?typeof ke.avcc!="undefined"&&i.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),ke=this._videoMetadata={},ke.type="video",ke.id=Ue.id,ke.timescale=this._timescale,ke.duration=this._duration);var Wt=At.getUint8(0),$t=At.getUint8(1),Rt=At.getUint8(2),zt=At.getUint8(3);if(Wt!==1||$t===0){this._onError(te.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(At.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(te.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var Gt=At.getUint8(5)&31;if(Gt===0){this._onError(te.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else Gt>1&&i.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(Gt));for(var Qt=6,Mt=0;Mt<Gt;Mt++){var dr=At.getUint16(Qt,!nt);if(Qt+=2,dr===0)continue;var er=new Uint8Array($,le+Qt,dr);Qt+=dr;var ht=Ie.parseSPS(er);if(Mt!==0)continue;ke.codecWidth=ht.codec_size.width,ke.codecHeight=ht.codec_size.height,ke.presentWidth=ht.present_size.width,ke.presentHeight=ht.present_size.height,ke.profile=ht.profile_string,ke.level=ht.level_string,ke.bitDepth=ht.bit_depth,ke.chromaFormat=ht.chroma_format,ke.sarRatio=ht.sar_ratio,ke.frameRate=ht.frame_rate,(ht.frame_rate.fixed===!1||ht.frame_rate.fps_num===0||ht.frame_rate.fps_den===0)&&(ke.frameRate=this._referenceFrameRate);var Et=ke.frameRate.fps_den,pt=ke.frameRate.fps_num;ke.refSampleDuration=ke.timescale*(Et/pt);for(var vt=er.subarray(1,4),Nt="avc1.",_t=0;_t<3;_t++){var gt=vt[_t].toString(16);gt.length<2&&(gt="0"+gt),Nt+=gt}ke.codec=Nt;var Ht=this._mediaInfo;Ht.width=ke.codecWidth,Ht.height=ke.codecHeight,Ht.fps=ke.frameRate.fps,Ht.profile=ke.profile,Ht.level=ke.level,Ht.refFrames=ht.ref_frames,Ht.chromaFormat=ht.chroma_format_string,Ht.sarNum=ke.sarRatio.width,Ht.sarDen=ke.sarRatio.height,Ht.videoCodec=Nt,Ht.hasAudio?Ht.audioCodec!=null&&(Ht.mimeType='video/x-flv; codecs="'+Ht.videoCodec+","+Ht.audioCodec+'"'):Ht.mimeType='video/x-flv; codecs="'+Ht.videoCodec+'"',Ht.isComplete()&&this._onMediaInfo(Ht)}var kt=At.getUint8(Qt);if(kt===0){this._onError(te.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS");return}else kt>1&&i.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(kt));Qt++;for(var ir=0;ir<kt;ir++){var Xt=At.getUint16(Qt,!nt);if(Qt+=2,Xt===0)continue;Qt+=Xt}ke.avcc=new Uint8Array(Oe),ke.avcc.set(new Uint8Array($,le,Oe),0),i.v(this.TAG,"Parsed AVCDecoderConfigurationRecord"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._videoInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("video",ke)}},{key:"_parseAVCVideoData",value:function($,le,Oe,ke,Ue,nt,At){for(var Wt=this._littleEndian,$t=new DataView($,le,Oe),Rt=[],zt=0,Gt=0,Qt=this._naluLengthSize,Mt=this._timestampBase+ke,dr=nt===1;Gt<Oe;){if(Gt+4>=Oe){i.w(this.TAG,"Malformed Nalu near timestamp ".concat(Mt,", offset = ").concat(Gt,", dataSize = ").concat(Oe));break}var er=$t.getUint32(Gt,!Wt);if(Qt===3&&(er>>>=8),er>Oe-Qt){i.w(this.TAG,"Malformed Nalus near timestamp ".concat(Mt,", NaluSize > DataSize!"));return}var ht=$t.getUint8(Gt+Qt)&31;ht===5&&(dr=!0);var Et=new Uint8Array($,le+Gt,Qt+er),pt={type:ht,data:Et};Rt.push(pt),zt+=Et.byteLength,Gt+=Qt+er}if(Rt.length){var vt=this._videoTrack,Nt={units:Rt,length:zt,isKeyframe:dr,dts:Mt,cts:At,pts:Mt+At};dr&&(Nt.fileposition=Ue),vt.samples.push(Nt),vt.length+=zt}}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function($){this._onTrackMetadata=$}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function($){this._onMediaInfo=$}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function($){this._onMetaDataArrived=$}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function($){this._onScriptDataArrived=$}},{key:"onError",get:function(){return this._onError},set:function($){this._onError=$}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function($){this._onDataAvailable=$}},{key:"timestampBase",get:function(){return this._timestampBase},set:function($){this._timestampBase=$}},{key:"overridedDuration",get:function(){return this._duration},set:function($){this._durationOverrided=!0,this._duration=$,this._mediaInfo.duration=$}},{key:"overridedHasAudio",set:function($){this._hasAudioFlagOverrided=!0,this._hasAudio=$,this._mediaInfo.hasAudio=$}},{key:"overridedHasVideo",set:function($){this._hasVideoFlagOverrided=!0,this._hasVideo=$,this._mediaInfo.hasVideo=$}}],[{key:"probe",value:function($){var le=new Uint8Array($),Oe={match:!1};if(le[0]!==70||le[1]!==76||le[2]!==86||le[3]!==1)return Oe;var ke=(le[4]&4)>>>2!==0,Ue=(le[4]&1)!==0,nt=De(le,5);return nt<9?Oe:{match:!0,consumed:nt,dataOffset:nt,hasAudioTrack:ke,hasVideoTrack:Ue}}}]),de}(),dt=ze,Me=function(){function de(){Object(g.a)(this,de)}return Object(f.a)(de,null,[{key:"init",value:function(){de.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(var $ in de.types)de.types.hasOwnProperty($)&&(de.types[$]=[$.charCodeAt(0),$.charCodeAt(1),$.charCodeAt(2),$.charCodeAt(3)]);var le=de.constants={};le.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),le.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),le.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),le.STSC=le.STCO=le.STTS,le.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),le.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),le.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),le.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),le.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),le.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function($){for(var le=8,Oe=null,ke=Array.prototype.slice.call(arguments,1),Ue=ke.length,nt=0;nt<Ue;nt++)le+=ke[nt].byteLength;Oe=new Uint8Array(le),Oe[0]=le>>>24&255,Oe[1]=le>>>16&255,Oe[2]=le>>>8&255,Oe[3]=le&255,Oe.set($,4);for(var At=8,Wt=0;Wt<Ue;Wt++)Oe.set(ke[Wt],At),At+=ke[Wt].byteLength;return Oe}},{key:"generateInitSegment",value:function($){var le=de.box(de.types.ftyp,de.constants.FTYP),Oe=de.moov($),ke=new Uint8Array(le.byteLength+Oe.byteLength);return ke.set(le,0),ke.set(Oe,le.byteLength),ke}},{key:"moov",value:function($){var le=de.mvhd($.timescale,$.duration),Oe=de.trak($),ke=de.mvex($);return de.box(de.types.moov,le,Oe,ke)}},{key:"mvhd",value:function($,le){return de.box(de.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,$>>>24&255,$>>>16&255,$>>>8&255,$&255,le>>>24&255,le>>>16&255,le>>>8&255,le&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}},{key:"trak",value:function($){return de.box(de.types.trak,de.tkhd($),de.mdia($))}},{key:"tkhd",value:function($){var le=$.id,Oe=$.duration,ke=$.presentWidth,Ue=$.presentHeight;return de.box(de.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,le>>>24&255,le>>>16&255,le>>>8&255,le&255,0,0,0,0,Oe>>>24&255,Oe>>>16&255,Oe>>>8&255,Oe&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,ke>>>8&255,ke&255,0,0,Ue>>>8&255,Ue&255,0,0]))}},{key:"mdia",value:function($){return de.box(de.types.mdia,de.mdhd($),de.hdlr($),de.minf($))}},{key:"mdhd",value:function($){var le=$.timescale,Oe=$.duration;return de.box(de.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,le>>>24&255,le>>>16&255,le>>>8&255,le&255,Oe>>>24&255,Oe>>>16&255,Oe>>>8&255,Oe&255,85,196,0,0]))}},{key:"hdlr",value:function($){var le=null;return $.type==="audio"?le=de.constants.HDLR_AUDIO:le=de.constants.HDLR_VIDEO,de.box(de.types.hdlr,le)}},{key:"minf",value:function($){var le=null;return $.type==="audio"?le=de.box(de.types.smhd,de.constants.SMHD):le=de.box(de.types.vmhd,de.constants.VMHD),de.box(de.types.minf,le,de.dinf(),de.stbl($))}},{key:"dinf",value:function(){var $=de.box(de.types.dinf,de.box(de.types.dref,de.constants.DREF));return $}},{key:"stbl",value:function($){var le=de.box(de.types.stbl,de.stsd($),de.box(de.types.stts,de.constants.STTS),de.box(de.types.stsc,de.constants.STSC),de.box(de.types.stsz,de.constants.STSZ),de.box(de.types.stco,de.constants.STCO));return le}},{key:"stsd",value:function($){return $.type==="audio"?$.codec==="mp3"?de.box(de.types.stsd,de.constants.STSD_PREFIX,de.mp3($)):de.box(de.types.stsd,de.constants.STSD_PREFIX,de.mp4a($)):de.box(de.types.stsd,de.constants.STSD_PREFIX,de.avc1($))}},{key:"mp3",value:function($){var le=$.channelCount,Oe=$.audioSampleRate,ke=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,le,0,16,0,0,0,0,Oe>>>8&255,Oe&255,0,0]);return de.box(de.types[".mp3"],ke)}},{key:"mp4a",value:function($){var le=$.channelCount,Oe=$.audioSampleRate,ke=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,le,0,16,0,0,0,0,Oe>>>8&255,Oe&255,0,0]);return de.box(de.types.mp4a,ke,de.esds($))}},{key:"esds",value:function($){var le=$.config||[],Oe=le.length,ke=new Uint8Array([0,0,0,0,3,23+Oe,0,1,0,4,15+Oe,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([Oe]).concat(le).concat([6,1,2]));return de.box(de.types.esds,ke)}},{key:"avc1",value:function($){var le=$.avcc,Oe=$.codecWidth,ke=$.codecHeight,Ue=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Oe>>>8&255,Oe&255,ke>>>8&255,ke&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return de.box(de.types.avc1,Ue,de.box(de.types.avcC,le))}},{key:"mvex",value:function($){return de.box(de.types.mvex,de.trex($))}},{key:"trex",value:function($){var le=$.id,Oe=new Uint8Array([0,0,0,0,le>>>24&255,le>>>16&255,le>>>8&255,le&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return de.box(de.types.trex,Oe)}},{key:"moof",value:function($,le){return de.box(de.types.moof,de.mfhd($.sequenceNumber),de.traf($,le))}},{key:"mfhd",value:function($){var le=new Uint8Array([0,0,0,0,$>>>24&255,$>>>16&255,$>>>8&255,$&255]);return de.box(de.types.mfhd,le)}},{key:"traf",value:function($,le){var Oe=$.id,ke=de.box(de.types.tfhd,new Uint8Array([0,0,0,0,Oe>>>24&255,Oe>>>16&255,Oe>>>8&255,Oe&255])),Ue=de.box(de.types.tfdt,new Uint8Array([0,0,0,0,le>>>24&255,le>>>16&255,le>>>8&255,le&255])),nt=de.sdtp($),At=de.trun($,nt.byteLength+16+16+8+16+8+8);return de.box(de.types.traf,ke,Ue,At,nt)}},{key:"sdtp",value:function($){for(var le=$.samples||[],Oe=le.length,ke=new Uint8Array(4+Oe),Ue=0;Ue<Oe;Ue++){var nt=le[Ue].flags;ke[Ue+4]=nt.isLeading<<6|nt.dependsOn<<4|nt.isDependedOn<<2|nt.hasRedundancy}return de.box(de.types.sdtp,ke)}},{key:"trun",value:function($,le){var Oe=$.samples||[],ke=Oe.length,Ue=12+16*ke,nt=new Uint8Array(Ue);le+=8+Ue,nt.set([0,0,15,1,ke>>>24&255,ke>>>16&255,ke>>>8&255,ke&255,le>>>24&255,le>>>16&255,le>>>8&255,le&255],0);for(var At=0;At<ke;At++){var Wt=Oe[At].duration,$t=Oe[At].size,Rt=Oe[At].flags,zt=Oe[At].cts;nt.set([Wt>>>24&255,Wt>>>16&255,Wt>>>8&255,Wt&255,$t>>>24&255,$t>>>16&255,$t>>>8&255,$t&255,Rt.isLeading<<2|Rt.dependsOn,Rt.isDependedOn<<6|Rt.hasRedundancy<<4|Rt.isNonSync,0,0,zt>>>24&255,zt>>>16&255,zt>>>8&255,zt&255],12+16*At)}return de.box(de.types.trun,nt)}},{key:"mdat",value:function($){return de.box(de.types.mdat,$)}}]),de}();Me.init();var Tt=Me,je=function(){function de(){Object(g.a)(this,de)}return Object(f.a)(de,null,[{key:"getSilentFrame",value:function($,le){if($==="mp4a.40.2"){if(le===1)return new Uint8Array([0,200,0,128,35,128]);if(le===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(le===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(le===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(le===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(le===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(le===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(le===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(le===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}]),de}(),st=je,Xe=function de(xe,$,le,Oe,ke){Object(g.a)(this,de),this.dts=xe,this.pts=$,this.duration=le,this.originalDts=Oe,this.isSyncPoint=ke,this.fileposition=null},Je=function(){function de(){Object(g.a)(this,de),this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}return Object(f.a)(de,[{key:"appendSyncPoint",value:function($){$.isSyncPoint=!0,this.syncPoints.push($)}}]),de}(),et=function(){function de(){Object(g.a)(this,de),this._list=[]}return Object(f.a)(de,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function($){var le=this._list;if($.length===0)return;le.length>0&&$[0].originalDts<le[le.length-1].originalDts&&this.clear(),Array.prototype.push.apply(le,$)}},{key:"getLastSyncPointBeforeDts",value:function($){if(this._list.length==0)return null;var le=this._list,Oe=0,ke=le.length-1,Ue=0,nt=0,At=ke;for($<le[0].dts&&(Oe=0,nt=At+1);nt<=At;)if(Ue=nt+Math.floor((At-nt)/2),Ue===ke||$>=le[Ue].dts&&$<le[Ue+1].dts){Oe=Ue;break}else le[Ue].dts<$?nt=Ue+1:At=Ue-1;return this._list[Oe]}}]),de}(),ot=function(){function de(xe){Object(g.a)(this,de),this._type=xe,this._list=[],this._lastAppendLocation=-1}return Object(f.a)(de,[{key:"isEmpty",value:function(){return this._list.length===0}},{key:"clear",value:function(){this._list=[],this._lastAppendLocation=-1}},{key:"_searchNearestSegmentBefore",value:function($){var le=this._list;if(le.length===0)return-2;var Oe=le.length-1,ke=0,Ue=0,nt=Oe,At=0;if($<le[0].originalBeginDts)return At=-1,At;for(;Ue<=nt;)if(ke=Ue+Math.floor((nt-Ue)/2),ke===Oe||$>le[ke].lastSample.originalDts&&$<le[ke+1].originalBeginDts){At=ke;break}else le[ke].originalBeginDts<$?Ue=ke+1:nt=ke-1;return At}},{key:"_searchNearestSegmentAfter",value:function($){return this._searchNearestSegmentBefore($)+1}},{key:"append",value:function($){var le=this._list,Oe=$,ke=this._lastAppendLocation,Ue=0;ke!==-1&&ke<le.length&&Oe.originalBeginDts>=le[ke].lastSample.originalDts&&(ke===le.length-1||ke<le.length-1&&Oe.originalBeginDts<le[ke+1].originalBeginDts)?Ue=ke+1:le.length>0&&(Ue=this._searchNearestSegmentBefore(Oe.originalBeginDts)+1),this._lastAppendLocation=Ue,this._list.splice(Ue,0,Oe)}},{key:"getLastSegmentBefore",value:function($){var le=this._searchNearestSegmentBefore($);return le>=0?this._list[le]:null}},{key:"getLastSampleBefore",value:function($){var le=this.getLastSegmentBefore($);return le!=null?le.lastSample:null}},{key:"getLastSyncPointBefore",value:function($){for(var le=this._searchNearestSegmentBefore($),Oe=this._list[le].syncPoints;Oe.length===0&&le>0;)le--,Oe=this._list[le].syncPoints;return Oe.length>0?Oe[Oe.length-1]:null}},{key:"type",get:function(){return this._type}},{key:"length",get:function(){return this._list.length}}]),de}(),Ve=function(){function de(xe){Object(g.a)(this,de),this.TAG="MP4Remuxer",this._config=xe,this._isLive=xe.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=Infinity,this._videoDtsBase=Infinity,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new ot("audio"),this._videoSegmentInfoList=new ot("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(_.chrome&&(_.version.major<50||_.version.major===50&&_.version.build<2661)),this._fillSilentAfterSeek=_.msedge||_.msie,this._mp3UseMpegAudio=!_.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return Object(f.a)(de,[{key:"destroy",value:function(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}},{key:"bindDataSource",value:function($){return $.onDataAvailable=this.remux.bind(this),$.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function($){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function($,le){if(!this._onMediaSegment)throw new l("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase($,le),this._remuxVideo(le),this._remuxAudio($)}},{key:"_onTrackMetadataReceived",value:function($,le){var Oe=null,ke="mp4",Ue=le.codec;if($==="audio")this._audioMeta=le,le.codec==="mp3"&&this._mp3UseMpegAudio?(ke="mpeg",Ue="",Oe=new Uint8Array):Oe=Tt.generateInitSegment(le);else if($==="video")this._videoMeta=le,Oe=Tt.generateInitSegment(le);else return;if(!this._onInitSegment)throw new l("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment($,{type:$,data:Oe.buffer,codec:Ue,container:"".concat($,"/").concat(ke),mediaDuration:le.duration})}},{key:"_calculateDtsBase",value:function($,le){if(this._dtsBaseInited)return;$.samples&&$.samples.length&&(this._audioDtsBase=$.samples[0].dts),le.samples&&le.samples.length&&(this._videoDtsBase=le.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var $=this._videoStashedLastSample,le=this._audioStashedLastSample,Oe={type:"video",id:1,sequenceNumber:0,samples:[],length:0};$!=null&&(Oe.samples.push($),Oe.length=$.length);var ke={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};le!=null&&(ke.samples.push(le),ke.length=le.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(Oe,!0),this._remuxAudio(ke,!0)}},{key:"_remuxAudio",value:function($,le){if(this._audioMeta==null)return;var Oe=$,ke=Oe.samples,Ue=void 0,nt=-1,At=-1,Wt=-1,$t=this._audioMeta.refSampleDuration,Rt=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,zt=this._dtsBaseInited&&this._audioNextDts===void 0,Gt=!1;if(!ke||ke.length===0)return;if(ke.length===1&&!le)return;var Qt=0,Mt=null,dr=0;Rt?(Qt=0,dr=Oe.length):(Qt=8,dr=8+Oe.length);var er=null;if(ke.length>1&&(er=ke.pop(),dr-=er.length),this._audioStashedLastSample!=null){var ht=this._audioStashedLastSample;this._audioStashedLastSample=null,ke.unshift(ht),dr+=ht.length}er!=null&&(this._audioStashedLastSample=er);var Et=ke[0].dts-this._dtsBase;if(this._audioNextDts)Ue=Et-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())Ue=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&(Gt=!0));else{var pt=this._audioSegmentInfoList.getLastSampleBefore(Et);if(pt!=null){var vt=Et-(pt.originalDts+pt.duration);vt<=3&&(vt=0);var Nt=pt.dts+pt.duration+vt;Ue=Et-Nt}else Ue=0}if(Gt){var _t=Et-Ue,gt=this._videoSegmentInfoList.getLastSegmentBefore(Et);if(gt!=null&&gt.beginDts<_t){var Ht=st.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(Ht){var kt=gt.beginDts,ir=_t-gt.beginDts;i.v(this.TAG,"InsertPrefixSilentAudio: dts: ".concat(kt,", duration: ").concat(ir)),ke.unshift({unit:Ht,dts:kt,pts:kt}),dr+=Ht.byteLength}}else Gt=!1}for(var Xt=[],mr=0;mr<ke.length;mr++){var Ar=ke[mr],Nr=Ar.unit,kr=Ar.dts-this._dtsBase,tn=kr-Ue;nt===-1&&(nt=tn);var qr=0;if(mr!==ke.length-1){var _r=ke[mr+1].dts-this._dtsBase-Ue;qr=_r-tn}else if(er!=null){var Qr=er.dts-this._dtsBase-Ue;qr=Qr-tn}else Xt.length>=1?qr=Xt[Xt.length-1].duration:qr=Math.floor($t);var Ir=!1,cr=null;if(qr>$t*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!_.safari){Ir=!0;var pr=Math.abs(qr-$t),ur=Math.ceil(pr/$t),fr=tn+$t;i.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync.
`+"dts: ".concat(tn+qr," ms, expected: ").concat(tn+Math.round($t)," ms, ")+"delta: ".concat(Math.round(pr)," ms, generate: ").concat(ur," frames"));var xr=st.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);xr==null&&(i.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),xr=Nr),cr=[];for(var Yr=0;Yr<ur;Yr++){var cn=Math.round(fr);if(cr.length>0){var Nn=cr[cr.length-1];Nn.duration=cn-Nn.dts}var jr={dts:cn,pts:cn,cts:0,unit:xr,size:xr.byteLength,duration:0,originalDts:kr,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};cr.push(jr),dr+=jr.size,fr+=$t}var Tn=cr[cr.length-1];Tn.duration=tn+qr-Tn.dts,qr=Math.round($t)}Xt.push({dts:tn,pts:tn,cts:0,unit:Ar.unit,size:Ar.unit.byteLength,duration:qr,originalDts:kr,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),Ir&&Xt.push.apply(Xt,cr)}Rt?Mt=new Uint8Array(dr):(Mt=new Uint8Array(dr),Mt[0]=dr>>>24&255,Mt[1]=dr>>>16&255,Mt[2]=dr>>>8&255,Mt[3]=dr&255,Mt.set(Tt.types.mdat,4));for(var gn=0;gn<Xt.length;gn++){var Pn=Xt[gn].unit;Mt.set(Pn,Qt),Qt+=Pn.byteLength}var Kn=Xt[Xt.length-1];At=Kn.dts+Kn.duration,this._audioNextDts=At;var qn=new Je;qn.beginDts=nt,qn.endDts=At,qn.beginPts=nt,qn.endPts=At,qn.originalBeginDts=Xt[0].originalDts,qn.originalEndDts=Kn.originalDts+Kn.duration,qn.firstSample=new Xe(Xt[0].dts,Xt[0].pts,Xt[0].duration,Xt[0].originalDts,!1),qn.lastSample=new Xe(Kn.dts,Kn.pts,Kn.duration,Kn.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(qn),Oe.samples=Xt,Oe.sequenceNumber++;var Yn=null;Rt?Yn=new Uint8Array:Yn=Tt.moof(Oe,nt),Oe.samples=[],Oe.length=0;var Vn={type:"audio",data:this._mergeBoxes(Yn,Mt).buffer,sampleCount:Xt.length,info:qn};Rt&&zt&&(Vn.timestampOffset=nt),this._onMediaSegment("audio",Vn)}},{key:"_remuxVideo",value:function($,le){if(this._videoMeta==null)return;var Oe=$,ke=Oe.samples,Ue=void 0,nt=-1,At=-1,Wt=-1,$t=-1;if(!ke||ke.length===0)return;if(ke.length===1&&!le)return;var Rt=8,zt=null,Gt=8+$.length,Qt=null;if(ke.length>1&&(Qt=ke.pop(),Gt-=Qt.length),this._videoStashedLastSample!=null){var Mt=this._videoStashedLastSample;this._videoStashedLastSample=null,ke.unshift(Mt),Gt+=Mt.length}Qt!=null&&(this._videoStashedLastSample=Qt);var dr=ke[0].dts-this._dtsBase;if(this._videoNextDts)Ue=dr-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())Ue=0;else{var er=this._videoSegmentInfoList.getLastSampleBefore(dr);if(er!=null){var ht=dr-(er.originalDts+er.duration);ht<=3&&(ht=0);var Et=er.dts+er.duration+ht;Ue=dr-Et}else Ue=0}for(var pt=new Je,vt=[],Nt=0;Nt<ke.length;Nt++){var _t=ke[Nt],gt=_t.dts-this._dtsBase,Ht=_t.isKeyframe,kt=gt-Ue,ir=_t.cts,Xt=kt+ir;nt===-1&&(nt=kt,Wt=Xt);var mr=0;if(Nt!==ke.length-1){var Ar=ke[Nt+1].dts-this._dtsBase-Ue;mr=Ar-kt}else if(Qt!=null){var Nr=Qt.dts-this._dtsBase-Ue;mr=Nr-kt}else vt.length>=1?mr=vt[vt.length-1].duration:mr=Math.floor(this._videoMeta.refSampleDuration);if(Ht){var kr=new Xe(kt,Xt,mr,_t.dts,!0);kr.fileposition=_t.fileposition,pt.appendSyncPoint(kr)}vt.push({dts:kt,pts:Xt,cts:ir,units:_t.units,size:_t.length,isKeyframe:Ht,duration:mr,originalDts:gt,flags:{isLeading:0,dependsOn:Ht?2:1,isDependedOn:Ht?1:0,hasRedundancy:0,isNonSync:Ht?0:1}})}zt=new Uint8Array(Gt),zt[0]=Gt>>>24&255,zt[1]=Gt>>>16&255,zt[2]=Gt>>>8&255,zt[3]=Gt&255,zt.set(Tt.types.mdat,4);for(var tn=0;tn<vt.length;tn++)for(var qr=vt[tn].units;qr.length;){var _r=qr.shift(),Qr=_r.data;zt.set(Qr,Rt),Rt+=Qr.byteLength}var Ir=vt[vt.length-1];if(At=Ir.dts+Ir.duration,$t=Ir.pts+Ir.duration,this._videoNextDts=At,pt.beginDts=nt,pt.endDts=At,pt.beginPts=Wt,pt.endPts=$t,pt.originalBeginDts=vt[0].originalDts,pt.originalEndDts=Ir.originalDts+Ir.duration,pt.firstSample=new Xe(vt[0].dts,vt[0].pts,vt[0].duration,vt[0].originalDts,vt[0].isKeyframe),pt.lastSample=new Xe(Ir.dts,Ir.pts,Ir.duration,Ir.originalDts,Ir.isKeyframe),this._isLive||this._videoSegmentInfoList.append(pt),Oe.samples=vt,Oe.sequenceNumber++,this._forceFirstIDR){var cr=vt[0].flags;cr.dependsOn=2,cr.isNonSync=0}var pr=Tt.moof(Oe,nt);Oe.samples=[],Oe.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(pr,zt).buffer,sampleCount:vt.length,info:pt})}},{key:"_mergeBoxes",value:function($,le){var Oe=new Uint8Array($.byteLength+le.byteLength);return Oe.set($,0),Oe.set(le,$.byteLength),Oe}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function($){this._onInitSegment=$}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function($){this._onMediaSegment=$}}]),de}(),ue=Ve,ae={IO_ERROR:"io_error",DEMUX_ERROR:"demux_error",INIT_SEGMENT:"init_segment",MEDIA_SEGMENT:"media_segment",LOADING_COMPLETE:"loading_complete",RECOVERED_EARLY_EOF:"recovered_early_eof",MEDIA_INFO:"media_info",METADATA_ARRIVED:"metadata_arrived",SCRIPTDATA_ARRIVED:"scriptdata_arrived",STATISTICS_INFO:"statistics_info",RECOMMEND_SEEKPOINT:"recommend_seekpoint"},lt=ae,Ze=function(){function de(xe,$){Object(g.a)(this,de),this.TAG="TransmuxingController",this._emitter=new h.a,this._config=$,xe.segments||(xe.segments=[{duration:xe.duration,filesize:xe.filesize,url:xe.url}]),typeof xe.cors!="boolean"&&(xe.cors=!0),typeof xe.withCredentials!="boolean"&&(xe.withCredentials=!1),this._mediaDataSource=xe,this._currentSegmentIndex=0;var le=0;this._mediaDataSource.segments.forEach(function(Oe){Oe.timestampBase=le,le+=Oe.duration,Oe.cors=xe.cors,Oe.withCredentials=xe.withCredentials,$.referrerPolicy&&(Oe.referrerPolicy=$.referrerPolicy)}),!isNaN(le)&&this._mediaDataSource.duration!==le&&(this._mediaDataSource.duration=le),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}return Object(f.a)(de,[{key:"destroy",value:function(){this._mediaInfo=null,this._mediaDataSource=null,this._statisticsReporter&&this._disableStatisticsReporter(),this._ioctl&&(this._ioctl.destroy(),this._ioctl=null),this._demuxer&&(this._demuxer.destroy(),this._demuxer=null),this._remuxer&&(this._remuxer.destroy(),this._remuxer=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function($,le){this._emitter.addListener($,le)}},{key:"off",value:function($,le){this._emitter.removeListener($,le)}},{key:"start",value:function(){this._loadSegment(0),this._enableStatisticsReporter()}},{key:"_loadSegment",value:function($,le){this._currentSegmentIndex=$;var Oe=this._mediaDataSource.segments[$],ke=this._ioctl=new K(Oe,this._config,$);ke.onError=this._onIOException.bind(this),ke.onSeeked=this._onIOSeeked.bind(this),ke.onComplete=this._onIOComplete.bind(this),ke.onRedirect=this._onIORedirect.bind(this),ke.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),le?this._demuxer.bindDataSource(this._ioctl):ke.onDataArrival=this._onInitChunkArrival.bind(this),ke.open(le)}},{key:"stop",value:function(){this._internalAbort(),this._disableStatisticsReporter()}},{key:"_internalAbort",value:function(){this._ioctl&&(this._ioctl.destroy(),this._ioctl=null)}},{key:"pause",value:function(){this._ioctl&&this._ioctl.isWorking()&&(this._ioctl.pause(),this._disableStatisticsReporter())}},{key:"resume",value:function(){this._ioctl&&this._ioctl.isPaused()&&(this._ioctl.resume(),this._enableStatisticsReporter())}},{key:"seek",value:function($){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;var le=this._searchSegmentIndexContains($);if(le===this._currentSegmentIndex){var Oe=this._mediaInfo.segments[le];if(Oe==null)this._pendingSeekTime=$;else{var ke=Oe.getNearestKeyframe($);this._remuxer.seek(ke.milliseconds),this._ioctl.seek(ke.fileposition),this._pendingResolveSeekPoint=ke.milliseconds}}else{var Ue=this._mediaInfo.segments[le];if(Ue==null)this._pendingSeekTime=$,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(le);else{var nt=Ue.getNearestKeyframe($);this._internalAbort(),this._remuxer.seek($),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[le].timestampBase,this._loadSegment(le,nt.fileposition),this._pendingResolveSeekPoint=nt.milliseconds,this._reportSegmentMediaInfo(le)}}this._enableStatisticsReporter()}},{key:"_searchSegmentIndexContains",value:function($){for(var le=this._mediaDataSource.segments,Oe=le.length-1,ke=0;ke<le.length;ke++)if($<le[ke].timestampBase){Oe=ke-1;break}return Oe}},{key:"_onInitChunkArrival",value:function($,le){var Oe=this,ke=null,Ue=0;if(le>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,Ue=this._demuxer.parseChunks($,le);else if((ke=dt.probe($)).match){this._demuxer=new dt(ke,this._config),this._remuxer||(this._remuxer=new ue(this._config));var nt=this._mediaDataSource;nt.duration!=null&&!isNaN(nt.duration)&&(this._demuxer.overridedDuration=nt.duration),typeof nt.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=nt.hasAudio),typeof nt.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=nt.hasVideo),this._demuxer.timestampBase=nt.segments[this._currentSegmentIndex].timestampBase,this._demuxer.onError=this._onDemuxException.bind(this),this._demuxer.onMediaInfo=this._onMediaInfo.bind(this),this._demuxer.onMetaDataArrived=this._onMetaDataArrived.bind(this),this._demuxer.onScriptDataArrived=this._onScriptDataArrived.bind(this),this._remuxer.bindDataSource(this._demuxer.bindDataSource(this._ioctl)),this._remuxer.onInitSegment=this._onRemuxerInitSegmentArrival.bind(this),this._remuxer.onMediaSegment=this._onRemuxerMediaSegmentArrival.bind(this),Ue=this._demuxer.parseChunks($,le)}else ke=null,i.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){Oe._internalAbort()}),this._emitter.emit(lt.DEMUX_ERROR,te.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),Ue=0;return Ue}},{key:"_onMediaInfo",value:function($){var le=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},$),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,rt.prototype));var Oe=Object.assign({},$);Object.setPrototypeOf(Oe,rt.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=Oe,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var ke=le._pendingSeekTime;le._pendingSeekTime=null,le.seek(ke)})}},{key:"_onMetaDataArrived",value:function($){this._emitter.emit(lt.METADATA_ARRIVED,$)}},{key:"_onScriptDataArrived",value:function($){this._emitter.emit(lt.SCRIPTDATA_ARRIVED,$)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function($){var le=$,Oe=le+1;Oe<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(Oe)):(this._remuxer.flushStashedSamples(),this._emitter.emit(lt.LOADING_COMPLETE),this._disableStatisticsReporter())}},{key:"_onIORedirect",value:function($){var le=this._ioctl.extraData;this._mediaDataSource.segments[le].redirectedURL=$}},{key:"_onIORecoveredEarlyEof",value:function(){this._emitter.emit(lt.RECOVERED_EARLY_EOF)}},{key:"_onIOException",value:function($,le){i.e(this.TAG,"IOException: type = ".concat($,", code = ").concat(le.code,", msg = ").concat(le.msg)),this._emitter.emit(lt.IO_ERROR,$,le),this._disableStatisticsReporter()}},{key:"_onDemuxException",value:function($,le){i.e(this.TAG,"DemuxException: type = ".concat($,", info = ").concat(le)),this._emitter.emit(lt.DEMUX_ERROR,$,le)}},{key:"_onRemuxerInitSegmentArrival",value:function($,le){this._emitter.emit(lt.INIT_SEGMENT,$,le)}},{key:"_onRemuxerMediaSegmentArrival",value:function($,le){if(this._pendingSeekTime!=null)return;if(this._emitter.emit(lt.MEDIA_SEGMENT,$,le),this._pendingResolveSeekPoint!=null&&$==="video"){var Oe=le.info.syncPoints,ke=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,_.safari&&Oe.length>0&&Oe[0].originalDts===ke&&(ke=Oe[0].pts),this._emitter.emit(lt.RECOMMEND_SEEKPOINT,ke)}}},{key:"_enableStatisticsReporter",value:function(){this._statisticsReporter==null&&(this._statisticsReporter=self.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval))}},{key:"_disableStatisticsReporter",value:function(){this._statisticsReporter&&(self.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"_reportSegmentMediaInfo",value:function($){var le=this._mediaInfo.segments[$],Oe=Object.assign({},le);Oe.duration=this._mediaInfo.duration,Oe.segmentCount=this._mediaInfo.segmentCount,delete Oe.segments,delete Oe.keyframesIndex,this._emitter.emit(lt.MEDIA_INFO,Oe)}},{key:"_reportStatisticsInfo",value:function(){var $={};$.url=this._ioctl.currentURL,$.hasRedirect=this._ioctl.hasRedirect,$.hasRedirect&&($.redirectedURL=this._ioctl.currentRedirectedURL),$.speed=this._ioctl.currentSpeed,$.loaderType=this._ioctl.loaderType,$.currentSegmentIndex=this._currentSegmentIndex,$.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(lt.STATISTICS_INFO,$)}}]),de}(),Te=Ze,Jt=function(xe){var $="TransmuxingWorker",le=null,Oe=dr.bind(this);m.install(),xe.addEventListener("message",function(er){switch(er.data.cmd){case"init":le=new Te(er.data.param[0],er.data.param[1]),le.on(lt.IO_ERROR,Gt.bind(this)),le.on(lt.DEMUX_ERROR,Qt.bind(this)),le.on(lt.INIT_SEGMENT,ke.bind(this)),le.on(lt.MEDIA_SEGMENT,Ue.bind(this)),le.on(lt.LOADING_COMPLETE,nt.bind(this)),le.on(lt.RECOVERED_EARLY_EOF,At.bind(this)),le.on(lt.MEDIA_INFO,Wt.bind(this)),le.on(lt.METADATA_ARRIVED,$t.bind(this)),le.on(lt.SCRIPTDATA_ARRIVED,Rt.bind(this)),le.on(lt.STATISTICS_INFO,zt.bind(this)),le.on(lt.RECOMMEND_SEEKPOINT,Mt.bind(this));break;case"destroy":le&&(le.destroy(),le=null),xe.postMessage({msg:"destroyed"});break;case"start":le.start();break;case"stop":le.stop();break;case"seek":le.seek(er.data.param);break;case"pause":le.pause();break;case"resume":le.resume();break;case"logging_config":{var ht=er.data.param;Pe.applyConfig(ht),ht.enableCallback===!0?Pe.addLogListener(Oe):Pe.removeLogListener(Oe);break}}});function ke(er,ht){var Et={msg:lt.INIT_SEGMENT,data:{type:er,data:ht}};xe.postMessage(Et,[ht.data])}function Ue(er,ht){var Et={msg:lt.MEDIA_SEGMENT,data:{type:er,data:ht}};xe.postMessage(Et,[ht.data])}function nt(){var er={msg:lt.LOADING_COMPLETE};xe.postMessage(er)}function At(){var er={msg:lt.RECOVERED_EARLY_EOF};xe.postMessage(er)}function Wt(er){var ht={msg:lt.MEDIA_INFO,data:er};xe.postMessage(ht)}function $t(er){var ht={msg:lt.METADATA_ARRIVED,data:er};xe.postMessage(ht)}function Rt(er){var ht={msg:lt.SCRIPTDATA_ARRIVED,data:er};xe.postMessage(ht)}function zt(er){var ht={msg:lt.STATISTICS_INFO,data:er};xe.postMessage(ht)}function Gt(er,ht){xe.postMessage({msg:lt.IO_ERROR,data:{type:er,info:ht}})}function Qt(er,ht){xe.postMessage({msg:lt.DEMUX_ERROR,data:{type:er,info:ht}})}function Mt(er){xe.postMessage({msg:lt.RECOMMEND_SEEKPOINT,data:er})}function dr(er,ht){xe.postMessage({msg:"logcat_callback",data:{type:er,logcat:ht}})}},mt=Jt,ft=function(){function de(xe,$){if(Object(g.a)(this,de),this.TAG="Transmuxer",this._emitter=new h.a,$.enableWorker&&typeof Worker!="undefined")try{var le=e("0r65");this._worker=le(mt),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[xe,$]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},Pe.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:Pe.getConfig()})}catch(ke){i.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new Te(xe,$)}else this._controller=new Te(xe,$);if(this._controller){var Oe=this._controller;Oe.on(lt.IO_ERROR,this._onIOError.bind(this)),Oe.on(lt.DEMUX_ERROR,this._onDemuxError.bind(this)),Oe.on(lt.INIT_SEGMENT,this._onInitSegment.bind(this)),Oe.on(lt.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),Oe.on(lt.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),Oe.on(lt.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),Oe.on(lt.MEDIA_INFO,this._onMediaInfo.bind(this)),Oe.on(lt.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),Oe.on(lt.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),Oe.on(lt.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),Oe.on(lt.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(f.a)(de,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),Pe.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function($,le){this._emitter.addListener($,le)}},{key:"off",value:function($,le){this._emitter.removeListener($,le)}},{key:"hasWorker",value:function(){return this._worker!=null}},{key:"open",value:function(){this._worker?this._worker.postMessage({cmd:"start"}):this._controller.start()}},{key:"close",value:function(){this._worker?this._worker.postMessage({cmd:"stop"}):this._controller.stop()}},{key:"seek",value:function($){this._worker?this._worker.postMessage({cmd:"seek",param:$}):this._controller.seek($)}},{key:"pause",value:function(){this._worker?this._worker.postMessage({cmd:"pause"}):this._controller.pause()}},{key:"resume",value:function(){this._worker?this._worker.postMessage({cmd:"resume"}):this._controller.resume()}},{key:"_onInitSegment",value:function($,le){var Oe=this;Promise.resolve().then(function(){Oe._emitter.emit(lt.INIT_SEGMENT,$,le)})}},{key:"_onMediaSegment",value:function($,le){var Oe=this;Promise.resolve().then(function(){Oe._emitter.emit(lt.MEDIA_SEGMENT,$,le)})}},{key:"_onLoadingComplete",value:function(){var $=this;Promise.resolve().then(function(){$._emitter.emit(lt.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var $=this;Promise.resolve().then(function(){$._emitter.emit(lt.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function($){var le=this;Promise.resolve().then(function(){le._emitter.emit(lt.MEDIA_INFO,$)})}},{key:"_onMetaDataArrived",value:function($){var le=this;Promise.resolve().then(function(){le._emitter.emit(lt.METADATA_ARRIVED,$)})}},{key:"_onScriptDataArrived",value:function($){var le=this;Promise.resolve().then(function(){le._emitter.emit(lt.SCRIPTDATA_ARRIVED,$)})}},{key:"_onStatisticsInfo",value:function($){var le=this;Promise.resolve().then(function(){le._emitter.emit(lt.STATISTICS_INFO,$)})}},{key:"_onIOError",value:function($,le){var Oe=this;Promise.resolve().then(function(){Oe._emitter.emit(lt.IO_ERROR,$,le)})}},{key:"_onDemuxError",value:function($,le){var Oe=this;Promise.resolve().then(function(){Oe._emitter.emit(lt.DEMUX_ERROR,$,le)})}},{key:"_onRecommendSeekpoint",value:function($){var le=this;Promise.resolve().then(function(){le._emitter.emit(lt.RECOMMEND_SEEKPOINT,$)})}},{key:"_onLoggingConfigChanged",value:function($){this._worker&&this._worker.postMessage({cmd:"logging_config",param:$})}},{key:"_onWorkerMessage",value:function($){var le=$.data,Oe=le.data;if(le.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(le.msg){case lt.INIT_SEGMENT:case lt.MEDIA_SEGMENT:this._emitter.emit(le.msg,Oe.type,Oe.data);break;case lt.LOADING_COMPLETE:case lt.RECOVERED_EARLY_EOF:this._emitter.emit(le.msg);break;case lt.MEDIA_INFO:Object.setPrototypeOf(Oe,rt.prototype),this._emitter.emit(le.msg,Oe);break;case lt.METADATA_ARRIVED:case lt.SCRIPTDATA_ARRIVED:case lt.STATISTICS_INFO:this._emitter.emit(le.msg,Oe);break;case lt.IO_ERROR:case lt.DEMUX_ERROR:this._emitter.emit(le.msg,Oe.type,Oe.info);break;case lt.RECOMMEND_SEEKPOINT:this._emitter.emit(le.msg,Oe);break;case"logcat_callback":i.emitter.emit("log",Oe.type,Oe.logcat);break;default:break}}}]),de}(),bt=ft,Lt={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},or=Lt,Bt=function(){function de(xe){Object(g.a)(this,de),this.TAG="MSEController",this._config=xe,this._emitter=new h.a,this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new et}return Object(f.a)(de,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function($,le){this._emitter.addListener($,le)}},{key:"off",value:function($,le){this._emitter.removeListener($,le)}},{key:"attachMediaElement",value:function($){if(this._mediaSource)throw new l("MediaSource has been attached to an HTMLMediaElement!");var le=this._mediaSource=new window.MediaSource;le.addEventListener("sourceopen",this.e.onSourceOpen),le.addEventListener("sourceended",this.e.onSourceEnded),le.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=$,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),$.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var $=this._mediaSource;for(var le in this._sourceBuffers){var Oe=this._pendingSegments[le];Oe.splice(0,Oe.length),this._pendingSegments[le]=null,this._pendingRemoveRanges[le]=null,this._lastInitSegments[le]=null;var ke=this._sourceBuffers[le];if(ke){if($.readyState!=="closed"){try{$.removeSourceBuffer(ke)}catch(Ue){i.e(this.TAG,Ue.message)}ke.removeEventListener("error",this.e.onSourceBufferError),ke.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[le]=null,this._sourceBuffers[le]=null}}if($.readyState==="open")try{$.endOfStream()}catch(Ue){i.e(this.TAG,Ue.message)}$.removeEventListener("sourceopen",this.e.onSourceOpen),$.removeEventListener("sourceended",this.e.onSourceEnded),$.removeEventListener("sourceclose",this.e.onSourceClose),this._pendingSourceBufferInit=[],this._isBufferFull=!1,this._idrList.clear(),this._mediaSource=null}this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement=null),this._mediaSourceObjectURL&&(window.URL.revokeObjectURL(this._mediaSourceObjectURL),this._mediaSourceObjectURL=null)}},{key:"appendInitSegment",value:function($,le){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push($),this._pendingSegments[$.type].push($);return}var Oe=$,ke="".concat(Oe.container);Oe.codec&&Oe.codec.length>0&&(ke+=";codecs=".concat(Oe.codec));var Ue=!1;if(i.v(this.TAG,"Received Initialization Segment, mimeType: "+ke),this._lastInitSegments[Oe.type]=Oe,ke!==this._mimeTypes[Oe.type]){if(this._mimeTypes[Oe.type])i.v(this.TAG,"Notice: ".concat(Oe.type," mimeType changed, origin: ").concat(this._mimeTypes[Oe.type],", target: ").concat(ke));else{Ue=!0;try{var nt=this._sourceBuffers[Oe.type]=this._mediaSource.addSourceBuffer(ke);nt.addEventListener("error",this.e.onSourceBufferError),nt.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(At){i.e(this.TAG,At.message),this._emitter.emit(or.ERROR,{code:At.code,msg:At.message});return}}this._mimeTypes[Oe.type]=ke}le||this._pendingSegments[Oe.type].push(Oe),Ue||this._sourceBuffers[Oe.type]&&!this._sourceBuffers[Oe.type].updating&&this._doAppendSegments(),_.safari&&Oe.container==="audio/mpeg"&&Oe.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=Oe.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function($){var le=$;this._pendingSegments[le.type].push(le),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var Oe=this._sourceBuffers[le.type];Oe&&!Oe.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function($){for(var le in this._sourceBuffers){if(!this._sourceBuffers[le])continue;var Oe=this._sourceBuffers[le];if(this._mediaSource.readyState==="open")try{Oe.abort()}catch($t){i.e(this.TAG,$t.message)}this._idrList.clear();var ke=this._pendingSegments[le];if(ke.splice(0,ke.length),this._mediaSource.readyState==="closed")continue;for(var Ue=0;Ue<Oe.buffered.length;Ue++){var nt=Oe.buffered.start(Ue),At=Oe.buffered.end(Ue);this._pendingRemoveRanges[le].push({start:nt,end:At})}if(Oe.updating||this._doRemoveRanges(),_.safari){var Wt=this._lastInitSegments[le];Wt&&(this._pendingSegments[le].push(Wt),Oe.updating||this._doAppendSegments())}}}},{key:"endOfStream",value:function(){var $=this._mediaSource,le=this._sourceBuffers;if(!$||$.readyState!=="open"){$&&$.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}le.video&&le.video.updating||le.audio&&le.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,$.endOfStream())}},{key:"getNearestKeyframe",value:function($){return this._idrList.getLastSyncPointBeforeDts($)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var $=this._mediaElement.currentTime;for(var le in this._sourceBuffers){var Oe=this._sourceBuffers[le];if(Oe){var ke=Oe.buffered;if(ke.length>=1&&$-ke.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var $=this._mediaElement.currentTime;for(var le in this._sourceBuffers){var Oe=this._sourceBuffers[le];if(Oe){for(var ke=Oe.buffered,Ue=!1,nt=0;nt<ke.length;nt++){var At=ke.start(nt),Wt=ke.end(nt);if(At<=$&&$<Wt+3){if($-At>=this._config.autoCleanupMaxBackwardDuration){Ue=!0;var $t=$-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[le].push({start:At,end:$t})}}else Wt<$&&(Ue=!0,this._pendingRemoveRanges[le].push({start:At,end:Wt}))}Ue&&!Oe.updating&&this._doRemoveRanges()}}}},{key:"_updateMediaSourceDuration",value:function(){var $=this._sourceBuffers;if(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open")return;if($.video&&$.video.updating||$.audio&&$.audio.updating)return;var le=this._mediaSource.duration,Oe=this._pendingMediaDuration;Oe>0&&(isNaN(le)||Oe>le)&&(i.v(this.TAG,"Update MediaSource duration from ".concat(le," to ").concat(Oe)),this._mediaSource.duration=Oe),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var $ in this._pendingRemoveRanges){if(!this._sourceBuffers[$]||this._sourceBuffers[$].updating)continue;for(var le=this._sourceBuffers[$],Oe=this._pendingRemoveRanges[$];Oe.length&&!le.updating;){var ke=Oe.shift();le.remove(ke.start,ke.end)}}}},{key:"_doAppendSegments",value:function(){var $=this._pendingSegments;for(var le in $){if(!this._sourceBuffers[le]||this._sourceBuffers[le].updating)continue;if($[le].length>0){var Oe=$[le].shift();if(Oe.timestampOffset){var ke=this._sourceBuffers[le].timestampOffset,Ue=Oe.timestampOffset/1e3,nt=Math.abs(ke-Ue);nt>.1&&(i.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(ke," to ").concat(Ue)),this._sourceBuffers[le].timestampOffset=Ue),delete Oe.timestampOffset}if(!Oe.data||Oe.data.byteLength===0)continue;try{this._sourceBuffers[le].appendBuffer(Oe.data),this._isBufferFull=!1,le==="video"&&Oe.hasOwnProperty("info")&&this._idrList.appendArray(Oe.info.syncPoints)}catch(At){this._pendingSegments[le].unshift(Oe),At.code===22?(this._isBufferFull||this._emitter.emit(or.BUFFER_FULL),this._isBufferFull=!0):(i.e(this.TAG,At.message),this._emitter.emit(or.ERROR,{code:At.code,msg:At.message}))}}}}},{key:"_onSourceOpen",value:function(){if(i.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var $=this._pendingSourceBufferInit;$.length;){var le=$.shift();this.appendInitSegment(le,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(or.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){i.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){i.v(this.TAG,"MediaSource onSourceClose"),this._mediaSource&&this.e!=null&&(this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._mediaSource.removeEventListener("sourceended",this.e.onSourceEnded),this._mediaSource.removeEventListener("sourceclose",this.e.onSourceClose))}},{key:"_hasPendingSegments",value:function(){var $=this._pendingSegments;return $.video.length>0||$.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var $=this._pendingRemoveRanges;return $.video.length>0||$.audio.length>0}},{key:"_onSourceBufferUpdateEnd",value:function(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(or.UPDATE_END)}},{key:"_onSourceBufferError",value:function($){i.e(this.TAG,"SourceBuffer Error: ".concat($))}}]),de}(),_e=Bt,Ce={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},Ee={NETWORK_EXCEPTION:p.EXCEPTION,NETWORK_STATUS_CODE_INVALID:p.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:p.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:p.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:te.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:te.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:te.CODEC_UNSUPPORTED},we=function(){function de(xe,$){if(Object(g.a)(this,de),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new h.a,this._config=Q(),typeof $=="object"&&Object.assign(this._config,$),xe.type.toLowerCase()!=="flv")throw new t("FlvPlayer requires an flv MediaDataSource input!");xe.isLive===!0&&(this._config.isLive=!0),this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this),onvSeeking:this._onvSeeking.bind(this),onvCanPlay:this._onvCanPlay.bind(this),onvStalled:this._onvStalled.bind(this),onvProgress:this._onvProgress.bind(this)},self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now,this._pendingSeekTime=null,this._requestSetTime=!1,this._seekpointRecord=null,this._progressChecker=null,this._mediaDataSource=xe,this._mediaElement=null,this._msectl=null,this._transmuxer=null,this._mseSourceOpened=!1,this._hasPendingLoad=!1,this._receivedCanPlay=!1,this._mediaInfo=null,this._statisticsInfo=null;var le=_.chrome&&(_.version.major<50||_.version.major===50&&_.version.build<2661);this._alwaysSeekKeyframe=!!(le||_.msedge||_.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(f.a)(de,[{key:"destroy",value:function(){this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._transmuxer&&this.unload(),this._mediaElement&&this.detachMediaElement(),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function($,le){var Oe=this;$===Ae.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){Oe._emitter.emit(Ae.MEDIA_INFO,Oe.mediaInfo)}):$===Ae.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){Oe._emitter.emit(Ae.STATISTICS_INFO,Oe.statisticsInfo)})),this._emitter.addListener($,le)}},{key:"off",value:function($,le){this._emitter.removeListener($,le)}},{key:"attachMediaElement",value:function($){var le=this;if(this._mediaElement=$,$.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),$.addEventListener("seeking",this.e.onvSeeking),$.addEventListener("canplay",this.e.onvCanPlay),$.addEventListener("stalled",this.e.onvStalled),$.addEventListener("progress",this.e.onvProgress),this._msectl=new _e(this._config),this._msectl.on(or.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(or.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(or.SOURCE_OPEN,function(){le._mseSourceOpened=!0,le._hasPendingLoad&&(le._hasPendingLoad=!1,le.load())}),this._msectl.on(or.ERROR,function(Oe){le._emitter.emit(Ae.ERROR,Ce.MEDIA_ERROR,Ee.MEDIA_MSE_ERROR,Oe)}),this._msectl.attachMediaElement($),this._pendingSeekTime!=null)try{$.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(Oe){}}},{key:"detachMediaElement",value:function(){this._mediaElement&&(this._msectl.detachMediaElement(),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement.removeEventListener("seeking",this.e.onvSeeking),this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay),this._mediaElement.removeEventListener("stalled",this.e.onvStalled),this._mediaElement.removeEventListener("progress",this.e.onvProgress),this._mediaElement=null),this._msectl&&(this._msectl.destroy(),this._msectl=null)}},{key:"load",value:function(){var $=this;if(!this._mediaElement)throw new l("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new l("FlvPlayer.load() has been called, please call unload() first!");if(this._hasPendingLoad)return;if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new bt(this._mediaDataSource,this._config),this._transmuxer.on(lt.INIT_SEGMENT,function(le,Oe){$._msectl.appendInitSegment(Oe)}),this._transmuxer.on(lt.MEDIA_SEGMENT,function(le,Oe){if($._msectl.appendMediaSegment(Oe),$._config.lazyLoad&&!$._config.isLive){var ke=$._mediaElement.currentTime;Oe.info.endDts>=(ke+$._config.lazyLoadMaxDuration)*1e3&&($._progressChecker==null&&(i.v($.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),$._suspendTransmuxer()))}}),this._transmuxer.on(lt.LOADING_COMPLETE,function(){$._msectl.endOfStream(),$._emitter.emit(Ae.LOADING_COMPLETE)}),this._transmuxer.on(lt.RECOVERED_EARLY_EOF,function(){$._emitter.emit(Ae.RECOVERED_EARLY_EOF)}),this._transmuxer.on(lt.IO_ERROR,function(le,Oe){$._emitter.emit(Ae.ERROR,Ce.NETWORK_ERROR,le,Oe)}),this._transmuxer.on(lt.DEMUX_ERROR,function(le,Oe){$._emitter.emit(Ae.ERROR,Ce.MEDIA_ERROR,le,{code:-1,msg:Oe})}),this._transmuxer.on(lt.MEDIA_INFO,function(le){$._mediaInfo=le,$._emitter.emit(Ae.MEDIA_INFO,Object.assign({},le))}),this._transmuxer.on(lt.METADATA_ARRIVED,function(le){$._emitter.emit(Ae.METADATA_ARRIVED,le)}),this._transmuxer.on(lt.SCRIPTDATA_ARRIVED,function(le){$._emitter.emit(Ae.SCRIPTDATA_ARRIVED,le)}),this._transmuxer.on(lt.STATISTICS_INFO,function(le){$._statisticsInfo=$._fillStatisticsInfo(le),$._emitter.emit(Ae.STATISTICS_INFO,Object.assign({},$._statisticsInfo))}),this._transmuxer.on(lt.RECOMMEND_SEEKPOINT,function(le){$._mediaElement&&!$._config.accurateSeek&&($._requestSetTime=!0,$._mediaElement.currentTime=le/1e3)}),this._transmuxer.open()}},{key:"unload",value:function(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"_fillStatisticsInfo",value:function($){if($.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return $;var le=!0,Oe=0,ke=0;if(this._mediaElement.getVideoPlaybackQuality){var Ue=this._mediaElement.getVideoPlaybackQuality();Oe=Ue.totalVideoFrames,ke=Ue.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Oe=this._mediaElement.webkitDecodedFrameCount,ke=this._mediaElement.webkitDroppedFrameCount):le=!1;return le&&($.decodedFrames=Oe,$.droppedFrames=ke),$}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var $=this._mediaElement.buffered,le=this._mediaElement.currentTime,Oe=0,ke=0,Ue=0;Ue<$.length;Ue++){var nt=$.start(Ue),At=$.end(Ue);if(nt<=le&&le<At){Oe=nt,ke=At;break}}ke>=le+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(i.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},{key:"_onmseBufferFull",value:function(){i.v(this.TAG,"MSE SourceBuffer is full, suspend transmuxing task"),this._progressChecker==null&&this._suspendTransmuxer()}},{key:"_suspendTransmuxer",value:function(){this._transmuxer&&(this._transmuxer.pause(),this._progressChecker==null&&(this._progressChecker=window.setInterval(this._checkProgressAndResume.bind(this),1e3)))}},{key:"_checkProgressAndResume",value:function(){for(var $=this._mediaElement.currentTime,le=this._mediaElement.buffered,Oe=!1,ke=0;ke<le.length;ke++){var Ue=le.start(ke),nt=le.end(ke);if($>=Ue&&$<nt){$>=nt-this._config.lazyLoadRecoverDuration&&(Oe=!0);break}}Oe&&(window.clearInterval(this._progressChecker),this._progressChecker=null,Oe&&(i.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function($){for(var le=this._mediaElement.buffered,Oe=0;Oe<le.length;Oe++){var ke=le.start(Oe),Ue=le.end(Oe);if($>=ke&&$<Ue)return!0}return!1}},{key:"_internalSeek",value:function($){var le=this._isTimepointBuffered($),Oe=!1,ke=0;if($<1&&this._mediaElement.buffered.length>0){var Ue=this._mediaElement.buffered.start(0);(Ue<1&&$<Ue||_.safari)&&(Oe=!0,ke=_.safari?.1:Ue)}if(Oe)this._requestSetTime=!0,this._mediaElement.currentTime=ke;else if(le){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=$;else{var nt=this._msectl.getNearestKeyframe(Math.floor($*1e3));this._requestSetTime=!0,nt!=null?this._mediaElement.currentTime=nt.dts/1e3:this._mediaElement.currentTime=$}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek($),this._transmuxer.seek(Math.floor($*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=$)}},{key:"_checkAndApplyUnbufferedSeekpoint",value:function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var $=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered($)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek($),this._transmuxer.seek(Math.floor($*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=$))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_checkAndResumeStuckPlayback",value:function($){var le=this._mediaElement;if($||!this._receivedCanPlay||le.readyState<2){var Oe=le.buffered;Oe.length>0&&le.currentTime<Oe.start(0)&&(i.w(this.TAG,"Playback seems stuck at ".concat(le.currentTime,", seek to ").concat(Oe.start(0))),this._requestSetTime=!0,this._mediaElement.currentTime=Oe.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function($){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function($){var le=this._mediaElement.currentTime,Oe=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if(le<1&&Oe.length>0){var ke=Oe.start(0);if(ke<1&&le<ke||_.safari){this._requestSetTime=!0,this._mediaElement.currentTime=_.safari?.1:ke;return}}if(this._isTimepointBuffered(le)){if(this._alwaysSeekKeyframe){var Ue=this._msectl.getNearestKeyframe(Math.floor(le*1e3));Ue!=null&&(this._requestSetTime=!0,this._mediaElement.currentTime=Ue.dts/1e3)}this._progressChecker!=null&&this._checkProgressAndResume();return}this._seekpointRecord={seekPoint:le,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_onvCanPlay",value:function($){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)}},{key:"_onvStalled",value:function($){this._checkAndResumeStuckPlayback(!0)}},{key:"_onvProgress",value:function($){this._checkAndResumeStuckPlayback()}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function($){this._mediaElement.volume=$}},{key:"muted",get:function(){return this._mediaElement.muted},set:function($){this._mediaElement.muted=$}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function($){this._mediaElement?this._internalSeek($):this._pendingSeekTime=$}},{key:"mediaInfo",get:function(){return Object.assign({},this._mediaInfo)}},{key:"statisticsInfo",get:function(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}}]),de}(),Fe=we,Ye=function(){function de(xe,$){if(Object(g.a)(this,de),this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new h.a,this._config=Q(),typeof $=="object"&&Object.assign(this._config,$),xe.type.toLowerCase()==="flv")throw new t("NativePlayer does't support flv MediaDataSource input!");if(xe.hasOwnProperty("segments"))throw new t("NativePlayer(".concat(xe.type,") doesn't support multipart playback!"));this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=xe,this._mediaElement=null}return Object(f.a)(de,[{key:"destroy",value:function(){this._mediaElement&&(this.unload(),this.detachMediaElement()),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function($,le){var Oe=this;$===Ae.MEDIA_INFO?this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Oe._emitter.emit(Ae.MEDIA_INFO,Oe.mediaInfo)}):$===Ae.STATISTICS_INFO&&(this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Oe._emitter.emit(Ae.STATISTICS_INFO,Oe.statisticsInfo)})),this._emitter.addListener($,le)}},{key:"off",value:function($,le){this._emitter.removeListener($,le)}},{key:"attachMediaElement",value:function($){if(this._mediaElement=$,$.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{$.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(le){}}},{key:"detachMediaElement",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"load",value:function(){if(!this._mediaElement)throw new l("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}},{key:"unload",value:function(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}},{key:"play",value:function(){return this._mediaElement.play()}},{key:"pause",value:function(){this._mediaElement.pause()}},{key:"_onvLoadedMetadata",value:function($){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(Ae.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(Ae.STATISTICS_INFO,this.statisticsInfo)}},{key:"type",get:function(){return this._type}},{key:"buffered",get:function(){return this._mediaElement.buffered}},{key:"duration",get:function(){return this._mediaElement.duration}},{key:"volume",get:function(){return this._mediaElement.volume},set:function($){this._mediaElement.volume=$}},{key:"muted",get:function(){return this._mediaElement.muted},set:function($){this._mediaElement.muted=$}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function($){this._mediaElement?this._mediaElement.currentTime=$:this._pendingSeekTime=$}},{key:"mediaInfo",get:function(){var $=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",le={mimeType:$+this._mediaDataSource.type};return this._mediaElement&&(le.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(le.width=this._mediaElement.videoWidth,le.height=this._mediaElement.videoHeight)),le}},{key:"statisticsInfo",get:function(){var $={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return $;var le=!0,Oe=0,ke=0;if(this._mediaElement.getVideoPlaybackQuality){var Ue=this._mediaElement.getVideoPlaybackQuality();Oe=Ue.totalVideoFrames,ke=Ue.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Oe=this._mediaElement.webkitDecodedFrameCount,ke=this._mediaElement.webkitDroppedFrameCount):le=!1;return le&&($.decodedFrames=Oe,$.droppedFrames=ke),$}}]),de}(),Ge=Ye;m.install();function qe(de,xe){var $=de;if($==null||typeof $!="object")throw new t("MediaDataSource must be an javascript object!");if(!$.hasOwnProperty("type"))throw new t("MediaDataSource must has type field to indicate video file type!");switch($.type){case"flv":return new Fe($,xe);default:return new Ge($,xe)}}function Ke(){return G.supportMSEH264Playback()}function ut(){return G.getFeatureList()}var wt={};wt.createPlayer=qe,wt.isSupported=Ke,wt.getFeatureList=ut,wt.BaseLoader=A,wt.LoaderStatus=c,wt.LoaderErrors=p,wt.Events=Ae,wt.ErrorTypes=Ce,wt.ErrorDetails=Ee,wt.FlvPlayer=Fe,wt.NativePlayer=Ge,wt.LoggingControl=Pe,Object.defineProperty(wt,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var It=I.a=wt},GVMX:function(R,I,e){var g=e("JEkh"),f=g.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});R.exports=f},GdRQ:function(R,I,e){"use strict";function g(T){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(v){return typeof v}:g=function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},g(T)}Object.defineProperty(I,"__esModule",{value:!0}),I.isMac=c,I.isWindows=p,I.isIOS=A,I.isSafari=w,I.isIE=C,I.isEdge=x,I.isFirefox=E,I.hasScrollbarGutter=I.supportsImageMetadata=I.supportsCursorURIs=I.dragThreshold=I.isTouchDevice=void 0;var f=m(e("Lo0S"));function b(){if(typeof WeakMap!="function")return null;var T=new WeakMap;return b=function(){return T},T}function m(T){if(T&&T.__esModule)return T;if(T===null||g(T)!=="object"&&typeof T!="function")return{default:T};var _=b();if(_&&_.has(T))return _.get(T);var v={},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in T)if(Object.prototype.hasOwnProperty.call(T,O)){var L=S?Object.getOwnPropertyDescriptor(T,O):null;L&&(L.get||L.set)?Object.defineProperty(v,O,L):v[O]=T[O]}return v.default=T,_&&_.set(T,v),v}var y="ontouchstart"in document.documentElement||document.ontouchstart!==void 0||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;I.isTouchDevice=y,window.addEventListener("touchstart",function T(){I.isTouchDevice=y=!0,window.removeEventListener("touchstart",T,!1)},!1);var h=10*(window.devicePixelRatio||1);I.dragThreshold=h;var u=!1;try{var i=document.createElement("canvas");i.style.cursor='url("data:image/x-icon;base64,AAACAAEACAgAAAIAAgA4AQAAFgAAACgAAAAIAAAAEAAAAAEAIAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAA==") 2 2, default',i.style.cursor.indexOf("url")===0?(f.Info("Data URI scheme cursor supported"),u=!0):f.Warn("Data URI scheme cursor not supported")}catch(T){f.Error("Data URI scheme cursor test exception: "+T)}var a=u;I.supportsCursorURIs=a;var r=!1;try{new ImageData(new Uint8ClampedArray(4),1,1),r=!0}catch(T){}var o=r;I.supportsImageMetadata=o;var d=!0;try{var n=document.createElement("div");n.style.visibility="hidden",n.style.overflow="scroll",document.body.appendChild(n);var l=document.createElement("div");n.appendChild(l);var t=n.offsetWidth-l.offsetWidth;n.parentNode.removeChild(n),d=t!=0}catch(T){f.Error("Scrollbar test exception: "+T)}var s=d;I.hasScrollbarGutter=s;function c(){return navigator&&!!/mac/i.exec(navigator.platform)}function p(){return navigator&&!!/win/i.exec(navigator.platform)}function A(){return navigator&&(!!/ipad/i.exec(navigator.platform)||!!/iphone/i.exec(navigator.platform)||!!/ipod/i.exec(navigator.platform))}function w(){return navigator&&navigator.userAgent.indexOf("Safari")!==-1&&navigator.userAgent.indexOf("Chrome")===-1}function C(){return navigator&&!!/trident/i.exec(navigator.userAgent)}function x(){return navigator&&!!/edge/i.exec(navigator.userAgent)}function E(){return navigator&&!!/firefox/i.exec(navigator.userAgent)}},GeKi:function(R,I,e){var g=e("bYtY"),f=e("6Ic6"),b=e("IwbS"),m=e("y+Vt"),y=e("sK/D"),h=y.createClipPath,u=["itemStyle"],i=["emphasis","itemStyle"],a=["color","color0","borderColor","borderColor0"],r=f.extend({type:"candlestick",render:function(w,C,x){this.group.removeClipPath(),this._updateDrawMode(w),this._isLargeDraw?this._renderLarge(w):this._renderNormal(w)},incrementalPrepareRender:function(w,C,x){this._clear(),this._updateDrawMode(w)},incrementalRender:function(w,C,x,E){this._isLargeDraw?this._incrementalRenderLarge(w,C):this._incrementalRenderNormal(w,C)},_updateDrawMode:function(w){var C=w.pipelineContext.large;(this._isLargeDraw==null||C^this._isLargeDraw)&&(this._isLargeDraw=C,this._clear())},_renderNormal:function(w){var C=w.getData(),x=this._data,E=this.group,T=C.getLayout("isSimpleBox"),_=w.get("clip",!0),v=w.coordinateSystem,S=v.getArea&&v.getArea();this._data||E.removeAll(),C.diff(x).add(function(O){if(C.hasValue(O)){var L,M=C.getItemLayout(O);if(_&&n(S,M))return;L=d(M,O,!0),b.initProps(L,{shape:{points:M.ends}},w,O),l(L,C,O,T),E.add(L),C.setItemGraphicEl(O,L)}}).update(function(O,L){var M=x.getItemGraphicEl(L);if(!C.hasValue(O)){E.remove(M);return}var F=C.getItemLayout(O);if(_&&n(S,F)){E.remove(M);return}M?b.updateProps(M,{shape:{points:F.ends}},w,O):M=d(F,O),l(M,C,O,T),E.add(M),C.setItemGraphicEl(O,M)}).remove(function(O){var L=x.getItemGraphicEl(O);L&&E.remove(L)}).execute(),this._data=C},_renderLarge:function(w){this._clear(),c(w,this.group);var C=w.get("clip",!0)?h(w.coordinateSystem,!1,w):null;C?this.group.setClipPath(C):this.group.removeClipPath()},_incrementalRenderNormal:function(w,C){for(var x=C.getData(),E=x.getLayout("isSimpleBox"),T;(T=w.next())!=null;){var _,v=x.getItemLayout(T);_=d(v,T),l(_,x,T,E),_.incremental=!0,this.group.add(_)}},_incrementalRenderLarge:function(w,C){c(C,this.group,!0)},remove:function(w){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:g.noop}),o=m.extend({type:"normalCandlestickBox",shape:{},buildPath:function(w,C){var x=C.points;this.__simpleBox?(w.moveTo(x[4][0],x[4][1]),w.lineTo(x[6][0],x[6][1])):(w.moveTo(x[0][0],x[0][1]),w.lineTo(x[1][0],x[1][1]),w.lineTo(x[2][0],x[2][1]),w.lineTo(x[3][0],x[3][1]),w.closePath(),w.moveTo(x[4][0],x[4][1]),w.lineTo(x[5][0],x[5][1]),w.moveTo(x[6][0],x[6][1]),w.lineTo(x[7][0],x[7][1]))}});function d(w,C,x){var E=w.ends;return new o({shape:{points:x?t(E,w):E},z2:100})}function n(w,C){for(var x=!0,E=0;E<C.ends.length;E++)if(w.contain(C.ends[E][0],C.ends[E][1])){x=!1;break}return x}function l(w,C,x,E){var T=C.getItemModel(x),_=T.getModel(u),v=C.getItemVisual(x,"color"),S=C.getItemVisual(x,"borderColor")||v,O=_.getItemStyle(a);w.useStyle(O),w.style.strokeNoScale=!0,w.style.fill=v,w.style.stroke=S,w.__simpleBox=E;var L=T.getModel(i).getItemStyle();b.setHoverStyle(w,L)}function t(w,C){return g.map(w,function(x){return x=x.slice(),x[1]=C.initBaseline,x})}var s=m.extend({type:"largeCandlestickBox",shape:{},buildPath:function(w,C){for(var x=C.points,E=0;E<x.length;)if(this.__sign===x[E++]){var T=x[E++];w.moveTo(T,x[E++]),w.lineTo(T,x[E++])}else E+=3}});function c(w,C,x){var E=w.getData(),T=E.getLayout("largePoints"),_=new s({shape:{points:T},__sign:1});C.add(_);var v=new s({shape:{points:T},__sign:-1});C.add(v),p(1,_,w,E),p(-1,v,w,E),x&&(_.incremental=!0,v.incremental=!0)}function p(w,C,x,E){var T=w>0?"P":"N",_=E.getVisual("borderColor"+T)||E.getVisual("color"+T),v=x.getModel(u).getItemStyle(a);C.useStyle(v),C.style.fill=null,C.style.stroke=_}var A=r;R.exports=A},Gev7:function(R,I,e){var g=e("bYtY"),f=e("K2GJ"),b=e("1bdT"),m=e("ni6a");function y(u){u=u||{},b.call(this,u);for(var i in u)u.hasOwnProperty(i)&&i!=="style"&&(this[i]=u[i]);this.style=new f(u.style,this),this._rect=null,this.__clipPaths=null}y.prototype={constructor:y,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(i){},afterBrush:function(i){},brush:function(i,a){},getBoundingRect:function(){},contain:function(i,a){return this.rectContain(i,a)},traverse:function(i,a){i.call(a,this)},rectContain:function(i,a){var r=this.transformCoordToLocal(i,a),o=this.getBoundingRect();return o.contain(r[0],r[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(i){return this.animate("style",i)},attrKV:function(i,a){i!=="style"?b.prototype.attrKV.call(this,i,a):this.style.set(a)},setStyle:function(i,a){return this.style.set(i,a),this.dirty(!1),this},useStyle:function(i){return this.style=new f(i,this),this.dirty(!1),this},calculateTextPosition:null},g.inherits(y,b),g.mixin(y,m);var h=y;R.exports=h},GrNh:function(R,I,e){var g=e("bYtY"),f=e("IwbS"),b=e("6Ic6");function m(r,o,d,n){var l=o.getData(),t=this.dataIndex,s=l.getName(t),c=o.get("selectedOffset");n.dispatchAction({type:"pieToggleSelect",from:r,name:s,seriesId:o.id}),l.each(function(p){y(l.getItemGraphicEl(p),l.getItemLayout(p),o.isSelected(l.getName(p)),c,d)})}function y(r,o,d,n,l){var t=(o.startAngle+o.endAngle)/2,s=Math.cos(t),c=Math.sin(t),p=d?n:0,A=[s*p,c*p];l?r.animate().when(200,{position:A}).start("bounceOut"):r.attr("position",A)}function h(r,o){f.Group.call(this);var d=new f.Sector({z2:2}),n=new f.Polyline,l=new f.Text;this.add(d),this.add(n),this.add(l),this.updateData(r,o,!0)}var u=h.prototype;u.updateData=function(r,o,d){var n=this.childAt(0),l=this.childAt(1),t=this.childAt(2),s=r.hostModel,c=r.getItemModel(o),p=r.getItemLayout(o),A=g.extend({},p);A.label=null;var w=s.getShallow("animationTypeUpdate");if(d){n.setShape(A);var C=s.getShallow("animationType");C==="scale"?(n.shape.r=p.r0,f.initProps(n,{shape:{r:p.r}},s,o)):(n.shape.endAngle=p.startAngle,f.updateProps(n,{shape:{endAngle:p.endAngle}},s,o))}else w==="expansion"?n.setShape(A):f.updateProps(n,{shape:A},s,o);var x=r.getItemVisual(o,"color");n.useStyle(g.defaults({lineJoin:"bevel",fill:x},c.getModel("itemStyle").getItemStyle())),n.hoverStyle=c.getModel("emphasis.itemStyle").getItemStyle();var E=c.getShallow("cursor");E&&n.attr("cursor",E),y(this,r.getItemLayout(o),s.isSelected(r.getName(o)),s.get("selectedOffset"),s.get("animation"));var T=!d&&w==="transition";this._updateLabel(r,o,T),this.highDownOnUpdate=s.get("silent")?null:function(_,v){var S=s.isAnimationEnabled()&&c.get("hoverAnimation");v==="emphasis"?(l.ignore=l.hoverIgnore,t.ignore=t.hoverIgnore,S&&(n.stopAnimation(!0),n.animateTo({shape:{r:p.r+s.get("hoverOffset")}},300,"elasticOut"))):(l.ignore=l.normalIgnore,t.ignore=t.normalIgnore,S&&(n.stopAnimation(!0),n.animateTo({shape:{r:p.r}},300,"elasticOut")))},f.setHoverStyle(this)},u._updateLabel=function(r,o,d){var n=this.childAt(1),l=this.childAt(2),t=r.hostModel,s=r.getItemModel(o),c=r.getItemLayout(o),p=c.label,A=r.getItemVisual(o,"color");if(!p||isNaN(p.x)||isNaN(p.y)){l.ignore=l.normalIgnore=l.hoverIgnore=n.ignore=n.normalIgnore=n.hoverIgnore=!0;return}var w={points:p.linePoints||[[p.x,p.y],[p.x,p.y],[p.x,p.y]]},C={x:p.x,y:p.y};d?(f.updateProps(n,{shape:w},t,o),f.updateProps(l,{style:C},t,o)):(n.attr({shape:w}),l.attr({style:C})),l.attr({rotation:p.rotation,origin:[p.x,p.y],z2:10});var x=s.getModel("label"),E=s.getModel("emphasis.label"),T=s.getModel("labelLine"),_=s.getModel("emphasis.labelLine"),A=r.getItemVisual(o,"color");f.setLabelStyle(l.style,l.hoverStyle={},x,E,{labelFetcher:r.hostModel,labelDataIndex:o,defaultText:p.text,autoColor:A,useInsideStyle:!!p.inside},{textAlign:p.textAlign,textVerticalAlign:p.verticalAlign,opacity:r.getItemVisual(o,"opacity")}),l.ignore=l.normalIgnore=!x.get("show"),l.hoverIgnore=!E.get("show"),n.ignore=n.normalIgnore=!T.get("show"),n.hoverIgnore=!_.get("show"),n.setStyle({stroke:A,opacity:r.getItemVisual(o,"opacity")}),n.setStyle(T.getModel("lineStyle").getLineStyle()),n.hoverStyle=_.getModel("lineStyle").getLineStyle();var v=T.get("smooth");v&&v===!0&&(v=.4),n.setShape({smooth:v})},g.inherits(h,f.Group);var i=b.extend({type:"pie",init:function(){var r=new f.Group;this._sectorGroup=r},render:function(r,o,d,n){if(n&&n.from===this.uid)return;var l=r.getData(),t=this._data,s=this.group,c=o.get("animation"),p=!t,A=r.get("animationType"),w=r.get("animationTypeUpdate"),C=g.curry(m,this.uid,r,c,d),x=r.get("selectedMode");if(l.diff(t).add(function(S){var O=new h(l,S);p&&A!=="scale"&&O.eachChild(function(L){L.stopAnimation(!0)}),x&&O.on("click",C),l.setItemGraphicEl(S,O),s.add(O)}).update(function(S,O){var L=t.getItemGraphicEl(O);!p&&w!=="transition"&&L.eachChild(function(M){M.stopAnimation(!0)}),L.updateData(l,S),L.off("click"),x&&L.on("click",C),s.add(L),l.setItemGraphicEl(S,L)}).remove(function(S){var O=t.getItemGraphicEl(S);s.remove(O)}).execute(),c&&l.count()>0&&(p?A!=="scale":w!=="transition")){for(var E=l.getItemLayout(0),T=1;isNaN(E.startAngle)&&T<l.count();++T)E=l.getItemLayout(T);var _=Math.max(d.getWidth(),d.getHeight())/2,v=g.bind(s.removeClipPath,s);s.setClipPath(this._createClipPath(E.cx,E.cy,_,E.startAngle,E.clockwise,v,r,p))}else s.removeClipPath();this._data=l},dispose:function(){},_createClipPath:function(r,o,d,n,l,t,s,c){var p=new f.Sector({shape:{cx:r,cy:o,r0:0,r:d,startAngle:n,endAngle:n,clockwise:l}}),A=c?f.initProps:f.updateProps;return A(p,{shape:{endAngle:n+(l?1:-1)*Math.PI*2}},s,t),p},containPoint:function(r,o){var d=o.getData(),n=d.getItemLayout(0);if(n){var l=r[0]-n.cx,t=r[1]-n.cy,s=Math.sqrt(l*l+t*t);return s<=n.r&&s>=n.r0}}}),a=i;R.exports=a},Gytx:function(R,I){R.exports=function(g,f,b,m){var y=b?b.call(m,g,f):void 0;if(y!==void 0)return!!y;if(g===f)return!0;if(typeof g!="object"||!g||typeof f!="object"||!f)return!1;var h=Object.keys(g),u=Object.keys(f);if(h.length!==u.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(f),a=0;a<h.length;a++){var r=h[a];if(!i(r))return!1;var o=g[r],d=f[r];if(y=b?b.call(m,o,d,r):void 0,y===!1||y===void 0&&o!==d)return!1}return!0}},GzdX:function(R,I,e){"use strict";var g=e("pVnL"),f=e.n(g),b=e("q1tI"),m=e.n(b),y=e("rePB"),h=e("1OyB"),u=e("vuIU"),i=e("Ji7U"),a=e("md7G"),r=e("foSv"),o=e("m+aA"),d=e("TSYQ"),n=e.n(d),l=e("4IlW");function t(H){var j=H.pageXOffset,k="scrollLeft";if(typeof j!="number"){var B=H.document;j=B.documentElement[k],typeof j!="number"&&(j=B.body[k])}return j}function s(H){var j,k,B=H.ownerDocument,V=B.body,K=B&&B.documentElement,Y=H.getBoundingClientRect();return j=Y.left,k=Y.top,j-=K.clientLeft||V.clientLeft||0,k-=K.clientTop||V.clientTop||0,{left:j,top:k}}function c(H){var j=s(H),k=H.ownerDocument,B=k.defaultView||k.parentWindow;return j.left+=t(B),j.left}function p(H){var j=A();return function(){var B=Object(r.a)(H),V;if(j){var K=Object(r.a)(this).constructor;V=Reflect.construct(B,arguments,K)}else V=B.apply(this,arguments);return Object(a.a)(this,V)}}function A(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(H){return!1}}var w=function(H){Object(i.a)(k,H);var j=p(k);function k(){var B;return Object(h.a)(this,k),B=j.apply(this,arguments),B.onHover=function(V){var K=B.props,Y=K.onHover,Q=K.index;Y(V,Q)},B.onClick=function(V){var K=B.props,Y=K.onClick,Q=K.index;Y(V,Q)},B.onKeyDown=function(V){var K=B.props,Y=K.onClick,Q=K.index;V.keyCode===13&&Y(V,Q)},B}return Object(u.a)(k,[{key:"getClassName",value:function(){var V=this.props,K=V.prefixCls,Y=V.index,Q=V.value,he=V.allowHalf,G=V.focused,ye=Y+1,Ae=K;return Q===0&&Y===0&&G?Ae+=" ".concat(K,"-focused"):he&&Q+.5>=ye&&Q<ye?(Ae+=" ".concat(K,"-half ").concat(K,"-active"),G&&(Ae+=" ".concat(K,"-focused"))):(Ae+=ye<=Q?" ".concat(K,"-full"):" ".concat(K,"-zero"),ye===Q&&G&&(Ae+=" ".concat(K,"-focused"))),Ae}},{key:"render",value:function(){var V=this.onHover,K=this.onClick,Y=this.onKeyDown,Q=this.props,he=Q.disabled,G=Q.prefixCls,ye=Q.character,Ae=Q.characterRender,ge=Q.index,Pe=Q.count,Re=Q.value,rt=typeof ye=="function"?ye(this.props):ye,ne=m.a.createElement("li",{className:this.getClassName()},m.a.createElement("div",{onClick:he?null:K,onKeyDown:he?null:Y,onMouseMove:he?null:V,role:"radio","aria-checked":Re>ge?"true":"false","aria-posinset":ge+1,"aria-setsize":Pe,tabIndex:he?-1:0},m.a.createElement("div",{className:"".concat(G,"-first")},rt),m.a.createElement("div",{className:"".concat(G,"-second")},rt)));return Ae&&(ne=Ae(ne,this.props)),ne}}]),k}(m.a.Component);function C(H,j){var k=Object.keys(H);if(Object.getOwnPropertySymbols){var B=Object.getOwnPropertySymbols(H);j&&(B=B.filter(function(V){return Object.getOwnPropertyDescriptor(H,V).enumerable})),k.push.apply(k,B)}return k}function x(H){for(var j=1;j<arguments.length;j++){var k=arguments[j]!=null?arguments[j]:{};j%2?C(Object(k),!0).forEach(function(B){Object(y.a)(H,B,k[B])}):Object.getOwnPropertyDescriptors?Object.defineProperties(H,Object.getOwnPropertyDescriptors(k)):C(Object(k)).forEach(function(B){Object.defineProperty(H,B,Object.getOwnPropertyDescriptor(k,B))})}return H}function E(H){var j=T();return function(){var B=Object(r.a)(H),V;if(j){var K=Object(r.a)(this).constructor;V=Reflect.construct(B,arguments,K)}else V=B.apply(this,arguments);return Object(a.a)(this,V)}}function T(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(H){return!1}}function _(){}var v=function(H){Object(i.a)(k,H);var j=E(k);function k(B){var V;Object(h.a)(this,k),V=j.call(this,B),V.onHover=function(Y,Q){var he=V.props.onHoverChange,G=V.getStarValue(Q,Y.pageX),ye=V.state.cleanedValue;G!==ye&&V.setState({hoverValue:G,cleanedValue:null}),he(G)},V.onMouseLeave=function(){var Y=V.props.onHoverChange;V.setState({hoverValue:void 0,cleanedValue:null}),Y(void 0)},V.onClick=function(Y,Q){var he=V.props.allowClear,G=V.state.value,ye=V.getStarValue(Q,Y.pageX),Ae=!1;he&&(Ae=ye===G),V.onMouseLeave(),V.changeValue(Ae?0:ye),V.setState({cleanedValue:Ae?ye:null})},V.onFocus=function(){var Y=V.props.onFocus;V.setState({focused:!0}),Y&&Y()},V.onBlur=function(){var Y=V.props.onBlur;V.setState({focused:!1}),Y&&Y()},V.onKeyDown=function(Y){var Q=Y.keyCode,he=V.props,G=he.count,ye=he.allowHalf,Ae=he.onKeyDown,ge=he.direction,Pe=ge==="rtl",Re=V.state.value;Q===l.a.RIGHT&&Re<G&&!Pe?(ye?Re+=.5:Re+=1,V.changeValue(Re),Y.preventDefault()):Q===l.a.LEFT&&Re>0&&!Pe||Q===l.a.RIGHT&&Re>0&&Pe?(ye?Re-=.5:Re-=1,V.changeValue(Re),Y.preventDefault()):Q===l.a.LEFT&&Re<G&&Pe&&(ye?Re+=.5:Re+=1,V.changeValue(Re),Y.preventDefault()),Ae&&Ae(Y)},V.saveRef=function(Y){return function(Q){V.stars[Y]=Q}},V.saveRate=function(Y){V.rate=Y};var K=B.value;return K===void 0&&(K=B.defaultValue),V.stars={},V.state={value:K,focused:!1,cleanedValue:null},V}return Object(u.a)(k,[{key:"componentDidMount",value:function(){var V=this.props,K=V.autoFocus,Y=V.disabled;K&&!Y&&this.focus()}},{key:"getStarDOM",value:function(V){return Object(o.a)(this.stars[V])}},{key:"getStarValue",value:function(V,K){var Y=this.props,Q=Y.allowHalf,he=Y.direction,G=he==="rtl",ye=V+1;if(Q){var Ae=this.getStarDOM(V),ge=c(Ae),Pe=Ae.clientWidth;(G&&K-ge>Pe/2||!G&&K-ge<Pe/2)&&(ye-=.5)}return ye}},{key:"focus",value:function(){var V=this.props.disabled;V||this.rate.focus()}},{key:"blur",value:function(){var V=this.props.disabled;V||this.rate.blur()}},{key:"changeValue",value:function(V){var K=this.props.onChange;"value"in this.props||this.setState({value:V}),K(V)}},{key:"render",value:function(){for(var V=this.props,K=V.count,Y=V.allowHalf,Q=V.style,he=V.prefixCls,G=V.disabled,ye=V.className,Ae=V.character,ge=V.characterRender,Pe=V.tabIndex,Re=V.direction,rt=this.state,ne=rt.value,be=rt.hoverValue,at=rt.focused,se=[],q=G?"".concat(he,"-disabled"):"",X=0;X<K;X+=1)se.push(m.a.createElement(w,{ref:this.saveRef(X),index:X,count:K,disabled:G,prefixCls:"".concat(he,"-star"),allowHalf:Y,value:be===void 0?ne:be,onClick:this.onClick,onHover:this.onHover,key:X,character:Ae,characterRender:ge,focused:at}));var Z=n()(he,q,ye,Object(y.a)({},"".concat(he,"-rtl"),Re==="rtl"));return m.a.createElement("ul",{className:Z,style:Q,onMouseLeave:G?null:this.onMouseLeave,tabIndex:G?-1:Pe,onFocus:G?null:this.onFocus,onBlur:G?null:this.onBlur,onKeyDown:G?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},se)}}],[{key:"getDerivedStateFromProps",value:function(V,K){return"value"in V&&V.value!==void 0?x(x({},K),{},{value:V.value}):K}}]),k}(m.a.Component);v.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:_,character:"\u2605",onHoverChange:_,tabIndex:0,direction:"ltr"};var S=v,O=S,L=e("Lerx"),M=e.n(L),F=e("3S7+"),U=e("H84U"),z=function(H,j){var k={};for(var B in H)Object.prototype.hasOwnProperty.call(H,B)&&j.indexOf(B)<0&&(k[B]=H[B]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var V=0,B=Object.getOwnPropertySymbols(H);V<B.length;V++)j.indexOf(B[V])<0&&Object.prototype.propertyIsEnumerable.call(H,B[V])&&(k[B[V]]=H[B[V]]);return k},W=b.forwardRef(function(H,j){var k=H.prefixCls,B=H.tooltips,V=z(H,["prefixCls","tooltips"]),K=function(Ae,ge){var Pe=ge.index;return B?b.createElement(F.a,{title:B[Pe]},Ae):Ae},Y=b.useContext(U.b),Q=Y.getPrefixCls,he=Y.direction,G=Q("rate",k);return b.createElement(O,f()({ref:j,characterRender:K},V,{prefixCls:G,direction:he}))});W.displayName="Rate",W.defaultProps={character:b.createElement(M.a,null)};var N=I.a=W},H6uX:function(R,I){var e=Array.prototype.slice,g=function(h){this._$handlers={},this._$eventProcessor=h};g.prototype={constructor:g,one:function(h,u,i,a){return b(this,h,u,i,a,!0)},on:function(h,u,i,a){return b(this,h,u,i,a,!1)},isSilent:function(h){var u=this._$handlers;return!u[h]||!u[h].length},off:function(h,u){var i=this._$handlers;if(!h)return this._$handlers={},this;if(u){if(i[h]){for(var a=[],r=0,o=i[h].length;r<o;r++)i[h][r].h!==u&&a.push(i[h][r]);i[h]=a}i[h]&&i[h].length===0&&delete i[h]}else delete i[h];return this},trigger:function(h){var u=this._$handlers[h],i=this._$eventProcessor;if(u){var a=arguments,r=a.length;r>3&&(a=e.call(a,1));for(var o=u.length,d=0;d<o;){var n=u[d];if(i&&i.filter&&n.query!=null&&!i.filter(h,n.query)){d++;continue}switch(r){case 1:n.h.call(n.ctx);break;case 2:n.h.call(n.ctx,a[1]);break;case 3:n.h.call(n.ctx,a[1],a[2]);break;default:n.h.apply(n.ctx,a);break}n.one?(u.splice(d,1),o--):d++}}return i&&i.afterTrigger&&i.afterTrigger(h),this},triggerWithContext:function(h){var u=this._$handlers[h],i=this._$eventProcessor;if(u){var a=arguments,r=a.length;r>4&&(a=e.call(a,1,a.length-1));for(var o=a[a.length-1],d=u.length,n=0;n<d;){var l=u[n];if(i&&i.filter&&l.query!=null&&!i.filter(h,l.query)){n++;continue}switch(r){case 1:l.h.call(o);break;case 2:l.h.call(o,a[1]);break;case 3:l.h.call(o,a[1],a[2]);break;default:l.h.apply(o,a);break}l.one?(u.splice(n,1),d--):n++}}return i&&i.afterTrigger&&i.afterTrigger(h),this}};function f(y,h){var u=y._$eventProcessor;return h!=null&&u&&u.normalizeQuery&&(h=u.normalizeQuery(h)),h}function b(y,h,u,i,a,r){var o=y._$handlers;if(typeof u=="function"&&(a=i,i=u,u=null),!i||!h)return y;u=f(y,u),o[h]||(o[h]=[]);for(var d=0;d<o[h].length;d++)if(o[h][d].h===i)return y;var n={h:i,one:r,query:u,ctx:a||y,callAtLast:i.zrEventfulCallAtLast},l=o[h].length-1,t=o[h][l];return t&&t.callAtLast?o[h].splice(l,0,n):o[h].push(n),y}var m=g;R.exports=m},H7XF:function(R,I,e){"use strict";I.byteLength=i,I.toByteArray=r,I.fromByteArray=n;for(var g=[],f=[],b=typeof Uint8Array!="undefined"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0,h=m.length;y<h;++y)g[y]=m[y],f[m.charCodeAt(y)]=y;f["-".charCodeAt(0)]=62,f["_".charCodeAt(0)]=63;function u(l){var t=l.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var s=l.indexOf("=");s===-1&&(s=t);var c=s===t?0:4-s%4;return[s,c]}function i(l){var t=u(l),s=t[0],c=t[1];return(s+c)*3/4-c}function a(l,t,s){return(t+s)*3/4-s}function r(l){var t,s=u(l),c=s[0],p=s[1],A=new b(a(l,c,p)),w=0,C=p>0?c-4:c,x;for(x=0;x<C;x+=4)t=f[l.charCodeAt(x)]<<18|f[l.charCodeAt(x+1)]<<12|f[l.charCodeAt(x+2)]<<6|f[l.charCodeAt(x+3)],A[w++]=t>>16&255,A[w++]=t>>8&255,A[w++]=t&255;return p===2&&(t=f[l.charCodeAt(x)]<<2|f[l.charCodeAt(x+1)]>>4,A[w++]=t&255),p===1&&(t=f[l.charCodeAt(x)]<<10|f[l.charCodeAt(x+1)]<<4|f[l.charCodeAt(x+2)]>>2,A[w++]=t>>8&255,A[w++]=t&255),A}function o(l){return g[l>>18&63]+g[l>>12&63]+g[l>>6&63]+g[l&63]}function d(l,t,s){for(var c,p=[],A=t;A<s;A+=3)c=(l[A]<<16&16711680)+(l[A+1]<<8&65280)+(l[A+2]&255),p.push(o(c));return p.join("")}function n(l){for(var t,s=l.length,c=s%3,p=[],A=16383,w=0,C=s-c;w<C;w+=A)p.push(d(l,w,w+A>C?C:w+A));return c===1?(t=l[s-1],p.push(g[t>>2]+g[t<<4&63]+"==")):c===2&&(t=(l[s-2]<<8)+l[s-1],p.push(g[t>>10]+g[t>>4&63]+g[t<<2&63]+"=")),p.join("")}},H8j4:function(R,I,e){var g=e("QkVE");function f(b,m){var y=g(this,b),h=y.size;return y.set(b,m),this.size+=y.size==h?0:1,this}R.exports=f},HBhm:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};I.default=g},HDXh:function(R,I,e){"use strict";(function(g){/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/var f=e("H7XF"),b=e("kVK+"),m=e("49sm");I.Buffer=i,I.SlowBuffer=p,I.INSPECT_MAX_BYTES=50,i.TYPED_ARRAY_SUPPORT=g.TYPED_ARRAY_SUPPORT!==void 0?g.TYPED_ARRAY_SUPPORT:y(),I.kMaxLength=h();function y(){try{var se=new Uint8Array(1);return se.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},se.foo()===42&&typeof se.subarray=="function"&&se.subarray(1,1).byteLength===0}catch(q){return!1}}function h(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(se,q){if(h()<q)throw new RangeError("Invalid typed array length");return i.TYPED_ARRAY_SUPPORT?(se=new Uint8Array(q),se.__proto__=i.prototype):(se===null&&(se=new i(q)),se.length=q),se}function i(se,q,X){if(!i.TYPED_ARRAY_SUPPORT&&!(this instanceof i))return new i(se,q,X);if(typeof se=="number"){if(typeof q=="string")throw new Error("If encoding is specified then the first argument must be a string");return d(this,se)}return a(this,se,q,X)}i.poolSize=8192,i._augment=function(se){return se.__proto__=i.prototype,se};function a(se,q,X,Z){if(typeof q=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&q instanceof ArrayBuffer?t(se,q,X,Z):typeof q=="string"?n(se,q,X):s(se,q)}i.from=function(se,q,X){return a(null,se,q,X)},i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0}));function r(se){if(typeof se!="number")throw new TypeError('"size" argument must be a number');if(se<0)throw new RangeError('"size" argument must not be negative')}function o(se,q,X,Z){return r(q),q<=0?u(se,q):X!==void 0?typeof Z=="string"?u(se,q).fill(X,Z):u(se,q).fill(X):u(se,q)}i.alloc=function(se,q,X){return o(null,se,q,X)};function d(se,q){if(r(q),se=u(se,q<0?0:c(q)|0),!i.TYPED_ARRAY_SUPPORT)for(var X=0;X<q;++X)se[X]=0;return se}i.allocUnsafe=function(se){return d(null,se)},i.allocUnsafeSlow=function(se){return d(null,se)};function n(se,q,X){if((typeof X!="string"||X==="")&&(X="utf8"),!i.isEncoding(X))throw new TypeError('"encoding" must be a valid string encoding');var Z=A(q,X)|0;se=u(se,Z);var pe=se.write(q,X);return pe!==Z&&(se=se.slice(0,pe)),se}function l(se,q){var X=q.length<0?0:c(q.length)|0;se=u(se,X);for(var Z=0;Z<X;Z+=1)se[Z]=q[Z]&255;return se}function t(se,q,X,Z){if(q.byteLength,X<0||q.byteLength<X)throw new RangeError("'offset' is out of bounds");if(q.byteLength<X+(Z||0))throw new RangeError("'length' is out of bounds");return X===void 0&&Z===void 0?q=new Uint8Array(q):Z===void 0?q=new Uint8Array(q,X):q=new Uint8Array(q,X,Z),i.TYPED_ARRAY_SUPPORT?(se=q,se.__proto__=i.prototype):se=l(se,q),se}function s(se,q){if(i.isBuffer(q)){var X=c(q.length)|0;return se=u(se,X),se.length===0||q.copy(se,0,0,X),se}if(q){if(typeof ArrayBuffer!="undefined"&&q.buffer instanceof ArrayBuffer||"length"in q)return typeof q.length!="number"||at(q.length)?u(se,0):l(se,q);if(q.type==="Buffer"&&m(q.data))return l(se,q.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function c(se){if(se>=h())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+h().toString(16)+" bytes");return se|0}function p(se){return+se!=se&&(se=0),i.alloc(+se)}i.isBuffer=function(q){return!!(q!=null&&q._isBuffer)},i.compare=function(q,X){if(!i.isBuffer(q)||!i.isBuffer(X))throw new TypeError("Arguments must be Buffers");if(q===X)return 0;for(var Z=q.length,pe=X.length,oe=0,Ie=Math.min(Z,pe);oe<Ie;++oe)if(q[oe]!==X[oe]){Z=q[oe],pe=X[oe];break}return Z<pe?-1:pe<Z?1:0},i.isEncoding=function(q){switch(String(q).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}},i.concat=function(q,X){if(!m(q))throw new TypeError('"list" argument must be an Array of Buffers');if(q.length===0)return i.alloc(0);var Z;if(X===void 0)for(X=0,Z=0;Z<q.length;++Z)X+=q[Z].length;var pe=i.allocUnsafe(X),oe=0;for(Z=0;Z<q.length;++Z){var Ie=q[Z];if(!i.isBuffer(Ie))throw new TypeError('"list" argument must be an Array of Buffers');Ie.copy(pe,oe),oe+=Ie.length}return pe};function A(se,q){if(i.isBuffer(se))return se.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(se)||se instanceof ArrayBuffer))return se.byteLength;typeof se!="string"&&(se=""+se);var X=se.length;if(X===0)return 0;for(var Z=!1;;)switch(q){case"ascii":case"latin1":case"binary":return X;case"utf8":case"utf-8":case void 0:return Pe(se).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return X*2;case"hex":return X>>>1;case"base64":return ne(se).length;default:if(Z)return Pe(se).length;q=(""+q).toLowerCase(),Z=!0}}i.byteLength=A;function w(se,q,X){var Z=!1;if((q===void 0||q<0)&&(q=0),q>this.length)return"";if((X===void 0||X>this.length)&&(X=this.length),X<=0)return"";if(X>>>=0,q>>>=0,X<=q)return"";for(se||(se="utf8");;)switch(se){case"hex":return H(this,q,X);case"utf8":case"utf-8":return F(this,q,X);case"ascii":return W(this,q,X);case"latin1":case"binary":return N(this,q,X);case"base64":return M(this,q,X);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,q,X);default:if(Z)throw new TypeError("Unknown encoding: "+se);se=(se+"").toLowerCase(),Z=!0}}i.prototype._isBuffer=!0;function C(se,q,X){var Z=se[q];se[q]=se[X],se[X]=Z}i.prototype.swap16=function(){var q=this.length;if(q%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var X=0;X<q;X+=2)C(this,X,X+1);return this},i.prototype.swap32=function(){var q=this.length;if(q%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var X=0;X<q;X+=4)C(this,X,X+3),C(this,X+1,X+2);return this},i.prototype.swap64=function(){var q=this.length;if(q%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var X=0;X<q;X+=8)C(this,X,X+7),C(this,X+1,X+6),C(this,X+2,X+5),C(this,X+3,X+4);return this},i.prototype.toString=function(){var q=this.length|0;return q===0?"":arguments.length===0?F(this,0,q):w.apply(this,arguments)},i.prototype.equals=function(q){if(!i.isBuffer(q))throw new TypeError("Argument must be a Buffer");return this===q?!0:i.compare(this,q)===0},i.prototype.inspect=function(){var q="",X=I.INSPECT_MAX_BYTES;return this.length>0&&(q=this.toString("hex",0,X).match(/.{2}/g).join(" "),this.length>X&&(q+=" ... ")),"<Buffer "+q+">"},i.prototype.compare=function(q,X,Z,pe,oe){if(!i.isBuffer(q))throw new TypeError("Argument must be a Buffer");if(X===void 0&&(X=0),Z===void 0&&(Z=q?q.length:0),pe===void 0&&(pe=0),oe===void 0&&(oe=this.length),X<0||Z>q.length||pe<0||oe>this.length)throw new RangeError("out of range index");if(pe>=oe&&X>=Z)return 0;if(pe>=oe)return-1;if(X>=Z)return 1;if(X>>>=0,Z>>>=0,pe>>>=0,oe>>>=0,this===q)return 0;for(var Ie=oe-pe,fe=Z-X,te=Math.min(Ie,fe),J=this.slice(pe,oe),ve=q.slice(X,Z),De=0;De<te;++De)if(J[De]!==ve[De]){Ie=J[De],fe=ve[De];break}return Ie<fe?-1:fe<Ie?1:0};function x(se,q,X,Z,pe){if(se.length===0)return-1;if(typeof X=="string"?(Z=X,X=0):X>2147483647?X=2147483647:X<-2147483648&&(X=-2147483648),X=+X,isNaN(X)&&(X=pe?0:se.length-1),X<0&&(X=se.length+X),X>=se.length){if(pe)return-1;X=se.length-1}else if(X<0)if(pe)X=0;else return-1;if(typeof q=="string"&&(q=i.from(q,Z)),i.isBuffer(q))return q.length===0?-1:E(se,q,X,Z,pe);if(typeof q=="number")return q=q&255,i.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?pe?Uint8Array.prototype.indexOf.call(se,q,X):Uint8Array.prototype.lastIndexOf.call(se,q,X):E(se,[q],X,Z,pe);throw new TypeError("val must be string, number or Buffer")}function E(se,q,X,Z,pe){var oe=1,Ie=se.length,fe=q.length;if(Z!==void 0&&(Z=String(Z).toLowerCase(),Z==="ucs2"||Z==="ucs-2"||Z==="utf16le"||Z==="utf-16le")){if(se.length<2||q.length<2)return-1;oe=2,Ie/=2,fe/=2,X/=2}function te(dt,Me){return oe===1?dt[Me]:dt.readUInt16BE(Me*oe)}var J;if(pe){var ve=-1;for(J=X;J<Ie;J++)if(te(se,J)===te(q,ve===-1?0:J-ve)){if(ve===-1&&(ve=J),J-ve+1===fe)return ve*oe}else ve!==-1&&(J-=J-ve),ve=-1}else for(X+fe>Ie&&(X=Ie-fe),J=X;J>=0;J--){for(var De=!0,ze=0;ze<fe;ze++)if(te(se,J+ze)!==te(q,ze)){De=!1;break}if(De)return J}return-1}i.prototype.includes=function(q,X,Z){return this.indexOf(q,X,Z)!==-1},i.prototype.indexOf=function(q,X,Z){return x(this,q,X,Z,!0)},i.prototype.lastIndexOf=function(q,X,Z){return x(this,q,X,Z,!1)};function T(se,q,X,Z){X=Number(X)||0;var pe=se.length-X;Z?(Z=Number(Z),Z>pe&&(Z=pe)):Z=pe;var oe=q.length;if(oe%2!==0)throw new TypeError("Invalid hex string");Z>oe/2&&(Z=oe/2);for(var Ie=0;Ie<Z;++Ie){var fe=parseInt(q.substr(Ie*2,2),16);if(isNaN(fe))return Ie;se[X+Ie]=fe}return Ie}function _(se,q,X,Z){return be(Pe(q,se.length-X),se,X,Z)}function v(se,q,X,Z){return be(Re(q),se,X,Z)}function S(se,q,X,Z){return v(se,q,X,Z)}function O(se,q,X,Z){return be(ne(q),se,X,Z)}function L(se,q,X,Z){return be(rt(q,se.length-X),se,X,Z)}i.prototype.write=function(q,X,Z,pe){if(X===void 0)pe="utf8",Z=this.length,X=0;else if(Z===void 0&&typeof X=="string")pe=X,Z=this.length,X=0;else if(isFinite(X))X=X|0,isFinite(Z)?(Z=Z|0,pe===void 0&&(pe="utf8")):(pe=Z,Z=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var oe=this.length-X;if((Z===void 0||Z>oe)&&(Z=oe),q.length>0&&(Z<0||X<0)||X>this.length)throw new RangeError("Attempt to write outside buffer bounds");pe||(pe="utf8");for(var Ie=!1;;)switch(pe){case"hex":return T(this,q,X,Z);case"utf8":case"utf-8":return _(this,q,X,Z);case"ascii":return v(this,q,X,Z);case"latin1":case"binary":return S(this,q,X,Z);case"base64":return O(this,q,X,Z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,q,X,Z);default:if(Ie)throw new TypeError("Unknown encoding: "+pe);pe=(""+pe).toLowerCase(),Ie=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function M(se,q,X){return q===0&&X===se.length?f.fromByteArray(se):f.fromByteArray(se.slice(q,X))}function F(se,q,X){X=Math.min(se.length,X);for(var Z=[],pe=q;pe<X;){var oe=se[pe],Ie=null,fe=oe>239?4:oe>223?3:oe>191?2:1;if(pe+fe<=X){var te,J,ve,De;switch(fe){case 1:oe<128&&(Ie=oe);break;case 2:te=se[pe+1],(te&192)===128&&(De=(oe&31)<<6|te&63,De>127&&(Ie=De));break;case 3:te=se[pe+1],J=se[pe+2],(te&192)===128&&(J&192)===128&&(De=(oe&15)<<12|(te&63)<<6|J&63,De>2047&&(De<55296||De>57343)&&(Ie=De));break;case 4:te=se[pe+1],J=se[pe+2],ve=se[pe+3],(te&192)===128&&(J&192)===128&&(ve&192)===128&&(De=(oe&15)<<18|(te&63)<<12|(J&63)<<6|ve&63,De>65535&&De<1114112&&(Ie=De))}}Ie===null?(Ie=65533,fe=1):Ie>65535&&(Ie-=65536,Z.push(Ie>>>10&1023|55296),Ie=56320|Ie&1023),Z.push(Ie),pe+=fe}return z(Z)}var U=4096;function z(se){var q=se.length;if(q<=U)return String.fromCharCode.apply(String,se);for(var X="",Z=0;Z<q;)X+=String.fromCharCode.apply(String,se.slice(Z,Z+=U));return X}function W(se,q,X){var Z="";X=Math.min(se.length,X);for(var pe=q;pe<X;++pe)Z+=String.fromCharCode(se[pe]&127);return Z}function N(se,q,X){var Z="";X=Math.min(se.length,X);for(var pe=q;pe<X;++pe)Z+=String.fromCharCode(se[pe]);return Z}function H(se,q,X){var Z=se.length;(!q||q<0)&&(q=0),(!X||X<0||X>Z)&&(X=Z);for(var pe="",oe=q;oe<X;++oe)pe+=ge(se[oe]);return pe}function j(se,q,X){for(var Z=se.slice(q,X),pe="",oe=0;oe<Z.length;oe+=2)pe+=String.fromCharCode(Z[oe]+Z[oe+1]*256);return pe}i.prototype.slice=function(q,X){var Z=this.length;q=~~q,X=X===void 0?Z:~~X,q<0?(q+=Z,q<0&&(q=0)):q>Z&&(q=Z),X<0?(X+=Z,X<0&&(X=0)):X>Z&&(X=Z),X<q&&(X=q);var pe;if(i.TYPED_ARRAY_SUPPORT)pe=this.subarray(q,X),pe.__proto__=i.prototype;else{var oe=X-q;pe=new i(oe,void 0);for(var Ie=0;Ie<oe;++Ie)pe[Ie]=this[Ie+q]}return pe};function k(se,q,X){if(se%1!==0||se<0)throw new RangeError("offset is not uint");if(se+q>X)throw new RangeError("Trying to access beyond buffer length")}i.prototype.readUIntLE=function(q,X,Z){q=q|0,X=X|0,Z||k(q,X,this.length);for(var pe=this[q],oe=1,Ie=0;++Ie<X&&(oe*=256);)pe+=this[q+Ie]*oe;return pe},i.prototype.readUIntBE=function(q,X,Z){q=q|0,X=X|0,Z||k(q,X,this.length);for(var pe=this[q+--X],oe=1;X>0&&(oe*=256);)pe+=this[q+--X]*oe;return pe},i.prototype.readUInt8=function(q,X){return X||k(q,1,this.length),this[q]},i.prototype.readUInt16LE=function(q,X){return X||k(q,2,this.length),this[q]|this[q+1]<<8},i.prototype.readUInt16BE=function(q,X){return X||k(q,2,this.length),this[q]<<8|this[q+1]},i.prototype.readUInt32LE=function(q,X){return X||k(q,4,this.length),(this[q]|this[q+1]<<8|this[q+2]<<16)+this[q+3]*16777216},i.prototype.readUInt32BE=function(q,X){return X||k(q,4,this.length),this[q]*16777216+(this[q+1]<<16|this[q+2]<<8|this[q+3])},i.prototype.readIntLE=function(q,X,Z){q=q|0,X=X|0,Z||k(q,X,this.length);for(var pe=this[q],oe=1,Ie=0;++Ie<X&&(oe*=256);)pe+=this[q+Ie]*oe;return oe*=128,pe>=oe&&(pe-=Math.pow(2,8*X)),pe},i.prototype.readIntBE=function(q,X,Z){q=q|0,X=X|0,Z||k(q,X,this.length);for(var pe=X,oe=1,Ie=this[q+--pe];pe>0&&(oe*=256);)Ie+=this[q+--pe]*oe;return oe*=128,Ie>=oe&&(Ie-=Math.pow(2,8*X)),Ie},i.prototype.readInt8=function(q,X){return X||k(q,1,this.length),this[q]&128?(255-this[q]+1)*-1:this[q]},i.prototype.readInt16LE=function(q,X){X||k(q,2,this.length);var Z=this[q]|this[q+1]<<8;return Z&32768?Z|4294901760:Z},i.prototype.readInt16BE=function(q,X){X||k(q,2,this.length);var Z=this[q+1]|this[q]<<8;return Z&32768?Z|4294901760:Z},i.prototype.readInt32LE=function(q,X){return X||k(q,4,this.length),this[q]|this[q+1]<<8|this[q+2]<<16|this[q+3]<<24},i.prototype.readInt32BE=function(q,X){return X||k(q,4,this.length),this[q]<<24|this[q+1]<<16|this[q+2]<<8|this[q+3]},i.prototype.readFloatLE=function(q,X){return X||k(q,4,this.length),b.read(this,q,!0,23,4)},i.prototype.readFloatBE=function(q,X){return X||k(q,4,this.length),b.read(this,q,!1,23,4)},i.prototype.readDoubleLE=function(q,X){return X||k(q,8,this.length),b.read(this,q,!0,52,8)},i.prototype.readDoubleBE=function(q,X){return X||k(q,8,this.length),b.read(this,q,!1,52,8)};function B(se,q,X,Z,pe,oe){if(!i.isBuffer(se))throw new TypeError('"buffer" argument must be a Buffer instance');if(q>pe||q<oe)throw new RangeError('"value" argument is out of bounds');if(X+Z>se.length)throw new RangeError("Index out of range")}i.prototype.writeUIntLE=function(q,X,Z,pe){if(q=+q,X=X|0,Z=Z|0,!pe){var oe=Math.pow(2,8*Z)-1;B(this,q,X,Z,oe,0)}var Ie=1,fe=0;for(this[X]=q&255;++fe<Z&&(Ie*=256);)this[X+fe]=q/Ie&255;return X+Z},i.prototype.writeUIntBE=function(q,X,Z,pe){if(q=+q,X=X|0,Z=Z|0,!pe){var oe=Math.pow(2,8*Z)-1;B(this,q,X,Z,oe,0)}var Ie=Z-1,fe=1;for(this[X+Ie]=q&255;--Ie>=0&&(fe*=256);)this[X+Ie]=q/fe&255;return X+Z},i.prototype.writeUInt8=function(q,X,Z){return q=+q,X=X|0,Z||B(this,q,X,1,255,0),i.TYPED_ARRAY_SUPPORT||(q=Math.floor(q)),this[X]=q&255,X+1};function V(se,q,X,Z){q<0&&(q=65535+q+1);for(var pe=0,oe=Math.min(se.length-X,2);pe<oe;++pe)se[X+pe]=(q&255<<8*(Z?pe:1-pe))>>>(Z?pe:1-pe)*8}i.prototype.writeUInt16LE=function(q,X,Z){return q=+q,X=X|0,Z||B(this,q,X,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[X]=q&255,this[X+1]=q>>>8):V(this,q,X,!0),X+2},i.prototype.writeUInt16BE=function(q,X,Z){return q=+q,X=X|0,Z||B(this,q,X,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[X]=q>>>8,this[X+1]=q&255):V(this,q,X,!1),X+2};function K(se,q,X,Z){q<0&&(q=4294967295+q+1);for(var pe=0,oe=Math.min(se.length-X,4);pe<oe;++pe)se[X+pe]=q>>>(Z?pe:3-pe)*8&255}i.prototype.writeUInt32LE=function(q,X,Z){return q=+q,X=X|0,Z||B(this,q,X,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[X+3]=q>>>24,this[X+2]=q>>>16,this[X+1]=q>>>8,this[X]=q&255):K(this,q,X,!0),X+4},i.prototype.writeUInt32BE=function(q,X,Z){return q=+q,X=X|0,Z||B(this,q,X,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[X]=q>>>24,this[X+1]=q>>>16,this[X+2]=q>>>8,this[X+3]=q&255):K(this,q,X,!1),X+4},i.prototype.writeIntLE=function(q,X,Z,pe){if(q=+q,X=X|0,!pe){var oe=Math.pow(2,8*Z-1);B(this,q,X,Z,oe-1,-oe)}var Ie=0,fe=1,te=0;for(this[X]=q&255;++Ie<Z&&(fe*=256);)q<0&&te===0&&this[X+Ie-1]!==0&&(te=1),this[X+Ie]=(q/fe>>0)-te&255;return X+Z},i.prototype.writeIntBE=function(q,X,Z,pe){if(q=+q,X=X|0,!pe){var oe=Math.pow(2,8*Z-1);B(this,q,X,Z,oe-1,-oe)}var Ie=Z-1,fe=1,te=0;for(this[X+Ie]=q&255;--Ie>=0&&(fe*=256);)q<0&&te===0&&this[X+Ie+1]!==0&&(te=1),this[X+Ie]=(q/fe>>0)-te&255;return X+Z},i.prototype.writeInt8=function(q,X,Z){return q=+q,X=X|0,Z||B(this,q,X,1,127,-128),i.TYPED_ARRAY_SUPPORT||(q=Math.floor(q)),q<0&&(q=255+q+1),this[X]=q&255,X+1},i.prototype.writeInt16LE=function(q,X,Z){return q=+q,X=X|0,Z||B(this,q,X,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[X]=q&255,this[X+1]=q>>>8):V(this,q,X,!0),X+2},i.prototype.writeInt16BE=function(q,X,Z){return q=+q,X=X|0,Z||B(this,q,X,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[X]=q>>>8,this[X+1]=q&255):V(this,q,X,!1),X+2},i.prototype.writeInt32LE=function(q,X,Z){return q=+q,X=X|0,Z||B(this,q,X,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[X]=q&255,this[X+1]=q>>>8,this[X+2]=q>>>16,this[X+3]=q>>>24):K(this,q,X,!0),X+4},i.prototype.writeInt32BE=function(q,X,Z){return q=+q,X=X|0,Z||B(this,q,X,4,2147483647,-2147483648),q<0&&(q=4294967295+q+1),i.TYPED_ARRAY_SUPPORT?(this[X]=q>>>24,this[X+1]=q>>>16,this[X+2]=q>>>8,this[X+3]=q&255):K(this,q,X,!1),X+4};function Y(se,q,X,Z,pe,oe){if(X+Z>se.length)throw new RangeError("Index out of range");if(X<0)throw new RangeError("Index out of range")}function Q(se,q,X,Z,pe){return pe||Y(se,q,X,4,34028234663852886e22,-34028234663852886e22),b.write(se,q,X,Z,23,4),X+4}i.prototype.writeFloatLE=function(q,X,Z){return Q(this,q,X,!0,Z)},i.prototype.writeFloatBE=function(q,X,Z){return Q(this,q,X,!1,Z)};function he(se,q,X,Z,pe){return pe||Y(se,q,X,8,17976931348623157e292,-17976931348623157e292),b.write(se,q,X,Z,52,8),X+8}i.prototype.writeDoubleLE=function(q,X,Z){return he(this,q,X,!0,Z)},i.prototype.writeDoubleBE=function(q,X,Z){return he(this,q,X,!1,Z)},i.prototype.copy=function(q,X,Z,pe){if(Z||(Z=0),!pe&&pe!==0&&(pe=this.length),X>=q.length&&(X=q.length),X||(X=0),pe>0&&pe<Z&&(pe=Z),pe===Z)return 0;if(q.length===0||this.length===0)return 0;if(X<0)throw new RangeError("targetStart out of bounds");if(Z<0||Z>=this.length)throw new RangeError("sourceStart out of bounds");if(pe<0)throw new RangeError("sourceEnd out of bounds");pe>this.length&&(pe=this.length),q.length-X<pe-Z&&(pe=q.length-X+Z);var oe=pe-Z,Ie;if(this===q&&Z<X&&X<pe)for(Ie=oe-1;Ie>=0;--Ie)q[Ie+X]=this[Ie+Z];else if(oe<1e3||!i.TYPED_ARRAY_SUPPORT)for(Ie=0;Ie<oe;++Ie)q[Ie+X]=this[Ie+Z];else Uint8Array.prototype.set.call(q,this.subarray(Z,Z+oe),X);return oe},i.prototype.fill=function(q,X,Z,pe){if(typeof q=="string"){if(typeof X=="string"?(pe=X,X=0,Z=this.length):typeof Z=="string"&&(pe=Z,Z=this.length),q.length===1){var oe=q.charCodeAt(0);oe<256&&(q=oe)}if(pe!==void 0&&typeof pe!="string")throw new TypeError("encoding must be a string");if(typeof pe=="string"&&!i.isEncoding(pe))throw new TypeError("Unknown encoding: "+pe)}else typeof q=="number"&&(q=q&255);if(X<0||this.length<X||this.length<Z)throw new RangeError("Out of range index");if(Z<=X)return this;X=X>>>0,Z=Z===void 0?this.length:Z>>>0,q||(q=0);var Ie;if(typeof q=="number")for(Ie=X;Ie<Z;++Ie)this[Ie]=q;else{var fe=i.isBuffer(q)?q:Pe(new i(q,pe).toString()),te=fe.length;for(Ie=0;Ie<Z-X;++Ie)this[Ie+X]=fe[Ie%te]}return this};var G=/[^+\/0-9A-Za-z-_]/g;function ye(se){if(se=Ae(se).replace(G,""),se.length<2)return"";for(;se.length%4!==0;)se=se+"=";return se}function Ae(se){return se.trim?se.trim():se.replace(/^\s+|\s+$/g,"")}function ge(se){return se<16?"0"+se.toString(16):se.toString(16)}function Pe(se,q){q=q||Infinity;for(var X,Z=se.length,pe=null,oe=[],Ie=0;Ie<Z;++Ie){if(X=se.charCodeAt(Ie),X>55295&&X<57344){if(!pe){if(X>56319){(q-=3)>-1&&oe.push(239,191,189);continue}else if(Ie+1===Z){(q-=3)>-1&&oe.push(239,191,189);continue}pe=X;continue}if(X<56320){(q-=3)>-1&&oe.push(239,191,189),pe=X;continue}X=(pe-55296<<10|X-56320)+65536}else pe&&((q-=3)>-1&&oe.push(239,191,189));if(pe=null,X<128){if((q-=1)<0)break;oe.push(X)}else if(X<2048){if((q-=2)<0)break;oe.push(X>>6|192,X&63|128)}else if(X<65536){if((q-=3)<0)break;oe.push(X>>12|224,X>>6&63|128,X&63|128)}else if(X<1114112){if((q-=4)<0)break;oe.push(X>>18|240,X>>12&63|128,X>>6&63|128,X&63|128)}else throw new Error("Invalid code point")}return oe}function Re(se){for(var q=[],X=0;X<se.length;++X)q.push(se.charCodeAt(X)&255);return q}function rt(se,q){for(var X,Z,pe,oe=[],Ie=0;Ie<se.length&&!((q-=2)<0);++Ie)X=se.charCodeAt(Ie),Z=X>>8,pe=X%256,oe.push(pe),oe.push(Z);return oe}function ne(se){return f.toByteArray(ye(se))}function be(se,q,X,Z){for(var pe=0;pe<Z&&!(pe+X>=q.length||pe>=se.length);++pe)q[pe+X]=se[pe];return pe}function at(se){return se!==se}}).call(this,e("yLpj"))},HDyB:function(R,I,e){var g=e("nmnc"),f=e("JHRd"),b=e("ljhN"),m=e("or5M"),y=e("7fqy"),h=e("rEGp"),u=1,i=2,a="[object Boolean]",r="[object Date]",o="[object Error]",d="[object Map]",n="[object Number]",l="[object RegExp]",t="[object Set]",s="[object String]",c="[object Symbol]",p="[object ArrayBuffer]",A="[object DataView]",w=g?g.prototype:void 0,C=w?w.valueOf:void 0;function x(E,T,_,v,S,O,L){switch(_){case A:if(E.byteLength!=T.byteLength||E.byteOffset!=T.byteOffset)return!1;E=E.buffer,T=T.buffer;case p:return!(E.byteLength!=T.byteLength||!O(new f(E),new f(T)));case a:case r:case n:return b(+E,+T);case o:return E.name==T.name&&E.message==T.message;case l:case s:return E==T+"";case d:var M=y;case t:var F=v&u;if(M||(M=h),E.size!=T.size&&!F)return!1;var U=L.get(E);if(U)return U==T;v|=i,L.set(E,T);var z=m(M(E),M(T),v,S,O,L);return L.delete(E),z;case c:if(C)return C.call(E)==C.call(T)}return!1}R.exports=x},"HF/U":function(R,I,e){var g=e("QBsz");function f(m){var y=m.coordinateSystem;if(y&&y.type!=="view")return;var h=m.getGraph();h.eachNode(function(u){var i=u.getModel();u.setLayout([+i.get("x"),+i.get("y")])}),b(h)}function b(m){m.eachEdge(function(y){var h=y.getModel().get("lineStyle.curveness")||0,u=g.clone(y.node1.getLayout()),i=g.clone(y.node2.getLayout()),a=[u,i];+h&&a.push([(u[0]+i[0])/2-(u[1]-i[1])*h,(u[1]+i[1])/2-(i[0]-u[0])*h]),y.setLayout(a)})}I.simpleLayout=f,I.simpleLayoutEdge=b},"HM/N":function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("bYtY"),m=e("/SeX"),y=e("OELB"),h=y.parsePercent,u=e("aX7z"),i=u.createScaleByModel,a=u.niceScaleExtent,r=e("IDmD"),o=e("7hqr"),d=o.getStackedDimension;e("ePAk");function n(c,p,A){var w=p.get("center"),C=A.getWidth(),x=A.getHeight();c.cx=h(w[0],C),c.cy=h(w[1],x);var E=c.getRadiusAxis(),T=Math.min(C,x)/2,_=p.get("radius");_==null?_=[0,"100%"]:b.isArray(_)||(_=[0,_]),_=[h(_[0],T),h(_[1],T)],E.inverse?E.setExtent(_[1],_[0]):E.setExtent(_[0],_[1])}function l(c,p){var A=this,w=A.getAngleAxis(),C=A.getRadiusAxis();if(w.scale.setExtent(Infinity,-Infinity),C.scale.setExtent(Infinity,-Infinity),c.eachSeries(function(T){if(T.coordinateSystem===A){var _=T.getData();b.each(_.mapDimension("radius",!0),function(v){C.scale.unionExtentFromData(_,d(_,v))}),b.each(_.mapDimension("angle",!0),function(v){w.scale.unionExtentFromData(_,d(_,v))})}}),a(w.scale,w.model),a(C.scale,C.model),w.type==="category"&&!w.onBand){var x=w.getExtent(),E=360/w.scale.count();w.inverse?x[1]+=E:x[1]-=E,w.setExtent(x[0],x[1])}}function t(c,p){if(c.type=p.get("type"),c.scale=i(p),c.onBand=p.get("boundaryGap")&&c.type==="category",c.inverse=p.get("inverse"),p.mainType==="angleAxis"){c.inverse^=p.get("clockwise");var A=p.get("startAngle");c.setExtent(A,A+(c.inverse?-360:360))}p.axis=c,c.model=p}var s={dimensions:m.prototype.dimensions,create:function(c,p){var A=[];return c.eachComponent("polar",function(w,C){var x=new m(C);x.update=l;var E=x.getRadiusAxis(),T=x.getAngleAxis(),_=w.findAxisModel("radiusAxis"),v=w.findAxisModel("angleAxis");t(E,_),t(T,v),n(x,w,p),A.push(x),w.coordinateSystem=x,x.model=w}),c.eachSeries(function(w){if(w.get("coordinateSystem")==="polar"){var C=c.queryComponents({mainType:"polar",index:w.get("polarIndex"),id:w.get("polarId")})[0];w.coordinateSystem=C.coordinateSystem}}),A}};r.register("polar",s)},HOxn:function(R,I,e){var g=e("Cwc5"),f=e("Kz5y"),b=g(f,"Promise");R.exports=b},HQEm:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("Sj0X"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},HjIi:function(R,I,e){var g=e("bYtY"),f=e("OELB"),b=f.parsePercent,m=e("7hqr"),y=m.isDimensionStacked;function h(o){return o.get("stack")||"__ec_stack_"+o.seriesIndex}function u(o,d){return d.dim+o.model.componentIndex}function i(o,d,n){var l={},t=a(g.filter(d.getSeriesByType(o),function(s){return!d.isSeriesFiltered(s)&&s.coordinateSystem&&s.coordinateSystem.type==="polar"}));d.eachSeriesByType(o,function(s){if(s.coordinateSystem.type!=="polar")return;var c=s.getData(),p=s.coordinateSystem,A=p.getBaseAxis(),w=u(p,A),C=h(s),x=t[w][C],E=x.offset,T=x.width,_=p.getOtherAxis(A),v=s.coordinateSystem.cx,S=s.coordinateSystem.cy,O=s.get("barMinHeight")||0,L=s.get("barMinAngle")||0;l[C]=l[C]||[];for(var M=c.mapDimension(_.dim),F=c.mapDimension(A.dim),U=y(c,M),z=A.dim!=="radius"||!s.get("roundCap",!0),W=_.getExtent()[0],N=0,H=c.count();N<H;N++){var j=c.get(M,N),k=c.get(F,N),B=j>=0?"p":"n",V=W;U&&(l[C][k]||(l[C][k]={p:W,n:W}),V=l[C][k][B]);var K,Y,Q,he;if(_.dim==="radius"){var G=_.dataToRadius(j)-W,ye=A.dataToAngle(k);Math.abs(G)<O&&(G=(G<0?-1:1)*O),K=V,Y=V+G,Q=ye-E,he=Q-T,U&&(l[C][k][B]=Y)}else{var Ae=_.dataToAngle(j,z)-W,ge=A.dataToRadius(k);Math.abs(Ae)<L&&(Ae=(Ae<0?-1:1)*L),K=ge+E,Y=K+T,Q=V,he=V+Ae,U&&(l[C][k][B]=he)}c.setItemLayout(N,{cx:v,cy:S,r0:K,r:Y,startAngle:-Q*Math.PI/180,endAngle:-he*Math.PI/180})}},this)}function a(o,d){var n={};g.each(o,function(t,s){var c=t.getData(),p=t.coordinateSystem,A=p.getBaseAxis(),w=u(p,A),C=A.getExtent(),x=A.type==="category"?A.getBandWidth():Math.abs(C[1]-C[0])/c.count(),E=n[w]||{bandWidth:x,remainedWidth:x,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},T=E.stacks;n[w]=E;var _=h(t);T[_]||E.autoWidthCount++,T[_]=T[_]||{width:0,maxWidth:0};var v=b(t.get("barWidth"),x),S=b(t.get("barMaxWidth"),x),O=t.get("barGap"),L=t.get("barCategoryGap");v&&!T[_].width&&(v=Math.min(E.remainedWidth,v),T[_].width=v,E.remainedWidth-=v),S&&(T[_].maxWidth=S),O!=null&&(E.gap=O),L!=null&&(E.categoryGap=L)});var l={};return g.each(n,function(t,s){l[s]={};var c=t.stacks,p=t.bandWidth,A=b(t.categoryGap,p),w=b(t.gap,1),C=t.remainedWidth,x=t.autoWidthCount,E=(C-A)/(x+(x-1)*w);E=Math.max(E,0),g.each(c,function(S,O){var L=S.maxWidth;L&&L<E&&(L=Math.min(L,C),S.width&&(L=Math.min(L,S.width)),C-=L,S.width=L,x--)}),E=(C-A)/(x+(x-1)*w),E=Math.max(E,0);var T=0,_;g.each(c,function(S,O){S.width||(S.width=E),_=S,T+=S.width*(1+w)}),_&&(T-=_.width*w);var v=-T/2;g.each(c,function(S,O){l[s][O]=l[s][O]||{offset:v,width:S.width},v+=S.width*(1+w)})}),l}var r=i;R.exports=r},HjOm:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g={locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},f=g;I.default=f},Hvzi:function(R,I){function e(g){var f=this.has(g)&&delete this.__data__[g];return this.size-=f?1:0,f}R.exports=e},Hw7h:function(R,I,e){var g=e("y+Vt"),f=g.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(b,m){var y=Math.cos,h=Math.sin,u=m.r,i=m.width,a=m.angle,r=m.x-y(a)*i*(i>=u/3?1:2),o=m.y-h(a)*i*(i>=u/3?1:2);a=m.angle-Math.PI/2,b.moveTo(r,o),b.lineTo(m.x+y(a)*i,m.y+h(a)*i),b.lineTo(m.x+y(m.angle)*u,m.y+h(m.angle)*u),b.lineTo(m.x-y(a)*i,m.y-h(a)*i),b.lineTo(r,o);return}});R.exports=f},Hxpc:function(R,I,e){var g=e("bYtY"),f=e("4NO4"),b=e("bLfw"),m=e("Qxkt"),y=e("cCMj"),h=e("7uqq"),u=b.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(a){b.prototype.init.apply(this,arguments),f.defaultEmphasis(a,"label",["show"])},optionUpdated:function(){var a=this.option,r=this;a.regions=h.getFilledRegions(a.regions,a.map,a.nameMap),this._optionModelMap=g.reduce(a.regions||[],function(o,d){return d.name&&o.set(d.name,new m(d,r)),o},g.createHashMap()),this.updateSelectedMap(a.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(a){return this._optionModelMap.get(a)||new m(null,this,this.ecModel)},getFormattedLabel:function(a,r){var o=this.getRegionModel(a),d=o.get("label"+(r==="normal"?".":r+".")+"formatter"),n={name:a};if(typeof d=="function")return n.status=r,d(n);if(typeof d=="string")return d.replace("{a}",a!=null?a:"")},setZoom:function(a){this.option.zoom=a},setCenter:function(a){this.option.center=a}});g.mixin(u,y);var i=u;R.exports=i},"I+77":function(R,I,e){var g=e("ProS");e("h54F"),e("lwQL"),e("10cm");var f=e("Z1r0"),b=e("f5Yq"),m=e("KUOm"),y=e("3m61"),h=e("01d+"),u=e("rdor"),i=e("WGYa"),a=e("ewwo");g.registerProcessor(f),g.registerVisual(b("graph","circle",null)),g.registerVisual(m),g.registerVisual(y),g.registerLayout(h),g.registerLayout(g.PRIORITY.VISUAL.POST_CHART_LAYOUT,u),g.registerLayout(i),g.registerCoordinateSystem("graphView",{create:a})},"I+Bx":function(R,I,e){var g=e("bYtY"),f=e("eIcI"),b=e("ieMj"),m=e("OELB"),y=e("aX7z"),h=y.getScaleExtent,u=y.niceScaleExtent,i=e("IDmD"),a=e("jCoz");function r(d,n,l){this._model=d,this.dimensions=[],this._indicatorAxes=g.map(d.getIndicatorModels(),function(t,s){var c="indicator_"+s,p=new f(c,t.get("axisType")==="log"?new a:new b);return p.name=t.get("name"),p.model=t,t.axis=p,this.dimensions.push(c),p},this),this.resize(d,l),this.cx,this.cy,this.r,this.r0,this.startAngle}r.prototype.getIndicatorAxes=function(){return this._indicatorAxes},r.prototype.dataToPoint=function(d,n){var l=this._indicatorAxes[n];return this.coordToPoint(l.dataToCoord(d),n)},r.prototype.coordToPoint=function(d,n){var l=this._indicatorAxes[n],t=l.angle,s=this.cx+d*Math.cos(t),c=this.cy-d*Math.sin(t);return[s,c]},r.prototype.pointToData=function(d){var n=d[0]-this.cx,l=d[1]-this.cy,t=Math.sqrt(n*n+l*l);n/=t,l/=t;for(var s=Math.atan2(-l,n),c=Infinity,p,A=-1,w=0;w<this._indicatorAxes.length;w++){var C=this._indicatorAxes[w],x=Math.abs(s-C.angle);x<c&&(p=C,A=w,c=x)}return[A,+(p&&p.coordToData(t))]},r.prototype.resize=function(d,n){var l=d.get("center"),t=n.getWidth(),s=n.getHeight(),c=Math.min(t,s)/2;this.cx=m.parsePercent(l[0],t),this.cy=m.parsePercent(l[1],s),this.startAngle=d.get("startAngle")*Math.PI/180;var p=d.get("radius");(typeof p=="string"||typeof p=="number")&&(p=[0,p]),this.r0=m.parsePercent(p[0],c),this.r=m.parsePercent(p[1],c),g.each(this._indicatorAxes,function(A,w){A.setExtent(this.r0,this.r);var C=this.startAngle+w*Math.PI*2/this._indicatorAxes.length;C=Math.atan2(Math.sin(C),Math.cos(C)),A.angle=C},this)},r.prototype.update=function(d,n){var l=this._indicatorAxes,t=this._model;g.each(l,function(p){p.scale.setExtent(Infinity,-Infinity)}),d.eachSeriesByType("radar",function(p,A){if(p.get("coordinateSystem")!=="radar"||d.getComponent("radar",p.get("radarIndex"))!==t)return;var w=p.getData();g.each(l,function(C){C.scale.unionExtentFromData(w,w.mapDimension(C.dim))})},this);var s=t.get("splitNumber");function c(p){var A=Math.pow(10,Math.floor(Math.log(p)/Math.LN10)),w=p/A;return w===2?w=5:w*=2,w*A}g.each(l,function(p,A){var w=h(p.scale,p.model).extent;u(p.scale,p.model);var C=p.model,x=p.scale,E=C.getMin(),T=C.getMax(),_=x.getInterval();if(E!=null&&T!=null)x.setExtent(+E,+T),x.setInterval((T-E)/s);else if(E!=null){var v;do v=E+_*s,x.setExtent(+E,v),x.setInterval(_),_=c(_);while(v<w[1]&&isFinite(v)&&isFinite(w[1]))}else if(T!=null){var S;do S=T-_*s,x.setExtent(S,+T),x.setInterval(_),_=c(_);while(S>w[0]&&isFinite(S)&&isFinite(w[0]))}else{var O=x.getTicks().length-1;O>s&&(_=c(_));var v=Math.ceil(w[1]/_)*_,S=m.round(v-_*s);x.setExtent(S,v),x.setInterval(_)}})},r.dimensions=[],r.create=function(d,n){var l=[];return d.eachComponent("radar",function(t){var s=new r(t,d,n);l.push(s),t.coordinateSystem=s}),d.eachSeriesByType("radar",function(t){t.get("coordinateSystem")==="radar"&&(t.coordinateSystem=l[t.get("radarIndex")||0])}),l},i.register("radar",r);var o=r;R.exports=o},"I3/A":function(R,I,e){var g=e("bYtY"),f=e("YXkt"),b=e("c2i1"),m=e("Mdki"),y=e("sdST"),h=e("IDmD"),u=e("MwEJ");function i(a,r,o,d,n){for(var l=new b(d),t=0;t<a.length;t++)l.addNode(g.retrieve(a[t].id,a[t].name,t),t);for(var s=[],c=[],p=0,t=0;t<r.length;t++){var A=r[t],w=A.source,C=A.target;l.addEdge(w,C,p)&&(c.push(A),s.push(g.retrieve(A.id,w+" > "+C)),p++)}var x=o.get("coordinateSystem"),E;if(x==="cartesian2d"||x==="polar")E=u(a,o);else{var T=h.get(x),_=T&&T.type!=="view"?T.dimensions||[]:[];g.indexOf(_,"value")<0&&_.concat(["value"]);var v=y(a,{coordDimensions:_});E=new f(v,o),E.initData(a)}var S=new f(["value"],o);return S.initData(c,s),n&&n(E,S),m({mainData:E,struct:l,structAttr:"graph",datas:{node:E,edge:S},datasAttr:{node:"data",edge:"edgeData"}}),l.update(),l}R.exports=i},"I9Y+":function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("4xFK")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="DoubleRightOutlined";var u=b.forwardRef(h);I.default=u},ICMv:function(R,I,e){var g=e("bYtY"),f={getMin:function(b){var m=this.option,y=!b&&m.rangeStart!=null?m.rangeStart:m.min;return this.axis&&y!=null&&y!=="dataMin"&&typeof y!="function"&&!g.eqNaN(y)&&(y=this.axis.scale.parse(y)),y},getMax:function(b){var m=this.option,y=!b&&m.rangeEnd!=null?m.rangeEnd:m.max;return this.axis&&y!=null&&y!=="dataMax"&&typeof y!="function"&&!g.eqNaN(y)&&(y=this.axis.scale.parse(y)),y},getNeedCrossZero:function(){var b=this.option;return b.rangeStart!=null||b.rangeEnd!=null?!1:!b.scale},getCoordSysModel:g.noop,setRange:function(b,m){this.option.rangeStart=b,this.option.rangeEnd=m},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};R.exports=f},IDmD:function(R,I,e){var g=e("bYtY"),f={};function b(){this._coordinateSystems=[]}b.prototype={constructor:b,create:function(y,h){var u=[];g.each(f,function(i,a){var r=i.create(y,h);u=u.concat(r||[])}),this._coordinateSystems=u},update:function(y,h){g.each(this._coordinateSystems,function(u){u.update&&u.update(y,h)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},b.register=function(y,h){f[y]=h},b.get=function(y){return f[y]};var m=b;R.exports=m},IMiH:function(R,I,e){var g=e("Sj9i"),f=e("QBsz"),b=e("4mN7"),m=e("mFDi"),y=e("LPTA"),h=y.devicePixelRatio,u={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},i=[],a=[],r=[],o=[],d=Math.min,n=Math.max,l=Math.cos,t=Math.sin,s=Math.sqrt,c=Math.abs,p=typeof Float32Array!="undefined",A=function(x){this._saveData=!(x||!1),this._saveData&&(this.data=[]),this._ctx=null};A.prototype={constructor:A,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(x,E,T){T=T||0,this._ux=c(T/h/x)||0,this._uy=c(T/h/E)||0},getContext:function(){return this._ctx},beginPath:function(x){return this._ctx=x,x&&x.beginPath(),x&&(this.dpr=x.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(x,E){return this.addData(u.M,x,E),this._ctx&&this._ctx.moveTo(x,E),this._x0=x,this._y0=E,this._xi=x,this._yi=E,this},lineTo:function(x,E){var T=c(x-this._xi)>this._ux||c(E-this._yi)>this._uy||this._len<5;return this.addData(u.L,x,E),this._ctx&&T&&(this._needsDash()?this._dashedLineTo(x,E):this._ctx.lineTo(x,E)),T&&(this._xi=x,this._yi=E),this},bezierCurveTo:function(x,E,T,_,v,S){return this.addData(u.C,x,E,T,_,v,S),this._ctx&&(this._needsDash()?this._dashedBezierTo(x,E,T,_,v,S):this._ctx.bezierCurveTo(x,E,T,_,v,S)),this._xi=v,this._yi=S,this},quadraticCurveTo:function(x,E,T,_){return this.addData(u.Q,x,E,T,_),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(x,E,T,_):this._ctx.quadraticCurveTo(x,E,T,_)),this._xi=T,this._yi=_,this},arc:function(x,E,T,_,v,S){return this.addData(u.A,x,E,T,T,_,v-_,0,S?0:1),this._ctx&&this._ctx.arc(x,E,T,_,v,S),this._xi=l(v)*T+x,this._yi=t(v)*T+E,this},arcTo:function(x,E,T,_,v){return this._ctx&&this._ctx.arcTo(x,E,T,_,v),this},rect:function(x,E,T,_){return this._ctx&&this._ctx.rect(x,E,T,_),this.addData(u.R,x,E,T,_),this},closePath:function(){this.addData(u.Z);var x=this._ctx,E=this._x0,T=this._y0;return x&&(this._needsDash()&&this._dashedLineTo(E,T),x.closePath()),this._xi=E,this._yi=T,this},fill:function(x){x&&x.fill(),this.toStatic()},stroke:function(x){x&&x.stroke(),this.toStatic()},setLineDash:function(x){if(x instanceof Array){this._lineDash=x,this._dashIdx=0;for(var E=0,T=0;T<x.length;T++)E+=x[T];this._dashSum=E}return this},setLineDashOffset:function(x){return this._dashOffset=x,this},len:function(){return this._len},setData:function(x){var E=x.length;!(this.data&&this.data.length===E)&&p&&(this.data=new Float32Array(E));for(var T=0;T<E;T++)this.data[T]=x[T];this._len=E},appendPath:function(x){x instanceof Array||(x=[x]);for(var E=x.length,T=0,_=this._len,v=0;v<E;v++)T+=x[v].len();p&&this.data instanceof Float32Array&&(this.data=new Float32Array(_+T));for(var v=0;v<E;v++)for(var S=x[v].data,O=0;O<S.length;O++)this.data[_++]=S[O];this._len=_},addData:function(x){if(!this._saveData)return;var E=this.data;this._len+arguments.length>E.length&&(this._expandData(),E=this.data);for(var T=0;T<arguments.length;T++)E[this._len++]=arguments[T];this._prevCmd=x},_expandData:function(){if(!(this.data instanceof Array)){for(var x=[],E=0;E<this._len;E++)x[E]=this.data[E];this.data=x}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(x,E){var T=this._dashSum,_=this._dashOffset,v=this._lineDash,S=this._ctx,O=this._xi,L=this._yi,M=x-O,F=E-L,U=s(M*M+F*F),z=O,W=L,N,H=v.length,j;for(M/=U,F/=U,_<0&&(_=T+_),_%=T,z-=_*M,W-=_*F;M>0&&z<=x||M<0&&z>=x||M===0&&(F>0&&W<=E||F<0&&W>=E);){if(j=this._dashIdx,N=v[j],z+=M*N,W+=F*N,this._dashIdx=(j+1)%H,M>0&&z<O||M<0&&z>O||F>0&&W<L||F<0&&W>L)continue;S[j%2?"moveTo":"lineTo"](M>=0?d(z,x):n(z,x),F>=0?d(W,E):n(W,E))}M=z-x,F=W-E,this._dashOffset=-s(M*M+F*F)},_dashedBezierTo:function(x,E,T,_,v,S){var O=this._dashSum,L=this._dashOffset,M=this._lineDash,F=this._ctx,U=this._xi,z=this._yi,W,N,H,j=g.cubicAt,k=0,B=this._dashIdx,V=M.length,K,Y,Q=0;for(L<0&&(L=O+L),L%=O,W=0;W<1;W+=.1)N=j(U,x,T,v,W+.1)-j(U,x,T,v,W),H=j(z,E,_,S,W+.1)-j(z,E,_,S,W),k+=s(N*N+H*H);for(;B<V&&!(Q+=M[B],Q>L);B++);for(W=(Q-L)/k;W<=1;)K=j(U,x,T,v,W),Y=j(z,E,_,S,W),B%2?F.moveTo(K,Y):F.lineTo(K,Y),W+=M[B]/k,B=(B+1)%V;B%2!==0&&F.lineTo(v,S),N=v-K,H=S-Y,this._dashOffset=-s(N*N+H*H)},_dashedQuadraticTo:function(x,E,T,_){var v=T,S=_;T=(T+2*x)/3,_=(_+2*E)/3,x=(this._xi+2*x)/3,E=(this._yi+2*E)/3,this._dashedBezierTo(x,E,T,_,v,S)},toStatic:function(){var x=this.data;x instanceof Array&&(x.length=this._len,p&&(this.data=new Float32Array(x)))},getBoundingRect:function(){i[0]=i[1]=r[0]=r[1]=Number.MAX_VALUE,a[0]=a[1]=o[0]=o[1]=-Number.MAX_VALUE;for(var x=this.data,E=0,T=0,_=0,v=0,S=0;S<x.length;){var O=x[S++];S===1&&(E=x[S],T=x[S+1],_=E,v=T);switch(O){case u.M:_=x[S++],v=x[S++],E=_,T=v,r[0]=_,r[1]=v,o[0]=_,o[1]=v;break;case u.L:b.fromLine(E,T,x[S],x[S+1],r,o),E=x[S++],T=x[S++];break;case u.C:b.fromCubic(E,T,x[S++],x[S++],x[S++],x[S++],x[S],x[S+1],r,o),E=x[S++],T=x[S++];break;case u.Q:b.fromQuadratic(E,T,x[S++],x[S++],x[S],x[S+1],r,o),E=x[S++],T=x[S++];break;case u.A:var L=x[S++],M=x[S++],F=x[S++],U=x[S++],z=x[S++],W=x[S++]+z;S+=1;var N=1-x[S++];S===1&&(_=l(z)*F+L,v=t(z)*U+M),b.fromArc(L,M,F,U,z,W,N,r,o),E=l(W)*F+L,T=t(W)*U+M;break;case u.R:_=E=x[S++],v=T=x[S++];var H=x[S++],j=x[S++];b.fromLine(_,v,_+H,v+j,r,o);break;case u.Z:E=_,T=v;break}f.min(i,i,r),f.max(a,a,o)}return S===0&&(i[0]=i[1]=a[0]=a[1]=0),new m(i[0],i[1],a[0]-i[0],a[1]-i[1])},rebuildPath:function(x){for(var E=this.data,T,_,v,S,O,L,M=this._ux,F=this._uy,U=this._len,z=0;z<U;){var W=E[z++];z===1&&(v=E[z],S=E[z+1],T=v,_=S);switch(W){case u.M:T=v=E[z++],_=S=E[z++],x.moveTo(v,S);break;case u.L:O=E[z++],L=E[z++],(c(O-v)>M||c(L-S)>F||z===U-1)&&(x.lineTo(O,L),v=O,S=L);break;case u.C:x.bezierCurveTo(E[z++],E[z++],E[z++],E[z++],E[z++],E[z++]),v=E[z-2],S=E[z-1];break;case u.Q:x.quadraticCurveTo(E[z++],E[z++],E[z++],E[z++]),v=E[z-2],S=E[z-1];break;case u.A:var N=E[z++],H=E[z++],j=E[z++],k=E[z++],B=E[z++],V=E[z++],K=E[z++],Y=E[z++],Q=j>k?j:k,he=j>k?1:j/k,G=j>k?k/j:1,ye=Math.abs(j-k)>.001,Ae=B+V;ye?(x.translate(N,H),x.rotate(K),x.scale(he,G),x.arc(0,0,Q,B,Ae,1-Y),x.scale(1/he,1/G),x.rotate(-K),x.translate(-N,-H)):x.arc(N,H,Q,B,Ae,1-Y),z===1&&(T=l(B)*j+N,_=t(B)*k+H),v=l(Ae)*j+N,S=t(Ae)*k+H;break;case u.R:T=v=E[z],_=S=E[z+1],x.rect(E[z++],E[z++],E[z++],E[z++]);break;case u.Z:x.closePath(),v=T,S=_}}}},A.CMD=u;var w=A;R.exports=w},IUWy:function(R,I){var e={};function g(b,m){e[b]=m}function f(b){return e[b]}I.register=g,I.get=f},IWNH:function(R,I,e){var g=e("T4UG"),f=e("Bsck"),b=e("7aKB"),m=b.encodeHTML,y=e("Qxkt"),h=g.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(u){var i={name:u.name,children:u.data},a=u.leaves||{},r=new y(a,this,this.ecModel),o=f.createTree(i,this,{},d);function d(s){s.wrapMethod("getItemModel",function(c,p){var A=o.getNodeByDataIndex(p);return(!A.children.length||!A.isExpand)&&(c.parentModel=r),c})}var n=0;o.eachNode("preorder",function(s){s.depth>n&&(n=s.depth)});var l=u.expandAndCollapse,t=l&&u.initialTreeDepth>=0?u.initialTreeDepth:n;return o.root.eachNode("preorder",function(s){var c=s.hostTree.data.getRawDataItem(s.dataIndex);s.isExpand=c&&c.collapsed!=null?!c.collapsed:s.depth<=t}),o.data},getOrient:function(){var u=this.get("orient");return u==="horizontal"?u="LR":u==="vertical"&&(u="TB"),u},setZoom:function(u){this.option.zoom=u},setCenter:function(u){this.option.center=u},formatTooltip:function(u){for(var i=this.getData().tree,a=i.root.children[0],r=i.getNodeByDataIndex(u),o=r.getValue(),d=r.name;r&&r!==a;)d=r.parentNode.name+"."+d,r=r.parentNode;return m(d+(isNaN(o)||o==null?"":" : "+o))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});R.exports=h},IWp7:function(R,I,e){var g=e("bYtY"),f=e("OELB"),b=e("7aKB"),m=e("lE7J"),y=e("ieMj"),h=y.prototype,u=Math.ceil,i=Math.floor,a=1e3,r=a*60,o=r*60,d=o*24,n=function(c,p,A,w){for(;A<w;){var C=A+w>>>1;c[C][1]<p?A=C+1:w=C}return A},l=y.extend({type:"time",getLabel:function(c){var p=this._stepLvl,A=new Date(c);return b.formatTime(p[0],A,this.getSetting("useUTC"))},niceExtent:function(c){var p=this._extent;if(p[0]===p[1]&&(p[0]-=d,p[1]+=d),p[1]===-Infinity&&p[0]===Infinity){var A=new Date;p[1]=+new Date(A.getFullYear(),A.getMonth(),A.getDate()),p[0]=p[1]-d}this.niceTicks(c.splitNumber,c.minInterval,c.maxInterval);var w=this._interval;c.fixMin||(p[0]=f.round(i(p[0]/w)*w)),c.fixMax||(p[1]=f.round(u(p[1]/w)*w))},niceTicks:function(c,p,A){c=c||10;var w=this._extent,C=w[1]-w[0],x=C/c;p!=null&&x<p&&(x=p),A!=null&&x>A&&(x=A);var E=t.length,T=n(t,x,0,E),_=t[Math.min(T,E-1)],v=_[1];if(_[0]==="year"){var S=C/v,O=f.nice(S/c,!0);v*=O}var L=this.getSetting("useUTC")?0:new Date(+w[0]||+w[1]).getTimezoneOffset()*60*1e3,M=[Math.round(u((w[0]-L)/v)*v+L),Math.round(i((w[1]-L)/v)*v+L)];m.fixExtent(M,w),this._stepLvl=_,this._interval=v,this._niceExtent=M},parse:function(c){return+f.parseDate(c)}});g.each(["contain","normalize"],function(c){l.prototype[c]=function(p){return h[c].call(this,this.parse(p))}});var t=[["hh:mm:ss",a],["hh:mm:ss",a*5],["hh:mm:ss",a*10],["hh:mm:ss",a*15],["hh:mm:ss",a*30],[`hh:mm
MM-dd`,r],[`hh:mm
MM-dd`,r*5],[`hh:mm
MM-dd`,r*10],[`hh:mm
MM-dd`,r*15],[`hh:mm
MM-dd`,r*30],[`hh:mm
MM-dd`,o],[`hh:mm
MM-dd`,o*2],[`hh:mm
MM-dd`,o*6],[`hh:mm
MM-dd`,o*12],[`MM-dd
yyyy`,d],[`MM-dd
yyyy`,d*2],[`MM-dd
yyyy`,d*3],[`MM-dd
yyyy`,d*4],[`MM-dd
yyyy`,d*5],[`MM-dd
yyyy`,d*6],["week",d*7],[`MM-dd
yyyy`,d*10],["week",d*14],["week",d*21],["month",d*31],["week",d*42],["month",d*62],["week",d*70],["quarter",d*95],["month",d*31*4],["month",d*31*5],["half-year",d*380/2],["month",d*31*8],["month",d*31*10],["year",d*380]];l.create=function(c){return new l({useUTC:c.ecModel.get("useUTC")})};var s=l;R.exports=s},IXuL:function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("MwEJ"),m=e("T4UG"),y=m.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(h,u){return b(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},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:Infinity}});R.exports=y},IXyC:function(R,I,e){var g=e("bYtY"),f=e("bLfw");e("3zoK");var b=f.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){f.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(m){var y=this.option;m&&g.merge(y,m,!0),this._initDimensions()},contains:function(m,y){var h=m.get("parallelIndex");return h!=null&&y.getComponent("parallel",h)===this},setAxisExpand:function(m){g.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(y){m.hasOwnProperty(y)&&(this.option[y]=m[y])},this)},_initDimensions:function(){var m=this.dimensions=[],y=this.parallelAxisIndex=[],h=g.filter(this.dependentModels.parallelAxis,function(u){return(u.get("parallelIndex")||0)===this.componentIndex},this);g.each(h,function(u){m.push("dim"+u.get("dim")),y.push(u.componentIndex)})}});R.exports=b},ItGF:function(R,I){var e={};typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?e={browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:typeof document=="undefined"&&typeof self!="undefined"?e={browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:typeof navigator=="undefined"?e={browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:e=f(navigator.userAgent);var g=e;function f(b){var m={},y={},h=b.match(/Firefox\/([\d.]+)/),u=b.match(/MSIE\s([\d.]+)/)||b.match(/Trident\/.+?rv:(([\d.]+))/),i=b.match(/Edge\/([\d.]+)/),a=/micromessenger/i.test(b);return h&&(y.firefox=!0,y.version=h[1]),u&&(y.ie=!0,y.version=u[1]),i&&(y.edge=!0,y.version=i[1]),a&&(y.weChat=!0),{browser:y,os:m,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:typeof SVGRect!="undefined",touchEventsSupported:"ontouchstart"in window&&!y.ie&&!y.edge,pointerEventsSupported:"onpointerdown"in window&&(y.edge||y.ie&&y.version>=11),domSupported:typeof document!="undefined"}}R.exports=g},ItS6:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=e("eP3c"),f=b(e("1q3G"));function b(i){return i&&i.__esModule?i:{default:i}}function m(i,a){if(!(i instanceof a))throw new TypeError("Cannot call a class as a function")}function y(i,a){for(var r=0;r<a.length;r++){var o=a[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(i,o.key,o)}}function h(i,a,r){return a&&y(i.prototype,a),r&&y(i,r),i}var u=function(){function i(){m(this,i),this.strm=new f.default,this.chunkSize=1024*10*10,this.strm.output=new Uint8Array(this.chunkSize),this.windowBits=5,(0,g.inflateInit)(this.strm,this.windowBits)}return h(i,[{key:"setInput",value:function(r){r?(this.strm.input=r,this.strm.avail_in=this.strm.input.length,this.strm.next_in=0):(this.strm.input=null,this.strm.avail_in=0,this.strm.next_in=0)}},{key:"inflate",value:function(r){r>this.chunkSize&&(this.chunkSize=r,this.strm.output=new Uint8Array(this.chunkSize)),this.strm.next_out=0,this.strm.avail_out=r;var o=(0,g.inflate)(this.strm,0);if(o<0)throw new Error("zlib inflate failed");if(this.strm.next_out!=r)throw new Error("Incomplete zlib block");return new Uint8Array(this.strm.output.buffer,0,this.strm.next_out)}},{key:"reset",value:function(){(0,g.inflateReset)(this.strm)}}]),i}();I.default=u},Itpr:function(R,I,e){var g=e("+TT/");function f(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var s=[t],c,p;c=s.pop();)if(p=c.children,c.isExpand&&p.length)for(var A=p.length,w=A-1;w>=0;w--){var C=p[w];C.hierNode={defaultAncestor:null,ancestor:C,prelim:0,modifier:0,change:0,shift:0,i:w,thread:null},s.push(C)}}function b(t,s){var c=t.isExpand?t.children:[],p=t.parentNode.children,A=t.hierNode.i?p[t.hierNode.i-1]:null;if(c.length){i(t);var w=(c[0].hierNode.prelim+c[c.length-1].hierNode.prelim)/2;A?(t.hierNode.prelim=A.hierNode.prelim+s(t,A),t.hierNode.modifier=t.hierNode.prelim-w):t.hierNode.prelim=w}else A&&(t.hierNode.prelim=A.hierNode.prelim+s(t,A));t.parentNode.hierNode.defaultAncestor=a(t,A,t.parentNode.hierNode.defaultAncestor||p[0],s)}function m(t){var s=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:s},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function y(t){return arguments.length?t:l}function h(t,s){var c={};return t-=Math.PI/2,c.x=s*Math.cos(t),c.y=s*Math.sin(t),c}function u(t,s){return g.getLayoutRect(t.getBoxLayoutParams(),{width:s.getWidth(),height:s.getHeight()})}function i(t){for(var s=t.children,c=s.length,p=0,A=0;--c>=0;){var w=s[c];w.hierNode.prelim+=p,w.hierNode.modifier+=p,A+=w.hierNode.change,p+=w.hierNode.shift+A}}function a(t,s,c,p){if(s){for(var A=t,w=t,C=w.parentNode.children[0],x=s,E=A.hierNode.modifier,T=w.hierNode.modifier,_=C.hierNode.modifier,v=x.hierNode.modifier;x=r(x),w=o(w),x&&w;){A=r(A),C=o(C),A.hierNode.ancestor=t;var S=x.hierNode.prelim+v-w.hierNode.prelim-T+p(x,w);S>0&&(n(d(x,t,c),t,S),T+=S,E+=S),v+=x.hierNode.modifier,T+=w.hierNode.modifier,E+=A.hierNode.modifier,_+=C.hierNode.modifier}x&&!r(A)&&(A.hierNode.thread=x,A.hierNode.modifier+=v-E),w&&!o(C)&&(C.hierNode.thread=w,C.hierNode.modifier+=T-_,c=t)}return c}function r(t){var s=t.children;return s.length&&t.isExpand?s[s.length-1]:t.hierNode.thread}function o(t){var s=t.children;return s.length&&t.isExpand?s[0]:t.hierNode.thread}function d(t,s,c){return t.hierNode.ancestor.parentNode===s.parentNode?t.hierNode.ancestor:c}function n(t,s,c){var p=c/(s.hierNode.i-t.hierNode.i);s.hierNode.change-=p,s.hierNode.shift+=c,s.hierNode.modifier+=c,s.hierNode.prelim+=c,t.hierNode.change+=p}function l(t,s){return t.parentNode===s.parentNode?1:2}I.init=f,I.firstWalk=b,I.secondWalk=m,I.separation=y,I.radialCoordinate=h,I.getViewRect=u},IwbS:function(R,I,e){var g=e("bYtY"),f=e("NC18"),b=e("Qe9p"),m=e("Fofx"),y=e("QBsz"),h=e("y+Vt"),u=e("DN4a"),i=e("Dagg");I.Image=i;var a=e("4fz+");I.Group=a;var r=e("dqUG");I.Text=r;var o=e("2fw6");I.Circle=o;var d=e("SqI9");I.Sector=d;var n=e("RXMa");I.Ring=n;var l=e("h7HQ");I.Polygon=l;var t=e("1Jh7");I.Polyline=t;var s=e("x6Kt");I.Rect=s;var c=e("yxFR");I.Line=c;var p=e("rA99");I.BezierCurve=p;var A=e("jTL6");I.Arc=A;var w=e("1MYJ");I.CompoundPath=w;var C=e("SKnc");I.LinearGradient=C;var x=e("3e3G");I.RadialGradient=x;var E=e("mFDi");I.BoundingRect=E;var T=e("OS9S");I.IncrementalDisplayable=T;var _=e("nPnh"),v=Math.max,S=Math.min,O={},L=1,M={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},F="emphasis",U="normal",z=1,W={},N={};function H(Ee){return h.extend(Ee)}function j(Ee,we){return f.extendFromString(Ee,we)}function k(Ee,we){N[Ee]=we}function B(Ee){if(N.hasOwnProperty(Ee))return N[Ee]}function V(Ee,we,Fe,Ye){var Ge=f.createFromString(Ee,we);return Fe&&(Ye==="center"&&(Fe=Y(Fe,Ge.getBoundingRect())),he(Ge,Fe)),Ge}function K(Ee,we,Fe){var Ye=new i({style:{image:Ee,x:we.x,y:we.y,width:we.width,height:we.height},onload:function(Ge){if(Fe==="center"){var qe={width:Ge.width,height:Ge.height};Ye.setStyle(Y(we,qe))}}});return Ye}function Y(Ee,we){var Fe=we.width/we.height,Ye=Ee.height*Fe,Ge;Ye<=Ee.width?Ge=Ee.height:(Ye=Ee.width,Ge=Ye/Fe);var qe=Ee.x+Ee.width/2,Ke=Ee.y+Ee.height/2;return{x:qe-Ye/2,y:Ke-Ge/2,width:Ye,height:Ge}}var Q=f.mergePath;function he(Ee,we){if(!Ee.applyTransform)return;var Fe=Ee.getBoundingRect(),Ye=Fe.calculateTransform(we);Ee.applyTransform(Ye)}function G(Ee){return _.subPixelOptimizeLine(Ee.shape,Ee.shape,Ee.style),Ee}function ye(Ee){return _.subPixelOptimizeRect(Ee.shape,Ee.shape,Ee.style),Ee}var Ae=_.subPixelOptimize;function ge(Ee){return Ee!=null&&Ee!=="none"}var Pe=g.createHashMap(),Re=0;function rt(Ee){if(typeof Ee!="string")return Ee;var we=Pe.get(Ee);return we||(we=b.lift(Ee,-.1),Re<1e4&&(Pe.set(Ee,we),Re++)),we}function ne(Ee){if(!Ee.__hoverStlDirty)return;Ee.__hoverStlDirty=!1;var we=Ee.__hoverStl;if(!we){Ee.__cachedNormalStl=Ee.__cachedNormalZ2=null;return}var Fe=Ee.__cachedNormalStl={};Ee.__cachedNormalZ2=Ee.z2;var Ye=Ee.style;for(var Ge in we)we[Ge]!=null&&(Fe[Ge]=Ye[Ge]);Fe.fill=Ye.fill,Fe.stroke=Ye.stroke}function be(Ee){var we=Ee.__hoverStl;if(!we||Ee.__highlighted)return;var Fe=Ee.__zr,Ye=Ee.useHoverLayer&&Fe&&Fe.painter.type==="canvas";if(Ee.__highlighted=Ye?"layer":"plain",Ee.isGroup||!Fe&&Ee.useHoverLayer)return;var Ge=Ee,qe=Ee.style;Ye&&(Ge=Fe.addHover(Ee),qe=Ge.style),ot(qe),Ye||ne(Ge),qe.extendFrom(we),at(qe,we,"fill"),at(qe,we,"stroke"),et(qe),Ye||(Ee.dirty(!1),Ee.z2+=L)}function at(Ee,we,Fe){!ge(we[Fe])&&ge(Ee[Fe])&&(Ee[Fe]=rt(Ee[Fe]))}function se(Ee){var we=Ee.__highlighted;if(!we)return;if(Ee.__highlighted=!1,Ee.isGroup)return;if(we==="layer")Ee.__zr&&Ee.__zr.removeHover(Ee);else{var Fe=Ee.style,Ye=Ee.__cachedNormalStl;Ye&&(ot(Fe),Ee.setStyle(Ye),et(Fe));var Ge=Ee.__cachedNormalZ2;Ge!=null&&Ee.z2-Ge===L&&(Ee.z2=Ge)}}function q(Ee,we,Fe){var Ye=U,Ge=U,qe;Ee.__highlighted&&(Ye=F,qe=!0),we(Ee,Fe),Ee.__highlighted&&(Ge=F,qe=!0),Ee.isGroup&&Ee.traverse(function(Ke){!Ke.isGroup&&we(Ke,Fe)}),qe&&Ee.__highDownOnUpdate&&Ee.__highDownOnUpdate(Ye,Ge)}function X(Ee,we){we=Ee.__hoverStl=we!==!1&&(Ee.hoverStyle||we||{}),Ee.__hoverStlDirty=!0,Ee.__highlighted&&(Ee.__cachedNormalStl=null,se(Ee),be(Ee))}function Z(Ee){!fe(this,Ee)&&!this.__highByOuter&&q(this,be)}function pe(Ee){!fe(this,Ee)&&!this.__highByOuter&&q(this,se)}function oe(Ee){this.__highByOuter|=1<<(Ee||0),q(this,be)}function Ie(Ee){!(this.__highByOuter&=~(1<<(Ee||0)))&&q(this,se)}function fe(Ee,we){return Ee.__highDownSilentOnTouch&&we.zrByTouch}function te(Ee,we){J(Ee,!0),q(Ee,X,we)}function J(Ee,we){var Fe=we===!1;if(Ee.__highDownSilentOnTouch=Ee.highDownSilentOnTouch,Ee.__highDownOnUpdate=Ee.highDownOnUpdate,!Fe||Ee.__highDownDispatcher){var Ye=Fe?"off":"on";Ee[Ye]("mouseover",Z)[Ye]("mouseout",pe),Ee[Ye]("emphasis",oe)[Ye]("normal",Ie),Ee.__highByOuter=Ee.__highByOuter||0,Ee.__highDownDispatcher=!Fe}}function ve(Ee){return!!(Ee&&Ee.__highDownDispatcher)}function De(Ee){var we=W[Ee];return we==null&&z<=32&&(we=W[Ee]=z++),we}function ze(Ee,we,Fe,Ye,Ge,qe,Ke){Ge=Ge||O;var ut=Ge.labelFetcher,wt=Ge.labelDataIndex,It=Ge.labelDimIndex,de=Ge.labelProp,xe=Fe.getShallow("show"),$=Ye.getShallow("show"),le;(xe||$)&&(ut&&(le=ut.getFormattedLabel(wt,"normal",null,It,de)),le==null&&(le=g.isFunction(Ge.defaultText)?Ge.defaultText(wt,Ge):Ge.defaultText));var Oe=xe?le:null,ke=$?g.retrieve2(ut?ut.getFormattedLabel(wt,"emphasis",null,It,de):null,le):null;(Oe!=null||ke!=null)&&(Me(Ee,Fe,qe,Ge),Me(we,Ye,Ke,Ge,!0)),Ee.text=Oe,we.text=ke}function dt(Ee,we,Fe){var Ye=Ee.style;we&&(ot(Ye),Ee.setStyle(we),et(Ye)),Ye=Ee.__hoverStl,Fe&&Ye&&(ot(Ye),g.extend(Ye,Fe),et(Ye))}function Me(Ee,we,Fe,Ye,Ge){return je(Ee,we,Ye,Ge),Fe&&g.extend(Ee,Fe),Ee}function Tt(Ee,we,Fe){var Ye={isRectText:!0},Ge;Fe===!1?Ge=!0:Ye.autoColor=Fe,je(Ee,we,Ye,Ge)}function je(Ee,we,Fe,Ye){if(Fe=Fe||O,Fe.isRectText){var Ge;Fe.getTextPosition?Ge=Fe.getTextPosition(we,Ye):(Ge=we.getShallow("position")||(Ye?null:"inside"),Ge==="outside"&&(Ge="top")),Ee.textPosition=Ge,Ee.textOffset=we.getShallow("offset");var qe=we.getShallow("rotate");qe!=null&&(qe*=Math.PI/180),Ee.textRotation=qe,Ee.textDistance=g.retrieve2(we.getShallow("distance"),Ye?null:5)}var Ke=we.ecModel,ut=Ke&&Ke.option.textStyle,wt=st(we),It;if(wt){It={};for(var de in wt)if(wt.hasOwnProperty(de)){var xe=we.getModel(["rich",de]);Xe(It[de]={},xe,ut,Fe,Ye)}}return Ee.rich=It,Xe(Ee,we,ut,Fe,Ye,!0),Fe.forceRich&&!Fe.textStyle&&(Fe.textStyle={}),Ee}function st(Ee){for(var we;Ee&&Ee!==Ee.ecModel;){var Fe=(Ee.option||O).rich;if(Fe){we=we||{};for(var Ye in Fe)Fe.hasOwnProperty(Ye)&&(we[Ye]=1)}Ee=Ee.parentModel}return we}function Xe(Ee,we,Fe,Ye,Ge,qe){Fe=!Ge&&Fe||O,Ee.textFill=Je(we.getShallow("color"),Ye)||Fe.color,Ee.textStroke=Je(we.getShallow("textBorderColor"),Ye)||Fe.textBorderColor,Ee.textStrokeWidth=g.retrieve2(we.getShallow("textBorderWidth"),Fe.textBorderWidth),Ge||(qe&&(Ee.insideRollbackOpt=Ye,et(Ee)),Ee.textFill==null&&(Ee.textFill=Ye.autoColor)),Ee.fontStyle=we.getShallow("fontStyle")||Fe.fontStyle,Ee.fontWeight=we.getShallow("fontWeight")||Fe.fontWeight,Ee.fontSize=we.getShallow("fontSize")||Fe.fontSize,Ee.fontFamily=we.getShallow("fontFamily")||Fe.fontFamily,Ee.textAlign=we.getShallow("align"),Ee.textVerticalAlign=we.getShallow("verticalAlign")||we.getShallow("baseline"),Ee.textLineHeight=we.getShallow("lineHeight"),Ee.textWidth=we.getShallow("width"),Ee.textHeight=we.getShallow("height"),Ee.textTag=we.getShallow("tag"),(!qe||!Ye.disableBox)&&(Ee.textBackgroundColor=Je(we.getShallow("backgroundColor"),Ye),Ee.textPadding=we.getShallow("padding"),Ee.textBorderColor=Je(we.getShallow("borderColor"),Ye),Ee.textBorderWidth=we.getShallow("borderWidth"),Ee.textBorderRadius=we.getShallow("borderRadius"),Ee.textBoxShadowColor=we.getShallow("shadowColor"),Ee.textBoxShadowBlur=we.getShallow("shadowBlur"),Ee.textBoxShadowOffsetX=we.getShallow("shadowOffsetX"),Ee.textBoxShadowOffsetY=we.getShallow("shadowOffsetY")),Ee.textShadowColor=we.getShallow("textShadowColor")||Fe.textShadowColor,Ee.textShadowBlur=we.getShallow("textShadowBlur")||Fe.textShadowBlur,Ee.textShadowOffsetX=we.getShallow("textShadowOffsetX")||Fe.textShadowOffsetX,Ee.textShadowOffsetY=we.getShallow("textShadowOffsetY")||Fe.textShadowOffsetY}function Je(Ee,we){return Ee!=="auto"?Ee:we&&we.autoColor?we.autoColor:null}function et(Ee){var we=Ee.textPosition,Fe=Ee.insideRollbackOpt,Ye;if(Fe&&Ee.textFill==null){var Ge=Fe.autoColor,qe=Fe.isRectText,Ke=Fe.useInsideStyle,ut=Ke!==!1&&(Ke===!0||qe&&we&&typeof we=="string"&&we.indexOf("inside")>=0),wt=!ut&&Ge!=null;(ut||wt)&&(Ye={textFill:Ee.textFill,textStroke:Ee.textStroke,textStrokeWidth:Ee.textStrokeWidth}),ut&&(Ee.textFill="#fff",Ee.textStroke==null&&(Ee.textStroke=Ge,Ee.textStrokeWidth==null&&(Ee.textStrokeWidth=2))),wt&&(Ee.textFill=Ge)}Ee.insideRollback=Ye}function ot(Ee){var we=Ee.insideRollback;we&&(Ee.textFill=we.textFill,Ee.textStroke=we.textStroke,Ee.textStrokeWidth=we.textStrokeWidth,Ee.insideRollback=null)}function Ve(Ee,we){var Fe=we&&we.getModel("textStyle");return g.trim([Ee.fontStyle||Fe&&Fe.getShallow("fontStyle")||"",Ee.fontWeight||Fe&&Fe.getShallow("fontWeight")||"",(Ee.fontSize||Fe&&Fe.getShallow("fontSize")||12)+"px",Ee.fontFamily||Fe&&Fe.getShallow("fontFamily")||"sans-serif"].join(" "))}function ue(Ee,we,Fe,Ye,Ge,qe){typeof Ge=="function"&&(qe=Ge,Ge=null);var Ke=Ye&&Ye.isAnimationEnabled();if(Ke){var ut=Ee?"Update":"",wt=Ye.getShallow("animationDuration"+ut),It=Ye.getShallow("animationEasing"+ut),de=Ye.getShallow("animationDelay"+ut);typeof de=="function"&&(de=de(Ge,Ye.getAnimationDelayParams?Ye.getAnimationDelayParams(we,Ge):null)),typeof wt=="function"&&(wt=wt(Ge)),wt>0?we.animateTo(Fe,wt,de||0,It,qe,!!qe):(we.stopAnimation(),we.attr(Fe),qe&&qe())}else we.stopAnimation(),we.attr(Fe),qe&&qe()}function ae(Ee,we,Fe,Ye,Ge){ue(!0,Ee,we,Fe,Ye,Ge)}function lt(Ee,we,Fe,Ye,Ge){ue(!1,Ee,we,Fe,Ye,Ge)}function Ze(Ee,we){for(var Fe=m.identity([]);Ee&&Ee!==we;)m.mul(Fe,Ee.getLocalTransform(),Fe),Ee=Ee.parent;return Fe}function Te(Ee,we,Fe){return we&&!g.isArrayLike(we)&&(we=u.getLocalTransform(we)),Fe&&(we=m.invert([],we)),y.applyTransform([],Ee,we)}function Jt(Ee,we,Fe){var Ye=we[4]===0||we[5]===0||we[0]===0?1:Math.abs(2*we[4]/we[0]),Ge=we[4]===0||we[5]===0||we[2]===0?1:Math.abs(2*we[4]/we[2]),qe=[Ee==="left"?-Ye:Ee==="right"?Ye:0,Ee==="top"?-Ge:Ee==="bottom"?Ge:0];return qe=Te(qe,we,Fe),Math.abs(qe[0])>Math.abs(qe[1])?qe[0]>0?"right":"left":qe[1]>0?"bottom":"top"}function mt(Ee,we,Fe,Ye){if(!Ee||!we)return;function Ge(ut){var wt={};return ut.traverse(function(It){!It.isGroup&&It.anid&&(wt[It.anid]=It)}),wt}function qe(ut){var wt={position:y.clone(ut.position),rotation:ut.rotation};return ut.shape&&(wt.shape=g.extend({},ut.shape)),wt}var Ke=Ge(Ee);we.traverse(function(ut){if(!ut.isGroup&&ut.anid){var wt=Ke[ut.anid];if(wt){var It=qe(ut);ut.attr(qe(wt)),ae(ut,It,Fe,ut.dataIndex)}}})}function ft(Ee,we){return g.map(Ee,function(Fe){var Ye=Fe[0];Ye=v(Ye,we.x),Ye=S(Ye,we.x+we.width);var Ge=Fe[1];return Ge=v(Ge,we.y),Ge=S(Ge,we.y+we.height),[Ye,Ge]})}function bt(Ee,we){var Fe=v(Ee.x,we.x),Ye=S(Ee.x+Ee.width,we.x+we.width),Ge=v(Ee.y,we.y),qe=S(Ee.y+Ee.height,we.y+we.height);if(Ye>=Fe&&qe>=Ge)return{x:Fe,y:Ge,width:Ye-Fe,height:qe-Ge}}function Lt(Ee,we,Fe){we=g.extend({rectHover:!0},we);var Ye=we.style={strokeNoScale:!0};if(Fe=Fe||{x:-1,y:-1,width:2,height:2},Ee)return Ee.indexOf("image://")===0?(Ye.image=Ee.slice(8),g.defaults(Ye,Fe),new i(we)):V(Ee.replace("path://",""),we,Fe,"center")}function or(Ee,we,Fe,Ye,Ge){for(var qe=0,Ke=Ge[Ge.length-1];qe<Ge.length;qe++){var ut=Ge[qe];if(Bt(Ee,we,Fe,Ye,ut[0],ut[1],Ke[0],Ke[1]))return!0;Ke=ut}}function Bt(Ee,we,Fe,Ye,Ge,qe,Ke,ut){var wt=Fe-Ee,It=Ye-we,de=Ke-Ge,xe=ut-qe,$=_e(de,xe,wt,It);if(Ce($))return!1;var le=Ee-Ge,Oe=we-qe,ke=_e(le,Oe,wt,It)/$;if(ke<0||ke>1)return!1;var Ue=_e(le,Oe,de,xe)/$;return!(Ue<0||Ue>1)}function _e(Ee,we,Fe,Ye){return Ee*Ye-Fe*we}function Ce(Ee){return Ee<=1e-6&&Ee>=-1e-6}k("circle",o),k("sector",d),k("ring",n),k("polygon",l),k("polyline",t),k("rect",s),k("line",c),k("bezierCurve",p),k("arc",A),I.Z2_EMPHASIS_LIFT=L,I.CACHED_LABEL_STYLE_PROPERTIES=M,I.extendShape=H,I.extendPath=j,I.registerShape=k,I.getShapeClass=B,I.makePath=V,I.makeImage=K,I.mergePath=Q,I.resizePath=he,I.subPixelOptimizeLine=G,I.subPixelOptimizeRect=ye,I.subPixelOptimize=Ae,I.setElementHoverStyle=X,I.setHoverStyle=te,I.setAsHighDownDispatcher=J,I.isHighDownDispatcher=ve,I.getHighlightDigit=De,I.setLabelStyle=ze,I.modifyLabelStyle=dt,I.setTextStyle=Me,I.setText=Tt,I.getFont=Ve,I.updateProps=ae,I.initProps=lt,I.getTransform=Ze,I.applyTransform=Te,I.transformDirection=Jt,I.groupTransition=mt,I.clipPointsByRect=ft,I.clipRectByRect=bt,I.createIcon=Lt,I.linePolygonIntersect=or,I.lineLineIntersect=Bt},IyUQ:function(R,I,e){var g=e("bYtY"),f=e("YH21"),b=e("IwbS"),m=e("iLNv"),y=e("fc+c"),h=e("OELB"),u=e("+TT/"),i=e("72pK"),a=b.Rect,r=h.linearMap,o=h.asc,d=g.bind,n=g.each,l=7,t=1,s=30,c="horizontal",p="vertical",A=5,w=["line","bar","candlestick","scatter"],C=y.extend({type:"dataZoom.slider",init:function(_,v){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=v},render:function(_,v,S,O){if(C.superApply(this,"render",arguments),m.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=_.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!O||O.type!=="dataZoom"||O.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){C.superApply(this,"remove",arguments),m.clear(this,"_dispatchZoomAction")},dispose:function(){C.superApply(this,"dispose",arguments),m.clear(this,"_dispatchZoomAction")},_buildView:function(){var _=this.group;_.removeAll(),this._resetLocation(),this._resetInterval();var v=this._displayables.barGroup=new b.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),_.add(v),this._positionGroup()},_resetLocation:function(){var _=this.dataZoomModel,v=this.api,S=this._findCoordRect(),O={width:v.getWidth(),height:v.getHeight()},L=this._orient===c?{right:O.width-S.x-S.width,top:O.height-s-l,width:S.width,height:s}:{right:l,top:S.y,width:s,height:S.height},M=u.getLayoutParams(_.option);g.each(["right","top","width","height"],function(U){M[U]==="ph"&&(M[U]=L[U])});var F=u.getLayoutRect(M,O,_.padding);this._location={x:F.x,y:F.y},this._size=[F.width,F.height],this._orient===p&&this._size.reverse()},_positionGroup:function(){var _=this.group,v=this._location,S=this._orient,O=this.dataZoomModel.getFirstTargetAxisModel(),L=O&&O.get("inverse"),M=this._displayables.barGroup,F=(this._dataShadowInfo||{}).otherAxisInverse;M.attr(S===c&&!L?{scale:F?[1,1]:[1,-1]}:S===c&&L?{scale:F?[-1,1]:[-1,-1]}:S===p&&!L?{scale:F?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:F?[-1,-1]:[-1,1],rotation:Math.PI/2});var U=_.getBoundingRect([M]);_.attr("position",[v.x-U.x,v.y-U.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var _=this.dataZoomModel,v=this._size,S=this._displayables.barGroup;S.add(new a({silent:!0,shape:{x:0,y:0,width:v[0],height:v[1]},style:{fill:_.get("backgroundColor")},z2:-40})),S.add(new a({shape:{x:0,y:0,width:v[0],height:v[1]},style:{fill:"transparent"},z2:0,onclick:g.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var _=this._dataShadowInfo=this._prepareDataShadowInfo();if(!_)return;var v=this._size,S=_.series,O=S.getRawData(),L=S.getShadowDim?S.getShadowDim():_.otherDim;if(L==null)return;var M=O.getDataExtent(L),F=(M[1]-M[0])*.3;M=[M[0]-F,M[1]+F];var U=[0,v[1]],z=[0,v[0]],W=[[v[0],0],[0,0]],N=[],H=z[1]/(O.count()-1),j=0,k=Math.round(O.count()/v[0]),B;O.each([L],function(K,Y){if(k>0&&Y%k){j+=H;return}var Q=K==null||isNaN(K)||K==="",he=Q?0:r(K,M,U,!0);Q&&!B&&Y?(W.push([W[W.length-1][0],0]),N.push([N[N.length-1][0],0])):!Q&&B&&(W.push([j,0]),N.push([j,0])),W.push([j,he]),N.push([j,he]),j+=H,B=Q});var V=this.dataZoomModel;this._displayables.barGroup.add(new b.Polygon({shape:{points:W},style:g.defaults({fill:V.get("dataBackgroundColor")},V.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new b.Polyline({shape:{points:N},style:V.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))},_prepareDataShadowInfo:function(){var _=this.dataZoomModel,v=_.get("showDataShadow");if(v===!1)return;var S,O=this.ecModel;return _.eachTargetAxis(function(L,M){var F=_.getAxisProxy(L.name,M).getTargetSeriesModels();g.each(F,function(U){if(S)return;if(v!==!0&&g.indexOf(w,U.get("type"))<0)return;var z=O.getComponent(L.axis,M).axis,W=x(L.name),N,H=U.coordinateSystem;W!=null&&H.getOtherAxis&&(N=H.getOtherAxis(z).inverse),W=U.getData().mapDimension(W),S={thisAxis:z,series:U,thisDim:L.name,otherDim:W,otherAxisInverse:N}},this)},this),S},_renderHandle:function(){var _=this._displayables,v=_.handles=[],S=_.handleLabels=[],O=this._displayables.barGroup,L=this._size,M=this.dataZoomModel;O.add(_.filler=new a({draggable:!0,cursor:E(this._orient),drift:d(this._onDragMove,this,"all"),ondragstart:d(this._showDataInfo,this,!0),ondragend:d(this._onDragEnd,this),onmouseover:d(this._showDataInfo,this,!0),onmouseout:d(this._showDataInfo,this,!1),style:{fill:M.get("fillerColor"),textPosition:"inside"}})),O.add(new a({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:L[0],height:L[1]},style:{stroke:M.get("dataBackgroundColor")||M.get("borderColor"),lineWidth:t,fill:"rgba(0,0,0,0)"}})),n([0,1],function(F){var U=b.createIcon(M.get("handleIcon"),{cursor:E(this._orient),draggable:!0,drift:d(this._onDragMove,this,F),ondragend:d(this._onDragEnd,this),onmouseover:d(this._showDataInfo,this,!0),onmouseout:d(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),z=U.getBoundingRect();this._handleHeight=h.parsePercent(M.get("handleSize"),this._size[1]),this._handleWidth=z.width/z.height*this._handleHeight,U.setStyle(M.getModel("handleStyle").getItemStyle());var W=M.get("handleColor");W!=null&&(U.style.fill=W),O.add(v[F]=U);var N=M.textStyleModel;this.group.add(S[F]=new b.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:N.getTextColor(),textFont:N.getFont()},z2:10}))},this)},_resetInterval:function(){var _=this._range=this.dataZoomModel.getPercentRange(),v=this._getViewExtent();this._handleEnds=[r(_[0],[0,100],v,!0),r(_[1],[0,100],v,!0)]},_updateInterval:function(_,v){var S=this.dataZoomModel,O=this._handleEnds,L=this._getViewExtent(),M=S.findRepresentativeAxisProxy().getMinMaxSpan(),F=[0,100];i(v,O,L,S.get("zoomLock")?"all":_,M.minSpan!=null?r(M.minSpan,F,L,!0):null,M.maxSpan!=null?r(M.maxSpan,F,L,!0):null);var U=this._range,z=this._range=o([r(O[0],L,F,!0),r(O[1],L,F,!0)]);return!U||U[0]!==z[0]||U[1]!==z[1]},_updateView:function(_){var v=this._displayables,S=this._handleEnds,O=o(S.slice()),L=this._size;n([0,1],function(M){var F=v.handles[M],U=this._handleHeight;F.attr({scale:[U/2,U/2],position:[S[M],L[1]/2-U/2]})},this),v.filler.setShape({x:O[0],y:0,width:O[1]-O[0],height:L[1]}),this._updateDataInfo(_)},_updateDataInfo:function(_){var v=this.dataZoomModel,S=this._displayables,O=S.handleLabels,L=this._orient,M=["",""];if(v.get("showDetail")){var F=v.findRepresentativeAxisProxy();if(F){var U=F.getAxisModel().axis,z=this._range,W=_?F.calculateDataWindow({start:z[0],end:z[1]}).valueWindow:F.getDataValueWindow();M=[this._formatLabel(W[0],U),this._formatLabel(W[1],U)]}}var N=o(this._handleEnds.slice());H.call(this,0),H.call(this,1);function H(j){var k=b.getTransform(S.handles[j].parent,this.group),B=b.transformDirection(j===0?"right":"left",k),V=this._handleWidth/2+A,K=b.applyTransform([N[j]+(j===0?-V:V),this._size[1]/2],k);O[j].setStyle({x:K[0],y:K[1],textVerticalAlign:L===c?"middle":B,textAlign:L===c?B:"center",text:M[j]})}},_formatLabel:function(_,v){var S=this.dataZoomModel,O=S.get("labelFormatter"),L=S.get("labelPrecision");(L==null||L==="auto")&&(L=v.getPixelPrecision());var M=_==null||isNaN(_)?"":v.type==="category"||v.type==="time"?v.scale.getLabel(Math.round(_)):_.toFixed(Math.min(L,20));return g.isFunction(O)?O(_,M):g.isString(O)?O.replace("{value}",M):M},_showDataInfo:function(_){_=this._dragging||_;var v=this._displayables.handleLabels;v[0].attr("invisible",!_),v[1].attr("invisible",!_)},_onDragMove:function(_,v,S,O){this._dragging=!0,f.stop(O.event);var L=this._displayables.barGroup.getLocalTransform(),M=b.applyTransform([v,S],L,!0),F=this._updateInterval(_,M[0]),U=this.dataZoomModel.get("realtime");this._updateView(!U),F&&U&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var _=this.dataZoomModel.get("realtime");!_&&this._dispatchZoomAction()},_onClickPanelClick:function(_){var v=this._size,S=this._displayables.barGroup.transformCoordToLocal(_.offsetX,_.offsetY);if(S[0]<0||S[0]>v[0]||S[1]<0||S[1]>v[1])return;var O=this._handleEnds,L=(O[0]+O[1])/2,M=this._updateInterval("all",S[0]-L);this._updateView(),M&&this._dispatchZoomAction()},_dispatchZoomAction:function(){var _=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:_[0],end:_[1]})},_findCoordRect:function(){var _;if(n(this.getTargetCoordInfo(),function(O){if(!_&&O.length){var L=O[0].model.coordinateSystem;_=L.getRect&&L.getRect()}}),!_){var v=this.api.getWidth(),S=this.api.getHeight();_={x:v*.2,y:S*.2,width:v*.6,height:S*.6}}return _}});function x(_){var v={x:"y",y:"x",radius:"angle",angle:"radius"};return v[_]}function E(_){return _==="vertical"?"ns-resize":"ew-resize"}var T=C;R.exports=T},IzEo:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("lnY3"),m=e.n(b),y=e("Znn+"),h=e("14J3"),u=e("jCWc")},J66h:function(R,I,e){(function(g){var f,b;(function(m,y){R.exports=y(m)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof g!="undefined"?g:this,function(m){"use strict";m=m||{};var y=m.Base64,h="2.6.4",u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=function(U){for(var z={},W=0,N=U.length;W<N;W++)z[U.charAt(W)]=W;return z}(u),a=String.fromCharCode,r=function(z){if(z.length<2){var W=z.charCodeAt(0);return W<128?z:W<2048?a(192|W>>>6)+a(128|W&63):a(224|W>>>12&15)+a(128|W>>>6&63)+a(128|W&63)}else{var W=65536+(z.charCodeAt(0)-55296)*1024+(z.charCodeAt(1)-56320);return a(240|W>>>18&7)+a(128|W>>>12&63)+a(128|W>>>6&63)+a(128|W&63)}},o=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,d=function(z){return z.replace(o,r)},n=function(z){var W=[0,2,1][z.length%3],N=z.charCodeAt(0)<<16|(z.length>1?z.charCodeAt(1):0)<<8|(z.length>2?z.charCodeAt(2):0),H=[u.charAt(N>>>18),u.charAt(N>>>12&63),W>=2?"=":u.charAt(N>>>6&63),W>=1?"=":u.charAt(N&63)];return H.join("")},l=m.btoa&&typeof m.btoa=="function"?function(U){return m.btoa(U)}:function(U){if(U.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return U.replace(/[\s\S]{1,3}/g,n)},t=function(z){return l(d(String(z)))},s=function(z){return z.replace(/[+\/]/g,function(W){return W=="+"?"-":"_"}).replace(/=/g,"")},c=function(z,W){return W?s(t(z)):t(z)},p=function(z){return c(z,!0)},A;m.Uint8Array&&(A=function(z,W){for(var N="",H=0,j=z.length;H<j;H+=3){var k=z[H],B=z[H+1],V=z[H+2],K=k<<16|B<<8|V;N+=u.charAt(K>>>18)+u.charAt(K>>>12&63)+(typeof B!="undefined"?u.charAt(K>>>6&63):"=")+(typeof V!="undefined"?u.charAt(K&63):"=")}return W?s(N):N});var w=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,C=function(z){switch(z.length){case 4:var W=(7&z.charCodeAt(0))<<18|(63&z.charCodeAt(1))<<12|(63&z.charCodeAt(2))<<6|63&z.charCodeAt(3),N=W-65536;return a((N>>>10)+55296)+a((N&1023)+56320);case 3:return a((15&z.charCodeAt(0))<<12|(63&z.charCodeAt(1))<<6|63&z.charCodeAt(2));default:return a((31&z.charCodeAt(0))<<6|63&z.charCodeAt(1))}},x=function(z){return z.replace(w,C)},E=function(z){var W=z.length,N=W%4,H=(W>0?i[z.charAt(0)]<<18:0)|(W>1?i[z.charAt(1)]<<12:0)|(W>2?i[z.charAt(2)]<<6:0)|(W>3?i[z.charAt(3)]:0),j=[a(H>>>16),a(H>>>8&255),a(H&255)];return j.length-=[0,0,2,1][N],j.join("")},T=m.atob&&typeof m.atob=="function"?function(U){return m.atob(U)}:function(U){return U.replace(/\S{1,4}/g,E)},_=function(z){return T(String(z).replace(/[^A-Za-z0-9\+\/]/g,""))},v=function(z){return x(T(z))},S=function(z){return String(z).replace(/[-_]/g,function(W){return W=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},O=function(z){return v(S(z))},L;m.Uint8Array&&(L=function(z){return Uint8Array.from(_(S(z)),function(W){return W.charCodeAt(0)})});var M=function(){var z=m.Base64;return m.Base64=y,z};if(m.Base64={VERSION:h,atob:_,btoa:l,fromBase64:O,toBase64:c,utob:d,encode:c,encodeURI:p,btou:x,decode:O,noConflict:M,fromUint8Array:A,toUint8Array:L},typeof Object.defineProperty=="function"){var F=function(z){return{value:z,enumerable:!1,writable:!0,configurable:!0}};m.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",F(function(){return O(this)})),Object.defineProperty(String.prototype,"toBase64",F(function(U){return c(this,U)})),Object.defineProperty(String.prototype,"toBase64URI",F(function(){return c(this,!0)}))}}return m.Meteor&&(Base64=m.Base64),R.exports?R.exports.Base64=m.Base64:!(f=[],b=function(){return m.Base64}.apply(I,f),b!==void 0&&(R.exports=b)),{Base64:m.Base64}})}).call(this,e("yLpj"))},JEkh:function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("ProS"),m=e("bYtY"),y=e("ItGF"),h=e("4NO4"),u=e("7aKB"),i=e("OKJ2"),a=u.addCommas,r=u.encodeHTML;function o(l){h.defaultEmphasis(l,"label",["show"])}var d=b.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(l,t,s){this.mergeDefaultAndTheme(l,s),this._mergeOption(l,s,!1,!0)},isAnimationEnabled:function(){if(y.node)return!1;var l=this.__hostSeries;return this.getShallow("animation")&&l&&l.isAnimationEnabled()},mergeOption:function(l,t){this._mergeOption(l,t,!1,!1)},_mergeOption:function(l,t,s,c){var p=this.constructor,A=this.mainType+"Model";s||t.eachSeries(function(w){var C=w.get(this.mainType,!0),x=w[A];if(!C||!C.data){w[A]=null;return}x?x._mergeOption(C,t,!0):(c&&o(C),m.each(C.data,function(E){E instanceof Array?(o(E[0]),o(E[1])):o(E)}),x=new p(C,this,t),m.extend(x,{mainType:this.mainType,seriesIndex:w.seriesIndex,name:w.name,createdBySelf:!0}),x.__hostSeries=w),w[A]=x},this)},formatTooltip:function(l){var t=this.getData(),s=this.getRawValue(l),c=m.isArray(s)?m.map(s,a).join(", "):a(s),p=t.getName(l),A=r(this.name);return(s!=null||p)&&(A+="<br />"),p&&(A+=r(p),s!=null&&(A+=" : ")),s!=null&&(A+=r(c)),A},getData:function(){return this._data},setData:function(l){this._data=l}});m.mixin(d,i);var n=d;R.exports=n},JGo8:function(R,I,e){},JHRd:function(R,I,e){var g=e("Kz5y"),f=g.Uint8Array;R.exports=f},JHgL:function(R,I,e){var g=e("QkVE");function f(b){return g(this,b).get(b)}R.exports=f},JLnu:function(R,I,e){var g=e("+TT/"),f=e("OELB"),b=f.parsePercent,m=f.linearMap;function y(a,r){return g.getLayoutRect(a.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})}function h(a,r){for(var o=a.mapDimension("value"),d=a.mapArray(o,function(c){return c}),n=[],l=r==="ascending",t=0,s=a.count();t<s;t++)n[t]=t;return typeof r=="function"?n.sort(r):r!=="none"&&n.sort(function(c,p){return l?d[c]-d[p]:d[p]-d[c]}),n}function u(a){a.each(function(r){var o=a.getItemModel(r),d=o.getModel("label"),n=d.get("position"),l=o.getModel("labelLine"),t=a.getItemLayout(r),s=t.points,c=n==="inner"||n==="inside"||n==="center"||n==="insideLeft"||n==="insideRight",p,A,w,C;if(c)n==="insideLeft"?(A=(s[0][0]+s[3][0])/2+5,w=(s[0][1]+s[3][1])/2,p="left"):n==="insideRight"?(A=(s[1][0]+s[2][0])/2-5,w=(s[1][1]+s[2][1])/2,p="right"):(A=(s[0][0]+s[1][0]+s[2][0]+s[3][0])/4,w=(s[0][1]+s[1][1]+s[2][1]+s[3][1])/4,p="center"),C=[[A,w],[A,w]];else{var x,E,T,_=l.get("length");n==="left"?(x=(s[3][0]+s[0][0])/2,E=(s[3][1]+s[0][1])/2,T=x-_,A=T-5,p="right"):n==="right"?(x=(s[1][0]+s[2][0])/2,E=(s[1][1]+s[2][1])/2,T=x+_,A=T+5,p="left"):n==="rightTop"?(x=s[1][0],E=s[1][1],T=x+_,A=T+5,p="top"):n==="rightBottom"?(x=s[2][0],E=s[2][1],T=x+_,A=T+5,p="bottom"):n==="leftTop"?(x=s[0][0],E=s[1][1],T=x-_,A=T-5,p="right"):n==="leftBottom"?(x=s[3][0],E=s[2][1],T=x-_,A=T-5,p="right"):(x=(s[1][0]+s[2][0])/2,E=(s[1][1]+s[2][1])/2,T=x+_,A=T+5,p="left");var v=E;C=[[x,E],[T,v]],w=v}t.label={linePoints:C,x:A,y:w,verticalAlign:"middle",textAlign:p,inside:c}})}function i(a,r,o){a.eachSeriesByType("funnel",function(d){var n=d.getData(),l=n.mapDimension("value"),t=d.get("sort"),s=y(d,r),c=h(n,t),p=[b(d.get("minSize"),s.width),b(d.get("maxSize"),s.width)],A=n.getDataExtent(l),w=d.get("min"),C=d.get("max");w==null&&(w=Math.min(A[0],0)),C==null&&(C=A[1]);var x=d.get("funnelAlign"),E=d.get("gap"),T=(s.height-E*(n.count()-1))/n.count(),_=s.y,v=function(W,N){var H=n.get(l,W)||0,j=m(H,[w,C],p,!0),k;switch(x){case"left":k=s.x;break;case"center":k=s.x+(s.width-j)/2;break;case"right":k=s.x+s.width-j;break}return[[k,N],[k+j,N]]};t==="ascending"&&(T=-T,E=-E,_+=s.height,c=c.reverse());for(var S=0;S<c.length;S++){var O=c[S],L=c[S+1],M=n.getItemModel(O),F=M.get("itemStyle.height");F==null?F=T:(F=b(F,s.height),t==="ascending"&&(F=-F));var U=v(O,_),z=v(L,_+F);_+=F+E,n.setItemLayout(O,{points:U.concat(z.slice().reverse())})}u(n)})}R.exports=i},JSQU:function(R,I,e){var g=e("YESw"),f="__lodash_hash_undefined__";function b(m,y){var h=this.__data__;return this.size+=this.has(m)?0:1,h[m]=g&&y===void 0?f:y,this}R.exports=b},JSwD:function(R,I,e){"use strict";function g(s){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(p){return typeof p}:g=function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},g(s)}Object.defineProperty(I,"__esModule",{value:!0}),I.default=t;var f=m(e("6BzB"));function b(){if(typeof WeakMap!="function")return null;var s=new WeakMap;return b=function(){return s},s}function m(s){if(s&&s.__esModule)return s;if(s===null||g(s)!=="object"&&typeof s!="function")return{default:s};var c=b();if(c&&c.has(s))return c.get(s);var p={},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in s)if(Object.prototype.hasOwnProperty.call(s,w)){var C=A?Object.getOwnPropertyDescriptor(s,w):null;C&&(C.get||C.set)?Object.defineProperty(p,w,C):p[w]=s[w]}return p.default=s,c&&c.set(s,p),p}var y=15,h=852,u=592,i=0,a=1,r=2,o=[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],d=[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],n=[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],l=[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];function t(s,c,p,A,w,C,x,E){var T=E.bits,_=0,v=0,S=0,O=0,L=0,M=0,F=0,U=0,z=0,W=0,N,H,j,k,B,V=null,K=0,Y,Q=new f.Buf16(y+1),he=new f.Buf16(y+1),G=null,ye=0,Ae,ge,Pe;for(_=0;_<=y;_++)Q[_]=0;for(v=0;v<A;v++)Q[c[p+v]]++;for(L=T,O=y;O>=1&&!(Q[O]!==0);O--);if(L>O&&(L=O),O===0)return w[C++]=1<<24|64<<16|0,w[C++]=1<<24|64<<16|0,E.bits=1,0;for(S=1;S<O&&!(Q[S]!==0);S++);for(L<S&&(L=S),U=1,_=1;_<=y;_++)if(U<<=1,U-=Q[_],U<0)return-1;if(U>0&&(s===i||O!==1))return-1;for(he[1]=0,_=1;_<y;_++)he[_+1]=he[_]+Q[_];for(v=0;v<A;v++)c[p+v]!==0&&(x[he[c[p+v]]++]=v);if(s===i?(V=G=x,Y=19):s===a?(V=o,K-=257,G=d,ye-=257,Y=256):(V=n,G=l,Y=-1),W=0,v=0,_=S,B=C,M=L,F=0,j=-1,z=1<<L,k=z-1,s===a&&z>h||s===r&&z>u)return 1;for(;;){Ae=_-F,x[v]<Y?(ge=0,Pe=x[v]):x[v]>Y?(ge=G[ye+x[v]],Pe=V[K+x[v]]):(ge=32+64,Pe=0),N=1<<_-F,H=1<<M,S=H;do H-=N,w[B+(W>>F)+H]=Ae<<24|ge<<16|Pe|0;while(H!==0);for(N=1<<_-1;W&N;)N>>=1;if(N!==0?(W&=N-1,W+=N):W=0,v++,--Q[_]===0){if(_===O)break;_=c[p+x[v]]}if(_>L&&(W&k)!==j){for(F===0&&(F=L),B+=S,M=_-F,U=1<<M;M+F<O&&!(U-=Q[M+F],U<=0);)M++,U<<=1;if(z+=1<<M,s===a&&z>h||s===r&&z>u)return 1;j=W&k,w[j]=L<<24|M<<16|B-C|0}}return W!==0&&(w[B+W]=_-F<<24|64<<16|0),E.bits=L,0}},JTzB:function(R,I,e){var g=e("NykK"),f=e("ExA7"),b="[object Arguments]";function m(y){return f(y)&&g(y)==b}R.exports=m},JVwQ:function(R,I,e){var g=e("ProS"),f=e("1NG9"),b=f.Polygon,m=e("IwbS"),y=e("bYtY"),h=y.bind,u=y.extend,i=e("gPAo"),a=g.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(o,d,n){var l=o.getData(),t=this.group,s=o.getLayerSeries(),c=l.getLayout("layoutInfo"),p=c.rect,A=c.boundaryGap;t.attr("position",[0,p.y+A[0]]);function w(T){return T.name}var C=new i(this._layersSeries||[],s,w,w),x={};C.add(h(E,this,"add")).update(h(E,this,"update")).remove(h(E,this,"remove")).execute();function E(T,_,v){var S=this._layers;if(T==="remove"){t.remove(S[_]);return}for(var O=[],L=[],M,F=s[_].indices,U=0;U<F.length;U++){var z=l.getItemLayout(F[U]),W=z.x,N=z.y0,H=z.y;O.push([W,N]),L.push([W,N+H]),M=l.getItemVisual(F[U],"color")}var j,k,B=l.getItemLayout(F[0]),V=l.getItemModel(F[U-1]),K=V.getModel("label"),Y=K.get("margin");if(T==="add"){var Q=x[_]=new m.Group;j=new b({shape:{points:O,stackedOnPoints:L,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),k=new m.Text({style:{x:B.x-Y,y:B.y0+B.y/2}}),Q.add(j),Q.add(k),t.add(Q),j.setClipPath(r(j.getBoundingRect(),o,function(){j.removeClipPath()}))}else{var Q=S[v];j=Q.childAt(0),k=Q.childAt(1),t.add(Q),x[_]=Q,m.updateProps(j,{shape:{points:O,stackedOnPoints:L}},o),m.updateProps(k,{style:{x:B.x-Y,y:B.y0+B.y/2}},o)}var he=V.getModel("emphasis.itemStyle"),G=V.getModel("itemStyle");m.setTextStyle(k.style,K,{text:K.get("show")?o.getFormattedLabel(F[U-1],"normal")||l.getName(F[U-1]):null,textVerticalAlign:"middle"}),j.setStyle(u({fill:M},G.getItemStyle(["color"]))),m.setHoverStyle(j,he.getItemStyle())}this._layersSeries=s,this._layers=x},dispose:function(){}});function r(o,d,n){var l=new m.Rect({shape:{x:o.x-10,y:o.y-10,width:0,height:o.height+20}});return m.initProps(l,{shape:{width:o.width+20,height:o.height+20}},d,n),l}R.exports=a},JgUQ:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};I.default=g},JsLm:function(R,I,e){"use strict";var g=e("pVnL"),f=e.n(g),b=e("lSNA"),m=e.n(b),y=e("lwsE"),h=e.n(y),u=e("W8MJ"),i=e.n(u),a=e("PJYZ"),r=e.n(a),o=e("7W2i"),d=e.n(o),n=e("LQ03"),l=e.n(n),t=e("q1tI"),s=e("i8i4"),c=e("TSYQ"),p=e.n(c),A=e("zT1h"),w=e("cDf5"),C=e.n(w),x=e("BGR+"),E=e("t23M"),T=e("H84U"),_=e("PEeC");function v(Re){return Re!==window?Re.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function S(Re,rt,ne){return ne!==void 0&&rt.top>Re.top-ne?ne+rt.top:void 0}function O(Re,rt,ne){if(ne!==void 0&&rt.bottom<Re.bottom+ne){var be=window.innerHeight-rt.bottom;return ne+be}return}var L=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],M=[];function F(){return M}function U(Re,rt){if(!Re)return;var ne=M.find(function(be){return be.target===Re});ne?ne.affixList.push(rt):(ne={target:Re,affixList:[rt],eventHandlers:{}},M.push(ne),L.forEach(function(be){ne.eventHandlers[be]=Object(A.a)(Re,be,function(){ne.affixList.forEach(function(at){at.lazyUpdatePosition()})})}))}function z(Re){var rt=M.find(function(ne){var be=ne.affixList.some(function(at){return at===Re});return be&&(ne.affixList=ne.affixList.filter(function(at){return at!==Re})),be});rt&&rt.affixList.length===0&&(M=M.filter(function(ne){return ne!==rt}),L.forEach(function(ne){var be=rt.eventHandlers[ne];be&&be.remove&&be.remove()}))}var W=function(Re,rt,ne,be){var at=arguments.length,se=at<3?rt:be===null?be=Object.getOwnPropertyDescriptor(rt,ne):be,q;if((typeof Reflect=="undefined"?"undefined":C()(Reflect))==="object"&&typeof Reflect.decorate=="function")se=Reflect.decorate(Re,rt,ne,be);else for(var X=Re.length-1;X>=0;X--)(q=Re[X])&&(se=(at<3?q(se):at>3?q(rt,ne,se):q(rt,ne))||se);return at>3&&se&&Object.defineProperty(rt,ne,se),se};function N(){return typeof window!="undefined"?window:null}var H;(function(Re){Re[Re.None=0]="None",Re[Re.Prepare=1]="Prepare"})(H||(H={}));var j=function(Re){d()(ne,Re);var rt=l()(ne);function ne(){var be;return h()(this,ne),be=rt.apply(this,arguments),be.state={status:H.None,lastAffix:!1,prevTarget:null},be.getOffsetTop=function(){var at=be.props.offsetBottom,se=be.props.offsetTop;return at===void 0&&se===void 0&&(se=0),se},be.getOffsetBottom=function(){return be.props.offsetBottom},be.savePlaceholderNode=function(at){be.placeholderNode=at},be.saveFixedNode=function(at){be.fixedNode=at},be.measure=function(){var at=be.state,se=at.status,q=at.lastAffix,X=be.props.onChange,Z=be.getTargetFunc();if(se!==H.Prepare||!be.fixedNode||!be.placeholderNode||!Z)return;var pe=be.getOffsetTop(),oe=be.getOffsetBottom(),Ie=Z();if(!Ie)return;var fe={status:H.None},te=v(Ie),J=v(be.placeholderNode),ve=S(J,te,pe),De=O(J,te,oe);ve!==void 0?(fe.affixStyle={position:"fixed",top:ve,width:J.width,height:J.height},fe.placeholderStyle={width:J.width,height:J.height}):De!==void 0&&(fe.affixStyle={position:"fixed",bottom:De,width:J.width,height:J.height},fe.placeholderStyle={width:J.width,height:J.height}),fe.lastAffix=!!fe.affixStyle,X&&q!==fe.lastAffix&&X(fe.lastAffix),be.setState(fe)},be.prepareMeasure=function(){if(be.setState({status:H.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var at},be.render=function(){var at=be.context.getPrefixCls,se=be.state,q=se.affixStyle,X=se.placeholderStyle,Z=be.props,pe=Z.prefixCls,oe=Z.children,Ie=p()(m()({},at("affix",pe),q)),fe=Object(x.default)(be.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return t.createElement(E.a,{onResize:function(){be.updatePosition()}},t.createElement("div",f()({},fe,{ref:be.savePlaceholderNode}),q&&t.createElement("div",{style:X,"aria-hidden":"true"}),t.createElement("div",{className:Ie,ref:be.saveFixedNode,style:q},t.createElement(E.a,{onResize:function(){be.updatePosition()}},oe))))},be}return i()(ne,[{key:"getTargetFunc",value:function(){var at=this.context.getTargetContainer,se=this.props.target;return se!==void 0?se:at||N}},{key:"componentDidMount",value:function(){var at=this,se=this.getTargetFunc();se&&(this.timeout=setTimeout(function(){U(se(),at),at.updatePosition()}))}},{key:"componentDidUpdate",value:function(at){var se=this.state.prevTarget,q=this.getTargetFunc(),X=null;q&&(X=q()||null),se!==X&&(z(this),X&&(U(X,this),this.updatePosition()),this.setState({prevTarget:X})),(at.offsetTop!==this.props.offsetTop||at.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),z(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var at=this.getTargetFunc(),se=this.state.affixStyle;if(at&&se){var q=this.getOffsetTop(),X=this.getOffsetBottom(),Z=at();if(Z&&this.placeholderNode){var pe=v(Z),oe=v(this.placeholderNode),Ie=S(oe,pe,q),fe=O(oe,pe,X);if(Ie!==void 0&&se.top===Ie||fe!==void 0&&se.bottom===fe)return}}this.prepareMeasure()}}]),ne}(t.Component);j.contextType=T.b,W([Object(_.b)()],j.prototype,"updatePosition",null),W([Object(_.b)()],j.prototype,"lazyUpdatePosition",null);var k=j,B=e("zAh6"),V=e("i6bk"),K=t.createContext(null),Y=K;function Q(){return window}function he(Re,rt){if(!Re.getClientRects().length)return 0;var ne=Re.getBoundingClientRect();return ne.width||ne.height?rt===window?(rt=Re.ownerDocument.documentElement,ne.top-rt.clientTop):ne.top-rt.getBoundingClientRect().top:ne.top}var G=/#(\S+)$/,ye=function(Re){d()(ne,Re);var rt=l()(ne);function ne(){var be;return h()(this,ne),be=rt.apply(this,arguments),be.state={activeLink:null},be.links=[],be.registerLink=function(at){be.links.includes(at)||be.links.push(at)},be.unregisterLink=function(at){var se=be.links.indexOf(at);se!==-1&&be.links.splice(se,1)},be.getContainer=function(){var at=be.context.getTargetContainer,se=be.props.getContainer,q=se||at||Q;return q()},be.handleScrollTo=function(at){var se=be.props,q=se.offsetTop,X=se.targetOffset;be.setCurrentActiveLink(at);var Z=be.getContainer(),pe=Object(V.a)(Z,!0),oe=G.exec(at);if(!oe)return;var Ie=document.getElementById(oe[1]);if(!Ie)return;var fe=he(Ie,Z),te=pe+fe;te-=X!==void 0?X:q||0,be.animating=!0,Object(B.a)(te,{callback:function(){be.animating=!1},getContainer:be.getContainer})},be.saveInkNode=function(at){be.inkNode=at},be.setCurrentActiveLink=function(at){var se=be.state.activeLink,q=be.props.onChange;se!==at&&(be.setState({activeLink:at}),q&&q(at))},be.handleScroll=function(){if(be.animating)return;var at=be.props,se=at.offsetTop,q=at.bounds,X=at.targetOffset,Z=be.getCurrentAnchor(X!==void 0?X:se||0,q);be.setCurrentActiveLink(Z)},be.updateInk=function(){var at=r()(be),se=at.prefixCls,q=s.findDOMNode(r()(be)),X=q.getElementsByClassName("".concat(se,"-link-title-active"))[0];X&&(be.inkNode.style.top="".concat(X.offsetTop+X.clientHeight/2-4.5,"px"))},be.render=function(){var at=be.context,se=at.getPrefixCls,q=at.direction,X=be.props,Z=X.prefixCls,pe=X.className,oe=pe===void 0?"":pe,Ie=X.style,fe=X.offsetTop,te=X.affix,J=X.showInkInFixed,ve=X.children,De=be.state.activeLink,ze=se("anchor",Z);be.prefixCls=ze;var dt=p()("".concat(ze,"-ink-ball"),{visible:De}),Me=p()(oe,"".concat(ze,"-wrapper"),m()({},"".concat(ze,"-rtl"),q==="rtl")),Tt=p()(ze,{fixed:!te&&!J}),je=f()({maxHeight:fe?"calc(100vh - ".concat(fe,"px)"):"100vh"},Ie),st=t.createElement("div",{className:Me,style:je},t.createElement("div",{className:Tt},t.createElement("div",{className:"".concat(ze,"-ink")},t.createElement("span",{className:dt,ref:be.saveInkNode})),ve));return t.createElement(Y.Provider,{value:{registerLink:be.registerLink,unregisterLink:be.unregisterLink,activeLink:be.state.activeLink,scrollTo:be.handleScrollTo,onClick:be.props.onClick}},te?t.createElement(k,{offsetTop:fe,target:be.getContainer},st):st)},be}return i()(ne,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(A.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var at=this.getContainer();this.scrollContainer!==at&&(this.scrollContainer=at,this.scrollEvent.remove(),this.scrollEvent=Object(A.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,q=this.props.getCurrentAnchor;if(typeof q=="function")return q();var X=[],Z=this.getContainer();if(this.links.forEach(function(oe){var Ie=G.exec(oe.toString());if(!Ie)return;var fe=document.getElementById(Ie[1]);if(fe){var te=he(fe,Z);te<at+se&&X.push({link:oe,top:te})}}),X.length){var pe=X.reduce(function(oe,Ie){return Ie.top>oe.top?Ie:oe});return pe.link}return""}}]),ne}(t.Component);ye.defaultProps={affix:!0,showInkInFixed:!1},ye.contextType=T.b;var Ae=function(Re){d()(ne,Re);var rt=l()(ne);function ne(){var be;return h()(this,ne),be=rt.apply(this,arguments),be.handleClick=function(at){var se=be.context,q=se.scrollTo,X=se.onClick,Z=be.props,pe=Z.href,oe=Z.title;X&&X(at,{title:oe,href:pe}),q(pe)},be.renderAnchorLink=function(at){var se=at.getPrefixCls,q=be.props,X=q.prefixCls,Z=q.href,pe=q.title,oe=q.children,Ie=q.className,fe=q.target,te=se("anchor",X),J=be.context.activeLink===Z,ve=p()(Ie,"".concat(te,"-link"),m()({},"".concat(te,"-link-active"),J)),De=p()("".concat(te,"-link-title"),m()({},"".concat(te,"-link-title-active"),J));return t.createElement("div",{className:ve},t.createElement("a",{className:De,href:Z,title:typeof pe=="string"?pe:"",target:fe,onClick:be.handleClick},pe),oe)},be}return i()(ne,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(at){var se=at.href,q=this.props.href;se!==q&&(this.context.unregisterLink(se),this.context.registerLink(q))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return t.createElement(T.a,null,this.renderAnchorLink)}}]),ne}(t.Component);Ae.defaultProps={href:"#"},Ae.contextType=Y;var ge=Ae;ye.Link=ge;var Pe=I.a=ye},JuEJ:function(R,I,e){var g=e("bYtY"),f=e("4NO4"),b=g.each,m=g.isObject,y=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function h(t){var s=t&&t.itemStyle;if(!s)return;for(var c=0,p=y.length;c<p;c++){var A=y[c],w=s.normal,C=s.emphasis;w&&w[A]&&(t[A]=t[A]||{},t[A].normal?g.merge(t[A].normal,w[A]):t[A].normal=w[A],w[A]=null),C&&C[A]&&(t[A]=t[A]||{},t[A].emphasis?g.merge(t[A].emphasis,C[A]):t[A].emphasis=C[A],C[A]=null)}}function u(t,s,c){if(t&&t[s]&&(t[s].normal||t[s].emphasis)){var p=t[s].normal,A=t[s].emphasis;p&&(c?(t[s].normal=t[s].emphasis=null,g.defaults(t[s],p)):t[s]=p),A&&(t.emphasis=t.emphasis||{},t.emphasis[s]=A)}}function i(t){u(t,"itemStyle"),u(t,"lineStyle"),u(t,"areaStyle"),u(t,"label"),u(t,"labelLine"),u(t,"upperLabel"),u(t,"edgeLabel")}function a(t,s){var c=m(t)&&t[s],p=m(c)&&c.textStyle;if(p)for(var A=0,w=f.TEXT_STYLE_OPTIONS.length;A<w;A++){var s=f.TEXT_STYLE_OPTIONS[A];p.hasOwnProperty(s)&&(c[s]=p[s])}}function r(t){t&&(i(t),a(t,"label"),t.emphasis&&a(t.emphasis,"label"))}function o(t){if(!m(t))return;h(t),i(t),a(t,"label"),a(t,"upperLabel"),a(t,"edgeLabel"),t.emphasis&&(a(t.emphasis,"label"),a(t.emphasis,"upperLabel"),a(t.emphasis,"edgeLabel"));var s=t.markPoint;s&&(h(s),r(s));var c=t.markLine;c&&(h(c),r(c));var p=t.markArea;p&&r(p);var A=t.data;if(t.type==="graph"){A=A||t.nodes;var w=t.links||t.edges;if(w&&!g.isTypedArray(w))for(var C=0;C<w.length;C++)r(w[C]);g.each(t.categories,function(T){i(T)})}if(A&&!g.isTypedArray(A))for(var C=0;C<A.length;C++)r(A[C]);var s=t.markPoint;if(s&&s.data)for(var x=s.data,C=0;C<x.length;C++)r(x[C]);var c=t.markLine;if(c&&c.data)for(var E=c.data,C=0;C<E.length;C++)g.isArray(E[C])?(r(E[C][0]),r(E[C][1])):r(E[C]);t.type==="gauge"?(a(t,"axisLabel"),a(t,"title"),a(t,"detail")):t.type==="treemap"?(u(t.breadcrumb,"itemStyle"),g.each(t.levels,function(T){i(T)})):t.type==="tree"&&i(t.leaves)}function d(t){return g.isArray(t)?t:t?[t]:[]}function n(t){return(g.isArray(t)?t[0]:t)||{}}function l(t,s){b(d(t.series),function(p){m(p)&&o(p)});var c=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];s&&c.push("valueAxis","categoryAxis","logAxis","timeAxis"),b(c,function(p){b(d(t[p]),function(A){A&&(a(A,"axisLabel"),a(A.axisPointer,"label"))})}),b(d(t.parallel),function(p){var A=p&&p.parallelAxisDefault;a(A,"axisLabel"),a(A&&A.axisPointer,"label")}),b(d(t.calendar),function(p){u(p,"itemStyle"),a(p,"dayLabel"),a(p,"monthLabel"),a(p,"yearLabel")}),b(d(t.radar),function(p){a(p,"name")}),b(d(t.geo),function(p){m(p)&&(r(p),b(d(p.regions),function(A){r(A)}))}),b(d(t.timeline),function(p){r(p),u(p,"label"),u(p,"itemStyle"),u(p,"controlStyle",!0);var A=p.data;g.isArray(A)&&g.each(A,function(w){g.isObject(w)&&(u(w,"label"),u(w,"itemStyle"))})}),b(d(t.toolbox),function(p){u(p,"iconStyle"),b(p.feature,function(A){u(A,"iconStyle")})}),a(n(t.axisPointer),"label"),a(n(t.tooltip).axisPointer,"label")}R.exports=l},K2GJ:function(R,I,e){var g=e("fW2E"),f=e("gut8"),b=f.ContextCachedBy,m=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],y=function(n){this.extendFrom(n,!1)};function h(d,n,l){var t=n.x==null?0:n.x,s=n.x2==null?1:n.x2,c=n.y==null?0:n.y,p=n.y2==null?0:n.y2;n.global||(t=t*l.width+l.x,s=s*l.width+l.x,c=c*l.height+l.y,p=p*l.height+l.y),t=isNaN(t)?0:t,s=isNaN(s)?1:s,c=isNaN(c)?0:c,p=isNaN(p)?0:p;var A=d.createLinearGradient(t,c,s,p);return A}function u(d,n,l){var t=l.width,s=l.height,c=Math.min(t,s),p=n.x==null?.5:n.x,A=n.y==null?.5:n.y,w=n.r==null?.5:n.r;n.global||(p=p*t+l.x,A=A*s+l.y,w=w*c);var C=d.createRadialGradient(p,A,0,p,A,w);return C}y.prototype={constructor:y,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(n,l,t){var s=this,c=t&&t.style,p=!c||n.__attrCachedBy!==b.STYLE_BIND;n.__attrCachedBy=b.STYLE_BIND;for(var A=0;A<m.length;A++){var w=m[A],C=w[0];(p||s[C]!==c[C])&&(n[C]=g(n,C,s[C]||w[1]))}if((p||s.fill!==c.fill)&&(n.fillStyle=s.fill),(p||s.stroke!==c.stroke)&&(n.strokeStyle=s.stroke),(p||s.opacity!==c.opacity)&&(n.globalAlpha=s.opacity==null?1:s.opacity),(p||s.blend!==c.blend)&&(n.globalCompositeOperation=s.blend||"source-over"),this.hasStroke()){var x=s.lineWidth;n.lineWidth=x/(this.strokeNoScale&&l&&l.getLineScale?l.getLineScale():1)}},hasFill:function(){var n=this.fill;return n!=null&&n!=="none"},hasStroke:function(){var n=this.stroke;return n!=null&&n!=="none"&&this.lineWidth>0},extendFrom:function(n,l){if(n)for(var t in n)n.hasOwnProperty(t)&&(l===!0||(l===!1?!this.hasOwnProperty(t):n[t]!=null))&&(this[t]=n[t])},set:function(n,l){typeof n=="string"?this[n]=l:this.extendFrom(n,!0)},clone:function(){var n=new this.constructor;return n.extendFrom(this,!0),n},getGradient:function(n,l,t){for(var s=l.type==="radial"?u:h,c=s(n,l,t),p=l.colorStops,A=0;A<p.length;A++)c.addColorStop(p[A].offset,p[A].color);return c}};for(var i=y.prototype,a=0;a<m.length;a++){var r=m[a];r[0]in i||(i[r[0]]=r[1])}y.getGradient=i.getGradient;var o=y;R.exports=o},K4ya:function(R,I,e){var g=e("bYtY"),f=e("XxSj"),b=g.each;function m(a){if(a){for(var r in a)if(a.hasOwnProperty(r))return!0}}function y(a,r,o){var d={};return b(r,function(l){var t=d[l]=n();b(a[l],function(s,c){if(!f.isValidType(c))return;var p={type:c,visual:s};o&&o(p,l),t[c]=new f(p),c==="opacity"&&(p=g.clone(p),p.type="colorAlpha",t.__hidden.__alphaForOpacity=new f(p))})}),d;function n(){var l=function(){};l.prototype.__hidden=l.prototype;var t=new l;return t}}function h(a,r,o){var d;g.each(o,function(n){r.hasOwnProperty(n)&&m(r[n])&&(d=!0)}),d&&g.each(o,function(n){r.hasOwnProperty(n)&&m(r[n])?a[n]=g.clone(r[n]):delete a[n]})}function u(a,r,o,d,n,l){var t={};g.each(a,function(w){var C=f.prepareVisualTypes(r[w]);t[w]=C});var s;function c(w){return o.getItemVisual(s,w)}function p(w,C){o.setItemVisual(s,w,C)}l==null?o.each(A):o.each([l],A);function A(w,C){s=l==null?w:C;var x=o.getRawDataItem(s);if(x&&x.visualMap===!1)return;for(var E=d.call(n,w),T=r[E],_=t[E],v=0,S=_.length;v<S;v++){var O=_[v];T[O]&&T[O].applyVisual(w,c,p)}}}function i(a,r,o,d){var n={};g.each(a,function(t){var s=f.prepareVisualTypes(r[t]);n[t]=s});function l(t,s){d!=null&&(d=s.getDimension(d));function c(O){return s.getItemVisual(A,O)}function p(O,L){s.setItemVisual(A,O,L)}for(var A;(A=t.next())!=null;){var w=s.getRawDataItem(A);if(w&&w.visualMap===!1)continue;for(var C=d!=null?s.get(d,A,!0):A,x=o(C),E=r[x],T=n[x],_=0,v=T.length;_<v;_++){var S=T[_];E[S]&&E[S].applyVisual(C,c,p)}}}return{progress:l}}I.createVisualMappings=y,I.replaceVisualOption=h,I.applyVisual=u,I.incrementalApplyVisual=i},KCsZ:function(R,I,e){var g=e("bYtY");function f(b){for(var m=0;m<b.length;m++)b[m][1]||(b[m][1]=b[m][0]);return function(y,h,u){for(var i={},a=0;a<b.length;a++){var r=b[a][1];if(h&&g.indexOf(h,r)>=0||u&&g.indexOf(u,r)<0)continue;var o=y.getShallow(r);o!=null&&(i[b[a][0]]=o)}return i}}R.exports=f},KMkd:function(R,I){function e(){this.__data__=[],this.size=0}R.exports=e},KPFz:function(R,I,e){},KQeH:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};I.default=g},KS52:function(R,I,e){var g=e("OELB"),f=g.parsePercent,b=g.linearMap,m=e("+TT/"),y=e("u3DP"),h=e("bYtY"),u=Math.PI*2,i=Math.PI/180;function a(o,d){return m.getLayoutRect(o.getBoxLayoutParams(),{width:d.getWidth(),height:d.getHeight()})}function r(o,d,n,l){d.eachSeriesByType(o,function(t){var s=t.getData(),c=s.mapDimension("value"),p=a(t,n),A=t.get("center"),w=t.get("radius");h.isArray(w)||(w=[0,w]),h.isArray(A)||(A=[A,A]);var C=f(p.width,n.getWidth()),x=f(p.height,n.getHeight()),E=Math.min(C,x),T=f(A[0],C)+p.x,_=f(A[1],x)+p.y,v=f(w[0],E/2),S=f(w[1],E/2),O=-t.get("startAngle")*i,L=t.get("minAngle")*i,M=0;s.each(c,function(Y){!isNaN(Y)&&M++});var F=s.getSum(c),U=Math.PI/(F||M)*2,z=t.get("clockwise"),W=t.get("roseType"),N=t.get("stillShowZeroSum"),H=s.getDataExtent(c);H[0]=0;var j=u,k=0,B=O,V=z?1:-1;if(s.each(c,function(Y,Q){var he;if(isNaN(Y)){s.setItemLayout(Q,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:z,cx:T,cy:_,r0:v,r:W?NaN:S,viewRect:p});return}W!=="area"?he=F===0&&N?U:Y*U:he=u/M,he<L?(he=L,j-=L):k+=Y;var G=B+V*he;s.setItemLayout(Q,{angle:he,startAngle:B,endAngle:G,clockwise:z,cx:T,cy:_,r0:v,r:W?b(Y,H,[v,S]):S,viewRect:p}),B=G}),j<u&&M)if(j<=.001){var K=u/M;s.each(c,function(Y,Q){if(!isNaN(Y)){var he=s.getItemLayout(Q);he.angle=K,he.startAngle=O+V*Q*K,he.endAngle=O+V*(Q+1)*K}})}else U=j/k,B=O,s.each(c,function(Y,Q){if(!isNaN(Y)){var he=s.getItemLayout(Q),G=he.angle===L?L:Y*U;he.startAngle=B,he.endAngle=B+V*G,B+=V*G}});y(t,S,p.width,p.height,p.x,p.y)})}R.exports=r},KUOm:function(R,I){function e(g){var f={};g.eachSeriesByType("graph",function(b){var m=b.getCategoriesData(),y=b.getData(),h={};m.each(function(u){var i=m.getName(u);h["ec-"+i]=u;var a=m.getItemModel(u),r=a.get("itemStyle.color")||b.getColorFromPalette(i,f);m.setItemVisual(u,"color",r);for(var o=["opacity","symbol","symbolSize","symbolKeepAspect"],d=0;d<o.length;d++){var n=a.getShallow(o[d],!0);n!=null&&m.setItemVisual(u,o[d],n)}}),m.count()&&y.each(function(u){var i=y.getItemModel(u),a=i.getShallow("category");if(a!=null){typeof a=="string"&&(a=h["ec-"+a]);for(var r=["color","opacity","symbol","symbolSize","symbolKeepAspect"],o=0;o<r.length;o++)y.getItemVisual(u,r[o],!0)==null&&y.setItemVisual(u,r[o],m.getItemVisual(a,r[o]))}})})}R.exports=e},Kagy:function(R,I){var e={legend:{selector:{all:"\u5168\u9009",inverse:"\u53CD\u9009"}},toolbox:{brush:{title:{rect:"\u77E9\u5F62\u9009\u62E9",polygon:"\u5708\u9009",lineX:"\u6A2A\u5411\u9009\u62E9",lineY:"\u7EB5\u5411\u9009\u62E9",keep:"\u4FDD\u6301\u9009\u62E9",clear:"\u6E05\u9664\u9009\u62E9"}},dataView:{title:"\u6570\u636E\u89C6\u56FE",lang:["\u6570\u636E\u89C6\u56FE","\u5173\u95ED","\u5237\u65B0"]},dataZoom:{title:{zoom:"\u533A\u57DF\u7F29\u653E",back:"\u533A\u57DF\u7F29\u653E\u8FD8\u539F"}},magicType:{title:{line:"\u5207\u6362\u4E3A\u6298\u7EBF\u56FE",bar:"\u5207\u6362\u4E3A\u67F1\u72B6\u56FE",stack:"\u5207\u6362\u4E3A\u5806\u53E0",tiled:"\u5207\u6362\u4E3A\u5E73\u94FA"}},restore:{title:"\u8FD8\u539F"},saveAsImage:{title:"\u4FDD\u5B58\u4E3A\u56FE\u7247",lang:["\u53F3\u952E\u53E6\u5B58\u4E3A\u56FE\u7247"]}},series:{typeNames:{pie:"\u997C\u56FE",bar:"\u67F1\u72B6\u56FE",line:"\u6298\u7EBF\u56FE",scatter:"\u6563\u70B9\u56FE",effectScatter:"\u6D9F\u6F2A\u6563\u70B9\u56FE",radar:"\u96F7\u8FBE\u56FE",tree:"\u6811\u56FE",treemap:"\u77E9\u5F62\u6811\u56FE",boxplot:"\u7BB1\u578B\u56FE",candlestick:"K\u7EBF\u56FE",k:"K\u7EBF\u56FE",heatmap:"\u70ED\u529B\u56FE",map:"\u5730\u56FE",parallel:"\u5E73\u884C\u5750\u6807\u56FE",lines:"\u7EBF\u56FE",graph:"\u5173\u7CFB\u56FE",sankey:"\u6851\u57FA\u56FE",funnel:"\u6F0F\u6597\u56FE",gauge:"\u4EEA\u8868\u76D8\u56FE",pictorialBar:"\u8C61\u5F62\u67F1\u56FE",themeRiver:"\u4E3B\u9898\u6CB3\u6D41\u56FE",sunburst:"\u65ED\u65E5\u56FE"}},aria:{general:{withTitle:"\u8FD9\u662F\u4E00\u4E2A\u5173\u4E8E\u201C{title}\u201D\u7684\u56FE\u8868\u3002",withoutTitle:"\u8FD9\u662F\u4E00\u4E2A\u56FE\u8868\uFF0C"},series:{single:{prefix:"",withName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\uFF0C\u8868\u793A{seriesName}\u3002",withoutName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\u3002"},multiple:{prefix:"\u5B83\u7531{seriesCount}\u4E2A\u56FE\u8868\u7CFB\u5217\u7EC4\u6210\u3002",withName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A\u8868\u793A{seriesName}\u7684{seriesType}\uFF0C",withoutName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A{seriesType}\uFF0C",separator:{middle:"\uFF1B",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636E\u662F\u2014\u2014",partialData:"\u5176\u4E2D\uFF0C\u524D{displayCnt}\u9879\u662F\u2014\u2014",withName:"{name}\u7684\u6570\u636E\u662F{value}",withoutName:"{value}",separator:{middle:"\uFF0C",end:""}}}};R.exports=e},KamJ:function(R,I,e){var g=e("ProS"),f=e("szbU");e("vF/C"),e("qwVE"),e("BuqR"),e("AE9C"),e("1u/T"),g.registerPreprocessor(f)},KmBX:function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("CP8R")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="FilterFilled";var u=b.forwardRef(h);I.default=u},"KpQ+":function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("E/ki")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="ClockCircleOutlined";var u=b.forwardRef(h);I.default=u},KrTs:function(R,I,e){"use strict";var g=e("lSNA"),f=e.n(g),b=e("cDf5"),m=e.n(b),y=e("pVnL"),h=e.n(y),u=e("q1tI"),i=e("UmKh"),a=e("TSYQ"),r=e.n(a),o=e("J4zp"),d=e.n(o),n=e("H84U"),l=e("0n0R"),t=function(S,O){var L={};for(var M in S)Object.prototype.hasOwnProperty.call(S,M)&&O.indexOf(M)<0&&(L[M]=S[M]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,M=Object.getOwnPropertySymbols(S);F<M.length;F++)O.indexOf(M[F])<0&&Object.prototype.propertyIsEnumerable.call(S,M[F])&&(L[M[F]]=S[M[F]]);return L};function s(S){return S?S.toString().split("").reverse().map(function(O){var L=Number(O);return isNaN(L)?O:L}):[]}function c(S,O){for(var L=[],M=0;M<30;M++)L.push(u.createElement("p",{key:M.toString(),className:r()(O,{current:S===M})},M%10));return L}var p=function(O){var L=O.prefixCls,M=O.count,F=O.className,U=O.style,z=O.title,W=O.component,N=W===void 0?"sup":W,H=O.displayComponent,j=O.onAnimated,k=j===void 0?function(){}:j,B=t(O,["prefixCls","count","className","style","title","component","displayComponent","onAnimated"]),V=u.useState(!0),K=d()(V,2),Y=K[0],Q=K[1],he=u.useState(M),G=d()(he,2),ye=G[0],Ae=G[1],ge=u.useState(M),Pe=d()(ge,2),Re=Pe[0],rt=Pe[1],ne=u.useState(M),be=d()(ne,2),at=be[0],se=be[1],q=u.useContext(n.b),X=q.getPrefixCls,Z=X("scroll-number",L);Re!==M&&(Q(!0),rt(M)),u.useEffect(function(){se(ye);var te;return Y&&(te=setTimeout(function(){Q(!1),Ae(M),k()})),function(){te&&clearTimeout(te)}},[Y,M,k]);var pe=function(J,ve){var De=Math.abs(Number(ye)),ze=Math.abs(Number(at)),dt=Math.abs(s(ye)[ve]),Me=Math.abs(s(ze)[ve]);return Y?10+J:De>ze?dt>=Me?10+J:20+J:dt<=Me?10+J:J},oe=function(J,ve){if(typeof J=="number"){var De=pe(J,ve),ze=Y||s(at)[ve]===void 0;return u.createElement("span",{className:"".concat(Z,"-only"),style:{transition:ze?"none":void 0,msTransform:"translateY(".concat(-De*100,"%)"),WebkitTransform:"translateY(".concat(-De*100,"%)"),transform:"translateY(".concat(-De*100,"%)")},key:ve},c(De,"".concat(Z,"-only-unit")))}return u.createElement("span",{key:"symbol",className:"".concat(Z,"-symbol")},J)},Ie=function(){return ye&&Number(ye)%1===0?s(ye).map(function(J,ve){return oe(J,ve)}).reverse():ye},fe=h()(h()({},B),{style:U,className:r()(Z,F),title:z});return U&&U.borderColor&&(fe.style=h()(h()({},U),{boxShadow:"0 0 0 1px ".concat(U.borderColor," inset")})),H?Object(l.a)(H,{className:r()("".concat(Z,"-custom-component"),H.props&&H.props.className)}):u.createElement(N,fe,Ie())},A=p,w=e("09Wf");function C(S){return w.a.indexOf(S)!==-1}var x=function(O){var L,M=O.className,F=O.prefixCls,U=O.style,z=O.color,W=O.children,N=O.text,H=O.placement,j=H===void 0?"end":H,k=u.useContext(n.b),B=k.getPrefixCls,V=k.direction,K=B("ribbon",F),Y=C(z),Q=r()(K,M,"".concat(K,"-placement-").concat(j),(L={},f()(L,"".concat(K,"-rtl"),V==="rtl"),f()(L,"".concat(K,"-color-").concat(z),Y),L)),he={},G={};return z&&!Y&&(he.background=z,G.color=z),u.createElement("div",{className:"".concat(K,"-wrapper")},W,u.createElement("div",{className:Q,style:h()(h()({},he),U)},N,u.createElement("div",{className:"".concat(K,"-corner"),style:G})))},E=x,T=function(S,O){var L={};for(var M in S)Object.prototype.hasOwnProperty.call(S,M)&&O.indexOf(M)<0&&(L[M]=S[M]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,M=Object.getOwnPropertySymbols(S);F<M.length;F++)O.indexOf(M[F])<0&&Object.prototype.propertyIsEnumerable.call(S,M[F])&&(L[M[F]]=S[M[F]]);return L},_=function(O){var L,M,F=O.prefixCls,U=O.scrollNumberPrefixCls,z=O.children,W=O.status,N=O.text,H=O.color,j=O.count,k=j===void 0?null:j,B=O.overflowCount,V=B===void 0?99:B,K=O.dot,Y=K===void 0?!1:K,Q=O.size,he=Q===void 0?"default":Q,G=O.title,ye=O.offset,Ae=O.style,ge=O.className,Pe=O.showZero,Re=Pe===void 0?!1:Pe,rt=T(O,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),ne=u.useContext(n.b),be=ne.getPrefixCls,at=ne.direction,se=be("badge",F),q=function(){var Xe=k>V?"".concat(V,"+"):k;return Xe},X=function(){return!!W||!!H},Z=function(){var Xe=q();return Xe==="0"||Xe===0},pe=function(){return Y&&!Z()||X()},oe=function(){return pe()?"":q()},Ie=function(){return G||(typeof k=="string"||typeof k=="number"?k:void 0)},fe=function(){return at==="rtl"?ye?h()({left:parseInt(ye[0],10),marginTop:ye[1]},Ae):Ae:ye?h()({right:-parseInt(ye[0],10),marginTop:ye[1]},Ae):Ae},te=function(){var Xe=oe(),Je=Xe==null||Xe==="";return(Je||Z()&&!Re)&&!pe()},J=function(){var Xe=te();return Xe||!N?null:u.createElement("span",{className:"".concat(se,"-status-text")},N)},ve=function(){var Xe=k;return!Xe||m()(Xe)!=="object"?void 0:Object(l.a)(Xe,{style:h()(h()({},fe()),Xe.props&&Xe.props.style)})},De=function(){var Xe,Je=be("scroll-number",U),et=oe(),ot=pe(),Ve=te(),ue=r()((Xe={},f()(Xe,"".concat(se,"-dot"),ot),f()(Xe,"".concat(se,"-count"),!ot),f()(Xe,"".concat(se,"-count-sm"),he==="small"),f()(Xe,"".concat(se,"-multiple-words"),!ot&&k&&k.toString&&k.toString().length>1),f()(Xe,"".concat(se,"-status-").concat(W),!!W),f()(Xe,"".concat(se,"-status-").concat(H),C(H)),Xe)),ae=fe();return H&&!C(H)&&(ae=ae||{},ae.background=H),Ve?null:u.createElement(A,{prefixCls:Je,"data-show":!Ve,className:ue,count:et,displayComponent:ve(),title:Ie(),style:ae,key:"scrollNumber"})},ze=r()((L={},f()(L,"".concat(se,"-status-dot"),X()),f()(L,"".concat(se,"-status-").concat(W),!!W),f()(L,"".concat(se,"-status-").concat(H),C(H)),L)),dt={};H&&!C(H)&&(dt.background=H);var Me=r()(ge,se,(M={},f()(M,"".concat(se,"-status"),X()),f()(M,"".concat(se,"-not-a-wrapper"),!z),f()(M,"".concat(se,"-rtl"),at==="rtl"),M));if(!z&&X()){var Tt=fe(),je=Tt&&Tt.color;return u.createElement("span",h()({},rt,{className:Me,style:Tt}),u.createElement("span",{className:ze,style:dt}),u.createElement("span",{style:{color:je},className:"".concat(se,"-status-text")},N))}return u.createElement("span",h()({},rt,{className:Me}),z,u.createElement(i.a,{component:"",showProp:"data-show",transitionName:z?"".concat(se,"-zoom"):"",transitionAppear:!0},De()),J())};_.Ribbon=E;var v=I.a=_},Kvyg:function(R,I,e){},KxBF:function(R,I){function e(g,f,b){var m=-1,y=g.length;f<0&&(f=-f>y?0:y+f),b=b>y?y:b,b<0&&(b+=y),y=f>b?0:b-f>>>0,f>>>=0;for(var h=Array(y);++m<y;)h[m]=g[m+f];return h}R.exports=e},KxFI:function(R,I,e){},KxfA:function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("bYtY"),m=b.isTypedArray,y=b.extend,h=b.assert,u=b.each,i=b.isObject,a=e("4NO4"),r=a.getDataItemValue,o=a.isDataItemOption,d=e("OELB"),n=d.parseDate,l=e("7G+c"),t=e("k9D9"),s=t.SOURCE_FORMAT_TYPED_ARRAY,c=t.SOURCE_FORMAT_ARRAY_ROWS,p=t.SOURCE_FORMAT_ORIGINAL,A=t.SOURCE_FORMAT_OBJECT_ROWS;function w(z,W){l.isInstance(z)||(z=l.seriesDataToSource(z)),this._source=z;var N=this._data=z.data,H=z.sourceFormat;H===s&&(this._offset=0,this._dimSize=W,this._data=N);var j=x[H===c?H+"_"+z.seriesLayoutBy:H];y(this,j)}var C=w.prototype;C.pure=!1,C.persistent=!0,C.getSource=function(){return this._source};var x={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(z){return this._data[z+this._source.startIndex]},appendData:_},arrayRows_row:{pure:!0,count:function(){var z=this._data[0];return z?Math.max(0,z.length-this._source.startIndex):0},getItem:function(z){z+=this._source.startIndex;for(var W=[],N=this._data,H=0;H<N.length;H++){var j=N[H];W.push(j?j[z]:null)}return W},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:E,getItem:T,appendData:_},keyedColumns:{pure:!0,count:function(){var z=this._source.dimensionsDefine[0].name,W=this._data[z];return W?W.length:0},getItem:function(z){for(var W=[],N=this._source.dimensionsDefine,H=0;H<N.length;H++){var j=this._data[N[H].name];W.push(j?j[z]:null)}return W},appendData:function(z){var W=this._data;u(z,function(N,H){for(var j=W[H]||(W[H]=[]),k=0;k<(N||[]).length;k++)j.push(N[k])})}},original:{count:E,getItem:T,appendData:_},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(z,W){z=z-this._offset,W=W||[];for(var N=this._dimSize*z,H=0;H<this._dimSize;H++)W[H]=this._data[N+H];return W},appendData:function(z){this._data=z},clean:function(){this._offset+=this.count(),this._data=null}}};function E(){return this._data.length}function T(z){return this._data[z]}function _(z){for(var W=0;W<z.length;W++)this._data.push(z[W])}var v={arrayRows:S,objectRows:function(z,W,N,H){return N!=null?z[H]:z},keyedColumns:S,original:function(z,W,N,H){var j=r(z);return N==null||!(j instanceof Array)?j:j[N]},typedArray:S};function S(z,W,N,H){return N!=null?z[N]:z}var O={arrayRows:L,objectRows:function(z,W,N,H){return M(z[W],this._dimensionInfos[W])},keyedColumns:L,original:function(z,W,N,H){var j=z&&(z.value==null?z:z.value);return!this._rawData.pure&&o(z)&&(this.hasItemOption=!0),M(j instanceof Array?j[H]:j,this._dimensionInfos[W])},typedArray:function(z,W,N,H){return z[H]}};function L(z,W,N,H){return M(z[H],this._dimensionInfos[W])}function M(z,W){var N=W&&W.type;if(N==="ordinal"){var H=W&&W.ordinalMeta;return H?H.parseAndCollect(z):z}return N==="time"&&typeof z!="number"&&z!=null&&z!=="-"&&(z=+n(z)),z==null||z===""?NaN:+z}function F(z,W,N){if(!z)return;var H=z.getRawDataItem(W);if(H==null)return;var j=z.getProvider().getSource().sourceFormat,k,B,V=z.getDimensionInfo(N);return V&&(k=V.name,B=V.index),v[j](H,W,B,k)}function U(z,W,N){if(!z)return;var H=z.getProvider().getSource().sourceFormat;if(H!==p&&H!==A)return;var j=z.getRawDataItem(W);if(H===p&&!i(j)&&(j=null),j)return j[N]}I.DefaultDataProvider=w,I.defaultDimValueGetters=O,I.retrieveRawValue=F,I.retrieveRawAttr=U},L0Ub:function(R,I,e){var g=e("bYtY"),f=g.each,b=g.createHashMap,m=g.assert,y=e("Tghj"),h=y.__DEV__,u=b(["tooltip","label","itemName","itemId","seriesName"]);function i(d){var n={},l=n.encode={},t=b(),s=[],c=[],p=n.userOutput={dimensionNames:d.dimensions.slice(),encode:{}};f(d.dimensions,function(E){var T=d.getDimensionInfo(E),_=T.coordDim;if(_){var v=T.coordDimIndex;a(l,_)[v]=E,T.isExtraCoord||(t.set(_,1),o(T.type)&&(s[0]=E),a(p.encode,_)[v]=T.index),T.defaultTooltip&&c.push(E)}u.each(function(S,O){var L=a(l,O),M=T.otherDims[O];M!=null&&M!==!1&&(L[M]=T.name)})});var A=[],w={};t.each(function(E,T){var _=l[T];w[T]=_[0],A=A.concat(_)}),n.dataDimsOnCoord=A,n.encodeFirstDimNotExtra=w;var C=l.label;C&&C.length&&(s=C.slice());var x=l.tooltip;return x&&x.length?c=x.slice():c.length||(c=s.slice()),l.defaultedLabel=s,l.defaultedTooltip=c,n}function a(d,n){return d.hasOwnProperty(n)||(d[n]=[]),d[n]}function r(d){return d==="category"?"ordinal":d==="time"?"time":"float"}function o(d){return!(d==="ordinal"||d==="time")}I.OTHER_DIMENSIONS=u,I.summarizeDimensions=i,I.getDimensionTypeByAxis=r},L3Oj:function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("HjIi");e("HM/N"),e("9eas"),e("eS4l"),e("y4/Y"),e("as94"),g.registerLayout(f.curry(b,"bar")),g.extendComponentView({type:"polar"})},L5E0:function(R,I){var e=["itemStyle","borderColor"];function g(f,b){var m=f.get("color");f.eachRawSeriesByType("boxplot",function(y){var h=m[y.seriesIndex%m.length],u=y.getData();u.setVisual({legendSymbol:"roundRect",color:y.get(e)||h}),f.isSeriesFiltered(y)||u.each(function(i){var a=u.getItemModel(i);u.setItemVisual(i,{color:a.get(e,!0)})})})}R.exports=g},L8xA:function(R,I){function e(g){var f=this.__data__,b=f.delete(g);return this.size=f.size,b}R.exports=e},LBfv:function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=f.createHashMap,m=f.each;g.registerProcessor({getTargetSeries:function(y){var h=b();return y.eachComponent("dataZoom",function(u){u.eachTargetAxis(function(i,a,r){var o=r.getAxisProxy(i.name,a);m(o.getTargetSeriesModels(),function(d){h.set(d.uid,d)})})}),h},modifyOutputEnd:!0,overallReset:function(y,h){y.eachComponent("dataZoom",function(u){u.eachTargetAxis(function(i,a,r){r.getAxisProxy(i.name,a).reset(r,h)}),u.eachTargetAxis(function(i,a,r){r.getAxisProxy(i.name,a).filterData(r,h)})}),y.eachComponent("dataZoom",function(u){var i=u.findRepresentativeAxisProxy(),a=i.getDataPercentWindow(),r=i.getDataValueWindow();u.setCalculatedRange({start:a[0],end:a[1],startValue:r[0],endValue:r[1]})})}})},LCi9:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;function g(w,C){if(!(w instanceof C))throw new TypeError("Cannot call a class as a function")}function f(w,C){for(var x=0;x<C.length;x++){var E=C[x];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(w,E.key,E)}}function b(w,C,x){return C&&f(w.prototype,C),x&&f(w,x),w}var m=0,y=1,h=2,u=4,i=8,a=16,r=32,o=64,d=127,n=50,l=90,t=250,s=1e3,c=1e3,p=50,A=function(){function w(){g(this,w),this._target=null,this._state=d,this._tracked=[],this._ignored=[],this._waitingRelease=!1,this._releaseStart=0,this._longpressTimeoutId=null,this._twoTouchTimeoutId=null,this._boundEventHandler=this._eventHandler.bind(this)}return b(w,[{key:"attach",value:function(x){this.detach(),this._target=x,this._target.addEventListener("touchstart",this._boundEventHandler),this._target.addEventListener("touchmove",this._boundEventHandler),this._target.addEventListener("touchend",this._boundEventHandler),this._target.addEventListener("touchcancel",this._boundEventHandler)}},{key:"detach",value:function(){if(!this._target)return;this._stopLongpressTimeout(),this._stopTwoTouchTimeout(),this._target.removeEventListener("touchstart",this._boundEventHandler),this._target.removeEventListener("touchmove",this._boundEventHandler),this._target.removeEventListener("touchend",this._boundEventHandler),this._target.removeEventListener("touchcancel",this._boundEventHandler),this._target=null}},{key:"_eventHandler",value:function(x){var E;x.stopPropagation(),x.preventDefault();switch(x.type){case"touchstart":E=this._touchStart;break;case"touchmove":E=this._touchMove;break;case"touchend":case"touchcancel":E=this._touchEnd;break}for(var T=0;T<x.changedTouches.length;T++){var _=x.changedTouches[T];E.call(this,_.identifier,_.clientX,_.clientY)}}},{key:"_touchStart",value:function(x,E,T){if(this._hasDetectedGesture()||this._state===m){this._ignored.push(x);return}if(this._tracked.length>0&&Date.now()-this._tracked[0].started>t){this._state=m,this._ignored.push(x);return}if(this._waitingRelease){this._state=m,this._ignored.push(x);return}this._tracked.push({id:x,started:Date.now(),active:!0,firstX:E,firstY:T,lastX:E,lastY:T,angle:0});switch(this._tracked.length){case 1:this._startLongpressTimeout();break;case 2:this._state&=~(y|i|a),this._stopLongpressTimeout();break;case 3:this._state&=~(h|r|o);break;default:this._state=m}}},{key:"_touchMove",value:function(x,E,T){var _=this._tracked.find(function(F){return F.id===x});if(_===void 0)return;_.lastX=E,_.lastY=T;var v=E-_.firstX,S=T-_.firstY;if((_.firstX!==_.lastX||_.firstY!==_.lastY)&&(_.angle=Math.atan2(S,v)*180/Math.PI),!this._hasDetectedGesture()){if(Math.hypot(v,S)<n)return;if(this._state&=~(y|h|u|a),this._stopLongpressTimeout(),this._tracked.length!==1&&(this._state&=~i),this._tracked.length!==2&&(this._state&=~(r|o)),this._tracked.length===2){var O=this._tracked.find(function(F){return F.id!==x}),L=Math.hypot(O.firstX-O.lastX,O.firstY-O.lastY);if(L>n){var M=Math.abs(_.angle-O.angle);M=Math.abs((M+180)%360-180),M>l?this._state&=~r:this._state&=~o,this._isTwoTouchTimeoutRunning()&&this._stopTwoTouchTimeout()}else this._isTwoTouchTimeoutRunning()||this._startTwoTouchTimeout()}if(!this._hasDetectedGesture())return;this._pushEvent("gesturestart")}this._pushEvent("gesturemove")}},{key:"_touchEnd",value:function(x,E,T){if(this._ignored.indexOf(x)!==-1){this._ignored.splice(this._ignored.indexOf(x),1),this._ignored.length===0&&this._tracked.length===0&&(this._state=d,this._waitingRelease=!1);return}if(!this._hasDetectedGesture()&&this._isTwoTouchTimeoutRunning()&&(this._stopTwoTouchTimeout(),this._state=m),!this._hasDetectedGesture()&&(this._state&=~(i|r|o),this._state&=~a,this._stopLongpressTimeout(),!this._waitingRelease)){this._releaseStart=Date.now(),this._waitingRelease=!0;switch(this._tracked.length){case 1:this._state&=~(h|u);break;case 2:this._state&=~(y|u);break}}if(this._waitingRelease){Date.now()-this._releaseStart>t&&(this._state=m),this._tracked.some(function(S){return Date.now()-S.started>s})&&(this._state=m);var _=this._tracked.find(function(S){return S.id===x});if(_.active=!1,this._hasDetectedGesture())this._pushEvent("gesturestart");else if(this._state!==m)return}this._hasDetectedGesture()&&this._pushEvent("gestureend");for(var v=0;v<this._tracked.length;v++)this._tracked[v].active&&this._ignored.push(this._tracked[v].id);this._tracked=[],this._state=m,this._ignored.indexOf(x)!==-1&&this._ignored.splice(this._ignored.indexOf(x),1),this._ignored.length===0&&(this._state=d,this._waitingRelease=!1)}},{key:"_hasDetectedGesture",value:function(){return this._state===m||this._state&this._state-1?!1:!(this._state&(y|h|u)&&this._tracked.some(function(x){return x.active}))}},{key:"_startLongpressTimeout",value:function(){var x=this;this._stopLongpressTimeout(),this._longpressTimeoutId=setTimeout(function(){return x._longpressTimeout()},c)}},{key:"_stopLongpressTimeout",value:function(){clearTimeout(this._longpressTimeoutId),this._longpressTimeoutId=null}},{key:"_longpressTimeout",value:function(){if(this._hasDetectedGesture())throw new Error("A longpress gesture failed, conflict with a different gesture");this._state=a,this._pushEvent("gesturestart")}},{key:"_startTwoTouchTimeout",value:function(){var x=this;this._stopTwoTouchTimeout(),this._twoTouchTimeoutId=setTimeout(function(){return x._twoTouchTimeout()},p)}},{key:"_stopTwoTouchTimeout",value:function(){clearTimeout(this._twoTouchTimeoutId),this._twoTouchTimeoutId=null}},{key:"_isTwoTouchTimeoutRunning",value:function(){return this._twoTouchTimeoutId!==null}},{key:"_twoTouchTimeout",value:function(){if(this._tracked.length===0)throw new Error("A pinch or two drag gesture failed, no tracked touches");var x=this._getAverageMovement(),E=Math.abs(x.x),T=Math.abs(x.y),_=this._getAverageDistance(),v=Math.abs(Math.hypot(_.first.x,_.first.y)-Math.hypot(_.last.x,_.last.y));T<v&&E<v?this._state=o:this._state=r,this._pushEvent("gesturestart"),this._pushEvent("gesturemove")}},{key:"_pushEvent",value:function(x){var E={type:this._stateToGesture(this._state)},T=this._getPosition(),_=T.last;x==="gesturestart"&&(_=T.first);switch(this._state){case r:case o:_=T.first;break}if(E.clientX=_.x,E.clientY=_.y,this._state===o){var v=this._getAverageDistance();x==="gesturestart"?(E.magnitudeX=v.first.x,E.magnitudeY=v.first.y):(E.magnitudeX=v.last.x,E.magnitudeY=v.last.y)}else if(this._state===r)if(x==="gesturestart")E.magnitudeX=0,E.magnitudeY=0;else{var S=this._getAverageMovement();E.magnitudeX=S.x,E.magnitudeY=S.y}var O=new CustomEvent(x,{detail:E});this._target.dispatchEvent(O)}},{key:"_stateToGesture",value:function(x){switch(x){case y:return"onetap";case h:return"twotap";case u:return"threetap";case i:return"drag";case a:return"longpress";case r:return"twodrag";case o:return"pinch"}throw new Error("Unknown gesture state: "+x)}},{key:"_getPosition",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture position, no tracked touches");for(var x=this._tracked.length,E=0,T=0,_=0,v=0,S=0;S<this._tracked.length;S++)E+=this._tracked[S].firstX,T+=this._tracked[S].firstY,_+=this._tracked[S].lastX,v+=this._tracked[S].lastY;return{first:{x:E/x,y:T/x},last:{x:_/x,y:v/x}}}},{key:"_getAverageMovement",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture movement, no tracked touches");var x,E;x=E=0;for(var T=this._tracked.length,_=0;_<this._tracked.length;_++)x+=this._tracked[_].lastX-this._tracked[_].firstX,E+=this._tracked[_].lastY-this._tracked[_].firstY;return{x:x/T,y:E/T}}},{key:"_getAverageDistance",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture distance, no tracked touches");var x=this._tracked[0],E=this._tracked[this._tracked.length-1],T=Math.abs(E.firstX-x.firstX),_=Math.abs(E.firstY-x.firstY),v=Math.abs(E.lastX-x.lastX),S=Math.abs(E.lastY-x.lastY);return{first:{x:T,y:_},last:{x:v,y:S}}}}]),w}();I.default=A},LPTA:function(R,I){var e=1;typeof window!="undefined"&&(e=Math.max(window.devicePixelRatio||1,1));var g=0,f=e;I.debugMode=g,I.devicePixelRatio=f},LPzL:function(R,I,e){var g=e("ProS");e("QzjZ"),e("vL6D"),e("xiyX"),e("y4/Y"),e("8Th4"),g.extendComponentView({type:"single"})},LSTS:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g=function(){function d(n,l){for(var t=0;t<l.length;t++){var s=l[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(n,s.key,s)}}return function(n,l,t){return l&&d(n.prototype,l),t&&d(n,t),n}}(),f=e("q1tI"),b=h(f),m=e("17x9"),y=h(m);function h(d){return d&&d.__esModule?d:{default:d}}function u(d,n){var l={};for(var t in d){if(n.indexOf(t)>=0)continue;if(!Object.prototype.hasOwnProperty.call(d,t))continue;l[t]=d[t]}return l}function i(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}function a(d,n){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:d}function r(d,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);d.prototype=Object.create(n&&n.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(d,n):d.__proto__=n)}var o=function(d){r(n,d);function n(l){i(this,n);var t=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,l));return t.scrollListener=t.scrollListener.bind(t),t.eventListenerOptions=t.eventListenerOptions.bind(t),t.mousewheelListener=t.mousewheelListener.bind(t),t}return g(n,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var t=this.getParentElement(this.scrollComponent);t.scrollTop=t.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var t=!1,s={get passive(){t=!0}};try{document.addEventListener("test",null,s),document.removeEventListener("test",null,s)}catch(c){}return t}},{key:"eventListenerOptions",value:function(){var t=this.props.useCapture;return this.isPassiveSupported()&&(t={useCapture:this.props.useCapture,passive:!0}),t}},{key:"setDefaultLoader",value:function(t){this.defaultLoader=t}},{key:"detachMousewheelListener",value:function(){var t=window;this.props.useWindow===!1&&(t=this.scrollComponent.parentNode),t.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var t=window;this.props.useWindow===!1&&(t=this.getParentElement(this.scrollComponent)),t.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),t.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(t){var s=this.props.getScrollParent&&this.props.getScrollParent();return s!=null?s:t&&t.parentNode}},{key:"filterProps",value:function(t){return t}},{key:"attachScrollListener",value:function(){var t=this.getParentElement(this.scrollComponent);if(!this.props.hasMore||!t)return;var s=window;this.props.useWindow===!1&&(s=t),s.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),s.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),s.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}},{key:"mousewheelListener",value:function(t){t.deltaY===1&&!this.isPassiveSupported()&&t.preventDefault()}},{key:"scrollListener",value:function(){var t=this.scrollComponent,s=window,c=this.getParentElement(t),p=void 0;if(this.props.useWindow){var A=document.documentElement||document.body.parentNode||document.body,w=s.pageYOffset!==void 0?s.pageYOffset:A.scrollTop;this.props.isReverse?p=w:p=this.calculateOffset(t,w)}else this.props.isReverse?p=c.scrollTop:p=t.scrollHeight-c.scrollTop-c.clientHeight;p<Number(this.props.threshold)&&t&&t.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=c.scrollHeight,this.beforeScrollTop=c.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(t,s){return t?this.calculateTopPosition(t)+(t.offsetHeight-s-window.innerHeight):0}},{key:"calculateTopPosition",value:function(t){return t?t.offsetTop+this.calculateTopPosition(t.offsetParent):0}},{key:"render",value:function(){var t=this,s=this.filterProps(this.props),c=s.children,p=s.element,A=s.hasMore,w=s.initialLoad,C=s.isReverse,x=s.loader,E=s.loadMore,T=s.pageStart,_=s.ref,v=s.threshold,S=s.useCapture,O=s.useWindow,L=s.getScrollParent,M=u(s,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);M.ref=function(U){t.scrollComponent=U,_&&_(U)};var F=[c];return A&&(x?C?F.unshift(x):F.push(x):this.defaultLoader&&(C?F.unshift(this.defaultLoader):F.push(this.defaultLoader))),b.default.createElement(p,M,F)}}]),n}(f.Component);o.propTypes={children:y.default.node.isRequired,element:y.default.node,hasMore:y.default.bool,initialLoad:y.default.bool,isReverse:y.default.bool,loader:y.default.node,loadMore:y.default.func.isRequired,pageStart:y.default.number,ref:y.default.func,getScrollParent:y.default.func,threshold:y.default.number,useCapture:y.default.bool,useWindow:y.default.bool},o.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},I.default=o,R.exports=I.default},LXxW:function(R,I){function e(g,f){for(var b=-1,m=g==null?0:g.length,y=0,h=[];++b<m;){var u=g[b];f(u,b,g)&&(h[y++]=u)}return h}R.exports=e},Lerx:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("Mds0"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},Llu2:function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="DeliveredProcedureOutlined";var h=I.a=g.forwardRef(y)},Lo0S:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.initLogging=h,I.getLogging=u,I.Error=I.Warn=I.Info=I.Debug=void 0;var g="warn",f=function(){};I.Debug=f;var b=function(){};I.Info=b;var m=function(){};I.Warn=m;var y=function(){};I.Error=y;function h(i){if(typeof i=="undefined"?i=g:g=i,I.Debug=f=I.Info=b=I.Warn=m=I.Error=y=function(){},typeof window.console!="undefined")switch(i){case"debug":I.Debug=f=console.debug.bind(window.console);case"info":I.Info=b=console.info.bind(window.console);case"warn":I.Warn=m=console.warn.bind(window.console);case"error":I.Error=y=console.error.bind(window.console);case"none":break;default:throw new window.Error("invalid logging type '"+i+"'")}}function u(){return g}h()},LtfV:function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="InboxOutlined";var h=I.a=g.forwardRef(y)},Lyp1:function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="QuestionCircleOutlined";var h=I.a=g.forwardRef(y)},LzGr:function(R,I,e){var g=e("ProS"),f=e("rnVJ");e("EMyp"),e("8x+h"),e("wt3j"),e("uOyE"),e("/stD"),g.registerPreprocessor(f)},MBQ8:function(R,I,e){var g=e("T4UG"),f=e("MwEJ"),b=g.extend({type:"series.__base_bar__",getInitialData:function(m,y){return f(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(m){var y=this.coordinateSystem;if(y){var h=y.dataToPoint(y.clampData(m)),u=this.getData(),i=u.getLayout("offset"),a=u.getLayout("size"),r=y.getBaseAxis().isHorizontal()?0:1;return h[r]+=i+a/2,h}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});R.exports=b},MEGo:function(R,I,e){var g=e("4fz+"),f=e("Dagg"),b=e("dqUG"),m=e("2fw6"),y=e("x6Kt"),h=e("rmlV"),u=e("yxFR"),i=e("y+Vt"),a=e("h7HQ"),r=e("1Jh7"),o=e("SKnc"),d=e("K2GJ"),n=e("Fofx"),l=e("NC18"),t=l.createFromString,s=e("bYtY"),c=s.isString,p=s.extend,A=s.defaults,w=s.trim,C=s.each,x=/[\s,]+/;function E(V){if(c(V)){var K=new DOMParser;V=K.parseFromString(V,"text/xml")}for(V.nodeType===9&&(V=V.firstChild);V.nodeName.toLowerCase()!=="svg"||V.nodeType!==1;)V=V.nextSibling;return V}function T(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}T.prototype.parse=function(V,K){K=K||{};var Y=E(V);if(!Y)throw new Error("Illegal svg");var Q=new g;this._root=Q;var he=Y.getAttribute("viewBox")||"",G=parseFloat(Y.getAttribute("width")||K.width),ye=parseFloat(Y.getAttribute("height")||K.height);isNaN(G)&&(G=null),isNaN(ye)&&(ye=null),F(Y,Q,null,!0);for(var Ae=Y.firstChild;Ae;)this._parseNode(Ae,Q),Ae=Ae.nextSibling;var ge,Pe;if(he){var Re=w(he).split(x);Re.length>=4&&(ge={x:parseFloat(Re[0]||0),y:parseFloat(Re[1]||0),width:parseFloat(Re[2]),height:parseFloat(Re[3])})}if(ge&&G!=null&&ye!=null&&(Pe=k(ge,G,ye),!K.ignoreViewBox)){var rt=Q;Q=new g,Q.add(rt),rt.scale=Pe.scale.slice(),rt.position=Pe.position.slice()}return!K.ignoreRootClip&&G!=null&&ye!=null&&Q.setClipPath(new y({shape:{x:0,y:0,width:G,height:ye}})),{root:Q,width:G,height:ye,viewBoxRect:ge,viewBoxTransform:Pe}},T.prototype._parseNode=function(V,K){var Y=V.nodeName.toLowerCase();Y==="defs"?this._isDefine=!0:Y==="text"&&(this._isText=!0);var Q;if(this._isDefine){var he=v[Y];if(he){var G=he.call(this,V),ye=V.getAttribute("id");ye&&(this._defs[ye]=G)}}else{var he=_[Y];he&&(Q=he.call(this,V,K),K.add(Q))}for(var Ae=V.firstChild;Ae;)Ae.nodeType===1&&this._parseNode(Ae,Q),Ae.nodeType===3&&this._isText&&this._parseText(Ae,Q),Ae=Ae.nextSibling;Y==="defs"?this._isDefine=!1:Y==="text"&&(this._isText=!1)},T.prototype._parseText=function(V,K){if(V.nodeType===1){var Y=V.getAttribute("dx")||0,Q=V.getAttribute("dy")||0;this._textX+=parseFloat(Y),this._textY+=parseFloat(Q)}var he=new b({style:{text:V.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});O(K,he),F(V,he,this._defs);var G=he.style.fontSize;G&&G<9&&(he.style.fontSize=9,he.scale=he.scale||[1,1],he.scale[0]*=G/9,he.scale[1]*=G/9);var ye=he.getBoundingRect();return this._textX+=ye.width,K.add(he),he};var _={g:function(K,Y){var Q=new g;return O(Y,Q),F(K,Q,this._defs),Q},rect:function(K,Y){var Q=new y;return O(Y,Q),F(K,Q,this._defs),Q.setShape({x:parseFloat(K.getAttribute("x")||0),y:parseFloat(K.getAttribute("y")||0),width:parseFloat(K.getAttribute("width")||0),height:parseFloat(K.getAttribute("height")||0)}),Q},circle:function(K,Y){var Q=new m;return O(Y,Q),F(K,Q,this._defs),Q.setShape({cx:parseFloat(K.getAttribute("cx")||0),cy:parseFloat(K.getAttribute("cy")||0),r:parseFloat(K.getAttribute("r")||0)}),Q},line:function(K,Y){var Q=new u;return O(Y,Q),F(K,Q,this._defs),Q.setShape({x1:parseFloat(K.getAttribute("x1")||0),y1:parseFloat(K.getAttribute("y1")||0),x2:parseFloat(K.getAttribute("x2")||0),y2:parseFloat(K.getAttribute("y2")||0)}),Q},ellipse:function(K,Y){var Q=new h;return O(Y,Q),F(K,Q,this._defs),Q.setShape({cx:parseFloat(K.getAttribute("cx")||0),cy:parseFloat(K.getAttribute("cy")||0),rx:parseFloat(K.getAttribute("rx")||0),ry:parseFloat(K.getAttribute("ry")||0)}),Q},polygon:function(K,Y){var Q=K.getAttribute("points");Q&&(Q=L(Q));var he=new a({shape:{points:Q||[]}});return O(Y,he),F(K,he,this._defs),he},polyline:function(K,Y){var Q=new i;O(Y,Q),F(K,Q,this._defs);var he=K.getAttribute("points");he&&(he=L(he));var G=new r({shape:{points:he||[]}});return G},image:function(K,Y){var Q=new f;return O(Y,Q),F(K,Q,this._defs),Q.setStyle({image:K.getAttribute("xlink:href"),x:K.getAttribute("x"),y:K.getAttribute("y"),width:K.getAttribute("width"),height:K.getAttribute("height")}),Q},text:function(K,Y){var Q=K.getAttribute("x")||0,he=K.getAttribute("y")||0,G=K.getAttribute("dx")||0,ye=K.getAttribute("dy")||0;this._textX=parseFloat(Q)+parseFloat(G),this._textY=parseFloat(he)+parseFloat(ye);var Ae=new g;return O(Y,Ae),F(K,Ae,this._defs),Ae},tspan:function(K,Y){var Q=K.getAttribute("x"),he=K.getAttribute("y");Q!=null&&(this._textX=parseFloat(Q)),he!=null&&(this._textY=parseFloat(he));var G=K.getAttribute("dx")||0,ye=K.getAttribute("dy")||0,Ae=new g;return O(Y,Ae),F(K,Ae,this._defs),this._textX+=G,this._textY+=ye,Ae},path:function(K,Y){var Q=K.getAttribute("d")||"",he=t(Q);return O(Y,he),F(K,he,this._defs),he}},v={lineargradient:function(K){var Y=parseInt(K.getAttribute("x1")||0,10),Q=parseInt(K.getAttribute("y1")||0,10),he=parseInt(K.getAttribute("x2")||10,10),G=parseInt(K.getAttribute("y2")||0,10),ye=new o(Y,Q,he,G);return S(K,ye),ye},radialgradient:function(K){}};function S(V,K){for(var Y=V.firstChild;Y;){if(Y.nodeType===1){var Q=Y.getAttribute("offset");Q.indexOf("%")>0?Q=parseInt(Q,10)/100:Q?Q=parseFloat(Q):Q=0;var he=Y.getAttribute("stop-color")||"#000000";K.addColorStop(Q,he)}Y=Y.nextSibling}}function O(V,K){V&&V.__inheritedStyle&&(K.__inheritedStyle||(K.__inheritedStyle={}),A(K.__inheritedStyle,V.__inheritedStyle))}function L(V){for(var K=w(V).split(x),Y=[],Q=0;Q<K.length;Q+=2){var he=parseFloat(K[Q]),G=parseFloat(K[Q+1]);Y.push([he,G])}return Y}var M={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function F(V,K,Y,Q){var he=K.__inheritedStyle||{},G=K.type==="text";if(V.nodeType===1&&(N(V,K),p(he,j(V)),!Q)){for(var ye in M)if(M.hasOwnProperty(ye)){var Ae=V.getAttribute(ye);Ae!=null&&(he[M[ye]]=Ae)}}var ge=G?"textFill":"fill",Pe=G?"textStroke":"stroke";K.style=K.style||new d;var Re=K.style;he.fill!=null&&Re.set(ge,z(he.fill,Y)),he.stroke!=null&&Re.set(Pe,z(he.stroke,Y)),C(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(rt){var ne=rt==="lineWidth"&&G?"textStrokeWidth":rt;he[rt]!=null&&Re.set(ne,parseFloat(he[rt]))}),(!he.textBaseline||he.textBaseline==="auto")&&(he.textBaseline="alphabetic"),he.textBaseline==="alphabetic"&&(he.textBaseline="bottom"),he.textAlign==="start"&&(he.textAlign="left"),he.textAlign==="end"&&(he.textAlign="right"),C(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(rt){he[rt]!=null&&Re.set(rt,he[rt])}),he.lineDash&&(K.style.lineDash=w(he.lineDash).split(x)),Re[Pe]&&Re[Pe]!=="none"&&(K[Pe]=!0),K.__inheritedStyle=he}var U=/url\(\s*#(.*?)\)/;function z(V,K){var Y=K&&V&&V.match(U);if(Y){var Q=w(Y[1]),he=K[Q];return he}return V}var W=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function N(V,K){var Y=V.getAttribute("transform");if(Y){Y=Y.replace(/,/g," ");var Q=null,he=[];Y.replace(W,function(ge,Pe,Re){he.push(Pe,Re)});for(var G=he.length-1;G>0;G-=2){var ye=he[G],Ae=he[G-1];Q=Q||n.create();switch(Ae){case"translate":ye=w(ye).split(x),n.translate(Q,Q,[parseFloat(ye[0]),parseFloat(ye[1]||0)]);break;case"scale":ye=w(ye).split(x),n.scale(Q,Q,[parseFloat(ye[0]),parseFloat(ye[1]||ye[0])]);break;case"rotate":ye=w(ye).split(x),n.rotate(Q,Q,parseFloat(ye[0]));break;case"skew":ye=w(ye).split(x),console.warn("Skew transform is not supported yet");break;case"matrix":var ye=w(ye).split(x);Q[0]=parseFloat(ye[0]),Q[1]=parseFloat(ye[1]),Q[2]=parseFloat(ye[2]),Q[3]=parseFloat(ye[3]),Q[4]=parseFloat(ye[4]),Q[5]=parseFloat(ye[5]);break}}K.setLocalTransform(Q)}}var H=/([^\s:;]+)\s*:\s*([^:;]+)/g;function j(V){var K=V.getAttribute("style"),Y={};if(!K)return Y;var Q={};H.lastIndex=0;for(var he;(he=H.exec(K))!=null;)Q[he[1]]=he[2];for(var G in M)M.hasOwnProperty(G)&&Q[G]!=null&&(Y[M[G]]=Q[G]);return Y}function k(V,K,Y){var Q=K/V.width,he=Y/V.height,G=Math.min(Q,he),ye=[G,G],Ae=[-(V.x+V.width/2)*G+K/2,-(V.y+V.height/2)*G+Y/2];return{scale:ye,position:Ae}}function B(V,K){var Y=new T;return Y.parse(V,K)}I.parseXML=E,I.makeViewBoxTransform=k,I.parseSVG=B},MFOe:function(R,I,e){(function(g){var f=h(),b=u(),m=i(),y=typeof window!="undefined"?window:g;R.exports={assign:f,create:b,trim:m,bind:a,slice:r,each:o,map:d,pluck:n,isList:l,isFunction:t,isObject:s,Global:y};function h(){return Object.assign?Object.assign:function(p,A,w,C){for(var x=1;x<arguments.length;x++)o(Object(arguments[x]),function(E,T){p[T]=E});return p}}function u(){if(Object.create)return function(A,w,C,x){var E=r(arguments,1);return f.apply(this,[Object.create(A)].concat(E))};var c=function(){};return function(A,w,C,x){var E=r(arguments,1);return c.prototype=A,f.apply(this,[new c].concat(E))}}function i(){return String.prototype.trim?function(p){return String.prototype.trim.call(p)}:function(p){return p.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function a(c,p){return function(){return p.apply(c,Array.prototype.slice.call(arguments,0))}}function r(c,p){return Array.prototype.slice.call(c,p||0)}function o(c,p){n(c,function(A,w){return p(A,w),!1})}function d(c,p){var A=l(c)?[]:{};return n(c,function(w,C){return A[C]=p(w,C),!1}),A}function n(c,p){if(l(c)){for(var A=0;A<c.length;A++)if(p(c[A],A))return c[A]}else for(var w in c)if(c.hasOwnProperty(w)&&p(c[w],w))return c[w]}function l(c){return c!=null&&typeof c!="function"&&typeof c.length=="number"}function t(c){return c&&{}.toString.call(c)==="[object Function]"}function s(c){return c&&{}.toString.call(c)==="[object Object]"}}).call(this,e("yLpj"))},MH26:function(R,I,e){var g=e("bYtY"),f=e("YXkt"),b=e("OELB"),m=e("kj2x"),y=e("c8qY"),h=e("iPDy"),u=e("7hqr"),i=u.getStackedDimension,a=function(s,c,p,A){var w=s.getData(),C=A.type;if(!g.isArray(A)&&(C==="min"||C==="max"||C==="average"||C==="median"||A.xAxis!=null||A.yAxis!=null)){var x,E;if(A.yAxis!=null||A.xAxis!=null)x=c.getAxis(A.yAxis!=null?"y":"x"),E=g.retrieve(A.yAxis,A.xAxis);else{var T=m.getAxisInfo(A,w,c,s);x=T.valueAxis;var _=i(w,T.valueDataDim);E=m.numCalculate(w,_,C)}var v=x.dim==="x"?0:1,S=1-v,O=g.clone(A),L={};O.type=null,O.coord=[],L.coord=[],O.coord[S]=-Infinity,L.coord[S]=Infinity;var M=p.get("precision");M>=0&&typeof E=="number"&&(E=+E.toFixed(Math.min(M,20))),O.coord[v]=L.coord[v]=E,A=[O,L,{type:C,valueIndex:A.valueIndex,value:E}]}return A=[m.dataTransform(s,A[0]),m.dataTransform(s,A[1]),g.extend({},A[2])],A[2].type=A[2].type||"",g.merge(A[2],A[0]),g.merge(A[2],A[1]),A};function r(s){return!isNaN(s)&&!isFinite(s)}function o(s,c,p,A){var w=1-s,C=A.dimensions[s];return r(c[w])&&r(p[w])&&c[s]===p[s]&&A.getAxis(C).containData(c[s])}function d(s,c){if(s.type==="cartesian2d"){var p=c[0].coord,A=c[1].coord;if(p&&A&&(o(1,p,A,s)||o(0,p,A,s)))return!0}return m.dataFilter(s,c[0])&&m.dataFilter(s,c[1])}function n(s,c,p,A,w){var C=A.coordinateSystem,x=s.getItemModel(c),E,T=b.parsePercent(x.get("x"),w.getWidth()),_=b.parsePercent(x.get("y"),w.getHeight());if(!isNaN(T)&&!isNaN(_))E=[T,_];else{if(A.getMarkerPosition)E=A.getMarkerPosition(s.getValues(s.dimensions,c));else{var v=C.dimensions,S=s.get(v[0],c),O=s.get(v[1],c);E=C.dataToPoint([S,O])}if(C.type==="cartesian2d"){var L=C.getAxis("x"),M=C.getAxis("y"),v=C.dimensions;r(s.get(v[0],c))?E[0]=L.toGlobalCoord(L.getExtent()[p?0:1]):r(s.get(v[1],c))&&(E[1]=M.toGlobalCoord(M.getExtent()[p?0:1]))}isNaN(T)||(E[0]=T),isNaN(_)||(E[1]=_)}s.setItemLayout(c,E)}var l=h.extend({type:"markLine",updateTransform:function(s,c,p){c.eachSeries(function(A){var w=A.markLineModel;if(w){var C=w.getData(),x=w.__from,E=w.__to;x.each(function(T){n(x,T,!0,A,p),n(E,T,!1,A,p)}),C.each(function(T){C.setItemLayout(T,[x.getItemLayout(T),E.getItemLayout(T)])}),this.markerGroupMap.get(A.id).updateLayout()}},this)},renderSeries:function(s,c,p,A){var w=s.coordinateSystem,C=s.id,x=s.getData(),E=this.markerGroupMap,T=E.get(C)||E.set(C,new y);this.group.add(T.group);var _=t(w,s,c),v=_.from,S=_.to,O=_.line;c.__from=v,c.__to=S,c.setData(O);var L=c.get("symbol"),M=c.get("symbolSize");g.isArray(L)||(L=[L,L]),typeof M=="number"&&(M=[M,M]),_.from.each(function(U){F(v,U,!0),F(S,U,!1)}),O.each(function(U){var z=O.getItemModel(U).get("lineStyle.color");O.setItemVisual(U,{color:z||v.getItemVisual(U,"color")}),O.setItemLayout(U,[v.getItemLayout(U),S.getItemLayout(U)]),O.setItemVisual(U,{fromSymbolSize:v.getItemVisual(U,"symbolSize"),fromSymbol:v.getItemVisual(U,"symbol"),toSymbolSize:S.getItemVisual(U,"symbolSize"),toSymbol:S.getItemVisual(U,"symbol")})}),T.updateData(O),_.line.eachItemGraphicEl(function(U,z){U.traverse(function(W){W.dataModel=c})});function F(U,z,W){var N=U.getItemModel(z);n(U,z,W,s,A),U.setItemVisual(z,{symbolSize:N.get("symbolSize")||M[W?0:1],symbol:N.get("symbol",!0)||L[W?0:1],color:N.get("itemStyle.color")||x.getVisual("color")})}T.__keep=!0,T.group.silent=c.get("silent")||s.get("silent")}});function t(s,c,p){var A;s?A=g.map(s&&s.dimensions,function(_){var v=c.getData().getDimensionInfo(c.getData().mapDimension(_))||{};return g.defaults({name:_},v)}):A=[{name:"value",type:"float"}];var w=new f(A,p),C=new f(A,p),x=new f([],p),E=g.map(p.get("data"),g.curry(a,c,s,p));s&&(E=g.filter(E,g.curry(d,s)));var T=s?m.dimValueGetter:function(_){return _.value};return w.initData(g.map(E,function(_){return _[0]}),null,T),C.initData(g.map(E,function(_){return _[1]}),null,T),x.initData(g.map(E,function(_){return _[2]})),x.hasItemOption=!0,{from:w,to:C,line:x}}R.exports=l},MHoB:function(R,I,e){var g=e("bYtY"),f=e("6uqw"),b=e("OELB"),m=[20,140],y=f.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(i,a){y.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(r){r.mappingMethod="linear",r.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){y.superApply(this,"resetItemSize",arguments);var i=this.itemSize;this._orient==="horizontal"&&i.reverse(),(i[0]==null||isNaN(i[0]))&&(i[0]=m[0]),(i[1]==null||isNaN(i[1]))&&(i[1]=m[1])},_resetRange:function(){var i=this.getExtent(),a=this.option.range;!a||a.auto?(i.auto=1,this.option.range=i):g.isArray(a)&&(a[0]>a[1]&&a.reverse(),a[0]=Math.max(a[0],i[0]),a[1]=Math.min(a[1],i[1]))},completeVisualOption:function(){f.prototype.completeVisualOption.apply(this,arguments),g.each(this.stateList,function(i){var a=this.option.controller[i].symbolSize;a&&a[0]!==a[1]&&(a[0]=0)},this)},setSelected:function(i){this.option.range=i.slice(),this._resetRange()},getSelected:function(){var i=this.getExtent(),a=b.asc((this.get("range")||[]).slice());return a[0]>i[1]&&(a[0]=i[1]),a[1]>i[1]&&(a[1]=i[1]),a[0]<i[0]&&(a[0]=i[0]),a[1]<i[0]&&(a[1]=i[0]),a},getValueState:function(i){var a=this.option.range,r=this.getExtent();return(a[0]<=r[0]||a[0]<=i)&&(a[1]>=r[1]||i<=a[1])?"inRange":"outOfRange"},findTargetDataIndices:function(i){var a=[];return this.eachTargetSeries(function(r){var o=[],d=r.getData();d.each(this.getDataDimension(d),function(n,l){i[0]<=n&&n<=i[1]&&o.push(l)},this),a.push({seriesId:r.id,dataIndex:o})},this),a},getVisualMeta:function(i){var a=h(this,"outOfRange",this.getExtent()),r=h(this,"inRange",this.option.range.slice()),o=[];function d(A,w){o.push({value:A,color:i(A,w)})}for(var n=0,l=0,t=r.length,s=a.length;l<s&&(!r.length||a[l]<=r[0]);l++)a[l]<r[n]&&d(a[l],"outOfRange");for(var c=1;n<t;n++,c=0)c&&o.length&&d(r[n],"outOfRange"),d(r[n],"inRange");for(var c=1;l<s;l++)(!r.length||r[r.length-1]<a[l])&&(c&&(o.length&&d(o[o.length-1].value,"outOfRange"),c=0),d(a[l],"outOfRange"));var p=o.length;return{stops:o,outerColors:[p?o[0].color:"transparent",p?o[p-1].color:"transparent"]}}});function h(i,a,r){if(r[0]===r[1])return r.slice();for(var o=200,d=(r[1]-r[0])/o,n=r[0],l=[],t=0;t<=o&&n<r[1];t++)l.push(n),n+=d;return l.push(r[1]),l}var u=y;R.exports=u},MHtr:function(R,I,e){var g=e("bYtY");function f(m,y){var h=this.getAxis(),u=y instanceof Array?y[0]:y,i=(m instanceof Array?m[0]:m)/2;return h.type==="category"?h.getBandWidth():Math.abs(h.dataToCoord(u-i)-h.dataToCoord(u+i))}function b(m){var y=m.getRect();return{coordSys:{type:"singleAxis",x:y.x,y:y.y,width:y.width,height:y.height},api:{coord:function(h){return m.dataToPoint(h)},size:g.bind(f,m)}}}R.exports=b},MJZm:function(R,I,e){"use strict";var g=e("lSNA"),f=e.n(g),b=e("pVnL"),m=e.n(b),y=e("q1tI"),h=e("fAei"),u=e("TSYQ"),i=e.n(u),a=e("RIqP"),r=e.n(a),o=e("J4zp"),d=e.n(o),n=e("sEfC"),l=e.n(n),t=e("OZM5"),s=e("815F"),c=e("vk+C"),p=e.n(c),A=e("Vy0f"),w=e.n(A),C=e("kGiB"),x=e.n(C),E=e("H84U"),T;(function(B){B[B.None=0]="None",B[B.Start=1]="Start",B[B.End=2]="End"})(T||(T={}));function _(B,V){function K(Y){var Q=Y.key,he=Y.children;V(Q,Y)!==!1&&_(he||[],V)}B.forEach(K)}function v(B){var V=B.treeData,K=B.expandedKeys,Y=B.startKey,Q=B.endKey,he=[],G=T.None;if(Y&&Y===Q)return[Y];if(!Y||!Q)return[];function ye(Ae){return Ae===Y||Ae===Q}return _(V,function(Ae){if(G===T.End)return!1;if(ye(Ae)){if(he.push(Ae),G===T.None)G=T.Start;else if(G===T.Start)return G=T.End,!1}else G===T.Start&&he.push(Ae);return!(K.indexOf(Ae)===-1)}),he}function S(B,V){var K=r()(V),Y=[];return _(B,function(Q,he){var G=K.indexOf(Q);return G!==-1&&(Y.push(he),K.splice(G,1)),!!K.length}),Y}var O=function(B,V){var K={};for(var Y in B)Object.prototype.hasOwnProperty.call(B,Y)&&V.indexOf(Y)<0&&(K[Y]=B[Y]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Q=0,Y=Object.getOwnPropertySymbols(B);Q<Y.length;Q++)V.indexOf(Y[Q])<0&&Object.prototype.propertyIsEnumerable.call(B,Y[Q])&&(K[Y[Q]]=B[Y[Q]]);return K};function L(B){var V=B.isLeaf,K=B.expanded;return V?y.createElement(p.a,null):K?y.createElement(w.a,null):y.createElement(x.a,null)}function M(B){var V=B.treeData,K=B.children;return V||Object(s.c)(K)}var F=function(V,K){var Y=V.defaultExpandAll,Q=V.defaultExpandParent,he=V.defaultExpandedKeys,G=O(V,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),ye=y.useRef(),Ae=y.useRef(),ge=y.createRef();y.useImperativeHandle(K,function(){return ge.current});var Pe=function(){var Xe=Object(s.a)(M(G)),Je=Xe.keyEntities,et;return Y?et=Object.keys(Je):Q?et=Object(t.e)(G.expandedKeys||he,Je):et=G.expandedKeys||he,et},Re=y.useState(G.selectedKeys||G.defaultSelectedKeys||[]),rt=d()(Re,2),ne=rt[0],be=rt[1],at=y.useState(Pe()),se=d()(at,2),q=se[0],X=se[1];y.useEffect(function(){"selectedKeys"in G&&be(G.selectedKeys)},[G.selectedKeys]),y.useEffect(function(){"expandedKeys"in G&&X(G.expandedKeys)},[G.expandedKeys]);var Z=function(Xe,Je){var et=Je.isLeaf;if(et||Xe.shiftKey||Xe.metaKey||Xe.ctrlKey)return;ge.current.onNodeExpand(Xe,Je)},pe=l()(Z,200,{leading:!0}),oe=function(Xe,Je){return"expandedKeys"in G||X(Xe),G.onExpand?G.onExpand(Xe,Je):void 0},Ie=function(Xe,Je){var et=G.expandAction;et==="click"&&pe(Xe,Je),G.onClick&&G.onClick(Xe,Je)},fe=function(Xe,Je){var et=G.expandAction;et==="doubleClick"&&pe(Xe,Je),G.onDoubleClick&&G.onDoubleClick(Xe,Je)},te=function(Xe,Je){var et=G.multiple,ot=Je.node,Ve=Je.nativeEvent,ue=ot.key,ae=ue===void 0?"":ue,lt=M(G),Ze=m()(m()({},Je),{selected:!0}),Te=Ve.ctrlKey||Ve.metaKey,Jt=Ve.shiftKey,mt;et&&Te?(mt=Xe,ye.current=ae,Ae.current=mt,Ze.selectedNodes=S(lt,mt)):et&&Jt?(mt=Array.from(new Set([].concat(r()(Ae.current||[]),r()(v({treeData:lt,expandedKeys:q,startKey:ae,endKey:ye.current}))))),Ze.selectedNodes=S(lt,mt)):(mt=[ae],ye.current=ae,Ae.current=mt,Ze.selectedNodes=S(lt,mt)),G.onSelect&&G.onSelect(mt,Ze),"selectedKeys"in G||be(mt)},J=y.useContext(E.b),ve=J.getPrefixCls,De=J.direction,ze=G.prefixCls,dt=G.className,Me=O(G,["prefixCls","className"]),Tt=ve("tree",ze),je=i()("".concat(Tt,"-directory"),dt,f()({},"".concat(Tt,"-directory-rtl"),De==="rtl"));return y.createElement(j,m()({icon:L,ref:ge,blockNode:!0},Me,{prefixCls:Tt,className:je,expandedKeys:q,selectedKeys:ne,onSelect:te,onClick:Ie,onDoubleClick:fe,onExpand:oe}))},U=y.forwardRef(F);U.displayName="DirectoryTree",U.defaultProps={showIcon:!0,expandAction:"click"};var z=U,W=e("EXcs"),N=e("2jpz"),H=y.forwardRef(function(B,V){var K,Y=y.useContext(E.b),Q=Y.getPrefixCls,he=Y.direction,G=Y.virtual,ye=B.prefixCls,Ae=B.className,ge=B.showIcon,Pe=B.showLine,Re=B.switcherIcon,rt=B.blockNode,ne=B.children,be=B.checkable,at=m()(m()({},B),{showLine:Boolean(Pe)}),se=Q("tree",ye);return y.createElement(h.b,m()({itemHeight:20,ref:V,virtual:G},at,{prefixCls:se,className:i()(Ae,(K={},f()(K,"".concat(se,"-icon-hide"),!ge),f()(K,"".concat(se,"-block-node"),rt),f()(K,"".concat(se,"-rtl"),he==="rtl"),K)),checkable:be&&y.createElement("span",{className:"".concat(se,"-checkbox-inner")}),switcherIcon:function(X){return Object(N.a)(se,Re,Pe,X)}}),ne)});H.TreeNode=h.a,H.DirectoryTree=z,H.defaultProps={checkable:!1,showIcon:!1,motion:m()(m()({},W.a),{motionAppear:!1}),blockNode:!1};var j=H,k=I.a=j},MKOG:function(R,I,e){var g=e("bYtY"),f=e("YH21"),b=f.Dispatcher,m=e("mLcG"),y=e("Bq2U"),h=function(a){a=a||{},this.stage=a.stage||{},this.onframe=a.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,b.call(this)};h.prototype={constructor:h,addClip:function(a){this._clips.push(a)},addAnimator:function(a){a.animation=this;for(var r=a.getClips(),o=0;o<r.length;o++)this.addClip(r[o])},removeClip:function(a){var r=g.indexOf(this._clips,a);r>=0&&this._clips.splice(r,1)},removeAnimator:function(a){for(var r=a.getClips(),o=0;o<r.length;o++)this.removeClip(r[o]);a.animation=null},_update:function(){for(var a=new Date().getTime()-this._pausedTime,r=a-this._time,o=this._clips,d=o.length,n=[],l=[],t=0;t<d;t++){var s=o[t],c=s.step(a,r);c&&(n.push(c),l.push(s))}for(var t=0;t<d;)o[t]._needsRemove?(o[t]=o[d-1],o.pop(),d--):t++;d=n.length;for(var t=0;t<d;t++)l[t].fire(n[t]);this._time=a,this.onframe(r),this.trigger("frame",r),this.stage.update&&this.stage.update()},_startLoop:function(){var a=this;this._running=!0;function r(){a._running&&(m(r),!a._paused&&a._update())}m(r)},start:function(){this._time=new Date().getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=new Date().getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=new Date().getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(a,r){r=r||{};var o=new y(a,r.loop,r.getter,r.setter);return this.addAnimator(o),o}},g.mixin(h,b);var u=h;R.exports=u},MMmD:function(R,I,e){var g=e("lSCD"),f=e("shjB");function b(m){return m!=null&&f(m.length)&&!g(m)}R.exports=b},MRoa:function(R,I,e){var g=e("ProS");e("0Bwj"),e("W2nI"),e("vcCh");var f=e("gawk"),b=e("Dg8C");g.registerLayout(f),g.registerVisual(b)},MT78:function(R,I,e){var g=e("ProS");(function(){for(var b in g){if(g==null||!g.hasOwnProperty(b)||b==="default"||b==="__esModule")return;I[b]=g[b]}})();var f=e("txkQ");(function(){for(var b in f){if(f==null||!f.hasOwnProperty(b)||b==="default"||b==="__esModule")return;I[b]=f[b]}})(),e("A1Ka"),e("75ce"),e("lLGD"),e("wDdD"),e("Fa/5"),e("jett"),e("Z1wy"),e("75ev"),e("2uGb"),e("I+77"),e("B+YJ"),e("pLH3"),e("CBdT"),e("MRoa"),e("+lIL"),e("CF2D"),e("ERHi"),e("p+If"),e("XOKv"),e("qt/9"),e("bBL8"),e("1xaR"),e("4Feb"),e("zRKj"),e("L3Oj"),e("0HBW"),e("LPzL"),e("8waO"),e("k5C7"),e("f1nB"),e("sRwP"),e("AH3D"),e("y4/Y"),e("LzGr"),e("Ynxi"),e("7pVf"),e("2w7y"),e("laiN"),e("fjKi"),e("C0tN"),e("0o9m"),e("Cm0C"),e("f3JH"),e("5NHt"),e("VFCP"),e("dBmv"),e("KamJ"),e("8XDt"),e("juDX")},MXD1:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("Kvyg"),m=e.n(b)},MZdM:function(R,I,e){"use strict";function g(n){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(t){return typeof t}:g=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(n)}Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var f=i(e("Lo0S")),b=h(e("N/zr")),m=e("GdRQ"),y=e("GQ8N");function h(n){return n&&n.__esModule?n:{default:n}}function u(){if(typeof WeakMap!="function")return null;var n=new WeakMap;return u=function(){return n},n}function i(n){if(n&&n.__esModule)return n;if(n===null||g(n)!=="object"&&typeof n!="function")return{default:n};var l=u();if(l&&l.has(n))return l.get(n);var t={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in n)if(Object.prototype.hasOwnProperty.call(n,c)){var p=s?Object.getOwnPropertyDescriptor(n,c):null;p&&(p.get||p.set)?Object.defineProperty(t,c,p):t[c]=n[c]}return t.default=n,l&&l.set(n,t),t}function a(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function r(n,l){for(var t=0;t<l.length;t++){var s=l[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(n,s.key,s)}}function o(n,l,t){return l&&r(n.prototype,l),t&&r(n,t),n}var d=function(){function n(l){if(a(this,n),this._drawCtx=null,this._renderQ=[],this._flushing=!1,this._fbWidth=0,this._fbHeight=0,this._prevDrawStyle="",this._tile=null,this._tile16x16=null,this._tileX=0,this._tileY=0,f.Debug(">> Display.constructor"),this._target=l,!this._target)throw new Error("Target must be set");if(typeof this._target=="string")throw new Error("target must be a DOM element");if(!this._target.getContext)throw new Error("no getContext method");if(this._targetCtx=this._target.getContext("2d"),this._viewportLoc={x:0,y:0,w:this._target.width,h:this._target.height},this._backbuffer=document.createElement("canvas"),this._drawCtx=this._backbuffer.getContext("2d"),this._damageBounds={left:0,top:0,right:this._backbuffer.width,bottom:this._backbuffer.height},f.Debug("User Agent: "+navigator.userAgent),!("createImageData"in this._drawCtx))throw new Error("Canvas does not support createImageData");this._tile16x16=this._drawCtx.createImageData(16,16),f.Debug("<< Display.constructor"),this._scale=1,this._clipViewport=!1,this.onflush=function(){}}return o(n,[{key:"viewportChangePos",value:function(t,s){var c=this._viewportLoc;t=Math.floor(t),s=Math.floor(s),this._clipViewport||(t=-c.w,s=-c.h);var p=c.x+c.w-1,A=c.y+c.h-1;if(t<0&&c.x+t<0&&(t=-c.x),p+t>=this._fbWidth&&(t-=p+t-this._fbWidth+1),c.y+s<0&&(s=-c.y),A+s>=this._fbHeight&&(s-=A+s-this._fbHeight+1),t===0&&s===0)return;f.Debug("viewportChange deltaX: "+t+", deltaY: "+s),c.x+=t,c.y+=s,this._damage(c.x,c.y,c.w,c.h),this.flip()}},{key:"viewportChangeSize",value:function(t,s){(!this._clipViewport||typeof t=="undefined"||typeof s=="undefined")&&(f.Debug("Setting viewport to full display region"),t=this._fbWidth,s=this._fbHeight),t=Math.floor(t),s=Math.floor(s),t>this._fbWidth&&(t=this._fbWidth),s>this._fbHeight&&(s=this._fbHeight);var c=this._viewportLoc;if(c.w!==t||c.h!==s){c.w=t,c.h=s;var p=this._target;p.width=t,p.height=s,this.viewportChangePos(0,0),this._damage(c.x,c.y,c.w,c.h),this.flip(),this._rescale(this._scale)}}},{key:"absX",value:function(t){return this._scale===0?0:(0,y.toSigned32bit)(t/this._scale+this._viewportLoc.x)}},{key:"absY",value:function(t){return this._scale===0?0:(0,y.toSigned32bit)(t/this._scale+this._viewportLoc.y)}},{key:"resize",value:function(t,s){this._prevDrawStyle="",this._fbWidth=t,this._fbHeight=s;var c=this._backbuffer;if(c.width!==t||c.height!==s){var p=null;c.width>0&&c.height>0&&(p=this._drawCtx.getImageData(0,0,c.width,c.height)),c.width!==t&&(c.width=t),c.height!==s&&(c.height=s),p&&this._drawCtx.putImageData(p,0,0)}var A=this._viewportLoc;this.viewportChangeSize(A.w,A.h),this.viewportChangePos(0,0)}},{key:"_damage",value:function(t,s,c,p){t<this._damageBounds.left&&(this._damageBounds.left=t),s<this._damageBounds.top&&(this._damageBounds.top=s),t+c>this._damageBounds.right&&(this._damageBounds.right=t+c),s+p>this._damageBounds.bottom&&(this._damageBounds.bottom=s+p)}},{key:"flip",value:function(t){if(this._renderQ.length!==0&&!t)this._renderQPush({type:"flip"});else{var s=this._damageBounds.left,c=this._damageBounds.top,p=this._damageBounds.right-s,A=this._damageBounds.bottom-c,w=s-this._viewportLoc.x,C=c-this._viewportLoc.y;w<0&&(p+=w,s-=w,w=0),C<0&&(A+=C,c-=C,C=0),w+p>this._viewportLoc.w&&(p=this._viewportLoc.w-w),C+A>this._viewportLoc.h&&(A=this._viewportLoc.h-C),p>0&&A>0&&this._targetCtx.drawImage(this._backbuffer,s,c,p,A,w,C,p,A),this._damageBounds.left=this._damageBounds.top=65535,this._damageBounds.right=this._damageBounds.bottom=0}}},{key:"pending",value:function(){return this._renderQ.length>0}},{key:"flush",value:function(){this._renderQ.length===0?this.onflush():this._flushing=!0}},{key:"fillRect",value:function(t,s,c,p,A,w){this._renderQ.length!==0&&!w?this._renderQPush({type:"fill",x:t,y:s,width:c,height:p,color:A}):(this._setFillColor(A),this._drawCtx.fillRect(t,s,c,p),this._damage(t,s,c,p))}},{key:"copyImage",value:function(t,s,c,p,A,w,C){this._renderQ.length!==0&&!C?this._renderQPush({type:"copy",oldX:t,oldY:s,x:c,y:p,width:A,height:w}):(this._drawCtx.mozImageSmoothingEnabled=!1,this._drawCtx.webkitImageSmoothingEnabled=!1,this._drawCtx.msImageSmoothingEnabled=!1,this._drawCtx.imageSmoothingEnabled=!1,this._drawCtx.drawImage(this._backbuffer,t,s,A,w,c,p,A,w),this._damage(c,p,A,w))}},{key:"imageRect",value:function(t,s,c,p,A,w){if(c===0||p===0)return;var C=new Image;C.src="data: "+A+";base64,"+b.default.encode(w),this._renderQPush({type:"img",img:C,x:t,y:s,width:c,height:p})}},{key:"startTile",value:function(t,s,c,p,A){this._tileX=t,this._tileY=s,c===16&&p===16?this._tile=this._tile16x16:this._tile=this._drawCtx.createImageData(c,p);for(var w=A[2],C=A[1],x=A[0],E=this._tile.data,T=0;T<c*p*4;T+=4)E[T]=w,E[T+1]=C,E[T+2]=x,E[T+3]=255}},{key:"subTile",value:function(t,s,c,p,A){for(var w=A[2],C=A[1],x=A[0],E=t+c,T=s+p,_=this._tile.data,v=this._tile.width,S=s;S<T;S++)for(var O=t;O<E;O++){var L=(O+S*v)*4;_[L]=w,_[L+1]=C,_[L+2]=x,_[L+3]=255}}},{key:"finishTile",value:function(){this._drawCtx.putImageData(this._tile,this._tileX,this._tileY),this._damage(this._tileX,this._tileY,this._tile.width,this._tile.height)}},{key:"blitImage",value:function(t,s,c,p,A,w,C){if(this._renderQ.length!==0&&!C){var x=new Uint8Array(c*p*4);x.set(new Uint8Array(A.buffer,0,x.length)),this._renderQPush({type:"blit",data:x,x:t,y:s,width:c,height:p})}else this._bgrxImageData(t,s,c,p,A,w)}},{key:"blitRgbImage",value:function(t,s,c,p,A,w,C){if(this._renderQ.length!==0&&!C){var x=new Uint8Array(c*p*3);x.set(new Uint8Array(A.buffer,0,x.length)),this._renderQPush({type:"blitRgb",data:x,x:t,y:s,width:c,height:p})}else this._rgbImageData(t,s,c,p,A,w)}},{key:"blitRgbxImage",value:function(t,s,c,p,A,w,C){if(this._renderQ.length!==0&&!C){var x=new Uint8Array(c*p*4);x.set(new Uint8Array(A.buffer,0,x.length)),this._renderQPush({type:"blitRgbx",data:x,x:t,y:s,width:c,height:p})}else this._rgbxImageData(t,s,c,p,A,w)}},{key:"drawImage",value:function(t,s,c){this._drawCtx.drawImage(t,s,c),this._damage(s,c,t.width,t.height)}},{key:"autoscale",value:function(t,s){var c;if(t===0||s===0)c=0;else{var p=this._viewportLoc,A=t/s,w=p.w/p.h;w>=A?c=t/p.w:c=s/p.h}this._rescale(c)}},{key:"_rescale",value:function(t){this._scale=t;var s=this._viewportLoc,c=t*s.w+"px",p=t*s.h+"px";(this._target.style.width!==c||this._target.style.height!==p)&&(this._target.style.width=c,this._target.style.height=p)}},{key:"_setFillColor",value:function(t){var s="rgb("+t[2]+","+t[1]+","+t[0]+")";s!==this._prevDrawStyle&&(this._drawCtx.fillStyle=s,this._prevDrawStyle=s)}},{key:"_rgbImageData",value:function(t,s,c,p,A,w){for(var C=this._drawCtx.createImageData(c,p),x=C.data,E=0,T=w;E<c*p*4;E+=4,T+=3)x[E]=A[T],x[E+1]=A[T+1],x[E+2]=A[T+2],x[E+3]=255;this._drawCtx.putImageData(C,t,s),this._damage(t,s,C.width,C.height)}},{key:"_bgrxImageData",value:function(t,s,c,p,A,w){for(var C=this._drawCtx.createImageData(c,p),x=C.data,E=0,T=w;E<c*p*4;E+=4,T+=4)x[E]=A[T+2],x[E+1]=A[T+1],x[E+2]=A[T],x[E+3]=255;this._drawCtx.putImageData(C,t,s),this._damage(t,s,C.width,C.height)}},{key:"_rgbxImageData",value:function(t,s,c,p,A,w){var C;m.supportsImageMetadata?C=new ImageData(new Uint8ClampedArray(A.buffer,A.byteOffset,c*p*4),c,p):(C=this._drawCtx.createImageData(c,p),C.data.set(new Uint8ClampedArray(A.buffer,A.byteOffset,c*p*4))),this._drawCtx.putImageData(C,t,s),this._damage(t,s,C.width,C.height)}},{key:"_renderQPush",value:function(t){this._renderQ.push(t),this._renderQ.length===1&&this._scanRenderQ()}},{key:"_resumeRenderQ",value:function(){this.removeEventListener("load",this._noVNCDisplay._resumeRenderQ),this._noVNCDisplay._scanRenderQ()}},{key:"_scanRenderQ",value:function(){for(var t=!0;t&&this._renderQ.length>0;){var s=this._renderQ[0];switch(s.type){case"flip":this.flip(!0);break;case"copy":this.copyImage(s.oldX,s.oldY,s.x,s.y,s.width,s.height,!0);break;case"fill":this.fillRect(s.x,s.y,s.width,s.height,s.color,!0);break;case"blit":this.blitImage(s.x,s.y,s.width,s.height,s.data,0,!0);break;case"blitRgb":this.blitRgbImage(s.x,s.y,s.width,s.height,s.data,0,!0);break;case"blitRgbx":this.blitRgbxImage(s.x,s.y,s.width,s.height,s.data,0,!0);break;case"img":if(s.img.complete&&s.img.width!==0&&s.img.height!==0){if(s.img.width!==s.width||s.img.height!==s.height){f.Error("Decoded image has incorrect dimensions. Got "+s.img.width+"x"+s.img.height+". Expected "+s.width+"x"+s.height+".");return}this.drawImage(s.img,s.x,s.y)}else s.img._noVNCDisplay=this,s.img.addEventListener("load",this._resumeRenderQ),t=!1;break}t&&this._renderQ.shift()}this._renderQ.length===0&&this._flushing&&(this._flushing=!1,this.onflush())}},{key:"scale",get:function(){return this._scale},set:function(t){this._rescale(t)}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(t){this._clipViewport=t;var s=this._viewportLoc;this.viewportChangeSize(s.w,s.h),this.viewportChangePos(0,0)}},{key:"width",get:function(){return this._fbWidth}},{key:"height",get:function(){return this._fbHeight}}]),n}();I.default=d},Mdki:function(R,I,e){var g=e("bYtY"),f=g.each,b="\0__link_datas",m="\0__link_mainData";function y(l){var t=l.mainData,s=l.datas;s||(s={main:t},l.datasAttr={main:"data"}),l.datas=l.mainData=null,o(t,s,l),f(s,function(c){f(t.TRANSFERABLE_METHODS,function(p){c.wrapMethod(p,g.curry(h,l))})}),t.wrapMethod("cloneShallow",g.curry(i,l)),f(t.CHANGABLE_METHODS,function(c){t.wrapMethod(c,g.curry(u,l))}),g.assert(s[t.dataType]===t)}function h(l,t){if(r(this)){var s=g.extend({},this[b]);s[this.dataType]=t,o(t,s,l)}else d(t,this.dataType,this[m],l);return t}function u(l,t){return l.struct&&l.struct.update(this),t}function i(l,t){return f(t[b],function(s,c){s!==t&&d(s.cloneShallow(),c,t,l)}),t}function a(l){var t=this[m];return l==null||t==null?t:t[b][l]}function r(l){return l[m]===l}function o(l,t,s){l[b]={},f(t,function(c,p){d(c,p,l,s)})}function d(l,t,s,c){s[b][t]=l,l[m]=s,l.dataType=t,c.struct&&(l[c.structAttr]=c.struct,c.struct[c.datasAttr[t]]=l),l.getLinkedData=a}var n=y;R.exports=n},Mds0:function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("8IMR")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="StarFilled";var u=b.forwardRef(h);I.default=u},Mgri:function(R,I,e){for(var g=e("bYtY"),f=e("8nly"),b=[126,25],m=[[[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]]],y=0;y<m.length;y++)for(var h=0;h<m[y].length;h++)m[y][h][0]/=10.5,m[y][h][1]/=-10.5/.75,m[y][h][0]+=b[0],m[y][h][1]+=b[1];function u(i,a){i==="china"&&a.push(new f("\u5357\u6D77\u8BF8\u5C9B",g.map(m,function(r){return{type:"polygon",exterior:r}}),b))}R.exports=u},Mmt2:function(R,I,e){"use strict";function g(o){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(n){return typeof n}:g=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},g(o)}Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var f=m(e("Lo0S"));function b(){if(typeof WeakMap!="function")return null;var o=new WeakMap;return b=function(){return o},o}function m(o){if(o&&o.__esModule)return o;if(o===null||g(o)!=="object"&&typeof o!="function")return{default:o};var d=b();if(d&&d.has(o))return d.get(o);var n={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var t in o)if(Object.prototype.hasOwnProperty.call(o,t)){var s=l?Object.getOwnPropertyDescriptor(o,t):null;s&&(s.get||s.set)?Object.defineProperty(n,t,s):n[t]=o[t]}return n.default=o,d&&d.set(o,n),n}function y(o,d){if(!(o instanceof d))throw new TypeError("Cannot call a class as a function")}function h(o,d){for(var n=0;n<d.length;n++){var l=d[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(o,l.key,l)}}function u(o,d,n){return d&&h(o.prototype,d),n&&h(o,n),o}var i=!1,a=40*1024*1024,r=function(){function o(){y(this,o),this._websocket=null,this._rQi=0,this._rQlen=0,this._rQbufferSize=1024*1024*4,this._rQ=null,this._sQbufferSize=1024*10,this._sQlen=0,this._sQ=null,this._eventHandlers={message:function(){},open:function(){},close:function(){},error:function(){}}}return u(o,[{key:"rQpeek8",value:function(){return this._rQ[this._rQi]}},{key:"rQskipBytes",value:function(n){this._rQi+=n}},{key:"rQshift8",value:function(){return this._rQshift(1)}},{key:"rQshift16",value:function(){return this._rQshift(2)}},{key:"rQshift32",value:function(){return this._rQshift(4)}},{key:"_rQshift",value:function(n){for(var l=0,t=n-1;t>=0;t--)l+=this._rQ[this._rQi++]<<t*8;return l}},{key:"rQshiftStr",value:function(n){typeof n=="undefined"&&(n=this.rQlen);for(var l="",t=0;t<n;t+=4096){var s=this.rQshiftBytes(Math.min(4096,n-t));l+=String.fromCharCode.apply(null,s)}return l}},{key:"rQshiftBytes",value:function(n){return typeof n=="undefined"&&(n=this.rQlen),this._rQi+=n,new Uint8Array(this._rQ.buffer,this._rQi-n,n)}},{key:"rQshiftTo",value:function(n,l){l===void 0&&(l=this.rQlen),n.set(new Uint8Array(this._rQ.buffer,this._rQi,l)),this._rQi+=l}},{key:"rQslice",value:function(n){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.rQlen;return new Uint8Array(this._rQ.buffer,this._rQi+n,l-n)}},{key:"rQwait",value:function(n,l,t){if(this.rQlen<l){if(t){if(this._rQi<t)throw new Error("rQwait cannot backup "+t+" bytes");this._rQi-=t}return!0}return!1}},{key:"flush",value:function(){this._sQlen>0&&this._websocket.readyState===WebSocket.OPEN&&(this._websocket.send(this._encodeMessage()),this._sQlen=0)}},{key:"send",value:function(n){this._sQ.set(n,this._sQlen),this._sQlen+=n.length,this.flush()}},{key:"sendString",value:function(n){this.send(n.split("").map(function(l){return l.charCodeAt(0)}))}},{key:"off",value:function(n){this._eventHandlers[n]=function(){}}},{key:"on",value:function(n,l){this._eventHandlers[n]=l}},{key:"_allocateBuffers",value:function(){this._rQ=new Uint8Array(this._rQbufferSize),this._sQ=new Uint8Array(this._sQbufferSize)}},{key:"init",value:function(){this._allocateBuffers(),this._rQi=0,this._websocket=null}},{key:"open",value:function(n,l){var t=this;this.init(),this._websocket=new WebSocket(n,l),this._websocket.binaryType="arraybuffer",this._websocket.onmessage=this._recvMessage.bind(this),this._websocket.onopen=function(){f.Debug(">> WebSock.onopen"),t._websocket.protocol&&f.Info("Server choose sub-protocol: "+t._websocket.protocol),t._eventHandlers.open(),f.Debug("<< WebSock.onopen")},this._websocket.onclose=function(s){f.Debug(">> WebSock.onclose"),t._eventHandlers.close(s),f.Debug("<< WebSock.onclose")},this._websocket.onerror=function(s){f.Debug(">> WebSock.onerror: "+s),t._eventHandlers.error(s),f.Debug("<< WebSock.onerror: "+s)}}},{key:"close",value:function(){this._websocket&&((this._websocket.readyState===WebSocket.OPEN||this._websocket.readyState===WebSocket.CONNECTING)&&(f.Info("Closing WebSocket connection"),this._websocket.close()),this._websocket.onmessage=function(){})}},{key:"_encodeMessage",value:function(){return new Uint8Array(this._sQ.buffer,0,this._sQlen)}},{key:"_expandCompactRQ",value:function(n){var l=(this._rQlen-this._rQi+n)*8,t=this._rQbufferSize<l;if(t&&(this._rQbufferSize=Math.max(this._rQbufferSize*2,l)),this._rQbufferSize>a&&(this._rQbufferSize=a,this._rQbufferSize-this.rQlen<n))throw new Error("Receive Queue buffer exceeded "+a+" bytes, and the new message could not fit");if(t){var s=this._rQ.buffer;this._rQ=new Uint8Array(this._rQbufferSize),this._rQ.set(new Uint8Array(s,this._rQi,this._rQlen-this._rQi))}else i?this._rQ.copyWithin(0,this._rQi,this._rQlen):this._rQ.set(new Uint8Array(this._rQ.buffer,this._rQi,this._rQlen-this._rQi));this._rQlen=this._rQlen-this._rQi,this._rQi=0}},{key:"_DecodeMessage",value:function(n){var l=new Uint8Array(n);l.length>this._rQbufferSize-this._rQlen&&this._expandCompactRQ(l.length),this._rQ.set(l,this._rQlen),this._rQlen+=l.length}},{key:"_recvMessage",value:function(n){this._DecodeMessage(n.data),this.rQlen>0?(this._eventHandlers.message(),this._rQlen==this._rQi&&(this._rQlen=0,this._rQi=0)):f.Debug("Ignoring empty message")}},{key:"sQ",get:function(){return this._sQ}},{key:"rQ",get:function(){return this._rQ}},{key:"rQi",get:function(){return this._rQi},set:function(n){this._rQi=n}},{key:"rQlen",get:function(){return this._rQlen-this._rQi}}]),o}();I.default=r},MqEG:function(R,I,e){var g=e("bYtY"),f=e("fc+c"),b=e("72pK"),m=e("VXYp"),y=g.bind,h=f.extend({type:"dataZoom.inside",init:function(o,d){this._range},render:function(o,d,n,l){h.superApply(this,"render",arguments),this._range=o.getPercentRange(),g.each(this.getTargetCoordInfo(),function(t,s){var c=g.map(t,function(p){return m.generateCoordId(p.model)});g.each(t,function(p){var A=p.model,w={};g.each(["pan","zoom","scrollMove"],function(C){w[C]=y(u[C],this,p,s)},this),m.register(n,{coordId:m.generateCoordId(A),allCoordIds:c,containsPoint:function(C,x,E){return A.coordinateSystem.containPoint([x,E])},dataZoomId:o.id,dataZoomModel:o,getRange:w})},this)},this)},dispose:function(){m.unregister(this.api,this.dataZoomModel.id),h.superApply(this,"dispose",arguments),this._range=null}}),u={zoom:function(o,d,n,l){var t=this._range,s=t.slice(),c=o.axisModels[0];if(!c)return;var p=a[d](null,[l.originX,l.originY],c,n,o),A=(p.signal>0?p.pixelStart+p.pixelLength-p.pixel:p.pixel-p.pixelStart)/p.pixelLength*(s[1]-s[0])+s[0],w=Math.max(1/l.scale,0);s[0]=(s[0]-A)*w+A,s[1]=(s[1]-A)*w+A;var C=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(b(0,s,[0,100],0,C.minSpan,C.maxSpan),this._range=s,t[0]!==s[0]||t[1]!==s[1])return s},pan:i(function(o,d,n,l,t,s){var c=a[l]([s.oldX,s.oldY],[s.newX,s.newY],d,t,n);return c.signal*(o[1]-o[0])*c.pixel/c.pixelLength}),scrollMove:i(function(o,d,n,l,t,s){var c=a[l]([0,0],[s.scrollDelta,s.scrollDelta],d,t,n);return c.signal*(o[1]-o[0])*s.scrollDelta})};function i(o){return function(d,n,l,t){var s=this._range,c=s.slice(),p=d.axisModels[0];if(!p)return;var A=o(c,p,d,n,l,t);if(b(A,c,[0,100],"all"),this._range=c,s[0]!==c[0]||s[1]!==c[1])return c}}var a={grid:function(o,d,n,l,t){var s=n.axis,c={},p=t.model.coordinateSystem.getRect();return o=o||[0,0],s.dim==="x"?(c.pixel=d[0]-o[0],c.pixelLength=p.width,c.pixelStart=p.x,c.signal=s.inverse?1:-1):(c.pixel=d[1]-o[1],c.pixelLength=p.height,c.pixelStart=p.y,c.signal=s.inverse?-1:1),c},polar:function(o,d,n,l,t){var s=n.axis,c={},p=t.model.coordinateSystem,A=p.getRadiusAxis().getExtent(),w=p.getAngleAxis().getExtent();return o=o?p.pointToCoord(o):[0,0],d=p.pointToCoord(d),n.mainType==="radiusAxis"?(c.pixel=d[0]-o[0],c.pixelLength=A[1]-A[0],c.pixelStart=A[0],c.signal=s.inverse?1:-1):(c.pixel=d[1]-o[1],c.pixelLength=w[1]-w[0],c.pixelStart=w[0],c.signal=s.inverse?-1:1),c},singleAxis:function(o,d,n,l,t){var s=n.axis,c=t.model.coordinateSystem.getRect(),p={};return o=o||[0,0],s.orient==="horizontal"?(p.pixel=d[0]-o[0],p.pixelLength=c.width,p.pixelStart=c.x,p.signal=s.inverse?1:-1):(p.pixel=d[1]-o[1],p.pixelLength=c.height,p.pixelStart=c.y,p.signal=s.inverse?-1:1),p}},r=h;R.exports=r},MvSz:function(R,I,e){var g=e("LXxW"),f=e("0ycA"),b=Object.prototype,m=b.propertyIsEnumerable,y=Object.getOwnPropertySymbols,h=y?function(u){return u==null?[]:(u=Object(u),g(y(u),function(i){return m.call(u,i)}))}:f;R.exports=h},MwEJ:function(R,I,e){var g=e("bYtY"),f=e("YXkt"),b=e("sdST"),m=e("k9D9"),y=m.SOURCE_FORMAT_ORIGINAL,h=e("L0Ub"),u=h.getDimensionTypeByAxis,i=e("4NO4"),a=i.getDataItemValue,r=e("IDmD"),o=e("i38C"),d=o.getCoordSysInfoBySeries,n=e("7G+c"),l=e("7hqr"),t=l.enableDataStack,s=e("D5nY"),c=s.makeSeriesEncodeForAxisCoordSys;function p(x,E,T){T=T||{},n.isInstance(x)||(x=n.seriesDataToSource(x));var _=E.get("coordinateSystem"),v=r.get(_),S=d(E),O;S&&(O=g.map(S.coordSysDims,function(N){var H={name:N},j=S.axisMap.get(N);if(j){var k=j.get("type");H.type=u(k)}return H})),O||(O=v&&(v.getDimensionsInfo?v.getDimensionsInfo():v.dimensions.slice())||["x","y"]);var L=b(x,{coordDimensions:O,generateCoord:T.generateCoord,encodeDefaulter:T.useEncodeDefaulter?g.curry(c,O,E):null}),M,F;S&&g.each(L,function(N,H){var j=N.coordDim,k=S.categoryAxisMap.get(j);k&&(M==null&&(M=H),N.ordinalMeta=k.getOrdinalMeta()),N.otherDims.itemName!=null&&(F=!0)}),!F&&M!=null&&(L[M].otherDims.itemName=0);var U=t(E,L),z=new f(L,E);z.setCalculationInfo(U);var W=M!=null&&A(x)?function(N,H,j,k){return k===M?j:this.defaultDimValueGetter(N,H,j,k)}:null;return z.hasItemOption=!1,z.initData(x,null,W),z}function A(x){if(x.sourceFormat===y){var E=w(x.data||[]);return E!=null&&!g.isArray(a(E))}}function w(x){for(var E=0;E<x.length&&x[E]==null;)E++;return x[E]}var C=p;R.exports=C},Mylv:function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("IwbS"),m=e("oVpE"),y=m.createSymbol,h=e("OELB"),u=h.parsePercent,i=h.isNumeric,a=e("56rv"),r=a.setLabel,o=["itemStyle","borderWidth"],d=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],n=new b.Circle,l=g.extendChartView({type:"pictorialBar",render:function(B,V,K){var Y=this.group,Q=B.getData(),he=this._data,G=B.coordinateSystem,ye=G.getBaseAxis(),Ae=!!ye.isHorizontal(),ge=G.grid.getRect(),Pe={ecSize:{width:K.getWidth(),height:K.getHeight()},seriesModel:B,coordSys:G,coordSysExtent:[[ge.x,ge.x+ge.width],[ge.y,ge.y+ge.height]],isHorizontal:Ae,valueDim:d[+Ae],categoryDim:d[1-Ae]};return Q.diff(he).add(function(Re){if(!Q.hasValue(Re))return;var rt=v(Q,Re),ne=t(Q,Re,rt,Pe),be=M(Q,Pe,ne);Q.setItemGraphicEl(Re,be),Y.add(be),H(be,Pe,ne)}).update(function(Re,rt){var ne=he.getItemGraphicEl(rt);if(!Q.hasValue(Re)){Y.remove(ne);return}var be=v(Q,Re),at=t(Q,Re,be,Pe),se=z(Q,at);ne&&se!==ne.__pictorialShapeStr&&(Y.remove(ne),Q.setItemGraphicEl(Re,null),ne=null),ne?F(ne,Pe,at):ne=M(Q,Pe,at,!0),Q.setItemGraphicEl(Re,ne),ne.__pictorialSymbolMeta=at,Y.add(ne),H(ne,Pe,at)}).remove(function(Re){var rt=he.getItemGraphicEl(Re);rt&&U(he,Re,rt.__pictorialSymbolMeta.animationModel,rt)}).execute(),this._data=Q,this.group},dispose:f.noop,remove:function(B,V){var K=this.group,Y=this._data;B.get("animation")?Y&&Y.eachItemGraphicEl(function(Q){U(Y,Q.dataIndex,B,Q)}):K.removeAll()}});function t(B,V,K,Y){var Q=B.getItemLayout(V),he=K.get("symbolRepeat"),G=K.get("symbolClip"),ye=K.get("symbolPosition")||"start",Ae=K.get("symbolRotate"),ge=(Ae||0)*Math.PI/180||0,Pe=K.get("symbolPatternSize")||2,Re=K.isAnimationEnabled(),rt={dataIndex:V,layout:Q,itemModel:K,symbolType:B.getItemVisual(V,"symbol")||"circle",color:B.getItemVisual(V,"color"),symbolClip:G,symbolRepeat:he,symbolRepeatDirection:K.get("symbolRepeatDirection"),symbolPatternSize:Pe,rotation:ge,animationModel:Re?K:null,hoverAnimation:Re&&K.get("hoverAnimation"),z2:K.getShallow("z",!0)||0};s(K,he,Q,Y,rt),p(B,V,Q,he,G,rt.boundingLength,rt.pxSign,Pe,Y,rt),A(K,rt.symbolScale,ge,Y,rt);var ne=rt.symbolSize,be=K.get("symbolOffset");return f.isArray(be)&&(be=[u(be[0],ne[0]),u(be[1],ne[1])]),w(K,ne,Q,he,G,be,ye,rt.valueLineWidth,rt.boundingLength,rt.repeatCutLength,Y,rt),rt}function s(B,V,K,Y,Q){var he=Y.valueDim,G=B.get("symbolBoundingData"),ye=Y.coordSys.getOtherAxis(Y.coordSys.getBaseAxis()),Ae=ye.toGlobalCoord(ye.dataToCoord(0)),ge=1-+(K[he.wh]<=0),Pe;if(f.isArray(G)){var Re=[c(ye,G[0])-Ae,c(ye,G[1])-Ae];Re[1]<Re[0]&&Re.reverse(),Pe=Re[ge]}else G!=null?Pe=c(ye,G)-Ae:V?Pe=Y.coordSysExtent[he.index][ge]-Ae:Pe=K[he.wh];Q.boundingLength=Pe,V&&(Q.repeatCutLength=K[he.wh]),Q.pxSign=Pe>0?1:Pe<0?-1:0}function c(B,V){return B.toGlobalCoord(B.dataToCoord(B.scale.parse(V)))}function p(B,V,K,Y,Q,he,G,ye,Ae,ge){var Pe=Ae.valueDim,Re=Ae.categoryDim,rt=Math.abs(K[Re.wh]),ne=B.getItemVisual(V,"symbolSize");f.isArray(ne)?ne=ne.slice():(ne==null&&(ne="100%"),ne=[ne,ne]),ne[Re.index]=u(ne[Re.index],rt),ne[Pe.index]=u(ne[Pe.index],Y?rt:Math.abs(he)),ge.symbolSize=ne;var be=ge.symbolScale=[ne[0]/ye,ne[1]/ye];be[Pe.index]*=(Ae.isHorizontal?-1:1)*G}function A(B,V,K,Y,Q){var he=B.get(o)||0;he&&(n.attr({scale:V.slice(),rotation:K}),n.updateTransform(),he/=n.getLineScale(),he*=V[Y.valueDim.index]),Q.valueLineWidth=he}function w(B,V,K,Y,Q,he,G,ye,Ae,ge,Pe,Re){var rt=Pe.categoryDim,ne=Pe.valueDim,be=Re.pxSign,at=Math.max(V[ne.index]+ye,0),se=at;if(Y){var q=Math.abs(Ae),X=f.retrieve(B.get("symbolMargin"),"15%")+"",Z=!1;X.lastIndexOf("!")===X.length-1&&(Z=!0,X=X.slice(0,X.length-1)),X=u(X,V[ne.index]);var pe=Math.max(at+X*2,0),oe=Z?0:X*2,Ie=i(Y),fe=Ie?Y:j((q+oe)/pe),te=q-fe*at;X=te/2/(Z?fe:fe-1),pe=at+X*2,oe=Z?0:X*2,!Ie&&Y!=="fixed"&&(fe=ge?j((Math.abs(ge)+oe)/pe):0),se=fe*pe-oe,Re.repeatTimes=fe,Re.symbolMargin=X}var J=be*(se/2),ve=Re.pathPosition=[];ve[rt.index]=K[rt.wh]/2,ve[ne.index]=G==="start"?J:G==="end"?Ae-J:Ae/2,he&&(ve[0]+=he[0],ve[1]+=he[1]);var De=Re.bundlePosition=[];De[rt.index]=K[rt.xy],De[ne.index]=K[ne.xy];var ze=Re.barRectShape=f.extend({},K);ze[ne.wh]=be*Math.max(Math.abs(K[ne.wh]),Math.abs(ve[ne.index]+J)),ze[rt.wh]=K[rt.wh];var dt=Re.clipShape={};dt[rt.xy]=-K[rt.xy],dt[rt.wh]=Pe.ecSize[rt.wh],dt[ne.xy]=0,dt[ne.wh]=K[ne.wh]}function C(B){var V=B.symbolPatternSize,K=y(B.symbolType,-V/2,-V/2,V,V,B.color);return K.attr({culling:!0}),K.type!=="image"&&K.setStyle({strokeNoScale:!0}),K}function x(B,V,K,Y){var Q=B.__pictorialBundle,he=K.symbolSize,G=K.valueLineWidth,ye=K.pathPosition,Ae=V.valueDim,ge=K.repeatTimes||0,Pe=0,Re=he[V.valueDim.index]+G+K.symbolMargin*2;for(W(B,function(q){q.__pictorialAnimationIndex=Pe,q.__pictorialRepeatTimes=ge,Pe<ge?N(q,null,be(Pe),K,Y):N(q,null,{scale:[0,0]},K,Y,function(){Q.remove(q)}),L(q,K),Pe++});Pe<ge;Pe++){var rt=C(K);rt.__pictorialAnimationIndex=Pe,rt.__pictorialRepeatTimes=ge,Q.add(rt);var ne=be(Pe);N(rt,{position:ne.position,scale:[0,0]},{scale:ne.scale,rotation:ne.rotation},K,Y),rt.on("mouseover",at).on("mouseout",se),L(rt,K)}function be(q){var X=ye.slice(),Z=K.pxSign,pe=q;return(K.symbolRepeatDirection==="start"?Z>0:Z<0)&&(pe=ge-1-q),X[Ae.index]=Re*(pe-ge/2+.5)+ye[Ae.index],{position:X,scale:K.symbolScale.slice(),rotation:K.rotation}}function at(){W(B,function(q){q.trigger("emphasis")})}function se(){W(B,function(q){q.trigger("normal")})}}function E(B,V,K,Y){var Q=B.__pictorialBundle,he=B.__pictorialMainPath;he?N(he,null,{position:K.pathPosition.slice(),scale:K.symbolScale.slice(),rotation:K.rotation},K,Y):(he=B.__pictorialMainPath=C(K),Q.add(he),N(he,{position:K.pathPosition.slice(),scale:[0,0],rotation:K.rotation},{scale:K.symbolScale.slice()},K,Y),he.on("mouseover",G).on("mouseout",ye)),L(he,K);function G(){this.trigger("emphasis")}function ye(){this.trigger("normal")}}function T(B,V,K){var Y=f.extend({},V.barRectShape),Q=B.__pictorialBarRect;Q?N(Q,null,{shape:Y},V,K):(Q=B.__pictorialBarRect=new b.Rect({z2:2,shape:Y,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),B.add(Q))}function _(B,V,K,Y){if(K.symbolClip){var Q=B.__pictorialClipPath,he=f.extend({},K.clipShape),G=V.valueDim,ye=K.animationModel,Ae=K.dataIndex;if(Q)b.updateProps(Q,{shape:he},ye,Ae);else{he[G.wh]=0,Q=new b.Rect({shape:he}),B.__pictorialBundle.setClipPath(Q),B.__pictorialClipPath=Q;var ge={};ge[G.wh]=K.clipShape[G.wh],b[Y?"updateProps":"initProps"](Q,{shape:ge},ye,Ae)}}}function v(B,V){var K=B.getItemModel(V);return K.getAnimationDelayParams=S,K.isAnimationEnabled=O,K}function S(B){return{index:B.__pictorialAnimationIndex,count:B.__pictorialRepeatTimes}}function O(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function L(B,V){B.off("emphasis").off("normal");var K=V.symbolScale.slice();V.hoverAnimation&&B.on("emphasis",function(){this.animateTo({scale:[K[0]*1.1,K[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:K.slice()},400,"elasticOut")})}function M(B,V,K,Y){var Q=new b.Group,he=new b.Group;return Q.add(he),Q.__pictorialBundle=he,he.attr("position",K.bundlePosition.slice()),K.symbolRepeat?x(Q,V,K):E(Q,V,K),T(Q,K,Y),_(Q,V,K,Y),Q.__pictorialShapeStr=z(B,K),Q.__pictorialSymbolMeta=K,Q}function F(B,V,K){var Y=K.animationModel,Q=K.dataIndex,he=B.__pictorialBundle;b.updateProps(he,{position:K.bundlePosition.slice()},Y,Q),K.symbolRepeat?x(B,V,K,!0):E(B,V,K,!0),T(B,K,!0),_(B,V,K,!0)}function U(B,V,K,Y){var Q=Y.__pictorialBarRect;Q&&(Q.style.text=null);var he=[];W(Y,function(G){he.push(G)}),Y.__pictorialMainPath&&he.push(Y.__pictorialMainPath),Y.__pictorialClipPath&&(K=null),f.each(he,function(G){b.updateProps(G,{scale:[0,0]},K,V,function(){Y.parent&&Y.parent.remove(Y)})}),B.setItemGraphicEl(V,null)}function z(B,V){return[B.getItemVisual(V.dataIndex,"symbol")||"none",!!V.symbolRepeat,!!V.symbolClip].join(":")}function W(B,V,K){f.each(B.__pictorialBundle.children(),function(Y){Y!==B.__pictorialBarRect&&V.call(K,Y)})}function N(B,V,K,Y,Q,he){V&&B.attr(V),Y.symbolClip&&!Q?K&&B.attr(K):K&&b[Q?"updateProps":"initProps"](B,K,Y.animationModel,Y.dataIndex,he)}function H(B,V,K){var Y=K.color,Q=K.dataIndex,he=K.itemModel,G=he.getModel("itemStyle").getItemStyle(["color"]),ye=he.getModel("emphasis.itemStyle").getItemStyle(),Ae=he.getShallow("cursor");W(B,function(rt){rt.setColor(Y),rt.setStyle(f.defaults({fill:Y,opacity:K.opacity},G)),b.setHoverStyle(rt,ye),Ae&&(rt.cursor=Ae),rt.z2=K.z2});var ge={},Pe=V.valueDim.posDesc[+(K.boundingLength>0)],Re=B.__pictorialBarRect;r(Re.style,ge,he,Y,V.seriesModel,Q,Pe),b.setHoverStyle(Re,ge)}function j(B){var V=Math.round(B);return Math.abs(B-V)<1e-4?V:Math.ceil(B)}var k=l;R.exports=k},"N/JB":function(R,I,e){"use strict";var g=e("TqRt");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var f=g(e("ToDW")),b=f.default;I.default=b},"N/zr":function(R,I,e){"use strict";function g(h){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(i){return typeof i}:g=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},g(h)}Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var f=m(e("Lo0S"));function b(){if(typeof WeakMap!="function")return null;var h=new WeakMap;return b=function(){return h},h}function m(h){if(h&&h.__esModule)return h;if(h===null||g(h)!=="object"&&typeof h!="function")return{default:h};var u=b();if(u&&u.has(h))return u.get(h);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in h)if(Object.prototype.hasOwnProperty.call(h,r)){var o=a?Object.getOwnPropertyDescriptor(h,r):null;o&&(o.get||o.set)?Object.defineProperty(i,r,o):i[r]=h[r]}return i.default=h,u&&u.set(h,i),i}var y={toBase64Table:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),base64Pad:"=",encode:function(u){"use strict";for(var i="",a=u.length,r=a%3,o=0;o<a-2;o+=3)i+=this.toBase64Table[u[o]>>2],i+=this.toBase64Table[((u[o]&3)<<4)+(u[o+1]>>4)],i+=this.toBase64Table[((u[o+1]&15)<<2)+(u[o+2]>>6)],i+=this.toBase64Table[u[o+2]&63];var d=a-r;return r===2?(i+=this.toBase64Table[u[d]>>2],i+=this.toBase64Table[((u[d]&3)<<4)+(u[d+1]>>4)],i+=this.toBase64Table[(u[d+1]&15)<<2],i+=this.toBase64Table[64]):r===1&&(i+=this.toBase64Table[u[d]>>2],i+=this.toBase64Table[(u[d]&3)<<4],i+=this.toBase64Table[64],i+=this.toBase64Table[64]),i},toBinaryTable:[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1],decode:function(u){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=u.indexOf("=")-i;a<0&&(a=u.length-i);for(var r=(a>>2)*3+Math.floor(a%4/1.5),o=new Array(r),d=0,n=0,l=0,t=i;t<u.length;t++){var s=this.toBinaryTable[u.charCodeAt(t)&127],c=u.charAt(t)===this.base64Pad;if(s===-1){f.Error("Illegal character code "+u.charCodeAt(t)+" at position "+t);continue}n=n<<6|s,d+=6,d>=8&&(d-=8,c||(o[l++]=n>>d&255),n&=(1<<d)-1)}if(d){var p=new Error("Corrupted base64 string");throw p.name="Base64-Error",p}return o}};I.default=y},N5BQ:function(R,I,e){var g=e("OlYY"),f=g.extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}}),b=f;R.exports=b},NA0q:function(R,I,e){var g=e("bYtY"),f=e("6Ic6"),b=e("TkdX"),m=e("gPAo"),y=e("7aKB"),h=y.windowOpen,u="sunburstRootToNode",i=f.extend({type:"sunburst",init:function(){},render:function(r,o,d,n){var l=this;this.seriesModel=r,this.api=d,this.ecModel=o;var t=r.getData(),s=t.tree.root,c=r.getViewRoot(),p=this.group,A=r.get("renderLabelForZeroData"),w=[];c.eachNode(function(O){w.push(O)});var C=this._oldChildren||[];if(T(w,C),S(s,c),n&&n.highlight&&n.highlight.piece){var x=r.getShallow("highlightPolicy");n.highlight.piece.onEmphasis(x)}else if(n&&n.unhighlight){var E=this.virtualPiece;!E&&s.children.length&&(E=s.children[0].piece),E&&E.onNormal()}this._initEvents(),this._oldChildren=w;function T(O,L){if(O.length===0&&L.length===0)return;new m(L,O,M,M).add(F).update(F).remove(g.curry(F,null)).execute();function M(U){return U.getId()}function F(U,z){var W=U==null?null:O[U],N=z==null?null:L[z];_(W,N)}}function _(O,L){if(!A&&O&&!O.getValue()&&(O=null),O!==s&&L!==s){if(L&&L.piece)O?(L.piece.updateData(!1,O,"normal",r,o),t.setItemGraphicEl(O.dataIndex,L.piece)):v(L);else if(O){var M=new b(O,r,o);p.add(M),t.setItemGraphicEl(O.dataIndex,M)}}}function v(O){if(!O)return;O.piece&&(p.remove(O.piece),O.piece=null)}function S(O,L){if(L.depth>0){l.virtualPiece?l.virtualPiece.updateData(!1,O,"normal",r,o):(l.virtualPiece=new b(O,r,o),p.add(l.virtualPiece)),L.piece._onclickEvent&&L.piece.off("click",L.piece._onclickEvent);var M=function(F){l._rootToNode(L.parentNode)};L.piece._onclickEvent=M,l.virtualPiece.on("click",M)}else l.virtualPiece&&(p.remove(l.virtualPiece),l.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var r=this,o=function(d){var n=!1,l=r.seriesModel.getViewRoot();l.eachNode(function(t){if(!n&&t.piece&&t.piece.childAt(0)===d.target){var s=t.getModel().get("nodeClick");if(s==="rootToNode")r._rootToNode(t);else if(s==="link"){var c=t.getModel(),p=c.get("link");if(p){var A=c.get("target",!0)||"_blank";h(p,A)}}n=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",o),this.group._onclickEvent=o},_rootToNode:function(r){r!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:u,from:this.uid,seriesId:this.seriesModel.id,targetNode:r})},containPoint:function(r,o){var d=o.getData(),n=d.getItemLayout(0);if(n){var l=r[0]-n.cx,t=r[1]-n.cy,s=Math.sqrt(l*l+t*t);return s<=n.r&&s>=n.r0}}}),a=i;R.exports=a},NAnI:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("wXyp"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},NBmB:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.encodingName=f,I.encodings=void 0;var g={encodingRaw:0,encodingCopyRect:1,encodingRRE:2,encodingHextile:5,encodingTight:7,encodingTightPNG:-260,pseudoEncodingQualityLevel9:-23,pseudoEncodingQualityLevel0:-32,pseudoEncodingDesktopSize:-223,pseudoEncodingLastRect:-224,pseudoEncodingCursor:-239,pseudoEncodingQEMUExtendedKeyEvent:-258,pseudoEncodingDesktopName:-307,pseudoEncodingExtendedDesktopSize:-308,pseudoEncodingXvp:-309,pseudoEncodingFence:-312,pseudoEncodingContinuousUpdates:-313,pseudoEncodingCompressLevel9:-247,pseudoEncodingCompressLevel0:-256,pseudoEncodingVMwareCursor:1464686180,pseudoEncodingExtendedClipboard:3231835598};I.encodings=g;function f(b){switch(b){case g.encodingRaw:return"Raw";case g.encodingCopyRect:return"CopyRect";case g.encodingRRE:return"RRE";case g.encodingHextile:return"Hextile";case g.encodingTight:return"Tight";case g.encodingTightPNG:return"TightPNG";default:return"[unknown encoding "+b+"]"}}},NC18:function(R,I,e){var g=e("y+Vt"),f=e("IMiH"),b=e("7oTu"),m=Math.sqrt,y=Math.sin,h=Math.cos,u=Math.PI,i=function(w){return Math.sqrt(w[0]*w[0]+w[1]*w[1])},a=function(w,C){return(w[0]*C[0]+w[1]*C[1])/(i(w)*i(C))},r=function(w,C){return(w[0]*C[1]<w[1]*C[0]?-1:1)*Math.acos(a(w,C))};function o(A,w,C,x,E,T,_,v,S,O,L){var M=S*(u/180),F=h(M)*(A-C)/2+y(M)*(w-x)/2,U=-1*y(M)*(A-C)/2+h(M)*(w-x)/2,z=F*F/(_*_)+U*U/(v*v);z>1&&(_*=m(z),v*=m(z));var W=(E===T?-1:1)*m((_*_*(v*v)-_*_*(U*U)-v*v*(F*F))/(_*_*(U*U)+v*v*(F*F)))||0,N=W*_*U/v,H=W*-v*F/_,j=(A+C)/2+h(M)*N-y(M)*H,k=(w+x)/2+y(M)*N+h(M)*H,B=r([1,0],[(F-N)/_,(U-H)/v]),V=[(F-N)/_,(U-H)/v],K=[(-1*F-N)/_,(-1*U-H)/v],Y=r(V,K);a(V,K)<=-1&&(Y=u),a(V,K)>=1&&(Y=0),T===0&&Y>0&&(Y=Y-2*u),T===1&&Y<0&&(Y=Y+2*u),L.addData(O,j,k,_,v,B,Y,M,T)}var d=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,n=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function l(A){if(!A)return new f;for(var w=0,C=0,x=w,E=C,T,_=new f,v=f.CMD,S=A.match(d),O=0;O<S.length;O++){for(var L=S[O],M=L.charAt(0),F,U=L.match(n)||[],z=U.length,W=0;W<z;W++)U[W]=parseFloat(U[W]);for(var N=0;N<z;){var H,j,k,B,V,K,Y,Q=w,he=C;switch(M){case"l":w+=U[N++],C+=U[N++],F=v.L,_.addData(F,w,C);break;case"L":w=U[N++],C=U[N++],F=v.L,_.addData(F,w,C);break;case"m":w+=U[N++],C+=U[N++],F=v.M,_.addData(F,w,C),x=w,E=C,M="l";break;case"M":w=U[N++],C=U[N++],F=v.M,_.addData(F,w,C),x=w,E=C,M="L";break;case"h":w+=U[N++],F=v.L,_.addData(F,w,C);break;case"H":w=U[N++],F=v.L,_.addData(F,w,C);break;case"v":C+=U[N++],F=v.L,_.addData(F,w,C);break;case"V":C=U[N++],F=v.L,_.addData(F,w,C);break;case"C":F=v.C,_.addData(F,U[N++],U[N++],U[N++],U[N++],U[N++],U[N++]),w=U[N-2],C=U[N-1];break;case"c":F=v.C,_.addData(F,U[N++]+w,U[N++]+C,U[N++]+w,U[N++]+C,U[N++]+w,U[N++]+C),w+=U[N-2],C+=U[N-1];break;case"S":H=w,j=C;var G=_.len(),ye=_.data;T===v.C&&(H+=w-ye[G-4],j+=C-ye[G-3]),F=v.C,Q=U[N++],he=U[N++],w=U[N++],C=U[N++],_.addData(F,H,j,Q,he,w,C);break;case"s":H=w,j=C;var G=_.len(),ye=_.data;T===v.C&&(H+=w-ye[G-4],j+=C-ye[G-3]),F=v.C,Q=w+U[N++],he=C+U[N++],w+=U[N++],C+=U[N++],_.addData(F,H,j,Q,he,w,C);break;case"Q":Q=U[N++],he=U[N++],w=U[N++],C=U[N++],F=v.Q,_.addData(F,Q,he,w,C);break;case"q":Q=U[N++]+w,he=U[N++]+C,w+=U[N++],C+=U[N++],F=v.Q,_.addData(F,Q,he,w,C);break;case"T":H=w,j=C;var G=_.len(),ye=_.data;T===v.Q&&(H+=w-ye[G-4],j+=C-ye[G-3]),w=U[N++],C=U[N++],F=v.Q,_.addData(F,H,j,w,C);break;case"t":H=w,j=C;var G=_.len(),ye=_.data;T===v.Q&&(H+=w-ye[G-4],j+=C-ye[G-3]),w+=U[N++],C+=U[N++],F=v.Q,_.addData(F,H,j,w,C);break;case"A":k=U[N++],B=U[N++],V=U[N++],K=U[N++],Y=U[N++],Q=w,he=C,w=U[N++],C=U[N++],F=v.A,o(Q,he,w,C,K,Y,k,B,V,F,_);break;case"a":k=U[N++],B=U[N++],V=U[N++],K=U[N++],Y=U[N++],Q=w,he=C,w+=U[N++],C+=U[N++],F=v.A,o(Q,he,w,C,K,Y,k,B,V,F,_);break}}(M==="z"||M==="Z")&&(F=v.Z,_.addData(F),w=x,C=E),T=F}return _.toStatic(),_}function t(A,w){var C=l(A);return w=w||{},w.buildPath=function(x){if(x.setData){x.setData(C.data);var E=x.getContext();E&&x.rebuildPath(E)}else{var E=x;C.rebuildPath(E)}},w.applyTransform=function(x){b(C,x),this.dirty(!0)},w}function s(A,w){return new g(t(A,w))}function c(A,w){return g.extend(t(A,w))}function p(A,w){for(var C=[],x=A.length,E=0;E<x;E++){var T=A[E];T.path||T.createPathProxy(),T.__dirtyPath&&T.buildPath(T.path,T.shape,!0),C.push(T.path)}var _=new g(w);return _.createPathProxy(),_.buildPath=function(v){v.appendPath(C);var S=v.getContext();S&&v.rebuildPath(S)},_}I.createFromString=s,I.extendFromString=c,I.mergePath=p},NH9N:function(R,I,e){var g=e("bYtY"),f=e("mFDi"),b=e("Fofx"),m=e("IwbS"),y=e("+TT/"),h=e("kzvK"),u=e("CMP+"),i=e("oVpE"),a=i.createSymbol,r=e("aX7z"),o=e("OELB"),d=e("7aKB"),n=d.encodeHTML,l=g.bind,t=g.each,s=Math.PI,c=h.extend({type:"timeline.slider",init:function(x,E){this.api=E,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(x,E,T,_){if(this.model=x,this.api=T,this.ecModel=E,this.group.removeAll(),x.get("show",!0)){var v=this._layout(x,T),S=this._createGroup("mainGroup"),O=this._createGroup("labelGroup"),L=this._axis=this._createAxis(v,x);x.formatTooltip=function(M){return n(L.scale.getLabel(M))},t(["AxisLine","AxisTick","Control","CurrentPointer"],function(M){this["_render"+M](v,S,L,x)},this),this._renderAxisLabel(v,O,L,x),this._position(v,x)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(x,E){var T=x.get("label.position"),_=x.get("orient"),v=p(x,E);T==null||T==="auto"?T=_==="horizontal"?v.y+v.height/2<E.getHeight()/2?"-":"+":v.x+v.width/2<E.getWidth()/2?"+":"-":isNaN(T)&&(T={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[_][T]);var S={horizontal:"center",vertical:T>=0||T==="+"?"left":"right"},O={horizontal:T>=0||T==="+"?"top":"bottom",vertical:"middle"},L={horizontal:0,vertical:s/2},M=_==="vertical"?v.height:v.width,F=x.getModel("controlStyle"),U=F.get("show",!0),z=U?F.get("itemSize"):0,W=U?F.get("itemGap"):0,N=z+W,H=x.get("label.rotate")||0;H=H*s/180;var j,k,B,V,K=F.get("position",!0),Y=U&&F.get("showPlayBtn",!0),Q=U&&F.get("showPrevBtn",!0),he=U&&F.get("showNextBtn",!0),G=0,ye=M;return K==="left"||K==="bottom"?(Y&&(j=[0,0],G+=N),Q&&(k=[G,0],G+=N),he&&(B=[ye-z,0],ye-=N)):(Y&&(j=[ye-z,0],ye-=N),Q&&(k=[0,0],G+=N),he&&(B=[ye-z,0],ye-=N)),V=[G,ye],x.get("inverse")&&V.reverse(),{viewRect:v,mainLength:M,orient:_,rotation:L[_],labelRotation:H,labelPosOpt:T,labelAlign:x.get("label.align")||S[_],labelBaseline:x.get("label.verticalAlign")||x.get("label.baseline")||O[_],playPosition:j,prevBtnPosition:k,nextBtnPosition:B,axisExtent:V,controlSize:z,controlGap:W}},_position:function(x,E){var T=this._mainGroup,_=this._labelGroup,v=x.viewRect;if(x.orient==="vertical"){var S=b.create(),O=v.x,L=v.y+v.height;b.translate(S,S,[-O,-L]),b.rotate(S,S,-s/2),b.translate(S,S,[O,L]),v=v.clone(),v.applyTransform(S)}var M=k(v),F=k(T.getBoundingRect()),U=k(_.getBoundingRect()),z=T.position,W=_.position;W[0]=z[0]=M[0][0];var N=x.labelPosOpt;if(isNaN(N)){var H=N==="+"?0:1;B(z,F,M,1,H),B(W,U,M,1,1-H)}else{var H=N>=0?0:1;B(z,F,M,1,H),W[1]=z[1]+N}T.attr("position",z),_.attr("position",W),T.rotation=_.rotation=x.rotation,j(T),j(_);function j(V){var K=V.position;V.origin=[M[0][0]-K[0],M[1][0]-K[1]]}function k(V){return[[V.x,V.x+V.width],[V.y,V.y+V.height]]}function B(V,K,Y,Q,he){V[Q]+=Y[Q][he]-K[Q][he]}},_createAxis:function(x,E){var T=E.getData(),_=E.get("axisType"),v=r.createScaleByModel(E,_);v.getTicks=function(){return T.mapArray(["value"],function(L){return L})};var S=T.getDataExtent("value");v.setExtent(S[0],S[1]),v.niceTicks();var O=new u("value",v,x.axisExtent,_);return O.model=E,O},_createGroup:function(x){var E=this["_"+x]=new m.Group;return this.group.add(E),E},_renderAxisLine:function(x,E,T,_){var v=T.getExtent();if(!_.get("lineStyle.show"))return;E.add(new m.Line({shape:{x1:v[0],y1:0,x2:v[1],y2:0},style:g.extend({lineCap:"round"},_.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(x,E,T,_){var v=_.getData(),S=T.scale.getTicks();t(S,function(O){var L=T.dataToCoord(O),M=v.getItemModel(O),F=M.getModel("itemStyle"),U=M.getModel("emphasis.itemStyle"),z={position:[L,0],onclick:l(this._changeTimeline,this,O)},W=w(M,F,E,z);m.setHoverStyle(W,U.getItemStyle()),M.get("tooltip")?(W.dataIndex=O,W.dataModel=_):W.dataIndex=W.dataModel=null},this)},_renderAxisLabel:function(x,E,T,_){var v=T.getLabelModel();if(!v.get("show"))return;var S=_.getData(),O=T.getViewLabels();t(O,function(L){var M=L.tickValue,F=S.getItemModel(M),U=F.getModel("label"),z=F.getModel("emphasis.label"),W=T.dataToCoord(L.tickValue),N=new m.Text({position:[W,0],rotation:x.labelRotation-x.rotation,onclick:l(this._changeTimeline,this,M),silent:!1});m.setTextStyle(N.style,U,{text:L.formattedLabel,textAlign:x.labelAlign,textVerticalAlign:x.labelBaseline}),E.add(N),m.setHoverStyle(N,m.setTextStyle({},z))},this)},_renderControl:function(x,E,T,_){var v=x.controlSize,S=x.rotation,O=_.getModel("controlStyle").getItemStyle(),L=_.getModel("emphasis.controlStyle").getItemStyle(),M=[0,-v/2,v,v],F=_.getPlayState(),U=_.get("inverse",!0);z(x.nextBtnPosition,"controlStyle.nextIcon",l(this._changeTimeline,this,U?"-":"+")),z(x.prevBtnPosition,"controlStyle.prevIcon",l(this._changeTimeline,this,U?"+":"-")),z(x.playPosition,"controlStyle."+(F?"stopIcon":"playIcon"),l(this._handlePlayClick,this,!F),!0);function z(W,N,H,j){if(!W)return;var k={position:W,origin:[v/2,0],rotation:j?-S:0,rectHover:!0,style:O,onclick:H},B=A(_,N,M,k);E.add(B),m.setHoverStyle(B,L)}},_renderCurrentPointer:function(x,E,T,_){var v=_.getData(),S=_.getCurrentIndex(),O=v.getItemModel(S).getModel("checkpointStyle"),L=this,M={onCreate:function(F){F.draggable=!0,F.drift=l(L._handlePointerDrag,L),F.ondragend=l(L._handlePointerDragend,L),C(F,S,T,_,!0)},onUpdate:function(F){C(F,S,T,_)}};this._currentPointer=w(O,O,this._mainGroup,{},this._currentPointer,M)},_handlePlayClick:function(x){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:x,from:this.uid})},_handlePointerDrag:function(x,E,T){this._clearTimer(),this._pointerChangeTimeline([T.offsetX,T.offsetY])},_handlePointerDragend:function(x){this._pointerChangeTimeline([x.offsetX,x.offsetY],!0)},_pointerChangeTimeline:function(x,E){var T=this._toAxisCoord(x)[0],_=this._axis,v=o.asc(_.getExtent().slice());T>v[1]&&(T=v[1]),T<v[0]&&(T=v[0]),this._currentPointer.position[0]=T,this._currentPointer.dirty();var S=this._findNearestTick(T),O=this.model;(E||S!==O.getCurrentIndex()&&O.get("realtime"))&&this._changeTimeline(S)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(l(x,this),this.model.get("playInterval")));function x(){var E=this.model;this._changeTimeline(E.getCurrentIndex()+(E.get("rewind",!0)?-1:1))}},_toAxisCoord:function(x){var E=this._mainGroup.getLocalTransform();return m.applyTransform(x,E,!0)},_findNearestTick:function(x){var E=this.model.getData(),T=Infinity,_,v=this._axis;return E.each(["value"],function(S,O){var L=v.dataToCoord(S),M=Math.abs(L-x);M<T&&(T=M,_=O)}),_},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(x){var E=this.model.getCurrentIndex();x==="+"?x=E+1:x==="-"&&(x=E-1),this.api.dispatchAction({type:"timelineChange",currentIndex:x,from:this.uid})}});function p(x,E){return y.getLayoutRect(x.getBoxLayoutParams(),{width:E.getWidth(),height:E.getHeight()},x.get("padding"))}function A(x,E,T,_){var v=m.makePath(x.get(E).replace(/^path:\/\//,""),g.clone(_||{}),new f(T[0],T[1],T[2],T[3]),"center");return v}function w(x,E,T,_,v,S){var O=E.get("color");if(v)v.setColor(O),T.add(v),S&&S.onUpdate(v);else{var L=x.get("symbol");v=a(L,-1,-1,2,2,O),v.setStyle("strokeNoScale",!0),T.add(v),S&&S.onCreate(v)}var M=E.getItemStyle(["color","symbol","symbolSize"]);v.setStyle(M),_=g.merge({rectHover:!0,z2:100},_,!0);var F=x.get("symbolSize");F=F instanceof Array?F.slice():[+F,+F],F[0]/=2,F[1]/=2,_.scale=F;var U=x.get("symbolOffset");if(U){var z=_.position=_.position||[0,0];z[0]+=o.parsePercent(U[0],F[0]),z[1]+=o.parsePercent(U[1],F[1])}var W=x.get("symbolRotate");return _.rotation=(W||0)*Math.PI/180||0,v.attr(_),v.updateTransform(),v}function C(x,E,T,_,v){if(x.dragging)return;var S=_.getModel("checkpointStyle"),O=T.dataToCoord(_.getData().get(["value"],E));v||!S.get("animation",!0)?x.attr({position:[O,0]}):(x.stopAnimation(!0),x.animateTo({position:[O,0]},S.get("animationDuration",!0),S.get("animationEasing",!0)))}R.exports=c},NJEC:function(R,I,e){"use strict";var g=e("pVnL"),f=e.n(g),b=e("J4zp"),m=e.n(b),y=e("q1tI"),h=e.n(y),u=e("TSYQ"),i=e.n(u),a=e("sKbD"),r=e.n(a),o=e("4IlW"),d=e("3S7+"),n=e("2/Rp"),l=e("zvFY"),t=e("YMnH"),s=e("ZvpZ"),c=e("H84U"),p=e("bogI"),A=e("0n0R"),w=void 0,C=function(E,T){var _={};for(var v in E)Object.prototype.hasOwnProperty.call(E,v)&&T.indexOf(v)<0&&(_[v]=E[v]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,v=Object.getOwnPropertySymbols(E);S<v.length;S++)T.indexOf(v[S])<0&&Object.prototype.propertyIsEnumerable.call(E,v[S])&&(_[v[S]]=E[v[S]]);return _},x=y.forwardRef(function(E,T){var _=y.useState(E.visible),v=m()(_,2),S=v[0],O=v[1];y.useEffect(function(){"visible"in E&&O(E.visible)},[E.visible]),y.useEffect(function(){"defaultVisible"in E&&O(E.defaultVisible)},[E.defaultVisible]);var L=function(Ae,ge){"visible"in E||O(Ae),E.onVisibleChange&&E.onVisibleChange(Ae,ge)},M=function(Ae){L(!1,Ae),E.onConfirm&&E.onConfirm.call(w,Ae)},F=function(Ae){L(!1,Ae),E.onCancel&&E.onCancel.call(w,Ae)},U=function(Ae){Ae.keyCode===o.a.ESC&&S&&L(!1,Ae)},z=function(Ae){var ge=E.disabled;if(ge)return;L(Ae)},W=function(Ae,ge){var Pe=E.okButtonProps,Re=E.cancelButtonProps,rt=E.title,ne=E.cancelText,be=E.okText,at=E.okType,se=E.icon;return y.createElement("div",{className:"".concat(Ae,"-inner-content")},y.createElement("div",{className:"".concat(Ae,"-message")},se,y.createElement("div",{className:"".concat(Ae,"-message-title")},Object(p.a)(rt))),y.createElement("div",{className:"".concat(Ae,"-buttons")},y.createElement(n.a,f()({onClick:F,size:"small"},Re),ne||ge.cancelText),y.createElement(n.a,f()({onClick:M},Object(l.a)(at),{size:"small"},Pe),be||ge.okText)))},N=y.useContext(c.b),H=N.getPrefixCls,j=E.prefixCls,k=E.placement,B=E.children,V=E.overlayClassName,K=C(E,["prefixCls","placement","children","overlayClassName"]),Y=H("popover",j),Q=H("popconfirm",j),he=i()(Q,V),G=y.createElement(t.a,{componentName:"Popconfirm",defaultLocale:s.a.Popconfirm},function(ye){return W(Y,ye)});return y.createElement(d.a,f()({},K,{prefixCls:Y,placement:k,onVisibleChange:z,visible:S,overlay:G,overlayClassName:he,ref:T}),Object(A.a)(B,{onKeyDown:function(Ae){var ge,Pe;(Pe=B==null?void 0:(ge=B.props).onKeyDown)===null||Pe===void 0||Pe.call(ge,Ae),U(Ae)}}))});x.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:y.createElement(r.a,null),disabled:!1},I.a=x},NKxu:function(R,I,e){var g=e("lSCD"),f=e("E2jh"),b=e("GoyQ"),m=e("3Fdi"),y=/[\\^$.*+?()[\]{}|]/g,h=/^\[object .+?Constructor\]$/,u=Function.prototype,i=Object.prototype,a=u.toString,r=i.hasOwnProperty,o=RegExp("^"+a.call(r).replace(y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function d(n){if(!b(n)||f(n))return!1;var l=g(n)?o:h;return l.test(m(n))}R.exports=d},NUBc:function(R,I,e){"use strict";var g=e("lSNA"),f=e.n(g),b=e("pVnL"),m=e.n(b),y=e("q1tI"),h=e.n(y),u=e("wx14"),i=e("rePB"),a=e("1OyB"),r=e("vuIU"),o=e("Ji7U"),d=e("md7G"),n=e("foSv"),l=e("TSYQ"),t=e.n(l),s=function(at){var se,q="".concat(at.rootPrefixCls,"-item"),X=t()(q,"".concat(q,"-").concat(at.page),(se={},Object(i.a)(se,"".concat(q,"-active"),at.active),Object(i.a)(se,at.className,!!at.className),Object(i.a)(se,"".concat(q,"-disabled"),!at.page),se)),Z=function(){at.onClick(at.page)},pe=function(Ie){at.onKeyPress(Ie,at.onClick,at.page)};return h.a.createElement("li",{title:at.showTitle?at.page:null,className:X,onClick:Z,onKeyPress:pe,tabIndex:"0"},at.itemRender(at.page,"page",h.a.createElement("a",{rel:"nofollow"},at.page)))},c=s,p={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40};function A(be){var at=w();return function(){var q=Object(n.a)(be),X;if(at){var Z=Object(n.a)(this).constructor;X=Reflect.construct(q,arguments,Z)}else X=q.apply(this,arguments);return Object(d.a)(this,X)}}function w(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(be){return!1}}var C=function(be){Object(o.a)(se,be);var at=A(se);function se(){var q;Object(a.a)(this,se);for(var X=arguments.length,Z=new Array(X),pe=0;pe<X;pe++)Z[pe]=arguments[pe];return q=at.call.apply(at,[this].concat(Z)),q.state={goInputText:""},q.buildOptionText=function(oe){return"".concat(oe," ").concat(q.props.locale.items_per_page)},q.changeSize=function(oe){q.props.changeSize(Number(oe))},q.handleChange=function(oe){q.setState({goInputText:oe.target.value})},q.handleBlur=function(oe){var Ie=q.props,fe=Ie.goButton,te=Ie.quickGo,J=Ie.rootPrefixCls,ve=q.state.goInputText;if(fe||ve==="")return;if(oe.relatedTarget&&(oe.relatedTarget.className.indexOf("".concat(J,"-prev"))>=0||oe.relatedTarget.className.indexOf("".concat(J,"-next"))>=0))return;q.setState({goInputText:""}),te(q.getValidValue())},q.go=function(oe){var Ie=q.state.goInputText;if(Ie==="")return;(oe.keyCode===p.ENTER||oe.type==="click")&&(q.setState({goInputText:""}),q.props.quickGo(q.getValidValue()))},q}return Object(r.a)(se,[{key:"getValidValue",value:function(){var X=this.state,Z=X.goInputText,pe=X.current;return!Z||isNaN(Z)?pe:Number(Z)}},{key:"getPageSizeOptions",value:function(){var X=this.props,Z=X.pageSize,pe=X.pageSizeOptions;return pe.some(function(oe){return oe.toString()===Z.toString()})?pe:pe.concat([Z.toString()]).sort(function(oe,Ie){var fe=isNaN(Number(oe))?0:Number(oe),te=isNaN(Number(Ie))?0:Number(Ie);return fe-te})}},{key:"render",value:function(){var X=this,Z=this.props,pe=Z.pageSize,oe=Z.locale,Ie=Z.rootPrefixCls,fe=Z.changeSize,te=Z.quickGo,J=Z.goButton,ve=Z.selectComponentClass,De=Z.buildOptionText,ze=Z.selectPrefixCls,dt=Z.disabled,Me=this.state.goInputText,Tt="".concat(Ie,"-options"),je=ve,st=null,Xe=null,Je=null;if(!fe&&!te)return null;var et=this.getPageSizeOptions();if(fe&&je){var ot=et.map(function(Ve,ue){return h.a.createElement(je.Option,{key:ue,value:Ve},(De||X.buildOptionText)(Ve))});st=h.a.createElement(je,{disabled:dt,prefixCls:ze,showSearch:!1,className:"".concat(Tt,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(pe||et[0]).toString(),onChange:this.changeSize,getPopupContainer:function(ue){return ue.parentNode}},ot)}return te&&(J&&(Je=typeof J=="boolean"?h.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:dt,className:"".concat(Tt,"-quick-jumper-button")},oe.jump_to_confirm):h.a.createElement("span",{onClick:this.go,onKeyUp:this.go},J)),Xe=h.a.createElement("div",{className:"".concat(Tt,"-quick-jumper")},oe.jump_to,h.a.createElement("input",{disabled:dt,type:"text",value:Me,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),oe.page,Je)),h.a.createElement("li",{className:"".concat(Tt)},st,Xe)}}]),se}(h.a.Component);C.defaultProps={pageSizeOptions:["10","20","50","100"]};var x=C,E=e("N2Kk");function T(be,at){var se=Object.keys(be);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(be);at&&(q=q.filter(function(X){return Object.getOwnPropertyDescriptor(be,X).enumerable})),se.push.apply(se,q)}return se}function _(be){for(var at=1;at<arguments.length;at++){var se=arguments[at]!=null?arguments[at]:{};at%2?T(Object(se),!0).forEach(function(q){Object(i.a)(be,q,se[q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(be,Object.getOwnPropertyDescriptors(se)):T(Object(se)).forEach(function(q){Object.defineProperty(be,q,Object.getOwnPropertyDescriptor(se,q))})}return be}function v(be){var at=S();return function(){var q=Object(n.a)(be),X;if(at){var Z=Object(n.a)(this).constructor;X=Reflect.construct(q,arguments,Z)}else X=q.apply(this,arguments);return Object(d.a)(this,X)}}function S(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(be){return!1}}function O(){}function L(be){return typeof be=="number"&&isFinite(be)&&Math.floor(be)===be}function M(be,at,se){return se}function F(be,at,se){var q=typeof be=="undefined"?at.pageSize:be;return Math.floor((se.total-1)/q)+1}var U=function(be){Object(o.a)(se,be);var at=v(se);function se(q){var X;Object(a.a)(this,se),X=at.call(this,q),X.getJumpPrevPage=function(){return Math.max(1,X.state.current-(X.props.showLessItems?3:5))},X.getJumpNextPage=function(){return Math.min(F(void 0,X.state,X.props),X.state.current+(X.props.showLessItems?3:5))},X.getItemIcon=function(fe,te){var J=X.props.prefixCls,ve=fe||h.a.createElement("button",{type:"button","aria-label":te,className:"".concat(J,"-item-link")});return typeof fe=="function"&&(ve=h.a.createElement(fe,_({},X.props))),ve},X.savePaginationNode=function(fe){X.paginationNode=fe},X.isValid=function(fe){return L(fe)&&fe!==X.state.current},X.shouldDisplayQuickJumper=function(){var fe=X.props,te=fe.showQuickJumper,J=fe.pageSize,ve=fe.total;return ve<=J?!1:te},X.handleKeyDown=function(fe){(fe.keyCode===p.ARROW_UP||fe.keyCode===p.ARROW_DOWN)&&fe.preventDefault()},X.handleKeyUp=function(fe){var te=X.getValidValue(fe),J=X.state.currentInputValue;te!==J&&X.setState({currentInputValue:te}),fe.keyCode===p.ENTER?X.handleChange(te):fe.keyCode===p.ARROW_UP?X.handleChange(te-1):fe.keyCode===p.ARROW_DOWN&&X.handleChange(te+1)},X.changePageSize=function(fe){var te=X.state.current,J=F(fe,X.state,X.props);te=te>J?J:te,J===0&&(te=X.state.current),typeof fe=="number"&&("pageSize"in X.props||X.setState({pageSize:fe}),"current"in X.props||X.setState({current:te,currentInputValue:te})),X.props.onShowSizeChange(te,fe),"onChange"in X.props&&X.props.onChange&&X.props.onChange(te,fe)},X.handleChange=function(fe){var te=X.props.disabled,J=fe;if(X.isValid(J)&&!te){var ve=F(void 0,X.state,X.props);J>ve?J=ve:J<1&&(J=1),"current"in X.props||X.setState({current:J,currentInputValue:J});var De=X.state.pageSize;return X.props.onChange(J,De),J}return X.state.current},X.prev=function(){X.hasPrev()&&X.handleChange(X.state.current-1)},X.next=function(){X.hasNext()&&X.handleChange(X.state.current+1)},X.jumpPrev=function(){X.handleChange(X.getJumpPrevPage())},X.jumpNext=function(){X.handleChange(X.getJumpNextPage())},X.hasPrev=function(){return X.state.current>1},X.hasNext=function(){return X.state.current<F(void 0,X.state,X.props)},X.runIfEnter=function(fe,te){if(fe.key==="Enter"||fe.charCode===13){for(var J=arguments.length,ve=new Array(J>2?J-2:0),De=2;De<J;De++)ve[De-2]=arguments[De];te.apply(void 0,ve)}},X.runIfEnterPrev=function(fe){X.runIfEnter(fe,X.prev)},X.runIfEnterNext=function(fe){X.runIfEnter(fe,X.next)},X.runIfEnterJumpPrev=function(fe){X.runIfEnter(fe,X.jumpPrev)},X.runIfEnterJumpNext=function(fe){X.runIfEnter(fe,X.jumpNext)},X.handleGoTO=function(fe){(fe.keyCode===p.ENTER||fe.type==="click")&&X.handleChange(X.state.currentInputValue)};var Z=q.onChange!==O,pe="current"in q;pe&&!Z&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var oe=q.defaultCurrent;"current"in q&&(oe=q.current);var Ie=q.defaultPageSize;return"pageSize"in q&&(Ie=q.pageSize),oe=Math.min(oe,F(Ie,void 0,q)),X.state={current:oe,currentInputValue:oe,pageSize:Ie},X}return Object(r.a)(se,[{key:"componentDidUpdate",value:function(X,Z){var pe=this.props.prefixCls;if(Z.current!==this.state.current&&this.paginationNode){var oe=this.paginationNode.querySelector(".".concat(pe,"-item-").concat(Z.current));oe&&document.activeElement===oe&&oe.blur()}}},{key:"getValidValue",value:function(X){var Z=X.target.value,pe=F(void 0,this.state,this.props),oe=this.state.currentInputValue,Ie;return Z===""?Ie=Z:isNaN(Number(Z))?Ie=oe:Z>=pe?Ie=pe:Ie=Number(Z),Ie}},{key:"getShowSizeChanger",value:function(){var X=this.props,Z=X.showSizeChanger,pe=X.total,oe=X.totalBoundaryShowSizeChanger;return typeof Z!="undefined"?Z:pe>oe}},{key:"renderPrev",value:function(X){var Z=this.props,pe=Z.prevIcon,oe=Z.itemRender,Ie=oe(X,"prev",this.getItemIcon(pe,"prev page")),fe=!this.hasPrev();return Object(y.isValidElement)(Ie)?Object(y.cloneElement)(Ie,{disabled:fe}):Ie}},{key:"renderNext",value:function(X){var Z=this.props,pe=Z.nextIcon,oe=Z.itemRender,Ie=oe(X,"next",this.getItemIcon(pe,"next page")),fe=!this.hasNext();return Object(y.isValidElement)(Ie)?Object(y.cloneElement)(Ie,{disabled:fe}):Ie}},{key:"render",value:function(){var X=this,Z=this.props,pe=Z.prefixCls,oe=Z.className,Ie=Z.style,fe=Z.disabled,te=Z.hideOnSinglePage,J=Z.total,ve=Z.locale,De=Z.showQuickJumper,ze=Z.showLessItems,dt=Z.showTitle,Me=Z.showTotal,Tt=Z.simple,je=Z.itemRender,st=Z.showPrevNextJumpers,Xe=Z.jumpPrevIcon,Je=Z.jumpNextIcon,et=Z.selectComponentClass,ot=Z.selectPrefixCls,Ve=Z.pageSizeOptions,ue=this.state,ae=ue.current,lt=ue.pageSize,Ze=ue.currentInputValue;if(te===!0&&J<=lt)return null;var Te=F(void 0,this.state,this.props),Jt=[],mt=null,ft=null,bt=null,Lt=null,or=null,Bt=De&&De.goButton,_e=ze?1:2,Ce=ae-1>0?ae-1:0,Ee=ae+1<Te?ae+1:Te,we=Object.keys(this.props).reduce(function(Oe,ke){return(ke.substr(0,5)==="data-"||ke.substr(0,5)==="aria-"||ke==="role")&&(Oe[ke]=X.props[ke]),Oe},{});if(Tt)return Bt&&(typeof Bt=="boolean"?or=h.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ve.jump_to_confirm):or=h.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Bt),or=h.a.createElement("li",{title:dt?"".concat(ve.jump_to).concat(ae,"/").concat(Te):null,className:"".concat(pe,"-simple-pager")},or)),h.a.createElement("ul",Object(u.a)({className:t()(pe,"".concat(pe,"-simple"),Object(i.a)({},"".concat(pe,"-disabled"),fe),oe),style:Ie,ref:this.savePaginationNode},we),h.a.createElement("li",{title:dt?ve.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:t()("".concat(pe,"-prev"),Object(i.a)({},"".concat(pe,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(Ce)),h.a.createElement("li",{title:dt?"".concat(ae,"/").concat(Te):null,className:"".concat(pe,"-simple-pager")},h.a.createElement("input",{type:"text",value:Ze,disabled:fe,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),h.a.createElement("span",{className:"".concat(pe,"-slash")},"/"),Te),h.a.createElement("li",{title:dt?ve.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:t()("".concat(pe,"-next"),Object(i.a)({},"".concat(pe,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Ee)),or);if(Te<=3+_e*2){var Fe={locale:ve,rootPrefixCls:pe,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:dt,itemRender:je};Te||Jt.push(h.a.createElement(c,Object(u.a)({},Fe,{key:"noPager",page:Te,className:"".concat(pe,"-disabled")})));for(var Ye=1;Ye<=Te;Ye+=1){var Ge=ae===Ye;Jt.push(h.a.createElement(c,Object(u.a)({},Fe,{key:Ye,page:Ye,active:Ge})))}}else{var qe=ze?ve.prev_3:ve.prev_5,Ke=ze?ve.next_3:ve.next_5;st&&(mt=h.a.createElement("li",{title:dt?qe:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:t()("".concat(pe,"-jump-prev"),Object(i.a)({},"".concat(pe,"-jump-prev-custom-icon"),!!Xe))},je(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Xe,"prev page"))),ft=h.a.createElement("li",{title:dt?Ke:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:t()("".concat(pe,"-jump-next"),Object(i.a)({},"".concat(pe,"-jump-next-custom-icon"),!!Je))},je(this.getJumpNextPage(),"jump-next",this.getItemIcon(Je,"next page")))),Lt=h.a.createElement(c,{locale:ve,last:!0,rootPrefixCls:pe,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Te,page:Te,active:!1,showTitle:dt,itemRender:je}),bt=h.a.createElement(c,{locale:ve,rootPrefixCls:pe,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:dt,itemRender:je});var ut=Math.max(1,ae-_e),wt=Math.min(ae+_e,Te);ae-1<=_e&&(wt=1+_e*2),Te-ae<=_e&&(ut=Te-_e*2);for(var It=ut;It<=wt;It+=1){var de=ae===It;Jt.push(h.a.createElement(c,{locale:ve,rootPrefixCls:pe,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:It,page:It,active:de,showTitle:dt,itemRender:je}))}ae-1>=_e*2&&ae!==1+2&&(Jt[0]=Object(y.cloneElement)(Jt[0],{className:"".concat(pe,"-item-after-jump-prev")}),Jt.unshift(mt)),Te-ae>=_e*2&&ae!==Te-2&&(Jt[Jt.length-1]=Object(y.cloneElement)(Jt[Jt.length-1],{className:"".concat(pe,"-item-before-jump-next")}),Jt.push(ft)),ut!==1&&Jt.unshift(bt),wt!==Te&&Jt.push(Lt)}var xe=null;Me&&(xe=h.a.createElement("li",{className:"".concat(pe,"-total-text")},Me(J,[J===0?0:(ae-1)*lt+1,ae*lt>J?J:ae*lt])));var $=!this.hasPrev()||!Te,le=!this.hasNext()||!Te;return h.a.createElement("ul",Object(u.a)({className:t()(pe,oe,Object(i.a)({},"".concat(pe,"-disabled"),fe)),style:Ie,unselectable:"unselectable",ref:this.savePaginationNode},we),xe,h.a.createElement("li",{title:dt?ve.prev_page:null,onClick:this.prev,tabIndex:$?null:0,onKeyPress:this.runIfEnterPrev,className:t()("".concat(pe,"-prev"),Object(i.a)({},"".concat(pe,"-disabled"),$)),"aria-disabled":$},this.renderPrev(Ce)),Jt,h.a.createElement("li",{title:dt?ve.next_page:null,onClick:this.next,tabIndex:le?null:0,onKeyPress:this.runIfEnterNext,className:t()("".concat(pe,"-next"),Object(i.a)({},"".concat(pe,"-disabled"),le)),"aria-disabled":le},this.renderNext(Ee)),h.a.createElement(x,{disabled:fe,locale:ve,rootPrefixCls:pe,selectComponentClass:et,selectPrefixCls:ot,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:ae,pageSize:lt,pageSizeOptions:Ve,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Bt}))}}],[{key:"getDerivedStateFromProps",value:function(X,Z){var pe={};if("current"in X&&(pe.current=X.current,X.current!==Z.current&&(pe.currentInputValue=pe.current)),"pageSize"in X&&X.pageSize!==Z.pageSize){var oe=Z.current,Ie=F(X.pageSize,Z,X);oe=oe>Ie?Ie:oe,"current"in X||(pe.current=oe,pe.currentInputValue=oe),pe.pageSize=X.pageSize}return pe}}]),se}(h.a.Component);U.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:O,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:O,locale:E.a,style:{},itemRender:M,totalBoundaryShowSizeChanger:50};var z=U,W=e("H4fg"),N=e("DFhj"),H=e.n(N),j=e("fEPi"),k=e.n(j),B=e("u9fO"),V=e.n(B),K=e("mO/d"),Y=e.n(K),Q=e("2fM7"),he=function(at){return y.createElement(Q.a,m()({size:"small"},at))};he.Option=Q.a.Option;var G=he,ye=e("YMnH"),Ae=e("H84U"),ge=e("5OYt"),Pe=function(be,at){var se={};for(var q in be)Object.prototype.hasOwnProperty.call(be,q)&&at.indexOf(q)<0&&(se[q]=be[q]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var X=0,q=Object.getOwnPropertySymbols(be);X<q.length;X++)at.indexOf(q[X])<0&&Object.prototype.propertyIsEnumerable.call(be,q[X])&&(se[q[X]]=be[q[X]]);return se},Re=function(at){var se=at.prefixCls,q=at.selectPrefixCls,X=at.className,Z=at.size,pe=at.locale,oe=Pe(at,["prefixCls","selectPrefixCls","className","size","locale"]),Ie=Object(ge.a)(),fe=Ie.xs,te=y.useContext(Ae.b),J=te.getPrefixCls,ve=te.direction,De=J("pagination",se),ze=function(){var Tt=y.createElement("span",{className:"".concat(De,"-item-ellipsis")},"\u2022\u2022\u2022"),je=y.createElement("button",{className:"".concat(De,"-item-link"),type:"button",tabIndex:-1},y.createElement(H.a,null)),st=y.createElement("button",{className:"".concat(De,"-item-link"),type:"button",tabIndex:-1},y.createElement(k.a,null)),Xe=y.createElement("a",{className:"".concat(De,"-item-link")},y.createElement("div",{className:"".concat(De,"-item-container")},y.createElement(V.a,{className:"".concat(De,"-item-link-icon")}),Tt)),Je=y.createElement("a",{className:"".concat(De,"-item-link")},y.createElement("div",{className:"".concat(De,"-item-container")},y.createElement(Y.a,{className:"".concat(De,"-item-link-icon")}),Tt));if(ve==="rtl"){var et=[st,je];je=et[0],st=et[1];var ot=[Je,Xe];Xe=ot[0],Je=ot[1]}return{prevIcon:je,nextIcon:st,jumpPrevIcon:Xe,jumpNextIcon:Je}},dt=function(Tt){var je=m()(m()({},Tt),pe),st=Z==="small"||!!(fe&&!Z&&oe.responsive),Xe=J("select",q),Je=t()(X,f()({mini:st},"".concat(De,"-rtl"),ve==="rtl"));return y.createElement(z,m()({},oe,{prefixCls:De,selectPrefixCls:Xe},ze(),{className:Je,selectComponentClass:st?G:Q.a,locale:je}))};return y.createElement(ye.a,{componentName:"Pagination",defaultLocale:W.a},dt)},rt=Re,ne=I.a=rt},NohK:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=function(b){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,y=null;return function(){for(var h=this,u=arguments.length,i=new Array(u),a=0;a<u;a++)i[a]=arguments[a];clearTimeout(y),y=setTimeout(function(){b.apply(h,i)},m)}};I.default=g},Npjl:function(R,I){function e(g,f){return g==null?void 0:g[f]}R.exports=e},Nu4q:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:function(b,m){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:b}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:m}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:m}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:m}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:b}}]}},name:"picture",theme:"twotone"};I.default=g},NvD2:function(R,I,e){"use strict";e.d(I,"a",function(){return h});var g=e("Kwbf");function f(u,i){var a=new Set;return u.forEach(function(r){i.has(r)||a.add(r)}),a}function b(u){var i=u||{},a=i.disabled,r=i.disableCheckbox,o=i.checkable;return!!(a||r)||o===!1}function m(u,i,a,r){for(var o=new Set(u),d=new Set,n=0;n<=a;n+=1){var l=i.get(n)||new Set;l.forEach(function(p){var A=p.key,w=p.node,C=p.children,x=C===void 0?[]:C;o.has(A)&&!r(w)&&x.filter(function(E){return!r(E.node)}).forEach(function(E){o.add(E.key)})})}for(var t=new Set,s=a;s>=0;s-=1){var c=i.get(s)||new Set;c.forEach(function(p){var A=p.parent,w=p.node;if(r(w)||!p.parent||t.has(p.parent.key))return;if(r(p.parent.node)){t.add(A.key);return}var C=!0,x=!1;(A.children||[]).filter(function(E){return!r(E.node)}).forEach(function(E){var T=E.key,_=o.has(T);C&&!_&&(C=!1),!x&&(_||d.has(T))&&(x=!0)}),C&&o.add(A.key),x&&d.add(A.key),t.add(A.key)})}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(f(d,o))}}function y(u,i,a,r,o){for(var d=new Set(u),n=new Set(i),l=0;l<=r;l+=1){var t=a.get(l)||new Set;t.forEach(function(A){var w=A.key,C=A.node,x=A.children,E=x===void 0?[]:x;!d.has(w)&&!n.has(w)&&!o(C)&&E.filter(function(T){return!o(T.node)}).forEach(function(T){d.delete(T.key)})})}n=new Set;for(var s=new Set,c=r;c>=0;c-=1){var p=a.get(c)||new Set;p.forEach(function(A){var w=A.parent,C=A.node;if(o(C)||!A.parent||s.has(A.parent.key))return;if(o(A.parent.node)){s.add(w.key);return}var x=!0,E=!1;(w.children||[]).filter(function(T){return!o(T.node)}).forEach(function(T){var _=T.key,v=d.has(_);x&&!v&&(x=!1),!E&&(v||n.has(_))&&(E=!0)}),x||d.delete(w.key),E&&n.add(w.key),s.add(w.key)})}return{checkedKeys:Array.from(d),halfCheckedKeys:Array.from(f(n,d))}}function h(u,i,a,r){var o=[],d;r?d=r:d=b;var n=new Set(u.filter(function(c){var p=!!a[c];return p||o.push(c),p})),l=new Map,t=0;Object.keys(a).forEach(function(c){var p=a[c],A=p.level,w=l.get(A);w||(w=new Set,l.set(A,w)),w.add(p),t=Math.max(t,A)}),Object(g.a)(!o.length,"Tree missing follow keys: ".concat(o.slice(0,100).map(function(c){return"'".concat(c,"'")}).join(", ")));var s;return i===!0?s=m(n,l,t,d):s=y(n,i.halfCheckedKeys,l,t,d),s}},"O/iA":function(R,I,e){},O3gP:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("O/iA"),m=e.n(b),y=e("OaEy")},OELB:function(R,I,e){var g=e("bYtY"),f=1e-4;function b(E){return E.replace(/^\s+|\s+$/g,"")}function m(E,T,_,v){var S=T[1]-T[0],O=_[1]-_[0];if(S===0)return O===0?_[0]:(_[0]+_[1])/2;if(v)if(S>0){if(E<=T[0])return _[0];if(E>=T[1])return _[1]}else{if(E>=T[0])return _[0];if(E<=T[1])return _[1]}else{if(E===T[0])return _[0];if(E===T[1])return _[1]}return(E-T[0])/S*O+_[0]}function y(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 typeof E=="string"?b(E).match(/%$/)?parseFloat(E)/100*T:parseFloat(E):E==null?NaN:+E}function h(E,T,_){return T==null&&(T=10),T=Math.min(Math.max(0,T),20),E=(+E).toFixed(T),_?E:+E}function u(E){return E.sort(function(T,_){return T-_}),E}function i(E){if(E=+E,isNaN(E))return 0;for(var T=1,_=0;Math.round(E*T)/T!==E;)T*=10,_++;return _}function a(E){var T=E.toString(),_=T.indexOf("e");if(_>0){var v=+T.slice(_+1);return v<0?-v:0}else{var S=T.indexOf(".");return S<0?0:T.length-1-S}}function r(E,T){var _=Math.log,v=Math.LN10,S=Math.floor(_(E[1]-E[0])/v),O=Math.round(_(Math.abs(T[1]-T[0]))/v),L=Math.min(Math.max(-S+O,0),20);return isFinite(L)?L:20}function o(E,T,_){if(!E[T])return 0;var v=g.reduce(E,function(j,k){return j+(isNaN(k)?0:k)},0);if(v===0)return 0;for(var S=Math.pow(10,_),O=g.map(E,function(j){return(isNaN(j)?0:j)/v*S*100}),L=S*100,M=g.map(O,function(j){return Math.floor(j)}),F=g.reduce(M,function(j,k){return j+k},0),U=g.map(O,function(j,k){return j-M[k]});F<L;){for(var z=Number.NEGATIVE_INFINITY,W=null,N=0,H=U.length;N<H;++N)U[N]>z&&(z=U[N],W=N);++M[W],U[W]=0,++F}return M[T]/S}var d=9007199254740991;function n(E){var T=Math.PI*2;return(E%T+T)%T}function l(E){return E>-f&&E<f}var t=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function s(E){if(E instanceof Date)return E;if(typeof E=="string"){var T=t.exec(E);if(!T)return new Date(NaN);if(T[8]){var _=+T[4]||0;return T[8].toUpperCase()!=="Z"&&(_-=T[8].slice(0,3)),new Date(Date.UTC(+T[1],+(T[2]||1)-1,+T[3]||1,_,+(T[5]||0),+T[6]||0,+T[7]||0))}else return new Date(+T[1],+(T[2]||1)-1,+T[3]||1,+T[4]||0,+(T[5]||0),+T[6]||0,+T[7]||0)}else if(E==null)return new Date(NaN);return new Date(Math.round(E))}function c(E){return Math.pow(10,p(E))}function p(E){if(E===0)return 0;var T=Math.floor(Math.log(E)/Math.LN10);return E/Math.pow(10,T)>=10&&T++,T}function A(E,T){var _=p(E),v=Math.pow(10,_),S=E/v,O;return T?S<1.5?O=1:S<2.5?O=2:S<4?O=3:S<7?O=5:O=10:S<1?O=1:S<2?O=2:S<3?O=3:S<5?O=5:O=10,E=O*v,_>=-20?+E.toFixed(_<0?-_:0):E}function w(E,T){var _=(E.length-1)*T+1,v=Math.floor(_),S=+E[v-1],O=_-v;return O?S+O*(E[v]-S):S}function C(E){E.sort(function(F,U){return M(F,U,0)?-1:1});for(var T=-Infinity,_=1,v=0;v<E.length;){for(var S=E[v].interval,O=E[v].close,L=0;L<2;L++)S[L]<=T&&(S[L]=T,O[L]=L?1:1-_),T=S[L],_=O[L];S[0]===S[1]&&O[0]*O[1]!==1?E.splice(v,1):v++}return E;function M(F,U,z){return F.interval[z]<U.interval[z]||F.interval[z]===U.interval[z]&&(F.close[z]-U.close[z]===(z?-1:1)||!z&&M(F,U,1))}}function x(E){return E-parseFloat(E)>=0}I.linearMap=m,I.parsePercent=y,I.round=h,I.asc=u,I.getPrecision=i,I.getPrecisionSafe=a,I.getPixelPrecision=r,I.getPercentWithPrecision=o,I.MAX_SAFE_INTEGER=d,I.remRadian=n,I.isRadianAroundZero=l,I.parseDate=s,I.quantity=c,I.quantityExponent=p,I.nice=A,I.quantile=w,I.reformIntervals=C,I.isNumeric=x},OKJ2:function(R,I,e){var g=e("KxfA"),f=g.retrieveRawValue,b=e("7aKB"),m=b.getTooltipMarker,y=b.formatTpl,h=e("4NO4"),u=h.getTooltipRenderMode,i=/\{@(.+?)\}/g,a={getDataParams:function(r,o){var d=this.getData(o),n=this.getRawValue(r,o),l=d.getRawIndex(r),t=d.getName(r),s=d.getRawDataItem(r),c=d.getItemVisual(r,"color"),p=d.getItemVisual(r,"borderColor"),A=this.ecModel.getComponent("tooltip"),w=A&&A.get("renderMode"),C=u(w),x=this.mainType,E=x==="series",T=d.userOutput;return{componentType:x,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:E?this.subType:null,seriesIndex:this.seriesIndex,seriesId:E?this.id:null,seriesName:E?this.name:null,name:t,dataIndex:l,data:s,dataType:o,value:n,color:c,borderColor:p,dimensionNames:T?T.dimensionNames:null,encode:T?T.encode:null,marker:m({color:c,renderMode:C}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(r,o,d,n,l){o=o||"normal";var t=this.getData(d),s=t.getItemModel(r),c=this.getDataParams(r,d);n!=null&&c.value instanceof Array&&(c.value=c.value[n]);var p=s.get(o==="normal"?[l||"label","formatter"]:[o,l||"label","formatter"]);if(typeof p=="function")return c.status=o,c.dimensionIndex=n,p(c);if(typeof p=="string"){var A=y(p,c);return A.replace(i,function(w,C){var x=C.length;return C.charAt(0)==="["&&C.charAt(x-1)==="]"&&(C=+C.slice(1,x-1)),f(t,r,C)})}},getRawValue:function(r,o){return f(this.getData(o),r)},formatTooltip:function(){}};R.exports=a},OPEp:function(R,I,e){},OQFs:function(R,I,e){var g=e("KCsZ"),f=g([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),b={getLineStyle:function(m){var y=f(this,m);return y.lineDash=this.getLineDash(y.lineWidth),y},getLineDash:function(m){m==null&&(m=1);var y=this.get("type"),h=Math.max(m,2),u=m*4;return y==="solid"||y==null?!1:y==="dashed"?[u,u]:[h,h]}};R.exports=b},OS9S:function(R,I,e){var g=e("bYtY"),f=g.inherits,b=e("Gev7"),m=e("mFDi");function y(i){b.call(this,i),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}y.prototype.incremental=!0,y.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},y.prototype.addDisplayable=function(i,a){a?this._temporaryDisplayables.push(i):this._displayables.push(i),this.dirty()},y.prototype.addDisplayables=function(i,a){a=a||!1;for(var r=0;r<i.length;r++)this.addDisplayable(i[r],a)},y.prototype.eachPendingDisplayable=function(i){for(var a=this._cursor;a<this._displayables.length;a++)i&&i(this._displayables[a]);for(var a=0;a<this._temporaryDisplayables.length;a++)i&&i(this._temporaryDisplayables[a])},y.prototype.update=function(){this.updateTransform();for(var i=this._cursor;i<this._displayables.length;i++){var a=this._displayables[i];a.parent=this,a.update(),a.parent=null}for(var i=0;i<this._temporaryDisplayables.length;i++){var a=this._temporaryDisplayables[i];a.parent=this,a.update(),a.parent=null}},y.prototype.brush=function(i,a){for(var r=this._cursor;r<this._displayables.length;r++){var o=this._displayables[r];o.beforeBrush&&o.beforeBrush(i),o.brush(i,r===this._cursor?null:this._displayables[r-1]),o.afterBrush&&o.afterBrush(i)}this._cursor=r;for(var r=0;r<this._temporaryDisplayables.length;r++){var o=this._temporaryDisplayables[r];o.beforeBrush&&o.beforeBrush(i),o.brush(i,r===0?null:this._temporaryDisplayables[r-1]),o.afterBrush&&o.afterBrush(i)}this._temporaryDisplayables=[],this.notClear=!0};var h=[];y.prototype.getBoundingRect=function(){if(!this._rect){for(var i=new m(Infinity,Infinity,-Infinity,-Infinity),a=0;a<this._displayables.length;a++){var r=this._displayables[a],o=r.getBoundingRect().clone();r.needLocalTransform()&&o.applyTransform(r.getLocalTransform(h)),i.union(o)}this._rect=i}return this._rect},y.prototype.contain=function(i,a){var r=this.transformCoordToLocal(i,a),o=this.getBoundingRect();if(o.contain(r[0],r[1]))for(var d=0;d<this._displayables.length;d++){var n=this._displayables[d];if(n.contain(i,a))return!0}return!1},f(y,b);var u=y;R.exports=u},OUJF:function(R,I,e){var g=e("ProS"),f=e("bYtY");g.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(b,m){var y=m.getComponent("timeline");return y&&b.currentIndex!=null&&(y.setCurrentIndex(b.currentIndex),!y.get("loop",!0)&&y.isIndexMax()&&y.setPlayState(!1)),m.resetOption("timeline"),f.defaults({currentIndex:y.option.currentIndex},b)}),g.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(b,m){var y=m.getComponent("timeline");y&&b.playState!=null&&y.setPlayState(b.playState)})},OXB0:function(R,I,e){var g=e("T4UG"),f=e("MwEJ"),b=e("IDmD"),m=g.extend({type:"series.heatmap",getInitialData:function(y,h){return f(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var y=b.get(this.get("coordinateSystem"));if(y&&y.dimensions)return y.dimensions[0]==="lng"&&y.dimensions[1]==="lat"},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});R.exports=m},OZM5:function(R,I,e){"use strict";e.d(I,"b",function(){return r}),e.d(I,"a",function(){return o}),e.d(I,"k",function(){return d}),e.d(I,"h",function(){return n}),e.d(I,"i",function(){return l}),e.d(I,"g",function(){return t}),e.d(I,"c",function(){return s}),e.d(I,"d",function(){return c}),e.d(I,"j",function(){return w}),e.d(I,"e",function(){return C}),e.d(I,"f",function(){return x});var g=e("KQm4"),f=e("U8pU"),b=e("Ff2n"),m=e("q1tI"),y=e.n(m),h=e("Kwbf"),u=e("WaYH"),i=.25,a=2;function r(E,T){var _=E.slice(),v=_.indexOf(T);return v>=0&&_.splice(v,1),_}function o(E,T){var _=E.slice();return _.indexOf(T)===-1&&_.push(T),_}function d(E){return E.split("-")}function n(E,T){return"".concat(E,"-").concat(T)}function l(E){return E&&E.type&&E.type.isTreeNode}function t(E,T){var _=[E],v=T[E];function S(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];O.forEach(function(L){var M=L.key,F=L.children;_.push(M),S(F)})}return S(v.children),_}function s(E,T){var _=E.clientY,v=T.selectHandle.getBoundingClientRect(),S=v.top,O=v.bottom,L=v.height,M=Math.max(L*i,a);return _<=S+M?-1:_>=O-M?1:0}function c(E,T){if(!E)return;var _=T.multiple;return _?E.slice():E.length?[E[0]]:E}var p=function(T){return T};function A(E,T){if(!E)return[];var _=T||{},v=_.processProps,S=v===void 0?p:v,O=Array.isArray(E)?E:[E];return O.map(function(L){var M=L.children,F=Object(b.a)(L,["children"]),U=A(M,T);return y.a.createElement(u.a,Object.assign({},S(F)),U)})}function w(E){if(!E)return null;var T;if(Array.isArray(E))T={checkedKeys:E,halfCheckedKeys:void 0};else if(Object(f.a)(E)==="object")T={checkedKeys:E.checked||void 0,halfCheckedKeys:E.halfChecked||void 0};else return Object(h.a)(!1,"`checkedKeys` is not an array or an object"),null;return T}function C(E,T){var _=new Set;function v(S){if(_.has(S))return;var O=T[S];if(!O)return;_.add(S);var L=O.parent,M=O.node;if(M.disabled)return;L&&v(L.key)}return(E||[]).forEach(function(S){v(S)}),Object(g.a)(_)}function x(E){var T={};return Object.keys(E).forEach(function(_){(_.startsWith("data-")||_.startsWith("aria-"))&&(T[_]=E[_])}),T}},OaEy:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("bKJz"),m=e.n(b),y=e("R9oj")},"Of+w":function(R,I,e){var g=e("Cwc5"),f=e("Kz5y"),b=g(f,"WeakMap");R.exports=b},Ol7k:function(R,I,e){"use strict";var g=e("PKem"),f=e("ZX9x");g.b.Sider=f.b,I.a=g.b},OlYY:function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("ProS"),m=e("bYtY"),y=e("ItGF"),h=e("4NO4"),u=e("UOVi"),i=e("zDms"),a=m.each,r=u.eachAxisDim,o=b.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(t,s,c){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var p=d(t);this.settledOption=p,this.mergeDefaultAndTheme(t,c),this.doInit(p)},mergeOption:function(t){var s=d(t);m.merge(this.option,t,!0),m.merge(this.settledOption,s,!0),this.doInit(s)},doInit:function(t){var s=this.option;y.canvasSupported||(s.realtime=!1),this._setDefaultThrottle(t),n(this,t);var c=this.settledOption;a([["start","startValue"],["end","endValue"]],function(p,A){this._rangePropMode[A]==="value"&&(s[p[0]]=c[p[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis(function(s,c,p,A){var w=this.dependentModels[s.axis][c],C=w.__dzAxisProxy||(w.__dzAxisProxy=new i(s.name,c,this,A));t[s.name+"_"+c]=C},this)},_resetTarget:function(){var t=this.option,s=this._judgeAutoMode();r(function(c){var p=c.axisIndex;t[p]=h.normalizeToArray(t[p])},this),s==="axisIndex"?this._autoSetAxisIndex():s==="orient"&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this.option,s=!1;r(function(p){t[p.axisIndex]!=null&&(s=!0)},this);var c=t.orient;if(c==null&&s)return"orient";if(!s)return c==null&&(t.orient="horizontal"),"axisIndex"},_autoSetAxisIndex:function(){var t=!0,s=this.get("orient",!0),c=this.option,p=this.dependentModels;if(t){var A=s==="vertical"?"y":"x";p[A+"Axis"].length?(c[A+"AxisIndex"]=[0],t=!1):a(p.singleAxis,function(w){t&&w.get("orient",!0)===s&&(c.singleAxisIndex=[w.componentIndex],t=!1)})}t&&r(function(w){if(!t)return;var C=[],x=this.dependentModels[w.axis];if(x.length&&!C.length)for(var E=0,T=x.length;E<T;E++)x[E].get("type")==="category"&&C.push(E);c[w.axisIndex]=C,C.length&&(t=!1)},this),t&&this.ecModel.eachSeries(function(w){this._isSeriesHasAllAxesTypeOf(w,"value")&&r(function(C){var x=c[C.axisIndex],E=w.get(C.axisIndex),T=w.get(C.axisId),_=w.ecModel.queryComponents({mainType:C.axis,index:E,id:T})[0];E=_.componentIndex,m.indexOf(x,E)<0&&x.push(E)})},this)},_autoSetOrient:function(){var t;this.eachTargetAxis(function(s){!t&&(t=s.name)},this),this.option.orient=t==="y"?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(t,s){var c=!0;return r(function(p){var A=t.get(p.axisIndex),w=this.dependentModels[p.axis][A];(!w||w.get("type")!==s)&&(c=!1)},this),c},_setDefaultThrottle:function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var s=this.ecModel.option;this.option.throttle=s.animation&&s.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var t;return r(function(s){if(t==null){var c=this.get(s.axisIndex);c.length&&(t=this.dependentModels[s.axis][c[0]])}},this),t},eachTargetAxis:function(t,s){var c=this.ecModel;r(function(p){a(this.get(p.axisIndex),function(A){t.call(s,p,A,this,c)},this)},this)},getAxisProxy:function(t,s){return this._axisProxies[t+"_"+s]},getAxisModel:function(t,s){var c=this.getAxisProxy(t,s);return c&&c.getAxisModel()},setRawRange:function(t){var s=this.option,c=this.settledOption;a([["start","startValue"],["end","endValue"]],function(p){(t[p[0]]!=null||t[p[1]]!=null)&&(s[p[0]]=c[p[0]]=t[p[0]],s[p[1]]=c[p[1]]=t[p[1]])},this),n(this,t)},setCalculatedRange:function(t){var s=this.option;a(["start","startValue","end","endValue"],function(c){s[c]=t[c]})},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,s){if(t==null&&s==null){var c=this.findRepresentativeAxisProxy();if(c)return c.getDataValueWindow()}else return this.getAxisProxy(t,s).getDataValueWindow()},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var s=this._axisProxies;for(var c in s)if(s.hasOwnProperty(c)&&s[c].hostedBy(this))return s[c];for(var c in s)if(s.hasOwnProperty(c)&&!s[c].hostedBy(this))return s[c]},getRangePropMode:function(){return this._rangePropMode.slice()}});function d(t){var s={};return a(["start","end","startValue","endValue","throttle"],function(c){t.hasOwnProperty(c)&&(s[c]=t[c])}),s}function n(t,s){var c=t._rangePropMode,p=t.get("rangeMode");a([["start","startValue"],["end","endValue"]],function(A,w){var C=s[A[0]]!=null,x=s[A[1]]!=null;C&&!x?c[w]="percent":!C&&x?c[w]="value":p?c[w]=p[w]:C&&(c[w]="percent")})}var l=o;R.exports=l},OnYD:function(R,I,e){},"Oy/b":function(R,I,e){(function(f,b){R.exports=b()})(typeof self!="undefined"?self:this,function(){return function(g){var f={};function b(m){if(f[m])return f[m].exports;var y=f[m]={i:m,l:!1,exports:{}};return g[m].call(y.exports,y,y.exports,b),y.l=!0,y.exports}return b.m=g,b.c=f,b.d=function(m,y,h){b.o(m,y)||Object.defineProperty(m,y,{enumerable:!0,get:h})},b.r=function(m){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},b.t=function(m,y){if(y&1&&(m=b(m)),y&8)return m;if(y&4&&typeof m=="object"&&m&&m.__esModule)return m;var h=Object.create(null);if(b.r(h),Object.defineProperty(h,"default",{enumerable:!0,value:m}),y&2&&typeof m!="string")for(var u in m)b.d(h,u,function(i){return m[i]}.bind(null,u));return h},b.n=function(m){var y=m&&m.__esModule?function(){return m.default}:function(){return m};return b.d(y,"a",y),y},b.o=function(m,y){return Object.prototype.hasOwnProperty.call(m,y)},b.p="",b(b.s=1)}([function(g,f,b){},function(g,f,b){"use strict";b.r(f);var m=b(0),y=function(){function Pt(me,Le,Ne){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=me,this.start=Le,this.end=Ne}return Pt.range=function(Le,Ne){return Ne?!Le||!Le.loc||!Ne.loc||Le.loc.lexer!==Ne.loc.lexer?null:new Pt(Le.loc.lexer,Le.loc.start,Ne.loc.end):Le&&Le.loc},Pt}(),h=function(){function Pt(Le,Ne){this.text=void 0,this.loc=void 0,this.text=Le,this.loc=Ne}var me=Pt.prototype;return me.range=function(Ne,Qe){return new Pt(Qe,y.range(this,Ne))},Pt}(),u=function Pt(me,Le){this.position=void 0;var Ne="KaTeX parse error: "+me,Qe,Ct=Le&&Le.loc;if(Ct&&Ct.start<=Ct.end){var Ut=Ct.lexer.input;Qe=Ct.start;var hr=Ct.end;Qe===Ut.length?Ne+=" at end of input: ":Ne+=" at position "+(Qe+1)+": ";var gr=Ut.slice(Qe,hr).replace(/[^]/g,"$&\u0332"),Rr;Qe>15?Rr="\u2026"+Ut.slice(Qe-15,Qe):Rr=Ut.slice(0,Qe);var $r;hr+15<Ut.length?$r=Ut.slice(hr,hr+15)+"\u2026":$r=Ut.slice(hr),Ne+=Rr+gr+$r}var ln=new Error(Ne);return ln.name="ParseError",ln.__proto__=Pt.prototype,ln.position=Qe,ln};u.prototype.__proto__=Error.prototype;var i=u,a=function(me,Le){return me.indexOf(Le)!==-1},r=function(me,Le){return me===void 0?Le:me},o=/([A-Z])/g,d=function(me){return me.replace(o,"-$1").toLowerCase()},n={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},l=/[&><"']/g;function t(Pt){return String(Pt).replace(l,function(me){return n[me]})}var s=function Pt(me){return me.type==="ordgroup"||me.type==="color"?me.body.length===1?Pt(me.body[0]):me:me.type==="font"?Pt(me.body):me},c=function(me){var Le=s(me);return Le.type==="mathord"||Le.type==="textord"||Le.type==="atom"},p=function(me){if(!me)throw new Error("Expected non-null, but got "+String(me));return me},A=function(me){var Le=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(me);return Le!=null?Le[1]:"_relative"},w={contains:a,deflt:r,escape:t,hyphenate:d,getBaseElem:s,isCharacterBox:c,protocolFromUrl:A},C=function(){function Pt(Le){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,Le=Le||{},this.displayMode=w.deflt(Le.displayMode,!1),this.output=w.deflt(Le.output,"htmlAndMathml"),this.leqno=w.deflt(Le.leqno,!1),this.fleqn=w.deflt(Le.fleqn,!1),this.throwOnError=w.deflt(Le.throwOnError,!0),this.errorColor=w.deflt(Le.errorColor,"#cc0000"),this.macros=Le.macros||{},this.minRuleThickness=Math.max(0,w.deflt(Le.minRuleThickness,0)),this.colorIsTextColor=w.deflt(Le.colorIsTextColor,!1),this.strict=w.deflt(Le.strict,"warn"),this.trust=w.deflt(Le.trust,!1),this.maxSize=Math.max(0,w.deflt(Le.maxSize,Infinity)),this.maxExpand=Math.max(0,w.deflt(Le.maxExpand,1e3))}var me=Pt.prototype;return me.reportNonstrict=function(Ne,Qe,Ct){var Ut=this.strict;if(typeof Ut=="function"&&(Ut=Ut(Ne,Qe,Ct)),!Ut||Ut==="ignore")return;if(Ut===!0||Ut==="error")throw new i("LaTeX-incompatible input and strict mode is set to 'error': "+(Qe+" ["+Ne+"]"),Ct);Ut==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Qe+" ["+Ne+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ut+"': "+Qe+" ["+Ne+"]"))},me.useStrictBehavior=function(Ne,Qe,Ct){var Ut=this.strict;if(typeof Ut=="function")try{Ut=Ut(Ne,Qe,Ct)}catch(hr){Ut="error"}return!Ut||Ut==="ignore"?!1:Ut===!0||Ut==="error"?!0:Ut==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Qe+" ["+Ne+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ut+"': "+Qe+" ["+Ne+"]")),!1)},me.isTrusted=function(Ne){Ne.url&&!Ne.protocol&&(Ne.protocol=w.protocolFromUrl(Ne.url));var Qe=typeof this.trust=="function"?this.trust(Ne):this.trust;return Boolean(Qe)},Pt}(),x=function(){function Pt(Le,Ne,Qe){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=Le,this.size=Ne,this.cramped=Qe}var me=Pt.prototype;return me.sup=function(){return F[U[this.id]]},me.sub=function(){return F[z[this.id]]},me.fracNum=function(){return F[W[this.id]]},me.fracDen=function(){return F[N[this.id]]},me.cramp=function(){return F[H[this.id]]},me.text=function(){return F[j[this.id]]},me.isTight=function(){return this.size>=2},Pt}(),E=0,T=1,_=2,v=3,S=4,O=5,L=6,M=7,F=[new x(E,0,!1),new x(T,0,!0),new x(_,1,!1),new x(v,1,!0),new x(S,2,!1),new x(O,2,!0),new x(L,3,!1),new x(M,3,!0)],U=[S,O,S,O,L,M,L,M],z=[O,O,O,O,M,M,M,M],W=[_,v,S,O,L,M,L,M],N=[v,v,O,O,M,M,M,M],H=[T,T,v,v,O,O,M,M],j=[E,T,_,v,_,v,_,v],k={DISPLAY:F[E],TEXT:F[_],SCRIPT:F[S],SCRIPTSCRIPT:F[L]},B=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function V(Pt){for(var me=0;me<B.length;me++)for(var Le=B[me],Ne=0;Ne<Le.blocks.length;Ne++){var Qe=Le.blocks[Ne];if(Pt>=Qe[0]&&Pt<=Qe[1])return Le.name}return null}var K=[];B.forEach(function(Pt){return Pt.blocks.forEach(function(me){return K.push.apply(K,me)})});function Y(Pt){for(var me=0;me<K.length;me+=2)if(Pt>=K[me]&&Pt<=K[me+1])return!0;return!1}var Q=80,he=function(me,Le){return"M95,"+(622+me+Le)+`
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
c69,-144,104.5,-217.7,106.5,-221
l`+me/2.075+" -"+me+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+me)+`H845.2724
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
M`+(834+me)+" "+Le+"h400000v"+(40+me)+"h-400000z"},G=function(me,Le){return"M263,"+(601+me+Le)+`c0.7,0,18,39.7,52,119
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
c340,-704.7,510.7,-1060.3,512,-1067
l`+me/2.084+" -"+me+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+me)+`H1012.3
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
M`+(1001+me)+" "+Le+"h400000v"+(40+me)+"h-400000z"},ye=function(me,Le){return"M983 "+(10+me+Le)+`
l`+me/3.13+" -"+me+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+me)+`
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
M`+(1001+me)+" "+Le+"h400000v"+(40+me)+"h-400000z"},Ae=function(me,Le){return"M424,"+(2398+me+Le)+`
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
l`+me/4.223+" -"+me+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+me)+`H1014.6
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2z M`+(1001+me)+" "+Le+`
h400000v`+(40+me)+"h-400000z"},ge=function(me,Le){return"M473,"+(2713+me+Le)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+me/5.298+" -"+me+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+me)+`H1017.7
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
606zM`+(1001+me)+" "+Le+"h400000v"+(40+me)+"H1017.7z"},Pe=function(me,Le,Ne){var Qe=Ne-54-Le-me;return"M702 "+(me+Le)+"H400000"+(40+me)+`
H742v`+Qe+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
219 661 l218 661zM702 `+Le+"H400000v"+(40+me)+"H742z"},Re=function(me,Le,Ne){Le=1e3*Le;var Qe="";switch(me){case"sqrtMain":Qe=he(Le,Q);break;case"sqrtSize1":Qe=G(Le,Q);break;case"sqrtSize2":Qe=ye(Le,Q);break;case"sqrtSize3":Qe=Ae(Le,Q);break;case"sqrtSize4":Qe=ge(Le,Q);break;case"sqrtTall":Qe=Pe(Le,Q,Ne)}return Qe},rt={doubleleftarrow:`M262 157
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
435 0h399565z`,leftgroupunder:`M400000 262
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},ne=function(){function Pt(Le){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=Le,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var me=Pt.prototype;return me.hasClass=function(Ne){return w.contains(this.classes,Ne)},me.toNode=function(){for(var Ne=document.createDocumentFragment(),Qe=0;Qe<this.children.length;Qe++)Ne.appendChild(this.children[Qe].toNode());return Ne},me.toMarkup=function(){for(var Ne="",Qe=0;Qe<this.children.length;Qe++)Ne+=this.children[Qe].toMarkup();return Ne},me.toText=function(){var Ne=function(Ct){return Ct.toText()};return this.children.map(Ne).join("")},Pt}(),be=function(me){return me.filter(function(Le){return Le}).join(" ")},at=function(me,Le,Ne){if(this.classes=me||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=Ne||{},Le){Le.style.isTight()&&this.classes.push("mtight");var Qe=Le.getColor();Qe&&(this.style.color=Qe)}},se=function(me){var Le=document.createElement(me);Le.className=be(this.classes);for(var Ne in this.style)this.style.hasOwnProperty(Ne)&&(Le.style[Ne]=this.style[Ne]);for(var Qe in this.attributes)this.attributes.hasOwnProperty(Qe)&&Le.setAttribute(Qe,this.attributes[Qe]);for(var Ct=0;Ct<this.children.length;Ct++)Le.appendChild(this.children[Ct].toNode());return Le},q=function(me){var Le="<"+me;this.classes.length&&(Le+=' class="'+w.escape(be(this.classes))+'"');var Ne="";for(var Qe in this.style)this.style.hasOwnProperty(Qe)&&(Ne+=w.hyphenate(Qe)+":"+this.style[Qe]+";");Ne&&(Le+=' style="'+w.escape(Ne)+'"');for(var Ct in this.attributes)this.attributes.hasOwnProperty(Ct)&&(Le+=" "+Ct+'="'+w.escape(this.attributes[Ct])+'"');Le+=">";for(var Ut=0;Ut<this.children.length;Ut++)Le+=this.children[Ut].toMarkup();return Le+="</"+me+">",Le},X=function(){function Pt(Le,Ne,Qe,Ct){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,at.call(this,Le,Qe,Ct),this.children=Ne||[]}var me=Pt.prototype;return me.setAttribute=function(Ne,Qe){this.attributes[Ne]=Qe},me.hasClass=function(Ne){return w.contains(this.classes,Ne)},me.toNode=function(){return se.call(this,"span")},me.toMarkup=function(){return q.call(this,"span")},Pt}(),Z=function(){function Pt(Le,Ne,Qe,Ct){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,at.call(this,Ne,Ct),this.children=Qe||[],this.setAttribute("href",Le)}var me=Pt.prototype;return me.setAttribute=function(Ne,Qe){this.attributes[Ne]=Qe},me.hasClass=function(Ne){return w.contains(this.classes,Ne)},me.toNode=function(){return se.call(this,"a")},me.toMarkup=function(){return q.call(this,"a")},Pt}(),pe=function(){function Pt(Le,Ne,Qe){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=Ne,this.src=Le,this.classes=["mord"],this.style=Qe}var me=Pt.prototype;return me.hasClass=function(Ne){return w.contains(this.classes,Ne)},me.toNode=function(){var Ne=document.createElement("img");Ne.src=this.src,Ne.alt=this.alt,Ne.className="mord";for(var Qe in this.style)this.style.hasOwnProperty(Qe)&&(Ne.style[Qe]=this.style[Qe]);return Ne},me.toMarkup=function(){var Ne="<img src='"+this.src+" 'alt='"+this.alt+"' ",Qe="";for(var Ct in this.style)this.style.hasOwnProperty(Ct)&&(Qe+=w.hyphenate(Ct)+":"+this.style[Ct]+";");return Qe&&(Ne+=' style="'+w.escape(Qe)+'"'),Ne+="'/>",Ne},Pt}(),oe={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Ie=function(){function Pt(Le,Ne,Qe,Ct,Ut,hr,gr,Rr){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=Le,this.height=Ne||0,this.depth=Qe||0,this.italic=Ct||0,this.skew=Ut||0,this.width=hr||0,this.classes=gr||[],this.style=Rr||{},this.maxFontSize=0;var $r=V(this.text.charCodeAt(0));$r&&this.classes.push($r+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=oe[this.text])}var me=Pt.prototype;return me.hasClass=function(Ne){return w.contains(this.classes,Ne)},me.toNode=function(){var Ne=document.createTextNode(this.text),Qe=null;this.italic>0&&(Qe=document.createElement("span"),Qe.style.marginRight=this.italic+"em"),this.classes.length>0&&(Qe=Qe||document.createElement("span"),Qe.className=be(this.classes));for(var Ct in this.style)this.style.hasOwnProperty(Ct)&&(Qe=Qe||document.createElement("span"),Qe.style[Ct]=this.style[Ct]);return Qe?(Qe.appendChild(Ne),Qe):Ne},me.toMarkup=function(){var Ne=!1,Qe="<span";this.classes.length&&(Ne=!0,Qe+=' class="',Qe+=w.escape(be(this.classes)),Qe+='"');var Ct="";this.italic>0&&(Ct+="margin-right:"+this.italic+"em;");for(var Ut in this.style)this.style.hasOwnProperty(Ut)&&(Ct+=w.hyphenate(Ut)+":"+this.style[Ut]+";");Ct&&(Ne=!0,Qe+=' style="'+w.escape(Ct)+'"');var hr=w.escape(this.text);return Ne?(Qe+=">",Qe+=hr,Qe+="</span>",Qe):hr},Pt}(),fe=function(){function Pt(Le,Ne){this.children=void 0,this.attributes=void 0,this.children=Le||[],this.attributes=Ne||{}}var me=Pt.prototype;return me.toNode=function(){var Ne="http://www.w3.org/2000/svg",Qe=document.createElementNS(Ne,"svg");for(var Ct in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ct)&&Qe.setAttribute(Ct,this.attributes[Ct]);for(var Ut=0;Ut<this.children.length;Ut++)Qe.appendChild(this.children[Ut].toNode());return Qe},me.toMarkup=function(){var Ne="<svg";for(var Qe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Qe)&&(Ne+=" "+Qe+"='"+this.attributes[Qe]+"'");Ne+=">";for(var Ct=0;Ct<this.children.length;Ct++)Ne+=this.children[Ct].toMarkup();return Ne+="</svg>",Ne},Pt}(),te=function(){function Pt(Le,Ne){this.pathName=void 0,this.alternate=void 0,this.pathName=Le,this.alternate=Ne}var me=Pt.prototype;return me.toNode=function(){var Ne="http://www.w3.org/2000/svg",Qe=document.createElementNS(Ne,"path");return this.alternate?Qe.setAttribute("d",this.alternate):Qe.setAttribute("d",rt[this.pathName]),Qe},me.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+rt[this.pathName]+"'/>"},Pt}(),J=function(){function Pt(Le){this.attributes=void 0,this.attributes=Le||{}}var me=Pt.prototype;return me.toNode=function(){var Ne="http://www.w3.org/2000/svg",Qe=document.createElementNS(Ne,"line");for(var Ct in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ct)&&Qe.setAttribute(Ct,this.attributes[Ct]);return Qe},me.toMarkup=function(){var Ne="<line";for(var Qe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Qe)&&(Ne+=" "+Qe+"='"+this.attributes[Qe]+"'");return Ne+="/>",Ne},Pt}();function ve(Pt){if(Pt instanceof Ie)return Pt;throw new Error("Expected symbolNode but got "+String(Pt)+".")}function De(Pt){if(Pt instanceof X)return Pt;throw new Error("Expected span<HtmlDomNode> but got "+String(Pt)+".")}var ze={"AMS-Regular":{"65":[0,.68889,0,0,.72222],"66":[0,.68889,0,0,.66667],"67":[0,.68889,0,0,.72222],"68":[0,.68889,0,0,.72222],"69":[0,.68889,0,0,.66667],"70":[0,.68889,0,0,.61111],"71":[0,.68889,0,0,.77778],"72":[0,.68889,0,0,.77778],"73":[0,.68889,0,0,.38889],"74":[.16667,.68889,0,0,.5],"75":[0,.68889,0,0,.77778],"76":[0,.68889,0,0,.66667],"77":[0,.68889,0,0,.94445],"78":[0,.68889,0,0,.72222],"79":[.16667,.68889,0,0,.77778],"80":[0,.68889,0,0,.61111],"81":[.16667,.68889,0,0,.77778],"82":[0,.68889,0,0,.72222],"83":[0,.68889,0,0,.55556],"84":[0,.68889,0,0,.66667],"85":[0,.68889,0,0,.72222],"86":[0,.68889,0,0,.72222],"87":[0,.68889,0,0,1],"88":[0,.68889,0,0,.72222],"89":[0,.68889,0,0,.72222],"90":[0,.68889,0,0,.66667],"107":[0,.68889,0,0,.55556],"165":[0,.675,.025,0,.75],"174":[.15559,.69224,0,0,.94666],"240":[0,.68889,0,0,.55556],"295":[0,.68889,0,0,.54028],"710":[0,.825,0,0,2.33334],"732":[0,.9,0,0,2.33334],"770":[0,.825,0,0,2.33334],"771":[0,.9,0,0,2.33334],"989":[.08167,.58167,0,0,.77778],"1008":[0,.43056,.04028,0,.66667],"8245":[0,.54986,0,0,.275],"8463":[0,.68889,0,0,.54028],"8487":[0,.68889,0,0,.72222],"8498":[0,.68889,0,0,.55556],"8502":[0,.68889,0,0,.66667],"8503":[0,.68889,0,0,.44445],"8504":[0,.68889,0,0,.66667],"8513":[0,.68889,0,0,.63889],"8592":[-.03598,.46402,0,0,.5],"8594":[-.03598,.46402,0,0,.5],"8602":[-.13313,.36687,0,0,1],"8603":[-.13313,.36687,0,0,1],"8606":[.01354,.52239,0,0,1],"8608":[.01354,.52239,0,0,1],"8610":[.01354,.52239,0,0,1.11111],"8611":[.01354,.52239,0,0,1.11111],"8619":[0,.54986,0,0,1],"8620":[0,.54986,0,0,1],"8621":[-.13313,.37788,0,0,1.38889],"8622":[-.13313,.36687,0,0,1],"8624":[0,.69224,0,0,.5],"8625":[0,.69224,0,0,.5],"8630":[0,.43056,0,0,1],"8631":[0,.43056,0,0,1],"8634":[.08198,.58198,0,0,.77778],"8635":[.08198,.58198,0,0,.77778],"8638":[.19444,.69224,0,0,.41667],"8639":[.19444,.69224,0,0,.41667],"8642":[.19444,.69224,0,0,.41667],"8643":[.19444,.69224,0,0,.41667],"8644":[.1808,.675,0,0,1],"8646":[.1808,.675,0,0,1],"8647":[.1808,.675,0,0,1],"8648":[.19444,.69224,0,0,.83334],"8649":[.1808,.675,0,0,1],"8650":[.19444,.69224,0,0,.83334],"8651":[.01354,.52239,0,0,1],"8652":[.01354,.52239,0,0,1],"8653":[-.13313,.36687,0,0,1],"8654":[-.13313,.36687,0,0,1],"8655":[-.13313,.36687,0,0,1],"8666":[.13667,.63667,0,0,1],"8667":[.13667,.63667,0,0,1],"8669":[-.13313,.37788,0,0,1],"8672":[-.064,.437,0,0,1.334],"8674":[-.064,.437,0,0,1.334],"8705":[0,.825,0,0,.5],"8708":[0,.68889,0,0,.55556],"8709":[.08167,.58167,0,0,.77778],"8717":[0,.43056,0,0,.42917],"8722":[-.03598,.46402,0,0,.5],"8724":[.08198,.69224,0,0,.77778],"8726":[.08167,.58167,0,0,.77778],"8733":[0,.69224,0,0,.77778],"8736":[0,.69224,0,0,.72222],"8737":[0,.69224,0,0,.72222],"8738":[.03517,.52239,0,0,.72222],"8739":[.08167,.58167,0,0,.22222],"8740":[.25142,.74111,0,0,.27778],"8741":[.08167,.58167,0,0,.38889],"8742":[.25142,.74111,0,0,.5],"8756":[0,.69224,0,0,.66667],"8757":[0,.69224,0,0,.66667],"8764":[-.13313,.36687,0,0,.77778],"8765":[-.13313,.37788,0,0,.77778],"8769":[-.13313,.36687,0,0,.77778],"8770":[-.03625,.46375,0,0,.77778],"8774":[.30274,.79383,0,0,.77778],"8776":[-.01688,.48312,0,0,.77778],"8778":[.08167,.58167,0,0,.77778],"8782":[.06062,.54986,0,0,.77778],"8783":[.06062,.54986,0,0,.77778],"8785":[.08198,.58198,0,0,.77778],"8786":[.08198,.58198,0,0,.77778],"8787":[.08198,.58198,0,0,.77778],"8790":[0,.69224,0,0,.77778],"8791":[.22958,.72958,0,0,.77778],"8796":[.08198,.91667,0,0,.77778],"8806":[.25583,.75583,0,0,.77778],"8807":[.25583,.75583,0,0,.77778],"8808":[.25142,.75726,0,0,.77778],"8809":[.25142,.75726,0,0,.77778],"8812":[.25583,.75583,0,0,.5],"8814":[.20576,.70576,0,0,.77778],"8815":[.20576,.70576,0,0,.77778],"8816":[.30274,.79383,0,0,.77778],"8817":[.30274,.79383,0,0,.77778],"8818":[.22958,.72958,0,0,.77778],"8819":[.22958,.72958,0,0,.77778],"8822":[.1808,.675,0,0,.77778],"8823":[.1808,.675,0,0,.77778],"8828":[.13667,.63667,0,0,.77778],"8829":[.13667,.63667,0,0,.77778],"8830":[.22958,.72958,0,0,.77778],"8831":[.22958,.72958,0,0,.77778],"8832":[.20576,.70576,0,0,.77778],"8833":[.20576,.70576,0,0,.77778],"8840":[.30274,.79383,0,0,.77778],"8841":[.30274,.79383,0,0,.77778],"8842":[.13597,.63597,0,0,.77778],"8843":[.13597,.63597,0,0,.77778],"8847":[.03517,.54986,0,0,.77778],"8848":[.03517,.54986,0,0,.77778],"8858":[.08198,.58198,0,0,.77778],"8859":[.08198,.58198,0,0,.77778],"8861":[.08198,.58198,0,0,.77778],"8862":[0,.675,0,0,.77778],"8863":[0,.675,0,0,.77778],"8864":[0,.675,0,0,.77778],"8865":[0,.675,0,0,.77778],"8872":[0,.69224,0,0,.61111],"8873":[0,.69224,0,0,.72222],"8874":[0,.69224,0,0,.88889],"8876":[0,.68889,0,0,.61111],"8877":[0,.68889,0,0,.61111],"8878":[0,.68889,0,0,.72222],"8879":[0,.68889,0,0,.72222],"8882":[.03517,.54986,0,0,.77778],"8883":[.03517,.54986,0,0,.77778],"8884":[.13667,.63667,0,0,.77778],"8885":[.13667,.63667,0,0,.77778],"8888":[0,.54986,0,0,1.11111],"8890":[.19444,.43056,0,0,.55556],"8891":[.19444,.69224,0,0,.61111],"8892":[.19444,.69224,0,0,.61111],"8901":[0,.54986,0,0,.27778],"8903":[.08167,.58167,0,0,.77778],"8905":[.08167,.58167,0,0,.77778],"8906":[.08167,.58167,0,0,.77778],"8907":[0,.69224,0,0,.77778],"8908":[0,.69224,0,0,.77778],"8909":[-.03598,.46402,0,0,.77778],"8910":[0,.54986,0,0,.76042],"8911":[0,.54986,0,0,.76042],"8912":[.03517,.54986,0,0,.77778],"8913":[.03517,.54986,0,0,.77778],"8914":[0,.54986,0,0,.66667],"8915":[0,.54986,0,0,.66667],"8916":[0,.69224,0,0,.66667],"8918":[.0391,.5391,0,0,.77778],"8919":[.0391,.5391,0,0,.77778],"8920":[.03517,.54986,0,0,1.33334],"8921":[.03517,.54986,0,0,1.33334],"8922":[.38569,.88569,0,0,.77778],"8923":[.38569,.88569,0,0,.77778],"8926":[.13667,.63667,0,0,.77778],"8927":[.13667,.63667,0,0,.77778],"8928":[.30274,.79383,0,0,.77778],"8929":[.30274,.79383,0,0,.77778],"8934":[.23222,.74111,0,0,.77778],"8935":[.23222,.74111,0,0,.77778],"8936":[.23222,.74111,0,0,.77778],"8937":[.23222,.74111,0,0,.77778],"8938":[.20576,.70576,0,0,.77778],"8939":[.20576,.70576,0,0,.77778],"8940":[.30274,.79383,0,0,.77778],"8941":[.30274,.79383,0,0,.77778],"8994":[.19444,.69224,0,0,.77778],"8995":[.19444,.69224,0,0,.77778],"9416":[.15559,.69224,0,0,.90222],"9484":[0,.69224,0,0,.5],"9488":[0,.69224,0,0,.5],"9492":[0,.37788,0,0,.5],"9496":[0,.37788,0,0,.5],"9585":[.19444,.68889,0,0,.88889],"9586":[.19444,.74111,0,0,.88889],"9632":[0,.675,0,0,.77778],"9633":[0,.675,0,0,.77778],"9650":[0,.54986,0,0,.72222],"9651":[0,.54986,0,0,.72222],"9654":[.03517,.54986,0,0,.77778],"9660":[0,.54986,0,0,.72222],"9661":[0,.54986,0,0,.72222],"9664":[.03517,.54986,0,0,.77778],"9674":[.11111,.69224,0,0,.66667],"9733":[.19444,.69224,0,0,.94445],"10003":[0,.69224,0,0,.83334],"10016":[0,.69224,0,0,.83334],"10731":[.11111,.69224,0,0,.66667],"10846":[.19444,.75583,0,0,.61111],"10877":[.13667,.63667,0,0,.77778],"10878":[.13667,.63667,0,0,.77778],"10885":[.25583,.75583,0,0,.77778],"10886":[.25583,.75583,0,0,.77778],"10887":[.13597,.63597,0,0,.77778],"10888":[.13597,.63597,0,0,.77778],"10889":[.26167,.75726,0,0,.77778],"10890":[.26167,.75726,0,0,.77778],"10891":[.48256,.98256,0,0,.77778],"10892":[.48256,.98256,0,0,.77778],"10901":[.13667,.63667,0,0,.77778],"10902":[.13667,.63667,0,0,.77778],"10933":[.25142,.75726,0,0,.77778],"10934":[.25142,.75726,0,0,.77778],"10935":[.26167,.75726,0,0,.77778],"10936":[.26167,.75726,0,0,.77778],"10937":[.26167,.75726,0,0,.77778],"10938":[.26167,.75726,0,0,.77778],"10949":[.25583,.75583,0,0,.77778],"10950":[.25583,.75583,0,0,.77778],"10955":[.28481,.79383,0,0,.77778],"10956":[.28481,.79383,0,0,.77778],"57350":[.08167,.58167,0,0,.22222],"57351":[.08167,.58167,0,0,.38889],"57352":[.08167,.58167,0,0,.77778],"57353":[0,.43056,.04028,0,.66667],"57356":[.25142,.75726,0,0,.77778],"57357":[.25142,.75726,0,0,.77778],"57358":[.41951,.91951,0,0,.77778],"57359":[.30274,.79383,0,0,.77778],"57360":[.30274,.79383,0,0,.77778],"57361":[.41951,.91951,0,0,.77778],"57366":[.25142,.75726,0,0,.77778],"57367":[.25142,.75726,0,0,.77778],"57368":[.25142,.75726,0,0,.77778],"57369":[.25142,.75726,0,0,.77778],"57370":[.13597,.63597,0,0,.77778],"57371":[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{"48":[0,.43056,0,0,.5],"49":[0,.43056,0,0,.5],"50":[0,.43056,0,0,.5],"51":[.19444,.43056,0,0,.5],"52":[.19444,.43056,0,0,.5],"53":[.19444,.43056,0,0,.5],"54":[0,.64444,0,0,.5],"55":[.19444,.43056,0,0,.5],"56":[0,.64444,0,0,.5],"57":[.19444,.43056,0,0,.5],"65":[0,.68333,0,.19445,.79847],"66":[0,.68333,.03041,.13889,.65681],"67":[0,.68333,.05834,.13889,.52653],"68":[0,.68333,.02778,.08334,.77139],"69":[0,.68333,.08944,.11111,.52778],"70":[0,.68333,.09931,.11111,.71875],"71":[.09722,.68333,.0593,.11111,.59487],"72":[0,.68333,.00965,.11111,.84452],"73":[0,.68333,.07382,0,.54452],"74":[.09722,.68333,.18472,.16667,.67778],"75":[0,.68333,.01445,.05556,.76195],"76":[0,.68333,0,.13889,.68972],"77":[0,.68333,0,.13889,1.2009],"78":[0,.68333,.14736,.08334,.82049],"79":[0,.68333,.02778,.11111,.79611],"80":[0,.68333,.08222,.08334,.69556],"81":[.09722,.68333,0,.11111,.81667],"82":[0,.68333,0,.08334,.8475],"83":[0,.68333,.075,.13889,.60556],"84":[0,.68333,.25417,0,.54464],"85":[0,.68333,.09931,.08334,.62583],"86":[0,.68333,.08222,0,.61278],"87":[0,.68333,.08222,.08334,.98778],"88":[0,.68333,.14643,.13889,.7133],"89":[.09722,.68333,.08222,.08334,.66834],"90":[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{"33":[0,.69141,0,0,.29574],"34":[0,.69141,0,0,.21471],"38":[0,.69141,0,0,.73786],"39":[0,.69141,0,0,.21201],"40":[.24982,.74947,0,0,.38865],"41":[.24982,.74947,0,0,.38865],"42":[0,.62119,0,0,.27764],"43":[.08319,.58283,0,0,.75623],"44":[0,.10803,0,0,.27764],"45":[.08319,.58283,0,0,.75623],"46":[0,.10803,0,0,.27764],"47":[.24982,.74947,0,0,.50181],"48":[0,.47534,0,0,.50181],"49":[0,.47534,0,0,.50181],"50":[0,.47534,0,0,.50181],"51":[.18906,.47534,0,0,.50181],"52":[.18906,.47534,0,0,.50181],"53":[.18906,.47534,0,0,.50181],"54":[0,.69141,0,0,.50181],"55":[.18906,.47534,0,0,.50181],"56":[0,.69141,0,0,.50181],"57":[.18906,.47534,0,0,.50181],"58":[0,.47534,0,0,.21606],"59":[.12604,.47534,0,0,.21606],"61":[-.13099,.36866,0,0,.75623],"63":[0,.69141,0,0,.36245],"65":[0,.69141,0,0,.7176],"66":[0,.69141,0,0,.88397],"67":[0,.69141,0,0,.61254],"68":[0,.69141,0,0,.83158],"69":[0,.69141,0,0,.66278],"70":[.12604,.69141,0,0,.61119],"71":[0,.69141,0,0,.78539],"72":[.06302,.69141,0,0,.7203],"73":[0,.69141,0,0,.55448],"74":[.12604,.69141,0,0,.55231],"75":[0,.69141,0,0,.66845],"76":[0,.69141,0,0,.66602],"77":[0,.69141,0,0,1.04953],"78":[0,.69141,0,0,.83212],"79":[0,.69141,0,0,.82699],"80":[.18906,.69141,0,0,.82753],"81":[.03781,.69141,0,0,.82699],"82":[0,.69141,0,0,.82807],"83":[0,.69141,0,0,.82861],"84":[0,.69141,0,0,.66899],"85":[0,.69141,0,0,.64576],"86":[0,.69141,0,0,.83131],"87":[0,.69141,0,0,1.04602],"88":[0,.69141,0,0,.71922],"89":[.18906,.69141,0,0,.83293],"90":[.12604,.69141,0,0,.60201],"91":[.24982,.74947,0,0,.27764],"93":[.24982,.74947,0,0,.27764],"94":[0,.69141,0,0,.49965],"97":[0,.47534,0,0,.50046],"98":[0,.69141,0,0,.51315],"99":[0,.47534,0,0,.38946],"100":[0,.62119,0,0,.49857],"101":[0,.47534,0,0,.40053],"102":[.18906,.69141,0,0,.32626],"103":[.18906,.47534,0,0,.5037],"104":[.18906,.69141,0,0,.52126],"105":[0,.69141,0,0,.27899],"106":[0,.69141,0,0,.28088],"107":[0,.69141,0,0,.38946],"108":[0,.69141,0,0,.27953],"109":[0,.47534,0,0,.76676],"110":[0,.47534,0,0,.52666],"111":[0,.47534,0,0,.48885],"112":[.18906,.52396,0,0,.50046],"113":[.18906,.47534,0,0,.48912],"114":[0,.47534,0,0,.38919],"115":[0,.47534,0,0,.44266],"116":[0,.62119,0,0,.33301],"117":[0,.47534,0,0,.5172],"118":[0,.52396,0,0,.5118],"119":[0,.52396,0,0,.77351],"120":[.18906,.47534,0,0,.38865],"121":[.18906,.47534,0,0,.49884],"122":[.18906,.47534,0,0,.39054],"8216":[0,.69141,0,0,.21471],"8217":[0,.69141,0,0,.21471],"58112":[0,.62119,0,0,.49749],"58113":[0,.62119,0,0,.4983],"58114":[.18906,.69141,0,0,.33328],"58115":[.18906,.69141,0,0,.32923],"58116":[.18906,.47534,0,0,.50343],"58117":[0,.69141,0,0,.33301],"58118":[0,.62119,0,0,.33409],"58119":[0,.47534,0,0,.50073]},"Main-Bold":{"33":[0,.69444,0,0,.35],"34":[0,.69444,0,0,.60278],"35":[.19444,.69444,0,0,.95833],"36":[.05556,.75,0,0,.575],"37":[.05556,.75,0,0,.95833],"38":[0,.69444,0,0,.89444],"39":[0,.69444,0,0,.31944],"40":[.25,.75,0,0,.44722],"41":[.25,.75,0,0,.44722],"42":[0,.75,0,0,.575],"43":[.13333,.63333,0,0,.89444],"44":[.19444,.15556,0,0,.31944],"45":[0,.44444,0,0,.38333],"46":[0,.15556,0,0,.31944],"47":[.25,.75,0,0,.575],"48":[0,.64444,0,0,.575],"49":[0,.64444,0,0,.575],"50":[0,.64444,0,0,.575],"51":[0,.64444,0,0,.575],"52":[0,.64444,0,0,.575],"53":[0,.64444,0,0,.575],"54":[0,.64444,0,0,.575],"55":[0,.64444,0,0,.575],"56":[0,.64444,0,0,.575],"57":[0,.64444,0,0,.575],"58":[0,.44444,0,0,.31944],"59":[.19444,.44444,0,0,.31944],"60":[.08556,.58556,0,0,.89444],"61":[-.10889,.39111,0,0,.89444],"62":[.08556,.58556,0,0,.89444],"63":[0,.69444,0,0,.54305],"64":[0,.69444,0,0,.89444],"65":[0,.68611,0,0,.86944],"66":[0,.68611,0,0,.81805],"67":[0,.68611,0,0,.83055],"68":[0,.68611,0,0,.88194],"69":[0,.68611,0,0,.75555],"70":[0,.68611,0,0,.72361],"71":[0,.68611,0,0,.90416],"72":[0,.68611,0,0,.9],"73":[0,.68611,0,0,.43611],"74":[0,.68611,0,0,.59444],"75":[0,.68611,0,0,.90138],"76":[0,.68611,0,0,.69166],"77":[0,.68611,0,0,1.09166],"78":[0,.68611,0,0,.9],"79":[0,.68611,0,0,.86388],"80":[0,.68611,0,0,.78611],"81":[.19444,.68611,0,0,.86388],"82":[0,.68611,0,0,.8625],"83":[0,.68611,0,0,.63889],"84":[0,.68611,0,0,.8],"85":[0,.68611,0,0,.88472],"86":[0,.68611,.01597,0,.86944],"87":[0,.68611,.01597,0,1.18888],"88":[0,.68611,0,0,.86944],"89":[0,.68611,.02875,0,.86944],"90":[0,.68611,0,0,.70277],"91":[.25,.75,0,0,.31944],"92":[.25,.75,0,0,.575],"93":[.25,.75,0,0,.31944],"94":[0,.69444,0,0,.575],"95":[.31,.13444,.03194,0,.575],"97":[0,.44444,0,0,.55902],"98":[0,.69444,0,0,.63889],"99":[0,.44444,0,0,.51111],"100":[0,.69444,0,0,.63889],"101":[0,.44444,0,0,.52708],"102":[0,.69444,.10903,0,.35139],"103":[.19444,.44444,.01597,0,.575],"104":[0,.69444,0,0,.63889],"105":[0,.69444,0,0,.31944],"106":[.19444,.69444,0,0,.35139],"107":[0,.69444,0,0,.60694],"108":[0,.69444,0,0,.31944],"109":[0,.44444,0,0,.95833],"110":[0,.44444,0,0,.63889],"111":[0,.44444,0,0,.575],"112":[.19444,.44444,0,0,.63889],"113":[.19444,.44444,0,0,.60694],"114":[0,.44444,0,0,.47361],"115":[0,.44444,0,0,.45361],"116":[0,.63492,0,0,.44722],"117":[0,.44444,0,0,.63889],"118":[0,.44444,.01597,0,.60694],"119":[0,.44444,.01597,0,.83055],"120":[0,.44444,0,0,.60694],"121":[.19444,.44444,.01597,0,.60694],"122":[0,.44444,0,0,.51111],"123":[.25,.75,0,0,.575],"124":[.25,.75,0,0,.31944],"125":[.25,.75,0,0,.575],"126":[.35,.34444,0,0,.575],"168":[0,.69444,0,0,.575],"172":[0,.44444,0,0,.76666],"176":[0,.69444,0,0,.86944],"177":[.13333,.63333,0,0,.89444],"184":[.17014,0,0,0,.51111],"198":[0,.68611,0,0,1.04166],"215":[.13333,.63333,0,0,.89444],"216":[.04861,.73472,0,0,.89444],"223":[0,.69444,0,0,.59722],"230":[0,.44444,0,0,.83055],"247":[.13333,.63333,0,0,.89444],"248":[.09722,.54167,0,0,.575],"305":[0,.44444,0,0,.31944],"338":[0,.68611,0,0,1.16944],"339":[0,.44444,0,0,.89444],"567":[.19444,.44444,0,0,.35139],"710":[0,.69444,0,0,.575],"711":[0,.63194,0,0,.575],"713":[0,.59611,0,0,.575],"714":[0,.69444,0,0,.575],"715":[0,.69444,0,0,.575],"728":[0,.69444,0,0,.575],"729":[0,.69444,0,0,.31944],"730":[0,.69444,0,0,.86944],"732":[0,.69444,0,0,.575],"733":[0,.69444,0,0,.575],"915":[0,.68611,0,0,.69166],"916":[0,.68611,0,0,.95833],"920":[0,.68611,0,0,.89444],"923":[0,.68611,0,0,.80555],"926":[0,.68611,0,0,.76666],"928":[0,.68611,0,0,.9],"931":[0,.68611,0,0,.83055],"933":[0,.68611,0,0,.89444],"934":[0,.68611,0,0,.83055],"936":[0,.68611,0,0,.89444],"937":[0,.68611,0,0,.83055],"8211":[0,.44444,.03194,0,.575],"8212":[0,.44444,.03194,0,1.14999],"8216":[0,.69444,0,0,.31944],"8217":[0,.69444,0,0,.31944],"8220":[0,.69444,0,0,.60278],"8221":[0,.69444,0,0,.60278],"8224":[.19444,.69444,0,0,.51111],"8225":[.19444,.69444,0,0,.51111],"8242":[0,.55556,0,0,.34444],"8407":[0,.72444,.15486,0,.575],"8463":[0,.69444,0,0,.66759],"8465":[0,.69444,0,0,.83055],"8467":[0,.69444,0,0,.47361],"8472":[.19444,.44444,0,0,.74027],"8476":[0,.69444,0,0,.83055],"8501":[0,.69444,0,0,.70277],"8592":[-.10889,.39111,0,0,1.14999],"8593":[.19444,.69444,0,0,.575],"8594":[-.10889,.39111,0,0,1.14999],"8595":[.19444,.69444,0,0,.575],"8596":[-.10889,.39111,0,0,1.14999],"8597":[.25,.75,0,0,.575],"8598":[.19444,.69444,0,0,1.14999],"8599":[.19444,.69444,0,0,1.14999],"8600":[.19444,.69444,0,0,1.14999],"8601":[.19444,.69444,0,0,1.14999],"8636":[-.10889,.39111,0,0,1.14999],"8637":[-.10889,.39111,0,0,1.14999],"8640":[-.10889,.39111,0,0,1.14999],"8641":[-.10889,.39111,0,0,1.14999],"8656":[-.10889,.39111,0,0,1.14999],"8657":[.19444,.69444,0,0,.70277],"8658":[-.10889,.39111,0,0,1.14999],"8659":[.19444,.69444,0,0,.70277],"8660":[-.10889,.39111,0,0,1.14999],"8661":[.25,.75,0,0,.70277],"8704":[0,.69444,0,0,.63889],"8706":[0,.69444,.06389,0,.62847],"8707":[0,.69444,0,0,.63889],"8709":[.05556,.75,0,0,.575],"8711":[0,.68611,0,0,.95833],"8712":[.08556,.58556,0,0,.76666],"8715":[.08556,.58556,0,0,.76666],"8722":[.13333,.63333,0,0,.89444],"8723":[.13333,.63333,0,0,.89444],"8725":[.25,.75,0,0,.575],"8726":[.25,.75,0,0,.575],"8727":[-.02778,.47222,0,0,.575],"8728":[-.02639,.47361,0,0,.575],"8729":[-.02639,.47361,0,0,.575],"8730":[.18,.82,0,0,.95833],"8733":[0,.44444,0,0,.89444],"8734":[0,.44444,0,0,1.14999],"8736":[0,.69224,0,0,.72222],"8739":[.25,.75,0,0,.31944],"8741":[.25,.75,0,0,.575],"8743":[0,.55556,0,0,.76666],"8744":[0,.55556,0,0,.76666],"8745":[0,.55556,0,0,.76666],"8746":[0,.55556,0,0,.76666],"8747":[.19444,.69444,.12778,0,.56875],"8764":[-.10889,.39111,0,0,.89444],"8768":[.19444,.69444,0,0,.31944],"8771":[.00222,.50222,0,0,.89444],"8776":[.02444,.52444,0,0,.89444],"8781":[.00222,.50222,0,0,.89444],"8801":[.00222,.50222,0,0,.89444],"8804":[.19667,.69667,0,0,.89444],"8805":[.19667,.69667,0,0,.89444],"8810":[.08556,.58556,0,0,1.14999],"8811":[.08556,.58556,0,0,1.14999],"8826":[.08556,.58556,0,0,.89444],"8827":[.08556,.58556,0,0,.89444],"8834":[.08556,.58556,0,0,.89444],"8835":[.08556,.58556,0,0,.89444],"8838":[.19667,.69667,0,0,.89444],"8839":[.19667,.69667,0,0,.89444],"8846":[0,.55556,0,0,.76666],"8849":[.19667,.69667,0,0,.89444],"8850":[.19667,.69667,0,0,.89444],"8851":[0,.55556,0,0,.76666],"8852":[0,.55556,0,0,.76666],"8853":[.13333,.63333,0,0,.89444],"8854":[.13333,.63333,0,0,.89444],"8855":[.13333,.63333,0,0,.89444],"8856":[.13333,.63333,0,0,.89444],"8857":[.13333,.63333,0,0,.89444],"8866":[0,.69444,0,0,.70277],"8867":[0,.69444,0,0,.70277],"8868":[0,.69444,0,0,.89444],"8869":[0,.69444,0,0,.89444],"8900":[-.02639,.47361,0,0,.575],"8901":[-.02639,.47361,0,0,.31944],"8902":[-.02778,.47222,0,0,.575],"8968":[.25,.75,0,0,.51111],"8969":[.25,.75,0,0,.51111],"8970":[.25,.75,0,0,.51111],"8971":[.25,.75,0,0,.51111],"8994":[-.13889,.36111,0,0,1.14999],"8995":[-.13889,.36111,0,0,1.14999],"9651":[.19444,.69444,0,0,1.02222],"9657":[-.02778,.47222,0,0,.575],"9661":[.19444,.69444,0,0,1.02222],"9667":[-.02778,.47222,0,0,.575],"9711":[.19444,.69444,0,0,1.14999],"9824":[.12963,.69444,0,0,.89444],"9825":[.12963,.69444,0,0,.89444],"9826":[.12963,.69444,0,0,.89444],"9827":[.12963,.69444,0,0,.89444],"9837":[0,.75,0,0,.44722],"9838":[.19444,.69444,0,0,.44722],"9839":[.19444,.69444,0,0,.44722],"10216":[.25,.75,0,0,.44722],"10217":[.25,.75,0,0,.44722],"10815":[0,.68611,0,0,.9],"10927":[.19667,.69667,0,0,.89444],"10928":[.19667,.69667,0,0,.89444],"57376":[.19444,.69444,0,0,0]},"Main-BoldItalic":{"33":[0,.69444,.11417,0,.38611],"34":[0,.69444,.07939,0,.62055],"35":[.19444,.69444,.06833,0,.94444],"37":[.05556,.75,.12861,0,.94444],"38":[0,.69444,.08528,0,.88555],"39":[0,.69444,.12945,0,.35555],"40":[.25,.75,.15806,0,.47333],"41":[.25,.75,.03306,0,.47333],"42":[0,.75,.14333,0,.59111],"43":[.10333,.60333,.03306,0,.88555],"44":[.19444,.14722,0,0,.35555],"45":[0,.44444,.02611,0,.41444],"46":[0,.14722,0,0,.35555],"47":[.25,.75,.15806,0,.59111],"48":[0,.64444,.13167,0,.59111],"49":[0,.64444,.13167,0,.59111],"50":[0,.64444,.13167,0,.59111],"51":[0,.64444,.13167,0,.59111],"52":[.19444,.64444,.13167,0,.59111],"53":[0,.64444,.13167,0,.59111],"54":[0,.64444,.13167,0,.59111],"55":[.19444,.64444,.13167,0,.59111],"56":[0,.64444,.13167,0,.59111],"57":[0,.64444,.13167,0,.59111],"58":[0,.44444,.06695,0,.35555],"59":[.19444,.44444,.06695,0,.35555],"61":[-.10889,.39111,.06833,0,.88555],"63":[0,.69444,.11472,0,.59111],"64":[0,.69444,.09208,0,.88555],"65":[0,.68611,0,0,.86555],"66":[0,.68611,.0992,0,.81666],"67":[0,.68611,.14208,0,.82666],"68":[0,.68611,.09062,0,.87555],"69":[0,.68611,.11431,0,.75666],"70":[0,.68611,.12903,0,.72722],"71":[0,.68611,.07347,0,.89527],"72":[0,.68611,.17208,0,.8961],"73":[0,.68611,.15681,0,.47166],"74":[0,.68611,.145,0,.61055],"75":[0,.68611,.14208,0,.89499],"76":[0,.68611,0,0,.69777],"77":[0,.68611,.17208,0,1.07277],"78":[0,.68611,.17208,0,.8961],"79":[0,.68611,.09062,0,.85499],"80":[0,.68611,.0992,0,.78721],"81":[.19444,.68611,.09062,0,.85499],"82":[0,.68611,.02559,0,.85944],"83":[0,.68611,.11264,0,.64999],"84":[0,.68611,.12903,0,.7961],"85":[0,.68611,.17208,0,.88083],"86":[0,.68611,.18625,0,.86555],"87":[0,.68611,.18625,0,1.15999],"88":[0,.68611,.15681,0,.86555],"89":[0,.68611,.19803,0,.86555],"90":[0,.68611,.14208,0,.70888],"91":[.25,.75,.1875,0,.35611],"93":[.25,.75,.09972,0,.35611],"94":[0,.69444,.06709,0,.59111],"95":[.31,.13444,.09811,0,.59111],"97":[0,.44444,.09426,0,.59111],"98":[0,.69444,.07861,0,.53222],"99":[0,.44444,.05222,0,.53222],"100":[0,.69444,.10861,0,.59111],"101":[0,.44444,.085,0,.53222],"102":[.19444,.69444,.21778,0,.4],"103":[.19444,.44444,.105,0,.53222],"104":[0,.69444,.09426,0,.59111],"105":[0,.69326,.11387,0,.35555],"106":[.19444,.69326,.1672,0,.35555],"107":[0,.69444,.11111,0,.53222],"108":[0,.69444,.10861,0,.29666],"109":[0,.44444,.09426,0,.94444],"110":[0,.44444,.09426,0,.64999],"111":[0,.44444,.07861,0,.59111],"112":[.19444,.44444,.07861,0,.59111],"113":[.19444,.44444,.105,0,.53222],"114":[0,.44444,.11111,0,.50167],"115":[0,.44444,.08167,0,.48694],"116":[0,.63492,.09639,0,.385],"117":[0,.44444,.09426,0,.62055],"118":[0,.44444,.11111,0,.53222],"119":[0,.44444,.11111,0,.76777],"120":[0,.44444,.12583,0,.56055],"121":[.19444,.44444,.105,0,.56166],"122":[0,.44444,.13889,0,.49055],"126":[.35,.34444,.11472,0,.59111],"163":[0,.69444,0,0,.86853],"168":[0,.69444,.11473,0,.59111],"176":[0,.69444,0,0,.94888],"184":[.17014,0,0,0,.53222],"198":[0,.68611,.11431,0,1.02277],"216":[.04861,.73472,.09062,0,.88555],"223":[.19444,.69444,.09736,0,.665],"230":[0,.44444,.085,0,.82666],"248":[.09722,.54167,.09458,0,.59111],"305":[0,.44444,.09426,0,.35555],"338":[0,.68611,.11431,0,1.14054],"339":[0,.44444,.085,0,.82666],"567":[.19444,.44444,.04611,0,.385],"710":[0,.69444,.06709,0,.59111],"711":[0,.63194,.08271,0,.59111],"713":[0,.59444,.10444,0,.59111],"714":[0,.69444,.08528,0,.59111],"715":[0,.69444,0,0,.59111],"728":[0,.69444,.10333,0,.59111],"729":[0,.69444,.12945,0,.35555],"730":[0,.69444,0,0,.94888],"732":[0,.69444,.11472,0,.59111],"733":[0,.69444,.11472,0,.59111],"915":[0,.68611,.12903,0,.69777],"916":[0,.68611,0,0,.94444],"920":[0,.68611,.09062,0,.88555],"923":[0,.68611,0,0,.80666],"926":[0,.68611,.15092,0,.76777],"928":[0,.68611,.17208,0,.8961],"931":[0,.68611,.11431,0,.82666],"933":[0,.68611,.10778,0,.88555],"934":[0,.68611,.05632,0,.82666],"936":[0,.68611,.10778,0,.88555],"937":[0,.68611,.0992,0,.82666],"8211":[0,.44444,.09811,0,.59111],"8212":[0,.44444,.09811,0,1.18221],"8216":[0,.69444,.12945,0,.35555],"8217":[0,.69444,.12945,0,.35555],"8220":[0,.69444,.16772,0,.62055],"8221":[0,.69444,.07939,0,.62055]},"Main-Italic":{"33":[0,.69444,.12417,0,.30667],"34":[0,.69444,.06961,0,.51444],"35":[.19444,.69444,.06616,0,.81777],"37":[.05556,.75,.13639,0,.81777],"38":[0,.69444,.09694,0,.76666],"39":[0,.69444,.12417,0,.30667],"40":[.25,.75,.16194,0,.40889],"41":[.25,.75,.03694,0,.40889],"42":[0,.75,.14917,0,.51111],"43":[.05667,.56167,.03694,0,.76666],"44":[.19444,.10556,0,0,.30667],"45":[0,.43056,.02826,0,.35778],"46":[0,.10556,0,0,.30667],"47":[.25,.75,.16194,0,.51111],"48":[0,.64444,.13556,0,.51111],"49":[0,.64444,.13556,0,.51111],"50":[0,.64444,.13556,0,.51111],"51":[0,.64444,.13556,0,.51111],"52":[.19444,.64444,.13556,0,.51111],"53":[0,.64444,.13556,0,.51111],"54":[0,.64444,.13556,0,.51111],"55":[.19444,.64444,.13556,0,.51111],"56":[0,.64444,.13556,0,.51111],"57":[0,.64444,.13556,0,.51111],"58":[0,.43056,.0582,0,.30667],"59":[.19444,.43056,.0582,0,.30667],"61":[-.13313,.36687,.06616,0,.76666],"63":[0,.69444,.1225,0,.51111],"64":[0,.69444,.09597,0,.76666],"65":[0,.68333,0,0,.74333],"66":[0,.68333,.10257,0,.70389],"67":[0,.68333,.14528,0,.71555],"68":[0,.68333,.09403,0,.755],"69":[0,.68333,.12028,0,.67833],"70":[0,.68333,.13305,0,.65277],"71":[0,.68333,.08722,0,.77361],"72":[0,.68333,.16389,0,.74333],"73":[0,.68333,.15806,0,.38555],"74":[0,.68333,.14028,0,.525],"75":[0,.68333,.14528,0,.76888],"76":[0,.68333,0,0,.62722],"77":[0,.68333,.16389,0,.89666],"78":[0,.68333,.16389,0,.74333],"79":[0,.68333,.09403,0,.76666],"80":[0,.68333,.10257,0,.67833],"81":[.19444,.68333,.09403,0,.76666],"82":[0,.68333,.03868,0,.72944],"83":[0,.68333,.11972,0,.56222],"84":[0,.68333,.13305,0,.71555],"85":[0,.68333,.16389,0,.74333],"86":[0,.68333,.18361,0,.74333],"87":[0,.68333,.18361,0,.99888],"88":[0,.68333,.15806,0,.74333],"89":[0,.68333,.19383,0,.74333],"90":[0,.68333,.14528,0,.61333],"91":[.25,.75,.1875,0,.30667],"93":[.25,.75,.10528,0,.30667],"94":[0,.69444,.06646,0,.51111],"95":[.31,.12056,.09208,0,.51111],"97":[0,.43056,.07671,0,.51111],"98":[0,.69444,.06312,0,.46],"99":[0,.43056,.05653,0,.46],"100":[0,.69444,.10333,0,.51111],"101":[0,.43056,.07514,0,.46],"102":[.19444,.69444,.21194,0,.30667],"103":[.19444,.43056,.08847,0,.46],"104":[0,.69444,.07671,0,.51111],"105":[0,.65536,.1019,0,.30667],"106":[.19444,.65536,.14467,0,.30667],"107":[0,.69444,.10764,0,.46],"108":[0,.69444,.10333,0,.25555],"109":[0,.43056,.07671,0,.81777],"110":[0,.43056,.07671,0,.56222],"111":[0,.43056,.06312,0,.51111],"112":[.19444,.43056,.06312,0,.51111],"113":[.19444,.43056,.08847,0,.46],"114":[0,.43056,.10764,0,.42166],"115":[0,.43056,.08208,0,.40889],"116":[0,.61508,.09486,0,.33222],"117":[0,.43056,.07671,0,.53666],"118":[0,.43056,.10764,0,.46],"119":[0,.43056,.10764,0,.66444],"120":[0,.43056,.12042,0,.46389],"121":[.19444,.43056,.08847,0,.48555],"122":[0,.43056,.12292,0,.40889],"126":[.35,.31786,.11585,0,.51111],"163":[0,.69444,0,0,.76909],"168":[0,.66786,.10474,0,.51111],"176":[0,.69444,0,0,.83129],"184":[.17014,0,0,0,.46],"198":[0,.68333,.12028,0,.88277],"216":[.04861,.73194,.09403,0,.76666],"223":[.19444,.69444,.10514,0,.53666],"230":[0,.43056,.07514,0,.71555],"248":[.09722,.52778,.09194,0,.51111],"305":[0,.43056,0,.02778,.32246],"338":[0,.68333,.12028,0,.98499],"339":[0,.43056,.07514,0,.71555],"567":[.19444,.43056,0,.08334,.38403],"710":[0,.69444,.06646,0,.51111],"711":[0,.62847,.08295,0,.51111],"713":[0,.56167,.10333,0,.51111],"714":[0,.69444,.09694,0,.51111],"715":[0,.69444,0,0,.51111],"728":[0,.69444,.10806,0,.51111],"729":[0,.66786,.11752,0,.30667],"730":[0,.69444,0,0,.83129],"732":[0,.66786,.11585,0,.51111],"733":[0,.69444,.1225,0,.51111],"915":[0,.68333,.13305,0,.62722],"916":[0,.68333,0,0,.81777],"920":[0,.68333,.09403,0,.76666],"923":[0,.68333,0,0,.69222],"926":[0,.68333,.15294,0,.66444],"928":[0,.68333,.16389,0,.74333],"931":[0,.68333,.12028,0,.71555],"933":[0,.68333,.11111,0,.76666],"934":[0,.68333,.05986,0,.71555],"936":[0,.68333,.11111,0,.76666],"937":[0,.68333,.10257,0,.71555],"8211":[0,.43056,.09208,0,.51111],"8212":[0,.43056,.09208,0,1.02222],"8216":[0,.69444,.12417,0,.30667],"8217":[0,.69444,.12417,0,.30667],"8220":[0,.69444,.1685,0,.51444],"8221":[0,.69444,.06961,0,.51444],"8463":[0,.68889,0,0,.54028]},"Main-Regular":{"32":[0,0,0,0,.25],"33":[0,.69444,0,0,.27778],"34":[0,.69444,0,0,.5],"35":[.19444,.69444,0,0,.83334],"36":[.05556,.75,0,0,.5],"37":[.05556,.75,0,0,.83334],"38":[0,.69444,0,0,.77778],"39":[0,.69444,0,0,.27778],"40":[.25,.75,0,0,.38889],"41":[.25,.75,0,0,.38889],"42":[0,.75,0,0,.5],"43":[.08333,.58333,0,0,.77778],"44":[.19444,.10556,0,0,.27778],"45":[0,.43056,0,0,.33333],"46":[0,.10556,0,0,.27778],"47":[.25,.75,0,0,.5],"48":[0,.64444,0,0,.5],"49":[0,.64444,0,0,.5],"50":[0,.64444,0,0,.5],"51":[0,.64444,0,0,.5],"52":[0,.64444,0,0,.5],"53":[0,.64444,0,0,.5],"54":[0,.64444,0,0,.5],"55":[0,.64444,0,0,.5],"56":[0,.64444,0,0,.5],"57":[0,.64444,0,0,.5],"58":[0,.43056,0,0,.27778],"59":[.19444,.43056,0,0,.27778],"60":[.0391,.5391,0,0,.77778],"61":[-.13313,.36687,0,0,.77778],"62":[.0391,.5391,0,0,.77778],"63":[0,.69444,0,0,.47222],"64":[0,.69444,0,0,.77778],"65":[0,.68333,0,0,.75],"66":[0,.68333,0,0,.70834],"67":[0,.68333,0,0,.72222],"68":[0,.68333,0,0,.76389],"69":[0,.68333,0,0,.68056],"70":[0,.68333,0,0,.65278],"71":[0,.68333,0,0,.78472],"72":[0,.68333,0,0,.75],"73":[0,.68333,0,0,.36111],"74":[0,.68333,0,0,.51389],"75":[0,.68333,0,0,.77778],"76":[0,.68333,0,0,.625],"77":[0,.68333,0,0,.91667],"78":[0,.68333,0,0,.75],"79":[0,.68333,0,0,.77778],"80":[0,.68333,0,0,.68056],"81":[.19444,.68333,0,0,.77778],"82":[0,.68333,0,0,.73611],"83":[0,.68333,0,0,.55556],"84":[0,.68333,0,0,.72222],"85":[0,.68333,0,0,.75],"86":[0,.68333,.01389,0,.75],"87":[0,.68333,.01389,0,1.02778],"88":[0,.68333,0,0,.75],"89":[0,.68333,.025,0,.75],"90":[0,.68333,0,0,.61111],"91":[.25,.75,0,0,.27778],"92":[.25,.75,0,0,.5],"93":[.25,.75,0,0,.27778],"94":[0,.69444,0,0,.5],"95":[.31,.12056,.02778,0,.5],"97":[0,.43056,0,0,.5],"98":[0,.69444,0,0,.55556],"99":[0,.43056,0,0,.44445],"100":[0,.69444,0,0,.55556],"101":[0,.43056,0,0,.44445],"102":[0,.69444,.07778,0,.30556],"103":[.19444,.43056,.01389,0,.5],"104":[0,.69444,0,0,.55556],"105":[0,.66786,0,0,.27778],"106":[.19444,.66786,0,0,.30556],"107":[0,.69444,0,0,.52778],"108":[0,.69444,0,0,.27778],"109":[0,.43056,0,0,.83334],"110":[0,.43056,0,0,.55556],"111":[0,.43056,0,0,.5],"112":[.19444,.43056,0,0,.55556],"113":[.19444,.43056,0,0,.52778],"114":[0,.43056,0,0,.39167],"115":[0,.43056,0,0,.39445],"116":[0,.61508,0,0,.38889],"117":[0,.43056,0,0,.55556],"118":[0,.43056,.01389,0,.52778],"119":[0,.43056,.01389,0,.72222],"120":[0,.43056,0,0,.52778],"121":[.19444,.43056,.01389,0,.52778],"122":[0,.43056,0,0,.44445],"123":[.25,.75,0,0,.5],"124":[.25,.75,0,0,.27778],"125":[.25,.75,0,0,.5],"126":[.35,.31786,0,0,.5],"160":[0,0,0,0,.25],"167":[.19444,.69444,0,0,.44445],"168":[0,.66786,0,0,.5],"172":[0,.43056,0,0,.66667],"176":[0,.69444,0,0,.75],"177":[.08333,.58333,0,0,.77778],"182":[.19444,.69444,0,0,.61111],"184":[.17014,0,0,0,.44445],"198":[0,.68333,0,0,.90278],"215":[.08333,.58333,0,0,.77778],"216":[.04861,.73194,0,0,.77778],"223":[0,.69444,0,0,.5],"230":[0,.43056,0,0,.72222],"247":[.08333,.58333,0,0,.77778],"248":[.09722,.52778,0,0,.5],"305":[0,.43056,0,0,.27778],"338":[0,.68333,0,0,1.01389],"339":[0,.43056,0,0,.77778],"567":[.19444,.43056,0,0,.30556],"710":[0,.69444,0,0,.5],"711":[0,.62847,0,0,.5],"713":[0,.56778,0,0,.5],"714":[0,.69444,0,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,0,0,.5],"729":[0,.66786,0,0,.27778],"730":[0,.69444,0,0,.75],"732":[0,.66786,0,0,.5],"733":[0,.69444,0,0,.5],"915":[0,.68333,0,0,.625],"916":[0,.68333,0,0,.83334],"920":[0,.68333,0,0,.77778],"923":[0,.68333,0,0,.69445],"926":[0,.68333,0,0,.66667],"928":[0,.68333,0,0,.75],"931":[0,.68333,0,0,.72222],"933":[0,.68333,0,0,.77778],"934":[0,.68333,0,0,.72222],"936":[0,.68333,0,0,.77778],"937":[0,.68333,0,0,.72222],"8211":[0,.43056,.02778,0,.5],"8212":[0,.43056,.02778,0,1],"8216":[0,.69444,0,0,.27778],"8217":[0,.69444,0,0,.27778],"8220":[0,.69444,0,0,.5],"8221":[0,.69444,0,0,.5],"8224":[.19444,.69444,0,0,.44445],"8225":[.19444,.69444,0,0,.44445],"8230":[0,.12,0,0,1.172],"8242":[0,.55556,0,0,.275],"8407":[0,.71444,.15382,0,.5],"8463":[0,.68889,0,0,.54028],"8465":[0,.69444,0,0,.72222],"8467":[0,.69444,0,.11111,.41667],"8472":[.19444,.43056,0,.11111,.63646],"8476":[0,.69444,0,0,.72222],"8501":[0,.69444,0,0,.61111],"8592":[-.13313,.36687,0,0,1],"8593":[.19444,.69444,0,0,.5],"8594":[-.13313,.36687,0,0,1],"8595":[.19444,.69444,0,0,.5],"8596":[-.13313,.36687,0,0,1],"8597":[.25,.75,0,0,.5],"8598":[.19444,.69444,0,0,1],"8599":[.19444,.69444,0,0,1],"8600":[.19444,.69444,0,0,1],"8601":[.19444,.69444,0,0,1],"8614":[.011,.511,0,0,1],"8617":[.011,.511,0,0,1.126],"8618":[.011,.511,0,0,1.126],"8636":[-.13313,.36687,0,0,1],"8637":[-.13313,.36687,0,0,1],"8640":[-.13313,.36687,0,0,1],"8641":[-.13313,.36687,0,0,1],"8652":[.011,.671,0,0,1],"8656":[-.13313,.36687,0,0,1],"8657":[.19444,.69444,0,0,.61111],"8658":[-.13313,.36687,0,0,1],"8659":[.19444,.69444,0,0,.61111],"8660":[-.13313,.36687,0,0,1],"8661":[.25,.75,0,0,.61111],"8704":[0,.69444,0,0,.55556],"8706":[0,.69444,.05556,.08334,.5309],"8707":[0,.69444,0,0,.55556],"8709":[.05556,.75,0,0,.5],"8711":[0,.68333,0,0,.83334],"8712":[.0391,.5391,0,0,.66667],"8715":[.0391,.5391,0,0,.66667],"8722":[.08333,.58333,0,0,.77778],"8723":[.08333,.58333,0,0,.77778],"8725":[.25,.75,0,0,.5],"8726":[.25,.75,0,0,.5],"8727":[-.03472,.46528,0,0,.5],"8728":[-.05555,.44445,0,0,.5],"8729":[-.05555,.44445,0,0,.5],"8730":[.2,.8,0,0,.83334],"8733":[0,.43056,0,0,.77778],"8734":[0,.43056,0,0,1],"8736":[0,.69224,0,0,.72222],"8739":[.25,.75,0,0,.27778],"8741":[.25,.75,0,0,.5],"8743":[0,.55556,0,0,.66667],"8744":[0,.55556,0,0,.66667],"8745":[0,.55556,0,0,.66667],"8746":[0,.55556,0,0,.66667],"8747":[.19444,.69444,.11111,0,.41667],"8764":[-.13313,.36687,0,0,.77778],"8768":[.19444,.69444,0,0,.27778],"8771":[-.03625,.46375,0,0,.77778],"8773":[-.022,.589,0,0,1],"8776":[-.01688,.48312,0,0,.77778],"8781":[-.03625,.46375,0,0,.77778],"8784":[-.133,.67,0,0,.778],"8801":[-.03625,.46375,0,0,.77778],"8804":[.13597,.63597,0,0,.77778],"8805":[.13597,.63597,0,0,.77778],"8810":[.0391,.5391,0,0,1],"8811":[.0391,.5391,0,0,1],"8826":[.0391,.5391,0,0,.77778],"8827":[.0391,.5391,0,0,.77778],"8834":[.0391,.5391,0,0,.77778],"8835":[.0391,.5391,0,0,.77778],"8838":[.13597,.63597,0,0,.77778],"8839":[.13597,.63597,0,0,.77778],"8846":[0,.55556,0,0,.66667],"8849":[.13597,.63597,0,0,.77778],"8850":[.13597,.63597,0,0,.77778],"8851":[0,.55556,0,0,.66667],"8852":[0,.55556,0,0,.66667],"8853":[.08333,.58333,0,0,.77778],"8854":[.08333,.58333,0,0,.77778],"8855":[.08333,.58333,0,0,.77778],"8856":[.08333,.58333,0,0,.77778],"8857":[.08333,.58333,0,0,.77778],"8866":[0,.69444,0,0,.61111],"8867":[0,.69444,0,0,.61111],"8868":[0,.69444,0,0,.77778],"8869":[0,.69444,0,0,.77778],"8872":[.249,.75,0,0,.867],"8900":[-.05555,.44445,0,0,.5],"8901":[-.05555,.44445,0,0,.27778],"8902":[-.03472,.46528,0,0,.5],"8904":[.005,.505,0,0,.9],"8942":[.03,.9,0,0,.278],"8943":[-.19,.31,0,0,1.172],"8945":[-.1,.82,0,0,1.282],"8968":[.25,.75,0,0,.44445],"8969":[.25,.75,0,0,.44445],"8970":[.25,.75,0,0,.44445],"8971":[.25,.75,0,0,.44445],"8994":[-.14236,.35764,0,0,1],"8995":[-.14236,.35764,0,0,1],"9136":[.244,.744,0,0,.412],"9137":[.244,.744,0,0,.412],"9651":[.19444,.69444,0,0,.88889],"9657":[-.03472,.46528,0,0,.5],"9661":[.19444,.69444,0,0,.88889],"9667":[-.03472,.46528,0,0,.5],"9711":[.19444,.69444,0,0,1],"9824":[.12963,.69444,0,0,.77778],"9825":[.12963,.69444,0,0,.77778],"9826":[.12963,.69444,0,0,.77778],"9827":[.12963,.69444,0,0,.77778],"9837":[0,.75,0,0,.38889],"9838":[.19444,.69444,0,0,.38889],"9839":[.19444,.69444,0,0,.38889],"10216":[.25,.75,0,0,.38889],"10217":[.25,.75,0,0,.38889],"10222":[.244,.744,0,0,.412],"10223":[.244,.744,0,0,.412],"10229":[.011,.511,0,0,1.609],"10230":[.011,.511,0,0,1.638],"10231":[.011,.511,0,0,1.859],"10232":[.024,.525,0,0,1.609],"10233":[.024,.525,0,0,1.638],"10234":[.024,.525,0,0,1.858],"10236":[.011,.511,0,0,1.638],"10815":[0,.68333,0,0,.75],"10927":[.13597,.63597,0,0,.77778],"10928":[.13597,.63597,0,0,.77778],"57376":[.19444,.69444,0,0,0]},"Math-BoldItalic":{"65":[0,.68611,0,0,.86944],"66":[0,.68611,.04835,0,.8664],"67":[0,.68611,.06979,0,.81694],"68":[0,.68611,.03194,0,.93812],"69":[0,.68611,.05451,0,.81007],"70":[0,.68611,.15972,0,.68889],"71":[0,.68611,0,0,.88673],"72":[0,.68611,.08229,0,.98229],"73":[0,.68611,.07778,0,.51111],"74":[0,.68611,.10069,0,.63125],"75":[0,.68611,.06979,0,.97118],"76":[0,.68611,0,0,.75555],"77":[0,.68611,.11424,0,1.14201],"78":[0,.68611,.11424,0,.95034],"79":[0,.68611,.03194,0,.83666],"80":[0,.68611,.15972,0,.72309],"81":[.19444,.68611,0,0,.86861],"82":[0,.68611,.00421,0,.87235],"83":[0,.68611,.05382,0,.69271],"84":[0,.68611,.15972,0,.63663],"85":[0,.68611,.11424,0,.80027],"86":[0,.68611,.25555,0,.67778],"87":[0,.68611,.15972,0,1.09305],"88":[0,.68611,.07778,0,.94722],"89":[0,.68611,.25555,0,.67458],"90":[0,.68611,.06979,0,.77257],"97":[0,.44444,0,0,.63287],"98":[0,.69444,0,0,.52083],"99":[0,.44444,0,0,.51342],"100":[0,.69444,0,0,.60972],"101":[0,.44444,0,0,.55361],"102":[.19444,.69444,.11042,0,.56806],"103":[.19444,.44444,.03704,0,.5449],"104":[0,.69444,0,0,.66759],"105":[0,.69326,0,0,.4048],"106":[.19444,.69326,.0622,0,.47083],"107":[0,.69444,.01852,0,.6037],"108":[0,.69444,.0088,0,.34815],"109":[0,.44444,0,0,1.0324],"110":[0,.44444,0,0,.71296],"111":[0,.44444,0,0,.58472],"112":[.19444,.44444,0,0,.60092],"113":[.19444,.44444,.03704,0,.54213],"114":[0,.44444,.03194,0,.5287],"115":[0,.44444,0,0,.53125],"116":[0,.63492,0,0,.41528],"117":[0,.44444,0,0,.68102],"118":[0,.44444,.03704,0,.56666],"119":[0,.44444,.02778,0,.83148],"120":[0,.44444,0,0,.65903],"121":[.19444,.44444,.03704,0,.59028],"122":[0,.44444,.04213,0,.55509],"915":[0,.68611,.15972,0,.65694],"916":[0,.68611,0,0,.95833],"920":[0,.68611,.03194,0,.86722],"923":[0,.68611,0,0,.80555],"926":[0,.68611,.07458,0,.84125],"928":[0,.68611,.08229,0,.98229],"931":[0,.68611,.05451,0,.88507],"933":[0,.68611,.15972,0,.67083],"934":[0,.68611,0,0,.76666],"936":[0,.68611,.11653,0,.71402],"937":[0,.68611,.04835,0,.8789],"945":[0,.44444,0,0,.76064],"946":[.19444,.69444,.03403,0,.65972],"947":[.19444,.44444,.06389,0,.59003],"948":[0,.69444,.03819,0,.52222],"949":[0,.44444,0,0,.52882],"950":[.19444,.69444,.06215,0,.50833],"951":[.19444,.44444,.03704,0,.6],"952":[0,.69444,.03194,0,.5618],"953":[0,.44444,0,0,.41204],"954":[0,.44444,0,0,.66759],"955":[0,.69444,0,0,.67083],"956":[.19444,.44444,0,0,.70787],"957":[0,.44444,.06898,0,.57685],"958":[.19444,.69444,.03021,0,.50833],"959":[0,.44444,0,0,.58472],"960":[0,.44444,.03704,0,.68241],"961":[.19444,.44444,0,0,.6118],"962":[.09722,.44444,.07917,0,.42361],"963":[0,.44444,.03704,0,.68588],"964":[0,.44444,.13472,0,.52083],"965":[0,.44444,.03704,0,.63055],"966":[.19444,.44444,0,0,.74722],"967":[.19444,.44444,0,0,.71805],"968":[.19444,.69444,.03704,0,.75833],"969":[0,.44444,.03704,0,.71782],"977":[0,.69444,0,0,.69155],"981":[.19444,.69444,0,0,.7125],"982":[0,.44444,.03194,0,.975],"1009":[.19444,.44444,0,0,.6118],"1013":[0,.44444,0,0,.48333]},"Math-Italic":{"65":[0,.68333,0,.13889,.75],"66":[0,.68333,.05017,.08334,.75851],"67":[0,.68333,.07153,.08334,.71472],"68":[0,.68333,.02778,.05556,.82792],"69":[0,.68333,.05764,.08334,.7382],"70":[0,.68333,.13889,.08334,.64306],"71":[0,.68333,0,.08334,.78625],"72":[0,.68333,.08125,.05556,.83125],"73":[0,.68333,.07847,.11111,.43958],"74":[0,.68333,.09618,.16667,.55451],"75":[0,.68333,.07153,.05556,.84931],"76":[0,.68333,0,.02778,.68056],"77":[0,.68333,.10903,.08334,.97014],"78":[0,.68333,.10903,.08334,.80347],"79":[0,.68333,.02778,.08334,.76278],"80":[0,.68333,.13889,.08334,.64201],"81":[.19444,.68333,0,.08334,.79056],"82":[0,.68333,.00773,.08334,.75929],"83":[0,.68333,.05764,.08334,.6132],"84":[0,.68333,.13889,.08334,.58438],"85":[0,.68333,.10903,.02778,.68278],"86":[0,.68333,.22222,0,.58333],"87":[0,.68333,.13889,0,.94445],"88":[0,.68333,.07847,.08334,.82847],"89":[0,.68333,.22222,0,.58056],"90":[0,.68333,.07153,.08334,.68264],"97":[0,.43056,0,0,.52859],"98":[0,.69444,0,0,.42917],"99":[0,.43056,0,.05556,.43276],"100":[0,.69444,0,.16667,.52049],"101":[0,.43056,0,.05556,.46563],"102":[.19444,.69444,.10764,.16667,.48959],"103":[.19444,.43056,.03588,.02778,.47697],"104":[0,.69444,0,0,.57616],"105":[0,.65952,0,0,.34451],"106":[.19444,.65952,.05724,0,.41181],"107":[0,.69444,.03148,0,.5206],"108":[0,.69444,.01968,.08334,.29838],"109":[0,.43056,0,0,.87801],"110":[0,.43056,0,0,.60023],"111":[0,.43056,0,.05556,.48472],"112":[.19444,.43056,0,.08334,.50313],"113":[.19444,.43056,.03588,.08334,.44641],"114":[0,.43056,.02778,.05556,.45116],"115":[0,.43056,0,.05556,.46875],"116":[0,.61508,0,.08334,.36111],"117":[0,.43056,0,.02778,.57246],"118":[0,.43056,.03588,.02778,.48472],"119":[0,.43056,.02691,.08334,.71592],"120":[0,.43056,0,.02778,.57153],"121":[.19444,.43056,.03588,.05556,.49028],"122":[0,.43056,.04398,.05556,.46505],"915":[0,.68333,.13889,.08334,.61528],"916":[0,.68333,0,.16667,.83334],"920":[0,.68333,.02778,.08334,.76278],"923":[0,.68333,0,.16667,.69445],"926":[0,.68333,.07569,.08334,.74236],"928":[0,.68333,.08125,.05556,.83125],"931":[0,.68333,.05764,.08334,.77986],"933":[0,.68333,.13889,.05556,.58333],"934":[0,.68333,0,.08334,.66667],"936":[0,.68333,.11,.05556,.61222],"937":[0,.68333,.05017,.08334,.7724],"945":[0,.43056,.0037,.02778,.6397],"946":[.19444,.69444,.05278,.08334,.56563],"947":[.19444,.43056,.05556,0,.51773],"948":[0,.69444,.03785,.05556,.44444],"949":[0,.43056,0,.08334,.46632],"950":[.19444,.69444,.07378,.08334,.4375],"951":[.19444,.43056,.03588,.05556,.49653],"952":[0,.69444,.02778,.08334,.46944],"953":[0,.43056,0,.05556,.35394],"954":[0,.43056,0,0,.57616],"955":[0,.69444,0,0,.58334],"956":[.19444,.43056,0,.02778,.60255],"957":[0,.43056,.06366,.02778,.49398],"958":[.19444,.69444,.04601,.11111,.4375],"959":[0,.43056,0,.05556,.48472],"960":[0,.43056,.03588,0,.57003],"961":[.19444,.43056,0,.08334,.51702],"962":[.09722,.43056,.07986,.08334,.36285],"963":[0,.43056,.03588,0,.57141],"964":[0,.43056,.1132,.02778,.43715],"965":[0,.43056,.03588,.02778,.54028],"966":[.19444,.43056,0,.08334,.65417],"967":[.19444,.43056,0,.05556,.62569],"968":[.19444,.69444,.03588,.11111,.65139],"969":[0,.43056,.03588,0,.62245],"977":[0,.69444,0,.08334,.59144],"981":[.19444,.69444,0,.08334,.59583],"982":[0,.43056,.02778,0,.82813],"1009":[.19444,.43056,0,.08334,.51702],"1013":[0,.43056,0,.05556,.4059]},"Math-Regular":{"65":[0,.68333,0,.13889,.75],"66":[0,.68333,.05017,.08334,.75851],"67":[0,.68333,.07153,.08334,.71472],"68":[0,.68333,.02778,.05556,.82792],"69":[0,.68333,.05764,.08334,.7382],"70":[0,.68333,.13889,.08334,.64306],"71":[0,.68333,0,.08334,.78625],"72":[0,.68333,.08125,.05556,.83125],"73":[0,.68333,.07847,.11111,.43958],"74":[0,.68333,.09618,.16667,.55451],"75":[0,.68333,.07153,.05556,.84931],"76":[0,.68333,0,.02778,.68056],"77":[0,.68333,.10903,.08334,.97014],"78":[0,.68333,.10903,.08334,.80347],"79":[0,.68333,.02778,.08334,.76278],"80":[0,.68333,.13889,.08334,.64201],"81":[.19444,.68333,0,.08334,.79056],"82":[0,.68333,.00773,.08334,.75929],"83":[0,.68333,.05764,.08334,.6132],"84":[0,.68333,.13889,.08334,.58438],"85":[0,.68333,.10903,.02778,.68278],"86":[0,.68333,.22222,0,.58333],"87":[0,.68333,.13889,0,.94445],"88":[0,.68333,.07847,.08334,.82847],"89":[0,.68333,.22222,0,.58056],"90":[0,.68333,.07153,.08334,.68264],"97":[0,.43056,0,0,.52859],"98":[0,.69444,0,0,.42917],"99":[0,.43056,0,.05556,.43276],"100":[0,.69444,0,.16667,.52049],"101":[0,.43056,0,.05556,.46563],"102":[.19444,.69444,.10764,.16667,.48959],"103":[.19444,.43056,.03588,.02778,.47697],"104":[0,.69444,0,0,.57616],"105":[0,.65952,0,0,.34451],"106":[.19444,.65952,.05724,0,.41181],"107":[0,.69444,.03148,0,.5206],"108":[0,.69444,.01968,.08334,.29838],"109":[0,.43056,0,0,.87801],"110":[0,.43056,0,0,.60023],"111":[0,.43056,0,.05556,.48472],"112":[.19444,.43056,0,.08334,.50313],"113":[.19444,.43056,.03588,.08334,.44641],"114":[0,.43056,.02778,.05556,.45116],"115":[0,.43056,0,.05556,.46875],"116":[0,.61508,0,.08334,.36111],"117":[0,.43056,0,.02778,.57246],"118":[0,.43056,.03588,.02778,.48472],"119":[0,.43056,.02691,.08334,.71592],"120":[0,.43056,0,.02778,.57153],"121":[.19444,.43056,.03588,.05556,.49028],"122":[0,.43056,.04398,.05556,.46505],"915":[0,.68333,.13889,.08334,.61528],"916":[0,.68333,0,.16667,.83334],"920":[0,.68333,.02778,.08334,.76278],"923":[0,.68333,0,.16667,.69445],"926":[0,.68333,.07569,.08334,.74236],"928":[0,.68333,.08125,.05556,.83125],"931":[0,.68333,.05764,.08334,.77986],"933":[0,.68333,.13889,.05556,.58333],"934":[0,.68333,0,.08334,.66667],"936":[0,.68333,.11,.05556,.61222],"937":[0,.68333,.05017,.08334,.7724],"945":[0,.43056,.0037,.02778,.6397],"946":[.19444,.69444,.05278,.08334,.56563],"947":[.19444,.43056,.05556,0,.51773],"948":[0,.69444,.03785,.05556,.44444],"949":[0,.43056,0,.08334,.46632],"950":[.19444,.69444,.07378,.08334,.4375],"951":[.19444,.43056,.03588,.05556,.49653],"952":[0,.69444,.02778,.08334,.46944],"953":[0,.43056,0,.05556,.35394],"954":[0,.43056,0,0,.57616],"955":[0,.69444,0,0,.58334],"956":[.19444,.43056,0,.02778,.60255],"957":[0,.43056,.06366,.02778,.49398],"958":[.19444,.69444,.04601,.11111,.4375],"959":[0,.43056,0,.05556,.48472],"960":[0,.43056,.03588,0,.57003],"961":[.19444,.43056,0,.08334,.51702],"962":[.09722,.43056,.07986,.08334,.36285],"963":[0,.43056,.03588,0,.57141],"964":[0,.43056,.1132,.02778,.43715],"965":[0,.43056,.03588,.02778,.54028],"966":[.19444,.43056,0,.08334,.65417],"967":[.19444,.43056,0,.05556,.62569],"968":[.19444,.69444,.03588,.11111,.65139],"969":[0,.43056,.03588,0,.62245],"977":[0,.69444,0,.08334,.59144],"981":[.19444,.69444,0,.08334,.59583],"982":[0,.43056,.02778,0,.82813],"1009":[.19444,.43056,0,.08334,.51702],"1013":[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{"33":[0,.69444,0,0,.36667],"34":[0,.69444,0,0,.55834],"35":[.19444,.69444,0,0,.91667],"36":[.05556,.75,0,0,.55],"37":[.05556,.75,0,0,1.02912],"38":[0,.69444,0,0,.83056],"39":[0,.69444,0,0,.30556],"40":[.25,.75,0,0,.42778],"41":[.25,.75,0,0,.42778],"42":[0,.75,0,0,.55],"43":[.11667,.61667,0,0,.85556],"44":[.10556,.13056,0,0,.30556],"45":[0,.45833,0,0,.36667],"46":[0,.13056,0,0,.30556],"47":[.25,.75,0,0,.55],"48":[0,.69444,0,0,.55],"49":[0,.69444,0,0,.55],"50":[0,.69444,0,0,.55],"51":[0,.69444,0,0,.55],"52":[0,.69444,0,0,.55],"53":[0,.69444,0,0,.55],"54":[0,.69444,0,0,.55],"55":[0,.69444,0,0,.55],"56":[0,.69444,0,0,.55],"57":[0,.69444,0,0,.55],"58":[0,.45833,0,0,.30556],"59":[.10556,.45833,0,0,.30556],"61":[-.09375,.40625,0,0,.85556],"63":[0,.69444,0,0,.51945],"64":[0,.69444,0,0,.73334],"65":[0,.69444,0,0,.73334],"66":[0,.69444,0,0,.73334],"67":[0,.69444,0,0,.70278],"68":[0,.69444,0,0,.79445],"69":[0,.69444,0,0,.64167],"70":[0,.69444,0,0,.61111],"71":[0,.69444,0,0,.73334],"72":[0,.69444,0,0,.79445],"73":[0,.69444,0,0,.33056],"74":[0,.69444,0,0,.51945],"75":[0,.69444,0,0,.76389],"76":[0,.69444,0,0,.58056],"77":[0,.69444,0,0,.97778],"78":[0,.69444,0,0,.79445],"79":[0,.69444,0,0,.79445],"80":[0,.69444,0,0,.70278],"81":[.10556,.69444,0,0,.79445],"82":[0,.69444,0,0,.70278],"83":[0,.69444,0,0,.61111],"84":[0,.69444,0,0,.73334],"85":[0,.69444,0,0,.76389],"86":[0,.69444,.01528,0,.73334],"87":[0,.69444,.01528,0,1.03889],"88":[0,.69444,0,0,.73334],"89":[0,.69444,.0275,0,.73334],"90":[0,.69444,0,0,.67223],"91":[.25,.75,0,0,.34306],"93":[.25,.75,0,0,.34306],"94":[0,.69444,0,0,.55],"95":[.35,.10833,.03056,0,.55],"97":[0,.45833,0,0,.525],"98":[0,.69444,0,0,.56111],"99":[0,.45833,0,0,.48889],"100":[0,.69444,0,0,.56111],"101":[0,.45833,0,0,.51111],"102":[0,.69444,.07639,0,.33611],"103":[.19444,.45833,.01528,0,.55],"104":[0,.69444,0,0,.56111],"105":[0,.69444,0,0,.25556],"106":[.19444,.69444,0,0,.28611],"107":[0,.69444,0,0,.53056],"108":[0,.69444,0,0,.25556],"109":[0,.45833,0,0,.86667],"110":[0,.45833,0,0,.56111],"111":[0,.45833,0,0,.55],"112":[.19444,.45833,0,0,.56111],"113":[.19444,.45833,0,0,.56111],"114":[0,.45833,.01528,0,.37222],"115":[0,.45833,0,0,.42167],"116":[0,.58929,0,0,.40417],"117":[0,.45833,0,0,.56111],"118":[0,.45833,.01528,0,.5],"119":[0,.45833,.01528,0,.74445],"120":[0,.45833,0,0,.5],"121":[.19444,.45833,.01528,0,.5],"122":[0,.45833,0,0,.47639],"126":[.35,.34444,0,0,.55],"168":[0,.69444,0,0,.55],"176":[0,.69444,0,0,.73334],"180":[0,.69444,0,0,.55],"184":[.17014,0,0,0,.48889],"305":[0,.45833,0,0,.25556],"567":[.19444,.45833,0,0,.28611],"710":[0,.69444,0,0,.55],"711":[0,.63542,0,0,.55],"713":[0,.63778,0,0,.55],"728":[0,.69444,0,0,.55],"729":[0,.69444,0,0,.30556],"730":[0,.69444,0,0,.73334],"732":[0,.69444,0,0,.55],"733":[0,.69444,0,0,.55],"915":[0,.69444,0,0,.58056],"916":[0,.69444,0,0,.91667],"920":[0,.69444,0,0,.85556],"923":[0,.69444,0,0,.67223],"926":[0,.69444,0,0,.73334],"928":[0,.69444,0,0,.79445],"931":[0,.69444,0,0,.79445],"933":[0,.69444,0,0,.85556],"934":[0,.69444,0,0,.79445],"936":[0,.69444,0,0,.85556],"937":[0,.69444,0,0,.79445],"8211":[0,.45833,.03056,0,.55],"8212":[0,.45833,.03056,0,1.10001],"8216":[0,.69444,0,0,.30556],"8217":[0,.69444,0,0,.30556],"8220":[0,.69444,0,0,.55834],"8221":[0,.69444,0,0,.55834]},"SansSerif-Italic":{"33":[0,.69444,.05733,0,.31945],"34":[0,.69444,.00316,0,.5],"35":[.19444,.69444,.05087,0,.83334],"36":[.05556,.75,.11156,0,.5],"37":[.05556,.75,.03126,0,.83334],"38":[0,.69444,.03058,0,.75834],"39":[0,.69444,.07816,0,.27778],"40":[.25,.75,.13164,0,.38889],"41":[.25,.75,.02536,0,.38889],"42":[0,.75,.11775,0,.5],"43":[.08333,.58333,.02536,0,.77778],"44":[.125,.08333,0,0,.27778],"45":[0,.44444,.01946,0,.33333],"46":[0,.08333,0,0,.27778],"47":[.25,.75,.13164,0,.5],"48":[0,.65556,.11156,0,.5],"49":[0,.65556,.11156,0,.5],"50":[0,.65556,.11156,0,.5],"51":[0,.65556,.11156,0,.5],"52":[0,.65556,.11156,0,.5],"53":[0,.65556,.11156,0,.5],"54":[0,.65556,.11156,0,.5],"55":[0,.65556,.11156,0,.5],"56":[0,.65556,.11156,0,.5],"57":[0,.65556,.11156,0,.5],"58":[0,.44444,.02502,0,.27778],"59":[.125,.44444,.02502,0,.27778],"61":[-.13,.37,.05087,0,.77778],"63":[0,.69444,.11809,0,.47222],"64":[0,.69444,.07555,0,.66667],"65":[0,.69444,0,0,.66667],"66":[0,.69444,.08293,0,.66667],"67":[0,.69444,.11983,0,.63889],"68":[0,.69444,.07555,0,.72223],"69":[0,.69444,.11983,0,.59722],"70":[0,.69444,.13372,0,.56945],"71":[0,.69444,.11983,0,.66667],"72":[0,.69444,.08094,0,.70834],"73":[0,.69444,.13372,0,.27778],"74":[0,.69444,.08094,0,.47222],"75":[0,.69444,.11983,0,.69445],"76":[0,.69444,0,0,.54167],"77":[0,.69444,.08094,0,.875],"78":[0,.69444,.08094,0,.70834],"79":[0,.69444,.07555,0,.73611],"80":[0,.69444,.08293,0,.63889],"81":[.125,.69444,.07555,0,.73611],"82":[0,.69444,.08293,0,.64584],"83":[0,.69444,.09205,0,.55556],"84":[0,.69444,.13372,0,.68056],"85":[0,.69444,.08094,0,.6875],"86":[0,.69444,.1615,0,.66667],"87":[0,.69444,.1615,0,.94445],"88":[0,.69444,.13372,0,.66667],"89":[0,.69444,.17261,0,.66667],"90":[0,.69444,.11983,0,.61111],"91":[.25,.75,.15942,0,.28889],"93":[.25,.75,.08719,0,.28889],"94":[0,.69444,.0799,0,.5],"95":[.35,.09444,.08616,0,.5],"97":[0,.44444,.00981,0,.48056],"98":[0,.69444,.03057,0,.51667],"99":[0,.44444,.08336,0,.44445],"100":[0,.69444,.09483,0,.51667],"101":[0,.44444,.06778,0,.44445],"102":[0,.69444,.21705,0,.30556],"103":[.19444,.44444,.10836,0,.5],"104":[0,.69444,.01778,0,.51667],"105":[0,.67937,.09718,0,.23889],"106":[.19444,.67937,.09162,0,.26667],"107":[0,.69444,.08336,0,.48889],"108":[0,.69444,.09483,0,.23889],"109":[0,.44444,.01778,0,.79445],"110":[0,.44444,.01778,0,.51667],"111":[0,.44444,.06613,0,.5],"112":[.19444,.44444,.0389,0,.51667],"113":[.19444,.44444,.04169,0,.51667],"114":[0,.44444,.10836,0,.34167],"115":[0,.44444,.0778,0,.38333],"116":[0,.57143,.07225,0,.36111],"117":[0,.44444,.04169,0,.51667],"118":[0,.44444,.10836,0,.46111],"119":[0,.44444,.10836,0,.68334],"120":[0,.44444,.09169,0,.46111],"121":[.19444,.44444,.10836,0,.46111],"122":[0,.44444,.08752,0,.43472],"126":[.35,.32659,.08826,0,.5],"168":[0,.67937,.06385,0,.5],"176":[0,.69444,0,0,.73752],"184":[.17014,0,0,0,.44445],"305":[0,.44444,.04169,0,.23889],"567":[.19444,.44444,.04169,0,.26667],"710":[0,.69444,.0799,0,.5],"711":[0,.63194,.08432,0,.5],"713":[0,.60889,.08776,0,.5],"714":[0,.69444,.09205,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,.09483,0,.5],"729":[0,.67937,.07774,0,.27778],"730":[0,.69444,0,0,.73752],"732":[0,.67659,.08826,0,.5],"733":[0,.69444,.09205,0,.5],"915":[0,.69444,.13372,0,.54167],"916":[0,.69444,0,0,.83334],"920":[0,.69444,.07555,0,.77778],"923":[0,.69444,0,0,.61111],"926":[0,.69444,.12816,0,.66667],"928":[0,.69444,.08094,0,.70834],"931":[0,.69444,.11983,0,.72222],"933":[0,.69444,.09031,0,.77778],"934":[0,.69444,.04603,0,.72222],"936":[0,.69444,.09031,0,.77778],"937":[0,.69444,.08293,0,.72222],"8211":[0,.44444,.08616,0,.5],"8212":[0,.44444,.08616,0,1],"8216":[0,.69444,.07816,0,.27778],"8217":[0,.69444,.07816,0,.27778],"8220":[0,.69444,.14205,0,.5],"8221":[0,.69444,.00316,0,.5]},"SansSerif-Regular":{"33":[0,.69444,0,0,.31945],"34":[0,.69444,0,0,.5],"35":[.19444,.69444,0,0,.83334],"36":[.05556,.75,0,0,.5],"37":[.05556,.75,0,0,.83334],"38":[0,.69444,0,0,.75834],"39":[0,.69444,0,0,.27778],"40":[.25,.75,0,0,.38889],"41":[.25,.75,0,0,.38889],"42":[0,.75,0,0,.5],"43":[.08333,.58333,0,0,.77778],"44":[.125,.08333,0,0,.27778],"45":[0,.44444,0,0,.33333],"46":[0,.08333,0,0,.27778],"47":[.25,.75,0,0,.5],"48":[0,.65556,0,0,.5],"49":[0,.65556,0,0,.5],"50":[0,.65556,0,0,.5],"51":[0,.65556,0,0,.5],"52":[0,.65556,0,0,.5],"53":[0,.65556,0,0,.5],"54":[0,.65556,0,0,.5],"55":[0,.65556,0,0,.5],"56":[0,.65556,0,0,.5],"57":[0,.65556,0,0,.5],"58":[0,.44444,0,0,.27778],"59":[.125,.44444,0,0,.27778],"61":[-.13,.37,0,0,.77778],"63":[0,.69444,0,0,.47222],"64":[0,.69444,0,0,.66667],"65":[0,.69444,0,0,.66667],"66":[0,.69444,0,0,.66667],"67":[0,.69444,0,0,.63889],"68":[0,.69444,0,0,.72223],"69":[0,.69444,0,0,.59722],"70":[0,.69444,0,0,.56945],"71":[0,.69444,0,0,.66667],"72":[0,.69444,0,0,.70834],"73":[0,.69444,0,0,.27778],"74":[0,.69444,0,0,.47222],"75":[0,.69444,0,0,.69445],"76":[0,.69444,0,0,.54167],"77":[0,.69444,0,0,.875],"78":[0,.69444,0,0,.70834],"79":[0,.69444,0,0,.73611],"80":[0,.69444,0,0,.63889],"81":[.125,.69444,0,0,.73611],"82":[0,.69444,0,0,.64584],"83":[0,.69444,0,0,.55556],"84":[0,.69444,0,0,.68056],"85":[0,.69444,0,0,.6875],"86":[0,.69444,.01389,0,.66667],"87":[0,.69444,.01389,0,.94445],"88":[0,.69444,0,0,.66667],"89":[0,.69444,.025,0,.66667],"90":[0,.69444,0,0,.61111],"91":[.25,.75,0,0,.28889],"93":[.25,.75,0,0,.28889],"94":[0,.69444,0,0,.5],"95":[.35,.09444,.02778,0,.5],"97":[0,.44444,0,0,.48056],"98":[0,.69444,0,0,.51667],"99":[0,.44444,0,0,.44445],"100":[0,.69444,0,0,.51667],"101":[0,.44444,0,0,.44445],"102":[0,.69444,.06944,0,.30556],"103":[.19444,.44444,.01389,0,.5],"104":[0,.69444,0,0,.51667],"105":[0,.67937,0,0,.23889],"106":[.19444,.67937,0,0,.26667],"107":[0,.69444,0,0,.48889],"108":[0,.69444,0,0,.23889],"109":[0,.44444,0,0,.79445],"110":[0,.44444,0,0,.51667],"111":[0,.44444,0,0,.5],"112":[.19444,.44444,0,0,.51667],"113":[.19444,.44444,0,0,.51667],"114":[0,.44444,.01389,0,.34167],"115":[0,.44444,0,0,.38333],"116":[0,.57143,0,0,.36111],"117":[0,.44444,0,0,.51667],"118":[0,.44444,.01389,0,.46111],"119":[0,.44444,.01389,0,.68334],"120":[0,.44444,0,0,.46111],"121":[.19444,.44444,.01389,0,.46111],"122":[0,.44444,0,0,.43472],"126":[.35,.32659,0,0,.5],"168":[0,.67937,0,0,.5],"176":[0,.69444,0,0,.66667],"184":[.17014,0,0,0,.44445],"305":[0,.44444,0,0,.23889],"567":[.19444,.44444,0,0,.26667],"710":[0,.69444,0,0,.5],"711":[0,.63194,0,0,.5],"713":[0,.60889,0,0,.5],"714":[0,.69444,0,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,0,0,.5],"729":[0,.67937,0,0,.27778],"730":[0,.69444,0,0,.66667],"732":[0,.67659,0,0,.5],"733":[0,.69444,0,0,.5],"915":[0,.69444,0,0,.54167],"916":[0,.69444,0,0,.83334],"920":[0,.69444,0,0,.77778],"923":[0,.69444,0,0,.61111],"926":[0,.69444,0,0,.66667],"928":[0,.69444,0,0,.70834],"931":[0,.69444,0,0,.72222],"933":[0,.69444,0,0,.77778],"934":[0,.69444,0,0,.72222],"936":[0,.69444,0,0,.77778],"937":[0,.69444,0,0,.72222],"8211":[0,.44444,.02778,0,.5],"8212":[0,.44444,.02778,0,1],"8216":[0,.69444,0,0,.27778],"8217":[0,.69444,0,0,.27778],"8220":[0,.69444,0,0,.5],"8221":[0,.69444,0,0,.5]},"Script-Regular":{"65":[0,.7,.22925,0,.80253],"66":[0,.7,.04087,0,.90757],"67":[0,.7,.1689,0,.66619],"68":[0,.7,.09371,0,.77443],"69":[0,.7,.18583,0,.56162],"70":[0,.7,.13634,0,.89544],"71":[0,.7,.17322,0,.60961],"72":[0,.7,.29694,0,.96919],"73":[0,.7,.19189,0,.80907],"74":[.27778,.7,.19189,0,1.05159],"75":[0,.7,.31259,0,.91364],"76":[0,.7,.19189,0,.87373],"77":[0,.7,.15981,0,1.08031],"78":[0,.7,.3525,0,.9015],"79":[0,.7,.08078,0,.73787],"80":[0,.7,.08078,0,1.01262],"81":[0,.7,.03305,0,.88282],"82":[0,.7,.06259,0,.85],"83":[0,.7,.19189,0,.86767],"84":[0,.7,.29087,0,.74697],"85":[0,.7,.25815,0,.79996],"86":[0,.7,.27523,0,.62204],"87":[0,.7,.27523,0,.80532],"88":[0,.7,.26006,0,.94445],"89":[0,.7,.2939,0,.70961],"90":[0,.7,.24037,0,.8212]},"Size1-Regular":{"40":[.35001,.85,0,0,.45834],"41":[.35001,.85,0,0,.45834],"47":[.35001,.85,0,0,.57778],"91":[.35001,.85,0,0,.41667],"92":[.35001,.85,0,0,.57778],"93":[.35001,.85,0,0,.41667],"123":[.35001,.85,0,0,.58334],"125":[.35001,.85,0,0,.58334],"710":[0,.72222,0,0,.55556],"732":[0,.72222,0,0,.55556],"770":[0,.72222,0,0,.55556],"771":[0,.72222,0,0,.55556],"8214":[-99e-5,.601,0,0,.77778],"8593":[1e-5,.6,0,0,.66667],"8595":[1e-5,.6,0,0,.66667],"8657":[1e-5,.6,0,0,.77778],"8659":[1e-5,.6,0,0,.77778],"8719":[.25001,.75,0,0,.94445],"8720":[.25001,.75,0,0,.94445],"8721":[.25001,.75,0,0,1.05556],"8730":[.35001,.85,0,0,1],"8739":[-.00599,.606,0,0,.33333],"8741":[-.00599,.606,0,0,.55556],"8747":[.30612,.805,.19445,0,.47222],"8748":[.306,.805,.19445,0,.47222],"8749":[.306,.805,.19445,0,.47222],"8750":[.30612,.805,.19445,0,.47222],"8896":[.25001,.75,0,0,.83334],"8897":[.25001,.75,0,0,.83334],"8898":[.25001,.75,0,0,.83334],"8899":[.25001,.75,0,0,.83334],"8968":[.35001,.85,0,0,.47222],"8969":[.35001,.85,0,0,.47222],"8970":[.35001,.85,0,0,.47222],"8971":[.35001,.85,0,0,.47222],"9168":[-99e-5,.601,0,0,.66667],"10216":[.35001,.85,0,0,.47222],"10217":[.35001,.85,0,0,.47222],"10752":[.25001,.75,0,0,1.11111],"10753":[.25001,.75,0,0,1.11111],"10754":[.25001,.75,0,0,1.11111],"10756":[.25001,.75,0,0,.83334],"10758":[.25001,.75,0,0,.83334]},"Size2-Regular":{"40":[.65002,1.15,0,0,.59722],"41":[.65002,1.15,0,0,.59722],"47":[.65002,1.15,0,0,.81111],"91":[.65002,1.15,0,0,.47222],"92":[.65002,1.15,0,0,.81111],"93":[.65002,1.15,0,0,.47222],"123":[.65002,1.15,0,0,.66667],"125":[.65002,1.15,0,0,.66667],"710":[0,.75,0,0,1],"732":[0,.75,0,0,1],"770":[0,.75,0,0,1],"771":[0,.75,0,0,1],"8719":[.55001,1.05,0,0,1.27778],"8720":[.55001,1.05,0,0,1.27778],"8721":[.55001,1.05,0,0,1.44445],"8730":[.65002,1.15,0,0,1],"8747":[.86225,1.36,.44445,0,.55556],"8748":[.862,1.36,.44445,0,.55556],"8749":[.862,1.36,.44445,0,.55556],"8750":[.86225,1.36,.44445,0,.55556],"8896":[.55001,1.05,0,0,1.11111],"8897":[.55001,1.05,0,0,1.11111],"8898":[.55001,1.05,0,0,1.11111],"8899":[.55001,1.05,0,0,1.11111],"8968":[.65002,1.15,0,0,.52778],"8969":[.65002,1.15,0,0,.52778],"8970":[.65002,1.15,0,0,.52778],"8971":[.65002,1.15,0,0,.52778],"10216":[.65002,1.15,0,0,.61111],"10217":[.65002,1.15,0,0,.61111],"10752":[.55001,1.05,0,0,1.51112],"10753":[.55001,1.05,0,0,1.51112],"10754":[.55001,1.05,0,0,1.51112],"10756":[.55001,1.05,0,0,1.11111],"10758":[.55001,1.05,0,0,1.11111]},"Size3-Regular":{"40":[.95003,1.45,0,0,.73611],"41":[.95003,1.45,0,0,.73611],"47":[.95003,1.45,0,0,1.04445],"91":[.95003,1.45,0,0,.52778],"92":[.95003,1.45,0,0,1.04445],"93":[.95003,1.45,0,0,.52778],"123":[.95003,1.45,0,0,.75],"125":[.95003,1.45,0,0,.75],"710":[0,.75,0,0,1.44445],"732":[0,.75,0,0,1.44445],"770":[0,.75,0,0,1.44445],"771":[0,.75,0,0,1.44445],"8730":[.95003,1.45,0,0,1],"8968":[.95003,1.45,0,0,.58334],"8969":[.95003,1.45,0,0,.58334],"8970":[.95003,1.45,0,0,.58334],"8971":[.95003,1.45,0,0,.58334],"10216":[.95003,1.45,0,0,.75],"10217":[.95003,1.45,0,0,.75]},"Size4-Regular":{"40":[1.25003,1.75,0,0,.79167],"41":[1.25003,1.75,0,0,.79167],"47":[1.25003,1.75,0,0,1.27778],"91":[1.25003,1.75,0,0,.58334],"92":[1.25003,1.75,0,0,1.27778],"93":[1.25003,1.75,0,0,.58334],"123":[1.25003,1.75,0,0,.80556],"125":[1.25003,1.75,0,0,.80556],"710":[0,.825,0,0,1.8889],"732":[0,.825,0,0,1.8889],"770":[0,.825,0,0,1.8889],"771":[0,.825,0,0,1.8889],"8730":[1.25003,1.75,0,0,1],"8968":[1.25003,1.75,0,0,.63889],"8969":[1.25003,1.75,0,0,.63889],"8970":[1.25003,1.75,0,0,.63889],"8971":[1.25003,1.75,0,0,.63889],"9115":[.64502,1.155,0,0,.875],"9116":[1e-5,.6,0,0,.875],"9117":[.64502,1.155,0,0,.875],"9118":[.64502,1.155,0,0,.875],"9119":[1e-5,.6,0,0,.875],"9120":[.64502,1.155,0,0,.875],"9121":[.64502,1.155,0,0,.66667],"9122":[-99e-5,.601,0,0,.66667],"9123":[.64502,1.155,0,0,.66667],"9124":[.64502,1.155,0,0,.66667],"9125":[-99e-5,.601,0,0,.66667],"9126":[.64502,1.155,0,0,.66667],"9127":[1e-5,.9,0,0,.88889],"9128":[.65002,1.15,0,0,.88889],"9129":[.90001,0,0,0,.88889],"9130":[0,.3,0,0,.88889],"9131":[1e-5,.9,0,0,.88889],"9132":[.65002,1.15,0,0,.88889],"9133":[.90001,0,0,0,.88889],"9143":[.88502,.915,0,0,1.05556],"10216":[1.25003,1.75,0,0,.80556],"10217":[1.25003,1.75,0,0,.80556],"57344":[-.00499,.605,0,0,1.05556],"57345":[-.00499,.605,0,0,1.05556],"57680":[0,.12,0,0,.45],"57681":[0,.12,0,0,.45],"57682":[0,.12,0,0,.45],"57683":[0,.12,0,0,.45]},"Typewriter-Regular":{"32":[0,0,0,0,.525],"33":[0,.61111,0,0,.525],"34":[0,.61111,0,0,.525],"35":[0,.61111,0,0,.525],"36":[.08333,.69444,0,0,.525],"37":[.08333,.69444,0,0,.525],"38":[0,.61111,0,0,.525],"39":[0,.61111,0,0,.525],"40":[.08333,.69444,0,0,.525],"41":[.08333,.69444,0,0,.525],"42":[0,.52083,0,0,.525],"43":[-.08056,.53055,0,0,.525],"44":[.13889,.125,0,0,.525],"45":[-.08056,.53055,0,0,.525],"46":[0,.125,0,0,.525],"47":[.08333,.69444,0,0,.525],"48":[0,.61111,0,0,.525],"49":[0,.61111,0,0,.525],"50":[0,.61111,0,0,.525],"51":[0,.61111,0,0,.525],"52":[0,.61111,0,0,.525],"53":[0,.61111,0,0,.525],"54":[0,.61111,0,0,.525],"55":[0,.61111,0,0,.525],"56":[0,.61111,0,0,.525],"57":[0,.61111,0,0,.525],"58":[0,.43056,0,0,.525],"59":[.13889,.43056,0,0,.525],"60":[-.05556,.55556,0,0,.525],"61":[-.19549,.41562,0,0,.525],"62":[-.05556,.55556,0,0,.525],"63":[0,.61111,0,0,.525],"64":[0,.61111,0,0,.525],"65":[0,.61111,0,0,.525],"66":[0,.61111,0,0,.525],"67":[0,.61111,0,0,.525],"68":[0,.61111,0,0,.525],"69":[0,.61111,0,0,.525],"70":[0,.61111,0,0,.525],"71":[0,.61111,0,0,.525],"72":[0,.61111,0,0,.525],"73":[0,.61111,0,0,.525],"74":[0,.61111,0,0,.525],"75":[0,.61111,0,0,.525],"76":[0,.61111,0,0,.525],"77":[0,.61111,0,0,.525],"78":[0,.61111,0,0,.525],"79":[0,.61111,0,0,.525],"80":[0,.61111,0,0,.525],"81":[.13889,.61111,0,0,.525],"82":[0,.61111,0,0,.525],"83":[0,.61111,0,0,.525],"84":[0,.61111,0,0,.525],"85":[0,.61111,0,0,.525],"86":[0,.61111,0,0,.525],"87":[0,.61111,0,0,.525],"88":[0,.61111,0,0,.525],"89":[0,.61111,0,0,.525],"90":[0,.61111,0,0,.525],"91":[.08333,.69444,0,0,.525],"92":[.08333,.69444,0,0,.525],"93":[.08333,.69444,0,0,.525],"94":[0,.61111,0,0,.525],"95":[.09514,0,0,0,.525],"96":[0,.61111,0,0,.525],"97":[0,.43056,0,0,.525],"98":[0,.61111,0,0,.525],"99":[0,.43056,0,0,.525],"100":[0,.61111,0,0,.525],"101":[0,.43056,0,0,.525],"102":[0,.61111,0,0,.525],"103":[.22222,.43056,0,0,.525],"104":[0,.61111,0,0,.525],"105":[0,.61111,0,0,.525],"106":[.22222,.61111,0,0,.525],"107":[0,.61111,0,0,.525],"108":[0,.61111,0,0,.525],"109":[0,.43056,0,0,.525],"110":[0,.43056,0,0,.525],"111":[0,.43056,0,0,.525],"112":[.22222,.43056,0,0,.525],"113":[.22222,.43056,0,0,.525],"114":[0,.43056,0,0,.525],"115":[0,.43056,0,0,.525],"116":[0,.55358,0,0,.525],"117":[0,.43056,0,0,.525],"118":[0,.43056,0,0,.525],"119":[0,.43056,0,0,.525],"120":[0,.43056,0,0,.525],"121":[.22222,.43056,0,0,.525],"122":[0,.43056,0,0,.525],"123":[.08333,.69444,0,0,.525],"124":[.08333,.69444,0,0,.525],"125":[.08333,.69444,0,0,.525],"126":[0,.61111,0,0,.525],"127":[0,.61111,0,0,.525],"160":[0,0,0,0,.525],"176":[0,.61111,0,0,.525],"184":[.19445,0,0,0,.525],"305":[0,.43056,0,0,.525],"567":[.22222,.43056,0,0,.525],"711":[0,.56597,0,0,.525],"713":[0,.56555,0,0,.525],"714":[0,.61111,0,0,.525],"715":[0,.61111,0,0,.525],"728":[0,.61111,0,0,.525],"730":[0,.61111,0,0,.525],"770":[0,.61111,0,0,.525],"771":[0,.61111,0,0,.525],"776":[0,.61111,0,0,.525],"915":[0,.61111,0,0,.525],"916":[0,.61111,0,0,.525],"920":[0,.61111,0,0,.525],"923":[0,.61111,0,0,.525],"926":[0,.61111,0,0,.525],"928":[0,.61111,0,0,.525],"931":[0,.61111,0,0,.525],"933":[0,.61111,0,0,.525],"934":[0,.61111,0,0,.525],"936":[0,.61111,0,0,.525],"937":[0,.61111,0,0,.525],"8216":[0,.61111,0,0,.525],"8217":[0,.61111,0,0,.525],"8242":[0,.61111,0,0,.525],"9251":[.11111,.21944,0,0,.525]}},dt={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Me={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function Tt(Pt,me){ze[Pt]=me}function je(Pt,me,Le){if(!ze[me])throw new Error("Font metrics not found for font: "+me+".");var Ne=Pt.charCodeAt(0),Qe=ze[me][Ne];if(!Qe&&Pt[0]in Me&&(Ne=Me[Pt[0]].charCodeAt(0),Qe=ze[me][Ne]),!Qe&&Le==="text"&&(Y(Ne)&&(Qe=ze[me][77])),Qe)return{depth:Qe[0],height:Qe[1],italic:Qe[2],skew:Qe[3],width:Qe[4]}}var st={};function Xe(Pt){var me;if(Pt>=5?me=0:Pt>=3?me=1:me=2,!st[me]){var Le=st[me]={cssEmPerMu:dt.quad[me]/18};for(var Ne in dt)dt.hasOwnProperty(Ne)&&(Le[Ne]=dt[Ne][me])}return st[me]}var Je={bin:1,close:1,inner:1,open:1,punct:1,rel:1},et={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},ot={math:{},text:{}},Ve=ot;function ue(Pt,me,Le,Ne,Qe,Ct){ot[Pt][Qe]={font:me,group:Le,replace:Ne},Ct&&Ne&&(ot[Pt][Ne]=ot[Pt][Qe])}var ae="math",lt="text",Ze="main",Te="ams",Jt="accent-token",mt="bin",ft="close",bt="inner",Lt="mathord",or="op-token",Bt="open",_e="punct",Ce="rel",Ee="spacing",we="textord";ue(ae,Ze,Ce,"\u2261","\\equiv",!0),ue(ae,Ze,Ce,"\u227A","\\prec",!0),ue(ae,Ze,Ce,"\u227B","\\succ",!0),ue(ae,Ze,Ce,"\u223C","\\sim",!0),ue(ae,Ze,Ce,"\u22A5","\\perp"),ue(ae,Ze,Ce,"\u2AAF","\\preceq",!0),ue(ae,Ze,Ce,"\u2AB0","\\succeq",!0),ue(ae,Ze,Ce,"\u2243","\\simeq",!0),ue(ae,Ze,Ce,"\u2223","\\mid",!0),ue(ae,Ze,Ce,"\u226A","\\ll",!0),ue(ae,Ze,Ce,"\u226B","\\gg",!0),ue(ae,Ze,Ce,"\u224D","\\asymp",!0),ue(ae,Ze,Ce,"\u2225","\\parallel"),ue(ae,Ze,Ce,"\u22C8","\\bowtie",!0),ue(ae,Ze,Ce,"\u2323","\\smile",!0),ue(ae,Ze,Ce,"\u2291","\\sqsubseteq",!0),ue(ae,Ze,Ce,"\u2292","\\sqsupseteq",!0),ue(ae,Ze,Ce,"\u2250","\\doteq",!0),ue(ae,Ze,Ce,"\u2322","\\frown",!0),ue(ae,Ze,Ce,"\u220B","\\ni",!0),ue(ae,Ze,Ce,"\u221D","\\propto",!0),ue(ae,Ze,Ce,"\u22A2","\\vdash",!0),ue(ae,Ze,Ce,"\u22A3","\\dashv",!0),ue(ae,Ze,Ce,"\u220B","\\owns"),ue(ae,Ze,_e,".","\\ldotp"),ue(ae,Ze,_e,"\u22C5","\\cdotp"),ue(ae,Ze,we,"#","\\#"),ue(lt,Ze,we,"#","\\#"),ue(ae,Ze,we,"&","\\&"),ue(lt,Ze,we,"&","\\&"),ue(ae,Ze,we,"\u2135","\\aleph",!0),ue(ae,Ze,we,"\u2200","\\forall",!0),ue(ae,Ze,we,"\u210F","\\hbar",!0),ue(ae,Ze,we,"\u2203","\\exists",!0),ue(ae,Ze,we,"\u2207","\\nabla",!0),ue(ae,Ze,we,"\u266D","\\flat",!0),ue(ae,Ze,we,"\u2113","\\ell",!0),ue(ae,Ze,we,"\u266E","\\natural",!0),ue(ae,Ze,we,"\u2663","\\clubsuit",!0),ue(ae,Ze,we,"\u2118","\\wp",!0),ue(ae,Ze,we,"\u266F","\\sharp",!0),ue(ae,Ze,we,"\u2662","\\diamondsuit",!0),ue(ae,Ze,we,"\u211C","\\Re",!0),ue(ae,Ze,we,"\u2661","\\heartsuit",!0),ue(ae,Ze,we,"\u2111","\\Im",!0),ue(ae,Ze,we,"\u2660","\\spadesuit",!0),ue(lt,Ze,we,"\xA7","\\S",!0),ue(lt,Ze,we,"\xB6","\\P",!0),ue(ae,Ze,we,"\u2020","\\dag"),ue(lt,Ze,we,"\u2020","\\dag"),ue(lt,Ze,we,"\u2020","\\textdagger"),ue(ae,Ze,we,"\u2021","\\ddag"),ue(lt,Ze,we,"\u2021","\\ddag"),ue(lt,Ze,we,"\u2021","\\textdaggerdbl"),ue(ae,Ze,ft,"\u23B1","\\rmoustache",!0),ue(ae,Ze,Bt,"\u23B0","\\lmoustache",!0),ue(ae,Ze,ft,"\u27EF","\\rgroup",!0),ue(ae,Ze,Bt,"\u27EE","\\lgroup",!0),ue(ae,Ze,mt,"\u2213","\\mp",!0),ue(ae,Ze,mt,"\u2296","\\ominus",!0),ue(ae,Ze,mt,"\u228E","\\uplus",!0),ue(ae,Ze,mt,"\u2293","\\sqcap",!0),ue(ae,Ze,mt,"\u2217","\\ast"),ue(ae,Ze,mt,"\u2294","\\sqcup",!0),ue(ae,Ze,mt,"\u25EF","\\bigcirc"),ue(ae,Ze,mt,"\u2219","\\bullet"),ue(ae,Ze,mt,"\u2021","\\ddagger"),ue(ae,Ze,mt,"\u2240","\\wr",!0),ue(ae,Ze,mt,"\u2A3F","\\amalg"),ue(ae,Ze,mt,"&","\\And"),ue(ae,Ze,Ce,"\u27F5","\\longleftarrow",!0),ue(ae,Ze,Ce,"\u21D0","\\Leftarrow",!0),ue(ae,Ze,Ce,"\u27F8","\\Longleftarrow",!0),ue(ae,Ze,Ce,"\u27F6","\\longrightarrow",!0),ue(ae,Ze,Ce,"\u21D2","\\Rightarrow",!0),ue(ae,Ze,Ce,"\u27F9","\\Longrightarrow",!0),ue(ae,Ze,Ce,"\u2194","\\leftrightarrow",!0),ue(ae,Ze,Ce,"\u27F7","\\longleftrightarrow",!0),ue(ae,Ze,Ce,"\u21D4","\\Leftrightarrow",!0),ue(ae,Ze,Ce,"\u27FA","\\Longleftrightarrow",!0),ue(ae,Ze,Ce,"\u21A6","\\mapsto",!0),ue(ae,Ze,Ce,"\u27FC","\\longmapsto",!0),ue(ae,Ze,Ce,"\u2197","\\nearrow",!0),ue(ae,Ze,Ce,"\u21A9","\\hookleftarrow",!0),ue(ae,Ze,Ce,"\u21AA","\\hookrightarrow",!0),ue(ae,Ze,Ce,"\u2198","\\searrow",!0),ue(ae,Ze,Ce,"\u21BC","\\leftharpoonup",!0),ue(ae,Ze,Ce,"\u21C0","\\rightharpoonup",!0),ue(ae,Ze,Ce,"\u2199","\\swarrow",!0),ue(ae,Ze,Ce,"\u21BD","\\leftharpoondown",!0),ue(ae,Ze,Ce,"\u21C1","\\rightharpoondown",!0),ue(ae,Ze,Ce,"\u2196","\\nwarrow",!0),ue(ae,Ze,Ce,"\u21CC","\\rightleftharpoons",!0),ue(ae,Te,Ce,"\u226E","\\nless",!0),ue(ae,Te,Ce,"\uE010","\\@nleqslant"),ue(ae,Te,Ce,"\uE011","\\@nleqq"),ue(ae,Te,Ce,"\u2A87","\\lneq",!0),ue(ae,Te,Ce,"\u2268","\\lneqq",!0),ue(ae,Te,Ce,"\uE00C","\\@lvertneqq"),ue(ae,Te,Ce,"\u22E6","\\lnsim",!0),ue(ae,Te,Ce,"\u2A89","\\lnapprox",!0),ue(ae,Te,Ce,"\u2280","\\nprec",!0),ue(ae,Te,Ce,"\u22E0","\\npreceq",!0),ue(ae,Te,Ce,"\u22E8","\\precnsim",!0),ue(ae,Te,Ce,"\u2AB9","\\precnapprox",!0),ue(ae,Te,Ce,"\u2241","\\nsim",!0),ue(ae,Te,Ce,"\uE006","\\@nshortmid"),ue(ae,Te,Ce,"\u2224","\\nmid",!0),ue(ae,Te,Ce,"\u22AC","\\nvdash",!0),ue(ae,Te,Ce,"\u22AD","\\nvDash",!0),ue(ae,Te,Ce,"\u22EA","\\ntriangleleft"),ue(ae,Te,Ce,"\u22EC","\\ntrianglelefteq",!0),ue(ae,Te,Ce,"\u228A","\\subsetneq",!0),ue(ae,Te,Ce,"\uE01A","\\@varsubsetneq"),ue(ae,Te,Ce,"\u2ACB","\\subsetneqq",!0),ue(ae,Te,Ce,"\uE017","\\@varsubsetneqq"),ue(ae,Te,Ce,"\u226F","\\ngtr",!0),ue(ae,Te,Ce,"\uE00F","\\@ngeqslant"),ue(ae,Te,Ce,"\uE00E","\\@ngeqq"),ue(ae,Te,Ce,"\u2A88","\\gneq",!0),ue(ae,Te,Ce,"\u2269","\\gneqq",!0),ue(ae,Te,Ce,"\uE00D","\\@gvertneqq"),ue(ae,Te,Ce,"\u22E7","\\gnsim",!0),ue(ae,Te,Ce,"\u2A8A","\\gnapprox",!0),ue(ae,Te,Ce,"\u2281","\\nsucc",!0),ue(ae,Te,Ce,"\u22E1","\\nsucceq",!0),ue(ae,Te,Ce,"\u22E9","\\succnsim",!0),ue(ae,Te,Ce,"\u2ABA","\\succnapprox",!0),ue(ae,Te,Ce,"\u2246","\\ncong",!0),ue(ae,Te,Ce,"\uE007","\\@nshortparallel"),ue(ae,Te,Ce,"\u2226","\\nparallel",!0),ue(ae,Te,Ce,"\u22AF","\\nVDash",!0),ue(ae,Te,Ce,"\u22EB","\\ntriangleright"),ue(ae,Te,Ce,"\u22ED","\\ntrianglerighteq",!0),ue(ae,Te,Ce,"\uE018","\\@nsupseteqq"),ue(ae,Te,Ce,"\u228B","\\supsetneq",!0),ue(ae,Te,Ce,"\uE01B","\\@varsupsetneq"),ue(ae,Te,Ce,"\u2ACC","\\supsetneqq",!0),ue(ae,Te,Ce,"\uE019","\\@varsupsetneqq"),ue(ae,Te,Ce,"\u22AE","\\nVdash",!0),ue(ae,Te,Ce,"\u2AB5","\\precneqq",!0),ue(ae,Te,Ce,"\u2AB6","\\succneqq",!0),ue(ae,Te,Ce,"\uE016","\\@nsubseteqq"),ue(ae,Te,mt,"\u22B4","\\unlhd"),ue(ae,Te,mt,"\u22B5","\\unrhd"),ue(ae,Te,Ce,"\u219A","\\nleftarrow",!0),ue(ae,Te,Ce,"\u219B","\\nrightarrow",!0),ue(ae,Te,Ce,"\u21CD","\\nLeftarrow",!0),ue(ae,Te,Ce,"\u21CF","\\nRightarrow",!0),ue(ae,Te,Ce,"\u21AE","\\nleftrightarrow",!0),ue(ae,Te,Ce,"\u21CE","\\nLeftrightarrow",!0),ue(ae,Te,Ce,"\u25B3","\\vartriangle"),ue(ae,Te,we,"\u210F","\\hslash"),ue(ae,Te,we,"\u25BD","\\triangledown"),ue(ae,Te,we,"\u25CA","\\lozenge"),ue(ae,Te,we,"\u24C8","\\circledS"),ue(ae,Te,we,"\xAE","\\circledR"),ue(lt,Te,we,"\xAE","\\circledR"),ue(ae,Te,we,"\u2221","\\measuredangle",!0),ue(ae,Te,we,"\u2204","\\nexists"),ue(ae,Te,we,"\u2127","\\mho"),ue(ae,Te,we,"\u2132","\\Finv",!0),ue(ae,Te,we,"\u2141","\\Game",!0),ue(ae,Te,we,"\u2035","\\backprime"),ue(ae,Te,we,"\u25B2","\\blacktriangle"),ue(ae,Te,we,"\u25BC","\\blacktriangledown"),ue(ae,Te,we,"\u25A0","\\blacksquare"),ue(ae,Te,we,"\u29EB","\\blacklozenge"),ue(ae,Te,we,"\u2605","\\bigstar"),ue(ae,Te,we,"\u2222","\\sphericalangle",!0),ue(ae,Te,we,"\u2201","\\complement",!0),ue(ae,Te,we,"\xF0","\\eth",!0),ue(ae,Te,we,"\u2571","\\diagup"),ue(ae,Te,we,"\u2572","\\diagdown"),ue(ae,Te,we,"\u25A1","\\square"),ue(ae,Te,we,"\u25A1","\\Box"),ue(ae,Te,we,"\u25CA","\\Diamond"),ue(ae,Te,we,"\xA5","\\yen",!0),ue(lt,Te,we,"\xA5","\\yen",!0),ue(ae,Te,we,"\u2713","\\checkmark",!0),ue(lt,Te,we,"\u2713","\\checkmark"),ue(ae,Te,we,"\u2136","\\beth",!0),ue(ae,Te,we,"\u2138","\\daleth",!0),ue(ae,Te,we,"\u2137","\\gimel",!0),ue(ae,Te,we,"\u03DD","\\digamma",!0),ue(ae,Te,we,"\u03F0","\\varkappa"),ue(ae,Te,Bt,"\u250C","\\ulcorner",!0),ue(ae,Te,ft,"\u2510","\\urcorner",!0),ue(ae,Te,Bt,"\u2514","\\llcorner",!0),ue(ae,Te,ft,"\u2518","\\lrcorner",!0),ue(ae,Te,Ce,"\u2266","\\leqq",!0),ue(ae,Te,Ce,"\u2A7D","\\leqslant",!0),ue(ae,Te,Ce,"\u2A95","\\eqslantless",!0),ue(ae,Te,Ce,"\u2272","\\lesssim",!0),ue(ae,Te,Ce,"\u2A85","\\lessapprox",!0),ue(ae,Te,Ce,"\u224A","\\approxeq",!0),ue(ae,Te,mt,"\u22D6","\\lessdot"),ue(ae,Te,Ce,"\u22D8","\\lll",!0),ue(ae,Te,Ce,"\u2276","\\lessgtr",!0),ue(ae,Te,Ce,"\u22DA","\\lesseqgtr",!0),ue(ae,Te,Ce,"\u2A8B","\\lesseqqgtr",!0),ue(ae,Te,Ce,"\u2251","\\doteqdot"),ue(ae,Te,Ce,"\u2253","\\risingdotseq",!0),ue(ae,Te,Ce,"\u2252","\\fallingdotseq",!0),ue(ae,Te,Ce,"\u223D","\\backsim",!0),ue(ae,Te,Ce,"\u22CD","\\backsimeq",!0),ue(ae,Te,Ce,"\u2AC5","\\subseteqq",!0),ue(ae,Te,Ce,"\u22D0","\\Subset",!0),ue(ae,Te,Ce,"\u228F","\\sqsubset",!0),ue(ae,Te,Ce,"\u227C","\\preccurlyeq",!0),ue(ae,Te,Ce,"\u22DE","\\curlyeqprec",!0),ue(ae,Te,Ce,"\u227E","\\precsim",!0),ue(ae,Te,Ce,"\u2AB7","\\precapprox",!0),ue(ae,Te,Ce,"\u22B2","\\vartriangleleft"),ue(ae,Te,Ce,"\u22B4","\\trianglelefteq"),ue(ae,Te,Ce,"\u22A8","\\vDash",!0),ue(ae,Te,Ce,"\u22AA","\\Vvdash",!0),ue(ae,Te,Ce,"\u2323","\\smallsmile"),ue(ae,Te,Ce,"\u2322","\\smallfrown"),ue(ae,Te,Ce,"\u224F","\\bumpeq",!0),ue(ae,Te,Ce,"\u224E","\\Bumpeq",!0),ue(ae,Te,Ce,"\u2267","\\geqq",!0),ue(ae,Te,Ce,"\u2A7E","\\geqslant",!0),ue(ae,Te,Ce,"\u2A96","\\eqslantgtr",!0),ue(ae,Te,Ce,"\u2273","\\gtrsim",!0),ue(ae,Te,Ce,"\u2A86","\\gtrapprox",!0),ue(ae,Te,mt,"\u22D7","\\gtrdot"),ue(ae,Te,Ce,"\u22D9","\\ggg",!0),ue(ae,Te,Ce,"\u2277","\\gtrless",!0),ue(ae,Te,Ce,"\u22DB","\\gtreqless",!0),ue(ae,Te,Ce,"\u2A8C","\\gtreqqless",!0),ue(ae,Te,Ce,"\u2256","\\eqcirc",!0),ue(ae,Te,Ce,"\u2257","\\circeq",!0),ue(ae,Te,Ce,"\u225C","\\triangleq",!0),ue(ae,Te,Ce,"\u223C","\\thicksim"),ue(ae,Te,Ce,"\u2248","\\thickapprox"),ue(ae,Te,Ce,"\u2AC6","\\supseteqq",!0),ue(ae,Te,Ce,"\u22D1","\\Supset",!0),ue(ae,Te,Ce,"\u2290","\\sqsupset",!0),ue(ae,Te,Ce,"\u227D","\\succcurlyeq",!0),ue(ae,Te,Ce,"\u22DF","\\curlyeqsucc",!0),ue(ae,Te,Ce,"\u227F","\\succsim",!0),ue(ae,Te,Ce,"\u2AB8","\\succapprox",!0),ue(ae,Te,Ce,"\u22B3","\\vartriangleright"),ue(ae,Te,Ce,"\u22B5","\\trianglerighteq"),ue(ae,Te,Ce,"\u22A9","\\Vdash",!0),ue(ae,Te,Ce,"\u2223","\\shortmid"),ue(ae,Te,Ce,"\u2225","\\shortparallel"),ue(ae,Te,Ce,"\u226C","\\between",!0),ue(ae,Te,Ce,"\u22D4","\\pitchfork",!0),ue(ae,Te,Ce,"\u221D","\\varpropto"),ue(ae,Te,Ce,"\u25C0","\\blacktriangleleft"),ue(ae,Te,Ce,"\u2234","\\therefore",!0),ue(ae,Te,Ce,"\u220D","\\backepsilon"),ue(ae,Te,Ce,"\u25B6","\\blacktriangleright"),ue(ae,Te,Ce,"\u2235","\\because",!0),ue(ae,Te,Ce,"\u22D8","\\llless"),ue(ae,Te,Ce,"\u22D9","\\gggtr"),ue(ae,Te,mt,"\u22B2","\\lhd"),ue(ae,Te,mt,"\u22B3","\\rhd"),ue(ae,Te,Ce,"\u2242","\\eqsim",!0),ue(ae,Ze,Ce,"\u22C8","\\Join"),ue(ae,Te,Ce,"\u2251","\\Doteq",!0),ue(ae,Te,mt,"\u2214","\\dotplus",!0),ue(ae,Te,mt,"\u2216","\\smallsetminus"),ue(ae,Te,mt,"\u22D2","\\Cap",!0),ue(ae,Te,mt,"\u22D3","\\Cup",!0),ue(ae,Te,mt,"\u2A5E","\\doublebarwedge",!0),ue(ae,Te,mt,"\u229F","\\boxminus",!0),ue(ae,Te,mt,"\u229E","\\boxplus",!0),ue(ae,Te,mt,"\u22C7","\\divideontimes",!0),ue(ae,Te,mt,"\u22C9","\\ltimes",!0),ue(ae,Te,mt,"\u22CA","\\rtimes",!0),ue(ae,Te,mt,"\u22CB","\\leftthreetimes",!0),ue(ae,Te,mt,"\u22CC","\\rightthreetimes",!0),ue(ae,Te,mt,"\u22CF","\\curlywedge",!0),ue(ae,Te,mt,"\u22CE","\\curlyvee",!0),ue(ae,Te,mt,"\u229D","\\circleddash",!0),ue(ae,Te,mt,"\u229B","\\circledast",!0),ue(ae,Te,mt,"\u22C5","\\centerdot"),ue(ae,Te,mt,"\u22BA","\\intercal",!0),ue(ae,Te,mt,"\u22D2","\\doublecap"),ue(ae,Te,mt,"\u22D3","\\doublecup"),ue(ae,Te,mt,"\u22A0","\\boxtimes",!0),ue(ae,Te,Ce,"\u21E2","\\dashrightarrow",!0),ue(ae,Te,Ce,"\u21E0","\\dashleftarrow",!0),ue(ae,Te,Ce,"\u21C7","\\leftleftarrows",!0),ue(ae,Te,Ce,"\u21C6","\\leftrightarrows",!0),ue(ae,Te,Ce,"\u21DA","\\Lleftarrow",!0),ue(ae,Te,Ce,"\u219E","\\twoheadleftarrow",!0),ue(ae,Te,Ce,"\u21A2","\\leftarrowtail",!0),ue(ae,Te,Ce,"\u21AB","\\looparrowleft",!0),ue(ae,Te,Ce,"\u21CB","\\leftrightharpoons",!0),ue(ae,Te,Ce,"\u21B6","\\curvearrowleft",!0),ue(ae,Te,Ce,"\u21BA","\\circlearrowleft",!0),ue(ae,Te,Ce,"\u21B0","\\Lsh",!0),ue(ae,Te,Ce,"\u21C8","\\upuparrows",!0),ue(ae,Te,Ce,"\u21BF","\\upharpoonleft",!0),ue(ae,Te,Ce,"\u21C3","\\downharpoonleft",!0),ue(ae,Te,Ce,"\u22B8","\\multimap",!0),ue(ae,Te,Ce,"\u21AD","\\leftrightsquigarrow",!0),ue(ae,Te,Ce,"\u21C9","\\rightrightarrows",!0),ue(ae,Te,Ce,"\u21C4","\\rightleftarrows",!0),ue(ae,Te,Ce,"\u21A0","\\twoheadrightarrow",!0),ue(ae,Te,Ce,"\u21A3","\\rightarrowtail",!0),ue(ae,Te,Ce,"\u21AC","\\looparrowright",!0),ue(ae,Te,Ce,"\u21B7","\\curvearrowright",!0),ue(ae,Te,Ce,"\u21BB","\\circlearrowright",!0),ue(ae,Te,Ce,"\u21B1","\\Rsh",!0),ue(ae,Te,Ce,"\u21CA","\\downdownarrows",!0),ue(ae,Te,Ce,"\u21BE","\\upharpoonright",!0),ue(ae,Te,Ce,"\u21C2","\\downharpoonright",!0),ue(ae,Te,Ce,"\u21DD","\\rightsquigarrow",!0),ue(ae,Te,Ce,"\u21DD","\\leadsto"),ue(ae,Te,Ce,"\u21DB","\\Rrightarrow",!0),ue(ae,Te,Ce,"\u21BE","\\restriction"),ue(ae,Ze,we,"\u2018","`"),ue(ae,Ze,we,"$","\\$"),ue(lt,Ze,we,"$","\\$"),ue(lt,Ze,we,"$","\\textdollar"),ue(ae,Ze,we,"%","\\%"),ue(lt,Ze,we,"%","\\%"),ue(ae,Ze,we,"_","\\_"),ue(lt,Ze,we,"_","\\_"),ue(lt,Ze,we,"_","\\textunderscore"),ue(ae,Ze,we,"\u2220","\\angle",!0),ue(ae,Ze,we,"\u221E","\\infty",!0),ue(ae,Ze,we,"\u2032","\\prime"),ue(ae,Ze,we,"\u25B3","\\triangle"),ue(ae,Ze,we,"\u0393","\\Gamma",!0),ue(ae,Ze,we,"\u0394","\\Delta",!0),ue(ae,Ze,we,"\u0398","\\Theta",!0),ue(ae,Ze,we,"\u039B","\\Lambda",!0),ue(ae,Ze,we,"\u039E","\\Xi",!0),ue(ae,Ze,we,"\u03A0","\\Pi",!0),ue(ae,Ze,we,"\u03A3","\\Sigma",!0),ue(ae,Ze,we,"\u03A5","\\Upsilon",!0),ue(ae,Ze,we,"\u03A6","\\Phi",!0),ue(ae,Ze,we,"\u03A8","\\Psi",!0),ue(ae,Ze,we,"\u03A9","\\Omega",!0),ue(ae,Ze,we,"A","\u0391"),ue(ae,Ze,we,"B","\u0392"),ue(ae,Ze,we,"E","\u0395"),ue(ae,Ze,we,"Z","\u0396"),ue(ae,Ze,we,"H","\u0397"),ue(ae,Ze,we,"I","\u0399"),ue(ae,Ze,we,"K","\u039A"),ue(ae,Ze,we,"M","\u039C"),ue(ae,Ze,we,"N","\u039D"),ue(ae,Ze,we,"O","\u039F"),ue(ae,Ze,we,"P","\u03A1"),ue(ae,Ze,we,"T","\u03A4"),ue(ae,Ze,we,"X","\u03A7"),ue(ae,Ze,we,"\xAC","\\neg",!0),ue(ae,Ze,we,"\xAC","\\lnot"),ue(ae,Ze,we,"\u22A4","\\top"),ue(ae,Ze,we,"\u22A5","\\bot"),ue(ae,Ze,we,"\u2205","\\emptyset"),ue(ae,Te,we,"\u2205","\\varnothing"),ue(ae,Ze,Lt,"\u03B1","\\alpha",!0),ue(ae,Ze,Lt,"\u03B2","\\beta",!0),ue(ae,Ze,Lt,"\u03B3","\\gamma",!0),ue(ae,Ze,Lt,"\u03B4","\\delta",!0),ue(ae,Ze,Lt,"\u03F5","\\epsilon",!0),ue(ae,Ze,Lt,"\u03B6","\\zeta",!0),ue(ae,Ze,Lt,"\u03B7","\\eta",!0),ue(ae,Ze,Lt,"\u03B8","\\theta",!0),ue(ae,Ze,Lt,"\u03B9","\\iota",!0),ue(ae,Ze,Lt,"\u03BA","\\kappa",!0),ue(ae,Ze,Lt,"\u03BB","\\lambda",!0),ue(ae,Ze,Lt,"\u03BC","\\mu",!0),ue(ae,Ze,Lt,"\u03BD","\\nu",!0),ue(ae,Ze,Lt,"\u03BE","\\xi",!0),ue(ae,Ze,Lt,"\u03BF","\\omicron",!0),ue(ae,Ze,Lt,"\u03C0","\\pi",!0),ue(ae,Ze,Lt,"\u03C1","\\rho",!0),ue(ae,Ze,Lt,"\u03C3","\\sigma",!0),ue(ae,Ze,Lt,"\u03C4","\\tau",!0),ue(ae,Ze,Lt,"\u03C5","\\upsilon",!0),ue(ae,Ze,Lt,"\u03D5","\\phi",!0),ue(ae,Ze,Lt,"\u03C7","\\chi",!0),ue(ae,Ze,Lt,"\u03C8","\\psi",!0),ue(ae,Ze,Lt,"\u03C9","\\omega",!0),ue(ae,Ze,Lt,"\u03B5","\\varepsilon",!0),ue(ae,Ze,Lt,"\u03D1","\\vartheta",!0),ue(ae,Ze,Lt,"\u03D6","\\varpi",!0),ue(ae,Ze,Lt,"\u03F1","\\varrho",!0),ue(ae,Ze,Lt,"\u03C2","\\varsigma",!0),ue(ae,Ze,Lt,"\u03C6","\\varphi",!0),ue(ae,Ze,mt,"\u2217","*"),ue(ae,Ze,mt,"+","+"),ue(ae,Ze,mt,"\u2212","-"),ue(ae,Ze,mt,"\u22C5","\\cdot",!0),ue(ae,Ze,mt,"\u2218","\\circ"),ue(ae,Ze,mt,"\xF7","\\div",!0),ue(ae,Ze,mt,"\xB1","\\pm",!0),ue(ae,Ze,mt,"\xD7","\\times",!0),ue(ae,Ze,mt,"\u2229","\\cap",!0),ue(ae,Ze,mt,"\u222A","\\cup",!0),ue(ae,Ze,mt,"\u2216","\\setminus"),ue(ae,Ze,mt,"\u2227","\\land"),ue(ae,Ze,mt,"\u2228","\\lor"),ue(ae,Ze,mt,"\u2227","\\wedge",!0),ue(ae,Ze,mt,"\u2228","\\vee",!0),ue(ae,Ze,we,"\u221A","\\surd"),ue(ae,Ze,Bt,"(","("),ue(ae,Ze,Bt,"[","["),ue(ae,Ze,Bt,"\u27E8","\\langle",!0),ue(ae,Ze,Bt,"\u2223","\\lvert"),ue(ae,Ze,Bt,"\u2225","\\lVert"),ue(ae,Ze,ft,")",")"),ue(ae,Ze,ft,"]","]"),ue(ae,Ze,ft,"?","?"),ue(ae,Ze,ft,"!","!"),ue(ae,Ze,ft,"\u27E9","\\rangle",!0),ue(ae,Ze,ft,"\u2223","\\rvert"),ue(ae,Ze,ft,"\u2225","\\rVert"),ue(ae,Ze,Ce,"=","="),ue(ae,Ze,Ce,"<","<"),ue(ae,Ze,Ce,">",">"),ue(ae,Ze,Ce,":",":"),ue(ae,Ze,Ce,"\u2248","\\approx",!0),ue(ae,Ze,Ce,"\u2245","\\cong",!0),ue(ae,Ze,Ce,"\u2265","\\ge"),ue(ae,Ze,Ce,"\u2265","\\geq",!0),ue(ae,Ze,Ce,"\u2190","\\gets"),ue(ae,Ze,Ce,">","\\gt"),ue(ae,Ze,Ce,"\u2208","\\in",!0),ue(ae,Ze,Ce,"\uE020","\\@not"),ue(ae,Ze,Ce,"\u2282","\\subset",!0),ue(ae,Ze,Ce,"\u2283","\\supset",!0),ue(ae,Ze,Ce,"\u2286","\\subseteq",!0),ue(ae,Ze,Ce,"\u2287","\\supseteq",!0),ue(ae,Te,Ce,"\u2288","\\nsubseteq",!0),ue(ae,Te,Ce,"\u2289","\\nsupseteq",!0),ue(ae,Ze,Ce,"\u22A8","\\models"),ue(ae,Ze,Ce,"\u2190","\\leftarrow",!0),ue(ae,Ze,Ce,"\u2264","\\le"),ue(ae,Ze,Ce,"\u2264","\\leq",!0),ue(ae,Ze,Ce,"<","\\lt"),ue(ae,Ze,Ce,"\u2192","\\rightarrow",!0),ue(ae,Ze,Ce,"\u2192","\\to"),ue(ae,Te,Ce,"\u2271","\\ngeq",!0),ue(ae,Te,Ce,"\u2270","\\nleq",!0),ue(ae,Ze,Ee,"\xA0","\\ "),ue(ae,Ze,Ee,"\xA0","~"),ue(ae,Ze,Ee,"\xA0","\\space"),ue(ae,Ze,Ee,"\xA0","\\nobreakspace"),ue(lt,Ze,Ee,"\xA0","\\ "),ue(lt,Ze,Ee,"\xA0","~"),ue(lt,Ze,Ee,"\xA0","\\space"),ue(lt,Ze,Ee,"\xA0","\\nobreakspace"),ue(ae,Ze,Ee,null,"\\nobreak"),ue(ae,Ze,Ee,null,"\\allowbreak"),ue(ae,Ze,_e,",",","),ue(ae,Ze,_e,";",";"),ue(ae,Te,mt,"\u22BC","\\barwedge",!0),ue(ae,Te,mt,"\u22BB","\\veebar",!0),ue(ae,Ze,mt,"\u2299","\\odot",!0),ue(ae,Ze,mt,"\u2295","\\oplus",!0),ue(ae,Ze,mt,"\u2297","\\otimes",!0),ue(ae,Ze,we,"\u2202","\\partial",!0),ue(ae,Ze,mt,"\u2298","\\oslash",!0),ue(ae,Te,mt,"\u229A","\\circledcirc",!0),ue(ae,Te,mt,"\u22A1","\\boxdot",!0),ue(ae,Ze,mt,"\u25B3","\\bigtriangleup"),ue(ae,Ze,mt,"\u25BD","\\bigtriangledown"),ue(ae,Ze,mt,"\u2020","\\dagger"),ue(ae,Ze,mt,"\u22C4","\\diamond"),ue(ae,Ze,mt,"\u22C6","\\star"),ue(ae,Ze,mt,"\u25C3","\\triangleleft"),ue(ae,Ze,mt,"\u25B9","\\triangleright"),ue(ae,Ze,Bt,"{","\\{"),ue(lt,Ze,we,"{","\\{"),ue(lt,Ze,we,"{","\\textbraceleft"),ue(ae,Ze,ft,"}","\\}"),ue(lt,Ze,we,"}","\\}"),ue(lt,Ze,we,"}","\\textbraceright"),ue(ae,Ze,Bt,"{","\\lbrace"),ue(ae,Ze,ft,"}","\\rbrace"),ue(ae,Ze,Bt,"[","\\lbrack"),ue(lt,Ze,we,"[","\\lbrack"),ue(ae,Ze,ft,"]","\\rbrack"),ue(lt,Ze,we,"]","\\rbrack"),ue(ae,Ze,Bt,"(","\\lparen"),ue(ae,Ze,ft,")","\\rparen"),ue(lt,Ze,we,"<","\\textless"),ue(lt,Ze,we,">","\\textgreater"),ue(ae,Ze,Bt,"\u230A","\\lfloor",!0),ue(ae,Ze,ft,"\u230B","\\rfloor",!0),ue(ae,Ze,Bt,"\u2308","\\lceil",!0),ue(ae,Ze,ft,"\u2309","\\rceil",!0),ue(ae,Ze,we,"\\","\\backslash"),ue(ae,Ze,we,"\u2223","|"),ue(ae,Ze,we,"\u2223","\\vert"),ue(lt,Ze,we,"|","\\textbar"),ue(ae,Ze,we,"\u2225","\\|"),ue(ae,Ze,we,"\u2225","\\Vert"),ue(lt,Ze,we,"\u2225","\\textbardbl"),ue(lt,Ze,we,"~","\\textasciitilde"),ue(lt,Ze,we,"\\","\\textbackslash"),ue(lt,Ze,we,"^","\\textasciicircum"),ue(ae,Ze,Ce,"\u2191","\\uparrow",!0),ue(ae,Ze,Ce,"\u21D1","\\Uparrow",!0),ue(ae,Ze,Ce,"\u2193","\\downarrow",!0),ue(ae,Ze,Ce,"\u21D3","\\Downarrow",!0),ue(ae,Ze,Ce,"\u2195","\\updownarrow",!0),ue(ae,Ze,Ce,"\u21D5","\\Updownarrow",!0),ue(ae,Ze,or,"\u2210","\\coprod"),ue(ae,Ze,or,"\u22C1","\\bigvee"),ue(ae,Ze,or,"\u22C0","\\bigwedge"),ue(ae,Ze,or,"\u2A04","\\biguplus"),ue(ae,Ze,or,"\u22C2","\\bigcap"),ue(ae,Ze,or,"\u22C3","\\bigcup"),ue(ae,Ze,or,"\u222B","\\int"),ue(ae,Ze,or,"\u222B","\\intop"),ue(ae,Ze,or,"\u222C","\\iint"),ue(ae,Ze,or,"\u222D","\\iiint"),ue(ae,Ze,or,"\u220F","\\prod"),ue(ae,Ze,or,"\u2211","\\sum"),ue(ae,Ze,or,"\u2A02","\\bigotimes"),ue(ae,Ze,or,"\u2A01","\\bigoplus"),ue(ae,Ze,or,"\u2A00","\\bigodot"),ue(ae,Ze,or,"\u222E","\\oint"),ue(ae,Ze,or,"\u222F","\\oiint"),ue(ae,Ze,or,"\u2230","\\oiiint"),ue(ae,Ze,or,"\u2A06","\\bigsqcup"),ue(ae,Ze,or,"\u222B","\\smallint"),ue(lt,Ze,bt,"\u2026","\\textellipsis"),ue(ae,Ze,bt,"\u2026","\\mathellipsis"),ue(lt,Ze,bt,"\u2026","\\ldots",!0),ue(ae,Ze,bt,"\u2026","\\ldots",!0),ue(ae,Ze,bt,"\u22EF","\\@cdots",!0),ue(ae,Ze,bt,"\u22F1","\\ddots",!0),ue(ae,Ze,we,"\u22EE","\\varvdots"),ue(ae,Ze,Jt,"\u02CA","\\acute"),ue(ae,Ze,Jt,"\u02CB","\\grave"),ue(ae,Ze,Jt,"\xA8","\\ddot"),ue(ae,Ze,Jt,"~","\\tilde"),ue(ae,Ze,Jt,"\u02C9","\\bar"),ue(ae,Ze,Jt,"\u02D8","\\breve"),ue(ae,Ze,Jt,"\u02C7","\\check"),ue(ae,Ze,Jt,"^","\\hat"),ue(ae,Ze,Jt,"\u20D7","\\vec"),ue(ae,Ze,Jt,"\u02D9","\\dot"),ue(ae,Ze,Jt,"\u02DA","\\mathring"),ue(ae,Ze,Lt,"\u0131","\\imath",!0),ue(ae,Ze,Lt,"\u0237","\\jmath",!0),ue(lt,Ze,we,"\u0131","\\i",!0),ue(lt,Ze,we,"\u0237","\\j",!0),ue(lt,Ze,we,"\xDF","\\ss",!0),ue(lt,Ze,we,"\xE6","\\ae",!0),ue(lt,Ze,we,"\xE6","\\ae",!0),ue(lt,Ze,we,"\u0153","\\oe",!0),ue(lt,Ze,we,"\xF8","\\o",!0),ue(lt,Ze,we,"\xC6","\\AE",!0),ue(lt,Ze,we,"\u0152","\\OE",!0),ue(lt,Ze,we,"\xD8","\\O",!0),ue(lt,Ze,Jt,"\u02CA","\\'"),ue(lt,Ze,Jt,"\u02CB","\\`"),ue(lt,Ze,Jt,"\u02C6","\\^"),ue(lt,Ze,Jt,"\u02DC","\\~"),ue(lt,Ze,Jt,"\u02C9","\\="),ue(lt,Ze,Jt,"\u02D8","\\u"),ue(lt,Ze,Jt,"\u02D9","\\."),ue(lt,Ze,Jt,"\u02DA","\\r"),ue(lt,Ze,Jt,"\u02C7","\\v"),ue(lt,Ze,Jt,"\xA8",'\\"'),ue(lt,Ze,Jt,"\u02DD","\\H"),ue(lt,Ze,Jt,"\u25EF","\\textcircled");var Fe={"--":!0,"---":!0,"``":!0,"''":!0};ue(lt,Ze,we,"\u2013","--"),ue(lt,Ze,we,"\u2013","\\textendash"),ue(lt,Ze,we,"\u2014","---"),ue(lt,Ze,we,"\u2014","\\textemdash"),ue(lt,Ze,we,"\u2018","`"),ue(lt,Ze,we,"\u2018","\\textquoteleft"),ue(lt,Ze,we,"\u2019","'"),ue(lt,Ze,we,"\u2019","\\textquoteright"),ue(lt,Ze,we,"\u201C","``"),ue(lt,Ze,we,"\u201C","\\textquotedblleft"),ue(lt,Ze,we,"\u201D","''"),ue(lt,Ze,we,"\u201D","\\textquotedblright"),ue(ae,Ze,we,"\xB0","\\degree",!0),ue(lt,Ze,we,"\xB0","\\degree"),ue(lt,Ze,we,"\xB0","\\textdegree",!0),ue(ae,Ze,Lt,"\xA3","\\pounds"),ue(ae,Ze,Lt,"\xA3","\\mathsterling",!0),ue(lt,Ze,Lt,"\xA3","\\pounds"),ue(lt,Ze,Lt,"\xA3","\\textsterling",!0),ue(ae,Te,we,"\u2720","\\maltese"),ue(lt,Te,we,"\u2720","\\maltese"),ue(lt,Ze,Ee,"\xA0","\\ "),ue(lt,Ze,Ee,"\xA0"," "),ue(lt,Ze,Ee,"\xA0","~");for(var Ye='0123456789/@."',Ge=0;Ge<Ye.length;Ge++){var qe=Ye.charAt(Ge);ue(ae,Ze,we,qe,qe)}for(var Ke='0123456789!@*()-=+[]<>|";:?/.,',ut=0;ut<Ke.length;ut++){var wt=Ke.charAt(ut);ue(lt,Ze,we,wt,wt)}for(var It="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",de=0;de<It.length;de++){var xe=It.charAt(de);ue(ae,Ze,Lt,xe,xe),ue(lt,Ze,we,xe,xe)}ue(ae,Te,we,"C","\u2102"),ue(lt,Te,we,"C","\u2102"),ue(ae,Te,we,"H","\u210D"),ue(lt,Te,we,"H","\u210D"),ue(ae,Te,we,"N","\u2115"),ue(lt,Te,we,"N","\u2115"),ue(ae,Te,we,"P","\u2119"),ue(lt,Te,we,"P","\u2119"),ue(ae,Te,we,"Q","\u211A"),ue(lt,Te,we,"Q","\u211A"),ue(ae,Te,we,"R","\u211D"),ue(lt,Te,we,"R","\u211D"),ue(ae,Te,we,"Z","\u2124"),ue(lt,Te,we,"Z","\u2124"),ue(ae,Ze,Lt,"h","\u210E"),ue(lt,Ze,Lt,"h","\u210E");for(var $="",le=0;le<It.length;le++){var Oe=It.charAt(le);$=String.fromCharCode(55349,56320+le),ue(ae,Ze,Lt,Oe,$),ue(lt,Ze,we,Oe,$),$=String.fromCharCode(55349,56372+le),ue(ae,Ze,Lt,Oe,$),ue(lt,Ze,we,Oe,$),$=String.fromCharCode(55349,56424+le),ue(ae,Ze,Lt,Oe,$),ue(lt,Ze,we,Oe,$),$=String.fromCharCode(55349,56580+le),ue(ae,Ze,Lt,Oe,$),ue(lt,Ze,we,Oe,$),$=String.fromCharCode(55349,56736+le),ue(ae,Ze,Lt,Oe,$),ue(lt,Ze,we,Oe,$),$=String.fromCharCode(55349,56788+le),ue(ae,Ze,Lt,Oe,$),ue(lt,Ze,we,Oe,$),$=String.fromCharCode(55349,56840+le),ue(ae,Ze,Lt,Oe,$),ue(lt,Ze,we,Oe,$),$=String.fromCharCode(55349,56944+le),ue(ae,Ze,Lt,Oe,$),ue(lt,Ze,we,Oe,$),le<26&&($=String.fromCharCode(55349,56632+le),ue(ae,Ze,Lt,Oe,$),ue(lt,Ze,we,Oe,$),$=String.fromCharCode(55349,56476+le),ue(ae,Ze,Lt,Oe,$),ue(lt,Ze,we,Oe,$))}$=String.fromCharCode(55349,56668),ue(ae,Ze,Lt,"k",$),ue(lt,Ze,we,"k",$);for(var ke=0;ke<10;ke++){var Ue=ke.toString();$=String.fromCharCode(55349,57294+ke),ue(ae,Ze,Lt,Ue,$),ue(lt,Ze,we,Ue,$),$=String.fromCharCode(55349,57314+ke),ue(ae,Ze,Lt,Ue,$),ue(lt,Ze,we,Ue,$),$=String.fromCharCode(55349,57324+ke),ue(ae,Ze,Lt,Ue,$),ue(lt,Ze,we,Ue,$),$=String.fromCharCode(55349,57334+ke),ue(ae,Ze,Lt,Ue,$),ue(lt,Ze,we,Ue,$)}for(var nt="\xC7\xD0\xDE\xE7\xFE",At=0;At<nt.length;At++){var Wt=nt.charAt(At);ue(ae,Ze,Lt,Wt,Wt),ue(lt,Ze,we,Wt,Wt)}ue(lt,Ze,we,"\xF0","\xF0"),ue(lt,Ze,we,"\u2013","\u2013"),ue(lt,Ze,we,"\u2014","\u2014"),ue(lt,Ze,we,"\u2018","\u2018"),ue(lt,Ze,we,"\u2019","\u2019"),ue(lt,Ze,we,"\u201C","\u201C"),ue(lt,Ze,we,"\u201D","\u201D");var $t=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Rt=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],zt=function(me,Le){var Ne=me.charCodeAt(0),Qe=me.charCodeAt(1),Ct=(Ne-55296)*1024+(Qe-56320)+65536,Ut=Le==="math"?0:1;if(119808<=Ct&&Ct<120484){var hr=Math.floor((Ct-119808)/26);return[$t[hr][2],$t[hr][Ut]]}else if(120782<=Ct&&Ct<=120831){var gr=Math.floor((Ct-120782)/10);return[Rt[gr][2],Rt[gr][Ut]]}else{if(Ct===120485||Ct===120486)return[$t[0][2],$t[0][Ut]];if(120486<Ct&&Ct<120782)return["",""];throw new i("Unsupported character: "+me)}},Gt=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Qt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Mt=function(me,Le){return Le.size<2?me:Gt[me-1][Le.size-1]},dr=function(){function Pt(Le){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=Le.style,this.color=Le.color,this.size=Le.size||Pt.BASESIZE,this.textSize=Le.textSize||this.size,this.phantom=!!Le.phantom,this.font=Le.font||"",this.fontFamily=Le.fontFamily||"",this.fontWeight=Le.fontWeight||"",this.fontShape=Le.fontShape||"",this.sizeMultiplier=Qt[this.size-1],this.maxSize=Le.maxSize,this.minRuleThickness=Le.minRuleThickness,this._fontMetrics=void 0}var me=Pt.prototype;return me.extend=function(Ne){var Qe={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var Ct in Ne)Ne.hasOwnProperty(Ct)&&(Qe[Ct]=Ne[Ct]);return new Pt(Qe)},me.havingStyle=function(Ne){return this.style===Ne?this:this.extend({style:Ne,size:Mt(this.textSize,Ne)})},me.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},me.havingSize=function(Ne){return this.size===Ne&&this.textSize===Ne?this:this.extend({style:this.style.text(),size:Ne,textSize:Ne,sizeMultiplier:Qt[Ne-1]})},me.havingBaseStyle=function(Ne){Ne=Ne||this.style.text();var Qe=Mt(Pt.BASESIZE,Ne);return this.size===Qe&&this.textSize===Pt.BASESIZE&&this.style===Ne?this:this.extend({style:Ne,size:Qe})},me.havingBaseSizing=function(){var Ne;switch(this.style.id){case 4:case 5:Ne=3;break;case 6:case 7:Ne=1;break;default:Ne=6}return this.extend({style:this.style.text(),size:Ne})},me.withColor=function(Ne){return this.extend({color:Ne})},me.withPhantom=function(){return this.extend({phantom:!0})},me.withFont=function(Ne){return this.extend({font:Ne})},me.withTextFontFamily=function(Ne){return this.extend({fontFamily:Ne,font:""})},me.withTextFontWeight=function(Ne){return this.extend({fontWeight:Ne,font:""})},me.withTextFontShape=function(Ne){return this.extend({fontShape:Ne,font:""})},me.sizingClasses=function(Ne){return Ne.size!==this.size?["sizing","reset-size"+Ne.size,"size"+this.size]:[]},me.baseSizingClasses=function(){return this.size!==Pt.BASESIZE?["sizing","reset-size"+this.size,"size"+Pt.BASESIZE]:[]},me.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Xe(this.size)),this._fontMetrics},me.getColor=function(){return this.phantom?"transparent":this.color},Pt}();dr.BASESIZE=6;var er=dr,ht={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Et={ex:!0,em:!0,mu:!0},pt=function(me){return typeof me!="string"&&(me=me.unit),me in ht||me in Et||me==="ex"},vt=function(me,Le){var Ne;if(me.unit in ht)Ne=ht[me.unit]/Le.fontMetrics().ptPerEm/Le.sizeMultiplier;else if(me.unit==="mu")Ne=Le.fontMetrics().cssEmPerMu;else{var Qe;if(Le.style.isTight()?Qe=Le.havingStyle(Le.style.text()):Qe=Le,me.unit==="ex")Ne=Qe.fontMetrics().xHeight;else if(me.unit==="em")Ne=Qe.fontMetrics().quad;else throw new i("Invalid unit: '"+me.unit+"'");Qe!==Le&&(Ne*=Qe.sizeMultiplier/Le.sizeMultiplier)}return Math.min(me.number*Ne,Le.maxSize)},Nt=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],_t=function(me,Le,Ne){return Ve[Ne][me]&&Ve[Ne][me].replace&&(me=Ve[Ne][me].replace),{value:me,metrics:je(me,Le,Ne)}},gt=function(me,Le,Ne,Qe,Ct){var Ut=_t(me,Le,Ne),hr=Ut.metrics;me=Ut.value;var gr;if(hr){var Rr=hr.italic;(Ne==="text"||Qe&&Qe.font==="mathit")&&(Rr=0),gr=new Ie(me,hr.height,hr.depth,Rr,hr.skew,hr.width,Ct)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+me+"' in style '"+Le+"' and mode '"+Ne+"'")),gr=new Ie(me,0,0,0,0,0,Ct);if(Qe){gr.maxFontSize=Qe.sizeMultiplier,Qe.style.isTight()&&gr.classes.push("mtight");var $r=Qe.getColor();$r&&(gr.style.color=$r)}return gr},Ht=function(me,Le,Ne,Qe){return Qe===void 0&&(Qe=[]),Ne.font==="boldsymbol"&&_t(me,"Main-Bold",Le).metrics?gt(me,"Main-Bold",Le,Ne,Qe.concat(["mathbf"])):me==="\\"||Ve[Le][me].font==="main"?gt(me,"Main-Regular",Le,Ne,Qe):gt(me,"AMS-Regular",Le,Ne,Qe.concat(["amsrm"]))},kt=function(me,Le,Ne,Qe){return/[0-9]/.test(me.charAt(0))||w.contains(Nt,me)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},ir=function(me,Le,Ne,Qe){return w.contains(Nt,me)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(me.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Xt=function(me,Le,Ne,Qe){return _t(me,"Math-BoldItalic",Le).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},mr=function(me,Le,Ne){var Qe=me.mode,Ct=me.text,Ut=["mord"],hr=Qe==="math"||Qe==="text"&&Le.font,gr=hr?Le.font:Le.fontFamily;if(Ct.charCodeAt(0)===55349){var Rr=zt(Ct,Qe),$r=Rr[0],ln=Rr[1];return gt(Ct,$r,Qe,Le,Ut.concat(ln))}else if(gr){var yn,Cn;if(gr==="boldsymbol"||gr==="mathnormal"){var Qn=gr==="boldsymbol"?Xt(Ct,Qe,Le,Ut):ir(Ct,Qe,Le,Ut);yn=Qn.fontName,Cn=[Qn.fontClass]}else w.contains(Nt,Ct)?(yn="Main-Italic",Cn=["mathit"]):hr?(yn=Yr[gr].fontName,Cn=[gr]):(yn=xr(gr,Le.fontWeight,Le.fontShape),Cn=[gr,Le.fontWeight,Le.fontShape]);if(_t(Ct,yn,Qe).metrics)return gt(Ct,yn,Qe,Le,Ut.concat(Cn));if(Fe.hasOwnProperty(Ct)&&yn.substr(0,10)==="Typewriter"){for(var ti=[],wi=0;wi<Ct.length;wi++)ti.push(gt(Ct[wi],yn,Qe,Le,Ut.concat(Cn)));return Ir(ti)}}if(Ne==="mathord"){var ea=kt(Ct,Qe,Le,Ut);return gt(Ct,ea.fontName,Qe,Le,Ut.concat([ea.fontClass]))}else if(Ne==="textord"){var ji=Ve[Qe][Ct]&&Ve[Qe][Ct].font;if(ji==="ams"){var Sa=xr("amsrm",Le.fontWeight,Le.fontShape);return gt(Ct,Sa,Qe,Le,Ut.concat("amsrm",Le.fontWeight,Le.fontShape))}else if(ji==="main"||!ji){var lo=xr("textrm",Le.fontWeight,Le.fontShape);return gt(Ct,lo,Qe,Le,Ut.concat(Le.fontWeight,Le.fontShape))}else{var Wa=xr(ji,Le.fontWeight,Le.fontShape);return gt(Ct,Wa,Qe,Le,Ut.concat(Wa,Le.fontWeight,Le.fontShape))}}else throw new Error("unexpected type: "+Ne+" in makeOrd")},Ar=function(me,Le){if(be(me.classes)!==be(Le.classes)||me.skew!==Le.skew||me.maxFontSize!==Le.maxFontSize)return!1;for(var Ne in me.style)if(me.style.hasOwnProperty(Ne)&&me.style[Ne]!==Le.style[Ne])return!1;for(var Qe in Le.style)if(Le.style.hasOwnProperty(Qe)&&me.style[Qe]!==Le.style[Qe])return!1;return!0},Nr=function(me){for(var Le=0;Le<me.length-1;Le++){var Ne=me[Le],Qe=me[Le+1];Ne instanceof Ie&&Qe instanceof Ie&&Ar(Ne,Qe)&&(Ne.text+=Qe.text,Ne.height=Math.max(Ne.height,Qe.height),Ne.depth=Math.max(Ne.depth,Qe.depth),Ne.italic=Qe.italic,me.splice(Le+1,1),Le--)}return me},kr=function(me){for(var Le=0,Ne=0,Qe=0,Ct=0;Ct<me.children.length;Ct++){var Ut=me.children[Ct];Ut.height>Le&&(Le=Ut.height),Ut.depth>Ne&&(Ne=Ut.depth),Ut.maxFontSize>Qe&&(Qe=Ut.maxFontSize)}me.height=Le,me.depth=Ne,me.maxFontSize=Qe},tn=function(me,Le,Ne,Qe){var Ct=new X(me,Le,Ne,Qe);return kr(Ct),Ct},qr=function(me,Le,Ne,Qe){return new X(me,Le,Ne,Qe)},_r=function(me,Le,Ne){var Qe=tn([me],[],Le);return Qe.height=Math.max(Ne||Le.fontMetrics().defaultRuleThickness,Le.minRuleThickness),Qe.style.borderBottomWidth=Qe.height+"em",Qe.maxFontSize=1,Qe},Qr=function(me,Le,Ne,Qe){var Ct=new Z(me,Le,Ne,Qe);return kr(Ct),Ct},Ir=function(me){var Le=new ne(me);return kr(Le),Le},cr=function(me,Le){return me instanceof ne?tn([],[me],Le):me},pr=function(me){if(me.positionType==="individualShift"){for(var Le=me.children,Ne=[Le[0]],Qe=-Le[0].shift-Le[0].elem.depth,Ct=Qe,Ut=1;Ut<Le.length;Ut++){var hr=-Le[Ut].shift-Ct-Le[Ut].elem.depth,gr=hr-(Le[Ut-1].elem.height+Le[Ut-1].elem.depth);Ct=Ct+hr,Ne.push({type:"kern",size:gr}),Ne.push(Le[Ut])}return{children:Ne,depth:Qe}}var Rr;if(me.positionType==="top"){for(var $r=me.positionData,ln=0;ln<me.children.length;ln++){var yn=me.children[ln];$r-=yn.type==="kern"?yn.size:yn.elem.height+yn.elem.depth}Rr=$r}else if(me.positionType==="bottom")Rr=-me.positionData;else{var Cn=me.children[0];if(Cn.type!=="elem")throw new Error('First child must have type "elem".');if(me.positionType==="shift")Rr=-Cn.elem.depth-me.positionData;else if(me.positionType==="firstBaseline")Rr=-Cn.elem.depth;else throw new Error("Invalid positionType "+me.positionType+".")}return{children:me.children,depth:Rr}},ur=function(me,Le){for(var Ne=pr(me),Qe=Ne.children,Ct=Ne.depth,Ut=0,hr=0;hr<Qe.length;hr++){var gr=Qe[hr];if(gr.type==="elem"){var Rr=gr.elem;Ut=Math.max(Ut,Rr.maxFontSize,Rr.height)}}Ut+=2;var $r=tn(["pstrut"],[]);$r.style.height=Ut+"em";for(var ln=[],yn=Ct,Cn=Ct,Qn=Ct,ti=0;ti<Qe.length;ti++){var wi=Qe[ti];if(wi.type==="kern")Qn+=wi.size;else{var ea=wi.elem,ji=wi.wrapperClasses||[],Sa=wi.wrapperStyle||{},lo=tn(ji,[$r,ea],void 0,Sa);lo.style.top=-Ut-Qn-ea.depth+"em",wi.marginLeft&&(lo.style.marginLeft=wi.marginLeft),wi.marginRight&&(lo.style.marginRight=wi.marginRight),ln.push(lo),Qn+=ea.height+ea.depth}yn=Math.min(yn,Qn),Cn=Math.max(Cn,Qn)}var Wa=tn(["vlist"],ln);Wa.style.height=Cn+"em";var yo;if(yn<0){var Ao=tn([],[]),$a=tn(["vlist"],[Ao]);$a.style.height=-yn+"em";var ko=tn(["vlist-s"],[new Ie("\u200B")]);yo=[tn(["vlist-r"],[Wa,ko]),tn(["vlist-r"],[$a])]}else yo=[tn(["vlist-r"],[Wa])];var No=tn(["vlist-t"],yo);return yo.length===2&&No.classes.push("vlist-t2"),No.height=Cn,No.depth=-yn,No},fr=function(me,Le){var Ne=tn(["mspace"],[],Le),Qe=vt(me,Le);return Ne.style.marginRight=Qe+"em",Ne},xr=function(me,Le,Ne){var Qe="";switch(me){case"amsrm":Qe="AMS";break;case"textrm":Qe="Main";break;case"textsf":Qe="SansSerif";break;case"texttt":Qe="Typewriter";break;default:Qe=me}var Ct;return Le==="textbf"&&Ne==="textit"?Ct="BoldItalic":Le==="textbf"?Ct="Bold":Le==="textit"?Ct="Italic":Ct="Regular",Qe+"-"+Ct},Yr={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},cn={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Nn=function(me,Le){var Ne=cn[me],Qe=Ne[0],Ct=Ne[1],Ut=Ne[2],hr=new te(Qe),gr=new fe([hr],{width:Ct+"em",height:Ut+"em",style:"width:"+Ct+"em",viewBox:"0 0 "+1e3*Ct+" "+1e3*Ut,preserveAspectRatio:"xMinYMin"}),Rr=qr(["overlay"],[gr],Le);return Rr.height=Ut,Rr.style.height=Ut+"em",Rr.style.width=Ct+"em",Rr},jr={fontMap:Yr,makeSymbol:gt,mathsym:Ht,makeSpan:tn,makeSvgSpan:qr,makeLineSpan:_r,makeAnchor:Qr,makeFragment:Ir,wrapFragment:cr,makeVList:ur,makeOrd:mr,makeGlue:fr,staticSvg:Nn,svgData:cn,tryCombineChars:Nr};function Tn(Pt,me){var Le=gn(Pt,me);if(!Le)throw new Error("Expected node of type "+me+", but got "+(Pt?"node of type "+Pt.type:String(Pt)));return Le}function gn(Pt,me){return Pt&&Pt.type===me?Pt:null}function Pn(Pt,me){var Le=Kn(Pt,me);if(!Le)throw new Error('Expected node of type "atom" and family "'+me+'", but got '+(Pt?Pt.type==="atom"?"atom of family "+Pt.family:"node of type "+Pt.type:String(Pt)));return Le}function Kn(Pt,me){return Pt&&Pt.type==="atom"&&Pt.family===me?Pt:null}function qn(Pt){var me=Yn(Pt);if(!me)throw new Error("Expected node of symbol group type, but got "+(Pt?"node of type "+Pt.type:String(Pt)));return me}function Yn(Pt){return Pt&&(Pt.type==="atom"||et.hasOwnProperty(Pt.type))?Pt:null}var Vn={number:3,unit:"mu"},An={number:4,unit:"mu"},on={number:5,unit:"mu"},ia={mord:{mop:Vn,mbin:An,mrel:on,minner:Vn},mop:{mord:Vn,mop:Vn,mrel:on,minner:Vn},mbin:{mord:An,mop:An,mopen:An,minner:An},mrel:{mord:on,mop:on,mopen:on,minner:on},mopen:{},mclose:{mop:Vn,mbin:An,mrel:on,minner:Vn},mpunct:{mord:Vn,mop:Vn,mrel:on,mopen:Vn,mclose:Vn,mpunct:Vn,minner:Vn},minner:{mord:Vn,mop:Vn,mbin:An,mrel:on,mopen:Vn,mpunct:Vn,minner:Vn}},xa={mord:{mop:Vn},mop:{mord:Vn,mop:Vn},mbin:{},mrel:{},mopen:{},mclose:{mop:Vn},mpunct:{},minner:{mop:Vn}},ta={},Ii={},Ci={};function Gn(Pt){for(var me=Pt.type,Le=Pt.names,Ne=Pt.props,Qe=Pt.handler,Ct=Pt.htmlBuilder,Ut=Pt.mathmlBuilder,hr={type:me,numArgs:Ne.numArgs,argTypes:Ne.argTypes,greediness:Ne.greediness===void 0?1:Ne.greediness,allowedInText:!!Ne.allowedInText,allowedInMath:Ne.allowedInMath===void 0?!0:Ne.allowedInMath,numOptionalArgs:Ne.numOptionalArgs||0,infix:!!Ne.infix,handler:Qe},gr=0;gr<Le.length;++gr)ta[Le[gr]]=hr;me&&(Ct&&(Ii[me]=Ct),Ut&&(Ci[me]=Ut))}function Oa(Pt){var me=Pt.type,Le=Pt.htmlBuilder,Ne=Pt.mathmlBuilder;Gn({type:me,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:Le,mathmlBuilder:Ne})}var mn=function(me){var Le=gn(me,"ordgroup");return Le?Le.body:[me]},On=jr.makeSpan,_n=["leftmost","mbin","mopen","mrel","mop","mpunct"],In=["rightmost","mrel","mclose","mpunct"],jn={display:k.DISPLAY,text:k.TEXT,script:k.SCRIPT,scriptscript:k.SCRIPTSCRIPT},ni={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},di=function(me,Le,Ne,Qe){Qe===void 0&&(Qe=[null,null]);for(var Ct=[],Ut=0;Ut<me.length;Ut++){var hr=Wi(me[Ut],Le);if(hr instanceof ne){var gr=hr.children;Ct.push.apply(Ct,gr)}else Ct.push(hr)}if(!Ne)return Ct;var Rr=Le;if(me.length===1){var $r=gn(me[0],"sizing")||gn(me[0],"styling");$r&&($r.type==="sizing"?Rr=Le.havingSize($r.size):$r.type==="styling"&&(Rr=Le.havingStyle(jn[$r.style])))}var ln=On([Qe[0]||"leftmost"],[],Le),yn=On([Qe[1]||"rightmost"],[],Le);return Na(Ct,function(Cn,Qn){var ti=Qn.classes[0],wi=Cn.classes[0];ti==="mbin"&&w.contains(In,wi)?Qn.classes[0]="mord":wi==="mbin"&&w.contains(_n,ti)&&(Cn.classes[0]="mord")},{node:ln},yn),Na(Ct,function(Cn,Qn){var ti=Ba(Qn),wi=Ba(Cn),ea=ti&&wi?Cn.hasClass("mtight")?xa[ti][wi]:ia[ti][wi]:null;if(ea)return jr.makeGlue(ea,Rr)},{node:ln},yn),Ct},Na=function Pt(me,Le,Ne,Qe){Qe&&me.push(Qe);for(var Ct=0;Ct<me.length;Ct++){var Ut=me[Ct],hr=Qi(Ut);if(hr){Pt(hr.children,Le,Ne);continue}if(Ut.classes[0]==="mspace")continue;var gr=Le(Ut,Ne.node);gr&&(Ne.insertAfter?Ne.insertAfter(gr):(me.unshift(gr),Ct++)),Ne.node=Ut,Ne.insertAfter=function(Rr){return function($r){me.splice(Rr+1,0,$r),Ct++}}(Ct)}Qe&&me.pop()},Qi=function(me){return me instanceof ne||me instanceof Z?me:null},ma=function Pt(me,Le){var Ne=Qi(me);if(Ne){var Qe=Ne.children;if(Qe.length){if(Le==="right")return Pt(Qe[Qe.length-1],"right");if(Le==="left")return Pt(Qe[0],"left")}}return me},Ba=function(me,Le){return me?(Le&&(me=ma(me,Le)),ni[me.classes[0]]||null):null},Qa=function(me,Le){var Ne=["nulldelimiter"].concat(me.baseSizingClasses());return On(Le.concat(Ne))},Wi=function(me,Le,Ne){if(!me)return On();if(Ii[me.type]){var Qe=Ii[me.type](me,Le);if(Ne&&Le.size!==Ne.size){Qe=On(Le.sizingClasses(Ne),[Qe],Le);var Ct=Le.sizeMultiplier/Ne.sizeMultiplier;Qe.height*=Ct,Qe.depth*=Ct}return Qe}else throw new i("Got group of unknown type: '"+me.type+"'")};function Co(Pt,me){var Le=On(["base"],Pt,me),Ne=On(["strut"]);return Ne.style.height=Le.height+Le.depth+"em",Ne.style.verticalAlign=-Le.depth+"em",Le.children.unshift(Ne),Le}function aa(Pt,me){var Le=null;Pt.length===1&&Pt[0].type==="tag"&&(Le=Pt[0].tag,Pt=Pt[0].body);for(var Ne=di(Pt,me,!0),Qe=[],Ct=[],Ut=0;Ut<Ne.length;Ut++)if(Ct.push(Ne[Ut]),Ne[Ut].hasClass("mbin")||Ne[Ut].hasClass("mrel")||Ne[Ut].hasClass("allowbreak")){for(var hr=!1;Ut<Ne.length-1&&Ne[Ut+1].hasClass("mspace")&&!Ne[Ut+1].hasClass("newline");)Ut++,Ct.push(Ne[Ut]),Ne[Ut].hasClass("nobreak")&&(hr=!0);hr||(Qe.push(Co(Ct,me)),Ct=[])}else Ne[Ut].hasClass("newline")&&(Ct.pop(),Ct.length>0&&(Qe.push(Co(Ct,me)),Ct=[]),Qe.push(Ne[Ut]));Ct.length>0&&Qe.push(Co(Ct,me));var gr;Le&&(gr=Co(di(Le,me,!0)),gr.classes=["tag"],Qe.push(gr));var Rr=On(["katex-html"],Qe);if(Rr.setAttribute("aria-hidden","true"),gr){var $r=gr.children[0];$r.style.height=Rr.height+Rr.depth+"em",$r.style.verticalAlign=-Rr.depth+"em"}return Rr}function Hi(Pt){return new ne(Pt)}var ga=function(){function Pt(Le,Ne){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=Le,this.attributes={},this.children=Ne||[]}var me=Pt.prototype;return me.setAttribute=function(Ne,Qe){this.attributes[Ne]=Qe},me.getAttribute=function(Ne){return this.attributes[Ne]},me.toNode=function(){var Ne=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var Qe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Qe)&&Ne.setAttribute(Qe,this.attributes[Qe]);for(var Ct=0;Ct<this.children.length;Ct++)Ne.appendChild(this.children[Ct].toNode());return Ne},me.toMarkup=function(){var Ne="<"+this.type;for(var Qe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Qe)&&(Ne+=" "+Qe+'="',Ne+=w.escape(this.attributes[Qe]),Ne+='"');Ne+=">";for(var Ct=0;Ct<this.children.length;Ct++)Ne+=this.children[Ct].toMarkup();return Ne+="</"+this.type+">",Ne},me.toText=function(){return this.children.map(function(Ne){return Ne.toText()}).join("")},Pt}(),ha=function(){function Pt(Le){this.text=void 0,this.text=Le}var me=Pt.prototype;return me.toNode=function(){return document.createTextNode(this.text)},me.toMarkup=function(){return w.escape(this.toText())},me.toText=function(){return this.text},Pt}(),mo=function(){function Pt(Le){this.width=void 0,this.character=void 0,this.width=Le,Le>=.05555&&Le<=.05556?this.character="\u200A":Le>=.1666&&Le<=.1667?this.character="\u2009":Le>=.2222&&Le<=.2223?this.character="\u2005":Le>=.2777&&Le<=.2778?this.character="\u2005\u200A":Le>=-.05556&&Le<=-.05555?this.character="\u200A\u2063":Le>=-.1667&&Le<=-.1666?this.character="\u2009\u2063":Le>=-.2223&&Le<=-.2222?this.character="\u205F\u2063":Le>=-.2778&&Le<=-.2777?this.character="\u2005\u2063":this.character=null}var me=Pt.prototype;return me.toNode=function(){if(this.character)return document.createTextNode(this.character);var Ne=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return Ne.setAttribute("width",this.width+"em"),Ne},me.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},me.toText=function(){return this.character?this.character:" "},Pt}(),Fn={MathNode:ga,TextNode:ha,SpaceNode:mo,newDocumentFragment:Hi},$i=function(me,Le,Ne){return Ve[Le][me]&&Ve[Le][me].replace&&me.charCodeAt(0)!==55349&&!(Fe.hasOwnProperty(me)&&Ne&&(Ne.fontFamily&&Ne.fontFamily.substr(4,2)==="tt"||Ne.font&&Ne.font.substr(4,2)==="tt"))&&(me=Ve[Le][me].replace),new Fn.TextNode(me)},eo=function(me){return me.length===1?me[0]:new Fn.MathNode("mrow",me)},To=function(me,Le){if(Le.fontFamily==="texttt")return"monospace";if(Le.fontFamily==="textsf")return Le.fontShape==="textit"&&Le.fontWeight==="textbf"?"sans-serif-bold-italic":Le.fontShape==="textit"?"sans-serif-italic":Le.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(Le.fontShape==="textit"&&Le.fontWeight==="textbf")return"bold-italic";if(Le.fontShape==="textit")return"italic";if(Le.fontWeight==="textbf")return"bold";var Ne=Le.font;if(!Ne||Ne==="mathnormal")return null;var Qe=me.mode;if(Ne==="mathit")return"italic";if(Ne==="boldsymbol")return"bold-italic";if(Ne==="mathbf")return"bold";if(Ne==="mathbb")return"double-struck";if(Ne==="mathfrak")return"fraktur";if(Ne==="mathscr"||Ne==="mathcal")return"script";if(Ne==="mathsf")return"sans-serif";if(Ne==="mathtt")return"monospace";var Ct=me.text;if(w.contains(["\\imath","\\jmath"],Ct))return null;Ve[Qe][Ct]&&Ve[Qe][Ct].replace&&(Ct=Ve[Qe][Ct].replace);var Ut=jr.fontMap[Ne].fontName;return je(Ct,Ut,Qe)?jr.fontMap[Ne].variant:null},co=function(me,Le,Ne){if(me.length===1){var Qe=Tr(me[0],Le);return Ne&&Qe instanceof ga&&Qe.type==="mo"&&(Qe.setAttribute("lspace","0em"),Qe.setAttribute("rspace","0em")),[Qe]}for(var Ct=[],Ut,hr=0;hr<me.length;hr++){var gr=Tr(me[hr],Le);if(gr instanceof ga&&Ut instanceof ga){if(gr.type==="mtext"&&Ut.type==="mtext"&&gr.getAttribute("mathvariant")===Ut.getAttribute("mathvariant")){var Rr;(Rr=Ut.children).push.apply(Rr,gr.children);continue}else if(gr.type==="mn"&&Ut.type==="mn"){var $r;($r=Ut.children).push.apply($r,gr.children);continue}else if(gr.type==="mi"&&gr.children.length===1&&Ut.type==="mn"){var ln=gr.children[0];if(ln instanceof ha&&ln.text==="."){var yn;(yn=Ut.children).push.apply(yn,gr.children);continue}}else if(Ut.type==="mi"&&Ut.children.length===1){var Cn=Ut.children[0];if(Cn instanceof ha&&Cn.text==="\u0338"&&(gr.type==="mo"||gr.type==="mi"||gr.type==="mn")){var Qn=gr.children[0];Qn instanceof ha&&Qn.text.length>0&&(Qn.text=Qn.text.slice(0,1)+"\u0338"+Qn.text.slice(1),Ct.pop())}}}Ct.push(gr),Ut=gr}return Ct},rr=function(me,Le,Ne){return eo(co(me,Le,Ne))},Tr=function(me,Le){if(!me)return new Fn.MathNode("mrow");if(Ci[me.type]){var Ne=Ci[me.type](me,Le);return Ne}else throw new i("Got group of unknown type: '"+me.type+"'")};function Pr(Pt,me,Le,Ne){var Qe=co(Pt,Le),Ct;Qe.length===1&&Qe[0]instanceof ga&&w.contains(["mrow","mtable"],Qe[0].type)?Ct=Qe[0]:Ct=new Fn.MathNode("mrow",Qe);var Ut=new Fn.MathNode("annotation",[new Fn.TextNode(me)]);Ut.setAttribute("encoding","application/x-tex");var hr=new Fn.MathNode("semantics",[Ct,Ut]),gr=new Fn.MathNode("math",[hr]);gr.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var Rr=Ne?"katex":"katex-mathml";return jr.makeSpan([Rr],[gr])}var Wr=function(me){return new er({style:me.displayMode?k.DISPLAY:k.TEXT,maxSize:me.maxSize,minRuleThickness:me.minRuleThickness})},hn=function(me,Le){if(Le.displayMode){var Ne=["katex-display"];Le.leqno&&Ne.push("leqno"),Le.fleqn&&Ne.push("fleqn"),me=jr.makeSpan(Ne,[me])}return me},it=function(me,Le,Ne){var Qe=Wr(Ne),Ct;if(Ne.output==="mathml")return Pr(me,Le,Qe,!0);if(Ne.output==="html"){var Ut=aa(me,Qe);Ct=jr.makeSpan(["katex"],[Ut])}else{var hr=Pr(me,Le,Qe,!1),gr=aa(me,Qe);Ct=jr.makeSpan(["katex"],[hr,gr])}return hn(Ct,Ne)},jt=function(me,Le,Ne){var Qe=Wr(Ne),Ct=aa(me,Qe),Ut=jr.makeSpan(["katex"],[Ct]);return hn(Ut,Ne)},Zt=it,nr={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB"},Or=function(me){var Le=new Fn.MathNode("mo",[new Fn.TextNode(nr[me.substr(1)])]);return Le.setAttribute("stretchy","true"),Le},wr={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Er=function(me){return me.type==="ordgroup"?me.body.length:1},Kr=function(me,Le){function Ne(){var gr=4e5,Rr=me.label.substr(1);if(w.contains(["widehat","widecheck","widetilde","utilde"],Rr)){var $r=me,ln=Er($r.base),yn,Cn,Qn;if(ln>5)Rr==="widehat"||Rr==="widecheck"?(yn=420,gr=2364,Qn=.42,Cn=Rr+"4"):(yn=312,gr=2340,Qn=.34,Cn="tilde4");else{var ti=[1,1,2,2,3,3][ln];Rr==="widehat"||Rr==="widecheck"?(gr=[0,1062,2364,2364,2364][ti],yn=[0,239,300,360,420][ti],Qn=[0,.24,.3,.3,.36,.42][ti],Cn=Rr+ti):(gr=[0,600,1033,2339,2340][ti],yn=[0,260,286,306,312][ti],Qn=[0,.26,.286,.3,.306,.34][ti],Cn="tilde"+ti)}var wi=new te(Cn),ea=new fe([wi],{width:"100%",height:Qn+"em",viewBox:"0 0 "+gr+" "+yn,preserveAspectRatio:"none"});return{span:jr.makeSvgSpan([],[ea],Le),minWidth:0,height:Qn}}else{var ji=[],Sa=wr[Rr],lo=Sa[0],Wa=Sa[1],yo=Sa[2],Ao=yo/1e3,$a=lo.length,ko,No;if($a===1){var Ha=Sa[3];ko=["hide-tail"],No=[Ha]}else if($a===2)ko=["halfarrow-left","halfarrow-right"],No=["xMinYMin","xMaxYMin"];else if($a===3)ko=["brace-left","brace-center","brace-right"],No=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+$a+" children.");for(var jo=0;jo<$a;jo++){var Fo=new te(lo[jo]),Qo=new fe([Fo],{width:"400em",height:Ao+"em",viewBox:"0 0 "+gr+" "+yo,preserveAspectRatio:No[jo]+" slice"}),wo=jr.makeSvgSpan([ko[jo]],[Qo],Le);if($a===1)return{span:wo,minWidth:Wa,height:Ao};wo.style.height=Ao+"em",ji.push(wo)}return{span:jr.makeSpan(["stretchy"],ji,Le),minWidth:Wa,height:Ao}}}var Qe=Ne(),Ct=Qe.span,Ut=Qe.minWidth,hr=Qe.height;return Ct.height=hr,Ct.style.height=hr+"em",Ut>0&&(Ct.style.minWidth=Ut+"em"),Ct},Zr=function(me,Le,Ne,Qe){var Ct,Ut=me.height+me.depth+2*Ne;if(/fbox|color/.test(Le)){if(Ct=jr.makeSpan(["stretchy",Le],[],Qe),Le==="fbox"){var hr=Qe.color&&Qe.getColor();hr&&(Ct.style.borderColor=hr)}}else{var gr=[];/^[bx]cancel$/.test(Le)&&gr.push(new J({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(Le)&&gr.push(new J({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var Rr=new fe(gr,{width:"100%",height:Ut+"em"});Ct=jr.makeSvgSpan([],[Rr],Qe)}return Ct.height=Ut,Ct.style.height=Ut+"em",Ct},Jr={encloseSpan:Zr,mathMLnode:Or,svgSpan:Kr},an=function(me,Le){var Ne,Qe,Ct=gn(me,"supsub"),Ut;Ct?(Qe=Tn(Ct.base,"accent"),Ne=Qe.base,Ct.base=Ne,Ut=De(Wi(Ct,Le)),Ct.base=Qe):(Qe=Tn(me,"accent"),Ne=Qe.base);var hr=Wi(Ne,Le.havingCrampedStyle()),gr=Qe.isShifty&&w.isCharacterBox(Ne),Rr=0;if(gr){var $r=w.getBaseElem(Ne),ln=Wi($r,Le.havingCrampedStyle());Rr=ve(ln).skew}var yn=Math.min(hr.height,Le.fontMetrics().xHeight),Cn;if(Qe.isStretchy)Cn=Jr.svgSpan(Qe,Le),Cn=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:hr},{type:"elem",elem:Cn,wrapperClasses:["svg-align"],wrapperStyle:Rr>0?{width:"calc(100% - "+2*Rr+"em)",marginLeft:2*Rr+"em"}:void 0}]},Le);else{var Qn,ti;Qe.label==="\\vec"?(Qn=jr.staticSvg("vec",Le),ti=jr.svgData.vec[1]):(Qn=jr.makeOrd({mode:Qe.mode,text:Qe.label},Le,"textord"),Qn=ve(Qn),Qn.italic=0,ti=Qn.width),Cn=jr.makeSpan(["accent-body"],[Qn]);var wi=Qe.label==="\\textcircled";wi&&(Cn.classes.push("accent-full"),yn=hr.height);var ea=Rr;wi||(ea-=ti/2),Cn.style.left=ea+"em",Qe.label==="\\textcircled"&&(Cn.style.top=".2em"),Cn=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:hr},{type:"kern",size:-yn},{type:"elem",elem:Cn}]},Le)}var ji=jr.makeSpan(["mord","accent"],[Cn],Le);return Ut?(Ut.children[0]=ji,Ut.height=Math.max(ji.height,Ut.height),Ut.classes[0]="mord",Ut):ji},xt=function(me,Le){var Ne=me.isStretchy?Jr.mathMLnode(me.label):new Fn.MathNode("mo",[$i(me.label,me.mode)]),Qe=new Fn.MathNode("mover",[Tr(me.base,Le),Ne]);return Qe.setAttribute("accent","true"),Qe},Vt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Pt){return"\\"+Pt}).join("|"));Gn({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(me,Le){var Ne=Le[0],Qe=!Vt.test(me.funcName),Ct=!Qe||me.funcName==="\\widehat"||me.funcName==="\\widetilde"||me.funcName==="\\widecheck";return{type:"accent",mode:me.parser.mode,label:me.funcName,isStretchy:Qe,isShifty:Ct,base:Ne}},htmlBuilder:an,mathmlBuilder:xt}),Gn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(me,Le){var Ne=Le[0];return{type:"accent",mode:me.parser.mode,label:me.funcName,isStretchy:!1,isShifty:!0,base:Ne}},htmlBuilder:an,mathmlBuilder:xt}),Gn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(me,Le){var Ne=me.parser,Qe=me.funcName,Ct=Le[0];return{type:"accentUnder",mode:Ne.mode,label:Qe,base:Ct}},htmlBuilder:function(me,Le){var Ne=Wi(me.base,Le),Qe=Jr.svgSpan(me,Le),Ct=me.label==="\\utilde"?.12:0,Ut=jr.makeVList({positionType:"bottom",positionData:Qe.height+Ct,children:[{type:"elem",elem:Qe,wrapperClasses:["svg-align"]},{type:"kern",size:Ct},{type:"elem",elem:Ne}]},Le);return jr.makeSpan(["mord","accentunder"],[Ut],Le)},mathmlBuilder:function(me,Le){var Ne=Jr.mathMLnode(me.label),Qe=new Fn.MathNode("munder",[Tr(me.base,Le),Ne]);return Qe.setAttribute("accentunder","true"),Qe}});var sr=function(me){var Le=new Fn.MathNode("mpadded",me?[me]:[]);return Le.setAttribute("width","+0.6em"),Le.setAttribute("lspace","0.3em"),Le};Gn({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(me,Le,Ne){var Qe=me.parser,Ct=me.funcName;return{type:"xArrow",mode:Qe.mode,label:Ct,body:Le[0],below:Ne[0]}},htmlBuilder:function(me,Le){var Ne=Le.style,Qe=Le.havingStyle(Ne.sup()),Ct=jr.wrapFragment(Wi(me.body,Qe,Le),Le);Ct.classes.push("x-arrow-pad");var Ut;me.below&&(Qe=Le.havingStyle(Ne.sub()),Ut=jr.wrapFragment(Wi(me.below,Qe,Le),Le),Ut.classes.push("x-arrow-pad"));var hr=Jr.svgSpan(me,Le),gr=-Le.fontMetrics().axisHeight+.5*hr.height,Rr=-Le.fontMetrics().axisHeight-.5*hr.height-.111;(Ct.depth>.25||me.label==="\\xleftequilibrium")&&(Rr-=Ct.depth);var $r;if(Ut){var ln=-Le.fontMetrics().axisHeight+Ut.height+.5*hr.height+.111;$r=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ct,shift:Rr},{type:"elem",elem:hr,shift:gr},{type:"elem",elem:Ut,shift:ln}]},Le)}else $r=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ct,shift:Rr},{type:"elem",elem:hr,shift:gr}]},Le);return $r.children[0].children[0].children[1].classes.push("svg-align"),jr.makeSpan(["mrel","x-arrow"],[$r],Le)},mathmlBuilder:function(me,Le){var Ne=Jr.mathMLnode(me.label),Qe;if(me.body){var Ct=sr(Tr(me.body,Le));if(me.below){var Ut=sr(Tr(me.below,Le));Qe=new Fn.MathNode("munderover",[Ne,Ut,Ct])}else Qe=new Fn.MathNode("mover",[Ne,Ct])}else if(me.below){var hr=sr(Tr(me.below,Le));Qe=new Fn.MathNode("munder",[Ne,hr])}else Qe=sr(),Qe=new Fn.MathNode("mover",[Ne,Qe]);return Qe}}),Gn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(me,Le){for(var Ne=me.parser,Qe=Tn(Le[0],"ordgroup"),Ct=Qe.body,Ut="",hr=0;hr<Ct.length;hr++){var gr=Tn(Ct[hr],"textord");Ut+=gr.text}var Rr=parseInt(Ut);if(isNaN(Rr))throw new i("\\@char has non-numeric argument "+Ut);return{type:"textord",mode:Ne.mode,text:String.fromCharCode(Rr)}}});var br=function(me,Le){var Ne=di(me.body,Le.withColor(me.color),!1);return jr.makeFragment(Ne)},Mr=function(me,Le){var Ne=co(me.body,Le.withColor(me.color)),Qe=new Fn.MathNode("mstyle",Ne);return Qe.setAttribute("mathcolor",me.color),Qe};Gn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(me,Le){var Ne=me.parser,Qe=Tn(Le[0],"color-token").color,Ct=Le[1];return{type:"color",mode:Ne.mode,color:Qe,body:mn(Ct)}},htmlBuilder:br,mathmlBuilder:Mr}),Gn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(me,Le){var Ne=me.parser,Qe=me.breakOnTokenText,Ct=Tn(Le[0],"color-token").color;Ne.gullet.macros.set("\\current@color",Ct);var Ut=Ne.parseExpression(!0,Qe);return{type:"color",mode:Ne.mode,color:Ct,body:Ut}},htmlBuilder:br,mathmlBuilder:Mr}),Gn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(me,Le,Ne){var Qe=me.parser,Ct=me.funcName,Ut=Ne[0],hr=Ct==="\\cr",gr=!1;return hr||(Qe.settings.displayMode&&Qe.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?gr=!1:gr=!0),{type:"cr",mode:Qe.mode,newLine:gr,newRow:hr,size:Ut&&Tn(Ut,"size").value}},htmlBuilder:function(me,Le){if(me.newRow)throw new i("\\cr valid only within a tabular/array environment");var Ne=jr.makeSpan(["mspace"],[],Le);return me.newLine&&(Ne.classes.push("newline"),me.size&&(Ne.style.marginTop=vt(me.size,Le)+"em")),Ne},mathmlBuilder:function(me,Le){var Ne=new Fn.MathNode("mspace");return me.newLine&&(Ne.setAttribute("linebreak","newline"),me.size&&Ne.setAttribute("height",vt(me.size,Le)+"em")),Ne}});var Dr=function(me,Le,Ne){var Qe=Ve.math[me]&&Ve.math[me].replace,Ct=je(Qe||me,Le,Ne);if(!Ct)throw new Error("Unsupported symbol "+me+" and font size "+Le+".");return Ct},rn=function(me,Le,Ne,Qe){var Ct=Ne.havingBaseStyle(Le),Ut=jr.makeSpan(Qe.concat(Ct.sizingClasses(Ne)),[me],Ne),hr=Ct.sizeMultiplier/Ne.sizeMultiplier;return Ut.height*=hr,Ut.depth*=hr,Ut.maxFontSize=Ct.sizeMultiplier,Ut},fn=function(me,Le,Ne){var Qe=Le.havingBaseStyle(Ne),Ct=(1-Le.sizeMultiplier/Qe.sizeMultiplier)*Le.fontMetrics().axisHeight;me.classes.push("delimcenter"),me.style.top=Ct+"em",me.height-=Ct,me.depth+=Ct},wn=function(me,Le,Ne,Qe,Ct,Ut){var hr=jr.makeSymbol(me,"Main-Regular",Ct,Qe),gr=rn(hr,Le,Qe,Ut);return Ne&&fn(gr,Qe,Le),gr},Hn=function(me,Le,Ne,Qe){return jr.makeSymbol(me,"Size"+Le+"-Regular",Ne,Qe)},Sn=function(me,Le,Ne,Qe,Ct,Ut){var hr=Hn(me,Le,Ct,Qe),gr=rn(jr.makeSpan(["delimsizing","size"+Le],[hr],Qe),k.TEXT,Qe,Ut);return Ne&&fn(gr,Qe,k.TEXT),gr},bn=function(me,Le,Ne){var Qe;Le==="Size1-Regular"?Qe="delim-size1":Qe="delim-size4";var Ct=jr.makeSpan(["delimsizinginner",Qe],[jr.makeSpan([],[jr.makeSymbol(me,Le,Ne)])]);return{type:"elem",elem:Ct}},Mn={type:"kern",size:-.005},vn=function(me,Le,Ne,Qe,Ct,Ut){var hr,gr,Rr,$r;hr=Rr=$r=me,gr=null;var ln="Size1-Regular";me==="\\uparrow"?Rr=$r="\u23D0":me==="\\Uparrow"?Rr=$r="\u2016":me==="\\downarrow"?hr=Rr="\u23D0":me==="\\Downarrow"?hr=Rr="\u2016":me==="\\updownarrow"?(hr="\\uparrow",Rr="\u23D0",$r="\\downarrow"):me==="\\Updownarrow"?(hr="\\Uparrow",Rr="\u2016",$r="\\Downarrow"):me==="["||me==="\\lbrack"?(hr="\u23A1",Rr="\u23A2",$r="\u23A3",ln="Size4-Regular"):me==="]"||me==="\\rbrack"?(hr="\u23A4",Rr="\u23A5",$r="\u23A6",ln="Size4-Regular"):me==="\\lfloor"||me==="\u230A"?(Rr=hr="\u23A2",$r="\u23A3",ln="Size4-Regular"):me==="\\lceil"||me==="\u2308"?(hr="\u23A1",Rr=$r="\u23A2",ln="Size4-Regular"):me==="\\rfloor"||me==="\u230B"?(Rr=hr="\u23A5",$r="\u23A6",ln="Size4-Regular"):me==="\\rceil"||me==="\u2309"?(hr="\u23A4",Rr=$r="\u23A5",ln="Size4-Regular"):me==="("||me==="\\lparen"?(hr="\u239B",Rr="\u239C",$r="\u239D",ln="Size4-Regular"):me===")"||me==="\\rparen"?(hr="\u239E",Rr="\u239F",$r="\u23A0",ln="Size4-Regular"):me==="\\{"||me==="\\lbrace"?(hr="\u23A7",gr="\u23A8",$r="\u23A9",Rr="\u23AA",ln="Size4-Regular"):me==="\\}"||me==="\\rbrace"?(hr="\u23AB",gr="\u23AC",$r="\u23AD",Rr="\u23AA",ln="Size4-Regular"):me==="\\lgroup"||me==="\u27EE"?(hr="\u23A7",$r="\u23A9",Rr="\u23AA",ln="Size4-Regular"):me==="\\rgroup"||me==="\u27EF"?(hr="\u23AB",$r="\u23AD",Rr="\u23AA",ln="Size4-Regular"):me==="\\lmoustache"||me==="\u23B0"?(hr="\u23A7",$r="\u23AD",Rr="\u23AA",ln="Size4-Regular"):(me==="\\rmoustache"||me==="\u23B1")&&(hr="\u23AB",$r="\u23A9",Rr="\u23AA",ln="Size4-Regular");var yn=Dr(hr,ln,Ct),Cn=yn.height+yn.depth,Qn=Dr(Rr,ln,Ct),ti=Qn.height+Qn.depth,wi=Dr($r,ln,Ct),ea=wi.height+wi.depth,ji=0,Sa=1;if(gr!==null){var lo=Dr(gr,ln,Ct);ji=lo.height+lo.depth,Sa=2}var Wa=Cn+ea+ji,yo=Math.max(0,Math.ceil((Le-Wa)/(Sa*ti))),Ao=Wa+yo*Sa*ti,$a=Qe.fontMetrics().axisHeight;Ne&&($a*=Qe.sizeMultiplier);var ko=Ao/2-$a,No=(yo+1)*.005-ti,Ha=[];if(Ha.push(bn($r,ln,Ct)),gr===null)for(var jo=0;jo<yo;jo++)Ha.push(Mn),Ha.push(bn(Rr,ln,Ct));else{for(var Fo=0;Fo<yo;Fo++)Ha.push(Mn),Ha.push(bn(Rr,ln,Ct));Ha.push({type:"kern",size:No}),Ha.push(bn(Rr,ln,Ct)),Ha.push(Mn),Ha.push(bn(gr,ln,Ct));for(var Qo=0;Qo<yo;Qo++)Ha.push(Mn),Ha.push(bn(Rr,ln,Ct))}Ha.push({type:"kern",size:No}),Ha.push(bn(Rr,ln,Ct)),Ha.push(Mn),Ha.push(bn(hr,ln,Ct));var wo=Qe.havingBaseStyle(k.TEXT),cs=jr.makeVList({positionType:"bottom",positionData:ko,children:Ha},wo);return rn(jr.makeSpan(["delimsizing","mult"],[cs],wo),k.TEXT,Qe,Ut)},Rn=80,En=.08,Ln=function(me,Le,Ne,Qe,Ct){var Ut=Re(me,Qe,Ne),hr=new te(me,Ut),gr=new fe([hr],{width:"400em",height:Le+"em",viewBox:"0 0 400000 "+Ne,preserveAspectRatio:"xMinYMin slice"});return jr.makeSvgSpan(["hide-tail"],[gr],Ct)},Xn=function(me,Le){var Ne=Le.havingBaseSizing(),Qe=Ui("\\surd",me*Ne.sizeMultiplier,Ri,Ne),Ct=Ne.sizeMultiplier,Ut=Math.max(0,Le.minRuleThickness-Le.fontMetrics().sqrtRuleThickness),hr,gr=0,Rr=0,$r=0,ln;return Qe.type==="small"?($r=1e3+1e3*Ut+Rn,me<1?Ct=1:me<1.4&&(Ct=.7),gr=(1+Ut+En)/Ct,Rr=(1+Ut)/Ct,hr=Ln("sqrtMain",gr,$r,Ut,Le),hr.style.minWidth="0.853em",ln=.833/Ct):Qe.type==="large"?($r=(1e3+Rn)*yi[Qe.size],Rr=(yi[Qe.size]+Ut)/Ct,gr=(yi[Qe.size]+Ut+En)/Ct,hr=Ln("sqrtSize"+Qe.size,gr,$r,Ut,Le),hr.style.minWidth="1.02em",ln=1/Ct):(gr=me+Ut+En,Rr=me+Ut,$r=Math.floor(1e3*me+Ut)+Rn,hr=Ln("sqrtTall",gr,$r,Ut,Le),hr.style.minWidth="0.742em",ln=1.056),hr.height=Rr,hr.style.height=gr+"em",{span:hr,advanceWidth:ln,ruleWidth:(Le.fontMetrics().sqrtRuleThickness+Ut)*Ct}},ai=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],ri=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Di=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],yi=[0,1.2,1.8,2.4,3],xi=function(me,Le,Ne,Qe,Ct){if(me==="<"||me==="\\lt"||me==="\u27E8"?me="\\langle":(me===">"||me==="\\gt"||me==="\u27E9")&&(me="\\rangle"),w.contains(ai,me)||w.contains(Di,me))return Sn(me,Le,!1,Ne,Qe,Ct);if(w.contains(ri,me))return vn(me,yi[Le],!1,Ne,Qe,Ct);throw new i("Illegal delimiter: '"+me+"'")},_i=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Un=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"stack"}],Ri=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],fa=function(me){if(me.type==="small")return"Main-Regular";if(me.type==="large")return"Size"+me.size+"-Regular";if(me.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+me.type+"' here.")},Ui=function(me,Le,Ne,Qe){for(var Ct=Math.min(2,3-Qe.style.size),Ut=Ct;Ut<Ne.length&&!(Ne[Ut].type==="stack");Ut++){var hr=Dr(me,fa(Ne[Ut]),"math"),gr=hr.height+hr.depth;if(Ne[Ut].type==="small"){var Rr=Qe.havingBaseStyle(Ne[Ut].style);gr*=Rr.sizeMultiplier}if(gr>Le)return Ne[Ut]}return Ne[Ne.length-1]},Mi=function(me,Le,Ne,Qe,Ct,Ut){me==="<"||me==="\\lt"||me==="\u27E8"?me="\\langle":(me===">"||me==="\\gt"||me==="\u27E9")&&(me="\\rangle");var hr;w.contains(Di,me)?hr=_i:w.contains(ai,me)?hr=Ri:hr=Un;var gr=Ui(me,Le,hr,Qe);return gr.type==="small"?wn(me,gr.style,Ne,Qe,Ct,Ut):gr.type==="large"?Sn(me,gr.size,Ne,Qe,Ct,Ut):vn(me,Le,Ne,Qe,Ct,Ut)},mi=function(me,Le,Ne,Qe,Ct,Ut){var hr=Qe.fontMetrics().axisHeight*Qe.sizeMultiplier,gr=901,Rr=5/Qe.fontMetrics().ptPerEm,$r=Math.max(Le-hr,Ne+hr),ln=Math.max($r/500*gr,2*$r-Rr);return Mi(me,ln,!0,Qe,Ct,Ut)},hi={sqrtImage:Xn,sizedDelim:xi,customSizedDelim:Mi,leftRightDelim:mi},qi={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},va=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Ea(Pt,me){var Le=Yn(Pt);if(Le&&w.contains(va,Le.text))return Le;throw new i("Invalid delimiter: '"+(Le?Le.text:JSON.stringify(Pt))+"' after '"+me.funcName+"'",Pt)}Gn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(me,Le){var Ne=Ea(Le[0],me);return{type:"delimsizing",mode:me.parser.mode,size:qi[me.funcName].size,mclass:qi[me.funcName].mclass,delim:Ne.text}},htmlBuilder:function(me,Le){return me.delim==="."?jr.makeSpan([me.mclass]):hi.sizedDelim(me.delim,me.size,Le,me.mode,[me.mclass])},mathmlBuilder:function(me){var Le=[];me.delim!=="."&&Le.push($i(me.delim,me.mode));var Ne=new Fn.MathNode("mo",Le);return me.mclass==="mopen"||me.mclass==="mclose"?Ne.setAttribute("fence","true"):Ne.setAttribute("fence","false"),Ne}});function ya(Pt){if(!Pt.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Gn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(me,Le){var Ne=me.parser.gullet.macros.get("\\current@color");if(Ne&&typeof Ne!="string")throw new i("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:me.parser.mode,delim:Ea(Le[0],me).text,color:Ne}}}),Gn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(me,Le){var Ne=Ea(Le[0],me),Qe=me.parser;++Qe.leftrightDepth;var Ct=Qe.parseExpression(!1);--Qe.leftrightDepth,Qe.expect("\\right",!1);var Ut=Tn(Qe.parseFunction(),"leftright-right");return{type:"leftright",mode:Qe.mode,body:Ct,left:Ne.text,right:Ut.delim,rightColor:Ut.color}},htmlBuilder:function(me,Le){ya(me);for(var Ne=di(me.body,Le,!0,["mopen","mclose"]),Qe=0,Ct=0,Ut=!1,hr=0;hr<Ne.length;hr++)Ne[hr].isMiddle?Ut=!0:(Qe=Math.max(Ne[hr].height,Qe),Ct=Math.max(Ne[hr].depth,Ct));Qe*=Le.sizeMultiplier,Ct*=Le.sizeMultiplier;var gr;if(me.left==="."?gr=Qa(Le,["mopen"]):gr=hi.leftRightDelim(me.left,Qe,Ct,Le,me.mode,["mopen"]),Ne.unshift(gr),Ut)for(var Rr=1;Rr<Ne.length;Rr++){var $r=Ne[Rr],ln=$r.isMiddle;ln&&(Ne[Rr]=hi.leftRightDelim(ln.delim,Qe,Ct,ln.options,me.mode,[]))}var yn;if(me.right===".")yn=Qa(Le,["mclose"]);else{var Cn=me.rightColor?Le.withColor(me.rightColor):Le;yn=hi.leftRightDelim(me.right,Qe,Ct,Cn,me.mode,["mclose"])}return Ne.push(yn),jr.makeSpan(["minner"],Ne,Le)},mathmlBuilder:function(me,Le){ya(me);var Ne=co(me.body,Le);if(me.left!=="."){var Qe=new Fn.MathNode("mo",[$i(me.left,me.mode)]);Qe.setAttribute("fence","true"),Ne.unshift(Qe)}if(me.right!=="."){var Ct=new Fn.MathNode("mo",[$i(me.right,me.mode)]);Ct.setAttribute("fence","true"),me.rightColor&&Ct.setAttribute("mathcolor",me.rightColor),Ne.push(Ct)}return eo(Ne)}}),Gn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(me,Le){var Ne=Ea(Le[0],me);if(!me.parser.leftrightDepth)throw new i("\\middle without preceding \\left",Ne);return{type:"middle",mode:me.parser.mode,delim:Ne.text}},htmlBuilder:function(me,Le){var Ne;if(me.delim===".")Ne=Qa(Le,[]);else{Ne=hi.sizedDelim(me.delim,1,Le,me.mode,[]);var Qe={delim:me.delim,options:Le};Ne.isMiddle=Qe}return Ne},mathmlBuilder:function(me,Le){var Ne=me.delim==="\\vert"||me.delim==="|"?$i("|","text"):$i(me.delim,me.mode),Qe=new Fn.MathNode("mo",[Ne]);return Qe.setAttribute("fence","true"),Qe.setAttribute("lspace","0.05em"),Qe.setAttribute("rspace","0.05em"),Qe}});var oa=function(me,Le){var Ne=jr.wrapFragment(Wi(me.body,Le),Le),Qe=me.label.substr(1),Ct=Le.sizeMultiplier,Ut,hr=0,gr=w.isCharacterBox(me.body);if(Qe==="sout")Ut=jr.makeSpan(["stretchy","sout"]),Ut.height=Le.fontMetrics().defaultRuleThickness/Ct,hr=-.5*Le.fontMetrics().xHeight;else{/cancel/.test(Qe)?gr||Ne.classes.push("cancel-pad"):Ne.classes.push("boxpad");var Rr=0,$r=0;/box/.test(Qe)?($r=Math.max(Le.fontMetrics().fboxrule,Le.minRuleThickness),Rr=Le.fontMetrics().fboxsep+(Qe==="colorbox"?0:$r)):Rr=gr?.2:0,Ut=Jr.encloseSpan(Ne,Qe,Rr,Le),/fbox|boxed|fcolorbox/.test(Qe)&&(Ut.style.borderStyle="solid",Ut.style.borderWidth=$r+"em"),hr=Ne.depth+Rr,me.backgroundColor&&(Ut.style.backgroundColor=me.backgroundColor,me.borderColor&&(Ut.style.borderColor=me.borderColor))}var ln;return me.backgroundColor?ln=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ut,shift:hr},{type:"elem",elem:Ne,shift:0}]},Le):ln=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ne,shift:0},{type:"elem",elem:Ut,shift:hr,wrapperClasses:/cancel/.test(Qe)?["svg-align"]:[]}]},Le),/cancel/.test(Qe)&&(ln.height=Ne.height,ln.depth=Ne.depth),/cancel/.test(Qe)&&!gr?jr.makeSpan(["mord","cancel-lap"],[ln],Le):jr.makeSpan(["mord"],[ln],Le)},sa=function(me,Le){var Ne=0,Qe=new Fn.MathNode(me.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Tr(me.body,Le)]);switch(me.label){case"\\cancel":Qe.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":Qe.setAttribute("notation","downdiagonalstrike");break;case"\\sout":Qe.setAttribute("notation","horizontalstrike");break;case"\\fbox":Qe.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(Ne=Le.fontMetrics().fboxsep*Le.fontMetrics().ptPerEm,Qe.setAttribute("width","+"+2*Ne+"pt"),Qe.setAttribute("height","+"+2*Ne+"pt"),Qe.setAttribute("lspace",Ne+"pt"),Qe.setAttribute("voffset",Ne+"pt"),me.label==="\\fcolorbox"){var Ct=Math.max(Le.fontMetrics().fboxrule,Le.minRuleThickness);Qe.setAttribute("style","border: "+Ct+"em solid "+String(me.borderColor))}break;case"\\xcancel":Qe.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return me.backgroundColor&&Qe.setAttribute("mathbackground",me.backgroundColor),Qe};Gn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(me,Le,Ne){var Qe=me.parser,Ct=me.funcName,Ut=Tn(Le[0],"color-token").color,hr=Le[1];return{type:"enclose",mode:Qe.mode,label:Ct,backgroundColor:Ut,body:hr}},htmlBuilder:oa,mathmlBuilder:sa}),Gn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(me,Le,Ne){var Qe=me.parser,Ct=me.funcName,Ut=Tn(Le[0],"color-token").color,hr=Tn(Le[1],"color-token").color,gr=Le[2];return{type:"enclose",mode:Qe.mode,label:Ct,backgroundColor:hr,borderColor:Ut,body:gr}},htmlBuilder:oa,mathmlBuilder:sa}),Gn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(me,Le){var Ne=me.parser;return{type:"enclose",mode:Ne.mode,label:"\\fbox",body:Le[0]}}}),Gn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(me,Le,Ne){var Qe=me.parser,Ct=me.funcName,Ut=Le[0];return{type:"enclose",mode:Qe.mode,label:Ct,body:Ut}},htmlBuilder:oa,mathmlBuilder:sa});var Ni={};function $n(Pt){for(var me=Pt.type,Le=Pt.names,Ne=Pt.props,Qe=Pt.handler,Ct=Pt.htmlBuilder,Ut=Pt.mathmlBuilder,hr={type:me,numArgs:Ne.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:Qe},gr=0;gr<Le.length;++gr)Ni[Le[gr]]=hr;Ct&&(Ii[me]=Ct),Ut&&(Ci[me]=Ut)}function Ai(Pt){var me=[];Pt.consumeSpaces();for(var Le=Pt.fetch().text;Le==="\\hline"||Le==="\\hdashline";)Pt.consume(),me.push(Le==="\\hdashline"),Pt.consumeSpaces(),Le=Pt.fetch().text;return me}function Li(Pt,me,Le){var Ne=me.hskipBeforeAndAfter,Qe=me.addJot,Ct=me.cols,Ut=me.arraystretch,hr=me.colSeparationType;if(Pt.gullet.beginGroup(),Pt.gullet.macros.set("\\\\","\\cr"),!Ut){var gr=Pt.gullet.expandMacroAsText("\\arraystretch");if(gr==null)Ut=1;else if(Ut=parseFloat(gr),!Ut||Ut<0)throw new i("Invalid \\arraystretch: "+gr)}Pt.gullet.beginGroup();var Rr=[],$r=[Rr],ln=[],yn=[];for(yn.push(Ai(Pt));;){var Cn=Pt.parseExpression(!1,"\\cr");Pt.gullet.endGroup(),Pt.gullet.beginGroup(),Cn={type:"ordgroup",mode:Pt.mode,body:Cn},Le&&(Cn={type:"styling",mode:Pt.mode,style:Le,body:[Cn]}),Rr.push(Cn);var Qn=Pt.fetch().text;if(Qn==="&")Pt.consume();else if(Qn==="\\end"){Rr.length===1&&Cn.type==="styling"&&Cn.body[0].body.length===0&&$r.pop(),yn.length<$r.length+1&&yn.push([]);break}else if(Qn==="\\cr"){var ti=Tn(Pt.parseFunction(),"cr");ln.push(ti.size),yn.push(Ai(Pt)),Rr=[],$r.push(Rr)}else throw new i("Expected & or \\\\ or \\cr or \\end",Pt.nextToken)}return Pt.gullet.endGroup(),Pt.gullet.endGroup(),{type:"array",mode:Pt.mode,addJot:Qe,arraystretch:Ut,body:$r,cols:Ct,rowGaps:ln,hskipBeforeAndAfter:Ne,hLinesBeforeRow:yn,colSeparationType:hr}}function Vi(Pt){return Pt.substr(0,1)==="d"?"display":"text"}var Xi=function(me,Le){var Ne,Qe,Ct=me.body.length,Ut=me.hLinesBeforeRow,hr=0,gr=new Array(Ct),Rr=[],$r=Math.max(Le.fontMetrics().arrayRuleWidth,Le.minRuleThickness),ln=1/Le.fontMetrics().ptPerEm,yn=5*ln;if(me.colSeparationType&&me.colSeparationType==="small"){var Cn=Le.havingStyle(k.SCRIPT).sizeMultiplier;yn=.2778*(Cn/Le.sizeMultiplier)}var Qn=12*ln,ti=3*ln,wi=me.arraystretch*Qn,ea=.7*wi,ji=.3*wi,Sa=0;function lo(bs){for(var ca=0;ca<bs.length;++ca)ca>0&&(Sa+=.25),Rr.push({pos:Sa,isDashed:bs[ca]})}for(lo(Ut[0]),Ne=0;Ne<me.body.length;++Ne){var Wa=me.body[Ne],yo=ea,Ao=ji;hr<Wa.length&&(hr=Wa.length);var $a=new Array(Wa.length);for(Qe=0;Qe<Wa.length;++Qe){var ko=Wi(Wa[Qe],Le);Ao<ko.depth&&(Ao=ko.depth),yo<ko.height&&(yo=ko.height),$a[Qe]=ko}var No=me.rowGaps[Ne],Ha=0;No&&(Ha=vt(No,Le),Ha>0&&(Ha+=ji,Ao<Ha&&(Ao=Ha),Ha=0)),me.addJot&&(Ao+=ti),$a.height=yo,$a.depth=Ao,Sa+=yo,$a.pos=Sa,Sa+=Ao+Ha,gr[Ne]=$a,lo(Ut[Ne+1])}var jo=Sa/2+Le.fontMetrics().axisHeight,Fo=me.cols||[],Qo=[],wo,cs;for(Qe=0,cs=0;Qe<hr||cs<Fo.length;++Qe,++cs){for(var ns=Fo[cs]||{},Xs=!0;ns.type==="separator";){if(Xs||(wo=jr.makeSpan(["arraycolsep"],[]),wo.style.width=Le.fontMetrics().doubleRuleSep+"em",Qo.push(wo)),ns.separator==="|"||ns.separator===":"){var Ys=ns.separator==="|"?"solid":"dashed",Yo=jr.makeSpan(["vertical-separator"],[],Le);Yo.style.height=Sa+"em",Yo.style.borderRightWidth=$r+"em",Yo.style.borderRightStyle=Ys,Yo.style.margin="0 -"+$r/2+"em",Yo.style.verticalAlign=-(Sa-jo)+"em",Qo.push(Yo)}else throw new i("Invalid separator type: "+ns.separator);cs++,ns=Fo[cs]||{},Xs=!1}if(Qe>=hr)continue;var Eo=void 0;(Qe>0||me.hskipBeforeAndAfter)&&(Eo=w.deflt(ns.pregap,yn),Eo!==0&&(wo=jr.makeSpan(["arraycolsep"],[]),wo.style.width=Eo+"em",Qo.push(wo)));var ds=[];for(Ne=0;Ne<Ct;++Ne){var hs=gr[Ne],Rs=hs[Qe];if(!Rs)continue;var Do=hs.pos-jo;Rs.depth=hs.depth,Rs.height=hs.height,ds.push({type:"elem",elem:Rs,shift:Do})}ds=jr.makeVList({positionType:"individualShift",children:ds},Le),ds=jr.makeSpan(["col-align-"+(ns.align||"c")],[ds]),Qo.push(ds),(Qe<hr-1||me.hskipBeforeAndAfter)&&(Eo=w.deflt(ns.postgap,yn),Eo!==0&&(wo=jr.makeSpan(["arraycolsep"],[]),wo.style.width=Eo+"em",Qo.push(wo)))}if(gr=jr.makeSpan(["mtable"],Qo),Rr.length>0){for(var ys=jr.makeLineSpan("hline",Le,$r),Ms=jr.makeLineSpan("hdashline",Le,$r),As=[{type:"elem",elem:gr,shift:0}];Rr.length>0;){var ks=Rr.pop(),Hs=ks.pos-jo;ks.isDashed?As.push({type:"elem",elem:Ms,shift:Hs}):As.push({type:"elem",elem:ys,shift:Hs})}gr=jr.makeVList({positionType:"individualShift",children:As},Le)}return jr.makeSpan(["mord"],[gr],Le)},bi={c:"center ",l:"left ",r:"right "},Aa=function(me,Le){var Ne=new Fn.MathNode("mtable",me.body.map(function(Sa){return new Fn.MathNode("mtr",Sa.map(function(lo){return new Fn.MathNode("mtd",[Tr(lo,Le)])}))})),Qe=me.arraystretch===.5?.1:.16+me.arraystretch-1+(me.addJot?.09:0);Ne.setAttribute("rowspacing",Qe+"em");var Ct="",Ut="";if(me.cols){var hr=me.cols,gr="",Rr=!1,$r=0,ln=hr.length;hr[0].type==="separator"&&(Ct+="top ",$r=1),hr[hr.length-1].type==="separator"&&(Ct+="bottom ",ln-=1);for(var yn=$r;yn<ln;yn++)hr[yn].type==="align"?(Ut+=bi[hr[yn].align],Rr&&(gr+="none "),Rr=!0):hr[yn].type==="separator"&&(Rr&&(gr+=hr[yn].separator==="|"?"solid ":"dashed ",Rr=!1));Ne.setAttribute("columnalign",Ut.trim()),/[sd]/.test(gr)&&Ne.setAttribute("columnlines",gr.trim())}if(me.colSeparationType==="align"){for(var Cn=me.cols||[],Qn="",ti=1;ti<Cn.length;ti++)Qn+=ti%2?"0em ":"1em ";Ne.setAttribute("columnspacing",Qn.trim())}else me.colSeparationType==="alignat"?Ne.setAttribute("columnspacing","0em"):me.colSeparationType==="small"?Ne.setAttribute("columnspacing","0.2778em"):Ne.setAttribute("columnspacing","1em");var wi="",ea=me.hLinesBeforeRow;Ct+=ea[0].length>0?"left ":"",Ct+=ea[ea.length-1].length>0?"right ":"";for(var ji=1;ji<ea.length-1;ji++)wi+=ea[ji].length===0?"none ":ea[ji][0]?"dashed ":"solid ";return/[sd]/.test(wi)&&Ne.setAttribute("rowlines",wi.trim()),Ct!==""&&(Ne=new Fn.MathNode("menclose",[Ne]),Ne.setAttribute("notation",Ct.trim())),me.arraystretch&&me.arraystretch<1&&(Ne=new Fn.MathNode("mstyle",[Ne]),Ne.setAttribute("scriptlevel","1")),Ne},ua=function(me,Le){var Ne=[],Qe=Li(me.parser,{cols:Ne,addJot:!0},"display"),Ct,Ut=0,hr={type:"ordgroup",mode:me.mode,body:[]},gr=gn(Le[0],"ordgroup");if(gr){for(var Rr="",$r=0;$r<gr.body.length;$r++){var ln=Tn(gr.body[$r],"textord");Rr+=ln.text}Ct=Number(Rr),Ut=Ct*2}var yn=!Ut;Qe.body.forEach(function(wi){for(var ea=1;ea<wi.length;ea+=2){var ji=Tn(wi[ea],"styling"),Sa=Tn(ji.body[0],"ordgroup");Sa.body.unshift(hr)}if(yn)Ut<wi.length&&(Ut=wi.length);else{var lo=wi.length/2;if(Ct<lo)throw new i("Too many math in a row: "+("expected "+Ct+", but got "+lo),wi[0])}});for(var Cn=0;Cn<Ut;++Cn){var Qn="r",ti=0;Cn%2===1?Qn="l":Cn>0&&yn&&(ti=1),Ne[Cn]={type:"align",align:Qn,pregap:ti,postgap:0}}return Qe.colSeparationType=yn?"align":"alignat",Qe};$n({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(me,Le){var Ne=Yn(Le[0]),Qe=Ne?[Le[0]]:Tn(Le[0],"ordgroup").body,Ct=Qe.map(function(hr){var gr=qn(hr),Rr=gr.text;if("lcr".indexOf(Rr)!==-1)return{type:"align",align:Rr};if(Rr==="|")return{type:"separator",separator:"|"};if(Rr===":")return{type:"separator",separator:":"};throw new i("Unknown column alignment: "+Rr,hr)}),Ut={cols:Ct,hskipBeforeAndAfter:!0};return Li(me.parser,Ut,Vi(me.envName))},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(me){var Le={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[me.envName],Ne={hskipBeforeAndAfter:!1},Qe=Li(me.parser,Ne,Vi(me.envName));return Le?{type:"leftright",mode:me.mode,body:[Qe],left:Le[0],right:Le[1],rightColor:void 0}:Qe},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(me){var Le={arraystretch:.5},Ne=Li(me.parser,Le,"script");return Ne.colSeparationType="small",Ne},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["subarray"],props:{numArgs:1},handler:function(me,Le){var Ne=Yn(Le[0]),Qe=Ne?[Le[0]]:Tn(Le[0],"ordgroup").body,Ct=Qe.map(function(hr){var gr=qn(hr),Rr=gr.text;if("lc".indexOf(Rr)!==-1)return{type:"align",align:Rr};throw new i("Unknown column alignment: "+Rr,hr)});if(Ct.length>1)throw new i("{subarray} can contain only one column");var Ut={cols:Ct,hskipBeforeAndAfter:!1,arraystretch:.5};if(Ut=Li(me.parser,Ut,"script"),Ut.body[0].length>1)throw new i("{subarray} can contain only one column");return Ut},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(me){var Le={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Ne=Li(me.parser,Le,Vi(me.envName));return{type:"leftright",mode:me.mode,body:[Ne],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["aligned"],props:{numArgs:0},handler:ua,htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["gathered"],props:{numArgs:0},handler:function(me){var Le={cols:[{type:"align",align:"c"}],addJot:!0};return Li(me.parser,Le,"display")},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["alignedat"],props:{numArgs:1},handler:ua,htmlBuilder:Xi,mathmlBuilder:Aa}),Gn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(me,Le){throw new i(me.funcName+" valid only within array environment")}});var la=Ni,gi=la;Gn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(me,Le){var Ne=me.parser,Qe=me.funcName,Ct=Le[0];if(Ct.type!=="ordgroup")throw new i("Invalid environment name",Ct);for(var Ut="",hr=0;hr<Ct.body.length;++hr)Ut+=Tn(Ct.body[hr],"textord").text;if(Qe==="\\begin"){if(!gi.hasOwnProperty(Ut))throw new i("No such environment: "+Ut,Ct);var gr=gi[Ut],Rr=Ne.parseArguments("\\begin{"+Ut+"}",gr),$r=Rr.args,ln=Rr.optArgs,yn={mode:Ne.mode,envName:Ut,parser:Ne},Cn=gr.handler(yn,$r,ln);Ne.expect("\\end",!1);var Qn=Ne.nextToken,ti=Tn(Ne.parseFunction(),"environment");if(ti.name!==Ut)throw new i("Mismatch: \\begin{"+Ut+"} matched by \\end{"+ti.name+"}",Qn);return Cn}return{type:"environment",mode:Ne.mode,name:Ut,nameGroup:Ct}}});var Pa=jr.makeSpan;function Ma(Pt,me){var Le=di(Pt.body,me,!0);return Pa([Pt.mclass],Le,me)}function ra(Pt,me){var Le,Ne=co(Pt.body,me);return Pt.mclass==="minner"?Fn.newDocumentFragment(Ne):(Pt.mclass==="mord"?Pt.isCharacterBox?(Le=Ne[0],Le.type="mi"):Le=new Fn.MathNode("mi",Ne):(Pt.isCharacterBox?(Le=Ne[0],Le.type="mo"):Le=new Fn.MathNode("mo",Ne),Pt.mclass==="mbin"?(Le.attributes.lspace="0.22em",Le.attributes.rspace="0.22em"):Pt.mclass==="mpunct"?(Le.attributes.lspace="0em",Le.attributes.rspace="0.17em"):(Pt.mclass==="mopen"||Pt.mclass==="mclose")&&(Le.attributes.lspace="0em",Le.attributes.rspace="0em")),Le)}Gn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(me,Le){var Ne=me.parser,Qe=me.funcName,Ct=Le[0];return{type:"mclass",mode:Ne.mode,mclass:"m"+Qe.substr(5),body:mn(Ct),isCharacterBox:w.isCharacterBox(Ct)}},htmlBuilder:Ma,mathmlBuilder:ra});var Yi=function(me){var Le=me.type==="ordgroup"&&me.body.length?me.body[0]:me;return Le.type==="atom"&&(Le.family==="bin"||Le.family==="rel")?"m"+Le.family:"mord"};Gn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(me,Le){var Ne=me.parser;return{type:"mclass",mode:Ne.mode,mclass:Yi(Le[0]),body:[Le[1]],isCharacterBox:w.isCharacterBox(Le[1])}}}),Gn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(me,Le){var Ne=me.parser,Qe=me.funcName,Ct=Le[1],Ut=Le[0],hr;Qe!=="\\stackrel"?hr=Yi(Ct):hr="mrel";var gr={type:"op",mode:Ct.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:Qe!=="\\stackrel",body:mn(Ct)},Rr={type:"supsub",mode:Ut.mode,base:gr,sup:Qe==="\\underset"?null:Ut,sub:Qe==="\\underset"?Ut:null};return{type:"mclass",mode:Ne.mode,mclass:hr,body:[Rr],isCharacterBox:w.isCharacterBox(Rr)}},htmlBuilder:Ma,mathmlBuilder:ra});var Xa=function(me,Le){var Ne=me.font,Qe=Le.withFont(Ne);return Wi(me.body,Qe)},zi=function(me,Le){var Ne=me.font,Qe=Le.withFont(Ne);return Tr(me.body,Qe)},Ki={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Gn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(me,Le){var Ne=me.parser,Qe=me.funcName,Ct=Le[0],Ut=Qe;return Ut in Ki&&(Ut=Ki[Ut]),{type:"font",mode:Ne.mode,font:Ut.slice(1),body:Ct}},htmlBuilder:Xa,mathmlBuilder:zi}),Gn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(me,Le){var Ne=me.parser,Qe=Le[0],Ct=w.isCharacterBox(Qe);return{type:"mclass",mode:Ne.mode,mclass:Yi(Qe),body:[{type:"font",mode:Ne.mode,font:"boldsymbol",body:Qe}],isCharacterBox:Ct}}}),Gn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(me,Le){var Ne=me.parser,Qe=me.funcName,Ct=me.breakOnTokenText,Ut=Ne.mode,hr=Ne.parseExpression(!0,Ct),gr="math"+Qe.slice(1);return{type:"font",mode:Ut,font:gr,body:{type:"ordgroup",mode:Ne.mode,body:hr}}},htmlBuilder:Xa,mathmlBuilder:zi});var ba=function(me,Le){var Ne=Le;return me==="display"?Ne=Ne.id>=k.SCRIPT.id?Ne.text():k.DISPLAY:me==="text"&&Ne.size===k.DISPLAY.size?Ne=k.TEXT:me==="script"?Ne=k.SCRIPT:me==="scriptscript"&&(Ne=k.SCRIPTSCRIPT),Ne},Ua=function(me,Le){var Ne=ba(me.size,Le.style),Qe=Ne.fracNum(),Ct=Ne.fracDen(),Ut;Ut=Le.havingStyle(Qe);var hr=Wi(me.numer,Ut,Le);if(me.continued){var gr=8.5/Le.fontMetrics().ptPerEm,Rr=3.5/Le.fontMetrics().ptPerEm;hr.height=hr.height<gr?gr:hr.height,hr.depth=hr.depth<Rr?Rr:hr.depth}Ut=Le.havingStyle(Ct);var $r=Wi(me.denom,Ut,Le),ln,yn,Cn;me.hasBarLine?(me.barSize?(yn=vt(me.barSize,Le),ln=jr.makeLineSpan("frac-line",Le,yn)):ln=jr.makeLineSpan("frac-line",Le),yn=ln.height,Cn=ln.height):(ln=null,yn=0,Cn=Le.fontMetrics().defaultRuleThickness);var Qn,ti,wi;Ne.size===k.DISPLAY.size||me.size==="display"?(Qn=Le.fontMetrics().num1,yn>0?ti=3*Cn:ti=7*Cn,wi=Le.fontMetrics().denom1):(yn>0?(Qn=Le.fontMetrics().num2,ti=Cn):(Qn=Le.fontMetrics().num3,ti=3*Cn),wi=Le.fontMetrics().denom2);var ea;if(ln){var Sa=Le.fontMetrics().axisHeight;Qn-hr.depth-(Sa+.5*yn)<ti&&(Qn+=ti-(Qn-hr.depth-(Sa+.5*yn))),Sa-.5*yn-($r.height-wi)<ti&&(wi+=ti-(Sa-.5*yn-($r.height-wi)));var lo=-(Sa-.5*yn);ea=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:$r,shift:wi},{type:"elem",elem:ln,shift:lo},{type:"elem",elem:hr,shift:-Qn}]},Le)}else{var ji=Qn-hr.depth-($r.height-wi);ji<ti&&(Qn+=.5*(ti-ji),wi+=.5*(ti-ji)),ea=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:$r,shift:wi},{type:"elem",elem:hr,shift:-Qn}]},Le)}Ut=Le.havingStyle(Ne),ea.height*=Ut.sizeMultiplier/Le.sizeMultiplier,ea.depth*=Ut.sizeMultiplier/Le.sizeMultiplier;var Wa;Ne.size===k.DISPLAY.size?Wa=Le.fontMetrics().delim1:Wa=Le.fontMetrics().delim2;var yo,Ao;return me.leftDelim==null?yo=Qa(Le,["mopen"]):yo=hi.customSizedDelim(me.leftDelim,Wa,!0,Le.havingStyle(Ne),me.mode,["mopen"]),me.continued?Ao=jr.makeSpan([]):me.rightDelim==null?Ao=Qa(Le,["mclose"]):Ao=hi.customSizedDelim(me.rightDelim,Wa,!0,Le.havingStyle(Ne),me.mode,["mclose"]),jr.makeSpan(["mord"].concat(Ut.sizingClasses(Le)),[yo,jr.makeSpan(["mfrac"],[ea]),Ao],Le)},wa=function(me,Le){var Ne=new Fn.MathNode("mfrac",[Tr(me.numer,Le),Tr(me.denom,Le)]);if(!me.hasBarLine)Ne.setAttribute("linethickness","0px");else if(me.barSize){var Qe=vt(me.barSize,Le);Ne.setAttribute("linethickness",Qe+"em")}var Ct=ba(me.size,Le.style);if(Ct.size!==Le.style.size){Ne=new Fn.MathNode("mstyle",[Ne]);var Ut=Ct.size===k.DISPLAY.size?"true":"false";Ne.setAttribute("displaystyle",Ut),Ne.setAttribute("scriptlevel","0")}if(me.leftDelim!=null||me.rightDelim!=null){var hr=[];if(me.leftDelim!=null){var gr=new Fn.MathNode("mo",[new Fn.TextNode(me.leftDelim.replace("\\",""))]);gr.setAttribute("fence","true"),hr.push(gr)}if(hr.push(Ne),me.rightDelim!=null){var Rr=new Fn.MathNode("mo",[new Fn.TextNode(me.rightDelim.replace("\\",""))]);Rr.setAttribute("fence","true"),hr.push(Rr)}return eo(hr)}return Ne};Gn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(me,Le){var Ne=me.parser,Qe=me.funcName,Ct=Le[0],Ut=Le[1],hr,gr=null,Rr=null,$r="auto";switch(Qe){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":hr=!0;break;case"\\\\atopfrac":hr=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":hr=!1,gr="(",Rr=")";break;case"\\\\bracefrac":hr=!1,gr="\\{",Rr="\\}";break;case"\\\\brackfrac":hr=!1,gr="[",Rr="]";break;default:throw new Error("Unrecognized genfrac command")}switch(Qe){case"\\cfrac":case"\\dfrac":case"\\dbinom":$r="display";break;case"\\tfrac":case"\\tbinom":$r="text";break}return{type:"genfrac",mode:Ne.mode,continued:Qe==="\\cfrac",numer:Ct,denom:Ut,hasBarLine:hr,leftDelim:gr,rightDelim:Rr,size:$r,barSize:null}},htmlBuilder:Ua,mathmlBuilder:wa}),Gn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(me){var Le=me.parser,Ne=me.funcName,Qe=me.token,Ct;switch(Ne){case"\\over":Ct="\\frac";break;case"\\choose":Ct="\\binom";break;case"\\atop":Ct="\\\\atopfrac";break;case"\\brace":Ct="\\\\bracefrac";break;case"\\brack":Ct="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:Le.mode,replaceWith:Ct,token:Qe}}});var vi=["display","text","script","scriptscript"],Ya=function(me){var Le=null;return me.length>0&&(Le=me,Le=Le==="."?null:Le),Le};Gn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(me,Le){var Ne=me.parser,Qe=Le[4],Ct=Le[5],Ut=gn(Le[0],"atom");Ut&&(Ut=Pn(Le[0],"open"));var hr=Ut?Ya(Ut.text):null,gr=gn(Le[1],"atom");gr&&(gr=Pn(Le[1],"close"));var Rr=gr?Ya(gr.text):null,$r=Tn(Le[2],"size"),ln,yn=null;$r.isBlank?ln=!0:(yn=$r.value,ln=yn.number>0);var Cn="auto",Qn=gn(Le[3],"ordgroup");if(Qn){if(Qn.body.length>0){var ti=Tn(Qn.body[0],"textord");Cn=vi[Number(ti.text)]}}else Qn=Tn(Le[3],"textord"),Cn=vi[Number(Qn.text)];return{type:"genfrac",mode:Ne.mode,numer:Qe,denom:Ct,continued:!1,hasBarLine:ln,barSize:yn,leftDelim:hr,rightDelim:Rr,size:Cn}},htmlBuilder:Ua,mathmlBuilder:wa}),Gn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(me,Le){var Ne=me.parser,Qe=me.funcName,Ct=me.token;return{type:"infix",mode:Ne.mode,replaceWith:"\\\\abovefrac",size:Tn(Le[0],"size").value,token:Ct}}}),Gn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(me,Le){var Ne=me.parser,Qe=me.funcName,Ct=Le[0],Ut=p(Tn(Le[1],"infix").size),hr=Le[2],gr=Ut.number>0;return{type:"genfrac",mode:Ne.mode,numer:Ct,denom:hr,continued:!1,hasBarLine:gr,barSize:Ut,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ua,mathmlBuilder:wa});var za=function(me,Le){var Ne=Le.style,Qe,Ct,Ut=gn(me,"supsub");Ut?(Qe=Ut.sup?Wi(Ut.sup,Le.havingStyle(Ne.sup()),Le):Wi(Ut.sub,Le.havingStyle(Ne.sub()),Le),Ct=Tn(Ut.base,"horizBrace")):Ct=Tn(me,"horizBrace");var hr=Wi(Ct.base,Le.havingBaseStyle(k.DISPLAY)),gr=Jr.svgSpan(Ct,Le),Rr;if(Ct.isOver?(Rr=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:hr},{type:"kern",size:.1},{type:"elem",elem:gr}]},Le),Rr.children[0].children[0].children[1].classes.push("svg-align")):(Rr=jr.makeVList({positionType:"bottom",positionData:hr.depth+.1+gr.height,children:[{type:"elem",elem:gr},{type:"kern",size:.1},{type:"elem",elem:hr}]},Le),Rr.children[0].children[0].children[0].classes.push("svg-align")),Qe){var $r=jr.makeSpan(["mord",Ct.isOver?"mover":"munder"],[Rr],Le);Ct.isOver?Rr=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:$r},{type:"kern",size:.2},{type:"elem",elem:Qe}]},Le):Rr=jr.makeVList({positionType:"bottom",positionData:$r.depth+.2+Qe.height+Qe.depth,children:[{type:"elem",elem:Qe},{type:"kern",size:.2},{type:"elem",elem:$r}]},Le)}return jr.makeSpan(["mord",Ct.isOver?"mover":"munder"],[Rr],Le)},pa=function(me,Le){var Ne=Jr.mathMLnode(me.label);return new Fn.MathNode(me.isOver?"mover":"munder",[Tr(me.base,Le),Ne])};Gn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(me,Le){var Ne=me.parser,Qe=me.funcName;return{type:"horizBrace",mode:Ne.mode,label:Qe,isOver:/^\\over/.test(Qe),base:Le[0]}},htmlBuilder:za,mathmlBuilder:pa}),Gn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(me,Le){var Ne=me.parser,Qe=Le[1],Ct=Tn(Le[0],"url").url;return Ne.settings.isTrusted({command:"\\href",url:Ct})?{type:"href",mode:Ne.mode,href:Ct,body:mn(Qe)}:Ne.formatUnsupportedCmd("\\href")},htmlBuilder:function(me,Le){var Ne=di(me.body,Le,!1);return jr.makeAnchor(me.href,[],Ne,Le)},mathmlBuilder:function(me,Le){var Ne=rr(me.body,Le);return Ne instanceof ga||(Ne=new ga("mrow",[Ne])),Ne.setAttribute("href",me.href),Ne}}),Gn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(me,Le){var Ne=me.parser,Qe=Tn(Le[0],"url").url;if(!Ne.settings.isTrusted({command:"\\url",url:Qe}))return Ne.formatUnsupportedCmd("\\url");for(var Ct=[],Ut=0;Ut<Qe.length;Ut++){var hr=Qe[Ut];hr==="~"&&(hr="\\textasciitilde"),Ct.push({type:"textord",mode:"text",text:hr})}var gr={type:"text",mode:Ne.mode,font:"\\texttt",body:Ct};return{type:"href",mode:Ne.mode,href:Qe,body:mn(gr)}}}),Gn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(me,Le){var Ne=me.parser;return{type:"htmlmathml",mode:Ne.mode,html:mn(Le[0]),mathml:mn(Le[1])}},htmlBuilder:function(me,Le){var Ne=di(me.html,Le,!1);return jr.makeFragment(Ne)},mathmlBuilder:function(me,Le){return rr(me.mathml,Le)}});var Oi=function(me){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(me))return{number:+me,unit:"bp"};var Le=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(me);if(!Le)throw new i("Invalid size: '"+me+"' in \\includegraphics");var Ne={number:+(Le[1]+Le[2]),unit:Le[3]};if(!pt(Ne))throw new i("Invalid unit: '"+Ne.unit+"' in \\includegraphics.");return Ne};Gn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(me,Le,Ne){var Qe=me.parser,Ct={number:0,unit:"em"},Ut={number:.9,unit:"em"},hr={number:0,unit:"em"},gr="";if(Ne[0])for(var Rr=Tn(Ne[0],"raw").string,$r=Rr.split(","),ln=0;ln<$r.length;ln++){var yn=$r[ln].split("=");if(yn.length===2){var Cn=yn[1].trim();switch(yn[0].trim()){case"alt":gr=Cn;break;case"width":Ct=Oi(Cn);break;case"height":Ut=Oi(Cn);break;case"totalheight":hr=Oi(Cn);break;default:throw new i("Invalid key: '"+yn[0]+"' in \\includegraphics.")}}}var Qn=Tn(Le[0],"url").url;return gr===""&&(gr=Qn,gr=gr.replace(/^.*[\\/]/,""),gr=gr.substring(0,gr.lastIndexOf("."))),Qe.settings.isTrusted({command:"\\includegraphics",url:Qn})?{type:"includegraphics",mode:Qe.mode,alt:gr,width:Ct,height:Ut,totalheight:hr,src:Qn}:Qe.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(me,Le){var Ne=vt(me.height,Le),Qe=0;me.totalheight.number>0&&(Qe=vt(me.totalheight,Le)-Ne,Qe=Number(Qe.toFixed(2)));var Ct=0;me.width.number>0&&(Ct=vt(me.width,Le));var Ut={height:Ne+Qe+"em"};Ct>0&&(Ut.width=Ct+"em"),Qe>0&&(Ut.verticalAlign=-Qe+"em");var hr=new pe(me.src,me.alt,Ut);return hr.height=Ne,hr.depth=Qe,hr},mathmlBuilder:function(me,Le){var Ne=new Fn.MathNode("mglyph",[]);Ne.setAttribute("alt",me.alt);var Qe=vt(me.height,Le),Ct=0;if(me.totalheight.number>0&&(Ct=vt(me.totalheight,Le)-Qe,Ct=Ct.toFixed(2),Ne.setAttribute("valign","-"+Ct+"em")),Ne.setAttribute("height",Qe+Ct+"em"),me.width.number>0){var Ut=vt(me.width,Le);Ne.setAttribute("width",Ut+"em")}return Ne.setAttribute("src",me.src),Ne}}),Gn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(me,Le){var Ne=me.parser,Qe=me.funcName,Ct=Tn(Le[0],"size");if(Ne.settings.strict){var Ut=Qe[1]==="m",hr=Ct.value.unit==="mu";Ut?(hr||Ne.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Qe+" supports only mu units, "+("not "+Ct.value.unit+" units")),Ne.mode!=="math"&&Ne.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Qe+" works only in math mode")):hr&&Ne.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Qe+" doesn't support mu units")}return{type:"kern",mode:Ne.mode,dimension:Ct.value}},htmlBuilder:function(me,Le){return jr.makeGlue(me.dimension,Le)},mathmlBuilder:function(me,Le){var Ne=vt(me.dimension,Le);return new Fn.SpaceNode(Ne)}}),Gn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(me,Le){var Ne=me.parser,Qe=me.funcName,Ct=Le[0];return{type:"lap",mode:Ne.mode,alignment:Qe.slice(5),body:Ct}},htmlBuilder:function(me,Le){var Ne;me.alignment==="clap"?(Ne=jr.makeSpan([],[Wi(me.body,Le)]),Ne=jr.makeSpan(["inner"],[Ne],Le)):Ne=jr.makeSpan(["inner"],[Wi(me.body,Le)]);var Qe=jr.makeSpan(["fix"],[]),Ct=jr.makeSpan([me.alignment],[Ne,Qe],Le),Ut=jr.makeSpan(["strut"]);return Ut.style.height=Ct.height+Ct.depth+"em",Ut.style.verticalAlign=-Ct.depth+"em",Ct.children.unshift(Ut),Ct=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ct}]},Le),jr.makeSpan(["mord"],[Ct],Le)},mathmlBuilder:function(me,Le){var Ne=new Fn.MathNode("mpadded",[Tr(me.body,Le)]);if(me.alignment!=="rlap"){var Qe=me.alignment==="llap"?"-1":"-0.5";Ne.setAttribute("lspace",Qe+"width")}return Ne.setAttribute("width","0px"),Ne}}),Gn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(me,Le){var Ne=me.funcName,Qe=me.parser,Ct=Qe.mode;Qe.switchMode("math");var Ut=Ne==="\\("?"\\)":"$",hr=Qe.parseExpression(!1,Ut);return Qe.expect(Ut),Qe.switchMode(Ct),{type:"styling",mode:Qe.mode,style:"text",body:hr}}}),Gn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(me,Le){throw new i("Mismatched "+me.funcName)}});var So=function(me,Le){switch(Le.style.size){case k.DISPLAY.size:return me.display;case k.TEXT.size:return me.text;case k.SCRIPT.size:return me.script;case k.SCRIPTSCRIPT.size:return me.scriptscript;default:return me.text}};Gn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(me,Le){var Ne=me.parser;return{type:"mathchoice",mode:Ne.mode,display:mn(Le[0]),text:mn(Le[1]),script:mn(Le[2]),scriptscript:mn(Le[3])}},htmlBuilder:function(me,Le){var Ne=So(me,Le),Qe=di(Ne,Le,!1);return jr.makeFragment(Qe)},mathmlBuilder:function(me,Le){var Ne=So(me,Le);return rr(Ne,Le)}});var Ka=function(me,Le,Ne,Qe,Ct,Ut,hr){me=jr.makeSpan([],[me]);var gr,Rr;if(Le){var $r=Wi(Le,Qe.havingStyle(Ct.sup()),Qe);Rr={elem:$r,kern:Math.max(Qe.fontMetrics().bigOpSpacing1,Qe.fontMetrics().bigOpSpacing3-$r.depth)}}if(Ne){var ln=Wi(Ne,Qe.havingStyle(Ct.sub()),Qe);gr={elem:ln,kern:Math.max(Qe.fontMetrics().bigOpSpacing2,Qe.fontMetrics().bigOpSpacing4-ln.height)}}var yn;if(Rr&&gr){var Cn=Qe.fontMetrics().bigOpSpacing5+gr.elem.height+gr.elem.depth+gr.kern+me.depth+hr;yn=jr.makeVList({positionType:"bottom",positionData:Cn,children:[{type:"kern",size:Qe.fontMetrics().bigOpSpacing5},{type:"elem",elem:gr.elem,marginLeft:-Ut+"em"},{type:"kern",size:gr.kern},{type:"elem",elem:me},{type:"kern",size:Rr.kern},{type:"elem",elem:Rr.elem,marginLeft:Ut+"em"},{type:"kern",size:Qe.fontMetrics().bigOpSpacing5}]},Qe)}else if(gr){var Qn=me.height-hr;yn=jr.makeVList({positionType:"top",positionData:Qn,children:[{type:"kern",size:Qe.fontMetrics().bigOpSpacing5},{type:"elem",elem:gr.elem,marginLeft:-Ut+"em"},{type:"kern",size:gr.kern},{type:"elem",elem:me}]},Qe)}else if(Rr){var ti=me.depth+hr;yn=jr.makeVList({positionType:"bottom",positionData:ti,children:[{type:"elem",elem:me},{type:"kern",size:Rr.kern},{type:"elem",elem:Rr.elem,marginLeft:Ut+"em"},{type:"kern",size:Qe.fontMetrics().bigOpSpacing5}]},Qe)}else return me;return jr.makeSpan(["mop","op-limits"],[yn],Qe)},ja=["\\smallint"],qa=function(me,Le){var Ne,Qe,Ct=!1,Ut,hr=gn(me,"supsub");hr?(Ne=hr.sup,Qe=hr.sub,Ut=Tn(hr.base,"op"),Ct=!0):Ut=Tn(me,"op");var gr=Le.style,Rr=!1;gr.size===k.DISPLAY.size&&Ut.symbol&&!w.contains(ja,Ut.name)&&(Rr=!0);var $r;if(Ut.symbol){var ln=Rr?"Size2-Regular":"Size1-Regular",yn="";if((Ut.name==="\\oiint"||Ut.name==="\\oiiint")&&(yn=Ut.name.substr(1),Ut.name=yn==="oiint"?"\\iint":"\\iiint"),$r=jr.makeSymbol(Ut.name,ln,"math",Le,["mop","op-symbol",Rr?"large-op":"small-op"]),yn.length>0){var Cn=$r.italic,Qn=jr.staticSvg(yn+"Size"+(Rr?"2":"1"),Le);$r=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:$r,shift:0},{type:"elem",elem:Qn,shift:Rr?.08:0}]},Le),Ut.name="\\"+yn,$r.classes.unshift("mop"),$r.italic=Cn}}else if(Ut.body){var ti=di(Ut.body,Le,!0);ti.length===1&&ti[0]instanceof Ie?($r=ti[0],$r.classes[0]="mop"):$r=jr.makeSpan(["mop"],jr.tryCombineChars(ti),Le)}else{for(var wi=[],ea=1;ea<Ut.name.length;ea++)wi.push(jr.mathsym(Ut.name[ea],Ut.mode,Le));$r=jr.makeSpan(["mop"],wi,Le)}var ji=0,Sa=0;return($r instanceof Ie||Ut.name==="\\oiint"||Ut.name==="\\oiiint")&&!Ut.suppressBaseShift&&(ji=($r.height-$r.depth)/2-Le.fontMetrics().axisHeight,Sa=$r.italic),Ct?Ka($r,Ne,Qe,Le,gr,Sa,ji):(ji&&($r.style.position="relative",$r.style.top=ji+"em"),$r)},ho=function(me,Le){var Ne;if(me.symbol)Ne=new ga("mo",[$i(me.name,me.mode)]),w.contains(ja,me.name)&&Ne.setAttribute("largeop","false");else if(me.body)Ne=new ga("mo",co(me.body,Le));else{Ne=new ga("mi",[new ha(me.name.slice(1))]);var Qe=new ga("mo",[$i("\u2061","text")]);me.parentIsSupSub?Ne=new ga("mo",[Ne,Qe]):Ne=Hi([Ne,Qe])}return Ne},Ca={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Gn({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:function(me,Le){var Ne=me.parser,Qe=me.funcName,Ct=Qe;return Ct.length===1&&(Ct=Ca[Ct]),{type:"op",mode:Ne.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Ct}},htmlBuilder:qa,mathmlBuilder:ho}),Gn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(me,Le){var Ne=me.parser,Qe=Le[0];return{type:"op",mode:Ne.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:mn(Qe)}},htmlBuilder:qa,mathmlBuilder:ho});var to={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Gn({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler:function(me){var Le=me.parser,Ne=me.funcName;return{type:"op",mode:Le.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:Ne}},htmlBuilder:qa,mathmlBuilder:ho}),Gn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(me){var Le=me.parser,Ne=me.funcName;return{type:"op",mode:Le.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:Ne}},htmlBuilder:qa,mathmlBuilder:ho}),Gn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(me){var Le=me.parser,Ne=me.funcName,Qe=Ne;return Qe.length===1&&(Qe=to[Qe]),{type:"op",mode:Le.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:Qe}},htmlBuilder:qa,mathmlBuilder:ho});var _o=function(me,Le){var Ne,Qe,Ct=!1,Ut,hr=gn(me,"supsub");hr?(Ne=hr.sup,Qe=hr.sub,Ut=Tn(hr.base,"operatorname"),Ct=!0):Ut=Tn(me,"operatorname");var gr;if(Ut.body.length>0){for(var Rr=Ut.body.map(function(Cn){var Qn=Cn.text;return typeof Qn=="string"?{type:"textord",mode:Cn.mode,text:Qn}:Cn}),$r=di(Rr,Le.withFont("mathrm"),!0),ln=0;ln<$r.length;ln++){var yn=$r[ln];yn instanceof Ie&&(yn.text=yn.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}gr=jr.makeSpan(["mop"],$r,Le)}else gr=jr.makeSpan(["mop"],[],Le);return Ct?Ka(gr,Ne,Qe,Le,Le.style,0,0):gr},La=function(me,Le){for(var Ne=co(me.body,Le.withFont("mathrm")),Qe=!0,Ct=0;Ct<Ne.length;Ct++){var Ut=Ne[Ct];if(!(Ut instanceof Fn.SpaceNode))if(Ut instanceof Fn.MathNode)switch(Ut.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var hr=Ut.children[0];Ut.children.length===1&&hr instanceof Fn.TextNode?hr.text=hr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):Qe=!1;break}default:Qe=!1}else Qe=!1}if(Qe){var gr=Ne.map(function(ln){return ln.toText()}).join("");Ne=[new Fn.TextNode(gr)]}var Rr=new Fn.MathNode("mi",Ne);Rr.setAttribute("mathvariant","normal");var $r=new Fn.MathNode("mo",[$i("\u2061","text")]);return me.parentIsSupSub?new Fn.MathNode("mo",[Rr,$r]):Fn.newDocumentFragment([Rr,$r])};Gn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(me,Le){var Ne=me.parser,Qe=me.funcName,Ct=Le[0];return{type:"operatorname",mode:Ne.mode,body:mn(Ct),alwaysHandleSupSub:Qe==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:_o,mathmlBuilder:La}),Oa({type:"ordgroup",htmlBuilder:function(me,Le){return me.semisimple?jr.makeFragment(di(me.body,Le,!1)):jr.makeSpan(["mord"],di(me.body,Le,!0),Le)},mathmlBuilder:function(me,Le){return rr(me.body,Le,!0)}}),Gn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(me,Le){var Ne=me.parser,Qe=Le[0];return{type:"overline",mode:Ne.mode,body:Qe}},htmlBuilder:function(me,Le){var Ne=Wi(me.body,Le.havingCrampedStyle()),Qe=jr.makeLineSpan("overline-line",Le),Ct=Le.fontMetrics().defaultRuleThickness,Ut=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ne},{type:"kern",size:3*Ct},{type:"elem",elem:Qe},{type:"kern",size:Ct}]},Le);return jr.makeSpan(["mord","overline"],[Ut],Le)},mathmlBuilder:function(me,Le){var Ne=new Fn.MathNode("mo",[new Fn.TextNode("\u203E")]);Ne.setAttribute("stretchy","true");var Qe=new Fn.MathNode("mover",[Tr(me.body,Le),Ne]);return Qe.setAttribute("accent","true"),Qe}}),Gn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(me,Le){var Ne=me.parser,Qe=Le[0];return{type:"phantom",mode:Ne.mode,body:mn(Qe)}},htmlBuilder:function(me,Le){var Ne=di(me.body,Le.withPhantom(),!1);return jr.makeFragment(Ne)},mathmlBuilder:function(me,Le){var Ne=co(me.body,Le);return new Fn.MathNode("mphantom",Ne)}}),Gn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(me,Le){var Ne=me.parser,Qe=Le[0];return{type:"hphantom",mode:Ne.mode,body:Qe}},htmlBuilder:function(me,Le){var Ne=jr.makeSpan([],[Wi(me.body,Le.withPhantom())]);if(Ne.height=0,Ne.depth=0,Ne.children)for(var Qe=0;Qe<Ne.children.length;Qe++)Ne.children[Qe].height=0,Ne.children[Qe].depth=0;return Ne=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ne}]},Le),jr.makeSpan(["mord"],[Ne],Le)},mathmlBuilder:function(me,Le){var Ne=co(mn(me.body),Le),Qe=new Fn.MathNode("mphantom",Ne),Ct=new Fn.MathNode("mpadded",[Qe]);return Ct.setAttribute("height","0px"),Ct.setAttribute("depth","0px"),Ct}}),Gn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(me,Le){var Ne=me.parser,Qe=Le[0];return{type:"vphantom",mode:Ne.mode,body:Qe}},htmlBuilder:function(me,Le){var Ne=jr.makeSpan(["inner"],[Wi(me.body,Le.withPhantom())]),Qe=jr.makeSpan(["fix"],[]);return jr.makeSpan(["mord","rlap"],[Ne,Qe],Le)},mathmlBuilder:function(me,Le){var Ne=co(mn(me.body),Le),Qe=new Fn.MathNode("mphantom",Ne),Ct=new Fn.MathNode("mpadded",[Qe]);return Ct.setAttribute("width","0px"),Ct}}),Gn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(me,Le){var Ne=me.parser,Qe=Tn(Le[0],"size").value,Ct=Le[1];return{type:"raisebox",mode:Ne.mode,dy:Qe,body:Ct}},htmlBuilder:function(me,Le){var Ne=Wi(me.body,Le),Qe=vt(me.dy,Le);return jr.makeVList({positionType:"shift",positionData:-Qe,children:[{type:"elem",elem:Ne}]},Le)},mathmlBuilder:function(me,Le){var Ne=new Fn.MathNode("mpadded",[Tr(me.body,Le)]),Qe=me.dy.number+me.dy.unit;return Ne.setAttribute("voffset",Qe),Ne}}),Gn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(me,Le,Ne){var Qe=me.parser,Ct=Ne[0],Ut=Tn(Le[0],"size"),hr=Tn(Le[1],"size");return{type:"rule",mode:Qe.mode,shift:Ct&&Tn(Ct,"size").value,width:Ut.value,height:hr.value}},htmlBuilder:function(me,Le){var Ne=jr.makeSpan(["mord","rule"],[],Le),Qe=vt(me.width,Le),Ct=vt(me.height,Le),Ut=me.shift?vt(me.shift,Le):0;return Ne.style.borderRightWidth=Qe+"em",Ne.style.borderTopWidth=Ct+"em",Ne.style.bottom=Ut+"em",Ne.width=Qe,Ne.height=Ct+Ut,Ne.depth=-Ut,Ne.maxFontSize=Ct*1.125*Le.sizeMultiplier,Ne},mathmlBuilder:function(me,Le){var Ne=vt(me.width,Le),Qe=vt(me.height,Le),Ct=me.shift?vt(me.shift,Le):0,Ut=Le.color&&Le.getColor()||"black",hr=new Fn.MathNode("mspace");hr.setAttribute("mathbackground",Ut),hr.setAttribute("width",Ne+"em"),hr.setAttribute("height",Qe+"em");var gr=new Fn.MathNode("mpadded",[hr]);return Ct>=0?gr.setAttribute("height","+"+Ct+"em"):(gr.setAttribute("height",Ct+"em"),gr.setAttribute("depth","+"+-Ct+"em")),gr.setAttribute("voffset",Ct+"em"),gr}});function ki(Pt,me,Le){for(var Ne=di(Pt,me,!1),Qe=me.sizeMultiplier/Le.sizeMultiplier,Ct=0;Ct<Ne.length;Ct++){var Ut=Ne[Ct].classes.indexOf("sizing");Ut<0?Array.prototype.push.apply(Ne[Ct].classes,me.sizingClasses(Le)):Ne[Ct].classes[Ut+1]==="reset-size"+me.size&&(Ne[Ct].classes[Ut+1]="reset-size"+Le.size),Ne[Ct].height*=Qe,Ne[Ct].depth*=Qe}return jr.makeFragment(Ne)}var Za=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Da=function(me,Le){var Ne=Le.havingSize(me.size);return ki(me.body,Ne,Le)};Gn({type:"sizing",names:Za,props:{numArgs:0,allowedInText:!0},handler:function(me,Le){var Ne=me.breakOnTokenText,Qe=me.funcName,Ct=me.parser,Ut=Ct.parseExpression(!1,Ne);return{type:"sizing",mode:Ct.mode,size:Za.indexOf(Qe)+1,body:Ut}},htmlBuilder:Da,mathmlBuilder:function(me,Le){var Ne=Le.havingSize(me.size),Qe=co(me.body,Ne),Ct=new Fn.MathNode("mstyle",Qe);return Ct.setAttribute("mathsize",Ne.sizeMultiplier+"em"),Ct}}),Gn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(me,Le,Ne){var Qe=me.parser,Ct=!1,Ut=!1,hr=Ne[0]&&Tn(Ne[0],"ordgroup");if(hr)for(var gr="",Rr=0;Rr<hr.body.length;++Rr){var $r=hr.body[Rr];if(gr=$r.text,gr==="t")Ct=!0;else if(gr==="b")Ut=!0;else{Ct=!1,Ut=!1;break}}else Ct=!0,Ut=!0;var ln=Le[0];return{type:"smash",mode:Qe.mode,body:ln,smashHeight:Ct,smashDepth:Ut}},htmlBuilder:function(me,Le){var Ne=jr.makeSpan([],[Wi(me.body,Le)]);if(!me.smashHeight&&!me.smashDepth)return Ne;if(me.smashHeight&&(Ne.height=0,Ne.children))for(var Qe=0;Qe<Ne.children.length;Qe++)Ne.children[Qe].height=0;if(me.smashDepth&&(Ne.depth=0,Ne.children))for(var Ct=0;Ct<Ne.children.length;Ct++)Ne.children[Ct].depth=0;var Ut=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ne}]},Le);return jr.makeSpan(["mord"],[Ut],Le)},mathmlBuilder:function(me,Le){var Ne=new Fn.MathNode("mpadded",[Tr(me.body,Le)]);return me.smashHeight&&Ne.setAttribute("height","0px"),me.smashDepth&&Ne.setAttribute("depth","0px"),Ne}}),Gn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(me,Le,Ne){var Qe=me.parser,Ct=Ne[0],Ut=Le[0];return{type:"sqrt",mode:Qe.mode,body:Ut,index:Ct}},htmlBuilder:function(me,Le){var Ne=Wi(me.body,Le.havingCrampedStyle());Ne.height===0&&(Ne.height=Le.fontMetrics().xHeight),Ne=jr.wrapFragment(Ne,Le);var Qe=Le.fontMetrics(),Ct=Qe.defaultRuleThickness,Ut=Ct;Le.style.id<k.TEXT.id&&(Ut=Le.fontMetrics().xHeight);var hr=Ct+Ut/4,gr=Ne.height+Ne.depth+hr+Ct,Rr=hi.sqrtImage(gr,Le),$r=Rr.span,ln=Rr.ruleWidth,yn=Rr.advanceWidth,Cn=$r.height-ln;Cn>Ne.height+Ne.depth+hr&&(hr=(hr+Cn-Ne.height-Ne.depth)/2);var Qn=$r.height-Ne.height-hr-ln;Ne.style.paddingLeft=yn+"em";var ti=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ne,wrapperClasses:["svg-align"]},{type:"kern",size:-(Ne.height+Qn)},{type:"elem",elem:$r},{type:"kern",size:ln}]},Le);if(me.index){var wi=Le.havingStyle(k.SCRIPTSCRIPT),ea=Wi(me.index,wi,Le),ji=.6*(ti.height-ti.depth),Sa=jr.makeVList({positionType:"shift",positionData:-ji,children:[{type:"elem",elem:ea}]},Le),lo=jr.makeSpan(["root"],[Sa]);return jr.makeSpan(["mord","sqrt"],[lo,ti],Le)}else return jr.makeSpan(["mord","sqrt"],[ti],Le)},mathmlBuilder:function(me,Le){var Ne=me.body,Qe=me.index;return Qe?new Fn.MathNode("mroot",[Tr(Ne,Le),Tr(Qe,Le)]):new Fn.MathNode("msqrt",[Tr(Ne,Le)])}});var pi={display:k.DISPLAY,text:k.TEXT,script:k.SCRIPT,scriptscript:k.SCRIPTSCRIPT};Gn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(me,Le){var Ne=me.breakOnTokenText,Qe=me.funcName,Ct=me.parser,Ut=Ct.parseExpression(!0,Ne),hr=Qe.slice(1,Qe.length-5);return{type:"styling",mode:Ct.mode,style:hr,body:Ut}},htmlBuilder:function(me,Le){var Ne=pi[me.style],Qe=Le.havingStyle(Ne).withFont("");return ki(me.body,Qe,Le)},mathmlBuilder:function(me,Le){var Ne=pi[me.style],Qe=Le.havingStyle(Ne),Ct=co(me.body,Qe),Ut=new Fn.MathNode("mstyle",Ct),hr={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},gr=hr[me.style];return Ut.setAttribute("scriptlevel",gr[0]),Ut.setAttribute("displaystyle",gr[1]),Ut}});var Gi=function(me,Le){var Ne=me.base;if(Ne)if(Ne.type==="op"){var Qe=Ne.limits&&(Le.style.size===k.DISPLAY.size||Ne.alwaysHandleSupSub);return Qe?qa:null}else if(Ne.type==="operatorname"){var Ct=Ne.alwaysHandleSupSub&&(Le.style.size===k.DISPLAY.size||Ne.limits);return Ct?_o:null}else{if(Ne.type==="accent")return w.isCharacterBox(Ne.base)?an:null;if(Ne.type==="horizBrace"){var Ut=!me.sub;return Ut===Ne.isOver?za:null}else return null}else return null};Oa({type:"supsub",htmlBuilder:function(me,Le){var Ne=Gi(me,Le);if(Ne)return Ne(me,Le);var Qe=me.base,Ct=me.sup,Ut=me.sub,hr=Wi(Qe,Le),gr,Rr,$r=Le.fontMetrics(),ln=0,yn=0,Cn=Qe&&w.isCharacterBox(Qe);if(Ct){var Qn=Le.havingStyle(Le.style.sup());gr=Wi(Ct,Qn,Le),Cn||(ln=hr.height-Qn.fontMetrics().supDrop*Qn.sizeMultiplier/Le.sizeMultiplier)}if(Ut){var ti=Le.havingStyle(Le.style.sub());Rr=Wi(Ut,ti,Le),Cn||(yn=hr.depth+ti.fontMetrics().subDrop*ti.sizeMultiplier/Le.sizeMultiplier)}var wi;Le.style===k.DISPLAY?wi=$r.sup1:Le.style.cramped?wi=$r.sup3:wi=$r.sup2;var ea=Le.sizeMultiplier,ji=.5/$r.ptPerEm/ea+"em",Sa=null;if(Rr){var lo=me.base&&me.base.type==="op"&&me.base.name&&(me.base.name==="\\oiint"||me.base.name==="\\oiiint");(hr instanceof Ie||lo)&&(Sa=-hr.italic+"em")}var Wa;if(gr&&Rr){ln=Math.max(ln,wi,gr.depth+.25*$r.xHeight),yn=Math.max(yn,$r.sub2);var yo=$r.defaultRuleThickness,Ao=4*yo;if(ln-gr.depth-(Rr.height-yn)<Ao){yn=Ao-(ln-gr.depth)+Rr.height;var $a=.8*$r.xHeight-(ln-gr.depth);$a>0&&(ln+=$a,yn-=$a)}var ko=[{type:"elem",elem:Rr,shift:yn,marginRight:ji,marginLeft:Sa},{type:"elem",elem:gr,shift:-ln,marginRight:ji}];Wa=jr.makeVList({positionType:"individualShift",children:ko},Le)}else if(Rr){yn=Math.max(yn,$r.sub1,Rr.height-.8*$r.xHeight);var No=[{type:"elem",elem:Rr,marginLeft:Sa,marginRight:ji}];Wa=jr.makeVList({positionType:"shift",positionData:yn,children:No},Le)}else if(gr)ln=Math.max(ln,wi,gr.depth+.25*$r.xHeight),Wa=jr.makeVList({positionType:"shift",positionData:-ln,children:[{type:"elem",elem:gr,marginRight:ji}]},Le);else throw new Error("supsub must have either sup or sub.");var Ha=Ba(hr,"right")||"mord";return jr.makeSpan([Ha],[hr,jr.makeSpan(["msupsub"],[Wa])],Le)},mathmlBuilder:function(me,Le){var Ne=!1,Qe,Ct,Ut=gn(me.base,"horizBrace");Ut&&(Ct=!!me.sup,Ct===Ut.isOver&&(Ne=!0,Qe=Ut.isOver)),me.base&&(me.base.type==="op"||me.base.type==="operatorname")&&(me.base.parentIsSupSub=!0);var hr=[Tr(me.base,Le)];me.sub&&hr.push(Tr(me.sub,Le)),me.sup&&hr.push(Tr(me.sup,Le));var gr;if(Ne)gr=Qe?"mover":"munder";else if(me.sub)if(me.sup){var ln=me.base;ln&&ln.type==="op"&&ln.limits&&Le.style===k.DISPLAY||ln&&ln.type==="operatorname"&&ln.alwaysHandleSupSub&&(Le.style===k.DISPLAY||ln.limits)?gr="munderover":gr="msubsup"}else{var $r=me.base;$r&&$r.type==="op"&&$r.limits&&(Le.style===k.DISPLAY||$r.alwaysHandleSupSub)||$r&&$r.type==="operatorname"&&$r.alwaysHandleSupSub&&($r.limits||Le.style===k.DISPLAY)?gr="munder":gr="msub"}else{var Rr=me.base;Rr&&Rr.type==="op"&&Rr.limits&&(Le.style===k.DISPLAY||Rr.alwaysHandleSupSub)||Rr&&Rr.type==="operatorname"&&Rr.alwaysHandleSupSub&&(Rr.limits||Le.style===k.DISPLAY)?gr="mover":gr="msup"}var yn=new Fn.MathNode(gr,hr);return yn}}),Oa({type:"atom",htmlBuilder:function(me,Le){return jr.mathsym(me.text,me.mode,Le,["m"+me.family])},mathmlBuilder:function(me,Le){var Ne=new Fn.MathNode("mo",[$i(me.text,me.mode)]);if(me.family==="bin"){var Qe=To(me,Le);Qe==="bold-italic"&&Ne.setAttribute("mathvariant",Qe)}else me.family==="punct"?Ne.setAttribute("separator","true"):(me.family==="open"||me.family==="close")&&Ne.setAttribute("stretchy","false");return Ne}});var oo={mi:"italic",mn:"normal",mtext:"normal"};Oa({type:"mathord",htmlBuilder:function(me,Le){return jr.makeOrd(me,Le,"mathord")},mathmlBuilder:function(me,Le){var Ne=new Fn.MathNode("mi",[$i(me.text,me.mode,Le)]),Qe=To(me,Le)||"italic";return Qe!==oo[Ne.type]&&Ne.setAttribute("mathvariant",Qe),Ne}}),Oa({type:"textord",htmlBuilder:function(me,Le){return jr.makeOrd(me,Le,"textord")},mathmlBuilder:function(me,Le){var Ne=$i(me.text,me.mode,Le),Qe=To(me,Le)||"normal",Ct;return me.mode==="text"?Ct=new Fn.MathNode("mtext",[Ne]):/[0-9]/.test(me.text)?Ct=new Fn.MathNode("mn",[Ne]):me.text==="\\prime"?Ct=new Fn.MathNode("mo",[Ne]):Ct=new Fn.MathNode("mi",[Ne]),Qe!==oo[Ct.type]&&Ct.setAttribute("mathvariant",Qe),Ct}});var go={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},fo={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Oa({type:"spacing",htmlBuilder:function(me,Le){if(fo.hasOwnProperty(me.text)){var Ne=fo[me.text].className||"";if(me.mode==="text"){var Qe=jr.makeOrd(me,Le,"textord");return Qe.classes.push(Ne),Qe}else return jr.makeSpan(["mspace",Ne],[jr.mathsym(me.text,me.mode,Le)],Le)}else{if(go.hasOwnProperty(me.text))return jr.makeSpan(["mspace",go[me.text]],[],Le);throw new i('Unknown type of space "'+me.text+'"')}},mathmlBuilder:function(me,Le){var Ne;if(fo.hasOwnProperty(me.text))Ne=new Fn.MathNode("mtext",[new Fn.TextNode("\xA0")]);else{if(go.hasOwnProperty(me.text))return new Fn.MathNode("mspace");throw new i('Unknown type of space "'+me.text+'"')}return Ne}});var Ta=function(){var me=new Fn.MathNode("mtd",[]);return me.setAttribute("width","50%"),me};Oa({type:"tag",mathmlBuilder:function(me,Le){var Ne=new Fn.MathNode("mtable",[new Fn.MathNode("mtr",[Ta(),new Fn.MathNode("mtd",[rr(me.body,Le)]),Ta(),new Fn.MathNode("mtd",[rr(me.tag,Le)])])]);return Ne.setAttribute("width","100%"),Ne}});var Fi={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ra={"\\textbf":"textbf","\\textmd":"textmd"},Vo={"\\textit":"textit","\\textup":"textup"},ro=function(me,Le){var Ne=me.font;return Ne?Fi[Ne]?Le.withTextFontFamily(Fi[Ne]):Ra[Ne]?Le.withTextFontWeight(Ra[Ne]):Le.withTextFontShape(Vo[Ne]):Le};Gn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(me,Le){var Ne=me.parser,Qe=me.funcName,Ct=Le[0];return{type:"text",mode:Ne.mode,body:mn(Ct),font:Qe}},htmlBuilder:function(me,Le){var Ne=ro(me,Le),Qe=di(me.body,Ne,!0);return jr.makeSpan(["mord","text"],jr.tryCombineChars(Qe),Ne)},mathmlBuilder:function(me,Le){var Ne=ro(me,Le);return rr(me.body,Ne)}}),Gn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(me,Le){var Ne=me.parser;return{type:"underline",mode:Ne.mode,body:Le[0]}},htmlBuilder:function(me,Le){var Ne=Wi(me.body,Le),Qe=jr.makeLineSpan("underline-line",Le),Ct=Le.fontMetrics().defaultRuleThickness,Ut=jr.makeVList({positionType:"top",positionData:Ne.height,children:[{type:"kern",size:Ct},{type:"elem",elem:Qe},{type:"kern",size:3*Ct},{type:"elem",elem:Ne}]},Le);return jr.makeSpan(["mord","underline"],[Ut],Le)},mathmlBuilder:function(me,Le){var Ne=new Fn.MathNode("mo",[new Fn.TextNode("\u203E")]);Ne.setAttribute("stretchy","true");var Qe=new Fn.MathNode("munder",[Tr(me.body,Le),Ne]);return Qe.setAttribute("accentunder","true"),Qe}}),Gn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(me,Le,Ne){throw new i("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(me,Le){for(var Ne=vo(me),Qe=[],Ct=Le.havingStyle(Le.style.text()),Ut=0;Ut<Ne.length;Ut++){var hr=Ne[Ut];hr==="~"&&(hr="\\textasciitilde"),Qe.push(jr.makeSymbol(hr,"Typewriter-Regular",me.mode,Ct,["mord","texttt"]))}return jr.makeSpan(["mord","text"].concat(Ct.sizingClasses(Le)),jr.tryCombineChars(Qe),Ct)},mathmlBuilder:function(me,Le){var Ne=new Fn.TextNode(vo(me)),Qe=new Fn.MathNode("mtext",[Ne]);return Qe.setAttribute("mathvariant","monospace"),Qe}});var vo=function(me){return me.body.replace(/ /g,me.star?"\u2423":"\xA0")},po=ta,Ji=po,xo=`[ \r
]`,is="\\\\[a-zA-Z@]+",Zo="\\\\[^\uD800-\uDFFF]",Is=""+is+xo+"*",Cs=new RegExp("^("+is+")"+xo+"*$"),Ts="[\u0300-\u036F]",Go=new RegExp(Ts+"+$"),bo="("+xo+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Ts+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Ts+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+Is)+("|"+Zo+")"),Ja=function(){function Pt(Le,Ne){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=Le,this.settings=Ne,this.tokenRegex=new RegExp(bo,"g"),this.catcodes={"%":14}}var me=Pt.prototype;return me.setCatcode=function(Ne,Qe){this.catcodes[Ne]=Qe},me.lex=function(){var Ne=this.input,Qe=this.tokenRegex.lastIndex;if(Qe===Ne.length)return new h("EOF",new y(this,Qe,Qe));var Ct=this.tokenRegex.exec(Ne);if(Ct===null||Ct.index!==Qe)throw new i("Unexpected character: '"+Ne[Qe]+"'",new h(Ne[Qe],new y(this,Qe,Qe+1)));var Ut=Ct[2]||" ";if(this.catcodes[Ut]===14){var hr=Ne.indexOf(`
`,this.tokenRegex.lastIndex);return hr===-1?(this.tokenRegex.lastIndex=Ne.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=hr+1,this.lex()}var gr=Ut.match(Cs);return gr&&(Ut=gr[1]),new h(Ut,new y(this,Qe,this.tokenRegex.lastIndex))},Pt}(),Ga=function(){function Pt(Le,Ne){Le===void 0&&(Le={}),Ne===void 0&&(Ne={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=Ne,this.builtins=Le,this.undefStack=[]}var me=Pt.prototype;return me.beginGroup=function(){this.undefStack.push({})},me.endGroup=function(){if(this.undefStack.length===0)throw new i("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var Ne=this.undefStack.pop();for(var Qe in Ne)Ne.hasOwnProperty(Qe)&&(Ne[Qe]===void 0?delete this.current[Qe]:this.current[Qe]=Ne[Qe])},me.has=function(Ne){return this.current.hasOwnProperty(Ne)||this.builtins.hasOwnProperty(Ne)},me.get=function(Ne){return this.current.hasOwnProperty(Ne)?this.current[Ne]:this.builtins[Ne]},me.set=function(Ne,Qe,Ct){if(Ct===void 0&&(Ct=!1),Ct){for(var Ut=0;Ut<this.undefStack.length;Ut++)delete this.undefStack[Ut][Ne];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][Ne]=Qe)}else{var hr=this.undefStack[this.undefStack.length-1];hr&&!hr.hasOwnProperty(Ne)&&(hr[Ne]=this.current[Ne])}this.current[Ne]=Qe},Pt}(),so={},ps=so;function Sr(Pt,me){so[Pt]=me}Sr("\\@firstoftwo",function(Pt){var me=Pt.consumeArgs(2);return{tokens:me[0],numArgs:0}}),Sr("\\@secondoftwo",function(Pt){var me=Pt.consumeArgs(2);return{tokens:me[1],numArgs:0}}),Sr("\\@ifnextchar",function(Pt){var me=Pt.consumeArgs(3),Le=Pt.future();return me[0].length===1&&me[0][0].text===Le.text?{tokens:me[1],numArgs:0}:{tokens:me[2],numArgs:0}}),Sr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Sr("\\TextOrMath",function(Pt){var me=Pt.consumeArgs(2);return Pt.mode==="text"?{tokens:me[0],numArgs:0}:{tokens:me[1],numArgs:0}});var Xo={"0":0,"1":1,"2":2,"3":3,"4":4,"5":5,"6":6,"7":7,"8":8,"9":9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Sr("\\char",function(Pt){var me=Pt.popToken(),Le,Ne="";if(me.text==="'")Le=8,me=Pt.popToken();else if(me.text==='"')Le=16,me=Pt.popToken();else if(me.text==="`")if(me=Pt.popToken(),me.text[0]==="\\")Ne=me.text.charCodeAt(1);else{if(me.text==="EOF")throw new i("\\char` missing argument");Ne=me.text.charCodeAt(0)}else Le=10;if(Le){if(Ne=Xo[me.text],Ne==null||Ne>=Le)throw new i("Invalid base-"+Le+" digit "+me.text);for(var Qe;(Qe=Xo[Pt.future().text])!=null&&Qe<Le;)Ne*=Le,Ne+=Qe,Pt.popToken()}return"\\@char{"+Ne+"}"});var ss=function(me,Le){var Ne=me.consumeArgs(1)[0];if(Ne.length!==1)throw new i("\\gdef's first argument must be a macro name");var Qe=Ne[0].text,Ct=0;for(Ne=me.consumeArgs(1)[0];Ne.length===1&&Ne[0].text==="#";){if(Ne=me.consumeArgs(1)[0],Ne.length!==1)throw new i('Invalid argument number length "'+Ne.length+'"');if(!/^[1-9]$/.test(Ne[0].text))throw new i('Invalid argument number "'+Ne[0].text+'"');if(Ct++,parseInt(Ne[0].text)!==Ct)throw new i('Argument number "'+Ne[0].text+'" out of order');Ne=me.consumeArgs(1)[0]}return me.macros.set(Qe,{tokens:Ne,numArgs:Ct},Le),""};Sr("\\gdef",function(Pt){return ss(Pt,!0)}),Sr("\\def",function(Pt){return ss(Pt,!1)}),Sr("\\global",function(Pt){var me=Pt.consumeArgs(1)[0];if(me.length!==1)throw new i("Invalid command after \\global");var Le=me[0].text;if(Le==="\\def")return ss(Pt,!0);throw new i("Invalid command '"+Le+"' after \\global")});var _s=function(me,Le,Ne){var Qe=me.consumeArgs(1)[0];if(Qe.length!==1)throw new i("\\newcommand's first argument must be a macro name");var Ct=Qe[0].text,Ut=me.isDefined(Ct);if(Ut&&!Le)throw new i("\\newcommand{"+Ct+"} attempting to redefine "+(Ct+"; use \\renewcommand"));if(!Ut&&!Ne)throw new i("\\renewcommand{"+Ct+"} when command "+Ct+" does not yet exist; use \\newcommand");var hr=0;if(Qe=me.consumeArgs(1)[0],Qe.length===1&&Qe[0].text==="["){for(var gr="",Rr=me.expandNextToken();Rr.text!=="]"&&Rr.text!=="EOF";)gr+=Rr.text,Rr=me.expandNextToken();if(!gr.match(/^\s*[0-9]+\s*$/))throw new i("Invalid number of arguments: "+gr);hr=parseInt(gr),Qe=me.consumeArgs(1)[0]}return me.macros.set(Ct,{tokens:Qe,numArgs:hr}),""};Sr("\\newcommand",function(Pt){return _s(Pt,!1,!0)}),Sr("\\renewcommand",function(Pt){return _s(Pt,!0,!1)}),Sr("\\providecommand",function(Pt){return _s(Pt,!0,!0)}),Sr("\\bgroup","{"),Sr("\\egroup","}"),Sr("\\lq","`"),Sr("\\rq","'"),Sr("\\aa","\\r a"),Sr("\\AA","\\r A"),Sr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),Sr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Sr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),Sr("\u212C","\\mathscr{B}"),Sr("\u2130","\\mathscr{E}"),Sr("\u2131","\\mathscr{F}"),Sr("\u210B","\\mathscr{H}"),Sr("\u2110","\\mathscr{I}"),Sr("\u2112","\\mathscr{L}"),Sr("\u2133","\\mathscr{M}"),Sr("\u211B","\\mathscr{R}"),Sr("\u212D","\\mathfrak{C}"),Sr("\u210C","\\mathfrak{H}"),Sr("\u2128","\\mathfrak{Z}"),Sr("\\Bbbk","\\Bbb{k}"),Sr("\xB7","\\cdotp"),Sr("\\llap","\\mathllap{\\textrm{#1}}"),Sr("\\rlap","\\mathrlap{\\textrm{#1}}"),Sr("\\clap","\\mathclap{\\textrm{#1}}"),Sr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Sr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Sr("\\ne","\\neq"),Sr("\u2260","\\neq"),Sr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Sr("\u2209","\\notin"),Sr("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Sr("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Sr("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),Sr("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),Sr("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),Sr("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),Sr("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),Sr("\u27C2","\\perp"),Sr("\u203C","\\mathclose{!\\mkern-0.8mu!}"),Sr("\u220C","\\notni"),Sr("\u231C","\\ulcorner"),Sr("\u231D","\\urcorner"),Sr("\u231E","\\llcorner"),Sr("\u231F","\\lrcorner"),Sr("\xA9","\\copyright"),Sr("\xAE","\\textregistered"),Sr("\uFE0F","\\textregistered"),Sr("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),Sr("\u22EE","\\vdots"),Sr("\\varGamma","\\mathit{\\Gamma}"),Sr("\\varDelta","\\mathit{\\Delta}"),Sr("\\varTheta","\\mathit{\\Theta}"),Sr("\\varLambda","\\mathit{\\Lambda}"),Sr("\\varXi","\\mathit{\\Xi}"),Sr("\\varPi","\\mathit{\\Pi}"),Sr("\\varSigma","\\mathit{\\Sigma}"),Sr("\\varUpsilon","\\mathit{\\Upsilon}"),Sr("\\varPhi","\\mathit{\\Phi}"),Sr("\\varPsi","\\mathit{\\Psi}"),Sr("\\varOmega","\\mathit{\\Omega}"),Sr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Sr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),Sr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Sr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Sr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Sr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var ka={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Sr("\\dots",function(Pt){var me="\\dotso",Le=Pt.expandAfterFuture().text;return Le in ka?me=ka[Le]:Le.substr(0,4)==="\\not"?me="\\dotsb":Le in Ve.math&&(w.contains(["bin","rel"],Ve.math[Le].group)&&(me="\\dotsb")),me});var _a={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Sr("\\dotso",function(Pt){var me=Pt.future().text;return me in _a?"\\ldots\\,":"\\ldots"}),Sr("\\dotsc",function(Pt){var me=Pt.future().text;return me in _a&&me!==","?"\\ldots\\,":"\\ldots"}),Sr("\\cdots",function(Pt){var me=Pt.future().text;return me in _a?"\\@cdots\\,":"\\@cdots"}),Sr("\\dotsb","\\cdots"),Sr("\\dotsm","\\cdots"),Sr("\\dotsi","\\!\\cdots"),Sr("\\dotsx","\\ldots\\,"),Sr("\\DOTSI","\\relax"),Sr("\\DOTSB","\\relax"),Sr("\\DOTSX","\\relax"),Sr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Sr("\\,","\\tmspace+{3mu}{.1667em}"),Sr("\\thinspace","\\,"),Sr("\\>","\\mskip{4mu}"),Sr("\\:","\\tmspace+{4mu}{.2222em}"),Sr("\\medspace","\\:"),Sr("\\;","\\tmspace+{5mu}{.2777em}"),Sr("\\thickspace","\\;"),Sr("\\!","\\tmspace-{3mu}{.1667em}"),Sr("\\negthinspace","\\!"),Sr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Sr("\\negthickspace","\\tmspace-{5mu}{.277em}"),Sr("\\enspace","\\kern.5em "),Sr("\\enskip","\\hskip.5em\\relax"),Sr("\\quad","\\hskip1em\\relax"),Sr("\\qquad","\\hskip2em\\relax"),Sr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Sr("\\tag@paren","\\tag@literal{({#1})}"),Sr("\\tag@literal",function(Pt){if(Pt.macros.get("\\df@tag"))throw new i("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),Sr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Sr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Sr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Sr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Sr("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),Sr("\\\\","\\newline"),Sr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Oo=ze["Main-Regular"]["T".charCodeAt(0)][1]-.7*ze["Main-Regular"]["A".charCodeAt(0)][1]+"em";Sr("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Oo+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),Sr("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Oo+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),Sr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Sr("\\@hspace","\\hskip #1\\relax"),Sr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Sr("\\ordinarycolon",":"),Sr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Sr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Sr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Sr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Sr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Sr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Sr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Sr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Sr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Sr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Sr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Sr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Sr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Sr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Sr("\u2237","\\dblcolon"),Sr("\u2239","\\eqcolon"),Sr("\u2254","\\coloneqq"),Sr("\u2255","\\eqqcolon"),Sr("\u2A74","\\Coloneqq"),Sr("\\ratio","\\vcentcolon"),Sr("\\coloncolon","\\dblcolon"),Sr("\\colonequals","\\coloneqq"),Sr("\\coloncolonequals","\\Coloneqq"),Sr("\\equalscolon","\\eqqcolon"),Sr("\\equalscoloncolon","\\Eqqcolon"),Sr("\\colonminus","\\coloneq"),Sr("\\coloncolonminus","\\Coloneq"),Sr("\\minuscolon","\\eqcolon"),Sr("\\minuscoloncolon","\\Eqcolon"),Sr("\\coloncolonapprox","\\Colonapprox"),Sr("\\coloncolonsim","\\Colonsim"),Sr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Sr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Sr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Sr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Sr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),Sr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Sr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Sr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Sr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Sr("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Sr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Sr("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Sr("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Sr("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Sr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Sr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Sr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Sr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),Sr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),Sr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),Sr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),Sr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),Sr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),Sr("\u27E6","\\llbracket"),Sr("\u27E7","\\rrbracket"),Sr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Sr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Sr("\u2983","\\lBrace"),Sr("\u2984","\\rBrace"),Sr("\\darr","\\downarrow"),Sr("\\dArr","\\Downarrow"),Sr("\\Darr","\\Downarrow"),Sr("\\lang","\\langle"),Sr("\\rang","\\rangle"),Sr("\\uarr","\\uparrow"),Sr("\\uArr","\\Uparrow"),Sr("\\Uarr","\\Uparrow"),Sr("\\N","\\mathbb{N}"),Sr("\\R","\\mathbb{R}"),Sr("\\Z","\\mathbb{Z}"),Sr("\\alef","\\aleph"),Sr("\\alefsym","\\aleph"),Sr("\\Alpha","\\mathrm{A}"),Sr("\\Beta","\\mathrm{B}"),Sr("\\bull","\\bullet"),Sr("\\Chi","\\mathrm{X}"),Sr("\\clubs","\\clubsuit"),Sr("\\cnums","\\mathbb{C}"),Sr("\\Complex","\\mathbb{C}"),Sr("\\Dagger","\\ddagger"),Sr("\\diamonds","\\diamondsuit"),Sr("\\empty","\\emptyset"),Sr("\\Epsilon","\\mathrm{E}"),Sr("\\Eta","\\mathrm{H}"),Sr("\\exist","\\exists"),Sr("\\harr","\\leftrightarrow"),Sr("\\hArr","\\Leftrightarrow"),Sr("\\Harr","\\Leftrightarrow"),Sr("\\hearts","\\heartsuit"),Sr("\\image","\\Im"),Sr("\\infin","\\infty"),Sr("\\Iota","\\mathrm{I}"),Sr("\\isin","\\in"),Sr("\\Kappa","\\mathrm{K}"),Sr("\\larr","\\leftarrow"),Sr("\\lArr","\\Leftarrow"),Sr("\\Larr","\\Leftarrow"),Sr("\\lrarr","\\leftrightarrow"),Sr("\\lrArr","\\Leftrightarrow"),Sr("\\Lrarr","\\Leftrightarrow"),Sr("\\Mu","\\mathrm{M}"),Sr("\\natnums","\\mathbb{N}"),Sr("\\Nu","\\mathrm{N}"),Sr("\\Omicron","\\mathrm{O}"),Sr("\\plusmn","\\pm"),Sr("\\rarr","\\rightarrow"),Sr("\\rArr","\\Rightarrow"),Sr("\\Rarr","\\Rightarrow"),Sr("\\real","\\Re"),Sr("\\reals","\\mathbb{R}"),Sr("\\Reals","\\mathbb{R}"),Sr("\\Rho","\\mathrm{P}"),Sr("\\sdot","\\cdot"),Sr("\\sect","\\S"),Sr("\\spades","\\spadesuit"),Sr("\\sub","\\subset"),Sr("\\sube","\\subseteq"),Sr("\\supe","\\supseteq"),Sr("\\Tau","\\mathrm{T}"),Sr("\\thetasym","\\vartheta"),Sr("\\weierp","\\wp"),Sr("\\Zeta","\\mathrm{Z}"),Sr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Sr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Sr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Sr("\\blue","\\textcolor{##6495ed}{#1}"),Sr("\\orange","\\textcolor{##ffa500}{#1}"),Sr("\\pink","\\textcolor{##ff00af}{#1}"),Sr("\\red","\\textcolor{##df0030}{#1}"),Sr("\\green","\\textcolor{##28ae7b}{#1}"),Sr("\\gray","\\textcolor{gray}{#1}"),Sr("\\purple","\\textcolor{##9d38bd}{#1}"),Sr("\\blueA","\\textcolor{##ccfaff}{#1}"),Sr("\\blueB","\\textcolor{##80f6ff}{#1}"),Sr("\\blueC","\\textcolor{##63d9ea}{#1}"),Sr("\\blueD","\\textcolor{##11accd}{#1}"),Sr("\\blueE","\\textcolor{##0c7f99}{#1}"),Sr("\\tealA","\\textcolor{##94fff5}{#1}"),Sr("\\tealB","\\textcolor{##26edd5}{#1}"),Sr("\\tealC","\\textcolor{##01d1c1}{#1}"),Sr("\\tealD","\\textcolor{##01a995}{#1}"),Sr("\\tealE","\\textcolor{##208170}{#1}"),Sr("\\greenA","\\textcolor{##b6ffb0}{#1}"),Sr("\\greenB","\\textcolor{##8af281}{#1}"),Sr("\\greenC","\\textcolor{##74cf70}{#1}"),Sr("\\greenD","\\textcolor{##1fab54}{#1}"),Sr("\\greenE","\\textcolor{##0d923f}{#1}"),Sr("\\goldA","\\textcolor{##ffd0a9}{#1}"),Sr("\\goldB","\\textcolor{##ffbb71}{#1}"),Sr("\\goldC","\\textcolor{##ff9c39}{#1}"),Sr("\\goldD","\\textcolor{##e07d10}{#1}"),Sr("\\goldE","\\textcolor{##a75a05}{#1}"),Sr("\\redA","\\textcolor{##fca9a9}{#1}"),Sr("\\redB","\\textcolor{##ff8482}{#1}"),Sr("\\redC","\\textcolor{##f9685d}{#1}"),Sr("\\redD","\\textcolor{##e84d39}{#1}"),Sr("\\redE","\\textcolor{##bc2612}{#1}"),Sr("\\maroonA","\\textcolor{##ffbde0}{#1}"),Sr("\\maroonB","\\textcolor{##ff92c6}{#1}"),Sr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Sr("\\maroonD","\\textcolor{##ca337c}{#1}"),Sr("\\maroonE","\\textcolor{##9e034e}{#1}"),Sr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Sr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Sr("\\purpleC","\\textcolor{##aa87ff}{#1}"),Sr("\\purpleD","\\textcolor{##7854ab}{#1}"),Sr("\\purpleE","\\textcolor{##543b78}{#1}"),Sr("\\mintA","\\textcolor{##f5f9e8}{#1}"),Sr("\\mintB","\\textcolor{##edf2df}{#1}"),Sr("\\mintC","\\textcolor{##e0e5cc}{#1}"),Sr("\\grayA","\\textcolor{##f6f7f7}{#1}"),Sr("\\grayB","\\textcolor{##f0f1f2}{#1}"),Sr("\\grayC","\\textcolor{##e3e5e6}{#1}"),Sr("\\grayD","\\textcolor{##d6d8da}{#1}"),Sr("\\grayE","\\textcolor{##babec2}{#1}"),Sr("\\grayF","\\textcolor{##888d93}{#1}"),Sr("\\grayG","\\textcolor{##626569}{#1}"),Sr("\\grayH","\\textcolor{##3b3e40}{#1}"),Sr("\\grayI","\\textcolor{##21242c}{#1}"),Sr("\\kaBlue","\\textcolor{##314453}{#1}"),Sr("\\kaGreen","\\textcolor{##71B307}{#1}");var Lo={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},ts=function(){function Pt(Le,Ne,Qe){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=Ne,this.expansionCount=0,this.feed(Le),this.macros=new Ga(ps,Ne.macros),this.mode=Qe,this.stack=[]}var me=Pt.prototype;return me.feed=function(Ne){this.lexer=new Ja(Ne,this.settings)},me.switchMode=function(Ne){this.mode=Ne},me.beginGroup=function(){this.macros.beginGroup()},me.endGroup=function(){this.macros.endGroup()},me.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},me.popToken=function(){return this.future(),this.stack.pop()},me.pushToken=function(Ne){this.stack.push(Ne)},me.pushTokens=function(Ne){var Qe;(Qe=this.stack).push.apply(Qe,Ne)},me.consumeSpaces=function(){for(;;){var Ne=this.future();if(Ne.text===" ")this.stack.pop();else break}},me.consumeArgs=function(Ne){for(var Qe=[],Ct=0;Ct<Ne;++Ct){this.consumeSpaces();var Ut=this.popToken();if(Ut.text==="{"){for(var hr=[],gr=1;gr!==0;){var Rr=this.popToken();if(hr.push(Rr),Rr.text==="{")++gr;else if(Rr.text==="}")--gr;else if(Rr.text==="EOF")throw new i("End of input in macro argument",Ut)}hr.pop(),hr.reverse(),Qe[Ct]=hr}else{if(Ut.text==="EOF")throw new i("End of input expecting macro argument");Qe[Ct]=[Ut]}}return Qe},me.expandOnce=function(){var Ne=this.popToken(),Qe=Ne.text,Ct=this._getExpansion(Qe);if(Ct==null)return this.pushToken(Ne),Ne;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new i("Too many expansions: infinite loop or need to increase maxExpand setting");var Ut=Ct.tokens;if(Ct.numArgs){var hr=this.consumeArgs(Ct.numArgs);Ut=Ut.slice();for(var gr=Ut.length-1;gr>=0;--gr){var Rr=Ut[gr];if(Rr.text==="#"){if(gr===0)throw new i("Incomplete placeholder at end of macro body",Rr);if(Rr=Ut[--gr],Rr.text==="#")Ut.splice(gr+1,1);else if(/^[1-9]$/.test(Rr.text)){var $r;($r=Ut).splice.apply($r,[gr,2].concat(hr[+Rr.text-1]))}else throw new i("Not a valid argument number",Rr)}}}return this.pushTokens(Ut),Ut},me.expandAfterFuture=function(){return this.expandOnce(),this.future()},me.expandNextToken=function(){for(;;){var Ne=this.expandOnce();if(Ne instanceof h)if(Ne.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},me.expandMacro=function(Ne){if(!this.macros.get(Ne))return;var Qe=[],Ct=this.stack.length;for(this.pushToken(new h(Ne));this.stack.length>Ct;){var Ut=this.expandOnce();Ut instanceof h&&Qe.push(this.stack.pop())}return Qe},me.expandMacroAsText=function(Ne){var Qe=this.expandMacro(Ne);return Qe&&Qe.map(function(Ct){return Ct.text}).join("")},me._getExpansion=function(Ne){var Qe=this.macros.get(Ne);if(Qe==null)return Qe;var Ct=typeof Qe=="function"?Qe(this):Qe;if(typeof Ct=="string"){var Ut=0;if(Ct.indexOf("#")!==-1)for(var hr=Ct.replace(/##/g,"");hr.indexOf("#"+(Ut+1))!==-1;)++Ut;for(var gr=new Ja(Ct,this.settings),Rr=[],$r=gr.lex();$r.text!=="EOF";)Rr.push($r),$r=gr.lex();Rr.reverse();var ln={tokens:Rr,numArgs:Ut};return ln}return Ct},me.isDefined=function(Ne){return this.macros.has(Ne)||Ji.hasOwnProperty(Ne)||Ve.math.hasOwnProperty(Ne)||Ve.text.hasOwnProperty(Ne)||Lo.hasOwnProperty(Ne)},Pt}(),Bo={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"}},rs={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u010F:"d\u030C",\u1E0B:"d\u0307",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u013A:"l\u0301",\u013E:"l\u030C",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u010E:"D\u030C",\u1E0A:"D\u0307",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0139:"L\u0301",\u013D:"L\u030C",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u0164:"T\u030C",\u1E6A:"T\u0307",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},ms=function(){function Pt(Le,Ne){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new ts(Le,Ne,this.mode),this.settings=Ne,this.leftrightDepth=0}var me=Pt.prototype;return me.expect=function(Ne,Qe){if(Qe===void 0&&(Qe=!0),this.fetch().text!==Ne)throw new i("Expected '"+Ne+"', got '"+this.fetch().text+"'",this.fetch());Qe&&this.consume()},me.consume=function(){this.nextToken=null},me.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},me.switchMode=function(Ne){this.mode=Ne,this.gullet.switchMode(Ne)},me.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var Ne=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),Ne},me.parseExpression=function(Ne,Qe){for(var Ct=[];;){this.mode==="math"&&this.consumeSpaces();var Ut=this.fetch();if(Pt.endOfExpression.indexOf(Ut.text)!==-1)break;if(Qe&&Ut.text===Qe)break;if(Ne&&Ji[Ut.text]&&Ji[Ut.text].infix)break;var hr=this.parseAtom(Qe);if(!hr)break;Ct.push(hr)}return this.mode==="text"&&this.formLigatures(Ct),this.handleInfixNodes(Ct)},me.handleInfixNodes=function(Ne){for(var Qe=-1,Ct,Ut=0;Ut<Ne.length;Ut++){var hr=gn(Ne[Ut],"infix");if(hr){if(Qe!==-1)throw new i("only one infix operator per group",hr.token);Qe=Ut,Ct=hr.replaceWith}}if(Qe!==-1&&Ct){var gr,Rr,$r=Ne.slice(0,Qe),ln=Ne.slice(Qe+1);$r.length===1&&$r[0].type==="ordgroup"?gr=$r[0]:gr={type:"ordgroup",mode:this.mode,body:$r},ln.length===1&&ln[0].type==="ordgroup"?Rr=ln[0]:Rr={type:"ordgroup",mode:this.mode,body:ln};var yn;return Ct==="\\\\abovefrac"?yn=this.callFunction(Ct,[gr,Ne[Qe],Rr],[]):yn=this.callFunction(Ct,[gr,Rr],[]),[yn]}else return Ne},me.handleSupSubscript=function(Ne){var Qe=this.fetch(),Ct=Qe.text;this.consume();var Ut=this.parseGroup(Ne,!1,Pt.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Ut)throw new i("Expected group after '"+Ct+"'",Qe);return Ut},me.formatUnsupportedCmd=function(Ne){for(var Qe=[],Ct=0;Ct<Ne.length;Ct++)Qe.push({type:"textord",mode:"text",text:Ne[Ct]});var Ut={type:"text",mode:this.mode,body:Qe},hr={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Ut]};return hr},me.parseAtom=function(Ne){var Qe=this.parseGroup("atom",!1,null,Ne);if(this.mode==="text")return Qe;for(var Ct,Ut;;){this.consumeSpaces();var hr=this.fetch();if(hr.text==="\\limits"||hr.text==="\\nolimits"){var gr=gn(Qe,"op");if(gr){var Rr=hr.text==="\\limits";gr.limits=Rr,gr.alwaysHandleSupSub=!0}else if(gr=gn(Qe,"operatorname"),gr&&gr.alwaysHandleSupSub){var $r=hr.text==="\\limits";gr.limits=$r}else throw new i("Limit controls must follow a math operator",hr);this.consume()}else if(hr.text==="^"){if(Ct)throw new i("Double superscript",hr);Ct=this.handleSupSubscript("superscript")}else if(hr.text==="_"){if(Ut)throw new i("Double subscript",hr);Ut=this.handleSupSubscript("subscript")}else if(hr.text==="'"){if(Ct)throw new i("Double superscript",hr);var ln={type:"textord",mode:this.mode,text:"\\prime"},yn=[ln];for(this.consume();this.fetch().text==="'";)yn.push(ln),this.consume();this.fetch().text==="^"&&yn.push(this.handleSupSubscript("superscript")),Ct={type:"ordgroup",mode:this.mode,body:yn}}else break}return Ct||Ut?{type:"supsub",mode:this.mode,base:Qe,sup:Ct,sub:Ut}:Qe},me.parseFunction=function(Ne,Qe,Ct){var Ut=this.fetch(),hr=Ut.text,gr=Ji[hr];if(!gr)return null;if(this.consume(),Ct!=null&&gr.greediness<=Ct)throw new i("Got function '"+hr+"' with no arguments"+(Qe?" as "+Qe:""),Ut);if(this.mode==="text"&&!gr.allowedInText)throw new i("Can't use function '"+hr+"' in text mode",Ut);if(this.mode==="math"&&gr.allowedInMath===!1)throw new i("Can't use function '"+hr+"' in math mode",Ut);var Rr=this.parseArguments(hr,gr),$r=Rr.args,ln=Rr.optArgs;return this.callFunction(hr,$r,ln,Ut,Ne)},me.callFunction=function(Ne,Qe,Ct,Ut,hr){var gr={funcName:Ne,parser:this,token:Ut,breakOnTokenText:hr},Rr=Ji[Ne];if(Rr&&Rr.handler)return Rr.handler(gr,Qe,Ct);throw new i("No function handler for "+Ne)},me.parseArguments=function(Ne,Qe){var Ct=Qe.numArgs+Qe.numOptionalArgs;if(Ct===0)return{args:[],optArgs:[]};for(var Ut=Qe.greediness,hr=[],gr=[],Rr=0;Rr<Ct;Rr++){var $r=Qe.argTypes&&Qe.argTypes[Rr],ln=Rr<Qe.numOptionalArgs,yn=Rr>0&&!ln||Rr===0&&!ln&&this.mode==="math",Cn=this.parseGroupOfType("argument to '"+Ne+"'",$r,ln,Ut,yn);if(!Cn){if(ln){gr.push(null);continue}throw new i("Expected group after '"+Ne+"'",this.fetch())}(ln?gr:hr).push(Cn)}return{args:hr,optArgs:gr}},me.parseGroupOfType=function(Ne,Qe,Ct,Ut,hr){switch(Qe){case"color":return hr&&this.consumeSpaces(),this.parseColorGroup(Ct);case"size":return hr&&this.consumeSpaces(),this.parseSizeGroup(Ct);case"url":return this.parseUrlGroup(Ct,hr);case"math":case"text":return this.parseGroup(Ne,Ct,Ut,void 0,Qe,hr);case"hbox":{var gr=this.parseGroup(Ne,Ct,Ut,void 0,"text",hr);if(!gr)return gr;var Rr={type:"styling",mode:gr.mode,body:[gr],style:"text"};return Rr}case"raw":{if(hr&&this.consumeSpaces(),Ct&&this.fetch().text==="{")return null;var $r=this.parseStringGroup("raw",Ct,!0);if($r)return{type:"raw",mode:"text",string:$r.text};throw new i("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(Ne,Ct,Ut,void 0,void 0,hr);default:throw new i("Unknown group type as "+Ne,this.fetch())}},me.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},me.parseStringGroup=function(Ne,Qe,Ct){var Ut=Qe?"[":"{",hr=Qe?"]":"}",gr=this.fetch();if(gr.text!==Ut){if(Qe)return null;if(Ct&&gr.text!=="EOF"&&/[^{}[\]]/.test(gr.text))return this.consume(),gr}var Rr=this.mode;this.mode="text",this.expect(Ut);for(var $r="",ln=this.fetch(),yn=0,Cn=ln,Qn;(Qn=this.fetch()).text!==hr||Ct&&yn>0;){switch(Qn.text){case"EOF":throw new i("Unexpected end of input in "+Ne,ln.range(Cn,$r));case Ut:yn++;break;case hr:yn--;break}Cn=Qn,$r+=Cn.text,this.consume()}return this.expect(hr),this.mode=Rr,ln.range(Cn,$r)},me.parseRegexGroup=function(Ne,Qe){var Ct=this.mode;this.mode="text";for(var Ut=this.fetch(),hr=Ut,gr="",Rr;(Rr=this.fetch()).text!=="EOF"&&Ne.test(gr+Rr.text);)hr=Rr,gr+=hr.text,this.consume();if(gr==="")throw new i("Invalid "+Qe+": '"+Ut.text+"'",Ut);return this.mode=Ct,Ut.range(hr,gr)},me.parseColorGroup=function(Ne){var Qe=this.parseStringGroup("color",Ne);if(!Qe)return null;var Ct=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(Qe.text);if(!Ct)throw new i("Invalid color: '"+Qe.text+"'",Qe);var Ut=Ct[0];return/^[0-9a-f]{6}$/i.test(Ut)&&(Ut="#"+Ut),{type:"color-token",mode:this.mode,color:Ut}},me.parseSizeGroup=function(Ne){var Qe,Ct=!1;if(!Ne&&this.fetch().text!=="{"?Qe=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):Qe=this.parseStringGroup("size",Ne),!Qe)return null;!Ne&&Qe.text.length===0&&(Qe.text="0pt",Ct=!0);var Ut=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Qe.text);if(!Ut)throw new i("Invalid size: '"+Qe.text+"'",Qe);var hr={number:+(Ut[1]+Ut[2]),unit:Ut[3]};if(!pt(hr))throw new i("Invalid unit: '"+hr.unit+"'",Qe);return{type:"size",mode:this.mode,value:hr,isBlank:Ct}},me.parseUrlGroup=function(Ne,Qe){this.gullet.lexer.setCatcode("%",13);var Ct=this.parseStringGroup("url",Ne,!0);if(this.gullet.lexer.setCatcode("%",14),!Ct)return null;var Ut=Ct.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Ut}},me.parseGroup=function(Ne,Qe,Ct,Ut,hr,gr){var Rr=this.mode;hr&&this.switchMode(hr),gr&&this.consumeSpaces();var $r=this.fetch(),ln=$r.text,yn;if(Qe?ln==="[":ln==="{"||ln==="\\begingroup"){this.consume();var Cn=Pt.endOfGroup[ln];this.gullet.beginGroup();var Qn=this.parseExpression(!1,Cn),ti=this.fetch();this.expect(Cn),this.gullet.endGroup(),yn={type:"ordgroup",mode:this.mode,loc:y.range($r,ti),body:Qn,semisimple:ln==="\\begingroup"||void 0}}else if(Qe)yn=null;else if(yn=this.parseFunction(Ut,Ne,Ct)||this.parseSymbol(),yn==null&&ln[0]==="\\"&&!Lo.hasOwnProperty(ln)){if(this.settings.throwOnError)throw new i("Undefined control sequence: "+ln,$r);yn=this.formatUnsupportedCmd(ln),this.consume()}return hr&&this.switchMode(Rr),yn},me.formLigatures=function(Ne){for(var Qe=Ne.length-1,Ct=0;Ct<Qe;++Ct){var Ut=Ne[Ct],hr=Ut.text;hr==="-"&&Ne[Ct+1].text==="-"&&(Ct+1<Qe&&Ne[Ct+2].text==="-"?(Ne.splice(Ct,3,{type:"textord",mode:"text",loc:y.range(Ut,Ne[Ct+2]),text:"---"}),Qe-=2):(Ne.splice(Ct,2,{type:"textord",mode:"text",loc:y.range(Ut,Ne[Ct+1]),text:"--"}),Qe-=1)),(hr==="'"||hr==="`")&&Ne[Ct+1].text===hr&&(Ne.splice(Ct,2,{type:"textord",mode:"text",loc:y.range(Ut,Ne[Ct+1]),text:hr+hr}),Qe-=1)}},me.parseSymbol=function(){var Ne=this.fetch(),Qe=Ne.text;if(/^\\verb[^a-zA-Z]/.test(Qe)){this.consume();var Ct=Qe.slice(5),Ut=Ct.charAt(0)==="*";if(Ut&&(Ct=Ct.slice(1)),Ct.length<2||Ct.charAt(0)!==Ct.slice(-1))throw new i(`\\verb assertion failed --
please report what input caused this bug`);return Ct=Ct.slice(1,-1),{type:"verb",mode:"text",body:Ct,star:Ut}}rs.hasOwnProperty(Qe[0])&&!Ve[this.mode][Qe[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+Qe[0]+'" used in math mode',Ne),Qe=rs[Qe[0]]+Qe.substr(1));var hr=Go.exec(Qe);hr&&(Qe=Qe.substring(0,hr.index),Qe==="i"?Qe="\u0131":Qe==="j"&&(Qe="\u0237"));var gr;if(Ve[this.mode][Qe]){this.settings.strict&&this.mode==="math"&&nt.indexOf(Qe)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+Qe[0]+'" used in math mode',Ne);var Rr=Ve[this.mode][Qe].group,$r=y.range(Ne),ln;if(Je.hasOwnProperty(Rr)){var yn=Rr;ln={type:"atom",mode:this.mode,family:yn,loc:$r,text:Qe}}else ln={type:Rr,mode:this.mode,loc:$r,text:Qe};gr=ln}else if(Qe.charCodeAt(0)>=128)this.settings.strict&&(Y(Qe.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+Qe[0]+'" used in math mode',Ne):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+Qe[0]+'"'+(" ("+Qe.charCodeAt(0)+")"),Ne)),gr={type:"textord",mode:"text",loc:y.range(Ne),text:Qe};else return null;if(this.consume(),hr)for(var Cn=0;Cn<hr[0].length;Cn++){var Qn=hr[0][Cn];if(!Bo[Qn])throw new i("Unknown accent ' "+Qn+"'",Ne);var ti=Bo[Qn][this.mode];if(!ti)throw new i("Accent "+Qn+" unsupported in "+this.mode+" mode",Ne);gr={type:"accent",mode:this.mode,loc:y.range(Ne),label:ti,isStretchy:!1,isShifty:!0,base:gr}}return gr},Pt}();ms.endOfExpression=["}","\\endgroup","\\end","\\right","&"],ms.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},ms.SUPSUB_GREEDINESS=1;var ls=function(me,Le){if(!(typeof me=="string"||me instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var Ne=new ms(me,Le);delete Ne.gullet.macros.current["\\df@tag"];var Qe=Ne.parse();if(Ne.gullet.macros.get("\\df@tag")){if(!Le.displayMode)throw new i("\\tag works only in display equations");Ne.gullet.feed("\\df@tag"),Qe=[{type:"tag",mode:"text",body:Qe,tag:Ne.parse()}]}return Qe},Ns=ls,Ds=function(me,Le,Ne){Le.textContent="";var Qe=Mo(me,Ne).toNode();Le.appendChild(Qe)};typeof document!="undefined"&&(document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Ds=function(){throw new i("KaTeX doesn't work in quirks mode.")}));var as=function(me,Le){var Ne=Mo(me,Le).toMarkup();return Ne},$s=function(me,Le){var Ne=new C(Le);return Ns(me,Ne)},us=function(me,Le,Ne){if(Ne.throwOnError||!(me instanceof i))throw me;var Qe=jr.makeSpan(["katex-error"],[new Ie(Le)]);return Qe.setAttribute("title",me.toString()),Qe.setAttribute("style","color:"+Ne.errorColor),Qe},Mo=function(me,Le){var Ne=new C(Le);try{var Qe=Ns(me,Ne);return it(Qe,me,Ne)}catch(Ct){return us(Ct,me,Ne)}},Dn=function(me,Le){var Ne=new C(Le);try{var Qe=Ns(me,Ne);return jt(Qe,me,Ne)}catch(Ct){return us(Ct,me,Ne)}},Vs={version:"0.11.1",render:Ds,renderToString:as,ParseError:i,__parse:$s,__renderToDomTree:Mo,__renderToHTMLTree:Dn,__setFontMetrics:Tt,__defineSymbol:ue,__defineMacro:Sr,__domTree:{Span:X,Anchor:Z,SymbolNode:Ie,SvgNode:fe,PathNode:te,LineNode:J}},Os=f.default=Vs}]).default})},P2fV:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("Q9mQ"),m=e("+L6B"),y=e("sE09"),h=e.n(y)},P2ho:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g={Again:57349,AltLeft:56,AltRight:57400,ArrowDown:57424,ArrowLeft:57419,ArrowRight:57421,ArrowUp:57416,AudioVolumeDown:57390,AudioVolumeMute:57376,AudioVolumeUp:57392,Backquote:41,Backslash:43,Backspace:14,BracketLeft:26,BracketRight:27,BrowserBack:57450,BrowserFavorites:57446,BrowserForward:57449,BrowserHome:57394,BrowserRefresh:57447,BrowserSearch:57445,BrowserStop:57448,CapsLock:58,Comma:51,ContextMenu:57437,ControlLeft:29,ControlRight:57373,Convert:121,Copy:57464,Cut:57404,Delete:57427,Digit0:11,Digit1:2,Digit2:3,Digit3:4,Digit4:5,Digit5:6,Digit6:7,Digit7:8,Digit8:9,Digit9:10,Eject:57469,End:57423,Enter:28,Equal:13,Escape:1,F1:59,F10:68,F11:87,F12:88,F13:93,F14:94,F15:95,F16:85,F17:57347,F18:57463,F19:57348,F2:60,F20:90,F21:116,F22:57465,F23:109,F24:111,F3:61,F4:62,F5:63,F6:64,F7:65,F8:66,F9:67,Find:57409,Help:57461,Hiragana:119,Home:57415,Insert:57426,IntlBackslash:86,IntlRo:115,IntlYen:125,KanaMode:112,Katakana:120,KeyA:30,KeyB:48,KeyC:46,KeyD:32,KeyE:18,KeyF:33,KeyG:34,KeyH:35,KeyI:23,KeyJ:36,KeyK:37,KeyL:38,KeyM:50,KeyN:49,KeyO:24,KeyP:25,KeyQ:16,KeyR:19,KeyS:31,KeyT:20,KeyU:22,KeyV:47,KeyW:17,KeyX:45,KeyY:21,KeyZ:44,Lang3:120,Lang4:119,Lang5:118,LaunchApp1:57451,LaunchApp2:57377,LaunchMail:57452,MediaPlayPause:57378,MediaSelect:57453,MediaStop:57380,MediaTrackNext:57369,MediaTrackPrevious:57360,MetaLeft:57435,MetaRight:57436,Minus:12,NonConvert:123,NumLock:69,Numpad0:82,Numpad1:79,Numpad2:80,Numpad3:81,Numpad4:75,Numpad5:76,Numpad6:77,Numpad7:71,Numpad8:72,Numpad9:73,NumpadAdd:78,NumpadComma:126,NumpadDecimal:83,NumpadDivide:57397,NumpadEnter:57372,NumpadEqual:89,NumpadMultiply:55,NumpadParenLeft:57462,NumpadParenRight:57467,NumpadSubtract:74,Open:100,PageDown:57425,PageUp:57417,Paste:101,Pause:57414,Period:52,Power:57438,PrintScreen:84,Props:57350,Quote:40,ScrollLock:70,Semicolon:39,ShiftLeft:42,ShiftRight:54,Slash:53,Sleep:57439,Space:57,Suspend:57381,Tab:15,Undo:57351,WakeUp:57443};I.default=g},P47w:function(R,I,e){var g=e("hydK"),f=g.createElement,b=e("IMiH"),m=e("mFDi"),y=e("Fofx"),h=e("6GrX"),u=e("pzxd"),i=e("dqUG"),a=b.CMD,r=Array.prototype.join,o="none",d=Math.round,n=Math.sin,l=Math.cos,t=Math.PI,s=Math.PI*2,c=180/t,p=1e-4;function A(V){return d(V*1e4)/1e4}function w(V){return V<p&&V>-p}function C(V,K){var Y=K?V.textFill:V.fill;return Y!=null&&Y!==o}function x(V,K){var Y=K?V.textStroke:V.stroke;return Y!=null&&Y!==o}function E(V,K){K&&T(V,"transform","matrix("+r.call(K,",")+")")}function T(V,K,Y){(!Y||Y.type!=="linear"&&Y.type!=="radial")&&V.setAttribute(K,Y)}function _(V,K,Y){V.setAttributeNS("http://www.w3.org/1999/xlink",K,Y)}function v(V,K,Y,Q){if(C(K,Y)){var he=Y?K.textFill:K.fill;he=he==="transparent"?o:he,T(V,"fill",he),T(V,"fill-opacity",K.fillOpacity!=null?K.fillOpacity*K.opacity:K.opacity)}else T(V,"fill",o);if(x(K,Y)){var G=Y?K.textStroke:K.stroke;G=G==="transparent"?o:G,T(V,"stroke",G);var ye=Y?K.textStrokeWidth:K.lineWidth,Ae=!Y&&K.strokeNoScale?Q.getLineScale():1;T(V,"stroke-width",ye/Ae),T(V,"paint-order",Y?"stroke":"fill"),T(V,"stroke-opacity",K.strokeOpacity!=null?K.strokeOpacity:K.opacity);var ge=K.lineDash;ge?(T(V,"stroke-dasharray",K.lineDash.join(",")),T(V,"stroke-dashoffset",d(K.lineDashOffset||0))):T(V,"stroke-dasharray",""),K.lineCap&&T(V,"stroke-linecap",K.lineCap),K.lineJoin&&T(V,"stroke-linejoin",K.lineJoin),K.miterLimit&&T(V,"stroke-miterlimit",K.miterLimit)}else T(V,"stroke",o)}function S(V){for(var K=[],Y=V.data,Q=V.len(),he=0;he<Q;){var G=Y[he++],ye="",Ae=0;switch(G){case a.M:ye="M",Ae=2;break;case a.L:ye="L",Ae=2;break;case a.Q:ye="Q",Ae=4;break;case a.C:ye="C",Ae=6;break;case a.A:var ge=Y[he++],Pe=Y[he++],Re=Y[he++],rt=Y[he++],ne=Y[he++],be=Y[he++],at=Y[he++],se=Y[he++],q=Math.abs(be),X=w(q-s)||(se?be>=s:-be>=s),Z=be>0?be%s:be%s+s,pe=!1;X?pe=!0:w(q)?pe=!1:pe=Z>=t===!!se;var oe=A(ge+Re*l(ne)),Ie=A(Pe+rt*n(ne));X&&(se?be=s-1e-4:be=-s+1e-4,pe=!0,he===9&&K.push("M",oe,Ie));var fe=A(ge+Re*l(ne+be)),te=A(Pe+rt*n(ne+be));K.push("A",A(Re),A(rt),d(at*c),+pe,+se,fe,te);break;case a.Z:ye="Z";break;case a.R:var fe=A(Y[he++]),te=A(Y[he++]),J=A(Y[he++]),ve=A(Y[he++]);K.push("M",fe,te,"L",fe+J,te,"L",fe+J,te+ve,"L",fe,te+ve,"L",fe,te);break}ye&&K.push(ye);for(var De=0;De<Ae;De++)K.push(A(Y[he++]))}return K.join(" ")}var O={};O.brush=function(V){var K=V.style,Y=V.__svgEl;Y||(Y=f("path"),V.__svgEl=Y),V.path||V.createPathProxy();var Q=V.path;if(V.__dirtyPath){Q.beginPath(),Q.subPixelOptimize=!1,V.buildPath(Q,V.shape),V.__dirtyPath=!1;var he=S(Q);he.indexOf("NaN")<0&&T(Y,"d",he)}v(Y,K,!1,V),E(Y,V.transform),K.text!=null?N(V,V.getBoundingRect()):B(V)};var L={};L.brush=function(V){var K=V.style,Y=K.image;if(Y instanceof HTMLImageElement){var Q=Y.src;Y=Q}if(!Y)return;var he=K.x||0,G=K.y||0,ye=K.width,Ae=K.height,ge=V.__svgEl;ge||(ge=f("image"),V.__svgEl=ge),Y!==V.__imageSrc&&(_(ge,"href",Y),V.__imageSrc=Y),T(ge,"width",ye),T(ge,"height",Ae),T(ge,"x",he),T(ge,"y",G),E(ge,V.transform),K.text!=null?N(V,V.getBoundingRect()):B(V)};var M={},F=new m,U={},z=[],W={left:"start",right:"end",center:"middle",middle:"middle"},N=function(K,Y){var Q=K.style,he=K.transform,G=K instanceof i||Q.transformText;K.__dirty&&u.normalizeTextStyle(Q,!0);var ye=Q.text;if(ye!=null&&(ye+=""),!u.needDrawText(ye,Q))return;ye==null&&(ye=""),!G&&he&&(F.copy(Y),F.applyTransform(he),Y=F);var Ae=K.__textSvgEl;Ae||(Ae=f("text"),K.__textSvgEl=Ae);var ge=Ae.style,Pe=Q.font||h.DEFAULT_FONT,Re=Ae.__computedFont;Pe!==Ae.__styleFont&&(ge.font=Ae.__styleFont=Pe,Re=Ae.__computedFont=ge.font);var rt=Q.textPadding,ne=Q.textLineHeight,be=K.__textCotentBlock;(!be||K.__dirtyText)&&(be=K.__textCotentBlock=h.parsePlainText(ye,Re,rt,ne,Q.truncate));var at=be.outerHeight,se=be.lineHeight;u.getBoxPosition(U,K,Q,Y);var q=U.baseX,X=U.baseY,Z=U.textAlign||"left",pe=U.textVerticalAlign;H(Ae,G,he,Q,Y,q,X);var oe=h.adjustTextY(X,at,pe),Ie=q,fe=oe;rt&&(Ie=j(q,Z,rt),fe+=rt[0]),fe+=se/2,v(Ae,Q,!0,K);var te=be.canCacheByTextString,J=K.__tspanList||(K.__tspanList=[]),ve=J.length;if(te&&K.__canCacheByTextString&&K.__text===ye){if(K.__dirtyText&&ve)for(var De=0;De<ve;++De)k(J[De],Z,Ie,fe+De*se)}else{K.__text=ye,K.__canCacheByTextString=te;for(var ze=be.lines,dt=ze.length,De=0;De<dt;De++){var Me=J[De],Tt=ze[De];Me?Me.__zrText!==Tt&&(Me.innerHTML="",Me.appendChild(document.createTextNode(Tt))):(Me=J[De]=f("tspan"),Ae.appendChild(Me),Me.appendChild(document.createTextNode(Tt))),k(Me,Z,Ie,fe+De*se)}if(ve>dt){for(;De<ve;De++)Ae.removeChild(J[De]);J.length=dt}}};function H(V,K,Y,Q,he,G,ye){y.identity(z),K&&Y&&y.copy(z,Y);var Ae=Q.textRotation;if(he&&Ae){var ge=Q.textOrigin;ge==="center"?(G=he.width/2+he.x,ye=he.height/2+he.y):ge&&(G=ge[0]+he.x,ye=ge[1]+he.y),z[4]-=G,z[5]-=ye,y.rotate(z,z,Ae),z[4]+=G,z[5]+=ye}E(V,z)}function j(V,K,Y){return K==="right"?V-Y[1]:K==="center"?V+Y[3]/2-Y[1]/2:V+Y[3]}function k(V,K,Y,Q){T(V,"dominant-baseline","middle"),T(V,"text-anchor",W[K]),T(V,"x",Y),T(V,"y",Q)}function B(V){V&&V.__textSvgEl&&(V.__textSvgEl.parentNode&&V.__textSvgEl.parentNode.removeChild(V.__textSvgEl),V.__textSvgEl=null,V.__tspanList=[],V.__text=null)}M.drawRectText=N,M.brush=function(V){var K=V.style;K.text!=null?N(V,!1):B(V)},I.path=O,I.image=L,I.text=M},P4Qj:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.removeSensor=I.getSensor=void 0;var g=m(e("chpo")),f=e("FxDU"),b=e("24YM");function m(i){return i&&i.__esModule?i:{default:i}}var y={},h=function(a){var r=a.getAttribute(b.SizeSensorId);if(r&&y[r])return y[r];var o=(0,g.default)();a.setAttribute(b.SizeSensorId,o);var d=(0,f.createSensor)(a);return y[o]=d,d};I.getSensor=h;var u=function(a){var r=a.element.getAttribute(b.SizeSensorId);a.element.removeAttribute(b.SizeSensorId),a.destroy(),r&&y[r]&&delete y[r]};I.removeSensor=u},P5Jw:function(R,I,e){"use strict";var g=e("rHrb"),f=g.CopyToClipboard;f.CopyToClipboard=f,R.exports=f},PArb:function(R,I,e){"use strict";var g=e("pVnL"),f=e.n(g),b=e("lSNA"),m=e.n(b),y=e("q1tI"),h=e.n(y),u=e("TSYQ"),i=e.n(u),a=e("H84U"),r=function(d,n){var l={};for(var t in d)Object.prototype.hasOwnProperty.call(d,t)&&n.indexOf(t)<0&&(l[t]=d[t]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,t=Object.getOwnPropertySymbols(d);s<t.length;s++)n.indexOf(t[s])<0&&Object.prototype.propertyIsEnumerable.call(d,t[s])&&(l[t[s]]=d[t[s]]);return l},o=function(n){return y.createElement(a.a,null,function(l){var t,s=l.getPrefixCls,c=l.direction,p=n.prefixCls,A=n.type,w=A===void 0?"horizontal":A,C=n.orientation,x=C===void 0?"center":C,E=n.className,T=n.children,_=n.dashed,v=n.plain,S=r(n,["prefixCls","type","orientation","className","children","dashed","plain"]),O=s("divider",p),L=x.length>0?"-".concat(x):x,M=!!T,F=i()(E,O,"".concat(O,"-").concat(w),(t={},m()(t,"".concat(O,"-with-text"),M),m()(t,"".concat(O,"-with-text").concat(L),M),m()(t,"".concat(O,"-dashed"),!!_),m()(t,"".concat(O,"-plain"),!!v),m()(t,"".concat(O,"-rtl"),c==="rtl"),t));return y.createElement("div",f()({className:F},S,{role:"separator"}),T&&y.createElement("span",{className:"".concat(O,"-inner-text")},T))})};I.a=o},PD8m:function(R,I){R.exports={name:"memoryStorage",read:g,write:f,each:b,remove:m,clearAll:y};var e={};function g(h){return e[h]}function f(h,u){e[h]=u}function b(h){for(var u in e)e.hasOwnProperty(u)&&h(e[u],u)}function m(h){delete e[h]}function y(h){e={}}},PEeC:function(R,I,e){"use strict";e.d(I,"a",function(){return y}),e.d(I,"b",function(){return h});var g=e("RIqP"),f=e.n(g),b=e("xEkU"),m=e.n(b);function y(u){var i,a=function(d){return function(){i=null,u.apply(void 0,f()(d))}},r=function(){if(i==null){for(var d=arguments.length,n=new Array(d),l=0;l<d;l++)n[l]=arguments[l];i=m()(a(n))}};return r.cancel=function(){return m.a.cancel(i)},r}function h(){return function(u,i,a){var r=a.value,o=!1;return{configurable:!0,get:function(){if(o||this===u.prototype||this.hasOwnProperty(i))return r;var n=y(r.bind(this));return o=!0,Object.defineProperty(this,i,{value:n,configurable:!0,writable:!0}),o=!1,n}}}}},PKem:function(R,I,e){"use strict";e.d(I,"a",function(){return C});var g=e("RIqP"),f=e.n(g),b=e("lSNA"),m=e.n(b),y=e("pVnL"),h=e.n(y),u=e("lwsE"),i=e.n(u),a=e("W8MJ"),r=e.n(a),o=e("7W2i"),d=e.n(o),n=e("LQ03"),l=e.n(n),t=e("q1tI"),s=e.n(t),c=e("TSYQ"),p=e.n(c),A=e("H84U"),w=function(L,M){var F={};for(var U in L)Object.prototype.hasOwnProperty.call(L,U)&&M.indexOf(U)<0&&(F[U]=L[U]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,U=Object.getOwnPropertySymbols(L);z<U.length;z++)M.indexOf(U[z])<0&&Object.prototype.propertyIsEnumerable.call(L,U[z])&&(F[U[z]]=L[U[z]]);return F},C=t.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function x(L){var M=L.suffixCls,F=L.tagName,U=L.displayName;return function(z){var W;return W=function(N){d()(j,N);var H=l()(j);function j(){var k;return i()(this,j),k=H.apply(this,arguments),k.renderComponent=function(B){var V=B.getPrefixCls,K=k.props.prefixCls,Y=V(M,K);return t.createElement(z,h()({prefixCls:Y,tagName:F},k.props))},k}return r()(j,[{key:"render",value:function(){return t.createElement(A.a,null,this.renderComponent)}}]),j}(t.Component),W.displayName=U,W}}var E=function(M){var F=M.prefixCls,U=M.className,z=M.children,W=M.tagName,N=w(M,["prefixCls","className","children","tagName"]),H=p()(F,U);return t.createElement(W,h()({className:H},N),z)},T=function(L){d()(F,L);var M=l()(F);function F(){var U;return i()(this,F),U=M.apply(this,arguments),U.state={siders:[]},U.renderComponent=function(z){var W,N=z.direction,H=U.props,j=H.prefixCls,k=H.className,B=H.children,V=H.hasSider,K=H.tagName,Y=w(H,["prefixCls","className","children","hasSider","tagName"]),Q=p()(j,(W={},m()(W,"".concat(j,"-has-sider"),typeof V=="boolean"?V:U.state.siders.length>0),m()(W,"".concat(j,"-rtl"),N==="rtl"),W),k);return t.createElement(C.Provider,{value:{siderHook:U.getSiderHook()}},t.createElement(K,h()({className:Q},Y),B))},U}return r()(F,[{key:"getSiderHook",value:function(){var z=this;return{addSider:function(N){z.setState(function(H){return{siders:[].concat(f()(H.siders),[N])}})},removeSider:function(N){z.setState(function(H){return{siders:H.siders.filter(function(j){return j!==N})}})}}}},{key:"render",value:function(){return t.createElement(A.a,null,this.renderComponent)}}]),F}(t.Component),_=x({suffixCls:"layout",tagName:"section",displayName:"Layout"})(T),v=x({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(E),S=x({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(E),O=x({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(E);_.Header=v,_.Footer=S,_.Content=O,I.b=_},PNag:function(R,I,e){var g=e("bYtY"),f=e("SKnc"),b=e("YH21"),m=e("crZl"),y=e("IwbS"),h=e("OELB"),u=e("72pK"),i=e("y7Aq"),a=e("4NO4"),r=h.linearMap,o=g.each,d=Math.min,n=Math.max,l=12,t=6,s=m.extend({type:"visualMap.continuous",init:function(){s.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(T,_,v,S){(!S||S.type!=="selectDataRange"||S.from!==this.uid)&&this._buildView()},_buildView:function(){this.group.removeAll();var T=this.visualMapModel,_=this.group;this._orient=T.get("orient"),this._useHandle=T.get("calculable"),this._resetInterval(),this._renderBar(_);var v=T.get("text");this._renderEndsText(_,v,0),this._renderEndsText(_,v,1),this._updateView(!0),this.renderBackground(_),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(_)},_renderEndsText:function(T,_,v){if(!_)return;var S=_[1-v];S=S!=null?S+"":"";var O=this.visualMapModel,L=O.get("textGap"),M=O.itemSize,F=this._shapes.barGroup,U=this._applyTransform([M[0]/2,v===0?-L:M[1]+L],F),z=this._applyTransform(v===0?"bottom":"top",F),W=this._orient,N=this.visualMapModel.textStyleModel;this.group.add(new y.Text({style:{x:U[0],y:U[1],textVerticalAlign:W==="horizontal"?"middle":z,textAlign:W==="horizontal"?z:"center",text:S,textFont:N.getFont(),textFill:N.getTextColor()}}))},_renderBar:function(T){var _=this.visualMapModel,v=this._shapes,S=_.itemSize,O=this._orient,L=this._useHandle,M=i.getItemAlign(_,this.api,S),F=v.barGroup=this._createBarGroup(M);F.add(v.outOfRange=c()),F.add(v.inRange=c(null,L?x(this._orient):null,g.bind(this._dragHandle,this,"all",!1),g.bind(this._dragHandle,this,"all",!0)));var U=_.textStyleModel.getTextRect("\u56FD"),z=n(U.width,U.height);L&&(v.handleThumbs=[],v.handleLabels=[],v.handleLabelPoints=[],this._createHandle(F,0,S,z,O,M),this._createHandle(F,1,S,z,O,M)),this._createIndicator(F,S,z,O),T.add(F)},_createHandle:function(T,_,v,S,O){var L=g.bind(this._dragHandle,this,_,!1),M=g.bind(this._dragHandle,this,_,!0),F=c(p(_,S),x(this._orient),L,M);F.position[0]=v[0],T.add(F);var U=this.visualMapModel.textStyleModel,z=new y.Text({draggable:!0,drift:L,onmousemove:function(H){b.stop(H.event)},ondragend:M,style:{x:0,y:0,text:"",textFont:U.getFont(),textFill:U.getTextColor()}});this.group.add(z);var W=[O==="horizontal"?S/2:S*1.5,O==="horizontal"?_===0?-(S*1.5):S*1.5:_===0?-S/2:S/2],N=this._shapes;N.handleThumbs[_]=F,N.handleLabelPoints[_]=W,N.handleLabels[_]=z},_createIndicator:function(T,_,v,S){var O=c([[0,0]],"move");O.position[0]=_[0],O.attr({invisible:!0,silent:!0}),T.add(O);var L=this.visualMapModel.textStyleModel,M=new y.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:L.getFont(),textFill:L.getTextColor()}});this.group.add(M);var F=[S==="horizontal"?v/2:t+3,0],U=this._shapes;U.indicator=O,U.indicatorLabel=M,U.indicatorLabelPoint=F},_dragHandle:function(T,_,v,S){if(!this._useHandle)return;if(this._dragging=!_,!_){var O=this._applyTransform([v,S],this._shapes.barGroup,!0);this._updateInterval(T,O[1]),this._updateView()}_===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),_?!this._hovering&&this._clearHoverLinkToSeries():C(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[T],!1)},_resetInterval:function(){var T=this.visualMapModel,_=this._dataInterval=T.getSelected(),v=T.getExtent(),S=[0,T.itemSize[1]];this._handleEnds=[r(_[0],v,S,!0),r(_[1],v,S,!0)]},_updateInterval:function(T,_){_=_||0;var v=this.visualMapModel,S=this._handleEnds,O=[0,v.itemSize[1]];u(_,S,O,T,0);var L=v.getExtent();this._dataInterval=[r(S[0],O,L,!0),r(S[1],O,L,!0)]},_updateView:function(T){var _=this.visualMapModel,v=_.getExtent(),S=this._shapes,O=[0,_.itemSize[1]],L=T?O:this._handleEnds,M=this._createBarVisual(this._dataInterval,v,L,"inRange"),F=this._createBarVisual(v,v,O,"outOfRange");S.inRange.setStyle({fill:M.barColor,opacity:M.opacity}).setShape("points",M.barPoints),S.outOfRange.setStyle({fill:F.barColor,opacity:F.opacity}).setShape("points",F.barPoints),this._updateHandle(L,M)},_createBarVisual:function(T,_,v,S){var O={forceState:S,convertOpacityToAlpha:!0},L=this._makeColorGradient(T,O),M=[this.getControllerVisual(T[0],"symbolSize",O),this.getControllerVisual(T[1],"symbolSize",O)],F=this._createBarPoints(v,M);return{barColor:new f(0,0,0,1,L),barPoints:F,handlesColor:[L[0].color,L[L.length-1].color]}},_makeColorGradient:function(T,_){var v=100,S=[],O=(T[1]-T[0])/v;S.push({color:this.getControllerVisual(T[0],"color",_),offset:0});for(var L=1;L<v;L++){var M=T[0]+O*L;if(M>T[1])break;S.push({color:this.getControllerVisual(M,"color",_),offset:L/v})}return S.push({color:this.getControllerVisual(T[1],"color",_),offset:1}),S},_createBarPoints:function(T,_){var v=this.visualMapModel.itemSize;return[[v[0]-_[0],T[0]],[v[0],T[0]],[v[0],T[1]],[v[0]-_[1],T[1]]]},_createBarGroup:function(T){var _=this._orient,v=this.visualMapModel.get("inverse");return new y.Group(_==="horizontal"&&!v?{scale:T==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:_==="horizontal"&&v?{scale:T==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:_==="vertical"&&!v?{scale:T==="left"?[1,-1]:[-1,-1]}:{scale:T==="left"?[1,1]:[-1,1]})},_updateHandle:function(T,_){if(!this._useHandle)return;var v=this._shapes,S=this.visualMapModel,O=v.handleThumbs,L=v.handleLabels;o([0,1],function(M){var F=O[M];F.setStyle("fill",_.handlesColor[M]),F.position[1]=T[M];var U=y.applyTransform(v.handleLabelPoints[M],y.getTransform(F,this.group));L[M].setStyle({x:U[0],y:U[1],text:S.formatValueText(this._dataInterval[M]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?M===0?"bottom":"top":"left",v.barGroup)})},this)},_showIndicator:function(T,_,v,S){var O=this.visualMapModel,L=O.getExtent(),M=O.itemSize,F=[0,M[1]],U=r(T,L,F,!0),z=this._shapes,W=z.indicator;if(!W)return;W.position[1]=U,W.attr("invisible",!1),W.setShape("points",A(!!v,S,U,M[1]));var N={convertOpacityToAlpha:!0},H=this.getControllerVisual(T,"color",N);W.setStyle("fill",H);var j=y.applyTransform(z.indicatorLabelPoint,y.getTransform(W,this.group)),k=z.indicatorLabel;k.attr("invisible",!1);var B=this._applyTransform("left",z.barGroup),V=this._orient;k.setStyle({text:(v||"")+O.formatValueText(_),textVerticalAlign:V==="horizontal"?B:"middle",textAlign:V==="horizontal"?"center":B,x:j[0],y:j[1]})},_enableHoverLinkToSeries:function(){var T=this;this._shapes.barGroup.on("mousemove",function(_){if(T._hovering=!0,!T._dragging){var v=T.visualMapModel.itemSize,S=T._applyTransform([_.offsetX,_.offsetY],T._shapes.barGroup,!0,!0);S[1]=d(n(0,S[1]),v[1]),T._doHoverLinkToSeries(S[1],0<=S[0]&&S[0]<=v[0])}}).on("mouseout",function(){T._hovering=!1,!T._dragging&&T._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var T=this.api.getZr();this.visualMapModel.option.hoverLink?(T.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),T.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(T,_){var v=this.visualMapModel,S=v.itemSize;if(!v.option.hoverLink)return;var O=[0,S[1]],L=v.getExtent();T=d(n(O[0],T),O[1]);var M=w(v,L,O),F=[T-M,T+M],U=r(T,O,L,!0),z=[r(F[0],O,L,!0),r(F[1],O,L,!0)];F[0]<O[0]&&(z[0]=-Infinity),F[1]>O[1]&&(z[1]=Infinity),_&&(z[0]===-Infinity?this._showIndicator(U,z[1],"< ",M):z[1]===Infinity?this._showIndicator(U,z[0],"> ",M):this._showIndicator(U,U,"\u2248 ",M));var W=this._hoverLinkDataIndices,N=[];(_||C(v))&&(N=this._hoverLinkDataIndices=v.findTargetDataIndices(z));var H=a.compressBatches(W,N);this._dispatchHighDown("downplay",i.makeHighDownBatch(H[0],v)),this._dispatchHighDown("highlight",i.makeHighDownBatch(H[1],v))},_hoverLinkFromSeriesMouseOver:function(T){var _=T.target,v=this.visualMapModel;if(!_||_.dataIndex==null)return;var S=this.ecModel.getSeriesByIndex(_.seriesIndex);if(!v.isTargetSeries(S))return;var O=S.getData(_.dataType),L=O.get(v.getDataDimension(O),_.dataIndex,!0);isNaN(L)||this._showIndicator(L,L)},_hideIndicator:function(){var T=this._shapes;T.indicator&&T.indicator.attr("invisible",!0),T.indicatorLabel&&T.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var T=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",i.makeHighDownBatch(T,this.visualMapModel)),T.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var T=this.api.getZr();T.off("mouseover",this._hoverLinkFromSeriesMouseOver),T.off("mouseout",this._hideIndicator)},_applyTransform:function(T,_,v,S){var O=y.getTransform(_,S?null:this.group);return y[g.isArray(T)?"applyTransform":"transformDirection"](T,O,v)},_dispatchHighDown:function(T,_){_&&_.length&&this.api.dispatchAction({type:T,batch:_})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function c(T,_,v,S){return new y.Polygon({shape:{points:T},draggable:!!v,cursor:_,drift:v,onmousemove:function(O){b.stop(O.event)},ondragend:S})}function p(T,_){return T===0?[[0,0],[_,0],[_,-_]]:[[0,0],[_,0],[_,_]]}function A(T,_,v,S){return T?[[0,-d(_,n(v,0))],[t,0],[0,d(_,n(S-v,0))]]:[[0,0],[5,-5],[5,5]]}function w(T,_,v){var S=l/2,O=T.get("hoverLinkDataSize");return O&&(S=r(O,_,v,!0)/2),S}function C(T){var _=T.get("hoverLinkOnHandle");return!!(_==null?T.get("realtime"):_)}function x(T){return T==="vertical"?"ns-resize":"ew-resize"}var E=s;R.exports=E},PQMj:function(R,I,e){},PSzr:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};I.default=g},ProS:function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("aX58"),m=e("bYtY"),y=e("Qe9p"),h=e("ItGF"),u=e("BPZU"),i=e("H6uX"),a=e("fmMI"),r=e("hD7B"),o=e("IDmD"),d=e("ypgQ"),n=e("+wW9"),l=e("0V0F"),t=e("bLfw"),s=e("T4UG"),c=e("sS/r"),p=e("6Ic6"),A=e("IwbS"),w=e("4NO4"),C=e("iLNv"),x=C.throttle,E=e("/WM3"),T=e("uAnK"),_=e("mYwL"),v=e("af/B"),S=e("xTNl"),O=e("8hn6");e("A1Ka");var L=e("7DRL"),M=m.assert,F=m.each,U=m.isFunction,z=m.isObject,W=t.parseClassType,N="4.8.0",H={zrender:"4.3.1"},j=1,k=1e3,B=800,V=900,K=5e3,Y=1e3,Q=1100,he=2e3,G=3e3,ye=3500,Ae=4e3,ge=5e3,Pe={PROCESSOR:{FILTER:k,SERIES_FILTER:B,STATISTIC:K},VISUAL:{LAYOUT:Y,PROGRESSIVE_LAYOUT:Q,GLOBAL:he,CHART:G,POST_CHART_LAYOUT:ye,COMPONENT:Ae,BRUSH:ge}},Re="__flagInMainProcess",rt="__optionUpdated",ne=/^[a-zA-Z0-9_]+$/;function be(ht,Et){return function(pt,vt,Nt){if(!Et&&this._disposed){Xe(this.id);return}pt=pt&&pt.toLowerCase(),i.prototype[ht].call(this,pt,vt,Nt)}}function at(){i.call(this)}at.prototype.on=be("on",!0),at.prototype.off=be("off",!0),at.prototype.one=be("one",!0),m.mixin(at,i);function se(ht,Et,pt){pt=pt||{},typeof Et=="string"&&(Et=ft[Et]),this.id,this.group,this._dom=ht;var vt="canvas",Nt=this._zr=b.init(ht,{renderer:pt.renderer||vt,devicePixelRatio:pt.devicePixelRatio,width:pt.width,height:pt.height});this._throttledZrFlush=x(m.bind(Nt.flush,Nt),17);var Et=m.clone(Et);Et&&n(Et,!0),this._theme=Et,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new o;var _t=this._api=Ve(this);function gt(Ht,kt){return Ht.__prio-kt.__prio}u(mt,gt),u(Ze,gt),this._scheduler=new v(this,_t,Ze,mt),i.call(this,this._ecEventProcessor=new ue),this._messageCenter=new at,this._initEvents(),this.resize=m.bind(this.resize,this),this._pendingActions=[],Nt.animation.on("frame",this._onframe,this),ve(Nt,this),m.setAsPrimitive(this)}var q=se.prototype;q._onframe=function(){if(this._disposed)return;var ht=this._scheduler;if(this[rt]){var Et=this[rt].silent;this[Re]=!0,pe(this),Z.update.call(this),this[Re]=!1,this[rt]=!1,te.call(this,Et),J.call(this,Et)}else if(ht.unfinished){var pt=j,vt=this._model,Nt=this._api;ht.unfinished=!1;do{var _t=+new Date;ht.performSeriesTasks(vt),ht.performDataProcessorTasks(vt),Ie(this,vt),ht.performVisualTasks(vt),Tt(this,this._model,Nt,"remain"),pt-=+new Date-_t}while(pt>0&&ht.unfinished);ht.unfinished||this._zr.flush()}},q.getDom=function(){return this._dom},q.getZr=function(){return this._zr},q.setOption=function(ht,Et,pt){if(this._disposed){Xe(this.id);return}var vt;if(z(Et)&&(pt=Et.lazyUpdate,vt=Et.silent,Et=Et.notMerge),this[Re]=!0,!this._model||Et){var Nt=new d(this._api),_t=this._theme,gt=this._model=new a;gt.scheduler=this._scheduler,gt.init(null,null,_t,Nt)}this._model.setOption(ht,Te),pt?(this[rt]={silent:vt},this[Re]=!1):(pe(this),Z.update.call(this),this._zr.flush(),this[rt]=!1,this[Re]=!1,te.call(this,vt),J.call(this,vt))},q.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},q.getModel=function(){return this._model},q.getOption=function(){return this._model&&this._model.getOption()},q.getWidth=function(){return this._zr.getWidth()},q.getHeight=function(){return this._zr.getHeight()},q.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},q.getRenderedCanvas=function(ht){if(!h.canvasSupported)return;ht=ht||{},ht.pixelRatio=ht.pixelRatio||1,ht.backgroundColor=ht.backgroundColor||this._model.get("backgroundColor");var Et=this._zr;return Et.painter.getRenderedCanvas(ht)},q.getSvgDataURL=function(){if(!h.svgSupported)return;var ht=this._zr,Et=ht.storage.getDisplayList();return m.each(Et,function(pt){pt.stopAnimation(!0)}),ht.painter.toDataURL()},q.getDataURL=function(ht){if(this._disposed){Xe(this.id);return}ht=ht||{};var Et=ht.excludeComponents,pt=this._model,vt=[],Nt=this;F(Et,function(gt){pt.eachComponent({mainType:gt},function(Ht){var kt=Nt._componentsMap[Ht.__viewId];kt.group.ignore||(vt.push(kt),kt.group.ignore=!0)})});var _t=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(ht).toDataURL("image/"+(ht&&ht.type||"png"));return F(vt,function(gt){gt.group.ignore=!1}),_t},q.getConnectedDataURL=function(ht){if(this._disposed){Xe(this.id);return}if(!h.canvasSupported)return;var Et=ht.type==="svg",pt=this.group,vt=Math.min,Nt=Math.max,_t=Infinity;if(or[pt]){var gt=_t,Ht=_t,kt=-_t,ir=-_t,Xt=[],mr=ht&&ht.pixelRatio||1;m.each(Lt,function(_r,Qr){if(_r.group===pt){var Ir=Et?_r.getZr().painter.getSvgDom().innerHTML:_r.getRenderedCanvas(m.clone(ht)),cr=_r.getDom().getBoundingClientRect();gt=vt(cr.left,gt),Ht=vt(cr.top,Ht),kt=Nt(cr.right,kt),ir=Nt(cr.bottom,ir),Xt.push({dom:Ir,left:cr.left,top:cr.top})}}),gt*=mr,Ht*=mr,kt*=mr,ir*=mr;var Ar=kt-gt,Nr=ir-Ht,kr=m.createCanvas(),tn=b.init(kr,{renderer:Et?"svg":"canvas"});if(tn.resize({width:Ar,height:Nr}),Et){var qr="";return F(Xt,function(_r){var Qr=_r.left-gt,Ir=_r.top-Ht;qr+='<g transform="translate('+Qr+","+Ir+')">'+_r.dom+"</g>"}),tn.painter.getSvgRoot().innerHTML=qr,ht.connectedBackgroundColor&&tn.painter.setBackgroundColor(ht.connectedBackgroundColor),tn.refreshImmediately(),tn.painter.toDataURL()}else return ht.connectedBackgroundColor&&tn.add(new A.Rect({shape:{x:0,y:0,width:Ar,height:Nr},style:{fill:ht.connectedBackgroundColor}})),F(Xt,function(_r){var Qr=new A.Image({style:{x:_r.left*mr-gt,y:_r.top*mr-Ht,image:_r.dom}});tn.add(Qr)}),tn.refreshImmediately(),kr.toDataURL("image/"+(ht&&ht.type||"png"))}else return this.getDataURL(ht)},q.convertToPixel=m.curry(X,"convertToPixel"),q.convertFromPixel=m.curry(X,"convertFromPixel");function X(ht,Et,pt){if(this._disposed){Xe(this.id);return}var vt=this._model,Nt=this._coordSysMgr.getCoordinateSystems(),_t;Et=w.parseFinder(vt,Et);for(var gt=0;gt<Nt.length;gt++){var Ht=Nt[gt];if(Ht[ht]&&(_t=Ht[ht](vt,Et,pt))!=null)return _t}}q.containPixel=function(ht,Et){if(this._disposed){Xe(this.id);return}var pt=this._model,vt;return ht=w.parseFinder(pt,ht),m.each(ht,function(Nt,_t){_t.indexOf("Models")>=0&&m.each(Nt,function(gt){var Ht=gt.coordinateSystem;if(Ht&&Ht.containPoint)vt|=!!Ht.containPoint(Et);else if(_t==="seriesModels"){var kt=this._chartsMap[gt.__viewId];kt&&kt.containPoint&&(vt|=kt.containPoint(Et,gt))}},this)},this),!!vt},q.getVisual=function(ht,Et){var pt=this._model;ht=w.parseFinder(pt,ht,{defaultMainType:"series"});var vt=ht.seriesModel,Nt=vt.getData(),_t=ht.hasOwnProperty("dataIndexInside")?ht.dataIndexInside:ht.hasOwnProperty("dataIndex")?Nt.indexOfRawIndex(ht.dataIndex):null;return _t!=null?Nt.getItemVisual(_t,Et):Nt.getVisual(Et)},q.getViewOfComponentModel=function(ht){return this._componentsMap[ht.__viewId]},q.getViewOfSeriesModel=function(ht){return this._chartsMap[ht.__viewId]};var Z={prepareAndUpdate:function(ht){pe(this),Z.update.call(this,ht)},update:function(ht){var Et=this._model,pt=this._api,vt=this._zr,Nt=this._coordSysMgr,_t=this._scheduler;if(!Et)return;_t.restoreData(Et,ht),_t.performSeriesTasks(Et),Nt.create(Et,pt),_t.performDataProcessorTasks(Et,ht),Ie(this,Et),Nt.update(Et,pt),ze(Et),_t.performVisualTasks(Et,ht),dt(this,Et,pt,ht);var gt=Et.get("backgroundColor")||"transparent";if(h.canvasSupported)vt.setBackgroundColor(gt);else{var Ht=y.parse(gt);gt=y.stringify(Ht,"rgb"),Ht[3]===0&&(gt="transparent")}je(Et,pt)},updateTransform:function(ht){var Et=this._model,pt=this,vt=this._api;if(!Et)return;var Nt=[];Et.eachComponent(function(gt,Ht){var kt=pt.getViewOfComponentModel(Ht);if(kt&&kt.__alive)if(kt.updateTransform){var ir=kt.updateTransform(Ht,Et,vt,ht);ir&&ir.update&&Nt.push(kt)}else Nt.push(kt)});var _t=m.createHashMap();Et.eachSeries(function(gt){var Ht=pt._chartsMap[gt.__viewId];if(Ht.updateTransform){var kt=Ht.updateTransform(gt,Et,vt,ht);kt&&kt.update&&_t.set(gt.uid,1)}else _t.set(gt.uid,1)}),ze(Et),this._scheduler.performVisualTasks(Et,ht,{setDirty:!0,dirtyMap:_t}),Tt(pt,Et,vt,ht,_t),je(Et,this._api)},updateView:function(ht){var Et=this._model;if(!Et)return;p.markUpdateMethod(ht,"updateView"),ze(Et),this._scheduler.performVisualTasks(Et,ht,{setDirty:!0}),dt(this,this._model,this._api,ht),je(Et,this._api)},updateVisual:function(ht){Z.update.call(this,ht)},updateLayout:function(ht){Z.update.call(this,ht)}};function pe(ht){var Et=ht._model,pt=ht._scheduler;pt.restorePipelines(Et),pt.prepareStageTasks(),De(ht,"component",Et,pt),De(ht,"chart",Et,pt),pt.plan()}function oe(ht,Et,pt,vt,Nt){var _t=ht._model;if(!vt){F(ht._componentsViews.concat(ht._chartsViews),ir);return}var gt={};gt[vt+"Id"]=pt[vt+"Id"],gt[vt+"Index"]=pt[vt+"Index"],gt[vt+"Name"]=pt[vt+"Name"];var Ht={mainType:vt,query:gt};Nt&&(Ht.subType=Nt);var kt=pt.excludeSeriesId;kt!=null&&(kt=m.createHashMap(w.normalizeToArray(kt))),_t&&_t.eachComponent(Ht,function(Xt){(!kt||kt.get(Xt.id)==null)&&ir(ht[vt==="series"?"_chartsMap":"_componentsMap"][Xt.__viewId])},ht);function ir(Xt){Xt&&Xt.__alive&&Xt[Et]&&Xt[Et](Xt.__model,_t,ht._api,pt)}}q.resize=function(ht){if(this._disposed){Xe(this.id);return}this._zr.resize(ht);var Et=this._model;if(this._loadingFX&&this._loadingFX.resize(),!Et)return;var pt=Et.resetOption("media"),vt=ht&&ht.silent;this[Re]=!0,pt&&pe(this),Z.update.call(this),this[Re]=!1,te.call(this,vt),J.call(this,vt)};function Ie(ht,Et){var pt=ht._chartsMap,vt=ht._scheduler;Et.eachSeries(function(Nt){vt.updateStreamModes(Nt,pt[Nt.__viewId])})}q.showLoading=function(ht,Et){if(this._disposed){Xe(this.id);return}if(z(ht)&&(Et=ht,ht=""),ht=ht||"default",this.hideLoading(),!bt[ht])return;var pt=bt[ht](this._api,Et),vt=this._zr;this._loadingFX=pt,vt.add(pt)},q.hideLoading=function(){if(this._disposed){Xe(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},q.makeActionFromEvent=function(ht){var Et=m.extend({},ht);return Et.type=lt[ht.type],Et},q.dispatchAction=function(ht,Et){if(this._disposed){Xe(this.id);return}if(z(Et)||(Et={silent:!!Et}),!ae[ht.type])return;if(!this._model)return;if(this[Re]){this._pendingActions.push(ht);return}fe.call(this,ht,Et.silent),Et.flush?this._zr.flush(!0):Et.flush!==!1&&h.browser.weChat&&this._throttledZrFlush(),te.call(this,Et.silent),J.call(this,Et.silent)};function fe(ht,Et){var pt=ht.type,vt=ht.escapeConnect,Nt=ae[pt],_t=Nt.actionInfo,gt=(_t.update||"update").split(":"),Ht=gt.pop();gt=gt[0]!=null&&W(gt[0]),this[Re]=!0;var kt=[ht],ir=!1;ht.batch&&(ir=!0,kt=m.map(ht.batch,function(Nr){return Nr=m.defaults(m.extend({},Nr),ht),Nr.batch=null,Nr}));var Xt=[],mr,Ar=pt==="highlight"||pt==="downplay";F(kt,function(Nr){mr=Nt.action(Nr,this._model,this._api),mr=mr||m.extend({},Nr),mr.type=_t.event||mr.type,Xt.push(mr),Ar?oe(this,Ht,Nr,"series"):gt&&oe(this,Ht,Nr,gt.main,gt.sub)},this),Ht!=="none"&&!Ar&&!gt&&(this[rt]?(pe(this),Z.update.call(this,ht),this[rt]=!1):Z[Ht].call(this,ht)),ir?mr={type:_t.event||pt,escapeConnect:vt,batch:Xt}:mr=Xt[0],this[Re]=!1,!Et&&this._messageCenter.trigger(mr.type,mr)}function te(ht){for(var Et=this._pendingActions;Et.length;){var pt=Et.shift();fe.call(this,pt,ht)}}function J(ht){!ht&&this.trigger("updated")}function ve(ht,Et){ht.on("rendered",function(){Et.trigger("rendered"),ht.animation.isFinished()&&!Et[rt]&&!Et._scheduler.unfinished&&!Et._pendingActions.length&&Et.trigger("finished")})}q.appendData=function(ht){if(this._disposed){Xe(this.id);return}var Et=ht.seriesIndex,pt=this.getModel(),vt=pt.getSeriesByIndex(Et);vt.appendData(ht),this._scheduler.unfinished=!0},q.on=be("on",!1),q.off=be("off",!1),q.one=be("one",!1);function De(ht,Et,pt,vt){for(var Nt=Et==="component",_t=Nt?ht._componentsViews:ht._chartsViews,gt=Nt?ht._componentsMap:ht._chartsMap,Ht=ht._zr,kt=ht._api,ir=0;ir<_t.length;ir++)_t[ir].__alive=!1;Nt?pt.eachComponent(function(Ar,Nr){Ar!=="series"&&Xt(Nr)}):pt.eachSeries(Xt);function Xt(Ar){var Nr="_ec_"+Ar.id+"_"+Ar.type,kr=gt[Nr];if(!kr){var tn=W(Ar.type),qr=Nt?c.getClass(tn.main,tn.sub):p.getClass(tn.sub);kr=new qr,kr.init(pt,kt),gt[Nr]=kr,_t.push(kr),Ht.add(kr.group)}Ar.__viewId=kr.__id=Nr,kr.__alive=!0,kr.__model=Ar,kr.group.__ecComponentInfo={mainType:Ar.mainType,index:Ar.componentIndex},!Nt&&vt.prepareView(kr,Ar,pt,kt)}for(var ir=0;ir<_t.length;){var mr=_t[ir];mr.__alive?ir++:(!Nt&&mr.renderTask.dispose(),Ht.remove(mr.group),mr.dispose(pt,kt),_t.splice(ir,1),delete gt[mr.__id],mr.__id=mr.group.__ecComponentInfo=null)}}function ze(ht){ht.clearColorPalette(),ht.eachSeries(function(Et){Et.clearColorPalette()})}function dt(ht,Et,pt,vt){Me(ht,Et,pt,vt),F(ht._chartsViews,function(Nt){Nt.__alive=!1}),Tt(ht,Et,pt,vt),F(ht._chartsViews,function(Nt){Nt.__alive||Nt.remove(Et,pt)})}function Me(ht,Et,pt,vt,Nt){F(Nt||ht._componentsViews,function(_t){var gt=_t.__model;_t.render(gt,Et,pt,vt),ot(gt,_t)})}function Tt(ht,Et,pt,vt,Nt){var _t=ht._scheduler,gt;Et.eachSeries(function(Ht){var kt=ht._chartsMap[Ht.__viewId];kt.__alive=!0;var ir=kt.renderTask;_t.updatePayload(ir,vt),Nt&&Nt.get(Ht.uid)&&ir.dirty(),gt|=ir.perform(_t.getPerformArgs(ir)),kt.group.silent=!!Ht.get("silent"),ot(Ht,kt),et(Ht,kt)}),_t.unfinished|=gt,Je(ht,Et),T(ht._zr.dom,Et)}function je(ht,Et){F(Jt,function(pt){pt(ht,Et)})}var st=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];q._initEvents=function(){F(st,function(ht){var Et=function(pt){var vt=this.getModel(),Nt=pt.target,_t,gt=ht==="globalout";if(gt)_t={};else if(Nt&&Nt.dataIndex!=null){var Ht=Nt.dataModel||vt.getSeriesByIndex(Nt.seriesIndex);_t=Ht&&Ht.getDataParams(Nt.dataIndex,Nt.dataType,Nt)||{}}else Nt&&Nt.eventData&&(_t=m.extend({},Nt.eventData));if(_t){var kt=_t.componentType,ir=_t.componentIndex;(kt==="markLine"||kt==="markPoint"||kt==="markArea")&&(kt="series",ir=_t.seriesIndex);var Xt=kt&&ir!=null&&vt.getComponent(kt,ir),mr=Xt&&this[Xt.mainType==="series"?"_chartsMap":"_componentsMap"][Xt.__viewId];_t.event=pt,_t.type=ht,this._ecEventProcessor.eventInfo={targetEl:Nt,packedEvent:_t,model:Xt,view:mr},this.trigger(ht,_t)}};Et.zrEventfulCallAtLast=!0,this._zr.on(ht,Et,this)},this),F(lt,function(ht,Et){this._messageCenter.on(Et,function(pt){this.trigger(Et,pt)},this)},this)},q.isDisposed=function(){return this._disposed},q.clear=function(){if(this._disposed){Xe(this.id);return}this.setOption({series:[]},!0)},q.dispose=function(){if(this._disposed){Xe(this.id);return}this._disposed=!0,w.setAttribute(this.getDom(),Ce,"");var ht=this._api,Et=this._model;F(this._componentsViews,function(pt){pt.dispose(Et,ht)}),F(this._chartsViews,function(pt){pt.dispose(Et,ht)}),this._zr.dispose(),delete Lt[this.id]},m.mixin(se,i);function Xe(ht){}function Je(ht,Et){var pt=ht._zr,vt=pt.storage,Nt=0;vt.traverse(function(_t){Nt++}),Nt>Et.get("hoverLayerThreshold")&&!h.node&&Et.eachSeries(function(_t){if(_t.preventUsingHoverLayer)return;var gt=ht._chartsMap[_t.__viewId];gt.__alive&&gt.group.traverse(function(Ht){Ht.useHoverLayer=!0})})}function et(ht,Et){var pt=ht.get("blendMode")||null;Et.group.traverse(function(vt){vt.isGroup||vt.style.blend!==pt&&vt.setStyle("blend",pt),vt.eachPendingDisplayable&&vt.eachPendingDisplayable(function(Nt){Nt.setStyle("blend",pt)})})}function ot(ht,Et){var pt=ht.get("z"),vt=ht.get("zlevel");Et.group.traverse(function(Nt){Nt.type!=="group"&&(pt!=null&&(Nt.z=pt),vt!=null&&(Nt.zlevel=vt))})}function Ve(ht){var Et=ht._coordSysMgr;return m.extend(new r(ht),{getCoordinateSystems:m.bind(Et.getCoordinateSystems,Et),getComponentByElement:function(pt){for(;pt;){var vt=pt.__ecComponentInfo;if(vt!=null)return ht._model.getComponent(vt.mainType,vt.index);pt=pt.parent}}})}function ue(){this.eventInfo}ue.prototype={constructor:ue,normalizeQuery:function(ht){var Et={},pt={},vt={};if(m.isString(ht)){var Nt=W(ht);Et.mainType=Nt.main||null,Et.subType=Nt.sub||null}else{var _t=["Index","Name","Id"],gt={name:1,dataIndex:1,dataType:1};m.each(ht,function(Ht,kt){for(var ir=!1,Xt=0;Xt<_t.length;Xt++){var mr=_t[Xt],Ar=kt.lastIndexOf(mr);if(Ar>0&&Ar===kt.length-mr.length){var Nr=kt.slice(0,Ar);Nr!=="data"&&(Et.mainType=Nr,Et[mr.toLowerCase()]=Ht,ir=!0)}}gt.hasOwnProperty(kt)&&(pt[kt]=Ht,ir=!0),ir||(vt[kt]=Ht)})}return{cptQuery:Et,dataQuery:pt,otherQuery:vt}},filter:function(ht,Et,pt){var vt=this.eventInfo;if(!vt)return!0;var Nt=vt.targetEl,_t=vt.packedEvent,gt=vt.model,Ht=vt.view;if(!gt||!Ht)return!0;var kt=Et.cptQuery,ir=Et.dataQuery;return Xt(kt,gt,"mainType")&&Xt(kt,gt,"subType")&&Xt(kt,gt,"index","componentIndex")&&Xt(kt,gt,"name")&&Xt(kt,gt,"id")&&Xt(ir,_t,"name")&&Xt(ir,_t,"dataIndex")&&Xt(ir,_t,"dataType")&&(!Ht.filterForExposedEvent||Ht.filterForExposedEvent(ht,Et.otherQuery,Nt,_t));function Xt(mr,Ar,Nr,kr){return mr[Nr]==null||Ar[kr||Nr]===mr[Nr]}},afterTrigger:function(){this.eventInfo=null}};var ae={},lt={},Ze=[],Te=[],Jt=[],mt=[],ft={},bt={},Lt={},or={},Bt=new Date-0,_e=new Date-0,Ce="_echarts_instance_";function Ee(ht){var Et=0,pt=1,vt=2,Nt="__connectUpdateStatus";function _t(gt,Ht){for(var kt=0;kt<gt.length;kt++){var ir=gt[kt];ir[Nt]=Ht}}F(lt,function(gt,Ht){ht._messageCenter.on(Ht,function(kt){if(or[ht.group]&&ht[Nt]!==Et){if(kt&&kt.escapeConnect)return;var ir=ht.makeActionFromEvent(kt),Xt=[];F(Lt,function(mr){mr!==ht&&mr.group===ht.group&&Xt.push(mr)}),_t(Xt,Et),F(Xt,function(mr){mr[Nt]!==pt&&mr.dispatchAction(ir)}),_t(Xt,vt)}})})}function we(ht,Et,pt){var vt=Ke(ht);if(vt)return vt;var Nt=new se(ht,Et,pt);return Nt.id="ec_"+Bt++,Lt[Nt.id]=Nt,w.setAttribute(ht,Ce,Nt.id),Ee(Nt),Nt}function Fe(ht){if(m.isArray(ht)){var Et=ht;ht=null,F(Et,function(pt){pt.group!=null&&(ht=pt.group)}),ht=ht||"g_"+_e++,F(Et,function(pt){pt.group=ht})}return or[ht]=!0,ht}function Ye(ht){or[ht]=!1}var Ge=Ye;function qe(ht){typeof ht=="string"?ht=Lt[ht]:ht instanceof se||(ht=Ke(ht)),ht instanceof se&&!ht.isDisposed()&&ht.dispose()}function Ke(ht){return Lt[w.getAttribute(ht,Ce)]}function ut(ht){return Lt[ht]}function wt(ht,Et){ft[ht]=Et}function It(ht){Te.push(ht)}function de(ht,Et){nt(Ze,ht,Et,k)}function xe(ht){Jt.push(ht)}function $(ht,Et,pt){typeof Et=="function"&&(pt=Et,Et="");var vt=z(ht)?ht.type:[ht,ht={event:Et}][0];ht.event=(ht.event||vt).toLowerCase(),Et=ht.event,M(ne.test(vt)&&ne.test(Et)),ae[vt]||(ae[vt]={action:pt,actionInfo:ht}),lt[Et]=vt}function le(ht,Et){o.register(ht,Et)}function Oe(ht){var Et=o.get(ht);if(Et)return Et.getDimensionsInfo?Et.getDimensionsInfo():Et.dimensions.slice()}function ke(ht,Et){nt(mt,ht,Et,Y,"layout")}function Ue(ht,Et){nt(mt,ht,Et,G,"visual")}function nt(ht,Et,pt,vt,Nt){(U(Et)||z(Et))&&(pt=Et,Et=vt);var _t=v.wrapStageHandler(pt,Nt);return _t.__prio=Et,_t.__raw=pt,ht.push(_t),_t}function At(ht,Et){bt[ht]=Et}function Wt(ht){return t.extend(ht)}function $t(ht){return c.extend(ht)}function Rt(ht){return s.extend(ht)}function zt(ht){return p.extend(ht)}function Gt(ht){m.$override("createCanvas",ht)}function Qt(ht,Et,pt){L.registerMap(ht,Et,pt)}function Mt(ht){var Et=L.retrieveMap(ht);return Et&&Et[0]&&{geoJson:Et[0].geoJSON,specialAreas:Et[0].specialAreas}}Ue(he,E),It(n),de(V,l),At("default",_),$({type:"highlight",event:"highlight",update:"highlight"},m.noop),$({type:"downplay",event:"downplay",update:"downplay"},m.noop),wt("light",S),wt("dark",O);var dr={};I.version=N,I.dependencies=H,I.PRIORITY=Pe,I.init=we,I.connect=Fe,I.disConnect=Ye,I.disconnect=Ge,I.dispose=qe,I.getInstanceByDom=Ke,I.getInstanceById=ut,I.registerTheme=wt,I.registerPreprocessor=It,I.registerProcessor=de,I.registerPostUpdate=xe,I.registerAction=$,I.registerCoordinateSystem=le,I.getCoordinateSystemDimensions=Oe,I.registerLayout=ke,I.registerVisual=Ue,I.registerLoading=At,I.extendComponentModel=Wt,I.extendComponentView=$t,I.extendSeriesModel=Rt,I.extendChartView=zt,I.setCanvasCreator=Gt,I.registerMap=Qt,I.getMap=Mt,I.dataTool=dr;var er=e("txkQ");(function(){for(var ht in er)er.hasOwnProperty(ht)&&(I[ht]=er[ht])})()},Q7if:function(R,I,e){var g=e("JEkh"),f=g.extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});R.exports=f},Q9mQ:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("UADf"),m=e.n(b)},"QB+1":function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("Ywus"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},QBsz:function(R,I){var e=typeof Float32Array=="undefined"?Array:Float32Array;function g(v,S){var O=new e(2);return v==null&&(v=0),S==null&&(S=0),O[0]=v,O[1]=S,O}function f(v,S){return v[0]=S[0],v[1]=S[1],v}function b(v){var S=new e(2);return S[0]=v[0],S[1]=v[1],S}function m(v,S,O){return v[0]=S,v[1]=O,v}function y(v,S,O){return v[0]=S[0]+O[0],v[1]=S[1]+O[1],v}function h(v,S,O,L){return v[0]=S[0]+O[0]*L,v[1]=S[1]+O[1]*L,v}function u(v,S,O){return v[0]=S[0]-O[0],v[1]=S[1]-O[1],v}function i(v){return Math.sqrt(r(v))}var a=i;function r(v){return v[0]*v[0]+v[1]*v[1]}var o=r;function d(v,S,O){return v[0]=S[0]*O[0],v[1]=S[1]*O[1],v}function n(v,S,O){return v[0]=S[0]/O[0],v[1]=S[1]/O[1],v}function l(v,S){return v[0]*S[0]+v[1]*S[1]}function t(v,S,O){return v[0]=S[0]*O,v[1]=S[1]*O,v}function s(v,S){var O=i(S);return O===0?(v[0]=0,v[1]=0):(v[0]=S[0]/O,v[1]=S[1]/O),v}function c(v,S){return Math.sqrt((v[0]-S[0])*(v[0]-S[0])+(v[1]-S[1])*(v[1]-S[1]))}var p=c;function A(v,S){return(v[0]-S[0])*(v[0]-S[0])+(v[1]-S[1])*(v[1]-S[1])}var w=A;function C(v,S){return v[0]=-S[0],v[1]=-S[1],v}function x(v,S,O,L){return v[0]=S[0]+L*(O[0]-S[0]),v[1]=S[1]+L*(O[1]-S[1]),v}function E(v,S,O){var L=S[0],M=S[1];return v[0]=O[0]*L+O[2]*M+O[4],v[1]=O[1]*L+O[3]*M+O[5],v}function T(v,S,O){return v[0]=Math.min(S[0],O[0]),v[1]=Math.min(S[1],O[1]),v}function _(v,S,O){return v[0]=Math.max(S[0],O[0]),v[1]=Math.max(S[1],O[1]),v}I.create=g,I.copy=f,I.clone=b,I.set=m,I.add=y,I.scaleAndAdd=h,I.sub=u,I.len=i,I.length=a,I.lenSquare=r,I.lengthSquare=o,I.mul=d,I.div=n,I.dot=l,I.scale=t,I.normalize=s,I.distance=c,I.dist=p,I.distanceSquare=A,I.distSquare=w,I.negate=C,I.lerp=x,I.applyTransform=E,I.min=T,I.max=_},"QO+J":function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.createSensor=void 0;var g=b(e("NohK")),f=e("24YM");function b(y){return y&&y.__esModule?y:{default:y}}var m=function(h){var u=void 0,i=[],a=function(){getComputedStyle(h).position==="static"&&(h.style.position="relative");var t=document.createElement("object");return t.onload=function(){t.contentDocument.defaultView.addEventListener("resize",r),r()},t.style.display="block",t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.height="100%",t.style.width="100%",t.style.overflow="hidden",t.style.pointerEvents="none",t.style.zIndex="-1",t.style.opacity="0",t.setAttribute("class",f.SensorClassName),t.setAttribute("tabindex",f.SensorTabIndex),t.type="text/html",h.appendChild(t),t.data="about:blank",t},r=(0,g.default)(function(){i.forEach(function(l){l(h)})}),o=function(t){u||(u=a()),i.indexOf(t)===-1&&i.push(t)},d=function(){u&&u.parentNode&&(u.contentDocument&&u.contentDocument.defaultView.removeEventListener("resize",r),u.parentNode.removeChild(u),u=void 0,i=[])},n=function(t){var s=i.indexOf(t);s!==-1&&i.splice(s,1),i.length===0&&u&&d()};return{element:h,bind:o,destroy:d,unbind:n}};I.createSensor=m},"QQZ/":function(R,I,e){var g=e("Sq3C"),f=e("Z1HP"),b=e("Sxd8"),m=e("dt0z");function y(h,u,i){h=m(h),u=b(u);var a=u?f(h):0;return u&&a<u?g(u-a,i)+h:h}R.exports=y},QUw5:function(R,I,e){var g=e("OlYY"),f=g.extend({type:"dataZoom.select"});R.exports=f},QV2g:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=g;function g(){for(var m,y=[],h=0;h<256;h++){m=h;for(var u=0;u<8;u++)m=m&1?3988292384^m>>>1:m>>>1;y[h]=m}return y}var f=g();function b(m,y,h,u){var i=f,a=u+h;m^=-1;for(var r=u;r<a;r++)m=m>>>8^i[(m^y[r])&255];return m^-1}},QbM5:function(R,I,e){},Qe9p:function(R,I,e){var g=e("1RvN"),f={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 b(S){return S=Math.round(S),S<0?0:S>255?255:S}function m(S){return S=Math.round(S),S<0?0:S>360?360:S}function y(S){return S<0?0:S>1?1:S}function h(S){return S.length&&S.charAt(S.length-1)==="%"?b(parseFloat(S)/100*255):b(parseInt(S,10))}function u(S){return S.length&&S.charAt(S.length-1)==="%"?y(parseFloat(S)/100):y(parseFloat(S))}function i(S,O,L){return L<0?L+=1:L>1&&(L-=1),L*6<1?S+(O-S)*L*6:L*2<1?O:L*3<2?S+(O-S)*(2/3-L)*6:S}function a(S,O,L){return S+(O-S)*L}function r(S,O,L,M,F){return S[0]=O,S[1]=L,S[2]=M,S[3]=F,S}function o(S,O){return S[0]=O[0],S[1]=O[1],S[2]=O[2],S[3]=O[3],S}var d=new g(20),n=null;function l(S,O){n&&o(n,O),n=d.put(S,n||O.slice())}function t(S,O){if(!S)return;O=O||[];var L=d.get(S);if(L)return o(O,L);S=S+"";var M=S.replace(/ /g,"").toLowerCase();if(M in f)return o(O,f[M]),l(S,O),O;if(M.charAt(0)==="#"){if(M.length===4){var F=parseInt(M.substr(1),16);if(!(F>=0&&F<=4095)){r(O,0,0,0,1);return}return r(O,(F&3840)>>4|(F&3840)>>8,F&240|(F&240)>>4,F&15|(F&15)<<4,1),l(S,O),O}else if(M.length===7){var F=parseInt(M.substr(1),16);if(!(F>=0&&F<=16777215)){r(O,0,0,0,1);return}return r(O,(F&16711680)>>16,(F&65280)>>8,F&255,1),l(S,O),O}return}var U=M.indexOf("("),z=M.indexOf(")");if(U!==-1&&z+1===M.length){var W=M.substr(0,U),N=M.substr(U+1,z-(U+1)).split(","),H=1;switch(W){case"rgba":if(N.length!==4){r(O,0,0,0,1);return}H=u(N.pop());case"rgb":if(N.length!==3){r(O,0,0,0,1);return}return r(O,h(N[0]),h(N[1]),h(N[2]),H),l(S,O),O;case"hsla":if(N.length!==4){r(O,0,0,0,1);return}return N[3]=u(N[3]),s(N,O),l(S,O),O;case"hsl":if(N.length!==3){r(O,0,0,0,1);return}return s(N,O),l(S,O),O;default:return}}r(O,0,0,0,1);return}function s(S,O){var L=(parseFloat(S[0])%360+360)%360/360,M=u(S[1]),F=u(S[2]),U=F<=.5?F*(M+1):F+M-F*M,z=F*2-U;return O=O||[],r(O,b(i(z,U,L+1/3)*255),b(i(z,U,L)*255),b(i(z,U,L-1/3)*255),1),S.length===4&&(O[3]=S[3]),O}function c(S){if(!S)return;var O=S[0]/255,L=S[1]/255,M=S[2]/255,F=Math.min(O,L,M),U=Math.max(O,L,M),z=U-F,W=(U+F)/2,N,H;if(z===0)N=0,H=0;else{W<.5?H=z/(U+F):H=z/(2-U-F);var j=((U-O)/6+z/2)/z,k=((U-L)/6+z/2)/z,B=((U-M)/6+z/2)/z;O===U?N=B-k:L===U?N=1/3+j-B:M===U&&(N=2/3+k-j),N<0&&(N+=1),N>1&&(N-=1)}var V=[N*360,H,W];return S[3]!=null&&V.push(S[3]),V}function p(S,O){var L=t(S);if(L){for(var M=0;M<3;M++)O<0?L[M]=L[M]*(1-O)|0:L[M]=(255-L[M])*O+L[M]|0,L[M]>255?L[M]=255:S[M]<0&&(L[M]=0);return v(L,L.length===4?"rgba":"rgb")}}function A(S){var O=t(S);if(O)return((1<<24)+(O[0]<<16)+(O[1]<<8)+ +O[2]).toString(16).slice(1)}function w(S,O,L){if(!(O&&O.length)||!(S>=0&&S<=1))return;L=L||[];var M=S*(O.length-1),F=Math.floor(M),U=Math.ceil(M),z=O[F],W=O[U],N=M-F;return L[0]=b(a(z[0],W[0],N)),L[1]=b(a(z[1],W[1],N)),L[2]=b(a(z[2],W[2],N)),L[3]=y(a(z[3],W[3],N)),L}var C=w;function x(S,O,L){if(!(O&&O.length)||!(S>=0&&S<=1))return;var M=S*(O.length-1),F=Math.floor(M),U=Math.ceil(M),z=t(O[F]),W=t(O[U]),N=M-F,H=v([b(a(z[0],W[0],N)),b(a(z[1],W[1],N)),b(a(z[2],W[2],N)),y(a(z[3],W[3],N))],"rgba");return L?{color:H,leftIndex:F,rightIndex:U,value:M}:H}var E=x;function T(S,O,L,M){if(S=t(S),S)return S=c(S),O!=null&&(S[0]=m(O)),L!=null&&(S[1]=u(L)),M!=null&&(S[2]=u(M)),v(s(S),"rgba")}function _(S,O){if(S=t(S),S&&O!=null)return S[3]=y(O),v(S,"rgba")}function v(S,O){if(!S||!S.length)return;var L=S[0]+","+S[1]+","+S[2];return(O==="rgba"||O==="hsva"||O==="hsla")&&(L+=","+S[3]),O+"("+L+")"}I.parse=t,I.lift=p,I.toHex=A,I.fastLerp=w,I.fastMapToColor=C,I.lerp=x,I.mapToColor=E,I.modifyHSL=T,I.modifyAlpha=_,I.stringify=v},Qi1f:function(R,I,e){"use strict";e.d(I,"g",function(){return r}),e.d(I,"c",function(){return o}),e.d(I,"a",function(){return n}),e.d(I,"b",function(){return l}),e.d(I,"d",function(){return t}),e.d(I,"e",function(){return s}),e.d(I,"f",function(){return A});var g=e("VTBJ"),f=e("U8pU"),b=e("HXN9"),m=e.n(b),y=e("q1tI"),h=e.n(y),u=e("Kwbf"),i=e("Gu+u"),a=e.n(i);function r(w,C){Object(u.a)(w,"[@ant-design/icons] ".concat(C))}function o(w){return Object(f.a)(w)==="object"&&typeof w.name=="string"&&typeof w.theme=="string"&&(Object(f.a)(w.icon)==="object"||typeof w.icon=="function")}function d(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(w).reduce(function(C,x){var E=w[x];switch(x){case"class":C.className=E,delete C.class;break;default:C[x]=E}return C},{})}function n(w,C,x){return x?h.a.createElement(w.tag,Object(g.a)(Object(g.a)({key:C},d(w.attrs)),x),(w.children||[]).map(function(E,T){return n(E,"".concat(C,"-").concat(w.tag,"-").concat(T))})):h.a.createElement(w.tag,Object(g.a)({key:C},d(w.attrs)),(w.children||[]).map(function(E,T){return n(E,"".concat(C,"-").concat(w.tag,"-").concat(T))}))}function l(w){return Object(b.generate)(w)[0]}function t(w){return w?Array.isArray(w)?w:[w]:[]}var s={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},c=`
.anticon {
display: inline-block;
color: inherit;
font-style: normal;
line-height: 0;
text-align: center;
text-transform: none;
vertical-align: -0.125em;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.anticon > * {
line-height: 1;
}
.anticon svg {
display: inline-block;
}
.anticon::before {
display: none;
}
.anticon .anticon-icon {
display: block;
}
.anticon[tabindex] {
cursor: pointer;
}
.anticon-spin::before,
.anticon-spin {
display: inline-block;
-webkit-animation: loadingCircle 1s infinite linear;
animation: loadingCircle 1s infinite linear;
}
@-webkit-keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
`,p=!1,A=function(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c;Object(y.useEffect)(function(){p||(Object(i.insertCss)(C,{prepend:!0}),p=!0)},[])}},QkVE:function(R,I,e){var g=e("EpBk");function f(b,m){var y=b.__data__;return g(m)?y[typeof m=="string"?"string":"hash"]:y.map}R.exports=f},QoRX:function(R,I){function e(g,f){for(var b=-1,m=g==null?0:g.length;++b<m;)if(f(g[b],b,g))return!0;return!1}R.exports=e},QqLw:function(R,I,e){var g=e("tadb"),f=e("ebwN"),b=e("HOxn"),m=e("yGk4"),y=e("Of+w"),h=e("NykK"),u=e("3Fdi"),i="[object Map]",a="[object Object]",r="[object Promise]",o="[object Set]",d="[object WeakMap]",n="[object DataView]",l=u(g),t=u(f),s=u(b),c=u(m),p=u(y),A=h;(g&&A(new g(new ArrayBuffer(1)))!=n||f&&A(new f)!=i||b&&A(b.resolve())!=r||m&&A(new m)!=o||y&&A(new y)!=d)&&(A=function(w){var C=h(w),x=C==a?w.constructor:void 0,E=x?u(x):"";if(E)switch(E){case l:return n;case t:return i;case s:return r;case c:return o;case p:return d}return C}),R.exports=A},Qs3X:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("X+im"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},Qs9O:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"};I.default=g},QuXc:function(R,I){var e=function(b){this.colorStops=b||[]};e.prototype={constructor:e,addColorStop:function(b,m){this.colorStops.push({offset:b,color:m})}};var g=e;R.exports=g},Qvb6:function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("ItGF"),m=e("B9fm"),y=e("gvm7"),h=e("7aKB"),u=e("OELB"),i=e("IwbS"),a=e("Ez2D"),r=e("+TT/"),o=e("Qxkt"),d=e("F9bG"),n=e("aX7z"),l=e("/y7N"),t=e("4NO4"),s=t.getTooltipRenderMode,c=f.bind,p=f.each,A=u.parsePercent,w=new i.Rect({shape:{x:-1,y:-1,width:2,height:2}}),C=g.extendComponentView({type:"tooltip",init:function(O,L){if(b.node)return;var M=O.getComponent("tooltip"),F=M.get("renderMode");this._renderMode=s(F);var U;this._renderMode==="html"?(U=new m(L.getDom(),L,{appendToBody:M.get("appendToBody",!0)}),this._newLine="<br/>"):(U=new y(L),this._newLine=`
`),this._tooltipContent=U},render:function(O,L,M){if(b.node)return;this.group.removeAll(),this._tooltipModel=O,this._ecModel=L,this._api=M,this._lastDataByCoordSys=null,this._alwaysShowContent=O.get("alwaysShowContent");var F=this._tooltipContent;F.update(),F.setEnterable(O.get("enterable")),this._initGlobalListener(),this._keepShow()},_initGlobalListener:function(){var O=this._tooltipModel,L=O.get("triggerOn");d.register("itemTooltip",this._api,c(function(M,F,U){L!=="none"&&(L.indexOf(M)>=0?this._tryShow(F,U):M==="leave"&&this._hide(U))},this))},_keepShow:function(){var O=this._tooltipModel,L=this._ecModel,M=this._api;if(this._lastX!=null&&this._lastY!=null&&O.get("triggerOn")!=="none"){var F=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!M.isDisposed()&&F.manuallyShowTip(O,L,M,{x:F._lastX,y:F._lastY})})}},manuallyShowTip:function(O,L,M,F){if(F.from===this.uid||b.node)return;var U=E(F,M);this._ticket="";var z=F.dataByCoordSys;if(F.tooltip&&F.x!=null&&F.y!=null){var W=w;W.position=[F.x,F.y],W.update(),W.tooltip=F.tooltip,this._tryShow({offsetX:F.x,offsetY:F.y,target:W},U)}else if(z)this._tryShow({offsetX:F.x,offsetY:F.y,position:F.position,dataByCoordSys:F.dataByCoordSys,tooltipOption:F.tooltipOption},U);else if(F.seriesIndex!=null){if(this._manuallyAxisShowTip(O,L,M,F))return;var N=a(F,L),H=N.point[0],j=N.point[1];H!=null&&j!=null&&this._tryShow({offsetX:H,offsetY:j,position:F.position,target:N.el},U)}else F.x!=null&&F.y!=null&&(M.dispatchAction({type:"updateAxisPointer",x:F.x,y:F.y}),this._tryShow({offsetX:F.x,offsetY:F.y,position:F.position,target:M.getZr().findHover(F.x,F.y).target},U))},manuallyHideTip:function(O,L,M,F){var U=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&U.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,F.from!==this.uid&&this._hide(E(F,M))},_manuallyAxisShowTip:function(O,L,M,F){var U=F.seriesIndex,z=F.dataIndex,W=L.getComponent("axisPointer").coordSysAxesInfo;if(U==null||z==null||W==null)return;var N=L.getSeriesByIndex(U);if(!N)return;var H=N.getData(),O=x([H.getItemModel(z),N,(N.coordinateSystem||{}).model,O]);return O.get("trigger")!=="axis"?void 0:(M.dispatchAction({type:"updateAxisPointer",seriesIndex:U,dataIndex:z,position:F.position}),!0)},_tryShow:function(O,L){var M=O.target,F=this._tooltipModel;if(!F)return;this._lastX=O.offsetX,this._lastY=O.offsetY;var U=O.dataByCoordSys;U&&U.length?this._showAxisTooltip(U,O):M&&M.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(O,M,L)):M&&M.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(O,M,L)):(this._lastDataByCoordSys=null,this._hide(L))},_showOrMove:function(O,L){var M=O.get("showDelay");L=f.bind(L,this),clearTimeout(this._showTimout),M>0?this._showTimout=setTimeout(L,M):L()},_showAxisTooltip:function(O,L){var M=this._ecModel,F=this._tooltipModel,U=[L.offsetX,L.offsetY],z=[],W=[],N=x([L.tooltipOption,F]),H=this._renderMode,j=this._newLine,k={};p(O,function(V){p(V.dataByAxis,function(K){var Y=M.getComponent(K.axisDim+"Axis",K.axisIndex),Q=K.value,he=[];if(!Y||Q==null)return;var G=l.getValueLabel(Q,Y.axis,M,K.seriesDataIndices,K.valueLabelOpt);f.each(K.seriesDataIndices,function(Ae){var ge=M.getSeriesByIndex(Ae.seriesIndex),Pe=Ae.dataIndexInside,Re=ge&&ge.getDataParams(Pe);if(Re.axisDim=K.axisDim,Re.axisIndex=K.axisIndex,Re.axisType=K.axisType,Re.axisId=K.axisId,Re.axisValue=n.getAxisRawValue(Y.axis,Q),Re.axisValueLabel=G,Re){W.push(Re);var rt=ge.formatTooltip(Pe,!0,null,H),ne;if(f.isObject(rt)){ne=rt.html;var be=rt.markers;f.merge(k,be)}else ne=rt;he.push(ne)}});var ye=G;H!=="html"?z.push(he.join(j)):z.push((ye?h.encodeHTML(ye)+j:"")+he.join(j))})},this),z.reverse(),z=z.join(this._newLine+this._newLine);var B=L.position;this._showOrMove(N,function(){this._updateContentNotChangedOnAxis(O)?this._updatePosition(N,B,U[0],U[1],this._tooltipContent,W):this._showTooltipContent(N,z,W,Math.random(),U[0],U[1],B,void 0,k)})},_showSeriesItemTooltip:function(O,L,M){var F=this._ecModel,U=L.seriesIndex,z=F.getSeriesByIndex(U),W=L.dataModel||z,N=L.dataIndex,H=L.dataType,j=W.getData(H),k=x([j.getItemModel(N),W,z&&(z.coordinateSystem||{}).model,this._tooltipModel]),B=k.get("trigger");if(B!=null&&B!=="item")return;var V=W.getDataParams(N,H),K=W.formatTooltip(N,!1,H,this._renderMode),Y,Q;f.isObject(K)?(Y=K.html,Q=K.markers):(Y=K,Q=null);var he="item_"+W.name+"_"+N;this._showOrMove(k,function(){this._showTooltipContent(k,Y,V,he,O.offsetX,O.offsetY,O.position,O.target,Q)}),M({type:"showTip",dataIndexInside:N,dataIndex:j.getRawIndex(N),seriesIndex:U,from:this.uid})},_showComponentItemTooltip:function(O,L,M){var F=L.tooltip;if(typeof F=="string"){var U=F;F={content:U,formatter:U}}var z=new o(F,this._tooltipModel,this._ecModel),W=z.get("content"),N=Math.random();this._showOrMove(z,function(){this._showTooltipContent(z,W,z.get("formatterParams")||{},N,O.offsetX,O.offsetY,O.position,L)}),M({type:"showTip",from:this.uid})},_showTooltipContent:function(O,L,M,F,U,z,W,N,H){if(this._ticket="",!O.get("showContent")||!O.get("show"))return;var j=this._tooltipContent,k=O.get("formatter");W=W||O.get("position");var B=L;if(k&&typeof k=="string")B=h.formatTpl(k,M,!0);else if(typeof k=="function"){var V=c(function(K,Y){K===this._ticket&&(j.setContent(Y,H,O),this._updatePosition(O,W,U,z,j,M,N))},this);this._ticket=F,B=k(M,F,V)}j.setContent(B,H,O),j.show(O),this._updatePosition(O,W,U,z,j,M,N)},_updatePosition:function(O,L,M,F,U,z,W){var N=this._api.getWidth(),H=this._api.getHeight();L=L||O.get("position");var j=U.getSize(),k=O.get("align"),B=O.get("verticalAlign"),V=W&&W.getBoundingRect().clone();if(W&&V.applyTransform(W.transform),typeof L=="function"&&(L=L([M,F],z,U.el,V,{viewSize:[N,H],contentSize:j.slice()})),f.isArray(L))M=A(L[0],N),F=A(L[1],H);else if(f.isObject(L)){L.width=j[0],L.height=j[1];var K=r.getLayoutRect(L,{width:N,height:H});M=K.x,F=K.y,k=null,B=null}else if(typeof L=="string"&&W){var Y=v(L,V,j);M=Y[0],F=Y[1]}else{var Y=T(M,F,U,N,H,k?null:20,B?null:20);M=Y[0],F=Y[1]}if(k&&(M-=S(k)?j[0]/2:k==="right"?j[0]:0),B&&(F-=S(B)?j[1]/2:B==="bottom"?j[1]:0),O.get("confine")){var Y=_(M,F,U,N,H);M=Y[0],F=Y[1]}U.moveTo(M,F)},_updateContentNotChangedOnAxis:function(O){var L=this._lastDataByCoordSys,M=!!L&&L.length===O.length;return M&&p(L,function(F,U){var z=F.dataByAxis||{},W=O[U]||{},N=W.dataByAxis||[];M&=z.length===N.length,M&&p(z,function(H,j){var k=N[j]||{},B=H.seriesDataIndices||[],V=k.seriesDataIndices||[];M&=H.value===k.value&&H.axisType===k.axisType&&H.axisId===k.axisId&&B.length===V.length,M&&p(B,function(K,Y){var Q=V[Y];M&=K.seriesIndex===Q.seriesIndex&&K.dataIndex===Q.dataIndex})})}),this._lastDataByCoordSys=O,!!M},_hide:function(O){this._lastDataByCoordSys=null,O({type:"hideTip",from:this.uid})},dispose:function(O,L){if(b.node)return;this._tooltipContent.dispose(),d.unregister("itemTooltip",L)}});function x(O){for(var L=O.pop();O.length;){var M=O.pop();M&&(o.isInstance(M)&&(M=M.get("tooltip",!0)),typeof M=="string"&&(M={formatter:M}),L=new o(M,L,L.ecModel))}return L}function E(O,L){return O.dispatchAction||f.bind(L.dispatchAction,L)}function T(O,L,M,F,U,z,W){var N=M.getOuterSize(),H=N.width,j=N.height;return z!=null&&(O+H+z>F?O-=H+z:O+=z),W!=null&&(L+j+W>U?L-=j+W:L+=W),[O,L]}function _(O,L,M,F,U){var z=M.getOuterSize(),W=z.width,N=z.height;return O=Math.min(O+W,F)-W,L=Math.min(L+N,U)-N,O=Math.max(O,0),L=Math.max(L,0),[O,L]}function v(O,L,M){var F=M[0],U=M[1],z=5,W=0,N=0,H=L.width,j=L.height;switch(O){case"inside":W=L.x+H/2-F/2,N=L.y+j/2-U/2;break;case"top":W=L.x+H/2-F/2,N=L.y-U-z;break;case"bottom":W=L.x+H/2-F/2,N=L.y+j+z;break;case"left":W=L.x-F-z,N=L.y+j/2-U/2;break;case"right":W=L.x+H+z,N=L.y+j/2-U/2}return[W,N]}function S(O){return O==="center"||O==="middle"}R.exports=C},Qxkt:function(R,I,e){var g=e("bYtY"),f=e("ItGF"),b=e("4NO4"),m=b.makeInner,y=e("Yl7c"),h=y.enableClassExtend,u=y.enableClassCheck,i=e("OQFs"),a=e("m9t5"),r=e("/iHx"),o=e("VR9l"),d=g.mixin,n=m();function l(p,A,w){this.parentModel=A,this.ecModel=w,this.option=p}l.prototype={constructor:l,init:null,mergeOption:function(p){g.merge(this.option,p,!0)},get:function(p,A){return p==null?this.option:t(this.option,this.parsePath(p),!A&&s(this,p))},getShallow:function(p,A){var w=this.option,C=w==null?w:w[p],x=!A&&s(this,p);return C==null&&x&&(C=x.getShallow(p)),C},getModel:function(p,A){var w=p==null?this.option:t(this.option,p=this.parsePath(p)),C;return A=A||(C=s(this,p))&&C.getModel(p),new l(w,A,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var p=this.constructor;return new p(g.clone(this.option))},setReadOnly:function(p){},parsePath:function(p){return typeof p=="string"&&(p=p.split(".")),p},customizeGetParent:function(p){n(this).getParent=p},isAnimationEnabled:function(){if(!f.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function t(p,A,w){for(var C=0;C<A.length;C++){if(!A[C])continue;if(p=p&&typeof p=="object"?p[A[C]]:null,p==null)break}return p==null&&w&&(p=w.get(A)),p}function s(p,A){var w=n(p).getParent;return w?w.call(p,A):p.parentModel}h(l),u(l),d(l,i),d(l,a),d(l,r),d(l,o);var c=l;R.exports=c},QyFq:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"};I.default=g},QzjZ:function(R,I,e){var g=e("S/Yl"),f=e("IDmD");function b(m,y){var h=[];return m.eachComponent("singleAxis",function(u,i){var a=new g(u,m,y);a.name="single_"+i,a.resize(u,y),u.coordinateSystem=a,h.push(a)}),m.eachSeries(function(u){if(u.get("coordinateSystem")==="singleAxis"){var i=m.queryComponents({mainType:"singleAxis",index:u.get("singleAxisIndex"),id:u.get("singleAxisId")})[0];u.coordinateSystem=i&&i.coordinateSystem}}),h}f.register("single",{create:b,dimensions:g.prototype.dimensions})},R4Th:function(R,I,e){var g=e("ProS"),f=e("9wZj"),b=e("yO87"),m=e("Fofx"),y=e("h8O9"),h=g.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new f(b)},render:function(u,i,a){var r=u.getData(),o=this._symbolDraw;o.updateData(r),this.group.add(o.group)},updateTransform:function(u,i,a){var r=u.getData();this.group.dirty();var o=y().reset(u);o.progress&&o.progress({start:0,end:r.count()},r),this._symbolDraw.updateLayout(r)},_updateGroupTransform:function(u){var i=u.coordinateSystem;i&&i.getRoamTransform&&(this.group.transform=m.clone(i.getRoamTransform()),this.group.decomposeTransform())},remove:function(u,i){this._symbolDraw&&this._symbolDraw.remove(i)},dispose:function(){}});R.exports=h},R9oj:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("pwpV"),m=e.n(b)},RBEP:function(R,I,e){for(var g=e("ProS"),f=e("VaxA"),b=function(){},m=["treemapZoomToNode","treemapRender","treemapMove"],y=0;y<m.length;y++)g.registerAction({type:m[y],update:"updateView"},b);g.registerAction({type:"treemapRootToNode",update:"updateView"},function(h,u){u.eachComponent({mainType:"series",subType:"treemap",query:h},i);function i(a,r){var o=["treemapZoomToNode","treemapRootToNode"],d=f.retrieveTargetInfo(h,o,a);if(d){var n=a.getViewRoot();n&&(h.direction=f.aboveViewRoot(n,d.node)?"rollUp":"drillDown"),a.resetViewRoot(d.node)}}})},RCxd:function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="ExclamationCircleOutlined";var h=I.a=g.forwardRef(y)},RDYZ:function(R,I,e){var g=e("dMvE");function f(m){this._target=m.target,this._life=m.life||1e3,this._delay=m.delay||0,this._initialized=!1,this.loop=m.loop==null?!1:m.loop,this.gap=m.gap||0,this.easing=m.easing||"Linear",this.onframe=m.onframe,this.ondestroy=m.ondestroy,this.onrestart=m.onrestart,this._pausedTime=0,this._paused=!1}f.prototype={constructor:f,step:function(y,h){if(this._initialized||(this._startTime=y+this._delay,this._initialized=!0),this._paused){this._pausedTime+=h;return}var u=(y-this._startTime-this._pausedTime)/this._life;if(u<0)return;u=Math.min(u,1);var i=this.easing,a=typeof i=="string"?g[i]:i,r=typeof a=="function"?a(u):u;return this.fire("frame",r),u===1?this.loop?(this.restart(y),"restart"):(this._needsRemove=!0,"destroy"):null},restart:function(y){var h=(y-this._startTime-this._pausedTime)%this._life;this._startTime=y-h+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(y,h){y="on"+y,this[y]&&this[y](this._target,h)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var b=f;R.exports=b},RELg:function(R,I,e){var g=e("MFOe"),f=g.Global;R.exports={name:"oldIE-userDataStorage",write:u,read:i,each:a,remove:r,clearAll:o};var b="storejs",m=f.document,y=l(),h=(f.navigator?f.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function u(t,s){if(h)return;var c=n(t);y(function(p){p.setAttribute(c,s),p.save(b)})}function i(t){if(h)return;var s=n(t),c=null;return y(function(p){c=p.getAttribute(s)}),c}function a(t){y(function(s){for(var c=s.XMLDocument.documentElement.attributes,p=c.length-1;p>=0;p--){var A=c[p];t(s.getAttribute(A.name),A.name)}})}function r(t){var s=n(t);y(function(c){c.removeAttribute(s),c.save(b)})}function o(){y(function(t){var s=t.XMLDocument.documentElement.attributes;t.load(b);for(var c=s.length-1;c>=0;c--)t.removeAttribute(s[c].name);t.save(b)})}var d=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function n(t){return t.replace(/^\d/,"___$&").replace(d,"___")}function l(){if(!m||!m.documentElement||!m.documentElement.addBehavior)return null;var t="script",s,c,p;try{c=new ActiveXObject("htmlfile"),c.open(),c.write("<"+t+">document.w=window</"+t+'><iframe src="/favicon.ico"></iframe>'),c.close(),s=c.w.frames[0].document,p=s.createElement("div")}catch(A){p=m.createElement("div"),s=m.body}return function(A){var w=[].slice.call(arguments,0);w.unshift(p),s.appendChild(p),p.addBehavior("#default#userData"),p.load(b),A.apply(this,w),s.removeChild(p);return}}},RPvy:function(R,I,e){var g=e("ProS"),f=e("VaxA"),b="sunburstRootToNode";g.registerAction({type:b,update:"updateView"},function(h,u){u.eachComponent({mainType:"series",subType:"sunburst",query:h},i);function i(a,r){var o=f.retrieveTargetInfo(h,[b],a);if(o){var d=a.getViewRoot();d&&(h.direction=f.aboveViewRoot(d,o.node)?"rollUp":"drillDown"),a.resetViewRoot(o.node)}}});var m="sunburstHighlight";g.registerAction({type:m,update:"updateView"},function(h,u){u.eachComponent({mainType:"series",subType:"sunburst",query:h},i);function i(a,r){var o=f.retrieveTargetInfo(h,[m],a);o&&(h.highlight=o.node)}});var y="sunburstUnhighlight";g.registerAction({type:y,update:"updateView"},function(h,u){u.eachComponent({mainType:"series",subType:"sunburst",query:h},i);function i(a,r){h.unhighlight=!0}})},RSch:function(R,I,e){var g=e("IwbS"),f=e("bYtY");function b(h,u,i){g.Group.call(this),this._createPolyline(h,u,i)}var m=b.prototype;m._createPolyline=function(h,u,i){var a=h.getItemLayout(u),r=new g.Polyline({shape:{points:a}});this.add(r),this._updateCommonStl(h,u,i)},m.updateData=function(h,u,i){var a=h.hostModel,r=this.childAt(0),o={shape:{points:h.getItemLayout(u)}};g.updateProps(r,o,a,u),this._updateCommonStl(h,u,i)},m._updateCommonStl=function(h,u,i){var a=this.childAt(0),r=h.getItemModel(u),o=h.getItemVisual(u,"color"),d=i&&i.lineStyle,n=i&&i.hoverLineStyle;(!i||h.hasItemOption)&&(d=r.getModel("lineStyle").getLineStyle(),n=r.getModel("emphasis.lineStyle").getLineStyle()),a.useStyle(f.defaults({strokeNoScale:!0,fill:"none",stroke:o},d)),a.hoverStyle=n,g.setHoverStyle(this)},m.updateLayout=function(h,u){var i=this.childAt(0);i.setShape("points",h.getItemLayout(u))},f.inherits(b,g.Group);var y=b;R.exports=y},RXMa:function(R,I,e){var g=e("y+Vt"),f=g.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(m,y){var h=y.cx,u=y.cy,i=Math.PI*2;m.moveTo(h+y.r,u),m.arc(h,u,y.r,0,i,!1),m.moveTo(h+y.r0,u),m.arc(h,u,y.r0,0,i,!0)}});R.exports=f},RZPm:function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("JgUQ")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="FileOutlined";var u=b.forwardRef(h);I.default=u},RlCK:function(R,I,e){var g=e("ProS"),f=e("bYtY");function b(m,y,h){var u={},i=m==="toggleSelected",a;return h.eachComponent("legend",function(r){i&&a!=null?r[a?"select":"unSelect"](y.name):m==="allSelect"||m==="inverseSelect"?r[m]():(r[m](y.name),a=r.isSelected(y.name));var o=r.getData();f.each(o,function(d){var n=d.get("name");if(n===`
`||n==="")return;var l=r.isSelected(n);u.hasOwnProperty(n)?u[n]=u[n]&&l:u[n]=l})}),m==="allSelect"||m==="inverseSelect"?{selected:u}:{name:y.name,selected:u}}g.registerAction("legendToggleSelect","legendselectchanged",f.curry(b,"toggleSelected")),g.registerAction("legendAllSelect","legendselectall",f.curry(b,"allSelect")),g.registerAction("legendInverseSelect","legendinverseselect",f.curry(b,"inverseSelect")),g.registerAction("legendSelect","legendselected",f.curry(b,"select")),g.registerAction("legendUnSelect","legendunselected",f.curry(b,"unSelect"))},RotF:function(R,I,e){R.exports=e("LSTS")},Rx6q:function(R,I){function e(g){var f=g.getRect(),b=g.getRangeInfo();return{coordSys:{type:"calendar",x:f.x,y:f.y,width:f.width,height:f.height,cellWidth:g.getCellWidth(),cellHeight:g.getCellHeight(),rangeInfo:{start:b.start,end:b.end,weeks:b.weeks,dayCount:b.allDay}},api:{coord:function(m,y){return g.dataToPoint(m,y)}}}}R.exports=e},"S/Yl":function(R,I,e){var g=e("Zvw2"),f=e("aX7z"),b=e("+TT/"),m=b.getLayoutRect,y=e("bYtY"),h=y.each;function u(a,r,o){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(a,r,o),this.model=a}u.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:u,_init:function(a,r,o){var d=this.dimension,n=new g(d,f.createScaleByModel(a),[0,0],a.get("type"),a.get("position")),l=n.type==="category";n.onBand=l&&a.get("boundaryGap"),n.inverse=a.get("inverse"),n.orient=a.get("orient"),a.axis=n,n.model=a,n.coordinateSystem=this,this._axis=n},update:function(a,r){a.eachSeries(function(o){if(o.coordinateSystem===this){var d=o.getData();h(d.mapDimension(this.dimension,!0),function(n){this._axis.scale.unionExtentFromData(d,n)},this),f.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(a,r){this._rect=m({left:a.get("left"),top:a.get("top"),right:a.get("right"),bottom:a.get("bottom"),width:a.get("width"),height:a.get("height")},{width:r.getWidth(),height:r.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var a=this._rect,r=this._axis,o=r.isHorizontal(),d=o?[0,a.width]:[0,a.height],n=r.reverse?1:0;r.setExtent(d[n],d[1-n]),this._updateAxisTransform(r,o?a.x:a.y)},_updateAxisTransform:function(a,r){var o=a.getExtent(),d=o[0]+o[1],n=a.isHorizontal();a.toGlobalCoord=n?function(l){return l+r}:function(l){return d-l+r},a.toLocalCoord=n?function(l){return l-r}:function(l){return d-l+r}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(a){var r=this.getRect(),o=this.getAxis(),d=o.orient;return d==="horizontal"?o.contain(o.toLocalCoord(a[0]))&&a[1]>=r.y&&a[1]<=r.y+r.height:o.contain(o.toLocalCoord(a[1]))&&a[0]>=r.y&&a[0]<=r.y+r.height},pointToData:function(a){var r=this.getAxis();return[r.coordToData(r.toLocalCoord(a[r.orient==="horizontal"?0:1]))]},dataToPoint:function(a){var r=this.getAxis(),o=this.getRect(),d=[],n=r.orient==="horizontal"?0:1;return a instanceof Array&&(a=a[0]),d[n]=r.toGlobalCoord(r.dataToCoord(+a)),d[1-n]=n===0?o.y+o.height/2:o.x+o.width/2,d}};var i=u;R.exports=i},"SA+Z":function(R,I,e){var g=e("wTVA"),f=e("EbDI"),b=e("ZhPi"),m=e("wkBT");function y(h){return g(h)||f(h)||b(h)||m()}R.exports=y},"SA4+":function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("ProS"),m=e("IwbS"),y=e("zYTA"),h=e("bYtY");function u(o,d,n){var l=o[1]-o[0];d=h.map(d,function(c){return{interval:[(c.interval[0]-o[0])/l,(c.interval[1]-o[0])/l]}});var t=d.length,s=0;return function(c){for(var p=s;p<t;p++){var A=d[p].interval;if(A[0]<=c&&c<=A[1]){s=p;break}}if(p===t)for(var p=s-1;p>=0;p--){var A=d[p].interval;if(A[0]<=c&&c<=A[1]){s=p;break}}return p>=0&&p<t&&n[p]}}function i(o,d){var n=o[1]-o[0];return d=[(d[0]-o[0])/n,(d[1]-o[0])/n],function(l){return l>=d[0]&&l<=d[1]}}function a(o){var d=o.dimensions;return d[0]==="lng"&&d[1]==="lat"}var r=b.extendChartView({type:"heatmap",render:function(o,d,n){var l;d.eachComponent("visualMap",function(s){s.eachTargetSeries(function(c){c===o&&(l=s)})}),this.group.removeAll(),this._incrementalDisplayable=null;var t=o.coordinateSystem;t.type==="cartesian2d"||t.type==="calendar"?this._renderOnCartesianAndCalendar(o,n,0,o.getData().count()):a(t)&&this._renderOnGeo(t,o,l,n)},incrementalPrepareRender:function(o,d,n){this.group.removeAll()},incrementalRender:function(o,d,n,l){var t=d.coordinateSystem;t&&this._renderOnCartesianAndCalendar(d,l,o.start,o.end,!0)},_renderOnCartesianAndCalendar:function(o,d,n,l,t){var s=o.coordinateSystem,c,p;if(s.type==="cartesian2d"){var A=s.getAxis("x"),w=s.getAxis("y");c=A.getBandWidth(),p=w.getBandWidth()}for(var C=this.group,x=o.getData(),E="itemStyle",T="emphasis.itemStyle",_="label",v="emphasis.label",S=o.getModel(E).getItemStyle(["color"]),O=o.getModel(T).getItemStyle(),L=o.getModel(_),M=o.getModel(v),F=s.type,U=F==="cartesian2d"?[x.mapDimension("x"),x.mapDimension("y"),x.mapDimension("value")]:[x.mapDimension("time"),x.mapDimension("value")],z=n;z<l;z++){var W;if(F==="cartesian2d"){if(isNaN(x.get(U[2],z)))continue;var N=s.dataToPoint([x.get(U[0],z),x.get(U[1],z)]);W=new m.Rect({shape:{x:Math.floor(Math.round(N[0])-c/2),y:Math.floor(Math.round(N[1])-p/2),width:Math.ceil(c),height:Math.ceil(p)},style:{fill:x.getItemVisual(z,"color"),opacity:x.getItemVisual(z,"opacity")}})}else{if(isNaN(x.get(U[1],z)))continue;W=new m.Rect({z2:1,shape:s.dataToRect([x.get(U[0],z)]).contentShape,style:{fill:x.getItemVisual(z,"color"),opacity:x.getItemVisual(z,"opacity")}})}var H=x.getItemModel(z);x.hasItemOption&&(S=H.getModel(E).getItemStyle(["color"]),O=H.getModel(T).getItemStyle(),L=H.getModel(_),M=H.getModel(v));var j=o.getRawValue(z),k="-";j&&j[2]!=null&&(k=j[2]),m.setLabelStyle(S,O,L,M,{labelFetcher:o,labelDataIndex:z,defaultText:k,isRectText:!0}),W.setStyle(S),m.setHoverStyle(W,x.hasItemOption?O:h.extend({},O)),W.incremental=t,t&&(W.useHoverLayer=!0),C.add(W),x.setItemGraphicEl(z,W)}},_renderOnGeo:function(o,d,n,l){var t=n.targetVisuals.inRange,s=n.targetVisuals.outOfRange,c=d.getData(),p=this._hmLayer||this._hmLayer||new y;p.blurSize=d.get("blurSize"),p.pointSize=d.get("pointSize"),p.minOpacity=d.get("minOpacity"),p.maxOpacity=d.get("maxOpacity");var A=o.getViewRect().clone(),w=o.getRoamTransform();A.applyTransform(w);var C=Math.max(A.x,0),x=Math.max(A.y,0),E=Math.min(A.width+A.x,l.getWidth()),T=Math.min(A.height+A.y,l.getHeight()),_=E-C,v=T-x,S=[c.mapDimension("lng"),c.mapDimension("lat"),c.mapDimension("value")],O=c.mapArray(S,function(U,z,W){var N=o.dataToPoint([U,z]);return N[0]-=C,N[1]-=x,N.push(W),N}),L=n.getExtent(),M=n.type==="visualMap.continuous"?i(L,n.option.range):u(L,n.getPieceList(),n.option.selected);p.update(O,_,v,t.color.getNormalizer(),{inRange:t.color.getColorMapper(),outOfRange:s.color.getColorMapper()},M);var F=new m.Image({style:{width:_,height:v,x:C,y:x,image:p.canvas},silent:!0});this.group.add(F)},dispose:function(){}});R.exports=r},SA8n:function(R,I,e){var g=e("Sj9i"),f=e("QBsz"),b=e("U/Mo"),m=b.getSymbolSize,y=[],h=[],u=[],i=g.quadraticAt,a=f.distSquare,r=Math.abs;function o(n,l,t){for(var s=n[0],c=n[1],p=n[2],A=Infinity,w,C=t*t,x=.1,E=.1;E<=.9;E+=.1){y[0]=i(s[0],c[0],p[0],E),y[1]=i(s[1],c[1],p[1],E);var T=r(a(y,l)-C);T<A&&(A=T,w=E)}for(var _=0;_<32;_++){var v=w+x;h[0]=i(s[0],c[0],p[0],w),h[1]=i(s[1],c[1],p[1],w),u[0]=i(s[0],c[0],p[0],v),u[1]=i(s[1],c[1],p[1],v);var T=a(h,l)-C;if(r(T)<.01)break;var S=a(u,l)-C;x/=2,T<0?S>=0?w=w+x:w=w-x:S>=0?w=w-x:w=w+x}return w}function d(n,l){var t=[],s=g.quadraticSubdivide,c=[[],[],[]],p=[[],[]],A=[];l/=2,n.eachEdge(function(w,C){var x=w.getLayout(),E=w.getVisual("fromSymbol"),T=w.getVisual("toSymbol");x.__original||(x.__original=[f.clone(x[0]),f.clone(x[1])],x[2]&&x.__original.push(f.clone(x[2])));var _=x.__original;if(x[2]!=null){if(f.copy(c[0],_[0]),f.copy(c[1],_[2]),f.copy(c[2],_[1]),E&&E!=="none"){var v=m(w.node1),S=o(c,_[0],v*l);s(c[0][0],c[1][0],c[2][0],S,t),c[0][0]=t[3],c[1][0]=t[4],s(c[0][1],c[1][1],c[2][1],S,t),c[0][1]=t[3],c[1][1]=t[4]}if(T&&T!=="none"){var v=m(w.node2),S=o(c,_[1],v*l);s(c[0][0],c[1][0],c[2][0],S,t),c[1][0]=t[1],c[2][0]=t[2],s(c[0][1],c[1][1],c[2][1],S,t),c[1][1]=t[1],c[2][1]=t[2]}f.copy(x[0],c[0]),f.copy(x[1],c[2]),f.copy(x[2],c[1])}else{if(f.copy(p[0],_[0]),f.copy(p[1],_[1]),f.sub(A,p[1],p[0]),f.normalize(A,A),E&&E!=="none"){var v=m(w.node1);f.scaleAndAdd(p[0],p[0],A,v*l)}if(T&&T!=="none"){var v=m(w.node2);f.scaleAndAdd(p[1],p[1],A,-v*l)}f.copy(x[0],p[0]),f.copy(x[1],p[1])}})}R.exports=d},SJMd:function(R,I){/**
* @license
* Copyright (C) 2006 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/var e,g,f,b=!1,m,y;window.PR_SHOULD_USE_CONTINUATION=!0;var h,u;(function(){var i=window,a=["break,continue,do,else,for,if,return,while"],r=[a,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],o=[r,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],d=[o,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],n=[o,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],l=[o,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],t="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",s=[o,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],c="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",p=[a,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],A=[a,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],w=[a,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],C=[d,l,n,s,c,p,A,w],x=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,E="str",T="kwd",_="com",v="typ",S="lit",O="pun",L="pln",M="tag",F="dec",U="src",z="atn",W="atv",N="nocode",H="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function j(se){for(var q=0,X=!1,Z=!1,pe=0,oe=se.length;pe<oe;++pe){var Ie=se[pe];if(Ie.ignoreCase)Z=!0;else if(/[a-z]/i.test(Ie.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){X=!0,Z=!1;break}}var fe={b:8,t:9,n:10,v:11,f:12,r:13};function te(dt){var Me=dt.charCodeAt(0);if(Me!==92)return Me;var Tt=dt.charAt(1);return Me=fe[Tt],Me||("0"<=Tt&&Tt<="7"?parseInt(dt.substring(1),8):Tt==="u"||Tt==="x"?parseInt(dt.substring(2),16):dt.charCodeAt(1))}function J(dt){if(dt<32)return(dt<16?"\\x0":"\\x")+dt.toString(16);var Me=String.fromCharCode(dt);return Me==="\\"||Me==="-"||Me==="]"||Me==="^"?"\\"+Me:Me}function ve(dt){var Me=dt.substring(1,dt.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),Tt=[],je=Me[0]==="^",st=["["];je&&st.push("^");for(var Xe=je?1:0,Je=Me.length;Xe<Je;++Xe){var et=Me[Xe];if(/\\[bdsw]/i.test(et))st.push(et);else{var ot=te(et),Ve;Xe+2<Je&&Me[Xe+1]==="-"?(Ve=te(Me[Xe+2]),Xe+=2):Ve=ot,Tt.push([ot,Ve]),Ve<65||ot>122||(Ve<65||ot>90||Tt.push([Math.max(65,ot)|32,Math.min(Ve,90)|32]),Ve<97||ot>122||Tt.push([Math.max(97,ot)&~32,Math.min(Ve,122)&~32]))}}Tt.sort(function(Ze,Te){return Ze[0]-Te[0]||Te[1]-Ze[1]});for(var ue=[],ae=[],Xe=0;Xe<Tt.length;++Xe){var lt=Tt[Xe];lt[0]<=ae[1]+1?ae[1]=Math.max(ae[1],lt[1]):ue.push(ae=lt)}for(var Xe=0;Xe<ue.length;++Xe){var lt=ue[Xe];st.push(J(lt[0])),lt[1]>lt[0]&&(lt[1]+1>lt[0]&&st.push("-"),st.push(J(lt[1])))}return st.push("]"),st.join("")}function De(dt){for(var Me=dt.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),Tt=Me.length,je=[],st=0,Xe=0;st<Tt;++st){var Je=Me[st];if(Je==="(")++Xe;else if(Je.charAt(0)==="\\"){var et=+Je.substring(1);et&&(et<=Xe?je[et]=-1:Me[st]=J(et))}}for(var st=1;st<je.length;++st)je[st]===-1&&(je[st]=++q);for(var st=0,Xe=0;st<Tt;++st){var Je=Me[st];if(Je==="(")++Xe,je[Xe]||(Me[st]="(?:");else if(Je.charAt(0)==="\\"){var et=+Je.substring(1);et&&et<=Xe&&(Me[st]="\\"+je[et])}}for(var st=0;st<Tt;++st)Me[st]==="^"&&Me[st+1]!=="^"&&(Me[st]="");if(dt.ignoreCase&&X)for(var st=0;st<Tt;++st){var Je=Me[st],ot=Je.charAt(0);Je.length>=2&&ot==="["?Me[st]=ve(Je):ot!=="\\"&&(Me[st]=Je.replace(/[a-zA-Z]/g,function(ae){var lt=ae.charCodeAt(0);return"["+String.fromCharCode(lt&~32,lt|32)+"]"}))}return Me.join("")}for(var ze=[],pe=0,oe=se.length;pe<oe;++pe){var Ie=se[pe];if(Ie.global||Ie.multiline)throw new Error(""+Ie);ze.push("(?:"+De(Ie)+")")}return new RegExp(ze.join("|"),Z?"gi":"g")}function k(se,q){var X=/(?:^|\s)nocode(?:\s|$)/,Z=[],pe=0,oe=[],Ie=0;function fe(te){var J=te.nodeType;if(J==1){if(X.test(te.className))return;for(var ve=te.firstChild;ve;ve=ve.nextSibling)fe(ve);var De=te.nodeName.toLowerCase();(De==="br"||De==="li")&&(Z[Ie]=`
`,oe[Ie<<1]=pe++,oe[Ie++<<1|1]=te)}else if(J==3||J==4){var ze=te.nodeValue;ze.length&&(q?ze=ze.replace(/\r\n?/g,`
`):ze=ze.replace(/[ \t\r\n]+/g," "),Z[Ie]=ze,oe[Ie<<1]=pe,pe+=ze.length,oe[Ie++<<1|1]=te)}}return fe(se),{sourceCode:Z.join("").replace(/\n$/,""),spans:oe}}function B(se,q,X,Z,pe){if(!X)return;var oe={sourceNode:se,pre:1,langExtension:null,numberLines:null,sourceCode:X,spans:null,basePos:q,decorations:null};Z(oe),pe.push.apply(pe,oe.decorations)}var V=/\S/;function K(se){for(var q=void 0,X=se.firstChild;X;X=X.nextSibling){var Z=X.nodeType;q=Z===1?q?se:X:Z===3&&V.test(X.nodeValue)?se:q}return q===se?void 0:q}function Y(se,q){var X={},Z;(function(){for(var Ie=se.concat(q),fe=[],te={},J=0,ve=Ie.length;J<ve;++J){var De=Ie[J],ze=De[3];if(ze)for(var dt=ze.length;--dt>=0;)X[ze.charAt(dt)]=De;var Me=De[1],Tt=""+Me;te.hasOwnProperty(Tt)||(fe.push(Me),te[Tt]=null)}fe.push(/[\0-\uffff]/),Z=j(fe)})();var pe=q.length,oe=function Ie(fe){for(var te=fe.sourceCode,J=fe.basePos,ve=fe.sourceNode,De=[J,L],ze=0,dt=te.match(Z)||[],Me={},Tt=0,je=dt.length;Tt<je;++Tt){var st=dt[Tt],Xe=Me[st],Je=void 0,et;if(typeof Xe=="string")et=!1;else{var ot=X[st.charAt(0)];if(ot)Je=st.match(ot[1]),Xe=ot[0];else{for(var Ve=0;Ve<pe;++Ve)if(ot=q[Ve],Je=st.match(ot[1]),Je){Xe=ot[0];break}Je||(Xe=L)}et=Xe.length>=5&&Xe.substring(0,5)==="lang-",et&&!(Je&&typeof Je[1]=="string")&&(et=!1,Xe=U),et||(Me[st]=Xe)}var ue=ze;if(ze+=st.length,!et)De.push(J+ue,Xe);else{var ae=Je[1],lt=st.indexOf(ae),Ze=lt+ae.length;Je[2]&&(Ze=st.length-Je[2].length,lt=Ze-ae.length);var Te=Xe.substring(5);B(ve,J+ue,st.substring(0,lt),Ie,De),B(ve,J+ue+lt,ae,Pe(Te,ae),De),B(ve,J+ue+Ze,st.substring(Ze),Ie,De)}}fe.decorations=De};return oe}function Q(se){var q=[],X=[];se.tripleQuotedStrings?q.push([E,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):se.multiLineStrings?q.push([E,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):q.push([E,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),se.verbatimStrings&&X.push([E,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var Z=se.hashComments;Z&&(se.cStyleComments?(Z>1?q.push([_,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):q.push([_,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),X.push([E,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):q.push([_,/^#[^\r\n]*/,null,"#"])),se.cStyleComments&&(X.push([_,/^\/\/[^\r\n]*/,null]),X.push([_,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var pe=se.regexLiterals;if(pe){var oe=pe>1?"":`
\r`,Ie=oe?".":"[\\S\\s]",fe="/(?=[^/*"+oe+"])(?:[^/\\x5B\\x5C"+oe+"]|\\x5C"+Ie+"|\\x5B(?:[^\\x5C\\x5D"+oe+"]|\\x5C"+Ie+")*(?:\\x5D|$))+/";X.push(["lang-regex",RegExp("^"+H+"("+fe+")")])}var te=se.types;te&&X.push([v,te]);var J=(""+se.keywords).replace(/^ | $/g,"");J.length&&X.push([T,new RegExp("^(?:"+J.replace(/[\s,]+/g,"|")+")\\b"),null]),q.push([L,/^\s+/,null,` \r
\xA0`]);var ve="^.[^\\s\\w.$@'\"`/\\\\]*";return se.regexLiterals&&(ve+="(?!s*/)"),X.push([S,/^@[a-z_$][a-z_$@0-9]*/i,null],[v,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[L,/^[a-z_$][a-z_$@0-9]*/i,null],[S,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[L,/^\\[\s\S]?/,null],[O,new RegExp(ve),null]),Y(q,X)}var he=Q({keywords:C,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function G(se,q,X){for(var Z=/(?:^|\s)nocode(?:\s|$)/,pe=/\r\n?|\n/,oe=se.ownerDocument,Ie=oe.createElement("li");se.firstChild;)Ie.appendChild(se.firstChild);var fe=[Ie];function te(Me){var Tt=Me.nodeType;if(Tt==1&&!Z.test(Me.className))if(Me.nodeName==="br")J(Me),Me.parentNode&&Me.parentNode.removeChild(Me);else for(var je=Me.firstChild;je;je=je.nextSibling)te(je);else if((Tt==3||Tt==4)&&X){var st=Me.nodeValue,Xe=st.match(pe);if(Xe){var Je=st.substring(0,Xe.index);Me.nodeValue=Je;var et=st.substring(Xe.index+Xe[0].length);if(et){var ot=Me.parentNode;ot.insertBefore(oe.createTextNode(et),Me.nextSibling)}J(Me),Je||Me.parentNode.removeChild(Me)}}}function J(Me){for(;!Me.nextSibling;)if(Me=Me.parentNode,!Me)return;function Tt(Xe,Je){var et=Je?Xe.cloneNode(!1):Xe,ot=Xe.parentNode;if(ot){var Ve=Tt(ot,1),ue=Xe.nextSibling;Ve.appendChild(et);for(var ae=ue;ae;ae=ue)ue=ae.nextSibling,Ve.appendChild(ae)}return et}for(var je=Tt(Me.nextSibling,0),st;(st=je.parentNode)&&st.nodeType===1;)je=st;fe.push(je)}for(var ve=0;ve<fe.length;++ve)te(fe[ve]);q===(q|0)&&fe[0].setAttribute("value",q);var De=oe.createElement("ol");De.className="linenums";for(var ze=Math.max(0,q-1|0)||0,ve=0,dt=fe.length;ve<dt;++ve)Ie=fe[ve],Ie.className="L"+(ve+ze)%10,Ie.firstChild||Ie.appendChild(oe.createTextNode("\xA0")),De.appendChild(Ie);se.appendChild(De)}function ye(se){var q=/\bMSIE\s(\d+)/.exec(navigator.userAgent);q=q&&+q[1]<=8;var X=/\n/g,Z=se.sourceCode,pe=Z.length,oe=0,Ie=se.spans,fe=Ie.length,te=0,J=se.decorations,ve=J.length,De=0;J[ve]=pe;var ze,dt;for(dt=ze=0;dt<ve;)J[dt]!==J[dt+2]?(J[ze++]=J[dt++],J[ze++]=J[dt++]):dt+=2;for(ve=ze,dt=ze=0;dt<ve;){for(var Me=J[dt],Tt=J[dt+1],je=dt+2;je+2<=ve&&J[je+1]===Tt;)je+=2;J[ze++]=Me,J[ze++]=Tt,dt=je}ve=J.length=ze;var st=se.sourceNode,Xe="";st&&(Xe=st.style.display,st.style.display="none");try{for(var Je=null;te<fe;){var et=Ie[te],ot=Ie[te+2]||pe,Ve=J[De+2]||pe,je=Math.min(ot,Ve),ue=Ie[te+1],ae;if(ue.nodeType!==1&&(ae=Z.substring(oe,je))){q&&(ae=ae.replace(X,"\r")),ue.nodeValue=ae;var lt=ue.ownerDocument,Ze=lt.createElement("span");Ze.className=J[De+1];var Te=ue.parentNode;Te.replaceChild(Ze,ue),Ze.appendChild(ue),oe<ot&&(Ie[te+1]=ue=lt.createTextNode(Z.substring(je,ot)),Te.insertBefore(ue,Ze.nextSibling))}oe=je,oe>=ot&&(te+=2),oe>=Ve&&(De+=2)}}finally{st&&(st.style.display=Xe)}}var Ae={};function ge(se,q){for(var X=q.length;--X>=0;){var Z=q[X];Ae.hasOwnProperty(Z)?i.console&&console.warn("cannot override language handler %s",Z):Ae[Z]=se}}function Pe(se,q){return se&&Ae.hasOwnProperty(se)||(se=/^\s*</.test(q)?"default-markup":"default-code"),Ae[se]}ge(he,["default-code"]),ge(Y([],[[L,/^[^<?]+/],[F,/^<!\w[^>]*(?:>|$)/],[_,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[O,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),ge(Y([[L,/^[\s]+/,null,` \r
`],[W,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[M,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[z,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[O,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),ge(Y([],[[W,/^[\s\S]+/]]),["uq.val"]),ge(Q({keywords:d,hashComments:!0,cStyleComments:!0,types:x}),["c","cc","cpp","cxx","cyc","m"]),ge(Q({keywords:"null,true,false"}),["json"]),ge(Q({keywords:l,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:x}),["cs"]),ge(Q({keywords:n,cStyleComments:!0}),["java"]),ge(Q({keywords:w,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),ge(Q({keywords:p,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),ge(Q({keywords:c,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),ge(Q({keywords:A,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),ge(Q({keywords:s,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),ge(Q({keywords:t,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),ge(Y([],[[E,/^[\s\S]+/]]),["regex"]);function Re(se){var q=se.langExtension;try{var X=k(se.sourceNode,se.pre),Z=X.sourceCode;se.sourceCode=Z,se.spans=X.spans,se.basePos=0,Pe(q,Z)(se),ye(se)}catch(pe){i.console&&console.log(pe&&pe.stack||pe)}}function rt(se,q,X){var Z=X||!1,pe=q||null,oe=document.createElement("div");oe.innerHTML="<pre>"+se+"</pre>",oe=oe.firstChild,Z&&G(oe,Z,!0);var Ie={langExtension:pe,numberLines:Z,sourceNode:oe,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return Re(Ie),oe.innerHTML}function ne(se,q){var X=q||document.body,Z=X.ownerDocument||document;function pe(et){return X.getElementsByTagName(et)}for(var oe=[pe("pre"),pe("code"),pe("xmp")],Ie=[],fe=0;fe<oe.length;++fe)for(var te=0,J=oe[fe].length;te<J;++te)Ie.push(oe[fe][te]);oe=null;var ve=Date;ve.now||(ve={now:function(){return+new Date}});var De=0,ze=/\blang(?:uage)?-([\w.]+)(?!\S)/,dt=/\bprettyprint\b/,Me=/\bprettyprinted\b/,Tt=/pre|xmp/i,je=/^code$/i,st=/^(?:pre|code|xmp)$/i,Xe={};function Je(){for(var et=i.PR_SHOULD_USE_CONTINUATION?ve.now()+250:Infinity;De<Ie.length&&ve.now()<et;De++){for(var ot=Ie[De],Ve=Xe,ue=ot;ue=ue.previousSibling;){var ae=ue.nodeType,lt=(ae===7||ae===8)&&ue.nodeValue;if(lt?!/^\??prettify\b/.test(lt):ae!==3||/\S/.test(ue.nodeValue))break;if(lt){Ve={},lt.replace(/\b(\w+)=([\w:.%+-]+)/g,function(we,Fe,Ye){Ve[Fe]=Ye});break}}var Ze=ot.className;if((Ve!==Xe||dt.test(Ze))&&!Me.test(Ze)){for(var Te=!1,Jt=ot.parentNode;Jt;Jt=Jt.parentNode){var mt=Jt.tagName;if(st.test(mt)&&Jt.className&&dt.test(Jt.className)){Te=!0;break}}if(!Te){ot.className+=" prettyprinted";var ft=Ve.lang;if(!ft){ft=Ze.match(ze);var bt;!ft&&(bt=K(ot))&&je.test(bt.tagName)&&(ft=bt.className.match(ze)),ft&&(ft=ft[1])}var Lt;if(Tt.test(ot.tagName))Lt=1;else{var or=ot.currentStyle,Bt=Z.defaultView,_e=or?or.whiteSpace:Bt&&Bt.getComputedStyle?Bt.getComputedStyle(ot,null).getPropertyValue("white-space"):0;Lt=_e&&_e.substring(0,3)==="pre"}var Ce=Ve.linenums;(Ce=Ce==="true"||+Ce)||(Ce=Ze.match(/\blinenums\b(?::(\d+))?/),Ce=Ce?Ce[1]&&Ce[1].length?+Ce[1]:!0:!1),Ce&&G(ot,Ce,Lt);var Ee={langExtension:ft,sourceNode:ot,numberLines:Ce,pre:Lt,sourceCode:null,basePos:null,spans:null,decorations:null};Re(Ee)}}}De<Ie.length?i.setTimeout(Je,250):typeof se=="function"&&se()}Je()}var be=i.PR={createSimpleLexer:Y,registerLangHandler:ge,sourceDecorator:Q,PR_ATTRIB_NAME:z,PR_ATTRIB_VALUE:W,PR_COMMENT:_,PR_DECLARATION:F,PR_KEYWORD:T,PR_LITERAL:S,PR_NOCODE:N,PR_PLAIN:L,PR_PUNCTUATION:O,PR_SOURCE:U,PR_STRING:E,PR_TAG:M,PR_TYPE:v,prettyPrintOne:b?i.prettyPrintOne=rt:h=rt,prettyPrint:u=b?i.prettyPrint=ne:u=ne},at=i.define;typeof at=="function"&&at.amd&&at("google-code-prettify",[],function(){return be})})()},SKnc:function(R,I,e){var g=e("bYtY"),f=e("QuXc"),b=function(h,u,i,a,r,o){this.x=h==null?0:h,this.y=u==null?0:u,this.x2=i==null?1:i,this.y2=a==null?0:a,this.type="linear",this.global=o||!1,f.call(this,r)};b.prototype={constructor:b},g.inherits(b,f);var m=b;R.exports=m},"SKx+":function(R,I,e){var g=e("ProS"),f=g.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},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}}}),b=f;R.exports=b},SMc4:function(R,I,e){var g=e("bYtY"),f=e("bLfw"),b=e("nkfE"),m=e("ICMv"),y=f.extend({type:"cartesian2dAxis",axis:null,init:function(){y.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){y.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){y.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function h(a,r){return r.type||(r.data?"category":"value")}g.merge(y.prototype,m);var u={offset:0};b("x",y,h,u),b("y",y,h,u);var i=y;R.exports=i},SRve:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};I.default=g},SUKs:function(R,I,e){var g=e("LPTA"),f=g.debugMode,b=function(){};f===1&&(b=console.error);var m=b;R.exports=m},SZEN:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.clientToElement=g;function g(f,b,m){var y=m.getBoundingClientRect(),h={x:0,y:0};return f<y.left?h.x=0:f>=y.right?h.x=y.width-1:h.x=f-y.left,b<y.top?h.y=0:b>=y.bottom?h.y=y.height-1:h.y=b-y.top,h}},Sdc0:function(R,I,e){"use strict";var g=e("pVnL"),f=e.n(g),b=e("lSNA"),m=e.n(b),y=e("q1tI"),h=e("rePB"),u=e("ODXe"),i=e("Ff2n"),a=e("TSYQ"),r=e.n(a),o=e("6cGi"),d=e("4IlW"),n=y.forwardRef(function(T,_){var v,S=T.prefixCls,O=S===void 0?"rc-switch":S,L=T.className,M=T.checked,F=T.defaultChecked,U=T.disabled,z=T.loadingIcon,W=T.checkedChildren,N=T.unCheckedChildren,H=T.onClick,j=T.onChange,k=T.onKeyDown,B=Object(i.a)(T,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),V=Object(o.a)(!1,{value:M,defaultValue:F}),K=Object(u.a)(V,2),Y=K[0],Q=K[1];function he(ge,Pe){var Re=Y;return U||(Re=ge,Q(Re),j==null||j(Re,Pe)),Re}function G(ge){ge.which===d.a.LEFT?he(!1,ge):ge.which===d.a.RIGHT&&he(!0,ge),k==null||k(ge)}function ye(ge){var Pe=he(!Y,ge);H==null||H(Pe,ge)}var Ae=r()(O,L,(v={},Object(h.a)(v,"".concat(O,"-checked"),Y),Object(h.a)(v,"".concat(O,"-disabled"),U),v));return y.createElement("button",Object.assign({},B,{type:"button",role:"switch","aria-checked":Y,disabled:U,className:Ae,ref:_,onKeyDown:G,onClick:ye}),z,y.createElement("span",{className:"".concat(O,"-inner")},Y?W:N))});n.displayName="Switch";var l=n,t=e("gZBC"),s=e.n(t),c=e("g0mS"),p=e("H84U"),A=e("3Nzz"),w=e("uaoM"),C=function(T,_){var v={};for(var S in T)Object.prototype.hasOwnProperty.call(T,S)&&_.indexOf(S)<0&&(v[S]=T[S]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,S=Object.getOwnPropertySymbols(T);O<S.length;O++)_.indexOf(S[O])<0&&Object.prototype.propertyIsEnumerable.call(T,S[O])&&(v[S[O]]=T[S[O]]);return v},x=y.forwardRef(function(T,_){var v,S=T.prefixCls,O=T.size,L=T.loading,M=T.className,F=M===void 0?"":M,U=T.disabled,z=C(T,["prefixCls","size","loading","className","disabled"]);Object(w.a)("checked"in z||!("value"in z),"Switch","`value` is not a valid prop, do you mean `checked`?");var W=y.useContext(p.b),N=W.getPrefixCls,H=W.direction,j=y.useContext(A.b),k=N("switch",S),B=y.createElement("div",{className:"".concat(k,"-handle")},L&&y.createElement(s.a,{className:"".concat(k,"-loading-icon")})),V=r()(F,(v={},m()(v,"".concat(k,"-small"),(O||j)==="small"),m()(v,"".concat(k,"-loading"),L),m()(v,"".concat(k,"-rtl"),H==="rtl"),v));return y.createElement(c.a,{insertExtraNode:!0},y.createElement(l,f()({},z,{prefixCls:k,className:V,disabled:U||L,ref:_,loadingIcon:B})))});x.__ANT_SWITCH=!0,x.displayName="Switch";var E=I.a=x},SehX:function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("2B6p"),m=b.updateCenterAndZoom;g.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(y,h){var u=y.componentType||"series";h.eachComponent({mainType:u,query:y},function(i){var a=i.coordinateSystem;if(a.type!=="geo")return;var r=m(a,y,i.get("scaleLimit"));i.setCenter&&i.setCenter(r.center),i.setZoom&&i.setZoom(r.zoom),u==="series"&&f.each(i.seriesGroup,function(o){o.setCenter(r.center),o.setZoom(r.zoom)})})})},SfRM:function(R,I,e){var g=e("YESw");function f(){this.__data__=g?g(null):{},this.size=0}R.exports=f},SgGq:function(R,I,e){var g=e("bYtY"),f=e("H6uX"),b=e("YH21"),m=e("pP6R");function y(t){this.pointerChecker,this._zr=t,this._opt={};var s=g.bind,c=s(h,this),p=s(u,this),A=s(i,this),w=s(a,this),C=s(r,this);f.call(this),this.setPointerChecker=function(x){this.pointerChecker=x},this.enable=function(x,E){this.disable(),this._opt=g.defaults(g.clone(E)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),x==null&&(x=!0),(x===!0||x==="move"||x==="pan")&&(t.on("mousedown",c),t.on("mousemove",p),t.on("mouseup",A)),(x===!0||x==="scale"||x==="zoom")&&(t.on("mousewheel",w),t.on("pinch",C))},this.disable=function(){t.off("mousedown",c),t.off("mousemove",p),t.off("mouseup",A),t.off("mousewheel",w),t.off("pinch",C)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}g.mixin(y,f);function h(t){if(b.isMiddleOrRightButtonOnMouseUpDown(t)||t.target&&t.target.draggable)return;var s=t.offsetX,c=t.offsetY;this.pointerChecker&&this.pointerChecker(t,s,c)&&(this._x=s,this._y=c,this._dragging=!0)}function u(t){if(!this._dragging||!n("moveOnMouseMove",t,this._opt)||t.gestureEvent==="pinch"||m.isTaken(this._zr,"globalPan"))return;var s=t.offsetX,c=t.offsetY,p=this._x,A=this._y,w=s-p,C=c-A;this._x=s,this._y=c,this._opt.preventDefaultMouseMove&&b.stop(t.event),d(this,"pan","moveOnMouseMove",t,{dx:w,dy:C,oldX:p,oldY:A,newX:s,newY:c})}function i(t){b.isMiddleOrRightButtonOnMouseUpDown(t)||(this._dragging=!1)}function a(t){var s=n("zoomOnMouseWheel",t,this._opt),c=n("moveOnMouseWheel",t,this._opt),p=t.wheelDelta,A=Math.abs(p),w=t.offsetX,C=t.offsetY;if(p===0||!s&&!c)return;if(s){var x=A>3?1.4:A>1?1.2:1.1,E=p>0?x:1/x;o(this,"zoom","zoomOnMouseWheel",t,{scale:E,originX:w,originY:C})}if(c){var T=Math.abs(p),_=(p>0?1:-1)*(T>3?.4:T>1?.15:.05);o(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:_,originX:w,originY:C})}}function r(t){if(m.isTaken(this._zr,"globalPan"))return;var s=t.pinchScale>1?1.1:1/1.1;o(this,"zoom",null,t,{scale:s,originX:t.pinchX,originY:t.pinchY})}function o(t,s,c,p,A){t.pointerChecker&&t.pointerChecker(p,A.originX,A.originY)&&(b.stop(p.event),d(t,s,c,p,A))}function d(t,s,c,p,A){A.isAvailableBehavior=g.bind(n,null,c,p),t.trigger(s,A)}function n(t,s,c){var p=c[t];return!t||p&&(!g.isString(p)||s.event[p+"Key"])}var l=y;R.exports=l},SgaC:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;function g(y,h){if(!(y instanceof h))throw new TypeError("Cannot call a class as a function")}function f(y,h){for(var u=0;u<h.length;u++){var i=h[u];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(y,i.key,i)}}function b(y,h,u){return h&&f(y.prototype,h),u&&f(y,u),y}var m=function(){function y(){g(this,y),this._subrects=0}return b(y,[{key:"decodeRect",value:function(u,i,a,r,o,d,n){if(this._subrects===0){if(o.rQwait("RRE",4+4))return!1;this._subrects=o.rQshift32();var l=o.rQshiftBytes(4);d.fillRect(u,i,a,r,l)}for(;this._subrects>0;){if(o.rQwait("RRE",4+8))return!1;var t=o.rQshiftBytes(4),s=o.rQshift16(),c=o.rQshift16(),p=o.rQshift16(),A=o.rQshift16();d.fillRect(u+s,i+c,p,A,t),this._subrects--}return!0}}]),y}();I.default=m},Sj0X:function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("XuBP")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="DownOutlined";var u=b.forwardRef(h);I.default=u},Sj9i:function(R,I,e){var g=e("QBsz"),f=g.create,b=g.distSquare,m=Math.pow,y=Math.sqrt,h=1e-8,u=1e-4,i=y(3),a=1/3,r=f(),o=f(),d=f();function n(S){return S>-h&&S<h}function l(S){return S>h||S<-h}function t(S,O,L,M,F){var U=1-F;return U*U*(U*S+3*F*O)+F*F*(F*M+3*U*L)}function s(S,O,L,M,F){var U=1-F;return 3*(((O-S)*U+2*(L-O)*F)*U+(M-L)*F*F)}function c(S,O,L,M,F,U){var z=M+3*(O-L)-S,W=3*(L-O*2+S),N=3*(O-S),H=S-F,j=W*W-3*z*N,k=W*N-9*z*H,B=N*N-3*W*H,V=0;if(n(j)&&n(k))if(n(W))U[0]=0;else{var K=-N/W;K>=0&&K<=1&&(U[V++]=K)}else{var Y=k*k-4*j*B;if(n(Y)){var Q=k/j,K=-W/z+Q,he=-Q/2;K>=0&&K<=1&&(U[V++]=K),he>=0&&he<=1&&(U[V++]=he)}else if(Y>0){var G=y(Y),ye=j*W+1.5*z*(-k+G),Ae=j*W+1.5*z*(-k-G);ye<0?ye=-m(-ye,a):ye=m(ye,a),Ae<0?Ae=-m(-Ae,a):Ae=m(Ae,a);var K=(-W-(ye+Ae))/(3*z);K>=0&&K<=1&&(U[V++]=K)}else{var ge=(2*j*W-3*z*k)/(2*y(j*j*j)),Pe=Math.acos(ge)/3,Re=y(j),rt=Math.cos(Pe),K=(-W-2*Re*rt)/(3*z),he=(-W+Re*(rt+i*Math.sin(Pe)))/(3*z),ne=(-W+Re*(rt-i*Math.sin(Pe)))/(3*z);K>=0&&K<=1&&(U[V++]=K),he>=0&&he<=1&&(U[V++]=he),ne>=0&&ne<=1&&(U[V++]=ne)}}return V}function p(S,O,L,M,F){var U=6*L-12*O+6*S,z=9*O+3*M-3*S-9*L,W=3*O-3*S,N=0;if(n(z)){if(l(U)){var H=-W/U;H>=0&&H<=1&&(F[N++]=H)}}else{var j=U*U-4*z*W;if(n(j))F[0]=-U/(2*z);else if(j>0){var k=y(j),H=(-U+k)/(2*z),B=(-U-k)/(2*z);H>=0&&H<=1&&(F[N++]=H),B>=0&&B<=1&&(F[N++]=B)}}return N}function A(S,O,L,M,F,U){var z=(O-S)*F+S,W=(L-O)*F+O,N=(M-L)*F+L,H=(W-z)*F+z,j=(N-W)*F+W,k=(j-H)*F+H;U[0]=S,U[1]=z,U[2]=H,U[3]=k,U[4]=k,U[5]=j,U[6]=N,U[7]=M}function w(S,O,L,M,F,U,z,W,N,H,j){var k,B=.005,V=Infinity,K,Y,Q,he;r[0]=N,r[1]=H;for(var G=0;G<1;G+=.05)o[0]=t(S,L,F,z,G),o[1]=t(O,M,U,W,G),Q=b(r,o),Q<V&&(k=G,V=Q);V=Infinity;for(var ye=0;ye<32&&!(B<u);ye++)K=k-B,Y=k+B,o[0]=t(S,L,F,z,K),o[1]=t(O,M,U,W,K),Q=b(o,r),K>=0&&Q<V?(k=K,V=Q):(d[0]=t(S,L,F,z,Y),d[1]=t(O,M,U,W,Y),he=b(d,r),Y<=1&&he<V?(k=Y,V=he):B*=.5);return j&&(j[0]=t(S,L,F,z,k),j[1]=t(O,M,U,W,k)),y(V)}function C(S,O,L,M){var F=1-M;return F*(F*S+2*M*O)+M*M*L}function x(S,O,L,M){return 2*((1-M)*(O-S)+M*(L-O))}function E(S,O,L,M,F){var U=S-2*O+L,z=2*(O-S),W=S-M,N=0;if(n(U)){if(l(z)){var H=-W/z;H>=0&&H<=1&&(F[N++]=H)}}else{var j=z*z-4*U*W;if(n(j)){var H=-z/(2*U);H>=0&&H<=1&&(F[N++]=H)}else if(j>0){var k=y(j),H=(-z+k)/(2*U),B=(-z-k)/(2*U);H>=0&&H<=1&&(F[N++]=H),B>=0&&B<=1&&(F[N++]=B)}}return N}function T(S,O,L){var M=S+L-2*O;return M===0?.5:(S-O)/M}function _(S,O,L,M,F){var U=(O-S)*M+S,z=(L-O)*M+O,W=(z-U)*M+U;F[0]=S,F[1]=U,F[2]=W,F[3]=W,F[4]=z,F[5]=L}function v(S,O,L,M,F,U,z,W,N){var H,j=.005,k=Infinity;r[0]=z,r[1]=W;for(var B=0;B<1;B+=.05){o[0]=C(S,L,F,B),o[1]=C(O,M,U,B);var V=b(r,o);V<k&&(H=B,k=V)}k=Infinity;for(var K=0;K<32&&!(j<u);K++){var Y=H-j,Q=H+j;o[0]=C(S,L,F,Y),o[1]=C(O,M,U,Y);var V=b(o,r);if(Y>=0&&V<k)H=Y,k=V;else{d[0]=C(S,L,F,Q),d[1]=C(O,M,U,Q);var he=b(d,r);Q<=1&&he<k?(H=Q,k=he):j*=.5}}return N&&(N[0]=C(S,L,F,H),N[1]=C(O,M,U,H)),y(k)}I.cubicAt=t,I.cubicDerivativeAt=s,I.cubicRootAt=c,I.cubicExtrema=p,I.cubicSubdivide=A,I.cubicProjectPoint=w,I.quadraticAt=C,I.quadraticDerivativeAt=x,I.quadraticRootAt=E,I.quadraticExtremum=T,I.quadraticSubdivide=_,I.quadraticProjectPoint=v},Sp2Z:function(R,I,e){var g=e("3LNs"),f=e("/y7N"),b=e("AVZG"),m=e("Znkb"),y=g.extend({makeElOption:function(r,o,d,n,l){var t=d.axis,s=t.grid,c=n.get("type"),p=h(s,t).getOtherAxis(t).getGlobalExtent(),A=t.toGlobalCoord(t.dataToCoord(o,!0));if(c&&c!=="none"){var w=f.buildElStyle(n),C=u[c](t,A,p);C.style=w,r.graphicKey=C.type,r.pointer=C}var x=b.layout(s.model,d);f.buildCartesianSingleLabelElOption(o,r,x,d,n,l)},getHandleTransform:function(r,o,d){var n=b.layout(o.axis.grid.model,o,{labelInside:!1});return n.labelMargin=d.get("handle.margin"),{position:f.getTransformedPosition(o.axis,r,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(r,o,d,n){var l=d.axis,t=l.grid,s=l.getGlobalExtent(!0),c=h(t,l).getOtherAxis(l).getGlobalExtent(),p=l.dim==="x"?0:1,A=r.position;A[p]+=o[p],A[p]=Math.min(s[1],A[p]),A[p]=Math.max(s[0],A[p]);var w=(c[1]+c[0])/2,C=[w,w];C[p]=A[p];var x=[{verticalAlign:"middle"},{align:"center"}];return{position:A,rotation:r.rotation,cursorPoint:C,tooltipOption:x[p]}}});function h(r,o){var d={};return d[o.dim+"AxisIndex"]=o.index,r.getCartesian(d)}var u={line:function(r,o,d){var n=f.makeLineShape([o,d[0]],[o,d[1]],i(r));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(r,o,d){var n=Math.max(1,r.getBandWidth()),l=d[1]-d[0];return{type:"Rect",shape:f.makeRectShape([o-n/2,d[0]],[n,l],i(r))}}};function i(r){return r.dim==="x"?0:1}m.registerAxisPointerClass("CartesianAxisPointer",y);var a=y;R.exports=a},Sq3C:function(R,I,e){var g=e("sKgW"),f=e("zoYe"),b=e("wy8a"),m=e("quyA"),y=e("Z1HP"),h=e("Em2t"),u=Math.ceil;function i(a,r){r=r===void 0?" ":f(r);var o=r.length;if(o<2)return o?g(r,a):r;var d=g(r,u(a/y(r)));return m(r)?b(h(d),0,a).join(""):d.slice(0,a)}R.exports=i},SqI9:function(R,I,e){var g=e("y+Vt"),f=e("iXp4"),b=g.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},brush:f(g.prototype.brush),buildPath:function(y,h){var u=h.cx,i=h.cy,a=Math.max(h.r0||0,0),r=Math.max(h.r,0),o=h.startAngle,d=h.endAngle,n=h.clockwise,l=Math.cos(o),t=Math.sin(o);y.moveTo(l*a+u,t*a+i),y.lineTo(l*r+u,t*r+i),y.arc(u,i,r,o,d,!n),y.lineTo(Math.cos(d)*a+u,Math.sin(d)*a+i),a!==0&&y.arc(u,i,a,d,o,n),y.closePath()}});R.exports=b},SrGk:function(R,I,e){var g=e("hydK"),f=g.createElement,b=e("bYtY"),m=e("y+Vt"),y=e("Dagg"),h=e("dqUG"),u=e("P47w"),i=u.path,a=u.image,r=u.text,o="0",d="1";function n(t,s,c,p,A){this._zrId=t,this._svgRoot=s,this._tagNames=typeof c=="string"?[c]:c,this._markLabel=p,this._domName=A||"_dom",this.nextId=0}n.prototype.createElement=f,n.prototype.getDefs=function(t){var s=this._svgRoot,c=this._svgRoot.getElementsByTagName("defs");return c.length===0?t?(c=s.insertBefore(this.createElement("defs"),s.firstChild),c.contains||(c.contains=function(p){var A=c.children;if(!A)return!1;for(var w=A.length-1;w>=0;--w)if(A[w]===p)return!0;return!1}),c):null:c[0]},n.prototype.update=function(t,s){if(!t)return;var c=this.getDefs(!1);if(t[this._domName]&&c.contains(t[this._domName]))typeof s=="function"&&s(t);else{var p=this.add(t);p&&(t[this._domName]=p)}},n.prototype.addDom=function(t){var s=this.getDefs(!0);s.appendChild(t)},n.prototype.removeDom=function(t){var s=this.getDefs(!1);s&&t[this._domName]&&(s.removeChild(t[this._domName]),t[this._domName]=null)},n.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var s=[];return b.each(this._tagNames,function(c){var p=t.getElementsByTagName(c);s=s.concat([].slice.call(p))}),s},n.prototype.markAllUnused=function(){var t=this.getDoms(),s=this;b.each(t,function(c){c[s._markLabel]=o})},n.prototype.markUsed=function(t){t&&(t[this._markLabel]=d)},n.prototype.removeUnused=function(){var t=this.getDefs(!1);if(!t)return;var s=this.getDoms(),c=this;b.each(s,function(p){p[c._markLabel]!==d&&t.removeChild(p)})},n.prototype.getSvgProxy=function(t){return t instanceof m?i:t instanceof y?a:t instanceof h?r:i},n.prototype.getTextSvgElement=function(t){return t.__textSvgEl},n.prototype.getSvgElement=function(t){return t.__svgEl};var l=n;R.exports=l},Swgg:function(R,I,e){var g=e("fc+c"),f=g.extend({type:"dataZoom.select"});R.exports=f},Sxd8:function(R,I,e){var g=e("ZCgT");function f(b){var m=g(b),y=m%1;return m===m?y?m-y:m:0}R.exports=f},T1rO:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("zdCA"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},T4UG:function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("bYtY"),m=e("ItGF"),y=e("7aKB"),h=y.formatTime,u=y.encodeHTML,i=y.addCommas,a=y.getTooltipMarker,r=e("4NO4"),o=e("bLfw"),d=e("5Hur"),n=e("OKJ2"),l=e("+TT/"),t=l.getLayoutParams,s=l.mergeLayoutParam,c=e("9H2F"),p=c.createTask,A=e("D5nY"),w=A.prepareSource,C=A.getSource,x=e("KxfA"),E=x.retrieveRawValue,T=r.makeInner(),_=o.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(N,H,j,k){this.seriesIndex=this.componentIndex,this.dataTask=p({count:O,reset:L}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(N,j),w(this);var B=this.getInitialData(N,j);F(B,this),this.dataTask.context.data=B,T(this).dataBeforeProcessed=B,v(this)},mergeDefaultAndTheme:function(N,H){var j=this.layoutMode,k=j?t(N):{},B=this.subType;o.hasClass(B)&&(B+="Series"),b.merge(N,H.getTheme().get(this.subType)),b.merge(N,this.getDefaultOption()),r.defaultEmphasis(N,"label",["show"]),this.fillDataTextStyle(N.data),j&&s(N,k,j)},mergeOption:function(N,H){N=b.merge(this.option,N,!0),this.fillDataTextStyle(N.data);var j=this.layoutMode;j&&s(this.option,N,j),w(this);var k=this.getInitialData(N,H);F(k,this),this.dataTask.dirty(),this.dataTask.context.data=k,T(this).dataBeforeProcessed=k,v(this)},fillDataTextStyle:function(N){if(N&&!b.isTypedArray(N))for(var H=["show"],j=0;j<N.length;j++)N[j]&&N[j].label&&r.defaultEmphasis(N[j],"label",H)},getInitialData:function(){},appendData:function(N){var H=this.getRawData();H.appendData(N.data)},getData:function(N){var H=z(this);if(H){var j=H.context.data;return N==null?j:j.getLinkedData(N)}else return T(this).data},setData:function(N){var H=z(this);if(H){var j=H.context;j.data!==N&&H.modifyOutputEnd&&H.setOutputEnd(N.count()),j.outputData=N,H!==this.dataTask&&(j.data=N)}T(this).data=N},getSource:function(){return C(this)},getRawData:function(){return T(this).dataBeforeProcessed},getBaseAxis:function(){var N=this.coordinateSystem;return N&&N.getBaseAxis&&N.getBaseAxis()},formatTooltip:function(N,H,j,k){var B=this;k=k||"html";var V=k==="html"?"<br/>":`
`,K=k==="richText",Y={},Q=0;function he(oe){var Ie=b.reduce(oe,function(De,ze,dt){var Me=ye.getDimensionInfo(dt);return De|=Me&&Me.tooltip!==!1&&Me.displayName!=null},0),fe=[];Ae.length?b.each(Ae,function(De){te(E(ye,N,De),De)}):b.each(oe,te);function te(De,ze){var dt=ye.getDimensionInfo(ze);if(!dt||dt.otherDims.tooltip===!1)return;var Me=dt.type,Tt="sub"+B.seriesIndex+"at"+Q,je=a({color:rt,type:"subItem",renderMode:k,markerId:Tt}),st=typeof je=="string"?je:je.content,Xe=(Ie?st+u(dt.displayName||"-")+": ":"")+u(Me==="ordinal"?De+"":Me==="time"?H?"":h("yyyy/MM/dd hh:mm:ss",De):i(De));Xe&&fe.push(Xe),K&&(Y[Tt]=rt,++Q)}var J=Ie?K?`
`:"<br/>":"",ve=J+fe.join(J||", ");return{renderMode:k,content:ve,style:Y}}function G(oe){return{renderMode:k,content:u(i(oe)),style:Y}}var ye=this.getData(),Ae=ye.mapDimension("defaultedTooltip",!0),ge=Ae.length,Pe=this.getRawValue(N),Re=b.isArray(Pe),rt=ye.getItemVisual(N,"color");b.isObject(rt)&&rt.colorStops&&(rt=(rt.colorStops[0]||{}).color),rt=rt||"transparent";var ne=ge>1||Re&&!ge?he(Pe):G(ge?E(ye,N,Ae[0]):Re?Pe[0]:Pe),be=ne.content,at=B.seriesIndex+"at"+Q,se=a({color:rt,type:"item",renderMode:k,markerId:at});Y[at]=rt,++Q;var q=ye.getName(N),X=this.name;r.isNameSpecified(this)||(X=""),X=X?u(X)+(H?": ":V):"";var Z=typeof se=="string"?se:se.content,pe=H?Z+X+be:X+Z+(q?u(q)+": "+be:be);return{html:pe,markers:Y}},isAnimationEnabled:function(){if(m.node)return!1;var N=this.getShallow("animation");return N&&(this.getData().count()>this.getShallow("animationThreshold")&&(N=!1)),N},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(N,H,j){var k=this.ecModel,B=d.getColorFromPalette.call(this,N,H,j);return B||(B=k.getColorFromPalette(N,H,j)),B},coordDimToDataDim:function(N){return this.getRawData().mapDimension(N,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});b.mixin(_,n),b.mixin(_,d);function v(N){var H=N.name;r.isNameSpecified(N)||(N.name=S(N)||H)}function S(N){var H=N.getRawData(),j=H.mapDimension("seriesName",!0),k=[];return b.each(j,function(B){var V=H.getDimensionInfo(B);V.displayName&&k.push(V.displayName)}),k.join(" ")}function O(N){return N.model.getRawData().count()}function L(N){var H=N.model;return H.setData(H.getRawData().cloneShallow()),M}function M(N,H){H.outputData&&N.end>H.outputData.count()&&H.model.getRawData().cloneShallow(H.outputData)}function F(N,H){b.each(N.CHANGABLE_METHODS,function(j){N.wrapMethod(j,b.curry(U,H))})}function U(N){var H=z(N);H&&H.setOutputEnd(this.count())}function z(N){var H=(N.ecModel||{}).scheduler,j=H&&H.getPipeline(N.uid);if(j){var k=j.currentTask;if(k){var B=k.agentStubMap;B&&(k=B.get(N.uid))}return k}}var W=_;R.exports=W},T6xi:function(R,I,e){var g=e("YgsL"),f=e("nCxF");function b(m,y,h){var u=y.points,i=y.smooth;if(u&&u.length>=2){if(i&&i!=="spline"){var a=f(u,i,h,y.smoothConstraint);m.moveTo(u[0][0],u[0][1]);for(var r=u.length,o=0;o<(h?r:r-1);o++){var d=a[o*2],n=a[o*2+1],l=u[(o+1)%r];m.bezierCurveTo(d[0],d[1],n[0],n[1],l[0],l[1])}}else{i==="spline"&&(u=g(u,h)),m.moveTo(u[0][0],u[0][1]);for(var o=1,t=u.length;o<t;o++)m.lineTo(u[o][0],u[o][1])}h&&m.closePath()}}I.buildPath=b},TIY9:function(R,I,e){var g=e("bYtY"),f=g.each,b=e("vafp"),m=e("4NO4"),y=m.makeInner,h=e("Mgri"),u=e("F5Ls"),i=e("a9QJ"),a=e("p/La"),r=y(),o={load:function(n,l,t){var s=r(l).parsed;if(s)return s;var c=l.specialAreas||{},p=l.geoJSON,A;try{A=p?b(p,t):[]}catch(w){throw new Error(`Invalid geoJson format
`+w.message)}return h(n,A),f(A,function(w){var C=w.name;u(n,w),i(n,w),a(n,w);var x=c[C];x&&w.transformTo(x.left,x.top,x.width,x.height)}),r(l).parsed={regions:A,boundingRect:d(A)}}};function d(n){for(var l,t=0;t<n.length;t++){var s=n[t].getBoundingRect();l=l||s.clone(),l.union(s)}return l}R.exports=o},TJmX:function(R,I,e){var g=e("zM3Q"),f=["itemStyle","borderColor"],b=["itemStyle","borderColor0"],m=["itemStyle","color"],y=["itemStyle","color0"],h={seriesType:"candlestick",plan:g(),performRawSeries:!0,reset:function(u,i){var a=u.getData();if(a.setVisual({legendSymbol:"roundRect",colorP:d(1,u),colorN:d(-1,u),borderColorP:n(1,u),borderColorN:n(-1,u)}),i.isSeriesFiltered(u))return;var r=u.pipelineContext.large;return!r&&{progress:o};function o(l,t){for(var s;(s=l.next())!=null;){var c=t.getItemModel(s),p=t.getItemLayout(s).sign;t.setItemVisual(s,{color:d(p,c),borderColor:n(p,c)})}}function d(l,t){return t.get(l>0?m:y)}function n(l,t){return t.get(l>0?f:b)}}};R.exports=h},TWL2:function(R,I,e){var g=e("IwbS"),f=e("bYtY"),b=e("6Ic6");function m(a,r){g.Group.call(this);var o=new g.Polygon,d=new g.Polyline,n=new g.Text;this.add(o),this.add(d),this.add(n),this.highDownOnUpdate=function(l,t){t==="emphasis"?(d.ignore=d.hoverIgnore,n.ignore=n.hoverIgnore):(d.ignore=d.normalIgnore,n.ignore=n.normalIgnore)},this.updateData(a,r,!0)}var y=m.prototype,h=["itemStyle","opacity"];y.updateData=function(a,r,o){var d=this.childAt(0),n=a.hostModel,l=a.getItemModel(r),t=a.getItemLayout(r),s=a.getItemModel(r).get(h);s=s==null?1:s,d.useStyle({}),o?(d.setShape({points:t.points}),d.setStyle({opacity:0}),g.initProps(d,{style:{opacity:s}},n,r)):g.updateProps(d,{style:{opacity:s},shape:{points:t.points}},n,r);var c=l.getModel("itemStyle"),p=a.getItemVisual(r,"color");d.setStyle(f.defaults({lineJoin:"round",fill:p},c.getItemStyle(["opacity"]))),d.hoverStyle=c.getModel("emphasis").getItemStyle(),this._updateLabel(a,r),g.setHoverStyle(this)},y._updateLabel=function(a,r){var o=this.childAt(1),d=this.childAt(2),n=a.hostModel,l=a.getItemModel(r),t=a.getItemLayout(r),s=t.label,c=a.getItemVisual(r,"color");g.updateProps(o,{shape:{points:s.linePoints||s.linePoints}},n,r),g.updateProps(d,{style:{x:s.x,y:s.y}},n,r),d.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var p=l.getModel("label"),A=l.getModel("emphasis.label"),w=l.getModel("labelLine"),C=l.getModel("emphasis.labelLine"),c=a.getItemVisual(r,"color");g.setLabelStyle(d.style,d.hoverStyle={},p,A,{labelFetcher:a.hostModel,labelDataIndex:r,defaultText:a.getName(r),autoColor:c,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign}),d.ignore=d.normalIgnore=!p.get("show"),d.hoverIgnore=!A.get("show"),o.ignore=o.normalIgnore=!w.get("show"),o.hoverIgnore=!C.get("show"),o.setStyle({stroke:c}),o.setStyle(w.getModel("lineStyle").getLineStyle()),o.hoverStyle=C.getModel("lineStyle").getLineStyle()},f.inherits(m,g.Group);var u=b.extend({type:"funnel",render:function(a,r,o){var d=a.getData(),n=this._data,l=this.group;d.diff(n).add(function(t){var s=new m(d,t);d.setItemGraphicEl(t,s),l.add(s)}).update(function(t,s){var c=n.getItemGraphicEl(s);c.updateData(d,t),l.add(c),d.setItemGraphicEl(t,c)}).remove(function(t){var s=n.getItemGraphicEl(t);l.remove(s)}).execute(),this._data=d},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),i=u;R.exports=i},TYVI:function(R,I,e){var g=e("5GtS"),f=e("T4UG"),b=f.extend({type:"series.gauge",getInitialData:function(y,h){return g(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}}),m=b;R.exports=m},Tghj:function(R,I,e){(function(g){var f;typeof window!="undefined"?f=window.__DEV__:typeof g!="undefined"&&(f=g.__DEV__),typeof f=="undefined"&&(f=!0);var b=f;I.__DEV__=b}).call(this,e("yLpj"))},ThAp:function(R,I,e){var g=e("bYtY"),f=e("5GtS"),b=e("T4UG"),m=e("7aKB"),y=m.encodeHTML,h=m.addCommas,u=e("cCMj"),i=e("KxfA"),a=i.retrieveRawAttr,r=e("W4dC"),o=e("D5nY"),d=o.makeSeriesEncodeForNameBased,n=b.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var s=f(this,{coordDimensions:["value"],encodeDefaulter:g.curry(d,this)}),c=s.mapDimension("value"),p=g.createHashMap(),A=[],w=[],C=0,x=s.count();C<x;C++){var E=s.getName(C);p.set(E,!0),A.push({name:E,value:s.get(c,C),selected:a(s,C,"selected")})}var T=r.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return g.each(T.regions,function(_){var v=_.name;p.get(v)||(A.push({name:v}),w.push(v))}),this.updateSelectedMap(A),s.appendValues([],w),s},getHostGeoModel:function(){var t=this.option.geoIndex;return t!=null?this.dependentModels.geo[t]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(t){var s=this.getData();return s.get(s.mapDimension("value"),t)},getRegionModel:function(t){var s=this.getData();return s.getItemModel(s.indexOfName(t))},formatTooltip:function(t){for(var s=this.getData(),c=h(this.getRawValue(t)),p=s.getName(t),A=this.seriesGroup,w=[],C=0;C<A.length;C++){var x=A[C].originalData.indexOfName(p),E=s.mapDimension("value");isNaN(A[C].originalData.get(E,x))||w.push(y(A[C].name))}return w.join(", ")+"<br />"+y(p+" : "+c)},getTooltipPosition:function(t){if(t!=null){var s=this.getData().getName(t),c=this.coordinateSystem,p=c.getRegion(s);return p&&c.dataToPoint(p.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,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)"}},nameProperty:"name"}});g.mixin(n,u);var l=n;R.exports=l},TkdX:function(R,I,e){var g=e("bYtY"),f=e("IwbS"),b={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},m=2,y=4;function h(n,l,t){f.Group.call(this);var s=new f.Sector({z2:m});s.seriesIndex=l.seriesIndex;var c=new f.Text({z2:y,silent:n.getModel("label").get("silent")});this.add(s),this.add(c),this.updateData(!0,n,"normal",l,t);function p(){c.ignore=c.hoverIgnore}function A(){c.ignore=c.normalIgnore}this.on("emphasis",p).on("normal",A).on("mouseover",p).on("mouseout",A)}var u=h.prototype;u.updateData=function(n,l,t,s,c){this.node=l,l.piece=this,s=s||this._seriesModel,c=c||this._ecModel;var p=this.childAt(0);p.dataIndex=l.dataIndex;var A=l.getModel(),w=l.getLayout(),C=g.extend({},w);C.label=null;var x=a(l,s,c);d(l,s,x);var E=A.getModel("itemStyle").getItemStyle(),T;if(t==="normal")T=E;else{var _=A.getModel(t+".itemStyle").getItemStyle();T=g.merge(_,E)}T=g.defaults({lineJoin:"bevel",fill:T.fill||x},T),n?(p.setShape(C),p.shape.r=w.r0,f.updateProps(p,{shape:{r:w.r}},s,l.dataIndex),p.useStyle(T)):typeof T.fill=="object"&&T.fill.type||typeof p.style.fill=="object"&&p.style.fill.type?(f.updateProps(p,{shape:C},s),p.useStyle(T)):f.updateProps(p,{shape:C,style:T},s),this._updateLabel(s,x,t);var v=A.getShallow("cursor");if(v&&p.attr("cursor",v),n){var S=s.getShallow("highlightPolicy");this._initEvents(p,l,s,S)}this._seriesModel=s||this._seriesModel,this._ecModel=c||this._ecModel,f.setHoverStyle(this)},u.onEmphasis=function(n){var l=this;this.node.hostTree.root.eachNode(function(t){t.piece&&(l.node===t?t.piece.updateData(!1,t,"emphasis"):o(t,l.node,n)?t.piece.childAt(0).trigger("highlight"):n!==b.NONE&&t.piece.childAt(0).trigger("downplay"))})},u.onNormal=function(){this.node.hostTree.root.eachNode(function(n){n.piece&&n.piece.updateData(!1,n,"normal")})},u.onHighlight=function(){this.updateData(!1,this.node,"highlight")},u.onDownplay=function(){this.updateData(!1,this.node,"downplay")},u._updateLabel=function(n,l,t){var s=this.node.getModel(),c=s.getModel("label"),p=t==="normal"||t==="emphasis"?c:s.getModel(t+".label"),A=s.getModel("emphasis.label"),w=g.retrieve(n.getFormattedLabel(this.node.dataIndex,t,null,null,"label"),this.node.name);H("show")===!1&&(w="");var C=this.node.getLayout(),x=p.get("minAngle");x==null&&(x=c.get("minAngle")),x=x/180*Math.PI;var E=C.endAngle-C.startAngle;x!=null&&Math.abs(E)<x&&(w="");var T=this.childAt(1);f.setLabelStyle(T.style,T.hoverStyle||{},c,A,{defaultText:p.getShallow("show")?w:null,autoColor:l,useInsideStyle:!0});var _=(C.startAngle+C.endAngle)/2,v=Math.cos(_),S=Math.sin(_),O,L=H("position"),M=H("distance")||0,F=H("align");L==="outside"?(O=C.r+M,F=_>Math.PI/2?"right":"left"):!F||F==="center"?(O=(C.r+C.r0)/2,F="center"):F==="left"?(O=C.r0+M,_>Math.PI/2&&(F="right")):F==="right"&&(O=C.r-M,_>Math.PI/2&&(F="left")),T.attr("style",{text:w,textAlign:F,textVerticalAlign:H("verticalAlign")||"middle",opacity:H("opacity")});var U=O*v+C.cx,z=O*S+C.cy;T.attr("position",[U,z]);var W=H("rotate"),N=0;W==="radial"?(N=-_,N<-Math.PI/2&&(N+=Math.PI)):W==="tangential"?(N=Math.PI/2-_,N>Math.PI/2?N-=Math.PI:N<-Math.PI/2&&(N+=Math.PI)):typeof W=="number"&&(N=W*Math.PI/180),T.attr("rotation",N);function H(j){var k=p.get(j);return k==null?c.get(j):k}},u._initEvents=function(n,l,t,s){n.off("mouseover").off("mouseout").off("emphasis").off("normal");var c=this,p=function(){c.onEmphasis(s)},A=function(){c.onNormal()},w=function(){c.onDownplay()},C=function(){c.onHighlight()};t.isAnimationEnabled()&&n.on("mouseover",p).on("mouseout",A).on("emphasis",p).on("normal",A).on("downplay",w).on("highlight",C)},g.inherits(h,f.Group);var i=h;function a(n,l,t){var s=n.getVisual("color"),c=n.getVisual("visualMeta");(!c||c.length===0)&&(s=null);var p=n.getModel("itemStyle").get("color");if(p)return p;if(s)return s;if(n.depth===0)return t.option.color[0];var A=t.option.color.length;return p=t.option.color[r(n)%A],p}function r(n){for(var l=n;l.depth>1;)l=l.parentNode;var t=n.getAncestors()[0];return g.indexOf(t.children,l)}function o(n,l,t){return t===b.NONE?!1:t===b.SELF?n===l:t===b.ANCESTOR?n===l||n.isAncestorOf(l):n===l||n.isDescendantOf(l)}function d(n,l,t){var s=l.getData();s.setItemVisual(n.dataIndex,"color",t)}R.exports=i},ToDW:function(R,I,e){"use strict";var g=e("TqRt");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var f=g(e("pVnL")),b=g(e("3tO9")),m=g(e("lwsE")),y=g(e("W8MJ")),h=g(e("PJYZ")),u=g(e("7W2i")),i=g(e("LQ03")),a=g(e("lSNA")),r=g(e("q1tI")),o=e("hQUZ"),d=g(e("pIsd")),n=g(e("cZFH")),l=e("3K4p"),t=function(s){(0,u.default)(p,s);var c=(0,i.default)(p);function p(A){var w;return(0,m.default)(this,p),w=c.call(this,A),(0,a.default)((0,h.default)(w),"innerSliderRefHandler",function(C){return w.innerSlider=C}),(0,a.default)((0,h.default)(w),"slickPrev",function(){return w.innerSlider.slickPrev()}),(0,a.default)((0,h.default)(w),"slickNext",function(){return w.innerSlider.slickNext()}),(0,a.default)((0,h.default)(w),"slickGoTo",function(C){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return w.innerSlider.slickGoTo(C,x)}),(0,a.default)((0,h.default)(w),"slickPause",function(){return w.innerSlider.pause("paused")}),(0,a.default)((0,h.default)(w),"slickPlay",function(){return w.innerSlider.autoPlay("play")}),w.state={breakpoint:null},w._responsiveMediaHandlers=[],w}return(0,y.default)(p,[{key:"media",value:function(w,C){var x=window.matchMedia(w),E=function(_){var v=_.matches;v&&C()};x.addListener(E),E(x),this._responsiveMediaHandlers.push({mql:x,query:w,listener:E})}},{key:"componentDidMount",value:function(){var w=this;if(this.props.responsive){var C=this.props.responsive.map(function(E){return E.breakpoint});C.sort(function(E,T){return E-T}),C.forEach(function(E,T){var _;T===0?_=(0,d.default)({minWidth:0,maxWidth:E}):_=(0,d.default)({minWidth:C[T-1]+1,maxWidth:E}),(0,l.canUseDOM)()&&w.media(_,function(){w.setState({breakpoint:E})})});var x=(0,d.default)({minWidth:C.slice(-1)[0]});(0,l.canUseDOM)()&&this.media(x,function(){w.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(w){w.mql.removeListener(w.listener)})}},{key:"render",value:function(){var w=this,C,x;this.state.breakpoint?(x=this.props.responsive.filter(function(U){return U.breakpoint===w.state.breakpoint}),C=x[0].settings==="unslick"?"unslick":(0,b.default)((0,b.default)((0,b.default)({},n.default),this.props),x[0].settings)):C=(0,b.default)((0,b.default)({},n.default),this.props),C.centerMode&&(C.slidesToScroll>1&&!1&&console.warn("slidesToScroll should be equal to 1 in centerMode, you are using ".concat(C.slidesToScroll)),C.slidesToScroll=1),C.fade&&(C.slidesToShow>1&&!1&&console.warn("slidesToShow should be equal to 1 when fade is true, you're using ".concat(C.slidesToShow)),C.slidesToScroll>1&&!1&&console.warn("slidesToScroll should be equal to 1 when fade is true, you're using ".concat(C.slidesToScroll)),C.slidesToShow=1,C.slidesToScroll=1);var E=r.default.Children.toArray(this.props.children);E=E.filter(function(U){return typeof U=="string"?!!U.trim():!!U}),C.variableWidth&&(C.rows>1||C.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),C.variableWidth=!1);for(var T=[],_=null,v=0;v<E.length;v+=C.rows*C.slidesPerRow){for(var S=[],O=v;O<v+C.rows*C.slidesPerRow;O+=C.slidesPerRow){for(var L=[],M=O;M<O+C.slidesPerRow&&!(C.variableWidth&&E[M].props.style&&(_=E[M].props.style.width),M>=E.length);M+=1)L.push(r.default.cloneElement(E[M],{key:100*v+10*O+M,tabIndex:-1,style:{width:"".concat(100/C.slidesPerRow,"%"),display:"inline-block"}}));S.push(r.default.createElement("div",{key:10*v+O},L))}C.variableWidth?T.push(r.default.createElement("div",{key:v,style:{width:_}},S)):T.push(r.default.createElement("div",{key:v},S))}if(C==="unslick"){var F="regular slider "+(this.props.className||"");return r.default.createElement("div",{className:F},E)}else T.length<=C.slidesToShow&&(C.unslick=!0);return r.default.createElement(o.InnerSlider,(0,f.default)({style:this.props.style,ref:this.innerSliderRefHandler},C),T)}}]),p}(r.default.Component);I.default=t},Tp9H:function(R,I,e){var g=e("ItGF"),f=e("Kagy"),b=e("IUWy"),m=f.toolbox.saveAsImage;function y(i){this.model=i}y.defaultOption={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:m.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:m.lang.slice()},y.prototype.unusable=!g.canvasSupported;var h=y.prototype;h.onclick=function(i,a){var r=this.model,o=r.get("name")||i.get("title.0.text")||"echarts",d=a.getZr().painter.getType()==="svg",n=d?"svg":r.get("type",!0)||"png",l=a.getConnectedDataURL({type:n,backgroundColor:r.get("backgroundColor",!0)||i.get("backgroundColor")||"#fff",connectedBackgroundColor:r.get("connectedBackgroundColor"),excludeComponents:r.get("excludeComponents"),pixelRatio:r.get("pixelRatio")});if(typeof MouseEvent=="function"&&!g.browser.ie&&!g.browser.edge){var t=document.createElement("a");t.download=o+"."+n,t.target="_blank",t.href=l;var s=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});t.dispatchEvent(s)}else if(window.navigator.msSaveOrOpenBlob){for(var c=atob(l.split(",")[1]),p=c.length,A=new Uint8Array(p);p--;)A[p]=c.charCodeAt(p);var w=new Blob([A]);window.navigator.msSaveOrOpenBlob(w,o+"."+n)}else{var C=r.get("lang"),x='<body style="margin:0;"><img src="'+l+'" style="max-width:100%;" title="'+(C&&C[0]||"")+'" /></body>',E=window.open();E.document.write(x)}},b.register("saveAsImage",y);var u=y;R.exports=u},"U/Mo":function(R,I){function e(f){var b=f.coordinateSystem;if(b.type!=="view")return 1;var m=f.option.nodeScaleRatio,y=b.scale,h=y&&y[0]||1,u=b.getZoom(),i=(u-1)*m+1;return i/h}function g(f){var b=f.getVisual("symbolSize");return b instanceof Array&&(b=(b[0]+b[1])/2),+b}I.getNodeGlobalScale=e,I.getSymbolSize=g},UADf:function(R,I,e){},UESt:function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="RightOutlined";var h=I.a=g.forwardRef(y)},"UNi/":function(R,I){function e(g,f){for(var b=-1,m=Array(g);++b<g;)m[b]=f(b);return m}R.exports=e},UOVi:function(R,I,e){var g=e("bYtY"),f=e("7aKB"),b=["x","y","z","radius","angle","single"],m=["cartesian2d","polar","singleAxis"];function y(a){return g.indexOf(m,a)>=0}function h(a,r){a=a.slice();var o=g.map(a,f.capitalFirst);r=(r||[]).slice();var d=g.map(r,f.capitalFirst);return function(n,l){g.each(a,function(t,s){for(var c={name:t,capital:o[s]},p=0;p<r.length;p++)c[r[p]]=t+d[p];n.call(l,c)})}}var u=h(b,["axisIndex","axis","index","id"]);function i(a,r,o){return function(t){var s={nodes:[],records:{}};if(r(function(A){s.records[A.name]={}}),!t)return s;l(t,s);var c;do c=!1,a(p);while(c);function p(A){!d(A,s)&&n(A,s)&&(l(A,s),c=!0)}return s};function d(t,s){return g.indexOf(s.nodes,t)>=0}function n(t,s){var c=!1;return r(function(p){g.each(o(t,p)||[],function(A){s.records[p.name][A]&&(c=!0)})}),c}function l(t,s){s.nodes.push(t),r(function(c){g.each(o(t,c)||[],function(p){s.records[c.name][p]=!0})})}}I.isCoordSupported=y,I.createNameEach=h,I.eachAxisDim=u,I.createLinkedNodesFinder=i},Uc92:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};I.default=g},UmKh:function(R,I,e){"use strict";var g=e("q1tI"),f=e.n(g),b=e("aGtg");function m(W){var N=[];return f.a.Children.forEach(W,function(H){N.push(H)}),N}function y(W,N){var H=null;return W&&W.forEach(function(j){if(H)return;j&&j.key===N&&(H=j)}),H}function h(W,N,H){var j=null;return W&&W.forEach(function(k){if(k&&k.key===N&&k.props[H]){if(j)throw new Error("two child with same key for <rc-animate> children");j=k}}),j}function u(W,N,H){var j=0;return W&&W.forEach(function(k){if(j)return;j=k&&k.key===N&&!k.props[H]}),j}function i(W,N,H){var j=W.length===N.length;return j&&W.forEach(function(k,B){var V=N[B];k&&V&&((k&&!V||!k&&V||(k.key!==V.key||H&&k.props[H]!==V.props[H]))&&(j=!1))}),j}function a(W,N){var H=[],j={},k=[];return W.forEach(function(B){B&&y(N,B.key)?k.length&&(j[B.key]=k,k=[]):k.push(B)}),N.forEach(function(B){B&&Object.prototype.hasOwnProperty.call(j,B.key)&&(H=H.concat(j[B.key])),H.push(B)}),H=H.concat(k),H}var r=e("i8i4"),o=e.n(r),d=e("UwPn"),n={isAppearSupported:function(N){return N.transitionName&&N.transitionAppear||N.animation.appear},isEnterSupported:function(N){return N.transitionName&&N.transitionEnter||N.animation.enter},isLeaveSupported:function(N){return N.transitionName&&N.transitionLeave||N.animation.leave},allowAppearCallback:function(N){return N.transitionAppear||N.animation.appear},allowEnterCallback:function(N){return N.transitionEnter||N.animation.enter},allowLeaveCallback:function(N){return N.transitionLeave||N.animation.leave}},l=n,t=function(){function W(N,H){for(var j=0;j<H.length;j++){var k=H[j];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(N,k.key,k)}}return function(N,H,j){return H&&W(N.prototype,H),j&&W(N,j),N}}();function s(W,N){if(!(W instanceof N))throw new TypeError("Cannot call a class as a function")}function c(W,N){if(!W)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N&&(typeof N=="object"||typeof N=="function")?N:W}function p(W,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof N);W.prototype=Object.create(N&&N.prototype,{constructor:{value:W,enumerable:!1,writable:!0,configurable:!0}}),N&&(Object.setPrototypeOf?Object.setPrototypeOf(W,N):W.__proto__=N)}var A={enter:"transitionEnter",appear:"transitionAppear",leave:"transitionLeave"},w=function(W){p(N,W);function N(){return s(this,N),c(this,(N.__proto__||Object.getPrototypeOf(N)).apply(this,arguments))}return t(N,[{key:"componentWillUnmount",value:function(){this.stop()}},{key:"componentWillEnter",value:function(j){l.isEnterSupported(this.props)?this.transition("enter",j):j()}},{key:"componentWillAppear",value:function(j){l.isAppearSupported(this.props)?this.transition("appear",j):j()}},{key:"componentWillLeave",value:function(j){l.isLeaveSupported(this.props)?this.transition("leave",j):j()}},{key:"transition",value:function(j,k){var B=this,V=o.a.findDOMNode(this),K=this.props,Y=K.transitionName,Q=typeof Y=="object";this.stop();var he=function(){B.stopper=null,k()};if((d.b||!K.animation[j])&&Y&&K[A[j]]){var G=Q?Y[j]:Y+"-"+j,ye=G+"-active";Q&&Y[j+"Active"]&&(ye=Y[j+"Active"]),this.stopper=Object(d.a)(V,{name:G,active:ye},he)}else this.stopper=K.animation[j](V,he)}},{key:"stop",value:function(){var j=this.stopper;j&&(this.stopper=null,j.stop())}},{key:"render",value:function(){return this.props.children}}]),N}(f.a.Component),C=w,x=Object.assign||function(W){for(var N=1;N<arguments.length;N++){var H=arguments[N];for(var j in H)Object.prototype.hasOwnProperty.call(H,j)&&(W[j]=H[j])}return W},E=function(){function W(N,H){for(var j=0;j<H.length;j++){var k=H[j];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(N,k.key,k)}}return function(N,H,j){return H&&W(N.prototype,H),j&&W(N,j),N}}();function T(W,N,H){return N in W?Object.defineProperty(W,N,{value:H,enumerable:!0,configurable:!0,writable:!0}):W[N]=H,W}function _(W,N){if(!(W instanceof N))throw new TypeError("Cannot call a class as a function")}function v(W,N){if(!W)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N&&(typeof N=="object"||typeof N=="function")?N:W}function S(W,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof N);W.prototype=Object.create(N&&N.prototype,{constructor:{value:W,enumerable:!1,writable:!0,configurable:!0}}),N&&(Object.setPrototypeOf?Object.setPrototypeOf(W,N):W.__proto__=N)}var O="rc_animate_"+Date.now();function L(W){var N=W.children;return f.a.isValidElement(N)&&!N.key?f.a.cloneElement(N,{key:O}):N}function M(){}var F=function(W){S(N,W);function N(H){_(this,N);var j=v(this,(N.__proto__||Object.getPrototypeOf(N)).call(this,H));return U.call(j),j.currentlyAnimatingKeys={},j.keysToEnter=[],j.keysToLeave=[],j.state={children:m(L(H))},j.childrenRefs={},j}return E(N,[{key:"componentDidMount",value:function(){var j=this,k=this.props.showProp,B=this.state.children;k&&(B=B.filter(function(V){return!!V.props[k]})),B.forEach(function(V){V&&j.performAppear(V.key)})}},{key:"componentWillReceiveProps",value:function(j){var k=this;this.nextProps=j;var B=m(L(j)),V=this.props;V.exclusive&&Object.keys(this.currentlyAnimatingKeys).forEach(function(G){k.stop(G)});var K=V.showProp,Y=this.currentlyAnimatingKeys,Q=V.exclusive?m(L(V)):this.state.children,he=[];K?(Q.forEach(function(G){var ye=G&&y(B,G.key),Ae=void 0;(!ye||!ye.props[K])&&G.props[K]?Ae=f.a.cloneElement(ye||G,T({},K,!0)):Ae=ye,Ae&&he.push(Ae)}),B.forEach(function(G){(!G||!y(Q,G.key))&&he.push(G)})):he=a(Q,B),this.setState({children:he}),B.forEach(function(G){var ye=G&&G.key;if(G&&Y[ye])return;var Ae=G&&y(Q,ye);if(K){var ge=G.props[K];if(Ae){var Pe=h(Q,ye,K);!Pe&&ge&&k.keysToEnter.push(ye)}else ge&&k.keysToEnter.push(ye)}else Ae||k.keysToEnter.push(ye)}),Q.forEach(function(G){var ye=G&&G.key;if(G&&Y[ye])return;var Ae=G&&y(B,ye);if(K){var ge=G.props[K];if(Ae){var Pe=h(B,ye,K);!Pe&&ge&&k.keysToLeave.push(ye)}else ge&&k.keysToLeave.push(ye)}else Ae||k.keysToLeave.push(ye)})}},{key:"componentDidUpdate",value:function(){var j=this.keysToEnter;this.keysToEnter=[],j.forEach(this.performEnter);var k=this.keysToLeave;this.keysToLeave=[],k.forEach(this.performLeave)}},{key:"isValidChildByKey",value:function(j,k){var B=this.props.showProp;return B?h(j,k,B):y(j,k)}},{key:"stop",value:function(j){delete this.currentlyAnimatingKeys[j];var k=this.childrenRefs[j];k&&k.stop()}},{key:"render",value:function(){var j=this,k=this.props;this.nextProps=k;var B=this.state.children,V=null;B&&(V=B.map(function(Q){if(Q==null)return Q;if(!Q.key)throw new Error("must set key for <rc-animate> children");return f.a.createElement(C,{key:Q.key,ref:function(G){j.childrenRefs[Q.key]=G},animation:k.animation,transitionName:k.transitionName,transitionEnter:k.transitionEnter,transitionAppear:k.transitionAppear,transitionLeave:k.transitionLeave},Q)}));var K=k.component;if(K){var Y=k;return typeof K=="string"&&(Y=x({className:k.className,style:k.style},k.componentProps)),f.a.createElement(K,Y,V)}return V[0]||null}}]),N}(f.a.Component);F.isAnimate=!0,F.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:M,onEnter:M,onLeave:M,onAppear:M};var U=function(){var N=this;this.performEnter=function(H){N.childrenRefs[H]&&(N.currentlyAnimatingKeys[H]=!0,N.childrenRefs[H].componentWillEnter(N.handleDoneAdding.bind(N,H,"enter")))},this.performAppear=function(H){N.childrenRefs[H]&&(N.currentlyAnimatingKeys[H]=!0,N.childrenRefs[H].componentWillAppear(N.handleDoneAdding.bind(N,H,"appear")))},this.handleDoneAdding=function(H,j){var k=N.props;if(delete N.currentlyAnimatingKeys[H],k.exclusive&&k!==N.nextProps)return;var B=m(L(k));N.isValidChildByKey(B,H)?j==="appear"?l.allowAppearCallback(k)&&(k.onAppear(H),k.onEnd(H,!0)):l.allowEnterCallback(k)&&(k.onEnter(H),k.onEnd(H,!0)):N.performLeave(H)},this.performLeave=function(H){N.childrenRefs[H]&&(N.currentlyAnimatingKeys[H]=!0,N.childrenRefs[H].componentWillLeave(N.handleDoneLeaving.bind(N,H)))},this.handleDoneLeaving=function(H){var j=N.props;if(delete N.currentlyAnimatingKeys[H],j.exclusive&&j!==N.nextProps)return;var k=m(L(j));if(N.isValidChildByKey(k,H))N.performEnter(H);else{var B=function(){l.allowLeaveCallback(j)&&(j.onLeave(H),j.onEnd(H,!1))};i(N.state.children,k,j.showProp)?B():N.setState({children:k},B)}}},z=I.a=Object(b.a)(F)},UnoB:function(R,I,e){var g=e("bYtY"),f=e("OELB");function b(h,u){h.eachSeriesByType("themeRiver",function(i){var a=i.getData(),r=i.coordinateSystem,o={},d=r.getRect();o.rect=d;var n=i.get("boundaryGap"),l=r.getAxis();if(o.boundaryGap=n,l.orient==="horizontal"){n[0]=f.parsePercent(n[0],d.height),n[1]=f.parsePercent(n[1],d.height);var t=d.height-n[0]-n[1];m(a,i,t)}else{n[0]=f.parsePercent(n[0],d.width),n[1]=f.parsePercent(n[1],d.width);var s=d.width-n[0]-n[1];m(a,i,s)}a.setLayout("layoutInfo",o)})}function m(h,u,i){if(!h.count())return;for(var a=u.coordinateSystem,r=u.getLayerSeries(),o=h.mapDimension("single"),d=h.mapDimension("value"),n=g.map(r,function(x){return g.map(x.indices,function(E){var T=a.dataToPoint(h.get(o,E));return T[1]=h.get(d,E),T})}),l=y(n),t=l.y0,s=i/l.max,c=r.length,p=r[0].indices.length,A,w=0;w<p;++w){A=t[w]*s,h.setItemLayout(r[0].indices[w],{layerIndex:0,x:n[0][w][0],y0:A,y:n[0][w][1]*s});for(var C=1;C<c;++C)A+=n[C-1][w][1]*s,h.setItemLayout(r[C].indices[w],{layerIndex:C,x:n[C][w][0],y0:A,y:n[C][w][1]*s})}}function y(h){for(var u=h.length,i=h[0].length,a=[],r=[],o=0,d,n={},l=0;l<i;++l){for(var t=0,d=0;t<u;++t)d+=h[t][l][1];d>o&&(o=d),a.push(d)}for(var s=0;s<i;++s)r[s]=(o-a[s])/2;o=0;for(var c=0;c<i;++c){var p=a[c]+r[c];p>o&&(o=p)}return n.y0=r,n.max=o,n}R.exports=b},Urep:function(R,I,e){},V6Ve:function(R,I,e){var g=e("kekF"),f=g(Object.keys,Object);R.exports=f},V7ic:function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("digP")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="FileTwoTone";var u=b.forwardRef(h);I.default=u},VFCP:function(R,I,e){e("dBmv"),e("KamJ")},VPsl:function(R,I){function e(g){g.eachSeriesByType("map",function(f){var b=f.get("color"),m=f.getModel("itemStyle"),y=m.get("areaColor"),h=m.get("color")||b[f.seriesIndex%b.length];f.getData().setVisual({areaColor:y,color:h})})}R.exports=e},VR9l:function(R,I,e){var g=e("KCsZ"),f=g([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),b={getItemStyle:function(m,y){var h=f(this,m,y),u=this.getBorderLineDash();return u&&(h.lineDash=u),h},getBorderLineDash:function(){var m=this.get("borderType");return m==="solid"||m==null?null:m==="dashed"?[5,5]:[1,1]}};R.exports=b},VSLf:function(R,I,e){e("I+Bx"),e("F0hE"),e("bBKM")},VSMT:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.decodeUTF8=g,I.encodeUTF8=f;function g(b){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;try{return decodeURIComponent(escape(b))}catch(y){if(y instanceof URIError&&m)return b;throw y}}function f(b){return unescape(encodeURIComponent(b))}},VXYp:function(R,I,e){var g=e("bYtY"),f=e("SgGq"),b=e("iLNv"),m="\0_ec_dataZoom_roams";function y(n,l){var t=i(n),s=l.dataZoomId,c=l.coordId;g.each(t,function(w,C){var x=w.dataZoomInfos;x[s]&&g.indexOf(l.allCoordIds,c)<0&&(delete x[s],w.count--)}),r(t);var p=t[c];p||(p=t[c]={coordId:c,dataZoomInfos:{},count:0},p.controller=a(n,p),p.dispatchAction=g.curry(o,n)),!p.dataZoomInfos[s]&&p.count++,p.dataZoomInfos[s]=l;var A=d(p.dataZoomInfos);p.controller.enable(A.controlType,A.opt),p.controller.setPointerChecker(l.containsPoint),b.createOrUpdate(p,"dispatchAction",l.dataZoomModel.get("throttle",!0),"fixRate")}function h(n,l){var t=i(n);g.each(t,function(s){s.controller.dispose();var c=s.dataZoomInfos;c[l]&&(delete c[l],s.count--)}),r(t)}function u(n){return n.type+"\0_"+n.id}function i(n){var l=n.getZr();return l[m]||(l[m]={})}function a(n,l){var t=new f(n.getZr());return g.each(["pan","zoom","scrollMove"],function(s){t.on(s,function(c){var p=[];g.each(l.dataZoomInfos,function(A){if(!c.isAvailableBehavior(A.dataZoomModel.option))return;var w=(A.getRange||{})[s],C=w&&w(l.controller,c);!A.dataZoomModel.get("disabled",!0)&&C&&p.push({dataZoomId:A.dataZoomId,start:C[0],end:C[1]})}),p.length&&l.dispatchAction(p)})}),t}function r(n){g.each(n,function(l,t){l.count||(l.controller.dispose(),delete n[t])})}function o(n,l){n.dispatchAction({type:"dataZoom",batch:l})}function d(n){var l,t="type_",s={type_true:2,type_move:1,type_false:0,type_undefined:-1},c=!0;return g.each(n,function(p){var A=p.dataZoomModel,w=A.get("disabled",!0)?!1:A.get("zoomLock",!0)?"move":!0;s[t+w]>s[t+l]&&(l=w),c&=A.get("preventDefaultMouseMove",!0)}),{controlType:l,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!c}}}I.register=y,I.unregister=h,I.generateCoordId=u},VaNO:function(R,I){function e(g){return this.__data__.has(g)}R.exports=e},VaxA:function(R,I,e){var g=e("bYtY");function f(h,u,i){if(h&&g.indexOf(u,h.type)>=0){var a=i.getData().tree.root,r=h.targetNode;if(typeof r=="string"&&(r=a.getNodeById(r)),r&&a.contains(r))return{node:r};var o=h.targetNodeId;if(o!=null&&(r=a.getNodeById(o)))return{node:r}}}function b(h){for(var u=[];h;)h=h.parentNode,h&&u.push(h);return u.reverse()}function m(h,u){var i=b(h);return g.indexOf(i,u)>=0}function y(h,u){for(var i=[];h;){var a=h.dataIndex;i.push({name:h.name,dataIndex:a,value:u.getRawValue(a)}),h=h.parentNode}return i.reverse(),i}I.retrieveTargetInfo=f,I.getPathToRoot=b,I.aboveViewRoot=m,I.wrapTreePathInfo=y},Vi4m:function(R,I,e){var g=e("bYtY");function f(m){m!=null&&g.extend(this,m),this.otherDims={}}var b=f;R.exports=b},Vl3Y:function(R,I,e){"use strict";var g=e("pVnL"),f=e.n(g),b=e("J4zp"),m=e.n(b),y=e("lSNA"),h=e.n(y),u=e("q1tI"),i=e("TSYQ"),a=e.n(i),r=e("85Yc"),o=e("H84U"),d=e("BGR+"),n=u.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),l=u.createContext({updateItemErrors:function(){}}),t=function(ft){var bt=Object(d.default)(ft,["prefixCls"]);return u.createElement(r.FormProvider,bt)};function s(mt){return mt!=null&&typeof mt=="object"&&mt.nodeType===1}function c(mt,ft){return ft&&mt==="hidden"?!1:mt!=="visible"&&mt!=="clip"}function p(mt){if(!mt.ownerDocument||!mt.ownerDocument.defaultView)return null;try{return mt.ownerDocument.defaultView.frameElement}catch(ft){return null}}function A(mt){var ft=p(mt);return ft?ft.clientHeight<mt.scrollHeight||ft.clientWidth<mt.scrollWidth:!1}function w(mt,ft){if(mt.clientHeight<mt.scrollHeight||mt.clientWidth<mt.scrollWidth){var bt=getComputedStyle(mt,null);return c(bt.overflowY,ft)||c(bt.overflowX,ft)||A(mt)}return!1}function C(mt,ft,bt,Lt,or,Bt,_e,Ce){return Bt<mt&&_e>ft||Bt>mt&&_e<ft?0:Bt<=mt&&Ce<=bt||_e>=ft&&Ce>=bt?Bt-mt-Lt:_e>ft&&Ce<bt||Bt<mt&&Ce>bt?_e-ft+or:0}var x=function(mt,ft){var bt=ft.scrollMode,Lt=ft.block,or=ft.inline,Bt=ft.boundary,_e=ft.skipOverflowHiddenElements,Ce=typeof Bt=="function"?Bt:function(ir){return ir!==Bt};if(!s(mt))throw new TypeError("Invalid target");for(var Ee=document.scrollingElement||document.documentElement,we=[],Fe=mt;s(Fe)&&Ce(Fe);){if(Fe=Fe.parentNode,Fe===Ee){we.push(Fe);break}if(Fe===document.body&&w(Fe)&&!w(document.documentElement))continue;w(Fe,_e)&&we.push(Fe)}for(var Ye=window.visualViewport?visualViewport.width:innerWidth,Ge=window.visualViewport?visualViewport.height:innerHeight,qe=window.scrollX||pageXOffset,Ke=window.scrollY||pageYOffset,ut=mt.getBoundingClientRect(),wt=ut.height,It=ut.width,de=ut.top,xe=ut.right,$=ut.bottom,le=ut.left,Oe=Lt==="start"||Lt==="nearest"?de:Lt==="end"?$:de+wt/2,ke=or==="center"?le+It/2:or==="end"?xe:le,Ue=[],nt=0;nt<we.length;nt++){var At=we[nt],Wt=At.getBoundingClientRect(),$t=Wt.height,Rt=Wt.width,zt=Wt.top,Gt=Wt.right,Qt=Wt.bottom,Mt=Wt.left;if(bt==="if-needed"&&de>=0&&le>=0&&$<=Ge&&xe<=Ye&&de>=zt&&$<=Qt&&le>=Mt&&xe<=Gt)return Ue;var dr=getComputedStyle(At),er=parseInt(dr.borderLeftWidth,10),ht=parseInt(dr.borderTopWidth,10),Et=parseInt(dr.borderRightWidth,10),pt=parseInt(dr.borderBottomWidth,10),vt=0,Nt=0,_t="offsetWidth"in At?At.offsetWidth-At.clientWidth-er-Et:0,gt="offsetHeight"in At?At.offsetHeight-At.clientHeight-ht-pt:0;if(Ee===At)Lt==="start"?vt=Oe:Lt==="end"?vt=Oe-Ge:Lt==="nearest"?vt=C(Ke,Ke+Ge,Ge,ht,pt,Ke+Oe,Ke+Oe+wt,wt):vt=Oe-Ge/2,or==="start"?Nt=ke:or==="center"?Nt=ke-Ye/2:or==="end"?Nt=ke-Ye:Nt=C(qe,qe+Ye,Ye,er,Et,qe+ke,qe+ke+It,It),vt=Math.max(0,vt+Ke),Nt=Math.max(0,Nt+qe);else{Lt==="start"?vt=Oe-zt-ht:Lt==="end"?vt=Oe-Qt+pt+gt:Lt==="nearest"?vt=C(zt,Qt,$t,ht,pt+gt,Oe,Oe+wt,wt):vt=Oe-(zt+$t/2)+gt/2,or==="start"?Nt=ke-Mt-er:or==="center"?Nt=ke-(Mt+Rt/2)+_t/2:or==="end"?Nt=ke-Gt+Et+_t:Nt=C(Mt,Gt,Rt,er,Et+_t,ke,ke+It,It);var Ht=At.scrollLeft,kt=At.scrollTop;vt=Math.max(0,Math.min(kt+vt,At.scrollHeight-$t+gt)),Nt=Math.max(0,Math.min(Ht+Nt,At.scrollWidth-Rt+_t)),Oe+=kt-vt,ke+=Ht-Nt}Ue.push({el:At,top:vt,left:Nt})}return Ue};function E(mt){return mt===Object(mt)&&Object.keys(mt).length!==0}function T(mt,ft){ft===void 0&&(ft="auto");var bt="scrollBehavior"in document.body.style;mt.forEach(function(Lt){var or=Lt.el,Bt=Lt.top,_e=Lt.left;or.scroll&&bt?or.scroll({top:Bt,left:_e,behavior:ft}):(or.scrollTop=Bt,or.scrollLeft=_e)})}function _(mt){return mt===!1?{block:"end",inline:"nearest"}:E(mt)?mt:{block:"start",inline:"nearest"}}function v(mt,ft){var bt=!mt.ownerDocument.documentElement.contains(mt);if(E(ft)&&typeof ft.behavior=="function")return ft.behavior(bt?[]:x(mt,ft));if(bt)return;var Lt=_(ft);return T(x(mt,Lt),Lt.behavior)}var S=v;function O(mt){return mt===void 0||mt===!1?[]:Array.isArray(mt)?mt:[mt]}function L(mt,ft){if(!mt.length)return;var bt=mt.join("_");return ft?"".concat(ft,"_").concat(bt):bt}function M(mt){var ft=O(mt);return ft.join("_")}function F(mt){var ft=Object(r.useForm)(),bt=m()(ft,1),Lt=bt[0],or=Object(u.useRef)({}),Bt=Object(u.useMemo)(function(){return mt||f()(f()({},Lt),{__INTERNAL__:{itemRef:function(Ce){return function(Ee){var we=M(Ce);Ee?or.current[we]=Ee:delete or.current[we]}}},scrollToField:function(Ce){var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},we=O(Ce),Fe=L(we,Bt.__INTERNAL__.name),Ye=Fe?document.getElementById(Fe):null;Ye&&S(Ye,f()({scrollMode:"if-needed",block:"nearest"},Ee))},getFieldInstance:function(Ce){var Ee=M(Ce);return or.current[Ee]}})},[mt,Lt]);return[Bt]}var U=e("3Nzz"),z=function(mt,ft){var bt={};for(var Lt in mt)Object.prototype.hasOwnProperty.call(mt,Lt)&&ft.indexOf(Lt)<0&&(bt[Lt]=mt[Lt]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var or=0,Lt=Object.getOwnPropertySymbols(mt);or<Lt.length;or++)ft.indexOf(Lt[or])<0&&Object.prototype.propertyIsEnumerable.call(mt,Lt[or])&&(bt[Lt[or]]=mt[Lt[or]]);return bt},W=function(ft,bt){var Lt,or=u.useContext(U.b),Bt=u.useContext(o.b),_e=Bt.getPrefixCls,Ce=Bt.direction,Ee=ft.name,we=ft.prefixCls,Fe=ft.className,Ye=Fe===void 0?"":Fe,Ge=ft.size,qe=Ge===void 0?or:Ge,Ke=ft.form,ut=ft.colon,wt=ft.labelAlign,It=ft.labelCol,de=ft.wrapperCol,xe=ft.hideRequiredMark,$=ft.layout,le=$===void 0?"horizontal":$,Oe=ft.scrollToFirstError,ke=ft.requiredMark,Ue=ft.onFinishFailed,nt=z(ft,["prefixCls","className","size","form","colon","labelAlign","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed"]),At=Object(u.useMemo)(function(){return ke!==void 0?ke:!xe},[xe,ke]),Wt=_e("form",we),$t=a()(Wt,(Lt={},h()(Lt,"".concat(Wt,"-").concat(le),!0),h()(Lt,"".concat(Wt,"-hide-required-mark"),At===!1),h()(Lt,"".concat(Wt,"-rtl"),Ce==="rtl"),h()(Lt,"".concat(Wt,"-").concat(qe),qe),Lt),Ye),Rt=F(Ke),zt=m()(Rt,1),Gt=zt[0],Qt=Gt.__INTERNAL__;Qt.name=Ee;var Mt=Object(u.useMemo)(function(){return{name:Ee,labelAlign:wt,labelCol:It,wrapperCol:de,vertical:le==="vertical",colon:ut,requiredMark:At,itemRef:Qt.itemRef}},[Ee,wt,It,de,le,ut,At]);u.useImperativeHandle(bt,function(){return Gt});var dr=function(ht){Ue&&Ue(ht),Oe&&ht.errorFields.length&&Gt.scrollToField(ht.errorFields[0].name)};return u.createElement(U.a,{size:qe},u.createElement(n.Provider,{value:Mt},u.createElement(r.default,f()({id:Ee},nt,{onFinishFailed:dr,form:Gt,className:$t}))))},N=u.forwardRef(W),H=N,j=e("cDf5"),k=e.n(j),B=e("RIqP"),V=e.n(B),K=e("Y+p1"),Y=e.n(K),Q=e("KW7l"),he=e("c+Xe"),G=e("qrJ5"),ye=e("CWQg"),Ae=e("uaoM"),ge=e("/kpp"),Pe=e("YMnH"),Re=e("ZvpZ"),rt=function(ft){var bt=ft.prefixCls,Lt=ft.label,or=ft.htmlFor,Bt=ft.labelCol,_e=ft.labelAlign,Ce=ft.colon,Ee=ft.required,we=ft.requiredMark,Fe=Object(Pe.b)("Form"),Ye=m()(Fe,1),Ge=Ye[0];return Lt?u.createElement(n.Consumer,{key:"label"},function(qe){var Ke,ut=qe.vertical,wt=qe.labelAlign,It=qe.labelCol,de=qe.colon,xe,$=Bt||It||{},le=_e||wt,Oe="".concat(bt,"-item-label"),ke=a()(Oe,le==="left"&&"".concat(Oe,"-left"),$.className),Ue=Lt,nt=Ce===!0||de!==!1&&Ce!==!1,At=nt&&!ut;At&&typeof Lt=="string"&&Lt.trim()!==""&&(Ue=Lt.replace(/[:|]\s*$/,"")),we==="optional"&&!Ee&&(Ue=u.createElement(u.Fragment,null,Ue,u.createElement("span",{className:"".concat(bt,"-item-optional")},(Ge==null?void 0:Ge.optional)||((xe=Re.a.Form)===null||xe===void 0?void 0:xe.optional))));var Wt=a()((Ke={},h()(Ke,"".concat(bt,"-item-required"),Ee),h()(Ke,"".concat(bt,"-item-required-mark-optional"),we==="optional"),h()(Ke,"".concat(bt,"-item-no-colon"),!nt),Ke));return u.createElement(ge.a,f()({},$,{className:ke}),u.createElement("label",{htmlFor:or,className:Wt,title:typeof Lt=="string"?Lt:""},Ue))}):null},ne=rt,be=e("gZBC"),at=e.n(be),se=e("kbBi"),q=e.n(se),X=e("J84W"),Z=e.n(X),pe=e("sKbD"),oe=e.n(pe),Ie=e("YrtM"),fe=e("8XRh"),te=e("hkKa");function J(mt,ft,bt){var Lt=u.useRef({errors:mt,visible:!!mt.length}),or=Object(te.a)(),Bt=function(){var Ce=Lt.current.visible,Ee=!!mt.length,we=Lt.current.errors;Lt.current.errors=mt,Lt.current.visible=Ee,Ce!==Ee?ft(Ee):(we.length!==mt.length||we.some(function(Fe,Ye){return Fe!==mt[Ye]}))&&or()};return u.useEffect(function(){if(!bt){var _e=setTimeout(Bt,10);return function(){return clearTimeout(_e)}}},[mt]),bt&&Bt(),[Lt.current.visible,Lt.current.errors]}var ve={success:Z.a,warning:oe.a,error:q.a,validating:at.a},De=function(ft){var bt=ft.prefixCls,Lt=ft.wrapperCol,or=ft.children,Bt=ft.help,_e=ft.errors,Ce=ft.onDomErrorVisibleChange,Ee=ft.hasFeedback,we=ft.validateStatus,Fe=ft.extra,Ye=Object(te.a)(),Ge="".concat(bt,"-item"),qe=u.useContext(n),Ke=Lt||qe.wrapperCol||{},ut=a()("".concat(Ge,"-control"),Ke.className),wt=J(_e,function(Ue){Ue&&Promise.resolve().then(function(){Ce(!0)}),Ye()},!!Bt),It=m()(wt,2),de=It[0],xe=It[1];u.useEffect(function(){return function(){Ce(!1)}},[]);var $=Object(Ie.a)(function(){return xe},de,function(Ue,nt){return nt}),le=we&&ve[we],Oe=Ee&&le?u.createElement("span",{className:"".concat(Ge,"-children-icon")},u.createElement(le,null)):null,ke=f()({},qe);return delete ke.labelCol,delete ke.wrapperCol,u.createElement(n.Provider,{value:ke},u.createElement(ge.a,f()({},Ke,{className:ut}),u.createElement("div",{className:"".concat(Ge,"-control-input")},u.createElement("div",{className:"".concat(Ge,"-control-input-content")},or),Oe),u.createElement(fe.default,{motionDeadline:500,visible:de,motionName:"show-help",onLeaveEnd:function(){Ce(!1)},motionAppear:!0,removeOnLeave:!0},function(Ue){var nt=Ue.className;return u.createElement("div",{className:a()("".concat(Ge,"-explain"),nt),key:"help"},$.map(function(At,Wt){return u.createElement("div",{key:Wt,role:"alert"},At)}))}),Fe&&u.createElement("div",{className:"".concat(Ge,"-extra")},Fe)))},ze=De,dt=e("0n0R"),Me=e("xEkU"),Tt=e.n(Me);function je(mt){var ft=u.useState(mt),bt=m()(ft,2),Lt=bt[0],or=bt[1],Bt=Object(u.useRef)(null),_e=Object(u.useRef)([]),Ce=Object(u.useRef)(!1);u.useEffect(function(){return function(){Ce.current=!0,Tt.a.cancel(Bt.current)}},[]);function Ee(we){if(Ce.current)return;Bt.current===null&&(_e.current=[],Bt.current=Tt()(function(){Bt.current=null,or(function(Fe){var Ye=Fe;return _e.current.forEach(function(Ge){Ye=Ge(Ye)}),Ye})})),_e.current.push(we)}return[Lt,Ee]}function st(){var mt=u.useContext(n),ft=mt.itemRef,bt=u.useRef({});function Lt(or,Bt){var _e=Bt&&k()(Bt)==="object"&&Bt.ref,Ce=or.join("_");return(bt.current.name!==Ce||bt.current.originRef!==_e)&&(bt.current.name=Ce,bt.current.originRef=_e,bt.current.ref=Object(he.a)(ft(or),_e)),bt.current.ref}return Lt}var Xe=function(mt,ft){var bt={};for(var Lt in mt)Object.prototype.hasOwnProperty.call(mt,Lt)&&ft.indexOf(Lt)<0&&(bt[Lt]=mt[Lt]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var or=0,Lt=Object.getOwnPropertySymbols(mt);or<Lt.length;or++)ft.indexOf(Lt[or])<0&&Object.prototype.propertyIsEnumerable.call(mt,Lt[or])&&(bt[Lt[or]]=mt[Lt[or]]);return bt},Je=Object(ye.a)("success","warning","error","validating",""),et=u.memo(function(mt){var ft=mt.children;return ft},function(mt,ft){return mt.value===ft.value&&mt.update===ft.update});function ot(mt){return mt===null&&Object(Ae.a)(!1,"Form.Item","`null` is passed as `name` property"),!(mt==null)}function Ve(mt){var ft=mt.name,bt=mt.fieldKey,Lt=mt.noStyle,or=mt.dependencies,Bt=mt.prefixCls,_e=mt.style,Ce=mt.className,Ee=mt.shouldUpdate,we=mt.hasFeedback,Fe=mt.help,Ye=mt.rules,Ge=mt.validateStatus,qe=mt.children,Ke=mt.required,ut=mt.label,wt=mt.trigger,It=wt===void 0?"onChange":wt,de=mt.validateTrigger,xe=mt.hidden,$=Xe(mt,["name","fieldKey","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","trigger","validateTrigger","hidden"]),le=u.useRef(!1),Oe=u.useContext(o.b),ke=Oe.getPrefixCls,Ue=u.useContext(n),nt=Ue.name,At=Ue.requiredMark,Wt=u.useContext(l),$t=Wt.updateItemErrors,Rt=u.useState(!!Fe),zt=m()(Rt,2),Gt=zt[0],Qt=zt[1],Mt=u.useRef(Ge),dr=je({}),er=m()(dr,2),ht=er[0],Et=er[1],pt=u.useContext(Q.b),vt=pt.validateTrigger,Nt=de!==void 0?de:vt;function _t(tn){le.current||Qt(tn)}var gt=ot(ft),Ht=u.useRef([]);u.useEffect(function(){return function(){le.current=!0,$t(Ht.current.join("__SPLIT__"),[])}},[]);var kt=ke("form",Bt),ir=Lt?$t:function(tn,qr){Et(function(){var _r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Y()(_r[tn],qr)?_r:f()(f()({},_r),h()({},tn,qr))})},Xt=st();function mr(tn,qr,_r,Qr){var Ir,cr;if(Lt&&!xe)return tn;var pr=[];Object.keys(ht).forEach(function(Yr){pr=[].concat(V()(pr),V()(ht[Yr]||[]))});var ur;Fe!=null?ur=O(Fe):(ur=_r?_r.errors:[],ur=[].concat(V()(ur),V()(pr)));var fr="";Ge!==void 0?fr=Ge:(_r==null?void 0:_r.validating)?fr="validating":((cr=_r==null?void 0:_r.errors)===null||cr===void 0?void 0:cr.length)||pr.length?fr="error":(_r==null?void 0:_r.touched)&&(fr="success"),Gt&&Fe&&(Mt.current=fr);var xr=(Ir={},h()(Ir,"".concat(kt,"-item"),!0),h()(Ir,"".concat(kt,"-item-with-help"),Gt||Fe),h()(Ir,"".concat(Ce),!!Ce),h()(Ir,"".concat(kt,"-item-has-feedback"),fr&&we),h()(Ir,"".concat(kt,"-item-has-success"),fr==="success"),h()(Ir,"".concat(kt,"-item-has-warning"),fr==="warning"),h()(Ir,"".concat(kt,"-item-has-error"),fr==="error"),h()(Ir,"".concat(kt,"-item-has-error-leave"),!Fe&&Gt&&Mt.current==="error"),h()(Ir,"".concat(kt,"-item-is-validating"),fr==="validating"),h()(Ir,"".concat(kt,"-item-hidden"),xe),Ir);return u.createElement(G.a,f()({className:a()(xr),style:_e,key:"row"},Object(d.default)($,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","preserve","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),u.createElement(ne,f()({htmlFor:qr,required:Qr,requiredMark:At},mt,{prefixCls:kt})),u.createElement(ze,f()({},mt,_r,{errors:ur,prefixCls:kt,onDomErrorVisibleChange:_t,validateStatus:fr}),u.createElement(l.Provider,{value:{updateItemErrors:ir}},tn)))}var Ar=typeof qe=="function",Nr=u.useRef(0);if(Nr.current+=1,!gt&&!Ar&&!or)return mr(qe);var kr={};return typeof ut=="string"&&(kr.label=ut),u.createElement(r.Field,f()({},mt,{messageVariables:kr,trigger:It,validateTrigger:Nt,onReset:function(){_t(!1)}}),function(tn,qr,_r){var Qr=qr.errors,Ir=O(ft).length&&qr?qr.name:[],cr=L(Ir,nt);if(Lt){if(Ht.current=V()(Ir),bt){var pr=Array.isArray(bt)?bt:[bt];Ht.current=[].concat(V()(Ir.slice(0,-1)),V()(pr))}$t(Ht.current.join("__SPLIT__"),Qr)}var ur=Ke!==void 0?Ke:!!(Ye&&Ye.some(function(Nn){if(Nn&&k()(Nn)==="object"&&Nn.required)return!0;if(typeof Nn=="function"){var jr=Nn(_r);return jr&&jr.required}return!1})),fr=f()({},tn),xr=null;if(Object(Ae.a)(!(Ee&&or),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(qe)&&gt)Object(Ae.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),xr=qe;else if(Ar&&(!(Ee||or)||gt))Object(Ae.a)(!!(Ee||or),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(Ae.a)(!gt,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(or&&!Ar&&!gt)Object(Ae.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(dt.b)(qe)){Object(Ae.a)(qe.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var Yr=f()(f()({},qe.props),fr);Yr.id||(Yr.id=cr),Object(he.c)(qe)&&(Yr.ref=Xt(Ir,qe));var cn=new Set([].concat(V()(O(It)),V()(O(Nt))));cn.forEach(function(Nn){Yr[Nn]=function(){for(var jr,Tn,gn,Pn,Kn,qn=arguments.length,Yn=new Array(qn),Vn=0;Vn<qn;Vn++)Yn[Vn]=arguments[Vn];(gn=fr[Nn])===null||gn===void 0||(jr=gn).call.apply(jr,[fr].concat(Yn)),(Kn=(Pn=qe.props)[Nn])===null||Kn===void 0||(Tn=Kn).call.apply(Tn,[Pn].concat(Yn))}}),xr=u.createElement(et,{value:fr[mt.valuePropName||"value"],update:Nr.current},Object(dt.a)(qe,Yr))}else Ar&&(Ee||or)&&!gt?xr=qe(_r):(Object(Ae.a)(!Ir.length,"Form.Item","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),xr=qe);return mr(xr,cr,qr,ur)})}var ue=Ve,ae=function(mt,ft){var bt={};for(var Lt in mt)Object.prototype.hasOwnProperty.call(mt,Lt)&&ft.indexOf(Lt)<0&&(bt[Lt]=mt[Lt]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var or=0,Lt=Object.getOwnPropertySymbols(mt);or<Lt.length;or++)ft.indexOf(Lt[or])<0&&Object.prototype.propertyIsEnumerable.call(mt,Lt[or])&&(bt[Lt[or]]=mt[Lt[or]]);return bt},lt=function(ft){var bt=ft.children,Lt=ae(ft,["children"]);return Object(Ae.a)(!!Lt.name,"Form.List","Miss `name` prop."),u.createElement(r.List,Lt,function(or,Bt){return bt(or.map(function(_e){return f()(f()({},_e),{fieldKey:_e.key})}),Bt)})},Ze=lt,Te=H;Te.Item=ue,Te.List=Ze,Te.useForm=F,Te.Provider=t,Te.create=function(){Object(Ae.a)(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};var Jt=I.a=Te},VpOo:function(R,I){function e(g,f){var b=f.x,m=f.y,y=f.width,h=f.height,u=f.r,i,a,r,o;y<0&&(b=b+y,y=-y),h<0&&(m=m+h,h=-h),typeof u=="number"?i=a=r=o=u:u instanceof Array?u.length===1?i=a=r=o=u[0]:u.length===2?(i=r=u[0],a=o=u[1]):u.length===3?(i=u[0],a=o=u[1],r=u[2]):(i=u[0],a=u[1],r=u[2],o=u[3]):i=a=r=o=0;var d;i+a>y&&(d=i+a,i*=y/d,a*=y/d),r+o>y&&(d=r+o,r*=y/d,o*=y/d),a+r>h&&(d=a+r,a*=h/d,r*=h/d),i+o>h&&(d=i+o,i*=h/d,o*=h/d),g.moveTo(b+i,m),g.lineTo(b+y-a,m),a!==0&&g.arc(b+y-a,m+a,a,-Math.PI/2,0),g.lineTo(b+y,m+h-r),r!==0&&g.arc(b+y-r,m+h-r,r,0,Math.PI/2),g.lineTo(b+o,m+h),o!==0&&g.arc(b+o,m+h-o,o,Math.PI/2,Math.PI),g.lineTo(b,m+i),i!==0&&g.arc(b+i,m+i,i,Math.PI,Math.PI*1.5)}I.buildPath=e},"VrN/":function(R,I,e){(function(g,f){R.exports=f()})(this,function(){"use strict";var g=navigator.userAgent,f=navigator.platform,b=/gecko\/\d/i.test(g),m=/MSIE \d/.test(g),y=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(g),h=/Edge\/(\d+)/.exec(g),u=m||y||h,i=u&&(m?document.documentMode||6:+(h||y)[1]),a=!h&&/WebKit\//.test(g),r=a&&/Qt\/\d+\.\d+/.test(g),o=!h&&/Chrome\//.test(g),d=/Opera\//.test(g),n=/Apple Computer/.test(navigator.vendor),l=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(g),t=/PhantomJS/.test(g),s=!h&&/AppleWebKit/.test(g)&&/Mobile\/\w+/.test(g),c=/Android/.test(g),p=s||c||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(g),A=s||/Mac/.test(f),w=/\bCrOS\b/.test(g),C=/win/i.test(f),x=d&&g.match(/Version\/(\d*\.\d*)/);x&&(x=Number(x[1])),x&&x>=15&&(d=!1,a=!0);var E=A&&(r||d&&(x==null||x<12.11)),T=b||u&&i>=9;function _(D){return new RegExp("(^|\\s)"+D+"(?:$|\\s)\\s*")}var v=function(P,ee){var re=P.className,ce=_(ee).exec(re);if(ce){var Be=re.slice(ce.index+ce[0].length);P.className=re.slice(0,ce.index)+(Be?ce[1]+Be:"")}};function S(D){for(var P=D.childNodes.length;P>0;--P)D.removeChild(D.firstChild);return D}function O(D,P){return S(D).appendChild(P)}function L(D,P,ee,re){var ce=document.createElement(D);if(ee&&(ce.className=ee),re&&(ce.style.cssText=re),typeof P=="string")ce.appendChild(document.createTextNode(P));else if(P)for(var Be=0;Be<P.length;++Be)ce.appendChild(P[Be]);return ce}function M(D,P,ee,re){var ce=L(D,P,ee,re);return ce.setAttribute("role","presentation"),ce}var F;document.createRange?F=function(P,ee,re,ce){var Be=document.createRange();return Be.setEnd(ce||P,re),Be.setStart(P,ee),Be}:F=function(P,ee,re){var ce=document.body.createTextRange();try{ce.moveToElementText(P.parentNode)}catch(Be){return ce}return ce.collapse(!0),ce.moveEnd("character",re),ce.moveStart("character",ee),ce};function U(D,P){if(P.nodeType==3&&(P=P.parentNode),D.contains)return D.contains(P);do if(P.nodeType==11&&(P=P.host),P==D)return!0;while(P=P.parentNode)}function z(){var D;try{D=document.activeElement}catch(P){D=document.body||null}for(;D&&D.shadowRoot&&D.shadowRoot.activeElement;)D=D.shadowRoot.activeElement;return D}function W(D,P){var ee=D.className;_(P).test(ee)||(D.className+=(ee?" ":"")+P)}function N(D,P){for(var ee=D.split(" "),re=0;re<ee.length;re++)ee[re]&&!_(ee[re]).test(P)&&(P+=" "+ee[re]);return P}var H=function(P){P.select()};s?H=function(P){P.selectionStart=0,P.selectionEnd=P.value.length}:u&&(H=function(P){try{P.select()}catch(ee){}});function j(D){var P=Array.prototype.slice.call(arguments,1);return function(){return D.apply(null,P)}}function k(D,P,ee){P||(P={});for(var re in D)D.hasOwnProperty(re)&&(ee!==!1||!P.hasOwnProperty(re))&&(P[re]=D[re]);return P}function B(D,P,ee,re,ce){P==null&&(P=D.search(/[^\s\u00a0]/),P==-1&&(P=D.length));for(var Be=re||0,yt=ce||0;;){var Dt=D.indexOf(" ",Be);if(Dt<0||Dt>=P)return yt+(P-Be);yt+=Dt-Be,yt+=ee-yt%ee,Be=Dt+1}}var V=function(){this.id=null,this.f=null,this.time=0,this.handler=j(this.onTimeout,this)};V.prototype.onTimeout=function(D){D.id=0,D.time<=+new Date?D.f():setTimeout(D.handler,D.time-+new Date)},V.prototype.set=function(D,P){this.f=P;var ee=+new Date+D;(!this.id||ee<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,D),this.time=ee)};function K(D,P){for(var ee=0;ee<D.length;++ee)if(D[ee]==P)return ee;return-1}var Y=50,Q={toString:function(){return"CodeMirror.Pass"}},he={scroll:!1},G={origin:"*mouse"},ye={origin:"+move"};function Ae(D,P,ee){for(var re=0,ce=0;;){var Be=D.indexOf(" ",re);Be==-1&&(Be=D.length);var yt=Be-re;if(Be==D.length||ce+yt>=P)return re+Math.min(yt,P-ce);if(ce+=Be-re,ce+=ee-ce%ee,re=Be+1,ce>=P)return re}}var ge=[""];function Pe(D){for(;ge.length<=D;)ge.push(Re(ge)+" ");return ge[D]}function Re(D){return D[D.length-1]}function rt(D,P){for(var ee=[],re=0;re<D.length;re++)ee[re]=P(D[re],re);return ee}function ne(D,P,ee){for(var re=0,ce=ee(P);re<D.length&&ee(D[re])<=ce;)re++;D.splice(re,0,P)}function be(){}function at(D,P){var ee;return Object.create?ee=Object.create(D):(be.prototype=D,ee=new be),P&&k(P,ee),ee}var se=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function q(D){return/\w/.test(D)||D>"\x80"&&(D.toUpperCase()!=D.toLowerCase()||se.test(D))}function X(D,P){return P?P.source.indexOf("\\w")>-1&&q(D)?!0:P.test(D):q(D)}function Z(D){for(var P in D)if(D.hasOwnProperty(P)&&D[P])return!1;return!0}var pe=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function oe(D){return D.charCodeAt(0)>=768&&pe.test(D)}function Ie(D,P,ee){for(;(ee<0?P>0:P<D.length)&&oe(D.charAt(P));)P+=ee;return P}function fe(D,P,ee){for(var re=P>ee?-1:1;;){if(P==ee)return P;var ce=(P+ee)/2,Be=re<0?Math.ceil(ce):Math.floor(ce);if(Be==P)return D(Be)?P:ee;D(Be)?ee=Be:P=Be+re}}function te(D,P,ee,re){if(!D)return re(P,ee,"ltr",0);for(var ce=!1,Be=0;Be<D.length;++Be){var yt=D[Be];(yt.from<ee&&yt.to>P||P==ee&&yt.to==P)&&(re(Math.max(yt.from,P),Math.min(yt.to,ee),yt.level==1?"rtl":"ltr",Be),ce=!0)}ce||re(P,ee,"ltr")}var J=null;function ve(D,P,ee){var re;J=null;for(var ce=0;ce<D.length;++ce){var Be=D[ce];if(Be.from<P&&Be.to>P)return ce;Be.to==P&&(Be.from!=Be.to&&ee=="before"?re=ce:J=ce),Be.from==P&&(Be.from!=Be.to&&ee!="before"?re=ce:J=ce)}return re!=null?re:J}var De=function(){var D="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",P="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ee(Yt){return Yt<=247?D.charAt(Yt):1424<=Yt&&Yt<=1524?"R":1536<=Yt&&Yt<=1785?P.charAt(Yt-1536):1774<=Yt&&Yt<=2220?"r":8192<=Yt&&Yt<=8203?"w":Yt==8204?"b":"L"}var re=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ce=/[stwN]/,Be=/[LRr]/,yt=/[Lb1n]/,Dt=/[1n]/;function Kt(Yt,Cr,Ur){this.level=Yt,this.from=Cr,this.to=Ur}return function(Yt,Cr){var Ur=Cr=="ltr"?"L":"R";if(Yt.length==0||Cr=="ltr"&&!re.test(Yt))return!1;for(var en=Yt.length,nn=[],xn=0;xn<en;++xn)nn.push(ee(Yt.charCodeAt(xn)));for(var Bn=0,Jn=Ur;Bn<en;++Bn){var Zn=nn[Bn];Zn=="m"?nn[Bn]=Jn:Jn=Zn}for(var oi=0,li=Ur;oi<en;++oi){var $e=nn[oi];$e=="1"&&li=="r"?nn[oi]="n":Be.test($e)&&(li=$e,$e=="r"&&(nn[oi]="R"))}for(var ie=1,He=nn[0];ie<en-1;++ie){var tt=nn[ie];tt=="+"&&He=="1"&&nn[ie+1]=="1"?nn[ie]="1":tt==","&&He==nn[ie+1]&&(He=="1"||He=="n")&&(nn[ie]=He),He=tt}for(var Ot=0;Ot<en;++Ot){var tr=nn[Ot];if(tr==",")nn[Ot]="N";else if(tr=="%"){var vr=void 0;for(vr=Ot+1;vr<en&&nn[vr]=="%";++vr);for(var Lr=Ot&&nn[Ot-1]=="!"||vr<en&&nn[vr]=="1"?"1":"N",Hr=Ot;Hr<vr;++Hr)nn[Hr]=Lr;Ot=vr-1}}for(var zr=0,un=Ur;zr<en;++zr){var sn=nn[zr];un=="L"&&sn=="1"?nn[zr]="L":Be.test(sn)&&(un=sn)}for(var kn=0;kn<en;++kn)if(ce.test(nn[kn])){var si=void 0;for(si=kn+1;si<en&&ce.test(nn[si]);++si);for(var zn=(kn?nn[kn-1]:Ur)=="L",fi=(si<en?nn[si]:Ur)=="L",da=zn==fi?zn?"L":"R":Ur,Ti=kn;Ti<si;++Ti)nn[Ti]=da;kn=si-1}for(var na=[],Ia,Pi=0;Pi<en;)if(yt.test(nn[Pi])){var Io=Pi;for(++Pi;Pi<en&&yt.test(nn[Pi]);++Pi);na.push(new Kt(0,Io,Pi))}else{var no=Pi,Ko=na.length,Po=Cr=="rtl"?1:0;for(++Pi;Pi<en&&nn[Pi]!="L";++Pi);for(var Fa=no;Fa<Pi;)if(Dt.test(nn[Fa])){no<Fa&&(na.splice(Ko,0,new Kt(1,no,Fa)),Ko+=Po);var Wo=Fa;for(++Fa;Fa<Pi&&Dt.test(nn[Fa]);++Fa);na.splice(Ko,0,new Kt(2,Wo,Fa)),Ko+=Po,no=Fa}else++Fa;no<Pi&&na.splice(Ko,0,new Kt(1,no,Pi))}return Cr=="ltr"&&(na[0].level==1&&(Ia=Yt.match(/^\s+/))&&(na[0].from=Ia[0].length,na.unshift(new Kt(0,0,Ia[0].length))),Re(na).level==1&&(Ia=Yt.match(/\s+$/))&&(Re(na).to-=Ia[0].length,na.push(new Kt(0,en-Ia[0].length,en)))),Cr=="rtl"?na.reverse():na}}();function ze(D,P){var ee=D.order;return ee==null&&(ee=D.order=De(D.text,P)),ee}var dt=[],Me=function(P,ee,re){if(P.addEventListener)P.addEventListener(ee,re,!1);else if(P.attachEvent)P.attachEvent("on"+ee,re);else{var ce=P._handlers||(P._handlers={});ce[ee]=(ce[ee]||dt).concat(re)}};function Tt(D,P){return D._handlers&&D._handlers[P]||dt}function je(D,P,ee){if(D.removeEventListener)D.removeEventListener(P,ee,!1);else if(D.detachEvent)D.detachEvent("on"+P,ee);else{var re=D._handlers,ce=re&&re[P];if(ce){var Be=K(ce,ee);Be>-1&&(re[P]=ce.slice(0,Be).concat(ce.slice(Be+1)))}}}function st(D,P){var ee=Tt(D,P);if(!ee.length)return;for(var re=Array.prototype.slice.call(arguments,2),ce=0;ce<ee.length;++ce)ee[ce].apply(null,re)}function Xe(D,P,ee){return typeof P=="string"&&(P={type:P,preventDefault:function(){this.defaultPrevented=!0}}),st(D,ee||P.type,D,P),ae(P)||P.codemirrorIgnore}function Je(D){var P=D._handlers&&D._handlers.cursorActivity;if(!P)return;for(var ee=D.curOp.cursorActivityHandlers||(D.curOp.cursorActivityHandlers=[]),re=0;re<P.length;++re)K(ee,P[re])==-1&&ee.push(P[re])}function et(D,P){return Tt(D,P).length>0}function ot(D){D.prototype.on=function(P,ee){Me(this,P,ee)},D.prototype.off=function(P,ee){je(this,P,ee)}}function Ve(D){D.preventDefault?D.preventDefault():D.returnValue=!1}function ue(D){D.stopPropagation?D.stopPropagation():D.cancelBubble=!0}function ae(D){return D.defaultPrevented!=null?D.defaultPrevented:D.returnValue==!1}function lt(D){Ve(D),ue(D)}function Ze(D){return D.target||D.srcElement}function Te(D){var P=D.which;return P==null&&(D.button&1?P=1:D.button&2?P=3:D.button&4&&(P=2)),A&&D.ctrlKey&&P==1&&(P=3),P}var Jt=function(){if(u&&i<9)return!1;var D=L("div");return"draggable"in D||"dragDrop"in D}(),mt;function ft(D){if(mt==null){var P=L("span","\u200B");O(D,L("span",[P,document.createTextNode("x")])),D.firstChild.offsetHeight!=0&&(mt=P.offsetWidth<=1&&P.offsetHeight>2&&!(u&&i<8))}var ee=mt?L("span","\u200B"):L("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ee.setAttribute("cm-text",""),ee}var bt;function Lt(D){if(bt!=null)return bt;var P=O(D,document.createTextNode("A\u062EA")),ee=F(P,0,1).getBoundingClientRect(),re=F(P,1,2).getBoundingClientRect();return S(D),!ee||ee.left==ee.right?!1:bt=re.right-ee.right<3}var or=`
b`.split(/\n/).length!=3?function(D){for(var P=0,ee=[],re=D.length;P<=re;){var ce=D.indexOf(`
`,P);ce==-1&&(ce=D.length);var Be=D.slice(P,D.charAt(ce-1)=="\r"?ce-1:ce),yt=Be.indexOf("\r");yt!=-1?(ee.push(Be.slice(0,yt)),P+=yt+1):(ee.push(Be),P=ce+1)}return ee}:function(D){return D.split(/\r\n?|\n/)},Bt=window.getSelection?function(D){try{return D.selectionStart!=D.selectionEnd}catch(P){return!1}}:function(D){var P;try{P=D.ownerDocument.selection.createRange()}catch(ee){}return!P||P.parentElement()!=D?!1:P.compareEndPoints("StartToEnd",P)!=0},_e=function(){var D=L("div");return"oncopy"in D?!0:(D.setAttribute("oncopy","return;"),typeof D.oncopy=="function")}(),Ce=null;function Ee(D){if(Ce!=null)return Ce;var P=O(D,L("span","x")),ee=P.getBoundingClientRect(),re=F(P,0,1).getBoundingClientRect();return Ce=Math.abs(ee.left-re.left)>1}var we={},Fe={};function Ye(D,P){arguments.length>2&&(P.dependencies=Array.prototype.slice.call(arguments,2)),we[D]=P}function Ge(D,P){Fe[D]=P}function qe(D){if(typeof D=="string"&&Fe.hasOwnProperty(D))D=Fe[D];else if(D&&typeof D.name=="string"&&Fe.hasOwnProperty(D.name)){var P=Fe[D.name];typeof P=="string"&&(P={name:P}),D=at(P,D),D.name=P.name}else{if(typeof D=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(D))return qe("application/xml");if(typeof D=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(D))return qe("application/json")}return typeof D=="string"?{name:D}:D||{name:"null"}}function Ke(D,P){P=qe(P);var ee=we[P.name];if(!ee)return Ke(D,"text/plain");var re=ee(D,P);if(ut.hasOwnProperty(P.name)){var ce=ut[P.name];for(var Be in ce){if(!ce.hasOwnProperty(Be))continue;re.hasOwnProperty(Be)&&(re["_"+Be]=re[Be]),re[Be]=ce[Be]}}if(re.name=P.name,P.helperType&&(re.helperType=P.helperType),P.modeProps)for(var yt in P.modeProps)re[yt]=P.modeProps[yt];return re}var ut={};function wt(D,P){var ee=ut.hasOwnProperty(D)?ut[D]:ut[D]={};k(P,ee)}function It(D,P){if(P===!0)return P;if(D.copyState)return D.copyState(P);var ee={};for(var re in P){var ce=P[re];ce instanceof Array&&(ce=ce.concat([])),ee[re]=ce}return ee}function de(D,P){for(var ee;D.innerMode&&!(ee=D.innerMode(P),!ee||ee.mode==D);)P=ee.state,D=ee.mode;return ee||{mode:D,state:P}}function xe(D,P,ee){return D.startState?D.startState(P,ee):!0}var $=function(P,ee,re){this.pos=this.start=0,this.string=P,this.tabSize=ee||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=re};$.prototype.eol=function(){return this.pos>=this.string.length},$.prototype.sol=function(){return this.pos==this.lineStart},$.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},$.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},$.prototype.eat=function(D){var P=this.string.charAt(this.pos),ee;if(typeof D=="string"?ee=P==D:ee=P&&(D.test?D.test(P):D(P)),ee)return++this.pos,P},$.prototype.eatWhile=function(D){for(var P=this.pos;this.eat(D););return this.pos>P},$.prototype.eatSpace=function(){for(var D=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>D},$.prototype.skipToEnd=function(){this.pos=this.string.length},$.prototype.skipTo=function(D){var P=this.string.indexOf(D,this.pos);if(P>-1)return this.pos=P,!0},$.prototype.backUp=function(D){this.pos-=D},$.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=B(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?B(this.string,this.lineStart,this.tabSize):0)},$.prototype.indentation=function(){return B(this.string,null,this.tabSize)-(this.lineStart?B(this.string,this.lineStart,this.tabSize):0)},$.prototype.match=function(D,P,ee){if(typeof D=="string"){var re=function(Dt){return ee?Dt.toLowerCase():Dt},ce=this.string.substr(this.pos,D.length);if(re(ce)==re(D))return P!==!1&&(this.pos+=D.length),!0}else{var Be=this.string.slice(this.pos).match(D);return Be&&Be.index>0?null:(Be&&P!==!1&&(this.pos+=Be[0].length),Be)}},$.prototype.current=function(){return this.string.slice(this.start,this.pos)},$.prototype.hideFirstChars=function(D,P){this.lineStart+=D;try{return P()}finally{this.lineStart-=D}},$.prototype.lookAhead=function(D){var P=this.lineOracle;return P&&P.lookAhead(D)},$.prototype.baseToken=function(){var D=this.lineOracle;return D&&D.baseToken(this.pos)};function le(D,P){if(P-=D.first,P<0||P>=D.size)throw new Error("There is no line "+(P+D.first)+" in the document.");for(var ee=D;!ee.lines;)for(var re=0;;++re){var ce=ee.children[re],Be=ce.chunkSize();if(P<Be){ee=ce;break}P-=Be}return ee.lines[P]}function Oe(D,P,ee){var re=[],ce=P.line;return D.iter(P.line,ee.line+1,function(Be){var yt=Be.text;ce==ee.line&&(yt=yt.slice(0,ee.ch)),ce==P.line&&(yt=yt.slice(P.ch)),re.push(yt),++ce}),re}function ke(D,P,ee){var re=[];return D.iter(P,ee,function(ce){re.push(ce.text)}),re}function Ue(D,P){var ee=P-D.height;if(ee)for(var re=D;re;re=re.parent)re.height+=ee}function nt(D){if(D.parent==null)return null;for(var P=D.parent,ee=K(P.lines,D),re=P.parent;re;P=re,re=re.parent)for(var ce=0;!(re.children[ce]==P);++ce)ee+=re.children[ce].chunkSize();return ee+P.first}function At(D,P){var ee=D.first;e:do{for(var re=0;re<D.children.length;++re){var ce=D.children[re],Be=ce.height;if(P<Be){D=ce;continue e}P-=Be,ee+=ce.chunkSize()}return ee}while(!D.lines);for(var yt=0;yt<D.lines.length;++yt){var Dt=D.lines[yt],Kt=Dt.height;if(P<Kt)break;P-=Kt}return ee+yt}function Wt(D,P){return P>=D.first&&P<D.first+D.size}function $t(D,P){return String(D.lineNumberFormatter(P+D.firstLineNumber))}function Rt(D,P,ee){if(ee===void 0&&(ee=null),!(this instanceof Rt))return new Rt(D,P,ee);this.line=D,this.ch=P,this.sticky=ee}function zt(D,P){return D.line-P.line||D.ch-P.ch}function Gt(D,P){return D.sticky==P.sticky&&zt(D,P)==0}function Qt(D){return Rt(D.line,D.ch)}function Mt(D,P){return zt(D,P)<0?P:D}function dr(D,P){return zt(D,P)<0?D:P}function er(D,P){return Math.max(D.first,Math.min(P,D.first+D.size-1))}function ht(D,P){if(P.line<D.first)return Rt(D.first,0);var ee=D.first+D.size-1;return P.line>ee?Rt(ee,le(D,ee).text.length):Et(P,le(D,P.line).text.length)}function Et(D,P){var ee=D.ch;return ee==null||ee>P?Rt(D.line,P):ee<0?Rt(D.line,0):D}function pt(D,P){for(var ee=[],re=0;re<P.length;re++)ee[re]=ht(D,P[re]);return ee}var vt=function(P,ee){this.state=P,this.lookAhead=ee},Nt=function(P,ee,re,ce){this.state=ee,this.doc=P,this.line=re,this.maxLookAhead=ce||0,this.baseTokens=null,this.baseTokenPos=1};Nt.prototype.lookAhead=function(D){var P=this.doc.getLine(this.line+D);return P!=null&&D>this.maxLookAhead&&(this.maxLookAhead=D),P},Nt.prototype.baseToken=function(D){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=D;)this.baseTokenPos+=2;var P=this.baseTokens[this.baseTokenPos+1];return{type:P&&P.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-D}},Nt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Nt.fromSaved=function(D,P,ee){return P instanceof vt?new Nt(D,It(D.mode,P.state),ee,P.lookAhead):new Nt(D,It(D.mode,P),ee)},Nt.prototype.save=function(D){var P=D!==!1?It(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new vt(P,this.maxLookAhead):P};function _t(D,P,ee,re){var ce=[D.state.modeGen],Be={};kr(D,P.text,D.doc.mode,ee,function(Yt,Cr){return ce.push(Yt,Cr)},Be,re);for(var yt=ee.state,Dt=function(Cr){ee.baseTokens=ce;var Ur=D.state.overlays[Cr],en=1,nn=0;ee.state=!0,kr(D,P.text,Ur.mode,ee,function(xn,Bn){for(var Jn=en;nn<xn;){var Zn=ce[en];Zn>xn&&ce.splice(en,1,xn,ce[en+1],Zn),en+=2,nn=Math.min(xn,Zn)}if(!Bn)return;if(Ur.opaque)ce.splice(Jn,en-Jn,xn,"overlay "+Bn),en=Jn+2;else for(;Jn<en;Jn+=2){var oi=ce[Jn+1];ce[Jn+1]=(oi?oi+" ":"")+"overlay "+Bn}},Be),ee.state=yt,ee.baseTokens=null,ee.baseTokenPos=1},Kt=0;Kt<D.state.overlays.length;++Kt)Dt(Kt);return{styles:ce,classes:Be.bgClass||Be.textClass?Be:null}}function gt(D,P,ee){if(!P.styles||P.styles[0]!=D.state.modeGen){var re=Ht(D,nt(P)),ce=P.text.length>D.options.maxHighlightLength&&It(D.doc.mode,re.state),Be=_t(D,P,re);ce&&(re.state=ce),P.stateAfter=re.save(!ce),P.styles=Be.styles,Be.classes?P.styleClasses=Be.classes:P.styleClasses&&(P.styleClasses=null),ee===D.doc.highlightFrontier&&(D.doc.modeFrontier=Math.max(D.doc.modeFrontier,++D.doc.highlightFrontier))}return P.styles}function Ht(D,P,ee){var re=D.doc,ce=D.display;if(!re.mode.startState)return new Nt(re,!0,P);var Be=tn(D,P,ee),yt=Be>re.first&&le(re,Be-1).stateAfter,Dt=yt?Nt.fromSaved(re,yt,Be):new Nt(re,xe(re.mode),Be);return re.iter(Be,P,function(Kt){kt(D,Kt.text,Dt);var Yt=Dt.line;Kt.stateAfter=Yt==P-1||Yt%5==0||Yt>=ce.viewFrom&&Yt<ce.viewTo?Dt.save():null,Dt.nextLine()}),ee&&(re.modeFrontier=Dt.line),Dt}function kt(D,P,ee,re){var ce=D.doc.mode,Be=new $(P,D.options.tabSize,ee);for(Be.start=Be.pos=re||0,P==""&&ir(ce,ee.state);!Be.eol();)Xt(ce,Be,ee.state),Be.start=Be.pos}function ir(D,P){if(D.blankLine)return D.blankLine(P);if(!D.innerMode)return;var ee=de(D,P);if(ee.mode.blankLine)return ee.mode.blankLine(ee.state)}function Xt(D,P,ee,re){for(var ce=0;ce<10;ce++){re&&(re[0]=de(D,ee).mode);var Be=D.token(P,ee);if(P.pos>P.start)return Be}throw new Error("Mode "+D.name+" failed to advance stream.")}var mr=function(P,ee,re){this.start=P.start,this.end=P.pos,this.string=P.current(),this.type=ee||null,this.state=re};function Ar(D,P,ee,re){var ce=D.doc,Be=ce.mode,yt;P=ht(ce,P);var Dt=le(ce,P.line),Kt=Ht(D,P.line,ee),Yt=new $(Dt.text,D.options.tabSize,Kt),Cr;for(re&&(Cr=[]);(re||Yt.pos<P.ch)&&!Yt.eol();)Yt.start=Yt.pos,yt=Xt(Be,Yt,Kt.state),re&&Cr.push(new mr(Yt,yt,It(ce.mode,Kt.state)));return re?Cr:new mr(Yt,yt,Kt.state)}function Nr(D,P){if(D)for(;;){var ee=D.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!ee)break;D=D.slice(0,ee.index)+D.slice(ee.index+ee[0].length);var re=ee[1]?"bgClass":"textClass";P[re]==null?P[re]=ee[2]:new RegExp("(?:^|\\s)"+ee[2]+"(?:$|\\s)").test(P[re])||(P[re]+=" "+ee[2])}return D}function kr(D,P,ee,re,ce,Be,yt){var Dt=ee.flattenSpans;Dt==null&&(Dt=D.options.flattenSpans);var Kt=0,Yt=null,Cr=new $(P,D.options.tabSize,re),Ur,en=D.options.addModeClass&&[null];for(P==""&&Nr(ir(ee,re.state),Be);!Cr.eol();){if(Cr.pos>D.options.maxHighlightLength?(Dt=!1,yt&&kt(D,P,re,Cr.pos),Cr.pos=P.length,Ur=null):Ur=Nr(Xt(ee,Cr,re.state,en),Be),en){var nn=en[0].name;nn&&(Ur="m-"+(Ur?nn+" "+Ur:nn))}if(!Dt||Yt!=Ur){for(;Kt<Cr.start;)Kt=Math.min(Cr.start,Kt+5e3),ce(Kt,Yt);Yt=Ur}Cr.start=Cr.pos}for(;Kt<Cr.pos;){var xn=Math.min(Cr.pos,Kt+5e3);ce(xn,Yt),Kt=xn}}function tn(D,P,ee){for(var re,ce,Be=D.doc,yt=ee?-1:P-(D.doc.mode.innerMode?1e3:100),Dt=P;Dt>yt;--Dt){if(Dt<=Be.first)return Be.first;var Kt=le(Be,Dt-1),Yt=Kt.stateAfter;if(Yt&&(!ee||Dt+(Yt instanceof vt?Yt.lookAhead:0)<=Be.modeFrontier))return Dt;var Cr=B(Kt.text,null,D.options.tabSize);(ce==null||re>Cr)&&(ce=Dt-1,re=Cr)}return ce}function qr(D,P){if(D.modeFrontier=Math.min(D.modeFrontier,P),D.highlightFrontier<P-10)return;for(var ee=D.first,re=P-1;re>ee;re--){var ce=le(D,re).stateAfter;if(ce&&(!(ce instanceof vt)||re+ce.lookAhead<P)){ee=re+1;break}}D.highlightFrontier=Math.min(D.highlightFrontier,ee)}var _r=!1,Qr=!1;function Ir(){_r=!0}function cr(){Qr=!0}function pr(D,P,ee){this.marker=D,this.from=P,this.to=ee}function ur(D,P){if(D)for(var ee=0;ee<D.length;++ee){var re=D[ee];if(re.marker==P)return re}}function fr(D,P){for(var ee,re=0;re<D.length;++re)D[re]!=P&&(ee||(ee=[])).push(D[re]);return ee}function xr(D,P){D.markedSpans=D.markedSpans?D.markedSpans.concat([P]):[P],P.marker.attachLine(D)}function Yr(D,P,ee){var re;if(D)for(var ce=0;ce<D.length;++ce){var Be=D[ce],yt=Be.marker,Dt=Be.from==null||(yt.inclusiveLeft?Be.from<=P:Be.from<P);if(Dt||Be.from==P&&yt.type=="bookmark"&&(!ee||!Be.marker.insertLeft)){var Kt=Be.to==null||(yt.inclusiveRight?Be.to>=P:Be.to>P);(re||(re=[])).push(new pr(yt,Be.from,Kt?null:Be.to))}}return re}function cn(D,P,ee){var re;if(D)for(var ce=0;ce<D.length;++ce){var Be=D[ce],yt=Be.marker,Dt=Be.to==null||(yt.inclusiveRight?Be.to>=P:Be.to>P);if(Dt||Be.from==P&&yt.type=="bookmark"&&(!ee||Be.marker.insertLeft)){var Kt=Be.from==null||(yt.inclusiveLeft?Be.from<=P:Be.from<P);(re||(re=[])).push(new pr(yt,Kt?null:Be.from-P,Be.to==null?null:Be.to-P))}}return re}function Nn(D,P){if(P.full)return null;var ee=Wt(D,P.from.line)&&le(D,P.from.line).markedSpans,re=Wt(D,P.to.line)&&le(D,P.to.line).markedSpans;if(!ee&&!re)return null;var ce=P.from.ch,Be=P.to.ch,yt=zt(P.from,P.to)==0,Dt=Yr(ee,ce,yt),Kt=cn(re,Be,yt),Yt=P.text.length==1,Cr=Re(P.text).length+(Yt?ce:0);if(Dt)for(var Ur=0;Ur<Dt.length;++Ur){var en=Dt[Ur];if(en.to==null){var nn=ur(Kt,en.marker);nn?Yt&&(en.to=nn.to==null?null:nn.to+Cr):en.to=ce}}if(Kt)for(var xn=0;xn<Kt.length;++xn){var Bn=Kt[xn];if(Bn.to!=null&&(Bn.to+=Cr),Bn.from==null){var Jn=ur(Dt,Bn.marker);Jn||(Bn.from=Cr,Yt&&(Dt||(Dt=[])).push(Bn))}else Bn.from+=Cr,Yt&&(Dt||(Dt=[])).push(Bn)}Dt&&(Dt=jr(Dt)),Kt&&Kt!=Dt&&(Kt=jr(Kt));var Zn=[Dt];if(!Yt){var oi=P.text.length-2,li;if(oi>0&&Dt)for(var $e=0;$e<Dt.length;++$e)Dt[$e].to==null&&(li||(li=[])).push(new pr(Dt[$e].marker,null,null));for(var ie=0;ie<oi;++ie)Zn.push(li);Zn.push(Kt)}return Zn}function jr(D){for(var P=0;P<D.length;++P){var ee=D[P];ee.from!=null&&ee.from==ee.to&&ee.marker.clearWhenEmpty!==!1&&D.splice(P--,1)}return D.length?D:null}function Tn(D,P,ee){var re=null;if(D.iter(P.line,ee.line+1,function(nn){if(nn.markedSpans)for(var xn=0;xn<nn.markedSpans.length;++xn){var Bn=nn.markedSpans[xn].marker;Bn.readOnly&&(!re||K(re,Bn)==-1)&&(re||(re=[])).push(Bn)}}),!re)return null;for(var ce=[{from:P,to:ee}],Be=0;Be<re.length;++Be)for(var yt=re[Be],Dt=yt.find(0),Kt=0;Kt<ce.length;++Kt){var Yt=ce[Kt];if(zt(Yt.to,Dt.from)<0||zt(Yt.from,Dt.to)>0)continue;var Cr=[Kt,1],Ur=zt(Yt.from,Dt.from),en=zt(Yt.to,Dt.to);(Ur<0||!yt.inclusiveLeft&&!Ur)&&Cr.push({from:Yt.from,to:Dt.from}),(en>0||!yt.inclusiveRight&&!en)&&Cr.push({from:Dt.to,to:Yt.to}),ce.splice.apply(ce,Cr),Kt+=Cr.length-3}return ce}function gn(D){var P=D.markedSpans;if(!P)return;for(var ee=0;ee<P.length;++ee)P[ee].marker.detachLine(D);D.markedSpans=null}function Pn(D,P){if(!P)return;for(var ee=0;ee<P.length;++ee)P[ee].marker.attachLine(D);D.markedSpans=P}function Kn(D){return D.inclusiveLeft?-1:0}function qn(D){return D.inclusiveRight?1:0}function Yn(D,P){var ee=D.lines.length-P.lines.length;if(ee!=0)return ee;var re=D.find(),ce=P.find(),Be=zt(re.from,ce.from)||Kn(D)-Kn(P);if(Be)return-Be;var yt=zt(re.to,ce.to)||qn(D)-qn(P);return yt||P.id-D.id}function Vn(D,P){var ee=Qr&&D.markedSpans,re;if(ee)for(var ce=void 0,Be=0;Be<ee.length;++Be)ce=ee[Be],ce.marker.collapsed&&(P?ce.from:ce.to)==null&&(!re||Yn(re,ce.marker)<0)&&(re=ce.marker);return re}function An(D){return Vn(D,!0)}function on(D){return Vn(D,!1)}function ia(D,P){var ee=Qr&&D.markedSpans,re;if(ee)for(var ce=0;ce<ee.length;++ce){var Be=ee[ce];Be.marker.collapsed&&(Be.from==null||Be.from<P)&&(Be.to==null||Be.to>P)&&(!re||Yn(re,Be.marker)<0)&&(re=Be.marker)}return re}function xa(D,P,ee,re,ce){var Be=le(D,P),yt=Qr&&Be.markedSpans;if(yt)for(var Dt=0;Dt<yt.length;++Dt){var Kt=yt[Dt];if(!Kt.marker.collapsed)continue;var Yt=Kt.marker.find(0),Cr=zt(Yt.from,ee)||Kn(Kt.marker)-Kn(ce),Ur=zt(Yt.to,re)||qn(Kt.marker)-qn(ce);if(Cr>=0&&Ur<=0||Cr<=0&&Ur>=0)continue;if(Cr<=0&&(Kt.marker.inclusiveRight&&ce.inclusiveLeft?zt(Yt.to,ee)>=0:zt(Yt.to,ee)>0)||Cr>=0&&(Kt.marker.inclusiveRight&&ce.inclusiveLeft?zt(Yt.from,re)<=0:zt(Yt.from,re)<0))return!0}}function ta(D){for(var P;P=An(D);)D=P.find(-1,!0).line;return D}function Ii(D){for(var P;P=on(D);)D=P.find(1,!0).line;return D}function Ci(D){for(var P,ee;P=on(D);)D=P.find(1,!0).line,(ee||(ee=[])).push(D);return ee}function Gn(D,P){var ee=le(D,P),re=ta(ee);return ee==re?P:nt(re)}function Oa(D,P){if(P>D.lastLine())return P;var ee=le(D,P),re;if(!mn(D,ee))return P;for(;re=on(ee);)ee=re.find(1,!0).line;return nt(ee)+1}function mn(D,P){var ee=Qr&&P.markedSpans;if(ee)for(var re=void 0,ce=0;ce<ee.length;++ce){if(re=ee[ce],!re.marker.collapsed)continue;if(re.from==null)return!0;if(re.marker.widgetNode)continue;if(re.from==0&&re.marker.inclusiveLeft&&On(D,P,re))return!0}}function On(D,P,ee){if(ee.to==null){var re=ee.marker.find(1,!0);return On(D,re.line,ur(re.line.markedSpans,ee.marker))}if(ee.marker.inclusiveRight&&ee.to==P.text.length)return!0;for(var ce=void 0,Be=0;Be<P.markedSpans.length;++Be)if(ce=P.markedSpans[Be],ce.marker.collapsed&&!ce.marker.widgetNode&&ce.from==ee.to&&(ce.to==null||ce.to!=ee.from)&&(ce.marker.inclusiveLeft||ee.marker.inclusiveRight)&&On(D,P,ce))return!0}function _n(D){D=ta(D);for(var P=0,ee=D.parent,re=0;re<ee.lines.length;++re){var ce=ee.lines[re];if(ce==D)break;P+=ce.height}for(var Be=ee.parent;Be;ee=Be,Be=ee.parent)for(var yt=0;yt<Be.children.length;++yt){var Dt=Be.children[yt];if(Dt==ee)break;P+=Dt.height}return P}function In(D){if(D.height==0)return 0;for(var P=D.text.length,ee,re=D;ee=An(re);){var ce=ee.find(0,!0);re=ce.from.line,P+=ce.from.ch-ce.to.ch}for(re=D;ee=on(re);){var Be=ee.find(0,!0);P-=re.text.length-Be.from.ch,re=Be.to.line,P+=re.text.length-Be.to.ch}return P}function jn(D){var P=D.display,ee=D.doc;P.maxLine=le(ee,ee.first),P.maxLineLength=In(P.maxLine),P.maxLineChanged=!0,ee.iter(function(re){var ce=In(re);ce>P.maxLineLength&&(P.maxLineLength=ce,P.maxLine=re)})}var ni=function(P,ee,re){this.text=P,Pn(this,ee),this.height=re?re(this):1};ni.prototype.lineNo=function(){return nt(this)},ot(ni);function di(D,P,ee,re){D.text=P,D.stateAfter&&(D.stateAfter=null),D.styles&&(D.styles=null),D.order!=null&&(D.order=null),gn(D),Pn(D,ee);var ce=re?re(D):1;ce!=D.height&&Ue(D,ce)}function Na(D){D.parent=null,gn(D)}var Qi={},ma={};function Ba(D,P){if(!D||/^\s*$/.test(D))return null;var ee=P.addModeClass?ma:Qi;return ee[D]||(ee[D]=D.replace(/\S+/g,"cm-$&"))}function Qa(D,P){var ee=M("span",null,null,a?"padding-right: .1px":null),re={pre:M("pre",[ee],"CodeMirror-line"),content:ee,col:0,pos:0,cm:D,trailingSpace:!1,splitSpaces:D.getOption("lineWrapping")};P.measure={};for(var ce=0;ce<=(P.rest?P.rest.length:0);ce++){var Be=ce?P.rest[ce-1]:P.line,yt=void 0;re.pos=0,re.addToken=Co,Lt(D.display.measure)&&(yt=ze(Be,D.doc.direction))&&(re.addToken=Hi(re.addToken,yt)),re.map=[];var Dt=P!=D.display.externalMeasured&&nt(Be);ha(Be,re,gt(D,Be,Dt)),Be.styleClasses&&(Be.styleClasses.bgClass&&(re.bgClass=N(Be.styleClasses.bgClass,re.bgClass||"")),Be.styleClasses.textClass&&(re.textClass=N(Be.styleClasses.textClass,re.textClass||""))),re.map.length==0&&re.map.push(0,0,re.content.appendChild(ft(D.display.measure))),ce==0?(P.measure.map=re.map,P.measure.cache={}):((P.measure.maps||(P.measure.maps=[])).push(re.map),(P.measure.caches||(P.measure.caches=[])).push({}))}if(a){var Kt=re.content.lastChild;(/\bcm-tab\b/.test(Kt.className)||Kt.querySelector&&Kt.querySelector(".cm-tab"))&&(re.content.className="cm-tab-wrap-hack")}return st(D,"renderLine",D,P.line,re.pre),re.pre.className&&(re.textClass=N(re.pre.className,re.textClass||"")),re}function Wi(D){var P=L("span","\u2022","cm-invalidchar");return P.title="\\u"+D.charCodeAt(0).toString(16),P.setAttribute("aria-label",P.title),P}function Co(D,P,ee,re,ce,Be,yt){if(!P)return;var Dt=D.splitSpaces?aa(P,D.trailingSpace):P,Kt=D.cm.state.specialChars,Yt=!1,Cr;if(!Kt.test(P))D.col+=P.length,Cr=document.createTextNode(Dt),D.map.push(D.pos,D.pos+P.length,Cr),u&&i<9&&(Yt=!0),D.pos+=P.length;else{Cr=document.createDocumentFragment();for(var Ur=0;;){Kt.lastIndex=Ur;var en=Kt.exec(P),nn=en?en.index-Ur:P.length-Ur;if(nn){var xn=document.createTextNode(Dt.slice(Ur,Ur+nn));u&&i<9?Cr.appendChild(L("span",[xn])):Cr.appendChild(xn),D.map.push(D.pos,D.pos+nn,xn),D.col+=nn,D.pos+=nn}if(!en)break;Ur+=nn+1;var Bn=void 0;if(en[0]==" "){var Jn=D.cm.options.tabSize,Zn=Jn-D.col%Jn;Bn=Cr.appendChild(L("span",Pe(Zn),"cm-tab")),Bn.setAttribute("role","presentation"),Bn.setAttribute("cm-text"," "),D.col+=Zn}else en[0]=="\r"||en[0]==`
`?(Bn=Cr.appendChild(L("span",en[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Bn.setAttribute("cm-text",en[0]),D.col+=1):(Bn=D.cm.options.specialCharPlaceholder(en[0]),Bn.setAttribute("cm-text",en[0]),u&&i<9?Cr.appendChild(L("span",[Bn])):Cr.appendChild(Bn),D.col+=1);D.map.push(D.pos,D.pos+1,Bn),D.pos++}}if(D.trailingSpace=Dt.charCodeAt(P.length-1)==32,ee||re||ce||Yt||Be||yt){var oi=ee||"";re&&(oi+=re),ce&&(oi+=ce);var li=L("span",[Cr],oi,Be);if(yt)for(var $e in yt)yt.hasOwnProperty($e)&&$e!="style"&&$e!="class"&&li.setAttribute($e,yt[$e]);return D.content.appendChild(li)}D.content.appendChild(Cr)}function aa(D,P){if(D.length>1&&!/ /.test(D))return D;for(var ee=P,re="",ce=0;ce<D.length;ce++){var Be=D.charAt(ce);Be==" "&&ee&&(ce==D.length-1||D.charCodeAt(ce+1)==32)&&(Be="\xA0"),re+=Be,ee=Be==" "}return re}function Hi(D,P){return function(ee,re,ce,Be,yt,Dt,Kt){ce=ce?ce+" cm-force-border":"cm-force-border";for(var Yt=ee.pos,Cr=Yt+re.length;;){for(var Ur=void 0,en=0;en<P.length&&!(Ur=P[en],Ur.to>Yt&&Ur.from<=Yt);en++);if(Ur.to>=Cr)return D(ee,re,ce,Be,yt,Dt,Kt);D(ee,re.slice(0,Ur.to-Yt),ce,Be,null,Dt,Kt),Be=null,re=re.slice(Ur.to-Yt),Yt=Ur.to}}}function ga(D,P,ee,re){var ce=!re&&ee.widgetNode;ce&&D.map.push(D.pos,D.pos+P,ce),!re&&D.cm.display.input.needsContentAttribute&&(ce||(ce=D.content.appendChild(document.createElement("span"))),ce.setAttribute("cm-marker",ee.id)),ce&&(D.cm.display.input.setUneditable(ce),D.content.appendChild(ce)),D.pos+=P,D.trailingSpace=!1}function ha(D,P,ee){var re=D.markedSpans,ce=D.text,Be=0;if(!re){for(var yt=1;yt<ee.length;yt+=2)P.addToken(P,ce.slice(Be,Be=ee[yt]),Ba(ee[yt+1],P.cm.options));return}for(var Dt=ce.length,Kt=0,Yt=1,Cr="",Ur,en,nn=0,xn,Bn,Jn,Zn,oi;;){if(nn==Kt){xn=Bn=Jn=en="",oi=null,Zn=null,nn=Infinity;for(var li=[],$e=void 0,ie=0;ie<re.length;++ie){var He=re[ie],tt=He.marker;if(tt.type=="bookmark"&&He.from==Kt&&tt.widgetNode)li.push(tt);else if(He.from<=Kt&&(He.to==null||He.to>Kt||tt.collapsed&&He.to==Kt&&He.from==Kt)){if(He.to!=null&&He.to!=Kt&&nn>He.to&&(nn=He.to,Bn=""),tt.className&&(xn+=" "+tt.className),tt.css&&(en=(en?en+";":"")+tt.css),tt.startStyle&&He.from==Kt&&(Jn+=" "+tt.startStyle),tt.endStyle&&He.to==nn&&($e||($e=[])).push(tt.endStyle,He.to),tt.title&&((oi||(oi={})).title=tt.title),tt.attributes)for(var Ot in tt.attributes)(oi||(oi={}))[Ot]=tt.attributes[Ot];tt.collapsed&&(!Zn||Yn(Zn.marker,tt)<0)&&(Zn=He)}else He.from>Kt&&nn>He.from&&(nn=He.from)}if($e)for(var tr=0;tr<$e.length;tr+=2)$e[tr+1]==nn&&(Bn+=" "+$e[tr]);if(!Zn||Zn.from==Kt)for(var vr=0;vr<li.length;++vr)ga(P,0,li[vr]);if(Zn&&(Zn.from||0)==Kt){if(ga(P,(Zn.to==null?Dt+1:Zn.to)-Kt,Zn.marker,Zn.from==null),Zn.to==null)return;Zn.to==Kt&&(Zn=!1)}}if(Kt>=Dt)break;for(var Lr=Math.min(Dt,nn);;){if(Cr){var Hr=Kt+Cr.length;if(!Zn){var zr=Hr>Lr?Cr.slice(0,Lr-Kt):Cr;P.addToken(P,zr,Ur?Ur+xn:xn,Jn,Kt+zr.length==nn?Bn:"",en,oi)}if(Hr>=Lr){Cr=Cr.slice(Lr-Kt),Kt=Lr;break}Kt=Hr,Jn=""}Cr=ce.slice(Be,Be=ee[Yt++]),Ur=Ba(ee[Yt++],P.cm.options)}}}function mo(D,P,ee){this.line=P,this.rest=Ci(P),this.size=this.rest?nt(Re(this.rest))-ee+1:1,this.node=this.text=null,this.hidden=mn(D,P)}function Fn(D,P,ee){for(var re=[],ce,Be=P;Be<ee;Be=ce){var yt=new mo(D.doc,le(D.doc,Be),Be);ce=Be+yt.size,re.push(yt)}return re}var $i=null;function eo(D){$i?$i.ops.push(D):D.ownsGroup=$i={ops:[D],delayedCallbacks:[]}}function To(D){var P=D.delayedCallbacks,ee=0;do{for(;ee<P.length;ee++)P[ee].call(null);for(var re=0;re<D.ops.length;re++){var ce=D.ops[re];if(ce.cursorActivityHandlers)for(;ce.cursorActivityCalled<ce.cursorActivityHandlers.length;)ce.cursorActivityHandlers[ce.cursorActivityCalled++].call(null,ce.cm)}}while(ee<P.length)}function co(D,P){var ee=D.ownsGroup;if(!ee)return;try{To(ee)}finally{$i=null,P(ee)}}var rr=null;function Tr(D,P){var ee=Tt(D,P);if(!ee.length)return;var re=Array.prototype.slice.call(arguments,2),ce;$i?ce=$i.delayedCallbacks:rr?ce=rr:(ce=rr=[],setTimeout(Pr,0));for(var Be=function(Kt){ce.push(function(){return ee[Kt].apply(null,re)})},yt=0;yt<ee.length;++yt)Be(yt)}function Pr(){var D=rr;rr=null;for(var P=0;P<D.length;++P)D[P]()}function Wr(D,P,ee,re){for(var ce=0;ce<P.changes.length;ce++){var Be=P.changes[ce];Be=="text"?Zt(D,P):Be=="gutter"?Or(D,P,ee,re):Be=="class"?nr(D,P):Be=="widget"&&wr(D,P,re)}P.changes=null}function hn(D){return D.node==D.text&&(D.node=L("div",null,null,"position: relative"),D.text.parentNode&&D.text.parentNode.replaceChild(D.node,D.text),D.node.appendChild(D.text),u&&i<8&&(D.node.style.zIndex=2)),D.node}function it(D,P){var ee=P.bgClass?P.bgClass+" "+(P.line.bgClass||""):P.line.bgClass;if(ee&&(ee+=" CodeMirror-linebackground"),P.background)ee?P.background.className=ee:(P.background.parentNode.removeChild(P.background),P.background=null);else if(ee){var re=hn(P);P.background=re.insertBefore(L("div",null,ee),re.firstChild),D.display.input.setUneditable(P.background)}}function jt(D,P){var ee=D.display.externalMeasured;return ee&&ee.line==P.line?(D.display.externalMeasured=null,P.measure=ee.measure,ee.built):Qa(D,P)}function Zt(D,P){var ee=P.text.className,re=jt(D,P);P.text==P.node&&(P.node=re.pre),P.text.parentNode.replaceChild(re.pre,P.text),P.text=re.pre,re.bgClass!=P.bgClass||re.textClass!=P.textClass?(P.bgClass=re.bgClass,P.textClass=re.textClass,nr(D,P)):ee&&(P.text.className=ee)}function nr(D,P){it(D,P),P.line.wrapClass?hn(P).className=P.line.wrapClass:P.node!=P.text&&(P.node.className="");var ee=P.textClass?P.textClass+" "+(P.line.textClass||""):P.line.textClass;P.text.className=ee||""}function Or(D,P,ee,re){if(P.gutter&&(P.node.removeChild(P.gutter),P.gutter=null),P.gutterBackground&&(P.node.removeChild(P.gutterBackground),P.gutterBackground=null),P.line.gutterClass){var ce=hn(P);P.gutterBackground=L("div",null,"CodeMirror-gutter-background "+P.line.gutterClass,"left: "+(D.options.fixedGutter?re.fixedPos:-re.gutterTotalWidth)+"px; width: "+re.gutterTotalWidth+"px"),D.display.input.setUneditable(P.gutterBackground),ce.insertBefore(P.gutterBackground,P.text)}var Be=P.line.gutterMarkers;if(D.options.lineNumbers||Be){var yt=hn(P),Dt=P.gutter=L("div",null,"CodeMirror-gutter-wrapper","left: "+(D.options.fixedGutter?re.fixedPos:-re.gutterTotalWidth)+"px");if(D.display.input.setUneditable(Dt),yt.insertBefore(Dt,P.text),P.line.gutterClass&&(Dt.className+=" "+P.line.gutterClass),D.options.lineNumbers&&(!Be||!Be["CodeMirror-linenumbers"])&&(P.lineNumber=Dt.appendChild(L("div",$t(D.options,ee),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+re.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+D.display.lineNumInnerWidth+"px"))),Be)for(var Kt=0;Kt<D.display.gutterSpecs.length;++Kt){var Yt=D.display.gutterSpecs[Kt].className,Cr=Be.hasOwnProperty(Yt)&&Be[Yt];Cr&&Dt.appendChild(L("div",[Cr],"CodeMirror-gutter-elt","left: "+re.gutterLeft[Yt]+"px; width: "+re.gutterWidth[Yt]+"px"))}}}function wr(D,P,ee){P.alignable&&(P.alignable=null);for(var re=_("CodeMirror-linewidget"),ce=P.node.firstChild,Be=void 0;ce;ce=Be)Be=ce.nextSibling,re.test(ce.className)&&P.node.removeChild(ce);Kr(D,P,ee)}function Er(D,P,ee,re){var ce=jt(D,P);return P.text=P.node=ce.pre,ce.bgClass&&(P.bgClass=ce.bgClass),ce.textClass&&(P.textClass=ce.textClass),nr(D,P),Or(D,P,ee,re),Kr(D,P,re),P.node}function Kr(D,P,ee){if(Zr(D,P.line,P,ee,!0),P.rest)for(var re=0;re<P.rest.length;re++)Zr(D,P.rest[re],P,ee,!1)}function Zr(D,P,ee,re,ce){if(!P.widgets)return;for(var Be=hn(ee),yt=0,Dt=P.widgets;yt<Dt.length;++yt){var Kt=Dt[yt],Yt=L("div",[Kt.node],"CodeMirror-linewidget"+(Kt.className?" "+Kt.className:""));Kt.handleMouseEvents||Yt.setAttribute("cm-ignore-events","true"),Jr(Kt,Yt,ee,re),D.display.input.setUneditable(Yt),ce&&Kt.above?Be.insertBefore(Yt,ee.gutter||ee.text):Be.appendChild(Yt),Tr(Kt,"redraw")}}function Jr(D,P,ee,re){if(D.noHScroll){(ee.alignable||(ee.alignable=[])).push(P);var ce=re.wrapperWidth;P.style.left=re.fixedPos+"px",D.coverGutter||(ce-=re.gutterTotalWidth,P.style.paddingLeft=re.gutterTotalWidth+"px"),P.style.width=ce+"px"}D.coverGutter&&(P.style.zIndex=5,P.style.position="relative",D.noHScroll||(P.style.marginLeft=-re.gutterTotalWidth+"px"))}function an(D){if(D.height!=null)return D.height;var P=D.doc.cm;if(!P)return 0;if(!U(document.body,D.node)){var ee="position: relative;";D.coverGutter&&(ee+="margin-left: -"+P.display.gutters.offsetWidth+"px;"),D.noHScroll&&(ee+="width: "+P.display.wrapper.clientWidth+"px;"),O(P.display.measure,L("div",[D.node],null,ee))}return D.height=D.node.parentNode.offsetHeight}function xt(D,P){for(var ee=Ze(P);ee!=D.wrapper;ee=ee.parentNode)if(!ee||ee.nodeType==1&&ee.getAttribute("cm-ignore-events")=="true"||ee.parentNode==D.sizer&&ee!=D.mover)return!0}function Vt(D){return D.lineSpace.offsetTop}function sr(D){return D.mover.offsetHeight-D.lineSpace.offsetHeight}function br(D){if(D.cachedPaddingH)return D.cachedPaddingH;var P=O(D.measure,L("pre","x","CodeMirror-line-like")),ee=window.getComputedStyle?window.getComputedStyle(P):P.currentStyle,re={left:parseInt(ee.paddingLeft),right:parseInt(ee.paddingRight)};return!isNaN(re.left)&&!isNaN(re.right)&&(D.cachedPaddingH=re),re}function Mr(D){return Y-D.display.nativeBarWidth}function Dr(D){return D.display.scroller.clientWidth-Mr(D)-D.display.barWidth}function rn(D){return D.display.scroller.clientHeight-Mr(D)-D.display.barHeight}function fn(D,P,ee){var re=D.options.lineWrapping,ce=re&&Dr(D);if(!P.measure.heights||re&&P.measure.width!=ce){var Be=P.measure.heights=[];if(re){P.measure.width=ce;for(var yt=P.text.firstChild.getClientRects(),Dt=0;Dt<yt.length-1;Dt++){var Kt=yt[Dt],Yt=yt[Dt+1];Math.abs(Kt.bottom-Yt.bottom)>2&&Be.push((Kt.bottom+Yt.top)/2-ee.top)}}Be.push(ee.bottom-ee.top)}}function wn(D,P,ee){if(D.line==P)return{map:D.measure.map,cache:D.measure.cache};for(var re=0;re<D.rest.length;re++)if(D.rest[re]==P)return{map:D.measure.maps[re],cache:D.measure.caches[re]};for(var ce=0;ce<D.rest.length;ce++)if(nt(D.rest[ce])>ee)return{map:D.measure.maps[ce],cache:D.measure.caches[ce],before:!0}}function Hn(D,P){P=ta(P);var ee=nt(P),re=D.display.externalMeasured=new mo(D.doc,P,ee);re.lineN=ee;var ce=re.built=Qa(D,re);return re.text=ce.pre,O(D.display.lineMeasure,ce.pre),re}function Sn(D,P,ee,re){return vn(D,Mn(D,P),ee,re)}function bn(D,P){if(P>=D.display.viewFrom&&P<D.display.viewTo)return D.display.view[la(D,P)];var ee=D.display.externalMeasured;if(ee&&P>=ee.lineN&&P<ee.lineN+ee.size)return ee}function Mn(D,P){var ee=nt(P),re=bn(D,ee);re&&!re.text?re=null:re&&re.changes&&(Wr(D,re,ee,Vi(D)),D.curOp.forceUpdate=!0),re||(re=Hn(D,P));var ce=wn(re,P,ee);return{line:P,view:re,rect:null,map:ce.map,cache:ce.cache,before:ce.before,hasHeights:!1}}function vn(D,P,ee,re,ce){P.before&&(ee=-1);var Be=ee+(re||""),yt;return P.cache.hasOwnProperty(Be)?yt=P.cache[Be]:(P.rect||(P.rect=P.view.text.getBoundingClientRect()),P.hasHeights||(fn(D,P.view,P.rect),P.hasHeights=!0),yt=Xn(D,P,ee,re),yt.bogus||(P.cache[Be]=yt)),{left:yt.left,right:yt.right,top:ce?yt.rtop:yt.top,bottom:ce?yt.rbottom:yt.bottom}}var Rn={left:0,right:0,top:0,bottom:0};function En(D,P,ee){for(var re,ce,Be,yt,Dt,Kt,Yt=0;Yt<D.length;Yt+=3)if(Dt=D[Yt],Kt=D[Yt+1],P<Dt?(ce=0,Be=1,yt="left"):P<Kt?(ce=P-Dt,Be=ce+1):(Yt==D.length-3||P==Kt&&D[Yt+3]>P)&&(Be=Kt-Dt,ce=Be-1,P>=Kt&&(yt="right")),ce!=null){if(re=D[Yt+2],Dt==Kt&&ee==(re.insertLeft?"left":"right")&&(yt=ee),ee=="left"&&ce==0)for(;Yt&&D[Yt-2]==D[Yt-3]&&D[Yt-1].insertLeft;)re=D[(Yt-=3)+2],yt="left";if(ee=="right"&&ce==Kt-Dt)for(;Yt<D.length-3&&D[Yt+3]==D[Yt+4]&&!D[Yt+5].insertLeft;)re=D[(Yt+=3)+2],yt="right";break}return{node:re,start:ce,end:Be,collapse:yt,coverStart:Dt,coverEnd:Kt}}function Ln(D,P){var ee=Rn;if(P=="left")for(var re=0;re<D.length&&!((ee=D[re]).left!=ee.right);re++);else for(var ce=D.length-1;ce>=0&&!((ee=D[ce]).left!=ee.right);ce--);return ee}function Xn(D,P,ee,re){var ce=En(P.map,ee,re),Be=ce.node,yt=ce.start,Dt=ce.end,Kt=ce.collapse,Yt;if(Be.nodeType==3){for(var Cr=0;Cr<4;Cr++){for(;yt&&oe(P.line.text.charAt(ce.coverStart+yt));)--yt;for(;ce.coverStart+Dt<ce.coverEnd&&oe(P.line.text.charAt(ce.coverStart+Dt));)++Dt;if(u&&i<9&&yt==0&&Dt==ce.coverEnd-ce.coverStart?Yt=Be.parentNode.getBoundingClientRect():Yt=Ln(F(Be,yt,Dt).getClientRects(),re),Yt.left||Yt.right||yt==0)break;Dt=yt,yt=yt-1,Kt="right"}u&&i<11&&(Yt=ai(D.display.measure,Yt))}else{yt>0&&(Kt=re="right");var Ur;D.options.lineWrapping&&(Ur=Be.getClientRects()).length>1?Yt=Ur[re=="right"?Ur.length-1:0]:Yt=Be.getBoundingClientRect()}if(u&&i<9&&!yt&&(!Yt||!Yt.left&&!Yt.right)){var en=Be.parentNode.getClientRects()[0];en?Yt={left:en.left,right:en.left+Li(D.display),top:en.top,bottom:en.bottom}:Yt=Rn}for(var nn=Yt.top-P.rect.top,xn=Yt.bottom-P.rect.top,Bn=(nn+xn)/2,Jn=P.view.measure.heights,Zn=0;Zn<Jn.length-1&&!(Bn<Jn[Zn]);Zn++);var oi=Zn?Jn[Zn-1]:0,li=Jn[Zn],$e={left:(Kt=="right"?Yt.right:Yt.left)-P.rect.left,right:(Kt=="left"?Yt.left:Yt.right)-P.rect.left,top:oi,bottom:li};return!Yt.left&&!Yt.right&&($e.bogus=!0),D.options.singleCursorHeightPerLine||($e.rtop=nn,$e.rbottom=xn),$e}function ai(D,P){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Ee(D))return P;var ee=screen.logicalXDPI/screen.deviceXDPI,re=screen.logicalYDPI/screen.deviceYDPI;return{left:P.left*ee,right:P.right*ee,top:P.top*re,bottom:P.bottom*re}}function ri(D){if(D.measure&&(D.measure.cache={},D.measure.heights=null,D.rest))for(var P=0;P<D.rest.length;P++)D.measure.caches[P]={}}function Di(D){D.display.externalMeasure=null,S(D.display.lineMeasure);for(var P=0;P<D.display.view.length;P++)ri(D.display.view[P])}function yi(D){Di(D),D.display.cachedCharWidth=D.display.cachedTextHeight=D.display.cachedPaddingH=null,D.options.lineWrapping||(D.display.maxLineChanged=!0),D.display.lineNumChars=null}function xi(){return o&&c?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function _i(){return o&&c?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Un(D){var P=0;if(D.widgets)for(var ee=0;ee<D.widgets.length;++ee)D.widgets[ee].above&&(P+=an(D.widgets[ee]));return P}function Ri(D,P,ee,re,ce){if(!ce){var Be=Un(P);ee.top+=Be,ee.bottom+=Be}if(re=="line")return ee;re||(re="local");var yt=_n(P);if(re=="local"?yt+=Vt(D.display):yt-=D.display.viewOffset,re=="page"||re=="window"){var Dt=D.display.lineSpace.getBoundingClientRect();yt+=Dt.top+(re=="window"?0:_i());var Kt=Dt.left+(re=="window"?0:xi());ee.left+=Kt,ee.right+=Kt}return ee.top+=yt,ee.bottom+=yt,ee}function fa(D,P,ee){if(ee=="div")return P;var re=P.left,ce=P.top;if(ee=="page")re-=xi(),ce-=_i();else if(ee=="local"||!ee){var Be=D.display.sizer.getBoundingClientRect();re+=Be.left,ce+=Be.top}var yt=D.display.lineSpace.getBoundingClientRect();return{left:re-yt.left,top:ce-yt.top}}function Ui(D,P,ee,re,ce){return re||(re=le(D.doc,P.line)),Ri(D,re,Sn(D,re,P.ch,ce),ee)}function Mi(D,P,ee,re,ce,Be){re=re||le(D.doc,P.line),ce||(ce=Mn(D,re));function yt(xn,Bn){var Jn=vn(D,ce,xn,Bn?"right":"left",Be);return Bn?Jn.left=Jn.right:Jn.right=Jn.left,Ri(D,re,Jn,ee)}var Dt=ze(re,D.doc.direction),Kt=P.ch,Yt=P.sticky;if(Kt>=re.text.length?(Kt=re.text.length,Yt="before"):Kt<=0&&(Kt=0,Yt="after"),!Dt)return yt(Yt=="before"?Kt-1:Kt,Yt=="before");function Cr(xn,Bn,Jn){var Zn=Dt[Bn],oi=Zn.level==1;return yt(Jn?xn-1:xn,oi!=Jn)}var Ur=ve(Dt,Kt,Yt),en=J,nn=Cr(Kt,Ur,Yt=="before");return en!=null&&(nn.other=Cr(Kt,en,Yt!="before")),nn}function mi(D,P){var ee=0;P=ht(D.doc,P),D.options.lineWrapping||(ee=Li(D.display)*P.ch);var re=le(D.doc,P.line),ce=_n(re)+Vt(D.display);return{left:ee,right:ee,top:ce,bottom:ce+re.height}}function hi(D,P,ee,re,ce){var Be=Rt(D,P,ee);return Be.xRel=ce,re&&(Be.outside=re),Be}function qi(D,P,ee){var re=D.doc;if(ee+=D.display.viewOffset,ee<0)return hi(re.first,0,null,-1,-1);var ce=At(re,ee),Be=re.first+re.size-1;if(ce>Be)return hi(re.first+re.size-1,le(re,Be).text.length,null,1,1);P<0&&(P=0);for(var yt=le(re,ce);;){var Dt=oa(D,yt,ce,P,ee),Kt=ia(yt,Dt.ch+(Dt.xRel>0||Dt.outside>0?1:0));if(!Kt)return Dt;var Yt=Kt.find(1);if(Yt.line==ce)return Yt;yt=le(re,ce=Yt.line)}}function va(D,P,ee,re){re-=Un(P);var ce=P.text.length,Be=fe(function(yt){return vn(D,ee,yt-1).bottom<=re},ce,0);return ce=fe(function(yt){return vn(D,ee,yt).top>re},Be,ce),{begin:Be,end:ce}}function Ea(D,P,ee,re){ee||(ee=Mn(D,P));var ce=Ri(D,P,vn(D,ee,re),"line").top;return va(D,P,ee,ce)}function ya(D,P,ee,re){return D.bottom<=ee?!1:D.top>ee?!0:(re?D.left:D.right)>P}function oa(D,P,ee,re,ce){ce-=_n(P);var Be=Mn(D,P),yt=Un(P),Dt=0,Kt=P.text.length,Yt=!0,Cr=ze(P,D.doc.direction);if(Cr){var Ur=(D.options.lineWrapping?Ni:sa)(D,P,ee,Be,Cr,re,ce);Yt=Ur.level!=1,Dt=Yt?Ur.from:Ur.to-1,Kt=Yt?Ur.to:Ur.from-1}var en=null,nn=null,xn=fe(function(ie){var He=vn(D,Be,ie);return He.top+=yt,He.bottom+=yt,ya(He,re,ce,!1)?(He.top<=ce&&He.left<=re&&(en=ie,nn=He),!0):!1},Dt,Kt),Bn,Jn,Zn=!1;if(nn){var oi=re-nn.left<nn.right-re,li=oi==Yt;xn=en+(li?0:1),Jn=li?"after":"before",Bn=oi?nn.left:nn.right}else{!Yt&&(xn==Kt||xn==Dt)&&xn++,Jn=xn==0?"after":xn==P.text.length?"before":vn(D,Be,xn-(Yt?1:0)).bottom+yt<=ce==Yt?"after":"before";var $e=Mi(D,Rt(ee,xn,Jn),"line",P,Be);Bn=$e.left,Zn=ce<$e.top?-1:ce>=$e.bottom?1:0}return xn=Ie(P.text,xn,1),hi(ee,xn,Jn,Zn,re-Bn)}function sa(D,P,ee,re,ce,Be,yt){var Dt=fe(function(Ur){var en=ce[Ur],nn=en.level!=1;return ya(Mi(D,Rt(ee,nn?en.to:en.from,nn?"before":"after"),"line",P,re),Be,yt,!0)},0,ce.length-1),Kt=ce[Dt];if(Dt>0){var Yt=Kt.level!=1,Cr=Mi(D,Rt(ee,Yt?Kt.from:Kt.to,Yt?"after":"before"),"line",P,re);ya(Cr,Be,yt,!0)&&Cr.top>yt&&(Kt=ce[Dt-1])}return Kt}function Ni(D,P,ee,re,ce,Be,yt){var Dt=va(D,P,re,yt),Kt=Dt.begin,Yt=Dt.end;/\s/.test(P.text.charAt(Yt-1))&&Yt--;for(var Cr=null,Ur=null,en=0;en<ce.length;en++){var nn=ce[en];if(nn.from>=Yt||nn.to<=Kt)continue;var xn=nn.level!=1,Bn=vn(D,re,xn?Math.min(Yt,nn.to)-1:Math.max(Kt,nn.from)).right,Jn=Bn<Be?Be-Bn+1e9:Bn-Be;(!Cr||Ur>Jn)&&(Cr=nn,Ur=Jn)}return Cr||(Cr=ce[ce.length-1]),Cr.from<Kt&&(Cr={from:Kt,to:Cr.to,level:Cr.level}),Cr.to>Yt&&(Cr={from:Cr.from,to:Yt,level:Cr.level}),Cr}var $n;function Ai(D){if(D.cachedTextHeight!=null)return D.cachedTextHeight;if($n==null){$n=L("pre",null,"CodeMirror-line-like");for(var P=0;P<49;++P)$n.appendChild(document.createTextNode("x")),$n.appendChild(L("br"));$n.appendChild(document.createTextNode("x"))}O(D.measure,$n);var ee=$n.offsetHeight/50;return ee>3&&(D.cachedTextHeight=ee),S(D.measure),ee||1}function Li(D){if(D.cachedCharWidth!=null)return D.cachedCharWidth;var P=L("span","xxxxxxxxxx"),ee=L("pre",[P],"CodeMirror-line-like");O(D.measure,ee);var re=P.getBoundingClientRect(),ce=(re.right-re.left)/10;return ce>2&&(D.cachedCharWidth=ce),ce||10}function Vi(D){for(var P=D.display,ee={},re={},ce=P.gutters.clientLeft,Be=P.gutters.firstChild,yt=0;Be;Be=Be.nextSibling,++yt){var Dt=D.display.gutterSpecs[yt].className;ee[Dt]=Be.offsetLeft+Be.clientLeft+ce,re[Dt]=Be.clientWidth}return{fixedPos:Xi(P),gutterTotalWidth:P.gutters.offsetWidth,gutterLeft:ee,gutterWidth:re,wrapperWidth:P.wrapper.clientWidth}}function Xi(D){return D.scroller.getBoundingClientRect().left-D.sizer.getBoundingClientRect().left}function bi(D){var P=Ai(D.display),ee=D.options.lineWrapping,re=ee&&Math.max(5,D.display.scroller.clientWidth/Li(D.display)-3);return function(ce){if(mn(D.doc,ce))return 0;var Be=0;if(ce.widgets)for(var yt=0;yt<ce.widgets.length;yt++)ce.widgets[yt].height&&(Be+=ce.widgets[yt].height);return ee?Be+(Math.ceil(ce.text.length/re)||1)*P:Be+P}}function Aa(D){var P=D.doc,ee=bi(D);P.iter(function(re){var ce=ee(re);ce!=re.height&&Ue(re,ce)})}function ua(D,P,ee,re){var ce=D.display;if(!ee&&Ze(P).getAttribute("cm-not-content")=="true")return null;var Be,yt,Dt=ce.lineSpace.getBoundingClientRect();try{Be=P.clientX-Dt.left,yt=P.clientY-Dt.top}catch(Ur){return null}var Kt=qi(D,Be,yt),Yt;if(re&&Kt.xRel>0&&(Yt=le(D.doc,Kt.line).text).length==Kt.ch){var Cr=B(Yt,Yt.length,D.options.tabSize)-Yt.length;Kt=Rt(Kt.line,Math.max(0,Math.round((Be-br(D.display).left)/Li(D.display))-Cr))}return Kt}function la(D,P){if(P>=D.display.viewTo)return null;if(P-=D.display.viewFrom,P<0)return null;for(var ee=D.display.view,re=0;re<ee.length;re++)if(P-=ee[re].size,P<0)return re}function gi(D,P,ee,re){P==null&&(P=D.doc.first),ee==null&&(ee=D.doc.first+D.doc.size),re||(re=0);var ce=D.display;if(re&&ee<ce.viewTo&&(ce.updateLineNumbers==null||ce.updateLineNumbers>P)&&(ce.updateLineNumbers=P),D.curOp.viewChanged=!0,P>=ce.viewTo)Qr&&Gn(D.doc,P)<ce.viewTo&&Ma(D);else if(ee<=ce.viewFrom)Qr&&Oa(D.doc,ee+re)>ce.viewFrom?Ma(D):(ce.viewFrom+=re,ce.viewTo+=re);else if(P<=ce.viewFrom&&ee>=ce.viewTo)Ma(D);else if(P<=ce.viewFrom){var Be=ra(D,ee,ee+re,1);Be?(ce.view=ce.view.slice(Be.index),ce.viewFrom=Be.lineN,ce.viewTo+=re):Ma(D)}else if(ee>=ce.viewTo){var yt=ra(D,P,P,-1);yt?(ce.view=ce.view.slice(0,yt.index),ce.viewTo=yt.lineN):Ma(D)}else{var Dt=ra(D,P,P,-1),Kt=ra(D,ee,ee+re,1);Dt&&Kt?(ce.view=ce.view.slice(0,Dt.index).concat(Fn(D,Dt.lineN,Kt.lineN)).concat(ce.view.slice(Kt.index)),ce.viewTo+=re):Ma(D)}var Yt=ce.externalMeasured;Yt&&(ee<Yt.lineN?Yt.lineN+=re:P<Yt.lineN+Yt.size&&(ce.externalMeasured=null))}function Pa(D,P,ee){D.curOp.viewChanged=!0;var re=D.display,ce=D.display.externalMeasured;if(ce&&P>=ce.lineN&&P<ce.lineN+ce.size&&(re.externalMeasured=null),P<re.viewFrom||P>=re.viewTo)return;var Be=re.view[la(D,P)];if(Be.node==null)return;var yt=Be.changes||(Be.changes=[]);K(yt,ee)==-1&&yt.push(ee)}function Ma(D){D.display.viewFrom=D.display.viewTo=D.doc.first,D.display.view=[],D.display.viewOffset=0}function ra(D,P,ee,re){var ce=la(D,P),Be,yt=D.display.view;if(!Qr||ee==D.doc.first+D.doc.size)return{index:ce,lineN:ee};for(var Dt=D.display.viewFrom,Kt=0;Kt<ce;Kt++)Dt+=yt[Kt].size;if(Dt!=P){if(re>0){if(ce==yt.length-1)return null;Be=Dt+yt[ce].size-P,ce++}else Be=Dt-P;P+=Be,ee+=Be}for(;Gn(D.doc,ee)!=ee;){if(ce==(re<0?0:yt.length-1))return null;ee+=re*yt[ce-(re<0?1:0)].size,ce+=re}return{index:ce,lineN:ee}}function Yi(D,P,ee){var re=D.display,ce=re.view;ce.length==0||P>=re.viewTo||ee<=re.viewFrom?(re.view=Fn(D,P,ee),re.viewFrom=P):(re.viewFrom>P?re.view=Fn(D,P,re.viewFrom).concat(re.view):re.viewFrom<P&&(re.view=re.view.slice(la(D,P))),re.viewFrom=P,re.viewTo<ee?re.view=re.view.concat(Fn(D,re.viewTo,ee)):re.viewTo>ee&&(re.view=re.view.slice(0,la(D,ee)))),re.viewTo=ee}function Xa(D){for(var P=D.display.view,ee=0,re=0;re<P.length;re++){var ce=P[re];!ce.hidden&&(!ce.node||ce.changes)&&++ee}return ee}function zi(D){D.display.input.showSelection(D.display.input.prepareSelection())}function Ki(D,P){P===void 0&&(P=!0);for(var ee=D.doc,re={},ce=re.cursors=document.createDocumentFragment(),Be=re.selection=document.createDocumentFragment(),yt=0;yt<ee.sel.ranges.length;yt++){if(!P&&yt==ee.sel.primIndex)continue;var Dt=ee.sel.ranges[yt];if(Dt.from().line>=D.display.viewTo||Dt.to().line<D.display.viewFrom)continue;var Kt=Dt.empty();(Kt||D.options.showCursorWhenSelecting)&&ba(D,Dt.head,ce),Kt||wa(D,Dt,Be)}return re}function ba(D,P,ee){var re=Mi(D,P,"div",null,null,!D.options.singleCursorHeightPerLine),ce=ee.appendChild(L("div","\xA0","CodeMirror-cursor"));if(ce.style.left=re.left+"px",ce.style.top=re.top+"px",ce.style.height=Math.max(0,re.bottom-re.top)*D.options.cursorHeight+"px",re.other){var Be=ee.appendChild(L("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));Be.style.display="",Be.style.left=re.other.left+"px",Be.style.top=re.other.top+"px",Be.style.height=(re.other.bottom-re.other.top)*.85+"px"}}function Ua(D,P){return D.top-P.top||D.left-P.left}function wa(D,P,ee){var re=D.display,ce=D.doc,Be=document.createDocumentFragment(),yt=br(D.display),Dt=yt.left,Kt=Math.max(re.sizerWidth,Dr(D)-re.sizer.offsetLeft)-yt.right,Yt=ce.direction=="ltr";function Cr(li,$e,ie,He){$e<0&&($e=0),$e=Math.round($e),He=Math.round(He),Be.appendChild(L("div",null,"CodeMirror-selected","position: absolute; left: "+li+`px;
top: `+$e+"px; width: "+(ie==null?Kt-li:ie)+`px;
height: `+(He-$e)+"px"))}function Ur(li,$e,ie){var He=le(ce,li),tt=He.text.length,Ot,tr;function vr(zr,un){return Ui(D,Rt(li,zr),"div",He,un)}function Lr(zr,un,sn){var kn=Ea(D,He,null,zr),si=un=="ltr"==(sn=="after")?"left":"right",zn=sn=="after"?kn.begin:kn.end-(/\s/.test(He.text.charAt(kn.end-1))?2:1);return vr(zn,si)[si]}var Hr=ze(He,ce.direction);return te(Hr,$e||0,ie==null?tt:ie,function(zr,un,sn,kn){var si=sn=="ltr",zn=vr(zr,si?"left":"right"),fi=vr(un-1,si?"right":"left"),da=$e==null&&zr==0,Ti=ie==null&&un==tt,na=kn==0,Ia=!Hr||kn==Hr.length-1;if(fi.top-zn.top<=3){var Pi=(Yt?da:Ti)&&na,Io=(Yt?Ti:da)&&Ia,no=Pi?Dt:(si?zn:fi).left,Ko=Io?Kt:(si?fi:zn).right;Cr(no,zn.top,Ko-no,zn.bottom)}else{var Po,Fa,Wo,fs;si?(Po=Yt&&da&&na?Dt:zn.left,Fa=Yt?Kt:Lr(zr,sn,"before"),Wo=Yt?Dt:Lr(un,sn,"after"),fs=Yt&&Ti&&Ia?Kt:fi.right):(Po=Yt?Lr(zr,sn,"before"):Dt,Fa=!Yt&&da&&na?Kt:zn.right,Wo=!Yt&&Ti&&Ia?Dt:fi.left,fs=Yt?Lr(un,sn,"after"):Kt),Cr(Po,zn.top,Fa-Po,zn.bottom),zn.bottom<fi.top&&Cr(Dt,zn.bottom,null,fi.top),Cr(Wo,fi.top,fs-Wo,fi.bottom)}(!Ot||Ua(zn,Ot)<0)&&(Ot=zn),Ua(fi,Ot)<0&&(Ot=fi),(!tr||Ua(zn,tr)<0)&&(tr=zn),Ua(fi,tr)<0&&(tr=fi)}),{start:Ot,end:tr}}var en=P.from(),nn=P.to();if(en.line==nn.line)Ur(en.line,en.ch,nn.ch);else{var xn=le(ce,en.line),Bn=le(ce,nn.line),Jn=ta(xn)==ta(Bn),Zn=Ur(en.line,en.ch,Jn?xn.text.length+1:null).end,oi=Ur(nn.line,Jn?0:null,nn.ch).start;Jn&&(Zn.top<oi.top-2?(Cr(Zn.right,Zn.top,null,Zn.bottom),Cr(Dt,oi.top,oi.left,oi.bottom)):Cr(Zn.right,Zn.top,oi.left-Zn.right,Zn.bottom)),Zn.bottom<oi.top&&Cr(Dt,Zn.bottom,null,oi.top)}ee.appendChild(Be)}function vi(D){if(!D.state.focused)return;var P=D.display;clearInterval(P.blinker);var ee=!0;P.cursorDiv.style.visibility="",D.options.cursorBlinkRate>0?P.blinker=setInterval(function(){D.hasFocus()||Oi(D),P.cursorDiv.style.visibility=(ee=!ee)?"":"hidden"},D.options.cursorBlinkRate):D.options.cursorBlinkRate<0&&(P.cursorDiv.style.visibility="hidden")}function Ya(D){D.state.focused||(D.display.input.focus(),pa(D))}function za(D){D.state.delayingBlurEvent=!0,setTimeout(function(){D.state.delayingBlurEvent&&(D.state.delayingBlurEvent=!1,Oi(D))},100)}function pa(D,P){if(D.state.delayingBlurEvent&&(D.state.delayingBlurEvent=!1),D.options.readOnly=="nocursor")return;D.state.focused||(st(D,"focus",D,P),D.state.focused=!0,W(D.display.wrapper,"CodeMirror-focused"),!D.curOp&&D.display.selForContextMenu!=D.doc.sel&&(D.display.input.reset(),a&&setTimeout(function(){return D.display.input.reset(!0)},20)),D.display.input.receivedFocus()),vi(D)}function Oi(D,P){if(D.state.delayingBlurEvent)return;D.state.focused&&(st(D,"blur",D,P),D.state.focused=!1,v(D.display.wrapper,"CodeMirror-focused")),clearInterval(D.display.blinker),setTimeout(function(){D.state.focused||(D.display.shift=!1)},150)}function So(D){for(var P=D.display,ee=P.lineDiv.offsetTop,re=0;re<P.view.length;re++){var ce=P.view[re],Be=D.options.lineWrapping,yt=void 0,Dt=0;if(ce.hidden)continue;if(u&&i<8){var Kt=ce.node.offsetTop+ce.node.offsetHeight;yt=Kt-ee,ee=Kt}else{var Yt=ce.node.getBoundingClientRect();yt=Yt.bottom-Yt.top,!Be&&ce.text.firstChild&&(Dt=ce.text.firstChild.getBoundingClientRect().right-Yt.left-1)}var Cr=ce.line.height-yt;if((Cr>.005||Cr<-.005)&&(Ue(ce.line,yt),Ka(ce.line),ce.rest))for(var Ur=0;Ur<ce.rest.length;Ur++)Ka(ce.rest[Ur]);if(Dt>D.display.sizerWidth){var en=Math.ceil(Dt/Li(D.display));en>D.display.maxLineLength&&(D.display.maxLineLength=en,D.display.maxLine=ce.line,D.display.maxLineChanged=!0)}}}function Ka(D){if(D.widgets)for(var P=0;P<D.widgets.length;++P){var ee=D.widgets[P],re=ee.node.parentNode;re&&(ee.height=re.offsetHeight)}}function ja(D,P,ee){var re=ee&&ee.top!=null?Math.max(0,ee.top):D.scroller.scrollTop;re=Math.floor(re-Vt(D));var ce=ee&&ee.bottom!=null?ee.bottom:re+D.wrapper.clientHeight,Be=At(P,re),yt=At(P,ce);if(ee&&ee.ensure){var Dt=ee.ensure.from.line,Kt=ee.ensure.to.line;Dt<Be?(Be=Dt,yt=At(P,_n(le(P,Dt))+D.wrapper.clientHeight)):Math.min(Kt,P.lastLine())>=yt&&(Be=At(P,_n(le(P,Kt))-D.wrapper.clientHeight),yt=Kt)}return{from:Be,to:Math.max(yt,Be+1)}}function qa(D,P){if(Xe(D,"scrollCursorIntoView"))return;var ee=D.display,re=ee.sizer.getBoundingClientRect(),ce=null;if(P.top+re.top<0?ce=!0:P.bottom+re.top>(window.innerHeight||document.documentElement.clientHeight)&&(ce=!1),ce!=null&&!t){var Be=L("div","\u200B",null,`position: absolute;
top: `+(P.top-ee.viewOffset-Vt(D.display))+`px;
height: `+(P.bottom-P.top+Mr(D)+ee.barHeight)+`px;
left: `+P.left+"px; width: "+Math.max(2,P.right-P.left)+"px;");D.display.lineSpace.appendChild(Be),Be.scrollIntoView(ce),D.display.lineSpace.removeChild(Be)}}function ho(D,P,ee,re){re==null&&(re=0);var ce;!D.options.lineWrapping&&P==ee&&(P=P.ch?Rt(P.line,P.sticky=="before"?P.ch-1:P.ch,"after"):P,ee=P.sticky=="before"?Rt(P.line,P.ch+1,"before"):P);for(var Be=0;Be<5;Be++){var yt=!1,Dt=Mi(D,P),Kt=!ee||ee==P?Dt:Mi(D,ee);ce={left:Math.min(Dt.left,Kt.left),top:Math.min(Dt.top,Kt.top)-re,right:Math.max(Dt.left,Kt.left),bottom:Math.max(Dt.bottom,Kt.bottom)+re};var Yt=to(D,ce),Cr=D.doc.scrollTop,Ur=D.doc.scrollLeft;if(Yt.scrollTop!=null&&(Gi(D,Yt.scrollTop),Math.abs(D.doc.scrollTop-Cr)>1&&(yt=!0)),Yt.scrollLeft!=null&&(go(D,Yt.scrollLeft),Math.abs(D.doc.scrollLeft-Ur)>1&&(yt=!0)),!yt)break}return ce}function Ca(D,P){var ee=to(D,P);ee.scrollTop!=null&&Gi(D,ee.scrollTop),ee.scrollLeft!=null&&go(D,ee.scrollLeft)}function to(D,P){var ee=D.display,re=Ai(D.display);P.top<0&&(P.top=0);var ce=D.curOp&&D.curOp.scrollTop!=null?D.curOp.scrollTop:ee.scroller.scrollTop,Be=rn(D),yt={};P.bottom-P.top>Be&&(P.bottom=P.top+Be);var Dt=D.doc.height+sr(ee),Kt=P.top<re,Yt=P.bottom>Dt-re;if(P.top<ce)yt.scrollTop=Kt?0:P.top;else if(P.bottom>ce+Be){var Cr=Math.min(P.top,(Yt?Dt:P.bottom)-Be);Cr!=ce&&(yt.scrollTop=Cr)}var Ur=D.options.fixedGutter?0:ee.gutters.offsetWidth,en=D.curOp&&D.curOp.scrollLeft!=null?D.curOp.scrollLeft:ee.scroller.scrollLeft-Ur,nn=Dr(D)-ee.gutters.offsetWidth,xn=P.right-P.left>nn;return xn&&(P.right=P.left+nn),P.left<10?yt.scrollLeft=0:P.left<en?yt.scrollLeft=Math.max(0,P.left+Ur-(xn?0:10)):P.right>nn+en-3&&(yt.scrollLeft=P.right+(xn?0:10)-nn),yt}function _o(D,P){if(P==null)return;Da(D),D.curOp.scrollTop=(D.curOp.scrollTop==null?D.doc.scrollTop:D.curOp.scrollTop)+P}function La(D){Da(D);var P=D.getCursor();D.curOp.scrollToPos={from:P,to:P,margin:D.options.cursorScrollMargin}}function ki(D,P,ee){(P!=null||ee!=null)&&Da(D),P!=null&&(D.curOp.scrollLeft=P),ee!=null&&(D.curOp.scrollTop=ee)}function Za(D,P){Da(D),D.curOp.scrollToPos=P}function Da(D){var P=D.curOp.scrollToPos;if(P){D.curOp.scrollToPos=null;var ee=mi(D,P.from),re=mi(D,P.to);pi(D,ee,re,P.margin)}}function pi(D,P,ee,re){var ce=to(D,{left:Math.min(P.left,ee.left),top:Math.min(P.top,ee.top)-re,right:Math.max(P.right,ee.right),bottom:Math.max(P.bottom,ee.bottom)+re});ki(D,ce.scrollLeft,ce.scrollTop)}function Gi(D,P){if(Math.abs(D.doc.scrollTop-P)<2)return;b||Lo(D,{top:P}),oo(D,P,!0),b&&Lo(D),ps(D,100)}function oo(D,P,ee){if(P=Math.max(0,Math.min(D.display.scroller.scrollHeight-D.display.scroller.clientHeight,P)),D.display.scroller.scrollTop==P&&!ee)return;D.doc.scrollTop=P,D.display.scrollbars.setScrollTop(P),D.display.scroller.scrollTop!=P&&(D.display.scroller.scrollTop=P)}function go(D,P,ee,re){if(P=Math.max(0,Math.min(P,D.display.scroller.scrollWidth-D.display.scroller.clientWidth)),(ee?P==D.doc.scrollLeft:Math.abs(D.doc.scrollLeft-P)<2)&&!re)return;D.doc.scrollLeft=P,ms(D),D.display.scroller.scrollLeft!=P&&(D.display.scroller.scrollLeft=P),D.display.scrollbars.setScrollLeft(P)}function fo(D){var P=D.display,ee=P.gutters.offsetWidth,re=Math.round(D.doc.height+sr(D.display));return{clientHeight:P.scroller.clientHeight,viewHeight:P.wrapper.clientHeight,scrollWidth:P.scroller.scrollWidth,clientWidth:P.scroller.clientWidth,viewWidth:P.wrapper.clientWidth,barLeft:D.options.fixedGutter?ee:0,docHeight:re,scrollHeight:re+Mr(D)+P.barHeight,nativeBarWidth:P.nativeBarWidth,gutterWidth:ee}}var Ta=function(P,ee,re){this.cm=re;var ce=this.vert=L("div",[L("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Be=this.horiz=L("div",[L("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");ce.tabIndex=Be.tabIndex=-1,P(ce),P(Be),Me(ce,"scroll",function(){ce.clientHeight&&ee(ce.scrollTop,"vertical")}),Me(Be,"scroll",function(){Be.clientWidth&&ee(Be.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,u&&i<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Ta.prototype.update=function(D){var P=D.scrollWidth>D.clientWidth+1,ee=D.scrollHeight>D.clientHeight+1,re=D.nativeBarWidth;if(ee){this.vert.style.display="block",this.vert.style.bottom=P?re+"px":"0";var ce=D.viewHeight-(P?re:0);this.vert.firstChild.style.height=Math.max(0,D.scrollHeight-D.clientHeight+ce)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(P){this.horiz.style.display="block",this.horiz.style.right=ee?re+"px":"0",this.horiz.style.left=D.barLeft+"px";var Be=D.viewWidth-D.barLeft-(ee?re:0);this.horiz.firstChild.style.width=Math.max(0,D.scrollWidth-D.clientWidth+Be)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&D.clientHeight>0&&(re==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ee?re:0,bottom:P?re:0}},Ta.prototype.setScrollLeft=function(D){this.horiz.scrollLeft!=D&&(this.horiz.scrollLeft=D),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Ta.prototype.setScrollTop=function(D){this.vert.scrollTop!=D&&(this.vert.scrollTop=D),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Ta.prototype.zeroWidthHack=function(){var D=A&&!l?"12px":"18px";this.horiz.style.height=this.vert.style.width=D,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new V,this.disableVert=new V},Ta.prototype.enableZeroWidthBar=function(D,P,ee){D.style.pointerEvents="auto";function re(){var ce=D.getBoundingClientRect(),Be=ee=="vert"?document.elementFromPoint(ce.right-1,(ce.top+ce.bottom)/2):document.elementFromPoint((ce.right+ce.left)/2,ce.bottom-1);Be!=D?D.style.pointerEvents="none":P.set(1e3,re)}P.set(1e3,re)},Ta.prototype.clear=function(){var D=this.horiz.parentNode;D.removeChild(this.horiz),D.removeChild(this.vert)};var Fi=function(){};Fi.prototype.update=function(){return{bottom:0,right:0}},Fi.prototype.setScrollLeft=function(){},Fi.prototype.setScrollTop=function(){},Fi.prototype.clear=function(){};function Ra(D,P){P||(P=fo(D));var ee=D.display.barWidth,re=D.display.barHeight;Vo(D,P);for(var ce=0;ce<4&&ee!=D.display.barWidth||re!=D.display.barHeight;ce++)ee!=D.display.barWidth&&D.options.lineWrapping&&So(D),Vo(D,fo(D)),ee=D.display.barWidth,re=D.display.barHeight}function Vo(D,P){var ee=D.display,re=ee.scrollbars.update(P);ee.sizer.style.paddingRight=(ee.barWidth=re.right)+"px",ee.sizer.style.paddingBottom=(ee.barHeight=re.bottom)+"px",ee.heightForcer.style.borderBottom=re.bottom+"px solid transparent",re.right&&re.bottom?(ee.scrollbarFiller.style.display="block",ee.scrollbarFiller.style.height=re.bottom+"px",ee.scrollbarFiller.style.width=re.right+"px"):ee.scrollbarFiller.style.display="",re.bottom&&D.options.coverGutterNextToScrollbar&&D.options.fixedGutter?(ee.gutterFiller.style.display="block",ee.gutterFiller.style.height=re.bottom+"px",ee.gutterFiller.style.width=P.gutterWidth+"px"):ee.gutterFiller.style.display=""}var ro={native:Ta,null:Fi};function vo(D){D.display.scrollbars&&(D.display.scrollbars.clear(),D.display.scrollbars.addClass&&v(D.display.wrapper,D.display.scrollbars.addClass)),D.display.scrollbars=new ro[D.options.scrollbarStyle](function(P){D.display.wrapper.insertBefore(P,D.display.scrollbarFiller),Me(P,"mousedown",function(){D.state.focused&&setTimeout(function(){return D.display.input.focus()},0)}),P.setAttribute("cm-not-content","true")},function(P,ee){ee=="horizontal"?go(D,P):Gi(D,P)},D),D.display.scrollbars.addClass&&W(D.display.wrapper,D.display.scrollbars.addClass)}var po=0;function Ji(D){D.curOp={cm:D,viewChanged:!1,startHeight:D.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++po},eo(D.curOp)}function xo(D){var P=D.curOp;P&&co(P,function(ee){for(var re=0;re<ee.ops.length;re++)ee.ops[re].cm.curOp=null;is(ee)})}function is(D){for(var P=D.ops,ee=0;ee<P.length;ee++)Zo(P[ee]);for(var re=0;re<P.length;re++)Is(P[re]);for(var ce=0;ce<P.length;ce++)Cs(P[ce]);for(var Be=0;Be<P.length;Be++)Ts(P[Be]);for(var yt=0;yt<P.length;yt++)Go(P[yt])}function Zo(D){var P=D.cm,ee=P.display;ss(P),D.updateMaxLine&&jn(P),D.mustUpdate=D.viewChanged||D.forceUpdate||D.scrollTop!=null||D.scrollToPos&&(D.scrollToPos.from.line<ee.viewFrom||D.scrollToPos.to.line>=ee.viewTo)||ee.maxLineChanged&&P.options.lineWrapping,D.update=D.mustUpdate&&new Xo(P,D.mustUpdate&&{top:D.scrollTop,ensure:D.scrollToPos},D.forceUpdate)}function Is(D){D.updatedDisplay=D.mustUpdate&&_a(D.cm,D.update)}function Cs(D){var P=D.cm,ee=P.display;D.updatedDisplay&&So(P),D.barMeasure=fo(P),ee.maxLineChanged&&!P.options.lineWrapping&&(D.adjustWidthTo=Sn(P,ee.maxLine,ee.maxLine.text.length).left+3,P.display.sizerWidth=D.adjustWidthTo,D.barMeasure.scrollWidth=Math.max(ee.scroller.clientWidth,ee.sizer.offsetLeft+D.adjustWidthTo+Mr(P)+P.display.barWidth),D.maxScrollLeft=Math.max(0,ee.sizer.offsetLeft+D.adjustWidthTo-Dr(P))),(D.updatedDisplay||D.selectionChanged)&&(D.preparedSelection=ee.input.prepareSelection())}function Ts(D){var P=D.cm;D.adjustWidthTo!=null&&(P.display.sizer.style.minWidth=D.adjustWidthTo+"px",D.maxScrollLeft<P.doc.scrollLeft&&go(P,Math.min(P.display.scroller.scrollLeft,D.maxScrollLeft),!0),P.display.maxLineChanged=!1);var ee=D.focus&&D.focus==z();D.preparedSelection&&P.display.input.showSelection(D.preparedSelection,ee),(D.updatedDisplay||D.startHeight!=P.doc.height)&&Ra(P,D.barMeasure),D.updatedDisplay&&rs(P,D.barMeasure),D.selectionChanged&&vi(P),P.state.focused&&D.updateInput&&P.display.input.reset(D.typing),ee&&Ya(D.cm)}function Go(D){var P=D.cm,ee=P.display,re=P.doc;if(D.updatedDisplay&&Oo(P,D.update),ee.wheelStartX!=null&&(D.scrollTop!=null||D.scrollLeft!=null||D.scrollToPos)&&(ee.wheelStartX=ee.wheelStartY=null),D.scrollTop!=null&&oo(P,D.scrollTop,D.forceScroll),D.scrollLeft!=null&&go(P,D.scrollLeft,!0,!0),D.scrollToPos){var ce=ho(P,ht(re,D.scrollToPos.from),ht(re,D.scrollToPos.to),D.scrollToPos.margin);qa(P,ce)}var Be=D.maybeHiddenMarkers,yt=D.maybeUnhiddenMarkers;if(Be)for(var Dt=0;Dt<Be.length;++Dt)Be[Dt].lines.length||st(Be[Dt],"hide");if(yt)for(var Kt=0;Kt<yt.length;++Kt)yt[Kt].lines.length&&st(yt[Kt],"unhide");ee.wrapper.offsetHeight&&(re.scrollTop=P.display.scroller.scrollTop),D.changeObjs&&st(P,"changes",P,D.changeObjs),D.update&&D.update.finish()}function bo(D,P){if(D.curOp)return P();Ji(D);try{return P()}finally{xo(D)}}function Ja(D,P){return function(){if(D.curOp)return P.apply(D,arguments);Ji(D);try{return P.apply(D,arguments)}finally{xo(D)}}}function Ga(D){return function(){if(this.curOp)return D.apply(this,arguments);Ji(this);try{return D.apply(this,arguments)}finally{xo(this)}}}function so(D){return function(){var P=this.cm;if(!P||P.curOp)return D.apply(this,arguments);Ji(P);try{return D.apply(this,arguments)}finally{xo(P)}}}function ps(D,P){D.doc.highlightFrontier<D.display.viewTo&&D.state.highlight.set(P,j(Sr,D))}function Sr(D){var P=D.doc;if(P.highlightFrontier>=D.display.viewTo)return;var ee=+new Date+D.options.workTime,re=Ht(D,P.highlightFrontier),ce=[];P.iter(re.line,Math.min(P.first+P.size,D.display.viewTo+500),function(Be){if(re.line>=D.display.viewFrom){var yt=Be.styles,Dt=Be.text.length>D.options.maxHighlightLength?It(P.mode,re.state):null,Kt=_t(D,Be,re,!0);Dt&&(re.state=Dt),Be.styles=Kt.styles;var Yt=Be.styleClasses,Cr=Kt.classes;Cr?Be.styleClasses=Cr:Yt&&(Be.styleClasses=null);for(var Ur=!yt||yt.length!=Be.styles.length||Yt!=Cr&&(!Yt||!Cr||Yt.bgClass!=Cr.bgClass||Yt.textClass!=Cr.textClass),en=0;!Ur&&en<yt.length;++en)Ur=yt[en]!=Be.styles[en];Ur&&ce.push(re.line),Be.stateAfter=re.save(),re.nextLine()}else Be.text.length<=D.options.maxHighlightLength&&kt(D,Be.text,re),Be.stateAfter=re.line%5==0?re.save():null,re.nextLine();if(+new Date>ee)return ps(D,D.options.workDelay),!0}),P.highlightFrontier=re.line,P.modeFrontier=Math.max(P.modeFrontier,re.line),ce.length&&bo(D,function(){for(var Be=0;Be<ce.length;Be++)Pa(D,ce[Be],"text")})}var Xo=function(P,ee,re){var ce=P.display;this.viewport=ee,this.visible=ja(ce,P.doc,ee),this.editorIsHidden=!ce.wrapper.offsetWidth,this.wrapperHeight=ce.wrapper.clientHeight,this.wrapperWidth=ce.wrapper.clientWidth,this.oldDisplayWidth=Dr(P),this.force=re,this.dims=Vi(P),this.events=[]};Xo.prototype.signal=function(D,P){et(D,P)&&this.events.push(arguments)},Xo.prototype.finish=function(){for(var D=0;D<this.events.length;D++)st.apply(null,this.events[D])};function ss(D){var P=D.display;!P.scrollbarsClipped&&P.scroller.offsetWidth&&(P.nativeBarWidth=P.scroller.offsetWidth-P.scroller.clientWidth,P.heightForcer.style.height=Mr(D)+"px",P.sizer.style.marginBottom=-P.nativeBarWidth+"px",P.sizer.style.borderRightWidth=Mr(D)+"px",P.scrollbarsClipped=!0)}function _s(D){if(D.hasFocus())return null;var P=z();if(!P||!U(D.display.lineDiv,P))return null;var ee={activeElt:P};if(window.getSelection){var re=window.getSelection();re.anchorNode&&re.extend&&U(D.display.lineDiv,re.anchorNode)&&(ee.anchorNode=re.anchorNode,ee.anchorOffset=re.anchorOffset,ee.focusNode=re.focusNode,ee.focusOffset=re.focusOffset)}return ee}function ka(D){if(!D||!D.activeElt||D.activeElt==z())return;if(D.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(D.activeElt.nodeName)&&D.anchorNode&&U(document.body,D.anchorNode)&&U(document.body,D.focusNode)){var P=window.getSelection(),ee=document.createRange();ee.setEnd(D.anchorNode,D.anchorOffset),ee.collapse(!1),P.removeAllRanges(),P.addRange(ee),P.extend(D.focusNode,D.focusOffset)}}function _a(D,P){var ee=D.display,re=D.doc;if(P.editorIsHidden)return Ma(D),!1;if(!P.force&&P.visible.from>=ee.viewFrom&&P.visible.to<=ee.viewTo&&(ee.updateLineNumbers==null||ee.updateLineNumbers>=ee.viewTo)&&ee.renderedView==ee.view&&Xa(D)==0)return!1;ls(D)&&(Ma(D),P.dims=Vi(D));var ce=re.first+re.size,Be=Math.max(P.visible.from-D.options.viewportMargin,re.first),yt=Math.min(ce,P.visible.to+D.options.viewportMargin);ee.viewFrom<Be&&Be-ee.viewFrom<20&&(Be=Math.max(re.first,ee.viewFrom)),ee.viewTo>yt&&ee.viewTo-yt<20&&(yt=Math.min(ce,ee.viewTo)),Qr&&(Be=Gn(D.doc,Be),yt=Oa(D.doc,yt));var Dt=Be!=ee.viewFrom||yt!=ee.viewTo||ee.lastWrapHeight!=P.wrapperHeight||ee.lastWrapWidth!=P.wrapperWidth;Yi(D,Be,yt),ee.viewOffset=_n(le(D.doc,ee.viewFrom)),D.display.mover.style.top=ee.viewOffset+"px";var Kt=Xa(D);if(!Dt&&Kt==0&&!P.force&&ee.renderedView==ee.view&&(ee.updateLineNumbers==null||ee.updateLineNumbers>=ee.viewTo))return!1;var Yt=_s(D);return Kt>4&&(ee.lineDiv.style.display="none"),ts(D,ee.updateLineNumbers,P.dims),Kt>4&&(ee.lineDiv.style.display=""),ee.renderedView=ee.view,ka(Yt),S(ee.cursorDiv),S(ee.selectionDiv),ee.gutters.style.height=ee.sizer.style.minHeight=0,Dt&&(ee.lastWrapHeight=P.wrapperHeight,ee.lastWrapWidth=P.wrapperWidth,ps(D,400)),ee.updateLineNumbers=null,!0}function Oo(D,P){for(var ee=P.viewport,re=!0;;re=!1){if(!re||!D.options.lineWrapping||P.oldDisplayWidth==Dr(D)){if(ee&&ee.top!=null&&(ee={top:Math.min(D.doc.height+sr(D.display)-rn(D),ee.top)}),P.visible=ja(D.display,D.doc,ee),P.visible.from>=D.display.viewFrom&&P.visible.to<=D.display.viewTo)break}else re&&(P.visible=ja(D.display,D.doc,ee));if(!_a(D,P))break;So(D);var ce=fo(D);zi(D),Ra(D,ce),rs(D,ce),P.force=!1}P.signal(D,"update",D),(D.display.viewFrom!=D.display.reportedViewFrom||D.display.viewTo!=D.display.reportedViewTo)&&(P.signal(D,"viewportChange",D,D.display.viewFrom,D.display.viewTo),D.display.reportedViewFrom=D.display.viewFrom,D.display.reportedViewTo=D.display.viewTo)}function Lo(D,P){var ee=new Xo(D,P);if(_a(D,ee)){So(D),Oo(D,ee);var re=fo(D);zi(D),Ra(D,re),rs(D,re),ee.finish()}}function ts(D,P,ee){var re=D.display,ce=D.options.lineNumbers,Be=re.lineDiv,yt=Be.firstChild;function Dt(xn){var Bn=xn.nextSibling;return a&&A&&D.display.currentWheelTarget==xn?xn.style.display="none":xn.parentNode.removeChild(xn),Bn}for(var Kt=re.view,Yt=re.viewFrom,Cr=0;Cr<Kt.length;Cr++){var Ur=Kt[Cr];if(!Ur.hidden)if(!Ur.node||Ur.node.parentNode!=Be){var en=Er(D,Ur,Yt,ee);Be.insertBefore(en,yt)}else{for(;yt!=Ur.node;)yt=Dt(yt);var nn=ce&&P!=null&&P<=Yt&&Ur.lineNumber;Ur.changes&&(K(Ur.changes,"gutter")>-1&&(nn=!1),Wr(D,Ur,Yt,ee)),nn&&(S(Ur.lineNumber),Ur.lineNumber.appendChild(document.createTextNode($t(D.options,Yt)))),yt=Ur.node.nextSibling}Yt+=Ur.size}for(;yt;)yt=Dt(yt)}function Bo(D){var P=D.gutters.offsetWidth;D.sizer.style.marginLeft=P+"px"}function rs(D,P){D.display.sizer.style.minHeight=P.docHeight+"px",D.display.heightForcer.style.top=P.docHeight+"px",D.display.gutters.style.height=P.docHeight+D.display.barHeight+Mr(D)+"px"}function ms(D){var P=D.display,ee=P.view;if(!P.alignWidgets&&(!P.gutters.firstChild||!D.options.fixedGutter))return;for(var re=Xi(P)-P.scroller.scrollLeft+D.doc.scrollLeft,ce=P.gutters.offsetWidth,Be=re+"px",yt=0;yt<ee.length;yt++)if(!ee[yt].hidden){D.options.fixedGutter&&(ee[yt].gutter&&(ee[yt].gutter.style.left=Be),ee[yt].gutterBackground&&(ee[yt].gutterBackground.style.left=Be));var Dt=ee[yt].alignable;if(Dt)for(var Kt=0;Kt<Dt.length;Kt++)Dt[Kt].style.left=Be}D.options.fixedGutter&&(P.gutters.style.left=re+ce+"px")}function ls(D){if(!D.options.lineNumbers)return!1;var P=D.doc,ee=$t(D.options,P.first+P.size-1),re=D.display;if(ee.length!=re.lineNumChars){var ce=re.measure.appendChild(L("div",[L("div",ee)],"CodeMirror-linenumber CodeMirror-gutter-elt")),Be=ce.firstChild.offsetWidth,yt=ce.offsetWidth-Be;return re.lineGutter.style.width="",re.lineNumInnerWidth=Math.max(Be,re.lineGutter.offsetWidth-yt)+1,re.lineNumWidth=re.lineNumInnerWidth+yt,re.lineNumChars=re.lineNumInnerWidth?ee.length:-1,re.lineGutter.style.width=re.lineNumWidth+"px",Bo(D.display),!0}return!1}function Ns(D,P){for(var ee=[],re=!1,ce=0;ce<D.length;ce++){var Be=D[ce],yt=null;if(typeof Be!="string"&&(yt=Be.style,Be=Be.className),Be=="CodeMirror-linenumbers")if(P)re=!0;else continue;ee.push({className:Be,style:yt})}return P&&!re&&ee.push({className:"CodeMirror-linenumbers",style:null}),ee}function Ds(D){var P=D.gutters,ee=D.gutterSpecs;S(P),D.lineGutter=null;for(var re=0;re<ee.length;++re){var ce=ee[re],Be=ce.className,yt=ce.style,Dt=P.appendChild(L("div",null,"CodeMirror-gutter "+Be));yt&&(Dt.style.cssText=yt),Be=="CodeMirror-linenumbers"&&(D.lineGutter=Dt,Dt.style.width=(D.lineNumWidth||1)+"px")}P.style.display=ee.length?"":"none",Bo(D)}function as(D){Ds(D.display),gi(D),ms(D)}function $s(D,P,ee,re){var ce=this;this.input=ee,ce.scrollbarFiller=L("div",null,"CodeMirror-scrollbar-filler"),ce.scrollbarFiller.setAttribute("cm-not-content","true"),ce.gutterFiller=L("div",null,"CodeMirror-gutter-filler"),ce.gutterFiller.setAttribute("cm-not-content","true"),ce.lineDiv=M("div",null,"CodeMirror-code"),ce.selectionDiv=L("div",null,null,"position: relative; z-index: 1"),ce.cursorDiv=L("div",null,"CodeMirror-cursors"),ce.measure=L("div",null,"CodeMirror-measure"),ce.lineMeasure=L("div",null,"CodeMirror-measure"),ce.lineSpace=M("div",[ce.measure,ce.lineMeasure,ce.selectionDiv,ce.cursorDiv,ce.lineDiv],null,"position: relative; outline: none");var Be=M("div",[ce.lineSpace],"CodeMirror-lines");ce.mover=L("div",[Be],null,"position: relative"),ce.sizer=L("div",[ce.mover],"CodeMirror-sizer"),ce.sizerWidth=null,ce.heightForcer=L("div",null,null,"position: absolute; height: "+Y+"px; width: 1px;"),ce.gutters=L("div",null,"CodeMirror-gutters"),ce.lineGutter=null,ce.scroller=L("div",[ce.sizer,ce.heightForcer,ce.gutters],"CodeMirror-scroll"),ce.scroller.setAttribute("tabIndex","-1"),ce.wrapper=L("div",[ce.scrollbarFiller,ce.gutterFiller,ce.scroller],"CodeMirror"),u&&i<8&&(ce.gutters.style.zIndex=-1,ce.scroller.style.paddingRight=0),!a&&!(b&&p)&&(ce.scroller.draggable=!0),D&&(D.appendChild?D.appendChild(ce.wrapper):D(ce.wrapper)),ce.viewFrom=ce.viewTo=P.first,ce.reportedViewFrom=ce.reportedViewTo=P.first,ce.view=[],ce.renderedView=null,ce.externalMeasured=null,ce.viewOffset=0,ce.lastWrapHeight=ce.lastWrapWidth=0,ce.updateLineNumbers=null,ce.nativeBarWidth=ce.barHeight=ce.barWidth=0,ce.scrollbarsClipped=!1,ce.lineNumWidth=ce.lineNumInnerWidth=ce.lineNumChars=null,ce.alignWidgets=!1,ce.cachedCharWidth=ce.cachedTextHeight=ce.cachedPaddingH=null,ce.maxLine=null,ce.maxLineLength=0,ce.maxLineChanged=!1,ce.wheelDX=ce.wheelDY=ce.wheelStartX=ce.wheelStartY=null,ce.shift=!1,ce.selForContextMenu=null,ce.activeTouch=null,ce.gutterSpecs=Ns(re.gutters,re.lineNumbers),Ds(ce),ee.init(ce)}var us=0,Mo=null;u?Mo=-.53:b?Mo=15:o?Mo=-.7:n&&(Mo=-1/3);function Dn(D){var P=D.wheelDeltaX,ee=D.wheelDeltaY;return P==null&&D.detail&&D.axis==D.HORIZONTAL_AXIS&&(P=D.detail),ee==null&&D.detail&&D.axis==D.VERTICAL_AXIS?ee=D.detail:ee==null&&(ee=D.wheelDelta),{x:P,y:ee}}function Vs(D){var P=Dn(D);return P.x*=Mo,P.y*=Mo,P}function Os(D,P){var ee=Dn(P),re=ee.x,ce=ee.y,Be=D.display,yt=Be.scroller,Dt=yt.scrollWidth>yt.clientWidth,Kt=yt.scrollHeight>yt.clientHeight;if(!(re&&Dt||ce&&Kt))return;if(ce&&A&&a){e:for(var Yt=P.target,Cr=Be.view;Yt!=yt;Yt=Yt.parentNode)for(var Ur=0;Ur<Cr.length;Ur++)if(Cr[Ur].node==Yt){D.display.currentWheelTarget=Yt;break e}}if(re&&!b&&!d&&Mo!=null){ce&&Kt&&Gi(D,Math.max(0,yt.scrollTop+ce*Mo)),go(D,Math.max(0,yt.scrollLeft+re*Mo)),(!ce||ce&&Kt)&&Ve(P),Be.wheelStartX=null;return}if(ce&&Mo!=null){var en=ce*Mo,nn=D.doc.scrollTop,xn=nn+Be.wrapper.clientHeight;en<0?nn=Math.max(0,nn+en-50):xn=Math.min(D.doc.height,xn+en+50),Lo(D,{top:nn,bottom:xn})}us<20&&(Be.wheelStartX==null?(Be.wheelStartX=yt.scrollLeft,Be.wheelStartY=yt.scrollTop,Be.wheelDX=re,Be.wheelDY=ce,setTimeout(function(){if(Be.wheelStartX==null)return;var Bn=yt.scrollLeft-Be.wheelStartX,Jn=yt.scrollTop-Be.wheelStartY,Zn=Jn&&Be.wheelDY&&Jn/Be.wheelDY||Bn&&Be.wheelDX&&Bn/Be.wheelDX;if(Be.wheelStartX=Be.wheelStartY=null,!Zn)return;Mo=(Mo*us+Zn)/(us+1),++us},200)):(Be.wheelDX+=re,Be.wheelDY+=ce))}var Pt=function(P,ee){this.ranges=P,this.primIndex=ee};Pt.prototype.primary=function(){return this.ranges[this.primIndex]},Pt.prototype.equals=function(D){if(D==this)return!0;if(D.primIndex!=this.primIndex||D.ranges.length!=this.ranges.length)return!1;for(var P=0;P<this.ranges.length;P++){var ee=this.ranges[P],re=D.ranges[P];if(!Gt(ee.anchor,re.anchor)||!Gt(ee.head,re.head))return!1}return!0},Pt.prototype.deepCopy=function(){for(var D=[],P=0;P<this.ranges.length;P++)D[P]=new me(Qt(this.ranges[P].anchor),Qt(this.ranges[P].head));return new Pt(D,this.primIndex)},Pt.prototype.somethingSelected=function(){for(var D=0;D<this.ranges.length;D++)if(!this.ranges[D].empty())return!0;return!1},Pt.prototype.contains=function(D,P){P||(P=D);for(var ee=0;ee<this.ranges.length;ee++){var re=this.ranges[ee];if(zt(P,re.from())>=0&&zt(D,re.to())<=0)return ee}return-1};var me=function(P,ee){this.anchor=P,this.head=ee};me.prototype.from=function(){return dr(this.anchor,this.head)},me.prototype.to=function(){return Mt(this.anchor,this.head)},me.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Le(D,P,ee){var re=D&&D.options.selectionsMayTouch,ce=P[ee];P.sort(function(en,nn){return zt(en.from(),nn.from())}),ee=K(P,ce);for(var Be=1;Be<P.length;Be++){var yt=P[Be],Dt=P[Be-1],Kt=zt(Dt.to(),yt.from());if(re&&!yt.empty()?Kt>0:Kt>=0){var Yt=dr(Dt.from(),yt.from()),Cr=Mt(Dt.to(),yt.to()),Ur=Dt.empty()?yt.from()==yt.head:Dt.from()==Dt.head;Be<=ee&&--ee,P.splice(--Be,2,new me(Ur?Cr:Yt,Ur?Yt:Cr))}}return new Pt(P,ee)}function Ne(D,P){return new Pt([new me(D,P||D)],0)}function Qe(D){return D.text?Rt(D.from.line+D.text.length-1,Re(D.text).length+(D.text.length==1?D.from.ch:0)):D.to}function Ct(D,P){if(zt(D,P.from)<0)return D;if(zt(D,P.to)<=0)return Qe(P);var ee=D.line+P.text.length-(P.to.line-P.from.line)-1,re=D.ch;return D.line==P.to.line&&(re+=Qe(P).ch-P.to.ch),Rt(ee,re)}function Ut(D,P){for(var ee=[],re=0;re<D.sel.ranges.length;re++){var ce=D.sel.ranges[re];ee.push(new me(Ct(ce.anchor,P),Ct(ce.head,P)))}return Le(D.cm,ee,D.sel.primIndex)}function hr(D,P,ee){return D.line==P.line?Rt(ee.line,D.ch-P.ch+ee.ch):Rt(ee.line+(D.line-P.line),D.ch)}function gr(D,P,ee){for(var re=[],ce=Rt(D.first,0),Be=ce,yt=0;yt<P.length;yt++){var Dt=P[yt],Kt=hr(Dt.from,ce,Be),Yt=hr(Qe(Dt),ce,Be);if(ce=Dt.to,Be=Yt,ee=="around"){var Cr=D.sel.ranges[yt],Ur=zt(Cr.head,Cr.anchor)<0;re[yt]=new me(Ur?Yt:Kt,Ur?Kt:Yt)}else re[yt]=new me(Kt,Kt)}return new Pt(re,D.sel.primIndex)}function Rr(D){D.doc.mode=Ke(D.options,D.doc.modeOption),$r(D)}function $r(D){D.doc.iter(function(P){P.stateAfter&&(P.stateAfter=null),P.styles&&(P.styles=null)}),D.doc.modeFrontier=D.doc.highlightFrontier=D.doc.first,ps(D,100),D.state.modeGen++,D.curOp&&gi(D)}function ln(D,P){return P.from.ch==0&&P.to.ch==0&&Re(P.text)==""&&(!D.cm||D.cm.options.wholeLineUpdateBefore)}function yn(D,P,ee,re){function ce(oi){return ee?ee[oi]:null}function Be(oi,li,$e){di(oi,li,$e,re),Tr(oi,"change",oi,P)}function yt(oi,li){for(var $e=[],ie=oi;ie<li;++ie)$e.push(new ni(Yt[ie],ce(ie),re));return $e}var Dt=P.from,Kt=P.to,Yt=P.text,Cr=le(D,Dt.line),Ur=le(D,Kt.line),en=Re(Yt),nn=ce(Yt.length-1),xn=Kt.line-Dt.line;if(P.full)D.insert(0,yt(0,Yt.length)),D.remove(Yt.length,D.size-Yt.length);else if(ln(D,P)){var Bn=yt(0,Yt.length-1);Be(Ur,Ur.text,nn),xn&&D.remove(Dt.line,xn),Bn.length&&D.insert(Dt.line,Bn)}else if(Cr==Ur)if(Yt.length==1)Be(Cr,Cr.text.slice(0,Dt.ch)+en+Cr.text.slice(Kt.ch),nn);else{var Jn=yt(1,Yt.length-1);Jn.push(new ni(en+Cr.text.slice(Kt.ch),nn,re)),Be(Cr,Cr.text.slice(0,Dt.ch)+Yt[0],ce(0)),D.insert(Dt.line+1,Jn)}else if(Yt.length==1)Be(Cr,Cr.text.slice(0,Dt.ch)+Yt[0]+Ur.text.slice(Kt.ch),ce(0)),D.remove(Dt.line+1,xn);else{Be(Cr,Cr.text.slice(0,Dt.ch)+Yt[0],ce(0)),Be(Ur,en+Ur.text.slice(Kt.ch),nn);var Zn=yt(1,Yt.length-1);xn>1&&D.remove(Dt.line+1,xn-1),D.insert(Dt.line+1,Zn)}Tr(D,"change",D,P)}function Cn(D,P,ee){function re(ce,Be,yt){if(ce.linked)for(var Dt=0;Dt<ce.linked.length;++Dt){var Kt=ce.linked[Dt];if(Kt.doc==Be)continue;var Yt=yt&&Kt.sharedHist;if(ee&&!Yt)continue;P(Kt.doc,Yt),re(Kt.doc,ce,Yt)}}re(D,null,!0)}function Qn(D,P){if(P.cm)throw new Error("This document is already in use.");D.doc=P,P.cm=D,Aa(D),Rr(D),ti(D),D.options.lineWrapping||jn(D),D.options.mode=P.modeOption,gi(D)}function ti(D){(D.doc.direction=="rtl"?W:v)(D.display.lineDiv,"CodeMirror-rtl")}function wi(D){bo(D,function(){ti(D),gi(D)})}function ea(D){this.done=[],this.undone=[],this.undoDepth=Infinity,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=D||1}function ji(D,P){var ee={from:Qt(P.from),to:Qe(P),text:Oe(D,P.from,P.to)};return ko(D,ee,P.from.line,P.to.line+1),Cn(D,function(re){return ko(re,ee,P.from.line,P.to.line+1)},!0),ee}function Sa(D){for(;D.length;){var P=Re(D);if(P.ranges)D.pop();else break}}function lo(D,P){if(P)return Sa(D.done),Re(D.done);if(D.done.length&&!Re(D.done).ranges)return Re(D.done);if(D.done.length>1&&!D.done[D.done.length-2].ranges)return D.done.pop(),Re(D.done)}function Wa(D,P,ee,re){var ce=D.history;ce.undone.length=0;var Be=+new Date,yt,Dt;if((ce.lastOp==re||ce.lastOrigin==P.origin&&P.origin&&(P.origin.charAt(0)=="+"&&ce.lastModTime>Be-(D.cm?D.cm.options.historyEventDelay:500)||P.origin.charAt(0)=="*"))&&(yt=lo(ce,ce.lastOp==re)))Dt=Re(yt.changes),zt(P.from,P.to)==0&&zt(P.from,Dt.to)==0?Dt.to=Qe(P):yt.changes.push(ji(D,P));else{var Kt=Re(ce.done);for((!Kt||!Kt.ranges)&&$a(D.sel,ce.done),yt={changes:[ji(D,P)],generation:ce.generation},ce.done.push(yt);ce.done.length>ce.undoDepth;)ce.done.shift(),ce.done[0].ranges||ce.done.shift()}ce.done.push(ee),ce.generation=++ce.maxGeneration,ce.lastModTime=ce.lastSelTime=Be,ce.lastOp=ce.lastSelOp=re,ce.lastOrigin=ce.lastSelOrigin=P.origin,Dt||st(D,"historyAdded")}function yo(D,P,ee,re){var ce=P.charAt(0);return ce=="*"||ce=="+"&&ee.ranges.length==re.ranges.length&&ee.somethingSelected()==re.somethingSelected()&&new Date-D.history.lastSelTime<=(D.cm?D.cm.options.historyEventDelay:500)}function Ao(D,P,ee,re){var ce=D.history,Be=re&&re.origin;ee==ce.lastSelOp||Be&&ce.lastSelOrigin==Be&&(ce.lastModTime==ce.lastSelTime&&ce.lastOrigin==Be||yo(D,Be,Re(ce.done),P))?ce.done[ce.done.length-1]=P:$a(P,ce.done),ce.lastSelTime=+new Date,ce.lastSelOrigin=Be,ce.lastSelOp=ee,re&&re.clearRedo!==!1&&Sa(ce.undone)}function $a(D,P){var ee=Re(P);ee&&ee.ranges&&ee.equals(D)||P.push(D)}function ko(D,P,ee,re){var ce=P["spans_"+D.id],Be=0;D.iter(Math.max(D.first,ee),Math.min(D.first+D.size,re),function(yt){yt.markedSpans&&((ce||(ce=P["spans_"+D.id]={}))[Be]=yt.markedSpans),++Be})}function No(D){if(!D)return null;for(var P,ee=0;ee<D.length;++ee)D[ee].marker.explicitlyCleared?P||(P=D.slice(0,ee)):P&&P.push(D[ee]);return P?P.length?P:null:D}function Ha(D,P){var ee=P["spans_"+D.id];if(!ee)return null;for(var re=[],ce=0;ce<P.text.length;++ce)re.push(No(ee[ce]));return re}function jo(D,P){var ee=Ha(D,P),re=Nn(D,P);if(!ee)return re;if(!re)return ee;for(var ce=0;ce<ee.length;++ce){var Be=ee[ce],yt=re[ce];if(Be&&yt){e:for(var Dt=0;Dt<yt.length;++Dt){for(var Kt=yt[Dt],Yt=0;Yt<Be.length;++Yt)if(Be[Yt].marker==Kt.marker)continue e;Be.push(Kt)}}else yt&&(ee[ce]=yt)}return ee}function Fo(D,P,ee){for(var re=[],ce=0;ce<D.length;++ce){var Be=D[ce];if(Be.ranges){re.push(ee?Pt.prototype.deepCopy.call(Be):Be);continue}var yt=Be.changes,Dt=[];re.push({changes:Dt});for(var Kt=0;Kt<yt.length;++Kt){var Yt=yt[Kt],Cr=void 0;if(Dt.push({from:Yt.from,to:Yt.to,text:Yt.text}),P)for(var Ur in Yt)(Cr=Ur.match(/^spans_(\d+)$/))&&(K(P,Number(Cr[1]))>-1&&(Re(Dt)[Ur]=Yt[Ur],delete Yt[Ur]))}}return re}function Qo(D,P,ee,re){if(re){var ce=D.anchor;if(ee){var Be=zt(P,ce)<0;Be!=zt(ee,ce)<0?(ce=P,P=ee):Be!=zt(P,ee)<0&&(P=ee)}return new me(ce,P)}else return new me(ee||P,P)}function wo(D,P,ee,re,ce){ce==null&&(ce=D.cm&&(D.cm.display.shift||D.extend)),Eo(D,new Pt([Qo(D.sel.primary(),P,ee,ce)],0),re)}function cs(D,P,ee){for(var re=[],ce=D.cm&&(D.cm.display.shift||D.extend),Be=0;Be<D.sel.ranges.length;Be++)re[Be]=Qo(D.sel.ranges[Be],P[Be],null,ce);var yt=Le(D.cm,re,D.sel.primIndex);Eo(D,yt,ee)}function ns(D,P,ee,re){var ce=D.sel.ranges.slice(0);ce[P]=ee,Eo(D,Le(D.cm,ce,D.sel.primIndex),re)}function Xs(D,P,ee,re){Eo(D,Ne(P,ee),re)}function Ys(D,P,ee){var re={ranges:P.ranges,update:function(Be){this.ranges=[];for(var yt=0;yt<Be.length;yt++)this.ranges[yt]=new me(ht(D,Be[yt].anchor),ht(D,Be[yt].head))},origin:ee&&ee.origin};return st(D,"beforeSelectionChange",D,re),D.cm&&st(D.cm,"beforeSelectionChange",D.cm,re),re.ranges!=P.ranges?Le(D.cm,re.ranges,re.ranges.length-1):P}function Yo(D,P,ee){var re=D.history.done,ce=Re(re);ce&&ce.ranges?(re[re.length-1]=P,ds(D,P,ee)):Eo(D,P,ee)}function Eo(D,P,ee){ds(D,P,ee),Ao(D,D.sel,D.cm?D.cm.curOp.id:NaN,ee)}function ds(D,P,ee){(et(D,"beforeSelectionChange")||D.cm&&et(D.cm,"beforeSelectionChange"))&&(P=Ys(D,P,ee));var re=ee&&ee.bias||(zt(P.primary().head,D.sel.primary().head)<0?-1:1);hs(D,Do(D,P,re,!0)),!(ee&&ee.scroll===!1)&&D.cm&&La(D.cm)}function hs(D,P){if(P.equals(D.sel))return;D.sel=P,D.cm&&(D.cm.curOp.updateInput=1,D.cm.curOp.selectionChanged=!0,Je(D.cm)),Tr(D,"cursorActivity",D)}function Rs(D){hs(D,Do(D,D.sel,null,!1))}function Do(D,P,ee,re){for(var ce,Be=0;Be<P.ranges.length;Be++){var yt=P.ranges[Be],Dt=P.ranges.length==D.sel.ranges.length&&D.sel.ranges[Be],Kt=Ms(D,yt.anchor,Dt&&Dt.anchor,ee,re),Yt=Ms(D,yt.head,Dt&&Dt.head,ee,re);(ce||Kt!=yt.anchor||Yt!=yt.head)&&(ce||(ce=P.ranges.slice(0,Be)),ce[Be]=new me(Kt,Yt))}return ce?Le(D.cm,ce,P.primIndex):P}function ys(D,P,ee,re,ce){var Be=le(D,P.line);if(Be.markedSpans)for(var yt=0;yt<Be.markedSpans.length;++yt){var Dt=Be.markedSpans[yt],Kt=Dt.marker,Yt="selectLeft"in Kt?!Kt.selectLeft:Kt.inclusiveLeft,Cr="selectRight"in Kt?!Kt.selectRight:Kt.inclusiveRight;if((Dt.from==null||(Yt?Dt.from<=P.ch:Dt.from<P.ch))&&(Dt.to==null||(Cr?Dt.to>=P.ch:Dt.to>P.ch))){if(ce&&(st(Kt,"beforeCursorEnter"),Kt.explicitlyCleared))if(Be.markedSpans){--yt;continue}else break;if(!Kt.atomic)continue;if(ee){var Ur=Kt.find(re<0?1:-1),en=void 0;if((re<0?Cr:Yt)&&(Ur=As(D,Ur,-re,Ur&&Ur.line==P.line?Be:null)),Ur&&Ur.line==P.line&&(en=zt(Ur,ee))&&(re<0?en<0:en>0))return ys(D,Ur,P,re,ce)}var nn=Kt.find(re<0?-1:1);return(re<0?Yt:Cr)&&(nn=As(D,nn,re,nn.line==P.line?Be:null)),nn?ys(D,nn,P,re,ce):null}}return P}function Ms(D,P,ee,re,ce){var Be=re||1,yt=ys(D,P,ee,Be,ce)||!ce&&ys(D,P,ee,Be,!0)||ys(D,P,ee,-Be,ce)||!ce&&ys(D,P,ee,-Be,!0);return yt||(D.cantEdit=!0,Rt(D.first,0))}function As(D,P,ee,re){return ee<0&&P.ch==0?P.line>D.first?ht(D,Rt(P.line-1)):null:ee>0&&P.ch==(re||le(D,P.line)).text.length?P.line<D.first+D.size-1?Rt(P.line+1,0):null:new Rt(P.line,P.ch+ee)}function ks(D){D.setSelection(Rt(D.firstLine(),0),Rt(D.lastLine()),he)}function Hs(D,P,ee){var re={canceled:!1,from:P.from,to:P.to,text:P.text,origin:P.origin,cancel:function(){return re.canceled=!0}};return ee&&(re.update=function(ce,Be,yt,Dt){ce&&(re.from=ht(D,ce)),Be&&(re.to=ht(D,Be)),yt&&(re.text=yt),Dt!==void 0&&(re.origin=Dt)}),st(D,"beforeChange",D,re),D.cm&&st(D.cm,"beforeChange",D.cm,re),re.canceled?(D.cm&&(D.cm.curOp.updateInput=2),null):{from:re.from,to:re.to,text:re.text,origin:re.origin}}function bs(D,P,ee){if(D.cm){if(!D.cm.curOp)return Ja(D.cm,bs)(D,P,ee);if(D.cm.state.suppressEdits)return}if((et(D,"beforeChange")||D.cm&&et(D.cm,"beforeChange"))&&(P=Hs(D,P,!0),!P))return;var re=_r&&!ee&&Tn(D,P.from,P.to);if(re)for(var ce=re.length-1;ce>=0;--ce)ca(D,{from:re[ce].from,to:re[ce].to,text:ce?[""]:P.text,origin:P.origin});else ca(D,P)}function ca(D,P){if(P.text.length==1&&P.text[0]==""&&zt(P.from,P.to)==0)return;var ee=Ut(D,P);Wa(D,P,ee,D.cm?D.cm.curOp.id:NaN),Wn(D,P,ee,Nn(D,P));var re=[];Cn(D,function(ce,Be){!Be&&K(re,ce.history)==-1&&(Jo(ce.history,P),re.push(ce.history)),Wn(ce,P,null,Nn(ce,P))})}function ci(D,P,ee){var re=D.cm&&D.cm.state.suppressEdits;if(re&&!ee)return;for(var ce=D.history,Be,yt=D.sel,Dt=P=="undo"?ce.done:ce.undone,Kt=P=="undo"?ce.undone:ce.done,Yt=0;Yt<Dt.length&&!(Be=Dt[Yt],ee?Be.ranges&&!Be.equals(D.sel):!Be.ranges);Yt++);if(Yt==Dt.length)return;for(ce.lastOrigin=ce.lastSelOrigin=null;;)if(Be=Dt.pop(),Be.ranges){if($a(Be,Kt),ee&&!Be.equals(D.sel)){Eo(D,Be,{clearRedo:!1});return}yt=Be}else if(re){Dt.push(Be);return}else break;var Cr=[];$a(yt,Kt),Kt.push({changes:Cr,generation:ce.generation}),ce.generation=Be.generation||++ce.maxGeneration;for(var Ur=et(D,"beforeChange")||D.cm&&et(D.cm,"beforeChange"),en=function(Jn){var Zn=Be.changes[Jn];if(Zn.origin=P,Ur&&!Hs(D,Zn,!1))return Dt.length=0,{};Cr.push(ji(D,Zn));var oi=Jn?Ut(D,Zn):Re(Dt);Wn(D,Zn,oi,jo(D,Zn)),!Jn&&D.cm&&D.cm.scrollIntoView({from:Zn.from,to:Qe(Zn)});var li=[];Cn(D,function($e,ie){!ie&&K(li,$e.history)==-1&&(Jo($e.history,Zn),li.push($e.history)),Wn($e,Zn,null,jo($e,Zn))})},nn=Be.changes.length-1;nn>=0;--nn){var xn=en(nn);if(xn)return xn.v}}function Bi(D,P){if(P==0)return;if(D.first+=P,D.sel=new Pt(rt(D.sel.ranges,function(ce){return new me(Rt(ce.anchor.line+P,ce.anchor.ch),Rt(ce.head.line+P,ce.head.ch))}),D.sel.primIndex),D.cm){gi(D.cm,D.first,D.first-P,P);for(var ee=D.cm.display,re=ee.viewFrom;re<ee.viewTo;re++)Pa(D.cm,re,"gutter")}}function Wn(D,P,ee,re){if(D.cm&&!D.cm.curOp)return Ja(D.cm,Wn)(D,P,ee,re);if(P.to.line<D.first){Bi(D,P.text.length-1-(P.to.line-P.from.line));return}if(P.from.line>D.lastLine())return;if(P.from.line<D.first){var ce=P.text.length-1-(D.first-P.from.line);Bi(D,ce),P={from:Rt(D.first,0),to:Rt(P.to.line+ce,P.to.ch),text:[Re(P.text)],origin:P.origin}}var Be=D.lastLine();P.to.line>Be&&(P={from:P.from,to:Rt(Be,le(D,Be).text.length),text:[P.text[0]],origin:P.origin}),P.removed=Oe(D,P.from,P.to),ee||(ee=Ut(D,P)),D.cm?io(D.cm,P,re):yn(D,P,re),ds(D,ee,he),D.cantEdit&&Ms(D,Rt(D.firstLine(),0))&&(D.cantEdit=!1)}function io(D,P,ee){var re=D.doc,ce=D.display,Be=P.from,yt=P.to,Dt=!1,Kt=Be.line;D.options.lineWrapping||(Kt=nt(ta(le(re,Be.line))),re.iter(Kt,yt.line+1,function(nn){if(nn==ce.maxLine)return Dt=!0,!0})),re.sel.contains(P.from,P.to)>-1&&Je(D),yn(re,P,ee,bi(D)),D.options.lineWrapping||(re.iter(Kt,Be.line+P.text.length,function(nn){var xn=In(nn);xn>ce.maxLineLength&&(ce.maxLine=nn,ce.maxLineLength=xn,ce.maxLineChanged=!0,Dt=!1)}),Dt&&(D.curOp.updateMaxLine=!0)),qr(re,Be.line),ps(D,400);var Yt=P.text.length-(yt.line-Be.line)-1;P.full?gi(D):Be.line==yt.line&&P.text.length==1&&!ln(D.doc,P)?Pa(D,Be.line,"text"):gi(D,Be.line,yt.line+1,Yt);var Cr=et(D,"changes"),Ur=et(D,"change");if(Ur||Cr){var en={from:Be,to:yt,text:P.text,removed:P.removed,origin:P.origin};Ur&&Tr(D,"change",D,en),Cr&&(D.curOp.changeObjs||(D.curOp.changeObjs=[])).push(en)}D.display.selForContextMenu=null}function qo(D,P,ee,re,ce){var Be;re||(re=ee),zt(re,ee)<0&&(Be=[re,ee],ee=Be[0],re=Be[1]),typeof P=="string"&&(P=D.splitLines(P)),bs(D,{from:ee,to:re,text:P,origin:ce})}function gs(D,P,ee,re){ee<D.line?D.line+=re:P<D.line&&(D.line=P,D.ch=0)}function os(D,P,ee,re){for(var ce=0;ce<D.length;++ce){var Be=D[ce],yt=!0;if(Be.ranges){Be.copied||(Be=D[ce]=Be.deepCopy(),Be.copied=!0);for(var Dt=0;Dt<Be.ranges.length;Dt++)gs(Be.ranges[Dt].anchor,P,ee,re),gs(Be.ranges[Dt].head,P,ee,re);continue}for(var Kt=0;Kt<Be.changes.length;++Kt){var Yt=Be.changes[Kt];if(ee<Yt.from.line)Yt.from=Rt(Yt.from.line+re,Yt.from.ch),Yt.to=Rt(Yt.to.line+re,Yt.to.ch);else if(P<=Yt.to.line){yt=!1;break}}yt||(D.splice(0,ce+1),ce=0)}}function Jo(D,P){var ee=P.from.line,re=P.to.line,ce=P.text.length-(re-ee)-1;os(D.done,ee,re,ce),os(D.undone,ee,re,ce)}function $o(D,P,ee,re){var ce=P,Be=P;return typeof P=="number"?Be=le(D,er(D,P)):ce=nt(P),ce==null?null:(re(Be,ce)&&D.cm&&Pa(D.cm,ce,ee),Be)}function ws(D){this.lines=D,this.parent=null;for(var P=0,ee=0;ee<D.length;++ee)D[ee].parent=this,P+=D[ee].height;this.height=P}ws.prototype={chunkSize:function(){return this.lines.length},removeInner:function(P,ee){for(var re=P,ce=P+ee;re<ce;++re){var Be=this.lines[re];this.height-=Be.height,Na(Be),Tr(Be,"delete")}this.lines.splice(P,ee)},collapse:function(P){P.push.apply(P,this.lines)},insertInner:function(P,ee,re){this.height+=re,this.lines=this.lines.slice(0,P).concat(ee).concat(this.lines.slice(P));for(var ce=0;ce<ee.length;++ce)ee[ce].parent=this},iterN:function(P,ee,re){for(var ce=P+ee;P<ce;++P)if(re(this.lines[P]))return!0}};function Ho(D){this.children=D;for(var P=0,ee=0,re=0;re<D.length;++re){var ce=D[re];P+=ce.chunkSize(),ee+=ce.height,ce.parent=this}this.size=P,this.height=ee,this.parent=null}Ho.prototype={chunkSize:function(){return this.size},removeInner:function(P,ee){this.size-=ee;for(var re=0;re<this.children.length;++re){var ce=this.children[re],Be=ce.chunkSize();if(P<Be){var yt=Math.min(ee,Be-P),Dt=ce.height;if(ce.removeInner(P,yt),this.height-=Dt-ce.height,Be==yt&&(this.children.splice(re--,1),ce.parent=null),(ee-=yt)==0)break;P=0}else P-=Be}if(this.size-ee<25&&(this.children.length>1||!(this.children[0]instanceof ws))){var Kt=[];this.collapse(Kt),this.children=[new ws(Kt)],this.children[0].parent=this}},collapse:function(P){for(var ee=0;ee<this.children.length;++ee)this.children[ee].collapse(P)},insertInner:function(P,ee,re){this.size+=ee.length,this.height+=re;for(var ce=0;ce<this.children.length;++ce){var Be=this.children[ce],yt=Be.chunkSize();if(P<=yt){if(Be.insertInner(P,ee,re),Be.lines&&Be.lines.length>50){for(var Dt=Be.lines.length%25+25,Kt=Dt;Kt<Be.lines.length;){var Yt=new ws(Be.lines.slice(Kt,Kt+=25));Be.height-=Yt.height,this.children.splice(++ce,0,Yt),Yt.parent=this}Be.lines=Be.lines.slice(0,Dt),this.maybeSpill()}break}P-=yt}},maybeSpill:function(){if(this.children.length<=10)return;var P=this;do{var ee=P.children.splice(P.children.length-5,5),re=new Ho(ee);if(P.parent){P.size-=re.size,P.height-=re.height;var Be=K(P.parent.children,P);P.parent.children.splice(Be+1,0,re)}else{var ce=new Ho(P.children);ce.parent=P,P.children=[ce,re],P=ce}re.parent=P.parent}while(P.children.length>10);P.parent.maybeSpill()},iterN:function(P,ee,re){for(var ce=0;ce<this.children.length;++ce){var Be=this.children[ce],yt=Be.chunkSize();if(P<yt){var Dt=Math.min(ee,yt-P);if(Be.iterN(P,Dt,re))return!0;if((ee-=Dt)==0)break;P=0}else P-=yt}}};var ll=function(P,ee,re){if(re)for(var ce in re)re.hasOwnProperty(ce)&&(this[ce]=re[ce]);this.doc=P,this.node=ee};ll.prototype.clear=function(){var D=this.doc.cm,P=this.line.widgets,ee=this.line,re=nt(ee);if(re==null||!P)return;for(var ce=0;ce<P.length;++ce)P[ce]==this&&P.splice(ce--,1);P.length||(ee.widgets=null);var Be=an(this);Ue(ee,Math.max(0,ee.height-Be)),D&&(bo(D,function(){jl(D,ee,-Be),Pa(D,re,"widget")}),Tr(D,"lineWidgetCleared",D,this,re))},ll.prototype.changed=function(){var D=this,P=this.height,ee=this.doc.cm,re=this.line;this.height=null;var ce=an(this)-P;if(!ce)return;mn(this.doc,re)||Ue(re,re.height+ce),ee&&bo(ee,function(){ee.curOp.forceUpdate=!0,jl(ee,re,ce),Tr(ee,"lineWidgetChanged",ee,D,nt(re))})},ot(ll);function jl(D,P,ee){_n(P)<(D.curOp&&D.curOp.scrollTop||D.doc.scrollTop)&&_o(D,ee)}function ul(D,P,ee,re){var ce=new ll(D,ee,re),Be=D.cm;return Be&&ce.noHScroll&&(Be.display.alignWidgets=!0),$o(D,P,"widget",function(yt){var Dt=yt.widgets||(yt.widgets=[]);if(ce.insertAt==null?Dt.push(ce):Dt.splice(Math.min(Dt.length-1,Math.max(0,ce.insertAt)),0,ce),ce.line=yt,Be&&!mn(D,yt)){var Kt=_n(yt)<D.scrollTop;Ue(yt,yt.height+an(ce)),Kt&&_o(Be,ce.height),Be.curOp.forceUpdate=!0}return!0}),Be&&Tr(Be,"lineWidgetAdded",Be,ce,typeof P=="number"?P:nt(P)),ce}var Nl=0,Ls=function(P,ee){this.lines=[],this.type=ee,this.doc=P,this.id=++Nl};Ls.prototype.clear=function(){if(this.explicitlyCleared)return;var D=this.doc.cm,P=D&&!D.curOp;if(P&&Ji(D),et(this,"clear")){var ee=this.find();ee&&Tr(this,"clear",ee.from,ee.to)}for(var re=null,ce=null,Be=0;Be<this.lines.length;++Be){var yt=this.lines[Be],Dt=ur(yt.markedSpans,this);D&&!this.collapsed?Pa(D,nt(yt),"text"):D&&(Dt.to!=null&&(ce=nt(yt)),Dt.from!=null&&(re=nt(yt))),yt.markedSpans=fr(yt.markedSpans,Dt),Dt.from==null&&this.collapsed&&!mn(this.doc,yt)&&D&&Ue(yt,Ai(D.display))}if(D&&this.collapsed&&!D.options.lineWrapping)for(var Kt=0;Kt<this.lines.length;++Kt){var Yt=ta(this.lines[Kt]),Cr=In(Yt);Cr>D.display.maxLineLength&&(D.display.maxLine=Yt,D.display.maxLineLength=Cr,D.display.maxLineChanged=!0)}re!=null&&D&&this.collapsed&&gi(D,re,ce+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,D&&Rs(D.doc)),D&&Tr(D,"markerCleared",D,this,re,ce),P&&xo(D),this.parent&&this.parent.clear()},Ls.prototype.find=function(D,P){D==null&&this.type=="bookmark"&&(D=1);for(var ee,re,ce=0;ce<this.lines.length;++ce){var Be=this.lines[ce],yt=ur(Be.markedSpans,this);if(yt.from!=null&&(ee=Rt(P?Be:nt(Be),yt.from),D==-1))return ee;if(yt.to!=null&&(re=Rt(P?Be:nt(Be),yt.to),D==1))return re}return ee&&{from:ee,to:re}},Ls.prototype.changed=function(){var D=this,P=this.find(-1,!0),ee=this,re=this.doc.cm;if(!P||!re)return;bo(re,function(){var ce=P.line,Be=nt(P.line),yt=bn(re,Be);if(yt&&(ri(yt),re.curOp.selectionChanged=re.curOp.forceUpdate=!0),re.curOp.updateMaxLine=!0,!mn(ee.doc,ce)&&ee.height!=null){var Dt=ee.height;ee.height=null;var Kt=an(ee)-Dt;Kt&&Ue(ce,ce.height+Kt)}Tr(re,"markerChanged",re,D)})},Ls.prototype.attachLine=function(D){if(!this.lines.length&&this.doc.cm){var P=this.doc.cm.curOp;(!P.maybeHiddenMarkers||K(P.maybeHiddenMarkers,this)==-1)&&(P.maybeUnhiddenMarkers||(P.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(D)},Ls.prototype.detachLine=function(D){if(this.lines.splice(K(this.lines,D),1),!this.lines.length&&this.doc.cm){var P=this.doc.cm.curOp;(P.maybeHiddenMarkers||(P.maybeHiddenMarkers=[])).push(this)}},ot(Ls);function Gs(D,P,ee,re,ce){if(re&&re.shared)return Hl(D,P,ee,re,ce);if(D.cm&&!D.cm.curOp)return Ja(D.cm,Gs)(D,P,ee,re,ce);var Be=new Ls(D,ce),yt=zt(P,ee);if(re&&k(re,Be,!1),yt>0||yt==0&&Be.clearWhenEmpty!==!1)return Be;if(Be.replacedWith&&(Be.collapsed=!0,Be.widgetNode=M("span",[Be.replacedWith],"CodeMirror-widget"),re.handleMouseEvents||Be.widgetNode.setAttribute("cm-ignore-events","true"),re.insertLeft&&(Be.widgetNode.insertLeft=!0)),Be.collapsed){if(xa(D,P.line,P,ee,Be)||P.line!=ee.line&&xa(D,ee.line,P,ee,Be))throw new Error("Inserting collapsed marker partially overlapping an existing one");cr()}Be.addToHistory&&Wa(D,{from:P,to:ee,origin:"markText"},D.sel,NaN);var Dt=P.line,Kt=D.cm,Yt;if(D.iter(Dt,ee.line+1,function(Ur){Kt&&Be.collapsed&&!Kt.options.lineWrapping&&ta(Ur)==Kt.display.maxLine&&(Yt=!0),Be.collapsed&&Dt!=P.line&&Ue(Ur,0),xr(Ur,new pr(Be,Dt==P.line?P.ch:null,Dt==ee.line?ee.ch:null)),++Dt}),Be.collapsed&&D.iter(P.line,ee.line+1,function(Ur){mn(D,Ur)&&Ue(Ur,0)}),Be.clearOnEnter&&Me(Be,"beforeCursorEnter",function(){return Be.clear()}),Be.readOnly&&(Ir(),(D.history.done.length||D.history.undone.length)&&D.clearHistory()),Be.collapsed&&(Be.id=++Nl,Be.atomic=!0),Kt){if(Yt&&(Kt.curOp.updateMaxLine=!0),Be.collapsed)gi(Kt,P.line,ee.line+1);else if(Be.className||Be.startStyle||Be.endStyle||Be.css||Be.attributes||Be.title)for(var Cr=P.line;Cr<=ee.line;Cr++)Pa(Kt,Cr,"text");Be.atomic&&Rs(Kt.doc),Tr(Kt,"markerAdded",Kt,Be)}return Be}var el=function(P,ee){this.markers=P,this.primary=ee;for(var re=0;re<P.length;++re)P[re].parent=this};el.prototype.clear=function(){if(this.explicitlyCleared)return;this.explicitlyCleared=!0;for(var D=0;D<this.markers.length;++D)this.markers[D].clear();Tr(this,"clear")},el.prototype.find=function(D,P){return this.primary.find(D,P)},ot(el);function Hl(D,P,ee,re,ce){re=k(re),re.shared=!1;var Be=[Gs(D,P,ee,re,ce)],yt=Be[0],Dt=re.widgetNode;return Cn(D,function(Kt){Dt&&(re.widgetNode=Dt.cloneNode(!0)),Be.push(Gs(Kt,ht(Kt,P),ht(Kt,ee),re,ce));for(var Yt=0;Yt<Kt.linked.length;++Yt)if(Kt.linked[Yt].isParent)return;yt=Re(Be)}),new el(Be,yt)}function zl(D){return D.findMarks(Rt(D.first,0),D.clipPos(Rt(D.lastLine())),function(P){return P.parent})}function Dl(D,P){for(var ee=0;ee<P.length;ee++){var re=P[ee],ce=re.find(),Be=D.clipPos(ce.from),yt=D.clipPos(ce.to);if(zt(Be,yt)){var Dt=Gs(D,Be,yt,re.primary,re.primary.type);re.markers.push(Dt),Dt.parent=re}}}function nu(D){for(var P=function(ce){var Be=D[ce],yt=[Be.primary.doc];Cn(Be.primary.doc,function(Yt){return yt.push(Yt)});for(var Dt=0;Dt<Be.markers.length;Dt++){var Kt=Be.markers[Dt];K(yt,Kt.doc)==-1&&(Kt.parent=null,Be.markers.splice(Dt--,1))}},ee=0;ee<D.length;ee++)P(ee)}var iu=0,es=function D(P,ee,re,ce,Be){if(!(this instanceof D))return new D(P,ee,re,ce,Be);re==null&&(re=0),Ho.call(this,[new ws([new ni("",null)])]),this.first=re,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=re;var yt=Rt(re,0);this.sel=Ne(yt),this.history=new ea(null),this.id=++iu,this.modeOption=ee,this.lineSep=ce,this.direction=Be=="rtl"?"rtl":"ltr",this.extend=!1,typeof P=="string"&&(P=this.splitLines(P)),yn(this,{from:yt,to:yt,text:P}),Eo(this,Ne(yt),he)};es.prototype=at(Ho.prototype,{constructor:es,iter:function(P,ee,re){re?this.iterN(P-this.first,ee-P,re):this.iterN(this.first,this.first+this.size,P)},insert:function(P,ee){for(var re=0,ce=0;ce<ee.length;++ce)re+=ee[ce].height;this.insertInner(P-this.first,ee,re)},remove:function(P,ee){this.removeInner(P-this.first,ee)},getValue:function(P){var ee=ke(this,this.first,this.first+this.size);return P===!1?ee:ee.join(P||this.lineSeparator())},setValue:so(function(D){var P=Rt(this.first,0),ee=this.first+this.size-1;bs(this,{from:P,to:Rt(ee,le(this,ee).text.length),text:this.splitLines(D),origin:"setValue",full:!0},!0),this.cm&&ki(this.cm,0,0),Eo(this,Ne(P),he)}),replaceRange:function(P,ee,re,ce){ee=ht(this,ee),re=re?ht(this,re):ee,qo(this,P,ee,re,ce)},getRange:function(P,ee,re){var ce=Oe(this,ht(this,P),ht(this,ee));return re===!1?ce:ce.join(re||this.lineSeparator())},getLine:function(P){var ee=this.getLineHandle(P);return ee&&ee.text},getLineHandle:function(P){if(Wt(this,P))return le(this,P)},getLineNumber:function(P){return nt(P)},getLineHandleVisualStart:function(P){return typeof P=="number"&&(P=le(this,P)),ta(P)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(P){return ht(this,P)},getCursor:function(P){var ee=this.sel.primary(),re;return P==null||P=="head"?re=ee.head:P=="anchor"?re=ee.anchor:P=="end"||P=="to"||P===!1?re=ee.to():re=ee.from(),re},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:so(function(D,P,ee){Xs(this,ht(this,typeof D=="number"?Rt(D,P||0):D),null,ee)}),setSelection:so(function(D,P,ee){Xs(this,ht(this,D),ht(this,P||D),ee)}),extendSelection:so(function(D,P,ee){wo(this,ht(this,D),P&&ht(this,P),ee)}),extendSelections:so(function(D,P){cs(this,pt(this,D),P)}),extendSelectionsBy:so(function(D,P){var ee=rt(this.sel.ranges,D);cs(this,pt(this,ee),P)}),setSelections:so(function(D,P,ee){if(!D.length)return;for(var re=[],ce=0;ce<D.length;ce++)re[ce]=new me(ht(this,D[ce].anchor),ht(this,D[ce].head));P==null&&(P=Math.min(D.length-1,this.sel.primIndex)),Eo(this,Le(this.cm,re,P),ee)}),addSelection:so(function(D,P,ee){var re=this.sel.ranges.slice(0);re.push(new me(ht(this,D),ht(this,P||D))),Eo(this,Le(this.cm,re,re.length-1),ee)}),getSelection:function(P){for(var ee=this.sel.ranges,re,ce=0;ce<ee.length;ce++){var Be=Oe(this,ee[ce].from(),ee[ce].to());re=re?re.concat(Be):Be}return P===!1?re:re.join(P||this.lineSeparator())},getSelections:function(P){for(var ee=[],re=this.sel.ranges,ce=0;ce<re.length;ce++){var Be=Oe(this,re[ce].from(),re[ce].to());P!==!1&&(Be=Be.join(P||this.lineSeparator())),ee[ce]=Be}return ee},replaceSelection:function(P,ee,re){for(var ce=[],Be=0;Be<this.sel.ranges.length;Be++)ce[Be]=P;this.replaceSelections(ce,ee,re||"+input")},replaceSelections:so(function(D,P,ee){for(var re=[],ce=this.sel,Be=0;Be<ce.ranges.length;Be++){var yt=ce.ranges[Be];re[Be]={from:yt.from(),to:yt.to(),text:this.splitLines(D[Be]),origin:ee}}for(var Dt=P&&P!="end"&&gr(this,re,P),Kt=re.length-1;Kt>=0;Kt--)bs(this,re[Kt]);Dt?Yo(this,Dt):this.cm&&La(this.cm)}),undo:so(function(){ci(this,"undo")}),redo:so(function(){ci(this,"redo")}),undoSelection:so(function(){ci(this,"undo",!0)}),redoSelection:so(function(){ci(this,"redo",!0)}),setExtending:function(P){this.extend=P},getExtending:function(){return this.extend},historySize:function(){for(var P=this.history,ee=0,re=0,ce=0;ce<P.done.length;ce++)P.done[ce].ranges||++ee;for(var Be=0;Be<P.undone.length;Be++)P.undone[Be].ranges||++re;return{undo:ee,redo:re}},clearHistory:function(){var P=this;this.history=new ea(this.history.maxGeneration),Cn(this,function(ee){return ee.history=P.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(P){return P&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(P){return this.history.generation==(P||this.cleanGeneration)},getHistory:function(){return{done:Fo(this.history.done),undone:Fo(this.history.undone)}},setHistory:function(P){var ee=this.history=new ea(this.history.maxGeneration);ee.done=Fo(P.done.slice(0),null,!0),ee.undone=Fo(P.undone.slice(0),null,!0)},setGutterMarker:so(function(D,P,ee){return $o(this,D,"gutter",function(re){var ce=re.gutterMarkers||(re.gutterMarkers={});return ce[P]=ee,!ee&&Z(ce)&&(re.gutterMarkers=null),!0})}),clearGutter:so(function(D){var P=this;this.iter(function(ee){ee.gutterMarkers&&ee.gutterMarkers[D]&&$o(P,ee,"gutter",function(){return ee.gutterMarkers[D]=null,Z(ee.gutterMarkers)&&(ee.gutterMarkers=null),!0})})}),lineInfo:function(P){var ee;if(typeof P=="number"){if(!Wt(this,P))return null;if(ee=P,P=le(this,P),!P)return null}else if(ee=nt(P),ee==null)return null;return{line:ee,handle:P,text:P.text,gutterMarkers:P.gutterMarkers,textClass:P.textClass,bgClass:P.bgClass,wrapClass:P.wrapClass,widgets:P.widgets}},addLineClass:so(function(D,P,ee){return $o(this,D,P=="gutter"?"gutter":"class",function(re){var ce=P=="text"?"textClass":P=="background"?"bgClass":P=="gutter"?"gutterClass":"wrapClass";if(!re[ce])re[ce]=ee;else{if(_(ee).test(re[ce]))return!1;re[ce]+=" "+ee}return!0})}),removeLineClass:so(function(D,P,ee){return $o(this,D,P=="gutter"?"gutter":"class",function(re){var ce=P=="text"?"textClass":P=="background"?"bgClass":P=="gutter"?"gutterClass":"wrapClass",Be=re[ce];if(Be)if(ee==null)re[ce]=null;else{var yt=Be.match(_(ee));if(!yt)return!1;var Dt=yt.index+yt[0].length;re[ce]=Be.slice(0,yt.index)+(!yt.index||Dt==Be.length?"":" ")+Be.slice(Dt)||null}else return!1;return!0})}),addLineWidget:so(function(D,P,ee){return ul(this,D,P,ee)}),removeLineWidget:function(P){P.clear()},markText:function(P,ee,re){return Gs(this,ht(this,P),ht(this,ee),re,re&&re.type||"range")},setBookmark:function(P,ee){var re={replacedWith:ee&&(ee.nodeType==null?ee.widget:ee),insertLeft:ee&&ee.insertLeft,clearWhenEmpty:!1,shared:ee&&ee.shared,handleMouseEvents:ee&&ee.handleMouseEvents};return P=ht(this,P),Gs(this,P,P,re,"bookmark")},findMarksAt:function(P){P=ht(this,P);var ee=[],re=le(this,P.line).markedSpans;if(re)for(var ce=0;ce<re.length;++ce){var Be=re[ce];(Be.from==null||Be.from<=P.ch)&&(Be.to==null||Be.to>=P.ch)&&ee.push(Be.marker.parent||Be.marker)}return ee},findMarks:function(P,ee,re){P=ht(this,P),ee=ht(this,ee);var ce=[],Be=P.line;return this.iter(P.line,ee.line+1,function(yt){var Dt=yt.markedSpans;if(Dt)for(var Kt=0;Kt<Dt.length;Kt++){var Yt=Dt[Kt];!(Yt.to!=null&&Be==P.line&&P.ch>=Yt.to||Yt.from==null&&Be!=P.line||Yt.from!=null&&Be==ee.line&&Yt.from>=ee.ch)&&(!re||re(Yt.marker))&&ce.push(Yt.marker.parent||Yt.marker)}++Be}),ce},getAllMarks:function(){var P=[];return this.iter(function(ee){var re=ee.markedSpans;if(re)for(var ce=0;ce<re.length;++ce)re[ce].from!=null&&P.push(re[ce].marker)}),P},posFromIndex:function(P){var ee,re=this.first,ce=this.lineSeparator().length;return this.iter(function(Be){var yt=Be.text.length+ce;if(yt>P)return ee=P,!0;P-=yt,++re}),ht(this,Rt(re,ee))},indexFromPos:function(P){P=ht(this,P);var ee=P.ch;if(P.line<this.first||P.ch<0)return 0;var re=this.lineSeparator().length;return this.iter(this.first,P.line,function(ce){ee+=ce.text.length+re}),ee},copy:function(P){var ee=new es(ke(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return ee.scrollTop=this.scrollTop,ee.scrollLeft=this.scrollLeft,ee.sel=this.sel,ee.extend=!1,P&&(ee.history.undoDepth=this.history.undoDepth,ee.setHistory(this.getHistory())),ee},linkedDoc:function(P){P||(P={});var ee=this.first,re=this.first+this.size;P.from!=null&&P.from>ee&&(ee=P.from),P.to!=null&&P.to<re&&(re=P.to);var ce=new es(ke(this,ee,re),P.mode||this.modeOption,ee,this.lineSep,this.direction);return P.sharedHist&&(ce.history=this.history),(this.linked||(this.linked=[])).push({doc:ce,sharedHist:P.sharedHist}),ce.linked=[{doc:this,isParent:!0,sharedHist:P.sharedHist}],Dl(ce,zl(this)),ce},unlinkDoc:function(P){if(P instanceof ct&&(P=P.doc),this.linked)for(var ee=0;ee<this.linked.length;++ee){var re=this.linked[ee];if(re.doc!=P)continue;this.linked.splice(ee,1),P.unlinkDoc(this),nu(zl(this));break}if(P.history==this.history){var ce=[P.id];Cn(P,function(Be){return ce.push(Be.id)},!0),P.history=new ea(null),P.history.done=Fo(this.history.done,ce),P.history.undone=Fo(this.history.undone,ce)}},iterLinkedDocs:function(P){Cn(this,P)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(P){return this.lineSep?P.split(this.lineSep):or(P)},lineSeparator:function(){return this.lineSep||`
`},setDirection:so(function(D){if(D!="rtl"&&(D="ltr"),D==this.direction)return;this.direction=D,this.iter(function(P){return P.order=null}),this.cm&&wi(this.cm)})}),es.prototype.eachLine=es.prototype.iter;var tl=0;function au(D){var P=this;if(bl(P),Xe(P,D)||xt(P.display,D))return;Ve(D),u&&(tl=+new Date);var ee=ua(P,D,!0),re=D.dataTransfer.files;if(!ee||P.isReadOnly())return;if(re&&re.length&&window.FileReader&&window.File)for(var ce=re.length,Be=Array(ce),yt=0,Dt=function(){++yt==ce&&Ja(P,function(){ee=ht(P.doc,ee);var xn={from:ee,to:ee,text:P.doc.splitLines(Be.filter(function(Bn){return Bn!=null}).join(P.doc.lineSeparator())),origin:"paste"};bs(P.doc,xn),Yo(P.doc,Ne(ht(P.doc,ee),ht(P.doc,Qe(xn))))})()},Kt=function(xn,Bn){if(P.options.allowDropFileTypes&&K(P.options.allowDropFileTypes,xn.type)==-1){Dt();return}var Jn=new FileReader;Jn.onerror=function(){return Dt()},Jn.onload=function(){var Zn=Jn.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Zn)){Dt();return}Be[Bn]=Zn,Dt()},Jn.readAsText(xn)},Yt=0;Yt<re.length;Yt++)Kt(re[Yt],Yt);else{if(P.state.draggingText&&P.doc.sel.contains(ee)>-1){P.state.draggingText(D),setTimeout(function(){return P.display.input.focus()},20);return}try{var Cr=D.dataTransfer.getData("Text");if(Cr){var Ur;if(P.state.draggingText&&!P.state.draggingText.copy&&(Ur=P.listSelections()),ds(P.doc,Ne(ee,ee)),Ur)for(var en=0;en<Ur.length;++en)qo(P.doc,"",Ur[en].anchor,Ur[en].head,"drag");P.replaceSelection(Cr,"around","paste"),P.display.input.focus()}}catch(nn){}}}function Rl(D,P){if(u&&(!D.state.draggingText||+new Date-tl<100)){lt(P);return}if(Xe(D,P)||xt(D.display,P))return;if(P.dataTransfer.setData("Text",D.getSelection()),P.dataTransfer.effectAllowed="copyMove",P.dataTransfer.setDragImage&&!n){var ee=L("img",null,null,"position: fixed; left: 0; top: 0;");ee.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",d&&(ee.width=ee.height=1,D.display.wrapper.appendChild(ee),ee._top=ee.offsetTop),P.dataTransfer.setDragImage(ee,0,0),d&&ee.parentNode.removeChild(ee)}}function Ml(D,P){var ee=ua(D,P);if(!ee)return;var re=document.createDocumentFragment();ba(D,ee,re),D.display.dragCursor||(D.display.dragCursor=L("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),D.display.lineSpace.insertBefore(D.display.dragCursor,D.display.cursorDiv)),O(D.display.dragCursor,re)}function bl(D){D.display.dragCursor&&(D.display.lineSpace.removeChild(D.display.dragCursor),D.display.dragCursor=null)}function Kl(D){if(!document.getElementsByClassName)return;for(var P=document.getElementsByClassName("CodeMirror"),ee=[],re=0;re<P.length;re++){var ce=P[re].CodeMirror;ce&&ee.push(ce)}ee.length&&ee[0].operation(function(){for(var Be=0;Be<ee.length;Be++)D(ee[Be])})}var cl=!1;function Wl(){if(cl)return;ou(),cl=!0}function ou(){var D;Me(window,"resize",function(){D==null&&(D=setTimeout(function(){D=null,Kl(su)},100))}),Me(window,"blur",function(){return Kl(Oi)})}function su(D){var P=D.display;P.cachedCharWidth=P.cachedTextHeight=P.cachedPaddingH=null,P.scrollbarsClipped=!1,D.setSize()}for(var Fs={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},rl=0;rl<10;rl++)Fs[rl+48]=Fs[rl+96]=String(rl);for(var wl=65;wl<=90;wl++)Fs[wl]=String.fromCharCode(wl);for(var dl=1;dl<=12;dl++)Fs[dl+111]=Fs[dl+63235]="F"+dl;var Ss={};Ss.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Ss.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Ss.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Ss.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Ss.default=A?Ss.macDefault:Ss.pcDefault;function zs(D){var P=D.split(/-(?!$)/);D=P[P.length-1];for(var ee,re,ce,Be,yt=0;yt<P.length-1;yt++){var Dt=P[yt];if(/^(cmd|meta|m)$/i.test(Dt))Be=!0;else if(/^a(lt)?$/i.test(Dt))ee=!0;else if(/^(c|ctrl|control)$/i.test(Dt))re=!0;else if(/^s(hift)?$/i.test(Dt))ce=!0;else throw new Error("Unrecognized modifier name: "+Dt)}return ee&&(D="Alt-"+D),re&&(D="Ctrl-"+D),Be&&(D="Cmd-"+D),ce&&(D="Shift-"+D),D}function nl(D){var P={};for(var ee in D)if(D.hasOwnProperty(ee)){var re=D[ee];if(/^(name|fallthrough|(de|at)tach)$/.test(ee))continue;if(re=="..."){delete D[ee];continue}for(var ce=rt(ee.split(" "),zs),Be=0;Be<ce.length;Be++){var yt=void 0,Dt=void 0;Be==ce.length-1?(Dt=ce.join(" "),yt=re):(Dt=ce.slice(0,Be+1).join(" "),yt="...");var Kt=P[Dt];if(!Kt)P[Dt]=yt;else if(Kt!=yt)throw new Error("Inconsistent bindings for "+Dt)}delete D[ee]}for(var Yt in P)D[Yt]=P[Yt];return D}function Ps(D,P,ee,re){P=xl(P);var ce=P.call?P.call(D,re):P[D];if(ce===!1)return"nothing";if(ce==="...")return"multi";if(ce!=null&&ee(ce))return"handled";if(P.fallthrough){if(Object.prototype.toString.call(P.fallthrough)!="[object Array]")return Ps(D,P.fallthrough,ee,re);for(var Be=0;Be<P.fallthrough.length;Be++){var yt=Ps(D,P.fallthrough[Be],ee,re);if(yt)return yt}}}function Sl(D){var P=typeof D=="string"?D:Fs[D.keyCode];return P=="Ctrl"||P=="Alt"||P=="Shift"||P=="Mod"}function kl(D,P,ee){var re=D;return P.altKey&&re!="Alt"&&(D="Alt-"+D),(E?P.metaKey:P.ctrlKey)&&re!="Ctrl"&&(D="Ctrl-"+D),(E?P.ctrlKey:P.metaKey)&&re!="Mod"&&(D="Cmd-"+D),!ee&&P.shiftKey&&re!="Shift"&&(D="Shift-"+D),D}function Vl(D,P){if(d&&D.keyCode==34&&D.char)return!1;var ee=Fs[D.keyCode];return ee==null||D.altGraphKey?!1:(D.keyCode==3&&D.code&&(ee=D.code),kl(ee,D,P))}function xl(D){return typeof D=="string"?Ss[D]:D}function Qs(D,P){for(var ee=D.doc.sel.ranges,re=[],ce=0;ce<ee.length;ce++){for(var Be=P(ee[ce]);re.length&&zt(Be.from,Re(re).to)<=0;){var yt=re.pop();if(zt(yt.from,Be.from)<0){Be.from=yt.from;break}}re.push(Be)}bo(D,function(){for(var Dt=re.length-1;Dt>=0;Dt--)qo(D.doc,"",re[Dt].from,re[Dt].to,"+delete");La(D)})}function hl(D,P,ee){var re=Ie(D.text,P+ee,ee);return re<0||re>D.text.length?null:re}function il(D,P,ee){var re=hl(D,P.ch,ee);return re==null?null:new Rt(P.line,re,ee<0?"after":"before")}function fl(D,P,ee,re,ce){if(D){P.doc.direction=="rtl"&&(ce=-ce);var Be=ze(ee,P.doc.direction);if(Be){var yt=ce<0?Re(Be):Be[0],Dt=ce<0==(yt.level==1),Kt=Dt?"after":"before",Yt;if(yt.level>0||P.doc.direction=="rtl"){var Cr=Mn(P,ee);Yt=ce<0?ee.text.length-1:0;var Ur=vn(P,Cr,Yt).top;Yt=fe(function(en){return vn(P,Cr,en).top==Ur},ce<0==(yt.level==1)?yt.from:yt.to-1,Yt),Kt=="before"&&(Yt=hl(ee,Yt,1))}else Yt=ce<0?yt.to:yt.from;return new Rt(re,Yt,Kt)}}return new Rt(re,ce<0?ee.text.length:0,ce<0?"before":"after")}function El(D,P,ee,re){var ce=ze(P,D.doc.direction);if(!ce)return il(P,ee,re);ee.ch>=P.text.length?(ee.ch=P.text.length,ee.sticky="before"):ee.ch<=0&&(ee.ch=0,ee.sticky="after");var Be=ve(ce,ee.ch,ee.sticky),yt=ce[Be];if(D.doc.direction=="ltr"&&yt.level%2==0&&(re>0?yt.to>ee.ch:yt.from<ee.ch))return il(P,ee,re);var Dt=function(oi,li){return hl(P,oi instanceof Rt?oi.ch:oi,li)},Kt,Yt=function(oi){return D.options.lineWrapping?(Kt=Kt||Mn(D,P),Ea(D,P,Kt,oi)):{begin:0,end:P.text.length}},Cr=Yt(ee.sticky=="before"?Dt(ee,-1):ee.ch);if(D.doc.direction=="rtl"||yt.level==1){var Ur=yt.level==1==re<0,en=Dt(ee,Ur?1:-1);if(en!=null&&(Ur?en<=yt.to&&en<=Cr.end:en>=yt.from&&en>=Cr.begin)){var nn=Ur?"before":"after";return new Rt(ee.line,en,nn)}}var xn=function(oi,li,$e){for(var ie=function(vr,Lr){return Lr?new Rt(ee.line,Dt(vr,1),"before"):new Rt(ee.line,vr,"after")};oi>=0&&oi<ce.length;oi+=li){var He=ce[oi],tt=li>0==(He.level!=1),Ot=tt?$e.begin:Dt($e.end,-1);if(He.from<=Ot&&Ot<He.to)return ie(Ot,tt);if(Ot=tt?He.from:Dt(He.to,-1),$e.begin<=Ot&&Ot<$e.end)return ie(Ot,tt)}},Bn=xn(Be+re,re,Cr);if(Bn)return Bn;var Jn=re>0?Cr.end:Dt(Cr.begin,-1);return Jn!=null&&!(re>0&&Jn==P.text.length)&&(Bn=xn(re>0?0:ce.length-1,re,Yt(Jn)),Bn)?Bn:null}var Ks={selectAll:ks,singleSelection:function(P){return P.setSelection(P.getCursor("anchor"),P.getCursor("head"),he)},killLine:function(P){return Qs(P,function(ee){if(ee.empty()){var re=le(P.doc,ee.head.line).text.length;return ee.head.ch==re&&ee.head.line<P.lastLine()?{from:ee.head,to:Rt(ee.head.line+1,0)}:{from:ee.head,to:Rt(ee.head.line,re)}}else return{from:ee.from(),to:ee.to()}})},deleteLine:function(P){return Qs(P,function(ee){return{from:Rt(ee.from().line,0),to:ht(P.doc,Rt(ee.to().line+1,0))}})},delLineLeft:function(P){return Qs(P,function(ee){return{from:Rt(ee.from().line,0),to:ee.from()}})},delWrappedLineLeft:function(P){return Qs(P,function(ee){var re=P.charCoords(ee.head,"div").top+5,ce=P.coordsChar({left:0,top:re},"div");return{from:ce,to:ee.from()}})},delWrappedLineRight:function(P){return Qs(P,function(ee){var re=P.charCoords(ee.head,"div").top+5,ce=P.coordsChar({left:P.display.lineDiv.offsetWidth+100,top:re},"div");return{from:ee.from(),to:ce}})},undo:function(P){return P.undo()},redo:function(P){return P.redo()},undoSelection:function(P){return P.undoSelection()},redoSelection:function(P){return P.redoSelection()},goDocStart:function(P){return P.extendSelection(Rt(P.firstLine(),0))},goDocEnd:function(P){return P.extendSelection(Rt(P.lastLine()))},goLineStart:function(P){return P.extendSelectionsBy(function(ee){return Xl(P,ee.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(P){return P.extendSelectionsBy(function(ee){return pl(P,ee.head)},{origin:"+move",bias:1})},goLineEnd:function(P){return P.extendSelectionsBy(function(ee){return Cl(P,ee.head.line)},{origin:"+move",bias:-1})},goLineRight:function(P){return P.extendSelectionsBy(function(ee){var re=P.cursorCoords(ee.head,"div").top+5;return P.coordsChar({left:P.display.lineDiv.offsetWidth+100,top:re},"div")},ye)},goLineLeft:function(P){return P.extendSelectionsBy(function(ee){var re=P.cursorCoords(ee.head,"div").top+5;return P.coordsChar({left:0,top:re},"div")},ye)},goLineLeftSmart:function(P){return P.extendSelectionsBy(function(ee){var re=P.cursorCoords(ee.head,"div").top+5,ce=P.coordsChar({left:0,top:re},"div");return ce.ch<P.getLine(ce.line).search(/\S/)?pl(P,ee.head):ce},ye)},goLineUp:function(P){return P.moveV(-1,"line")},goLineDown:function(P){return P.moveV(1,"line")},goPageUp:function(P){return P.moveV(-1,"page")},goPageDown:function(P){return P.moveV(1,"page")},goCharLeft:function(P){return P.moveH(-1,"char")},goCharRight:function(P){return P.moveH(1,"char")},goColumnLeft:function(P){return P.moveH(-1,"column")},goColumnRight:function(P){return P.moveH(1,"column")},goWordLeft:function(P){return P.moveH(-1,"word")},goGroupRight:function(P){return P.moveH(1,"group")},goGroupLeft:function(P){return P.moveH(-1,"group")},goWordRight:function(P){return P.moveH(1,"word")},delCharBefore:function(P){return P.deleteH(-1,"codepoint")},delCharAfter:function(P){return P.deleteH(1,"char")},delWordBefore:function(P){return P.deleteH(-1,"word")},delWordAfter:function(P){return P.deleteH(1,"word")},delGroupBefore:function(P){return P.deleteH(-1,"group")},delGroupAfter:function(P){return P.deleteH(1,"group")},indentAuto:function(P){return P.indentSelection("smart")},indentMore:function(P){return P.indentSelection("add")},indentLess:function(P){return P.indentSelection("subtract")},insertTab:function(P){return P.replaceSelection(" ")},insertSoftTab:function(P){for(var ee=[],re=P.listSelections(),ce=P.options.tabSize,Be=0;Be<re.length;Be++){var yt=re[Be].from(),Dt=B(P.getLine(yt.line),yt.ch,ce);ee.push(Pe(ce-Dt%ce))}P.replaceSelections(ee)},defaultTab:function(P){P.somethingSelected()?P.indentSelection("add"):P.execCommand("insertTab")},transposeChars:function(P){return bo(P,function(){for(var ee=P.listSelections(),re=[],ce=0;ce<ee.length;ce++){if(!ee[ce].empty())continue;var Be=ee[ce].head,yt=le(P.doc,Be.line).text;if(yt){if(Be.ch==yt.length&&(Be=new Rt(Be.line,Be.ch-1)),Be.ch>0)Be=new Rt(Be.line,Be.ch+1),P.replaceRange(yt.charAt(Be.ch-1)+yt.charAt(Be.ch-2),Rt(Be.line,Be.ch-2),Be,"+transpose");else if(Be.line>P.doc.first){var Dt=le(P.doc,Be.line-1).text;Dt&&(Be=new Rt(Be.line,1),P.replaceRange(yt.charAt(0)+P.doc.lineSeparator()+Dt.charAt(Dt.length-1),Rt(Be.line-1,Dt.length-1),Be,"+transpose"))}}re.push(new me(Be,Be))}P.setSelections(re)})},newlineAndIndent:function(P){return bo(P,function(){for(var ee=P.listSelections(),re=ee.length-1;re>=0;re--)P.replaceRange(P.doc.lineSeparator(),ee[re].anchor,ee[re].head,"+input");ee=P.listSelections();for(var ce=0;ce<ee.length;ce++)P.indentLine(ee[ce].from().line,null,!0);La(P)})},openLine:function(P){return P.replaceSelection(`
`,"start")},toggleOverwrite:function(P){return P.toggleOverwrite()}};function Xl(D,P){var ee=le(D.doc,P),re=ta(ee);return re!=ee&&(P=nt(re)),fl(!0,D,re,P,1)}function Cl(D,P){var ee=le(D.doc,P),re=Ii(ee);return re!=ee&&(P=nt(re)),fl(!0,D,ee,P,-1)}function pl(D,P){var ee=Xl(D,P.line),re=le(D.doc,ee.line),ce=ze(re,D.doc.direction);if(!ce||ce[0].level==0){var Be=Math.max(ee.ch,re.text.search(/\S/)),yt=P.line==ee.line&&P.ch<=Be&&P.ch;return Rt(ee.line,yt?0:Be,ee.sticky)}return ee}function Tl(D,P,ee){if(typeof P=="string"&&(P=Ks[P],!P))return!1;D.display.input.ensurePolled();var re=D.display.shift,ce=!1;try{D.isReadOnly()&&(D.state.suppressEdits=!0),ee&&(D.display.shift=!1),ce=P(D)!=Q}finally{D.display.shift=re,D.state.suppressEdits=!1}return ce}function Yl(D,P,ee){for(var re=0;re<D.state.keyMaps.length;re++){var ce=Ps(P,D.state.keyMaps[re],ee,D);if(ce)return ce}return D.options.extraKeys&&Ps(P,D.options.extraKeys,ee,D)||Ps(P,D.options.keyMap,ee,D)}var Fl=new V;function ml(D,P,ee,re){var ce=D.state.keySeq;if(ce){if(Sl(P))return"handled";if(/\'$/.test(P)?D.state.keySeq=null:Fl.set(50,function(){D.state.keySeq==ce&&(D.state.keySeq=null,D.display.input.reset())}),Gl(D,ce+" "+P,ee,re))return!0}return Gl(D,P,ee,re)}function Gl(D,P,ee,re){var ce=Yl(D,P,re);return ce=="multi"&&(D.state.keySeq=P),ce=="handled"&&Tr(D,"keyHandled",D,P,ee),(ce=="handled"||ce=="multi")&&(Ve(ee),vi(D)),!!ce}function Zs(D,P){var ee=Vl(P,!0);return ee?P.shiftKey&&!D.state.keySeq?ml(D,"Shift-"+ee,P,function(re){return Tl(D,re,!0)})||ml(D,ee,P,function(re){if(typeof re=="string"?/^go[A-Z]/.test(re):re.motion)return Tl(D,re)}):ml(D,ee,P,function(re){return Tl(D,re)}):!1}function Ql(D,P,ee){return ml(D,"'"+ee+"'",P,function(re){return Tl(D,re,!0)})}var Ro=null;function Ws(D){var P=this;if(D.target&&D.target!=P.display.input.getField())return;if(P.curOp.focus=z(),Xe(P,D))return;u&&i<11&&D.keyCode==27&&(D.returnValue=!1);var ee=D.keyCode;P.display.shift=ee==16||D.shiftKey;var re=Zs(P,D);d&&(Ro=re?ee:null,!re&&ee==88&&!_e&&(A?D.metaKey:D.ctrlKey)&&P.replaceSelection("",null,"cut")),b&&!A&&!re&&ee==46&&D.shiftKey&&!D.ctrlKey&&document.execCommand&&document.execCommand("cut"),ee==18&&!/\bCodeMirror-crosshair\b/.test(P.display.lineDiv.className)&&al(P)}function al(D){var P=D.display.lineDiv;W(P,"CodeMirror-crosshair");function ee(re){(re.keyCode==18||!re.altKey)&&(v(P,"CodeMirror-crosshair"),je(document,"keyup",ee),je(document,"mouseover",ee))}Me(document,"keyup",ee),Me(document,"mouseover",ee)}function Bs(D){D.keyCode==16&&(this.doc.sel.shift=!1),Xe(this,D)}function Us(D){var P=this;if(D.target&&D.target!=P.display.input.getField())return;if(xt(P.display,D)||Xe(P,D)||D.ctrlKey&&!D.altKey||A&&D.metaKey)return;var ee=D.keyCode,re=D.charCode;if(d&&ee==Ro){Ro=null,Ve(D);return}if(d&&(!D.which||D.which<10)&&Zs(P,D))return;var ce=String.fromCharCode(re==null?ee:re);if(ce=="\b")return;if(Ql(P,D,ce))return;P.display.input.onKeyPress(D)}var gl=400,xs=function(P,ee,re){this.time=P,this.pos=ee,this.button=re};xs.prototype.compare=function(D,P,ee){return this.time+gl>D&&zt(P,this.pos)==0&&ee==this.button};var ol,Js;function Pl(D,P){var ee=+new Date;return Js&&Js.compare(ee,D,P)?(ol=Js=null,"triple"):ol&&ol.compare(ee,D,P)?(Js=new xs(ee,D,P),ol=null,"double"):(ol=new xs(ee,D,P),Js=null,"single")}function _l(D){var P=this,ee=P.display;if(Xe(P,D)||ee.activeTouch&&ee.input.supportsTouch())return;if(ee.input.ensurePolled(),ee.shift=D.shiftKey,xt(ee,D)){a||(ee.scroller.draggable=!1,setTimeout(function(){return ee.scroller.draggable=!0},100));return}if(Ol(P,D))return;var re=ua(P,D),ce=Te(D),Be=re?Pl(re,ce):"single";if(window.focus(),ce==1&&P.state.selectingText&&P.state.selectingText(D),re&&vl(P,ce,re,Be,D))return;ce==1?re?Bl(P,re,Be,D):Ze(D)==ee.scroller&&Ve(D):ce==2?(re&&wo(P.doc,re),setTimeout(function(){return ee.input.focus()},20)):ce==3&&(T?P.display.input.onContextMenu(D):za(P))}function vl(D,P,ee,re,ce){var Be="Click";return re=="double"?Be="Double"+Be:re=="triple"&&(Be="Triple"+Be),Be=(P==1?"Left":P==2?"Middle":"Right")+Be,ml(D,kl(Be,ce),ce,function(yt){if(typeof yt=="string"&&(yt=Ks[yt]),!yt)return!1;var Dt=!1;try{D.isReadOnly()&&(D.state.suppressEdits=!0),Dt=yt(D,ee)!=Q}finally{D.state.suppressEdits=!1}return Dt})}function ql(D,P,ee){var re=D.getOption("configureMouse"),ce=re?re(D,P,ee):{};if(ce.unit==null){var Be=w?ee.shiftKey&&ee.metaKey:ee.altKey;ce.unit=Be?"rectangle":P=="single"?"char":P=="double"?"word":"line"}return(ce.extend==null||D.doc.extend)&&(ce.extend=D.doc.extend||ee.shiftKey),ce.addNew==null&&(ce.addNew=A?ee.metaKey:ee.ctrlKey),ce.moveOnDrag==null&&(ce.moveOnDrag=!(A?ee.altKey:ee.ctrlKey)),ce}function Bl(D,P,ee,re){u?setTimeout(j(Ya,D),0):D.curOp.focus=z();var ce=ql(D,ee,re),Be=D.doc.sel,yt;D.options.dragDrop&&Jt&&!D.isReadOnly()&&ee=="single"&&(yt=Be.contains(P))>-1&&(zt((yt=Be.ranges[yt]).from(),P)<0||P.xRel>0)&&(zt(yt.to(),P)>0||P.xRel<0)?yl(D,re,P,ce):lu(D,re,P,ce)}function yl(D,P,ee,re){var ce=D.display,Be=!1,yt=Ja(D,function(Yt){a&&(ce.scroller.draggable=!1),D.state.draggingText=!1,je(ce.wrapper.ownerDocument,"mouseup",yt),je(ce.wrapper.ownerDocument,"mousemove",Dt),je(ce.scroller,"dragstart",Kt),je(ce.scroller,"drop",yt),Be||(Ve(Yt),re.addNew||wo(D.doc,ee,null,null,re.extend),a&&!n||u&&i==9?setTimeout(function(){ce.wrapper.ownerDocument.body.focus({preventScroll:!0}),ce.input.focus()},20):ce.input.focus())}),Dt=function(Cr){Be=Be||Math.abs(P.clientX-Cr.clientX)+Math.abs(P.clientY-Cr.clientY)>=10},Kt=function(){return Be=!0};a&&(ce.scroller.draggable=!0),D.state.draggingText=yt,yt.copy=!re.moveOnDrag,ce.scroller.dragDrop&&ce.scroller.dragDrop(),Me(ce.wrapper.ownerDocument,"mouseup",yt),Me(ce.wrapper.ownerDocument,"mousemove",Dt),Me(ce.scroller,"dragstart",Kt),Me(ce.scroller,"drop",yt),za(D),setTimeout(function(){return ce.input.focus()},20)}function Zl(D,P,ee){if(ee=="char")return new me(P,P);if(ee=="word")return D.findWordAt(P);if(ee=="line")return new me(Rt(P.line,0),ht(D.doc,Rt(P.line+1,0)));var re=ee(D,P);return new me(re.from,re.to)}function lu(D,P,ee,re){var ce=D.display,Be=D.doc;Ve(P);var yt,Dt,Kt=Be.sel,Yt=Kt.ranges;if(re.addNew&&!re.extend?(Dt=Be.sel.contains(ee),Dt>-1?yt=Yt[Dt]:yt=new me(ee,ee)):(yt=Be.sel.primary(),Dt=Be.sel.primIndex),re.unit=="rectangle")re.addNew||(yt=new me(ee,ee)),ee=ua(D,P,!0,!0),Dt=-1;else{var Cr=Zl(D,ee,re.unit);re.extend?yt=Qo(yt,Cr.anchor,Cr.head,re.extend):yt=Cr}re.addNew?Dt==-1?(Dt=Yt.length,Eo(Be,Le(D,Yt.concat([yt]),Dt),{scroll:!1,origin:"*mouse"})):Yt.length>1&&Yt[Dt].empty()&&re.unit=="char"&&!re.extend?(Eo(Be,Le(D,Yt.slice(0,Dt).concat(Yt.slice(Dt+1)),0),{scroll:!1,origin:"*mouse"}),Kt=Be.sel):ns(Be,Dt,yt,G):(Dt=0,Eo(Be,new Pt([yt],0),G),Kt=Be.sel);var Ur=ee;function en(li){if(zt(Ur,li)==0)return;if(Ur=li,re.unit=="rectangle"){for(var $e=[],ie=D.options.tabSize,He=B(le(Be,ee.line).text,ee.ch,ie),tt=B(le(Be,li.line).text,li.ch,ie),Ot=Math.min(He,tt),tr=Math.max(He,tt),vr=Math.min(ee.line,li.line),Lr=Math.min(D.lastLine(),Math.max(ee.line,li.line));vr<=Lr;vr++){var Hr=le(Be,vr).text,zr=Ae(Hr,Ot,ie);Ot==tr?$e.push(new me(Rt(vr,zr),Rt(vr,zr))):Hr.length>zr&&$e.push(new me(Rt(vr,zr),Rt(vr,Ae(Hr,tr,ie))))}$e.length||$e.push(new me(ee,ee)),Eo(Be,Le(D,Kt.ranges.slice(0,Dt).concat($e),Dt),{origin:"*mouse",scroll:!1}),D.scrollIntoView(li)}else{var un=yt,sn=Zl(D,li,re.unit),kn=un.anchor,si;zt(sn.anchor,kn)>0?(si=sn.head,kn=dr(un.from(),sn.anchor)):(si=sn.anchor,kn=Mt(un.to(),sn.head));var zn=Kt.ranges.slice(0);zn[Dt]=Jl(D,new me(ht(Be,kn),si)),Eo(Be,Le(D,zn,Dt),G)}}var nn=ce.wrapper.getBoundingClientRect(),xn=0;function Bn(li){var $e=++xn,ie=ua(D,li,!0,re.unit=="rectangle");if(!ie)return;if(zt(ie,Ur)!=0){D.curOp.focus=z(),en(ie);var He=ja(ce,Be);(ie.line>=He.to||ie.line<He.from)&&setTimeout(Ja(D,function(){xn==$e&&Bn(li)}),150)}else{var tt=li.clientY<nn.top?-20:li.clientY>nn.bottom?20:0;tt&&setTimeout(Ja(D,function(){if(xn!=$e)return;ce.scroller.scrollTop+=tt,Bn(li)}),50)}}function Jn(li){D.state.selectingText=!1,xn=Infinity,li&&(Ve(li),ce.input.focus()),je(ce.wrapper.ownerDocument,"mousemove",Zn),je(ce.wrapper.ownerDocument,"mouseup",oi),Be.history.lastSelOrigin=null}var Zn=Ja(D,function(li){li.buttons===0||!Te(li)?Jn(li):Bn(li)}),oi=Ja(D,Jn);D.state.selectingText=oi,Me(ce.wrapper.ownerDocument,"mousemove",Zn),Me(ce.wrapper.ownerDocument,"mouseup",oi)}function Jl(D,P){var ee=P.anchor,re=P.head,ce=le(D.doc,ee.line);if(zt(ee,re)==0&&ee.sticky==re.sticky)return P;var Be=ze(ce);if(!Be)return P;var yt=ve(Be,ee.ch,ee.sticky),Dt=Be[yt];if(Dt.from!=ee.ch&&Dt.to!=ee.ch)return P;var Kt=yt+(Dt.from==ee.ch==(Dt.level!=1)?0:1);if(Kt==0||Kt==Be.length)return P;var Yt;if(re.line!=ee.line)Yt=(re.line-ee.line)*(D.doc.direction=="ltr"?1:-1)>0;else{var Cr=ve(Be,re.ch,re.sticky),Ur=Cr-yt||(re.ch-ee.ch)*(Dt.level==1?-1:1);Cr==Kt-1||Cr==Kt?Yt=Ur<0:Yt=Ur>0}var en=Be[Kt+(Yt?-1:0)],nn=Yt==(en.level==1),xn=nn?en.from:en.to,Bn=nn?"after":"before";return ee.ch==xn&&ee.sticky==Bn?P:new me(new Rt(ee.line,xn,Bn),re)}function $l(D,P,ee,re){var ce,Be;if(P.touches)ce=P.touches[0].clientX,Be=P.touches[0].clientY;else try{ce=P.clientX,Be=P.clientY}catch(en){return!1}if(ce>=Math.floor(D.display.gutters.getBoundingClientRect().right))return!1;re&&Ve(P);var yt=D.display,Dt=yt.lineDiv.getBoundingClientRect();if(Be>Dt.bottom||!et(D,ee))return ae(P);Be-=Dt.top-yt.viewOffset;for(var Kt=0;Kt<D.display.gutterSpecs.length;++Kt){var Yt=yt.gutters.childNodes[Kt];if(Yt&&Yt.getBoundingClientRect().right>=ce){var Cr=At(D.doc,Be),Ur=D.display.gutterSpecs[Kt];return st(D,ee,D,Cr,Ur.className,P),ae(P)}}}function Ol(D,P){return $l(D,P,"gutterClick",!0)}function eu(D,P){if(xt(D.display,P)||uu(D,P))return;if(Xe(D,P,"contextmenu"))return;T||D.display.input.onContextMenu(P)}function uu(D,P){return et(D,"gutterContextMenu")?$l(D,P,"gutterContextMenu",!1):!1}function Ll(D){D.display.wrapper.className=D.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+D.options.theme.replace(/(^|\s)\s*/g," cm-s-"),yi(D)}var js={toString:function(){return"CodeMirror.Init"}},Il={},Al={};function cu(D){var P=D.optionHandlers;function ee(re,ce,Be,yt){D.defaults[re]=ce,Be&&(P[re]=yt?function(Dt,Kt,Yt){Yt!=js&&Be(Dt,Kt,Yt)}:Be)}D.defineOption=ee,D.Init=js,ee("value","",function(re,ce){return re.setValue(ce)},!0),ee("mode",null,function(re,ce){re.doc.modeOption=ce,Rr(re)},!0),ee("indentUnit",2,Rr,!0),ee("indentWithTabs",!1),ee("smartIndent",!0),ee("tabSize",4,function(re){$r(re),yi(re),gi(re)},!0),ee("lineSeparator",null,function(re,ce){if(re.doc.lineSep=ce,!ce)return;var Be=[],yt=re.doc.first;re.doc.iter(function(Kt){for(var Yt=0;;){var Cr=Kt.text.indexOf(ce,Yt);if(Cr==-1)break;Yt=Cr+ce.length,Be.push(Rt(yt,Cr))}yt++});for(var Dt=Be.length-1;Dt>=0;Dt--)qo(re.doc,ce,Be[Dt],Rt(Be[Dt].line,Be[Dt].ch+ce.length))}),ee("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(re,ce,Be){re.state.specialChars=new RegExp(ce.source+(ce.test(" ")?"":"| "),"g"),Be!=js&&re.refresh()}),ee("specialCharPlaceholder",Wi,function(re){return re.refresh()},!0),ee("electricChars",!0),ee("inputStyle",p?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ee("spellcheck",!1,function(re,ce){return re.getInputField().spellcheck=ce},!0),ee("autocorrect",!1,function(re,ce){return re.getInputField().autocorrect=ce},!0),ee("autocapitalize",!1,function(re,ce){return re.getInputField().autocapitalize=ce},!0),ee("rtlMoveVisually",!C),ee("wholeLineUpdateBefore",!0),ee("theme","default",function(re){Ll(re),as(re)},!0),ee("keyMap","default",function(re,ce,Be){var yt=xl(ce),Dt=Be!=js&&xl(Be);Dt&&Dt.detach&&Dt.detach(re,yt),yt.attach&&yt.attach(re,Dt||null)}),ee("extraKeys",null),ee("configureMouse",null),ee("lineWrapping",!1,sl,!0),ee("gutters",[],function(re,ce){re.display.gutterSpecs=Ns(ce,re.options.lineNumbers),as(re)},!0),ee("fixedGutter",!0,function(re,ce){re.display.gutters.style.left=ce?Xi(re.display)+"px":"0",re.refresh()},!0),ee("coverGutterNextToScrollbar",!1,function(re){return Ra(re)},!0),ee("scrollbarStyle","native",function(re){vo(re),Ra(re),re.display.scrollbars.setScrollTop(re.doc.scrollTop),re.display.scrollbars.setScrollLeft(re.doc.scrollLeft)},!0),ee("lineNumbers",!1,function(re,ce){re.display.gutterSpecs=Ns(re.options.gutters,ce),as(re)},!0),ee("firstLineNumber",1,as,!0),ee("lineNumberFormatter",function(re){return re},as,!0),ee("showCursorWhenSelecting",!1,zi,!0),ee("resetSelectionOnContextMenu",!0),ee("lineWiseCopyCut",!0),ee("pasteLinesPerSelection",!0),ee("selectionsMayTouch",!1),ee("readOnly",!1,function(re,ce){ce=="nocursor"&&(Oi(re),re.display.input.blur()),re.display.input.readOnlyChanged(ce)}),ee("screenReaderLabel",null,function(re,ce){ce=ce===""?null:ce,re.display.input.screenReaderLabelChanged(ce)}),ee("disableInput",!1,function(re,ce){ce||re.display.input.reset()},!0),ee("dragDrop",!0,du),ee("allowDropFileTypes",null),ee("cursorBlinkRate",530),ee("cursorScrollMargin",0),ee("cursorHeight",1,zi,!0),ee("singleCursorHeightPerLine",!0,zi,!0),ee("workTime",100),ee("workDelay",100),ee("flattenSpans",!0,$r,!0),ee("addModeClass",!1,$r,!0),ee("pollInterval",100),ee("undoDepth",200,function(re,ce){return re.doc.history.undoDepth=ce}),ee("historyEventDelay",1250),ee("viewportMargin",10,function(re){return re.refresh()},!0),ee("maxHighlightLength",1e4,$r,!0),ee("moveInputWithCursor",!0,function(re,ce){ce||re.display.input.resetPosition()}),ee("tabindex",null,function(re,ce){return re.display.input.getField().tabIndex=ce||""}),ee("autofocus",null),ee("direction","ltr",function(re,ce){return re.doc.setDirection(ce)},!0),ee("phrases",null)}function du(D,P,ee){var re=ee&&ee!=js;if(!P!=!re){var ce=D.display.dragFunctions,Be=P?Me:je;Be(D.display.scroller,"dragstart",ce.start),Be(D.display.scroller,"dragenter",ce.enter),Be(D.display.scroller,"dragover",ce.over),Be(D.display.scroller,"dragleave",ce.leave),Be(D.display.scroller,"drop",ce.drop)}}function sl(D){D.options.lineWrapping?(W(D.display.wrapper,"CodeMirror-wrap"),D.display.sizer.style.minWidth="",D.display.sizerWidth=null):(v(D.display.wrapper,"CodeMirror-wrap"),jn(D)),Aa(D),gi(D),yi(D),setTimeout(function(){return Ra(D)},100)}function ct(D,P){var ee=this;if(!(this instanceof ct))return new ct(D,P);this.options=P=P?k(P):{},k(Il,P,!1);var re=P.value;typeof re=="string"?re=new es(re,P.mode,null,P.lineSeparator,P.direction):P.mode&&(re.modeOption=P.mode),this.doc=re;var ce=new ct.inputStyles[P.inputStyle](this),Be=this.display=new $s(D,re,ce,P);Be.wrapper.CodeMirror=this,Ll(this),P.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),vo(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new V,keySeq:null,specialChars:null},P.autofocus&&!p&&Be.input.focus(),u&&i<11&&setTimeout(function(){return ee.display.input.reset(!0)},20),Se(this),Wl(),Ji(this),this.curOp.forceUpdate=!0,Qn(this,re),P.autofocus&&!p||this.hasFocus()?setTimeout(function(){ee.hasFocus()&&!ee.state.focused&&pa(ee)},20):Oi(this);for(var yt in Al)Al.hasOwnProperty(yt)&&Al[yt](this,P[yt],js);ls(this),P.finishInit&&P.finishInit(this);for(var Dt=0;Dt<We.length;++Dt)We[Dt](this);xo(this),a&&P.lineWrapping&&getComputedStyle(Be.lineDiv).textRendering=="optimizelegibility"&&(Be.lineDiv.style.textRendering="auto")}ct.defaults=Il,ct.optionHandlers=Al;function Se(D){var P=D.display;Me(P.scroller,"mousedown",Ja(D,_l)),u&&i<11?Me(P.scroller,"dblclick",Ja(D,function(Kt){if(Xe(D,Kt))return;var Yt=ua(D,Kt);if(!Yt||Ol(D,Kt)||xt(D.display,Kt))return;Ve(Kt);var Cr=D.findWordAt(Yt);wo(D.doc,Cr.anchor,Cr.head)})):Me(P.scroller,"dblclick",function(Kt){return Xe(D,Kt)||Ve(Kt)}),Me(P.scroller,"contextmenu",function(Kt){return eu(D,Kt)}),Me(P.input.getField(),"contextmenu",function(Kt){P.scroller.contains(Kt.target)||eu(D,Kt)});var ee,re={end:0};function ce(){P.activeTouch&&(ee=setTimeout(function(){return P.activeTouch=null},1e3),re=P.activeTouch,re.end=+new Date)}function Be(Kt){if(Kt.touches.length!=1)return!1;var Yt=Kt.touches[0];return Yt.radiusX<=1&&Yt.radiusY<=1}function yt(Kt,Yt){if(Yt.left==null)return!0;var Cr=Yt.left-Kt.left,Ur=Yt.top-Kt.top;return Cr*Cr+Ur*Ur>20*20}Me(P.scroller,"touchstart",function(Kt){if(!Xe(D,Kt)&&!Be(Kt)&&!Ol(D,Kt)){P.input.ensurePolled(),clearTimeout(ee);var Yt=+new Date;P.activeTouch={start:Yt,moved:!1,prev:Yt-re.end<=300?re:null},Kt.touches.length==1&&(P.activeTouch.left=Kt.touches[0].pageX,P.activeTouch.top=Kt.touches[0].pageY)}}),Me(P.scroller,"touchmove",function(){P.activeTouch&&(P.activeTouch.moved=!0)}),Me(P.scroller,"touchend",function(Kt){var Yt=P.activeTouch;if(Yt&&!xt(P,Kt)&&Yt.left!=null&&!Yt.moved&&new Date-Yt.start<300){var Cr=D.coordsChar(P.activeTouch,"page"),Ur;!Yt.prev||yt(Yt,Yt.prev)?Ur=new me(Cr,Cr):!Yt.prev.prev||yt(Yt,Yt.prev.prev)?Ur=D.findWordAt(Cr):Ur=new me(Rt(Cr.line,0),ht(D.doc,Rt(Cr.line+1,0))),D.setSelection(Ur.anchor,Ur.head),D.focus(),Ve(Kt)}ce()}),Me(P.scroller,"touchcancel",ce),Me(P.scroller,"scroll",function(){P.scroller.clientHeight&&(Gi(D,P.scroller.scrollTop),go(D,P.scroller.scrollLeft,!0),st(D,"scroll",D))}),Me(P.scroller,"mousewheel",function(Kt){return Os(D,Kt)}),Me(P.scroller,"DOMMouseScroll",function(Kt){return Os(D,Kt)}),Me(P.wrapper,"scroll",function(){return P.wrapper.scrollTop=P.wrapper.scrollLeft=0}),P.dragFunctions={enter:function(Yt){Xe(D,Yt)||lt(Yt)},over:function(Yt){Xe(D,Yt)||(Ml(D,Yt),lt(Yt))},start:function(Yt){return Rl(D,Yt)},drop:Ja(D,au),leave:function(Yt){Xe(D,Yt)||bl(D)}};var Dt=P.input.getField();Me(Dt,"keyup",function(Kt){return Bs.call(D,Kt)}),Me(Dt,"keydown",Ja(D,Ws)),Me(Dt,"keypress",Ja(D,Us)),Me(Dt,"focus",function(Kt){return pa(D,Kt)}),Me(Dt,"blur",function(Kt){return Oi(D,Kt)})}var We=[];ct.defineInitHook=function(D){return We.push(D)};function St(D,P,ee,re){var ce=D.doc,Be;ee==null&&(ee="add"),ee=="smart"&&(ce.mode.indent?Be=Ht(D,P).state:ee="prev");var yt=D.options.tabSize,Dt=le(ce,P),Kt=B(Dt.text,null,yt);Dt.stateAfter&&(Dt.stateAfter=null);var Yt=Dt.text.match(/^\s*/)[0],Cr;if(!re&&!/\S/.test(Dt.text))Cr=0,ee="not";else if(ee=="smart"&&(Cr=ce.mode.indent(Be,Dt.text.slice(Yt.length),Dt.text),Cr==Q||Cr>150)){if(!re)return;ee="prev"}ee=="prev"?P>ce.first?Cr=B(le(ce,P-1).text,null,yt):Cr=0:ee=="add"?Cr=Kt+D.options.indentUnit:ee=="subtract"?Cr=Kt-D.options.indentUnit:typeof ee=="number"&&(Cr=Kt+ee),Cr=Math.max(0,Cr);var Ur="",en=0;if(D.options.indentWithTabs)for(var nn=Math.floor(Cr/yt);nn;--nn)en+=yt,Ur+=" ";if(en<Cr&&(Ur+=Pe(Cr-en)),Ur!=Yt)return qo(ce,Ur,Rt(P,0),Rt(P,Yt.length),"+input"),Dt.stateAfter=null,!0;for(var xn=0;xn<ce.sel.ranges.length;xn++){var Bn=ce.sel.ranges[xn];if(Bn.head.line==P&&Bn.head.ch<Yt.length){var Jn=Rt(P,Yt.length);ns(ce,xn,new me(Jn,Jn));break}}}var Ft=null;function qt(D){Ft=D}function ar(D,P,ee,re,ce){var Be=D.doc;D.display.shift=!1,re||(re=Be.sel);var yt=+new Date-200,Dt=ce=="paste"||D.state.pasteIncoming>yt,Kt=or(P),Yt=null;if(Dt&&re.ranges.length>1)if(Ft&&Ft.text.join(`
`)==P){if(re.ranges.length%Ft.text.length==0){Yt=[];for(var Cr=0;Cr<Ft.text.length;Cr++)Yt.push(Be.splitLines(Ft.text[Cr]))}}else Kt.length==re.ranges.length&&D.options.pasteLinesPerSelection&&(Yt=rt(Kt,function(Zn){return[Zn]}));for(var Ur=D.curOp.updateInput,en=re.ranges.length-1;en>=0;en--){var nn=re.ranges[en],xn=nn.from(),Bn=nn.to();nn.empty()&&(ee&&ee>0?xn=Rt(xn.line,xn.ch-ee):D.state.overwrite&&!Dt?Bn=Rt(Bn.line,Math.min(le(Be,Bn.line).text.length,Bn.ch+Re(Kt).length)):Dt&&Ft&&Ft.lineWise&&Ft.text.join(`
`)==Kt.join(`
`)&&(xn=Bn=Rt(xn.line,0)));var Jn={from:xn,to:Bn,text:Yt?Yt[en%Yt.length]:Kt,origin:ce||(Dt?"paste":D.state.cutIncoming>yt?"cut":"+input")};bs(D.doc,Jn),Tr(D,"inputRead",D,Jn)}P&&!Dt&&yr(D,P),La(D),D.curOp.updateInput<2&&(D.curOp.updateInput=Ur),D.curOp.typing=!0,D.state.pasteIncoming=D.state.cutIncoming=-1}function lr(D,P){var ee=D.clipboardData&&D.clipboardData.getData("Text");if(ee)return D.preventDefault(),!P.isReadOnly()&&!P.options.disableInput&&bo(P,function(){return ar(P,ee,0,null,"paste")}),!0}function yr(D,P){if(!D.options.electricChars||!D.options.smartIndent)return;for(var ee=D.doc.sel,re=ee.ranges.length-1;re>=0;re--){var ce=ee.ranges[re];if(ce.head.ch>100||re&&ee.ranges[re-1].head.line==ce.head.line)continue;var Be=D.getModeAt(ce.head),yt=!1;if(Be.electricChars){for(var Dt=0;Dt<Be.electricChars.length;Dt++)if(P.indexOf(Be.electricChars.charAt(Dt))>-1){yt=St(D,ce.head.line,"smart");break}}else Be.electricInput&&(Be.electricInput.test(le(D.doc,ce.head.line).text.slice(0,ce.head.ch))&&(yt=St(D,ce.head.line,"smart")));yt&&Tr(D,"electricInput",D,ce.head.line)}}function Vr(D){for(var P=[],ee=[],re=0;re<D.doc.sel.ranges.length;re++){var ce=D.doc.sel.ranges[re].head.line,Be={anchor:Rt(ce,0),head:Rt(ce+1,0)};ee.push(Be),P.push(D.getRange(Be.anchor,Be.head))}return{text:P,ranges:ee}}function Xr(D,P,ee,re){D.setAttribute("autocorrect",ee?"":"off"),D.setAttribute("autocapitalize",re?"":"off"),D.setAttribute("spellcheck",!!P)}function Br(){var D=L("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),P=L("div",[D],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return a?D.style.width="1000px":D.setAttribute("wrap","off"),s&&(D.style.border="1px solid black"),Xr(D),P}function Fr(D){var P=D.optionHandlers,ee=D.helpers={};D.prototype={constructor:D,focus:function(){window.focus(),this.display.input.focus()},setOption:function(ce,Be){var yt=this.options,Dt=yt[ce];if(yt[ce]==Be&&ce!="mode")return;yt[ce]=Be,P.hasOwnProperty(ce)&&Ja(this,P[ce])(this,Be,Dt),st(this,"optionChange",this,ce)},getOption:function(ce){return this.options[ce]},getDoc:function(){return this.doc},addKeyMap:function(ce,Be){this.state.keyMaps[Be?"push":"unshift"](xl(ce))},removeKeyMap:function(ce){for(var Be=this.state.keyMaps,yt=0;yt<Be.length;++yt)if(Be[yt]==ce||Be[yt].name==ce)return Be.splice(yt,1),!0},addOverlay:Ga(function(re,ce){var Be=re.token?re:D.getMode(this.options,re);if(Be.startState)throw new Error("Overlays may not be stateful.");ne(this.state.overlays,{mode:Be,modeSpec:re,opaque:ce&&ce.opaque,priority:ce&&ce.priority||0},function(yt){return yt.priority}),this.state.modeGen++,gi(this)}),removeOverlay:Ga(function(re){for(var ce=this.state.overlays,Be=0;Be<ce.length;++Be){var yt=ce[Be].modeSpec;if(yt==re||typeof re=="string"&&yt.name==re){ce.splice(Be,1),this.state.modeGen++,gi(this);return}}}),indentLine:Ga(function(re,ce,Be){typeof ce!="string"&&typeof ce!="number"&&(ce==null?ce=this.options.smartIndent?"smart":"prev":ce=ce?"add":"subtract"),Wt(this.doc,re)&&St(this,re,ce,Be)}),indentSelection:Ga(function(re){for(var ce=this.doc.sel.ranges,Be=-1,yt=0;yt<ce.length;yt++){var Dt=ce[yt];if(Dt.empty())Dt.head.line>Be&&(St(this,Dt.head.line,re,!0),Be=Dt.head.line,yt==this.doc.sel.primIndex&&La(this));else{var Kt=Dt.from(),Yt=Dt.to(),Cr=Math.max(Be,Kt.line);Be=Math.min(this.lastLine(),Yt.line-(Yt.ch?0:1))+1;for(var Ur=Cr;Ur<Be;++Ur)St(this,Ur,re);var en=this.doc.sel.ranges;Kt.ch==0&&ce.length==en.length&&en[yt].from().ch>0&&ns(this.doc,yt,new me(Kt,en[yt].to()),he)}}}),getTokenAt:function(ce,Be){return Ar(this,ce,Be)},getLineTokens:function(ce,Be){return Ar(this,Rt(ce),Be,!0)},getTokenTypeAt:function(ce){ce=ht(this.doc,ce);var Be=gt(this,le(this.doc,ce.line)),yt=0,Dt=(Be.length-1)/2,Kt=ce.ch,Yt;if(Kt==0)Yt=Be[2];else for(;;){var Cr=yt+Dt>>1;if((Cr?Be[Cr*2-1]:0)>=Kt)Dt=Cr;else if(Be[Cr*2+1]<Kt)yt=Cr+1;else{Yt=Be[Cr*2+2];break}}var Ur=Yt?Yt.indexOf("overlay "):-1;return Ur<0?Yt:Ur==0?null:Yt.slice(0,Ur-1)},getModeAt:function(ce){var Be=this.doc.mode;return Be.innerMode?D.innerMode(Be,this.getTokenAt(ce).state).mode:Be},getHelper:function(ce,Be){return this.getHelpers(ce,Be)[0]},getHelpers:function(ce,Be){var yt=[];if(!ee.hasOwnProperty(Be))return yt;var Dt=ee[Be],Kt=this.getModeAt(ce);if(typeof Kt[Be]=="string")Dt[Kt[Be]]&&yt.push(Dt[Kt[Be]]);else if(Kt[Be])for(var Yt=0;Yt<Kt[Be].length;Yt++){var Cr=Dt[Kt[Be][Yt]];Cr&&yt.push(Cr)}else Kt.helperType&&Dt[Kt.helperType]?yt.push(Dt[Kt.helperType]):Dt[Kt.name]&&yt.push(Dt[Kt.name]);for(var Ur=0;Ur<Dt._global.length;Ur++){var en=Dt._global[Ur];en.pred(Kt,this)&&K(yt,en.val)==-1&&yt.push(en.val)}return yt},getStateAfter:function(ce,Be){var yt=this.doc;return ce=er(yt,ce==null?yt.first+yt.size-1:ce),Ht(this,ce+1,Be).state},cursorCoords:function(ce,Be){var yt,Dt=this.doc.sel.primary();return ce==null?yt=Dt.head:typeof ce=="object"?yt=ht(this.doc,ce):yt=ce?Dt.from():Dt.to(),Mi(this,yt,Be||"page")},charCoords:function(ce,Be){return Ui(this,ht(this.doc,ce),Be||"page")},coordsChar:function(ce,Be){return ce=fa(this,ce,Be||"page"),qi(this,ce.left,ce.top)},lineAtHeight:function(ce,Be){return ce=fa(this,{top:ce,left:0},Be||"page").top,At(this.doc,ce+this.display.viewOffset)},heightAtLine:function(ce,Be,yt){var Dt=!1,Kt;if(typeof ce=="number"){var Yt=this.doc.first+this.doc.size-1;ce<this.doc.first?ce=this.doc.first:ce>Yt&&(ce=Yt,Dt=!0),Kt=le(this.doc,ce)}else Kt=ce;return Ri(this,Kt,{top:0,left:0},Be||"page",yt||Dt).top+(Dt?this.doc.height-_n(Kt):0)},defaultTextHeight:function(){return Ai(this.display)},defaultCharWidth:function(){return Li(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(ce,Be,yt,Dt,Kt){var Yt=this.display;ce=Mi(this,ht(this.doc,ce));var Cr=ce.bottom,Ur=ce.left;if(Be.style.position="absolute",Be.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(Be),Yt.sizer.appendChild(Be),Dt=="over")Cr=ce.top;else if(Dt=="above"||Dt=="near"){var en=Math.max(Yt.wrapper.clientHeight,this.doc.height),nn=Math.max(Yt.sizer.clientWidth,Yt.lineSpace.clientWidth);(Dt=="above"||ce.bottom+Be.offsetHeight>en)&&ce.top>Be.offsetHeight?Cr=ce.top-Be.offsetHeight:ce.bottom+Be.offsetHeight<=en&&(Cr=ce.bottom),Ur+Be.offsetWidth>nn&&(Ur=nn-Be.offsetWidth)}Be.style.top=Cr+"px",Be.style.left=Be.style.right="",Kt=="right"?(Ur=Yt.sizer.clientWidth-Be.offsetWidth,Be.style.right="0px"):(Kt=="left"?Ur=0:Kt=="middle"&&(Ur=(Yt.sizer.clientWidth-Be.offsetWidth)/2),Be.style.left=Ur+"px"),yt&&Ca(this,{left:Ur,top:Cr,right:Ur+Be.offsetWidth,bottom:Cr+Be.offsetHeight})},triggerOnKeyDown:Ga(Ws),triggerOnKeyPress:Ga(Us),triggerOnKeyUp:Bs,triggerOnMouseDown:Ga(_l),execCommand:function(ce){if(Ks.hasOwnProperty(ce))return Ks[ce].call(null,this)},triggerElectric:Ga(function(re){yr(this,re)}),findPosH:function(ce,Be,yt,Dt){var Kt=1;Be<0&&(Kt=-1,Be=-Be);for(var Yt=ht(this.doc,ce),Cr=0;Cr<Be&&!(Yt=Gr(this.doc,Yt,Kt,yt,Dt),Yt.hitSide);++Cr);return Yt},moveH:Ga(function(re,ce){var Be=this;this.extendSelectionsBy(function(yt){return Be.display.shift||Be.doc.extend||yt.empty()?Gr(Be.doc,yt.head,re,ce,Be.options.rtlMoveVisually):re<0?yt.from():yt.to()},ye)}),deleteH:Ga(function(re,ce){var Be=this.doc.sel,yt=this.doc;Be.somethingSelected()?yt.replaceSelection("",null,"+delete"):Qs(this,function(Dt){var Kt=Gr(yt,Dt.head,re,ce,!1);return re<0?{from:Kt,to:Dt.head}:{from:Dt.head,to:Kt}})}),findPosV:function(ce,Be,yt,Dt){var Kt=1,Yt=Dt;Be<0&&(Kt=-1,Be=-Be);for(var Cr=ht(this.doc,ce),Ur=0;Ur<Be;++Ur){var en=Mi(this,Cr,"div");if(Yt==null?Yt=en.left:en.left=Yt,Cr=dn(this,en,Kt,yt),Cr.hitSide)break}return Cr},moveV:Ga(function(re,ce){var Be=this,yt=this.doc,Dt=[],Kt=!this.display.shift&&!yt.extend&&yt.sel.somethingSelected();if(yt.extendSelectionsBy(function(Cr){if(Kt)return re<0?Cr.from():Cr.to();var Ur=Mi(Be,Cr.head,"div");Cr.goalColumn!=null&&(Ur.left=Cr.goalColumn),Dt.push(Ur.left);var en=dn(Be,Ur,re,ce);return ce=="page"&&Cr==yt.sel.primary()&&_o(Be,Ui(Be,en,"div").top-Ur.top),en},ye),Dt.length)for(var Yt=0;Yt<yt.sel.ranges.length;Yt++)yt.sel.ranges[Yt].goalColumn=Dt[Yt]}),findWordAt:function(ce){var Be=this.doc,yt=le(Be,ce.line).text,Dt=ce.ch,Kt=ce.ch;if(yt){var Yt=this.getHelper(ce,"wordChars");(ce.sticky=="before"||Kt==yt.length)&&Dt?--Dt:++Kt;for(var Cr=yt.charAt(Dt),Ur=X(Cr,Yt)?function(en){return X(en,Yt)}:/\s/.test(Cr)?function(en){return/\s/.test(en)}:function(en){return!/\s/.test(en)&&!X(en)};Dt>0&&Ur(yt.charAt(Dt-1));)--Dt;for(;Kt<yt.length&&Ur(yt.charAt(Kt));)++Kt}return new me(Rt(ce.line,Dt),Rt(ce.line,Kt))},toggleOverwrite:function(ce){if(ce!=null&&ce==this.state.overwrite)return;(this.state.overwrite=!this.state.overwrite)?W(this.display.cursorDiv,"CodeMirror-overwrite"):v(this.display.cursorDiv,"CodeMirror-overwrite"),st(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==z()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Ga(function(re,ce){ki(this,re,ce)}),getScrollInfo:function(){var ce=this.display.scroller;return{left:ce.scrollLeft,top:ce.scrollTop,height:ce.scrollHeight-Mr(this)-this.display.barHeight,width:ce.scrollWidth-Mr(this)-this.display.barWidth,clientHeight:rn(this),clientWidth:Dr(this)}},scrollIntoView:Ga(function(re,ce){re==null?(re={from:this.doc.sel.primary().head,to:null},ce==null&&(ce=this.options.cursorScrollMargin)):typeof re=="number"?re={from:Rt(re,0),to:null}:re.from==null&&(re={from:re,to:null}),re.to||(re.to=re.from),re.margin=ce||0,re.from.line!=null?Za(this,re):pi(this,re.from,re.to,re.margin)}),setSize:Ga(function(re,ce){var Be=this,yt=function(Yt){return typeof Yt=="number"||/^\d+$/.test(String(Yt))?Yt+"px":Yt};re!=null&&(this.display.wrapper.style.width=yt(re)),ce!=null&&(this.display.wrapper.style.height=yt(ce)),this.options.lineWrapping&&Di(this);var Dt=this.display.viewFrom;this.doc.iter(Dt,this.display.viewTo,function(Kt){if(Kt.widgets){for(var Yt=0;Yt<Kt.widgets.length;Yt++)if(Kt.widgets[Yt].noHScroll){Pa(Be,Dt,"widget");break}}++Dt}),this.curOp.forceUpdate=!0,st(this,"refresh",this)}),operation:function(ce){return bo(this,ce)},startOperation:function(){return Ji(this)},endOperation:function(){return xo(this)},refresh:Ga(function(){var re=this.display.cachedTextHeight;gi(this),this.curOp.forceUpdate=!0,yi(this),ki(this,this.doc.scrollLeft,this.doc.scrollTop),Bo(this.display),(re==null||Math.abs(re-Ai(this.display))>.5||this.options.lineWrapping)&&Aa(this),st(this,"refresh",this)}),swapDoc:Ga(function(re){var ce=this.doc;return ce.cm=null,this.state.selectingText&&this.state.selectingText(),Qn(this,re),yi(this),this.display.input.reset(),ki(this,re.scrollLeft,re.scrollTop),this.curOp.forceScroll=!0,Tr(this,"swapDoc",this,ce),ce}),phrase:function(ce){var Be=this.options.phrases;return Be&&Object.prototype.hasOwnProperty.call(Be,ce)?Be[ce]:ce},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},ot(D),D.registerHelper=function(re,ce,Be){ee.hasOwnProperty(re)||(ee[re]=D[re]={_global:[]}),ee[re][ce]=Be},D.registerGlobalHelper=function(re,ce,Be,yt){D.registerHelper(re,ce,yt),ee[re]._global.push({pred:Be,val:yt})}}function Gr(D,P,ee,re,ce){var Be=P,yt=ee,Dt=le(D,P.line),Kt=ce&&D.direction=="rtl"?-ee:ee;function Yt(){var oi=P.line+Kt;return oi<D.first||oi>=D.first+D.size?!1:(P=new Rt(oi,P.ch,P.sticky),Dt=le(D,oi))}function Cr(oi){var li;if(re=="codepoint"){var $e=Dt.text.charCodeAt(P.ch+(re>0?0:-1));isNaN($e)?li=null:li=new Rt(P.line,Math.max(0,Math.min(Dt.text.length,P.ch+ee*($e>=55296&&$e<56320?2:1))),-ee)}else ce?li=El(D.cm,Dt,P,ee):li=il(Dt,P,ee);if(li==null)if(!oi&&Yt())P=fl(ce,D.cm,Dt,P.line,Kt);else return!1;else P=li;return!0}if(re=="char"||re=="codepoint")Cr();else if(re=="column")Cr(!0);else if(re=="word"||re=="group")for(var Ur=null,en=re=="group",nn=D.cm&&D.cm.getHelper(P,"wordChars"),xn=!0;!(ee<0&&!Cr(!xn));xn=!1){var Bn=Dt.text.charAt(P.ch)||`
`,Jn=X(Bn,nn)?"w":en&&Bn==`
`?"n":!en||/\s/.test(Bn)?null:"p";if(en&&!xn&&!Jn&&(Jn="s"),Ur&&Ur!=Jn){ee<0&&(ee=1,Cr(),P.sticky="after");break}if(Jn&&(Ur=Jn),ee>0&&!Cr(!xn))break}var Zn=Ms(D,P,Be,yt,!0);return Gt(Be,Zn)&&(Zn.hitSide=!0),Zn}function dn(D,P,ee,re){var ce=D.doc,Be=P.left,yt;if(re=="page"){var Dt=Math.min(D.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Kt=Math.max(Dt-.5*Ai(D.display),3);yt=(ee>0?P.bottom:P.top)+ee*Kt}else re=="line"&&(yt=ee>0?P.bottom+3:P.top-3);for(var Yt;!(Yt=qi(D,Be,yt),!Yt.outside);){if(ee<0?yt<=0:yt>=ce.height){Yt.hitSide=!0;break}yt+=ee*5}return Yt}var pn=function(P){this.cm=P,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new V,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};pn.prototype.init=function(D){var P=this,ee=this,re=ee.cm,ce=ee.div=D.lineDiv;Xr(ce,re.options.spellcheck,re.options.autocorrect,re.options.autocapitalize);function Be(Dt){for(var Kt=Dt.target;Kt;Kt=Kt.parentNode){if(Kt==ce)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Kt.className))break}return!1}Me(ce,"paste",function(Dt){if(!Be(Dt)||Xe(re,Dt)||lr(Dt,re))return;i<=11&&setTimeout(Ja(re,function(){return P.updateFromDOM()}),20)}),Me(ce,"compositionstart",function(Dt){P.composing={data:Dt.data,done:!1}}),Me(ce,"compositionupdate",function(Dt){P.composing||(P.composing={data:Dt.data,done:!1})}),Me(ce,"compositionend",function(Dt){P.composing&&(Dt.data!=P.composing.data&&P.readFromDOMSoon(),P.composing.done=!0)}),Me(ce,"touchstart",function(){return ee.forceCompositionEnd()}),Me(ce,"input",function(){P.composing||P.readFromDOMSoon()});function yt(Dt){if(!Be(Dt)||Xe(re,Dt))return;if(re.somethingSelected())qt({lineWise:!1,text:re.getSelections()}),Dt.type=="cut"&&re.replaceSelection("",null,"cut");else if(re.options.lineWiseCopyCut){var Kt=Vr(re);qt({lineWise:!0,text:Kt.text}),Dt.type=="cut"&&re.operation(function(){re.setSelections(Kt.ranges,0,he),re.replaceSelection("",null,"cut")})}else return;if(Dt.clipboardData){Dt.clipboardData.clearData();var Yt=Ft.text.join(`
`);if(Dt.clipboardData.setData("Text",Yt),Dt.clipboardData.getData("Text")==Yt){Dt.preventDefault();return}}var Cr=Br(),Ur=Cr.firstChild;re.display.lineSpace.insertBefore(Cr,re.display.lineSpace.firstChild),Ur.value=Ft.text.join(`
`);var en=document.activeElement;H(Ur),setTimeout(function(){re.display.lineSpace.removeChild(Cr),en.focus(),en==ce&&ee.showPrimarySelection()},50)}Me(ce,"copy",yt),Me(ce,"cut",yt)},pn.prototype.screenReaderLabelChanged=function(D){D?this.div.setAttribute("aria-label",D):this.div.removeAttribute("aria-label")},pn.prototype.prepareSelection=function(){var D=Ki(this.cm,!1);return D.focus=document.activeElement==this.div,D},pn.prototype.showSelection=function(D,P){if(!D||!this.cm.display.view.length)return;(D.focus||P)&&this.showPrimarySelection(),this.showMultipleSelections(D)},pn.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},pn.prototype.showPrimarySelection=function(){var D=this.getSelection(),P=this.cm,ee=P.doc.sel.primary(),re=ee.from(),ce=ee.to();if(P.display.viewTo==P.display.viewFrom||re.line>=P.display.viewTo||ce.line<P.display.viewFrom){D.removeAllRanges();return}var Be=Si(P,D.anchorNode,D.anchorOffset),yt=Si(P,D.focusNode,D.focusOffset);if(Be&&!Be.bad&&yt&&!yt.bad&&zt(dr(Be,yt),re)==0&&zt(Mt(Be,yt),ce)==0)return;var Dt=P.display.view,Kt=re.line>=P.display.viewFrom&&ei(P,re)||{node:Dt[0].measure.map[2],offset:0},Yt=ce.line<P.display.viewTo&&ei(P,ce);if(!Yt){var Cr=Dt[Dt.length-1].measure,Ur=Cr.maps?Cr.maps[Cr.maps.length-1]:Cr.map;Yt={node:Ur[Ur.length-1],offset:Ur[Ur.length-2]-Ur[Ur.length-3]}}if(!Kt||!Yt){D.removeAllRanges();return}var en=D.rangeCount&&D.getRangeAt(0),nn;try{nn=F(Kt.node,Kt.offset,Yt.offset,Yt.node)}catch(xn){}nn&&(!b&&P.state.focused?(D.collapse(Kt.node,Kt.offset),nn.collapsed||(D.removeAllRanges(),D.addRange(nn))):(D.removeAllRanges(),D.addRange(nn)),en&&D.anchorNode==null?D.addRange(en):b&&this.startGracePeriod()),this.rememberSelection()},pn.prototype.startGracePeriod=function(){var D=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){D.gracePeriod=!1,D.selectionChanged()&&D.cm.operation(function(){return D.cm.curOp.selectionChanged=!0})},20)},pn.prototype.showMultipleSelections=function(D){O(this.cm.display.cursorDiv,D.cursors),O(this.cm.display.selectionDiv,D.selection)},pn.prototype.rememberSelection=function(){var D=this.getSelection();this.lastAnchorNode=D.anchorNode,this.lastAnchorOffset=D.anchorOffset,this.lastFocusNode=D.focusNode,this.lastFocusOffset=D.focusOffset},pn.prototype.selectionInEditor=function(){var D=this.getSelection();if(!D.rangeCount)return!1;var P=D.getRangeAt(0).commonAncestorContainer;return U(this.div,P)},pn.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},pn.prototype.blur=function(){this.div.blur()},pn.prototype.getField=function(){return this.div},pn.prototype.supportsTouch=function(){return!0},pn.prototype.receivedFocus=function(){var D=this;this.selectionInEditor()?this.pollSelection():bo(this.cm,function(){return D.cm.curOp.selectionChanged=!0});function P(){D.cm.state.focused&&(D.pollSelection(),D.polling.set(D.cm.options.pollInterval,P))}this.polling.set(this.cm.options.pollInterval,P)},pn.prototype.selectionChanged=function(){var D=this.getSelection();return D.anchorNode!=this.lastAnchorNode||D.anchorOffset!=this.lastAnchorOffset||D.focusNode!=this.lastFocusNode||D.focusOffset!=this.lastFocusOffset},pn.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;var D=this.getSelection(),P=this.cm;if(c&&o&&this.cm.display.gutterSpecs.length&&ui(D.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();var ee=Si(P,D.anchorNode,D.anchorOffset),re=Si(P,D.focusNode,D.focusOffset);ee&&re&&bo(P,function(){Eo(P.doc,Ne(ee,re),he),(ee.bad||re.bad)&&(P.curOp.selectionChanged=!0)})},pn.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var D=this.cm,P=D.display,ee=D.doc.sel.primary(),re=ee.from(),ce=ee.to();if(re.ch==0&&re.line>D.firstLine()&&(re=Rt(re.line-1,le(D.doc,re.line-1).length)),ce.ch==le(D.doc,ce.line).text.length&&ce.line<D.lastLine()&&(ce=Rt(ce.line+1,0)),re.line<P.viewFrom||ce.line>P.viewTo-1)return!1;var Be,yt,Dt;re.line==P.viewFrom||(Be=la(D,re.line))==0?(yt=nt(P.view[0].line),Dt=P.view[0].node):(yt=nt(P.view[Be].line),Dt=P.view[Be-1].node.nextSibling);var Kt=la(D,ce.line),Yt,Cr;if(Kt==P.view.length-1?(Yt=P.viewTo-1,Cr=P.lineDiv.lastChild):(Yt=nt(P.view[Kt+1].line)-1,Cr=P.view[Kt+1].node.previousSibling),!Dt)return!1;for(var Ur=D.doc.splitLines(Zi(D,Dt,Cr,yt,Yt)),en=Oe(D.doc,Rt(yt,0),Rt(Yt,le(D.doc,Yt).text.length));Ur.length>1&&en.length>1;)if(Re(Ur)==Re(en))Ur.pop(),en.pop(),Yt--;else if(Ur[0]==en[0])Ur.shift(),en.shift(),yt++;else break;for(var nn=0,xn=0,Bn=Ur[0],Jn=en[0],Zn=Math.min(Bn.length,Jn.length);nn<Zn&&Bn.charCodeAt(nn)==Jn.charCodeAt(nn);)++nn;for(var oi=Re(Ur),li=Re(en),$e=Math.min(oi.length-(Ur.length==1?nn:0),li.length-(en.length==1?nn:0));xn<$e&&oi.charCodeAt(oi.length-xn-1)==li.charCodeAt(li.length-xn-1);)++xn;if(Ur.length==1&&en.length==1&&yt==re.line)for(;nn&&nn>re.ch&&oi.charCodeAt(oi.length-xn-1)==li.charCodeAt(li.length-xn-1);)nn--,xn++;Ur[Ur.length-1]=oi.slice(0,oi.length-xn).replace(/^\u200b+/,""),Ur[0]=Ur[0].slice(nn).replace(/\u200b+$/,"");var ie=Rt(yt,nn),He=Rt(Yt,en.length?Re(en).length-xn:0);if(Ur.length>1||Ur[0]||zt(ie,He))return qo(D.doc,Ur,ie,He,"+input"),!0},pn.prototype.ensurePolled=function(){this.forceCompositionEnd()},pn.prototype.reset=function(){this.forceCompositionEnd()},pn.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},pn.prototype.readFromDOMSoon=function(){var D=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(D.readDOMTimeout=null,D.composing)if(D.composing.done)D.composing=null;else return;D.updateFromDOM()},80)},pn.prototype.updateFromDOM=function(){var D=this;(this.cm.isReadOnly()||!this.pollContent())&&bo(this.cm,function(){return gi(D.cm)})},pn.prototype.setUneditable=function(D){D.contentEditable="false"},pn.prototype.onKeyPress=function(D){if(D.charCode==0||this.composing)return;D.preventDefault(),this.cm.isReadOnly()||Ja(this.cm,ar)(this.cm,String.fromCharCode(D.charCode==null?D.keyCode:D.charCode),0)},pn.prototype.readOnlyChanged=function(D){this.div.contentEditable=String(D!="nocursor")},pn.prototype.onContextMenu=function(){},pn.prototype.resetPosition=function(){},pn.prototype.needsContentAttribute=!0;function ei(D,P){var ee=bn(D,P.line);if(!ee||ee.hidden)return null;var re=le(D.doc,P.line),ce=wn(ee,re,P.line),Be=ze(re,D.doc.direction),yt="left";if(Be){var Dt=ve(Be,P.ch);yt=Dt%2?"right":"left"}var Kt=En(ce.map,P.ch,yt);return Kt.offset=Kt.collapse=="right"?Kt.end:Kt.start,Kt}function ui(D){for(var P=D;P;P=P.parentNode)if(/CodeMirror-gutter-wrapper/.test(P.className))return!0;return!1}function ii(D,P){return P&&(D.bad=!0),D}function Zi(D,P,ee,re,ce){var Be="",yt=!1,Dt=D.doc.lineSeparator(),Kt=!1;function Yt(nn){return function(xn){return xn.id==nn}}function Cr(){yt&&(Be+=Dt,Kt&&(Be+=Dt),yt=Kt=!1)}function Ur(nn){nn&&(Cr(),Be+=nn)}function en(nn){if(nn.nodeType==1){var xn=nn.getAttribute("cm-text");if(xn){Ur(xn);return}var Bn=nn.getAttribute("cm-marker"),Jn;if(Bn){var Zn=D.findMarks(Rt(re,0),Rt(ce+1,0),Yt(+Bn));Zn.length&&(Jn=Zn[0].find(0))&&Ur(Oe(D.doc,Jn.from,Jn.to).join(Dt));return}if(nn.getAttribute("contenteditable")=="false")return;var oi=/^(pre|div|p|li|table|br)$/i.test(nn.nodeName);if(!/^br$/i.test(nn.nodeName)&&nn.textContent.length==0)return;oi&&Cr();for(var li=0;li<nn.childNodes.length;li++)en(nn.childNodes[li]);/^(pre|p)$/i.test(nn.nodeName)&&(Kt=!0),oi&&(yt=!0)}else nn.nodeType==3&&Ur(nn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;!(en(P),P==ee);)P=P.nextSibling,Kt=!1;return Be}function Si(D,P,ee){var re;if(P==D.display.lineDiv){if(re=D.display.lineDiv.childNodes[ee],!re)return ii(D.clipPos(Rt(D.display.viewTo-1)),!0);P=null,ee=0}else for(re=P;;re=re.parentNode){if(!re||re==D.display.lineDiv)return null;if(re.parentNode&&re.parentNode==D.display.lineDiv)break}for(var ce=0;ce<D.display.view.length;ce++){var Be=D.display.view[ce];if(Be.node==re)return Va(Be,P,ee)}}function Va(D,P,ee){var re=D.text.firstChild,ce=!1;if(!P||!U(re,P))return ii(Rt(nt(D.line),0),!0);if(P==re&&(ce=!0,P=re.childNodes[ee],ee=0,!P)){var Be=D.rest?Re(D.rest):D.line;return ii(Rt(nt(Be),Be.text.length),ce)}var yt=P.nodeType==3?P:null,Dt=P;for(!yt&&P.childNodes.length==1&&P.firstChild.nodeType==3&&(yt=P.firstChild,ee&&(ee=yt.nodeValue.length));Dt.parentNode!=re;)Dt=Dt.parentNode;var Kt=D.measure,Yt=Kt.maps;function Cr(Jn,Zn,oi){for(var li=-1;li<(Yt?Yt.length:0);li++)for(var $e=li<0?Kt.map:Yt[li],ie=0;ie<$e.length;ie+=3){var He=$e[ie+2];if(He==Jn||He==Zn){var tt=nt(li<0?D.line:D.rest[li]),Ot=$e[ie]+oi;return(oi<0||He!=Jn)&&(Ot=$e[ie+(oi?1:0)]),Rt(tt,Ot)}}}var Ur=Cr(yt,Dt,ee);if(Ur)return ii(Ur,ce);for(var en=Dt.nextSibling,nn=yt?yt.nodeValue.length-ee:0;en;en=en.nextSibling){if(Ur=Cr(en,en.firstChild,0),Ur)return ii(Rt(Ur.line,Ur.ch-nn),ce);nn+=en.textContent.length}for(var xn=Dt.previousSibling,Bn=ee;xn;xn=xn.previousSibling){if(Ur=Cr(xn,xn.firstChild,-1),Ur)return ii(Rt(Ur.line,Ur.ch+Bn),ce);Bn+=xn.textContent.length}}var Ei=function(P){this.cm=P,this.prevInput="",this.pollingFast=!1,this.polling=new V,this.hasSelection=!1,this.composing=null};Ei.prototype.init=function(D){var P=this,ee=this,re=this.cm;this.createField(D);var ce=this.textarea;D.wrapper.insertBefore(this.wrapper,D.wrapper.firstChild),s&&(ce.style.width="0px"),Me(ce,"input",function(){u&&i>=9&&P.hasSelection&&(P.hasSelection=null),ee.poll()}),Me(ce,"paste",function(yt){if(Xe(re,yt)||lr(yt,re))return;re.state.pasteIncoming=+new Date,ee.fastPoll()});function Be(yt){if(Xe(re,yt))return;if(re.somethingSelected())qt({lineWise:!1,text:re.getSelections()});else if(re.options.lineWiseCopyCut){var Dt=Vr(re);qt({lineWise:!0,text:Dt.text}),yt.type=="cut"?re.setSelections(Dt.ranges,null,he):(ee.prevInput="",ce.value=Dt.text.join(`
`),H(ce))}else return;yt.type=="cut"&&(re.state.cutIncoming=+new Date)}Me(ce,"cut",Be),Me(ce,"copy",Be),Me(D.scroller,"paste",function(yt){if(xt(D,yt)||Xe(re,yt))return;if(!ce.dispatchEvent){re.state.pasteIncoming=+new Date,ee.focus();return}var Dt=new Event("paste");Dt.clipboardData=yt.clipboardData,ce.dispatchEvent(Dt)}),Me(D.lineSpace,"selectstart",function(yt){xt(D,yt)||Ve(yt)}),Me(ce,"compositionstart",function(){var yt=re.getCursor("from");ee.composing&&ee.composing.range.clear(),ee.composing={start:yt,range:re.markText(yt,re.getCursor("to"),{className:"CodeMirror-composing"})}}),Me(ce,"compositionend",function(){ee.composing&&(ee.poll(),ee.composing.range.clear(),ee.composing=null)})},Ei.prototype.createField=function(D){this.wrapper=Br(),this.textarea=this.wrapper.firstChild},Ei.prototype.screenReaderLabelChanged=function(D){D?this.textarea.setAttribute("aria-label",D):this.textarea.removeAttribute("aria-label")},Ei.prototype.prepareSelection=function(){var D=this.cm,P=D.display,ee=D.doc,re=Ki(D);if(D.options.moveInputWithCursor){var ce=Mi(D,ee.sel.primary().head,"div"),Be=P.wrapper.getBoundingClientRect(),yt=P.lineDiv.getBoundingClientRect();re.teTop=Math.max(0,Math.min(P.wrapper.clientHeight-10,ce.top+yt.top-Be.top)),re.teLeft=Math.max(0,Math.min(P.wrapper.clientWidth-10,ce.left+yt.left-Be.left))}return re},Ei.prototype.showSelection=function(D){var P=this.cm,ee=P.display;O(ee.cursorDiv,D.cursors),O(ee.selectionDiv,D.selection),D.teTop!=null&&(this.wrapper.style.top=D.teTop+"px",this.wrapper.style.left=D.teLeft+"px")},Ei.prototype.reset=function(D){if(this.contextMenuPending||this.composing)return;var P=this.cm;if(P.somethingSelected()){this.prevInput="";var ee=P.getSelection();this.textarea.value=ee,P.state.focused&&H(this.textarea),u&&i>=9&&(this.hasSelection=ee)}else D||(this.prevInput=this.textarea.value="",u&&i>=9&&(this.hasSelection=null))},Ei.prototype.getField=function(){return this.textarea},Ei.prototype.supportsTouch=function(){return!1},Ei.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!p||z()!=this.textarea))try{this.textarea.focus()}catch(D){}},Ei.prototype.blur=function(){this.textarea.blur()},Ei.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ei.prototype.receivedFocus=function(){this.slowPoll()},Ei.prototype.slowPoll=function(){var D=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){D.poll(),D.cm.state.focused&&D.slowPoll()})},Ei.prototype.fastPoll=function(){var D=!1,P=this;P.pollingFast=!0;function ee(){var re=P.poll();!re&&!D?(D=!0,P.polling.set(60,ee)):(P.pollingFast=!1,P.slowPoll())}P.polling.set(20,ee)},Ei.prototype.poll=function(){var D=this,P=this.cm,ee=this.textarea,re=this.prevInput;if(this.contextMenuPending||!P.state.focused||Bt(ee)&&!re&&!this.composing||P.isReadOnly()||P.options.disableInput||P.state.keySeq)return!1;var ce=ee.value;if(ce==re&&!P.somethingSelected())return!1;if(u&&i>=9&&this.hasSelection===ce||A&&/[\uf700-\uf7ff]/.test(ce))return P.display.input.reset(),!1;if(P.doc.sel==P.display.selForContextMenu){var Be=ce.charCodeAt(0);if(Be==8203&&!re&&(re="\u200B"),Be==8666)return this.reset(),this.cm.execCommand("undo")}for(var yt=0,Dt=Math.min(re.length,ce.length);yt<Dt&&re.charCodeAt(yt)==ce.charCodeAt(yt);)++yt;return bo(P,function(){ar(P,ce.slice(yt),re.length-yt,null,D.composing?"*compose":null),ce.length>1e3||ce.indexOf(`
`)>-1?ee.value=D.prevInput="":D.prevInput=ce,D.composing&&(D.composing.range.clear(),D.composing.range=P.markText(D.composing.start,P.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ei.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ei.prototype.onKeyPress=function(){u&&i>=9&&(this.hasSelection=null),this.fastPoll()},Ei.prototype.onContextMenu=function(D){var P=this,ee=P.cm,re=ee.display,ce=P.textarea;P.contextMenuPending&&P.contextMenuPending();var Be=ua(ee,D),yt=re.scroller.scrollTop;if(!Be||d)return;var Dt=ee.options.resetSelectionOnContextMenu;Dt&&ee.doc.sel.contains(Be)==-1&&Ja(ee,Eo)(ee.doc,Ne(Be),he);var Kt=ce.style.cssText,Yt=P.wrapper.style.cssText,Cr=P.wrapper.offsetParent.getBoundingClientRect();P.wrapper.style.cssText="position: static",ce.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(D.clientY-Cr.top-5)+"px; left: "+(D.clientX-Cr.left-5)+`px;
z-index: 1000; background: `+(u?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Ur;a&&(Ur=window.scrollY),re.input.focus(),a&&window.scrollTo(null,Ur),re.input.reset(),ee.somethingSelected()||(ce.value=P.prevInput=" "),P.contextMenuPending=nn,re.selForContextMenu=ee.doc.sel,clearTimeout(re.detectingSelectAll);function en(){if(ce.selectionStart!=null){var Bn=ee.somethingSelected(),Jn="\u200B"+(Bn?ce.value:"");ce.value="\u21DA",ce.value=Jn,P.prevInput=Bn?"":"\u200B",ce.selectionStart=1,ce.selectionEnd=Jn.length,re.selForContextMenu=ee.doc.sel}}function nn(){if(P.contextMenuPending!=nn)return;if(P.contextMenuPending=!1,P.wrapper.style.cssText=Yt,ce.style.cssText=Kt,u&&i<9&&re.scrollbars.setScrollTop(re.scroller.scrollTop=yt),ce.selectionStart!=null){(!u||u&&i<9)&&en();var Bn=0,Jn=function Zn(){re.selForContextMenu==ee.doc.sel&&ce.selectionStart==0&&ce.selectionEnd>0&&P.prevInput=="\u200B"?Ja(ee,ks)(ee):Bn++<10?re.detectingSelectAll=setTimeout(Zn,500):(re.selForContextMenu=null,re.input.reset())};re.detectingSelectAll=setTimeout(Jn,200)}}if(u&&i>=9&&en(),T){lt(D);var xn=function Bn(){je(window,"mouseup",Bn),setTimeout(nn,20)};Me(window,"mouseup",xn)}else setTimeout(nn,50)},Ei.prototype.readOnlyChanged=function(D){D||this.reset(),this.textarea.disabled=D=="nocursor",this.textarea.readOnly=!!D},Ei.prototype.setUneditable=function(){},Ei.prototype.needsContentAttribute=!1;function uo(D,P){if(P=P?k(P):{},P.value=D.value,!P.tabindex&&D.tabIndex&&(P.tabindex=D.tabIndex),!P.placeholder&&D.placeholder&&(P.placeholder=D.placeholder),P.autofocus==null){var ee=z();P.autofocus=ee==D||D.getAttribute("autofocus")!=null&&ee==document.body}function re(){D.value=Dt.getValue()}var ce;if(D.form&&(Me(D.form,"submit",re),!P.leaveSubmitMethodAlone)){var Be=D.form;ce=Be.submit;try{var yt=Be.submit=function(){re(),Be.submit=ce,Be.submit(),Be.submit=yt}}catch(Kt){}}P.finishInit=function(Kt){Kt.save=re,Kt.getTextArea=function(){return D},Kt.toTextArea=function(){Kt.toTextArea=isNaN,re(),D.parentNode.removeChild(Kt.getWrapperElement()),D.style.display="",D.form&&(je(D.form,"submit",re),!P.leaveSubmitMethodAlone&&typeof D.form.submit=="function"&&(D.form.submit=ce))}},D.style.display="none";var Dt=ct(function(Kt){return D.parentNode.insertBefore(Kt,D.nextSibling)},P);return Dt}function zo(D){D.off=je,D.on=Me,D.wheelEventPixels=Vs,D.Doc=es,D.splitLines=or,D.countColumn=B,D.findColumn=Ae,D.isWordChar=q,D.Pass=Q,D.signal=st,D.Line=ni,D.changeEnd=Qe,D.scrollbarModel=ro,D.Pos=Rt,D.cmpPos=zt,D.modes=we,D.mimeModes=Fe,D.resolveMode=qe,D.getMode=Ke,D.modeExtensions=ut,D.extendMode=wt,D.copyState=It,D.startState=xe,D.innerMode=de,D.commands=Ks,D.keyMap=Ss,D.keyName=Vl,D.isModifierKey=Sl,D.lookupKey=Ps,D.normalizeKeyMap=nl,D.StringStream=$,D.SharedTextMarker=el,D.TextMarker=Ls,D.LineWidget=ll,D.e_preventDefault=Ve,D.e_stopPropagation=ue,D.e_stop=lt,D.addClass=W,D.contains=U,D.rmClass=v,D.keyNames=Fs}cu(ct),Fr(ct);var ao="iter insert remove copy getEditor constructor".split(" ");for(var Uo in es.prototype)es.prototype.hasOwnProperty(Uo)&&K(ao,Uo)<0&&(ct.prototype[Uo]=function(D){return function(){return D.apply(this.doc,arguments)}}(es.prototype[Uo]));return ot(es),ct.inputStyles={textarea:Ei,contenteditable:pn},ct.defineMode=function(D){!ct.defaults.mode&&D!="null"&&(ct.defaults.mode=D),Ye.apply(this,arguments)},ct.defineMIME=Ge,ct.defineMode("null",function(){return{token:function(P){return P.skipToEnd()}}}),ct.defineMIME("text/plain","null"),ct.defineExtension=function(D,P){ct.prototype[D]=P},ct.defineDocExtension=function(D,P){es.prototype[D]=P},ct.fromTextArea=uo,zo(ct),ct.version="5.58.2",ct})},Vy0f:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("iYpf"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},W2nI:function(R,I,e){var g=e("IwbS"),f=e("ProS"),b=e("bYtY"),m=["itemStyle","opacity"],y=["emphasis","itemStyle","opacity"],h=["lineStyle","opacity"],u=["emphasis","lineStyle","opacity"];function i(l,t){return l.getVisual("opacity")||l.getModel().get(t)}function a(l,t,s){var c=l.getGraphicEl(),p=i(l,t);s!=null&&(p==null&&(p=1),p*=s),c.downplay&&c.downplay(),c.traverse(function(A){A.type!=="group"&&A.setStyle("opacity",p)})}function r(l,t){var s=i(l,t),c=l.getGraphicEl();c.traverse(function(p){p.type!=="group"&&p.setStyle("opacity",s)}),c.highlight&&c.highlight()}var o=g.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(l,t){var s=t.extent;l.moveTo(t.x1,t.y1),l.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),t.orient==="vertical"?(l.lineTo(t.x2+s,t.y2),l.bezierCurveTo(t.cpx2+s,t.cpy2,t.cpx1+s,t.cpy1,t.x1+s,t.y1)):(l.lineTo(t.x2,t.y2+s),l.bezierCurveTo(t.cpx2,t.cpy2+s,t.cpx1,t.cpy1+s,t.x1,t.y1+s)),l.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),d=f.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(l,t,s){var c=this,p=l.getGraph(),A=this.group,w=l.layoutInfo,C=w.width,x=w.height,E=l.getData(),T=l.getData("edge"),_=l.get("orient");this._model=l,A.removeAll(),A.attr("position",[w.x,w.y]),p.eachEdge(function(v){var S=new o;S.dataIndex=v.dataIndex,S.seriesIndex=l.seriesIndex,S.dataType="edge";var O=v.getModel("lineStyle"),L=O.get("curveness"),M=v.node1.getLayout(),F=v.node1.getModel(),U=F.get("localX"),z=F.get("localY"),W=v.node2.getLayout(),N=v.node2.getModel(),H=N.get("localX"),j=N.get("localY"),k=v.getLayout(),B,V,K,Y,Q,he,G,ye;S.shape.extent=Math.max(1,k.dy),S.shape.orient=_,_==="vertical"?(B=(U!=null?U*C:M.x)+k.sy,V=(z!=null?z*x:M.y)+M.dy,K=(H!=null?H*C:W.x)+k.ty,Y=j!=null?j*x:W.y,Q=B,he=V*(1-L)+Y*L,G=K,ye=V*L+Y*(1-L)):(B=(U!=null?U*C:M.x)+M.dx,V=(z!=null?z*x:M.y)+k.sy,K=H!=null?H*C:W.x,Y=(j!=null?j*x:W.y)+k.ty,Q=B*(1-L)+K*L,he=V,G=B*L+K*(1-L),ye=Y),S.setShape({x1:B,y1:V,x2:K,y2:Y,cpx1:Q,cpy1:he,cpx2:G,cpy2:ye}),S.setStyle(O.getItemStyle());switch(S.style.fill){case"source":S.style.fill=v.node1.getVisual("color");break;case"target":S.style.fill=v.node2.getVisual("color");break}g.setHoverStyle(S,v.getModel("emphasis.lineStyle").getItemStyle()),A.add(S),T.setItemGraphicEl(v.dataIndex,S)}),p.eachNode(function(v){var S=v.getLayout(),O=v.getModel(),L=O.get("localX"),M=O.get("localY"),F=O.getModel("label"),U=O.getModel("emphasis.label"),z=new g.Rect({shape:{x:L!=null?L*C:S.x,y:M!=null?M*x:S.y,width:S.dx,height:S.dy},style:O.getModel("itemStyle").getItemStyle()}),W=v.getModel("emphasis.itemStyle").getItemStyle();g.setLabelStyle(z.style,W,F,U,{labelFetcher:l,labelDataIndex:v.dataIndex,defaultText:v.id,isRectText:!0}),z.setStyle("fill",v.getVisual("color")),g.setHoverStyle(z,W),A.add(z),E.setItemGraphicEl(v.dataIndex,z),z.dataType="node"}),E.eachItemGraphicEl(function(v,S){var O=E.getItemModel(S);O.get("draggable")&&(v.drift=function(L,M){c._focusAdjacencyDisabled=!0,this.shape.x+=L,this.shape.y+=M,this.dirty(),s.dispatchAction({type:"dragNode",seriesId:l.id,dataIndex:E.getRawIndex(S),localX:this.shape.x/C,localY:this.shape.y/x})},v.ondragend=function(){c._focusAdjacencyDisabled=!1},v.draggable=!0,v.cursor="move"),v.highlight=function(){this.trigger("emphasis")},v.downplay=function(){this.trigger("normal")},v.focusNodeAdjHandler&&v.off("mouseover",v.focusNodeAdjHandler),v.unfocusNodeAdjHandler&&v.off("mouseout",v.unfocusNodeAdjHandler),O.get("focusNodeAdjacency")&&(v.on("mouseover",v.focusNodeAdjHandler=function(){c._focusAdjacencyDisabled||(c._clearTimer(),s.dispatchAction({type:"focusNodeAdjacency",seriesId:l.id,dataIndex:v.dataIndex}))}),v.on("mouseout",v.unfocusNodeAdjHandler=function(){c._focusAdjacencyDisabled||c._dispatchUnfocus(s)}))}),T.eachItemGraphicEl(function(v,S){var O=T.getItemModel(S);v.focusNodeAdjHandler&&v.off("mouseover",v.focusNodeAdjHandler),v.unfocusNodeAdjHandler&&v.off("mouseout",v.unfocusNodeAdjHandler),O.get("focusNodeAdjacency")&&(v.on("mouseover",v.focusNodeAdjHandler=function(){c._focusAdjacencyDisabled||(c._clearTimer(),s.dispatchAction({type:"focusNodeAdjacency",seriesId:l.id,edgeDataIndex:v.dataIndex}))}),v.on("mouseout",v.unfocusNodeAdjHandler=function(){c._focusAdjacencyDisabled||c._dispatchUnfocus(s)}))}),!this._data&&l.get("animation")&&A.setClipPath(n(A.getBoundingRect(),l,function(){A.removeClipPath()})),this._data=l.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(l){var t=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){t._unfocusDelayTimer=null,l.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(l,t,s,c){var p=l.getData(),A=p.graph,w=c.dataIndex,C=p.getItemModel(w),x=c.edgeDataIndex;if(w==null&&x==null)return;var E=A.getNodeByIndex(w),T=A.getEdgeByIndex(x);if(A.eachNode(function(v){a(v,m,.1)}),A.eachEdge(function(v){a(v,h,.1)}),E){r(E,y);var _=C.get("focusNodeAdjacency");_==="outEdges"?b.each(E.outEdges,function(v){if(v.dataIndex<0)return;r(v,u),r(v.node2,y)}):_==="inEdges"?b.each(E.inEdges,function(v){if(v.dataIndex<0)return;r(v,u),r(v.node1,y)}):_==="allEdges"&&b.each(E.edges,function(v){if(v.dataIndex<0)return;r(v,u),v.node1!==E&&r(v.node1,y),v.node2!==E&&r(v.node2,y)})}T&&(r(T,u),r(T.node1,y),r(T.node2,y))},unfocusNodeAdjacency:function(l,t,s,c){var p=l.getGraph();p.eachNode(function(A){a(A,m)}),p.eachEdge(function(A){a(A,h)})}});function n(l,t,s){var c=new g.Rect({shape:{x:l.x-10,y:l.y-10,width:0,height:l.height+20}});return g.initProps(c,{shape:{width:l.width+20}},t,s),c}R.exports=d},W4dC:function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("bYtY"),m=b.each,y=b.createHashMap,h=e("7DRL"),u=e("TIY9"),i=e("yS9w"),a=e("mFDi"),r={geoJSON:u,svg:i},o={load:function(t,s,c){var p=[],A=y(),w=y(),C,x=l(t);return m(x,function(E){var T=r[E.type].load(t,E,c);m(T.regions,function(v){var S=v.name;s&&s.hasOwnProperty(S)&&(v=v.cloneShallow(S=s[S])),p.push(v),A.set(S,v),w.set(S,v.center)});var _=T.boundingRect;_&&(C?C.union(_):C=_.clone())}),{regions:p,regionsMap:A,nameCoordMap:w,boundingRect:C||new a(0,0,0,0)}},makeGraphic:d("makeGraphic"),removeGraphic:d("removeGraphic")};function d(t){return function(s,c){var p=l(s),A=[];return m(p,function(w){var C=r[w.type][t];C&&A.push(C(s,w,c))}),A}}function n(t){}function l(t){var s=h.retrieveMap(t)||[];return s}R.exports=o},WGYa:function(R,I,e){var g=e("7yuC"),f=g.forceLayout,b=e("HF/U"),m=b.simpleLayout,y=e("lOQZ"),h=y.circularLayout,u=e("OELB"),i=u.linearMap,a=e("QBsz"),r=e("bYtY");function o(d){d.eachSeriesByType("graph",function(n){var l=n.coordinateSystem;if(l&&l.type!=="view")return;if(n.get("layout")==="force"){var t=n.preservedPoints||{},s=n.getGraph(),c=s.data,p=s.edgeData,A=n.getModel("force"),w=A.get("initLayout");n.preservedPoints?c.each(function(F){var U=c.getId(F);c.setItemLayout(F,t[U]||[NaN,NaN])}):!w||w==="none"?m(n):w==="circular"&&h(n,"value");var C=c.getDataExtent("value"),x=p.getDataExtent("value"),E=A.get("repulsion"),T=A.get("edgeLength");r.isArray(E)||(E=[E,E]),r.isArray(T)||(T=[T,T]),T=[T[1],T[0]];var _=c.mapArray("value",function(F,U){var z=c.getItemLayout(U),W=i(F,C,E);return isNaN(W)&&(W=(E[0]+E[1])/2),{w:W,rep:W,fixed:c.getItemModel(U).get("fixed"),p:!z||isNaN(z[0])||isNaN(z[1])?null:z}}),v=p.mapArray("value",function(F,U){var z=s.getEdgeByIndex(U),W=i(F,x,T);isNaN(W)&&(W=(T[0]+T[1])/2);var N=z.getModel();return{n1:_[z.node1.dataIndex],n2:_[z.node2.dataIndex],d:W,curveness:N.get("lineStyle.curveness")||0,ignoreForceLayout:N.get("ignoreForceLayout")}}),l=n.coordinateSystem,S=l.getBoundingRect(),O=f(_,v,{rect:S,gravity:A.get("gravity"),friction:A.get("friction")}),L=O.step;O.step=function(F){for(var U=0,z=_.length;U<z;U++)_[U].fixed&&a.copy(_[U].p,s.getNodeByIndex(U).getLayout());L(function(W,N,H){for(var j=0,k=W.length;j<k;j++)W[j].fixed||s.getNodeByIndex(j).setLayout(W[j].p),t[c.getId(j)]=W[j].p;for(var j=0,k=N.length;j<k;j++){var B=N[j],V=s.getEdgeByIndex(j),K=B.n1.p,Y=B.n2.p,Q=V.getLayout();Q=Q?Q.slice():[],Q[0]=Q[0]||[],Q[1]=Q[1]||[],a.copy(Q[0],K),a.copy(Q[1],Y),+B.curveness&&(Q[2]=[(K[0]+Y[0])/2-(K[1]-Y[1])*B.curveness,(K[1]+Y[1])/2-(Y[0]-K[0])*B.curveness]),V.setLayout(Q)}F&&F(H)})},n.forceLayout=O,n.preservedPoints=t,O.step()}else n.forceLayout=null})}R.exports=o},WKfj:function(R,I,e){"use strict";e.d(I,"d",function(){return f}),e.d(I,"e",function(){return b}),e.d(I,"f",function(){return m}),e.d(I,"c",function(){return y}),e.d(I,"b",function(){return u}),e.d(I,"a",function(){return a});var g=e("KQm4");function f(r){return Array.isArray(r)?r:r!==void 0?[r]:[]}function b(r,o){var d=o.labelInValue,n=o.combobox;if(r===void 0||r===""&&n)return[];var l=Array.isArray(r)?r:[r];return d?l.map(function(t){var s=t.key,c=t.value;return c!==void 0?c:s}):l}function m(r,o){var d=o.optionLabelProp,n=o.labelInValue,l=o.prevValue,t=o.options,s=o.getLabeledValue,c=r;return n&&(c=c.map(function(p){return s(p,{options:t,prevValue:l,labelInValue:n,optionLabelProp:d})})),c}function y(r,o){var d=Object(g.a)(o),n;for(n=r.length-1;n>=0&&r[n].disabled;n-=1);var l=null;return n!==-1&&(l=d[n],d.splice(n,1)),{values:d,removedValue:l}}var h=typeof window!="undefined"&&window.document&&window.document.documentElement,u=h,i=0;function a(){var r;return u?(r=i,i+=1):r="TEST_OR_SSR",r}},"WN+l":function(R,I,e){var g=e("bYtY"),f=e("IwbS");function b(y,h,u,i){var a=u.axis;if(a.scale.isBlank())return;var r=u.getModel("splitArea"),o=r.getModel("areaStyle"),d=o.get("color"),n=i.coordinateSystem.getRect(),l=a.getTicksCoords({tickModel:r,clamp:!0});if(!l.length)return;var t=d.length,s=y.__splitAreaColors,c=g.createHashMap(),p=0;if(s)for(var A=0;A<l.length;A++){var w=s.get(l[A].tickValue);if(w!=null){p=(w+(t-1)*A)%t;break}}var C=a.toGlobalCoord(l[0].coord),x=o.getAreaStyle();d=g.isArray(d)?d:[d];for(var A=1;A<l.length;A++){var E=a.toGlobalCoord(l[A].coord),T,_,v,S;a.isHorizontal()?(T=C,_=n.y,v=E-T,S=n.height,C=T+v):(T=n.x,_=C,v=n.width,S=E-_,C=_+S);var O=l[A-1].tickValue;O!=null&&c.set(O,p),h.add(new f.Rect({anid:O!=null?"area_"+O:null,shape:{x:T,y:_,width:v,height:S},style:g.defaults({fill:d[p]},x),silent:!0})),p=(p+1)%t}y.__splitAreaColors=c}function m(y){y.__splitAreaColors=null}I.rectCoordAxisBuildSplitArea=b,I.rectCoordAxisHandleRemove=m},WXVj:function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("Bqw1")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="MinusSquareOutlined";var u=b.forwardRef(h);I.default=u},WaYH:function(R,I,e){"use strict";var g=e("rePB"),f=e("Ff2n"),b=e("VTBJ"),m=e("1OyB"),y=e("vuIU"),h=e("JX7q"),u=e("Ji7U"),i=e("LK+K"),a=e("q1tI"),r=e("TSYQ"),o=e.n(r),d=e("sboe"),n=e("OZM5"),l=function(T){var _=T.prefixCls,v=T.level,S=T.isStart,O=T.isEnd;if(!v)return null;for(var L="".concat(_,"-indent-unit"),M=[],F=0;F<v;F+=1){var U;M.push(a.createElement("span",{key:F,className:o()(L,(U={},Object(g.a)(U,"".concat(L,"-start"),S[F+1]),Object(g.a)(U,"".concat(L,"-end"),O[F+1]),Object(g.a)(U,"".concat(L,"-end-first-level"),!F&&O[0]),U))}))}return a.createElement("span",{"aria-hidden":"true",className:"".concat(_,"-indent")},M)},t=l,s=e("815F"),c="open",p="close",A="---",w=function(E){Object(u.a)(_,E);var T=Object(i.a)(_);function _(){var v;return Object(m.a)(this,_),v=T.apply(this,arguments),v.state={dragNodeHighlight:!1},v.onSelectorClick=function(S){var O=v.props.context.onNodeClick;O(S,Object(s.b)(v.props)),v.isSelectable()?v.onSelect(S):v.onCheck(S)},v.onSelectorDoubleClick=function(S){var O=v.props.context.onNodeDoubleClick;O(S,Object(s.b)(v.props))},v.onSelect=function(S){if(v.isDisabled())return;var O=v.props.context.onNodeSelect;S.preventDefault(),O(S,Object(s.b)(v.props))},v.onCheck=function(S){if(v.isDisabled())return;var O=v.props,L=O.disableCheckbox,M=O.checked,F=v.props.context.onNodeCheck;if(!v.isCheckable()||L)return;S.preventDefault();var U=!M;F(S,Object(s.b)(v.props),U)},v.onMouseEnter=function(S){var O=v.props.context.onNodeMouseEnter;O(S,Object(s.b)(v.props))},v.onMouseLeave=function(S){var O=v.props.context.onNodeMouseLeave;O(S,Object(s.b)(v.props))},v.onContextMenu=function(S){var O=v.props.context.onNodeContextMenu;O(S,Object(s.b)(v.props))},v.onDragStart=function(S){var O=v.props.context.onNodeDragStart;S.stopPropagation(),v.setState({dragNodeHighlight:!0}),O(S,Object(h.a)(v));try{S.dataTransfer.setData("text/plain","")}catch(L){}},v.onDragEnter=function(S){var O=v.props.context.onNodeDragEnter;S.preventDefault(),S.stopPropagation(),O(S,Object(h.a)(v))},v.onDragOver=function(S){var O=v.props.context.onNodeDragOver;S.preventDefault(),S.stopPropagation(),O(S,Object(h.a)(v))},v.onDragLeave=function(S){var O=v.props.context.onNodeDragLeave;S.stopPropagation(),O(S,Object(h.a)(v))},v.onDragEnd=function(S){var O=v.props.context.onNodeDragEnd;S.stopPropagation(),v.setState({dragNodeHighlight:!1}),O(S,Object(h.a)(v))},v.onDrop=function(S){var O=v.props.context.onNodeDrop;S.preventDefault(),S.stopPropagation(),v.setState({dragNodeHighlight:!1}),O(S,Object(h.a)(v))},v.onExpand=function(S){var O=v.props.context.onNodeExpand;O(S,Object(s.b)(v.props))},v.setSelectHandle=function(S){v.selectHandle=S},v.getNodeState=function(){var S=v.props.expanded;return v.isLeaf()?null:S?c:p},v.hasChildren=function(){var S=v.props.eventKey,O=v.props.context.keyEntities,L=O[S]||{},M=L.children;return!!(M||[]).length},v.isLeaf=function(){var S=v.props,O=S.isLeaf,L=S.loaded,M=v.props.context.loadData,F=v.hasChildren();return O===!1?!1:O||!M&&!F||M&&L&&!F},v.isDisabled=function(){var S=v.props.disabled,O=v.props.context.disabled;return!!(O||S)},v.isCheckable=function(){var S=v.props.checkable,O=v.props.context.checkable;return!O||S===!1?!1:O},v.syncLoadData=function(S){var O=S.expanded,L=S.loading,M=S.loaded,F=v.props.context,U=F.loadData,z=F.onNodeLoad;if(L)return;U&&O&&!v.isLeaf()&&(!v.hasChildren()&&!M&&z(Object(s.b)(v.props)))},v.renderSwitcher=function(){var S=v.props,O=S.expanded,L=S.switcherIcon,M=v.props.context,F=M.prefixCls,U=M.switcherIcon,z=L||U;if(v.isLeaf())return a.createElement("span",{className:o()("".concat(F,"-switcher"),"".concat(F,"-switcher-noop"))},typeof z=="function"?z(Object(b.a)(Object(b.a)({},v.props),{},{isLeaf:!0})):z);var W=o()("".concat(F,"-switcher"),"".concat(F,"-switcher_").concat(O?c:p));return a.createElement("span",{onClick:v.onExpand,className:W},typeof z=="function"?z(Object(b.a)(Object(b.a)({},v.props),{},{isLeaf:!1})):z)},v.renderCheckbox=function(){var S=v.props,O=S.checked,L=S.halfChecked,M=S.disableCheckbox,F=v.props.context.prefixCls,U=v.isDisabled(),z=v.isCheckable();if(!z)return null;var W=typeof z!="boolean"?z:null;return a.createElement("span",{className:o()("".concat(F,"-checkbox"),O&&"".concat(F,"-checkbox-checked"),!O&&L&&"".concat(F,"-checkbox-indeterminate"),(U||M)&&"".concat(F,"-checkbox-disabled")),onClick:v.onCheck},W)},v.renderIcon=function(){var S=v.props.loading,O=v.props.context.prefixCls;return a.createElement("span",{className:o()("".concat(O,"-iconEle"),"".concat(O,"-icon__").concat(v.getNodeState()||"docu"),S&&"".concat(O,"-icon_loading"))})},v.renderSelector=function(){var S=v.state.dragNodeHighlight,O=v.props,L=O.title,M=O.selected,F=O.icon,U=O.loading,z=O.data,W=v.props.context,N=W.prefixCls,H=W.showIcon,j=W.icon,k=W.draggable,B=W.loadData,V=W.titleRender,K=v.isDisabled(),Y="".concat(N,"-node-content-wrapper"),Q;if(H){var he=F||j;Q=he?a.createElement("span",{className:o()("".concat(N,"-iconEle"),"".concat(N,"-icon__customize"))},typeof he=="function"?he(v.props):he):v.renderIcon()}else B&&U&&(Q=v.renderIcon());var G;typeof L=="function"?G=L(z):V?G=V(z):G=L;var ye=a.createElement("span",{className:"".concat(N,"-title")},G);return a.createElement("span",{ref:v.setSelectHandle,title:typeof L=="string"?L:"",className:o()("".concat(Y),"".concat(Y,"-").concat(v.getNodeState()||"normal"),!K&&(M||S)&&"".concat(N,"-node-selected"),!K&&k&&"draggable"),draggable:!K&&k||void 0,"aria-grabbed":!K&&k||void 0,onMouseEnter:v.onMouseEnter,onMouseLeave:v.onMouseLeave,onContextMenu:v.onContextMenu,onClick:v.onSelectorClick,onDoubleClick:v.onSelectorDoubleClick,onDragStart:k?v.onDragStart:void 0},Q,ye)},v}return Object(y.a)(_,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var S=this.props.selectable,O=this.props.context.selectable;return typeof S=="boolean"?S:O}},{key:"render",value:function(){var S,O=this.props,L=O.eventKey,M=O.className,F=O.style,U=O.dragOver,z=O.dragOverGapTop,W=O.dragOverGapBottom,N=O.isLeaf,H=O.isStart,j=O.isEnd,k=O.expanded,B=O.selected,V=O.checked,K=O.halfChecked,Y=O.loading,Q=O.domRef,he=O.active,G=O.onMouseMove,ye=Object(f.a)(O,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),Ae=this.props.context,ge=Ae.prefixCls,Pe=Ae.filterTreeNode,Re=Ae.draggable,rt=Ae.keyEntities,ne=this.isDisabled(),be=Object(n.f)(ye),at=rt[L]||{},se=at.level,q=j[j.length-1];return a.createElement("div",Object.assign({ref:Q,className:o()(M,"".concat(ge,"-treenode"),(S={},Object(g.a)(S,"".concat(ge,"-treenode-disabled"),ne),Object(g.a)(S,"".concat(ge,"-treenode-switcher-").concat(k?"open":"close"),!N),Object(g.a)(S,"".concat(ge,"-treenode-checkbox-checked"),V),Object(g.a)(S,"".concat(ge,"-treenode-checkbox-indeterminate"),K),Object(g.a)(S,"".concat(ge,"-treenode-selected"),B),Object(g.a)(S,"".concat(ge,"-treenode-loading"),Y),Object(g.a)(S,"".concat(ge,"-treenode-active"),he),Object(g.a)(S,"".concat(ge,"-treenode-leaf-last"),q),Object(g.a)(S,"drag-over",!ne&&U),Object(g.a)(S,"drag-over-gap-top",!ne&&z),Object(g.a)(S,"drag-over-gap-bottom",!ne&&W),Object(g.a)(S,"filter-node",Pe&&Pe(Object(s.b)(this.props))),S)),style:F,onDragEnter:Re?this.onDragEnter:void 0,onDragOver:Re?this.onDragOver:void 0,onDragLeave:Re?this.onDragLeave:void 0,onDrop:Re?this.onDrop:void 0,onDragEnd:Re?this.onDragEnd:void 0,onMouseMove:G},be),a.createElement(t,{prefixCls:ge,level:se,isStart:H,isEnd:j}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),_}(a.Component),C=function(T){return a.createElement(d.a.Consumer,null,function(_){return a.createElement(w,Object.assign({},T,{context:_}))})};C.displayName="TreeNode",C.defaultProps={title:A},C.isTreeNode=1;var x=I.a=C},Wqna:function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("bYtY"),m=b.isObject,y=b.each,h=b.map,u=b.indexOf,i=b.retrieve,a=e("+TT/"),r=a.getLayoutRect,o=e("aX7z"),d=o.createScaleByModel,n=o.ifAxisCrossZero,l=o.niceScaleExtent,t=o.estimateLabelUnionRect,s=e("y+lR"),c=e("7AJT"),p=e("IDmD"),A=e("7hqr"),w=A.getStackedDimension;e("jtI2");function C(F,U,z){return F.getCoordSysModel()===U}function x(F,U,z){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(F,U,z),this.model=F}var E=x.prototype;E.type="grid",E.axisPointerEnabled=!0,E.getRect=function(){return this._rect},E.update=function(F,U){var z=this._axesMap;this._updateScale(F,this.model),y(z.x,function(N){l(N.scale,N.model)}),y(z.y,function(N){l(N.scale,N.model)});var W={};y(z.x,function(N){T(z,"y",N,W)}),y(z.y,function(N){T(z,"x",N,W)}),this.resize(this.model,U)};function T(F,U,z,W){z.getAxesOnZeroOf=function(){return H?[H]:[]};var N=F[U],H,j=z.model,k=j.get("axisLine.onZero"),B=j.get("axisLine.onZeroAxisIndex");if(!k)return;if(B!=null)_(N[B])&&(H=N[B]);else for(var V in N)if(N.hasOwnProperty(V)&&_(N[V])&&!W[K(N[V])]){H=N[V];break}H&&(W[K(H)]=!0);function K(Y){return Y.dim+"_"+Y.index}}function _(F){return F&&F.type!=="category"&&F.type!=="time"&&n(F)}E.resize=function(F,U,z){var W=r(F.getBoxLayoutParams(),{width:U.getWidth(),height:U.getHeight()});this._rect=W;var N=this._axesList;H(),!z&&F.get("containLabel")&&(y(N,function(j){if(!j.model.get("axisLabel.inside")){var k=t(j);if(k){var B=j.isHorizontal()?"height":"width",V=j.model.get("axisLabel.margin");W[B]-=k[B]+V,j.position==="top"?W.y+=k.height+V:j.position==="left"&&(W.x+=k.width+V)}}}),H());function H(){y(N,function(j){var k=j.isHorizontal(),B=k?[0,W.width]:[0,W.height],V=j.inverse?1:0;j.setExtent(B[V],B[1-V]),v(j,k?W.x:W.y)})}},E.getAxis=function(F,U){var z=this._axesMap[F];if(z!=null){if(U==null){for(var W in z)if(z.hasOwnProperty(W))return z[W]}return z[U]}},E.getAxes=function(){return this._axesList.slice()},E.getCartesian=function(F,U){if(F!=null&&U!=null){var z="x"+F+"y"+U;return this._coordsMap[z]}m(F)&&(U=F.yAxisIndex,F=F.xAxisIndex);for(var W=0,N=this._coordsList;W<N.length;W++)if(N[W].getAxis("x").index===F||N[W].getAxis("y").index===U)return N[W]},E.getCartesians=function(){return this._coordsList.slice()},E.convertToPixel=function(F,U,z){var W=this._findConvertTarget(F,U);return W.cartesian?W.cartesian.dataToPoint(z):W.axis?W.axis.toGlobalCoord(W.axis.dataToCoord(z)):null},E.convertFromPixel=function(F,U,z){var W=this._findConvertTarget(F,U);return W.cartesian?W.cartesian.pointToData(z):W.axis?W.axis.coordToData(W.axis.toLocalCoord(z)):null},E._findConvertTarget=function(F,U){var z=U.seriesModel,W=U.xAxisModel||z&&z.getReferringComponents("xAxis")[0],N=U.yAxisModel||z&&z.getReferringComponents("yAxis")[0],H=U.gridModel,j=this._coordsList,k,B;if(z)k=z.coordinateSystem,u(j,k)<0&&(k=null);else if(W&&N)k=this.getCartesian(W.componentIndex,N.componentIndex);else if(W)B=this.getAxis("x",W.componentIndex);else if(N)B=this.getAxis("y",N.componentIndex);else if(H){var V=H.coordinateSystem;V===this&&(k=this._coordsList[0])}return{cartesian:k,axis:B}},E.containPoint=function(F){var U=this._coordsList[0];if(U)return U.containPoint(F)},E._initCartesian=function(F,U,z){var W={left:!1,right:!1,top:!1,bottom:!1},N={x:{},y:{}},H={x:0,y:0};if(U.eachComponent("xAxis",j("x"),this),U.eachComponent("yAxis",j("y"),this),!H.x||!H.y){this._axesMap={},this._axesList=[];return}this._axesMap=N,y(N.x,function(k,B){y(N.y,function(V,K){var Y="x"+B+"y"+K,Q=new s(Y);Q.grid=this,Q.model=F,this._coordsMap[Y]=Q,this._coordsList.push(Q),Q.addAxis(k),Q.addAxis(V)},this)},this);function j(k){return function(B,V){if(!C(B,F,U))return;var K=B.get("position");k==="x"?K!=="top"&&K!=="bottom"&&(K=W.bottom?"top":"bottom"):K!=="left"&&K!=="right"&&(K=W.left?"right":"left"),W[K]=!0;var Y=new c(k,d(B),[0,0],B.get("type"),K),Q=Y.type==="category";Y.onBand=Q&&B.get("boundaryGap"),Y.inverse=B.get("inverse"),B.axis=Y,Y.model=B,Y.grid=this,Y.index=V,this._axesList.push(Y),N[k][V]=Y,H[k]++}}},E._updateScale=function(F,U){y(this._axesList,function(W){W.scale.setExtent(Infinity,-Infinity)}),F.eachSeries(function(W){if(L(W)){var N=O(W,F),H=N[0],j=N[1];if(!C(H,U,F)||!C(j,U,F))return;var k=this.getCartesian(H.componentIndex,j.componentIndex),B=W.getData(),V=k.getAxis("x"),K=k.getAxis("y");B.type==="list"&&(z(B,V,W),z(B,K,W))}},this);function z(W,N,H){y(W.mapDimension(N.dim,!0),function(j){N.scale.unionExtentFromData(W,w(W,j))})}},E.getTooltipAxes=function(F){var U=[],z=[];return y(this.getCartesians(),function(W){var N=F!=null&&F!=="auto"?W.getAxis(F):W.getBaseAxis(),H=W.getOtherAxis(N);u(U,N)<0&&U.push(N),u(z,H)<0&&z.push(H)}),{baseAxes:U,otherAxes:z}};function v(F,U){var z=F.getExtent(),W=z[0]+z[1];F.toGlobalCoord=F.dim==="x"?function(N){return N+U}:function(N){return W-N+U},F.toLocalCoord=F.dim==="x"?function(N){return N-U}:function(N){return W-N+U}}var S=["xAxis","yAxis"];function O(F,U){return h(S,function(z){var W=F.getReferringComponents(z)[0];return W})}function L(F){return F.get("coordinateSystem")==="cartesian2d"}x.create=function(F,U){var z=[];return F.eachComponent("grid",function(W,N){var H=new x(W,F,U);H.name="grid_"+N,H.resize(W,U,!0),W.coordinateSystem=H,z.push(H)}),F.eachSeries(function(W){if(!L(W))return;var N=O(W,F),H=N[0],j=N[1],k=H.getCoordSysModel(),B=k.coordinateSystem;W.coordinateSystem=B.getCartesian(H.componentIndex,j.componentIndex)}),z},x.dimensions=x.prototype.dimensions=s.prototype.dimensions,p.register("cartesian2d",x);var M=x;R.exports=M},"X+im":function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("KQeH")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="DownloadOutlined";var u=b.forwardRef(h);I.default=u},"X2/X":function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"};I.default=g},XAae:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("hwYd"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},XOKv:function(R,I,e){e("OXB0"),e("SA4+")},Xi7e:function(R,I,e){var g=e("KMkd"),f=e("adU4"),b=e("tMB7"),m=e("+6XX"),y=e("Z8oC");function h(u){var i=-1,a=u==null?0:u.length;for(this.clear();++i<a;){var r=u[i];this.set(r[0],r[1])}}h.prototype.clear=g,h.prototype.delete=f,h.prototype.get=b,h.prototype.has=m,h.prototype.set=y,R.exports=h},Xmg4:function(R,I,e){var g=e("bYtY"),f=e("LPTA"),b=f.devicePixelRatio,m=e("K2GJ"),y=e("3C/r");function h(){return!1}function u(r,o,d){var n=g.createCanvas(),l=o.getWidth(),t=o.getHeight(),s=n.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=l+"px",s.height=t+"px",n.setAttribute("data-zr-dom-id",r)),n.width=l*d,n.height=t*d,n}var i=function(o,d,n){var l;n=n||b,typeof o=="string"?l=u(o,d,n):g.isObject(o)&&(l=o,o=l.id),this.id=o,this.dom=l;var t=l.style;t&&(l.onselectstart=h,t["-webkit-user-select"]="none",t["user-select"]="none",t["-webkit-touch-callout"]="none",t["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",t.padding=0,t.margin=0,t["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=d,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=n};i.prototype={constructor:i,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var o=this.dpr;this.domBack=u("back-"+this.id,this.painter,o),this.ctxBack=this.domBack.getContext("2d"),o!==1&&this.ctxBack.scale(o,o)},resize:function(o,d){var n=this.dpr,l=this.dom,t=l.style,s=this.domBack;t&&(t.width=o+"px",t.height=d+"px"),l.width=o*n,l.height=d*n,s&&(s.width=o*n,s.height=d*n,n!==1&&this.ctxBack.scale(n,n))},clear:function(o,d){var n=this.dom,l=this.ctx,t=n.width,s=n.height,d=d||this.clearColor,c=this.motionBlur&&!o,p=this.lastFrameAlpha,A=this.dpr;if(c&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(n,0,0,t/A,s/A)),l.clearRect(0,0,t,s),d&&d!=="transparent"){var w;d.colorStops?(w=d.__canvasGradient||m.getGradient(l,d,{x:0,y:0,width:t,height:s}),d.__canvasGradient=w):d.image&&(w=y.prototype.getCanvasPattern.call(d,l)),l.save(),l.fillStyle=w||d,l.fillRect(0,0,t,s),l.restore()}if(c){var C=this.domBack;l.save(),l.globalAlpha=p,l.drawImage(C,0,0,t,s),l.restore()}}};var a=i;R.exports=a},Xnb7:function(R,I,e){var g=e("1RvN"),f=new g(50);function b(u){if(typeof u=="string"){var i=f.get(u);return i&&i.image}else return u}function m(u,i,a,r,o){if(u)if(typeof u=="string"){if(i&&i.__zrImageSrc===u||!a)return i;var d=f.get(u),n={hostEl:a,cb:r,cbPayload:o};return d?(i=d.image,!h(i)&&d.pending.push(n)):(i=new Image,i.onload=i.onerror=y,f.put(u,i.__cachedImgObj={image:i,pending:[n]}),i.src=i.__zrImageSrc=u),i}else return u;else return i}function y(){var u=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var i=0;i<u.pending.length;i++){var a=u.pending[i],r=a.cb;r&&r(this,a.cbPayload),a.hostEl.dirty()}u.pending.length=0}function h(u){return u&&u.width&&u.height}I.findExistImage=b,I.createOrUpdateImage=m,I.isImageReady=h},XpcN:function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("ProS"),m=e("bYtY"),y=e("oVpE"),h=y.createSymbol,u=e("IwbS"),i=e("eRkO"),a=i.makeBackground,r=e("+TT/"),o=m.curry,d=m.each,n=u.Group,l=b.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new n),this._backgroundEl,this.group.add(this._selectorGroup=new n),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(A,w,C){var x=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!A.get("show",!0))return;var E=A.get("align"),T=A.get("orient");(!E||E==="auto")&&(E=A.get("left")==="right"&&T==="vertical"?"right":"left");var _=A.get("selector",!0),v=A.get("selectorPosition",!0);_&&(!v||v==="auto")&&(v=T==="horizontal"?"end":"start"),this.renderInner(E,A,w,C,_,T,v);var S=A.getBoxLayoutParams(),O={width:C.getWidth(),height:C.getHeight()},L=A.get("padding"),M=r.getLayoutRect(S,O,L),F=this.layoutInner(A,E,M,x,_,v),U=r.getLayoutRect(m.defaults({width:F.width,height:F.height},S),O,L);this.group.attr("position",[U.x-F.x,U.y-F.y]),this.group.add(this._backgroundEl=a(F,A))},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(A,w,C,x,E,T,_){var v=this.getContentGroup(),S=m.createHashMap(),O=w.get("selectedMode"),L=[];C.eachRawSeries(function(M){!M.get("legendHoverLink")&&L.push(M.id)}),d(w.getData(),function(M,F){var U=M.get("name");if(!this.newlineDisabled&&(U===""||U===`
`)){v.add(new n({newline:!0}));return}var z=C.getSeriesByName(U)[0];if(S.get(U))return;if(z){var W=z.getData(),N=W.getVisual("color"),H=W.getVisual("borderColor");typeof N=="function"&&(N=N(z.getDataParams(0))),typeof H=="function"&&(H=H(z.getDataParams(0)));var j=W.getVisual("legendSymbol")||"roundRect",k=W.getVisual("symbol"),B=this._createItem(U,F,M,w,j,k,A,N,H,O);B.on("click",o(s,U,null,x,L)).on("mouseover",o(c,z.name,null,x,L)).on("mouseout",o(p,z.name,null,x,L)),S.set(U,!0)}else C.eachRawSeries(function(V){if(S.get(U))return;if(V.legendVisualProvider){var K=V.legendVisualProvider;if(!K.containName(U))return;var Y=K.indexOfName(U),Q=K.getItemVisual(Y,"color"),he=K.getItemVisual(Y,"borderColor"),G="roundRect",ye=this._createItem(U,F,M,w,G,null,A,Q,he,O);ye.on("click",o(s,null,U,x,L)).on("mouseover",o(c,null,U,x,L)).on("mouseout",o(p,null,U,x,L)),S.set(U,!0)}},this)},this),E&&this._createSelector(E,w,x,T,_)},_createSelector:function(A,w,C,x,E){var T=this.getSelectorGroup();d(A,function(v){_(v)});function _(v){var S=v.type,O=new u.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){C.dispatchAction({type:S==="all"?"legendAllSelect":"legendInverseSelect"})}});T.add(O);var L=w.getModel("selectorLabel"),M=w.getModel("emphasis.selectorLabel");u.setLabelStyle(O.style,O.hoverStyle={},L,M,{defaultText:v.title,isRectText:!1}),u.setHoverStyle(O)}},_createItem:function(A,w,C,x,E,T,_,v,S,O){var L=x.get("itemWidth"),M=x.get("itemHeight"),F=x.get("inactiveColor"),U=x.get("inactiveBorderColor"),z=x.get("symbolKeepAspect"),W=x.getModel("itemStyle"),N=x.isSelected(A),H=new n,j=C.getModel("textStyle"),k=C.get("icon"),B=C.getModel("tooltip"),V=B.parentModel;E=k||E;var K=h(E,0,0,L,M,N?v:F,z==null?!0:z);if(H.add(t(K,E,W,S,U,N)),!k&&T&&(T!==E||T==="none")){var Y=M*.8;T==="none"&&(T="circle");var Q=h(T,(L-Y)/2,(M-Y)/2,Y,Y,N?v:F,z==null?!0:z);H.add(t(Q,T,W,S,U,N))}var he=_==="left"?L+5:-5,G=_,ye=x.get("formatter"),Ae=A;typeof ye=="string"&&ye?Ae=ye.replace("{name}",A!=null?A:""):typeof ye=="function"&&(Ae=ye(A)),H.add(new u.Text({style:u.setTextStyle({},j,{text:Ae,x:he,y:M/2,textFill:N?j.getTextColor():F,textAlign:G,textVerticalAlign:"middle"})}));var ge=new u.Rect({shape:H.getBoundingRect(),invisible:!0,tooltip:B.get("show")?m.extend({content:A,formatter:V.get("formatter",!0)||function(){return A},formatterParams:{componentType:"legend",legendIndex:x.componentIndex,name:A,$vars:["name"]}},B.option):null});return H.add(ge),H.eachChild(function(Pe){Pe.silent=!0}),ge.silent=!O,this.getContentGroup().add(H),u.setHoverStyle(H),H.__legendDataIndex=w,H},layoutInner:function(A,w,C,x,E,T){var _=this.getContentGroup(),v=this.getSelectorGroup();r.box(A.get("orient"),_,A.get("itemGap"),C.width,C.height);var S=_.getBoundingRect(),O=[-S.x,-S.y];if(E){r.box("horizontal",v,A.get("selectorItemGap",!0));var L=v.getBoundingRect(),M=[-L.x,-L.y],F=A.get("selectorButtonGap",!0),U=A.getOrient().index,z=U===0?"width":"height",W=U===0?"height":"width",N=U===0?"y":"x";T==="end"?M[U]+=S[z]+F:O[U]+=L[z]+F,M[1-U]+=S[W]/2-L[W]/2,v.attr("position",M),_.attr("position",O);var H={x:0,y:0};return H[z]=S[z]+F+L[z],H[W]=Math.max(S[W],L[W]),H[N]=Math.min(0,L[N]+M[1-U]),H}else return _.attr("position",O),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function t(A,w,C,x,E,T){var _;return w!=="line"&&w.indexOf("empty")<0?(_=C.getItemStyle(),A.style.stroke=x,T||(_.stroke=E)):_=C.getItemStyle(["borderWidth","borderColor"]),A.setStyle(_)}function s(A,w,C,x){p(A,w,C,x),C.dispatchAction({type:"legendToggleSelect",name:A!=null?A:w}),c(A,w,C,x)}function c(A,w,C,x){var E=C.getZr().storage.getDisplayList()[0];E&&E.useHoverLayer||C.dispatchAction({type:"highlight",seriesName:A,name:w,excludeSeriesId:x})}function p(A,w,C,x){var E=C.getZr().storage.getDisplayList()[0];E&&E.useHoverLayer||C.dispatchAction({type:"downplay",seriesName:A,name:w,excludeSeriesId:x})}R.exports=l},XuBP:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};I.default=g},XxSj:function(R,I,e){var g=e("bYtY"),f=e("Qe9p"),b=e("OELB"),m=b.linearMap,y=g.each,h=g.isObject,u=-1,i=function(T){var _=T.mappingMethod,v=T.type,S=this.option=g.clone(T);this.type=v,this.mappingMethod=_,this._normalizeData=C[_];var O=a[v];this.applyVisual=O.applyVisual,this.getColorMapper=O.getColorMapper,this._doMap=O._doMap[_],_==="piecewise"?(d(S),r(S)):_==="category"?S.categories?o(S):d(S,!0):(g.assert(_!=="linear"||S.dataExtent),d(S))};i.prototype={constructor:i,mapValueToVisual:function(T){var _=this._normalizeData(T);return this._doMap(_,T)},getNormalizer:function(){return g.bind(this._normalizeData,this)}};var a=i.visualHandlers={color:{applyVisual:t("color"),getColorMapper:function(){var T=this.option;return g.bind(T.mappingMethod==="category"?function(_,v){return!v&&(_=this._normalizeData(_)),s.call(this,_)}:function(_,v,S){var O=!!S;return!v&&(_=this._normalizeData(_)),S=f.fastLerp(_,T.parsedVisual,S),O?S:f.stringify(S,"rgba")},this)},_doMap:{linear:function(T){return f.stringify(f.fastLerp(T,this.option.parsedVisual),"rgba")},category:s,piecewise:function(T,_){var v=A.call(this,_);return v==null&&(v=f.stringify(f.fastLerp(T,this.option.parsedVisual),"rgba")),v},fixed:c}},colorHue:n(function(T,_){return f.modifyHSL(T,_)}),colorSaturation:n(function(T,_){return f.modifyHSL(T,null,_)}),colorLightness:n(function(T,_){return f.modifyHSL(T,null,null,_)}),colorAlpha:n(function(T,_){return f.modifyAlpha(T,_)}),opacity:{applyVisual:t("opacity"),_doMap:p([0,1])},liftZ:{applyVisual:t("liftZ"),_doMap:{linear:c,category:c,piecewise:c,fixed:c}},symbol:{applyVisual:function(T,_,v){var S=this.mapValueToVisual(T);if(g.isString(S))v("symbol",S);else if(h(S))for(var O in S)S.hasOwnProperty(O)&&v(O,S[O])},_doMap:{linear:l,category:s,piecewise:function(T,_){var v=A.call(this,_);return v==null&&(v=l.call(this,T)),v},fixed:c}},symbolSize:{applyVisual:t("symbolSize"),_doMap:p([0,1])}};function r(T){var _=T.pieceList;T.hasSpecialVisual=!1,g.each(_,function(v,S){v.originIndex=S,v.visual!=null&&(T.hasSpecialVisual=!0)})}function o(T){var _=T.categories,v=T.visual,S=T.categoryMap={};if(y(_,function(M,F){S[M]=F}),!g.isArray(v)){var O=[];g.isObject(v)?y(v,function(M,F){var U=S[F];O[U!=null?U:u]=M}):O[u]=v,v=w(T,O)}for(var L=_.length-1;L>=0;L--)v[L]==null&&(delete S[_[L]],_.pop())}function d(T,_){var v=T.visual,S=[];g.isObject(v)?y(v,function(L){S.push(L)}):v!=null&&S.push(v);var O={color:1,symbol:1};!_&&S.length===1&&!O.hasOwnProperty(T.type)&&(S[1]=S[0]),w(T,S)}function n(T){return{applyVisual:function(_,v,S){_=this.mapValueToVisual(_),S("color",T(v("color"),_))},_doMap:p([0,1])}}function l(T){var _=this.option.visual;return _[Math.round(m(T,[0,1],[0,_.length-1],!0))]||{}}function t(T){return function(_,v,S){S(T,this.mapValueToVisual(_))}}function s(T){var _=this.option.visual;return _[this.option.loop&&T!==u?T%_.length:T]}function c(){return this.option.visual[0]}function p(T){return{linear:function(_){return m(_,T,this.option.visual,!0)},category:s,piecewise:function(_,v){var S=A.call(this,v);return S==null&&(S=m(_,T,this.option.visual,!0)),S},fixed:c}}function A(T){var _=this.option,v=_.pieceList;if(_.hasSpecialVisual){var S=i.findPieceIndex(T,v),O=v[S];if(O&&O.visual)return O.visual[this.type]}}function w(T,_){return T.visual=_,T.type==="color"&&(T.parsedVisual=g.map(_,function(v){return f.parse(v)})),_}var C={linear:function(T){return m(T,this.option.dataExtent,[0,1],!0)},piecewise:function(T){var _=this.option.pieceList,v=i.findPieceIndex(T,_,!0);if(v!=null)return m(v,[0,_.length-1],[0,1],!0)},category:function(T){var _=this.option.categories?this.option.categoryMap[T]:T;return _==null?u:_},fixed:g.noop};i.listVisualTypes=function(){var T=[];return g.each(a,function(_,v){T.push(v)}),T},i.addVisualHandler=function(T,_){a[T]=_},i.isValidType=function(T){return a.hasOwnProperty(T)},i.eachVisual=function(T,_,v){g.isObject(T)?g.each(T,_,v):_.call(v,T)},i.mapVisual=function(T,_,v){var S,O=g.isArray(T)?[]:g.isObject(T)?{}:(S=!0,null);return i.eachVisual(T,function(L,M){var F=_.call(v,L,M);S?O=F:O[M]=F}),O},i.retrieveVisuals=function(T){var _={},v;return T&&y(a,function(S,O){T.hasOwnProperty(O)&&(_[O]=T[O],v=!0)}),v?_:null},i.prepareVisualTypes=function(T){if(h(T)){var _=[];y(T,function(v,S){_.push(S)}),T=_}else if(g.isArray(T))T=T.slice();else return[];return T.sort(function(v,S){return S==="color"&&v!=="color"&&v.indexOf("color")===0?1:-1}),T},i.dependsOn=function(T,_){return _==="color"?!!(T&&T.indexOf(_)===0):T===_},i.findPieceIndex=function(T,_,v){for(var S,O=Infinity,L=0,M=_.length;L<M;L++){var F=_[L].value;if(F!=null){if(F===T||typeof F=="string"&&F===T+"")return L;v&&N(F,L)}}for(var L=0,M=_.length;L<M;L++){var U=_[L],z=U.interval,W=U.close;if(z){if(z[0]===-Infinity){if(x(W[1],T,z[1]))return L}else if(z[1]===Infinity){if(x(W[0],z[0],T))return L}else if(x(W[0],z[0],T)&&x(W[1],T,z[1]))return L;v&&N(z[0],L),v&&N(z[1],L)}}if(v)return T===Infinity?_.length-1:T===-Infinity?0:S;function N(H,j){var k=Math.abs(H-T);k<O&&(O=k,S=j)}};function x(T,_,v){return T?_<=v:_<v}var E=i;R.exports=E},XzQk:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("KpQ+"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},"Y+p1":function(R,I,e){var g=e("wF/u");function f(b,m){return g(b,m)}R.exports=f},Y1PL:function(R,I,e){"use strict";e.r(I),e.d(I,"ResizableTextArea",function(){return T});var g=e("1OyB"),f=e("vuIU"),b=e("Ji7U"),m=e("md7G"),y=e("foSv"),h=e("q1tI"),u=e("rePB"),i=e("t23M"),a=e("BGR+"),r=e("TSYQ"),o=e.n(r),d=`
min-height:0 !important;
max-height:none !important;
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important
`,n=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"],l={},t;function s(L){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,F=L.getAttribute("id")||L.getAttribute("data-reactid")||L.getAttribute("name");if(M&&l[F])return l[F];var U=window.getComputedStyle(L),z=U.getPropertyValue("box-sizing")||U.getPropertyValue("-moz-box-sizing")||U.getPropertyValue("-webkit-box-sizing"),W=parseFloat(U.getPropertyValue("padding-bottom"))+parseFloat(U.getPropertyValue("padding-top")),N=parseFloat(U.getPropertyValue("border-bottom-width"))+parseFloat(U.getPropertyValue("border-top-width")),H=n.map(function(k){return"".concat(k,":").concat(U.getPropertyValue(k))}).join(";"),j={sizingStyle:H,paddingSize:W,borderSize:N,boxSizing:z};return M&&F&&(l[F]=j),j}function c(L){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,U=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;t||(t=document.createElement("textarea"),t.setAttribute("tab-index","-1"),t.setAttribute("aria-hidden","true"),document.body.appendChild(t)),L.getAttribute("wrap")?t.setAttribute("wrap",L.getAttribute("wrap")):t.removeAttribute("wrap");var z=s(L,M),W=z.paddingSize,N=z.borderSize,H=z.boxSizing,j=z.sizingStyle;t.setAttribute("style","".concat(j,";").concat(d)),t.value=L.value||L.placeholder||"";var k=Number.MIN_SAFE_INTEGER,B=Number.MAX_SAFE_INTEGER,V=t.scrollHeight,K;if(H==="border-box"?V+=N:H==="content-box"&&(V-=W),F!==null||U!==null){t.value=" ";var Y=t.scrollHeight-W;F!==null&&(k=Y*F,H==="border-box"&&(k=k+W+N),V=Math.max(k,V)),U!==null&&(B=Y*U,H==="border-box"&&(B=B+W+N),K=V>B?"":"hidden",V=Math.min(B,V))}return{height:V,minHeight:k,maxHeight:B,overflowY:K}}function p(L,M){var F=Object.keys(L);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(L);M&&(U=U.filter(function(z){return Object.getOwnPropertyDescriptor(L,z).enumerable})),F.push.apply(F,U)}return F}function A(L){for(var M=1;M<arguments.length;M++){var F=arguments[M]!=null?arguments[M]:{};M%2?p(Object(F),!0).forEach(function(U){Object(u.a)(L,U,F[U])}):Object.getOwnPropertyDescriptors?Object.defineProperties(L,Object.getOwnPropertyDescriptors(F)):p(Object(F)).forEach(function(U){Object.defineProperty(L,U,Object.getOwnPropertyDescriptor(F,U))})}return L}function w(L){var M=C();return function(){var U=Object(y.a)(L),z;if(M){var W=Object(y.a)(this).constructor;z=Reflect.construct(U,arguments,W)}else z=U.apply(this,arguments);return Object(m.a)(this,z)}}function C(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(L){return!1}}var x;(function(L){L[L.NONE=0]="NONE",L[L.RESIZING=1]="RESIZING",L[L.RESIZED=2]="RESIZED"})(x||(x={}));var E=function(L){Object(b.a)(F,L);var M=w(F);function F(U){var z;return Object(g.a)(this,F),z=M.call(this,U),z.saveTextArea=function(W){z.textArea=W},z.handleResize=function(W){var N=z.state.resizeStatus,H=z.props,j=H.autoSize,k=H.onResize;if(N!==x.NONE)return;typeof k=="function"&&k(W),j&&z.resizeOnNextFrame()},z.resizeOnNextFrame=function(){cancelAnimationFrame(z.nextFrameActionId),z.nextFrameActionId=requestAnimationFrame(z.resizeTextarea)},z.resizeTextarea=function(){var W=z.props.autoSize;if(!W||!z.textArea)return;var N=W.minRows,H=W.maxRows,j=c(z.textArea,!1,N,H);z.setState({textareaStyles:j,resizeStatus:x.RESIZING},function(){cancelAnimationFrame(z.resizeFrameId),z.resizeFrameId=requestAnimationFrame(function(){z.setState({resizeStatus:x.RESIZED},function(){z.resizeFrameId=requestAnimationFrame(function(){z.setState({resizeStatus:x.NONE}),z.fixFirefoxAutoScroll()})})})})},z.renderTextArea=function(){var W=z.props,N=W.prefixCls,H=N===void 0?"rc-textarea":N,j=W.autoSize,k=W.onResize,B=W.className,V=W.disabled,K=z.state,Y=K.textareaStyles,Q=K.resizeStatus,he=Object(a.default)(z.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),G=o()(H,B,Object(u.a)({},"".concat(H,"-disabled"),V));"value"in he&&(he.value=he.value||"");var ye=A(A(A({},z.props.style),Y),Q===x.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return h.createElement(i.a,{onResize:z.handleResize,disabled:!(j||k)},h.createElement("textarea",Object.assign({},he,{className:G,style:ye,ref:z.saveTextArea})))},z.state={textareaStyles:{},resizeStatus:x.NONE},z}return Object(f.a)(F,[{key:"componentDidMount",value:function(){this.resizeTextarea()}},{key:"componentDidUpdate",value:function(z){z.value!==this.props.value&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var z=this.textArea.selectionStart,W=this.textArea.selectionEnd;this.textArea.setSelectionRange(z,W)}}catch(N){}}},{key:"render",value:function(){return this.renderTextArea()}}]),F}(h.Component),T=E;function _(L){var M=v();return function(){var U=Object(y.a)(L),z;if(M){var W=Object(y.a)(this).constructor;z=Reflect.construct(U,arguments,W)}else z=U.apply(this,arguments);return Object(m.a)(this,z)}}function v(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(L){return!1}}var S=function(L){Object(b.a)(F,L);var M=_(F);function F(U){var z;Object(g.a)(this,F),z=M.call(this,U),z.focus=function(){z.resizableTextArea.textArea.focus()},z.saveTextArea=function(N){z.resizableTextArea=N},z.handleChange=function(N){var H=z.props.onChange;z.setValue(N.target.value,function(){z.resizableTextArea.resizeTextarea()}),H&&H(N)},z.handleKeyDown=function(N){var H=z.props,j=H.onPressEnter,k=H.onKeyDown;N.keyCode===13&&j&&j(N),k&&k(N)};var W=typeof U.value=="undefined"||U.value===null?U.defaultValue:U.value;return z.state={value:W},z}return Object(f.a)(F,[{key:"setValue",value:function(z,W){"value"in this.props||this.setState({value:z},W)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return h.createElement(T,Object.assign({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(z){return"value"in z?{value:z.value}:null}}]),F}(h.Component),O=I.default=S},YESw:function(R,I,e){var g=e("Cwc5"),f=g(Object,"create");R.exports=f},YH21:function(R,I,e){var g=e("H6uX");I.Dispatcher=g;var f=e("ItGF"),b=e("Ze12"),m=b.isCanvasEl,y=b.transformCoordWithViewport,h=typeof window!="undefined"&&!!window.addEventListener,u=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,i=[];function a(p,A,w,C){return w=w||{},C||!f.canvasSupported?r(p,A,w):f.browser.firefox&&A.layerX!=null&&A.layerX!==A.offsetX?(w.zrX=A.layerX,w.zrY=A.layerY):A.offsetX!=null?(w.zrX=A.offsetX,w.zrY=A.offsetY):r(p,A,w),w}function r(p,A,w){if(f.domSupported&&p.getBoundingClientRect){var C=A.clientX,x=A.clientY;if(m(p)){var E=p.getBoundingClientRect();w.zrX=C-E.left,w.zrY=x-E.top;return}else if(y(i,p,C,x)){w.zrX=i[0],w.zrY=i[1];return}}w.zrX=w.zrY=0}function o(p){return p||window.event}function d(p,A,w){if(A=o(A),A.zrX!=null)return A;var C=A.type,x=C&&C.indexOf("touch")>=0;if(!x)a(p,A,A,w),A.zrDelta=A.wheelDelta?A.wheelDelta/120:-(A.detail||0)/3;else{var E=C!=="touchend"?A.targetTouches[0]:A.changedTouches[0];E&&a(p,E,A,w)}var T=A.button;return A.which==null&&T!==void 0&&u.test(A.type)&&(A.which=T&1?1:T&2?3:T&4?2:0),A}function n(p,A,w,C){h?p.addEventListener(A,w,C):p.attachEvent("on"+A,w)}function l(p,A,w,C){h?p.removeEventListener(A,w,C):p.detachEvent("on"+A,w)}var t=h?function(p){p.preventDefault(),p.stopPropagation(),p.cancelBubble=!0}:function(p){p.returnValue=!1,p.cancelBubble=!0};function s(p){return p.which===2||p.which===3}function c(p){return p.which>1}I.clientToLocal=a,I.getNativeEvent=o,I.normalizeEvent=d,I.addEventListener=n,I.removeEventListener=l,I.stop=t,I.isMiddleOrRightButtonOnMouseUpDown=s,I.notLeftMouse=c},YJ9k:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;function g(y,h){if(!(y instanceof h))throw new TypeError("Cannot call a class as a function")}function f(y,h){for(var u=0;u<h.length;u++){var i=h[u];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(y,i.key,i)}}function b(y,h,u){return h&&f(y.prototype,h),u&&f(y,u),y}var m=function(){function y(){g(this,y),this._listeners=new Map}return b(y,[{key:"addEventListener",value:function(u,i){this._listeners.has(u)||this._listeners.set(u,new Set),this._listeners.get(u).add(i)}},{key:"removeEventListener",value:function(u,i){this._listeners.has(u)&&this._listeners.get(u).delete(i)}},{key:"dispatchEvent",value:function(u){var i=this;return this._listeners.has(u.type)?(this._listeners.get(u.type).forEach(function(a){return a.call(i,u)}),!u.defaultPrevented):!0}}]),y}();I.default=m},YJCA:function(R,I,e){"use strict";e.d(I,"a",function(){return Z}),e.d(I,"b",function(){return Ie});var g=e("wx14"),f=e("ODXe"),b=e("vpQ4"),m=e("1OyB"),y=e("vuIU"),h=e("md7G"),u=e("foSv"),i=e("Ji7U"),a=e("JX7q"),r=e("rePB"),o=e("q1tI"),d=e.n(o),n=e("17x9"),l=e.n(n),t=e("i8i4"),s=e.n(t),c=e("QLaP"),p=e.n(c),A=e("KQm4"),w=function(){function fe(){Object(m.a)(this,fe),Object(r.a)(this,"refs",{})}return Object(y.a)(fe,[{key:"add",value:function(J,ve){this.refs[J]||(this.refs[J]=[]),this.refs[J].push(ve)}},{key:"remove",value:function(J,ve){var De=this.getIndex(J,ve);De!==-1&&this.refs[J].splice(De,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var J=this;return this.refs[this.active.collection].find(function(ve){var De=ve.node;return De.sortableInfo.index==J.active.index})}},{key:"getIndex",value:function(J,ve){return this.refs[J].indexOf(ve)}},{key:"getOrderedRefs",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[J].sort(C)}}]),fe}();function C(fe,te){var J=fe.node.sortableInfo.index,ve=te.node.sortableInfo.index;return J-ve}function x(fe,te,J){return fe=fe.slice(),fe.splice(J<0?fe.length+J:J,0,fe.splice(te,1)[0]),fe}function E(fe,te){return Object.keys(fe).reduce(function(J,ve){return te.indexOf(ve)===-1&&(J[ve]=fe[ve]),J},{})}var T={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},_=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var fe=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],te=(Array.prototype.slice.call(fe).join("").match(/-(moz|webkit|ms)-/)||fe.OLink===""&&["","o"])[1];switch(te){case"ms":return"ms";default:return te&&te.length?te[0].toUpperCase()+te.substr(1):""}}();function v(fe,te){Object.keys(te).forEach(function(J){fe.style[J]=te[J]})}function S(fe,te){fe.style["".concat(_,"Transform")]=te==null?"":"translate3d(".concat(te.x,"px,").concat(te.y,"px,0)")}function O(fe,te){fe.style["".concat(_,"TransitionDuration")]=te==null?"":"".concat(te,"ms")}function L(fe,te){for(;fe;){if(te(fe))return fe;fe=fe.parentNode}return null}function M(fe,te,J){return Math.max(fe,Math.min(J,te))}function F(fe){return fe.substr(-2)==="px"?parseFloat(fe):0}function U(fe){var te=window.getComputedStyle(fe);return{bottom:F(te.marginBottom),left:F(te.marginLeft),right:F(te.marginRight),top:F(te.marginTop)}}function z(fe,te){var J=te.displayName||te.name;return J?"".concat(fe,"(").concat(J,")"):fe}function W(fe,te){var J=fe.getBoundingClientRect();return{top:J.top+te.top,left:J.left+te.left}}function N(fe){return fe.touches&&fe.touches.length?{x:fe.touches[0].pageX,y:fe.touches[0].pageY}:fe.changedTouches&&fe.changedTouches.length?{x:fe.changedTouches[0].pageX,y:fe.changedTouches[0].pageY}:{x:fe.pageX,y:fe.pageY}}function H(fe){return fe.touches&&fe.touches.length||fe.changedTouches&&fe.changedTouches.length}function j(fe,te){var J=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!fe)return;var ve={left:J.left+fe.offsetLeft,top:J.top+fe.offsetTop};return fe.parentNode===te?ve:j(fe.parentNode,te,ve)}function k(fe,te,J){return fe<J&&fe>te?fe-1:fe>J&&fe<te?fe+1:fe}function B(fe){var te=fe.lockOffset,J=fe.width,ve=fe.height,De=te,ze=te,dt="px";if(typeof te=="string"){var Me=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(te);p()(Me!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',te),De=parseFloat(te),ze=parseFloat(te),dt=Me[1]}return p()(isFinite(De)&&isFinite(ze),"lockOffset value should be a finite. Given %s",te),dt==="%"&&(De=De*J/100,ze=ze*ve/100),{x:De,y:ze}}function V(fe){var te=fe.height,J=fe.width,ve=fe.lockOffset,De=Array.isArray(ve)?ve:[ve,ve];p()(De.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",ve);var ze=Object(f.a)(De,2),dt=ze[0],Me=ze[1];return[B({height:te,lockOffset:dt,width:J}),B({height:te,lockOffset:Me,width:J})]}function K(fe){var te=window.getComputedStyle(fe),J=/(auto|scroll)/,ve=["overflow","overflowX","overflowY"];return ve.find(function(De){return J.test(te[De])})}function Y(fe){return fe instanceof HTMLElement?K(fe)?fe:Y(fe.parentNode):null}function Q(fe){var te=window.getComputedStyle(fe);return te.display==="grid"?{x:F(te.gridColumnGap),y:F(te.gridRowGap)}:{x:0,y:0}}var he={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},G={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function ye(fe){var te="input, textarea, select, canvas, [contenteditable]",J=fe.querySelectorAll(te),ve=fe.cloneNode(!0),De=Object(A.a)(ve.querySelectorAll(te));return De.forEach(function(ze,dt){if(ze.type!=="file"&&(ze.value=J[dt].value),ze.type==="radio"&&ze.name&&(ze.name="__sortableClone__".concat(ze.name)),ze.tagName===G.Canvas&&J[dt].width>0&&J[dt].height>0){var Me=ze.getContext("2d");Me.drawImage(J[dt],0,0)}}),ve}function Ae(fe){var te,J,ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return J=te=function(De){Object(i.a)(ze,De);function ze(){return Object(m.a)(this,ze),Object(h.a)(this,Object(u.a)(ze).apply(this,arguments))}return Object(y.a)(ze,[{key:"componentDidMount",value:function(){var Me=Object(t.findDOMNode)(this);Me.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return p()(ve.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Me=ve.withRef?"wrappedInstance":null;return Object(o.createElement)(fe,Object(g.a)({ref:Me},this.props))}}]),ze}(o.Component),Object(r.a)(te,"displayName",z("sortableHandle",fe)),J}function ge(fe){return fe.sortableHandle!=null}var Pe=function(){function fe(te,J){Object(m.a)(this,fe),this.container=te,this.onScrollCallback=J}return Object(y.a)(fe,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(J){var ve=this,De=J.translate,ze=J.minTranslate,dt=J.maxTranslate,Me=J.width,Tt=J.height,je={x:0,y:0},st={x:1,y:1},Xe={x:10,y:10},Je=this.container,et=Je.scrollTop,ot=Je.scrollLeft,Ve=Je.scrollHeight,ue=Je.scrollWidth,ae=Je.clientHeight,lt=Je.clientWidth,Ze=et===0,Te=Ve-et-ae===0,Jt=ot===0,mt=ue-ot-lt===0;De.y>=dt.y-Tt/2&&!Te?(je.y=1,st.y=Xe.y*Math.abs((dt.y-Tt/2-De.y)/Tt)):De.x>=dt.x-Me/2&&!mt?(je.x=1,st.x=Xe.x*Math.abs((dt.x-Me/2-De.x)/Me)):De.y<=ze.y+Tt/2&&!Ze?(je.y=-1,st.y=Xe.y*Math.abs((De.y-Tt/2-ze.y)/Tt)):De.x<=ze.x+Me/2&&!Jt&&(je.x=-1,st.x=Xe.x*Math.abs((De.x-Me/2-ze.x)/Me)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(je.x!==0||je.y!==0)&&(this.interval=setInterval(function(){ve.isAutoScrolling=!0;var ft={left:st.x*je.x,top:st.y*je.y};ve.container.scrollTop+=ft.top,ve.container.scrollLeft+=ft.left,ve.onScrollCallback(ft)},5))}}]),fe}();function Re(fe){var te=fe.node;return{height:te.offsetHeight,width:te.offsetWidth}}function rt(fe){var te=[G.Input,G.Textarea,G.Select,G.Option,G.Button];return te.indexOf(fe.target.tagName)!==-1?!0:!!L(fe.target,function(J){return J.contentEditable==="true"})}var ne={axis:l.a.oneOf(["x","y","xy"]),contentWindow:l.a.any,disableAutoscroll:l.a.bool,distance:l.a.number,getContainer:l.a.func,getHelperDimensions:l.a.func,helperClass:l.a.string,helperContainer:l.a.oneOfType([l.a.func,typeof HTMLElement=="undefined"?l.a.any:l.a.instanceOf(HTMLElement)]),hideSortableGhost:l.a.bool,keyboardSortingTransitionDuration:l.a.number,lockAxis:l.a.string,lockOffset:l.a.oneOfType([l.a.number,l.a.string,l.a.arrayOf(l.a.oneOfType([l.a.number,l.a.string]))]),lockToContainerEdges:l.a.bool,onSortEnd:l.a.func,onSortMove:l.a.func,onSortOver:l.a.func,onSortStart:l.a.func,pressDelay:l.a.number,pressThreshold:l.a.number,keyCodes:l.a.shape({lift:l.a.arrayOf(l.a.number),drop:l.a.arrayOf(l.a.number),cancel:l.a.arrayOf(l.a.number),up:l.a.arrayOf(l.a.number),down:l.a.arrayOf(l.a.number)}),shouldCancelStart:l.a.func,transitionDuration:l.a.number,updateBeforeSortStart:l.a.func,useDragHandle:l.a.bool,useWindowAsScrollContainer:l.a.bool},be={lift:[he.SPACE],drop:[he.SPACE],cancel:[he.ESC],up:[he.UP,he.LEFT],down:[he.DOWN,he.RIGHT]},at={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:Re,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:be,shouldCancelStart:rt,transitionDuration:300,useWindowAsScrollContainer:!1},se=Object.keys(ne);function q(fe){p()(!(fe.distance&&fe.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.")}function X(fe,te){try{var J=fe()}catch(ve){return te(!0,ve)}return J&&J.then?J.then(te.bind(null,!1),te.bind(null,!0)):te(!1,value)}function Z(fe){var te,J,ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return J=te=function(De){Object(i.a)(ze,De);function ze(dt){var Me;return Object(m.a)(this,ze),Me=Object(h.a)(this,Object(u.a)(ze).call(this,dt)),Object(r.a)(Object(a.a)(Object(a.a)(Me)),"state",{}),Object(r.a)(Object(a.a)(Object(a.a)(Me)),"handleStart",function(Tt){var je=Me.props,st=je.distance,Xe=je.shouldCancelStart;if(Tt.button===2||Xe(Tt))return;Me.touched=!0,Me.position=N(Tt);var Je=L(Tt.target,function(lt){return lt.sortableInfo!=null});if(Je&&Je.sortableInfo&&Me.nodeIsChild(Je)&&!Me.state.sorting){var et=Me.props.useDragHandle,ot=Je.sortableInfo,Ve=ot.index,ue=ot.collection,ae=ot.disabled;if(ae)return;if(et&&!L(Tt.target,ge))return;Me.manager.active={collection:ue,index:Ve},!H(Tt)&&Tt.target.tagName===G.Anchor&&Tt.preventDefault(),st||(Me.props.pressDelay===0?Me.handlePress(Tt):Me.pressTimer=setTimeout(function(){return Me.handlePress(Tt)},Me.props.pressDelay))}}),Object(r.a)(Object(a.a)(Object(a.a)(Me)),"nodeIsChild",function(Tt){return Tt.sortableInfo.manager===Me.manager}),Object(r.a)(Object(a.a)(Object(a.a)(Me)),"handleMove",function(Tt){var je=Me.props,st=je.distance,Xe=je.pressThreshold;if(!Me.state.sorting&&Me.touched&&!Me._awaitingUpdateBeforeSortStart){var Je=N(Tt),et={x:Me.position.x-Je.x,y:Me.position.y-Je.y},ot=Math.abs(et.x)+Math.abs(et.y);Me.delta=et,!st&&(!Xe||ot>=Xe)?(clearTimeout(Me.cancelTimer),Me.cancelTimer=setTimeout(Me.cancel,0)):st&&ot>=st&&Me.manager.isActive()&&Me.handlePress(Tt)}}),Object(r.a)(Object(a.a)(Object(a.a)(Me)),"handleEnd",function(){Me.touched=!1,Me.cancel()}),Object(r.a)(Object(a.a)(Object(a.a)(Me)),"cancel",function(){var Tt=Me.props.distance,je=Me.state.sorting;je||(Tt||clearTimeout(Me.pressTimer),Me.manager.active=null)}),Object(r.a)(Object(a.a)(Object(a.a)(Me)),"handlePress",function(Tt){try{var je=Me.manager.getActive(),st=function(){if(je){var Xe=function(){var Lt=Te.sortableInfo.index,or=U(Te),Bt=Q(Me.container),_e=Me.scrollContainer.getBoundingClientRect(),Ce=ot({index:Lt,node:Te,collection:Jt});if(Me.node=Te,Me.margin=or,Me.gridGap=Bt,Me.width=Ce.width,Me.height=Ce.height,Me.marginOffset={x:Me.margin.left+Me.margin.right+Me.gridGap.x,y:Math.max(Me.margin.top,Me.margin.bottom,Me.gridGap.y)},Me.boundingClientRect=Te.getBoundingClientRect(),Me.containerBoundingRect=_e,Me.index=Lt,Me.newIndex=Lt,Me.axis={x:et.indexOf("x")>=0,y:et.indexOf("y")>=0},Me.offsetEdge=j(Te,Me.container),mt?Me.initialOffset=N(Object(b.a)({},Tt,{pageX:Me.boundingClientRect.left,pageY:Me.boundingClientRect.top})):Me.initialOffset=N(Tt),Me.initialScroll={left:Me.scrollContainer.scrollLeft,top:Me.scrollContainer.scrollTop},Me.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Me.helper=Me.helperContainer.appendChild(ye(Te)),v(Me.helper,{boxSizing:"border-box",height:"".concat(Me.height,"px"),left:"".concat(Me.boundingClientRect.left-or.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Me.boundingClientRect.top-or.top,"px"),width:"".concat(Me.width,"px")}),mt&&Me.helper.focus(),ue&&(Me.sortableGhost=Te,v(Te,{opacity:0,visibility:"hidden"})),Me.minTranslate={},Me.maxTranslate={},mt){var Ee=Ze?{top:0,left:0,width:Me.contentWindow.innerWidth,height:Me.contentWindow.innerHeight}:Me.containerBoundingRect,we=Ee.top,Fe=Ee.left,Ye=Ee.width,Ge=Ee.height,qe=we+Ge,Ke=Fe+Ye;Me.axis.x&&(Me.minTranslate.x=Fe-Me.boundingClientRect.left,Me.maxTranslate.x=Ke-(Me.boundingClientRect.left+Me.width)),Me.axis.y&&(Me.minTranslate.y=we-Me.boundingClientRect.top,Me.maxTranslate.y=qe-(Me.boundingClientRect.top+Me.height))}else Me.axis.x&&(Me.minTranslate.x=(Ze?0:_e.left)-Me.boundingClientRect.left-Me.width/2,Me.maxTranslate.x=(Ze?Me.contentWindow.innerWidth:_e.left+_e.width)-Me.boundingClientRect.left-Me.width/2),Me.axis.y&&(Me.minTranslate.y=(Ze?0:_e.top)-Me.boundingClientRect.top-Me.height/2,Me.maxTranslate.y=(Ze?Me.contentWindow.innerHeight:_e.top+_e.height)-Me.boundingClientRect.top-Me.height/2);Ve&&Ve.split(" ").forEach(function(ut){return Me.helper.classList.add(ut)}),Me.listenerNode=Tt.touches?Te:Me.contentWindow,mt?(Me.listenerNode.addEventListener("wheel",Me.handleKeyEnd,!0),Me.listenerNode.addEventListener("mousedown",Me.handleKeyEnd,!0),Me.listenerNode.addEventListener("keydown",Me.handleKeyDown)):(T.move.forEach(function(ut){return Me.listenerNode.addEventListener(ut,Me.handleSortMove,!1)}),T.end.forEach(function(ut){return Me.listenerNode.addEventListener(ut,Me.handleSortEnd,!1)})),Me.setState({sorting:!0,sortingIndex:Lt}),lt&&lt({node:Te,index:Lt,collection:Jt,isKeySorting:mt,nodes:Me.manager.getOrderedRefs(),helper:Me.helper},Tt),mt&&Me.keyMove(0)},Je=Me.props,et=Je.axis,ot=Je.getHelperDimensions,Ve=Je.helperClass,ue=Je.hideSortableGhost,ae=Je.updateBeforeSortStart,lt=Je.onSortStart,Ze=Je.useWindowAsScrollContainer,Te=je.node,Jt=je.collection,mt=Me.manager.isKeySorting,ft=function(){if(typeof ae=="function"){Me._awaitingUpdateBeforeSortStart=!0;var bt=X(function(){var Lt=Te.sortableInfo.index;return Promise.resolve(ae({collection:Jt,index:Lt,node:Te,isKeySorting:mt},Tt)).then(function(){})},function(Lt,or){if(Me._awaitingUpdateBeforeSortStart=!1,Lt)throw or;return or});if(bt&&bt.then)return bt.then(function(){})}}();return ft&&ft.then?ft.then(Xe):Xe(ft)}}();return Promise.resolve(st&&st.then?st.then(function(){}):void 0)}catch(Xe){return Promise.reject(Xe)}}),Object(r.a)(Object(a.a)(Object(a.a)(Me)),"handleSortMove",function(Tt){var je=Me.props.onSortMove;typeof Tt.preventDefault=="function"&&Tt.preventDefault(),Me.updateHelperPosition(Tt),Me.animateNodes(),Me.autoscroll(),je&&je(Tt)}),Object(r.a)(Object(a.a)(Object(a.a)(Me)),"handleSortEnd",function(Tt){var je=Me.props,st=je.hideSortableGhost,Xe=je.onSortEnd,Je=Me.manager,et=Je.active.collection,ot=Je.isKeySorting,Ve=Me.manager.getOrderedRefs();Me.listenerNode&&(ot?(Me.listenerNode.removeEventListener("wheel",Me.handleKeyEnd,!0),Me.listenerNode.removeEventListener("mousedown",Me.handleKeyEnd,!0),Me.listenerNode.removeEventListener("keydown",Me.handleKeyDown)):(T.move.forEach(function(Te){return Me.listenerNode.removeEventListener(Te,Me.handleSortMove)}),T.end.forEach(function(Te){return Me.listenerNode.removeEventListener(Te,Me.handleSortEnd)}))),Me.helper.parentNode.removeChild(Me.helper),st&&Me.sortableGhost&&v(Me.sortableGhost,{opacity:"",visibility:""});for(var ue=0,ae=Ve.length;ue<ae;ue++){var lt=Ve[ue],Ze=lt.node;lt.edgeOffset=null,lt.boundingClientRect=null,S(Ze,null),O(Ze,null),lt.translate=null}Me.autoScroller.clear(),Me.manager.active=null,Me.manager.isKeySorting=!1,Me.setState({sorting:!1,sortingIndex:null}),typeof Xe=="function"&&Xe({collection:et,newIndex:Me.newIndex,oldIndex:Me.index,isKeySorting:ot,nodes:Ve},Tt),Me.touched=!1}),Object(r.a)(Object(a.a)(Object(a.a)(Me)),"autoscroll",function(){var Tt=Me.props.disableAutoscroll,je=Me.manager.isKeySorting;if(Tt){Me.autoScroller.clear();return}if(je){var st=Object(b.a)({},Me.translate),Xe=0,Je=0;Me.axis.x&&(st.x=Math.min(Me.maxTranslate.x,Math.max(Me.minTranslate.x,Me.translate.x)),Xe=Me.translate.x-st.x),Me.axis.y&&(st.y=Math.min(Me.maxTranslate.y,Math.max(Me.minTranslate.y,Me.translate.y)),Je=Me.translate.y-st.y),Me.translate=st,S(Me.helper,Me.translate),Me.scrollContainer.scrollLeft+=Xe,Me.scrollContainer.scrollTop+=Je;return}Me.autoScroller.update({height:Me.height,maxTranslate:Me.maxTranslate,minTranslate:Me.minTranslate,translate:Me.translate,width:Me.width})}),Object(r.a)(Object(a.a)(Object(a.a)(Me)),"onAutoScroll",function(Tt){Me.translate.x+=Tt.left,Me.translate.y+=Tt.top,Me.animateNodes()}),Object(r.a)(Object(a.a)(Object(a.a)(Me)),"handleKeyDown",function(Tt){var je=Tt.keyCode,st=Me.props,Xe=st.shouldCancelStart,Je=st.keyCodes,et=Je===void 0?{}:Je,ot=Object(b.a)({},be,et);if(Me.manager.active&&!Me.manager.isKeySorting||!Me.manager.active&&(!ot.lift.includes(je)||Xe(Tt)||!Me.isValidSortingTarget(Tt)))return;Tt.stopPropagation(),Tt.preventDefault(),ot.lift.includes(je)&&!Me.manager.active?Me.keyLift(Tt):ot.drop.includes(je)&&Me.manager.active?Me.keyDrop(Tt):ot.cancel.includes(je)?(Me.newIndex=Me.manager.active.index,Me.keyDrop(Tt)):ot.up.includes(je)?Me.keyMove(-1):ot.down.includes(je)&&Me.keyMove(1)}),Object(r.a)(Object(a.a)(Object(a.a)(Me)),"keyLift",function(Tt){var je=Tt.target,st=L(je,function(ot){return ot.sortableInfo!=null}),Xe=st.sortableInfo,Je=Xe.index,et=Xe.collection;Me.initialFocusedNode=je,Me.manager.isKeySorting=!0,Me.manager.active={index:Je,collection:et},Me.handlePress(Tt)}),Object(r.a)(Object(a.a)(Object(a.a)(Me)),"keyMove",function(Tt){var je=Me.manager.getOrderedRefs(),st=je[je.length-1].node.sortableInfo.index,Xe=Me.newIndex+Tt,Je=Me.newIndex;if(Xe<0||Xe>st)return;Me.prevIndex=Je,Me.newIndex=Xe;var et=k(Me.newIndex,Me.prevIndex,Me.index),ot=je.find(function(mt){var ft=mt.node;return ft.sortableInfo.index===et}),Ve=ot.node,ue=Me.containerScrollDelta,ae=ot.boundingClientRect||W(Ve,ue),lt=ot.translate||{x:0,y:0},Ze={top:ae.top+lt.y-ue.top,left:ae.left+lt.x-ue.left},Te=Je<Xe,Jt={x:Te&&Me.axis.x?Ve.offsetWidth-Me.width:0,y:Te&&Me.axis.y?Ve.offsetHeight-Me.height:0};Me.handleSortMove({pageX:Ze.left+Jt.x,pageY:Ze.top+Jt.y,ignoreTransition:Tt===0})}),Object(r.a)(Object(a.a)(Object(a.a)(Me)),"keyDrop",function(Tt){Me.handleSortEnd(Tt),Me.initialFocusedNode&&Me.initialFocusedNode.focus()}),Object(r.a)(Object(a.a)(Object(a.a)(Me)),"handleKeyEnd",function(Tt){Me.manager.active&&Me.keyDrop(Tt)}),Object(r.a)(Object(a.a)(Object(a.a)(Me)),"isValidSortingTarget",function(Tt){var je=Me.props.useDragHandle,st=Tt.target,Xe=L(st,function(Je){return Je.sortableInfo!=null});return Xe&&Xe.sortableInfo&&!Xe.sortableInfo.disabled&&(je?ge(st):st.sortableInfo)}),q(dt),Me.manager=new w,Me.events={end:Me.handleEnd,move:Me.handleMove,start:Me.handleStart},Me}return Object(y.a)(ze,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var Me=this,Tt=this.props.useWindowAsScrollContainer,je=this.getContainer();Promise.resolve(je).then(function(st){Me.container=st,Me.document=Me.container.ownerDocument||document;var Xe=Me.props.contentWindow||Me.document.defaultView||window;Me.contentWindow=typeof Xe=="function"?Xe():Xe,Me.scrollContainer=Tt?Me.document.scrollingElement||Me.document.documentElement:Y(Me.container)||Me.container,Me.autoScroller=new Pe(Me.scrollContainer,Me.onAutoScroll),Object.keys(Me.events).forEach(function(Je){return T[Je].forEach(function(et){return Me.container.addEventListener(et,Me.events[Je],!1)})}),Me.container.addEventListener("keydown",Me.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var Me=this;if(this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),!this.container)return;Object.keys(this.events).forEach(function(Tt){return T[Tt].forEach(function(je){return Me.container.removeEventListener(je,Me.events[Tt])})}),this.container.removeEventListener("keydown",this.handleKeyDown)}},{key:"updateHelperPosition",value:function(Me){var Tt=this.props,je=Tt.lockAxis,st=Tt.lockOffset,Xe=Tt.lockToContainerEdges,Je=Tt.transitionDuration,et=Tt.keyboardSortingTransitionDuration,ot=et===void 0?Je:et,Ve=this.manager.isKeySorting,ue=Me.ignoreTransition,ae=N(Me),lt={x:ae.x-this.initialOffset.x,y:ae.y-this.initialOffset.y};if(lt.y-=window.pageYOffset-this.initialWindowScroll.top,lt.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=lt,Xe){var Ze=V({height:this.height,lockOffset:st,width:this.width}),Te=Object(f.a)(Ze,2),Jt=Te[0],mt=Te[1],ft={x:this.width/2-Jt.x,y:this.height/2-Jt.y},bt={x:this.width/2-mt.x,y:this.height/2-mt.y};lt.x=M(this.minTranslate.x+ft.x,this.maxTranslate.x-bt.x,lt.x),lt.y=M(this.minTranslate.y+ft.y,this.maxTranslate.y-bt.y,lt.y)}je==="x"?lt.y=0:je==="y"&&(lt.x=0),Ve&&ot&&!ue&&O(this.helper,ot),S(this.helper,lt)}},{key:"animateNodes",value:function(){var Me=this.props,Tt=Me.transitionDuration,je=Me.hideSortableGhost,st=Me.onSortOver,Xe=this.containerScrollDelta,Je=this.windowScrollDelta,et=this.manager.getOrderedRefs(),ot={left:this.offsetEdge.left+this.translate.x+Xe.left,top:this.offsetEdge.top+this.translate.y+Xe.top},Ve=this.manager.isKeySorting,ue=this.newIndex;this.newIndex=null;for(var ae=0,lt=et.length;ae<lt;ae++){var Ze=et[ae].node,Te=Ze.sortableInfo.index,Jt=Ze.offsetWidth,mt=Ze.offsetHeight,ft={height:this.height>mt?mt/2:this.height/2,width:this.width>Jt?Jt/2:this.width/2},bt=Ve&&Te>this.index&&Te<=ue,Lt=Ve&&Te<this.index&&Te>=ue,or={x:0,y:0},Bt=et[ae].edgeOffset;Bt||(Bt=j(Ze,this.container),et[ae].edgeOffset=Bt,Ve&&(et[ae].boundingClientRect=W(Ze,Xe)));var _e=ae<et.length-1&&et[ae+1],Ce=ae>0&&et[ae-1];if(_e&&!_e.edgeOffset&&(_e.edgeOffset=j(_e.node,this.container),Ve&&(_e.boundingClientRect=W(_e.node,Xe))),Te===this.index){je&&(this.sortableGhost=Ze,v(Ze,{opacity:0,visibility:"hidden"}));continue}Tt&&O(Ze,Tt),this.axis.x?this.axis.y?Lt||Te<this.index&&(ot.left+Je.left-ft.width<=Bt.left&&ot.top+Je.top<=Bt.top+ft.height||ot.top+Je.top+ft.height<=Bt.top)?(or.x=this.width+this.marginOffset.x,Bt.left+or.x>this.containerBoundingRect.width-ft.width&&(_e&&(or.x=_e.edgeOffset.left-Bt.left,or.y=_e.edgeOffset.top-Bt.top)),this.newIndex===null&&(this.newIndex=Te)):(bt||Te>this.index&&(ot.left+Je.left+ft.width>=Bt.left&&ot.top+Je.top+ft.height>=Bt.top||ot.top+Je.top+ft.height>=Bt.top+mt))&&(or.x=-(this.width+this.marginOffset.x),Bt.left+or.x<this.containerBoundingRect.left+ft.width&&(Ce&&(or.x=Ce.edgeOffset.left-Bt.left,or.y=Ce.edgeOffset.top-Bt.top)),this.newIndex=Te):bt||Te>this.index&&ot.left+Je.left+ft.width>=Bt.left?(or.x=-(this.width+this.marginOffset.x),this.newIndex=Te):(Lt||Te<this.index&&ot.left+Je.left<=Bt.left+ft.width)&&(or.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=Te)):this.axis.y&&(bt||Te>this.index&&ot.top+Je.top+ft.height>=Bt.top?(or.y=-(this.height+this.marginOffset.y),this.newIndex=Te):(Lt||Te<this.index&&ot.top+Je.top<=Bt.top+ft.height)&&(or.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=Te))),S(Ze,or),et[ae].translate=or}this.newIndex==null&&(this.newIndex=this.index),Ve&&(this.newIndex=ue);var Ee=Ve?this.prevIndex:ue;st&&this.newIndex!==Ee&&st({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:Ee,isKeySorting:Ve,nodes:et,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return p()(ve.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.refs.wrappedInstance}},{key:"getContainer",value:function(){var Me=this.props.getContainer;return typeof Me!="function"?Object(t.findDOMNode)(this):Me(ve.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var Me=ve.withRef?"wrappedInstance":null;return Object(o.createElement)(fe,Object(g.a)({ref:Me},E(this.props,se)))}},{key:"helperContainer",get:function(){var Me=this.props.helperContainer;return typeof Me=="function"?Me():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var Me=this.props.useWindowAsScrollContainer;return Me?{left:0,top:0}:{left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top}}},{key:"windowScrollDelta",get:function(){return{left:this.contentWindow.pageXOffset-this.initialWindowScroll.left,top:this.contentWindow.pageYOffset-this.initialWindowScroll.top}}}]),ze}(o.Component),Object(r.a)(te,"displayName",z("sortableList",fe)),Object(r.a)(te,"defaultProps",at),Object(r.a)(te,"propTypes",ne),Object(r.a)(te,"childContextTypes",{manager:l.a.object.isRequired}),J}var pe={index:l.a.number.isRequired,collection:l.a.oneOfType([l.a.number,l.a.string]),disabled:l.a.bool},oe=Object.keys(pe);function Ie(fe){var te,J,ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return J=te=function(De){Object(i.a)(ze,De);function ze(){return Object(m.a)(this,ze),Object(h.a)(this,Object(u.a)(ze).apply(this,arguments))}return Object(y.a)(ze,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Me){this.node&&(Me.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Me.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Me.collection!==this.props.collection&&(this.unregister(Me.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Me=this.props,Tt=Me.collection,je=Me.disabled,st=Me.index,Xe=Object(t.findDOMNode)(this);Xe.sortableInfo={collection:Tt,disabled:je,index:st,manager:this.context.manager},this.node=Xe,this.ref={node:Xe},this.context.manager.add(Tt,this.ref)}},{key:"unregister",value:function(){var Me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Me,this.ref)}},{key:"getWrappedInstance",value:function(){return p()(ve.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var Me=ve.withRef?"wrappedInstance":null;return Object(o.createElement)(fe,Object(g.a)({ref:Me},E(this.props,oe)))}}]),ze}(o.Component),Object(r.a)(te,"displayName",z("sortableElement",fe)),Object(r.a)(te,"contextTypes",{manager:l.a.object.isRequired}),Object(r.a)(te,"propTypes",pe),Object(r.a)(te,"defaultProps",{collection:0}),J}},YNAk:function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("QyFq")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="CaretDownFilled";var u=b.forwardRef(h);I.default=u},YNf1:function(R,I,e){var g=e("IwbS"),f=e("6Ic6"),b=.3,m=f.extend({type:"parallel",init:function(){this._dataGroup=new g.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(d,n,l,t){var s=this._dataGroup,c=d.getData(),p=this._data,A=d.coordinateSystem,w=A.dimensions,C=i(d);c.diff(p).add(x).update(E).remove(T).execute();function x(v){var S=u(c,s,v,w,A);a(S,c,v,C)}function E(v,S){var O=p.getItemGraphicEl(S),L=h(c,v,w,A);c.setItemGraphicEl(v,O);var M=t&&t.animation===!1?null:d;g.updateProps(O,{shape:{points:L}},M,v),a(O,c,v,C)}function T(v){var S=p.getItemGraphicEl(v);s.remove(S)}if(!this._initialized){this._initialized=!0;var _=y(A,d,function(){setTimeout(function(){s.removeClipPath()})});s.setClipPath(_)}this._data=c},incrementalPrepareRender:function(d,n,l){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(d,n,l){for(var t=n.getData(),s=n.coordinateSystem,c=s.dimensions,p=i(n),A=d.start;A<d.end;A++){var w=u(t,this._dataGroup,A,c,s);w.incremental=!0,a(w,t,A,p)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function y(d,n,l){var t=d.model,s=d.getRect(),c=new g.Rect({shape:{x:s.x,y:s.y,width:s.width,height:s.height}}),p=t.get("layout")==="horizontal"?"width":"height";return c.setShape(p,0),g.initProps(c,{shape:{width:s.width,height:s.height}},n,l),c}function h(d,n,l,t){for(var s=[],c=0;c<l.length;c++){var p=l[c],A=d.get(d.mapDimension(p),n);r(A,t.getAxis(p).type)||s.push(t.dataToPoint(A,p))}return s}function u(d,n,l,t,s){var c=h(d,l,t,s),p=new g.Polyline({shape:{points:c},silent:!0,z2:10});return n.add(p),d.setItemGraphicEl(l,p),p}function i(d){var n=d.get("smooth",!0);return n===!0&&(n=b),{lineStyle:d.getModel("lineStyle").getLineStyle(),smooth:n!=null?n:b}}function a(d,n,l,t){var s=t.lineStyle;if(n.hasItemOption){var c=n.getItemModel(l).getModel("lineStyle");s=c.getLineStyle()}d.useStyle(s);var p=d.style;p.fill=null,p.stroke=n.getItemVisual(l,"color"),p.opacity=n.getItemVisual(l,"opacity"),t.smooth&&(d.shape.smooth=t.smooth)}function r(d,n){return n==="category"?d==null:d==null||isNaN(d)}var o=m;R.exports=o},YOMW:function(R,I,e){var g=e("bYtY"),f={get:function(y,h,u){var i=g.clone((b[y]||{})[h]);return u&&g.isArray(i)?i[i.length-1]:i}},b={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]}},m=f;R.exports=m},YXkt:function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("bYtY"),m=e("Qxkt"),y=e("gPAo"),h=e("7G+c"),u=e("KxfA"),i=u.defaultDimValueGetters,a=u.DefaultDataProvider,r=e("L0Ub"),o=r.summarizeDimensions,d=e("Vi4m"),n=b.isObject,l="undefined",t=-1,s="e\0\0",c={float:typeof Float64Array===l?Array:Float64Array,int:typeof Int32Array===l?Array:Int32Array,ordinal:Array,number:Array,time:Array},p=typeof Uint32Array===l?Array:Uint32Array,A=typeof Int32Array===l?Array:Int32Array,w=typeof Uint16Array===l?Array:Uint16Array;function C(K){return K._rawCount>65535?p:w}function x(K){var Y=K.constructor;return Y===Array?K.slice():new Y(K)}var E=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],T=["_extent","_approximateExtent","_rawExtent"];function _(K,Y){b.each(E.concat(Y.__wrappedMethods||[]),function(Q){Y.hasOwnProperty(Q)&&(K[Q]=Y[Q])}),K.__wrappedMethods=Y.__wrappedMethods,b.each(T,function(Q){K[Q]=b.clone(Y[Q])}),K._calculationInfo=b.extend(Y._calculationInfo)}var v=function(K,Y){K=K||["x","y"];for(var Q={},he=[],G={},ye=0;ye<K.length;ye++){var Ae=K[ye];b.isString(Ae)?Ae=new d({name:Ae}):Ae instanceof d||(Ae=new d(Ae));var ge=Ae.name;Ae.type=Ae.type||"float",Ae.coordDim||(Ae.coordDim=ge,Ae.coordDimIndex=0),Ae.otherDims=Ae.otherDims||{},he.push(ge),Q[ge]=Ae,Ae.index=ye,Ae.createInvertedIndices&&(G[ge]=[])}this.dimensions=he,this._dimensionInfos=Q,this.hostModel=Y,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=o(this),this._invertedIndicesMap=G,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},S=v.prototype;S.type="list",S.hasItemOption=!0,S.getDimension=function(K){return(typeof K=="number"||!isNaN(K)&&!this._dimensionInfos.hasOwnProperty(K))&&(K=this.dimensions[K]),K},S.getDimensionInfo=function(K){return this._dimensionInfos[this.getDimension(K)]},S.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},S.mapDimension=function(K,Y){var Q=this._dimensionsSummary;if(Y==null)return Q.encodeFirstDimNotExtra[K];var he=Q.encode[K];return Y===!0?(he||[]).slice():he&&he[Y]},S.initData=function(K,Y,Q){var he=h.isInstance(K)||b.isArrayLike(K);he&&(K=new a(K,this.dimensions.length)),this._rawData=K,this._storage={},this._indices=null,this._nameList=Y||[],this._idList=[],this._nameRepeatCount={},Q||(this.hasItemOption=!1),this.defaultDimValueGetter=i[this._rawData.getSource().sourceFormat],this._dimValueGetter=Q=Q||this.defaultDimValueGetter,this._dimValueGetterArrayRows=i.arrayRows,this._rawExtent={},this._initDataFromProvider(0,K.count()),K.pure&&(this.hasItemOption=!1)},S.getProvider=function(){return this._rawData},S.appendData=function(K){var Y=this._rawData,Q=this.count();Y.appendData(K);var he=Y.count();Y.persistent||(he+=Q),this._initDataFromProvider(Q,he)},S.appendValues=function(K,Y){for(var Q=this._chunkSize,he=this._storage,G=this.dimensions,ye=G.length,Ae=this._rawExtent,ge=this.count(),Pe=ge+Math.max(K.length,Y?Y.length:0),Re=this._chunkCount,rt=0;rt<ye;rt++){var ne=G[rt];Ae[ne]||(Ae[ne]=k()),he[ne]||(he[ne]=[]),O(he,this._dimensionInfos[ne],Q,Re,Pe),this._chunkCount=he[ne].length}for(var be=new Array(ye),at=ge;at<Pe;at++){for(var se=at-ge,q=Math.floor(at/Q),X=at%Q,Z=0;Z<ye;Z++){var ne=G[Z],pe=this._dimValueGetterArrayRows(K[se]||be,ne,se,Z);he[ne][q][X]=pe;var oe=Ae[ne];pe<oe[0]&&(oe[0]=pe),pe>oe[1]&&(oe[1]=pe)}Y&&(this._nameList[at]=Y[se])}this._rawCount=this._count=Pe,this._extent={},L(this)},S._initDataFromProvider=function(K,Y){if(K>=Y)return;for(var Q=this._chunkSize,he=this._rawData,G=this._storage,ye=this.dimensions,Ae=ye.length,ge=this._dimensionInfos,Pe=this._nameList,Re=this._idList,rt=this._rawExtent,ne=this._nameRepeatCount={},be,at=this._chunkCount,se=0;se<Ae;se++){var q=ye[se];rt[q]||(rt[q]=k());var X=ge[q];X.otherDims.itemName===0&&(be=this._nameDimIdx=se),X.otherDims.itemId===0&&(this._idDimIdx=se),G[q]||(G[q]=[]),O(G,X,Q,at,Y),this._chunkCount=G[q].length}for(var Z=new Array(Ae),pe=K;pe<Y;pe++){Z=he.getItem(pe,Z);for(var oe=Math.floor(pe/Q),Ie=pe%Q,fe=0;fe<Ae;fe++){var q=ye[fe],te=G[q][oe],J=this._dimValueGetter(Z,q,pe,fe);te[Ie]=J;var ve=rt[q];J<ve[0]&&(ve[0]=J),J>ve[1]&&(ve[1]=J)}if(!he.pure){var De=Pe[pe];if(Z&&De==null){if(Z.name!=null)Pe[pe]=De=Z.name;else if(be!=null){var ze=ye[be],dt=G[ze][oe];if(dt){De=dt[Ie];var Me=ge[ze].ordinalMeta;Me&&Me.categories.length&&(De=Me.categories[De])}}}var Tt=Z==null?null:Z.id;Tt==null&&De!=null&&(ne[De]=ne[De]||0,Tt=De,ne[De]>0&&(Tt+="__ec__"+ne[De]),ne[De]++),Tt!=null&&(Re[pe]=Tt)}}!he.persistent&&he.clean&&he.clean(),this._rawCount=this._count=Y,this._extent={},L(this)};function O(K,Y,Q,he,G){var ye=c[Y.type],Ae=he-1,ge=Y.name,Pe=K[ge][Ae];if(Pe&&Pe.length<Q){for(var Re=new ye(Math.min(G-Ae*Q,Q)),rt=0;rt<Pe.length;rt++)Re[rt]=Pe[rt];K[ge][Ae]=Re}for(var ne=he*Q;ne<G;ne+=Q)K[ge].push(new ye(Math.min(G-ne,Q)))}function L(K){var Y=K._invertedIndicesMap;b.each(Y,function(Q,he){var G=K._dimensionInfos[he],ye=G.ordinalMeta;if(ye){Q=Y[he]=new A(ye.categories.length);for(var Ae=0;Ae<Q.length;Ae++)Q[Ae]=t;for(var Ae=0;Ae<K._count;Ae++)Q[K.get(he,Ae)]=Ae}})}function M(K,Y,Q){var he;if(Y!=null){var G=K._chunkSize,ye=Math.floor(Q/G),Ae=Q%G,ge=K.dimensions[Y],Pe=K._storage[ge][ye];if(Pe){he=Pe[Ae];var Re=K._dimensionInfos[ge].ordinalMeta;Re&&Re.categories.length&&(he=Re.categories[he])}}return he}S.count=function(){return this._count},S.getIndices=function(){var K,Y=this._indices;if(Y){var Q=Y.constructor,he=this._count;if(Q===Array){K=new Q(he);for(var G=0;G<he;G++)K[G]=Y[G]}else K=new Q(Y.buffer,0,he)}else for(var Q=C(this),K=new Q(this.count()),G=0;G<K.length;G++)K[G]=G;return K},S.get=function(K,Y){if(!(Y>=0&&Y<this._count))return NaN;var Q=this._storage;if(!Q[K])return NaN;Y=this.getRawIndex(Y);var he=Math.floor(Y/this._chunkSize),G=Y%this._chunkSize,ye=Q[K][he],Ae=ye[G];return Ae},S.getByRawIndex=function(K,Y){if(!(Y>=0&&Y<this._rawCount))return NaN;var Q=this._storage[K];if(!Q)return NaN;var he=Math.floor(Y/this._chunkSize),G=Y%this._chunkSize,ye=Q[he];return ye[G]},S._getFast=function(K,Y){var Q=Math.floor(Y/this._chunkSize),he=Y%this._chunkSize,G=this._storage[K][Q];return G[he]},S.getValues=function(K,Y){var Q=[];b.isArray(K)||(Y=K,K=this.dimensions);for(var he=0,G=K.length;he<G;he++)Q.push(this.get(K[he],Y));return Q},S.hasValue=function(K){for(var Y=this._dimensionsSummary.dataDimsOnCoord,Q=0,he=Y.length;Q<he;Q++)if(isNaN(this.get(Y[Q],K)))return!1;return!0},S.getDataExtent=function(K){K=this.getDimension(K);var Y=this._storage[K],Q=k();if(!Y)return Q;var he=this.count(),G=!this._indices,ye;if(G)return this._rawExtent[K].slice();if(ye=this._extent[K],ye)return ye.slice();ye=Q;for(var Ae=ye[0],ge=ye[1],Pe=0;Pe<he;Pe++){var Re=this._getFast(K,this.getRawIndex(Pe));Re<Ae&&(Ae=Re),Re>ge&&(ge=Re)}return ye=[Ae,ge],this._extent[K]=ye,ye},S.getApproximateExtent=function(K){return K=this.getDimension(K),this._approximateExtent[K]||this.getDataExtent(K)},S.setApproximateExtent=function(K,Y){Y=this.getDimension(Y),this._approximateExtent[Y]=K.slice()},S.getCalculationInfo=function(K){return this._calculationInfo[K]},S.setCalculationInfo=function(K,Y){n(K)?b.extend(this._calculationInfo,K):this._calculationInfo[K]=Y},S.getSum=function(K){var Y=this._storage[K],Q=0;if(Y)for(var he=0,G=this.count();he<G;he++){var ye=this.get(K,he);isNaN(ye)||(Q+=ye)}return Q},S.getMedian=function(K){var Y=[];this.each(K,function(G,ye){isNaN(G)||Y.push(G)});var Q=[].concat(Y).sort(function(G,ye){return G-ye}),he=this.count();return he===0?0:he%2===1?Q[(he-1)/2]:(Q[he/2]+Q[he/2-1])/2},S.rawIndexOf=function(K,Y){var Q=K&&this._invertedIndicesMap[K],he=Q[Y];return he==null||isNaN(he)?t:he},S.indexOfName=function(K){for(var Y=0,Q=this.count();Y<Q;Y++)if(this.getName(Y)===K)return Y;return-1},S.indexOfRawIndex=function(K){if(K>=this._rawCount||K<0)return-1;if(!this._indices)return K;var Y=this._indices,Q=Y[K];if(Q!=null&&Q<this._count&&Q===K)return K;for(var he=0,G=this._count-1;he<=G;){var ye=(he+G)/2|0;if(Y[ye]<K)he=ye+1;else if(Y[ye]>K)G=ye-1;else return ye}return-1},S.indicesOfNearest=function(K,Y,Q){var he=this._storage,G=he[K],ye=[];if(!G)return ye;Q==null&&(Q=Infinity);for(var Ae=Infinity,ge=-1,Pe=0,Re=0,rt=this.count();Re<rt;Re++){var ne=Y-this.get(K,Re),be=Math.abs(ne);be<=Q&&((be<Ae||be===Ae&&ne>=0&&ge<0)&&(Ae=be,ge=ne,Pe=0),ne===ge&&(ye[Pe++]=Re))}return ye.length=Pe,ye},S.getRawIndex=F;function F(K){return K}function U(K){return K<this._count&&K>=0?this._indices[K]:-1}S.getRawDataItem=function(K){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(K));for(var Y=[],Q=0;Q<this.dimensions.length;Q++){var he=this.dimensions[Q];Y.push(this.get(he,K))}return Y},S.getName=function(K){var Y=this.getRawIndex(K);return this._nameList[Y]||M(this,this._nameDimIdx,Y)||""},S.getId=function(K){return z(this,this.getRawIndex(K))};function z(K,Y){var Q=K._idList[Y];return Q==null&&(Q=M(K,K._idDimIdx,Y)),Q==null&&(Q=s+Y),Q}function W(K){return b.isArray(K)||(K=[K]),K}function N(K,Y){for(var Q=0;Q<Y.length;Q++)K._dimensionInfos[Y[Q]]||console.error("Unkown dimension "+Y[Q])}S.each=function(K,Y,Q,he){"use strict";if(!this._count)return;typeof K=="function"&&(he=Q,Q=Y,Y=K,K=[]),Q=Q||he||this,K=b.map(W(K),this.getDimension,this);for(var G=K.length,ye=0;ye<this.count();ye++)switch(G){case 0:Y.call(Q,ye);break;case 1:Y.call(Q,this.get(K[0],ye),ye);break;case 2:Y.call(Q,this.get(K[0],ye),this.get(K[1],ye),ye);break;default:for(var Ae=0,ge=[];Ae<G;Ae++)ge[Ae]=this.get(K[Ae],ye);ge[Ae]=ye,Y.apply(Q,ge)}},S.filterSelf=function(K,Y,Q,he){"use strict";if(!this._count)return;typeof K=="function"&&(he=Q,Q=Y,Y=K,K=[]),Q=Q||he||this,K=b.map(W(K),this.getDimension,this);for(var G=this.count(),ye=C(this),Ae=new ye(G),ge=[],Pe=K.length,Re=0,rt=K[0],ne=0;ne<G;ne++){var be,at=this.getRawIndex(ne);if(Pe===0)be=Y.call(Q,ne);else if(Pe===1){var se=this._getFast(rt,at);be=Y.call(Q,se,ne)}else{for(var q=0;q<Pe;q++)ge[q]=this._getFast(rt,at);ge[q]=ne,be=Y.apply(Q,ge)}be&&(Ae[Re++]=at)}return Re<G&&(this._indices=Ae),this._count=Re,this._extent={},this.getRawIndex=this._indices?U:F,this},S.selectRange=function(K){"use strict";if(!this._count)return;var Y=[];for(var Q in K)K.hasOwnProperty(Q)&&Y.push(Q);var he=Y.length;if(!he)return;var G=this.count(),ye=C(this),Ae=new ye(G),ge=0,Pe=Y[0],Re=K[Pe][0],rt=K[Pe][1],ne=!1;if(!this._indices){var be=0;if(he===1){for(var at=this._storage[Y[0]],se=0;se<this._chunkCount;se++)for(var q=at[se],X=Math.min(this._count-se*this._chunkSize,this._chunkSize),Z=0;Z<X;Z++){var pe=q[Z];(pe>=Re&&pe<=rt||isNaN(pe))&&(Ae[ge++]=be),be++}ne=!0}else if(he===2){for(var at=this._storage[Pe],oe=this._storage[Y[1]],Ie=K[Y[1]][0],fe=K[Y[1]][1],se=0;se<this._chunkCount;se++)for(var q=at[se],te=oe[se],X=Math.min(this._count-se*this._chunkSize,this._chunkSize),Z=0;Z<X;Z++){var pe=q[Z],J=te[Z];(pe>=Re&&pe<=rt||isNaN(pe))&&(J>=Ie&&J<=fe||isNaN(J))&&(Ae[ge++]=be),be++}ne=!0}}if(!ne)if(he===1)for(var Z=0;Z<G;Z++){var ve=this.getRawIndex(Z),pe=this._getFast(Pe,ve);(pe>=Re&&pe<=rt||isNaN(pe))&&(Ae[ge++]=ve)}else for(var Z=0;Z<G;Z++){for(var De=!0,ve=this.getRawIndex(Z),se=0;se<he;se++){var ze=Y[se],pe=this._getFast(Q,ve);(pe<K[ze][0]||pe>K[ze][1])&&(De=!1)}De&&(Ae[ge++]=this.getRawIndex(Z))}return ge<G&&(this._indices=Ae),this._count=ge,this._extent={},this.getRawIndex=this._indices?U:F,this},S.mapArray=function(K,Y,Q,he){"use strict";typeof K=="function"&&(he=Q,Q=Y,Y=K,K=[]),Q=Q||he||this;var G=[];return this.each(K,function(){G.push(Y&&Y.apply(this,arguments))},Q),G};function H(K,Y){var Q=K.dimensions,he=new v(b.map(Q,K.getDimensionInfo,K),K.hostModel);_(he,K);for(var G=he._storage={},ye=K._storage,Ae=0;Ae<Q.length;Ae++){var ge=Q[Ae];ye[ge]&&(b.indexOf(Y,ge)>=0?(G[ge]=j(ye[ge]),he._rawExtent[ge]=k(),he._extent[ge]=null):G[ge]=ye[ge])}return he}function j(K){for(var Y=new Array(K.length),Q=0;Q<K.length;Q++)Y[Q]=x(K[Q]);return Y}function k(){return[Infinity,-Infinity]}S.map=function(K,Y,Q,he){"use strict";Q=Q||he||this,K=b.map(W(K),this.getDimension,this);var G=H(this,K);G._indices=this._indices,G.getRawIndex=G._indices?U:F;for(var ye=G._storage,Ae=[],ge=this._chunkSize,Pe=K.length,Re=this.count(),rt=[],ne=G._rawExtent,be=0;be<Re;be++){for(var at=0;at<Pe;at++)rt[at]=this.get(K[at],be);rt[Pe]=be;var se=Y&&Y.apply(Q,rt);if(se!=null){typeof se!="object"&&(Ae[0]=se,se=Ae);for(var q=this.getRawIndex(be),X=Math.floor(q/ge),Z=q%ge,pe=0;pe<se.length;pe++){var oe=K[pe],Ie=se[pe],fe=ne[oe],te=ye[oe];te&&(te[X][Z]=Ie),Ie<fe[0]&&(fe[0]=Ie),Ie>fe[1]&&(fe[1]=Ie)}}}return G},S.downSample=function(K,Y,Q,he){for(var G=H(this,[K]),ye=G._storage,Ae=[],ge=Math.floor(1/Y),Pe=ye[K],Re=this.count(),rt=this._chunkSize,ne=G._rawExtent[K],be=new(C(this))(Re),at=0,se=0;se<Re;se+=ge){ge>Re-se&&(ge=Re-se,Ae.length=ge);for(var q=0;q<ge;q++){var X=this.getRawIndex(se+q),Z=Math.floor(X/rt),pe=X%rt;Ae[q]=Pe[Z][pe]}var oe=Q(Ae),Ie=this.getRawIndex(Math.min(se+he(Ae,oe)||0,Re-1)),fe=Math.floor(Ie/rt),te=Ie%rt;Pe[fe][te]=oe,oe<ne[0]&&(ne[0]=oe),oe>ne[1]&&(ne[1]=oe),be[at++]=Ie}return G._count=at,G._indices=be,G.getRawIndex=U,G},S.getItemModel=function(K){var Y=this.hostModel;return new m(this.getRawDataItem(K),Y,Y&&Y.ecModel)},S.diff=function(K){var Y=this;return new y(K?K.getIndices():[],this.getIndices(),function(Q){return z(K,Q)},function(Q){return z(Y,Q)})},S.getVisual=function(K){var Y=this._visual;return Y&&Y[K]},S.setVisual=function(K,Y){if(n(K)){for(var Q in K)K.hasOwnProperty(Q)&&this.setVisual(Q,K[Q]);return}this._visual=this._visual||{},this._visual[K]=Y},S.setLayout=function(K,Y){if(n(K)){for(var Q in K)K.hasOwnProperty(Q)&&this.setLayout(Q,K[Q]);return}this._layout[K]=Y},S.getLayout=function(K){return this._layout[K]},S.getItemLayout=function(K){return this._itemLayouts[K]},S.setItemLayout=function(K,Y,Q){this._itemLayouts[K]=Q?b.extend(this._itemLayouts[K]||{},Y):Y},S.clearItemLayouts=function(){this._itemLayouts.length=0},S.getItemVisual=function(K,Y,Q){var he=this._itemVisuals[K],G=he&&he[Y];return G==null&&!Q?this.getVisual(Y):G},S.setItemVisual=function(K,Y,Q){var he=this._itemVisuals[K]||{},G=this.hasItemVisual;if(this._itemVisuals[K]=he,n(Y)){for(var ye in Y)Y.hasOwnProperty(ye)&&(he[ye]=Y[ye],G[ye]=!0);return}he[Y]=Q,G[Y]=!0},S.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var B=function(K){K.seriesIndex=this.seriesIndex,K.dataIndex=this.dataIndex,K.dataType=this.dataType};S.setItemGraphicEl=function(K,Y){var Q=this.hostModel;Y&&(Y.dataIndex=K,Y.dataType=this.dataType,Y.seriesIndex=Q&&Q.seriesIndex,Y.type==="group"&&Y.traverse(B,Y)),this._graphicEls[K]=Y},S.getItemGraphicEl=function(K){return this._graphicEls[K]},S.eachItemGraphicEl=function(K,Y){b.each(this._graphicEls,function(Q,he){Q&&(K&&K.call(Y,Q,he))})},S.cloneShallow=function(K){if(!K){var Y=b.map(this.dimensions,this.getDimensionInfo,this);K=new v(Y,this.hostModel)}if(K._storage=this._storage,_(K,this),this._indices){var Q=this._indices.constructor;K._indices=new Q(this._indices)}else K._indices=null;return K.getRawIndex=K._indices?U:F,K},S.wrapMethod=function(K,Y){var Q=this[K];if(typeof Q!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(K),this[K]=function(){var he=Q.apply(this,arguments);return Y.apply(this,[he].concat(b.slice(arguments)))}},S.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],S.CHANGABLE_METHODS=["filterSelf","selectRange"];var V=v;R.exports=V},YgsL:function(R,I,e){var g=e("QBsz"),f=g.distance;function b(y,h,u,i,a,r,o){var d=(u-y)*.5,n=(i-h)*.5;return(2*(h-u)+d+n)*o+(-3*(h-u)-2*d-n)*r+d*a+h}function m(y,h){for(var u=y.length,i=[],a=0,r=1;r<u;r++)a+=f(y[r-1],y[r]);var o=a/2;o=o<u?u:o;for(var r=0;r<o;r++){var d=r/(o-1)*(h?u:u-1),n=Math.floor(d),l=d-n,t,s=y[n%u],c,p;h?(t=y[(n-1+u)%u],c=y[(n+1)%u],p=y[(n+2)%u]):(t=y[n===0?n:n-1],c=y[n>u-2?u-1:n+1],p=y[n>u-3?u-1:n+2]);var A=l*l,w=l*A;i.push([b(t[0],s[0],c[0],p[0],l,A,w),b(t[1],s[1],c[1],p[1],l,A,w)])}return i}R.exports=m},Yl7c:function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("bYtY"),m=".",y="___EC__COMPONENT__CONTAINER___";function h(t){var s={main:"",sub:""};return t&&(t=t.split(m),s.main=t[0]||"",s.sub=t[1]||""),s}function u(t){b.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function i(t,s){t.$constructor=t,t.extend=function(c){var p=this,A=function(){c.$constructor?c.$constructor.apply(this,arguments):p.apply(this,arguments)};return b.extend(A.prototype,c),A.extend=this.extend,A.superCall=o,A.superApply=d,b.inherits(A,this),A.superClass=p,A}}var a=0;function r(t){var s=["__\0is_clz",a++,Math.random().toFixed(3)].join("_");t.prototype[s]=!0,t.isInstance=function(c){return!!(c&&c[s])}}function o(t,s){var c=b.slice(arguments,2);return this.superClass.prototype[s].apply(t,c)}function d(t,s,c){return this.superClass.prototype[s].apply(t,c)}function n(t,s){s=s||{};var c={};t.registerClass=function(w,C){if(C){if(u(C),C=h(C),!C.sub)c[C.main]=w;else if(C.sub!==y){var x=p(C);x[C.sub]=w}}return w},t.getClass=function(w,C,x){var E=c[w];if(E&&E[y]&&(E=C?E[C]:null),x&&!E)throw new Error(C?"Component "+w+"."+(C||"")+" not exists. Load it first.":w+".type should be specified.");return E},t.getClassesByMainType=function(w){w=h(w);var C=[],x=c[w.main];return x&&x[y]?b.each(x,function(E,T){T!==y&&C.push(E)}):C.push(x),C},t.hasClass=function(w){return w=h(w),!!c[w.main]},t.getAllClassMainTypes=function(){var w=[];return b.each(c,function(C,x){w.push(x)}),w},t.hasSubTypes=function(w){w=h(w);var C=c[w.main];return C&&C[y]},t.parseClassType=h;function p(w){var C=c[w.main];return(!C||!C[y])&&(C=c[w.main]={},C[y]=!0),C}if(s.registerWhenExtend){var A=t.extend;A&&(t.extend=function(w){var C=A.call(this,w);return t.registerClass(C,w.type)})}return t}function l(t,s){}I.parseClassType=h,I.enableClassExtend=i,I.enableClassCheck=r,I.enableClassManagement=n,I.setReadOnly=l},Ynxi:function(R,I,e){var g=e("bYtY"),f=e("ProS"),b=e("IwbS"),m=e("+TT/"),y=m.getLayoutRect,h=e("7aKB"),u=h.windowOpen;f.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),f.extendComponentView({type:"title",render:function(i,a,r){if(this.group.removeAll(),!i.get("show"))return;var o=this.group,d=i.getModel("textStyle"),n=i.getModel("subtextStyle"),l=i.get("textAlign"),t=g.retrieve2(i.get("textBaseline"),i.get("textVerticalAlign")),s=new b.Text({style:b.setTextStyle({},d,{text:i.get("text"),textFill:d.getTextColor()},{disableBox:!0}),z2:10}),c=s.getBoundingRect(),p=i.get("subtext"),A=new b.Text({style:b.setTextStyle({},n,{text:p,textFill:n.getTextColor(),y:c.height+i.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),w=i.get("link"),C=i.get("sublink"),x=i.get("triggerEvent",!0);s.silent=!w&&!x,A.silent=!C&&!x,w&&s.on("click",function(){u(w,"_"+i.get("target"))}),C&&A.on("click",function(){u(w,"_"+i.get("subtarget"))}),s.eventData=A.eventData=x?{componentType:"title",componentIndex:i.componentIndex}:null,o.add(s),p&&o.add(A);var E=o.getBoundingRect(),T=i.getBoxLayoutParams();T.width=E.width,T.height=E.height;var _=y(T,{width:r.getWidth(),height:r.getHeight()},i.get("padding"));l||(l=i.get("left")||i.get("right"),l==="middle"&&(l="center"),l==="right"?_.x+=_.width:l==="center"&&(_.x+=_.width/2)),t||(t=i.get("top")||i.get("bottom"),t==="center"&&(t="middle"),t==="bottom"?_.y+=_.height:t==="middle"&&(_.y+=_.height/2),t=t||"top"),o.attr("position",[_.x,_.y]);var v={textAlign:l,textVerticalAlign:t};s.setStyle(v),A.setStyle(v),E=o.getBoundingRect();var S=_.margin,O=i.getItemStyle(["color","opacity"]);O.fill=i.get("backgroundColor");var L=new b.Rect({shape:{x:E.x-S[3],y:E.y-S[0],width:E.width+S[1]+S[3],height:E.height+S[0]+S[2],r:i.get("borderRadius")},style:O,subPixelOptimize:!0,silent:!0});o.add(L)}})},YrtM:function(R,I,e){"use strict";e.d(I,"a",function(){return b});var g=e("q1tI"),f=e.n(g);function b(m,y,h){var u=g.useRef({});return(!("value"in u.current)||h(u.current.condition,y))&&(u.current.value=m(),u.current.condition=y),u.current.value}},Ywus:function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("DO2E")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="DeleteOutlined";var u=b.forwardRef(h);I.default=u},Z0Lh:function(R,I,e){"use strict";var g=e("TqRt");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var f=g(e("pVnL")),b=g(e("HjOm")),m=g(e("Z6rY")),y={lang:(0,f.default)({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},b.default),timePickerLocale:(0,f.default)({},m.default)};y.lang.ok="\u786E \u5B9A";var h=y;I.default=h},Z0cm:function(R,I){var e=Array.isArray;R.exports=e},Z1HP:function(R,I,e){var g=e("ycre"),f=e("quyA"),b=e("q4HE");function m(y){return f(y)?b(y):g(y)}R.exports=m},Z1r0:function(R,I){function e(g){var f=g.findComponents({mainType:"legend"});if(!f||!f.length)return;g.eachSeriesByType("graph",function(b){var m=b.getCategoriesData(),y=b.getGraph(),h=y.data,u=m.mapArray(m.getName);h.filterSelf(function(i){var a=h.getItemModel(i),r=a.getShallow("category");if(r!=null){typeof r=="number"&&(r=u[r]);for(var o=0;o<f.length;o++)if(!f[o].isSelected(r))return!1}return!0})},this)}R.exports=e},Z1wy:function(R,I,e){var g=e("ProS");e("ThAp"),e("pmaE"),e("SehX"),e("7uqq");var f=e("zuHt"),b=e("VPsl"),m=e("9u0u"),y=e("lELe"),h=e("d4KN");g.registerLayout(f),g.registerVisual(b),g.registerProcessor(g.PRIORITY.PROCESSOR.STATISTIC,m),g.registerPreprocessor(y),h("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(R,I,e){var g=e("MwEJ"),f=e("T4UG"),b=f.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(m,y){return g(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});R.exports=b},Z6rY:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},f=g;I.default=f},Z8oC:function(R,I,e){var g=e("y1pI");function f(b,m){var y=this.__data__,h=g(y,b);return h<0?(++this.size,y.push([b,m])):y[h][1]=m,this}R.exports=f},Z8zF:function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("ProS"),m=e("bYtY"),y=e("IwbS"),h=e("56rv"),u=h.setLabel,i=e("Qxkt"),a=e("tceW"),r=e("y+Vt"),o=e("4fz+"),d=e("iLNv"),n=d.throttle,l=e("sK/D"),t=l.createClipPath,s=e("wr5s"),c=["itemStyle","barBorderWidth"],p=[0,0];m.extend(i.prototype,a);function A(B,V){var K=B.getArea&&B.getArea();if(B.type==="cartesian2d"){var Y=B.getBaseAxis();if(Y.type!=="category"||!Y.onBand){var Q=V.getLayout("bandWidth");Y.isHorizontal()?(K.x-=Q,K.width+=Q*2):(K.y-=Q,K.height+=Q*2)}}return K}var w=b.extendChartView({type:"bar",render:function(B,V,K){this._updateDrawMode(B);var Y=B.get("coordinateSystem");return(Y==="cartesian2d"||Y==="polar")&&(this._isLargeDraw?this._renderLarge(B,V,K):this._renderNormal(B,V,K)),this.group},incrementalPrepareRender:function(B,V,K){this._clear(),this._updateDrawMode(B)},incrementalRender:function(B,V,K,Y){this._incrementalRenderLarge(B,V)},_updateDrawMode:function(B){var V=B.pipelineContext.large;(this._isLargeDraw==null||V^this._isLargeDraw)&&(this._isLargeDraw=V,this._clear())},_renderNormal:function(B,V,K){var Y=this.group,Q=B.getData(),he=this._data,G=B.coordinateSystem,ye=G.getBaseAxis(),Ae;G.type==="cartesian2d"?Ae=ye.isHorizontal():G.type==="polar"&&(Ae=ye.dim==="angle");var ge=B.isAnimationEnabled()?B:null,Pe=B.get("clip",!0),Re=A(G,Q);Y.removeClipPath();var rt=B.get("roundCap",!0),ne=B.get("showBackground",!0),be=B.getModel("backgroundStyle"),at=be.get("barBorderRadius")||0,se=[],q=this._backgroundEls||[];Q.diff(he).add(function(pe){var oe=Q.getItemModel(pe),Ie=S[G.type](Q,pe,oe);if(ne){var fe=S[G.type](Q,pe),te=k(G,Ae,fe);te.useStyle(be.getBarItemStyle()),G.type==="cartesian2d"&&te.setShape("r",at),se[pe]=te}if(!Q.hasValue(pe))return;if(Pe){var J=E[G.type](Re,Ie);if(J){Y.remove(ve);return}}var ve=T[G.type](pe,Ie,Ae,ge,!1,rt);Q.setItemGraphicEl(pe,ve),Y.add(ve),L(ve,Q,pe,oe,Ie,B,Ae,G.type==="polar")}).update(function(pe,oe){var Ie=Q.getItemModel(pe),fe=S[G.type](Q,pe,Ie);if(ne){var te=q[oe];te.useStyle(be.getBarItemStyle()),G.type==="cartesian2d"&&te.setShape("r",at),se[pe]=te;var J=S[G.type](Q,pe),ve=j(Ae,J,G);y.updateProps(te,{shape:ve},ge,pe)}var De=he.getItemGraphicEl(oe);if(!Q.hasValue(pe)){Y.remove(De);return}if(Pe){var ze=E[G.type](Re,fe);if(ze){Y.remove(De);return}}De?y.updateProps(De,{shape:fe},ge,pe):De=T[G.type](pe,fe,Ae,ge,!0,rt),Q.setItemGraphicEl(pe,De),Y.add(De),L(De,Q,pe,Ie,fe,B,Ae,G.type==="polar")}).remove(function(pe){var oe=he.getItemGraphicEl(pe);G.type==="cartesian2d"?oe&&_(pe,ge,oe):oe&&v(pe,ge,oe)}).execute();var X=this._backgroundGroup||(this._backgroundGroup=new o);X.removeAll();for(var Z=0;Z<se.length;++Z)X.add(se[Z]);Y.add(X),this._backgroundEls=se,this._data=Q},_renderLarge:function(B,V,K){this._clear(),U(B,this.group);var Y=B.get("clip",!0)?t(B.coordinateSystem,!1,B):null;Y?this.group.setClipPath(Y):this.group.removeClipPath()},_incrementalRenderLarge:function(B,V){this._removeBackground(),U(V,this.group,!0)},dispose:m.noop,remove:function(B){this._clear(B)},_clear:function(B){var V=this.group,K=this._data;B&&B.get("animation")&&K&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],K.eachItemGraphicEl(function(Y){Y.type==="sector"?v(Y.dataIndex,B,Y):_(Y.dataIndex,B,Y)})):V.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),C=Math.max,x=Math.min,E={cartesian2d:function(B,V){var K=V.width<0?-1:1,Y=V.height<0?-1:1;K<0&&(V.x+=V.width,V.width=-V.width),Y<0&&(V.y+=V.height,V.height=-V.height);var Q=C(V.x,B.x),he=x(V.x+V.width,B.x+B.width),G=C(V.y,B.y),ye=x(V.y+V.height,B.y+B.height);V.x=Q,V.y=G,V.width=he-Q,V.height=ye-G;var Ae=V.width<0||V.height<0;return K<0&&(V.x+=V.width,V.width=-V.width),Y<0&&(V.y+=V.height,V.height=-V.height),Ae},polar:function(B){return!1}},T={cartesian2d:function(B,V,K,Y,Q){var he=new y.Rect({shape:m.extend({},V),z2:1});if(he.name="item",Y){var G=he.shape,ye=K?"height":"width",Ae={};G[ye]=0,Ae[ye]=V[ye],y[Q?"updateProps":"initProps"](he,{shape:Ae},Y,B)}return he},polar:function(B,V,K,Y,Q,he){var G=V.startAngle<V.endAngle,ye=!K&&he?s:y.Sector,Ae=new ye({shape:m.defaults({clockwise:G},V),z2:1});if(Ae.name="item",Y){var ge=Ae.shape,Pe=K?"r":"endAngle",Re={};ge[Pe]=K?0:V.startAngle,Re[Pe]=V[Pe],y[Q?"updateProps":"initProps"](Ae,{shape:Re},Y,B)}return Ae}};function _(B,V,K){K.style.text=null,y.updateProps(K,{shape:{width:0}},V,B,function(){K.parent&&K.parent.remove(K)})}function v(B,V,K){K.style.text=null,y.updateProps(K,{shape:{r:K.shape.r0}},V,B,function(){K.parent&&K.parent.remove(K)})}var S={cartesian2d:function(B,V,K){var Y=B.getItemLayout(V),Q=K?M(K,Y):0,he=Y.width>0?1:-1,G=Y.height>0?1:-1;return{x:Y.x+he*Q/2,y:Y.y+G*Q/2,width:Y.width-he*Q,height:Y.height-G*Q}},polar:function(B,V,K){var Y=B.getItemLayout(V);return{cx:Y.cx,cy:Y.cy,r0:Y.r0,r:Y.r,startAngle:Y.startAngle,endAngle:Y.endAngle}}};function O(B){return B.startAngle!=null&&B.endAngle!=null&&B.startAngle===B.endAngle}function L(B,V,K,Y,Q,he,G,ye){var Ae=V.getItemVisual(K,"color"),ge=V.getItemVisual(K,"opacity"),Pe=V.getVisual("borderColor"),Re=Y.getModel("itemStyle"),rt=Y.getModel("emphasis.itemStyle").getBarItemStyle();ye||B.setShape("r",Re.get("barBorderRadius")||0),B.useStyle(m.defaults({stroke:O(Q)?"none":Pe,fill:O(Q)?"none":Ae,opacity:ge},Re.getBarItemStyle()));var ne=Y.getShallow("cursor");ne&&B.attr("cursor",ne);var be=G?Q.height>0?"bottom":"top":Q.width>0?"left":"right";ye||u(B.style,rt,Y,Ae,he,K,be),O(Q)&&(rt.fill=rt.stroke="none"),y.setHoverStyle(B,rt)}function M(B,V){var K=B.get(c)||0,Y=isNaN(V.width)?Number.MAX_VALUE:Math.abs(V.width),Q=isNaN(V.height)?Number.MAX_VALUE:Math.abs(V.height);return Math.min(K,Y,Q)}var F=r.extend({type:"largeBar",shape:{points:[]},buildPath:function(B,V){for(var K=V.points,Y=this.__startPoint,Q=this.__baseDimIdx,he=0;he<K.length;he+=2)Y[Q]=K[he+Q],B.moveTo(Y[0],Y[1]),B.lineTo(K[he],K[he+1])}});function U(B,V,K){var Y=B.getData(),Q=[],he=Y.getLayout("valueAxisHorizontal")?1:0;Q[1-he]=Y.getLayout("valueAxisStart");var G=Y.getLayout("largeDataIndices"),ye=Y.getLayout("barWidth"),Ae=B.getModel("backgroundStyle"),ge=B.get("showBackground",!0);if(ge){var Pe=Y.getLayout("largeBackgroundPoints"),Re=[];Re[1-he]=Y.getLayout("backgroundStart");var rt=new F({shape:{points:Pe},incremental:!!K,__startPoint:Re,__baseDimIdx:he,__largeDataIndices:G,__barWidth:ye,silent:!0,z2:0});H(rt,Ae,Y),V.add(rt)}var ne=new F({shape:{points:Y.getLayout("largePoints")},incremental:!!K,__startPoint:Q,__baseDimIdx:he,__largeDataIndices:G,__barWidth:ye});V.add(ne),N(ne,B,Y),ne.seriesIndex=B.seriesIndex,B.get("silent")||(ne.on("mousedown",z),ne.on("mousemove",z))}var z=n(function(B){var V=this,K=W(V,B.offsetX,B.offsetY);V.dataIndex=K>=0?K:null},30,!1);function W(B,V,K){var Y=B.__baseDimIdx,Q=1-Y,he=B.shape.points,G=B.__largeDataIndices,ye=Math.abs(B.__barWidth/2),Ae=B.__startPoint[Q];p[0]=V,p[1]=K;for(var ge=p[Y],Pe=p[1-Y],Re=ge-ye,rt=ge+ye,ne=0,be=he.length/2;ne<be;ne++){var at=ne*2,se=he[at+Y],q=he[at+Q];if(se>=Re&&se<=rt&&(Ae<=q?Pe>=Ae&&Pe<=q:Pe>=q&&Pe<=Ae))return G[ne]}return-1}function N(B,V,K){var Y=K.getVisual("borderColor")||K.getVisual("color"),Q=V.getModel("itemStyle").getItemStyle(["color","borderColor"]);B.useStyle(Q),B.style.fill=null,B.style.stroke=Y,B.style.lineWidth=K.getLayout("barWidth")}function H(B,V,K){var Y=V.get("borderColor")||V.get("color"),Q=V.getItemStyle(["color","borderColor"]);B.useStyle(Q),B.style.fill=null,B.style.stroke=Y,B.style.lineWidth=K.getLayout("barWidth")}function j(B,V,K){var Y,Q=K.type==="polar";return Q?Y=K.getArea():Y=K.grid.getRect(),Q?{cx:Y.cx,cy:Y.cy,r0:B?Y.r0:V.r0,r:B?Y.r:V.r,startAngle:B?V.startAngle:0,endAngle:B?V.endAngle:Math.PI*2}:{x:B?V.x:Y.x,y:B?Y.y:V.y,width:B?V.width:Y.width,height:B?Y.height:V.height}}function k(B,V,K){var Y=B.type==="polar"?y.Sector:y.Rect;return new Y({shape:j(V,K,B),silent:!0,z2:0})}R.exports=w},ZCgT:function(R,I,e){var g=e("tLB3"),f=1/0,b=17976931348623157e292;function m(y){if(!y)return y===0?y:0;if(y=g(y),y===f||y===-f){var h=y<0?-1:1;return h*b}return y===y?y:0}R.exports=m},ZLWo:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};I.default=g},ZMnZ:function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("2oIt")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="UpOutlined";var u=b.forwardRef(h);I.default=u},ZTPi:function(R,I,e){"use strict";var g=e("pVnL"),f=e.n(g),b=e("lSNA"),m=e.n(b),y=e("q1tI"),h=e("ODXe"),u=e("Ff2n"),i=e("rePB"),a=e("TSYQ"),r=e.n(a),o=e("Zm9Q"),d=e("6cGi"),n=e("KQm4"),l=e("xEkU"),t=e.n(l),s=e("t23M");function c(je){var st=Object(y.useRef)(),Xe=Object(y.useRef)(!1);function Je(){for(var et=arguments.length,ot=new Array(et),Ve=0;Ve<et;Ve++)ot[Ve]=arguments[Ve];Xe.current||(t.a.cancel(st.current),st.current=t()(function(){je.apply(void 0,ot)}))}return Object(y.useEffect)(function(){return function(){Xe.current=!0,t.a.cancel(st.current)}},[]),Je}function p(je){var st=Object(y.useRef)([]),Xe=Object(y.useState)({}),Je=Object(h.a)(Xe,2),et=Je[1],ot=Object(y.useRef)(typeof je=="function"?je():je),Ve=c(function(){var ae=ot.current;st.current.forEach(function(lt){ae=lt(ae)}),st.current=[],ot.current=ae,et({})});function ue(ae){st.current.push(ae),Ve()}return[ot.current,ue]}var A=e("4IlW");function w(je,st){var Xe,Je=je.prefixCls,et=je.id,ot=je.active,Ve=je.rtl,ue=je.tab,ae=ue.key,lt=ue.tab,Ze=ue.disabled,Te=ue.closeIcon,Jt=je.tabBarGutter,mt=je.tabPosition,ft=je.closable,bt=je.renderWrapper,Lt=je.removeAriaLabel,or=je.editable,Bt=je.onClick,_e=je.onRemove,Ce=je.onFocus,Ee="".concat(Je,"-tab");y.useEffect(function(){return _e},[]);var we={};mt==="top"||mt==="bottom"?we[Ve?"marginLeft":"marginRight"]=Jt:we.marginBottom=Jt;var Fe=or&&ft!==!1&&!Ze;function Ye(Ke){if(Ze)return;Bt(Ke)}function Ge(Ke){Ke.preventDefault(),Ke.stopPropagation(),or.onEdit("remove",{key:ae,event:Ke})}var qe=y.createElement("div",{key:ae,ref:st,className:r()(Ee,(Xe={},Object(i.a)(Xe,"".concat(Ee,"-with-remove"),Fe),Object(i.a)(Xe,"".concat(Ee,"-active"),ot),Object(i.a)(Xe,"".concat(Ee,"-disabled"),Ze),Xe)),style:we,onClick:Ye},y.createElement("div",{role:"tab","aria-selected":ot,id:et&&"".concat(et,"-tab-").concat(ae),className:"".concat(Ee,"-btn"),"aria-controls":et&&"".concat(et,"-panel-").concat(ae),"aria-disabled":Ze,tabIndex:Ze?null:0,onClick:function(ut){ut.stopPropagation(),Ye(ut)},onKeyDown:function(ut){[A.a.SPACE,A.a.ENTER].includes(ut.which)&&(ut.preventDefault(),Ye(ut))},onFocus:Ce},lt),Fe&&y.createElement("button",{type:"button","aria-label":Lt||"remove",tabIndex:0,className:"".concat(Ee,"-remove"),onClick:function(ut){ut.stopPropagation(),Ge(ut)}},Te||or.removeIcon||"\xD7"));return bt&&(qe=bt(qe)),qe}var C=y.forwardRef(w);function x(je,st){var Xe=Object.keys(je);if(Object.getOwnPropertySymbols){var Je=Object.getOwnPropertySymbols(je);st&&(Je=Je.filter(function(et){return Object.getOwnPropertyDescriptor(je,et).enumerable})),Xe.push.apply(Xe,Je)}return Xe}function E(je){for(var st=1;st<arguments.length;st++){var Xe=arguments[st]!=null?arguments[st]:{};st%2?x(Object(Xe),!0).forEach(function(Je){Object(i.a)(je,Je,Xe[Je])}):Object.getOwnPropertyDescriptors?Object.defineProperties(je,Object.getOwnPropertyDescriptors(Xe)):x(Object(Xe)).forEach(function(Je){Object.defineProperty(je,Je,Object.getOwnPropertyDescriptor(Xe,Je))})}return je}var T={width:0,height:0,left:0,top:0};function _(je,st,Xe){return Object(y.useMemo)(function(){for(var Je,et=new Map,ot=st.get((Je=je[0])===null||Je===void 0?void 0:Je.key)||T,Ve=ot.left+ot.width,ue=0;ue<je.length;ue+=1){var ae=je[ue].key,lt=st.get(ae);if(!lt){var Ze;lt=st.get((Ze=je[ue-1])===null||Ze===void 0?void 0:Ze.key)||T}var Te=et.get(ae)||E({},lt);Te.right=Ve-Te.left-Te.width,et.set(ae,Te)}return et},[je.map(function(Je){return Je.key}).join("_"),st,Xe])}var v={width:0,height:0,left:0,top:0,right:0};function S(je,st,Xe,Je,et){var ot=et.tabs,Ve=et.tabPosition,ue=et.rtl,ae,lt,Ze;["top","bottom"].includes(Ve)?(ae="width",lt=ue?"right":"left",Ze=Math.abs(st.left)):(ae="height",lt="top",Ze=-st.top);var Te=st[ae],Jt=Xe[ae],mt=Je[ae],ft=Te;return Jt+mt>Te&&(ft=Te-mt),Object(y.useMemo)(function(){if(!ot.length)return[0,0];for(var bt=ot.length,Lt=bt,or=0;or<bt;or+=1){var Bt=je.get(ot[or].key)||v;if(Bt[lt]+Bt[ae]>Ze+ft){Lt=or-1;break}}for(var _e=0,Ce=bt-1;Ce>=0;Ce-=1){var Ee=je.get(ot[Ce].key)||v;if(Ee[lt]<Ze){_e=Ce+1;break}}return[_e,Lt]},[je,Ze,ft,Ve,ot.map(function(bt){return bt.key}).join("_"),ue])}var O=e("1j5w"),L=e("eDIo");function M(je,st){var Xe=je.prefixCls,Je=je.editable,et=je.locale,ot=je.style;return!Je||Je.showAdd===!1?null:y.createElement("button",{ref:st,type:"button",className:"".concat(Xe,"-nav-add"),style:ot,"aria-label":(et==null?void 0:et.addAriaLabel)||"Add tab",onClick:function(ue){Je.onEdit("add",{event:ue})}},Je.addIcon||"+")}var F=y.forwardRef(M);function U(je,st){var Xe=je.prefixCls,Je=je.id,et=je.tabs,ot=je.locale,Ve=je.mobile,ue=je.moreIcon,ae=ue===void 0?"More":ue,lt=je.moreTransitionName,Ze=je.style,Te=je.className,Jt=je.editable,mt=je.tabBarGutter,ft=je.rtl,bt=je.onTabClick,Lt=Object(y.useState)(!1),or=Object(h.a)(Lt,2),Bt=or[0],_e=or[1],Ce=Object(y.useState)(null),Ee=Object(h.a)(Ce,2),we=Ee[0],Fe=Ee[1],Ye="".concat(Je,"-more-popup"),Ge="".concat(Xe,"-dropdown"),qe=we!==null?"".concat(Ye,"-").concat(we):null,Ke=ot==null?void 0:ot.dropdownAriaLabel,ut=y.createElement(O.f,{onClick:function(Oe){var ke=Oe.key,Ue=Oe.domEvent;bt(ke,Ue),_e(!1)},id:Ye,tabIndex:-1,role:"listbox","aria-activedescendant":qe,selectedKeys:[we],"aria-label":Ke!==void 0?Ke:"expanded dropdown"},et.map(function(le){return y.createElement(O.d,{key:le.key,id:"".concat(Ye,"-").concat(le.key),role:"option","aria-controls":Je&&"".concat(Je,"-panel-").concat(le.key),disabled:le.disabled},le.tab)}));function wt(le){for(var Oe=et.filter(function(Wt){return!Wt.disabled}),ke=Oe.findIndex(function(Wt){return Wt.key===we})||0,Ue=Oe.length,nt=0;nt<Ue;nt+=1){ke=(ke+le+Ue)%Ue;var At=Oe[ke];if(!At.disabled){Fe(At.key);return}}}function It(le){var Oe=le.which;if(!Bt){[A.a.DOWN,A.a.SPACE,A.a.ENTER].includes(Oe)&&(_e(!0),le.preventDefault());return}switch(Oe){case A.a.UP:wt(-1),le.preventDefault();break;case A.a.DOWN:wt(1),le.preventDefault();break;case A.a.ESC:_e(!1);break;case A.a.SPACE:case A.a.ENTER:we!==null&&bt(we,le);break}}Object(y.useEffect)(function(){var le=document.getElementById(qe);le&&le.scrollIntoView&&le.scrollIntoView(!1)},[we]),Object(y.useEffect)(function(){Bt||Fe(null)},[Bt]);var de=Object(i.a)({},ft?"marginLeft":"marginRight",mt);et.length||(de.visibility="hidden",de.order=1);var xe=r()(Object(i.a)({},"".concat(Ge,"-rtl"),ft)),$=Ve?null:y.createElement(L.a,{prefixCls:Ge,overlay:ut,trigger:["hover"],visible:Bt,transitionName:lt,onVisibleChange:_e,overlayClassName:xe},y.createElement("button",{type:"button",className:"".concat(Xe,"-nav-more"),style:de,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":Ye,id:"".concat(Je,"-more"),"aria-expanded":Bt,onKeyDown:It},ae));return y.createElement("div",{className:r()("".concat(Xe,"-nav-operations"),Te),style:Ze,ref:st},$,y.createElement(F,{prefixCls:Xe,locale:ot,editable:Jt}))}var z=y.forwardRef(U),W=Object(y.createContext)(null),N=.1,H=.01,j=20,k=Math.pow(.995,j);function B(){var je=navigator.userAgent||navigator.vendor||window.opera;return!!(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(je)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(je.substr(0,4)))}function V(je,st){var Xe=Object(y.useState)(),Je=Object(h.a)(Xe,2),et=Je[0],ot=Je[1],Ve=Object(y.useState)(0),ue=Object(h.a)(Ve,2),ae=ue[0],lt=ue[1],Ze=Object(y.useState)(0),Te=Object(h.a)(Ze,2),Jt=Te[0],mt=Te[1],ft=Object(y.useState)(),bt=Object(h.a)(ft,2),Lt=bt[0],or=bt[1],Bt=Object(y.useRef)();function _e(Ke){var ut=Ke.touches[0],wt=ut.screenX,It=ut.screenY;ot({x:wt,y:It}),window.clearInterval(Bt.current)}function Ce(Ke){if(!et)return;Ke.preventDefault();var ut=Ke.touches[0],wt=ut.screenX,It=ut.screenY;ot({x:wt,y:It});var de=wt-et.x,xe=It-et.y;st(de,xe);var $=Date.now();lt($),mt($-ae),or({x:de,y:xe})}function Ee(){if(!et)return;if(ot(null),or(null),Lt){var Ke=Lt.x/Jt,ut=Lt.y/Jt,wt=Math.abs(Ke),It=Math.abs(ut);if(Math.max(wt,It)<N)return;var de=Ke,xe=ut;Bt.current=window.setInterval(function(){if(Math.abs(de)<H&&Math.abs(xe)<H){window.clearInterval(Bt.current);return}de*=k,xe*=k,st(de*j,xe*j)},j)}}var we=Object(y.useRef)(0),Fe=Object(y.useRef)(!1),Ye=Object(y.useRef)();function Ge(Ke){var ut=Ke.deltaX,wt=Ke.deltaY,It=0,de=Math.abs(ut),xe=Math.abs(wt);de===xe?It=Ye.current==="x"?ut:wt:de>xe?(It=ut,Ye.current="x"):(It=wt,Ye.current="y");var $=Date.now();$-we.current>100&&(Fe.current=!1),(st(-It,-It)||Fe.current)&&(Ke.preventDefault(),Fe.current=!0),we.current=$}var qe=Object(y.useRef)(null);qe.current={onTouchStart:_e,onTouchMove:Ce,onTouchEnd:Ee,onWheel:Ge},y.useEffect(function(){function Ke(de){qe.current.onTouchStart(de)}function ut(de){qe.current.onTouchMove(de)}function wt(de){qe.current.onTouchEnd(de)}function It(de){qe.current.onWheel(de)}return document.addEventListener("touchmove",ut,{passive:!1}),document.addEventListener("touchend",wt,{passive:!1}),je.current.addEventListener("touchstart",Ke,{passive:!1}),je.current.addEventListener("wheel",It),function(){document.removeEventListener("touchmove",ut),document.removeEventListener("touchend",wt)}},[])}function K(){var je=Object(y.useRef)(new Map);function st(Je){return je.current.has(Je)||je.current.set(Je,y.createRef()),je.current.get(Je)}function Xe(Je){je.current.delete(Je)}return[st,Xe]}function Y(je,st){var Xe=y.useRef(je),Je=y.useState({}),et=Object(h.a)(Je,2),ot=et[1];function Ve(ue){var ae=typeof ue=="function"?ue(Xe.current):ue;ae!==Xe.current&&st(ae,Xe.current),Xe.current=ae,ot({})}return[Xe.current,Ve]}function Q(je,st){var Xe=Object.keys(je);if(Object.getOwnPropertySymbols){var Je=Object.getOwnPropertySymbols(je);st&&(Je=Je.filter(function(et){return Object.getOwnPropertyDescriptor(je,et).enumerable})),Xe.push.apply(Xe,Je)}return Xe}function he(je){for(var st=1;st<arguments.length;st++){var Xe=arguments[st]!=null?arguments[st]:{};st%2?Q(Object(Xe),!0).forEach(function(Je){Object(i.a)(je,Je,Xe[Je])}):Object.getOwnPropertyDescriptors?Object.defineProperties(je,Object.getOwnPropertyDescriptors(Xe)):Q(Object(Xe)).forEach(function(Je){Object.defineProperty(je,Je,Object.getOwnPropertyDescriptor(Xe,Je))})}return je}var G=function(st){var Xe=st.position,Je=st.prefixCls,et=st.extra;if(!et)return null;var ot,Ve=et;return Xe==="right"&&(ot=Ve.right||!Ve.left&&Ve||null),Xe==="left"&&(ot=Ve.left||null),ot?y.createElement("div",{className:"".concat(Je,"-extra-content")},ot):null};function ye(je,st){var Xe,Je=y.useContext(W),et=Je.prefixCls,ot=Je.tabs,Ve=je.className,ue=je.style,ae=je.id,lt=je.animated,Ze=je.activeKey,Te=je.rtl,Jt=je.extra,mt=je.editable,ft=je.locale,bt=je.tabPosition,Lt=je.tabBarGutter,or=je.children,Bt=je.onTabClick,_e=je.onTabScroll,Ce=Object(y.useRef)(),Ee=Object(y.useRef)(),we=Object(y.useRef)(),Fe=Object(y.useRef)(),Ye=K(),Ge=Object(h.a)(Ye,2),qe=Ge[0],Ke=Ge[1],ut=bt==="top"||bt==="bottom",wt=Y(0,function(aa,Hi){ut&&_e&&_e({direction:aa>Hi?"left":"right"})}),It=Object(h.a)(wt,2),de=It[0],xe=It[1],$=Y(0,function(aa,Hi){!ut&&_e&&_e({direction:aa>Hi?"top":"bottom"})}),le=Object(h.a)($,2),Oe=le[0],ke=le[1],Ue=Object(y.useState)(0),nt=Object(h.a)(Ue,2),At=nt[0],Wt=nt[1],$t=Object(y.useState)(0),Rt=Object(h.a)($t,2),zt=Rt[0],Gt=Rt[1],Qt=Object(y.useState)(0),Mt=Object(h.a)(Qt,2),dr=Mt[0],er=Mt[1],ht=Object(y.useState)(0),Et=Object(h.a)(ht,2),pt=Et[0],vt=Et[1],Nt=Object(y.useState)(null),_t=Object(h.a)(Nt,2),gt=_t[0],Ht=_t[1],kt=Object(y.useState)(null),ir=Object(h.a)(kt,2),Xt=ir[0],mr=ir[1],Ar=Object(y.useState)(0),Nr=Object(h.a)(Ar,2),kr=Nr[0],tn=Nr[1],qr=Object(y.useState)(0),_r=Object(h.a)(qr,2),Qr=_r[0],Ir=_r[1],cr=p(new Map),pr=Object(h.a)(cr,2),ur=pr[0],fr=pr[1],xr=_(ot,ur,At),Yr="".concat(et,"-nav-operations-hidden"),cn=0,Nn=0;ut?Te?(cn=0,Nn=Math.max(0,At-gt)):(cn=Math.min(0,gt-At),Nn=0):(cn=Math.min(0,Xt-zt),Nn=0);function jr(aa){return aa<cn?[cn,!1]:aa>Nn?[Nn,!1]:[aa,!0]}var Tn=Object(y.useRef)(),gn=Object(y.useState)(),Pn=Object(h.a)(gn,2),Kn=Pn[0],qn=Pn[1];function Yn(){qn(Date.now())}function Vn(){window.clearTimeout(Tn.current)}V(Ce,function(aa,Hi){var ga=!1;function ha(mo,Fn){mo(function($i){var eo=jr($i+Fn),To=Object(h.a)(eo,2),co=To[0],rr=To[1];return ga=rr,co})}if(ut){if(gt>=At)return ga;ha(xe,aa)}else{if(Xt>=zt)return ga;ha(ke,Hi)}return Vn(),Yn(),ga}),Object(y.useEffect)(function(){return Vn(),Kn&&(Tn.current=window.setTimeout(function(){qn(0)},100)),Vn},[Kn]);function An(){var aa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ze,Hi=xr.get(aa);if(!Hi)return;if(ut){var ga=de;Te?Hi.right<de?ga=Hi.right:Hi.right+Hi.width>de+gt&&(ga=Hi.right+Hi.width-gt):Hi.left<-de?ga=-Hi.left:Hi.left+Hi.width>-de+gt&&(ga=-(Hi.left+Hi.width-gt)),ke(0),xe(jr(ga)[0])}else{var ha=Oe;Hi.top<-Oe?ha=-Hi.top:Hi.top+Hi.height>-Oe+Xt&&(ha=-(Hi.top+Hi.height-Xt)),xe(0),ke(jr(ha)[0])}}var on=S(xr,{width:gt,height:Xt,left:de,top:Oe},{width:dr,height:pt},{width:kr,height:Qr},he(he({},je),{},{tabs:ot})),ia=Object(h.a)(on,2),xa=ia[0],ta=ia[1],Ii=ot.map(function(aa){var Hi=aa.key;return y.createElement(C,{id:ae,prefixCls:et,key:Hi,rtl:Te,tab:aa,closable:aa.closable,editable:mt,active:Hi===Ze,tabPosition:bt,tabBarGutter:Lt,renderWrapper:or,removeAriaLabel:ft==null?void 0:ft.removeAriaLabel,ref:qe(Hi),onClick:function(ha){Bt(Hi,ha)},onRemove:function(){Ke(Hi)},onFocus:function(){An(Hi),Yn(),Te||(Ce.current.scrollLeft=0),Ce.current.scrollTop=0}})}),Ci=c(function(){var aa,Hi,ga,ha,mo,Fn,$i,eo,To,co=((aa=Ce.current)===null||aa===void 0?void 0:aa.offsetWidth)||0,rr=((Hi=Ce.current)===null||Hi===void 0?void 0:Hi.offsetHeight)||0,Tr=((ga=Fe.current)===null||ga===void 0?void 0:ga.offsetWidth)||0,Pr=((ha=Fe.current)===null||ha===void 0?void 0:ha.offsetHeight)||0,Wr=((mo=we.current)===null||mo===void 0?void 0:mo.offsetWidth)||0,hn=((Fn=we.current)===null||Fn===void 0?void 0:Fn.offsetHeight)||0;Ht(co),mr(rr),tn(Tr),Ir(Pr);var it=((($i=Ee.current)===null||$i===void 0?void 0:$i.offsetWidth)||0)-Tr,jt=(((eo=Ee.current)===null||eo===void 0?void 0:eo.offsetHeight)||0)-Pr;Wt(it),Gt(jt);var Zt=(To=we.current)===null||To===void 0?void 0:To.className.includes(Yr);er(it-(Zt?0:Wr)),vt(jt-(Zt?0:hn)),fr(function(){var nr=new Map;return ot.forEach(function(Or){var wr=Or.key,Er=qe(wr).current;Er&&nr.set(wr,{width:Er.offsetWidth,height:Er.offsetHeight,left:Er.offsetLeft,top:Er.offsetTop})}),nr})}),Gn=ot.slice(0,xa),Oa=ot.slice(ta+1),mn=[].concat(Object(n.a)(Gn),Object(n.a)(Oa)),On=Object(y.useState)(),_n=Object(h.a)(On,2),In=_n[0],jn=_n[1],ni=xr.get(Ze),di=Object(y.useRef)();function Na(){t.a.cancel(di.current)}Object(y.useEffect)(function(){var aa={};return ni&&(ut?(Te?aa.right=ni.right:aa.left=ni.left,aa.width=ni.width):(aa.top=ni.top,aa.height=ni.height)),Na(),di.current=t()(function(){jn(aa)}),Na},[ni,ut,Te]),Object(y.useEffect)(function(){An()},[Ze,ni,xr,ut]),Object(y.useEffect)(function(){Ci()},[Te,Lt,Ze,ot.map(function(aa){return aa.key}).join("_")]);var Qi=!!mn.length,ma="".concat(et,"-nav-wrap"),Ba,Qa,Wi,Co;return ut?Te?(Qa=de>0,Ba=de+gt<At):(Ba=de<0,Qa=-de+gt<At):(Wi=Oe<0,Co=-Oe+Xt<zt),y.createElement("div",{ref:st,role:"tablist",className:r()("".concat(et,"-nav"),Ve),style:ue,onKeyDown:function(){Yn()}},y.createElement(G,{position:"left",extra:Jt,prefixCls:et}),y.createElement(s.a,{onResize:Ci},y.createElement("div",{className:r()(ma,(Xe={},Object(i.a)(Xe,"".concat(ma,"-ping-left"),Ba),Object(i.a)(Xe,"".concat(ma,"-ping-right"),Qa),Object(i.a)(Xe,"".concat(ma,"-ping-top"),Wi),Object(i.a)(Xe,"".concat(ma,"-ping-bottom"),Co),Xe)),ref:Ce},y.createElement(s.a,{onResize:Ci},y.createElement("div",{ref:Ee,className:"".concat(et,"-nav-list"),style:{transform:"translate(".concat(de,"px, ").concat(Oe,"px)"),transition:Kn?"none":void 0}},Ii,y.createElement(F,{ref:Fe,prefixCls:et,locale:ft,editable:mt,style:{visibility:Qi?"hidden":null}}),y.createElement("div",{className:r()("".concat(et,"-ink-bar"),Object(i.a)({},"".concat(et,"-ink-bar-animated"),lt.inkBar)),style:In}))))),y.createElement(z,Object.assign({},je,{ref:we,prefixCls:et,tabs:mn,className:!Qi&&Yr})),y.createElement(G,{position:"right",extra:Jt,prefixCls:et}))}var Ae=y.forwardRef(ye);function ge(je){var st=je.id,Xe=je.activeKey,Je=je.animated,et=je.tabPosition,ot=je.rtl,Ve=je.destroyInactiveTabPane,ue=y.useContext(W),ae=ue.prefixCls,lt=ue.tabs,Ze=Je.tabPane,Te=lt.findIndex(function(Jt){return Jt.key===Xe});return y.createElement("div",{className:r()("".concat(ae,"-content-holder"))},y.createElement("div",{className:r()("".concat(ae,"-content"),"".concat(ae,"-content-").concat(et),Object(i.a)({},"".concat(ae,"-content-animated"),Ze)),style:Te&&Ze?Object(i.a)({},ot?"marginRight":"marginLeft","-".concat(Te,"00%")):null},lt.map(function(Jt){return y.cloneElement(Jt.node,{key:Jt.key,prefixCls:ae,tabKey:Jt.key,id:st,animated:Ze,active:Jt.key===Xe,destroyInactiveTabPane:Ve})})))}function Pe(je,st){var Xe=Object.keys(je);if(Object.getOwnPropertySymbols){var Je=Object.getOwnPropertySymbols(je);st&&(Je=Je.filter(function(et){return Object.getOwnPropertyDescriptor(je,et).enumerable})),Xe.push.apply(Xe,Je)}return Xe}function Re(je){for(var st=1;st<arguments.length;st++){var Xe=arguments[st]!=null?arguments[st]:{};st%2?Pe(Object(Xe),!0).forEach(function(Je){Object(i.a)(je,Je,Xe[Je])}):Object.getOwnPropertyDescriptors?Object.defineProperties(je,Object.getOwnPropertyDescriptors(Xe)):Pe(Object(Xe)).forEach(function(Je){Object.defineProperty(je,Je,Object.getOwnPropertyDescriptor(Xe,Je))})}return je}function rt(je){var st=je.prefixCls,Xe=je.forceRender,Je=je.className,et=je.style,ot=je.id,Ve=je.active,ue=je.animated,ae=je.destroyInactiveTabPane,lt=je.tabKey,Ze=je.children,Te=y.useState(Xe),Jt=Object(h.a)(Te,2),mt=Jt[0],ft=Jt[1];y.useEffect(function(){Ve?ft(!0):ae&&ft(!1)},[Ve,ae]);var bt={};return Ve||(ue?(bt.visibility="hidden",bt.height=0,bt.overflowY="hidden"):bt.display="none"),y.createElement("div",{id:ot&&"".concat(ot,"-panel-").concat(lt),role:"tabpanel",tabIndex:Ve?0:-1,"aria-labelledby":ot&&"".concat(ot,"-tab-").concat(lt),"aria-hidden":!Ve,style:Re(Re({},bt),et),className:r()("".concat(st,"-tabpane"),Ve&&"".concat(st,"-tabpane-active"),Je)},(Ve||mt||Xe)&&Ze)}function ne(je,st){var Xe=Object.keys(je);if(Object.getOwnPropertySymbols){var Je=Object.getOwnPropertySymbols(je);st&&(Je=Je.filter(function(et){return Object.getOwnPropertyDescriptor(je,et).enumerable})),Xe.push.apply(Xe,Je)}return Xe}function be(je){for(var st=1;st<arguments.length;st++){var Xe=arguments[st]!=null?arguments[st]:{};st%2?ne(Object(Xe),!0).forEach(function(Je){Object(i.a)(je,Je,Xe[Je])}):Object.getOwnPropertyDescriptors?Object.defineProperties(je,Object.getOwnPropertyDescriptors(Xe)):ne(Object(Xe)).forEach(function(Je){Object.defineProperty(je,Je,Object.getOwnPropertyDescriptor(Xe,Je))})}return je}var at=0;function se(je){return Object(o.a)(je).map(function(st){if(y.isValidElement(st)){var Xe=st.key!==void 0?String(st.key):void 0;return be(be({key:Xe},st.props),{},{node:st})}return null}).filter(function(st){return st})}function q(je,st){var Xe,Je=je.id,et=je.prefixCls,ot=et===void 0?"rc-tabs":et,Ve=je.className,ue=je.children,ae=je.direction,lt=je.activeKey,Ze=je.defaultActiveKey,Te=je.editable,Jt=je.animated,mt=je.tabPosition,ft=mt===void 0?"top":mt,bt=je.tabBarGutter,Lt=je.tabBarStyle,or=je.tabBarExtraContent,Bt=je.locale,_e=je.moreIcon,Ce=je.moreTransitionName,Ee=je.destroyInactiveTabPane,we=je.renderTabBar,Fe=je.onChange,Ye=je.onTabClick,Ge=je.onTabScroll,qe=Object(u.a)(je,["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"]),Ke=se(ue),ut=ae==="rtl",wt;Jt===!1?wt={inkBar:!1,tabPane:!1}:wt=be({inkBar:!0,tabPane:!1},Jt!==!0?Jt:null);var It=Object(y.useState)(!1),de=Object(h.a)(It,2),xe=de[0],$=de[1];Object(y.useEffect)(function(){$(B())},[]);var le=Object(d.a)(function(){var pt;return(pt=Ke[0])===null||pt===void 0?void 0:pt.key},{value:lt,defaultValue:Ze}),Oe=Object(h.a)(le,2),ke=Oe[0],Ue=Oe[1],nt=Object(y.useState)(function(){return Ke.findIndex(function(pt){return pt.key===ke})}),At=Object(h.a)(nt,2),Wt=At[0],$t=At[1];Object(y.useEffect)(function(){var pt=Ke.findIndex(function(Nt){return Nt.key===ke});if(pt===-1){var vt;pt=Math.max(0,Math.min(Wt,Ke.length-1)),Ue((vt=Ke[pt])===null||vt===void 0?void 0:vt.key)}$t(pt)},[Ke.map(function(pt){return pt.key}).join("_"),ke,Wt]);var Rt=Object(d.a)(null,{value:Je}),zt=Object(h.a)(Rt,2),Gt=zt[0],Qt=zt[1],Mt=ft;xe&&!["left","right"].includes(ft)&&(Mt="top"),Object(y.useEffect)(function(){Je||(Qt("rc-tabs-".concat(at)),at+=1)},[]);function dr(pt,vt){Ye==null||Ye(pt,vt),Ue(pt),Fe==null||Fe(pt)}var er={id:Gt,activeKey:ke,animated:wt,tabPosition:Mt,rtl:ut,mobile:xe},ht,Et=be(be({},er),{},{editable:Te,locale:Bt,moreIcon:_e,moreTransitionName:Ce,tabBarGutter:bt,onTabClick:dr,onTabScroll:Ge,extra:or,style:Lt,panes:ue});return we?ht=we(Et,Ae):ht=y.createElement(Ae,Object.assign({},Et)),y.createElement(W.Provider,{value:{tabs:Ke,prefixCls:ot}},y.createElement("div",Object.assign({ref:st,id:Je,className:r()(ot,"".concat(ot,"-").concat(Mt),(Xe={},Object(i.a)(Xe,"".concat(ot,"-mobile"),xe),Object(i.a)(Xe,"".concat(ot,"-editable"),Te),Object(i.a)(Xe,"".concat(ot,"-rtl"),ut),Xe),Ve)},qe),ht,y.createElement(ge,Object.assign({destroyInactiveTabPane:Ee},er,{animated:wt}))))}var X=y.forwardRef(q);X.TabPane=rt;var Z=X,pe=Z,oe=e("cCPh"),Ie=e.n(oe),fe=e("fNCr"),te=e.n(fe),J=e("V/uB"),ve=e.n(J),De=e("uaoM"),ze=e("H84U"),dt=function(je,st){var Xe={};for(var Je in je)Object.prototype.hasOwnProperty.call(je,Je)&&st.indexOf(Je)<0&&(Xe[Je]=je[Je]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Je=Object.getOwnPropertySymbols(je);et<Je.length;et++)st.indexOf(Je[et])<0&&Object.prototype.propertyIsEnumerable.call(je,Je[et])&&(Xe[Je[et]]=je[Je[et]]);return Xe};function Me(je){var st,Xe=je.type,Je=je.className,et=je.size,ot=je.onEdit,Ve=je.hideAdd,ue=je.centered,ae=je.addIcon,lt=dt(je,["type","className","size","onEdit","hideAdd","centered","addIcon"]),Ze=lt.prefixCls,Te=y.useContext(ze.b),Jt=Te.getPrefixCls,mt=Te.direction,ft=Jt("tabs",Ze),bt;return Xe==="editable-card"&&(bt={onEdit:function(or,Bt){var _e=Bt.key,Ce=Bt.event;ot==null||ot(or==="add"?Ce:_e,or)},removeIcon:y.createElement(ve.a,null),addIcon:ae||y.createElement(te.a,null),showAdd:Ve!==!0}),Object(De.a)(!("onPrevClick"in lt)&&!("onNextClick"in lt),"Tabs","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),y.createElement(pe,f()({direction:mt},lt,{moreTransitionName:"slide-up",className:r()(Je,(st={},m()(st,"".concat(ft,"-").concat(et),et),m()(st,"".concat(ft,"-card"),["card","editable-card"].includes(Xe)),m()(st,"".concat(ft,"-editable-card"),Xe==="editable-card"),m()(st,"".concat(ft,"-centered"),ue),st)),editable:bt,moreIcon:y.createElement(Ie.a,null),prefixCls:ft}))}Me.TabPane=rt;var Tt=I.a=Me},ZTW2:function(R,I,e){},ZWlE:function(R,I,e){var g=e("bYtY"),f=e("4NO4");function b(h){m(h),y(h)}function m(h){if(h.parallel)return;var u=!1;g.each(h.series,function(i){i&&i.type==="parallel"&&(u=!0)}),u&&(h.parallel=[{}])}function y(h){var u=f.normalizeToArray(h.parallelAxis);g.each(u,function(i){if(!g.isObject(i))return;var a=i.parallelIndex||0,r=f.normalizeToArray(h.parallel)[a];r&&r.parallelAxisDefault&&g.merge(i,r.parallelAxisDefault,!1)})}R.exports=b},ZX9x:function(R,I,e){"use strict";e.d(I,"a",function(){return L}),e.d(I,"b",function(){return U});var g=e("lSNA"),f=e.n(g),b=e("pVnL"),m=e.n(b),y=e("lwsE"),h=e.n(y),u=e("W8MJ"),i=e.n(u),a=e("7W2i"),r=e.n(a),o=e("LQ03"),d=e.n(o),n=e("q1tI"),l=e("TSYQ"),t=e.n(l),s=e("BGR+"),c=e("T1rO"),p=e.n(c),A=e("fEPi"),w=e.n(A),C=e("DFhj"),x=e.n(C),E=e("PKem"),T=e("H84U"),_=function(W){return!isNaN(parseFloat(W))&&isFinite(W)},v=_,S=function(z,W){var N={};for(var H in z)Object.prototype.hasOwnProperty.call(z,H)&&W.indexOf(H)<0&&(N[H]=z[H]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,H=Object.getOwnPropertySymbols(z);j<H.length;j++)W.indexOf(H[j])<0&&Object.prototype.propertyIsEnumerable.call(z,H[j])&&(N[H[j]]=z[H[j]]);return N},O={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},L=n.createContext({}),M=function(){var z=0;return function(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return z+=1,"".concat(W).concat(z)}}(),F=function(z){r()(N,z);var W=d()(N);function N(H){var j;h()(this,N),j=W.call(this,H),j.responsiveHandler=function(V){j.setState({below:V.matches});var K=j.props.onBreakpoint,Y=j.state.collapsed;K&&K(V.matches),Y!==V.matches&&j.setCollapsed(V.matches,"responsive")},j.setCollapsed=function(V,K){"collapsed"in j.props||j.setState({collapsed:V});var Y=j.props.onCollapse;Y&&Y(V,K)},j.toggle=function(){var V=!j.state.collapsed;j.setCollapsed(V,"clickTrigger")},j.renderSider=function(V){var K,Y=V.getPrefixCls,Q=j.props,he=Q.prefixCls,G=Q.className,ye=Q.theme,Ae=Q.collapsible,ge=Q.reverseArrow,Pe=Q.trigger,Re=Q.style,rt=Q.width,ne=Q.collapsedWidth,be=Q.zeroWidthTriggerStyle,at=Q.children,se=S(Q,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),q=j.state,X=q.collapsed,Z=q.below,pe=Y("layout-sider",he),oe=Object(s.default)(se,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),Ie=X?ne:rt,fe=v(Ie)?"".concat(Ie,"px"):String(Ie),te=parseFloat(String(ne||0))===0?n.createElement("span",{onClick:j.toggle,className:t()("".concat(pe,"-zero-width-trigger"),"".concat(pe,"-zero-width-trigger-").concat(ge?"right":"left")),style:be},Pe||n.createElement(p.a,null)):null,J={expanded:ge?n.createElement(w.a,null):n.createElement(x.a,null),collapsed:ge?n.createElement(x.a,null):n.createElement(w.a,null)},ve=X?"collapsed":"expanded",De=J[ve],ze=Pe!==null?te||n.createElement("div",{className:"".concat(pe,"-trigger"),onClick:j.toggle,style:{width:fe}},Pe||De):null,dt=m()(m()({},Re),{flex:"0 0 ".concat(fe),maxWidth:fe,minWidth:fe,width:fe}),Me=t()(G,pe,"".concat(pe,"-").concat(ye),(K={},f()(K,"".concat(pe,"-collapsed"),!!X),f()(K,"".concat(pe,"-has-trigger"),Ae&&Pe!==null&&!te),f()(K,"".concat(pe,"-below"),!!Z),f()(K,"".concat(pe,"-zero-width"),parseFloat(fe)===0),K));return n.createElement("aside",m()({className:Me},oe,{style:dt}),n.createElement("div",{className:"".concat(pe,"-children")},at),Ae||Z&&te?ze:null)},j.uniqueId=M("ant-sider-");var k;typeof window!="undefined"&&(k=window.matchMedia),k&&H.breakpoint&&H.breakpoint in O&&(j.mql=k("(max-width: ".concat(O[H.breakpoint],")")));var B;return"collapsed"in H?B=H.collapsed:B=H.defaultCollapsed,j.state={collapsed:B,below:!1},j}return i()(N,[{key:"componentDidMount",value:function(){var j;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),(j=this.props)===null||j===void 0||j.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var j,k;(j=this===null||this===void 0?void 0:this.mql)===null||j===void 0||j.removeListener(this.responsiveHandler),(k=this.props)===null||k===void 0||k.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var j=this.state.collapsed,k=this.props.collapsedWidth;return n.createElement(L.Provider,{value:{siderCollapsed:j,collapsedWidth:k}},n.createElement(T.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(j){return"collapsed"in j?{collapsed:j.collapsed}:null}}]),N}(n.Component);F.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var U=function(z){r()(N,z);var W=d()(N);function N(){return h()(this,N),W.apply(this,arguments)}return i()(N,[{key:"render",value:function(){var j=this;return n.createElement(E.a.Consumer,null,function(k){return n.createElement(F,m()({},k,j.props))})}}]),N}(n.Component)},ZYIC:function(R,I,e){var g=e("zM3Q"),f={seriesType:"lines",plan:g(),reset:function(b){var m=b.coordinateSystem,y=b.get("polyline"),h=b.pipelineContext.large;function u(i,a){var r=[];if(h){var o,d=i.end-i.start;if(y){for(var n=0,l=i.start;l<i.end;l++)n+=b.getLineCoordsCount(l);o=new Float32Array(d+n*2)}else o=new Float32Array(d*4);for(var t=0,s=[],l=i.start;l<i.end;l++){var c=b.getLineCoords(l,r);y&&(o[t++]=c);for(var p=0;p<c;p++)s=m.dataToPoint(r[p],!1,s),o[t++]=s[0],o[t++]=s[1]}a.setLayout("linesPoints",o)}else for(var l=i.start;l<i.end;l++){var A=a.getItemModel(l),c=b.getLineCoords(l,r),w=[];if(y)for(var C=0;C<c;C++)w.push(m.dataToPoint(r[C]));else{w[0]=m.dataToPoint(r[0]),w[1]=m.dataToPoint(r[1]);var x=A.get("lineStyle.curveness");+x&&(w[2]=[(w[0][0]+w[1][0])/2-(w[0][1]-w[1][1])*x,(w[0][1]+w[1][1])/2-(w[1][0]-w[0][0])*x])}a.setItemLayout(l,w)}}return{progress:u}}};R.exports=f},Ze12:function(R,I,e){var g=e("ItGF"),f=e("hOwI"),b=f.buildTransformer,m="___zrEVENTSAVED",y=[];function h(o,d,n,l,t){return u(y,d,l,t,!0)&&u(o,n,y[0],y[1])}function u(o,d,n,l,t){if(d.getBoundingClientRect&&g.domSupported&&!r(d)){var s=d[m]||(d[m]={}),c=i(d,s),p=a(c,s,t);if(p)return p(o,n,l),!0}return!1}function i(o,d){var n=d.markers;if(n)return n;n=d.markers=[];for(var l=["left","right"],t=["top","bottom"],s=0;s<4;s++){var c=document.createElement("div"),p=c.style,A=s%2,w=(s>>1)%2;p.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",l[A]+":0",t[w]+":0",l[1-A]+":auto",t[1-w]+":auto",""].join("!important;"),o.appendChild(c),n.push(c)}return n}function a(o,d,n){for(var l=n?"invTrans":"trans",t=d[l],s=d.srcCoords,c=!0,p=[],A=[],w=0;w<4;w++){var C=o[w].getBoundingClientRect(),x=2*w,E=C.left,T=C.top;p.push(E,T),c=c&&s&&E===s[x]&&T===s[x+1],A.push(o[w].offsetLeft,o[w].offsetTop)}return c&&t?t:(d.srcCoords=p,d[l]=n?b(A,p):b(p,A))}function r(o){return o.nodeName.toUpperCase()==="CANVAS"}I.transformLocalCoord=h,I.transformCoordWithViewport=u,I.isCanvasEl=r},Znkb:function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("ProS"),m=e("zTMp"),y=b.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(r,o,d,n){this.axisPointerClass&&m.fixValue(r),y.superApply(this,"render",arguments),h(this,r,o,d,n,!0)},updateAxisPointer:function(r,o,d,n,l){h(this,r,o,d,n,!1)},remove:function(r,o){var d=this._axisPointer;d&&d.remove(o),y.superApply(this,"remove",arguments)},dispose:function(r,o){u(this,o),y.superApply(this,"dispose",arguments)}});function h(r,o,d,n,l,t){var s=y.getAxisPointerClass(r.axisPointerClass);if(!s)return;var c=m.getAxisPointerModel(o);c?(r._axisPointer||(r._axisPointer=new s)).render(o,c,n,t):u(r,n)}function u(r,o,d){var n=r._axisPointer;n&&n.dispose(o,d),r._axisPointer=null}var i=[];y.registerAxisPointerClass=function(r,o){i[r]=o},y.getAxisPointerClass=function(r){return r&&i[r]};var a=y;R.exports=a},"Znn+":function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("9ama"),m=e.n(b)},ZqQs:function(R,I,e){var g=e("bYtY");function f(h){var u=h&&h.timeline;g.isArray(u)||(u=u?[u]:[]),g.each(u,function(i){if(!i)return;b(i)})}function b(h){var u=h.type,i={number:"value",time:"time"};if(i[u]&&(h.axisType=i[u],delete h.type),m(h),y(h,"controlPosition")){var a=h.controlStyle||(h.controlStyle={});y(a,"position")||(a.position=h.controlPosition),a.position==="none"&&!y(a,"show")&&(a.show=!1,delete a.position),delete h.controlPosition}g.each(h.data||[],function(r){g.isObject(r)&&!g.isArray(r)&&(!y(r,"value")&&y(r,"name")&&(r.value=r.name),m(r))})}function m(h){var u=h.itemStyle||(h.itemStyle={}),i=u.emphasis||(u.emphasis={}),a=h.label||h.label||{},r=a.normal||(a.normal={}),o={normal:1,emphasis:1};g.each(a,function(d,n){!o[n]&&!y(r,n)&&(r[n]=d)}),i.label&&!y(a,"emphasis")&&(a.emphasis=i.label,delete i.label)}function y(h,u){return h.hasOwnProperty(u)}R.exports=f},Zvw2:function(R,I,e){var g=e("bYtY"),f=e("hM6l"),b=function(y,h,u,i,a){f.call(this,y,h,u),this.type=i||"value",this.position=a||"bottom",this.orient=null};b.prototype={constructor:b,model:null,isHorizontal:function(){var y=this.position;return y==="top"||y==="bottom"},pointToData:function(y,h){return this.coordinateSystem.pointToData(y,h)[0]},toGlobalCoord:null,toLocalCoord:null},g.inherits(b,f);var m=b;R.exports=m},a7Wl:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};I.default=g},a9QJ:function(R,I){var e={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function g(f,b){if(f==="world"){var m=e[b.name];if(m){var y=b.center;y[0]=m[0],y[1]=m[1]}}}R.exports=g},aHsQ:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("6D9b"),m=e.n(b)},aKvl:function(R,I,e){var g=e("Sj9i"),f=g.quadraticProjectPoint;function b(m,y,h,u,i,a,r,o,d){if(r===0)return!1;var n=r;if(d>y+n&&d>u+n&&d>a+n||d<y-n&&d<u-n&&d<a-n||o>m+n&&o>h+n&&o>i+n||o<m-n&&o<h-n&&o<i-n)return!1;var l=f(m,y,h,u,i,a,o,d,null);return l<=n/2}I.containStroke=b},aTJb:function(R,I,e){var g=e("bLfw");g.registerSubTypeDefaulter("dataZoom",function(){return"slider"})},aUsF:function(R,I,e){"use strict";var g=Array.isArray,f=Object.keys,b=Object.prototype.hasOwnProperty;R.exports=function m(y,h){if(y===h)return!0;if(y&&h&&typeof y=="object"&&typeof h=="object"){var u=g(y),i=g(h),a,r,o;if(u&&i){if(r=y.length,r!=h.length)return!1;for(a=r;a--!==0;)if(!m(y[a],h[a]))return!1;return!0}if(u!=i)return!1;var d=y instanceof Date,n=h instanceof Date;if(d!=n)return!1;if(d&&n)return y.getTime()==h.getTime();var l=y instanceof RegExp,t=h instanceof RegExp;if(l!=t)return!1;if(l&&t)return y.toString()==h.toString();var s=f(y);if(r=s.length,r!==f(h).length)return!1;for(a=r;a--!==0;)if(!b.call(h,s[a]))return!1;for(a=r;a--!==0;)if(o=s[a],!m(y[o],h[o]))return!1;return!0}return y!==y&&h!==h}},aX58:function(R,I,e){var g=e("3gBT"),f=e("ItGF"),b=e("bYtY"),m=e("0s+r"),y=e("r6Bn"),h=e("7SHv"),u=e("MKOG"),i=e("zarK");/*!
* 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
*/var a=!f.canvasSupported,r={canvas:h},o={},d="4.3.1";function n(A,w){var C=new p(g(),A,w);return o[C.id]=C,C}function l(A){if(A)A.dispose();else{for(var w in o)o.hasOwnProperty(w)&&o[w].dispose();o={}}return this}function t(A){return o[A]}function s(A,w){r[A]=w}function c(A){delete o[A]}var p=function(w,C,x){x=x||{},this.dom=C,this.id=w;var E=this,T=new y,_=x.renderer;if(a){if(!r.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");_="vml"}else(!_||!r[_])&&(_="canvas");var v=new r[_](C,T,x,w);this.storage=T,this.painter=v;var S=!f.node&&!f.worker?new i(v.getViewportRoot(),v.root):null;this.handler=new m(T,v,S,v.root),this.animation=new u({stage:{update:b.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var O=T.delFromStorage,L=T.addToStorage;T.delFromStorage=function(M){O.call(T,M),M&&M.removeSelfFromZr(E)},T.addToStorage=function(M){L.call(T,M),M.addSelfToZr(E)}};p.prototype={constructor:p,getId:function(){return this.id},add:function(w){this.storage.addRoot(w),this._needsRefresh=!0},remove:function(w){this.storage.delRoot(w),this._needsRefresh=!0},configLayer:function(w,C){this.painter.configLayer&&this.painter.configLayer(w,C),this._needsRefresh=!0},setBackgroundColor:function(w){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(w),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh(),this._needsRefresh=this._needsRefreshHover=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var w;this._needsRefresh&&(w=!0,this.refreshImmediately()),this._needsRefreshHover&&(w=!0,this.refreshHoverImmediately()),w&&this.trigger("rendered")},addHover:function(w,C){if(this.painter.addHover){var x=this.painter.addHover(w,C);return this.refreshHover(),x}},removeHover:function(w){this.painter.removeHover&&(this.painter.removeHover(w),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(w){w=w||{},this.painter.resize(w.width,w.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(w,C){return this.painter.pathToImage(w,C)},setCursorStyle:function(w){this.handler.setCursorStyle(w)},findHover:function(w,C){return this.handler.findHover(w,C)},on:function(w,C,x){this.handler.on(w,C,x)},off:function(w,C){this.handler.off(w,C)},trigger:function(w,C){this.handler.trigger(w,C)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,c(this.id)}},I.version=d,I.init=n,I.dispose=l,I.getInstance=t,I.registerPainter=s},aX7z:function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("bYtY"),m=e("GMDS"),y=e("ieMj"),h=e("4NgU"),u=e("OELB"),i=e("nVfU"),a=i.prepareLayoutBarSeries,r=i.makeColumnLayout,o=i.retrieveColumnLayout,d=e("mFDi");e("IWp7"),e("jCoz");function n(T,_){var v=T.type,S=_.getMin(),O=_.getMax(),L=T.getExtent(),M,F,U;v==="ordinal"?M=_.getCategories().length:(F=_.get("boundaryGap"),b.isArray(F)||(F=[F||0,F||0]),typeof F[0]=="boolean"&&(F=[0,0]),F[0]=u.parsePercent(F[0],1),F[1]=u.parsePercent(F[1],1),U=L[1]-L[0]||Math.abs(L[0])),S==="dataMin"?S=L[0]:typeof S=="function"&&(S=S({min:L[0],max:L[1]})),O==="dataMax"?O=L[1]:typeof O=="function"&&(O=O({min:L[0],max:L[1]}));var z=S!=null,W=O!=null;S==null&&(S=v==="ordinal"?M?0:NaN:L[0]-F[0]*U),O==null&&(O=v==="ordinal"?M?M-1:NaN:L[1]+F[1]*U),(S==null||!isFinite(S))&&(S=NaN),(O==null||!isFinite(O))&&(O=NaN),T.setBlank(b.eqNaN(S)||b.eqNaN(O)||v==="ordinal"&&!T.getOrdinalMeta().categories.length),_.getNeedCrossZero()&&(S>0&&O>0&&!z&&(S=0),S<0&&O<0&&!W&&(O=0));var N=_.ecModel;if(N&&v==="time"){var H=a("bar",N),j;if(b.each(H,function(V){j|=V.getBaseAxis()===_.axis}),j){var k=r(H),B=l(S,O,_,k);S=B.min,O=B.max}}return{extent:[S,O],fixMin:z,fixMax:W}}function l(T,_,v,S){var O=v.axis.getExtent(),L=O[1]-O[0],M=o(S,v.axis);if(M===void 0)return{min:T,max:_};var F=Infinity;b.each(M,function(j){F=Math.min(j.offset,F)});var U=-Infinity;b.each(M,function(j){U=Math.max(j.offset+j.width,U)}),F=Math.abs(F),U=Math.abs(U);var z=F+U,W=_-T,N=1-(F+U)/L,H=W/N-W;return _+=H*(U/z),T-=H*(F/z),{min:T,max:_}}function t(T,_){var v=n(T,_),S=v.extent,O=_.get("splitNumber");T.type==="log"&&(T.base=_.get("logBase"));var L=T.type;T.setExtent(S[0],S[1]),T.niceExtent({splitNumber:O,fixMin:v.fixMin,fixMax:v.fixMax,minInterval:L==="interval"||L==="time"?_.get("minInterval"):null,maxInterval:L==="interval"||L==="time"?_.get("maxInterval"):null});var M=_.get("interval");M!=null&&(T.setInterval&&T.setInterval(M))}function s(T,_){if(_=_||T.get("type"),_)switch(_){case"category":return new m(T.getOrdinalMeta?T.getOrdinalMeta():T.getCategories(),[Infinity,-Infinity]);case"value":return new y;default:return(h.getClass(_)||y).create(T)}}function c(T){var _=T.scale.getExtent(),v=_[0],S=_[1];return!(v>0&&S>0||v<0&&S<0)}function p(T){var _=T.getLabelModel().get("formatter"),v=T.type==="category"?T.scale.getExtent()[0]:null;return typeof _=="string"?(_=function(S){return function(O){return O=T.scale.getLabel(O),S.replace("{value}",O!=null?O:"")}}(_),_):typeof _=="function"?function(S,O){return v!=null&&(O=S-v),_(A(T,S),O)}:function(S){return T.scale.getLabel(S)}}function A(T,_){return T.type==="category"?T.scale.getLabel(_):_}function w(T){var _=T.model,v=T.scale;if(!_.get("axisLabel.show")||v.isBlank())return;var S=T.type==="category",O,L,M=v.getExtent();S?L=v.count():(O=v.getTicks(),L=O.length);var F=T.getLabelModel(),U=p(T),z,W=1;L>40&&(W=Math.ceil(L/40));for(var N=0;N<L;N+=W){var H=O?O[N]:M[0]+N,j=U(H),k=F.getTextRect(j),B=C(k,F.get("rotate")||0);z?z.union(B):z=B}return z}function C(T,_){var v=_*Math.PI/180,S=T.plain(),O=S.width,L=S.height,M=O*Math.cos(v)+L*Math.sin(v),F=O*Math.sin(v)+L*Math.cos(v),U=new d(S.x,S.y,M,F);return U}function x(T){var _=T.get("interval");return _==null?"auto":_}function E(T){return T.type==="category"&&x(T.getLabelModel())===0}I.getScaleExtent=n,I.niceScaleExtent=t,I.createScaleByModel=s,I.ifAxisCrossZero=c,I.makeLabelFormatter=p,I.getAxisRawValue=A,I.estimateLabelUnionRect=w,I.getOptionCategoryInterval=x,I.shouldShowAllLabels=E},adU4:function(R,I,e){var g=e("y1pI"),f=Array.prototype,b=f.splice;function m(y){var h=this.__data__,u=g(h,y);if(u<0)return!1;var i=h.length-1;return u==i?h.pop():b.call(h,u,1),--this.size,!0}R.exports=m},"af/B":function(R,I,e){var g=e("bYtY"),f=g.each,b=g.map,m=g.isFunction,y=g.createHashMap,h=g.noop,u=e("9H2F"),i=u.createTask,a=e("iRjW"),r=a.getUID,o=e("fmMI"),d=e("hD7B"),n=e("4NO4"),l=n.normalizeToArray;function t(j,k,B,V){this.ecInstance=j,this.api=k,this.unfinished;var B=this._dataProcessorHandlers=B.slice(),V=this._visualHandlers=V.slice();this._allHandlers=B.concat(V),this._stageTaskMap=y()}var s=t.prototype;s.restoreData=function(j,k){j.restoreData(k),this._stageTaskMap.each(function(B){var V=B.overallTask;V&&V.dirty()})},s.getPerformArgs=function(j,k){if(!j.__pipeline)return;var B=this._pipelineMap.get(j.__pipeline.id),V=B.context,K=!k&&B.progressiveEnabled&&(!V||V.progressiveRender)&&j.__idxInPipeline>B.blockIndex,Y=K?B.step:null,Q=V&&V.modDataCount,he=Q!=null?Math.ceil(Q/Y):null;return{step:Y,modBy:he,modDataCount:Q}},s.getPipeline=function(j){return this._pipelineMap.get(j)},s.updateStreamModes=function(j,k){var B=this._pipelineMap.get(j.uid),V=j.getData(),K=V.count(),Y=B.progressiveEnabled&&k.incrementalPrepareRender&&K>=B.threshold,Q=j.get("large")&&K>=j.get("largeThreshold"),he=j.get("progressiveChunkMode")==="mod"?K:null;j.pipelineContext=B.context={progressiveRender:Y,modDataCount:he,large:Q}},s.restorePipelines=function(j){var k=this,B=k._pipelineMap=y();j.eachSeries(function(V){var K=V.getProgressive(),Y=V.uid;B.set(Y,{id:Y,head:null,tail:null,threshold:V.getProgressiveThreshold(),progressiveEnabled:K&&!(V.preventIncremental&&V.preventIncremental()),blockIndex:-1,step:Math.round(K||700),count:0}),M(k,V,V.dataTask)})},s.prepareStageTasks=function(){var j=this._stageTaskMap,k=this.ecInstance.getModel(),B=this.api;f(this._allHandlers,function(V){var K=j.get(V.uid)||j.set(V.uid,[]);V.reset&&A(this,V,K,k,B),V.overallReset&&w(this,V,K,k,B)},this)},s.prepareView=function(j,k,B,V){var K=j.renderTask,Y=K.context;Y.model=k,Y.ecModel=B,Y.api=V,K.__block=!j.incrementalPrepareRender,M(this,k,K)},s.performDataProcessorTasks=function(j,k){c(this,this._dataProcessorHandlers,j,k,{block:!0})},s.performVisualTasks=function(j,k,B){c(this,this._visualHandlers,j,k,B)};function c(j,k,B,V,K){K=K||{};var Y;f(k,function(he,G){if(K.visualType&&K.visualType!==he.visualType)return;var ye=j._stageTaskMap.get(he.uid),Ae=ye.seriesTaskMap,ge=ye.overallTask;if(ge){var Pe,Re=ge.agentStubMap;Re.each(function(ne){Q(K,ne)&&(ne.dirty(),Pe=!0)}),Pe&&ge.dirty(),p(ge,V);var rt=j.getPerformArgs(ge,K.block);Re.each(function(ne){ne.perform(rt)}),Y|=ge.perform(rt)}else Ae&&Ae.each(function(ne,be){Q(K,ne)&&ne.dirty();var at=j.getPerformArgs(ne,K.block);at.skip=!he.performRawSeries&&B.isSeriesFiltered(ne.context.model),p(ne,V),Y|=ne.perform(at)})});function Q(he,G){return he.setDirty&&(!he.dirtyMap||he.dirtyMap.get(G.__pipeline.id))}j.unfinished|=Y}s.performSeriesTasks=function(j){var k;j.eachSeries(function(B){k|=B.dataTask.perform()}),this.unfinished|=k},s.plan=function(){this._pipelineMap.each(function(j){var k=j.tail;do{if(k.__block){j.blockIndex=k.__idxInPipeline;break}k=k.getUpstream()}while(k)})};var p=s.updatePayload=function(j,k){k!=="remain"&&(j.context.payload=k)};function A(j,k,B,V,K){var Y=B.seriesTaskMap||(B.seriesTaskMap=y()),Q=k.seriesType,he=k.getTargetSeries;k.createOnAllSeries?V.eachRawSeries(G):Q?V.eachRawSeriesByType(Q,G):he&&he(V,K).each(G);function G(Ae){var ge=Ae.uid,Pe=Y.get(ge)||Y.set(ge,i({plan:_,reset:v,count:L}));Pe.context={model:Ae,ecModel:V,api:K,useClearVisual:k.isVisual&&!k.isLayout,plan:k.plan,reset:k.reset,scheduler:j},M(j,Ae,Pe)}var ye=j._pipelineMap;Y.each(function(Ae,ge){ye.get(ge)||(Ae.dispose(),Y.removeKey(ge))})}function w(j,k,B,V,K){var Y=B.overallTask=B.overallTask||i({reset:C});Y.context={ecModel:V,api:K,overallReset:k.overallReset,scheduler:j};var Q=Y.agentStubMap=Y.agentStubMap||y(),he=k.seriesType,G=k.getTargetSeries,ye=!0,Ae=k.modifyOutputEnd;he?V.eachRawSeriesByType(he,ge):G?G(V,K).each(ge):(ye=!1,f(V.getSeries(),ge));function ge(Re){var rt=Re.uid,ne=Q.get(rt);ne||(ne=Q.set(rt,i({reset:x,onDirty:T})),Y.dirty()),ne.context={model:Re,overallProgress:ye,modifyOutputEnd:Ae},ne.agent=Y,ne.__block=ye,M(j,Re,ne)}var Pe=j._pipelineMap;Q.each(function(Re,rt){Pe.get(rt)||(Re.dispose(),Y.dirty(),Q.removeKey(rt))})}function C(j){j.overallReset(j.ecModel,j.api,j.payload)}function x(j,k){return j.overallProgress&&E}function E(){this.agent.dirty(),this.getDownstream().dirty()}function T(){this.agent&&this.agent.dirty()}function _(j){return j.plan&&j.plan(j.model,j.ecModel,j.api,j.payload)}function v(j){j.useClearVisual&&j.data.clearAllVisual();var k=j.resetDefines=l(j.reset(j.model,j.ecModel,j.api,j.payload));return k.length>1?b(k,function(B,V){return O(V)}):S}var S=O(0);function O(j){return function(k,B){var V=B.data,K=B.resetDefines[j];if(K&&K.dataEach)for(var Y=k.start;Y<k.end;Y++)K.dataEach(V,Y);else K&&K.progress&&K.progress(k,V)}}function L(j){return j.data.count()}function M(j,k,B){var V=k.uid,K=j._pipelineMap.get(V);!K.head&&(K.head=B),K.tail&&K.tail.pipe(B),K.tail=B,B.__idxInPipeline=K.count++,B.__pipeline=K}t.wrapStageHandler=function(j,k){return m(j)&&(j={overallReset:j,seriesType:F(j)}),j.uid=r("stageHandler"),k&&(j.visualType=k),j};function F(j){W=null;try{j(U,z)}catch(k){}return W}var U={},z={},W;N(U,o),N(z,d),U.eachSeriesByType=U.eachRawSeriesByType=function(j){W=j},U.eachComponent=function(j){j.mainType==="series"&&j.subType&&(W=j.subType)};function N(j,k){for(var B in k.prototype)j[B]=h}var H=t;R.exports=H},akwb:function(R,I,e){var g=e("RSch"),f=e("bYtY"),b=e("D9ME"),m=e("QBsz");function y(i,a,r){b.call(this,i,a,r),this._lastFrame=0,this._lastFramePercent=0}var h=y.prototype;h.createLine=function(i,a,r){return new g(i,a,r)},h.updateAnimationPoints=function(i,a){this._points=a;for(var r=[0],o=0,d=1;d<a.length;d++){var n=a[d-1],l=a[d];o+=m.dist(n,l),r.push(o)}if(o===0)return;for(var d=0;d<r.length;d++)r[d]/=o;this._offsets=r,this._length=o},h.getLineLength=function(i){return this._length},h.updateSymbolPosition=function(i){var a=i.__t,r=this._points,o=this._offsets,d=r.length;if(!o)return;var n=this._lastFrame,l;if(a<this._lastFramePercent){var t=Math.min(n+1,d-1);for(l=t;l>=0&&!(o[l]<=a);l--);l=Math.min(l,d-2)}else{for(var l=n;l<d&&!(o[l]>a);l++);l=Math.min(l-1,d-2)}m.lerp(i.position,r[l],r[l+1],(a-o[l])/(o[l+1]-o[l]));var s=r[l+1][0]-r[l][0],c=r[l+1][1]-r[l][1];i.rotation=-Math.atan2(c,s)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=a,i.ignore=!1},f.inherits(y,b);var u=y;R.exports=u},apAg:function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("bsht")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="SearchOutlined";var u=b.forwardRef(h);I.default=u},as94:function(R,I,e){var g=e("7aKB"),f=e("3LNs"),b=e("IwbS"),m=e("/y7N"),y=e("Fofx"),h=e("+rIm"),u=e("Znkb"),i=f.extend({makeElOption:function(d,n,l,t,s){var c=l.axis;c.dim==="angle"&&(this.animationThreshold=Math.PI/18);var p=c.polar,A=p.getOtherAxis(c),w=A.getExtent(),C;C=c["dataTo"+g.capitalFirst(c.dim)](n);var x=t.get("type");if(x&&x!=="none"){var E=m.buildElStyle(t),T=r[x](c,p,C,w,E);T.style=E,d.graphicKey=T.type,d.pointer=T}var _=t.get("label.margin"),v=a(n,l,t,p,_);m.buildLabelElOption(d,l,t,s,v)}});function a(d,n,l,t,s){var c=n.axis,p=c.dataToCoord(d),A=t.getAngleAxis().getExtent()[0];A=A/180*Math.PI;var w=t.getRadiusAxis().getExtent(),C,x,E;if(c.dim==="radius"){var T=y.create();y.rotate(T,T,A),y.translate(T,T,[t.cx,t.cy]),C=b.applyTransform([p,-s],T);var _=n.getModel("axisLabel").get("rotate")||0,v=h.innerTextLayout(A,_*Math.PI/180,-1);x=v.textAlign,E=v.textVerticalAlign}else{var S=w[1];C=t.coordToPoint([S+s,p]);var O=t.cx,L=t.cy;x=Math.abs(C[0]-O)/S<.3?"center":C[0]>O?"left":"right",E=Math.abs(C[1]-L)/S<.3?"middle":C[1]>L?"top":"bottom"}return{position:C,align:x,verticalAlign:E}}var r={line:function(d,n,l,t,s){return d.dim==="angle"?{type:"Line",shape:m.makeLineShape(n.coordToPoint([t[0],l]),n.coordToPoint([t[1],l]))}:{type:"Circle",shape:{cx:n.cx,cy:n.cy,r:l}}},shadow:function(d,n,l,t,s){var c=Math.max(1,d.getBandWidth()),p=Math.PI/180;return d.dim==="angle"?{type:"Sector",shape:m.makeSectorShape(n.cx,n.cy,t[0],t[1],(-l-c/2)*p,(-l+c/2)*p)}:{type:"Sector",shape:m.makeSectorShape(n.cx,n.cy,l-c/2,l+c/2,0,Math.PI*2)}}};u.registerAxisPointerClass("PolarAxisPointer",i);var o=i;R.exports=o},b56q:function(R,I,e){},b80T:function(R,I,e){var g=e("UNi/"),f=e("03A+"),b=e("Z0cm"),m=e("DSRE"),y=e("wJg7"),h=e("c6wG"),u=Object.prototype,i=u.hasOwnProperty;function a(r,o){var d=b(r),n=!d&&f(r),l=!d&&!n&&m(r),t=!d&&!n&&!l&&h(r),s=d||n||l||t,c=s?g(r.length,String):[],p=c.length;for(var A in r)(o||i.call(r,A))&&!(s&&(A=="length"||l&&(A=="offset"||A=="parent")||t&&(A=="buffer"||A=="byteLength"||A=="byteOffset")||y(A,p)))&&c.push(A);return c}R.exports=a},b80e:function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("gKaM")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="DoubleLeftOutlined";var u=b.forwardRef(h);I.default=u},b9oc:function(R,I,e){var g=e("bYtY"),f=g.each,b="\0_ec_hist_store";function m(a,r){var o=i(a);f(r,function(d,n){for(var l=o.length-1;l>=0;l--){var t=o[l];if(t[n])break}if(l<0){var s=a.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(s){var c=s.getPercentRange();o[0][n]={dataZoomId:n,start:c[0],end:c[1]}}}}),o.push(r)}function y(a){var r=i(a),o=r[r.length-1];r.length>1&&r.pop();var d={};return f(o,function(n,l){for(var t=r.length-1;t>=0;t--){var n=r[t][l];if(n){d[l]=n;break}}}),d}function h(a){a[b]=null}function u(a){return i(a).length}function i(a){var r=a[b];return r||(r=a[b]=[{}]),r}I.push=m,I.pop=y,I.clear=h,I.count=u},bBKM:function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("ProS"),m=e("bYtY"),y=e("+rIm"),h=e("IwbS"),u=["axisLine","axisTickLabel","axisName"],i=b.extendComponentView({type:"radar",render:function(a,r,o){var d=this.group;d.removeAll(),this._buildAxes(a),this._buildSplitLineAndArea(a)},_buildAxes:function(a){var r=a.coordinateSystem,o=r.getIndicatorAxes(),d=m.map(o,function(n){var l=new y(n.model,{position:[r.cx,r.cy],rotation:n.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return l});m.each(d,function(n){m.each(u,n.add,n),this.group.add(n.getGroup())},this)},_buildSplitLineAndArea:function(a){var r=a.coordinateSystem,o=r.getIndicatorAxes();if(!o.length)return;var d=a.get("shape"),n=a.getModel("splitLine"),l=a.getModel("splitArea"),t=n.getModel("lineStyle"),s=l.getModel("areaStyle"),c=n.get("show"),p=l.get("show"),A=t.get("color"),w=s.get("color");A=m.isArray(A)?A:[A],w=m.isArray(w)?w:[w];var C=[],x=[];function E(H,j,k){var B=k%j.length;return H[B]=H[B]||[],B}if(d==="circle")for(var T=o[0].getTicksCoords(),_=r.cx,v=r.cy,S=0;S<T.length;S++){if(c){var O=E(C,A,S);C[O].push(new h.Circle({shape:{cx:_,cy:v,r:T[S].coord}}))}if(p&&S<T.length-1){var O=E(x,w,S);x[O].push(new h.Ring({shape:{cx:_,cy:v,r0:T[S].coord,r:T[S+1].coord}}))}}else for(var L,M=m.map(o,function(H,j){var k=H.getTicksCoords();return L=L==null?k.length-1:Math.min(k.length-1,L),m.map(k,function(B){return r.coordToPoint(B.coord,j)})}),F=[],S=0;S<=L;S++){for(var U=[],z=0;z<o.length;z++)U.push(M[z][S]);if(U[0]&&U.push(U[0].slice()),c){var O=E(C,A,S);C[O].push(new h.Polyline({shape:{points:U}}))}if(p&&F){var O=E(x,w,S-1);x[O].push(new h.Polygon({shape:{points:U.concat(F)}}))}F=U.slice().reverse()}var W=t.getLineStyle(),N=s.getAreaStyle();m.each(x,function(H,j){this.group.add(h.mergePath(H,{style:m.defaults({stroke:"none",fill:w[j%w.length]},N),silent:!0}))},this),m.each(C,function(H,j){this.group.add(h.mergePath(H,{style:m.defaults({fill:"none",stroke:A[j%A.length]},W),silent:!0}))},this)}});R.exports=i},bBL8:function(R,I,e){var g=e("ProS");e("LPzL"),e("rfSb"),e("JVwQ");var f=e("UnoB"),b=e("cbJ4"),m=e("0/Rx");g.registerLayout(f),g.registerVisual(b),g.registerProcessor(m("themeRiver"))},bE4E:function(R,I,e){},bE4q:function(R,I,e){"use strict";var g=e("pVnL"),f=e.n(g),b=e("lSNA"),m=e.n(b),y=e("RIqP"),h=e.n(y),u=e("q1tI"),i=e("TSYQ"),a=e.n(i),r=e("Zm9Q"),o=e("HQEm"),d=e.n(o),n=e("XBQK"),l=e("H84U"),t=function(F,U){var z={};for(var W in F)Object.prototype.hasOwnProperty.call(F,W)&&U.indexOf(W)<0&&(z[W]=F[W]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,W=Object.getOwnPropertySymbols(F);N<W.length;N++)U.indexOf(W[N])<0&&Object.prototype.propertyIsEnumerable.call(F,W[N])&&(z[W[N]]=F[W[N]]);return z},s=function(U){var z=U.prefixCls,W=U.separator,N=W===void 0?"/":W,H=U.children,j=U.overlay,k=U.dropdownProps,B=t(U,["prefixCls","separator","children","overlay","dropdownProps"]),V=u.useContext(l.b),K=V.getPrefixCls,Y=K("breadcrumb",z),Q=function(ye){return j?u.createElement(n.a,f()({overlay:j,placement:"bottomCenter"},k),u.createElement("span",{className:"".concat(Y,"-overlay-link")},ye,u.createElement(d.a,null))):ye},he;return"href"in B?he=u.createElement("a",f()({className:"".concat(Y,"-link")},B),H):he=u.createElement("span",f()({className:"".concat(Y,"-link")},B),H),he=Q(he),H?u.createElement("span",null,he,N&&N!==""&&u.createElement("span",{className:"".concat(Y,"-separator")},N)):null};s.__ANT_BREADCRUMB_ITEM=!0;var c=s,p=function(U){var z=U.children,W=u.useContext(l.b),N=W.getPrefixCls,H=N("breadcrumb");return u.createElement("span",{className:"".concat(H,"-separator")},z||"/")};p.__ANT_BREADCRUMB_SEPARATOR=!0;var A=p,w=e("BvKs"),C=e("uaoM"),x=e("0n0R"),E=function(F,U){var z={};for(var W in F)Object.prototype.hasOwnProperty.call(F,W)&&U.indexOf(W)<0&&(z[W]=F[W]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,W=Object.getOwnPropertySymbols(F);N<W.length;N++)U.indexOf(W[N])<0&&Object.prototype.propertyIsEnumerable.call(F,W[N])&&(z[W[N]]=F[W[N]]);return z};function T(F,U){if(!F.breadcrumbName)return null;var z=Object.keys(U).join("|"),W=F.breadcrumbName.replace(new RegExp(":(".concat(z,")"),"g"),function(N,H){return U[H]||N});return W}function _(F,U,z,W){var N=z.indexOf(F)===z.length-1,H=T(F,U);return N?u.createElement("span",null,H):u.createElement("a",{href:"#/".concat(W.join("/"))},H)}var v=function(U,z){return U=(U||"").replace(/^\//,""),Object.keys(z).forEach(function(W){U=U.replace(":".concat(W),z[W])}),U},S=function(U){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",W=arguments.length>2?arguments[2]:void 0,N=h()(U),H=v(z,W);return H&&N.push(H),N},O=function(U){var z=U.prefixCls,W=U.separator,N=W===void 0?"/":W,H=U.style,j=U.className,k=U.routes,B=U.children,V=U.itemRender,K=V===void 0?_:V,Y=U.params,Q=Y===void 0?{}:Y,he=E(U,["prefixCls","separator","style","className","routes","children","itemRender","params"]),G=u.useContext(l.b),ye=G.getPrefixCls,Ae=G.direction,ge,Pe=ye("breadcrumb",z);if(k&&k.length>0){var Re=[];ge=k.map(function(ne){var be=v(ne.path,Q);be&&Re.push(be);var at;return ne.children&&ne.children.length&&(at=u.createElement(w.a,null,ne.children.map(function(se){return u.createElement(w.a.Item,{key:se.path||se.breadcrumbName},K(se,Q,k,S(Re,se.path,Q)))}))),u.createElement(c,{overlay:at,separator:N,key:be||ne.breadcrumbName},K(ne,Q,k,Re))})}else B&&(ge=Object(r.a)(B).map(function(ne,be){return ne&&(Object(C.a)(ne.type&&(ne.type.__ANT_BREADCRUMB_ITEM===!0||ne.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(x.a)(ne,{separator:N,key:be}))}));var rt=a()(j,Pe,m()({},"".concat(Pe,"-rtl"),Ae==="rtl"));return u.createElement("div",f()({className:rt,style:H},he),ge)};O.Item=c,O.Separator=A;var L=O,M=I.a=L},bKJz:function(R,I,e){},bLfw:function(R,I,e){var g=e("bYtY"),f=e("Qxkt"),b=e("iRjW"),m=e("Yl7c"),y=m.enableClassManagement,h=m.parseClassType,u=e("4NO4"),i=u.makeInner,a=e("+TT/"),r=e("3hzK"),o=i(),d=f.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,s,c,p){f.call(this,t,s,c,p),this.uid=b.getUID("ec_cpt_model")},init:function(t,s,c,p){this.mergeDefaultAndTheme(t,c)},mergeDefaultAndTheme:function(t,s){var c=this.layoutMode,p=c?a.getLayoutParams(t):{},A=s.getTheme();g.merge(t,A.get(this.mainType)),g.merge(t,this.getDefaultOption()),c&&a.mergeLayoutParam(t,p,c)},mergeOption:function(t,s){g.merge(this.option,t,!0);var c=this.layoutMode;c&&a.mergeLayoutParam(this.option,t,c)},optionUpdated:function(t,s){},getDefaultOption:function(){var t=o(this);if(!t.defaultOption){for(var s=[],c=this.constructor;c;){var p=c.prototype.defaultOption;p&&s.push(p),c=c.superClass}for(var A={},w=s.length-1;w>=0;w--)A=g.merge(A,s[w],!0);t.defaultOption=A}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});y(d,{registerWhenExtend:!0}),b.enableSubTypeDefaulter(d),b.enableTopologicalTravel(d,n);function n(t){var s=[];return g.each(d.getClassesByMainType(t),function(c){s=s.concat(c.prototype.dependencies||[])}),s=g.map(s,function(c){return h(c).main}),t!=="dataset"&&g.indexOf(s,"dataset")<=0&&s.unshift("dataset"),s}g.mixin(d,r);var l=d;R.exports=l},bMXI:function(R,I,e){var g=e("bYtY"),f=e("QBsz"),b=e("Fofx"),m=e("mFDi"),y=e("DN4a"),h=f.applyTransform;function u(){y.call(this)}g.mixin(u,y);function i(o){this.name=o,this.zoomLimit,y.call(this),this._roamTransformable=new u,this._rawTransformable=new u,this._center,this._zoom}i.prototype={constructor:i,type:"view",dimensions:["x","y"],setBoundingRect:function(o,d,n,l){return this._rect=new m(o,d,n,l),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(o,d,n,l){this.transformTo(o,d,n,l),this._viewRect=new m(o,d,n,l)},transformTo:function(o,d,n,l){var t=this.getBoundingRect(),s=this._rawTransformable;s.transform=t.calculateTransform(new m(o,d,n,l)),s.decomposeTransform(),this._updateTransform()},setCenter:function(o){if(!o)return;this._center=o,this._updateCenterAndZoom()},setZoom:function(o){o=o||1;var d=this.zoomLimit;d&&(d.max!=null&&(o=Math.min(d.max,o)),d.min!=null&&(o=Math.max(d.min,o))),this._zoom=o,this._updateCenterAndZoom()},getDefaultCenter:function(){var o=this.getBoundingRect(),d=o.x+o.width/2,n=o.y+o.height/2;return[d,n]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var o=this._rawTransformable.getLocalTransform(),d=this._roamTransformable,n=this.getDefaultCenter(),l=this.getCenter(),t=this.getZoom();l=f.applyTransform([],l,o),n=f.applyTransform([],n,o),d.origin=l,d.position=[n[0]-l[0],n[1]-l[1]],d.scale=[t,t],this._updateTransform()},_updateTransform:function(){var o=this._roamTransformable,d=this._rawTransformable;d.parent=o,o.updateTransform(),d.updateTransform(),b.copy(this.transform||(this.transform=[]),d.transform||b.create()),this._rawTransform=d.getLocalTransform(),this.invTransform=this.invTransform||[],b.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var o=this._roamTransformable.transform,d=this._rawTransformable;return{roamTransform:o?g.slice(o):b.create(),rawScale:g.slice(d.scale),rawPosition:g.slice(d.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var o=this.getBoundingRect().clone();return o.applyTransform(this.transform),o},dataToPoint:function(o,d,n){var l=d?this._rawTransform:this.transform;return n=n||[],l?h(n,o,l):f.copy(n,o)},pointToData:function(o){var d=this.invTransform;return d?h([],o,d):[o[0],o[1]]},convertToPixel:g.curry(a,"dataToPoint"),convertFromPixel:g.curry(a,"pointToData"),containPoint:function(o){return this.getViewRectAfterRoam().contain(o[0],o[1])}},g.mixin(i,y);function a(o,d,n,l){var t=n.seriesModel,s=t?t.coordinateSystem:null;return s===this?s[o](l):null}var r=i;R.exports=r},bNin:function(R,I,e){var g=e("bYtY"),f=e("IwbS"),b=e("FBjb"),m=e("Itpr"),y=m.radialCoordinate,h=e("ProS"),u=e("4mN7"),i=e("bMXI"),a=e("Ae+d"),r=e("SgGq"),o=e("xSat"),d=o.onIrrelevantElement,n=e("Tghj"),l=n.__DEV__,t=e("OELB"),s=t.parsePercent,c=f.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(_,v){var S=v.childPoints,O=S.length,L=v.parentPoint,M=S[0],F=S[O-1];if(O===1){_.moveTo(L[0],L[1]),_.lineTo(M[0],M[1]);return}var U=v.orient,z=U==="TB"||U==="BT"?0:1,W=1-z,N=s(v.forkPosition,1),H=[];H[z]=L[z],H[W]=L[W]+(F[W]-L[W])*N,_.moveTo(L[0],L[1]),_.lineTo(H[0],H[1]),_.moveTo(M[0],M[1]),H[z]=M[z],_.lineTo(H[0],H[1]),H[z]=F[z],_.lineTo(H[0],H[1]),_.lineTo(F[0],F[1]);for(var j=1;j<O-1;j++){var k=S[j];_.moveTo(k[0],k[1]),H[z]=k[z],_.lineTo(H[0],H[1])}}}),p=h.extendChartView({type:"tree",init:function(_,v){this._oldTree,this._mainGroup=new f.Group,this._controller=new r(v.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(_,v,S,O){var L=_.getData(),M=_.layoutInfo,F=this._mainGroup,U=_.get("layout");U==="radial"?F.attr("position",[M.x+M.width/2,M.y+M.height/2]):F.attr("position",[M.x,M.y]),this._updateViewCoordSys(_,M,U),this._updateController(_,v,S);var z=this._data,W={expandAndCollapse:_.get("expandAndCollapse"),layout:U,edgeShape:_.get("edgeShape"),edgeForkPosition:_.get("edgeForkPosition"),orient:_.getOrient(),curvature:_.get("lineStyle.curveness"),symbolRotate:_.get("symbolRotate"),symbolOffset:_.get("symbolOffset"),hoverAnimation:_.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};L.diff(z).add(function(N){A(L,N)&&C(L,N,null,F,_,W)}).update(function(N,H){var j=z.getItemGraphicEl(H);if(!A(L,N)){j&&E(z,H,j,F,_,W);return}C(L,N,j,F,_,W)}).remove(function(N){var H=z.getItemGraphicEl(N);H&&E(z,N,H,F,_,W)}).execute(),this._nodeScaleRatio=_.get("nodeScaleRatio"),this._updateNodeAndLinkScale(_),W.expandAndCollapse===!0&&L.eachItemGraphicEl(function(N,H){N.off("click").on("click",function(){S.dispatchAction({type:"treeExpandAndCollapse",seriesId:_.id,dataIndex:H})})}),this._data=L},_updateViewCoordSys:function(_){var v=_.getData(),S=[];v.each(function(z){var W=v.getItemLayout(z);W&&!isNaN(W.x)&&!isNaN(W.y)&&S.push([+W.x,+W.y])});var O=[],L=[];u.fromPoints(S,O,L);var M=this._min,F=this._max;L[0]-O[0]===0&&(O[0]=M?M[0]:O[0]-1,L[0]=F?F[0]:L[0]+1),L[1]-O[1]===0&&(O[1]=M?M[1]:O[1]-1,L[1]=F?F[1]:L[1]+1);var U=_.coordinateSystem=new i;U.zoomLimit=_.get("scaleLimit"),U.setBoundingRect(O[0],O[1],L[0]-O[0],L[1]-O[1]),U.setCenter(_.get("center")),U.setZoom(_.get("zoom")),this.group.attr({position:U.position,scale:U.scale}),this._viewCoordSys=U,this._min=O,this._max=L},_updateController:function(_,v,S){var O=this._controller,L=this._controllerHost,M=this.group;O.setPointerChecker(function(F,U,z){var W=M.getBoundingRect();return W.applyTransform(M.transform),W.contain(U,z)&&!d(F,S,_)}),O.enable(_.get("roam")),L.zoomLimit=_.get("scaleLimit"),L.zoom=_.coordinateSystem.getZoom(),O.off("pan").off("zoom").on("pan",function(F){a.updateViewOnPan(L,F.dx,F.dy),S.dispatchAction({seriesId:_.id,type:"treeRoam",dx:F.dx,dy:F.dy})},this).on("zoom",function(F){a.updateViewOnZoom(L,F.scale,F.originX,F.originY),S.dispatchAction({seriesId:_.id,type:"treeRoam",zoom:F.scale,originX:F.originX,originY:F.originY}),this._updateNodeAndLinkScale(_)},this)},_updateNodeAndLinkScale:function(_){var v=_.getData(),S=this._getNodeGlobalScale(_),O=[S,S];v.eachItemGraphicEl(function(L,M){L.attr("scale",O)})},_getNodeGlobalScale:function(_){var v=_.coordinateSystem;if(v.type!=="view")return 1;var S=this._nodeScaleRatio,O=v.scale,L=O&&O[0]||1,M=v.getZoom(),F=(M-1)*S+1;return F/L},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function A(_,v){var S=_.getItemLayout(v);return S&&!isNaN(S.x)&&!isNaN(S.y)&&_.getItemVisual(v,"symbol")!=="none"}function w(_,v,S){return S.itemModel=v,S.itemStyle=v.getModel("itemStyle").getItemStyle(),S.hoverItemStyle=v.getModel("emphasis.itemStyle").getItemStyle(),S.lineStyle=v.getModel("lineStyle").getLineStyle(),S.labelModel=v.getModel("label"),S.hoverLabelModel=v.getModel("emphasis.label"),_.isExpand===!1&&_.children.length!==0?S.symbolInnerColor=S.itemStyle.fill:S.symbolInnerColor="#fff",S}function C(_,v,S,O,L,M){var F=!S,U=_.tree.getNodeByDataIndex(v),z=U.getModel(),M=w(U,z,M),W=_.tree.root,N=U.parentNode===W?U:U.parentNode||U,H=_.getItemGraphicEl(N.dataIndex),j=N.getLayout(),k=H?{x:H.position[0],y:H.position[1],rawX:H.__radialOldRawX,rawY:H.__radialOldRawY}:j,B=U.getLayout();F?(S=new b(_,v,M),S.attr("position",[k.x,k.y])):S.updateData(_,v,M),S.__radialOldRawX=S.__radialRawX,S.__radialOldRawY=S.__radialRawY,S.__radialRawX=B.rawX,S.__radialRawY=B.rawY,O.add(S),_.setItemGraphicEl(v,S),f.updateProps(S,{position:[B.x,B.y]},L);var V=S.getSymbolPath();if(M.layout==="radial"){var K=W.children[0],Y=K.getLayout(),Q=K.children.length,he,G;if(B.x===Y.x&&U.isExpand===!0){var ye={};ye.x=(K.children[0].getLayout().x+K.children[Q-1].getLayout().x)/2,ye.y=(K.children[0].getLayout().y+K.children[Q-1].getLayout().y)/2,he=Math.atan2(ye.y-Y.y,ye.x-Y.x),he<0&&(he=Math.PI*2+he),G=ye.x<Y.x,G&&(he=he-Math.PI)}else he=Math.atan2(B.y-Y.y,B.x-Y.x),he<0&&(he=Math.PI*2+he),U.children.length===0||U.children.length!==0&&U.isExpand===!1?(G=B.x<Y.x,G&&(he=he-Math.PI)):(G=B.x>Y.x,G||(he=he-Math.PI));var Ae=G?"left":"right",ge=M.labelModel.get("rotate"),Pe=ge*(Math.PI/180);V.setStyle({textPosition:M.labelModel.get("position")||Ae,textRotation:ge==null?-he:Pe,textOrigin:"center",verticalAlign:"middle"})}x(L,U,W,S,k,j,B,O,M)}function x(_,v,S,O,L,M,F,U,z){var W=z.edgeShape,N=O.__edge;if(W==="curve")v.parentNode&&v.parentNode!==S&&(N||(N=O.__edge=new f.BezierCurve({shape:T(z,L,L),style:g.defaults({opacity:0,strokeNoScale:!0},z.lineStyle)})),f.updateProps(N,{shape:T(z,M,F),style:{opacity:1}},_));else if(W==="polyline"&&(z.layout==="orthogonal"&&(v!==S&&v.children&&v.children.length!==0&&v.isExpand===!0))){for(var H=v.children,j=[],k=0;k<H.length;k++){var B=H[k].getLayout();j.push([B.x,B.y])}N||(N=O.__edge=new c({shape:{parentPoint:[F.x,F.y],childPoints:[[F.x,F.y]],orient:z.orient,forkPosition:z.edgeForkPosition},style:g.defaults({opacity:0,strokeNoScale:!0},z.lineStyle)})),f.updateProps(N,{shape:{parentPoint:[F.x,F.y],childPoints:j},style:{opacity:1}},_)}U.add(N)}function E(_,v,S,O,L,M){for(var F=_.tree.getNodeByDataIndex(v),U=_.tree.root,z=F.getModel(),M=w(F,z,M),W=F.parentNode===U?F:F.parentNode||F,N=M.edgeShape,H;H=W.getLayout(),H==null;)W=W.parentNode===U?W:W.parentNode||W;f.updateProps(S,{position:[H.x+1,H.y+1]},L,function(){O.remove(S),_.setItemGraphicEl(v,null)}),S.fadeOut(null,{keepLabel:!0});var j=_.getItemGraphicEl(W.dataIndex),k=j.__edge,B=S.__edge||(W.isExpand===!1||W.children.length===1?k:void 0),N=M.edgeShape;B&&(N==="curve"?f.updateProps(B,{shape:T(M,H,H),style:{opacity:0}},L,function(){O.remove(B)}):N==="polyline"&&M.layout==="orthogonal"&&f.updateProps(B,{shape:{parentPoint:[H.x,H.y],childPoints:[[H.x,H.y]]},style:{opacity:0}},L,function(){O.remove(B)}))}function T(_,v,S){var O,L,M,F,U=_.orient,z,W,N,H;if(_.layout==="radial"){z=v.rawX,N=v.rawY,W=S.rawX,H=S.rawY;var j=y(z,N),k=y(z,N+(H-N)*_.curvature),B=y(W,H+(N-H)*_.curvature),V=y(W,H);return{x1:j.x,y1:j.y,x2:V.x,y2:V.y,cpx1:k.x,cpy1:k.y,cpx2:B.x,cpy2:B.y}}else z=v.x,N=v.y,W=S.x,H=S.y,(U==="LR"||U==="RL")&&(O=z+(W-z)*_.curvature,L=N,M=W+(z-W)*_.curvature,F=H),(U==="TB"||U==="BT")&&(O=z,L=N+(H-N)*_.curvature,M=W,F=H+(N-H)*_.curvature);return{x1:z,y1:N,x2:W,y2:H,cpx1:O,cpy1:L,cpx2:M,cpy2:F}}R.exports=p},bRQS:function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="CheckOutlined";var h=I.a=g.forwardRef(y)},bX4T:function(R,I,e){"use strict";e.d(I,"a",function(){return u});var g=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,f=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,b="".concat(g," ").concat(f).split(/[\s\n]+/),m="aria-",y="data-";function h(i,a){return i.indexOf(a)===0}function u(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r={};return Object.keys(i).forEach(function(o){(h(o,m)||!a&&(b.includes(o)||h(o,y)))&&(r[o]=i[o])}),r}},bYtY:function(R,I){var e={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},g={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},f=Object.prototype.toString,b=Array.prototype,m=b.forEach,y=b.filter,h=b.slice,u=b.map,i=b.reduce,a={};function r(ne,be){ne==="createCanvas"&&(c=null),a[ne]=be}function o(ne){if(ne==null||typeof ne!="object")return ne;var be=ne,at=f.call(ne);if(at==="[object Array]"){if(!Ae(ne)){be=[];for(var se=0,q=ne.length;se<q;se++)be[se]=o(ne[se])}}else if(g[at]){if(!Ae(ne)){var X=ne.constructor;if(ne.constructor.from)be=X.from(ne);else{be=new X(ne.length);for(var se=0,q=ne.length;se<q;se++)be[se]=o(ne[se])}}}else if(!e[at]&&!Ae(ne)&&!H(ne)){be={};for(var Z in ne)ne.hasOwnProperty(Z)&&(be[Z]=o(ne[Z]))}return be}function d(ne,be,at){if(!z(be)||!z(ne))return at?o(be):ne;for(var se in be)if(be.hasOwnProperty(se)){var q=ne[se],X=be[se];z(X)&&z(q)&&!M(X)&&!M(q)&&!H(X)&&!H(q)&&!W(X)&&!W(q)&&!Ae(X)&&!Ae(q)?d(q,X,at):(at||!(se in ne))&&(ne[se]=o(be[se],!0))}return ne}function n(ne,be){for(var at=ne[0],se=1,q=ne.length;se<q;se++)at=d(at,ne[se],be);return at}function l(ne,be){for(var at in be)be.hasOwnProperty(at)&&(ne[at]=be[at]);return ne}function t(ne,be,at){for(var se in be)be.hasOwnProperty(se)&&(at?be[se]!=null:ne[se]==null)&&(ne[se]=be[se]);return ne}var s=function(){return a.createCanvas()};a.createCanvas=function(){return document.createElement("canvas")};var c;function p(){return c||(c=s().getContext("2d")),c}function A(ne,be){if(ne){if(ne.indexOf)return ne.indexOf(be);for(var at=0,se=ne.length;at<se;at++)if(ne[at]===be)return at}return-1}function w(ne,be){var at=ne.prototype;function se(){}se.prototype=be.prototype,ne.prototype=new se;for(var q in at)at.hasOwnProperty(q)&&(ne.prototype[q]=at[q]);ne.prototype.constructor=ne,ne.superClass=be}function C(ne,be,at){ne="prototype"in ne?ne.prototype:ne,be="prototype"in be?be.prototype:be,t(ne,be,at)}function x(ne){return ne?typeof ne=="string"?!1:typeof ne.length=="number":void 0}function E(ne,be,at){if(!(ne&&be))return;if(ne.forEach&&ne.forEach===m)ne.forEach(be,at);else if(ne.length===+ne.length)for(var se=0,q=ne.length;se<q;se++)be.call(at,ne[se],se,ne);else for(var X in ne)ne.hasOwnProperty(X)&&be.call(at,ne[X],X,ne)}function T(ne,be,at){if(!(ne&&be))return;if(ne.map&&ne.map===u)return ne.map(be,at);for(var se=[],q=0,X=ne.length;q<X;q++)se.push(be.call(at,ne[q],q,ne));return se}function _(ne,be,at,se){if(!(ne&&be))return;if(ne.reduce&&ne.reduce===i)return ne.reduce(be,at,se);for(var q=0,X=ne.length;q<X;q++)at=be.call(se,at,ne[q],q,ne);return at}function v(ne,be,at){if(!(ne&&be))return;if(ne.filter&&ne.filter===y)return ne.filter(be,at);for(var se=[],q=0,X=ne.length;q<X;q++)be.call(at,ne[q],q,ne)&&se.push(ne[q]);return se}function S(ne,be,at){if(!(ne&&be))return;for(var se=0,q=ne.length;se<q;se++)if(be.call(at,ne[se],se,ne))return ne[se]}function O(ne,be){var at=h.call(arguments,2);return function(){return ne.apply(be,at.concat(h.call(arguments)))}}function L(ne){var be=h.call(arguments,1);return function(){return ne.apply(this,be.concat(h.call(arguments)))}}function M(ne){return f.call(ne)==="[object Array]"}function F(ne){return typeof ne=="function"}function U(ne){return f.call(ne)==="[object String]"}function z(ne){var be=typeof ne;return be==="function"||!!ne&&be==="object"}function W(ne){return!!e[f.call(ne)]}function N(ne){return!!g[f.call(ne)]}function H(ne){return typeof ne=="object"&&typeof ne.nodeType=="number"&&typeof ne.ownerDocument=="object"}function j(ne){return ne!==ne}function k(ne){for(var be=0,at=arguments.length;be<at;be++)if(arguments[be]!=null)return arguments[be]}function B(ne,be){return ne!=null?ne:be}function V(ne,be,at){return ne!=null?ne:be!=null?be:at}function K(){return Function.call.apply(h,arguments)}function Y(ne){if(typeof ne=="number")return[ne,ne,ne,ne];var be=ne.length;return be===2?[ne[0],ne[1],ne[0],ne[1]]:be===3?[ne[0],ne[1],ne[2],ne[1]]:ne}function Q(ne,be){if(!ne)throw new Error(be)}function he(ne){return ne==null?null:typeof ne.trim=="function"?ne.trim():ne.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var G="__ec_primitive__";function ye(ne){ne[G]=!0}function Ae(ne){return ne[G]}function ge(ne){var be=M(ne);this.data={};var at=this;ne instanceof ge?ne.each(se):ne&&E(ne,se);function se(q,X){be?at.set(q,X):at.set(X,q)}}ge.prototype={constructor:ge,get:function(be){return this.data.hasOwnProperty(be)?this.data[be]:null},set:function(be,at){return this.data[be]=at},each:function(be,at){at!==void 0&&(be=O(be,at));for(var se in this.data)this.data.hasOwnProperty(se)&&be(this.data[se],se)},removeKey:function(be){delete this.data[be]}};function Pe(ne){return new ge(ne)}function Re(ne,be){for(var at=new ne.constructor(ne.length+be.length),se=0;se<ne.length;se++)at[se]=ne[se];var q=ne.length;for(se=0;se<be.length;se++)at[se+q]=be[se];return at}function rt(){}I.$override=r,I.clone=o,I.merge=d,I.mergeAll=n,I.extend=l,I.defaults=t,I.createCanvas=s,I.getContext=p,I.indexOf=A,I.inherits=w,I.mixin=C,I.isArrayLike=x,I.each=E,I.map=T,I.reduce=_,I.filter=v,I.find=S,I.bind=O,I.curry=L,I.isArray=M,I.isFunction=F,I.isString=U,I.isObject=z,I.isBuiltInObject=W,I.isTypedArray=N,I.isDom=H,I.eqNaN=j,I.retrieve=k,I.retrieve2=B,I.retrieve3=V,I.slice=K,I.normalizeCssArray=Y,I.assert=Q,I.trim=he,I.setAsPrimitive=ye,I.isPrimitive=Ae,I.createHashMap=Pe,I.concatArray=Re,I.noop=rt},bZqE:function(R,I){function e(f,b,m){for(var y=[f],h=[],u;u=y.pop();)if(h.push(u),u.isExpand){var i=u.children;if(i.length)for(var a=0;a<i.length;a++)y.push(i[a])}for(;u=h.pop();)b(u,m)}function g(f,b){for(var m=[f],y;y=m.pop();)if(b(y),y.isExpand){var h=y.children;if(h.length)for(var u=h.length-1;u>=0;u--)m.push(h[u])}}I.eachAfter=e,I.eachBefore=g},bahg:function(R,I){function e(g){return g.split("")}R.exports=e},bbsP:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("CWI+"),m=e.n(b)},bogI:function(R,I,e){"use strict";e.d(I,"a",function(){return g});var g=function(b){if(!b)return null;var m=typeof b=="function";return m?b():b}},bsht:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};I.default=g},bx4M:function(R,I,e){"use strict";var g=e("lSNA"),f=e.n(g),b=e("pVnL"),m=e.n(b),y=e("q1tI"),h=e("TSYQ"),u=e.n(h),i=e("BGR+"),a=e("H84U"),r=function(T,_){var v={};for(var S in T)Object.prototype.hasOwnProperty.call(T,S)&&_.indexOf(S)<0&&(v[S]=T[S]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,S=Object.getOwnPropertySymbols(T);O<S.length;O++)_.indexOf(S[O])<0&&Object.prototype.propertyIsEnumerable.call(T,S[O])&&(v[S[O]]=T[S[O]]);return v},o=function(_){return y.createElement(a.a,null,function(v){var S=v.getPrefixCls,O=_.prefixCls,L=_.className,M=_.hoverable,F=M===void 0?!0:M,U=r(_,["prefixCls","className","hoverable"]),z=S("card",O),W=u()("".concat(z,"-grid"),L,f()({},"".concat(z,"-grid-hoverable"),F));return y.createElement("div",m()({},U,{className:W}))})},d=o,n=function(T,_){var v={};for(var S in T)Object.prototype.hasOwnProperty.call(T,S)&&_.indexOf(S)<0&&(v[S]=T[S]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,S=Object.getOwnPropertySymbols(T);O<S.length;O++)_.indexOf(S[O])<0&&Object.prototype.propertyIsEnumerable.call(T,S[O])&&(v[S[O]]=T[S[O]]);return v},l=function(_){return y.createElement(a.a,null,function(v){var S=v.getPrefixCls,O=_.prefixCls,L=_.className,M=_.avatar,F=_.title,U=_.description,z=n(_,["prefixCls","className","avatar","title","description"]),W=S("card",O),N=u()("".concat(W,"-meta"),L),H=M?y.createElement("div",{className:"".concat(W,"-meta-avatar")},M):null,j=F?y.createElement("div",{className:"".concat(W,"-meta-title")},F):null,k=U?y.createElement("div",{className:"".concat(W,"-meta-description")},U):null,B=j||k?y.createElement("div",{className:"".concat(W,"-meta-detail")},j,k):null;return y.createElement("div",m()({},z,{className:N}),H,B)})},t=l,s=e("ZTPi"),c=e("BMrR"),p=e("kPKH"),A=e("3Nzz"),w=function(T,_){var v={};for(var S in T)Object.prototype.hasOwnProperty.call(T,S)&&_.indexOf(S)<0&&(v[S]=T[S]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,S=Object.getOwnPropertySymbols(T);O<S.length;O++)_.indexOf(S[O])<0&&Object.prototype.propertyIsEnumerable.call(T,S[O])&&(v[S[O]]=T[S[O]]);return v};function C(T){var _=T.map(function(v,S){return y.createElement("li",{style:{width:"".concat(100/T.length,"%")},key:"action-".concat(S)},y.createElement("span",null,v))});return _}var x=function(_){var v,S,O=y.useContext(a.b),L=O.getPrefixCls,M=O.direction,F=y.useContext(A.b),U=function(Xe){_.onTabChange&&_.onTabChange(Xe)},z=function(){var Xe;return y.Children.forEach(_.children,function(Je){Je&&Je.type&&Je.type===d&&(Xe=!0)}),Xe},W=_.prefixCls,N=_.className,H=_.extra,j=_.headStyle,k=j===void 0?{}:j,B=_.bodyStyle,V=B===void 0?{}:B,K=_.title,Y=_.loading,Q=_.bordered,he=Q===void 0?!0:Q,G=_.size,ye=_.type,Ae=_.cover,ge=_.actions,Pe=_.tabList,Re=_.children,rt=_.activeTabKey,ne=_.defaultActiveTabKey,be=_.tabBarExtraContent,at=_.hoverable,se=_.tabProps,q=se===void 0?{}:se,X=w(_,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),Z=L("card",W),pe=V.padding===0||V.padding==="0px"?{padding:24}:void 0,oe=y.createElement("div",{className:"".concat(Z,"-loading-block")}),Ie=y.createElement("div",{className:"".concat(Z,"-loading-content"),style:pe},y.createElement(c.a,{gutter:8},y.createElement(p.a,{span:22},oe)),y.createElement(c.a,{gutter:8},y.createElement(p.a,{span:8},oe),y.createElement(p.a,{span:15},oe)),y.createElement(c.a,{gutter:8},y.createElement(p.a,{span:6},oe),y.createElement(p.a,{span:18},oe)),y.createElement(c.a,{gutter:8},y.createElement(p.a,{span:13},oe),y.createElement(p.a,{span:9},oe)),y.createElement(c.a,{gutter:8},y.createElement(p.a,{span:4},oe),y.createElement(p.a,{span:3},oe),y.createElement(p.a,{span:16},oe))),fe=rt!==void 0,te=m()(m()({},q),(v={},f()(v,fe?"activeKey":"defaultActiveKey",fe?rt:ne),f()(v,"tabBarExtraContent",be),v)),J,ve=Pe&&Pe.length?y.createElement(s.a,m()({size:"large"},te,{className:"".concat(Z,"-head-tabs"),onChange:U}),Pe.map(function(st){return y.createElement(s.a.TabPane,{tab:st.tab,disabled:st.disabled,key:st.key})})):null;(K||H||ve)&&(J=y.createElement("div",{className:"".concat(Z,"-head"),style:k},y.createElement("div",{className:"".concat(Z,"-head-wrapper")},K&&y.createElement("div",{className:"".concat(Z,"-head-title")},K),H&&y.createElement("div",{className:"".concat(Z,"-extra")},H)),ve));var De=Ae?y.createElement("div",{className:"".concat(Z,"-cover")},Ae):null,ze=y.createElement("div",{className:"".concat(Z,"-body"),style:V},Y?Ie:Re),dt=ge&&ge.length?y.createElement("ul",{className:"".concat(Z,"-actions")},C(ge)):null,Me=Object(i.default)(X,["onTabChange"]),Tt=G||F,je=u()(Z,N,(S={},f()(S,"".concat(Z,"-loading"),Y),f()(S,"".concat(Z,"-bordered"),he),f()(S,"".concat(Z,"-hoverable"),at),f()(S,"".concat(Z,"-contain-grid"),z()),f()(S,"".concat(Z,"-contain-tabs"),Pe&&Pe.length),f()(S,"".concat(Z,"-").concat(Tt),Tt),f()(S,"".concat(Z,"-type-").concat(ye),!!ye),f()(S,"".concat(Z,"-rtl"),M==="rtl"),S));return y.createElement("div",m()({},Me,{className:je}),J,De,ze,dt)};x.Grid=d,x.Meta=t;var E=I.a=x},c2i1:function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("bYtY"),m=e("Yl7c"),y=m.enableClassCheck;function h(n){return"_EC_"+n}var u=function(n){this._directed=n||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},i=u.prototype;i.type="graph",i.isDirected=function(){return this._directed},i.addNode=function(n,l){n=n==null?""+l:""+n;var t=this._nodesMap;if(t[h(n)])return;var s=new a(n,l);return s.hostGraph=this,this.nodes.push(s),t[h(n)]=s,s},i.getNodeByIndex=function(n){var l=this.data.getRawIndex(n);return this.nodes[l]},i.getNodeById=function(n){return this._nodesMap[h(n)]},i.addEdge=function(n,l,t){var s=this._nodesMap,c=this._edgesMap;if(typeof n=="number"&&(n=this.nodes[n]),typeof l=="number"&&(l=this.nodes[l]),a.isInstance(n)||(n=s[h(n)]),a.isInstance(l)||(l=s[h(l)]),!n||!l)return;var p=n.id+"-"+l.id;if(c[p])return;var A=new r(n,l,t);return A.hostGraph=this,this._directed&&(n.outEdges.push(A),l.inEdges.push(A)),n.edges.push(A),n!==l&&l.edges.push(A),this.edges.push(A),c[p]=A,A},i.getEdgeByIndex=function(n){var l=this.edgeData.getRawIndex(n);return this.edges[l]},i.getEdge=function(n,l){a.isInstance(n)&&(n=n.id),a.isInstance(l)&&(l=l.id);var t=this._edgesMap;return this._directed?t[n+"-"+l]:t[n+"-"+l]||t[l+"-"+n]},i.eachNode=function(n,l){for(var t=this.nodes,s=t.length,c=0;c<s;c++)t[c].dataIndex>=0&&n.call(l,t[c],c)},i.eachEdge=function(n,l){for(var t=this.edges,s=t.length,c=0;c<s;c++)t[c].dataIndex>=0&&t[c].node1.dataIndex>=0&&t[c].node2.dataIndex>=0&&n.call(l,t[c],c)},i.breadthFirstTraverse=function(n,l,t,s){if(a.isInstance(l)||(l=this._nodesMap[h(l)]),!l)return;for(var c=t==="out"?"outEdges":t==="in"?"inEdges":"edges",p=0;p<this.nodes.length;p++)this.nodes[p].__visited=!1;if(n.call(s,l,null))return;for(var A=[l];A.length;)for(var w=A.shift(),C=w[c],p=0;p<C.length;p++){var x=C[p],E=x.node1===w?x.node2:x.node1;if(!E.__visited){if(n.call(s,E,w))return;A.push(E),E.__visited=!0}}},i.update=function(){for(var n=this.data,l=this.edgeData,t=this.nodes,s=this.edges,c=0,p=t.length;c<p;c++)t[c].dataIndex=-1;for(var c=0,p=n.count();c<p;c++)t[n.getRawIndex(c)].dataIndex=c;l.filterSelf(function(A){var w=s[l.getRawIndex(A)];return w.node1.dataIndex>=0&&w.node2.dataIndex>=0});for(var c=0,p=s.length;c<p;c++)s[c].dataIndex=-1;for(var c=0,p=l.count();c<p;c++)s[l.getRawIndex(c)].dataIndex=c},i.clone=function(){for(var n=new u(this._directed),l=this.nodes,t=this.edges,s=0;s<l.length;s++)n.addNode(l[s].id,l[s].dataIndex);for(var s=0;s<t.length;s++){var c=t[s];n.addEdge(c.node1.id,c.node2.id,c.dataIndex)}return n};function a(n,l){this.id=n==null?"":n,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=l==null?-1:l}a.prototype={constructor:a,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(n){if(this.dataIndex<0)return;var l=this.hostGraph,t=l.data.getItemModel(this.dataIndex);return t.getModel(n)}};function r(n,l,t){this.node1=n,this.node2=l,this.dataIndex=t==null?-1:t}r.prototype.getModel=function(n){if(this.dataIndex<0)return;var l=this.hostGraph,t=l.edgeData.getItemModel(this.dataIndex);return t.getModel(n)};var o=function(n,l){return{getValue:function(t){var s=this[n][l];return s.get(s.getDimension(t||"value"),this.dataIndex)},setVisual:function(t,s){this.dataIndex>=0&&this[n][l].setItemVisual(this.dataIndex,t,s)},getVisual:function(t,s){return this[n][l].getItemVisual(this.dataIndex,t,s)},setLayout:function(t,s){this.dataIndex>=0&&this[n][l].setItemLayout(this.dataIndex,t,s)},getLayout:function(){return this[n][l].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[n][l].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[n][l].getRawIndex(this.dataIndex)}}};b.mixin(a,o("hostGraph","data")),b.mixin(r,o("hostGraph","edgeData")),u.Node=a,u.Edge=r,y(a),y(r);var d=u;R.exports=d},c5Ni:function(R,I,e){},c5fP:function(R,I,e){"use strict";function g(je){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(Xe){return typeof Xe}:g=function(Xe){return Xe&&typeof Symbol=="function"&&Xe.constructor===Symbol&&Xe!==Symbol.prototype?"symbol":typeof Xe},g(je)}Object.defineProperty(I,"__esModule",{value:!0}),I._tr_init=De,I._tr_stored_block=ze,I._tr_flush_block=Me,I._tr_tally=Tt,I._tr_align=dt;var f=m(e("6BzB"));function b(){if(typeof WeakMap!="function")return null;var je=new WeakMap;return b=function(){return je},je}function m(je){if(je&&je.__esModule)return je;if(je===null||g(je)!=="object"&&typeof je!="function")return{default:je};var st=b();if(st&&st.has(je))return st.get(je);var Xe={},Je=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var et in je)if(Object.prototype.hasOwnProperty.call(je,et)){var ot=Je?Object.getOwnPropertyDescriptor(je,et):null;ot&&(ot.get||ot.set)?Object.defineProperty(Xe,et,ot):Xe[et]=je[et]}return Xe.default=je,st&&st.set(je,Xe),Xe}var y=4,h=0,u=1,i=2;function a(je){for(var st=je.length;--st>=0;)je[st]=0}var r=0,o=1,d=2,n=3,l=258,t=29,s=256,c=s+1+t,p=30,A=19,w=2*c+1,C=15,x=16,E=7,T=256,_=16,v=17,S=18,O=[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],L=[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],M=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],F=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],U=512,z=new Array((c+2)*2);a(z);var W=new Array(p*2);a(W);var N=new Array(U);a(N);var H=new Array(l-n+1);a(H);var j=new Array(t);a(j);var k=new Array(p);a(k);function B(je,st,Xe,Je,et){this.static_tree=je,this.extra_bits=st,this.extra_base=Xe,this.elems=Je,this.max_length=et,this.has_stree=je&&je.length}var V,K,Y;function Q(je,st){this.dyn_tree=je,this.max_code=0,this.stat_desc=st}function he(je){return je<256?N[je]:N[256+(je>>>7)]}function G(je,st){je.pending_buf[je.pending++]=st&255,je.pending_buf[je.pending++]=st>>>8&255}function ye(je,st,Xe){je.bi_valid>x-Xe?(je.bi_buf|=st<<je.bi_valid&65535,G(je,je.bi_buf),je.bi_buf=st>>x-je.bi_valid,je.bi_valid+=Xe-x):(je.bi_buf|=st<<je.bi_valid&65535,je.bi_valid+=Xe)}function Ae(je,st,Xe){ye(je,Xe[st*2],Xe[st*2+1])}function ge(je,st){var Xe=0;do Xe|=je&1,je>>>=1,Xe<<=1;while(--st>0);return Xe>>>1}function Pe(je){je.bi_valid===16?(G(je,je.bi_buf),je.bi_buf=0,je.bi_valid=0):je.bi_valid>=8&&(je.pending_buf[je.pending++]=je.bi_buf&255,je.bi_buf>>=8,je.bi_valid-=8)}function Re(je,st){var Xe=st.dyn_tree,Je=st.max_code,et=st.stat_desc.static_tree,ot=st.stat_desc.has_stree,Ve=st.stat_desc.extra_bits,ue=st.stat_desc.extra_base,ae=st.stat_desc.max_length,lt,Ze,Te,Jt,mt,ft,bt=0;for(Jt=0;Jt<=C;Jt++)je.bl_count[Jt]=0;for(Xe[je.heap[je.heap_max]*2+1]=0,lt=je.heap_max+1;lt<w;lt++){if(Ze=je.heap[lt],Jt=Xe[Xe[Ze*2+1]*2+1]+1,Jt>ae&&(Jt=ae,bt++),Xe[Ze*2+1]=Jt,Ze>Je)continue;je.bl_count[Jt]++,mt=0,Ze>=ue&&(mt=Ve[Ze-ue]),ft=Xe[Ze*2],je.opt_len+=ft*(Jt+mt),ot&&(je.static_len+=ft*(et[Ze*2+1]+mt))}if(bt===0)return;do{for(Jt=ae-1;je.bl_count[Jt]===0;)Jt--;je.bl_count[Jt]--,je.bl_count[Jt+1]+=2,je.bl_count[ae]--,bt-=2}while(bt>0);for(Jt=ae;Jt!==0;Jt--)for(Ze=je.bl_count[Jt];Ze!==0;){if(Te=je.heap[--lt],Te>Je)continue;Xe[Te*2+1]!==Jt&&(je.opt_len+=(Jt-Xe[Te*2+1])*Xe[Te*2],Xe[Te*2+1]=Jt),Ze--}}function rt(je,st,Xe){var Je=new Array(C+1),et=0,ot,Ve;for(ot=1;ot<=C;ot++)Je[ot]=et=et+Xe[ot-1]<<1;for(Ve=0;Ve<=st;Ve++){var ue=je[Ve*2+1];if(ue===0)continue;je[Ve*2]=ge(Je[ue]++,ue)}}function ne(){var je,st,Xe,Je,et,ot=new Array(C+1);for(Xe=0,Je=0;Je<t-1;Je++)for(j[Je]=Xe,je=0;je<1<<O[Je];je++)H[Xe++]=Je;for(H[Xe-1]=Je,et=0,Je=0;Je<16;Je++)for(k[Je]=et,je=0;je<1<<L[Je];je++)N[et++]=Je;for(et>>=7;Je<p;Je++)for(k[Je]=et<<7,je=0;je<1<<L[Je]-7;je++)N[256+et++]=Je;for(st=0;st<=C;st++)ot[st]=0;for(je=0;je<=143;)z[je*2+1]=8,je++,ot[8]++;for(;je<=255;)z[je*2+1]=9,je++,ot[9]++;for(;je<=279;)z[je*2+1]=7,je++,ot[7]++;for(;je<=287;)z[je*2+1]=8,je++,ot[8]++;for(rt(z,c+1,ot),je=0;je<p;je++)W[je*2+1]=5,W[je*2]=ge(je,5);V=new B(z,O,s+1,c,C),K=new B(W,L,0,p,C),Y=new B(new Array(0),M,0,A,E)}function be(je){var st;for(st=0;st<c;st++)je.dyn_ltree[st*2]=0;for(st=0;st<p;st++)je.dyn_dtree[st*2]=0;for(st=0;st<A;st++)je.bl_tree[st*2]=0;je.dyn_ltree[T*2]=1,je.opt_len=je.static_len=0,je.last_lit=je.matches=0}function at(je){je.bi_valid>8?G(je,je.bi_buf):je.bi_valid>0&&(je.pending_buf[je.pending++]=je.bi_buf),je.bi_buf=0,je.bi_valid=0}function se(je,st,Xe,Je){at(je),Je&&(G(je,Xe),G(je,~Xe)),f.arraySet(je.pending_buf,je.window,st,Xe,je.pending),je.pending+=Xe}function q(je,st,Xe,Je){var et=st*2,ot=Xe*2;return je[et]<je[ot]||je[et]===je[ot]&&Je[st]<=Je[Xe]}function X(je,st,Xe){for(var Je=je.heap[Xe],et=Xe<<1;et<=je.heap_len&&!(et<je.heap_len&&q(st,je.heap[et+1],je.heap[et],je.depth)&&et++,q(st,Je,je.heap[et],je.depth));)je.heap[Xe]=je.heap[et],Xe=et,et<<=1;je.heap[Xe]=Je}function Z(je,st,Xe){var Je,et,ot=0,Ve,ue;if(je.last_lit!==0)do Je=je.pending_buf[je.d_buf+ot*2]<<8|je.pending_buf[je.d_buf+ot*2+1],et=je.pending_buf[je.l_buf+ot],ot++,Je===0?Ae(je,et,st):(Ve=H[et],Ae(je,Ve+s+1,st),ue=O[Ve],ue!==0&&(et-=j[Ve],ye(je,et,ue)),Je--,Ve=he(Je),Ae(je,Ve,Xe),ue=L[Ve],ue!==0&&(Je-=k[Ve],ye(je,Je,ue)));while(ot<je.last_lit);Ae(je,T,st)}function pe(je,st){var Xe=st.dyn_tree,Je=st.stat_desc.static_tree,et=st.stat_desc.has_stree,ot=st.stat_desc.elems,Ve,ue,ae=-1,lt;for(je.heap_len=0,je.heap_max=w,Ve=0;Ve<ot;Ve++)Xe[Ve*2]!==0?(je.heap[++je.heap_len]=ae=Ve,je.depth[Ve]=0):Xe[Ve*2+1]=0;for(;je.heap_len<2;)lt=je.heap[++je.heap_len]=ae<2?++ae:0,Xe[lt*2]=1,je.depth[lt]=0,je.opt_len--,et&&(je.static_len-=Je[lt*2+1]);for(st.max_code=ae,Ve=je.heap_len>>1;Ve>=1;Ve--)X(je,Xe,Ve);lt=ot;do Ve=je.heap[1],je.heap[1]=je.heap[je.heap_len--],X(je,Xe,1),ue=je.heap[1],je.heap[--je.heap_max]=Ve,je.heap[--je.heap_max]=ue,Xe[lt*2]=Xe[Ve*2]+Xe[ue*2],je.depth[lt]=(je.depth[Ve]>=je.depth[ue]?je.depth[Ve]:je.depth[ue])+1,Xe[Ve*2+1]=Xe[ue*2+1]=lt,je.heap[1]=lt++,X(je,Xe,1);while(je.heap_len>=2);je.heap[--je.heap_max]=je.heap[1],Re(je,st),rt(Xe,ae,je.bl_count)}function oe(je,st,Xe){var Je,et=-1,ot,Ve=st[0*2+1],ue=0,ae=7,lt=4;for(Ve===0&&(ae=138,lt=3),st[(Xe+1)*2+1]=65535,Je=0;Je<=Xe;Je++){if(ot=Ve,Ve=st[(Je+1)*2+1],++ue<ae&&ot===Ve)continue;ue<lt?je.bl_tree[ot*2]+=ue:ot!==0?(ot!==et&&je.bl_tree[ot*2]++,je.bl_tree[_*2]++):ue<=10?je.bl_tree[v*2]++:je.bl_tree[S*2]++,ue=0,et=ot,Ve===0?(ae=138,lt=3):ot===Ve?(ae=6,lt=3):(ae=7,lt=4)}}function Ie(je,st,Xe){var Je,et=-1,ot,Ve=st[0*2+1],ue=0,ae=7,lt=4;for(Ve===0&&(ae=138,lt=3),Je=0;Je<=Xe;Je++){if(ot=Ve,Ve=st[(Je+1)*2+1],++ue<ae&&ot===Ve)continue;if(ue<lt)do Ae(je,ot,je.bl_tree);while(--ue!==0);else ot!==0?(ot!==et&&(Ae(je,ot,je.bl_tree),ue--),Ae(je,_,je.bl_tree),ye(je,ue-3,2)):ue<=10?(Ae(je,v,je.bl_tree),ye(je,ue-3,3)):(Ae(je,S,je.bl_tree),ye(je,ue-11,7));ue=0,et=ot,Ve===0?(ae=138,lt=3):ot===Ve?(ae=6,lt=3):(ae=7,lt=4)}}function fe(je){var st;for(oe(je,je.dyn_ltree,je.l_desc.max_code),oe(je,je.dyn_dtree,je.d_desc.max_code),pe(je,je.bl_desc),st=A-1;st>=3&&!(je.bl_tree[F[st]*2+1]!==0);st--);return je.opt_len+=3*(st+1)+5+5+4,st}function te(je,st,Xe,Je){var et;for(ye(je,st-257,5),ye(je,Xe-1,5),ye(je,Je-4,4),et=0;et<Je;et++)ye(je,je.bl_tree[F[et]*2+1],3);Ie(je,je.dyn_ltree,st-1),Ie(je,je.dyn_dtree,Xe-1)}function J(je){var st=4093624447,Xe;for(Xe=0;Xe<=31;Xe++,st>>>=1)if(st&1&&je.dyn_ltree[Xe*2]!==0)return h;if(je.dyn_ltree[9*2]!==0||je.dyn_ltree[10*2]!==0||je.dyn_ltree[13*2]!==0)return u;for(Xe=32;Xe<s;Xe++)if(je.dyn_ltree[Xe*2]!==0)return u;return h}var ve=!1;function De(je){ve||(ne(),ve=!0),je.l_desc=new Q(je.dyn_ltree,V),je.d_desc=new Q(je.dyn_dtree,K),je.bl_desc=new Q(je.bl_tree,Y),je.bi_buf=0,je.bi_valid=0,be(je)}function ze(je,st,Xe,Je){ye(je,(r<<1)+(Je?1:0),3),se(je,st,Xe,!0)}function dt(je){ye(je,o<<1,3),Ae(je,T,z),Pe(je)}function Me(je,st,Xe,Je){var et,ot,Ve=0;je.level>0?(je.strm.data_type===i&&(je.strm.data_type=J(je)),pe(je,je.l_desc),pe(je,je.d_desc),Ve=fe(je),et=je.opt_len+3+7>>>3,ot=je.static_len+3+7>>>3,ot<=et&&(et=ot)):et=ot=Xe+5,Xe+4<=et&&st!==-1?ze(je,st,Xe,Je):je.strategy===y||ot===et?(ye(je,(o<<1)+(Je?1:0),3),Z(je,z,W)):(ye(je,(d<<1)+(Je?1:0),3),te(je,je.l_desc.max_code+1,je.d_desc.max_code+1,Ve+1),Z(je,je.dyn_ltree,je.dyn_dtree)),be(je),Je&&at(je)}function Tt(je,st,Xe){return je.pending_buf[je.d_buf+je.last_lit*2]=st>>>8&255,je.pending_buf[je.d_buf+je.last_lit*2+1]=st&255,je.pending_buf[je.l_buf+je.last_lit]=Xe&255,je.last_lit++,st===0?je.dyn_ltree[Xe*2]++:(je.matches++,st--,je.dyn_ltree[(H[Xe]+s+1)*2]++,je.dyn_dtree[he(st)*2]++),je.last_lit===je.lit_bufsize-1}},c6wG:function(R,I,e){var g=e("dD9F"),f=e("sEf8"),b=e("mdPL"),m=b&&b.isTypedArray,y=m?f(m):g;R.exports=y},c8qY:function(R,I,e){var g=e("IwbS"),f=e("fls0");function b(d){this._ctor=d||f,this.group=new g.Group}var m=b.prototype;m.isPersistent=function(){return!0},m.updateData=function(d){var n=this,l=n.group,t=n._lineData;n._lineData=d,t||l.removeAll();var s=i(d);d.diff(t).add(function(c){y(n,d,c,s)}).update(function(c,p){h(n,t,d,p,c,s)}).remove(function(c){l.remove(t.getItemGraphicEl(c))}).execute()};function y(d,n,l,t){var s=n.getItemLayout(l);if(!r(s))return;var c=new d._ctor(n,l,t);n.setItemGraphicEl(l,c),d.group.add(c)}function h(d,n,l,t,s,c){var p=n.getItemGraphicEl(t);if(!r(l.getItemLayout(s))){d.group.remove(p);return}p?p.updateData(l,s,c):p=new d._ctor(l,s,c),l.setItemGraphicEl(s,p),d.group.add(p)}m.updateLayout=function(){var d=this._lineData;if(!d)return;d.eachItemGraphicEl(function(n,l){n.updateLayout(d,l)},this)},m.incrementalPrepareUpdate=function(d){this._seriesScope=i(d),this._lineData=null,this.group.removeAll()};function u(d){return d.animators&&d.animators.length>0}m.incrementalUpdate=function(d,n){function l(p){!p.isGroup&&!u(p)&&(p.incremental=p.useHoverLayer=!0)}for(var t=d.start;t<d.end;t++){var s=n.getItemLayout(t);if(r(s)){var c=new this._ctor(n,t,this._seriesScope);c.traverse(l),this.group.add(c),n.setItemGraphicEl(t,c)}}};function i(d){var n=d.hostModel;return{lineStyle:n.getModel("lineStyle").getLineStyle(),hoverLineStyle:n.getModel("emphasis.lineStyle").getLineStyle(),labelModel:n.getModel("label"),hoverLabelModel:n.getModel("emphasis.label")}}m.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},m._clearIncremental=function(){var d=this._incremental;d&&d.clearDisplaybles()};function a(d){return isNaN(d[0])||isNaN(d[1])}function r(d){return!a(d[0])&&!a(d[1])}var o=b;R.exports=o},cCMj:function(R,I,e){var g=e("bYtY"),f={updateSelectedMap:function(b){this._targetList=g.isArray(b)?b.slice():[],this._selectTargetMap=g.reduce(b||[],function(m,y){return m.set(y.name,y),m},g.createHashMap())},select:function(b,m){var y=m!=null?this._targetList[m]:this._selectTargetMap.get(b),h=this.get("selectedMode");h==="single"&&this._selectTargetMap.each(function(u){u.selected=!1}),y&&(y.selected=!0)},unSelect:function(b,m){var y=m!=null?this._targetList[m]:this._selectTargetMap.get(b);y&&(y.selected=!1)},toggleSelected:function(b,m){var y=m!=null?this._targetList[m]:this._selectTargetMap.get(b);if(y!=null)return this[y.selected?"unSelect":"select"](b,m),y.selected},isSelected:function(b,m){var y=m!=null?this._targetList[m]:this._selectTargetMap.get(b);return y&&y.selected}};R.exports=f},cVA7:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=e("MT78"),f=y(g),b=e("t3Fx"),m=y(b);function y(r){return r&&r.__esModule?r:{default:r}}function h(r,o){if(!(r instanceof o))throw new TypeError("Cannot call a class as a function")}function u(r,o){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o&&(typeof o=="object"||typeof o=="function")?o:r}function i(r,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof o);r.prototype=Object.create(o&&o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(r,o):r.__proto__=o)}var a=function(r){i(o,r);function o(d){h(this,o);var n=u(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,d));return n.echartsLib=f.default,n}return o}(m.default);I.default=a},cWXX:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("oIFs"),m=e.n(b)},cZFH:function(R,I,e){"use strict";var g=e("TqRt");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var f=g(e("q1tI")),b={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(h){return f.default.createElement("ul",{style:{display:"block"}},h)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(h){return f.default.createElement("button",null,h+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0},m=b;I.default=m},ca2m:function(R,I,e){var g=e("bYtY"),f={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",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:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},b={};b.categoryAxis=g.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},f),b.valueAxis=g.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},f),b.timeAxis=g.defaults({scale:!0,min:"dataMin",max:"dataMax"},b.valueAxis),b.logAxis=g.defaults({scale:!0,logBase:10},b.valueAxis);var m=b;R.exports=m},cbJ4:function(R,I,e){var g=e("bYtY"),f=g.createHashMap;function b(m){m.eachSeriesByType("themeRiver",function(y){var h=y.getData(),u=y.getRawData(),i=y.get("color"),a=f();h.each(function(r){a.set(h.getRawIndex(r),r)}),u.each(function(r){var o=u.getName(r),d=i[(y.nameMap.get(o)-1)%i.length];u.setItemVisual(r,"color",d);var n=a.get(r);n!=null&&h.setItemVisual(n,"color",d)})})}R.exports=b},chpo:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=1,f=function(){return"".concat(g++)};I.default=f},coqV:function(R,I,e){"use strict";var g=e("TqRt");Object.defineProperty(I,"__esModule",{value:!0}),I.Dots=void 0;var f=g(e("3tO9")),b=g(e("lwsE")),m=g(e("W8MJ")),y=g(e("7W2i")),h=g(e("LQ03")),u=g(e("q1tI")),i=g(e("TSYQ")),a=e("3K4p"),r=function(n){var l;return n.infinite?l=Math.ceil(n.slideCount/n.slidesToScroll):l=Math.ceil((n.slideCount-n.slidesToShow)/n.slidesToScroll)+1,l},o=function(d){(0,y.default)(l,d);var n=(0,h.default)(l);function l(){return(0,b.default)(this,l),n.apply(this,arguments)}return(0,m.default)(l,[{key:"clickHandler",value:function(s,c){c.preventDefault(),this.props.clickHandler(s)}},{key:"render",value:function(){for(var s=this.props,c=s.onMouseEnter,p=s.onMouseOver,A=s.onMouseLeave,w=s.infinite,C=s.slidesToScroll,x=s.slidesToShow,E=s.slideCount,T=s.currentSlide,_=r({slideCount:E,slidesToScroll:C,slidesToShow:x,infinite:w}),v={onMouseEnter:c,onMouseOver:p,onMouseLeave:A},S=[],O=0;O<_;O++){var L=(O+1)*C-1,M=w?L:(0,a.clamp)(L,0,E-1),F=M-(C-1),U=w?F:(0,a.clamp)(F,0,E-1),z=(0,i.default)({"slick-active":w?T>=U&&T<=M:T===U}),W={message:"dots",index:O,slidesToScroll:C,currentSlide:T},N=this.clickHandler.bind(this,W);S=S.concat(u.default.createElement("li",{key:O,className:z},u.default.cloneElement(this.props.customPaging(O),{onClick:N})))}return u.default.cloneElement(this.props.appendDots(S),(0,f.default)({className:this.props.dotsClass},v))}}]),l}(u.default.PureComponent);I.Dots=o},cpOr:function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("T4UG"),m=e("YXkt"),y=e("bYtY"),h=y.concatArray,u=y.mergeAll,i=y.map,a=e("7aKB"),r=a.encodeHTML,o=e("IDmD"),d=typeof Uint32Array=="undefined"?Array:Uint32Array,n=typeof Float64Array=="undefined"?Array:Float64Array;function l(c){var p=c.data;p&&p[0]&&p[0][0]&&p[0][0].coord&&(c.data=i(p,function(A){var w=[A[0].coord,A[1].coord],C={coords:w};return A[0].name&&(C.fromName=A[0].name),A[1].name&&(C.toName=A[1].name),u([C,A[0],A[1]])}))}var t=b.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(c){c.data=c.data||[],l(c);var p=this._processFlatCoordsArray(c.data);this._flatCoords=p.flatCoords,this._flatCoordsOffset=p.flatCoordsOffset,p.flatCoords&&(c.data=new Float32Array(p.count)),t.superApply(this,"init",arguments)},mergeOption:function(c){if(c.data=c.data||[],l(c),c.data){var p=this._processFlatCoordsArray(c.data);this._flatCoords=p.flatCoords,this._flatCoordsOffset=p.flatCoordsOffset,p.flatCoords&&(c.data=new Float32Array(p.count))}t.superApply(this,"mergeOption",arguments)},appendData:function(c){var p=this._processFlatCoordsArray(c.data);p.flatCoords&&(this._flatCoords?(this._flatCoords=h(this._flatCoords,p.flatCoords),this._flatCoordsOffset=h(this._flatCoordsOffset,p.flatCoordsOffset)):(this._flatCoords=p.flatCoords,this._flatCoordsOffset=p.flatCoordsOffset),c.data=new Float32Array(p.count)),this.getRawData().appendData(c.data)},_getCoordsFromItemModel:function(c){var p=this.getData().getItemModel(c),A=p.option instanceof Array?p.option:p.getShallow("coords");return A},getLineCoordsCount:function(c){return this._flatCoordsOffset?this._flatCoordsOffset[c*2+1]:this._getCoordsFromItemModel(c).length},getLineCoords:function(c,p){if(this._flatCoordsOffset){for(var A=this._flatCoordsOffset[c*2],w=this._flatCoordsOffset[c*2+1],C=0;C<w;C++)p[C]=p[C]||[],p[C][0]=this._flatCoords[A+C*2],p[C][1]=this._flatCoords[A+C*2+1];return w}else{for(var x=this._getCoordsFromItemModel(c),C=0;C<x.length;C++)p[C]=p[C]||[],p[C][0]=x[C][0],p[C][1]=x[C][1];return x.length}},_processFlatCoordsArray:function(c){var p=0;if(this._flatCoords&&(p=this._flatCoords.length),typeof c[0]=="number"){for(var A=c.length,w=new d(A),C=new n(A),x=0,E=0,T=0,_=0;_<A;){T++;var v=c[_++];w[E++]=x+p,w[E++]=v;for(var S=0;S<v;S++){var O=c[_++],L=c[_++];C[x++]=O,C[x++]=L,_>A}}return{flatCoordsOffset:new Uint32Array(w.buffer,0,E),flatCoords:C,count:T}}return{flatCoordsOffset:null,flatCoords:null,count:c.length}},getInitialData:function(c,p){var A=new m(["value"],this);return A.hasItemOption=!1,A.initData(c.data,[],function(w,C,x,E){if(w instanceof Array)return NaN;A.hasItemOption=!0;var T=w.value;if(T!=null)return T instanceof Array?T[E]:T}),A},formatTooltip:function(c){var p=this.getData(),A=p.getItemModel(c),w=A.get("name");if(w)return w;var C=A.get("fromName"),x=A.get("toName"),E=[];return C!=null&&E.push(C),x!=null&&E.push(x),r(E.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var c=this.option.progressive;return c==null?this.option.large?1e4:this.get("progressive"):c},getProgressiveThreshold:function(){var c=this.option.progressiveThreshold;return c==null?this.option.large?2e4:this.get("progressiveThreshold"):c},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!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}}}),s=t;R.exports=s},crZl:function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("IwbS"),m=e("7aKB"),y=e("+TT/"),h=e("XxSj"),u=g.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(i,a){this.ecModel=i,this.api=a,this.visualMapModel},render:function(i,a,r,o){if(this.visualMapModel=i,i.get("show")===!1){this.group.removeAll();return}this.doRender.apply(this,arguments)},renderBackground:function(i){var a=this.visualMapModel,r=m.normalizeCssArray(a.get("padding")||0),o=i.getBoundingRect();i.add(new b.Rect({z2:-1,silent:!0,shape:{x:o.x-r[3],y:o.y-r[0],width:o.width+r[3]+r[1],height:o.height+r[0]+r[2]},style:{fill:a.get("backgroundColor"),stroke:a.get("borderColor"),lineWidth:a.get("borderWidth")}}))},getControllerVisual:function(i,a,r){r=r||{};var o=r.forceState,d=this.visualMapModel,n={};if(a==="symbol"&&(n.symbol=d.get("itemSymbol")),a==="color"){var l=d.get("contentColor");n.color=l}function t(A){return n[A]}function s(A,w){n[A]=w}var c=d.controllerVisuals[o||d.getValueState(i)],p=h.prepareVisualTypes(c);return f.each(p,function(A){var w=c[A];r.convertOpacityToAlpha&&A==="opacity"&&(A="colorAlpha",w=c.__alphaForOpacity),h.dependsOn(A,a)&&(w&&w.applyVisual(i,t,s))}),n[a]},positionGroup:function(i){var a=this.visualMapModel,r=this.api;y.positionElement(i,a.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})},doRender:f.noop});R.exports=u},czTT:function(R,I,e){},d4KN:function(R,I,e){var g=e("ProS"),f=e("bYtY");function b(m,y){f.each(y,function(h){h.update="updateView",g.registerAction(h,function(u,i){var a={};return i.eachComponent({mainType:"series",subType:m,query:u},function(r){r[h.method]&&r[h.method](u.name,u.dataIndex);var o=r.getData();o.each(function(d){var n=o.getName(d);a[n]=r.isSelected(n)||!1})}),{name:u.name,selected:a,seriesId:u.seriesId}})})}R.exports=b},dBmv:function(R,I,e){var g=e("ProS"),f=e("szbU");e("vF/C"),e("qwVE"),e("MHoB"),e("PNag"),e("1u/T"),g.registerPreprocessor(f)},dD9F:function(R,I,e){var g=e("NykK"),f=e("shjB"),b=e("ExA7"),m="[object Arguments]",y="[object Array]",h="[object Boolean]",u="[object Date]",i="[object Error]",a="[object Function]",r="[object Map]",o="[object Number]",d="[object Object]",n="[object RegExp]",l="[object Set]",t="[object String]",s="[object WeakMap]",c="[object ArrayBuffer]",p="[object DataView]",A="[object Float32Array]",w="[object Float64Array]",C="[object Int8Array]",x="[object Int16Array]",E="[object Int32Array]",T="[object Uint8Array]",_="[object Uint8ClampedArray]",v="[object Uint16Array]",S="[object Uint32Array]",O={};O[A]=O[w]=O[C]=O[x]=O[E]=O[T]=O[_]=O[v]=O[S]=!0,O[m]=O[y]=O[c]=O[h]=O[p]=O[u]=O[i]=O[a]=O[r]=O[o]=O[d]=O[n]=O[l]=O[t]=O[s]=!1;function L(M){return b(M)&&f(M.length)&&!!O[g(M)]}R.exports=L},"dF/Y":function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="DownloadOutlined";var h=I.a=g.forwardRef(y)},dMvE:function(R,I){var e={linear:function(b){return b},quadraticIn:function(b){return b*b},quadraticOut:function(b){return b*(2-b)},quadraticInOut:function(b){return(b*=2)<1?.5*b*b:-.5*(--b*(b-2)-1)},cubicIn:function(b){return b*b*b},cubicOut:function(b){return--b*b*b+1},cubicInOut:function(b){return(b*=2)<1?.5*b*b*b:.5*((b-=2)*b*b+2)},quarticIn:function(b){return b*b*b*b},quarticOut:function(b){return 1- --b*b*b*b},quarticInOut:function(b){return(b*=2)<1?.5*b*b*b*b:-.5*((b-=2)*b*b*b-2)},quinticIn:function(b){return b*b*b*b*b},quinticOut:function(b){return--b*b*b*b*b+1},quinticInOut:function(b){return(b*=2)<1?.5*b*b*b*b*b:.5*((b-=2)*b*b*b*b+2)},sinusoidalIn:function(b){return 1-Math.cos(b*Math.PI/2)},sinusoidalOut:function(b){return Math.sin(b*Math.PI/2)},sinusoidalInOut:function(b){return .5*(1-Math.cos(Math.PI*b))},exponentialIn:function(b){return b===0?0:Math.pow(1024,b-1)},exponentialOut:function(b){return b===1?1:1-Math.pow(2,-10*b)},exponentialInOut:function(b){return b===0?0:b===1?1:(b*=2)<1?.5*Math.pow(1024,b-1):.5*(-Math.pow(2,-10*(b-1))+2)},circularIn:function(b){return 1-Math.sqrt(1-b*b)},circularOut:function(b){return Math.sqrt(1- --b*b)},circularInOut:function(b){return(b*=2)<1?-.5*(Math.sqrt(1-b*b)-1):.5*(Math.sqrt(1-(b-=2)*b)+1)},elasticIn:function(b){var m,y=.1,h=.4;return b===0?0:b===1?1:(!y||y<1?(y=1,m=h/4):m=h*Math.asin(1/y)/(2*Math.PI),-(y*Math.pow(2,10*(b-=1))*Math.sin((b-m)*(2*Math.PI)/h)))},elasticOut:function(b){var m,y=.1,h=.4;return b===0?0:b===1?1:(!y||y<1?(y=1,m=h/4):m=h*Math.asin(1/y)/(2*Math.PI),y*Math.pow(2,-10*b)*Math.sin((b-m)*(2*Math.PI)/h)+1)},elasticInOut:function(b){var m,y=.1,h=.4;return b===0?0:b===1?1:(!y||y<1?(y=1,m=h/4):m=h*Math.asin(1/y)/(2*Math.PI),(b*=2)<1?-.5*(y*Math.pow(2,10*(b-=1))*Math.sin((b-m)*(2*Math.PI)/h)):y*Math.pow(2,-10*(b-=1))*Math.sin((b-m)*(2*Math.PI)/h)*.5+1)},backIn:function(b){var m=1.70158;return b*b*((m+1)*b-m)},backOut:function(b){var m=1.70158;return--b*b*((m+1)*b+m)+1},backInOut:function(b){var m=1.70158*1.525;return(b*=2)<1?.5*(b*b*((m+1)*b-m)):.5*((b-=2)*b*((m+1)*b+m)+2)},bounceIn:function(b){return 1-e.bounceOut(1-b)},bounceOut:function(b){return b<1/2.75?7.5625*b*b:b<2/2.75?7.5625*(b-=1.5/2.75)*b+.75:b<2.5/2.75?7.5625*(b-=2.25/2.75)*b+.9375:7.5625*(b-=2.625/2.75)*b+.984375},bounceInOut:function(b){return b<.5?e.bounceIn(b*2)*.5:e.bounceOut(b*2-1)*.5+.5}},g=e;R.exports=g},diRs:function(R,I,e){"use strict";var g=e("pVnL"),f=e.n(g),b=e("q1tI"),m=e.n(b),y=e("3S7+"),h=e("H84U"),u=e("bogI"),i=function(r,o){var d={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&o.indexOf(n)<0&&(d[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(r);l<n.length;l++)o.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(r,n[l])&&(d[n[l]]=r[n[l]]);return d},a=b.forwardRef(function(r,o){var d=r.prefixCls,n=r.title,l=r.content,t=i(r,["prefixCls","title","content"]),s=b.useContext(h.b),c=s.getPrefixCls,p=function(C){return b.createElement(b.Fragment,null,n&&b.createElement("div",{className:"".concat(C,"-title")},Object(u.a)(n)),b.createElement("div",{className:"".concat(C,"-inner-content")},Object(u.a)(l)))},A=c("popover",d);return b.createElement(y.a,f()({},t,{prefixCls:A,ref:o,overlay:p(A)}))});a.displayName="Popover",a.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},I.a=a},digP:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:function(b,m){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:m}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:b}}]}},name:"file",theme:"twotone"};I.default=g},dmGj:function(R,I,e){var g=e("DEFe"),f=e("ProS"),b=f.extendComponentView({type:"geo",init:function(m,y){var h=new g(y,!0);this._mapDraw=h,this.group.add(h.group)},render:function(m,y,h,u){if(u&&u.type==="geoToggleSelect"&&u.from===this.uid)return;var i=this._mapDraw;m.get("show")?i.draw(m,y,h,this,u):this._mapDraw.group.removeAll(),this.group.silent=m.get("silent")},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});R.exports=b},dnwI:function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("YH21"),m=e("Kagy"),y=e("IUWy"),h=m.toolbox.dataView,u=new Array(60).join("-"),i=" ";function a(x){var E={},T=[],_=[];return x.eachRawSeries(function(v){var S=v.coordinateSystem;if(S&&(S.type==="cartesian2d"||S.type==="polar")){var O=S.getBaseAxis();if(O.type==="category"){var L=O.dim+"_"+O.index;E[L]||(E[L]={categoryAxis:O,valueAxis:S.getOtherAxis(O),series:[]},_.push({axisDim:O.dim,axisIndex:O.index})),E[L].series.push(v)}else T.push(v)}else T.push(v)}),{seriesGroupByCategoryAxis:E,other:T,meta:_}}function r(x){var E=[];return f.each(x,function(T,_){var v=T.categoryAxis,S=T.valueAxis,O=S.dim,L=[" "].concat(f.map(T.series,function(N){return N.name})),M=[v.model.getCategories()];f.each(T.series,function(N){M.push(N.getRawData().mapArray(O,function(H){return H}))});for(var F=[L.join(i)],U=0;U<M[0].length;U++){for(var z=[],W=0;W<M.length;W++)z.push(M[W][U]);F.push(z.join(i))}E.push(F.join(`
`))}),E.join(`
`+u+`
`)}function o(x){return f.map(x,function(E){var T=E.getRawData(),_=[E.name],v=[];return T.each(T.dimensions,function(){for(var S=arguments.length,O=arguments[S-1],L=T.getName(O),M=0;M<S-1;M++)v[M]=arguments[M];_.push((L?L+i:"")+v.join(i))}),_.join(`
`)}).join(`
`+u+`
`)}function d(x){var E=a(x);return{value:f.filter([r(E.seriesGroupByCategoryAxis),o(E.other)],function(T){return T.replace(/[\n\t\s]/g,"")}).join(`
`+u+`
`),meta:E.meta}}function n(x){return x.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function l(x){var E=x.slice(0,x.indexOf(`
`));if(E.indexOf(i)>=0)return!0}var t=new RegExp("["+i+"]+","g");function s(x){for(var E=x.split(/\n+/g),T=n(E.shift()).split(t),_=[],v=f.map(T,function(M){return{name:M,data:[]}}),S=0;S<E.length;S++){var O=n(E[S]).split(t);_.push(O.shift());for(var L=0;L<O.length;L++)v[L]&&(v[L].data[S]=O[L])}return{series:v,categories:_}}function c(x){for(var E=x.split(/\n+/g),T=n(E.shift()),_=[],v=0;v<E.length;v++){var S=n(E[v]).split(t),O="",L,M=!1;isNaN(S[0])?(M=!0,O=S[0],S=S.slice(1),_[v]={name:O,value:[]},L=_[v].value):L=_[v]=[];for(var F=0;F<S.length;F++)L.push(+S[F]);L.length===1&&(M?_[v].value=L[0]:_[v]=L[0])}return{name:T,data:_}}function p(x,E){var T=x.split(new RegExp(`
*`+u+`
*`,"g")),_={series:[]};return f.each(T,function(v,S){if(l(v)){var O=s(v),L=E[S],M=L.axisDim+"Axis";L&&(_[M]=_[M]||[],_[M][L.axisIndex]={data:O.categories},_.series=_.series.concat(O.series))}else{var O=c(v);_.series.push(O)}}),_}function A(x){this._dom=null,this.model=x}A.defaultOption={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:f.clone(h.title),lang:f.clone(h.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},A.prototype.onclick=function(x,E){var T=E.getDom(),_=this.model;this._dom&&T.removeChild(this._dom);var v=document.createElement("div");v.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",v.style.backgroundColor=_.get("backgroundColor")||"#fff";var S=document.createElement("h4"),O=_.get("lang")||[];S.innerHTML=O[0]||_.get("title"),S.style.cssText="margin: 10px 20px;",S.style.color=_.get("textColor");var L=document.createElement("div"),M=document.createElement("textarea");L.style.cssText="display:block;width:100%;overflow:auto;";var F=_.get("optionToContent"),U=_.get("contentToOption"),z=d(x);if(typeof F=="function"){var W=F(E.getOption());typeof W=="string"?L.innerHTML=W:f.isDom(W)&&L.appendChild(W)}else L.appendChild(M),M.readOnly=_.get("readOnly"),M.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",M.style.color=_.get("textColor"),M.style.borderColor=_.get("textareaBorderColor"),M.style.backgroundColor=_.get("textareaColor"),M.value=z.value;var N=z.meta,H=document.createElement("div");H.style.cssText="position:absolute;bottom:0;left:0;right:0;";var j="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",k=document.createElement("div"),B=document.createElement("div");j+=";background-color:"+_.get("buttonColor"),j+=";color:"+_.get("buttonTextColor");var V=this;function K(){T.removeChild(v),V._dom=null}b.addEventListener(k,"click",K),b.addEventListener(B,"click",function(){var Y;try{typeof U=="function"?Y=U(L,E.getOption()):Y=p(M.value,N)}catch(Q){throw K(),new Error("Data view format error "+Q)}Y&&E.dispatchAction({type:"changeDataView",newOption:Y}),K()}),k.innerHTML=O[1],B.innerHTML=O[2],B.style.cssText=j,k.style.cssText=j,!_.get("readOnly")&&H.appendChild(B),H.appendChild(k),v.appendChild(S),v.appendChild(L),v.appendChild(H),L.style.height=T.clientHeight-80+"px",T.appendChild(v),this._dom=v},A.prototype.remove=function(x,E){this._dom&&E.getDom().removeChild(this._dom)},A.prototype.dispose=function(x,E){this.remove(x,E)};function w(x,E){return f.map(x,function(T,_){var v=E&&E[_];return f.isObject(v)&&!f.isArray(v)?(f.isObject(T)&&!f.isArray(T)&&(T=T.value),f.defaults({value:T},v)):T})}y.register("dataView",A),g.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(x,E){var T=[];f.each(x.newOption.series,function(_){var v=E.getSeriesByName(_.name)[0];if(!v)T.push(f.extend({type:"scatter"},_));else{var S=v.get("data");T.push({name:_.name,data:w(_.data,S)})}}),E.mergeOption(f.defaults({series:T},x.newOption))});var C=A;R.exports=C},dqUG:function(R,I,e){var g=e("Gev7"),f=e("bYtY"),b=e("6GrX"),m=e("pzxd"),y=e("gut8"),h=y.ContextCachedBy,u=function(r){g.call(this,r)};u.prototype={constructor:u,type:"text",brush:function(r,o){var d=this.style;this.__dirty&&m.normalizeTextStyle(d,!0),d.fill=d.stroke=d.shadowBlur=d.shadowColor=d.shadowOffsetX=d.shadowOffsetY=null;var n=d.text;if(n!=null&&(n+=""),!m.needDrawText(n,d)){r.__attrCachedBy=h.NONE;return}this.setTransform(r),m.renderText(this,r,n,d,null,o),this.restoreTransform(r)},getBoundingRect:function(){var r=this.style;if(this.__dirty&&m.normalizeTextStyle(r,!0),!this._rect){var o=r.text;o!=null?o+="":o="";var d=b.getBoundingRect(r.text+"",r.font,r.textAlign,r.textVerticalAlign,r.textPadding,r.textLineHeight,r.rich);if(d.x+=r.x||0,d.y+=r.y||0,m.getStroke(r.textStroke,r.textStrokeWidth)){var n=r.textStrokeWidth;d.x-=n/2,d.y-=n/2,d.width+=n,d.height+=n}this._rect=d}return this._rect}},f.inherits(u,g);var i=u;R.exports=i},dt0z:function(R,I,e){var g=e("zoYe");function f(b){return b==null?"":g(b)}R.exports=f},e4Nc:function(R,I,e){var g=e("fGT3"),f=e("k+1r"),b=e("JHgL"),m=e("pSRY"),y=e("H8j4");function h(u){var i=-1,a=u==null?0:u.length;for(this.clear();++i<a;){var r=u[i];this.set(r[0],r[1])}}h.prototype.clear=g,h.prototype.delete=f,h.prototype.get=b,h.prototype.has=m,h.prototype.set=y,R.exports=h},e5VY:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("YNAk"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},e5cp:function(R,I,e){var g=e("fmRc"),f=e("or5M"),b=e("HDyB"),m=e("seXi"),y=e("QqLw"),h=e("Z0cm"),u=e("DSRE"),i=e("c6wG"),a=1,r="[object Arguments]",o="[object Array]",d="[object Object]",n=Object.prototype,l=n.hasOwnProperty;function t(s,c,p,A,w,C){var x=h(s),E=h(c),T=x?o:y(s),_=E?o:y(c);T=T==r?d:T,_=_==r?d:_;var v=T==d,S=_==d,O=T==_;if(O&&u(s)){if(!u(c))return!1;x=!0,v=!1}if(O&&!v)return C||(C=new g),x||i(s)?f(s,c,p,A,w,C):b(s,c,T,p,A,w,C);if(!(p&a)){var L=v&&l.call(s,"__wrapped__"),M=S&&l.call(c,"__wrapped__");if(L||M){var F=L?s.value():s,U=M?c.value():c;return C||(C=new g),w(F,U,p,A,C)}}return O?(C||(C=new g),m(s,c,p,A,w,C)):!1}R.exports=t},eIcI:function(R,I,e){var g=e("bYtY"),f=e("hM6l");function b(y,h,u){f.call(this,y,h,u),this.type="value",this.angle=0,this.name="",this.model}g.inherits(b,f);var m=b;R.exports=m},eJH7:function(R,I,e){var g=e("bYtY");function f(b){var m=b.polar;if(m){g.isArray(m)||(m=[m]);var y=[];g.each(m,function(h,u){h.indicator?(h.type&&!h.shape&&(h.shape=h.type),b.radar=b.radar||[],g.isArray(b.radar)||(b.radar=[b.radar]),b.radar.push(h)):y.push(h)}),b.polar=y}g.each(b.series,function(h){h&&h.type==="radar"&&h.polarIndex&&(h.radarIndex=h.polarIndex)})}R.exports=f},eP3c:function(R,I,e){"use strict";function g(Ve){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(ae){return typeof ae}:g=function(ae){return ae&&typeof Symbol=="function"&&ae.constructor===Symbol&&ae!==Symbol.prototype?"symbol":typeof ae},g(Ve)}Object.defineProperty(I,"__esModule",{value:!0}),I.inflateReset=te,I.inflateReset2=J,I.inflateResetKeep=fe,I.inflateInit=De,I.inflateInit2=ve,I.inflate=st,I.inflateEnd=Xe,I.inflateGetHeader=Je,I.inflateSetDictionary=et,I.inflateInfo=I.Z_DEFLATED=I.Z_BUF_ERROR=I.Z_MEM_ERROR=I.Z_DATA_ERROR=I.Z_STREAM_ERROR=I.Z_NEED_DICT=I.Z_STREAM_END=I.Z_OK=I.Z_TREES=I.Z_BLOCK=I.Z_FINISH=void 0;var f=a(e("6BzB")),b=u(e("xlC8")),m=u(e("QV2g")),y=u(e("sjKO")),h=u(e("JSwD"));function u(Ve){return Ve&&Ve.__esModule?Ve:{default:Ve}}function i(){if(typeof WeakMap!="function")return null;var Ve=new WeakMap;return i=function(){return Ve},Ve}function a(Ve){if(Ve&&Ve.__esModule)return Ve;if(Ve===null||g(Ve)!=="object"&&typeof Ve!="function")return{default:Ve};var ue=i();if(ue&&ue.has(Ve))return ue.get(Ve);var ae={},lt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ze in Ve)if(Object.prototype.hasOwnProperty.call(Ve,Ze)){var Te=lt?Object.getOwnPropertyDescriptor(Ve,Ze):null;Te&&(Te.get||Te.set)?Object.defineProperty(ae,Ze,Te):ae[Ze]=Ve[Ze]}return ae.default=Ve,ue&&ue.set(Ve,ae),ae}var r=0,o=1,d=2,n=4;I.Z_FINISH=n;var l=5;I.Z_BLOCK=l;var t=6;I.Z_TREES=t;var s=0;I.Z_OK=s;var c=1;I.Z_STREAM_END=c;var p=2;I.Z_NEED_DICT=p;var A=-2;I.Z_STREAM_ERROR=A;var w=-3;I.Z_DATA_ERROR=w;var C=-4;I.Z_MEM_ERROR=C;var x=-5;I.Z_BUF_ERROR=x;var E=8;I.Z_DEFLATED=E;var T=1,_=2,v=3,S=4,O=5,L=6,M=7,F=8,U=9,z=10,W=11,N=12,H=13,j=14,k=15,B=16,V=17,K=18,Y=19,Q=20,he=21,G=22,ye=23,Ae=24,ge=25,Pe=26,Re=27,rt=28,ne=29,be=30,at=31,se=32,q=852,X=592,Z=15,pe=Z;function oe(Ve){return(Ve>>>24&255)+(Ve>>>8&65280)+((Ve&65280)<<8)+((Ve&255)<<24)}function Ie(){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 f.Buf16(320),this.work=new f.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function fe(Ve){var ue;return!Ve||!Ve.state?A:(ue=Ve.state,Ve.total_in=Ve.total_out=ue.total=0,Ve.msg="",ue.wrap&&(Ve.adler=ue.wrap&1),ue.mode=T,ue.last=0,ue.havedict=0,ue.dmax=32768,ue.head=null,ue.hold=0,ue.bits=0,ue.lencode=ue.lendyn=new f.Buf32(q),ue.distcode=ue.distdyn=new f.Buf32(X),ue.sane=1,ue.back=-1,s)}function te(Ve){var ue;return!Ve||!Ve.state?A:(ue=Ve.state,ue.wsize=0,ue.whave=0,ue.wnext=0,fe(Ve))}function J(Ve,ue){var ae,lt;return!Ve||!Ve.state?A:(lt=Ve.state,ue<0?(ae=0,ue=-ue):(ae=(ue>>4)+1,ue<48&&(ue&=15)),ue&&(ue<8||ue>15)?A:(lt.window!==null&&lt.wbits!==ue&&(lt.window=null),lt.wrap=ae,lt.wbits=ue,te(Ve)))}function ve(Ve,ue){var ae,lt;return Ve?(lt=new Ie,Ve.state=lt,lt.window=null,ae=J(Ve,ue),ae!==s&&(Ve.state=null),ae):A}function De(Ve){return ve(Ve,pe)}var ze=!0,dt,Me;function Tt(Ve){if(ze){var ue;for(dt=new f.Buf32(512),Me=new f.Buf32(32),ue=0;ue<144;)Ve.lens[ue++]=8;for(;ue<256;)Ve.lens[ue++]=9;for(;ue<280;)Ve.lens[ue++]=7;for(;ue<288;)Ve.lens[ue++]=8;for((0,h.default)(o,Ve.lens,0,288,dt,0,Ve.work,{bits:9}),ue=0;ue<32;)Ve.lens[ue++]=5;(0,h.default)(d,Ve.lens,0,32,Me,0,Ve.work,{bits:5}),ze=!1}Ve.lencode=dt,Ve.lenbits=9,Ve.distcode=Me,Ve.distbits=5}function je(Ve,ue,ae,lt){var Ze,Te=Ve.state;return Te.window===null&&(Te.wsize=1<<Te.wbits,Te.wnext=0,Te.whave=0,Te.window=new f.Buf8(Te.wsize)),lt>=Te.wsize?(f.arraySet(Te.window,ue,ae-Te.wsize,Te.wsize,0),Te.wnext=0,Te.whave=Te.wsize):(Ze=Te.wsize-Te.wnext,Ze>lt&&(Ze=lt),f.arraySet(Te.window,ue,ae-lt,Ze,Te.wnext),lt-=Ze,lt?(f.arraySet(Te.window,ue,ae-lt,lt,0),Te.wnext=lt,Te.whave=Te.wsize):(Te.wnext+=Ze,Te.wnext===Te.wsize&&(Te.wnext=0),Te.whave<Te.wsize&&(Te.whave+=Ze))),0}function st(Ve,ue){var ae,lt,Ze,Te,Jt,mt,ft,bt,Lt,or,Bt,_e,Ce,Ee,we=0,Fe,Ye,Ge,qe,Ke,ut,wt,It,de=new f.Buf8(4),xe,$,le=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Ve||!Ve.state||!Ve.output||!Ve.input&&Ve.avail_in!==0)return A;ae=Ve.state,ae.mode===N&&(ae.mode=H),Jt=Ve.next_out,Ze=Ve.output,ft=Ve.avail_out,Te=Ve.next_in,lt=Ve.input,mt=Ve.avail_in,bt=ae.hold,Lt=ae.bits,or=mt,Bt=ft,It=s;e:for(;;)switch(ae.mode){case T:if(ae.wrap===0){ae.mode=H;break}for(;Lt<16;){if(mt===0)break e;mt--,bt+=lt[Te++]<<Lt,Lt+=8}if(ae.wrap&2&&bt===35615){ae.check=0,de[0]=bt&255,de[1]=bt>>>8&255,ae.check=(0,m.default)(ae.check,de,2,0),bt=0,Lt=0,ae.mode=_;break}if(ae.flags=0,ae.head&&(ae.head.done=!1),!(ae.wrap&1)||(((bt&255)<<8)+(bt>>8))%31){Ve.msg="incorrect header check",ae.mode=be;break}if((bt&15)!==E){Ve.msg="unknown compression method",ae.mode=be;break}if(bt>>>=4,Lt-=4,wt=(bt&15)+8,ae.wbits===0)ae.wbits=wt;else if(wt>ae.wbits){Ve.msg="invalid window size",ae.mode=be;break}ae.dmax=1<<wt,Ve.adler=ae.check=1,ae.mode=bt&512?z:N,bt=0,Lt=0;break;case _:for(;Lt<16;){if(mt===0)break e;mt--,bt+=lt[Te++]<<Lt,Lt+=8}if(ae.flags=bt,(ae.flags&255)!==E){Ve.msg="unknown compression method",ae.mode=be;break}if(ae.flags&57344){Ve.msg="unknown header flags set",ae.mode=be;break}ae.head&&(ae.head.text=bt>>8&1),ae.flags&512&&(de[0]=bt&255,de[1]=bt>>>8&255,ae.check=(0,m.default)(ae.check,de,2,0)),bt=0,Lt=0,ae.mode=v;case v:for(;Lt<32;){if(mt===0)break e;mt--,bt+=lt[Te++]<<Lt,Lt+=8}ae.head&&(ae.head.time=bt),ae.flags&512&&(de[0]=bt&255,de[1]=bt>>>8&255,de[2]=bt>>>16&255,de[3]=bt>>>24&255,ae.check=(0,m.default)(ae.check,de,4,0)),bt=0,Lt=0,ae.mode=S;case S:for(;Lt<16;){if(mt===0)break e;mt--,bt+=lt[Te++]<<Lt,Lt+=8}ae.head&&(ae.head.xflags=bt&255,ae.head.os=bt>>8),ae.flags&512&&(de[0]=bt&255,de[1]=bt>>>8&255,ae.check=(0,m.default)(ae.check,de,2,0)),bt=0,Lt=0,ae.mode=O;case O:if(ae.flags&1024){for(;Lt<16;){if(mt===0)break e;mt--,bt+=lt[Te++]<<Lt,Lt+=8}ae.length=bt,ae.head&&(ae.head.extra_len=bt),ae.flags&512&&(de[0]=bt&255,de[1]=bt>>>8&255,ae.check=(0,m.default)(ae.check,de,2,0)),bt=0,Lt=0}else ae.head&&(ae.head.extra=null);ae.mode=L;case L:if(ae.flags&1024&&(_e=ae.length,_e>mt&&(_e=mt),_e&&(ae.head&&(wt=ae.head.extra_len-ae.length,ae.head.extra||(ae.head.extra=new Array(ae.head.extra_len)),f.arraySet(ae.head.extra,lt,Te,_e,wt)),ae.flags&512&&(ae.check=(0,m.default)(ae.check,lt,_e,Te)),mt-=_e,Te+=_e,ae.length-=_e),ae.length))break e;ae.length=0,ae.mode=M;case M:if(ae.flags&2048){if(mt===0)break e;_e=0;do wt=lt[Te+_e++],ae.head&&wt&&ae.length<65536&&(ae.head.name+=String.fromCharCode(wt));while(wt&&_e<mt);if(ae.flags&512&&(ae.check=(0,m.default)(ae.check,lt,_e,Te)),mt-=_e,Te+=_e,wt)break e}else ae.head&&(ae.head.name=null);ae.length=0,ae.mode=F;case F:if(ae.flags&4096){if(mt===0)break e;_e=0;do wt=lt[Te+_e++],ae.head&&wt&&ae.length<65536&&(ae.head.comment+=String.fromCharCode(wt));while(wt&&_e<mt);if(ae.flags&512&&(ae.check=(0,m.default)(ae.check,lt,_e,Te)),mt-=_e,Te+=_e,wt)break e}else ae.head&&(ae.head.comment=null);ae.mode=U;case U:if(ae.flags&512){for(;Lt<16;){if(mt===0)break e;mt--,bt+=lt[Te++]<<Lt,Lt+=8}if(bt!==(ae.check&65535)){Ve.msg="header crc mismatch",ae.mode=be;break}bt=0,Lt=0}ae.head&&(ae.head.hcrc=ae.flags>>9&1,ae.head.done=!0),Ve.adler=ae.check=0,ae.mode=N;break;case z:for(;Lt<32;){if(mt===0)break e;mt--,bt+=lt[Te++]<<Lt,Lt+=8}Ve.adler=ae.check=oe(bt),bt=0,Lt=0,ae.mode=W;case W:if(ae.havedict===0)return Ve.next_out=Jt,Ve.avail_out=ft,Ve.next_in=Te,Ve.avail_in=mt,ae.hold=bt,ae.bits=Lt,p;Ve.adler=ae.check=1,ae.mode=N;case N:if(ue===l||ue===t)break e;case H:if(ae.last){bt>>>=Lt&7,Lt-=Lt&7,ae.mode=Re;break}for(;Lt<3;){if(mt===0)break e;mt--,bt+=lt[Te++]<<Lt,Lt+=8}ae.last=bt&1,bt>>>=1,Lt-=1;switch(bt&3){case 0:ae.mode=j;break;case 1:if(Tt(ae),ae.mode=Q,ue===t){bt>>>=2,Lt-=2;break e}break;case 2:ae.mode=V;break;case 3:Ve.msg="invalid block type",ae.mode=be}bt>>>=2,Lt-=2;break;case j:for(bt>>>=Lt&7,Lt-=Lt&7;Lt<32;){if(mt===0)break e;mt--,bt+=lt[Te++]<<Lt,Lt+=8}if((bt&65535)!==(bt>>>16^65535)){Ve.msg="invalid stored block lengths",ae.mode=be;break}if(ae.length=bt&65535,bt=0,Lt=0,ae.mode=k,ue===t)break e;case k:ae.mode=B;case B:if(_e=ae.length,_e){if(_e>mt&&(_e=mt),_e>ft&&(_e=ft),_e===0)break e;f.arraySet(Ze,lt,Te,_e,Jt),mt-=_e,Te+=_e,ft-=_e,Jt+=_e,ae.length-=_e;break}ae.mode=N;break;case V:for(;Lt<14;){if(mt===0)break e;mt--,bt+=lt[Te++]<<Lt,Lt+=8}if(ae.nlen=(bt&31)+257,bt>>>=5,Lt-=5,ae.ndist=(bt&31)+1,bt>>>=5,Lt-=5,ae.ncode=(bt&15)+4,bt>>>=4,Lt-=4,ae.nlen>286||ae.ndist>30){Ve.msg="too many length or distance symbols",ae.mode=be;break}ae.have=0,ae.mode=K;case K:for(;ae.have<ae.ncode;){for(;Lt<3;){if(mt===0)break e;mt--,bt+=lt[Te++]<<Lt,Lt+=8}ae.lens[le[ae.have++]]=bt&7,bt>>>=3,Lt-=3}for(;ae.have<19;)ae.lens[le[ae.have++]]=0;if(ae.lencode=ae.lendyn,ae.lenbits=7,xe={bits:ae.lenbits},It=(0,h.default)(r,ae.lens,0,19,ae.lencode,0,ae.work,xe),ae.lenbits=xe.bits,It){Ve.msg="invalid code lengths set",ae.mode=be;break}ae.have=0,ae.mode=Y;case Y:for(;ae.have<ae.nlen+ae.ndist;){for(;!(we=ae.lencode[bt&(1<<ae.lenbits)-1],Fe=we>>>24,Ye=we>>>16&255,Ge=we&65535,Fe<=Lt);){if(mt===0)break e;mt--,bt+=lt[Te++]<<Lt,Lt+=8}if(Ge<16)bt>>>=Fe,Lt-=Fe,ae.lens[ae.have++]=Ge;else{if(Ge===16){for($=Fe+2;Lt<$;){if(mt===0)break e;mt--,bt+=lt[Te++]<<Lt,Lt+=8}if(bt>>>=Fe,Lt-=Fe,ae.have===0){Ve.msg="invalid bit length repeat",ae.mode=be;break}wt=ae.lens[ae.have-1],_e=3+(bt&3),bt>>>=2,Lt-=2}else if(Ge===17){for($=Fe+3;Lt<$;){if(mt===0)break e;mt--,bt+=lt[Te++]<<Lt,Lt+=8}bt>>>=Fe,Lt-=Fe,wt=0,_e=3+(bt&7),bt>>>=3,Lt-=3}else{for($=Fe+7;Lt<$;){if(mt===0)break e;mt--,bt+=lt[Te++]<<Lt,Lt+=8}bt>>>=Fe,Lt-=Fe,wt=0,_e=11+(bt&127),bt>>>=7,Lt-=7}if(ae.have+_e>ae.nlen+ae.ndist){Ve.msg="invalid bit length repeat",ae.mode=be;break}for(;_e--;)ae.lens[ae.have++]=wt}}if(ae.mode===be)break;if(ae.lens[256]===0){Ve.msg="invalid code -- missing end-of-block",ae.mode=be;break}if(ae.lenbits=9,xe={bits:ae.lenbits},It=(0,h.default)(o,ae.lens,0,ae.nlen,ae.lencode,0,ae.work,xe),ae.lenbits=xe.bits,It){Ve.msg="invalid literal/lengths set",ae.mode=be;break}if(ae.distbits=6,ae.distcode=ae.distdyn,xe={bits:ae.distbits},It=(0,h.default)(d,ae.lens,ae.nlen,ae.ndist,ae.distcode,0,ae.work,xe),ae.distbits=xe.bits,It){Ve.msg="invalid distances set",ae.mode=be;break}if(ae.mode=Q,ue===t)break e;case Q:ae.mode=he;case he:if(mt>=6&&ft>=258){Ve.next_out=Jt,Ve.avail_out=ft,Ve.next_in=Te,Ve.avail_in=mt,ae.hold=bt,ae.bits=Lt,(0,y.default)(Ve,Bt),Jt=Ve.next_out,Ze=Ve.output,ft=Ve.avail_out,Te=Ve.next_in,lt=Ve.input,mt=Ve.avail_in,bt=ae.hold,Lt=ae.bits,ae.mode===N&&(ae.back=-1);break}for(ae.back=0;!(we=ae.lencode[bt&(1<<ae.lenbits)-1],Fe=we>>>24,Ye=we>>>16&255,Ge=we&65535,Fe<=Lt);){if(mt===0)break e;mt--,bt+=lt[Te++]<<Lt,Lt+=8}if(Ye&&(Ye&240)===0){for(qe=Fe,Ke=Ye,ut=Ge;!(we=ae.lencode[ut+((bt&(1<<qe+Ke)-1)>>qe)],Fe=we>>>24,Ye=we>>>16&255,Ge=we&65535,qe+Fe<=Lt);){if(mt===0)break e;mt--,bt+=lt[Te++]<<Lt,Lt+=8}bt>>>=qe,Lt-=qe,ae.back+=qe}if(bt>>>=Fe,Lt-=Fe,ae.back+=Fe,ae.length=Ge,Ye===0){ae.mode=Pe;break}if(Ye&32){ae.back=-1,ae.mode=N;break}if(Ye&64){Ve.msg="invalid literal/length code",ae.mode=be;break}ae.extra=Ye&15,ae.mode=G;case G:if(ae.extra){for($=ae.extra;Lt<$;){if(mt===0)break e;mt--,bt+=lt[Te++]<<Lt,Lt+=8}ae.length+=bt&(1<<ae.extra)-1,bt>>>=ae.extra,Lt-=ae.extra,ae.back+=ae.extra}ae.was=ae.length,ae.mode=ye;case ye:for(;!(we=ae.distcode[bt&(1<<ae.distbits)-1],Fe=we>>>24,Ye=we>>>16&255,Ge=we&65535,Fe<=Lt);){if(mt===0)break e;mt--,bt+=lt[Te++]<<Lt,Lt+=8}if((Ye&240)===0){for(qe=Fe,Ke=Ye,ut=Ge;!(we=ae.distcode[ut+((bt&(1<<qe+Ke)-1)>>qe)],Fe=we>>>24,Ye=we>>>16&255,Ge=we&65535,qe+Fe<=Lt);){if(mt===0)break e;mt--,bt+=lt[Te++]<<Lt,Lt+=8}bt>>>=qe,Lt-=qe,ae.back+=qe}if(bt>>>=Fe,Lt-=Fe,ae.back+=Fe,Ye&64){Ve.msg="invalid distance code",ae.mode=be;break}ae.offset=Ge,ae.extra=Ye&15,ae.mode=Ae;case Ae:if(ae.extra){for($=ae.extra;Lt<$;){if(mt===0)break e;mt--,bt+=lt[Te++]<<Lt,Lt+=8}ae.offset+=bt&(1<<ae.extra)-1,bt>>>=ae.extra,Lt-=ae.extra,ae.back+=ae.extra}if(ae.offset>ae.dmax){Ve.msg="invalid distance too far back",ae.mode=be;break}ae.mode=ge;case ge:if(ft===0)break e;if(_e=Bt-ft,ae.offset>_e){if(_e=ae.offset-_e,_e>ae.whave&&ae.sane){Ve.msg="invalid distance too far back",ae.mode=be;break}_e>ae.wnext?(_e-=ae.wnext,Ce=ae.wsize-_e):Ce=ae.wnext-_e,_e>ae.length&&(_e=ae.length),Ee=ae.window}else Ee=Ze,Ce=Jt-ae.offset,_e=ae.length;_e>ft&&(_e=ft),ft-=_e,ae.length-=_e;do Ze[Jt++]=Ee[Ce++];while(--_e);ae.length===0&&(ae.mode=he);break;case Pe:if(ft===0)break e;Ze[Jt++]=ae.length,ft--,ae.mode=he;break;case Re:if(ae.wrap){for(;Lt<32;){if(mt===0)break e;mt--,bt|=lt[Te++]<<Lt,Lt+=8}if(Bt-=ft,Ve.total_out+=Bt,ae.total+=Bt,Bt&&(Ve.adler=ae.check=ae.flags?(0,m.default)(ae.check,Ze,Bt,Jt-Bt):(0,b.default)(ae.check,Ze,Bt,Jt-Bt)),Bt=ft,(ae.flags?bt:oe(bt))!==ae.check){Ve.msg="incorrect data check",ae.mode=be;break}bt=0,Lt=0}ae.mode=rt;case rt:if(ae.wrap&&ae.flags){for(;Lt<32;){if(mt===0)break e;mt--,bt+=lt[Te++]<<Lt,Lt+=8}if(bt!==(ae.total&4294967295)){Ve.msg="incorrect length check",ae.mode=be;break}bt=0,Lt=0}ae.mode=ne;case ne:It=c;break e;case be:It=w;break e;case at:return C;case se:default:return A}return Ve.next_out=Jt,Ve.avail_out=ft,Ve.next_in=Te,Ve.avail_in=mt,ae.hold=bt,ae.bits=Lt,(ae.wsize||Bt!==Ve.avail_out&&ae.mode<be&&(ae.mode<Re||ue!==n))&&je(Ve,Ve.output,Ve.next_out,Bt-Ve.avail_out)?(ae.mode=at,C):(or-=Ve.avail_in,Bt-=Ve.avail_out,Ve.total_in+=or,Ve.total_out+=Bt,ae.total+=Bt,ae.wrap&&Bt&&(Ve.adler=ae.check=ae.flags?(0,m.default)(ae.check,Ze,Bt,Ve.next_out-Bt):(0,b.default)(ae.check,Ze,Bt,Ve.next_out-Bt)),Ve.data_type=ae.bits+(ae.last?64:0)+(ae.mode===N?128:0)+(ae.mode===Q||ae.mode===k?256:0),(or===0&&Bt===0||ue===n)&&It===s&&(It=x),It)}function Xe(Ve){if(!Ve||!Ve.state)return A;var ue=Ve.state;return ue.window&&(ue.window=null),Ve.state=null,s}function Je(Ve,ue){var ae;return!Ve||!Ve.state?A:(ae=Ve.state,(ae.wrap&2)===0?A:(ae.head=ue,ue.done=!1,s))}function et(Ve,ue){var ae=ue.length,lt,Ze,Te;return!Ve||!Ve.state?A:(lt=Ve.state,lt.wrap!==0&&lt.mode!==W?A:lt.mode===W&&(Ze=1,Ze=(0,b.default)(Ze,ue,ae,0),Ze!==lt.check)?w:(Te=je(Ve,ue,ae,ae),Te?(lt.mode=at,C):(lt.havedict=1,s)))}var ot="pako inflate (from Nodeca project)";I.inflateInfo=ot},ePAk:function(R,I,e){var g=e("ProS");e("2fGM");var f=g.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(b){var m,y=this.ecModel;return y.eachComponent(b,function(h){h.getCoordSysModel()===this&&(m=h)},this),m},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});R.exports=f},eRkO:function(R,I,e){var g=e("+TT/"),f=g.getLayoutRect,b=g.box,m=g.positionElement,y=e("7aKB"),h=e("IwbS");function u(a,r,o){var d=r.getBoxLayoutParams(),n=r.get("padding"),l={width:o.getWidth(),height:o.getHeight()},t=f(d,l,n);b(r.get("orient"),a,r.get("itemGap"),t.width,t.height),m(a,d,l,n)}function i(a,r){var o=y.normalizeCssArray(r.get("padding")),d=r.getItemStyle(["color","opacity"]);d.fill=r.get("backgroundColor");var a=new h.Rect({shape:{x:a.x-o[3],y:a.y-o[0],width:a.width+o[1]+o[3],height:a.height+o[0]+o[2],r:r.get("borderRadius")},style:d,silent:!0,z2:-1});return a}I.layout=u,I.makeBackground=i},eS4l:function(R,I,e){e("HM/N"),e("FNN5")},eUgh:function(R,I){function e(g,f){for(var b=-1,m=g==null?0:g.length,y=Array(m);++b<m;)y[b]=f(g[b],b,g);return y}R.exports=e},ebwN:function(R,I,e){var g=e("Cwc5"),f=e("Kz5y"),b=g(f,"Map");R.exports=b},ekgI:function(R,I,e){var g=e("YESw"),f=Object.prototype,b=f.hasOwnProperty;function m(y){var h=this.__data__;return g?h[y]!==void 0:b.call(h,y)}R.exports=m},ewwo:function(R,I,e){var g=e("bMXI"),f=e("+TT/"),b=f.getLayoutRect,m=e("4mN7");function y(u,i,a){var r=u.getBoxLayoutParams();return r.aspect=a,b(r,{width:i.getWidth(),height:i.getHeight()})}function h(u,i){var a=[];return u.eachSeriesByType("graph",function(r){var o=r.get("coordinateSystem");if(!o||o==="view"){var d=r.getData(),n=d.mapArray(function(E){var T=d.getItemModel(E);return[+T.get("x"),+T.get("y")]}),l=[],t=[];m.fromPoints(n,l,t),t[0]-l[0]===0&&(t[0]+=1,l[0]-=1),t[1]-l[1]===0&&(t[1]+=1,l[1]-=1);var s=(t[0]-l[0])/(t[1]-l[1]),c=y(r,i,s);isNaN(s)&&(l=[c.x,c.y],t=[c.x+c.width,c.y+c.height]);var p=t[0]-l[0],A=t[1]-l[1],w=c.width,C=c.height,x=r.coordinateSystem=new g;x.zoomLimit=r.get("scaleLimit"),x.setBoundingRect(l[0],l[1],p,A),x.setViewRect(c.x,c.y,w,C),x.setCenter(r.get("center")),x.setZoom(r.get("zoom")),a.push(x)}}),a}R.exports=h},f1nB:function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("ProS"),m=e("bYtY"),y=e("4NO4"),h=e("IwbS"),u=e("+TT/"),i=e("OELB"),a=i.parsePercent,r={path:null,compoundPath:null,group:h.Group,image:h.Image,text:h.Text};b.registerPreprocessor(function(w){var C=w.graphic;m.isArray(C)?!C[0]||!C[0].elements?w.graphic=[{elements:C}]:w.graphic=[w.graphic[0]]:C&&!C.elements&&(w.graphic=[{elements:[C]}])});var o=b.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(w){var C=this.option.elements;this.option.elements=null,o.superApply(this,"mergeOption",arguments),this.option.elements=C},optionUpdated:function(w,C){var x=this.option,E=(C?x:w).elements,T=x.elements=C?[]:x.elements,_=[];this._flatten(E,_);var v=y.mappingToExists(T,_);y.makeIdAndName(v);var S=this._elOptionsToUpdate=[];m.each(v,function(L,M){var F=L.option;if(!F)return;S.push(F),s(L,F),c(T,M,F),p(T[M],F)},this);for(var O=T.length-1;O>=0;O--)T[O]==null?T.splice(O,1):delete T[O].$action},_flatten:function(w,C,x){m.each(w,function(E){if(!E)return;x&&(E.parentOption=x),C.push(E);var T=E.children;E.type==="group"&&T&&this._flatten(T,C,E),delete E.children},this)},useElOptionsToUpdate:function(){var w=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,w}});b.extendComponentView({type:"graphic",init:function(w,C){this._elMap=m.createHashMap(),this._lastGraphicModel},render:function(w,C,x){w!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=w,this._updateElements(w),this._relocate(w,x)},_updateElements:function(w){var C=w.useElOptionsToUpdate();if(!C)return;var x=this._elMap,E=this.group;m.each(C,function(T){var _=T.$action,v=T.id,S=x.get(v),O=T.parentId,L=O!=null?x.get(O):E,M=T.style;T.type==="text"&&M&&(T.hv&&T.hv[1]&&(M.textVerticalAlign=M.textBaseline=null),!M.hasOwnProperty("textFill")&&M.fill&&(M.textFill=M.fill),!M.hasOwnProperty("textStroke")&&M.stroke&&(M.textStroke=M.stroke));var F=l(T);!_||_==="merge"?S?S.attr(F):d(v,L,F,x):_==="replace"?(n(S,x),d(v,L,F,x)):_==="remove"&&n(S,x);var U=x.get(v);U&&(U.__ecGraphicWidthOption=T.width,U.__ecGraphicHeightOption=T.height,A(U,w,T))})},_relocate:function(w,C){for(var x=w.option.elements,E=this.group,T=this._elMap,_=C.getWidth(),v=C.getHeight(),S=0;S<x.length;S++){var O=x[S],L=T.get(O.id);if(!L||!L.isGroup)continue;var M=L.parent,F=M===E;L.__ecGraphicWidth=a(L.__ecGraphicWidthOption,F?_:M.__ecGraphicWidth)||0,L.__ecGraphicHeight=a(L.__ecGraphicHeightOption,F?v:M.__ecGraphicHeight)||0}for(var S=x.length-1;S>=0;S--){var O=x[S],L=T.get(O.id);if(!L)continue;var M=L.parent,U=M===E?{width:_,height:v}:{width:M.__ecGraphicWidth,height:M.__ecGraphicHeight};u.positionElement(L,O,U,null,{hv:O.hv,boundingMode:O.bounding})}},_clear:function(){var w=this._elMap;w.each(function(C){n(C,w)}),this._elMap=m.createHashMap()},dispose:function(){this._clear()}});function d(w,C,x,E){var T=x.type,_=r.hasOwnProperty(T)?r[T]:h.getShapeClass(T),v=new _(x);C.add(v),E.set(w,v),v.__ecGraphicId=w}function n(w,C){var x=w&&w.parent;x&&(w.type==="group"&&w.traverse(function(E){n(E,C)}),C.removeKey(w.__ecGraphicId),x.remove(w))}function l(w){return w=m.extend({},w),m.each(["id","parentId","$action","hv","bounding"].concat(u.LOCATION_PARAMS),function(C){delete w[C]}),w}function t(w,C){var x;return m.each(C,function(E){w[E]!=null&&w[E]!=="auto"&&(x=!0)}),x}function s(w,C){var x=w.exist;if(C.id=w.keyInfo.id,!C.type&&x&&(C.type=x.type),C.parentId==null){var E=C.parentOption;E?C.parentId=E.id:x&&(C.parentId=x.parentId)}C.parentOption=null}function c(w,C,x){var E=m.extend({},x),T=w[C],_=x.$action||"merge";_==="merge"?T?(m.merge(T,E,!0),u.mergeLayoutParam(T,E,{ignoreSize:!0}),u.copyLayoutParams(x,T)):w[C]=E:_==="replace"?w[C]=E:_==="remove"&&(T&&(w[C]=null))}function p(w,C){if(!w)return;w.hv=C.hv=[t(C,["left","right"]),t(C,["top","bottom"])],w.type==="group"&&(w.width==null&&(w.width=C.width=0),w.height==null&&(w.height=C.height=0))}function A(w,C,x){var E=w.eventData;!w.silent&&!w.ignore&&!E&&(E=w.eventData={componentType:"graphic",componentIndex:C.componentIndex,name:w.name}),E&&(E.info=w.info)}},f3JH:function(R,I,e){e("aTJb"),e("OlYY"),e("fc+c"),e("oY9F"),e("MqEG"),e("LBfv"),e("noeP")},f5HG:function(R,I,e){var g=e("IwbS"),f=e("QBsz"),b=g.Line.prototype,m=g.BezierCurve.prototype;function y(u){return isNaN(+u.cpx1)||isNaN(+u.cpy1)}var h=g.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(u,i){this[y(i)?"_buildPathLine":"_buildPathCurve"](u,i)},_buildPathLine:b.buildPath,_buildPathCurve:m.buildPath,pointAt:function(u){return this[y(this.shape)?"_pointAtLine":"_pointAtCurve"](u)},_pointAtLine:b.pointAt,_pointAtCurve:m.pointAt,tangentAt:function(u){var i=this.shape,a=y(i)?[i.x2-i.x1,i.y2-i.y1]:this._tangentAtCurve(u);return f.normalize(a,a)},_tangentAtCurve:m.tangentAt});R.exports=h},f5Yq:function(R,I,e){var g=e("bYtY"),f=g.isFunction;function b(m,y,h){return{seriesType:m,performRawSeries:!0,reset:function(u,i,a){var r=u.getData(),o=u.get("symbol"),d=u.get("symbolSize"),n=u.get("symbolKeepAspect"),l=u.get("symbolRotate"),t=f(o),s=f(d),c=f(l),p=t||s||c,A=!t&&o?o:y,w=s?null:d,C=c?null:C;if(r.setVisual({legendSymbol:h||A,symbol:A,symbolSize:w,symbolKeepAspect:n,symbolRotate:l}),i.isSeriesFiltered(u))return;function x(E,T){if(p){var _=u.getRawValue(T),v=u.getDataParams(T);t&&E.setItemVisual(T,"symbol",o(_,v)),s&&E.setItemVisual(T,"symbolSize",d(_,v)),c&&E.setItemVisual(T,"symbolRotate",l(_,v))}if(E.hasItemOption){var S=E.getItemModel(T),O=S.getShallow("symbol",!0),L=S.getShallow("symbolSize",!0),M=S.getShallow("symbolRotate",!0),F=S.getShallow("symbolKeepAspect",!0);O!=null&&E.setItemVisual(T,"symbol",O),L!=null&&E.setItemVisual(T,"symbolSize",L),M!=null&&E.setItemVisual(T,"symbolRotate",M),F!=null&&E.setItemVisual(T,"symbolKeepAspect",F)}}return{dataEach:r.hasItemOption||p?x:null}}}}R.exports=b},fAei:function(R,I,e){"use strict";e.d(I,"a",function(){return w.a});var g=e("rePB"),f=e("VTBJ"),b=e("KQm4"),m=e("1OyB"),y=e("vuIU"),h=e("Ji7U"),u=e("LK+K"),i=e("q1tI"),a=e("4IlW"),r=e("Kwbf"),o=e("TSYQ"),d=e.n(o),n=e("sboe"),l=e("OZM5"),t=e("815F"),s=e("ODXe"),c=e("Ff2n"),p=e("+nKL"),A=e("8XRh"),w=e("WaYH"),C=function(Q,he){var G=Q.className,ye=Q.style,Ae=Q.motion,ge=Q.motionNodes,Pe=Q.motionType,Re=Q.onMotionEnd,rt=Q.active,ne=Q.treeNodeRequiredProps,be=Object(c.a)(Q,["className","style","motion","motionNodes","motionType","onMotionEnd","active","treeNodeRequiredProps"]),at=i.useState(!0),se=Object(s.a)(at,2),q=se[0],X=se[1],Z=i.useContext(n.a),pe=Z.prefixCls,oe=i.useRef(!1),Ie=function(){oe.current||Re(),oe.current=!0};return Object(i.useEffect)(function(){ge&&Pe==="hide"&&q&&X(!1)},[ge]),Object(i.useEffect)(function(){return function(){ge&&Ie()}},[]),ge?i.createElement(A.default,Object.assign({ref:he,visible:q},Ae,{motionAppear:Pe==="show",onAppearEnd:Ie,onLeaveEnd:Ie}),function(fe,te){var J=fe.className,ve=fe.style;return i.createElement("div",{ref:te,className:d()("".concat(pe,"-treenode-motion"),J),style:ve},ge.map(function(De){var ze=De.data,dt=ze.key,Me=Object(c.a)(ze,["key"]),Tt=De.isStart,je=De.isEnd;delete Me.children;var st=Object(t.f)(dt,ne);return i.createElement(w.a,Object.assign({},Me,st,{active:rt,data:De.data,key:dt,isStart:Tt,isEnd:je}))}))}):i.createElement(w.a,Object.assign({domRef:he,className:G,style:ye},be,{active:rt}))};C.displayName="MotionTreeNode";var x=i.forwardRef(C),E=x;function T(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],he=Y.length,G=Q.length;if(Math.abs(he-G)!==1)return{add:!1,key:null};function ye(Ae,ge){var Pe=new Map;Ae.forEach(function(rt){Pe.set(rt,!0)});var Re=ge.filter(function(rt){return!Pe.has(rt)});return Re.length===1?Re[0]:null}return he<G?{add:!0,key:ye(Y,Q)}:{add:!1,key:ye(Q,Y)}}function _(Y,Q,he){var G=Y.findIndex(function(Pe){var Re=Pe.data;return Re.key===he}),ye=Y[G+1],Ae=Q.findIndex(function(Pe){var Re=Pe.data;return Re.key===he});if(ye){var ge=Q.findIndex(function(Pe){var Re=Pe.data;return Re.key===ye.data.key});return Q.slice(Ae+1,ge)}return Q.slice(Ae+1)}var v={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},S=function(){},O="RC_TREE_MOTION_".concat(Math.random()),L={key:O},M={key:O,level:0,index:0,pos:"0",node:L},F={parent:null,children:[],pos:M.pos,data:L,isStart:[],isEnd:[]};function U(Y,Q,he,G){return Q===!1||!he?Y:Y.slice(0,Math.ceil(he/G)+1)}function z(Y){var Q=Y.data.key,he=Y.pos;return Object(t.e)(Q,he)}function W(Y){for(var Q=String(Y.data.key),he=Y;he.parent;)he=he.parent,Q="".concat(he.data.key," > ").concat(Q);return Q}var N=function(Q,he){var G=Q.prefixCls,ye=Q.data,Ae=Q.selectable,ge=Q.checkable,Pe=Q.expandedKeys,Re=Q.selectedKeys,rt=Q.checkedKeys,ne=Q.loadedKeys,be=Q.loadingKeys,at=Q.halfCheckedKeys,se=Q.keyEntities,q=Q.disabled,X=Q.dragging,Z=Q.dragOverNodeKey,pe=Q.dropPosition,oe=Q.motion,Ie=Q.height,fe=Q.itemHeight,te=Q.virtual,J=Q.focusable,ve=Q.activeItem,De=Q.focused,ze=Q.tabIndex,dt=Q.onKeyDown,Me=Q.onFocus,Tt=Q.onBlur,je=Q.onActiveChange,st=Q.onListChangeStart,Xe=Q.onListChangeEnd,Je=Object(c.a)(Q,["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"]),et=i.useRef(null);i.useImperativeHandle(he,function(){return{scrollTo:function(wt){et.current.scrollTo(wt)}}});var ot=i.useState(Pe),Ve=Object(s.a)(ot,2),ue=Ve[0],ae=Ve[1],lt=i.useState(ye),Ze=Object(s.a)(lt,2),Te=Ze[0],Jt=Ze[1],mt=i.useState(ye),ft=Object(s.a)(mt,2),bt=ft[0],Lt=ft[1],or=i.useState([]),Bt=Object(s.a)(or,2),_e=Bt[0],Ce=Bt[1],Ee=i.useState(null),we=Object(s.a)(Ee,2),Fe=we[0],Ye=we[1];function Ge(){Jt(ye),Lt(ye),Ce([]),Ye(null),Xe()}i.useEffect(function(){ae(Pe);var ut=T(ue,Pe);if(ut.key!==null){if(ut.add){var wt=Te.findIndex(function(Oe){var ke=Oe.data.key;return ke===ut.key}),It=U(_(Te,ye,ut.key),te,Ie,fe),de=Te.slice();de.splice(wt+1,0,F),Lt(de),Ce(It),Ye("show")}else{var xe=ye.findIndex(function(Oe){var ke=Oe.data.key;return ke===ut.key}),$=U(_(ye,Te,ut.key),te,Ie,fe),le=ye.slice();le.splice(xe+1,0,F),Lt(le),Ce($),Ye("hide")}oe&&st()}else Te!==ye&&(Jt(ye),Lt(ye))},[Pe,ye]),i.useEffect(function(){X||Ge()},[X]);var qe=oe?bt:ye,Ke={expandedKeys:Pe,selectedKeys:Re,loadedKeys:ne,loadingKeys:be,checkedKeys:rt,halfCheckedKeys:at,dragOverNodeKey:Z,dropPosition:pe,keyEntities:se};return i.createElement(i.Fragment,null,De&&ve&&i.createElement("span",{style:v,"aria-live":"assertive"},W(ve)),i.createElement("div",{role:"tree"},i.createElement("input",{style:v,disabled:J===!1||q,tabIndex:J!==!1?ze:null,onKeyDown:dt,onFocus:Me,onBlur:Tt,value:"",onChange:S})),i.createElement(p.a,Object.assign({},Je,{data:qe,itemKey:z,height:Ie,fullHeight:!1,virtual:te,itemHeight:fe,prefixCls:"".concat(G,"-list"),ref:et}),function(ut){var wt=ut.pos,It=ut.data,de=It.key,xe=Object(c.a)(It,["key"]),$=ut.isStart,le=ut.isEnd,Oe=Object(t.e)(de,wt);delete xe.children;var ke=Object(t.f)(Oe,Ke);return i.createElement(E,Object.assign({},xe,ke,{active:ve&&de===ve.data.key,pos:wt,data:ut.data,isStart:$,isEnd:le,motion:oe,motionNodes:de===O?_e:null,motionType:Fe,onMotionEnd:Ge,treeNodeRequiredProps:Ke,onMouseMove:function(){je(null)}}))}))},H=i.forwardRef(N);H.displayName="NodeList";var j=H,k=e("NvD2"),B=function(Y){Object(h.a)(he,Y);var Q=Object(u.a)(he);function he(){var G;return Object(m.a)(this,he),G=Q.apply(this,arguments),G.destroyed=!1,G.state={keyEntities:{},selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],dragging:!1,dragNodesKeys:[],dragOverNodeKey:null,dropPosition:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null},G.listRef=i.createRef(),G.onNodeDragStart=function(ye,Ae){var ge=G.state,Pe=ge.expandedKeys,Re=ge.keyEntities,rt=G.props.onDragStart,ne=Ae.props.eventKey;G.dragNode=Ae;var be=Object(l.b)(Pe,ne);G.setState({dragging:!0,dragNodesKeys:Object(l.g)(ne,Re)}),G.setExpandedKeys(be),rt&&rt({event:ye,node:Object(t.b)(Ae.props)})},G.onNodeDragEnter=function(ye,Ae){var ge=G.state,Pe=ge.expandedKeys,Re=ge.keyEntities,rt=ge.dragNodesKeys,ne=G.props.onDragEnter,be=Ae.props,at=be.pos,se=be.eventKey;if(!G.dragNode||rt.indexOf(se)!==-1)return;var q=Object(l.c)(ye,Ae);if(G.dragNode.props.eventKey===se&&q===0){G.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){G.setState({dragOverNodeKey:se,dropPosition:q}),G.delayedDragEnterLogic||(G.delayedDragEnterLogic={}),Object.keys(G.delayedDragEnterLogic).forEach(function(X){clearTimeout(G.delayedDragEnterLogic[X])}),G.delayedDragEnterLogic[at]=window.setTimeout(function(){if(!G.state.dragging)return;var X=Object(b.a)(Pe),Z=Re[se];Z&&(Z.children||[]).length&&(X=Object(l.a)(Pe,se)),"expandedKeys"in G.props||G.setExpandedKeys(X),ne&&ne({event:ye,node:Object(t.b)(Ae.props),expandedKeys:X})},400)},0)},G.onNodeDragOver=function(ye,Ae){var ge=G.state.dragNodesKeys,Pe=G.props.onDragOver,Re=Ae.props.eventKey;if(ge.indexOf(Re)!==-1)return;if(G.dragNode&&Re===G.state.dragOverNodeKey){var rt=Object(l.c)(ye,Ae);if(rt===G.state.dropPosition)return;G.setState({dropPosition:rt})}Pe&&Pe({event:ye,node:Object(t.b)(Ae.props)})},G.onNodeDragLeave=function(ye,Ae){var ge=G.props.onDragLeave;G.setState({dragOverNodeKey:""}),ge&&ge({event:ye,node:Object(t.b)(Ae.props)})},G.onNodeDragEnd=function(ye,Ae){var ge=G.props.onDragEnd;G.setState({dragOverNodeKey:""}),G.cleanDragState(),ge&&ge({event:ye,node:Object(t.b)(Ae.props)}),G.dragNode=null},G.onNodeDrop=function(ye,Ae){var ge=G.state,Pe=ge.dragNodesKeys,Re=Pe===void 0?[]:Pe,rt=ge.dropPosition,ne=G.props.onDrop,be=Ae.props,at=be.eventKey,se=be.pos;if(G.setState({dragOverNodeKey:""}),G.cleanDragState(),Re.indexOf(at)!==-1){Object(r.a)(!1,"Can not drop to dragNode(include it's children node)");return}var q=Object(l.k)(se),X={event:ye,node:Object(t.b)(Ae.props),dragNode:G.dragNode?Object(t.b)(G.dragNode.props):null,dragNodesKeys:Re.slice(),dropPosition:rt+Number(q[q.length-1]),dropToGap:!1};rt!==0&&(X.dropToGap=!0),ne&&ne(X),G.dragNode=null},G.cleanDragState=function(){var ye=G.state.dragging;ye&&G.setState({dragging:!1})},G.onNodeClick=function(ye,Ae){var ge=G.props.onClick;ge&&ge(ye,Ae)},G.onNodeDoubleClick=function(ye,Ae){var ge=G.props.onDoubleClick;ge&&ge(ye,Ae)},G.onNodeSelect=function(ye,Ae){var ge=G.state.selectedKeys,Pe=G.state.keyEntities,Re=G.props,rt=Re.onSelect,ne=Re.multiple,be=Ae.selected,at=Ae.key,se=!be;se?ne?ge=Object(l.a)(ge,at):ge=[at]:ge=Object(l.b)(ge,at);var q=ge.map(function(X){var Z=Pe[X];return Z?Z.node:null}).filter(function(X){return X});G.setUncontrolledState({selectedKeys:ge}),rt&&rt(ge,{event:"select",selected:se,node:Ae,selectedNodes:q,nativeEvent:ye.nativeEvent})},G.onNodeCheck=function(ye,Ae,ge){var Pe=G.state,Re=Pe.keyEntities,rt=Pe.checkedKeys,ne=Pe.halfCheckedKeys,be=G.props,at=be.checkStrictly,se=be.onCheck,q=Ae.key,X,Z={event:"check",node:Ae,checked:ge,nativeEvent:ye.nativeEvent};if(at){var pe=ge?Object(l.a)(rt,q):Object(l.b)(rt,q),oe=Object(l.b)(ne,q);X={checked:pe,halfChecked:oe},Z.checkedNodes=pe.map(function(De){return Re[De]}).filter(function(De){return De}).map(function(De){return De.node}),G.setUncontrolledState({checkedKeys:pe})}else{var Ie=Object(k.a)([].concat(Object(b.a)(rt),[q]),!0,Re),fe=Ie.checkedKeys,te=Ie.halfCheckedKeys;if(!ge){var J=new Set(fe);J.delete(q);var ve=Object(k.a)(Array.from(J),{checked:!1,halfCheckedKeys:te},Re);fe=ve.checkedKeys,te=ve.halfCheckedKeys}X=fe,Z.checkedNodes=[],Z.checkedNodesPositions=[],Z.halfCheckedKeys=te,fe.forEach(function(De){var ze=Re[De];if(!ze)return;var dt=ze.node,Me=ze.pos;Z.checkedNodes.push(dt),Z.checkedNodesPositions.push({node:dt,pos:Me})}),G.setUncontrolledState({checkedKeys:fe},!1,{halfCheckedKeys:te})}se&&se(X,Z)},G.onNodeLoad=function(ye){return new Promise(function(Ae){G.setState(function(ge){var Pe=ge.loadedKeys,Re=Pe===void 0?[]:Pe,rt=ge.loadingKeys,ne=rt===void 0?[]:rt,be=G.props,at=be.loadData,se=be.onLoad,q=ye.key;if(!at||Re.indexOf(q)!==-1||ne.indexOf(q)!==-1)return{};var X=at(ye);return X.then(function(){var Z=G.state,pe=Z.loadedKeys,oe=Z.loadingKeys,Ie=Object(l.a)(pe,q),fe=Object(l.b)(oe,q);se&&se(Ie,{event:"load",node:ye}),G.setUncontrolledState({loadedKeys:Ie}),G.setState({loadingKeys:fe}),Ae()}),{loadingKeys:Object(l.a)(ne,q)}})})},G.onNodeMouseEnter=function(ye,Ae){var ge=G.props.onMouseEnter;ge&&ge({event:ye,node:Ae})},G.onNodeMouseLeave=function(ye,Ae){var ge=G.props.onMouseLeave;ge&&ge({event:ye,node:Ae})},G.onNodeContextMenu=function(ye,Ae){var ge=G.props.onRightClick;ge&&(ye.preventDefault(),ge({event:ye,node:Ae}))},G.onFocus=function(){var ye=G.props.onFocus;G.setState({focused:!0}),ye&&ye.apply(void 0,arguments)},G.onBlur=function(){var ye=G.props.onBlur;G.setState({focused:!1}),G.onActiveChange(null),ye&&ye.apply(void 0,arguments)},G.getTreeNodeRequiredProps=function(){var ye=G.state,Ae=ye.expandedKeys,ge=ye.selectedKeys,Pe=ye.loadedKeys,Re=ye.loadingKeys,rt=ye.checkedKeys,ne=ye.halfCheckedKeys,be=ye.dragOverNodeKey,at=ye.dropPosition,se=ye.keyEntities;return{expandedKeys:Ae||[],selectedKeys:ge||[],loadedKeys:Pe||[],loadingKeys:Re||[],checkedKeys:rt||[],halfCheckedKeys:ne||[],dragOverNodeKey:be,dropPosition:at,keyEntities:se}},G.setExpandedKeys=function(ye){var Ae=G.state.treeData,ge=Object(t.d)(Ae,ye);G.setUncontrolledState({expandedKeys:ye,flattenNodes:ge},!0)},G.onNodeExpand=function(ye,Ae){var ge=G.state.expandedKeys,Pe=G.state.listChanging,Re=G.props,rt=Re.onExpand,ne=Re.loadData,be=Ae.key,at=Ae.expanded;if(Pe)return;var se=ge.indexOf(be),q=!at;if(Object(r.a)(at&&se!==-1||!at&&se===-1,"Expand state not sync with index check"),q?ge=Object(l.a)(ge,be):ge=Object(l.b)(ge,be),G.setExpandedKeys(ge),rt&&rt(ge,{node:Ae,expanded:q,nativeEvent:ye.nativeEvent}),q&&ne){var X=G.onNodeLoad(Ae);X&&X.then(function(){var Z=Object(t.d)(G.state.treeData,ge);G.setUncontrolledState({flattenNodes:Z})})}},G.onListChangeStart=function(){G.setUncontrolledState({listChanging:!0})},G.onListChangeEnd=function(){setTimeout(function(){G.setUncontrolledState({listChanging:!1})})},G.onActiveChange=function(ye){var Ae=G.state.activeKey,ge=G.props.onActiveChange;if(Ae===ye)return;G.setState({activeKey:ye}),ye!==null&&G.scrollTo({key:ye}),ge&&ge(ye)},G.getActiveItem=function(){var ye=G.state,Ae=ye.activeKey,ge=ye.flattenNodes;return Ae===null?null:ge.find(function(Pe){var Re=Pe.data.key;return Re===Ae})||null},G.offsetActiveKey=function(ye){var Ae=G.state,ge=Ae.flattenNodes,Pe=Ae.activeKey,Re=ge.findIndex(function(be){var at=be.data.key;return at===Pe});Re===-1&&ye<0&&(Re=ge.length),Re=(Re+ye+ge.length)%ge.length;var rt=ge[Re];if(rt){var ne=rt.data.key;G.onActiveChange(ne)}else G.onActiveChange(null)},G.onKeyDown=function(ye){var Ae=G.state,ge=Ae.activeKey,Pe=Ae.expandedKeys,Re=Ae.checkedKeys,rt=G.props,ne=rt.onKeyDown,be=rt.checkable,at=rt.selectable;switch(ye.which){case a.a.UP:{G.offsetActiveKey(-1),ye.preventDefault();break}case a.a.DOWN:{G.offsetActiveKey(1),ye.preventDefault();break}}var se=G.getActiveItem();if(se&&se.data){var q=G.getTreeNodeRequiredProps(),X=se.data.isLeaf===!1||!!(se.data.children||[]).length,Z=Object(t.b)(Object(f.a)(Object(f.a)({},Object(t.f)(ge,q)),{},{data:se.data,active:!0}));switch(ye.which){case a.a.LEFT:{X&&Pe.includes(ge)?G.onNodeExpand({},Z):se.parent&&G.onActiveChange(se.parent.data.key),ye.preventDefault();break}case a.a.RIGHT:{X&&!Pe.includes(ge)?G.onNodeExpand({},Z):se.children&&se.children.length&&G.onActiveChange(se.children[0].data.key),ye.preventDefault();break}case a.a.ENTER:case a.a.SPACE:{be&&!Z.disabled&&Z.checkable!==!1&&!Z.disableCheckbox?G.onNodeCheck({},Z,!Re.includes(ge)):!be&&at&&!Z.disabled&&Z.selectable!==!1&&G.onNodeSelect({},Z);break}}}ne&&ne(ye)},G.setUncontrolledState=function(ye){var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(G.destroyed)return;var Pe=!1,Re=!0,rt={};Object.keys(ye).forEach(function(ne){if(ne in G.props){Re=!1;return}Pe=!0,rt[ne]=ye[ne]}),Pe&&(!Ae||Re)&&G.setState(Object(f.a)(Object(f.a)({},rt),ge))},G.scrollTo=function(ye){G.listRef.current.scrollTo(ye)},G}return Object(y.a)(he,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var ye,Ae=this.state,ge=Ae.focused,Pe=Ae.flattenNodes,Re=Ae.keyEntities,rt=Ae.dragging,ne=Ae.activeKey,be=this.props,at=be.prefixCls,se=be.className,q=be.style,X=be.showLine,Z=be.focusable,pe=be.tabIndex,oe=pe===void 0?0:pe,Ie=be.selectable,fe=be.showIcon,te=be.icon,J=be.switcherIcon,ve=be.draggable,De=be.checkable,ze=be.checkStrictly,dt=be.disabled,Me=be.motion,Tt=be.loadData,je=be.filterTreeNode,st=be.height,Xe=be.itemHeight,Je=be.virtual,et=be.titleRender,ot=Object(l.f)(this.props);return i.createElement(n.a.Provider,{value:{prefixCls:at,selectable:Ie,showIcon:fe,icon:te,switcherIcon:J,draggable:ve,checkable:De,checkStrictly:ze,disabled:dt,keyEntities:Re,loadData:Tt,filterTreeNode:je,titleRender:et,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},i.createElement("div",{className:d()(at,se,(ye={},Object(g.a)(ye,"".concat(at,"-show-line"),X),Object(g.a)(ye,"".concat(at,"-focused"),ge),Object(g.a)(ye,"".concat(at,"-active-focused"),ne!==null),ye))},i.createElement(j,Object.assign({ref:this.listRef,prefixCls:at,style:q,data:Pe,disabled:dt,selectable:Ie,checkable:!!De,motion:Me,dragging:rt,height:st,itemHeight:Xe,virtual:Je,focusable:Z,focused:ge,tabIndex:oe,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd},this.getTreeNodeRequiredProps(),ot))))}}],[{key:"getDerivedStateFromProps",value:function(ye,Ae){var ge=Ae.prevProps,Pe={prevProps:ye};function Re(te){return!ge&&te in ye||ge&&ge[te]!==ye[te]}var rt;if(Re("treeData")?rt=ye.treeData:Re("children")&&(Object(r.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),rt=Object(t.c)(ye.children)),rt){Pe.treeData=rt;var ne=Object(t.a)(rt);Pe.keyEntities=Object(f.a)(Object(g.a)({},O,M),ne.keyEntities)}var be=Pe.keyEntities||Ae.keyEntities;if(Re("expandedKeys")||ge&&Re("autoExpandParent"))Pe.expandedKeys=ye.autoExpandParent||!ge&&ye.defaultExpandParent?Object(l.e)(ye.expandedKeys,be):ye.expandedKeys;else if(!ge&&ye.defaultExpandAll){var at=Object(f.a)({},be);delete at[O],Pe.expandedKeys=Object.keys(at).map(function(te){return at[te].key})}else!ge&&ye.defaultExpandedKeys&&(Pe.expandedKeys=ye.autoExpandParent||ye.defaultExpandParent?Object(l.e)(ye.defaultExpandedKeys,be):ye.defaultExpandedKeys);if(Pe.expandedKeys||delete Pe.expandedKeys,rt||Pe.expandedKeys){var se=Object(t.d)(rt||Ae.treeData,Pe.expandedKeys||Ae.expandedKeys);Pe.flattenNodes=se}if(ye.selectable&&(Re("selectedKeys")?Pe.selectedKeys=Object(l.d)(ye.selectedKeys,ye):!ge&&ye.defaultSelectedKeys&&(Pe.selectedKeys=Object(l.d)(ye.defaultSelectedKeys,ye))),ye.checkable){var q;if(Re("checkedKeys")?q=Object(l.j)(ye.checkedKeys)||{}:!ge&&ye.defaultCheckedKeys?q=Object(l.j)(ye.defaultCheckedKeys)||{}:rt&&(q=Object(l.j)(ye.checkedKeys)||{checkedKeys:Ae.checkedKeys,halfCheckedKeys:Ae.halfCheckedKeys}),q){var X=q,Z=X.checkedKeys,pe=Z===void 0?[]:Z,oe=X.halfCheckedKeys,Ie=oe===void 0?[]:oe;if(!ye.checkStrictly){var fe=Object(k.a)(pe,!0,be);pe=fe.checkedKeys,Ie=fe.halfCheckedKeys}Pe.checkedKeys=pe,Pe.halfCheckedKeys=Ie}}return Re("loadedKeys")&&(Pe.loadedKeys=ye.loadedKeys),Pe}}]),he}(i.Component);B.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[]},B.TreeNode=w.a;var V=B,K=I.b=V},fE02:function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("/IIm"),m=e("vZ6x"),y=e("b9oc"),h=e("72pK"),u=e("Kagy"),i=e("IUWy");e("3TkU");var a=u.toolbox.dataZoom,r=f.each,o="\0_ec_\0toolbox-dataZoom_";function d(A,w,C){(this._brushController=new b(C.getZr())).on("brush",f.bind(this._onBrush,this)).mount(),this._isZoomActive}d.defaultOption={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:f.clone(a.title)};var n=d.prototype;n.render=function(A,w,C,x){this.model=A,this.ecModel=w,this.api=C,c(A,w,this,x,C),s(A,w)},n.onclick=function(A,w,C){l[C].call(this)},n.remove=function(A,w){this._brushController.unmount()},n.dispose=function(A,w){this._brushController.dispose()};var l={zoom:function(){var A=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:A})},back:function(){this._dispatchZoomAction(y.pop(this.ecModel))}};n._onBrush=function(A,w){if(!w.isEnd||!A.length)return;var C={},x=this.ecModel;this._brushController.updateCovers([]);var E=new m(t(this.model.option),x,{include:["grid"]});E.matchOutputRanges(A,x,function(v,S,O){if(O.type!=="cartesian2d")return;var L=v.brushType;L==="rect"?(T("x",O,S[0]),T("y",O,S[1])):T({lineX:"x",lineY:"y"}[L],O,S)}),y.push(x,C),this._dispatchZoomAction(C);function T(v,S,O){var L=S.getAxis(v),M=L.model,F=_(v,M,x),U=F.findRepresentativeAxisProxy(M).getMinMaxSpan();(U.minValueSpan!=null||U.maxValueSpan!=null)&&(O=h(0,O.slice(),L.scale.getExtent(),0,U.minValueSpan,U.maxValueSpan)),F&&(C[F.id]={dataZoomId:F.id,startValue:O[0],endValue:O[1]})}function _(v,S,O){var L;return O.eachComponent({mainType:"dataZoom",subType:"select"},function(M){var F=M.getAxisModel(v,S.componentIndex);F&&(L=M)}),L}},n._dispatchZoomAction=function(A){var w=[];r(A,function(C,x){w.push(f.clone(C))}),w.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:w})};function t(A){var w={};return f.each(["xAxisIndex","yAxisIndex"],function(C){w[C]=A[C],w[C]==null&&(w[C]="all"),(w[C]===!1||w[C]==="none")&&(w[C]=[])}),w}function s(A,w){A.setIconStatus("back",y.count(w)>1?"emphasis":"normal")}function c(A,w,C,x,E){var T=C._isZoomActive;x&&x.type==="takeGlobalCursor"&&(T=x.key==="dataZoomSelect"?x.dataZoomSelectActive:!1),C._isZoomActive=T,A.setIconStatus("zoom",T?"emphasis":"normal");var _=new m(t(A.option),w,{include:["grid"]});C._brushController.setPanels(_.makePanelOpts(E,function(v){return v.xAxisDeclared&&!v.yAxisDeclared?"lineX":!v.xAxisDeclared&&v.yAxisDeclared?"lineY":"rect"})).enableBrush(T?{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}}:!1)}i.register("dataZoom",d),g.registerPreprocessor(function(A){if(!A)return;var w=A.dataZoom||(A.dataZoom=[]);f.isArray(w)||(A.dataZoom=w=[w]);var C=A.toolbox;if(C&&(f.isArray(C)&&(C=C[0]),C&&C.feature)){var x=C.feature.dataZoom;E("xAxis",x),E("yAxis",x)}function E(_,v){if(!v)return;var S=_+"Index",O=v[S];O!=null&&O!=="all"&&!f.isArray(O)&&(O=O===!1||O==="none"?[]:[O]),T(_,function(L,M){if(O!=null&&O!=="all"&&f.indexOf(O,M)===-1)return;var F={type:"select",$fromToolbox:!0,filterMode:v.filterMode||"filter",id:o+_+M};F[S]=M,w.push(F)})}function T(_,v){var S=A[_];f.isArray(S)||(S=S?[S]:[]),r(S,v)}});var p=d;R.exports=p},fGT3:function(R,I,e){var g=e("4kuk"),f=e("Xi7e"),b=e("ebwN");function m(){this.size=0,this.__data__={hash:new g,map:new(b||f),string:new g}}R.exports=m},fNCr:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("tSko"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},"fR/l":function(R,I,e){var g=e("CH3K"),f=e("Z0cm");function b(m,y,h){var u=y(m);return f(m)?u:g(u,h(m))}R.exports=b},fUL4:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("r+aA"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},fV52:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("6/k+"),m=e.n(b)},fW2E:function(R,I){var e={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function g(f,b,m){return e.hasOwnProperty(b)?m*=f.dpr:m}R.exports=g},"fc+c":function(R,I,e){var g=e("sS/r"),f=g.extend({type:"dataZoom",render:function(b,m,y,h){this.dataZoomModel=b,this.ecModel=m,this.api=y},getTargetCoordInfo:function(){var b=this.dataZoomModel,m=this.ecModel,y={};b.eachTargetAxis(function(u,i){var a=m.getComponent(u.axis,i);if(a){var r=a.getCoordSysModel();r&&h(r,a,y[r.mainType]||(y[r.mainType]=[]),r.componentIndex)}},this);function h(u,i,a,r){for(var o,d=0;d<a.length;d++)if(a[d].model===u){o=a[d];break}o||a.push(o={model:u,axisModels:[],coordIndex:r}),o.axisModels.push(i)}return y}});R.exports=f},fjKi:function(R,I,e){var g=e("ProS");e("Q7if"),e("jndi"),g.registerPreprocessor(function(f){f.markArea=f.markArea||{}})},fls0:function(R,I,e){var g=e("bYtY"),f=e("QBsz"),b=e("oVpE"),m=e("f5HG"),y=e("IwbS"),h=e("OELB"),u=h.round,i=["fromSymbol","toSymbol"];function a(c){return"_"+c+"Type"}function r(c,p,A){var w=p.getItemVisual(A,"color"),C=p.getItemVisual(A,c),x=p.getItemVisual(A,c+"Size");if(!C||C==="none")return;g.isArray(x)||(x=[x,x]);var E=b.createSymbol(C,-x[0]/2,-x[1]/2,x[0],x[1],w);return E.name=c,E}function o(c){var p=new m({name:"line",subPixelOptimize:!0});return d(p.shape,c),p}function d(c,p){c.x1=p[0][0],c.y1=p[0][1],c.x2=p[1][0],c.y2=p[1][1],c.percent=1;var A=p[2];A?(c.cpx1=A[0],c.cpy1=A[1]):(c.cpx1=NaN,c.cpy1=NaN)}function n(){var c=this,p=c.childOfName("fromSymbol"),A=c.childOfName("toSymbol"),w=c.childOfName("label");if(!p&&!A&&w.ignore)return;for(var C=1,x=this.parent;x;)x.scale&&(C/=x.scale[0]),x=x.parent;var E=c.childOfName("line");if(!this.__dirty&&!E.__dirty)return;var T=E.shape.percent,_=E.pointAt(0),v=E.pointAt(T),S=f.sub([],v,_);if(f.normalize(S,S),p){p.attr("position",_);var O=E.tangentAt(0);p.attr("rotation",Math.PI/2-Math.atan2(O[1],O[0])),p.attr("scale",[C*T,C*T])}if(A){A.attr("position",v);var O=E.tangentAt(1);A.attr("rotation",-Math.PI/2-Math.atan2(O[1],O[0])),A.attr("scale",[C*T,C*T])}if(!w.ignore){w.attr("position",v);var L,M,F,U,z=w.__labelDistance,W=z[0]*C,N=z[1]*C,H=T/2,O=E.tangentAt(H),j=[O[1],-O[0]],k=E.pointAt(H);j[1]>0&&(j[0]=-j[0],j[1]=-j[1]);var B=O[0]<0?-1:1;if(w.__position!=="start"&&w.__position!=="end"){var V=-Math.atan2(O[1],O[0]);v[0]<_[0]&&(V=Math.PI+V),w.attr("rotation",V)}var K;switch(w.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":K=-N,F="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":K=N,F="top";break;default:K=0,F="middle"}switch(w.__position){case"end":L=[S[0]*W+v[0],S[1]*N+v[1]],M=S[0]>.8?"left":S[0]<-.8?"right":"center",F=S[1]>.8?"top":S[1]<-.8?"bottom":"middle";break;case"start":L=[-S[0]*W+_[0],-S[1]*N+_[1]],M=S[0]>.8?"right":S[0]<-.8?"left":"center",F=S[1]>.8?"bottom":S[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":L=[W*B+_[0],_[1]+K],M=O[0]<0?"right":"left",U=[-W*B,-K];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":L=[k[0],k[1]+K],M="center",U=[0,-K];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":L=[-W*B+v[0],v[1]+K],M=O[0]>=0?"right":"left",U=[W*B,-K];break}w.attr({style:{textVerticalAlign:w.__verticalAlign||F,textAlign:w.__textAlign||M},position:L,scale:[C,C],origin:U})}}function l(c,p,A){y.Group.call(this),this._createLine(c,p,A)}var t=l.prototype;t.beforeUpdate=n,t._createLine=function(c,p,A){var w=c.hostModel,C=c.getItemLayout(p),x=o(C);x.shape.percent=0,y.initProps(x,{shape:{percent:1}},w,p),this.add(x);var E=new y.Text({name:"label",lineLabelOriginalOpacity:1});this.add(E),g.each(i,function(T){var _=r(T,c,p);this.add(_),this[a(T)]=c.getItemVisual(p,T)},this),this._updateCommonStl(c,p,A)},t.updateData=function(c,p,A){var w=c.hostModel,C=this.childOfName("line"),x=c.getItemLayout(p),E={shape:{}};d(E.shape,x),y.updateProps(C,E,w,p),g.each(i,function(T){var _=c.getItemVisual(p,T),v=a(T);if(this[v]!==_){this.remove(this.childOfName(T));var S=r(T,c,p);this.add(S)}this[v]=_},this),this._updateCommonStl(c,p,A)},t._updateCommonStl=function(c,p,A){var w=c.hostModel,C=this.childOfName("line"),x=A&&A.lineStyle,E=A&&A.hoverLineStyle,T=A&&A.labelModel,_=A&&A.hoverLabelModel;if(!A||c.hasItemOption){var v=c.getItemModel(p);x=v.getModel("lineStyle").getLineStyle(),E=v.getModel("emphasis.lineStyle").getLineStyle(),T=v.getModel("label"),_=v.getModel("emphasis.label")}var S=c.getItemVisual(p,"color"),O=g.retrieve3(c.getItemVisual(p,"opacity"),x.opacity,1);C.useStyle(g.defaults({strokeNoScale:!0,fill:"none",stroke:S,opacity:O},x)),C.hoverStyle=E,g.each(i,function(B){var V=this.childOfName(B);V&&(V.setColor(S),V.setStyle({opacity:O}))},this);var L=T.getShallow("show"),M=_.getShallow("show"),F=this.childOfName("label"),U,z;if((L||M)&&(U=S||"#000",z=w.getFormattedLabel(p,"normal",c.dataType),z==null)){var W=w.getRawValue(p);z=W==null?c.getName(p):isFinite(W)?u(W):W}var N=L?z:null,H=M?g.retrieve2(w.getFormattedLabel(p,"emphasis",c.dataType),z):null,j=F.style;if(N!=null||H!=null){y.setTextStyle(F.style,T,{text:N},{autoColor:U}),F.__textAlign=j.textAlign,F.__verticalAlign=j.textVerticalAlign,F.__position=T.get("position")||"middle";var k=T.get("distance");g.isArray(k)||(k=[k,k]),F.__labelDistance=k}H!=null?F.hoverStyle={text:H,textFill:_.getTextColor(!0),fontStyle:_.getShallow("fontStyle"),fontWeight:_.getShallow("fontWeight"),fontSize:_.getShallow("fontSize"),fontFamily:_.getShallow("fontFamily")}:F.hoverStyle={text:null},F.ignore=!L&&!M,y.setHoverStyle(this)},t.highlight=function(){this.trigger("emphasis")},t.downplay=function(){this.trigger("normal")},t.updateLayout=function(c,p){this.setLinePoints(c.getItemLayout(p))},t.setLinePoints=function(c){var p=this.childOfName("line");d(p.shape,c),p.dirty()},g.inherits(l,y.Group);var s=l;R.exports=s},fmMI:function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("bYtY"),m=b.each,y=b.filter,h=b.map,u=b.isArray,i=b.indexOf,a=b.isObject,r=b.isString,o=b.createHashMap,d=b.assert,n=b.clone,l=b.merge,t=b.extend,s=b.mixin,c=e("4NO4"),p=e("Qxkt"),A=e("bLfw"),w=e("iXHM"),C=e("5Hur"),x=e("D5nY"),E=x.resetSourceDefaulter,T="\0_ec_inner",_=p.extend({init:function(N,H,j,k){j=j||{},this.option=null,this._theme=new p(j),this._optionManager=k},setOption:function(N,H){d(!(T in N),"please use chart.getOption()"),this._optionManager.setOption(N,H),this.resetOption(null)},resetOption:function(N){var H=!1,j=this._optionManager;if(!N||N==="recreate"){var k=j.mountOption(N==="recreate");!this.option||N==="recreate"?O.call(this,k):(this.restoreData(),this.mergeOption(k)),H=!0}if((N==="timeline"||N==="media")&&this.restoreData(),!N||N==="recreate"||N==="timeline"){var B=j.getTimelineOption(this);B&&(this.mergeOption(B),H=!0)}if(!N||N==="recreate"||N==="media"){var V=j.getMediaOption(this,this._api);V.length&&m(V,function(K){this.mergeOption(K,H=!0)},this)}return H},mergeOption:function(N){var H=this.option,j=this._componentsMap,k=[];E(this),m(N,function(V,K){if(V==null)return;A.hasClass(K)?K&&k.push(K):H[K]=H[K]==null?n(V):l(H[K],V,!0)}),A.topologicalTravel(k,A.getAllClassMainTypes(),B,this);function B(V,K){var Y=c.normalizeToArray(N[V]),Q=c.mappingToExists(j.get(V),Y);c.makeIdAndName(Q),m(Q,function(G,ye){var Ae=G.option;a(Ae)&&(G.keyInfo.mainType=V,G.keyInfo.subType=M(V,Ae,G.exist))});var he=L(j,K);H[V]=[],j.set(V,[]),m(Q,function(G,ye){var Ae=G.exist,ge=G.option;if(d(a(ge)||Ae,"Empty component definition"),!ge)Ae.mergeOption({},this),Ae.optionUpdated({},!1);else{var Pe=A.getClass(V,G.keyInfo.subType,!0);if(Ae&&Ae.constructor===Pe)Ae.name=G.keyInfo.name,Ae.mergeOption(ge,this),Ae.optionUpdated(ge,!1);else{var Re=t({dependentModels:he,componentIndex:ye},G.keyInfo);Ae=new Pe(ge,this,this,Re),t(Ae,Re),Ae.init(ge,this,this,Re),Ae.optionUpdated(null,!0)}}j.get(V)[ye]=Ae,H[V][ye]=Ae.option},this),V==="series"&&F(this,j.get("series"))}this._seriesIndicesMap=o(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var N=n(this.option);return m(N,function(H,j){if(A.hasClass(j)){for(var H=c.normalizeToArray(H),k=H.length-1;k>=0;k--)c.isIdInner(H[k])&&H.splice(k,1);N[j]=H}}),delete N[T],N},getTheme:function(){return this._theme},getComponent:function(N,H){var j=this._componentsMap.get(N);if(j)return j[H||0]},queryComponents:function(N){var H=N.mainType;if(!H)return[];var j=N.index,k=N.id,B=N.name,V=this._componentsMap.get(H);if(!V||!V.length)return[];var K;if(j!=null)u(j)||(j=[j]),K=y(h(j,function(he){return V[he]}),function(he){return!!he});else if(k!=null){var Y=u(k);K=y(V,function(he){return Y&&i(k,he.id)>=0||!Y&&he.id===k})}else if(B!=null){var Q=u(B);K=y(V,function(he){return Q&&i(B,he.name)>=0||!Q&&he.name===B})}else K=V.slice();return U(K,N)},findComponents:function(N){var H=N.query,j=N.mainType,k=V(H),B=k?this.queryComponents(k):this._componentsMap.get(j);return K(U(B,N));function V(Y){var Q=j+"Index",he=j+"Id",G=j+"Name";return Y&&(Y[Q]!=null||Y[he]!=null||Y[G]!=null)?{mainType:j,index:Y[Q],id:Y[he],name:Y[G]}:null}function K(Y){return N.filter?y(Y,N.filter):Y}},eachComponent:function(N,H,j){var k=this._componentsMap;if(typeof N=="function")j=H,H=N,k.each(function(V,K){m(V,function(Y,Q){H.call(j,K,Y,Q)})});else if(r(N))m(k.get(N),H,j);else if(a(N)){var B=this.findComponents(N);m(B,H,j)}},getSeriesByName:function(N){var H=this._componentsMap.get("series");return y(H,function(j){return j.name===N})},getSeriesByIndex:function(N){return this._componentsMap.get("series")[N]},getSeriesByType:function(N){var H=this._componentsMap.get("series");return y(H,function(j){return j.subType===N})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(N,H){z(this),m(this._seriesIndices,function(j){var k=this._componentsMap.get("series")[j];N.call(H,k,j)},this)},eachRawSeries:function(N,H){m(this._componentsMap.get("series"),N,H)},eachSeriesByType:function(N,H,j){z(this),m(this._seriesIndices,function(k){var B=this._componentsMap.get("series")[k];B.subType===N&&H.call(j,B,k)},this)},eachRawSeriesByType:function(N,H,j){return m(this.getSeriesByType(N),H,j)},isSeriesFiltered:function(N){return z(this),this._seriesIndicesMap.get(N.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(N,H){z(this);var j=y(this._componentsMap.get("series"),N,H);F(this,j)},restoreData:function(N){var H=this._componentsMap;F(this,H.get("series"));var j=[];H.each(function(k,B){j.push(B)}),A.topologicalTravel(j,A.getAllClassMainTypes(),function(k,B){m(H.get(k),function(V){(k!=="series"||!v(V,N))&&V.restoreData()})})}});function v(N,H){if(H){var j=H.seiresIndex,k=H.seriesId,B=H.seriesName;return j!=null&&N.componentIndex!==j||k!=null&&N.id!==k||B!=null&&N.name!==B}}function S(N,H){var j=N.color&&!N.colorLayer;m(H,function(k,B){if(B==="colorLayer"&&j)return;A.hasClass(B)||(typeof k=="object"?N[B]=N[B]?l(N[B],k,!1):n(k):N[B]==null&&(N[B]=k))})}function O(N){N=N,this.option={},this.option[T]=1,this._componentsMap=o({series:[]}),this._seriesIndices,this._seriesIndicesMap,S(N,this._theme.option),l(N,w,!1),this.mergeOption(N)}function L(N,H){u(H)||(H=H?[H]:[]);var j={};return m(H,function(k){j[k]=(N.get(k)||[]).slice()}),j}function M(N,H,j){var k=H.type?H.type:j?j.subType:A.determineSubType(N,H);return k}function F(N,H){N._seriesIndicesMap=o(N._seriesIndices=h(H,function(j){return j.componentIndex})||[])}function U(N,H){return H.hasOwnProperty("subType")?y(N,function(j){return j.subType===H.subType}):N}function z(N){}s(_,C);var W=_;R.exports=W},fmRc:function(R,I,e){var g=e("Xi7e"),f=e("77Zs"),b=e("L8xA"),m=e("gCq4"),y=e("VaNO"),h=e("0Cz8");function u(i){var a=this.__data__=new g(i);this.size=a.size}u.prototype.clear=f,u.prototype.delete=b,u.prototype.get=m,u.prototype.has=y,u.prototype.set=h,R.exports=u},ftKO:function(R,I){var e="__lodash_hash_undefined__";function g(f){return this.__data__.set(f,e),this}R.exports=g},fu2T:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("3dVZ"),m=e.n(b)},fyUT:function(R,I,e){"use strict";var g=e("pVnL"),f=e.n(g),b=e("lSNA"),m=e.n(b),y=e("q1tI"),h=e.n(y),u=e("TSYQ"),i=e.n(u),a=e("Ff2n"),r=e("rePB"),o=e("1OyB"),d=e("vuIU"),n=e("Ji7U"),l=e("md7G"),t=e("foSv"),s=e("4IlW");function c(K,Y){var Q=Object.keys(K);if(Object.getOwnPropertySymbols){var he=Object.getOwnPropertySymbols(K);Y&&(he=he.filter(function(G){return Object.getOwnPropertyDescriptor(K,G).enumerable})),Q.push.apply(Q,he)}return Q}function p(K){for(var Y=1;Y<arguments.length;Y++){var Q=arguments[Y]!=null?arguments[Y]:{};Y%2?c(Object(Q),!0).forEach(function(he){Object(r.a)(K,he,Q[he])}):Object.getOwnPropertyDescriptors?Object.defineProperties(K,Object.getOwnPropertyDescriptors(Q)):c(Object(Q)).forEach(function(he){Object.defineProperty(K,he,Object.getOwnPropertyDescriptor(Q,he))})}return K}function A(K){var Y=w();return function(){var he=Object(t.a)(K),G;if(Y){var ye=Object(t.a)(this).constructor;G=Reflect.construct(he,arguments,ye)}else G=he.apply(this,arguments);return Object(l.a)(this,G)}}function w(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(K){return!1}}function C(){}function x(K){K.preventDefault()}var E=function(Y){return Y.replace(/[^\w.-]+/g,"")},T=200,_=600,v=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,S=function(Y){return Y!=null},O=function(Y,Q){return Q===Y||typeof Q=="number"&&typeof Y=="number"&&isNaN(Q)&&isNaN(Y)},L=function(K){Object(n.a)(Q,K);var Y=A(Q);function Q(he){var G;Object(o.a)(this,Q),G=Y.call(this,he),G.onKeyDown=function(ge){var Pe=G.props,Re=Pe.onKeyDown,rt=Pe.onPressEnter;if(ge.keyCode===s.a.UP){var ne=G.getRatio(ge);G.up(ge,ne,null),G.stop()}else if(ge.keyCode===s.a.DOWN){var be=G.getRatio(ge);G.down(ge,be,null),G.stop()}else ge.keyCode===s.a.ENTER&&rt&&rt(ge);if(G.recordCursorPosition(),G.lastKeyCode=ge.keyCode,Re){for(var at=arguments.length,se=new Array(at>1?at-1:0),q=1;q<at;q++)se[q-1]=arguments[q];Re.apply(void 0,[ge].concat(se))}},G.onKeyUp=function(ge){var Pe=G.props.onKeyUp;if(G.stop(),G.recordCursorPosition(),Pe){for(var Re=arguments.length,rt=new Array(Re>1?Re-1:0),ne=1;ne<Re;ne++)rt[ne-1]=arguments[ne];Pe.apply(void 0,[ge].concat(rt))}},G.onChange=function(ge){var Pe=G.props.onChange;G.state.focused&&(G.inputting=!0),G.rawInput=G.props.parser(G.getValueFromEvent(ge)),G.setState({inputValue:G.rawInput}),Pe(G.toNumber(G.rawInput))},G.onMouseUp=function(){var ge=G.props.onMouseUp;G.recordCursorPosition(),ge&&ge.apply(void 0,arguments)},G.onFocus=function(){var ge;G.setState({focused:!0}),(ge=G.props).onFocus.apply(ge,arguments)},G.onBlur=function(){var ge=G.props.onBlur;G.inputting=!1,G.setState({focused:!1});var Pe=G.getCurrentValidValue(G.state.inputValue),Re=G.setValue(Pe,C);if(ge){var rt=G.input.value,ne=G.getInputDisplayValue({focus:!1,value:Re});G.input.value=ne&&Number(ne),ge.apply(void 0,arguments),G.input.value=rt}},G.getRatio=function(ge){var Pe=1;return ge.metaKey||ge.ctrlKey?Pe=.1:ge.shiftKey&&(Pe=10),Pe},G.getFullNum=function(ge){return isNaN(ge)?ge:/e/i.test(String(ge))?Number(ge).toFixed(18).replace(/\.?0+$/,""):ge},G.getPrecision=function(ge){if(S(G.props.precision))return G.props.precision;var Pe=String(ge);if(Pe.indexOf("e-")>=0)return parseInt(Pe.slice(Pe.indexOf("e-")+2),10);var Re=0;return Pe.indexOf(".")>=0&&(Re=Pe.length-Pe.indexOf(".")-1),Re},G.getInputDisplayValue=function(ge){var Pe=ge||G.state,Re=Pe.focused,rt=Pe.inputValue,ne=Pe.value,be;Re?be=rt:be=G.toPrecisionAsStep(ne),be==null&&(be="");var at=G.formatWrapper(be);return S(G.props.decimalSeparator)&&(at=at.toString().replace(".",G.props.decimalSeparator)),at},G.recordCursorPosition=function(){try{G.cursorStart=G.input.selectionStart,G.cursorEnd=G.input.selectionEnd,G.currentValue=G.input.value,G.cursorBefore=G.input.value.substring(0,G.cursorStart),G.cursorAfter=G.input.value.substring(G.cursorEnd)}catch(ge){}},G.restoreByAfter=function(ge){if(ge===void 0)return!1;var Pe=G.input.value,Re=Pe.lastIndexOf(ge);if(Re===-1)return!1;var rt=G.cursorBefore.length;return G.lastKeyCode===s.a.DELETE&&G.cursorBefore.charAt(rt-1)===ge[0]?(G.fixCaret(rt,rt),!0):Re+ge.length===Pe.length?(G.fixCaret(Re,Re),!0):!1},G.partRestoreByAfter=function(ge){return ge===void 0?!1:Array.prototype.some.call(ge,function(Pe,Re){var rt=ge.substring(Re);return G.restoreByAfter(rt)})},G.isNotCompleteNumber=function(ge){return isNaN(ge)||ge===""||ge===null||ge&&ge.toString().indexOf(".")===ge.toString().length-1},G.stop=function(){G.autoStepTimer&&clearTimeout(G.autoStepTimer)},G.down=function(ge,Pe,Re){G.pressingUpOrDown=!0,G.step("down",ge,Pe,Re)},G.up=function(ge,Pe,Re){G.pressingUpOrDown=!0,G.step("up",ge,Pe,Re)},G.saveInput=function(ge){G.input=ge};var ye=he.value;ye===void 0&&(ye=he.defaultValue),G.state={focused:he.autoFocus};var Ae=G.getValidValue(G.toNumber(ye));return G.state=p(p({},G.state),{},{inputValue:G.toPrecisionAsStep(Ae),value:Ae}),G}return Object(d.a)(Q,[{key:"componentDidMount",value:function(){this.componentDidUpdate(null)}},{key:"componentDidUpdate",value:function(G){var ye=this.props,Ae=ye.value,ge=ye.onChange,Pe=ye.max,Re=ye.min,rt=this.state.focused;if(G){if(!O(G.value,Ae)||!O(G.max,Pe)||!O(G.min,Re)){var ne=rt?Ae:this.getValidValue(Ae),be;this.pressingUpOrDown?be=ne:this.inputting?be=this.rawInput:be=this.toPrecisionAsStep(ne),this.setState({value:ne,inputValue:be})}var at="value"in this.props?Ae:this.state.value;"max"in this.props&&G.max!==Pe&&typeof at=="number"&&at>Pe&&ge&&ge(Pe),"min"in this.props&&G.min!==Re&&typeof at=="number"&&at<Re&&ge&&ge(Re)}try{if(this.cursorStart!==void 0&&this.state.focused){if(!this.partRestoreByAfter(this.cursorAfter)&&this.state.value!==this.props.value){var se=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===s.a.BACKSPACE?se=this.cursorStart-1:this.lastKeyCode===s.a.DELETE&&(se=this.cursorStart):se=this.input.value.length,this.fixCaret(se,se)}else if(this.currentValue===this.input.value)switch(this.lastKeyCode){case s.a.BACKSPACE:this.fixCaret(this.cursorStart-1,this.cursorStart-1);break;case s.a.DELETE:this.fixCaret(this.cursorStart+1,this.cursorStart+1);break;default:}}}catch(q){}if(this.lastKeyCode=null,!this.pressingUpOrDown)return;this.props.focusOnUpDown&&this.state.focused&&(document.activeElement!==this.input&&this.focus())}},{key:"componentWillUnmount",value:function(){this.stop()}},{key:"getCurrentValidValue",value:function(G){var ye=G;return ye===""?ye="":this.isNotCompleteNumber(parseFloat(ye))?ye=this.state.value:ye=this.getValidValue(ye),this.toNumber(ye)}},{key:"getValueFromEvent",value:function(G){var ye=G.target.value.trim().replace(/。/g,".");return S(this.props.decimalSeparator)&&(ye=ye.replace(this.props.decimalSeparator,".")),ye}},{key:"getValidValue",value:function(G){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.props.min,Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.props.max,ge=parseFloat(G);return isNaN(ge)?G:(ge<ye&&(ge=ye),ge>Ae&&(ge=Ae),ge)}},{key:"setValue",value:function(G,ye){var Ae=this.props.precision,ge=this.isNotCompleteNumber(parseFloat(G))?null:parseFloat(G),Pe=this.state.value,Re=Pe===void 0?null:Pe,rt=this.state.inputValue,ne=rt===void 0?null:rt,be=typeof ge=="number"?ge.toFixed(Ae):"".concat(ge),at=ge!==Re||be!=="".concat(ne);return"value"in this.props?(ne=this.toPrecisionAsStep(this.state.value),this.setState({inputValue:ne},ye)):this.setState({value:ge,inputValue:this.toPrecisionAsStep(G)},ye),at&&this.props.onChange(ge),ge}},{key:"getMaxPrecision",value:function(G){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ae=this.props,ge=Ae.precision,Pe=Ae.step;if(S(ge))return ge;var Re=this.getPrecision(ye),rt=this.getPrecision(Pe),ne=this.getPrecision(G);return G?Math.max(ne,Re+rt):Re+rt}},{key:"getPrecisionFactor",value:function(G){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ae=this.getMaxPrecision(G,ye);return Math.pow(10,Ae)}},{key:"focus",value:function(){this.input.focus(),this.recordCursorPosition()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"formatWrapper",value:function(G){return this.props.formatter?this.props.formatter(G):G}},{key:"toPrecisionAsStep",value:function(G){if(this.isNotCompleteNumber(G)||G==="")return G;var ye=Math.abs(this.getMaxPrecision(G));return isNaN(ye)?G.toString():Number(G).toFixed(ye)}},{key:"toNumber",value:function(G){var ye=this.props.precision,Ae=this.state.focused,ge=G&&G.length>16&&Ae;return this.isNotCompleteNumber(G)||ge?G:S(ye)?Math.round(G*Math.pow(10,ye))/Math.pow(10,ye):Number(G)}},{key:"upStep",value:function(G,ye){var Ae=this.props.step,ge=this.getPrecisionFactor(G,ye),Pe=Math.abs(this.getMaxPrecision(G,ye)),Re=((ge*G+ge*Ae*ye)/ge).toFixed(Pe);return this.toNumber(Re)}},{key:"downStep",value:function(G,ye){var Ae=this.props.step,ge=this.getPrecisionFactor(G,ye),Pe=Math.abs(this.getMaxPrecision(G,ye)),Re=((ge*G-ge*Ae*ye)/ge).toFixed(Pe);return this.toNumber(Re)}},{key:"step",value:function(G,ye){var Ae=this,ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Pe=arguments.length>3?arguments[3]:void 0;this.stop(),ye&&(ye.persist(),ye.preventDefault());var Re=this.props;if(Re.disabled)return;var rt=this.getCurrentValidValue(this.state.inputValue)||0;if(this.isNotCompleteNumber(rt))return;var ne=this["".concat(G,"Step")](rt,ge),be=ne>Re.max||ne<Re.min;if(ne>Re.max?ne=Re.max:ne<Re.min&&(ne=Re.min),this.setValue(ne,null),this.setState({focused:!0},function(){Ae.pressingUpOrDown=!1}),be)return;this.autoStepTimer=setTimeout(function(){Ae[G](ye,ge,!0)},Pe?T:_)}},{key:"fixCaret",value:function(G,ye){if(G===void 0||ye===void 0||!this.input||!this.input.value)return;try{var Ae=this.input.selectionStart,ge=this.input.selectionEnd;(G!==Ae||ye!==ge)&&this.input.setSelectionRange(G,ye)}catch(Pe){}}},{key:"render",value:function(){var G,ye=this.props,Ae=ye.prefixCls,ge=ye.disabled,Pe=ye.readOnly,Re=ye.useTouch,rt=ye.autoComplete,ne=ye.upHandler,be=ye.downHandler,at=ye.className,se=ye.max,q=ye.min,X=ye.style,Z=ye.title,pe=ye.onMouseEnter,oe=ye.onMouseLeave,Ie=ye.onMouseOver,fe=ye.onMouseOut,te=ye.required,J=ye.onClick,ve=ye.tabIndex,De=ye.type,ze=ye.placeholder,dt=ye.id,Me=ye.inputMode,Tt=ye.pattern,je=ye.step,st=ye.maxLength,Xe=ye.autoFocus,Je=ye.name,et=ye.onPaste,ot=Object(a.a)(ye,["prefixCls","disabled","readOnly","useTouch","autoComplete","upHandler","downHandler","className","max","min","style","title","onMouseEnter","onMouseLeave","onMouseOver","onMouseOut","required","onClick","tabIndex","type","placeholder","id","inputMode","pattern","step","maxLength","autoFocus","name","onPaste"]),Ve=this.state,ue=Ve.value,ae=Ve.focused,lt=i()(Ae,(G={},Object(r.a)(G,at,!!at),Object(r.a)(G,"".concat(Ae,"-disabled"),ge),Object(r.a)(G,"".concat(Ae,"-focused"),ae),G)),Ze={};Object.keys(ot).forEach(function(Ee){(Ee.substr(0,5)==="data-"||Ee.substr(0,5)==="aria-"||Ee==="role")&&(Ze[Ee]=ot[Ee])});var Te=!Pe&&!ge,Jt=this.getInputDisplayValue(null),mt=(ue||ue===0)&&(isNaN(ue)||Number(ue)>=se),ft=(ue||ue===0)&&(isNaN(ue)||Number(ue)<=q),bt=mt||ge||Pe,Lt=ft||ge||Pe,or=i()("".concat(Ae,"-handler"),"".concat(Ae,"-handler-up"),Object(r.a)({},"".concat(Ae,"-handler-up-disabled"),bt)),Bt=i()("".concat(Ae,"-handler"),"".concat(Ae,"-handler-down"),Object(r.a)({},"".concat(Ae,"-handler-down-disabled"),Lt)),_e=Re?{onTouchStart:bt?C:this.up,onTouchEnd:this.stop}:{onMouseDown:bt?C:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},Ce=Re?{onTouchStart:Lt?C:this.down,onTouchEnd:this.stop}:{onMouseDown:Lt?C:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return h.a.createElement("div",{className:lt,style:X,title:Z,onMouseEnter:pe,onMouseLeave:oe,onMouseOver:Ie,onMouseOut:fe,onFocus:function(){return null},onBlur:function(){return null}},h.a.createElement("div",{className:"".concat(Ae,"-handler-wrap")},h.a.createElement("span",Object.assign({unselectable:"on"},_e,{role:"button","aria-label":"Increase Value","aria-disabled":bt,className:or}),ne||h.a.createElement("span",{unselectable:"on",className:"".concat(Ae,"-handler-up-inner"),onClick:x})),h.a.createElement("span",Object.assign({unselectable:"on"},Ce,{role:"button","aria-label":"Decrease Value","aria-disabled":Lt,className:Bt}),be||h.a.createElement("span",{unselectable:"on",className:"".concat(Ae,"-handler-down-inner"),onClick:x}))),h.a.createElement("div",{className:"".concat(Ae,"-input-wrap")},h.a.createElement("input",Object.assign({role:"spinbutton","aria-valuemin":q,"aria-valuemax":se,"aria-valuenow":ue,required:te,type:De,placeholder:ze,onPaste:et,onClick:J,onMouseUp:this.onMouseUp,className:"".concat(Ae,"-input"),tabIndex:ve,autoComplete:rt,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:Te?this.onKeyDown:C,onKeyUp:Te?this.onKeyUp:C,autoFocus:Xe,maxLength:st,readOnly:Pe,disabled:ge,max:se,min:q,step:je,name:Je,title:Z,id:dt,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(Jt),pattern:Tt,inputMode:Me},Ze))))}}]),Q}(h.a.Component);L.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",max:v,min:-v,step:1,style:{},onChange:C,onKeyDown:C,onPressEnter:C,onFocus:C,onBlur:C,parser:E,required:!1,autoComplete:"off"};var M=L,F=M,U=e("FH2Y"),z=e.n(U),W=e("HQEm"),N=e.n(W),H=e("H84U"),j=e("3Nzz"),k=function(K,Y){var Q={};for(var he in K)Object.prototype.hasOwnProperty.call(K,he)&&Y.indexOf(he)<0&&(Q[he]=K[he]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,he=Object.getOwnPropertySymbols(K);G<he.length;G++)Y.indexOf(he[G])<0&&Object.prototype.propertyIsEnumerable.call(K,he[G])&&(Q[he[G]]=K[he[G]]);return Q},B=y.forwardRef(function(K,Y){var Q=function(G){var ye=G.getPrefixCls,Ae=G.direction,ge=K.className,Pe=K.size,Re=K.prefixCls,rt=K.readOnly,ne=k(K,["className","size","prefixCls","readOnly"]),be=ye("input-number",Re),at=y.createElement(z.a,{className:"".concat(be,"-handler-up-inner")}),se=y.createElement(N.a,{className:"".concat(be,"-handler-down-inner")});return y.createElement(j.b.Consumer,null,function(q){var X,Z=Pe||q,pe=i()((X={},m()(X,"".concat(be,"-lg"),Z==="large"),m()(X,"".concat(be,"-sm"),Z==="small"),m()(X,"".concat(be,"-rtl"),Ae==="rtl"),m()(X,"".concat(be,"-readonly"),rt),X),ge);return y.createElement(F,f()({ref:Y,className:pe,upHandler:at,downHandler:se,prefixCls:be,readOnly:rt},ne))})};return y.createElement(H.a,null,Q)});B.defaultProps={step:1};var V=I.a=B},g0SD:function(R,I,e){var g=e("bYtY"),f=e("9wZj"),b=e("OELB"),m=e("YXkt"),y=e("kj2x"),h=e("iPDy");function u(r,o,d){var n=o.coordinateSystem;r.each(function(l){var t=r.getItemModel(l),s,c=b.parsePercent(t.get("x"),d.getWidth()),p=b.parsePercent(t.get("y"),d.getHeight());if(!isNaN(c)&&!isNaN(p))s=[c,p];else if(o.getMarkerPosition)s=o.getMarkerPosition(r.getValues(r.dimensions,l));else if(n){var A=r.get(n.dimensions[0],l),w=r.get(n.dimensions[1],l);s=n.dataToPoint([A,w])}isNaN(c)||(s[0]=c),isNaN(p)||(s[1]=p),r.setItemLayout(l,s)})}var i=h.extend({type:"markPoint",updateTransform:function(r,o,d){o.eachSeries(function(n){var l=n.markPointModel;l&&(u(l.getData(),n,d),this.markerGroupMap.get(n.id).updateLayout(l))},this)},renderSeries:function(r,o,d,n){var l=r.coordinateSystem,t=r.id,s=r.getData(),c=this.markerGroupMap,p=c.get(t)||c.set(t,new f),A=a(l,r,o);o.setData(A),u(o.getData(),r,n),A.each(function(w){var C=A.getItemModel(w),x=C.getShallow("symbol"),E=C.getShallow("symbolSize"),T=g.isFunction(x),_=g.isFunction(E);if(T||_){var v=o.getRawValue(w),S=o.getDataParams(w);T&&(x=x(v,S)),_&&(E=E(v,S))}A.setItemVisual(w,{symbol:x,symbolSize:E,color:C.get("itemStyle.color")||s.getVisual("color")})}),p.updateData(A),this.group.add(p.group),A.eachItemGraphicEl(function(w){w.traverse(function(C){C.dataModel=o})}),p.__keep=!0,p.group.silent=o.get("silent")||r.get("silent")}});function a(r,o,d){var n;r?n=g.map(r&&r.dimensions,function(s){var c=o.getData().getDimensionInfo(o.getData().mapDimension(s))||{};return g.defaults({name:s},c)}):n=[{name:"value",type:"float"}];var l=new m(n,d),t=g.map(d.get("data"),g.curry(y.dataTransform,o));return r&&(t=g.filter(t,g.curry(y.dataFilter,r))),l.initData(t,null,r?y.dimValueGetter:function(s){return s.value}),l}R.exports=i},g7p0:function(R,I,e){var g=e("bYtY"),f=e("bLfw"),b=e("+TT/"),m=b.getLayoutParams,y=b.sizeCalculable,h=b.mergeLayoutParam,u=f.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(r,o,d,n){var l=m(r);u.superApply(this,"init",arguments),i(r,l)},mergeOption:function(r,o){u.superApply(this,"mergeOption",arguments),i(this.option,r)}});function i(r,o){var d=r.cellSize;g.isArray(d)?d.length===1&&(d[1]=d[0]):d=r.cellSize=[d,d];var n=g.map([0,1],function(l){return y(o,l)&&(d[l]="auto"),d[l]!=null&&d[l]!=="auto"});h(r,o,{type:"box",ignoreSize:n})}var a=u;R.exports=a},g9YV:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("pED+"),m=e.n(b),y=e("+L6B"),h=e("R9oj"),u=e("7Kak"),i=e("sRBo"),a=e("qVdP"),r=e("T2oS"),o=e("DjyN"),d=e("5Dmo")},gCq4:function(R,I){function e(g){return this.__data__.get(g)}R.exports=e},gIYZ:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g={Backspace:"Backspace",AltLeft:"Alt",AltRight:"Alt",CapsLock:"CapsLock",ContextMenu:"ContextMenu",ControlLeft:"Control",ControlRight:"Control",Enter:"Enter",MetaLeft:"Meta",MetaRight:"Meta",ShiftLeft:"Shift",ShiftRight:"Shift",Tab:"Tab",Delete:"Delete",End:"End",Help:"Help",Home:"Home",Insert:"Insert",PageDown:"PageDown",PageUp:"PageUp",ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp",NumLock:"NumLock",NumpadBackspace:"Backspace",NumpadClear:"Clear",Escape:"Escape",F1:"F1",F2:"F2",F3:"F3",F4:"F4",F5:"F5",F6:"F6",F7:"F7",F8:"F8",F9:"F9",F10:"F10",F11:"F11",F12:"F12",F13:"F13",F14:"F14",F15:"F15",F16:"F16",F17:"F17",F18:"F18",F19:"F19",F20:"F20",F21:"F21",F22:"F22",F23:"F23",F24:"F24",F25:"F25",F26:"F26",F27:"F27",F28:"F28",F29:"F29",F30:"F30",F31:"F31",F32:"F32",F33:"F33",F34:"F34",F35:"F35",PrintScreen:"PrintScreen",ScrollLock:"ScrollLock",Pause:"Pause",BrowserBack:"BrowserBack",BrowserFavorites:"BrowserFavorites",BrowserForward:"BrowserForward",BrowserHome:"BrowserHome",BrowserRefresh:"BrowserRefresh",BrowserSearch:"BrowserSearch",BrowserStop:"BrowserStop",Eject:"Eject",LaunchApp1:"LaunchMyComputer",LaunchApp2:"LaunchCalendar",LaunchMail:"LaunchMail",MediaPlayPause:"MediaPlay",MediaStop:"MediaStop",MediaTrackNext:"MediaTrackNext",MediaTrackPrevious:"MediaTrackPrevious",Power:"Power",Sleep:"Sleep",AudioVolumeDown:"AudioVolumeDown",AudioVolumeMute:"AudioVolumeMute",AudioVolumeUp:"AudioVolumeUp",WakeUp:"WakeUp"};I.default=g},gK9i:function(R,I,e){"use strict";var g=e("pVnL"),f=e.n(g),b=e("lSNA"),m=e.n(b),y=e("q1tI"),h=e.n(y),u=e("TSYQ"),i=e.n(u),a=e("Gytx"),r=e.n(a),o=function(){function X(Z,pe){for(var oe=0;oe<pe.length;oe++){var Ie=pe[oe];Ie.enumerable=Ie.enumerable||!1,Ie.configurable=!0,"value"in Ie&&(Ie.writable=!0),Object.defineProperty(Z,Ie.key,Ie)}}return function(Z,pe,oe){return pe&&X(Z.prototype,pe),oe&&X(Z,oe),Z}}();function d(X,Z,pe){return Z in X?Object.defineProperty(X,Z,{value:pe,enumerable:!0,configurable:!0,writable:!0}):X[Z]=pe,X}function n(X,Z){if(!(X instanceof Z))throw new TypeError("Cannot call a class as a function")}function l(X,Z){if(!X)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Z&&(typeof Z=="object"||typeof Z=="function")?Z:X}function t(X,Z){if(typeof Z!="function"&&Z!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Z);X.prototype=Object.create(Z&&Z.prototype,{constructor:{value:X,enumerable:!1,writable:!0,configurable:!0}}),Z&&(Object.setPrototypeOf?Object.setPrototypeOf(X,Z):X.__proto__=Z)}var s=function(X){t(Z,X);function Z(){return n(this,Z),l(this,(Z.__proto__||Object.getPrototypeOf(Z)).apply(this,arguments))}return o(Z,[{key:"shouldComponentUpdate",value:function(oe){return this.props.forceRender||!r()(this.props,oe)}},{key:"render",value:function(){var oe;if(this._isActived=this.props.forceRender||this._isActived||this.props.isActive,!this._isActived)return null;var Ie=this.props,fe=Ie.prefixCls,te=Ie.isActive,J=Ie.children,ve=Ie.destroyInactivePanel,De=Ie.forceRender,ze=Ie.role,dt=i()(fe+"-content",(oe={},d(oe,fe+"-content-active",te),d(oe,fe+"-content-inactive",!te),oe)),Me=!De&&!te&&ve?null:h.a.createElement("div",{className:fe+"-content-box"},J);return h.a.createElement("div",{className:dt,role:ze},Me)}}]),Z}(y.Component),c=s,p=e("UmKh"),A=function(){function X(Z,pe){for(var oe=0;oe<pe.length;oe++){var Ie=pe[oe];Ie.enumerable=Ie.enumerable||!1,Ie.configurable=!0,"value"in Ie&&(Ie.writable=!0),Object.defineProperty(Z,Ie.key,Ie)}}return function(Z,pe,oe){return pe&&X(Z.prototype,pe),oe&&X(Z,oe),Z}}();function w(X,Z,pe){return Z in X?Object.defineProperty(X,Z,{value:pe,enumerable:!0,configurable:!0,writable:!0}):X[Z]=pe,X}function C(X,Z){if(!(X instanceof Z))throw new TypeError("Cannot call a class as a function")}function x(X,Z){if(!X)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Z&&(typeof Z=="object"||typeof Z=="function")?Z:X}function E(X,Z){if(typeof Z!="function"&&Z!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Z);X.prototype=Object.create(Z&&Z.prototype,{constructor:{value:X,enumerable:!1,writable:!0,configurable:!0}}),Z&&(Object.setPrototypeOf?Object.setPrototypeOf(X,Z):X.__proto__=Z)}var T=function(X){E(Z,X);function Z(){var pe,oe,Ie,fe;C(this,Z);for(var te=arguments.length,J=Array(te),ve=0;ve<te;ve++)J[ve]=arguments[ve];return fe=(oe=(Ie=x(this,(pe=Z.__proto__||Object.getPrototypeOf(Z)).call.apply(pe,[this].concat(J))),Ie),Ie.handleItemClick=function(){var De=Ie.props,ze=De.onItemClick,dt=De.panelKey;typeof ze=="function"&&ze(dt)},Ie.handleKeyPress=function(De){(De.key==="Enter"||De.keyCode===13||De.which===13)&&Ie.handleItemClick()},oe),x(Ie,fe)}return A(Z,[{key:"shouldComponentUpdate",value:function(oe){return!r()(this.props,oe)}},{key:"render",value:function(){var oe,Ie=this.props,fe=Ie.className,te=Ie.id,J=Ie.style,ve=Ie.prefixCls,De=Ie.header,ze=Ie.headerClass,dt=Ie.children,Me=Ie.isActive,Tt=Ie.showArrow,je=Ie.destroyInactivePanel,st=Ie.disabled,Xe=Ie.accordion,Je=Ie.forceRender,et=Ie.expandIcon,ot=Ie.extra,Ve=i()(ve+"-header",w({},ze,ze)),ue=i()((oe={},w(oe,ve+"-item",!0),w(oe,ve+"-item-active",Me),w(oe,ve+"-item-disabled",st),oe),fe),ae=h.a.createElement("i",{className:"arrow"});return Tt&&typeof et=="function"&&(ae=et(this.props)),h.a.createElement("div",{className:ue,style:J,id:te},h.a.createElement("div",{className:Ve,onClick:this.handleItemClick,role:Xe?"tab":"button",tabIndex:st?-1:0,"aria-expanded":""+Me,onKeyPress:this.handleKeyPress},Tt&&ae,De,ot&&h.a.createElement("div",{className:ve+"-extra"},ot)),h.a.createElement(p.a,{showProp:"isActive",exclusive:!0,component:"",animation:this.props.openAnimation},h.a.createElement(c,{prefixCls:ve,isActive:Me,destroyInactivePanel:je,forceRender:Je,role:Xe?"tabpanel":null},dt)))}}]),Z}(y.Component);T.defaultProps={showArrow:!0,isActive:!1,destroyInactivePanel:!1,onItemClick:function(){},headerClass:"",forceRender:!1};var _=T,v=e("UwPn");function S(X,Z,pe,oe){var Ie=void 0;return Object(v.a)(X,pe,{start:function(){Z?(Ie=X.offsetHeight,X.style.height=0):X.style.height=X.offsetHeight+"px"},active:function(){X.style.height=(Z?Ie:0)+"px"},end:function(){X.style.height="",oe()}})}function O(X){return{enter:function(pe,oe){return S(pe,!0,X+"-anim",oe)},leave:function(pe,oe){return S(pe,!1,X+"-anim",oe)}}}var L=O,M=e("TOwV"),F=function(){function X(Z,pe){for(var oe=0;oe<pe.length;oe++){var Ie=pe[oe];Ie.enumerable=Ie.enumerable||!1,Ie.configurable=!0,"value"in Ie&&(Ie.writable=!0),Object.defineProperty(Z,Ie.key,Ie)}}return function(Z,pe,oe){return pe&&X(Z.prototype,pe),oe&&X(Z,oe),Z}}();function U(X){if(Array.isArray(X)){for(var Z=0,pe=Array(X.length);Z<X.length;Z++)pe[Z]=X[Z];return pe}else return Array.from(X)}function z(X,Z,pe){return Z in X?Object.defineProperty(X,Z,{value:pe,enumerable:!0,configurable:!0,writable:!0}):X[Z]=pe,X}function W(X,Z){if(!(X instanceof Z))throw new TypeError("Cannot call a class as a function")}function N(X,Z){if(!X)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Z&&(typeof Z=="object"||typeof Z=="function")?Z:X}function H(X,Z){if(typeof Z!="function"&&Z!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Z);X.prototype=Object.create(Z&&Z.prototype,{constructor:{value:X,enumerable:!1,writable:!0,configurable:!0}}),Z&&(Object.setPrototypeOf?Object.setPrototypeOf(X,Z):X.__proto__=Z)}function j(X){var Z=X;return Array.isArray(Z)||(Z=Z?[Z]:[]),Z.map(function(pe){return String(pe)})}var k=function(X){H(Z,X);function Z(pe){W(this,Z);var oe=N(this,(Z.__proto__||Object.getPrototypeOf(Z)).call(this,pe));B.call(oe);var Ie=pe.activeKey,fe=pe.defaultActiveKey,te=fe;return"activeKey"in pe&&(te=Ie),oe.state={openAnimation:pe.openAnimation||L(pe.prefixCls),activeKey:j(te)},oe}return F(Z,[{key:"shouldComponentUpdate",value:function(oe,Ie){return!r()(this.props,oe)||!r()(this.state,Ie)}},{key:"render",value:function(){var oe,Ie=this.props,fe=Ie.prefixCls,te=Ie.className,J=Ie.style,ve=Ie.accordion,De=i()((oe={},z(oe,fe,!0),z(oe,te,!!te),oe));return h.a.createElement("div",{className:De,style:J,role:ve?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(oe){var Ie={};return"activeKey"in oe&&(Ie.activeKey=j(oe.activeKey)),"openAnimation"in oe&&(Ie.openAnimation=oe.openAnimation),Ie.activeKey||Ie.openAnimation?Ie:null}}]),Z}(y.Component),B=function(){var Z=this;this.onClickItem=function(pe){var oe=Z.state.activeKey;if(Z.props.accordion)oe=oe[0]===pe?[]:[pe];else{oe=[].concat(U(oe));var Ie=oe.indexOf(pe),fe=Ie>-1;fe?oe.splice(Ie,1):oe.push(pe)}Z.setActiveKey(oe)},this.getNewChild=function(pe,oe){if(!pe)return null;var Ie=Z.state.activeKey,fe=Z.props,te=fe.prefixCls,J=fe.accordion,ve=fe.destroyInactivePanel,De=fe.expandIcon,ze=pe.key||String(oe),dt=pe.props,Me=dt.header,Tt=dt.headerClass,je=dt.disabled,st=!1;J?st=Ie[0]===ze:st=Ie.indexOf(ze)>-1;var Xe={key:ze,panelKey:ze,header:Me,headerClass:Tt,isActive:st,prefixCls:te,destroyInactivePanel:ve,openAnimation:Z.state.openAnimation,accordion:J,children:pe.props.children,onItemClick:je?null:Z.onClickItem,expandIcon:De};return typeof pe.type=="string"?pe:h.a.cloneElement(pe,Xe)},this.getItems=function(){var pe=Z.props.children,oe=Object(M.isFragment)(pe)?pe.props.children:pe,Ie=y.Children.map(oe,Z.getNewChild);return Object(M.isFragment)(pe)?h.a.createElement(h.a.Fragment,null,Ie):Ie},this.setActiveKey=function(pe){"activeKey"in Z.props||Z.setState({activeKey:pe}),Z.props.onChange(Z.props.accordion?pe[0]:pe)}};k.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},k.Panel=_;var V=k,K=V,Y=V.Panel,Q=e("fEPi"),he=e.n(Q),G=e("H84U"),ye=function(Z){var pe=y.useContext(G.b),oe=pe.getPrefixCls,Ie=Z.prefixCls,fe=Z.className,te=fe===void 0?"":fe,J=Z.showArrow,ve=J===void 0?!0:J,De=oe("collapse",Ie),ze=i()(m()({},"".concat(De,"-no-arrow"),!ve),te);return y.createElement(K.Panel,f()({},Z,{prefixCls:De,className:ze}))},Ae=ye,ge=e("xEkU"),Pe=e.n(ge);function Re(X,Z,pe){var oe,Ie;return Object(v.a)(X,"ant-motion-collapse-legacy",{start:function(){Z?(oe=X.offsetHeight,X.style.height="0px",X.style.opacity="0"):(X.style.height="".concat(X.offsetHeight,"px"),X.style.opacity="1")},active:function(){Ie&&Pe.a.cancel(Ie),Ie=Pe()(function(){X.style.height="".concat(Z?oe:0,"px"),X.style.opacity=Z?"1":"0"})},end:function(){Ie&&Pe.a.cancel(Ie),X.style.height="",X.style.opacity="",pe()}})}var rt={enter:function(Z,pe){return Re(Z,!0,pe)},leave:function(Z,pe){return Re(Z,!1,pe)},appear:function(Z,pe){return Re(Z,!0,pe)}},ne=rt,be=e("0n0R"),at=function(Z){var pe,oe=y.useContext(G.b),Ie=oe.getPrefixCls,fe=oe.direction,te=Z.prefixCls,J=Z.className,ve=J===void 0?"":J,De=Z.bordered,ze=Z.ghost,dt=Ie("collapse",te),Me=function(){var et=Z.expandIconPosition;return et!==void 0?et:fe==="rtl"?"right":"left"},Tt=function(){var et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ot=Z.expandIcon,Ve=ot?ot(et):y.createElement(he.a,{rotate:et.isActive?90:void 0});return Object(be.a)(Ve,function(){return{className:i()(Ve.props.className,"".concat(dt,"-arrow"))}})},je=Me(),st=i()((pe={},m()(pe,"".concat(dt,"-borderless"),!De),m()(pe,"".concat(dt,"-icon-position-").concat(je),!0),m()(pe,"".concat(dt,"-rtl"),fe==="rtl"),m()(pe,"".concat(dt,"-ghost"),!!ze),pe),ve),Xe=f()(f()({},ne),{appear:function(){}});return y.createElement(K,f()({openAnimation:Xe},Z,{expandIcon:function(et){return Tt(et)},prefixCls:dt,className:st}))};at.Panel=Ae,at.defaultProps={bordered:!0};var se=at,q=I.a=se},gKaM:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};I.default=g},gPAo:function(R,I){function e(m){return m}function g(m,y,h,u,i){this._old=m,this._new=y,this._oldKeyGetter=h||e,this._newKeyGetter=u||e,this.context=i}g.prototype={constructor:g,add:function(m){return this._add=m,this},update:function(m){return this._update=m,this},remove:function(m){return this._remove=m,this},execute:function(){var m=this._old,y=this._new,h={},u={},i=[],a=[],r;for(f(m,h,i,"_oldKeyGetter",this),f(y,u,a,"_newKeyGetter",this),r=0;r<m.length;r++){var o=i[r],d=u[o];if(d!=null){var n=d.length;n?(n===1&&(u[o]=null),d=d.shift()):u[o]=null,this._update&&this._update(d,r)}else this._remove&&this._remove(r)}for(var r=0;r<a.length;r++){var o=a[r];if(u.hasOwnProperty(o)){var d=u[o];if(d==null)continue;if(!d.length)this._add&&this._add(d);else for(var l=0,n=d.length;l<n;l++)this._add&&this._add(d[l])}}}};function f(m,y,h,u,i){for(var a=0;a<m.length;a++){var r="_ec_"+i[u](m[a],a),o=y[r];o==null?(h.push(r),y[r]=a):(o.length||(y[r]=o=[o]),o.push(a))}}var b=g;R.exports=b},gRFJ:function(R,I,e){R.exports=[e("rdUC"),e("ynwM"),e("RELg"),e("DlR+"),e("CrYA"),e("PD8m")]},gaXo:function(module,exports){typeof JSON!="object"&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function f(R){return R<10?"0"+R:R}function this_value(){return this.valueOf()}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value);var gap,indent,meta,rep;function quote(R){return rx_escapable.lastIndex=0,rx_escapable.test(R)?'"'+R.replace(rx_escapable,function(I){var e=meta[I];return typeof e=="string"?e:"\\u"+("0000"+I.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+R+'"'}function str(R,I){var e,g,f,b,m=gap,y,h=I[R];h&&typeof h=="object"&&typeof h.toJSON=="function"&&(h=h.toJSON(R)),typeof rep=="function"&&(h=rep.call(I,R,h));switch(typeof h){case"string":return quote(h);case"number":return isFinite(h)?String(h):"null";case"boolean":case"null":return String(h);case"object":if(!h)return"null";if(gap+=indent,y=[],Object.prototype.toString.apply(h)==="[object Array]"){for(b=h.length,e=0;e<b;e+=1)y[e]=str(e,h)||"null";return f=y.length===0?"[]":gap?`[
`+gap+y.join(`,
`+gap)+`
`+m+"]":"["+y.join(",")+"]",gap=m,f}if(rep&&typeof rep=="object")for(b=rep.length,e=0;e<b;e+=1)typeof rep[e]=="string"&&(g=rep[e],f=str(g,h),f&&y.push(quote(g)+(gap?": ":":")+f));else for(g in h)Object.prototype.hasOwnProperty.call(h,g)&&(f=str(g,h),f&&y.push(quote(g)+(gap?": ":":")+f));return f=y.length===0?"{}":gap?`{
`+gap+y.join(`,
`+gap)+`
`+m+"}":"{"+y.join(",")+"}",gap=m,f}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(R,I,e){var g;if(gap="",indent="",typeof e=="number")for(g=0;g<e;g+=1)indent+=" ";else typeof e=="string"&&(indent=e);if(rep=I,I&&typeof I!="function"&&(typeof I!="object"||typeof I.length!="number"))throw new Error("JSON.stringify");return str("",{"":R})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(R,I){var e,g,f=R[I];if(f&&typeof f=="object")for(e in f)Object.prototype.hasOwnProperty.call(f,e)&&(g=walk(f,e),g!==void 0?f[e]=g:delete f[e]);return reviver.call(R,I,f)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(R){return"\\u"+("0000"+R.charCodeAt(0).toString(16)).slice(-4)})),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},gawk:function(R,I,e){var g=e("+TT/"),f=e("bYtY"),b=e("4NO4"),m=b.groupData;function y(O,L,M){O.eachSeriesByType("sankey",function(F){var U=F.get("nodeWidth"),z=F.get("nodeGap"),W=h(F,L);F.layoutInfo=W;var N=W.width,H=W.height,j=F.getGraph(),k=j.nodes,B=j.edges;i(k);var V=f.filter(k,function(he){return he.getLayout().value===0}),K=V.length!==0?0:F.get("layoutIterations"),Y=F.get("orient"),Q=F.get("nodeAlign");u(k,B,U,z,N,H,K,Y,Q)})}function h(O,L){return g.getLayoutRect(O.getBoxLayoutParams(),{width:L.getWidth(),height:L.getHeight()})}function u(O,L,M,F,U,z,W,N,H){a(O,L,M,U,z,N,H),l(O,L,z,U,F,W,N),S(O,N)}function i(O){f.each(O,function(L){var M=_(L.outEdges,T),F=_(L.inEdges,T),U=L.getValue()||0,z=Math.max(M,F,U);L.setLayout({value:z},!0)})}function a(O,L,M,F,U,z,W){for(var N=[],H=[],j=[],k=[],B=0,V=0,K=0;K<L.length;K++)N[K]=1;for(K=0;K<O.length;K++)H[K]=O[K].inEdges.length,H[K]===0&&j.push(O[K]);for(var Y=-1;j.length;){for(var Q=0;Q<j.length;Q++){var he=j[Q],G=he.hostGraph.data.getRawDataItem(he.dataIndex),ye=G.depth!=null&&G.depth>=0;ye&&G.depth>Y&&(Y=G.depth),he.setLayout({depth:ye?G.depth:B},!0),z==="vertical"?he.setLayout({dy:M},!0):he.setLayout({dx:M},!0);for(var Ae=0;Ae<he.outEdges.length;Ae++){var ge=he.outEdges[Ae],Pe=L.indexOf(ge);N[Pe]=0;var Re=ge.node2,rt=O.indexOf(Re);--H[rt]===0&&k.indexOf(Re)<0&&k.push(Re)}}++B,j=k,k=[]}for(K=0;K<N.length;K++)if(N[K]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var ne=Y>B-1?Y:B-1;W&&W!=="left"&&o(O,W,z,ne);var V=z==="vertical"?(U-M)/ne:(F-M)/ne;n(O,V,z)}function r(O){var L=O.hostGraph.data.getRawDataItem(O.dataIndex);return L.depth!=null&&L.depth>=0}function o(O,L,M,F){if(L==="right"){for(var U=[],z=O,W=0;z.length;){for(var N=0;N<z.length;N++){var H=z[N];H.setLayout({skNodeHeight:W},!0);for(var j=0;j<H.inEdges.length;j++){var k=H.inEdges[j];U.indexOf(k.node1)<0&&U.push(k.node1)}}z=U,U=[],++W}f.each(O,function(B){r(B)||B.setLayout({depth:Math.max(0,F-B.getLayout().skNodeHeight)},!0)})}else L==="justify"&&d(O,F)}function d(O,L){f.each(O,function(M){!r(M)&&!M.outEdges.length&&M.setLayout({depth:L},!0)})}function n(O,L,M){f.each(O,function(F){var U=F.getLayout().depth*L;M==="vertical"?F.setLayout({y:U},!0):F.setLayout({x:U},!0)})}function l(O,L,M,F,U,z,W){var N=t(O,W);s(N,L,M,F,U,W),c(N,U,M,F,W);for(var H=1;z>0;z--)H*=.99,p(N,H,W),c(N,U,M,F,W),v(N,H,W),c(N,U,M,F,W)}function t(O,L){var M=[],F=L==="vertical"?"y":"x",U=m(O,function(z){return z.getLayout()[F]});return U.keys.sort(function(z,W){return z-W}),f.each(U.keys,function(z){M.push(U.buckets.get(z))}),M}function s(O,L,M,F,U,z){var W=Infinity;f.each(O,function(N){var H=N.length,j=0;f.each(N,function(B){j+=B.getLayout().value});var k=z==="vertical"?(F-(H-1)*U)/j:(M-(H-1)*U)/j;k<W&&(W=k)}),f.each(O,function(N){f.each(N,function(H,j){var k=H.getLayout().value*W;z==="vertical"?(H.setLayout({x:j},!0),H.setLayout({dx:k},!0)):(H.setLayout({y:j},!0),H.setLayout({dy:k},!0))})}),f.each(L,function(N){var H=+N.getValue()*W;N.setLayout({dy:H},!0)})}function c(O,L,M,F,U){var z=U==="vertical"?"x":"y";f.each(O,function(W){W.sort(function(Q,he){return Q.getLayout()[z]-he.getLayout()[z]});for(var N,H,j,k=0,B=W.length,V=U==="vertical"?"dx":"dy",K=0;K<B;K++)H=W[K],j=k-H.getLayout()[z],j>0&&(N=H.getLayout()[z]+j,U==="vertical"?H.setLayout({x:N},!0):H.setLayout({y:N},!0)),k=H.getLayout()[z]+H.getLayout()[V]+L;var Y=U==="vertical"?F:M;if(j=k-L-Y,j>0)for(N=H.getLayout()[z]-j,U==="vertical"?H.setLayout({x:N},!0):H.setLayout({y:N},!0),k=N,K=B-2;K>=0;--K)H=W[K],j=H.getLayout()[z]+H.getLayout()[V]+L-k,j>0&&(N=H.getLayout()[z]-j,U==="vertical"?H.setLayout({x:N},!0):H.setLayout({y:N},!0)),k=H.getLayout()[z]})}function p(O,L,M){f.each(O.slice().reverse(),function(F){f.each(F,function(U){if(U.outEdges.length){var z=_(U.outEdges,A,M)/_(U.outEdges,T,M);if(isNaN(z)){var W=U.outEdges.length;z=W?_(U.outEdges,w,M)/W:0}if(M==="vertical"){var N=U.getLayout().x+(z-E(U,M))*L;U.setLayout({x:N},!0)}else{var H=U.getLayout().y+(z-E(U,M))*L;U.setLayout({y:H},!0)}}})})}function A(O,L){return E(O.node2,L)*O.getValue()}function w(O,L){return E(O.node2,L)}function C(O,L){return E(O.node1,L)*O.getValue()}function x(O,L){return E(O.node1,L)}function E(O,L){return L==="vertical"?O.getLayout().x+O.getLayout().dx/2:O.getLayout().y+O.getLayout().dy/2}function T(O){return O.getValue()}function _(O,L,M){for(var F=0,U=O.length,z=-1;++z<U;){var W=+L.call(O,O[z],M);isNaN(W)||(F+=W)}return F}function v(O,L,M){f.each(O,function(F){f.each(F,function(U){if(U.inEdges.length){var z=_(U.inEdges,C,M)/_(U.inEdges,T,M);if(isNaN(z)){var W=U.inEdges.length;z=W?_(U.inEdges,x,M)/W:0}if(M==="vertical"){var N=U.getLayout().x+(z-E(U,M))*L;U.setLayout({x:N},!0)}else{var H=U.getLayout().y+(z-E(U,M))*L;U.setLayout({y:H},!0)}}})})}function S(O,L){var M=L==="vertical"?"x":"y";f.each(O,function(F){F.outEdges.sort(function(U,z){return U.node2.getLayout()[M]-z.node2.getLayout()[M]}),F.inEdges.sort(function(U,z){return U.node1.getLayout()[M]-z.node1.getLayout()[M]})}),f.each(O,function(F){var U=0,z=0;f.each(F.outEdges,function(W){W.setLayout({sy:U},!0),U+=W.getLayout().dy}),f.each(F.inEdges,function(W){W.setLayout({ty:z},!0),z+=W.getLayout().dy})})}R.exports=y},"giR+":function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("QbM5"),m=e.n(b)},gut8:function(R,I){var e={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},g=9;I.ContextCachedBy=e,I.WILL_BE_RESTORED=g},gvm7:function(R,I,e){var g=e("bYtY"),f=e("dqUG");function b(y){this._zr=y.getZr(),this._show=!1,this._hideTimeout}b.prototype={constructor:b,_enterable:!0,update:function(){},show:function(y){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(y,h,u){this.el&&this._zr.remove(this.el);for(var i={},a=y,r="{marker",o="|}",d=a.indexOf(r);d>=0;){var n=a.indexOf(o),l=a.substr(d+r.length,n-d-r.length);l.indexOf("sub")>-1?i["marker"+l]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:h[l],textOffset:[3,0]}:i["marker"+l]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:h[l]},a=a.substr(n+1),d=a.indexOf("{marker")}this.el=new f({style:{rich:i,text:y,textLineHeight:20,textBackgroundColor:u.get("backgroundColor"),textBorderRadius:u.get("borderRadius"),textFill:u.get("textStyle.color"),textPadding:u.get("padding")},z:u.get("z")}),this._zr.add(this.el);var t=this;this.el.on("mouseover",function(){t._enterable&&(clearTimeout(t._hideTimeout),t._show=!0),t._inContent=!0}),this.el.on("mouseout",function(){t._enterable&&(t._show&&t.hideLater(t._hideDelay)),t._inContent=!1})},setEnterable:function(y){this._enterable=y},getSize:function(){var y=this.el.getBoundingRect();return[y.width,y.height]},moveTo:function(y,h){this.el&&this.el.attr("position",[y,h])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(y){this._show&&!(this._inContent&&this._enterable)&&(y?(this._hideDelay=y,this._show=!1,this._hideTimeout=setTimeout(g.bind(this.hide,this),y)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var y=this.getSize();return{width:y[0],height:y[1]}}};var m=b;R.exports=m},gwTy:function(R,I,e){},h54F:function(R,I,e){var g=e("ProS"),f=e("YXkt"),b=e("bYtY"),m=e("4NO4"),y=m.defaultEmphasis,h=e("Qxkt"),u=e("7aKB"),i=u.encodeHTML,a=e("I3/A"),r=e("xKMd"),o=g.extendSeriesModel({type:"series.graph",init:function(n){o.superApply(this,"init",arguments);var l=this;function t(){return l._categoriesData}this.legendVisualProvider=new r(t,t),this.fillDataTextStyle(n.edges||n.links),this._updateCategoriesData()},mergeOption:function(n){o.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(n.edges||n.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(n){o.superApply(this,"mergeDefaultAndTheme",arguments),y(n,["edgeLabel"],["show"])},getInitialData:function(n,l){var t=n.edges||n.links||[],s=n.data||n.nodes||[],c=this;if(s&&t)return a(s,t,this,!0,p).data;function p(A,w){A.wrapMethod("getItemModel",function(v){var S=c._categoriesModels,O=v.getShallow("category"),L=S[O];return L&&(L.parentModel=v.parentModel,v.parentModel=L),v});var C=c.getModel("edgeLabel"),x=new h({label:C.option},C.parentModel,l),E=c.getModel("emphasis.edgeLabel"),T=new h({emphasis:{label:E.option}},E.parentModel,l);w.wrapMethod("getItemModel",function(v){return v.customizeGetParent(_),v});function _(v){return v=this.parsePath(v),v&&v[0]==="label"?x:v&&v[0]==="emphasis"&&v[1]==="label"?T:this.parentModel}}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(n,l,t){if(t==="edge"){var s=this.getData(),c=this.getDataParams(n,t),p=s.graph.getEdgeByIndex(n),A=s.getName(p.node1.dataIndex),w=s.getName(p.node2.dataIndex),C=[];return A!=null&&C.push(A),w!=null&&C.push(w),C=i(C.join(" > ")),c.value&&(C+=" : "+i(c.value)),C}else return o.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var n=b.map(this.option.categories||[],function(t){return t.value!=null?t:b.extend({value:0},t)}),l=new f(["value"],this);l.initData(n),this._categoriesData=l,this._categoriesModels=l.mapArray(function(t){return l.getItemModel(t,!0)})},setZoom:function(n){this.option.zoom=n},setCenter:function(n){this.option.center=n},isAnimationEnabled:function(){return o.superCall(this,"isAnimationEnabled")&&!(this.get("layout")==="force"&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,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,curveness:0,opacity:.5},emphasis:{label:{show:!0}}}}),d=o;R.exports=d},h7HQ:function(R,I,e){var g=e("y+Vt"),f=e("T6xi"),b=g.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(y,h){f.buildPath(y,h,!0)}});R.exports=b},h8O9:function(R,I,e){var g=e("bYtY"),f=g.map,b=e("zM3Q"),m=e("7hqr"),y=m.isDimensionStacked;function h(u){return{seriesType:u,plan:b(),reset:function(i){var a=i.getData(),r=i.coordinateSystem,o=i.pipelineContext,d=o.large;if(!r)return;var n=f(r.dimensions,function(c){return a.mapDimension(c)}).slice(0,2),l=n.length,t=a.getCalculationInfo("stackResultDimension");y(a,n[0])&&(n[0]=t),y(a,n[1])&&(n[1]=t);function s(c,p){for(var A=c.end-c.start,w=d&&new Float32Array(A*l),C=c.start,x=0,E=[],T=[];C<c.end;C++){var _;if(l===1){var v=p.get(n[0],C);_=!isNaN(v)&&r.dataToPoint(v,null,T)}else{var v=E[0]=p.get(n[0],C),S=E[1]=p.get(n[1],C);_=!isNaN(v)&&!isNaN(S)&&r.dataToPoint(E,null,T)}d?(w[x++]=_?_[0]:NaN,w[x++]=_?_[1]:NaN):p.setItemLayout(C,_&&_.slice()||[NaN,NaN])}d&&p.setLayout("symbolPoints",w)}return l&&{progress:s}}}}R.exports=h},hD7B:function(R,I,e){var g=e("bYtY"),f=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function b(y){g.each(f,function(h){this[h]=g.bind(y[h],y)},this)}var m=b;R.exports=m},hFmY:function(R,I,e){var g=e("ProS"),f={type:"axisAreaSelect",event:"axisAreaSelected"};g.registerAction(f,function(b,m){m.eachComponent({mainType:"parallelAxis",query:b},function(y){y.axis.model.setActiveIntervals(b.intervals)})}),g.registerAction("parallelAxisExpand",function(b,m){m.eachComponent({mainType:"parallel",query:b},function(y){y.setAxisExpand(b)})})},hJvP:function(R,I,e){var g=e("2dDv"),f=e("IDmD");function b(m,y){var h=[];return m.eachComponent("parallel",function(u,i){var a=new g(u,m,y);a.name="parallel_"+i,a.resize(u,y),u.coordinateSystem=a,a.model=u,h.push(a)}),m.eachSeries(function(u){if(u.get("coordinateSystem")==="parallel"){var i=m.queryComponents({mainType:"parallel",index:u.get("parallelIndex"),id:u.get("parallelId")})[0];u.coordinateSystem=i.coordinateSystem}}),h}f.register("parallel",{create:b})},hM6l:function(R,I,e){var g=e("bYtY"),f=g.each,b=g.map,m=e("OELB"),y=m.linearMap,h=m.getPixelPrecision,u=m.round,i=e("4HMb"),a=i.createAxisTicks,r=i.createAxisLabels,o=i.calculateCategoryInterval,d=[0,1],n=function(c,p,A){this.dim=c,this.scale=p,this._extent=A||[0,0],this.inverse=!1,this.onBand=!1};n.prototype={constructor:n,contain:function(c){var p=this._extent,A=Math.min(p[0],p[1]),w=Math.max(p[0],p[1]);return c>=A&&c<=w},containData:function(c){return this.scale.contain(c)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(c){return h(c||this.scale.getExtent(),this._extent)},setExtent:function(c,p){var A=this._extent;A[0]=c,A[1]=p},dataToCoord:function(c,p){var A=this._extent,w=this.scale;return c=w.normalize(c),this.onBand&&w.type==="ordinal"&&(A=A.slice(),l(A,w.count())),y(c,d,A,p)},coordToData:function(c,p){var A=this._extent,w=this.scale;this.onBand&&w.type==="ordinal"&&(A=A.slice(),l(A,w.count()));var C=y(c,A,d,p);return this.scale.scale(C)},pointToData:function(c,p){},getTicksCoords:function(c){c=c||{};var p=c.tickModel||this.getTickModel(),A=a(this,p),w=A.ticks,C=b(w,function(E){return{coord:this.dataToCoord(E),tickValue:E}},this),x=p.get("alignWithLabel");return t(this,C,x,c.clamp),C},getMinorTicksCoords:function(){if(this.scale.type==="ordinal")return[];var c=this.model.getModel("minorTick"),p=c.get("splitNumber");p>0&&p<100||(p=5);var A=this.scale.getMinorTicks(p),w=b(A,function(C){return b(C,function(x){return{coord:this.dataToCoord(x),tickValue:x}},this)},this);return w},getViewLabels:function(){return r(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var c=this._extent,p=this.scale.getExtent(),A=p[1]-p[0]+(this.onBand?1:0);A===0&&(A=1);var w=Math.abs(c[1]-c[0]);return Math.abs(w)/A},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return o(this)}};function l(c,p){var A=c[1]-c[0],w=p,C=A/w/2;c[0]+=C,c[1]-=C}function t(c,p,A,w){var C=p.length;if(!c.onBand||A||!C)return;var x=c.getExtent(),E,T;if(C===1)p[0].coord=x[0],E=p[1]={coord:x[0]};else{var _=p[C-1].tickValue-p[0].tickValue,v=(p[C-1].coord-p[0].coord)/_;f(p,function(M){M.coord-=v/2});var S=c.scale.getExtent();T=1+S[1]-p[C-1].tickValue,E={coord:p[C-1].coord+v*T},p.push(E)}var O=x[0]>x[1];L(p[0].coord,x[0])&&(w?p[0].coord=x[0]:p.shift()),w&&L(x[0],p[0].coord)&&p.unshift({coord:x[0]}),L(x[1],E.coord)&&(w?E.coord=x[1]:p.pop()),w&&L(E.coord,x[1])&&p.push({coord:x[1]});function L(M,F){return M=u(M),F=u(F),O?M>F:M<F}}var s=n;R.exports=s},hNWo:function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("Qxkt"),m=e("4NO4"),y=m.isNameSpecified,h=e("Kagy"),u=h.legend.selector,i={all:{type:"all",title:f.clone(u.all)},inverse:{type:"inverse",title:f.clone(u.inverse)}},a=g.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(o,d,n){this.mergeDefaultAndTheme(o,n),o.selected=o.selected||{},this._updateSelector(o)},mergeOption:function(o){a.superCall(this,"mergeOption",o),this._updateSelector(o)},_updateSelector:function(o){var d=o.selector;d===!0&&(d=o.selector=["all","inverse"]),f.isArray(d)&&f.each(d,function(n,l){f.isString(n)&&(n={type:n}),d[l]=f.merge(n,i[n.type])})},optionUpdated:function(){this._updateData(this.ecModel);var o=this._data;if(o[0]&&this.get("selectedMode")==="single"){for(var d=!1,n=0;n<o.length;n++){var l=o[n].get("name");if(this.isSelected(l)){this.select(l),d=!0;break}}!d&&this.select(o[0].get("name"))}},_updateData:function(o){var d=[],n=[];o.eachRawSeries(function(s){var c=s.name;n.push(c);var p;if(s.legendVisualProvider){var A=s.legendVisualProvider,w=A.getAllNames();o.isSeriesFiltered(s)||(n=n.concat(w)),w.length?d=d.concat(w):p=!0}else p=!0;p&&y(s)&&d.push(s.name)}),this._availableNames=n;var l=this.get("data")||d,t=f.map(l,function(s){return(typeof s=="string"||typeof s=="number")&&(s={name:s}),new b(s,this,this.ecModel)},this);this._data=t},getData:function(){return this._data},select:function(o){var d=this.option.selected,n=this.get("selectedMode");if(n==="single"){var l=this._data;f.each(l,function(t){d[t.get("name")]=!1})}d[o]=!0},unSelect:function(o){this.get("selectedMode")!=="single"&&(this.option.selected[o]=!1)},toggleSelected:function(o){var d=this.option.selected;d.hasOwnProperty(o)||(d[o]=!0),this[d[o]?"unSelect":"select"](o)},allSelect:function(){var o=this._data,d=this.option.selected;f.each(o,function(n){d[n.get("name",!0)]=!0})},inverseSelect:function(){var o=this._data,d=this.option.selected;f.each(o,function(n){var l=n.get("name",!0);d.hasOwnProperty(l)||(d[l]=!0),d[l]=!d[l]})},isSelected:function(o){var d=this.option.selected;return!(d.hasOwnProperty(o)&&!d[o])&&f.indexOf(this._availableNames,o)>=0},getOrient:function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),r=a;R.exports=r},hOwI:function(R,I){var e=Math.log(2);function g(b,m,y,h,u,i){var a=h+"-"+u,r=b.length;if(i.hasOwnProperty(a))return i[a];if(m===1){var o=Math.round(Math.log((1<<r)-1&~u)/e);return b[y][o]}for(var d=h|1<<y,n=y+1;h&1<<n;)n++;for(var l=0,t=0,s=0;t<r;t++){var c=1<<t;c&u||(l+=(s%2?-1:1)*b[y][t]*g(b,m-1,n,d,u|c,i),s++)}return i[a]=l,l}function f(b,m){var y=[[b[0],b[1],1,0,0,0,-m[0]*b[0],-m[0]*b[1]],[0,0,0,b[0],b[1],1,-m[1]*b[0],-m[1]*b[1]],[b[2],b[3],1,0,0,0,-m[2]*b[2],-m[2]*b[3]],[0,0,0,b[2],b[3],1,-m[3]*b[2],-m[3]*b[3]],[b[4],b[5],1,0,0,0,-m[4]*b[4],-m[4]*b[5]],[0,0,0,b[4],b[5],1,-m[5]*b[4],-m[5]*b[5]],[b[6],b[7],1,0,0,0,-m[6]*b[6],-m[6]*b[7]],[0,0,0,b[6],b[7],1,-m[7]*b[6],-m[7]*b[7]]],h={},u=g(y,8,0,0,0,h);if(u===0)return;for(var i=[],a=0;a<8;a++)for(var r=0;r<8;r++)i[r]==null&&(i[r]=0),i[r]+=((a+r)%2?-1:1)*g(y,7,a===0?1:0,1<<a,1<<r,h)/u*m[a];return function(o,d,n){var l=d*i[6]+n*i[7]+1;o[0]=(d*i[0]+n*i[1]+i[2])/l,o[1]=(d*i[3]+n*i[4]+i[5])/l}}I.buildTransformer=f},hQUZ:function(R,I,e){"use strict";var g=e("TqRt");Object.defineProperty(I,"__esModule",{value:!0}),I.InnerSlider=void 0;var f=g(e("cDf5")),b=g(e("pVnL")),m=g(e("QILm")),y=g(e("3tO9")),h=g(e("lwsE")),u=g(e("W8MJ")),i=g(e("PJYZ")),a=g(e("7W2i")),r=g(e("LQ03")),o=g(e("lSNA")),d=g(e("q1tI")),n=g(e("F1Ou")),l=g(e("sEfC")),t=g(e("TSYQ")),s=e("3K4p"),c=e("+uyH"),p=e("coqV"),A=e("3Fjq"),w=g(e("bdgK")),C=function(x){(0,a.default)(T,x);var E=(0,r.default)(T);function T(_){var v;(0,h.default)(this,T),v=E.call(this,_),(0,o.default)((0,i.default)(v),"listRefHandler",function(O){return v.list=O}),(0,o.default)((0,i.default)(v),"trackRefHandler",function(O){return v.track=O}),(0,o.default)((0,i.default)(v),"adaptHeight",function(){if(v.props.adaptiveHeight&&v.list){var O=v.list.querySelector('[data-index="'.concat(v.state.currentSlide,'"]'));v.list.style.height=(0,s.getHeight)(O)+"px"}}),(0,o.default)((0,i.default)(v),"componentDidMount",function(){if(v.props.onInit&&v.props.onInit(),v.props.lazyLoad){var O=(0,s.getOnDemandLazySlides)((0,y.default)((0,y.default)({},v.props),v.state));O.length>0&&(v.setState(function(M){return{lazyLoadedList:M.lazyLoadedList.concat(O)}}),v.props.onLazyLoad&&v.props.onLazyLoad(O))}var L=(0,y.default)({listRef:v.list,trackRef:v.track},v.props);v.updateState(L,!0,function(){v.adaptHeight(),v.props.autoplay&&v.autoPlay("update")}),v.props.lazyLoad==="progressive"&&(v.lazyLoadTimer=setInterval(v.progressiveLazyLoad,1e3)),v.ro=new w.default(function(){v.state.animating?(v.onWindowResized(!1),v.callbackTimers.push(setTimeout(function(){return v.onWindowResized()},v.props.speed))):v.onWindowResized()}),v.ro.observe(v.list),Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(M){M.onfocus=v.props.pauseOnFocus?v.onSlideFocus:null,M.onblur=v.props.pauseOnFocus?v.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",v.onWindowResized):window.attachEvent("onresize",v.onWindowResized)}),(0,o.default)((0,i.default)(v),"componentWillUnmount",function(){v.animationEndCallback&&clearTimeout(v.animationEndCallback),v.lazyLoadTimer&&clearInterval(v.lazyLoadTimer),v.callbackTimers.length&&(v.callbackTimers.forEach(function(O){return clearTimeout(O)}),v.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",v.onWindowResized):window.detachEvent("onresize",v.onWindowResized),v.autoplayTimer&&clearInterval(v.autoplayTimer),v.ro.disconnect()}),(0,o.default)((0,i.default)(v),"componentDidUpdate",function(O){if(v.checkImagesLoad(),v.props.onReInit&&v.props.onReInit(),v.props.lazyLoad){var L=(0,s.getOnDemandLazySlides)((0,y.default)((0,y.default)({},v.props),v.state));L.length>0&&(v.setState(function(U){return{lazyLoadedList:U.lazyLoadedList.concat(L)}}),v.props.onLazyLoad&&v.props.onLazyLoad(L))}v.adaptHeight();var M=(0,y.default)((0,y.default)({listRef:v.list,trackRef:v.track},v.props),v.state),F=v.didPropsChange(O);F&&v.updateState(M,F,function(){v.state.currentSlide>=d.default.Children.count(v.props.children)&&v.changeSlide({message:"index",index:d.default.Children.count(v.props.children)-v.props.slidesToShow,currentSlide:v.state.currentSlide}),(O.autoplay!==v.props.autoplay||O.autoplaySpeed!==v.props.autoplaySpeed)&&(v.props.autoplay?v.autoPlay("update"):v.pause("paused"))})}),(0,o.default)((0,i.default)(v),"onWindowResized",function(O){v.debouncedResize&&v.debouncedResize.cancel(),v.debouncedResize=(0,l.default)(function(){return v.resizeWindow(O)},50),v.debouncedResize()}),(0,o.default)((0,i.default)(v),"resizeWindow",function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,L=Boolean(v.track&&v.track.node);if(!L)return;var M=(0,y.default)((0,y.default)({listRef:v.list,trackRef:v.track},v.props),v.state);v.updateState(M,O,function(){v.props.autoplay?v.autoPlay("update"):v.pause("paused")}),v.setState({animating:!1}),clearTimeout(v.animationEndCallback),delete v.animationEndCallback}),(0,o.default)((0,i.default)(v),"updateState",function(O,L,M){var F=(0,s.initializedState)(O);O=(0,y.default)((0,y.default)((0,y.default)({},O),F),{},{slideIndex:F.currentSlide});var U=(0,s.getTrackLeft)(O);O=(0,y.default)((0,y.default)({},O),{},{left:U});var z=(0,s.getTrackCSS)(O);(L||d.default.Children.count(v.props.children)!==d.default.Children.count(O.children))&&(F.trackStyle=z),v.setState(F,M)}),(0,o.default)((0,i.default)(v),"ssrInit",function(){if(v.props.variableWidth){var O=0,L=0,M=[],F=(0,s.getPreClones)((0,y.default)((0,y.default)((0,y.default)({},v.props),v.state),{},{slideCount:v.props.children.length})),U=(0,s.getPostClones)((0,y.default)((0,y.default)((0,y.default)({},v.props),v.state),{},{slideCount:v.props.children.length}));v.props.children.forEach(function(G){M.push(G.props.style.width),O+=G.props.style.width});for(var z=0;z<F;z++)L+=M[M.length-1-z],O+=M[M.length-1-z];for(var W=0;W<U;W++)O+=M[W];for(var N=0;N<v.state.currentSlide;N++)L+=M[N];var H={width:O+"px",left:-L+"px"};if(v.props.centerMode){var j="".concat(M[v.state.currentSlide],"px");H.left="calc(".concat(H.left," + (100% - ").concat(j,") / 2 ) ")}return{trackStyle:H}}var k=d.default.Children.count(v.props.children),B=(0,y.default)((0,y.default)((0,y.default)({},v.props),v.state),{},{slideCount:k}),V=(0,s.getPreClones)(B)+(0,s.getPostClones)(B)+k,K=100/v.props.slidesToShow*V,Y=100/V,Q=-Y*((0,s.getPreClones)(B)+v.state.currentSlide)*K/100;v.props.centerMode&&(Q+=(100-Y*K/100)/2);var he={width:K+"%",left:Q+"%"};return{slideWidth:Y+"%",trackStyle:he}}),(0,o.default)((0,i.default)(v),"checkImagesLoad",function(){var O=v.list.querySelectorAll(".slick-slide img"),L=O.length,M=0;Array.prototype.forEach.call(O,function(F){var U=function(){return++M&&M>=L&&v.onWindowResized()};if(!F.onclick)F.onclick=function(){return F.parentNode.focus()};else{var z=F.onclick;F.onclick=function(){z(),F.parentNode.focus()}}F.onload||(v.props.lazyLoad?F.onload=function(){v.adaptHeight(),v.callbackTimers.push(setTimeout(v.onWindowResized,v.props.speed))}:(F.onload=U,F.onerror=function(){U(),v.props.onLazyLoadError&&v.props.onLazyLoadError()}))})}),(0,o.default)((0,i.default)(v),"progressiveLazyLoad",function(){for(var O=[],L=(0,y.default)((0,y.default)({},v.props),v.state),M=v.state.currentSlide;M<v.state.slideCount+(0,s.getPostClones)(L);M++)if(v.state.lazyLoadedList.indexOf(M)<0){O.push(M);break}for(var F=v.state.currentSlide-1;F>=-(0,s.getPreClones)(L);F--)if(v.state.lazyLoadedList.indexOf(F)<0){O.push(F);break}O.length>0?(v.setState(function(U){return{lazyLoadedList:U.lazyLoadedList.concat(O)}}),v.props.onLazyLoad&&v.props.onLazyLoad(O)):v.lazyLoadTimer&&(clearInterval(v.lazyLoadTimer),delete v.lazyLoadTimer)}),(0,o.default)((0,i.default)(v),"slideHandler",function(O){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,M=v.props,F=M.asNavFor,U=M.beforeChange,z=M.onLazyLoad,W=M.speed,N=M.afterChange,H=v.state.currentSlide,j=(0,s.slideHandler)((0,y.default)((0,y.default)((0,y.default)({index:O},v.props),v.state),{},{trackRef:v.track,useCSS:v.props.useCSS&&!L})),k=j.state,B=j.nextState;if(!k)return;U&&U(H,k.currentSlide);var V=k.lazyLoadedList.filter(function(K){return v.state.lazyLoadedList.indexOf(K)<0});z&&V.length>0&&z(V),!v.props.waitForAnimate&&v.animationEndCallback&&(clearTimeout(v.animationEndCallback),N&&N(H),delete v.animationEndCallback),v.setState(k,function(){if(F&&v.asNavForIndex!==O&&(v.asNavForIndex=O,F.innerSlider.slideHandler(O)),!B)return;v.animationEndCallback=setTimeout(function(){var K=B.animating,Y=(0,m.default)(B,["animating"]);v.setState(Y,function(){v.callbackTimers.push(setTimeout(function(){return v.setState({animating:K})},10)),N&&N(k.currentSlide),delete v.animationEndCallback})},W)})}),(0,o.default)((0,i.default)(v),"changeSlide",function(O){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,M=(0,y.default)((0,y.default)({},v.props),v.state),F=(0,s.changeSlide)(M,O);if(F!==0&&!F)return;if(L===!0?v.slideHandler(F,L):v.slideHandler(F),v.props.autoplay&&v.autoPlay("update"),v.props.focusOnSelect){var U=v.list.querySelectorAll(".slick-current");U[0]&&U[0].focus()}}),(0,o.default)((0,i.default)(v),"clickHandler",function(O){v.clickable===!1&&(O.stopPropagation(),O.preventDefault()),v.clickable=!0}),(0,o.default)((0,i.default)(v),"keyHandler",function(O){var L=(0,s.keyHandler)(O,v.props.accessibility,v.props.rtl);L!==""&&v.changeSlide({message:L})}),(0,o.default)((0,i.default)(v),"selectHandler",function(O){v.changeSlide(O)}),(0,o.default)((0,i.default)(v),"disableBodyScroll",function(){var O=function(M){M=M||window.event,M.preventDefault&&M.preventDefault(),M.returnValue=!1};window.ontouchmove=O}),(0,o.default)((0,i.default)(v),"enableBodyScroll",function(){window.ontouchmove=null}),(0,o.default)((0,i.default)(v),"swipeStart",function(O){v.props.verticalSwiping&&v.disableBodyScroll();var L=(0,s.swipeStart)(O,v.props.swipe,v.props.draggable);L!==""&&v.setState(L)}),(0,o.default)((0,i.default)(v),"swipeMove",function(O){var L=(0,s.swipeMove)(O,(0,y.default)((0,y.default)((0,y.default)({},v.props),v.state),{},{trackRef:v.track,listRef:v.list,slideIndex:v.state.currentSlide}));if(!L)return;L.swiping&&(v.clickable=!1),v.setState(L)}),(0,o.default)((0,i.default)(v),"swipeEnd",function(O){var L=(0,s.swipeEnd)(O,(0,y.default)((0,y.default)((0,y.default)({},v.props),v.state),{},{trackRef:v.track,listRef:v.list,slideIndex:v.state.currentSlide}));if(!L)return;var M=L.triggerSlideHandler;if(delete L.triggerSlideHandler,v.setState(L),M===void 0)return;v.slideHandler(M),v.props.verticalSwiping&&v.enableBodyScroll()}),(0,o.default)((0,i.default)(v),"touchEnd",function(O){v.swipeEnd(O),v.clickable=!0}),(0,o.default)((0,i.default)(v),"slickPrev",function(){v.callbackTimers.push(setTimeout(function(){return v.changeSlide({message:"previous"})},0))}),(0,o.default)((0,i.default)(v),"slickNext",function(){v.callbackTimers.push(setTimeout(function(){return v.changeSlide({message:"next"})},0))}),(0,o.default)((0,i.default)(v),"slickGoTo",function(O){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(O=Number(O),isNaN(O))return"";v.callbackTimers.push(setTimeout(function(){return v.changeSlide({message:"index",index:O,currentSlide:v.state.currentSlide},L)},0))}),(0,o.default)((0,i.default)(v),"play",function(){var O;if(v.props.rtl)O=v.state.currentSlide-v.props.slidesToScroll;else if((0,s.canGoNext)((0,y.default)((0,y.default)({},v.props),v.state)))O=v.state.currentSlide+v.props.slidesToScroll;else return!1;v.slideHandler(O)}),(0,o.default)((0,i.default)(v),"autoPlay",function(O){v.autoplayTimer&&clearInterval(v.autoplayTimer);var L=v.state.autoplaying;if(O==="update"){if(L==="hovered"||L==="focused"||L==="paused")return}else if(O==="leave"){if(L==="paused"||L==="focused")return}else if(O==="blur"&&(L==="paused"||L==="hovered"))return;v.autoplayTimer=setInterval(v.play,v.props.autoplaySpeed+50),v.setState({autoplaying:"playing"})}),(0,o.default)((0,i.default)(v),"pause",function(O){v.autoplayTimer&&(clearInterval(v.autoplayTimer),v.autoplayTimer=null);var L=v.state.autoplaying;O==="paused"?v.setState({autoplaying:"paused"}):O==="focused"?(L==="hovered"||L==="playing")&&v.setState({autoplaying:"focused"}):L==="playing"&&v.setState({autoplaying:"hovered"})}),(0,o.default)((0,i.default)(v),"onDotsOver",function(){return v.props.autoplay&&v.pause("hovered")}),(0,o.default)((0,i.default)(v),"onDotsLeave",function(){return v.props.autoplay&&v.state.autoplaying==="hovered"&&v.autoPlay("leave")}),(0,o.default)((0,i.default)(v),"onTrackOver",function(){return v.props.autoplay&&v.pause("hovered")}),(0,o.default)((0,i.default)(v),"onTrackLeave",function(){return v.props.autoplay&&v.state.autoplaying==="hovered"&&v.autoPlay("leave")}),(0,o.default)((0,i.default)(v),"onSlideFocus",function(){return v.props.autoplay&&v.pause("focused")}),(0,o.default)((0,i.default)(v),"onSlideBlur",function(){return v.props.autoplay&&v.state.autoplaying==="focused"&&v.autoPlay("blur")}),(0,o.default)((0,i.default)(v),"render",function(){var O=(0,t.default)("slick-slider",v.props.className,{"slick-vertical":v.props.vertical,"slick-initialized":!0}),L=(0,y.default)((0,y.default)({},v.props),v.state),M=(0,s.extractObject)(L,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),F=v.props.pauseOnHover;M=(0,y.default)((0,y.default)({},M),{},{onMouseEnter:F?v.onTrackOver:null,onMouseLeave:F?v.onTrackLeave:null,onMouseOver:F?v.onTrackOver:null,focusOnSelect:v.props.focusOnSelect&&v.clickable?v.selectHandler:null});var U;if(v.props.dots===!0&&v.state.slideCount>=v.props.slidesToShow){var z=(0,s.extractObject)(L,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),W=v.props.pauseOnDotsHover;z=(0,y.default)((0,y.default)({},z),{},{clickHandler:v.changeSlide,onMouseEnter:W?v.onDotsLeave:null,onMouseOver:W?v.onDotsOver:null,onMouseLeave:W?v.onDotsLeave:null}),U=d.default.createElement(p.Dots,z)}var N,H,j=(0,s.extractObject)(L,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);j.clickHandler=v.changeSlide,v.props.arrows&&(N=d.default.createElement(A.PrevArrow,j),H=d.default.createElement(A.NextArrow,j));var k=null;v.props.vertical&&(k={height:v.state.listHeight});var B=null;v.props.vertical===!1?v.props.centerMode===!0&&(B={padding:"0px "+v.props.centerPadding}):v.props.centerMode===!0&&(B={padding:v.props.centerPadding+" 0px"});var V=(0,y.default)((0,y.default)({},k),B),K=v.props.touchMove,Y={className:"slick-list",style:V,onClick:v.clickHandler,onMouseDown:K?v.swipeStart:null,onMouseMove:v.state.dragging&&K?v.swipeMove:null,onMouseUp:K?v.swipeEnd:null,onMouseLeave:v.state.dragging&&K?v.swipeEnd:null,onTouchStart:K?v.swipeStart:null,onTouchMove:v.state.dragging&&K?v.swipeMove:null,onTouchEnd:K?v.touchEnd:null,onTouchCancel:v.state.dragging&&K?v.swipeEnd:null,onKeyDown:v.props.accessibility?v.keyHandler:null},Q={className:O,dir:"ltr",style:v.props.style};return v.props.unslick&&(Y={className:"slick-list"},Q={className:O}),d.default.createElement("div",Q,v.props.unslick?"":N,d.default.createElement("div",(0,b.default)({ref:v.listRefHandler},Y),d.default.createElement(c.Track,(0,b.default)({ref:v.trackRefHandler},M),v.props.children)),v.props.unslick?"":H,v.props.unslick?"":U)}),v.list=null,v.track=null,v.state=(0,y.default)((0,y.default)({},n.default),{},{currentSlide:v.props.initialSlide,slideCount:d.default.Children.count(v.props.children)}),v.callbackTimers=[],v.clickable=!0,v.debouncedResize=null;var S=v.ssrInit();return v.state=(0,y.default)((0,y.default)({},v.state),S),v}return(0,u.default)(T,[{key:"didPropsChange",value:function(v){for(var S=!1,O=0,L=Object.keys(this.props);O<L.length;O++){var M=L[O];if(!v.hasOwnProperty(M)){S=!0;break}if((0,f.default)(v[M])==="object"||typeof v[M]=="function")continue;if(v[M]!==this.props[M]){S=!0;break}}return S||d.default.Children.count(this.props.children)!==d.default.Children.count(v.children)}}]),T}(d.default.Component);I.InnerSlider=C},hX1E:function(R,I){var e=Math.PI*2;function g(f){return f%=e,f<0&&(f+=e),f}I.normalizeRadian=g},hXwI:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;function g(y,h){if(!(y instanceof h))throw new TypeError("Cannot call a class as a function")}function f(y,h){for(var u=0;u<h.length;u++){var i=h[u];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(y,i.key,i)}}function b(y,h,u){return h&&f(y.prototype,h),u&&f(y,u),y}var m=function(){function y(){g(this,y)}return b(y,[{key:"decodeRect",value:function(u,i,a,r,o,d,n){if(o.rQwait("COPYRECT",4))return!1;var l=o.rQshift16(),t=o.rQshift16();return d.copyImage(l,t,u,i,a,r),!0}}]),y}();I.default=m},hi0g:function(R,I,e){var g=e("bYtY"),f=g.createHashMap,b=g.each,m=g.isString,y=g.defaults,h=g.extend,u=g.isObject,i=g.clone,a=e("4NO4"),r=a.normalizeToArray,o=e("D5nY"),d=o.guessOrdinal,n=o.BE_ORDINAL,l=e("7G+c"),t=e("L0Ub"),s=t.OTHER_DIMENSIONS,c=e("Vi4m");function p(x,E,T){l.isInstance(E)||(E=l.seriesDataToSource(E)),T=T||{},x=(x||[]).slice();for(var _=(T.dimsDef||[]).slice(),v=f(),S=f(),O=[],L=A(E,x,_,T.dimCount),M=0;M<L;M++){var F=_[M]=h({},u(_[M])?_[M]:{name:_[M]}),U=F.name,z=O[M]=new c;U!=null&&v.get(U)==null&&(z.name=z.displayName=U,v.set(U,M)),F.type!=null&&(z.type=F.type),F.displayName!=null&&(z.displayName=F.displayName)}var W=T.encodeDef;!W&&T.encodeDefaulter&&(W=T.encodeDefaulter(E,L)),W=f(W),W.each(function(Q,he){if(Q=r(Q).slice(),Q.length===1&&!m(Q[0])&&Q[0]<0){W.set(he,!1);return}var G=W.set(he,[]);b(Q,function(ye,Ae){m(ye)&&(ye=v.get(ye)),ye!=null&&ye<L&&(G[Ae]=ye,H(O[ye],he,Ae))})});var N=0;b(x,function(Q,he){var G,Q,ye,Ae;if(m(Q))G=Q,Q={};else{G=Q.name;var ge=Q.ordinalMeta;Q.ordinalMeta=null,Q=i(Q),Q.ordinalMeta=ge,ye=Q.dimsDef,Ae=Q.otherDims,Q.name=Q.coordDim=Q.coordDimIndex=Q.dimsDef=Q.otherDims=null}var Pe=W.get(G);if(Pe===!1)return;var Pe=r(Pe);if(!Pe.length)for(var Re=0;Re<(ye&&ye.length||1);Re++){for(;N<O.length&&O[N].coordDim!=null;)N++;N<O.length&&Pe.push(N++)}b(Pe,function(rt,ne){var be=O[rt];if(H(y(be,Q),G,ne),be.name==null&&ye){var at=ye[ne];!u(at)&&(at={name:at}),be.name=be.displayName=at.name,be.defaultTooltip=at.defaultTooltip}Ae&&y(be.otherDims,Ae)})});function H(Q,he,G){s.get(he)!=null?Q.otherDims[he]=G:(Q.coordDim=he,Q.coordDimIndex=G,S.set(he,!0))}var j=T.generateCoord,k=T.generateCoordCount,B=k!=null;k=j?k||1:0;for(var V=j||"value",K=0;K<L;K++){var z=O[K]=O[K]||new c,Y=z.coordDim;Y==null&&(z.coordDim=w(V,S,B),z.coordDimIndex=0,(!j||k<=0)&&(z.isExtraCoord=!0),k--),z.name==null&&(z.name=w(z.coordDim,v)),z.type==null&&(d(E,K,z.name)===n.Must||z.isExtraCoord&&(z.otherDims.itemName!=null||z.otherDims.seriesName!=null))&&(z.type="ordinal")}return O}function A(x,E,T,_){var v=Math.max(x.dimensionsDetectCount||1,E.length,T.length,_||0);return b(E,function(S){var O=S.dimsDef;O&&(v=Math.max(v,O.length))}),v}function w(x,E,T){if(T||E.get(x)!=null){for(var _=0;E.get(x+_)!=null;)_++;x+=_}return E.set(x,!0),x}var C=p;R.exports=C},hkKa:function(R,I,e){"use strict";e.d(I,"a",function(){return y});var g=e("J4zp"),f=e.n(g),b=e("q1tI"),m=e.n(b);function y(){var h=b.useReducer(function(a){return a+1},0),u=f()(h,2),i=u[1];return i}},hw6D:function(R,I,e){var g=e("bYtY");function f(y){y.eachSeriesByType("radar",function(h){var u=h.getData(),i=[],a=h.coordinateSystem;if(!a)return;var r=a.getIndicatorAxes();g.each(r,function(o,d){u.each(u.mapDimension(r[d].dim),function(n,l){i[l]=i[l]||[];var t=a.dataToPoint(n,d);i[l][d]=b(t)?t:m(a)})}),u.each(function(o){var d=g.find(i[o],function(n){return b(n)})||m(a);i[o].push(d.slice()),u.setItemLayout(o,i[o])})})}function b(y){return!isNaN(y[0])&&!isNaN(y[1])}function m(y){return[y.cx,y.cy]}R.exports=f},hwYd:function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("Nu4q")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="PictureTwoTone";var u=b.forwardRef(h);I.default=u},hydK:function(R,I){var e="http://www.w3.org/2000/svg";function g(f){return document.createElementNS(e,f)}I.createElement=g},hyiK:function(R,I){function e(g,f,b,m,y,h){if(h>f&&h>m||h<f&&h<m)return 0;if(m===f)return 0;var u=m<f?1:-1,i=(h-f)/(m-f);(i===1||i===0)&&(u=m<f?.5:-.5);var a=i*(b-g)+g;return a===y?Infinity:a>y?u:0}R.exports=e},i38C:function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("bYtY"),m=b.createHashMap,y=b.retrieve,h=b.each;function u(o){this.coordSysName=o,this.coordSysDims=[],this.axisMap=m(),this.categoryAxisMap=m(),this.firstCategoryDimIndex=null}function i(o){var d=o.get("coordinateSystem"),n=new u(d),l=a[d];if(l)return l(o,n,n.axisMap,n.categoryAxisMap),n}var a={cartesian2d:function(o,d,n,l){var t=o.getReferringComponents("xAxis")[0],s=o.getReferringComponents("yAxis")[0];d.coordSysDims=["x","y"],n.set("x",t),n.set("y",s),r(t)&&(l.set("x",t),d.firstCategoryDimIndex=0),r(s)&&(l.set("y",s),d.firstCategoryDimIndex==null&(d.firstCategoryDimIndex=1))},singleAxis:function(o,d,n,l){var t=o.getReferringComponents("singleAxis")[0];d.coordSysDims=["single"],n.set("single",t),r(t)&&(l.set("single",t),d.firstCategoryDimIndex=0)},polar:function(o,d,n,l){var t=o.getReferringComponents("polar")[0],s=t.findAxisModel("radiusAxis"),c=t.findAxisModel("angleAxis");d.coordSysDims=["radius","angle"],n.set("radius",s),n.set("angle",c),r(s)&&(l.set("radius",s),d.firstCategoryDimIndex=0),r(c)&&(l.set("angle",c),d.firstCategoryDimIndex==null&&(d.firstCategoryDimIndex=1))},geo:function(o,d,n,l){d.coordSysDims=["lng","lat"]},parallel:function(o,d,n,l){var t=o.ecModel,s=t.getComponent("parallel",o.get("parallelIndex")),c=d.coordSysDims=s.dimensions.slice();h(s.parallelAxisIndex,function(p,A){var w=t.getComponent("parallelAxis",p),C=c[A];n.set(C,w),r(w)&&d.firstCategoryDimIndex==null&&(l.set(C,w),d.firstCategoryDimIndex=A)})}};function r(o){return o.get("type")==="category"}I.getCoordSysInfoBySeries=i},i6bk:function(R,I,e){"use strict";e.d(I,"b",function(){return g}),e.d(I,"a",function(){return f});function g(b){return b!=null&&b===b.window}function f(b,m){if(typeof window=="undefined")return 0;var y=m?"scrollTop":"scrollLeft",h=0;return g(b)?h=b[m?"pageYOffset":"pageXOffset"]:b instanceof Document?h=b.documentElement[y]:b&&(h=b[y]),b&&!g(b)&&typeof h!="number"&&(h=(b.ownerDocument||b).documentElement[y]),h}},i8CU:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("Fm1+"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},iLNv:function(R,I){var e="\0__throttleOriginMethod",g="\0__throttleRate",f="\0__throttleType";function b(h,u,i){var a,r=0,o=0,d=null,n,l,t,s;u=u||0;function c(){o=new Date().getTime(),d=null,h.apply(l,t||[])}var p=function(){a=new Date().getTime(),l=this,t=arguments;var A=s||u,w=s||i;s=null,n=a-(w?r:o)-A,clearTimeout(d),w?d=setTimeout(c,A):n>=0?c():d=setTimeout(c,-n),r=a};return p.clear=function(){d&&(clearTimeout(d),d=null)},p.debounceNextCall=function(A){s=A},p}function m(h,u,i,a){var r=h[u];if(!r)return;var o=r[e]||r,d=r[f],n=r[g];if(n!==i||d!==a){if(i==null||!a)return h[u]=o;r=h[u]=b(o,i,a==="debounce"),r[e]=o,r[f]=a,r[g]=i}return r}function y(h,u){var i=h[u];i&&i[e]&&(h[u]=i[e])}I.throttle=b,I.createOrUpdate=m,I.clear=y},iPDy:function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=g.extendComponentView({type:"marker",init:function(){this.markerGroupMap=f.createHashMap()},render:function(m,y,h){var u=this.markerGroupMap;u.each(function(a){a.__keep=!1});var i=this.type+"Model";y.eachSeries(function(a){var r=a[i];r&&this.renderSeries(a,r,y,h)},this),u.each(function(a){!a.__keep&&this.group.remove(a.group)},this)},renderSeries:function(){}});R.exports=b},iQDF:function(R,I,e){"use strict";var g=e("ZTW2"),f=e.n(g),b=e("+BJd"),m=e("+L6B")},iRjW:function(R,I,e){var g=e("bYtY"),f=e("Yl7c"),b=f.parseClassType,m=0;function y(i){return[i||"",m++,Math.random().toFixed(5)].join("_")}function h(i){var a={};return i.registerSubTypeDefaulter=function(r,o){r=b(r),a[r.main]=o},i.determineSubType=function(r,o){var d=o.type;if(!d){var n=b(r).main;i.hasSubTypes(r)&&a[n]&&(d=a[n](o))}return d},i}function u(i,a){i.topologicalTravel=function(n,l,t,s){if(!n.length)return;var c=r(l),p=c.graph,A=c.noEntryList,w={};for(g.each(n,function(v){w[v]=!0});A.length;){var C=A.pop(),x=p[C],E=!!w[C];E&&(t.call(s,C,x.originalDeps.slice()),delete w[C]),g.each(x.successor,E?_:T)}g.each(w,function(){throw new Error("Circle dependency may exists")});function T(v){p[v].entryCount--,p[v].entryCount===0&&A.push(v)}function _(v){w[v]=!0,T(v)}};function r(n){var l={},t=[];return g.each(n,function(s){var c=o(l,s),p=c.originalDeps=a(s),A=d(p,n);c.entryCount=A.length,c.entryCount===0&&t.push(s),g.each(A,function(w){g.indexOf(c.predecessor,w)<0&&c.predecessor.push(w);var C=o(l,w);g.indexOf(C.successor,w)<0&&C.successor.push(s)})}),{graph:l,noEntryList:t}}function o(n,l){return n[l]||(n[l]={predecessor:[],successor:[]}),n[l]}function d(n,l){var t=[];return g.each(n,function(s){g.indexOf(l,s)>=0&&t.push(s)}),t}}I.getUID=y,I.enableSubTypeDefaulter=h,I.enableTopologicalTravel=u},iUHT:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;function g(x,E){if(!(x instanceof E))throw new TypeError("Cannot call a class as a function")}function f(x,E){for(var T=0;T<E.length;T++){var _=E[T];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(x,_.key,_)}}function b(x,E,T){return E&&f(x.prototype,E),T&&f(x,T),x}var m=[13,16,10,23,0,4,2,27,14,5,20,9,22,18,11,3,25,7,15,6,26,19,12,1,40,51,30,36,46,54,29,39,50,44,32,47,43,48,38,55,33,52,45,41,49,35,28,31],y=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],h=0,u,i,a,r,o,d;u=1<<16,i=1<<24,a=u|i,r=1<<2,o=1<<10,d=r|o;var n=[a|o,h|h,u|h,a|d,a|r,u|d,h|r,u|h,h|o,a|o,a|d,h|o,i|d,a|r,i|h,h|r,h|d,i|o,i|o,u|o,u|o,a|h,a|h,i|d,u|r,i|r,i|r,u|r,h|h,h|d,u|d,i|h,u|h,a|d,h|r,a|h,a|o,i|h,i|h,h|o,a|r,u|h,u|o,i|r,h|o,h|r,i|d,u|d,a|d,u|r,a|h,i|d,i|r,h|d,u|d,a|o,h|d,i|o,i|o,h|h,u|r,u|o,h|h,a|r];u=1<<20,i=1<<31,a=u|i,r=1<<5,o=1<<15,d=r|o;var l=[a|d,i|o,h|o,u|d,u|h,h|r,a|r,i|d,i|r,a|d,a|o,i|h,i|o,u|h,h|r,a|r,u|o,u|r,i|d,h|h,i|h,h|o,u|d,a|h,u|r,i|r,h|h,u|o,h|d,a|o,a|h,h|d,h|h,u|d,a|r,u|h,i|d,a|h,a|o,h|o,a|h,i|o,h|r,a|d,u|d,h|r,h|o,i|h,h|d,a|o,u|h,i|r,u|r,i|d,i|r,u|r,u|o,h|h,i|o,h|d,i|h,a|r,a|d,u|o];u=1<<17,i=1<<27,a=u|i,r=1<<3,o=1<<9,d=r|o;var t=[h|d,a|o,h|h,a|r,i|o,h|h,u|d,i|o,u|r,i|r,i|r,u|h,a|d,u|r,a|h,h|d,i|h,h|r,a|o,h|o,u|o,a|h,a|r,u|d,i|d,u|o,u|h,i|d,h|r,a|d,h|o,i|h,a|o,i|h,u|r,h|d,u|h,a|o,i|o,h|h,h|o,u|r,a|d,i|o,i|r,h|o,h|h,a|r,i|d,u|h,i|h,a|d,h|r,u|d,u|o,i|r,a|h,i|d,h|d,a|h,u|d,h|r,a|r,u|o];u=1<<13,i=1<<23,a=u|i,r=1<<0,o=1<<7,d=r|o;var s=[a|r,u|d,u|d,h|o,a|o,i|d,i|r,u|r,h|h,a|h,a|h,a|d,h|d,h|h,i|o,i|r,h|r,u|h,i|h,a|r,h|o,i|h,u|r,u|o,i|d,h|r,u|o,i|o,u|h,a|o,a|d,h|d,i|o,i|r,a|h,a|d,h|d,h|h,h|h,a|h,u|o,i|o,i|d,h|r,a|r,u|d,u|d,h|o,a|d,h|d,h|r,u|h,i|r,u|r,a|o,i|d,u|r,u|o,i|h,a|r,h|o,i|h,u|h,a|o];u=1<<25,i=1<<30,a=u|i,r=1<<8,o=1<<19,d=r|o;var c=[h|r,u|d,u|o,a|r,h|o,h|r,i|h,u|o,i|d,h|o,u|r,i|d,a|r,a|o,h|d,i|h,u|h,i|o,i|o,h|h,i|r,a|d,a|d,u|r,a|o,i|r,h|h,a|h,u|d,u|h,a|h,h|d,h|o,a|r,h|r,u|h,i|h,u|o,a|r,i|d,u|r,i|h,a|o,u|d,i|d,h|r,u|h,a|o,a|d,h|d,a|h,a|d,u|o,h|h,i|o,a|h,h|d,u|r,i|r,h|o,h|h,i|o,u|d,i|r];u=1<<22,i=1<<29,a=u|i,r=1<<4,o=1<<14,d=r|o;var p=[i|r,a|h,h|o,a|d,a|h,h|r,a|d,u|h,i|o,u|d,u|h,i|r,u|r,i|o,i|h,h|d,h|h,u|r,i|d,h|o,u|o,i|d,h|r,a|r,a|r,h|h,u|d,a|o,h|d,u|o,a|o,i|h,i|o,h|r,a|r,u|o,a|d,u|h,h|d,i|r,u|h,i|o,i|h,h|d,i|r,a|d,u|o,a|h,u|d,a|o,h|h,a|r,h|r,h|o,a|h,u|d,h|o,u|r,i|d,h|h,a|o,i|h,u|r,i|d];u=1<<21,i=1<<26,a=u|i,r=1<<1,o=1<<11,d=r|o;var A=[u|h,a|r,i|d,h|h,h|o,i|d,u|d,a|o,a|d,u|h,h|h,i|r,h|r,i|h,a|r,h|d,i|o,u|d,u|r,i|o,i|r,a|h,a|o,u|r,a|h,h|o,h|d,a|d,u|o,h|r,i|h,u|o,i|h,u|o,u|h,i|d,i|d,a|r,a|r,h|r,u|r,i|h,i|o,u|h,a|o,h|d,u|d,a|o,h|d,i|r,a|d,a|h,u|o,h|h,h|r,a|d,h|h,u|d,a|h,h|o,i|r,i|o,h|o,u|r];u=1<<18,i=1<<28,a=u|i,r=1<<6,o=1<<12,d=r|o;var w=[i|d,h|o,u|h,a|d,i|h,i|d,h|r,i|h,u|r,a|h,a|d,u|o,a|o,u|d,h|o,h|r,a|h,i|r,i|o,h|d,u|o,u|r,a|r,a|o,h|d,h|h,h|h,a|r,i|r,i|o,u|d,u|h,u|d,u|h,a|o,h|o,h|r,a|r,h|o,u|d,i|o,h|r,i|r,a|h,a|r,i|h,u|h,i|d,h|h,a|d,u|r,i|r,a|h,i|o,i|d,h|h,a|d,u|o,u|o,h|d,h|d,u|r,i|h,a|o],C=function(){function x(E){g(this,x),this.keys=[];for(var T=[],_=[],v=[],S=0,O=56;S<56;++S,O-=8){O+=O<-5?65:O<-3?31:O<-1?63:O===27?35:0;var L=O&7;T[S]=(E[O>>>3]&1<<L)!==0?1:0}for(var M=0;M<16;++M){var F=M<<1,U=F+1;v[F]=v[U]=0;for(var z=28;z<59;z+=28)for(var W=z-28;W<z;++W){var N=W+y[M];_[W]=N<z?T[N]:T[N-28]}for(var H=0;H<24;++H)_[m[H]]!==0&&(v[F]|=1<<23-H),_[m[H+24]]!==0&&(v[U]|=1<<23-H)}for(var j=0,k=0,B=0;j<16;++j){var V=v[k++],K=v[k++];this.keys[B]=(V&16515072)<<6,this.keys[B]|=(V&4032)<<10,this.keys[B]|=(K&16515072)>>>10,this.keys[B]|=(K&4032)>>>6,++B,this.keys[B]=(V&258048)<<12,this.keys[B]|=(V&63)<<16,this.keys[B]|=(K&258048)>>>4,this.keys[B]|=K&63,++B}}return b(x,[{key:"enc8",value:function(T){var _=T.slice(),v=0,S,O,L;S=_[v++]<<24|_[v++]<<16|_[v++]<<8|_[v++],O=_[v++]<<24|_[v++]<<16|_[v++]<<8|_[v++],L=(S>>>4^O)&252645135,O^=L,S^=L<<4,L=(S>>>16^O)&65535,O^=L,S^=L<<16,L=(O>>>2^S)&858993459,S^=L,O^=L<<2,L=(O>>>8^S)&16711935,S^=L,O^=L<<8,O=O<<1|O>>>31&1,L=(S^O)&2863311530,S^=L,O^=L,S=S<<1|S>>>31&1;for(var M=0,F=0;M<8;++M){L=O<<28|O>>>4,L^=this.keys[F++];var U=A[L&63];U|=c[L>>>8&63],U|=t[L>>>16&63],U|=n[L>>>24&63],L=O^this.keys[F++],U|=w[L&63],U|=p[L>>>8&63],U|=s[L>>>16&63],U|=l[L>>>24&63],S^=U,L=S<<28|S>>>4,L^=this.keys[F++],U=A[L&63],U|=c[L>>>8&63],U|=t[L>>>16&63],U|=n[L>>>24&63],L=S^this.keys[F++],U|=w[L&63],U|=p[L>>>8&63],U|=s[L>>>16&63],U|=l[L>>>24&63],O^=U}for(O=O<<31|O>>>1,L=(S^O)&2863311530,S^=L,O^=L,S=S<<31|S>>>1,L=(S>>>8^O)&16711935,O^=L,S^=L<<8,L=(S>>>2^O)&858993459,O^=L,S^=L<<2,L=(O>>>16^S)&65535,S^=L,O^=L<<16,L=(O>>>4^S)&252645135,S^=L,O^=L<<4,L=[O,S],v=0;v<8;v++)_[v]=(L[v>>>2]>>>8*(3-v%4))%256,_[v]<0&&(_[v]+=256);return _}},{key:"encrypt",value:function(T){return this.enc8(T.slice(0,8)).concat(this.enc8(T.slice(8,16)))}}]),x}();I.default=C},iXHM:function(R,I){var e="";typeof navigator!="undefined"&&(e=navigator.platform||"");var g={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:e.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};R.exports=g},iXp4:function(R,I,e){var g=e("ItGF"),f=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function b(m){return g.browser.ie&&g.browser.version>=11?function(){var y=this.__clipPaths,h=this.style,u;if(y)for(var i=0;i<y.length;i++){var a=y[i],r=a&&a.shape,o=a&&a.type;if(r&&(o==="sector"&&r.startAngle===r.endAngle||o==="rect"&&(!r.width||!r.height))){for(var d=0;d<f.length;d++)f[d][2]=h[f[d][0]],h[f[d][0]]=f[d][1];u=!0;break}}if(m.apply(this,arguments),u)for(var d=0;d<f.length;d++)h[f[d][0]]=f[d][2]}:m}R.exports=b},iYpf:function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("ZLWo")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="FolderOpenOutlined";var u=b.forwardRef(h);I.default=u},ieMj:function(R,I,e){var g=e("OELB"),f=e("7aKB"),b=e("4NgU"),m=e("lE7J"),y=g.round,h=b.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(i,a){var r=this._extent;isNaN(i)||(r[0]=parseFloat(i)),isNaN(a)||(r[1]=parseFloat(a))},unionExtent:function(i){var a=this._extent;i[0]<a[0]&&(a[0]=i[0]),i[1]>a[1]&&(a[1]=i[1]),h.prototype.setExtent.call(this,a[0],a[1])},getInterval:function(){return this._interval},setInterval:function(i){this._interval=i,this._niceExtent=this._extent.slice(),this._intervalPrecision=m.getIntervalPrecision(i)},getTicks:function(i){var a=this._interval,r=this._extent,o=this._niceExtent,d=this._intervalPrecision,n=[];if(!a)return n;var l=1e4;r[0]<o[0]&&(i?n.push(y(o[0]-a,d)):n.push(r[0]));for(var t=o[0];t<=o[1]&&!(n.push(t),t=y(t+a,d),t===n[n.length-1]);)if(n.length>l)return[];var s=n.length?n[n.length-1]:o[1];return r[1]>s&&(i?n.push(y(s+a,d)):n.push(r[1])),n},getMinorTicks:function(i){for(var a=this.getTicks(!0),r=[],o=this.getExtent(),d=1;d<a.length;d++){for(var n=a[d],l=a[d-1],t=0,s=[],c=n-l,p=c/i;t<i-1;){var A=g.round(l+(t+1)*p);A>o[0]&&A<o[1]&&s.push(A),t++}r.push(s)}return r},getLabel:function(i,a){if(i==null)return"";var r=a&&a.precision;return r==null?r=g.getPrecisionSafe(i)||0:r==="auto"&&(r=this._intervalPrecision),i=y(i,r,!0),f.addCommas(i)},niceTicks:function(i,a,r){i=i||5;var o=this._extent,d=o[1]-o[0];if(!isFinite(d))return;d<0&&(d=-d,o.reverse());var n=m.intervalScaleNiceTicks(o,i,a,r);this._intervalPrecision=n.intervalPrecision,this._interval=n.interval,this._niceExtent=n.niceTickExtent},niceExtent:function(i){var a=this._extent;if(a[0]===a[1])if(a[0]!==0){var r=a[0];i.fixMax||(a[1]+=r/2),a[0]-=r/2}else a[1]=1;var o=a[1]-a[0];isFinite(o)||(a[0]=0,a[1]=1),this.niceTicks(i.splitNumber,i.minInterval,i.maxInterval);var d=this._interval;i.fixMin||(a[0]=y(Math.floor(a[0]/d)*d)),i.fixMax||(a[1]=y(Math.ceil(a[1]/d)*d))}});h.create=function(){return new h};var u=h;R.exports=u},j5sG:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.createSensor=void 0;var g=f(e("NohK"));function f(m){return m&&m.__esModule?m:{default:m}}var b=function(y){var h=void 0,u=[],i=(0,g.default)(function(){u.forEach(function(n){n(y)})}),a=function(){var l=new ResizeObserver(i);return l.observe(y),i(),l},r=function(l){h||(h=a()),u.indexOf(l)===-1&&u.push(l)},o=function(){h.disconnect(),u=[],h=void 0},d=function(l){var t=u.indexOf(l);t!==-1&&u.splice(t,1),u.length===0&&h&&o()};return{element:y,bind:r,destroy:o,unbind:d}};I.createSensor=b},jCoz:function(R,I,e){var g=e("bYtY"),f=e("4NgU"),b=e("OELB"),m=e("ieMj"),y=f.prototype,h=m.prototype,u=b.getPrecisionSafe,i=b.round,a=Math.floor,r=Math.ceil,o=Math.pow,d=Math.log,n=f.extend({type:"log",base:10,$constructor:function(){f.apply(this,arguments),this._originalScale=new m},getTicks:function(s){var c=this._originalScale,p=this._extent,A=c.getExtent();return g.map(h.getTicks.call(this,s),function(w){var C=b.round(o(this.base,w));return C=w===p[0]&&c.__fixMin?l(C,A[0]):C,C=w===p[1]&&c.__fixMax?l(C,A[1]):C,C},this)},getMinorTicks:h.getMinorTicks,getLabel:h.getLabel,scale:function(s){return s=y.scale.call(this,s),o(this.base,s)},setExtent:function(s,c){var p=this.base;s=d(s)/d(p),c=d(c)/d(p),h.setExtent.call(this,s,c)},getExtent:function(){var s=this.base,c=y.getExtent.call(this);c[0]=o(s,c[0]),c[1]=o(s,c[1]);var p=this._originalScale,A=p.getExtent();return p.__fixMin&&(c[0]=l(c[0],A[0])),p.__fixMax&&(c[1]=l(c[1],A[1])),c},unionExtent:function(s){this._originalScale.unionExtent(s);var c=this.base;s[0]=d(s[0])/d(c),s[1]=d(s[1])/d(c),y.unionExtent.call(this,s)},unionExtentFromData:function(s,c){this.unionExtent(s.getApproximateExtent(c))},niceTicks:function(s){s=s||10;var c=this._extent,p=c[1]-c[0];if(p===Infinity||p<=0)return;var A=b.quantity(p),w=s/p*A;for(w<=.5&&(A*=10);!isNaN(A)&&Math.abs(A)<1&&Math.abs(A)>0;)A*=10;var C=[b.round(r(c[0]/A)*A),b.round(a(c[1]/A)*A)];this._interval=A,this._niceExtent=C},niceExtent:function(s){h.niceExtent.call(this,s);var c=this._originalScale;c.__fixMin=s.fixMin,c.__fixMax=s.fixMax}});g.each(["contain","normalize"],function(s){n.prototype[s]=function(c){return c=d(c)/d(this.base),y[s].call(this,c)}}),n.create=function(){return new n};function l(s,c){return i(s,u(c))}var t=n;R.exports=t},jN4g:function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="CloseCircleFilled";var h=I.a=g.forwardRef(y)},jO45:function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="CheckCircleFilled";var h=I.a=g.forwardRef(y)},jTL6:function(R,I,e){var g=e("y+Vt"),f=g.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(m,y){var h=y.cx,u=y.cy,i=Math.max(y.r,0),a=y.startAngle,r=y.endAngle,o=y.clockwise,d=Math.cos(a),n=Math.sin(a);m.moveTo(d*i+h,n*i+u),m.arc(h,u,i,a,r,!o)}});R.exports=f},je13:function(R,I,e){var g=e("5nXd"),f=e("gRFJ"),b=[e("uQRt")];R.exports=g.createStore(f,b)},jett:function(R,I,e){var g=e("ProS");e("VSLf"),e("oBaM"),e("FGaS");var f=e("mOdp"),b=e("f5Yq"),m=e("hw6D"),y=e("0/Rx"),h=e("eJH7");g.registerVisual(f("radar")),g.registerVisual(b("radar","circle")),g.registerLayout(m),g.registerProcessor(y("radar")),g.registerPreprocessor(h)},jhfD:function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="ArrowLeftOutlined";var h=I.a=g.forwardRef(y)},jkPA:function(R,I,e){var g=e("bYtY"),f=g.createHashMap,b=g.isObject,m=g.map;function y(r){this.categories=r.categories||[],this._needCollect=r.needCollect,this._deduplication=r.deduplication,this._map}y.createByAxisModel=function(r){var o=r.option,d=o.data,n=d&&m(d,i);return new y({categories:n,needCollect:!n,deduplication:o.dedplication!==!1})};var h=y.prototype;h.getOrdinal=function(r){return u(this).get(r)},h.parseAndCollect=function(r){var o,d=this._needCollect;if(typeof r!="string"&&!d)return r;if(d&&!this._deduplication)return o=this.categories.length,this.categories[o]=r,o;var n=u(this);return o=n.get(r),o==null&&(d?(o=this.categories.length,this.categories[o]=r,n.set(r,o)):o=NaN),o};function u(r){return r._map||(r._map=f(r.categories))}function i(r){return b(r)&&r.value!=null?r.value:r+""}var a=y;R.exports=a},jndi:function(R,I,e){var g=e("bYtY"),f=e("Qe9p"),b=e("YXkt"),m=e("OELB"),y=e("IwbS"),h=e("kj2x"),u=e("iPDy"),i=function(t,s,c,p){var A=h.dataTransform(t,p[0]),w=h.dataTransform(t,p[1]),C=g.retrieve,x=A.coord,E=w.coord;x[0]=C(x[0],-Infinity),x[1]=C(x[1],-Infinity),E[0]=C(E[0],Infinity),E[1]=C(E[1],Infinity);var T=g.mergeAll([{},A,w]);return T.coord=[A.coord,w.coord],T.x0=A.x,T.y0=A.y,T.x1=w.x,T.y1=w.y,T};function a(t){return!isNaN(t)&&!isFinite(t)}function r(t,s,c,p){var A=1-t;return a(s[A])&&a(c[A])}function o(t,s){var c=s.coord[0],p=s.coord[1];return t.type==="cartesian2d"&&(c&&p&&(r(1,c,p,t)||r(0,c,p,t)))?!0:h.dataFilter(t,{coord:c,x:s.x0,y:s.y0})||h.dataFilter(t,{coord:p,x:s.x1,y:s.y1})}function d(t,s,c,p,A){var w=p.coordinateSystem,C=t.getItemModel(s),x,E=m.parsePercent(C.get(c[0]),A.getWidth()),T=m.parsePercent(C.get(c[1]),A.getHeight());if(!isNaN(E)&&!isNaN(T))x=[E,T];else{if(p.getMarkerPosition)x=p.getMarkerPosition(t.getValues(c,s));else{var _=t.get(c[0],s),v=t.get(c[1],s),S=[_,v];w.clampData&&w.clampData(S,S),x=w.dataToPoint(S,!0)}if(w.type==="cartesian2d"){var O=w.getAxis("x"),L=w.getAxis("y"),_=t.get(c[0],s),v=t.get(c[1],s);a(_)?x[0]=O.toGlobalCoord(O.getExtent()[c[0]==="x0"?0:1]):a(v)&&(x[1]=L.toGlobalCoord(L.getExtent()[c[1]==="y0"?0:1]))}isNaN(E)||(x[0]=E),isNaN(T)||(x[1]=T)}return x}var n=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];u.extend({type:"markArea",updateTransform:function(t,s,c){s.eachSeries(function(p){var A=p.markAreaModel;if(A){var w=A.getData();w.each(function(C){var x=g.map(n,function(T){return d(w,C,T,p,c)});w.setItemLayout(C,x);var E=w.getItemGraphicEl(C);E.setShape("points",x)})}},this)},renderSeries:function(t,s,c,p){var A=t.coordinateSystem,w=t.id,C=t.getData(),x=this.markerGroupMap,E=x.get(w)||x.set(w,{group:new y.Group});this.group.add(E.group),E.__keep=!0;var T=l(A,t,s);s.setData(T),T.each(function(_){T.setItemLayout(_,g.map(n,function(v){return d(T,_,v,t,p)})),T.setItemVisual(_,{color:C.getVisual("color")})}),T.diff(E.__data).add(function(_){var v=new y.Polygon({shape:{points:T.getItemLayout(_)}});T.setItemGraphicEl(_,v),E.group.add(v)}).update(function(_,v){var S=E.__data.getItemGraphicEl(v);y.updateProps(S,{shape:{points:T.getItemLayout(_)}},s,_),E.group.add(S),T.setItemGraphicEl(_,S)}).remove(function(_){var v=E.__data.getItemGraphicEl(_);E.group.remove(v)}).execute(),T.eachItemGraphicEl(function(_,v){var S=T.getItemModel(v),O=S.getModel("label"),L=S.getModel("emphasis.label"),M=T.getItemVisual(v,"color");_.useStyle(g.defaults(S.getModel("itemStyle").getItemStyle(),{fill:f.modifyAlpha(M,.4),stroke:M})),_.hoverStyle=S.getModel("emphasis.itemStyle").getItemStyle(),y.setLabelStyle(_.style,_.hoverStyle,O,L,{labelFetcher:s,labelDataIndex:v,defaultText:T.getName(v)||"",isRectText:!0,autoColor:M}),y.setHoverStyle(_,{}),_.dataModel=s}),E.__data=T,E.group.silent=s.get("silent")||t.get("silent")}});function l(t,s,c){var p,A,w=["x0","y0","x1","y1"];t?(p=g.map(t&&t.dimensions,function(E){var T=s.getData(),_=T.getDimensionInfo(T.mapDimension(E))||{};return g.defaults({name:E},_)}),A=new b(g.map(w,function(E,T){return{name:E,type:p[T%2].type}}),c)):(p=[{name:"value",type:"float"}],A=new b(p,c));var C=g.map(c.get("data"),g.curry(i,s,t,c));t&&(C=g.filter(C,g.curry(o,t)));var x=t?function(E,T,_,v){return E.coord[Math.floor(v/2)][v%2]}:function(E){return E.value};return A.initData(C,null,x),A.hasItemOption=!0,A}},"jsU+":function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("IUWy"),m=g.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){m.superApply(this,"optionUpdated",arguments),f.each(this.option.feature,function(h,u){var i=b.get(u);i&&f.merge(h,i.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),y=m;R.exports=y},jtI2:function(R,I,e){e("SMc4");var g=e("bLfw"),f=g.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});R.exports=f},juDX:function(R,I,e){e("P47w");var g=e("aX58"),f=g.registerPainter,b=e("3CBa");f("svg",b)},"k+1r":function(R,I,e){var g=e("QkVE");function f(b){var m=g(this,b).delete(b);return this.size-=m?1:0,m}R.exports=f},k5C7:function(R,I,e){e("0JAE"),e("g7p0"),e("7mYs")},k9D9:function(R,I){var e="original",g="arrayRows",f="objectRows",b="keyedColumns",m="unknown",y="typedArray",h="column",u="row";I.SOURCE_FORMAT_ORIGINAL=e,I.SOURCE_FORMAT_ARRAY_ROWS=g,I.SOURCE_FORMAT_OBJECT_ROWS=f,I.SOURCE_FORMAT_KEYED_COLUMNS=b,I.SOURCE_FORMAT_UNKNOWN=m,I.SOURCE_FORMAT_TYPED_ARRAY=y,I.SERIES_LAYOUT_BY_COLUMN=h,I.SERIES_LAYOUT_BY_ROW=u},kDyi:function(R,I){function e(g){var f=g.findComponents({mainType:"legend"});f&&f.length&&g.filterSeries(function(b){for(var m=0;m<f.length;m++)if(!f[m].isSelected(b.name))return!1;return!0})}R.exports=e},kGiB:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("ABKa"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},kMLO:function(R,I,e){var g=e("XxSj"),f=e("Qe9p"),b=e("bYtY"),m=b.isArray,y="itemStyle",h={seriesType:"treemap",reset:function(t,s,c,p){var A=t.getData().tree,w=A.root,C=t.getModel(y);if(w.isRemoved())return;var x=b.map(A.levelModels,function(E){return E?E.get(y):null});u(w,{},x,C,t.getViewRoot().getAncestors(),t)}};function u(t,s,c,p,A,w){var C=t.getModel(),x=t.getLayout();if(!x||x.invisible||!x.isInView)return;var E=t.getModel(y),T=c[t.depth],_=i(E,s,T,p),v=E.get("borderColor"),S=E.get("borderColorSaturation"),O;S!=null&&(O=a(_,t),v=r(S,O)),t.setVisual("borderColor",v);var L=t.viewChildren;if(!L||!L.length)O=a(_,t),t.setVisual("color",O);else{var M=d(t,C,x,E,_,L);b.each(L,function(F,U){if(F.depth>=A.length||F===A[F.depth]){var z=l(C,_,F,U,M,w);u(F,z,c,p,A,w)}})}}function i(t,s,c,p){var A=b.extend({},s);return b.each(["color","colorAlpha","colorSaturation"],function(w){var C=t.get(w,!0);C==null&&c&&(C=c[w]),C==null&&(C=s[w]),C==null&&(C=p.get(w)),C!=null&&(A[w]=C)}),A}function a(t){var s=o(t,"color");if(s){var c=o(t,"colorAlpha"),p=o(t,"colorSaturation");return p&&(s=f.modifyHSL(s,null,null,p)),c&&(s=f.modifyAlpha(s,c)),s}}function r(t,s){return s!=null?f.modifyHSL(s,null,null,t):null}function o(t,s){var c=t[s];if(c!=null&&c!=="none")return c}function d(t,s,c,p,A,w){if(!w||!w.length)return;var C=n(s,"color")||A.color!=null&&A.color!=="none"&&(n(s,"colorAlpha")||n(s,"colorSaturation"));if(!C)return;var x=s.get("visualMin"),E=s.get("visualMax"),T=c.dataExtent.slice();x!=null&&x<T[0]&&(T[0]=x),E!=null&&E>T[1]&&(T[1]=E);var _=s.get("colorMappingBy"),v={type:C.name,dataExtent:T,visual:C.range};v.type==="color"&&(_==="index"||_==="id")?(v.mappingMethod="category",v.loop=!0):v.mappingMethod="linear";var S=new g(v);return S.__drColorMappingBy=_,S}function n(t,s){var c=t.get(s);return m(c)&&c.length?{name:s,range:c}:null}function l(t,s,c,p,A,w){var C=b.extend({},s);if(A){var x=A.type,E=x==="color"&&A.__drColorMappingBy,T=E==="index"?p:E==="id"?w.mapIdToIndex(c.getId()):c.getValue(t.get("visualDimension"));C[x]=A.mapValueToVisual(T)}return C}R.exports=h},"kVK+":function(R,I){I.read=function(e,g,f,b,m){var y,h,u=m*8-b-1,i=(1<<u)-1,a=i>>1,r=-7,o=f?m-1:0,d=f?-1:1,n=e[g+o];for(o+=d,y=n&(1<<-r)-1,n>>=-r,r+=u;r>0;y=y*256+e[g+o],o+=d,r-=8);for(h=y&(1<<-r)-1,y>>=-r,r+=b;r>0;h=h*256+e[g+o],o+=d,r-=8);if(y===0)y=1-a;else{if(y===i)return h?NaN:(n?-1:1)*Infinity;h=h+Math.pow(2,b),y=y-a}return(n?-1:1)*h*Math.pow(2,y-b)},I.write=function(e,g,f,b,m,y){var h,u,i,a=y*8-m-1,r=(1<<a)-1,o=r>>1,d=m===23?Math.pow(2,-24)-Math.pow(2,-77):0,n=b?0:y-1,l=b?1:-1,t=g<0||g===0&&1/g<0?1:0;for(g=Math.abs(g),isNaN(g)||g===Infinity?(u=isNaN(g)?1:0,h=r):(h=Math.floor(Math.log(g)/Math.LN2),g*(i=Math.pow(2,-h))<1&&(h--,i*=2),h+o>=1?g+=d/i:g+=d*Math.pow(2,1-o),g*i>=2&&(h++,i/=2),h+o>=r?(u=0,h=r):h+o>=1?(u=(g*i-1)*Math.pow(2,m),h=h+o):(u=g*Math.pow(2,o-1)*Math.pow(2,m),h=0));m>=8;e[f+n]=u&255,n+=l,u/=256,m-=8);for(h=h<<m|u,a+=m;a>0;e[f+n]=h&255,n+=l,h/=256,a-=8);e[f+n-l]|=t*128}},kekF:function(R,I){function e(g,f){return function(b){return g(f(b))}}R.exports=e},kj2x:function(R,I,e){var g=e("bYtY"),f=e("OELB"),b=e("7hqr"),m=b.isDimensionStacked,y=g.indexOf;function h(c){return!(isNaN(parseFloat(c.x))&&isNaN(parseFloat(c.y)))}function u(c){return!isNaN(parseFloat(c.x))&&!isNaN(parseFloat(c.y))}function i(c,p,A,w,C,x){var E=[],T=m(p,w),_=T?p.getCalculationInfo("stackResultDimension"):w,v=s(p,_,c),S=p.indicesOfNearest(_,v)[0];E[C]=p.get(A,S),E[x]=p.get(_,S);var O=p.get(w,S),L=f.getPrecision(p.get(w,S));return L=Math.min(L,20),L>=0&&(E[x]=+E[x].toFixed(L)),[E,O]}var a=g.curry,r={min:a(i,"min"),max:a(i,"max"),average:a(i,"average")};function o(c,p){var A=c.getData(),w=c.coordinateSystem;if(p&&!u(p)&&!g.isArray(p.coord)&&w){var C=w.dimensions,x=d(p,A,w,c);if(p=g.clone(p),p.type&&r[p.type]&&x.baseAxis&&x.valueAxis){var E=y(C,x.baseAxis.dim),T=y(C,x.valueAxis.dim),_=r[p.type](A,x.baseDataDim,x.valueDataDim,E,T);p.coord=_[0],p.value=_[1]}else{for(var v=[p.xAxis!=null?p.xAxis:p.radiusAxis,p.yAxis!=null?p.yAxis:p.angleAxis],S=0;S<2;S++)r[v[S]]&&(v[S]=s(A,A.mapDimension(C[S]),v[S]));p.coord=v}}return p}function d(c,p,A,w){var C={};return c.valueIndex!=null||c.valueDim!=null?(C.valueDataDim=c.valueIndex!=null?p.getDimension(c.valueIndex):c.valueDim,C.valueAxis=A.getAxis(n(w,C.valueDataDim)),C.baseAxis=A.getOtherAxis(C.valueAxis),C.baseDataDim=p.mapDimension(C.baseAxis.dim)):(C.baseAxis=w.getBaseAxis(),C.valueAxis=A.getOtherAxis(C.baseAxis),C.baseDataDim=p.mapDimension(C.baseAxis.dim),C.valueDataDim=p.mapDimension(C.valueAxis.dim)),C}function n(c,p){var A=c.getData(),w=A.dimensions;p=A.getDimension(p);for(var C=0;C<w.length;C++){var x=A.getDimensionInfo(w[C]);if(x.name===p)return x.coordDim}}function l(c,p){return c&&c.containData&&p.coord&&!h(p)?c.containData(p.coord):!0}function t(c,p,A,w){return w<2?c.coord&&c.coord[w]:c.value}function s(c,p,A){if(A==="average"){var w=0,C=0;return c.each(p,function(x,E){isNaN(x)||(w+=x,C++)}),w/C}else return A==="median"?c.getMedian(p):c.getDataExtent(p,!0)[A==="max"?1:0]}I.dataTransform=o,I.getAxisInfo=d,I.dataFilter=l,I.dimValueGetter=t,I.numCalculate=s},knOB:function(R,I,e){var g=e("bYtY"),f=e("hM6l");function b(y,h){f.call(this,"radius",y,h),this.type="category"}b.prototype={constructor:b,pointToData:function(y,h){return this.polar.pointToData(y,h)[this.dim==="radius"?0:1]},dataToRadius:f.prototype.dataToCoord,radiusToData:f.prototype.coordToData},g.inherits(b,f);var m=b;R.exports=m},ko1b:function(R,I,e){var g=e("bYtY"),f=e("T4UG"),b=e("Bsck"),m=e("Qxkt"),y=e("7aKB"),h=y.encodeHTML,u=y.addCommas,i=e("VaxA"),a=i.wrapTreePathInfo,r=f.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],preventUsingHoverLayer:!0,_viewRoot:null,defaultOption:{progressive:0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"\u25B6",zoomToNodeRatio:.32*.32,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)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(n,l){var t={name:n.name,children:n.data};o(t);var s=n.levels||[];s=n.levels=d(s,l);var c=g.map(s||[],function(w){return new m(w,this,l)},this),p=b.createTree(t,this,null,A);function A(w){w.wrapMethod("getItemModel",function(C,x){var E=p.getNodeByDataIndex(x),T=c[E.depth];return T&&(C.parentModel=T),C})}return p.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(n){var l=this.getData(),t=this.getRawValue(n),s=g.isArray(t)?u(t[0]):u(t),c=l.getName(n);return h(c+": "+s)},getDataParams:function(n){var l=f.prototype.getDataParams.apply(this,arguments),t=this.getData().tree.getNodeByDataIndex(n);return l.treePathInfo=a(t,this),l},setLayoutInfo:function(n){this.layoutInfo=this.layoutInfo||{},g.extend(this.layoutInfo,n)},mapIdToIndex:function(n){var l=this._idIndexMap;l||(l=this._idIndexMap=g.createHashMap(),this._idIndexMapCount=0);var t=l.get(n);return t==null&&l.set(n,t=this._idIndexMapCount++),t},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(n){n?this._viewRoot=n:n=this._viewRoot;var l=this.getRawData().tree.root;(!n||n!==l&&!l.contains(n))&&(this._viewRoot=l)}});function o(n){var l=0;g.each(n.children,function(s){o(s);var c=s.value;g.isArray(c)&&(c=c[0]),l+=c});var t=n.value;g.isArray(t)&&(t=t[0]),(t==null||isNaN(t))&&(t=l),t<0&&(t=0),g.isArray(n.value)?n.value[0]=t:n.value=t}function d(n,l){var t=l.get("color");if(!t)return;n=n||[];var s;if(g.each(n,function(p){var A=new m(p),w=A.get("color");(A.get("itemStyle.color")||w&&w!=="none")&&(s=!0)}),!s){var c=n[0]||(n[0]={});c.color=t.slice()}return n}R.exports=r},kzFp:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g=I.pick=function(b,m){var y={};return m.forEach(function(h){y[h]=b[h]}),y}},kzvK:function(R,I,e){var g=e("sS/r"),f=g.extend({type:"timeline"});R.exports=f},"l+S1":function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="SearchOutlined";var h=I.a=g.forwardRef(y)},lE7J:function(R,I,e){var g=e("OELB"),f=g.round;function b(u,i,a,r){var o={},d=u[1]-u[0],n=o.interval=g.nice(d/i,!0);a!=null&&n<a&&(n=o.interval=a),r!=null&&n>r&&(n=o.interval=r);var l=o.intervalPrecision=m(n),t=o.niceTickExtent=[f(Math.ceil(u[0]/n)*n,l),f(Math.floor(u[1]/n)*n,l)];return h(t,u),o}function m(u){return g.getPrecisionSafe(u)+2}function y(u,i,a){u[i]=Math.max(Math.min(u[i],a[1]),a[0])}function h(u,i){!isFinite(u[0])&&(u[0]=i[0]),!isFinite(u[1])&&(u[1]=i[1]),y(u,0,i),y(u,1,i),u[0]>u[1]&&(u[0]=u[1])}I.intervalScaleNiceTicks=b,I.getIntervalPrecision=m,I.fixExtent=h},lELe:function(R,I,e){var g=e("bYtY");function f(b){var m=[];g.each(b.series,function(y){y&&y.type==="map"&&(m.push(y),y.map=y.map||y.mapType,g.defaults(y,y.mapLocation))})}R.exports=f},lLGD:function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("nVfU"),m=b.layout,y=b.largeLayout;e("Wqna"),e("F7hV"),e("Z8zF"),e("Ae16"),g.registerLayout(g.PRIORITY.VISUAL.LAYOUT,f.curry(m,"bar")),g.registerLayout(g.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,y),g.registerVisual({seriesType:"bar",reset:function(h){h.getData().setVisual("legendSymbol","roundRect")}})},lNSK:function(R,I,e){"use strict";function g(Te){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(mt){return typeof mt}:g=function(mt){return mt&&typeof Symbol=="function"&&mt.constructor===Symbol&&mt!==Symbol.prototype?"symbol":typeof mt},g(Te)}Object.defineProperty(I,"__esModule",{value:!0}),I.deflateInit=Ve,I.deflateInit2=ot,I.deflateReset=Je,I.deflateResetKeep=Xe,I.deflateSetHeader=et,I.deflate=ue,I.deflateEnd=ae,I.deflateSetDictionary=lt,I.deflateInfo=I.Z_DEFLATED=I.Z_UNKNOWN=I.Z_DEFAULT_STRATEGY=I.Z_FIXED=I.Z_RLE=I.Z_HUFFMAN_ONLY=I.Z_FILTERED=I.Z_DEFAULT_COMPRESSION=I.Z_BUF_ERROR=I.Z_DATA_ERROR=I.Z_STREAM_ERROR=I.Z_STREAM_END=I.Z_OK=I.Z_BLOCK=I.Z_FINISH=I.Z_FULL_FLUSH=I.Z_PARTIAL_FLUSH=I.Z_NO_FLUSH=void 0;var f=a(e("6BzB")),b=a(e("c5fP")),m=u(e("xlC8")),y=u(e("QV2g")),h=u(e("xSIq"));function u(Te){return Te&&Te.__esModule?Te:{default:Te}}function i(){if(typeof WeakMap!="function")return null;var Te=new WeakMap;return i=function(){return Te},Te}function a(Te){if(Te&&Te.__esModule)return Te;if(Te===null||g(Te)!=="object"&&typeof Te!="function")return{default:Te};var Jt=i();if(Jt&&Jt.has(Te))return Jt.get(Te);var mt={},ft=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var bt in Te)if(Object.prototype.hasOwnProperty.call(Te,bt)){var Lt=ft?Object.getOwnPropertyDescriptor(Te,bt):null;Lt&&(Lt.get||Lt.set)?Object.defineProperty(mt,bt,Lt):mt[bt]=Te[bt]}return mt.default=Te,Jt&&Jt.set(Te,mt),mt}var r=0;I.Z_NO_FLUSH=r;var o=1;I.Z_PARTIAL_FLUSH=o;var d=3;I.Z_FULL_FLUSH=d;var n=4;I.Z_FINISH=n;var l=5;I.Z_BLOCK=l;var t=0;I.Z_OK=t;var s=1;I.Z_STREAM_END=s;var c=-2;I.Z_STREAM_ERROR=c;var p=-3;I.Z_DATA_ERROR=p;var A=-5;I.Z_BUF_ERROR=A;var w=-1;I.Z_DEFAULT_COMPRESSION=w;var C=1;I.Z_FILTERED=C;var x=2;I.Z_HUFFMAN_ONLY=x;var E=3;I.Z_RLE=E;var T=4;I.Z_FIXED=T;var _=0;I.Z_DEFAULT_STRATEGY=_;var v=2;I.Z_UNKNOWN=v;var S=8;I.Z_DEFLATED=S;var O=9,L=15,M=8,F=29,U=256,z=U+1+F,W=30,N=19,H=2*z+1,j=15,k=3,B=258,V=B+k+1,K=32,Y=42,Q=69,he=73,G=91,ye=103,Ae=113,ge=666,Pe=1,Re=2,rt=3,ne=4,be=3;function at(Te,Jt){return Te.msg=h.default[Jt],Jt}function se(Te){return(Te<<1)-(Te>4?9:0)}function q(Te){for(var Jt=Te.length;--Jt>=0;)Te[Jt]=0}function X(Te){var Jt=Te.state,mt=Jt.pending;if(mt>Te.avail_out&&(mt=Te.avail_out),mt===0)return;f.arraySet(Te.output,Jt.pending_buf,Jt.pending_out,mt,Te.next_out),Te.next_out+=mt,Jt.pending_out+=mt,Te.total_out+=mt,Te.avail_out-=mt,Jt.pending-=mt,Jt.pending===0&&(Jt.pending_out=0)}function Z(Te,Jt){b._tr_flush_block(Te,Te.block_start>=0?Te.block_start:-1,Te.strstart-Te.block_start,Jt),Te.block_start=Te.strstart,X(Te.strm)}function pe(Te,Jt){Te.pending_buf[Te.pending++]=Jt}function oe(Te,Jt){Te.pending_buf[Te.pending++]=Jt>>>8&255,Te.pending_buf[Te.pending++]=Jt&255}function Ie(Te,Jt,mt,ft){var bt=Te.avail_in;return bt>ft&&(bt=ft),bt===0?0:(Te.avail_in-=bt,f.arraySet(Jt,Te.input,Te.next_in,bt,mt),Te.state.wrap===1?Te.adler=(0,m.default)(Te.adler,Jt,bt,mt):Te.state.wrap===2&&(Te.adler=(0,y.default)(Te.adler,Jt,bt,mt)),Te.next_in+=bt,Te.total_in+=bt,bt)}function fe(Te,Jt){var mt=Te.max_chain_length,ft=Te.strstart,bt,Lt,or=Te.prev_length,Bt=Te.nice_match,_e=Te.strstart>Te.w_size-V?Te.strstart-(Te.w_size-V):0,Ce=Te.window,Ee=Te.w_mask,we=Te.prev,Fe=Te.strstart+B,Ye=Ce[ft+or-1],Ge=Ce[ft+or];Te.prev_length>=Te.good_match&&(mt>>=2),Bt>Te.lookahead&&(Bt=Te.lookahead);do{if(bt=Jt,Ce[bt+or]!==Ge||Ce[bt+or-1]!==Ye||Ce[bt]!==Ce[ft]||Ce[++bt]!==Ce[ft+1])continue;ft+=2,bt++;do;while(Ce[++ft]===Ce[++bt]&&Ce[++ft]===Ce[++bt]&&Ce[++ft]===Ce[++bt]&&Ce[++ft]===Ce[++bt]&&Ce[++ft]===Ce[++bt]&&Ce[++ft]===Ce[++bt]&&Ce[++ft]===Ce[++bt]&&Ce[++ft]===Ce[++bt]&&ft<Fe);if(Lt=B-(Fe-ft),ft=Fe-B,Lt>or){if(Te.match_start=Jt,or=Lt,Lt>=Bt)break;Ye=Ce[ft+or-1],Ge=Ce[ft+or]}}while((Jt=we[Jt&Ee])>_e&&--mt!==0);return or<=Te.lookahead?or:Te.lookahead}function te(Te){var Jt=Te.w_size,mt,ft,bt,Lt,or;do{if(Lt=Te.window_size-Te.lookahead-Te.strstart,Te.strstart>=Jt+(Jt-V)){f.arraySet(Te.window,Te.window,Jt,Jt,0),Te.match_start-=Jt,Te.strstart-=Jt,Te.block_start-=Jt,ft=Te.hash_size,mt=ft;do bt=Te.head[--mt],Te.head[mt]=bt>=Jt?bt-Jt:0;while(--ft);ft=Jt,mt=ft;do bt=Te.prev[--mt],Te.prev[mt]=bt>=Jt?bt-Jt:0;while(--ft);Lt+=Jt}if(Te.strm.avail_in===0)break;if(ft=Ie(Te.strm,Te.window,Te.strstart+Te.lookahead,Lt),Te.lookahead+=ft,Te.lookahead+Te.insert>=k)for(or=Te.strstart-Te.insert,Te.ins_h=Te.window[or],Te.ins_h=(Te.ins_h<<Te.hash_shift^Te.window[or+1])&Te.hash_mask;Te.insert&&!(Te.ins_h=(Te.ins_h<<Te.hash_shift^Te.window[or+k-1])&Te.hash_mask,Te.prev[or&Te.w_mask]=Te.head[Te.ins_h],Te.head[Te.ins_h]=or,or++,Te.insert--,Te.lookahead+Te.insert<k););}while(Te.lookahead<V&&Te.strm.avail_in!==0)}function J(Te,Jt){var mt=65535;for(mt>Te.pending_buf_size-5&&(mt=Te.pending_buf_size-5);;){if(Te.lookahead<=1){if(te(Te),Te.lookahead===0&&Jt===r)return Pe;if(Te.lookahead===0)break}Te.strstart+=Te.lookahead,Te.lookahead=0;var ft=Te.block_start+mt;if((Te.strstart===0||Te.strstart>=ft)&&(Te.lookahead=Te.strstart-ft,Te.strstart=ft,Z(Te,!1),Te.strm.avail_out===0))return Pe;if(Te.strstart-Te.block_start>=Te.w_size-V&&(Z(Te,!1),Te.strm.avail_out===0))return Pe}return Te.insert=0,Jt===n?(Z(Te,!0),Te.strm.avail_out===0?rt:ne):(Te.strstart>Te.block_start&&(Z(Te,!1),Te.strm.avail_out===0),Pe)}function ve(Te,Jt){for(var mt,ft;;){if(Te.lookahead<V){if(te(Te),Te.lookahead<V&&Jt===r)return Pe;if(Te.lookahead===0)break}if(mt=0,Te.lookahead>=k&&(Te.ins_h=(Te.ins_h<<Te.hash_shift^Te.window[Te.strstart+k-1])&Te.hash_mask,mt=Te.prev[Te.strstart&Te.w_mask]=Te.head[Te.ins_h],Te.head[Te.ins_h]=Te.strstart),mt!==0&&Te.strstart-mt<=Te.w_size-V&&(Te.match_length=fe(Te,mt)),Te.match_length>=k)if(ft=b._tr_tally(Te,Te.strstart-Te.match_start,Te.match_length-k),Te.lookahead-=Te.match_length,Te.match_length<=Te.max_lazy_match&&Te.lookahead>=k){Te.match_length--;do Te.strstart++,Te.ins_h=(Te.ins_h<<Te.hash_shift^Te.window[Te.strstart+k-1])&Te.hash_mask,mt=Te.prev[Te.strstart&Te.w_mask]=Te.head[Te.ins_h],Te.head[Te.ins_h]=Te.strstart;while(--Te.match_length!==0);Te.strstart++}else Te.strstart+=Te.match_length,Te.match_length=0,Te.ins_h=Te.window[Te.strstart],Te.ins_h=(Te.ins_h<<Te.hash_shift^Te.window[Te.strstart+1])&Te.hash_mask;else ft=b._tr_tally(Te,0,Te.window[Te.strstart]),Te.lookahead--,Te.strstart++;if(ft&&(Z(Te,!1),Te.strm.avail_out===0))return Pe}return Te.insert=Te.strstart<k-1?Te.strstart:k-1,Jt===n?(Z(Te,!0),Te.strm.avail_out===0?rt:ne):Te.last_lit&&(Z(Te,!1),Te.strm.avail_out===0)?Pe:Re}function De(Te,Jt){for(var mt,ft,bt;;){if(Te.lookahead<V){if(te(Te),Te.lookahead<V&&Jt===r)return Pe;if(Te.lookahead===0)break}if(mt=0,Te.lookahead>=k&&(Te.ins_h=(Te.ins_h<<Te.hash_shift^Te.window[Te.strstart+k-1])&Te.hash_mask,mt=Te.prev[Te.strstart&Te.w_mask]=Te.head[Te.ins_h],Te.head[Te.ins_h]=Te.strstart),Te.prev_length=Te.match_length,Te.prev_match=Te.match_start,Te.match_length=k-1,mt!==0&&Te.prev_length<Te.max_lazy_match&&Te.strstart-mt<=Te.w_size-V&&(Te.match_length=fe(Te,mt),Te.match_length<=5&&(Te.strategy===C||Te.match_length===k&&Te.strstart-Te.match_start>4096)&&(Te.match_length=k-1)),Te.prev_length>=k&&Te.match_length<=Te.prev_length){bt=Te.strstart+Te.lookahead-k,ft=b._tr_tally(Te,Te.strstart-1-Te.prev_match,Te.prev_length-k),Te.lookahead-=Te.prev_length-1,Te.prev_length-=2;do++Te.strstart<=bt&&(Te.ins_h=(Te.ins_h<<Te.hash_shift^Te.window[Te.strstart+k-1])&Te.hash_mask,mt=Te.prev[Te.strstart&Te.w_mask]=Te.head[Te.ins_h],Te.head[Te.ins_h]=Te.strstart);while(--Te.prev_length!==0);if(Te.match_available=0,Te.match_length=k-1,Te.strstart++,ft&&(Z(Te,!1),Te.strm.avail_out===0))return Pe}else if(Te.match_available){if(ft=b._tr_tally(Te,0,Te.window[Te.strstart-1]),ft&&Z(Te,!1),Te.strstart++,Te.lookahead--,Te.strm.avail_out===0)return Pe}else Te.match_available=1,Te.strstart++,Te.lookahead--}return Te.match_available&&(ft=b._tr_tally(Te,0,Te.window[Te.strstart-1]),Te.match_available=0),Te.insert=Te.strstart<k-1?Te.strstart:k-1,Jt===n?(Z(Te,!0),Te.strm.avail_out===0?rt:ne):Te.last_lit&&(Z(Te,!1),Te.strm.avail_out===0)?Pe:Re}function ze(Te,Jt){for(var mt,ft,bt,Lt,or=Te.window;;){if(Te.lookahead<=B){if(te(Te),Te.lookahead<=B&&Jt===r)return Pe;if(Te.lookahead===0)break}if(Te.match_length=0,Te.lookahead>=k&&Te.strstart>0&&(bt=Te.strstart-1,ft=or[bt],ft===or[++bt]&&ft===or[++bt]&&ft===or[++bt])){Lt=Te.strstart+B;do;while(ft===or[++bt]&&ft===or[++bt]&&ft===or[++bt]&&ft===or[++bt]&&ft===or[++bt]&&ft===or[++bt]&&ft===or[++bt]&&ft===or[++bt]&&bt<Lt);Te.match_length=B-(Lt-bt),Te.match_length>Te.lookahead&&(Te.match_length=Te.lookahead)}if(Te.match_length>=k?(mt=b._tr_tally(Te,1,Te.match_length-k),Te.lookahead-=Te.match_length,Te.strstart+=Te.match_length,Te.match_length=0):(mt=b._tr_tally(Te,0,Te.window[Te.strstart]),Te.lookahead--,Te.strstart++),mt&&(Z(Te,!1),Te.strm.avail_out===0))return Pe}return Te.insert=0,Jt===n?(Z(Te,!0),Te.strm.avail_out===0?rt:ne):Te.last_lit&&(Z(Te,!1),Te.strm.avail_out===0)?Pe:Re}function dt(Te,Jt){for(var mt;;){if(Te.lookahead===0&&(te(Te),Te.lookahead===0)){if(Jt===r)return Pe;break}if(Te.match_length=0,mt=b._tr_tally(Te,0,Te.window[Te.strstart]),Te.lookahead--,Te.strstart++,mt&&(Z(Te,!1),Te.strm.avail_out===0))return Pe}return Te.insert=0,Jt===n?(Z(Te,!0),Te.strm.avail_out===0?rt:ne):Te.last_lit&&(Z(Te,!1),Te.strm.avail_out===0)?Pe:Re}function Me(Te,Jt,mt,ft,bt){this.good_length=Te,this.max_lazy=Jt,this.nice_length=mt,this.max_chain=ft,this.func=bt}var Tt;Tt=[new Me(0,0,0,0,J),new Me(4,4,8,4,ve),new Me(4,5,16,8,ve),new Me(4,6,32,32,ve),new Me(4,4,16,16,De),new Me(8,16,32,32,De),new Me(8,16,128,128,De),new Me(8,32,128,256,De),new Me(32,128,258,1024,De),new Me(32,258,258,4096,De)];function je(Te){Te.window_size=2*Te.w_size,q(Te.head),Te.max_lazy_match=Tt[Te.level].max_lazy,Te.good_match=Tt[Te.level].good_length,Te.nice_match=Tt[Te.level].nice_length,Te.max_chain_length=Tt[Te.level].max_chain,Te.strstart=0,Te.block_start=0,Te.lookahead=0,Te.insert=0,Te.match_length=Te.prev_length=k-1,Te.match_available=0,Te.ins_h=0}function st(){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=S,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 f.Buf16(H*2),this.dyn_dtree=new f.Buf16((2*W+1)*2),this.bl_tree=new f.Buf16((2*N+1)*2),q(this.dyn_ltree),q(this.dyn_dtree),q(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new f.Buf16(j+1),this.heap=new f.Buf16(2*z+1),q(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new f.Buf16(2*z+1),q(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 Xe(Te){var Jt;return!Te||!Te.state?at(Te,c):(Te.total_in=Te.total_out=0,Te.data_type=v,Jt=Te.state,Jt.pending=0,Jt.pending_out=0,Jt.wrap<0&&(Jt.wrap=-Jt.wrap),Jt.status=Jt.wrap?Y:Ae,Te.adler=Jt.wrap===2?0:1,Jt.last_flush=r,b._tr_init(Jt),t)}function Je(Te){var Jt=Xe(Te);return Jt===t&&je(Te.state),Jt}function et(Te,Jt){return!Te||!Te.state||Te.state.wrap!==2?c:(Te.state.gzhead=Jt,t)}function ot(Te,Jt,mt,ft,bt,Lt){if(!Te)return c;var or=1;if(Jt===w&&(Jt=6),ft<0?(or=0,ft=-ft):ft>15&&(or=2,ft-=16),bt<1||bt>O||mt!==S||ft<8||ft>15||Jt<0||Jt>9||Lt<0||Lt>T)return at(Te,c);ft===8&&(ft=9);var Bt=new st;return Te.state=Bt,Bt.strm=Te,Bt.wrap=or,Bt.gzhead=null,Bt.w_bits=ft,Bt.w_size=1<<Bt.w_bits,Bt.w_mask=Bt.w_size-1,Bt.hash_bits=bt+7,Bt.hash_size=1<<Bt.hash_bits,Bt.hash_mask=Bt.hash_size-1,Bt.hash_shift=~~((Bt.hash_bits+k-1)/k),Bt.window=new f.Buf8(Bt.w_size*2),Bt.head=new f.Buf16(Bt.hash_size),Bt.prev=new f.Buf16(Bt.w_size),Bt.lit_bufsize=1<<bt+6,Bt.pending_buf_size=Bt.lit_bufsize*4,Bt.pending_buf=new f.Buf8(Bt.pending_buf_size),Bt.d_buf=1*Bt.lit_bufsize,Bt.l_buf=(1+2)*Bt.lit_bufsize,Bt.level=Jt,Bt.strategy=Lt,Bt.method=mt,Je(Te)}function Ve(Te,Jt){return ot(Te,Jt,S,L,M,_)}function ue(Te,Jt){var mt,ft,bt,Lt;if(!Te||!Te.state||Jt>l||Jt<0)return Te?at(Te,c):c;if(ft=Te.state,!Te.output||!Te.input&&Te.avail_in!==0||ft.status===ge&&Jt!==n)return at(Te,Te.avail_out===0?A:c);if(ft.strm=Te,mt=ft.last_flush,ft.last_flush=Jt,ft.status===Y)if(ft.wrap===2)Te.adler=0,pe(ft,31),pe(ft,139),pe(ft,8),ft.gzhead?(pe(ft,(ft.gzhead.text?1:0)+(ft.gzhead.hcrc?2:0)+(ft.gzhead.extra?4:0)+(ft.gzhead.name?8:0)+(ft.gzhead.comment?16:0)),pe(ft,ft.gzhead.time&255),pe(ft,ft.gzhead.time>>8&255),pe(ft,ft.gzhead.time>>16&255),pe(ft,ft.gzhead.time>>24&255),pe(ft,ft.level===9?2:ft.strategy>=x||ft.level<2?4:0),pe(ft,ft.gzhead.os&255),ft.gzhead.extra&&ft.gzhead.extra.length&&(pe(ft,ft.gzhead.extra.length&255),pe(ft,ft.gzhead.extra.length>>8&255)),ft.gzhead.hcrc&&(Te.adler=(0,y.default)(Te.adler,ft.pending_buf,ft.pending,0)),ft.gzindex=0,ft.status=Q):(pe(ft,0),pe(ft,0),pe(ft,0),pe(ft,0),pe(ft,0),pe(ft,ft.level===9?2:ft.strategy>=x||ft.level<2?4:0),pe(ft,be),ft.status=Ae);else{var or=S+(ft.w_bits-8<<4)<<8,Bt=-1;ft.strategy>=x||ft.level<2?Bt=0:ft.level<6?Bt=1:ft.level===6?Bt=2:Bt=3,or|=Bt<<6,ft.strstart!==0&&(or|=K),or+=31-or%31,ft.status=Ae,oe(ft,or),ft.strstart!==0&&(oe(ft,Te.adler>>>16),oe(ft,Te.adler&65535)),Te.adler=1}if(ft.status===Q)if(ft.gzhead.extra){for(bt=ft.pending;ft.gzindex<(ft.gzhead.extra.length&65535)&&!(ft.pending===ft.pending_buf_size&&(ft.gzhead.hcrc&&ft.pending>bt&&(Te.adler=(0,y.default)(Te.adler,ft.pending_buf,ft.pending-bt,bt)),X(Te),bt=ft.pending,ft.pending===ft.pending_buf_size));)pe(ft,ft.gzhead.extra[ft.gzindex]&255),ft.gzindex++;ft.gzhead.hcrc&&ft.pending>bt&&(Te.adler=(0,y.default)(Te.adler,ft.pending_buf,ft.pending-bt,bt)),ft.gzindex===ft.gzhead.extra.length&&(ft.gzindex=0,ft.status=he)}else ft.status=he;if(ft.status===he)if(ft.gzhead.name){bt=ft.pending;do{if(ft.pending===ft.pending_buf_size&&(ft.gzhead.hcrc&&ft.pending>bt&&(Te.adler=(0,y.default)(Te.adler,ft.pending_buf,ft.pending-bt,bt)),X(Te),bt=ft.pending,ft.pending===ft.pending_buf_size)){Lt=1;break}ft.gzindex<ft.gzhead.name.length?Lt=ft.gzhead.name.charCodeAt(ft.gzindex++)&255:Lt=0,pe(ft,Lt)}while(Lt!==0);ft.gzhead.hcrc&&ft.pending>bt&&(Te.adler=(0,y.default)(Te.adler,ft.pending_buf,ft.pending-bt,bt)),Lt===0&&(ft.gzindex=0,ft.status=G)}else ft.status=G;if(ft.status===G)if(ft.gzhead.comment){bt=ft.pending;do{if(ft.pending===ft.pending_buf_size&&(ft.gzhead.hcrc&&ft.pending>bt&&(Te.adler=(0,y.default)(Te.adler,ft.pending_buf,ft.pending-bt,bt)),X(Te),bt=ft.pending,ft.pending===ft.pending_buf_size)){Lt=1;break}ft.gzindex<ft.gzhead.comment.length?Lt=ft.gzhead.comment.charCodeAt(ft.gzindex++)&255:Lt=0,pe(ft,Lt)}while(Lt!==0);ft.gzhead.hcrc&&ft.pending>bt&&(Te.adler=(0,y.default)(Te.adler,ft.pending_buf,ft.pending-bt,bt)),Lt===0&&(ft.status=ye)}else ft.status=ye;if(ft.status===ye&&(ft.gzhead.hcrc?(ft.pending+2>ft.pending_buf_size&&X(Te),ft.pending+2<=ft.pending_buf_size&&(pe(ft,Te.adler&255),pe(ft,Te.adler>>8&255),Te.adler=0,ft.status=Ae)):ft.status=Ae),ft.pending!==0){if(X(Te),Te.avail_out===0)return ft.last_flush=-1,t}else if(Te.avail_in===0&&se(Jt)<=se(mt)&&Jt!==n)return at(Te,A);if(ft.status===ge&&Te.avail_in!==0)return at(Te,A);if(Te.avail_in!==0||ft.lookahead!==0||Jt!==r&&ft.status!==ge){var _e=ft.strategy===x?dt(ft,Jt):ft.strategy===E?ze(ft,Jt):Tt[ft.level].func(ft,Jt);if((_e===rt||_e===ne)&&(ft.status=ge),_e===Pe||_e===rt)return Te.avail_out===0&&(ft.last_flush=-1),t;if(_e===Re&&(Jt===o?b._tr_align(ft):Jt!==l&&(b._tr_stored_block(ft,0,0,!1),Jt===d&&(q(ft.head),ft.lookahead===0&&(ft.strstart=0,ft.block_start=0,ft.insert=0))),X(Te),Te.avail_out===0))return ft.last_flush=-1,t}return Jt!==n?t:ft.wrap<=0?s:(ft.wrap===2?(pe(ft,Te.adler&255),pe(ft,Te.adler>>8&255),pe(ft,Te.adler>>16&255),pe(ft,Te.adler>>24&255),pe(ft,Te.total_in&255),pe(ft,Te.total_in>>8&255),pe(ft,Te.total_in>>16&255),pe(ft,Te.total_in>>24&255)):(oe(ft,Te.adler>>>16),oe(ft,Te.adler&65535)),X(Te),ft.wrap>0&&(ft.wrap=-ft.wrap),ft.pending!==0?t:s)}function ae(Te){var Jt;return!Te||!Te.state?c:(Jt=Te.state.status,Jt!==Y&&Jt!==Q&&Jt!==he&&Jt!==G&&Jt!==ye&&Jt!==Ae&&Jt!==ge?at(Te,c):(Te.state=null,Jt===Ae?at(Te,p):t))}function lt(Te,Jt){var mt=Jt.length,ft,bt,Lt,or,Bt,_e,Ce,Ee;if(!Te||!Te.state)return c;if(ft=Te.state,or=ft.wrap,or===2||or===1&&ft.status!==Y||ft.lookahead)return c;for(or===1&&(Te.adler=(0,m.default)(Te.adler,Jt,mt,0)),ft.wrap=0,mt>=ft.w_size&&(or===0&&(q(ft.head),ft.strstart=0,ft.block_start=0,ft.insert=0),Ee=new f.Buf8(ft.w_size),f.arraySet(Ee,Jt,mt-ft.w_size,ft.w_size,0),Jt=Ee,mt=ft.w_size),Bt=Te.avail_in,_e=Te.next_in,Ce=Te.input,Te.avail_in=mt,Te.next_in=0,Te.input=Jt,te(ft);ft.lookahead>=k;){bt=ft.strstart,Lt=ft.lookahead-(k-1);do ft.ins_h=(ft.ins_h<<ft.hash_shift^ft.window[bt+k-1])&ft.hash_mask,ft.prev[bt&ft.w_mask]=ft.head[ft.ins_h],ft.head[ft.ins_h]=bt,bt++;while(--Lt);ft.strstart=bt,ft.lookahead=k-1,te(ft)}return ft.strstart+=ft.lookahead,ft.block_start=ft.strstart,ft.insert=ft.lookahead,ft.lookahead=0,ft.match_length=ft.prev_length=k-1,ft.match_available=0,Te.next_in=_e,Te.input=Ce,Te.avail_in=Bt,ft.wrap=or,t}var Ze="pako deflate (from Nodeca project)";I.deflateInfo=Ze},lOQZ:function(R,I,e){var g=e("QBsz"),f=e("U/Mo"),b=f.getSymbolSize,m=f.getNodeGlobalScale,y=Math.PI,h=[];function u(a,r){var o=a.coordinateSystem;if(o&&o.type!=="view")return;var d=o.getBoundingRect(),n=a.getData(),l=n.graph,t=d.width/2+d.x,s=d.height/2+d.y,c=Math.min(d.width,d.height)/2,p=n.count();if(n.setLayout({cx:t,cy:s}),!p)return;i[r](a,o,l,n,c,t,s,p),l.eachEdge(function(A){var w=A.getModel().get("lineStyle.curveness")||0,C=g.clone(A.node1.getLayout()),x=g.clone(A.node2.getLayout()),E,T=(C[0]+x[0])/2,_=(C[1]+x[1])/2;+w&&(w*=3,E=[t*w+T*(1-w),s*w+_*(1-w)]),A.setLayout([C,x,E])})}var i={value:function(a,r,o,d,n,l,t,s){var c=0,p=d.getSum("value"),A=Math.PI*2/(p||s);o.eachNode(function(w){var C=w.getValue("value"),x=A*(p?C:1)/2;c+=x,w.setLayout([n*Math.cos(c)+l,n*Math.sin(c)+t]),c+=x})},symbolSize:function(a,r,o,d,n,l,t,s){var c=0;h.length=s;var p=m(a);o.eachNode(function(C){var x=b(C);isNaN(x)&&(x=2),x<0&&(x=0),x*=p;var E=Math.asin(x/2/n);isNaN(E)&&(E=y/2),h[C.dataIndex]=E,c+=E*2});var A=(2*y-c)/s/2,w=0;o.eachNode(function(C){var x=A+h[C.dataIndex];w+=x,C.setLayout([n*Math.cos(w)+l,n*Math.sin(w)+t]),w+=x})}};I.circularLayout=u},lSCD:function(R,I,e){var g=e("NykK"),f=e("GoyQ"),b="[object AsyncFunction]",m="[object Function]",y="[object GeneratorFunction]",h="[object Proxy]";function u(i){if(!f(i))return!1;var a=g(i);return a==m||a==y||a==b||a==h}R.exports=u},lUTK:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("x54q"),m=e.n(b),y=e("5Dmo")},lZu9:function(R,I,e){(function(g){g(e("VrN/"),e("1eCo"),e("8EBN"))})(function(g){"use strict";g.defineMode("markdown",function(f,b){var m=g.getMode(f,"text/html"),y=m.name=="null";function h(j){if(g.findModeByName){var k=g.findModeByName(j);k&&(j=k.mime||k.mimes[0])}var B=g.getMode(f,j);return B.name=="null"?null:B}b.highlightFormatting===void 0&&(b.highlightFormatting=!1),b.maxBlockquoteDepth===void 0&&(b.maxBlockquoteDepth=0),b.taskLists===void 0&&(b.taskLists=!1),b.strikethrough===void 0&&(b.strikethrough=!1),b.emoji===void 0&&(b.emoji=!1),b.fencedCodeBlockHighlighting===void 0&&(b.fencedCodeBlockHighlighting=!0),b.fencedCodeBlockDefaultMode===void 0&&(b.fencedCodeBlockDefaultMode="text/plain"),b.xml===void 0&&(b.xml=!0),b.tokenTypeOverrides===void 0&&(b.tokenTypeOverrides={});var u={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var i in u)u.hasOwnProperty(i)&&b.tokenTypeOverrides[i]&&(u[i]=b.tokenTypeOverrides[i]);var a=/^([*\-_])(?:\s*\1){2,}\s*$/,r=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,o=/^\[(x| )\](?=\s)/i,d=b.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,n=/^ {0,3}(?:\={1,}|-{2,})\s*$/,l=/^[^#!\[\]*_\\<>` "'(~:]+/,t=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,s=/^\s*\[[^\]]+?\]:.*$/,c=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,p=" ";function A(j,k,B){return k.f=k.inline=B,B(j,k)}function w(j,k,B){return k.f=k.block=B,B(j,k)}function C(j){return!j||!/\S/.test(j.string)}function x(j){if(j.linkTitle=!1,j.linkHref=!1,j.linkText=!1,j.em=!1,j.strong=!1,j.strikethrough=!1,j.quote=0,j.indentedCode=!1,j.f==T){var k=y;if(!k){var B=g.innerMode(m,j.htmlState);k=B.mode.name=="xml"&&B.state.tagStart===null&&!B.state.context&&B.state.tokenize.isInText}k&&(j.f=O,j.block=E,j.htmlState=null)}return j.trailingSpace=0,j.trailingSpaceNewLine=!1,j.prevLine=j.thisLine,j.thisLine={stream:null},null}function E(j,k){var B=j.column()===k.indentation,V=C(k.prevLine.stream),K=k.indentedCode,Y=k.prevLine.hr,Q=k.list!==!1,he=(k.listStack[k.listStack.length-1]||0)+3;k.indentedCode=!1;var G=k.indentation;if(k.indentationDiff===null&&(k.indentationDiff=k.indentation,Q)){for(k.list=null;G<k.listStack[k.listStack.length-1];)k.listStack.pop(),k.listStack.length?k.indentation=k.listStack[k.listStack.length-1]:k.list=!1;k.list!==!1&&(k.indentationDiff=G-k.listStack[k.listStack.length-1])}var ye=!V&&!Y&&!k.prevLine.header&&(!Q||!K)&&!k.prevLine.fencedCodeEnd,Ae=(k.list===!1||Y||V)&&k.indentation<=he&&j.match(a),ge=null;if(k.indentationDiff>=4&&(K||k.prevLine.fencedCodeEnd||k.prevLine.header||V))return j.skipToEnd(),k.indentedCode=!0,u.code;if(j.eatSpace())return null;if(B&&k.indentation<=he&&(ge=j.match(d))&&ge[1].length<=6)return k.quote=0,k.header=ge[1].length,k.thisLine.header=!0,b.highlightFormatting&&(k.formatting="header"),k.f=k.inline,v(k);if(k.indentation<=he&&j.eat(">"))return k.quote=B?1:k.quote+1,b.highlightFormatting&&(k.formatting="quote"),j.eatSpace(),v(k);if(!Ae&&!k.setext&&B&&k.indentation<=he&&(ge=j.match(r))){var Pe=ge[1]?"ol":"ul";return k.indentation=G+j.current().length,k.list=!0,k.quote=0,k.listStack.push(k.indentation),k.em=!1,k.strong=!1,k.code=!1,k.strikethrough=!1,b.taskLists&&j.match(o,!1)&&(k.taskList=!0),k.f=k.inline,b.highlightFormatting&&(k.formatting=["list","list-"+Pe]),v(k)}else{if(B&&k.indentation<=he&&(ge=j.match(t,!0)))return k.quote=0,k.fencedEndRE=new RegExp(ge[1]+"+ *$"),k.localMode=b.fencedCodeBlockHighlighting&&h(ge[2]||b.fencedCodeBlockDefaultMode),k.localMode&&(k.localState=g.startState(k.localMode)),k.f=k.block=_,b.highlightFormatting&&(k.formatting="code-block"),k.code=-1,v(k);if(k.setext||(!ye||!Q)&&!k.quote&&k.list===!1&&!k.code&&!Ae&&!s.test(j.string)&&(ge=j.lookAhead(1))&&(ge=ge.match(n)))return k.setext?(k.header=k.setext,k.setext=0,j.skipToEnd(),b.highlightFormatting&&(k.formatting="header")):(k.header=ge[0].charAt(0)=="="?1:2,k.setext=k.header),k.thisLine.header=!0,k.f=k.inline,v(k);if(Ae)return j.skipToEnd(),k.hr=!0,k.thisLine.hr=!0,u.hr;if(j.peek()==="[")return A(j,k,z)}return A(j,k,k.inline)}function T(j,k){var B=m.token(j,k.htmlState);if(!y){var V=g.innerMode(m,k.htmlState);(V.mode.name=="xml"&&V.state.tagStart===null&&!V.state.context&&V.state.tokenize.isInText||k.md_inside&&j.current().indexOf(">")>-1)&&(k.f=O,k.block=E,k.htmlState=null)}return B}function _(j,k){var B=k.listStack[k.listStack.length-1]||0,V=k.indentation<B,K=B+3;if(k.fencedEndRE&&k.indentation<=K&&(V||j.match(k.fencedEndRE))){b.highlightFormatting&&(k.formatting="code-block");var Y;return V||(Y=v(k)),k.localMode=k.localState=null,k.block=E,k.f=O,k.fencedEndRE=null,k.code=0,k.thisLine.fencedCodeEnd=!0,V?w(j,k,k.block):Y}else return k.localMode?k.localMode.token(j,k.localState):(j.skipToEnd(),u.code)}function v(j){var k=[];if(j.formatting){k.push(u.formatting),typeof j.formatting=="string"&&(j.formatting=[j.formatting]);for(var B=0;B<j.formatting.length;B++)k.push(u.formatting+"-"+j.formatting[B]),j.formatting[B]==="header"&&k.push(u.formatting+"-"+j.formatting[B]+"-"+j.header),j.formatting[B]==="quote"&&(!b.maxBlockquoteDepth||b.maxBlockquoteDepth>=j.quote?k.push(u.formatting+"-"+j.formatting[B]+"-"+j.quote):k.push("error"))}if(j.taskOpen)return k.push("meta"),k.length?k.join(" "):null;if(j.taskClosed)return k.push("property"),k.length?k.join(" "):null;if(j.linkHref?k.push(u.linkHref,"url"):(j.strong&&k.push(u.strong),j.em&&k.push(u.em),j.strikethrough&&k.push(u.strikethrough),j.emoji&&k.push(u.emoji),j.linkText&&k.push(u.linkText),j.code&&k.push(u.code),j.image&&k.push(u.image),j.imageAltText&&k.push(u.imageAltText,"link"),j.imageMarker&&k.push(u.imageMarker)),j.header&&k.push(u.header,u.header+"-"+j.header),j.quote&&(k.push(u.quote),!b.maxBlockquoteDepth||b.maxBlockquoteDepth>=j.quote?k.push(u.quote+"-"+j.quote):k.push(u.quote+"-"+b.maxBlockquoteDepth)),j.list!==!1){var V=(j.listStack.length-1)%3;V?V===1?k.push(u.list2):k.push(u.list3):k.push(u.list1)}return j.trailingSpaceNewLine?k.push("trailing-space-new-line"):j.trailingSpace&&k.push("trailing-space-"+(j.trailingSpace%2?"a":"b")),k.length?k.join(" "):null}function S(j,k){return j.match(l,!0)?v(k):void 0}function O(j,k){var B=k.text(j,k);if(typeof B!="undefined")return B;if(k.list)return k.list=null,v(k);if(k.taskList){var V=j.match(o,!0)[1]===" ";return V?k.taskOpen=!0:k.taskClosed=!0,b.highlightFormatting&&(k.formatting="task"),k.taskList=!1,v(k)}if(k.taskOpen=!1,k.taskClosed=!1,k.header&&j.match(/^#+$/,!0))return b.highlightFormatting&&(k.formatting="header"),v(k);var K=j.next();if(k.linkTitle){k.linkTitle=!1;var Y=K;K==="("&&(Y=")"),Y=(Y+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Q="^\\s*(?:[^"+Y+"\\\\]+|\\\\\\\\|\\\\.)"+Y;if(j.match(new RegExp(Q),!0))return u.linkHref}if(K==="`"){var he=k.formatting;b.highlightFormatting&&(k.formatting="code"),j.eatWhile("`");var G=j.current().length;if(k.code==0&&(!k.quote||G==1))return k.code=G,v(k);if(G==k.code){var ye=v(k);return k.code=0,ye}else return k.formatting=he,v(k)}else if(k.code)return v(k);if(K==="\\"&&(j.next(),b.highlightFormatting)){var Ae=v(k),ge=u.formatting+"-escape";return Ae?Ae+" "+ge:ge}if(K==="!"&&j.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return k.imageMarker=!0,k.image=!0,b.highlightFormatting&&(k.formatting="image"),v(k);if(K==="["&&k.imageMarker&&j.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return k.imageMarker=!1,k.imageAltText=!0,b.highlightFormatting&&(k.formatting="image"),v(k);if(K==="]"&&k.imageAltText){b.highlightFormatting&&(k.formatting="image");var Ae=v(k);return k.imageAltText=!1,k.image=!1,k.inline=k.f=M,Ae}if(K==="["&&!k.image)return k.linkText&&j.match(/^.*?\]/)||(k.linkText=!0,b.highlightFormatting&&(k.formatting="link")),v(k);if(K==="]"&&k.linkText){b.highlightFormatting&&(k.formatting="link");var Ae=v(k);return k.linkText=!1,k.inline=k.f=j.match(/\(.*?\)| ?\[.*?\]/,!1)?M:O,Ae}if(K==="<"&&j.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){k.f=k.inline=L,b.highlightFormatting&&(k.formatting="link");var Ae=v(k);return Ae?Ae+=" ":Ae="",Ae+u.linkInline}if(K==="<"&&j.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){k.f=k.inline=L,b.highlightFormatting&&(k.formatting="link");var Ae=v(k);return Ae?Ae+=" ":Ae="",Ae+u.linkEmail}if(b.xml&&K==="<"&&j.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Pe=j.string.indexOf(">",j.pos);if(Pe!=-1){var Re=j.string.substring(j.start,Pe);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Re)&&(k.md_inside=!0)}return j.backUp(1),k.htmlState=g.startState(m),w(j,k,T)}if(b.xml&&K==="<"&&j.match(/^\/\w*?>/))return k.md_inside=!1,"tag";if(K==="*"||K==="_"){for(var rt=1,ne=j.pos==1?" ":j.string.charAt(j.pos-2);rt<3&&j.eat(K);)rt++;var be=j.peek()||" ",at=!/\s/.test(be)&&(!c.test(be)||/\s/.test(ne)||c.test(ne)),se=!/\s/.test(ne)&&(!c.test(ne)||/\s/.test(be)||c.test(be)),q=null,X=null;if(rt%2&&(!k.em&&at&&(K==="*"||!se||c.test(ne))?q=!0:k.em==K&&se&&(K==="*"||!at||c.test(be))&&(q=!1)),rt>1&&(!k.strong&&at&&(K==="*"||!se||c.test(ne))?X=!0:k.strong==K&&se&&(K==="*"||!at||c.test(be))&&(X=!1)),X!=null||q!=null){b.highlightFormatting&&(k.formatting=q==null?"strong":X==null?"em":"strong em"),q===!0&&(k.em=K),X===!0&&(k.strong=K);var ye=v(k);return q===!1&&(k.em=!1),X===!1&&(k.strong=!1),ye}}else if(K===" "&&(j.eat("*")||j.eat("_"))){if(j.peek()===" ")return v(k);j.backUp(1)}if(b.strikethrough){if(K==="~"&&j.eatWhile(K)){if(k.strikethrough){b.highlightFormatting&&(k.formatting="strikethrough");var ye=v(k);return k.strikethrough=!1,ye}else if(j.match(/^[^\s]/,!1))return k.strikethrough=!0,b.highlightFormatting&&(k.formatting="strikethrough"),v(k)}else if(K===" "&&j.match(/^~~/,!0)){if(j.peek()===" ")return v(k);j.backUp(2)}}if(b.emoji&&K===":"&&j.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){k.emoji=!0,b.highlightFormatting&&(k.formatting="emoji");var Z=v(k);return k.emoji=!1,Z}return K===" "&&(j.match(/^ +$/,!1)?k.trailingSpace++:k.trailingSpace&&(k.trailingSpaceNewLine=!0)),v(k)}function L(j,k){var B=j.next();if(B===">"){k.f=k.inline=O,b.highlightFormatting&&(k.formatting="link");var V=v(k);return V?V+=" ":V="",V+u.linkInline}return j.match(/^[^>]+/,!0),u.linkInline}function M(j,k){if(j.eatSpace())return null;var B=j.next();return B==="("||B==="["?(k.f=k.inline=U(B==="("?")":"]"),b.highlightFormatting&&(k.formatting="link-string"),k.linkHref=!0,v(k)):"error"}var F={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function U(j){return function(k,B){var V=k.next();if(V===j){B.f=B.inline=O,b.highlightFormatting&&(B.formatting="link-string");var K=v(B);return B.linkHref=!1,K}return k.match(F[j]),B.linkHref=!0,v(B)}}function z(j,k){return j.match(/^([^\]\\]|\\.)*\]:/,!1)?(k.f=W,j.next(),b.highlightFormatting&&(k.formatting="link"),k.linkText=!0,v(k)):A(j,k,O)}function W(j,k){if(j.match(/^\]:/,!0)){k.f=k.inline=N,b.highlightFormatting&&(k.formatting="link");var B=v(k);return k.linkText=!1,B}return j.match(/^([^\]\\]|\\.)+/,!0),u.linkText}function N(j,k){return j.eatSpace()?null:(j.match(/^[^\s]+/,!0),j.peek()===void 0?k.linkTitle=!0:j.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),k.f=k.inline=O,u.linkHref+" url")}var H={startState:function(){return{f:E,prevLine:{stream:null},thisLine:{stream:null},block:E,htmlState:null,indentation:0,inline:O,text:S,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(k){return{f:k.f,prevLine:k.prevLine,thisLine:k.thisLine,block:k.block,htmlState:k.htmlState&&g.copyState(m,k.htmlState),indentation:k.indentation,localMode:k.localMode,localState:k.localMode?g.copyState(k.localMode,k.localState):null,inline:k.inline,text:k.text,formatting:!1,linkText:k.linkText,linkTitle:k.linkTitle,linkHref:k.linkHref,code:k.code,em:k.em,strong:k.strong,strikethrough:k.strikethrough,emoji:k.emoji,header:k.header,setext:k.setext,hr:k.hr,taskList:k.taskList,list:k.list,listStack:k.listStack.slice(0),quote:k.quote,indentedCode:k.indentedCode,trailingSpace:k.trailingSpace,trailingSpaceNewLine:k.trailingSpaceNewLine,md_inside:k.md_inside,fencedEndRE:k.fencedEndRE}},token:function(k,B){if(B.formatting=!1,k!=B.thisLine.stream){if(B.header=0,B.hr=!1,k.match(/^\s*$/,!0))return x(B),null;if(B.prevLine=B.thisLine,B.thisLine={stream:k},B.taskList=!1,B.trailingSpace=0,B.trailingSpaceNewLine=!1,!B.localState&&(B.f=B.block,B.f!=T)){var V=k.match(/^\s*/,!0)[0].replace(/\t/g,p).length;if(B.indentation=V,B.indentationDiff=null,V>0)return null}}return B.f(k,B)},innerMode:function(k){return k.block==T?{state:k.htmlState,mode:m}:k.localState?{state:k.localState,mode:k.localMode}:{state:k,mode:H}},indent:function(k,B,V){return k.block==T&&m.indent?m.indent(k.htmlState,B,V):k.localState&&k.localMode.indent?k.localMode.indent(k.localState,B,V):g.Pass},blankLine:x,getType:v,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return H},"xml"),g.defineMIME("text/markdown","markdown"),g.defineMIME("text/x-markdown","markdown")})},laiN:function(R,I,e){var g=e("ProS");e("GVMX"),e("MH26"),g.registerPreprocessor(function(f){f.markLine=f.markLine||{}})},ljhN:function(R,I){function e(g,f){return g===f||g!==g&&f!==f}R.exports=e},lnY3:function(R,I,e){},loD1:function(R,I){function e(g,f,b,m,y,h,u){if(y===0)return!1;var i=y,a=0,r=g;if(u>f+i&&u>m+i||u<f-i&&u<m-i||h>g+i&&h>b+i||h<g-i&&h<b-i)return!1;if(g!==b)a=(f-m)/(g-b),r=(g*m-b*f)/(g-b);else return Math.abs(h-g)<=i/2;var o=a*h-u+r,d=o*o/(a*a+1);return d<=i/2*i/2}I.containStroke=e},lrIw:function(R,I,e){"use strict";var g=e("pVnL"),f=e.n(g),b=e("cDf5"),m=e.n(b),y=e("J4zp"),h=e.n(y),u=e("q1tI"),i=e.n(u),a=e("Zm9Q"),r=e("TSYQ"),o=e.n(r),d=e("BGR+"),n=e("2fM7"),l=e("H84U"),t=e("uaoM"),s=e("0n0R"),c=n.a.Option,p=n.a;function A(x){return x&&x.type&&(x.type.isSelectOption||x.type.isSelectOptGroup)}var w=function(E,T){var _=E.prefixCls,v=E.className,S=E.children,O=E.dataSource,L=Object(a.a)(S),M=u.useRef();u.useImperativeHandle(T,function(){return M.current});var F;if(L.length===1&&Object(s.b)(L[0])&&!A(L[0])){var U=h()(L,1);F=U[0]}var z=function(){return F},W;return L.length&&A(L[0])?W=S:W=O?O.map(function(N){if(Object(s.b)(N))return N;switch(m()(N)){case"string":return u.createElement(c,{key:N,value:N},N);case"object":{var H=N.value;return u.createElement(c,{key:H,value:H},N.text)}default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[],u.useEffect(function(){Object(t.a)(!("dataSource"in E),"AutoComplete","`dataSource` is deprecated, please use `options` instead."),Object(t.a)(!F||!("size"in E),"AutoComplete","You need to control style self instead of setting `size` when using customize input.")},[]),u.createElement(l.a,null,function(N){var H=N.getPrefixCls,j=H("select",_);return u.createElement(p,f()({ref:M},Object(d.default)(E,["dataSource"]),{prefixCls:j,className:o()(v,"".concat(j,"-auto-complete")),mode:n.a.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:z}),W)})},C=u.forwardRef(w);C.Option=c,I.a=C},lwQL:function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("9wZj"),m=e("c8qY"),y=e("SgGq"),h=e("Ae+d"),u=e("xSat"),i=u.onIrrelevantElement,a=e("IwbS"),r=e("SA8n"),o=e("U/Mo"),d=o.getNodeGlobalScale,n="__focusNodeAdjacency",l="__unfocusNodeAdjacency",t=["itemStyle","opacity"],s=["lineStyle","opacity"];function c(C,x){var E=C.getVisual("opacity");return E!=null?E:C.getModel().get(x)}function p(C,x,E){var T=C.getGraphicEl(),_=c(C,x);E!=null&&(_==null&&(_=1),_*=E),T.downplay&&T.downplay(),T.traverse(function(v){if(!v.isGroup){var S=v.lineLabelOriginalOpacity;(S==null||E!=null)&&(S=_),v.setStyle("opacity",S)}})}function A(C,x){var E=c(C,x),T=C.getGraphicEl();T.traverse(function(_){!_.isGroup&&_.setStyle("opacity",E)}),T.highlight&&T.highlight()}var w=g.extendChartView({type:"graph",init:function(C,x){var E=new b,T=new m,_=this.group;this._controller=new y(x.getZr()),this._controllerHost={target:_},_.add(E.group),_.add(T.group),this._symbolDraw=E,this._lineDraw=T,this._firstRender=!0},render:function(C,x,E){var T=this,_=C.coordinateSystem;this._model=C;var v=this._symbolDraw,S=this._lineDraw,O=this.group;if(_.type==="view"){var L={position:_.position,scale:_.scale};this._firstRender?O.attr(L):a.updateProps(O,L,C)}r(C.getGraph(),d(C));var M=C.getData();v.updateData(M);var F=C.getEdgeData();S.updateData(F),this._updateNodeAndLinkScale(),this._updateController(C,x,E),clearTimeout(this._layoutTimeout);var U=C.forceLayout,z=C.get("force.layoutAnimation");U&&this._startForceLayoutIteration(U,z),M.eachItemGraphicEl(function(j,k){var B=M.getItemModel(k);j.off("drag").off("dragend");var V=B.get("draggable");V&&j.on("drag",function(){U&&(U.warmUp(),!this._layouting&&this._startForceLayoutIteration(U,z),U.setFixed(k),M.setItemLayout(k,j.position))},this).on("dragend",function(){U&&U.setUnfixed(k)},this),j.setDraggable(V&&U),j[n]&&j.off("mouseover",j[n]),j[l]&&j.off("mouseout",j[l]),B.get("focusNodeAdjacency")&&(j.on("mouseover",j[n]=function(){T._clearTimer(),E.dispatchAction({type:"focusNodeAdjacency",seriesId:C.id,dataIndex:j.dataIndex})}),j.on("mouseout",j[l]=function(){T._dispatchUnfocus(E)}))},this),M.graph.eachEdge(function(j){var k=j.getGraphicEl();k[n]&&k.off("mouseover",k[n]),k[l]&&k.off("mouseout",k[l]),j.getModel().get("focusNodeAdjacency")&&(k.on("mouseover",k[n]=function(){T._clearTimer(),E.dispatchAction({type:"focusNodeAdjacency",seriesId:C.id,edgeDataIndex:j.dataIndex})}),k.on("mouseout",k[l]=function(){T._dispatchUnfocus(E)}))});var W=C.get("layout")==="circular"&&C.get("circular.rotateLabel"),N=M.getLayout("cx"),H=M.getLayout("cy");M.eachItemGraphicEl(function(j,k){var B=M.getItemModel(k),V=B.get("label.rotate")||0,K=j.getSymbolPath();if(W){var Y=M.getItemLayout(k),Q=Math.atan2(Y[1]-H,Y[0]-N);Q<0&&(Q=Math.PI*2+Q);var he=Y[0]<N;he&&(Q=Q-Math.PI);var G=he?"left":"right";a.modifyLabelStyle(K,{textRotation:-Q,textPosition:G,textOrigin:"center"},{textPosition:G})}else a.modifyLabelStyle(K,{textRotation:V*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(C,x){var E=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){E._unfocusDelayTimer=null,C.dispatchAction({type:"unfocusNodeAdjacency",seriesId:E._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(C,x,E,T){var _=C.getData(),v=_.graph,S=T.dataIndex,O=T.edgeDataIndex,L=v.getNodeByIndex(S),M=v.getEdgeByIndex(O);if(!L&&!M)return;v.eachNode(function(F){p(F,t,.1)}),v.eachEdge(function(F){p(F,s,.1)}),L&&(A(L,t),f.each(L.edges,function(F){if(F.dataIndex<0)return;A(F,s),A(F.node1,t),A(F.node2,t)})),M&&(A(M,s),A(M.node1,t),A(M.node2,t))},unfocusNodeAdjacency:function(C,x,E,T){var _=C.getData().graph;_.eachNode(function(v){p(v,t)}),_.eachEdge(function(v){p(v,s)})},_startForceLayoutIteration:function(C,x){var E=this;(function T(){C.step(function(_){E.updateLayout(E._model),(E._layouting=!_)&&(x?E._layoutTimeout=setTimeout(T,16):T())})})()},_updateController:function(C,x,E){var T=this._controller,_=this._controllerHost,v=this.group;if(T.setPointerChecker(function(S,O,L){var M=v.getBoundingRect();return M.applyTransform(v.transform),M.contain(O,L)&&!i(S,E,C)}),C.coordinateSystem.type!=="view"){T.disable();return}T.enable(C.get("roam")),_.zoomLimit=C.get("scaleLimit"),_.zoom=C.coordinateSystem.getZoom(),T.off("pan").off("zoom").on("pan",function(S){h.updateViewOnPan(_,S.dx,S.dy),E.dispatchAction({seriesId:C.id,type:"graphRoam",dx:S.dx,dy:S.dy})}).on("zoom",function(S){h.updateViewOnZoom(_,S.scale,S.originX,S.originY),E.dispatchAction({seriesId:C.id,type:"graphRoam",zoom:S.scale,originX:S.originX,originY:S.originY}),this._updateNodeAndLinkScale(),r(C.getGraph(),d(C)),this._lineDraw.updateLayout()},this)},_updateNodeAndLinkScale:function(){var C=this._model,x=C.getData(),E=d(C),T=[E,E];x.eachItemGraphicEl(function(_,v){_.attr("scale",T)})},updateLayout:function(C){r(C.getGraph(),d(C)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(C,x){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});R.exports=w},m9t5:function(R,I,e){var g=e("KCsZ"),f=g([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),b={getAreaStyle:function(m,y){return f(this,m,y)}};R.exports=b},mFDi:function(R,I,e){var g=e("QBsz"),f=e("Fofx"),b=g.applyTransform,m=Math.min,y=Math.max;function h(i,a,r,o){r<0&&(i=i+r,r=-r),o<0&&(a=a+o,o=-o),this.x=i,this.y=a,this.width=r,this.height=o}h.prototype={constructor:h,union:function(a){var r=m(a.x,this.x),o=m(a.y,this.y);this.width=y(a.x+a.width,this.x+this.width)-r,this.height=y(a.y+a.height,this.y+this.height)-o,this.x=r,this.y=o},applyTransform:function(){var i=[],a=[],r=[],o=[];return function(d){if(!d)return;i[0]=r[0]=this.x,i[1]=o[1]=this.y,a[0]=o[0]=this.x+this.width,a[1]=r[1]=this.y+this.height,b(i,i,d),b(a,a,d),b(r,r,d),b(o,o,d),this.x=m(i[0],a[0],r[0],o[0]),this.y=m(i[1],a[1],r[1],o[1]);var n=y(i[0],a[0],r[0],o[0]),l=y(i[1],a[1],r[1],o[1]);this.width=n-this.x,this.height=l-this.y}}(),calculateTransform:function(a){var r=this,o=a.width/r.width,d=a.height/r.height,n=f.create();return f.translate(n,n,[-r.x,-r.y]),f.scale(n,n,[o,d]),f.translate(n,n,[a.x,a.y]),n},intersect:function(a){if(!a)return!1;a instanceof h||(a=h.create(a));var r=this,o=r.x,d=r.x+r.width,n=r.y,l=r.y+r.height,t=a.x,s=a.x+a.width,c=a.y,p=a.y+a.height;return!(d<t||s<o||l<c||p<n)},contain:function(a,r){var o=this;return a>=o.x&&a<=o.x+o.width&&r>=o.y&&r<=o.y+o.height},clone:function(){return new h(this.x,this.y,this.width,this.height)},copy:function(a){this.x=a.x,this.y=a.y,this.width=a.width,this.height=a.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},h.create=function(i){return new h(i.x,i.y,i.width,i.height)};var u=h;R.exports=u},mHUz:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g={XK_VoidSymbol:16777215,XK_BackSpace:65288,XK_Tab:65289,XK_Linefeed:65290,XK_Clear:65291,XK_Return:65293,XK_Pause:65299,XK_Scroll_Lock:65300,XK_Sys_Req:65301,XK_Escape:65307,XK_Delete:65535,XK_Multi_key:65312,XK_Codeinput:65335,XK_SingleCandidate:65340,XK_MultipleCandidate:65341,XK_PreviousCandidate:65342,XK_Kanji:65313,XK_Muhenkan:65314,XK_Henkan_Mode:65315,XK_Henkan:65315,XK_Romaji:65316,XK_Hiragana:65317,XK_Katakana:65318,XK_Hiragana_Katakana:65319,XK_Zenkaku:65320,XK_Hankaku:65321,XK_Zenkaku_Hankaku:65322,XK_Touroku:65323,XK_Massyo:65324,XK_Kana_Lock:65325,XK_Kana_Shift:65326,XK_Eisu_Shift:65327,XK_Eisu_toggle:65328,XK_Kanji_Bangou:65335,XK_Zen_Koho:65341,XK_Mae_Koho:65342,XK_Home:65360,XK_Left:65361,XK_Up:65362,XK_Right:65363,XK_Down:65364,XK_Prior:65365,XK_Page_Up:65365,XK_Next:65366,XK_Page_Down:65366,XK_End:65367,XK_Begin:65368,XK_Select:65376,XK_Print:65377,XK_Execute:65378,XK_Insert:65379,XK_Undo:65381,XK_Redo:65382,XK_Menu:65383,XK_Find:65384,XK_Cancel:65385,XK_Help:65386,XK_Break:65387,XK_Mode_switch:65406,XK_script_switch:65406,XK_Num_Lock:65407,XK_KP_Space:65408,XK_KP_Tab:65417,XK_KP_Enter:65421,XK_KP_F1:65425,XK_KP_F2:65426,XK_KP_F3:65427,XK_KP_F4:65428,XK_KP_Home:65429,XK_KP_Left:65430,XK_KP_Up:65431,XK_KP_Right:65432,XK_KP_Down:65433,XK_KP_Prior:65434,XK_KP_Page_Up:65434,XK_KP_Next:65435,XK_KP_Page_Down:65435,XK_KP_End:65436,XK_KP_Begin:65437,XK_KP_Insert:65438,XK_KP_Delete:65439,XK_KP_Equal:65469,XK_KP_Multiply:65450,XK_KP_Add:65451,XK_KP_Separator:65452,XK_KP_Subtract:65453,XK_KP_Decimal:65454,XK_KP_Divide:65455,XK_KP_0:65456,XK_KP_1:65457,XK_KP_2:65458,XK_KP_3:65459,XK_KP_4:65460,XK_KP_5:65461,XK_KP_6:65462,XK_KP_7:65463,XK_KP_8:65464,XK_KP_9:65465,XK_F1:65470,XK_F2:65471,XK_F3:65472,XK_F4:65473,XK_F5:65474,XK_F6:65475,XK_F7:65476,XK_F8:65477,XK_F9:65478,XK_F10:65479,XK_F11:65480,XK_L1:65480,XK_F12:65481,XK_L2:65481,XK_F13:65482,XK_L3:65482,XK_F14:65483,XK_L4:65483,XK_F15:65484,XK_L5:65484,XK_F16:65485,XK_L6:65485,XK_F17:65486,XK_L7:65486,XK_F18:65487,XK_L8:65487,XK_F19:65488,XK_L9:65488,XK_F20:65489,XK_L10:65489,XK_F21:65490,XK_R1:65490,XK_F22:65491,XK_R2:65491,XK_F23:65492,XK_R3:65492,XK_F24:65493,XK_R4:65493,XK_F25:65494,XK_R5:65494,XK_F26:65495,XK_R6:65495,XK_F27:65496,XK_R7:65496,XK_F28:65497,XK_R8:65497,XK_F29:65498,XK_R9:65498,XK_F30:65499,XK_R10:65499,XK_F31:65500,XK_R11:65500,XK_F32:65501,XK_R12:65501,XK_F33:65502,XK_R13:65502,XK_F34:65503,XK_R14:65503,XK_F35:65504,XK_R15:65504,XK_Shift_L:65505,XK_Shift_R:65506,XK_Control_L:65507,XK_Control_R:65508,XK_Caps_Lock:65509,XK_Shift_Lock:65510,XK_Meta_L:65511,XK_Meta_R:65512,XK_Alt_L:65513,XK_Alt_R:65514,XK_Super_L:65515,XK_Super_R:65516,XK_Hyper_L:65517,XK_Hyper_R:65518,XK_ISO_Level3_Shift:65027,XK_ISO_Next_Group:65032,XK_ISO_Prev_Group:65034,XK_ISO_First_Group:65036,XK_ISO_Last_Group:65038,XK_space:32,XK_exclam:33,XK_quotedbl:34,XK_numbersign:35,XK_dollar:36,XK_percent:37,XK_ampersand:38,XK_apostrophe:39,XK_quoteright:39,XK_parenleft:40,XK_parenright:41,XK_asterisk:42,XK_plus:43,XK_comma:44,XK_minus:45,XK_period:46,XK_slash:47,XK_0:48,XK_1:49,XK_2:50,XK_3:51,XK_4:52,XK_5:53,XK_6:54,XK_7:55,XK_8:56,XK_9:57,XK_colon:58,XK_semicolon:59,XK_less:60,XK_equal:61,XK_greater:62,XK_question:63,XK_at:64,XK_A:65,XK_B:66,XK_C:67,XK_D:68,XK_E:69,XK_F:70,XK_G:71,XK_H:72,XK_I:73,XK_J:74,XK_K:75,XK_L:76,XK_M:77,XK_N:78,XK_O:79,XK_P:80,XK_Q:81,XK_R:82,XK_S:83,XK_T:84,XK_U:85,XK_V:86,XK_W:87,XK_X:88,XK_Y:89,XK_Z:90,XK_bracketleft:91,XK_backslash:92,XK_bracketright:93,XK_asciicircum:94,XK_underscore:95,XK_grave:96,XK_quoteleft:96,XK_a:97,XK_b:98,XK_c:99,XK_d:100,XK_e:101,XK_f:102,XK_g:103,XK_h:104,XK_i:105,XK_j:106,XK_k:107,XK_l:108,XK_m:109,XK_n:110,XK_o:111,XK_p:112,XK_q:113,XK_r:114,XK_s:115,XK_t:116,XK_u:117,XK_v:118,XK_w:119,XK_x:120,XK_y:121,XK_z:122,XK_braceleft:123,XK_bar:124,XK_braceright:125,XK_asciitilde:126,XK_nobreakspace:160,XK_exclamdown:161,XK_cent:162,XK_sterling:163,XK_currency:164,XK_yen:165,XK_brokenbar:166,XK_section:167,XK_diaeresis:168,XK_copyright:169,XK_ordfeminine:170,XK_guillemotleft:171,XK_notsign:172,XK_hyphen:173,XK_registered:174,XK_macron:175,XK_degree:176,XK_plusminus:177,XK_twosuperior:178,XK_threesuperior:179,XK_acute:180,XK_mu:181,XK_paragraph:182,XK_periodcentered:183,XK_cedilla:184,XK_onesuperior:185,XK_masculine:186,XK_guillemotright:187,XK_onequarter:188,XK_onehalf:189,XK_threequarters:190,XK_questiondown:191,XK_Agrave:192,XK_Aacute:193,XK_Acircumflex:194,XK_Atilde:195,XK_Adiaeresis:196,XK_Aring:197,XK_AE:198,XK_Ccedilla:199,XK_Egrave:200,XK_Eacute:201,XK_Ecircumflex:202,XK_Ediaeresis:203,XK_Igrave:204,XK_Iacute:205,XK_Icircumflex:206,XK_Idiaeresis:207,XK_ETH:208,XK_Eth:208,XK_Ntilde:209,XK_Ograve:210,XK_Oacute:211,XK_Ocircumflex:212,XK_Otilde:213,XK_Odiaeresis:214,XK_multiply:215,XK_Oslash:216,XK_Ooblique:216,XK_Ugrave:217,XK_Uacute:218,XK_Ucircumflex:219,XK_Udiaeresis:220,XK_Yacute:221,XK_THORN:222,XK_Thorn:222,XK_ssharp:223,XK_agrave:224,XK_aacute:225,XK_acircumflex:226,XK_atilde:227,XK_adiaeresis:228,XK_aring:229,XK_ae:230,XK_ccedilla:231,XK_egrave:232,XK_eacute:233,XK_ecircumflex:234,XK_ediaeresis:235,XK_igrave:236,XK_iacute:237,XK_icircumflex:238,XK_idiaeresis:239,XK_eth:240,XK_ntilde:241,XK_ograve:242,XK_oacute:243,XK_ocircumflex:244,XK_otilde:245,XK_odiaeresis:246,XK_division:247,XK_oslash:248,XK_ooblique:248,XK_ugrave:249,XK_uacute:250,XK_ucircumflex:251,XK_udiaeresis:252,XK_yacute:253,XK_thorn:254,XK_ydiaeresis:255,XK_Hangul:65329,XK_Hangul_Hanja:65332,XK_Hangul_Jeonja:65336,XF86XK_ModeLock:269025025,XF86XK_MonBrightnessUp:269025026,XF86XK_MonBrightnessDown:269025027,XF86XK_KbdLightOnOff:269025028,XF86XK_KbdBrightnessUp:269025029,XF86XK_KbdBrightnessDown:269025030,XF86XK_Standby:269025040,XF86XK_AudioLowerVolume:269025041,XF86XK_AudioMute:269025042,XF86XK_AudioRaiseVolume:269025043,XF86XK_AudioPlay:269025044,XF86XK_AudioStop:269025045,XF86XK_AudioPrev:269025046,XF86XK_AudioNext:269025047,XF86XK_HomePage:269025048,XF86XK_Mail:269025049,XF86XK_Start:269025050,XF86XK_Search:269025051,XF86XK_AudioRecord:269025052,XF86XK_Calculator:269025053,XF86XK_Memo:269025054,XF86XK_ToDoList:269025055,XF86XK_Calendar:269025056,XF86XK_PowerDown:269025057,XF86XK_ContrastAdjust:269025058,XF86XK_RockerUp:269025059,XF86XK_RockerDown:269025060,XF86XK_RockerEnter:269025061,XF86XK_Back:269025062,XF86XK_Forward:269025063,XF86XK_Stop:269025064,XF86XK_Refresh:269025065,XF86XK_PowerOff:269025066,XF86XK_WakeUp:269025067,XF86XK_Eject:269025068,XF86XK_ScreenSaver:269025069,XF86XK_WWW:269025070,XF86XK_Sleep:269025071,XF86XK_Favorites:269025072,XF86XK_AudioPause:269025073,XF86XK_AudioMedia:269025074,XF86XK_MyComputer:269025075,XF86XK_VendorHome:269025076,XF86XK_LightBulb:269025077,XF86XK_Shop:269025078,XF86XK_History:269025079,XF86XK_OpenURL:269025080,XF86XK_AddFavorite:269025081,XF86XK_HotLinks:269025082,XF86XK_BrightnessAdjust:269025083,XF86XK_Finance:269025084,XF86XK_Community:269025085,XF86XK_AudioRewind:269025086,XF86XK_BackForward:269025087,XF86XK_Launch0:269025088,XF86XK_Launch1:269025089,XF86XK_Launch2:269025090,XF86XK_Launch3:269025091,XF86XK_Launch4:269025092,XF86XK_Launch5:269025093,XF86XK_Launch6:269025094,XF86XK_Launch7:269025095,XF86XK_Launch8:269025096,XF86XK_Launch9:269025097,XF86XK_LaunchA:269025098,XF86XK_LaunchB:269025099,XF86XK_LaunchC:269025100,XF86XK_LaunchD:269025101,XF86XK_LaunchE:269025102,XF86XK_LaunchF:269025103,XF86XK_ApplicationLeft:269025104,XF86XK_ApplicationRight:269025105,XF86XK_Book:269025106,XF86XK_CD:269025107,XF86XK_Calculater:269025108,XF86XK_Clear:269025109,XF86XK_Close:269025110,XF86XK_Copy:269025111,XF86XK_Cut:269025112,XF86XK_Display:269025113,XF86XK_DOS:269025114,XF86XK_Documents:269025115,XF86XK_Excel:269025116,XF86XK_Explorer:269025117,XF86XK_Game:269025118,XF86XK_Go:269025119,XF86XK_iTouch:269025120,XF86XK_LogOff:269025121,XF86XK_Market:269025122,XF86XK_Meeting:269025123,XF86XK_MenuKB:269025125,XF86XK_MenuPB:269025126,XF86XK_MySites:269025127,XF86XK_New:269025128,XF86XK_News:269025129,XF86XK_OfficeHome:269025130,XF86XK_Open:269025131,XF86XK_Option:269025132,XF86XK_Paste:269025133,XF86XK_Phone:269025134,XF86XK_Q:269025136,XF86XK_Reply:269025138,XF86XK_Reload:269025139,XF86XK_RotateWindows:269025140,XF86XK_RotationPB:269025141,XF86XK_RotationKB:269025142,XF86XK_Save:269025143,XF86XK_ScrollUp:269025144,XF86XK_ScrollDown:269025145,XF86XK_ScrollClick:269025146,XF86XK_Send:269025147,XF86XK_Spell:269025148,XF86XK_SplitScreen:269025149,XF86XK_Support:269025150,XF86XK_TaskPane:269025151,XF86XK_Terminal:269025152,XF86XK_Tools:269025153,XF86XK_Travel:269025154,XF86XK_UserPB:269025156,XF86XK_User1KB:269025157,XF86XK_User2KB:269025158,XF86XK_Video:269025159,XF86XK_WheelButton:269025160,XF86XK_Word:269025161,XF86XK_Xfer:269025162,XF86XK_ZoomIn:269025163,XF86XK_ZoomOut:269025164,XF86XK_Away:269025165,XF86XK_Messenger:269025166,XF86XK_WebCam:269025167,XF86XK_MailForward:269025168,XF86XK_Pictures:269025169,XF86XK_Music:269025170,XF86XK_Battery:269025171,XF86XK_Bluetooth:269025172,XF86XK_WLAN:269025173,XF86XK_UWB:269025174,XF86XK_AudioForward:269025175,XF86XK_AudioRepeat:269025176,XF86XK_AudioRandomPlay:269025177,XF86XK_Subtitle:269025178,XF86XK_AudioCycleTrack:269025179,XF86XK_CycleAngle:269025180,XF86XK_FrameBack:269025181,XF86XK_FrameForward:269025182,XF86XK_Time:269025183,XF86XK_Select:269025184,XF86XK_View:269025185,XF86XK_TopMenu:269025186,XF86XK_Red:269025187,XF86XK_Green:269025188,XF86XK_Yellow:269025189,XF86XK_Blue:269025190,XF86XK_Suspend:269025191,XF86XK_Hibernate:269025192,XF86XK_TouchpadToggle:269025193,XF86XK_TouchpadOn:269025200,XF86XK_TouchpadOff:269025201,XF86XK_AudioMicMute:269025202,XF86XK_Switch_VT_1:269024769,XF86XK_Switch_VT_2:269024770,XF86XK_Switch_VT_3:269024771,XF86XK_Switch_VT_4:269024772,XF86XK_Switch_VT_5:269024773,XF86XK_Switch_VT_6:269024774,XF86XK_Switch_VT_7:269024775,XF86XK_Switch_VT_8:269024776,XF86XK_Switch_VT_9:269024777,XF86XK_Switch_VT_10:269024778,XF86XK_Switch_VT_11:269024779,XF86XK_Switch_VT_12:269024780,XF86XK_Ungrab:269024800,XF86XK_ClearGrab:269024801,XF86XK_Next_VMode:269024802,XF86XK_Prev_VMode:269024803,XF86XK_LogWindowTree:269024804,XF86XK_LogGrabInfo:269024805};I.default=g},mLcG:function(R,I){var e=typeof window!="undefined"&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(g){setTimeout(g,16)};R.exports=e},"mO/d":function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("I9Y+"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},mOdp:function(R,I,e){var g=e("bYtY"),f=g.createHashMap;function b(m){return{getTargetSeries:function(y){var h={},u=f();return y.eachSeriesByType(m,function(i){i.__paletteScope=h,u.set(i.uid,i)}),u},reset:function(y,h){var u=y.getRawData(),i={},a=y.getData();a.each(function(r){var o=a.getRawIndex(r);i[o]=r}),u.each(function(r){var o=i[r],d=o!=null&&a.getItemVisual(o,"color",!0),n=o!=null&&a.getItemVisual(o,"borderColor",!0),l;if((!d||!n)&&(l=u.getItemModel(r)),!d){var t=l.get("itemStyle.color")||y.getColorFromPalette(u.getName(r)||r+"",y.__paletteScope,u.count());o!=null&&a.setItemVisual(o,"color",t)}if(!n){var s=l.get("itemStyle.borderColor");o!=null&&a.setItemVisual(o,"borderColor",s)}})}}}R.exports=b},mTgk:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("mHUz"));function f(i){return i&&i.__esModule?i:{default:i}}var b={};function m(i,a){if(a===void 0)throw new Error('Undefined keysym for key "'+i+'"');if(i in b)throw new Error('Duplicate entry for key "'+i+'"');b[i]=[a,a,a,a]}function y(i,a,r){if(a===void 0)throw new Error('Undefined keysym for key "'+i+'"');if(r===void 0)throw new Error('Undefined keysym for key "'+i+'"');if(i in b)throw new Error('Duplicate entry for key "'+i+'"');b[i]=[a,a,r,a]}function h(i,a,r){if(a===void 0)throw new Error('Undefined keysym for key "'+i+'"');if(r===void 0)throw new Error('Undefined keysym for key "'+i+'"');if(i in b)throw new Error('Duplicate entry for key "'+i+'"');b[i]=[a,a,a,r]}y("Alt",g.default.XK_Alt_L,g.default.XK_Alt_R),m("AltGraph",g.default.XK_ISO_Level3_Shift),m("CapsLock",g.default.XK_Caps_Lock),y("Control",g.default.XK_Control_L,g.default.XK_Control_R),y("Meta",g.default.XK_Super_L,g.default.XK_Super_R),m("NumLock",g.default.XK_Num_Lock),m("ScrollLock",g.default.XK_Scroll_Lock),y("Shift",g.default.XK_Shift_L,g.default.XK_Shift_R),h("Enter",g.default.XK_Return,g.default.XK_KP_Enter),m("Tab",g.default.XK_Tab),h(" ",g.default.XK_space,g.default.XK_KP_Space),h("ArrowDown",g.default.XK_Down,g.default.XK_KP_Down),h("ArrowUp",g.default.XK_Up,g.default.XK_KP_Up),h("ArrowLeft",g.default.XK_Left,g.default.XK_KP_Left),h("ArrowRight",g.default.XK_Right,g.default.XK_KP_Right),h("End",g.default.XK_End,g.default.XK_KP_End),h("Home",g.default.XK_Home,g.default.XK_KP_Home),h("PageDown",g.default.XK_Next,g.default.XK_KP_Next),h("PageUp",g.default.XK_Prior,g.default.XK_KP_Prior),m("Backspace",g.default.XK_BackSpace),h("Clear",g.default.XK_Clear,g.default.XK_KP_Begin),m("Copy",g.default.XF86XK_Copy),m("Cut",g.default.XF86XK_Cut),h("Delete",g.default.XK_Delete,g.default.XK_KP_Delete),h("Insert",g.default.XK_Insert,g.default.XK_KP_Insert),m("Paste",g.default.XF86XK_Paste),m("Redo",g.default.XK_Redo),m("Undo",g.default.XK_Undo),m("Cancel",g.default.XK_Cancel),m("ContextMenu",g.default.XK_Menu),m("Escape",g.default.XK_Escape),m("Execute",g.default.XK_Execute),m("Find",g.default.XK_Find),m("Help",g.default.XK_Help),m("Pause",g.default.XK_Pause),m("Select",g.default.XK_Select),m("ZoomIn",g.default.XF86XK_ZoomIn),m("ZoomOut",g.default.XF86XK_ZoomOut),m("BrightnessDown",g.default.XF86XK_MonBrightnessDown),m("BrightnessUp",g.default.XF86XK_MonBrightnessUp),m("Eject",g.default.XF86XK_Eject),m("LogOff",g.default.XF86XK_LogOff),m("Power",g.default.XF86XK_PowerOff),m("PowerOff",g.default.XF86XK_PowerDown),m("PrintScreen",g.default.XK_Print),m("Hibernate",g.default.XF86XK_Hibernate),m("Standby",g.default.XF86XK_Standby),m("WakeUp",g.default.XF86XK_WakeUp),m("AllCandidates",g.default.XK_MultipleCandidate),m("Alphanumeric",g.default.XK_Eisu_Shift),m("CodeInput",g.default.XK_Codeinput),m("Compose",g.default.XK_Multi_key),m("Convert",g.default.XK_Henkan),m("GroupFirst",g.default.XK_ISO_First_Group),m("GroupLast",g.default.XK_ISO_Last_Group),m("GroupNext",g.default.XK_ISO_Next_Group),m("GroupPrevious",g.default.XK_ISO_Prev_Group),m("NonConvert",g.default.XK_Muhenkan),m("PreviousCandidate",g.default.XK_PreviousCandidate),m("SingleCandidate",g.default.XK_SingleCandidate),m("HangulMode",g.default.XK_Hangul),m("HanjaMode",g.default.XK_Hangul_Hanja),m("JunjuaMode",g.default.XK_Hangul_Jeonja),m("Eisu",g.default.XK_Eisu_toggle),m("Hankaku",g.default.XK_Hankaku),m("Hiragana",g.default.XK_Hiragana),m("HiraganaKatakana",g.default.XK_Hiragana_Katakana),m("KanaMode",g.default.XK_Kana_Shift),m("KanjiMode",g.default.XK_Kanji),m("Katakana",g.default.XK_Katakana),m("Romaji",g.default.XK_Romaji),m("Zenkaku",g.default.XK_Zenkaku),m("ZenkakuHanaku",g.default.XK_Zenkaku_Hankaku),m("F1",g.default.XK_F1),m("F2",g.default.XK_F2),m("F3",g.default.XK_F3),m("F4",g.default.XK_F4),m("F5",g.default.XK_F5),m("F6",g.default.XK_F6),m("F7",g.default.XK_F7),m("F8",g.default.XK_F8),m("F9",g.default.XK_F9),m("F10",g.default.XK_F10),m("F11",g.default.XK_F11),m("F12",g.default.XK_F12),m("F13",g.default.XK_F13),m("F14",g.default.XK_F14),m("F15",g.default.XK_F15),m("F16",g.default.XK_F16),m("F17",g.default.XK_F17),m("F18",g.default.XK_F18),m("F19",g.default.XK_F19),m("F20",g.default.XK_F20),m("F21",g.default.XK_F21),m("F22",g.default.XK_F22),m("F23",g.default.XK_F23),m("F24",g.default.XK_F24),m("F25",g.default.XK_F25),m("F26",g.default.XK_F26),m("F27",g.default.XK_F27),m("F28",g.default.XK_F28),m("F29",g.default.XK_F29),m("F30",g.default.XK_F30),m("F31",g.default.XK_F31),m("F32",g.default.XK_F32),m("F33",g.default.XK_F33),m("F34",g.default.XK_F34),m("F35",g.default.XK_F35),m("Close",g.default.XF86XK_Close),m("MailForward",g.default.XF86XK_MailForward),m("MailReply",g.default.XF86XK_Reply),m("MailSend",g.default.XF86XK_Send),m("MediaFastForward",g.default.XF86XK_AudioForward),m("MediaPause",g.default.XF86XK_AudioPause),m("MediaPlay",g.default.XF86XK_AudioPlay),m("MediaRecord",g.default.XF86XK_AudioRecord),m("MediaRewind",g.default.XF86XK_AudioRewind),m("MediaStop",g.default.XF86XK_AudioStop),m("MediaTrackNext",g.default.XF86XK_AudioNext),m("MediaTrackPrevious",g.default.XF86XK_AudioPrev),m("New",g.default.XF86XK_New),m("Open",g.default.XF86XK_Open),m("Print",g.default.XK_Print),m("Save",g.default.XF86XK_Save),m("SpellCheck",g.default.XF86XK_Spell),m("AudioVolumeDown",g.default.XF86XK_AudioLowerVolume),m("AudioVolumeUp",g.default.XF86XK_AudioRaiseVolume),m("AudioVolumeMute",g.default.XF86XK_AudioMute),m("MicrophoneVolumeMute",g.default.XF86XK_AudioMicMute),m("LaunchApplication1",g.default.XF86XK_MyComputer),m("LaunchApplication2",g.default.XF86XK_Calculator),m("LaunchCalendar",g.default.XF86XK_Calendar),m("LaunchMail",g.default.XF86XK_Mail),m("LaunchMediaPlayer",g.default.XF86XK_AudioMedia),m("LaunchMusicPlayer",g.default.XF86XK_Music),m("LaunchPhone",g.default.XF86XK_Phone),m("LaunchScreenSaver",g.default.XF86XK_ScreenSaver),m("LaunchSpreadsheet",g.default.XF86XK_Excel),m("LaunchWebBrowser",g.default.XF86XK_WWW),m("LaunchWebCam",g.default.XF86XK_WebCam),m("LaunchWordProcessor",g.default.XF86XK_Word),m("BrowserBack",g.default.XF86XK_Back),m("BrowserFavorites",g.default.XF86XK_Favorites),m("BrowserForward",g.default.XF86XK_Forward),m("BrowserHome",g.default.XF86XK_HomePage),m("BrowserRefresh",g.default.XF86XK_Refresh),m("BrowserSearch",g.default.XF86XK_Search),m("BrowserStop",g.default.XF86XK_Stop),m("Dimmer",g.default.XF86XK_BrightnessAdjust),m("MediaAudioTrack",g.default.XF86XK_AudioCycleTrack),m("RandomToggle",g.default.XF86XK_AudioRandomPlay),m("SplitScreenToggle",g.default.XF86XK_SplitScreen),m("Subtitle",g.default.XF86XK_Subtitle),m("VideoModeNext",g.default.XF86XK_Next_VMode),h("=",g.default.XK_equal,g.default.XK_KP_Equal),h("+",g.default.XK_plus,g.default.XK_KP_Add),h("-",g.default.XK_minus,g.default.XK_KP_Subtract),h("*",g.default.XK_asterisk,g.default.XK_KP_Multiply),h("/",g.default.XK_slash,g.default.XK_KP_Divide),h(".",g.default.XK_period,g.default.XK_KP_Decimal),h(",",g.default.XK_comma,g.default.XK_KP_Separator),h("0",g.default.XK_0,g.default.XK_KP_0),h("1",g.default.XK_1,g.default.XK_KP_1),h("2",g.default.XK_2,g.default.XK_KP_2),h("3",g.default.XK_3,g.default.XK_KP_3),h("4",g.default.XK_4,g.default.XK_KP_4),h("5",g.default.XK_5,g.default.XK_KP_5),h("6",g.default.XK_6,g.default.XK_KP_6),h("7",g.default.XK_7,g.default.XK_KP_7),h("8",g.default.XK_8,g.default.XK_KP_8),h("9",g.default.XK_9,g.default.XK_KP_9);var u=b;I.default=u},mYwL:function(R,I,e){var g=e("bYtY"),f=e("IwbS"),b=e("6GrX"),m=Math.PI;function y(h,u){u=u||{},g.defaults(u,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var i=new f.Group,a=new f.Rect({style:{fill:u.maskColor},zlevel:u.zlevel,z:1e4});i.add(a);var r=u.fontSize+" sans-serif",o=new f.Rect({style:{fill:"none",text:u.text,font:r,textPosition:"right",textDistance:10,textFill:u.textColor},zlevel:u.zlevel,z:10001});if(i.add(o),u.showSpinner){var d=new f.Arc({shape:{startAngle:-m/2,endAngle:-m/2+.1,r:u.spinnerRadius},style:{stroke:u.color,lineCap:"round",lineWidth:u.lineWidth},zlevel:u.zlevel,z:10001});d.animateShape(!0).when(1e3,{endAngle:m*3/2}).start("circularInOut"),d.animateShape(!0).when(1e3,{startAngle:m*3/2}).delay(300).start("circularInOut"),i.add(d)}return i.resize=function(){var n=b.getWidth(u.text,r),l=u.showSpinner?u.spinnerRadius:0,t=(h.getWidth()-l*2-(u.showSpinner&&n?10:0)-n)/2-(u.showSpinner?0:n/2),s=h.getHeight()/2;u.showSpinner&&d.setShape({cx:t,cy:s}),o.setShape({x:t-l,y:s-l,width:l*2,height:l*2}),a.setShape({x:0,y:0,width:h.getWidth(),height:h.getHeight()})},i.resize(),i}R.exports=y},mdPL:function(R,I,e){(function(g){var f=e("WFqU"),b=I&&!I.nodeType&&I,m=b&&typeof g=="object"&&g&&!g.nodeType&&g,y=m&&m.exports===b,h=y&&f.process,u=function(){try{var i=m&&m.require&&m.require("util").types;return i||h&&h.binding&&h.binding("util")}catch(a){}}();g.exports=u}).call(this,e("YuTi")(R))},mdZa:function(R,I,e){"use strict";typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(f,b){"use strict";if(f==null)throw new TypeError("Cannot convert undefined or null to object");for(var m=Object(f),y=1;y<arguments.length;y++){var h=arguments[y];if(h!=null)for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(m[u]=h[u])}return m},writable:!0,configurable:!0}),function(){function g(f,b){b=b||{bubbles:!1,cancelable:!1,detail:void 0};var m=document.createEvent("CustomEvent");return m.initCustomEvent(f,b.bubbles,b.cancelable,b.detail),m}g.prototype=window.Event.prototype,typeof window.CustomEvent!="function"&&(window.CustomEvent=g)}(),Number.isInteger=Number.isInteger||function(f){return typeof f=="number"&&isFinite(f)&&Math.floor(f)===f}},mr32:function(R,I,e){"use strict";var g=e("lSNA"),f=e.n(g),b=e("pVnL"),m=e.n(b),y=e("J4zp"),h=e.n(y),u=e("q1tI"),i=e("TSYQ"),a=e.n(i),r=e("BGR+"),o=e("V/uB"),d=e.n(o),n=e("H84U"),l=function(_,v){var S={};for(var O in _)Object.prototype.hasOwnProperty.call(_,O)&&v.indexOf(O)<0&&(S[O]=_[O]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,O=Object.getOwnPropertySymbols(_);L<O.length;L++)v.indexOf(O[L])<0&&Object.prototype.propertyIsEnumerable.call(_,O[L])&&(S[O[L]]=_[O[L]]);return S},t=function(v){var S,O=u.useContext(n.b),L=O.getPrefixCls,M=function(k){var B=v.checked,V=v.onChange,K=v.onClick;V&&V(!B),K&&K(k)},F=v.prefixCls,U=v.className,z=v.checked,W=l(v,["prefixCls","className","checked"]),N=L("tag",F),H=a()(N,(S={},f()(S,"".concat(N,"-checkable"),!0),f()(S,"".concat(N,"-checkable-checked"),z),S),U);return delete W.onChange,u.createElement("span",m()({},W,{className:H,onClick:M}))},s=t,c=e("09Wf"),p=e("g0mS"),A=function(_,v){var S={};for(var O in _)Object.prototype.hasOwnProperty.call(_,O)&&v.indexOf(O)<0&&(S[O]=_[O]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,O=Object.getOwnPropertySymbols(_);L<O.length;L++)v.indexOf(O[L])<0&&Object.prototype.propertyIsEnumerable.call(_,O[L])&&(S[O[L]]=_[O[L]]);return S},w=new RegExp("^(".concat(c.a.join("|"),")(-inverse)?$")),C=new RegExp("^(".concat(c.b.join("|"),")$")),x=function(v,S){var O,L=v.prefixCls,M=v.className,F=v.style,U=v.children,z=v.icon,W=v.color,N=v.onClose,H=v.closeIcon,j=v.closable,k=j===void 0?!1:j,B=A(v,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),V=u.useContext(n.b),K=V.getPrefixCls,Y=V.direction,Q=u.useState(!0),he=h()(Q,2),G=he[0],ye=he[1];u.useEffect(function(){"visible"in B&&ye(B.visible)},[B.visible]);var Ae=function(){return W?w.test(W)||C.test(W):!1},ge=m()({backgroundColor:W&&!Ae()?W:void 0},F),Pe=Ae(),Re=K("tag",L),rt=a()(Re,(O={},f()(O,"".concat(Re,"-").concat(W),Pe),f()(O,"".concat(Re,"-has-color"),W&&!Pe),f()(O,"".concat(Re,"-hidden"),!G),f()(O,"".concat(Re,"-rtl"),Y==="rtl"),O),M),ne=function(oe){if(oe.stopPropagation(),N&&N(oe),oe.defaultPrevented)return;"visible"in B||ye(!1)},be=function(){return k?H?u.createElement("div",{className:"".concat(Re,"-close-icon"),onClick:ne},H):u.createElement(d.a,{className:"".concat(Re,"-close-icon"),onClick:ne}):null},at="onClick"in B||U&&U.type==="a",se=Object(r.default)(B,["visible"]),q=z||null,X=q?u.createElement(u.Fragment,null,q,u.createElement("span",null,U)):U,Z=u.createElement("span",m()({},se,{ref:S,className:rt,style:ge}),X,be());return at?u.createElement(p.a,null,Z):Z},E=u.forwardRef(x);E.displayName="Tag",E.CheckableTag=s;var T=I.a=E},mxV5:function(module,exports,__webpack_require__){(function(global){var require,require;(function(R){if(!0)module.exports=R();else var I})(function(){var define,module,exports;return function(){function R(I,e,g){function f(y,h){if(!e[y]){if(!I[y]){var u=typeof require=="function"&&require;if(!h&&u)return require(y,!0);if(b)return b(y,!0);var i=new Error("Cannot find module '"+y+"'");throw i.code="MODULE_NOT_FOUND",i}var a=e[y]={exports:{}};I[y][0].call(a.exports,function(r){var o=I[y][1][r];return f(o||r)},a,a.exports,R,I,e,g)}return e[y].exports}for(var b=typeof require=="function"&&require,m=0;m<g.length;m++)f(g[m]);return f}return R}()({1:[function(R,I,e){"use strict";var g=R("./browser/client");g.Buffer=R("buffer").Buffer,g.urllib=R("../shims/xhr"),g.version=R("./browser/version").version,I.exports=g},{"../shims/xhr":291,"./browser/client":2,"./browser/version":5,buffer:73}],2:[function(R,I,e){(function(g,f){"use strict";var b=R("babel-runtime/core-js/promise"),m=a(b),y=R("babel-runtime/regenerator"),h=a(y),u=R("babel-runtime/core-js/object/assign"),i=a(u);function a(z){return z&&z.__esModule?z:{default:z}}var r=R("debug")("ali-oss"),o=R("copy-to"),d=R("xml2js"),n=R("agentkeepalive"),l=R("merge-descriptors"),t=R("url"),s=R("is-type-of"),c=R("platform"),p=R("utility"),A=R("urllib"),w=R("./version"),C=R("bowser"),x=R("../common/signUtils"),E=R("../common/utils/isIP"),T=E.isIP,_=R("../common/client/initOptions"),v=R("../common/utils/createRequest"),S=v.createRequest,O=new n;function L(){var z=c.name,W=c.version;z&&z.toLowerCase&&z.toLowerCase()==="ie"&&W.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function M(){return location&&location.protocol==="https:"}function F(z,W){if(L(),!(this instanceof F))return new F(z,W);z&&z.inited?this.options=z:this.options=F.initOptions(z),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=A,this.agent=this.options.agent||O),this.ctx=W,this.userAgent=this._getUserAgent(),this.options.amendTimeSkewed=0}I.exports=F,F.initOptions=function(W){W.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var N=(0,i.default)({secure:M(),useFetch:!1},W);return _(N)};var U=F.prototype;U.debug=r,l(U,R("./object")),l(U,R("../common/bucket/getBucketWebsite")),l(U,R("../common/bucket/putBucketWebsite")),l(U,R("../common/bucket/deleteBucketWebsite")),l(U,R("../common/bucket/getBucketLifecycle")),l(U,R("../common/bucket/putBucketLifecycle")),l(U,R("../common/bucket/deleteBucketLifecycle")),l(U,R("../common/bucket/putBucketVersioning")),l(U,R("../common/bucket/getBucketVersioning")),l(U,R("./managed-upload")),l(U,R("../common/multipart")),l(U,R("../common/parallel")),U.signature=function(W){return this.debug("authorization stringToSign: %s",W,"info"),x.computeSignature(this.options.accessKeySecret,W)},U.authorization=function(W,N,H,j){var k=x.buildCanonicalString(W.toUpperCase(),N,{headers:j,parameters:H});return x.authorization(this.options.accessKeyId,this.options.accessKeySecret,k)},U.request=function(W){var N,H,j,k,B,V;return h.default.async(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return N=S.call(this,W),this.options.useFetch||(N.params.mode="disable-fetch"),H=void 0,j=void 0,k=!!W.stream,Y.prev=5,Y.next=8,h.default.awrap(this.urllib.request(N.url,N.params));case 8:H=Y.sent,this.debug("response %s %s, got %s, headers: %j",W.method,N.url,H.status,H.headers,"info"),Y.next=15;break;case 12:Y.prev=12,Y.t0=Y.catch(5),j=Y.t0;case 15:if(B=void 0,!(H&&W.successStatuses&&W.successStatuses.indexOf(H.status)===-1)){Y.next=28;break}return Y.next=19,h.default.awrap(this.requestError(H));case 19:if(B=Y.sent,!(B.code==="RequestTimeTooSkewed"&&!k)){Y.next=25;break}return this.options.amendTimeSkewed=+new Date(B.serverTime)-new Date,Y.next=24,h.default.awrap(this.request(W));case 24:return Y.abrupt("return",Y.sent);case 25:B.params=W,Y.next=32;break;case 28:if(!j){Y.next=32;break}return Y.next=31,h.default.awrap(this.requestError(j));case 31:B=Y.sent;case 32:if(!B){Y.next=34;break}throw B;case 34:if(!W.xmlResponse){Y.next=39;break}return Y.next=37,h.default.awrap(this.parseXML(H.data));case 37:V=Y.sent,H.data=V;case 39:return Y.abrupt("return",H);case 40:case"end":return Y.stop()}},null,this,[[5,12]])},U._getResource=function(W){var N="/";return W.bucket&&(N+=W.bucket+"/"),W.object&&(N+=W.object),N},U._isIP=T,U._escape=function(W){return p.encodeURIComponent(W).replace(/%2F/g,"/")},U._getReqUrl=function(W){var N={};o(this.options.endpoint).to(N);var H=this._isIP(N.hostname),j=this.options.cname;W.bucket&&!j&&!H&&(N.host=W.bucket+"."+N.host);var k="/";W.bucket&&H&&(k+=W.bucket+"/"),W.object&&(k+=this._escape(W.object).replace(/\+/g,"%2B")),N.pathname=k;var B={};if(W.query&&l(B,W.query),W.subres){var V={};s.string(W.subres)?V[W.subres]="":s.array(W.subres)?W.subres.forEach(function(K){V[K]=""}):V=W.subres,l(B,V)}return N.query=B,t.format(N)},U._getUserAgent=function(){var W=f&&f.browser?"js":"nodejs",N="aliyun-sdk-"+W+"/"+w.version,H=c.description;return!H&&f&&(H="Node.js "+f.version.slice(1)+" on "+f.platform+" "+f.arch),this._checkUserAgent(N+" "+H)},U._checkUserAgent=function(W){var N=W.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return N},U.checkBrowserAndVersion=function(W,N){return C.name===W&&C.version.split(".")[0]===N},U.parseXML=function(W){return new m.default(function(N,H){g.isBuffer(W)&&(W=W.toString()),d.parseString(W,{explicitRoot:!1,explicitArray:!1},function(j,k){j?H(j):N(k)})})},U.requestError=function(W){var N,H,j,k;return h.default.async(function(V){for(;;)switch(V.prev=V.next){case 0:if(N=null,!(!W.data||!W.data.length)){V.next=5;break}W.status===-1||W.status===-2?(N=new Error(W.message),N.name=W.name,N.status=W.status,N.code=W.name):(W.status===404?(N=new Error("Object not exists"),N.name="NoSuchKeyError",N.status=404,N.code="NoSuchKey"):W.status===412?(N=new Error("Pre condition failed"),N.name="PreconditionFailedError",N.status=412,N.code="PreconditionFailed"):(N=new Error("Unknow error, status: "+W.status),N.name="UnknowError",N.status=W.status),N.requestId=W.headers["x-oss-request-id"],N.host=""),V.next=33;break;case 5:return H=String(W.data),this.debug("request response error data: %s",H,"error"),j=void 0,V.prev=8,V.next=11,h.default.awrap(this.parseXML(H));case 11:if(V.t0=V.sent,V.t0){V.next=14;break}V.t0={};case 14:j=V.t0,V.next=24;break;case 17:return V.prev=17,V.t1=V.catch(8),this.debug(H,"error"),V.t1.message+=`
raw xml: `+H,V.t1.status=W.status,V.t1.requestId=W.headers["x-oss-request-id"],V.abrupt("return",V.t1);case 24:k=j.Message||"unknow request error, status: "+W.status,j.Condition&&(k+=" (condition: "+j.Condition+")"),N=new Error(k),N.name=j.Code?j.Code+"Error":"UnknowError",N.status=W.status,N.code=j.Code,N.requestId=j.RequestId,N.hostId=j.HostId,N.serverTime=j.ServerTime;case 33:return this.debug("generate error %j",N,"error"),V.abrupt("return",N);case 35:case"end":return V.stop()}},null,this,[[8,17]])}}).call(this,{isBuffer:R("../../node_modules/is-buffer/index.js")},R("_process"))},{"../../node_modules/is-buffer/index.js":197,"../common/bucket/deleteBucketLifecycle":6,"../common/bucket/deleteBucketWebsite":7,"../common/bucket/getBucketLifecycle":8,"../common/bucket/getBucketVersioning":9,"../common/bucket/getBucketWebsite":10,"../common/bucket/putBucketLifecycle":11,"../common/bucket/putBucketVersioning":12,"../common/bucket/putBucketWebsite":13,"../common/client/initOptions":15,"../common/multipart":18,"../common/parallel":33,"../common/signUtils":34,"../common/utils/createRequest":38,"../common/utils/isIP":45,"./managed-upload":3,"./object":4,"./version":5,_process:208,agentkeepalive:48,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68,bowser:70,"copy-to":76,debug:288,"is-type-of":289,"merge-descriptors":200,platform:206,url:238,urllib:291,utility:290,xml2js:249}],3:[function(R,I,e){(function(g){"use strict";var f=R("babel-runtime/core-js/array/from"),b=i(f),m=R("babel-runtime/core-js/promise"),y=i(m),h=R("babel-runtime/regenerator"),u=i(h);function i(x){return x&&x.__esModule?x:{default:x}}var a=R("is-type-of"),r=R("util"),o=R("path"),d=R("mime"),n=R("copy-to"),l=R("../common/utils/isBlob"),t=l.isBlob,s=R("../common/utils/isFile"),c=s.isFile,p=e;p.multipartUpload=function(E,T,_){var v,S,O,L,M,F,U,z,W;return u.default.async(function(H){for(;;)switch(H.prev=H.next){case 0:if(this.resetCancelFlag(),_=_||{},!(_.checkpoint&&_.checkpoint.uploadId)){H.next=6;break}return H.next=5,u.default.awrap(this._resumeMultipart(_.checkpoint,_));case 5:return H.abrupt("return",H.sent);case 6:return v=100*1024,_.mime||(c(T)?_.mime=d.getType(o.extname(T.name)):t(T)?_.mime=T.type:_.mime=d.getType(o.extname(T))),_.headers=_.headers||{},this._convertMetaToHeaders(_.meta,_.headers),H.next=12,u.default.awrap(this._getFileSize(T));case 12:if(S=H.sent,!(S<v)){H.next=25;break}return O=this._createStream(T,0,S),_.contentLength=S,H.next=18,u.default.awrap(this.putStream(E,O,_));case 18:if(L=H.sent,!(_&&_.progress)){H.next=22;break}return H.next=22,u.default.awrap(_.progress(1));case 22:return M={res:L.res,bucket:this.options.bucket,name:E,etag:L.res.headers.etag},(_.headers&&_.headers["x-oss-callback"]||_.callback)&&(M.data=L.data),H.abrupt("return",M);case 25:if(!(_.partSize&&!(parseInt(_.partSize,10)===_.partSize))){H.next=27;break}throw new Error("partSize must be int number");case 27:if(!(_.partSize&&_.partSize<v)){H.next=29;break}throw new Error("partSize must not be smaller than "+v);case 29:return H.next=31,u.default.awrap(this.initMultipartUpload(E,_));case 31:if(F=H.sent,U=F.uploadId,z=this._getPartSize(S,_.partSize),W={file:T,name:E,fileSize:S,partSize:z,uploadId:U,doneParts:[]},!(_&&_.progress)){H.next=38;break}return H.next=38,u.default.awrap(_.progress(0,W,F.res));case 38:return H.next=40,u.default.awrap(this._resumeMultipart(W,_));case 40:return H.abrupt("return",H.sent);case 41:case"end":return H.stop()}},null,this)},p._resumeMultipart=function(E,T){var _,v,S,O,L,M,F,U,z,W,N,H,j,k,B,V,K,Y;return u.default.async(function(he){for(;;)switch(he.prev=he.next){case 0:if(_=this,!this.isCancel()){he.next=3;break}throw this._makeCancelEvent();case 3:return v=E.file,S=E.fileSize,O=E.partSize,L=E.uploadId,M=E.doneParts,F=E.name,U=[],M.length>0&&n(M).to(U),z=this._divideParts(S,O),W=z.length,N=!1,H=function(ye,Ae){var ge=this;return new y.default(function(Re,rt){var ne,be,at,se;return u.default.async(function(X){for(;;)switch(X.prev=X.next){case 0:if(X.prev=0,ye.isCancel()){X.next=18;break}return ne=z[Ae-1],be={stream:ye._createStream(v,ne.start,ne.end),size:ne.end-ne.start},X.next=6,u.default.awrap(ye._uploadPart(F,L,Ae,be));case 6:if(at=X.sent,!(!ye.isCancel()&&!N)){X.next=15;break}if(E.doneParts.push({number:Ae,etag:at.res.headers.etag}),!T.progress){X.next=12;break}return X.next=12,u.default.awrap(T.progress(M.length/W,E,at.res));case 12:Re({number:Ae,etag:at.res.headers.etag}),X.next=16;break;case 15:Re();case 16:X.next=19;break;case 18:Re();case 19:X.next=30;break;case 21:X.prev=21,X.t0=X.catch(0),se=new Error,se.name=X.t0.name,se.message=X.t0.message,se.stack=X.t0.stack,se.partNum=Ae,n(X.t0).to(se),rt(se);case 30:case"end":return X.stop()}},null,ge,[[0,21]])})},j=(0,b.default)(new Array(W),function(G,ye){return ye+1}),k=U.map(function(G){return G.number}),B=j.filter(function(G){return k.indexOf(G)<0}),V=5,K=T.parallel||V,he.next=17,u.default.awrap(this._parallel(B,K,function(G){return new y.default(function(ye,Ae){H(_,G).then(function(ge){ge&&U.push(ge),ye()}).catch(function(ge){Ae(ge)})})}));case 17:if(Y=he.sent,N=!0,!this.isCancel()){he.next=22;break}throw H=null,this._makeCancelEvent();case 22:if(!(Y&&Y.length>0)){he.next=25;break}throw Y[0].message="Failed to upload some parts with error: "+Y[0].toString()+" part_num: "+Y[0].partNum,Y[0];case 25:return he.next=27,u.default.awrap(this.completeMultipartUpload(F,L,U,T));case 27:return he.abrupt("return",he.sent);case 28:case"end":return he.stop()}},null,this)},p._getFileSize=function(E){return u.default.async(function(_){for(;;)switch(_.prev=_.next){case 0:if(!a.buffer(E)){_.next=4;break}return _.abrupt("return",E.length);case 4:if(!(t(E)||c(E))){_.next=6;break}return _.abrupt("return",E.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return _.stop()}},null,this)};var A=R("stream"),w=A.Readable;function C(x,E){if(!(this instanceof C))return new C(x,E);w.call(this,E),this.file=x,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}r.inherits(C,w),C.prototype.readFileAndPush=function(E){if(this.fileBuffer)for(var T=!0;T&&this.fileBuffer&&this.start<this.fileBuffer.length;){var _=this.start,v=_+E;v=v>this.fileBuffer.length?this.fileBuffer.length:v,this.start=v,T=this.push(this.fileBuffer.slice(_,v))}},C.prototype._read=function(E){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var T=16*1024;E=E||T;var _=this;this.reader.onload=function(S){_.fileBuffer=g.from(new Uint8Array(S.target.result)),_.file=null,_.readFileAndPush(E)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(E)},p._createStream=function(E,T,_){if(t(E)||c(E))return new C(E.slice(T,_));throw new Error("_createStream requires File/Blob.")},p._getPartSize=function(E,T){var _=10*1e3,v=1024*1024;return T?Math.max(Math.ceil(E/_),T):v},p._divideParts=function(E,T){for(var _=Math.ceil(E/T),v=[],S=0;S<_;S++){var O=T*S,L=Math.min(O+T,E);v.push({start:O,end:L})}return v}}).call(this,R("buffer").Buffer)},{"../common/utils/isBlob":43,"../common/utils/isFile":44,"babel-runtime/core-js/array/from":52,"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68,buffer:73,"copy-to":76,"is-type-of":289,mime:202,path:205,stream:230,util:243}],4:[function(R,I,e){"use strict";var g=R("babel-runtime/core-js/promise"),f=a(g),b=R("babel-runtime/core-js/object/keys"),m=a(b),y=R("babel-runtime/core-js/object/assign"),h=a(y),u=R("babel-runtime/regenerator"),i=a(u);function a(_){return _&&_.__esModule?_:{default:_}}var r=R("utility"),o=R("fs"),d=R("is-type-of"),n=R("url"),l=R("copy-to"),t=R("path"),s=R("mime"),c=R("../common/callback"),p=R("../common/signUtils"),A=R("merge-descriptors"),w=R("../common/utils/isBlob"),C=w.isBlob,x=R("../common/utils/isFile"),E=x.isFile,T=e;T.append=function(v,S,O){var L;return i.default.async(function(F){for(;;)switch(F.prev=F.next){case 0:return O=O||{},O.position===void 0&&(O.position="0"),O.subres={append:"",position:O.position},O.method="POST",F.next=6,i.default.awrap(this.put(v,S,O));case 6:return L=F.sent,L.nextAppendPosition=L.res.headers["x-oss-next-append-position"],F.abrupt("return",L);case 9:case"end":return F.stop()}},null,this)},T.put=function(v,S,O){var L,M,F,U,z,W,N;return i.default.async(function(j){for(;;)switch(j.prev=j.next){case 0:if(L=void 0,O=O||{},v=this._objectName(v),!d.buffer(S)){j.next=7;break}L=S,j.next=33;break;case 7:if(!(C(S)||E(S))){j.next=32;break}return O.mime||(E(S)?O.mime=s.getType(t.extname(S.name)):O.mime=S.type),M=this._createStream(S,0,S.size),j.next=12,i.default.awrap(this._getFileSize(S));case 12:return O.contentLength=j.sent,j.prev=13,j.next=16,i.default.awrap(this.putStream(v,M,O));case 16:return F=j.sent,j.abrupt("return",F);case 20:if(j.prev=20,j.t0=j.catch(13),!(j.t0.code==="RequestTimeTooSkewed")){j.next=29;break}return this.options.amendTimeSkewed=+new Date(j.t0.serverTime)-new Date,j.next=26,i.default.awrap(this.put(v,S,O));case 26:return j.abrupt("return",j.sent);case 29:throw j.t0;case 30:j.next=33;break;case 32:throw new TypeError("Must provide Buffer/Blob/File for put.");case 33:return O.headers=O.headers||{},this._convertMetaToHeaders(O.meta,O.headers),U=O.method||"PUT",z=this._objectRequestParams(U,v,O),c.encodeCallback(z,O),z.mime=O.mime,z.content=L,z.successStatuses=[200],j.next=43,i.default.awrap(this.request(z));case 43:return W=j.sent,N={name:v,url:this._objectUrl(v),res:W.res},z.headers&&z.headers["x-oss-callback"]&&(N.data=JSON.parse(W.data.toString())),j.abrupt("return",N);case 47:case"end":return j.stop()}},null,this,[[13,20]])},T.putStream=function(v,S,O){var L,M,F,U;return i.default.async(function(W){for(;;)switch(W.prev=W.next){case 0:return O=O||{},O.headers=O.headers||{},v=this._objectName(v),O.contentLength?O.headers["Content-Length"]=O.contentLength:O.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(O.meta,O.headers),L=O.method||"PUT",M=this._objectRequestParams(L,v,O),c.encodeCallback(M,O),M.mime=O.mime,M.stream=S,M.successStatuses=[200],W.next=13,i.default.awrap(this.request(M));case 13:return F=W.sent,U={name:v,url:this._objectUrl(v),res:F.res},M.headers&&M.headers["x-oss-callback"]&&(U.data=JSON.parse(F.data.toString())),W.abrupt("return",U);case 17:case"end":return W.stop()}},null,this)},A(T,R("../common/object/copyObject")),A(T,R("../common/object/getObjectTagging")),A(T,R("../common/object/putObjectTagging")),A(T,R("../common/object/deleteObjectTagging")),A(T,R("../common/image")),A(T,R("../common/object/getBucketVersions")),A(T,R("../common/object/getACL")),A(T,R("../common/object/putACL")),A(T,R("../common/object/head")),A(T,R("../common/object/delete")),A(T,R("../common/object/get")),A(T,R("../common/object/putSymlink")),A(T,R("../common/object/getSymlink")),A(T,R("../common/object/deleteMulti")),A(T,R("../common/object/getObjectMeta")),T.putMeta=function(v,S,O){var L;return i.default.async(function(F){for(;;)switch(F.prev=F.next){case 0:return F.next=2,i.default.awrap(this.copy(v,v,{meta:S||{},timeout:O&&O.timeout,ctx:O&&O.ctx}));case 2:return L=F.sent,F.abrupt("return",L);case 4:case"end":return F.stop()}},null,this)},T.list=function(v,S){var O,L,M,F,U;return i.default.async(function(W){for(;;)switch(W.prev=W.next){case 0:return O=this._objectRequestParams("GET","",S),O.query=v,O.xmlResponse=!0,O.successStatuses=[200],W.next=6,i.default.awrap(this.request(O));case 6:return L=W.sent,M=L.data.Contents,F=this,M&&(Array.isArray(M)||(M=[M]),M=M.map(function(N){return{name:N.Key,url:F._objectUrl(N.Key),lastModified:N.LastModified,etag:N.ETag,type:N.Type,size:Number(N.Size),storageClass:N.StorageClass,owner:{id:N.Owner.ID,displayName:N.Owner.DisplayName}}})),U=L.data.CommonPrefixes||null,U&&(Array.isArray(U)||(U=[U]),U=U.map(function(N){return N.Prefix})),W.abrupt("return",{res:L.res,objects:M,prefixes:U,nextMarker:L.data.NextMarker||null,isTruncated:L.data.IsTruncated==="true"});case 13:case"end":return W.stop()}},null,this)},T.restore=function(v,S){var O,L;return i.default.async(function(F){for(;;)switch(F.prev=F.next){case 0:return S=S||{},S.subres=(0,h.default)({restore:""},S.subres),S.versionId&&(S.subres.versionId=S.versionId),O=this._objectRequestParams("POST",v,S),O.successStatuses=[202],F.next=7,i.default.awrap(this.request(O));case 7:return L=F.sent,F.abrupt("return",{res:L.res});case 9:case"end":return F.stop()}},null,this)},T.signatureUrl=function(v,S){S=S||{},v=this._objectName(v),S.method=S.method||"GET";var O=r.timestamp()+(S.expires||1800),L={bucket:this.options.bucket,object:v},M=this._getResource(L);this.options.stsToken&&(S["security-token"]=this.options.stsToken);var F=p._signatureForURL(this.options.accessKeySecret,S,M,O),U=n.parse(this._getReqUrl(L));return U.query={OSSAccessKeyId:this.options.accessKeyId,Expires:O,Signature:F.Signature},l(F.subResource).to(U.query),U.format()},T.getObjectUrl=function(v,S){return S?S[S.length-1]!=="/"&&(S+="/"):S=this.options.endpoint.format(),S+this._escape(this._objectName(v))},T._objectUrl=function(v){return this._getReqUrl({bucket:this.options.bucket,object:v})},T.generateObjectUrl=function(_,v){if(v)v[v.length-1]!=="/"&&(v+="/");else{v=this.options.endpoint.format();var S=n.parse(v),O=this.options.bucket;S.hostname=O+"."+S.hostname,S.host=O+"."+S.host,v=S.format()}return v+this._escape(this._objectName(_))},T._objectRequestParams=function(v,S,O){if(!this.options.bucket)throw new Error("Please create a bucket first");O=O||{},S=this._objectName(S);var L={object:S,bucket:this.options.bucket,method:v,subres:O&&O.subres,timeout:O&&O.timeout,ctx:O&&O.ctx};return O.headers&&(L.headers={},l(O.headers).to(L.headers)),L},T._objectName=function(v){return v.replace(/^\/+/,"")},T._convertMetaToHeaders=function(v,S){if(!v)return;(0,m.default)(v).forEach(function(O){S["x-oss-meta-"+O]=v[O]})},T._deleteFileSafe=function(v){var S=this;return new f.default(function(O){o.exists(v,function(L){L?o.unlink(v,function(M){M&&S.debug("unlink %j error: %s",v,M,"error"),O()}):O()})})}},{"../common/callback":14,"../common/image":16,"../common/object/copyObject":19,"../common/object/delete":20,"../common/object/deleteMulti":21,"../common/object/deleteObjectTagging":22,"../common/object/get":23,"../common/object/getACL":24,"../common/object/getBucketVersions":25,"../common/object/getObjectMeta":26,"../common/object/getObjectTagging":27,"../common/object/getSymlink":28,"../common/object/head":29,"../common/object/putACL":30,"../common/object/putObjectTagging":31,"../common/object/putSymlink":32,"../common/signUtils":34,"../common/utils/isBlob":43,"../common/utils/isFile":44,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68,"copy-to":76,fs:71,"is-type-of":289,"merge-descriptors":200,mime:202,path:205,url:238,utility:290}],5:[function(R,I,e){"use strict";e.version="6.10.0"},{}],6:[function(R,I,e){"use strict";var g=R("babel-runtime/regenerator"),f=b(g);function b(u){return u&&u.__esModule?u:{default:u}}var m=R("../utils/checkBucketName"),y=m.checkBucketName,h=e;h.deleteBucketLifecycle=function(i,a){var r,o;return f.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return y(i),r=this._bucketRequestParams("DELETE",i,"lifecycle",a),r.successStatuses=[204],n.next=5,f.default.awrap(this.request(r));case 5:return o=n.sent,n.abrupt("return",{res:o.res});case 7:case"end":return n.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],7:[function(R,I,e){"use strict";var g=R("babel-runtime/regenerator"),f=b(g);function b(u){return u&&u.__esModule?u:{default:u}}var m=R("../utils/checkBucketName"),y=m.checkBucketName,h=e;h.deleteBucketWebsite=function(i,a){var r,o;return f.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return y(i),r=this._bucketRequestParams("DELETE",i,"website",a),r.successStatuses=[204],n.next=5,f.default.awrap(this.request(r));case 5:return o=n.sent,n.abrupt("return",{res:o.res});case 7:case"end":return n.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],8:[function(R,I,e){"use strict";var g=R("babel-runtime/regenerator"),f=b(g);function b(o){return o&&o.__esModule?o:{default:o}}var m=R("../utils/checkBucketName"),y=m.checkBucketName,h=R("../utils/isArray"),u=h.isArray,i=R("../utils/formatObjKey"),a=i.formatObjKey,r=e;r.getBucketLifecycle=function(d,n){var l,t,s;return f.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:return y(d),l=this._bucketRequestParams("GET",d,"lifecycle",n),l.successStatuses=[200],l.xmlResponse=!0,p.next=6,f.default.awrap(this.request(l));case 6:return t=p.sent,s=t.data.Rule||null,s&&(u(s)||(s=[s]),s=s.map(function(A){return A.ID&&(A.id=A.ID,delete A.ID),A.Tag&&!u(A.Tag)&&(A.Tag=[A.Tag]),a(A,"firstLowerCase")})),p.abrupt("return",{rules:s,res:t.res});case 10:case"end":return p.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/formatObjKey":40,"../utils/isArray":42,"babel-runtime/regenerator":68}],9:[function(R,I,e){"use strict";var g=R("babel-runtime/regenerator"),f=b(g);function b(u){return u&&u.__esModule?u:{default:u}}var m=R("../utils/checkBucketName"),y=m.checkBucketName,h=e;h.getBucketVersioning=function(i,a){var r,o,d;return f.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return y(i),r=this._bucketRequestParams("GET",i,"versioning",a),r.xmlResponse=!0,r.successStatuses=[200],l.next=6,f.default.awrap(this.request(r));case 6:return o=l.sent,d=o.data.Status,l.abrupt("return",{status:o.status,versionStatus:d,res:o.res});case 9:case"end":return l.stop()}},null,this)}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68}],10:[function(R,I,e){"use strict";var g=R("babel-runtime/regenerator"),f=b(g);function b(a){return a&&a.__esModule?a:{default:a}}var m=R("../utils/checkBucketName"),y=m.checkBucketName,h=R("../utils/isObject"),u=h.isObject,i=e;i.getBucketWebsite=function(r,o){var d,n,l;return f.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return y(r),d=this._bucketRequestParams("GET",r,"website",o),d.successStatuses=[200],d.xmlResponse=!0,s.next=6,f.default.awrap(this.request(d));case 6:return n=s.sent,l=[],n.data.RoutingRules&&n.data.RoutingRules.RoutingRule&&(u(n.data.RoutingRules.RoutingRule)?l=[n.data.RoutingRules.RoutingRule]:l=n.data.RoutingRules.RoutingRule),s.abrupt("return",{index:n.data.IndexDocument&&n.data.IndexDocument.Suffix||"",supportSubDir:n.data.IndexDocument&&n.data.IndexDocument.SupportSubDir||"false",type:n.data.IndexDocument&&n.data.IndexDocument.Type,routingRules:l,error:n.data.ErrorDocument&&n.data.ErrorDocument.Key||null,res:n.res});case 10:case"end":return s.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isObject":46,"babel-runtime/regenerator":68}],11:[function(R,I,e){"use strict";var g=R("babel-runtime/regenerator"),f=b(g);function b(E){return E&&E.__esModule?E:{default:E}}var m=R("../utils/checkBucketName"),y=m.checkBucketName,h=R("../utils/isArray"),u=h.isArray,i=R("../utils/deepCopy"),a=i.deepCopy,r=R("../utils/isObject"),o=r.isObject,d=R("../utils/obj2xml"),n=d.obj2xml,l=R("../utils/checkObjectTag"),t=l.checkObjectTag,s=R("../utils/getStrBytesCount"),c=s.getStrBytesCount,p=e;p.putBucketLifecycle=function(T,_,v){var S,O,L,M,F;return f.default.async(function(z){for(;;)switch(z.prev=z.next){case 0:if(y(T),u(_)){z.next=3;break}throw new Error("rules must be Array");case 3:return S=this._bucketRequestParams("PUT",T,"lifecycle",v),O=[],L={LifecycleConfiguration:{Rule:O}},_.forEach(function(W){A(W),x(W),W.id&&(W.ID=W.id,delete W.id),O.push(W)}),M=n(L,{headers:!0,firstUpperCase:!0}),S.content=M,S.mime="xml",S.successStatuses=[200],z.next=13,f.default.awrap(this.request(S));case 13:return F=z.sent,z.abrupt("return",{res:F.res});case 15:case"end":return z.stop()}},null,this)};function A(E){E.days&&(E.expiration={days:E.days}),E.date&&(E.expiration={createdBeforeDate:E.date})}function w(E,T){var _=E.days,v=E.createdBeforeDate;if(!_&&!v)throw new Error(T+" must includes days or createdBeforeDate");if(_&&!/^[1-9][0-9]*$/.test(_))throw new Error("days must be a positive integer");if(v&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(v))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function C(E){if(!u(E)&&!o(E))throw new Error("tag must be Object or Array");E=o(E)?[E]:E;var T={},_=a(E);_.forEach(function(v){T[v.key]=v.value}),t(T)}function x(E){if(E.id&&c(E.id)>255)throw new Error("ID is composed of 255 bytes at most");if(E.prefix===""||E.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(E.status))throw new Error("Status must be Enabled or Disabled");if(E.transition){if(!["IA","Archive"].includes(E.transition.storageClass))throw new Error("StorageClass must be IA or Archive");w(E.transition,"Transition")}if(E.expiration){if(!E.expiration.expiredObjectDeleteMarker)w(E.expiration,"Expiration");else if(E.expiration.days||E.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(E.abortMultipartUpload&&w(E.abortMultipartUpload,"AbortMultipartUpload"),!E.expiration&&!E.abortMultipartUpload&&!E.transition&&!E.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(E.tag){if(E.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");C(E.tag)}}},{"../utils/checkBucketName":35,"../utils/checkObjectTag":36,"../utils/deepCopy":39,"../utils/getStrBytesCount":41,"../utils/isArray":42,"../utils/isObject":46,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],12:[function(R,I,e){"use strict";var g=R("babel-runtime/regenerator"),f=b(g);function b(a){return a&&a.__esModule?a:{default:a}}var m=R("../utils/checkBucketName"),y=m.checkBucketName,h=R("../utils/obj2xml"),u=h.obj2xml,i=e;i.putBucketVersioning=function(r,o){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n,l,t;return f.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:if(y(r),["Enabled","Suspended"].includes(o)){c.next=3;break}throw new Error("status must be Enabled or Suspended");case 3:return n=this._bucketRequestParams("PUT",r,"versioning",d),l={VersioningConfiguration:{Status:o}},n.mime="xml",n.content=u(l,{headers:!0}),c.next=9,f.default.awrap(this.request(n));case 9:return t=c.sent,c.abrupt("return",{res:t.res,status:t.status});case 11:case"end":return c.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],13:[function(R,I,e){"use strict";var g=R("babel-runtime/regenerator"),f=b(g);function b(o){return o&&o.__esModule?o:{default:o}}var m=R("../utils/checkBucketName"),y=m.checkBucketName,h=R("../utils/obj2xml"),u=h.obj2xml,i=R("../utils/isArray"),a=i.isArray,r=e;r.putBucketWebsite=function(d){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments[2],t,s,c,p,A;return f.default.async(function(C){for(;;)switch(C.prev=C.next){case 0:if(y(d),t=this._bucketRequestParams("PUT",d,"website",l),s={Suffix:n.index||"index.html"},c={IndexDocument:s},p={WebsiteConfiguration:c},n.supportSubDir&&(s.SupportSubDir=n.supportSubDir),n.type&&(s.Type=n.type),n.error&&(c.ErrorDocument={Key:n.error}),!(n.routingRules!==void 0)){C.next=12;break}if(a(n.routingRules)){C.next=11;break}throw new Error("RoutingRules must be Array");case 11:c.RoutingRules={RoutingRule:n.routingRules};case 12:return p=u(p),t.content=p,t.mime="xml",t.successStatuses=[200],C.next=18,f.default.awrap(this.request(t));case 18:return A=C.sent,C.abrupt("return",{res:A.res});case 20:case"end":return C.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isArray":42,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],14:[function(R,I,e){(function(g){"use strict";var f=R("babel-runtime/core-js/object/keys"),b=h(f),m=R("babel-runtime/core-js/json/stringify"),y=h(m);function h(u){return u&&u.__esModule?u:{default:u}}e.encodeCallback=function(i,a){if(i.headers=i.headers||{},!Object.prototype.hasOwnProperty.call(i.headers,"x-oss-callback")&&a.callback){var r={callbackUrl:encodeURI(a.callback.url),callbackBody:a.callback.body};a.callback.host&&(r.callbackHost=a.callback.host),a.callback.contentType&&(r.callbackBodyType=a.callback.contentType);var o=g.from((0,y.default)(r)).toString("base64");if(i.headers["x-oss-callback"]=o,a.callback.customValue){var d={};(0,b.default)(a.callback.customValue).forEach(function(n){d["x:"+n]=a.callback.customValue[n]}),i.headers["x-oss-callback-var"]=g.from((0,y.default)(d)).toString("base64")}}}}).call(this,R("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73}],15:[function(R,I,e){"use strict";var g=R("babel-runtime/core-js/object/assign"),f=b(g);function b(r){return r&&r.__esModule?r:{default:r}}var m=R("humanize-ms"),y=R("url"),h=R("../utils/checkBucketName"),u=h.checkBucketName;function i(r,o){var d=y.parse(r);if(d.protocol||(d=y.parse("http"+(o?"s":"")+"://"+r)),d.protocol!=="http:"&&d.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return d}function a(r,o,d){var n=d?"https://":"http://",l=o?"-internal.aliyuncs.com":".aliyuncs.com",t="vpc100-oss-cn-";return r.substr(0,t.length)===t&&(l=".aliyuncs.com"),y.parse(n+r+l)}I.exports=function(r){if(!r||!r.accessKeyId||!r.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");r.bucket&&u(r.bucket);var o=(0,f.default)({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1},r);if(o.accessKeyId=o.accessKeyId.trim(),o.accessKeySecret=o.accessKeySecret.trim(),o.timeout&&(o.timeout=m(o.timeout)),o.endpoint)o.endpoint=i(o.endpoint,o.secure);else if(o.region)o.endpoint=a(o.region,o.internal,o.secure);else throw new Error("require options.endpoint or options.region");return o.inited=!0,o}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/assign":54,"humanize-ms":194,url:238}],16:[function(R,I,e){"use strict";var g=R("merge-descriptors"),f=e;g(f,R("./processObjectSave"))},{"./processObjectSave":17,"merge-descriptors":200}],17:[function(R,I,e){"use strict";var g=R("babel-runtime/regenerator"),f=b(g);function b(o){return o&&o.__esModule?o:{default:o}}var m=R("../utils/checkBucketName"),y=m.checkBucketName,h=R("querystring"),u=R("js-base64"),i=u.Base64.encode,a=e;a.processObjectSave=function(d,n,l,t){var s,c,p,A;return f.default.async(function(C){for(;;)switch(C.prev=C.next){case 0:return r(d,"sourceObject"),r(n,"targetObject"),r(l,"process"),n=this._objectName(n),t&&y(t),s=this._objectRequestParams("POST",d,{subres:"x-oss-process"}),c=t?",b_"+i(t):"",n=i(n),p={"x-oss-process":l+"|sys/saveas,o_"+n+c},s.content=h.stringify(p),C.next=12,f.default.awrap(this.request(s));case 12:return A=C.sent,C.abrupt("return",{res:A.res,status:A.res.status});case 14:case"end":return C.stop()}},null,this)};function r(o,d){if(!o)throw new Error(d+" is required");if(typeof o!="string")throw new Error(d+" must be String")}},{"../utils/checkBucketName":35,"babel-runtime/regenerator":68,"js-base64":199,querystring:212}],18:[function(R,I,e){"use strict";var g=R("babel-runtime/regenerator"),f=b(g);function b(a){return a&&a.__esModule?a:{default:a}}var m=R("copy-to"),y=R("./callback"),h=R("./utils/deepCopy"),u=h.deepCopy,i=e;i.listUploads=function(r,o){var d,n,l,t;return f.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return o=o||{},d={},m(o).to(d),d.subres="uploads",n=this._objectRequestParams("GET","",d),n.query=r,n.xmlResponse=!0,n.successStatuses=[200],c.next=10,f.default.awrap(this.request(n));case 10:return l=c.sent,t=l.data.Upload||[],Array.isArray(t)||(t=[t]),t=t.map(function(p){return{name:p.Key,uploadId:p.UploadId,initiated:p.Initiated}}),c.abrupt("return",{res:l.res,uploads:t,bucket:l.data.Bucket,nextKeyMarker:l.data.NextKeyMarker,nextUploadIdMarker:l.data.NextUploadIdMarker,isTruncated:l.data.IsTruncated==="true"});case 15:case"end":return c.stop()}},null,this)},i.listParts=function(r,o,d,n){var l,t,s;return f.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:return n=n||{},l={},m(n).to(l),l.subres={uploadId:o},t=this._objectRequestParams("GET",r,l),t.query=d,t.xmlResponse=!0,t.successStatuses=[200],p.next=10,f.default.awrap(this.request(t));case 10:return s=p.sent,p.abrupt("return",{res:s.res,uploadId:s.data.UploadId,bucket:s.data.Bucket,name:s.data.Key,partNumberMarker:s.data.PartNumberMarker,nextPartNumberMarker:s.data.NextPartNumberMarker,maxParts:s.data.MaxParts,isTruncated:s.data.IsTruncated,parts:s.data.Part||[]});case 12:case"end":return p.stop()}},null,this)},i.abortMultipartUpload=function(r,o,d){var n,l,t;return f.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return this._stop(),d=d||{},n={},m(d).to(n),n.subres={uploadId:o},l=this._objectRequestParams("DELETE",r,n),l.successStatuses=[204],c.next=9,f.default.awrap(this.request(l));case 9:return t=c.sent,c.abrupt("return",{res:t.res});case 11:case"end":return c.stop()}},null,this)},i.initMultipartUpload=function(r,o){var d,n,l;return f.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return o=o||{},d={},m(o).to(d),d.headers=d.headers||{},this._convertMetaToHeaders(o.meta,d.headers),d.subres="uploads",n=this._objectRequestParams("POST",r,d),n.mime=o.mime,n.xmlResponse=!0,n.successStatuses=[200],s.next=12,f.default.awrap(this.request(n));case 12:return l=s.sent,s.abrupt("return",{res:l.res,bucket:l.data.Bucket,name:l.data.Key,uploadId:l.data.UploadId});case 14:case"end":return s.stop()}},null,this)},i.uploadPart=function(r,o,d,n,l,t,s){var c;return f.default.async(function(A){for(;;)switch(A.prev=A.next){case 0:return c={stream:this._createStream(n,l,t),size:t-l},A.next=3,f.default.awrap(this._uploadPart(r,o,d,c,s));case 3:return A.abrupt("return",A.sent);case 4:case"end":return A.stop()}},null,this)},i.completeMultipartUpload=function(r,o,d,n){var l,t,s,c,p,A,w,C;return f.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:for(l=d.concat().sort(function(T,_){return T.number-_.number}).filter(function(T,_,v){return!_||T.number!==v[_-1].number}),t=`<?xml version="1.0" encoding="UTF-8"?>
<CompleteMultipartUpload>
`,s=0;s<l.length;s++)c=l[s],t+=`<Part>
`,t+="<PartNumber>"+c.number+`</PartNumber>
`,t+="<ETag>"+c.etag+`</ETag>
`,t+=`</Part>
`;return t+="</CompleteMultipartUpload>",n=n||{},p={},p=u(n),p.headers&&delete p.headers["x-oss-server-side-encryption"],p.subres={uploadId:o},A=this._objectRequestParams("POST",r,p),y.encodeCallback(A,p),A.mime="xml",A.content=t,A.headers&&A.headers["x-oss-callback"]||(A.xmlResponse=!0),A.successStatuses=[200],E.next=17,f.default.awrap(this.request(A));case 17:return w=E.sent,C={res:w.res,bucket:A.bucket,name:r,etag:w.res.headers.etag},A.headers&&A.headers["x-oss-callback"]&&(C.data=JSON.parse(w.data.toString())),E.abrupt("return",C);case 21:case"end":return E.stop()}},null,this)},i._uploadPart=function(r,o,d,n,l){var t,s,c;return f.default.async(function(A){for(;;)switch(A.prev=A.next){case 0:return l=l||{},t={},m(l).to(t),t.headers={"Content-Length":n.size},t.subres={partNumber:d,uploadId:o},s=this._objectRequestParams("PUT",r,t),s.mime=t.mime,s.stream=n.stream,s.successStatuses=[200],A.next=11,f.default.awrap(this.request(s));case 11:if(c=A.sent,c.res.headers.etag){A.next=14;break}throw new Error(`Please set the etag of expose-headers in OSS
https://help.aliyun.com/document_detail/32069.html`);case 14:return n.stream=null,s.stream=null,A.abrupt("return",{name:r,etag:c.res.headers.etag,res:c.res});case 17:case"end":return A.stop()}},null,this)}},{"./callback":14,"./utils/deepCopy":39,"babel-runtime/regenerator":68,"copy-to":76}],19:[function(R,I,e){"use strict";var g=R("babel-runtime/regenerator"),f=u(g),b=R("babel-runtime/core-js/object/keys"),m=u(b),y=R("babel-runtime/helpers/typeof"),h=u(y);function u(o){return o&&o.__esModule?o:{default:o}}var i=R("../utils/checkBucketName"),a=i.checkBucketName,r=e;r.copy=function(d,n,l,t){var s,c,p;return f.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:return(typeof l=="undefined"?"undefined":(0,h.default)(l))==="object"&&(t=l),t=t||{},t.headers=t.headers||{},(0,m.default)(t.headers).forEach(function(C){t.headers["x-oss-copy-source-"+C.toLowerCase()]=t.headers[C]}),t.meta&&(t.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(t.meta,t.headers),n=this._getSourceName(n,l),t.versionId&&(n=n+"?versionId="+t.versionId),t.headers["x-oss-copy-source"]=n,s=this._objectRequestParams("PUT",d,t),s.xmlResponse=!0,s.successStatuses=[200,304],w.next=14,f.default.awrap(this.request(s));case 14:return c=w.sent,p=c.data,p&&(p={etag:p.ETag,lastModified:p.LastModified}),w.abrupt("return",{data:p,res:c.res});case 18:case"end":return w.stop()}},null,this)},r._getSourceName=function(d,n){return typeof n=="string"?d=this._objectName(d):d[0]!=="/"?n=this.options.bucket:(n=d.replace(/\/(.+?)(\/.*)/,"$1"),d=d.replace(/(\/.+?\/)(.*)/,"$2")),a(n),d=encodeURI(d),d="/"+n+"/"+d,d}},{"../utils/checkBucketName":35,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,"babel-runtime/regenerator":68}],20:[function(R,I,e){"use strict";var g=R("babel-runtime/regenerator"),f=y(g),b=R("babel-runtime/core-js/object/assign"),m=y(b);function y(u){return u&&u.__esModule?u:{default:u}}var h=e;h.delete=function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,o;return f.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return a.subres=(0,m.default)({},a.subres),a.versionId&&(a.subres.versionId=a.versionId),r=this._objectRequestParams("DELETE",i,a),r.successStatuses=[204],n.next=6,f.default.awrap(this.request(r));case 6:return o=n.sent,n.abrupt("return",{res:o.res});case 8:case"end":return n.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],21:[function(R,I,e){"use strict";var g=R("babel-runtime/regenerator"),f=y(g),b=R("babel-runtime/core-js/object/assign"),m=y(b);function y(r){return r&&r.__esModule?r:{default:r}}var h=R("utility"),u=R("../utils/obj2xml"),i=u.obj2xml,a=e;a.deleteMulti=function(o){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,l,t,s,c,p,A,w,C,x,E,T;return f.default.async(function(v){for(;;)switch(v.prev=v.next){case 0:if(n=[],!(!o||!o.length)){v.next=3;break}throw new Error("names is required");case 3:for(l=0;l<o.length;l++)t={},typeof o[l]=="string"?t.Key=h.escape(this._objectName(o[l])):(s=o[l],c=s.key,p=s.versionId,t.Key=h.escape(this._objectName(c)),t.VersionId=p),n.push(t);return A={Delete:{Quiet:!!d.quiet,Object:n}},w=i(A,{headers:!0}),d.subres=(0,m.default)({delete:""},d.subres),d.versionId&&(d.subres.versionId=d.versionId),C=this._objectRequestParams("POST","",d),C.mime="xml",C.content=w,C.xmlResponse=!0,C.successStatuses=[200],v.next=15,f.default.awrap(this.request(C));case 15:return x=v.sent,E=x.data,T=E&&E.Deleted||null,T&&(Array.isArray(T)||(T=[T])),v.abrupt("return",{res:x.res,deleted:T||[]});case 20:case"end":return v.stop()}},null,this)}},{"../utils/obj2xml":47,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,utility:290}],22:[function(R,I,e){"use strict";var g=R("babel-runtime/regenerator"),f=y(g),b=R("babel-runtime/core-js/object/assign"),m=y(b);function y(u){return u&&u.__esModule?u:{default:u}}var h=e;h.deleteObjectTagging=function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,o;return f.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return a.subres=(0,m.default)({tagging:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),i=this._objectName(i),r=this._objectRequestParams("DELETE",i,a),r.successStatuses=[204],n.next=7,f.default.awrap(this.request(r));case 7:return o=n.sent,n.abrupt("return",{status:o.status,res:o.res});case 9:case"end":return n.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],23:[function(R,I,e){"use strict";var g=R("babel-runtime/regenerator"),f=y(g),b=R("babel-runtime/core-js/object/assign"),m=y(b);function y(a){return a&&a.__esModule?a:{default:a}}var h=R("fs"),u=R("is-type-of"),i=e;i.get=function(r,o){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n,l,t,s;return f.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:return n=null,l=!1,u.writableStream(o)?n=o:u.string(o)?(n=h.createWriteStream(o),l=!0):d=o,d=d||{},d.subres=(0,m.default)({},d.subres),d.versionId&&(d.subres.versionId=d.versionId),d.process&&(d.subres["x-oss-process"]=d.process),t=void 0,p.prev=8,s=this._objectRequestParams("GET",r,d),s.writeStream=n,s.successStatuses=[200,206,304],p.next=14,f.default.awrap(this.request(s));case 14:t=p.sent,l&&n.destroy(),p.next=25;break;case 18:if(p.prev=18,p.t0=p.catch(8),!l){p.next=24;break}return n.destroy(),p.next=24,f.default.awrap(this._deleteFileSafe(o));case 24:throw p.t0;case 25:return p.abrupt("return",{res:t.res,content:t.data});case 26:case"end":return p.stop()}},null,this,[[8,18]])}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,fs:71,"is-type-of":289}],24:[function(R,I,e){"use strict";var g=R("babel-runtime/regenerator"),f=y(g),b=R("babel-runtime/core-js/object/assign"),m=y(b);function y(u){return u&&u.__esModule?u:{default:u}}var h=e;h.getACL=function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,o;return f.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return a.subres=(0,m.default)({acl:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),i=this._objectName(i),r=this._objectRequestParams("GET",i,a),r.successStatuses=[200],r.xmlResponse=!0,n.next=8,f.default.awrap(this.request(r));case 8:return o=n.sent,n.abrupt("return",{acl:o.data.AccessControlList.Grant,owner:{id:o.data.Owner.ID,displayName:o.data.Owner.DisplayName},res:o.res});case 10:case"end":return n.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],25:[function(R,I,e){"use strict";var g=R("babel-runtime/core-js/object/keys"),f=u(g),b=R("babel-runtime/regenerator"),m=u(b),y=R("babel-runtime/core-js/object/assign"),h=u(y);function u(s){return s&&s.__esModule?s:{default:s}}var i=e,a=R("../utils/isObject"),r=a.isObject,o=R("../utils/isArray"),d=o.isArray;i.getBucketVersions=n,i.listObjectVersions=n;function n(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},p,A,w,C,x,E;return m.default.async(function(_){for(;;)switch(_.prev=_.next){case 0:if(!(s.versionIdMarker&&s.keyMarker===void 0)){_.next=2;break}throw new Error("A version-id marker cannot be specified without a key marker");case 2:return c.subres=(0,h.default)({versions:""},c.subres),c.versionId&&(c.subres.versionId=c.versionId),p=this._objectRequestParams("GET","",c),p.xmlResponse=!0,p.successStatuses=[200],p.query=t(s),_.next=10,m.default.awrap(this.request(p));case 10:return A=_.sent,w=A.data.Version||[],C=A.data.DeleteMarker||[],x=this,w&&(Array.isArray(w)||(w=[w]),w=w.map(function(v){return{name:v.Key,url:x._objectUrl(v.Key),lastModified:v.LastModified,isLatest:v.IsLatest==="true",versionId:v.VersionId,etag:v.ETag,type:v.Type,size:Number(v.Size),storageClass:v.StorageClass,owner:{id:v.Owner.ID,displayName:v.Owner.DisplayName}}})),C&&(d(C)||(C=[C]),C=C.map(function(v){return{name:v.Key,lastModified:v.LastModified,versionId:v.VersionId,owner:{id:v.Owner.ID,displayName:v.Owner.DisplayName}}})),E=A.data.CommonPrefixes||null,E&&(d(E)||(E=[E]),E=E.map(function(v){return v.Prefix})),_.abrupt("return",{res:A.res,objects:w,deleteMarker:C,prefixes:E,nextMarker:A.data.NextMarker||null,NextVersionIdMarker:A.data.NextVersionIdMarker||null,isTruncated:A.data.IsTruncated==="true"});case 19:case"end":return _.stop()}},null,this)}function l(s){return s.replace(/([A-Z])/g,"-$1").toLowerCase()}function t(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c={};return r(s)&&(0,f.default)(s).forEach(function(p){c[l(p)]=s[p]}),c}},{"../utils/isArray":42,"../utils/isObject":46,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],26:[function(R,I,e){"use strict";var g=R("babel-runtime/regenerator"),f=y(g),b=R("babel-runtime/core-js/object/assign"),m=y(b);function y(u){return u&&u.__esModule?u:{default:u}}var h=e;h.getObjectMeta=function(i,a){var r,o;return f.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return a=a||{},i=this._objectName(i),a.subres=(0,m.default)({objectMeta:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),r=this._objectRequestParams("HEAD",i,a),r.successStatuses=[200],n.next=8,f.default.awrap(this.request(r));case 8:return o=n.sent,n.abrupt("return",{status:o.status,res:o.res});case 10:case"end":return n.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],27:[function(R,I,e){"use strict";var g=R("babel-runtime/regenerator"),f=y(g),b=R("babel-runtime/core-js/object/assign"),m=y(b);function y(a){return a&&a.__esModule?a:{default:a}}var h=e,u=R("../utils/isObject"),i=u.isObject;h.getObjectTagging=function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d,n,l,t,s;return f.default.async(function(p){for(;;)switch(p.prev=p.next){case 0:return o.subres=(0,m.default)({tagging:""},o.subres),o.versionId&&(o.subres.versionId=o.versionId),r=this._objectName(r),d=this._objectRequestParams("GET",r,o),d.successStatuses=[200],p.next=7,f.default.awrap(this.request(d));case 7:return n=p.sent,p.next=10,f.default.awrap(this.parseXML(n.data));case 10:return l=p.sent,t=l.TagSet.Tag,t=t&&i(t)?[t]:t||[],s={},t.forEach(function(A){s[A.Key]=A.Value}),p.abrupt("return",{status:n.status,res:n.res,tag:s});case 16:case"end":return p.stop()}},null,this)}},{"../utils/isObject":46,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],28:[function(R,I,e){"use strict";var g=R("babel-runtime/regenerator"),f=y(g),b=R("babel-runtime/core-js/object/assign"),m=y(b);function y(u){return u&&u.__esModule?u:{default:u}}var h=e;h.getSymlink=function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,o,d;return f.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return a.subres=(0,m.default)({symlink:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),i=this._objectName(i),r=this._objectRequestParams("GET",i,a),r.successStatuses=[200],l.next=7,f.default.awrap(this.request(r));case 7:return o=l.sent,d=o.res.headers["x-oss-symlink-target"],l.abrupt("return",{targetName:decodeURIComponent(d),res:o.res});case 10:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],29:[function(R,I,e){"use strict";var g=R("babel-runtime/regenerator"),f=u(g),b=R("babel-runtime/core-js/object/keys"),m=u(b),y=R("babel-runtime/core-js/object/assign"),h=u(y);function u(a){return a&&a.__esModule?a:{default:a}}var i=e;i.head=function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d,n,l;return f.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return o.subres=(0,h.default)({},o.subres),o.versionId&&(o.subres.versionId=o.versionId),d=this._objectRequestParams("HEAD",r,o),d.successStatuses=[200,304],s.next=6,f.default.awrap(this.request(d));case 6:return n=s.sent,l={meta:null,res:n.res,status:n.status},n.status===200&&(0,m.default)(n.headers).forEach(function(c){c.indexOf("x-oss-meta-")===0&&(l.meta||(l.meta={}),l.meta[c.substring(11)]=n.headers[c])}),s.abrupt("return",l);case 10:case"end":return s.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],30:[function(R,I,e){"use strict";var g=R("babel-runtime/regenerator"),f=y(g),b=R("babel-runtime/core-js/object/assign"),m=y(b);function y(u){return u&&u.__esModule?u:{default:u}}var h=e;h.putACL=function(i,a,r){var o,d;return f.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return r=r||{},r.subres=(0,m.default)({acl:""},r.subres),r.versionId&&(r.subres.versionId=r.versionId),r.headers=r.headers||{},r.headers["x-oss-object-acl"]=a,i=this._objectName(i),o=this._objectRequestParams("PUT",i,r),o.successStatuses=[200],l.next=10,f.default.awrap(this.request(o));case 10:return d=l.sent,l.abrupt("return",{res:d.res});case 12:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],31:[function(R,I,e){"use strict";var g=R("babel-runtime/regenerator"),f=u(g),b=R("babel-runtime/core-js/object/keys"),m=u(b),y=R("babel-runtime/core-js/object/assign"),h=u(y);function u(n){return n&&n.__esModule?n:{default:n}}var i=R("../utils/obj2xml"),a=i.obj2xml,r=R("../utils/checkObjectTag"),o=r.checkObjectTag,d=e;d.putObjectTagging=function(l,t){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},c,p,A;return f.default.async(function(C){for(;;)switch(C.prev=C.next){case 0:return o(t),s.subres=(0,h.default)({tagging:""},s.subres),s.versionId&&(s.subres.versionId=s.versionId),l=this._objectName(l),c=this._objectRequestParams("PUT",l,s),c.successStatuses=[200],t=(0,m.default)(t).map(function(x){return{Key:x,Value:t[x]}}),p={Tagging:{TagSet:{Tag:t}}},c.mime="xml",c.content=a(p),C.next=12,f.default.awrap(this.request(c));case 12:return A=C.sent,C.abrupt("return",{res:A.res,status:A.status});case 14:case"end":return C.stop()}},null,this)}},{"../utils/checkObjectTag":36,"../utils/obj2xml":47,"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/keys":60,"babel-runtime/regenerator":68}],32:[function(R,I,e){"use strict";var g=R("babel-runtime/regenerator"),f=y(g),b=R("babel-runtime/core-js/object/assign"),m=y(b);function y(u){return u&&u.__esModule?u:{default:u}}var h=e;h.putSymlink=function(i,a,r){var o,d;return f.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return r=r||{},r.headers=r.headers||{},a=this._escape(this._objectName(a)),this._convertMetaToHeaders(r.meta,r.headers),r.headers["x-oss-symlink-target"]=a,r.subres=(0,m.default)({symlink:""},r.subres),r.versionId&&(r.subres.versionId=r.versionId),r.storageClass&&(r.headers["x-oss-storage-class"]=r.storageClass),i=this._objectName(i),o=this._objectRequestParams("PUT",i,r),o.successStatuses=[200],l.next=13,f.default.awrap(this.request(o));case 13:return d=l.sent,l.abrupt("return",{res:d.res});case 15:case"end":return l.stop()}},null,this)}},{"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68}],33:[function(R,I,e){"use strict";var g=R("babel-runtime/regenerator"),f=y(g),b=R("babel-runtime/core-js/promise"),m=y(b);function y(u){return u&&u.__esModule?u:{default:u}}var h=e;h._parallelNode=function(i,a,r,o){var d,n,l,t,s,c,p,A;return f.default.async(function(C){for(;;)switch(C.prev=C.next){case 0:d=this,n=[],l=[],t=i.length/a,s=i.length%a,c=s===0?t:(i.length-s)/a+1,p=1,A=0;case 8:if(!(A<i.length)){C.next=26;break}if(!d.isCancel()){C.next=11;break}return C.abrupt("break",26);case 11:if(o?l.push(r(d,i[A],o)):l.push(r(d,i[A])),!(l.length===a||p===c&&A===i.length-1)){C.next=23;break}return C.prev=13,p+=1,C.next=17,f.default.awrap(m.default.all(l));case 17:C.next=22;break;case 19:C.prev=19,C.t0=C.catch(13),n.push(C.t0);case 22:l=[];case 23:A++,C.next=8;break;case 26:return C.abrupt("return",n);case 27:case"end":return C.stop()}},null,this,[[13,19]])},h._parallel=function(i,a,r){var o=this;return new m.default(function(d){var n=[];if(a<=0||!i){d(n);return}function l(E){return function(){if(E===null)throw new Error("Callback was already called.");var T=E;E=null;for(var _=arguments.length,v=Array(_),S=0;S<_;S++)v[S]=arguments[S];T.apply(this,v)}}function t(E){var T=-1,_=E.length;return function(){return++T<_&&!o.isCancel()?{value:E[T],key:T}:null}}var s=t(i),c=!1,p=0,A=!1;function w(E,T){p-=1,E?(c=!0,n.push(E),d(n)):T==={}||c&&p<=0?(c=!0,d(n)):A||(o.isCancel()?d(n):x())}function C(E,T){r(E).then(function(_){T(null,_)}).catch(function(_){T(_)})}function x(){for(A=!0;p<a&&!c&&!o.isCancel();){var E=s();if(E===null||n.length>0){c=!0,p<=0&&d(n);return}p+=1,C(E.value,l(w))}A=!1}x()})},h.cancel=function(i){this.options.cancelFlag=!0,i&&this.abortMultipartUpload(i.name,i.uploadId,i.options)},h.isCancel=function(){return this.options.cancelFlag},h.resetCancelFlag=function(){this.options.cancelFlag=!1},h._stop=function(){this.options.cancelFlag=!0},h._makeCancelEvent=function(){var i={status:0,name:"cancel"};return i}},{"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68}],34:[function(R,I,e){(function(g){"use strict";var f=R("babel-runtime/core-js/json/stringify"),b=h(f),m=R("babel-runtime/core-js/object/keys"),y=h(m);function h(a){return a&&a.__esModule?a:{default:a}}var u=R("./../../shims/crypto/crypto.js"),i=R("is-type-of");e.buildCanonicalizedResource=function(r,o){var d=""+r,n="?";if(i.string(o)&&o.trim()!=="")d+=n+o;else if(i.array(o))o.sort(),d+=n+o.join("&");else if(o){var l=function(c,p){return c[0]>p[0]?1:c[0]<p[0]?-1:0},t=function(c){d+=n+c,o[c]&&(d+="="+o[c]),n="&"};(0,y.default)(o).sort(l).forEach(t)}return d},e.buildCanonicalString=function(r,o,d,n){d=d||{};var l=d.headers||{},t="x-oss-",s=[],c={},p=[r.toUpperCase(),l["Content-Md5"]||"",l["Content-Type"]||l["Content-Type".toLowerCase()],n||l["x-oss-date"]];return(0,y.default)(l).forEach(function(A){var w=A.toLowerCase();w.indexOf(t)===0&&(c[w]=String(l[A]).trim())}),(0,y.default)(c).sort().forEach(function(A){s.push(A+":"+c[A])}),p=p.concat(s),p.push(this.buildCanonicalizedResource(o,d.parameters)),p.join(`
`)},e.computeSignature=function(r,o){var d=u.createHmac("sha1",r);return d.update(g.from(o,"utf8")).digest("base64")},e.authorization=function(r,o,d){return"OSS "+r+":"+this.computeSignature(o,d)},e._signatureForURL=function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=arguments[2],n=arguments[3],l={},t=o.subResource,s=t===void 0?{}:t;if(o.process){var c="x-oss-process";s[c]=o.process}if(o.trafficLimit){var p="x-oss-traffic-limit";s[p]=o.trafficLimit}if(o.response&&(0,y.default)(o.response).forEach(function(x){var E="response-"+x.toLowerCase();s[E]=o.response[x]}),(0,y.default)(o).forEach(function(x){var E=x.toLowerCase(),T=o[x];E.indexOf("x-oss-")===0?l[E]=T:(E.indexOf("content-md5")===0||E.indexOf("content-type")===0)&&(l[x]=T)}),Object.prototype.hasOwnProperty.call(o,"security-token")&&(s["security-token"]=o["security-token"]),Object.prototype.hasOwnProperty.call(o,"callback")){var A={callbackUrl:encodeURI(o.callback.url),callbackBody:o.callback.body};if(o.callback.host&&(A.callbackHost=o.callback.host),o.callback.contentType&&(A.callbackBodyType=o.callback.contentType),s.callback=g.from((0,b.default)(A)).toString("base64"),o.callback.customValue){var w={};(0,y.default)(o.callback.customValue).forEach(function(x){w["x:"+x]=o.callback.customValue[x]}),s["callback-var"]=g.from((0,b.default)(w)).toString("base64")}}var C=this.buildCanonicalString(o.method,d,{headers:l,parameters:s},n.toString());return{Signature:this.computeSignature(r,C),subResource:s}}}).call(this,R("buffer").Buffer)},{"./../../shims/crypto/crypto.js":284,"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73,"is-type-of":289}],35:[function(R,I,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkBucketName=void 0,e.checkBucketName=function(g,f){var b=f?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!b.test(g))throw new Error("The bucket must be conform to the specifications")}},{}],36:[function(R,I,e){"use strict";var g=R("babel-runtime/core-js/object/entries"),f=b(g);function b(o){return o&&o.__esModule?o:{default:o}}Object.defineProperty(e,"__esModule",{value:!0}),e.checkObjectTag=void 0;var m=R("./checkValid"),y=m.checkValid,h=R("./isObject"),u=h.isObject,i=[{validator:function(d){if(typeof d!="string")throw new Error("the key and value of the tag must be String")}},{pattern:/^[a-zA-Z0-9 +-=._:/]+$/,msg:"tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"}],a={key:[].concat(i,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(i,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function r(o){if(!u(o))throw new Error("tag must be Object");var d=(0,f.default)(o);if(d.length>10)throw new Error("maximum of 10 tags for a object");var n=["key","value"];d.forEach(function(l){l.forEach(function(t,s){y(t,a[n[s]])})})}e.checkObjectTag=r},{"./checkValid":37,"./isObject":46,"babel-runtime/core-js/object/entries":57}],37:[function(R,I,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkValid=void 0;function g(f,b){b.forEach(function(m){if(m.validator)m.validator(f);else if(m.pattern&&!m.pattern.test(f))throw new Error(m.msg)})}e.checkValid=g},{}],38:[function(R,I,e){(function(g){"use strict";var f=R("babel-runtime/core-js/object/assign"),b=m(f);function m(l){return l&&l.__esModule?l:{default:l}}Object.defineProperty(e,"__esModule",{value:!0}),e.createRequest=void 0;var y=R("./../../../shims/crypto/crypto.js"),h=R("debug")("ali-oss"),u=R("mime"),i=R("dateformat"),a=R("copy-to"),r=R("path");function o(l,t){return l[t]||l[t.toLowerCase()]}function d(l,t){delete l[t],delete l[t.toLowerCase()]}function n(l){var t=new Date;this.options.amendTimeSkewed&&(t=+new Date+this.options.amendTimeSkewed);var s={"x-oss-date":i(t,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'"),"x-oss-user-agent":this.userAgent};this.userAgent.includes("nodejs")&&(s["User-Agent"]=this.userAgent),this.options.isRequestPay&&(0,b.default)(s,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(s["x-oss-security-token"]=this.options.stsToken),a(l.headers).to(s),o(s,"Content-Type")||(l.mime&&l.mime.indexOf("/")>0?s["Content-Type"]=l.mime:s["Content-Type"]=u.getType(l.mime||r.extname(l.object||""))),o(s,"Content-Type")||d(s,"Content-Type"),l.content&&(s["Content-Md5"]=y.createHash("md5").update(g.from(l.content,"utf8")).digest("base64"),s["Content-Length"]||(s["Content-Length"]=l.content.length));var c=this._getResource(l);s.authorization=this.authorization(l.method,c,l.subres,s);var p=this._getReqUrl(l);h("request %s %s, with headers %j, !!stream: %s",l.method,p,s,!!l.stream);var A=l.timeout||this.options.timeout,w={method:l.method,content:l.content,stream:l.stream,headers:s,timeout:A,writeStream:l.writeStream,customResponse:l.customResponse,ctx:l.ctx||this.ctx};return this.agent&&(w.agent=this.agent),this.httpsAgent&&(w.httpsAgent=this.httpsAgent),{url:p,params:w}}e.createRequest=n}).call(this,R("buffer").Buffer)},{"./../../../shims/crypto/crypto.js":284,"babel-runtime/core-js/object/assign":54,buffer:73,"copy-to":76,dateformat:190,debug:288,mime:202,path:205}],39:[function(R,I,e){"use strict";var g=R("babel-runtime/core-js/object/keys"),f=y(g),b=R("babel-runtime/helpers/typeof"),m=y(b);function y(h){return h&&h.__esModule?h:{default:h}}Object.defineProperty(e,"__esModule",{value:!0}),e.deepCopy=void 0,e.deepCopy=function(h){if(h===null||(typeof h=="undefined"?"undefined":(0,m.default)(h))!=="object")return h;var u=Array.isArray(h)?[]:{};return(0,f.default)(h).forEach(function(i){u[i]=e.deepCopy(h[i])}),u}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],40:[function(R,I,e){"use strict";var g=R("babel-runtime/core-js/object/keys"),f=y(g),b=R("babel-runtime/helpers/typeof"),m=y(b);function y(i){return i&&i.__esModule?i:{default:i}}Object.defineProperty(e,"__esModule",{value:!0}),e.formatObjKey=void 0;function h(i,a){if(i===null||(typeof i=="undefined"?"undefined":(0,m.default)(i))!=="object")return i;var r=void 0;if(Array.isArray(i)){r=[];for(var o=0;o<i.length;o++)r.push(h(i[o],a))}else r={},(0,f.default)(i).forEach(function(d){r[u(d,a)]=h(i[d],a)});return r}e.formatObjKey=h;function u(i,a){return a==="firstUpperCase"?i=i.replace(/^./,function(r){return r.toUpperCase()}):a==="firstLowerCase"&&(i=i.replace(/^./,function(r){return r.toLowerCase()})),i}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],41:[function(R,I,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getStrBytesCount=void 0;function g(f){for(var b=0,m=0;m<f.length;m++){var y=f.charAt(m);/^[\u00-\uff]$/.test(y)?b+=1:b+=2}return b}e.getStrBytesCount=g},{}],42:[function(R,I,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isArray=void 0,e.isArray=function(g){return Object.prototype.toString.call(g)==="[object Array]"}},{}],43:[function(R,I,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isBlob=void 0;function g(f){return typeof Blob!="undefined"&&f instanceof Blob}e.isBlob=g},{}],44:[function(R,I,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isFile=void 0,e.isFile=function(g){return typeof File!="undefined"&&g instanceof File}},{}],45:[function(R,I,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isIP=void 0,e.isIP=function(g){var f=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,b=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/;return f.test(g)||b.test(g)}},{}],46:[function(R,I,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=void 0,e.isObject=function(g){return Object.prototype.toString.call(g)==="[object Object]"}},{}],47:[function(R,I,e){"use strict";var g=R("babel-runtime/core-js/object/keys"),f=b(g);function b(u){return u&&u.__esModule?u:{default:u}}Object.defineProperty(e,"__esModule",{value:!0}),e.obj2xml=void 0;var m=R("./formatObjKey");function y(u){return Object.prototype.toString.call(u).replace(/(.*? |])/g,"").toLowerCase()}function h(u,i){var a="";return i&&i.headers&&(a=`<?xml version="1.0" encoding="UTF-8"?>
`),i&&i.firstUpperCase&&(u=m.formatObjKey(u,"firstUpperCase")),y(u)==="object"?(0,f.default)(u).forEach(function(r){y(u[r])==="string"||y(u[r])==="number"?a+="<"+r+">"+u[r]+"</"+r+">":y(u[r])==="object"?a+="<"+r+">"+h(u[r])+"</"+r+">":y(u[r])==="array"?a+=u[r].map(function(o){return"<"+r+">"+h(o)+"</"+r+">"}).join(""):a+="<"+r+">"+u[r].toString()+"</"+r+">"}):a+=u.toString(),a}e.obj2xml=h},{"./formatObjKey":40,"babel-runtime/core-js/object/keys":60}],48:[function(R,I,e){I.exports=g,I.exports.HttpsAgent=g;function g(){}},{}],49:[function(R,I,e){I.exports=R("./register")().Promise},{"./register":51}],50:[function(R,I,e){"use strict";var g="@@any-promise/REGISTRATION",f=null;I.exports=function(b,m){return function(h,u){h=h||null,u=u||{};var i=u.global!==!1;if(f===null&&i&&(f=b[g]||null),f!==null&&h!==null&&f.implementation!==h)throw new Error('any-promise already defined as "'+f.implementation+'". You can only register an implementation before the first call to require("any-promise") and an implementation cannot be changed');return f===null&&(h!==null&&typeof u.Promise!="undefined"?f={Promise:u.Promise,implementation:h}:f=m(h),i&&(b[g]=f)),f}}},{}],51:[function(R,I,e){"use strict";I.exports=R("./loader")(window,g);function g(){if(typeof window.Promise=="undefined")throw new Error("any-promise browser requires a polyfill or explicit registration e.g: require('any-promise/register/bluebird')");return{Promise:window.Promise,implementation:"window.Promise"}}},{"./loader":50}],52:[function(R,I,e){I.exports={default:R("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":77}],53:[function(R,I,e){I.exports={default:R("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":78}],54:[function(R,I,e){I.exports={default:R("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":79}],55:[function(R,I,e){I.exports={default:R("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":80}],56:[function(R,I,e){I.exports={default:R("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":81}],57:[function(R,I,e){I.exports={default:R("core-js/library/fn/object/entries"),__esModule:!0}},{"core-js/library/fn/object/entries":82}],58:[function(R,I,e){I.exports={default:R("core-js/library/fn/object/get-own-property-names"),__esModule:!0}},{"core-js/library/fn/object/get-own-property-names":83}],59:[function(R,I,e){I.exports={default:R("core-js/library/fn/object/get-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/get-prototype-of":84}],60:[function(R,I,e){I.exports={default:R("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":85}],61:[function(R,I,e){I.exports={default:R("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":86}],62:[function(R,I,e){I.exports={default:R("core-js/library/fn/set-immediate"),__esModule:!0}},{"core-js/library/fn/set-immediate":87}],63:[function(R,I,e){I.exports={default:R("core-js/library/fn/string/from-code-point"),__esModule:!0}},{"core-js/library/fn/string/from-code-point":88}],64:[function(R,I,e){I.exports={default:R("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":90}],65:[function(R,I,e){I.exports={default:R("core-js/library/fn/symbol/has-instance"),__esModule:!0}},{"core-js/library/fn/symbol/has-instance":89}],66:[function(R,I,e){I.exports={default:R("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":91}],67:[function(R,I,e){"use strict";e.__esModule=!0;var g=R("../core-js/symbol/iterator"),f=h(g),b=R("../core-js/symbol"),m=h(b),y=typeof m.default=="function"&&typeof f.default=="symbol"?function(u){return typeof u}:function(u){return u&&typeof m.default=="function"&&u.constructor===m.default&&u!==m.default.prototype?"symbol":typeof u};function h(u){return u&&u.__esModule?u:{default:u}}e.default=typeof m.default=="function"&&y(f.default)==="symbol"?function(u){return typeof u=="undefined"?"undefined":y(u)}:function(u){return u&&typeof m.default=="function"&&u.constructor===m.default&&u!==m.default.prototype?"symbol":typeof u=="undefined"?"undefined":y(u)}},{"../core-js/symbol":64,"../core-js/symbol/iterator":66}],68:[function(R,I,e){I.exports=R("regenerator-runtime")},{"regenerator-runtime":226}],69:[function(R,I,e){"use strict";e.byteLength=i,e.toByteArray=r,e.fromByteArray=n;for(var g=[],f=[],b=typeof Uint8Array!="undefined"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0,h=m.length;y<h;++y)g[y]=m[y],f[m.charCodeAt(y)]=y;f["-".charCodeAt(0)]=62,f["_".charCodeAt(0)]=63;function u(l){var t=l.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var s=l.indexOf("=");s===-1&&(s=t);var c=s===t?0:4-s%4;return[s,c]}function i(l){var t=u(l),s=t[0],c=t[1];return(s+c)*3/4-c}function a(l,t,s){return(t+s)*3/4-s}function r(l){var t,s=u(l),c=s[0],p=s[1],A=new b(a(l,c,p)),w=0,C=p>0?c-4:c,x;for(x=0;x<C;x+=4)t=f[l.charCodeAt(x)]<<18|f[l.charCodeAt(x+1)]<<12|f[l.charCodeAt(x+2)]<<6|f[l.charCodeAt(x+3)],A[w++]=t>>16&255,A[w++]=t>>8&255,A[w++]=t&255;return p===2&&(t=f[l.charCodeAt(x)]<<2|f[l.charCodeAt(x+1)]>>4,A[w++]=t&255),p===1&&(t=f[l.charCodeAt(x)]<<10|f[l.charCodeAt(x+1)]<<4|f[l.charCodeAt(x+2)]>>2,A[w++]=t>>8&255,A[w++]=t&255),A}function o(l){return g[l>>18&63]+g[l>>12&63]+g[l>>6&63]+g[l&63]}function d(l,t,s){for(var c,p=[],A=t;A<s;A+=3)c=(l[A]<<16&16711680)+(l[A+1]<<8&65280)+(l[A+2]&255),p.push(o(c));return p.join("")}function n(l){for(var t,s=l.length,c=s%3,p=[],A=16383,w=0,C=s-c;w<C;w+=A)p.push(d(l,w,w+A>C?C:w+A));return c===1?(t=l[s-1],p.push(g[t>>2]+g[t<<4&63]+"==")):c===2&&(t=(l[s-2]<<8)+l[s-1],p.push(g[t>>10]+g[t>>4&63]+g[t<<2&63]+"=")),p.join("")}},{}],70:[function(R,I,e){/*!
* Bowser - a browser detector
* https://github.com/ded/bowser
* MIT License | (c) Dustin Diaz 2015
*/!function(g,f,b){typeof I!="undefined"&&I.exports?I.exports=b():typeof define=="function"&&define.amd?define(f,b):g[f]=b()}(this,"bowser",function(){var g=!0;function f(a){function r(H){var j=a.match(H);return j&&j.length>1&&j[1]||""}function o(H){var j=a.match(H);return j&&j.length>1&&j[2]||""}var d=r(/(ipod|iphone|ipad)/i).toLowerCase(),n=/like android/i.test(a),l=!n&&/android/i.test(a),t=/nexus\s*[0-6]\s*/i.test(a),s=!t&&/nexus\s*[0-9]+/i.test(a),c=/CrOS/.test(a),p=/silk/i.test(a),A=/sailfish/i.test(a),w=/tizen/i.test(a),C=/(web|hpw)(o|0)s/i.test(a),x=/windows phone/i.test(a),E=/SamsungBrowser/i.test(a),T=!x&&/windows/i.test(a),_=!d&&!p&&/macintosh/i.test(a),v=!l&&!A&&!w&&!C&&/linux/i.test(a),S=o(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),O=r(/version\/(\d+(\.\d+)?)/i),L=/tablet/i.test(a)&&!/tablet pc/i.test(a),M=!L&&/[^-]mobi/i.test(a),F=/xbox/i.test(a),U;/opera/i.test(a)?U={name:"Opera",opera:g,version:O||r(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(a)?U={name:"Opera",opera:g,version:r(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||O}:/SamsungBrowser/i.test(a)?U={name:"Samsung Internet for Android",samsungBrowser:g,version:O||r(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(a)?U={name:"NAVER Whale browser",whale:g,version:r(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(a)?U={name:"MZ Browser",mzbrowser:g,version:r(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(a)?U={name:"Opera Coast",coast:g,version:O||r(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(a)?U={name:"Focus",focus:g,version:r(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(a)?U={name:"Yandex Browser",yandexbrowser:g,version:O||r(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(a)?U={name:"UC Browser",ucbrowser:g,version:r(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(a)?U={name:"Maxthon",maxthon:g,version:r(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(a)?U={name:"Epiphany",epiphany:g,version:r(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(a)?U={name:"Puffin",puffin:g,version:r(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(a)?U={name:"Sleipnir",sleipnir:g,version:r(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(a)?U={name:"K-Meleon",kMeleon:g,version:r(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:x?(U={name:"Windows Phone",osname:"Windows Phone",windowsphone:g},S?(U.msedge=g,U.version=S):(U.msie=g,U.version=r(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(a)?U={name:"Internet Explorer",msie:g,version:r(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:c?U={name:"Chrome",osname:"Chrome OS",chromeos:g,chromeBook:g,chrome:g,version:r(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(a)?U={name:"Microsoft Edge",msedge:g,version:S}:/vivaldi/i.test(a)?U={name:"Vivaldi",vivaldi:g,version:r(/vivaldi\/(\d+(\.\d+)?)/i)||O}:A?U={name:"Sailfish",osname:"Sailfish OS",sailfish:g,version:r(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(a)?U={name:"SeaMonkey",seamonkey:g,version:r(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(a)?(U={name:"Firefox",firefox:g,version:r(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(a)&&(U.firefoxos=g,U.osname="Firefox OS")):p?U={name:"Amazon Silk",silk:g,version:r(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(a)?U={name:"PhantomJS",phantom:g,version:r(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(a)?U={name:"SlimerJS",slimer:g,version:r(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(a)||/rim\stablet/i.test(a)?U={name:"BlackBerry",osname:"BlackBerry OS",blackberry:g,version:O||r(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:C?(U={name:"WebOS",osname:"WebOS",webos:g,version:O||r(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(a)&&(U.touchpad=g)):/bada/i.test(a)?U={name:"Bada",osname:"Bada",bada:g,version:r(/dolfin\/(\d+(\.\d+)?)/i)}:w?U={name:"Tizen",osname:"Tizen",tizen:g,version:r(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||O}:/qupzilla/i.test(a)?U={name:"QupZilla",qupzilla:g,version:r(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||O}:/chromium/i.test(a)?U={name:"Chromium",chromium:g,version:r(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||O}:/chrome|crios|crmo/i.test(a)?U={name:"Chrome",chrome:g,version:r(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:l?U={name:"Android",version:O}:/safari|applewebkit/i.test(a)?(U={name:"Safari",safari:g},O&&(U.version=O)):d?(U={name:d=="iphone"?"iPhone":d=="ipad"?"iPad":"iPod"},O&&(U.version=O)):/googlebot/i.test(a)?U={name:"Googlebot",googlebot:g,version:r(/googlebot\/(\d+(\.\d+))/i)||O}:U={name:r(/^(.*)\/(.*) /),version:o(/^(.*)\/(.*) /)},!U.msedge&&/(apple)?webkit/i.test(a)?(/(apple)?webkit\/537\.36/i.test(a)?(U.name=U.name||"Blink",U.blink=g):(U.name=U.name||"Webkit",U.webkit=g),!U.version&&O&&(U.version=O)):!U.opera&&/gecko\//i.test(a)&&(U.name=U.name||"Gecko",U.gecko=g,U.version=U.version||r(/gecko\/(\d+(\.\d+)?)/i)),!U.windowsphone&&(l||U.silk)?(U.android=g,U.osname="Android"):!U.windowsphone&&d?(U[d]=g,U.ios=g,U.osname="iOS"):_?(U.mac=g,U.osname="macOS"):F?(U.xbox=g,U.osname="Xbox"):T?(U.windows=g,U.osname="Windows"):v&&(U.linux=g,U.osname="Linux");function z(H){switch(H){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var W="";U.windows?W=z(r(/Windows ((NT|XP)( \d\d?.\d)?)/i)):U.windowsphone?W=r(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):U.mac?(W=r(/Mac OS X (\d+([_\.\s]\d+)*)/i),W=W.replace(/[_\s]/g,".")):d?(W=r(/os (\d+([_\s]\d+)*) like mac os x/i),W=W.replace(/[_\s]/g,".")):l?W=r(/android[ \/-](\d+(\.\d+)*)/i):U.webos?W=r(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):U.blackberry?W=r(/rim\stablet\sos\s(\d+(\.\d+)*)/i):U.bada?W=r(/bada\/(\d+(\.\d+)*)/i):U.tizen&&(W=r(/tizen[\/\s](\d+(\.\d+)*)/i)),W&&(U.osversion=W);var N=!U.windows&&W.split(".")[0];return L||s||d=="ipad"||l&&(N==3||N>=4&&!M)||U.silk?U.tablet=g:(M||d=="iphone"||d=="ipod"||l||t||U.blackberry||U.webos||U.bada)&&(U.mobile=g),U.msedge||U.msie&&U.version>=10||U.yandexbrowser&&U.version>=15||U.vivaldi&&U.version>=1||U.chrome&&U.version>=20||U.samsungBrowser&&U.version>=4||U.whale&&h([U.version,"1.0"])===1||U.mzbrowser&&h([U.version,"6.0"])===1||U.focus&&h([U.version,"1.0"])===1||U.firefox&&U.version>=20||U.safari&&U.version>=6||U.opera&&U.version>=10||U.ios&&U.osversion&&U.osversion.split(".")[0]>=6||U.blackberry&&U.version>=10.1||U.chromium&&U.version>=20?U.a=g:U.msie&&U.version<10||U.chrome&&U.version<20||U.firefox&&U.version<20||U.safari&&U.version<6||U.opera&&U.version<10||U.ios&&U.osversion&&U.osversion.split(".")[0]<6||U.chromium&&U.version<20?U.c=g:U.x=g,U}var b=f(typeof navigator!="undefined"&&navigator.userAgent||"");b.test=function(a){for(var r=0;r<a.length;++r){var o=a[r];if(typeof o=="string"&&o in b)return!0}return!1};function m(a){return a.split(".").length}function y(a,r){var o=[],d;if(Array.prototype.map)return Array.prototype.map.call(a,r);for(d=0;d<a.length;d++)o.push(r(a[d]));return o}function h(a){for(var r=Math.max(m(a[0]),m(a[1])),o=y(a,function(d){var n=r-m(d);return d=d+new Array(n+1).join(".0"),y(d.split("."),function(l){return new Array(20-l.length).join("0")+l}).reverse()});--r>=0;){if(o[0][r]>o[1][r])return 1;if(o[0][r]===o[1][r]){if(r===0)return 0}else return-1}}function u(a,r,o){var d=b;typeof r=="string"&&(o=r,r=void 0),r===void 0&&(r=!1),o&&(d=f(o));var n=""+d.version;for(var l in a)if(a.hasOwnProperty(l)&&d[l]){if(typeof a[l]!="string")throw new Error("Browser version in the minVersion map should be a string: "+l+": "+String(a));return h([n,a[l]])<0}return r}function i(a,r,o){return!u(a,r,o)}return b.isUnsupportedBrowser=u,b.compareVersions=h,b.check=i,b._detect=f,b.detect=f,b})},{}],71:[function(R,I,e){},{}],72:[function(R,I,e){var g=R("buffer").Buffer,f=g.isEncoding||function(i){switch(i&&i.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 b(i){if(i&&!f(i))throw new Error("Unknown encoding: "+i)}var m=e.StringDecoder=function(i){this.encoding=(i||"utf8").toLowerCase().replace(/[-_]/,""),b(i);switch(this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=h;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=u;break;default:this.write=y;return}this.charBuffer=new g(6),this.charReceived=0,this.charLength=0};m.prototype.write=function(i){for(var a="";this.charLength;){var r=i.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:i.length;if(i.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived<this.charLength)return"";i=i.slice(r,i.length),a=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var d=a.charCodeAt(a.length-1);if(d>=55296&&d<=56319){this.charLength+=this.surrogateSize,a="";continue}if(this.charReceived=this.charLength=0,i.length===0)return a;break}this.detectIncompleteChar(i);var o=i.length;this.charLength&&(i.copy(this.charBuffer,0,i.length-this.charReceived,o),o-=this.charReceived),a+=i.toString(this.encoding,0,o);var o=a.length-1,d=a.charCodeAt(o);if(d>=55296&&d<=56319){var n=this.surrogateSize;return this.charLength+=n,this.charReceived+=n,this.charBuffer.copy(this.charBuffer,n,0,n),i.copy(this.charBuffer,0,0,n),a.substring(0,o)}return a},m.prototype.detectIncompleteChar=function(i){for(var a=i.length>=3?3:i.length;a>0;a--){var r=i[i.length-a];if(a==1&&r>>5==6){this.charLength=2;break}if(a<=2&&r>>4==14){this.charLength=3;break}if(a<=3&&r>>3==30){this.charLength=4;break}}this.charReceived=a},m.prototype.end=function(i){var a="";if(i&&i.length&&(a=this.write(i)),this.charReceived){var r=this.charReceived,o=this.charBuffer,d=this.encoding;a+=o.slice(0,r).toString(d)}return a};function y(i){return i.toString(this.encoding)}function h(i){this.charReceived=i.length%2,this.charLength=this.charReceived?2:0}function u(i){this.charReceived=i.length%3,this.charLength=this.charReceived?3:0}},{buffer:73}],73:[function(R,I,e){(function(g,f){/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/"use strict";var b=R("base64-js"),m=R("ieee754"),y=R("isarray");e.Buffer=f,e.SlowBuffer=p,e.INSPECT_MAX_BYTES=50,f.TYPED_ARRAY_SUPPORT=g.TYPED_ARRAY_SUPPORT!==void 0?g.TYPED_ARRAY_SUPPORT:h(),e.kMaxLength=u();function h(){try{var se=new Uint8Array(1);return se.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},se.foo()===42&&typeof se.subarray=="function"&&se.subarray(1,1).byteLength===0}catch(q){return!1}}function u(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(se,q){if(u()<q)throw new RangeError("Invalid typed array length");return f.TYPED_ARRAY_SUPPORT?(se=new Uint8Array(q),se.__proto__=f.prototype):(se===null&&(se=new f(q)),se.length=q),se}function f(se,q,X){if(!f.TYPED_ARRAY_SUPPORT&&!(this instanceof f))return new f(se,q,X);if(typeof se=="number"){if(typeof q=="string")throw new Error("If encoding is specified then the first argument must be a string");return d(this,se)}return a(this,se,q,X)}f.poolSize=8192,f._augment=function(se){return se.__proto__=f.prototype,se};function a(se,q,X,Z){if(typeof q=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&q instanceof ArrayBuffer?t(se,q,X,Z):typeof q=="string"?n(se,q,X):s(se,q)}f.from=function(se,q,X){return a(null,se,q,X)},f.TYPED_ARRAY_SUPPORT&&(f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&f[Symbol.species]===f&&Object.defineProperty(f,Symbol.species,{value:null,configurable:!0}));function r(se){if(typeof se!="number")throw new TypeError('"size" argument must be a number');if(se<0)throw new RangeError('"size" argument must not be negative')}function o(se,q,X,Z){return r(q),q<=0?i(se,q):X!==void 0?typeof Z=="string"?i(se,q).fill(X,Z):i(se,q).fill(X):i(se,q)}f.alloc=function(se,q,X){return o(null,se,q,X)};function d(se,q){if(r(q),se=i(se,q<0?0:c(q)|0),!f.TYPED_ARRAY_SUPPORT)for(var X=0;X<q;++X)se[X]=0;return se}f.allocUnsafe=function(se){return d(null,se)},f.allocUnsafeSlow=function(se){return d(null,se)};function n(se,q,X){if((typeof X!="string"||X==="")&&(X="utf8"),!f.isEncoding(X))throw new TypeError('"encoding" must be a valid string encoding');var Z=A(q,X)|0;se=i(se,Z);var pe=se.write(q,X);return pe!==Z&&(se=se.slice(0,pe)),se}function l(se,q){var X=q.length<0?0:c(q.length)|0;se=i(se,X);for(var Z=0;Z<X;Z+=1)se[Z]=q[Z]&255;return se}function t(se,q,X,Z){if(q.byteLength,X<0||q.byteLength<X)throw new RangeError("'offset' is out of bounds");if(q.byteLength<X+(Z||0))throw new RangeError("'length' is out of bounds");return X===void 0&&Z===void 0?q=new Uint8Array(q):Z===void 0?q=new Uint8Array(q,X):q=new Uint8Array(q,X,Z),f.TYPED_ARRAY_SUPPORT?(se=q,se.__proto__=f.prototype):se=l(se,q),se}function s(se,q){if(f.isBuffer(q)){var X=c(q.length)|0;return se=i(se,X),se.length===0||q.copy(se,0,0,X),se}if(q){if(typeof ArrayBuffer!="undefined"&&q.buffer instanceof ArrayBuffer||"length"in q)return typeof q.length!="number"||at(q.length)?i(se,0):l(se,q);if(q.type==="Buffer"&&y(q.data))return l(se,q.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function c(se){if(se>=u())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+u().toString(16)+" bytes");return se|0}function p(se){return+se!=se&&(se=0),f.alloc(+se)}f.isBuffer=function(q){return!!(q!=null&&q._isBuffer)},f.compare=function(q,X){if(!f.isBuffer(q)||!f.isBuffer(X))throw new TypeError("Arguments must be Buffers");if(q===X)return 0;for(var Z=q.length,pe=X.length,oe=0,Ie=Math.min(Z,pe);oe<Ie;++oe)if(q[oe]!==X[oe]){Z=q[oe],pe=X[oe];break}return Z<pe?-1:pe<Z?1:0},f.isEncoding=function(q){switch(String(q).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}},f.concat=function(q,X){if(!y(q))throw new TypeError('"list" argument must be an Array of Buffers');if(q.length===0)return f.alloc(0);var Z;if(X===void 0)for(X=0,Z=0;Z<q.length;++Z)X+=q[Z].length;var pe=f.allocUnsafe(X),oe=0;for(Z=0;Z<q.length;++Z){var Ie=q[Z];if(!f.isBuffer(Ie))throw new TypeError('"list" argument must be an Array of Buffers');Ie.copy(pe,oe),oe+=Ie.length}return pe};function A(se,q){if(f.isBuffer(se))return se.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(se)||se instanceof ArrayBuffer))return se.byteLength;typeof se!="string"&&(se=""+se);var X=se.length;if(X===0)return 0;for(var Z=!1;;)switch(q){case"ascii":case"latin1":case"binary":return X;case"utf8":case"utf-8":case void 0:return Pe(se).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return X*2;case"hex":return X>>>1;case"base64":return ne(se).length;default:if(Z)return Pe(se).length;q=(""+q).toLowerCase(),Z=!0}}f.byteLength=A;function w(se,q,X){var Z=!1;if((q===void 0||q<0)&&(q=0),q>this.length)return"";if((X===void 0||X>this.length)&&(X=this.length),X<=0)return"";if(X>>>=0,q>>>=0,X<=q)return"";for(se||(se="utf8");;)switch(se){case"hex":return H(this,q,X);case"utf8":case"utf-8":return F(this,q,X);case"ascii":return W(this,q,X);case"latin1":case"binary":return N(this,q,X);case"base64":return M(this,q,X);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,q,X);default:if(Z)throw new TypeError("Unknown encoding: "+se);se=(se+"").toLowerCase(),Z=!0}}f.prototype._isBuffer=!0;function C(se,q,X){var Z=se[q];se[q]=se[X],se[X]=Z}f.prototype.swap16=function(){var q=this.length;if(q%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var X=0;X<q;X+=2)C(this,X,X+1);return this},f.prototype.swap32=function(){var q=this.length;if(q%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var X=0;X<q;X+=4)C(this,X,X+3),C(this,X+1,X+2);return this},f.prototype.swap64=function(){var q=this.length;if(q%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var X=0;X<q;X+=8)C(this,X,X+7),C(this,X+1,X+6),C(this,X+2,X+5),C(this,X+3,X+4);return this},f.prototype.toString=function(){var q=this.length|0;return q===0?"":arguments.length===0?F(this,0,q):w.apply(this,arguments)},f.prototype.equals=function(q){if(!f.isBuffer(q))throw new TypeError("Argument must be a Buffer");return this===q?!0:f.compare(this,q)===0},f.prototype.inspect=function(){var q="",X=e.INSPECT_MAX_BYTES;return this.length>0&&(q=this.toString("hex",0,X).match(/.{2}/g).join(" "),this.length>X&&(q+=" ... ")),"<Buffer "+q+">"},f.prototype.compare=function(q,X,Z,pe,oe){if(!f.isBuffer(q))throw new TypeError("Argument must be a Buffer");if(X===void 0&&(X=0),Z===void 0&&(Z=q?q.length:0),pe===void 0&&(pe=0),oe===void 0&&(oe=this.length),X<0||Z>q.length||pe<0||oe>this.length)throw new RangeError("out of range index");if(pe>=oe&&X>=Z)return 0;if(pe>=oe)return-1;if(X>=Z)return 1;if(X>>>=0,Z>>>=0,pe>>>=0,oe>>>=0,this===q)return 0;for(var Ie=oe-pe,fe=Z-X,te=Math.min(Ie,fe),J=this.slice(pe,oe),ve=q.slice(X,Z),De=0;De<te;++De)if(J[De]!==ve[De]){Ie=J[De],fe=ve[De];break}return Ie<fe?-1:fe<Ie?1:0};function x(se,q,X,Z,pe){if(se.length===0)return-1;if(typeof X=="string"?(Z=X,X=0):X>2147483647?X=2147483647:X<-2147483648&&(X=-2147483648),X=+X,isNaN(X)&&(X=pe?0:se.length-1),X<0&&(X=se.length+X),X>=se.length){if(pe)return-1;X=se.length-1}else if(X<0)if(pe)X=0;else return-1;if(typeof q=="string"&&(q=f.from(q,Z)),f.isBuffer(q))return q.length===0?-1:E(se,q,X,Z,pe);if(typeof q=="number")return q=q&255,f.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?pe?Uint8Array.prototype.indexOf.call(se,q,X):Uint8Array.prototype.lastIndexOf.call(se,q,X):E(se,[q],X,Z,pe);throw new TypeError("val must be string, number or Buffer")}function E(se,q,X,Z,pe){var oe=1,Ie=se.length,fe=q.length;if(Z!==void 0&&(Z=String(Z).toLowerCase(),Z==="ucs2"||Z==="ucs-2"||Z==="utf16le"||Z==="utf-16le")){if(se.length<2||q.length<2)return-1;oe=2,Ie/=2,fe/=2,X/=2}function te(dt,Me){return oe===1?dt[Me]:dt.readUInt16BE(Me*oe)}var J;if(pe){var ve=-1;for(J=X;J<Ie;J++)if(te(se,J)===te(q,ve===-1?0:J-ve)){if(ve===-1&&(ve=J),J-ve+1===fe)return ve*oe}else ve!==-1&&(J-=J-ve),ve=-1}else for(X+fe>Ie&&(X=Ie-fe),J=X;J>=0;J--){for(var De=!0,ze=0;ze<fe;ze++)if(te(se,J+ze)!==te(q,ze)){De=!1;break}if(De)return J}return-1}f.prototype.includes=function(q,X,Z){return this.indexOf(q,X,Z)!==-1},f.prototype.indexOf=function(q,X,Z){return x(this,q,X,Z,!0)},f.prototype.lastIndexOf=function(q,X,Z){return x(this,q,X,Z,!1)};function T(se,q,X,Z){X=Number(X)||0;var pe=se.length-X;Z?(Z=Number(Z),Z>pe&&(Z=pe)):Z=pe;var oe=q.length;if(oe%2!==0)throw new TypeError("Invalid hex string");Z>oe/2&&(Z=oe/2);for(var Ie=0;Ie<Z;++Ie){var fe=parseInt(q.substr(Ie*2,2),16);if(isNaN(fe))return Ie;se[X+Ie]=fe}return Ie}function _(se,q,X,Z){return be(Pe(q,se.length-X),se,X,Z)}function v(se,q,X,Z){return be(Re(q),se,X,Z)}function S(se,q,X,Z){return v(se,q,X,Z)}function O(se,q,X,Z){return be(ne(q),se,X,Z)}function L(se,q,X,Z){return be(rt(q,se.length-X),se,X,Z)}f.prototype.write=function(q,X,Z,pe){if(X===void 0)pe="utf8",Z=this.length,X=0;else if(Z===void 0&&typeof X=="string")pe=X,Z=this.length,X=0;else if(isFinite(X))X=X|0,isFinite(Z)?(Z=Z|0,pe===void 0&&(pe="utf8")):(pe=Z,Z=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var oe=this.length-X;if((Z===void 0||Z>oe)&&(Z=oe),q.length>0&&(Z<0||X<0)||X>this.length)throw new RangeError("Attempt to write outside buffer bounds");pe||(pe="utf8");for(var Ie=!1;;)switch(pe){case"hex":return T(this,q,X,Z);case"utf8":case"utf-8":return _(this,q,X,Z);case"ascii":return v(this,q,X,Z);case"latin1":case"binary":return S(this,q,X,Z);case"base64":return O(this,q,X,Z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,q,X,Z);default:if(Ie)throw new TypeError("Unknown encoding: "+pe);pe=(""+pe).toLowerCase(),Ie=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function M(se,q,X){return q===0&&X===se.length?b.fromByteArray(se):b.fromByteArray(se.slice(q,X))}function F(se,q,X){X=Math.min(se.length,X);for(var Z=[],pe=q;pe<X;){var oe=se[pe],Ie=null,fe=oe>239?4:oe>223?3:oe>191?2:1;if(pe+fe<=X){var te,J,ve,De;switch(fe){case 1:oe<128&&(Ie=oe);break;case 2:te=se[pe+1],(te&192)===128&&(De=(oe&31)<<6|te&63,De>127&&(Ie=De));break;case 3:te=se[pe+1],J=se[pe+2],(te&192)===128&&(J&192)===128&&(De=(oe&15)<<12|(te&63)<<6|J&63,De>2047&&(De<55296||De>57343)&&(Ie=De));break;case 4:te=se[pe+1],J=se[pe+2],ve=se[pe+3],(te&192)===128&&(J&192)===128&&(ve&192)===128&&(De=(oe&15)<<18|(te&63)<<12|(J&63)<<6|ve&63,De>65535&&De<1114112&&(Ie=De))}}Ie===null?(Ie=65533,fe=1):Ie>65535&&(Ie-=65536,Z.push(Ie>>>10&1023|55296),Ie=56320|Ie&1023),Z.push(Ie),pe+=fe}return z(Z)}var U=4096;function z(se){var q=se.length;if(q<=U)return String.fromCharCode.apply(String,se);for(var X="",Z=0;Z<q;)X+=String.fromCharCode.apply(String,se.slice(Z,Z+=U));return X}function W(se,q,X){var Z="";X=Math.min(se.length,X);for(var pe=q;pe<X;++pe)Z+=String.fromCharCode(se[pe]&127);return Z}function N(se,q,X){var Z="";X=Math.min(se.length,X);for(var pe=q;pe<X;++pe)Z+=String.fromCharCode(se[pe]);return Z}function H(se,q,X){var Z=se.length;(!q||q<0)&&(q=0),(!X||X<0||X>Z)&&(X=Z);for(var pe="",oe=q;oe<X;++oe)pe+=ge(se[oe]);return pe}function j(se,q,X){for(var Z=se.slice(q,X),pe="",oe=0;oe<Z.length;oe+=2)pe+=String.fromCharCode(Z[oe]+Z[oe+1]*256);return pe}f.prototype.slice=function(q,X){var Z=this.length;q=~~q,X=X===void 0?Z:~~X,q<0?(q+=Z,q<0&&(q=0)):q>Z&&(q=Z),X<0?(X+=Z,X<0&&(X=0)):X>Z&&(X=Z),X<q&&(X=q);var pe;if(f.TYPED_ARRAY_SUPPORT)pe=this.subarray(q,X),pe.__proto__=f.prototype;else{var oe=X-q;pe=new f(oe,void 0);for(var Ie=0;Ie<oe;++Ie)pe[Ie]=this[Ie+q]}return pe};function k(se,q,X){if(se%1!==0||se<0)throw new RangeError("offset is not uint");if(se+q>X)throw new RangeError("Trying to access beyond buffer length")}f.prototype.readUIntLE=function(q,X,Z){q=q|0,X=X|0,Z||k(q,X,this.length);for(var pe=this[q],oe=1,Ie=0;++Ie<X&&(oe*=256);)pe+=this[q+Ie]*oe;return pe},f.prototype.readUIntBE=function(q,X,Z){q=q|0,X=X|0,Z||k(q,X,this.length);for(var pe=this[q+--X],oe=1;X>0&&(oe*=256);)pe+=this[q+--X]*oe;return pe},f.prototype.readUInt8=function(q,X){return X||k(q,1,this.length),this[q]},f.prototype.readUInt16LE=function(q,X){return X||k(q,2,this.length),this[q]|this[q+1]<<8},f.prototype.readUInt16BE=function(q,X){return X||k(q,2,this.length),this[q]<<8|this[q+1]},f.prototype.readUInt32LE=function(q,X){return X||k(q,4,this.length),(this[q]|this[q+1]<<8|this[q+2]<<16)+this[q+3]*16777216},f.prototype.readUInt32BE=function(q,X){return X||k(q,4,this.length),this[q]*16777216+(this[q+1]<<16|this[q+2]<<8|this[q+3])},f.prototype.readIntLE=function(q,X,Z){q=q|0,X=X|0,Z||k(q,X,this.length);for(var pe=this[q],oe=1,Ie=0;++Ie<X&&(oe*=256);)pe+=this[q+Ie]*oe;return oe*=128,pe>=oe&&(pe-=Math.pow(2,8*X)),pe},f.prototype.readIntBE=function(q,X,Z){q=q|0,X=X|0,Z||k(q,X,this.length);for(var pe=X,oe=1,Ie=this[q+--pe];pe>0&&(oe*=256);)Ie+=this[q+--pe]*oe;return oe*=128,Ie>=oe&&(Ie-=Math.pow(2,8*X)),Ie},f.prototype.readInt8=function(q,X){return X||k(q,1,this.length),this[q]&128?(255-this[q]+1)*-1:this[q]},f.prototype.readInt16LE=function(q,X){X||k(q,2,this.length);var Z=this[q]|this[q+1]<<8;return Z&32768?Z|4294901760:Z},f.prototype.readInt16BE=function(q,X){X||k(q,2,this.length);var Z=this[q+1]|this[q]<<8;return Z&32768?Z|4294901760:Z},f.prototype.readInt32LE=function(q,X){return X||k(q,4,this.length),this[q]|this[q+1]<<8|this[q+2]<<16|this[q+3]<<24},f.prototype.readInt32BE=function(q,X){return X||k(q,4,this.length),this[q]<<24|this[q+1]<<16|this[q+2]<<8|this[q+3]},f.prototype.readFloatLE=function(q,X){return X||k(q,4,this.length),m.read(this,q,!0,23,4)},f.prototype.readFloatBE=function(q,X){return X||k(q,4,this.length),m.read(this,q,!1,23,4)},f.prototype.readDoubleLE=function(q,X){return X||k(q,8,this.length),m.read(this,q,!0,52,8)},f.prototype.readDoubleBE=function(q,X){return X||k(q,8,this.length),m.read(this,q,!1,52,8)};function B(se,q,X,Z,pe,oe){if(!f.isBuffer(se))throw new TypeError('"buffer" argument must be a Buffer instance');if(q>pe||q<oe)throw new RangeError('"value" argument is out of bounds');if(X+Z>se.length)throw new RangeError("Index out of range")}f.prototype.writeUIntLE=function(q,X,Z,pe){if(q=+q,X=X|0,Z=Z|0,!pe){var oe=Math.pow(2,8*Z)-1;B(this,q,X,Z,oe,0)}var Ie=1,fe=0;for(this[X]=q&255;++fe<Z&&(Ie*=256);)this[X+fe]=q/Ie&255;return X+Z},f.prototype.writeUIntBE=function(q,X,Z,pe){if(q=+q,X=X|0,Z=Z|0,!pe){var oe=Math.pow(2,8*Z)-1;B(this,q,X,Z,oe,0)}var Ie=Z-1,fe=1;for(this[X+Ie]=q&255;--Ie>=0&&(fe*=256);)this[X+Ie]=q/fe&255;return X+Z},f.prototype.writeUInt8=function(q,X,Z){return q=+q,X=X|0,Z||B(this,q,X,1,255,0),f.TYPED_ARRAY_SUPPORT||(q=Math.floor(q)),this[X]=q&255,X+1};function V(se,q,X,Z){q<0&&(q=65535+q+1);for(var pe=0,oe=Math.min(se.length-X,2);pe<oe;++pe)se[X+pe]=(q&255<<8*(Z?pe:1-pe))>>>(Z?pe:1-pe)*8}f.prototype.writeUInt16LE=function(q,X,Z){return q=+q,X=X|0,Z||B(this,q,X,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[X]=q&255,this[X+1]=q>>>8):V(this,q,X,!0),X+2},f.prototype.writeUInt16BE=function(q,X,Z){return q=+q,X=X|0,Z||B(this,q,X,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[X]=q>>>8,this[X+1]=q&255):V(this,q,X,!1),X+2};function K(se,q,X,Z){q<0&&(q=4294967295+q+1);for(var pe=0,oe=Math.min(se.length-X,4);pe<oe;++pe)se[X+pe]=q>>>(Z?pe:3-pe)*8&255}f.prototype.writeUInt32LE=function(q,X,Z){return q=+q,X=X|0,Z||B(this,q,X,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[X+3]=q>>>24,this[X+2]=q>>>16,this[X+1]=q>>>8,this[X]=q&255):K(this,q,X,!0),X+4},f.prototype.writeUInt32BE=function(q,X,Z){return q=+q,X=X|0,Z||B(this,q,X,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[X]=q>>>24,this[X+1]=q>>>16,this[X+2]=q>>>8,this[X+3]=q&255):K(this,q,X,!1),X+4},f.prototype.writeIntLE=function(q,X,Z,pe){if(q=+q,X=X|0,!pe){var oe=Math.pow(2,8*Z-1);B(this,q,X,Z,oe-1,-oe)}var Ie=0,fe=1,te=0;for(this[X]=q&255;++Ie<Z&&(fe*=256);)q<0&&te===0&&this[X+Ie-1]!==0&&(te=1),this[X+Ie]=(q/fe>>0)-te&255;return X+Z},f.prototype.writeIntBE=function(q,X,Z,pe){if(q=+q,X=X|0,!pe){var oe=Math.pow(2,8*Z-1);B(this,q,X,Z,oe-1,-oe)}var Ie=Z-1,fe=1,te=0;for(this[X+Ie]=q&255;--Ie>=0&&(fe*=256);)q<0&&te===0&&this[X+Ie+1]!==0&&(te=1),this[X+Ie]=(q/fe>>0)-te&255;return X+Z},f.prototype.writeInt8=function(q,X,Z){return q=+q,X=X|0,Z||B(this,q,X,1,127,-128),f.TYPED_ARRAY_SUPPORT||(q=Math.floor(q)),q<0&&(q=255+q+1),this[X]=q&255,X+1},f.prototype.writeInt16LE=function(q,X,Z){return q=+q,X=X|0,Z||B(this,q,X,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[X]=q&255,this[X+1]=q>>>8):V(this,q,X,!0),X+2},f.prototype.writeInt16BE=function(q,X,Z){return q=+q,X=X|0,Z||B(this,q,X,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[X]=q>>>8,this[X+1]=q&255):V(this,q,X,!1),X+2},f.prototype.writeInt32LE=function(q,X,Z){return q=+q,X=X|0,Z||B(this,q,X,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[X]=q&255,this[X+1]=q>>>8,this[X+2]=q>>>16,this[X+3]=q>>>24):K(this,q,X,!0),X+4},f.prototype.writeInt32BE=function(q,X,Z){return q=+q,X=X|0,Z||B(this,q,X,4,2147483647,-2147483648),q<0&&(q=4294967295+q+1),f.TYPED_ARRAY_SUPPORT?(this[X]=q>>>24,this[X+1]=q>>>16,this[X+2]=q>>>8,this[X+3]=q&255):K(this,q,X,!1),X+4};function Y(se,q,X,Z,pe,oe){if(X+Z>se.length)throw new RangeError("Index out of range");if(X<0)throw new RangeError("Index out of range")}function Q(se,q,X,Z,pe){return pe||Y(se,q,X,4,34028234663852886e22,-34028234663852886e22),m.write(se,q,X,Z,23,4),X+4}f.prototype.writeFloatLE=function(q,X,Z){return Q(this,q,X,!0,Z)},f.prototype.writeFloatBE=function(q,X,Z){return Q(this,q,X,!1,Z)};function he(se,q,X,Z,pe){return pe||Y(se,q,X,8,17976931348623157e292,-17976931348623157e292),m.write(se,q,X,Z,52,8),X+8}f.prototype.writeDoubleLE=function(q,X,Z){return he(this,q,X,!0,Z)},f.prototype.writeDoubleBE=function(q,X,Z){return he(this,q,X,!1,Z)},f.prototype.copy=function(q,X,Z,pe){if(Z||(Z=0),!pe&&pe!==0&&(pe=this.length),X>=q.length&&(X=q.length),X||(X=0),pe>0&&pe<Z&&(pe=Z),pe===Z)return 0;if(q.length===0||this.length===0)return 0;if(X<0)throw new RangeError("targetStart out of bounds");if(Z<0||Z>=this.length)throw new RangeError("sourceStart out of bounds");if(pe<0)throw new RangeError("sourceEnd out of bounds");pe>this.length&&(pe=this.length),q.length-X<pe-Z&&(pe=q.length-X+Z);var oe=pe-Z,Ie;if(this===q&&Z<X&&X<pe)for(Ie=oe-1;Ie>=0;--Ie)q[Ie+X]=this[Ie+Z];else if(oe<1e3||!f.TYPED_ARRAY_SUPPORT)for(Ie=0;Ie<oe;++Ie)q[Ie+X]=this[Ie+Z];else Uint8Array.prototype.set.call(q,this.subarray(Z,Z+oe),X);return oe},f.prototype.fill=function(q,X,Z,pe){if(typeof q=="string"){if(typeof X=="string"?(pe=X,X=0,Z=this.length):typeof Z=="string"&&(pe=Z,Z=this.length),q.length===1){var oe=q.charCodeAt(0);oe<256&&(q=oe)}if(pe!==void 0&&typeof pe!="string")throw new TypeError("encoding must be a string");if(typeof pe=="string"&&!f.isEncoding(pe))throw new TypeError("Unknown encoding: "+pe)}else typeof q=="number"&&(q=q&255);if(X<0||this.length<X||this.length<Z)throw new RangeError("Out of range index");if(Z<=X)return this;X=X>>>0,Z=Z===void 0?this.length:Z>>>0,q||(q=0);var Ie;if(typeof q=="number")for(Ie=X;Ie<Z;++Ie)this[Ie]=q;else{var fe=f.isBuffer(q)?q:Pe(new f(q,pe).toString()),te=fe.length;for(Ie=0;Ie<Z-X;++Ie)this[Ie+X]=fe[Ie%te]}return this};var G=/[^+\/0-9A-Za-z-_]/g;function ye(se){if(se=Ae(se).replace(G,""),se.length<2)return"";for(;se.length%4!==0;)se=se+"=";return se}function Ae(se){return se.trim?se.trim():se.replace(/^\s+|\s+$/g,"")}function ge(se){return se<16?"0"+se.toString(16):se.toString(16)}function Pe(se,q){q=q||Infinity;for(var X,Z=se.length,pe=null,oe=[],Ie=0;Ie<Z;++Ie){if(X=se.charCodeAt(Ie),X>55295&&X<57344){if(!pe){if(X>56319){(q-=3)>-1&&oe.push(239,191,189);continue}else if(Ie+1===Z){(q-=3)>-1&&oe.push(239,191,189);continue}pe=X;continue}if(X<56320){(q-=3)>-1&&oe.push(239,191,189),pe=X;continue}X=(pe-55296<<10|X-56320)+65536}else pe&&((q-=3)>-1&&oe.push(239,191,189));if(pe=null,X<128){if((q-=1)<0)break;oe.push(X)}else if(X<2048){if((q-=2)<0)break;oe.push(X>>6|192,X&63|128)}else if(X<65536){if((q-=3)<0)break;oe.push(X>>12|224,X>>6&63|128,X&63|128)}else if(X<1114112){if((q-=4)<0)break;oe.push(X>>18|240,X>>12&63|128,X>>6&63|128,X&63|128)}else throw new Error("Invalid code point")}return oe}function Re(se){for(var q=[],X=0;X<se.length;++X)q.push(se.charCodeAt(X)&255);return q}function rt(se,q){for(var X,Z,pe,oe=[],Ie=0;Ie<se.length&&!((q-=2)<0);++Ie)X=se.charCodeAt(Ie),Z=X>>8,pe=X%256,oe.push(pe),oe.push(Z);return oe}function ne(se){return b.toByteArray(ye(se))}function be(se,q,X,Z){for(var pe=0;pe<Z&&!(pe+X>=q.length||pe>=se.length);++pe)q[pe+X]=se[pe];return pe}function at(se){return se!==se}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},R("buffer").Buffer)},{"base64-js":69,buffer:73,ieee754:195,isarray:198}],74:[function(R,I,e){I.exports={"100":"Continue","101":"Switching Protocols","102":"Processing","200":"OK","201":"Created","202":"Accepted","203":"Non-Authoritative Information","204":"No Content","205":"Reset Content","206":"Partial Content","207":"Multi-Status","208":"Already Reported","226":"IM Used","300":"Multiple Choices","301":"Moved Permanently","302":"Found","303":"See Other","304":"Not Modified","305":"Use Proxy","307":"Temporary Redirect","308":"Permanent Redirect","400":"Bad Request","401":"Unauthorized","402":"Payment Required","403":"Forbidden","404":"Not Found","405":"Method Not Allowed","406":"Not Acceptable","407":"Proxy Authentication Required","408":"Request Timeout","409":"Conflict","410":"Gone","411":"Length Required","412":"Precondition Failed","413":"Payload Too Large","414":"URI Too Long","415":"Unsupported Media Type","416":"Range Not Satisfiable","417":"Expectation Failed","418":"I'm a teapot","421":"Misdirected Request","422":"Unprocessable Entity","423":"Locked","424":"Failed Dependency","425":"Unordered Collection","426":"Upgrade Required","428":"Precondition Required","429":"Too Many Requests","431":"Request Header Fields Too Large","451":"Unavailable For Legal Reasons","500":"Internal Server Error","501":"Not Implemented","502":"Bad Gateway","503":"Service Unavailable","504":"Gateway Timeout","505":"HTTP Version Not Supported","506":"Variant Also Negotiates","507":"Insufficient Storage","508":"Loop Detected","509":"Bandwidth Limit Exceeded","510":"Not Extended","511":"Network Authentication Required"}},{}],75:[function(R,I,e){I.exports={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:512,O_EXCL:2048,O_NOCTTY:131072,O_TRUNC:1024,O_APPEND:8,O_DIRECTORY:1048576,O_NOFOLLOW:256,O_SYNC:128,O_SYMLINK:2097152,O_NONBLOCK:4,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,E2BIG:7,EACCES:13,EADDRINUSE:48,EADDRNOTAVAIL:49,EAFNOSUPPORT:47,EAGAIN:35,EALREADY:37,EBADF:9,EBADMSG:94,EBUSY:16,ECANCELED:89,ECHILD:10,ECONNABORTED:53,ECONNREFUSED:61,ECONNRESET:54,EDEADLK:11,EDESTADDRREQ:39,EDOM:33,EDQUOT:69,EEXIST:17,EFAULT:14,EFBIG:27,EHOSTUNREACH:65,EIDRM:90,EILSEQ:92,EINPROGRESS:36,EINTR:4,EINVAL:22,EIO:5,EISCONN:56,EISDIR:21,ELOOP:62,EMFILE:24,EMLINK:31,EMSGSIZE:40,EMULTIHOP:95,ENAMETOOLONG:63,ENETDOWN:50,ENETRESET:52,ENETUNREACH:51,ENFILE:23,ENOBUFS:55,ENODATA:96,ENODEV:19,ENOENT:2,ENOEXEC:8,ENOLCK:77,ENOLINK:97,ENOMEM:12,ENOMSG:91,ENOPROTOOPT:42,ENOSPC:28,ENOSR:98,ENOSTR:99,ENOSYS:78,ENOTCONN:57,ENOTDIR:20,ENOTEMPTY:66,ENOTSOCK:38,ENOTSUP:45,ENOTTY:25,ENXIO:6,EOPNOTSUPP:102,EOVERFLOW:84,EPERM:1,EPIPE:32,EPROTO:100,EPROTONOSUPPORT:43,EPROTOTYPE:41,ERANGE:34,EROFS:30,ESPIPE:29,ESRCH:3,ESTALE:70,ETIME:101,ETIMEDOUT:60,ETXTBSY:26,EWOULDBLOCK:35,EXDEV:18,SIGHUP:1,SIGINT:2,SIGQUIT:3,SIGILL:4,SIGTRAP:5,SIGABRT:6,SIGIOT:6,SIGBUS:10,SIGFPE:8,SIGKILL:9,SIGUSR1:30,SIGSEGV:11,SIGUSR2:31,SIGPIPE:13,SIGALRM:14,SIGTERM:15,SIGCHLD:20,SIGCONT:19,SIGSTOP:17,SIGTSTP:18,SIGTTIN:21,SIGTTOU:22,SIGURG:16,SIGXCPU:24,SIGXFSZ:25,SIGVTALRM:26,SIGPROF:27,SIGWINCH:28,SIGIO:23,SIGSYS:12,SSL_OP_ALL:2147486719,SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION:262144,SSL_OP_CIPHER_SERVER_PREFERENCE:4194304,SSL_OP_CISCO_ANYCONNECT:32768,SSL_OP_COOKIE_EXCHANGE:8192,SSL_OP_CRYPTOPRO_TLSEXT_BUG:2147483648,SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS:2048,SSL_OP_EPHEMERAL_RSA:0,SSL_OP_LEGACY_SERVER_CONNECT:4,SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER:32,SSL_OP_MICROSOFT_SESS_ID_BUG:1,SSL_OP_MSIE_SSLV2_RSA_PADDING:0,SSL_OP_NETSCAPE_CA_DN_BUG:536870912,SSL_OP_NETSCAPE_CHALLENGE_BUG:2,SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG:1073741824,SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG:8,SSL_OP_NO_COMPRESSION:131072,SSL_OP_NO_QUERY_MTU:4096,SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION:65536,SSL_OP_NO_SSLv2:16777216,SSL_OP_NO_SSLv3:33554432,SSL_OP_NO_TICKET:16384,SSL_OP_NO_TLSv1:67108864,SSL_OP_NO_TLSv1_1:268435456,SSL_OP_NO_TLSv1_2:134217728,SSL_OP_PKCS1_CHECK_1:0,SSL_OP_PKCS1_CHECK_2:0,SSL_OP_SINGLE_DH_USE:1048576,SSL_OP_SINGLE_ECDH_USE:524288,SSL_OP_SSLEAY_080_CLIENT_DH_BUG:128,SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG:0,SSL_OP_TLS_BLOCK_PADDING_BUG:512,SSL_OP_TLS_D5_BUG:256,SSL_OP_TLS_ROLLBACK_BUG:8388608,ENGINE_METHOD_DSA:2,ENGINE_METHOD_DH:4,ENGINE_METHOD_RAND:8,ENGINE_METHOD_ECDH:16,ENGINE_METHOD_ECDSA:32,ENGINE_METHOD_CIPHERS:64,ENGINE_METHOD_DIGESTS:128,ENGINE_METHOD_STORE:256,ENGINE_METHOD_PKEY_METHS:512,ENGINE_METHOD_PKEY_ASN1_METHS:1024,ENGINE_METHOD_ALL:65535,ENGINE_METHOD_NONE:0,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,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,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_UDP_REUSEADDR:4}},{}],76:[function(R,I,e){/*!
* copy-to - index.js
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
* MIT Licensed
*/"use strict";var g=Array.prototype.slice;I.exports=f;function f(m,y){if(!(this instanceof f))return new f(m,y);this.src=m,this._withAccess=y}f.prototype.withAccess=function(m){return this._withAccess=m!==!1,this},f.prototype.pick=function(m){return Array.isArray(m)||(m=g.call(arguments)),m.length&&(this.keys=m),this},f.prototype.to=function(m){if(m=m||{},!this.src)return m;var y=this.keys||Object.keys(this.src);if(!this._withAccess){for(var h=0;h<y.length;h++){if(u=y[h],m[u]!==void 0)continue;m[u]=this.src[u]}return m}for(var h=0;h<y.length;h++){var u=y[h];if(!b(m,u))continue;var i=this.src.__lookupGetter__(u),a=this.src.__lookupSetter__(u);i&&m.__defineGetter__(u,i),a&&m.__defineSetter__(u,a),!i&&!a&&(m[u]=this.src[u])}return m},f.prototype.toCover=function(m){for(var y=this.keys||Object.keys(this.src),h=0;h<y.length;h++){var u=y[h];delete m[u];var i=this.src.__lookupGetter__(u),a=this.src.__lookupSetter__(u);i&&m.__defineGetter__(u,i),a&&m.__defineSetter__(u,a),!i&&!a&&(m[u]=this.src[u])}},f.prototype.override=f.prototype.toCover,f.prototype.and=function(m){var y={};return this.to(y),this.src=m,this.to(y),this.src=y,this};function b(m,y){return m[y]===void 0&&m.__lookupGetter__(y)===void 0&&m.__lookupSetter__(y)===void 0}},{}],77:[function(R,I,e){R("../../modules/es6.string.iterator"),R("../../modules/es6.array.from"),I.exports=R("../../modules/_core").Array.from},{"../../modules/_core":99,"../../modules/es6.array.from":168,"../../modules/es6.string.iterator":180}],78:[function(R,I,e){var g=R("../../modules/_core"),f=g.JSON||(g.JSON={stringify:JSON.stringify});I.exports=function(m){return f.stringify.apply(f,arguments)}},{"../../modules/_core":99}],79:[function(R,I,e){R("../../modules/es6.object.assign"),I.exports=R("../../modules/_core").Object.assign},{"../../modules/_core":99,"../../modules/es6.object.assign":171}],80:[function(R,I,e){R("../../modules/es6.object.create");var g=R("../../modules/_core").Object;I.exports=function(b,m){return g.create(b,m)}},{"../../modules/_core":99,"../../modules/es6.object.create":172}],81:[function(R,I,e){R("../../modules/es6.object.define-property");var g=R("../../modules/_core").Object;I.exports=function(b,m,y){return g.defineProperty(b,m,y)}},{"../../modules/_core":99,"../../modules/es6.object.define-property":173}],82:[function(R,I,e){R("../../modules/es7.object.entries"),I.exports=R("../../modules/_core").Object.entries},{"../../modules/_core":99,"../../modules/es7.object.entries":182}],83:[function(R,I,e){R("../../modules/es6.object.get-own-property-names");var g=R("../../modules/_core").Object;I.exports=function(b){return g.getOwnPropertyNames(b)}},{"../../modules/_core":99,"../../modules/es6.object.get-own-property-names":174}],84:[function(R,I,e){R("../../modules/es6.object.get-prototype-of"),I.exports=R("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":99,"../../modules/es6.object.get-prototype-of":175}],85:[function(R,I,e){R("../../modules/es6.object.keys"),I.exports=R("../../modules/_core").Object.keys},{"../../modules/_core":99,"../../modules/es6.object.keys":176}],86:[function(R,I,e){R("../modules/es6.object.to-string"),R("../modules/es6.string.iterator"),R("../modules/web.dom.iterable"),R("../modules/es6.promise"),R("../modules/es7.promise.finally"),R("../modules/es7.promise.try"),I.exports=R("../modules/_core").Promise},{"../modules/_core":99,"../modules/es6.object.to-string":177,"../modules/es6.promise":178,"../modules/es6.string.iterator":180,"../modules/es7.promise.finally":183,"../modules/es7.promise.try":184,"../modules/web.dom.iterable":187}],87:[function(R,I,e){R("../modules/web.immediate"),I.exports=R("../modules/_core").setImmediate},{"../modules/_core":99,"../modules/web.immediate":188}],88:[function(R,I,e){R("../../modules/es6.string.from-code-point"),I.exports=R("../../modules/_core").String.fromCodePoint},{"../../modules/_core":99,"../../modules/es6.string.from-code-point":179}],89:[function(R,I,e){R("../../modules/es6.function.has-instance"),I.exports=R("../../modules/_wks-ext").f("hasInstance")},{"../../modules/_wks-ext":165,"../../modules/es6.function.has-instance":170}],90:[function(R,I,e){R("../../modules/es6.symbol"),R("../../modules/es6.object.to-string"),R("../../modules/es7.symbol.async-iterator"),R("../../modules/es7.symbol.observable"),I.exports=R("../../modules/_core").Symbol},{"../../modules/_core":99,"../../modules/es6.object.to-string":177,"../../modules/es6.symbol":181,"../../modules/es7.symbol.async-iterator":185,"../../modules/es7.symbol.observable":186}],91:[function(R,I,e){R("../../modules/es6.string.iterator"),R("../../modules/web.dom.iterable"),I.exports=R("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":165,"../../modules/es6.string.iterator":180,"../../modules/web.dom.iterable":187}],92:[function(R,I,e){I.exports=function(g){if(typeof g!="function")throw TypeError(g+" is not a function!");return g}},{}],93:[function(R,I,e){I.exports=function(){}},{}],94:[function(R,I,e){I.exports=function(g,f,b,m){if(!(g instanceof f)||m!==void 0&&m in g)throw TypeError(b+": incorrect invocation!");return g}},{}],95:[function(R,I,e){var g=R("./_is-object");I.exports=function(f){if(!g(f))throw TypeError(f+" is not an object!");return f}},{"./_is-object":119}],96:[function(R,I,e){var g=R("./_to-iobject"),f=R("./_to-length"),b=R("./_to-absolute-index");I.exports=function(m){return function(y,h,u){var i=g(y),a=f(i.length),r=b(u,a),o;if(m&&h!=h){for(;a>r;)if(o=i[r++],o!=o)return!0}else for(;a>r;r++)if((m||r in i)&&i[r]===h)return m||r||0;return!m&&-1}}},{"./_to-absolute-index":156,"./_to-iobject":158,"./_to-length":159}],97:[function(R,I,e){var g=R("./_cof"),f=R("./_wks")("toStringTag"),b=g(function(){return arguments}())=="Arguments",m=function(h,u){try{return h[u]}catch(i){}};I.exports=function(y){var h,u,i;return y===void 0?"Undefined":y===null?"Null":typeof(u=m(h=Object(y),f))=="string"?u:b?g(h):(i=g(h))=="Object"&&typeof h.callee=="function"?"Arguments":i}},{"./_cof":98,"./_wks":166}],98:[function(R,I,e){var g={}.toString;I.exports=function(f){return g.call(f).slice(8,-1)}},{}],99:[function(R,I,e){var g=I.exports={version:"2.6.11"};typeof __e=="number"&&(__e=g)},{}],100:[function(R,I,e){"use strict";var g=R("./_object-dp"),f=R("./_property-desc");I.exports=function(b,m,y){m in b?g.f(b,m,f(0,y)):b[m]=y}},{"./_object-dp":132,"./_property-desc":146}],101:[function(R,I,e){var g=R("./_a-function");I.exports=function(f,b,m){if(g(f),b===void 0)return f;switch(m){case 1:return function(y){return f.call(b,y)};case 2:return function(y,h){return f.call(b,y,h)};case 3:return function(y,h,u){return f.call(b,y,h,u)}}return function(){return f.apply(b,arguments)}}},{"./_a-function":92}],102:[function(R,I,e){I.exports=function(g){if(g==null)throw TypeError("Can't call method on "+g);return g}},{}],103:[function(R,I,e){I.exports=!R("./_fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./_fails":108}],104:[function(R,I,e){var g=R("./_is-object"),f=R("./_global").document,b=g(f)&&g(f.createElement);I.exports=function(m){return b?f.createElement(m):{}}},{"./_global":110,"./_is-object":119}],105:[function(R,I,e){I.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],106:[function(R,I,e){var g=R("./_object-keys"),f=R("./_object-gops"),b=R("./_object-pie");I.exports=function(m){var y=g(m),h=f.f;if(h)for(var u=h(m),i=b.f,a=0,r;u.length>a;)i.call(m,r=u[a++])&&y.push(r);return y}},{"./_object-gops":137,"./_object-keys":140,"./_object-pie":141}],107:[function(R,I,e){var g=R("./_global"),f=R("./_core"),b=R("./_ctx"),m=R("./_hide"),y=R("./_has"),h="prototype",u=function i(a,r,o){var d=a&i.F,n=a&i.G,l=a&i.S,t=a&i.P,s=a&i.B,c=a&i.W,p=n?f:f[r]||(f[r]={}),A=p[h],w=n?g:l?g[r]:(g[r]||{})[h],C,x,E;n&&(o=r);for(C in o){if(x=!d&&w&&w[C]!==void 0,x&&y(p,C))continue;E=x?w[C]:o[C],p[C]=n&&typeof w[C]!="function"?o[C]:s&&x?b(E,g):c&&w[C]==E?function(T){var _=function(S,O,L){if(this instanceof T){switch(arguments.length){case 0:return new T;case 1:return new T(S);case 2:return new T(S,O)}return new T(S,O,L)}return T.apply(this,arguments)};return _[h]=T[h],_}(E):t&&typeof E=="function"?b(Function.call,E):E,t&&((p.virtual||(p.virtual={}))[C]=E,a&i.R&&A&&!A[C]&&m(A,C,E))}};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,I.exports=u},{"./_core":99,"./_ctx":101,"./_global":110,"./_has":111,"./_hide":112}],108:[function(R,I,e){I.exports=function(g){try{return!!g()}catch(f){return!0}}},{}],109:[function(R,I,e){var g=R("./_ctx"),f=R("./_iter-call"),b=R("./_is-array-iter"),m=R("./_an-object"),y=R("./_to-length"),h=R("./core.get-iterator-method"),u={},i={},e=I.exports=function(a,r,o,d,n){var l=n?function(){return a}:h(a),t=g(o,d,r?2:1),s=0,c,p,A,w;if(typeof l!="function")throw TypeError(a+" is not iterable!");if(b(l)){for(c=y(a.length);c>s;s++)if(w=r?t(m(p=a[s])[0],p[1]):t(a[s]),w===u||w===i)return w}else for(A=l.call(a);!(p=A.next()).done;)if(w=f(A,t,p.value,r),w===u||w===i)return w};e.BREAK=u,e.RETURN=i},{"./_an-object":95,"./_ctx":101,"./_is-array-iter":117,"./_iter-call":120,"./_to-length":159,"./core.get-iterator-method":167}],110:[function(R,I,e){var g=I.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=g)},{}],111:[function(R,I,e){var g={}.hasOwnProperty;I.exports=function(f,b){return g.call(f,b)}},{}],112:[function(R,I,e){var g=R("./_object-dp"),f=R("./_property-desc");I.exports=R("./_descriptors")?function(b,m,y){return g.f(b,m,f(1,y))}:function(b,m,y){return b[m]=y,b}},{"./_descriptors":103,"./_object-dp":132,"./_property-desc":146}],113:[function(R,I,e){var g=R("./_global").document;I.exports=g&&g.documentElement},{"./_global":110}],114:[function(R,I,e){I.exports=!R("./_descriptors")&&!R("./_fails")(function(){return Object.defineProperty(R("./_dom-create")("div"),"a",{get:function(){return 7}}).a!=7})},{"./_descriptors":103,"./_dom-create":104,"./_fails":108}],115:[function(R,I,e){I.exports=function(g,f,b){var m=b===void 0;switch(f.length){case 0:return m?g():g.call(b);case 1:return m?g(f[0]):g.call(b,f[0]);case 2:return m?g(f[0],f[1]):g.call(b,f[0],f[1]);case 3:return m?g(f[0],f[1],f[2]):g.call(b,f[0],f[1],f[2]);case 4:return m?g(f[0],f[1],f[2],f[3]):g.call(b,f[0],f[1],f[2],f[3])}return g.apply(b,f)}},{}],116:[function(R,I,e){var g=R("./_cof");I.exports=Object("z").propertyIsEnumerable(0)?Object:function(f){return g(f)=="String"?f.split(""):Object(f)}},{"./_cof":98}],117:[function(R,I,e){var g=R("./_iterators"),f=R("./_wks")("iterator"),b=Array.prototype;I.exports=function(m){return m!==void 0&&(g.Array===m||b[f]===m)}},{"./_iterators":125,"./_wks":166}],118:[function(R,I,e){var g=R("./_cof");I.exports=Array.isArray||function(b){return g(b)=="Array"}},{"./_cof":98}],119:[function(R,I,e){I.exports=function(g){return typeof g=="object"?g!==null:typeof g=="function"}},{}],120:[function(R,I,e){var g=R("./_an-object");I.exports=function(f,b,m,y){try{return y?b(g(m)[0],m[1]):b(m)}catch(u){var h=f.return;throw h!==void 0&&g(h.call(f)),u}}},{"./_an-object":95}],121:[function(R,I,e){"use strict";var g=R("./_object-create"),f=R("./_property-desc"),b=R("./_set-to-string-tag"),m={};R("./_hide")(m,R("./_wks")("iterator"),function(){return this}),I.exports=function(y,h,u){y.prototype=g(m,{next:f(1,u)}),b(y,h+" Iterator")}},{"./_hide":112,"./_object-create":131,"./_property-desc":146,"./_set-to-string-tag":150,"./_wks":166}],122:[function(R,I,e){"use strict";var g=R("./_library"),f=R("./_export"),b=R("./_redefine"),m=R("./_hide"),y=R("./_iterators"),h=R("./_iter-create"),u=R("./_set-to-string-tag"),i=R("./_object-gpo"),a=R("./_wks")("iterator"),r=!([].keys&&"next"in[].keys()),o="@@iterator",d="keys",n="values",l=function(){return this};I.exports=function(t,s,c,p,A,w,C){h(c,s,p);var x=function(N){if(!r&&N in v)return v[N];switch(N){case d:return function(){return new c(this,N)};case n:return function(){return new c(this,N)}}return function(){return new c(this,N)}},E=s+" Iterator",T=A==n,_=!1,v=t.prototype,S=v[a]||v[o]||A&&v[A],O=S||x(A),L=A?T?x("entries"):O:void 0,M=s=="Array"&&v.entries||S,F,U,z;if(M&&(z=i(M.call(new t)),z!==Object.prototype&&z.next&&(u(z,E,!0),!g&&typeof z[a]!="function"&&m(z,a,l))),T&&S&&S.name!==n&&(_=!0,O=function(){return S.call(this)}),(!g||C)&&(r||_||!v[a])&&m(v,a,O),y[s]=O,y[E]=l,A)if(F={values:T?O:x(n),keys:w?O:x(d),entries:L},C)for(U in F)U in v||b(v,U,F[U]);else f(f.P+f.F*(r||_),s,F);return F}},{"./_export":107,"./_hide":112,"./_iter-create":121,"./_iterators":125,"./_library":126,"./_object-gpo":138,"./_redefine":148,"./_set-to-string-tag":150,"./_wks":166}],123:[function(R,I,e){var g=R("./_wks")("iterator"),f=!1;try{var b=[7][g]();b.return=function(){f=!0},Array.from(b,function(){throw 2})}catch(m){}I.exports=function(m,y){if(!y&&!f)return!1;var h=!1;try{var u=[7],i=u[g]();i.next=function(){return{done:h=!0}},u[g]=function(){return i},m(u)}catch(a){}return h}},{"./_wks":166}],124:[function(R,I,e){I.exports=function(g,f){return{value:f,done:!!g}}},{}],125:[function(R,I,e){I.exports={}},{}],126:[function(R,I,e){I.exports=!0},{}],127:[function(R,I,e){var g=R("./_uid")("meta"),f=R("./_is-object"),b=R("./_has"),m=R("./_object-dp").f,y=0,h=Object.isExtensible||function(){return!0},u=!R("./_fails")(function(){return h(Object.preventExtensions({}))}),i=function(l){m(l,g,{value:{i:"O"+ ++y,w:{}}})},a=function(l,t){if(!f(l))return typeof l=="symbol"?l:(typeof l=="string"?"S":"P")+l;if(!b(l,g)){if(!h(l))return"F";if(!t)return"E";i(l)}return l[g].i},r=function(l,t){if(!b(l,g)){if(!h(l))return!0;if(!t)return!1;i(l)}return l[g].w},o=function(l){return u&&d.NEED&&h(l)&&!b(l,g)&&i(l),l},d=I.exports={KEY:g,NEED:!1,fastKey:a,getWeak:r,onFreeze:o}},{"./_fails":108,"./_has":111,"./_is-object":119,"./_object-dp":132,"./_uid":162}],128:[function(R,I,e){var g=R("./_global"),f=R("./_task").set,b=g.MutationObserver||g.WebKitMutationObserver,m=g.process,y=g.Promise,h=R("./_cof")(m)=="process";I.exports=function(){var u,i,a,r=function(){var t,s;for(h&&(t=m.domain)&&t.exit();u;){s=u.fn,u=u.next;try{s()}catch(c){throw u?a():i=void 0,c}}i=void 0,t&&t.enter()};if(h)a=function(){m.nextTick(r)};else if(b&&!(g.navigator&&g.navigator.standalone)){var o=!0,d=document.createTextNode("");new b(r).observe(d,{characterData:!0}),a=function(){d.data=o=!o}}else if(y&&y.resolve){var n=y.resolve(void 0);a=function(){n.then(r)}}else a=function(){f.call(g,r)};return function(l){var t={fn:l,next:void 0};i&&(i.next=t),u||(u=t,a()),i=t}}},{"./_cof":98,"./_global":110,"./_task":155}],129:[function(R,I,e){"use strict";var g=R("./_a-function");function f(b){var m,y;this.promise=new b(function(h,u){if(m!==void 0||y!==void 0)throw TypeError("Bad Promise constructor");m=h,y=u}),this.resolve=g(m),this.reject=g(y)}I.exports.f=function(b){return new f(b)}},{"./_a-function":92}],130:[function(R,I,e){"use strict";var g=R("./_descriptors"),f=R("./_object-keys"),b=R("./_object-gops"),m=R("./_object-pie"),y=R("./_to-object"),h=R("./_iobject"),u=Object.assign;I.exports=!u||R("./_fails")(function(){var i={},a={},r=Symbol(),o="abcdefghijklmnopqrst";return i[r]=7,o.split("").forEach(function(d){a[d]=d}),u({},i)[r]!=7||Object.keys(u({},a)).join("")!=o})?function(a,r){for(var o=y(a),d=arguments.length,n=1,l=b.f,t=m.f;d>n;)for(var s=h(arguments[n++]),c=l?f(s).concat(l(s)):f(s),p=c.length,A=0,w;p>A;)w=c[A++],(!g||t.call(s,w))&&(o[w]=s[w]);return o}:u},{"./_descriptors":103,"./_fails":108,"./_iobject":116,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_to-object":160}],131:[function(R,I,e){var g=R("./_an-object"),f=R("./_object-dps"),b=R("./_enum-bug-keys"),m=R("./_shared-key")("IE_PROTO"),y=function(){},h="prototype",u=function(){var a=R("./_dom-create")("iframe"),r=b.length,o="<",d=">",n;for(a.style.display="none",R("./_html").appendChild(a),a.src="javascript:",n=a.contentWindow.document,n.open(),n.write(o+"script"+d+"document.F=Object"+o+"/script"+d),n.close(),u=n.F;r--;)delete u[h][b[r]];return u()};I.exports=Object.create||function(a,r){var o;return a!==null?(y[h]=g(a),o=new y,y[h]=null,o[m]=a):o=u(),r===void 0?o:f(o,r)}},{"./_an-object":95,"./_dom-create":104,"./_enum-bug-keys":105,"./_html":113,"./_object-dps":133,"./_shared-key":151}],132:[function(R,I,e){var g=R("./_an-object"),f=R("./_ie8-dom-define"),b=R("./_to-primitive"),m=Object.defineProperty;e.f=R("./_descriptors")?Object.defineProperty:function(h,u,i){if(g(h),u=b(u,!0),g(i),f)try{return m(h,u,i)}catch(a){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(h[u]=i.value),h}},{"./_an-object":95,"./_descriptors":103,"./_ie8-dom-define":114,"./_to-primitive":161}],133:[function(R,I,e){var g=R("./_object-dp"),f=R("./_an-object"),b=R("./_object-keys");I.exports=R("./_descriptors")?Object.defineProperties:function(y,h){f(y);for(var u=b(h),i=u.length,a=0,r;i>a;)g.f(y,r=u[a++],h[r]);return y}},{"./_an-object":95,"./_descriptors":103,"./_object-dp":132,"./_object-keys":140}],134:[function(R,I,e){var g=R("./_object-pie"),f=R("./_property-desc"),b=R("./_to-iobject"),m=R("./_to-primitive"),y=R("./_has"),h=R("./_ie8-dom-define"),u=Object.getOwnPropertyDescriptor;e.f=R("./_descriptors")?u:function(a,r){if(a=b(a),r=m(r,!0),h)try{return u(a,r)}catch(o){}if(y(a,r))return f(!g.f.call(a,r),a[r])}},{"./_descriptors":103,"./_has":111,"./_ie8-dom-define":114,"./_object-pie":141,"./_property-desc":146,"./_to-iobject":158,"./_to-primitive":161}],135:[function(R,I,e){var g=R("./_to-iobject"),f=R("./_object-gopn").f,b={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],y=function(u){try{return f(u)}catch(i){return m.slice()}};I.exports.f=function(u){return m&&b.call(u)=="[object Window]"?y(u):f(g(u))}},{"./_object-gopn":136,"./_to-iobject":158}],136:[function(R,I,e){var g=R("./_object-keys-internal"),f=R("./_enum-bug-keys").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(m){return g(m,f)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],137:[function(R,I,e){e.f=Object.getOwnPropertySymbols},{}],138:[function(R,I,e){var g=R("./_has"),f=R("./_to-object"),b=R("./_shared-key")("IE_PROTO"),m=Object.prototype;I.exports=Object.getPrototypeOf||function(y){return y=f(y),g(y,b)?y[b]:typeof y.constructor=="function"&&y instanceof y.constructor?y.constructor.prototype:y instanceof Object?m:null}},{"./_has":111,"./_shared-key":151,"./_to-object":160}],139:[function(R,I,e){var g=R("./_has"),f=R("./_to-iobject"),b=R("./_array-includes")(!1),m=R("./_shared-key")("IE_PROTO");I.exports=function(y,h){var u=f(y),i=0,a=[],r;for(r in u)r!=m&&(g(u,r)&&a.push(r));for(;h.length>i;)g(u,r=h[i++])&&(~b(a,r)||a.push(r));return a}},{"./_array-includes":96,"./_has":111,"./_shared-key":151,"./_to-iobject":158}],140:[function(R,I,e){var g=R("./_object-keys-internal"),f=R("./_enum-bug-keys");I.exports=Object.keys||function(m){return g(m,f)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],141:[function(R,I,e){e.f={}.propertyIsEnumerable},{}],142:[function(R,I,e){var g=R("./_export"),f=R("./_core"),b=R("./_fails");I.exports=function(m,y){var h=(f.Object||{})[m]||Object[m],u={};u[m]=y(h),g(g.S+g.F*b(function(){h(1)}),"Object",u)}},{"./_core":99,"./_export":107,"./_fails":108}],143:[function(R,I,e){var g=R("./_descriptors"),f=R("./_object-keys"),b=R("./_to-iobject"),m=R("./_object-pie").f;I.exports=function(y){return function(h){for(var u=b(h),i=f(u),a=i.length,r=0,o=[],d;a>r;)d=i[r++],(!g||m.call(u,d))&&o.push(y?[d,u[d]]:u[d]);return o}}},{"./_descriptors":103,"./_object-keys":140,"./_object-pie":141,"./_to-iobject":158}],144:[function(R,I,e){I.exports=function(g){try{return{e:!1,v:g()}}catch(f){return{e:!0,v:f}}}},{}],145:[function(R,I,e){var g=R("./_an-object"),f=R("./_is-object"),b=R("./_new-promise-capability");I.exports=function(m,y){if(g(m),f(y)&&y.constructor===m)return y;var h=b.f(m),u=h.resolve;return u(y),h.promise}},{"./_an-object":95,"./_is-object":119,"./_new-promise-capability":129}],146:[function(R,I,e){I.exports=function(g,f){return{enumerable:!(g&1),configurable:!(g&2),writable:!(g&4),value:f}}},{}],147:[function(R,I,e){var g=R("./_hide");I.exports=function(f,b,m){for(var y in b)m&&f[y]?f[y]=b[y]:g(f,y,b[y]);return f}},{"./_hide":112}],148:[function(R,I,e){I.exports=R("./_hide")},{"./_hide":112}],149:[function(R,I,e){"use strict";var g=R("./_global"),f=R("./_core"),b=R("./_object-dp"),m=R("./_descriptors"),y=R("./_wks")("species");I.exports=function(h){var u=typeof f[h]=="function"?f[h]:g[h];m&&u&&!u[y]&&b.f(u,y,{configurable:!0,get:function(){return this}})}},{"./_core":99,"./_descriptors":103,"./_global":110,"./_object-dp":132,"./_wks":166}],150:[function(R,I,e){var g=R("./_object-dp").f,f=R("./_has"),b=R("./_wks")("toStringTag");I.exports=function(m,y,h){m&&!f(m=h?m:m.prototype,b)&&g(m,b,{configurable:!0,value:y})}},{"./_has":111,"./_object-dp":132,"./_wks":166}],151:[function(R,I,e){var g=R("./_shared")("keys"),f=R("./_uid");I.exports=function(b){return g[b]||(g[b]=f(b))}},{"./_shared":152,"./_uid":162}],152:[function(R,I,e){var g=R("./_core"),f=R("./_global"),b="__core-js_shared__",m=f[b]||(f[b]={});(I.exports=function(y,h){return m[y]||(m[y]=h!==void 0?h:{})})("versions",[]).push({version:g.version,mode:R("./_library")?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})},{"./_core":99,"./_global":110,"./_library":126}],153:[function(R,I,e){var g=R("./_an-object"),f=R("./_a-function"),b=R("./_wks")("species");I.exports=function(m,y){var h=g(m).constructor,u;return h===void 0||(u=g(h)[b])==null?y:f(u)}},{"./_a-function":92,"./_an-object":95,"./_wks":166}],154:[function(R,I,e){var g=R("./_to-integer"),f=R("./_defined");I.exports=function(b){return function(m,y){var h=String(f(m)),u=g(y),i=h.length,a,r;return u<0||u>=i?b?"":void 0:(a=h.charCodeAt(u),a<55296||a>56319||u+1===i||(r=h.charCodeAt(u+1))<56320||r>57343?b?h.charAt(u):a:b?h.slice(u,u+2):(a-55296<<10)+(r-56320)+65536)}}},{"./_defined":102,"./_to-integer":157}],155:[function(R,I,e){var g=R("./_ctx"),f=R("./_invoke"),b=R("./_html"),m=R("./_dom-create"),y=R("./_global"),h=y.process,u=y.setImmediate,i=y.clearImmediate,a=y.MessageChannel,r=y.Dispatch,o=0,d={},n="onreadystatechange",l,t,s,c=function(){var w=+this;if(d.hasOwnProperty(w)){var C=d[w];delete d[w],C()}},p=function(w){c.call(w.data)};(!u||!i)&&(u=function(w){for(var C=[],x=1;arguments.length>x;)C.push(arguments[x++]);return d[++o]=function(){f(typeof w=="function"?w:Function(w),C)},l(o),o},i=function(w){delete d[w]},R("./_cof")(h)=="process"?l=function(w){h.nextTick(g(c,w,1))}:r&&r.now?l=function(w){r.now(g(c,w,1))}:a?(t=new a,s=t.port2,t.port1.onmessage=p,l=g(s.postMessage,s,1)):y.addEventListener&&typeof postMessage=="function"&&!y.importScripts?(l=function(w){y.postMessage(w+"","*")},y.addEventListener("message",p,!1)):n in m("script")?l=function(w){b.appendChild(m("script"))[n]=function(){b.removeChild(this),c.call(w)}}:l=function(w){setTimeout(g(c,w,1),0)}),I.exports={set:u,clear:i}},{"./_cof":98,"./_ctx":101,"./_dom-create":104,"./_global":110,"./_html":113,"./_invoke":115}],156:[function(R,I,e){var g=R("./_to-integer"),f=Math.max,b=Math.min;I.exports=function(m,y){return m=g(m),m<0?f(m+y,0):b(m,y)}},{"./_to-integer":157}],157:[function(R,I,e){var g=Math.ceil,f=Math.floor;I.exports=function(b){return isNaN(b=+b)?0:(b>0?f:g)(b)}},{}],158:[function(R,I,e){var g=R("./_iobject"),f=R("./_defined");I.exports=function(b){return g(f(b))}},{"./_defined":102,"./_iobject":116}],159:[function(R,I,e){var g=R("./_to-integer"),f=Math.min;I.exports=function(b){return b>0?f(g(b),9007199254740991):0}},{"./_to-integer":157}],160:[function(R,I,e){var g=R("./_defined");I.exports=function(f){return Object(g(f))}},{"./_defined":102}],161:[function(R,I,e){var g=R("./_is-object");I.exports=function(f,b){if(!g(f))return f;var m,y;if(b&&typeof(m=f.toString)=="function"&&!g(y=m.call(f)))return y;if(typeof(m=f.valueOf)=="function"&&!g(y=m.call(f)))return y;if(!b&&typeof(m=f.toString)=="function"&&!g(y=m.call(f)))return y;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":119}],162:[function(R,I,e){var g=0,f=Math.random();I.exports=function(b){return"Symbol(".concat(b===void 0?"":b,")_",(++g+f).toString(36))}},{}],163:[function(R,I,e){var g=R("./_global"),f=g.navigator;I.exports=f&&f.userAgent||""},{"./_global":110}],164:[function(R,I,e){var g=R("./_global"),f=R("./_core"),b=R("./_library"),m=R("./_wks-ext"),y=R("./_object-dp").f;I.exports=function(h){var u=f.Symbol||(f.Symbol=b?{}:g.Symbol||{});h.charAt(0)!="_"&&!(h in u)&&y(u,h,{value:m.f(h)})}},{"./_core":99,"./_global":110,"./_library":126,"./_object-dp":132,"./_wks-ext":165}],165:[function(R,I,e){e.f=R("./_wks")},{"./_wks":166}],166:[function(R,I,e){var g=R("./_shared")("wks"),f=R("./_uid"),b=R("./_global").Symbol,m=typeof b=="function",y=I.exports=function(h){return g[h]||(g[h]=m&&b[h]||(m?b:f)("Symbol."+h))};y.store=g},{"./_global":110,"./_shared":152,"./_uid":162}],167:[function(R,I,e){var g=R("./_classof"),f=R("./_wks")("iterator"),b=R("./_iterators");I.exports=R("./_core").getIteratorMethod=function(m){if(m!=null)return m[f]||m["@@iterator"]||b[g(m)]}},{"./_classof":97,"./_core":99,"./_iterators":125,"./_wks":166}],168:[function(R,I,e){"use strict";var g=R("./_ctx"),f=R("./_export"),b=R("./_to-object"),m=R("./_iter-call"),y=R("./_is-array-iter"),h=R("./_to-length"),u=R("./_create-property"),i=R("./core.get-iterator-method");f(f.S+f.F*!R("./_iter-detect")(function(a){Array.from(a)}),"Array",{from:function(r){var o=b(r),d=typeof this=="function"?this:Array,n=arguments.length,l=n>1?arguments[1]:void 0,t=l!==void 0,s=0,c=i(o),p,A,w,C;if(t&&(l=g(l,n>2?arguments[2]:void 0,2)),c!=null&&!(d==Array&&y(c)))for(C=c.call(o),A=new d;!(w=C.next()).done;s++)u(A,s,t?m(C,l,[w.value,s],!0):w.value);else for(p=h(o.length),A=new d(p);p>s;s++)u(A,s,t?l(o[s],s):o[s]);return A.length=s,A}})},{"./_create-property":100,"./_ctx":101,"./_export":107,"./_is-array-iter":117,"./_iter-call":120,"./_iter-detect":123,"./_to-length":159,"./_to-object":160,"./core.get-iterator-method":167}],169:[function(R,I,e){"use strict";var g=R("./_add-to-unscopables"),f=R("./_iter-step"),b=R("./_iterators"),m=R("./_to-iobject");I.exports=R("./_iter-define")(Array,"Array",function(y,h){this._t=m(y),this._i=0,this._k=h},function(){var y=this._t,h=this._k,u=this._i++;return!y||u>=y.length?(this._t=void 0,f(1)):h=="keys"?f(0,u):h=="values"?f(0,y[u]):f(0,[u,y[u]])},"values"),b.Arguments=b.Array,g("keys"),g("values"),g("entries")},{"./_add-to-unscopables":93,"./_iter-define":122,"./_iter-step":124,"./_iterators":125,"./_to-iobject":158}],170:[function(R,I,e){"use strict";var g=R("./_is-object"),f=R("./_object-gpo"),b=R("./_wks")("hasInstance"),m=Function.prototype;b in m||R("./_object-dp").f(m,b,{value:function(h){if(typeof this!="function"||!g(h))return!1;if(!g(this.prototype))return h instanceof this;for(;h=f(h);)if(this.prototype===h)return!0;return!1}})},{"./_is-object":119,"./_object-dp":132,"./_object-gpo":138,"./_wks":166}],171:[function(R,I,e){var g=R("./_export");g(g.S+g.F,"Object",{assign:R("./_object-assign")})},{"./_export":107,"./_object-assign":130}],172:[function(R,I,e){var g=R("./_export");g(g.S,"Object",{create:R("./_object-create")})},{"./_export":107,"./_object-create":131}],173:[function(R,I,e){var g=R("./_export");g(g.S+g.F*!R("./_descriptors"),"Object",{defineProperty:R("./_object-dp").f})},{"./_descriptors":103,"./_export":107,"./_object-dp":132}],174:[function(R,I,e){R("./_object-sap")("getOwnPropertyNames",function(){return R("./_object-gopn-ext").f})},{"./_object-gopn-ext":135,"./_object-sap":142}],175:[function(R,I,e){var g=R("./_to-object"),f=R("./_object-gpo");R("./_object-sap")("getPrototypeOf",function(){return function(m){return f(g(m))}})},{"./_object-gpo":138,"./_object-sap":142,"./_to-object":160}],176:[function(R,I,e){var g=R("./_to-object"),f=R("./_object-keys");R("./_object-sap")("keys",function(){return function(m){return f(g(m))}})},{"./_object-keys":140,"./_object-sap":142,"./_to-object":160}],177:[function(R,I,e){arguments[4][71][0].apply(e,arguments)},{dup:71}],178:[function(R,I,e){"use strict";var g=R("./_library"),f=R("./_global"),b=R("./_ctx"),m=R("./_classof"),y=R("./_export"),h=R("./_is-object"),u=R("./_a-function"),i=R("./_an-instance"),a=R("./_for-of"),r=R("./_species-constructor"),o=R("./_task").set,d=R("./_microtask")(),n=R("./_new-promise-capability"),l=R("./_perform"),t=R("./_user-agent"),s=R("./_promise-resolve"),c="Promise",p=f.TypeError,A=f.process,w=A&&A.versions,C=w&&w.v8||"",x=f[c],E=m(A)=="process",T=function(){},_,v,S,O,L=v=n.f,M=!!function(){try{var k=x.resolve(1),B=(k.constructor={})[R("./_wks")("species")]=function(V){V(T,T)};return(E||typeof PromiseRejectionEvent=="function")&&k.then(T)instanceof B&&C.indexOf("6.6")!==0&&t.indexOf("Chrome/66")===-1}catch(V){}}(),F=function(B){var V;return h(B)&&typeof(V=B.then)=="function"?V:!1},U=function(B,V){if(B._n)return;B._n=!0;var K=B._c;d(function(){for(var Y=B._v,Q=B._s==1,he=0,G=function(Ae){var ge=Q?Ae.ok:Ae.fail,Pe=Ae.resolve,Re=Ae.reject,rt=Ae.domain,ne,be,at;try{ge?(Q||(B._h==2&&N(B),B._h=1),ge===!0?ne=Y:(rt&&rt.enter(),ne=ge(Y),rt&&(rt.exit(),at=!0)),ne===Ae.promise?Re(p("Promise-chain cycle")):(be=F(ne))?be.call(ne,Pe,Re):Pe(ne)):Re(Y)}catch(se){rt&&!at&&rt.exit(),Re(se)}};K.length>he;)G(K[he++]);B._c=[],B._n=!1,V&&!B._h&&z(B)})},z=function(B){o.call(f,function(){var V=B._v,K=W(B),Y,Q,he;if(K&&(Y=l(function(){E?A.emit("unhandledRejection",V,B):(Q=f.onunhandledrejection)?Q({promise:B,reason:V}):(he=f.console)&&he.error&&he.error("Unhandled promise rejection",V)}),B._h=E||W(B)?2:1),B._a=void 0,K&&Y.e)throw Y.v})},W=function(B){return B._h!==1&&(B._a||B._c).length===0},N=function(B){o.call(f,function(){var V;E?A.emit("rejectionHandled",B):(V=f.onrejectionhandled)&&V({promise:B,reason:B._v})})},H=function(B){var V=this;if(V._d)return;V._d=!0,V=V._w||V,V._v=B,V._s=2,V._a||(V._a=V._c.slice()),U(V,!0)},j=function k(B){var V=this,K;if(V._d)return;V._d=!0,V=V._w||V;try{if(V===B)throw p("Promise can't be resolved itself");(K=F(B))?d(function(){var Y={_w:V,_d:!1};try{K.call(B,b(k,Y,1),b(H,Y,1))}catch(Q){H.call(Y,Q)}}):(V._v=B,V._s=1,U(V,!1))}catch(Y){H.call({_w:V,_d:!1},Y)}};M||(x=function(B){i(this,x,c,"_h"),u(B),_.call(this);try{B(b(j,this,1),b(H,this,1))}catch(V){H.call(this,V)}},_=function(B){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},_.prototype=R("./_redefine-all")(x.prototype,{then:function(B,V){var K=L(r(this,x));return K.ok=typeof B=="function"?B:!0,K.fail=typeof V=="function"&&V,K.domain=E?A.domain:void 0,this._c.push(K),this._a&&this._a.push(K),this._s&&U(this,!1),K.promise},catch:function(B){return this.then(void 0,B)}}),S=function(){var B=new _;this.promise=B,this.resolve=b(j,B,1),this.reject=b(H,B,1)},n.f=L=function(B){return B===x||B===O?new S(B):v(B)}),y(y.G+y.W+y.F*!M,{Promise:x}),R("./_set-to-string-tag")(x,c),R("./_set-species")(c),O=R("./_core")[c],y(y.S+y.F*!M,c,{reject:function(B){var V=L(this),K=V.reject;return K(B),V.promise}}),y(y.S+y.F*(g||!M),c,{resolve:function(B){return s(g&&this===O?x:this,B)}}),y(y.S+y.F*!(M&&R("./_iter-detect")(function(k){x.all(k).catch(T)})),c,{all:function(B){var V=this,K=L(V),Y=K.resolve,Q=K.reject,he=l(function(){var G=[],ye=0,Ae=1;a(B,!1,function(ge){var Pe=ye++,Re=!1;G.push(void 0),Ae++,V.resolve(ge).then(function(rt){if(Re)return;Re=!0,G[Pe]=rt,--Ae||Y(G)},Q)}),--Ae||Y(G)});return he.e&&Q(he.v),K.promise},race:function(B){var V=this,K=L(V),Y=K.reject,Q=l(function(){a(B,!1,function(he){V.resolve(he).then(K.resolve,Y)})});return Q.e&&Y(Q.v),K.promise}})},{"./_a-function":92,"./_an-instance":94,"./_classof":97,"./_core":99,"./_ctx":101,"./_export":107,"./_for-of":109,"./_global":110,"./_is-object":119,"./_iter-detect":123,"./_library":126,"./_microtask":128,"./_new-promise-capability":129,"./_perform":144,"./_promise-resolve":145,"./_redefine-all":147,"./_set-species":149,"./_set-to-string-tag":150,"./_species-constructor":153,"./_task":155,"./_user-agent":163,"./_wks":166}],179:[function(R,I,e){var g=R("./_export"),f=R("./_to-absolute-index"),b=String.fromCharCode,m=String.fromCodePoint;g(g.S+g.F*(!!m&&m.length!=1),"String",{fromCodePoint:function(h){for(var u=[],i=arguments.length,a=0,r;i>a;){if(r=+arguments[a++],f(r,1114111)!==r)throw RangeError(r+" is not a valid code point");u.push(r<65536?b(r):b(((r-=65536)>>10)+55296,r%1024+56320))}return u.join("")}})},{"./_export":107,"./_to-absolute-index":156}],180:[function(R,I,e){"use strict";var g=R("./_string-at")(!0);R("./_iter-define")(String,"String",function(f){this._t=String(f),this._i=0},function(){var f=this._t,b=this._i,m;return b>=f.length?{value:void 0,done:!0}:(m=g(f,b),this._i+=m.length,{value:m,done:!1})})},{"./_iter-define":122,"./_string-at":154}],181:[function(R,I,e){"use strict";var g=R("./_global"),f=R("./_has"),b=R("./_descriptors"),m=R("./_export"),y=R("./_redefine"),h=R("./_meta").KEY,u=R("./_fails"),i=R("./_shared"),a=R("./_set-to-string-tag"),r=R("./_uid"),o=R("./_wks"),d=R("./_wks-ext"),n=R("./_wks-define"),l=R("./_enum-keys"),t=R("./_is-array"),s=R("./_an-object"),c=R("./_is-object"),p=R("./_to-object"),A=R("./_to-iobject"),w=R("./_to-primitive"),C=R("./_property-desc"),x=R("./_object-create"),E=R("./_object-gopn-ext"),T=R("./_object-gopd"),_=R("./_object-gops"),v=R("./_object-dp"),S=R("./_object-keys"),O=T.f,L=v.f,M=E.f,F=g.Symbol,U=g.JSON,z=U&&U.stringify,W="prototype",N=o("_hidden"),H=o("toPrimitive"),j={}.propertyIsEnumerable,k=i("symbol-registry"),B=i("symbols"),V=i("op-symbols"),K=Object[W],Y=typeof F=="function"&&!!_.f,Q=g.QObject,he=!Q||!Q[W]||!Q[W].findChild,G=b&&u(function(){return x(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a!=7})?function(oe,Ie,fe){var te=O(K,Ie);te&&delete K[Ie],L(oe,Ie,fe),te&&oe!==K&&L(K,Ie,te)}:L,ye=function(Ie){var fe=B[Ie]=x(F[W]);return fe._k=Ie,fe},Ae=Y&&typeof F.iterator=="symbol"?function(oe){return typeof oe=="symbol"}:function(oe){return oe instanceof F},ge=function(Ie,fe,te){return Ie===K&&ge(V,fe,te),s(Ie),fe=w(fe,!0),s(te),f(B,fe)?(te.enumerable?(f(Ie,N)&&Ie[N][fe]&&(Ie[N][fe]=!1),te=x(te,{enumerable:C(0,!1)})):(f(Ie,N)||L(Ie,N,C(1,{})),Ie[N][fe]=!0),G(Ie,fe,te)):L(Ie,fe,te)},Pe=function(Ie,fe){s(Ie);for(var te=l(fe=A(fe)),J=0,ve=te.length,De;ve>J;)ge(Ie,De=te[J++],fe[De]);return Ie},Re=function(Ie,fe){return fe===void 0?x(Ie):Pe(x(Ie),fe)},rt=function(Ie){var fe=j.call(this,Ie=w(Ie,!0));return this===K&&f(B,Ie)&&!f(V,Ie)?!1:fe||!f(this,Ie)||!f(B,Ie)||f(this,N)&&this[N][Ie]?fe:!0},ne=function(Ie,fe){if(Ie=A(Ie),fe=w(fe,!0),Ie===K&&f(B,fe)&&!f(V,fe))return;var te=O(Ie,fe);return te&&f(B,fe)&&!(f(Ie,N)&&Ie[N][fe])&&(te.enumerable=!0),te},be=function(Ie){for(var fe=M(A(Ie)),te=[],J=0,ve;fe.length>J;)!f(B,ve=fe[J++])&&ve!=N&&ve!=h&&te.push(ve);return te},at=function(Ie){for(var fe=Ie===K,te=M(fe?V:A(Ie)),J=[],ve=0,De;te.length>ve;)f(B,De=te[ve++])&&(fe?f(K,De):!0)&&J.push(B[De]);return J};Y||(F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var Ie=r(arguments.length>0?arguments[0]:void 0),fe=function te(J){this===K&&te.call(V,J),f(this,N)&&f(this[N],Ie)&&(this[N][Ie]=!1),G(this,Ie,C(1,J))};return b&&he&&G(K,Ie,{configurable:!0,set:fe}),ye(Ie)},y(F[W],"toString",function(){return this._k}),T.f=ne,v.f=ge,R("./_object-gopn").f=E.f=be,R("./_object-pie").f=rt,_.f=at,b&&!R("./_library")&&y(K,"propertyIsEnumerable",rt,!0),d.f=function(oe){return ye(o(oe))}),m(m.G+m.W+m.F*!Y,{Symbol:F});for(var se="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),q=0;se.length>q;)o(se[q++]);for(var X=S(o.store),Z=0;X.length>Z;)n(X[Z++]);m(m.S+m.F*!Y,"Symbol",{for:function(Ie){return f(k,Ie+="")?k[Ie]:k[Ie]=F(Ie)},keyFor:function(Ie){if(!Ae(Ie))throw TypeError(Ie+" is not a symbol!");for(var fe in k)if(k[fe]===Ie)return fe},useSetter:function(){he=!0},useSimple:function(){he=!1}}),m(m.S+m.F*!Y,"Object",{create:Re,defineProperty:ge,defineProperties:Pe,getOwnPropertyDescriptor:ne,getOwnPropertyNames:be,getOwnPropertySymbols:at});var pe=u(function(){_.f(1)});m(m.S+m.F*pe,"Object",{getOwnPropertySymbols:function(Ie){return _.f(p(Ie))}}),U&&m(m.S+m.F*(!Y||u(function(){var oe=F();return z([oe])!="[null]"||z({a:oe})!="{}"||z(Object(oe))!="{}"})),"JSON",{stringify:function(Ie){for(var fe=[Ie],te=1,J,ve;arguments.length>te;)fe.push(arguments[te++]);return ve=J=fe[1],!c(J)&&Ie===void 0||Ae(Ie)?void 0:(t(J)||(J=function(ze,dt){if(typeof ve=="function"&&(dt=ve.call(this,ze,dt)),!Ae(dt))return dt}),fe[1]=J,z.apply(U,fe))}}),F[W][H]||R("./_hide")(F[W],H,F[W].valueOf),a(F,"Symbol"),a(Math,"Math",!0),a(g.JSON,"JSON",!0)},{"./_an-object":95,"./_descriptors":103,"./_enum-keys":106,"./_export":107,"./_fails":108,"./_global":110,"./_has":111,"./_hide":112,"./_is-array":118,"./_is-object":119,"./_library":126,"./_meta":127,"./_object-create":131,"./_object-dp":132,"./_object-gopd":134,"./_object-gopn":136,"./_object-gopn-ext":135,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_property-desc":146,"./_redefine":148,"./_set-to-string-tag":150,"./_shared":152,"./_to-iobject":158,"./_to-object":160,"./_to-primitive":161,"./_uid":162,"./_wks":166,"./_wks-define":164,"./_wks-ext":165}],182:[function(R,I,e){var g=R("./_export"),f=R("./_object-to-array")(!0);g(g.S,"Object",{entries:function(m){return f(m)}})},{"./_export":107,"./_object-to-array":143}],183:[function(R,I,e){"use strict";var g=R("./_export"),f=R("./_core"),b=R("./_global"),m=R("./_species-constructor"),y=R("./_promise-resolve");g(g.P+g.R,"Promise",{finally:function(u){var i=m(this,f.Promise||b.Promise),a=typeof u=="function";return this.then(a?function(r){return y(i,u()).then(function(){return r})}:u,a?function(r){return y(i,u()).then(function(){throw r})}:u)}})},{"./_core":99,"./_export":107,"./_global":110,"./_promise-resolve":145,"./_species-constructor":153}],184:[function(R,I,e){"use strict";var g=R("./_export"),f=R("./_new-promise-capability"),b=R("./_perform");g(g.S,"Promise",{try:function(y){var h=f.f(this),u=b(y);return(u.e?h.reject:h.resolve)(u.v),h.promise}})},{"./_export":107,"./_new-promise-capability":129,"./_perform":144}],185:[function(R,I,e){R("./_wks-define")("asyncIterator")},{"./_wks-define":164}],186:[function(R,I,e){R("./_wks-define")("observable")},{"./_wks-define":164}],187:[function(R,I,e){R("./es6.array.iterator");for(var g=R("./_global"),f=R("./_hide"),b=R("./_iterators"),m=R("./_wks")("toStringTag"),y="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(","),h=0;h<y.length;h++){var u=y[h],i=g[u],a=i&&i.prototype;a&&!a[m]&&f(a,m,u),b[u]=b.Array}},{"./_global":110,"./_hide":112,"./_iterators":125,"./_wks":166,"./es6.array.iterator":169}],188:[function(R,I,e){var g=R("./_export"),f=R("./_task");g(g.G+g.B,{setImmediate:f.set,clearImmediate:f.clear})},{"./_export":107,"./_task":155}],189:[function(R,I,e){(function(g){"use strict";var f=R("babel-runtime/helpers/typeof"),b=m(f);function m(w){return w&&w.__esModule?w:{default:w}}function y(w){return Array.isArray?Array.isArray(w):A(w)==="[object Array]"}e.isArray=y;function h(w){return typeof w=="boolean"}e.isBoolean=h;function u(w){return w===null}e.isNull=u;function i(w){return w==null}e.isNullOrUndefined=i;function a(w){return typeof w=="number"}e.isNumber=a;function r(w){return typeof w=="string"}e.isString=r;function o(w){return(typeof w=="undefined"?"undefined":(0,b.default)(w))==="symbol"}e.isSymbol=o;function d(w){return w===void 0}e.isUndefined=d;function n(w){return A(w)==="[object RegExp]"}e.isRegExp=n;function l(w){return(typeof w=="undefined"?"undefined":(0,b.default)(w))==="object"&&w!==null}e.isObject=l;function t(w){return A(w)==="[object Date]"}e.isDate=t;function s(w){return A(w)==="[object Error]"||w instanceof Error}e.isError=s;function c(w){return typeof w=="function"}e.isFunction=c;function p(w){return w===null||typeof w=="boolean"||typeof w=="number"||typeof w=="string"||(typeof w=="undefined"?"undefined":(0,b.default)(w))==="symbol"||typeof w=="undefined"}e.isPrimitive=p,e.isBuffer=g.isBuffer;function A(w){return Object.prototype.toString.call(w)}}).call(this,{isBuffer:R("../../is-buffer/index.js")})},{"../../is-buffer/index.js":197,"babel-runtime/helpers/typeof":67}],190:[function(R,I,e){"use strict";var g=R("babel-runtime/helpers/typeof"),f=b(g);function b(m){return m&&m.__esModule?m:{default:m}}(function(m){"use strict";var y=function(){var r=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,o=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,d=/[^-+\dA-Z]/g;return function(n,l,t,s){if(arguments.length===1&&a(n)==="string"&&!/\d/.test(n)&&(l=n,n=void 0),n=n||new Date,n instanceof Date||(n=new Date(n)),isNaN(n))throw TypeError("Invalid date");l=String(y.masks[l]||l||y.masks.default);var c=l.slice(0,4);(c==="UTC:"||c==="GMT:")&&(l=l.slice(4),t=!0,c==="GMT:"&&(s=!0));var p=t?"getUTC":"get",A=n[p+"Date"](),w=n[p+"Day"](),C=n[p+"Month"](),x=n[p+"FullYear"](),E=n[p+"Hours"](),T=n[p+"Minutes"](),_=n[p+"Seconds"](),v=n[p+"Milliseconds"](),S=t?0:n.getTimezoneOffset(),O=u(n),L=i(n),M={d:A,dd:h(A),ddd:y.i18n.dayNames[w],dddd:y.i18n.dayNames[w+7],m:C+1,mm:h(C+1),mmm:y.i18n.monthNames[C],mmmm:y.i18n.monthNames[C+12],yy:String(x).slice(2),yyyy:x,h:E%12||12,hh:h(E%12||12),H:E,HH:h(E),M:T,MM:h(T),s:_,ss:h(_),l:h(v,3),L:h(Math.round(v/10)),t:E<12?"a":"p",tt:E<12?"am":"pm",T:E<12?"A":"P",TT:E<12?"AM":"PM",Z:s?"GMT":t?"UTC":(String(n).match(o)||[""]).pop().replace(d,""),o:(S>0?"-":"+")+h(Math.floor(Math.abs(S)/60)*100+Math.abs(S)%60,4),S:["th","st","nd","rd"][A%10>3?0:(A%100-A%10!=10)*A%10],W:O,N:L};return l.replace(r,function(F){return F in M?M[F]:F.slice(1,F.length-1)})}}();y.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},y.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function h(r,o){for(r=String(r),o=o||2;r.length<o;)r="0"+r;return r}function u(r){var o=new Date(r.getFullYear(),r.getMonth(),r.getDate());o.setDate(o.getDate()-(o.getDay()+6)%7+3);var d=new Date(o.getFullYear(),0,4);d.setDate(d.getDate()-(d.getDay()+6)%7+3);var n=o.getTimezoneOffset()-d.getTimezoneOffset();o.setHours(o.getHours()-n);var l=(o-d)/(864e5*7);return 1+Math.floor(l)}function i(r){var o=r.getDay();return o===0&&(o=7),o}function a(r){return r===null?"null":r===void 0?"undefined":(typeof r=="undefined"?"undefined":(0,f.default)(r))!=="object"?typeof r=="undefined"?"undefined":(0,f.default)(r):Array.isArray(r)?"array":{}.toString.call(r).slice(8,-1).toLowerCase()}typeof define=="function"&&define.amd?define(function(){return y}):(typeof e=="undefined"?"undefined":(0,f.default)(e))==="object"?I.exports=y:m.dateFormat=y})(void 0)},{"babel-runtime/helpers/typeof":67}],191:[function(R,I,e){/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/"use strict";var g=/["'&<>]/;I.exports=f;function f(b){var m=""+b,y=g.exec(m);if(!y)return m;var h,u="",i=0,a=0;for(i=y.index;i<m.length;i++){switch(m.charCodeAt(i)){case 34:h="&quot;";break;case 38:h="&amp;";break;case 39:h="&#39;";break;case 60:h="&lt;";break;case 62:h="&gt;";break;default:continue}a!==i&&(u+=m.substring(a,i)),a=i+1,u+=h}return a!==i?u+m.substring(a,i):u}},{}],192:[function(R,I,e){function g(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}I.exports=g,g.EventEmitter=g,g.prototype._events=void 0,g.prototype._maxListeners=void 0,g.defaultMaxListeners=10,g.prototype.setMaxListeners=function(h){if(!b(h)||h<0||isNaN(h))throw TypeError("n must be a positive number");return this._maxListeners=h,this},g.prototype.emit=function(h){var u,i,a,r,o,d;if(this._events||(this._events={}),h==="error"&&(!this._events.error||m(this._events.error)&&!this._events.error.length)){if(u=arguments[1],u instanceof Error)throw u;var n=new Error('Uncaught, unspecified "error" event. ('+u+")");throw n.context=u,n}if(i=this._events[h],y(i))return!1;if(f(i))switch(arguments.length){case 1:i.call(this);break;case 2:i.call(this,arguments[1]);break;case 3:i.call(this,arguments[1],arguments[2]);break;default:r=Array.prototype.slice.call(arguments,1),i.apply(this,r)}else if(m(i))for(r=Array.prototype.slice.call(arguments,1),d=i.slice(),a=d.length,o=0;o<a;o++)d[o].apply(this,r);return!0},g.prototype.addListener=function(h,u){var i;if(!f(u))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",h,f(u.listener)?u.listener:u),this._events[h]?m(this._events[h])?this._events[h].push(u):this._events[h]=[this._events[h],u]:this._events[h]=u,m(this._events[h])&&!this._events[h].warned&&(y(this._maxListeners)?i=g.defaultMaxListeners:i=this._maxListeners,i&&i>0&&this._events[h].length>i&&(this._events[h].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[h].length),typeof console.trace=="function"&&console.trace())),this},g.prototype.on=g.prototype.addListener,g.prototype.once=function(h,u){if(!f(u))throw TypeError("listener must be a function");var i=!1;function a(){this.removeListener(h,a),i||(i=!0,u.apply(this,arguments))}return a.listener=u,this.on(h,a),this},g.prototype.removeListener=function(h,u){var i,a,r,o;if(!f(u))throw TypeError("listener must be a function");if(!this._events||!this._events[h])return this;if(i=this._events[h],r=i.length,a=-1,i===u||f(i.listener)&&i.listener===u)delete this._events[h],this._events.removeListener&&this.emit("removeListener",h,u);else if(m(i)){for(o=r;o-- >0;)if(i[o]===u||i[o].listener&&i[o].listener===u){a=o;break}if(a<0)return this;i.length===1?(i.length=0,delete this._events[h]):i.splice(a,1),this._events.removeListener&&this.emit("removeListener",h,u)}return this},g.prototype.removeAllListeners=function(h){var u,i;if(!this._events)return this;if(!this._events.removeListener)return arguments.length===0?this._events={}:this._events[h]&&delete this._events[h],this;if(arguments.length===0){for(u in this._events){if(u==="removeListener")continue;this.removeAllListeners(u)}return this.removeAllListeners("removeListener"),this._events={},this}if(i=this._events[h],f(i))this.removeListener(h,i);else if(i)for(;i.length;)this.removeListener(h,i[i.length-1]);return delete this._events[h],this},g.prototype.listeners=function(h){var u;return!this._events||!this._events[h]?u=[]:f(this._events[h])?u=[this._events[h]]:u=this._events[h].slice(),u},g.prototype.listenerCount=function(h){if(this._events){var u=this._events[h];if(f(u))return 1;if(u)return u.length}return 0},g.listenerCount=function(h,u){return h.listenerCount(u)};function f(h){return typeof h=="function"}function b(h){return typeof h=="number"}function m(h){return typeof h=="object"&&h!==null}function y(h){return h===void 0}},{}],193:[function(R,I,e){var g=R("http"),f=I.exports;for(var b in g)g.hasOwnProperty(b)&&(f[b]=g[b]);f.request=function(m,y){return m||(m={}),m.scheme="https",m.protocol="https:",g.request.call(this,m,y)}},{http:231}],194:[function(R,I,e){/*!
* humanize-ms - index.js
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
* MIT Licensed
*/"use strict";var g=R("util"),f=R("ms");I.exports=function(b){if(typeof b=="number")return b;var m=f(b);if(m===void 0){var y=new Error(g.format("humanize-ms(%j) result undefined",b));console.warn(y.stack)}return m}},{ms:204,util:243}],195:[function(R,I,e){e.read=function(g,f,b,m,y){var h,u,i=y*8-m-1,a=(1<<i)-1,r=a>>1,o=-7,d=b?y-1:0,n=b?-1:1,l=g[f+d];for(d+=n,h=l&(1<<-o)-1,l>>=-o,o+=i;o>0;h=h*256+g[f+d],d+=n,o-=8);for(u=h&(1<<-o)-1,h>>=-o,o+=m;o>0;u=u*256+g[f+d],d+=n,o-=8);if(h===0)h=1-r;else{if(h===a)return u?NaN:(l?-1:1)*Infinity;u=u+Math.pow(2,m),h=h-r}return(l?-1:1)*u*Math.pow(2,h-m)},e.write=function(g,f,b,m,y,h){var u,i,a,r=h*8-y-1,o=(1<<r)-1,d=o>>1,n=y===23?Math.pow(2,-24)-Math.pow(2,-77):0,l=m?0:h-1,t=m?1:-1,s=f<0||f===0&&1/f<0?1:0;for(f=Math.abs(f),isNaN(f)||f===Infinity?(i=isNaN(f)?1:0,u=o):(u=Math.floor(Math.log(f)/Math.LN2),f*(a=Math.pow(2,-u))<1&&(u--,a*=2),u+d>=1?f+=n/a:f+=n*Math.pow(2,1-d),f*a>=2&&(u++,a/=2),u+d>=o?(i=0,u=o):u+d>=1?(i=(f*a-1)*Math.pow(2,y),u=u+d):(i=f*Math.pow(2,d-1)*Math.pow(2,y),u=0));y>=8;g[b+l]=i&255,l+=t,i/=256,y-=8);for(u=u<<y|i,r+=y;r>0;g[b+l]=u&255,l+=t,u/=256,r-=8);g[b+l-t]|=s*128}},{}],196:[function(R,I,e){typeof Object.create=="function"?I.exports=function(f,b){b&&(f.super_=b,f.prototype=Object.create(b.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}))}:I.exports=function(f,b){if(b){f.super_=b;var m=function(){};m.prototype=b.prototype,f.prototype=new m,f.prototype.constructor=f}}},{}],197:[function(R,I,e){/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/I.exports=function(b){return b!=null&&(g(b)||f(b)||!!b._isBuffer)};function g(b){return!!b.constructor&&typeof b.constructor.isBuffer=="function"&&b.constructor.isBuffer(b)}function f(b){return typeof b.readFloatLE=="function"&&typeof b.slice=="function"&&g(b.slice(0,0))}},{}],198:[function(R,I,e){var g={}.toString;I.exports=Array.isArray||function(f){return g.call(f)=="[object Array]"}},{}],199:[function(require,module,exports){(function(global){(function(R,I){typeof exports=="object"&&typeof module!="undefined"?module.exports=I(R):typeof define=="function"&&define.amd?define(I):I(R)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:this,function(global){"use strict";global=global||{};var _Base64=global.Base64,version="2.5.2",buffer;if(typeof module!="undefined"&&module.exports)try{buffer=eval("require('buffer').Buffer")}catch(R){buffer=void 0}var b64chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b64tab=function(R){for(var I={},e=0,g=R.length;e<g;e++)I[R.charAt(e)]=e;return I}(b64chars),fromCharCode=String.fromCharCode,cb_utob=function(I){if(I.length<2){var e=I.charCodeAt(0);return e<128?I:e<2048?fromCharCode(192|e>>>6)+fromCharCode(128|e&63):fromCharCode(224|e>>>12&15)+fromCharCode(128|e>>>6&63)+fromCharCode(128|e&63)}else{var e=65536+(I.charCodeAt(0)-55296)*1024+(I.charCodeAt(1)-56320);return fromCharCode(240|e>>>18&7)+fromCharCode(128|e>>>12&63)+fromCharCode(128|e>>>6&63)+fromCharCode(128|e&63)}},re_utob=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,utob=function(I){return I.replace(re_utob,cb_utob)},cb_encode=function(I){var e=[0,2,1][I.length%3],g=I.charCodeAt(0)<<16|(I.length>1?I.charCodeAt(1):0)<<8|(I.length>2?I.charCodeAt(2):0),f=[b64chars.charAt(g>>>18),b64chars.charAt(g>>>12&63),e>=2?"=":b64chars.charAt(g>>>6&63),e>=1?"=":b64chars.charAt(g&63)];return f.join("")},btoa=global.btoa?function(R){return global.btoa(R)}:function(R){return R.replace(/[\s\S]{1,3}/g,cb_encode)},_encode=function(I){var e=Object.prototype.toString.call(I)==="[object Uint8Array]";return e?I.toString("base64"):btoa(utob(String(I)))},encode=function(I,e){return e?_encode(String(I)).replace(/[+\/]/g,function(g){return g=="+"?"-":"_"}).replace(/=/g,""):_encode(I)},encodeURI=function(I){return encode(I,!0)},re_btou=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=function(I){switch(I.length){case 4:var e=(7&I.charCodeAt(0))<<18|(63&I.charCodeAt(1))<<12|(63&I.charCodeAt(2))<<6|63&I.charCodeAt(3),g=e-65536;return fromCharCode((g>>>10)+55296)+fromCharCode((g&1023)+56320);case 3:return fromCharCode((15&I.charCodeAt(0))<<12|(63&I.charCodeAt(1))<<6|63&I.charCodeAt(2));default:return fromCharCode((31&I.charCodeAt(0))<<6|63&I.charCodeAt(1))}},btou=function(I){return I.replace(re_btou,cb_btou)},cb_decode=function(I){var e=I.length,g=e%4,f=(e>0?b64tab[I.charAt(0)]<<18:0)|(e>1?b64tab[I.charAt(1)]<<12:0)|(e>2?b64tab[I.charAt(2)]<<6:0)|(e>3?b64tab[I.charAt(3)]:0),b=[fromCharCode(f>>>16),fromCharCode(f>>>8&255),fromCharCode(f&255)];return b.length-=[0,0,2,1][g],b.join("")},_atob=global.atob?function(R){return global.atob(R)}:function(R){return R.replace(/\S{1,4}/g,cb_decode)},atob=function(I){return _atob(String(I).replace(/[^A-Za-z0-9\+\/]/g,""))},_decode=buffer?buffer.from&&Uint8Array&&buffer.from!==Uint8Array.from?function(R){return(R.constructor===buffer.constructor?R:buffer.from(R,"base64")).toString()}:function(R){return(R.constructor===buffer.constructor?R:new buffer(R,"base64")).toString()}:function(R){return btou(_atob(R))},decode=function(I){return _decode(String(I).replace(/[-_]/g,function(e){return e=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},noConflict=function(){var I=global.Base64;return global.Base64=_Base64,I};if(global.Base64={VERSION:version,atob,btoa,fromBase64:decode,toBase64:encode,utob,encode,encodeURI,btou,decode,noConflict,__buffer__:buffer},typeof Object.defineProperty=="function"){var noEnum=function(I){return{value:I,enumerable:!1,writable:!0,configurable:!0}};global.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",noEnum(function(){return decode(this)})),Object.defineProperty(String.prototype,"toBase64",noEnum(function(R){return encode(this,R)})),Object.defineProperty(String.prototype,"toBase64URI",noEnum(function(){return encode(this,!0)}))}}return global.Meteor&&(Base64=global.Base64),typeof module!="undefined"&&module.exports?module.exports.Base64=global.Base64:typeof define=="function"&&define.amd&&define([],function(){return global.Base64}),{Base64:global.Base64}})}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],200:[function(R,I,e){/*!
* merge-descriptors
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/"use strict";I.exports=f;var g=Object.prototype.hasOwnProperty;function f(b,m,y){if(!b)throw new TypeError("argument dest is required");if(!m)throw new TypeError("argument src is required");return y===void 0&&(y=!0),Object.getOwnPropertyNames(m).forEach(function(u){if(!y&&g.call(b,u))return;var i=Object.getOwnPropertyDescriptor(m,u);Object.defineProperty(b,u,i)}),b}},{}],201:[function(R,I,e){"use strict";function g(){this._types=Object.create(null),this._extensions=Object.create(null);for(var f=0;f<arguments.length;f++)this.define(arguments[f]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}g.prototype.define=function(f,b){for(var m in f){var y=f[m].map(function(i){return i.toLowerCase()});m=m.toLowerCase();for(var h=0;h<y.length;h++){var u=y[h];if(u[0]=="*")continue;if(!b&&u in this._types)throw new Error('Attempt to change mapping for "'+u+'" extension from "'+this._types[u]+'" to "'+m+'". Pass `force=true` to allow this, otherwise remove "'+u+'" from the list of extensions for "'+m+'".');this._types[u]=m}if(b||!this._extensions[m]){var u=y[0];this._extensions[m]=u[0]!="*"?u:u.substr(1)}}},g.prototype.getType=function(f){f=String(f);var b=f.replace(/^.*[/\\]/,"").toLowerCase(),m=b.replace(/^.*\./,"").toLowerCase(),y=b.length<f.length,h=m.length<b.length-1;return(h||!y)&&this._types[m]||null},g.prototype.getExtension=function(f){return f=/^\s*([^;\s]*)/.test(f)&&RegExp.$1,f&&this._extensions[f.toLowerCase()]||null},I.exports=g},{}],202:[function(R,I,e){"use strict";var g=R("./Mime");I.exports=new g(R("./types/standard"))},{"./Mime":201,"./types/standard":203}],203:[function(R,I,e){I.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma","es"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/mrb-consumer+xml":["*xdf"],"application/mrb-publish+xml":["*xdf"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["*xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/ttml+xml":["ttml"],"application/urc-ressheet+xml":["rsheet"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-error+xml":["xer"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},{}],204:[function(R,I,e){var g=1e3,f=g*60,b=f*60,m=b*24,y=m*7,h=m*365.25;I.exports=function(o,d){d=d||{};var n=typeof o;if(n==="string"&&o.length>0)return u(o);if(n==="number"&&isFinite(o))return d.long?a(o):i(o);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(o))};function u(o){if(o=String(o),o.length>100)return;var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(o);if(!d)return;var n=parseFloat(d[1]),l=(d[2]||"ms").toLowerCase();switch(l){case"years":case"year":case"yrs":case"yr":case"y":return n*h;case"weeks":case"week":case"w":return n*y;case"days":case"day":case"d":return n*m;case"hours":case"hour":case"hrs":case"hr":case"h":return n*b;case"minutes":case"minute":case"mins":case"min":case"m":return n*f;case"seconds":case"second":case"secs":case"sec":case"s":return n*g;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}function i(o){var d=Math.abs(o);return d>=m?Math.round(o/m)+"d":d>=b?Math.round(o/b)+"h":d>=f?Math.round(o/f)+"m":d>=g?Math.round(o/g)+"s":o+"ms"}function a(o){var d=Math.abs(o);return d>=m?r(o,d,m,"day"):d>=b?r(o,d,b,"hour"):d>=f?r(o,d,f,"minute"):d>=g?r(o,d,g,"second"):o+" ms"}function r(o,d,n,l){var t=d>=n*1.5;return Math.round(o/n)+" "+l+(t?"s":"")}},{}],205:[function(R,I,e){(function(g){function f(h,u){for(var i=0,a=h.length-1;a>=0;a--){var r=h[a];r==="."?h.splice(a,1):r===".."?(h.splice(a,1),i++):i&&(h.splice(a,1),i--)}if(u)for(;i--;i)h.unshift("..");return h}e.resolve=function(){for(var h="",u=!1,i=arguments.length-1;i>=-1&&!u;i--){var a=i>=0?arguments[i]:g.cwd();if(typeof a!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!a)continue;h=a+"/"+h,u=a.charAt(0)==="/"}return h=f(m(h.split("/"),function(r){return!!r}),!u).join("/"),(u?"/":"")+h||"."},e.normalize=function(h){var u=e.isAbsolute(h),i=y(h,-1)==="/";return h=f(m(h.split("/"),function(a){return!!a}),!u).join("/"),!h&&!u&&(h="."),h&&i&&(h+="/"),(u?"/":"")+h},e.isAbsolute=function(h){return h.charAt(0)==="/"},e.join=function(){var h=Array.prototype.slice.call(arguments,0);return e.normalize(m(h,function(u,i){if(typeof u!="string")throw new TypeError("Arguments to path.join must be strings");return u}).join("/"))},e.relative=function(h,u){h=e.resolve(h).substr(1),u=e.resolve(u).substr(1);function i(t){for(var s=0;s<t.length&&!(t[s]!=="");s++);for(var c=t.length-1;c>=0&&!(t[c]!=="");c--);return s>c?[]:t.slice(s,c-s+1)}for(var a=i(h.split("/")),r=i(u.split("/")),o=Math.min(a.length,r.length),d=o,n=0;n<o;n++)if(a[n]!==r[n]){d=n;break}for(var l=[],n=d;n<a.length;n++)l.push("..");return l=l.concat(r.slice(d)),l.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(h){if(typeof h!="string"&&(h=h+""),h.length===0)return".";for(var u=h.charCodeAt(0),i=u===47,a=-1,r=!0,o=h.length-1;o>=1;--o)if(u=h.charCodeAt(o),u===47){if(!r){a=o;break}}else r=!1;return a===-1?i?"/":".":i&&a===1?"/":h.slice(0,a)};function b(h){typeof h!="string"&&(h=h+"");var u=0,i=-1,a=!0,r;for(r=h.length-1;r>=0;--r)if(h.charCodeAt(r)===47){if(!a){u=r+1;break}}else i===-1&&(a=!1,i=r+1);return i===-1?"":h.slice(u,i)}e.basename=function(h,u){var i=b(h);return u&&i.substr(-1*u.length)===u&&(i=i.substr(0,i.length-u.length)),i},e.extname=function(h){typeof h!="string"&&(h=h+"");for(var u=-1,i=0,a=-1,r=!0,o=0,d=h.length-1;d>=0;--d){var n=h.charCodeAt(d);if(n===47){if(!r){i=d+1;break}continue}a===-1&&(r=!1,a=d+1),n===46?u===-1?u=d:o!==1&&(o=1):u!==-1&&(o=-1)}return u===-1||a===-1||o===0||o===1&&u===a-1&&u===i+1?"":h.slice(u,a)};function m(h,u){if(h.filter)return h.filter(u);for(var i=[],a=0;a<h.length;a++)u(h[a],a,h)&&i.push(h[a]);return i}var y="ab".substr(-1)==="b"?function(h,u,i){return h.substr(u,i)}:function(h,u,i){return u<0&&(u=h.length+u),h.substr(u,i)}}).call(this,R("_process"))},{_process:208}],206:[function(R,I,e){(function(g){/*!
* Platform.js <https://mths.be/platform>
* Copyright 2014-2018 Benjamin Tan <https://bnjmnt4n.now.sh/>
* Copyright 2011-2013 John-David Dalton <http://allyoucanleet.com/>
* Available under MIT license <https://mths.be/mit>
*/(function(){"use strict";var f={function:!0,object:!0},b=f[typeof window]&&window||this,m=b,y=f[typeof e]&&e,h=f[typeof I]&&I&&!I.nodeType&&I,u=y&&h&&typeof g=="object"&&g;u&&(u.global===u||u.window===u||u.self===u)&&(b=u);var i=Math.pow(2,53)-1,a=/\bOpera/,r=this,o=Object.prototype,d=o.hasOwnProperty,n=o.toString;function l(v){return v=String(v),v.charAt(0).toUpperCase()+v.slice(1)}function t(v,S,O){var L={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return S&&O&&/^Win/i.test(v)&&!/^Windows Phone /i.test(v)&&(L=L[/[\d.]+$/.exec(v)])&&(v="Windows "+L),v=String(v),S&&O&&(v=v.replace(RegExp(S,"i"),O)),v=c(v.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]),v}function s(v,S){var O=-1,L=v?v.length:0;if(typeof L=="number"&&L>-1&&L<=i)for(;++O<L;)S(v[O],O,v);else p(v,S)}function c(v){return v=E(v),/^(?:webOS|i(?:OS|P))/.test(v)?v:l(v)}function p(v,S){for(var O in v)d.call(v,O)&&S(v[O],O,v)}function A(v){return v==null?l(v):n.call(v).slice(8,-1)}function w(v,S){var O=v!=null?typeof v[S]:"number";return!/^(?:boolean|number|string|undefined)$/.test(O)&&(O=="object"?!!v[S]:!0)}function C(v){return String(v).replace(/([ -])(?!$)/g,"$1?")}function x(v,S){var O=null;return s(v,function(L,M){O=S(O,L,M,v)}),O}function E(v){return String(v).replace(/^ +| +$/g,"")}function T(v){var S=b,O=v&&typeof v=="object"&&A(v)!="String";O&&(S=v,v=null);var L=S.navigator||{},M=L.userAgent||"";v||(v=M);var F=O||r==m,U=O?!!L.likeChrome:/\bChrome\b/.test(v)&&!/internal|\n/i.test(n.toString()),z="Object",W=O?z:"ScriptBridgingProxyObject",N=O?z:"Environment",H=O&&S.java?"JavaPackage":A(S.java),j=O?z:"RuntimeObject",k=/\bJava/.test(H)&&S.java,B=k&&A(S.environment)==N,V=k?"a":"\u03B1",K=k?"b":"\u03B2",Y=S.document||{},Q=S.operamini||S.opera,he=a.test(he=O&&Q?Q["[[Class]]"]:A(Q))?he:Q=null,G,ye=v,Ae=[],ge=null,Pe=v==M,Re=Pe&&Q&&typeof Q.version=="function"&&Q.version(),rt,ne=X([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),be=pe(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"Edge"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Waterfox","WebPositive","Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chrome",{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),at=Ie([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),se=Z({Apple:{iPad:1,iPhone:1,iPod:1},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1}}),q=oe(["Windows Phone","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian","Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function X(ve){return x(ve,function(De,ze){return De||RegExp("\\b"+(ze.pattern||C(ze))+"\\b","i").exec(v)&&(ze.label||ze)})}function Z(ve){return x(ve,function(De,ze,dt){return De||(ze[at]||ze[/^[a-z]+(?: +[a-z]+\b)*/i.exec(at)]||RegExp("\\b"+C(dt)+"(?:\\b|\\w*\\d)","i").exec(v))&&dt})}function pe(ve){return x(ve,function(De,ze){return De||RegExp("\\b"+(ze.pattern||C(ze))+"\\b","i").exec(v)&&(ze.label||ze)})}function oe(ve){return x(ve,function(De,ze){var dt=ze.pattern||C(ze);return!De&&(De=RegExp("\\b"+dt+"(?:/[\\d.]+|[ \\w.]*)","i").exec(v))&&(De=t(De,dt,ze.label||ze)),De})}function Ie(ve){return x(ve,function(De,ze){var dt=ze.pattern||C(ze);return!De&&(De=RegExp("\\b"+dt+" *\\d+[.\\w_]*","i").exec(v)||RegExp("\\b"+dt+" *\\w+-[\\w]*","i").exec(v)||RegExp("\\b"+dt+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(v))&&((De=String(ze.label&&!RegExp(dt,"i").test(ze.label)?ze.label:De).split("/"))[1]&&!/[\d.]+/.test(De[0])&&(De[0]+=" "+De[1]),ze=ze.label||ze,De=c(De[0].replace(RegExp(dt,"i"),ze).replace(RegExp("; *(?:"+ze+"[_-])?","i")," ").replace(RegExp("("+ze+")[-_.]?(\\w)","i"),"$1 $2"))),De})}function fe(ve){return x(ve,function(De,ze){return De||(RegExp(ze+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(v)||0)[1]||null})}function te(){return this.description||""}if(ne&&(ne=[ne]),se&&!at&&(at=Ie([se])),(G=/\bGoogle TV\b/.exec(at))&&(at=G[0]),/\bSimulator\b/i.test(v)&&(at=(at?at+" ":"")+"Simulator"),be=="Opera Mini"&&/\bOPiOS\b/.test(v)&&Ae.push("running in Turbo/Uncompressed mode"),be=="IE"&&/\blike iPhone OS\b/.test(v)?(G=T(v.replace(/like iPhone OS/,"")),se=G.manufacturer,at=G.product):/^iP/.test(at)?(be||(be="Safari"),q="iOS"+((G=/ OS ([\d_]+)/i.exec(v))?" "+G[1].replace(/_/g,"."):"")):be=="Konqueror"&&!/buntu/i.test(q)?q="Kubuntu":se&&se!="Google"&&(/Chrome/.test(be)&&!/\bMobile Safari\b/i.test(v)||/\bVita\b/.test(at))||/\bAndroid\b/.test(q)&&/^Chrome/.test(be)&&/\bVersion\//i.test(v)?(be="Android Browser",q=/\bAndroid\b/.test(q)?q:"Android"):be=="Silk"?(/\bMobi/i.test(v)||(q="Android",Ae.unshift("desktop mode")),/Accelerated *= *true/i.test(v)&&Ae.unshift("accelerated")):be=="PaleMoon"&&(G=/\bFirefox\/([\d.]+)\b/.exec(v))?Ae.push("identifying as Firefox "+G[1]):be=="Firefox"&&(G=/\b(Mobile|Tablet|TV)\b/i.exec(v))?(q||(q="Firefox OS"),at||(at=G[1])):!be||(G=!/\bMinefield\b/i.test(v)&&/\b(?:Firefox|Safari)\b/.exec(be))?(be&&!at&&/[\/,]|^[^(]+?\)/.test(v.slice(v.indexOf(G+"/")+8))&&(be=null),(G=at||se||q)&&(at||se||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(q))&&(be=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(q)?q:G)+" Browser")):be=="Electron"&&(G=(/\bChrome\/([\d.]+)\b/.exec(v)||0)[1])&&Ae.push("Chromium "+G),Re||(Re=fe(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",C(be),"(?:Firefox|Minefield|NetFront)"])),(G=ne=="iCab"&&parseFloat(Re)>3&&"WebKit"||/\bOpera\b/.test(be)&&(/\bOPR\b/.test(v)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(v)&&!/^(?:Trident|EdgeHTML)$/.test(ne)&&"WebKit"||!ne&&/\bMSIE\b/i.test(v)&&(q=="Mac OS"?"Tasman":"Trident")||ne=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(be)&&"NetFront")&&(ne=[G]),be=="IE"&&(G=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(v)||0)[1])?(be+=" Mobile",q="Windows Phone "+(/\+$/.test(G)?G:G+".x"),Ae.unshift("desktop mode")):/\bWPDesktop\b/i.test(v)?(be="IE Mobile",q="Windows Phone 8.x",Ae.unshift("desktop mode"),Re||(Re=(/\brv:([\d.]+)/.exec(v)||0)[1])):be!="IE"&&ne=="Trident"&&(G=/\brv:([\d.]+)/.exec(v))&&(be&&Ae.push("identifying as "+be+(Re?" "+Re:"")),be="IE",Re=G[1]),Pe){if(w(S,"global"))if(k&&(G=k.lang.System,ye=G.getProperty("os.arch"),q=q||G.getProperty("os.name")+" "+G.getProperty("os.version")),B){try{Re=S.require("ringo/engine").version.join("."),be="RingoJS"}catch(ve){(G=S.system)&&G.global.system==S.system&&(be="Narwhal",q||(q=G[0].os||null))}be||(be="Rhino")}else typeof S.process=="object"&&!S.process.browser&&(G=S.process)&&(typeof G.versions=="object"&&(typeof G.versions.electron=="string"?(Ae.push("Node "+G.versions.node),be="Electron",Re=G.versions.electron):typeof G.versions.nw=="string"&&(Ae.push("Chromium "+Re,"Node "+G.versions.node),be="NW.js",Re=G.versions.nw)),be||(be="Node.js",ye=G.arch,q=G.platform,Re=/[\d.]+/.exec(G.version),Re=Re?Re[0]:null));else A(G=S.runtime)==W?(be="Adobe AIR",q=G.flash.system.Capabilities.os):A(G=S.phantom)==j?(be="PhantomJS",Re=(G=G.version||null)&&G.major+"."+G.minor+"."+G.patch):typeof Y.documentMode=="number"&&(G=/\bTrident\/(\d+)/i.exec(v))?(Re=[Re,Y.documentMode],(G=+G[1]+4)!=Re[1]&&(Ae.push("IE "+Re[1]+" mode"),ne&&(ne[1]=""),Re[1]=G),Re=be=="IE"?String(Re[1].toFixed(1)):Re[0]):typeof Y.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(be)&&(Ae.push("masking as "+be+" "+Re),be="IE",Re="11.0",ne=["Trident"],q="Windows");q=q&&c(q)}if(Re&&(G=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Re)||/(?:alpha|beta)(?: ?\d)?/i.exec(v+";"+(Pe&&L.appMinorVersion))||/\bMinefield\b/i.test(v)&&"a")&&(ge=/b/i.test(G)?"beta":"alpha",Re=Re.replace(RegExp(G+"\\+?$"),"")+(ge=="beta"?K:V)+(/\d+\+?/.exec(G)||"")),be=="Fennec"||be=="Firefox"&&/\b(?:Android|Firefox OS)\b/.test(q))be="Firefox Mobile";else if(be=="Maxthon"&&Re)Re=Re.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(at))at=="Xbox 360"&&(q=null),at=="Xbox 360"&&/\bIEMobile\b/.test(v)&&Ae.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(be)||be&&!at&&!/Browser|Mobi/.test(be))&&(q=="Windows CE"||/Mobi/i.test(v)))be+=" Mobile";else if(be=="IE"&&Pe)try{S.external===null&&Ae.unshift("platform preview")}catch(ve){Ae.unshift("embedded")}else(/\bBlackBerry\b/.test(at)||/\bBB10\b/.test(v))&&(G=(RegExp(at.replace(/ +/g," *")+"/([.\\d]+)","i").exec(v)||0)[1]||Re)?(G=[G,/BB10/.test(v)],q=(G[1]?(at=null,se="BlackBerry"):"Device Software")+" "+G[0],Re=null):this!=p&&at!="Wii"&&(Pe&&Q||/Opera/.test(be)&&/\b(?:MSIE|Firefox)\b/i.test(v)||be=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(q)||be=="IE"&&(q&&!/^Win/.test(q)&&Re>5.5||/\bWindows XP\b/.test(q)&&Re>8||Re==8&&!/\bTrident\b/.test(v)))&&!a.test(G=T.call(p,v.replace(a,"")+";"))&&G.name&&(G="ing as "+G.name+((G=G.version)?" "+G:""),a.test(be)?(/\bIE\b/.test(G)&&q=="Mac OS"&&(q=null),G="identify"+G):(G="mask"+G,he?be=c(he.replace(/([a-z])([A-Z])/g,"$1 $2")):be="Opera",/\bIE\b/.test(G)&&(q=null),Pe||(Re=null)),ne=["Presto"],Ae.push(G));(G=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(v)||0)[1])&&(G=[parseFloat(G.replace(/\.(\d)$/,".0$1")),G],be=="Safari"&&G[1].slice(-1)=="+"?(be="WebKit Nightly",ge="alpha",Re=G[1].slice(0,-1)):(Re==G[1]||Re==(G[2]=(/\bSafari\/([\d.]+\+?)/i.exec(v)||0)[1]))&&(Re=null),G[1]=(/\bChrome\/([\d.]+)/i.exec(v)||0)[1],G[0]==537.36&&G[2]==537.36&&parseFloat(G[1])>=28&&ne=="WebKit"&&(ne=["Blink"]),!Pe||!U&&!G[1]?(ne&&(ne[1]="like Safari"),G=(G=G[0],G<400?1:G<500?2:G<526?3:G<533?4:G<534?"4+":G<535?5:G<537?6:G<538?7:G<601?8:"8")):(ne&&(ne[1]="like Chrome"),G=G[1]||(G=G[0],G<530?1:G<532?2:G<532.05?3:G<533?4:G<534.03?5:G<534.07?6:G<534.1?7:G<534.13?8:G<534.16?9:G<534.24?10:G<534.3?11:G<535.01?12:G<535.02?"13+":G<535.07?15:G<535.11?16:G<535.19?17:G<536.05?18:G<536.1?19:G<537.01?20:G<537.11?"21+":G<537.13?23:G<537.18?24:G<537.24?25:G<537.36?26:ne!="Blink"?"27":"28")),ne&&(ne[1]+=" "+(G+=typeof G=="number"?".x":/[.+]/.test(G)?"":"+")),be=="Safari"&&(!Re||parseInt(Re)>45)&&(Re=G)),be=="Opera"&&(G=/\bzbov|zvav$/.exec(q))?(be+=" ",Ae.unshift("desktop mode"),G=="zvav"?(be+="Mini",Re=null):be+="Mobile",q=q.replace(RegExp(" *"+G+"$"),"")):be=="Safari"&&/\bChrome\b/.exec(ne&&ne[1])&&(Ae.unshift("desktop mode"),be="Chrome Mobile",Re=null,/\bOS X\b/.test(q)?(se="Apple",q="iOS 4.3+"):q=null),Re&&Re.indexOf(G=/[\d.]+$/.exec(q))==0&&v.indexOf("/"+G+"-")>-1&&(q=E(q.replace(G,""))),ne&&!/\b(?:Avant|Nook)\b/.test(be)&&(/Browser|Lunascape|Maxthon/.test(be)||be!="Safari"&&/^iOS/.test(q)&&/\bSafari\b/.test(ne[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(be)&&ne[1])&&((G=ne[ne.length-1])&&Ae.push(G)),Ae.length&&(Ae=["("+Ae.join("; ")+")"]),se&&at&&at.indexOf(se)<0&&Ae.push("on "+se),at&&Ae.push((/^on /.test(Ae[Ae.length-1])?"":"on ")+at),q&&(G=/ ([\d.+]+)$/.exec(q),rt=G&&q.charAt(q.length-G[0].length-1)=="/",q={architecture:32,family:G&&!rt?q.replace(G[0],""):q,version:G?G[1]:null,toString:function(){var De=this.version;return this.family+(De&&!rt?" "+De:"")+(this.architecture==64?" 64-bit":"")}}),(G=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(ye))&&!/\bi686\b/i.test(ye)?(q&&(q.architecture=64,q.family=q.family.replace(RegExp(" *"+G),"")),be&&(/\bWOW64\b/i.test(v)||Pe&&/\w(?:86|32)$/.test(L.cpuClass||L.platform)&&!/\bWin64; x64\b/i.test(v))&&Ae.unshift("32-bit")):q&&/^OS X/.test(q.family)&&be=="Chrome"&&parseFloat(Re)>=39&&(q.architecture=64),v||(v=null);var J={};return J.description=v,J.layout=ne&&ne[0],J.manufacturer=se,J.name=be,J.prerelease=ge,J.product=at,J.ua=v,J.version=be&&Re,J.os=q||{architecture:null,family:null,version:null,toString:function(){return"null"}},J.parse=T,J.toString=te,J.version&&Ae.unshift(Re),J.name&&Ae.unshift(be),q&&be&&!(q==String(q).split(" ")[0]&&(q==be.split(" ")[0]||at))&&Ae.push(at?"("+q+")":"on "+q),Ae.length&&(J.description=Ae.join(" ")),J}var _=T();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(b.platform=_,define(function(){return _})):y&&h?p(_,function(v,S){y[S]=v}):b.platform=_}).call(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],207:[function(R,I,e){(function(g){"use strict";typeof g=="undefined"||!g.version||g.version.indexOf("v0.")===0||g.version.indexOf("v1.")===0&&g.version.indexOf("v1.8.")!==0?I.exports={nextTick:f}:I.exports=g;function f(b,m,y,h){if(typeof b!="function")throw new TypeError('"callback" argument must be a function');var u=arguments.length,i,a;switch(u){case 0:case 1:return g.nextTick(b);case 2:return g.nextTick(function(){b.call(null,m)});case 3:return g.nextTick(function(){b.call(null,m,y)});case 4:return g.nextTick(function(){b.call(null,m,y,h)});default:for(i=new Array(u-1),a=0;a<i.length;)i[a++]=arguments[a];return g.nextTick(function(){b.apply(null,i)})}}}).call(this,R("_process"))},{_process:208}],208:[function(R,I,e){var g=I.exports={},f,b;function m(){throw new Error("setTimeout has not been defined")}function y(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?f=setTimeout:f=m}catch(s){f=m}try{typeof clearTimeout=="function"?b=clearTimeout:b=y}catch(s){b=y}})();function h(s){if(f===setTimeout)return setTimeout(s,0);if((f===m||!f)&&setTimeout)return f=setTimeout,setTimeout(s,0);try{return f(s,0)}catch(c){try{return f.call(null,s,0)}catch(p){return f.call(this,s,0)}}}function u(s){if(b===clearTimeout)return clearTimeout(s);if((b===y||!b)&&clearTimeout)return b=clearTimeout,clearTimeout(s);try{return b(s)}catch(c){try{return b.call(null,s)}catch(p){return b.call(this,s)}}}var i=[],a=!1,r,o=-1;function d(){if(!a||!r)return;a=!1,r.length?i=r.concat(i):o=-1,i.length&&n()}function n(){if(a)return;var s=h(d);a=!0;for(var c=i.length;c;){for(r=i,i=[];++o<c;)r&&r[o].run();o=-1,c=i.length}r=null,a=!1,u(s)}g.nextTick=function(s){var c=new Array(arguments.length-1);if(arguments.length>1)for(var p=1;p<arguments.length;p++)c[p-1]=arguments[p];i.push(new l(s,c)),i.length===1&&!a&&h(n)};function l(s,c){this.fun=s,this.array=c}l.prototype.run=function(){this.fun.apply(null,this.array)},g.title="browser",g.browser=!0,g.env={},g.argv=[],g.version="",g.versions={};function t(){}g.on=t,g.addListener=t,g.once=t,g.off=t,g.removeListener=t,g.removeAllListeners=t,g.emit=t,g.prependListener=t,g.prependOnceListener=t,g.listeners=function(s){return[]},g.binding=function(s){throw new Error("process.binding is not supported")},g.cwd=function(){return"/"},g.chdir=function(s){throw new Error("process.chdir is not supported")},g.umask=function(){return 0}},{}],209:[function(R,I,e){(function(g){/*! https://mths.be/punycode v1.4.1 by @mathias */(function(f){var b=typeof e=="object"&&e&&!e.nodeType&&e,m=typeof I=="object"&&I&&!I.nodeType&&I,y=typeof g=="object"&&g;(y.global===y||y.window===y||y.self===y)&&(f=y);var h,u=2147483647,i=36,a=1,r=26,o=38,d=700,n=72,l=128,t="-",s=/^xn--/,c=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,A={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=i-a,C=Math.floor,x=String.fromCharCode,E;function T(H){throw new RangeError(A[H])}function _(H,j){for(var k=H.length,B=[];k--;)B[k]=j(H[k]);return B}function v(H,j){var k=H.split("@"),B="";k.length>1&&(B=k[0]+"@",H=k[1]),H=H.replace(p,".");var V=H.split("."),K=_(V,j).join(".");return B+K}function S(H){for(var j=[],k=0,B=H.length,V,K;k<B;)V=H.charCodeAt(k++),V>=55296&&V<=56319&&k<B?(K=H.charCodeAt(k++),(K&64512)==56320?j.push(((V&1023)<<10)+(K&1023)+65536):(j.push(V),k--)):j.push(V);return j}function O(H){return _(H,function(j){var k="";return j>65535&&(j-=65536,k+=x(j>>>10&1023|55296),j=56320|j&1023),k+=x(j),k}).join("")}function L(H){return H-48<10?H-22:H-65<26?H-65:H-97<26?H-97:i}function M(H,j){return H+22+75*(H<26)-((j!=0)<<5)}function F(H,j,k){var B=0;for(H=k?C(H/d):H>>1,H+=C(H/j);H>w*r>>1;B+=i)H=C(H/w);return C(B+(w+1)*H/(H+o))}function U(H){var j=[],k=H.length,B,V=0,K=l,Y=n,Q,he,G,ye,Ae,ge,Pe,Re,rt;for(Q=H.lastIndexOf(t),Q<0&&(Q=0),he=0;he<Q;++he)H.charCodeAt(he)>=128&&T("not-basic"),j.push(H.charCodeAt(he));for(G=Q>0?Q+1:0;G<k;){for(ye=V,Ae=1,ge=i;!(G>=k&&T("invalid-input"),Pe=L(H.charCodeAt(G++)),(Pe>=i||Pe>C((u-V)/Ae))&&T("overflow"),V+=Pe*Ae,Re=ge<=Y?a:ge>=Y+r?r:ge-Y,Pe<Re);ge+=i)rt=i-Re,Ae>C(u/rt)&&T("overflow"),Ae*=rt;B=j.length+1,Y=F(V-ye,B,ye==0),C(V/B)>u-K&&T("overflow"),K+=C(V/B),V%=B,j.splice(V++,0,K)}return O(j)}function z(H){var j,k,B,V,K,Y,Q,he,G,ye,Ae,ge=[],Pe,Re,rt,ne;for(H=S(H),Pe=H.length,j=l,k=0,K=n,Y=0;Y<Pe;++Y)Ae=H[Y],Ae<128&&ge.push(x(Ae));for(B=V=ge.length,V&&ge.push(t);B<Pe;){for(Q=u,Y=0;Y<Pe;++Y)Ae=H[Y],Ae>=j&&Ae<Q&&(Q=Ae);for(Re=B+1,Q-j>C((u-k)/Re)&&T("overflow"),k+=(Q-j)*Re,j=Q,Y=0;Y<Pe;++Y)if(Ae=H[Y],Ae<j&&++k>u&&T("overflow"),Ae==j){for(he=k,G=i;!(ye=G<=K?a:G>=K+r?r:G-K,he<ye);G+=i)ne=he-ye,rt=i-ye,ge.push(x(M(ye+ne%rt,0))),he=C(ne/rt);ge.push(x(M(he,0))),K=F(k,Re,B==V),k=0,++B}++k,++j}return ge.join("")}function W(H){return v(H,function(j){return s.test(j)?U(j.slice(4).toLowerCase()):j})}function N(H){return v(H,function(j){return c.test(j)?"xn--"+z(j):j})}if(h={version:"1.4.1",ucs2:{decode:S,encode:O},decode:U,encode:z,toASCII:N,toUnicode:W},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return h});else if(b&&m)if(I.exports==b)m.exports=h;else for(E in h)h.hasOwnProperty(E)&&(b[E]=h[E]);else f.punycode=h})(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],210:[function(R,I,e){"use strict";function g(b,m){return Object.prototype.hasOwnProperty.call(b,m)}I.exports=function(b,m,y,h){m=m||"&",y=y||"=";var u={};if(typeof b!="string"||b.length===0)return u;var i=/\+/g;b=b.split(m);var a=1e3;h&&typeof h.maxKeys=="number"&&(a=h.maxKeys);var r=b.length;a>0&&r>a&&(r=a);for(var o=0;o<r;++o){var d=b[o].replace(i,"%20"),n=d.indexOf(y),l,t,s,c;n>=0?(l=d.substr(0,n),t=d.substr(n+1)):(l=d,t=""),s=decodeURIComponent(l),c=decodeURIComponent(t),g(u,s)?f(u[s])?u[s].push(c):u[s]=[u[s],c]:u[s]=c}return u};var f=Array.isArray||function(b){return Object.prototype.toString.call(b)==="[object Array]"}},{}],211:[function(R,I,e){"use strict";var g=function(h){switch(typeof h){case"string":return h;case"boolean":return h?"true":"false";case"number":return isFinite(h)?h:"";default:return""}};I.exports=function(y,h,u,i){return h=h||"&",u=u||"=",y===null&&(y=void 0),typeof y=="object"?b(m(y),function(a){var r=encodeURIComponent(g(a))+u;return f(y[a])?b(y[a],function(o){return r+encodeURIComponent(g(o))}).join(h):r+encodeURIComponent(g(y[a]))}).join(h):i?encodeURIComponent(g(i))+u+encodeURIComponent(g(y)):""};var f=Array.isArray||function(y){return Object.prototype.toString.call(y)==="[object Array]"};function b(y,h){if(y.map)return y.map(h);for(var u=[],i=0;i<y.length;i++)u.push(h(y[i],i));return u}var m=Object.keys||function(y){var h=[];for(var u in y)Object.prototype.hasOwnProperty.call(y,u)&&h.push(u);return h}},{}],212:[function(R,I,e){"use strict";e.decode=e.parse=R("./decode"),e.encode=e.stringify=R("./encode")},{"./decode":210,"./encode":211}],213:[function(R,I,e){I.exports=R("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":214}],214:[function(R,I,e){"use strict";var g=R("babel-runtime/core-js/object/create"),f=y(g),b=R("babel-runtime/core-js/object/keys"),m=y(b);function y(c){return c&&c.__esModule?c:{default:c}}var h=R("process-nextick-args"),u=m.default||function(c){var p=[];for(var A in c)p.push(A);return p};I.exports=l;var i=(0,f.default)(R("core-util-is"));i.inherits=R("inherits");var a=R("./_stream_readable"),r=R("./_stream_writable");i.inherits(l,a);for(var o=u(r.prototype),d=0;d<o.length;d++){var n=o[d];l.prototype[n]||(l.prototype[n]=r.prototype[n])}function l(c){if(!(this instanceof l))return new l(c);a.call(this,c),r.call(this,c),c&&c.readable===!1&&(this.readable=!1),c&&c.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,c&&c.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",t)}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function t(){if(this.allowHalfOpen||this._writableState.ended)return;h.nextTick(s,this)}function s(c){c.end()}Object.defineProperty(l.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(p){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=p,this._writableState.destroyed=p}}),l.prototype._destroy=function(c,p){this.push(null),this.end(),h.nextTick(p,c)}},{"./_stream_readable":216,"./_stream_writable":218,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60,"core-util-is":189,inherits:196,"process-nextick-args":207}],215:[function(R,I,e){"use strict";var g=R("babel-runtime/core-js/object/create"),f=b(g);function b(u){return u&&u.__esModule?u:{default:u}}I.exports=h;var m=R("./_stream_transform"),y=(0,f.default)(R("core-util-is"));y.inherits=R("inherits"),y.inherits(h,m);function h(u){if(!(this instanceof h))return new h(u);m.call(this,u)}h.prototype._transform=function(u,i,a){a(null,u)}},{"./_stream_transform":217,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],216:[function(R,I,e){(function(g,f){"use strict";var b=R("babel-runtime/core-js/object/get-prototype-of"),m=u(b),y=R("babel-runtime/core-js/object/create"),h=u(y);function u(ne){return ne&&ne.__esModule?ne:{default:ne}}var i=R("process-nextick-args");I.exports=S;var a=R("isarray"),r;S.ReadableState=v;var o=R("events").EventEmitter,d=function(be,at){return be.listeners(at).length},n=R("./internal/streams/stream"),l=R("safe-buffer").Buffer,t=f.Uint8Array||function(){};function s(ne){return l.from(ne)}function c(ne){return l.isBuffer(ne)||ne instanceof t}var p=(0,h.default)(R("core-util-is"));p.inherits=R("inherits");var A=R("util"),w=void 0;A&&A.debuglog?w=A.debuglog("stream"):w=function(){};var C=R("./internal/streams/BufferList"),x=R("./internal/streams/destroy"),E;p.inherits(S,n);var T=["error","close","destroy","pause","resume"];function _(ne,be,at){if(typeof ne.prependListener=="function")return ne.prependListener(be,at);!ne._events||!ne._events[be]?ne.on(be,at):a(ne._events[be])?ne._events[be].unshift(at):ne._events[be]=[at,ne._events[be]]}function v(ne,be){r=r||R("./_stream_duplex"),ne=ne||{};var at=be instanceof r;this.objectMode=!!ne.objectMode,at&&(this.objectMode=this.objectMode||!!ne.readableObjectMode);var se=ne.highWaterMark,q=ne.readableHighWaterMark,X=this.objectMode?16:16*1024;se||se===0?this.highWaterMark=se:at&&(q||q===0)?this.highWaterMark=q:this.highWaterMark=X,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new C,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=ne.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,ne.encoding&&(E||(E=R("string_decoder/").StringDecoder),this.decoder=new E(ne.encoding),this.encoding=ne.encoding)}function S(ne){if(r=r||R("./_stream_duplex"),!(this instanceof S))return new S(ne);this._readableState=new v(ne,this),this.readable=!0,ne&&(typeof ne.read=="function"&&(this._read=ne.read),typeof ne.destroy=="function"&&(this._destroy=ne.destroy)),n.call(this)}Object.defineProperty(S.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(be){if(!this._readableState)return;this._readableState.destroyed=be}}),S.prototype.destroy=x.destroy,S.prototype._undestroy=x.undestroy,S.prototype._destroy=function(ne,be){this.push(null),be(ne)},S.prototype.push=function(ne,be){var at=this._readableState,se;return at.objectMode?se=!0:typeof ne=="string"&&(be=be||at.defaultEncoding,be!==at.encoding&&(ne=l.from(ne,be),be=""),se=!0),O(this,ne,be,!1,se)},S.prototype.unshift=function(ne){return O(this,ne,null,!0,!1)};function O(ne,be,at,se,q){var X=ne._readableState;if(be===null)X.reading=!1,N(ne,X);else{var Z;q||(Z=M(X,be)),Z?ne.emit("error",Z):X.objectMode||be&&be.length>0?(typeof be!="string"&&!X.objectMode&&(0,m.default)(be)!==l.prototype&&(be=s(be)),se?X.endEmitted?ne.emit("error",new Error("stream.unshift() after end event")):L(ne,X,be,!0):X.ended?ne.emit("error",new Error("stream.push() after EOF")):(X.reading=!1,X.decoder&&!at?(be=X.decoder.write(be),X.objectMode||be.length!==0?L(ne,X,be,!1):k(ne,X)):L(ne,X,be,!1))):se||(X.reading=!1)}return F(X)}function L(ne,be,at,se){be.flowing&&be.length===0&&!be.sync?(ne.emit("data",at),ne.read(0)):(be.length+=be.objectMode?1:at.length,se?be.buffer.unshift(at):be.buffer.push(at),be.needReadable&&H(ne)),k(ne,be)}function M(ne,be){var at;return!c(be)&&typeof be!="string"&&be!==void 0&&!ne.objectMode&&(at=new TypeError("Invalid non-string/buffer chunk")),at}function F(ne){return!ne.ended&&(ne.needReadable||ne.length<ne.highWaterMark||ne.length===0)}S.prototype.isPaused=function(){return this._readableState.flowing===!1},S.prototype.setEncoding=function(ne){return E||(E=R("string_decoder/").StringDecoder),this._readableState.decoder=new E(ne),this._readableState.encoding=ne,this};var U=8388608;function z(ne){return ne>=U?ne=U:(ne--,ne|=ne>>>1,ne|=ne>>>2,ne|=ne>>>4,ne|=ne>>>8,ne|=ne>>>16,ne++),ne}function W(ne,be){return ne<=0||be.length===0&&be.ended?0:be.objectMode?1:ne!==ne?be.flowing&&be.length?be.buffer.head.data.length:be.length:(ne>be.highWaterMark&&(be.highWaterMark=z(ne)),ne<=be.length?ne:be.ended?be.length:(be.needReadable=!0,0))}S.prototype.read=function(ne){w("read",ne),ne=parseInt(ne,10);var be=this._readableState,at=ne;if(ne!==0&&(be.emittedReadable=!1),ne===0&&be.needReadable&&(be.length>=be.highWaterMark||be.ended))return w("read: emitReadable",be.length,be.ended),be.length===0&&be.ended?Pe(this):H(this),null;if(ne=W(ne,be),ne===0&&be.ended)return be.length===0&&Pe(this),null;var se=be.needReadable;w("need readable",se),(be.length===0||be.length-ne<be.highWaterMark)&&(se=!0,w("length less than watermark",se)),be.ended||be.reading?(se=!1,w("reading or ended",se)):se&&(w("do read"),be.reading=!0,be.sync=!0,be.length===0&&(be.needReadable=!0),this._read(be.highWaterMark),be.sync=!1,be.reading||(ne=W(at,be)));var q;return ne>0?q=G(ne,be):q=null,q===null?(be.needReadable=!0,ne=0):be.length-=ne,be.length===0&&(be.ended||(be.needReadable=!0),at!==ne&&be.ended&&Pe(this)),q!==null&&this.emit("data",q),q};function N(ne,be){if(be.ended)return;if(be.decoder){var at=be.decoder.end();at&&at.length&&(be.buffer.push(at),be.length+=be.objectMode?1:at.length)}be.ended=!0,H(ne)}function H(ne){var be=ne._readableState;be.needReadable=!1,be.emittedReadable||(w("emitReadable",be.flowing),be.emittedReadable=!0,be.sync?i.nextTick(j,ne):j(ne))}function j(ne){w("emit readable"),ne.emit("readable"),he(ne)}function k(ne,be){be.readingMore||(be.readingMore=!0,i.nextTick(B,ne,be))}function B(ne,be){for(var at=be.length;!be.reading&&!be.flowing&&!be.ended&&be.length<be.highWaterMark&&!(w("maybeReadMore read 0"),ne.read(0),at===be.length);)at=be.length;be.readingMore=!1}S.prototype._read=function(ne){this.emit("error",new Error("_read() is not implemented"))},S.prototype.pipe=function(ne,be){var at=this,se=this._readableState;switch(se.pipesCount){case 0:se.pipes=ne;break;case 1:se.pipes=[se.pipes,ne];break;default:se.pipes.push(ne);break}se.pipesCount+=1,w("pipe count=%d opts=%j",se.pipesCount,be);var q=(!be||be.end!==!1)&&ne!==g.stdout&&ne!==g.stderr,X=q?pe:dt;se.endEmitted?i.nextTick(X):at.once("end",X),ne.on("unpipe",Z);function Z(Me,Tt){w("onunpipe"),Me===at&&(Tt&&Tt.hasUnpiped===!1&&(Tt.hasUnpiped=!0,fe()))}function pe(){w("onend"),ne.end()}var oe=V(at);ne.on("drain",oe);var Ie=!1;function fe(){w("cleanup"),ne.removeListener("close",De),ne.removeListener("finish",ze),ne.removeListener("drain",oe),ne.removeListener("error",ve),ne.removeListener("unpipe",Z),at.removeListener("end",pe),at.removeListener("end",dt),at.removeListener("data",J),Ie=!0,se.awaitDrain&&(!ne._writableState||ne._writableState.needDrain)&&oe()}var te=!1;at.on("data",J);function J(Me){w("ondata"),te=!1;var Tt=ne.write(Me);Tt===!1&&!te&&((se.pipesCount===1&&se.pipes===ne||se.pipesCount>1&&rt(se.pipes,ne)!==-1)&&!Ie&&(w("false write response, pause",at._readableState.awaitDrain),at._readableState.awaitDrain++,te=!0),at.pause())}function ve(Me){w("onerror",Me),dt(),ne.removeListener("error",ve),d(ne,"error")===0&&ne.emit("error",Me)}_(ne,"error",ve);function De(){ne.removeListener("finish",ze),dt()}ne.once("close",De);function ze(){w("onfinish"),ne.removeListener("close",De),dt()}ne.once("finish",ze);function dt(){w("unpipe"),at.unpipe(ne)}return ne.emit("pipe",at),se.flowing||(w("pipe resume"),at.resume()),ne};function V(ne){return function(){var be=ne._readableState;w("pipeOnDrain",be.awaitDrain),be.awaitDrain&&be.awaitDrain--,be.awaitDrain===0&&d(ne,"data")&&(be.flowing=!0,he(ne))}}S.prototype.unpipe=function(ne){var be=this._readableState,at={hasUnpiped:!1};if(be.pipesCount===0)return this;if(be.pipesCount===1)return ne&&ne!==be.pipes?this:(ne||(ne=be.pipes),be.pipes=null,be.pipesCount=0,be.flowing=!1,ne&&ne.emit("unpipe",this,at),this);if(!ne){var se=be.pipes,q=be.pipesCount;be.pipes=null,be.pipesCount=0,be.flowing=!1;for(var X=0;X<q;X++)se[X].emit("unpipe",this,at);return this}var Z=rt(be.pipes,ne);return Z===-1?this:(be.pipes.splice(Z,1),be.pipesCount-=1,be.pipesCount===1&&(be.pipes=be.pipes[0]),ne.emit("unpipe",this,at),this)},S.prototype.on=function(ne,be){var at=n.prototype.on.call(this,ne,be);if(ne==="data")this._readableState.flowing!==!1&&this.resume();else if(ne==="readable"){var se=this._readableState;!se.endEmitted&&!se.readableListening&&(se.readableListening=se.needReadable=!0,se.emittedReadable=!1,se.reading?se.length&&H(this):i.nextTick(K,this))}return at},S.prototype.addListener=S.prototype.on;function K(ne){w("readable nexttick read 0"),ne.read(0)}S.prototype.resume=function(){var ne=this._readableState;return ne.flowing||(w("resume"),ne.flowing=!0,Y(this,ne)),this};function Y(ne,be){be.resumeScheduled||(be.resumeScheduled=!0,i.nextTick(Q,ne,be))}function Q(ne,be){be.reading||(w("resume read 0"),ne.read(0)),be.resumeScheduled=!1,be.awaitDrain=0,ne.emit("resume"),he(ne),be.flowing&&!be.reading&&ne.read(0)}S.prototype.pause=function(){return w("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(w("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function he(ne){var be=ne._readableState;for(w("flow",be.flowing);be.flowing&&ne.read()!==null;);}S.prototype.wrap=function(ne){var be=this,at=this._readableState,se=!1;ne.on("end",function(){if(w("wrapped end"),at.decoder&&!at.ended){var Z=at.decoder.end();Z&&Z.length&&be.push(Z)}be.push(null)}),ne.on("data",function(Z){if(w("wrapped data"),at.decoder&&(Z=at.decoder.write(Z)),at.objectMode&&Z==null)return;if(!at.objectMode&&(!Z||!Z.length))return;var pe=be.push(Z);pe||(se=!0,ne.pause())});for(var q in ne)this[q]===void 0&&typeof ne[q]=="function"&&(this[q]=function(Z){return function(){return ne[Z].apply(ne,arguments)}}(q));for(var X=0;X<T.length;X++)ne.on(T[X],this.emit.bind(this,T[X]));return this._read=function(Z){w("wrapped _read",Z),se&&(se=!1,ne.resume())},this},Object.defineProperty(S.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),S._fromList=G;function G(ne,be){if(be.length===0)return null;var at;return be.objectMode?at=be.buffer.shift():!ne||ne>=be.length?(be.decoder?at=be.buffer.join(""):be.buffer.length===1?at=be.buffer.head.data:at=be.buffer.concat(be.length),be.buffer.clear()):at=ye(ne,be.buffer,be.decoder),at}function ye(ne,be,at){var se;return ne<be.head.data.length?(se=be.head.data.slice(0,ne),be.head.data=be.head.data.slice(ne)):ne===be.head.data.length?se=be.shift():se=at?Ae(ne,be):ge(ne,be),se}function Ae(ne,be){var at=be.head,se=1,q=at.data;for(ne-=q.length;at=at.next;){var X=at.data,Z=ne>X.length?X.length:ne;if(Z===X.length?q+=X:q+=X.slice(0,ne),ne-=Z,ne===0){Z===X.length?(++se,at.next?be.head=at.next:be.head=be.tail=null):(be.head=at,at.data=X.slice(Z));break}++se}return be.length-=se,q}function ge(ne,be){var at=l.allocUnsafe(ne),se=be.head,q=1;for(se.data.copy(at),ne-=se.data.length;se=se.next;){var X=se.data,Z=ne>X.length?X.length:ne;if(X.copy(at,at.length-ne,0,Z),ne-=Z,ne===0){Z===X.length?(++q,se.next?be.head=se.next:be.head=be.tail=null):(be.head=se,se.data=X.slice(Z));break}++q}return be.length-=q,at}function Pe(ne){var be=ne._readableState;if(be.length>0)throw new Error('"endReadable()" called on non-empty stream');be.endEmitted||(be.ended=!0,i.nextTick(Re,be,ne))}function Re(ne,be){!ne.endEmitted&&ne.length===0&&(ne.endEmitted=!0,be.readable=!1,be.emit("end"))}function rt(ne,be){for(var at=0,se=ne.length;at<se;at++)if(ne[at]===be)return at;return-1}}).call(this,R("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":214,"./internal/streams/BufferList":219,"./internal/streams/destroy":220,"./internal/streams/stream":221,_process:208,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/get-prototype-of":59,"core-util-is":189,events:192,inherits:196,isarray:198,"process-nextick-args":207,"safe-buffer":228,"string_decoder/":235,util:71}],217:[function(R,I,e){"use strict";var g=R("babel-runtime/core-js/object/create"),f=b(g);function b(r){return r&&r.__esModule?r:{default:r}}I.exports=u;var m=R("./_stream_duplex"),y=(0,f.default)(R("core-util-is"));y.inherits=R("inherits"),y.inherits(u,m);function h(r,o){var d=this._transformState;d.transforming=!1;var n=d.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));d.writechunk=null,d.writecb=null,o!=null&&this.push(o),n(r);var l=this._readableState;l.reading=!1,(l.needReadable||l.length<l.highWaterMark)&&this._read(l.highWaterMark)}function u(r){if(!(this instanceof u))return new u(r);m.call(this,r),this._transformState={afterTransform:h.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,r&&(typeof r.transform=="function"&&(this._transform=r.transform),typeof r.flush=="function"&&(this._flush=r.flush)),this.on("prefinish",i)}function i(){var r=this;typeof this._flush=="function"?this._flush(function(o,d){a(r,o,d)}):a(this,null,null)}u.prototype.push=function(r,o){return this._transformState.needTransform=!1,m.prototype.push.call(this,r,o)},u.prototype._transform=function(r,o,d){throw new Error("_transform() is not implemented")},u.prototype._write=function(r,o,d){var n=this._transformState;if(n.writecb=d,n.writechunk=r,n.writeencoding=o,!n.transforming){var l=this._readableState;(n.needTransform||l.needReadable||l.length<l.highWaterMark)&&this._read(l.highWaterMark)}},u.prototype._read=function(r){var o=this._transformState;o.writechunk!==null&&o.writecb&&!o.transforming?(o.transforming=!0,this._transform(o.writechunk,o.writeencoding,o.afterTransform)):o.needTransform=!0},u.prototype._destroy=function(r,o){var d=this;m.prototype._destroy.call(this,r,function(n){o(n),d.emit("close")})};function a(r,o,d){if(o)return r.emit("error",o);if(d!=null&&r.push(d),r._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(r._transformState.transforming)throw new Error("Calling transform done when still transforming");return r.push(null)}},{"./_stream_duplex":214,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],218:[function(R,I,e){(function(g,f){"use strict";var b=R("babel-runtime/core-js/object/define-property"),m=n(b),y=R("babel-runtime/core-js/symbol/has-instance"),h=n(y),u=R("babel-runtime/core-js/symbol"),i=n(u),a=R("babel-runtime/core-js/object/create"),r=n(a),o=R("babel-runtime/core-js/set-immediate"),d=n(o);function n(ge){return ge&&ge.__esModule?ge:{default:ge}}var l=R("process-nextick-args");I.exports=M;function t(ge,Pe,Re){this.chunk=ge,this.encoding=Pe,this.callback=Re,this.next=null}function s(ge){var Pe=this;this.next=null,this.entry=null,this.finish=function(){Ae(Pe,ge)}}var c=!g.browser&&["v0.10","v0.9."].indexOf(g.version.slice(0,5))>-1?d.default:l.nextTick,p;M.WritableState=O;var A=(0,r.default)(R("core-util-is"));A.inherits=R("inherits");var w={deprecate:R("util-deprecate")},C=R("./internal/streams/stream"),x=R("safe-buffer").Buffer,E=f.Uint8Array||function(){};function T(ge){return x.from(ge)}function _(ge){return x.isBuffer(ge)||ge instanceof E}var v=R("./internal/streams/destroy");A.inherits(M,C);function S(){}function O(ge,Pe){p=p||R("./_stream_duplex"),ge=ge||{};var Re=Pe instanceof p;this.objectMode=!!ge.objectMode,Re&&(this.objectMode=this.objectMode||!!ge.writableObjectMode);var rt=ge.highWaterMark,ne=ge.writableHighWaterMark,be=this.objectMode?16:16*1024;rt||rt===0?this.highWaterMark=rt:Re&&(ne||ne===0)?this.highWaterMark=ne:this.highWaterMark=be,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 at=ge.decodeStrings===!1;this.decodeStrings=!at,this.defaultEncoding=ge.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(se){k(Pe,se)},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 s(this)}O.prototype.getBuffer=function(){for(var Pe=this.bufferedRequest,Re=[];Pe;)Re.push(Pe),Pe=Pe.next;return Re},function(){try{Object.defineProperty(O.prototype,"buffer",{get:w.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(ge){}}();var L;typeof i.default=="function"&&h.default&&typeof Function.prototype[h.default]=="function"?(L=Function.prototype[h.default],(0,m.default)(M,h.default,{value:function(Pe){return L.call(this,Pe)?!0:this!==M?!1:Pe&&Pe._writableState instanceof O}})):L=function(Pe){return Pe instanceof this};function M(ge){if(p=p||R("./_stream_duplex"),!L.call(M,this)&&!(this instanceof p))return new M(ge);this._writableState=new O(ge,this),this.writable=!0,ge&&(typeof ge.write=="function"&&(this._write=ge.write),typeof ge.writev=="function"&&(this._writev=ge.writev),typeof ge.destroy=="function"&&(this._destroy=ge.destroy),typeof ge.final=="function"&&(this._final=ge.final)),C.call(this)}M.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function F(ge,Pe){var Re=new Error("write after end");ge.emit("error",Re),l.nextTick(Pe,Re)}function U(ge,Pe,Re,rt){var ne=!0,be=!1;return Re===null?be=new TypeError("May not write null values to stream"):typeof Re!="string"&&Re!==void 0&&!Pe.objectMode&&(be=new TypeError("Invalid non-string/buffer chunk")),be&&(ge.emit("error",be),l.nextTick(rt,be),ne=!1),ne}M.prototype.write=function(ge,Pe,Re){var rt=this._writableState,ne=!1,be=!rt.objectMode&&_(ge);return be&&!x.isBuffer(ge)&&(ge=T(ge)),typeof Pe=="function"&&(Re=Pe,Pe=null),be?Pe="buffer":Pe||(Pe=rt.defaultEncoding),typeof Re!="function"&&(Re=S),rt.ended?F(this,Re):(be||U(this,rt,ge,Re))&&(rt.pendingcb++,ne=W(this,rt,be,ge,Pe,Re)),ne},M.prototype.cork=function(){var ge=this._writableState;ge.corked++},M.prototype.uncork=function(){var ge=this._writableState;ge.corked&&(ge.corked--,!ge.writing&&!ge.corked&&!ge.finished&&!ge.bufferProcessing&&ge.bufferedRequest&&K(this,ge))},M.prototype.setDefaultEncoding=function(Pe){if(typeof Pe=="string"&&(Pe=Pe.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Pe+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+Pe);return this._writableState.defaultEncoding=Pe,this};function z(ge,Pe,Re){return!ge.objectMode&&ge.decodeStrings!==!1&&typeof Pe=="string"&&(Pe=x.from(Pe,Re)),Pe}Object.defineProperty(M.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function W(ge,Pe,Re,rt,ne,be){if(!Re){var at=z(Pe,rt,ne);rt!==at&&(Re=!0,ne="buffer",rt=at)}var se=Pe.objectMode?1:rt.length;Pe.length+=se;var q=Pe.length<Pe.highWaterMark;if(q||(Pe.needDrain=!0),Pe.writing||Pe.corked){var X=Pe.lastBufferedRequest;Pe.lastBufferedRequest={chunk:rt,encoding:ne,isBuf:Re,callback:be,next:null},X?X.next=Pe.lastBufferedRequest:Pe.bufferedRequest=Pe.lastBufferedRequest,Pe.bufferedRequestCount+=1}else N(ge,Pe,!1,se,rt,ne,be);return q}function N(ge,Pe,Re,rt,ne,be,at){Pe.writelen=rt,Pe.writecb=at,Pe.writing=!0,Pe.sync=!0,Re?ge._writev(ne,Pe.onwrite):ge._write(ne,be,Pe.onwrite),Pe.sync=!1}function H(ge,Pe,Re,rt,ne){--Pe.pendingcb,Re?(l.nextTick(ne,rt),l.nextTick(G,ge,Pe),ge._writableState.errorEmitted=!0,ge.emit("error",rt)):(ne(rt),ge._writableState.errorEmitted=!0,ge.emit("error",rt),G(ge,Pe))}function j(ge){ge.writing=!1,ge.writecb=null,ge.length-=ge.writelen,ge.writelen=0}function k(ge,Pe){var Re=ge._writableState,rt=Re.sync,ne=Re.writecb;if(j(Re),Pe)H(ge,Re,rt,Pe,ne);else{var be=Y(Re);!be&&!Re.corked&&!Re.bufferProcessing&&Re.bufferedRequest&&K(ge,Re),rt?c(B,ge,Re,be,ne):B(ge,Re,be,ne)}}function B(ge,Pe,Re,rt){Re||V(ge,Pe),Pe.pendingcb--,rt(),G(ge,Pe)}function V(ge,Pe){Pe.length===0&&Pe.needDrain&&(Pe.needDrain=!1,ge.emit("drain"))}function K(ge,Pe){Pe.bufferProcessing=!0;var Re=Pe.bufferedRequest;if(ge._writev&&Re&&Re.next){var rt=Pe.bufferedRequestCount,ne=new Array(rt),be=Pe.corkedRequestsFree;be.entry=Re;for(var at=0,se=!0;Re;)ne[at]=Re,Re.isBuf||(se=!1),Re=Re.next,at+=1;ne.allBuffers=se,N(ge,Pe,!0,Pe.length,ne,"",be.finish),Pe.pendingcb++,Pe.lastBufferedRequest=null,be.next?(Pe.corkedRequestsFree=be.next,be.next=null):Pe.corkedRequestsFree=new s(Pe),Pe.bufferedRequestCount=0}else{for(;Re;){var q=Re.chunk,X=Re.encoding,Z=Re.callback,pe=Pe.objectMode?1:q.length;if(N(ge,Pe,!1,pe,q,X,Z),Re=Re.next,Pe.bufferedRequestCount--,Pe.writing)break}Re===null&&(Pe.lastBufferedRequest=null)}Pe.bufferedRequest=Re,Pe.bufferProcessing=!1}M.prototype._write=function(ge,Pe,Re){Re(new Error("_write() is not implemented"))},M.prototype._writev=null,M.prototype.end=function(ge,Pe,Re){var rt=this._writableState;typeof ge=="function"?(Re=ge,ge=null,Pe=null):typeof Pe=="function"&&(Re=Pe,Pe=null),ge!=null&&this.write(ge,Pe),rt.corked&&(rt.corked=1,this.uncork()),!rt.ending&&!rt.finished&&ye(this,rt,Re)};function Y(ge){return ge.ending&&ge.length===0&&ge.bufferedRequest===null&&!ge.finished&&!ge.writing}function Q(ge,Pe){ge._final(function(Re){Pe.pendingcb--,Re&&ge.emit("error",Re),Pe.prefinished=!0,ge.emit("prefinish"),G(ge,Pe)})}function he(ge,Pe){!Pe.prefinished&&!Pe.finalCalled&&(typeof ge._final=="function"?(Pe.pendingcb++,Pe.finalCalled=!0,l.nextTick(Q,ge,Pe)):(Pe.prefinished=!0,ge.emit("prefinish")))}function G(ge,Pe){var Re=Y(Pe);return Re&&(he(ge,Pe),Pe.pendingcb===0&&(Pe.finished=!0,ge.emit("finish"))),Re}function ye(ge,Pe,Re){Pe.ending=!0,G(ge,Pe),Re&&(Pe.finished?l.nextTick(Re):ge.once("finish",Re)),Pe.ended=!0,ge.writable=!1}function Ae(ge,Pe,Re){var rt=ge.entry;for(ge.entry=null;rt;){var ne=rt.callback;Pe.pendingcb--,ne(Re),rt=rt.next}Pe.corkedRequestsFree?Pe.corkedRequestsFree.next=ge:Pe.corkedRequestsFree=ge}Object.defineProperty(M.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Pe){if(!this._writableState)return;this._writableState.destroyed=Pe}}),M.prototype.destroy=v.destroy,M.prototype._undestroy=v.undestroy,M.prototype._destroy=function(ge,Pe){this.end(),Pe(ge)}}).call(this,R("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":214,"./internal/streams/destroy":220,"./internal/streams/stream":221,_process:208,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/define-property":56,"babel-runtime/core-js/set-immediate":62,"babel-runtime/core-js/symbol":64,"babel-runtime/core-js/symbol/has-instance":65,"core-util-is":189,inherits:196,"process-nextick-args":207,"safe-buffer":228,"util-deprecate":240}],219:[function(R,I,e){"use strict";function g(y,h){if(!(y instanceof h))throw new TypeError("Cannot call a class as a function")}var f=R("safe-buffer").Buffer,b=R("util");function m(y,h,u){y.copy(h,u)}I.exports=function(){function y(){g(this,y),this.head=null,this.tail=null,this.length=0}return y.prototype.push=function(u){var i={data:u,next:null};this.length>0?this.tail.next=i:this.head=i,this.tail=i,++this.length},y.prototype.unshift=function(u){var i={data:u,next:this.head};this.length===0&&(this.tail=i),this.head=i,++this.length},y.prototype.shift=function(){if(this.length===0)return;var u=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,u},y.prototype.clear=function(){this.head=this.tail=null,this.length=0},y.prototype.join=function(u){if(this.length===0)return"";for(var i=this.head,a=""+i.data;i=i.next;)a+=u+i.data;return a},y.prototype.concat=function(u){if(this.length===0)return f.alloc(0);if(this.length===1)return this.head.data;for(var i=f.allocUnsafe(u>>>0),a=this.head,r=0;a;)m(a.data,i,r),r+=a.data.length,a=a.next;return i},y}(),b&&b.inspect&&b.inspect.custom&&(I.exports.prototype[b.inspect.custom]=function(){var y=b.inspect({length:this.length});return this.constructor.name+" "+y})},{"safe-buffer":228,util:71}],220:[function(R,I,e){"use strict";var g=R("process-nextick-args");function f(y,h){var u=this,i=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return i||a?(h?h(y):y&&(!this._writableState||!this._writableState.errorEmitted)&&g.nextTick(m,this,y),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(y||null,function(r){!h&&r?(g.nextTick(m,u,r),u._writableState&&(u._writableState.errorEmitted=!0)):h&&h(r)}),this)}function b(){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.finished=!1,this._writableState.errorEmitted=!1)}function m(y,h){y.emit("error",h)}I.exports={destroy:f,undestroy:b}},{"process-nextick-args":207}],221:[function(R,I,e){"use strict";I.exports=R("events").EventEmitter},{events:192}],222:[function(R,I,e){I.exports=R("./readable").PassThrough},{"./readable":223}],223:[function(R,I,e){e=I.exports=R("./lib/_stream_readable.js"),e.Stream=e,e.Readable=e,e.Writable=R("./lib/_stream_writable.js"),e.Duplex=R("./lib/_stream_duplex.js"),e.Transform=R("./lib/_stream_transform.js"),e.PassThrough=R("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":214,"./lib/_stream_passthrough.js":215,"./lib/_stream_readable.js":216,"./lib/_stream_transform.js":217,"./lib/_stream_writable.js":218}],224:[function(R,I,e){I.exports=R("./readable").Transform},{"./readable":223}],225:[function(R,I,e){I.exports=R("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":218}],226:[function(R,I,e){var g=function(){return this}()||Function("return this")(),f=g.regeneratorRuntime&&Object.getOwnPropertyNames(g).indexOf("regeneratorRuntime")>=0,b=f&&g.regeneratorRuntime;if(g.regeneratorRuntime=void 0,I.exports=R("./runtime"),f)g.regeneratorRuntime=b;else try{delete g.regeneratorRuntime}catch(m){g.regeneratorRuntime=void 0}},{"./runtime":227}],227:[function(R,I,e){!function(g){"use strict";var f=Object.prototype,b=f.hasOwnProperty,m,y=typeof Symbol=="function"?Symbol:{},h=y.iterator||"@@iterator",u=y.asyncIterator||"@@asyncIterator",i=y.toStringTag||"@@toStringTag",a=typeof I=="object",r=g.regeneratorRuntime;if(r){a&&(I.exports=r);return}r=g.regeneratorRuntime=a?I.exports:{};function o(W,N,H,j){var k=N&&N.prototype instanceof p?N:p,B=Object.create(k.prototype),V=new F(j||[]);return B._invoke=S(W,H,V),B}r.wrap=o;function d(W,N,H){try{return{type:"normal",arg:W.call(N,H)}}catch(j){return{type:"throw",arg:j}}}var n="suspendedStart",l="suspendedYield",t="executing",s="completed",c={};function p(){}function A(){}function w(){}var C={};C[h]=function(){return this};var x=Object.getPrototypeOf,E=x&&x(x(U([])));E&&E!==f&&b.call(E,h)&&(C=E);var T=w.prototype=p.prototype=Object.create(C);A.prototype=T.constructor=w,w.constructor=A,w[i]=A.displayName="GeneratorFunction";function _(W){["next","throw","return"].forEach(function(N){W[N]=function(H){return this._invoke(N,H)}})}r.isGeneratorFunction=function(W){var N=typeof W=="function"&&W.constructor;return N?N===A||(N.displayName||N.name)==="GeneratorFunction":!1},r.mark=function(W){return Object.setPrototypeOf?Object.setPrototypeOf(W,w):(W.__proto__=w,i in W||(W[i]="GeneratorFunction")),W.prototype=Object.create(T),W},r.awrap=function(W){return{__await:W}};function v(W){function N(k,B,V,K){var Y=d(W[k],W,B);if(Y.type==="throw")K(Y.arg);else{var Q=Y.arg,he=Q.value;return he&&typeof he=="object"&&b.call(he,"__await")?Promise.resolve(he.__await).then(function(G){N("next",G,V,K)},function(G){N("throw",G,V,K)}):Promise.resolve(he).then(function(G){Q.value=G,V(Q)},K)}}var H;function j(k,B){function V(){return new Promise(function(K,Y){N(k,B,K,Y)})}return H=H?H.then(V,V):V()}this._invoke=j}_(v.prototype),v.prototype[u]=function(){return this},r.AsyncIterator=v,r.async=function(W,N,H,j){var k=new v(o(W,N,H,j));return r.isGeneratorFunction(N)?k:k.next().then(function(B){return B.done?B.value:k.next()})};function S(W,N,H){var j=n;return function(B,V){if(j===t)throw new Error("Generator is already running");if(j===s){if(B==="throw")throw V;return z()}for(H.method=B,H.arg=V;;){var K=H.delegate;if(K){var Y=O(K,H);if(Y){if(Y===c)continue;return Y}}if(H.method==="next")H.sent=H._sent=H.arg;else if(H.method==="throw"){if(j===n)throw j=s,H.arg;H.dispatchException(H.arg)}else H.method==="return"&&H.abrupt("return",H.arg);j=t;var Q=d(W,N,H);if(Q.type==="normal"){if(j=H.done?s:l,Q.arg===c)continue;return{value:Q.arg,done:H.done}}else Q.type==="throw"&&(j=s,H.method="throw",H.arg=Q.arg)}}}function O(W,N){var H=W.iterator[N.method];if(H===m){if(N.delegate=null,N.method==="throw"){if(W.iterator.return&&(N.method="return",N.arg=m,O(W,N),N.method==="throw"))return c;N.method="throw",N.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var j=d(H,W.iterator,N.arg);if(j.type==="throw")return N.method="throw",N.arg=j.arg,N.delegate=null,c;var k=j.arg;if(!k)return N.method="throw",N.arg=new TypeError("iterator result is not an object"),N.delegate=null,c;if(k.done)N[W.resultName]=k.value,N.next=W.nextLoc,N.method!=="return"&&(N.method="next",N.arg=m);else return k;return N.delegate=null,c}_(T),T[i]="Generator",T[h]=function(){return this},T.toString=function(){return"[object Generator]"};function L(W){var N={tryLoc:W[0]};1 in W&&(N.catchLoc=W[1]),2 in W&&(N.finallyLoc=W[2],N.afterLoc=W[3]),this.tryEntries.push(N)}function M(W){var N=W.completion||{};N.type="normal",delete N.arg,W.completion=N}function F(W){this.tryEntries=[{tryLoc:"root"}],W.forEach(L,this),this.reset(!0)}r.keys=function(W){var N=[];for(var H in W)N.push(H);return N.reverse(),function j(){for(;N.length;){var k=N.pop();if(k in W)return j.value=k,j.done=!1,j}return j.done=!0,j}};function U(W){if(W){var N=W[h];if(N)return N.call(W);if(typeof W.next=="function")return W;if(!isNaN(W.length)){var H=-1,j=function k(){for(;++H<W.length;)if(b.call(W,H))return k.value=W[H],k.done=!1,k;return k.value=m,k.done=!0,k};return j.next=j}}return{next:z}}r.values=U;function z(){return{value:m,done:!0}}F.prototype={constructor:F,reset:function(N){if(this.prev=0,this.next=0,this.sent=this._sent=m,this.done=!1,this.delegate=null,this.method="next",this.arg=m,this.tryEntries.forEach(M),!N)for(var H in this)H.charAt(0)==="t"&&b.call(this,H)&&!isNaN(+H.slice(1))&&(this[H]=m)},stop:function(){this.done=!0;var N=this.tryEntries[0],H=N.completion;if(H.type==="throw")throw H.arg;return this.rval},dispatchException:function(N){if(this.done)throw N;var H=this;function j(Q,he){return V.type="throw",V.arg=N,H.next=Q,he&&(H.method="next",H.arg=m),!!he}for(var k=this.tryEntries.length-1;k>=0;--k){var B=this.tryEntries[k],V=B.completion;if(B.tryLoc==="root")return j("end");if(B.tryLoc<=this.prev){var K=b.call(B,"catchLoc"),Y=b.call(B,"finallyLoc");if(K&&Y){if(this.prev<B.catchLoc)return j(B.catchLoc,!0);if(this.prev<B.finallyLoc)return j(B.finallyLoc)}else if(K){if(this.prev<B.catchLoc)return j(B.catchLoc,!0)}else if(Y){if(this.prev<B.finallyLoc)return j(B.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(N,H){for(var j=this.tryEntries.length-1;j>=0;--j){var k=this.tryEntries[j];if(k.tryLoc<=this.prev&&b.call(k,"finallyLoc")&&this.prev<k.finallyLoc){var B=k;break}}B&&(N==="break"||N==="continue")&&B.tryLoc<=H&&H<=B.finallyLoc&&(B=null);var V=B?B.completion:{};return V.type=N,V.arg=H,B?(this.method="next",this.next=B.finallyLoc,c):this.complete(V)},complete:function(N,H){if(N.type==="throw")throw N.arg;return N.type==="break"||N.type==="continue"?this.next=N.arg:N.type==="return"?(this.rval=this.arg=N.arg,this.method="return",this.next="end"):N.type==="normal"&&H&&(this.next=H),c},finish:function(N){for(var H=this.tryEntries.length-1;H>=0;--H){var j=this.tryEntries[H];if(j.finallyLoc===N)return this.complete(j.completion,j.afterLoc),M(j),c}},catch:function(N){for(var H=this.tryEntries.length-1;H>=0;--H){var j=this.tryEntries[H];if(j.tryLoc===N){var k=j.completion;if(k.type==="throw"){var B=k.arg;M(j)}return B}}throw new Error("illegal catch attempt")},delegateYield:function(N,H,j){return this.delegate={iterator:U(N),resultName:H,nextLoc:j},this.method==="next"&&(this.arg=m),c}}}(function(){return this}()||Function("return this")())},{}],228:[function(R,I,e){var g=R("buffer"),f=g.Buffer;function b(y,h){for(var u in y)h[u]=y[u]}f.from&&f.alloc&&f.allocUnsafe&&f.allocUnsafeSlow?I.exports=g:(b(g,e),e.Buffer=m);function m(y,h,u){return f(y,h,u)}b(f,m),m.from=function(y,h,u){if(typeof y=="number")throw new TypeError("Argument must not be a number");return f(y,h,u)},m.alloc=function(y,h,u){if(typeof y!="number")throw new TypeError("Argument must be a number");var i=f(y);return h!==void 0?typeof u=="string"?i.fill(h,u):i.fill(h):i.fill(0),i},m.allocUnsafe=function(y){if(typeof y!="number")throw new TypeError("Argument must be a number");return f(y)},m.allocUnsafeSlow=function(y){if(typeof y!="number")throw new TypeError("Argument must be a number");return g.SlowBuffer(y)}},{buffer:73}],229:[function(R,I,e){(function(g){"use strict";var f=R("babel-runtime/core-js/string/from-code-point"),b=l(f),m=R("babel-runtime/core-js/json/stringify"),y=l(m),h=R("babel-runtime/helpers/typeof"),u=l(h),i=R("babel-runtime/core-js/object/define-property"),a=l(i),r=R("babel-runtime/core-js/object/keys"),o=l(r),d=R("babel-runtime/core-js/object/create"),n=l(d);function l(t){return t&&t.__esModule?t:{default:t}}(function(t){t.parser=function(X,Z){return new c(X,Z)},t.SAXParser=c,t.SAXStream=T,t.createStream=E,t.MAX_BUFFER_LENGTH=64*1024;var s=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];t.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function c(X,Z){if(!(this instanceof c))return new c(X,Z);var pe=this;A(pe),pe.q=pe.c="",pe.bufferCheckPosition=t.MAX_BUFFER_LENGTH,pe.opt=Z||{},pe.opt.lowercase=pe.opt.lowercase||pe.opt.lowercasetags,pe.looseCase=pe.opt.lowercase?"toLowerCase":"toUpperCase",pe.tags=[],pe.closed=pe.closedRoot=pe.sawRoot=!1,pe.tag=pe.error=null,pe.strict=!!X,pe.noscript=!!(X||pe.opt.noscript),pe.state=B.BEGIN,pe.strictEntities=pe.opt.strictEntities,pe.ENTITIES=pe.strictEntities?(0,n.default)(t.XML_ENTITIES):(0,n.default)(t.ENTITIES),pe.attribList=[],pe.opt.xmlns&&(pe.ns=(0,n.default)(L)),pe.trackPosition=pe.opt.position!==!1,pe.trackPosition&&(pe.position=pe.line=pe.column=0),K(pe,"onready")}n.default||(Object.create=function(X){function Z(){}Z.prototype=X;var pe=new Z;return pe}),o.default||(Object.keys=function(X){var Z=[];for(var pe in X)X.hasOwnProperty(pe)&&Z.push(pe);return Z});function p(X){for(var Z=Math.max(t.MAX_BUFFER_LENGTH,10),pe=0,oe=0,Ie=s.length;oe<Ie;oe++){var fe=X[s[oe]].length;if(fe>Z)switch(s[oe]){case"textNode":Q(X);break;case"cdata":Y(X,"oncdata",X.cdata),X.cdata="";break;case"script":Y(X,"onscript",X.script),X.script="";break;default:G(X,"Max buffer length exceeded: "+s[oe])}pe=Math.max(pe,fe)}var te=t.MAX_BUFFER_LENGTH-pe;X.bufferCheckPosition=te+X.position}function A(X){for(var Z=0,pe=s.length;Z<pe;Z++)X[s[Z]]=""}function w(X){Q(X),X.cdata!==""&&(Y(X,"oncdata",X.cdata),X.cdata=""),X.script!==""&&(Y(X,"onscript",X.script),X.script="")}c.prototype={end:function(){ye(this)},write:q,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){w(this)}};var C;try{C=R("stream").Stream}catch(X){C=function(){}}var x=t.EVENTS.filter(function(X){return X!=="error"&&X!=="end"});function E(X,Z){return new T(X,Z)}function T(X,Z){if(!(this instanceof T))return new T(X,Z);C.apply(this),this._parser=new c(X,Z),this.writable=!0,this.readable=!0;var pe=this;this._parser.onend=function(){pe.emit("end")},this._parser.onerror=function(oe){pe.emit("error",oe),pe._parser.error=null},this._decoder=null,x.forEach(function(oe){(0,a.default)(pe,"on"+oe,{get:function(){return pe._parser["on"+oe]},set:function(fe){if(!fe)return pe.removeAllListeners(oe),pe._parser["on"+oe]=fe,fe;pe.on(oe,fe)},enumerable:!0,configurable:!1})})}T.prototype=(0,n.default)(C.prototype,{constructor:{value:T}}),T.prototype.write=function(X){if(typeof g=="function"&&typeof g.isBuffer=="function"&&g.isBuffer(X)){if(!this._decoder){var Z=R("string_decoder").StringDecoder;this._decoder=new Z("utf8")}X=this._decoder.write(X)}return this._parser.write(X.toString()),this.emit("data",X),!0},T.prototype.end=function(X){return X&&X.length&&this.write(X),this._parser.end(),!0},T.prototype.on=function(X,Z){var pe=this;return!pe._parser["on"+X]&&x.indexOf(X)!==-1&&(pe._parser["on"+X]=function(){var oe=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);oe.splice(0,0,X),pe.emit.apply(pe,oe)}),C.prototype.on.call(pe,X,Z)};var _="[CDATA[",v="DOCTYPE",S="http://www.w3.org/XML/1998/namespace",O="http://www.w3.org/2000/xmlns/",L={xml:S,xmlns:O},M=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,F=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,U=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,z=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function W(X){return X===" "||X===`
`||X==="\r"||X===" "}function N(X){return X==='"'||X==="'"}function H(X){return X===">"||W(X)}function j(X,Z){return X.test(Z)}function k(X,Z){return!j(X,Z)}var B=0;t.STATE={BEGIN:B++,BEGIN_WHITESPACE:B++,TEXT:B++,TEXT_ENTITY:B++,OPEN_WAKA:B++,SGML_DECL:B++,SGML_DECL_QUOTED:B++,DOCTYPE:B++,DOCTYPE_QUOTED:B++,DOCTYPE_DTD:B++,DOCTYPE_DTD_QUOTED:B++,COMMENT_STARTING:B++,COMMENT:B++,COMMENT_ENDING:B++,COMMENT_ENDED:B++,CDATA:B++,CDATA_ENDING:B++,CDATA_ENDING_2:B++,PROC_INST:B++,PROC_INST_BODY:B++,PROC_INST_ENDING:B++,OPEN_TAG:B++,OPEN_TAG_SLASH:B++,ATTRIB:B++,ATTRIB_NAME:B++,ATTRIB_NAME_SAW_WHITE:B++,ATTRIB_VALUE:B++,ATTRIB_VALUE_QUOTED:B++,ATTRIB_VALUE_CLOSED:B++,ATTRIB_VALUE_UNQUOTED:B++,ATTRIB_VALUE_ENTITY_Q:B++,ATTRIB_VALUE_ENTITY_U:B++,CLOSE_TAG:B++,CLOSE_TAG_SAW_WHITE:B++,SCRIPT:B++,SCRIPT_ENDING:B++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},(0,o.default)(t.ENTITIES).forEach(function(X){var Z=t.ENTITIES[X],pe=typeof Z=="number"?String.fromCharCode(Z):Z;t.ENTITIES[X]=pe});for(var V in t.STATE)t.STATE[t.STATE[V]]=V;B=t.STATE;function K(X,Z,pe){X[Z]&&X[Z](pe)}function Y(X,Z,pe){X.textNode&&Q(X),K(X,Z,pe)}function Q(X){X.textNode=he(X.opt,X.textNode),X.textNode&&K(X,"ontext",X.textNode),X.textNode=""}function he(X,Z){return X.trim&&(Z=Z.trim()),X.normalize&&(Z=Z.replace(/\s+/g," ")),Z}function G(X,Z){return Q(X),X.trackPosition&&(Z+=`
Line: `+X.line+`
Column: `+X.column+`
Char: `+X.c),Z=new Error(Z),X.error=Z,K(X,"onerror",Z),X}function ye(X){return X.sawRoot&&!X.closedRoot&&Ae(X,"Unclosed root tag"),X.state!==B.BEGIN&&X.state!==B.BEGIN_WHITESPACE&&X.state!==B.TEXT&&G(X,"Unexpected end"),Q(X),X.c="",X.closed=!0,K(X,"onend"),c.call(X,X.strict,X.opt),X}function Ae(X,Z){if((typeof X=="undefined"?"undefined":(0,u.default)(X))!=="object"||!(X instanceof c))throw new Error("bad call to strictFail");X.strict&&G(X,Z)}function ge(X){X.strict||(X.tagName=X.tagName[X.looseCase]());var Z=X.tags[X.tags.length-1]||X,pe=X.tag={name:X.tagName,attributes:{}};X.opt.xmlns&&(pe.ns=Z.ns),X.attribList.length=0,Y(X,"onopentagstart",pe)}function Pe(X,Z){var pe=X.indexOf(":"),oe=pe<0?["",X]:X.split(":"),Ie=oe[0],fe=oe[1];return Z&&X==="xmlns"&&(Ie="xmlns",fe=""),{prefix:Ie,local:fe}}function Re(X){if(X.strict||(X.attribName=X.attribName[X.looseCase]()),X.attribList.indexOf(X.attribName)!==-1||X.tag.attributes.hasOwnProperty(X.attribName)){X.attribName=X.attribValue="";return}if(X.opt.xmlns){var Z=Pe(X.attribName,!0),pe=Z.prefix,oe=Z.local;if(pe==="xmlns")if(oe==="xml"&&X.attribValue!==S)Ae(X,"xml: prefix must be bound to "+S+`
Actual: `+X.attribValue);else if(oe==="xmlns"&&X.attribValue!==O)Ae(X,"xmlns: prefix must be bound to "+O+`
Actual: `+X.attribValue);else{var Ie=X.tag,fe=X.tags[X.tags.length-1]||X;Ie.ns===fe.ns&&(Ie.ns=(0,n.default)(fe.ns)),Ie.ns[oe]=X.attribValue}X.attribList.push([X.attribName,X.attribValue])}else X.tag.attributes[X.attribName]=X.attribValue,Y(X,"onattribute",{name:X.attribName,value:X.attribValue});X.attribName=X.attribValue=""}function rt(X,Z){if(X.opt.xmlns){var pe=X.tag,oe=Pe(X.tagName);pe.prefix=oe.prefix,pe.local=oe.local,pe.uri=pe.ns[oe.prefix]||"",pe.prefix&&!pe.uri&&(Ae(X,"Unbound namespace prefix: "+(0,y.default)(X.tagName)),pe.uri=oe.prefix);var Ie=X.tags[X.tags.length-1]||X;pe.ns&&Ie.ns!==pe.ns&&(0,o.default)(pe.ns).forEach(function(st){Y(X,"onopennamespace",{prefix:st,uri:pe.ns[st]})});for(var fe=0,te=X.attribList.length;fe<te;fe++){var J=X.attribList[fe],ve=J[0],De=J[1],ze=Pe(ve,!0),dt=ze.prefix,Me=ze.local,Tt=dt===""?"":pe.ns[dt]||"",je={name:ve,value:De,prefix:dt,local:Me,uri:Tt};dt&&dt!=="xmlns"&&!Tt&&(Ae(X,"Unbound namespace prefix: "+(0,y.default)(dt)),je.uri=dt),X.tag.attributes[ve]=je,Y(X,"onattribute",je)}X.attribList.length=0}X.tag.isSelfClosing=!!Z,X.sawRoot=!0,X.tags.push(X.tag),Y(X,"onopentag",X.tag),Z||(!X.noscript&&X.tagName.toLowerCase()==="script"?X.state=B.SCRIPT:X.state=B.TEXT,X.tag=null,X.tagName=""),X.attribName=X.attribValue="",X.attribList.length=0}function ne(X){if(!X.tagName){Ae(X,"Weird empty close tag."),X.textNode+="</>",X.state=B.TEXT;return}if(X.script){if(X.tagName!=="script"){X.script+="</"+X.tagName+">",X.tagName="",X.state=B.SCRIPT;return}Y(X,"onscript",X.script),X.script=""}var Z=X.tags.length,pe=X.tagName;X.strict||(pe=pe[X.looseCase]());for(var oe=pe;Z--;){var Ie=X.tags[Z];if(Ie.name!==oe)Ae(X,"Unexpected close tag");else break}if(Z<0){Ae(X,"Unmatched closing tag: "+X.tagName),X.textNode+="</"+X.tagName+">",X.state=B.TEXT;return}X.tagName=pe;for(var fe=X.tags.length;fe-- >Z;){var te=X.tag=X.tags.pop();X.tagName=X.tag.name,Y(X,"onclosetag",X.tagName);var J={};for(var ve in te.ns)J[ve]=te.ns[ve];var De=X.tags[X.tags.length-1]||X;X.opt.xmlns&&te.ns!==De.ns&&(0,o.default)(te.ns).forEach(function(ze){var dt=te.ns[ze];Y(X,"onclosenamespace",{prefix:ze,uri:dt})})}Z===0&&(X.closedRoot=!0),X.tagName=X.attribValue=X.attribName="",X.attribList.length=0,X.state=B.TEXT}function be(X){var Z=X.entity,pe=Z.toLowerCase(),oe,Ie="";return X.ENTITIES[Z]?X.ENTITIES[Z]:X.ENTITIES[pe]?X.ENTITIES[pe]:(Z=pe,Z.charAt(0)==="#"&&(Z.charAt(1)==="x"?(Z=Z.slice(2),oe=parseInt(Z,16),Ie=oe.toString(16)):(Z=Z.slice(1),oe=parseInt(Z,10),Ie=oe.toString(10))),Z=Z.replace(/^0+/,""),isNaN(oe)||Ie.toLowerCase()!==Z?(Ae(X,"Invalid character entity"),"&"+X.entity+";"):(0,b.default)(oe))}function at(X,Z){Z==="<"?(X.state=B.OPEN_WAKA,X.startTagPosition=X.position):W(Z)||(Ae(X,"Non-whitespace before first tag."),X.textNode=Z,X.state=B.TEXT)}function se(X,Z){var pe="";return Z<X.length&&(pe=X.charAt(Z)),pe}function q(X){var Z=this;if(this.error)throw this.error;if(Z.closed)return G(Z,"Cannot write after close. Assign an onready handler.");if(X===null)return ye(Z);(typeof X=="undefined"?"undefined":(0,u.default)(X))==="object"&&(X=X.toString());for(var pe=0,oe="";!(oe=se(X,pe++),Z.c=oe,!oe);){Z.trackPosition&&(Z.position++,oe===`
`?(Z.line++,Z.column=0):Z.column++);switch(Z.state){case B.BEGIN:if(Z.state=B.BEGIN_WHITESPACE,oe==="\uFEFF")continue;at(Z,oe);continue;case B.BEGIN_WHITESPACE:at(Z,oe);continue;case B.TEXT:if(Z.sawRoot&&!Z.closedRoot){for(var Ie=pe-1;oe&&oe!=="<"&&oe!=="&";)oe=se(X,pe++),oe&&Z.trackPosition&&(Z.position++,oe===`
`?(Z.line++,Z.column=0):Z.column++);Z.textNode+=X.substring(Ie,pe-1)}oe==="<"&&!(Z.sawRoot&&Z.closedRoot&&!Z.strict)?(Z.state=B.OPEN_WAKA,Z.startTagPosition=Z.position):(!W(oe)&&(!Z.sawRoot||Z.closedRoot)&&Ae(Z,"Text data outside of root node."),oe==="&"?Z.state=B.TEXT_ENTITY:Z.textNode+=oe);continue;case B.SCRIPT:oe==="<"?Z.state=B.SCRIPT_ENDING:Z.script+=oe;continue;case B.SCRIPT_ENDING:oe==="/"?Z.state=B.CLOSE_TAG:(Z.script+="<"+oe,Z.state=B.SCRIPT);continue;case B.OPEN_WAKA:if(oe==="!")Z.state=B.SGML_DECL,Z.sgmlDecl="";else if(!W(oe))if(j(M,oe))Z.state=B.OPEN_TAG,Z.tagName=oe;else if(oe==="/")Z.state=B.CLOSE_TAG,Z.tagName="";else if(oe==="?")Z.state=B.PROC_INST,Z.procInstName=Z.procInstBody="";else{if(Ae(Z,"Unencoded <"),Z.startTagPosition+1<Z.position){var fe=Z.position-Z.startTagPosition;oe=new Array(fe).join(" ")+oe}Z.textNode+="<"+oe,Z.state=B.TEXT}continue;case B.SGML_DECL:(Z.sgmlDecl+oe).toUpperCase()===_?(Y(Z,"onopencdata"),Z.state=B.CDATA,Z.sgmlDecl="",Z.cdata=""):Z.sgmlDecl+oe==="--"?(Z.state=B.COMMENT,Z.comment="",Z.sgmlDecl=""):(Z.sgmlDecl+oe).toUpperCase()===v?(Z.state=B.DOCTYPE,(Z.doctype||Z.sawRoot)&&Ae(Z,"Inappropriately located doctype declaration"),Z.doctype="",Z.sgmlDecl=""):oe===">"?(Y(Z,"onsgmldeclaration",Z.sgmlDecl),Z.sgmlDecl="",Z.state=B.TEXT):(N(oe)&&(Z.state=B.SGML_DECL_QUOTED),Z.sgmlDecl+=oe);continue;case B.SGML_DECL_QUOTED:oe===Z.q&&(Z.state=B.SGML_DECL,Z.q=""),Z.sgmlDecl+=oe;continue;case B.DOCTYPE:oe===">"?(Z.state=B.TEXT,Y(Z,"ondoctype",Z.doctype),Z.doctype=!0):(Z.doctype+=oe,oe==="["?Z.state=B.DOCTYPE_DTD:N(oe)&&(Z.state=B.DOCTYPE_QUOTED,Z.q=oe));continue;case B.DOCTYPE_QUOTED:Z.doctype+=oe,oe===Z.q&&(Z.q="",Z.state=B.DOCTYPE);continue;case B.DOCTYPE_DTD:Z.doctype+=oe,oe==="]"?Z.state=B.DOCTYPE:N(oe)&&(Z.state=B.DOCTYPE_DTD_QUOTED,Z.q=oe);continue;case B.DOCTYPE_DTD_QUOTED:Z.doctype+=oe,oe===Z.q&&(Z.state=B.DOCTYPE_DTD,Z.q="");continue;case B.COMMENT:oe==="-"?Z.state=B.COMMENT_ENDING:Z.comment+=oe;continue;case B.COMMENT_ENDING:oe==="-"?(Z.state=B.COMMENT_ENDED,Z.comment=he(Z.opt,Z.comment),Z.comment&&Y(Z,"oncomment",Z.comment),Z.comment=""):(Z.comment+="-"+oe,Z.state=B.COMMENT);continue;case B.COMMENT_ENDED:oe!==">"?(Ae(Z,"Malformed comment"),Z.comment+="--"+oe,Z.state=B.COMMENT):Z.state=B.TEXT;continue;case B.CDATA:oe==="]"?Z.state=B.CDATA_ENDING:Z.cdata+=oe;continue;case B.CDATA_ENDING:oe==="]"?Z.state=B.CDATA_ENDING_2:(Z.cdata+="]"+oe,Z.state=B.CDATA);continue;case B.CDATA_ENDING_2:oe===">"?(Z.cdata&&Y(Z,"oncdata",Z.cdata),Y(Z,"onclosecdata"),Z.cdata="",Z.state=B.TEXT):oe==="]"?Z.cdata+="]":(Z.cdata+="]]"+oe,Z.state=B.CDATA);continue;case B.PROC_INST:oe==="?"?Z.state=B.PROC_INST_ENDING:W(oe)?Z.state=B.PROC_INST_BODY:Z.procInstName+=oe;continue;case B.PROC_INST_BODY:if(!Z.procInstBody&&W(oe))continue;oe==="?"?Z.state=B.PROC_INST_ENDING:Z.procInstBody+=oe;continue;case B.PROC_INST_ENDING:oe===">"?(Y(Z,"onprocessinginstruction",{name:Z.procInstName,body:Z.procInstBody}),Z.procInstName=Z.procInstBody="",Z.state=B.TEXT):(Z.procInstBody+="?"+oe,Z.state=B.PROC_INST_BODY);continue;case B.OPEN_TAG:j(F,oe)?Z.tagName+=oe:(ge(Z),oe===">"?rt(Z):oe==="/"?Z.state=B.OPEN_TAG_SLASH:(W(oe)||Ae(Z,"Invalid character in tag name"),Z.state=B.ATTRIB));continue;case B.OPEN_TAG_SLASH:oe===">"?(rt(Z,!0),ne(Z)):(Ae(Z,"Forward-slash in opening tag not followed by >"),Z.state=B.ATTRIB);continue;case B.ATTRIB:if(W(oe))continue;oe===">"?rt(Z):oe==="/"?Z.state=B.OPEN_TAG_SLASH:j(M,oe)?(Z.attribName=oe,Z.attribValue="",Z.state=B.ATTRIB_NAME):Ae(Z,"Invalid attribute name");continue;case B.ATTRIB_NAME:oe==="="?Z.state=B.ATTRIB_VALUE:oe===">"?(Ae(Z,"Attribute without value"),Z.attribValue=Z.attribName,Re(Z),rt(Z)):W(oe)?Z.state=B.ATTRIB_NAME_SAW_WHITE:j(F,oe)?Z.attribName+=oe:Ae(Z,"Invalid attribute name");continue;case B.ATTRIB_NAME_SAW_WHITE:if(oe==="=")Z.state=B.ATTRIB_VALUE;else{if(W(oe))continue;Ae(Z,"Attribute without value"),Z.tag.attributes[Z.attribName]="",Z.attribValue="",Y(Z,"onattribute",{name:Z.attribName,value:""}),Z.attribName="",oe===">"?rt(Z):j(M,oe)?(Z.attribName=oe,Z.state=B.ATTRIB_NAME):(Ae(Z,"Invalid attribute name"),Z.state=B.ATTRIB)}continue;case B.ATTRIB_VALUE:if(W(oe))continue;N(oe)?(Z.q=oe,Z.state=B.ATTRIB_VALUE_QUOTED):(Ae(Z,"Unquoted attribute value"),Z.state=B.ATTRIB_VALUE_UNQUOTED,Z.attribValue=oe);continue;case B.ATTRIB_VALUE_QUOTED:if(oe!==Z.q){oe==="&"?Z.state=B.ATTRIB_VALUE_ENTITY_Q:Z.attribValue+=oe;continue}Re(Z),Z.q="",Z.state=B.ATTRIB_VALUE_CLOSED;continue;case B.ATTRIB_VALUE_CLOSED:W(oe)?Z.state=B.ATTRIB:oe===">"?rt(Z):oe==="/"?Z.state=B.OPEN_TAG_SLASH:j(M,oe)?(Ae(Z,"No whitespace between attributes"),Z.attribName=oe,Z.attribValue="",Z.state=B.ATTRIB_NAME):Ae(Z,"Invalid attribute name");continue;case B.ATTRIB_VALUE_UNQUOTED:if(!H(oe)){oe==="&"?Z.state=B.ATTRIB_VALUE_ENTITY_U:Z.attribValue+=oe;continue}Re(Z),oe===">"?rt(Z):Z.state=B.ATTRIB;continue;case B.CLOSE_TAG:if(Z.tagName)oe===">"?ne(Z):j(F,oe)?Z.tagName+=oe:Z.script?(Z.script+="</"+Z.tagName,Z.tagName="",Z.state=B.SCRIPT):(W(oe)||Ae(Z,"Invalid tagname in closing tag"),Z.state=B.CLOSE_TAG_SAW_WHITE);else{if(W(oe))continue;k(M,oe)?Z.script?(Z.script+="</"+oe,Z.state=B.SCRIPT):Ae(Z,"Invalid tagname in closing tag."):Z.tagName=oe}continue;case B.CLOSE_TAG_SAW_WHITE:if(W(oe))continue;oe===">"?ne(Z):Ae(Z,"Invalid characters in closing tag");continue;case B.TEXT_ENTITY:case B.ATTRIB_VALUE_ENTITY_Q:case B.ATTRIB_VALUE_ENTITY_U:var te,J;switch(Z.state){case B.TEXT_ENTITY:te=B.TEXT,J="textNode";break;case B.ATTRIB_VALUE_ENTITY_Q:te=B.ATTRIB_VALUE_QUOTED,J="attribValue";break;case B.ATTRIB_VALUE_ENTITY_U:te=B.ATTRIB_VALUE_UNQUOTED,J="attribValue";break}oe===";"?(Z[J]+=be(Z),Z.entity="",Z.state=te):j(Z.entity.length?z:U,oe)?Z.entity+=oe:(Ae(Z,"Invalid character in entity name"),Z[J]+="&"+Z.entity+oe,Z.entity="",Z.state=te);continue;default:throw new Error(Z,"Unknown state: "+Z.state)}}return Z.position>=Z.bufferCheckPosition&&p(Z),Z}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */b.default||function(){var X=String.fromCharCode,Z=Math.floor,pe=function(){var Ie=16384,fe=[],te,J,ve=-1,De=arguments.length;if(!De)return"";for(var ze="";++ve<De;){var dt=Number(arguments[ve]);if(!isFinite(dt)||dt<0||dt>1114111||Z(dt)!==dt)throw RangeError("Invalid code point: "+dt);dt<=65535?fe.push(dt):(dt-=65536,te=(dt>>10)+55296,J=dt%1024+56320,fe.push(te,J)),(ve+1===De||fe.length>Ie)&&(ze+=X.apply(null,fe),fe.length=0)}return ze};a.default?Object.defineProperty(String,"fromCodePoint",{value:pe,configurable:!0,writable:!0}):String.fromCodePoint=pe}()})(typeof e=="undefined"?(void 0).sax={}:e)}).call(this,R("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/define-property":56,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/string/from-code-point":63,"babel-runtime/helpers/typeof":67,buffer:73,stream:230,string_decoder:72}],230:[function(R,I,e){I.exports=b;var g=R("events").EventEmitter,f=R("inherits");f(b,g),b.Readable=R("readable-stream/readable.js"),b.Writable=R("readable-stream/writable.js"),b.Duplex=R("readable-stream/duplex.js"),b.Transform=R("readable-stream/transform.js"),b.PassThrough=R("readable-stream/passthrough.js"),b.Stream=b;function b(){g.call(this)}b.prototype.pipe=function(m,y){var h=this;function u(l){m.writable&&(m.write(l)===!1&&h.pause&&h.pause())}h.on("data",u);function i(){h.readable&&h.resume&&h.resume()}m.on("drain",i),!m._isStdio&&(!y||y.end!==!1)&&(h.on("end",r),h.on("close",o));var a=!1;function r(){if(a)return;a=!0,m.end()}function o(){if(a)return;a=!0,typeof m.destroy=="function"&&m.destroy()}function d(l){if(n(),g.listenerCount(this,"error")===0)throw l}h.on("error",d),m.on("error",d);function n(){h.removeListener("data",u),m.removeListener("drain",i),h.removeListener("end",r),h.removeListener("close",o),h.removeListener("error",d),m.removeListener("error",d),h.removeListener("end",n),h.removeListener("close",n),m.removeListener("close",n)}return h.on("end",n),h.on("close",n),m.on("close",n),m.emit("pipe",h),m}},{events:192,inherits:196,"readable-stream/duplex.js":213,"readable-stream/passthrough.js":222,"readable-stream/readable.js":223,"readable-stream/transform.js":224,"readable-stream/writable.js":225}],231:[function(R,I,e){(function(g){var f=R("./lib/request"),b=R("./lib/response"),m=R("xtend"),y=R("builtin-status-codes"),h=R("url"),u=e;u.request=function(i,a){typeof i=="string"?i=h.parse(i):i=m(i);var r=g.location.protocol.search(/^https?:$/)===-1?"http:":"",o=i.protocol||r,d=i.hostname||i.host,n=i.port,l=i.path||"/";d&&d.indexOf(":")!==-1&&(d="["+d+"]"),i.url=(d?o+"//"+d:"")+(n?":"+n:"")+l,i.method=(i.method||"GET").toUpperCase(),i.headers=i.headers||{};var t=new f(i);return a&&t.on("response",a),t},u.get=function(a,r){var o=u.request(a,r);return o.end(),o},u.ClientRequest=f,u.IncomingMessage=b.IncomingMessage,u.Agent=function(){},u.Agent.defaultMaxSockets=4,u.globalAgent=new u.Agent,u.STATUS_CODES=y,u.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":233,"./lib/response":234,"builtin-status-codes":74,url:238,xtend:283}],232:[function(R,I,e){(function(g){"use strict";e.fetch=u(g.fetch)&&u(g.ReadableStream),e.writableStream=u(g.WritableStream),e.abortController=u(g.AbortController),e.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),e.blobConstructor=!0}catch(i){}var f;function b(){if(f!==void 0)return f;if(g.XMLHttpRequest){f=new g.XMLHttpRequest;try{f.open("GET",g.XDomainRequest?"/":"https://example.com")}catch(i){f=null}}else f=null;return f}function m(i){var a=b();if(!a)return!1;try{return a.responseType=i,a.responseType===i}catch(r){}return!1}var y=typeof g.ArrayBuffer!="undefined",h=y&&u(g.ArrayBuffer.prototype.slice);e.arraybuffer=e.fetch||y&&m("arraybuffer"),e.msstream=!e.fetch&&h&&m("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&y&&m("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||(b()?u(b().overrideMimeType):!1),e.vbArray=u(g.VBArray);function u(i){return typeof i=="function"}f=null}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],233:[function(R,I,e){(function(g,f,b){"use strict";var m=R("babel-runtime/core-js/object/keys"),y=h(m);function h(p){return p&&p.__esModule?p:{default:p}}var u=R("./capability"),i=R("inherits"),a=R("./response"),r=R("readable-stream"),o=R("to-arraybuffer"),d=a.IncomingMessage,n=a.readyStates;function l(p,A){return u.fetch&&A?"fetch":u.mozchunkedarraybuffer?"moz-chunked-arraybuffer":u.msstream?"ms-stream":u.arraybuffer&&p?"arraybuffer":u.vbArray&&p?"text:vbarray":"text"}var t=I.exports=function(p){var A=this;r.Writable.call(A),A._opts=p,A._body=[],A._headers={},p.auth&&A.setHeader("Authorization","Basic "+new b(p.auth).toString("base64")),(0,y.default)(p.headers).forEach(function(x){A.setHeader(x,p.headers[x])});var w,C=!0;if(p.mode==="disable-fetch"||"requestTimeout"in p&&!u.abortController)C=!1,w=!0;else if(p.mode==="prefer-streaming")w=!1;else if(p.mode==="allow-wrong-content-type")w=!u.overrideMimeType;else if(!p.mode||p.mode==="default"||p.mode==="prefer-fast")w=!0;else throw new Error("Invalid value for opts.mode");A._mode=l(w,C),A._fetchTimer=null,A.on("finish",function(){A._onFinish()})};i(t,r.Writable),t.prototype.setHeader=function(p,A){var w=this,C=p.toLowerCase();if(c.indexOf(C)!==-1)return;w._headers[C]={name:p,value:A}},t.prototype.getHeader=function(p){var A=this._headers[p.toLowerCase()];return A?A.value:null},t.prototype.removeHeader=function(p){var A=this;delete A._headers[p.toLowerCase()]},t.prototype._onFinish=function(){var p=this;if(p._destroyed)return;var A=p._opts,w=p._headers,C=null;A.method!=="GET"&&A.method!=="HEAD"&&(u.arraybuffer?C=o(b.concat(p._body)):u.blobConstructor?C=new f.Blob(p._body.map(function(S){return o(S)}),{type:(w["content-type"]||{}).value||""}):C=b.concat(p._body).toString());var x=[];if((0,y.default)(w).forEach(function(S){var O=w[S].name,L=w[S].value;Array.isArray(L)?L.forEach(function(M){x.push([O,M])}):x.push([O,L])}),p._mode==="fetch"){var E=null,T=null;if(u.abortController){var _=new AbortController;E=_.signal,p._fetchAbortController=_,"requestTimeout"in A&&A.requestTimeout!==0&&(p._fetchTimer=f.setTimeout(function(){p.emit("requestTimeout"),p._fetchAbortController&&p._fetchAbortController.abort()},A.requestTimeout))}f.fetch(p._opts.url,{method:p._opts.method,headers:x,body:C||void 0,mode:"cors",credentials:A.withCredentials?"include":"same-origin",signal:E}).then(function(S){p._fetchResponse=S,p._connect()},function(S){f.clearTimeout(p._fetchTimer),p._destroyed||p.emit("error",S)})}else{var v=p._xhr=new f.XMLHttpRequest;try{v.open(p._opts.method,p._opts.url,!0)}catch(S){g.nextTick(function(){p.emit("error",S)});return}"responseType"in v&&(v.responseType=p._mode.split(":")[0]),"withCredentials"in v&&(v.withCredentials=!!A.withCredentials),p._mode==="text"&&"overrideMimeType"in v&&v.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in A&&(v.timeout=A.requestTimeout,v.ontimeout=function(){p.emit("requestTimeout")}),x.forEach(function(S){v.setRequestHeader(S[0],S[1])}),p._response=null,v.onreadystatechange=function(){switch(v.readyState){case n.LOADING:case n.DONE:p._onXHRProgress();break}},p._mode==="moz-chunked-arraybuffer"&&(v.onprogress=function(){p._onXHRProgress()}),v.onerror=function(){if(p._destroyed)return;p.emit("error",new Error("XHR error"))};try{v.send(C)}catch(S){g.nextTick(function(){p.emit("error",S)});return}}};function s(p){try{var A=p.status;return A!==null&&A!==0}catch(w){return!1}}t.prototype._onXHRProgress=function(){var p=this;if(!s(p._xhr)||p._destroyed)return;p._response||p._connect(),p._response._onXHRProgress()},t.prototype._connect=function(){var p=this;if(p._destroyed)return;p._response=new d(p._xhr,p._fetchResponse,p._mode,p._fetchTimer),p._response.on("error",function(A){p.emit("error",A)}),p.emit("response",p._response)},t.prototype._write=function(p,A,w){var C=this;C._body.push(p),w()},t.prototype.abort=t.prototype.destroy=function(){var p=this;p._destroyed=!0,f.clearTimeout(p._fetchTimer),p._response&&(p._response._destroyed=!0),p._xhr?p._xhr.abort():p._fetchAbortController&&p._fetchAbortController.abort()},t.prototype.end=function(p,A,w){var C=this;typeof p=="function"&&(w=p,p=void 0),r.Writable.prototype.end.call(C,p,A,w)},t.prototype.flushHeaders=function(){},t.prototype.setTimeout=function(){},t.prototype.setNoDelay=function(){},t.prototype.setSocketKeepAlive=function(){};var c=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this,R("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},R("buffer").Buffer)},{"./capability":232,"./response":234,_process:208,"babel-runtime/core-js/object/keys":60,buffer:73,inherits:196,"readable-stream":223,"to-arraybuffer":237}],234:[function(R,I,e){(function(g,f,b){"use strict";var m=R("babel-runtime/core-js/promise"),y=h(m);function h(d){return d&&d.__esModule?d:{default:d}}var u=R("./capability"),i=R("inherits"),a=R("readable-stream"),r=e.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},o=e.IncomingMessage=function(d,n,l,t){var s=this;if(a.Readable.call(s),s._mode=l,s.headers={},s.rawHeaders=[],s.trailers={},s.rawTrailers=[],s.on("end",function(){g.nextTick(function(){s.emit("close")})}),l==="fetch"){var c=function E(){A.read().then(function(T){if(s._destroyed)return;if(T.done){f.clearTimeout(t),s.push(null);return}s.push(new b(T.value)),E()}).catch(function(T){f.clearTimeout(t),s._destroyed||s.emit("error",T)})};if(s._fetchResponse=n,s.url=n.url,s.statusCode=n.status,s.statusMessage=n.statusText,n.headers.forEach(function(E,T){s.headers[T.toLowerCase()]=E,s.rawHeaders.push(T,E)}),u.writableStream){var p=new WritableStream({write:function(T){return new y.default(function(_,v){s._destroyed?v():s.push(new b(T))?_():s._resumeFetch=_})},close:function(){f.clearTimeout(t),s._destroyed||s.push(null)},abort:function(T){s._destroyed||s.emit("error",T)}});try{n.body.pipeTo(p).catch(function(E){f.clearTimeout(t),s._destroyed||s.emit("error",E)});return}catch(E){}}var A=n.body.getReader();c()}else{s._xhr=d,s._pos=0,s.url=d.responseURL,s.statusCode=d.status,s.statusMessage=d.statusText;var w=d.getAllResponseHeaders().split(/\r?\n/);if(w.forEach(function(E){var T=E.match(/^([^:]+):\s*(.*)/);if(T){var _=T[1].toLowerCase();_==="set-cookie"?(s.headers[_]===void 0&&(s.headers[_]=[]),s.headers[_].push(T[2])):s.headers[_]!==void 0?s.headers[_]+=", "+T[2]:s.headers[_]=T[2],s.rawHeaders.push(T[1],T[2])}}),s._charset="x-user-defined",!u.overrideMimeType){var C=s.rawHeaders["mime-type"];if(C){var x=C.match(/;\s*charset=([^;])(;|$)/);x&&(s._charset=x[1].toLowerCase())}s._charset||(s._charset="utf-8")}}};i(o,a.Readable),o.prototype._read=function(){var d=this,n=d._resumeFetch;n&&(d._resumeFetch=null,n())},o.prototype._onXHRProgress=function(){var d=this,n=d._xhr,l=null;switch(d._mode){case"text:vbarray":if(n.readyState!==r.DONE)break;try{l=new f.VBArray(n.responseBody).toArray()}catch(A){}if(l!==null){d.push(new b(l));break}case"text":try{l=n.responseText}catch(A){d._mode="text:vbarray";break}if(l.length>d._pos){var t=l.substr(d._pos);if(d._charset==="x-user-defined"){for(var s=new b(t.length),c=0;c<t.length;c++)s[c]=t.charCodeAt(c)&255;d.push(s)}else d.push(t,d._charset);d._pos=l.length}break;case"arraybuffer":if(n.readyState!==r.DONE||!n.response)break;l=n.response,d.push(new b(new Uint8Array(l)));break;case"moz-chunked-arraybuffer":if(l=n.response,n.readyState!==r.LOADING||!l)break;d.push(new b(new Uint8Array(l)));break;case"ms-stream":if(l=n.response,n.readyState!==r.LOADING)break;var p=new f.MSStreamReader;p.onprogress=function(){p.result.byteLength>d._pos&&(d.push(new b(new Uint8Array(p.result.slice(d._pos)))),d._pos=p.result.byteLength)},p.onload=function(){d.push(null)},p.readAsArrayBuffer(l);break}d._xhr.readyState===r.DONE&&d._mode!=="ms-stream"&&d.push(null)}}).call(this,R("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},R("buffer").Buffer)},{"./capability":232,_process:208,"babel-runtime/core-js/promise":61,buffer:73,inherits:196,"readable-stream":223}],235:[function(R,I,e){"use strict";var g=R("safe-buffer").Buffer,f=g.isEncoding||function(p){p=""+p;switch(p&&p.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 b(p){if(!p)return"utf8";for(var A;;)switch(p){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 p;default:if(A)return;p=(""+p).toLowerCase(),A=!0}}function m(p){var A=b(p);if(typeof A!="string"&&(g.isEncoding===f||!f(p)))throw new Error("Unknown encoding: "+p);return A||p}e.StringDecoder=y;function y(p){this.encoding=m(p);var A;switch(this.encoding){case"utf16le":this.text=d,this.end=n,A=4;break;case"utf8":this.fillLast=a,A=4;break;case"base64":this.text=l,this.end=t,A=3;break;default:this.write=s,this.end=c;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=g.allocUnsafe(A)}y.prototype.write=function(p){if(p.length===0)return"";var A,w;if(this.lastNeed){if(A=this.fillLast(p),A===void 0)return"";w=this.lastNeed,this.lastNeed=0}else w=0;return w<p.length?A?A+this.text(p,w):this.text(p,w):A||""},y.prototype.end=o,y.prototype.text=r,y.prototype.fillLast=function(p){if(this.lastNeed<=p.length)return p.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);p.copy(this.lastChar,this.lastTotal-this.lastNeed,0,p.length),this.lastNeed-=p.length};function h(p){return p<=127?0:p>>5===6?2:p>>4===14?3:p>>3===30?4:p>>6===2?-1:-2}function u(p,A,w){var C=A.length-1;if(C<w)return 0;var x=h(A[C]);return x>=0?(x>0&&(p.lastNeed=x-1),x):--C<w||x===-2?0:(x=h(A[C]),x>=0?(x>0&&(p.lastNeed=x-2),x):--C<w||x===-2?0:(x=h(A[C]),x>=0?(x>0&&(x===2?x=0:p.lastNeed=x-3),x):0))}function i(p,A,w){if((A[0]&192)!==128)return p.lastNeed=0,"\uFFFD";if(p.lastNeed>1&&A.length>1){if((A[1]&192)!==128)return p.lastNeed=1,"\uFFFD";if(p.lastNeed>2&&A.length>2&&(A[2]&192)!==128)return p.lastNeed=2,"\uFFFD"}}function a(p){var A=this.lastTotal-this.lastNeed,w=i(this,p,A);if(w!==void 0)return w;if(this.lastNeed<=p.length)return p.copy(this.lastChar,A,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);p.copy(this.lastChar,A,0,p.length),this.lastNeed-=p.length}function r(p,A){var w=u(this,p,A);if(!this.lastNeed)return p.toString("utf8",A);this.lastTotal=w;var C=p.length-(w-this.lastNeed);return p.copy(this.lastChar,0,C),p.toString("utf8",A,C)}function o(p){var A=p&&p.length?this.write(p):"";return this.lastNeed?A+"\uFFFD":A}function d(p,A){if((p.length-A)%2===0){var w=p.toString("utf16le",A);if(w){var C=w.charCodeAt(w.length-1);if(C>=55296&&C<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=p[p.length-2],this.lastChar[1]=p[p.length-1],w.slice(0,-1)}return w}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=p[p.length-1],p.toString("utf16le",A,p.length-1)}function n(p){var A=p&&p.length?this.write(p):"";if(this.lastNeed){var w=this.lastTotal-this.lastNeed;return A+this.lastChar.toString("utf16le",0,w)}return A}function l(p,A){var w=(p.length-A)%3;return w===0?p.toString("base64",A):(this.lastNeed=3-w,this.lastTotal=3,w===1?this.lastChar[0]=p[p.length-1]:(this.lastChar[0]=p[p.length-2],this.lastChar[1]=p[p.length-1]),p.toString("base64",A,p.length-w))}function t(p){var A=p&&p.length?this.write(p):"";return this.lastNeed?A+this.lastChar.toString("base64",0,3-this.lastNeed):A}function s(p){return p.toString(this.encoding)}function c(p){return p&&p.length?this.write(p):""}},{"safe-buffer":228}],236:[function(R,I,e){(function(g,f){var b=R("process/browser.js").nextTick,m=Function.prototype.apply,y=Array.prototype.slice,h={},u=0;e.setTimeout=function(){return new i(m.call(setTimeout,window,arguments),clearTimeout)},e.setInterval=function(){return new i(m.call(setInterval,window,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(a){a.close()};function i(a,r){this._id=a,this._clearFn=r}i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(window,this._id)},e.enroll=function(a,r){clearTimeout(a._idleTimeoutId),a._idleTimeout=r},e.unenroll=function(a){clearTimeout(a._idleTimeoutId),a._idleTimeout=-1},e._unrefActive=e.active=function(a){clearTimeout(a._idleTimeoutId);var r=a._idleTimeout;r>=0&&(a._idleTimeoutId=setTimeout(function(){a._onTimeout&&a._onTimeout()},r))},e.setImmediate=typeof g=="function"?g:function(a){var r=u++,o=arguments.length<2?!1:y.call(arguments,1);return h[r]=!0,b(function(){h[r]&&(o?a.apply(null,o):a.call(null),e.clearImmediate(r))}),r},e.clearImmediate=typeof f=="function"?f:function(a){delete h[a]}}).call(this,R("timers").setImmediate,R("timers").clearImmediate)},{"process/browser.js":208,timers:236}],237:[function(R,I,e){var g=R("buffer").Buffer;I.exports=function(f){if(f instanceof Uint8Array){if(f.byteOffset===0&&f.byteLength===f.buffer.byteLength)return f.buffer;if(typeof f.buffer.slice=="function")return f.buffer.slice(f.byteOffset,f.byteOffset+f.byteLength)}if(g.isBuffer(f)){for(var b=new Uint8Array(f.length),m=f.length,y=0;y<m;y++)b[y]=f[y];return b.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:73}],238:[function(R,I,e){"use strict";var g=R("punycode"),f=R("./util");e.parse=A,e.resolve=C,e.resolveObject=x,e.format=w,e.Url=b;function b(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var m=/^([a-z0-9.+-]+:)/i,y=/:[0-9]*$/,h=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["<",">",'"',"`"," ","\r",`
`," "],i=["{","}","|","\\","^","`"].concat(u),a=["'"].concat(i),r=["%","/","?",";","#"].concat(a),o=["/","?","#"],d=255,n=/^[+a-z0-9A-Z_-]{0,63}$/,l=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,t={javascript:!0,"javascript:":!0},s={javascript:!0,"javascript:":!0},c={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},p=R("querystring");function A(E,T,_){if(E&&f.isObject(E)&&E instanceof b)return E;var v=new b;return v.parse(E,T,_),v}b.prototype.parse=function(E,T,_){if(!f.isString(E))throw new TypeError("Parameter 'url' must be a string, not "+typeof E);var v=E.indexOf("?"),S=v!==-1&&v<E.indexOf("#")?"?":"#",O=E.split(S),L=/\\/g;O[0]=O[0].replace(L,"/"),E=O.join(S);var M=E;if(M=M.trim(),!_&&E.split("#").length===1){var F=h.exec(M);if(F)return this.path=M,this.href=M,this.pathname=F[1],F[2]?(this.search=F[2],T?this.query=p.parse(this.search.substr(1)):this.query=this.search.substr(1)):T&&(this.search="",this.query={}),this}var U=m.exec(M);if(U){U=U[0];var z=U.toLowerCase();this.protocol=z,M=M.substr(U.length)}if(_||U||M.match(/^\/\/[^@\/]+@[^@\/]+/)){var W=M.substr(0,2)==="//";W&&!(U&&s[U])&&(M=M.substr(2),this.slashes=!0)}if(!s[U]&&(W||U&&!c[U])){for(var N=-1,H=0;H<o.length;H++){var j=M.indexOf(o[H]);j!==-1&&(N===-1||j<N)&&(N=j)}var k,B;N===-1?B=M.lastIndexOf("@"):B=M.lastIndexOf("@",N),B!==-1&&(k=M.slice(0,B),M=M.slice(B+1),this.auth=decodeURIComponent(k)),N=-1;for(var H=0;H<r.length;H++){var j=M.indexOf(r[H]);j!==-1&&(N===-1||j<N)&&(N=j)}N===-1&&(N=M.length),this.host=M.slice(0,N),M=M.slice(N),this.parseHost(),this.hostname=this.hostname||"";var V=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!V)for(var K=this.hostname.split(/\./),H=0,Y=K.length;H<Y;H++){var Q=K[H];if(!Q)continue;if(!Q.match(n)){for(var he="",G=0,ye=Q.length;G<ye;G++)Q.charCodeAt(G)>127?he+="x":he+=Q[G];if(!he.match(n)){var Ae=K.slice(0,H),ge=K.slice(H+1),Pe=Q.match(l);Pe&&(Ae.push(Pe[1]),ge.unshift(Pe[2])),ge.length&&(M="/"+ge.join(".")+M),this.hostname=Ae.join(".");break}}}this.hostname.length>d?this.hostname="":this.hostname=this.hostname.toLowerCase(),V||(this.hostname=g.toASCII(this.hostname));var Re=this.port?":"+this.port:"",rt=this.hostname||"";this.host=rt+Re,this.href+=this.host,V&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),M[0]!=="/"&&(M="/"+M))}if(!t[z])for(var H=0,Y=a.length;H<Y;H++){var ne=a[H];if(M.indexOf(ne)===-1)continue;var be=encodeURIComponent(ne);be===ne&&(be=escape(ne)),M=M.split(ne).join(be)}var at=M.indexOf("#");at!==-1&&(this.hash=M.substr(at),M=M.slice(0,at));var se=M.indexOf("?");if(se!==-1?(this.search=M.substr(se),this.query=M.substr(se+1),T&&(this.query=p.parse(this.query)),M=M.slice(0,se)):T&&(this.search="",this.query={}),M&&(this.pathname=M),c[z]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Re=this.pathname||"",q=this.search||"";this.path=Re+q}return this.href=this.format(),this};function w(E){return f.isString(E)&&(E=A(E)),E instanceof b?E.format():b.prototype.format.call(E)}b.prototype.format=function(){var E=this.auth||"";E&&(E=encodeURIComponent(E),E=E.replace(/%3A/i,":"),E+="@");var T=this.protocol||"",_=this.pathname||"",v=this.hash||"",S=!1,O="";this.host?S=E+this.host:this.hostname&&(S=E+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(S+=":"+this.port)),this.query&&f.isObject(this.query)&&Object.keys(this.query).length&&(O=p.stringify(this.query));var L=this.search||O&&"?"+O||"";return T&&T.substr(-1)!==":"&&(T+=":"),this.slashes||(!T||c[T])&&S!==!1?(S="//"+(S||""),_&&_.charAt(0)!=="/"&&(_="/"+_)):S||(S=""),v&&v.charAt(0)!=="#"&&(v="#"+v),L&&L.charAt(0)!=="?"&&(L="?"+L),_=_.replace(/[?#]/g,function(M){return encodeURIComponent(M)}),L=L.replace("#","%23"),T+S+_+L+v};function C(E,T){return A(E,!1,!0).resolve(T)}b.prototype.resolve=function(E){return this.resolveObject(A(E,!1,!0)).format()};function x(E,T){return E?A(E,!1,!0).resolveObject(T):T}b.prototype.resolveObject=function(E){if(f.isString(E)){var T=new b;T.parse(E,!1,!0),E=T}for(var _=new b,v=Object.keys(this),S=0;S<v.length;S++){var O=v[S];_[O]=this[O]}if(_.hash=E.hash,E.href==="")return _.href=_.format(),_;if(E.slashes&&!E.protocol){for(var L=Object.keys(E),M=0;M<L.length;M++){var F=L[M];F!=="protocol"&&(_[F]=E[F])}return c[_.protocol]&&_.hostname&&!_.pathname&&(_.path=_.pathname="/"),_.href=_.format(),_}if(E.protocol&&E.protocol!==_.protocol){if(!c[E.protocol]){for(var U=Object.keys(E),z=0;z<U.length;z++){var W=U[z];_[W]=E[W]}return _.href=_.format(),_}if(_.protocol=E.protocol,!E.host&&!s[E.protocol]){for(var Y=(E.pathname||"").split("/");Y.length&&!(E.host=Y.shift()););E.host||(E.host=""),E.hostname||(E.hostname=""),Y[0]!==""&&Y.unshift(""),Y.length<2&&Y.unshift(""),_.pathname=Y.join("/")}else _.pathname=E.pathname;if(_.search=E.search,_.query=E.query,_.host=E.host||"",_.auth=E.auth,_.hostname=E.hostname||E.host,_.port=E.port,_.pathname||_.search){var N=_.pathname||"",H=_.search||"";_.path=N+H}return _.slashes=_.slashes||E.slashes,_.href=_.format(),_}var j=_.pathname&&_.pathname.charAt(0)==="/",k=E.host||E.pathname&&E.pathname.charAt(0)==="/",B=k||j||_.host&&E.pathname,V=B,K=_.pathname&&_.pathname.split("/")||[],Y=E.pathname&&E.pathname.split("/")||[],Q=_.protocol&&!c[_.protocol];if(Q&&(_.hostname="",_.port=null,_.host&&(K[0]===""?K[0]=_.host:K.unshift(_.host)),_.host="",E.protocol&&(E.hostname=null,E.port=null,E.host&&(Y[0]===""?Y[0]=E.host:Y.unshift(E.host)),E.host=null),B=B&&(Y[0]===""||K[0]==="")),k)_.host=E.host||E.host===""?E.host:_.host,_.hostname=E.hostname||E.hostname===""?E.hostname:_.hostname,_.search=E.search,_.query=E.query,K=Y;else if(Y.length)K||(K=[]),K.pop(),K=K.concat(Y),_.search=E.search,_.query=E.query;else if(!f.isNullOrUndefined(E.search)){if(Q){_.hostname=_.host=K.shift();var he=_.host&&_.host.indexOf("@")>0?_.host.split("@"):!1;he&&(_.auth=he.shift(),_.host=_.hostname=he.shift())}return _.search=E.search,_.query=E.query,(!f.isNull(_.pathname)||!f.isNull(_.search))&&(_.path=(_.pathname?_.pathname:"")+(_.search?_.search:"")),_.href=_.format(),_}if(!K.length)return _.pathname=null,_.search?_.path="/"+_.search:_.path=null,_.href=_.format(),_;for(var G=K.slice(-1)[0],ye=(_.host||E.host||K.length>1)&&(G==="."||G==="..")||G==="",Ae=0,ge=K.length;ge>=0;ge--)G=K[ge],G==="."?K.splice(ge,1):G===".."?(K.splice(ge,1),Ae++):Ae&&(K.splice(ge,1),Ae--);if(!B&&!V)for(;Ae--;Ae)K.unshift("..");B&&K[0]!==""&&(!K[0]||K[0].charAt(0)!=="/")&&K.unshift(""),ye&&K.join("/").substr(-1)!=="/"&&K.push("");var Pe=K[0]===""||K[0]&&K[0].charAt(0)==="/";if(Q){_.hostname=_.host=Pe?"":K.length?K.shift():"";var he=_.host&&_.host.indexOf("@")>0?_.host.split("@"):!1;he&&(_.auth=he.shift(),_.host=_.hostname=he.shift())}return B=B||_.host&&K.length,B&&!Pe&&K.unshift(""),K.length?_.pathname=K.join("/"):(_.pathname=null,_.path=null),(!f.isNull(_.pathname)||!f.isNull(_.search))&&(_.path=(_.pathname?_.pathname:"")+(_.search?_.search:"")),_.auth=E.auth||_.auth,_.slashes=_.slashes||E.slashes,_.href=_.format(),_},b.prototype.parseHost=function(){var E=this.host,T=y.exec(E);T&&(T=T[0],T!==":"&&(this.port=T.substr(1)),E=E.substr(0,E.length-T.length)),E&&(this.hostname=E)}},{"./util":239,punycode:209,querystring:212}],239:[function(R,I,e){"use strict";I.exports={isString:function(f){return typeof f=="string"},isObject:function(f){return typeof f=="object"&&f!==null},isNull:function(f){return f===null},isNullOrUndefined:function(f){return f==null}}},{}],240:[function(R,I,e){(function(g){I.exports=f;function f(m,y){if(b("noDeprecation"))return m;var h=!1;function u(){if(!h){if(b("throwDeprecation"))throw new Error(y);b("traceDeprecation")?console.trace(y):console.warn(y),h=!0}return m.apply(this,arguments)}return u}function b(m){try{if(!g.localStorage)return!1}catch(h){return!1}var y=g.localStorage[m];return y==null?!1:String(y).toLowerCase()==="true"}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],241:[function(R,I,e){typeof Object.create=="function"?I.exports=function(f,b){f.super_=b,f.prototype=Object.create(b.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}})}:I.exports=function(f,b){f.super_=b;var m=function(){};m.prototype=b.prototype,f.prototype=new m,f.prototype.constructor=f}},{}],242:[function(R,I,e){I.exports=function(f){return f&&typeof f=="object"&&typeof f.copy=="function"&&typeof f.fill=="function"&&typeof f.readUInt8=="function"}},{}],243:[function(R,I,e){(function(g,f){var b=/%[sdj%]/g;e.format=function(N){if(!C(N)){for(var H=[],j=0;j<arguments.length;j++)H.push(h(arguments[j]));return H.join(" ")}for(var j=1,k=arguments,B=k.length,V=String(N).replace(b,function(Y){if(Y==="%%")return"%";if(j>=B)return Y;switch(Y){case"%s":return String(k[j++]);case"%d":return Number(k[j++]);case"%j":try{return JSON.stringify(k[j++])}catch(Q){return"[Circular]"}default:return Y}}),K=k[j];j<B;K=k[++j])p(K)||!_(K)?V+=" "+K:V+=" "+h(K);return V},e.deprecate=function(N,H){if(E(f.process))return function(){return e.deprecate(N,H).apply(this,arguments)};if(g.noDeprecation===!0)return N;var j=!1;function k(){if(!j){if(g.throwDeprecation)throw new Error(H);g.traceDeprecation?console.trace(H):console.error(H),j=!0}return N.apply(this,arguments)}return k};var m={},y;e.debuglog=function(N){if(E(y)&&(y=g.env.NODE_DEBUG||""),N=N.toUpperCase(),!m[N])if(new RegExp("\\b"+N+"\\b","i").test(y)){var H=g.pid;m[N]=function(){var j=e.format.apply(e,arguments);console.error("%s %d: %s",N,H,j)}}else m[N]=function(){};return m[N]};function h(N,H){var j={seen:[],stylize:i};return arguments.length>=3&&(j.depth=arguments[2]),arguments.length>=4&&(j.colors=arguments[3]),c(H)?j.showHidden=H:H&&e._extend(j,H),E(j.showHidden)&&(j.showHidden=!1),E(j.depth)&&(j.depth=2),E(j.colors)&&(j.colors=!1),E(j.customInspect)&&(j.customInspect=!0),j.colors&&(j.stylize=u),r(j,N,j.depth)}e.inspect=h,h.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]},h.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function u(N,H){var j=h.styles[H];return j?"["+h.colors[j][0]+"m"+N+"["+h.colors[j][1]+"m":N}function i(N,H){return N}function a(N){var H={};return N.forEach(function(j,k){H[j]=!0}),H}function r(N,H,j){if(N.customInspect&&H&&O(H.inspect)&&H.inspect!==e.inspect&&!(H.constructor&&H.constructor.prototype===H)){var k=H.inspect(j,N);return C(k)||(k=r(N,k,j)),k}var B=o(N,H);if(B)return B;var V=Object.keys(H),K=a(V);if(N.showHidden&&(V=Object.getOwnPropertyNames(H)),S(H)&&(V.indexOf("message")>=0||V.indexOf("description")>=0))return d(H);if(V.length===0){if(O(H)){var Y=H.name?": "+H.name:"";return N.stylize("[Function"+Y+"]","special")}if(T(H))return N.stylize(RegExp.prototype.toString.call(H),"regexp");if(v(H))return N.stylize(Date.prototype.toString.call(H),"date");if(S(H))return d(H)}var Q="",he=!1,G=["{","}"];if(s(H)&&(he=!0,G=["[","]"]),O(H)){var ye=H.name?": "+H.name:"";Q=" [Function"+ye+"]"}if(T(H)&&(Q=" "+RegExp.prototype.toString.call(H)),v(H)&&(Q=" "+Date.prototype.toUTCString.call(H)),S(H)&&(Q=" "+d(H)),V.length===0&&(!he||H.length==0))return G[0]+Q+G[1];if(j<0)return T(H)?N.stylize(RegExp.prototype.toString.call(H),"regexp"):N.stylize("[Object]","special");N.seen.push(H);var Ae;return he?Ae=n(N,H,j,K,V):Ae=V.map(function(ge){return l(N,H,j,K,ge,he)}),N.seen.pop(),t(Ae,Q,G)}function o(N,H){if(E(H))return N.stylize("undefined","undefined");if(C(H)){var j="'"+JSON.stringify(H).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return N.stylize(j,"string")}if(w(H))return N.stylize(""+H,"number");if(c(H))return N.stylize(""+H,"boolean");if(p(H))return N.stylize("null","null")}function d(N){return"["+Error.prototype.toString.call(N)+"]"}function n(N,H,j,k,B){for(var V=[],K=0,Y=H.length;K<Y;++K)W(H,String(K))?V.push(l(N,H,j,k,String(K),!0)):V.push("");return B.forEach(function(Q){Q.match(/^\d+$/)||V.push(l(N,H,j,k,Q,!0))}),V}function l(N,H,j,k,B,V){var K,Y,Q;if(Q=Object.getOwnPropertyDescriptor(H,B)||{value:H[B]},Q.get?Q.set?Y=N.stylize("[Getter/Setter]","special"):Y=N.stylize("[Getter]","special"):Q.set&&(Y=N.stylize("[Setter]","special")),W(k,B)||(K="["+B+"]"),Y||(N.seen.indexOf(Q.value)<0?(p(j)?Y=r(N,Q.value,null):Y=r(N,Q.value,j-1),Y.indexOf(`
`)>-1&&(V?Y=Y.split(`
`).map(function(he){return" "+he}).join(`
`).substr(2):Y=`
`+Y.split(`
`).map(function(he){return" "+he}).join(`
`))):Y=N.stylize("[Circular]","special")),E(K)){if(V&&B.match(/^\d+$/))return Y;K=JSON.stringify(""+B),K.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(K=K.substr(1,K.length-2),K=N.stylize(K,"name")):(K=K.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),K=N.stylize(K,"string"))}return K+": "+Y}function t(N,H,j){var k=0,B=N.reduce(function(V,K){return k++,K.indexOf(`
`)>=0&&k++,V+K.replace(/\u001b\[\d\d?m/g,"").length+1},0);return B>60?j[0]+(H===""?"":H+`
`)+" "+N.join(`,
`)+" "+j[1]:j[0]+H+" "+N.join(", ")+" "+j[1]}function s(N){return Array.isArray(N)}e.isArray=s;function c(N){return typeof N=="boolean"}e.isBoolean=c;function p(N){return N===null}e.isNull=p;function A(N){return N==null}e.isNullOrUndefined=A;function w(N){return typeof N=="number"}e.isNumber=w;function C(N){return typeof N=="string"}e.isString=C;function x(N){return typeof N=="symbol"}e.isSymbol=x;function E(N){return N===void 0}e.isUndefined=E;function T(N){return _(N)&&M(N)==="[object RegExp]"}e.isRegExp=T;function _(N){return typeof N=="object"&&N!==null}e.isObject=_;function v(N){return _(N)&&M(N)==="[object Date]"}e.isDate=v;function S(N){return _(N)&&(M(N)==="[object Error]"||N instanceof Error)}e.isError=S;function O(N){return typeof N=="function"}e.isFunction=O;function L(N){return N===null||typeof N=="boolean"||typeof N=="number"||typeof N=="string"||typeof N=="symbol"||typeof N=="undefined"}e.isPrimitive=L,e.isBuffer=R("./support/isBuffer");function M(N){return Object.prototype.toString.call(N)}function F(N){return N<10?"0"+N.toString(10):N.toString(10)}var U=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function z(){var N=new Date,H=[F(N.getHours()),F(N.getMinutes()),F(N.getSeconds())].join(":");return[N.getDate(),U[N.getMonth()],H].join(" ")}e.log=function(){console.log("%s - %s",z(),e.format.apply(e,arguments))},e.inherits=R("inherits"),e._extend=function(N,H){if(!H||!_(H))return N;for(var j=Object.keys(H),k=j.length;k--;)N[j[k]]=H[j[k]];return N};function W(N,H){return Object.prototype.hasOwnProperty.call(N,H)}}).call(this,R("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":242,_process:208,inherits:241}],244:[function(R,I,e){"use strict";(function(){"use strict";e.stripBOM=function(g){return g[0]==="\uFEFF"?g.substring(1):g}}).call(void 0)},{}],245:[function(R,I,e){"use strict";var g=R("babel-runtime/helpers/typeof"),f=y(g),b=R("babel-runtime/core-js/object/keys"),m=y(b);function y(h){return h&&h.__esModule?h:{default:h}}(function(){"use strict";var h,u,i,a,r,o={}.hasOwnProperty;h=R("xmlbuilder"),u=R("./defaults").defaults,a=function(n){return typeof n=="string"&&(n.indexOf("&")>=0||n.indexOf(">")>=0||n.indexOf("<")>=0)},r=function(n){return"<![CDATA["+i(n)+"]]>"},i=function(n){return n.replace("]]>","]]]]><![CDATA[>")},e.Builder=function(){function d(n){var l,t,s;this.options={},t=u["0.2"];for(l in t){if(!o.call(t,l))continue;s=t[l],this.options[l]=s}for(l in n){if(!o.call(n,l))continue;s=n[l],this.options[l]=s}}return d.prototype.buildObject=function(n){var l,t,s,c,p;return l=this.options.attrkey,t=this.options.charkey,(0,m.default)(n).length===1&&this.options.rootName===u["0.2"].rootName?(p=(0,m.default)(n)[0],n=n[p]):p=this.options.rootName,s=function(A){return function(w,C){var x,E,T,_,v,S;if((typeof C=="undefined"?"undefined":(0,f.default)(C))!=="object")A.options.cdata&&a(C)?w.raw(r(C)):w.txt(C);else if(Array.isArray(C))for(_ in C){if(!o.call(C,_))continue;E=C[_];for(v in E)T=E[v],w=s(w.ele(v),T).up()}else for(v in C){if(!o.call(C,v))continue;if(E=C[v],v===l){if((typeof E=="undefined"?"undefined":(0,f.default)(E))==="object")for(x in E)S=E[x],w=w.att(x,S)}else if(v===t)A.options.cdata&&a(E)?w=w.raw(r(E)):w=w.txt(E);else if(Array.isArray(E))for(_ in E){if(!o.call(E,_))continue;T=E[_],typeof T=="string"?A.options.cdata&&a(T)?w=w.ele(v).raw(r(T)).up():w=w.ele(v,T).up():w=s(w.ele(v),T).up()}else(typeof E=="undefined"?"undefined":(0,f.default)(E))==="object"?w=s(w.ele(v),E).up():typeof E=="string"&&A.options.cdata&&a(E)?w=w.ele(v).raw(r(E)).up():(E==null&&(E=""),w=w.ele(v,E.toString()).up())}return w}}(this),c=h.create(p,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),s(c,n).end(this.options.renderOpts)},d}()}).call(void 0)},{"./defaults":246,"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67,xmlbuilder:282}],246:[function(R,I,e){"use strict";(function(){e.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:`
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(void 0)},{}],247:[function(R,I,e){"use strict";var g=R("babel-runtime/core-js/promise"),f=a(g),b=R("babel-runtime/core-js/object/get-own-property-names"),m=a(b),y=R("babel-runtime/core-js/object/keys"),h=a(y),u=R("babel-runtime/helpers/typeof"),i=a(u);function a(r){return r&&r.__esModule?r:{default:r}}(function(){"use strict";var r,o,d,n,l,t,s,c,p=function(x,E){return function(){return x.apply(E,arguments)}},A=function(x,E){for(var T in E)w.call(E,T)&&(x[T]=E[T]);function _(){this.constructor=x}return _.prototype=E.prototype,x.prototype=new _,x.__super__=E.prototype,x},w={}.hasOwnProperty;s=R("sax"),d=R("events"),r=R("./bom"),t=R("./processors"),c=R("timers").setImmediate,o=R("./defaults").defaults,n=function(x){return(typeof x=="undefined"?"undefined":(0,i.default)(x))==="object"&&x!=null&&(0,h.default)(x).length===0},l=function(x,E,T){var _,v,S;for(_=0,v=x.length;_<v;_++)S=x[_],E=S(E,T);return E},e.Parser=function(C){A(x,C);function x(E){this.parseStringPromise=p(this.parseStringPromise,this),this.parseString=p(this.parseString,this),this.reset=p(this.reset,this),this.assignOrPush=p(this.assignOrPush,this),this.processAsync=p(this.processAsync,this);var T,_,v;if(!(this instanceof e.Parser))return new e.Parser(E);this.options={},_=o["0.2"];for(T in _){if(!w.call(_,T))continue;v=_[T],this.options[T]=v}for(T in E){if(!w.call(E,T))continue;v=E[T],this.options[T]=v}this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(t.normalize)),this.reset()}return x.prototype.processAsync=function(){var E,T;try{return this.remaining.length<=this.options.chunkSize?(E=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(E),this.saxParser.close()):(E=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(E),c(this.processAsync))}catch(_){if(T=_,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(T)}},x.prototype.assignOrPush=function(E,T,_){return T in E?(E[T]instanceof Array||(E[T]=[E[T]]),E[T].push(_)):this.options.explicitArray?E[T]=[_]:E[T]=_},x.prototype.reset=function(){var E,T,_,v;return this.removeAllListeners(),this.saxParser=s.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(S){return function(O){if(S.saxParser.resume(),!S.saxParser.errThrown)return S.saxParser.errThrown=!0,S.emit("error",O)}}(this),this.saxParser.onend=function(S){return function(){if(!S.saxParser.ended)return S.saxParser.ended=!0,S.emit("end",S.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,v=[],E=this.options.attrkey,T=this.options.charkey,this.saxParser.onopentag=function(S){return function(O){var L,M,F,U,z;if(F={},F[T]="",!S.options.ignoreAttrs){z=O.attributes;for(L in z){if(!w.call(z,L))continue;!(E in F)&&!S.options.mergeAttrs&&(F[E]={}),M=S.options.attrValueProcessors?l(S.options.attrValueProcessors,O.attributes[L],L):O.attributes[L],U=S.options.attrNameProcessors?l(S.options.attrNameProcessors,L):L,S.options.mergeAttrs?S.assignOrPush(F,U,M):F[E][U]=M}}return F["#name"]=S.options.tagNameProcessors?l(S.options.tagNameProcessors,O.name):O.name,S.options.xmlns&&(F[S.options.xmlnskey]={uri:O.uri,local:O.local}),v.push(F)}}(this),this.saxParser.onclosetag=function(S){return function(){var O,L,M,F,U,z,W,N,H,j;if(z=v.pop(),U=z["#name"],(!S.options.explicitChildren||!S.options.preserveChildrenOrder)&&delete z["#name"],z.cdata===!0&&(O=z.cdata,delete z.cdata),H=v[v.length-1],z[T].match(/^\s*$/)&&!O?(L=z[T],delete z[T]):(S.options.trim&&(z[T]=z[T].trim()),S.options.normalize&&(z[T]=z[T].replace(/\s{2,}/g," ").trim()),z[T]=S.options.valueProcessors?l(S.options.valueProcessors,z[T],U):z[T],(0,h.default)(z).length===1&&T in z&&!S.EXPLICIT_CHARKEY&&(z=z[T])),n(z)&&(z=S.options.emptyTag!==""?S.options.emptyTag:L),S.options.validator!=null&&(j="/"+function(){var k,B,V;for(V=[],k=0,B=v.length;k<B;k++)F=v[k],V.push(F["#name"]);return V}().concat(U).join("/"),function(){var k;try{return z=S.options.validator(j,H&&H[U],z)}catch(B){return k=B,S.emit("error",k)}}()),S.options.explicitChildren&&!S.options.mergeAttrs&&(typeof z=="undefined"?"undefined":(0,i.default)(z))==="object"){if(!S.options.preserveChildrenOrder)F={},S.options.attrkey in z&&(F[S.options.attrkey]=z[S.options.attrkey],delete z[S.options.attrkey]),!S.options.charsAsChildren&&S.options.charkey in z&&(F[S.options.charkey]=z[S.options.charkey],delete z[S.options.charkey]),(0,m.default)(z).length>0&&(F[S.options.childkey]=z),z=F;else if(H){H[S.options.childkey]=H[S.options.childkey]||[],W={};for(M in z){if(!w.call(z,M))continue;W[M]=z[M]}H[S.options.childkey].push(W),delete z["#name"],(0,h.default)(z).length===1&&T in z&&!S.EXPLICIT_CHARKEY&&(z=z[T])}}return v.length>0?S.assignOrPush(H,U,z):(S.options.explicitRoot&&(N=z,z={},z[U]=N),S.resultObject=z,S.saxParser.ended=!0,S.emit("end",S.resultObject))}}(this),_=function(S){return function(O){var L,M;if(M=v[v.length-1],M)return M[T]+=O,S.options.explicitChildren&&S.options.preserveChildrenOrder&&S.options.charsAsChildren&&(S.options.includeWhiteChars||O.replace(/\\n/g,"").trim()!=="")&&(M[S.options.childkey]=M[S.options.childkey]||[],L={"#name":"__text__"},L[T]=O,S.options.normalize&&(L[T]=L[T].replace(/\s{2,}/g," ").trim()),M[S.options.childkey].push(L)),M}}(this),this.saxParser.ontext=_,this.saxParser.oncdata=function(S){return function(O){var L;if(L=_(O),L)return L.cdata=!0}}(this)},x.prototype.parseString=function(E,T){var _;T!=null&&typeof T=="function"&&(this.on("end",function(v){return this.reset(),T(null,v)}),this.on("error",function(v){return this.reset(),T(v)}));try{return E=E.toString(),E.trim()===""?(this.emit("end",null),!0):(E=r.stripBOM(E),this.options.async?(this.remaining=E,c(this.processAsync),this.saxParser):this.saxParser.write(E).close())}catch(v){if(_=v,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw _}else return this.emit("error",_),this.saxParser.errThrown=!0}},x.prototype.parseStringPromise=function(E){return new f.default(function(T){return function(_,v){return T.parseString(E,function(S,O){return S?v(S):_(O)})}}(this))},x}(d),e.parseString=function(C,x,E){var T,_,v;return E!=null?(typeof E=="function"&&(T=E),(typeof x=="undefined"?"undefined":(0,i.default)(x))==="object"&&(_=x)):(typeof x=="function"&&(T=x),_={}),v=new e.Parser(_),v.parseString(C,T)},e.parseStringPromise=function(C,x){var E,T;return(typeof x=="undefined"?"undefined":(0,i.default)(x))==="object"&&(E=x),T=new e.Parser(E),T.parseStringPromise(C)}}).call(void 0)},{"./bom":244,"./defaults":246,"./processors":248,"babel-runtime/core-js/object/get-own-property-names":58,"babel-runtime/core-js/object/keys":60,"babel-runtime/core-js/promise":61,"babel-runtime/helpers/typeof":67,events:192,sax:229,timers:236}],248:[function(R,I,e){"use strict";(function(){"use strict";var g;g=new RegExp(/(?!xmlns)^.*:/),e.normalize=function(f){return f.toLowerCase()},e.firstCharLowerCase=function(f){return f.charAt(0).toLowerCase()+f.slice(1)},e.stripPrefix=function(f){return f.replace(g,"")},e.parseNumbers=function(f){return isNaN(f)||(f=f%1===0?parseInt(f,10):parseFloat(f)),f},e.parseBooleans=function(f){return/^(?:true|false)$/i.test(f)&&(f=f.toLowerCase()==="true"),f}}).call(void 0)},{}],249:[function(R,I,e){"use strict";(function(){"use strict";var g,f,b,m,y=function(i,a){for(var r in a)h.call(a,r)&&(i[r]=a[r]);function o(){this.constructor=i}return o.prototype=a.prototype,i.prototype=new o,i.__super__=a.prototype,i},h={}.hasOwnProperty;f=R("./defaults"),g=R("./builder"),b=R("./parser"),m=R("./processors"),e.defaults=f.defaults,e.processors=m,e.ValidationError=function(u){y(i,u);function i(a){this.message=a}return i}(Error),e.Builder=g.Builder,e.Parser=b.Parser,e.parseString=b.parseString,e.parseStringPromise=b.parseStringPromise}).call(void 0)},{"./builder":245,"./defaults":246,"./parser":247,"./processors":248}],250:[function(R,I,e){"use strict";(function(){I.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(void 0)},{}],251:[function(R,I,e){"use strict";(function(){I.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(void 0)},{}],252:[function(R,I,e){"use strict";var g=R("babel-runtime/core-js/object/get-prototype-of"),f=u(g),b=R("babel-runtime/helpers/typeof"),m=u(b),y=R("babel-runtime/core-js/object/assign"),h=u(y);function u(i){return i&&i.__esModule?i:{default:i}}(function(){var i,a,r,o,d,n,l,t=[].slice,s={}.hasOwnProperty;i=function(){var p,A,w,C,x,E;if(E=arguments[0],x=2<=arguments.length?t.call(arguments,1):[],d(h.default))h.default.apply(null,arguments);else for(p=0,w=x.length;p<w;p++)if(C=x[p],C!=null)for(A in C){if(!s.call(C,A))continue;E[A]=C[A]}return E},d=function(p){return!!p&&Object.prototype.toString.call(p)==="[object Function]"},n=function(p){var A;return!!p&&((A=typeof p=="undefined"?"undefined":(0,m.default)(p))==="function"||A==="object")},r=function(p){return d(Array.isArray)?Array.isArray(p):Object.prototype.toString.call(p)==="[object Array]"},o=function(p){var A;if(r(p))return!p.length;for(A in p){if(!s.call(p,A))continue;return!1}return!0},l=function(p){var A,w;return n(p)&&(w=(0,f.default)(p))&&(A=w.constructor)&&typeof A=="function"&&A instanceof A&&Function.prototype.toString.call(A)===Function.prototype.toString.call(Object)},a=function(p){return d(p.valueOf)?p.valueOf():p},I.exports.assign=i,I.exports.isFunction=d,I.exports.isObject=n,I.exports.isArray=r,I.exports.isEmpty=o,I.exports.isPlainObject=l,I.exports.getValue=a}).call(void 0)},{"babel-runtime/core-js/object/assign":54,"babel-runtime/core-js/object/get-prototype-of":59,"babel-runtime/helpers/typeof":67}],253:[function(R,I,e){"use strict";(function(){I.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(void 0)},{}],254:[function(R,I,e){"use strict";var g=R("babel-runtime/core-js/object/create"),f=b(g);function b(m){return m&&m.__esModule?m:{default:m}}(function(){var m,y,h;m=R("./NodeType"),h=R("./XMLNode"),I.exports=y=function(){function u(i,a,r){if(this.parent=i,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),a==null)throw new Error("Missing attribute name. "+this.debugInfo(a));this.name=this.stringify.name(a),this.value=this.stringify.attValue(r),this.type=m.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(u.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(u.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(u.prototype,"textContent",{get:function(){return this.value},set:function(a){return this.value=a||""}}),Object.defineProperty(u.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(u.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(u.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(u.prototype,"specified",{get:function(){return!0}}),u.prototype.clone=function(){return(0,f.default)(this)},u.prototype.toString=function(i){return this.options.writer.attribute(this,this.options.writer.filterOptions(i))},u.prototype.debugInfo=function(i){return i=i||this.name,i==null?"parent: <"+this.parent.name+">":"attribute: {"+i+"}, parent: <"+this.parent.name+">"},u.prototype.isEqualNode=function(i){return i.namespaceURI!==this.namespaceURI||(i.prefix!==this.prefix||i.localName!==this.localName)?!1:!(i.value!==this.value)},u}()}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],255:[function(R,I,e){"use strict";var g=R("babel-runtime/core-js/object/create"),f=b(g);function b(m){return m&&m.__esModule?m:{default:m}}(function(){var m,y,h,u=function(r,o){for(var d in o)i.call(o,d)&&(r[d]=o[d]);function n(){this.constructor=r}return n.prototype=o.prototype,r.prototype=new n,r.__super__=o.prototype,r},i={}.hasOwnProperty;m=R("./NodeType"),h=R("./XMLCharacterData"),I.exports=y=function(a){u(r,a);function r(o,d){if(r.__super__.constructor.call(this,o),d==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=m.CData,this.value=this.stringify.cdata(d)}return r.prototype.clone=function(){return(0,f.default)(this)},r.prototype.toString=function(o){return this.options.writer.cdata(this,this.options.writer.filterOptions(o))},r}(h)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],256:[function(R,I,e){"use strict";var g=R("babel-runtime/core-js/object/create"),f=b(g);function b(m){return m&&m.__esModule?m:{default:m}}(function(){var m,y,h=function(a,r){for(var o in r)u.call(r,o)&&(a[o]=r[o]);function d(){this.constructor=a}return d.prototype=r.prototype,a.prototype=new d,a.__super__=r.prototype,a},u={}.hasOwnProperty;y=R("./XMLNode"),I.exports=m=function(i){h(a,i);function a(r){a.__super__.constructor.call(this,r),this.value=""}return Object.defineProperty(a.prototype,"data",{get:function(){return this.value},set:function(o){return this.value=o||""}}),Object.defineProperty(a.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(a.prototype,"textContent",{get:function(){return this.value},set:function(o){return this.value=o||""}}),a.prototype.clone=function(){return(0,f.default)(this)},a.prototype.substringData=function(r,o){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.appendData=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.insertData=function(r,o){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.deleteData=function(r,o){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.replaceData=function(r,o,d){throw new Error("This DOM method is not implemented."+this.debugInfo())},a.prototype.isEqualNode=function(r){return a.__super__.isEqualNode.apply(this,arguments).isEqualNode(r)?!(r.data!==this.data):!1},a}(y)}).call(void 0)},{"./XMLNode":273,"babel-runtime/core-js/object/create":55}],257:[function(R,I,e){"use strict";var g=R("babel-runtime/core-js/object/create"),f=b(g);function b(m){return m&&m.__esModule?m:{default:m}}(function(){var m,y,h,u=function(r,o){for(var d in o)i.call(o,d)&&(r[d]=o[d]);function n(){this.constructor=r}return n.prototype=o.prototype,r.prototype=new n,r.__super__=o.prototype,r},i={}.hasOwnProperty;m=R("./NodeType"),y=R("./XMLCharacterData"),I.exports=h=function(a){u(r,a);function r(o,d){if(r.__super__.constructor.call(this,o),d==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=m.Comment,this.value=this.stringify.comment(d)}return r.prototype.clone=function(){return(0,f.default)(this)},r.prototype.toString=function(o){return this.options.writer.comment(this,this.options.writer.filterOptions(o))},r}(y)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],258:[function(R,I,e){"use strict";var g=R("babel-runtime/core-js/object/keys"),f=y(g),b=R("babel-runtime/core-js/object/create"),m=y(b);function y(h){return h&&h.__esModule?h:{default:h}}(function(){var h,u,i;u=R("./XMLDOMErrorHandler"),i=R("./XMLDOMStringList"),I.exports=h=function(){function a(){var r;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new u,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=r=(0,m.default)(this.defaultParams)}return Object.defineProperty(a.prototype,"parameterNames",{get:function(){return new i((0,f.default)(this.defaultParams))}}),a.prototype.getParameter=function(r){return this.params.hasOwnProperty(r)?this.params[r]:null},a.prototype.canSetParameter=function(r,o){return!0},a.prototype.setParameter=function(r,o){return o!=null?this.params[r]=o:delete this.params[r]},a}()}).call(void 0)},{"./XMLDOMErrorHandler":259,"./XMLDOMStringList":261,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60}],259:[function(R,I,e){"use strict";(function(){var g;I.exports=g=function(){function f(){}return f.prototype.handleError=function(b){throw new Error(b)},f}()}).call(void 0)},{}],260:[function(R,I,e){"use strict";(function(){var g;I.exports=g=function(){function f(){}return f.prototype.hasFeature=function(b,m){return!0},f.prototype.createDocumentType=function(b,m,y){throw new Error("This DOM method is not implemented.")},f.prototype.createDocument=function(b,m,y){throw new Error("This DOM method is not implemented.")},f.prototype.createHTMLDocument=function(b){throw new Error("This DOM method is not implemented.")},f.prototype.getFeature=function(b,m){throw new Error("This DOM method is not implemented.")},f}()}).call(void 0)},{}],261:[function(R,I,e){"use strict";(function(){var g;I.exports=g=function(){function f(b){this.arr=b||[]}return Object.defineProperty(f.prototype,"length",{get:function(){return this.arr.length}}),f.prototype.item=function(b){return this.arr[b]||null},f.prototype.contains=function(b){return this.arr.indexOf(b)!==-1},f}()}).call(void 0)},{}],262:[function(R,I,e){"use strict";(function(){var g,f,b,m=function(u,i){for(var a in i)y.call(i,a)&&(u[a]=i[a]);function r(){this.constructor=u}return r.prototype=i.prototype,u.prototype=new r,u.__super__=i.prototype,u},y={}.hasOwnProperty;b=R("./XMLNode"),g=R("./NodeType"),I.exports=f=function(h){m(u,h);function u(i,a,r,o,d,n){if(u.__super__.constructor.call(this,i),a==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(r==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(a));if(!o)throw new Error("Missing DTD attribute type. "+this.debugInfo(a));if(!d)throw new Error("Missing DTD attribute default. "+this.debugInfo(a));if(d.indexOf("#")!==0&&(d="#"+d),!d.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(a));if(n&&!d.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(a));this.elementName=this.stringify.name(a),this.type=g.AttributeDeclaration,this.attributeName=this.stringify.name(r),this.attributeType=this.stringify.dtdAttType(o),n&&(this.defaultValue=this.stringify.dtdAttDefault(n)),this.defaultValueType=d}return u.prototype.toString=function(i){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(i))},u}(b)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],263:[function(R,I,e){"use strict";(function(){var g,f,b,m=function(u,i){for(var a in i)y.call(i,a)&&(u[a]=i[a]);function r(){this.constructor=u}return r.prototype=i.prototype,u.prototype=new r,u.__super__=i.prototype,u},y={}.hasOwnProperty;b=R("./XMLNode"),g=R("./NodeType"),I.exports=f=function(h){m(u,h);function u(i,a,r){if(u.__super__.constructor.call(this,i),a==null)throw new Error("Missing DTD element name. "+this.debugInfo());r||(r="(#PCDATA)"),Array.isArray(r)&&(r="("+r.join(",")+")"),this.name=this.stringify.name(a),this.type=g.ElementDeclaration,this.value=this.stringify.dtdElementValue(r)}return u.prototype.toString=function(i){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(i))},u}(b)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],264:[function(R,I,e){"use strict";(function(){var g,f,b,m,y=function(i,a){for(var r in a)h.call(a,r)&&(i[r]=a[r]);function o(){this.constructor=i}return o.prototype=a.prototype,i.prototype=new o,i.__super__=a.prototype,i},h={}.hasOwnProperty;m=R("./Utility").isObject,b=R("./XMLNode"),g=R("./NodeType"),I.exports=f=function(u){y(i,u);function i(a,r,o,d){if(i.__super__.constructor.call(this,a),o==null)throw new Error("Missing DTD entity name. "+this.debugInfo(o));if(d==null)throw new Error("Missing DTD entity value. "+this.debugInfo(o));if(this.pe=!!r,this.name=this.stringify.name(o),this.type=g.EntityDeclaration,!m(d))this.value=this.stringify.dtdEntityValue(d),this.internal=!0;else{if(!d.pubID&&!d.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(o));if(d.pubID&&!d.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(o));if(this.internal=!1,d.pubID!=null&&(this.pubID=this.stringify.dtdPubID(d.pubID)),d.sysID!=null&&(this.sysID=this.stringify.dtdSysID(d.sysID)),d.nData!=null&&(this.nData=this.stringify.dtdNData(d.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(o))}}return Object.defineProperty(i.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(i.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(i.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(i.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(i.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(i.prototype,"xmlVersion",{get:function(){return null}}),i.prototype.toString=function(a){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(a))},i}(b)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],265:[function(R,I,e){"use strict";(function(){var g,f,b,m=function(u,i){for(var a in i)y.call(i,a)&&(u[a]=i[a]);function r(){this.constructor=u}return r.prototype=i.prototype,u.prototype=new r,u.__super__=i.prototype,u},y={}.hasOwnProperty;b=R("./XMLNode"),g=R("./NodeType"),I.exports=f=function(h){m(u,h);function u(i,a,r){if(u.__super__.constructor.call(this,i),a==null)throw new Error("Missing DTD notation name. "+this.debugInfo(a));if(!r.pubID&&!r.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(a));this.name=this.stringify.name(a),this.type=g.NotationDeclaration,r.pubID!=null&&(this.pubID=this.stringify.dtdPubID(r.pubID)),r.sysID!=null&&(this.sysID=this.stringify.dtdSysID(r.sysID))}return Object.defineProperty(u.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(u.prototype,"systemId",{get:function(){return this.sysID}}),u.prototype.toString=function(i){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(i))},u}(b)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],266:[function(R,I,e){"use strict";(function(){var g,f,b,m,y=function(i,a){for(var r in a)h.call(a,r)&&(i[r]=a[r]);function o(){this.constructor=i}return o.prototype=a.prototype,i.prototype=new o,i.__super__=a.prototype,i},h={}.hasOwnProperty;m=R("./Utility").isObject,b=R("./XMLNode"),g=R("./NodeType"),I.exports=f=function(u){y(i,u);function i(a,r,o,d){var n;i.__super__.constructor.call(this,a),m(r)&&(n=r,r=n.version,o=n.encoding,d=n.standalone),r||(r="1.0"),this.type=g.Declaration,this.version=this.stringify.xmlVersion(r),o!=null&&(this.encoding=this.stringify.xmlEncoding(o)),d!=null&&(this.standalone=this.stringify.xmlStandalone(d))}return i.prototype.toString=function(a){return this.options.writer.declaration(this,this.options.writer.filterOptions(a))},i}(b)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],267:[function(R,I,e){"use strict";(function(){var g,f,b,m,y,h,u,i,a,r=function(n,l){for(var t in l)o.call(l,t)&&(n[t]=l[t]);function s(){this.constructor=n}return s.prototype=l.prototype,n.prototype=new s,n.__super__=l.prototype,n},o={}.hasOwnProperty;a=R("./Utility").isObject,i=R("./XMLNode"),g=R("./NodeType"),f=R("./XMLDTDAttList"),m=R("./XMLDTDEntity"),b=R("./XMLDTDElement"),y=R("./XMLDTDNotation"),u=R("./XMLNamedNodeMap"),I.exports=h=function(d){r(n,d);function n(l,t,s){var c,p,A,w,C,x;if(n.__super__.constructor.call(this,l),this.type=g.DocType,l.children){for(w=l.children,p=0,A=w.length;p<A;p++)if(c=w[p],c.type===g.Element){this.name=c.name;break}}this.documentObject=l,a(t)&&(C=t,t=C.pubID,s=C.sysID),s==null&&(x=[t,s],s=x[0],t=x[1]),t!=null&&(this.pubID=this.stringify.dtdPubID(t)),s!=null&&(this.sysID=this.stringify.dtdSysID(s))}return Object.defineProperty(n.prototype,"entities",{get:function(){var t,s,c,p,A;for(p={},A=this.children,s=0,c=A.length;s<c;s++)t=A[s],t.type===g.EntityDeclaration&&!t.pe&&(p[t.name]=t);return new u(p)}}),Object.defineProperty(n.prototype,"notations",{get:function(){var t,s,c,p,A;for(p={},A=this.children,s=0,c=A.length;s<c;s++)t=A[s],t.type===g.NotationDeclaration&&(p[t.name]=t);return new u(p)}}),Object.defineProperty(n.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(n.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(n.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),n.prototype.element=function(l,t){var s;return s=new b(this,l,t),this.children.push(s),this},n.prototype.attList=function(l,t,s,c,p){var A;return A=new f(this,l,t,s,c,p),this.children.push(A),this},n.prototype.entity=function(l,t){var s;return s=new m(this,!1,l,t),this.children.push(s),this},n.prototype.pEntity=function(l,t){var s;return s=new m(this,!0,l,t),this.children.push(s),this},n.prototype.notation=function(l,t){var s;return s=new y(this,l,t),this.children.push(s),this},n.prototype.toString=function(l){return this.options.writer.docType(this,this.options.writer.filterOptions(l))},n.prototype.ele=function(l,t){return this.element(l,t)},n.prototype.att=function(l,t,s,c,p){return this.attList(l,t,s,c,p)},n.prototype.ent=function(l,t){return this.entity(l,t)},n.prototype.pent=function(l,t){return this.pEntity(l,t)},n.prototype.not=function(l,t){return this.notation(l,t)},n.prototype.up=function(){return this.root()||this.documentObject},n.prototype.isEqualNode=function(l){return n.__super__.isEqualNode.apply(this,arguments).isEqualNode(l)?l.name!==this.name||l.publicId!==this.publicId?!1:!(l.systemId!==this.systemId):!1},n}(i)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLNamedNodeMap":272,"./XMLNode":273}],268:[function(R,I,e){"use strict";(function(){var g,f,b,m,y,h,u,i,a=function(d,n){for(var l in n)r.call(n,l)&&(d[l]=n[l]);function t(){this.constructor=d}return t.prototype=n.prototype,d.prototype=new t,d.__super__=n.prototype,d},r={}.hasOwnProperty;i=R("./Utility").isPlainObject,b=R("./XMLDOMImplementation"),f=R("./XMLDOMConfiguration"),y=R("./XMLNode"),g=R("./NodeType"),u=R("./XMLStringifier"),h=R("./XMLStringWriter"),I.exports=m=function(o){a(d,o);function d(n){d.__super__.constructor.call(this,null),this.name="#document",this.type=g.Document,this.documentURI=null,this.domConfig=new f,n||(n={}),n.writer||(n.writer=new h),this.options=n,this.stringify=new u(n)}return Object.defineProperty(d.prototype,"implementation",{value:new b}),Object.defineProperty(d.prototype,"doctype",{get:function(){var l,t,s,c;for(c=this.children,t=0,s=c.length;t<s;t++)if(l=c[t],l.type===g.DocType)return l;return null}}),Object.defineProperty(d.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(d.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(d.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(d.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===g.Declaration?this.children[0].encoding:null}}),Object.defineProperty(d.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===g.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(d.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===g.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(d.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(d.prototype,"origin",{get:function(){return null}}),Object.defineProperty(d.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(d.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(d.prototype,"contentType",{get:function(){return null}}),d.prototype.end=function(n){var l;return l={},n?i(n)&&(l=n,n=this.options.writer):n=this.options.writer,n.document(this,n.filterOptions(l))},d.prototype.toString=function(n){return this.options.writer.document(this,this.options.writer.filterOptions(n))},d.prototype.createElement=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createTextNode=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createComment=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createCDATASection=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createProcessingInstruction=function(n,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createAttribute=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createEntityReference=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.getElementsByTagName=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.importNode=function(n,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createElementNS=function(n,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createAttributeNS=function(n,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.getElementsByTagNameNS=function(n,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.getElementById=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.adoptNode=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.renameNode=function(n,l,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.getElementsByClassName=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createEvent=function(n){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createNodeIterator=function(n,l,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},d.prototype.createTreeWalker=function(n,l,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},d}(y)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDOMConfiguration":258,"./XMLDOMImplementation":260,"./XMLNode":273,"./XMLStringWriter":278,"./XMLStringifier":279}],269:[function(R,I,e){"use strict";(function(){var g,f,b,m,y,h,u,i,a,r,o,d,n,l,t,s,c,p,A,w,C,x,E,T,_={}.hasOwnProperty;T=R("./Utility"),x=T.isObject,C=T.isFunction,E=T.isPlainObject,w=T.getValue,g=R("./NodeType"),d=R("./XMLDocument"),l=R("./XMLElement"),m=R("./XMLCData"),y=R("./XMLComment"),s=R("./XMLRaw"),A=R("./XMLText"),t=R("./XMLProcessingInstruction"),r=R("./XMLDeclaration"),o=R("./XMLDocType"),h=R("./XMLDTDAttList"),i=R("./XMLDTDEntity"),u=R("./XMLDTDElement"),a=R("./XMLDTDNotation"),b=R("./XMLAttribute"),p=R("./XMLStringifier"),c=R("./XMLStringWriter"),f=R("./WriterState"),I.exports=n=function(){function v(S,O,L){var M;this.name="?xml",this.type=g.Document,S||(S={}),M={},S.writer?E(S.writer)&&(M=S.writer,S.writer=new c):S.writer=new c,this.options=S,this.writer=S.writer,this.writerOptions=this.writer.filterOptions(M),this.stringify=new p(S),this.onDataCallback=O||function(){},this.onEndCallback=L||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return v.prototype.createChildNode=function(S){var O,L,M,F,U,z,W,N;switch(S.type){case g.CData:this.cdata(S.value);break;case g.Comment:this.comment(S.value);break;case g.Element:M={},W=S.attribs;for(L in W){if(!_.call(W,L))continue;O=W[L],M[L]=O.value}this.node(S.name,M);break;case g.Dummy:this.dummy();break;case g.Raw:this.raw(S.value);break;case g.Text:this.text(S.value);break;case g.ProcessingInstruction:this.instruction(S.target,S.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+S.constructor.name)}for(N=S.children,U=0,z=N.length;U<z;U++)F=N[U],this.createChildNode(F),F.type===g.Element&&this.up();return this},v.prototype.dummy=function(){return this},v.prototype.node=function(S,O,L){var M;if(S==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(S));return this.openCurrent(),S=w(S),O==null&&(O={}),O=w(O),x(O)||(M=[O,L],L=M[0],O=M[1]),this.currentNode=new l(this,S,O),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,L!=null&&this.text(L),this},v.prototype.element=function(S,O,L){var M,F,U,z,W,N;if(this.currentNode&&this.currentNode.type===g.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(S)||x(S)||C(S))for(z=this.options.noValidation,this.options.noValidation=!0,N=new d(this.options).element("TEMP_ROOT"),N.element(S),this.options.noValidation=z,W=N.children,F=0,U=W.length;F<U;F++)M=W[F],this.createChildNode(M),M.type===g.Element&&this.up();else this.node(S,O,L);return this},v.prototype.attribute=function(S,O){var L,M;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(S));if(S!=null&&(S=w(S)),x(S))for(L in S){if(!_.call(S,L))continue;M=S[L],this.attribute(L,M)}else C(O)&&(O=O.apply()),this.options.keepNullAttributes&&O==null?this.currentNode.attribs[S]=new b(this,S,""):O!=null&&(this.currentNode.attribs[S]=new b(this,S,O));return this},v.prototype.text=function(S){var O;return this.openCurrent(),O=new A(this,S),this.onData(this.writer.text(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},v.prototype.cdata=function(S){var O;return this.openCurrent(),O=new m(this,S),this.onData(this.writer.cdata(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},v.prototype.comment=function(S){var O;return this.openCurrent(),O=new y(this,S),this.onData(this.writer.comment(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},v.prototype.raw=function(S){var O;return this.openCurrent(),O=new s(this,S),this.onData(this.writer.raw(O,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},v.prototype.instruction=function(S,O){var L,M,F,U,z;if(this.openCurrent(),S!=null&&(S=w(S)),O!=null&&(O=w(O)),Array.isArray(S))for(L=0,U=S.length;L<U;L++)M=S[L],this.instruction(M);else if(x(S))for(M in S){if(!_.call(S,M))continue;F=S[M],this.instruction(M,F)}else C(O)&&(O=O.apply()),z=new t(this,S,O),this.onData(this.writer.processingInstruction(z,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},v.prototype.declaration=function(S,O,L){var M;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return M=new r(this,S,O,L),this.onData(this.writer.declaration(M,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},v.prototype.doctype=function(S,O,L){if(this.openCurrent(),S==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new o(this,O,L),this.currentNode.rootNodeName=S,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},v.prototype.dtdElement=function(S,O){var L;return this.openCurrent(),L=new u(this,S,O),this.onData(this.writer.dtdElement(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},v.prototype.attList=function(S,O,L,M,F){var U;return this.openCurrent(),U=new h(this,S,O,L,M,F),this.onData(this.writer.dtdAttList(U,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},v.prototype.entity=function(S,O){var L;return this.openCurrent(),L=new i(this,!1,S,O),this.onData(this.writer.dtdEntity(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},v.prototype.pEntity=function(S,O){var L;return this.openCurrent(),L=new i(this,!0,S,O),this.onData(this.writer.dtdEntity(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},v.prototype.notation=function(S,O){var L;return this.openCurrent(),L=new a(this,S,O),this.onData(this.writer.dtdNotation(L,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},v.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},v.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},v.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},v.prototype.openNode=function(S){var O,L,M,F;if(!S.isOpen){if(!this.root&&this.currentLevel===0&&S.type===g.Element&&(this.root=S),L="",S.type===g.Element){this.writerOptions.state=f.OpenTag,L=this.writer.indent(S,this.writerOptions,this.currentLevel)+"<"+S.name,F=S.attribs;for(M in F){if(!_.call(F,M))continue;O=F[M],L+=this.writer.attribute(O,this.writerOptions,this.currentLevel)}L+=(S.children?">":"/>")+this.writer.endline(S,this.writerOptions,this.currentLevel),this.writerOptions.state=f.InsideTag}else this.writerOptions.state=f.OpenTag,L=this.writer.indent(S,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+S.rootNodeName,S.pubID&&S.sysID?L+=' PUBLIC "'+S.pubID+'" "'+S.sysID+'"':S.sysID&&(L+=' SYSTEM "'+S.sysID+'"'),S.children?(L+=" [",this.writerOptions.state=f.InsideTag):(this.writerOptions.state=f.CloseTag,L+=">"),L+=this.writer.endline(S,this.writerOptions,this.currentLevel);return this.onData(L,this.currentLevel),S.isOpen=!0}},v.prototype.closeNode=function(S){var O;if(!S.isClosed)return O="",this.writerOptions.state=f.CloseTag,S.type===g.Element?O=this.writer.indent(S,this.writerOptions,this.currentLevel)+"</"+S.name+">"+this.writer.endline(S,this.writerOptions,this.currentLevel):O=this.writer.indent(S,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(S,this.writerOptions,this.currentLevel),this.writerOptions.state=f.None,this.onData(O,this.currentLevel),S.isClosed=!0},v.prototype.onData=function(S,O){return this.documentStarted=!0,this.onDataCallback(S,O+1)},v.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},v.prototype.debugInfo=function(S){return S==null?"":"node: <"+S+">"},v.prototype.ele=function(){return this.element.apply(this,arguments)},v.prototype.nod=function(S,O,L){return this.node(S,O,L)},v.prototype.txt=function(S){return this.text(S)},v.prototype.dat=function(S){return this.cdata(S)},v.prototype.com=function(S){return this.comment(S)},v.prototype.ins=function(S,O){return this.instruction(S,O)},v.prototype.dec=function(S,O,L){return this.declaration(S,O,L)},v.prototype.dtd=function(S,O,L){return this.doctype(S,O,L)},v.prototype.e=function(S,O,L){return this.element(S,O,L)},v.prototype.n=function(S,O,L){return this.node(S,O,L)},v.prototype.t=function(S){return this.text(S)},v.prototype.d=function(S){return this.cdata(S)},v.prototype.c=function(S){return this.comment(S)},v.prototype.r=function(S){return this.raw(S)},v.prototype.i=function(S,O){return this.instruction(S,O)},v.prototype.att=function(){return this.currentNode&&this.currentNode.type===g.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},v.prototype.a=function(){return this.currentNode&&this.currentNode.type===g.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},v.prototype.ent=function(S,O){return this.entity(S,O)},v.prototype.pent=function(S,O){return this.pEntity(S,O)},v.prototype.not=function(S,O){return this.notation(S,O)},v}()}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLAttribute":254,"./XMLCData":255,"./XMLComment":257,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDocument":268,"./XMLElement":271,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLStringWriter":278,"./XMLStringifier":279,"./XMLText":280}],270:[function(R,I,e){"use strict";var g=R("babel-runtime/core-js/object/create"),f=b(g);function b(m){return m&&m.__esModule?m:{default:m}}(function(){var m,y,h,u=function(r,o){for(var d in o)i.call(o,d)&&(r[d]=o[d]);function n(){this.constructor=r}return n.prototype=o.prototype,r.prototype=new n,r.__super__=o.prototype,r},i={}.hasOwnProperty;h=R("./XMLNode"),m=R("./NodeType"),I.exports=y=function(a){u(r,a);function r(o){r.__super__.constructor.call(this,o),this.type=m.Dummy}return r.prototype.clone=function(){return(0,f.default)(this)},r.prototype.toString=function(o){return""},r}(h)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],271:[function(R,I,e){"use strict";var g=R("babel-runtime/core-js/object/create"),f=b(g);function b(m){return m&&m.__esModule?m:{default:m}}(function(){var m,y,h,u,i,a,r,o,d,n=function(s,c){for(var p in c)l.call(c,p)&&(s[p]=c[p]);function A(){this.constructor=s}return A.prototype=c.prototype,s.prototype=new A,s.__super__=c.prototype,s},l={}.hasOwnProperty;d=R("./Utility"),o=d.isObject,r=d.isFunction,a=d.getValue,i=R("./XMLNode"),m=R("./NodeType"),y=R("./XMLAttribute"),u=R("./XMLNamedNodeMap"),I.exports=h=function(t){n(s,t);function s(c,p,A){var w,C,x,E;if(s.__super__.constructor.call(this,c),p==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(p),this.type=m.Element,this.attribs={},this.schemaTypeInfo=null,A!=null&&this.attribute(A),c.type===m.Document&&(this.isRoot=!0,this.documentObject=c,c.rootObject=this,c.children)){for(E=c.children,C=0,x=E.length;C<x;C++)if(w=E[C],w.type===m.DocType){w.name=this.name;break}}}return Object.defineProperty(s.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(s.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(s.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(s.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(s.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(s.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(s.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(s.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new u(this.attribs)),this.attributeMap}}),s.prototype.clone=function(){var c,p,A,w;A=(0,f.default)(this),A.isRoot&&(A.documentObject=null),A.attribs={},w=this.attribs;for(p in w){if(!l.call(w,p))continue;c=w[p],A.attribs[p]=c.clone()}return A.children=[],this.children.forEach(function(C){var x;return x=C.clone(),x.parent=A,A.children.push(x)}),A},s.prototype.attribute=function(c,p){var A,w;if(c!=null&&(c=a(c)),o(c))for(A in c){if(!l.call(c,A))continue;w=c[A],this.attribute(A,w)}else r(p)&&(p=p.apply()),this.options.keepNullAttributes&&p==null?this.attribs[c]=new y(this,c,""):p!=null&&(this.attribs[c]=new y(this,c,p));return this},s.prototype.removeAttribute=function(c){var p,A,w;if(c==null)throw new Error("Missing attribute name. "+this.debugInfo());if(c=a(c),Array.isArray(c))for(A=0,w=c.length;A<w;A++)p=c[A],delete this.attribs[p];else delete this.attribs[c];return this},s.prototype.toString=function(c){return this.options.writer.element(this,this.options.writer.filterOptions(c))},s.prototype.att=function(c,p){return this.attribute(c,p)},s.prototype.a=function(c,p){return this.attribute(c,p)},s.prototype.getAttribute=function(c){return this.attribs.hasOwnProperty(c)?this.attribs[c].value:null},s.prototype.setAttribute=function(c,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNode=function(c){return this.attribs.hasOwnProperty(c)?this.attribs[c]:null},s.prototype.setAttributeNode=function(c){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.removeAttributeNode=function(c){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagName=function(c){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNS=function(c,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setAttributeNS=function(c,p,A){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.removeAttributeNS=function(c,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNodeNS=function(c,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setAttributeNodeNS=function(c){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagNameNS=function(c,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.hasAttribute=function(c){return this.attribs.hasOwnProperty(c)},s.prototype.hasAttributeNS=function(c,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setIdAttribute=function(c,p){return this.attribs.hasOwnProperty(c)?this.attribs[c].isId:p},s.prototype.setIdAttributeNS=function(c,p,A){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setIdAttributeNode=function(c,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagName=function(c){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagNameNS=function(c,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByClassName=function(c){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.isEqualNode=function(c){var p,A,w;if(!s.__super__.isEqualNode.apply(this,arguments).isEqualNode(c))return!1;if(c.namespaceURI!==this.namespaceURI)return!1;if(c.prefix!==this.prefix)return!1;if(c.localName!==this.localName)return!1;if(c.attribs.length!==this.attribs.length)return!1;for(p=A=0,w=this.attribs.length-1;0<=w?A<=w:A>=w;p=0<=w?++A:--A)if(!this.attribs[p].isEqualNode(c.attribs[p]))return!1;return!0},s}(i)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLAttribute":254,"./XMLNamedNodeMap":272,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],272:[function(R,I,e){"use strict";var g=R("babel-runtime/core-js/object/keys"),f=b(g);function b(m){return m&&m.__esModule?m:{default:m}}(function(){var m;I.exports=m=function(){function y(h){this.nodes=h}return Object.defineProperty(y.prototype,"length",{get:function(){return(0,f.default)(this.nodes).length||0}}),y.prototype.clone=function(){return this.nodes=null},y.prototype.getNamedItem=function(h){return this.nodes[h]},y.prototype.setNamedItem=function(h){var u;return u=this.nodes[h.nodeName],this.nodes[h.nodeName]=h,u||null},y.prototype.removeNamedItem=function(h){var u;return u=this.nodes[h],delete this.nodes[h],u||null},y.prototype.item=function(h){return this.nodes[(0,f.default)(this.nodes)[h]]||null},y.prototype.getNamedItemNS=function(h,u){throw new Error("This DOM method is not implemented.")},y.prototype.setNamedItemNS=function(h){throw new Error("This DOM method is not implemented.")},y.prototype.removeNamedItemNS=function(h,u){throw new Error("This DOM method is not implemented.")},y}()}).call(void 0)},{"babel-runtime/core-js/object/keys":60}],273:[function(R,I,e){"use strict";(function(){var g,f,b,m,y,h,u,i,a,r,o,d,n,l,t,s,c,p,A,w={}.hasOwnProperty;A=R("./Utility"),p=A.isObject,c=A.isFunction,s=A.isEmpty,t=A.getValue,i=null,b=null,m=null,y=null,h=null,n=null,l=null,d=null,u=null,f=null,o=null,a=null,g=null,I.exports=r=function(){function C(x){this.parent=x,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,i||(i=R("./XMLElement"),b=R("./XMLCData"),m=R("./XMLComment"),y=R("./XMLDeclaration"),h=R("./XMLDocType"),n=R("./XMLRaw"),l=R("./XMLText"),d=R("./XMLProcessingInstruction"),u=R("./XMLDummy"),f=R("./NodeType"),o=R("./XMLNodeList"),a=R("./XMLNamedNodeMap"),g=R("./DocumentPosition"))}return Object.defineProperty(C.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(C.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(C.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(C.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(C.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new o(this.children)),this.childNodeList}}),Object.defineProperty(C.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(C.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(C.prototype,"previousSibling",{get:function(){var E;return E=this.parent.children.indexOf(this),this.parent.children[E-1]||null}}),Object.defineProperty(C.prototype,"nextSibling",{get:function(){var E;return E=this.parent.children.indexOf(this),this.parent.children[E+1]||null}}),Object.defineProperty(C.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(C.prototype,"textContent",{get:function(){var E,T,_,v,S;if(this.nodeType===f.Element||this.nodeType===f.DocumentFragment){for(S="",v=this.children,T=0,_=v.length;T<_;T++)E=v[T],E.textContent&&(S+=E.textContent);return S}else return null},set:function(E){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),C.prototype.setParent=function(x){var E,T,_,v,S;for(this.parent=x,x&&(this.options=x.options,this.stringify=x.stringify),v=this.children,S=[],T=0,_=v.length;T<_;T++)E=v[T],S.push(E.setParent(this));return S},C.prototype.element=function(x,E,T){var _,v,S,O,L,M,F,U,z,W,N;if(M=null,E===null&&T==null&&(z=[{},null],E=z[0],T=z[1]),E==null&&(E={}),E=t(E),p(E)||(W=[E,T],T=W[0],E=W[1]),x!=null&&(x=t(x)),Array.isArray(x))for(S=0,F=x.length;S<F;S++)v=x[S],M=this.element(v);else if(c(x))M=this.element(x.apply());else if(p(x))for(L in x){if(!w.call(x,L))continue;if(N=x[L],c(N)&&(N=N.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&L.indexOf(this.stringify.convertAttKey)===0)M=this.attribute(L.substr(this.stringify.convertAttKey.length),N);else if(!this.options.separateArrayItems&&Array.isArray(N)&&s(N))M=this.dummy();else if(p(N)&&s(N))M=this.element(L);else if(!this.options.keepNullNodes&&N==null)M=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(N))for(O=0,U=N.length;O<U;O++)v=N[O],_={},_[L]=v,M=this.element(_);else p(N)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&L.indexOf(this.stringify.convertTextKey)===0?M=this.element(N):(M=this.element(L),M.element(N)):M=this.element(L,N)}else!this.options.keepNullNodes&&T===null?M=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&x.indexOf(this.stringify.convertTextKey)===0?M=this.text(T):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&x.indexOf(this.stringify.convertCDataKey)===0?M=this.cdata(T):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&x.indexOf(this.stringify.convertCommentKey)===0?M=this.comment(T):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&x.indexOf(this.stringify.convertRawKey)===0?M=this.raw(T):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&x.indexOf(this.stringify.convertPIKey)===0?M=this.instruction(x.substr(this.stringify.convertPIKey.length),T):M=this.node(x,E,T);if(M==null)throw new Error("Could not create any elements with: "+x+". "+this.debugInfo());return M},C.prototype.insertBefore=function(x,E,T){var _,v,S,O,L;if(x!=null?x.type:void 0)return S=x,O=E,S.setParent(this),O?(v=children.indexOf(O),L=children.splice(v),children.push(S),Array.prototype.push.apply(children,L)):children.push(S),S;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(x));return v=this.parent.children.indexOf(this),L=this.parent.children.splice(v),_=this.parent.element(x,E,T),Array.prototype.push.apply(this.parent.children,L),_},C.prototype.insertAfter=function(x,E,T){var _,v,S;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(x));return v=this.parent.children.indexOf(this),S=this.parent.children.splice(v+1),_=this.parent.element(x,E,T),Array.prototype.push.apply(this.parent.children,S),_},C.prototype.remove=function(){var x,E;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return x=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[x,x-x+1].concat(E=[])),this.parent},C.prototype.node=function(x,E,T){var _,v;return x!=null&&(x=t(x)),E||(E={}),E=t(E),p(E)||(v=[E,T],T=v[0],E=v[1]),_=new i(this,x,E),T!=null&&_.text(T),this.children.push(_),_},C.prototype.text=function(x){var E;return p(x)&&this.element(x),E=new l(this,x),this.children.push(E),this},C.prototype.cdata=function(x){var E;return E=new b(this,x),this.children.push(E),this},C.prototype.comment=function(x){var E;return E=new m(this,x),this.children.push(E),this},C.prototype.commentBefore=function(x){var E,T,_;return T=this.parent.children.indexOf(this),_=this.parent.children.splice(T),E=this.parent.comment(x),Array.prototype.push.apply(this.parent.children,_),this},C.prototype.commentAfter=function(x){var E,T,_;return T=this.parent.children.indexOf(this),_=this.parent.children.splice(T+1),E=this.parent.comment(x),Array.prototype.push.apply(this.parent.children,_),this},C.prototype.raw=function(x){var E;return E=new n(this,x),this.children.push(E),this},C.prototype.dummy=function(){var x;return x=new u(this),x},C.prototype.instruction=function(x,E){var T,_,v,S,O;if(x!=null&&(x=t(x)),E!=null&&(E=t(E)),Array.isArray(x))for(S=0,O=x.length;S<O;S++)T=x[S],this.instruction(T);else if(p(x))for(T in x){if(!w.call(x,T))continue;_=x[T],this.instruction(T,_)}else c(E)&&(E=E.apply()),v=new d(this,x,E),this.children.push(v);return this},C.prototype.instructionBefore=function(x,E){var T,_,v;return _=this.parent.children.indexOf(this),v=this.parent.children.splice(_),T=this.parent.instruction(x,E),Array.prototype.push.apply(this.parent.children,v),this},C.prototype.instructionAfter=function(x,E){var T,_,v;return _=this.parent.children.indexOf(this),v=this.parent.children.splice(_+1),T=this.parent.instruction(x,E),Array.prototype.push.apply(this.parent.children,v),this},C.prototype.declaration=function(x,E,T){var _,v;return _=this.document(),v=new y(_,x,E,T),_.children.length===0?_.children.unshift(v):_.children[0].type===f.Declaration?_.children[0]=v:_.children.unshift(v),_.root()||_},C.prototype.dtd=function(x,E){var T,_,v,S,O,L,M,F,U,z;for(_=this.document(),v=new h(_,x,E),U=_.children,S=O=0,M=U.length;O<M;S=++O)if(T=U[S],T.type===f.DocType)return _.children[S]=v,v;for(z=_.children,S=L=0,F=z.length;L<F;S=++L)if(T=z[S],T.isRoot)return _.children.splice(S,0,v),v;return _.children.push(v),v},C.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},C.prototype.root=function(){var x;for(x=this;x;){if(x.type===f.Document)return x.rootObject;if(x.isRoot)return x;x=x.parent}},C.prototype.document=function(){var x;for(x=this;x;){if(x.type===f.Document)return x;x=x.parent}},C.prototype.end=function(x){return this.document().end(x)},C.prototype.prev=function(){var x;if(x=this.parent.children.indexOf(this),x<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[x-1]},C.prototype.next=function(){var x;if(x=this.parent.children.indexOf(this),x===-1||x===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[x+1]},C.prototype.importDocument=function(x){var E;return E=x.root().clone(),E.parent=this,E.isRoot=!1,this.children.push(E),this},C.prototype.debugInfo=function(x){var E,T;return x=x||this.name,x==null&&!((E=this.parent)!=null?E.name:void 0)?"":x==null?"parent: <"+this.parent.name+">":((T=this.parent)!=null?T.name:void 0)?"node: <"+x+">, parent: <"+this.parent.name+">":"node: <"+x+">"},C.prototype.ele=function(x,E,T){return this.element(x,E,T)},C.prototype.nod=function(x,E,T){return this.node(x,E,T)},C.prototype.txt=function(x){return this.text(x)},C.prototype.dat=function(x){return this.cdata(x)},C.prototype.com=function(x){return this.comment(x)},C.prototype.ins=function(x,E){return this.instruction(x,E)},C.prototype.doc=function(){return this.document()},C.prototype.dec=function(x,E,T){return this.declaration(x,E,T)},C.prototype.e=function(x,E,T){return this.element(x,E,T)},C.prototype.n=function(x,E,T){return this.node(x,E,T)},C.prototype.t=function(x){return this.text(x)},C.prototype.d=function(x){return this.cdata(x)},C.prototype.c=function(x){return this.comment(x)},C.prototype.r=function(x){return this.raw(x)},C.prototype.i=function(x,E){return this.instruction(x,E)},C.prototype.u=function(){return this.up()},C.prototype.importXMLBuilder=function(x){return this.importDocument(x)},C.prototype.replaceChild=function(x,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},C.prototype.removeChild=function(x){throw new Error("This DOM method is not implemented."+this.debugInfo())},C.prototype.appendChild=function(x){throw new Error("This DOM method is not implemented."+this.debugInfo())},C.prototype.hasChildNodes=function(){return this.children.length!==0},C.prototype.cloneNode=function(x){throw new Error("This DOM method is not implemented."+this.debugInfo())},C.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},C.prototype.isSupported=function(x,E){return!0},C.prototype.hasAttributes=function(){return this.attribs.length!==0},C.prototype.compareDocumentPosition=function(x){var E,T;return E=this,E===x?0:this.document()!==x.document()?(T=g.Disconnected|g.ImplementationSpecific,Math.random()<.5?T|=g.Preceding:T|=g.Following,T):E.isAncestor(x)?g.Contains|g.Preceding:E.isDescendant(x)?g.Contains|g.Following:E.isPreceding(x)?g.Preceding:g.Following},C.prototype.isSameNode=function(x){throw new Error("This DOM method is not implemented."+this.debugInfo())},C.prototype.lookupPrefix=function(x){throw new Error("This DOM method is not implemented."+this.debugInfo())},C.prototype.isDefaultNamespace=function(x){throw new Error("This DOM method is not implemented."+this.debugInfo())},C.prototype.lookupNamespaceURI=function(x){throw new Error("This DOM method is not implemented."+this.debugInfo())},C.prototype.isEqualNode=function(x){var E,T,_;if(x.nodeType!==this.nodeType)return!1;if(x.children.length!==this.children.length)return!1;for(E=T=0,_=this.children.length-1;0<=_?T<=_:T>=_;E=0<=_?++T:--T)if(!this.children[E].isEqualNode(x.children[E]))return!1;return!0},C.prototype.getFeature=function(x,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},C.prototype.setUserData=function(x,E,T){throw new Error("This DOM method is not implemented."+this.debugInfo())},C.prototype.getUserData=function(x){throw new Error("This DOM method is not implemented."+this.debugInfo())},C.prototype.contains=function(x){return x?x===this||this.isDescendant(x):!1},C.prototype.isDescendant=function(x){var E,T,_,v,S;for(S=this.children,_=0,v=S.length;_<v;_++){if(E=S[_],x===E)return!0;if(T=E.isDescendant(x),T)return!0}return!1},C.prototype.isAncestor=function(x){return x.isDescendant(this)},C.prototype.isPreceding=function(x){var E,T;return E=this.treePosition(x),T=this.treePosition(this),E===-1||T===-1?!1:E<T},C.prototype.isFollowing=function(x){var E,T;return E=this.treePosition(x),T=this.treePosition(this),E===-1||T===-1?!1:E>T},C.prototype.treePosition=function(x){var E,T;return T=0,E=!1,this.foreachTreeNode(this.document(),function(_){if(T++,!E&&_===x)return E=!0}),E?T:-1},C.prototype.foreachTreeNode=function(x,E){var T,_,v,S,O;for(x||(x=this.document()),S=x.children,_=0,v=S.length;_<v;_++){if(T=S[_],O=E(T))return O;if(O=this.foreachTreeNode(T,E),O)return O}},C}()}).call(void 0)},{"./DocumentPosition":250,"./NodeType":251,"./Utility":252,"./XMLCData":255,"./XMLComment":257,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDummy":270,"./XMLElement":271,"./XMLNamedNodeMap":272,"./XMLNodeList":274,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLText":280}],274:[function(R,I,e){"use strict";(function(){var g;I.exports=g=function(){function f(b){this.nodes=b}return Object.defineProperty(f.prototype,"length",{get:function(){return this.nodes.length||0}}),f.prototype.clone=function(){return this.nodes=null},f.prototype.item=function(b){return this.nodes[b]||null},f}()}).call(void 0)},{}],275:[function(R,I,e){"use strict";var g=R("babel-runtime/core-js/object/create"),f=b(g);function b(m){return m&&m.__esModule?m:{default:m}}(function(){var m,y,h,u=function(r,o){for(var d in o)i.call(o,d)&&(r[d]=o[d]);function n(){this.constructor=r}return n.prototype=o.prototype,r.prototype=new n,r.__super__=o.prototype,r},i={}.hasOwnProperty;m=R("./NodeType"),y=R("./XMLCharacterData"),I.exports=h=function(a){u(r,a);function r(o,d,n){if(r.__super__.constructor.call(this,o),d==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=m.ProcessingInstruction,this.target=this.stringify.insTarget(d),this.name=this.target,n&&(this.value=this.stringify.insValue(n))}return r.prototype.clone=function(){return(0,f.default)(this)},r.prototype.toString=function(o){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(o))},r.prototype.isEqualNode=function(o){return r.__super__.isEqualNode.apply(this,arguments).isEqualNode(o)?!(o.target!==this.target):!1},r}(y)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],276:[function(R,I,e){"use strict";var g=R("babel-runtime/core-js/object/create"),f=b(g);function b(m){return m&&m.__esModule?m:{default:m}}(function(){var m,y,h,u=function(r,o){for(var d in o)i.call(o,d)&&(r[d]=o[d]);function n(){this.constructor=r}return n.prototype=o.prototype,r.prototype=new n,r.__super__=o.prototype,r},i={}.hasOwnProperty;m=R("./NodeType"),y=R("./XMLNode"),I.exports=h=function(a){u(r,a);function r(o,d){if(r.__super__.constructor.call(this,o),d==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=m.Raw,this.value=this.stringify.raw(d)}return r.prototype.clone=function(){return(0,f.default)(this)},r.prototype.toString=function(o){return this.options.writer.raw(this,this.options.writer.filterOptions(o))},r}(y)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],277:[function(R,I,e){"use strict";(function(){var g,f,b,m,y=function(i,a){for(var r in a)h.call(a,r)&&(i[r]=a[r]);function o(){this.constructor=i}return o.prototype=a.prototype,i.prototype=new o,i.__super__=a.prototype,i},h={}.hasOwnProperty;g=R("./NodeType"),m=R("./XMLWriterBase"),f=R("./WriterState"),I.exports=b=function(u){y(i,u);function i(a,r){this.stream=a,i.__super__.constructor.call(this,r)}return i.prototype.endline=function(a,r,o){return a.isLastRootNode&&r.state===f.CloseTag?"":i.__super__.endline.call(this,a,r,o)},i.prototype.document=function(a,r){var o,d,n,l,t,s,c,p,A;for(c=a.children,d=n=0,t=c.length;n<t;d=++n)o=c[d],o.isLastRootNode=d===a.children.length-1;for(r=this.filterOptions(r),p=a.children,A=[],l=0,s=p.length;l<s;l++)o=p[l],A.push(this.writeChildNode(o,r,0));return A},i.prototype.attribute=function(a,r,o){return this.stream.write(i.__super__.attribute.call(this,a,r,o))},i.prototype.cdata=function(a,r,o){return this.stream.write(i.__super__.cdata.call(this,a,r,o))},i.prototype.comment=function(a,r,o){return this.stream.write(i.__super__.comment.call(this,a,r,o))},i.prototype.declaration=function(a,r,o){return this.stream.write(i.__super__.declaration.call(this,a,r,o))},i.prototype.docType=function(a,r,o){var d,n,l,t;if(o||(o=0),this.openNode(a,r,o),r.state=f.OpenTag,this.stream.write(this.indent(a,r,o)),this.stream.write("<!DOCTYPE "+a.root().name),a.pubID&&a.sysID?this.stream.write(' PUBLIC "'+a.pubID+'" "'+a.sysID+'"'):a.sysID&&this.stream.write(' SYSTEM "'+a.sysID+'"'),a.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(a,r,o)),r.state=f.InsideTag,t=a.children,n=0,l=t.length;n<l;n++)d=t[n],this.writeChildNode(d,r,o+1);r.state=f.CloseTag,this.stream.write("]")}return r.state=f.CloseTag,this.stream.write(r.spaceBeforeSlash+">"),this.stream.write(this.endline(a,r,o)),r.state=f.None,this.closeNode(a,r,o)},i.prototype.element=function(a,r,o){var d,n,l,t,s,c,p,A,w,C;o||(o=0),this.openNode(a,r,o),r.state=f.OpenTag,this.stream.write(this.indent(a,r,o)+"<"+a.name),w=a.attribs;for(p in w){if(!h.call(w,p))continue;d=w[p],this.attribute(d,r,o)}if(l=a.children.length,t=l===0?null:a.children[0],l===0||a.children.every(function(x){return(x.type===g.Text||x.type===g.Raw)&&x.value===""}))r.allowEmpty?(this.stream.write(">"),r.state=f.CloseTag,this.stream.write("</"+a.name+">")):(r.state=f.CloseTag,this.stream.write(r.spaceBeforeSlash+"/>"));else if(r.pretty&&l===1&&(t.type===g.Text||t.type===g.Raw)&&t.value!=null)this.stream.write(">"),r.state=f.InsideTag,r.suppressPrettyCount++,A=!0,this.writeChildNode(t,r,o+1),r.suppressPrettyCount--,A=!1,r.state=f.CloseTag,this.stream.write("</"+a.name+">");else{for(this.stream.write(">"+this.endline(a,r,o)),r.state=f.InsideTag,C=a.children,s=0,c=C.length;s<c;s++)n=C[s],this.writeChildNode(n,r,o+1);r.state=f.CloseTag,this.stream.write(this.indent(a,r,o)+"</"+a.name+">")}return this.stream.write(this.endline(a,r,o)),r.state=f.None,this.closeNode(a,r,o)},i.prototype.processingInstruction=function(a,r,o){return this.stream.write(i.__super__.processingInstruction.call(this,a,r,o))},i.prototype.raw=function(a,r,o){return this.stream.write(i.__super__.raw.call(this,a,r,o))},i.prototype.text=function(a,r,o){return this.stream.write(i.__super__.text.call(this,a,r,o))},i.prototype.dtdAttList=function(a,r,o){return this.stream.write(i.__super__.dtdAttList.call(this,a,r,o))},i.prototype.dtdElement=function(a,r,o){return this.stream.write(i.__super__.dtdElement.call(this,a,r,o))},i.prototype.dtdEntity=function(a,r,o){return this.stream.write(i.__super__.dtdEntity.call(this,a,r,o))},i.prototype.dtdNotation=function(a,r,o){return this.stream.write(i.__super__.dtdNotation.call(this,a,r,o))},i}(m)}).call(void 0)},{"./NodeType":251,"./WriterState":253,"./XMLWriterBase":281}],278:[function(R,I,e){"use strict";(function(){var g,f,b=function(h,u){for(var i in u)m.call(u,i)&&(h[i]=u[i]);function a(){this.constructor=h}return a.prototype=u.prototype,h.prototype=new a,h.__super__=u.prototype,h},m={}.hasOwnProperty;f=R("./XMLWriterBase"),I.exports=g=function(y){b(h,y);function h(u){h.__super__.constructor.call(this,u)}return h.prototype.document=function(u,i){var a,r,o,d,n;for(i=this.filterOptions(i),d="",n=u.children,r=0,o=n.length;r<o;r++)a=n[r],d+=this.writeChildNode(a,i,0);return i.pretty&&d.slice(-i.newline.length)===i.newline&&(d=d.slice(0,-i.newline.length)),d},h}(f)}).call(void 0)},{"./XMLWriterBase":281}],279:[function(R,I,e){"use strict";(function(){var g,f=function(y,h){return function(){return y.apply(h,arguments)}},b={}.hasOwnProperty;I.exports=g=function(){function m(y){this.assertLegalName=f(this.assertLegalName,this),this.assertLegalChar=f(this.assertLegalChar,this);var h,u,i;y||(y={}),this.options=y,this.options.version||(this.options.version="1.0"),u=y.stringify||{};for(h in u){if(!b.call(u,h))continue;i=u[h],this[h]=i}}return m.prototype.name=function(y){return this.options.noValidation?y:this.assertLegalName(""+y||"")},m.prototype.text=function(y){return this.options.noValidation?y:this.assertLegalChar(this.textEscape(""+y||""))},m.prototype.cdata=function(y){return this.options.noValidation?y:(y=""+y||"",y=y.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(y))},m.prototype.comment=function(y){if(this.options.noValidation)return y;if(y=""+y||"",y.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+y);return this.assertLegalChar(y)},m.prototype.raw=function(y){return this.options.noValidation?y:""+y||""},m.prototype.attValue=function(y){return this.options.noValidation?y:this.assertLegalChar(this.attEscape(y=""+y||""))},m.prototype.insTarget=function(y){return this.options.noValidation?y:this.assertLegalChar(""+y||"")},m.prototype.insValue=function(y){if(this.options.noValidation)return y;if(y=""+y||"",y.match(/\?>/))throw new Error("Invalid processing instruction value: "+y);return this.assertLegalChar(y)},m.prototype.xmlVersion=function(y){if(this.options.noValidation)return y;if(y=""+y||"",!y.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+y);return y},m.prototype.xmlEncoding=function(y){if(this.options.noValidation)return y;if(y=""+y||"",!y.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+y);return this.assertLegalChar(y)},m.prototype.xmlStandalone=function(y){return this.options.noValidation?y:y?"yes":"no"},m.prototype.dtdPubID=function(y){return this.options.noValidation?y:this.assertLegalChar(""+y||"")},m.prototype.dtdSysID=function(y){return this.options.noValidation?y:this.assertLegalChar(""+y||"")},m.prototype.dtdElementValue=function(y){return this.options.noValidation?y:this.assertLegalChar(""+y||"")},m.prototype.dtdAttType=function(y){return this.options.noValidation?y:this.assertLegalChar(""+y||"")},m.prototype.dtdAttDefault=function(y){return this.options.noValidation?y:this.assertLegalChar(""+y||"")},m.prototype.dtdEntityValue=function(y){return this.options.noValidation?y:this.assertLegalChar(""+y||"")},m.prototype.dtdNData=function(y){return this.options.noValidation?y:this.assertLegalChar(""+y||"")},m.prototype.convertAttKey="@",m.prototype.convertPIKey="?",m.prototype.convertTextKey="#text",m.prototype.convertCDataKey="#cdata",m.prototype.convertCommentKey="#comment",m.prototype.convertRawKey="#raw",m.prototype.assertLegalChar=function(y){var h,u;if(this.options.noValidation)return y;if(h="",this.options.version==="1.0"){if(h=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=y.match(h))throw new Error("Invalid character in string: "+y+" at index "+u.index)}else if(this.options.version==="1.1"&&(h=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=y.match(h)))throw new Error("Invalid character in string: "+y+" at index "+u.index);return y},m.prototype.assertLegalName=function(y){var h;if(this.options.noValidation)return y;if(this.assertLegalChar(y),h=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!y.match(h))throw new Error("Invalid character in name");return y},m.prototype.textEscape=function(y){var h;return this.options.noValidation?y:(h=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,y.replace(h,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))},m.prototype.attEscape=function(y){var h;return this.options.noValidation?y:(h=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,y.replace(h,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;"))},m}()}).call(void 0)},{}],280:[function(R,I,e){"use strict";var g=R("babel-runtime/core-js/object/create"),f=b(g);function b(m){return m&&m.__esModule?m:{default:m}}(function(){var m,y,h,u=function(r,o){for(var d in o)i.call(o,d)&&(r[d]=o[d]);function n(){this.constructor=r}return n.prototype=o.prototype,r.prototype=new n,r.__super__=o.prototype,r},i={}.hasOwnProperty;m=R("./NodeType"),y=R("./XMLCharacterData"),I.exports=h=function(a){u(r,a);function r(o,d){if(r.__super__.constructor.call(this,o),d==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=m.Text,this.value=this.stringify.text(d)}return Object.defineProperty(r.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(r.prototype,"wholeText",{get:function(){var d,n,l;for(l="",n=this.previousSibling;n;)l=n.data+l,n=n.previousSibling;for(l+=this.data,d=this.nextSibling;d;)l=l+d.data,d=d.nextSibling;return l}}),r.prototype.clone=function(){return(0,f.default)(this)},r.prototype.toString=function(o){return this.options.writer.text(this,this.options.writer.filterOptions(o))},r.prototype.splitText=function(o){throw new Error("This DOM method is not implemented."+this.debugInfo())},r.prototype.replaceWholeText=function(o){throw new Error("This DOM method is not implemented."+this.debugInfo())},r}(y)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],281:[function(R,I,e){"use strict";(function(){var g,f,b,m,y,h,u,i,a,r,o,d,n,l,t,s,c,p={}.hasOwnProperty;c=R("./Utility").assign,g=R("./NodeType"),a=R("./XMLDeclaration"),r=R("./XMLDocType"),b=R("./XMLCData"),m=R("./XMLComment"),d=R("./XMLElement"),l=R("./XMLRaw"),t=R("./XMLText"),n=R("./XMLProcessingInstruction"),o=R("./XMLDummy"),y=R("./XMLDTDAttList"),h=R("./XMLDTDElement"),u=R("./XMLDTDEntity"),i=R("./XMLDTDNotation"),f=R("./WriterState"),I.exports=s=function(){function A(w){var C,x,E;w||(w={}),this.options=w,x=w.writer||{};for(C in x){if(!p.call(x,C))continue;E=x[C],this["_"+C]=this[C],this[C]=E}}return A.prototype.filterOptions=function(w){var C,x,E,T,_,v,S,O;return w||(w={}),w=c({},this.options,w),C={writer:this},C.pretty=w.pretty||!1,C.allowEmpty=w.allowEmpty||!1,C.indent=(x=w.indent)!=null?x:" ",C.newline=(E=w.newline)!=null?E:`
`,C.offset=(T=w.offset)!=null?T:0,C.dontPrettyTextNodes=(_=(v=w.dontPrettyTextNodes)!=null?v:w.dontprettytextnodes)!=null?_:0,C.spaceBeforeSlash=(S=(O=w.spaceBeforeSlash)!=null?O:w.spacebeforeslash)!=null?S:"",C.spaceBeforeSlash===!0&&(C.spaceBeforeSlash=" "),C.suppressPrettyCount=0,C.user={},C.state=f.None,C},A.prototype.indent=function(w,C,x){var E;return!C.pretty||C.suppressPrettyCount?"":C.pretty&&(E=(x||0)+C.offset+1,E>0)?new Array(E).join(C.indent):""},A.prototype.endline=function(w,C,x){return!C.pretty||C.suppressPrettyCount?"":C.newline},A.prototype.attribute=function(w,C,x){var E;return this.openAttribute(w,C,x),E=" "+w.name+'="'+w.value+'"',this.closeAttribute(w,C,x),E},A.prototype.cdata=function(w,C,x){var E;return this.openNode(w,C,x),C.state=f.OpenTag,E=this.indent(w,C,x)+"<![CDATA[",C.state=f.InsideTag,E+=w.value,C.state=f.CloseTag,E+="]]>"+this.endline(w,C,x),C.state=f.None,this.closeNode(w,C,x),E},A.prototype.comment=function(w,C,x){var E;return this.openNode(w,C,x),C.state=f.OpenTag,E=this.indent(w,C,x)+"<!-- ",C.state=f.InsideTag,E+=w.value,C.state=f.CloseTag,E+=" -->"+this.endline(w,C,x),C.state=f.None,this.closeNode(w,C,x),E},A.prototype.declaration=function(w,C,x){var E;return this.openNode(w,C,x),C.state=f.OpenTag,E=this.indent(w,C,x)+"<?xml",C.state=f.InsideTag,E+=' version="'+w.version+'"',w.encoding!=null&&(E+=' encoding="'+w.encoding+'"'),w.standalone!=null&&(E+=' standalone="'+w.standalone+'"'),C.state=f.CloseTag,E+=C.spaceBeforeSlash+"?>",E+=this.endline(w,C,x),C.state=f.None,this.closeNode(w,C,x),E},A.prototype.docType=function(w,C,x){var E,T,_,v,S;if(x||(x=0),this.openNode(w,C,x),C.state=f.OpenTag,v=this.indent(w,C,x),v+="<!DOCTYPE "+w.root().name,w.pubID&&w.sysID?v+=' PUBLIC "'+w.pubID+'" "'+w.sysID+'"':w.sysID&&(v+=' SYSTEM "'+w.sysID+'"'),w.children.length>0){for(v+=" [",v+=this.endline(w,C,x),C.state=f.InsideTag,S=w.children,T=0,_=S.length;T<_;T++)E=S[T],v+=this.writeChildNode(E,C,x+1);C.state=f.CloseTag,v+="]"}return C.state=f.CloseTag,v+=C.spaceBeforeSlash+">",v+=this.endline(w,C,x),C.state=f.None,this.closeNode(w,C,x),v},A.prototype.element=function(w,C,x){var E,T,_,v,S,O,L,M,F,U,z,W,N,H;x||(x=0),U=!1,z="",this.openNode(w,C,x),C.state=f.OpenTag,z+=this.indent(w,C,x)+"<"+w.name,W=w.attribs;for(F in W){if(!p.call(W,F))continue;E=W[F],z+=this.attribute(E,C,x)}if(_=w.children.length,v=_===0?null:w.children[0],_===0||w.children.every(function(j){return(j.type===g.Text||j.type===g.Raw)&&j.value===""}))C.allowEmpty?(z+=">",C.state=f.CloseTag,z+="</"+w.name+">"+this.endline(w,C,x)):(C.state=f.CloseTag,z+=C.spaceBeforeSlash+"/>"+this.endline(w,C,x));else if(C.pretty&&_===1&&(v.type===g.Text||v.type===g.Raw)&&v.value!=null)z+=">",C.state=f.InsideTag,C.suppressPrettyCount++,U=!0,z+=this.writeChildNode(v,C,x+1),C.suppressPrettyCount--,U=!1,C.state=f.CloseTag,z+="</"+w.name+">"+this.endline(w,C,x);else{if(C.dontPrettyTextNodes){for(N=w.children,S=0,L=N.length;S<L;S++)if(T=N[S],(T.type===g.Text||T.type===g.Raw)&&T.value!=null){C.suppressPrettyCount++,U=!0;break}}for(z+=">"+this.endline(w,C,x),C.state=f.InsideTag,H=w.children,O=0,M=H.length;O<M;O++)T=H[O],z+=this.writeChildNode(T,C,x+1);C.state=f.CloseTag,z+=this.indent(w,C,x)+"</"+w.name+">",U&&C.suppressPrettyCount--,z+=this.endline(w,C,x),C.state=f.None}return this.closeNode(w,C,x),z},A.prototype.writeChildNode=function(w,C,x){switch(w.type){case g.CData:return this.cdata(w,C,x);case g.Comment:return this.comment(w,C,x);case g.Element:return this.element(w,C,x);case g.Raw:return this.raw(w,C,x);case g.Text:return this.text(w,C,x);case g.ProcessingInstruction:return this.processingInstruction(w,C,x);case g.Dummy:return"";case g.Declaration:return this.declaration(w,C,x);case g.DocType:return this.docType(w,C,x);case g.AttributeDeclaration:return this.dtdAttList(w,C,x);case g.ElementDeclaration:return this.dtdElement(w,C,x);case g.EntityDeclaration:return this.dtdEntity(w,C,x);case g.NotationDeclaration:return this.dtdNotation(w,C,x);default:throw new Error("Unknown XML node type: "+w.constructor.name)}},A.prototype.processingInstruction=function(w,C,x){var E;return this.openNode(w,C,x),C.state=f.OpenTag,E=this.indent(w,C,x)+"<?",C.state=f.InsideTag,E+=w.target,w.value&&(E+=" "+w.value),C.state=f.CloseTag,E+=C.spaceBeforeSlash+"?>",E+=this.endline(w,C,x),C.state=f.None,this.closeNode(w,C,x),E},A.prototype.raw=function(w,C,x){var E;return this.openNode(w,C,x),C.state=f.OpenTag,E=this.indent(w,C,x),C.state=f.InsideTag,E+=w.value,C.state=f.CloseTag,E+=this.endline(w,C,x),C.state=f.None,this.closeNode(w,C,x),E},A.prototype.text=function(w,C,x){var E;return this.openNode(w,C,x),C.state=f.OpenTag,E=this.indent(w,C,x),C.state=f.InsideTag,E+=w.value,C.state=f.CloseTag,E+=this.endline(w,C,x),C.state=f.None,this.closeNode(w,C,x),E},A.prototype.dtdAttList=function(w,C,x){var E;return this.openNode(w,C,x),C.state=f.OpenTag,E=this.indent(w,C,x)+"<!ATTLIST",C.state=f.InsideTag,E+=" "+w.elementName+" "+w.attributeName+" "+w.attributeType,w.defaultValueType!=="#DEFAULT"&&(E+=" "+w.defaultValueType),w.defaultValue&&(E+=' "'+w.defaultValue+'"'),C.state=f.CloseTag,E+=C.spaceBeforeSlash+">"+this.endline(w,C,x),C.state=f.None,this.closeNode(w,C,x),E},A.prototype.dtdElement=function(w,C,x){var E;return this.openNode(w,C,x),C.state=f.OpenTag,E=this.indent(w,C,x)+"<!ELEMENT",C.state=f.InsideTag,E+=" "+w.name+" "+w.value,C.state=f.CloseTag,E+=C.spaceBeforeSlash+">"+this.endline(w,C,x),C.state=f.None,this.closeNode(w,C,x),E},A.prototype.dtdEntity=function(w,C,x){var E;return this.openNode(w,C,x),C.state=f.OpenTag,E=this.indent(w,C,x)+"<!ENTITY",C.state=f.InsideTag,w.pe&&(E+=" %"),E+=" "+w.name,w.value?E+=' "'+w.value+'"':(w.pubID&&w.sysID?E+=' PUBLIC "'+w.pubID+'" "'+w.sysID+'"':w.sysID&&(E+=' SYSTEM "'+w.sysID+'"'),w.nData&&(E+=" NDATA "+w.nData)),C.state=f.CloseTag,E+=C.spaceBeforeSlash+">"+this.endline(w,C,x),C.state=f.None,this.closeNode(w,C,x),E},A.prototype.dtdNotation=function(w,C,x){var E;return this.openNode(w,C,x),C.state=f.OpenTag,E=this.indent(w,C,x)+"<!NOTATION",C.state=f.InsideTag,E+=" "+w.name,w.pubID&&w.sysID?E+=' PUBLIC "'+w.pubID+'" "'+w.sysID+'"':w.pubID?E+=' PUBLIC "'+w.pubID+'"':w.sysID&&(E+=' SYSTEM "'+w.sysID+'"'),C.state=f.CloseTag,E+=C.spaceBeforeSlash+">"+this.endline(w,C,x),C.state=f.None,this.closeNode(w,C,x),E},A.prototype.openNode=function(w,C,x){},A.prototype.closeNode=function(w,C,x){},A.prototype.openAttribute=function(w,C,x){},A.prototype.closeAttribute=function(w,C,x){},A}()}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLCData":255,"./XMLComment":257,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLDeclaration":266,"./XMLDocType":267,"./XMLDummy":270,"./XMLElement":271,"./XMLProcessingInstruction":275,"./XMLRaw":276,"./XMLText":280}],282:[function(R,I,e){"use strict";(function(){var g,f,b,m,y,h,u,i,a,r;r=R("./Utility"),i=r.assign,a=r.isFunction,b=R("./XMLDOMImplementation"),m=R("./XMLDocument"),y=R("./XMLDocumentCB"),u=R("./XMLStringWriter"),h=R("./XMLStreamWriter"),g=R("./NodeType"),f=R("./WriterState"),I.exports.create=function(o,d,n,l){var t,s;if(o==null)throw new Error("Root element needs a name.");return l=i({},d,n,l),t=new m(l),s=t.element(o),l.headless||(t.declaration(l),(l.pubID!=null||l.sysID!=null)&&t.dtd(l)),s},I.exports.begin=function(o,d,n){var l;return a(o)&&(l=[o,d],d=l[0],n=l[1],o={}),d?new y(o,d,n):new m(o)},I.exports.stringWriter=function(o){return new u(o)},I.exports.streamWriter=function(o,d){return new h(o,d)},I.exports.implementation=new b,I.exports.nodeType=g,I.exports.writerState=f}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLDOMImplementation":260,"./XMLDocument":268,"./XMLDocumentCB":269,"./XMLStreamWriter":277,"./XMLStringWriter":278}],283:[function(R,I,e){I.exports=f;var g=Object.prototype.hasOwnProperty;function f(){for(var b={},m=0;m<arguments.length;m++){var y=arguments[m];for(var h in y)g.call(y,h)&&(b[h]=y[h])}return b}},{}],284:[function(R,I,e){"use strict";var g=R("buffer").Buffer,f=R("./sha"),b=R("./md5"),m={sha1:f,md5:b},y=64,h=g.alloc(y);h.fill(0);function u(r,o,d){g.isBuffer(o)||(o=g.from(o)),g.isBuffer(d)||(d=g.from(d)),o.length>y?o=r(o):o.length<y&&(o=g.concat([o,h],y));for(var n=g.alloc(y),l=g.alloc(y),t=0;t<y;t++)n[t]=o[t]^54,l[t]=o[t]^92;var s=r(g.concat([n,d]));return r(g.concat([l,s]))}function i(r,o){r=r||"sha1";var d=m[r],n=[],l=0;return d||a("algorithm:",r,"is not yet supported"),{update:function(s){return g.isBuffer(s)||(s=g.from(s)),n.push(s),l+=s.length,this},digest:function(s){var c=g.concat(n),p=o?u(d,o,c):d(c);return n=null,s?p.toString(s):p}}}function a(){var r=[].slice.call(arguments).join(" ");throw new Error([r,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
`))}e.createHash=function(r){return i(r)},e.createHmac=function(r,o){return i(r,o)},e.createCredentials=function(){a("sorry,createCredentials is not implemented yet")},e.createCipher=function(){a("sorry,createCipher is not implemented yet")},e.createCipheriv=function(){a("sorry,createCipheriv is not implemented yet")},e.createDecipher=function(){a("sorry,createDecipher is not implemented yet")},e.createDecipheriv=function(){a("sorry,createDecipheriv is not implemented yet")},e.createSign=function(){a("sorry,createSign is not implemented yet")},e.createVerify=function(){a("sorry,createVerify is not implemented yet")},e.createDiffieHellman=function(){a("sorry,createDiffieHellman is not implemented yet")},e.pbkdf2=function(){a("sorry,pbkdf2 is not implemented yet")}},{"./md5":286,"./sha":287,buffer:73}],285:[function(R,I,e){"use strict";var g=R("buffer").Buffer,f=4,b=g.alloc(f);b.fill(0);var m=8;function y(i,a){if(i.length%f!==0){var r=i.length+(f-i.length%f);i=g.concat([i,b],r)}for(var o=[],d=a?i.readInt32BE:i.readInt32LE,n=0;n<i.length;n+=f)o.push(d.call(i,n));return o}function h(i,a,r){for(var o=g.alloc(a),d=r?o.writeInt32BE:o.writeInt32LE,n=0;n<i.length;n++)d.call(o,i[n],n*4,!0);return o}function u(i,a,r,o){g.isBuffer(i)||(i=g.from(i));var d=a(y(i,o),i.length*m);return h(d,r,o)}I.exports={hash:u}},{buffer:73}],286:[function(R,I,e){"use strict";var g=R("./helpers");function f(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function b(o,d){o[d>>5]|=128<<d%32,o[(d+64>>>9<<4)+14]=d;for(var n=1732584193,l=-271733879,t=-1732584194,s=271733878,c=0;c<o.length;c+=16){var p=n,A=l,w=t,C=s;n=y(n,l,t,s,o[c+0],7,-680876936),s=y(s,n,l,t,o[c+1],12,-389564586),t=y(t,s,n,l,o[c+2],17,606105819),l=y(l,t,s,n,o[c+3],22,-1044525330),n=y(n,l,t,s,o[c+4],7,-176418897),s=y(s,n,l,t,o[c+5],12,1200080426),t=y(t,s,n,l,o[c+6],17,-1473231341),l=y(l,t,s,n,o[c+7],22,-45705983),n=y(n,l,t,s,o[c+8],7,1770035416),s=y(s,n,l,t,o[c+9],12,-1958414417),t=y(t,s,n,l,o[c+10],17,-42063),l=y(l,t,s,n,o[c+11],22,-1990404162),n=y(n,l,t,s,o[c+12],7,1804603682),s=y(s,n,l,t,o[c+13],12,-40341101),t=y(t,s,n,l,o[c+14],17,-1502002290),l=y(l,t,s,n,o[c+15],22,1236535329),n=h(n,l,t,s,o[c+1],5,-165796510),s=h(s,n,l,t,o[c+6],9,-1069501632),t=h(t,s,n,l,o[c+11],14,643717713),l=h(l,t,s,n,o[c+0],20,-373897302),n=h(n,l,t,s,o[c+5],5,-701558691),s=h(s,n,l,t,o[c+10],9,38016083),t=h(t,s,n,l,o[c+15],14,-660478335),l=h(l,t,s,n,o[c+4],20,-405537848),n=h(n,l,t,s,o[c+9],5,568446438),s=h(s,n,l,t,o[c+14],9,-1019803690),t=h(t,s,n,l,o[c+3],14,-187363961),l=h(l,t,s,n,o[c+8],20,1163531501),n=h(n,l,t,s,o[c+13],5,-1444681467),s=h(s,n,l,t,o[c+2],9,-51403784),t=h(t,s,n,l,o[c+7],14,1735328473),l=h(l,t,s,n,o[c+12],20,-1926607734),n=u(n,l,t,s,o[c+5],4,-378558),s=u(s,n,l,t,o[c+8],11,-2022574463),t=u(t,s,n,l,o[c+11],16,1839030562),l=u(l,t,s,n,o[c+14],23,-35309556),n=u(n,l,t,s,o[c+1],4,-1530992060),s=u(s,n,l,t,o[c+4],11,1272893353),t=u(t,s,n,l,o[c+7],16,-155497632),l=u(l,t,s,n,o[c+10],23,-1094730640),n=u(n,l,t,s,o[c+13],4,681279174),s=u(s,n,l,t,o[c+0],11,-358537222),t=u(t,s,n,l,o[c+3],16,-722521979),l=u(l,t,s,n,o[c+6],23,76029189),n=u(n,l,t,s,o[c+9],4,-640364487),s=u(s,n,l,t,o[c+12],11,-421815835),t=u(t,s,n,l,o[c+15],16,530742520),l=u(l,t,s,n,o[c+2],23,-995338651),n=i(n,l,t,s,o[c+0],6,-198630844),s=i(s,n,l,t,o[c+7],10,1126891415),t=i(t,s,n,l,o[c+14],15,-1416354905),l=i(l,t,s,n,o[c+5],21,-57434055),n=i(n,l,t,s,o[c+12],6,1700485571),s=i(s,n,l,t,o[c+3],10,-1894986606),t=i(t,s,n,l,o[c+10],15,-1051523),l=i(l,t,s,n,o[c+1],21,-2054922799),n=i(n,l,t,s,o[c+8],6,1873313359),s=i(s,n,l,t,o[c+15],10,-30611744),t=i(t,s,n,l,o[c+6],15,-1560198380),l=i(l,t,s,n,o[c+13],21,1309151649),n=i(n,l,t,s,o[c+4],6,-145523070),s=i(s,n,l,t,o[c+11],10,-1120210379),t=i(t,s,n,l,o[c+2],15,718787259),l=i(l,t,s,n,o[c+9],21,-343485551),n=a(n,p),l=a(l,A),t=a(t,w),s=a(s,C)}return Array(n,l,t,s)}function m(o,d,n,l,t,s){return a(r(a(a(d,o),a(l,s)),t),n)}function y(o,d,n,l,t,s,c){return m(d&n|~d&l,o,d,t,s,c)}function h(o,d,n,l,t,s,c){return m(d&l|n&~l,o,d,t,s,c)}function u(o,d,n,l,t,s,c){return m(d^n^l,o,d,t,s,c)}function i(o,d,n,l,t,s,c){return m(n^(d|~l),o,d,t,s,c)}function a(o,d){var n=(o&65535)+(d&65535),l=(o>>16)+(d>>16)+(n>>16);return l<<16|n&65535}function r(o,d){return o<<d|o>>>32-d}I.exports=function(d){return g.hash(d,b,16)}},{"./helpers":285}],287:[function(R,I,e){"use strict";var g=R("./helpers");function f(u,i){u[i>>5]|=128<<24-i%32,u[(i+64>>9<<4)+15]=i;for(var a=Array(80),r=1732584193,o=-271733879,d=-1732584194,n=271733878,l=-1009589776,t=0;t<u.length;t+=16){for(var s=r,c=o,p=d,A=n,w=l,C=0;C<80;C++){C<16?a[C]=u[t+C]:a[C]=h(a[C-3]^a[C-8]^a[C-14]^a[C-16],1);var x=y(y(h(r,5),b(C,o,d,n)),y(y(l,a[C]),m(C)));l=n,n=d,d=h(o,30),o=r,r=x}r=y(r,s),o=y(o,c),d=y(d,p),n=y(n,A),l=y(l,w)}return Array(r,o,d,n,l)}function b(u,i,a,r){return u<20?i&a|~i&r:u<40?i^a^r:u<60?i&a|i&r|a&r:i^a^r}function m(u){return u<20?1518500249:u<40?1859775393:u<60?-1894007588:-899497514}function y(u,i){var a=(u&65535)+(i&65535),r=(u>>16)+(i>>16)+(a>>16);return r<<16|a&65535}function h(u,i){return u<<i|u>>>32-i}I.exports=function(i){return g.hash(i,f,20,!0)}},{"./helpers":285}],288:[function(R,I,e){"use strict";I.exports=function(){return function(){}}},{}],289:[function(R,I,e){(function(g){"use strict";var f=R("babel-runtime/helpers/typeof"),b=m(f);function m(r){return r&&r.__esModule?r:{default:r}}var y=R("stream"),h=y.Stream,u=R("../lib/common/utils/isArray"),i=u.isArray;I.exports.string=function(o){return typeof o=="string"},I.exports.array=i,I.exports.buffer=g.isBuffer;function a(r){return r instanceof h}I.exports.writableStream=function(o){return a(o)&&typeof o._write=="function"&&(0,b.default)(o._writableState)==="object"}}).call(this,{isBuffer:R("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":42,"../node_modules/is-buffer/index.js":197,"babel-runtime/helpers/typeof":67,stream:230}],290:[function(R,I,e){"use strict";e.encodeURIComponent=function(g){try{return encodeURIComponent(g)}catch(f){return g}},e.escape=R("escape-html"),e.timestamp=function(f){if(f){var b=f;return typeof b=="string"&&(b=Number(b)),String(f).length===10&&(b*=1e3),new Date(b)}return Math.round(Date.now()/1e3)}},{"escape-html":191}],291:[function(R,I,e){(function(g,f){"use strict";var b=R("babel-runtime/core-js/json/stringify"),m=u(b),y=R("babel-runtime/helpers/typeof"),h=u(y);function u(C){return C&&C.__esModule?C:{default:C}}var i=R("util"),a=R("url"),r=R("http"),o=R("https"),d=R("debug")("urllib"),n=R("humanize-ms"),l,t=0,s=Math.pow(2,31)-10,c=/^https?:\/\//i;function p(C,x){return C===void 0?x:C}function A(C,x){return function(E,T,_){if(E)return x(E);C({data:T,status:_.statusCode,headers:_.headers,res:_})}}e.TIMEOUTS=[n("300s"),n("300s")];var w=["json","text"];e.request=function(x,E,T){return arguments.length===2&&typeof E=="function"&&(T=E,E=null),typeof T=="function"?e.requestWithCallback(x,E,T):(l||(l=R("any-promise")),new l(function(_,v){e.requestWithCallback(x,E,A(_,v))}))},e.requestWithCallback=function(x,E,T){if(!x||typeof x!="string"&&(typeof x=="undefined"?"undefined":(0,h.default)(x))!=="object"){var _=i.format("expect request url to be a string or a http request options, but got %j",x);throw new Error(_)}arguments.length===2&&typeof E=="function"&&(T=E,E=null),E=E||{},t>=s&&(t=0);var v=++t;E.requestUrls=E.requestUrls||[];var S={requestId:v,url:x,args:E,ctx:E.ctx};E.emitter&&E.emitter.emit("request",S),E.timeout=E.timeout||e.TIMEOUTS,E.maxRedirects=E.maxRedirects||10,E.streaming=E.streaming||E.customResponse;var O=Date.now(),L;typeof x=="string"?(c.test(x)||(x="http://"+x),L=a.parse(x)):L=x;var M=(E.type||E.method||L.method||"GET").toUpperCase(),F=L.port||80,U=r,z=p(E.agent,e.agent),W=E.fixJSONCtlChars;L.protocol==="https:"&&(U=o,z=p(E.httpsAgent,e.httpsAgent),L.port||(F=443));var N={host:L.hostname||L.host||"localhost",path:L.path||"/",method:M,port:F,agent:z,headers:E.headers||{},lookup:E.lookup};Array.isArray(E.timeout)?N.requestTimeout=E.timeout[E.timeout.length-1]:typeof E.timeout!="undefined"&&(N.requestTimeout=E.timeout);for(var H=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],j=0;j<H.length;j++){var k=H[j];E.hasOwnProperty(k)&&(N[k]=E[k])}N.rejectUnauthorized===!1&&!N.hasOwnProperty("secureOptions")&&(N.secureOptions=R("constants").SSL_OP_NO_TLSv1_2);var B=E.auth||L.auth;B&&(N.auth=B);var V=E.content||E.data,K=M==="GET"||M==="HEAD"||E.dataAsQueryString;if(!E.content&&(V&&!(typeof V=="string"||f.isBuffer(V))))if(K)V=E.nestedQuerystring?qs.stringify(V):querystring.stringify(V);else{var Y=N.headers["Content-Type"]||N.headers["content-type"];Y||(E.contentType==="json"?Y="application/json":Y="application/x-www-form-urlencoded",N.headers["Content-Type"]=Y),parseContentType(Y).type==="application/json"?V=(0,m.default)(V):V=E.nestedQuerystring?qs.stringify(V):querystring.stringify(V)}K&&V&&(N.path+=(L.query?"&":"?")+V,V=null);var Q=0;if(V){var he=V.length;f.isBuffer(V)||(he=f.byteLength(V)),Q=N.headers["Content-Length"]=he}E.dataType==="json"&&(N.headers.Accept="application/json"),typeof E.beforeRequest=="function"&&E.beforeRequest(N);var G=null,ye=null,Ae=null,ge=!1,Pe=!1,Re=0,rt=-1,ne=!1,be="",at="",se=null;E.timing&&(se={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function q(){G&&(clearTimeout(G),G=null)}function X(){ye&&(clearTimeout(ye),ye=null)}function Z(Me,Tt,je){if(X(),!T){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),v,g.pid,N.method,x),Me&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
stack: %s`,Date(),v,g.pid,Me.name,Me.message,Me.stack);return}var st=T;T=null;var Xe={};if(je&&(rt=je.statusCode,Xe=je.headers),rt===401&&Xe["www-authenticate"]&&(!E.headers||!E.headers.Authorization)&&E.digestAuth){var Je=Xe["www-authenticate"];if(Je.indexOf("Digest ")>=0)return d("Request#%d %s: got digest auth header WWW-Authenticate: %s",v,x,Je),E.headers=E.headers||{},E.headers.Authorization=digestAuthHeader(N.method,N.path,Je,E.digestAuth),d("Request#%d %s: auth with digest header: %s",v,x,E.headers.Authorization),je.headers["set-cookie"]&&(E.headers.Cookie=je.headers["set-cookie"].join(";")),e.requestWithCallback(x,E,st)}var et=Date.now()-O;se&&(se.contentDownload=et),d("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",et,Re,rt,N.method,N.host,N.path,Pe,se);var ot={status:rt,statusCode:rt,headers:Xe,size:Re,aborted:ne,rt:et,keepAliveSocket:Pe,data:Tt,requestUrls:E.requestUrls,timing:se,remoteAddress:be,remotePort:at};if(Me){var Ve="";z&&typeof z.getCurrentStatus=="function"&&(Ve=", agent status: "+(0,m.default)(z.getCurrentStatus())),Me.message+=", "+N.method+" "+x+" "+rt+" (connected: "+ge+", keepalive socket: "+Pe+Ve+`)
headers: `+(0,m.default)(Xe),Me.data=Tt,Me.path=N.path,Me.status=rt,Me.headers=Xe,Me.res=ot}st(Me,Tt,E.streaming?je:ot),E.emitter&&(S.url=x,S.socket=ze&&ze.connection,S.options=N,S.size=Q,E.emitter.emit("response",{requestId:v,error:Me,ctx:E.ctx,req:S,res:ot}))}function pe(Me){var Tt=null;if(E.followRedirect&&statuses.redirect[Me.statusCode]){E._followRedirectCount=(E._followRedirectCount||0)+1;var je=Me.headers.location;if(!je)Tt=new Error("Got statusCode "+Me.statusCode+" but cannot resolve next location from headers"),Tt.name="FollowRedirectError";else if(E._followRedirectCount>E.maxRedirects)Tt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+x),Tt.name="MaxRedirectError";else{var st=E.formatRedirectUrl?E.formatRedirectUrl(x,je):a.resolve(x,je);d("Request#%d %s: `redirected` from %s to %s",v,N.path,x,st),X(),E.headers&&E.headers.Host&&c.test(je)&&(E.headers.Host=null);var Xe=T;return T=null,e.requestWithCallback(st,E,Xe),{redirect:!0,error:null}}}return{redirect:!1,error:Tt}}!N.headers["User-Agent"]&&!N.headers["user-agent"]&&(N.headers["User-Agent"]=navigator.userAgent),E.gzip&&(!N.headers["Accept-Encoding"]&&!N.headers["accept-encoding"]&&(N.headers["Accept-Encoding"]="gzip"));function oe(Me,Tt,je){var st=Me.headers["content-encoding"];return je(null,Tt,st)}var Ie=E.writeStream;d("Request#%d %s %s with headers %j, options.path: %s",v,M,x,N.headers,N.path),E.requestUrls.push(x);function fe(Me){if(se&&(se.waiting=Date.now()-O),d("Request#%d %s `req response` event emit: status %d, headers: %j",v,x,Me.statusCode,Me.headers),E.streaming){var Tt=pe(Me);if(Tt.redirect){Me.resume();return}return Tt.error?(Me.resume(),Z(Tt.error,null,Me)):Z(null,null,Me)}if(Me.on("close",function(){d("Request#%d %s: `res close` event emit, total size %d",v,x,Re)}),Me.on("error",function(){d("Request#%d %s: `res error` event emit, total size %d",v,x,Re)}),Me.on("aborted",function(){ne=!0,d("Request#%d %s: `res aborted` event emit, total size %d",v,x,Re)}),Ie){var Tt=pe(Me);if(Tt.redirect){Me.resume();return}return Tt.error?(Me.resume(),Ie.end(),Z(Tt.error,null,Me)):(E.consumeWriteStream===!1?Me.on("end",Z.bind(null,null,null,Me)):isNode010||isNode012?first([[Ie,"close"],[Me,"aborted"]],function(Xe,Je,et){d("Request#%d %s: writeStream or res %s event emitted",v,x,et),Z(Ae||null,null,Me)}):Ie.on("close",function(){d("Request#%d %s: writeStream close event emitted",v,x),Z(Ae||null,null,Me)}),Me.pipe(Ie))}var je=[];Me.on("data",function(st){d("Request#%d %s: `res data` event emit, size %d",v,x,st.length),Re+=st.length,je.push(st)}),Me.on("end",function(){var st=f.concat(je,Re);if(d("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",v,x,Re,Me._dumped),Ae)return Z(Ae,st,Me);var Xe=pe(Me);if(Xe.error)return Z(Xe.error,st,Me);if(Xe.redirect)return;oe(Me,st,function(Je,et,ot){if(Je)return Z(Je,st,Me);if(!ot&&w.indexOf(E.dataType)>=0){try{et=decodeBodyByCharset(et,Me)}catch(ue){return d("decodeBodyByCharset error: %s",ue),Z(null,et,Me)}if(E.dataType==="json")if(Re===0)et=null;else{var Ve=parseJSON(et,W);Ve.error?Je=Ve.error:et=Ve.data}}ne&&d("Request#%d %s: Remote socket was terminated before `response.end()` was called",v,x),Z(Je,et,Me)})})}var te,J;Array.isArray(E.timeout)?(te=n(E.timeout[0]),J=n(E.timeout[1])):te=J=n(E.timeout),d("ConnectTimeout: %d, ResponseTimeout: %d",te,J);function ve(){d("Connect timer ticking, timeout: %d",te),G=setTimeout(function(){G=null,rt===-1&&(rt=-2);var Me="Connect timeout for "+te+"ms",Tt="ConnectionTimeoutError";ze.socket||(Tt="SocketAssignTimeoutError",Me+=", working sockets is full"),Ae=new Error(Me),Ae.name=Tt,Ae.requestId=v,d("ConnectTimeout: Request#%d %s %s: %s, connected: %s",v,x,Ae.name,Me,ge),dt()},te)}function De(){d("Response timer ticking, timeout: %d",J),ye=setTimeout(function(){ye=null;var Me="Response timeout for "+J+"ms",Tt="ResponseTimeoutError";Ae=new Error(Me),Ae.name=Tt,Ae.requestId=v,d("ResponseTimeout: Request#%d %s %s: %s, connected: %s",v,x,Ae.name,Me,ge),dt()},J)}var ze;N.mode=E.mode?E.mode:"";try{ze=U.request(N,fe)}catch(Me){return Z(Me)}typeof window=="undefined"?ve():ze.on("requestTimeout",function(){rt===-1&&(rt=-2);var Me="Connect timeout for "+te+"ms",Tt="ConnectionTimeoutError";Ae=new Error(Me),Ae.name=Tt,Ae.requestId=v,dt()});function dt(){d("Request#%d %s abort, connected: %s",v,x,ge),ze.socket||(Ae.noSocket=!0,Z(Ae)),ze.abort()}return se&&ze.on("finish",function(){se.requestSent=Date.now()-O}),ze.once("socket",function(Me){se&&(se.queuing=Date.now()-O),isNode010&&Me.socket&&(Me=Me.socket);var Tt=Me.readyState;if(Tt==="opening"){Me.once("lookup",function(je,st,Xe){d("Request#%d %s lookup: %s, %s, %s",v,x,je,st,Xe),se&&(se.dnslookup=Date.now()-O),st&&(be=st)}),Me.once("connect",function(){se&&(se.connected=Date.now()-O),q(),De(),d("Request#%d %s new socket connected",v,x),ge=!0,be||(be=Me.remoteAddress),at=Me.remotePort});return}d("Request#%d %s reuse socket connected, readyState: %s",v,x,Tt),ge=!0,Pe=!0,be||(be=Me.remoteAddress),at=Me.remotePort,q(),De()}),ze.on("error",function(Me){(Me.name==="Error"||Me.name==="TypeError")&&(Me.name=ge?"ResponseError":"RequestError"),Me.message+=' (req "error")',d("Request#%d %s `req error` event emit, %s: %s",v,x,Me.name,Me.message),Z(Ae||Me)}),Ie&&Ie.once("error",function(Me){Me.message+=' (writeStream "error")',Ae=Me,d("Request#%d %s `writeStream error` event emit, %s: %s",v,x,Me.name,Me.message),dt()}),E.stream?(E.stream.pipe(ze),E.stream.once("error",function(Me){Me.message+=' (stream "error")',Ae=Me,d("Request#%d %s `readStream error` event emit, %s: %s",v,x,Me.name,Me.message),dt()})):ze.end(V),ze.requestId=v,ze}}).call(this,R("_process"),R("buffer").Buffer)},{_process:208,"any-promise":49,"babel-runtime/core-js/json/stringify":53,"babel-runtime/helpers/typeof":67,buffer:73,constants:75,debug:288,http:231,https:193,"humanize-ms":194,url:238,util:243}]},{},[1])(1)})}).call(this,__webpack_require__("yLpj"))},n1HI:function(R,I,e){var g=e("hX1E"),f=g.normalizeRadian,b=Math.PI*2;function m(y,h,u,i,a,r,o,d,n){if(o===0)return!1;var l=o;d-=y,n-=h;var t=Math.sqrt(d*d+n*n);if(t-l>u||t+l<u)return!1;if(Math.abs(i-a)%b<1e-4)return!0;if(r){var s=i;i=f(a),a=f(s)}else i=f(i),a=f(a);i>a&&(a+=b);var c=Math.atan2(n,d);return c<0&&(c+=b),c>=i&&c<=a||c+b>=i&&c+b<=a}I.containStroke=m},n4Lv:function(R,I,e){var g=e("7hqr"),f=g.isDimensionStacked,b=e("bYtY"),m=b.map;function y(i,a,r){var o=i.getBaseAxis(),d=i.getOtherAxis(o),n=h(d,r),l=o.dim,t=d.dim,s=a.mapDimension(t),c=a.mapDimension(l),p=t==="x"||t==="radius"?1:0,A=m(i.dimensions,function(x){return a.mapDimension(x)}),w,C=a.getCalculationInfo("stackResultDimension");return(w|=f(a,A[0]))&&(A[0]=C),(w|=f(a,A[1]))&&(A[1]=C),{dataDimsForPoint:A,valueStart:n,valueAxisDim:t,baseAxisDim:l,stacked:!!w,valueDim:s,baseDim:c,baseDataOffset:p,stackedOverDimension:a.getCalculationInfo("stackedOverDimension")}}function h(i,a){var r=0,o=i.scale.getExtent();return a==="start"?r=o[0]:a==="end"?r=o[1]:o[0]>0?r=o[0]:o[1]<0&&(r=o[1]),r}function u(i,a,r,o){var d=NaN;i.stacked&&(d=r.get(r.getCalculationInfo("stackedOverDimension"),o)),isNaN(d)&&(d=i.valueStart);var n=i.baseDataOffset,l=[];return l[n]=r.get(i.baseDim,o),l[1-n]=d,a.dataToPoint(l)}I.prepareDataCoordInfo=y,I.getStackedOnPoint=u},n6Mw:function(R,I,e){var g=e("SrGk"),f=e("bYtY"),b=e("Fofx");function m(h,u){g.call(this,h,u,"clipPath","__clippath_in_use__")}f.inherits(m,g),m.prototype.update=function(h){var u=this.getSvgElement(h);u&&this.updateDom(u,h.__clipPaths,!1);var i=this.getTextSvgElement(h);i&&this.updateDom(i,h.__clipPaths,!0),this.markUsed(h)},m.prototype.updateDom=function(h,u,i){if(u&&u.length>0){var a=this.getDefs(!0),r=u[0],o,d,n=i?"_textDom":"_dom";r[n]?(d=r[n].getAttribute("id"),o=r[n],a.contains(o)||a.appendChild(o)):(d="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,o=this.createElement("clipPath"),o.setAttribute("id",d),a.appendChild(o),r[n]=o);var l=this.getSvgProxy(r);if(r.transform&&r.parent.invTransform&&!i){var t=Array.prototype.slice.call(r.transform);b.mul(r.transform,r.parent.invTransform,r.transform),l.brush(r),r.transform=t}else l.brush(r);var s=this.getSvgElement(r);o.innerHTML="",o.appendChild(s.cloneNode()),h.setAttribute("clip-path","url(#"+d+")"),u.length>1&&this.updateDom(o,u.slice(1),i)}else h&&h.setAttribute("clip-path","none")},m.prototype.markUsed=function(h){var u=this;h.__clipPaths&&f.each(h.__clipPaths,function(i){i._dom&&g.prototype.markUsed.call(u,i._dom),i._textDom&&g.prototype.markUsed.call(u,i._textDom)})};var y=m;R.exports=y},nCxF:function(R,I,e){var g=e("QBsz"),f=g.min,b=g.max,m=g.scale,y=g.distance,h=g.add,u=g.clone,i=g.sub;function a(r,o,d,n){var l=[],t=[],s=[],c=[],p,A,w,C;if(n){w=[Infinity,Infinity],C=[-Infinity,-Infinity];for(var x=0,E=r.length;x<E;x++)f(w,w,r[x]),b(C,C,r[x]);f(w,w,n[0]),b(C,C,n[1])}for(var x=0,E=r.length;x<E;x++){var T=r[x];if(d)p=r[x?x-1:E-1],A=r[(x+1)%E];else if(x===0||x===E-1){l.push(u(r[x]));continue}else p=r[x-1],A=r[x+1];i(t,A,p),m(t,t,o);var _=y(T,p),v=y(T,A),S=_+v;S!==0&&(_/=S,v/=S),m(s,t,-_),m(c,t,v);var O=h([],T,s),L=h([],T,c);n&&(b(O,O,w),f(O,O,C),b(L,L,w),f(L,L,C)),l.push(O),l.push(L)}return d&&l.push(l.shift()),l}R.exports=a},nKiI:function(R,I,e){var g=e("bYtY"),f=e("mFDi"),b=e("OELB"),m=b.parsePercent,y=b.MAX_SAFE_INTEGER,h=e("+TT/"),u=e("VaxA"),i=Math.max,a=Math.min,r=g.retrieve,o=g.each,d=["itemStyle","borderWidth"],n=["itemStyle","gapWidth"],l=["upperLabel","show"],t=["upperLabel","height"],s={seriesType:"treemap",reset:function(O,L,M,F){var U=M.getWidth(),z=M.getHeight(),W=O.option,N=h.getLayoutRect(O.getBoxLayoutParams(),{width:M.getWidth(),height:M.getHeight()}),H=W.size||[],j=m(r(N.width,H[0]),U),k=m(r(N.height,H[1]),z),B=F&&F.type,V=["treemapZoomToNode","treemapRootToNode"],K=u.retrieveTargetInfo(F,V,O),Y=B==="treemapRender"||B==="treemapMove"?F.rootRect:null,Q=O.getViewRoot(),he=u.getPathToRoot(Q);if(B!=="treemapMove"){var G=B==="treemapZoomToNode"?T(O,K,Q,j,k):Y?[Y.width,Y.height]:[j,k],ye=W.sort;ye&&ye!=="asc"&&ye!=="desc"&&(ye="desc");var Ae={squareRatio:W.squareRatio,sort:ye,leafDepth:W.leafDepth};Q.hostTree.clearLayouts();var ge={x:0,y:0,width:G[0],height:G[1],area:G[0]*G[1]};Q.setLayout(ge),c(Q,Ae,!1,0);var ge=Q.getLayout();o(he,function(Re,rt){var ne=(he[rt+1]||Q).getValue();Re.setLayout(g.extend({dataExtent:[ne,ne],borderWidth:0,upperHeight:0},ge))})}var Pe=O.getData().tree.root;Pe.setLayout(_(N,Y,K),!0),O.setLayoutInfo(N),v(Pe,new f(-N.x,-N.y,U,z),he,Q,0)}};function c(O,L,M,F){var U,z;if(O.isRemoved())return;var W=O.getLayout();U=W.width,z=W.height;var N=O.getModel(),H=N.get(d),j=N.get(n)/2,k=S(N),B=Math.max(H,k),V=H-j,K=B-j,N=O.getModel();O.setLayout({borderWidth:H,upperHeight:B,upperLabelHeight:k},!0),U=i(U-2*V,0),z=i(z-V-K,0);var Y=U*z,Q=p(O,N,Y,L,M,F);if(!Q.length)return;var he={x:V,y:K,width:U,height:z},G=a(U,z),ye=Infinity,Ae=[];Ae.area=0;for(var ge=0,Pe=Q.length;ge<Pe;){var Re=Q[ge];Ae.push(Re),Ae.area+=Re.getLayout().area;var rt=x(Ae,G,L.squareRatio);rt<=ye?(ge++,ye=rt):(Ae.area-=Ae.pop().getLayout().area,E(Ae,G,he,j,!1),G=a(he.width,he.height),Ae.length=Ae.area=0,ye=Infinity)}if(Ae.length&&E(Ae,G,he,j,!0),!M){var ne=N.get("childrenVisibleMin");ne!=null&&Y<ne&&(M=!0)}for(var ge=0,Pe=Q.length;ge<Pe;ge++)c(Q[ge],L,M,F+1)}function p(O,L,M,F,U,z){var W=O.children||[],N=F.sort;N!=="asc"&&N!=="desc"&&(N=null);var H=F.leafDepth!=null&&F.leafDepth<=z;if(U&&!H)return O.viewChildren=[];W=g.filter(W,function(K){return!K.isRemoved()}),w(W,N);var j=C(L,W,N);if(j.sum===0)return O.viewChildren=[];if(j.sum=A(L,M,j.sum,N,W),j.sum===0)return O.viewChildren=[];for(var k=0,B=W.length;k<B;k++){var V=W[k].getValue()/j.sum*M;W[k].setLayout({area:V})}return H&&(W.length&&O.setLayout({isLeafRoot:!0},!0),W.length=0),O.viewChildren=W,O.setLayout({dataExtent:j.dataExtent},!0),W}function A(O,L,M,F,U){if(!F)return M;for(var z=O.get("visibleMin"),W=U.length,N=W,H=W-1;H>=0;H--){var j=U[F==="asc"?W-H-1:H].getValue();j/M*L<z&&(N=H,M-=j)}return F==="asc"?U.splice(0,W-N):U.splice(N,W-N),M}function w(O,L){return L&&O.sort(function(M,F){var U=L==="asc"?M.getValue()-F.getValue():F.getValue()-M.getValue();return U===0?L==="asc"?M.dataIndex-F.dataIndex:F.dataIndex-M.dataIndex:U}),O}function C(O,L,M){for(var F=0,U=0,z=L.length;U<z;U++)F+=L[U].getValue();var W=O.get("visualDimension"),N;if(!L||!L.length)N=[NaN,NaN];else if(W==="value"&&M)N=[L[L.length-1].getValue(),L[0].getValue()],M==="asc"&&N.reverse();else{var N=[Infinity,-Infinity];o(L,function(j){var k=j.getValue(W);k<N[0]&&(N[0]=k),k>N[1]&&(N[1]=k)})}return{sum:F,dataExtent:N}}function x(O,L,M){for(var F=0,U=Infinity,z=0,W,N=O.length;z<N;z++)W=O[z].getLayout().area,W&&(W<U&&(U=W),W>F&&(F=W));var H=O.area*O.area,j=L*L*M;return H?i(j*F/H,H/(j*U)):Infinity}function E(O,L,M,F,U){var z=L===M.width?0:1,W=1-z,N=["x","y"],H=["width","height"],j=M[N[z]],k=L?O.area/L:0;(U||k>M[H[W]])&&(k=M[H[W]]);for(var B=0,V=O.length;B<V;B++){var K=O[B],Y={},Q=k?K.getLayout().area/k:0,he=Y[H[W]]=i(k-2*F,0),G=M[N[z]]+M[H[z]]-j,ye=B===V-1||G<Q?G:Q,Ae=Y[H[z]]=i(ye-2*F,0);Y[N[W]]=M[N[W]]+a(F,he/2),Y[N[z]]=j+a(F,Ae/2),j+=ye,K.setLayout(Y,!0)}M[N[W]]+=k,M[H[W]]-=k}function T(O,L,M,F,U){var z=(L||{}).node,W=[F,U];if(!z||z===M)return W;for(var N,H=F*U,j=H*O.option.zoomToNodeRatio;N=z.parentNode;){for(var k=0,B=N.children,V=0,K=B.length;V<K;V++)k+=B[V].getValue();var Y=z.getValue();if(Y===0)return W;j*=k/Y;var Q=N.getModel(),he=Q.get(d),G=Math.max(he,S(Q,he));j+=4*he*he+(3*he+G)*Math.pow(j,.5),j>y&&(j=y),z=N}j<H&&(j=H);var ye=Math.pow(j/H,.5);return[F*ye,U*ye]}function _(O,L,M){if(L)return{x:L.x,y:L.y};var F={x:0,y:0};if(!M)return F;var U=M.node,z=U.getLayout();if(!z)return F;for(var W=[z.width/2,z.height/2],N=U;N;){var H=N.getLayout();W[0]+=H.x,W[1]+=H.y,N=N.parentNode}return{x:O.width/2-W[0],y:O.height/2-W[1]}}function v(O,L,M,F,U){var z=O.getLayout(),W=M[U],N=W&&W===O;if(W&&!N||U===M.length&&O!==F)return;O.setLayout({isInView:!0,invisible:!N&&!L.intersect(z),isAboveViewRoot:N},!0);var H=new f(L.x-z.x,L.y-z.y,L.width,L.height);o(O.viewChildren||[],function(j){v(j,H,M,F,U+1)})}function S(O){return O.get(l)?O.get(t):0}R.exports=s},nPnh:function(R,I){var e=Math.round;function g(m,y,h){if(!y)return;var u=y.x1,i=y.x2,a=y.y1,r=y.y2;m.x1=u,m.x2=i,m.y1=a,m.y2=r;var o=h&&h.lineWidth;if(!o)return;e(u*2)===e(i*2)&&(m.x1=m.x2=b(u,o,!0)),e(a*2)===e(r*2)&&(m.y1=m.y2=b(a,o,!0))}function f(m,y,h){if(!y)return;var u=y.x,i=y.y,a=y.width,r=y.height;m.x=u,m.y=i,m.width=a,m.height=r;var o=h&&h.lineWidth;if(!o)return;m.x=b(u,o,!0),m.y=b(i,o,!0),m.width=Math.max(b(u+a,o,!1)-m.x,a===0?0:1),m.height=Math.max(b(i+r,o,!1)-m.y,r===0?0:1)}function b(m,y,h){if(!y)return m;var u=e(m*2);return(u+e(y))%2===0?u/2:(u+(h?1:-1))/2}I.subPixelOptimizeLine=g,I.subPixelOptimizeRect=f,I.subPixelOptimize=b},nRaC:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("0fbx"),m=e.n(b),y=e("OaEy"),h=e("R9oj")},nVfU:function(R,I,e){var g=e("bYtY"),f=e("OELB"),b=f.parsePercent,m=e("7hqr"),y=m.isDimensionStacked,h=e("zM3Q"),u="__ec_stack_",i=.5,a=typeof Float32Array!="undefined"?Float32Array:Array;function r(E){return E.get("stack")||u+E.seriesIndex}function o(E){return E.dim+E.index}function d(E){var T=[],_=E.axis,v="axis0";if(_.type!=="category")return;for(var S=_.getBandWidth(),O=0;O<E.count||0;O++)T.push(g.defaults({bandWidth:S,axisKey:v,stackId:u+O},E));for(var L=s(T),M=[],O=0;O<E.count;O++){var F=L[v][u+O];F.offsetCenter=F.offset+F.width/2,M.push(F)}return M}function n(E,T){var _=[];return T.eachSeriesByType(E,function(v){w(v)&&!C(v)&&_.push(v)}),_}function l(E){var T={};g.each(E,function(F){var U=F.coordinateSystem,z=U.getBaseAxis();if(z.type!=="time"&&z.type!=="value")return;for(var W=F.getData(),N=z.dim+"_"+z.index,H=W.mapDimension(z.dim),j=0,k=W.count();j<k;++j){var B=W.get(H,j);T[N]?T[N].push(B):T[N]=[B]}});var _=[];for(var v in T)if(T.hasOwnProperty(v)){var S=T[v];if(S){S.sort(function(F,U){return F-U});for(var O=null,L=1;L<S.length;++L){var M=S[L]-S[L-1];M>0&&(O=O===null?M:Math.min(O,M))}_[v]=O}}return _}function t(E){var T=l(E),_=[];return g.each(E,function(v){var S=v.coordinateSystem,O=S.getBaseAxis(),L=O.getExtent(),M;if(O.type==="category")M=O.getBandWidth();else if(O.type==="value"||O.type==="time"){var F=O.dim+"_"+O.index,U=T[F],z=Math.abs(L[1]-L[0]),W=O.scale.getExtent(),N=Math.abs(W[1]-W[0]);M=U?z/N*U:z}else{var H=v.getData();M=Math.abs(L[1]-L[0])/H.count()}var j=b(v.get("barWidth"),M),k=b(v.get("barMaxWidth"),M),B=b(v.get("barMinWidth")||1,M),V=v.get("barGap"),K=v.get("barCategoryGap");_.push({bandWidth:M,barWidth:j,barMaxWidth:k,barMinWidth:B,barGap:V,barCategoryGap:K,axisKey:o(O),stackId:r(v)})}),s(_)}function s(E){var T={};g.each(E,function(v,S){var O=v.axisKey,L=v.bandWidth,M=T[O]||{bandWidth:L,remainedWidth:L,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},F=M.stacks;T[O]=M;var U=v.stackId;F[U]||M.autoWidthCount++,F[U]=F[U]||{width:0,maxWidth:0};var z=v.barWidth;z&&!F[U].width&&(F[U].width=z,z=Math.min(M.remainedWidth,z),M.remainedWidth-=z);var W=v.barMaxWidth;W&&(F[U].maxWidth=W);var N=v.barMinWidth;N&&(F[U].minWidth=N);var H=v.barGap;H!=null&&(M.gap=H);var j=v.barCategoryGap;j!=null&&(M.categoryGap=j)});var _={};return g.each(T,function(v,S){_[S]={};var O=v.stacks,L=v.bandWidth,M=b(v.categoryGap,L),F=b(v.gap,1),U=v.remainedWidth,z=v.autoWidthCount,W=(U-M)/(z+(z-1)*F);W=Math.max(W,0),g.each(O,function(k){var B=k.maxWidth,V=k.minWidth;if(k.width){var K=k.width;B&&(K=Math.min(K,B)),V&&(K=Math.max(K,V)),k.width=K,U-=K+F*K,z--}else{var K=W;B&&B<K&&(K=Math.min(B,U)),V&&V>K&&(K=V),K!==W&&(k.width=K,U-=K+F*K,z--)}}),W=(U-M)/(z+(z-1)*F),W=Math.max(W,0);var N=0,H;g.each(O,function(k,B){k.width||(k.width=W),H=k,N+=k.width*(1+F)}),H&&(N-=H.width*F);var j=-N/2;g.each(O,function(k,B){_[S][B]=_[S][B]||{bandWidth:L,offset:j,width:k.width},j+=k.width*(1+F)})}),_}function c(E,T,_){if(E&&T){var v=E[o(T)];return v!=null&&_!=null&&(v=v[r(_)]),v}}function p(E,T){var _=n(E,T),v=t(_),S={},O={};g.each(_,function(L){var M=L.getData(),F=L.coordinateSystem,U=F.getBaseAxis(),z=r(L),W=v[o(U)][z],N=W.offset,H=W.width,j=F.getOtherAxis(U),k=L.get("barMinHeight")||0;S[z]=S[z]||[],O[z]=O[z]||[],M.setLayout({bandWidth:W.bandWidth,offset:N,size:H});for(var B=M.mapDimension(j.dim),V=M.mapDimension(U.dim),K=y(M,B),Y=j.isHorizontal(),Q=x(U,j,K),he=0,G=M.count();he<G;he++){var ye=M.get(B,he),Ae=M.get(V,he),ge=ye>=0?"p":"n",Pe=Q;K&&(S[z][Ae]||(S[z][Ae]={p:Q,n:Q}),Pe=S[z][Ae][ge]);var Re,rt,ne,be;if(Y){var at=F.dataToPoint([ye,Ae]);Re=Pe,rt=at[1]+N,ne=at[0]-Q,be=H,Math.abs(ne)<k&&(ne=(ne<0?-1:1)*k),isNaN(ne)||K&&(S[z][Ae][ge]+=ne)}else{var at=F.dataToPoint([Ae,ye]);Re=at[0]+N,rt=Pe,ne=H,be=at[1]-Q,Math.abs(be)<k&&(be=(be<=0?-1:1)*k),isNaN(be)||K&&(S[z][Ae][ge]+=be)}M.setItemLayout(he,{x:Re,y:rt,width:ne,height:be})}},this)}var A={seriesType:"bar",plan:h(),reset:function(E){if(!w(E)||!C(E))return;var T=E.getData(),_=E.coordinateSystem,v=_.grid.getRect(),S=_.getBaseAxis(),O=_.getOtherAxis(S),L=T.mapDimension(O.dim),M=T.mapDimension(S.dim),F=O.isHorizontal(),U=F?0:1,z=c(t([E]),S,E).width;return z>i||(z=i),{progress:W};function W(N,H){for(var j=N.count,k=new a(j*2),B=new a(j*2),V=new a(j),K,Y=[],Q=[],he=0,G=0;(K=N.next())!=null;)Q[U]=H.get(L,K),Q[1-U]=H.get(M,K),Y=_.dataToPoint(Q,null,Y),B[he]=F?v.x+v.width:Y[0],k[he++]=Y[0],B[he]=F?Y[1]:v.y+v.height,k[he++]=Y[1],V[G++]=K;H.setLayout({largePoints:k,largeDataIndices:V,largeBackgroundPoints:B,barWidth:z,valueAxisStart:x(S,O,!1),backgroundStart:F?v.x:v.y,valueAxisHorizontal:F})}}};function w(E){return E.coordinateSystem&&E.coordinateSystem.type==="cartesian2d"}function C(E){return E.pipelineContext&&E.pipelineContext.large}function x(E,T,_){return T.toGlobalCoord(T.dataToCoord(T.type==="log"?1:0))}I.getLayoutOnAxis=d,I.prepareLayoutBarSeries=n,I.makeColumnLayout=t,I.retrieveColumnLayout=c,I.layout=p,I.largeLayout=A},ngQI:function(R,I,e){"use strict";e.d(I,"a",function(){return zl}),e.d(I,"b",function(){return eu}),e.d(I,"c",function(){return sl});var g=e("q1tI"),f=e.n(g),b=e("dI71"),m=e("wx14"),y=e("ANjH"),h=e("/MKj");function u(ct,Se){if(ct.length!==Se.length)return!1;for(var We=0;We<ct.length;We++)if(ct[We]!==Se[We])return!1;return!0}function i(ct,Se){var We=Object(g.useState)(function(){return{inputs:Se,result:ct()}})[0],St=Object(g.useRef)(We),Ft=Boolean(Se&&St.current.inputs&&u(Se,St.current.inputs)),qt=Ft?St.current:{inputs:Se,result:ct()};return Object(g.useEffect)(function(){St.current=qt},[qt]),qt.result}function a(ct,Se){return i(function(){return ct},Se)}var r=i,o=a,d=e("9R94"),n=function(Se){var We=Se.top,St=Se.right,Ft=Se.bottom,qt=Se.left,ar=St-qt,lr=Ft-We,yr={top:We,right:St,bottom:Ft,left:qt,width:ar,height:lr,x:qt,y:We,center:{x:(St+qt)/2,y:(Ft+We)/2}};return yr},l=function(Se,We){return{top:Se.top-We.top,left:Se.left-We.left,bottom:Se.bottom+We.bottom,right:Se.right+We.right}},t=function(Se,We){return{top:Se.top+We.top,left:Se.left+We.left,bottom:Se.bottom-We.bottom,right:Se.right-We.right}},s=function(Se,We){return{top:Se.top+We.y,left:Se.left+We.x,bottom:Se.bottom+We.y,right:Se.right+We.x}},c={top:0,right:0,bottom:0,left:0},p=function(Se){var We=Se.borderBox,St=Se.margin,Ft=St===void 0?c:St,qt=Se.border,ar=qt===void 0?c:qt,lr=Se.padding,yr=lr===void 0?c:lr,Vr=n(l(We,Ft)),Xr=n(t(We,ar)),Br=n(t(Xr,yr));return{marginBox:Vr,borderBox:n(We),paddingBox:Xr,contentBox:Br,margin:Ft,border:ar,padding:yr}},A=function(Se){var We=Se.slice(0,-2),St=Se.slice(-2);if(St!=="px")return 0;var Ft=Number(We);return isNaN(Ft)&&Object(d.a)(!1),Ft},w=function(){return{x:window.pageXOffset,y:window.pageYOffset}},C=function(Se,We){var St=Se.borderBox,Ft=Se.border,qt=Se.margin,ar=Se.padding,lr=s(St,We);return p({borderBox:lr,border:Ft,margin:qt,padding:ar})},x=function(Se,We){return We===void 0&&(We=w()),C(Se,We)},E=function(Se,We){var St={top:A(We.marginTop),right:A(We.marginRight),bottom:A(We.marginBottom),left:A(We.marginLeft)},Ft={top:A(We.paddingTop),right:A(We.paddingRight),bottom:A(We.paddingBottom),left:A(We.paddingLeft)},qt={top:A(We.borderTopWidth),right:A(We.borderRightWidth),bottom:A(We.borderBottomWidth),left:A(We.borderLeftWidth)};return p({borderBox:Se,margin:St,padding:Ft,border:qt})},T=function(Se){var We=Se.getBoundingClientRect(),St=window.getComputedStyle(Se);return E(We,St)};function _(ct,Se){if(ct.length!==Se.length)return!1;for(var We=0;We<ct.length;We++)if(ct[We]!==Se[We])return!1;return!0}function v(ct,Se){Se===void 0&&(Se=_);var We,St=[],Ft,qt=!1;function ar(){for(var lr=[],yr=0;yr<arguments.length;yr++)lr[yr]=arguments[yr];return qt&&We===this&&Se(lr,St)||(Ft=ct.apply(this,lr),qt=!0,We=this,St=lr),Ft}return ar}var S=v,O=function(Se){var We=[],St=null,Ft=function(){for(var ar=arguments.length,lr=new Array(ar),yr=0;yr<ar;yr++)lr[yr]=arguments[yr];if(We=lr,St)return;St=requestAnimationFrame(function(){St=null,Se.apply(void 0,We)})};return Ft.cancel=function(){if(!St)return;cancelAnimationFrame(St),St=null},Ft},L=O,M=e("i8i4"),F=e.n(M),U=!0,z=/[ \t]{2,}/g,W=/^[ \t]*/gm,N=function(Se){return Se.replace(z," ").replace(W,"").trim()},H=function(Se){return N(`
%creact-beautiful-dnd
%c`+N(Se)+`
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
`)},j=function(Se){return[H(Se),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},k="__react-beautiful-dnd-disable-dev-warnings";function B(ct,Se){var We;if(U)return;if(typeof window!="undefined"&&window[k])return;(We=console)[ct].apply(We,j(Se))}var V=B.bind(null,"warn"),K=B.bind(null,"error");function Y(){}function Q(ct,Se){return Object(m.a)({},ct,{},Se)}function he(ct,Se,We){var St=Se.map(function(Ft){var qt=Q(We,Ft.options);return ct.addEventListener(Ft.eventName,Ft.fn,qt),function(){ct.removeEventListener(Ft.eventName,Ft.fn,qt)}});return function(){St.forEach(function(qt){qt()})}}var G=!0,ye="Invariant failed";function Ae(ct){this.message=ct}Ae.prototype.toString=function(){return this.message};function ge(ct,Se){if(ct)return;throw G?new Ae(ye):new Ae(ye+": "+(Se||""))}var Pe=function(ct){Object(b.a)(Se,ct);function Se(){for(var St,Ft=arguments.length,qt=new Array(Ft),ar=0;ar<Ft;ar++)qt[ar]=arguments[ar];return St=ct.call.apply(ct,[this].concat(qt))||this,St.callbacks=null,St.unbind=Y,St.onWindowError=function(lr){var yr=St.getCallbacks();yr.isDragging()&&yr.tryAbort();var Vr=lr.error;Vr instanceof Ae&&lr.preventDefault()},St.getCallbacks=function(){if(!St.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return St.callbacks},St.setCallbacks=function(lr){St.callbacks=lr},St}var We=Se.prototype;return We.componentDidMount=function(){this.unbind=he(window,[{eventName:"error",fn:this.onWindowError}])},We.componentWillUnmount=function(){this.unbind()},We.componentDidCatch=function(Ft){if(Ft instanceof Ae){this.setState({});return}throw Ft},We.render=function(){return this.props.children(this.setCallbacks)},Se}(f.a.Component),Re=`
Press space bar to start a drag.
When dragging you can use the arrow keys to move the item around and escape to cancel.
Some screen readers may require you to be in focus mode or to use your pass through key
`,rt=function(Se){return Se+1},ne=function(Se){return`
You have lifted an item in position `+rt(Se.source.index)+`
`},be=function(Se,We){var St=Se.droppableId===We.droppableId,Ft=rt(Se.index),qt=rt(We.index);return St?`
You have moved the item from position `+Ft+`
to position `+qt+`
`:`
You have moved the item from position `+Ft+`
in list `+Se.droppableId+`
to list `+We.droppableId+`
in position `+qt+`
`},at=function(Se,We,St){var Ft=We.droppableId===St.droppableId;return Ft?`
The item `+Se+`
has been combined with `+St.draggableId:`
The item `+Se+`
in list `+We.droppableId+`
has been combined with `+St.draggableId+`
in list `+St.droppableId+`
`},se=function(Se){var We=Se.destination;if(We)return be(Se.source,We);var St=Se.combine;return St?at(Se.draggableId,Se.source,St):"You are over an area that cannot be dropped on"},q=function(Se){return`
The item has returned to its starting position
of `+rt(Se.index)+`
`},X=function(Se){if(Se.reason==="CANCEL")return`
Movement cancelled.
`+q(Se.source)+`
`;var We=Se.destination,St=Se.combine;return We?`
You have dropped the item.
`+be(Se.source,We)+`
`:St?`
You have dropped the item.
`+at(Se.draggableId,Se.source,St)+`
`:`
The item has been dropped while not over a drop area.
`+q(Se.source)+`
`},Z={dragHandleUsageInstructions:Re,onDragStart:ne,onDragUpdate:se,onDragEnd:X},pe={x:0,y:0},oe=function(Se,We){return{x:Se.x+We.x,y:Se.y+We.y}},Ie=function(Se,We){return{x:Se.x-We.x,y:Se.y-We.y}},fe=function(Se,We){return Se.x===We.x&&Se.y===We.y},te=function(Se){return{x:Se.x!==0?-Se.x:0,y:Se.y!==0?-Se.y:0}},J=function(Se,We,St){var Ft;return St===void 0&&(St=0),Ft={},Ft[Se]=We,Ft[Se==="x"?"y":"x"]=St,Ft},ve=function(Se,We){return Math.sqrt(Math.pow(We.x-Se.x,2)+Math.pow(We.y-Se.y,2))},De=function(Se,We){return Math.min.apply(Math,We.map(function(St){return ve(Se,St)}))},ze=function(Se){return function(We){return{x:Se(We.x),y:Se(We.y)}}},dt=function(Se,We){var St=n({top:Math.max(We.top,Se.top),right:Math.min(We.right,Se.right),bottom:Math.min(We.bottom,Se.bottom),left:Math.max(We.left,Se.left)});return St.width<=0||St.height<=0?null:St},Me=function(Se,We){return{top:Se.top+We.y,left:Se.left+We.x,bottom:Se.bottom+We.y,right:Se.right+We.x}},Tt=function(Se){return[{x:Se.left,y:Se.top},{x:Se.right,y:Se.top},{x:Se.left,y:Se.bottom},{x:Se.right,y:Se.bottom}]},je={top:0,right:0,bottom:0,left:0},st=function(Se,We){return We?Me(Se,We.scroll.diff.displacement):Se},Xe=function(Se,We,St){if(St&&St.increasedBy){var Ft;return Object(m.a)({},Se,(Ft={},Ft[We.end]=Se[We.end]+St.increasedBy[We.line],Ft))}return Se},Je=function(Se,We){return We&&We.shouldClipSubject?dt(We.pageMarginBox,Se):n(Se)},et=function(Se){var We=Se.page,St=Se.withPlaceholder,Ft=Se.axis,qt=Se.frame,ar=st(We.marginBox,qt),lr=Xe(ar,Ft,St),yr=Je(lr,qt);return{page:We,withPlaceholder:St,active:yr}},ot=function(Se,We){Se.frame||ge(!1);var St=Se.frame,Ft=Ie(We,St.scroll.initial),qt=te(Ft),ar=Object(m.a)({},St,{scroll:{initial:St.scroll.initial,current:We,diff:{value:Ft,displacement:qt},max:St.scroll.max}}),lr=et({page:Se.subject.page,withPlaceholder:Se.subject.withPlaceholder,axis:Se.axis,frame:ar}),yr=Object(m.a)({},Se,{frame:ar,subject:lr});return yr};function Ve(ct){return Number.isInteger?Number.isInteger(ct):typeof ct=="number"&&isFinite(ct)&&Math.floor(ct)===ct}function ue(ct){return Object.values?Object.values(ct):Object.keys(ct).map(function(Se){return ct[Se]})}function ae(ct,Se){if(ct.findIndex)return ct.findIndex(Se);for(var We=0;We<ct.length;We++)if(Se(ct[We]))return We;return-1}function lt(ct,Se){if(ct.find)return ct.find(Se);var We=ae(ct,Se);return We!==-1?ct[We]:void 0}function Ze(ct){return Array.prototype.slice.call(ct)}var Te=S(function(ct){return ct.reduce(function(Se,We){return Se[We.descriptor.id]=We,Se},{})}),Jt=S(function(ct){return ct.reduce(function(Se,We){return Se[We.descriptor.id]=We,Se},{})}),mt=S(function(ct){return ue(ct)}),ft=S(function(ct){return ue(ct)}),bt=S(function(ct,Se){var We=ft(Se).filter(function(St){return ct===St.descriptor.droppableId}).sort(function(St,Ft){return St.descriptor.index-Ft.descriptor.index});return We});function Lt(ct){return ct.at&&ct.at.type==="REORDER"?ct.at.destination:null}function or(ct){return ct.at&&ct.at.type==="COMBINE"?ct.at.combine:null}var Bt=S(function(ct,Se){return Se.filter(function(We){return We.descriptor.id!==ct.descriptor.id})}),_e=function(Se){var We=Se.isMovingForward,St=Se.draggable,Ft=Se.destination,qt=Se.insideDestination,ar=Se.previousImpact;if(!Ft.isCombineEnabled)return null;var lr=Lt(ar);if(!lr)return null;function yr(ei){var ui={type:"COMBINE",combine:{draggableId:ei,droppableId:Ft.descriptor.id}};return Object(m.a)({},ar,{at:ui})}var Vr=ar.displaced.all,Xr=Vr.length?Vr[0]:null;if(We)return Xr?yr(Xr):null;var Br=Bt(St,qt);if(!Xr){if(!Br.length)return null;var Fr=Br[Br.length-1];return yr(Fr.descriptor.id)}var Gr=ae(Br,function(ei){return ei.descriptor.id===Xr});Gr!==-1||ge(!1);var dn=Gr-1;if(dn<0)return null;var pn=Br[dn];return yr(pn.descriptor.id)},Ce=function(Se,We){return Se.descriptor.droppableId===We.descriptor.id},Ee={point:pe,value:0},we={invisible:{},visible:{},all:[]},Fe={displaced:we,displacedBy:Ee,at:null},Ye=function(Se,We){return function(St){return Se<=St&&St<=We}},Ge=function(Se){var We=Ye(Se.top,Se.bottom),St=Ye(Se.left,Se.right);return function(Ft){var qt=We(Ft.top)&&We(Ft.bottom)&&St(Ft.left)&&St(Ft.right);if(qt)return!0;var ar=We(Ft.top)||We(Ft.bottom),lr=St(Ft.left)||St(Ft.right),yr=ar&&lr;if(yr)return!0;var Vr=Ft.top<Se.top&&Ft.bottom>Se.bottom,Xr=Ft.left<Se.left&&Ft.right>Se.right,Br=Vr&&Xr;if(Br)return!0;var Fr=Vr&&lr||Xr&&ar;return Fr}},qe=function(Se){var We=Ye(Se.top,Se.bottom),St=Ye(Se.left,Se.right);return function(Ft){var qt=We(Ft.top)&&We(Ft.bottom)&&St(Ft.left)&&St(Ft.right);return qt}},Ke={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},ut={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},wt=function(Se){return function(We){var St=Ye(We.top,We.bottom),Ft=Ye(We.left,We.right);return function(qt){return Se===Ke?St(qt.top)&&St(qt.bottom):Ft(qt.left)&&Ft(qt.right)}}},It=function(Se,We){var St=We.frame?We.frame.scroll.diff.displacement:pe;return Me(Se,St)},de=function(Se,We,St){return We.subject.active?St(We.subject.active)(Se):!1},xe=function(Se,We,St){return St(We)(Se)},$=function(Se){var We=Se.target,St=Se.destination,Ft=Se.viewport,qt=Se.withDroppableDisplacement,ar=Se.isVisibleThroughFrameFn,lr=qt?It(We,St):We;return de(lr,St,ar)&&xe(lr,Ft,ar)},le=function(Se){return $(Object(m.a)({},Se,{isVisibleThroughFrameFn:Ge}))},Oe=function(Se){return $(Object(m.a)({},Se,{isVisibleThroughFrameFn:qe}))},ke=function(Se){return $(Object(m.a)({},Se,{isVisibleThroughFrameFn:wt(Se.destination.axis)}))},Ue=function(Se,We,St){if(typeof St=="boolean")return St;if(!We)return!0;var Ft=We.invisible,qt=We.visible;if(Ft[Se])return!1;var ar=qt[Se];return ar?ar.shouldAnimate:!0};function nt(ct,Se){var We=ct.page.marginBox,St={top:Se.point.y,right:0,bottom:0,left:Se.point.x};return n(l(We,St))}function At(ct){var Se=ct.afterDragging,We=ct.destination,St=ct.displacedBy,Ft=ct.viewport,qt=ct.forceShouldAnimate,ar=ct.last;return Se.reduce(function(yr,Vr){var Xr=nt(Vr,St),Br=Vr.descriptor.id;yr.all.push(Br);var Fr=le({target:Xr,destination:We,viewport:Ft,withDroppableDisplacement:!0});if(!Fr)return yr.invisible[Vr.descriptor.id]=!0,yr;var Gr=Ue(Br,ar,qt),dn={draggableId:Br,shouldAnimate:Gr};return yr.visible[Br]=dn,yr},{all:[],visible:{},invisible:{}})}function Wt(ct,Se){if(!ct.length)return 0;var We=ct[ct.length-1].descriptor.index;return Se.inHomeList?We:We+1}function $t(ct){var Se=ct.insideDestination,We=ct.inHomeList,St=ct.displacedBy,Ft=ct.destination,qt=Wt(Se,{inHomeList:We});return{displaced:we,displacedBy:St,at:{type:"REORDER",destination:{droppableId:Ft.descriptor.id,index:qt}}}}function Rt(ct){var Se=ct.draggable,We=ct.insideDestination,St=ct.destination,Ft=ct.viewport,qt=ct.displacedBy,ar=ct.last,lr=ct.index,yr=ct.forceShouldAnimate,Vr=Ce(Se,St);if(lr==null)return $t({insideDestination:We,inHomeList:Vr,displacedBy:qt,destination:St});var Xr=lt(We,function(pn){return pn.descriptor.index===lr});if(!Xr)return $t({insideDestination:We,inHomeList:Vr,displacedBy:qt,destination:St});var Br=Bt(Se,We),Fr=We.indexOf(Xr),Gr=Br.slice(Fr),dn=At({afterDragging:Gr,destination:St,displacedBy:qt,last:ar,viewport:Ft.frame,forceShouldAnimate:yr});return{displaced:dn,displacedBy:qt,at:{type:"REORDER",destination:{droppableId:St.descriptor.id,index:lr}}}}function zt(ct,Se){return Boolean(Se.effected[ct])}var Gt=function(Se){var We=Se.isMovingForward,St=Se.destination,Ft=Se.draggables,qt=Se.combine,ar=Se.afterCritical;if(!St.isCombineEnabled)return null;var lr=qt.draggableId,yr=Ft[lr],Vr=yr.descriptor.index,Xr=zt(lr,ar);return Xr?We?Vr:Vr-1:We?Vr+1:Vr},Qt=function(Se){var We=Se.isMovingForward,St=Se.isInHomeList,Ft=Se.insideDestination,qt=Se.location;if(!Ft.length)return null;var ar=qt.index,lr=We?ar+1:ar-1,yr=Ft[0].descriptor.index,Vr=Ft[Ft.length-1].descriptor.index,Xr=St?Vr:Vr+1;return lr<yr||lr>Xr?null:lr},Mt=function(Se){var We=Se.isMovingForward,St=Se.isInHomeList,Ft=Se.draggable,qt=Se.draggables,ar=Se.destination,lr=Se.insideDestination,yr=Se.previousImpact,Vr=Se.viewport,Xr=Se.afterCritical,Br=yr.at;if(Br||ge(!1),Br.type==="REORDER"){var Fr=Qt({isMovingForward:We,isInHomeList:St,location:Br.destination,insideDestination:lr});return Fr==null?null:Rt({draggable:Ft,insideDestination:lr,destination:ar,viewport:Vr,last:yr.displaced,displacedBy:yr.displacedBy,index:Fr})}var Gr=Gt({isMovingForward:We,destination:ar,displaced:yr.displaced,draggables:qt,combine:Br.combine,afterCritical:Xr});return Gr==null?null:Rt({draggable:Ft,insideDestination:lr,destination:ar,viewport:Vr,last:yr.displaced,displacedBy:yr.displacedBy,index:Gr})},dr=function(Se){var We=Se.displaced,St=Se.afterCritical,Ft=Se.combineWith,qt=Se.displacedBy,ar=Boolean(We.visible[Ft]||We.invisible[Ft]);return zt(Ft,St)?ar?pe:te(qt.point):ar?qt.point:pe},er=function(Se){var We=Se.afterCritical,St=Se.impact,Ft=Se.draggables,qt=or(St);qt||ge(!1);var ar=qt.draggableId,lr=Ft[ar].page.borderBox.center,yr=dr({displaced:St.displaced,afterCritical:We,combineWith:ar,displacedBy:St.displacedBy});return oe(lr,yr)},ht=function(Se,We){return We.margin[Se.start]+We.borderBox[Se.size]/2},Et=function(Se,We){return We.margin[Se.end]+We.borderBox[Se.size]/2},pt=function(Se,We,St){return We[Se.crossAxisStart]+St.margin[Se.crossAxisStart]+St.borderBox[Se.crossAxisSize]/2},vt=function(Se){var We=Se.axis,St=Se.moveRelativeTo,Ft=Se.isMoving;return J(We.line,St.marginBox[We.end]+ht(We,Ft),pt(We,St.marginBox,Ft))},Nt=function(Se){var We=Se.axis,St=Se.moveRelativeTo,Ft=Se.isMoving;return J(We.line,St.marginBox[We.start]-Et(We,Ft),pt(We,St.marginBox,Ft))},_t=function(Se){var We=Se.axis,St=Se.moveInto,Ft=Se.isMoving;return J(We.line,St.contentBox[We.start]+ht(We,Ft),pt(We,St.contentBox,Ft))},gt=function(Se){var We=Se.impact,St=Se.draggable,Ft=Se.draggables,qt=Se.droppable,ar=Se.afterCritical,lr=bt(qt.descriptor.id,Ft),yr=St.page,Vr=qt.axis;if(!lr.length)return _t({axis:Vr,moveInto:qt.page,isMoving:yr});var Xr=We.displaced,Br=We.displacedBy,Fr=Xr.all[0];if(Fr){var Gr=Ft[Fr];if(zt(Fr,ar))return Nt({axis:Vr,moveRelativeTo:Gr.page,isMoving:yr});var dn=C(Gr.page,Br.point);return Nt({axis:Vr,moveRelativeTo:dn,isMoving:yr})}var pn=lr[lr.length-1];if(pn.descriptor.id===St.descriptor.id)return yr.borderBox.center;if(zt(pn.descriptor.id,ar)){var ei=C(pn.page,te(ar.displacedBy.point));return vt({axis:Vr,moveRelativeTo:ei,isMoving:yr})}return vt({axis:Vr,moveRelativeTo:pn.page,isMoving:yr})},Ht=function(Se,We){var St=Se.frame;return St?oe(We,St.scroll.diff.displacement):We},kt=function(Se){var We=Se.impact,St=Se.draggable,Ft=Se.droppable,qt=Se.draggables,ar=Se.afterCritical,lr=St.page.borderBox.center,yr=We.at;return Ft&&yr?yr.type==="REORDER"?gt({impact:We,draggable:St,draggables:qt,droppable:Ft,afterCritical:ar}):er({impact:We,draggables:qt,afterCritical:ar}):lr},ir=function(Se){var We=kt(Se),St=Se.droppable,Ft=St?Ht(St,We):We;return Ft},Xt=function(Se,We){var St=Ie(We,Se.scroll.initial),Ft=te(St),qt=n({top:We.y,bottom:We.y+Se.frame.height,left:We.x,right:We.x+Se.frame.width}),ar={frame:qt,scroll:{initial:Se.scroll.initial,max:Se.scroll.max,current:We,diff:{value:St,displacement:Ft}}};return ar};function mr(ct,Se){return ct.map(function(We){return Se[We]})}function Ar(ct,Se){for(var We=0;We<Se.length;We++){var St=Se[We].visible[ct];if(St)return St}return null}var Nr=function(Se){var We=Se.impact,St=Se.viewport,Ft=Se.destination,qt=Se.draggables,ar=Se.maxScrollChange,lr=Xt(St,oe(St.scroll.current,ar)),yr=Ft.frame?ot(Ft,oe(Ft.frame.scroll.current,ar)):Ft,Vr=We.displaced,Xr=At({afterDragging:mr(Vr.all,qt),destination:Ft,displacedBy:We.displacedBy,viewport:lr.frame,last:Vr,forceShouldAnimate:!1}),Br=At({afterDragging:mr(Vr.all,qt),destination:yr,displacedBy:We.displacedBy,viewport:St.frame,last:Vr,forceShouldAnimate:!1}),Fr={},Gr={},dn=[Vr,Xr,Br];Vr.all.forEach(function(ei){var ui=Ar(ei,dn);if(ui){Gr[ei]=ui;return}Fr[ei]=!0});var pn=Object(m.a)({},We,{displaced:{all:Vr.all,invisible:Fr,visible:Gr}});return pn},kr=function(Se,We){return oe(Se.scroll.diff.displacement,We)},tn=function(Se){var We=Se.pageBorderBoxCenter,St=Se.draggable,Ft=Se.viewport,qt=kr(Ft,We),ar=Ie(qt,St.page.borderBox.center);return oe(St.client.borderBox.center,ar)},qr=function(Se){var We=Se.draggable,St=Se.destination,Ft=Se.newPageBorderBoxCenter,qt=Se.viewport,ar=Se.withDroppableDisplacement,lr=Se.onlyOnMainAxis,yr=lr===void 0?!1:lr,Vr=Ie(Ft,We.page.borderBox.center),Xr=Me(We.page.borderBox,Vr),Br={target:Xr,destination:St,withDroppableDisplacement:ar,viewport:qt};return yr?ke(Br):Oe(Br)},_r=function(Se){var We=Se.isMovingForward,St=Se.draggable,Ft=Se.destination,qt=Se.draggables,ar=Se.previousImpact,lr=Se.viewport,yr=Se.previousPageBorderBoxCenter,Vr=Se.previousClientSelection,Xr=Se.afterCritical;if(!Ft.isEnabled)return null;var Br=bt(Ft.descriptor.id,qt),Fr=Ce(St,Ft),Gr=_e({isMovingForward:We,draggable:St,destination:Ft,insideDestination:Br,previousImpact:ar})||Mt({isMovingForward:We,isInHomeList:Fr,draggable:St,draggables:qt,destination:Ft,insideDestination:Br,previousImpact:ar,viewport:lr,afterCritical:Xr});if(!Gr)return null;var dn=ir({impact:Gr,draggable:St,droppable:Ft,draggables:qt,afterCritical:Xr}),pn=qr({draggable:St,destination:Ft,newPageBorderBoxCenter:dn,viewport:lr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(pn){var ei=tn({pageBorderBoxCenter:dn,draggable:St,viewport:lr});return{clientSelection:ei,impact:Gr,scrollJumpRequest:null}}var ui=Ie(dn,yr),ii=Nr({impact:Gr,viewport:lr,destination:Ft,draggables:qt,maxScrollChange:ui});return{clientSelection:Vr,impact:ii,scrollJumpRequest:ui}},Qr=function(Se){var We=Se.subject.active;return We||ge(!1),We},Ir=function(Se){var We=Se.isMovingForward,St=Se.pageBorderBoxCenter,Ft=Se.source,qt=Se.droppables,ar=Se.viewport,lr=Ft.subject.active;if(!lr)return null;var yr=Ft.axis,Vr=Ye(lr[yr.start],lr[yr.end]),Xr=mt(qt).filter(function(Fr){return Fr!==Ft}).filter(function(Fr){return Fr.isEnabled}).filter(function(Fr){return Boolean(Fr.subject.active)}).filter(function(Fr){return Ge(ar.frame)(Qr(Fr))}).filter(function(Fr){var Gr=Qr(Fr);return We?lr[yr.crossAxisEnd]<Gr[yr.crossAxisEnd]:Gr[yr.crossAxisStart]<lr[yr.crossAxisStart]}).filter(function(Fr){var Gr=Qr(Fr),dn=Ye(Gr[yr.start],Gr[yr.end]);return Vr(Gr[yr.start])||Vr(Gr[yr.end])||dn(lr[yr.start])||dn(lr[yr.end])}).sort(function(Fr,Gr){var dn=Qr(Fr)[yr.crossAxisStart],pn=Qr(Gr)[yr.crossAxisStart];return We?dn-pn:pn-dn}).filter(function(Fr,Gr,dn){return Qr(Fr)[yr.crossAxisStart]===Qr(dn[0])[yr.crossAxisStart]});if(!Xr.length)return null;if(Xr.length===1)return Xr[0];var Br=Xr.filter(function(Fr){var Gr=Ye(Qr(Fr)[yr.start],Qr(Fr)[yr.end]);return Gr(St[yr.line])});return Br.length===1?Br[0]:Br.length>1?Br.sort(function(Fr,Gr){return Qr(Fr)[yr.start]-Qr(Gr)[yr.start]})[0]:Xr.sort(function(Fr,Gr){var dn=De(St,Tt(Qr(Fr))),pn=De(St,Tt(Qr(Gr)));return dn!==pn?dn-pn:Qr(Fr)[yr.start]-Qr(Gr)[yr.start]})[0]},cr=function(Se,We){var St=Se.page.borderBox.center;return zt(Se.descriptor.id,We)?Ie(St,We.displacedBy.point):St},pr=function(Se,We){var St=Se.page.borderBox;return zt(Se.descriptor.id,We)?Me(St,te(We.displacedBy.point)):St},ur=function(Se){var We=Se.pageBorderBoxCenter,St=Se.viewport,Ft=Se.destination,qt=Se.insideDestination,ar=Se.afterCritical,lr=qt.filter(function(yr){return Oe({target:pr(yr,ar),destination:Ft,viewport:St.frame,withDroppableDisplacement:!0})}).sort(function(yr,Vr){var Xr=ve(We,Ht(Ft,cr(yr,ar))),Br=ve(We,Ht(Ft,cr(Vr,ar)));return Xr<Br?-1:Br<Xr?1:yr.descriptor.index-Vr.descriptor.index});return lr[0]||null},fr=S(function(Se,We){var St=We[Se.line];return{value:St,point:J(Se.line,St)}}),xr=function(Se,We,St){var Ft=Se.axis;if(Se.descriptor.mode==="virtual")return J(Ft.line,We[Ft.line]);var qt=Se.subject.page.contentBox[Ft.size],ar=bt(Se.descriptor.id,St),lr=ar.reduce(function(Xr,Br){return Xr+Br.client.marginBox[Ft.size]},0),yr=lr+We[Ft.line],Vr=yr-qt;return Vr<=0?null:J(Ft.line,Vr)},Yr=function(Se,We){return Object(m.a)({},Se,{scroll:Object(m.a)({},Se.scroll,{max:We})})},cn=function(Se,We,St){var Ft=Se.frame;Ce(We,Se)&&ge(!1),Se.subject.withPlaceholder&&ge(!1);var qt=fr(Se.axis,We.displaceBy).point,ar=xr(Se,qt,St),lr={placeholderSize:qt,increasedBy:ar,oldFrameMaxScroll:Se.frame?Se.frame.scroll.max:null};if(!Ft){var yr=et({page:Se.subject.page,withPlaceholder:lr,axis:Se.axis,frame:Se.frame});return Object(m.a)({},Se,{subject:yr})}var Vr=ar?oe(Ft.scroll.max,ar):Ft.scroll.max,Xr=Yr(Ft,Vr),Br=et({page:Se.subject.page,withPlaceholder:lr,axis:Se.axis,frame:Xr});return Object(m.a)({},Se,{subject:Br,frame:Xr})},Nn=function(Se){var We=Se.subject.withPlaceholder;We||ge(!1);var St=Se.frame;if(!St){var Ft=et({page:Se.subject.page,axis:Se.axis,frame:null,withPlaceholder:null});return Object(m.a)({},Se,{subject:Ft})}var qt=We.oldFrameMaxScroll;qt||ge(!1);var ar=Yr(St,qt),lr=et({page:Se.subject.page,axis:Se.axis,frame:ar,withPlaceholder:null});return Object(m.a)({},Se,{subject:lr,frame:ar})},jr=function(Se){var We=Se.previousPageBorderBoxCenter,St=Se.moveRelativeTo,Ft=Se.insideDestination,qt=Se.draggable,ar=Se.draggables,lr=Se.destination,yr=Se.viewport,Vr=Se.afterCritical;if(!St){if(Ft.length)return null;var Xr={displaced:we,displacedBy:Ee,at:{type:"REORDER",destination:{droppableId:lr.descriptor.id,index:0}}},Br=ir({impact:Xr,draggable:qt,droppable:lr,draggables:ar,afterCritical:Vr}),Fr=Ce(qt,lr)?lr:cn(lr,qt,ar),Gr=qr({draggable:qt,destination:Fr,newPageBorderBoxCenter:Br,viewport:yr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return Gr?Xr:null}var dn=Boolean(We[lr.axis.line]<=St.page.borderBox.center[lr.axis.line]),pn=function(){var ui=St.descriptor.index;return St.descriptor.id===qt.descriptor.id||dn?ui:ui+1}(),ei=fr(lr.axis,qt.displaceBy);return Rt({draggable:qt,insideDestination:Ft,destination:lr,viewport:yr,displacedBy:ei,last:we,index:pn})},Tn=function(Se){var We=Se.isMovingForward,St=Se.previousPageBorderBoxCenter,Ft=Se.draggable,qt=Se.isOver,ar=Se.draggables,lr=Se.droppables,yr=Se.viewport,Vr=Se.afterCritical,Xr=Ir({isMovingForward:We,pageBorderBoxCenter:St,source:qt,droppables:lr,viewport:yr});if(!Xr)return null;var Br=bt(Xr.descriptor.id,ar),Fr=ur({pageBorderBoxCenter:St,viewport:yr,destination:Xr,insideDestination:Br,afterCritical:Vr}),Gr=jr({previousPageBorderBoxCenter:St,destination:Xr,draggable:Ft,draggables:ar,moveRelativeTo:Fr,insideDestination:Br,viewport:yr,afterCritical:Vr});if(!Gr)return null;var dn=ir({impact:Gr,draggable:Ft,droppable:Xr,draggables:ar,afterCritical:Vr}),pn=tn({pageBorderBoxCenter:dn,draggable:Ft,viewport:yr});return{clientSelection:pn,impact:Gr,scrollJumpRequest:null}},gn=function(Se){var We=Se.at;return We?We.type==="REORDER"?We.destination.droppableId:We.combine.droppableId:null},Pn=function(Se,We){var St=gn(Se);return St?We[St]:null},Kn=function(Se){var We=Se.state,St=Se.type,Ft=Pn(We.impact,We.dimensions.droppables),qt=Boolean(Ft),ar=We.dimensions.droppables[We.critical.droppable.id],lr=Ft||ar,yr=lr.axis.direction,Vr=yr==="vertical"&&(St==="MOVE_UP"||St==="MOVE_DOWN")||yr==="horizontal"&&(St==="MOVE_LEFT"||St==="MOVE_RIGHT");if(Vr&&!qt)return null;var Xr=St==="MOVE_DOWN"||St==="MOVE_RIGHT",Br=We.dimensions.draggables[We.critical.draggable.id],Fr=We.current.page.borderBoxCenter,Gr=We.dimensions,dn=Gr.draggables,pn=Gr.droppables;return Vr?_r({isMovingForward:Xr,previousPageBorderBoxCenter:Fr,draggable:Br,destination:lr,draggables:dn,viewport:We.viewport,previousClientSelection:We.current.client.selection,previousImpact:We.impact,afterCritical:We.afterCritical}):Tn({isMovingForward:Xr,previousPageBorderBoxCenter:Fr,draggable:Br,isOver:lr,draggables:dn,droppables:pn,viewport:We.viewport,afterCritical:We.afterCritical})};function qn(ct){return ct.phase==="DRAGGING"||ct.phase==="COLLECTING"}function Yn(ct){var Se=Ye(ct.top,ct.bottom),We=Ye(ct.left,ct.right);return function(Ft){return Se(Ft.y)&&We(Ft.x)}}function Vn(ct,Se){return ct.left<Se.right&&ct.right>Se.left&&ct.top<Se.bottom&&ct.bottom>Se.top}function An(ct){var Se=ct.pageBorderBox,We=ct.draggable,St=ct.candidates,Ft=We.page.borderBox.center,qt=St.map(function(ar){var lr=ar.axis,yr=J(ar.axis.line,Se.center[lr.line],ar.page.borderBox.center[lr.crossAxisLine]);return{id:ar.descriptor.id,distance:ve(Ft,yr)}}).sort(function(ar,lr){return lr.distance-ar.distance});return qt[0]?qt[0].id:null}function on(ct){var Se=ct.pageBorderBox,We=ct.draggable,St=ct.droppables,Ft=mt(St).filter(function(qt){if(!qt.isEnabled)return!1;var ar=qt.subject.active;if(!ar)return!1;if(!Vn(Se,ar))return!1;if(Yn(ar)(Se.center))return!0;var lr=qt.axis,yr=ar.center[lr.crossAxisLine],Vr=Se[lr.crossAxisStart],Xr=Se[lr.crossAxisEnd],Br=Ye(ar[lr.crossAxisStart],ar[lr.crossAxisEnd]),Fr=Br(Vr),Gr=Br(Xr);return!Fr&&!Gr?!0:Fr?Vr<yr:Xr>yr});return Ft.length?Ft.length===1?Ft[0].descriptor.id:An({pageBorderBox:Se,draggable:We,candidates:Ft}):null}var ia=function(Se,We){return n(Me(Se,We))},xa=function(Se,We){var St=Se.frame;return St?ia(We,St.scroll.diff.value):We};function ta(ct){var Se=ct.displaced,We=ct.id;return Boolean(Se.visible[We]||Se.invisible[We])}function Ii(ct){var Se=ct.draggable,We=ct.closest,St=ct.inHomeList;return We?St&&We.descriptor.index>Se.descriptor.index?We.descriptor.index-1:We.descriptor.index:null}var Ci=function(Se){var We=Se.pageBorderBoxWithDroppableScroll,St=Se.draggable,Ft=Se.destination,qt=Se.insideDestination,ar=Se.last,lr=Se.viewport,yr=Se.afterCritical,Vr=Ft.axis,Xr=fr(Ft.axis,St.displaceBy),Br=Xr.value,Fr=We[Vr.start],Gr=We[Vr.end],dn=Bt(St,qt),pn=lt(dn,function(ui){var ii=ui.descriptor.id,Zi=ui.page.borderBox.center[Vr.line],Si=zt(ii,yr),Va=ta({displaced:ar,id:ii});return Si?Va?Gr<=Zi:Fr<Zi-Br:Va?Gr<=Zi+Br:Fr<Zi}),ei=Ii({draggable:St,closest:pn,inHomeList:Ce(St,Ft)});return Rt({draggable:St,insideDestination:qt,destination:Ft,viewport:lr,last:ar,displacedBy:Xr,index:ei})},Gn=4,Oa=function(Se){var We=Se.draggable,St=Se.pageBorderBoxWithDroppableScroll,Ft=Se.previousImpact,qt=Se.destination,ar=Se.insideDestination,lr=Se.afterCritical;if(!qt.isCombineEnabled)return null;var yr=qt.axis,Vr=fr(qt.axis,We.displaceBy),Xr=Vr.value,Br=St[yr.start],Fr=St[yr.end],Gr=Bt(We,ar),dn=lt(Gr,function(ei){var ui=ei.descriptor.id,ii=ei.page.borderBox,Zi=ii[yr.size],Si=Zi/Gn,Va=zt(ui,lr),Ei=ta({displaced:Ft.displaced,id:ui});return Va?Ei?Fr>ii[yr.start]+Si&&Fr<ii[yr.end]-Si:Br>ii[yr.start]-Xr+Si&&Br<ii[yr.end]-Xr-Si:Ei?Fr>ii[yr.start]+Xr+Si&&Fr<ii[yr.end]+Xr-Si:Br>ii[yr.start]+Si&&Br<ii[yr.end]-Si});if(!dn)return null;var pn={displacedBy:Vr,displaced:Ft.displaced,at:{type:"COMBINE",combine:{draggableId:dn.descriptor.id,droppableId:qt.descriptor.id}}};return pn},mn=function(Se){var We=Se.pageOffset,St=Se.draggable,Ft=Se.draggables,qt=Se.droppables,ar=Se.previousImpact,lr=Se.viewport,yr=Se.afterCritical,Vr=ia(St.page.borderBox,We),Xr=on({pageBorderBox:Vr,draggable:St,droppables:qt});if(!Xr)return Fe;var Br=qt[Xr],Fr=bt(Br.descriptor.id,Ft),Gr=xa(Br,Vr);return Oa({pageBorderBoxWithDroppableScroll:Gr,draggable:St,previousImpact:ar,destination:Br,insideDestination:Fr,afterCritical:yr})||Ci({pageBorderBoxWithDroppableScroll:Gr,draggable:St,destination:Br,insideDestination:Fr,last:ar.displaced,viewport:lr,afterCritical:yr})},On=function(Se,We){var St;return Object(m.a)({},Se,(St={},St[We.descriptor.id]=We,St))},_n=function(Se){var We=Se.previousImpact,St=Se.impact,Ft=Se.droppables,qt=gn(We),ar=gn(St);if(!qt)return Ft;if(qt===ar)return Ft;var lr=Ft[qt];if(!lr.subject.withPlaceholder)return Ft;var yr=Nn(lr);return On(Ft,yr)},In=function(Se){var We=Se.draggable,St=Se.draggables,Ft=Se.droppables,qt=Se.previousImpact,ar=Se.impact,lr=_n({previousImpact:qt,impact:ar,droppables:Ft}),yr=gn(ar);if(!yr)return lr;var Vr=Ft[yr];if(Ce(We,Vr))return lr;if(Vr.subject.withPlaceholder)return lr;var Xr=cn(Vr,We,St);return On(lr,Xr)},jn=function(Se){var We=Se.state,St=Se.clientSelection,Ft=Se.dimensions,qt=Se.viewport,ar=Se.impact,lr=Se.scrollJumpRequest,yr=qt||We.viewport,Vr=Ft||We.dimensions,Xr=St||We.current.client.selection,Br=Ie(Xr,We.initial.client.selection),Fr={offset:Br,selection:Xr,borderBoxCenter:oe(We.initial.client.borderBoxCenter,Br)},Gr={selection:oe(Fr.selection,yr.scroll.current),borderBoxCenter:oe(Fr.borderBoxCenter,yr.scroll.current),offset:oe(Fr.offset,yr.scroll.diff.value)},dn={client:Fr,page:Gr};if(We.phase==="COLLECTING")return Object(m.a)({phase:"COLLECTING"},We,{dimensions:Vr,viewport:yr,current:dn});var pn=Vr.draggables[We.critical.draggable.id],ei=ar||mn({pageOffset:Gr.offset,draggable:pn,draggables:Vr.draggables,droppables:Vr.droppables,previousImpact:We.impact,viewport:yr,afterCritical:We.afterCritical}),ui=In({draggable:pn,impact:ei,previousImpact:We.impact,draggables:Vr.draggables,droppables:Vr.droppables}),ii=Object(m.a)({},We,{current:dn,dimensions:{draggables:Vr.draggables,droppables:ui},impact:ei,viewport:yr,scrollJumpRequest:lr||null,forceShouldAnimate:lr?!1:null});return ii};function ni(ct,Se){return ct.map(function(We){return Se[We]})}var di=function(Se){var We=Se.impact,St=Se.viewport,Ft=Se.draggables,qt=Se.destination,ar=Se.forceShouldAnimate,lr=We.displaced,yr=ni(lr.all,Ft),Vr=At({afterDragging:yr,destination:qt,displacedBy:We.displacedBy,viewport:St.frame,forceShouldAnimate:ar,last:lr});return Object(m.a)({},We,{displaced:Vr})},Na=function(Se){var We=Se.impact,St=Se.draggable,Ft=Se.droppable,qt=Se.draggables,ar=Se.viewport,lr=Se.afterCritical,yr=ir({impact:We,draggable:St,draggables:qt,droppable:Ft,afterCritical:lr});return tn({pageBorderBoxCenter:yr,draggable:St,viewport:ar})},Qi=function(Se){var We=Se.state,St=Se.dimensions,Ft=Se.viewport;We.movementMode==="SNAP"||ge(!1);var qt=We.impact,ar=Ft||We.viewport,lr=St||We.dimensions,yr=lr.draggables,Vr=lr.droppables,Xr=yr[We.critical.draggable.id],Br=gn(qt);Br||ge(!1);var Fr=Vr[Br],Gr=di({impact:qt,viewport:ar,destination:Fr,draggables:yr}),dn=Na({impact:Gr,draggable:Xr,droppable:Fr,draggables:yr,viewport:ar,afterCritical:We.afterCritical});return jn({impact:Gr,clientSelection:dn,state:We,dimensions:lr,viewport:ar})},ma=function(Se){return{index:Se.index,droppableId:Se.droppableId}},Ba=function(Se){var We=Se.draggable,St=Se.home,Ft=Se.draggables,qt=Se.viewport,ar=fr(St.axis,We.displaceBy),lr=bt(St.descriptor.id,Ft),yr=lr.indexOf(We);yr!==-1||ge(!1);var Vr=lr.slice(yr+1),Xr=Vr.reduce(function(dn,pn){return dn[pn.descriptor.id]=!0,dn},{}),Br={inVirtualList:St.descriptor.mode==="virtual",displacedBy:ar,effected:Xr},Fr=At({afterDragging:Vr,destination:St,displacedBy:ar,last:null,viewport:qt.frame,forceShouldAnimate:!1}),Gr={displaced:Fr,displacedBy:ar,at:{type:"REORDER",destination:ma(We.descriptor)}};return{impact:Gr,afterCritical:Br}},Qa=function(Se,We){return{draggables:Se.draggables,droppables:On(Se.droppables,We)}},Wi=function(Se){},Co=function(Se){},aa=function(Se){var We=Se.draggable,St=Se.offset,Ft=Se.initialWindowScroll,qt=C(We.client,St),ar=x(qt,Ft),lr=Object(m.a)({},We,{placeholder:Object(m.a)({},We.placeholder,{client:qt}),client:qt,page:ar});return lr},Hi=function(Se){var We=Se.frame;return We||ge(!1),We},ga=function(Se){var We=Se.additions,St=Se.updatedDroppables,Ft=Se.viewport,qt=Ft.scroll.diff.value;return We.map(function(ar){var lr=ar.descriptor.droppableId,yr=St[lr],Vr=Hi(yr),Xr=Vr.scroll.diff.value,Br=oe(qt,Xr),Fr=aa({draggable:ar,offset:Br,initialWindowScroll:Ft.scroll.initial});return Fr})},ha=function(Se){var We=Se.state,St=Se.published;Wi();var Ft=St.modified.map(function(Si){var Va=We.dimensions.droppables[Si.droppableId],Ei=ot(Va,Si.scroll);return Ei}),qt=Object(m.a)({},We.dimensions.droppables,{},Te(Ft)),ar=Jt(ga({additions:St.additions,updatedDroppables:qt,viewport:We.viewport})),lr=Object(m.a)({},We.dimensions.draggables,{},ar);St.removals.forEach(function(Si){delete lr[Si]});var yr={droppables:qt,draggables:lr},Vr=gn(We.impact),Xr=Vr?yr.droppables[Vr]:null,Br=yr.draggables[We.critical.draggable.id],Fr=yr.droppables[We.critical.droppable.id],Gr=Ba({draggable:Br,home:Fr,draggables:lr,viewport:We.viewport}),dn=Gr.impact,pn=Gr.afterCritical,ei=Xr&&Xr.isCombineEnabled?We.impact:dn,ui=mn({pageOffset:We.current.page.offset,draggable:yr.draggables[We.critical.draggable.id],draggables:yr.draggables,droppables:yr.droppables,previousImpact:ei,viewport:We.viewport,afterCritical:pn});Co();var ii=Object(m.a)({phase:"DRAGGING"},We,{phase:"DRAGGING",impact:ui,onLiftImpact:dn,dimensions:yr,afterCritical:pn,forceShouldAnimate:!1});if(We.phase==="COLLECTING")return ii;var Zi=Object(m.a)({phase:"DROP_PENDING"},ii,{phase:"DROP_PENDING",reason:We.reason,isWaiting:!1});return Zi},mo=function(Se){return Se.movementMode==="SNAP"},Fn=function(Se,We,St){var Ft=Qa(Se.dimensions,We);return!mo(Se)||St?jn({state:Se,dimensions:Ft}):Qi({state:Se,dimensions:Ft})};function $i(ct){return ct.isDragging&&ct.movementMode==="SNAP"?Object(m.a)({phase:"DRAGGING"},ct,{scrollJumpRequest:null}):ct}var eo={phase:"IDLE",completed:null,shouldFlush:!1},To=function(Se,We){if(Se===void 0&&(Se=eo),We.type==="FLUSH")return Object(m.a)({},eo,{shouldFlush:!0});if(We.type==="INITIAL_PUBLISH"){Se.phase==="IDLE"||ge(!1);var St=We.payload,Ft=St.critical,qt=St.clientSelection,ar=St.viewport,lr=St.dimensions,yr=St.movementMode,Vr=lr.draggables[Ft.draggable.id],Xr=lr.droppables[Ft.droppable.id],Br={selection:qt,borderBoxCenter:Vr.client.borderBox.center,offset:pe},Fr={client:Br,page:{selection:oe(Br.selection,ar.scroll.initial),borderBoxCenter:oe(Br.selection,ar.scroll.initial),offset:oe(Br.selection,ar.scroll.diff.value)}},Gr=mt(lr.droppables).every(function(ie){return!ie.isFixedOnPage}),dn=Ba({draggable:Vr,home:Xr,draggables:lr.draggables,viewport:ar}),pn=dn.impact,ei=dn.afterCritical,ui={phase:"DRAGGING",isDragging:!0,critical:Ft,movementMode:yr,dimensions:lr,initial:Fr,current:Fr,isWindowScrollAllowed:Gr,impact:pn,afterCritical:ei,onLiftImpact:pn,viewport:ar,scrollJumpRequest:null,forceShouldAnimate:null};return ui}if(We.type==="COLLECTION_STARTING"){if(Se.phase==="COLLECTING"||Se.phase==="DROP_PENDING")return Se;Se.phase==="DRAGGING"||ge(!1);var ii=Object(m.a)({phase:"COLLECTING"},Se,{phase:"COLLECTING"});return ii}if(We.type==="PUBLISH_WHILE_DRAGGING")return Se.phase==="COLLECTING"||Se.phase==="DROP_PENDING"||ge(!1),ha({state:Se,published:We.payload});if(We.type==="MOVE"){if(Se.phase==="DROP_PENDING")return Se;qn(Se)||ge(!1);var Zi=We.payload.client;return fe(Zi,Se.current.client.selection)?Se:jn({state:Se,clientSelection:Zi,impact:mo(Se)?Se.impact:null})}if(We.type==="UPDATE_DROPPABLE_SCROLL"){if(Se.phase==="DROP_PENDING")return $i(Se);if(Se.phase==="COLLECTING")return $i(Se);qn(Se)||ge(!1);var Si=We.payload,Va=Si.id,Ei=Si.newScroll,uo=Se.dimensions.droppables[Va];if(!uo)return Se;var zo=ot(uo,Ei);return Fn(Se,zo,!1)}if(We.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(Se.phase==="DROP_PENDING")return Se;qn(Se)||ge(!1);var ao=We.payload,Uo=ao.id,D=ao.isEnabled,P=Se.dimensions.droppables[Uo];P||ge(!1),P.isEnabled!==D||ge(!1);var ee=Object(m.a)({},P,{isEnabled:D});return Fn(Se,ee,!0)}if(We.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(Se.phase==="DROP_PENDING")return Se;qn(Se)||ge(!1);var re=We.payload,ce=re.id,Be=re.isCombineEnabled,yt=Se.dimensions.droppables[ce];yt||ge(!1),yt.isCombineEnabled!==Be||ge(!1);var Dt=Object(m.a)({},yt,{isCombineEnabled:Be});return Fn(Se,Dt,!0)}if(We.type==="MOVE_BY_WINDOW_SCROLL"){if(Se.phase==="DROP_PENDING"||Se.phase==="DROP_ANIMATING")return Se;qn(Se)||ge(!1),Se.isWindowScrollAllowed||ge(!1);var Kt=We.payload.newScroll;if(fe(Se.viewport.scroll.current,Kt))return $i(Se);var Yt=Xt(Se.viewport,Kt);return mo(Se)?Qi({state:Se,viewport:Yt}):jn({state:Se,viewport:Yt})}if(We.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!qn(Se))return Se;var Cr=We.payload.maxScroll;if(fe(Cr,Se.viewport.scroll.max))return Se;var Ur=Object(m.a)({},Se.viewport,{scroll:Object(m.a)({},Se.viewport.scroll,{max:Cr})});return Object(m.a)({phase:"DRAGGING"},Se,{viewport:Ur})}if(We.type==="MOVE_UP"||We.type==="MOVE_DOWN"||We.type==="MOVE_LEFT"||We.type==="MOVE_RIGHT"){if(Se.phase==="COLLECTING"||Se.phase==="DROP_PENDING")return Se;Se.phase==="DRAGGING"||ge(!1);var en=Kn({state:Se,type:We.type});return en?jn({state:Se,impact:en.impact,clientSelection:en.clientSelection,scrollJumpRequest:en.scrollJumpRequest}):Se}if(We.type==="DROP_PENDING"){var nn=We.payload.reason;Se.phase==="COLLECTING"||ge(!1);var xn=Object(m.a)({phase:"DROP_PENDING"},Se,{phase:"DROP_PENDING",isWaiting:!0,reason:nn});return xn}if(We.type==="DROP_ANIMATE"){var Bn=We.payload,Jn=Bn.completed,Zn=Bn.dropDuration,oi=Bn.newHomeClientOffset;Se.phase==="DRAGGING"||Se.phase==="DROP_PENDING"||ge(!1);var li={phase:"DROP_ANIMATING",completed:Jn,dropDuration:Zn,newHomeClientOffset:oi,dimensions:Se.dimensions};return li}if(We.type==="DROP_COMPLETE"){var $e=We.payload.completed;return{phase:"IDLE",completed:$e,shouldFlush:!1}}return Se},co=function(Se){return{type:"BEFORE_INITIAL_CAPTURE",payload:Se}},rr=function(Se){return{type:"LIFT",payload:Se}},Tr=function(Se){return{type:"INITIAL_PUBLISH",payload:Se}},Pr=function(Se){return{type:"PUBLISH_WHILE_DRAGGING",payload:Se}},Wr=function(){return{type:"COLLECTION_STARTING",payload:null}},hn=function(Se){return{type:"UPDATE_DROPPABLE_SCROLL",payload:Se}},it=function(Se){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:Se}},jt=function(Se){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:Se}},Zt=function(Se){return{type:"MOVE",payload:Se}},nr=function(Se){return{type:"MOVE_BY_WINDOW_SCROLL",payload:Se}},Or=function(Se){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:Se}},wr=function(){return{type:"MOVE_UP",payload:null}},Er=function(){return{type:"MOVE_DOWN",payload:null}},Kr=function(){return{type:"MOVE_RIGHT",payload:null}},Zr=function(){return{type:"MOVE_LEFT",payload:null}},Jr=function(){return{type:"FLUSH",payload:null}},an=function(Se){return{type:"DROP_ANIMATE",payload:Se}},xt=function(Se){return{type:"DROP_COMPLETE",payload:Se}},Vt=function(Se){return{type:"DROP",payload:Se}},sr=function(Se){return{type:"DROP_PENDING",payload:Se}},br=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Mr(ct){if(ct.length<=1)return;for(var Se=ct.map(function(lr){return lr.descriptor.index}),We={},St=1;St<Se.length;St++){var Ft=Se[St],qt=Se[St-1];Ft!==qt+1&&(We[Ft]=!0)}if(!Object.keys(We).length)return;var ar=Se.map(function(lr){var yr=Boolean(We[lr]);return yr?"[\u{1F525}"+lr+"]":""+lr}).join(", ")}function Dr(ct,Se){if(!1)var We}var rn=function(Se){return function(We){var St=We.getState,Ft=We.dispatch;return function(qt){return function(ar){if(ar.type!=="LIFT"){qt(ar);return}var lr=ar.payload,yr=lr.id,Vr=lr.clientSelection,Xr=lr.movementMode,Br=St();Br.phase==="DROP_ANIMATING"&&Ft(xt({completed:Br.completed})),St().phase==="IDLE"||ge(!1),Ft(Jr()),Ft(co({draggableId:yr,movementMode:Xr}));var Fr={shouldPublishImmediately:Xr==="SNAP"},Gr={draggableId:yr,scrollOptions:Fr},dn=Se.startPublishing(Gr),pn=dn.critical,ei=dn.dimensions,ui=dn.viewport;Dr(pn,ei),Ft(Tr({critical:pn,dimensions:ei,clientSelection:Vr,movementMode:Xr,viewport:ui}))}}}},fn=function(Se){return function(){return function(We){return function(St){St.type==="INITIAL_PUBLISH"&&Se.dragging(),St.type==="DROP_ANIMATE"&&Se.dropping(St.payload.completed.result.reason),(St.type==="FLUSH"||St.type==="DROP_COMPLETE")&&Se.resting(),We(St)}}}},wn={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Hn={opacity:{drop:0,combining:.7},scale:{drop:.75}},Sn={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},bn=Sn.outOfTheWay+"s "+wn.outOfTheWay,Mn={fluid:"opacity "+bn,snap:"transform "+bn+", opacity "+bn,drop:function(Se){var We=Se+"s "+wn.drop;return"transform "+We+", opacity "+We},outOfTheWay:"transform "+bn,placeholder:"height "+bn+", width "+bn+", margin "+bn},vn=function(Se){return fe(Se,pe)?null:"translate("+Se.x+"px, "+Se.y+"px)"},Rn={moveTo:vn,drop:function(Se,We){var St=vn(Se);return St?We?St+" scale("+Hn.scale.drop+")":St:null}},En=Sn.minDropTime,Ln=Sn.maxDropTime,Xn=Ln-En,ai=1500,ri=.6,Di=function(Se){var We=Se.current,St=Se.destination,Ft=Se.reason,qt=ve(We,St);if(qt<=0)return En;if(qt>=ai)return Ln;var ar=qt/ai,lr=En+Xn*ar,yr=Ft==="CANCEL"?lr*ri:lr;return Number(yr.toFixed(2))},yi=function(Se){var We=Se.impact,St=Se.draggable,Ft=Se.dimensions,qt=Se.viewport,ar=Se.afterCritical,lr=Ft.draggables,yr=Ft.droppables,Vr=gn(We),Xr=Vr?yr[Vr]:null,Br=yr[St.descriptor.droppableId],Fr=Na({impact:We,draggable:St,draggables:lr,afterCritical:ar,droppable:Xr||Br,viewport:qt}),Gr=Ie(Fr,St.client.borderBox.center);return Gr},xi=function(Se){var We=Se.draggables,St=Se.reason,Ft=Se.lastImpact,qt=Se.home,ar=Se.viewport,lr=Se.onLiftImpact;if(!Ft.at||St!=="DROP"){var yr=di({draggables:We,impact:lr,destination:qt,viewport:ar,forceShouldAnimate:!0});return{impact:yr,didDropInsideDroppable:!1}}if(Ft.at.type==="REORDER")return{impact:Ft,didDropInsideDroppable:!0};var Vr=Object(m.a)({},Ft,{displaced:we});return{impact:Vr,didDropInsideDroppable:!0}},_i=function(Se){var We=Se.getState,St=Se.dispatch;return function(Ft){return function(qt){if(qt.type!=="DROP"){Ft(qt);return}var ar=We(),lr=qt.payload.reason;if(ar.phase==="COLLECTING"){St(sr({reason:lr}));return}if(ar.phase==="IDLE")return;var yr=ar.phase==="DROP_PENDING"&&ar.isWaiting;yr&&ge(!1),ar.phase==="DRAGGING"||ar.phase==="DROP_PENDING"||ge(!1);var Vr=ar.critical,Xr=ar.dimensions,Br=Xr.draggables[ar.critical.draggable.id],Fr=xi({reason:lr,lastImpact:ar.impact,afterCritical:ar.afterCritical,onLiftImpact:ar.onLiftImpact,home:ar.dimensions.droppables[ar.critical.droppable.id],viewport:ar.viewport,draggables:ar.dimensions.draggables}),Gr=Fr.impact,dn=Fr.didDropInsideDroppable,pn=dn?Lt(Gr):null,ei=dn?or(Gr):null,ui={index:Vr.draggable.index,droppableId:Vr.droppable.id},ii={draggableId:Br.descriptor.id,type:Br.descriptor.type,source:ui,reason:lr,mode:ar.movementMode,destination:pn,combine:ei},Zi=yi({impact:Gr,draggable:Br,dimensions:Xr,viewport:ar.viewport,afterCritical:ar.afterCritical}),Si={critical:ar.critical,afterCritical:ar.afterCritical,result:ii,impact:Gr},Va=!fe(ar.current.client.offset,Zi)||Boolean(ii.combine);if(!Va){St(xt({completed:Si}));return}var Ei=Di({current:ar.current.client.offset,destination:Zi,reason:lr}),uo={newHomeClientOffset:Zi,dropDuration:Ei,completed:Si};St(an(uo))}}},Un=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Ri(ct){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(We){if(We.target!==window&&We.target!==window.document)return;ct()}}}function fa(ct){var Se=ct.onWindowScroll;function We(){Se(Un())}var St=L(We),Ft=Ri(St),qt=Y;function ar(){return qt!==Y}function lr(){ar()&&ge(!1),qt=he(window,[Ft])}function yr(){ar()||ge(!1),St.cancel(),qt(),qt=Y}return{start:lr,stop:yr,isActive:ar}}var Ui=function(Se){return Se.type==="DROP_COMPLETE"||Se.type==="DROP_ANIMATE"||Se.type==="FLUSH"},Mi=function(Se){var We=fa({onWindowScroll:function(Ft){Se.dispatch(nr({newScroll:Ft}))}});return function(St){return function(Ft){!We.isActive()&&Ft.type==="INITIAL_PUBLISH"&&We.start(),We.isActive()&&Ui(Ft)&&We.stop(),St(Ft)}}},mi=function(Se){var We=!1,St=!1,Ft=setTimeout(function(){St=!0}),qt=function(lr){if(We)return;if(St)return;We=!0,Se(lr),clearTimeout(Ft)};return qt.wasCalled=function(){return We},qt},hi=function(){var Se=[],We=function(ar){var lr=ae(Se,function(Xr){return Xr.timerId===ar});lr!==-1||ge(!1);var yr=Se.splice(lr,1),Vr=yr[0];Vr.callback()},St=function(ar){var lr=setTimeout(function(){return We(lr)}),yr={timerId:lr,callback:ar};Se.push(yr)},Ft=function(){if(!Se.length)return;var ar=[].concat(Se);Se.length=0,ar.forEach(function(lr){clearTimeout(lr.timerId),lr.callback()})};return{add:St,flush:Ft}},qi=function(Se,We){return Se==null&&We==null?!0:Se==null||We==null?!1:Se.droppableId===We.droppableId&&Se.index===We.index},va=function(Se,We){return Se==null&&We==null?!0:Se==null||We==null?!1:Se.draggableId===We.draggableId&&Se.droppableId===We.droppableId},Ea=function(Se,We){if(Se===We)return!0;var St=Se.draggable.id===We.draggable.id&&Se.draggable.droppableId===We.draggable.droppableId&&Se.draggable.type===We.draggable.type&&Se.draggable.index===We.draggable.index,Ft=Se.droppable.id===We.droppable.id&&Se.droppable.type===We.droppable.type;return St&&Ft},ya=function(Se,We){Wi(),We(),Co()},oa=function(Se,We){return{draggableId:Se.draggable.id,type:Se.droppable.type,source:{droppableId:Se.droppable.id,index:Se.draggable.index},mode:We}},sa=function(Se,We,St,Ft){if(!Se){St(Ft(We));return}var qt=mi(St),ar={announce:qt};Se(We,ar),qt.wasCalled()||St(Ft(We))},Ni=function(Se,We){var St=hi(),Ft=null,qt=function(Gr,dn){Ft&&ge(!1),ya("onBeforeCapture",function(){var pn=Se().onBeforeCapture;if(pn){var ei={draggableId:Gr,mode:dn};pn(ei)}})},ar=function(Gr,dn){Ft&&ge(!1),ya("onBeforeDragStart",function(){var pn=Se().onBeforeDragStart;pn&&pn(oa(Gr,dn))})},lr=function(Gr,dn){Ft&&ge(!1);var pn=oa(Gr,dn);Ft={mode:dn,lastCritical:Gr,lastLocation:pn.source,lastCombine:null},St.add(function(){ya("onDragStart",function(){return sa(Se().onDragStart,pn,We,Z.onDragStart)})})},yr=function(Gr,dn){var pn=Lt(dn),ei=or(dn);Ft||ge(!1);var ui=!Ea(Gr,Ft.lastCritical);ui&&(Ft.lastCritical=Gr);var ii=!qi(Ft.lastLocation,pn);ii&&(Ft.lastLocation=pn);var Zi=!va(Ft.lastCombine,ei);if(Zi&&(Ft.lastCombine=ei),!ui&&!ii&&!Zi)return;var Si=Object(m.a)({},oa(Gr,Ft.mode),{combine:ei,destination:pn});St.add(function(){ya("onDragUpdate",function(){return sa(Se().onDragUpdate,Si,We,Z.onDragUpdate)})})},Vr=function(){Ft||ge(!1),St.flush()},Xr=function(Gr){Ft||ge(!1),Ft=null,ya("onDragEnd",function(){return sa(Se().onDragEnd,Gr,We,Z.onDragEnd)})},Br=function(){if(!Ft)return;var Gr=Object(m.a)({},oa(Ft.lastCritical,Ft.mode),{combine:null,destination:null,reason:"CANCEL"});Xr(Gr)};return{beforeCapture:qt,beforeStart:ar,start:lr,update:yr,flush:Vr,drop:Xr,abort:Br}},$n=function(Se,We){var St=Ni(Se,We);return function(Ft){return function(qt){return function(ar){if(ar.type==="BEFORE_INITIAL_CAPTURE"){St.beforeCapture(ar.payload.draggableId,ar.payload.movementMode);return}if(ar.type==="INITIAL_PUBLISH"){var lr=ar.payload.critical;St.beforeStart(lr,ar.payload.movementMode),qt(ar),St.start(lr,ar.payload.movementMode);return}if(ar.type==="DROP_COMPLETE"){var yr=ar.payload.completed.result;St.flush(),qt(ar),St.drop(yr);return}if(qt(ar),ar.type==="FLUSH"){St.abort();return}var Vr=Ft.getState();Vr.phase==="DRAGGING"&&St.update(Vr.critical,Vr.impact)}}}},Ai=function(Se){return function(We){return function(St){if(St.type!=="DROP_ANIMATION_FINISHED"){We(St);return}var Ft=Se.getState();Ft.phase==="DROP_ANIMATING"||ge(!1),Se.dispatch(xt({completed:Ft.completed}))}}},Li=function(Se){var We=null,St=null;function Ft(){St&&(cancelAnimationFrame(St),St=null),We&&(We(),We=null)}return function(qt){return function(ar){if((ar.type==="FLUSH"||ar.type==="DROP_COMPLETE"||ar.type==="DROP_ANIMATION_FINISHED")&&Ft(),qt(ar),ar.type!=="DROP_ANIMATE")return;var lr={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Vr=Se.getState();Vr.phase==="DROP_ANIMATING"&&Se.dispatch(br())}};St=requestAnimationFrame(function(){St=null,We=he(window,[lr])})}}},Vi=function(Se){return function(){return function(We){return function(St){(St.type==="DROP_COMPLETE"||St.type==="FLUSH"||St.type==="DROP_ANIMATE")&&Se.stopPublishing(),We(St)}}}},Xi=function(Se){var We=!1;return function(){return function(St){return function(Ft){if(Ft.type==="INITIAL_PUBLISH"){We=!0,Se.tryRecordFocus(Ft.payload.critical.draggable.id),St(Ft),Se.tryRestoreFocusRecorded();return}if(St(Ft),!We)return;if(Ft.type==="FLUSH"){We=!1,Se.tryRestoreFocusRecorded();return}if(Ft.type==="DROP_COMPLETE"){We=!1;var qt=Ft.payload.completed.result;qt.combine&&Se.tryShiftRecord(qt.draggableId,qt.combine.draggableId),Se.tryRestoreFocusRecorded()}}}}},bi=function(Se){return Se.type==="DROP_COMPLETE"||Se.type==="DROP_ANIMATE"||Se.type==="FLUSH"},Aa=function(Se){return function(We){return function(St){return function(Ft){if(bi(Ft)){Se.stop(),St(Ft);return}if(Ft.type==="INITIAL_PUBLISH"){St(Ft);var qt=We.getState();qt.phase==="DRAGGING"||ge(!1),Se.start(qt);return}St(Ft),Se.scroll(We.getState())}}}},ua=function(Se){return function(We){return function(St){if(We(St),St.type!=="PUBLISH_WHILE_DRAGGING")return;var Ft=Se.getState();if(Ft.phase!=="DROP_PENDING")return;if(Ft.isWaiting)return;Se.dispatch(Vt({reason:Ft.reason}))}}},la=y.d,gi=function(Se){var We=Se.dimensionMarshal,St=Se.focusMarshal,Ft=Se.styleMarshal,qt=Se.getResponders,ar=Se.announce,lr=Se.autoScroller;return Object(y.e)(To,la(Object(y.a)(fn(Ft),Vi(We),rn(We),_i,Ai,Li,ua,Aa(lr),Mi,Xi(St),$n(qt,ar))))},Pa=function(){return{additions:{},removals:{},modified:{}}};function Ma(ct){var Se=ct.registry,We=ct.callbacks,St=Pa(),Ft=null,qt=function(){if(Ft)return;We.collectionStarting(),Ft=requestAnimationFrame(function(){Ft=null,Wi();var Xr=St,Br=Xr.additions,Fr=Xr.removals,Gr=Xr.modified,dn=Object.keys(Br).map(function(ui){return Se.draggable.getById(ui).getDimension(pe)}).sort(function(ui,ii){return ui.descriptor.index-ii.descriptor.index}),pn=Object.keys(Gr).map(function(ui){var ii=Se.droppable.getById(ui),Zi=ii.callbacks.getScrollWhileDragging();return{droppableId:ui,scroll:Zi}}),ei={additions:dn,removals:Object.keys(Fr),modified:pn};St=Pa(),Co(),We.publish(ei)})},ar=function(Xr){var Br=Xr.descriptor.id;St.additions[Br]=Xr,St.modified[Xr.descriptor.droppableId]=!0,St.removals[Br]&&delete St.removals[Br],qt()},lr=function(Xr){var Br=Xr.descriptor;St.removals[Br.id]=!0,St.modified[Br.droppableId]=!0,St.additions[Br.id]&&delete St.additions[Br.id],qt()},yr=function(){if(!Ft)return;cancelAnimationFrame(Ft),Ft=null,St=Pa()};return{add:ar,remove:lr,stop:yr}}var ra=function(Se){var We=Se.scrollHeight,St=Se.scrollWidth,Ft=Se.height,qt=Se.width,ar=Ie({x:St,y:We},{x:qt,y:Ft}),lr={x:Math.max(0,ar.x),y:Math.max(0,ar.y)};return lr},Yi=function(){var Se=document.documentElement;return Se||ge(!1),Se},Xa=function(){var Se=Yi(),We=ra({scrollHeight:Se.scrollHeight,scrollWidth:Se.scrollWidth,width:Se.clientWidth,height:Se.clientHeight});return We},zi=function(){var Se=Un(),We=Xa(),St=Se.y,Ft=Se.x,qt=Yi(),ar=qt.clientWidth,lr=qt.clientHeight,yr=Ft+ar,Vr=St+lr,Xr=n({top:St,left:Ft,right:yr,bottom:Vr}),Br={frame:Xr,scroll:{initial:Se,current:Se,max:We,diff:{value:pe,displacement:pe}}};return Br},Ki=function(Se){var We=Se.critical,St=Se.scrollOptions,Ft=Se.registry;Wi();var qt=zi(),ar=qt.scroll.current,lr=We.droppable,yr=Ft.droppable.getAllByType(lr.type).map(function(Fr){return Fr.callbacks.getDimensionAndWatchScroll(ar,St)}),Vr=Ft.draggable.getAllByType(We.draggable.type).map(function(Fr){return Fr.getDimension(ar)}),Xr={draggables:Jt(Vr),droppables:Te(yr)};Co();var Br={dimensions:Xr,critical:We,viewport:qt};return Br};function ba(ct,Se,We){if(We.descriptor.id===Se.id)return!1;if(We.descriptor.type!==Se.type)return!1;var St=ct.droppable.getById(We.descriptor.droppableId);return!(St.descriptor.mode!=="virtual")}var Ua=function(Se,We){var St=null,Ft=Ma({callbacks:{publish:We.publishWhileDragging,collectionStarting:We.collectionStarting},registry:Se}),qt=function(dn,pn){if(Se.droppable.exists(dn)||ge(!1),!St)return;We.updateDroppableIsEnabled({id:dn,isEnabled:pn})},ar=function(dn,pn){if(!St)return;Se.droppable.exists(dn)||ge(!1),We.updateDroppableIsCombineEnabled({id:dn,isCombineEnabled:pn})},lr=function(dn,pn){if(!St)return;Se.droppable.exists(dn)||ge(!1),We.updateDroppableScroll({id:dn,newScroll:pn})},yr=function(dn,pn){if(!St)return;Se.droppable.getById(dn).callbacks.scroll(pn)},Vr=function(){if(!St)return;Ft.stop();var dn=St.critical.droppable;Se.droppable.getAllByType(dn.type).forEach(function(pn){return pn.callbacks.dragStopped()}),St.unsubscribe(),St=null},Xr=function(dn){St||ge(!1);var pn=St.critical.draggable;dn.type==="ADDITION"&&(ba(Se,pn,dn.value)&&Ft.add(dn.value)),dn.type==="REMOVAL"&&(ba(Se,pn,dn.value)&&Ft.remove(dn.value))},Br=function(dn){St&&ge(!1);var pn=Se.draggable.getById(dn.draggableId),ei=Se.droppable.getById(pn.descriptor.droppableId),ui={draggable:pn.descriptor,droppable:ei.descriptor},ii=Se.subscribe(Xr);return St={critical:ui,unsubscribe:ii},Ki({critical:ui,registry:Se,scrollOptions:dn.scrollOptions})},Fr={updateDroppableIsEnabled:qt,updateDroppableIsCombineEnabled:ar,scrollDroppable:yr,updateDroppableScroll:lr,startPublishing:Br,stopPublishing:Vr};return Fr},wa=function(Se,We){return Se.phase==="IDLE"?!0:Se.phase!=="DROP_ANIMATING"||Se.completed.result.draggableId===We?!1:Se.completed.result.reason==="DROP"},vi=function(Se){window.scrollBy(Se.x,Se.y)},Ya=S(function(ct){return mt(ct).filter(function(Se){return Se.isEnabled?!!Se.frame:!1})}),za=function(Se,We){var St=lt(Ya(We),function(Ft){return Ft.frame||ge(!1),Yn(Ft.frame.pageMarginBox)(Se)});return St},pa=function(Se){var We=Se.center,St=Se.destination,Ft=Se.droppables;if(St){var qt=Ft[St];return qt.frame?qt:null}var ar=za(We,Ft);return ar},Oi={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(Se){return Math.pow(Se,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},So=function(Se,We){var St=Se[We.size]*Oi.startFromPercentage,Ft=Se[We.size]*Oi.maxScrollAtPercentage,qt={startScrollingFrom:St,maxScrollValueAt:Ft};return qt},Ka=function(Se){var We=Se.startOfRange,St=Se.endOfRange,Ft=Se.current,qt=St-We;if(qt===0)return 0;var ar=Ft-We,lr=ar/qt;return lr},ja=1,qa=function(Se,We){if(Se>We.startScrollingFrom)return 0;if(Se<=We.maxScrollValueAt)return Oi.maxPixelScroll;if(Se===We.startScrollingFrom)return ja;var St=Ka({startOfRange:We.maxScrollValueAt,endOfRange:We.startScrollingFrom,current:Se}),Ft=1-St,qt=Oi.maxPixelScroll*Oi.ease(Ft);return Math.ceil(qt)},ho=Oi.durationDampening.accelerateAt,Ca=Oi.durationDampening.stopDampeningAt,to=function(Se,We){var St=We,Ft=Ca,qt=Date.now(),ar=qt-St;if(ar>=Ca)return Se;if(ar<ho)return ja;var lr=Ka({startOfRange:ho,endOfRange:Ft,current:ar}),yr=Se*Oi.ease(lr);return Math.ceil(yr)},_o=function(Se){var We=Se.distanceToEdge,St=Se.thresholds,Ft=Se.dragStartTime,qt=Se.shouldUseTimeDampening,ar=qa(We,St);return ar===0?0:qt?Math.max(to(ar,Ft),ja):ar},La=function(Se){var We=Se.container,St=Se.distanceToEdges,Ft=Se.dragStartTime,qt=Se.axis,ar=Se.shouldUseTimeDampening,lr=So(We,qt),yr=St[qt.end]<St[qt.start];return yr?_o({distanceToEdge:St[qt.end],thresholds:lr,dragStartTime:Ft,shouldUseTimeDampening:ar}):-1*_o({distanceToEdge:St[qt.start],thresholds:lr,dragStartTime:Ft,shouldUseTimeDampening:ar})},ki=function(Se){var We=Se.container,St=Se.subject,Ft=Se.proposedScroll,qt=St.height>We.height,ar=St.width>We.width;return!ar&&!qt?Ft:ar&&qt?null:{x:ar?0:Ft.x,y:qt?0:Ft.y}},Za=ze(function(ct){return ct===0?0:ct}),Da=function(Se){var We=Se.dragStartTime,St=Se.container,Ft=Se.subject,qt=Se.center,ar=Se.shouldUseTimeDampening,lr={top:qt.y-St.top,right:St.right-qt.x,bottom:St.bottom-qt.y,left:qt.x-St.left},yr=La({container:St,distanceToEdges:lr,dragStartTime:We,axis:Ke,shouldUseTimeDampening:ar}),Vr=La({container:St,distanceToEdges:lr,dragStartTime:We,axis:ut,shouldUseTimeDampening:ar}),Xr=Za({x:Vr,y:yr});if(fe(Xr,pe))return null;var Br=ki({container:St,subject:Ft,proposedScroll:Xr});return Br?fe(Br,pe)?null:Br:null},pi=ze(function(ct){return ct===0?0:ct>0?1:-1}),Gi=function(){var ct=function(We,St){return We<0?We:We>St?We-St:0};return function(Se){var We=Se.current,St=Se.max,Ft=Se.change,qt=oe(We,Ft),ar={x:ct(qt.x,St.x),y:ct(qt.y,St.y)};return fe(ar,pe)?null:ar}}(),oo=function(Se){var We=Se.max,St=Se.current,Ft=Se.change,qt={x:Math.max(St.x,We.x),y:Math.max(St.y,We.y)},ar=pi(Ft),lr=Gi({max:qt,current:St,change:ar});return lr?ar.x!==0&&lr.x===0?!0:ar.y!==0&&lr.y===0:!0},go=function(Se,We){return oo({current:Se.scroll.current,max:Se.scroll.max,change:We})},fo=function(Se,We){if(!go(Se,We))return null;var St=Se.scroll.max,Ft=Se.scroll.current;return Gi({current:Ft,max:St,change:We})},Ta=function(Se,We){var St=Se.frame;return St?oo({current:St.scroll.current,max:St.scroll.max,change:We}):!1},Fi=function(Se,We){var St=Se.frame;return St&&Ta(Se,We)?Gi({current:St.scroll.current,max:St.scroll.max,change:We}):null},Ra=function(Se){var We=Se.viewport,St=Se.subject,Ft=Se.center,qt=Se.dragStartTime,ar=Se.shouldUseTimeDampening,lr=Da({dragStartTime:qt,container:We.frame,subject:St,center:Ft,shouldUseTimeDampening:ar});return lr&&go(We,lr)?lr:null},Vo=function(Se){var We=Se.droppable,St=Se.subject,Ft=Se.center,qt=Se.dragStartTime,ar=Se.shouldUseTimeDampening,lr=We.frame;if(!lr)return null;var yr=Da({dragStartTime:qt,container:lr.pageMarginBox,subject:St,center:Ft,shouldUseTimeDampening:ar});return yr&&Ta(We,yr)?yr:null},ro=function(Se){var We=Se.state,St=Se.dragStartTime,Ft=Se.shouldUseTimeDampening,qt=Se.scrollWindow,ar=Se.scrollDroppable,lr=We.current.page.borderBoxCenter,yr=We.dimensions.draggables[We.critical.draggable.id],Vr=yr.page.marginBox;if(We.isWindowScrollAllowed){var Xr=We.viewport,Br=Ra({dragStartTime:St,viewport:Xr,subject:Vr,center:lr,shouldUseTimeDampening:Ft});if(Br){qt(Br);return}}var Fr=pa({center:lr,destination:gn(We.impact),droppables:We.dimensions.droppables});if(!Fr)return;var Gr=Vo({dragStartTime:St,droppable:Fr,subject:Vr,center:lr,shouldUseTimeDampening:Ft});Gr&&ar(Fr.descriptor.id,Gr)},vo=function(Se){var We=Se.scrollWindow,St=Se.scrollDroppable,Ft=L(We),qt=L(St),ar=null,lr=function(Br){ar||ge(!1);var Fr=ar,Gr=Fr.shouldUseTimeDampening,dn=Fr.dragStartTime;ro({state:Br,scrollWindow:Ft,scrollDroppable:qt,dragStartTime:dn,shouldUseTimeDampening:Gr})},yr=function(Br){Wi(),ar&&ge(!1);var Fr=Date.now(),Gr=!1,dn=function(){Gr=!0};ro({state:Br,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:dn,scrollDroppable:dn}),ar={dragStartTime:Fr,shouldUseTimeDampening:Gr},Co(),Gr&&lr(Br)},Vr=function(){if(!ar)return;Ft.cancel(),qt.cancel(),ar=null};return{start:yr,stop:Vr,scroll:lr}},po=function(Se){var We=Se.move,St=Se.scrollDroppable,Ft=Se.scrollWindow,qt=function(Xr,Br){var Fr=oe(Xr.current.client.selection,Br);We({client:Fr})},ar=function(Xr,Br){if(!Ta(Xr,Br))return Br;var Fr=Fi(Xr,Br);if(!Fr)return St(Xr.descriptor.id,Br),null;var Gr=Ie(Br,Fr);St(Xr.descriptor.id,Gr);var dn=Ie(Br,Gr);return dn},lr=function(Xr,Br,Fr){if(!Xr)return Fr;if(!go(Br,Fr))return Fr;var Gr=fo(Br,Fr);if(!Gr)return Ft(Fr),null;var dn=Ie(Fr,Gr);Ft(dn);var pn=Ie(Fr,dn);return pn},yr=function(Xr){var Br=Xr.scrollJumpRequest;if(!Br)return;var Fr=gn(Xr.impact);Fr||ge(!1);var Gr=ar(Xr.dimensions.droppables[Fr],Br);if(!Gr)return;var dn=Xr.viewport,pn=lr(Xr.isWindowScrollAllowed,dn,Gr);if(!pn)return;qt(Xr,pn)};return yr},Ji=function(Se){var We=Se.scrollDroppable,St=Se.scrollWindow,Ft=Se.move,qt=vo({scrollWindow:St,scrollDroppable:We}),ar=po({move:Ft,scrollWindow:St,scrollDroppable:We}),lr=function(Xr){if(Xr.phase!=="DRAGGING")return;if(Xr.movementMode==="FLUID"){qt.scroll(Xr);return}if(!Xr.scrollJumpRequest)return;ar(Xr)},yr={scroll:lr,start:qt.start,stop:qt.stop};return yr},xo="data-rbd",is=function(){var ct=xo+"-drag-handle";return{base:ct,draggableId:ct+"-draggable-id",contextId:ct+"-context-id"}}(),Zo=function(){var ct=xo+"-draggable";return{base:ct,contextId:ct+"-context-id",id:ct+"-id"}}(),Is=function(){var ct=xo+"-droppable";return{base:ct,contextId:ct+"-context-id",id:ct+"-id"}}(),Cs={contextId:xo+"-scroll-container-context-id"},Ts=function(Se){return function(We){return"["+We+'="'+Se+'"]'}},Go=function(Se,We){return Se.map(function(St){var Ft=St.styles[We];return Ft?St.selector+" { "+Ft+" }":""}).join(" ")},bo="pointer-events: none;",Ja=function(Se){var We=Ts(Se),St=function(){var yr=`
cursor: -webkit-grab;
cursor: grab;
`;return{selector:We(is.contextId),styles:{always:`
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
touch-action: manipulation;
`,resting:yr,dragging:bo,dropAnimating:yr}}}(),Ft=function(){var yr=`
transition: `+Mn.outOfTheWay+`;
`;return{selector:We(Zo.contextId),styles:{dragging:yr,dropAnimating:yr,userCancel:yr}}}(),qt={selector:We(Is.contextId),styles:{always:"overflow-anchor: none;"}},ar={selector:"body",styles:{dragging:`
cursor: grabbing;
cursor: -webkit-grabbing;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
overflow-anchor: none;
`}},lr=[Ft,St,qt,ar];return{always:Go(lr,"always"),resting:Go(lr,"resting"),dragging:Go(lr,"dragging"),dropAnimating:Go(lr,"dropAnimating"),userCancel:Go(lr,"userCancel")}},Ga=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?g.useLayoutEffect:g.useEffect,so=function(){var Se=document.querySelector("head");return Se||ge(!1),Se},ps=function(Se){var We=document.createElement("style");return Se&&We.setAttribute("nonce",Se),We.type="text/css",We};function Sr(ct,Se){var We=r(function(){return Ja(ct)},[ct]),St=Object(g.useRef)(null),Ft=Object(g.useRef)(null),qt=o(S(function(Br){var Fr=Ft.current;Fr||ge(!1),Fr.textContent=Br}),[]),ar=o(function(Br){var Fr=St.current;Fr||ge(!1),Fr.textContent=Br},[]);Ga(function(){!St.current&&!Ft.current||ge(!1);var Br=ps(Se),Fr=ps(Se);return St.current=Br,Ft.current=Fr,Br.setAttribute(xo+"-always",ct),Fr.setAttribute(xo+"-dynamic",ct),so().appendChild(Br),so().appendChild(Fr),ar(We.always),qt(We.resting),function(){var Gr=function(pn){var ei=pn.current;ei||ge(!1),so().removeChild(ei),pn.current=null};Gr(St),Gr(Ft)}},[Se,ar,qt,We.always,We.resting,ct]);var lr=o(function(){return qt(We.dragging)},[qt,We.dragging]),yr=o(function(Br){if(Br==="DROP"){qt(We.dropAnimating);return}qt(We.userCancel)},[qt,We.dropAnimating,We.userCancel]),Vr=o(function(){if(!Ft.current)return;qt(We.resting)},[qt,We.resting]),Xr=r(function(){return{dragging:lr,dropping:yr,resting:Vr}},[lr,yr,Vr]);return Xr}var Xo=function(Se){return Se&&Se.ownerDocument?Se.ownerDocument.defaultView:window};function ss(ct){return ct instanceof Xo(ct).HTMLElement}function _s(ct,Se){var We="["+is.contextId+'="'+ct+'"]',St=Ze(document.querySelectorAll(We));if(!St.length)return null;var Ft=lt(St,function(qt){return qt.getAttribute(is.draggableId)===Se});return Ft&&ss(Ft)?Ft:null}function ka(ct){var Se=Object(g.useRef)({}),We=Object(g.useRef)(null),St=Object(g.useRef)(null),Ft=Object(g.useRef)(!1),qt=o(function(Fr,Gr){var dn={id:Fr,focus:Gr};return Se.current[Fr]=dn,function(){var ei=Se.current,ui=ei[Fr];ui!==dn&&delete ei[Fr]}},[]),ar=o(function(Fr){var Gr=_s(ct,Fr);Gr&&Gr!==document.activeElement&&Gr.focus()},[ct]),lr=o(function(Fr,Gr){We.current===Fr&&(We.current=Gr)},[]),yr=o(function(){if(St.current)return;if(!Ft.current)return;St.current=requestAnimationFrame(function(){St.current=null;var Fr=We.current;Fr&&ar(Fr)})},[ar]),Vr=o(function(Fr){We.current=null;var Gr=document.activeElement;if(!Gr)return;if(Gr.getAttribute(is.draggableId)!==Fr)return;We.current=Fr},[]);Ga(function(){return Ft.current=!0,function(){Ft.current=!1;var Fr=St.current;Fr&&cancelAnimationFrame(Fr)}},[]);var Xr=r(function(){return{register:qt,tryRecordFocus:Vr,tryRestoreFocusRecorded:yr,tryShiftRecord:lr}},[qt,Vr,yr,lr]);return Xr}function _a(){var ct={draggables:{},droppables:{}},Se=[];function We(Br){return Se.push(Br),function(){var Gr=Se.indexOf(Br);if(Gr===-1)return;Se.splice(Gr,1)}}function St(Br){Se.length&&Se.forEach(function(Fr){return Fr(Br)})}function Ft(Br){return ct.draggables[Br]||null}function qt(Br){var Fr=Ft(Br);return Fr||ge(!1),Fr}var ar={register:function(Fr){ct.draggables[Fr.descriptor.id]=Fr,St({type:"ADDITION",value:Fr})},update:function(Fr,Gr){var dn=ct.draggables[Gr.descriptor.id];if(!dn)return;if(dn.uniqueId!==Fr.uniqueId)return;delete ct.draggables[Gr.descriptor.id],ct.draggables[Fr.descriptor.id]=Fr},unregister:function(Fr){var Gr=Fr.descriptor.id,dn=Ft(Gr);if(!dn)return;if(Fr.uniqueId!==dn.uniqueId)return;delete ct.draggables[Gr],St({type:"REMOVAL",value:Fr})},getById:qt,findById:Ft,exists:function(Fr){return Boolean(Ft(Fr))},getAllByType:function(Fr){return ue(ct.draggables).filter(function(Gr){return Gr.descriptor.type===Fr})}};function lr(Br){return ct.droppables[Br]||null}function yr(Br){var Fr=lr(Br);return Fr||ge(!1),Fr}var Vr={register:function(Fr){ct.droppables[Fr.descriptor.id]=Fr},unregister:function(Fr){var Gr=lr(Fr.descriptor.id);if(!Gr)return;if(Fr.uniqueId!==Gr.uniqueId)return;delete ct.droppables[Fr.descriptor.id]},getById:yr,findById:lr,exists:function(Fr){return Boolean(lr(Fr))},getAllByType:function(Fr){return ue(ct.droppables).filter(function(Gr){return Gr.descriptor.type===Fr})}};function Xr(){ct.draggables={},ct.droppables={},Se.length=0}return{draggable:ar,droppable:Vr,subscribe:We,clean:Xr}}function Oo(){var ct=r(_a,[]);return Object(g.useEffect)(function(){return function(){requestAnimationFrame(ct.clean)}},[ct]),ct}var Lo=f.a.createContext(null),ts=function(){var Se=document.body;return Se||ge(!1),Se},Bo={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},rs=function(Se){return"rbd-announcement-"+Se};function ms(ct){var Se=r(function(){return rs(ct)},[ct]),We=Object(g.useRef)(null);Object(g.useEffect)(function(){var qt=document.createElement("div");return We.current=qt,qt.id=Se,qt.setAttribute("aria-live","assertive"),qt.setAttribute("aria-atomic","true"),Object(m.a)(qt.style,Bo),ts().appendChild(qt),function(){setTimeout(function(){var yr=ts();yr.contains(qt)&&yr.removeChild(qt),qt===We.current&&(We.current=null)})}},[Se]);var St=o(function(Ft){var qt=We.current;if(qt){qt.textContent=Ft;return}},[]);return St}var ls=0,Ns={separator:"::"};function Ds(){ls=0}function as(ct,Se){return Se===void 0&&(Se=Ns),r(function(){return""+ct+Se.separator+ls++},[Se.separator,ct])}function $s(ct){var Se=ct.contextId,We=ct.uniqueId;return"rbd-hidden-text-"+Se+"-"+We}function us(ct){var Se=ct.contextId,We=ct.text,St=as("hidden-text",{separator:"-"}),Ft=r(function(){return $s({contextId:Se,uniqueId:St})},[St,Se]);return Object(g.useEffect)(function(){var ar=document.createElement("div");return ar.id=Ft,ar.textContent=We,ar.style.display="none",ts().appendChild(ar),function(){var yr=ts();yr.contains(ar)&&yr.removeChild(ar)}},[Ft,We]),Ft}var Mo=f.a.createContext(null),Dn={react:"^16.8.5","react-dom":"^16.8.5"},Vs=/(\d+)\.(\d+)\.(\d+)/,Os=function(Se){var We=Vs.exec(Se);We!=null||ge(!1);var St=Number(We[1]),Ft=Number(We[2]),qt=Number(We[3]);return{major:St,minor:Ft,patch:qt,raw:Se}},Pt=function(Se,We){return We.major>Se.major?!0:We.major<Se.major?!1:We.minor>Se.minor?!0:We.minor<Se.minor?!1:We.patch>=Se.patch},me=function(Se,We){var St=Os(Se),Ft=Os(We);if(Pt(St,Ft))return},Le=`
We expect a html5 doctype: <!doctype html>
This is to ensure consistent browser layout and measurement
More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md
`,Ne=function(Se){var We=Se.doctype;if(!We)return;We.name.toLowerCase()!=="html",We.publicId!==""};function Qe(ct){}function Ct(ct,Se){Qe(function(){Object(g.useEffect)(function(){try{ct()}catch(We){K(`
A setup problem was encountered.
> `+We.message+`
`)}},Se)})}function Ut(){Ct(function(){me(Dn.react,f.a.version),Ne(document)},[])}function hr(ct){var Se=Object(g.useRef)(ct);return Object(g.useEffect)(function(){Se.current=ct}),Se}function gr(){var ct=null;function Se(){return Boolean(ct)}function We(ar){return ar===ct}function St(ar){ct&&ge(!1);var lr={abandon:ar};return ct=lr,lr}function Ft(){ct||ge(!1),ct=null}function qt(){ct&&(ct.abandon(),Ft())}return{isClaimed:Se,isActive:We,claim:St,release:Ft,tryAbandon:qt}}var Rr=9,$r=13,ln=27,yn=32,Cn=33,Qn=34,ti=35,wi=36,ea=37,ji=38,Sa=39,lo=40,Wa,yo=(Wa={},Wa[$r]=!0,Wa[Rr]=!0,Wa),Ao=function(Se){yo[Se.keyCode]&&Se.preventDefault()},$a=function(){var ct="visibilitychange";if(typeof document=="undefined")return ct;var Se=[ct,"ms"+ct,"webkit"+ct,"moz"+ct,"o"+ct],We=lt(Se,function(St){return"on"+St in document});return We||ct}(),ko=0,No=5;function Ha(ct,Se){return Math.abs(Se.x-ct.x)>=No||Math.abs(Se.y-ct.y)>=No}var jo={type:"IDLE"};function Fo(ct){var Se=ct.cancel,We=ct.completed,St=ct.getPhase,Ft=ct.setPhase;return[{eventName:"mousemove",fn:function(ar){var lr=ar.button,yr=ar.clientX,Vr=ar.clientY;if(lr!==ko)return;var Xr={x:yr,y:Vr},Br=St();if(Br.type==="DRAGGING"){ar.preventDefault(),Br.actions.move(Xr);return}Br.type==="PENDING"||ge(!1);var Fr=Br.point;if(!Ha(Fr,Xr))return;ar.preventDefault();var Gr=Br.actions.fluidLift(Xr);Ft({type:"DRAGGING",actions:Gr})}},{eventName:"mouseup",fn:function(ar){var lr=St();if(lr.type!=="DRAGGING"){Se();return}ar.preventDefault(),lr.actions.drop({shouldBlockNextClick:!0}),We()}},{eventName:"mousedown",fn:function(ar){St().type==="DRAGGING"&&ar.preventDefault(),Se()}},{eventName:"keydown",fn:function(ar){var lr=St();if(lr.type==="PENDING"){Se();return}if(ar.keyCode===ln){ar.preventDefault(),Se();return}Ao(ar)}},{eventName:"resize",fn:Se},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){St().type==="PENDING"&&Se()}},{eventName:"webkitmouseforcedown",fn:function(ar){var lr=St();if(lr.type!=="IDLE"||ge(!1),lr.actions.shouldRespectForcePress()){Se();return}ar.preventDefault()}},{eventName:$a,fn:Se}]}function Qo(ct){var Se=Object(g.useRef)(jo),We=Object(g.useRef)(Y),St=r(function(){return{eventName:"mousedown",fn:function(Br){if(Br.defaultPrevented)return;if(Br.button!==ko)return;if(Br.ctrlKey||Br.metaKey||Br.shiftKey||Br.altKey)return;var Fr=ct.findClosestDraggableId(Br);if(!Fr)return;var Gr=ct.tryGetLock(Fr,ar,{sourceEvent:Br});if(!Gr)return;Br.preventDefault();var dn={x:Br.clientX,y:Br.clientY};We.current(),Vr(Gr,dn)}}},[ct]),Ft=r(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Br){if(Br.defaultPrevented)return;var Fr=ct.findClosestDraggableId(Br);if(!Fr)return;var Gr=ct.findOptionsForDraggable(Fr);if(!Gr)return;if(Gr.shouldRespectForcePress)return;if(!ct.canGetLock(Fr))return;Br.preventDefault()}}},[ct]),qt=o(function(){var Br={passive:!1,capture:!0};We.current=he(window,[Ft,St],Br)},[Ft,St]),ar=o(function(){var Xr=Se.current;if(Xr.type==="IDLE")return;Se.current=jo,We.current(),qt()},[qt]),lr=o(function(){var Xr=Se.current;ar(),Xr.type==="DRAGGING"&&Xr.actions.cancel({shouldBlockNextClick:!0}),Xr.type==="PENDING"&&Xr.actions.abort()},[ar]),yr=o(function(){var Br={capture:!0,passive:!1},Fr=Fo({cancel:lr,completed:ar,getPhase:function(){return Se.current},setPhase:function(dn){Se.current=dn}});We.current=he(window,Fr,Br)},[lr,ar]),Vr=o(function(Br,Fr){Se.current.type==="IDLE"||ge(!1),Se.current={type:"PENDING",point:Fr,actions:Br},yr()},[yr]);Ga(function(){return qt(),function(){We.current()}},[qt])}var wo;function cs(){}var ns=(wo={},wo[Qn]=!0,wo[Cn]=!0,wo[wi]=!0,wo[ti]=!0,wo);function Xs(ct,Se){function We(){Se(),ct.cancel()}function St(){Se(),ct.drop()}return[{eventName:"keydown",fn:function(qt){if(qt.keyCode===ln){qt.preventDefault(),We();return}if(qt.keyCode===yn){qt.preventDefault(),St();return}if(qt.keyCode===lo){qt.preventDefault(),ct.moveDown();return}if(qt.keyCode===ji){qt.preventDefault(),ct.moveUp();return}if(qt.keyCode===Sa){qt.preventDefault(),ct.moveRight();return}if(qt.keyCode===ea){qt.preventDefault(),ct.moveLeft();return}if(ns[qt.keyCode]){qt.preventDefault();return}Ao(qt)}},{eventName:"mousedown",fn:We},{eventName:"mouseup",fn:We},{eventName:"click",fn:We},{eventName:"touchstart",fn:We},{eventName:"resize",fn:We},{eventName:"wheel",fn:We,options:{passive:!0}},{eventName:$a,fn:We}]}function Ys(ct){var Se=Object(g.useRef)(cs),We=r(function(){return{eventName:"keydown",fn:function(qt){if(qt.defaultPrevented)return;if(qt.keyCode!==yn)return;var ar=ct.findClosestDraggableId(qt);if(!ar)return;var lr=ct.tryGetLock(ar,Xr,{sourceEvent:qt});if(!lr)return;qt.preventDefault();var yr=!0,Vr=lr.snapLift();Se.current();function Xr(){yr||ge(!1),yr=!1,Se.current(),St()}Se.current=he(window,Xs(Vr,Xr),{capture:!0,passive:!1})}}},[ct]),St=o(function(){var qt={passive:!1,capture:!0};Se.current=he(window,[We],qt)},[We]);Ga(function(){return St(),function(){Se.current()}},[St])}var Yo={type:"IDLE"},Eo=120,ds=.15;function hs(ct){var Se=ct.cancel,We=ct.getPhase;return[{eventName:"orientationchange",fn:Se},{eventName:"resize",fn:Se},{eventName:"contextmenu",fn:function(Ft){Ft.preventDefault()}},{eventName:"keydown",fn:function(Ft){if(We().type!=="DRAGGING"){Se();return}Ft.keyCode===ln&&Ft.preventDefault(),Se()}},{eventName:$a,fn:Se}]}function Rs(ct){var Se=ct.cancel,We=ct.completed,St=ct.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(qt){var ar=St();if(ar.type!=="DRAGGING"){Se();return}ar.hasMoved=!0;var lr=qt.touches[0],yr=lr.clientX,Vr=lr.clientY,Xr={x:yr,y:Vr};qt.preventDefault(),ar.actions.move(Xr)}},{eventName:"touchend",fn:function(qt){var ar=St();if(ar.type!=="DRAGGING"){Se();return}qt.preventDefault(),ar.actions.drop({shouldBlockNextClick:!0}),We()}},{eventName:"touchcancel",fn:function(qt){if(St().type!=="DRAGGING"){Se();return}qt.preventDefault(),Se()}},{eventName:"touchforcechange",fn:function(qt){var ar=St();ar.type!=="IDLE"||ge(!1);var lr=qt.touches[0];if(!lr)return;var yr=lr.force>=ds;if(!yr)return;var Vr=ar.actions.shouldRespectForcePress();if(ar.type==="PENDING"){Vr&&Se();return}if(Vr){if(ar.hasMoved){qt.preventDefault();return}Se();return}qt.preventDefault()}},{eventName:$a,fn:Se}]}function Do(ct){var Se=Object(g.useRef)(Yo),We=Object(g.useRef)(Y),St=o(function(){return Se.current},[]),Ft=o(function(Gr){Se.current=Gr},[]),qt=r(function(){return{eventName:"touchstart",fn:function(Gr){if(Gr.defaultPrevented)return;var dn=ct.findClosestDraggableId(Gr);if(!dn)return;var pn=ct.tryGetLock(dn,lr,{sourceEvent:Gr});if(!pn)return;var ei=Gr.touches[0],ui=ei.clientX,ii=ei.clientY,Zi={x:ui,y:ii};We.current(),Br(pn,Zi)}}},[ct]),ar=o(function(){var Gr={capture:!0,passive:!1};We.current=he(window,[qt],Gr)},[qt]),lr=o(function(){var Fr=Se.current;if(Fr.type==="IDLE")return;Fr.type==="PENDING"&&clearTimeout(Fr.longPressTimerId),Ft(Yo),We.current(),ar()},[ar,Ft]),yr=o(function(){var Fr=Se.current;lr(),Fr.type==="DRAGGING"&&Fr.actions.cancel({shouldBlockNextClick:!0}),Fr.type==="PENDING"&&Fr.actions.abort()},[lr]),Vr=o(function(){var Gr={capture:!0,passive:!1},dn={cancel:yr,completed:lr,getPhase:St},pn=he(window,Rs(dn),Gr),ei=he(window,hs(dn),Gr);We.current=function(){pn(),ei()}},[yr,St,lr]),Xr=o(function(){var Gr=St();Gr.type==="PENDING"||ge(!1);var dn=Gr.actions.fluidLift(Gr.point);Ft({type:"DRAGGING",actions:dn,hasMoved:!1})},[St,Ft]),Br=o(function(Gr,dn){St().type==="IDLE"||ge(!1);var pn=setTimeout(Xr,Eo);Ft({type:"PENDING",point:dn,actions:Gr,longPressTimerId:pn}),Vr()},[Vr,St,Ft,Xr]);Ga(function(){return ar(),function(){We.current();var dn=St();dn.type==="PENDING"&&(clearTimeout(dn.longPressTimerId),Ft(Yo))}},[St,ar,Ft]),Ga(function(){var Gr=he(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Gr},[])}function ys(ct){Qe(function(){var Se=hr(ct);Ct(function(){Se.current.length===ct.length||ge(!1)})})}var Ms={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function As(ct,Se){if(Se==null)return!1;var We=Boolean(Ms[Se.tagName.toLowerCase()]);if(We)return!0;var St=Se.getAttribute("contenteditable");return St==="true"||St===""?!0:Se===ct?!1:As(ct,Se.parentElement)}function ks(ct,Se){var We=Se.target;return ss(We)?As(ct,We):!1}var Hs=function(Se){return n(Se.getBoundingClientRect()).center};function bs(ct){return ct instanceof Xo(ct).Element}var ca=function(){var ct="matches";if(typeof document=="undefined")return ct;var Se=[ct,"msMatchesSelector","webkitMatchesSelector"],We=lt(Se,function(St){return St in Element.prototype});return We||ct}();function ci(ct,Se){return ct==null?null:ct[ca](Se)?ct:ci(ct.parentElement,Se)}function Bi(ct,Se){return ct.closest?ct.closest(Se):ci(ct,Se)}function Wn(ct){return"["+is.contextId+'="'+ct+'"]'}function io(ct,Se){var We=Se.target;if(!bs(We))return null;var St=Wn(ct),Ft=Bi(We,St);return Ft&&ss(Ft)?Ft:null}function qo(ct,Se){var We=io(ct,Se);return We?We.getAttribute(is.draggableId):null}function gs(ct,Se){var We="["+Zo.contextId+'="'+ct+'"]',St=Ze(document.querySelectorAll(We)),Ft=lt(St,function(qt){return qt.getAttribute(Zo.id)===Se});return Ft&&ss(Ft)?Ft:null}function os(ct){ct.preventDefault()}function Jo(ct){var Se=ct.expected,We=ct.phase,St=ct.isLockActive,Ft=ct.shouldWarn;return St()?!(Se!==We):!1}function $o(ct){var Se=ct.lockAPI,We=ct.store,St=ct.registry,Ft=ct.draggableId;if(Se.isClaimed())return!1;var qt=St.draggable.findById(Ft);return qt&&qt.options.isEnabled?!!wa(We.getState(),Ft):!1}function ws(ct){var Se=ct.lockAPI,We=ct.contextId,St=ct.store,Ft=ct.registry,qt=ct.draggableId,ar=ct.forceSensorStop,lr=ct.sourceEvent,yr=$o({lockAPI:Se,store:St,registry:Ft,draggableId:qt});if(!yr)return null;var Vr=Ft.draggable.getById(qt),Xr=gs(We,Vr.descriptor.id);if(!Xr)return null;if(lr&&!Vr.options.canDragInteractiveElements&&ks(Xr,lr))return null;var Br=Se.claim(ar||Y),Fr="PRE_DRAG";function Gr(){return Vr.options.shouldRespectForcePress}function dn(){return Se.isActive(Br)}function pn(Ei,uo){Jo({expected:Ei,phase:Fr,isLockActive:dn,shouldWarn:!0})&&St.dispatch(uo())}var ei=pn.bind(null,"DRAGGING");function ui(Ei){function uo(){Se.release(),Fr="COMPLETED"}Fr!=="PRE_DRAG"&&(uo(),Fr==="PRE_DRAG"||ge(!1)),St.dispatch(rr(Ei.liftActionArgs)),Fr="DRAGGING";function zo(ao,Uo){if(Uo===void 0&&(Uo={shouldBlockNextClick:!1}),Ei.cleanup(),Uo.shouldBlockNextClick){var D=he(window,[{eventName:"click",fn:os,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(D)}uo(),St.dispatch(Vt({reason:ao}))}return Object(m.a)({isActive:function(){return Jo({expected:"DRAGGING",phase:Fr,isLockActive:dn,shouldWarn:!1})},shouldRespectForcePress:Gr,drop:function(Uo){return zo("DROP",Uo)},cancel:function(Uo){return zo("CANCEL",Uo)}},Ei.actions)}function ii(Ei){var uo=L(function(ao){ei(function(){return Zt({client:ao})})}),zo=ui({liftActionArgs:{id:qt,clientSelection:Ei,movementMode:"FLUID"},cleanup:function(){return uo.cancel()},actions:{move:uo}});return Object(m.a)({},zo,{move:uo})}function Zi(){var Ei={moveUp:function(){return ei(wr)},moveRight:function(){return ei(Kr)},moveDown:function(){return ei(Er)},moveLeft:function(){return ei(Zr)}};return ui({liftActionArgs:{id:qt,clientSelection:Hs(Xr),movementMode:"SNAP"},cleanup:Y,actions:Ei})}function Si(){var Ei=Jo({expected:"PRE_DRAG",phase:Fr,isLockActive:dn,shouldWarn:!0});Ei&&Se.release()}var Va={isActive:function(){return Jo({expected:"PRE_DRAG",phase:Fr,isLockActive:dn,shouldWarn:!1})},shouldRespectForcePress:Gr,fluidLift:ii,snapLift:Zi,abort:Si};return Va}var Ho=[Qo,Ys,Do];function ll(ct){var Se=ct.contextId,We=ct.store,St=ct.registry,Ft=ct.customSensors,qt=ct.enableDefaultSensors,ar=[].concat(qt?Ho:[],Ft||[]),lr=Object(g.useState)(function(){return gr()})[0],yr=o(function(ii,Zi){ii.isDragging&&!Zi.isDragging&&lr.tryAbandon()},[lr]);Ga(function(){var ii=We.getState(),Zi=We.subscribe(function(){var Si=We.getState();yr(ii,Si),ii=Si});return Zi},[lr,We,yr]),Ga(function(){return lr.tryAbandon},[lr.tryAbandon]);var Vr=o(function(ui){return $o({lockAPI:lr,registry:St,store:We,draggableId:ui})},[lr,St,We]),Xr=o(function(ui,ii,Zi){return ws({lockAPI:lr,registry:St,contextId:Se,store:We,draggableId:ui,forceSensorStop:ii,sourceEvent:Zi&&Zi.sourceEvent?Zi.sourceEvent:null})},[Se,lr,St,We]),Br=o(function(ui){return qo(Se,ui)},[Se]),Fr=o(function(ui){var ii=St.draggable.findById(ui);return ii?ii.options:null},[St.draggable]),Gr=o(function(){if(!lr.isClaimed())return;lr.tryAbandon(),We.getState().phase!=="IDLE"&&We.dispatch(Jr())},[lr,We]),dn=o(lr.isClaimed,[lr]),pn=r(function(){return{canGetLock:Vr,tryGetLock:Xr,findClosestDraggableId:Br,findOptionsForDraggable:Fr,tryReleaseLock:Gr,isLockClaimed:dn}},[Vr,Xr,Br,Fr,Gr,dn]);ys(ar);for(var ei=0;ei<ar.length;ei++)ar[ei](pn)}var jl=function(Se){return{onBeforeCapture:Se.onBeforeCapture,onBeforeDragStart:Se.onBeforeDragStart,onDragStart:Se.onDragStart,onDragEnd:Se.onDragEnd,onDragUpdate:Se.onDragUpdate}};function ul(ct){return ct.current||ge(!1),ct.current}function Nl(ct){var Se=ct.contextId,We=ct.setCallbacks,St=ct.sensors,Ft=ct.nonce,qt=ct.dragHandleUsageInstructions,ar=Object(g.useRef)(null);Ut();var lr=hr(ct),yr=o(function(){return jl(lr.current)},[lr]),Vr=ms(Se),Xr=us({contextId:Se,text:qt}),Br=Sr(Se,Ft),Fr=o(function(ao){ul(ar).dispatch(ao)},[]),Gr=r(function(){return Object(y.b)({publishWhileDragging:Pr,updateDroppableScroll:hn,updateDroppableIsEnabled:it,updateDroppableIsCombineEnabled:jt,collectionStarting:Wr},Fr)},[Fr]),dn=Oo(),pn=r(function(){return Ua(dn,Gr)},[dn,Gr]),ei=r(function(){return Ji(Object(m.a)({scrollWindow:vi,scrollDroppable:pn.scrollDroppable},Object(y.b)({move:Zt},Fr)))},[pn.scrollDroppable,Fr]),ui=ka(Se),ii=r(function(){return gi({announce:Vr,autoScroller:ei,dimensionMarshal:pn,focusMarshal:ui,getResponders:yr,styleMarshal:Br})},[Vr,ei,pn,ui,yr,Br]);ar.current=ii;var Zi=o(function(){var ao=ul(ar),Uo=ao.getState();Uo.phase!=="IDLE"&&ao.dispatch(Jr())},[]),Si=o(function(){var ao=ul(ar).getState();return ao.isDragging||ao.phase==="DROP_ANIMATING"},[]),Va=r(function(){return{isDragging:Si,tryAbort:Zi}},[Si,Zi]);We(Va);var Ei=o(function(ao){return wa(ul(ar).getState(),ao)},[]),uo=o(function(){return qn(ul(ar).getState())},[]),zo=r(function(){return{marshal:pn,focus:ui,contextId:Se,canLift:Ei,isMovementAllowed:uo,dragHandleUsageInstructionsId:Xr,registry:dn}},[Se,pn,Xr,ui,Ei,uo,dn]);return ll({contextId:Se,store:ii,registry:dn,customSensors:St,enableDefaultSensors:ct.enableDefaultSensors!==!1}),Object(g.useEffect)(function(){return Zi},[Zi]),f.a.createElement(Mo.Provider,{value:zo},f.a.createElement(h.a,{context:Lo,store:ii},ct.children))}var Ls=0;function Gs(){Ls=0}function el(){return r(function(){return""+Ls++},[])}function Hl(){Gs(),Ds()}function zl(ct){var Se=el(),We=ct.dragHandleUsageInstructions||Z.dragHandleUsageInstructions;return f.a.createElement(Pe,null,function(St){return f.a.createElement(Nl,{nonce:ct.nonce,contextId:Se,setCallbacks:St,dragHandleUsageInstructions:We,enableDefaultSensors:ct.enableDefaultSensors,sensors:ct.sensors,onBeforeCapture:ct.onBeforeCapture,onBeforeDragStart:ct.onBeforeDragStart,onDragStart:ct.onDragStart,onDragUpdate:ct.onDragUpdate,onDragEnd:ct.onDragEnd},ct.children)})}var Dl=function(Se){return function(We){return Se===We}},nu=Dl("scroll"),iu=Dl("auto"),es=Dl("visible"),tl=function(Se,We){return We(Se.overflowX)||We(Se.overflowY)},au=function(Se,We){return We(Se.overflowX)&&We(Se.overflowY)},Rl=function(Se){var We=window.getComputedStyle(Se),St={overflowX:We.overflowX,overflowY:We.overflowY};return tl(St,nu)||tl(St,iu)},Ml=function(){return!1;var Se,We;if(!Rl(Se))return!1;var St,Ft;if(au(Ft,es))return!1},bl=function ct(Se){return Se==null?null:Se===document.body?Ml()?Se:null:Se===document.documentElement?null:Rl(Se)?Se:ct(Se.parentElement)},Kl=function(Se){if(!Se)return;var We=bl(Se.parentElement);if(!We)return},cl=function(Se){return{x:Se.scrollLeft,y:Se.scrollTop}},Wl=function ct(Se){if(!Se)return!1;var We=window.getComputedStyle(Se);return We.position==="fixed"?!0:ct(Se.parentElement)},ou=function(Se){var We=bl(Se),St=Wl(Se);return{closestScrollable:We,isFixedOnPage:St}},su=function(Se){var We=Se.descriptor,St=Se.isEnabled,Ft=Se.isCombineEnabled,qt=Se.isFixedOnPage,ar=Se.direction,lr=Se.client,yr=Se.page,Vr=Se.closest,Xr=function(){if(!Vr)return null;var dn=Vr.scrollSize,pn=Vr.client,ei=ra({scrollHeight:dn.scrollHeight,scrollWidth:dn.scrollWidth,height:pn.paddingBox.height,width:pn.paddingBox.width});return{pageMarginBox:Vr.page.marginBox,frameClient:pn,scrollSize:dn,shouldClipSubject:Vr.shouldClipSubject,scroll:{initial:Vr.scroll,current:Vr.scroll,max:ei,diff:{value:pe,displacement:pe}}}}(),Br=ar==="vertical"?Ke:ut,Fr=et({page:yr,withPlaceholder:null,axis:Br,frame:Xr}),Gr={descriptor:We,isCombineEnabled:Ft,isFixedOnPage:qt,axis:Br,isEnabled:St,client:lr,page:yr,frame:Xr,subject:Fr};return Gr},Fs=function(Se,We){var St=T(Se);if(!We)return St;if(Se!==We)return St;var Ft=St.paddingBox.top-We.scrollTop,qt=St.paddingBox.left-We.scrollLeft,ar=Ft+We.scrollHeight,lr=qt+We.scrollWidth,yr={top:Ft,right:lr,bottom:ar,left:qt},Vr=l(yr,St.border),Xr=p({borderBox:Vr,margin:St.margin,border:St.border,padding:St.padding});return Xr},rl=function(Se){var We=Se.ref,St=Se.descriptor,Ft=Se.env,qt=Se.windowScroll,ar=Se.direction,lr=Se.isDropDisabled,yr=Se.isCombineEnabled,Vr=Se.shouldClipSubject,Xr=Ft.closestScrollable,Br=Fs(We,Xr),Fr=x(Br,qt),Gr=function(){if(!Xr)return null;var pn=T(Xr),ei={scrollHeight:Xr.scrollHeight,scrollWidth:Xr.scrollWidth};return{client:pn,page:x(pn,qt),scroll:cl(Xr),scrollSize:ei,shouldClipSubject:Vr}}(),dn=su({descriptor:St,isEnabled:!lr,isCombineEnabled:yr,isFixedOnPage:Ft.isFixedOnPage,direction:ar,client:Br,page:Fr,closest:Gr});return dn},wl={passive:!1},dl={passive:!0},Ss=function(Se){return Se.shouldPublishImmediately?wl:dl};function zs(ct){var Se=Object(g.useContext)(ct);return Se||ge(!1),Se}var nl=function(Se){return Se&&Se.env.closestScrollable||null};function Ps(ct){var Se=Object(g.useRef)(null),We=zs(Mo),St=as("droppable"),Ft=We.registry,qt=We.marshal,ar=hr(ct),lr=r(function(){return{id:ct.droppableId,type:ct.type,mode:ct.mode}},[ct.droppableId,ct.mode,ct.type]),yr=Object(g.useRef)(lr),Vr=r(function(){return S(function(Si,Va){Se.current||ge(!1);var Ei={x:Si,y:Va};qt.updateDroppableScroll(lr.id,Ei)})},[lr.id,qt]),Xr=o(function(){var Si=Se.current;return!Si||!Si.env.closestScrollable?pe:cl(Si.env.closestScrollable)},[]),Br=o(function(){var Si=Xr();Vr(Si.x,Si.y)},[Xr,Vr]),Fr=r(function(){return L(Br)},[Br]),Gr=o(function(){var Si=Se.current,Va=nl(Si);Si&&Va||ge(!1);var Ei=Si.scrollOptions;if(Ei.shouldPublishImmediately){Br();return}Fr()},[Fr,Br]),dn=o(function(Si,Va){Se.current&&ge(!1);var Ei=ar.current,uo=Ei.getDroppableRef();uo||ge(!1);var zo=ou(uo),ao={ref:uo,descriptor:lr,env:zo,scrollOptions:Va};Se.current=ao;var Uo=rl({ref:uo,descriptor:lr,env:zo,windowScroll:Si,direction:Ei.direction,isDropDisabled:Ei.isDropDisabled,isCombineEnabled:Ei.isCombineEnabled,shouldClipSubject:!Ei.ignoreContainerClipping}),D=zo.closestScrollable;return D&&(D.setAttribute(Cs.contextId,We.contextId),D.addEventListener("scroll",Gr,Ss(ao.scrollOptions))),Uo},[We.contextId,lr,Gr,ar]),pn=o(function(){var Si=Se.current,Va=nl(Si);return Si&&Va||ge(!1),cl(Va)},[]),ei=o(function(){var Si=Se.current;Si||ge(!1);var Va=nl(Si);if(Se.current=null,!Va)return;Fr.cancel(),Va.removeAttribute(Cs.contextId),Va.removeEventListener("scroll",Gr,Ss(Si.scrollOptions))},[Gr,Fr]),ui=o(function(Si){var Va=Se.current;Va||ge(!1);var Ei=nl(Va);Ei||ge(!1),Ei.scrollTop+=Si.y,Ei.scrollLeft+=Si.x},[]),ii=r(function(){return{getDimensionAndWatchScroll:dn,getScrollWhileDragging:pn,dragStopped:ei,scroll:ui}},[ei,dn,pn,ui]),Zi=r(function(){return{uniqueId:St,descriptor:lr,callbacks:ii}},[ii,lr,St]);Ga(function(){return yr.current=Zi.descriptor,Ft.droppable.register(Zi),function(){Se.current&&ei(),Ft.droppable.unregister(Zi)}},[ii,lr,ei,Zi,qt,Ft.droppable]),Ga(function(){if(!Se.current)return;qt.updateDroppableIsEnabled(yr.current.id,!ct.isDropDisabled)},[ct.isDropDisabled,qt]),Ga(function(){if(!Se.current)return;qt.updateDroppableIsCombineEnabled(yr.current.id,ct.isCombineEnabled)},[ct.isCombineEnabled,qt])}function Sl(){}var kl={width:0,height:0,margin:je},Vl=function(Se){var We=Se.isAnimatingOpenOnMount,St=Se.placeholder,Ft=Se.animate;return We||Ft==="close"?kl:{height:St.client.borderBox.height,width:St.client.borderBox.width,margin:St.client.margin}},xl=function(Se){var We=Se.isAnimatingOpenOnMount,St=Se.placeholder,Ft=Se.animate,qt=Vl({isAnimatingOpenOnMount:We,placeholder:St,animate:Ft});return{display:St.display,boxSizing:"border-box",width:qt.width,height:qt.height,marginTop:qt.margin.top,marginRight:qt.margin.right,marginBottom:qt.margin.bottom,marginLeft:qt.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:Ft!=="none"?Mn.placeholder:null}};function Qs(ct){var Se=Object(g.useRef)(null),We=o(function(){if(!Se.current)return;clearTimeout(Se.current),Se.current=null},[]),St=ct.animate,Ft=ct.onTransitionEnd,qt=ct.onClose,ar=ct.contextId,lr=Object(g.useState)(ct.animate==="open"),yr=lr[0],Vr=lr[1];Object(g.useEffect)(function(){return yr?St!=="open"?(We(),Vr(!1),Sl):Se.current?Sl:(Se.current=setTimeout(function(){Se.current=null,Vr(!1)}),We):Sl},[St,yr,We]);var Xr=o(function(Fr){if(Fr.propertyName!=="height")return;Ft(),St==="close"&&qt()},[St,qt,Ft]),Br=xl({isAnimatingOpenOnMount:yr,animate:ct.animate,placeholder:ct.placeholder});return f.a.createElement(ct.placeholder.tagName,{style:Br,"data-rbd-placeholder-context-id":ar,onTransitionEnd:Xr,ref:ct.innerRef})}var hl=f.a.memo(Qs),il=f.a.createContext(null);function fl(ct){ct&&ss(ct)||ge(!1)}function El(ct){return typeof ct=="boolean"}function Ks(ct,Se){Se.forEach(function(We){return We(ct)})}var Xl=[function(Se){var We=Se.props;We.droppableId||ge(!1),typeof We.droppableId=="string"||ge(!1)},function(Se){var We=Se.props;El(We.isDropDisabled)||ge(!1),El(We.isCombineEnabled)||ge(!1),El(We.ignoreContainerClipping)||ge(!1)},function(Se){var We=Se.getDroppableRef;fl(We())}],Cl=[function(Se){var We=Se.props,St=Se.getPlaceholderRef;if(!We.placeholder)return;var Ft=St();if(Ft)return}],pl=[function(Se){var We=Se.props;We.renderClone||ge(!1)},function(Se){var We=Se.getPlaceholderRef;We()&&ge(!1)}];function Tl(ct){Ct(function(){Ks(ct,Xl),ct.props.mode==="standard"&&Ks(ct,Cl),ct.props.mode==="virtual"&&Ks(ct,pl)})}var Yl=function(ct){Object(b.a)(Se,ct);function Se(){for(var St,Ft=arguments.length,qt=new Array(Ft),ar=0;ar<Ft;ar++)qt[ar]=arguments[ar];return St=ct.call.apply(ct,[this].concat(qt))||this,St.state={isVisible:Boolean(St.props.on),data:St.props.on,animate:St.props.shouldAnimate&&St.props.on?"open":"none"},St.onClose=function(){if(St.state.animate!=="close")return;St.setState({isVisible:!1})},St}Se.getDerivedStateFromProps=function(Ft,qt){return Ft.shouldAnimate?Ft.on?{isVisible:!0,data:Ft.on,animate:"open"}:qt.isVisible?{isVisible:!0,data:qt.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(Ft.on),data:Ft.on,animate:"none"}};var We=Se.prototype;return We.render=function(){if(!this.state.isVisible)return null;var Ft={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(Ft)},Se}(f.a.PureComponent),Fl={dragging:5e3,dropAnimating:4500},ml=function(Se,We){return We?Mn.drop(We.duration):Se?Mn.snap:Mn.fluid},Gl=function(Se,We){return Se?We?Hn.opacity.drop:Hn.opacity.combining:null},Zs=function(Se){return Se.forceShouldAnimate!=null?Se.forceShouldAnimate:Se.mode==="SNAP"};function Ql(ct){var Se=ct.dimension,We=Se.client,St=ct.offset,Ft=ct.combineWith,qt=ct.dropping,ar=Boolean(Ft),lr=Zs(ct),yr=Boolean(qt),Vr=yr?Rn.drop(St,ar):Rn.moveTo(St),Xr={position:"fixed",top:We.marginBox.top,left:We.marginBox.left,boxSizing:"border-box",width:We.borderBox.width,height:We.borderBox.height,transition:ml(lr,qt),transform:Vr,opacity:Gl(ar,yr),zIndex:yr?Fl.dropAnimating:Fl.dragging,pointerEvents:"none"};return Xr}function Ro(ct){return{transform:Rn.moveTo(ct.offset),transition:ct.shouldAnimateDisplacement?null:"none"}}function Ws(ct){return ct.type==="DRAGGING"?Ql(ct):Ro(ct)}function al(ct,Se,We){We===void 0&&(We=pe);var St=window.getComputedStyle(Se),Ft=Se.getBoundingClientRect(),qt=E(Ft,St),ar=x(qt,We),lr={client:qt,tagName:Se.tagName.toLowerCase(),display:St.display},yr={x:qt.marginBox.width,y:qt.marginBox.height},Vr={descriptor:ct,placeholder:lr,displaceBy:yr,client:qt,page:ar};return Vr}function Bs(ct){var Se=as("draggable"),We=ct.descriptor,St=ct.registry,Ft=ct.getDraggableRef,qt=ct.canDragInteractiveElements,ar=ct.shouldRespectForcePress,lr=ct.isEnabled,yr=r(function(){return{canDragInteractiveElements:qt,shouldRespectForcePress:ar,isEnabled:lr}},[qt,lr,ar]),Vr=o(function(Gr){var dn=Ft();return dn||ge(!1),al(We,dn,Gr)},[We,Ft]),Xr=r(function(){return{uniqueId:Se,descriptor:We,options:yr,getDimension:Vr}},[We,Vr,yr,Se]),Br=Object(g.useRef)(Xr),Fr=Object(g.useRef)(!0);Ga(function(){return St.draggable.register(Br.current),function(){return St.draggable.unregister(Br.current)}},[St.draggable]),Ga(function(){if(Fr.current){Fr.current=!1;return}var Gr=Br.current;Br.current=Xr,St.draggable.update(Xr,Gr)},[Xr,St.draggable])}function Us(ct,Se,We){Ct(function(){function St(qt){return"Draggable[id: "+qt+"]: "}var Ft=ct.draggableId;if(Ft||ge(!1),typeof Ft=="string"||ge(!1),Ve(ct.index)||ge(!1),ct.mapped.type==="DRAGGING")return;fl(We()),ct.isEnabled&&(_s(Se,Ft)||ge(!1))})}function gl(ct){Qe(function(){var Se=Object(g.useRef)(ct);Ct(function(){ct===Se.current||ge(!1)},[ct])})}function xs(ct){ct.preventDefault()}function ol(ct){var Se=Object(g.useRef)(null),We=o(function(ao){Se.current=ao},[]),St=o(function(){return Se.current},[]),Ft=zs(Mo),qt=Ft.contextId,ar=Ft.dragHandleUsageInstructionsId,lr=Ft.registry,yr=zs(il),Vr=yr.type,Xr=yr.droppableId,Br=r(function(){return{id:ct.draggableId,index:ct.index,type:Vr,droppableId:Xr}},[ct.draggableId,ct.index,Vr,Xr]),Fr=ct.children,Gr=ct.draggableId,dn=ct.isEnabled,pn=ct.shouldRespectForcePress,ei=ct.canDragInteractiveElements,ui=ct.isClone,ii=ct.mapped,Zi=ct.dropAnimationFinished;if(Us(ct,qt,St),gl(ui),!ui){var Si=r(function(){return{descriptor:Br,registry:lr,getDraggableRef:St,canDragInteractiveElements:ei,shouldRespectForcePress:pn,isEnabled:dn}},[Br,lr,St,ei,pn,dn]);Bs(Si)}var Va=r(function(){return dn?{tabIndex:0,role:"button","aria-describedby":ar,"data-rbd-drag-handle-draggable-id":Gr,"data-rbd-drag-handle-context-id":qt,draggable:!1,onDragStart:xs}:null},[qt,ar,Gr,dn]),Ei=o(function(ao){if(ii.type!=="DRAGGING")return;if(!ii.dropping)return;if(ao.propertyName!=="transform")return;Zi()},[Zi,ii]),uo=r(function(){var ao=Ws(ii),Uo=ii.type==="DRAGGING"&&ii.dropping?Ei:null,D={innerRef:We,draggableProps:{"data-rbd-draggable-context-id":qt,"data-rbd-draggable-id":Gr,style:ao,onTransitionEnd:Uo},dragHandleProps:Va};return D},[qt,Va,Gr,ii,Ei,We]),zo=r(function(){return{draggableId:Br.id,type:Br.type,source:{index:Br.index,droppableId:Br.droppableId}}},[Br.droppableId,Br.id,Br.index,Br.type]);return Fr(uo,ii.snapshot,zo)}var Js=function(Se,We){return Se===We},Pl=function(Se){var We=Se.combine,St=Se.destination;return St?St.droppableId:We?We.droppableId:null},_l=function(Se){return Se.combine?Se.combine.draggableId:null},vl=function(Se){return Se.at&&Se.at.type==="COMBINE"?Se.at.combine.draggableId:null};function ql(){var ct=S(function(Ft,qt){return{x:Ft,y:qt}}),Se=S(function(Ft,qt,ar,lr,yr){return{isDragging:!0,isClone:qt,isDropAnimating:Boolean(yr),dropAnimation:yr,mode:Ft,draggingOver:ar,combineWith:lr,combineTargetFor:null}}),We=S(function(Ft,qt,ar,lr,yr,Vr,Xr){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:yr,combineWith:Vr,mode:qt,offset:Ft,dimension:ar,forceShouldAnimate:Xr,snapshot:Se(qt,lr,yr,Vr,null)}}}),St=function(qt,ar){if(qt.isDragging){if(qt.critical.draggable.id!==ar.draggableId)return null;var lr=qt.current.client.offset,yr=qt.dimensions.draggables[ar.draggableId],Vr=gn(qt.impact),Xr=vl(qt.impact),Br=qt.forceShouldAnimate;return We(ct(lr.x,lr.y),qt.movementMode,yr,ar.isClone,Vr,Xr,Br)}if(qt.phase==="DROP_ANIMATING"){var Fr=qt.completed;if(Fr.result.draggableId!==ar.draggableId)return null;var Gr=ar.isClone,dn=qt.dimensions.draggables[ar.draggableId],pn=Fr.result,ei=pn.mode,ui=Pl(pn),ii=_l(pn),Zi=qt.dropDuration,Si={duration:Zi,curve:wn.drop,moveTo:qt.newHomeClientOffset,opacity:ii?Hn.opacity.drop:null,scale:ii?Hn.scale.drop:null};return{mapped:{type:"DRAGGING",offset:qt.newHomeClientOffset,dimension:dn,dropping:Si,draggingOver:ui,combineWith:ii,mode:ei,forceShouldAnimate:null,snapshot:Se(ei,Gr,ui,ii,Si)}}}return null};return St}function Bl(ct){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:ct,combineWith:null}}var yl={mapped:{type:"SECONDARY",offset:pe,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Bl(null)}};function Zl(){var ct=S(function(ar,lr){return{x:ar,y:lr}}),Se=S(Bl),We=S(function(ar,lr,yr){return lr===void 0&&(lr=null),{mapped:{type:"SECONDARY",offset:ar,combineTargetFor:lr,shouldAnimateDisplacement:yr,snapshot:Se(lr)}}}),St=function(lr){return lr?We(pe,lr,!0):null},Ft=function(lr,yr,Vr,Xr){var Br=Vr.displaced.visible[lr],Fr=Boolean(Xr.inVirtualList&&Xr.effected[lr]),Gr=or(Vr),dn=Gr&&Gr.draggableId===lr?yr:null;if(!Br){if(!Fr)return St(dn);if(Vr.displaced.invisible[lr])return null;var pn=te(Xr.displacedBy.point),ei=ct(pn.x,pn.y);return We(ei,dn,!0)}if(Fr)return St(dn);var ui=Vr.displacedBy.point,ii=ct(ui.x,ui.y);return We(ii,dn,Br.shouldAnimate)},qt=function(lr,yr){if(lr.isDragging)return lr.critical.draggable.id===yr.draggableId?null:Ft(yr.draggableId,lr.critical.draggable.id,lr.impact,lr.afterCritical);if(lr.phase==="DROP_ANIMATING"){var Vr=lr.completed;return Vr.result.draggableId===yr.draggableId?null:Ft(yr.draggableId,Vr.result.draggableId,Vr.impact,Vr.afterCritical)}return null};return qt}var lu=function(){var Se=ql(),We=Zl(),St=function(qt,ar){return Se(qt,ar)||We(qt,ar)||yl};return St},Jl={dropAnimationFinished:br},$l=Object(h.c)(lu,Jl,null,{context:Lo,pure:!0,areStatePropsEqual:Js})(ol);function Ol(ct){var Se=zs(il),We=Se.isUsingCloneFor;return We===ct.draggableId&&!ct.isClone?null:f.a.createElement($l,ct)}function eu(ct){var Se=typeof ct.isDragDisabled=="boolean"?!ct.isDragDisabled:!0,We=Boolean(ct.disableInteractiveElementBlocking),St=Boolean(ct.shouldRespectForcePress);return f.a.createElement(Ol,Object(m.a)({},ct,{isClone:!1,isEnabled:Se,canDragInteractiveElements:We,shouldRespectForcePress:St}))}function uu(ct){var Se=Object(g.useContext)(Mo);Se||ge(!1);var We=Se.contextId,St=Se.isMovementAllowed,Ft=Object(g.useRef)(null),qt=Object(g.useRef)(null),ar=ct.children,lr=ct.droppableId,yr=ct.type,Vr=ct.mode,Xr=ct.direction,Br=ct.ignoreContainerClipping,Fr=ct.isDropDisabled,Gr=ct.isCombineEnabled,dn=ct.snapshot,pn=ct.useClone,ei=ct.updateViewportMaxScroll,ui=ct.getContainerForClone,ii=o(function(){return Ft.current},[]),Zi=o(function(P){Ft.current=P},[]),Si=o(function(){return qt.current},[]),Va=o(function(P){qt.current=P},[]);Tl({props:ct,getDroppableRef:ii,getPlaceholderRef:Si});var Ei=o(function(){St()&&ei({maxScroll:Xa()})},[St,ei]);Ps({droppableId:lr,type:yr,mode:Vr,direction:Xr,isDropDisabled:Fr,isCombineEnabled:Gr,ignoreContainerClipping:Br,getDroppableRef:ii});var uo=f.a.createElement(Yl,{on:ct.placeholder,shouldAnimate:ct.shouldAnimatePlaceholder},function(P){var ee=P.onClose,re=P.data,ce=P.animate;return f.a.createElement(hl,{placeholder:re,onClose:ee,innerRef:Va,animate:ce,contextId:We,onTransitionEnd:Ei})}),zo=r(function(){return{innerRef:Zi,placeholder:uo,droppableProps:{"data-rbd-droppable-id":lr,"data-rbd-droppable-context-id":We}}},[We,lr,uo,Zi]),ao=pn?pn.dragging.draggableId:null,Uo=r(function(){return{droppableId:lr,type:yr,isUsingCloneFor:ao}},[lr,ao,yr]);function D(){if(!pn)return null;var P=pn.dragging,ee=pn.render,re=f.a.createElement(Ol,{draggableId:P.draggableId,index:P.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(ce,Be){return ee(ce,Be,P)});return F.a.createPortal(re,ui())}return f.a.createElement(il.Provider,{value:Uo},ar(zo,dn),D())}var Ll=function(Se,We){return Se===We.droppable.type},js=function(Se,We){return We.draggables[Se.draggable.id]},Il=function(){var Se={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},We=Object(m.a)({},Se,{shouldAnimatePlaceholder:!1}),St=S(function(ar){return{draggableId:ar.id,type:ar.type,source:{index:ar.index,droppableId:ar.droppableId}}}),Ft=S(function(ar,lr,yr,Vr,Xr,Br){var Fr=Xr.descriptor.id,Gr=Xr.descriptor.droppableId===ar;if(Gr){var dn=Br?{render:Br,dragging:St(Xr.descriptor)}:null,pn={isDraggingOver:yr,draggingOverWith:yr?Fr:null,draggingFromThisWith:Fr,isUsingPlaceholder:!0};return{placeholder:Xr.placeholder,shouldAnimatePlaceholder:!1,snapshot:pn,useClone:dn}}if(!lr)return We;if(!Vr)return Se;var ei={isDraggingOver:yr,draggingOverWith:Fr,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:Xr.placeholder,shouldAnimatePlaceholder:!0,snapshot:ei,useClone:null}}),qt=function(lr,yr){var Vr=yr.droppableId,Xr=yr.type,Br=!yr.isDropDisabled,Fr=yr.renderClone;if(lr.isDragging){var Gr=lr.critical;if(!Ll(Xr,Gr))return We;var dn=js(Gr,lr.dimensions),pn=gn(lr.impact)===Vr;return Ft(Vr,Br,pn,pn,dn,Fr)}if(lr.phase==="DROP_ANIMATING"){var ei=lr.completed;if(!Ll(Xr,ei.critical))return We;var ui=js(ei.critical,lr.dimensions);return Ft(Vr,Br,Pl(ei.result)===Vr,gn(ei.impact)===Vr,ui,Fr)}if(lr.phase==="IDLE"&&lr.completed&&!lr.shouldFlush){var ii=lr.completed;if(!Ll(Xr,ii.critical))return We;var Zi=gn(ii.impact)===Vr,Si=Boolean(ii.impact.at&&ii.impact.at.type==="COMBINE"),Va=ii.critical.droppable.id===Vr;return Zi?Si?Se:We:Va?Se:We}return We};return qt},Al={updateViewportMaxScroll:Or};function cu(){return document.body||ge(!1),document.body}var du={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:cu},sl=Object(h.c)(Il,Al,null,{context:Lo,pure:!0,areStatePropsEqual:Js})(uu);sl.defaultProps=du},ni6a:function(R,I,e){var g=e("pzxd"),f=e("mFDi"),b=e("gut8"),m=b.WILL_BE_RESTORED,y=new f,h=function(){};h.prototype={constructor:h,drawRectText:function(a,r){var o=this.style;r=o.textRect||r,this.__dirty&&g.normalizeTextStyle(o,!0);var d=o.text;if(d!=null&&(d+=""),!g.needDrawText(d,o))return;a.save();var n=this.transform;o.transformText?this.setTransform(a):n&&(y.copy(r),y.applyTransform(n),r=y),g.renderText(this,a,d,o,r,m),a.restore()}};var u=h;R.exports=u},nkfE:function(R,I,e){var g=e("bYtY"),f=e("ca2m"),b=e("bLfw"),m=e("+TT/"),y=m.getLayoutParams,h=m.mergeLayoutParam,u=e("jkPA"),i=["value","category","time","log"];function a(r,o,d,n){g.each(i,function(l){o.extend({type:r+"Axis."+l,mergeDefaultAndTheme:function(t,s){var c=this.layoutMode,p=c?y(t):{},A=s.getTheme();g.merge(t,A.get(l+"Axis")),g.merge(t,this.getDefaultOption()),t.type=d(r,t),c&&h(t,p,c)},optionUpdated:function(){var t=this.option;t.type==="category"&&(this.__ordinalMeta=u.createByAxisModel(this))},getCategories:function(t){var s=this.option;if(s.type==="category")return t?s.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:g.mergeAll([{},f[l+"Axis"],n],!0)})}),b.registerSubTypeDefaulter(r+"Axis",g.curry(d,r))}R.exports=a},noeP:function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("UOVi");g.registerAction("dataZoom",function(m,y){var h=b.createLinkedNodesFinder(f.bind(y.eachComponent,y,"dataZoom"),b.eachAxisDim,function(i,a){return i.get(a.axisIndex)}),u=[];y.eachComponent({mainType:"dataZoom",query:m},function(i,a){u.push.apply(u,h(i).nodes)}),f.each(u,function(i,a){i.setRawRange({start:m.start,end:m.end,startValue:m.startValue,endValue:m.endValue})})})},o40c:function(R,I,e){var g=e("IwbS"),f=e("OS9S"),b=e("loD1"),m=e("aKvl"),y=g.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(a,r){var o=r.segs,d=r.curveness;if(r.polyline)for(var n=0;n<o.length;){var l=o[n++];if(l>0){a.moveTo(o[n++],o[n++]);for(var t=1;t<l;t++)a.lineTo(o[n++],o[n++])}}else for(var n=0;n<o.length;){var s=o[n++],c=o[n++],p=o[n++],A=o[n++];if(a.moveTo(s,c),d>0){var w=(s+p)/2-(c-A)*d,C=(c+A)/2-(p-s)*d;a.quadraticCurveTo(w,C,p,A)}else a.lineTo(p,A)}},findDataIndex:function(a,r){var o=this.shape,d=o.segs,n=o.curveness;if(o.polyline)for(var l=0,t=0;t<d.length;){var s=d[t++];if(s>0)for(var c=d[t++],p=d[t++],A=1;A<s;A++){var w=d[t++],C=d[t++];if(b.containStroke(c,p,w,C))return l}l++}else for(var l=0,t=0;t<d.length;){var c=d[t++],p=d[t++],w=d[t++],C=d[t++];if(n>0){var x=(c+w)/2-(p-C)*n,E=(p+C)/2-(w-c)*n;if(m.containStroke(c,p,x,E,w,C))return l}else if(b.containStroke(c,p,w,C))return l;l++}return-1}});function h(){this.group=new g.Group}var u=h.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(a){this.group.removeAll();var r=new y({rectHover:!0,cursor:"default"});r.setShape({segs:a.getLayout("linesPoints")}),this._setCommon(r,a),this.group.add(r),this._incremental=null},u.incrementalPrepareUpdate=function(a){this.group.removeAll(),this._clearIncremental(),a.count()>5e5?(this._incremental||(this._incremental=new f({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(a,r){var o=new y;o.setShape({segs:r.getLayout("linesPoints")}),this._setCommon(o,r,!!this._incremental),this._incremental?this._incremental.addDisplayable(o,!0):(o.rectHover=!0,o.cursor="default",o.__startIndex=a.start,this.group.add(o))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._setCommon=function(a,r,o){var d=r.hostModel;a.setShape({polyline:d.get("polyline"),curveness:d.get("lineStyle.curveness")}),a.useStyle(d.getModel("lineStyle").getLineStyle()),a.style.strokeNoScale=!0;var n=r.getVisual("color");n&&a.setStyle("stroke",n),a.setStyle("fill"),o||(a.seriesIndex=d.seriesIndex,a.on("mousemove",function(l){a.dataIndex=null;var t=a.findDataIndex(l.offsetX,l.offsetY);t>0&&(a.dataIndex=t+a.__startIndex)}))},u._clearIncremental=function(){var a=this._incremental;a&&a.clearDisplaybles()};var i=h;R.exports=i},oBaM:function(R,I,e){var g=e("T4UG"),f=e("5GtS"),b=e("bYtY"),m=e("7aKB"),y=m.encodeHTML,h=e("xKMd"),u=g.extend({type:"series.radar",dependencies:["radar"],init:function(a){u.superApply(this,"init",arguments),this.legendVisualProvider=new h(b.bind(this.getData,this),b.bind(this.getRawData,this))},getInitialData:function(a,r){return f(this,{generateCoord:"indicator_",generateCoordCount:Infinity})},formatTooltip:function(a){var r=this.getData(),o=this.coordinateSystem,d=o.getIndicatorAxes(),n=this.getData().getName(a);return y(n===""?this.name:n)+"<br/>"+b.map(d,function(l,t){var s=r.get(r.mapDimension(l.dim),a);return y(l.name+" : "+s)}).join("<br />")},getTooltipPosition:function(a){if(a!=null){for(var r=this.getData(),o=this.coordinateSystem,d=r.getValues(b.map(o.dimensions,function(s){return r.mapDimension(s)}),a,!0),n=0,l=d.length;n<l;n++)if(!isNaN(d[n])){var t=o.getIndicatorAxes();return o.coordToPoint(t[n].dataToCoord(d[n]),n)}}},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),i=u;R.exports=i},oE7X:function(R,I,e){var g=e("bLfw");g.registerSubTypeDefaulter("timeline",function(){return"slider"})},oIFs:function(R,I,e){},oVpE:function(R,I,e){var g=e("bYtY"),f=e("IwbS"),b=e("mFDi"),m=e("6GrX"),y=m.calculateTextPosition,h=f.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(s,c){var p=c.cx,A=c.cy,w=c.width/2,C=c.height/2;s.moveTo(p,A-C),s.lineTo(p+w,A+C),s.lineTo(p-w,A+C),s.closePath()}}),u=f.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(s,c){var p=c.cx,A=c.cy,w=c.width/2,C=c.height/2;s.moveTo(p,A-C),s.lineTo(p+w,A),s.lineTo(p,A+C),s.lineTo(p-w,A),s.closePath()}}),i=f.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(s,c){var p=c.x,A=c.y,w=c.width/5*3,C=Math.max(w,c.height),x=w/2,E=x*x/(C-x),T=A-C+x+E,_=Math.asin(E/x),v=Math.cos(_)*x,S=Math.sin(_),O=Math.cos(_),L=x*.6,M=x*.7;s.moveTo(p-v,T+E),s.arc(p,T,x,Math.PI-_,Math.PI*2+_),s.bezierCurveTo(p+v-S*L,T+E+O*L,p,A-M,p,A),s.bezierCurveTo(p,A-M,p-v+S*L,T+E+O*L,p-v,T+E),s.closePath()}}),a=f.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(s,c){var p=c.height,A=c.width,w=c.x,C=c.y,x=A/3*2;s.moveTo(w,C),s.lineTo(w+x,C+p),s.lineTo(w,C+p/4*3),s.lineTo(w-x,C+p),s.lineTo(w,C),s.closePath()}}),r={line:f.Line,rect:f.Rect,roundRect:f.Rect,square:f.Rect,circle:f.Circle,diamond:u,pin:i,arrow:a,triangle:h},o={line:function(s,c,p,A,w){w.x1=s,w.y1=c+A/2,w.x2=s+p,w.y2=c+A/2},rect:function(s,c,p,A,w){w.x=s,w.y=c,w.width=p,w.height=A},roundRect:function(s,c,p,A,w){w.x=s,w.y=c,w.width=p,w.height=A,w.r=Math.min(p,A)/4},square:function(s,c,p,A,w){var C=Math.min(p,A);w.x=s,w.y=c,w.width=C,w.height=C},circle:function(s,c,p,A,w){w.cx=s+p/2,w.cy=c+A/2,w.r=Math.min(p,A)/2},diamond:function(s,c,p,A,w){w.cx=s+p/2,w.cy=c+A/2,w.width=p,w.height=A},pin:function(s,c,p,A,w){w.x=s+p/2,w.y=c+A/2,w.width=p,w.height=A},arrow:function(s,c,p,A,w){w.x=s+p/2,w.y=c+A/2,w.width=p,w.height=A},triangle:function(s,c,p,A,w){w.cx=s+p/2,w.cy=c+A/2,w.width=p,w.height=A}},d={};g.each(r,function(s,c){d[c]=new s});var n=f.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(s,c,p){var A=y(s,c,p),w=this.shape;return w&&w.symbolType==="pin"&&c.textPosition==="inside"&&(A.y=p.y+p.height*.4),A},buildPath:function(s,c,p){var A=c.symbolType;if(A!=="none"){var w=d[A];w||(A="rect",w=d[A]),o[A](c.x,c.y,c.width,c.height,w.shape),w.buildPath(s,w.shape,p)}}});function l(s,c){if(this.type!=="image"){var p=this.style,A=this.shape;A&&A.symbolType==="line"?p.stroke=s:this.__isEmptyBrush?(p.stroke=s,p.fill=c||"#fff"):(p.fill&&(p.fill=s),p.stroke&&(p.stroke=s)),this.dirty(!1)}}function t(s,c,p,A,w,C,x){var E=s.indexOf("empty")===0;E&&(s=s.substr(5,1).toLowerCase()+s.substr(6));var T;return s.indexOf("image://")===0?T=f.makeImage(s.slice(8),new b(c,p,A,w),x?"center":"cover"):s.indexOf("path://")===0?T=f.makePath(s.slice(7),{},new b(c,p,A,w),x?"center":"cover"):T=new n({shape:{symbolType:s,x:c,y:p,width:A,height:w}}),T.__isEmptyBrush=E,T.setColor=l,T.setColor(C),T}I.createSymbol=t},oY9F:function(R,I,e){var g=e("OlYY"),f=g.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});R.exports=f},or5M:function(R,I,e){var g=e("1hJj"),f=e("QoRX"),b=e("xYSL"),m=1,y=2;function h(u,i,a,r,o,d){var n=a&m,l=u.length,t=i.length;if(l!=t&&!(n&&t>l))return!1;var s=d.get(u),c=d.get(i);if(s&&c)return s==i&&c==u;var p=-1,A=!0,w=a&y?new g:void 0;for(d.set(u,i),d.set(i,u);++p<l;){var C=u[p],x=i[p];if(r)var E=n?r(x,C,p,i,u,d):r(C,x,p,u,i,d);if(E!==void 0){if(E)continue;A=!1;break}if(w){if(!f(i,function(T,_){if(!b(w,_)&&(C===T||o(C,T,a,r,d)))return w.push(_)})){A=!1;break}}else if(!(C===x||o(C,x,a,r,d))){A=!1;break}}return d.delete(u),d.delete(i),A}R.exports=h},osHv:function(R,I,e){(function(g){g(e("VrN/"))})(function(g){"use strict";var f=g.Pos;function b(c,p){return c.line-p.line||c.ch-p.ch}var m="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",y=m+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",h=new RegExp("<(/?)(["+m+"]["+y+"]*)","g");function u(c,p,A,w){this.line=p,this.ch=A,this.cm=c,this.text=c.getLine(p),this.min=w?Math.max(w.from,c.firstLine()):c.firstLine(),this.max=w?Math.min(w.to-1,c.lastLine()):c.lastLine()}function i(c,p){var A=c.cm.getTokenTypeAt(f(c.line,p));return A&&/\btag\b/.test(A)}function a(c){return c.line>=c.max?void 0:(c.ch=0,c.text=c.cm.getLine(++c.line),!0)}function r(c){return c.line<=c.min?void 0:(c.text=c.cm.getLine(--c.line),c.ch=c.text.length,!0)}function o(c){for(;;){var p=c.text.indexOf(">",c.ch);if(p==-1){if(a(c))continue;return}if(!i(c,p+1)){c.ch=p+1;continue}var A=c.text.lastIndexOf("/",p),w=A>-1&&!/\S/.test(c.text.slice(A+1,p));return c.ch=p+1,w?"selfClose":"regular"}}function d(c){for(;;){var p=c.ch?c.text.lastIndexOf("<",c.ch-1):-1;if(p==-1){if(r(c))continue;return}if(!i(c,p+1)){c.ch=p;continue}h.lastIndex=p,c.ch=p;var A=h.exec(c.text);if(A&&A.index==p)return A}}function n(c){for(;;){h.lastIndex=c.ch;var p=h.exec(c.text);if(!p){if(a(c))continue;return}if(!i(c,p.index+1)){c.ch=p.index+1;continue}return c.ch=p.index+p[0].length,p}}function l(c){for(;;){var p=c.ch?c.text.lastIndexOf(">",c.ch-1):-1;if(p==-1){if(r(c))continue;return}if(!i(c,p+1)){c.ch=p;continue}var A=c.text.lastIndexOf("/",p),w=A>-1&&!/\S/.test(c.text.slice(A+1,p));return c.ch=p+1,w?"selfClose":"regular"}}function t(c,p){for(var A=[];;){var w=n(c),C,x=c.line,E=c.ch-(w?w[0].length:0);if(!w||!(C=o(c)))return;if(C=="selfClose")continue;if(w[1]){for(var T=A.length-1;T>=0;--T)if(A[T]==w[2]){A.length=T;break}if(T<0&&(!p||p==w[2]))return{tag:w[2],from:f(x,E),to:f(c.line,c.ch)}}else A.push(w[2])}}function s(c,p){for(var A=[];;){var w=l(c);if(!w)return;if(w=="selfClose"){d(c);continue}var C=c.line,x=c.ch,E=d(c);if(!E)return;if(E[1])A.push(E[2]);else{for(var T=A.length-1;T>=0;--T)if(A[T]==E[2]){A.length=T;break}if(T<0&&(!p||p==E[2]))return{tag:E[2],from:f(c.line,c.ch),to:f(C,x)}}}}g.registerHelper("fold","xml",function(c,p){for(var A=new u(c,p.line,0);;){var w=n(A);if(!w||A.line!=p.line)return;var C=o(A);if(!C)return;if(!w[1]&&C!="selfClose"){var x=f(A.line,A.ch),E=t(A,w[2]);return E&&b(E.from,x)>0?{from:x,to:E.from}:null}}}),g.findMatchingTag=function(c,p,A){var w=new u(c,p.line,p.ch,A);if(w.text.indexOf(">")==-1&&w.text.indexOf("<")==-1)return;var C=o(w),x=C&&f(w.line,w.ch),E=C&&d(w);if(!C||!E||b(w,p)>0)return;var T={from:f(w.line,w.ch),to:x,tag:E[2]};return C=="selfClose"?{open:T,close:null,at:"open"}:E[1]?{open:s(w,E[2]),close:T,at:"close"}:(w=new u(c,x.line,x.ch,A),{open:T,close:t(w,E[2]),at:"open"})},g.findEnclosingTag=function(c,p,A,w){for(var C=new u(c,p.line,p.ch,A);;){var x=s(C,w);if(!x)break;var E=new u(c,p.line,p.ch,A),T=t(E,x.tag);if(T)return{open:x,close:T}}},g.scanForClosingTag=function(c,p,A,w){var C=new u(c,p.line,p.ch,w?{from:0,to:w}:null);return t(C,A)}})},ozfa:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("KxFI"),m=e.n(b)},"p+If":function(R,I,e){var g=e("ProS");e("cpOr"),e("rkZ5");var f=e("ZYIC"),b=e("7ph2");g.registerLayout(f),g.registerVisual(b)},"p/La":function(R,I){var e=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function g(f,b){f==="china"&&b.name==="\u53F0\u6E7E"&&b.geometries.push({type:"polygon",exterior:e[0]})}R.exports=g},p1MT:function(R,I,e){var g=e("Hw7h"),f=e("IwbS"),b=e("6Ic6"),m=e("OELB"),y=m.parsePercent,h=m.round,u=m.linearMap;function i(n,l){var t=n.get("center"),s=l.getWidth(),c=l.getHeight(),p=Math.min(s,c),A=y(t[0],l.getWidth()),w=y(t[1],l.getHeight()),C=y(n.get("radius"),p/2);return{cx:A,cy:w,r:C}}function a(n,l){return l&&(typeof l=="string"?n=l.replace("{value}",n!=null?n:""):typeof l=="function"&&(n=l(n))),n}var r=Math.PI*2,o=b.extend({type:"gauge",render:function(n,l,t){this.group.removeAll();var s=n.get("axisLine.lineStyle.color"),c=i(n,t);this._renderMain(n,l,t,s,c)},dispose:function(){},_renderMain:function(n,l,t,s,c){for(var p=this.group,A=n.getModel("axisLine"),w=A.getModel("lineStyle"),C=n.get("clockwise"),x=-n.get("startAngle")/180*Math.PI,E=-n.get("endAngle")/180*Math.PI,T=(E-x)%r,_=x,v=w.get("width"),S=A.get("show"),O=0;S&&O<s.length;O++){var L=Math.min(Math.max(s[O][0],0),1),E=x+T*L,M=new f.Sector({shape:{startAngle:_,endAngle:E,cx:c.cx,cy:c.cy,clockwise:C,r0:c.r-v,r:c.r},silent:!0});M.setStyle({fill:s[O][1]}),M.setStyle(w.getLineStyle(["color","borderWidth","borderColor"])),p.add(M),_=E}var F=function(z){if(z<=0)return s[0][1];for(var W=0;W<s.length;W++)if(s[W][0]>=z&&(W===0?0:s[W-1][0])<z)return s[W][1];return s[W-1][1]};if(!C){var U=x;x=E,E=U}this._renderTicks(n,l,t,F,c,x,E,C),this._renderPointer(n,l,t,F,c,x,E,C),this._renderTitle(n,l,t,F,c),this._renderDetail(n,l,t,F,c)},_renderTicks:function(n,l,t,s,c,p,A,w){for(var C=this.group,x=c.cx,E=c.cy,T=c.r,_=+n.get("min"),v=+n.get("max"),S=n.getModel("splitLine"),O=n.getModel("axisTick"),L=n.getModel("axisLabel"),M=n.get("splitNumber"),F=O.get("splitNumber"),U=y(S.get("length"),T),z=y(O.get("length"),T),W=p,N=(A-p)/M,H=N/F,j=S.getModel("lineStyle").getLineStyle(),k=O.getModel("lineStyle").getLineStyle(),B=0;B<=M;B++){var V=Math.cos(W),K=Math.sin(W);if(S.get("show")){var Y=new f.Line({shape:{x1:V*T+x,y1:K*T+E,x2:V*(T-U)+x,y2:K*(T-U)+E},style:j,silent:!0});j.stroke==="auto"&&Y.setStyle({stroke:s(B/M)}),C.add(Y)}if(L.get("show")){var Q=a(h(B/M*(v-_)+_),L.get("formatter")),he=L.get("distance"),G=s(B/M);C.add(new f.Text({style:f.setTextStyle({},L,{text:Q,x:V*(T-U-he)+x,y:K*(T-U-he)+E,textVerticalAlign:K<-.4?"top":K>.4?"bottom":"middle",textAlign:V<-.4?"left":V>.4?"right":"center"},{autoColor:G}),silent:!0}))}if(O.get("show")&&B!==M){for(var ye=0;ye<=F;ye++){var V=Math.cos(W),K=Math.sin(W),Ae=new f.Line({shape:{x1:V*T+x,y1:K*T+E,x2:V*(T-z)+x,y2:K*(T-z)+E},silent:!0,style:k});k.stroke==="auto"&&Ae.setStyle({stroke:s((B+ye/F)/M)}),C.add(Ae),W+=H}W-=H}else W+=N}},_renderPointer:function(n,l,t,s,c,p,A,w){var C=this.group,x=this._data;if(!n.get("pointer.show")){x&&x.eachItemGraphicEl(function(S){C.remove(S)});return}var E=[+n.get("min"),+n.get("max")],T=[p,A],_=n.getData(),v=_.mapDimension("value");_.diff(x).add(function(S){var O=new g({shape:{angle:p}});f.initProps(O,{shape:{angle:u(_.get(v,S),E,T,!0)}},n),C.add(O),_.setItemGraphicEl(S,O)}).update(function(S,O){var L=x.getItemGraphicEl(O);f.updateProps(L,{shape:{angle:u(_.get(v,S),E,T,!0)}},n),C.add(L),_.setItemGraphicEl(S,L)}).remove(function(S){var O=x.getItemGraphicEl(S);C.remove(O)}).execute(),_.eachItemGraphicEl(function(S,O){var L=_.getItemModel(O),M=L.getModel("pointer");S.setShape({x:c.cx,y:c.cy,width:y(M.get("width"),c.r),r:y(M.get("length"),c.r)}),S.useStyle(L.getModel("itemStyle").getItemStyle()),S.style.fill==="auto"&&S.setStyle("fill",s(u(_.get(v,O),E,[0,1],!0))),f.setHoverStyle(S,L.getModel("emphasis.itemStyle").getItemStyle())}),this._data=_},_renderTitle:function(n,l,t,s,c){var p=n.getData(),A=p.mapDimension("value"),w=n.getModel("title");if(w.get("show")){var C=w.get("offsetCenter"),x=c.cx+y(C[0],c.r),E=c.cy+y(C[1],c.r),T=+n.get("min"),_=+n.get("max"),v=n.getData().get(A,0),S=s(u(v,[T,_],[0,1],!0));this.group.add(new f.Text({silent:!0,style:f.setTextStyle({},w,{x,y:E,text:p.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:S,forceRich:!0})}))}},_renderDetail:function(n,l,t,s,c){var p=n.getModel("detail"),A=+n.get("min"),w=+n.get("max");if(p.get("show")){var C=p.get("offsetCenter"),x=c.cx+y(C[0],c.r),E=c.cy+y(C[1],c.r),T=y(p.get("width"),c.r),_=y(p.get("height"),c.r),v=n.getData(),S=v.get(v.mapDimension("value"),0),O=s(u(S,[A,w],[0,1],!0));this.group.add(new f.Text({silent:!0,style:f.setTextStyle({},p,{x,y:E,text:a(S,p.get("formatter")),textWidth:isNaN(T)?null:T,textHeight:isNaN(_)?null:_,textAlign:"center",textVerticalAlign:"middle"},{autoColor:O,forceRich:!0})}))}}}),d=o;R.exports=d},"p77/":function(R,I,e){},pC0b:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("xzDV"),m=e.n(b),y=e("5Dmo")},"pED+":function(R,I,e){},pG52:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("WXVj"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},pIsd:function(R,I,e){var g=e("BJfS"),f=function(h){var u=/[height|width]$/;return u.test(h)},b=function(h){var u="",i=Object.keys(h);return i.forEach(function(a,r){var o=h[a];a=g(a),f(a)&&typeof o=="number"&&(o=o+"px"),o===!0?u+=a:o===!1?u+="not "+a:u+="("+a+": "+o+")",r<i.length-1&&(u+=" and ")}),u},m=function(h){var u="";return typeof h=="string"?h:h instanceof Array?(h.forEach(function(i,a){u+=b(i),a<h.length-1&&(u+=", ")}),u):b(h)};R.exports=m},pLH3:function(R,I,e){var g=e("ProS");e("ALo7"),e("TWL2");var f=e("mOdp"),b=e("JLnu"),m=e("0/Rx");g.registerVisual(f("funnel")),g.registerLayout(b),g.registerProcessor(m("funnel"))},pP6R:function(R,I,e){var g=e("ProS"),f="\0_ec_interaction_mutex";function b(u,i,a){var r=h(u);r[i]=a}function m(u,i,a){var r=h(u),o=r[i];o===a&&(r[i]=null)}function y(u,i){return!!h(u)[i]}function h(u){return u[f]||(u[f]={})}g.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),I.take=b,I.release=m,I.isTaken=y},pSRY:function(R,I,e){var g=e("QkVE");function f(b){return g(this,b).has(b)}R.exports=f},pmaE:function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("IwbS"),m=e("DEFe"),y="__seriesMapHighDown",h="__seriesMapCallKey",u=g.extendChartView({type:"map",render:function(r,o,d,n){if(n&&n.type==="mapToggleSelect"&&n.from===this.uid)return;var l=this.group;if(l.removeAll(),r.getHostGeoModel())return;if(n&&n.type==="geoRoam"&&n.componentType==="series"&&n.seriesId===r.id){var t=this._mapDraw;t&&l.add(t.group)}else if(r.needsDrawMap){var t=this._mapDraw||new m(d,!0);l.add(t.group),t.draw(r,o,d,this,n),this._mapDraw=t}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;r.get("showLegendSymbol")&&o.getComponent("legend")&&this._renderSymbols(r,o,d)},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(r,o,d){var n=r.originalData,l=this.group;n.each(n.mapDimension("value"),function(t,s){if(isNaN(t))return;var c=n.getItemLayout(s);if(!c||!c.point)return;var p=c.point,A=c.offset,w=new b.Circle({style:{fill:r.getData().getVisual("color")},shape:{cx:p[0]+A*9,cy:p[1],r:3},silent:!0,z2:8+(A?0:b.Z2_EMPHASIS_LIFT+1)});if(!A){var C=r.mainSeries.getData(),x=n.getName(s),E=C.indexOfName(x),T=n.getItemModel(s),_=T.getModel("label"),v=T.getModel("emphasis.label"),S=C.getItemGraphicEl(E),O=f.retrieve2(r.getFormattedLabel(E,"normal"),x),L=f.retrieve2(r.getFormattedLabel(E,"emphasis"),O),M=S[y],F=Math.random();if(!M){M=S[y]={};var U=f.curry(i,!0),z=f.curry(i,!1);S.on("mouseover",U).on("mouseout",z).on("emphasis",U).on("normal",z)}S[h]=F,f.extend(M,{recordVersion:F,circle:w,labelModel:_,hoverLabelModel:v,emphasisText:L,normalText:O}),a(M,!1)}l.add(w)})}});function i(r){var o=this[y];o&&o.recordVersion===this[h]&&a(o,r)}function a(r,o){var d=r.circle,n=r.labelModel,l=r.hoverLabelModel,t=r.emphasisText,s=r.normalText;o?(d.style.extendFrom(b.setTextStyle({},l,{text:l.get("show")?t:null},{isRectText:!0,useInsideStyle:!1},!0)),d.__mapOriginalZ2=d.z2,d.z2+=b.Z2_EMPHASIS_LIFT):(b.setTextStyle(d.style,n,{text:n.get("show")?s:null,textPosition:n.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),d.dirty(!1),d.__mapOriginalZ2!=null&&(d.z2=d.__mapOriginalZ2,d.__mapOriginalZ2=null))}R.exports=u},pwpV:function(R,I,e){},pzxd:function(R,I,e){var g=e("bYtY"),f=g.retrieve2,b=g.retrieve3,m=g.each,y=g.normalizeCssArray,h=g.isString,u=g.isObject,i=e("6GrX"),a=e("VpOo"),r=e("Xnb7"),o=e("fW2E"),d=e("gut8"),n=d.ContextCachedBy,l=d.WILL_BE_RESTORED,t=i.DEFAULT_FONT,s={left:1,right:1,center:1},c={top:1,bottom:1,middle:1},p=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],A={},w={};function C(B){return x(B),m(B.rich,x),B}function x(B){if(B){B.font=i.makeFont(B);var V=B.textAlign;V==="middle"&&(V="center"),B.textAlign=V==null||s[V]?V:"left";var K=B.textVerticalAlign||B.textBaseline;K==="center"&&(K="middle"),B.textVerticalAlign=K==null||c[K]?K:"top";var Y=B.textPadding;Y&&(B.textPadding=y(B.textPadding))}}function E(B,V,K,Y,Q,he){Y.rich?_(B,V,K,Y,Q,he):T(B,V,K,Y,Q,he)}function T(B,V,K,Y,Q,he){"use strict";var G=L(Y),ye,Ae=!1,ge=V.__attrCachedBy===n.PLAIN_TEXT;he!==l?(he&&(ye=he.style,Ae=!G&&ge&&ye),V.__attrCachedBy=G?n.NONE:n.PLAIN_TEXT):ge&&(V.__attrCachedBy=n.NONE);var Pe=Y.font||t;(!Ae||Pe!==(ye.font||t))&&(V.font=Pe);var Re=B.__computedFont;B.__styleFont!==Pe&&(B.__styleFont=Pe,Re=B.__computedFont=V.font);var rt=Y.textPadding,ne=Y.textLineHeight,be=B.__textCotentBlock;(!be||B.__dirtyText)&&(be=B.__textCotentBlock=i.parsePlainText(K,Re,rt,ne,Y.truncate));var at=be.outerHeight,se=be.lines,q=be.lineHeight,X=U(w,B,Y,Q),Z=X.baseX,pe=X.baseY,oe=X.textAlign||"left",Ie=X.textVerticalAlign;S(V,Y,Q,Z,pe);var fe=i.adjustTextY(pe,at,Ie),te=Z,J=fe;if(G||rt){var ve=i.getWidth(K,Re),De=ve;rt&&(De+=rt[1]+rt[3]);var ze=i.adjustTextX(Z,De,oe);G&&M(B,V,Y,ze,fe,De,at),rt&&(te=j(Z,oe,rt),J+=rt[0])}V.textAlign=oe,V.textBaseline="middle",V.globalAlpha=Y.opacity||1;for(var dt=0;dt<p.length;dt++){var Me=p[dt],Tt=Me[0],je=Me[1],st=Y[Tt];(!Ae||st!==ye[Tt])&&(V[je]=o(V,je,st||Me[2]))}J+=q/2;var Xe=Y.textStrokeWidth,Je=Ae?ye.textStrokeWidth:null,et=!Ae||Xe!==Je,ot=!Ae||et||Y.textStroke!==ye.textStroke,Ve=W(Y.textStroke,Xe),ue=N(Y.textFill);if(Ve&&(et&&(V.lineWidth=Xe),ot&&(V.strokeStyle=Ve)),ue&&((!Ae||Y.textFill!==ye.textFill)&&(V.fillStyle=ue)),se.length===1)Ve&&V.strokeText(se[0],te,J),ue&&V.fillText(se[0],te,J);else for(var dt=0;dt<se.length;dt++)Ve&&V.strokeText(se[dt],te,J),ue&&V.fillText(se[dt],te,J),J+=q}function _(B,V,K,Y,Q,he){he!==l&&(V.__attrCachedBy=n.NONE);var G=B.__textCotentBlock;(!G||B.__dirtyText)&&(G=B.__textCotentBlock=i.parseRichText(K,Y)),v(B,V,G,Y,Q)}function v(B,V,K,Y,Q){var he=K.width,G=K.outerWidth,ye=K.outerHeight,Ae=Y.textPadding,ge=U(w,B,Y,Q),Pe=ge.baseX,Re=ge.baseY,rt=ge.textAlign,ne=ge.textVerticalAlign;S(V,Y,Q,Pe,Re);var be=i.adjustTextX(Pe,G,rt),at=i.adjustTextY(Re,ye,ne),se=be,q=at;Ae&&(se+=Ae[3],q+=Ae[0]);var X=se+he;L(Y)&&M(B,V,Y,be,at,G,ye);for(var Z=0;Z<K.lines.length;Z++){for(var pe=K.lines[Z],oe=pe.tokens,Ie=oe.length,fe=pe.lineHeight,te=pe.width,J=0,ve=se,De=X,ze=Ie-1,dt;J<Ie&&(dt=oe[J],!dt.textAlign||dt.textAlign==="left");)O(B,V,dt,Y,fe,q,ve,"left"),te-=dt.width,ve+=dt.width,J++;for(;ze>=0&&(dt=oe[ze],dt.textAlign==="right");)O(B,V,dt,Y,fe,q,De,"right"),te-=dt.width,De-=dt.width,ze--;for(ve+=(he-(ve-se)-(X-De)-te)/2;J<=ze;)dt=oe[J],O(B,V,dt,Y,fe,q,ve+dt.width/2,"center"),ve+=dt.width,J++;q+=fe}}function S(B,V,K,Y,Q){if(K&&V.textRotation){var he=V.textOrigin;he==="center"?(Y=K.width/2+K.x,Q=K.height/2+K.y):he&&(Y=he[0]+K.x,Q=he[1]+K.y),B.translate(Y,Q),B.rotate(-V.textRotation),B.translate(-Y,-Q)}}function O(B,V,K,Y,Q,he,G,ye){var Ae=Y.rich[K.styleName]||{};Ae.text=K.text;var ge=K.textVerticalAlign,Pe=he+Q/2;ge==="top"?Pe=he+K.height/2:ge==="bottom"&&(Pe=he+Q-K.height/2),!K.isLineHolder&&L(Ae)&&M(B,V,Ae,ye==="right"?G-K.width:ye==="center"?G-K.width/2:G,Pe-K.height/2,K.width,K.height);var Re=K.textPadding;Re&&(G=j(G,ye,Re),Pe-=K.height/2-Re[2]-K.textHeight/2),z(V,"shadowBlur",b(Ae.textShadowBlur,Y.textShadowBlur,0)),z(V,"shadowColor",Ae.textShadowColor||Y.textShadowColor||"transparent"),z(V,"shadowOffsetX",b(Ae.textShadowOffsetX,Y.textShadowOffsetX,0)),z(V,"shadowOffsetY",b(Ae.textShadowOffsetY,Y.textShadowOffsetY,0)),z(V,"textAlign",ye),z(V,"textBaseline","middle"),z(V,"font",K.font||t);var rt=W(Ae.textStroke||Y.textStroke,be),ne=N(Ae.textFill||Y.textFill),be=f(Ae.textStrokeWidth,Y.textStrokeWidth);rt&&(z(V,"lineWidth",be),z(V,"strokeStyle",rt),V.strokeText(K.text,G,Pe)),ne&&(z(V,"fillStyle",ne),V.fillText(K.text,G,Pe))}function L(B){return!!(B.textBackgroundColor||B.textBorderWidth&&B.textBorderColor)}function M(B,V,K,Y,Q,he,G){var ye=K.textBackgroundColor,Ae=K.textBorderWidth,ge=K.textBorderColor,Pe=h(ye);if(z(V,"shadowBlur",K.textBoxShadowBlur||0),z(V,"shadowColor",K.textBoxShadowColor||"transparent"),z(V,"shadowOffsetX",K.textBoxShadowOffsetX||0),z(V,"shadowOffsetY",K.textBoxShadowOffsetY||0),Pe||Ae&&ge){V.beginPath();var Re=K.textBorderRadius;Re?a.buildPath(V,{x:Y,y:Q,width:he,height:G,r:Re}):V.rect(Y,Q,he,G),V.closePath()}if(Pe)if(z(V,"fillStyle",ye),K.fillOpacity!=null){var rt=V.globalAlpha;V.globalAlpha=K.fillOpacity*K.opacity,V.fill(),V.globalAlpha=rt}else V.fill();else if(u(ye)){var ne=ye.image;ne=r.createOrUpdateImage(ne,null,B,F,ye),ne&&r.isImageReady(ne)&&V.drawImage(ne,Y,Q,he,G)}if(Ae&&ge)if(z(V,"lineWidth",Ae),z(V,"strokeStyle",ge),K.strokeOpacity!=null){var rt=V.globalAlpha;V.globalAlpha=K.strokeOpacity*K.opacity,V.stroke(),V.globalAlpha=rt}else V.stroke()}function F(B,V){V.image=B}function U(B,V,K,Y){var Q=K.x||0,he=K.y||0,G=K.textAlign,ye=K.textVerticalAlign;if(Y){var Ae=K.textPosition;if(Ae instanceof Array)Q=Y.x+H(Ae[0],Y.width),he=Y.y+H(Ae[1],Y.height);else{var ge=V&&V.calculateTextPosition?V.calculateTextPosition(A,K,Y):i.calculateTextPosition(A,K,Y);Q=ge.x,he=ge.y,G=G||ge.textAlign,ye=ye||ge.textVerticalAlign}var Pe=K.textOffset;Pe&&(Q+=Pe[0],he+=Pe[1])}return B=B||{},B.baseX=Q,B.baseY=he,B.textAlign=G,B.textVerticalAlign=ye,B}function z(B,V,K){return B[V]=o(B,V,K),B[V]}function W(B,V){return B==null||V<=0||B==="transparent"||B==="none"?null:B.image||B.colorStops?"#000":B}function N(B){return B==null||B==="none"?null:B.image||B.colorStops?"#000":B}function H(B,V){return typeof B=="string"?B.lastIndexOf("%")>=0?parseFloat(B)/100*V:parseFloat(B):B}function j(B,V,K){return V==="right"?B-K[1]:V==="center"?B+K[3]/2-K[1]/2:B+K[3]}function k(B,V){return B!=null&&(B||V.textBackgroundColor||V.textBorderWidth&&V.textBorderColor||V.textPadding)}I.normalizeTextStyle=C,I.renderText=E,I.getBoxPosition=U,I.getStroke=W,I.getFill=N,I.parsePercent=H,I.needDrawText=k},"q/+u":function(R,I,e){var g=e("ProS"),f=e("9wZj"),b=e("yWXo"),m=e("h8O9");g.extendChartView({type:"scatter",render:function(y,h,u){var i=y.getData(),a=this._updateSymbolDraw(i,y);a.updateData(i,{clipShape:this._getClipShape(y)}),this._finished=!0},incrementalPrepareRender:function(y,h,u){var i=y.getData(),a=this._updateSymbolDraw(i,y);a.incrementalPrepareUpdate(i),this._finished=!1},incrementalRender:function(y,h,u){this._symbolDraw.incrementalUpdate(y,h.getData(),{clipShape:this._getClipShape(h)}),this._finished=y.end===h.getData().count()},updateTransform:function(y,h,u){var i=y.getData();if(this.group.dirty(),!this._finished||i.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var a=m().reset(y);a.progress&&a.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_getClipShape:function(y){var h=y.coordinateSystem,u=h&&h.getArea&&h.getArea();return y.get("clip",!0)?u:null},_updateSymbolDraw:function(y,h){var u=this._symbolDraw,i=h.pipelineContext,a=i.large;return(!u||a!==this._isLargeDraw)&&(u&&u.remove(),u=this._symbolDraw=a?new b:new f,this._isLargeDraw=a,this.group.removeAll()),this.group.add(u.group),u},remove:function(y,h){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(R,I){var e=["lineStyle","normal","opacity"],g={seriesType:"parallel",reset:function(f,b,m){var y=f.getModel("itemStyle"),h=f.getModel("lineStyle"),u=b.get("color"),i=h.get("color")||y.get("color")||u[f.seriesIndex%u.length],a=f.get("inactiveOpacity"),r=f.get("activeOpacity"),o=f.getModel("lineStyle").getLineStyle(),d=f.coordinateSystem,n=f.getData(),l={normal:o.opacity,active:r,inactive:a};n.setVisual("color",i);function t(s,c){d.eachActiveState(c,function(p,A){var w=l[p];if(p==="normal"&&c.hasItemOption){var C=c.getItemModel(A).get(e,!0);C!=null&&(w=C)}c.setItemVisual(A,"opacity",w)},s.start,s.end)}return{progress:t}}};R.exports=g},q4HE:function(R,I){var e="\\ud800-\\udfff",g="\\u0300-\\u036f",f="\\ufe20-\\ufe2f",b="\\u20d0-\\u20ff",m=g+f+b,y="\\ufe0e\\ufe0f",h="["+e+"]",u="["+m+"]",i="\\ud83c[\\udffb-\\udfff]",a="(?:"+u+"|"+i+")",r="[^"+e+"]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",n="\\u200d",l=a+"?",t="["+y+"]?",s="(?:"+n+"(?:"+[r,o,d].join("|")+")"+t+l+")*",c=t+l+s,p="(?:"+[r+u+"?",u,o,d,h].join("|")+")",A=RegExp(i+"(?="+i+")|"+p+c,"g");function w(C){for(var x=A.lastIndex=0;A.test(C);)++x;return x}R.exports=w},q7KB:function(R,I,e){},qH13:function(R,I,e){var g=e("ItGF"),f=e("QBsz"),b=f.applyTransform,m=e("mFDi"),y=e("Qe9p"),h=e("6GrX"),u=e("pzxd"),i=e("ni6a"),a=e("Gev7"),r=e("Dagg"),o=e("dqUG"),d=e("y+Vt"),n=e("IMiH"),l=e("QuXc"),t=e("06Qe"),s=n.CMD,c=Math.round,p=Math.sqrt,A=Math.abs,w=Math.cos,C=Math.sin,x=Math.max;if(!g.canvasSupported){var E=",",T="progid:DXImageTransform.Microsoft",_=21600,v=_/2,S=1e5,O=1e3,L=function(pe){pe.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",pe.coordsize=_+","+_,pe.coordorigin="0,0"},M=function(pe){return String(pe).replace(/&/g,"&amp;").replace(/"/g,"&quot;")},F=function(pe,oe,Ie){return"rgb("+[pe,oe,Ie].join(",")+")"},U=function(pe,oe){oe&&pe&&oe.parentNode!==pe&&pe.appendChild(oe)},z=function(pe,oe){oe&&pe&&oe.parentNode===pe&&pe.removeChild(oe)},W=function(pe,oe,Ie){return(parseFloat(pe)||0)*S+(parseFloat(oe)||0)*O+Ie},N=u.parsePercent,H=function(pe,oe,Ie){var fe=y.parse(oe);Ie=+Ie,isNaN(Ie)&&(Ie=1),fe&&(pe.color=F(fe[0],fe[1],fe[2]),pe.opacity=Ie*fe[3])},j=function(pe){var oe=y.parse(pe);return[F(oe[0],oe[1],oe[2]),oe[3]]},k=function(pe,oe,Ie){var fe=oe.fill;if(fe!=null)if(fe instanceof l){var te,J=0,ve=[0,0],De=0,ze=1,dt=Ie.getBoundingRect(),Me=dt.width,Tt=dt.height;if(fe.type==="linear"){te="gradient";var je=Ie.transform,st=[fe.x*Me,fe.y*Tt],Xe=[fe.x2*Me,fe.y2*Tt];je&&(b(st,st,je),b(Xe,Xe,je));var Je=Xe[0]-st[0],et=Xe[1]-st[1];J=Math.atan2(Je,et)*180/Math.PI,J<0&&(J+=360),J<1e-6&&(J=0)}else{te="gradientradial";var st=[fe.x*Me,fe.y*Tt],je=Ie.transform,ot=Ie.scale,Ve=Me,ue=Tt;ve=[(st[0]-dt.x)/Ve,(st[1]-dt.y)/ue],je&&b(st,st,je),Ve/=ot[0]*_,ue/=ot[1]*_;var ae=x(Ve,ue);De=2*0/ae,ze=2*fe.r/ae-De}var lt=fe.colorStops.slice();lt.sort(function(Ce,Ee){return Ce.offset-Ee.offset});for(var Ze=lt.length,Te=[],Jt=[],mt=0;mt<Ze;mt++){var ft=lt[mt],bt=j(ft.color);Jt.push(ft.offset*ze+De+" "+bt[0]),(mt===0||mt===Ze-1)&&Te.push(bt)}if(Ze>=2){var Lt=Te[0][0],or=Te[1][0],Bt=Te[0][1]*oe.opacity,_e=Te[1][1]*oe.opacity;pe.type=te,pe.method="none",pe.focus="100%",pe.angle=J,pe.color=Lt,pe.color2=or,pe.colors=Jt.join(","),pe.opacity=_e,pe.opacity2=Bt}te==="radial"&&(pe.focusposition=ve.join(","))}else H(pe,fe,oe.opacity)},B=function(pe,oe){oe.lineDash&&(pe.dashstyle=oe.lineDash.join(" ")),oe.stroke!=null&&!(oe.stroke instanceof l)&&H(pe,oe.stroke,oe.opacity)},V=function(pe,oe,Ie,fe){var te=oe==="fill",J=pe.getElementsByTagName(oe)[0];Ie[oe]!=null&&Ie[oe]!=="none"&&(te||!te&&Ie.lineWidth)?(pe[te?"filled":"stroked"]="true",Ie[oe]instanceof l&&z(pe,J),J||(J=t.createNode(oe)),te?k(J,Ie,fe):B(J,Ie),U(pe,J)):(pe[te?"filled":"stroked"]="false",z(pe,J))},K=[[],[],[]],Y=function(pe,oe){var Ie=s.M,fe=s.C,te=s.L,J=s.A,ve=s.Q,De=[],ze,dt,Me,Tt,je,st,Xe=pe.data,Je=pe.len();for(Tt=0;Tt<Je;){Me=Xe[Tt++],dt="",ze=0;switch(Me){case Ie:dt=" m ",ze=1,je=Xe[Tt++],st=Xe[Tt++],K[0][0]=je,K[0][1]=st;break;case te:dt=" l ",ze=1,je=Xe[Tt++],st=Xe[Tt++],K[0][0]=je,K[0][1]=st;break;case ve:case fe:dt=" c ",ze=3;var et=Xe[Tt++],ot=Xe[Tt++],Ve=Xe[Tt++],ue=Xe[Tt++],ae,lt;Me===ve?(ae=Ve,lt=ue,Ve=(Ve+2*et)/3,ue=(ue+2*ot)/3,et=(je+2*et)/3,ot=(st+2*ot)/3):(ae=Xe[Tt++],lt=Xe[Tt++]),K[0][0]=et,K[0][1]=ot,K[1][0]=Ve,K[1][1]=ue,K[2][0]=ae,K[2][1]=lt,je=ae,st=lt;break;case J:var Ze=0,Te=0,Jt=1,mt=1,ft=0;oe&&(Ze=oe[4],Te=oe[5],Jt=p(oe[0]*oe[0]+oe[1]*oe[1]),mt=p(oe[2]*oe[2]+oe[3]*oe[3]),ft=Math.atan2(-oe[1]/mt,oe[0]/Jt));var bt=Xe[Tt++],Lt=Xe[Tt++],or=Xe[Tt++],Bt=Xe[Tt++],_e=Xe[Tt++]+ft,Ce=Xe[Tt++]+_e+ft;Tt++;var Ee=Xe[Tt++],we=bt+w(_e)*or,Fe=Lt+C(_e)*Bt,et=bt+w(Ce)*or,ot=Lt+C(Ce)*Bt,Ye=Ee?" wa ":" at ";Math.abs(we-et)<1e-4&&(Math.abs(Ce-_e)>.01?Ee&&(we+=270/_):Math.abs(Fe-Lt)<1e-4?Ee&&we<bt||!Ee&&we>bt?ot-=270/_:ot+=270/_:Ee&&Fe<Lt||!Ee&&Fe>Lt?et+=270/_:et-=270/_),De.push(Ye,c(((bt-or)*Jt+Ze)*_-v),E,c(((Lt-Bt)*mt+Te)*_-v),E,c(((bt+or)*Jt+Ze)*_-v),E,c(((Lt+Bt)*mt+Te)*_-v),E,c((we*Jt+Ze)*_-v),E,c((Fe*mt+Te)*_-v),E,c((et*Jt+Ze)*_-v),E,c((ot*mt+Te)*_-v)),je=et,st=ot;break;case s.R:var Ge=K[0],qe=K[1];Ge[0]=Xe[Tt++],Ge[1]=Xe[Tt++],qe[0]=Ge[0]+Xe[Tt++],qe[1]=Ge[1]+Xe[Tt++],oe&&(b(Ge,Ge,oe),b(qe,qe,oe)),Ge[0]=c(Ge[0]*_-v),qe[0]=c(qe[0]*_-v),Ge[1]=c(Ge[1]*_-v),qe[1]=c(qe[1]*_-v),De.push(" m ",Ge[0],E,Ge[1]," l ",qe[0],E,Ge[1]," l ",qe[0],E,qe[1]," l ",Ge[0],E,qe[1]);break;case s.Z:De.push(" x ")}if(ze>0){De.push(dt);for(var Ke=0;Ke<ze;Ke++){var ut=K[Ke];oe&&b(ut,ut,oe),De.push(c(ut[0]*_-v),E,c(ut[1]*_-v),Ke<ze-1?E:"")}}}return De.join("")};d.prototype.brushVML=function(Z){var pe=this.style,oe=this._vmlEl;oe||(oe=t.createNode("shape"),L(oe),this._vmlEl=oe),V(oe,"fill",pe,this),V(oe,"stroke",pe,this);var Ie=this.transform,fe=Ie!=null,te=oe.getElementsByTagName("stroke")[0];if(te){var J=pe.lineWidth;if(fe&&!pe.strokeNoScale){var ve=Ie[0]*Ie[3]-Ie[1]*Ie[2];J*=p(A(ve))}te.weight=J+"px"}var De=this.path||(this.path=new n);this.__dirtyPath&&(De.beginPath(),De.subPixelOptimize=!1,this.buildPath(De,this.shape),De.toStatic(),this.__dirtyPath=!1),oe.path=Y(De,this.transform),oe.style.zIndex=W(this.zlevel,this.z,this.z2),U(Z,oe),pe.text!=null?this.drawRectText(Z,this.getBoundingRect()):this.removeRectText(Z)},d.prototype.onRemove=function(Z){z(Z,this._vmlEl),this.removeRectText(Z)},d.prototype.onAdd=function(Z){U(Z,this._vmlEl),this.appendRectText(Z)};var Q=function(pe){return typeof pe=="object"&&pe.tagName&&pe.tagName.toUpperCase()==="IMG"};r.prototype.brushVML=function(Z){var pe=this.style,oe=pe.image,Ie,fe;if(Q(oe)){var te=oe.src;if(te===this._imageSrc)Ie=this._imageWidth,fe=this._imageHeight;else{var J=oe.runtimeStyle,ve=J.width,De=J.height;J.width="auto",J.height="auto",Ie=oe.width,fe=oe.height,J.width=ve,J.height=De,this._imageSrc=te,this._imageWidth=Ie,this._imageHeight=fe}oe=te}else oe===this._imageSrc&&(Ie=this._imageWidth,fe=this._imageHeight);if(!oe)return;var ze=pe.x||0,dt=pe.y||0,Me=pe.width,Tt=pe.height,je=pe.sWidth,st=pe.sHeight,Xe=pe.sx||0,Je=pe.sy||0,et=je&&st,ot=this._vmlEl;ot||(ot=t.doc.createElement("div"),L(ot),this._vmlEl=ot);var Ve=ot.style,ue=!1,ae,lt=1,Ze=1;if(this.transform&&(ae=this.transform,lt=p(ae[0]*ae[0]+ae[1]*ae[1]),Ze=p(ae[2]*ae[2]+ae[3]*ae[3]),ue=ae[1]||ae[2]),ue){var Te=[ze,dt],Jt=[ze+Me,dt],mt=[ze,dt+Tt],ft=[ze+Me,dt+Tt];b(Te,Te,ae),b(Jt,Jt,ae),b(mt,mt,ae),b(ft,ft,ae);var bt=x(Te[0],Jt[0],mt[0],ft[0]),Lt=x(Te[1],Jt[1],mt[1],ft[1]),or=[];or.push("M11=",ae[0]/lt,E,"M12=",ae[2]/Ze,E,"M21=",ae[1]/lt,E,"M22=",ae[3]/Ze,E,"Dx=",c(ze*lt+ae[4]),E,"Dy=",c(dt*Ze+ae[5])),Ve.padding="0 "+c(bt)+"px "+c(Lt)+"px 0",Ve.filter=T+".Matrix("+or.join("")+", SizingMethod=clip)"}else ae&&(ze=ze*lt+ae[4],dt=dt*Ze+ae[5]),Ve.filter="",Ve.left=c(ze)+"px",Ve.top=c(dt)+"px";var Bt=this._imageEl,_e=this._cropEl;Bt||(Bt=t.doc.createElement("div"),this._imageEl=Bt);var Ce=Bt.style;if(et){if(Ie&&fe)Ce.width=c(lt*Ie*Me/je)+"px",Ce.height=c(Ze*fe*Tt/st)+"px";else{var Ee=new Image,we=this;Ee.onload=function(){Ee.onload=null,Ie=Ee.width,fe=Ee.height,Ce.width=c(lt*Ie*Me/je)+"px",Ce.height=c(Ze*fe*Tt/st)+"px",we._imageWidth=Ie,we._imageHeight=fe,we._imageSrc=oe},Ee.src=oe}_e||(_e=t.doc.createElement("div"),_e.style.overflow="hidden",this._cropEl=_e);var Fe=_e.style;Fe.width=c((Me+Xe*Me/je)*lt),Fe.height=c((Tt+Je*Tt/st)*Ze),Fe.filter=T+".Matrix(Dx="+-Xe*Me/je*lt+",Dy="+-Je*Tt/st*Ze+")",_e.parentNode||ot.appendChild(_e),Bt.parentNode!==_e&&_e.appendChild(Bt)}else Ce.width=c(lt*Me)+"px",Ce.height=c(Ze*Tt)+"px",ot.appendChild(Bt),_e&&_e.parentNode&&(ot.removeChild(_e),this._cropEl=null);var Ye="",Ge=pe.opacity;Ge<1&&(Ye+=".Alpha(opacity="+c(Ge*100)+") "),Ye+=T+".AlphaImageLoader(src="+oe+", SizingMethod=scale)",Ce.filter=Ye,ot.style.zIndex=W(this.zlevel,this.z,this.z2),U(Z,ot),pe.text!=null&&this.drawRectText(Z,this.getBoundingRect())},r.prototype.onRemove=function(Z){z(Z,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(Z)},r.prototype.onAdd=function(Z){U(Z,this._vmlEl),this.appendRectText(Z)};var he="normal",G={},ye=0,Ae=100,ge=document.createElement("div"),Pe=function(pe){var oe=G[pe];if(!oe){ye>Ae&&(ye=0,G={});var Ie=ge.style,fe;try{Ie.font=pe,fe=Ie.fontFamily.split(",")[0]}catch(te){}oe={style:Ie.fontStyle||he,variant:Ie.fontVariant||he,weight:Ie.fontWeight||he,size:parseFloat(Ie.fontSize||12)|0,family:fe||"Microsoft YaHei"},G[pe]=oe,ye++}return oe},Re;h.$override("measureText",function(Z,pe){var oe=t.doc;Re||(Re=oe.createElement("div"),Re.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",t.doc.body.appendChild(Re));try{Re.style.font=pe}catch(Ie){}return Re.innerHTML="",Re.appendChild(oe.createTextNode(Z)),{width:Re.offsetWidth}});for(var rt=new m,ne=function(pe,oe,Ie,fe){var te=this.style;this.__dirty&&u.normalizeTextStyle(te,!0);var J=te.text;if(J!=null&&(J+=""),!J)return;if(te.rich){var ve=h.parseRichText(J,te);J=[];for(var De=0;De<ve.lines.length;De++){for(var ze=ve.lines[De].tokens,dt=[],Me=0;Me<ze.length;Me++)dt.push(ze[Me].text);J.push(dt.join(""))}J=J.join(`
`)}var Tt,je,st=te.textAlign,Xe=te.textVerticalAlign,Je=Pe(te.font),et=Je.style+" "+Je.variant+" "+Je.weight+" "+Je.size+'px "'+Je.family+'"';Ie=Ie||h.getBoundingRect(J,et,st,Xe,te.textPadding,te.textLineHeight);var ot=this.transform;if(ot&&!fe&&(rt.copy(oe),rt.applyTransform(ot),oe=rt),fe)Tt=oe.x,je=oe.y;else{var Ve=te.textPosition;if(Ve instanceof Array)Tt=oe.x+N(Ve[0],oe.width),je=oe.y+N(Ve[1],oe.height),st=st||"left";else{var ue=this.calculateTextPosition?this.calculateTextPosition({},te,oe):h.calculateTextPosition({},te,oe);Tt=ue.x,je=ue.y,st=st||ue.textAlign,Xe=Xe||ue.textVerticalAlign}}Tt=h.adjustTextX(Tt,Ie.width,st),je=h.adjustTextY(je,Ie.height,Xe),je+=Ie.height/2;var ae=t.createNode,lt=this._textVmlEl,Ze,Te,Jt;lt?(Jt=lt.firstChild,Ze=Jt.nextSibling,Te=Ze.nextSibling):(lt=ae("line"),Ze=ae("path"),Te=ae("textpath"),Jt=ae("skew"),Te.style["v-text-align"]="left",L(lt),Ze.textpathok=!0,Te.on=!0,lt.from="0 0",lt.to="1000 0.05",U(lt,Jt),U(lt,Ze),U(lt,Te),this._textVmlEl=lt);var mt=[Tt,je],ft=lt.style;ot&&fe?(b(mt,mt,ot),Jt.on=!0,Jt.matrix=ot[0].toFixed(3)+E+ot[2].toFixed(3)+E+ot[1].toFixed(3)+E+ot[3].toFixed(3)+",0,0",Jt.offset=(c(mt[0])||0)+","+(c(mt[1])||0),Jt.origin="0 0",ft.left="0px",ft.top="0px"):(Jt.on=!1,ft.left=c(Tt)+"px",ft.top=c(je)+"px"),Te.string=M(J);try{Te.style.font=et}catch(bt){}V(lt,"fill",{fill:te.textFill,opacity:te.opacity},this),V(lt,"stroke",{stroke:te.textStroke,opacity:te.opacity,lineDash:te.lineDash||null},this),lt.style.zIndex=W(this.zlevel,this.z,this.z2),U(pe,lt)},be=function(pe){z(pe,this._textVmlEl),this._textVmlEl=null},at=function(pe){U(pe,this._textVmlEl)},se=[i,a,r,d,o],q=0;q<se.length;q++){var X=se[q].prototype;X.drawRectText=ne,X.removeRectText=be,X.appendRectText=at}o.prototype.brushVML=function(Z){var pe=this.style;pe.text!=null?this.drawRectText(Z,{x:pe.x||0,y:pe.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(Z)},o.prototype.onRemove=function(Z){this.removeRectText(Z)},o.prototype.onAdd=function(Z){this.appendRectText(Z)}}},qJCg:function(R,I,e){var g=e("BlVb"),f=e("mFDi"),b=e("IwbS"),m=b.linePolygonIntersect,y={lineX:h(0),lineY:h(1),rect:{point:function(a,r,o){return a&&o.boundingRect.contain(a[0],a[1])},rect:function(a,r,o){return a&&o.boundingRect.intersect(a)}},polygon:{point:function(a,r,o){return a&&o.boundingRect.contain(a[0],a[1])&&g.contain(o.range,a[0],a[1])},rect:function(a,r,o){var d=o.range;if(!a||d.length<=1)return!1;var n=a.x,l=a.y,t=a.width,s=a.height,c=d[0];if(g.contain(d,n,l)||g.contain(d,n+t,l)||g.contain(d,n,l+s)||g.contain(d,n+t,l+s)||f.create(a).contain(c[0],c[1])||m(n,l,n+t,l,d)||m(n,l,n,l+s,d)||m(n+t,l,n+t,l+s,d)||m(n,l+s,n+t,l+s,d))return!0}}};function h(a){var r=["x","y"],o=["width","height"];return{point:function(d,n,l){if(d){var t=l.range,s=d[a];return u(s,t)}},rect:function(d,n,l){if(d){var t=l.range,s=[d[r[a]],d[r[a]]+d[o[a]]];return s[1]<s[0]&&s.reverse(),u(s[0],t)||u(s[1],t)||u(t[0],s)||u(t[1],s)}}}}function u(a,r){return r[0]<=a&&a<=r[1]}var i=y;R.exports=i},qMZE:function(R,I,e){var g=e("JEkh"),f=g.extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}});R.exports=f},qNPg:function(R,I,e){"use strict";e.d(I,"a",function(){return K});var g=e("rePB"),f=e("VTBJ"),b=e("KQm4"),m=e("ODXe"),y=e("Ff2n"),h=e("q1tI"),u=e("4IlW"),i=e("TSYQ"),a=e.n(i),r=e("6cGi"),o=e("bX4T"),d=e("8XRh"),n=e("8OUc"),l=e("c+Xe"),t=function(Q,he){var G=Q.prefixCls,ye=Q.id,Ae=Q.inputElement,ge=Q.disabled,Pe=Q.tabIndex,Re=Q.autoFocus,rt=Q.autoComplete,ne=Q.editable,be=Q.accessibilityIndex,at=Q.value,se=Q.onKeyDown,q=Q.onMouseDown,X=Q.onChange,Z=Q.onPaste,pe=Q.onCompositionStart,oe=Q.onCompositionEnd,Ie=Q.open,fe=Q.attrs,te=Ae||h.createElement("input",null),J=te,ve=J.ref,De=J.props,ze=De.onKeyDown,dt=De.onChange,Me=De.onMouseDown,Tt=De.onCompositionStart,je=De.onCompositionEnd,st=De.style;return te=h.cloneElement(te,Object(f.a)(Object(f.a)({id:ye,ref:Object(l.a)(he,ve),disabled:ge,tabIndex:Pe,autoComplete:rt||"off",autoFocus:Re,className:"".concat(G,"-selection-search-input"),style:Object(f.a)(Object(f.a)({},st),{},{opacity:ne?null:0}),role:"combobox","aria-expanded":Ie,"aria-haspopup":"listbox","aria-owns":"".concat(ye,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(ye,"_list"),"aria-activedescendant":"".concat(ye,"_list_").concat(be)},fe),{},{value:ne?at:"",readOnly:!ne,unselectable:ne?null:"on",onKeyDown:function(Je){se(Je),ze&&ze(Je)},onMouseDown:function(Je){q(Je),Me&&Me(Je)},onChange:function(Je){X(Je),dt&&dt(Je)},onCompositionStart:function(Je){pe(Je),Tt&&Tt(Je)},onCompositionEnd:function(Je){oe(Je),je&&je(Je)},onPaste:Z})),te},s=h.forwardRef(t);s.displayName="Input";var c=s,p=e("WKfj");function A(Y,Q){p.b?h.useLayoutEffect(Y,Q):h.useEffect(Y,Q)}var w="__RC_SELECT_MAX_REST_COUNT__",C=function(Q){var he=Q.id,G=Q.prefixCls,ye=Q.values,Ae=Q.open,ge=Q.searchValue,Pe=Q.inputRef,Re=Q.placeholder,rt=Q.disabled,ne=Q.mode,be=Q.showSearch,at=Q.autoFocus,se=Q.autoComplete,q=Q.accessibilityIndex,X=Q.tabIndex,Z=Q.removeIcon,pe=Q.choiceTransitionName,oe=Q.maxTagCount,Ie=Q.maxTagTextLength,fe=Q.maxTagPlaceholder,te=fe===void 0?function(bt){return"+ ".concat(bt.length," ...")}:fe,J=Q.tagRender,ve=Q.onSelect,De=Q.onInputChange,ze=Q.onInputPaste,dt=Q.onInputKeyDown,Me=Q.onInputMouseDown,Tt=Q.onInputCompositionStart,je=Q.onInputCompositionEnd,st=h.useState(!1),Xe=Object(m.a)(st,2),Je=Xe[0],et=Xe[1],ot=h.useRef(null),Ve=h.useState(0),ue=Object(m.a)(Ve,2),ae=ue[0],lt=ue[1];h.useEffect(function(){et(!0)},[]);var Ze=Ae||ne==="tags"?ge:"",Te=ne==="tags"||Ae&&be;A(function(){lt(ot.current.scrollWidth)},[Ze]);var Jt=ye,mt;typeof oe=="number"&&(mt=ye.length-oe,Jt=ye.slice(0,oe)),typeof Ie=="number"&&(Jt=Jt.map(function(bt){var Lt=bt.label,or=Object(y.a)(bt,["label"]),Bt=Lt;if(typeof Lt=="string"||typeof Lt=="number"){var _e=String(Bt);_e.length>Ie&&(Bt="".concat(_e.slice(0,Ie),"..."))}return Object(f.a)(Object(f.a)({},or),{},{label:Bt})})),mt>0&&Jt.push({key:w,label:typeof te=="function"?te(ye.slice(oe)):te});var ft=h.createElement(d.CSSMotionList,{component:!1,keys:Jt,motionName:pe,motionAppear:Je},function(bt){var Lt=bt.key,or=bt.label,Bt=bt.value,_e=bt.disabled,Ce=bt.className,Ee=bt.style,we=Lt||Bt,Fe=Lt!==w&&!_e,Ye=function(Ke){Ke.preventDefault(),Ke.stopPropagation()},Ge=function(Ke){Ke&&Ke.stopPropagation(),ve(Bt,{selected:!1})};return typeof J=="function"?h.createElement("span",{key:we,onMouseDown:Ye,className:Ce,style:Ee},J({label:or,value:Bt,disabled:_e,closable:Fe,onClose:Ge})):h.createElement("span",{key:we,className:a()(Ce,"".concat(G,"-selection-item"),Object(g.a)({},"".concat(G,"-selection-item-disabled"),_e)),style:Ee},h.createElement("span",{className:"".concat(G,"-selection-item-content")},or),Fe&&h.createElement(n.a,{className:"".concat(G,"-selection-item-remove"),onMouseDown:Ye,onClick:Ge,customizeIcon:Z},"\xD7"))});return h.createElement(h.Fragment,null,ft,h.createElement("span",{className:"".concat(G,"-selection-search"),style:{width:ae}},h.createElement(c,{ref:Pe,open:Ae,prefixCls:G,id:he,inputElement:null,disabled:rt,autoFocus:at,autoComplete:se,editable:Te,accessibilityIndex:q,value:Ze,onKeyDown:dt,onMouseDown:Me,onChange:De,onPaste:ze,onCompositionStart:Tt,onCompositionEnd:je,tabIndex:X,attrs:Object(o.a)(Q,!0)}),h.createElement("span",{ref:ot,className:"".concat(G,"-selection-search-mirror"),"aria-hidden":!0},Ze,"\xA0")),!ye.length&&!Ze&&h.createElement("span",{className:"".concat(G,"-selection-placeholder")},Re))},x=C,E=function(Q){var he=Q.inputElement,G=Q.prefixCls,ye=Q.id,Ae=Q.inputRef,ge=Q.disabled,Pe=Q.autoFocus,Re=Q.autoComplete,rt=Q.accessibilityIndex,ne=Q.mode,be=Q.open,at=Q.values,se=Q.placeholder,q=Q.tabIndex,X=Q.showSearch,Z=Q.searchValue,pe=Q.activeValue,oe=Q.onInputKeyDown,Ie=Q.onInputMouseDown,fe=Q.onInputChange,te=Q.onInputPaste,J=Q.onInputCompositionStart,ve=Q.onInputCompositionEnd,De=h.useState(!1),ze=Object(m.a)(De,2),dt=ze[0],Me=ze[1],Tt=ne==="combobox",je=Tt||X&&be,st=at[0],Xe=Z||"";Tt&&pe&&!dt&&(Xe=pe),h.useEffect(function(){Tt&&Me(!1)},[Tt,pe]);var Je=ne!=="combobox"&&!be?!1:!!Xe,et=st&&(typeof st.label=="string"||typeof st.label=="number")?st.label.toString():void 0;return h.createElement(h.Fragment,null,h.createElement("span",{className:"".concat(G,"-selection-search")},h.createElement(c,{ref:Ae,prefixCls:G,id:ye,open:be,inputElement:he,disabled:ge,autoFocus:Pe,autoComplete:Re,editable:je,accessibilityIndex:rt,value:Xe,onKeyDown:oe,onMouseDown:Ie,onChange:function(Ve){Me(!0),fe(Ve)},onPaste:te,onCompositionStart:J,onCompositionEnd:ve,tabIndex:q,attrs:Object(o.a)(Q,!0)})),!Tt&&st&&!Je&&h.createElement("span",{className:"".concat(G,"-selection-item"),title:et},st.label),!st&&!Je&&h.createElement("span",{className:"".concat(G,"-selection-placeholder")},se))},T=E;function _(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Q=h.useRef(null),he=h.useRef(null);h.useEffect(function(){return function(){window.clearTimeout(he.current)}},[]);function G(ye){(ye||Q.current===null)&&(Q.current=ye),window.clearTimeout(he.current),he.current=window.setTimeout(function(){Q.current=null},Y)}return[function(){return Q.current},G]}var v=function(Q,he){var G=Object(h.useRef)(null),ye=Object(h.useRef)(!1),Ae=Q.prefixCls,ge=Q.multiple,Pe=Q.open,Re=Q.mode,rt=Q.showSearch,ne=Q.tokenWithEnter,be=Q.onSearch,at=Q.onSearchSubmit,se=Q.onToggleOpen,q=Q.onInputKeyDown,X=Q.domRef;h.useImperativeHandle(he,function(){return{focus:function(){G.current.focus()},blur:function(){G.current.blur()}}});var Z=_(0),pe=Object(m.a)(Z,2),oe=pe[0],Ie=pe[1],fe=function(Je){var et=Je.which;(et===u.a.UP||et===u.a.DOWN)&&Je.preventDefault(),q&&q(Je),et===u.a.ENTER&&Re==="tags"&&!ye.current&&!Pe&&at(Je.target.value),[u.a.SHIFT,u.a.TAB,u.a.BACKSPACE,u.a.ESC].includes(et)||se(!0)},te=function(){Ie(!0)},J=Object(h.useRef)(null),ve=function(Je){be(Je,!0,ye.current)!==!1&&se(!0)},De=function(){ye.current=!0},ze=function(){ye.current=!1},dt=function(Je){var et=Je.target.value;if(ne&&J.current&&/[\r\n]/.test(J.current)){var ot=J.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");et=et.replace(ot,J.current)}J.current=null,ve(et)},Me=function(Je){var et=Je.clipboardData,ot=et.getData("text");J.current=ot},Tt=function(Je){var et=oe();if(Je.target!==G.current){et||Je.preventDefault();var ot=document.body.style.msTouchAction!==void 0;ot?setTimeout(function(){G.current.focus()}):G.current.focus()}(Re!=="combobox"&&(!rt||!et)||!Pe)&&(Pe&&be("",!0,!1),se())},je={inputRef:G,onInputKeyDown:fe,onInputMouseDown:te,onInputChange:dt,onInputPaste:Me,onInputCompositionStart:De,onInputCompositionEnd:ze},st=ge?h.createElement(x,Object.assign({},Q,je)):h.createElement(T,Object.assign({},Q,je));return h.createElement("div",{ref:X,className:"".concat(Ae,"-selector"),onMouseDown:Tt},st)},S=h.forwardRef(v);S.displayName="Selector";var O=S,L=e("uciX"),M=function(Q){var he=typeof Q!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:he,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:he,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:he,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:he,adjustY:1}}}},F=function(Q,he){var G=Q.prefixCls,ye=Q.disabled,Ae=Q.visible,ge=Q.children,Pe=Q.popupElement,Re=Q.containerWidth,rt=Q.animation,ne=Q.transitionName,be=Q.dropdownStyle,at=Q.dropdownClassName,se=Q.direction,q=se===void 0?"ltr":se,X=Q.dropdownMatchSelectWidth,Z=X===void 0?!0:X,pe=Q.dropdownRender,oe=Q.dropdownAlign,Ie=Q.getPopupContainer,fe=Q.empty,te=Q.getTriggerDOMNode,J=Object(y.a)(Q,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),ve="".concat(G,"-dropdown"),De=Pe;pe&&(De=pe(Pe));var ze=h.useMemo(function(){return M(Z)},[Z]),dt=rt?"".concat(ve,"-").concat(rt):ne,Me=h.useRef(null);h.useImperativeHandle(he,function(){return{getPopupElement:function(){return Me.current}}});var Tt=Object(f.a)({minWidth:Re},be);return typeof Z=="number"?Tt.width=Z:Z&&(Tt.width=Re),h.createElement(L.a,Object.assign({},J,{showAction:[],hideAction:[],popupPlacement:q==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:ze,prefixCls:ve,popupTransitionName:dt,popup:h.createElement("div",{ref:Me},De),popupAlign:oe,popupVisible:Ae,getPopupContainer:Ie,popupClassName:a()(at,Object(g.a)({},"".concat(ve,"-empty"),fe)),popupStyle:Tt,getTriggerDOMNode:te}),ge)},U=h.forwardRef(F);U.displayName="SelectTrigger";var z=U,W=e("wPlo");function N(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Q=h.useState(!1),he=Object(m.a)(Q,2),G=he[0],ye=he[1],Ae=h.useRef(null),ge=function(){window.clearTimeout(Ae.current)};h.useEffect(function(){return ge},[]);var Pe=function(rt,ne){ge(),Ae.current=window.setTimeout(function(){ye(rt),ne&&ne()},Y)};return[G,Pe,ge]}var H=e("2Qr1");function j(Y,Q,he){var G=h.useRef(null);G.current={elements:Y.filter(function(ye){return ye}),open:Q,triggerOpen:he},h.useEffect(function(){function ye(Ae){var ge=Ae.target;G.current.open&&G.current.elements.every(function(Pe){return!Pe.contains(ge)&&Pe!==ge})&&G.current.triggerOpen(!1)}return window.addEventListener("mousedown",ye),function(){return window.removeEventListener("mousedown",ye)}},[])}function k(Y){var Q=h.useRef(Y),he=h.useMemo(function(){var G=new Map;Q.current.forEach(function(Ae){var ge=Ae.value,Pe=Ae.label;ge!==Pe&&G.set(ge,Pe)});var ye=Y.map(function(Ae){var ge=G.get(Ae.value);return Ae.value===Ae.label&&ge?Object(f.a)(Object(f.a)({},Ae),{},{label:ge}):Ae});return Q.current=ye,ye},[Y]);return he}function B(Y,Q){var he=h.useRef(null),G=h.useMemo(function(){var Ae=new Map;return Q.forEach(function(ge){var Pe=ge.data.value;Ae.set(Pe,ge)}),Ae},[Y,Q]);he.current=G;var ye=function(ge){return ge.map(function(Pe){return he.current.get(Pe)}).filter(Boolean)};return ye}var V=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function K(Y){var Q=Y.prefixCls,he=Y.components.optionList,G=Y.convertChildrenToData,ye=Y.flattenOptions,Ae=Y.getLabeledValue,ge=Y.filterOptions,Pe=Y.isValueDisabled,Re=Y.findValueOption,rt=Y.warningProps,ne=Y.fillOptionsWithMissingValue,be=Y.omitDOMProps;function at(q,X){var Z,pe=q.prefixCls,oe=pe===void 0?Q:pe,Ie=q.className,fe=q.id,te=q.open,J=q.defaultOpen,ve=q.options,De=q.children,ze=q.mode,dt=q.value,Me=q.defaultValue,Tt=q.labelInValue,je=q.showSearch,st=q.inputValue,Xe=q.searchValue,Je=q.filterOption,et=q.optionFilterProp,ot=et===void 0?"value":et,Ve=q.autoClearSearchValue,ue=Ve===void 0?!0:Ve,ae=q.onSearch,lt=q.allowClear,Ze=q.clearIcon,Te=q.showArrow,Jt=q.inputIcon,mt=q.menuItemSelectedIcon,ft=q.disabled,bt=q.loading,Lt=q.defaultActiveFirstOption,or=q.notFoundContent,Bt=or===void 0?"Not Found":or,_e=q.optionLabelProp,Ce=q.backfill,Ee=q.getInputElement,we=q.getPopupContainer,Fe=q.listHeight,Ye=Fe===void 0?200:Fe,Ge=q.listItemHeight,qe=Ge===void 0?20:Ge,Ke=q.animation,ut=q.transitionName,wt=q.virtual,It=q.dropdownStyle,de=q.dropdownClassName,xe=q.dropdownMatchSelectWidth,$=q.dropdownRender,le=q.dropdownAlign,Oe=q.showAction,ke=Oe===void 0?[]:Oe,Ue=q.direction,nt=q.tokenSeparators,At=q.tagRender,Wt=q.onPopupScroll,$t=q.onDropdownVisibleChange,Rt=q.onFocus,zt=q.onBlur,Gt=q.onKeyUp,Qt=q.onKeyDown,Mt=q.onMouseDown,dr=q.onChange,er=q.onSelect,ht=q.onDeselect,Et=q.onClear,pt=q.internalProps,vt=pt===void 0?{}:pt,Nt=Object(y.a)(q,["prefixCls","className","id","open","defaultOpen","options","children","mode","value","defaultValue","labelInValue","showSearch","inputValue","searchValue","filterOption","optionFilterProp","autoClearSearchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","menuItemSelectedIcon","disabled","loading","defaultActiveFirstOption","notFoundContent","optionLabelProp","backfill","getInputElement","getPopupContainer","listHeight","listItemHeight","animation","transitionName","virtual","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown","onChange","onSelect","onDeselect","onClear","internalProps"]),_t=vt.mark===W.a,gt=be?be(Nt):Nt;V.forEach(function(Rn){delete gt[Rn]});var Ht=Object(h.useRef)(null),kt=Object(h.useRef)(null),ir=Object(h.useRef)(null),Xt=Object(h.useRef)(null),mr=Object(h.useMemo)(function(){return(nt||[]).some(function(Rn){return[`
`,`\r
`].includes(Rn)})},[nt]),Ar=N(),Nr=Object(m.a)(Ar,3),kr=Nr[0],tn=Nr[1],qr=Nr[2],_r=Object(h.useState)(),Qr=Object(m.a)(_r,2),Ir=Qr[0],cr=Qr[1];Object(h.useEffect)(function(){cr("rc_select_".concat(Object(p.a)()))},[]);var pr=fe||Ir,ur=_e;ur===void 0&&(ur=ve?"label":"children");var fr=ze==="combobox"?!1:Tt,xr=ze==="tags"||ze==="multiple",Yr=je!==void 0?je:xr||ze==="combobox",cn=Object(h.useRef)(null);h.useImperativeHandle(X,function(){return{focus:ir.current.focus,blur:ir.current.blur}});var Nn=Object(r.a)(Me,{value:dt}),jr=Object(m.a)(Nn,2),Tn=jr[0],gn=jr[1],Pn=Object(h.useMemo)(function(){return Object(p.e)(Tn,{labelInValue:fr,combobox:ze==="combobox"})},[Tn,fr]),Kn=Object(h.useMemo)(function(){return new Set(Pn)},[Pn]),qn=Object(h.useState)(null),Yn=Object(m.a)(qn,2),Vn=Yn[0],An=Yn[1],on=Object(h.useState)(""),ia=Object(m.a)(on,2),xa=ia[0],ta=ia[1],Ii=xa;ze==="combobox"&&Tn!==void 0?Ii=Tn:Xe!==void 0?Ii=Xe:st&&(Ii=st);var Ci=Object(h.useMemo)(function(){var Rn=ve;return Rn===void 0&&(Rn=G(De)),ze==="tags"&&ne&&(Rn=ne(Rn,Tn,ur,Tt)),Rn||[]},[ve,De,ze,Tn]),Gn=Object(h.useMemo)(function(){return ye(Ci,q)},[Ci]),Oa=B(Pn,Gn),mn=Object(h.useMemo)(function(){if(!Ii||!Yr)return Object(b.a)(Ci);var Rn=ge(Ii,Ci,{optionFilterProp:ot,filterOption:ze==="combobox"&&Je===void 0?function(){return!0}:Je});return ze==="tags"&&Rn.every(function(En){return En[ot]!==Ii})&&Rn.unshift({value:Ii,label:Ii,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Rn},[Ci,Ii,ze,Yr]),On=Object(h.useMemo)(function(){return ye(mn,q)},[mn]);Object(h.useEffect)(function(){Xt.current&&Xt.current.scrollTo&&Xt.current.scrollTo(0)},[Ii]);var _n=Object(h.useMemo)(function(){var Rn=Pn.map(function(En){var Ln=Oa([En]),Xn=Ae(En,{options:Ln,prevValue:Tn,labelInValue:fr,optionLabelProp:ur});return Object(f.a)(Object(f.a)({},Xn),{},{disabled:Pe(En,Ln)})});return!ze&&Rn.length===1&&Rn[0].value===null&&Rn[0].label===null?[]:Rn},[Tn,Ci,ze]);_n=k(_n);var In=function(En,Ln,Xn){var ai=Oa([En]),ri=Re([En],ai)[0];if(!vt.skipTriggerSelect){var Di=fr?Ae(En,{options:ai,prevValue:Tn,labelInValue:fr,optionLabelProp:ur}):En;Ln&&er?er(Di,ri):!Ln&&ht&&ht(Di,ri)}_t&&(Ln&&vt.onRawSelect?vt.onRawSelect(En,ri,Xn):!Ln&&vt.onRawDeselect&&vt.onRawDeselect(En,ri,Xn))},jn=Object(h.useState)([]),ni=Object(m.a)(jn,2),di=ni[0],Na=ni[1],Qi=function(En){if(_t&&vt.skipTriggerChange)return;var Ln=Oa(En),Xn=Object(p.f)(Array.from(En),{labelInValue:fr,options:Ln,getLabeledValue:Ae,prevValue:Tn,optionLabelProp:ur}),ai=xr?Xn:Xn[0];if(dr&&(Pn.length!==0||Xn.length!==0)){var ri=Re(En,Ln,{prevValueOptions:di});Na(ri.map(function(Di,yi){var xi=Object(f.a)({},Di);return Object.defineProperty(xi,"_INTERNAL_OPTION_VALUE_",{get:function(){return En[yi]}}),xi})),dr(ai,xr?ri:ri[0])}gn(ai)},ma=function(En,Ln){var Xn=Ln.selected,ai=Ln.source;if(ft)return;var ri;xr?(ri=new Set(Pn),Xn?ri.add(En):ri.delete(En)):(ri=new Set,ri.add(En)),(xr||!xr&&Array.from(Pn)[0]!==En)&&Qi(Array.from(ri)),In(En,!xr||Xn,ai),ze==="combobox"?(ta(String(En)),An("")):(!xr||ue)&&(ta(""),An(""))},Ba=function(En,Ln){ma(En,Object(f.a)(Object(f.a)({},Ln),{},{source:"option"}))},Qa=function(En,Ln){ma(En,Object(f.a)(Object(f.a)({},Ln),{},{source:"selection"}))},Wi=ze==="combobox"&&Ee&&Ee()||null,Co=Object(r.a)(void 0,{defaultValue:J,value:te}),aa=Object(m.a)(Co,2),Hi=aa[0],ga=aa[1],ha=Hi,mo=!Bt&&!mn.length;(ft||mo&&ha&&ze==="combobox")&&(ha=!1);var Fn=mo?!1:ha,$i=function(En){var Ln=En!==void 0?En:!ha;Hi!==Ln&&!ft&&(ga(Ln),$t&&$t(Ln))};j([Ht.current,kt.current&&kt.current.getPopupElement()],Fn,$i);var eo=function(En,Ln,Xn){var ai=!0,ri=En;An(null);var Di=Xn?null:Object(H.f)(En,nt),yi=Di;if(ze==="combobox")Ln&&Qi([ri]);else if(Di){ri="",ze!=="tags"&&(yi=Di.map(function(_i){var Un=Gn.find(function(Ri){var fa=Ri.data;return fa[ur]===_i});return Un?Un.data.value:null}).filter(function(_i){return _i!==null}));var xi=Array.from(new Set([].concat(Object(b.a)(Pn),Object(b.a)(yi))));Qi(xi),xi.forEach(function(_i){In(_i,!0,"input")}),$i(!1),ai=!1}return ta(ri),ae&&Ii!==ri&&ae(ri),ai},To=function(En){var Ln=Array.from(new Set([].concat(Object(b.a)(Pn),[En])));Qi(Ln),Ln.forEach(function(Xn){In(Xn,!0,"input")}),ta("")};Object(h.useEffect)(function(){Hi&&!!ft&&ga(!1)},[ft]),Object(h.useEffect)(function(){!ha&&!xr&&ze!=="combobox"&&eo("",!1,!1)},[ha]);var co=_(),rr=Object(m.a)(co,2),Tr=rr[0],Pr=rr[1],Wr=function(En){var Ln=Tr(),Xn=En.which;if(!ha&&Xn===u.a.ENTER&&$i(!0),Pr(!!Ii),Xn===u.a.BACKSPACE&&!Ln&&xr&&!Ii&&Pn.length){var ai=Object(p.c)(_n,Pn);ai.removedValue!==null&&(Qi(ai.values),In(ai.removedValue,!1,"input"))}for(var ri=arguments.length,Di=new Array(ri>1?ri-1:0),yi=1;yi<ri;yi++)Di[yi-1]=arguments[yi];if(ha&&Xt.current){var xi;(xi=Xt.current).onKeyDown.apply(xi,[En].concat(Di))}Qt&&Qt.apply(void 0,[En].concat(Di))},hn=function(En){for(var Ln=arguments.length,Xn=new Array(Ln>1?Ln-1:0),ai=1;ai<Ln;ai++)Xn[ai-1]=arguments[ai];if(ha&&Xt.current){var ri;(ri=Xt.current).onKeyUp.apply(ri,[En].concat(Xn))}Gt&&Gt.apply(void 0,[En].concat(Xn))},it=Object(h.useRef)(!1),jt=function(){tn(!0),ft||(Rt&&!it.current&&Rt.apply(void 0,arguments),ke.includes("focus")&&$i(!0)),it.current=!0},Zt=function(){if(tn(!1,function(){it.current=!1,$i(!1)}),ft)return;Ii&&(ze==="tags"?(eo("",!1,!1),Qi(Array.from(new Set([].concat(Object(b.a)(Pn),[Ii]))))):ze==="multiple"&&ta("")),zt&&zt.apply(void 0,arguments)},nr=[];Object(h.useEffect)(function(){return function(){nr.forEach(function(Rn){return clearTimeout(Rn)}),nr.splice(0,nr.length)}},[]);var Or=function(En){var Ln=En.target,Xn=kt.current&&kt.current.getPopupElement();if(Xn&&Xn.contains(Ln)){var ai=setTimeout(function(){var xi=nr.indexOf(ai);xi!==-1&&nr.splice(xi,1),qr(),Xn.contains(document.activeElement)||ir.current.focus()});nr.push(ai)}if(Mt){for(var ri=arguments.length,Di=new Array(ri>1?ri-1:0),yi=1;yi<ri;yi++)Di[yi-1]=arguments[yi];Mt.apply(void 0,[En].concat(Di))}},wr=Object(h.useState)(0),Er=Object(m.a)(wr,2),Kr=Er[0],Zr=Er[1],Jr=Lt!==void 0?Lt:ze!=="combobox",an=function(En,Ln){Zr(Ln),Ce&&ze==="combobox"&&En!==null&&An(String(En))},xt=Object(h.useState)(null),Vt=Object(m.a)(xt,2),sr=Vt[0],br=Vt[1],Mr=Object(h.useState)({}),Dr=Object(m.a)(Mr,2),rn=Dr[1];function fn(){rn({})}A(function(){if(Fn){var Rn=Math.ceil(Ht.current.offsetWidth);sr!==Rn&&br(Rn)}},[Fn]);var wn=h.createElement(he,{ref:Xt,prefixCls:oe,id:pr,open:ha,childrenAsData:!ve,options:mn,flattenOptions:On,multiple:xr,values:Kn,height:Ye,itemHeight:qe,onSelect:Ba,onToggleOpen:$i,onActiveValue:an,defaultActiveFirstOption:Jr,notFoundContent:Bt,onScroll:Wt,searchValue:Ii,menuItemSelectedIcon:mt,virtual:wt!==!1&&xe!==!1,onMouseEnter:fn}),Hn,Sn=function(){_t&&vt.onClear&&vt.onClear(),Et&&Et(),Qi([]),eo("",!1,!1)};!ft&&lt&&(Pn.length||Ii)&&(Hn=h.createElement(n.a,{className:"".concat(oe,"-clear"),onMouseDown:Sn,customizeIcon:Ze},"\xD7"));var bn=Te!==void 0?Te:bt||!xr&&ze!=="combobox",Mn;bn&&(Mn=h.createElement(n.a,{className:a()("".concat(oe,"-arrow"),Object(g.a)({},"".concat(oe,"-arrow-loading"),bt)),customizeIcon:Jt,customizeIconProps:{loading:bt,searchValue:Ii,open:ha,focused:kr,showSearch:Yr}}));var vn=a()(oe,Ie,(Z={},Object(g.a)(Z,"".concat(oe,"-focused"),kr),Object(g.a)(Z,"".concat(oe,"-multiple"),xr),Object(g.a)(Z,"".concat(oe,"-single"),!xr),Object(g.a)(Z,"".concat(oe,"-allow-clear"),lt),Object(g.a)(Z,"".concat(oe,"-show-arrow"),bn),Object(g.a)(Z,"".concat(oe,"-disabled"),ft),Object(g.a)(Z,"".concat(oe,"-loading"),bt),Object(g.a)(Z,"".concat(oe,"-open"),ha),Object(g.a)(Z,"".concat(oe,"-customize-input"),Wi),Object(g.a)(Z,"".concat(oe,"-show-search"),Yr),Z));return h.createElement("div",Object.assign({className:vn},gt,{ref:Ht,onMouseDown:Or,onKeyDown:Wr,onKeyUp:hn,onFocus:jt,onBlur:Zt}),kr&&!ha&&h.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(Pn.join(", "))),h.createElement(z,{ref:kt,disabled:ft,prefixCls:oe,visible:Fn,popupElement:wn,containerWidth:sr,animation:Ke,transitionName:ut,dropdownStyle:It,dropdownClassName:de,direction:Ue,dropdownMatchSelectWidth:xe,dropdownRender:$,dropdownAlign:le,getPopupContainer:we,empty:!Ci.length,getTriggerDOMNode:function(){return cn.current}},h.createElement(O,Object.assign({},q,{domRef:cn,prefixCls:oe,inputElement:Wi,ref:ir,id:pr,showSearch:Yr,mode:ze,accessibilityIndex:Kr,multiple:xr,tagRender:At,values:_n,open:ha,onToggleOpen:$i,searchValue:Ii,activeValue:Vn,onSearch:eo,onSearchSubmit:To,onSelect:Qa,tokenWithEnter:mr}))),Mn,Hn)}var se=h.forwardRef(at);return se}},qPY4:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("u4NN"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},qWUW:function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("DL4k")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="CaretDownOutlined";var u=b.forwardRef(h);I.default=u},qWt2:function(R,I,e){var g=e("ProS"),f=g.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});R.exports=f},qZFw:function(R,I,e){var g=e("bYtY"),f=e("6GrX"),b=e("hM6l"),m=e("4NO4"),y=m.makeInner,h=y();function u(a,r){r=r||[0,360],b.call(this,"angle",a,r),this.type="category"}u.prototype={constructor:u,pointToData:function(a,r){return this.polar.pointToData(a,r)[this.dim==="radius"?0:1]},dataToAngle:b.prototype.dataToCoord,angleToData:b.prototype.coordToData,calculateCategoryInterval:function(){var a=this,r=a.getLabelModel(),o=a.scale,d=o.getExtent(),n=o.count();if(d[1]-d[0]<1)return 0;var l=d[0],t=a.dataToCoord(l+1)-a.dataToCoord(l),s=Math.abs(t),c=f.getBoundingRect(l,r.getFont(),"center","top"),p=Math.max(c.height,7),A=p/s;isNaN(A)&&(A=Infinity);var w=Math.max(0,Math.floor(A)),C=h(a.model),x=C.lastAutoInterval,E=C.lastTickCount;return x!=null&&E!=null&&Math.abs(x-w)<=1&&Math.abs(E-n)<=1&&x>w?w=x:(C.lastTickCount=n,C.lastAutoInterval=w),w}},g.inherits(u,b);var i=u;R.exports=i},qZTm:function(R,I,e){var g=e("fR/l"),f=e("MvSz"),b=e("7GkX");function m(y){return g(y,b,f)}R.exports=m},qgGe:function(R,I,e){var g=e("bYtY"),f=e("T4UG"),b=e("Bsck"),m=e("VaxA"),y=m.wrapTreePathInfo,h=f.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(i,a){var r={name:i.name,children:i.data};u(r);var o=i.levels||[],d={};return d.levels=o,b.createTree(r,this,d).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(i){var a=f.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(i);return a.treePathInfo=y(r,this),a},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",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},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(i){i?this._viewRoot=i:i=this._viewRoot;var a=this.getRawData().tree.root;(!i||i!==a&&!a.contains(i))&&(this._viewRoot=a)}});function u(i){var a=0;g.each(i.children,function(o){u(o);var d=o.value;g.isArray(d)&&(d=d[0]),a+=d});var r=i.value;g.isArray(r)&&(r=r[0]),(r==null||isNaN(r))&&(r=a),r<0&&(r=0),g.isArray(i.value)?i.value[0]=r:i.value=r}R.exports=h},qj72:function(R,I,e){var g=e("bYtY");function f(m,y){return y=y||[0,0],g.map(["x","y"],function(h,u){var i=this.getAxis(h),a=y[u],r=m[u]/2;return i.type==="category"?i.getBandWidth():Math.abs(i.dataToCoord(a-r)-i.dataToCoord(a+r))},this)}function b(m){var y=m.grid.getRect();return{coordSys:{type:"cartesian2d",x:y.x,y:y.y,width:y.width,height:y.height},api:{coord:function(h){return m.dataToPoint(h)},size:g.bind(f,m)}}}R.exports=b},"qt/9":function(R,I,e){var g=e("ProS"),f=e("bYtY");e("Wqna"),e("1tlw"),e("Mylv");var b=e("nVfU"),m=b.layout,y=e("f5Yq");e("Ae16"),g.registerLayout(f.curry(m,"pictorialBar")),g.registerVisual(y("pictorialBar","roundRect"))},quyA:function(R,I){var e="\\ud800-\\udfff",g="\\u0300-\\u036f",f="\\ufe20-\\ufe2f",b="\\u20d0-\\u20ff",m=g+f+b,y="\\ufe0e\\ufe0f",h="\\u200d",u=RegExp("["+h+e+m+y+"]");function i(a){return u.test(a)}R.exports=i},qwVE:function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("K4ya"),m=e("XxSj"),y=g.PRIORITY.VISUAL.COMPONENT;g.registerVisual(y,{createOnAllSeries:!0,reset:function(u,i){var a=[];return i.eachComponent("visualMap",function(r){var o=u.pipelineContext;if(!r.isTargetSeries(u)||o&&o.large)return;a.push(b.incrementalApplyVisual(r.stateList,r.targetVisuals,f.bind(r.getValueState,r),r.getDataDimension(u.getData())))}),a}}),g.registerVisual(y,{createOnAllSeries:!0,reset:function(u,i){var a=u.getData(),r=[];i.eachComponent("visualMap",function(o){if(o.isTargetSeries(u)){var d=o.getVisualMeta(f.bind(h,null,u,o))||{stops:[],outerColors:[]},n=o.getDataDimension(a),l=a.getDimensionInfo(n);l!=null&&(d.dimension=l.index,r.push(d))}}),u.getData().setVisual("visualMeta",r)}});function h(u,i,a,r){for(var o=i.targetVisuals[r],d=m.prepareVisualTypes(o),n={color:u.getData().getVisual("color")},l=0,t=d.length;l<t;l++){var s=d[l],c=o[s==="opacity"?"__alphaForOpacity":s];c&&c.applyVisual(a,p,A)}return n.color;function p(w){return n[w]}function A(w,C){n[w]=C}}},"r+aA":function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("s2MQ")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="EyeInvisibleOutlined";var u=b.forwardRef(h);I.default=u},"r/2G":function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("+Zaj"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},r0c9:function(R,I,e){(function(g,f){var b,b;/*!
JSZip v3.6.0 - 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/master/LICENSE.markdown.
JSZip uses the library pako released under the MIT license :
https://github.com/nodeca/pako/blob/master/LICENSE
*/!function(m){R.exports=m()}(function(){return function m(y,h,u){function i(o,d){if(!h[o]){if(!y[o]){var n=typeof b=="function"&&b;if(!d&&n)return b(o,!0);if(a)return a(o,!0);var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}var t=h[o]={exports:{}};y[o][0].call(t.exports,function(s){var c=y[o][1][s];return i(c||s)},t,t.exports,m,y,h,u)}return h[o].exports}for(var a=typeof b=="function"&&b,r=0;r<u.length;r++)i(u[r]);return i}({1:[function(m,y,h){(function(u){!function(i){typeof h=="object"&&y!==void 0?y.exports=i():(typeof window!="undefined"?window:u!==void 0?u:typeof self!="undefined"?self:this).JSZip=i()}(function(){return function i(a,r,o){function d(t,s){if(!r[t]){if(!a[t]){var c=typeof m=="function"&&m;if(!s&&c)return c(t,!0);if(n)return n(t,!0);var p=new Error("Cannot find module '"+t+"'");throw p.code="MODULE_NOT_FOUND",p}var A=r[t]={exports:{}};a[t][0].call(A.exports,function(w){return d(a[t][1][w]||w)},A,A.exports,i,a,r,o)}return r[t].exports}for(var n=typeof m=="function"&&m,l=0;l<o.length;l++)d(o[l]);return d}({1:[function(i,a,r){(function(o){!function(d){typeof r=="object"&&a!==void 0?a.exports=d():(typeof window!="undefined"?window:o!==void 0?o:typeof self!="undefined"?self:this).JSZip=d()}(function(){return function d(n,l,t){function s(A,w){if(!l[A]){if(!n[A]){var C=typeof i=="function"&&i;if(!w&&C)return C(A,!0);if(c)return c(A,!0);var x=new Error("Cannot find module '"+A+"'");throw x.code="MODULE_NOT_FOUND",x}var E=l[A]={exports:{}};n[A][0].call(E.exports,function(T){return s(n[A][1][T]||T)},E,E.exports,d,n,l,t)}return l[A].exports}for(var c=typeof i=="function"&&i,p=0;p<t.length;p++)s(t[p]);return s}({1:[function(d,n,l){(function(t){!function(s){typeof l=="object"&&n!==void 0?n.exports=s():(typeof window!="undefined"?window:t!==void 0?t:typeof self!="undefined"?self:this).JSZip=s()}(function(){return function s(c,p,A){function w(E,T){if(!p[E]){if(!c[E]){var _=typeof d=="function"&&d;if(!T&&_)return _(E,!0);if(C)return C(E,!0);var v=new Error("Cannot find module '"+E+"'");throw v.code="MODULE_NOT_FOUND",v}var S=p[E]={exports:{}};c[E][0].call(S.exports,function(O){return w(c[E][1][O]||O)},S,S.exports,s,c,p,A)}return p[E].exports}for(var C=typeof d=="function"&&d,x=0;x<A.length;x++)w(A[x]);return w}({1:[function(s,c,p){(function(A){!function(w){typeof p=="object"&&c!==void 0?c.exports=w():(typeof window!="undefined"?window:A!==void 0?A:typeof self!="undefined"?self:this).JSZip=w()}(function(){return function w(C,x,E){function T(S,O){if(!x[S]){if(!C[S]){var L=typeof s=="function"&&s;if(!O&&L)return L(S,!0);if(_)return _(S,!0);var M=new Error("Cannot find module '"+S+"'");throw M.code="MODULE_NOT_FOUND",M}var F=x[S]={exports:{}};C[S][0].call(F.exports,function(U){return T(C[S][1][U]||U)},F,F.exports,w,C,x,E)}return x[S].exports}for(var _=typeof s=="function"&&s,v=0;v<E.length;v++)T(E[v]);return T}({1:[function(w,C,x){(function(E){!function(T){typeof x=="object"&&C!==void 0?C.exports=T():(typeof window!="undefined"?window:E!==void 0?E:typeof self!="undefined"?self:this).JSZip=T()}(function(){return function T(_,v,S){function O(F,U){if(!v[F]){if(!_[F]){var z=typeof w=="function"&&w;if(!U&&z)return z(F,!0);if(L)return L(F,!0);var W=new Error("Cannot find module '"+F+"'");throw W.code="MODULE_NOT_FOUND",W}var N=v[F]={exports:{}};_[F][0].call(N.exports,function(H){return O(_[F][1][H]||H)},N,N.exports,T,_,v,S)}return v[F].exports}for(var L=typeof w=="function"&&w,M=0;M<S.length;M++)O(S[M]);return O}({1:[function(T,_,v){"use strict";var S=T("./utils"),O=T("./support"),L="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";v.encode=function(M){for(var F,U,z,W,N,H,j,k=[],B=0,V=M.length,K=V,Y=S.getTypeOf(M)!=="string";B<M.length;)K=V-B,z=Y?(F=M[B++],U=B<V?M[B++]:0,B<V?M[B++]:0):(F=M.charCodeAt(B++),U=B<V?M.charCodeAt(B++):0,B<V?M.charCodeAt(B++):0),W=F>>2,N=(3&F)<<4|U>>4,H=1<K?(15&U)<<2|z>>6:64,j=2<K?63&z:64,k.push(L.charAt(W)+L.charAt(N)+L.charAt(H)+L.charAt(j));return k.join("")},v.decode=function(M){var F,U,z,W,N,H,j=0,k=0;if(M.substr(0,"data:".length)==="data:")throw new Error("Invalid base64 input, it looks like a data url.");var B,V=3*(M=M.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(M.charAt(M.length-1)===L.charAt(64)&&V--,M.charAt(M.length-2)===L.charAt(64)&&V--,V%1!=0)throw new Error("Invalid base64 input, bad content length.");for(B=O.uint8array?new Uint8Array(0|V):new Array(0|V);j<M.length;)F=L.indexOf(M.charAt(j++))<<2|(W=L.indexOf(M.charAt(j++)))>>4,U=(15&W)<<4|(N=L.indexOf(M.charAt(j++)))>>2,z=(3&N)<<6|(H=L.indexOf(M.charAt(j++))),B[k++]=F,N!==64&&(B[k++]=U),H!==64&&(B[k++]=z);return B}},{"./support":30,"./utils":32}],2:[function(T,_,v){"use strict";var S=T("./external"),O=T("./stream/DataWorker"),L=T("./stream/Crc32Probe"),M=T("./stream/DataLengthProbe");function F(U,z,W,N,H){this.compressedSize=U,this.uncompressedSize=z,this.crc32=W,this.compression=N,this.compressedContent=H}F.prototype={getContentWorker:function(){var z=new O(S.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new M("data_length")),W=this;return z.on("end",function(){if(this.streamInfo.data_length!==W.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),z},getCompressedWorker:function(){return new O(S.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},F.createWorkerFrom=function(U,z,W){return U.pipe(new L).pipe(new M("uncompressedSize")).pipe(z.compressWorker(W)).pipe(new M("compressedSize")).withStreamInfo("compression",z)},_.exports=F},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(T,_,v){"use strict";var S=T("./stream/GenericWorker");v.STORE={magic:"\0\0",compressWorker:function(L){return new S("STORE compression")},uncompressWorker:function(){return new S("STORE decompression")}},v.DEFLATE=T("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(T,_,v){"use strict";var S=T("./utils"),O=function(){for(var L,M=[],F=0;F<256;F++){L=F;for(var U=0;U<8;U++)L=1&L?3988292384^L>>>1:L>>>1;M[F]=L}return M}();_.exports=function(L,M){return L!==void 0&&L.length?S.getTypeOf(L)!=="string"?function(F,U,z){var W=O,N=0+z;F^=-1;for(var H=0;H<N;H++)F=F>>>8^W[255&(F^U[H])];return-1^F}(0|M,L,L.length):function(F,U,z){var W=O,N=0+z;F^=-1;for(var H=0;H<N;H++)F=F>>>8^W[255&(F^U.charCodeAt(H))];return-1^F}(0|M,L,L.length):0}},{"./utils":32}],5:[function(T,_,v){"use strict";v.base64=!1,v.binary=!1,v.dir=!1,v.createFolders=!0,v.date=null,v.compression=null,v.compressionOptions=null,v.comment=null,v.unixPermissions=null,v.dosPermissions=null},{}],6:[function(T,_,v){"use strict";var S;S=typeof Promise!="undefined"?Promise:T("lie"),_.exports={Promise:S}},{lie:37}],7:[function(T,_,v){"use strict";var S=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",O=T("pako"),L=T("./utils"),M=T("./stream/GenericWorker"),F=S?"uint8array":"array";function U(z,W){M.call(this,"FlateWorker/"+z),this._pako=null,this._pakoAction=z,this._pakoOptions=W,this.meta={}}v.magic="\b\0",L.inherits(U,M),U.prototype.processChunk=function(z){this.meta=z.meta,this._pako===null&&this._createPako(),this._pako.push(L.transformTo(F,z.data),!1)},U.prototype.flush=function(){M.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},U.prototype.cleanUp=function(){M.prototype.cleanUp.call(this),this._pako=null},U.prototype._createPako=function(){this._pako=new O[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var z=this;this._pako.onData=function(W){z.push({data:W,meta:z.meta})}},v.compressWorker=function(z){return new U("Deflate",z)},v.uncompressWorker=function(){return new U("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(T,_,v){"use strict";function S(N,H){var j,k="";for(j=0;j<H;j++)k+=String.fromCharCode(255&N),N>>>=8;return k}function O(N,H,j,k,B,V){var K,Y,Q=N.file,he=N.compression,G=V!==F.utf8encode,ye=L.transformTo("string",V(Q.name)),Ae=L.transformTo("string",F.utf8encode(Q.name)),ge=Q.comment,Pe=L.transformTo("string",V(ge)),Re=L.transformTo("string",F.utf8encode(ge)),rt=Ae.length!==Q.name.length,ne=Re.length!==ge.length,be="",at="",se="",q=Q.dir,X=Q.date,Z={crc32:0,compressedSize:0,uncompressedSize:0};H&&!j||(Z.crc32=N.crc32,Z.compressedSize=N.compressedSize,Z.uncompressedSize=N.uncompressedSize);var pe=0;H&&(pe|=8),G||!rt&&!ne||(pe|=2048);var oe,Ie=0,fe=0;q&&(Ie|=16),B==="UNIX"?(fe=798,Ie|=((oe=Q.unixPermissions)||(oe=q?16893:33204),(65535&oe)<<16)):(fe=20,Ie|=63&(Q.dosPermissions||0)),K=X.getUTCHours(),K<<=6,K|=X.getUTCMinutes(),K<<=5,K|=X.getUTCSeconds()/2,Y=X.getUTCFullYear()-1980,Y<<=4,Y|=X.getUTCMonth()+1,Y<<=5,Y|=X.getUTCDate(),rt&&(be+="up"+S((at=S(1,1)+S(U(ye),4)+Ae).length,2)+at),ne&&(be+="uc"+S((se=S(1,1)+S(U(Pe),4)+Re).length,2)+se);var te="";return te+=`
\0`,te+=S(pe,2),te+=he.magic,te+=S(K,2),te+=S(Y,2),te+=S(Z.crc32,4),te+=S(Z.compressedSize,4),te+=S(Z.uncompressedSize,4),te+=S(ye.length,2),te+=S(be.length,2),{fileRecord:z.LOCAL_FILE_HEADER+te+ye+be,dirRecord:z.CENTRAL_FILE_HEADER+S(fe,2)+te+S(Pe.length,2)+"\0\0\0\0"+S(Ie,4)+S(k,4)+ye+be+Pe}}var L=T("../utils"),M=T("../stream/GenericWorker"),F=T("../utf8"),U=T("../crc32"),z=T("../signature");function W(N,H,j,k){M.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=H,this.zipPlatform=j,this.encodeFileName=k,this.streamFiles=N,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}L.inherits(W,M),W.prototype.push=function(N){var H=N.meta.percent||0,j=this.entriesCount,k=this._sources.length;this.accumulate?this.contentBuffer.push(N):(this.bytesWritten+=N.data.length,M.prototype.push.call(this,{data:N.data,meta:{currentFile:this.currentFile,percent:j?(H+100*(j-k-1))/j:100}}))},W.prototype.openedSource=function(N){this.currentSourceOffset=this.bytesWritten,this.currentFile=N.file.name;var H=this.streamFiles&&!N.file.dir;if(H){var j=O(N,H,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:j.fileRecord,meta:{percent:0}})}else this.accumulate=!0},W.prototype.closedSource=function(N){this.accumulate=!1;var H,j=this.streamFiles&&!N.file.dir,k=O(N,j,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(k.dirRecord),j)this.push({data:(H=N,z.DATA_DESCRIPTOR+S(H.crc32,4)+S(H.compressedSize,4)+S(H.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:k.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},W.prototype.flush=function(){for(var N=this.bytesWritten,H=0;H<this.dirRecords.length;H++)this.push({data:this.dirRecords[H],meta:{percent:100}});var j,k,B,V,K,Y,Q=this.bytesWritten-N,he=(j=this.dirRecords.length,k=Q,B=N,V=this.zipComment,K=this.encodeFileName,Y=L.transformTo("string",K(V)),z.CENTRAL_DIRECTORY_END+"\0\0\0\0"+S(j,2)+S(j,2)+S(k,4)+S(B,4)+S(Y.length,2)+Y);this.push({data:he,meta:{percent:100}})},W.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},W.prototype.registerPrevious=function(N){this._sources.push(N);var H=this;return N.on("data",function(j){H.processChunk(j)}),N.on("end",function(){H.closedSource(H.previous.streamInfo),H._sources.length?H.prepareNextSource():H.end()}),N.on("error",function(j){H.error(j)}),this},W.prototype.resume=function(){return!!M.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},W.prototype.error=function(N){var H=this._sources;if(!M.prototype.error.call(this,N))return!1;for(var j=0;j<H.length;j++)try{H[j].error(N)}catch(k){}return!0},W.prototype.lock=function(){M.prototype.lock.call(this);for(var N=this._sources,H=0;H<N.length;H++)N[H].lock()},_.exports=W},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(T,_,v){"use strict";var S=T("../compressions"),O=T("./ZipFileWorker");v.generateWorker=function(L,M,F){var U=new O(M.streamFiles,F,M.platform,M.encodeFileName),z=0;try{L.forEach(function(W,N){z++;var H=function(V,K){var Y=V||K,Q=S[Y];if(!Q)throw new Error(Y+" is not a valid compression method !");return Q}(N.options.compression,M.compression),j=N.options.compressionOptions||M.compressionOptions||{},k=N.dir,B=N.date;N._compressWorker(H,j).withStreamInfo("file",{name:W,dir:k,date:B,comment:N.comment||"",unixPermissions:N.unixPermissions,dosPermissions:N.dosPermissions}).pipe(U)}),U.entriesCount=z}catch(W){U.error(W)}return U}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(T,_,v){"use strict";function S(){if(!(this instanceof S))return new S;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files={},this.comment=null,this.root="",this.clone=function(){var O=new S;for(var L in this)typeof this[L]!="function"&&(O[L]=this[L]);return O}}(S.prototype=T("./object")).loadAsync=T("./load"),S.support=T("./support"),S.defaults=T("./defaults"),S.version="3.5.0",S.loadAsync=function(O,L){return new S().loadAsync(O,L)},S.external=T("./external"),_.exports=S},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(T,_,v){"use strict";var S=T("./utils"),O=T("./external"),L=T("./utf8"),M=T("./zipEntries"),F=T("./stream/Crc32Probe"),U=T("./nodejsUtils");function z(W){return new O.Promise(function(N,H){var j=W.decompressed.getContentWorker().pipe(new F);j.on("error",function(k){H(k)}).on("end",function(){j.streamInfo.crc32!==W.decompressed.crc32?H(new Error("Corrupted zip : CRC32 mismatch")):N()}).resume()})}_.exports=function(W,N){var H=this;return N=S.extend(N||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:L.utf8decode}),U.isNode&&U.isStream(W)?O.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):S.prepareContent("the loaded zip file",W,!0,N.optimizedBinaryString,N.base64).then(function(j){var k=new M(N);return k.load(j),k}).then(function(j){var k=[O.Promise.resolve(j)],B=j.files;if(N.checkCRC32)for(var V=0;V<B.length;V++)k.push(z(B[V]));return O.Promise.all(k)}).then(function(j){for(var k=j.shift(),B=k.files,V=0;V<B.length;V++){var K=B[V];H.file(K.fileNameStr,K.decompressed,{binary:!0,optimizedBinaryString:!0,date:K.date,dir:K.dir,comment:K.fileCommentStr.length?K.fileCommentStr:null,unixPermissions:K.unixPermissions,dosPermissions:K.dosPermissions,createFolders:N.createFolders})}return k.zipComment.length&&(H.comment=k.zipComment),H})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(T,_,v){"use strict";var S=T("../utils"),O=T("../stream/GenericWorker");function L(M,F){O.call(this,"Nodejs stream input adapter for "+M),this._upstreamEnded=!1,this._bindStream(F)}S.inherits(L,O),L.prototype._bindStream=function(M){var F=this;(this._stream=M).pause(),M.on("data",function(U){F.push({data:U,meta:{percent:0}})}).on("error",function(U){F.isPaused?this.generatedError=U:F.error(U)}).on("end",function(){F.isPaused?F._upstreamEnded=!0:F.end()})},L.prototype.pause=function(){return!!O.prototype.pause.call(this)&&(this._stream.pause(),!0)},L.prototype.resume=function(){return!!O.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},_.exports=L},{"../stream/GenericWorker":28,"../utils":32}],13:[function(T,_,v){"use strict";var S=T("readable-stream").Readable;function O(L,M,F){S.call(this,M),this._helper=L;var U=this;L.on("data",function(z,W){U.push(z)||U._helper.pause(),F&&F(W)}).on("error",function(z){U.emit("error",z)}).on("end",function(){U.push(null)})}T("../utils").inherits(O,S),O.prototype._read=function(){this._helper.resume()},_.exports=O},{"../utils":32,"readable-stream":16}],14:[function(T,_,v){"use strict";_.exports={isNode:typeof f!="undefined",newBufferFrom:function(O,L){if(f.from&&f.from!==Uint8Array.from)return f.from(O,L);if(typeof O=="number")throw new Error('The "data" argument must not be a number');return new f(O,L)},allocBuffer:function(O){if(f.alloc)return f.alloc(O);var L=new f(O);return L.fill(0),L},isBuffer:function(O){return f.isBuffer(O)},isStream:function(O){return O&&typeof O.on=="function"&&typeof O.pause=="function"&&typeof O.resume=="function"}}},{}],15:[function(T,_,v){"use strict";function S(Y,Q,he){var G,ye=M.getTypeOf(Q),Ae=M.extend(he||{},z);Ae.date=Ae.date||new Date,Ae.compression!==null&&(Ae.compression=Ae.compression.toUpperCase()),typeof Ae.unixPermissions=="string"&&(Ae.unixPermissions=parseInt(Ae.unixPermissions,8)),Ae.unixPermissions&&16384&Ae.unixPermissions&&(Ae.dir=!0),Ae.dosPermissions&&16&Ae.dosPermissions&&(Ae.dir=!0),Ae.dir&&(Y=O(Y)),Ae.createFolders&&(G=function(rt){rt.slice(-1)==="/"&&(rt=rt.substring(0,rt.length-1));var ne=rt.lastIndexOf("/");return 0<ne?rt.substring(0,ne):""}(Y))&&B.call(this,G,!0);var ge,Pe=ye==="string"&&Ae.binary===!1&&Ae.base64===!1;he&&he.binary!==void 0||(Ae.binary=!Pe),(Q instanceof W&&Q.uncompressedSize===0||Ae.dir||!Q||Q.length===0)&&(Ae.base64=!1,Ae.binary=!0,Q="",Ae.compression="STORE",ye="string"),ge=Q instanceof W||Q instanceof F?Q:j.isNode&&j.isStream(Q)?new k(Y,Q):M.prepareContent(Y,Q,Ae.binary,Ae.optimizedBinaryString,Ae.base64);var Re=new N(Y,ge,Ae);this.files[Y]=Re}function O(Y){return Y.slice(-1)!=="/"&&(Y+="/"),Y}var L=T("./utf8"),M=T("./utils"),F=T("./stream/GenericWorker"),U=T("./stream/StreamHelper"),z=T("./defaults"),W=T("./compressedObject"),N=T("./zipObject"),H=T("./generate"),j=T("./nodejsUtils"),k=T("./nodejs/NodejsStreamInputAdapter"),B=function(Q,he){return he=he!==void 0?he:z.createFolders,Q=O(Q),this.files[Q]||S.call(this,Q,null,{dir:!0,createFolders:he}),this.files[Q]};function V(Y){return Object.prototype.toString.call(Y)==="[object RegExp]"}var K={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(Q){var he,G,ye;for(he in this.files)this.files.hasOwnProperty(he)&&(ye=this.files[he],(G=he.slice(this.root.length,he.length))&&he.slice(0,this.root.length)===this.root&&Q(G,ye))},filter:function(Q){var he=[];return this.forEach(function(G,ye){Q(G,ye)&&he.push(ye)}),he},file:function(Q,he,G){if(arguments.length!==1)return Q=this.root+Q,S.call(this,Q,he,G),this;if(V(Q)){var ye=Q;return this.filter(function(ge,Pe){return!Pe.dir&&ye.test(ge)})}var Ae=this.files[this.root+Q];return Ae&&!Ae.dir?Ae:null},folder:function(Q){if(!Q)return this;if(V(Q))return this.filter(function(Ae,ge){return ge.dir&&Q.test(Ae)});var he=this.root+Q,G=B.call(this,he),ye=this.clone();return ye.root=G.name,ye},remove:function(Q){Q=this.root+Q;var he=this.files[Q];if(he||(Q.slice(-1)!=="/"&&(Q+="/"),he=this.files[Q]),he&&!he.dir)delete this.files[Q];else for(var G=this.filter(function(Ae,ge){return ge.name.slice(0,Q.length)===Q}),ye=0;ye<G.length;ye++)delete this.files[G[ye].name];return this},generate:function(Q){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(Q){var he,G={};try{if((G=M.extend(Q||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:L.utf8encode})).type=G.type.toLowerCase(),G.compression=G.compression.toUpperCase(),G.type==="binarystring"&&(G.type="string"),!G.type)throw new Error("No output type specified.");M.checkSupport(G.type),G.platform!=="darwin"&&G.platform!=="freebsd"&&G.platform!=="linux"&&G.platform!=="sunos"||(G.platform="UNIX"),G.platform==="win32"&&(G.platform="DOS");var ye=G.comment||this.comment||"";he=H.generateWorker(this,G,ye)}catch(Ae){(he=new F("error")).error(Ae)}return new U(he,G.type||"string",G.mimeType)},generateAsync:function(Q,he){return this.generateInternalStream(Q).accumulate(he)},generateNodeStream:function(Q,he){return(Q=Q||{}).type||(Q.type="nodebuffer"),this.generateInternalStream(Q).toNodejsStream(he)}};_.exports=K},{"./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(T,_,v){_.exports=T("stream")},{stream:void 0}],17:[function(T,_,v){"use strict";var S=T("./DataReader");function O(L){S.call(this,L);for(var M=0;M<this.data.length;M++)L[M]=255&L[M]}T("../utils").inherits(O,S),O.prototype.byteAt=function(L){return this.data[this.zero+L]},O.prototype.lastIndexOfSignature=function(L){for(var M=L.charCodeAt(0),F=L.charCodeAt(1),U=L.charCodeAt(2),z=L.charCodeAt(3),W=this.length-4;0<=W;--W)if(this.data[W]===M&&this.data[W+1]===F&&this.data[W+2]===U&&this.data[W+3]===z)return W-this.zero;return-1},O.prototype.readAndCheckSignature=function(L){var M=L.charCodeAt(0),F=L.charCodeAt(1),U=L.charCodeAt(2),z=L.charCodeAt(3),W=this.readData(4);return M===W[0]&&F===W[1]&&U===W[2]&&z===W[3]},O.prototype.readData=function(L){if(this.checkOffset(L),L===0)return[];var M=this.data.slice(this.zero+this.index,this.zero+this.index+L);return this.index+=L,M},_.exports=O},{"../utils":32,"./DataReader":18}],18:[function(T,_,v){"use strict";var S=T("../utils");function O(L){this.data=L,this.length=L.length,this.index=0,this.zero=0}O.prototype={checkOffset:function(M){this.checkIndex(this.index+M)},checkIndex:function(M){if(this.length<this.zero+M||M<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+M+"). Corrupted zip ?")},setIndex:function(M){this.checkIndex(M),this.index=M},skip:function(M){this.setIndex(this.index+M)},byteAt:function(M){},readInt:function(M){var F,U=0;for(this.checkOffset(M),F=this.index+M-1;F>=this.index;F--)U=(U<<8)+this.byteAt(F);return this.index+=M,U},readString:function(M){return S.transformTo("string",this.readData(M))},readData:function(M){},lastIndexOfSignature:function(M){},readAndCheckSignature:function(M){},readDate:function(){var M=this.readInt(4);return new Date(Date.UTC(1980+(M>>25&127),(M>>21&15)-1,M>>16&31,M>>11&31,M>>5&63,(31&M)<<1))}},_.exports=O},{"../utils":32}],19:[function(T,_,v){"use strict";var S=T("./Uint8ArrayReader");function O(L){S.call(this,L)}T("../utils").inherits(O,S),O.prototype.readData=function(L){this.checkOffset(L);var M=this.data.slice(this.zero+this.index,this.zero+this.index+L);return this.index+=L,M},_.exports=O},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(T,_,v){"use strict";var S=T("./DataReader");function O(L){S.call(this,L)}T("../utils").inherits(O,S),O.prototype.byteAt=function(L){return this.data.charCodeAt(this.zero+L)},O.prototype.lastIndexOfSignature=function(L){return this.data.lastIndexOf(L)-this.zero},O.prototype.readAndCheckSignature=function(L){return L===this.readData(4)},O.prototype.readData=function(L){this.checkOffset(L);var M=this.data.slice(this.zero+this.index,this.zero+this.index+L);return this.index+=L,M},_.exports=O},{"../utils":32,"./DataReader":18}],21:[function(T,_,v){"use strict";var S=T("./ArrayReader");function O(L){S.call(this,L)}T("../utils").inherits(O,S),O.prototype.readData=function(L){if(this.checkOffset(L),L===0)return new Uint8Array(0);var M=this.data.subarray(this.zero+this.index,this.zero+this.index+L);return this.index+=L,M},_.exports=O},{"../utils":32,"./ArrayReader":17}],22:[function(T,_,v){"use strict";var S=T("../utils"),O=T("../support"),L=T("./ArrayReader"),M=T("./StringReader"),F=T("./NodeBufferReader"),U=T("./Uint8ArrayReader");_.exports=function(z){var W=S.getTypeOf(z);return S.checkSupport(W),W!=="string"||O.uint8array?W==="nodebuffer"?new F(z):O.uint8array?new U(S.transformTo("uint8array",z)):new L(S.transformTo("array",z)):new M(z)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(T,_,v){"use strict";v.LOCAL_FILE_HEADER="PK",v.CENTRAL_FILE_HEADER="PK",v.CENTRAL_DIRECTORY_END="PK",v.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",v.ZIP64_CENTRAL_DIRECTORY_END="PK",v.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(T,_,v){"use strict";var S=T("./GenericWorker"),O=T("../utils");function L(M){S.call(this,"ConvertWorker to "+M),this.destType=M}O.inherits(L,S),L.prototype.processChunk=function(M){this.push({data:O.transformTo(this.destType,M.data),meta:M.meta})},_.exports=L},{"../utils":32,"./GenericWorker":28}],25:[function(T,_,v){"use strict";var S=T("./GenericWorker"),O=T("../crc32");function L(){S.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}T("../utils").inherits(L,S),L.prototype.processChunk=function(M){this.streamInfo.crc32=O(M.data,this.streamInfo.crc32||0),this.push(M)},_.exports=L},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(T,_,v){"use strict";var S=T("../utils"),O=T("./GenericWorker");function L(M){O.call(this,"DataLengthProbe for "+M),this.propName=M,this.withStreamInfo(M,0)}S.inherits(L,O),L.prototype.processChunk=function(M){if(M){var F=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=F+M.data.length}O.prototype.processChunk.call(this,M)},_.exports=L},{"../utils":32,"./GenericWorker":28}],27:[function(T,_,v){"use strict";var S=T("../utils"),O=T("./GenericWorker");function L(M){O.call(this,"DataWorker");var F=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,M.then(function(U){F.dataIsReady=!0,F.data=U,F.max=U&&U.length||0,F.type=S.getTypeOf(U),F.isPaused||F._tickAndRepeat()},function(U){F.error(U)})}S.inherits(L,O),L.prototype.cleanUp=function(){O.prototype.cleanUp.call(this),this.data=null},L.prototype.resume=function(){return!!O.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,S.delay(this._tickAndRepeat,[],this)),!0)},L.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(S.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},L.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var M=null,F=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":M=this.data.substring(this.index,F);break;case"uint8array":M=this.data.subarray(this.index,F);break;case"array":case"nodebuffer":M=this.data.slice(this.index,F)}return this.index=F,this.push({data:M,meta:{percent:this.max?this.index/this.max*100:0}})},_.exports=L},{"../utils":32,"./GenericWorker":28}],28:[function(T,_,v){"use strict";function S(O){this.name=O||"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}S.prototype={push:function(L){this.emit("data",L)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(L){this.emit("error",L)}return!0},error:function(L){return!this.isFinished&&(this.isPaused?this.generatedError=L:(this.isFinished=!0,this.emit("error",L),this.previous&&this.previous.error(L),this.cleanUp()),!0)},on:function(L,M){return this._listeners[L].push(M),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(L,M){if(this._listeners[L])for(var F=0;F<this._listeners[L].length;F++)this._listeners[L][F].call(this,M)},pipe:function(L){return L.registerPrevious(this)},registerPrevious:function(L){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=L.streamInfo,this.mergeStreamInfo(),this.previous=L;var M=this;return L.on("data",function(F){M.processChunk(F)}),L.on("end",function(){M.end()}),L.on("error",function(F){M.error(F)}),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 L=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),L=!0),this.previous&&this.previous.resume(),!L},flush:function(){},processChunk:function(L){this.push(L)},withStreamInfo:function(L,M){return this.extraStreamInfo[L]=M,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var L in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(L)&&(this.streamInfo[L]=this.extraStreamInfo[L])},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 L="Worker "+this.name;return this.previous?this.previous+" -> "+L:L}},_.exports=S},{}],29:[function(T,_,v){"use strict";var S=T("../utils"),O=T("./ConvertWorker"),L=T("./GenericWorker"),M=T("../base64"),F=T("../support"),U=T("../external"),z=null;if(F.nodestream)try{z=T("../nodejs/NodejsStreamOutputAdapter")}catch(N){}function W(N,H,j){var k=H;switch(H){case"blob":case"arraybuffer":k="uint8array";break;case"base64":k="string"}try{this._internalType=k,this._outputType=H,this._mimeType=j,S.checkSupport(k),this._worker=N.pipe(new O(k)),N.lock()}catch(B){this._worker=new L("error"),this._worker.error(B)}}W.prototype={accumulate:function(H){return j=this,k=H,new U.Promise(function(B,V){var K=[],Y=j._internalType,Q=j._outputType,he=j._mimeType;j.on("data",function(G,ye){K.push(G),k&&k(ye)}).on("error",function(G){K=[],V(G)}).on("end",function(){try{var G=function(ye,Ae,ge){switch(ye){case"blob":return S.newBlob(S.transformTo("arraybuffer",Ae),ge);case"base64":return M.encode(Ae);default:return S.transformTo(ye,Ae)}}(Q,function(ye,Ae){var ge,Pe=0,Re=null,rt=0;for(ge=0;ge<Ae.length;ge++)rt+=Ae[ge].length;switch(ye){case"string":return Ae.join("");case"array":return Array.prototype.concat.apply([],Ae);case"uint8array":for(Re=new Uint8Array(rt),ge=0;ge<Ae.length;ge++)Re.set(Ae[ge],Pe),Pe+=Ae[ge].length;return Re;case"nodebuffer":return f.concat(Ae);default:throw new Error("concat : unsupported type '"+ye+"'")}}(Y,K),he);B(G)}catch(ye){V(ye)}K=[]}).resume()});var j,k},on:function(H,j){var k=this;return H==="data"?this._worker.on(H,function(B){j.call(k,B.data,B.meta)}):this._worker.on(H,function(){S.delay(j,arguments,k)}),this},resume:function(){return S.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(H){if(S.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new z(this,{objectMode:this._outputType!=="nodebuffer"},H)}},_.exports=W},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(T,_,v){"use strict";if(v.base64=!0,v.array=!0,v.string=!0,v.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",v.nodebuffer=typeof f!="undefined",v.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")v.blob=!1;else{var S=new ArrayBuffer(0);try{v.blob=new Blob([S],{type:"application/zip"}).size===0}catch(L){try{var O=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);O.append(S),v.blob=O.getBlob("application/zip").size===0}catch(M){v.blob=!1}}}try{v.nodestream=!!T("readable-stream").Readable}catch(L){v.nodestream=!1}},{"readable-stream":16}],31:[function(T,_,v){"use strict";for(var S=T("./utils"),O=T("./support"),L=T("./nodejsUtils"),M=T("./stream/GenericWorker"),F=new Array(256),U=0;U<256;U++)F[U]=252<=U?6:248<=U?5:240<=U?4:224<=U?3:192<=U?2:1;function z(){M.call(this,"utf-8 decode"),this.leftOver=null}function W(){M.call(this,"utf-8 encode")}F[254]=F[254]=1,v.utf8encode=function(N){return O.nodebuffer?L.newBufferFrom(N,"utf-8"):function(H){var j,k,B,V,K,Y=H.length,Q=0;for(V=0;V<Y;V++)(64512&(k=H.charCodeAt(V)))==55296&&V+1<Y&&(64512&(B=H.charCodeAt(V+1)))==56320&&(k=65536+(k-55296<<10)+(B-56320),V++),Q+=k<128?1:k<2048?2:k<65536?3:4;for(j=O.uint8array?new Uint8Array(Q):new Array(Q),V=K=0;K<Q;V++)(64512&(k=H.charCodeAt(V)))==55296&&V+1<Y&&(64512&(B=H.charCodeAt(V+1)))==56320&&(k=65536+(k-55296<<10)+(B-56320),V++),k<128?j[K++]=k:(k<2048?j[K++]=192|k>>>6:(k<65536?j[K++]=224|k>>>12:(j[K++]=240|k>>>18,j[K++]=128|k>>>12&63),j[K++]=128|k>>>6&63),j[K++]=128|63&k);return j}(N)},v.utf8decode=function(N){return O.nodebuffer?S.transformTo("nodebuffer",N).toString("utf-8"):function(H){var j,k,B,V,K=H.length,Y=new Array(2*K);for(j=k=0;j<K;)if((B=H[j++])<128)Y[k++]=B;else if(4<(V=F[B]))Y[k++]=65533,j+=V-1;else{for(B&=V===2?31:V===3?15:7;1<V&&j<K;)B=B<<6|63&H[j++],V--;1<V?Y[k++]=65533:B<65536?Y[k++]=B:(B-=65536,Y[k++]=55296|B>>10&1023,Y[k++]=56320|1023&B)}return Y.length!==k&&(Y.subarray?Y=Y.subarray(0,k):Y.length=k),S.applyFromCharCode(Y)}(N=S.transformTo(O.uint8array?"uint8array":"array",N))},S.inherits(z,M),z.prototype.processChunk=function(N){var H=S.transformTo(O.uint8array?"uint8array":"array",N.data);if(this.leftOver&&this.leftOver.length){if(O.uint8array){var j=H;(H=new Uint8Array(j.length+this.leftOver.length)).set(this.leftOver,0),H.set(j,this.leftOver.length)}else H=this.leftOver.concat(H);this.leftOver=null}var k=function(V,K){var Y;for((K=K||V.length)>V.length&&(K=V.length),Y=K-1;0<=Y&&(192&V[Y])==128;)Y--;return Y<0||Y===0?K:Y+F[V[Y]]>K?Y:K}(H),B=H;k!==H.length&&(O.uint8array?(B=H.subarray(0,k),this.leftOver=H.subarray(k,H.length)):(B=H.slice(0,k),this.leftOver=H.slice(k,H.length))),this.push({data:v.utf8decode(B),meta:N.meta})},z.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:v.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},v.Utf8DecodeWorker=z,S.inherits(W,M),W.prototype.processChunk=function(N){this.push({data:v.utf8encode(N.data),meta:N.meta})},v.Utf8EncodeWorker=W},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(T,_,v){"use strict";var S=T("./support"),O=T("./base64"),L=T("./nodejsUtils"),M=T("set-immediate-shim"),F=T("./external");function U(k){return k}function z(k,B){for(var V=0;V<k.length;++V)B[V]=255&k.charCodeAt(V);return B}v.newBlob=function(k,B){v.checkSupport("blob");try{return new Blob([k],{type:B})}catch(K){try{var V=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return V.append(k),V.getBlob(B)}catch(Y){throw new Error("Bug : can't construct the Blob.")}}};var W={stringifyByChunk:function(B,V,K){var Y=[],Q=0,he=B.length;if(he<=K)return String.fromCharCode.apply(null,B);for(;Q<he;)V==="array"||V==="nodebuffer"?Y.push(String.fromCharCode.apply(null,B.slice(Q,Math.min(Q+K,he)))):Y.push(String.fromCharCode.apply(null,B.subarray(Q,Math.min(Q+K,he)))),Q+=K;return Y.join("")},stringifyByChar:function(B){for(var V="",K=0;K<B.length;K++)V+=String.fromCharCode(B[K]);return V},applyCanBeUsed:{uint8array:function(){try{return S.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(k){return!1}}(),nodebuffer:function(){try{return S.nodebuffer&&String.fromCharCode.apply(null,L.allocBuffer(1)).length===1}catch(k){return!1}}()}};function N(k){var B=65536,V=v.getTypeOf(k),K=!0;if(V==="uint8array"?K=W.applyCanBeUsed.uint8array:V==="nodebuffer"&&(K=W.applyCanBeUsed.nodebuffer),K)for(;1<B;)try{return W.stringifyByChunk(k,V,B)}catch(Y){B=Math.floor(B/2)}return W.stringifyByChar(k)}function H(k,B){for(var V=0;V<k.length;V++)B[V]=k[V];return B}v.applyFromCharCode=N;var j={};j.string={string:U,array:function(B){return z(B,new Array(B.length))},arraybuffer:function(B){return j.string.uint8array(B).buffer},uint8array:function(B){return z(B,new Uint8Array(B.length))},nodebuffer:function(B){return z(B,L.allocBuffer(B.length))}},j.array={string:N,array:U,arraybuffer:function(B){return new Uint8Array(B).buffer},uint8array:function(B){return new Uint8Array(B)},nodebuffer:function(B){return L.newBufferFrom(B)}},j.arraybuffer={string:function(B){return N(new Uint8Array(B))},array:function(B){return H(new Uint8Array(B),new Array(B.byteLength))},arraybuffer:U,uint8array:function(B){return new Uint8Array(B)},nodebuffer:function(B){return L.newBufferFrom(new Uint8Array(B))}},j.uint8array={string:N,array:function(B){return H(B,new Array(B.length))},arraybuffer:function(B){return B.buffer},uint8array:U,nodebuffer:function(B){return L.newBufferFrom(B)}},j.nodebuffer={string:N,array:function(B){return H(B,new Array(B.length))},arraybuffer:function(B){return j.nodebuffer.uint8array(B).buffer},uint8array:function(B){return H(B,new Uint8Array(B.length))},nodebuffer:U},v.transformTo=function(k,B){if(B=B||"",!k)return B;v.checkSupport(k);var V=v.getTypeOf(B);return j[V][k](B)},v.getTypeOf=function(k){return typeof k=="string"?"string":Object.prototype.toString.call(k)==="[object Array]"?"array":S.nodebuffer&&L.isBuffer(k)?"nodebuffer":S.uint8array&&k instanceof Uint8Array?"uint8array":S.arraybuffer&&k instanceof ArrayBuffer?"arraybuffer":void 0},v.checkSupport=function(k){if(!S[k.toLowerCase()])throw new Error(k+" is not supported by this platform")},v.MAX_VALUE_16BITS=65535,v.MAX_VALUE_32BITS=-1,v.pretty=function(k){var B,V,K="";for(V=0;V<(k||"").length;V++)K+="\\x"+((B=k.charCodeAt(V))<16?"0":"")+B.toString(16).toUpperCase();return K},v.delay=function(k,B,V){M(function(){k.apply(V||null,B||[])})},v.inherits=function(k,B){function V(){}V.prototype=B.prototype,k.prototype=new V},v.extend=function(){var k,B,V={};for(k=0;k<arguments.length;k++)for(B in arguments[k])arguments[k].hasOwnProperty(B)&&V[B]===void 0&&(V[B]=arguments[k][B]);return V},v.prepareContent=function(k,B,V,K,Y){return F.Promise.resolve(B).then(function(Q){return S.blob&&(Q instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(Q))!==-1)&&typeof FileReader!="undefined"?new F.Promise(function(he,G){var ye=new FileReader;ye.onload=function(Ae){he(Ae.target.result)},ye.onerror=function(Ae){G(Ae.target.error)},ye.readAsArrayBuffer(Q)}):Q}).then(function(Q){var he,G=v.getTypeOf(Q);return G?(G==="arraybuffer"?Q=v.transformTo("uint8array",Q):G==="string"&&(Y?Q=O.decode(Q):V&&K!==!0&&(Q=z(he=Q,S.uint8array?new Uint8Array(he.length):new Array(he.length)))),Q):F.Promise.reject(new Error("Can't read the data of '"+k+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"set-immediate-shim":54}],33:[function(T,_,v){"use strict";var S=T("./reader/readerFor"),O=T("./utils"),L=T("./signature"),M=T("./zipEntry"),F=(T("./utf8"),T("./support"));function U(z){this.files=[],this.loadOptions=z}U.prototype={checkSignature:function(W){if(!this.reader.readAndCheckSignature(W)){this.reader.index-=4;var N=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+O.pretty(N)+", expected "+O.pretty(W)+")")}},isSignature:function(W,N){var H=this.reader.index;this.reader.setIndex(W);var j=this.reader.readString(4)===N;return this.reader.setIndex(H),j},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 W=this.reader.readData(this.zipCommentLength),N=F.uint8array?"uint8array":"array",H=O.transformTo(N,W);this.zipComment=this.loadOptions.decodeFileName(H)},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 W,N,H,j=this.zip64EndOfCentralSize-44;0<j;)W=this.reader.readInt(2),N=this.reader.readInt(4),H=this.reader.readData(N),this.zip64ExtensibleData[W]={id:W,length:N,value:H}},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 W,N;for(W=0;W<this.files.length;W++)N=this.files[W],this.reader.setIndex(N.localHeaderOffset),this.checkSignature(L.LOCAL_FILE_HEADER),N.readLocalPart(this.reader),N.handleUTF8(),N.processAttributes()},readCentralDir:function(){var W;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(L.CENTRAL_FILE_HEADER);)(W=new M({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(W);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var W=this.reader.lastIndexOfSignature(L.CENTRAL_DIRECTORY_END);if(W<0)throw this.isSignature(0,L.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(W);var N=W;if(this.checkSignature(L.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===O.MAX_VALUE_16BITS||this.diskWithCentralDirStart===O.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===O.MAX_VALUE_16BITS||this.centralDirRecords===O.MAX_VALUE_16BITS||this.centralDirSize===O.MAX_VALUE_32BITS||this.centralDirOffset===O.MAX_VALUE_32BITS){if(this.zip64=!0,(W=this.reader.lastIndexOfSignature(L.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(W),this.checkSignature(L.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,L.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(L.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(L.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var H=this.centralDirOffset+this.centralDirSize;this.zip64&&(H+=20,H+=12+this.zip64EndOfCentralSize);var j=N-H;if(0<j)this.isSignature(N,L.CENTRAL_FILE_HEADER)||(this.reader.zero=j);else if(j<0)throw new Error("Corrupted zip: missing "+Math.abs(j)+" bytes.")},prepareReader:function(W){this.reader=S(W)},load:function(W){this.prepareReader(W),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},_.exports=U},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(T,_,v){"use strict";var S=T("./reader/readerFor"),O=T("./utils"),L=T("./compressedObject"),M=T("./crc32"),F=T("./utf8"),U=T("./compressions"),z=T("./support");function W(N,H){this.options=N,this.loadOptions=H}W.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(H){var j,k;if(H.skip(22),this.fileNameLength=H.readInt(2),k=H.readInt(2),this.fileName=H.readData(this.fileNameLength),H.skip(k),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((j=function(B){for(var V in U)if(U.hasOwnProperty(V)&&U[V].magic===B)return U[V];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+O.pretty(this.compressionMethod)+" unknown (inner file : "+O.transformTo("string",this.fileName)+")");this.decompressed=new L(this.compressedSize,this.uncompressedSize,this.crc32,j,H.readData(this.compressedSize))},readCentralPart:function(H){this.versionMadeBy=H.readInt(2),H.skip(2),this.bitFlag=H.readInt(2),this.compressionMethod=H.readString(2),this.date=H.readDate(),this.crc32=H.readInt(4),this.compressedSize=H.readInt(4),this.uncompressedSize=H.readInt(4);var j=H.readInt(2);if(this.extraFieldsLength=H.readInt(2),this.fileCommentLength=H.readInt(2),this.diskNumberStart=H.readInt(2),this.internalFileAttributes=H.readInt(2),this.externalFileAttributes=H.readInt(4),this.localHeaderOffset=H.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");H.skip(j),this.readExtraFields(H),this.parseZIP64ExtraField(H),this.fileComment=H.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var H=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),H==0&&(this.dosPermissions=63&this.externalFileAttributes),H==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(H){if(this.extraFields[1]){var j=S(this.extraFields[1].value);this.uncompressedSize===O.MAX_VALUE_32BITS&&(this.uncompressedSize=j.readInt(8)),this.compressedSize===O.MAX_VALUE_32BITS&&(this.compressedSize=j.readInt(8)),this.localHeaderOffset===O.MAX_VALUE_32BITS&&(this.localHeaderOffset=j.readInt(8)),this.diskNumberStart===O.MAX_VALUE_32BITS&&(this.diskNumberStart=j.readInt(4))}},readExtraFields:function(H){var j,k,B,V=H.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});H.index+4<V;)j=H.readInt(2),k=H.readInt(2),B=H.readData(k),this.extraFields[j]={id:j,length:k,value:B};H.setIndex(V)},handleUTF8:function(){var H=z.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=F.utf8decode(this.fileName),this.fileCommentStr=F.utf8decode(this.fileComment);else{var j=this.findExtraFieldUnicodePath();if(j!==null)this.fileNameStr=j;else{var k=O.transformTo(H,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(k)}var B=this.findExtraFieldUnicodeComment();if(B!==null)this.fileCommentStr=B;else{var V=O.transformTo(H,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(V)}}},findExtraFieldUnicodePath:function(){var H=this.extraFields[28789];if(H){var j=S(H.value);return j.readInt(1)!==1||M(this.fileName)!==j.readInt(4)?null:F.utf8decode(j.readData(H.length-5))}return null},findExtraFieldUnicodeComment:function(){var H=this.extraFields[25461];if(H){var j=S(H.value);return j.readInt(1)!==1||M(this.fileComment)!==j.readInt(4)?null:F.utf8decode(j.readData(H.length-5))}return null}},_.exports=W},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(T,_,v){"use strict";function S(H,j,k){this.name=H,this.dir=k.dir,this.date=k.date,this.comment=k.comment,this.unixPermissions=k.unixPermissions,this.dosPermissions=k.dosPermissions,this._data=j,this._dataBinary=k.binary,this.options={compression:k.compression,compressionOptions:k.compressionOptions}}var O=T("./stream/StreamHelper"),L=T("./stream/DataWorker"),M=T("./utf8"),F=T("./compressedObject"),U=T("./stream/GenericWorker");S.prototype={internalStream:function(j){var k=null,B="string";try{if(!j)throw new Error("No output type specified.");var V=(B=j.toLowerCase())==="string"||B==="text";B!=="binarystring"&&B!=="text"||(B="string"),k=this._decompressWorker();var K=!this._dataBinary;K&&!V&&(k=k.pipe(new M.Utf8EncodeWorker)),!K&&V&&(k=k.pipe(new M.Utf8DecodeWorker))}catch(Y){(k=new U("error")).error(Y)}return new O(k,B,"")},async:function(j,k){return this.internalStream(j).accumulate(k)},nodeStream:function(j,k){return this.internalStream(j||"nodebuffer").toNodejsStream(k)},_compressWorker:function(j,k){if(this._data instanceof F&&this._data.compression.magic===j.magic)return this._data.getCompressedWorker();var B=this._decompressWorker();return this._dataBinary||(B=B.pipe(new M.Utf8EncodeWorker)),F.createWorkerFrom(B,j,k)},_decompressWorker:function(){return this._data instanceof F?this._data.getContentWorker():this._data instanceof U?this._data:new L(this._data)}};for(var z=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],W=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},N=0;N<z.length;N++)S.prototype[z[N]]=W;_.exports=S},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(T,_,v){(function(S){"use strict";var O,L,M=S.MutationObserver||S.WebKitMutationObserver;if(M){var F=0,U=new M(H),z=S.document.createTextNode("");U.observe(z,{characterData:!0}),O=function(){z.data=F=++F%2}}else if(S.setImmediate||S.MessageChannel===void 0)O="document"in S&&"onreadystatechange"in S.document.createElement("script")?function(){var j=S.document.createElement("script");j.onreadystatechange=function(){H(),j.onreadystatechange=null,j.parentNode.removeChild(j),j=null},S.document.documentElement.appendChild(j)}:function(){setTimeout(H,0)};else{var W=new S.MessageChannel;W.port1.onmessage=H,O=function(){W.port2.postMessage(0)}}var N=[];function H(){var j,k;L=!0;for(var B=N.length;B;){for(k=N,N=[],j=-1;++j<B;)k[j]();B=N.length}L=!1}_.exports=function(j){N.push(j)!==1||L||O()}}).call(this,E!==void 0?E:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(T,_,v){"use strict";var S=T("immediate");function O(){}var L={},M=["REJECTED"],F=["FULFILLED"],U=["PENDING"];function z(B){if(typeof B!="function")throw new TypeError("resolver must be a function");this.state=U,this.queue=[],this.outcome=void 0,B!==O&&j(this,B)}function W(B,V,K){this.promise=B,typeof V=="function"&&(this.onFulfilled=V,this.callFulfilled=this.otherCallFulfilled),typeof K=="function"&&(this.onRejected=K,this.callRejected=this.otherCallRejected)}function N(B,V,K){S(function(){var Y;try{Y=V(K)}catch(Q){return L.reject(B,Q)}Y===B?L.reject(B,new TypeError("Cannot resolve promise with itself")):L.resolve(B,Y)})}function H(B){var V=B&&B.then;if(B&&(typeof B=="object"||typeof B=="function")&&typeof V=="function")return function(){V.apply(B,arguments)}}function j(B,V){var K=!1;function Y(G){K||(K=!0,L.reject(B,G))}function Q(G){K||(K=!0,L.resolve(B,G))}var he=k(function(){V(Q,Y)});he.status==="error"&&Y(he.value)}function k(B,V){var K={};try{K.value=B(V),K.status="success"}catch(Y){K.status="error",K.value=Y}return K}(_.exports=z).prototype.finally=function(B){if(typeof B!="function")return this;var V=this.constructor;return this.then(function(K){return V.resolve(B()).then(function(){return K})},function(K){return V.resolve(B()).then(function(){throw K})})},z.prototype.catch=function(B){return this.then(null,B)},z.prototype.then=function(B,V){if(typeof B!="function"&&this.state===F||typeof V!="function"&&this.state===M)return this;var K=new this.constructor(O);return this.state!==U?N(K,this.state===F?B:V,this.outcome):this.queue.push(new W(K,B,V)),K},W.prototype.callFulfilled=function(B){L.resolve(this.promise,B)},W.prototype.otherCallFulfilled=function(B){N(this.promise,this.onFulfilled,B)},W.prototype.callRejected=function(B){L.reject(this.promise,B)},W.prototype.otherCallRejected=function(B){N(this.promise,this.onRejected,B)},L.resolve=function(B,V){var K=k(H,V);if(K.status==="error")return L.reject(B,K.value);var Y=K.value;if(Y)j(B,Y);else{B.state=F,B.outcome=V;for(var Q=-1,he=B.queue.length;++Q<he;)B.queue[Q].callFulfilled(V)}return B},L.reject=function(B,V){B.state=M,B.outcome=V;for(var K=-1,Y=B.queue.length;++K<Y;)B.queue[K].callRejected(V);return B},z.resolve=function(B){return B instanceof this?B:L.resolve(new this(O),B)},z.reject=function(B){var V=new this(O);return L.reject(V,B)},z.all=function(B){var V=this;if(Object.prototype.toString.call(B)!=="[object Array]")return this.reject(new TypeError("must be an array"));var K=B.length,Y=!1;if(!K)return this.resolve([]);for(var Q=new Array(K),he=0,G=-1,ye=new this(O);++G<K;)Ae(B[G],G);return ye;function Ae(ge,Pe){V.resolve(ge).then(function(Re){Q[Pe]=Re,++he!==K||Y||(Y=!0,L.resolve(ye,Q))},function(Re){Y||(Y=!0,L.reject(ye,Re))})}},z.race=function(B){if(Object.prototype.toString.call(B)!=="[object Array]")return this.reject(new TypeError("must be an array"));var V=B.length,K=!1;if(!V)return this.resolve([]);for(var Y,Q=-1,he=new this(O);++Q<V;)Y=B[Q],this.resolve(Y).then(function(G){K||(K=!0,L.resolve(he,G))},function(G){K||(K=!0,L.reject(he,G))});return he}},{immediate:36}],38:[function(T,_,v){"use strict";var S={};(0,T("./lib/utils/common").assign)(S,T("./lib/deflate"),T("./lib/inflate"),T("./lib/zlib/constants")),_.exports=S},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(T,_,v){"use strict";var S=T("./zlib/deflate"),O=T("./utils/common"),L=T("./utils/strings"),M=T("./zlib/messages"),F=T("./zlib/zstream"),U=Object.prototype.toString,z=0,W=-1,N=0,H=8;function j(B){if(!(this instanceof j))return new j(B);this.options=O.assign({level:W,method:H,chunkSize:16384,windowBits:15,memLevel:8,strategy:N,to:""},B||{});var V=this.options;V.raw&&0<V.windowBits?V.windowBits=-V.windowBits:V.gzip&&0<V.windowBits&&V.windowBits<16&&(V.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new F,this.strm.avail_out=0;var K=S.deflateInit2(this.strm,V.level,V.method,V.windowBits,V.memLevel,V.strategy);if(K!==z)throw new Error(M[K]);if(V.header&&S.deflateSetHeader(this.strm,V.header),V.dictionary){var Y;if(Y=typeof V.dictionary=="string"?L.string2buf(V.dictionary):U.call(V.dictionary)==="[object ArrayBuffer]"?new Uint8Array(V.dictionary):V.dictionary,(K=S.deflateSetDictionary(this.strm,Y))!==z)throw new Error(M[K]);this._dict_set=!0}}function k(B,V){var K=new j(V);if(K.push(B,!0),K.err)throw K.msg||M[K.err];return K.result}j.prototype.push=function(B,V){var K,Y,Q=this.strm,he=this.options.chunkSize;if(this.ended)return!1;Y=V===~~V?V:V===!0?4:0,typeof B=="string"?Q.input=L.string2buf(B):U.call(B)==="[object ArrayBuffer]"?Q.input=new Uint8Array(B):Q.input=B,Q.next_in=0,Q.avail_in=Q.input.length;do{if(Q.avail_out===0&&(Q.output=new O.Buf8(he),Q.next_out=0,Q.avail_out=he),(K=S.deflate(Q,Y))!==1&&K!==z)return this.onEnd(K),!(this.ended=!0);Q.avail_out!==0&&(Q.avail_in!==0||Y!==4&&Y!==2)||(this.options.to==="string"?this.onData(L.buf2binstring(O.shrinkBuf(Q.output,Q.next_out))):this.onData(O.shrinkBuf(Q.output,Q.next_out)))}while((0<Q.avail_in||Q.avail_out===0)&&K!==1);return Y===4?(K=S.deflateEnd(this.strm),this.onEnd(K),this.ended=!0,K===z):Y!==2||(this.onEnd(z),!(Q.avail_out=0))},j.prototype.onData=function(B){this.chunks.push(B)},j.prototype.onEnd=function(B){B===z&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=O.flattenChunks(this.chunks)),this.chunks=[],this.err=B,this.msg=this.strm.msg},v.Deflate=j,v.deflate=k,v.deflateRaw=function(B,V){return(V=V||{}).raw=!0,k(B,V)},v.gzip=function(B,V){return(V=V||{}).gzip=!0,k(B,V)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(T,_,v){"use strict";var S=T("./zlib/inflate"),O=T("./utils/common"),L=T("./utils/strings"),M=T("./zlib/constants"),F=T("./zlib/messages"),U=T("./zlib/zstream"),z=T("./zlib/gzheader"),W=Object.prototype.toString;function N(j){if(!(this instanceof N))return new N(j);this.options=O.assign({chunkSize:16384,windowBits:0,to:""},j||{});var k=this.options;k.raw&&0<=k.windowBits&&k.windowBits<16&&(k.windowBits=-k.windowBits,k.windowBits===0&&(k.windowBits=-15)),!(0<=k.windowBits&&k.windowBits<16)||j&&j.windowBits||(k.windowBits+=32),15<k.windowBits&&k.windowBits<48&&(15&k.windowBits)==0&&(k.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new U,this.strm.avail_out=0;var B=S.inflateInit2(this.strm,k.windowBits);if(B!==M.Z_OK)throw new Error(F[B]);this.header=new z,S.inflateGetHeader(this.strm,this.header)}function H(j,k){var B=new N(k);if(B.push(j,!0),B.err)throw B.msg||F[B.err];return B.result}N.prototype.push=function(j,k){var B,V,K,Y,Q,he,G=this.strm,ye=this.options.chunkSize,Ae=this.options.dictionary,ge=!1;if(this.ended)return!1;V=k===~~k?k:k===!0?M.Z_FINISH:M.Z_NO_FLUSH,typeof j=="string"?G.input=L.binstring2buf(j):W.call(j)==="[object ArrayBuffer]"?G.input=new Uint8Array(j):G.input=j,G.next_in=0,G.avail_in=G.input.length;do{if(G.avail_out===0&&(G.output=new O.Buf8(ye),G.next_out=0,G.avail_out=ye),(B=S.inflate(G,M.Z_NO_FLUSH))===M.Z_NEED_DICT&&Ae&&(he=typeof Ae=="string"?L.string2buf(Ae):W.call(Ae)==="[object ArrayBuffer]"?new Uint8Array(Ae):Ae,B=S.inflateSetDictionary(this.strm,he)),B===M.Z_BUF_ERROR&&ge===!0&&(B=M.Z_OK,ge=!1),B!==M.Z_STREAM_END&&B!==M.Z_OK)return this.onEnd(B),!(this.ended=!0);G.next_out&&(G.avail_out!==0&&B!==M.Z_STREAM_END&&(G.avail_in!==0||V!==M.Z_FINISH&&V!==M.Z_SYNC_FLUSH)||(this.options.to==="string"?(K=L.utf8border(G.output,G.next_out),Y=G.next_out-K,Q=L.buf2string(G.output,K),G.next_out=Y,G.avail_out=ye-Y,Y&&O.arraySet(G.output,G.output,K,Y,0),this.onData(Q)):this.onData(O.shrinkBuf(G.output,G.next_out)))),G.avail_in===0&&G.avail_out===0&&(ge=!0)}while((0<G.avail_in||G.avail_out===0)&&B!==M.Z_STREAM_END);return B===M.Z_STREAM_END&&(V=M.Z_FINISH),V===M.Z_FINISH?(B=S.inflateEnd(this.strm),this.onEnd(B),this.ended=!0,B===M.Z_OK):V!==M.Z_SYNC_FLUSH||(this.onEnd(M.Z_OK),!(G.avail_out=0))},N.prototype.onData=function(j){this.chunks.push(j)},N.prototype.onEnd=function(j){j===M.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=O.flattenChunks(this.chunks)),this.chunks=[],this.err=j,this.msg=this.strm.msg},v.Inflate=N,v.inflate=H,v.inflateRaw=function(j,k){return(k=k||{}).raw=!0,H(j,k)},v.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(T,_,v){"use strict";var S=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";v.assign=function(M){for(var F=Array.prototype.slice.call(arguments,1);F.length;){var U=F.shift();if(U){if(typeof U!="object")throw new TypeError(U+"must be non-object");for(var z in U)U.hasOwnProperty(z)&&(M[z]=U[z])}}return M},v.shrinkBuf=function(M,F){return M.length===F?M:M.subarray?M.subarray(0,F):(M.length=F,M)};var O={arraySet:function(F,U,z,W,N){if(U.subarray&&F.subarray)F.set(U.subarray(z,z+W),N);else for(var H=0;H<W;H++)F[N+H]=U[z+H]},flattenChunks:function(F){var U,z,W,N,H,j;for(U=W=0,z=F.length;U<z;U++)W+=F[U].length;for(j=new Uint8Array(W),U=N=0,z=F.length;U<z;U++)H=F[U],j.set(H,N),N+=H.length;return j}},L={arraySet:function(F,U,z,W,N){for(var H=0;H<W;H++)F[N+H]=U[z+H]},flattenChunks:function(F){return[].concat.apply([],F)}};v.setTyped=function(M){M?(v.Buf8=Uint8Array,v.Buf16=Uint16Array,v.Buf32=Int32Array,v.assign(v,O)):(v.Buf8=Array,v.Buf16=Array,v.Buf32=Array,v.assign(v,L))},v.setTyped(S)},{}],42:[function(T,_,v){"use strict";var S=T("./common"),O=!0,L=!0;try{String.fromCharCode.apply(null,[0])}catch(z){O=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(z){L=!1}for(var M=new S.Buf8(256),F=0;F<256;F++)M[F]=252<=F?6:248<=F?5:240<=F?4:224<=F?3:192<=F?2:1;function U(z,W){if(W<65537&&(z.subarray&&L||!z.subarray&&O))return String.fromCharCode.apply(null,S.shrinkBuf(z,W));for(var N="",H=0;H<W;H++)N+=String.fromCharCode(z[H]);return N}M[254]=M[254]=1,v.string2buf=function(z){var W,N,H,j,k,B=z.length,V=0;for(j=0;j<B;j++)(64512&(N=z.charCodeAt(j)))==55296&&j+1<B&&(64512&(H=z.charCodeAt(j+1)))==56320&&(N=65536+(N-55296<<10)+(H-56320),j++),V+=N<128?1:N<2048?2:N<65536?3:4;for(W=new S.Buf8(V),j=k=0;k<V;j++)(64512&(N=z.charCodeAt(j)))==55296&&j+1<B&&(64512&(H=z.charCodeAt(j+1)))==56320&&(N=65536+(N-55296<<10)+(H-56320),j++),N<128?W[k++]=N:(N<2048?W[k++]=192|N>>>6:(N<65536?W[k++]=224|N>>>12:(W[k++]=240|N>>>18,W[k++]=128|N>>>12&63),W[k++]=128|N>>>6&63),W[k++]=128|63&N);return W},v.buf2binstring=function(z){return U(z,z.length)},v.binstring2buf=function(z){for(var W=new S.Buf8(z.length),N=0,H=W.length;N<H;N++)W[N]=z.charCodeAt(N);return W},v.buf2string=function(z,W){var N,H,j,k,B=W||z.length,V=new Array(2*B);for(N=H=0;N<B;)if((j=z[N++])<128)V[H++]=j;else if(4<(k=M[j]))V[H++]=65533,N+=k-1;else{for(j&=k===2?31:k===3?15:7;1<k&&N<B;)j=j<<6|63&z[N++],k--;1<k?V[H++]=65533:j<65536?V[H++]=j:(j-=65536,V[H++]=55296|j>>10&1023,V[H++]=56320|1023&j)}return U(V,H)},v.utf8border=function(z,W){var N;for((W=W||z.length)>z.length&&(W=z.length),N=W-1;0<=N&&(192&z[N])==128;)N--;return N<0||N===0?W:N+M[z[N]]>W?N:W}},{"./common":41}],43:[function(T,_,v){"use strict";_.exports=function(S,O,L,M){for(var F=65535&S|0,U=S>>>16&65535|0,z=0;L!==0;){for(L-=z=2e3<L?2e3:L;U=U+(F=F+O[M++]|0)|0,--z;);F%=65521,U%=65521}return F|U<<16|0}},{}],44:[function(T,_,v){"use strict";_.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(T,_,v){"use strict";var S=function(){for(var O,L=[],M=0;M<256;M++){O=M;for(var F=0;F<8;F++)O=1&O?3988292384^O>>>1:O>>>1;L[M]=O}return L}();_.exports=function(O,L,M,F){var U=S,z=F+M;O^=-1;for(var W=F;W<z;W++)O=O>>>8^U[255&(O^L[W])];return-1^O}},{}],46:[function(T,_,v){"use strict";var S,O=T("../utils/common"),L=T("./trees"),M=T("./adler32"),F=T("./crc32"),U=T("./messages"),z=0,W=0,N=-2,H=2,j=8,k=286,B=30,V=19,K=2*k+1,Y=15,Q=3,he=258,G=he+Q+1,ye=42,Ae=113;function ge(J,ve){return J.msg=U[ve],ve}function Pe(J){return(J<<1)-(4<J?9:0)}function Re(J){for(var ve=J.length;0<=--ve;)J[ve]=0}function rt(J){var ve=J.state,De=ve.pending;De>J.avail_out&&(De=J.avail_out),De!==0&&(O.arraySet(J.output,ve.pending_buf,ve.pending_out,De,J.next_out),J.next_out+=De,ve.pending_out+=De,J.total_out+=De,J.avail_out-=De,ve.pending-=De,ve.pending===0&&(ve.pending_out=0))}function ne(J,ve){L._tr_flush_block(J,0<=J.block_start?J.block_start:-1,J.strstart-J.block_start,ve),J.block_start=J.strstart,rt(J.strm)}function be(J,ve){J.pending_buf[J.pending++]=ve}function at(J,ve){J.pending_buf[J.pending++]=ve>>>8&255,J.pending_buf[J.pending++]=255&ve}function se(J,ve){var De,ze,dt=J.max_chain_length,Me=J.strstart,Tt=J.prev_length,je=J.nice_match,st=J.strstart>J.w_size-G?J.strstart-(J.w_size-G):0,Xe=J.window,Je=J.w_mask,et=J.prev,ot=J.strstart+he,Ve=Xe[Me+Tt-1],ue=Xe[Me+Tt];J.prev_length>=J.good_match&&(dt>>=2),je>J.lookahead&&(je=J.lookahead);do if(Xe[(De=ve)+Tt]===ue&&Xe[De+Tt-1]===Ve&&Xe[De]===Xe[Me]&&Xe[++De]===Xe[Me+1]){Me+=2,De++;do;while(Xe[++Me]===Xe[++De]&&Xe[++Me]===Xe[++De]&&Xe[++Me]===Xe[++De]&&Xe[++Me]===Xe[++De]&&Xe[++Me]===Xe[++De]&&Xe[++Me]===Xe[++De]&&Xe[++Me]===Xe[++De]&&Xe[++Me]===Xe[++De]&&Me<ot);if(ze=he-(ot-Me),Me=ot-he,Tt<ze){if(J.match_start=ve,je<=(Tt=ze))break;Ve=Xe[Me+Tt-1],ue=Xe[Me+Tt]}}while((ve=et[ve&Je])>st&&--dt!=0);return Tt<=J.lookahead?Tt:J.lookahead}function q(J){var ve,De,ze,dt,Me,Tt,je,st,Xe,Je,et=J.w_size;do{if(dt=J.window_size-J.lookahead-J.strstart,J.strstart>=et+(et-G)){for(O.arraySet(J.window,J.window,et,et,0),J.match_start-=et,J.strstart-=et,J.block_start-=et,ve=De=J.hash_size;ze=J.head[--ve],J.head[ve]=et<=ze?ze-et:0,--De;);for(ve=De=et;ze=J.prev[--ve],J.prev[ve]=et<=ze?ze-et:0,--De;);dt+=et}if(J.strm.avail_in===0)break;if(Tt=J.strm,je=J.window,st=J.strstart+J.lookahead,Je=void 0,(Xe=dt)<(Je=Tt.avail_in)&&(Je=Xe),De=Je===0?0:(Tt.avail_in-=Je,O.arraySet(je,Tt.input,Tt.next_in,Je,st),Tt.state.wrap===1?Tt.adler=M(Tt.adler,je,Je,st):Tt.state.wrap===2&&(Tt.adler=F(Tt.adler,je,Je,st)),Tt.next_in+=Je,Tt.total_in+=Je,Je),J.lookahead+=De,J.lookahead+J.insert>=Q)for(Me=J.strstart-J.insert,J.ins_h=J.window[Me],J.ins_h=(J.ins_h<<J.hash_shift^J.window[Me+1])&J.hash_mask;J.insert&&(J.ins_h=(J.ins_h<<J.hash_shift^J.window[Me+Q-1])&J.hash_mask,J.prev[Me&J.w_mask]=J.head[J.ins_h],J.head[J.ins_h]=Me,Me++,J.insert--,!(J.lookahead+J.insert<Q)););}while(J.lookahead<G&&J.strm.avail_in!==0)}function X(J,ve){for(var De,ze;;){if(J.lookahead<G){if(q(J),J.lookahead<G&&ve===z)return 1;if(J.lookahead===0)break}if(De=0,J.lookahead>=Q&&(J.ins_h=(J.ins_h<<J.hash_shift^J.window[J.strstart+Q-1])&J.hash_mask,De=J.prev[J.strstart&J.w_mask]=J.head[J.ins_h],J.head[J.ins_h]=J.strstart),De!==0&&J.strstart-De<=J.w_size-G&&(J.match_length=se(J,De)),J.match_length>=Q)if(ze=L._tr_tally(J,J.strstart-J.match_start,J.match_length-Q),J.lookahead-=J.match_length,J.match_length<=J.max_lazy_match&&J.lookahead>=Q){for(J.match_length--;J.strstart++,J.ins_h=(J.ins_h<<J.hash_shift^J.window[J.strstart+Q-1])&J.hash_mask,De=J.prev[J.strstart&J.w_mask]=J.head[J.ins_h],J.head[J.ins_h]=J.strstart,--J.match_length!=0;);J.strstart++}else J.strstart+=J.match_length,J.match_length=0,J.ins_h=J.window[J.strstart],J.ins_h=(J.ins_h<<J.hash_shift^J.window[J.strstart+1])&J.hash_mask;else ze=L._tr_tally(J,0,J.window[J.strstart]),J.lookahead--,J.strstart++;if(ze&&(ne(J,!1),J.strm.avail_out===0))return 1}return J.insert=J.strstart<Q-1?J.strstart:Q-1,ve===4?(ne(J,!0),J.strm.avail_out===0?3:4):J.last_lit&&(ne(J,!1),J.strm.avail_out===0)?1:2}function Z(J,ve){for(var De,ze,dt;;){if(J.lookahead<G){if(q(J),J.lookahead<G&&ve===z)return 1;if(J.lookahead===0)break}if(De=0,J.lookahead>=Q&&(J.ins_h=(J.ins_h<<J.hash_shift^J.window[J.strstart+Q-1])&J.hash_mask,De=J.prev[J.strstart&J.w_mask]=J.head[J.ins_h],J.head[J.ins_h]=J.strstart),J.prev_length=J.match_length,J.prev_match=J.match_start,J.match_length=Q-1,De!==0&&J.prev_length<J.max_lazy_match&&J.strstart-De<=J.w_size-G&&(J.match_length=se(J,De),J.match_length<=5&&(J.strategy===1||J.match_length===Q&&4096<J.strstart-J.match_start)&&(J.match_length=Q-1)),J.prev_length>=Q&&J.match_length<=J.prev_length){for(dt=J.strstart+J.lookahead-Q,ze=L._tr_tally(J,J.strstart-1-J.prev_match,J.prev_length-Q),J.lookahead-=J.prev_length-1,J.prev_length-=2;++J.strstart<=dt&&(J.ins_h=(J.ins_h<<J.hash_shift^J.window[J.strstart+Q-1])&J.hash_mask,De=J.prev[J.strstart&J.w_mask]=J.head[J.ins_h],J.head[J.ins_h]=J.strstart),--J.prev_length!=0;);if(J.match_available=0,J.match_length=Q-1,J.strstart++,ze&&(ne(J,!1),J.strm.avail_out===0))return 1}else if(J.match_available){if((ze=L._tr_tally(J,0,J.window[J.strstart-1]))&&ne(J,!1),J.strstart++,J.lookahead--,J.strm.avail_out===0)return 1}else J.match_available=1,J.strstart++,J.lookahead--}return J.match_available&&(ze=L._tr_tally(J,0,J.window[J.strstart-1]),J.match_available=0),J.insert=J.strstart<Q-1?J.strstart:Q-1,ve===4?(ne(J,!0),J.strm.avail_out===0?3:4):J.last_lit&&(ne(J,!1),J.strm.avail_out===0)?1:2}function pe(J,ve,De,ze,dt){this.good_length=J,this.max_lazy=ve,this.nice_length=De,this.max_chain=ze,this.func=dt}function oe(){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=j,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 O.Buf16(2*K),this.dyn_dtree=new O.Buf16(2*(2*B+1)),this.bl_tree=new O.Buf16(2*(2*V+1)),Re(this.dyn_ltree),Re(this.dyn_dtree),Re(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new O.Buf16(Y+1),this.heap=new O.Buf16(2*k+1),Re(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new O.Buf16(2*k+1),Re(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 Ie(J){var ve;return J&&J.state?(J.total_in=J.total_out=0,J.data_type=H,(ve=J.state).pending=0,ve.pending_out=0,ve.wrap<0&&(ve.wrap=-ve.wrap),ve.status=ve.wrap?ye:Ae,J.adler=ve.wrap===2?0:1,ve.last_flush=z,L._tr_init(ve),W):ge(J,N)}function fe(J){var ve,De=Ie(J);return De===W&&((ve=J.state).window_size=2*ve.w_size,Re(ve.head),ve.max_lazy_match=S[ve.level].max_lazy,ve.good_match=S[ve.level].good_length,ve.nice_match=S[ve.level].nice_length,ve.max_chain_length=S[ve.level].max_chain,ve.strstart=0,ve.block_start=0,ve.lookahead=0,ve.insert=0,ve.match_length=ve.prev_length=Q-1,ve.match_available=0,ve.ins_h=0),De}function te(J,ve,De,ze,dt,Me){if(!J)return N;var Tt=1;if(ve===-1&&(ve=6),ze<0?(Tt=0,ze=-ze):15<ze&&(Tt=2,ze-=16),dt<1||9<dt||De!==j||ze<8||15<ze||ve<0||9<ve||Me<0||4<Me)return ge(J,N);ze===8&&(ze=9);var je=new oe;return(J.state=je).strm=J,je.wrap=Tt,je.gzhead=null,je.w_bits=ze,je.w_size=1<<je.w_bits,je.w_mask=je.w_size-1,je.hash_bits=dt+7,je.hash_size=1<<je.hash_bits,je.hash_mask=je.hash_size-1,je.hash_shift=~~((je.hash_bits+Q-1)/Q),je.window=new O.Buf8(2*je.w_size),je.head=new O.Buf16(je.hash_size),je.prev=new O.Buf16(je.w_size),je.lit_bufsize=1<<dt+6,je.pending_buf_size=4*je.lit_bufsize,je.pending_buf=new O.Buf8(je.pending_buf_size),je.d_buf=1*je.lit_bufsize,je.l_buf=3*je.lit_bufsize,je.level=ve,je.strategy=Me,je.method=De,fe(J)}S=[new pe(0,0,0,0,function(J,ve){var De=65535;for(De>J.pending_buf_size-5&&(De=J.pending_buf_size-5);;){if(J.lookahead<=1){if(q(J),J.lookahead===0&&ve===z)return 1;if(J.lookahead===0)break}J.strstart+=J.lookahead,J.lookahead=0;var ze=J.block_start+De;if((J.strstart===0||J.strstart>=ze)&&(J.lookahead=J.strstart-ze,J.strstart=ze,ne(J,!1),J.strm.avail_out===0))return 1;if(J.strstart-J.block_start>=J.w_size-G&&(ne(J,!1),J.strm.avail_out===0))return 1}return J.insert=0,ve===4?(ne(J,!0),J.strm.avail_out===0?3:4):(J.strstart>J.block_start&&(ne(J,!1),J.strm.avail_out),1)}),new pe(4,4,8,4,X),new pe(4,5,16,8,X),new pe(4,6,32,32,X),new pe(4,4,16,16,Z),new pe(8,16,32,32,Z),new pe(8,16,128,128,Z),new pe(8,32,128,256,Z),new pe(32,128,258,1024,Z),new pe(32,258,258,4096,Z)],v.deflateInit=function(J,ve){return te(J,ve,j,15,8,0)},v.deflateInit2=te,v.deflateReset=fe,v.deflateResetKeep=Ie,v.deflateSetHeader=function(J,ve){return J&&J.state?J.state.wrap!==2?N:(J.state.gzhead=ve,W):N},v.deflate=function(J,ve){var De,ze,dt,Me;if(!J||!J.state||5<ve||ve<0)return J?ge(J,N):N;if(ze=J.state,!J.output||!J.input&&J.avail_in!==0||ze.status===666&&ve!==4)return ge(J,J.avail_out===0?-5:N);if(ze.strm=J,De=ze.last_flush,ze.last_flush=ve,ze.status===ye)if(ze.wrap===2)J.adler=0,be(ze,31),be(ze,139),be(ze,8),ze.gzhead?(be(ze,(ze.gzhead.text?1:0)+(ze.gzhead.hcrc?2:0)+(ze.gzhead.extra?4:0)+(ze.gzhead.name?8:0)+(ze.gzhead.comment?16:0)),be(ze,255&ze.gzhead.time),be(ze,ze.gzhead.time>>8&255),be(ze,ze.gzhead.time>>16&255),be(ze,ze.gzhead.time>>24&255),be(ze,ze.level===9?2:2<=ze.strategy||ze.level<2?4:0),be(ze,255&ze.gzhead.os),ze.gzhead.extra&&ze.gzhead.extra.length&&(be(ze,255&ze.gzhead.extra.length),be(ze,ze.gzhead.extra.length>>8&255)),ze.gzhead.hcrc&&(J.adler=F(J.adler,ze.pending_buf,ze.pending,0)),ze.gzindex=0,ze.status=69):(be(ze,0),be(ze,0),be(ze,0),be(ze,0),be(ze,0),be(ze,ze.level===9?2:2<=ze.strategy||ze.level<2?4:0),be(ze,3),ze.status=Ae);else{var Tt=j+(ze.w_bits-8<<4)<<8;Tt|=(2<=ze.strategy||ze.level<2?0:ze.level<6?1:ze.level===6?2:3)<<6,ze.strstart!==0&&(Tt|=32),Tt+=31-Tt%31,ze.status=Ae,at(ze,Tt),ze.strstart!==0&&(at(ze,J.adler>>>16),at(ze,65535&J.adler)),J.adler=1}if(ze.status===69)if(ze.gzhead.extra){for(dt=ze.pending;ze.gzindex<(65535&ze.gzhead.extra.length)&&(ze.pending!==ze.pending_buf_size||(ze.gzhead.hcrc&&ze.pending>dt&&(J.adler=F(J.adler,ze.pending_buf,ze.pending-dt,dt)),rt(J),dt=ze.pending,ze.pending!==ze.pending_buf_size));)be(ze,255&ze.gzhead.extra[ze.gzindex]),ze.gzindex++;ze.gzhead.hcrc&&ze.pending>dt&&(J.adler=F(J.adler,ze.pending_buf,ze.pending-dt,dt)),ze.gzindex===ze.gzhead.extra.length&&(ze.gzindex=0,ze.status=73)}else ze.status=73;if(ze.status===73)if(ze.gzhead.name){dt=ze.pending;do{if(ze.pending===ze.pending_buf_size&&(ze.gzhead.hcrc&&ze.pending>dt&&(J.adler=F(J.adler,ze.pending_buf,ze.pending-dt,dt)),rt(J),dt=ze.pending,ze.pending===ze.pending_buf_size)){Me=1;break}Me=ze.gzindex<ze.gzhead.name.length?255&ze.gzhead.name.charCodeAt(ze.gzindex++):0,be(ze,Me)}while(Me!==0);ze.gzhead.hcrc&&ze.pending>dt&&(J.adler=F(J.adler,ze.pending_buf,ze.pending-dt,dt)),Me===0&&(ze.gzindex=0,ze.status=91)}else ze.status=91;if(ze.status===91)if(ze.gzhead.comment){dt=ze.pending;do{if(ze.pending===ze.pending_buf_size&&(ze.gzhead.hcrc&&ze.pending>dt&&(J.adler=F(J.adler,ze.pending_buf,ze.pending-dt,dt)),rt(J),dt=ze.pending,ze.pending===ze.pending_buf_size)){Me=1;break}Me=ze.gzindex<ze.gzhead.comment.length?255&ze.gzhead.comment.charCodeAt(ze.gzindex++):0,be(ze,Me)}while(Me!==0);ze.gzhead.hcrc&&ze.pending>dt&&(J.adler=F(J.adler,ze.pending_buf,ze.pending-dt,dt)),Me===0&&(ze.status=103)}else ze.status=103;if(ze.status===103&&(ze.gzhead.hcrc?(ze.pending+2>ze.pending_buf_size&&rt(J),ze.pending+2<=ze.pending_buf_size&&(be(ze,255&J.adler),be(ze,J.adler>>8&255),J.adler=0,ze.status=Ae)):ze.status=Ae),ze.pending!==0){if(rt(J),J.avail_out===0)return ze.last_flush=-1,W}else if(J.avail_in===0&&Pe(ve)<=Pe(De)&&ve!==4)return ge(J,-5);if(ze.status===666&&J.avail_in!==0)return ge(J,-5);if(J.avail_in!==0||ze.lookahead!==0||ve!==z&&ze.status!==666){var je=ze.strategy===2?function(st,Xe){for(var Je;;){if(st.lookahead===0&&(q(st),st.lookahead===0)){if(Xe===z)return 1;break}if(st.match_length=0,Je=L._tr_tally(st,0,st.window[st.strstart]),st.lookahead--,st.strstart++,Je&&(ne(st,!1),st.strm.avail_out===0))return 1}return st.insert=0,Xe===4?(ne(st,!0),st.strm.avail_out===0?3:4):st.last_lit&&(ne(st,!1),st.strm.avail_out===0)?1:2}(ze,ve):ze.strategy===3?function(st,Xe){for(var Je,et,ot,Ve,ue=st.window;;){if(st.lookahead<=he){if(q(st),st.lookahead<=he&&Xe===z)return 1;if(st.lookahead===0)break}if(st.match_length=0,st.lookahead>=Q&&0<st.strstart&&(et=ue[ot=st.strstart-1])===ue[++ot]&&et===ue[++ot]&&et===ue[++ot]){Ve=st.strstart+he;do;while(et===ue[++ot]&&et===ue[++ot]&&et===ue[++ot]&&et===ue[++ot]&&et===ue[++ot]&&et===ue[++ot]&&et===ue[++ot]&&et===ue[++ot]&&ot<Ve);st.match_length=he-(Ve-ot),st.match_length>st.lookahead&&(st.match_length=st.lookahead)}if(st.match_length>=Q?(Je=L._tr_tally(st,1,st.match_length-Q),st.lookahead-=st.match_length,st.strstart+=st.match_length,st.match_length=0):(Je=L._tr_tally(st,0,st.window[st.strstart]),st.lookahead--,st.strstart++),Je&&(ne(st,!1),st.strm.avail_out===0))return 1}return st.insert=0,Xe===4?(ne(st,!0),st.strm.avail_out===0?3:4):st.last_lit&&(ne(st,!1),st.strm.avail_out===0)?1:2}(ze,ve):S[ze.level].func(ze,ve);if(je!==3&&je!==4||(ze.status=666),je===1||je===3)return J.avail_out===0&&(ze.last_flush=-1),W;if(je===2&&(ve===1?L._tr_align(ze):ve!==5&&(L._tr_stored_block(ze,0,0,!1),ve===3&&(Re(ze.head),ze.lookahead===0&&(ze.strstart=0,ze.block_start=0,ze.insert=0))),rt(J),J.avail_out===0))return ze.last_flush=-1,W}return ve!==4?W:ze.wrap<=0?1:(ze.wrap===2?(be(ze,255&J.adler),be(ze,J.adler>>8&255),be(ze,J.adler>>16&255),be(ze,J.adler>>24&255),be(ze,255&J.total_in),be(ze,J.total_in>>8&255),be(ze,J.total_in>>16&255),be(ze,J.total_in>>24&255)):(at(ze,J.adler>>>16),at(ze,65535&J.adler)),rt(J),0<ze.wrap&&(ze.wrap=-ze.wrap),ze.pending!==0?W:1)},v.deflateEnd=function(J){var ve;return J&&J.state?(ve=J.state.status)!==ye&&ve!==69&&ve!==73&&ve!==91&&ve!==103&&ve!==Ae&&ve!==666?ge(J,N):(J.state=null,ve===Ae?ge(J,-3):W):N},v.deflateSetDictionary=function(J,ve){var De,ze,dt,Me,Tt,je,st,Xe,Je=ve.length;if(!J||!J.state)return N;if((Me=(De=J.state).wrap)===2||Me===1&&De.status!==ye||De.lookahead)return N;for(Me===1&&(J.adler=M(J.adler,ve,Je,0)),De.wrap=0,Je>=De.w_size&&(Me===0&&(Re(De.head),De.strstart=0,De.block_start=0,De.insert=0),Xe=new O.Buf8(De.w_size),O.arraySet(Xe,ve,Je-De.w_size,De.w_size,0),ve=Xe,Je=De.w_size),Tt=J.avail_in,je=J.next_in,st=J.input,J.avail_in=Je,J.next_in=0,J.input=ve,q(De);De.lookahead>=Q;){for(ze=De.strstart,dt=De.lookahead-(Q-1);De.ins_h=(De.ins_h<<De.hash_shift^De.window[ze+Q-1])&De.hash_mask,De.prev[ze&De.w_mask]=De.head[De.ins_h],De.head[De.ins_h]=ze,ze++,--dt;);De.strstart=ze,De.lookahead=Q-1,q(De)}return De.strstart+=De.lookahead,De.block_start=De.strstart,De.insert=De.lookahead,De.lookahead=0,De.match_length=De.prev_length=Q-1,De.match_available=0,J.next_in=je,J.input=st,J.avail_in=Tt,De.wrap=Me,W},v.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(T,_,v){"use strict";_.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(T,_,v){"use strict";_.exports=function(S,O){var L,M,F,U,z,W,N,H,j,k,B,V,K,Y,Q,he,G,ye,Ae,ge,Pe,Re,rt,ne,be;L=S.state,M=S.next_in,ne=S.input,F=M+(S.avail_in-5),U=S.next_out,be=S.output,z=U-(O-S.avail_out),W=U+(S.avail_out-257),N=L.dmax,H=L.wsize,j=L.whave,k=L.wnext,B=L.window,V=L.hold,K=L.bits,Y=L.lencode,Q=L.distcode,he=(1<<L.lenbits)-1,G=(1<<L.distbits)-1;e:do{K<15&&(V+=ne[M++]<<K,K+=8,V+=ne[M++]<<K,K+=8),ye=Y[V&he];t:for(;;){if(V>>>=Ae=ye>>>24,K-=Ae,(Ae=ye>>>16&255)==0)be[U++]=65535&ye;else{if(!(16&Ae)){if((64&Ae)==0){ye=Y[(65535&ye)+(V&(1<<Ae)-1)];continue t}if(32&Ae){L.mode=12;break e}S.msg="invalid literal/length code",L.mode=30;break e}ge=65535&ye,(Ae&=15)&&(K<Ae&&(V+=ne[M++]<<K,K+=8),ge+=V&(1<<Ae)-1,V>>>=Ae,K-=Ae),K<15&&(V+=ne[M++]<<K,K+=8,V+=ne[M++]<<K,K+=8),ye=Q[V&G];r:for(;;){if(V>>>=Ae=ye>>>24,K-=Ae,!(16&(Ae=ye>>>16&255))){if((64&Ae)==0){ye=Q[(65535&ye)+(V&(1<<Ae)-1)];continue r}S.msg="invalid distance code",L.mode=30;break e}if(Pe=65535&ye,K<(Ae&=15)&&(V+=ne[M++]<<K,(K+=8)<Ae&&(V+=ne[M++]<<K,K+=8)),N<(Pe+=V&(1<<Ae)-1)){S.msg="invalid distance too far back",L.mode=30;break e}if(V>>>=Ae,K-=Ae,(Ae=U-z)<Pe){if(j<(Ae=Pe-Ae)&&L.sane){S.msg="invalid distance too far back",L.mode=30;break e}if(rt=B,(Re=0)===k){if(Re+=H-Ae,Ae<ge){for(ge-=Ae;be[U++]=B[Re++],--Ae;);Re=U-Pe,rt=be}}else if(k<Ae){if(Re+=H+k-Ae,(Ae-=k)<ge){for(ge-=Ae;be[U++]=B[Re++],--Ae;);if(Re=0,k<ge){for(ge-=Ae=k;be[U++]=B[Re++],--Ae;);Re=U-Pe,rt=be}}}else if(Re+=k-Ae,Ae<ge){for(ge-=Ae;be[U++]=B[Re++],--Ae;);Re=U-Pe,rt=be}for(;2<ge;)be[U++]=rt[Re++],be[U++]=rt[Re++],be[U++]=rt[Re++],ge-=3;ge&&(be[U++]=rt[Re++],1<ge&&(be[U++]=rt[Re++]))}else{for(Re=U-Pe;be[U++]=be[Re++],be[U++]=be[Re++],be[U++]=be[Re++],2<(ge-=3););ge&&(be[U++]=be[Re++],1<ge&&(be[U++]=be[Re++]))}break}}break}}while(M<F&&U<W);M-=ge=K>>3,V&=(1<<(K-=ge<<3))-1,S.next_in=M,S.next_out=U,S.avail_in=M<F?F-M+5:5-(M-F),S.avail_out=U<W?W-U+257:257-(U-W),L.hold=V,L.bits=K}},{}],49:[function(T,_,v){"use strict";var S=T("../utils/common"),O=T("./adler32"),L=T("./crc32"),M=T("./inffast"),F=T("./inftrees"),U=1,z=2,W=0,N=-2,H=1,j=852,k=592;function B(Re){return(Re>>>24&255)+(Re>>>8&65280)+((65280&Re)<<8)+((255&Re)<<24)}function V(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new S.Buf16(320),this.work=new S.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function K(Re){var rt;return Re&&Re.state?(rt=Re.state,Re.total_in=Re.total_out=rt.total=0,Re.msg="",rt.wrap&&(Re.adler=1&rt.wrap),rt.mode=H,rt.last=0,rt.havedict=0,rt.dmax=32768,rt.head=null,rt.hold=0,rt.bits=0,rt.lencode=rt.lendyn=new S.Buf32(j),rt.distcode=rt.distdyn=new S.Buf32(k),rt.sane=1,rt.back=-1,W):N}function Y(Re){var rt;return Re&&Re.state?((rt=Re.state).wsize=0,rt.whave=0,rt.wnext=0,K(Re)):N}function Q(Re,rt){var ne,be;return Re&&Re.state?(be=Re.state,rt<0?(ne=0,rt=-rt):(ne=1+(rt>>4),rt<48&&(rt&=15)),rt&&(rt<8||15<rt)?N:(be.window!==null&&be.wbits!==rt&&(be.window=null),be.wrap=ne,be.wbits=rt,Y(Re))):N}function he(Re,rt){var ne,be;return Re?(be=new V,(Re.state=be).window=null,(ne=Q(Re,rt))!==W&&(Re.state=null),ne):N}var G,ye,Ae=!0;function ge(Re){if(Ae){var rt;for(G=new S.Buf32(512),ye=new S.Buf32(32),rt=0;rt<144;)Re.lens[rt++]=8;for(;rt<256;)Re.lens[rt++]=9;for(;rt<280;)Re.lens[rt++]=7;for(;rt<288;)Re.lens[rt++]=8;for(F(U,Re.lens,0,288,G,0,Re.work,{bits:9}),rt=0;rt<32;)Re.lens[rt++]=5;F(z,Re.lens,0,32,ye,0,Re.work,{bits:5}),Ae=!1}Re.lencode=G,Re.lenbits=9,Re.distcode=ye,Re.distbits=5}function Pe(Re,rt,ne,be){var at,se=Re.state;return se.window===null&&(se.wsize=1<<se.wbits,se.wnext=0,se.whave=0,se.window=new S.Buf8(se.wsize)),be>=se.wsize?(S.arraySet(se.window,rt,ne-se.wsize,se.wsize,0),se.wnext=0,se.whave=se.wsize):(be<(at=se.wsize-se.wnext)&&(at=be),S.arraySet(se.window,rt,ne-be,at,se.wnext),(be-=at)?(S.arraySet(se.window,rt,ne-be,be,0),se.wnext=be,se.whave=se.wsize):(se.wnext+=at,se.wnext===se.wsize&&(se.wnext=0),se.whave<se.wsize&&(se.whave+=at))),0}v.inflateReset=Y,v.inflateReset2=Q,v.inflateResetKeep=K,v.inflateInit=function(Re){return he(Re,15)},v.inflateInit2=he,v.inflate=function(Re,rt){var ne,be,at,se,q,X,Z,pe,oe,Ie,fe,te,J,ve,De,ze,dt,Me,Tt,je,st,Xe,Je,et,ot=0,Ve=new S.Buf8(4),ue=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Re||!Re.state||!Re.output||!Re.input&&Re.avail_in!==0)return N;(ne=Re.state).mode===12&&(ne.mode=13),q=Re.next_out,at=Re.output,Z=Re.avail_out,se=Re.next_in,be=Re.input,X=Re.avail_in,pe=ne.hold,oe=ne.bits,Ie=X,fe=Z,Xe=W;e:for(;;)switch(ne.mode){case H:if(ne.wrap===0){ne.mode=13;break}for(;oe<16;){if(X===0)break e;X--,pe+=be[se++]<<oe,oe+=8}if(2&ne.wrap&&pe===35615){Ve[ne.check=0]=255&pe,Ve[1]=pe>>>8&255,ne.check=L(ne.check,Ve,2,0),oe=pe=0,ne.mode=2;break}if(ne.flags=0,ne.head&&(ne.head.done=!1),!(1&ne.wrap)||(((255&pe)<<8)+(pe>>8))%31){Re.msg="incorrect header check",ne.mode=30;break}if((15&pe)!=8){Re.msg="unknown compression method",ne.mode=30;break}if(oe-=4,st=8+(15&(pe>>>=4)),ne.wbits===0)ne.wbits=st;else if(st>ne.wbits){Re.msg="invalid window size",ne.mode=30;break}ne.dmax=1<<st,Re.adler=ne.check=1,ne.mode=512&pe?10:12,oe=pe=0;break;case 2:for(;oe<16;){if(X===0)break e;X--,pe+=be[se++]<<oe,oe+=8}if(ne.flags=pe,(255&ne.flags)!=8){Re.msg="unknown compression method",ne.mode=30;break}if(57344&ne.flags){Re.msg="unknown header flags set",ne.mode=30;break}ne.head&&(ne.head.text=pe>>8&1),512&ne.flags&&(Ve[0]=255&pe,Ve[1]=pe>>>8&255,ne.check=L(ne.check,Ve,2,0)),oe=pe=0,ne.mode=3;case 3:for(;oe<32;){if(X===0)break e;X--,pe+=be[se++]<<oe,oe+=8}ne.head&&(ne.head.time=pe),512&ne.flags&&(Ve[0]=255&pe,Ve[1]=pe>>>8&255,Ve[2]=pe>>>16&255,Ve[3]=pe>>>24&255,ne.check=L(ne.check,Ve,4,0)),oe=pe=0,ne.mode=4;case 4:for(;oe<16;){if(X===0)break e;X--,pe+=be[se++]<<oe,oe+=8}ne.head&&(ne.head.xflags=255&pe,ne.head.os=pe>>8),512&ne.flags&&(Ve[0]=255&pe,Ve[1]=pe>>>8&255,ne.check=L(ne.check,Ve,2,0)),oe=pe=0,ne.mode=5;case 5:if(1024&ne.flags){for(;oe<16;){if(X===0)break e;X--,pe+=be[se++]<<oe,oe+=8}ne.length=pe,ne.head&&(ne.head.extra_len=pe),512&ne.flags&&(Ve[0]=255&pe,Ve[1]=pe>>>8&255,ne.check=L(ne.check,Ve,2,0)),oe=pe=0}else ne.head&&(ne.head.extra=null);ne.mode=6;case 6:if(1024&ne.flags&&(X<(te=ne.length)&&(te=X),te&&(ne.head&&(st=ne.head.extra_len-ne.length,ne.head.extra||(ne.head.extra=new Array(ne.head.extra_len)),S.arraySet(ne.head.extra,be,se,te,st)),512&ne.flags&&(ne.check=L(ne.check,be,te,se)),X-=te,se+=te,ne.length-=te),ne.length))break e;ne.length=0,ne.mode=7;case 7:if(2048&ne.flags){if(X===0)break e;for(te=0;st=be[se+te++],ne.head&&st&&ne.length<65536&&(ne.head.name+=String.fromCharCode(st)),st&&te<X;);if(512&ne.flags&&(ne.check=L(ne.check,be,te,se)),X-=te,se+=te,st)break e}else ne.head&&(ne.head.name=null);ne.length=0,ne.mode=8;case 8:if(4096&ne.flags){if(X===0)break e;for(te=0;st=be[se+te++],ne.head&&st&&ne.length<65536&&(ne.head.comment+=String.fromCharCode(st)),st&&te<X;);if(512&ne.flags&&(ne.check=L(ne.check,be,te,se)),X-=te,se+=te,st)break e}else ne.head&&(ne.head.comment=null);ne.mode=9;case 9:if(512&ne.flags){for(;oe<16;){if(X===0)break e;X--,pe+=be[se++]<<oe,oe+=8}if(pe!==(65535&ne.check)){Re.msg="header crc mismatch",ne.mode=30;break}oe=pe=0}ne.head&&(ne.head.hcrc=ne.flags>>9&1,ne.head.done=!0),Re.adler=ne.check=0,ne.mode=12;break;case 10:for(;oe<32;){if(X===0)break e;X--,pe+=be[se++]<<oe,oe+=8}Re.adler=ne.check=B(pe),oe=pe=0,ne.mode=11;case 11:if(ne.havedict===0)return Re.next_out=q,Re.avail_out=Z,Re.next_in=se,Re.avail_in=X,ne.hold=pe,ne.bits=oe,2;Re.adler=ne.check=1,ne.mode=12;case 12:if(rt===5||rt===6)break e;case 13:if(ne.last){pe>>>=7&oe,oe-=7&oe,ne.mode=27;break}for(;oe<3;){if(X===0)break e;X--,pe+=be[se++]<<oe,oe+=8}switch(ne.last=1&pe,oe-=1,3&(pe>>>=1)){case 0:ne.mode=14;break;case 1:if(ge(ne),ne.mode=20,rt!==6)break;pe>>>=2,oe-=2;break e;case 2:ne.mode=17;break;case 3:Re.msg="invalid block type",ne.mode=30}pe>>>=2,oe-=2;break;case 14:for(pe>>>=7&oe,oe-=7&oe;oe<32;){if(X===0)break e;X--,pe+=be[se++]<<oe,oe+=8}if((65535&pe)!=(pe>>>16^65535)){Re.msg="invalid stored block lengths",ne.mode=30;break}if(ne.length=65535&pe,oe=pe=0,ne.mode=15,rt===6)break e;case 15:ne.mode=16;case 16:if(te=ne.length){if(X<te&&(te=X),Z<te&&(te=Z),te===0)break e;S.arraySet(at,be,se,te,q),X-=te,se+=te,Z-=te,q+=te,ne.length-=te;break}ne.mode=12;break;case 17:for(;oe<14;){if(X===0)break e;X--,pe+=be[se++]<<oe,oe+=8}if(ne.nlen=257+(31&pe),pe>>>=5,oe-=5,ne.ndist=1+(31&pe),pe>>>=5,oe-=5,ne.ncode=4+(15&pe),pe>>>=4,oe-=4,286<ne.nlen||30<ne.ndist){Re.msg="too many length or distance symbols",ne.mode=30;break}ne.have=0,ne.mode=18;case 18:for(;ne.have<ne.ncode;){for(;oe<3;){if(X===0)break e;X--,pe+=be[se++]<<oe,oe+=8}ne.lens[ue[ne.have++]]=7&pe,pe>>>=3,oe-=3}for(;ne.have<19;)ne.lens[ue[ne.have++]]=0;if(ne.lencode=ne.lendyn,ne.lenbits=7,Je={bits:ne.lenbits},Xe=F(0,ne.lens,0,19,ne.lencode,0,ne.work,Je),ne.lenbits=Je.bits,Xe){Re.msg="invalid code lengths set",ne.mode=30;break}ne.have=0,ne.mode=19;case 19:for(;ne.have<ne.nlen+ne.ndist;){for(;ze=(ot=ne.lencode[pe&(1<<ne.lenbits)-1])>>>16&255,dt=65535&ot,!((De=ot>>>24)<=oe);){if(X===0)break e;X--,pe+=be[se++]<<oe,oe+=8}if(dt<16)pe>>>=De,oe-=De,ne.lens[ne.have++]=dt;else{if(dt===16){for(et=De+2;oe<et;){if(X===0)break e;X--,pe+=be[se++]<<oe,oe+=8}if(pe>>>=De,oe-=De,ne.have===0){Re.msg="invalid bit length repeat",ne.mode=30;break}st=ne.lens[ne.have-1],te=3+(3&pe),pe>>>=2,oe-=2}else if(dt===17){for(et=De+3;oe<et;){if(X===0)break e;X--,pe+=be[se++]<<oe,oe+=8}oe-=De,st=0,te=3+(7&(pe>>>=De)),pe>>>=3,oe-=3}else{for(et=De+7;oe<et;){if(X===0)break e;X--,pe+=be[se++]<<oe,oe+=8}oe-=De,st=0,te=11+(127&(pe>>>=De)),pe>>>=7,oe-=7}if(ne.have+te>ne.nlen+ne.ndist){Re.msg="invalid bit length repeat",ne.mode=30;break}for(;te--;)ne.lens[ne.have++]=st}}if(ne.mode===30)break;if(ne.lens[256]===0){Re.msg="invalid code -- missing end-of-block",ne.mode=30;break}if(ne.lenbits=9,Je={bits:ne.lenbits},Xe=F(U,ne.lens,0,ne.nlen,ne.lencode,0,ne.work,Je),ne.lenbits=Je.bits,Xe){Re.msg="invalid literal/lengths set",ne.mode=30;break}if(ne.distbits=6,ne.distcode=ne.distdyn,Je={bits:ne.distbits},Xe=F(z,ne.lens,ne.nlen,ne.ndist,ne.distcode,0,ne.work,Je),ne.distbits=Je.bits,Xe){Re.msg="invalid distances set",ne.mode=30;break}if(ne.mode=20,rt===6)break e;case 20:ne.mode=21;case 21:if(6<=X&&258<=Z){Re.next_out=q,Re.avail_out=Z,Re.next_in=se,Re.avail_in=X,ne.hold=pe,ne.bits=oe,M(Re,fe),q=Re.next_out,at=Re.output,Z=Re.avail_out,se=Re.next_in,be=Re.input,X=Re.avail_in,pe=ne.hold,oe=ne.bits,ne.mode===12&&(ne.back=-1);break}for(ne.back=0;ze=(ot=ne.lencode[pe&(1<<ne.lenbits)-1])>>>16&255,dt=65535&ot,!((De=ot>>>24)<=oe);){if(X===0)break e;X--,pe+=be[se++]<<oe,oe+=8}if(ze&&(240&ze)==0){for(Me=De,Tt=ze,je=dt;ze=(ot=ne.lencode[je+((pe&(1<<Me+Tt)-1)>>Me)])>>>16&255,dt=65535&ot,!(Me+(De=ot>>>24)<=oe);){if(X===0)break e;X--,pe+=be[se++]<<oe,oe+=8}pe>>>=Me,oe-=Me,ne.back+=Me}if(pe>>>=De,oe-=De,ne.back+=De,ne.length=dt,ze===0){ne.mode=26;break}if(32&ze){ne.back=-1,ne.mode=12;break}if(64&ze){Re.msg="invalid literal/length code",ne.mode=30;break}ne.extra=15&ze,ne.mode=22;case 22:if(ne.extra){for(et=ne.extra;oe<et;){if(X===0)break e;X--,pe+=be[se++]<<oe,oe+=8}ne.length+=pe&(1<<ne.extra)-1,pe>>>=ne.extra,oe-=ne.extra,ne.back+=ne.extra}ne.was=ne.length,ne.mode=23;case 23:for(;ze=(ot=ne.distcode[pe&(1<<ne.distbits)-1])>>>16&255,dt=65535&ot,!((De=ot>>>24)<=oe);){if(X===0)break e;X--,pe+=be[se++]<<oe,oe+=8}if((240&ze)==0){for(Me=De,Tt=ze,je=dt;ze=(ot=ne.distcode[je+((pe&(1<<Me+Tt)-1)>>Me)])>>>16&255,dt=65535&ot,!(Me+(De=ot>>>24)<=oe);){if(X===0)break e;X--,pe+=be[se++]<<oe,oe+=8}pe>>>=Me,oe-=Me,ne.back+=Me}if(pe>>>=De,oe-=De,ne.back+=De,64&ze){Re.msg="invalid distance code",ne.mode=30;break}ne.offset=dt,ne.extra=15&ze,ne.mode=24;case 24:if(ne.extra){for(et=ne.extra;oe<et;){if(X===0)break e;X--,pe+=be[se++]<<oe,oe+=8}ne.offset+=pe&(1<<ne.extra)-1,pe>>>=ne.extra,oe-=ne.extra,ne.back+=ne.extra}if(ne.offset>ne.dmax){Re.msg="invalid distance too far back",ne.mode=30;break}ne.mode=25;case 25:if(Z===0)break e;if(te=fe-Z,ne.offset>te){if((te=ne.offset-te)>ne.whave&&ne.sane){Re.msg="invalid distance too far back",ne.mode=30;break}J=te>ne.wnext?(te-=ne.wnext,ne.wsize-te):ne.wnext-te,te>ne.length&&(te=ne.length),ve=ne.window}else ve=at,J=q-ne.offset,te=ne.length;for(Z<te&&(te=Z),Z-=te,ne.length-=te;at[q++]=ve[J++],--te;);ne.length===0&&(ne.mode=21);break;case 26:if(Z===0)break e;at[q++]=ne.length,Z--,ne.mode=21;break;case 27:if(ne.wrap){for(;oe<32;){if(X===0)break e;X--,pe|=be[se++]<<oe,oe+=8}if(fe-=Z,Re.total_out+=fe,ne.total+=fe,fe&&(Re.adler=ne.check=ne.flags?L(ne.check,at,fe,q-fe):O(ne.check,at,fe,q-fe)),fe=Z,(ne.flags?pe:B(pe))!==ne.check){Re.msg="incorrect data check",ne.mode=30;break}oe=pe=0}ne.mode=28;case 28:if(ne.wrap&&ne.flags){for(;oe<32;){if(X===0)break e;X--,pe+=be[se++]<<oe,oe+=8}if(pe!==(4294967295&ne.total)){Re.msg="incorrect length check",ne.mode=30;break}oe=pe=0}ne.mode=29;case 29:Xe=1;break e;case 30:Xe=-3;break e;case 31:return-4;case 32:default:return N}return Re.next_out=q,Re.avail_out=Z,Re.next_in=se,Re.avail_in=X,ne.hold=pe,ne.bits=oe,(ne.wsize||fe!==Re.avail_out&&ne.mode<30&&(ne.mode<27||rt!==4))&&Pe(Re,Re.output,Re.next_out,fe-Re.avail_out)?(ne.mode=31,-4):(Ie-=Re.avail_in,fe-=Re.avail_out,Re.total_in+=Ie,Re.total_out+=fe,ne.total+=fe,ne.wrap&&fe&&(Re.adler=ne.check=ne.flags?L(ne.check,at,fe,Re.next_out-fe):O(ne.check,at,fe,Re.next_out-fe)),Re.data_type=ne.bits+(ne.last?64:0)+(ne.mode===12?128:0)+(ne.mode===20||ne.mode===15?256:0),(Ie==0&&fe===0||rt===4)&&Xe===W&&(Xe=-5),Xe)},v.inflateEnd=function(Re){if(!Re||!Re.state)return N;var rt=Re.state;return rt.window&&(rt.window=null),Re.state=null,W},v.inflateGetHeader=function(Re,rt){var ne;return Re&&Re.state?(2&(ne=Re.state).wrap)==0?N:((ne.head=rt).done=!1,W):N},v.inflateSetDictionary=function(Re,rt){var ne,be=rt.length;return Re&&Re.state?(ne=Re.state).wrap!==0&&ne.mode!==11?N:ne.mode===11&&O(1,rt,be,0)!==ne.check?-3:Pe(Re,rt,be,be)?(ne.mode=31,-4):(ne.havedict=1,W):N},v.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(T,_,v){"use strict";var S=T("../utils/common"),O=[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],L=[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],M=[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],F=[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];_.exports=function(U,z,W,N,H,j,k,B){var V,K,Y,Q,he,G,ye,Ae,ge,Pe=B.bits,Re=0,rt=0,ne=0,be=0,at=0,se=0,q=0,X=0,Z=0,pe=0,oe=null,Ie=0,fe=new S.Buf16(16),te=new S.Buf16(16),J=null,ve=0;for(Re=0;Re<=15;Re++)fe[Re]=0;for(rt=0;rt<N;rt++)fe[z[W+rt]]++;for(at=Pe,be=15;1<=be&&fe[be]===0;be--);if(be<at&&(at=be),be===0)return H[j++]=20971520,H[j++]=20971520,B.bits=1,0;for(ne=1;ne<be&&fe[ne]===0;ne++);for(at<ne&&(at=ne),Re=X=1;Re<=15;Re++)if(X<<=1,(X-=fe[Re])<0)return-1;if(0<X&&(U===0||be!==1))return-1;for(te[1]=0,Re=1;Re<15;Re++)te[Re+1]=te[Re]+fe[Re];for(rt=0;rt<N;rt++)z[W+rt]!==0&&(k[te[z[W+rt]]++]=rt);if(G=U===0?(oe=J=k,19):U===1?(oe=O,Ie-=257,J=L,ve-=257,256):(oe=M,J=F,-1),Re=ne,he=j,q=rt=pe=0,Y=-1,Q=(Z=1<<(se=at))-1,U===1&&852<Z||U===2&&592<Z)return 1;for(;;){for(ye=Re-q,ge=k[rt]<G?(Ae=0,k[rt]):k[rt]>G?(Ae=J[ve+k[rt]],oe[Ie+k[rt]]):(Ae=96,0),V=1<<Re-q,ne=K=1<<se;H[he+(pe>>q)+(K-=V)]=ye<<24|Ae<<16|ge|0,K!==0;);for(V=1<<Re-1;pe&V;)V>>=1;if(V!==0?(pe&=V-1,pe+=V):pe=0,rt++,--fe[Re]==0){if(Re===be)break;Re=z[W+k[rt]]}if(at<Re&&(pe&Q)!==Y){for(q===0&&(q=at),he+=ne,X=1<<(se=Re-q);se+q<be&&!((X-=fe[se+q])<=0);)se++,X<<=1;if(Z+=1<<se,U===1&&852<Z||U===2&&592<Z)return 1;H[Y=pe&Q]=at<<24|se<<16|he-j|0}}return pe!==0&&(H[he+pe]=Re-q<<24|64<<16|0),B.bits=at,0}},{"../utils/common":41}],51:[function(T,_,v){"use strict";_.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(T,_,v){"use strict";var S=T("../utils/common");function O(fe){for(var te=fe.length;0<=--te;)fe[te]=0}var L=15,M=16,F=[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],U=[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],z=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],W=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],N=new Array(576);O(N);var H=new Array(60);O(H);var j=new Array(512);O(j);var k=new Array(256);O(k);var B=new Array(29);O(B);var V,K,Y,Q=new Array(30);function he(fe,te,J,ve,De){this.static_tree=fe,this.extra_bits=te,this.extra_base=J,this.elems=ve,this.max_length=De,this.has_stree=fe&&fe.length}function G(fe,te){this.dyn_tree=fe,this.max_code=0,this.stat_desc=te}function ye(fe){return fe<256?j[fe]:j[256+(fe>>>7)]}function Ae(fe,te){fe.pending_buf[fe.pending++]=255&te,fe.pending_buf[fe.pending++]=te>>>8&255}function ge(fe,te,J){fe.bi_valid>M-J?(fe.bi_buf|=te<<fe.bi_valid&65535,Ae(fe,fe.bi_buf),fe.bi_buf=te>>M-fe.bi_valid,fe.bi_valid+=J-M):(fe.bi_buf|=te<<fe.bi_valid&65535,fe.bi_valid+=J)}function Pe(fe,te,J){ge(fe,J[2*te],J[2*te+1])}function Re(fe,te){for(var J=0;J|=1&fe,fe>>>=1,J<<=1,0<--te;);return J>>>1}function rt(fe,te,J){var ve,De,ze=new Array(L+1),dt=0;for(ve=1;ve<=L;ve++)ze[ve]=dt=dt+J[ve-1]<<1;for(De=0;De<=te;De++){var Me=fe[2*De+1];Me!==0&&(fe[2*De]=Re(ze[Me]++,Me))}}function ne(fe){var te;for(te=0;te<286;te++)fe.dyn_ltree[2*te]=0;for(te=0;te<30;te++)fe.dyn_dtree[2*te]=0;for(te=0;te<19;te++)fe.bl_tree[2*te]=0;fe.dyn_ltree[512]=1,fe.opt_len=fe.static_len=0,fe.last_lit=fe.matches=0}function be(fe){8<fe.bi_valid?Ae(fe,fe.bi_buf):0<fe.bi_valid&&(fe.pending_buf[fe.pending++]=fe.bi_buf),fe.bi_buf=0,fe.bi_valid=0}function at(fe,te,J,ve){var De=2*te,ze=2*J;return fe[De]<fe[ze]||fe[De]===fe[ze]&&ve[te]<=ve[J]}function se(fe,te,J){for(var ve=fe.heap[J],De=J<<1;De<=fe.heap_len&&(De<fe.heap_len&&at(te,fe.heap[De+1],fe.heap[De],fe.depth)&&De++,!at(te,ve,fe.heap[De],fe.depth));)fe.heap[J]=fe.heap[De],J=De,De<<=1;fe.heap[J]=ve}function q(fe,te,J){var ve,De,ze,dt,Me=0;if(fe.last_lit!==0)for(;ve=fe.pending_buf[fe.d_buf+2*Me]<<8|fe.pending_buf[fe.d_buf+2*Me+1],De=fe.pending_buf[fe.l_buf+Me],Me++,ve===0?Pe(fe,De,te):(Pe(fe,(ze=k[De])+256+1,te),(dt=F[ze])!==0&&ge(fe,De-=B[ze],dt),Pe(fe,ze=ye(--ve),J),(dt=U[ze])!==0&&ge(fe,ve-=Q[ze],dt)),Me<fe.last_lit;);Pe(fe,256,te)}function X(fe,te){var J,ve,De,ze=te.dyn_tree,dt=te.stat_desc.static_tree,Me=te.stat_desc.has_stree,Tt=te.stat_desc.elems,je=-1;for(fe.heap_len=0,fe.heap_max=573,J=0;J<Tt;J++)ze[2*J]!==0?(fe.heap[++fe.heap_len]=je=J,fe.depth[J]=0):ze[2*J+1]=0;for(;fe.heap_len<2;)ze[2*(De=fe.heap[++fe.heap_len]=je<2?++je:0)]=1,fe.depth[De]=0,fe.opt_len--,Me&&(fe.static_len-=dt[2*De+1]);for(te.max_code=je,J=fe.heap_len>>1;1<=J;J--)se(fe,ze,J);for(De=Tt;J=fe.heap[1],fe.heap[1]=fe.heap[fe.heap_len--],se(fe,ze,1),ve=fe.heap[1],fe.heap[--fe.heap_max]=J,fe.heap[--fe.heap_max]=ve,ze[2*De]=ze[2*J]+ze[2*ve],fe.depth[De]=(fe.depth[J]>=fe.depth[ve]?fe.depth[J]:fe.depth[ve])+1,ze[2*J+1]=ze[2*ve+1]=De,fe.heap[1]=De++,se(fe,ze,1),2<=fe.heap_len;);fe.heap[--fe.heap_max]=fe.heap[1],function(st,Xe){var Je,et,ot,Ve,ue,ae,lt=Xe.dyn_tree,Ze=Xe.max_code,Te=Xe.stat_desc.static_tree,Jt=Xe.stat_desc.has_stree,mt=Xe.stat_desc.extra_bits,ft=Xe.stat_desc.extra_base,bt=Xe.stat_desc.max_length,Lt=0;for(Ve=0;Ve<=L;Ve++)st.bl_count[Ve]=0;for(lt[2*st.heap[st.heap_max]+1]=0,Je=st.heap_max+1;Je<573;Je++)bt<(Ve=lt[2*lt[2*(et=st.heap[Je])+1]+1]+1)&&(Ve=bt,Lt++),lt[2*et+1]=Ve,Ze<et||(st.bl_count[Ve]++,ue=0,ft<=et&&(ue=mt[et-ft]),ae=lt[2*et],st.opt_len+=ae*(Ve+ue),Jt&&(st.static_len+=ae*(Te[2*et+1]+ue)));if(Lt!==0){do{for(Ve=bt-1;st.bl_count[Ve]===0;)Ve--;st.bl_count[Ve]--,st.bl_count[Ve+1]+=2,st.bl_count[bt]--,Lt-=2}while(0<Lt);for(Ve=bt;Ve!==0;Ve--)for(et=st.bl_count[Ve];et!==0;)Ze<(ot=st.heap[--Je])||(lt[2*ot+1]!==Ve&&(st.opt_len+=(Ve-lt[2*ot+1])*lt[2*ot],lt[2*ot+1]=Ve),et--)}}(fe,te),rt(ze,je,fe.bl_count)}function Z(fe,te,J){var ve,De,ze=-1,dt=te[1],Me=0,Tt=7,je=4;for(dt===0&&(Tt=138,je=3),te[2*(J+1)+1]=65535,ve=0;ve<=J;ve++)De=dt,dt=te[2*(ve+1)+1],++Me<Tt&&De===dt||(Me<je?fe.bl_tree[2*De]+=Me:De!==0?(De!==ze&&fe.bl_tree[2*De]++,fe.bl_tree[32]++):Me<=10?fe.bl_tree[34]++:fe.bl_tree[36]++,ze=De,je=(Me=0)===dt?(Tt=138,3):De===dt?(Tt=6,3):(Tt=7,4))}function pe(fe,te,J){var ve,De,ze=-1,dt=te[1],Me=0,Tt=7,je=4;for(dt===0&&(Tt=138,je=3),ve=0;ve<=J;ve++)if(De=dt,dt=te[2*(ve+1)+1],!(++Me<Tt&&De===dt)){if(Me<je)for(;Pe(fe,De,fe.bl_tree),--Me!=0;);else De!==0?(De!==ze&&(Pe(fe,De,fe.bl_tree),Me--),Pe(fe,16,fe.bl_tree),ge(fe,Me-3,2)):Me<=10?(Pe(fe,17,fe.bl_tree),ge(fe,Me-3,3)):(Pe(fe,18,fe.bl_tree),ge(fe,Me-11,7));ze=De,je=(Me=0)===dt?(Tt=138,3):De===dt?(Tt=6,3):(Tt=7,4)}}O(Q);var oe=!1;function Ie(fe,te,J,ve){var De,ze,dt;ge(fe,0+(ve?1:0),3),ze=te,dt=J,be(De=fe),Ae(De,dt),Ae(De,~dt),S.arraySet(De.pending_buf,De.window,ze,dt,De.pending),De.pending+=dt}v._tr_init=function(fe){oe||(function(){var te,J,ve,De,ze,dt=new Array(L+1);for(De=ve=0;De<28;De++)for(B[De]=ve,te=0;te<1<<F[De];te++)k[ve++]=De;for(k[ve-1]=De,De=ze=0;De<16;De++)for(Q[De]=ze,te=0;te<1<<U[De];te++)j[ze++]=De;for(ze>>=7;De<30;De++)for(Q[De]=ze<<7,te=0;te<1<<U[De]-7;te++)j[256+ze++]=De;for(J=0;J<=L;J++)dt[J]=0;for(te=0;te<=143;)N[2*te+1]=8,te++,dt[8]++;for(;te<=255;)N[2*te+1]=9,te++,dt[9]++;for(;te<=279;)N[2*te+1]=7,te++,dt[7]++;for(;te<=287;)N[2*te+1]=8,te++,dt[8]++;for(rt(N,287,dt),te=0;te<30;te++)H[2*te+1]=5,H[2*te]=Re(te,5);V=new he(N,F,257,286,L),K=new he(H,U,0,30,L),Y=new he(new Array(0),z,0,19,7)}(),oe=!0),fe.l_desc=new G(fe.dyn_ltree,V),fe.d_desc=new G(fe.dyn_dtree,K),fe.bl_desc=new G(fe.bl_tree,Y),fe.bi_buf=0,fe.bi_valid=0,ne(fe)},v._tr_stored_block=Ie,v._tr_flush_block=function(fe,te,J,ve){var De,ze,dt=0;0<fe.level?(fe.strm.data_type===2&&(fe.strm.data_type=function(Me){var Tt,je=4093624447;for(Tt=0;Tt<=31;Tt++,je>>>=1)if(1&je&&Me.dyn_ltree[2*Tt]!==0)return 0;if(Me.dyn_ltree[18]!==0||Me.dyn_ltree[20]!==0||Me.dyn_ltree[26]!==0)return 1;for(Tt=32;Tt<256;Tt++)if(Me.dyn_ltree[2*Tt]!==0)return 1;return 0}(fe)),X(fe,fe.l_desc),X(fe,fe.d_desc),dt=function(Me){var Tt;for(Z(Me,Me.dyn_ltree,Me.l_desc.max_code),Z(Me,Me.dyn_dtree,Me.d_desc.max_code),X(Me,Me.bl_desc),Tt=18;3<=Tt&&Me.bl_tree[2*W[Tt]+1]===0;Tt--);return Me.opt_len+=3*(Tt+1)+5+5+4,Tt}(fe),De=fe.opt_len+3+7>>>3,(ze=fe.static_len+3+7>>>3)<=De&&(De=ze)):De=ze=J+5,J+4<=De&&te!==-1?Ie(fe,te,J,ve):fe.strategy===4||ze===De?(ge(fe,2+(ve?1:0),3),q(fe,N,H)):(ge(fe,4+(ve?1:0),3),function(Me,Tt,je,st){var Xe;for(ge(Me,Tt-257,5),ge(Me,je-1,5),ge(Me,st-4,4),Xe=0;Xe<st;Xe++)ge(Me,Me.bl_tree[2*W[Xe]+1],3);pe(Me,Me.dyn_ltree,Tt-1),pe(Me,Me.dyn_dtree,je-1)}(fe,fe.l_desc.max_code+1,fe.d_desc.max_code+1,dt+1),q(fe,fe.dyn_ltree,fe.dyn_dtree)),ne(fe),ve&&be(fe)},v._tr_tally=function(fe,te,J){return fe.pending_buf[fe.d_buf+2*fe.last_lit]=te>>>8&255,fe.pending_buf[fe.d_buf+2*fe.last_lit+1]=255&te,fe.pending_buf[fe.l_buf+fe.last_lit]=255&J,fe.last_lit++,te===0?fe.dyn_ltree[2*J]++:(fe.matches++,te--,fe.dyn_ltree[2*(k[J]+256+1)]++,fe.dyn_dtree[2*ye(te)]++),fe.last_lit===fe.lit_bufsize-1},v._tr_align=function(fe){var te;ge(fe,2,3),Pe(fe,256,N),(te=fe).bi_valid===16?(Ae(te,te.bi_buf),te.bi_buf=0,te.bi_valid=0):8<=te.bi_valid&&(te.pending_buf[te.pending++]=255&te.bi_buf,te.bi_buf>>=8,te.bi_valid-=8)}},{"../utils/common":41}],53:[function(T,_,v){"use strict";_.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(T,_,v){"use strict";_.exports=typeof setImmediate=="function"?setImmediate:function(){var S=[].slice.apply(arguments);S.splice(1,0,0),setTimeout.apply(null,S)}},{}]},{},[10])(10)})}).call(this,A!==void 0?A:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[1])(1)})}).call(this,t!==void 0?t:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[1])(1)})}).call(this,o!==void 0?o:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[1])(1)})}).call(this,u!==void 0?u:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[1])(1)})}).call(this,typeof g!="undefined"?g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[1])(1)})}).call(this,e("yLpj"),e("HDXh").Buffer)},r6Bn:function(R,I,e){var g=e("bYtY"),f=e("ItGF"),b=e("4fz+"),m=e("BPZU");function y(i,a){return i.zlevel===a.zlevel?i.z===a.z?i.z2-a.z2:i.z-a.z:i.zlevel-a.zlevel}var h=function(){this._roots=[],this._displayList=[],this._displayListLen=0};h.prototype={constructor:h,traverse:function(a,r){for(var o=0;o<this._roots.length;o++)this._roots[o].traverse(a,r)},getDisplayList:function(a,r){return r=r||!1,a&&this.updateDisplayList(r),this._displayList},updateDisplayList:function(a){this._displayListLen=0;for(var r=this._roots,o=this._displayList,d=0,n=r.length;d<n;d++)this._updateAndAddDisplayable(r[d],null,a);o.length=this._displayListLen,f.canvasSupported&&m(o,y)},_updateAndAddDisplayable:function(a,r,o){if(a.ignore&&!o)return;a.beforeUpdate(),a.__dirty&&a.update(),a.afterUpdate();var d=a.clipPath;if(d){r?r=r.slice():r=[];for(var n=d,l=a;n;)n.parent=l,n.updateTransform(),r.push(n),l=n,n=n.clipPath}if(a.isGroup){for(var t=a._children,s=0;s<t.length;s++){var c=t[s];a.__dirty&&(c.__dirty=!0),this._updateAndAddDisplayable(c,r,o)}a.__dirty=!1}else a.__clipPaths=r,this._displayList[this._displayListLen++]=a},addRoot:function(a){if(a.__storage===this)return;a instanceof b&&a.addChildrenToStorage(this),this.addToStorage(a),this._roots.push(a)},delRoot:function(a){if(a==null){for(var r=0;r<this._roots.length;r++){var o=this._roots[r];o instanceof b&&o.delChildrenFromStorage(this)}this._roots=[],this._displayList=[],this._displayListLen=0;return}if(a instanceof Array){for(var r=0,d=a.length;r<d;r++)this.delRoot(a[r]);return}var n=g.indexOf(this._roots,a);n>=0&&(this.delFromStorage(a),this._roots.splice(n,1),a instanceof b&&a.delChildrenFromStorage(this))},addToStorage:function(a){return a&&(a.__storage=this,a.dirty(!1)),this},delFromStorage:function(a){return a&&(a.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:y};var u=h;R.exports=u},rA99:function(R,I,e){var g=e("y+Vt"),f=e("QBsz"),b=e("Sj9i"),m=b.quadraticSubdivide,y=b.cubicSubdivide,h=b.quadraticAt,u=b.cubicAt,i=b.quadraticDerivativeAt,a=b.cubicDerivativeAt,r=[];function o(n,l,t){var s=n.cpx2,c=n.cpy2;return s===null||c===null?[(t?a:u)(n.x1,n.cpx1,n.cpx2,n.x2,l),(t?a:u)(n.y1,n.cpy1,n.cpy2,n.y2,l)]:[(t?i:h)(n.x1,n.cpx1,n.x2,l),(t?i:h)(n.y1,n.cpy1,n.y2,l)]}var d=g.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(l,t){var s=t.x1,c=t.y1,p=t.x2,A=t.y2,w=t.cpx1,C=t.cpy1,x=t.cpx2,E=t.cpy2,T=t.percent;if(T===0)return;l.moveTo(s,c),x==null||E==null?(T<1&&(m(s,w,p,T,r),w=r[1],p=r[2],m(c,C,A,T,r),C=r[1],A=r[2]),l.quadraticCurveTo(w,C,p,A)):(T<1&&(y(s,w,x,p,T,r),w=r[1],x=r[2],p=r[3],y(c,C,E,A,T,r),C=r[1],E=r[2],A=r[3]),l.bezierCurveTo(w,C,x,E,p,A))},pointAt:function(l){return o(this.shape,l,!1)},tangentAt:function(l){var t=o(this.shape,l,!0);return f.normalize(t,t)}});R.exports=d},"rAM+":function(R,I,e){"use strict";e.d(I,"a",function(){return f});var g=e("Qw5x");function f(b,m){var y;if(typeof Symbol=="undefined"||b[Symbol.iterator]==null){if(Array.isArray(b)||(y=Object(g.a)(b))||m&&b&&typeof b.length=="number"){y&&(b=y);var h=0,u=function(){};return{s:u,n:function(){return h>=b.length?{done:!0}:{done:!1,value:b[h++]}},e:function(d){throw d},f:u}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,r;return{s:function(){y=b[Symbol.iterator]()},n:function(){var d=y.next();return i=d.done,d},e:function(d){a=!0,r=d},f:function(){try{!i&&y.return!=null&&y.return()}finally{if(a)throw r}}}}},rEGp:function(R,I){function e(g){var f=-1,b=Array(g.size);return g.forEach(function(m){b[++f]=m}),b}R.exports=e},rHrb:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.CopyToClipboard=void 0;var g=b(e("q1tI")),f=b(e("+QRC"));function b(A){return A&&A.__esModule?A:{default:A}}function m(A){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?m=function(C){return typeof C}:m=function(C){return C&&typeof Symbol=="function"&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},m(A)}function y(A,w){var C=Object.keys(A);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(A);w&&(x=x.filter(function(E){return Object.getOwnPropertyDescriptor(A,E).enumerable})),C.push.apply(C,x)}return C}function h(A){for(var w=1;w<arguments.length;w++){var C=arguments[w]!=null?arguments[w]:{};w%2?y(C,!0).forEach(function(x){c(A,x,C[x])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(C)):y(C).forEach(function(x){Object.defineProperty(A,x,Object.getOwnPropertyDescriptor(C,x))})}return A}function u(A,w){if(A==null)return{};var C=i(A,w),x,E;if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(A);for(E=0;E<T.length;E++){if(x=T[E],w.indexOf(x)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(A,x))continue;C[x]=A[x]}}return C}function i(A,w){if(A==null)return{};var C={},x=Object.keys(A),E,T;for(T=0;T<x.length;T++){if(E=x[T],w.indexOf(E)>=0)continue;C[E]=A[E]}return C}function a(A,w){if(!(A instanceof w))throw new TypeError("Cannot call a class as a function")}function r(A,w){for(var C=0;C<w.length;C++){var x=w[C];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(A,x.key,x)}}function o(A,w,C){return w&&r(A.prototype,w),C&&r(A,C),A}function d(A,w){return w&&(m(w)==="object"||typeof w=="function")?w:l(A)}function n(A){return n=Object.setPrototypeOf?Object.getPrototypeOf:function(C){return C.__proto__||Object.getPrototypeOf(C)},n(A)}function l(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}function t(A,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(w&&w.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),w&&s(A,w)}function s(A,w){return s=Object.setPrototypeOf||function(x,E){return x.__proto__=E,x},s(A,w)}function c(A,w,C){return w in A?Object.defineProperty(A,w,{value:C,enumerable:!0,configurable:!0,writable:!0}):A[w]=C,A}var p=function(A){t(w,A);function w(){var C,x;a(this,w);for(var E=arguments.length,T=new Array(E),_=0;_<E;_++)T[_]=arguments[_];return x=d(this,(C=n(w)).call.apply(C,[this].concat(T))),c(l(x),"onClick",function(v){var S=x.props,O=S.text,L=S.onCopy,M=S.children,F=S.options,U=g.default.Children.only(M),z=(0,f.default)(O,F);L&&L(O,z),U&&U.props&&typeof U.props.onClick=="function"&&U.props.onClick(v)}),x}return o(w,[{key:"render",value:function(){var x=this.props,E=x.text,T=x.onCopy,_=x.options,v=x.children,S=u(x,["text","onCopy","options","children"]),O=g.default.Children.only(v);return g.default.cloneElement(O,h({},S,{onClick:this.onClick}))}}]),w}(g.default.PureComponent);I.CopyToClipboard=p,c(p,"defaultProps",{onCopy:void 0,options:void 0})},rLCj:function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="ReloadOutlined";var h=I.a=g.forwardRef(y)},rUJ1:function(R,I){var e=/[&<>"']/,g=/[&<>"']/g,f=/[<>"']|&(?!#?\w+;)/,b=/[<>"']|&(?!#?\w+;)/g,m={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},y=function(v){return m[v]};function h(_,v){if(v){if(e.test(_))return _.replace(g,y)}else if(f.test(_))return _.replace(b,y);return _}var u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function i(_){return _.replace(u,function(v,S){return S=S.toLowerCase(),S==="colon"?":":S.charAt(0)==="#"?S.charAt(1)==="x"?String.fromCharCode(parseInt(S.substring(2),16)):String.fromCharCode(+S.substring(1)):""})}var a=/(^|[^\[])\^/g;function r(_,v){_=_.source||_,v=v||"";var S={replace:function(L,M){return M=M.source||M,M=M.replace(a,"$1"),_=_.replace(L,M),S},getRegex:function(){return new RegExp(_,v)}};return S}var o=/[^\w:]/g,d=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function n(_,v,S){if(_){var O;try{O=decodeURIComponent(i(S)).replace(o,"").toLowerCase()}catch(L){return null}if(O.indexOf("javascript:")===0||O.indexOf("vbscript:")===0||O.indexOf("data:")===0)return null}v&&!d.test(S)&&(S=p(v,S));try{S=encodeURI(S).replace(/%25/g,"%")}catch(L){return null}return S}var l={},t=/^[^:]+:\/*[^/]*$/,s=/^([^:]+:)[\s\S]*$/,c=/^([^:]+:\/*[^/]*)[\s\S]*$/;function p(_,v){l[" "+_]||(t.test(_)?l[" "+_]=_+"/":l[" "+_]=x(_,"/",!0)),_=l[" "+_];var S=_.indexOf(":")===-1;return v.substring(0,2)==="//"?S?v:_.replace(s,"$1")+v:v.charAt(0)==="/"?S?v:_.replace(c,"$1")+v:_+v}var A={exec:function(){}};function w(_){for(var v=1,S,O;v<arguments.length;v++){S=arguments[v];for(O in S)Object.prototype.hasOwnProperty.call(S,O)&&(_[O]=S[O])}return _}function C(_,v){var S=_.replace(/\|/g,function(M,F,U){for(var z=!1,W=F;--W>=0&&U[W]==="\\";)z=!z;return z?"|":" |"}),O=S.split(/ \|/),L=0;if(O.length>v)O.splice(v);else for(;O.length<v;)O.push("");for(;L<O.length;L++)O[L]=O[L].trim().replace(/\\\|/g,"|");return O}function x(_,v,S){var O=_.length;if(O===0)return"";for(var L=0;L<O;){var M=_.charAt(O-L-1);if(M===v&&!S)L++;else if(M!==v&&S)L++;else break}return _.substr(0,O-L)}function E(_,v){if(_.indexOf(v[1])===-1)return-1;for(var S=_.length,O=0,L=0;L<S;L++)if(_[L]==="\\")L++;else if(_[L]===v[0])O++;else if(_[L]===v[1]&&(O--,O<0))return L;return-1}function T(_){_&&_.sanitize&&!_.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}R.exports={escape:h,unescape:i,edit:r,cleanUrl:n,resolveUrl:p,noopTest:A,merge:w,splitCells:C,rtrim:x,findClosingBracket:E,checkSanitizeDeprecation:T}},rdUC:function(R,I,e){var g=e("MFOe"),f=g.Global;R.exports={name:"localStorage",read:m,write:y,each:h,remove:u,clearAll:i};function b(){return f.localStorage}function m(a){return b().getItem(a)}function y(a,r){return b().setItem(a,r)}function h(a){for(var r=b().length-1;r>=0;r--){var o=b().key(r);a(m(o),o)}}function u(a){return b().removeItem(a)}function i(){return b().clear()}},rdor:function(R,I,e){var g=e("lOQZ"),f=g.circularLayout;function b(m){m.eachSeriesByType("graph",function(y){y.get("layout")==="circular"&&f(y,"symbolSize")})}R.exports=b},rfSb:function(R,I,e){var g=e("T4UG"),f=e("sdST"),b=e("L0Ub"),m=b.getDimensionTypeByAxis,y=e("YXkt"),h=e("bYtY"),u=e("4NO4"),i=u.groupData,a=e("7aKB"),r=a.encodeHTML,o=e("xKMd"),d=2,n=g.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){n.superApply(this,"init",arguments),this.legendVisualProvider=new o(h.bind(this.getData,this),h.bind(this.getRawData,this))},fixData:function(t){var s=t.length,c=i(t,function(U){return U[2]}),p=[];c.buckets.each(function(U,z){p.push({name:z,dataList:U})});for(var A=p.length,w=-1,C=-1,x=0;x<A;++x){var E=p[x].dataList.length;E>w&&(w=E,C=x)}for(var T=0;T<A;++T){if(T===C)continue;for(var _=p[T].name,v=0;v<w;++v){for(var S=p[C].dataList[v][0],O=p[T].dataList.length,L=-1,M=0;M<O;++M){var F=p[T].dataList[M][0];if(F===S){L=M;break}}L===-1&&(t[s]=[],t[s][0]=S,t[s][1]=0,t[s][2]=_,s++)}}return t},getInitialData:function(t,s){for(var c=s.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],p=c.get("type"),A=h.filter(t.data,function(S){return S[2]!==void 0}),w=this.fixData(A||[]),C=[],x=this.nameMap=h.createHashMap(),E=0,T=0;T<w.length;++T)C.push(w[T][d]),x.get(w[T][d])||(x.set(w[T][d],E),E++);var _=f(w,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:m(p)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),v=new y(_,this);return v.initData(w),v},getLayerSeries:function(){for(var t=this.getData(),s=t.count(),c=[],p=0;p<s;++p)c[p]=p;var A=t.mapDimension("single"),w=i(c,function(x){return t.get("name",x)}),C=[];return w.buckets.each(function(x,E){x.sort(function(T,_){return t.get(A,T)-t.get(A,_)}),C.push({name:E,indices:x})}),C},getAxisTooltipData:function(t,s,c){h.isArray(t)||(t=t?[t]:[]);for(var p=this.getData(),A=this.getLayerSeries(),w=[],C=A.length,x,E=0;E<C;++E){for(var T=Number.MAX_VALUE,_=-1,v=A[E].indices.length,S=0;S<v;++S){var O=p.get(t[0],A[E].indices[S]),L=Math.abs(O-s);L<=T&&(x=O,T=L,_=A[E].indices[S])}w.push(_)}return{dataIndices:w,nestestValue:x}},formatTooltip:function(t){var s=this.getData(),c=s.getName(t),p=s.get(s.mapDimension("value"),t);return(isNaN(p)||p==null)&&(p="-"),r(c+" : "+p)},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",color:"#000",fontSize:11},emphasis:{label:{show:!0}}}}),l=n;R.exports=l},rkZ5:function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("ProS"),m=e("c8qY"),y=e("D9ME"),h=e("fls0"),u=e("RSch"),i=e("akwb"),a=e("o40c"),r=e("ZYIC"),o=e("sK/D"),d=o.createClipPath,n=b.extendChartView({type:"lines",init:function(){},render:function(l,t,s){var c=l.getData(),p=this._updateLineDraw(c,l),A=l.get("zlevel"),w=l.get("effect.trailLength"),C=s.getZr(),x=C.painter.getType()==="svg";x||C.painter.getLayer(A).clear(!0),this._lastZlevel!=null&&!x&&C.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(l)&&w&&(x||C.configLayer(A,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(w/10+.9,1),0)})),p.updateData(c);var E=l.get("clip",!0)&&d(l.coordinateSystem,!1,l);E?this.group.setClipPath(E):this.group.removeClipPath(),this._lastZlevel=A,this._finished=!0},incrementalPrepareRender:function(l,t,s){var c=l.getData(),p=this._updateLineDraw(c,l);p.incrementalPrepareUpdate(c),this._clearLayer(s),this._finished=!1},incrementalRender:function(l,t,s){this._lineDraw.incrementalUpdate(l,t.getData()),this._finished=l.end===t.getData().count()},updateTransform:function(l,t,s){var c=l.getData(),p=l.pipelineContext;if(!this._finished||p.large||p.progressiveRender)return{update:!0};var A=r.reset(l);A.progress&&A.progress({start:0,end:c.count()},c),this._lineDraw.updateLayout(),this._clearLayer(s)},_updateLineDraw:function(l,t){var s=this._lineDraw,c=this._showEffect(t),p=!!t.get("polyline"),A=t.pipelineContext,w=A.large;return(!s||c!==this._hasEffet||p!==this._isPolyline||w!==this._isLargeDraw)&&(s&&s.remove(),s=this._lineDraw=w?new a:new m(p?c?i:u:c?y:h),this._hasEffet=c,this._isPolyline=p,this._isLargeDraw=w,this.group.removeAll()),this.group.add(s.group),s},_showEffect:function(l){return!!l.get("effect.show")},_clearLayer:function(l){var t=l.getZr(),s=t.painter.getType()==="svg";!s&&this._lastZlevel!=null&&t.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(l,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},dispose:function(){}});R.exports=n},rmlV:function(R,I,e){var g=e("y+Vt"),f=g.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(m,y){var h=.5522848,u=y.cx,i=y.cy,a=y.rx,r=y.ry,o=a*h,d=r*h;m.moveTo(u-a,i),m.bezierCurveTo(u-a,i-d,u-o,i-r,u,i-r),m.bezierCurveTo(u+o,i-r,u+a,i-d,u+a,i),m.bezierCurveTo(u+a,i+d,u+o,i+r,u,i+r),m.bezierCurveTo(u-o,i+r,u-a,i+d,u-a,i),m.closePath()}});R.exports=f},rnVJ:function(R,I,e){var g=e("bYtY"),f=["rect","polygon","keep","clear"];function b(y,h){var u=y&&y.brush;if(g.isArray(u)||(u=u?[u]:[]),!u.length)return;var i=[];g.each(u,function(n){var l=n.hasOwnProperty("toolbox")?n.toolbox:[];l instanceof Array&&(i=i.concat(l))});var a=y&&y.toolbox;g.isArray(a)&&(a=a[0]),a||(a={feature:{}},y.toolbox=[a]);var r=a.feature||(a.feature={}),o=r.brush||(r.brush={}),d=o.type||(o.type=[]);d.push.apply(d,i),m(d),h&&!d.length&&d.push.apply(d,f)}function m(y){var h={};g.each(y,function(u){h[u]=1}),y.length=0,g.each(h,function(u,i){y.push(i)})}R.exports=b},rwxt:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=e("GdRQ");function f(u,i){if(!(u instanceof i))throw new TypeError("Cannot call a class as a function")}function b(u,i){for(var a=0;a<i.length;a++){var r=i[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(u,r.key,r)}}function m(u,i,a){return i&&b(u.prototype,i),a&&b(u,a),u}var y=!g.supportsCursorURIs||g.isTouchDevice,h=function(){function u(){f(this,u),this._target=null,this._canvas=document.createElement("canvas"),y&&(this._canvas.style.position="fixed",this._canvas.style.zIndex="65535",this._canvas.style.pointerEvents="none",this._canvas.style.visibility="hidden"),this._position={x:0,y:0},this._hotSpot={x:0,y:0},this._eventHandlers={mouseover:this._handleMouseOver.bind(this),mouseleave:this._handleMouseLeave.bind(this),mousemove:this._handleMouseMove.bind(this),mouseup:this._handleMouseUp.bind(this)}}return m(u,[{key:"attach",value:function(a){if(this._target&&this.detach(),this._target=a,y){document.body.appendChild(this._canvas);var r={capture:!0,passive:!0};this._target.addEventListener("mouseover",this._eventHandlers.mouseover,r),this._target.addEventListener("mouseleave",this._eventHandlers.mouseleave,r),this._target.addEventListener("mousemove",this._eventHandlers.mousemove,r),this._target.addEventListener("mouseup",this._eventHandlers.mouseup,r)}this.clear()}},{key:"detach",value:function(){if(!this._target)return;if(y){var a={capture:!0,passive:!0};this._target.removeEventListener("mouseover",this._eventHandlers.mouseover,a),this._target.removeEventListener("mouseleave",this._eventHandlers.mouseleave,a),this._target.removeEventListener("mousemove",this._eventHandlers.mousemove,a),this._target.removeEventListener("mouseup",this._eventHandlers.mouseup,a),document.body.removeChild(this._canvas)}this._target=null}},{key:"change",value:function(a,r,o,d,n){if(d===0||n===0){this.clear();return}this._position.x=this._position.x+this._hotSpot.x-r,this._position.y=this._position.y+this._hotSpot.y-o,this._hotSpot.x=r,this._hotSpot.y=o;var l=this._canvas.getContext("2d");this._canvas.width=d,this._canvas.height=n;var t;try{t=new ImageData(new Uint8ClampedArray(a),d,n)}catch(c){t=l.createImageData(d,n),t.data.set(new Uint8ClampedArray(a))}if(l.clearRect(0,0,d,n),l.putImageData(t,0,0),y)this._updatePosition();else{var s=this._canvas.toDataURL();this._target.style.cursor="url("+s+")"+r+" "+o+", default"}}},{key:"clear",value:function(){this._target.style.cursor="none",this._canvas.width=0,this._canvas.height=0,this._position.x=this._position.x+this._hotSpot.x,this._position.y=this._position.y+this._hotSpot.y,this._hotSpot.x=0,this._hotSpot.y=0}},{key:"move",value:function(a,r){if(!y)return;window.visualViewport?(this._position.x=a+window.visualViewport.offsetLeft,this._position.y=r+window.visualViewport.offsetTop):(this._position.x=a,this._position.y=r),this._updatePosition();var o=document.elementFromPoint(a,r);this._updateVisibility(o)}},{key:"_handleMouseOver",value:function(a){this._handleMouseMove(a)}},{key:"_handleMouseLeave",value:function(a){this._updateVisibility(a.relatedTarget)}},{key:"_handleMouseMove",value:function(a){this._updateVisibility(a.target),this._position.x=a.clientX-this._hotSpot.x,this._position.y=a.clientY-this._hotSpot.y,this._updatePosition()}},{key:"_handleMouseUp",value:function(a){var r=this,o=document.elementFromPoint(a.clientX,a.clientY);this._updateVisibility(o),this._captureIsActive()&&window.setTimeout(function(){if(!r._target)return;o=document.elementFromPoint(a.clientX,a.clientY),r._updateVisibility(o)},0)}},{key:"_showCursor",value:function(){this._canvas.style.visibility==="hidden"&&(this._canvas.style.visibility="")}},{key:"_hideCursor",value:function(){this._canvas.style.visibility!=="hidden"&&(this._canvas.style.visibility="hidden")}},{key:"_shouldShowCursor",value:function(a){return a?a===this._target?!0:this._target.contains(a)?!(window.getComputedStyle(a).cursor!=="none"):!1:!1}},{key:"_updateVisibility",value:function(a){this._captureIsActive()&&(a=document.captureElement),this._shouldShowCursor(a)?this._showCursor():this._hideCursor()}},{key:"_updatePosition",value:function(){this._canvas.style.left=this._position.x+"px",this._canvas.style.top=this._position.y+"px"}},{key:"_captureIsActive",value:function(){return document.captureElement&&document.documentElement.contains(document.captureElement)}}]),u}();I.default=h},rySg:function(R,I,e){e("SMc4"),e("8nMs")},s2MQ:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};I.default=g},s2lz:function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("IwbS"),m=e("gPAo"),y=e("VaxA"),h=e("9hCq"),u=e("SgGq"),i=e("mFDi"),a=e("Fofx"),r=e("5s0K"),o=e("KCsZ"),d=e("7aKB"),n=d.windowOpen,l=f.bind,t=b.Group,s=b.Rect,c=f.each,p=3,A=["label"],w=["emphasis","label"],C=["upperLabel"],x=["emphasis","upperLabel"],E=10,T=1,_=2,v=o([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),S=function(U){var z=v(U);return z.stroke=z.fill=z.lineWidth=null,z},O=g.extendChartView({type:"treemap",init:function(U,z){this._containerGroup,this._storage=L(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(U,z,W,N){var H=z.findComponents({mainType:"series",subType:"treemap",query:N});if(f.indexOf(H,U)<0)return;this.seriesModel=U,this.api=W,this.ecModel=z;var j=["treemapZoomToNode","treemapRootToNode"],k=y.retrieveTargetInfo(N,j,U),B=N&&N.type,V=U.layoutInfo,K=!this._oldTree,Y=this._storage,Q=B==="treemapRootToNode"&&k&&Y?{rootNodeGroup:Y.nodeGroup[k.node.getRawIndex()],direction:N.direction}:null,he=this._giveContainerGroup(V),G=this._doRender(he,U,Q);!K&&(!B||B==="treemapZoomToNode"||B==="treemapRootToNode")?this._doAnimation(he,G,U,Q):G.renderFinally(),this._resetController(W),this._renderBreadcrumb(U,W,k)},_giveContainerGroup:function(U){var z=this._containerGroup;return z||(z=this._containerGroup=new t,this._initEvents(z),this.group.add(z)),z.attr("position",[U.x,U.y]),z},_doRender:function(U,z,W){var N=z.getData().tree,H=this._oldTree,j=L(),k=L(),B=this._storage,V=[],K=f.curry(M,z,k,B,W,j,V);Q(N.root?[N.root]:[],H&&H.root?[H.root]:[],U,N===H||!H,0);var Y=he(B);return this._oldTree=N,this._storage=k,{lastsForAnimation:j,willDeleteEls:Y,renderFinally:G};function Q(ye,Ae,ge,Pe,Re){Pe?(Ae=ye,c(ye,function(be,at){!be.isRemoved()&&ne(at,at)})):new m(Ae,ye,rt,rt).add(ne).update(ne).remove(f.curry(ne,null)).execute();function rt(be){return be.getId()}function ne(be,at){var se=be!=null?ye[be]:null,q=at!=null?Ae[at]:null,X=K(se,q,ge,Re);X&&Q(se&&se.viewChildren||[],q&&q.viewChildren||[],X,Pe,Re+1)}}function he(ye){var Ae=L();return ye&&c(ye,function(ge,Pe){var Re=Ae[Pe];c(ge,function(rt){rt&&(Re.push(rt),rt.__tmWillDelete=1)})}),Ae}function G(){c(Y,function(ye){c(ye,function(Ae){Ae.parent&&Ae.parent.remove(Ae)})}),c(V,function(ye){ye.invisible=!0,ye.dirty()})}},_doAnimation:function(U,z,W,N){if(!W.get("animation"))return;var H=W.get("animationDurationUpdate"),j=W.get("animationEasing"),k=r.createWrap();c(z.willDeleteEls,function(B,V){c(B,function(K,Y){if(K.invisible)return;var Q=K.parent,he;if(N&&N.direction==="drillDown")he=Q===N.rootNodeGroup?{shape:{x:0,y:0,width:Q.__tmNodeWidth,height:Q.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var G=0,ye=0;Q.__tmWillDelete||(G=Q.__tmNodeWidth/2,ye=Q.__tmNodeHeight/2),he=V==="nodeGroup"?{position:[G,ye],style:{opacity:0}}:{shape:{x:G,y:ye,width:0,height:0},style:{opacity:0}}}he&&k.add(K,he,H,j)})}),c(this._storage,function(B,V){c(B,function(K,Y){var Q=z.lastsForAnimation[V][Y],he={};if(!Q)return;V==="nodeGroup"?Q.old&&(he.position=K.position.slice(),K.attr("position",Q.old)):(Q.old&&(he.shape=f.extend({},K.shape),K.setShape(Q.old)),Q.fadein?(K.setStyle("opacity",0),he.style={opacity:1}):K.style.opacity!==1&&(he.style={opacity:1})),k.add(K,he,H,j)})},this),this._state="animating",k.done(l(function(){this._state="ready",z.renderFinally()},this)).start()},_resetController:function(U){var z=this._controller;z||(z=this._controller=new u(U.getZr()),z.enable(this.seriesModel.get("roam")),z.on("pan",l(this._onPan,this)),z.on("zoom",l(this._onZoom,this)));var W=new i(0,0,U.getWidth(),U.getHeight());z.setPointerChecker(function(N,H,j){return W.contain(H,j)})},_clearController:function(){var U=this._controller;U&&(U.dispose(),U=null)},_onPan:function(U){if(this._state!=="animating"&&(Math.abs(U.dx)>p||Math.abs(U.dy)>p)){var z=this.seriesModel.getData().tree.root;if(!z)return;var W=z.getLayout();if(!W)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:W.x+U.dx,y:W.y+U.dy,width:W.width,height:W.height}})}},_onZoom:function(U){var z=U.originX,W=U.originY;if(this._state!=="animating"){var N=this.seriesModel.getData().tree.root;if(!N)return;var H=N.getLayout();if(!H)return;var j=new i(H.x,H.y,H.width,H.height),k=this.seriesModel.layoutInfo;z-=k.x,W-=k.y;var B=a.create();a.translate(B,B,[-z,-W]),a.scale(B,B,[U.scale,U.scale]),a.translate(B,B,[z,W]),j.applyTransform(B),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:j.x,y:j.y,width:j.width,height:j.height}})}},_initEvents:function(U){U.on("click",function(z){if(this._state!=="ready")return;var W=this.seriesModel.get("nodeClick",!0);if(!W)return;var N=this.findTarget(z.offsetX,z.offsetY);if(!N)return;var H=N.node;if(H.getLayout().isLeafRoot)this._rootToNode(N);else if(W==="zoomToNode")this._zoomToNode(N);else if(W==="link"){var j=H.hostTree.data.getItemModel(H.dataIndex),k=j.get("link",!0),B=j.get("target",!0)||"blank";k&&n(k,B)}},this)},_renderBreadcrumb:function(U,z,W){W||(W=U.get("leafDepth",!0)!=null?{node:U.getViewRoot()}:this.findTarget(z.getWidth()/2,z.getHeight()/2),W||(W={node:U.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new h(this.group))).render(U,z,W.node,l(N,this));function N(H){this._state!=="animating"&&(y.aboveViewRoot(U.getViewRoot(),H)?this._rootToNode({node:H}):this._zoomToNode({node:H}))}},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=L(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(U){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:U.node})},_rootToNode:function(U){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:U.node})},findTarget:function(U,z){var W,N=this.seriesModel.getViewRoot();return N.eachNode({attr:"viewChildren",order:"preorder"},function(H){var j=this._storage.background[H.getRawIndex()];if(j){var k=j.transformCoordToLocal(U,z),B=j.shape;if(B.x<=k[0]&&k[0]<=B.x+B.width&&B.y<=k[1]&&k[1]<=B.y+B.height)W={node:H,offsetX:k[0],offsetY:k[1]};else return!1}},this),W}});function L(){return{nodeGroup:[],background:[],content:[]}}function M(U,z,W,N,H,j,k,B,V,K){if(!k)return;var Y=k.getLayout(),Q=U.getData();if(Q.setItemGraphicEl(k.dataIndex,null),!Y||!Y.isInView)return;var he=Y.width,G=Y.height,ye=Y.borderWidth,Ae=Y.invisible,ge=k.getRawIndex(),Pe=B&&B.getRawIndex(),Re=k.viewChildren,rt=Y.upperHeight,ne=Re&&Re.length,be=k.getModel("itemStyle"),at=k.getModel("emphasis.itemStyle"),se=J("nodeGroup",t);if(!se)return;if(V.add(se),se.attr("position",[Y.x||0,Y.y||0]),se.__tmNodeWidth=he,se.__tmNodeHeight=G,Y.isAboveViewRoot)return se;var q=k.getModel(),X=J("background",s,K,T);if(X&&pe(se,X,ne&&Y.upperLabelHeight),ne)b.isHighDownDispatcher(se)&&b.setAsHighDownDispatcher(se,!1),X&&(b.setAsHighDownDispatcher(X,!0),Q.setItemGraphicEl(k.dataIndex,X));else{var Z=J("content",s,K,_);Z&&oe(se,Z),X&&b.isHighDownDispatcher(X)&&b.setAsHighDownDispatcher(X,!1),b.setAsHighDownDispatcher(se,!0),Q.setItemGraphicEl(k.dataIndex,se)}return se;function pe(ze,dt,Me){if(dt.dataIndex=k.dataIndex,dt.seriesIndex=U.seriesIndex,dt.setShape({x:0,y:0,width:he,height:G}),Ae)Ie(dt);else{dt.invisible=!1;var Tt=k.getVisual("borderColor",!0),je=at.get("borderColor"),st=S(be);st.fill=Tt;var Xe=v(at);if(Xe.fill=je,Me){var Je=he-2*ye;fe(st,Xe,Tt,Je,rt,{x:ye,y:0,width:Je,height:rt})}else st.text=Xe.text=null;dt.setStyle(st),b.setElementHoverStyle(dt,Xe)}ze.add(dt)}function oe(ze,dt){dt.dataIndex=k.dataIndex,dt.seriesIndex=U.seriesIndex;var Me=Math.max(he-2*ye,0),Tt=Math.max(G-2*ye,0);if(dt.culling=!0,dt.setShape({x:ye,y:ye,width:Me,height:Tt}),Ae)Ie(dt);else{dt.invisible=!1;var je=k.getVisual("color",!0),st=S(be);st.fill=je;var Xe=v(at);fe(st,Xe,je,Me,Tt),dt.setStyle(st),b.setElementHoverStyle(dt,Xe)}ze.add(dt)}function Ie(ze){!ze.invisible&&j.push(ze)}function fe(ze,dt,Me,Tt,je,st){var Xe=q.get("name"),Je=q.getModel(st?C:A),et=q.getModel(st?x:w),ot=Je.getShallow("show");b.setLabelStyle(ze,dt,Je,et,{defaultText:ot?Xe:null,autoColor:Me,isRectText:!0,labelFetcher:U,labelDataIndex:k.dataIndex,labelProp:st?"upperLabel":"label"}),te(ze,st,Y),te(dt,st,Y),st&&(ze.textRect=f.clone(st)),ze.truncate=ot&&Je.get("ellipsis")?{outerWidth:Tt,outerHeight:je,minChar:2}:null}function te(ze,dt,Me){var Tt=ze.text;if(!dt&&Me.isLeafRoot&&Tt!=null){var je=U.get("drillDownIcon",!0);ze.text=je?je+" "+Tt:Tt}}function J(ze,dt,Me,Tt){var je=Pe!=null&&W[ze][Pe],st=H[ze];return je?(W[ze][Pe]=null,ve(st,je,ze)):Ae||(je=new dt({z:F(Me,Tt)}),je.__tmDepth=Me,je.__tmStorageName=ze,De(st,je,ze)),z[ze][ge]=je}function ve(ze,dt,Me){var Tt=ze[ge]={};Tt.old=Me==="nodeGroup"?dt.position.slice():f.extend({},dt.shape)}function De(ze,dt,Me){var Tt=ze[ge]={},je=k.parentNode;if(je&&(!N||N.direction==="drillDown")){var st=0,Xe=0,Je=H.background[je.getRawIndex()];!N&&Je&&Je.old&&(st=Je.old.width,Xe=Je.old.height),Tt.old=Me==="nodeGroup"?[0,Xe]:{x:st,y:Xe,width:0,height:0}}Tt.fadein=Me!=="nodeGroup"}}function F(U,z){var W=U*E+z;return(W-1)/W}R.exports=O},sAZ8:function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("+rIm"),m=e("/IIm"),y=e("9KIM"),h=e("IwbS"),u=["axisLine","axisTickLabel","axisName"],i=g.extendComponentView({type:"parallelAxis",init:function(n,l){i.superApply(this,"init",arguments),(this._brushController=new m(l.getZr())).on("brush",f.bind(this._onBrush,this))},render:function(n,l,t,s){if(a(n,l,s))return;this.axisModel=n,this.api=t,this.group.removeAll();var c=this._axisGroup;if(this._axisGroup=new h.Group,this.group.add(this._axisGroup),!n.get("show"))return;var p=o(n,l),A=p.coordinateSystem,w=n.getAreaSelectStyle(),C=w.width,x=n.axis.dim,E=A.getAxisLayout(x),T=f.extend({strokeContainThreshold:C},E),_=new b(n,T);f.each(u,_.add,_),this._axisGroup.add(_.getGroup()),this._refreshBrushController(T,w,n,p,C,t);var v=s&&s.animation===!1?null:n;h.groupTransition(c,this._axisGroup,v)},_refreshBrushController:function(n,l,t,s,c,p){var A=t.axis.getExtent(),w=A[1]-A[0],C=Math.min(30,Math.abs(w)*.1),x=h.BoundingRect.create({x:A[0],y:-c/2,width:w,height:c});x.x-=C,x.width+=2*C,this._brushController.mount({enableGlobalPan:!0,rotation:n.rotation,position:n.position}).setPanels([{panelId:"pl",clipPath:y.makeRectPanelClipPath(x),isTargetByCursor:y.makeRectIsTargetByCursor(x,p,s),getLinearBrushOtherExtent:y.makeLinearBrushOtherExtent(x,0)}]).enableBrush({brushType:"lineX",brushStyle:l,removeOnClick:!0}).updateCovers(r(t))},_onBrush:function(n,l){var t=this.axisModel,s=t.axis,c=f.map(n,function(p){return[s.coordToData(p.range[0],!0),s.coordToData(p.range[1],!0)]});(!t.option.realtime===l.isEnd||l.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:t.id,intervals:c})},dispose:function(){this._brushController.dispose()}});function a(n,l,t){return t&&t.type==="axisAreaSelect"&&l.findComponents({mainType:"parallelAxis",query:t})[0]===n}function r(n){var l=n.axis;return f.map(n.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[l.dataToCoord(t[0],!0),l.dataToCoord(t[1],!0)]}})}function o(n,l){return l.getComponent("parallel",n.get("parallelIndex"))}var d=i;R.exports=d},sE09:function(R,I,e){},sEf8:function(R,I){function e(g){return function(f){return g(f)}}R.exports=e},sGsY:function(R,I,e){"use strict";var g=e("lSNA"),f=e.n(g),b=e("pVnL"),m=e.n(b),y=e("q1tI"),h=e("TSYQ"),u=e.n(h),i=e("H84U"),a=e("B6l+"),r=e.n(a),o=function(k){var B=k.value,V=k.formatter,K=k.precision,Y=k.decimalSeparator,Q=k.groupSeparator,he=Q===void 0?"":Q,G=k.prefixCls,ye;if(typeof V=="function")ye=V(B);else{var Ae=String(B),ge=Ae.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ge||Ae==="-")ye=Ae;else{var Pe=ge[1],Re=ge[2]||"0",rt=ge[4]||"";Re=Re.replace(/\B(?=(\d{3})+(?!\d))/g,he),typeof K=="number"&&(rt=r()(rt,K,"0").slice(0,K)),rt&&(rt="".concat(Y).concat(rt)),ye=[y.createElement("span",{key:"int",className:"".concat(G,"-content-value-int")},Pe,Re),rt&&y.createElement("span",{key:"decimal",className:"".concat(G,"-content-value-decimal")},rt)]}}return y.createElement("span",{className:"".concat(G,"-content-value")},ye)},d=o,n=function(k){var B=k.prefixCls,V=k.className,K=k.style,Y=k.valueStyle,Q=k.value,he=Q===void 0?0:Q,G=k.title,ye=k.valueRender,Ae=k.prefix,ge=k.suffix,Pe=k.direction,Re=k.onMouseEnter,rt=k.onMouseLeave,ne=y.createElement(d,m()({},k,{value:he})),be=u()(B,V,f()({},"".concat(B,"-rtl"),Pe==="rtl"));return y.createElement("div",{className:be,style:K,onMouseEnter:Re,onMouseLeave:rt},G&&y.createElement("div",{className:"".concat(B,"-title")},G),y.createElement("div",{style:Y,className:"".concat(B,"-content")},Ae&&y.createElement("span",{className:"".concat(B,"-content-prefix")},Ae),ye?ye(ne):ne,ge&&y.createElement("span",{className:"".concat(B,"-content-suffix")},ge)))};n.defaultProps={decimalSeparator:".",groupSeparator:","};var l=Object(i.c)({prefixCls:"statistic"})(n),t=l,s=e("lwsE"),c=e.n(s),p=e("W8MJ"),A=e.n(p),w=e("7W2i"),C=e.n(w),x=e("LQ03"),E=e.n(x),T=e("J4zp"),_=e.n(T),v=e("QQZ/"),S=e.n(v),O=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function L(j,k){var B=j,V=/\[[^\]]*]/g,K=(k.match(V)||[]).map(function(G){return G.slice(1,-1)}),Y=k.replace(V,"[]"),Q=O.reduce(function(G,ye){var Ae=_()(ye,2),ge=Ae[0],Pe=Ae[1];if(G.indexOf(ge)!==-1){var Re=Math.floor(B/Pe);return B-=Re*Pe,G.replace(new RegExp("".concat(ge,"+"),"g"),function(rt){var ne=rt.length;return S()(Re.toString(),ne,"0")})}return G},Y),he=0;return Q.replace(V,function(){var G=K[he];return he+=1,G})}function M(j,k){var B=k.format,V=B===void 0?"":B,K=new Date(j).getTime(),Y=Date.now(),Q=Math.max(K-Y,0);return L(Q,V)}var F=e("0n0R"),U=1e3/30;function z(j){return new Date(j).getTime()}var W=function(j){C()(B,j);var k=E()(B);function B(){var V;return c()(this,B),V=k.apply(this,arguments),V.syncTimer=function(){var K=V.props.value,Y=z(K);Y>=Date.now()?V.startTimer():V.stopTimer()},V.startTimer=function(){if(V.countdownId)return;V.countdownId=window.setInterval(function(){V.forceUpdate()},U)},V.stopTimer=function(){var K=V.props,Y=K.onFinish,Q=K.value;if(V.countdownId){clearInterval(V.countdownId),V.countdownId=void 0;var he=z(Q);Y&&he<Date.now()&&Y()}},V.formatCountdown=function(K,Y){var Q=V.props.format;return M(K,m()(m()({},Y),{format:Q}))},V.valueRender=function(K){return Object(F.a)(K,{title:void 0})},V}return A()(B,[{key:"componentDidMount",value:function(){this.syncTimer()}},{key:"componentDidUpdate",value:function(){this.syncTimer()}},{key:"componentWillUnmount",value:function(){this.stopTimer()}},{key:"render",value:function(){return y.createElement(t,m()({valueRender:this.valueRender},this.props,{formatter:this.formatCountdown}))}}]),B}(y.Component);W.defaultProps={format:"HH:mm:ss"};var N=W;t.Countdown=N;var H=I.a=t},"sK/D":function(R,I,e){var g=e("IwbS"),f=e("OELB"),b=f.round;function m(u,i,a){var r=u.getArea(),o=u.getBaseAxis().isHorizontal(),d=r.x,n=r.y,l=r.width,t=r.height,s=a.get("lineStyle.width")||2;d-=s/2,n-=s/2,l+=s,t+=s,d=Math.floor(d),l=Math.round(l);var c=new g.Rect({shape:{x:d,y:n,width:l,height:t}});return i&&(c.shape[o?"width":"height"]=0,g.initProps(c,{shape:{width:l,height:t}},a)),c}function y(u,i,a){var r=u.getArea(),o=new g.Sector({shape:{cx:b(u.cx,1),cy:b(u.cy,1),r0:b(r.r0,1),r:b(r.r,1),startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});return i&&(o.shape.endAngle=r.startAngle,g.initProps(o,{shape:{endAngle:r.endAngle}},a)),o}function h(u,i,a){if(u){if(u.type==="polar")return y(u,i,a);if(u.type==="cartesian2d")return m(u,i,a)}else return null;return null}I.createGridClipPath=m,I.createPolarClipPath=y,I.createClipPath=h},sKgW:function(R,I){var e=9007199254740991,g=Math.floor;function f(b,m){var y="";if(!b||m<1||m>e)return y;do m%2&&(y+=b),m=g(m/2),m&&(b+=b);while(m);return y}R.exports=f},sPJy:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("AOa7"),m=e.n(b),y=e("lUTK"),h=e("qVdP")},sPtV:function(R,I,e){"use strict";e.d(I,"a",function(){return m});var g=e("q1tI"),f=e.n(g),b=e("hkKa");function m(y){var h=g.useRef(y),u=Object(b.a)();return[function(){return h.current},function(i){h.current=i,u()}]}},sRwP:function(R,I,e){e("jsU+"),e("2548"),e("Tp9H"),e("06DH"),e("dnwI"),e("fE02"),e("33Ds")},"sS/r":function(R,I,e){var g=e("4fz+"),f=e("iRjW"),b=e("Yl7c"),m=function(){this.group=new g,this.uid=f.getUID("viewComponent")};m.prototype={constructor:m,init:function(u,i){},render:function(u,i,a,r){},dispose:function(){},filterForExposedEvent:null};var y=m.prototype;y.updateView=y.updateLayout=y.updateVisual=function(u,i,a,r){},b.enableClassExtend(m),b.enableClassManagement(m,{registerWhenExtend:!0});var h=m;R.exports=h},"sW+o":function(R,I,e){var g=e("SrGk"),f=e("bYtY"),b=e("SUKs"),m=e("Qe9p");function y(u,i){g.call(this,u,i,["linearGradient","radialGradient"],"__gradient_in_use__")}f.inherits(y,g),y.prototype.addWithoutUpdate=function(u,i){if(i&&i.style){var a=this;f.each(["fill","stroke"],function(r){if(i.style[r]&&(i.style[r].type==="linear"||i.style[r].type==="radial")){var o=i.style[r],d=a.getDefs(!0),n;o._dom?(n=o._dom,d.contains(o._dom)||a.addDom(n)):n=a.add(o),a.markUsed(i);var l=n.getAttribute("id");u.setAttribute(r,"url(#"+l+")")}})}},y.prototype.add=function(u){var i;if(u.type==="linear")i=this.createElement("linearGradient");else if(u.type==="radial")i=this.createElement("radialGradient");else return b("Illegal gradient type."),null;return u.id=u.id||this.nextId++,i.setAttribute("id","zr"+this._zrId+"-gradient-"+u.id),this.updateDom(u,i),this.addDom(i),i},y.prototype.update=function(u){var i=this;g.prototype.update.call(this,u,function(){var a=u.type,r=u._dom.tagName;a==="linear"&&r==="linearGradient"||a==="radial"&&r==="radialGradient"?i.updateDom(u,u._dom):(i.removeDom(u),i.add(u))})},y.prototype.updateDom=function(u,i){if(u.type==="linear")i.setAttribute("x1",u.x),i.setAttribute("y1",u.y),i.setAttribute("x2",u.x2),i.setAttribute("y2",u.y2);else if(u.type==="radial")i.setAttribute("cx",u.x),i.setAttribute("cy",u.y),i.setAttribute("r",u.r);else{b("Illegal gradient type.");return}u.global?i.setAttribute("gradientUnits","userSpaceOnUse"):i.setAttribute("gradientUnits","objectBoundingBox"),i.innerHTML="";for(var a=u.colorStops,r=0,o=a.length;r<o;++r){var d=this.createElement("stop");d.setAttribute("offset",a[r].offset*100+"%");var n=a[r].color;if(n.indexOf("rgba">-1)){var l=m.parse(n)[3],t=m.toHex(n);d.setAttribute("stop-color","#"+t),d.setAttribute("stop-opacity",l)}else d.setAttribute("stop-color",a[r].color);i.appendChild(d)}u._dom=i},y.prototype.markUsed=function(u){if(u.style){var i=u.style.fill;i&&i._dom&&g.prototype.markUsed.call(this,i._dom),i=u.style.stroke,i&&i._dom&&g.prototype.markUsed.call(this,i._dom)}};var h=y;R.exports=h},sboe:function(R,I,e){"use strict";e.d(I,"a",function(){return b});var g=e("q1tI"),f=e.n(g),b=g.createContext(null)},sdST:function(R,I,e){var g=e("hi0g");function f(b,m){return m=m||{},g(m.coordDimensions||[],b,{dimsDef:m.dimensionsDefine||b.dimensionsDefine,encodeDef:m.encodeDefine||b.encodeDefine,dimCount:m.dimensionsCount,encodeDefaulter:m.encodeDefaulter,generateCoord:m.generateCoord,generateCoordCount:m.generateCoordCount})}R.exports=f},seXi:function(R,I,e){var g=e("qZTm"),f=1,b=Object.prototype,m=b.hasOwnProperty;function y(h,u,i,a,r,o){var d=i&f,n=g(h),l=n.length,t=g(u),s=t.length;if(l!=s&&!d)return!1;for(var c=l;c--;){var p=n[c];if(!(d?p in u:m.call(u,p)))return!1}var A=o.get(h),w=o.get(u);if(A&&w)return A==u&&w==h;var C=!0;o.set(h,u),o.set(u,h);for(var x=d;++c<l;){p=n[c];var E=h[p],T=u[p];if(a)var _=d?a(T,E,p,u,h,o):a(E,T,p,h,u,o);if(!(_===void 0?E===T||r(E,T,i,a,o):_)){C=!1;break}x||(x=p=="constructor")}if(C&&!x){var v=h.constructor,S=u.constructor;v!=S&&"constructor"in h&&"constructor"in u&&!(typeof v=="function"&&v instanceof v&&typeof S=="function"&&S instanceof S)&&(C=!1)}return o.delete(h),o.delete(u),C}R.exports=y},shjB:function(R,I){var e=9007199254740991;function g(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=e}R.exports=g},sjKO:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=b;var g=30,f=12;function b(m,y){var h,u,i,a,r,o,d,n,l,t,s,c,p,A,w,C,x,E,T,_,v,S,O,L,M;h=m.state,u=m.next_in,L=m.input,i=u+(m.avail_in-5),a=m.next_out,M=m.output,r=a-(y-m.avail_out),o=a+(m.avail_out-257),d=h.dmax,n=h.wsize,l=h.whave,t=h.wnext,s=h.window,c=h.hold,p=h.bits,A=h.lencode,w=h.distcode,C=(1<<h.lenbits)-1,x=(1<<h.distbits)-1;e:do{p<15&&(c+=L[u++]<<p,p+=8,c+=L[u++]<<p,p+=8),E=A[c&C];t:for(;;){if(T=E>>>24,c>>>=T,p-=T,T=E>>>16&255,T===0)M[a++]=E&65535;else if(T&16){_=E&65535,T&=15,T&&(p<T&&(c+=L[u++]<<p,p+=8),_+=c&(1<<T)-1,c>>>=T,p-=T),p<15&&(c+=L[u++]<<p,p+=8,c+=L[u++]<<p,p+=8),E=w[c&x];r:for(;;){if(T=E>>>24,c>>>=T,p-=T,T=E>>>16&255,T&16){if(v=E&65535,T&=15,p<T&&(c+=L[u++]<<p,p+=8,p<T&&(c+=L[u++]<<p,p+=8)),v+=c&(1<<T)-1,v>d){m.msg="invalid distance too far back",h.mode=g;break e}if(c>>>=T,p-=T,T=a-r,v>T){if(T=v-T,T>l&&h.sane){m.msg="invalid distance too far back",h.mode=g;break e}if(S=0,O=s,t===0){if(S+=n-T,T<_){_-=T;do M[a++]=s[S++];while(--T);S=a-v,O=M}}else if(t<T){if(S+=n+t-T,T-=t,T<_){_-=T;do M[a++]=s[S++];while(--T);if(S=0,t<_){T=t,_-=T;do M[a++]=s[S++];while(--T);S=a-v,O=M}}}else if(S+=t-T,T<_){_-=T;do M[a++]=s[S++];while(--T);S=a-v,O=M}for(;_>2;)M[a++]=O[S++],M[a++]=O[S++],M[a++]=O[S++],_-=3;_&&(M[a++]=O[S++],_>1&&(M[a++]=O[S++]))}else{S=a-v;do M[a++]=M[S++],M[a++]=M[S++],M[a++]=M[S++],_-=3;while(_>2);_&&(M[a++]=M[S++],_>1&&(M[a++]=M[S++]))}}else if((T&64)===0){E=w[(E&65535)+(c&(1<<T)-1)];continue r}else{m.msg="invalid distance code",h.mode=g;break e}break}}else if((T&64)===0){E=A[(E&65535)+(c&(1<<T)-1)];continue t}else if(T&32){h.mode=f;break e}else{m.msg="invalid literal/length code",h.mode=g;break e}break}}while(u<i&&a<o);_=p>>3,u-=_,p-=_<<3,c&=(1<<p)-1,m.next_in=u,m.next_out=a,m.avail_in=u<i?5+(i-u):5-(u-i),m.avail_out=a<o?257+(o-a):257-(a-o),h.hold=c,h.bits=p;return}},szbU:function(R,I,e){var g=e("bYtY"),f=g.each;function b(y){var h=y&&y.visualMap;g.isArray(h)||(h=h?[h]:[]),f(h,function(u){if(!u)return;m(u,"splitList")&&!m(u,"pieces")&&(u.pieces=u.splitList,delete u.splitList);var i=u.pieces;i&&g.isArray(i)&&f(i,function(a){g.isObject(a)&&(m(a,"start")&&!m(a,"min")&&(a.min=a.start),m(a,"end")&&!m(a,"max")&&(a.max=a.end))})})}function m(y,h){return y&&y.hasOwnProperty&&y.hasOwnProperty(h)}R.exports=b},t23M:function(R,I,e){"use strict";var g=e("VTBJ"),f=e("1OyB"),b=e("vuIU"),m=e("Ji7U"),y=e("LK+K"),h=e("q1tI"),u=e.n(h),i=e("m+aA"),a=e("Zm9Q"),r=e("Kwbf"),o=e("c+Xe"),d=e("bdgK"),n="rc-observer-key",l=function(t){Object(m.a)(c,t);var s=Object(y.a)(c);function c(){var p;return Object(f.a)(this,c),p=s.apply(this,arguments),p.resizeObserver=null,p.childNode=null,p.currentElement=null,p.state={width:0,height:0,offsetHeight:0,offsetWidth:0},p.onResize=function(A){var w=p.props.onResize,C=A[0].target,x=C.getBoundingClientRect(),E=x.width,T=x.height,_=C.offsetWidth,v=C.offsetHeight,S=Math.floor(E),O=Math.floor(T);if(p.state.width!==S||p.state.height!==O||p.state.offsetWidth!==_||p.state.offsetHeight!==v){var L={width:S,height:O,offsetWidth:_,offsetHeight:v};p.setState(L),w&&Promise.resolve().then(function(){w(Object(g.a)(Object(g.a)({},L),{},{offsetWidth:_,offsetHeight:v}))})}},p.setChildNode=function(A){p.childNode=A},p}return Object(b.a)(c,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var A=this.props.disabled;if(A){this.destroyObserver();return}var w=Object(i.a)(this.childNode||this),C=w!==this.currentElement;C&&(this.destroyObserver(),this.currentElement=w),!this.resizeObserver&&w&&(this.resizeObserver=new d.default(this.onResize),this.resizeObserver.observe(w))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var A=this.props.children,w=Object(a.a)(A);if(w.length>1)Object(r.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(w.length===0)return Object(r.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var C=w[0];if(h.isValidElement(C)&&Object(o.c)(C)){var x=C.ref;w[0]=h.cloneElement(C,{ref:Object(o.a)(x,this.setChildNode)})}return w.length===1?w[0]:w.map(function(E,T){return!h.isValidElement(E)||"key"in E&&E.key!==null?E:h.cloneElement(E,{key:"".concat(n,"-").concat(T)})})}}]),c}(h.Component);l.displayName="ResizeObserver",I.a=l},t3Fx:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=Object.assign||function(s){for(var c=1;c<arguments.length;c++){var p=arguments[c];for(var A in p)Object.prototype.hasOwnProperty.call(p,A)&&(s[A]=p[A])}return s},f=function(){function s(c,p){for(var A=0;A<p.length;A++){var w=p[A];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(c,w.key,w)}}return function(c,p,A){return p&&s(c.prototype,p),A&&s(c,A),c}}(),b=e("q1tI"),m=o(b),y=e("17x9"),h=o(y),u=e("aUsF"),i=o(u),a=e("u3os"),r=e("kzFp");function o(s){return s&&s.__esModule?s:{default:s}}function d(s,c){if(!(s instanceof c))throw new TypeError("Cannot call a class as a function")}function n(s,c){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:s}function l(s,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);s.prototype=Object.create(c&&c.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(s,c):s.__proto__=c)}var t=function(s){l(c,s);function c(p){d(this,c);var A=n(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,p));return A.getEchartsInstance=function(){return A.echartsLib.getInstanceByDom(A.echartsElement)||A.echartsLib.init(A.echartsElement,A.props.theme,A.props.opts)},A.dispose=function(){if(A.echartsElement){try{(0,a.clear)(A.echartsElement)}catch(w){console.warn(w)}A.echartsLib.dispose(A.echartsElement)}},A.rerender=function(){var w=A.props,C=w.onEvents,x=w.onChartReady,E=A.renderEchartDom();A.bindEvents(E,C||{}),typeof x=="function"&&A.props.onChartReady(E),A.echartsElement&&(0,a.bind)(A.echartsElement,function(){try{E.resize()}catch(T){console.warn(T)}})},A.bindEvents=function(w,C){var x=function(_,v){typeof _=="string"&&typeof v=="function"&&w.on(_,function(S){v(S,w)})};for(var E in C)Object.prototype.hasOwnProperty.call(C,E)&&x(E,C[E])},A.renderEchartDom=function(){var w=A.getEchartsInstance();return w.setOption(A.props.option,A.props.notMerge||!1,A.props.lazyUpdate||!1),A.props.showLoading?w.showLoading(A.props.loadingOption||null):w.hideLoading(),w},A.echartsLib=p.echarts,A.echartsElement=null,A}return f(c,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(A){if(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(A,this.props))return;if(!(0,i.default)(A.theme,this.props.theme)||!(0,i.default)(A.opts,this.props.opts)||!(0,i.default)(A.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var w=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if((0,i.default)((0,r.pick)(this.props,w),(0,r.pick)(A,w)))return;var C=this.renderEchartDom();if(!(0,i.default)(A.style,this.props.style)||!(0,i.default)(A.className,this.props.className))try{C.resize()}catch(x){console.warn(x)}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var A=this,w=this.props,C=w.style,x=w.className,E=g({height:300},C);return m.default.createElement("div",{ref:function(_){A.echartsElement=_},style:E,className:"echarts-for-react "+x})}}]),c}(b.Component);I.default=t,t.propTypes={option:h.default.object.isRequired,echarts:h.default.object,notMerge:h.default.bool,lazyUpdate:h.default.bool,style:h.default.object,className:h.default.string,theme:h.default.oneOfType([h.default.string,h.default.object]),onChartReady:h.default.func,showLoading:h.default.bool,loadingOption:h.default.object,onEvents:h.default.object,opts:h.default.shape({devicePixelRatio:h.default.number,renderer:h.default.oneOf(["canvas","svg"]),width:h.default.oneOfType([h.default.number,h.default.oneOf([null,void 0,"auto"])]),height:h.default.oneOfType([h.default.number,h.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:h.default.func},t.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},tBnm:function(R,I,e){var g=e("bYtY"),f=e("IwbS"),b=e("Qxkt"),m=e("Znkb"),y=e("+rIm"),h=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function u(o,d,n){d[1]>d[0]&&(d=d.slice().reverse());var l=o.coordToPoint([d[0],n]),t=o.coordToPoint([d[1],n]);return{x1:l[0],y1:l[1],x2:t[0],y2:t[1]}}function i(o){var d=o.getRadiusAxis();return d.inverse?0:1}function a(o){var d=o[0],n=o[o.length-1];d&&n&&Math.abs(Math.abs(d.coord-n.coord)-360)<1e-4&&o.pop()}var r=m.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(o,d){if(this.group.removeAll(),!o.get("show"))return;var n=o.axis,l=n.polar,t=l.getRadiusAxis().getExtent(),s=n.getTicksCoords(),c=n.getMinorTicksCoords(),p=g.map(n.getViewLabels(),function(A){var A=g.clone(A);return A.coord=n.dataToCoord(A.tickValue),A});a(p),a(s),g.each(h,function(A){o.get(A+".show")&&(!n.scale.isBlank()||A==="axisLine")&&this["_"+A](o,l,s,c,t,p)},this)},_axisLine:function(o,d,n,l,t){var s=o.getModel("axisLine.lineStyle"),c=i(d),p=c?0:1,A;t[p]===0?A=new f.Circle({shape:{cx:d.cx,cy:d.cy,r:t[c]},style:s.getLineStyle(),z2:1,silent:!0}):A=new f.Ring({shape:{cx:d.cx,cy:d.cy,r:t[c],r0:t[p]},style:s.getLineStyle(),z2:1,silent:!0}),A.style.fill=null,this.group.add(A)},_axisTick:function(o,d,n,l,t){var s=o.getModel("axisTick"),c=(s.get("inside")?-1:1)*s.get("length"),p=t[i(d)],A=g.map(n,function(w){return new f.Line({shape:u(d,[p,p+c],w.coord)})});this.group.add(f.mergePath(A,{style:g.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:o.get("axisLine.lineStyle.color")})}))},_minorTick:function(o,d,n,l,t){if(!l.length)return;for(var s=o.getModel("axisTick"),c=o.getModel("minorTick"),p=(s.get("inside")?-1:1)*c.get("length"),A=t[i(d)],w=[],C=0;C<l.length;C++)for(var x=0;x<l[C].length;x++)w.push(new f.Line({shape:u(d,[A,A+p],l[C][x].coord)}));this.group.add(f.mergePath(w,{style:g.defaults(c.getModel("lineStyle").getLineStyle(),g.defaults(s.getLineStyle(),{stroke:o.get("axisLine.lineStyle.color")}))}))},_axisLabel:function(o,d,n,l,t,s){var c=o.getCategories(!0),p=o.getModel("axisLabel"),A=p.get("margin"),w=o.get("triggerEvent");g.each(s,function(C,x){var E=p,T=C.tickValue,_=t[i(d)],v=d.coordToPoint([_+A,C.coord]),S=d.cx,O=d.cy,L=Math.abs(v[0]-S)/_<.3?"center":v[0]>S?"left":"right",M=Math.abs(v[1]-O)/_<.3?"middle":v[1]>O?"top":"bottom";c&&c[T]&&c[T].textStyle&&(E=new b(c[T].textStyle,p,p.ecModel));var F=new f.Text({silent:y.isLabelSilent(o)});this.group.add(F),f.setTextStyle(F.style,E,{x:v[0],y:v[1],textFill:E.getTextColor()||o.get("axisLine.lineStyle.color"),text:C.formattedLabel,textAlign:L,textVerticalAlign:M}),w&&(F.eventData=y.makeAxisEventDataBase(o),F.eventData.targetType="axisLabel",F.eventData.value=C.rawLabel)},this)},_splitLine:function(o,d,n,l,t){var s=o.getModel("splitLine"),c=s.getModel("lineStyle"),p=c.get("color"),A=0;p=p instanceof Array?p:[p];for(var w=[],C=0;C<n.length;C++){var x=A++%p.length;w[x]=w[x]||[],w[x].push(new f.Line({shape:u(d,t,n[C].coord)}))}for(var C=0;C<w.length;C++)this.group.add(f.mergePath(w[C],{style:g.defaults({stroke:p[C%p.length]},c.getLineStyle()),silent:!0,z:o.get("z")}))},_minorSplitLine:function(o,d,n,l,t){if(!l.length)return;for(var s=o.getModel("minorSplitLine"),c=s.getModel("lineStyle"),p=[],A=0;A<l.length;A++)for(var w=0;w<l[A].length;w++)p.push(new f.Line({shape:u(d,t,l[A][w].coord)}));this.group.add(f.mergePath(p,{style:c.getLineStyle(),silent:!0,z:o.get("z")}))},_splitArea:function(o,d,n,l,t){if(!n.length)return;var s=o.getModel("splitArea"),c=s.getModel("areaStyle"),p=c.get("color"),A=0;p=p instanceof Array?p:[p];for(var w=[],C=Math.PI/180,x=-n[0].coord*C,E=Math.min(t[0],t[1]),T=Math.max(t[0],t[1]),_=o.get("clockwise"),v=1;v<n.length;v++){var S=A++%p.length;w[S]=w[S]||[],w[S].push(new f.Sector({shape:{cx:d.cx,cy:d.cy,r0:E,r:T,startAngle:x,endAngle:-n[v].coord*C,clockwise:_},silent:!0})),x=-n[v].coord*C}for(var v=0;v<w.length;v++)this.group.add(f.mergePath(w[v],{style:g.defaults({fill:p[v%p.length]},c.getAreaStyle()),silent:!0}))}});R.exports=r},tMB7:function(R,I,e){var g=e("y1pI");function f(b){var m=this.__data__,y=g(m,b);return y<0?void 0:m[y][1]}R.exports=f},tSko:function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("SRve")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="PlusOutlined";var u=b.forwardRef(h);I.default=u},tadb:function(R,I,e){var g=e("Cwc5"),f=e("Kz5y"),b=g(f,"DataView");R.exports=b},tceW:function(R,I,e){var g=e("KCsZ"),f=g([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),b={getBarItemStyle:function(m){var y=f(this,m);if(this.getBorderLineDash){var h=this.getBorderLineDash();h&&(y.lineDash=h)}return y}};R.exports=b},txkQ:function(R,I,e){var g=e("aX58");I.zrender=g;var f=e("Fofx");I.matrix=f;var b=e("QBsz");I.vector=b;var m=e("bYtY"),y=e("Qe9p");I.color=y;var h=e("IwbS"),u=e("OELB");I.number=u;var i=e("7aKB");I.format=i;var a=e("iLNv"),r=a.throttle;I.throttle=a.throttle;var o=e("FUi9");I.helper=o;var d=e("vafp");I.parseGeoJSON=d;var n=e("YXkt");I.List=n;var l=e("Qxkt");I.Model=l;var t=e("hM6l");I.Axis=t;var s=e("ItGF");I.env=s;var c=d,p={};m.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(w){p[w]=m[w]});var A={};m.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],function(w){A[w]=h[w]}),I.parseGeoJson=c,I.util=p,I.graphic=A},u3DP:function(R,I,e){var g=e("6GrX"),f=e("OELB"),b=f.parsePercent,m=Math.PI/180;function y(a,r,o,d,n,l,t,s,c,p){a.sort(function(L,M){return L.y-M.y});function A(L,M,F,U){for(var z=L;z<M&&!(a[z].y+F>c+t);z++)if(a[z].y+=F,z>L&&z+1<M&&a[z+1].y>a[z].y+a[z].height){w(z,F/2);return}w(M-1,F/2)}function w(L,M){for(var F=L;F>=0&&!(a[F].y-M<c);F--)if(a[F].y-=M,F>0&&a[F].y>a[F-1].y+a[F-1].height)break}function C(L,M,F,U,z,W){for(var N=(W>0,M?Number.MAX_VALUE:0),H=0,j=L.length;H<j;H++){if(L[H].labelAlignTo!=="none")continue;var k=Math.abs(L[H].y-U),B=L[H].len,V=L[H].len2,K=k<z+B?Math.sqrt((z+B+V)*(z+B+V)-k*k):Math.abs(L[H].x-F);M&&K>=N&&(K=N-10),!M&&K<=N&&(K=N+10),L[H].x=F+K*W,N=K}}for(var x=0,E,T=a.length,_=[],v=[],S=0;S<T;S++){if(a[S].position==="outer"&&a[S].labelAlignTo==="labelLine"){var O=a[S].x-p;a[S].linePoints[1][0]+=O,a[S].x=p}E=a[S].y-x,E<0&&A(S,T,-E,n),x=a[S].y+a[S].height}t-x<0&&w(T-1,x-t);for(var S=0;S<T;S++)a[S].y>=o?v.push(a[S]):_.push(a[S]);C(_,!1,r,o,d,n),C(v,!0,r,o,d,n)}function h(a,r,o,d,n,l,t,s){for(var c=[],p=[],A=Number.MAX_VALUE,w=-Number.MAX_VALUE,C=0;C<a.length;C++){if(u(a[C]))continue;a[C].x<r?(A=Math.min(A,a[C].x),c.push(a[C])):(w=Math.max(w,a[C].x),p.push(a[C]))}y(p,r,o,d,1,n,l,t,s,w),y(c,r,o,d,-1,n,l,t,s,A);for(var C=0;C<a.length;C++){var x=a[C];if(u(x))continue;var E=x.linePoints;if(E){var T=x.labelAlignTo==="edge",_=x.textRect.width,v;T?x.x<r?v=E[2][0]-x.labelDistance-t-x.labelMargin:v=t+n-x.labelMargin-E[2][0]-x.labelDistance:x.x<r?v=x.x-t-x.bleedMargin:v=t+n-x.x-x.bleedMargin,v<x.textRect.width&&(x.text=g.truncateText(x.text,v,x.font),x.labelAlignTo==="edge"&&(_=g.getWidth(x.text,x.font)));var S=E[1][0]-E[2][0];T?x.x<r?E[2][0]=t+x.labelMargin+_+x.labelDistance:E[2][0]=t+n-x.labelMargin-_-x.labelDistance:(x.x<r?E[2][0]=x.x+x.labelDistance:E[2][0]=x.x-x.labelDistance,E[1][0]=E[2][0]+S),E[1][1]=E[2][1]=x.y}}}function u(a){return a.position==="center"}function i(a,r,o,d,n,l){var t=a.getData(),s=[],c,p,A=!1,w=(a.get("minShowLabelAngle")||0)*m;t.each(function(C){var x=t.getItemLayout(C),E=t.getItemModel(C),T=E.getModel("label"),_=T.get("position")||E.get("emphasis.label.position"),v=T.get("distanceToLabelLine"),S=T.get("alignTo"),O=b(T.get("margin"),o),L=T.get("bleedMargin"),M=T.getFont(),F=E.getModel("labelLine"),U=F.get("length");U=b(U,o);var z=F.get("length2");if(z=b(z,o),x.angle<w)return;var W=(x.startAngle+x.endAngle)/2,N=Math.cos(W),H=Math.sin(W),j,k,B,V;c=x.cx,p=x.cy;var K=a.getFormattedLabel(C,"normal")||t.getName(C),Y=g.getBoundingRect(K,M,V,"top"),Q=_==="inside"||_==="inner";if(_==="center")j=x.cx,k=x.cy,V="center";else{var he=(Q?(x.r+x.r0)/2*N:x.r*N)+c,G=(Q?(x.r+x.r0)/2*H:x.r*H)+p;if(j=he+N*3,k=G+H*3,!Q){var ye=he+N*(U+r-x.r),Ae=G+H*(U+r-x.r),ge=ye+(N<0?-1:1)*z,Pe=Ae;S==="edge"?j=N<0?n+O:n+o-O:j=ge+(N<0?-v:v),k=Pe,B=[[he,G],[ye,Ae],[ge,Pe]]}V=Q?"center":S==="edge"?N>0?"right":"left":N>0?"left":"right"}var Re,rt=T.get("rotate");typeof rt=="number"?Re=rt*(Math.PI/180):Re=rt?N<0?-W+Math.PI:-W:0,A=!!Re,x.label={x:j,y:k,position:_,height:Y.height,len:U,len2:z,linePoints:B,textAlign:V,verticalAlign:"middle",rotation:Re,inside:Q,labelDistance:v,labelAlignTo:S,labelMargin:O,bleedMargin:L,textRect:Y,text:K,font:M},Q||s.push(x.label)}),!A&&a.get("avoidLabelOverlap")&&h(s,c,p,r,o,d,n,l)}R.exports=i},u3os:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.ver=I.clear=I.bind=void 0;var g=e("P4Qj"),f=function(h,u){var i=(0,g.getSensor)(h);return i.bind(u),function(){i.unbind(u)}};I.bind=f;var b=function(h){var u=(0,g.getSensor)(h);(0,g.removeSensor)(u)};I.clear=b;var m="1.0.1";I.ver=m},u4NN:function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("Uc92")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="EyeOutlined";var u=b.forwardRef(h);I.default=u},u8Dt:function(R,I,e){var g=e("YESw"),f="__lodash_hash_undefined__",b=Object.prototype,m=b.hasOwnProperty;function y(h){var u=this.__data__;if(g){var i=u[h];return i===f?void 0:i}return m.call(u,h)?u[h]:void 0}R.exports=y},u9fO:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("b80e"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},uAnK:function(R,I,e){var g=e("bYtY"),f=e("Kagy"),b=e("KxfA"),m=b.retrieveRawValue;function y(h,u){var i=u.getModel("aria");if(i.get("show")){if(i.get("description")){h.setAttribute("aria-label",i.get("description"));return}}else return;var a=0;u.eachSeries(function(C,x){++a},this);var r=i.get("data.maxCount")||10,o=i.get("series.maxCount")||10,d=Math.min(a,o),n;if(a<1)return;var l=A();l?n=c(p("general.withTitle"),{title:l}):n=p("general.withoutTitle");var t=[],s=a>1?"series.multiple.prefix":"series.single.prefix";n+=c(p(s),{seriesCount:a}),u.eachSeries(function(C,x){if(x<d){var E,T=C.get("name"),_="series."+(a>1?"multiple":"single")+".";E=p(T?_+"withName":_+"withoutName"),E=c(E,{seriesId:C.seriesIndex,seriesName:C.get("name"),seriesType:w(C.subType)});var v=C.getData();window.data=v,v.count()>r?E+=c(p("data.partialData"),{displayCnt:r}):E+=p("data.allData");for(var S=[],O=0;O<v.count();O++)if(O<r){var L=v.getName(O),M=m(v,O);S.push(c(p(L?"data.withName":"data.withoutName"),{name:L,value:M}))}E+=S.join(p("data.separator.middle"))+p("data.separator.end"),t.push(E)}}),n+=t.join(p("series.multiple.separator.middle"))+p("series.multiple.separator.end"),h.setAttribute("aria-label",n);function c(C,x){if(typeof C!="string")return C;var E=C;return g.each(x,function(T,_){E=E.replace(new RegExp("\\{\\s*"+_+"\\s*\\}","g"),T)}),E}function p(C){var x=i.get(C);if(x==null){for(var E=C.split("."),T=f.aria,_=0;_<E.length;++_)T=T[E[_]];return T}else return x}function A(){var C=u.getModel("title").option;return C&&C.length&&(C=C[0]),C&&C.text}function w(C){return f.series.typeNames[C]||"\u81EA\u5B9A\u4E49\u56FE"}}R.exports=y},uK0f:function(R,I,e){(function(g,f){R.exports=f()})(this,function(){"use strict";function g(f,b,m){m=m||{},m.childrenKeyName=m.childrenKeyName||"children";var y=f||[],h=[],u=0;do{var i=y.filter(function(a){return b(a,u)})[0];if(!i)break;h.push(i),y=i[m.childrenKeyName]||[],u+=1}while(y.length>0);return h}return g})},uOyE:function(R,I,e){var g=e("ProS");g.registerAction({type:"brush",event:"brush"},function(f,b){b.eachComponent({mainType:"brush",query:f},function(m){m.setAreas(f.areas)})}),g.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),g.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){})},uQRt:function(R,I,e){R.exports=g;function g(){return e("gaXo"),{}}},ugBc:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};I.default=g},v56E:function(R,I,e){},v5uJ:function(R,I,e){var g=e("ProS"),f=e("2B6p"),b=f.updateCenterAndZoom;g.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(m,y){y.eachComponent({mainType:"series",subType:"tree",query:m},function(h){var u=m.dataIndex,i=h.getData().tree,a=i.getNodeByDataIndex(u);a.isExpand=!a.isExpand})}),g.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(m,y){y.eachComponent({mainType:"series",subType:"tree",query:m},function(h){var u=h.coordinateSystem,i=b(u,m);h.setCenter&&h.setCenter(i.center),h.setZoom&&h.setZoom(i.zoom)})})},"vF/C":function(R,I,e){var g=e("bLfw");g.registerSubTypeDefaulter("visualMap",function(f){return!f.categories&&(!(f.pieces?f.pieces.length>0:f.splitNumber>0)||f.calculable)?"continuous":"piecewise"})},vKoX:function(R,I,e){var g=e("SrGk"),f=e("bYtY");function b(h,u){g.call(this,h,u,["filter"],"__filter_in_use__","_shadowDom")}f.inherits(b,g),b.prototype.addWithoutUpdate=function(h,u){if(u&&m(u.style)){var i;if(u._shadowDom){i=u._shadowDom;var a=this.getDefs(!0);a.contains(u._shadowDom)||this.addDom(i)}else i=this.add(u);this.markUsed(u);var r=i.getAttribute("id");h.style.filter="url(#"+r+")"}},b.prototype.add=function(h){var u=this.createElement("filter");return h._shadowDomId=h._shadowDomId||this.nextId++,u.setAttribute("id","zr"+this._zrId+"-shadow-"+h._shadowDomId),this.updateDom(h,u),this.addDom(u),u},b.prototype.update=function(h,u){var i=u.style;if(m(i)){var a=this;g.prototype.update.call(this,u,function(){a.updateDom(u,u._shadowDom)})}else this.remove(h,u)},b.prototype.remove=function(h,u){u._shadowDomId!=null&&(this.removeDom(h),h.style.filter="")},b.prototype.updateDom=function(h,u){var i=u.getElementsByTagName("feDropShadow");i.length===0?i=this.createElement("feDropShadow"):i=i[0];var a=h.style,r=h.scale&&h.scale[0]||1,o=h.scale&&h.scale[1]||1,d,n,l,t;if(a.shadowBlur||a.shadowOffsetX||a.shadowOffsetY)d=a.shadowOffsetX||0,n=a.shadowOffsetY||0,l=a.shadowBlur,t=a.shadowColor;else if(a.textShadowBlur)d=a.textShadowOffsetX||0,n=a.textShadowOffsetY||0,l=a.textShadowBlur,t=a.textShadowColor;else{this.removeDom(u,a);return}i.setAttribute("dx",d/r),i.setAttribute("dy",n/o),i.setAttribute("flood-color",t);var s=l/2/r,c=l/2/o,p=s+" "+c;i.setAttribute("stdDeviation",p),u.setAttribute("x","-100%"),u.setAttribute("y","-100%"),u.setAttribute("width",Math.ceil(l/2*200)+"%"),u.setAttribute("height",Math.ceil(l/2*200)+"%"),u.appendChild(i),h._shadowDom=u},b.prototype.markUsed=function(h){h._shadowDom&&g.prototype.markUsed.call(this,h._shadowDom)};function m(h){return h&&(h.shadowBlur||h.shadowOffsetX||h.shadowOffsetY||h.textShadowBlur||h.textShadowOffsetX||h.textShadowOffsetY)}var y=b;R.exports=y},vL6D:function(R,I,e){var g=e("bYtY"),f=e("+rIm"),b=e("IwbS"),m=e("7bkD"),y=e("Znkb"),h=e("WN+l"),u=h.rectCoordAxisBuildSplitArea,i=h.rectCoordAxisHandleRemove,a=["axisLine","axisTickLabel","axisName"],r=["splitArea","splitLine"],o=y.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(n,l,t,s){var c=this.group;c.removeAll();var p=this._axisGroup;this._axisGroup=new b.Group;var A=m.layout(n),w=new f(n,A);g.each(a,w.add,w),c.add(this._axisGroup),c.add(w.getGroup()),g.each(r,function(C){n.get(C+".show")&&this["_"+C](n)},this),b.groupTransition(p,this._axisGroup,n),o.superCall(this,"render",n,l,t,s)},remove:function(){i(this)},_splitLine:function(n){var l=n.axis;if(l.scale.isBlank())return;var t=n.getModel("splitLine"),s=t.getModel("lineStyle"),c=s.get("width"),p=s.get("color");p=p instanceof Array?p:[p];for(var A=n.coordinateSystem.getRect(),w=l.isHorizontal(),C=[],x=0,E=l.getTicksCoords({tickModel:t}),T=[],_=[],v=0;v<E.length;++v){var S=l.toGlobalCoord(E[v].coord);w?(T[0]=S,T[1]=A.y,_[0]=S,_[1]=A.y+A.height):(T[0]=A.x,T[1]=S,_[0]=A.x+A.width,_[1]=S);var O=x++%p.length;C[O]=C[O]||[],C[O].push(new b.Line({subPixelOptimize:!0,shape:{x1:T[0],y1:T[1],x2:_[0],y2:_[1]},style:{lineWidth:c},silent:!0}))}for(var v=0;v<C.length;++v)this.group.add(b.mergePath(C[v],{style:{stroke:p[v%p.length],lineDash:s.getLineDash(c),lineWidth:c},silent:!0}))},_splitArea:function(n){u(this,this._axisGroup,n,n)}}),d=o;R.exports=d},vWvF:function(R,I,e){var g=e("Bq2U"),f=e("SUKs"),b=e("bYtY"),m=b.isString,y=b.isFunction,h=b.isObject,u=b.isArrayLike,i=b.indexOf,a=function(){this.animators=[]};a.prototype={constructor:a,animate:function(t,s){var c,p=!1,A=this,w=this.__zr;if(t){var C=t.split("."),x=A;p=C[0]==="shape";for(var E=0,T=C.length;E<T;E++){if(!x)continue;x=x[C[E]]}x&&(c=x)}else c=A;if(!c){f('Property "'+t+'" is not existed in element '+A.id);return}var _=A.animators,v=new g(c,s);return v.during(function(S){A.dirty(p)}).done(function(){_.splice(i(_,v),1)}),_.push(v),w&&w.animation.addAnimator(v),v},stopAnimation:function(t){for(var s=this.animators,c=s.length,p=0;p<c;p++)s[p].stop(t);return s.length=0,this},animateTo:function(t,s,c,p,A,w){r(this,t,s,c,p,A,w)},animateFrom:function(t,s,c,p,A,w){r(this,t,s,c,p,A,w,!0)}};function r(l,t,s,c,p,A,w,C){m(c)?(A=p,p=c,c=0):y(p)?(A=p,p="linear",c=0):y(c)?(A=c,c=0):y(s)?(A=s,s=500):s||(s=500),l.stopAnimation(),o(l,"",l,t,s,c,C);var x=l.animators.slice(),E=x.length;function T(){E--,E||A&&A()}E||A&&A();for(var _=0;_<x.length;_++)x[_].done(T).start(p,w)}function o(l,t,s,c,p,A,w){var C={},x=0;for(var E in c){if(!c.hasOwnProperty(E))continue;s[E]!=null?h(c[E])&&!u(c[E])?o(l,t?t+"."+E:E,s[E],c[E],p,A,w):(w?(C[E]=s[E],d(l,t,E,c[E])):C[E]=c[E],x++):c[E]!=null&&!w&&d(l,t,E,c[E])}x>0&&l.animate(t,!1).when(p==null?500:p,C).delay(A||0)}function d(l,t,s,c){if(!t)l.attr(s,c);else{var p={};p[t]={},p[t][s]=c,l.attr(p)}}var n=a;R.exports=n},vZ6x:function(R,I,e){var g=e("Tghj"),f=g.__DEV__,b=e("bYtY"),m=e("IwbS"),y=e("4NO4"),h=e("9KIM"),u=b.each,i=b.indexOf,a=b.curry,r=["dataToPoint","pointToData"],o=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function d(v,S,O){var L=this._targetInfoList=[],M={},F=t(S,v);u(s,function(U,z){(!O||!O.include||i(O.include,z)>=0)&&U(F,L,M)})}var n=d.prototype;n.setOutputRanges=function(v,S){this.matchOutputRanges(v,S,function(O,L,M){if((O.coordRanges||(O.coordRanges=[])).push(L),!O.coordRange){O.coordRange=L;var F=A[O.brushType](0,M,L);O.__rangeOffset={offset:C[O.brushType](F.values,O.range,[1,1]),xyMinMax:F.xyMinMax}}})},n.matchOutputRanges=function(v,S,O){u(v,function(L){var M=this.findTargetInfo(L,S);M&&M!==!0&&b.each(M.coordSyses,function(F){var U=A[L.brushType](1,F,L.range);O(L,U.values,F,S)})},this)},n.setInputRanges=function(v,S){u(v,function(O){var L=this.findTargetInfo(O,S);if(O.range=O.range||[],L&&L!==!0){O.panelId=L.panelId;var M=A[O.brushType](0,L.coordSys,O.coordRange),F=O.__rangeOffset;O.range=F?C[O.brushType](M.values,F.offset,E(M.xyMinMax,F.xyMinMax)):M.values}},this)},n.makePanelOpts=function(v,S){return b.map(this._targetInfoList,function(O){var L=O.getPanelRect();return{panelId:O.panelId,defaultBrushType:S&&S(O),clipPath:h.makeRectPanelClipPath(L),isTargetByCursor:h.makeRectIsTargetByCursor(L,v,O.coordSysModel),getLinearBrushOtherExtent:h.makeLinearBrushOtherExtent(L)}})},n.controlSeries=function(v,S,O){var L=this.findTargetInfo(v,O);return L===!0||L&&i(L.coordSyses,S.coordinateSystem)>=0},n.findTargetInfo=function(v,S){for(var O=this._targetInfoList,L=t(S,v),M=0;M<O.length;M++){var F=O[M],U=v.panelId;if(U){if(F.panelId===U)return F}else for(var M=0;M<c.length;M++)if(c[M](L,F))return F}return!0};function l(v){return v[0]>v[1]&&v.reverse(),v}function t(v,S){return y.parseFinder(v,S,{includeMainTypes:o})}var s={grid:function(v,S){var O=v.xAxisModels,L=v.yAxisModels,M=v.gridModels,F=b.createHashMap(),U={},z={};if(!O&&!L&&!M)return;u(O,function(W){var N=W.axis.grid.model;F.set(N.id,N),U[N.id]=!0}),u(L,function(W){var N=W.axis.grid.model;F.set(N.id,N),z[N.id]=!0}),u(M,function(W){F.set(W.id,W),U[W.id]=!0,z[W.id]=!0}),F.each(function(W){var N=W.coordinateSystem,H=[];u(N.getCartesians(),function(j,k){(i(O,j.getAxis("x").model)>=0||i(L,j.getAxis("y").model)>=0)&&H.push(j)}),S.push({panelId:"grid--"+W.id,gridModel:W,coordSysModel:W,coordSys:H[0],coordSyses:H,getPanelRect:p.grid,xAxisDeclared:U[W.id],yAxisDeclared:z[W.id]})})},geo:function(v,S){u(v.geoModels,function(O){var L=O.coordinateSystem;S.push({panelId:"geo--"+O.id,geoModel:O,coordSysModel:O,coordSys:L,coordSyses:[L],getPanelRect:p.geo})})}},c=[function(v,S){var O=v.xAxisModel,L=v.yAxisModel,M=v.gridModel;return!M&&O&&(M=O.axis.grid.model),!M&&L&&(M=L.axis.grid.model),M&&M===S.gridModel},function(v,S){var O=v.geoModel;return O&&O===S.geoModel}],p={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var v=this.coordSys,S=v.getBoundingRect().clone();return S.applyTransform(m.getTransform(v)),S}},A={lineX:a(w,0),lineY:a(w,1),rect:function(v,S,O){var L=S[r[v]]([O[0][0],O[1][0]]),M=S[r[v]]([O[0][1],O[1][1]]),F=[l([L[0],M[0]]),l([L[1],M[1]])];return{values:F,xyMinMax:F}},polygon:function(v,S,O){var L=[[Infinity,-Infinity],[Infinity,-Infinity]],M=b.map(O,function(F){var U=S[r[v]](F);return L[0][0]=Math.min(L[0][0],U[0]),L[1][0]=Math.min(L[1][0],U[1]),L[0][1]=Math.max(L[0][1],U[0]),L[1][1]=Math.max(L[1][1],U[1]),U});return{values:M,xyMinMax:L}}};function w(v,S,O,L){var M=O.getAxis(["x","y"][v]),F=l(b.map([0,1],function(z){return S?M.coordToData(M.toLocalCoord(L[z])):M.toGlobalCoord(M.dataToCoord(L[z]))})),U=[];return U[v]=F,U[1-v]=[NaN,NaN],{values:F,xyMinMax:U}}var C={lineX:a(x,0),lineY:a(x,1),rect:function(v,S,O){return[[v[0][0]-O[0]*S[0][0],v[0][1]-O[0]*S[0][1]],[v[1][0]-O[1]*S[1][0],v[1][1]-O[1]*S[1][1]]]},polygon:function(v,S,O){return b.map(v,function(L,M){return[L[0]-O[0]*S[M][0],L[1]-O[1]*S[M][1]]})}};function x(v,S,O,L){return[S[0]-L[v]*O[0],S[1]-L[v]*O[1]]}function E(v,S){var O=T(v),L=T(S),M=[O[0]/L[0],O[1]/L[1]];return isNaN(M[0])&&(M[0]=1),isNaN(M[1])&&(M[1]=1),M}function T(v){return v?[v[0][1]-v[0][0],v[1][1]-v[1][0]]:[NaN,NaN]}var _=d;R.exports=_},vZI5:function(R,I,e){var g=e("bYtY"),f=e("T4UG"),b=e("5GhG"),m=b.seriesModelMixin,y=f.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,clip:!0,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(u,i,a){var r=i.getItemLayout(u);return r&&a.rect(r.brushRect)}});g.mixin(y,m,!0);var h=y;R.exports=h},vafp:function(R,I,e){var g=e("bYtY"),f=e("8nly");function b(h){if(!h.UTF8Encoding)return h;var u=h.UTF8Scale;u==null&&(u=1024);for(var i=h.features,a=0;a<i.length;a++)for(var r=i[a],o=r.geometry,d=o.coordinates,n=o.encodeOffsets,l=0;l<d.length;l++){var t=d[l];if(o.type==="Polygon")d[l]=m(t,n[l],u);else if(o.type==="MultiPolygon")for(var s=0;s<t.length;s++){var c=t[s];t[s]=m(c,n[l][s],u)}}return h.UTF8Encoding=!1,h}function m(h,u,i){for(var a=[],r=u[0],o=u[1],d=0;d<h.length;d+=2){var n=h.charCodeAt(d)-64,l=h.charCodeAt(d+1)-64;n=n>>1^-(n&1),l=l>>1^-(l&1),n+=r,l+=o,r=n,o=l,a.push([n/i,l/i])}return a}function y(h,u){return b(h),g.map(g.filter(h.features,function(i){return i.geometry&&i.properties&&i.geometry.coordinates.length>0}),function(i){var a=i.properties,r=i.geometry,o=r.coordinates,d=[];r.type==="Polygon"&&d.push({type:"polygon",exterior:o[0],interiors:o.slice(1)}),r.type==="MultiPolygon"&&g.each(o,function(l){l[0]&&d.push({type:"polygon",exterior:l[0],interiors:l.slice(1)})});var n=new f(a[u||"name"],d,a.cp);return n.properties=a,n})}R.exports=y},vcCh:function(R,I,e){var g=e("ProS");e("0qV/"),g.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(f,b){b.eachComponent({mainType:"series",subType:"sankey",query:f},function(m){m.setNodePosition(f.dataIndex,[f.localX,f.localY])})})},vewr:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.getPointerEvent=g,I.stopEvent=f,I.setCapture=i,I.releaseCapture=a;function g(r){return r.changedTouches?r.changedTouches[0]:r.touches?r.touches[0]:r}function f(r){r.stopPropagation(),r.preventDefault()}var b=!1,m=null;document.captureElement=null;function y(r){if(b)return;var o=new r.constructor(r.type,r);b=!0,document.captureElement?document.captureElement.dispatchEvent(o):m.dispatchEvent(o),b=!1,r.stopPropagation(),o.defaultPrevented&&r.preventDefault(),r.type==="mouseup"&&a()}function h(){var r=document.getElementById("noVNC_mouse_capture_elem");r.style.cursor=window.getComputedStyle(document.captureElement).cursor}var u=new MutationObserver(h);function i(r){if(r.setCapture)r.setCapture(),document.captureElement=r,r.addEventListener("mouseup",a);else{a();var o=document.getElementById("noVNC_mouse_capture_elem");o===null&&(o=document.createElement("div"),o.id="noVNC_mouse_capture_elem",o.style.position="fixed",o.style.top="0px",o.style.left="0px",o.style.width="100%",o.style.height="100%",o.style.zIndex=1e4,o.style.display="none",document.body.appendChild(o),o.addEventListener("contextmenu",y),o.addEventListener("mousemove",y),o.addEventListener("mouseup",y)),document.captureElement=r,u.observe(r,{attributes:!0}),h(),o.style.display="",window.addEventListener("mousemove",y),window.addEventListener("mouseup",y)}}function a(){if(document.releaseCapture)document.releaseCapture(),document.captureElement=null;else{if(!document.captureElement)return;m=document.captureElement,document.captureElement=null,u.disconnect();var r=document.getElementById("noVNC_mouse_capture_elem");r.style.display="none",window.removeEventListener("mousemove",y),window.removeEventListener("mouseup",y)}}},vg9a:function(R,I,e){},"vk+C":function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("RZPm"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},w5pM:function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="PlusCircleOutlined";var h=I.a=g.forwardRef(y)},w6Tc:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("apAg"));function f(m){return m&&m.__esModule?m:{default:m}}var b=g;I.default=b,R.exports=b},wCAj:function(R,I,e){"use strict";var g=e("cDf5"),f=e.n(g),b=e("lSNA"),m=e.n(b),y=e("J4zp"),h=e.n(y),u=e("pVnL"),i=e.n(u),a=e("q1tI"),r=e("TSYQ"),o=e.n(r),d=e("BGR+"),n=e("rePB"),l=e("VTBJ"),t=e("KQm4"),s=e("U8pU"),c=e("ODXe"),p=e("Gytx"),A=e.n(p),w=e("Kwbf"),C=e("t23M"),x=e("qx4F");function E(rr){return null}var T=E;function _(rr){return null}var v=_,S=e("Ff2n"),O=e("c+Xe"),L="RC_TABLE_KEY";function M(rr){return rr==null?[]:Array.isArray(rr)?rr:[rr]}function F(rr,Tr){if(!Tr&&typeof Tr!="number")return rr;for(var Pr=M(Tr),Wr=rr,hn=0;hn<Pr.length;hn+=1){if(!Wr)return null;var it=Pr[hn];Wr=Wr[it]}return Wr}function U(rr){var Tr=[],Pr={};return rr.forEach(function(Wr){for(var hn=Wr||{},it=hn.key,jt=hn.dataIndex,Zt=it||M(jt).join("-")||L;Pr[Zt];)Zt="".concat(Zt,"_next");Pr[Zt]=!0,Tr.push(Zt)}),Tr}function z(){var rr={};function Tr(it,jt){jt&&Object.keys(jt).forEach(function(Zt){var nr=jt[Zt];nr&&Object(s.a)(nr)==="object"?(it[Zt]=it[Zt]||{},Tr(it[Zt],nr)):it[Zt]=nr})}for(var Pr=arguments.length,Wr=new Array(Pr),hn=0;hn<Pr;hn++)Wr[hn]=arguments[hn];return Wr.forEach(function(it){Tr(rr,it)}),rr}function W(rr){return rr!=null}function N(rr){return rr&&Object(s.a)(rr)==="object"&&!Array.isArray(rr)&&!a.isValidElement(rr)}function H(rr){return typeof rr=="string"?!0:Object(O.c)(rr)}function j(rr,Tr){var Pr,Wr=rr.prefixCls,hn=rr.className,it=rr.record,jt=rr.index,Zt=rr.dataIndex,nr=rr.render,Or=rr.children,wr=rr.component,Er=wr===void 0?"td":wr,Kr=rr.colSpan,Zr=rr.rowSpan,Jr=rr.fixLeft,an=rr.fixRight,xt=rr.firstFixLeft,Vt=rr.lastFixLeft,sr=rr.firstFixRight,br=rr.lastFixRight,Mr=rr.appendNode,Dr=rr.additionalProps,rn=Dr===void 0?{}:Dr,fn=rr.ellipsis,wn=rr.align,Hn=rr.rowType,Sn=rr.isSticky,bn="".concat(Wr,"-cell"),Mn,vn;if(Or)vn=Or;else{var Rn=F(it,Zt);if(vn=Rn,nr){var En=nr(Rn,it,jt);N(En)?(vn=En.children,Mn=En.props):vn=En}}Object(s.a)(vn)==="object"&&!Array.isArray(vn)&&!a.isValidElement(vn)&&(vn=null),fn&&(Vt||sr)&&(vn=a.createElement("span",{className:"".concat(bn,"-content")},vn));var Ln=Mn||{},Xn=Ln.colSpan,ai=Ln.rowSpan,ri=Ln.style,Di=Ln.className,yi=Object(S.a)(Ln,["colSpan","rowSpan","style","className"]),xi=Xn!==void 0?Xn:Kr,_i=ai!==void 0?ai:Zr;if(xi===0||_i===0)return null;var Un={},Ri=typeof Jr=="number",fa=typeof an=="number";Ri&&(Un.position="sticky",Un.left=Jr),fa&&(Un.position="sticky",Un.right=an);var Ui={};wn&&(Ui.textAlign=wn);var Mi,mi=fn===!0?{showTitle:!0}:fn;mi&&(mi.showTitle||Hn==="header")&&(typeof vn=="string"||typeof vn=="number"?Mi=vn.toString():a.isValidElement(vn)&&typeof vn.props.children=="string"&&(Mi=vn.props.children));var hi=Object(l.a)(Object(l.a)(Object(l.a)({title:Mi},yi),rn),{},{colSpan:xi&&xi!==1?xi:null,rowSpan:_i&&_i!==1?_i:null,className:o()(bn,hn,(Pr={},Object(n.a)(Pr,"".concat(bn,"-fix-left"),Ri),Object(n.a)(Pr,"".concat(bn,"-fix-left-first"),xt),Object(n.a)(Pr,"".concat(bn,"-fix-left-last"),Vt),Object(n.a)(Pr,"".concat(bn,"-fix-right"),fa),Object(n.a)(Pr,"".concat(bn,"-fix-right-first"),sr),Object(n.a)(Pr,"".concat(bn,"-fix-right-last"),br),Object(n.a)(Pr,"".concat(bn,"-ellipsis"),fn),Object(n.a)(Pr,"".concat(bn,"-with-append"),Mr),Object(n.a)(Pr,"".concat(bn,"-fix-sticky"),(Ri||fa)&&Sn),Pr),rn.className,Di),style:Object(l.a)(Object(l.a)(Object(l.a)(Object(l.a)({},rn.style),Ui),Un),ri),ref:H(Er)?Tr:null});return a.createElement(Er,Object.assign({},hi),Mr,vn)}var k=a.forwardRef(j);k.displayName="Cell";var B=a.memo(k,function(rr,Tr){return Tr.shouldCellUpdate?!Tr.shouldCellUpdate(Tr.record,rr.record):!1}),V=B,K=a.createContext(null),Y=K;function Q(rr,Tr,Pr,Wr,hn){var it=Pr[rr]||{},jt=Pr[Tr]||{},Zt,nr;it.fixed==="left"?Zt=Wr.left[rr]:jt.fixed==="right"&&(nr=Wr.right[Tr]);var Or=!1,wr=!1,Er=!1,Kr=!1,Zr=Pr[Tr+1],Jr=Pr[rr-1];if(hn==="rtl"){if(Zt!==void 0){var an=Jr&&Jr.fixed==="left";Kr=!an}else if(nr!==void 0){var xt=Zr&&Zr.fixed==="right";Er=!xt}}else if(Zt!==void 0){var Vt=Zr&&Zr.fixed==="left";Or=!Vt}else if(nr!==void 0){var sr=Jr&&Jr.fixed==="right";wr=!sr}return{fixLeft:Zt,fixRight:nr,lastFixLeft:Or,firstFixRight:wr,lastFixRight:Er,firstFixLeft:Kr,isSticky:Wr.isSticky}}function he(rr){var Tr=rr.cells,Pr=rr.stickyOffsets,Wr=rr.flattenColumns,hn=rr.rowComponent,it=rr.cellComponent,jt=rr.onHeaderRow,Zt=rr.index,nr=a.useContext(Y),Or=nr.prefixCls,wr=nr.direction,Er;jt&&(Er=jt(Tr.map(function(Zr){return Zr.column}),Zt));var Kr=U(Tr.map(function(Zr){return Zr.column}));return a.createElement(hn,Object.assign({},Er),Tr.map(function(Zr,Jr){var an=Zr.column,xt=Q(Zr.colStart,Zr.colEnd,Wr,Pr,wr),Vt;return an&&an.onHeaderCell&&(Vt=Zr.column.onHeaderCell(an)),a.createElement(V,Object.assign({},Zr,{ellipsis:an.ellipsis,align:an.align,component:it,prefixCls:Or,key:Kr[Jr]},xt,{additionalProps:Vt,rowType:"header"}))}))}he.displayName="HeaderRow";var G=he;function ye(rr){var Tr=[];function Pr(jt,Zt){var nr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Tr[nr]=Tr[nr]||[];var Or=Zt,wr=jt.filter(Boolean).map(function(Er){var Kr={key:Er.key,className:Er.className||"",children:Er.title,column:Er,colStart:Or},Zr=1,Jr=Er.children;return Jr&&Jr.length>0&&(Zr=Pr(Jr,Or,nr+1).reduce(function(an,xt){return an+xt},0),Kr.hasSubColumns=!0),"colSpan"in Er&&(Zr=Er.colSpan),"rowSpan"in Er&&(Kr.rowSpan=Er.rowSpan),Kr.colSpan=Zr,Kr.colEnd=Kr.colStart+Zr-1,Tr[nr].push(Kr),Or+=Zr,Zr});return wr}Pr(rr,0);for(var Wr=Tr.length,hn=function(Zt){Tr[Zt].forEach(function(nr){!("rowSpan"in nr)&&!nr.hasSubColumns&&(nr.rowSpan=Wr-Zt)})},it=0;it<Wr;it+=1)hn(it);return Tr}function Ae(rr){var Tr=rr.stickyOffsets,Pr=rr.columns,Wr=rr.flattenColumns,hn=rr.onHeaderRow,it=a.useContext(Y),jt=it.prefixCls,Zt=it.getComponent,nr=a.useMemo(function(){return ye(Pr)},[Pr]),Or=Zt(["header","wrapper"],"thead"),wr=Zt(["header","row"],"tr"),Er=Zt(["header","cell"],"th");return a.createElement(Or,{className:"".concat(jt,"-thead")},nr.map(function(Kr,Zr){var Jr=a.createElement(G,{key:Zr,flattenColumns:Wr,cells:Kr,stickyOffsets:Tr,rowComponent:wr,cellComponent:Er,onHeaderRow:hn,index:Zr});return Jr}))}var ge=Ae,Pe="RC_TABLE_INTERNAL_COL_DEFINE";function Re(rr){var Tr=rr.expandable,Pr=Object(S.a)(rr,["expandable"]);return"expandable"in rr?Object(l.a)(Object(l.a)({},Pr),Tr):Pr}function rt(rr){return Object.keys(rr).reduce(function(Tr,Pr){return(Pr.substr(0,5)==="data-"||Pr.substr(0,5)==="aria-")&&(Tr[Pr]=rr[Pr]),Tr},{})}function ne(rr){for(var Tr=rr.colWidths,Pr=rr.columns,Wr=rr.columCount,hn=[],it=Wr||Pr.length,jt=!1,Zt=it-1;Zt>=0;Zt-=1){var nr=Tr[Zt],Or=Pr&&Pr[Zt],wr=Or&&Or[Pe];(nr||wr||jt)&&(hn.unshift(a.createElement("col",Object.assign({key:Zt,style:{width:nr,minWidth:nr}},wr))),jt=!0)}return a.createElement("colgroup",null,hn)}var be=ne;function at(rr,Tr){return Object(a.useMemo)(function(){for(var Pr=[],Wr=0;Wr<Tr;Wr+=1){var hn=rr[Wr];if(hn)Pr[Wr]=hn;else return null}return Pr},[rr.join("_"),Tr])}function se(rr){var Tr=rr.noData,Pr=rr.columns,Wr=rr.flattenColumns,hn=rr.colWidths,it=rr.columCount,jt=rr.stickyOffsets,Zt=rr.direction,nr=rr.fixHeader,Or=Object(S.a)(rr,["noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader"]),wr=a.useContext(Y),Er=wr.prefixCls,Kr=wr.scrollbarSize,Zr=wr.isSticky,Jr=Zr&&!nr?0:Kr,an=Wr[Wr.length-1],xt={fixed:an?an.fixed:null,onHeaderCell:function(){return{className:"".concat(Er,"-cell-scrollbar")}}},Vt=Object(a.useMemo)(function(){return Jr?[].concat(Object(t.a)(Pr),[xt]):Pr},[Jr,Pr]),sr=Object(a.useMemo)(function(){return Jr?[].concat(Object(t.a)(Wr),[xt]):Wr},[Jr,Wr]),br=Object(a.useMemo)(function(){var Dr=jt.right,rn=jt.left;return Object(l.a)(Object(l.a)({},jt),{},{left:Zt==="rtl"?[].concat(Object(t.a)(rn.map(function(fn){return fn+Jr})),[0]):rn,right:Zt==="rtl"?Dr:[].concat(Object(t.a)(Dr.map(function(fn){return fn+Jr})),[0]),isSticky:Zr})},[Jr,jt,Zr]),Mr=at(hn,it);return a.createElement("table",{style:{tableLayout:"fixed",visibility:Tr||Mr?null:"hidden"}},a.createElement(be,{colWidths:Mr?[].concat(Object(t.a)(Mr),[Jr]):[],columCount:it+1,columns:sr}),a.createElement(ge,Object.assign({},Or,{stickyOffsets:br,columns:Vt,flattenColumns:sr})))}var q=se,X=a.createContext(null),Z=X;function pe(rr){var Tr=rr.prefixCls,Pr=rr.children,Wr=rr.component,hn=rr.cellComponent,it=rr.fixHeader,jt=rr.fixColumn,Zt=rr.horizonScroll,nr=rr.className,Or=rr.expanded,wr=rr.componentWidth,Er=rr.colSpan,Kr=a.useContext(Y),Zr=Kr.scrollbarSize;return a.useMemo(function(){var Jr=Pr;return jt&&(Jr=a.createElement("div",{style:{width:wr-(it?Zr:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Tr,"-expanded-row-fixed")},Jr)),a.createElement(Wr,{className:nr,style:{display:Or?null:"none"}},a.createElement(V,{component:hn,prefixCls:Tr,colSpan:Er},Jr))},[Pr,Wr,it,Zt,nr,Or,wr,Er,Zr])}var oe=pe;function Ie(rr){var Tr=rr.className,Pr=rr.style,Wr=rr.record,hn=rr.index,it=rr.rowKey,jt=rr.getRowKey,Zt=rr.rowExpandable,nr=rr.expandedKeys,Or=rr.onRow,wr=rr.indent,Er=wr===void 0?0:wr,Kr=rr.rowComponent,Zr=rr.cellComponent,Jr=rr.childrenColumnName,an=a.useContext(Y),xt=an.prefixCls,Vt=an.fixedInfoList,sr=a.useContext(Z),br=sr.fixHeader,Mr=sr.fixColumn,Dr=sr.horizonScroll,rn=sr.componentWidth,fn=sr.flattenColumns,wn=sr.expandableType,Hn=sr.expandRowByClick,Sn=sr.onTriggerExpand,bn=sr.rowClassName,Mn=sr.expandedRowClassName,vn=sr.indentSize,Rn=sr.expandIcon,En=sr.expandedRowRender,Ln=sr.expandIconColumnIndex,Xn=a.useState(!1),ai=Object(c.a)(Xn,2),ri=ai[0],Di=ai[1],yi=nr&&nr.has(rr.recordKey);a.useEffect(function(){yi&&Di(!0)},[yi]);var xi=wn==="row"&&(!Zt||Zt(Wr)),_i=wn==="nest",Un=Jr&&Wr&&Wr[Jr],Ri=xi||_i,fa;Or&&(fa=Or(Wr,hn));var Ui=function(sa){if(Hn&&Ri&&Sn(Wr,sa),fa&&fa.onClick){for(var Ni,$n=arguments.length,Ai=new Array($n>1?$n-1:0),Li=1;Li<$n;Li++)Ai[Li-1]=arguments[Li];(Ni=fa).onClick.apply(Ni,[sa].concat(Ai))}},Mi;typeof bn=="string"?Mi=bn:typeof bn=="function"&&(Mi=bn(Wr,hn,Er));var mi=U(fn),hi=a.createElement(Kr,Object.assign({},fa,{"data-row-key":it,className:o()(Tr,"".concat(xt,"-row"),"".concat(xt,"-row-level-").concat(Er),Mi,fa&&fa.className),style:Object(l.a)(Object(l.a)({},Pr),fa?fa.style:null),onClick:Ui}),fn.map(function(oa,sa){var Ni=oa.render,$n=oa.dataIndex,Ai=oa.className,Li=mi[sa],Vi=Vt[sa],Xi;sa===(Ln||0)&&_i&&(Xi=a.createElement(a.Fragment,null,a.createElement("span",{style:{paddingLeft:"".concat(vn*Er,"px")},className:"".concat(xt,"-row-indent indent-level-").concat(Er)}),Rn({prefixCls:xt,expanded:yi,expandable:Un,record:Wr,onExpand:Sn})));var bi;return oa.onCell&&(bi=oa.onCell(Wr,hn)),a.createElement(V,Object.assign({className:Ai,ellipsis:oa.ellipsis,align:oa.align,component:Zr,prefixCls:xt,key:Li,record:Wr,index:hn,dataIndex:$n,render:Ni,shouldCellUpdate:oa.shouldCellUpdate},Vi,{appendNode:Xi,additionalProps:bi}))})),qi;if(xi&&(ri||yi)){var va=En(Wr,hn,Er+1,yi),Ea=Mn&&Mn(Wr,hn,Er);qi=a.createElement(oe,{expanded:yi,className:o()("".concat(xt,"-expanded-row"),"".concat(xt,"-expanded-row-level-").concat(Er+1),Ea),prefixCls:xt,fixHeader:br,fixColumn:Mr,horizonScroll:Dr,component:Kr,componentWidth:rn,cellComponent:Zr,colSpan:fn.length},va)}var ya;return Un&&yi&&(ya=(Wr[Jr]||[]).map(function(oa,sa){var Ni=jt(oa,sa);return a.createElement(Ie,Object.assign({},rr,{key:Ni,rowKey:Ni,record:oa,recordKey:Ni,index:sa,indent:Er+1}))})),a.createElement(a.Fragment,null,hi,qi,ya)}Ie.displayName="BodyRow";var fe=Ie,te=a.createContext(null),J=te;function ve(rr){var Tr=rr.data,Pr=rr.getRowKey,Wr=rr.measureColumnWidth,hn=rr.expandedKeys,it=rr.onRow,jt=rr.rowExpandable,Zt=rr.emptyNode,nr=rr.childrenColumnName,Or=a.useContext(J),wr=Or.onColumnResize,Er=a.useContext(Y),Kr=Er.prefixCls,Zr=Er.getComponent,Jr=a.useContext(Z),an=Jr.fixHeader,xt=Jr.horizonScroll,Vt=Jr.flattenColumns,sr=Jr.componentWidth;return a.useMemo(function(){var br=Zr(["body","wrapper"],"tbody"),Mr=Zr(["body","row"],"tr"),Dr=Zr(["body","cell"],"td"),rn;Tr.length?rn=Tr.map(function(wn,Hn){var Sn=Pr(wn,Hn);return a.createElement(fe,{key:Sn,rowKey:Sn,record:wn,recordKey:Sn,index:Hn,rowComponent:Mr,cellComponent:Dr,expandedKeys:hn,onRow:it,getRowKey:Pr,rowExpandable:jt,childrenColumnName:nr})}):rn=a.createElement(oe,{expanded:!0,className:"".concat(Kr,"-placeholder"),prefixCls:Kr,fixHeader:an,fixColumn:xt,horizonScroll:xt,component:Mr,componentWidth:sr,cellComponent:Dr,colSpan:Vt.length},Zt);var fn=U(Vt);return a.createElement(br,{className:"".concat(Kr,"-tbody")},Wr&&a.createElement("tr",{"aria-hidden":"true",className:"".concat(Kr,"-measure-row"),style:{height:0}},fn.map(function(wn){return a.createElement(C.a,{key:wn,onResize:function(Sn){var bn=Sn.offsetWidth;wr(wn,bn)}},a.createElement("td",{style:{padding:0,border:0,height:0}}))})),rn)},[Tr,Kr,it,Wr,hn,Pr,Zr,sr,Zt,Vt])}var De=a.memo(ve);De.displayName="Body";var ze=De,dt=e("Zm9Q");function Me(rr){return Object(dt.a)(rr).filter(function(Tr){return a.isValidElement(Tr)}).map(function(Tr){var Pr=Tr.key,Wr=Tr.props,hn=Wr.children,it=Object(S.a)(Wr,["children"]),jt=Object(l.a)({key:Pr},it);return hn&&(jt.children=Me(hn)),jt})}function Tt(rr){return rr.reduce(function(Tr,Pr){var Wr=Pr.fixed,hn=Wr===!0?"left":Wr,it=Pr.children;return it&&it.length>0?[].concat(Object(t.a)(Tr),Object(t.a)(Tt(it).map(function(jt){return Object(l.a)({fixed:hn},jt)}))):[].concat(Object(t.a)(Tr),[Object(l.a)(Object(l.a)({},Pr),{},{fixed:hn})])},[])}function je(rr){for(var Tr=!0,Pr=0;Pr<rr.length;Pr+=1){var Wr=rr[Pr];if(Tr&&Wr.fixed!=="left")Tr=!1;else if(!Tr&&Wr.fixed==="left"){Object(w.a)(!1,"Index ".concat(Pr-1," of `columns` missing `fixed='left'` prop."));break}}for(var hn=!0,it=rr.length-1;it>=0;it-=1){var jt=rr[it];if(hn&&jt.fixed!=="right")hn=!1;else if(!hn&&jt.fixed==="right"){Object(w.a)(!1,"Index ".concat(it+1," of `columns` missing `fixed='right'` prop."));break}}}function st(rr){return rr.map(function(Tr){var Pr=Tr.fixed,Wr=Object(S.a)(Tr,["fixed"]),hn=Pr;return Pr==="left"?hn="right":Pr==="right"&&(hn="left"),Object(l.a)({fixed:hn},Wr)})}function Xe(rr,Tr){var Pr=rr.prefixCls,Wr=rr.columns,hn=rr.children,it=rr.expandable,jt=rr.expandedKeys,Zt=rr.getRowKey,nr=rr.onTriggerExpand,Or=rr.expandIcon,wr=rr.rowExpandable,Er=rr.expandIconColumnIndex,Kr=rr.direction,Zr=rr.expandRowByClick,Jr=a.useMemo(function(){return Wr||Me(hn)},[Wr,hn]),an=a.useMemo(function(){if(it){var sr,br=Er||0,Mr=Jr[br],Dr=(sr={},Object(n.a)(sr,Pe,{className:"".concat(Pr,"-expand-icon-col")}),Object(n.a)(sr,"title",""),Object(n.a)(sr,"fixed",Mr?Mr.fixed:null),Object(n.a)(sr,"className","".concat(Pr,"-row-expand-icon-cell")),Object(n.a)(sr,"render",function(wn,Hn,Sn){var bn=Zt(Hn,Sn),Mn=jt.has(bn),vn=wr?wr(Hn):!0,Rn=Or({prefixCls:Pr,expanded:Mn,expandable:vn,record:Hn,onExpand:nr});return Zr?a.createElement("span",{onClick:function(Ln){return Ln.stopPropagation()}},Rn):Rn}),sr),rn=Jr.slice();return br>=0&&rn.splice(br,0,Dr),rn}return Jr},[it,Jr,Zt,jt,Or,Kr]),xt=a.useMemo(function(){var sr=an;return Tr&&(sr=Tr(sr)),sr.length||(sr=[{render:function(){return null}}]),sr},[Tr,an,Kr]),Vt=a.useMemo(function(){return Kr==="rtl"?st(Tt(xt)):Tt(xt)},[xt,Kr]);return[xt,Vt]}var Je=Xe,et=e("xEkU"),ot=e.n(et);function Ve(rr){var Tr=Object(a.useRef)(rr),Pr=Object(a.useState)({}),Wr=Object(c.a)(Pr,2),hn=Wr[1],it=Object(a.useRef)(null),jt=Object(a.useRef)([]);function Zt(nr){it.current===null&&(jt.current=[],it.current=ot()(function(){jt.current.forEach(function(Or){Tr.current=Or(Tr.current)}),it.current=null,hn({})})),jt.current.push(nr)}return Object(a.useEffect)(function(){return function(){ot.a.cancel(it.current)}},[]),[Tr.current,Zt]}function ue(rr){var Tr=Object(a.useRef)(rr),Pr=Object(a.useRef)(null);function Wr(){window.clearTimeout(Pr.current)}function hn(jt){Tr.current=jt,Wr(),Pr.current=window.setTimeout(function(){Tr.current=null,Pr.current=null},100)}function it(){return Tr.current}return Object(a.useEffect)(function(){return Wr},[]),[hn,it]}function ae(rr,Tr,Pr){var Wr=Object(a.useMemo)(function(){for(var hn=[],it=[],jt=0,Zt=0,nr=0;nr<Tr;nr+=1)if(Pr==="rtl"){it[nr]=Zt,Zt+=rr[nr]||0;var Or=Tr-nr-1;hn[Or]=jt,jt+=rr[Or]||0}else{hn[nr]=jt,jt+=rr[nr]||0;var wr=Tr-nr-1;it[wr]=Zt,Zt+=rr[wr]||0}return{left:hn,right:it}},[rr,Tr,Pr]);return Wr}var lt=ae;function Ze(rr){var Tr=rr.className,Pr=rr.children;return a.createElement("div",{className:Tr},Pr)}var Te=Ze;function Jt(rr){var Tr=rr.className,Pr=rr.index,Wr=rr.children,hn=rr.colSpan,it=rr.rowSpan,jt=a.useContext(Y),Zt=jt.prefixCls,nr=jt.fixedInfoList,Or=nr[Pr];return a.createElement(V,Object.assign({className:Tr,index:Pr,component:"td",prefixCls:Zt,record:null,dataIndex:null,render:function(){return{children:Wr,props:{colSpan:hn,rowSpan:it}}}},Or))}function mt(rr){return a.createElement("tr",Object.assign({},rr))}function ft(rr){var Tr=rr.children,Pr=a.useContext(Y),Wr=Pr.prefixCls;return a.createElement("tfoot",{className:"".concat(Wr,"-summary")},Tr)}var bt=ft,Lt={Cell:Jt,Row:mt};function or(rr){var Tr,Pr=rr.prefixCls,Wr=rr.record,hn=rr.onExpand,it=rr.expanded,jt=rr.expandable,Zt="".concat(Pr,"-row-expand-icon");if(!jt)return a.createElement("span",{className:o()(Zt,"".concat(Pr,"-row-spaced"))});var nr=function(wr){hn(Wr,wr),wr.stopPropagation()};return a.createElement("span",{className:o()(Zt,(Tr={},Object(n.a)(Tr,"".concat(Pr,"-row-expanded"),it),Object(n.a)(Tr,"".concat(Pr,"-row-collapsed"),!it),Tr)),onClick:nr})}function Bt(rr,Tr,Pr){var Wr=[];function hn(it){(it||[]).forEach(function(jt,Zt){Wr.push(Tr(jt,Zt)),hn(jt[Pr])})}return hn(rr),Wr}var _e=e("zT1h"),Ce=e("y0+3"),Ee=function(Tr,Pr){var Wr,hn,it=Tr.scrollBodyRef,jt=Tr.onScroll,Zt=Tr.offsetScroll,nr=a.useContext(Y),Or=nr.prefixCls,wr=((Wr=it.current)===null||Wr===void 0?void 0:Wr.scrollWidth)||0,Er=((hn=it.current)===null||hn===void 0?void 0:hn.clientWidth)||0,Kr=wr&&Er*(Er/wr),Zr=a.useRef(),Jr=Ve({scrollLeft:0,isHiddenScrollBar:!1}),an=Object(c.a)(Jr,2),xt=an[0],Vt=an[1],sr=a.useRef({delta:0,x:0}),br=a.useState(!1),Mr=Object(c.a)(br,2),Dr=Mr[0],rn=Mr[1],fn=function(){rn(!1)},wn=function(vn){vn.persist(),sr.current.delta=vn.pageX-xt.scrollLeft,sr.current.x=0,rn(!0),vn.preventDefault()},Hn=function(vn){var Rn,En=vn||((Rn=window)===null||Rn===void 0?void 0:Rn.event),Ln=En.buttons;if(!Dr||Ln===0){Dr&&rn(!1);return}var Xn=sr.current.x+vn.pageX-sr.current.x-sr.current.delta;Xn<=0&&(Xn=0),Xn+Kr>=Er&&(Xn=Er-Kr),jt({scrollLeft:Xn/Er*(wr+2)}),sr.current.x=vn.pageX},Sn=function(){var vn=Object(Ce.b)(it.current).top,Rn=vn+it.current.offsetHeight,En=document.documentElement.scrollTop+window.innerHeight;Rn-Object(x.a)()<=En||vn>=En-Zt?Vt(function(Ln){return Object(l.a)(Object(l.a)({},Ln),{},{isHiddenScrollBar:!0})}):Vt(function(Ln){return Object(l.a)(Object(l.a)({},Ln),{},{isHiddenScrollBar:!1})})},bn=function(vn){Vt(function(Rn){return Object(l.a)(Object(l.a)({},Rn),{},{scrollLeft:vn/wr*Er||0})})};return a.useImperativeHandle(Pr,function(){return{setScrollLeft:bn}}),a.useEffect(function(){var Mn=Object(_e.a)(document.body,"mouseup",fn,!1),vn=Object(_e.a)(document.body,"mousemove",Hn,!1);return Sn(),function(){Mn.remove(),vn.remove()}},[Kr,Dr]),a.useEffect(function(){var Mn=Object(_e.a)(window,"scroll",Sn,!1),vn=Object(_e.a)(window,"resize",Sn,!1);return function(){Mn.remove(),vn.remove()}},[]),a.useEffect(function(){xt.isHiddenScrollBar||Vt(function(Mn){var vn,Rn;return Object(l.a)(Object(l.a)({},Mn),{},{scrollLeft:it.current.scrollLeft/((vn=it.current)===null||vn===void 0?void 0:vn.scrollWidth)*((Rn=it.current)===null||Rn===void 0?void 0:Rn.clientWidth)})})},[xt.isHiddenScrollBar]),wr<=Er||!Kr||xt.isHiddenScrollBar?null:a.createElement("div",{style:{height:Object(x.a)(),width:Er,bottom:Zt},className:"".concat(Or,"-sticky-scroll")},a.createElement("div",{onMouseDown:wn,ref:Zr,className:o()("".concat(Or,"-sticky-scroll-bar"),Object(n.a)({},"".concat(Or,"-sticky-scroll-bar-active"),Dr)),style:{width:"".concat(Kr,"px"),transform:"translate3d(".concat(xt.scrollLeft,"px, 0, 0)")}}))},we=a.forwardRef(Ee);function Fe(rr,Tr){return a.useMemo(function(){var Pr=!!rr;return{isSticky:Pr,stickyClassName:Pr?"".concat(Tr,"-sticky-header"):"",offsetHeader:Object(s.a)(rr)==="object"&&rr.offsetHeader||0,offsetScroll:Object(s.a)(rr)==="object"&&rr.offsetScroll||0}},[rr,Tr])}var Ye=[],Ge={},qe="rc-table-internal-hook",Ke=a.memo(function(rr){var Tr=rr.children;return Tr},function(rr,Tr){return A()(rr.props,Tr.props)?rr.pingLeft!==Tr.pingLeft||rr.pingRight!==Tr.pingRight:!1});function ut(rr){var Tr,Pr=rr.prefixCls,Wr=rr.className,hn=rr.rowClassName,it=rr.style,jt=rr.data,Zt=rr.rowKey,nr=rr.scroll,Or=rr.tableLayout,wr=rr.direction,Er=rr.title,Kr=rr.footer,Zr=rr.summary,Jr=rr.id,an=rr.showHeader,xt=rr.components,Vt=rr.emptyText,sr=rr.onRow,br=rr.onHeaderRow,Mr=rr.internalHooks,Dr=rr.transformColumns,rn=rr.internalRefs,fn=rr.sticky,wn=jt||Ye,Hn=!!wn.length,Sn=a.useState(0),bn=Object(c.a)(Sn,2),Mn=bn[0],vn=bn[1];a.useEffect(function(){vn(Object(x.a)())});var Rn=a.useMemo(function(){return z(xt,{})},[xt]),En=a.useCallback(function(ka,_a){return F(Rn,ka)||_a},[Rn]),Ln=a.useMemo(function(){return typeof Zt=="function"?Zt:function(ka){var _a=ka&&ka[Zt];return _a}},[Zt]),Xn=Re(rr),ai=Xn.expandIcon,ri=Xn.expandedRowKeys,Di=Xn.defaultExpandedRowKeys,yi=Xn.defaultExpandAllRows,xi=Xn.expandedRowRender,_i=Xn.onExpand,Un=Xn.onExpandedRowsChange,Ri=Xn.expandRowByClick,fa=Xn.rowExpandable,Ui=Xn.expandIconColumnIndex,Mi=Xn.expandedRowClassName,mi=Xn.childrenColumnName,hi=Xn.indentSize,qi=ai||or,va=mi||"children",Ea=a.useMemo(function(){return xi?"row":rr.expandable&&Mr===qe&&rr.expandable.__PARENT_RENDER_ICON__||wn.some(function(ka){return ka&&Object(s.a)(ka)==="object"&&ka[va]})?"nest":!1},[!!xi,wn]),ya=a.useState(function(){return Di||(yi?Bt(wn,Ln,va):[])}),oa=Object(c.a)(ya,2),sa=oa[0],Ni=oa[1],$n=a.useMemo(function(){return new Set(ri||sa||[])},[ri,sa]),Ai=a.useCallback(function(ka){var _a=Ln(ka,wn.indexOf(ka)),Oo,Lo=$n.has(_a);Lo?($n.delete(_a),Oo=Object(t.a)($n)):Oo=[].concat(Object(t.a)($n),[_a]),Ni(Oo),_i&&_i(!Lo,ka),Un&&Un(Oo)},[Ln,$n,wn,_i,Un]),Li=a.useState(0),Vi=Object(c.a)(Li,2),Xi=Vi[0],bi=Vi[1],Aa=Je(Object(l.a)(Object(l.a)(Object(l.a)({},rr),Xn),{},{expandable:!!xi,expandedKeys:$n,getRowKey:Ln,onTriggerExpand:Ai,expandIcon:qi,expandIconColumnIndex:Ui,direction:wr}),Mr===qe?Dr:null),ua=Object(c.a)(Aa,2),la=ua[0],gi=ua[1],Pa=a.useMemo(function(){return{columns:la,flattenColumns:gi}},[la,gi]),Ma=a.useRef(),ra=a.useRef(),Yi=a.useRef(),Xa=a.useState(!1),zi=Object(c.a)(Xa,2),Ki=zi[0],ba=zi[1],Ua=a.useState(!1),wa=Object(c.a)(Ua,2),vi=wa[0],Ya=wa[1],za=Ve(new Map),pa=Object(c.a)(za,2),Oi=pa[0],So=pa[1],Ka=U(gi),ja=Ka.map(function(ka){return Oi.get(ka)}),qa=a.useMemo(function(){return ja},[ja.join("_")]),ho=lt(qa,gi.length,wr),Ca=nr&&W(nr.y),to=nr&&W(nr.x),_o=to&&gi.some(function(ka){var _a=ka.fixed;return _a}),La=a.useRef(),ki=Fe(fn,Pr),Za=ki.isSticky,Da=ki.offsetHeader,pi=ki.offsetScroll,Gi=ki.stickyClassName,oo,go,fo;Ca&&(go={overflowY:"scroll",maxHeight:nr.y}),to&&(oo={overflowX:"auto"},Ca||(go={overflowY:"hidden"}),fo={width:nr.x===!0?"auto":nr.x,minWidth:"100%"});var Ta=a.useCallback(function(ka,_a){So(function(Oo){var Lo=new Map(Oo);return Lo.set(ka,_a),Lo})},[]),Fi=ue(null),Ra=Object(c.a)(Fi,2),Vo=Ra[0],ro=Ra[1];function vo(ka,_a){_a&&(typeof _a=="function"?_a(ka):_a.scrollLeft!==ka&&(_a.scrollLeft=ka))}var po=function(_a){var Oo=_a.currentTarget,Lo=_a.scrollLeft,ts=typeof Lo=="number"?Lo:Oo.scrollLeft,Bo=Oo||Ge;if(!ro()||ro()===Bo){var rs;Vo(Bo),vo(ts,ra.current),vo(ts,Yi.current),vo(ts,(rs=La.current)===null||rs===void 0?void 0:rs.setScrollLeft)}if(Oo){var ms=Oo.scrollWidth,ls=Oo.clientWidth;ba(ts>0),Ya(ts<ms-ls)}},Ji=function(){Yi.current&&po({currentTarget:Yi.current})},xo=function(_a){var Oo=_a.width;Ji(),bi(Ma.current?Ma.current.offsetWidth:Oo)};a.useEffect(function(){return Ji},[]),a.useEffect(function(){to&&Ji()},[to]),a.useEffect(function(){Mr===qe&&rn&&(rn.body.current=Yi.current)});var is=En(["table"],"table"),Zo=a.useMemo(function(){return Or||(_o?nr.x==="max-content"?"auto":"fixed":Ca||gi.some(function(ka){var _a=ka.ellipsis;return _a})?"fixed":"auto")},[Ca,_o,gi,Or]),Is,Cs={colWidths:qa,columCount:gi.length,stickyOffsets:ho,onHeaderRow:br,fixHeader:Ca},Ts=a.useMemo(function(){return Hn?null:typeof Vt=="function"?Vt():Vt},[Hn,Vt]),Go=a.createElement(ze,{data:wn,measureColumnWidth:Ca||to||Za,expandedKeys:$n,rowExpandable:fa,getRowKey:Ln,onRow:sr,emptyNode:Ts,childrenColumnName:va}),bo=a.createElement(be,{colWidths:gi.map(function(ka){var _a=ka.width;return _a}),columns:gi}),Ja=Zr&&a.createElement(bt,null,Zr(wn)),Ga=En(["body"]);if(Ca||Za){var so;typeof Ga=="function"?(so=Ga(wn,{scrollbarSize:Mn,ref:Yi,onScroll:po}),Cs.colWidths=gi.map(function(ka,_a){var Oo=ka.width,Lo=_a===la.length-1?Oo-Mn:Oo;return typeof Lo=="number"&&!Number.isNaN(Lo)?Lo:(Object(w.a)(!1,"When use `components.body` with render props. Each column should have a fixed value."),0)})):so=a.createElement("div",{style:Object(l.a)(Object(l.a)({},oo),go),onScroll:po,ref:Yi,className:o()("".concat(Pr,"-body"))},a.createElement(is,{style:Object(l.a)(Object(l.a)({},fo),{},{tableLayout:Zo})},bo,Go,Ja),Za&&a.createElement(we,{ref:La,offsetScroll:pi,scrollBodyRef:Yi,onScroll:po})),Is=a.createElement(a.Fragment,null,an!==!1&&a.createElement("div",{style:Object(l.a)({overflow:"hidden"},Za?{top:Da}:{}),onScroll:po,ref:ra,className:o()("".concat(Pr,"-header"),Object(n.a)({},Gi,!!Gi))},a.createElement(q,Object.assign({noData:!wn.length},Cs,Pa,{direction:wr}))),so)}else Is=a.createElement("div",{style:Object(l.a)(Object(l.a)({},oo),go),className:o()("".concat(Pr,"-content")),onScroll:po,ref:Yi},a.createElement(is,{style:Object(l.a)(Object(l.a)({},fo),{},{tableLayout:Zo})},bo,an!==!1&&a.createElement(ge,Object.assign({},Cs,Pa)),Go,Ja));var ps=rt(rr),Sr=a.createElement("div",Object.assign({className:o()(Pr,Wr,(Tr={},Object(n.a)(Tr,"".concat(Pr,"-rtl"),wr==="rtl"),Object(n.a)(Tr,"".concat(Pr,"-ping-left"),Ki),Object(n.a)(Tr,"".concat(Pr,"-ping-right"),vi),Object(n.a)(Tr,"".concat(Pr,"-layout-fixed"),Or==="fixed"),Object(n.a)(Tr,"".concat(Pr,"-fixed-header"),Ca),Object(n.a)(Tr,"".concat(Pr,"-fixed-column"),_o),Object(n.a)(Tr,"".concat(Pr,"-scroll-horizontal"),to),Object(n.a)(Tr,"".concat(Pr,"-has-fix-left"),gi[0]&&gi[0].fixed),Object(n.a)(Tr,"".concat(Pr,"-has-fix-right"),gi[gi.length-1]&&gi[gi.length-1].fixed==="right"),Tr)),style:it,id:Jr,ref:Ma},ps),a.createElement(Ke,{pingLeft:Ki,pingRight:vi,props:Object(l.a)(Object(l.a)({},rr),{},{stickyOffsets:ho,mergedExpandedKeys:$n})},Er&&a.createElement(Te,{className:"".concat(Pr,"-title")},Er(wn)),a.createElement("div",{className:"".concat(Pr,"-container")},Is),Kr&&a.createElement(Te,{className:"".concat(Pr,"-footer")},Kr(wn))));to&&(Sr=a.createElement(C.a,{onResize:xo},Sr));var Xo=a.useMemo(function(){return{prefixCls:Pr,getComponent:En,scrollbarSize:Mn,direction:wr,fixedInfoList:gi.map(function(ka,_a){return Q(_a,_a,gi,ho,wr)}),isSticky:Za}},[Pr,En,Mn,wr,gi,ho,wr,Za]),ss=a.useMemo(function(){return Object(l.a)(Object(l.a)({},Pa),{},{tableLayout:Zo,rowClassName:hn,expandedRowClassName:Mi,componentWidth:Xi,fixHeader:Ca,fixColumn:_o,horizonScroll:to,expandIcon:qi,expandableType:Ea,expandRowByClick:Ri,expandedRowRender:xi,onTriggerExpand:Ai,expandIconColumnIndex:Ui,indentSize:hi})},[Pa,Zo,hn,Mi,Xi,Ca,_o,to,qi,Ea,Ri,xi,Ai,Ui,hi]),_s=a.useMemo(function(){return{onColumnResize:Ta}},[Ta]);return a.createElement(Y.Provider,{value:Xo},a.createElement(Z.Provider,{value:ss},a.createElement(J.Provider,{value:_s},Sr)))}ut.Column=v,ut.ColumnGroup=T,ut.Summary=Lt,ut.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var wt=ut,It=wt,de=e("W9HT"),xe=e("NUBc"),$=e("H84U"),le=function(rr,Tr){var Pr={};for(var Wr in rr)Object.prototype.hasOwnProperty.call(rr,Wr)&&Tr.indexOf(Wr)<0&&(Pr[Wr]=rr[Wr]);if(rr!=null&&typeof Object.getOwnPropertySymbols=="function")for(var hn=0,Wr=Object.getOwnPropertySymbols(rr);hn<Wr.length;hn++)Tr.indexOf(Wr[hn])<0&&Object.prototype.propertyIsEnumerable.call(rr,Wr[hn])&&(Pr[Wr[hn]]=rr[Wr[hn]]);return Pr},Oe=10;function ke(rr,Tr){var Pr={current:Tr.current,pageSize:Tr.pageSize},Wr=rr&&f()(rr)==="object"?rr:{};return Object.keys(Wr).forEach(function(hn){var it=Tr[hn];typeof it!="function"&&(Pr[hn]=it)}),Pr}function Ue(){for(var rr={},Tr=arguments.length,Pr=new Array(Tr),Wr=0;Wr<Tr;Wr++)Pr[Wr]=arguments[Wr];return Pr.forEach(function(hn){hn&&Object.keys(hn).forEach(function(it){var jt=hn[it];jt!==void 0&&(rr[it]=jt)})}),rr}function nt(rr,Tr,Pr){var Wr=Tr&&f()(Tr)==="object"?Tr:{},hn=Wr.total,it=hn===void 0?0:hn,jt=le(Wr,["total"]),Zt=Object(a.useState)(function(){return{current:"defaultCurrent"in jt?jt.defaultCurrent:1,pageSize:"defaultPageSize"in jt?jt.defaultPageSize:Oe}}),nr=h()(Zt,2),Or=nr[0],wr=nr[1],Er=Ue(Or,jt,{total:it>0?it:rr});if(!it){var Kr=Math.ceil(rr/Er.pageSize);Kr<Er.current&&(Er.current=1)}var Zr=function(){var xt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,Vt=arguments.length>1?arguments[1]:void 0;wr(i()(i()({},Er),{current:xt,pageSize:Vt||Er.pageSize}))},Jr=function(xt,Vt){var sr=Er==null?void 0:Er.pageSize;Vt&&Vt!==sr&&(xt=1,Tr&&Tr.onShowSizeChange&&Tr.onShowSizeChange(xt,Vt)),Tr&&Tr.onChange&&Tr.onChange(xt,Vt),Zr(xt,Vt),Pr(xt,Vt||sr)};return Tr===!1?[{},function(){}]:[i()(i()({},Er),{onChange:Jr}),Zr]}function At(rr,Tr,Pr){var Wr=a.useRef({});function hn(it){if(!Wr.current||Wr.current.data!==rr||Wr.current.childrenColumnName!==Tr||Wr.current.getRowKey!==Pr){var jt=function nr(Or){Or.forEach(function(wr,Er){var Kr=Pr(wr,Er);Zt.set(Kr,wr),wr&&f()(wr)==="object"&&Tr in wr&&nr(wr[Tr]||[])})},Zt=new Map;jt(rr),Wr.current={data:rr,childrenColumnName:Tr,kvMap:Zt,getRowKey:Pr}}return Wr.current.kvMap.get(it)}return[hn]}var Wt=e("SA+Z"),$t=e.n(Wt),Rt=e("RIqP"),zt=e.n(Rt),Gt=e("HQEm"),Qt=e.n(Gt),Mt=e("815F"),dr=e("NvD2"),er=e("OZM5"),ht=e("6cGi"),Et=e("kaz8"),pt=e("jsC+"),vt=e("BvKs"),Nt=e("9yH6"),_t=e("uaoM"),gt="SELECT_ALL",Ht="SELECT_INVERT";function kt(rr){return rr&&rr.fixed}function ir(rr,Tr){var Pr=[];return(rr||[]).forEach(function(Wr){Pr.push(Wr),Wr&&f()(Wr)==="object"&&Tr in Wr&&(Pr=[].concat(zt()(Pr),zt()(ir(Wr[Tr],Tr))))}),Pr}function Xt(rr,Tr){var Pr=rr||{},Wr=Pr.preserveSelectedRowKeys,hn=Pr.selectedRowKeys,it=Pr.getCheckboxProps,jt=Pr.onChange,Zt=Pr.onSelect,nr=Pr.onSelectAll,Or=Pr.onSelectInvert,wr=Pr.onSelectMultiple,Er=Pr.columnWidth,Kr=Pr.type,Zr=Pr.selections,Jr=Pr.fixed,an=Pr.renderCell,xt=Pr.hideSelectAll,Vt=Pr.checkStrictly,sr=Vt===void 0?!0:Vt,br=Tr.prefixCls,Mr=Tr.data,Dr=Tr.pageData,rn=Tr.getRecordByKey,fn=Tr.getRowKey,wn=Tr.expandType,Hn=Tr.childrenColumnName,Sn=Tr.locale,bn=Tr.expandIconColumnIndex,Mn=Tr.getPopupContainer,vn=a.useRef(new Map),Rn=Object(ht.a)(hn||[],{value:hn}),En=h()(Rn,2),Ln=En[0],Xn=En[1],ai=Object(a.useMemo)(function(){return sr?{keyEntities:null}:Object(Mt.a)(Mr,void 0,fn)},[Mr,fn,sr]),ri=ai.keyEntities,Di=Object(a.useMemo)(function(){return ir(Dr,Hn)},[Dr,Hn]),yi=Object(a.useMemo)(function(){var Ni=new Map;return Di.forEach(function($n,Ai){var Li=fn($n,Ai),Vi=(it?it($n):null)||{};Ni.set(Li,Vi)}),Ni},[Di,fn,it]),xi=Object(a.useCallback)(function(Ni){var $n;return!!(($n=yi.get(fn(Ni)))===null||$n===void 0?void 0:$n.disabled)},[yi,fn]),_i=Object(a.useMemo)(function(){if(sr)return[Ln,[]];var Ni=Object(dr.a)(Ln,!0,ri,xi),$n=Ni.checkedKeys,Ai=Ni.halfCheckedKeys;return[$n,Ai]},[Ln,sr,ri,xi]),Un=h()(_i,2),Ri=Un[0],fa=Un[1],Ui=Object(a.useMemo)(function(){var Ni=Kr==="radio"?Ri.slice(0,1):Ri;return new Set(Ni)},[Ri,Kr]),Mi=Object(a.useMemo)(function(){return Kr==="radio"?new Set:new Set(fa)},[fa,Kr]),mi=Object(a.useState)(null),hi=h()(mi,2),qi=hi[0],va=hi[1];a.useEffect(function(){rr||Xn([])},[!!rr]);var Ea=Object(a.useCallback)(function(Ni){var $n,Ai;if(Wr){var Li=new Map;$n=Ni,Ai=Ni.map(function(Vi){var Xi=rn(Vi);return!Xi&&vn.current.has(Vi)&&(Xi=vn.current.get(Vi)),Li.set(Vi,Xi),Xi}),vn.current=Li}else $n=[],Ai=[],Ni.forEach(function(Vi){var Xi=rn(Vi);Xi!==void 0&&($n.push(Vi),Ai.push(Xi))});Xn($n),jt&&jt($n,Ai)},[Xn,rn,jt,Wr]),ya=Object(a.useCallback)(function(Ni,$n,Ai,Li){if(Zt){var Vi=Ai.map(function(Xi){return rn(Xi)});Zt(rn(Ni),$n,Vi,Li)}Ea(Ai)},[Zt,rn,Ea]),oa=Object(a.useMemo)(function(){if(!Zr||xt)return null;var Ni=Zr===!0?[gt,Ht]:Zr;return Ni.map(function($n){return $n===gt?{key:"all",text:Sn.selectionAll,onSelect:function(){Ea(Mr.map(function(Li,Vi){return fn(Li,Vi)}))}}:$n===Ht?{key:"invert",text:Sn.selectInvert,onSelect:function(){var Li=new Set(Ui);Dr.forEach(function(Xi,bi){var Aa=fn(Xi,bi);Li.has(Aa)?Li.delete(Aa):Li.add(Aa)});var Vi=Array.from(Li);Ea(Vi),Or&&(Object(_t.a)(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),Or(Vi))}}:$n})},[Zr,Ui,Dr,fn,Or,Ea]),sa=Object(a.useCallback)(function(Ni){if(!rr)return Ni;var $n=new Set(Ui),Ai=Di.map(fn).filter(function(Ki){return!yi.get(Ki).disabled}),Li=Ai.every(function(Ki){return $n.has(Ki)}),Vi=Ai.some(function(Ki){return $n.has(Ki)}),Xi=function(){var ba=[];Li?Ai.forEach(function(wa){$n.delete(wa),ba.push(wa)}):Ai.forEach(function(wa){$n.has(wa)||($n.add(wa),ba.push(wa))});var Ua=Array.from($n);Ea(Ua),nr&&nr(!Li,Ua.map(function(wa){return rn(wa)}),ba.map(function(wa){return rn(wa)}))},bi;if(Kr!=="radio"){var Aa;if(oa){var ua=a.createElement(vt.a,{getPopupContainer:Mn},oa.map(function(Ki,ba){var Ua=Ki.key,wa=Ki.text,vi=Ki.onSelect;return a.createElement(vt.a.Item,{key:Ua||ba,onClick:function(){vi&&vi(Ai)}},wa)}));Aa=a.createElement("div",{className:"".concat(br,"-selection-extra")},a.createElement(pt.a,{overlay:ua,getPopupContainer:Mn},a.createElement("span",null,a.createElement(Qt.a,null))))}var la=Di.every(function(Ki,ba){var Ua=fn(Ki,ba),wa=yi.get(Ua)||{};return wa.disabled});bi=!xt&&a.createElement("div",{className:"".concat(br,"-selection")},a.createElement(Et.a,{checked:!la&&!!Di.length&&Li,indeterminate:!Li&&Vi,onChange:Xi,disabled:Di.length===0||la}),Aa)}var gi;Kr==="radio"?gi=function(ba,Ua,wa){var vi=fn(Ua,wa),Ya=$n.has(vi);return{node:a.createElement(Nt.a,i()({},yi.get(vi),{checked:Ya,onClick:function(pa){return pa.stopPropagation()},onChange:function(pa){$n.has(vi)||ya(vi,!0,[vi],pa.nativeEvent)}})),checked:Ya}}:gi=function(ba,Ua,wa){var vi,Ya=fn(Ua,wa),za=$n.has(Ya),pa=Mi.has(Ya),Oi=yi.get(Ya),So;return wn==="nest"?(So=pa,Object(_t.a)(!(typeof(Oi==null?void 0:Oi.indeterminate)=="boolean"),"Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):So=(vi=Oi==null?void 0:Oi.indeterminate)!==null&&vi!==void 0?vi:pa,{node:a.createElement(Et.a,i()({},Oi,{indeterminate:So,checked:za,onClick:function(ja){return ja.stopPropagation()},onChange:function(ja){var qa=ja.nativeEvent,ho=qa.shiftKey,Ca=-1,to=-1;if(ho&&sr){var _o=new Set([qi,Ya]);Ai.some(function(Fi,Ra){if(_o.has(Fi))if(Ca===-1)Ca=Ra;else return to=Ra,!0;return!1})}if(to!==-1&&Ca!==to&&sr){var La=Ai.slice(Ca,to+1),ki=[];za?La.forEach(function(Fi){$n.has(Fi)&&(ki.push(Fi),$n.delete(Fi))}):La.forEach(function(Fi){$n.has(Fi)||(ki.push(Fi),$n.add(Fi))});var Za=Array.from($n);Ea(Za),wr&&wr(!za,Za.map(function(Fi){return rn(Fi)}),ki.map(function(Fi){return rn(Fi)}))}else{var Da=Ri;if(sr){var pi=za?Object(er.b)(Da,Ya):Object(er.a)(Da,Ya);ya(Ya,!za,pi,qa)}else{var Gi=Object(dr.a)([].concat(zt()(Da),[Ya]),!0,ri,xi),oo=Gi.checkedKeys,go=Gi.halfCheckedKeys,fo=oo;if(za){var Ta=new Set(oo);Ta.delete(Ya),fo=Object(dr.a)(Array.from(Ta),{checked:!1,halfCheckedKeys:go},ri,xi).checkedKeys}ya(Ya,!za,fo,qa)}}va(Ya)}})),checked:za}};var Pa=function(ba,Ua,wa){var vi=gi(ba,Ua,wa),Ya=vi.node,za=vi.checked;return an?an(za,Ua,wa,Ya):Ya},Ma=m()({width:Er,className:"".concat(br,"-selection-column"),title:rr.columnTitle||bi,render:Pa},Pe,{className:"".concat(br,"-selection-col")});if(wn==="row"&&Ni.length&&!bn){var ra=$t()(Ni),Yi=ra[0],Xa=ra.slice(1),zi=Jr||kt(Xa[0]);return zi&&(Yi.fixed=zi),[Yi,i()(i()({},Ma),{fixed:zi})].concat(zt()(Xa))}return[i()(i()({},Ma),{fixed:Jr||kt(Ni[0])})].concat(zt()(Ni))},[fn,Di,rr,Ri,Ui,Mi,Er,oa,wn,qi,yi,wr,ya,xi]);return[sa,Ui]}var mr=e("6SEX"),Ar=e.n(mr),Nr=e("i8CU"),kr=e.n(Nr),tn=e("3S7+");function qr(rr,Tr){return"key"in rr&&rr.key!==void 0&&rr.key!==null?rr.key:rr.dataIndex?Array.isArray(rr.dataIndex)?rr.dataIndex.join("."):rr.dataIndex:Tr}function _r(rr,Tr){return Tr?"".concat(Tr,"-").concat(rr):"".concat(rr)}function Qr(rr,Tr){return typeof rr=="function"?rr(Tr):rr}var Ir="ascend",cr="descend";function pr(rr){return f()(rr.sorter)==="object"&&typeof rr.sorter.multiple=="number"?rr.sorter.multiple:!1}function ur(rr){return typeof rr=="function"?rr:rr&&f()(rr)==="object"&&rr.compare?rr.compare:!1}function fr(rr,Tr){return Tr?rr[rr.indexOf(Tr)+1]:rr[0]}function xr(rr,Tr,Pr){var Wr=[];function hn(it,jt){Wr.push({column:it,key:qr(it,jt),multiplePriority:pr(it),sortOrder:it.sortOrder})}return(rr||[]).forEach(function(it,jt){var Zt=_r(jt,Pr);it.children?("sortOrder"in it&&hn(it,Zt),Wr=[].concat(zt()(Wr),zt()(xr(it.children,Tr,Zt)))):it.sorter&&("sortOrder"in it?hn(it,Zt):Tr&&it.defaultSortOrder&&Wr.push({column:it,key:qr(it,Zt),multiplePriority:pr(it),sortOrder:it.defaultSortOrder}))}),Wr}function Yr(rr,Tr,Pr,Wr,hn,it,jt,Zt){return(Tr||[]).map(function(nr,Or){var wr=_r(Or,Zt),Er=nr;if(Er.sorter){var Kr=Er.sortDirections||hn,Zr=Er.showSorterTooltip===void 0?jt:Er.showSorterTooltip,Jr=qr(Er,wr),an=Pr.find(function(Hn){var Sn=Hn.key;return Sn===Jr}),xt=an?an.sortOrder:null,Vt=fr(Kr,xt),sr=Kr.includes(Ir)&&a.createElement(kr.a,{className:o()("".concat(rr,"-column-sorter-up"),{active:xt===Ir})}),br=Kr.includes(cr)&&a.createElement(Ar.a,{className:o()("".concat(rr,"-column-sorter-down"),{active:xt===cr})}),Mr=it||{},Dr=Mr.cancelSort,rn=Mr.triggerAsc,fn=Mr.triggerDesc,wn=Dr;Vt===cr?wn=fn:Vt===Ir&&(wn=rn),Er=i()(i()({},Er),{className:o()(Er.className,m()({},"".concat(rr,"-column-sort"),xt)),title:function(Sn){var bn=a.createElement("div",{className:"".concat(rr,"-column-sorters")},a.createElement("span",null,Qr(nr.title,Sn)),a.createElement("span",{className:o()("".concat(rr,"-column-sorter"),m()({},"".concat(rr,"-column-sorter-full"),sr&&br))},a.createElement("span",{className:"".concat(rr,"-column-sorter-inner")},sr,br)));return Zr?a.createElement(tn.a,{title:wn},a.createElement("div",{className:"".concat(rr,"-column-sorters-with-tooltip")},bn)):bn},onHeaderCell:function(Sn){var bn=nr.onHeaderCell&&nr.onHeaderCell(Sn)||{},Mn=bn.onClick;return bn.onClick=function(vn){Wr({column:nr,key:Jr,sortOrder:Vt,multiplePriority:pr(nr)}),Mn&&Mn(vn)},bn.className=o()(bn.className,"".concat(rr,"-column-has-sorters")),bn}})}return"children"in Er&&(Er=i()(i()({},Er),{children:Yr(rr,Er.children,Pr,Wr,hn,it,jt,wr)})),Er})}function cn(rr){var Tr=rr.column,Pr=rr.sortOrder;return{column:Tr,order:Pr,field:Tr.dataIndex,columnKey:Tr.key}}function Nn(rr){var Tr=rr.filter(function(Pr){var Wr=Pr.sortOrder;return Wr}).map(cn);return Tr.length===0&&rr.length?i()(i()({},cn(rr[rr.length-1])),{column:void 0}):Tr.length<=1?Tr[0]||{}:Tr}function jr(rr,Tr,Pr){var Wr=Tr.slice().sort(function(jt,Zt){return Zt.multiplePriority-jt.multiplePriority}),hn=rr.slice(),it=Wr.filter(function(jt){var Zt=jt.column.sorter,nr=jt.sortOrder;return ur(Zt)&&nr});return it.length?hn.sort(function(jt,Zt){for(var nr=0;nr<it.length;nr+=1){var Or=it[nr],wr=Or.column.sorter,Er=Or.sortOrder,Kr=ur(wr);if(Kr&&Er){var Zr=Kr(jt,Zt,Er);if(Zr!==0)return Er===Ir?Zr:-Zr}}return 0}).map(function(jt){var Zt=jt[Pr];return Zt?i()(i()({},jt),m()({},Pr,jr(Zt,Tr,Pr))):jt}):hn}function Tn(rr){var Tr=rr.prefixCls,Pr=rr.mergedColumns,Wr=rr.onSorterChange,hn=rr.sortDirections,it=rr.tableLocale,jt=rr.showSorterTooltip,Zt=a.useState(xr(Pr,!0)),nr=h()(Zt,2),Or=nr[0],wr=nr[1],Er=a.useMemo(function(){var xt=!0,Vt=xr(Pr,!1);if(!Vt.length)return Or;var sr=[];function br(Dr){xt?sr.push(Dr):sr.push(i()(i()({},Dr),{sortOrder:null}))}var Mr=null;return Vt.forEach(function(Dr){Mr===null?(br(Dr),Dr.sortOrder&&(Dr.multiplePriority===!1?xt=!1:Mr=!0)):(Mr&&Dr.multiplePriority!==!1||(xt=!1),br(Dr))}),sr},[Pr,Or]),Kr=a.useMemo(function(){var xt=Er.map(function(Vt){var sr=Vt.column,br=Vt.sortOrder;return{column:sr,order:br}});return{sortColumns:xt,sortColumn:xt[0]&&xt[0].column,sortOrder:xt[0]&&xt[0].order}},[Er]);function Zr(xt){var Vt;xt.multiplePriority===!1||!Er.length||Er[0].multiplePriority===!1?Vt=[xt]:Vt=[].concat(zt()(Er.filter(function(sr){var br=sr.key;return br!==xt.key})),[xt]),wr(Vt),Wr(Nn(Vt),Vt)}var Jr=function(Vt){return Yr(Tr,Vt,Er,Zr,hn,it,jt)},an=function(){return Nn(Er)};return[Jr,Er,Kr,an]}var gn=e("Y+p1"),Pn=e.n(gn),Kn=e("5Uyt"),qn=e.n(Kn),Yn=e("2/Rp"),Vn=e("ECub"),An=function(Tr){return a.createElement("div",{className:Tr.className,onClick:function(Wr){return Wr.stopPropagation()}},Tr.children)},on=An,ia=e("sPtV"),xa=vt.a.SubMenu,ta=vt.a.Item;function Ii(rr){return rr.some(function(Tr){var Pr=Tr.children;return Pr})}function Ci(rr){var Tr=rr.filters,Pr=rr.prefixCls,Wr=rr.filteredKeys,hn=rr.filterMultiple,it=rr.locale;return Tr.length===0?a.createElement(a.Fragment,null,a.createElement(Vn.a,{image:Vn.a.PRESENTED_IMAGE_SIMPLE,description:it.filterEmptyText,style:{margin:"16px 0"},imageStyle:{height:24}})):Tr.map(function(jt,Zt){var nr=String(jt.value);if(jt.children)return a.createElement(xa,{key:nr||Zt,title:jt.text,popupClassName:"".concat(Pr,"-dropdown-submenu")},Ci({filters:jt.children,prefixCls:Pr,filteredKeys:Wr,filterMultiple:hn,locale:it}));var Or=hn?Et.a:Nt.a;return a.createElement(ta,{key:jt.value!==void 0?nr:Zt},a.createElement(Or,{checked:Wr.includes(nr)}),a.createElement("span",null,jt.text))})}function Gn(rr){var Tr,Pr=rr.prefixCls,Wr=rr.column,hn=rr.dropdownPrefixCls,it=rr.columnKey,jt=rr.filterMultiple,Zt=rr.filterState,nr=rr.triggerFilter,Or=rr.locale,wr=rr.children,Er=rr.getPopupContainer,Kr=Wr.filterDropdownVisible,Zr=Wr.onFilterDropdownVisibleChange,Jr=a.useState(!1),an=h()(Jr,2),xt=an[0],Vt=an[1],sr=!!(Zt&&(((Tr=Zt.filteredKeys)===null||Tr===void 0?void 0:Tr.length)||Zt.forceFiltered)),br=function(hi){Vt(hi),Zr&&Zr(hi)},Mr=typeof Kr=="boolean"?Kr:xt,Dr=Zt&&Zt.filteredKeys,rn=Object(ia.a)(Dr||[]),fn=h()(rn,2),wn=fn[0],Hn=fn[1],Sn=function(hi){var qi=hi.selectedKeys;Hn(qi)};a.useEffect(function(){Sn({selectedKeys:Dr||[]})},[Dr]);var bn=a.useState([]),Mn=h()(bn,2),vn=Mn[0],Rn=Mn[1],En=a.useRef(),Ln=function(hi){En.current=window.setTimeout(function(){Rn(hi)})},Xn=function(){window.clearTimeout(En.current)};a.useEffect(function(){return function(){window.clearTimeout(En.current)}},[]);var ai=function(hi){br(!1);var qi=hi&&hi.length?hi:null;if(qi===null&&(!Zt||!Zt.filteredKeys))return null;if(Pn()(qi,Zt==null?void 0:Zt.filteredKeys))return null;nr({column:Wr,key:it,filteredKeys:qi})},ri=function(){ai(wn())},Di=function(){Hn([]),ai([])},yi=function(hi){hi&&Dr!==void 0&&Hn(Dr||[]),br(hi),!hi&&!Wr.filterDropdown&&ri()},xi=o()(m()({},"".concat(hn,"-menu-without-submenu"),!Ii(Wr.filters||[]))),_i;if(typeof Wr.filterDropdown=="function")_i=Wr.filterDropdown({prefixCls:"".concat(hn,"-custom"),setSelectedKeys:function(hi){return Sn({selectedKeys:hi})},selectedKeys:wn(),confirm:ri,clearFilters:Di,filters:Wr.filters,visible:Mr});else if(Wr.filterDropdown)_i=Wr.filterDropdown;else{var Un=wn()||[];_i=a.createElement(a.Fragment,null,a.createElement(vt.a,{multiple:jt,prefixCls:"".concat(hn,"-menu"),className:xi,onClick:Xn,onSelect:Sn,onDeselect:Sn,selectedKeys:Un,getPopupContainer:Er,openKeys:vn,onOpenChange:Ln},Ci({filters:Wr.filters||[],prefixCls:Pr,filteredKeys:wn(),filterMultiple:jt,locale:Or})),a.createElement("div",{className:"".concat(Pr,"-dropdown-btns")},a.createElement(Yn.a,{type:"link",size:"small",disabled:Un.length===0,onClick:Di},Or.filterReset),a.createElement(Yn.a,{type:"primary",size:"small",onClick:ri},Or.filterConfirm)))}var Ri=a.createElement(on,{className:"".concat(Pr,"-dropdown")},_i),fa;typeof Wr.filterIcon=="function"?fa=Wr.filterIcon(sr):Wr.filterIcon?fa=Wr.filterIcon:fa=a.createElement(qn.a,null);var Ui=a.useContext($.b),Mi=Ui.direction;return a.createElement("div",{className:o()("".concat(Pr,"-column"))},a.createElement("span",{className:"".concat(Pr,"-column-title")},wr),a.createElement("span",{className:o()("".concat(Pr,"-trigger-container"),m()({},"".concat(Pr,"-trigger-container-open"),Mr)),onClick:function(hi){hi.stopPropagation()}},a.createElement(pt.a,{overlay:Ri,trigger:["click"],visible:Mr,onVisibleChange:yi,getPopupContainer:Er,placement:Mi==="rtl"?"bottomLeft":"bottomRight"},a.createElement("span",{role:"button",tabIndex:-1,className:o()("".concat(Pr,"-trigger"),{active:sr})},fa))))}var Oa=Gn;function mn(rr,Tr,Pr){var Wr=[];return(rr||[]).forEach(function(hn,it){var jt=_r(it,Pr);"children"in hn?Wr=[].concat(zt()(Wr),zt()(mn(hn.children,Tr,jt))):(hn.filters||"filterDropdown"in hn||"onFilter"in hn)&&("filteredValue"in hn?Wr.push({column:hn,key:qr(hn,jt),filteredKeys:hn.filteredValue,forceFiltered:hn.filtered}):Wr.push({column:hn,key:qr(hn,jt),filteredKeys:Tr&&hn.defaultFilteredValue?hn.defaultFilteredValue:void 0,forceFiltered:hn.filtered}))}),Wr}function On(rr,Tr,Pr,Wr,hn,it,jt,Zt){return Pr.map(function(nr,Or){var wr=_r(Or,Zt),Er=nr.filterMultiple,Kr=Er===void 0?!0:Er;if(nr.filters||"filterDropdown"in nr){var Zr=qr(nr,wr),Jr=Wr.find(function(an){var xt=an.key;return Zr===xt});return i()(i()({},nr),{title:function(xt){return a.createElement(Oa,{prefixCls:"".concat(rr,"-filter"),dropdownPrefixCls:Tr,column:nr,columnKey:Zr,filterState:Jr,filterMultiple:Kr,triggerFilter:hn,locale:jt,getPopupContainer:it},Qr(nr.title,xt))}})}return"children"in nr?i()(i()({},nr),{children:On(rr,Tr,nr.children,Wr,hn,it,jt,wr)}):nr})}function _n(rr){var Tr={};return rr.forEach(function(Pr){var Wr=Pr.key,hn=Pr.filteredKeys;Tr[Wr]=hn||null}),Tr}function In(rr){var Tr=[];return(rr||[]).forEach(function(Pr){var Wr=Pr.value,hn=Pr.children;Tr.push(Wr),hn&&(Tr=[].concat(zt()(Tr),zt()(In(hn))))}),Tr}function jn(rr,Tr){return Tr.reduce(function(Pr,Wr){var hn=Wr.column,it=hn.onFilter,jt=hn.filters,Zt=Wr.filteredKeys;return it&&Zt&&Zt.length?Pr.filter(function(nr){return Zt.some(function(Or){var wr=In(jt),Er=wr.findIndex(function(Zr){return String(Zr)===String(Or)}),Kr=Er!==-1?wr[Er]:Or;return it(Kr,nr)})}):Pr},rr)}function ni(rr){var Tr=rr.prefixCls,Pr=rr.dropdownPrefixCls,Wr=rr.mergedColumns,hn=rr.onFilterChange,it=rr.getPopupContainer,jt=rr.locale,Zt=a.useState(mn(Wr,!0)),nr=h()(Zt,2),Or=nr[0],wr=nr[1],Er=a.useMemo(function(){var an=mn(Wr,!1);return an.every(function(xt){var Vt=xt.filteredKeys;return Vt===void 0})?Or:an},[Wr,Or]),Kr=a.useCallback(function(){return _n(Er)},[Er]),Zr=function(xt){var Vt=Er.filter(function(sr){var br=sr.key;return br!==xt.key});Vt.push(xt),wr(Vt),hn(_n(Vt),Vt)},Jr=function(xt){return On(Tr,Pr,xt,Er,Zr,it,jt)};return[Jr,Er,Kr]}var di=ni;function Na(rr,Tr){return rr.map(function(Pr){var Wr=i()({},Pr);return Wr.title=Qr(Pr.title,Tr),"children"in Wr&&(Wr.children=Na(Wr.children,Tr)),Wr})}function Qi(rr){var Tr=a.useCallback(function(Pr){return Na(Pr,rr)},[rr]);return[Tr]}function ma(rr){return function(Pr){var Wr,hn=Pr.prefixCls,it=Pr.onExpand,jt=Pr.record,Zt=Pr.expanded,nr=Pr.expandable,Or="".concat(hn,"-row-expand-icon");return a.createElement("button",{type:"button",onClick:function(Er){it(jt,Er),Er.stopPropagation()},className:o()(Or,(Wr={},m()(Wr,"".concat(Or,"-spaced"),!nr),m()(Wr,"".concat(Or,"-expanded"),nr&&Zt),m()(Wr,"".concat(Or,"-collapsed"),nr&&!Zt),Wr)),"aria-label":Zt?rr.collapse:rr.expand})}}var Ba=ma,Qa=e("zAh6"),Wi=e("ZvpZ"),Co=Wi.a,aa=e("3Nzz");function Hi(rr){return null}var ga=Hi;function ha(rr){return null}var mo=ha,Fn=e("5OYt"),$i=[];function eo(rr){var Tr,Pr=rr.prefixCls,Wr=rr.className,hn=rr.style,it=rr.size,jt=rr.bordered,Zt=rr.dropdownPrefixCls,nr=rr.dataSource,Or=rr.pagination,wr=rr.rowSelection,Er=rr.rowKey,Kr=rr.rowClassName,Zr=rr.columns,Jr=rr.children,an=rr.childrenColumnName,xt=rr.onChange,Vt=rr.getPopupContainer,sr=rr.loading,br=rr.expandIcon,Mr=rr.expandable,Dr=rr.expandedRowRender,rn=rr.expandIconColumnIndex,fn=rr.indentSize,wn=rr.scroll,Hn=rr.sortDirections,Sn=rr.locale,bn=rr.showSorterTooltip,Mn=bn===void 0?!0:bn;Object(_t.a)(!(typeof Er=="function"&&Er.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.");var vn=Object(Fn.a)(),Rn=a.useMemo(function(){var Ta=new Set(Object.keys(vn).filter(function(Fi){return vn[Fi]}));return(Zr||Me(Jr)).filter(function(Fi){return!Fi.responsive||Fi.responsive.some(function(Ra){return Ta.has(Ra)})})},[Jr,Zr,vn]),En=Object(d.default)(rr,["className","style","columns"]),Ln=a.useContext(aa.b),Xn=a.useContext($.b),ai=Xn.locale,ri=ai===void 0?Co:ai,Di=Xn.renderEmpty,yi=Xn.direction,xi=it||Ln,_i=i()(i()({},ri.Table),Sn),Un=nr||$i,Ri=a.useContext($.b),fa=Ri.getPrefixCls,Ui=fa("table",Pr),Mi=fa("dropdown",Zt),mi=i()({childrenColumnName:an,expandIconColumnIndex:rn},Mr),hi=mi.childrenColumnName,qi=hi===void 0?"children":hi,va=a.useMemo(function(){return Un.some(function(Ta){var Fi;return(Fi=Ta)===null||Fi===void 0?void 0:Fi[qi]})?"nest":Dr||Mr&&Mr.expandedRowRender?"row":null},[Un]),Ea={body:a.useRef()},ya=a.useMemo(function(){return typeof Er=="function"?Er:function(Ta){var Fi;return(Fi=Ta)===null||Fi===void 0?void 0:Fi[Er]}},[Er]),oa=At(Un,qi,ya),sa=h()(oa,1),Ni=sa[0],$n={},Ai=function(Fi,Ra){var Vo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ro=i()(i()({},$n),Fi);Vo&&($n.resetPagination(),ro.pagination.current&&(ro.pagination.current=1),Or&&Or.onChange&&Or.onChange(1,ro.pagination.pageSize)),wn&&wn.scrollToFirstRowOnChange!==!1&&Ea.body.current&&Object(Qa.a)(0,{getContainer:function(){return Ea.body.current}}),xt&&xt(ro.pagination,ro.filters,ro.sorter,{currentDataSource:jn(jr(Un,ro.sorterStates,qi),ro.filterStates),action:Ra})},Li=function(Fi,Ra){Ai({sorter:Fi,sorterStates:Ra},"sort",!1)},Vi=Tn({prefixCls:Ui,mergedColumns:Rn,onSorterChange:Li,sortDirections:Hn||["ascend","descend"],tableLocale:_i,showSorterTooltip:Mn}),Xi=h()(Vi,4),bi=Xi[0],Aa=Xi[1],ua=Xi[2],la=Xi[3],gi=a.useMemo(function(){return jr(Un,Aa,qi)},[Un,Aa]);$n.sorter=la(),$n.sorterStates=Aa;var Pa=function(Fi,Ra){Ai({filters:Fi,filterStates:Ra},"filter",!0)},Ma=di({prefixCls:Ui,locale:_i,dropdownPrefixCls:Mi,mergedColumns:Rn,onFilterChange:Pa,getPopupContainer:Vt}),ra=h()(Ma,3),Yi=ra[0],Xa=ra[1],zi=ra[2],Ki=jn(gi,Xa);$n.filters=zi(),$n.filterStates=Xa;var ba=a.useMemo(function(){return i()({},ua)},[ua]),Ua=Qi(ba),wa=h()(Ua,1),vi=wa[0],Ya=function(Fi,Ra){Ai({pagination:i()(i()({},$n.pagination),{current:Fi,pageSize:Ra})},"paginate")},za=nt(Ki.length,Or,Ya),pa=h()(za,2),Oi=pa[0],So=pa[1];$n.pagination=Or===!1?{}:ke(Or,Oi),$n.resetPagination=So;var Ka=a.useMemo(function(){if(Or===!1||!Oi.pageSize)return Ki;var Ta=Oi.current,Fi=Ta===void 0?1:Ta,Ra=Oi.total,Vo=Oi.pageSize,ro=Vo===void 0?Oe:Vo;return Ki.length<Ra?Ki.length>ro?(Object(_t.a)(!1,"Table","`dataSource` length is less than `pagination.total` but large than `pagination.pageSize`. Please make sure your config correct data with async mode."),Ki.slice((Fi-1)*ro,Fi*ro)):Ki:Ki.slice((Fi-1)*ro,Fi*ro)},[!!Or,Ki,Oi&&Oi.current,Oi&&Oi.pageSize,Oi&&Oi.total]),ja=Xt(wr,{prefixCls:Ui,data:Ki,pageData:Ka,getRowKey:ya,getRecordByKey:Ni,expandType:va,childrenColumnName:qi,locale:_i,expandIconColumnIndex:mi.expandIconColumnIndex,getPopupContainer:Vt}),qa=h()(ja,2),ho=qa[0],Ca=qa[1],to=function(Fi,Ra,Vo){var ro;return typeof Kr=="function"?ro=o()(Kr(Fi,Ra,Vo)):ro=o()(Kr),o()(m()({},"".concat(Ui,"-row-selected"),Ca.has(ya(Fi,Ra))),ro)};mi.__PARENT_RENDER_ICON__=mi.expandIcon,mi.expandIcon=mi.expandIcon||br||Ba(_i),va==="nest"&&mi.expandIconColumnIndex===void 0?mi.expandIconColumnIndex=wr?1:0:mi.expandIconColumnIndex>0&&wr&&(mi.expandIconColumnIndex-=1),typeof mi.indentSize!="number"&&(mi.indentSize=typeof fn=="number"?fn:15);var _o=a.useCallback(function(Ta){return vi(ho(Yi(bi(Ta))))},[bi,Yi,ho]),La,ki;if(Or!==!1){var Za;Oi.size?Za=Oi.size:Za=xi==="small"||xi==="middle"?"small":void 0;var Da=function(Fi){return a.createElement(xe.a,i()({className:"".concat(Ui,"-pagination ").concat(Ui,"-pagination-").concat(Fi)},Oi,{size:Za}))},pi=yi==="rtl"?"left":"right";if(Oi.position!==null&&Array.isArray(Oi.position)){var Gi=Oi.position.find(function(Ta){return Ta.indexOf("top")!==-1}),oo=Oi.position.find(function(Ta){return Ta.indexOf("bottom")!==-1});!Gi&&!oo?ki=Da(pi):(Gi&&(La=Da(Gi.toLowerCase().replace("top",""))),oo&&(ki=Da(oo.toLowerCase().replace("bottom",""))))}else ki=Da(pi)}var go;typeof sr=="boolean"?go={spinning:sr}:f()(sr)==="object"&&(go=i()({spinning:!0},sr));var fo=o()("".concat(Ui,"-wrapper"),Wr,m()({},"".concat(Ui,"-wrapper-rtl"),yi==="rtl"));return a.createElement("div",{className:fo,style:hn},a.createElement(de.a,i()({spinning:!1},go),La,a.createElement(It,i()({},En,{columns:Rn,direction:yi,expandable:mi,prefixCls:Ui,className:o()((Tr={},m()(Tr,"".concat(Ui,"-middle"),xi==="middle"),m()(Tr,"".concat(Ui,"-small"),xi==="small"),m()(Tr,"".concat(Ui,"-bordered"),jt),m()(Tr,"".concat(Ui,"-empty"),Un.length===0),Tr)),data:Ka,rowKey:ya,rowClassName:to,emptyText:Sn&&Sn.emptyText||Di("Table"),internalHooks:qe,internalRefs:Ea,transformColumns:_o})),Ki&&Ki.length>0&&ki))}eo.defaultProps={rowKey:"key"},eo.SELECTION_ALL=gt,eo.SELECTION_INVERT=Ht,eo.Column=ga,eo.ColumnGroup=mo,eo.Summary=Lt;var To=eo,co=I.a=To},wDdD:function(R,I,e){var g=e("ProS"),f=e("bYtY");e("98bh"),e("GrNh");var b=e("d4KN"),m=e("mOdp"),y=e("KS52"),h=e("0/Rx");b("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),g.registerVisual(m("pie")),g.registerLayout(f.curry(y,"pie")),g.registerProcessor(h("pie"))},"wF/u":function(R,I,e){var g=e("e5cp"),f=e("ExA7");function b(m,y,h,u,i){return m===y?!0:m==null||y==null||!f(m)&&!f(y)?m!==m&&y!==y:g(m,y,h,u,b,i)}R.exports=b},wJg7:function(R,I){var e=9007199254740991,g=/^(?:0|[1-9]\d*)$/;function f(b,m){var y=typeof b;return m=m==null?e:m,!!m&&(y=="number"||y!="symbol"&&g.test(b))&&(b>-1&&b%1==0)&&b<m}R.exports=f},wOnQ:function(R,I,e){/*!
* html2canvas 1.0.0-rc.7 <https://html2canvas.hertzen.com>
* Copyright (c) 2020 Niklas von Hertzen <https://hertzen.com>
* Released under MIT License
*/(function(g,f){R.exports=f()})(this,function(){"use strict";/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */var g=function(ie,He){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tt,Ot){tt.__proto__=Ot}||function(tt,Ot){for(var tr in Ot)Ot.hasOwnProperty(tr)&&(tt[tr]=Ot[tr])},g(ie,He)};function f($e,ie){g($e,ie);function He(){this.constructor=$e}$e.prototype=ie===null?Object.create(ie):(He.prototype=ie.prototype,new He)}var b=function(){return b=Object.assign||function(He){for(var tt,Ot=1,tr=arguments.length;Ot<tr;Ot++){tt=arguments[Ot];for(var vr in tt)Object.prototype.hasOwnProperty.call(tt,vr)&&(He[vr]=tt[vr])}return He},b.apply(this,arguments)};function m($e,ie,He,tt){return new(He||(He=Promise))(function(Ot,tr){function vr(zr){try{Hr(tt.next(zr))}catch(un){tr(un)}}function Lr(zr){try{Hr(tt.throw(zr))}catch(un){tr(un)}}function Hr(zr){zr.done?Ot(zr.value):new He(function(un){un(zr.value)}).then(vr,Lr)}Hr((tt=tt.apply($e,ie||[])).next())})}function y($e,ie){var He={label:0,sent:function(){if(tr[0]&1)throw tr[1];return tr[1]},trys:[],ops:[]},tt,Ot,tr,vr;return vr={next:Lr(0),throw:Lr(1),return:Lr(2)},typeof Symbol=="function"&&(vr[Symbol.iterator]=function(){return this}),vr;function Lr(zr){return function(un){return Hr([zr,un])}}function Hr(zr){if(tt)throw new TypeError("Generator is already executing.");for(;He;)try{if(tt=1,Ot&&(tr=zr[0]&2?Ot.return:zr[0]?Ot.throw||((tr=Ot.return)&&tr.call(Ot),0):Ot.next)&&!(tr=tr.call(Ot,zr[1])).done)return tr;(Ot=0,tr)&&(zr=[zr[0]&2,tr.value]);switch(zr[0]){case 0:case 1:tr=zr;break;case 4:return He.label++,{value:zr[1],done:!1};case 5:He.label++,Ot=zr[1],zr=[0];continue;case 7:zr=He.ops.pop(),He.trys.pop();continue;default:if(!(tr=He.trys,tr=tr.length>0&&tr[tr.length-1])&&(zr[0]===6||zr[0]===2)){He=0;continue}if(zr[0]===3&&(!tr||zr[1]>tr[0]&&zr[1]<tr[3])){He.label=zr[1];break}if(zr[0]===6&&He.label<tr[1]){He.label=tr[1],tr=zr;break}if(tr&&He.label<tr[2]){He.label=tr[2],He.ops.push(zr);break}tr[2]&&He.ops.pop(),He.trys.pop();continue}zr=ie.call($e,He)}catch(un){zr=[6,un],Ot=0}finally{tt=tr=0}if(zr[0]&5)throw zr[1];return{value:zr[0]?zr[1]:void 0,done:!0}}}for(var h=function(){function $e(ie,He,tt,Ot){this.left=ie,this.top=He,this.width=tt,this.height=Ot}return $e.prototype.add=function(ie,He,tt,Ot){return new $e(this.left+ie,this.top+He,this.width+tt,this.height+Ot)},$e.fromClientRect=function(ie){return new $e(ie.left,ie.top,ie.width,ie.height)},$e}(),u=function(ie){return h.fromClientRect(ie.getBoundingClientRect())},i=function(ie){var He=ie.body,tt=ie.documentElement;if(!He||!tt)throw new Error("Unable to get document size");var Ot=Math.max(Math.max(He.scrollWidth,tt.scrollWidth),Math.max(He.offsetWidth,tt.offsetWidth),Math.max(He.clientWidth,tt.clientWidth)),tr=Math.max(Math.max(He.scrollHeight,tt.scrollHeight),Math.max(He.offsetHeight,tt.offsetHeight),Math.max(He.clientHeight,tt.clientHeight));return new h(0,0,Ot,tr)},a=function(ie){for(var He=[],tt=0,Ot=ie.length;tt<Ot;){var tr=ie.charCodeAt(tt++);if(tr>=55296&&tr<=56319&&tt<Ot){var vr=ie.charCodeAt(tt++);(vr&64512)===56320?He.push(((tr&1023)<<10)+(vr&1023)+65536):(He.push(tr),tt--)}else He.push(tr)}return He},r=function(){for(var ie=[],He=0;He<arguments.length;He++)ie[He]=arguments[He];if(String.fromCodePoint)return String.fromCodePoint.apply(String,ie);var tt=ie.length;if(!tt)return"";for(var Ot=[],tr=-1,vr="";++tr<tt;){var Lr=ie[tr];Lr<=65535?Ot.push(Lr):(Lr-=65536,Ot.push((Lr>>10)+55296,Lr%1024+56320)),(tr+1===tt||Ot.length>16384)&&(vr+=String.fromCharCode.apply(String,Ot),Ot.length=0)}return vr},o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),n=0;n<o.length;n++)d[o.charCodeAt(n)]=n;var l=function(ie){var He=ie.length*.75,tt=ie.length,Ot,tr=0,vr,Lr,Hr,zr;ie[ie.length-1]==="="&&(He--,ie[ie.length-2]==="="&&He--);var un=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(He):new Array(He),sn=Array.isArray(un)?un:new Uint8Array(un);for(Ot=0;Ot<tt;Ot+=4)vr=d[ie.charCodeAt(Ot)],Lr=d[ie.charCodeAt(Ot+1)],Hr=d[ie.charCodeAt(Ot+2)],zr=d[ie.charCodeAt(Ot+3)],sn[tr++]=vr<<2|Lr>>4,sn[tr++]=(Lr&15)<<4|Hr>>2,sn[tr++]=(Hr&3)<<6|zr&63;return un},t=function(ie){for(var He=ie.length,tt=[],Ot=0;Ot<He;Ot+=2)tt.push(ie[Ot+1]<<8|ie[Ot]);return tt},s=function(ie){for(var He=ie.length,tt=[],Ot=0;Ot<He;Ot+=4)tt.push(ie[Ot+3]<<24|ie[Ot+2]<<16|ie[Ot+1]<<8|ie[Ot]);return tt},c=5,p=6+5,A=2,w=p-c,C=65536>>c,x=1<<c,E=x-1,T=1024>>c,_=C+T,v=_,S=2048>>6,O=v+S,L=65536>>p,M=1<<w,F=M-1,U=function(ie,He,tt){return ie.slice?ie.slice(He,tt):new Uint16Array(Array.prototype.slice.call(ie,He,tt))},z=function(ie,He,tt){return ie.slice?ie.slice(He,tt):new Uint32Array(Array.prototype.slice.call(ie,He,tt))},W=function(ie){var He=l(ie),tt=Array.isArray(He)?s(He):new Uint32Array(He),Ot=Array.isArray(He)?t(He):new Uint16Array(He),tr=24,vr=U(Ot,tr/2,tt[4]/2),Lr=tt[5]===2?U(Ot,(tr+tt[4])/2):z(tt,Math.ceil((tr+tt[4])/4));return new N(tt[0],tt[1],tt[2],tt[3],vr,Lr)},N=function(){function $e(ie,He,tt,Ot,tr,vr){this.initialValue=ie,this.errorValue=He,this.highStart=tt,this.highValueIndex=Ot,this.index=tr,this.data=vr}return $e.prototype.get=function(ie){var He;if(ie>=0){if(ie<55296||ie>56319&&ie<=65535)return He=this.index[ie>>c],He=(He<<A)+(ie&E),this.data[He];if(ie<=65535)return He=this.index[C+(ie-55296>>c)],He=(He<<A)+(ie&E),this.data[He];if(ie<this.highStart)return He=O-L+(ie>>p),He=this.index[He],He+=ie>>c&F,He=this.index[He],He=(He<<A)+(ie&E),this.data[He];if(ie<=1114111)return this.data[this.highValueIndex]}return this.errorValue},$e}(),H="KwAAAAAAAAAACA4AIDoAAPAfAAACAAAAAAAIABAAGABAAEgAUABYAF4AZgBeAGYAYABoAHAAeABeAGYAfACEAIAAiACQAJgAoACoAK0AtQC9AMUAXgBmAF4AZgBeAGYAzQDVAF4AZgDRANkA3gDmAOwA9AD8AAQBDAEUARoBIgGAAIgAJwEvATcBPwFFAU0BTAFUAVwBZAFsAXMBewGDATAAiwGTAZsBogGkAawBtAG8AcIBygHSAdoB4AHoAfAB+AH+AQYCDgIWAv4BHgImAi4CNgI+AkUCTQJTAlsCYwJrAnECeQKBAk0CiQKRApkCoQKoArACuALAAsQCzAIwANQC3ALkAjAA7AL0AvwCAQMJAxADGAMwACADJgMuAzYDPgOAAEYDSgNSA1IDUgNaA1oDYANiA2IDgACAAGoDgAByA3YDfgOAAIQDgACKA5IDmgOAAIAAogOqA4AAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAK8DtwOAAIAAvwPHA88D1wPfAyAD5wPsA/QD/AOAAIAABAQMBBIEgAAWBB4EJgQuBDMEIAM7BEEEXgBJBCADUQRZBGEEaQQwADAAcQQ+AXkEgQSJBJEEgACYBIAAoASoBK8EtwQwAL8ExQSAAIAAgACAAIAAgACgAM0EXgBeAF4AXgBeAF4AXgBeANUEXgDZBOEEXgDpBPEE+QQBBQkFEQUZBSEFKQUxBTUFPQVFBUwFVAVcBV4AYwVeAGsFcwV7BYMFiwWSBV4AmgWgBacFXgBeAF4AXgBeAKsFXgCyBbEFugW7BcIFwgXIBcIFwgXQBdQF3AXkBesF8wX7BQMGCwYTBhsGIwYrBjMGOwZeAD8GRwZNBl4AVAZbBl4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAGMGXgBqBnEGXgBeAF4AXgBeAF4AXgBeAF4AXgB5BoAG4wSGBo4GkwaAAIADHgR5AF4AXgBeAJsGgABGA4AAowarBrMGswagALsGwwbLBjAA0wbaBtoG3QbaBtoG2gbaBtoG2gblBusG8wb7BgMHCwcTBxsHCwcjBysHMAc1BzUHOgdCB9oGSgdSB1oHYAfaBloHaAfaBlIH2gbaBtoG2gbaBtoG2gbaBjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHbQdeAF4ANQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQd1B30HNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B4MH2gaKB68EgACAAIAAgACAAIAAgACAAI8HlwdeAJ8HpweAAIAArwe3B14AXgC/B8UHygcwANAH2AfgB4AA6AfwBz4B+AcACFwBCAgPCBcIogEYAR8IJwiAAC8INwg/CCADRwhPCFcIXwhnCEoDGgSAAIAAgABvCHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIhAiLCI4IMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAANQc1BzUHNQc1BzUHNQc1BzUHNQc1B54INQc1B6II2gaqCLIIugiAAIAAvgjGCIAAgACAAIAAgACAAIAAgACAAIAAywiHAYAA0wiAANkI3QjlCO0I9Aj8CIAAgACAAAIJCgkSCRoJIgknCTYHLwk3CZYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiAAIAAAAFAAXgBeAGAAcABeAHwAQACQAKAArQC9AJ4AXgBeAE0A3gBRAN4A7AD8AMwBGgEAAKcBNwEFAUwBXAF4QkhCmEKnArcCgAHHAsABz4LAAcABwAHAAd+C6ABoAG+C/4LAAcABwAHAAc+DF4MAAcAB54M3gweDV4Nng3eDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEeDqABVg6WDqABoQ6gAaABoAHXDvcONw/3DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DncPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB7cPPwlGCU4JMACAAIAAgABWCV4JYQmAAGkJcAl4CXwJgAkwADAAMAAwAIgJgACLCZMJgACZCZ8JowmrCYAAswkwAF4AXgB8AIAAuwkABMMJyQmAAM4JgADVCTAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAqwYWBNkIMAAwADAAMADdCeAJ6AnuCR4E9gkwAP4JBQoNCjAAMACAABUK0wiAAB0KJAosCjQKgAAwADwKQwqAAEsKvQmdCVMKWwowADAAgACAALcEMACAAGMKgABrCjAAMAAwADAAMAAwADAAMAAwADAAMAAeBDAAMAAwADAAMAAwADAAMAAwADAAMAAwAIkEPQFzCnoKiQSCCooKkAqJBJgKoAqkCokEGAGsCrQKvArBCjAAMADJCtEKFQHZCuEK/gHpCvEKMAAwADAAMACAAIwE+QowAIAAPwEBCzAAMAAwADAAMACAAAkLEQswAIAAPwEZCyELgAAOCCkLMAAxCzkLMAAwADAAMAAwADAAXgBeAEELMAAwADAAMAAwADAAMAAwAEkLTQtVC4AAXAtkC4AAiQkwADAAMAAwADAAMAAwADAAbAtxC3kLgAuFC4sLMAAwAJMLlwufCzAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAApwswADAAMACAAIAAgACvC4AAgACAAIAAgACAALcLMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAvwuAAMcLgACAAIAAgACAAIAAyguAAIAAgACAAIAA0QswADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAANkLgACAAIAA4AswADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACJCR4E6AswADAAhwHwC4AA+AsADAgMEAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMACAAIAAGAwdDCUMMAAwAC0MNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQw1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHPQwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADUHNQc1BzUHNQc1BzUHNQc2BzAAMAA5DDUHNQc1BzUHNQc1BzUHNQc1BzUHNQdFDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAATQxSDFoMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAF4AXgBeAF4AXgBeAF4AYgxeAGoMXgBxDHkMfwxeAIUMXgBeAI0MMAAwADAAMAAwAF4AXgCVDJ0MMAAwADAAMABeAF4ApQxeAKsMswy7DF4Awgy9DMoMXgBeAF4AXgBeAF4AXgBeAF4AXgDRDNkMeQBqCeAM3Ax8AOYM7Az0DPgMXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgCgAAANoAAHDQ4NFg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAeDSYNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAC4NMABeAF4ANg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAD4NRg1ODVYNXg1mDTAAbQ0wADAAMAAwADAAMAAwADAA2gbaBtoG2gbaBtoG2gbaBnUNeg3CBYANwgWFDdoGjA3aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gaUDZwNpA2oDdoG2gawDbcNvw3HDdoG2gbPDdYN3A3fDeYN2gbsDfMN2gbaBvoN/g3aBgYODg7aBl4AXgBeABYOXgBeACUG2gYeDl4AJA5eACwO2w3aBtoGMQ45DtoG2gbaBtoGQQ7aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B1EO2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQdZDjUHNQc1BzUHNQc1B2EONQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHaA41BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B3AO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B2EO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBkkOeA6gAKAAoAAwADAAMAAwAKAAoACgAKAAoACgAKAAgA4wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAD//wQABAAEAAQABAAEAAQABAAEAA0AAwABAAEAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAKABMAFwAeABsAGgAeABcAFgASAB4AGwAYAA8AGAAcAEsASwBLAEsASwBLAEsASwBLAEsAGAAYAB4AHgAeABMAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAFgAbABIAHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYADQARAB4ABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkAFgAaABsAGwAbAB4AHQAdAB4ATwAXAB4ADQAeAB4AGgAbAE8ATwAOAFAAHQAdAB0ATwBPABcATwBPAE8AFgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwArAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAAQABAANAA0ASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAUAArACsAKwArACsAKwArACsABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAGgAaAFAAUABQAFAAUABMAB4AGwBQAB4AKwArACsABAAEAAQAKwBQAFAAUABQAFAAUAArACsAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUAArAFAAUAArACsABAArAAQABAAEAAQABAArACsAKwArAAQABAArACsABAAEAAQAKwArACsABAArACsAKwArACsAKwArAFAAUABQAFAAKwBQACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwAEAAQAUABQAFAABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQAKwArAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeABsAKwArACsAKwArACsAKwBQAAQABAAEAAQABAAEACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAKwArACsAKwArACsAKwArAAQABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwAEAFAAKwBQAFAAUABQAFAAUAArACsAKwBQAFAAUAArAFAAUABQAFAAKwArACsAUABQACsAUAArAFAAUAArACsAKwBQAFAAKwArACsAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQAKwArACsABAAEAAQAKwAEAAQABAAEACsAKwBQACsAKwArACsAKwArAAQAKwArACsAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAB4AHgAeAB4AHgAeABsAHgArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArAFAAUABQACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAB4AUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArACsAKwArACsAKwArAFAAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwArAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAKwBcAFwAKwBcACsAKwBcACsAKwArACsAKwArAFwAXABcAFwAKwBcAFwAXABcAFwAXABcACsAXABcAFwAKwBcACsAXAArACsAXABcACsAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgArACoAKgBcACsAKwBcAFwAXABcAFwAKwBcACsAKgAqACoAKgAqACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAFwAXABcAFwAUAAOAA4ADgAOAB4ADgAOAAkADgAOAA0ACQATABMAEwATABMACQAeABMAHgAeAB4ABAAEAB4AHgAeAB4AHgAeAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUAANAAQAHgAEAB4ABAAWABEAFgARAAQABABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAAQABAAEAAQABAANAAQABABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsADQANAB4AHgAeAB4AHgAeAAQAHgAeAB4AHgAeAB4AKwAeAB4ADgAOAA0ADgAeAB4AHgAeAB4ACQAJACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgAeAB4AHgBcAFwAXABcAFwAXAAqACoAKgAqAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAKgAqACoAKgAqACoAKgBcAFwAXAAqACoAKgAqAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAXAAqAEsASwBLAEsASwBLAEsASwBLAEsAKgAqACoAKgAqACoAUABQAFAAUABQAFAAKwBQACsAKwArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQACsAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwAEAAQABAAeAA0AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAEQArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAADQANAA0AUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAA0ADQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoADQANABUAXAANAB4ADQAbAFwAKgArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAB4AHgATABMADQANAA4AHgATABMAHgAEAAQABAAJACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAUABQAFAAUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwAeACsAKwArABMAEwBLAEsASwBLAEsASwBLAEsASwBLAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwBcAFwAXABcAFwAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcACsAKwArACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwAeAB4AXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsABABLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKgAqACoAKgAqACoAKgBcACoAKgAqACoAKgAqACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAUABQAFAAUABQAFAAUAArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4ADQANAA0ADQAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAHgAeAB4AHgBQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwANAA0ADQANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwBQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsABAAEAAQAHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAABABQAFAAUABQAAQABAAEAFAAUAAEAAQABAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAKwBQACsAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAKwArAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAKwAeAB4AHgAeAB4AHgAeAA4AHgArAA0ADQANAA0ADQANAA0ACQANAA0ADQAIAAQACwAEAAQADQAJAA0ADQAMAB0AHQAeABcAFwAWABcAFwAXABYAFwAdAB0AHgAeABQAFAAUAA0AAQABAAQABAAEAAQABAAJABoAGgAaABoAGgAaABoAGgAeABcAFwAdABUAFQAeAB4AHgAeAB4AHgAYABYAEQAVABUAFQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgANAB4ADQANAA0ADQAeAA0ADQANAAcAHgAeAB4AHgArAAQABAAEAAQABAAEAAQABAAEAAQAUABQACsAKwBPAFAAUABQAFAAUAAeAB4AHgAWABEATwBQAE8ATwBPAE8AUABQAFAAUABQAB4AHgAeABYAEQArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGgAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgBQABoAHgAdAB4AUAAeABoAHgAeAB4AHgAeAB4AHgAeAB4ATwAeAFAAGwAeAB4AUABQAFAAUABQAB4AHgAeAB0AHQAeAFAAHgBQAB4AUAAeAFAATwBQAFAAHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AUABQAFAAUABPAE8AUABQAFAAUABQAE8AUABQAE8AUABPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAE8ATwBPAE8ATwBPAE8ATwBPAE8AUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAATwAeAB4AKwArACsAKwAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB0AHQAeAB4AHgAdAB0AHgAeAB0AHgAeAB4AHQAeAB0AGwAbAB4AHQAeAB4AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB0AHgAdAB4AHQAdAB0AHQAdAB0AHgAdAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAdAB0AHQAdAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAlACUAHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB0AHQAeAB4AHgAeAB0AHQAdAB4AHgAdAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB0AHQAeAB4AHQAeAB4AHgAeAB0AHQAeAB4AHgAeACUAJQAdAB0AJQAeACUAJQAlACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHQAdAB0AHgAdACUAHQAdAB4AHQAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHQAdAB0AHQAlAB4AJQAlACUAHQAlACUAHQAdAB0AJQAlAB0AHQAlAB0AHQAlACUAJQAeAB0AHgAeAB4AHgAdAB0AJQAdAB0AHQAdAB0AHQAlACUAJQAlACUAHQAlACUAIAAlAB0AHQAlACUAJQAlACUAJQAlACUAHgAeAB4AJQAlACAAIAAgACAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeABcAFwAXABcAFwAXAB4AEwATACUAHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACUAJQBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwArACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAE8ATwBPAE8ATwBPAE8ATwAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeACsAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUAArACsAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQBQAFAAUABQACsAKwArACsAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAABAAEAAQAKwAEAAQAKwArACsAKwArAAQABAAEAAQAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsABAAEAAQAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsADQANAA0ADQANAA0ADQANAB4AKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAUABQAFAAUABQAA0ADQANAA0ADQANABQAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwANAA0ADQANAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAeAAQABAAEAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLACsADQArAB4AKwArAAQABAAEAAQAUABQAB4AUAArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwAEAAQABAAEAAQABAAEAAQABAAOAA0ADQATABMAHgAeAB4ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0AUABQAFAAUAAEAAQAKwArAAQADQANAB4AUAArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXABcAA0ADQANACoASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUAArACsAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANACsADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEcARwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwAeAAQABAANAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAEAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUAArACsAUAArACsAUABQACsAKwBQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAeAB4ADQANAA0ADQAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAArAAQABAArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAEAAQABAAEAAQABAAEACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAFgAWAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAKwBQACsAKwArACsAKwArAFAAKwArACsAKwBQACsAUAArAFAAKwBQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQACsAUAArAFAAKwBQACsAUABQACsAUAArACsAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAUABQAFAAUAArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUAArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAlACUAJQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeACUAJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeACUAJQAlACUAJQAeACUAJQAlACUAJQAgACAAIAAlACUAIAAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIQAhACEAIQAhACUAJQAgACAAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAIAAlACUAJQAlACAAJQAgACAAIAAgACAAIAAgACAAIAAlACUAJQAgACUAJQAlACUAIAAgACAAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeACUAHgAlAB4AJQAlACUAJQAlACAAJQAlACUAJQAeACUAHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAIAAgACAAIAAgAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFwAXABcAFQAVABUAHgAeAB4AHgAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAlACAAIAAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsA",j=50,k=1,B=2,V=3,K=4,Y=5,Q=7,he=8,G=9,ye=10,Ae=11,ge=12,Pe=13,Re=14,rt=15,ne=16,be=17,at=18,se=19,q=20,X=21,Z=22,pe=23,oe=24,Ie=25,fe=26,te=27,J=28,ve=29,De=30,ze=31,dt=32,Me=33,Tt=34,je=35,st=36,Xe=37,Je=38,et=39,ot=40,Ve=41,ue=42,ae=43,lt="!",Ze="\xD7",Te="\xF7",Jt=W(H),mt=[De,st],ft=[k,B,V,Y],bt=[ye,he],Lt=[te,fe],or=ft.concat(bt),Bt=[Je,et,ot,Tt,je],_e=[rt,Pe],Ce=function(ie,He){He===void 0&&(He="strict");var tt=[],Ot=[],tr=[];return ie.forEach(function(vr,Lr){var Hr=Jt.get(vr);if(Hr>j?(tr.push(!0),Hr-=j):tr.push(!1),["normal","auto","loose"].indexOf(He)!==-1&&[8208,8211,12316,12448].indexOf(vr)!==-1)return Ot.push(Lr),tt.push(ne);if(Hr===K||Hr===Ae){if(Lr===0)return Ot.push(Lr),tt.push(De);var zr=tt[Lr-1];return or.indexOf(zr)===-1?(Ot.push(Ot[Lr-1]),tt.push(zr)):(Ot.push(Lr),tt.push(De))}if(Ot.push(Lr),Hr===ze)return tt.push(He==="strict"?X:Xe);if(Hr===ue)return tt.push(De);if(Hr===ve)return tt.push(De);if(Hr===ae)return vr>=131072&&vr<=196605||vr>=196608&&vr<=262141?tt.push(Xe):tt.push(De);tt.push(Hr)}),[Ot,tt,tr]},Ee=function(ie,He,tt,Ot){var tr=Ot[tt];if(Array.isArray(ie)?ie.indexOf(tr)!==-1:ie===tr)for(var vr=tt;vr<=Ot.length;){vr++;var Lr=Ot[vr];if(Lr===He)return!0;if(Lr!==ye)break}if(tr===ye)for(var vr=tt;vr>0;){vr--;var Hr=Ot[vr];if(Array.isArray(ie)?ie.indexOf(Hr)!==-1:ie===Hr)for(var zr=tt;zr<=Ot.length;){zr++;var Lr=Ot[zr];if(Lr===He)return!0;if(Lr!==ye)break}if(Hr!==ye)break}return!1},we=function(ie,He){for(var tt=ie;tt>=0;){var Ot=He[tt];if(Ot===ye)tt--;else return Ot}return 0},Fe=function(ie,He,tt,Ot,tr){if(tt[Ot]===0)return Ze;var vr=Ot-1;if(Array.isArray(tr)&&tr[vr]===!0)return Ze;var Lr=vr-1,Hr=vr+1,zr=He[vr],un=Lr>=0?He[Lr]:0,sn=He[Hr];if(zr===B&&sn===V)return Ze;if(ft.indexOf(zr)!==-1)return lt;if(ft.indexOf(sn)!==-1)return Ze;if(bt.indexOf(sn)!==-1)return Ze;if(we(vr,He)===he)return Te;if(Jt.get(ie[vr])===Ae&&(sn===Xe||sn===dt||sn===Me))return Ze;if(zr===Q||sn===Q)return Ze;if(zr===G)return Ze;if([ye,Pe,rt].indexOf(zr)===-1&&sn===G)return Ze;if([be,at,se,oe,J].indexOf(sn)!==-1)return Ze;if(we(vr,He)===Z)return Ze;if(Ee(pe,Z,vr,He))return Ze;if(Ee([be,at],X,vr,He))return Ze;if(Ee(ge,ge,vr,He))return Ze;if(zr===ye)return Te;if(zr===pe||sn===pe)return Ze;if(sn===ne||zr===ne)return Te;if([Pe,rt,X].indexOf(sn)!==-1||zr===Re)return Ze;if(un===st&&_e.indexOf(zr)!==-1)return Ze;if(zr===J&&sn===st)return Ze;if(sn===q&&mt.concat(q,se,Ie,Xe,dt,Me).indexOf(zr)!==-1)return Ze;if(mt.indexOf(sn)!==-1&&zr===Ie||mt.indexOf(zr)!==-1&&sn===Ie)return Ze;if(zr===te&&[Xe,dt,Me].indexOf(sn)!==-1||[Xe,dt,Me].indexOf(zr)!==-1&&sn===fe)return Ze;if(mt.indexOf(zr)!==-1&&Lt.indexOf(sn)!==-1||Lt.indexOf(zr)!==-1&&mt.indexOf(sn)!==-1)return Ze;if([te,fe].indexOf(zr)!==-1&&(sn===Ie||[Z,rt].indexOf(sn)!==-1&&He[Hr+1]===Ie)||[Z,rt].indexOf(zr)!==-1&&sn===Ie||zr===Ie&&[Ie,J,oe].indexOf(sn)!==-1)return Ze;if([Ie,J,oe,be,at].indexOf(sn)!==-1)for(var kn=vr;kn>=0;){var si=He[kn];if(si===Ie)return Ze;if([J,oe].indexOf(si)!==-1)kn--;else break}if([te,fe].indexOf(sn)!==-1)for(var kn=[be,at].indexOf(zr)!==-1?Lr:vr;kn>=0;){var si=He[kn];if(si===Ie)return Ze;if([J,oe].indexOf(si)!==-1)kn--;else break}if(Je===zr&&[Je,et,Tt,je].indexOf(sn)!==-1||[et,Tt].indexOf(zr)!==-1&&[et,ot].indexOf(sn)!==-1||[ot,je].indexOf(zr)!==-1&&sn===ot)return Ze;if(Bt.indexOf(zr)!==-1&&[q,fe].indexOf(sn)!==-1||Bt.indexOf(sn)!==-1&&zr===te)return Ze;if(mt.indexOf(zr)!==-1&&mt.indexOf(sn)!==-1)return Ze;if(zr===oe&&mt.indexOf(sn)!==-1)return Ze;if(mt.concat(Ie).indexOf(zr)!==-1&&sn===Z||mt.concat(Ie).indexOf(sn)!==-1&&zr===at)return Ze;if(zr===Ve&&sn===Ve){for(var zn=tt[vr],fi=1;zn>0&&(zn--,He[zn]===Ve);)fi++;if(fi%2!==0)return Ze}return zr===dt&&sn===Me?Ze:Te},Ye=function(ie,He){He||(He={lineBreak:"normal",wordBreak:"normal"});var tt=Ce(ie,He.lineBreak),Ot=tt[0],tr=tt[1],vr=tt[2];(He.wordBreak==="break-all"||He.wordBreak==="break-word")&&(tr=tr.map(function(Hr){return[Ie,De,ue].indexOf(Hr)!==-1?Xe:Hr}));var Lr=He.wordBreak==="keep-all"?vr.map(function(Hr,zr){return Hr&&ie[zr]>=19968&&ie[zr]<=40959}):void 0;return[Ot,tr,Lr]},Ge=function(){function $e(ie,He,tt,Ot){this.codePoints=ie,this.required=He===lt,this.start=tt,this.end=Ot}return $e.prototype.slice=function(){return r.apply(void 0,this.codePoints.slice(this.start,this.end))},$e}(),qe=function(ie,He){var tt=a(ie),Ot=Ye(tt,He),tr=Ot[0],vr=Ot[1],Lr=Ot[2],Hr=tt.length,zr=0,un=0;return{next:function(){if(un>=Hr)return{done:!0,value:null};for(var kn=Ze;un<Hr&&(kn=Fe(tt,vr,tr,++un,Lr))===Ze;);if(kn!==Ze||un===Hr){var si=new Ge(tt,kn,zr,un);return zr=un,{value:si,done:!1}}return{done:!0,value:null}}}},Ke;(function($e){$e[$e.STRING_TOKEN=0]="STRING_TOKEN",$e[$e.BAD_STRING_TOKEN=1]="BAD_STRING_TOKEN",$e[$e.LEFT_PARENTHESIS_TOKEN=2]="LEFT_PARENTHESIS_TOKEN",$e[$e.RIGHT_PARENTHESIS_TOKEN=3]="RIGHT_PARENTHESIS_TOKEN",$e[$e.COMMA_TOKEN=4]="COMMA_TOKEN",$e[$e.HASH_TOKEN=5]="HASH_TOKEN",$e[$e.DELIM_TOKEN=6]="DELIM_TOKEN",$e[$e.AT_KEYWORD_TOKEN=7]="AT_KEYWORD_TOKEN",$e[$e.PREFIX_MATCH_TOKEN=8]="PREFIX_MATCH_TOKEN",$e[$e.DASH_MATCH_TOKEN=9]="DASH_MATCH_TOKEN",$e[$e.INCLUDE_MATCH_TOKEN=10]="INCLUDE_MATCH_TOKEN",$e[$e.LEFT_CURLY_BRACKET_TOKEN=11]="LEFT_CURLY_BRACKET_TOKEN",$e[$e.RIGHT_CURLY_BRACKET_TOKEN=12]="RIGHT_CURLY_BRACKET_TOKEN",$e[$e.SUFFIX_MATCH_TOKEN=13]="SUFFIX_MATCH_TOKEN",$e[$e.SUBSTRING_MATCH_TOKEN=14]="SUBSTRING_MATCH_TOKEN",$e[$e.DIMENSION_TOKEN=15]="DIMENSION_TOKEN",$e[$e.PERCENTAGE_TOKEN=16]="PERCENTAGE_TOKEN",$e[$e.NUMBER_TOKEN=17]="NUMBER_TOKEN",$e[$e.FUNCTION=18]="FUNCTION",$e[$e.FUNCTION_TOKEN=19]="FUNCTION_TOKEN",$e[$e.IDENT_TOKEN=20]="IDENT_TOKEN",$e[$e.COLUMN_TOKEN=21]="COLUMN_TOKEN",$e[$e.URL_TOKEN=22]="URL_TOKEN",$e[$e.BAD_URL_TOKEN=23]="BAD_URL_TOKEN",$e[$e.CDC_TOKEN=24]="CDC_TOKEN",$e[$e.CDO_TOKEN=25]="CDO_TOKEN",$e[$e.COLON_TOKEN=26]="COLON_TOKEN",$e[$e.SEMICOLON_TOKEN=27]="SEMICOLON_TOKEN",$e[$e.LEFT_SQUARE_BRACKET_TOKEN=28]="LEFT_SQUARE_BRACKET_TOKEN",$e[$e.RIGHT_SQUARE_BRACKET_TOKEN=29]="RIGHT_SQUARE_BRACKET_TOKEN",$e[$e.UNICODE_RANGE_TOKEN=30]="UNICODE_RANGE_TOKEN",$e[$e.WHITESPACE_TOKEN=31]="WHITESPACE_TOKEN",$e[$e.EOF_TOKEN=32]="EOF_TOKEN"})(Ke||(Ke={}));var ut=1<<0,wt=1<<1,It=1<<2,de=1<<3,xe=10,$=47,le=92,Oe=9,ke=32,Ue=34,nt=61,At=35,Wt=36,$t=37,Rt=39,zt=40,Gt=41,Qt=95,Mt=45,dr=33,er=60,ht=62,Et=64,pt=91,vt=93,Nt=61,_t=123,gt=63,Ht=125,kt=124,ir=126,Xt=128,mr=65533,Ar=42,Nr=43,kr=44,tn=58,qr=59,_r=46,Qr=0,Ir=8,cr=11,pr=14,ur=31,fr=127,xr=-1,Yr=48,cn=97,Nn=101,jr=102,Tn=117,gn=122,Pn=65,Kn=69,qn=70,Yn=85,Vn=90,An=function(ie){return ie>=Yr&&ie<=57},on=function(ie){return ie>=55296&&ie<=57343},ia=function(ie){return An(ie)||ie>=Pn&&ie<=qn||ie>=cn&&ie<=jr},xa=function(ie){return ie>=cn&&ie<=gn},ta=function(ie){return ie>=Pn&&ie<=Vn},Ii=function(ie){return xa(ie)||ta(ie)},Ci=function(ie){return ie>=Xt},Gn=function(ie){return ie===xe||ie===Oe||ie===ke},Oa=function(ie){return Ii(ie)||Ci(ie)||ie===Qt},mn=function(ie){return Oa(ie)||An(ie)||ie===Mt},On=function(ie){return ie>=Qr&&ie<=Ir||ie===cr||ie>=pr&&ie<=ur||ie===fr},_n=function(ie,He){return ie!==le?!1:He!==xe},In=function(ie,He,tt){return ie===Mt?Oa(He)||_n(He,tt):Oa(ie)?!0:!!(ie===le&&_n(ie,He))},jn=function(ie,He,tt){return ie===Nr||ie===Mt?An(He)?!0:He===_r&&An(tt):ie===_r?An(He):An(ie)},ni=function(ie){var He=0,tt=1;(ie[He]===Nr||ie[He]===Mt)&&(ie[He]===Mt&&(tt=-1),He++);for(var Ot=[];An(ie[He]);)Ot.push(ie[He++]);var tr=Ot.length?parseInt(r.apply(void 0,Ot),10):0;ie[He]===_r&&He++;for(var vr=[];An(ie[He]);)vr.push(ie[He++]);var Lr=vr.length,Hr=Lr?parseInt(r.apply(void 0,vr),10):0;(ie[He]===Kn||ie[He]===Nn)&&He++;var zr=1;(ie[He]===Nr||ie[He]===Mt)&&(ie[He]===Mt&&(zr=-1),He++);for(var un=[];An(ie[He]);)un.push(ie[He++]);var sn=un.length?parseInt(r.apply(void 0,un),10):0;return tt*(tr+Hr*Math.pow(10,-Lr))*Math.pow(10,zr*sn)},di={type:Ke.LEFT_PARENTHESIS_TOKEN},Na={type:Ke.RIGHT_PARENTHESIS_TOKEN},Qi={type:Ke.COMMA_TOKEN},ma={type:Ke.SUFFIX_MATCH_TOKEN},Ba={type:Ke.PREFIX_MATCH_TOKEN},Qa={type:Ke.COLUMN_TOKEN},Wi={type:Ke.DASH_MATCH_TOKEN},Co={type:Ke.INCLUDE_MATCH_TOKEN},aa={type:Ke.LEFT_CURLY_BRACKET_TOKEN},Hi={type:Ke.RIGHT_CURLY_BRACKET_TOKEN},ga={type:Ke.SUBSTRING_MATCH_TOKEN},ha={type:Ke.BAD_URL_TOKEN},mo={type:Ke.BAD_STRING_TOKEN},Fn={type:Ke.CDO_TOKEN},$i={type:Ke.CDC_TOKEN},eo={type:Ke.COLON_TOKEN},To={type:Ke.SEMICOLON_TOKEN},co={type:Ke.LEFT_SQUARE_BRACKET_TOKEN},rr={type:Ke.RIGHT_SQUARE_BRACKET_TOKEN},Tr={type:Ke.WHITESPACE_TOKEN},Pr={type:Ke.EOF_TOKEN},Wr=function(){function $e(){this._value=[]}return $e.prototype.write=function(ie){this._value=this._value.concat(a(ie))},$e.prototype.read=function(){for(var ie=[],He=this.consumeToken();He!==Pr;)ie.push(He),He=this.consumeToken();return ie},$e.prototype.consumeToken=function(){var ie=this.consumeCodePoint();switch(ie){case Ue:return this.consumeStringToken(Ue);case At:var He=this.peekCodePoint(0),tt=this.peekCodePoint(1),Ot=this.peekCodePoint(2);if(mn(He)||_n(tt,Ot)){var tr=In(He,tt,Ot)?wt:ut,vr=this.consumeName();return{type:Ke.HASH_TOKEN,value:vr,flags:tr}}break;case Wt:if(this.peekCodePoint(0)===nt)return this.consumeCodePoint(),ma;break;case Rt:return this.consumeStringToken(Rt);case zt:return di;case Gt:return Na;case Ar:if(this.peekCodePoint(0)===nt)return this.consumeCodePoint(),ga;break;case Nr:if(jn(ie,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ie),this.consumeNumericToken();break;case kr:return Qi;case Mt:var Lr=ie,Hr=this.peekCodePoint(0),zr=this.peekCodePoint(1);if(jn(Lr,Hr,zr))return this.reconsumeCodePoint(ie),this.consumeNumericToken();if(In(Lr,Hr,zr))return this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();if(Hr===Mt&&zr===ht)return this.consumeCodePoint(),this.consumeCodePoint(),$i;break;case _r:if(jn(ie,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ie),this.consumeNumericToken();break;case $:if(this.peekCodePoint(0)===Ar)for(this.consumeCodePoint();;){var un=this.consumeCodePoint();if(un===Ar&&(un=this.consumeCodePoint(),un===$))return this.consumeToken();if(un===xr)return this.consumeToken()}break;case tn:return eo;case qr:return To;case er:if(this.peekCodePoint(0)===dr&&this.peekCodePoint(1)===Mt&&this.peekCodePoint(2)===Mt)return this.consumeCodePoint(),this.consumeCodePoint(),Fn;break;case Et:var sn=this.peekCodePoint(0),kn=this.peekCodePoint(1),si=this.peekCodePoint(2);if(In(sn,kn,si)){var vr=this.consumeName();return{type:Ke.AT_KEYWORD_TOKEN,value:vr}}break;case pt:return co;case le:if(_n(ie,this.peekCodePoint(0)))return this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();break;case vt:return rr;case Nt:if(this.peekCodePoint(0)===nt)return this.consumeCodePoint(),Ba;break;case _t:return aa;case Ht:return Hi;case Tn:case Yn:var zn=this.peekCodePoint(0),fi=this.peekCodePoint(1);return zn===Nr&&(ia(fi)||fi===gt)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();case kt:if(this.peekCodePoint(0)===nt)return this.consumeCodePoint(),Wi;if(this.peekCodePoint(0)===kt)return this.consumeCodePoint(),Qa;break;case ir:if(this.peekCodePoint(0)===nt)return this.consumeCodePoint(),Co;break;case xr:return Pr}return Gn(ie)?(this.consumeWhiteSpace(),Tr):An(ie)?(this.reconsumeCodePoint(ie),this.consumeNumericToken()):Oa(ie)?(this.reconsumeCodePoint(ie),this.consumeIdentLikeToken()):{type:Ke.DELIM_TOKEN,value:r(ie)}},$e.prototype.consumeCodePoint=function(){var ie=this._value.shift();return typeof ie=="undefined"?-1:ie},$e.prototype.reconsumeCodePoint=function(ie){this._value.unshift(ie)},$e.prototype.peekCodePoint=function(ie){return ie>=this._value.length?-1:this._value[ie]},$e.prototype.consumeUnicodeRangeToken=function(){for(var ie=[],He=this.consumeCodePoint();ia(He)&&ie.length<6;)ie.push(He),He=this.consumeCodePoint();for(var tt=!1;He===gt&&ie.length<6;)ie.push(He),He=this.consumeCodePoint(),tt=!0;if(tt){var Ot=parseInt(r.apply(void 0,ie.map(function(Hr){return Hr===gt?Yr:Hr})),16),tr=parseInt(r.apply(void 0,ie.map(function(Hr){return Hr===gt?qn:Hr})),16);return{type:Ke.UNICODE_RANGE_TOKEN,start:Ot,end:tr}}var vr=parseInt(r.apply(void 0,ie),16);if(this.peekCodePoint(0)===Mt&&ia(this.peekCodePoint(1))){this.consumeCodePoint(),He=this.consumeCodePoint();for(var Lr=[];ia(He)&&Lr.length<6;)Lr.push(He),He=this.consumeCodePoint();var tr=parseInt(r.apply(void 0,Lr),16);return{type:Ke.UNICODE_RANGE_TOKEN,start:vr,end:tr}}else return{type:Ke.UNICODE_RANGE_TOKEN,start:vr,end:vr}},$e.prototype.consumeIdentLikeToken=function(){var ie=this.consumeName();return ie.toLowerCase()==="url"&&this.peekCodePoint(0)===zt?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===zt?(this.consumeCodePoint(),{type:Ke.FUNCTION_TOKEN,value:ie}):{type:Ke.IDENT_TOKEN,value:ie}},$e.prototype.consumeUrlToken=function(){var ie=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===xr)return{type:Ke.URL_TOKEN,value:""};var He=this.peekCodePoint(0);if(He===Rt||He===Ue){var tt=this.consumeStringToken(this.consumeCodePoint());return tt.type===Ke.STRING_TOKEN&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===xr||this.peekCodePoint(0)===Gt)?(this.consumeCodePoint(),{type:Ke.URL_TOKEN,value:tt.value}):(this.consumeBadUrlRemnants(),ha)}for(;;){var Ot=this.consumeCodePoint();if(Ot===xr||Ot===Gt)return{type:Ke.URL_TOKEN,value:r.apply(void 0,ie)};if(Gn(Ot))return this.consumeWhiteSpace(),this.peekCodePoint(0)===xr||this.peekCodePoint(0)===Gt?(this.consumeCodePoint(),{type:Ke.URL_TOKEN,value:r.apply(void 0,ie)}):(this.consumeBadUrlRemnants(),ha);if(Ot===Ue||Ot===Rt||Ot===zt||On(Ot))return this.consumeBadUrlRemnants(),ha;if(Ot===le)if(_n(Ot,this.peekCodePoint(0)))ie.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ha;else ie.push(Ot)}},$e.prototype.consumeWhiteSpace=function(){for(;Gn(this.peekCodePoint(0));)this.consumeCodePoint()},$e.prototype.consumeBadUrlRemnants=function(){for(;;){var ie=this.consumeCodePoint();if(ie===Gt||ie===xr)return;_n(ie,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},$e.prototype.consumeStringSlice=function(ie){for(var He=6e4,tt="";ie>0;){var Ot=Math.min(He,ie);tt+=r.apply(void 0,this._value.splice(0,Ot)),ie-=Ot}return this._value.shift(),tt},$e.prototype.consumeStringToken=function(ie){var He="",tt=0;do{var Ot=this._value[tt];if(Ot===xr||Ot===void 0||Ot===ie)return He+=this.consumeStringSlice(tt),{type:Ke.STRING_TOKEN,value:He};if(Ot===xe)return this._value.splice(0,tt),mo;if(Ot===le){var tr=this._value[tt+1];tr!==xr&&tr!==void 0&&(tr===xe?(He+=this.consumeStringSlice(tt),tt=-1,this._value.shift()):_n(Ot,tr)&&(He+=this.consumeStringSlice(tt),He+=r(this.consumeEscapedCodePoint()),tt=-1))}tt++}while(!0)},$e.prototype.consumeNumber=function(){var ie=[],He=It,tt=this.peekCodePoint(0);for((tt===Nr||tt===Mt)&&ie.push(this.consumeCodePoint());An(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());tt=this.peekCodePoint(0);var Ot=this.peekCodePoint(1);if(tt===_r&&An(Ot))for(ie.push(this.consumeCodePoint(),this.consumeCodePoint()),He=de;An(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());tt=this.peekCodePoint(0),Ot=this.peekCodePoint(1);var tr=this.peekCodePoint(2);if((tt===Kn||tt===Nn)&&((Ot===Nr||Ot===Mt)&&An(tr)||An(Ot)))for(ie.push(this.consumeCodePoint(),this.consumeCodePoint()),He=de;An(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());return[ni(ie),He]},$e.prototype.consumeNumericToken=function(){var ie=this.consumeNumber(),He=ie[0],tt=ie[1],Ot=this.peekCodePoint(0),tr=this.peekCodePoint(1),vr=this.peekCodePoint(2);if(In(Ot,tr,vr)){var Lr=this.consumeName();return{type:Ke.DIMENSION_TOKEN,number:He,flags:tt,unit:Lr}}return Ot===$t?(this.consumeCodePoint(),{type:Ke.PERCENTAGE_TOKEN,number:He,flags:tt}):{type:Ke.NUMBER_TOKEN,number:He,flags:tt}},$e.prototype.consumeEscapedCodePoint=function(){var ie=this.consumeCodePoint();if(ia(ie)){for(var He=r(ie);ia(this.peekCodePoint(0))&&He.length<6;)He+=r(this.consumeCodePoint());Gn(this.peekCodePoint(0))&&this.consumeCodePoint();var tt=parseInt(He,16);return tt===0||on(tt)||tt>1114111?mr:tt}return ie===xr?mr:ie},$e.prototype.consumeName=function(){for(var ie="";;){var He=this.consumeCodePoint();if(mn(He))ie+=r(He);else if(_n(He,this.peekCodePoint(0)))ie+=r(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(He),ie}},$e}(),hn=function(){function $e(ie){this._tokens=ie}return $e.create=function(ie){var He=new Wr;return He.write(ie),new $e(He.read())},$e.parseValue=function(ie){return $e.create(ie).parseComponentValue()},$e.parseValues=function(ie){return $e.create(ie).parseComponentValues()},$e.prototype.parseComponentValue=function(){for(var ie=this.consumeToken();ie.type===Ke.WHITESPACE_TOKEN;)ie=this.consumeToken();if(ie.type===Ke.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(ie);var He=this.consumeComponentValue();do ie=this.consumeToken();while(ie.type===Ke.WHITESPACE_TOKEN);if(ie.type===Ke.EOF_TOKEN)return He;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},$e.prototype.parseComponentValues=function(){for(var ie=[];;){var He=this.consumeComponentValue();if(He.type===Ke.EOF_TOKEN)return ie;ie.push(He),ie.push()}},$e.prototype.consumeComponentValue=function(){var ie=this.consumeToken();switch(ie.type){case Ke.LEFT_CURLY_BRACKET_TOKEN:case Ke.LEFT_SQUARE_BRACKET_TOKEN:case Ke.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(ie.type);case Ke.FUNCTION_TOKEN:return this.consumeFunction(ie)}return ie},$e.prototype.consumeSimpleBlock=function(ie){for(var He={type:ie,values:[]},tt=this.consumeToken();;){if(tt.type===Ke.EOF_TOKEN||Zr(tt,ie))return He;this.reconsumeToken(tt),He.values.push(this.consumeComponentValue()),tt=this.consumeToken()}},$e.prototype.consumeFunction=function(ie){for(var He={name:ie.value,values:[],type:Ke.FUNCTION};;){var tt=this.consumeToken();if(tt.type===Ke.EOF_TOKEN||tt.type===Ke.RIGHT_PARENTHESIS_TOKEN)return He;this.reconsumeToken(tt),He.values.push(this.consumeComponentValue())}},$e.prototype.consumeToken=function(){var ie=this._tokens.shift();return typeof ie=="undefined"?Pr:ie},$e.prototype.reconsumeToken=function(ie){this._tokens.unshift(ie)},$e}(),it=function(ie){return ie.type===Ke.DIMENSION_TOKEN},jt=function(ie){return ie.type===Ke.NUMBER_TOKEN},Zt=function(ie){return ie.type===Ke.IDENT_TOKEN},nr=function(ie){return ie.type===Ke.STRING_TOKEN},Or=function(ie,He){return Zt(ie)&&ie.value===He},wr=function(ie){return ie.type!==Ke.WHITESPACE_TOKEN},Er=function(ie){return ie.type!==Ke.WHITESPACE_TOKEN&&ie.type!==Ke.COMMA_TOKEN},Kr=function(ie){var He=[],tt=[];return ie.forEach(function(Ot){if(Ot.type===Ke.COMMA_TOKEN){if(tt.length===0)throw new Error("Error parsing function args, zero tokens for arg");He.push(tt),tt=[];return}Ot.type!==Ke.WHITESPACE_TOKEN&&tt.push(Ot)}),tt.length&&He.push(tt),He},Zr=function(ie,He){return He===Ke.LEFT_CURLY_BRACKET_TOKEN&&ie.type===Ke.RIGHT_CURLY_BRACKET_TOKEN||He===Ke.LEFT_SQUARE_BRACKET_TOKEN&&ie.type===Ke.RIGHT_SQUARE_BRACKET_TOKEN?!0:He===Ke.LEFT_PARENTHESIS_TOKEN&&ie.type===Ke.RIGHT_PARENTHESIS_TOKEN},Jr=function(ie){return ie.type===Ke.NUMBER_TOKEN||ie.type===Ke.DIMENSION_TOKEN},an=function(ie){return ie.type===Ke.PERCENTAGE_TOKEN||Jr(ie)},xt=function(ie){return ie.length>1?[ie[0],ie[1]]:[ie[0]]},Vt={type:Ke.NUMBER_TOKEN,number:0,flags:It},sr={type:Ke.PERCENTAGE_TOKEN,number:50,flags:It},br={type:Ke.PERCENTAGE_TOKEN,number:100,flags:It},Mr=function(ie,He,tt){var Ot=ie[0],tr=ie[1];return[Dr(Ot,He),Dr(typeof tr!="undefined"?tr:Ot,tt)]},Dr=function(ie,He){if(ie.type===Ke.PERCENTAGE_TOKEN)return ie.number/100*He;if(it(ie))switch(ie.unit){case"rem":case"em":return 16*ie.number;case"px":default:return ie.number}return ie.number},rn="deg",fn="grad",wn="rad",Hn="turn",Sn={name:"angle",parse:function(ie){if(ie.type===Ke.DIMENSION_TOKEN)switch(ie.unit){case rn:return Math.PI*ie.number/180;case fn:return Math.PI/200*ie.number;case wn:return ie.number;case Hn:return Math.PI*2*ie.number}throw new Error("Unsupported angle type")}},bn=function(ie){return ie.type===Ke.DIMENSION_TOKEN&&(ie.unit===rn||ie.unit===fn||ie.unit===wn||ie.unit===Hn)},Mn=function(ie){var He=ie.filter(Zt).map(function(tt){return tt.value}).join(" ");switch(He){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Vt,Vt];case"to top":case"bottom":return vn(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Vt,br];case"to right":case"left":return vn(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[br,br];case"to bottom":case"top":return vn(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[br,Vt];case"to left":case"right":return vn(270)}return 0},vn=function(ie){return Math.PI*ie/180},Rn={name:"color",parse:function(ie){if(ie.type===Ke.FUNCTION){var He=xi[ie.name];if(typeof He=="undefined")throw new Error('Attempting to parse an unsupported color function "'+ie.name+'"');return He(ie.values)}if(ie.type===Ke.HASH_TOKEN){if(ie.value.length===3){var tt=ie.value.substring(0,1),Ot=ie.value.substring(1,2),tr=ie.value.substring(2,3);return Xn(parseInt(tt+tt,16),parseInt(Ot+Ot,16),parseInt(tr+tr,16),1)}if(ie.value.length===4){var tt=ie.value.substring(0,1),Ot=ie.value.substring(1,2),tr=ie.value.substring(2,3),vr=ie.value.substring(3,4);return Xn(parseInt(tt+tt,16),parseInt(Ot+Ot,16),parseInt(tr+tr,16),parseInt(vr+vr,16)/255)}if(ie.value.length===6){var tt=ie.value.substring(0,2),Ot=ie.value.substring(2,4),tr=ie.value.substring(4,6);return Xn(parseInt(tt,16),parseInt(Ot,16),parseInt(tr,16),1)}if(ie.value.length===8){var tt=ie.value.substring(0,2),Ot=ie.value.substring(2,4),tr=ie.value.substring(4,6),vr=ie.value.substring(6,8);return Xn(parseInt(tt,16),parseInt(Ot,16),parseInt(tr,16),parseInt(vr,16)/255)}}if(ie.type===Ke.IDENT_TOKEN){var Lr=_i[ie.value.toUpperCase()];if(typeof Lr!="undefined")return Lr}return _i.TRANSPARENT}},En=function(ie){return(255&ie)===0},Ln=function(ie){var He=255&ie,tt=255&ie>>8,Ot=255&ie>>16,tr=255&ie>>24;return He<255?"rgba("+tr+","+Ot+","+tt+","+He/255+")":"rgb("+tr+","+Ot+","+tt+")"},Xn=function(ie,He,tt,Ot){return(ie<<24|He<<16|tt<<8|Math.round(Ot*255)<<0)>>>0},ai=function(ie,He){if(ie.type===Ke.NUMBER_TOKEN)return ie.number;if(ie.type===Ke.PERCENTAGE_TOKEN){var tt=He===3?1:255;return He===3?ie.number/100*tt:Math.round(ie.number/100*tt)}return 0},ri=function(ie){var He=ie.filter(Er);if(He.length===3){var tt=He.map(ai),Ot=tt[0],tr=tt[1],vr=tt[2];return Xn(Ot,tr,vr,1)}if(He.length===4){var Lr=He.map(ai),Ot=Lr[0],tr=Lr[1],vr=Lr[2],Hr=Lr[3];return Xn(Ot,tr,vr,Hr)}return 0};function Di($e,ie,He){return He<0&&(He+=1),He>=1&&(He-=1),He<1/6?(ie-$e)*He*6+$e:He<1/2?ie:He<2/3?(ie-$e)*6*(2/3-He)+$e:$e}var yi=function(ie){var He=ie.filter(Er),tt=He[0],Ot=He[1],tr=He[2],vr=He[3],Lr=(tt.type===Ke.NUMBER_TOKEN?vn(tt.number):Sn.parse(tt))/(Math.PI*2),Hr=an(Ot)?Ot.number/100:0,zr=an(tr)?tr.number/100:0,un=typeof vr!="undefined"&&an(vr)?Dr(vr,1):1;if(Hr===0)return Xn(zr*255,zr*255,zr*255,1);var sn=zr<=.5?zr*(Hr+1):zr+Hr-zr*Hr,kn=zr*2-sn,si=Di(kn,sn,Lr+1/3),zn=Di(kn,sn,Lr),fi=Di(kn,sn,Lr-1/3);return Xn(si*255,zn*255,fi*255,un)},xi={hsl:yi,hsla:yi,rgb:ri,rgba:ri},_i={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Un;(function($e){$e[$e.VALUE=0]="VALUE",$e[$e.LIST=1]="LIST",$e[$e.IDENT_VALUE=2]="IDENT_VALUE",$e[$e.TYPE_VALUE=3]="TYPE_VALUE",$e[$e.TOKEN_VALUE=4]="TOKEN_VALUE"})(Un||(Un={}));var Ri;(function($e){$e[$e.BORDER_BOX=0]="BORDER_BOX",$e[$e.PADDING_BOX=1]="PADDING_BOX",$e[$e.CONTENT_BOX=2]="CONTENT_BOX"})(Ri||(Ri={}));var fa={name:"background-clip",initialValue:"border-box",prefix:!1,type:Un.LIST,parse:function(ie){return ie.map(function(He){if(Zt(He))switch(He.value){case"padding-box":return Ri.PADDING_BOX;case"content-box":return Ri.CONTENT_BOX}return Ri.BORDER_BOX})}},Ui={name:"background-color",initialValue:"transparent",prefix:!1,type:Un.TYPE_VALUE,format:"color"},Mi=function(ie){var He=Rn.parse(ie[0]),tt=ie[1];return tt&&an(tt)?{color:He,stop:tt}:{color:He,stop:null}},mi=function(ie,He){var tt=ie[0],Ot=ie[ie.length-1];tt.stop===null&&(tt.stop=Vt),Ot.stop===null&&(Ot.stop=br);for(var tr=[],vr=0,Lr=0;Lr<ie.length;Lr++){var Hr=ie[Lr].stop;if(Hr!==null){var zr=Dr(Hr,He);zr>vr?tr.push(zr):tr.push(vr),vr=zr}else tr.push(null)}for(var un=null,Lr=0;Lr<tr.length;Lr++){var sn=tr[Lr];if(sn===null)un===null&&(un=Lr);else if(un!==null){for(var kn=Lr-un,si=tr[un-1],zn=(sn-si)/(kn+1),fi=1;fi<=kn;fi++)tr[un+fi-1]=zn*fi;un=null}}return ie.map(function(da,Ti){var na=da.color;return{color:na,stop:Math.max(Math.min(1,tr[Ti]/He),0)}})},hi=function(ie,He,tt){var Ot=He/2,tr=tt/2,vr=Dr(ie[0],He)-Ot,Lr=tr-Dr(ie[1],tt);return(Math.atan2(Lr,vr)+Math.PI*2)%(Math.PI*2)},qi=function(ie,He,tt){var Ot=typeof ie=="number"?ie:hi(ie,He,tt),tr=Math.abs(He*Math.sin(Ot))+Math.abs(tt*Math.cos(Ot)),vr=He/2,Lr=tt/2,Hr=tr/2,zr=Math.sin(Ot-Math.PI/2)*Hr,un=Math.cos(Ot-Math.PI/2)*Hr;return[tr,vr-un,vr+un,Lr-zr,Lr+zr]},va=function(ie,He){return Math.sqrt(ie*ie+He*He)},Ea=function(ie,He,tt,Ot,tr){var vr=[[0,0],[0,He],[ie,0],[ie,He]];return vr.reduce(function(Lr,Hr){var zr=Hr[0],un=Hr[1],sn=va(tt-zr,Ot-un);return(tr?sn<Lr.optimumDistance:sn>Lr.optimumDistance)?{optimumCorner:Hr,optimumDistance:sn}:Lr},{optimumDistance:tr?Infinity:-Infinity,optimumCorner:null}).optimumCorner},ya=function(ie,He,tt,Ot,tr){var vr=0,Lr=0;switch(ie.size){case ki.CLOSEST_SIDE:ie.shape===La.CIRCLE?vr=Lr=Math.min(Math.abs(He),Math.abs(He-Ot),Math.abs(tt),Math.abs(tt-tr)):ie.shape===La.ELLIPSE&&(vr=Math.min(Math.abs(He),Math.abs(He-Ot)),Lr=Math.min(Math.abs(tt),Math.abs(tt-tr)));break;case ki.CLOSEST_CORNER:if(ie.shape===La.CIRCLE)vr=Lr=Math.min(va(He,tt),va(He,tt-tr),va(He-Ot,tt),va(He-Ot,tt-tr));else if(ie.shape===La.ELLIPSE){var Hr=Math.min(Math.abs(tt),Math.abs(tt-tr))/Math.min(Math.abs(He),Math.abs(He-Ot)),zr=Ea(Ot,tr,He,tt,!0),un=zr[0],sn=zr[1];vr=va(un-He,(sn-tt)/Hr),Lr=Hr*vr}break;case ki.FARTHEST_SIDE:ie.shape===La.CIRCLE?vr=Lr=Math.max(Math.abs(He),Math.abs(He-Ot),Math.abs(tt),Math.abs(tt-tr)):ie.shape===La.ELLIPSE&&(vr=Math.max(Math.abs(He),Math.abs(He-Ot)),Lr=Math.max(Math.abs(tt),Math.abs(tt-tr)));break;case ki.FARTHEST_CORNER:if(ie.shape===La.CIRCLE)vr=Lr=Math.max(va(He,tt),va(He,tt-tr),va(He-Ot,tt),va(He-Ot,tt-tr));else if(ie.shape===La.ELLIPSE){var Hr=Math.max(Math.abs(tt),Math.abs(tt-tr))/Math.max(Math.abs(He),Math.abs(He-Ot)),kn=Ea(Ot,tr,He,tt,!1),un=kn[0],sn=kn[1];vr=va(un-He,(sn-tt)/Hr),Lr=Hr*vr}break}return Array.isArray(ie.size)&&(vr=Dr(ie.size[0],Ot),Lr=ie.size.length===2?Dr(ie.size[1],tr):vr),[vr,Lr]},oa=function(ie){var He=vn(180),tt=[];return Kr(ie).forEach(function(Ot,tr){if(tr===0){var vr=Ot[0];if(vr.type===Ke.IDENT_TOKEN&&vr.value==="to"){He=Mn(Ot);return}else if(bn(vr)){He=Sn.parse(vr);return}}var Lr=Mi(Ot);tt.push(Lr)}),{angle:He,stops:tt,type:Ca.LINEAR_GRADIENT}},sa=function(ie){var He=vn(180),tt=[];return Kr(ie).forEach(function(Ot,tr){if(tr===0){var vr=Ot[0];if(vr.type===Ke.IDENT_TOKEN&&["top","left","right","bottom"].indexOf(vr.value)!==-1){He=Mn(Ot);return}else if(bn(vr)){He=(Sn.parse(vr)+vn(270))%vn(360);return}}var Lr=Mi(Ot);tt.push(Lr)}),{angle:He,stops:tt,type:Ca.LINEAR_GRADIENT}},Ni=function(ie){var He=123;if(ie.createRange){var tt=ie.createRange();if(tt.getBoundingClientRect){var Ot=ie.createElement("boundtest");Ot.style.height=He+"px",Ot.style.display="block",ie.body.appendChild(Ot),tt.selectNode(Ot);var tr=tt.getBoundingClientRect(),vr=Math.round(tr.height);if(ie.body.removeChild(Ot),vr===He)return!0}}return!1},$n=function(){return typeof new Image().crossOrigin!="undefined"},Ai=function(){return typeof new XMLHttpRequest().responseType=="string"},Li=function(ie){var He=new Image,tt=ie.createElement("canvas"),Ot=tt.getContext("2d");if(!Ot)return!1;He.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{Ot.drawImage(He,0,0),tt.toDataURL()}catch(tr){return!1}return!0},Vi=function(ie){return ie[0]===0&&ie[1]===255&&ie[2]===0&&ie[3]===255},Xi=function(ie){var He=ie.createElement("canvas"),tt=100;He.width=tt,He.height=tt;var Ot=He.getContext("2d");if(!Ot)return Promise.reject(!1);Ot.fillStyle="rgb(0, 255, 0)",Ot.fillRect(0,0,tt,tt);var tr=new Image,vr=He.toDataURL();tr.src=vr;var Lr=bi(tt,tt,0,0,tr);return Ot.fillStyle="red",Ot.fillRect(0,0,tt,tt),Aa(Lr).then(function(Hr){Ot.drawImage(Hr,0,0);var zr=Ot.getImageData(0,0,tt,tt).data;Ot.fillStyle="red",Ot.fillRect(0,0,tt,tt);var un=ie.createElement("div");return un.style.backgroundImage="url("+vr+")",un.style.height=tt+"px",Vi(zr)?Aa(bi(tt,tt,0,0,un)):Promise.reject(!1)}).then(function(Hr){return Ot.drawImage(Hr,0,0),Vi(Ot.getImageData(0,0,tt,tt).data)}).catch(function(){return!1})},bi=function(ie,He,tt,Ot,tr){var vr="http://www.w3.org/2000/svg",Lr=document.createElementNS(vr,"svg"),Hr=document.createElementNS(vr,"foreignObject");return Lr.setAttributeNS(null,"width",ie.toString()),Lr.setAttributeNS(null,"height",He.toString()),Hr.setAttributeNS(null,"width","100%"),Hr.setAttributeNS(null,"height","100%"),Hr.setAttributeNS(null,"x",tt.toString()),Hr.setAttributeNS(null,"y",Ot.toString()),Hr.setAttributeNS(null,"externalResourcesRequired","true"),Lr.appendChild(Hr),Hr.appendChild(tr),Lr},Aa=function(ie){return new Promise(function(He,tt){var Ot=new Image;Ot.onload=function(){return He(Ot)},Ot.onerror=tt,Ot.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ie))})},ua={get SUPPORT_RANGE_BOUNDS(){var $e=Ni(document);return Object.defineProperty(ua,"SUPPORT_RANGE_BOUNDS",{value:$e}),$e},get SUPPORT_SVG_DRAWING(){var $e=Li(document);return Object.defineProperty(ua,"SUPPORT_SVG_DRAWING",{value:$e}),$e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var $e=typeof Array.from=="function"&&typeof window.fetch=="function"?Xi(document):Promise.resolve(!1);return Object.defineProperty(ua,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:$e}),$e},get SUPPORT_CORS_IMAGES(){var $e=$n();return Object.defineProperty(ua,"SUPPORT_CORS_IMAGES",{value:$e}),$e},get SUPPORT_RESPONSE_TYPE(){var $e=Ai();return Object.defineProperty(ua,"SUPPORT_RESPONSE_TYPE",{value:$e}),$e},get SUPPORT_CORS_XHR(){var $e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(ua,"SUPPORT_CORS_XHR",{value:$e}),$e}},la=function(){function $e(ie){var He=ie.id,tt=ie.enabled;this.id=He,this.enabled=tt,this.start=Date.now()}return $e.prototype.debug=function(){for(var ie=[],He=0;He<arguments.length;He++)ie[He]=arguments[He];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,[this.id,this.getTime()+"ms"].concat(ie)):this.info.apply(this,ie))},$e.prototype.getTime=function(){return Date.now()-this.start},$e.create=function(ie){$e.instances[ie.id]=new $e(ie)},$e.destroy=function(ie){delete $e.instances[ie]},$e.getInstance=function(ie){var He=$e.instances[ie];if(typeof He=="undefined")throw new Error("No logger instance found with id "+ie);return He},$e.prototype.info=function(){for(var ie=[],He=0;He<arguments.length;He++)ie[He]=arguments[He];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,[this.id,this.getTime()+"ms"].concat(ie)))},$e.prototype.error=function(){for(var ie=[],He=0;He<arguments.length;He++)ie[He]=arguments[He];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,[this.id,this.getTime()+"ms"].concat(ie)):this.info.apply(this,ie))},$e.instances={},$e}(),gi=function(){function $e(){}return $e.create=function(ie,He){return $e._caches[ie]=new Pa(ie,He)},$e.destroy=function(ie){delete $e._caches[ie]},$e.open=function(ie){var He=$e._caches[ie];if(typeof He!="undefined")return He;throw new Error('Cache with key "'+ie+'" not found')},$e.getOrigin=function(ie){var He=$e._link;return He?(He.href=ie,He.href=He.href,He.protocol+He.hostname+He.port):"about:blank"},$e.isSameOrigin=function(ie){return $e.getOrigin(ie)===$e._origin},$e.setContext=function(ie){$e._link=ie.document.createElement("a"),$e._origin=$e.getOrigin(ie.location.href)},$e.getInstance=function(){var ie=$e._current;if(ie===null)throw new Error("No cache instance attached");return ie},$e.attachInstance=function(ie){$e._current=ie},$e.detachInstance=function(){$e._current=null},$e._caches={},$e._origin="about:blank",$e._current=null,$e}(),Pa=function(){function $e(ie,He){this.id=ie,this._options=He,this._cache={}}return $e.prototype.addImage=function(ie){var He=Promise.resolve();return this.has(ie)||(ba(ie)||Xa(ie))&&(this._cache[ie]=this.loadImage(ie)),He},$e.prototype.match=function(ie){return this._cache[ie]},$e.prototype.loadImage=function(ie){return m(this,void 0,void 0,function(){var He,tt,Ot,tr,vr=this;return y(this,function(Lr){switch(Lr.label){case 0:return He=gi.isSameOrigin(ie),tt=!zi(ie)&&this._options.useCORS===!0&&ua.SUPPORT_CORS_IMAGES&&!He,Ot=!zi(ie)&&!He&&typeof this._options.proxy=="string"&&ua.SUPPORT_CORS_XHR&&!tt,!He&&this._options.allowTaint===!1&&!zi(ie)&&!Ot&&!tt?[2]:(tr=ie,Ot?[4,this.proxy(tr)]:[3,2]);case 1:tr=Lr.sent(),Lr.label=2;case 2:return la.getInstance(this.id).debug("Added image "+ie.substring(0,256)),[4,new Promise(function(Hr,zr){var un=new Image;un.onload=function(){return Hr(un)},un.onerror=zr,(Ki(tr)||tt)&&(un.crossOrigin="anonymous"),un.src=tr,un.complete===!0&&setTimeout(function(){return Hr(un)},500),vr._options.imageTimeout>0&&setTimeout(function(){return zr("Timed out ("+vr._options.imageTimeout+"ms) loading image")},vr._options.imageTimeout)})];case 3:return[2,Lr.sent()]}})})},$e.prototype.has=function(ie){return typeof this._cache[ie]!="undefined"},$e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},$e.prototype.proxy=function(ie){var He=this,tt=this._options.proxy;if(!tt)throw new Error("No proxy defined");var Ot=ie.substring(0,256);return new Promise(function(tr,vr){var Lr=ua.SUPPORT_RESPONSE_TYPE?"blob":"text",Hr=new XMLHttpRequest;if(Hr.onload=function(){if(Hr.status===200)if(Lr==="text")tr(Hr.response);else{var un=new FileReader;un.addEventListener("load",function(){return tr(un.result)},!1),un.addEventListener("error",function(sn){return vr(sn)},!1),un.readAsDataURL(Hr.response)}else vr("Failed to proxy resource "+Ot+" with status code "+Hr.status)},Hr.onerror=vr,Hr.open("GET",tt+"?url="+encodeURIComponent(ie)+"&responseType="+Lr),Lr!=="text"&&Hr instanceof XMLHttpRequest&&(Hr.responseType=Lr),He._options.imageTimeout){var zr=He._options.imageTimeout;Hr.timeout=zr,Hr.ontimeout=function(){return vr("Timed out ("+zr+"ms) proxying "+Ot)}}Hr.send()})},$e}(),Ma=/^data:image\/svg\+xml/i,ra=/^data:image\/.*;base64,/i,Yi=/^data:image\/.*/i,Xa=function(ie){return ua.SUPPORT_SVG_DRAWING||!Ua(ie)},zi=function(ie){return Yi.test(ie)},Ki=function(ie){return ra.test(ie)},ba=function(ie){return ie.substr(0,4)==="blob"},Ua=function(ie){return ie.substr(-3).toLowerCase()==="svg"||Ma.test(ie)},wa=function(ie){var He=vn(180),tt=[],Ot=Ca.LINEAR_GRADIENT,tr=La.CIRCLE,vr=ki.FARTHEST_CORNER,Lr=[];return Kr(ie).forEach(function(Hr,zr){var un=Hr[0];if(zr===0){if(Zt(un)&&un.value==="linear"){Ot=Ca.LINEAR_GRADIENT;return}else if(Zt(un)&&un.value==="radial"){Ot=Ca.RADIAL_GRADIENT;return}}if(un.type===Ke.FUNCTION){if(un.name==="from"){var sn=Rn.parse(un.values[0]);tt.push({stop:Vt,color:sn})}else if(un.name==="to"){var sn=Rn.parse(un.values[0]);tt.push({stop:br,color:sn})}else if(un.name==="color-stop"){var kn=un.values.filter(Er);if(kn.length===2){var sn=Rn.parse(kn[1]),si=kn[0];jt(si)&&tt.push({stop:{type:Ke.PERCENTAGE_TOKEN,number:si.number*100,flags:si.flags},color:sn})}}}}),Ot===Ca.LINEAR_GRADIENT?{angle:(He+vn(180))%vn(360),stops:tt,type:Ot}:{size:vr,shape:tr,stops:tt,position:Lr,type:Ot}},vi="closest-side",Ya="farthest-side",za="closest-corner",pa="farthest-corner",Oi="circle",So="ellipse",Ka="cover",ja="contain",qa=function(ie){var He=La.CIRCLE,tt=ki.FARTHEST_CORNER,Ot=[],tr=[];return Kr(ie).forEach(function(vr,Lr){var Hr=!0;if(Lr===0){var zr=!1;Hr=vr.reduce(function(sn,kn){if(zr)if(Zt(kn))switch(kn.value){case"center":return tr.push(sr),sn;case"top":case"left":return tr.push(Vt),sn;case"right":case"bottom":return tr.push(br),sn}else(an(kn)||Jr(kn))&&tr.push(kn);else if(Zt(kn))switch(kn.value){case Oi:return He=La.CIRCLE,!1;case So:return He=La.ELLIPSE,!1;case"at":return zr=!0,!1;case vi:return tt=ki.CLOSEST_SIDE,!1;case Ka:case Ya:return tt=ki.FARTHEST_SIDE,!1;case ja:case za:return tt=ki.CLOSEST_CORNER,!1;case pa:return tt=ki.FARTHEST_CORNER,!1}else if(Jr(kn)||an(kn))return Array.isArray(tt)||(tt=[]),tt.push(kn),!1;return sn},Hr)}if(Hr){var un=Mi(vr);Ot.push(un)}}),{size:tt,shape:He,stops:Ot,position:tr,type:Ca.RADIAL_GRADIENT}},ho=function(ie){var He=La.CIRCLE,tt=ki.FARTHEST_CORNER,Ot=[],tr=[];return Kr(ie).forEach(function(vr,Lr){var Hr=!0;if(Lr===0?Hr=vr.reduce(function(un,sn){if(Zt(sn))switch(sn.value){case"center":return tr.push(sr),!1;case"top":case"left":return tr.push(Vt),!1;case"right":case"bottom":return tr.push(br),!1}else if(an(sn)||Jr(sn))return tr.push(sn),!1;return un},Hr):Lr===1&&(Hr=vr.reduce(function(un,sn){if(Zt(sn))switch(sn.value){case Oi:return He=La.CIRCLE,!1;case So:return He=La.ELLIPSE,!1;case ja:case vi:return tt=ki.CLOSEST_SIDE,!1;case Ya:return tt=ki.FARTHEST_SIDE,!1;case za:return tt=ki.CLOSEST_CORNER,!1;case Ka:case pa:return tt=ki.FARTHEST_CORNER,!1}else if(Jr(sn)||an(sn))return Array.isArray(tt)||(tt=[]),tt.push(sn),!1;return un},Hr)),Hr){var zr=Mi(vr);Ot.push(zr)}}),{size:tt,shape:He,stops:Ot,position:tr,type:Ca.RADIAL_GRADIENT}},Ca;(function($e){$e[$e.URL=0]="URL",$e[$e.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",$e[$e.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"})(Ca||(Ca={}));var to=function(ie){return ie.type===Ca.LINEAR_GRADIENT},_o=function(ie){return ie.type===Ca.RADIAL_GRADIENT},La;(function($e){$e[$e.CIRCLE=0]="CIRCLE",$e[$e.ELLIPSE=1]="ELLIPSE"})(La||(La={}));var ki;(function($e){$e[$e.CLOSEST_SIDE=0]="CLOSEST_SIDE",$e[$e.FARTHEST_SIDE=1]="FARTHEST_SIDE",$e[$e.CLOSEST_CORNER=2]="CLOSEST_CORNER",$e[$e.FARTHEST_CORNER=3]="FARTHEST_CORNER"})(ki||(ki={}));var Za={name:"image",parse:function(ie){if(ie.type===Ke.URL_TOKEN){var He={url:ie.value,type:Ca.URL};return gi.getInstance().addImage(ie.value),He}if(ie.type===Ke.FUNCTION){var tt=pi[ie.name];if(typeof tt=="undefined")throw new Error('Attempting to parse an unsupported image function "'+ie.name+'"');return tt(ie.values)}throw new Error("Unsupported image type")}};function Da($e){return $e.type!==Ke.FUNCTION||pi[$e.name]}var pi={"linear-gradient":oa,"-moz-linear-gradient":sa,"-ms-linear-gradient":sa,"-o-linear-gradient":sa,"-webkit-linear-gradient":sa,"radial-gradient":qa,"-moz-radial-gradient":ho,"-ms-radial-gradient":ho,"-o-radial-gradient":ho,"-webkit-radial-gradient":ho,"-webkit-gradient":wa},Gi={name:"background-image",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(ie){if(ie.length===0)return[];var He=ie[0];return He.type===Ke.IDENT_TOKEN&&He.value==="none"?[]:ie.filter(function(tt){return Er(tt)&&Da(tt)}).map(Za.parse)}},oo={name:"background-origin",initialValue:"border-box",prefix:!1,type:Un.LIST,parse:function(ie){return ie.map(function(He){if(Zt(He))switch(He.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},go={name:"background-position",initialValue:"0% 0%",type:Un.LIST,prefix:!1,parse:function(ie){return Kr(ie).map(function(He){return He.filter(an)}).map(xt)}},fo;(function($e){$e[$e.REPEAT=0]="REPEAT",$e[$e.NO_REPEAT=1]="NO_REPEAT",$e[$e.REPEAT_X=2]="REPEAT_X",$e[$e.REPEAT_Y=3]="REPEAT_Y"})(fo||(fo={}));var Ta={name:"background-repeat",initialValue:"repeat",prefix:!1,type:Un.LIST,parse:function(ie){return Kr(ie).map(function(He){return He.filter(Zt).map(function(tt){return tt.value}).join(" ")}).map(Fi)}},Fi=function(ie){switch(ie){case"no-repeat":return fo.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return fo.REPEAT_X;case"repeat-y":case"no-repeat repeat":return fo.REPEAT_Y;case"repeat":default:return fo.REPEAT}},Ra;(function($e){$e.AUTO="auto",$e.CONTAIN="contain",$e.COVER="cover"})(Ra||(Ra={}));var Vo={name:"background-size",initialValue:"0",prefix:!1,type:Un.LIST,parse:function(ie){return Kr(ie).map(function(He){return He.filter(ro)})}},ro=function(ie){return Zt(ie)||an(ie)},vo=function(ie){return{name:"border-"+ie+"-color",initialValue:"transparent",prefix:!1,type:Un.TYPE_VALUE,format:"color"}},po=vo("top"),Ji=vo("right"),xo=vo("bottom"),is=vo("left"),Zo=function(ie){return{name:"border-radius-"+ie,initialValue:"0 0",prefix:!1,type:Un.LIST,parse:function(tt){return xt(tt.filter(an))}}},Is=Zo("top-left"),Cs=Zo("top-right"),Ts=Zo("bottom-right"),Go=Zo("bottom-left"),bo;(function($e){$e[$e.NONE=0]="NONE",$e[$e.SOLID=1]="SOLID"})(bo||(bo={}));var Ja=function(ie){return{name:"border-"+ie+"-style",initialValue:"solid",prefix:!1,type:Un.IDENT_VALUE,parse:function(tt){switch(tt){case"none":return bo.NONE}return bo.SOLID}}},Ga=Ja("top"),so=Ja("right"),ps=Ja("bottom"),Sr=Ja("left"),Xo=function(ie){return{name:"border-"+ie+"-width",initialValue:"0",type:Un.VALUE,prefix:!1,parse:function(tt){return it(tt)?tt.number:0}}},ss=Xo("top"),_s=Xo("right"),ka=Xo("bottom"),_a=Xo("left"),Oo={name:"color",initialValue:"transparent",prefix:!1,type:Un.TYPE_VALUE,format:"color"},Lo={name:"display",initialValue:"inline-block",prefix:!1,type:Un.LIST,parse:function(ie){return ie.filter(Zt).reduce(function(He,tt){return He|ts(tt.value)},0)}},ts=function(ie){switch(ie){case"block":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Bo;(function($e){$e[$e.NONE=0]="NONE",$e[$e.LEFT=1]="LEFT",$e[$e.RIGHT=2]="RIGHT",$e[$e.INLINE_START=3]="INLINE_START",$e[$e.INLINE_END=4]="INLINE_END"})(Bo||(Bo={}));var rs={name:"float",initialValue:"none",prefix:!1,type:Un.IDENT_VALUE,parse:function(ie){switch(ie){case"left":return Bo.LEFT;case"right":return Bo.RIGHT;case"inline-start":return Bo.INLINE_START;case"inline-end":return Bo.INLINE_END}return Bo.NONE}},ms={name:"letter-spacing",initialValue:"0",prefix:!1,type:Un.VALUE,parse:function(ie){return ie.type===Ke.IDENT_TOKEN&&ie.value==="normal"?0:ie.type===Ke.NUMBER_TOKEN||ie.type===Ke.DIMENSION_TOKEN?ie.number:0}},ls;(function($e){$e.NORMAL="normal",$e.STRICT="strict"})(ls||(ls={}));var Ns={name:"line-break",initialValue:"normal",prefix:!1,type:Un.IDENT_VALUE,parse:function(ie){switch(ie){case"strict":return ls.STRICT;case"normal":default:return ls.NORMAL}}},Ds={name:"line-height",initialValue:"normal",prefix:!1,type:Un.TOKEN_VALUE},as=function(ie,He){return Zt(ie)&&ie.value==="normal"?1.2*He:ie.type===Ke.NUMBER_TOKEN?He*ie.number:an(ie)?Dr(ie,He):He},$s={name:"list-style-image",initialValue:"none",type:Un.VALUE,prefix:!1,parse:function(ie){return ie.type===Ke.IDENT_TOKEN&&ie.value==="none"?null:Za.parse(ie)}},us;(function($e){$e[$e.INSIDE=0]="INSIDE",$e[$e.OUTSIDE=1]="OUTSIDE"})(us||(us={}));var Mo={name:"list-style-position",initialValue:"outside",prefix:!1,type:Un.IDENT_VALUE,parse:function(ie){switch(ie){case"inside":return us.INSIDE;case"outside":default:return us.OUTSIDE}}},Dn;(function($e){$e[$e.NONE=-1]="NONE",$e[$e.DISC=0]="DISC",$e[$e.CIRCLE=1]="CIRCLE",$e[$e.SQUARE=2]="SQUARE",$e[$e.DECIMAL=3]="DECIMAL",$e[$e.CJK_DECIMAL=4]="CJK_DECIMAL",$e[$e.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",$e[$e.LOWER_ROMAN=6]="LOWER_ROMAN",$e[$e.UPPER_ROMAN=7]="UPPER_ROMAN",$e[$e.LOWER_GREEK=8]="LOWER_GREEK",$e[$e.LOWER_ALPHA=9]="LOWER_ALPHA",$e[$e.UPPER_ALPHA=10]="UPPER_ALPHA",$e[$e.ARABIC_INDIC=11]="ARABIC_INDIC",$e[$e.ARMENIAN=12]="ARMENIAN",$e[$e.BENGALI=13]="BENGALI",$e[$e.CAMBODIAN=14]="CAMBODIAN",$e[$e.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",$e[$e.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",$e[$e.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",$e[$e.DEVANAGARI=18]="DEVANAGARI",$e[$e.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",$e[$e.GEORGIAN=20]="GEORGIAN",$e[$e.GUJARATI=21]="GUJARATI",$e[$e.GURMUKHI=22]="GURMUKHI",$e[$e.HEBREW=22]="HEBREW",$e[$e.HIRAGANA=23]="HIRAGANA",$e[$e.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",$e[$e.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",$e[$e.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",$e[$e.KANNADA=27]="KANNADA",$e[$e.KATAKANA=28]="KATAKANA",$e[$e.KATAKANA_IROHA=29]="KATAKANA_IROHA",$e[$e.KHMER=30]="KHMER",$e[$e.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",$e[$e.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",$e[$e.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",$e[$e.LAO=34]="LAO",$e[$e.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",$e[$e.MALAYALAM=36]="MALAYALAM",$e[$e.MONGOLIAN=37]="MONGOLIAN",$e[$e.MYANMAR=38]="MYANMAR",$e[$e.ORIYA=39]="ORIYA",$e[$e.PERSIAN=40]="PERSIAN",$e[$e.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",$e[$e.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",$e[$e.TAMIL=43]="TAMIL",$e[$e.TELUGU=44]="TELUGU",$e[$e.THAI=45]="THAI",$e[$e.TIBETAN=46]="TIBETAN",$e[$e.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",$e[$e.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",$e[$e.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",$e[$e.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",$e[$e.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"})(Dn||(Dn={}));var Vs={name:"list-style-type",initialValue:"none",prefix:!1,type:Un.IDENT_VALUE,parse:function(ie){switch(ie){case"disc":return Dn.DISC;case"circle":return Dn.CIRCLE;case"square":return Dn.SQUARE;case"decimal":return Dn.DECIMAL;case"cjk-decimal":return Dn.CJK_DECIMAL;case"decimal-leading-zero":return Dn.DECIMAL_LEADING_ZERO;case"lower-roman":return Dn.LOWER_ROMAN;case"upper-roman":return Dn.UPPER_ROMAN;case"lower-greek":return Dn.LOWER_GREEK;case"lower-alpha":return Dn.LOWER_ALPHA;case"upper-alpha":return Dn.UPPER_ALPHA;case"arabic-indic":return Dn.ARABIC_INDIC;case"armenian":return Dn.ARMENIAN;case"bengali":return Dn.BENGALI;case"cambodian":return Dn.CAMBODIAN;case"cjk-earthly-branch":return Dn.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return Dn.CJK_HEAVENLY_STEM;case"cjk-ideographic":return Dn.CJK_IDEOGRAPHIC;case"devanagari":return Dn.DEVANAGARI;case"ethiopic-numeric":return Dn.ETHIOPIC_NUMERIC;case"georgian":return Dn.GEORGIAN;case"gujarati":return Dn.GUJARATI;case"gurmukhi":return Dn.GURMUKHI;case"hebrew":return Dn.HEBREW;case"hiragana":return Dn.HIRAGANA;case"hiragana-iroha":return Dn.HIRAGANA_IROHA;case"japanese-formal":return Dn.JAPANESE_FORMAL;case"japanese-informal":return Dn.JAPANESE_INFORMAL;case"kannada":return Dn.KANNADA;case"katakana":return Dn.KATAKANA;case"katakana-iroha":return Dn.KATAKANA_IROHA;case"khmer":return Dn.KHMER;case"korean-hangul-formal":return Dn.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return Dn.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return Dn.KOREAN_HANJA_INFORMAL;case"lao":return Dn.LAO;case"lower-armenian":return Dn.LOWER_ARMENIAN;case"malayalam":return Dn.MALAYALAM;case"mongolian":return Dn.MONGOLIAN;case"myanmar":return Dn.MYANMAR;case"oriya":return Dn.ORIYA;case"persian":return Dn.PERSIAN;case"simp-chinese-formal":return Dn.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return Dn.SIMP_CHINESE_INFORMAL;case"tamil":return Dn.TAMIL;case"telugu":return Dn.TELUGU;case"thai":return Dn.THAI;case"tibetan":return Dn.TIBETAN;case"trad-chinese-formal":return Dn.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return Dn.TRAD_CHINESE_INFORMAL;case"upper-armenian":return Dn.UPPER_ARMENIAN;case"disclosure-open":return Dn.DISCLOSURE_OPEN;case"disclosure-closed":return Dn.DISCLOSURE_CLOSED;case"none":default:return Dn.NONE}}},Os=function(ie){return{name:"margin-"+ie,initialValue:"0",prefix:!1,type:Un.TOKEN_VALUE}},Pt=Os("top"),me=Os("right"),Le=Os("bottom"),Ne=Os("left"),Qe;(function($e){$e[$e.VISIBLE=0]="VISIBLE",$e[$e.HIDDEN=1]="HIDDEN",$e[$e.SCROLL=2]="SCROLL",$e[$e.AUTO=3]="AUTO"})(Qe||(Qe={}));var Ct={name:"overflow",initialValue:"visible",prefix:!1,type:Un.LIST,parse:function(ie){return ie.filter(Zt).map(function(He){switch(He.value){case"hidden":return Qe.HIDDEN;case"scroll":return Qe.SCROLL;case"auto":return Qe.AUTO;case"visible":default:return Qe.VISIBLE}})}},Ut;(function($e){$e.NORMAL="normal",$e.BREAK_WORD="break-word"})(Ut||(Ut={}));var hr={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:Un.IDENT_VALUE,parse:function(ie){switch(ie){case"break-word":return Ut.BREAK_WORD;case"normal":default:return Ut.NORMAL}}},gr=function(ie){return{name:"padding-"+ie,initialValue:"0",prefix:!1,type:Un.TYPE_VALUE,format:"length-percentage"}},Rr=gr("top"),$r=gr("right"),ln=gr("bottom"),yn=gr("left"),Cn;(function($e){$e[$e.LEFT=0]="LEFT",$e[$e.CENTER=1]="CENTER",$e[$e.RIGHT=2]="RIGHT"})(Cn||(Cn={}));var Qn={name:"text-align",initialValue:"left",prefix:!1,type:Un.IDENT_VALUE,parse:function(ie){switch(ie){case"right":return Cn.RIGHT;case"center":case"justify":return Cn.CENTER;case"left":default:return Cn.LEFT}}},ti;(function($e){$e[$e.STATIC=0]="STATIC",$e[$e.RELATIVE=1]="RELATIVE",$e[$e.ABSOLUTE=2]="ABSOLUTE",$e[$e.FIXED=3]="FIXED",$e[$e.STICKY=4]="STICKY"})(ti||(ti={}));var wi={name:"position",initialValue:"static",prefix:!1,type:Un.IDENT_VALUE,parse:function(ie){switch(ie){case"relative":return ti.RELATIVE;case"absolute":return ti.ABSOLUTE;case"fixed":return ti.FIXED;case"sticky":return ti.STICKY}return ti.STATIC}},ea={name:"text-shadow",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(ie){return ie.length===1&&Or(ie[0],"none")?[]:Kr(ie).map(function(He){for(var tt={color:_i.TRANSPARENT,offsetX:Vt,offsetY:Vt,blur:Vt},Ot=0,tr=0;tr<He.length;tr++){var vr=He[tr];Jr(vr)?(Ot===0?tt.offsetX=vr:Ot===1?tt.offsetY=vr:tt.blur=vr,Ot++):tt.color=Rn.parse(vr)}return tt})}},ji;(function($e){$e[$e.NONE=0]="NONE",$e[$e.LOWERCASE=1]="LOWERCASE",$e[$e.UPPERCASE=2]="UPPERCASE",$e[$e.CAPITALIZE=3]="CAPITALIZE"})(ji||(ji={}));var Sa={name:"text-transform",initialValue:"none",prefix:!1,type:Un.IDENT_VALUE,parse:function(ie){switch(ie){case"uppercase":return ji.UPPERCASE;case"lowercase":return ji.LOWERCASE;case"capitalize":return ji.CAPITALIZE}return ji.NONE}},lo={name:"transform",initialValue:"none",prefix:!0,type:Un.VALUE,parse:function(ie){if(ie.type===Ke.IDENT_TOKEN&&ie.value==="none")return null;if(ie.type===Ke.FUNCTION){var He=Ao[ie.name];if(typeof He=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+ie.name+'"');return He(ie.values)}return null}},Wa=function(ie){var He=ie.filter(function(tt){return tt.type===Ke.NUMBER_TOKEN}).map(function(tt){return tt.number});return He.length===6?He:null},yo=function(ie){var He=ie.filter(function(Ia){return Ia.type===Ke.NUMBER_TOKEN}).map(function(Ia){return Ia.number}),tt=He[0],Ot=He[1],tr=He[2],vr=He[3],Lr=He[4],Hr=He[5],zr=He[6],un=He[7],sn=He[8],kn=He[9],si=He[10],zn=He[11],fi=He[12],da=He[13],Ti=He[14],na=He[15];return He.length===16?[tt,Ot,Lr,Hr,fi,da]:null},Ao={matrix:Wa,matrix3d:yo},$a={type:Ke.PERCENTAGE_TOKEN,number:50,flags:It},ko=[$a,$a],No={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:Un.LIST,parse:function(ie){var He=ie.filter(an);return He.length!==2?ko:[He[0],He[1]]}},Ha;(function($e){$e[$e.VISIBLE=0]="VISIBLE",$e[$e.HIDDEN=1]="HIDDEN",$e[$e.COLLAPSE=2]="COLLAPSE"})(Ha||(Ha={}));var jo={name:"visible",initialValue:"none",prefix:!1,type:Un.IDENT_VALUE,parse:function(ie){switch(ie){case"hidden":return Ha.HIDDEN;case"collapse":return Ha.COLLAPSE;case"visible":default:return Ha.VISIBLE}}},Fo;(function($e){$e.NORMAL="normal",$e.BREAK_ALL="break-all",$e.KEEP_ALL="keep-all"})(Fo||(Fo={}));var Qo={name:"word-break",initialValue:"normal",prefix:!1,type:Un.IDENT_VALUE,parse:function(ie){switch(ie){case"break-all":return Fo.BREAK_ALL;case"keep-all":return Fo.KEEP_ALL;case"normal":default:return Fo.NORMAL}}},wo={name:"z-index",initialValue:"auto",prefix:!1,type:Un.VALUE,parse:function(ie){if(ie.type===Ke.IDENT_TOKEN)return{auto:!0,order:0};if(jt(ie))return{auto:!1,order:ie.number};throw new Error("Invalid z-index number parsed")}},cs={name:"opacity",initialValue:"1",type:Un.VALUE,prefix:!1,parse:function(ie){return jt(ie)?ie.number:1}},ns={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:Un.TYPE_VALUE,format:"color"},Xs={name:"text-decoration-line",initialValue:"none",prefix:!1,type:Un.LIST,parse:function(ie){return ie.filter(Zt).map(function(He){switch(He.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(He){return He!==0})}},Ys={name:"font-family",initialValue:"",prefix:!1,type:Un.LIST,parse:function(ie){var He=[],tt=[];return ie.forEach(function(Ot){switch(Ot.type){case Ke.IDENT_TOKEN:case Ke.STRING_TOKEN:He.push(Ot.value);break;case Ke.NUMBER_TOKEN:He.push(Ot.number.toString());break;case Ke.COMMA_TOKEN:tt.push(He.join(" ")),He.length=0;break}}),He.length&&tt.push(He.join(" ")),tt.map(function(Ot){return Ot.indexOf(" ")===-1?Ot:"'"+Ot+"'"})}},Yo={name:"font-size",initialValue:"0",prefix:!1,type:Un.TYPE_VALUE,format:"length"},Eo={name:"font-weight",initialValue:"normal",type:Un.VALUE,prefix:!1,parse:function(ie){if(jt(ie))return ie.number;if(Zt(ie))switch(ie.value){case"bold":return 700;case"normal":default:return 400}return 400}},ds={name:"font-variant",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(ie){return ie.filter(Zt).map(function(He){return He.value})}},hs;(function($e){$e.NORMAL="normal",$e.ITALIC="italic",$e.OBLIQUE="oblique"})(hs||(hs={}));var Rs={name:"font-style",initialValue:"normal",prefix:!1,type:Un.IDENT_VALUE,parse:function(ie){switch(ie){case"oblique":return hs.OBLIQUE;case"italic":return hs.ITALIC;case"normal":default:return hs.NORMAL}}},Do=function(ie,He){return(ie&He)!==0},ys={name:"content",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(ie){if(ie.length===0)return[];var He=ie[0];return He.type===Ke.IDENT_TOKEN&&He.value==="none"?[]:ie}},Ms={name:"counter-increment",initialValue:"none",prefix:!0,type:Un.LIST,parse:function(ie){if(ie.length===0)return null;var He=ie[0];if(He.type===Ke.IDENT_TOKEN&&He.value==="none")return null;for(var tt=[],Ot=ie.filter(wr),tr=0;tr<Ot.length;tr++){var vr=Ot[tr],Lr=Ot[tr+1];if(vr.type===Ke.IDENT_TOKEN){var Hr=Lr&&jt(Lr)?Lr.number:1;tt.push({counter:vr.value,increment:Hr})}}return tt}},As={name:"counter-reset",initialValue:"none",prefix:!0,type:Un.LIST,parse:function(ie){if(ie.length===0)return[];for(var He=[],tt=ie.filter(wr),Ot=0;Ot<tt.length;Ot++){var tr=tt[Ot],vr=tt[Ot+1];if(Zt(tr)&&tr.value!=="none"){var Lr=vr&&jt(vr)?vr.number:0;He.push({counter:tr.value,reset:Lr})}}return He}},ks={name:"quotes",initialValue:"none",prefix:!0,type:Un.LIST,parse:function(ie){if(ie.length===0)return null;var He=ie[0];if(He.type===Ke.IDENT_TOKEN&&He.value==="none")return null;var tt=[],Ot=ie.filter(nr);if(Ot.length%2!==0)return null;for(var tr=0;tr<Ot.length;tr+=2){var vr=Ot[tr].value,Lr=Ot[tr+1].value;tt.push({open:vr,close:Lr})}return tt}},Hs=function(ie,He,tt){if(!ie)return"";var Ot=ie[Math.min(He,ie.length-1)];return Ot?tt?Ot.open:Ot.close:""},bs={name:"box-shadow",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(ie){return ie.length===1&&Or(ie[0],"none")?[]:Kr(ie).map(function(He){for(var tt={color:255,offsetX:Vt,offsetY:Vt,blur:Vt,spread:Vt,inset:!1},Ot=0,tr=0;tr<He.length;tr++){var vr=He[tr];Or(vr,"inset")?tt.inset=!0:Jr(vr)?(Ot===0?tt.offsetX=vr:Ot===1?tt.offsetY=vr:Ot===2?tt.blur=vr:tt.spread=vr,Ot++):tt.color=Rn.parse(vr)}return tt})}},ca=function(){function $e(ie){this.backgroundClip=Wn(fa,ie.backgroundClip),this.backgroundColor=Wn(Ui,ie.backgroundColor),this.backgroundImage=Wn(Gi,ie.backgroundImage),this.backgroundOrigin=Wn(oo,ie.backgroundOrigin),this.backgroundPosition=Wn(go,ie.backgroundPosition),this.backgroundRepeat=Wn(Ta,ie.backgroundRepeat),this.backgroundSize=Wn(Vo,ie.backgroundSize),this.borderTopColor=Wn(po,ie.borderTopColor),this.borderRightColor=Wn(Ji,ie.borderRightColor),this.borderBottomColor=Wn(xo,ie.borderBottomColor),this.borderLeftColor=Wn(is,ie.borderLeftColor),this.borderTopLeftRadius=Wn(Is,ie.borderTopLeftRadius),this.borderTopRightRadius=Wn(Cs,ie.borderTopRightRadius),this.borderBottomRightRadius=Wn(Ts,ie.borderBottomRightRadius),this.borderBottomLeftRadius=Wn(Go,ie.borderBottomLeftRadius),this.borderTopStyle=Wn(Ga,ie.borderTopStyle),this.borderRightStyle=Wn(so,ie.borderRightStyle),this.borderBottomStyle=Wn(ps,ie.borderBottomStyle),this.borderLeftStyle=Wn(Sr,ie.borderLeftStyle),this.borderTopWidth=Wn(ss,ie.borderTopWidth),this.borderRightWidth=Wn(_s,ie.borderRightWidth),this.borderBottomWidth=Wn(ka,ie.borderBottomWidth),this.borderLeftWidth=Wn(_a,ie.borderLeftWidth),this.boxShadow=Wn(bs,ie.boxShadow),this.color=Wn(Oo,ie.color),this.display=Wn(Lo,ie.display),this.float=Wn(rs,ie.cssFloat),this.fontFamily=Wn(Ys,ie.fontFamily),this.fontSize=Wn(Yo,ie.fontSize),this.fontStyle=Wn(Rs,ie.fontStyle),this.fontVariant=Wn(ds,ie.fontVariant),this.fontWeight=Wn(Eo,ie.fontWeight),this.letterSpacing=Wn(ms,ie.letterSpacing),this.lineBreak=Wn(Ns,ie.lineBreak),this.lineHeight=Wn(Ds,ie.lineHeight),this.listStyleImage=Wn($s,ie.listStyleImage),this.listStylePosition=Wn(Mo,ie.listStylePosition),this.listStyleType=Wn(Vs,ie.listStyleType),this.marginTop=Wn(Pt,ie.marginTop),this.marginRight=Wn(me,ie.marginRight),this.marginBottom=Wn(Le,ie.marginBottom),this.marginLeft=Wn(Ne,ie.marginLeft),this.opacity=Wn(cs,ie.opacity);var He=Wn(Ct,ie.overflow);this.overflowX=He[0],this.overflowY=He[He.length>1?1:0],this.overflowWrap=Wn(hr,ie.overflowWrap),this.paddingTop=Wn(Rr,ie.paddingTop),this.paddingRight=Wn($r,ie.paddingRight),this.paddingBottom=Wn(ln,ie.paddingBottom),this.paddingLeft=Wn(yn,ie.paddingLeft),this.position=Wn(wi,ie.position),this.textAlign=Wn(Qn,ie.textAlign),this.textDecorationColor=Wn(ns,ie.textDecorationColor||ie.color),this.textDecorationLine=Wn(Xs,ie.textDecorationLine),this.textShadow=Wn(ea,ie.textShadow),this.textTransform=Wn(Sa,ie.textTransform),this.transform=Wn(lo,ie.transform),this.transformOrigin=Wn(No,ie.transformOrigin),this.visibility=Wn(jo,ie.visibility),this.wordBreak=Wn(Qo,ie.wordBreak),this.zIndex=Wn(wo,ie.zIndex)}return $e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===Ha.VISIBLE},$e.prototype.isTransparent=function(){return En(this.backgroundColor)},$e.prototype.isTransformed=function(){return this.transform!==null},$e.prototype.isPositioned=function(){return this.position!==ti.STATIC},$e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},$e.prototype.isFloating=function(){return this.float!==Bo.NONE},$e.prototype.isInlineLevel=function(){return Do(this.display,4)||Do(this.display,33554432)||Do(this.display,268435456)||Do(this.display,536870912)||Do(this.display,67108864)||Do(this.display,134217728)},$e}(),ci=function(){function $e(ie){this.content=Wn(ys,ie.content),this.quotes=Wn(ks,ie.quotes)}return $e}(),Bi=function(){function $e(ie){this.counterIncrement=Wn(Ms,ie.counterIncrement),this.counterReset=Wn(As,ie.counterReset)}return $e}(),Wn=function(ie,He){var tt=new Wr,Ot=He!==null&&typeof He!="undefined"?He.toString():ie.initialValue;tt.write(Ot);var tr=new hn(tt.read());switch(ie.type){case Un.IDENT_VALUE:var vr=tr.parseComponentValue();return ie.parse(Zt(vr)?vr.value:ie.initialValue);case Un.VALUE:return ie.parse(tr.parseComponentValue());case Un.LIST:return ie.parse(tr.parseComponentValues());case Un.TOKEN_VALUE:return tr.parseComponentValue();case Un.TYPE_VALUE:switch(ie.format){case"angle":return Sn.parse(tr.parseComponentValue());case"color":return Rn.parse(tr.parseComponentValue());case"image":return Za.parse(tr.parseComponentValue());case"length":var Lr=tr.parseComponentValue();return Jr(Lr)?Lr:Vt;case"length-percentage":var Hr=tr.parseComponentValue();return an(Hr)?Hr:Vt}}throw new Error("Attempting to parse unsupported css format type "+ie.format)},io=function(){function $e(ie){this.styles=new ca(window.getComputedStyle(ie,null)),this.textNodes=[],this.elements=[],this.styles.transform!==null&&nl(ie)&&(ie.style.transform="none"),this.bounds=u(ie),this.flags=0}return $e}(),qo=function(){function $e(ie,He){this.text=ie,this.bounds=He}return $e}(),gs=function(ie,He,tt){var Ot=$o(ie,He),tr=[],vr=0;return Ot.forEach(function(Lr){if(He.textDecorationLine.length||Lr.trim().length>0)if(ua.SUPPORT_RANGE_BOUNDS)tr.push(new qo(Lr,Jo(tt,vr,Lr.length)));else{var Hr=tt.splitText(Lr.length);tr.push(new qo(Lr,os(tt))),tt=Hr}else ua.SUPPORT_RANGE_BOUNDS||(tt=tt.splitText(Lr.length));vr+=Lr.length}),tr},os=function(ie){var He=ie.ownerDocument;if(He){var tt=He.createElement("html2canvaswrapper");tt.appendChild(ie.cloneNode(!0));var Ot=ie.parentNode;if(Ot){Ot.replaceChild(tt,ie);var tr=u(tt);return tt.firstChild&&Ot.replaceChild(tt.firstChild,tt),tr}}return new h(0,0,0,0)},Jo=function(ie,He,tt){var Ot=ie.ownerDocument;if(!Ot)throw new Error("Node has no owner document");var tr=Ot.createRange();return tr.setStart(ie,He),tr.setEnd(ie,He+tt),h.fromClientRect(tr.getBoundingClientRect())},$o=function(ie,He){return He.letterSpacing!==0?a(ie).map(function(tt){return r(tt)}):ws(ie,He)},ws=function(ie,He){for(var tt=qe(ie,{lineBreak:He.lineBreak,wordBreak:He.overflowWrap===Ut.BREAK_WORD?"break-word":He.wordBreak}),Ot=[],tr;!(tr=tt.next()).done;)tr.value&&Ot.push(tr.value.slice());return Ot},Ho=function(){function $e(ie,He){this.text=ll(ie.data,He.textTransform),this.textBounds=gs(this.text,He,ie)}return $e}(),ll=function(ie,He){switch(He){case ji.LOWERCASE:return ie.toLowerCase();case ji.CAPITALIZE:return ie.replace(jl,ul);case ji.UPPERCASE:return ie.toUpperCase();default:return ie}},jl=/(^|\s|:|-|\(|\))([a-z])/g,ul=function(ie,He,tt){return ie.length>0?He+tt.toUpperCase():ie},Nl=function($e){f(ie,$e);function ie(He){var tt=$e.call(this,He)||this;return tt.src=He.currentSrc||He.src,tt.intrinsicWidth=He.naturalWidth,tt.intrinsicHeight=He.naturalHeight,gi.getInstance().addImage(tt.src),tt}return ie}(io),Ls=function($e){f(ie,$e);function ie(He){var tt=$e.call(this,He)||this;return tt.canvas=He,tt.intrinsicWidth=He.width,tt.intrinsicHeight=He.height,tt}return ie}(io),Gs=function($e){f(ie,$e);function ie(He){var tt=$e.call(this,He)||this,Ot=new XMLSerializer;return tt.svg="data:image/svg+xml,"+encodeURIComponent(Ot.serializeToString(He)),tt.intrinsicWidth=He.width.baseVal.value,tt.intrinsicHeight=He.height.baseVal.value,gi.getInstance().addImage(tt.svg),tt}return ie}(io),el=function($e){f(ie,$e);function ie(He){var tt=$e.call(this,He)||this;return tt.value=He.value,tt}return ie}(io),Hl=function($e){f(ie,$e);function ie(He){var tt=$e.call(this,He)||this;return tt.start=He.start,tt.reversed=typeof He.reversed=="boolean"&&He.reversed===!0,tt}return ie}(io),zl=[{type:Ke.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],Dl=[{type:Ke.PERCENTAGE_TOKEN,flags:0,number:50}],nu=function(ie){return ie.width>ie.height?new h(ie.left+(ie.width-ie.height)/2,ie.top,ie.height,ie.height):ie.width<ie.height?new h(ie.left,ie.top+(ie.height-ie.width)/2,ie.width,ie.width):ie},iu=function(ie){var He=ie.type===au?new Array(ie.value.length+1).join("\u2022"):ie.value;return He.length===0?ie.placeholder||"":He},es="checkbox",tl="radio",au="password",Rl=707406591,Ml=function($e){f(ie,$e);function ie(He){var tt=$e.call(this,He)||this;tt.type=He.type.toLowerCase(),tt.checked=He.checked,tt.value=iu(He),(tt.type===es||tt.type===tl)&&(tt.styles.backgroundColor=3739148031,tt.styles.borderTopColor=tt.styles.borderRightColor=tt.styles.borderBottomColor=tt.styles.borderLeftColor=2779096575,tt.styles.borderTopWidth=tt.styles.borderRightWidth=tt.styles.borderBottomWidth=tt.styles.borderLeftWidth=1,tt.styles.borderTopStyle=tt.styles.borderRightStyle=tt.styles.borderBottomStyle=tt.styles.borderLeftStyle=bo.SOLID,tt.styles.backgroundClip=[Ri.BORDER_BOX],tt.styles.backgroundOrigin=[0],tt.bounds=nu(tt.bounds));switch(tt.type){case es:tt.styles.borderTopRightRadius=tt.styles.borderTopLeftRadius=tt.styles.borderBottomRightRadius=tt.styles.borderBottomLeftRadius=zl;break;case tl:tt.styles.borderTopRightRadius=tt.styles.borderTopLeftRadius=tt.styles.borderBottomRightRadius=tt.styles.borderBottomLeftRadius=Dl;break}return tt}return ie}(io),bl=function($e){f(ie,$e);function ie(He){var tt=$e.call(this,He)||this,Ot=He.options[He.selectedIndex||0];return tt.value=Ot&&Ot.text||"",tt}return ie}(io),Kl=function($e){f(ie,$e);function ie(He){var tt=$e.call(this,He)||this;return tt.value=He.value,tt}return ie}(io),cl=function(ie){return Rn.parse(hn.create(ie).parseComponentValue())},Wl=function($e){f(ie,$e);function ie(He){var tt=$e.call(this,He)||this;tt.src=He.src,tt.width=parseInt(He.width,10)||0,tt.height=parseInt(He.height,10)||0,tt.backgroundColor=tt.styles.backgroundColor;try{if(He.contentWindow&&He.contentWindow.document&&He.contentWindow.document.documentElement){tt.tree=rl(He.contentWindow.document.documentElement);var Ot=He.contentWindow.document.documentElement?cl(getComputedStyle(He.contentWindow.document.documentElement).backgroundColor):_i.TRANSPARENT,tr=He.contentWindow.document.body?cl(getComputedStyle(He.contentWindow.document.body).backgroundColor):_i.TRANSPARENT;tt.backgroundColor=En(Ot)?En(tr)?tt.styles.backgroundColor:tr:Ot}}catch(vr){}return tt}return ie}(io),ou=["OL","UL","MENU"],su=function $e(ie,He,tt){for(var Ot=ie.firstChild,tr=void 0;Ot;Ot=tr)if(tr=Ot.nextSibling,Ss(Ot)&&Ot.data.trim().length>0)He.textNodes.push(new Ho(Ot,He.styles));else if(zs(Ot)){var vr=Fs(Ot);vr.styles.isVisible()&&(wl(Ot,vr,tt)?vr.flags|=4:dl(vr.styles)&&(vr.flags|=2),ou.indexOf(Ot.tagName)!==-1&&(vr.flags|=8),He.elements.push(vr),!Cl(Ot)&&!Qs(Ot)&&!pl(Ot)&&$e(Ot,vr,tt))}},Fs=function(ie){return fl(ie)?new Nl(ie):il(ie)?new Ls(ie):Qs(ie)?new Gs(ie):Sl(ie)?new el(ie):kl(ie)?new Hl(ie):Vl(ie)?new Ml(ie):pl(ie)?new bl(ie):Cl(ie)?new Kl(ie):El(ie)?new Wl(ie):new io(ie)},rl=function(ie){var He=Fs(ie);return He.flags|=4,su(ie,He,He),He},wl=function(ie,He,tt){return He.styles.isPositionedWithZIndex()||He.styles.opacity<1||He.styles.isTransformed()||hl(ie)&&tt.styles.isTransparent()},dl=function(ie){return ie.isPositioned()||ie.isFloating()},Ss=function(ie){return ie.nodeType===Node.TEXT_NODE},zs=function(ie){return ie.nodeType===Node.ELEMENT_NODE},nl=function(ie){return zs(ie)&&typeof ie.style!="undefined"&&!Ps(ie)},Ps=function(ie){return typeof ie.className=="object"},Sl=function(ie){return ie.tagName==="LI"},kl=function(ie){return ie.tagName==="OL"},Vl=function(ie){return ie.tagName==="INPUT"},xl=function(ie){return ie.tagName==="HTML"},Qs=function(ie){return ie.tagName==="svg"},hl=function(ie){return ie.tagName==="BODY"},il=function(ie){return ie.tagName==="CANVAS"},fl=function(ie){return ie.tagName==="IMG"},El=function(ie){return ie.tagName==="IFRAME"},Ks=function(ie){return ie.tagName==="STYLE"},Xl=function(ie){return ie.tagName==="SCRIPT"},Cl=function(ie){return ie.tagName==="TEXTAREA"},pl=function(ie){return ie.tagName==="SELECT"},Tl=function(){function $e(){this.counters={}}return $e.prototype.getCounterValue=function(ie){var He=this.counters[ie];return He&&He.length?He[He.length-1]:1},$e.prototype.getCounterValues=function(ie){var He=this.counters[ie];return He||[]},$e.prototype.pop=function(ie){var He=this;ie.forEach(function(tt){return He.counters[tt].pop()})},$e.prototype.parse=function(ie){var He=this,tt=ie.counterIncrement,Ot=ie.counterReset,tr=!0;tt!==null&&tt.forEach(function(Lr){var Hr=He.counters[Lr.counter];Hr&&Lr.increment!==0&&(tr=!1,Hr[Math.max(0,Hr.length-1)]+=Lr.increment)});var vr=[];return tr&&Ot.forEach(function(Lr){var Hr=He.counters[Lr.counter];vr.push(Lr.counter),Hr||(Hr=He.counters[Lr.counter]=[]),Hr.push(Lr.reset)}),vr},$e}(),Yl={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Fl={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},ml={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},Gl={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},Zs=function(ie,He,tt,Ot,tr,vr){return ie<He||ie>tt?vl(ie,tr,vr.length>0):Ot.integers.reduce(function(Lr,Hr,zr){for(;ie>=Hr;)ie-=Hr,Lr+=Ot.values[zr];return Lr},"")+vr},Ql=function(ie,He,tt,Ot){var tr="";do tt||ie--,tr=Ot(ie)+tr,ie/=He;while(ie*He>=He);return tr},Ro=function(ie,He,tt,Ot,tr){var vr=tt-He+1;return(ie<0?"-":"")+(Ql(Math.abs(ie),vr,Ot,function(Lr){return r(Math.floor(Lr%vr)+He)})+tr)},Ws=function(ie,He,tt){tt===void 0&&(tt=". ");var Ot=He.length;return Ql(Math.abs(ie),Ot,!1,function(tr){return He[Math.floor(tr%Ot)]})+tt},al=1<<0,Bs=1<<1,Us=1<<2,gl=1<<3,xs=function(ie,He,tt,Ot,tr,vr){if(ie<-9999||ie>9999)return vl(ie,Dn.CJK_DECIMAL,tr.length>0);var Lr=Math.abs(ie),Hr=tr;if(Lr===0)return He[0]+Hr;for(var zr=0;Lr>0&&zr<=4;zr++){var un=Lr%10;un===0&&Do(vr,al)&&Hr!==""?Hr=He[un]+Hr:un>1||un===1&&zr===0||un===1&&zr===1&&Do(vr,Bs)||un===1&&zr===1&&Do(vr,Us)&&ie>100||un===1&&zr>1&&Do(vr,gl)?Hr=He[un]+(zr>0?tt[zr-1]:"")+Hr:un===1&&zr>0&&(Hr=tt[zr-1]+Hr),Lr=Math.floor(Lr/10)}return(ie<0?Ot:"")+Hr},ol="\u5341\u767E\u5343\u842C",Js="\u62FE\u4F70\u4EDF\u842C",Pl="\u30DE\u30A4\u30CA\u30B9",_l="\uB9C8\uC774\uB108\uC2A4",vl=function(ie,He,tt){var Ot=tt?". ":"",tr=tt?"\u3001":"",vr=tt?", ":"",Lr=tt?" ":"";switch(He){case Dn.DISC:return"\u2022"+Lr;case Dn.CIRCLE:return"\u25E6"+Lr;case Dn.SQUARE:return"\u25FE"+Lr;case Dn.DECIMAL_LEADING_ZERO:var Hr=Ro(ie,48,57,!0,Ot);return Hr.length<4?"0"+Hr:Hr;case Dn.CJK_DECIMAL:return Ws(ie,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",tr);case Dn.LOWER_ROMAN:return Zs(ie,1,3999,Yl,Dn.DECIMAL,Ot).toLowerCase();case Dn.UPPER_ROMAN:return Zs(ie,1,3999,Yl,Dn.DECIMAL,Ot);case Dn.LOWER_GREEK:return Ro(ie,945,969,!1,Ot);case Dn.LOWER_ALPHA:return Ro(ie,97,122,!1,Ot);case Dn.UPPER_ALPHA:return Ro(ie,65,90,!1,Ot);case Dn.ARABIC_INDIC:return Ro(ie,1632,1641,!0,Ot);case Dn.ARMENIAN:case Dn.UPPER_ARMENIAN:return Zs(ie,1,9999,Fl,Dn.DECIMAL,Ot);case Dn.LOWER_ARMENIAN:return Zs(ie,1,9999,Fl,Dn.DECIMAL,Ot).toLowerCase();case Dn.BENGALI:return Ro(ie,2534,2543,!0,Ot);case Dn.CAMBODIAN:case Dn.KHMER:return Ro(ie,6112,6121,!0,Ot);case Dn.CJK_EARTHLY_BRANCH:return Ws(ie,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",tr);case Dn.CJK_HEAVENLY_STEM:return Ws(ie,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",tr);case Dn.CJK_IDEOGRAPHIC:case Dn.TRAD_CHINESE_INFORMAL:return xs(ie,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ol,"\u8CA0",tr,Bs|Us|gl);case Dn.TRAD_CHINESE_FORMAL:return xs(ie,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Js,"\u8CA0",tr,al|Bs|Us|gl);case Dn.SIMP_CHINESE_INFORMAL:return xs(ie,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ol,"\u8D1F",tr,Bs|Us|gl);case Dn.SIMP_CHINESE_FORMAL:return xs(ie,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Js,"\u8D1F",tr,al|Bs|Us|gl);case Dn.JAPANESE_INFORMAL:return xs(ie,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Pl,tr,0);case Dn.JAPANESE_FORMAL:return xs(ie,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Pl,tr,al|Bs|Us);case Dn.KOREAN_HANGUL_FORMAL:return xs(ie,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",_l,vr,al|Bs|Us);case Dn.KOREAN_HANJA_INFORMAL:return xs(ie,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",_l,vr,0);case Dn.KOREAN_HANJA_FORMAL:return xs(ie,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",_l,vr,al|Bs|Us);case Dn.DEVANAGARI:return Ro(ie,2406,2415,!0,Ot);case Dn.GEORGIAN:return Zs(ie,1,19999,Gl,Dn.DECIMAL,Ot);case Dn.GUJARATI:return Ro(ie,2790,2799,!0,Ot);case Dn.GURMUKHI:return Ro(ie,2662,2671,!0,Ot);case Dn.HEBREW:return Zs(ie,1,10999,ml,Dn.DECIMAL,Ot);case Dn.HIRAGANA:return Ws(ie,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case Dn.HIRAGANA_IROHA:return Ws(ie,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case Dn.KANNADA:return Ro(ie,3302,3311,!0,Ot);case Dn.KATAKANA:return Ws(ie,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",tr);case Dn.KATAKANA_IROHA:return Ws(ie,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",tr);case Dn.LAO:return Ro(ie,3792,3801,!0,Ot);case Dn.MONGOLIAN:return Ro(ie,6160,6169,!0,Ot);case Dn.MYANMAR:return Ro(ie,4160,4169,!0,Ot);case Dn.ORIYA:return Ro(ie,2918,2927,!0,Ot);case Dn.PERSIAN:return Ro(ie,1776,1785,!0,Ot);case Dn.TAMIL:return Ro(ie,3046,3055,!0,Ot);case Dn.TELUGU:return Ro(ie,3174,3183,!0,Ot);case Dn.THAI:return Ro(ie,3664,3673,!0,Ot);case Dn.TIBETAN:return Ro(ie,3872,3881,!0,Ot);case Dn.DECIMAL:default:return Ro(ie,48,57,!0,Ot)}},ql="data-html2canvas-ignore",Bl=function(){function $e(ie,He){if(this.options=He,this.scrolledElements=[],this.referenceElement=ie,this.counters=new Tl,this.quoteDepth=0,!ie.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(ie.ownerDocument.documentElement)}return $e.prototype.toIFrame=function(ie,He){var tt=this,Ot=Zl(ie,He);if(!Ot.contentWindow)return Promise.reject("Unable to find iframe window");var tr=ie.defaultView.pageXOffset,vr=ie.defaultView.pageYOffset,Lr=Ot.contentWindow,Hr=Lr.document,zr=lu(Ot).then(function(){return m(tt,void 0,void 0,function(){var un;return y(this,function(sn){switch(sn.label){case 0:return this.scrolledElements.forEach(eu),Lr&&(Lr.scrollTo(He.left,He.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Lr.scrollY!==He.top||Lr.scrollX!==He.left)&&(Hr.documentElement.style.top=-He.top+"px",Hr.documentElement.style.left=-He.left+"px",Hr.documentElement.style.position="absolute")),un=this.options.onclone,typeof this.clonedReferenceElement=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Hr.fonts&&Hr.fonts.ready?[4,Hr.fonts.ready]:[3,2];case 1:sn.sent(),sn.label=2;case 2:return typeof un=="function"?[2,Promise.resolve().then(function(){return un(Hr)}).then(function(){return Ot})]:[2,Ot]}})})});return Hr.open(),Hr.write($l(document.doctype)+"<html></html>"),Ol(this.referenceElement.ownerDocument,tr,vr),Hr.replaceChild(Hr.adoptNode(this.documentElement),Hr.documentElement),Hr.close(),zr},$e.prototype.createElementClone=function(ie){if(il(ie))return this.createCanvasClone(ie);if(Ks(ie))return this.createStyleClone(ie);var He=ie.cloneNode(!1);return fl(He)&&He.loading==="lazy"&&(He.loading="eager"),He},$e.prototype.createStyleClone=function(ie){try{var He=ie.sheet;if(He&&He.cssRules){var tt=[].slice.call(He.cssRules,0).reduce(function(tr,vr){return vr&&typeof vr.cssText=="string"?tr+vr.cssText:tr},""),Ot=ie.cloneNode(!1);return Ot.textContent=tt,Ot}}catch(tr){if(la.getInstance(this.options.id).error("Unable to access cssRules property",tr),tr.name!=="SecurityError")throw tr}return ie.cloneNode(!1)},$e.prototype.createCanvasClone=function(ie){if(this.options.inlineImages&&ie.ownerDocument){var He=ie.ownerDocument.createElement("img");try{return He.src=ie.toDataURL(),He}catch(vr){la.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var tt=ie.cloneNode(!1);try{tt.width=ie.width,tt.height=ie.height;var Ot=ie.getContext("2d"),tr=tt.getContext("2d");return tr&&(Ot?tr.putImageData(Ot.getImageData(0,0,ie.width,ie.height),0,0):tr.drawImage(ie,0,0)),tt}catch(vr){}return tt},$e.prototype.cloneNode=function(ie){if(Ss(ie))return document.createTextNode(ie.data);if(!ie.ownerDocument)return ie.cloneNode(!1);var He=ie.ownerDocument.defaultView;if(He&&zs(ie)&&(nl(ie)||Ps(ie))){var tt=this.createElementClone(ie),Ot=He.getComputedStyle(ie),tr=He.getComputedStyle(ie,":before"),vr=He.getComputedStyle(ie,":after");this.referenceElement===ie&&nl(tt)&&(this.clonedReferenceElement=tt),hl(tt)&&cu(tt);for(var Lr=this.counters.parse(new Bi(Ot)),Hr=this.resolvePseudoContent(ie,tt,tr,yl.BEFORE),zr=ie.firstChild;zr;zr=zr.nextSibling)(!zs(zr)||!Xl(zr)&&!zr.hasAttribute(ql)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(zr)))&&((!this.options.copyStyles||!zs(zr)||!Ks(zr))&&tt.appendChild(this.cloneNode(zr)));Hr&&tt.insertBefore(Hr,tt.firstChild);var un=this.resolvePseudoContent(ie,tt,vr,yl.AFTER);return un&&tt.appendChild(un),this.counters.pop(Lr),Ot&&(this.options.copyStyles||Ps(ie))&&!El(ie)&&Jl(Ot,tt),(ie.scrollTop!==0||ie.scrollLeft!==0)&&this.scrolledElements.push([tt,ie.scrollLeft,ie.scrollTop]),(Cl(ie)||pl(ie))&&(Cl(tt)||pl(tt))&&(tt.value=ie.value),tt}return ie.cloneNode(!1)},$e.prototype.resolvePseudoContent=function(ie,He,tt,Ot){var tr=this;if(!tt)return;var vr=tt.content,Lr=He.ownerDocument;if(!Lr||!vr||vr==="none"||vr==="-moz-alt-content"||tt.display==="none")return;this.counters.parse(new Bi(tt));var Hr=new ci(tt),zr=Lr.createElement("html2canvaspseudoelement");Jl(tt,zr),Hr.content.forEach(function(sn){if(sn.type===Ke.STRING_TOKEN)zr.appendChild(Lr.createTextNode(sn.value));else if(sn.type===Ke.URL_TOKEN){var kn=Lr.createElement("img");kn.src=sn.value,kn.style.opacity="1",zr.appendChild(kn)}else if(sn.type===Ke.FUNCTION){if(sn.name==="attr"){var si=sn.values.filter(Zt);si.length&&zr.appendChild(Lr.createTextNode(ie.getAttribute(si[0].value)||""))}else if(sn.name==="counter"){var zn=sn.values.filter(Er),fi=zn[0],da=zn[1];if(fi&&Zt(fi)){var Ti=tr.counters.getCounterValue(fi.value),na=da&&Zt(da)?Vs.parse(da.value):Dn.DECIMAL;zr.appendChild(Lr.createTextNode(vl(Ti,na,!1)))}}else if(sn.name==="counters"){var Ia=sn.values.filter(Er),fi=Ia[0],Pi=Ia[1],da=Ia[2];if(fi&&Zt(fi)){var Io=tr.counters.getCounterValues(fi.value),no=da&&Zt(da)?Vs.parse(da.value):Dn.DECIMAL,Ko=Pi&&Pi.type===Ke.STRING_TOKEN?Pi.value:"",Po=Io.map(function(fs){return vl(fs,no,!1)}).join(Ko);zr.appendChild(Lr.createTextNode(Po))}}}else if(sn.type===Ke.IDENT_TOKEN)switch(sn.value){case"open-quote":zr.appendChild(Lr.createTextNode(Hs(Hr.quotes,tr.quoteDepth++,!0)));break;case"close-quote":zr.appendChild(Lr.createTextNode(Hs(Hr.quotes,--tr.quoteDepth,!1)));break;default:zr.appendChild(Lr.createTextNode(sn.value))}}),zr.className=js+" "+Il;var un=Ot===yl.BEFORE?" "+js:" "+Il;return Ps(He)?He.className.baseValue+=un:He.className+=un,zr},$e.destroy=function(ie){return ie.parentNode?(ie.parentNode.removeChild(ie),!0):!1},$e}(),yl;(function($e){$e[$e.BEFORE=0]="BEFORE",$e[$e.AFTER=1]="AFTER"})(yl||(yl={}));var Zl=function(ie,He){var tt=ie.createElement("iframe");return tt.className="html2canvas-container",tt.style.visibility="hidden",tt.style.position="fixed",tt.style.left="-10000px",tt.style.top="0px",tt.style.border="0",tt.width=He.width.toString(),tt.height=He.height.toString(),tt.scrolling="no",tt.setAttribute(ql,"true"),ie.body.appendChild(tt),tt},lu=function(ie){return new Promise(function(He,tt){var Ot=ie.contentWindow;if(!Ot)return tt("No window assigned for iframe");var tr=Ot.document;Ot.onload=ie.onload=tr.onreadystatechange=function(){Ot.onload=ie.onload=tr.onreadystatechange=null;var vr=setInterval(function(){tr.body.childNodes.length>0&&tr.readyState==="complete"&&(clearInterval(vr),He(ie))},50)}})},Jl=function(ie,He){for(var tt=ie.length-1;tt>=0;tt--){var Ot=ie.item(tt);Ot!=="content"&&He.style.setProperty(Ot,ie.getPropertyValue(Ot))}return He},$l=function(ie){var He="";return ie&&(He+="<!DOCTYPE ",ie.name&&(He+=ie.name),ie.internalSubset&&(He+=ie.internalSubset),ie.publicId&&(He+='"'+ie.publicId+'"'),ie.systemId&&(He+='"'+ie.systemId+'"'),He+=">"),He},Ol=function(ie,He,tt){ie&&ie.defaultView&&(He!==ie.defaultView.pageXOffset||tt!==ie.defaultView.pageYOffset)&&ie.defaultView.scrollTo(He,tt)},eu=function(ie){var He=ie[0],tt=ie[1],Ot=ie[2];He.scrollLeft=tt,He.scrollTop=Ot},uu=":before",Ll=":after",js="___html2canvas___pseudoelement_before",Il="___html2canvas___pseudoelement_after",Al=`{
content: "" !important;
display: none !important;
}`,cu=function(ie){du(ie,"."+js+uu+Al+`
.`+Il+Ll+Al)},du=function(ie,He){var tt=ie.ownerDocument;if(tt){var Ot=tt.createElement("style");Ot.textContent=He,ie.appendChild(Ot)}},sl;(function($e){$e[$e.VECTOR=0]="VECTOR",$e[$e.BEZIER_CURVE=1]="BEZIER_CURVE"})(sl||(sl={}));var ct=function(ie,He){return ie.length===He.length?ie.some(function(tt,Ot){return tt===He[Ot]}):!1},Se=function(ie,He,tt,Ot,tr){return ie.map(function(vr,Lr){switch(Lr){case 0:return vr.add(He,tt);case 1:return vr.add(He+Ot,tt);case 2:return vr.add(He+Ot,tt+tr);case 3:return vr.add(He,tt+tr)}return vr})},We=function(){function $e(ie,He){this.type=sl.VECTOR,this.x=ie,this.y=He}return $e.prototype.add=function(ie,He){return new $e(this.x+ie,this.y+He)},$e}(),St=function(ie,He,tt){return new We(ie.x+(He.x-ie.x)*tt,ie.y+(He.y-ie.y)*tt)},Ft=function(){function $e(ie,He,tt,Ot){this.type=sl.BEZIER_CURVE,this.start=ie,this.startControl=He,this.endControl=tt,this.end=Ot}return $e.prototype.subdivide=function(ie,He){var tt=St(this.start,this.startControl,ie),Ot=St(this.startControl,this.endControl,ie),tr=St(this.endControl,this.end,ie),vr=St(tt,Ot,ie),Lr=St(Ot,tr,ie),Hr=St(vr,Lr,ie);return He?new $e(this.start,tt,vr,Hr):new $e(Hr,Lr,tr,this.end)},$e.prototype.add=function(ie,He){return new $e(this.start.add(ie,He),this.startControl.add(ie,He),this.endControl.add(ie,He),this.end.add(ie,He))},$e.prototype.reverse=function(){return new $e(this.end,this.endControl,this.startControl,this.start)},$e}(),qt=function(ie){return ie.type===sl.BEZIER_CURVE},ar=function(){function $e(ie){var He=ie.styles,tt=ie.bounds,Ot=Mr(He.borderTopLeftRadius,tt.width,tt.height),tr=Ot[0],vr=Ot[1],Lr=Mr(He.borderTopRightRadius,tt.width,tt.height),Hr=Lr[0],zr=Lr[1],un=Mr(He.borderBottomRightRadius,tt.width,tt.height),sn=un[0],kn=un[1],si=Mr(He.borderBottomLeftRadius,tt.width,tt.height),zn=si[0],fi=si[1],da=[];da.push((tr+Hr)/tt.width),da.push((zn+sn)/tt.width),da.push((vr+fi)/tt.height),da.push((zr+kn)/tt.height);var Ti=Math.max.apply(Math,da);Ti>1&&(tr/=Ti,vr/=Ti,Hr/=Ti,zr/=Ti,sn/=Ti,kn/=Ti,zn/=Ti,fi/=Ti);var na=tt.width-Hr,Ia=tt.height-kn,Pi=tt.width-sn,Io=tt.height-fi,no=He.borderTopWidth,Ko=He.borderRightWidth,Po=He.borderBottomWidth,Fa=He.borderLeftWidth,Wo=Dr(He.paddingTop,ie.bounds.width),fs=Dr(He.paddingRight,ie.bounds.width),vs=Dr(He.paddingBottom,ie.bounds.width),Es=Dr(He.paddingLeft,ie.bounds.width);this.topLeftBorderBox=tr>0||vr>0?yr(tt.left,tt.top,tr,vr,lr.TOP_LEFT):new We(tt.left,tt.top),this.topRightBorderBox=Hr>0||zr>0?yr(tt.left+na,tt.top,Hr,zr,lr.TOP_RIGHT):new We(tt.left+tt.width,tt.top),this.bottomRightBorderBox=sn>0||kn>0?yr(tt.left+Pi,tt.top+Ia,sn,kn,lr.BOTTOM_RIGHT):new We(tt.left+tt.width,tt.top+tt.height),this.bottomLeftBorderBox=zn>0||fi>0?yr(tt.left,tt.top+Io,zn,fi,lr.BOTTOM_LEFT):new We(tt.left,tt.top+tt.height),this.topLeftPaddingBox=tr>0||vr>0?yr(tt.left+Fa,tt.top+no,Math.max(0,tr-Fa),Math.max(0,vr-no),lr.TOP_LEFT):new We(tt.left+Fa,tt.top+no),this.topRightPaddingBox=Hr>0||zr>0?yr(tt.left+Math.min(na,tt.width+Fa),tt.top+no,na>tt.width+Fa?0:Hr-Fa,zr-no,lr.TOP_RIGHT):new We(tt.left+tt.width-Ko,tt.top+no),this.bottomRightPaddingBox=sn>0||kn>0?yr(tt.left+Math.min(Pi,tt.width-Fa),tt.top+Math.min(Ia,tt.height+no),Math.max(0,sn-Ko),kn-Po,lr.BOTTOM_RIGHT):new We(tt.left+tt.width-Ko,tt.top+tt.height-Po),this.bottomLeftPaddingBox=zn>0||fi>0?yr(tt.left+Fa,tt.top+Io,Math.max(0,zn-Fa),fi-Po,lr.BOTTOM_LEFT):new We(tt.left+Fa,tt.top+tt.height-Po),this.topLeftContentBox=tr>0||vr>0?yr(tt.left+Fa+Es,tt.top+no+Wo,Math.max(0,tr-(Fa+Es)),Math.max(0,vr-(no+Wo)),lr.TOP_LEFT):new We(tt.left+Fa+Es,tt.top+no+Wo),this.topRightContentBox=Hr>0||zr>0?yr(tt.left+Math.min(na,tt.width+Fa+Es),tt.top+no+Wo,na>tt.width+Fa+Es?0:Hr-Fa+Es,zr-(no+Wo),lr.TOP_RIGHT):new We(tt.left+tt.width-(Ko+fs),tt.top+no+Wo),this.bottomRightContentBox=sn>0||kn>0?yr(tt.left+Math.min(Pi,tt.width-(Fa+Es)),tt.top+Math.min(Ia,tt.height+no+Wo),Math.max(0,sn-(Ko+fs)),kn-(Po+vs),lr.BOTTOM_RIGHT):new We(tt.left+tt.width-(Ko+fs),tt.top+tt.height-(Po+vs)),this.bottomLeftContentBox=zn>0||fi>0?yr(tt.left+Fa+Es,tt.top+Io,Math.max(0,zn-(Fa+Es)),fi-(Po+vs),lr.BOTTOM_LEFT):new We(tt.left+Fa+Es,tt.top+tt.height-(Po+vs))}return $e}(),lr;(function($e){$e[$e.TOP_LEFT=0]="TOP_LEFT",$e[$e.TOP_RIGHT=1]="TOP_RIGHT",$e[$e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",$e[$e.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(lr||(lr={}));var yr=function(ie,He,tt,Ot,tr){var vr=4*((Math.sqrt(2)-1)/3),Lr=tt*vr,Hr=Ot*vr,zr=ie+tt,un=He+Ot;switch(tr){case lr.TOP_LEFT:return new Ft(new We(ie,un),new We(ie,un-Hr),new We(zr-Lr,He),new We(zr,He));case lr.TOP_RIGHT:return new Ft(new We(ie,He),new We(ie+Lr,He),new We(zr,un-Hr),new We(zr,un));case lr.BOTTOM_RIGHT:return new Ft(new We(zr,He),new We(zr,He+Hr),new We(ie+Lr,un),new We(ie,un));case lr.BOTTOM_LEFT:default:return new Ft(new We(zr,un),new We(zr-Lr,un),new We(ie,He+Hr),new We(ie,He))}},Vr=function(ie){return[ie.topLeftBorderBox,ie.topRightBorderBox,ie.bottomRightBorderBox,ie.bottomLeftBorderBox]},Xr=function(ie){return[ie.topLeftContentBox,ie.topRightContentBox,ie.bottomRightContentBox,ie.bottomLeftContentBox]},Br=function(ie){return[ie.topLeftPaddingBox,ie.topRightPaddingBox,ie.bottomRightPaddingBox,ie.bottomLeftPaddingBox]},Fr=function(){function $e(ie,He,tt){this.type=0,this.offsetX=ie,this.offsetY=He,this.matrix=tt,this.target=2|4}return $e}(),Gr=function(){function $e(ie,He){this.type=1,this.target=He,this.path=ie}return $e}(),dn=function(ie){return ie.type===0},pn=function(ie){return ie.type===1},ei=function(){function $e(ie){this.element=ie,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return $e}(),ui=function(){function $e(ie,He){if(this.container=ie,this.effects=He.slice(0),this.curves=new ar(ie),ie.styles.transform!==null){var tt=ie.bounds.left+ie.styles.transformOrigin[0].number,Ot=ie.bounds.top+ie.styles.transformOrigin[1].number,tr=ie.styles.transform;this.effects.push(new Fr(tt,Ot,tr))}if(ie.styles.overflowX!==Qe.VISIBLE){var vr=Vr(this.curves),Lr=Br(this.curves);ct(vr,Lr)?this.effects.push(new Gr(vr,2|4)):(this.effects.push(new Gr(vr,2)),this.effects.push(new Gr(Lr,4)))}}return $e.prototype.getParentEffects=function(){var ie=this.effects.slice(0);if(this.container.styles.overflowX!==Qe.VISIBLE){var He=Vr(this.curves),tt=Br(this.curves);ct(He,tt)||ie.push(new Gr(tt,2|4))}return ie},$e}(),ii=function $e(ie,He,tt,Ot){ie.container.elements.forEach(function(tr){var vr=Do(tr.flags,4),Lr=Do(tr.flags,2),Hr=new ui(tr,ie.getParentEffects());Do(tr.styles.display,2048)&&Ot.push(Hr);var zr=Do(tr.flags,8)?[]:Ot;if(vr||Lr){var un=vr||tr.styles.isPositioned()?tt:He,sn=new ei(Hr);if(tr.styles.isPositioned()||tr.styles.opacity<1||tr.styles.isTransformed()){var kn=tr.styles.zIndex.order;if(kn<0){var si=0;un.negativeZIndex.some(function(fi,da){return kn>fi.element.container.styles.zIndex.order?(si=da,!1):si>0}),un.negativeZIndex.splice(si,0,sn)}else if(kn>0){var zn=0;un.positiveZIndex.some(function(fi,da){return kn>=fi.element.container.styles.zIndex.order?(zn=da+1,!1):zn>0}),un.positiveZIndex.splice(zn,0,sn)}else un.zeroOrAutoZIndexOrTransformedOrOpacity.push(sn)}else tr.styles.isFloating()?un.nonPositionedFloats.push(sn):un.nonPositionedInlineLevel.push(sn);$e(Hr,sn,vr?sn:tt,zr)}else tr.styles.isInlineLevel()?He.inlineLevel.push(Hr):He.nonInlineLevel.push(Hr),$e(Hr,He,tt,zr);Do(tr.flags,8)&&Zi(tr,zr)})},Zi=function(ie,He){for(var tt=ie instanceof Hl?ie.start:1,Ot=ie instanceof Hl?ie.reversed:!1,tr=0;tr<He.length;tr++){var vr=He[tr];vr.container instanceof el&&typeof vr.container.value=="number"&&vr.container.value!==0&&(tt=vr.container.value),vr.listValue=vl(tt,vr.container.styles.listStyleType,!0),tt+=Ot?-1:1}},Si=function(ie){var He=new ui(ie,[]),tt=new ei(He),Ot=[];return ii(He,tt,tt,Ot),Zi(He.container,Ot),tt},Va=function(ie,He){switch(He){case 0:return Ei(ie.topLeftBorderBox,ie.topLeftPaddingBox,ie.topRightBorderBox,ie.topRightPaddingBox);case 1:return Ei(ie.topRightBorderBox,ie.topRightPaddingBox,ie.bottomRightBorderBox,ie.bottomRightPaddingBox);case 2:return Ei(ie.bottomRightBorderBox,ie.bottomRightPaddingBox,ie.bottomLeftBorderBox,ie.bottomLeftPaddingBox);case 3:default:return Ei(ie.bottomLeftBorderBox,ie.bottomLeftPaddingBox,ie.topLeftBorderBox,ie.topLeftPaddingBox)}},Ei=function(ie,He,tt,Ot){var tr=[];return qt(ie)?tr.push(ie.subdivide(.5,!1)):tr.push(ie),qt(tt)?tr.push(tt.subdivide(.5,!0)):tr.push(tt),qt(Ot)?tr.push(Ot.subdivide(.5,!0).reverse()):tr.push(Ot),qt(He)?tr.push(He.subdivide(.5,!1).reverse()):tr.push(He),tr},uo=function(ie){var He=ie.bounds,tt=ie.styles;return He.add(tt.borderLeftWidth,tt.borderTopWidth,-(tt.borderRightWidth+tt.borderLeftWidth),-(tt.borderTopWidth+tt.borderBottomWidth))},zo=function(ie){var He=ie.styles,tt=ie.bounds,Ot=Dr(He.paddingLeft,tt.width),tr=Dr(He.paddingRight,tt.width),vr=Dr(He.paddingTop,tt.width),Lr=Dr(He.paddingBottom,tt.width);return tt.add(Ot+He.borderLeftWidth,vr+He.borderTopWidth,-(He.borderRightWidth+He.borderLeftWidth+Ot+tr),-(He.borderTopWidth+He.borderBottomWidth+vr+Lr))},ao=function(ie,He){return ie===0?He.bounds:ie===2?zo(He):uo(He)},Uo=function(ie,He){return ie===Ri.BORDER_BOX?He.bounds:ie===Ri.CONTENT_BOX?zo(He):uo(He)},D=function(ie,He,tt){var Ot=ao(ce(ie.styles.backgroundOrigin,He),ie),tr=Uo(ce(ie.styles.backgroundClip,He),ie),vr=re(ce(ie.styles.backgroundSize,He),tt,Ot),Lr=vr[0],Hr=vr[1],zr=Mr(ce(ie.styles.backgroundPosition,He),Ot.width-Lr,Ot.height-Hr),un=Be(ce(ie.styles.backgroundRepeat,He),zr,vr,Ot,tr),sn=Math.round(Ot.left+zr[0]),kn=Math.round(Ot.top+zr[1]);return[un,sn,kn,Lr,Hr]},P=function(ie){return Zt(ie)&&ie.value===Ra.AUTO},ee=function(ie){return typeof ie=="number"},re=function(ie,He,tt){var Ot=He[0],tr=He[1],vr=He[2],Lr=ie[0],Hr=ie[1];if(an(Lr)&&Hr&&an(Hr))return[Dr(Lr,tt.width),Dr(Hr,tt.height)];var zr=ee(vr);if(Zt(Lr)&&(Lr.value===Ra.CONTAIN||Lr.value===Ra.COVER)){if(ee(vr)){var un=tt.width/tt.height;return un<vr!==(Lr.value===Ra.COVER)?[tt.width,tt.width/vr]:[tt.height*vr,tt.height]}return[tt.width,tt.height]}var sn=ee(Ot),kn=ee(tr),si=sn||kn;if(P(Lr)&&(!Hr||P(Hr))){if(sn&&kn)return[Ot,tr];if(!zr&&!si)return[tt.width,tt.height];if(si&&zr){var zn=sn?Ot:tr*vr,fi=kn?tr:Ot/vr;return[zn,fi]}var da=sn?Ot:tt.width,Ti=kn?tr:tt.height;return[da,Ti]}if(zr){var na=0,Ia=0;return an(Lr)?na=Dr(Lr,tt.width):an(Hr)&&(Ia=Dr(Hr,tt.height)),P(Lr)?na=Ia*vr:(!Hr||P(Hr))&&(Ia=na/vr),[na,Ia]}var Pi=null,Io=null;if(an(Lr)?Pi=Dr(Lr,tt.width):Hr&&an(Hr)&&(Io=Dr(Hr,tt.height)),Pi!==null&&(!Hr||P(Hr))&&(Io=sn&&kn?Pi/Ot*tr:tt.height),Io!==null&&P(Lr)&&(Pi=sn&&kn?Io/tr*Ot:tt.width),Pi!==null&&Io!==null)return[Pi,Io];throw new Error("Unable to calculate background-size for element")},ce=function(ie,He){var tt=ie[He];return typeof tt=="undefined"?ie[0]:tt},Be=function(ie,He,tt,Ot,tr){var vr=He[0],Lr=He[1],Hr=tt[0],zr=tt[1];switch(ie){case fo.REPEAT_X:return[new We(Math.round(Ot.left),Math.round(Ot.top+Lr)),new We(Math.round(Ot.left+Ot.width),Math.round(Ot.top+Lr)),new We(Math.round(Ot.left+Ot.width),Math.round(zr+Ot.top+Lr)),new We(Math.round(Ot.left),Math.round(zr+Ot.top+Lr))];case fo.REPEAT_Y:return[new We(Math.round(Ot.left+vr),Math.round(Ot.top)),new We(Math.round(Ot.left+vr+Hr),Math.round(Ot.top)),new We(Math.round(Ot.left+vr+Hr),Math.round(Ot.height+Ot.top)),new We(Math.round(Ot.left+vr),Math.round(Ot.height+Ot.top))];case fo.NO_REPEAT:return[new We(Math.round(Ot.left+vr),Math.round(Ot.top+Lr)),new We(Math.round(Ot.left+vr+Hr),Math.round(Ot.top+Lr)),new We(Math.round(Ot.left+vr+Hr),Math.round(Ot.top+Lr+zr)),new We(Math.round(Ot.left+vr),Math.round(Ot.top+Lr+zr))];default:return[new We(Math.round(tr.left),Math.round(tr.top)),new We(Math.round(tr.left+tr.width),Math.round(tr.top)),new We(Math.round(tr.left+tr.width),Math.round(tr.height+tr.top)),new We(Math.round(tr.left),Math.round(tr.height+tr.top))]}},yt="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Dt="Hidden Text",Kt=function(){function $e(ie){this._data={},this._document=ie}return $e.prototype.parseMetrics=function(ie,He){var tt=this._document.createElement("div"),Ot=this._document.createElement("img"),tr=this._document.createElement("span"),vr=this._document.body;tt.style.visibility="hidden",tt.style.fontFamily=ie,tt.style.fontSize=He,tt.style.margin="0",tt.style.padding="0",vr.appendChild(tt),Ot.src=yt,Ot.width=1,Ot.height=1,Ot.style.margin="0",Ot.style.padding="0",Ot.style.verticalAlign="baseline",tr.style.fontFamily=ie,tr.style.fontSize=He,tr.style.margin="0",tr.style.padding="0",tr.appendChild(this._document.createTextNode(Dt)),tt.appendChild(tr),tt.appendChild(Ot);var Lr=Ot.offsetTop-tr.offsetTop+2;tt.removeChild(tr),tt.appendChild(this._document.createTextNode(Dt)),tt.style.lineHeight="normal",Ot.style.verticalAlign="super";var Hr=Ot.offsetTop-tt.offsetTop+2;return vr.removeChild(tt),{baseline:Lr,middle:Hr}},$e.prototype.getMetrics=function(ie,He){var tt=ie+" "+He;return typeof this._data[tt]=="undefined"&&(this._data[tt]=this.parseMetrics(ie,He)),this._data[tt]},$e}(),Yt=1e4,Cr=function(){function $e(ie){this._activeEffects=[],this.canvas=ie.canvas?ie.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=ie,ie.canvas||(this.canvas.width=Math.floor(ie.width*ie.scale),this.canvas.height=Math.floor(ie.height*ie.scale),this.canvas.style.width=ie.width+"px",this.canvas.style.height=ie.height+"px"),this.fontMetrics=new Kt(document),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-ie.x+ie.scrollX,-ie.y+ie.scrollY),this.ctx.textBaseline="bottom",this._activeEffects=[],la.getInstance(ie.id).debug("Canvas renderer initialized ("+ie.width+"x"+ie.height+" at "+ie.x+","+ie.y+") with scale "+ie.scale)}return $e.prototype.applyEffects=function(ie,He){for(var tt=this;this._activeEffects.length;)this.popEffect();ie.filter(function(Ot){return Do(Ot.target,He)}).forEach(function(Ot){return tt.applyEffect(Ot)})},$e.prototype.applyEffect=function(ie){this.ctx.save(),dn(ie)&&(this.ctx.translate(ie.offsetX,ie.offsetY),this.ctx.transform(ie.matrix[0],ie.matrix[1],ie.matrix[2],ie.matrix[3],ie.matrix[4],ie.matrix[5]),this.ctx.translate(-ie.offsetX,-ie.offsetY)),pn(ie)&&(this.path(ie.path),this.ctx.clip()),this._activeEffects.push(ie)},$e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},$e.prototype.renderStack=function(ie){return m(this,void 0,void 0,function(){var He;return y(this,function(tt){switch(tt.label){case 0:return He=ie.element.container.styles,He.isVisible()?(this.ctx.globalAlpha=He.opacity,[4,this.renderStackContent(ie)]):[3,2];case 1:tt.sent(),tt.label=2;case 2:return[2]}})})},$e.prototype.renderNode=function(ie){return m(this,void 0,void 0,function(){return y(this,function(He){switch(He.label){case 0:return ie.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(ie)]:[3,3];case 1:return He.sent(),[4,this.renderNodeContent(ie)];case 2:He.sent(),He.label=3;case 3:return[2]}})})},$e.prototype.renderTextWithLetterSpacing=function(ie,He){var tt=this;if(He===0)this.ctx.fillText(ie.text,ie.bounds.left,ie.bounds.top+ie.bounds.height);else{var Ot=a(ie.text).map(function(tr){return r(tr)});Ot.reduce(function(tr,vr){return tt.ctx.fillText(vr,tr,ie.bounds.top+ie.bounds.height),tr+tt.ctx.measureText(vr).width},ie.bounds.left)}},$e.prototype.createFontStyle=function(ie){var He=ie.fontVariant.filter(function(tr){return tr==="normal"||tr==="small-caps"}).join(""),tt=ie.fontFamily.join(", "),Ot=it(ie.fontSize)?""+ie.fontSize.number+ie.fontSize.unit:ie.fontSize.number+"px";return[[ie.fontStyle,He,ie.fontWeight,Ot,tt].join(" "),tt,Ot]},$e.prototype.renderTextNode=function(ie,He){return m(this,void 0,void 0,function(){var tt,Ot,tr,vr,Lr=this;return y(this,function(Hr){return tt=this.createFontStyle(He),Ot=tt[0],tr=tt[1],vr=tt[2],this.ctx.font=Ot,ie.textBounds.forEach(function(zr){Lr.ctx.fillStyle=Ln(He.color),Lr.renderTextWithLetterSpacing(zr,He.letterSpacing);var un=He.textShadow;un.length&&zr.text.trim().length&&(un.slice(0).reverse().forEach(function(sn){Lr.ctx.shadowColor=Ln(sn.color),Lr.ctx.shadowOffsetX=sn.offsetX.number*Lr.options.scale,Lr.ctx.shadowOffsetY=sn.offsetY.number*Lr.options.scale,Lr.ctx.shadowBlur=sn.blur.number,Lr.ctx.fillText(zr.text,zr.bounds.left,zr.bounds.top+zr.bounds.height)}),Lr.ctx.shadowColor="",Lr.ctx.shadowOffsetX=0,Lr.ctx.shadowOffsetY=0,Lr.ctx.shadowBlur=0),He.textDecorationLine.length&&(Lr.ctx.fillStyle=Ln(He.textDecorationColor||He.color),He.textDecorationLine.forEach(function(sn){switch(sn){case 1:var kn=Lr.fontMetrics.getMetrics(tr,vr).baseline;Lr.ctx.fillRect(zr.bounds.left,Math.round(zr.bounds.top+kn),zr.bounds.width,1);break;case 2:Lr.ctx.fillRect(zr.bounds.left,Math.round(zr.bounds.top),zr.bounds.width,1);break;case 3:var si=Lr.fontMetrics.getMetrics(tr,vr).middle;Lr.ctx.fillRect(zr.bounds.left,Math.ceil(zr.bounds.top+si),zr.bounds.width,1);break}}))}),[2]})})},$e.prototype.renderReplacedElement=function(ie,He,tt){if(tt&&ie.intrinsicWidth>0&&ie.intrinsicHeight>0){var Ot=zo(ie),tr=Br(He);this.path(tr),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(tt,0,0,ie.intrinsicWidth,ie.intrinsicHeight,Ot.left,Ot.top,Ot.width,Ot.height),this.ctx.restore()}},$e.prototype.renderNodeContent=function(ie){return m(this,void 0,void 0,function(){var He,tt,Ot,tr,vr,Lr,Hr,zr,Hr,un,sn,kn,si,zn,fi,da,Ti,Hr,na,Ia,zn;return y(this,function(Pi){switch(Pi.label){case 0:this.applyEffects(ie.effects,4),He=ie.container,tt=ie.curves,Ot=He.styles,tr=0,vr=He.textNodes,Pi.label=1;case 1:return tr<vr.length?(Lr=vr[tr],[4,this.renderTextNode(Lr,Ot)]):[3,4];case 2:Pi.sent(),Pi.label=3;case 3:return tr++,[3,1];case 4:if(!(He instanceof Nl))return[3,8];Pi.label=5;case 5:return Pi.trys.push([5,7,,8]),[4,this.options.cache.match(He.src)];case 6:return Hr=Pi.sent(),this.renderReplacedElement(He,tt,Hr),[3,8];case 7:return zr=Pi.sent(),la.getInstance(this.options.id).error("Error loading image "+He.src),[3,8];case 8:if(He instanceof Ls&&this.renderReplacedElement(He,tt,He.canvas),!(He instanceof Gs))return[3,12];Pi.label=9;case 9:return Pi.trys.push([9,11,,12]),[4,this.options.cache.match(He.svg)];case 10:return Hr=Pi.sent(),this.renderReplacedElement(He,tt,Hr),[3,12];case 11:return un=Pi.sent(),la.getInstance(this.options.id).error("Error loading svg "+He.svg.substring(0,255)),[3,12];case 12:return He instanceof Wl&&He.tree?(sn=new $e({id:this.options.id,scale:this.options.scale,backgroundColor:He.backgroundColor,x:0,y:0,scrollX:0,scrollY:0,width:He.width,height:He.height,cache:this.options.cache,windowWidth:He.width,windowHeight:He.height}),[4,sn.render(He.tree)]):[3,14];case 13:kn=Pi.sent(),He.width&&He.height&&this.ctx.drawImage(kn,0,0,He.width,He.height,He.bounds.left,He.bounds.top,He.bounds.width,He.bounds.height),Pi.label=14;case 14:if(He instanceof Ml&&(si=Math.min(He.bounds.width,He.bounds.height),He.type===es?He.checked&&(this.ctx.save(),this.path([new We(He.bounds.left+si*.39363,He.bounds.top+si*.79),new We(He.bounds.left+si*.16,He.bounds.top+si*.5549),new We(He.bounds.left+si*.27347,He.bounds.top+si*.44071),new We(He.bounds.left+si*.39694,He.bounds.top+si*.5649),new We(He.bounds.left+si*.72983,He.bounds.top+si*.23),new We(He.bounds.left+si*.84,He.bounds.top+si*.34085),new We(He.bounds.left+si*.39363,He.bounds.top+si*.79)]),this.ctx.fillStyle=Ln(Rl),this.ctx.fill(),this.ctx.restore()):He.type===tl&&(He.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(He.bounds.left+si/2,He.bounds.top+si/2,si/4,0,Math.PI*2,!0),this.ctx.fillStyle=Ln(Rl),this.ctx.fill(),this.ctx.restore()))),Ur(He)&&He.value.length){this.ctx.font=this.createFontStyle(Ot)[0],this.ctx.fillStyle=Ln(Ot.color),this.ctx.textBaseline="middle",this.ctx.textAlign=nn(He.styles.textAlign),zn=zo(He),fi=0;switch(He.styles.textAlign){case Cn.CENTER:fi+=zn.width/2;break;case Cn.RIGHT:fi+=zn.width;break}da=zn.add(fi,0,0,-zn.height/2+1),this.ctx.save(),this.path([new We(zn.left,zn.top),new We(zn.left+zn.width,zn.top),new We(zn.left+zn.width,zn.top+zn.height),new We(zn.left,zn.top+zn.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new qo(He.value,da),Ot.letterSpacing),this.ctx.restore(),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"}if(!Do(He.styles.display,2048))return[3,20];if(!(He.styles.listStyleImage!==null))return[3,19];if(Ti=He.styles.listStyleImage,!(Ti.type===Ca.URL))return[3,18];Hr=void 0,na=Ti.url,Pi.label=15;case 15:return Pi.trys.push([15,17,,18]),[4,this.options.cache.match(na)];case 16:return Hr=Pi.sent(),this.ctx.drawImage(Hr,He.bounds.left-(Hr.width+10),He.bounds.top),[3,18];case 17:return Ia=Pi.sent(),la.getInstance(this.options.id).error("Error loading list-style-image "+na),[3,18];case 18:return[3,20];case 19:ie.listValue&&He.styles.listStyleType!==Dn.NONE&&(this.ctx.font=this.createFontStyle(Ot)[0],this.ctx.fillStyle=Ln(Ot.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",zn=new h(He.bounds.left,He.bounds.top+Dr(He.styles.paddingTop,He.bounds.width),He.bounds.width,as(Ot.lineHeight,Ot.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new qo(ie.listValue,zn),Ot.letterSpacing),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),Pi.label=20;case 20:return[2]}})})},$e.prototype.renderStackContent=function(ie){return m(this,void 0,void 0,function(){var He,tt,Ot,tr,vr,Ot,Lr,Hr,Ot,zr,un,Ot,sn,kn,Ot,si,zn,Ot,fi,da,Ot;return y(this,function(Ti){switch(Ti.label){case 0:return[4,this.renderNodeBackgroundAndBorders(ie.element)];case 1:Ti.sent(),He=0,tt=ie.negativeZIndex,Ti.label=2;case 2:return He<tt.length?(Ot=tt[He],[4,this.renderStack(Ot)]):[3,5];case 3:Ti.sent(),Ti.label=4;case 4:return He++,[3,2];case 5:return[4,this.renderNodeContent(ie.element)];case 6:Ti.sent(),tr=0,vr=ie.nonInlineLevel,Ti.label=7;case 7:return tr<vr.length?(Ot=vr[tr],[4,this.renderNode(Ot)]):[3,10];case 8:Ti.sent(),Ti.label=9;case 9:return tr++,[3,7];case 10:Lr=0,Hr=ie.nonPositionedFloats,Ti.label=11;case 11:return Lr<Hr.length?(Ot=Hr[Lr],[4,this.renderStack(Ot)]):[3,14];case 12:Ti.sent(),Ti.label=13;case 13:return Lr++,[3,11];case 14:zr=0,un=ie.nonPositionedInlineLevel,Ti.label=15;case 15:return zr<un.length?(Ot=un[zr],[4,this.renderStack(Ot)]):[3,18];case 16:Ti.sent(),Ti.label=17;case 17:return zr++,[3,15];case 18:sn=0,kn=ie.inlineLevel,Ti.label=19;case 19:return sn<kn.length?(Ot=kn[sn],[4,this.renderNode(Ot)]):[3,22];case 20:Ti.sent(),Ti.label=21;case 21:return sn++,[3,19];case 22:si=0,zn=ie.zeroOrAutoZIndexOrTransformedOrOpacity,Ti.label=23;case 23:return si<zn.length?(Ot=zn[si],[4,this.renderStack(Ot)]):[3,26];case 24:Ti.sent(),Ti.label=25;case 25:return si++,[3,23];case 26:fi=0,da=ie.positiveZIndex,Ti.label=27;case 27:return fi<da.length?(Ot=da[fi],[4,this.renderStack(Ot)]):[3,30];case 28:Ti.sent(),Ti.label=29;case 29:return fi++,[3,27];case 30:return[2]}})})},$e.prototype.mask=function(ie){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(ie.slice(0).reverse()),this.ctx.closePath()},$e.prototype.path=function(ie){this.ctx.beginPath(),this.formatPath(ie),this.ctx.closePath()},$e.prototype.formatPath=function(ie){var He=this;ie.forEach(function(tt,Ot){var tr=qt(tt)?tt.start:tt;Ot===0?He.ctx.moveTo(tr.x,tr.y):He.ctx.lineTo(tr.x,tr.y),qt(tt)&&He.ctx.bezierCurveTo(tt.startControl.x,tt.startControl.y,tt.endControl.x,tt.endControl.y,tt.end.x,tt.end.y)})},$e.prototype.renderRepeat=function(ie,He,tt,Ot){this.path(ie),this.ctx.fillStyle=He,this.ctx.translate(tt,Ot),this.ctx.fill(),this.ctx.translate(-tt,-Ot)},$e.prototype.resizeImage=function(ie,He,tt){if(ie.width===He&&ie.height===tt)return ie;var Ot=this.canvas.ownerDocument.createElement("canvas");Ot.width=He,Ot.height=tt;var tr=Ot.getContext("2d");return tr.drawImage(ie,0,0,ie.width,ie.height,0,0,He,tt),Ot},$e.prototype.renderBackgroundImage=function(ie){return m(this,void 0,void 0,function(){var He,tt,Ot,tr,vr,Lr;return y(this,function(Hr){switch(Hr.label){case 0:He=ie.styles.backgroundImage.length-1,tt=function(un){var sn,kn,si,zn,fi,da,Ti,na,Ia,Pi,Io,fi,da,Ti,na,Ia,no,Ko,Po,Fa,Wo,fs,vs,Es,vu,Pi,tu,fi,pu,mu,na,Ia,gu,da,Ti,yu,Ul,Au,bu,wu,hu,Su,xu;return y(this,function(ru){switch(ru.label){case 0:if(!(un.type===Ca.URL))return[3,5];sn=void 0,kn=un.url,ru.label=1;case 1:return ru.trys.push([1,3,,4]),[4,Ot.options.cache.match(kn)];case 2:return sn=ru.sent(),[3,4];case 3:return si=ru.sent(),la.getInstance(Ot.options.id).error("Error loading background-image "+kn),[3,4];case 4:return sn&&(zn=D(ie,He,[sn.width,sn.height,sn.width/sn.height]),fi=zn[0],da=zn[1],Ti=zn[2],na=zn[3],Ia=zn[4],Pi=Ot.ctx.createPattern(Ot.resizeImage(sn,na,Ia),"repeat"),Ot.renderRepeat(fi,Pi,da,Ti)),[3,6];case 5:to(un)?(Io=D(ie,He,[null,null,null]),fi=Io[0],da=Io[1],Ti=Io[2],na=Io[3],Ia=Io[4],no=qi(un.angle,na,Ia),Ko=no[0],Po=no[1],Fa=no[2],Wo=no[3],fs=no[4],vs=document.createElement("canvas"),vs.width=na,vs.height=Ia,Es=vs.getContext("2d"),vu=Es.createLinearGradient(Po,Wo,Fa,fs),mi(un.stops,Ko).forEach(function(fu){return vu.addColorStop(fu.stop,Ln(fu.color))}),Es.fillStyle=vu,Es.fillRect(0,0,na,Ia),na>0&&Ia>0&&(Pi=Ot.ctx.createPattern(vs,"repeat"),Ot.renderRepeat(fi,Pi,da,Ti))):_o(un)&&(tu=D(ie,He,[null,null,null]),fi=tu[0],pu=tu[1],mu=tu[2],na=tu[3],Ia=tu[4],gu=un.position.length===0?[sr]:un.position,da=Dr(gu[0],na),Ti=Dr(gu[gu.length-1],Ia),yu=ya(un,da,Ti,na,Ia),Ul=yu[0],Au=yu[1],Ul>0&&Ul>0&&(bu=Ot.ctx.createRadialGradient(pu+da,mu+Ti,0,pu+da,mu+Ti,Ul),mi(un.stops,Ul*2).forEach(function(fu){return bu.addColorStop(fu.stop,Ln(fu.color))}),Ot.path(fi),Ot.ctx.fillStyle=bu,Ul!==Au?(wu=ie.bounds.left+.5*ie.bounds.width,hu=ie.bounds.top+.5*ie.bounds.height,Su=Au/Ul,xu=1/Su,Ot.ctx.save(),Ot.ctx.translate(wu,hu),Ot.ctx.transform(1,0,0,Su,0,0),Ot.ctx.translate(-wu,-hu),Ot.ctx.fillRect(pu,xu*(mu-hu)+hu,na,Ia*xu),Ot.ctx.restore()):Ot.ctx.fill())),ru.label=6;case 6:return He--,[2]}})},Ot=this,tr=0,vr=ie.styles.backgroundImage.slice(0).reverse(),Hr.label=1;case 1:return tr<vr.length?(Lr=vr[tr],[5,tt(Lr)]):[3,4];case 2:Hr.sent(),Hr.label=3;case 3:return tr++,[3,1];case 4:return[2]}})})},$e.prototype.renderBorder=function(ie,He,tt){return m(this,void 0,void 0,function(){return y(this,function(Ot){return this.path(Va(tt,He)),this.ctx.fillStyle=Ln(ie),this.ctx.fill(),[2]})})},$e.prototype.renderNodeBackgroundAndBorders=function(ie){return m(this,void 0,void 0,function(){var He,tt,Ot,tr,vr,Lr,Hr,zr,un=this;return y(this,function(sn){switch(sn.label){case 0:return this.applyEffects(ie.effects,2),He=ie.container.styles,tt=!En(He.backgroundColor)||He.backgroundImage.length,Ot=[{style:He.borderTopStyle,color:He.borderTopColor},{style:He.borderRightStyle,color:He.borderRightColor},{style:He.borderBottomStyle,color:He.borderBottomColor},{style:He.borderLeftStyle,color:He.borderLeftColor}],tr=en(ce(He.backgroundClip,0),ie.curves),tt||He.boxShadow.length?(this.ctx.save(),this.path(tr),this.ctx.clip(),En(He.backgroundColor)||(this.ctx.fillStyle=Ln(He.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(ie.container)]):[3,2];case 1:sn.sent(),this.ctx.restore(),He.boxShadow.slice(0).reverse().forEach(function(kn){un.ctx.save();var si=Vr(ie.curves),zn=kn.inset?0:Yt,fi=Se(si,-zn+(kn.inset?1:-1)*kn.spread.number,(kn.inset?1:-1)*kn.spread.number,kn.spread.number*(kn.inset?-2:2),kn.spread.number*(kn.inset?-2:2));kn.inset?(un.path(si),un.ctx.clip(),un.mask(fi)):(un.mask(si),un.ctx.clip(),un.path(fi)),un.ctx.shadowOffsetX=kn.offsetX.number+zn,un.ctx.shadowOffsetY=kn.offsetY.number,un.ctx.shadowColor=Ln(kn.color),un.ctx.shadowBlur=kn.blur.number,un.ctx.fillStyle=kn.inset?Ln(kn.color):"rgba(0,0,0,1)",un.ctx.fill(),un.ctx.restore()}),sn.label=2;case 2:vr=0,Lr=0,Hr=Ot,sn.label=3;case 3:return Lr<Hr.length?(zr=Hr[Lr],zr.style!==bo.NONE&&!En(zr.color)?[4,this.renderBorder(zr.color,vr,ie.curves)]:[3,5]):[3,7];case 4:sn.sent(),sn.label=5;case 5:vr++,sn.label=6;case 6:return Lr++,[3,3];case 7:return[2]}})})},$e.prototype.render=function(ie){return m(this,void 0,void 0,function(){var He;return y(this,function(tt){switch(tt.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=Ln(this.options.backgroundColor),this.ctx.fillRect(this.options.x-this.options.scrollX,this.options.y-this.options.scrollY,this.options.width,this.options.height)),He=Si(ie),[4,this.renderStack(He)];case 1:return tt.sent(),this.applyEffects([],2),[2,this.canvas]}})})},$e}(),Ur=function(ie){return ie instanceof Kl||ie instanceof bl?!0:ie instanceof Ml&&ie.type!==tl&&ie.type!==es},en=function(ie,He){switch(ie){case Ri.BORDER_BOX:return Vr(He);case Ri.CONTENT_BOX:return Xr(He);case Ri.PADDING_BOX:default:return Br(He)}},nn=function(ie){switch(ie){case Cn.CENTER:return"center";case Cn.RIGHT:return"right";case Cn.LEFT:default:return"left"}},xn=function(){function $e(ie){this.canvas=ie.canvas?ie.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=ie,this.canvas.width=Math.floor(ie.width*ie.scale),this.canvas.height=Math.floor(ie.height*ie.scale),this.canvas.style.width=ie.width+"px",this.canvas.style.height=ie.height+"px",this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-ie.x+ie.scrollX,-ie.y+ie.scrollY),la.getInstance(ie.id).debug("EXPERIMENTAL ForeignObject renderer initialized ("+ie.width+"x"+ie.height+" at "+ie.x+","+ie.y+") with scale "+ie.scale)}return $e.prototype.render=function(ie){return m(this,void 0,void 0,function(){var He,tt;return y(this,function(Ot){switch(Ot.label){case 0:return He=bi(Math.max(this.options.windowWidth,this.options.width)*this.options.scale,Math.max(this.options.windowHeight,this.options.height)*this.options.scale,this.options.scrollX*this.options.scale,this.options.scrollY*this.options.scale,ie),[4,Bn(He)];case 1:return tt=Ot.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=Ln(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(tt,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},$e}(),Bn=function(ie){return new Promise(function(He,tt){var Ot=new Image;Ot.onload=function(){He(Ot)},Ot.onerror=tt,Ot.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ie))})},Jn=void 0,Zn=function(ie){return Rn.parse(hn.create(ie).parseComponentValue())},oi=function(ie,He){return He===void 0&&(He={}),li(ie,He)};typeof window!="undefined"&&gi.setContext(window);var li=function(ie,He){return m(Jn,void 0,void 0,function(){var tt,Ot,tr,vr,Lr,Hr,zr,un,sn,kn,si,zn,fi,da,Ti,na,Ia,Pi,Io,no,Ko,Po,Fa,Wo,fs,Wo;return y(this,function(vs){switch(vs.label){case 0:if(tt=ie.ownerDocument,!tt)throw new Error("Element is not attached to a Document");if(Ot=tt.defaultView,!Ot)throw new Error("Document is not attached to a Window");return tr=(Math.round(Math.random()*1e3)+Date.now()).toString(16),vr=hl(ie)||xl(ie)?i(tt):u(ie),Lr=vr.width,Hr=vr.height,zr=vr.left,un=vr.top,sn={allowTaint:!1,imageTimeout:15e3,proxy:void 0,useCORS:!1},kn=b({},sn,He),si={backgroundColor:"#ffffff",cache:He.cache?He.cache:gi.create(tr,kn),logging:!0,removeContainer:!0,foreignObjectRendering:!1,scale:Ot.devicePixelRatio||1,windowWidth:Ot.innerWidth,windowHeight:Ot.innerHeight,scrollX:Ot.pageXOffset,scrollY:Ot.pageYOffset,x:zr,y:un,width:Math.ceil(Lr),height:Math.ceil(Hr),id:tr},zn=b({},si,kn,He),fi=new h(zn.scrollX,zn.scrollY,zn.windowWidth,zn.windowHeight),la.create({id:tr,enabled:zn.logging}),la.getInstance(tr).debug("Starting document clone"),da=new Bl(ie,{id:tr,onclone:zn.onclone,ignoreElements:zn.ignoreElements,inlineImages:zn.foreignObjectRendering,copyStyles:zn.foreignObjectRendering}),Ti=da.clonedReferenceElement,Ti?[4,da.toIFrame(tt,fi)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return na=vs.sent(),Ia=tt.documentElement?Zn(getComputedStyle(tt.documentElement).backgroundColor):_i.TRANSPARENT,Pi=tt.body?Zn(getComputedStyle(tt.body).backgroundColor):_i.TRANSPARENT,Io=He.backgroundColor,no=typeof Io=="string"?Zn(Io):Io===null?_i.TRANSPARENT:4294967295,Ko=ie===tt.documentElement?En(Ia)?En(Pi)?no:Pi:Ia:no,Po={id:tr,cache:zn.cache,canvas:zn.canvas,backgroundColor:Ko,scale:zn.scale,x:zn.x,y:zn.y,scrollX:zn.scrollX,scrollY:zn.scrollY,width:zn.width,height:zn.height,windowWidth:zn.windowWidth,windowHeight:zn.windowHeight},zn.foreignObjectRendering?(la.getInstance(tr).debug("Document cloned, using foreign object rendering"),Wo=new xn(Po),[4,Wo.render(Ti)]):[3,3];case 2:return Fa=vs.sent(),[3,5];case 3:return la.getInstance(tr).debug("Document cloned, using computed rendering"),gi.attachInstance(zn.cache),la.getInstance(tr).debug("Starting DOM parsing"),fs=rl(Ti),gi.detachInstance(),Ko===fs.styles.backgroundColor&&(fs.styles.backgroundColor=_i.TRANSPARENT),la.getInstance(tr).debug("Starting renderer"),Wo=new Cr(Po),[4,Wo.render(fs)];case 4:Fa=vs.sent(),vs.label=5;case 5:return zn.removeContainer===!0&&(Bl.destroy(na)||la.getInstance(tr).error("Cannot detach cloned iframe as it is not in the DOM anymore")),la.getInstance(tr).debug("Finished rendering"),la.destroy(tr),gi.destroy(tr),[2,Fa]}})})};return oi})},wPlo:function(R,I,e){"use strict";e.d(I,"a",function(){return g});var g="RC_SELECT_INTERNAL_PROPS_MARK"},wXyp:function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("ygfH")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="CheckOutlined";var u=b.forwardRef(h);I.default=u},wYyv:function(R,I,e){"use strict";var g=e("R5yR"),f=e("5wUe"),b=function(h,u,i){var a=u<0?h.length+u:u;if(a>=0&&a<h.length){var r=i<0?h.length+i:i,o=h.splice(u,1),d=f(o,1),n=d[0];h.splice(r,0,n)}},m=function(h,u,i){return h=g(h),b(h,u,i),h};R.exports=m,R.exports.mutate=b},wgJM:function(R,I,e){"use strict";e.d(I,"a",function(){return b});var g=function(y){return+setTimeout(y,16)},f=function(y){return clearTimeout(y)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(g=function(y){return window.requestAnimationFrame(y)},f=function(y){return window.cancelAnimationFrame(y)});function b(m){return g(m)}b.cancel=f},wgjA:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};I.default=g},whVF:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=e("lNSK"),f=b(e("1q3G"));function b(i){return i&&i.__esModule?i:{default:i}}function m(i,a){if(!(i instanceof a))throw new TypeError("Cannot call a class as a function")}function y(i,a){for(var r=0;r<a.length;r++){var o=a[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(i,o.key,o)}}function h(i,a,r){return a&&y(i.prototype,a),r&&y(i,r),i}var u=function(){function i(){m(this,i),this.strm=new f.default,this.chunkSize=1024*10*10,this.outputBuffer=new Uint8Array(this.chunkSize),this.windowBits=5,(0,g.deflateInit)(this.strm,this.windowBits)}return h(i,[{key:"deflate",value:function(r){this.strm.input=r,this.strm.avail_in=this.strm.input.length,this.strm.next_in=0,this.strm.output=this.outputBuffer,this.strm.avail_out=this.chunkSize,this.strm.next_out=0;var o=(0,g.deflate)(this.strm,g.Z_FULL_FLUSH),d=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);if(o<0)throw new Error("zlib deflate failed");if(this.strm.avail_in>0){var n=[d],l=d.length;do{if(this.strm.output=new Uint8Array(this.chunkSize),this.strm.next_out=0,this.strm.avail_out=this.chunkSize,o=(0,g.deflate)(this.strm,g.Z_FULL_FLUSH),o<0)throw new Error("zlib deflate failed");var t=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);l+=t.length,n.push(t)}while(this.strm.avail_in>0);for(var s=new Uint8Array(l),c=0,p=0;p<n.length;p++)s.set(n[p],c),c+=n[p].length;d=s}return this.strm.input=null,this.strm.avail_in=0,this.strm.next_in=0,d}}]),i}();I.default=u},wlus:function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="MinusCircleOutlined";var h=I.a=g.forwardRef(y)},wr5s:function(R,I,e){var g=e("IwbS"),f=g.extendShape,b=f({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},buildPath:function(m,y){var h=y.cx,u=y.cy,i=Math.max(y.r0||0,0),a=Math.max(y.r,0),r=(a-i)*.5,o=i+r,d=y.startAngle,n=y.endAngle,l=y.clockwise,t=Math.cos(d),s=Math.sin(d),c=Math.cos(n),p=Math.sin(n),A=l?n-d<Math.PI*2:d-n<Math.PI*2;A&&(m.moveTo(t*i+h,s*i+u),m.arc(t*o+h,s*o+u,r,-Math.PI+d,d,!l)),m.arc(h,u,a,d,n,!l),m.moveTo(c*a+h,p*a+u),m.arc(c*o+h,p*o+u,r,n-Math.PI*2,n-Math.PI,!l),i!==0&&(m.arc(h,u,i,n,d,l),m.moveTo(t*i+h,p*i+u)),m.closePath()}});R.exports=b},wt3j:function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("/IIm"),m=e("EMyp"),y=m.layoutCovers,h=g.extendComponentView({type:"brush",init:function(i,a){this.ecModel=i,this.api=a,this.model,(this._brushController=new b(a.getZr())).on("brush",f.bind(this._onBrush,this)).mount()},render:function(i){return this.model=i,u.apply(this,arguments)},updateTransform:function(i,a){return y(a),u.apply(this,arguments)},updateView:u,dispose:function(){this._brushController.dispose()},_onBrush:function(i,a){var r=this.model.id;this.model.brushTargetManager.setOutputRanges(i,this.ecModel),(!a.isEnd||a.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:r,areas:f.clone(i),$from:r}),a.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:r,areas:f.clone(i),$from:r})}});function u(i,a,r,o){(!o||o.$from!==i.id)&&this._brushController.setPanels(i.brushTargetManager.makePanelOpts(r)).enableBrush(i.brushOption).updateCovers(i.areas.slice())}R.exports=h},wy8a:function(R,I,e){var g=e("KxBF");function f(b,m,y){var h=b.length;return y=y===void 0?h:y,!m&&y>=h?b:g(b,m,y)}R.exports=f},x3X8:function(R,I,e){var g=e("KxfA"),f=g.retrieveRawValue;function b(m,y){var h=m.mapDimension("defaultedLabel",!0),u=h.length;if(u===1)return f(m,y,h[0]);if(u){for(var i=[],a=0;a<h.length;a++){var r=f(m,y,h[a]);i.push(r)}return i.join(" ")}}I.getDefaultLabel=b},x54q:function(R,I,e){},x6Kt:function(R,I,e){var g=e("y+Vt"),f=e("VpOo"),b=e("nPnh"),m=b.subPixelOptimizeRect,y={},h=g.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(i,a){var r,o,d,n;this.subPixelOptimize?(m(y,a,this.style),r=y.x,o=y.y,d=y.width,n=y.height,y.r=a.r,a=y):(r=a.x,o=a.y,d=a.width,n=a.height),a.r?f.buildPath(i,a):i.rect(r,o,d,n),i.closePath();return}});R.exports=h},xGfz:function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="PlusSquareOutlined";var h=I.a=g.forwardRef(y)},xKMd:function(R,I){function e(f,b){this.getAllNames=function(){var m=b();return m.mapArray(m.getName)},this.containName=function(m){var y=b();return y.indexOfName(m)>=0},this.indexOfName=function(m){var y=f();return y.indexOfName(m)},this.getItemVisual=function(m,y){var h=f();return h.getItemVisual(m,y)}}var g=e;R.exports=g},xO64:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g=f(e("8K/p"));function f(t){return t&&t.__esModule?t:{default:t}}function b(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?b=function(c){return typeof c}:b=function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},b(t)}function m(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function y(t,s){for(var c=0;c<s.length;c++){var p=s[c];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(t,p.key,p)}}function h(t,s,c){return s&&y(t.prototype,s),c&&y(t,c),t}function u(t,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(s&&s.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),s&&i(t,s)}function i(t,s){return i=Object.setPrototypeOf||function(p,A){return p.__proto__=A,p},i(t,s)}function a(t){var s=d();return function(){var p=n(t),A;if(s){var w=n(this).constructor;A=Reflect.construct(p,arguments,w)}else A=p.apply(this,arguments);return r(this,A)}}function r(t,s){return s&&(b(s)==="object"||typeof s=="function")?s:o(t)}function o(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function n(t){return n=Object.setPrototypeOf?Object.getPrototypeOf:function(c){return c.__proto__||Object.getPrototypeOf(c)},n(t)}var l=function(t){u(c,t);var s=a(c);function c(){return m(this,c),s.apply(this,arguments)}return h(c,[{key:"_pngRect",value:function(A,w,C,x,E,T,_){var v=this._readData(E);return v===null?!1:(T.imageRect(A,w,C,x,"image/png",v),!0)}},{key:"_basicRect",value:function(A,w,C,x,E,T,_,v){throw new Error("BasicCompression received in TightPNG rect")}}]),c}(g.default);I.default=l},xRUu:function(R,I,e){e("hJvP"),e("hFmY"),e("sAZ8")},xSIq:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var g={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"};I.default=g},xSat:function(R,I){var e={axisPointer:1,tooltip:1,brush:1};function g(f,b,m){var y=b.getComponentByElement(f.topTarget),h=y&&y.coordinateSystem;return y&&y!==m&&!e[y.mainType]&&h&&h.model!==m}I.onIrrelevantElement=g},xTNl:function(R,I){var e=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],g={color:e,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],e]};R.exports=g},xYSL:function(R,I){function e(g,f){return g.has(f)}R.exports=e},xb2K:function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("5yev")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="RedoOutlined";var u=b.forwardRef(h);I.default=u},xiyX:function(R,I,e){var g=e("bYtY"),f=e("bLfw"),b=e("nkfE"),m=e("ICMv"),y=f.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),h={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}}};function u(a,r){return r.type||(r.data?"category":"value")}g.merge(y.prototype,m),b("single",y,u,h);var i=y;R.exports=i},xlC8:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),I.default=g;function g(f,b,m,y){for(var h=f&65535|0,u=f>>>16&65535|0,i=0;m!==0;){i=m>2e3?2e3:m,m-=i;do h=h+b[y++]|0,u=u+h|0;while(--i);h%=65521,u%=65521}return h|u<<16|0}},xvlK:function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="PlusOutlined";var h=I.a=g.forwardRef(y)},xzDV:function(R,I,e){},"y+Vt":function(R,I,e){var g=e("Gev7"),f=e("bYtY"),b=e("IMiH"),m=e("2DNl"),y=e("3C/r"),h=y.prototype.getCanvasPattern,u=Math.abs,i=new b(!0);function a(o){g.call(this,o),this.path=null}a.prototype={constructor:a,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(d,n){var l=this.style,t=this.path||i,s=l.hasStroke(),c=l.hasFill(),p=l.fill,A=l.stroke,w=c&&!!p.colorStops,C=s&&!!A.colorStops,x=c&&!!p.image,E=s&&!!A.image;if(l.bind(d,this,n),this.setTransform(d),this.__dirty){var T;w&&(T=T||this.getBoundingRect(),this._fillGradient=l.getGradient(d,p,T)),C&&(T=T||this.getBoundingRect(),this._strokeGradient=l.getGradient(d,A,T))}w?d.fillStyle=this._fillGradient:x&&(d.fillStyle=h.call(p,d)),C?d.strokeStyle=this._strokeGradient:E&&(d.strokeStyle=h.call(A,d));var _=l.lineDash,v=l.lineDashOffset,S=!!d.setLineDash,O=this.getGlobalScale();if(t.setScale(O[0],O[1],this.segmentIgnoreThreshold),this.__dirtyPath||_&&!S&&s?(t.beginPath(d),_&&!S&&(t.setLineDash(_),t.setLineDashOffset(v)),this.buildPath(t,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(d.beginPath(),this.path.rebuildPath(d)),c)if(l.fillOpacity!=null){var L=d.globalAlpha;d.globalAlpha=l.fillOpacity*l.opacity,t.fill(d),d.globalAlpha=L}else t.fill(d);if(_&&S&&(d.setLineDash(_),d.lineDashOffset=v),s)if(l.strokeOpacity!=null){var L=d.globalAlpha;d.globalAlpha=l.strokeOpacity*l.opacity,t.stroke(d),d.globalAlpha=L}else t.stroke(d);_&&S&&d.setLineDash([]),l.text!=null&&(this.restoreTransform(d),this.drawRectText(d,this.getBoundingRect()))},buildPath:function(d,n,l){},createPathProxy:function(){this.path=new b},getBoundingRect:function(){var d=this._rect,n=this.style,l=!d;if(l){var t=this.path;t||(t=this.path=new b),this.__dirtyPath&&(t.beginPath(),this.buildPath(t,this.shape,!1)),d=t.getBoundingRect()}if(this._rect=d,n.hasStroke()){var s=this._rectWithStroke||(this._rectWithStroke=d.clone());if(this.__dirty||l){s.copy(d);var c=n.lineWidth,p=n.strokeNoScale?this.getLineScale():1;n.hasFill()||(c=Math.max(c,this.strokeContainThreshold||4)),p>1e-10&&(s.width+=c/p,s.height+=c/p,s.x-=c/p/2,s.y-=c/p/2)}return s}return d},contain:function(d,n){var l=this.transformCoordToLocal(d,n),t=this.getBoundingRect(),s=this.style;if(d=l[0],n=l[1],t.contain(d,n)){var c=this.path.data;if(s.hasStroke()){var p=s.lineWidth,A=s.strokeNoScale?this.getLineScale():1;if(A>1e-10&&(s.hasFill()||(p=Math.max(p,this.strokeContainThreshold)),m.containStroke(c,p/A,d,n)))return!0}if(s.hasFill())return m.contain(c,d,n)}return!1},dirty:function(d){d==null&&(d=!0),d&&(this.__dirtyPath=d,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(d){return this.animate("shape",d)},attrKV:function(d,n){d==="shape"?(this.setShape(n),this.__dirtyPath=!0,this._rect=null):g.prototype.attrKV.call(this,d,n)},setShape:function(d,n){var l=this.shape;if(l){if(f.isObject(d))for(var t in d)d.hasOwnProperty(t)&&(l[t]=d[t]);else l[d]=n;this.dirty(!0)}return this},getLineScale:function(){var d=this.transform;return d&&u(d[0]-1)>1e-10&&u(d[3]-1)>1e-10?Math.sqrt(u(d[0]*d[3]-d[2]*d[1])):1}},a.extend=function(o){var d=function(t){a.call(this,t),o.style&&this.style.extendFrom(o.style,!1);var s=o.shape;if(s){this.shape=this.shape||{};var c=this.shape;for(var p in s)!c.hasOwnProperty(p)&&s.hasOwnProperty(p)&&(c[p]=s[p])}o.init&&o.init.call(this,t)};f.inherits(d,a);for(var n in o)n!=="style"&&n!=="shape"&&(d.prototype[n]=o[n]);return d},f.inherits(a,g);var r=a;R.exports=r},"y+lR":function(R,I,e){var g=e("bYtY"),f=e("mFDi"),b=e("z35g");function m(h){b.call(this,h)}m.prototype={constructor:m,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(h){var u=this.getAxis("x"),i=this.getAxis("y");return u.contain(u.toLocalCoord(h[0]))&&i.contain(i.toLocalCoord(h[1]))},containData:function(h){return this.getAxis("x").containData(h[0])&&this.getAxis("y").containData(h[1])},dataToPoint:function(h,u,i){var a=this.getAxis("x"),r=this.getAxis("y");return i=i||[],i[0]=a.toGlobalCoord(a.dataToCoord(h[0])),i[1]=r.toGlobalCoord(r.dataToCoord(h[1])),i},clampData:function(h,u){var i=this.getAxis("x").scale,a=this.getAxis("y").scale,r=i.getExtent(),o=a.getExtent(),d=i.parse(h[0]),n=a.parse(h[1]);return u=u||[],u[0]=Math.min(Math.max(Math.min(r[0],r[1]),d),Math.max(r[0],r[1])),u[1]=Math.min(Math.max(Math.min(o[0],o[1]),n),Math.max(o[0],o[1])),u},pointToData:function(h,u){var i=this.getAxis("x"),a=this.getAxis("y");return u=u||[],u[0]=i.coordToData(i.toLocalCoord(h[0])),u[1]=a.coordToData(a.toLocalCoord(h[1])),u},getOtherAxis:function(h){return this.getAxis(h.dim==="x"?"y":"x")},getArea:function(){var h=this.getAxis("x").getGlobalExtent(),u=this.getAxis("y").getGlobalExtent(),i=Math.min(h[0],h[1]),a=Math.min(u[0],u[1]),r=Math.max(h[0],h[1])-i,o=Math.max(u[0],u[1])-a,d=new f(i,a,r,o);return d}},g.inherits(m,b);var y=m;R.exports=y},"y0+3":function(R,I,e){"use strict";e.d(I,"a",function(){return o}),e.d(I,"b",function(){return n});var g=/margin|padding|width|height|max|min|offset/,f={left:!0,top:!0},b={cssFloat:1,styleFloat:1,float:1};function m(l){return l.nodeType===1?l.ownerDocument.defaultView.getComputedStyle(l,null):{}}function y(l,t,s){if(t=t.toLowerCase(),s==="auto"){if(t==="height")return l.offsetHeight;if(t==="width")return l.offsetWidth}return t in f||(f[t]=g.test(t)),f[t]?parseFloat(s)||0:s}function h(l,t){var s=arguments.length,c=m(l);return t=b[t]?"cssFloat"in l.style?"cssFloat":"styleFloat":t,s===1?c:y(l,t,c[t]||l.style[t])}function u(l,t,s){var c=arguments.length;if(t=b[t]?"cssFloat"in l.style?"cssFloat":"styleFloat":t,c===3)return typeof s=="number"&&g.test(t)&&(s="".concat(s,"px")),l.style[t]=s,s;for(var p in t)t.hasOwnProperty(p)&&u(l,p,t[p]);return m(l)}function i(l){return l===document.body?document.documentElement.clientWidth:l.offsetWidth}function a(l){return l===document.body?window.innerHeight||document.documentElement.clientHeight:l.offsetHeight}function r(){var l=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),t=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:l,height:t}}function o(){var l=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:l,height:t}}function d(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function n(l){var t=l.getBoundingClientRect(),s=document.documentElement;return{left:t.left+(window.pageXOffset||s.scrollLeft)-(s.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||s.scrollTop)-(s.clientTop||document.body.clientTop||0)}}},y1pI:function(R,I,e){var g=e("ljhN");function f(b,m){for(var y=b.length;y--;)if(g(b[y][0],m))return y;return-1}R.exports=f},y23F:function(R,I){function e(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}e.prototype={constructor:e,_dragStart:function(m){for(var y=m.target;y&&!y.draggable;)y=y.parent;y&&(this._draggingTarget=y,y.dragging=!0,this._x=m.offsetX,this._y=m.offsetY,this.dispatchToElement(g(y,m),"dragstart",m.event))},_drag:function(m){var y=this._draggingTarget;if(y){var h=m.offsetX,u=m.offsetY,i=h-this._x,a=u-this._y;this._x=h,this._y=u,y.drift(i,a,m),this.dispatchToElement(g(y,m),"drag",m.event);var r=this.findHover(h,u,y).target,o=this._dropTarget;this._dropTarget=r,y!==r&&(o&&r!==o&&this.dispatchToElement(g(o,m),"dragleave",m.event),r&&r!==o&&this.dispatchToElement(g(r,m),"dragenter",m.event))}},_dragEnd:function(m){var y=this._draggingTarget;y&&(y.dragging=!1),this.dispatchToElement(g(y,m),"dragend",m.event),this._dropTarget&&this.dispatchToElement(g(this._dropTarget,m),"drop",m.event),this._draggingTarget=null,this._dropTarget=null}};function g(b,m){return{target:b,topTarget:m&&m.topTarget}}var f=e;R.exports=f},y2l5:function(R,I,e){var g=e("MwEJ"),f=e("T4UG"),b=f.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(m,y){return g(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var m=this.option.progressive;return m==null?this.option.large?5e3:this.get("progressive"):m},getProgressiveThreshold:function(){var m=this.option.progressiveThreshold;return m==null?this.option.large?1e4:this.get("progressiveThreshold"):m},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});R.exports=b},y3Kf:function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="UpOutlined";var h=I.a=g.forwardRef(y)},y3NT:function(R,I,e){var g=e("OELB"),f=g.parsePercent,b=e("bYtY"),m=Math.PI/180;function y(i,a,r,o){a.eachSeriesByType(i,function(d){var n=d.get("center"),l=d.get("radius");b.isArray(l)||(l=[0,l]),b.isArray(n)||(n=[n,n]);var t=r.getWidth(),s=r.getHeight(),c=Math.min(t,s),p=f(n[0],t),A=f(n[1],s),w=f(l[0],c/2),C=f(l[1],c/2),x=-d.get("startAngle")*m,E=d.get("minAngle")*m,T=d.getData().tree.root,_=d.getViewRoot(),v=_.depth,S=d.get("sort");S!=null&&h(_,S);var O=0;b.each(_.children,function(K){!isNaN(K.getValue())&&O++});var L=_.getValue(),M=Math.PI/(L||O)*2,F=_.depth>0,U=_.height-(F?-1:1),z=(C-w)/(U||1),W=d.get("clockwise"),N=d.get("stillShowZeroSum"),H=W?1:-1,j=function(K,Y){if(!K)return;var Q=Y;if(K!==T){var he=K.getValue(),G=L===0&&N?M:he*M;G<E&&(G=E),Q=Y+H*G;var ye=K.depth-v-(F?-1:1),Ae=w+z*ye,ge=w+z*(ye+1),Pe=K.getModel();Pe.get("r0")!=null&&(Ae=f(Pe.get("r0"),c/2)),Pe.get("r")!=null&&(ge=f(Pe.get("r"),c/2)),K.setLayout({angle:G,startAngle:Y,endAngle:Q,clockwise:W,cx:p,cy:A,r0:Ae,r:ge})}if(K.children&&K.children.length){var Re=0;b.each(K.children,function(rt){Re+=j(rt,Y+Re)})}return Q-Y};if(F){var k=w,B=w+z,V=Math.PI*2;T.setLayout({angle:V,startAngle:x,endAngle:x+V,clockwise:W,cx:p,cy:A,r0:k,r:B})}j(_,x)})}function h(i,a){var r=i.children||[];i.children=u(r,a),r.length&&b.each(i.children,function(o){h(o,a)})}function u(i,a){if(typeof a=="function")return i.sort(a);var r=a==="asc";return i.sort(function(o,d){var n=(o.getValue()-d.getValue())*(r?1:-1);return n===0?(o.dataIndex-d.dataIndex)*(r?-1:1):n})}R.exports=y},y3Yb:function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("HBhm")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="PaperClipOutlined";var u=b.forwardRef(h);I.default=u},"y4/Y":function(R,I,e){var g=e("ProS"),f=e("bYtY"),b=e("zTMp"),m=e("62sa");e("SKx+"),e("1LEl"),e("Sp2Z"),g.registerPreprocessor(function(y){if(y){(!y.axisPointer||y.axisPointer.length===0)&&(y.axisPointer={});var h=y.axisPointer.link;h&&!f.isArray(h)&&(y.axisPointer.link=[h])}}),g.registerProcessor(g.PRIORITY.PROCESSOR.STATISTIC,function(y,h){y.getComponent("axisPointer").coordSysAxesInfo=b.collect(y,h)}),g.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},m)},y7Aq:function(R,I,e){var g=e("bYtY"),f=e("+TT/"),b=f.getLayoutRect;function m(h,u,i){var a=h.option,r=a.align;if(r!=null&&r!=="auto")return r;for(var o={width:u.getWidth(),height:u.getHeight()},d=a.orient==="horizontal"?1:0,n=[["left","right","width"],["top","bottom","height"]],l=n[d],t=[0,null,10],s={},c=0;c<3;c++)s[n[1-d][c]]=t[c],s[l[c]]=c===2?i[0]:a[l[c]];var p=[["x","width",3],["y","height",0]][d],A=b(s,o,a.padding);return l[(A.margin[p[2]]||0)+A[p[0]]+A[p[1]]*.5<o[p[1]]*.5?0:1]}function y(h,u){return g.each(h||[],function(i){i.dataIndex!=null&&(i.dataIndexInside=i.dataIndex,i.dataIndex=null),i.highlightKey="visualMap"+(u?u.componentIndex:"")}),h}I.getItemAlign=m,I.makeHighDownBatch=y},y8nQ:function(R,I,e){"use strict";var g=e("cIOH"),f=e.n(g),b=e("gwTy"),m=e.n(b),y=e("1GLa")},yEEn:function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="ArrowDownOutlined";var h=I.a=g.forwardRef(y)},yGk4:function(R,I,e){var g=e("Cwc5"),f=e("Kz5y"),b=g(f,"Set");R.exports=b},yO87:function(R,I,e){var g=e("bYtY"),f=e("oVpE"),b=f.createSymbol,m=e("IwbS"),y=m.Group,h=e("OELB"),u=h.parsePercent,i=e("FBjb"),a=3;function r(t){return g.isArray(t)||(t=[+t,+t]),t}function o(t,s){var c=s.rippleEffectColor||s.color;t.eachChild(function(p){p.attr({z:s.z,zlevel:s.zlevel,style:{stroke:s.brushType==="stroke"?c:null,fill:s.brushType==="fill"?c:null}})})}function d(t,s){y.call(this);var c=new i(t,s),p=new y;this.add(c),this.add(p),p.beforeUpdate=function(){this.attr(c.getScale())},this.updateData(t,s)}var n=d.prototype;n.stopEffectAnimation=function(){this.childAt(1).removeAll()},n.startEffectAnimation=function(t){for(var s=t.symbolType,c=t.color,p=this.childAt(1),A=0;A<a;A++){var w=b(s,-1,-1,2,2,c);w.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var C=-A/a*t.period+t.effectOffset;w.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(C).start(),w.animateStyle(!0).when(t.period,{opacity:0}).delay(C).start(),p.add(w)}o(p,t)},n.updateEffectAnimation=function(t){for(var s=this._effectCfg,c=this.childAt(1),p=["symbolType","period","rippleScale"],A=0;A<p.length;A++){var w=p[A];if(s[w]!==t[w]){this.stopEffectAnimation(),this.startEffectAnimation(t);return}}o(c,t)},n.highlight=function(){this.trigger("emphasis")},n.downplay=function(){this.trigger("normal")},n.updateData=function(t,s){var c=t.hostModel;this.childAt(0).updateData(t,s);var p=this.childAt(1),A=t.getItemModel(s),w=t.getItemVisual(s,"symbol"),C=r(t.getItemVisual(s,"symbolSize")),x=t.getItemVisual(s,"color");p.attr("scale",C),p.traverse(function(M){M.attr({fill:x})});var E=A.getShallow("symbolOffset");if(E){var T=p.position;T[0]=u(E[0],C[0]),T[1]=u(E[1],C[1])}var _=t.getItemVisual(s,"symbolRotate");p.rotation=(_||0)*Math.PI/180||0;var v={};if(v.showEffectOn=c.get("showEffectOn"),v.rippleScale=A.get("rippleEffect.scale"),v.brushType=A.get("rippleEffect.brushType"),v.period=A.get("rippleEffect.period")*1e3,v.effectOffset=s/t.count(),v.z=A.getShallow("z")||0,v.zlevel=A.getShallow("zlevel")||0,v.symbolType=w,v.color=x,v.rippleEffectColor=A.get("rippleEffect.color"),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),v.showEffectOn==="render")this._effectCfg?this.updateEffectAnimation(v):this.startEffectAnimation(v),this._effectCfg=v;else{this._effectCfg=null,this.stopEffectAnimation();var S=this.childAt(0),O=function(){S.highlight(),v.showEffectOn!=="render"&&this.startEffectAnimation(v)},L=function(){S.downplay(),v.showEffectOn!=="render"&&this.stopEffectAnimation()};this.on("mouseover",O,this).on("mouseout",L,this).on("emphasis",O,this).on("normal",L,this)}this._effectCfg=v},n.fadeOut=function(t){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),t&&t()},g.inherits(d,y);var l=d;R.exports=l},yS9w:function(R,I,e){var g=e("MEGo"),f=g.parseSVG,b=g.makeViewBoxTransform,m=e("4fz+"),y=e("x6Kt"),h=e("bYtY"),u=h.assert,i=h.createHashMap,a=e("mFDi"),r=e("4NO4"),o=r.makeInner,d=o(),n={load:function(t,s){var c=d(s).originRoot;if(c)return{root:c,boundingRect:d(s).boundingRect};var p=l(s);return d(s).originRoot=p.root,d(s).boundingRect=p.boundingRect,p},makeGraphic:function(t,s,c){var p=d(s),A=p.rootMap||(p.rootMap=i()),w=A.get(c);if(w)return w;var C=p.originRoot,x=p.boundingRect;return p.originRootHostKey?w=l(s,x).root:(p.originRootHostKey=c,w=C),A.set(c,w)},removeGraphic:function(t,s,c){var p=d(s),A=p.rootMap;A&&A.removeKey(c),c===p.originRootHostKey&&(p.originRootHostKey=null)}};function l(t,s){var c=t.svgXML,p,A;try{p=c&&f(c,{ignoreViewBox:!0,ignoreRootClip:!0})||{},A=p.root,u(A!=null)}catch(_){throw new Error(`Invalid svg format
`+_.message)}var w=p.width,C=p.height,x=p.viewBoxRect;if(s||(s=w==null||C==null?A.getBoundingRect():new a(0,0,0,0),w!=null&&(s.width=w),C!=null&&(s.height=C)),x){var E=b(x,s.width,s.height),T=A;A=new m,A.add(T),T.scale=E.scale,T.position=E.position}return A.setClipPath(new y({shape:s.plain()})),{root:A,boundingRect:s}}R.exports=n},yWXo:function(R,I,e){var g=e("IwbS"),f=e("oVpE"),b=f.createSymbol,m=e("OS9S"),y=4,h=g.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(r,o){var d=o.points,n=o.size,l=this.symbolProxy,t=l.shape,s=r.getContext?r.getContext():r,c=s&&n[0]<y;if(c)return;for(var p=0;p<d.length;){var A=d[p++],w=d[p++];if(isNaN(A)||isNaN(w))continue;if(this.softClipShape&&!this.softClipShape.contain(A,w))continue;t.x=A-n[0]/2,t.y=w-n[1]/2,t.width=n[0],t.height=n[1],l.buildPath(r,t,!0)}},afterBrush:function(r){var o=this.shape,d=o.points,n=o.size,l=n[0]<y;if(!l)return;this.setTransform(r);for(var t=0;t<d.length;){var s=d[t++],c=d[t++];if(isNaN(s)||isNaN(c))continue;if(this.softClipShape&&!this.softClipShape.contain(s,c))continue;r.fillRect(s-n[0]/2,c-n[1]/2,n[0],n[1])}this.restoreTransform(r)},findDataIndex:function(r,o){for(var d=this.shape,n=d.points,l=d.size,t=Math.max(l[0],4),s=Math.max(l[1],4),c=n.length/2-1;c>=0;c--){var p=c*2,A=n[p]-t/2,w=n[p+1]-s/2;if(r>=A&&o>=w&&r<=A+t&&o<=w+s)return c}return-1}});function u(){this.group=new g.Group}var i=u.prototype;i.isPersistent=function(){return!this._incremental},i.updateData=function(r,o){this.group.removeAll();var d=new h({rectHover:!0,cursor:"default"});d.setShape({points:r.getLayout("symbolPoints")}),this._setCommon(d,r,!1,o),this.group.add(d),this._incremental=null},i.updateLayout=function(r){if(this._incremental)return;var o=r.getLayout("symbolPoints");this.group.eachChild(function(d){if(d.startIndex!=null){var n=(d.endIndex-d.startIndex)*2,l=d.startIndex*4*2;o=new Float32Array(o.buffer,l,n)}d.setShape("points",o)})},i.incrementalPrepareUpdate=function(r){this.group.removeAll(),this._clearIncremental(),r.count()>2e6?(this._incremental||(this._incremental=new m({silent:!0})),this.group.add(this._incremental)):this._incremental=null},i.incrementalUpdate=function(r,o,d){var n;this._incremental?(n=new h,this._incremental.addDisplayable(n,!0)):(n=new h({rectHover:!0,cursor:"default",startIndex:r.start,endIndex:r.end}),n.incremental=!0,this.group.add(n)),n.setShape({points:o.getLayout("symbolPoints")}),this._setCommon(n,o,!!this._incremental,d)},i._setCommon=function(r,o,d,n){var l=o.hostModel;n=n||{};var t=o.getVisual("symbolSize");r.setShape("size",t instanceof Array?t:[t,t]),r.softClipShape=n.clipShape||null,r.symbolProxy=b(o.getVisual("symbol"),0,0,0,0),r.setColor=r.symbolProxy.setColor;var s=r.shape.size[0]<y;r.useStyle(l.getModel("itemStyle").getItemStyle(s?["color","shadowBlur","shadowColor"]:["color"]));var c=o.getVisual("color");c&&r.setColor(c),d||(r.seriesIndex=l.seriesIndex,r.on("mousemove",function(p){r.dataIndex=null;var A=r.findDataIndex(p.offsetX,p.offsetY);A>=0&&(r.dataIndex=A+(r.startIndex||0))}))},i.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},i._clearIncremental=function(){var r=this._incremental;r&&r.clearDisplaybles()};var a=u;R.exports=a},ycre:function(R,I,e){var g=e("711d"),f=g("length");R.exports=f},ye1Q:function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="LoadingOutlined";var h=I.a=g.forwardRef(y)},ygfH:function(R,I,e){"use strict";Object.defineProperty(I,"__esModule",{value:!0});var g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};I.default=g},yik8:function(R,I,e){var g=e("bZqE"),f=g.eachAfter,b=g.eachBefore,m=e("Itpr"),y=m.init,h=m.firstWalk,u=m.secondWalk,i=m.separation,a=m.radialCoordinate,r=m.getViewRect;function o(n,l){n.eachSeriesByType("tree",function(t){d(t,l)})}function d(n,l){var t=r(n,l);n.layoutInfo=t;var s=n.get("layout"),c=0,p=0,A=null;s==="radial"?(c=2*Math.PI,p=Math.min(t.height,t.width)/2,A=i(function(U,z){return(U.parentNode===z.parentNode?1:2)/U.depth})):(c=t.width,p=t.height,A=i());var w=n.getData().tree.root,C=w.children[0];if(C){y(w),f(C,h,A),w.hierNode.modifier=-C.hierNode.prelim,b(C,u);var x=C,E=C,T=C;b(C,function(U){var z=U.getLayout().x;z<x.getLayout().x&&(x=U),z>E.getLayout().x&&(E=U),U.depth>T.depth&&(T=U)});var _=x===E?1:A(x,E)/2,v=_-x.getLayout().x,S=0,O=0,L=0,M=0;if(s==="radial")S=c/(E.getLayout().x+_+v),O=p/(T.depth-1||1),b(C,function(U){L=(U.getLayout().x+v)*S,M=(U.depth-1)*O;var z=a(L,M);U.setLayout({x:z.x,y:z.y,rawX:L,rawY:M},!0)});else{var F=n.getOrient();F==="RL"||F==="LR"?(O=p/(E.getLayout().x+_+v),S=c/(T.depth-1||1),b(C,function(U){M=(U.getLayout().x+v)*O,L=F==="LR"?(U.depth-1)*S:c-(U.depth-1)*S,U.setLayout({x:L,y:M},!0)})):(F==="TB"||F==="BT")&&(S=c/(E.getLayout().x+_+v),O=p/(T.depth-1||1),b(C,function(U){L=(U.getLayout().x+v)*S,M=F==="TB"?(U.depth-1)*O:p-(U.depth-1)*O,U.setLayout({x:L,y:M},!0)}))}}}R.exports=o},ynwM:function(R,I,e){var g=e("MFOe"),f=g.Global;R.exports={name:"oldFF-globalStorage",read:m,write:y,each:h,remove:u,clearAll:i};var b=f.globalStorage;function m(a){return b[a]}function y(a,r){b[a]=r}function h(a){for(var r=b.length-1;r>=0;r--){var o=b.key(r);a(b[o],o)}}function u(a){return b.removeItem(a)}function i(){h(function(a,r){delete b[a]})}},ypgQ:function(R,I,e){var g=e("bYtY"),f=e("4NO4"),b=e("bLfw"),m=g.each,y=g.clone,h=g.map,u=g.merge,i=/^(min|max)?(.+)$/;function a(s){this._api=s,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}a.prototype={constructor:a,setOption:function(s,c){s&&g.each(f.normalizeToArray(s.series),function(w){w&&w.data&&g.isTypedArray(w.data)&&g.setAsPrimitive(w.data)}),s=y(s);var p=this._optionBackup,A=r.call(this,s,c,!p);this._newBaseOption=A.baseOption,p?(l(p.baseOption,A.baseOption),A.timelineOptions.length&&(p.timelineOptions=A.timelineOptions),A.mediaList.length&&(p.mediaList=A.mediaList),A.mediaDefault&&(p.mediaDefault=A.mediaDefault)):this._optionBackup=A},mountOption:function(s){var c=this._optionBackup;return this._timelineOptions=h(c.timelineOptions,y),this._mediaList=h(c.mediaList,y),this._mediaDefault=y(c.mediaDefault),this._currentMediaIndices=[],y(s?c.baseOption:this._newBaseOption)},getTimelineOption:function(s){var c,p=this._timelineOptions;if(p.length){var A=s.getComponent("timeline");A&&(c=y(p[A.getCurrentIndex()],!0))}return c},getMediaOption:function(s){var c=this._api.getWidth(),p=this._api.getHeight(),A=this._mediaList,w=this._mediaDefault,C=[],x=[];if(!A.length&&!w)return x;for(var E=0,T=A.length;E<T;E++)o(A[E].query,c,p)&&C.push(E);return!C.length&&w&&(C=[-1]),C.length&&!n(C,this._currentMediaIndices)&&(x=h(C,function(_){return y(_===-1?w.option:A[_].option)})),this._currentMediaIndices=C,x}};function r(s,c,p){var A=[],w=[],C,x,E=s.timeline;if(s.baseOption&&(x=s.baseOption),(E||s.options)&&(x=x||{},A=(s.options||[]).slice()),s.media){x=x||{};var T=s.media;m(T,function(_){_&&_.option&&(_.query?w.push(_):C||(C=_))})}return x||(x=s),x.timeline||(x.timeline=E),m([x].concat(A).concat(g.map(w,function(_){return _.option})),function(_){m(c,function(v){v(_,p)})}),{baseOption:x,timelineOptions:A,mediaDefault:C,mediaList:w}}function o(s,c,p){var A={width:c,height:p,aspectratio:c/p},w=!0;return g.each(s,function(C,x){var E=x.match(i);if(!E||!E[1]||!E[2])return;var T=E[1],_=E[2].toLowerCase();d(A[_],C,T)||(w=!1)}),w}function d(s,c,p){return p==="min"?s>=c:p==="max"?s<=c:s===c}function n(s,c){return s.join(",")===c.join(",")}function l(s,c){c=c||{},m(c,function(p,A){if(p==null)return;var w=s[A];if(!b.hasClass(A))s[A]=u(w,p,!0);else{p=f.normalizeToArray(p),w=f.normalizeToArray(w);var C=f.mappingToExists(w,p);s[A]=h(C,function(x){return x.option&&x.exist?u(x.exist,x.option,!0):x.exist||x.option})}})}var t=a;R.exports=t},yxFR:function(R,I,e){var g=e("y+Vt"),f=e("nPnh"),b=f.subPixelOptimizeLine,m={},y=g.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(u,i){var a,r,o,d;this.subPixelOptimize?(b(m,i,this.style),a=m.x1,r=m.y1,o=m.x2,d=m.y2):(a=i.x1,r=i.y1,o=i.x2,d=i.y2);var n=i.percent;if(n===0)return;u.moveTo(a,r),n<1&&(o=a*(1-n)+o*n,d=r*(1-n)+d*n),u.lineTo(o,d)},pointAt:function(u){var i=this.shape;return[i.x1*(1-u)+i.x2*u,i.y1*(1-u)+i.y2*u]}});R.exports=y},z35g:function(R,I,e){var g=e("bYtY");function f(y){return this._axes[y]}var b=function(y){this._axes={},this._dimList=[],this.name=y||""};b.prototype={constructor:b,type:"cartesian",getAxis:function(y){return this._axes[y]},getAxes:function(){return g.map(this._dimList,f,this)},getAxesByScale:function(y){return y=y.toLowerCase(),g.filter(this.getAxes(),function(h){return h.scale.type===y})},addAxis:function(y){var h=y.dim;this._axes[h]=y,this._dimList.push(h)},dataToCoord:function(y){return this._dataCoordConvert(y,"dataToCoord")},coordToData:function(y){return this._dataCoordConvert(y,"coordToData")},_dataCoordConvert:function(y,h){for(var u=this._dimList,i=y instanceof Array?[]:{},a=0;a<u.length;a++){var r=u[a],o=this._axes[r];i[r]=o[h](y[r])}return i}};var m=b;R.exports=m},z7Xi:function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="UploadOutlined";var h=I.a=g.forwardRef(y)},zAh6:function(R,I,e){"use strict";e.d(I,"a",function(){return y});var g=e("xEkU"),f=e.n(g),b=e("i6bk");function m(h,u,i,a){var r=i-u;return h/=a/2,h<1?r/2*h*h*h+u:r/2*((h-=2)*h*h+2)+u}function y(h){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=u.getContainer,a=i===void 0?function(){return window}:i,r=u.callback,o=u.duration,d=o===void 0?450:o,n=a(),l=Object(b.a)(n,!0),t=Date.now(),s=function c(){var p=Date.now(),A=p-t,w=m(A>d?d:A,l,h,d);Object(b.b)(n)?n.scrollTo(window.pageXOffset,w):n instanceof HTMLDocument||n.constructor.name==="HTMLDocument"?n.documentElement.scrollTop=w:n.scrollTop=w,A<d?f()(c):typeof r=="function"&&r()};f()(s)}},zDms:function(R,I,e){var g=e("bYtY"),f=e("OELB"),b=e("UOVi"),m=e("72pK"),y=g.each,h=f.asc,u=function(n,l,t,s){this._dimName=n,this._axisIndex=l,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=s,this._dataZoomModel=t};u.prototype={constructor:u,hostedBy:function(n){return this._dataZoomModel===n},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var n=[],l=this.ecModel;return l.eachSeries(function(t){if(b.isCoordSupported(t.get("coordinateSystem"))){var s=this._dimName,c=l.queryComponents({mainType:s+"Axis",index:t.get(s+"AxisIndex"),id:t.get(s+"AxisId")})[0];this._axisIndex===(c&&c.componentIndex)&&n.push(t)}},this),n},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var n=this._dimName,l=this.ecModel,t=this.getAxisModel(),s=n==="x"||n==="y",c,p;s?(p="gridIndex",c=n==="x"?"y":"x"):(p="polarIndex",c=n==="angle"?"radius":"angle");var A;return l.eachComponent(c+"Axis",function(w){(w.get(p)||0)===(t.get(p)||0)&&(A=w)}),A},getMinMaxSpan:function(){return g.clone(this._minMaxSpan)},calculateDataWindow:function(n){var l=this._dataExtent,t=this.getAxisModel(),s=t.axis.scale,c=this._dataZoomModel.getRangePropMode(),p=[0,100],A=[],w=[],C;y(["start","end"],function(T,_){var v=n[T],S=n[T+"Value"];c[_]==="percent"?(v==null&&(v=p[_]),S=s.parse(f.linearMap(v,p,l))):(C=!0,S=S==null?l[_]:s.parse(S),v=f.linearMap(S,l,p)),w[_]=S,A[_]=v}),h(w),h(A);var x=this._minMaxSpan;C?E(w,A,l,p,!1):E(A,w,p,l,!0);function E(T,_,v,S,O){var L=O?"Span":"ValueSpan";m(0,T,v,"all",x["min"+L],x["max"+L]);for(var M=0;M<2;M++)_[M]=f.linearMap(T[M],v,S,!0),O&&(_[M]=s.parse(_[M]))}return{valueWindow:w,percentWindow:A}},reset:function(n){if(n!==this._dataZoomModel)return;var l=this.getTargetSeriesModels();this._dataExtent=i(this,this._dimName,l),o(this);var t=this.calculateDataWindow(n.settledOption);this._valueWindow=t.valueWindow,this._percentWindow=t.percentWindow,r(this)},restore:function(n){if(n!==this._dataZoomModel)return;this._valueWindow=this._percentWindow=null,r(this,!0)},filterData:function(n,l){if(n!==this._dataZoomModel)return;var t=this._dimName,s=this.getTargetSeriesModels(),c=n.get("filterMode"),p=this._valueWindow;if(c==="none")return;y(s,function(w){var C=w.getData(),x=C.mapDimension(t,!0);if(!x.length)return;c==="weakFilter"?C.filterSelf(function(E){for(var T,_,v,S=0;S<x.length;S++){var O=C.get(x[S],E),L=!isNaN(O),M=O<p[0],F=O>p[1];if(L&&!M&&!F)return!0;L&&(v=!0),M&&(T=!0),F&&(_=!0)}return v&&T&&_}):y(x,function(E){if(c==="empty")w.setData(C=C.map(E,function(_){return A(_)?_:NaN}));else{var T={};T[E]=p,C.selectRange(T)}}),y(x,function(E){C.setApproximateExtent(p,E)})});function A(w){return w>=p[0]&&w<=p[1]}}};function i(n,l,t){var s=[Infinity,-Infinity];return y(t,function(c){var p=c.getData();p&&y(p.mapDimension(l,!0),function(A){var w=p.getApproximateExtent(A);w[0]<s[0]&&(s[0]=w[0]),w[1]>s[1]&&(s[1]=w[1])})}),s[1]<s[0]&&(s=[NaN,NaN]),a(n,s),s}function a(n,l){var t=n.getAxisModel(),s=t.getMin(!0),c=t.get("type")==="category",p=c&&t.getCategories().length;s!=null&&s!=="dataMin"&&typeof s!="function"?l[0]=s:c&&(l[0]=p>0?0:NaN);var A=t.getMax(!0);return A!=null&&A!=="dataMax"&&typeof A!="function"?l[1]=A:c&&(l[1]=p>0?p-1:NaN),t.get("scale",!0)||(l[0]>0&&(l[0]=0),l[1]<0&&(l[1]=0)),l}function r(n,l){var t=n.getAxisModel(),s=n._percentWindow,c=n._valueWindow;if(!s)return;var p=f.getPixelPrecision(c,[0,500]);p=Math.min(p,20);var A=l||s[0]===0&&s[1]===100;t.setRange(A?null:+c[0].toFixed(p),A?null:+c[1].toFixed(p))}function o(n){var l=n._minMaxSpan={},t=n._dataZoomModel,s=n._dataExtent;y(["min","max"],function(c){var p=t.get(c+"Span"),A=t.get(c+"ValueSpan");A!=null&&(A=n.getAxisModel().axis.scale.parse(A)),A!=null?p=f.linearMap(s[0]+A,s,[0,100],!0):p!=null&&(A=f.linearMap(p,[0,100],s,!0)-s[0]),l[c+"Span"]=p,l[c+"ValueSpan"]=A})}var d=u;R.exports=d},zM3Q:function(R,I,e){var g=e("4NO4"),f=g.makeInner;function b(){var m=f();return function(y){var h=m(y),u=y.pipelineContext,i=h.large,a=h.progressiveRender,r=h.large=u&&u.large,o=h.progressiveRender=u&&u.progressiveRender;return!!(i^r||a^o)&&"reset"}}R.exports=b},zRKj:function(R,I,e){e("Ae16"),e("Sp2Z"),e("y4/Y")},zTMp:function(R,I,e){var g=e("bYtY"),f=e("Qxkt"),b=g.each,m=g.curry;function y(s,c){var p={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return h(p,s,c),p.seriesInvolved&&i(p,s),p}function h(s,c,p){var A=c.getComponent("tooltip"),w=c.getComponent("axisPointer"),C=w.get("link",!0)||[],x=[];b(p.getCoordinateSystems(),function(E){if(!E.axisPointerEnabled)return;var T=t(E.model),_=s.coordSysAxesInfo[T]={};s.coordSysMap[T]=E;var v=E.model,S=v.getModel("tooltip",A);if(b(E.getAxes(),m(F,!1,null)),E.getTooltipAxes&&A&&S.get("show")){var O=S.get("trigger")==="axis",L=S.get("axisPointer.type")==="cross",M=E.getTooltipAxes(S.get("axisPointer.axis"));(O||L)&&b(M.baseAxes,m(F,L?"cross":!0,O)),L&&b(M.otherAxes,m(F,"cross",!1))}function F(U,z,W){var N=W.model.getModel("axisPointer",w),H=N.get("show");if(!H||H==="auto"&&!U&&!l(N))return;z==null&&(z=N.get("triggerTooltip")),N=U?u(W,S,w,c,U,z):N;var j=N.get("snap"),k=t(W.model),B=z||j||W.type==="category",V=s.axesInfo[k]={key:k,axis:W,coordSys:E,axisPointerModel:N,triggerTooltip:z,involveSeries:B,snap:j,useHandle:l(N),seriesModels:[]};_[k]=V,s.seriesInvolved|=B;var K=a(C,W);if(K!=null){var Y=x[K]||(x[K]={axesInfo:{}});Y.axesInfo[k]=V,Y.mapper=C[K].mapper,V.linkGroup=Y}}})}function u(s,c,p,A,w,C){var x=c.getModel("axisPointer"),E={};b(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(S){E[S]=g.clone(x.get(S))}),E.snap=s.type!=="category"&&!!C,x.get("type")==="cross"&&(E.type="line");var T=E.label||(E.label={});if(T.show==null&&(T.show=!1),w==="cross"){var _=x.get("label.show");if(T.show=_!=null?_:!0,!C){var v=E.lineStyle=x.get("crossStyle");v&&g.defaults(T,v.textStyle)}}return s.model.getModel("axisPointer",new f(E,p,A))}function i(s,c){c.eachSeries(function(p){var A=p.coordinateSystem,w=p.get("tooltip.trigger",!0),C=p.get("tooltip.show",!0);if(!A||w==="none"||w===!1||w==="item"||C===!1||p.get("axisPointer.show",!0)===!1)return;b(s.coordSysAxesInfo[t(A.model)],function(x){var E=x.axis;A.getAxis(E.dim)===E&&(x.seriesModels.push(p),x.seriesDataCount==null&&(x.seriesDataCount=0),x.seriesDataCount+=p.getData().count())})},this)}function a(s,c){for(var p=c.model,A=c.dim,w=0;w<s.length;w++){var C=s[w]||{};if(r(C[A+"AxisId"],p.id)||r(C[A+"AxisIndex"],p.componentIndex)||r(C[A+"AxisName"],p.name))return w}}function r(s,c){return s==="all"||g.isArray(s)&&g.indexOf(s,c)>=0||s===c}function o(s){var c=d(s);if(!c)return;var p=c.axisPointerModel,A=c.axis.scale,w=p.option,C=p.get("status"),x=p.get("value");x!=null&&(x=A.parse(x));var E=l(p);C==null&&(w.status=E?"show":"hide");var T=A.getExtent().slice();T[0]>T[1]&&T.reverse(),(x==null||x>T[1])&&(x=T[1]),x<T[0]&&(x=T[0]),w.value=x,E&&(w.status=c.axis.scale.isBlank()?"hide":"show")}function d(s){var c=(s.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return c&&c.axesInfo[t(s)]}function n(s){var c=d(s);return c&&c.axisPointerModel}function l(s){return!!s.get("handle.show")}function t(s){return s.type+"||"+s.id}I.collect=y,I.fixValue=o,I.getAxisInfo=d,I.getAxisPointerModel=n,I.makeKey=t},zYTA:function(R,I,e){var g=e("bYtY"),f=256;function b(){var y=g.createCanvas();this.canvas=y,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}b.prototype={update:function(y,h,u,i,a,r){var o=this._getBrush(),d=this._getGradient(y,a,"inRange"),n=this._getGradient(y,a,"outOfRange"),l=this.pointSize+this.blurSize,t=this.canvas,s=t.getContext("2d"),c=y.length;t.width=h,t.height=u;for(var p=0;p<c;++p){var A=y[p],w=A[0],C=A[1],x=A[2],E=i(x);s.globalAlpha=E,s.drawImage(o,w-l,C-l)}if(!t.width||!t.height)return t;for(var T=s.getImageData(0,0,t.width,t.height),_=T.data,v=0,S=_.length,O=this.minOpacity,L=this.maxOpacity,M=L-O;v<S;){var E=_[v+3]/256,F=Math.floor(E*(f-1))*4;if(E>0){var U=r(E)?d:n;E>0&&(E=E*M+O),_[v++]=U[F],_[v++]=U[F+1],_[v++]=U[F+2],_[v++]=U[F+3]*E*256}else v+=4}return s.putImageData(T,0,0),t},_getBrush:function(){var y=this._brushCanvas||(this._brushCanvas=g.createCanvas()),h=this.pointSize+this.blurSize,u=h*2;y.width=u,y.height=u;var i=y.getContext("2d");return i.clearRect(0,0,u,u),i.shadowOffsetX=u,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-h,h,this.pointSize,0,Math.PI*2,!0),i.closePath(),i.fill(),y},_getGradient:function(y,h,u){for(var i=this._gradientPixels,a=i[u]||(i[u]=new Uint8ClampedArray(256*4)),r=[0,0,0,0],o=0,d=0;d<256;d++)h[u](d/255,!0,r),a[o++]=r[0],a[o++]=r[1],a[o++]=r[2],a[o++]=r[3];return a}};var m=b;R.exports=m},zarK:function(R,I,e){var g=e("YH21"),f=g.addEventListener,b=g.removeEventListener,m=g.normalizeEvent,y=g.getNativeEvent,h=e("bYtY"),u=e("H6uX"),i=e("ItGF"),a=300,r=i.domSupported,o=function(){var U=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],z=["touchstart","touchend","touchmove"],W={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},N=h.map(U,function(H){var j=H.replace("mouse","pointer");return W.hasOwnProperty(j)?j:H});return{mouse:U,touch:z,pointer:N}}(),d={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function n(U){return U==="mousewheel"&&i.browser.firefox?"DOMMouseScroll":U}function l(U){var z=U.pointerType;return z==="pen"||z==="touch"}function t(U){U.touching=!0,U.touchTimer!=null&&(clearTimeout(U.touchTimer),U.touchTimer=null),U.touchTimer=setTimeout(function(){U.touching=!1,U.touchTimer=null},700)}function s(U){U&&(U.zrByTouch=!0)}function c(U,z){return m(U.dom,new A(U,z),!0)}function p(U,z){for(var W=z,N=!1;W&&W.nodeType!==9&&!(N=W.domBelongToZr||W!==z&&W===U.painterRoot);)W=W.parentNode;return N}function A(U,z){this.type=z.type,this.target=this.currentTarget=U.dom,this.pointerType=z.pointerType,this.clientX=z.clientX,this.clientY=z.clientY}var w=A.prototype;w.stopPropagation=w.stopImmediatePropagation=w.preventDefault=h.noop;var C={mousedown:function(z){z=m(this.dom,z),this._mayPointerCapture=[z.zrX,z.zrY],this.trigger("mousedown",z)},mousemove:function(z){z=m(this.dom,z);var W=this._mayPointerCapture;W&&(z.zrX!==W[0]||z.zrY!==W[1])&&S(this,!0),this.trigger("mousemove",z)},mouseup:function(z){z=m(this.dom,z),S(this,!1),this.trigger("mouseup",z)},mouseout:function(z){z=m(this.dom,z),this._pointerCapturing&&(z.zrEventControl="no_globalout");var W=z.toElement||z.relatedTarget;z.zrIsToLocalDOM=p(this,W),this.trigger("mouseout",z)},touchstart:function(z){z=m(this.dom,z),s(z),this._lastTouchMoment=new Date,this.handler.processGesture(z,"start"),C.mousemove.call(this,z),C.mousedown.call(this,z)},touchmove:function(z){z=m(this.dom,z),s(z),this.handler.processGesture(z,"change"),C.mousemove.call(this,z)},touchend:function(z){z=m(this.dom,z),s(z),this.handler.processGesture(z,"end"),C.mouseup.call(this,z),+new Date-this._lastTouchMoment<a&&C.click.call(this,z)},pointerdown:function(z){C.mousedown.call(this,z)},pointermove:function(z){l(z)||C.mousemove.call(this,z)},pointerup:function(z){C.mouseup.call(this,z)},pointerout:function(z){l(z)||C.mouseout.call(this,z)}};h.each(["click","mousewheel","dblclick","contextmenu"],function(U){C[U]=function(z){z=m(this.dom,z),this.trigger(U,z)}});var x={pointermove:function(z){l(z)||x.mousemove.call(this,z)},pointerup:function(z){x.mouseup.call(this,z)},mousemove:function(z){this.trigger("mousemove",z)},mouseup:function(z){var W=this._pointerCapturing;S(this,!1),this.trigger("mouseup",z),W&&(z.zrEventControl="only_globalout",this.trigger("mouseout",z))}};function E(U,z){var W=z.domHandlers;i.pointerEventsSupported?h.each(o.pointer,function(N){_(z,N,function(H){W[N].call(U,H)})}):(i.touchEventsSupported&&h.each(o.touch,function(N){_(z,N,function(H){W[N].call(U,H),t(z)})}),h.each(o.mouse,function(N){_(z,N,function(H){H=y(H),z.touching||W[N].call(U,H)})}))}function T(U,z){i.pointerEventsSupported?h.each(d.pointer,W):i.touchEventsSupported||h.each(d.mouse,W);function W(N){function H(j){j=y(j),p(U,j.target)||(j=c(U,j),z.domHandlers[N].call(U,j))}_(z,N,H,{capture:!0})}}function _(U,z,W,N){U.mounted[z]=W,U.listenerOpts[z]=N,f(U.domTarget,n(z),W,N)}function v(U){var z=U.mounted;for(var W in z)z.hasOwnProperty(W)&&b(U.domTarget,n(W),z[W],U.listenerOpts[W]);U.mounted={}}function S(U,z){if(U._mayPointerCapture=null,r&&U._pointerCapturing^z){U._pointerCapturing=z;var W=U._globalHandlerScope;z?T(U,W):v(W)}}function O(U,z){this.domTarget=U,this.domHandlers=z,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function L(U,z){u.call(this),this.dom=U,this.painterRoot=z,this._localHandlerScope=new O(U,C),r&&(this._globalHandlerScope=new O(document,x)),this._pointerCapturing=!1,this._mayPointerCapture=null,E(this,this._localHandlerScope)}var M=L.prototype;M.dispose=function(){v(this._localHandlerScope),r&&v(this._globalHandlerScope)},M.setCursor=function(U){this.dom.style&&(this.dom.style.cursor=U||"default")},h.mixin(L,u);var F=L;R.exports=F},zdCA:function(R,I,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(I,"__esModule",{value:!0}),I.default=void 0;var b=f(e("q1tI")),m=g(e("PSzr")),y=g(e("KQxl")),h=function(a,r){return b.createElement(y.default,Object.assign({},a,{ref:r,icon:m.default}))};h.displayName="BarsOutlined";var u=b.forwardRef(h);I.default=u},zeV3:function(R,I,e){"use strict";var g=e("pVnL"),f=e.n(g),b=e("lSNA"),m=e.n(b),y=e("q1tI"),h=e.n(y),u=e("TSYQ"),i=e.n(u),a=e("H84U"),r=function(n,l){var t={};for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&l.indexOf(s)<0&&(t[s]=n[s]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,s=Object.getOwnPropertySymbols(n);c<s.length;c++)l.indexOf(s[c])<0&&Object.prototype.propertyIsEnumerable.call(n,s[c])&&(t[s[c]]=n[s[c]]);return t},o={small:8,middle:16,large:24},d=function(l){var t,s=y.useContext(a.b),c=s.getPrefixCls,p=s.space,A=s.direction,w=l.size,C=w===void 0?(p==null?void 0:p.size)||"small":w,x=l.align,E=l.className,T=l.children,_=l.direction,v=_===void 0?"horizontal":_,S=l.prefixCls,O=r(l,["size","align","className","children","direction","prefixCls"]),L=y.Children.count(T);if(L===0)return null;var M=x===void 0&&v==="horizontal"?"center":x,F=c("space",S),U=i()(F,"".concat(F,"-").concat(v),(t={},m()(t,"".concat(F,"-rtl"),A==="rtl"),m()(t,"".concat(F,"-align-").concat(M),M),t),E),z="".concat(F,"-item"),W=A==="rtl"?"marginLeft":"marginRight";return y.createElement("div",f()({className:U},O),y.Children.map(T,function(N,H){return y.createElement("div",{className:z,key:"".concat(z,"-").concat(H),style:H===L-1||N===null||N===void 0?{}:m()({},v==="vertical"?"marginBottom":W,typeof C=="string"?o[C]:C)},N)}))};I.a=d},zoYe:function(R,I,e){var g=e("nmnc"),f=e("eUgh"),b=e("Z0cm"),m=e("/9aa"),y=1/0,h=g?g.prototype:void 0,u=h?h.toString:void 0;function i(a){if(typeof a=="string")return a;if(b(a))return f(a,i)+"";if(m(a))return u?u.call(a):"";var r=a+"";return r=="0"&&1/a==-y?"-0":r}R.exports=i},zs7G:function(R,I,e){"use strict";var g=e("q1tI"),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},b=f,m=e("6VBw"),y=function(i,a){return g.createElement(m.a,Object.assign({},i,{ref:a,icon:b}))};y.displayName="DoubleRightOutlined";var h=I.a=g.forwardRef(y)},zuHt:function(R,I,e){var g=e("bYtY");function f(b){var m={};b.eachSeriesByType("map",function(y){var h=y.getMapType();if(y.getHostGeoModel()||m[h])return;var u={};g.each(y.seriesGroup,function(a){var r=a.coordinateSystem,o=a.originalData;a.get("showLegendSymbol")&&b.getComponent("legend")&&o.each(o.mapDimension("value"),function(d,n){var l=o.getName(n),t=r.getRegion(l);if(!t||isNaN(d))return;var s=u[l]||0,c=r.dataToPoint(t.center);u[l]=s+1,o.setItemLayout(n,{point:c,offset:s})})});var i=y.getData();i.each(function(a){var r=i.getName(a),o=i.getItemLayout(a)||{};o.showLabel=!u[r],i.setItemLayout(a,o)}),m[h]=!0})}R.exports=f}}]);