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.d87d04fa.async.js

762 lines
3.6 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(D,_,e){var g=e("y1pI");function f(y){return g(this.__data__,y)>-1}D.exports=f},"+BJd":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("6MrE"),m=e.n(y)},"+QRC":function(D,_,e){"use strict";var g=e("E9nw"),f={"text/plain":"Text","text/html":"Url",default:"Text"},y="Copy to clipboard: #{key}, Enter";function m(h){var c=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return h.replace(/#{\s*key\s*}/g,c)}function v(h,c){var a,i,r,o,d,n,l=!1;c||(c={}),a=c.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(),c.format)if(s.preventDefault(),typeof s.clipboardData=="undefined"){a&&console.warn("unable to use e.clipboardData"),a&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var u=f[c.format]||f.default;window.clipboardData.setData(u,h)}else s.clipboardData.clearData(),s.clipboardData.setData(c.format,h);c.onCopy&&(s.preventDefault(),c.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){a&&console.error("unable to copy using execCommand: ",s),a&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(c.format||"text",h),c.onCopy&&c.onCopy(window.clipboardData),l=!0}catch(u){a&&console.error("unable to copy using clipboardData: ",u),a&&console.error("falling back to prompt"),i=m("message"in c?c.message:y),window.prompt(i,h)}}finally{d&&(typeof d.removeRange=="function"?d.removeRange(o):d.removeAllRanges()),n&&document.body.removeChild(n),r()}return l}D.exports=v},"+TT/":function(D,_,e){var g=e("bYtY"),f=e("mFDi"),y=e("OELB"),m=y.parsePercent,v=e("7aKB"),h=g.each,c=["left","right","top","bottom","width","height"],a=[["width","left","right"],["height","top","bottom"]];function i(b,E,A,S,T){var L=0,x=0;S==null&&(S=Infinity),T==null&&(T=Infinity);var C=0;E.eachChild(function(I,N){var F=I.position,k=I.getBoundingRect(),B=E.childAt(N+1),P=B&&B.getBoundingRect(),K,R;if(b==="horizontal"){var U=k.width+(P?-P.x+k.x:0);K=L+U,K>S||I.newline?(L=0,K=U,x+=C+A,C=k.height):C=Math.max(C,k.height)}else{var j=k.height+(P?-P.y+k.y:0);R=x+j,R>T||I.newline?(L+=C+A,x=0,R=j,C=k.width):C=Math.max(C,k.width)}if(I.newline)return;F[0]=L,F[1]=x,b==="horizontal"?L=K+A:x=R+A})}var r=i,o=g.curry(i,"vertical"),d=g.curry(i,"horizontal");function n(b,E,A){var S=E.width,T=E.height,L=m(b.x,S),x=m(b.y,T),C=m(b.x2,S),I=m(b.y2,T);return(isNaN(L)||isNaN(parseFloat(b.x)))&&(L=0),(isNaN(C)||isNaN(parseFloat(b.x2)))&&(C=S),(isNaN(x)||isNaN(parseFloat(b.y)))&&(x=0),(isNaN(I)||isNaN(parseFloat(b.y2)))&&(I=T),A=v.normalizeCssArray(A||0),{width:Math.max(C-L-A[1]-A[3],0),height:Math.max(I-x-A[0]-A[2],0)}}function l(b,E,A){A=v.normalizeCssArray(A||0);var S=E.width,T=E.height,L=m(b.left,S),x=m(b.top,T),C=m(b.right,S),I=m(b.bottom,T),N=m(b.width,S),F=m(b.height,T),k=A[2]+A[0],B=A[1]+A[3],P=b.aspect;isNaN(N)&&(N=S-C-B-L),isNaN(F)&&(F=T-I-k-x),P!=null&&(isNaN(N)&&isNaN(F)&&(P>S/T?N=S*.8:F=T*.8),isNaN(N)&&(N=P*F),isNaN(F)&&(F=N/P)),isNaN(L)&&(L=S-C-N-B),isNaN(x)&&(x=T-I-F-k);switch(b.left||b.right){case"center":L=S/2-N/2-A[3];break;case"right":L=S-N-B;break}switch(b.top||b.bottom){case"middle":case"center":x=T/2-F/2-A[0];break;case"bottom":x=T-F-k;break}L=L||0,x=x||0,isNaN(N)&&(N=S-B-L-(C||0)),isNaN(F)&&(F=T-k-x-(I||0));var K=new f(L+A[3],x+A[0],N,F);return K.margin=A,K}function t(b,E,A,S,T){var L=!T||!T.hv||T.hv[0],x=!T||!T.hv||T.hv[1],C=T&&T.boundingMode||"all";if(!L&&!x)return;var I;if(C==="raw")I=b.type==="group"?new f(0,0,+E.width||0,+E.height||0):b.getBoundingRect();else if(I=b.getBoundingRect(),b.needLocalTransform()){var N=b.getLocalTransform();I=I.clone(),I.applyTransform(N)}E=l(g.defaults({width:I.width,height:I.height},E),A,S);var F=b.position,k=L?E.x-I.x:0,B=x?E.y-I.y:0;b.attr("position",C==="raw"?[k,B]:[F[0]+k,F[1]+B])}function s(b,E){return b[a[E][0]]!=null||b[a[E][1]]!=null&&b[a[E][2]]!=null}function u(b,E,A){!g.isObject(A)&&(A={});var S=A.ignoreSize;!g.isArray(S)&&(S=[S,S]);var T=x(a[0],0),L=x(a[1],1);N(a[0],b,T),N(a[1],b,L);function x(F,k){var B={},P=0,K={},R=0,U=2;if(h(F,function(W){K[W]=b[W]}),h(F,function(W){C(E,W)&&(B[W]=K[W]=E[W]),I(B,W)&&P++,I(K,W)&&R++}),S[k])return I(E,F[1])?K[F[2]]=null:I(E,F[2])&&(K[F[1]]=null),K;if(R===U||!P)return K;if(P>=U)return B;for(var j=0;j<F.length;j++){var H=F[j];if(!C(B,H)&&C(b,H)){B[H]=b[H];break}}return B}function C(F,k){return F.hasOwnProperty(k)}function I(F,k){return F[k]!=null&&F[k]!=="auto"}function N(F,k,B){h(F,function(P){k[P]=B[P]})}}function p(b){return w({},b)}function w(b,E){return E&&b&&h(c,function(A){E.hasOwnProperty(A)&&(b[A]=E[A])}),b}_.LOCATION_PARAMS=c,_.HV_NAMES=a,_.box=r,_.vbox=o,_.hbox=d,_.getAvailableSize=n,_.getLayoutRect=l,_.positionElement=t,_.sizeCalculable=s,_.mergeLayoutParam=u,_.getLayoutParams=p,_.copyLayoutParams=w},"+Zaj":function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("ugBc")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="CalendarOutlined";var c=y.forwardRef(h);_.default=c},"+d4F":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("y3Yb"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},"+eQT":function(D,_,e){"use strict";var g=e("wd/R"),f=e.n(g),y=e("Kwbf"),m={getNow:function(){return f()()},getWeekDay:function(jt){var Jt=jt.clone().locale("en_US");return Jt.weekday()+Jt.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,Jt){var nr=jt.clone();return nr.add(Jt,"year")},addMonth:function(jt,Jt){var nr=jt.clone();return nr.add(Jt,"month")},addDate:function(jt,Jt){var nr=jt.clone();return nr.add(Jt,"day")},setYear:function(jt,Jt){var nr=jt.clone();return nr.year(Jt)},setMonth:function(jt,Jt){var nr=jt.clone();return nr.month(Jt)},setDate:function(jt,Jt){var nr=jt.clone();return nr.date(Jt)},setHour:function(jt,Jt){var nr=jt.clone();return nr.hour(Jt)},setMinute:function(jt,Jt){var nr=jt.clone();return nr.minute(Jt)},setSecond:function(jt,Jt){var nr=jt.clone();return nr.second(Jt)},isAfter:function(jt,Jt){return jt.isAfter(Jt)},isValidate:function(jt){return jt.isValid()},locale:{getWeekFirstDay:function(jt){var Jt=f()().locale(jt);return Jt.localeData().firstDayOfWeek()},getWeek:function(jt,Jt){var nr=Jt.clone(),Ir=nr.locale(jt);return Ir.week()},getShortWeekDays:function(jt){var Jt=f()().locale(jt);return Jt.localeData().weekdaysMin()},getShortMonths:function(jt){var Jt=f()().locale(jt);return Jt.localeData().monthsShort()},format:function(jt,Jt,nr){var Ir=Jt.clone(),wr=Ir.locale(jt);return wr.format(nr)},parse:function(jt,Jt,nr){for(var Ir=[],wr=0;wr<nr.length;wr+=1){var Er=nr[wr],zr=Jt;if(Er.includes("wo")||Er.includes("Wo")){Er=Er.replace(/wo/g,"w").replace(/Wo/g,"W");var Jr=Er.match(/[-YyMmDdHhSsWwGg]+/g),Zr=zr.match(/[-\d]+/g);Jr&&Zr?(Er=Jr.join(""),zr=Zr.join("")):Ir.push(Er.replace(/o/g,""))}var an=f()(zr,Er,jt,!0);if(an.isValid())return an}for(var St=0;St<Ir.length;St+=1){var Vt=f()(Jt,Ir[St],jt,!1);if(Vt.isValid())return Object(y.b)(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),Vt}return null}}},v=m,h=e("pVnL"),c=e.n(h),a=e("q1tI"),i=e("2/Rp");function r(tt){return a.createElement(i.a,c()({size:"small",type:"primary"},tt))}var o=e("mr32");function d(tt){return a.createElement(o.a,c()({color:"blue"},tt))}var n=e("lSNA"),l=e.n(n),t=e("lwsE"),s=e.n(t),u=e("W8MJ"),p=e.n(u),w=e("7W2i"),b=e.n(w),E=e("LQ03"),A=e.n(E),S=e("TSYQ"),T=e.n(S),L=e("r/2G"),x=e.n(L),C=e("XzQk"),I=e.n(C),N=e("kbBi"),F=e.n(N),k=e("1OyB"),B=e("vuIU"),P=e("Ji7U"),K=e("LK+K"),R=e("rePB"),U=e("VTBJ"),j=e("ODXe"),H=e("6cGi"),W=e("U8pU"),X=e("4IlW"),z=a.createContext({}),G=z,Z={visibility:"hidden"};function ge(tt){var jt=tt.prefixCls,Jt=tt.prevIcon,nr=Jt===void 0?"\u2039":Jt,Ir=tt.nextIcon,wr=Ir===void 0?"\u203A":Ir,Er=tt.superPrevIcon,zr=Er===void 0?"\xAB":Er,Jr=tt.superNextIcon,Zr=Jr===void 0?"\xBB":Jr,an=tt.onSuperPrev,St=tt.onSuperNext,Vt=tt.onPrev,sr=tt.onNext,br=tt.children,Mr=a.useContext(G),Dr=Mr.hideNextBtn,rn=Mr.hidePrevBtn;return a.createElement("div",{className:jt},an&&a.createElement("button",{type:"button",onClick:an,tabIndex:-1,className:"".concat(jt,"-super-prev-btn"),style:rn?Z:{}},zr),Vt&&a.createElement("button",{type:"button",onClick:Vt,tabIndex:-1,className:"".concat(jt,"-prev-btn"),style:rn?Z:{}},nr),a.createElement("div",{className:"".concat(jt,"-view")},br),sr&&a.createElement("button",{type:"button",onClick:sr,tabIndex:-1,className:"".concat(jt,"-next-btn"),style:Dr?Z:{}},wr),St&&a.createElement("button",{type:"button",onClick:St,tabIndex:-1,className:"".concat(jt,"-super-next-btn"),style:Dr?Z:{}},Zr))}var Q=ge;function we(tt){var jt=a.useContext(G),Jt=jt.hideHeader;if(Jt)return null;var nr=tt.prefixCls,Ir=tt.generateConfig,wr=tt.locale,Er=tt.value,zr=tt.format,Jr="".concat(nr,"-header");return a.createElement(Q,{prefixCls:Jr},Er?Ir.locale.format(wr.locale,Er,zr):"\xA0")}var Ee=we,Ae=e("YrtM"),Pe=e("KQm4"),Ge=new Map;function gt(tt,jt,Jt){if(Ge.get(tt)&&cancelAnimationFrame(Ge.get(tt)),Jt<=0){Ge.set(tt,requestAnimationFrame(function(){tt.scrollTop=jt}));return}var nr=jt-tt.scrollTop,Ir=nr/Jt*10;Ge.set(tt,requestAnimationFrame(function(){tt.scrollTop+=Ir,tt.scrollTop!==jt&&gt(tt,jt,Jt-10)}))}function _e(tt,jt){var Jt=jt.onLeftRight,nr=jt.onCtrlLeftRight,Ir=jt.onUpDown,wr=jt.onPageUpDown,Er=jt.onEnter,zr=tt.which,Jr=tt.ctrlKey,Zr=tt.metaKey;switch(zr){case X.a.LEFT:if(Jr||Zr){if(nr)return nr(-1),!0}else if(Jt)return Jt(-1),!0;break;case X.a.RIGHT:if(Jr||Zr){if(nr)return nr(1),!0}else if(Jt)return Jt(1),!0;break;case X.a.UP:if(Ir)return Ir(-1),!0;break;case X.a.DOWN:if(Ir)return Ir(1),!0;break;case X.a.PAGE_UP:if(wr)return wr(-1),!0;break;case X.a.PAGE_DOWN:if(wr)return wr(1),!0;break;case X.a.ENTER:if(Er)return Er(),!0;break}return!1}function Ce(tt,jt,Jt,nr){var Ir=tt;if(!Ir)switch(jt){case"time":Ir=nr?"hh:mm:ss a":"HH:mm:ss";break;case"week":Ir="gggg-wo";break;case"month":Ir="YYYY-MM";break;case"quarter":Ir="YYYY-[Q]Q";break;case"year":Ir="YYYY";break;default:Ir=Jt?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Ir}function lt(tt,jt){var Jt=tt==="time"?8:10;return Math.max(Jt,jt.length)+2}var ce=null,Y=new Set;function V(tt){return!ce&&typeof window!="undefined"&&window.addEventListener&&(ce=function(Jt){Object(Pe.a)(Y).forEach(function(nr){nr(Jt)})},window.addEventListener("mousedown",ce)),Y.add(tt),function(){Y.delete(tt),Y.size===0&&(window.removeEventListener("mousedown",ce),ce=null)}}var $=function(jt){return jt==="month"||jt==="date"?"year":jt},Te=function(jt){return jt==="date"?"month":jt},ye=function(jt){return jt==="month"||jt==="date"?"quarter":jt},Fe=function(jt){return jt==="date"?"week":jt},Oe={year:$,month:Te,quarter:ye,week:Fe,time:null,date:null};function se(tt,jt){return tt.some(function(Jt){return Jt&&Jt.contains(jt)})}function fe(tt){var jt=tt.prefixCls,Jt=tt.units,nr=tt.onSelect,Ir=tt.value,wr=tt.active,Er=tt.hideDisabledOptions,zr="".concat(jt,"-cell"),Jr=a.useContext(G),Zr=Jr.open,an=a.useRef(null),St=a.useRef(new Map);return a.useLayoutEffect(function(){var Vt=St.current.get(Ir);Vt&&Zr!==!1&&gt(an.current,Vt.offsetTop,120)},[Ir]),a.useLayoutEffect(function(){if(Zr){var Vt=St.current.get(Ir);Vt&&gt(an.current,Vt.offsetTop,0)}},[Zr]),a.createElement("ul",{className:T()("".concat(jt,"-column"),Object(R.a)({},"".concat(jt,"-column-active"),wr)),ref:an,style:{position:"relative"}},Jt.map(function(Vt){var sr;return Er&&Vt.disabled?null:a.createElement("li",{key:Vt.value,ref:function(Mr){St.current.set(Vt.value,Mr)},className:T()(zr,(sr={},Object(R.a)(sr,"".concat(zr,"-disabled"),Vt.disabled),Object(R.a)(sr,"".concat(zr,"-selected"),Ir===Vt.value),sr)),onClick:function(){if(Vt.disabled)return;nr(Vt.value)}},a.createElement("div",{className:"".concat(zr,"-inner")},Vt.label))}))}var Le=fe;function Je(tt,jt){for(var Jt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",nr=String(tt);nr.length<jt;)nr="".concat(Jt).concat(tt);return nr}var mt=function(){for(var jt=arguments.length,Jt=new Array(jt),nr=0;nr<jt;nr++)Jt[nr]=arguments[nr];return Jt};function Ct(tt){return tt==null?[]:Array.isArray(tt)?tt:[tt]}function Ue(tt){var jt={};return Object.keys(tt).forEach(function(Jt){(Jt.substr(0,5)==="data-"||Jt.substr(0,5)==="aria-"||Jt==="role"||Jt==="name")&&Jt.substr(0,7)!=="data-__"&&(jt[Jt]=tt[Jt])}),jt}function Rt(tt,jt){return tt?tt[jt]:null}function Ke(tt,jt,Jt){var nr=[Rt(tt,0),Rt(tt,1)];return nr[Jt]=typeof jt=="function"?jt(nr[Jt]):jt,!nr[0]&&!nr[1]?null:nr}function wt(tt,jt,Jt,nr,Ir){var wr=tt.setHour(jt,Jt);return wr=tt.setMinute(wr,nr),wr=tt.setSecond(wr,Ir),wr}function Ye(tt,jt,Jt,nr,Ir,wr){var Er=Math.floor(tt/nr)*nr;if(Er<tt)return[Er,60-Ir,60-wr];var zr=Math.floor(jt/Ir)*Ir;if(zr<jt)return[Er,zr,60-wr];var Jr=Math.floor(Jt/wr)*wr;return[Er,zr,Jr]}function et(tt,jt){if(tt.length!==jt.length)return!0;for(var Jt=0;Jt<tt.length;Jt+=1)if(tt[Jt].disabled!==jt[Jt].disabled)return!0;return!1}function rt(tt,jt,Jt,nr){for(var Ir=[],wr=tt;wr<=jt;wr+=Jt)Ir.push({label:Je(wr,2),value:wr,disabled:(nr||[]).includes(wr)});return Ir}function st(tt){var jt=tt.generateConfig,Jt=tt.prefixCls,nr=tt.operationRef,Ir=tt.activeColumnIndex,wr=tt.value,Er=tt.showHour,zr=tt.showMinute,Jr=tt.showSecond,Zr=tt.use12Hours,an=tt.hourStep,St=an===void 0?1:an,Vt=tt.minuteStep,sr=Vt===void 0?1:Vt,br=tt.secondStep,Mr=br===void 0?1:br,Dr=tt.disabledHours,rn=tt.disabledMinutes,fn=tt.disabledSeconds,wn=tt.hideDisabledOptions,Hn=tt.onSelect,Sn=[],bn="".concat(Jt,"-content"),Mn="".concat(Jt,"-time-panel"),vn,Rn=wr?jt.getHour(wr):-1,En=wr?jt.getMinute(wr):-1,On=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=wt(jt,ya,!Zr||!hi?oa:oa+12,sa,Ni),ya},ai=rt(0,23,St,Dr&&Dr()),ri=Object(Ae.a)(function(){return ai},ai,et);Zr&&(vn=Rn>=12,Rn%=12);var Di=a.useMemo(function(){if(!Zr)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},[Zr,ri]),yi=Object(j.a)(Di,2),xi=yi[0],Li=yi[1],Un=a.useMemo(function(){return Zr?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":Je(hi,2);return Object(U.a)(Object(U.a)({},mi),{},{label:qi,value:hi})}):ri},[Zr,ri]),Ri=rt(0,59,sr,rn&&rn(Rn)),fa=rt(0,59,Mr,fn&&fn(Rn,En));nr.current={onUpDown:function(hi){var qi=Sn[Ir];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:a.cloneElement(hi,{prefixCls:Mn,value:qi,active:Ir===Sn.length,onSelect:Ea,units:va,hideDisabledOptions:wn}),onSelect:Ea,value:qi,units:va})}Ui(Er,a.createElement(Le,{key:"hour"}),Rn,Un,function(mi){Hn(Xn(vn,mi,En,On),"mouse")}),Ui(zr,a.createElement(Le,{key:"minute"}),En,Ri,function(mi){Hn(Xn(vn,Rn,mi,On),"mouse")}),Ui(Jr,a.createElement(Le,{key:"second"}),On,fa,function(mi){Hn(Xn(vn,Rn,En,mi),"mouse")});var Mi=-1;return typeof vn=="boolean"&&(Mi=vn?1:0),Ui(Zr===!0,a.createElement(Le,{key:"12hours"}),Mi,[{label:"AM",value:0,disabled:xi},{label:"PM",value:1,disabled:Li}],function(mi){Hn(Xn(!!mi,Rn,En,On),"mouse")}),a.createElement("div",{className:bn},Sn.map(function(mi){var hi=mi.node;return hi}))}var Ve=st,oe=function(jt){return jt.filter(function(Jt){return Jt!==!1}).length};function re(tt){var jt=tt.generateConfig,Jt=tt.format,nr=Jt===void 0?"HH:mm:ss":Jt,Ir=tt.prefixCls,wr=tt.active,Er=tt.operationRef,zr=tt.showHour,Jr=tt.showMinute,Zr=tt.showSecond,an=tt.use12Hours,St=an===void 0?!1:an,Vt=tt.onSelect,sr=tt.value,br="".concat(Ir,"-time-panel"),Mr=a.useRef(),Dr=a.useState(-1),rn=Object(j.a)(Dr,2),fn=rn[0],wn=rn[1],Hn=oe([zr,Jr,Zr,St]);return Er.current={onKeyDown:function(bn){return _e(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)}},a.createElement("div",{className:T()(br,Object(R.a)({},"".concat(br,"-active"),wr))},a.createElement(Ee,Object.assign({},tt,{format:nr,prefixCls:Ir})),a.createElement(Ve,Object.assign({},tt,{prefixCls:Ir,activeColumnIndex:fn,operationRef:Mr})))}var it=re,Qe=7;function ve(tt,jt){return!tt&&!jt?!0:!tt||!jt?!1:void 0}function Zt(tt,jt,Jt){var nr=ve(jt,Jt);if(typeof nr=="boolean")return nr;var Ir=Math.floor(tt.getYear(jt)/10),wr=Math.floor(tt.getYear(Jt)/10);return Ir===wr}function dt(tt,jt,Jt){var nr=ve(jt,Jt);return typeof nr=="boolean"?nr:tt.getYear(jt)===tt.getYear(Jt)}function ct(tt,jt){var Jt=Math.floor(tt.getMonth(jt)/3);return Jt+1}function yt(tt,jt,Jt){var nr=ve(jt,Jt);return typeof nr=="boolean"?nr:dt(tt,jt,Jt)&&ct(tt,jt)===ct(tt,Jt)}function _t(tt,jt,Jt){var nr=ve(jt,Jt);return typeof nr=="boolean"?nr:dt(tt,jt,Jt)&&tt.getMonth(jt)===tt.getMonth(Jt)}function or(tt,jt,Jt){var nr=ve(jt,Jt);return typeof nr=="boolean"?nr:tt.getYear(jt)===tt.getYear(Jt)&&tt.getMonth(jt)===tt.getMonth(Jt)&&tt.getDate(jt)===tt.getDate(Jt)}function Pt(tt,jt,Jt){var nr=ve(jt,Jt);return typeof nr=="boolean"?nr:tt.getHour(jt)===tt.getHour(Jt)&&tt.getMinute(jt)===tt.getMinute(Jt)&&tt.getSecond(jt)===tt.getSecond(Jt)}function be(tt,jt,Jt,nr){var Ir=ve(Jt,nr);return typeof Ir=="boolean"?Ir:tt.locale.getWeek(jt,Jt)===tt.locale.getWeek(jt,nr)}function me(tt,jt,Jt){return or(tt,jt,Jt)&&Pt(tt,jt,Jt)}function pe(tt,jt,Jt,nr){return!jt||!Jt||!nr?!1:!or(tt,jt,nr)&&!or(tt,Jt,nr)&&tt.isAfter(nr,jt)&&tt.isAfter(Jt,nr)}function ue(tt,jt,Jt){var nr=jt.locale.getWeekFirstDay(tt),Ir=jt.setDate(Jt,1),wr=jt.getWeekDay(Ir),Er=jt.addDate(Ir,nr-wr);return jt.getMonth(Er)===jt.getMonth(Jt)&&jt.getDate(Er)>1&&(Er=jt.addDate(Er,-7)),Er}function De(tt,jt,Jt){var nr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(jt){case"year":return Jt.addYear(tt,nr*10);case"quarter":case"month":return Jt.addYear(tt,nr);default:return Jt.addMonth(tt,nr)}}var He=a.createContext({}),ze=He;function Xe(tt){var jt=tt.cellPrefixCls,Jt=tt.generateConfig,nr=tt.rangedValue,Ir=tt.hoverRangedValue,wr=tt.isInView,Er=tt.isSameCell,zr=tt.offsetCell,Jr=tt.today,Zr=tt.value;function an(St){var Vt,sr=zr(St,-1),br=zr(St,1),Mr=Rt(nr,0),Dr=Rt(nr,1),rn=Rt(Ir,0),fn=Rt(Ir,1),wn=pe(Jt,rn,fn,St);function Hn(En){return Er(Mr,En)}function Sn(En){return Er(Dr,En)}var bn=Er(rn,St),Mn=Er(fn,St),vn=(wn||Mn)&&(!wr(sr)||Sn(sr)),Rn=(wn||bn)&&(!wr(br)||Hn(br));return Vt={},Object(R.a)(Vt,"".concat(jt,"-in-view"),wr(St)),Object(R.a)(Vt,"".concat(jt,"-in-range"),pe(Jt,Mr,Dr,St)),Object(R.a)(Vt,"".concat(jt,"-range-start"),Hn(St)),Object(R.a)(Vt,"".concat(jt,"-range-end"),Sn(St)),Object(R.a)(Vt,"".concat(jt,"-range-start-single"),Hn(St)&&!Dr),Object(R.a)(Vt,"".concat(jt,"-range-end-single"),Sn(St)&&!Mr),Object(R.a)(Vt,"".concat(jt,"-range-start-near-hover"),Hn(St)&&(Er(sr,rn)||pe(Jt,rn,fn,sr))),Object(R.a)(Vt,"".concat(jt,"-range-end-near-hover"),Sn(St)&&(Er(br,fn)||pe(Jt,rn,fn,br))),Object(R.a)(Vt,"".concat(jt,"-range-hover"),wn),Object(R.a)(Vt,"".concat(jt,"-range-hover-start"),bn),Object(R.a)(Vt,"".concat(jt,"-range-hover-end"),Mn),Object(R.a)(Vt,"".concat(jt,"-range-hover-edge-start"),vn),Object(R.a)(Vt,"".concat(jt,"-range-hover-edge-end"),Rn),Object(R.a)(Vt,"".concat(jt,"-range-hover-edge-start-near-range"),vn&&Er(sr,Dr)),Object(R.a)(Vt,"".concat(jt,"-range-hover-edge-end-near-range"),Rn&&Er(br,Mr)),Object(R.a)(Vt,"".concat(jt,"-today"),Er(Jr,St)),Object(R.a)(Vt,"".concat(jt,"-selected"),Er(Zr,St)),Vt}return an}function Be(tt){for(var jt=tt.prefixCls,Jt=tt.disabledDate,nr=tt.onSelect,Ir=tt.rowNum,wr=tt.colNum,Er=tt.prefixColumn,zr=tt.rowClassName,Jr=tt.baseDate,Zr=tt.getCellClassName,an=tt.getCellText,St=tt.getCellNode,Vt=tt.getCellDate,sr=tt.titleCell,br=tt.headerCells,Mr=a.useContext(G),Dr=Mr.onDateMouseEnter,rn=Mr.onDateMouseLeave,fn="".concat(jt,"-cell"),wn=[],Hn=0;Hn<Ir;Hn+=1){for(var Sn=[],bn=void 0,Mn=function(En){var On=Hn*wr+En,Xn=Vt(Jr,On),ai=Jt&&Jt(Xn);En===0&&(bn=Xn,Er&&Sn.push(Er(bn))),Sn.push(a.createElement("td",{key:En,title:sr&&sr(Xn),className:T()(fn,Object(U.a)(Object(R.a)({},"".concat(fn,"-disabled"),ai),Zr(Xn))),onClick:function(){ai||nr(Xn)},onMouseEnter:function(){!ai&&Dr&&Dr(Xn)},onMouseLeave:function(){!ai&&rn&&rn(Xn)}},St?St(Xn):a.createElement("div",{className:"".concat(fn,"-inner")},an(Xn))))},vn=0;vn<wr;vn+=1)Mn(vn);wn.push(a.createElement("tr",{key:Hn,className:zr&&zr(bn)},Sn))}return a.createElement("div",{className:"".concat(jt,"-body")},a.createElement("table",{className:"".concat(jt,"-content")},br&&a.createElement("thead",null,a.createElement("tr",null,br)),a.createElement("tbody",null,wn)))}function nt(tt){var jt=tt.prefixCls,Jt=tt.generateConfig,nr=tt.prefixColumn,Ir=tt.locale,wr=tt.rowCount,Er=tt.viewDate,zr=tt.value,Jr=tt.dateRender,Zr=a.useContext(ze),an=Zr.rangedValue,St=Zr.hoverRangedValue,Vt=ue(Ir.locale,Jt,Er),sr="".concat(jt,"-cell"),br=Jt.locale.getWeekFirstDay(Ir.locale),Mr=Jt.getNow(),Dr=[],rn=Ir.shortWeekDays||(Jt.locale.getShortWeekDays?Jt.locale.getShortWeekDays(Ir.locale):[]);nr&&Dr.push(a.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var fn=0;fn<Qe;fn+=1)Dr.push(a.createElement("th",{key:fn},rn[(fn+br)%Qe]));var wn=Xe({cellPrefixCls:sr,today:Mr,value:zr,generateConfig:Jt,rangedValue:nr?null:an,hoverRangedValue:nr?null:St,isSameCell:function(bn,Mn){return or(Jt,bn,Mn)},isInView:function(bn){return _t(Jt,bn,Er)},offsetCell:function(bn,Mn){return Jt.addDate(bn,Mn)}}),Hn=Jr?function(Sn){return Jr(Sn,Mr)}:void 0;return a.createElement(Be,Object.assign({},tt,{rowNum:wr,colNum:Qe,baseDate:Vt,getCellNode:Hn,getCellText:Jt.getDate,getCellClassName:wn,getCellDate:Jt.addDate,titleCell:function(bn){return Jt.locale.format(Ir.locale,bn,"YYYY-MM-DD")},headerCells:Dr}))}var At=nt;function It(tt){var jt=tt.prefixCls,Jt=tt.generateConfig,nr=tt.locale,Ir=tt.viewDate,wr=tt.onNextMonth,Er=tt.onPrevMonth,zr=tt.onNextYear,Jr=tt.onPrevYear,Zr=tt.onYearClick,an=tt.onMonthClick,St=a.useContext(G),Vt=St.hideHeader;if(Vt)return null;var sr="".concat(jt,"-header"),br=nr.shortMonths||(Jt.locale.getShortMonths?Jt.locale.getShortMonths(nr.locale):[]),Mr=Jt.getMonth(Ir),Dr=a.createElement("button",{type:"button",key:"year",onClick:Zr,tabIndex:-1,className:"".concat(jt,"-year-btn")},Jt.locale.format(nr.locale,Ir,nr.yearFormat)),rn=a.createElement("button",{type:"button",key:"month",onClick:an,tabIndex:-1,className:"".concat(jt,"-month-btn")},nr.monthFormat?Jt.locale.format(nr.locale,Ir,nr.monthFormat):br[Mr]),fn=nr.monthBeforeYear?[rn,Dr]:[Dr,rn];return a.createElement(Q,Object.assign({},tt,{prefixCls:sr,onSuperPrev:Jr,onPrev:Er,onNext:wr,onSuperNext:zr}),fn)}var ae=It,he=6;function q(tt){var jt=tt.prefixCls,Jt=tt.panelName,nr=Jt===void 0?"date":Jt,Ir=tt.keyboardConfig,wr=tt.active,Er=tt.operationRef,zr=tt.generateConfig,Jr=tt.value,Zr=tt.viewDate,an=tt.onViewDateChange,St=tt.onPanelChange,Vt=tt.onSelect,sr="".concat(jt,"-").concat(nr,"-panel");Er.current={onKeyDown:function(rn){return _e(rn,Object(U.a)({onLeftRight:function(wn){Vt(zr.addDate(Jr||Zr,wn),"key")},onCtrlLeftRight:function(wn){Vt(zr.addYear(Jr||Zr,wn),"key")},onUpDown:function(wn){Vt(zr.addDate(Jr||Zr,wn*Qe),"key")},onPageUpDown:function(wn){Vt(zr.addMonth(Jr||Zr,wn),"key")}},Ir))}};var br=function(rn){var fn=zr.addYear(Zr,rn);an(fn),St(null,fn)},Mr=function(rn){var fn=zr.addMonth(Zr,rn);an(fn),St(null,fn)};return a.createElement("div",{className:T()(sr,Object(R.a)({},"".concat(sr,"-active"),wr))},a.createElement(ae,Object.assign({},tt,{prefixCls:jt,value:Jr,viewDate:Zr,onPrevYear:function(){br(-1)},onNextYear:function(){br(1)},onPrevMonth:function(){Mr(-1)},onNextMonth:function(){Mr(1)},onMonthClick:function(){St("month",Zr)},onYearClick:function(){St("year",Zr)}})),a.createElement(At,Object.assign({},tt,{onSelect:function(rn){return Vt(rn,"mouse")},prefixCls:jt,value:Jr,viewDate:Zr,rowCount:he})))}var ne=q;function Se(tt,jt,Jt){if(!Jt)return jt;var nr=jt;return nr=tt.setHour(nr,tt.getHour(Jt)),nr=tt.setMinute(nr,tt.getMinute(Jt)),nr=tt.setSecond(nr,tt.getSecond(Jt)),nr}var Ne=mt("date","time");function Me(tt){var jt=tt.prefixCls,Jt=tt.operationRef,nr=tt.generateConfig,Ir=tt.value,wr=tt.defaultValue,Er=tt.disabledTime,zr=tt.showTime,Jr=tt.onSelect,Zr="".concat(jt,"-datetime-panel"),an=a.useState(null),St=Object(j.a)(an,2),Vt=St[0],sr=St[1],br=a.useRef({}),Mr=a.useRef({}),Dr=Object(W.a)(zr)==="object"?Object(U.a)({},zr):{};function rn(Sn){var bn=Ne.indexOf(Vt)+Sn,Mn=Ne[bn]||null;return Mn}var fn=function(bn){Mr.current.onBlur&&Mr.current.onBlur(bn),sr(null)};Jt.current={onKeyDown:function(bn){if(bn.which===X.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[X.a.LEFT,X.a.RIGHT,X.a.UP,X.a.DOWN].includes(bn.which)?(sr("date"),!0):!1},onBlur:fn,onClose:fn};var wn=function(bn,Mn){var vn=bn;Mn==="date"&&!Ir&&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"&&!Ir&&wr&&(vn=nr.setYear(vn,nr.getYear(wr)),vn=nr.setMonth(vn,nr.getMonth(wr)),vn=nr.setDate(vn,nr.getDate(wr))),Jr&&Jr(vn,"mouse")},Hn=Er?Er(Ir||null):{};return a.createElement("div",{className:T()(Zr,Object(R.a)({},"".concat(Zr,"-active"),Vt))},a.createElement(ne,Object.assign({},tt,{operationRef:br,active:Vt==="date",onSelect:function(bn){wn(Se(nr,bn,zr&&Object(W.a)(zr)==="object"?zr.defaultValue:null),"date")}})),a.createElement(it,Object.assign({},tt,{format:void 0},Dr,Hn,{defaultValue:void 0,operationRef:Mr,active:Vt==="time",onSelect:function(bn){wn(bn,"time")}})))}var $e=Me;function vt(tt){var jt=tt.prefixCls,Jt=tt.generateConfig,nr=tt.locale,Ir=tt.value,wr="".concat(jt,"-cell"),Er=function(an){return a.createElement("td",{key:"week",className:T()(wr,"".concat(wr,"-week"))},Jt.locale.getWeek(nr.locale,an))},zr="".concat(jt,"-week-panel-row"),Jr=function(an){return T()(zr,Object(R.a)({},"".concat(zr,"-selected"),be(Jt,nr.locale,Ir,an)))};return a.createElement(ne,Object.assign({},tt,{panelName:"week",prefixColumn:Er,rowClassName:Jr,keyboardConfig:{onLeftRight:null}}))}var Wt=vt;function $t(tt){var jt=tt.prefixCls,Jt=tt.generateConfig,nr=tt.locale,Ir=tt.viewDate,wr=tt.onNextYear,Er=tt.onPrevYear,zr=tt.onYearClick,Jr=a.useContext(G),Zr=Jr.hideHeader;if(Zr)return null;var an="".concat(jt,"-header");return a.createElement(Q,Object.assign({},tt,{prefixCls:an,onSuperPrev:Er,onSuperNext:wr}),a.createElement("button",{type:"button",onClick:zr,className:"".concat(jt,"-year-btn")},Jt.locale.format(nr.locale,Ir,nr.yearFormat)))}var Dt=$t,Kt=3,Gt=4;function Qt(tt){var jt=tt.prefixCls,Jt=tt.locale,nr=tt.value,Ir=tt.viewDate,wr=tt.generateConfig,Er=tt.monthCellRender,zr=a.useContext(ze),Jr=zr.rangedValue,Zr=zr.hoverRangedValue,an="".concat(jt,"-cell"),St=Xe({cellPrefixCls:an,value:nr,generateConfig:wr,rangedValue:Jr,hoverRangedValue:Zr,isSameCell:function(Dr,rn){return _t(wr,Dr,rn)},isInView:function(){return!0},offsetCell:function(Dr,rn){return wr.addMonth(Dr,rn)}}),Vt=Jt.shortMonths||(wr.locale.getShortMonths?wr.locale.getShortMonths(Jt.locale):[]),sr=wr.setMonth(Ir,0),br=Er?function(Mr){return Er(Mr,Jt)}:void 0;return a.createElement(Be,Object.assign({},tt,{rowNum:Gt,colNum:Kt,baseDate:sr,getCellNode:br,getCellText:function(Dr){return Jt.monthFormat?wr.locale.format(Jt.locale,Dr,Jt.monthFormat):Vt[wr.getMonth(Dr)]},getCellClassName:St,getCellDate:wr.addMonth,titleCell:function(Dr){return wr.locale.format(Jt.locale,Dr,"YYYY-MM")}}))}var Mt=Qt;function dr(tt){var jt=tt.prefixCls,Jt=tt.operationRef,nr=tt.onViewDateChange,Ir=tt.generateConfig,wr=tt.value,Er=tt.viewDate,zr=tt.onPanelChange,Jr=tt.onSelect,Zr="".concat(jt,"-month-panel");Jt.current={onKeyDown:function(Vt){return _e(Vt,{onLeftRight:function(br){Jr(Ir.addMonth(wr||Er,br),"key")},onCtrlLeftRight:function(br){Jr(Ir.addYear(wr||Er,br),"key")},onUpDown:function(br){Jr(Ir.addMonth(wr||Er,br*Kt),"key")},onEnter:function(){zr("date",wr||Er)}})}};var an=function(Vt){var sr=Ir.addYear(Er,Vt);nr(sr),zr(null,sr)};return a.createElement("div",{className:Zr},a.createElement(Dt,Object.assign({},tt,{prefixCls:jt,onPrevYear:function(){an(-1)},onNextYear:function(){an(1)},onYearClick:function(){zr("year",Er)}})),a.createElement(Mt,Object.assign({},tt,{prefixCls:jt,onSelect:function(Vt){Jr(Vt,"mouse"),zr("date",Vt)}})))}var er=dr;function ot(tt){var jt=tt.prefixCls,Jt=tt.generateConfig,nr=tt.locale,Ir=tt.viewDate,wr=tt.onNextYear,Er=tt.onPrevYear,zr=tt.onYearClick,Jr=a.useContext(G),Zr=Jr.hideHeader;if(Zr)return null;var an="".concat(jt,"-header");return a.createElement(Q,Object.assign({},tt,{prefixCls:an,onSuperPrev:Er,onSuperNext:wr}),a.createElement("button",{type:"button",onClick:zr,className:"".concat(jt,"-year-btn")},Jt.locale.format(nr.locale,Ir,nr.yearFormat)))}var xt=ot,ut=4,ft=1;function Ot(tt){var jt=tt.prefixCls,Jt=tt.locale,nr=tt.value,Ir=tt.viewDate,wr=tt.generateConfig,Er=a.useContext(ze),zr=Er.rangedValue,Jr=Er.hoverRangedValue,Zr="".concat(jt,"-cell"),an=Xe({cellPrefixCls:Zr,value:nr,generateConfig:wr,rangedValue:zr,hoverRangedValue:Jr,isSameCell:function(sr,br){return yt(wr,sr,br)},isInView:function(){return!0},offsetCell:function(sr,br){return wr.addMonth(sr,br*3)}}),St=wr.setDate(wr.setMonth(Ir,0),1);return a.createElement(Be,Object.assign({},tt,{rowNum:ft,colNum:ut,baseDate:St,getCellText:function(sr){return wr.locale.format(Jt.locale,sr,Jt.quarterFormat||"[Q]Q")},getCellClassName:an,getCellDate:function(sr,br){return wr.addMonth(sr,br*3)},titleCell:function(sr){return wr.locale.format(Jt.locale,sr,"YYYY-[Q]Q")}}))}var Tt=Ot;function ht(tt){var jt=tt.prefixCls,Jt=tt.operationRef,nr=tt.onViewDateChange,Ir=tt.generateConfig,wr=tt.value,Er=tt.viewDate,zr=tt.onPanelChange,Jr=tt.onSelect,Zr="".concat(jt,"-quarter-panel");Jt.current={onKeyDown:function(Vt){return _e(Vt,{onLeftRight:function(br){Jr(Ir.addMonth(wr||Er,br*3),"key")},onCtrlLeftRight:function(br){Jr(Ir.addYear(wr||Er,br),"key")},onUpDown:function(br){Jr(Ir.addYear(wr||Er,br),"key")}})}};var an=function(Vt){var sr=Ir.addYear(Er,Vt);nr(sr),zr(null,sr)};return a.createElement("div",{className:Zr},a.createElement(xt,Object.assign({},tt,{prefixCls:jt,onPrevYear:function(){an(-1)},onNextYear:function(){an(1)},onYearClick:function(){zr("year",Er)}})),a.createElement(Tt,Object.assign({},tt,{prefixCls:jt,onSelect:function(Vt){Jr(Vt,"mouse")}})))}var Ht=ht;function Ft(tt){var jt=tt.prefixCls,Jt=tt.generateConfig,nr=tt.viewDate,Ir=tt.onPrevDecade,wr=tt.onNextDecade,Er=tt.onDecadeClick,zr=a.useContext(G),Jr=zr.hideHeader;if(Jr)return null;var Zr="".concat(jt,"-header"),an=Jt.getYear(nr),St=Math.floor(an/Fr)*Fr,Vt=St+Fr-1;return a.createElement(Q,Object.assign({},tt,{prefixCls:Zr,onSuperPrev:Ir,onSuperNext:wr}),a.createElement("button",{type:"button",onClick:Er,className:"".concat(jt,"-decade-btn")},St,"-",Vt))}var ir=Ft,Xt=3,mr=4;function Ar(tt){var jt=tt.prefixCls,Jt=tt.value,nr=tt.viewDate,Ir=tt.locale,wr=tt.generateConfig,Er=a.useContext(ze),zr=Er.rangedValue,Jr=Er.hoverRangedValue,Zr="".concat(jt,"-cell"),an=wr.getYear(nr),St=Math.floor(an/Fr)*Fr,Vt=St+Fr-1,sr=wr.setYear(nr,St-Math.ceil((Xt*mr-Fr)/2)),br=function(rn){var fn=wr.getYear(rn);return St<=fn&&fn<=Vt},Mr=Xe({cellPrefixCls:Zr,value:Jt,generateConfig:wr,rangedValue:zr,hoverRangedValue:Jr,isSameCell:function(rn,fn){return dt(wr,rn,fn)},isInView:br,offsetCell:function(rn,fn){return wr.addYear(rn,fn)}});return a.createElement(Be,Object.assign({},tt,{rowNum:mr,colNum:Xt,baseDate:sr,getCellText:wr.getYear,getCellClassName:Mr,getCellDate:wr.addYear,titleCell:function(rn){return wr.locale.format(Ir.locale,rn,"YYYY")}}))}var Nr=Ar,Fr=10;function tn(tt){var jt=tt.prefixCls,Jt=tt.operationRef,nr=tt.onViewDateChange,Ir=tt.generateConfig,wr=tt.value,Er=tt.viewDate,zr=tt.sourceMode,Jr=tt.onSelect,Zr=tt.onPanelChange,an="".concat(jt,"-year-panel");Jt.current={onKeyDown:function(sr){return _e(sr,{onLeftRight:function(Mr){Jr(Ir.addYear(wr||Er,Mr),"key")},onCtrlLeftRight:function(Mr){Jr(Ir.addYear(wr||Er,Mr*Fr),"key")},onUpDown:function(Mr){Jr(Ir.addYear(wr||Er,Mr*Xt),"key")},onEnter:function(){Zr(zr==="date"?"date":"month",wr||Er)}})}};var St=function(sr){var br=Ir.addYear(Er,sr*10);nr(br),Zr(null,br)};return a.createElement("div",{className:an},a.createElement(ir,Object.assign({},tt,{prefixCls:jt,onPrevDecade:function(){St(-1)},onNextDecade:function(){St(1)},onDecadeClick:function(){Zr("decade",Er)}})),a.createElement(Nr,Object.assign({},tt,{prefixCls:jt,onSelect:function(sr){Zr(zr==="date"?"date":"month",sr),Jr(sr,"mouse")}})))}var qr=tn;function Lr(tt){var jt=tt.prefixCls,Jt=tt.generateConfig,nr=tt.viewDate,Ir=tt.onPrevDecades,wr=tt.onNextDecades,Er=a.useContext(G),zr=Er.hideHeader;if(zr)return null;var Jr="".concat(jt,"-header"),Zr=Jt.getYear(nr),an=Math.floor(Zr/xr)*xr,St=an+xr-1;return a.createElement(Q,Object.assign({},tt,{prefixCls:Jr,onSuperPrev:Ir,onSuperNext:wr}),an,"-",St)}var Qr=Lr,_r=3,ur=4;function pr(tt){var jt=fr-1,Jt=tt.prefixCls,nr=tt.viewDate,Ir=tt.generateConfig,wr=tt.disabledDate,Er="".concat(Jt,"-cell"),zr=Ir.getYear(nr),Jr=Math.floor(zr/fr)*fr,Zr=Math.floor(zr/xr)*xr,an=Zr+xr-1,St=Ir.setYear(nr,Zr-Math.ceil((_r*ur*fr-xr)/2)),Vt=function(br){var Mr,Dr=wr&&wr(br),rn=Ir.getYear(br),fn=rn+jt;return Mr={},Object(R.a)(Mr,"".concat(Er,"-disabled"),Dr),Object(R.a)(Mr,"".concat(Er,"-in-view"),Zr<=rn&&fn<=an),Object(R.a)(Mr,"".concat(Er,"-selected"),rn===Jr),Mr};return a.createElement(Be,Object.assign({},tt,{rowNum:ur,colNum:_r,baseDate:St,getCellText:function(br){var Mr=Ir.getYear(br);return"".concat(Mr,"-").concat(Mr+jt)},getCellClassName:Vt,getCellDate:function(br,Mr){return Ir.addYear(br,Mr*fr)}}))}var cr=pr,fr=10,xr=fr*10;function Yr(tt){var jt=tt.prefixCls,Jt=tt.onViewDateChange,nr=tt.generateConfig,Ir=tt.viewDate,wr=tt.operationRef,Er=tt.onSelect,zr=tt.onPanelChange,Jr="".concat(jt,"-decade-panel");wr.current={onKeyDown:function(Vt){return _e(Vt,{onLeftRight:function(br){Er(nr.addYear(Ir,br*fr),"key")},onCtrlLeftRight:function(br){Er(nr.addYear(Ir,br*xr),"key")},onUpDown:function(br){Er(nr.addYear(Ir,br*fr*_r),"key")},onEnter:function(){zr("year",Ir)}})}};var Zr=function(Vt){var sr=nr.addYear(Ir,Vt*xr);Jt(sr),zr(null,sr)},an=function(Vt){Er(Vt,"mouse"),zr("year",Vt)};return a.createElement("div",{className:Jr},a.createElement(Qr,Object.assign({},tt,{prefixCls:jt,onPrevDecades:function(){Zr(-1)},onNextDecades:function(){Zr(1)}})),a.createElement(cr,Object.assign({},tt,{prefixCls:jt,onSelect:an})))}var un=Yr;function Nn(tt,jt,Jt){return Jt?a.createElement("div",{className:"".concat(tt,"-footer-extra")},Jt(jt)):null}function jr(tt){var jt=tt.prefixCls,Jt=tt.rangeList,nr=Jt===void 0?[]:Jt,Ir=tt.components,wr=Ir===void 0?{}:Ir,Er=tt.needConfirmButton,zr=tt.onNow,Jr=tt.onOk,Zr=tt.okDisabled,an=tt.showNow,St=tt.locale,Vt,sr;if(nr.length){var br=wr.rangeItem||"span";Vt=a.createElement(a.Fragment,null,nr.map(function(Dr){var rn=Dr.label,fn=Dr.onClick,wn=Dr.onMouseEnter,Hn=Dr.onMouseLeave;return a.createElement("li",{key:rn,className:"".concat(jt,"-preset")},a.createElement(br,{onClick:fn,onMouseEnter:wn,onMouseLeave:Hn},rn))}))}if(Er){var Mr=wr.button||"button";zr&&!Vt&&an!==!1&&(Vt=a.createElement("li",{className:"".concat(jt,"-now")},a.createElement("a",{className:"".concat(jt,"-now-btn"),onClick:zr},St.now))),sr=Er&&a.createElement("li",{className:"".concat(jt,"-ok")},a.createElement(Mr,{disabled:Zr,onClick:Jr},St.ok))}return!Vt&&!sr?null:a.createElement("ul",{className:"".concat(jt,"-ranges")},Vt,sr)}function Tn(tt){var jt,Jt=tt.prefixCls,nr=Jt===void 0?"rc-picker":Jt,Ir=tt.className,wr=tt.style,Er=tt.locale,zr=tt.generateConfig,Jr=tt.value,Zr=tt.defaultValue,an=tt.pickerValue,St=tt.defaultPickerValue,Vt=tt.disabledDate,sr=tt.mode,br=tt.picker,Mr=br===void 0?"date":br,Dr=tt.tabIndex,rn=Dr===void 0?0:Dr,fn=tt.showNow,wn=tt.showTime,Hn=tt.showToday,Sn=tt.renderExtraFooter,bn=tt.hideHeader,Mn=tt.onSelect,vn=tt.onChange,Rn=tt.onPanelChange,En=tt.onMouseDown,On=tt.onPickerValueChange,Xn=tt.onOk,ai=tt.components,ri=tt.direction,Di=tt.hourStep,yi=Di===void 0?1:Di,xi=tt.minuteStep,Li=xi===void 0?1:xi,Un=tt.secondStep,Ri=Un===void 0?1:Un,fa=Mr==="date"&&!!wn||Mr==="time",Ui=24%yi===0,Mi=60%Li===0,mi=60%Ri===0,hi=a.useContext(G),qi=hi.operationRef,va=hi.panelRef,Ea=hi.onSelect,ya=hi.hideRanges,oa=hi.defaultOpenValue,sa=a.useContext(ze),Ni=sa.inRange,$n=sa.panelPosition,Ai=sa.rangedValue,Oi=sa.hoverRangedValue,Vi=a.useRef({}),Xi=a.useRef(!0),bi=Object(H.a)(null,{value:Jr,defaultValue:Zr,postState:function(pi){return!pi&&oa&&Mr==="time"?oa:pi}}),Aa=Object(j.a)(bi,2),ca=Aa[0],la=Aa[1],gi=Object(H.a)(null,{value:an,defaultValue:St||ca,postState:function(pi){return pi||zr.getNow()}}),Ba=Object(j.a)(gi,2),Ma=Ba[0],ra=Ba[1],Yi=function(pi){ra(pi),On&&On(pi)},Xa=function(pi){var Gi=Oe[Mr];return Gi?Gi(pi):pi},Ki=Object(H.a)(function(){return Mr==="time"?"time":Xa("date")},{value:sr}),zi=Object(j.a)(Ki,2),ba=zi[0],Ua=zi[1];a.useEffect(function(){Ua(Mr)},[Mr]);var wa=a.useState(function(){return ba}),vi=Object(j.a)(wa,2),Ya=vi[0],Ka=vi[1],pa=function(pi,Gi){var oo=Xa(pi||ba);Ka(ba),Ua(oo),Rn&&(ba!==oo||me(zr,Ma,Ma))&&Rn(Gi,oo)},Ii=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&&!me(zr,pi,ca)&&vn(pi))},So=function(pi){return Vi.current&&Vi.current.onKeyDown?([X.a.LEFT,X.a.RIGHT,X.a.UP,X.a.DOWN,X.a.PAGE_UP,X.a.PAGE_DOWN,X.a.ENTER].includes(pi.which)&&pi.preventDefault(),Vi.current.onKeyDown(pi)):(Object(y.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},za=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()}}),a.useEffect(function(){Jr&&!Xi.current&&ra(Jr)},[Jr]),a.useEffect(function(){Xi.current=!1},[]);var ja,qa=Object(U.a)(Object(U.a)({},tt),{},{operationRef:Vi,prefixCls:nr,viewDate:Ma,value:ca,onViewDateChange:Yi,sourceMode:Ya,onPanelChange:pa,disabledDate:ba!=="decade"?Vt:void 0});delete qa.onChange,delete qa.onSelect;switch(ba){case"decade":ja=a.createElement(un,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Ii(pi,Gi)}}));break;case"year":ja=a.createElement(qr,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Ii(pi,Gi)}}));break;case"month":ja=a.createElement(er,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Ii(pi,Gi)}}));break;case"quarter":ja=a.createElement(Ht,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Ii(pi,Gi)}}));break;case"week":ja=a.createElement(Wt,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Ii(pi,Gi)}}));break;case"time":delete qa.showTime,ja=a.createElement(it,Object.assign({},qa,Object(W.a)(wn)==="object"?wn:null,{onSelect:function(pi,Gi){Yi(pi),Ii(pi,Gi)}}));break;default:wn?ja=a.createElement($e,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Ii(pi,Gi)}})):ja=a.createElement(ne,Object.assign({},qa,{onSelect:function(pi,Gi){Yi(pi),Ii(pi,Gi)}}))}var ho,Ca,to=function(){var pi=zr.getNow(),Gi=Ye(zr.getHour(pi),zr.getMinute(pi),zr.getSecond(pi),Ui?yi:1,Mi?Li:1,mi?Ri:1),oo=wt(zr,pi,Gi[0],Gi[1],Gi[2]);Ii(oo,"submit")};ya||(ho=Nn(nr,ba,Sn),Ca=jr({prefixCls:nr,components:ai,needConfirmButton:fa,okDisabled:!ca||Vt&&Vt(ca),locale:Er,showNow:fn,onNow:fa&&to,onOk:function(){ca&&(Ii(ca,"submit",!0),Xn&&Xn(ca))}}));var Lo;if(Hn&&ba==="date"&&Mr==="date"&&!wn){var Oa=zr.getNow(),Fi="".concat(nr,"-today-btn"),Ja=Vt&&Vt(Oa);Lo=a.createElement("a",{className:T()(Fi,Ja&&"".concat(Fi,"-disabled")),"aria-disabled":Ja,onClick:function(){Ja||Ii(Oa,"mouse",!0)}},Er.today)}return a.createElement(G.Provider,{value:Object(U.a)(Object(U.a)({},hi),{},{hideHeader:"hideHeader"in tt?bn:hi.hideHeader,hidePrevBtn:Ni&&$n==="right",hideNextBtn:Ni&&$n==="left"})},a.createElement("div",{tabIndex:rn,className:T()("".concat(nr,"-panel"),Ir,(jt={},Object(R.a)(jt,"".concat(nr,"-panel-has-range"),Ai&&Ai[0]&&Ai[1]),Object(R.a)(jt,"".concat(nr,"-panel-has-range-hover"),Oi&&Oi[0]&&Oi[1]),Object(R.a)(jt,"".concat(nr,"-panel-rtl"),ri==="rtl"),jt)),style:wr,onKeyDown:So,onBlur:za,onMouseDown:En,ref:va},ja,ho||Ca||Lo?a.createElement("div",{className:"".concat(nr,"-footer")},ho,Ca,Lo):null))}var gn=Tn,Bn=e("uciX"),zn={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(tt){var jt,Jt=tt.prefixCls,nr=tt.popupElement,Ir=tt.popupStyle,wr=tt.visible,Er=tt.dropdownClassName,zr=tt.dropdownAlign,Jr=tt.transitionName,Zr=tt.getPopupContainer,an=tt.children,St=tt.range,Vt=tt.popupPlacement,sr=tt.direction,br="".concat(Jt,"-dropdown"),Mr=function(){return Vt!==void 0?Vt:sr==="rtl"?"bottomRight":"bottomLeft"};return a.createElement(Bn.a,{showAction:[],hideAction:[],popupPlacement:Mr(),builtinPlacements:zn,prefixCls:br,popupTransitionName:Jr,popup:nr,popupAlign:zr,popupVisible:wr,popupClassName:T()(Er,(jt={},Object(R.a)(jt,"".concat(br,"-range"),St),Object(R.a)(jt,"".concat(br,"-rtl"),sr==="rtl"),jt)),popupStyle:Ir,getPopupContainer:Zr},an)}var Yn=qn;function Vn(tt){var jt=tt.open,Jt=tt.value,nr=tt.isClickOutside,Ir=tt.triggerOpen,wr=tt.forwardKeyDown,Er=tt.blurToCancel,zr=tt.onSubmit,Jr=tt.onCancel,Zr=tt.onFocus,an=tt.onBlur,St=Object(a.useState)(!1),Vt=Object(j.a)(St,2),sr=Vt[0],br=Vt[1],Mr=Object(a.useState)(!1),Dr=Object(j.a)(Mr,2),rn=Dr[0],fn=Dr[1],wn=Object(a.useRef)(!1),Hn=Object(a.useRef)(!1),Sn={onMouseDown:function(){br(!0),Ir(!0)},onKeyDown:function(Mn){switch(Mn.which){case X.a.ENTER:{jt?zr()!==!1&&br(!0):Ir(!0),Mn.preventDefault();return}case X.a.TAB:{sr&&jt&&!Mn.shiftKey?(br(!1),Mn.preventDefault()):!sr&&jt&&(!wr(Mn)&&Mn.shiftKey&&(br(!0),Mn.preventDefault()));return}case X.a.ESC:{br(!0),Jr();return}}!jt&&![X.a.SHIFT].includes(Mn.which)?Ir(!0):sr||wr(Mn)},onFocus:function(Mn){br(!0),fn(!0),Zr&&Zr(Mn)},onBlur:function(Mn){if(wn.current||!nr(document.activeElement)){wn.current=!1;return}Er?setTimeout(function(){nr(document.activeElement)&&Jr()},0):jt&&(Ir(!1),Hn.current&&zr()),fn(!1),an&&an(Mn)}};return Object(a.useEffect)(function(){Hn.current=!1},[jt]),Object(a.useEffect)(function(){Hn.current=!0},[Jt]),Object(a.useEffect)(function(){return V(function(bn){var Mn=bn.target;jt&&(nr(Mn)?rn||Ir(!1):(wn.current=!0,requestAnimationFrame(function(){wn.current=!1})))})}),[Sn,{focused:rn,typing:sr}]}function An(tt){var jt=tt.valueTexts,Jt=tt.onTextChange,nr=a.useState(""),Ir=Object(j.a)(nr,2),wr=Ir[0],Er=Ir[1],zr=a.useRef([]);zr.current=jt;function Jr(an){Er(an),Jt(an)}function Zr(){Er(zr.current[0])}return a.useEffect(function(){jt.every(function(an){return an!==wr})&&Zr()},[jt.join("||")]),[wr,Jr,Zr]}var on=e("Gytx"),ia=e.n(on);function xa(tt,jt){var Jt=jt.formatList,nr=jt.generateConfig,Ir=jt.locale;return Object(Ae.a)(function(){if(!tt)return[[""],""];for(var wr="",Er=[],zr=0;zr<Jt.length;zr+=1){var Jr=Jt[zr],Zr=nr.locale.format(Ir.locale,tt,Jr);Er.push(Zr),zr===0&&(wr=Zr)}return[Er,wr]},[tt,Jt],function(wr,Er){return wr[0]!==Er[0]||!ia()(wr[1],Er[1])})}function ta(tt,jt){var Jt=jt.formatList,nr=jt.generateConfig,Ir=jt.locale,wr=Object(a.useState)(null),Er=Object(j.a)(wr,2),zr=Er[0],Jr=Er[1],Zr=xa(zr,{formatList:Jt,generateConfig:nr,locale:Ir}),an=Object(j.a)(Zr,2),St=an[1];function Vt(br){Jr(br)}function sr(){Jr(null)}return Object(a.useEffect)(function(){sr()},[tt]),[St,Vt,sr]}function _i(tt){var jt,Jt=tt.prefixCls,nr=Jt===void 0?"rc-picker":Jt,Ir=tt.id,wr=tt.tabIndex,Er=tt.style,zr=tt.className,Jr=tt.dropdownClassName,Zr=tt.dropdownAlign,an=tt.popupStyle,St=tt.transitionName,Vt=tt.generateConfig,sr=tt.locale,br=tt.inputReadOnly,Mr=tt.allowClear,Dr=tt.autoFocus,rn=tt.showTime,fn=tt.picker,wn=fn===void 0?"date":fn,Hn=tt.format,Sn=tt.use12Hours,bn=tt.value,Mn=tt.defaultValue,vn=tt.open,Rn=tt.defaultOpen,En=tt.defaultOpenValue,On=tt.suffixIcon,Xn=tt.clearIcon,ai=tt.disabled,ri=tt.disabledDate,Di=tt.placeholder,yi=tt.getPopupContainer,xi=tt.pickerRef,Li=tt.panelRender,Un=tt.onChange,Ri=tt.onOpenChange,fa=tt.onFocus,Ui=tt.onBlur,Mi=tt.onMouseDown,mi=tt.onMouseUp,hi=tt.onMouseEnter,qi=tt.onMouseLeave,va=tt.onContextMenu,Ea=tt.onClick,ya=tt.direction,oa=tt.autoComplete,sa=oa===void 0?"off":oa,Ni=a.useRef(null),$n=wn==="date"&&!!rn||wn==="time",Ai=Ct(Ce(Hn,wn,rn,Sn)),Oi=a.useRef(null),Vi=a.useRef(null),Xi=Object(H.a)(null,{value:bn,defaultValue:Mn}),bi=Object(j.a)(Xi,2),Aa=bi[0],ca=bi[1],la=a.useState(Aa),gi=Object(j.a)(la,2),Ba=gi[0],Ma=gi[1],ra=a.useRef(null),Yi=Object(H.a)(!1,{value:vn,defaultValue:Rn,postState:function(Zi){return ai?!1:Zi},onChange:function(Zi){Ri&&Ri(Zi),!Zi&&ra.current&&ra.current.onClose&&ra.current.onClose()}}),Xa=Object(j.a)(Yi,2),Ki=Xa[0],zi=Xa[1],ba=xa(Ba,{formatList:Ai,generateConfig:Vt,locale:sr}),Ua=Object(j.a)(ba,2),wa=Ua[0],vi=Ua[1],Ya=An({valueTexts:wa,onTextChange:function(Zi){var xo=Vt.locale.parse(sr.locale,Zi,Ai);xo&&(!ri||!ri(xo))&&Ma(xo)}}),Ka=Object(j.a)(Ya,3),pa=Ka[0],Ii=Ka[1],So=Ka[2],za=function(Zi){Ma(Zi),ca(Zi),Un&&!me(Vt,Aa,Zi)&&Un(Zi,Zi?Vt.locale.format(sr.locale,Zi,Ai[0]):"")},ja=function(Zi){if(ai&&Zi)return;zi(Zi)},qa=function(Zi){return Ki&&ra.current&&ra.current.onKeyDown?ra.current.onKeyDown(Zi):(Object(y.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:Ki,value:pa,triggerOpen:ja,forwardKeyDown:qa,isClickOutside:function(Zi){return!se([Oi.current,Vi.current],Zi)},onSubmit:function(){return ri&&ri(Ba)?!1:(za(Ba),ja(!1),So(),!0)},onCancel:function(){ja(!1),Ma(Aa),So()},onFocus:fa,onBlur:Ui}),to=Object(j.a)(Ca,2),Lo=to[0],Oa=to[1],Fi=Oa.focused,Ja=Oa.typing;a.useEffect(function(){Ki||(Ma(Aa),!wa.length||wa[0]===""?Ii(""):vi!==pa&&So())},[Ki,wa]),a.useEffect(function(){Ki||So()},[wn]),a.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(U.a)(Object(U.a)({},tt),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),pi=a.createElement(gn,Object.assign({},Da,{generateConfig:Vt,className:T()(Object(R.a)({},"".concat(nr,"-panel-focused"),!Ja)),value:Ba,locale:sr,tabIndex:-1,onChange:Ma,direction:ya}));Li&&(pi=Li(pi));var Gi=a.createElement("div",{className:"".concat(nr,"-panel-container"),onMouseDown:function(Zi){Zi.preventDefault()}},pi),oo;On&&(oo=a.createElement("span",{className:"".concat(nr,"-suffix")},On));var go;Mr&&Aa&&!ai&&(go=a.createElement("span",{onMouseDown:function(Zi){Zi.preventDefault(),Zi.stopPropagation()},onMouseUp:function(Zi){Zi.preventDefault(),Zi.stopPropagation(),za(null),ja(!1)},className:"".concat(nr,"-clear")},Xn||a.createElement("span",{className:"".concat(nr,"-clear-btn")})));var fo=function(Zi,xo){(xo==="submit"||xo!=="key"&&!$n)&&(za(Zi),ja(!1))},Ta=ya==="rtl"?"bottomRight":"bottomLeft",ki=ta(pa,{formatList:Ai,generateConfig:Vt,locale:sr}),Ra=Object(j.a)(ki,3),Vo=Ra[0],ro=Ra[1],vo=Ra[2];return a.createElement(G.Provider,{value:{operationRef:ra,hideHeader:wn==="time",panelRef:Oi,onSelect:fo,open:Ki,defaultOpenValue:En,onDateMouseEnter:ro,onDateMouseLeave:vo}},a.createElement(Yn,{visible:Ki,popupElement:Gi,popupStyle:an,prefixCls:nr,dropdownClassName:Jr,dropdownAlign:Zr,getPopupContainer:yi,transitionName:St,popupPlacement:Ta,direction:ya},a.createElement("div",{className:T()(nr,zr,(jt={},Object(R.a)(jt,"".concat(nr,"-disabled"),ai),Object(R.a)(jt,"".concat(nr,"-focused"),Fi),Object(R.a)(jt,"".concat(nr,"-rtl"),ya==="rtl"),jt)),style:Er,onMouseDown:Mi,onMouseUp:ho,onMouseEnter:hi,onMouseLeave:qi,onContextMenu:va,onClick:Ea},a.createElement("div",{className:T()("".concat(nr,"-input"),Object(R.a)({},"".concat(nr,"-input-placeholder"),!!Vo)),ref:Vi},a.createElement("input",Object.assign({id:Ir,tabIndex:wr,disabled:ai,readOnly:br||!Ja,value:Vo||pa,onChange:function(Zi){Ii(Zi.target.value)},autoFocus:Dr,placeholder:Di,ref:Ni,title:pa},Lo,{size:lt(wn,Ai[0])},Ue(tt),{autoComplete:sa})),oo,go))))}var Ci=function(tt){Object(P.a)(Jt,tt);var jt=Object(K.a)(Jt);function Jt(){var nr;return Object(k.a)(this,Jt),nr=jt.apply(this,arguments),nr.pickerRef=a.createRef(),nr.focus=function(){nr.pickerRef.current&&nr.pickerRef.current.focus()},nr.blur=function(){nr.pickerRef.current&&nr.pickerRef.current.blur()},nr}return Object(B.a)(Jt,[{key:"render",value:function(){return a.createElement(_i,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Jt}(a.Component),Gn=Ci;function Ia(tt,jt,Jt){var nr=tt.picker,Ir=tt.locale,wr=tt.selectedValue,Er=tt.disabledDate,zr=tt.disabled,Jr=tt.generateConfig,Zr=Rt(wr,0),an=Rt(wr,1);function St(Dr){var rn=Jr.getYear(Dr),fn=Jr.locale.getWeek(Ir.locale,Dr);return rn*100+fn}function Vt(Dr){var rn=Jr.getYear(Dr),fn=Jr.getMonth(Dr);return rn*100+fn}function sr(Dr){var rn=Jr.getYear(Dr),fn=ct(Jr,Dr);return rn*10+fn}var br=a.useCallback(function(Dr){if(Er&&Er(Dr))return!0;if(zr[1]&&an)return!or(Jr,Dr,an)&&Jr.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 St(Dr)>St(an);default:return!or(Jr,Dr,an)&&Jr.isAfter(Dr,an)}return!1},[Er,zr[1],an,jt]),Mr=a.useCallback(function(Dr){if(Er&&Er(Dr))return!0;if(zr[0]&&Zr)return!or(Jr,Dr,an)&&Jr.isAfter(Zr,Dr);if(Jt&&Zr)switch(nr){case"quarter":return sr(Dr)<sr(Zr);case"month":return Vt(Dr)<Vt(Zr);case"week":return St(Dr)<St(Zr);default:return!or(Jr,Dr,Zr)&&Jr.isAfter(Zr,Dr)}return!1},[Er,zr[0],Zr,Jt]);return[br,Mr]}function mn(tt,jt,Jt,nr){var Ir=De(tt,Jt,nr,1);function wr(Er){return Er(tt,jt)?"same":Er(Ir,jt)?"closing":"far"}switch(Jt){case"year":return wr(function(Er,zr){return Zt(nr,Er,zr)});case"quarter":case"month":return wr(function(Er,zr){return dt(nr,Er,zr)});default:return wr(function(Er,zr){return _t(nr,Er,zr)})}}function In(tt,jt,Jt,nr){var Ir=Rt(tt,0),wr=Rt(tt,1);if(jt===0)return Ir;if(Ir&&wr){var Er=mn(Ir,wr,Jt,nr);switch(Er){case"same":return Ir;case"closing":return Ir;default:return De(wr,Jt,nr,-1)}}return Ir}function Ln(tt){var jt=tt.values,Jt=tt.picker,nr=tt.defaultDates,Ir=tt.generateConfig,wr=a.useState(function(){return[Rt(nr,0),Rt(nr,1)]}),Er=Object(j.a)(wr,2),zr=Er[0],Jr=Er[1],Zr=a.useState(null),an=Object(j.a)(Zr,2),St=an[0],Vt=an[1],sr=Rt(jt,0),br=Rt(jt,1);function Mr(rn){return zr[rn]?zr[rn]:Rt(St,rn)||In(jt,rn,Jt,Ir)||sr||br||Ir.getNow()}function Dr(rn,fn){if(rn){var wn=Ke(St,rn,fn);Jr(Ke(zr,null,fn)||[null,null]);var Hn=(fn+1)%2;Rt(jt,Hn)||(wn=Ke(wn,rn,Hn)),Vt(wn)}else(sr||br)&&Vt(null)}return[Mr,Dr]}function _n(tt,jt){return tt&&tt[0]&&tt[1]&&jt.isAfter(tt[0],tt[1])?[tt[1],tt[0]]:tt}function jn(tt,jt,Jt,nr){return tt||nr&&nr[jt]?!0:!!Jt[(jt+1)%2]}function ni(tt){var jt,Jt,nr,Ir=tt.prefixCls,wr=Ir===void 0?"rc-picker":Ir,Er=tt.id,zr=tt.style,Jr=tt.className,Zr=tt.popupStyle,an=tt.dropdownClassName,St=tt.transitionName,Vt=tt.dropdownAlign,sr=tt.getPopupContainer,br=tt.generateConfig,Mr=tt.locale,Dr=tt.placeholder,rn=tt.autoFocus,fn=tt.disabled,wn=tt.format,Hn=tt.picker,Sn=Hn===void 0?"date":Hn,bn=tt.showTime,Mn=tt.use12Hours,vn=tt.separator,Rn=vn===void 0?"~":vn,En=tt.value,On=tt.defaultValue,Xn=tt.defaultPickerValue,ai=tt.open,ri=tt.defaultOpen,Di=tt.disabledDate,yi=tt.disabledTime,xi=tt.dateRender,Li=tt.panelRender,Un=tt.ranges,Ri=tt.allowEmpty,fa=tt.allowClear,Ui=tt.suffixIcon,Mi=tt.clearIcon,mi=tt.pickerRef,hi=tt.inputReadOnly,qi=tt.mode,va=tt.renderExtraFooter,Ea=tt.onChange,ya=tt.onOpenChange,oa=tt.onPanelChange,sa=tt.onCalendarChange,Ni=tt.onFocus,$n=tt.onBlur,Ai=tt.onOk,Oi=tt.components,Vi=tt.order,Xi=tt.direction,bi=tt.activePickerIndex,Aa=tt.autoComplete,ca=Aa===void 0?"off":Aa,la=Sn==="date"&&!!bn||Sn==="time",gi=Object(a.useRef)({}),Ba=Object(a.useRef)(null),Ma=Object(a.useRef)(null),ra=Object(a.useRef)(null),Yi=Object(a.useRef)(null),Xa=Object(a.useRef)(null),Ki=Object(a.useRef)(null),zi=Object(a.useRef)(null),ba=Ct(Ce(wn,Sn,bn,Mn)),Ua=Object(H.a)(0,{value:bi}),wa=Object(j.a)(Ua,2),vi=wa[0],Ya=wa[1],Ka=Object(a.useRef)(null),pa=a.useMemo(function(){return Array.isArray(fn)?fn:[fn||!1,fn||!1]},[fn]),Ii=Object(H.a)(null,{value:En,defaultValue:On,postState:function(ui){return Sn==="time"&&!Vi?ui:_n(ui,br)}}),So=Object(j.a)(Ii,2),za=So[0],ja=So[1],qa=Ln({values:za,picker:Sn,defaultDates:Xn,generateConfig:br}),ho=Object(j.a)(qa,2),Ca=ho[0],to=ho[1],Lo=Object(H.a)(za,{postState:function(ui){var Pi=ui;if(pa[0]&&pa[1])return Pi;for(var Wn=0;Wn<2;Wn+=1)pa[Wn]&&!Rt(Pi,Wn)&&!Rt(Ri,Wn)&&(Pi=Ke(Pi,br.getNow(),Wn));return Pi}}),Oa=Object(j.a)(Lo,2),Fi=Oa[0],Ja=Oa[1],Da=Object(H.a)([Sn,Sn],{value:qi}),pi=Object(j.a)(Da,2),Gi=pi[0],oo=pi[1];Object(a.useEffect)(function(){oo([Sn,Sn])},[Sn]);var go=function(ui,Pi){oo(ui),oa&&oa(Pi,ui)},fo=Ia({picker:Sn,selectedValue:Fi,locale:Mr,disabled:pa,disabledDate:Di,generateConfig:br},gi.current[1],gi.current[0]),Ta=Object(j.a)(fo,2),ki=Ta[0],Ra=Ta[1],Vo=Object(H.a)(!1,{value:ai,defaultValue:ri,postState:function(ui){return pa[vi]?!1:ui},onChange:function(ui){ya&&ya(ui),!ui&&Ka.current&&Ka.current.onClose&&Ka.current.onClose()}}),ro=Object(j.a)(Vo,2),vo=ro[0],po=ro[1],Zi=vo&&vi===0,xo=vo&&vi===1,is=Object(a.useState)(0),Jo=Object(j.a)(is,2),_s=Jo[0],Cs=Jo[1];Object(a.useEffect)(function(){!vo&&Ba.current&&Cs(Ba.current.offsetWidth)},[vo]);var Ts=a.useRef();function Go(ua,ui){if(ua)clearTimeout(Ts.current),gi.current[ui]=!0,Ya(ui),po(ua),vo||to(null,ui);else if(vi===ui){po(ua);var Pi=gi.current;Ts.current=setTimeout(function(){Pi===gi.current&&(gi.current={})})}}function bo(ua){Go(!0,ua),setTimeout(function(){var ui=[Ki,zi][ua];ui.current&&ui.current.focus()},0)}function Za(ua,ui){var Pi=ua,Wn=Rt(Pi,0),io=Rt(Pi,1);Wn&&io&&br.isAfter(Wn,io)&&(Sn==="week"&&!be(br,Mr.locale,Wn,io)||Sn==="quarter"&&!yt(br,Wn,io)||Sn!=="week"&&Sn!=="quarter"&&Sn!=="time"&&!or(br,Wn,io)?(ui===0?(Pi=[Wn,null],io=null):(Wn=null,Pi=[null,io]),gi.current=Object(R.a)({},ui,!0)):(Sn!=="time"||Vi!==!1)&&(Pi=_n(Pi,br))),Ja(Pi);var qo=Pi&&Pi[0]?br.locale.format(Mr.locale,Pi[0],ba[0]):"",gs=Pi&&Pi[1]?br.locale.format(Mr.locale,Pi[1],ba[0]):"";if(sa){var os={range:ui===0?"start":"end"};sa(Pi,[qo,gs],os)}var Zo=jn(Wn,0,pa,Ri),$o=jn(io,1,pa,Ri),ws=Pi===null||Zo&&$o;ws&&(ja(Pi),Ea&&(!me(br,Rt(za,0),Wn)||!me(br,Rt(za,1),io))&&Ea(Pi,[qo,gs]));var Ho=null;ui===0&&!pa[1]?Ho=1:ui===1&&!pa[0]&&(Ho=0),Ho!==null&&Ho!==vi&&(!gi.current[Ho]||!Rt(Pi,Ho))&&Rt(Pi,ui)?bo(Ho):Go(!1,ui)}var Ga=function(ui){return vo&&Ka.current&&Ka.current.onKeyDown?Ka.current.onKeyDown(ui):(Object(y.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(Rt(Fi,0),so),Sr=Object(j.a)(ps,2),Xo=Sr[0],ss=Sr[1],Ls=xa(Rt(Fi,1),so),Fa=Object(j.a)(Ls,2),La=Fa[0],Io=Fa[1],Oo=function(ui,Pi){var Wn=br.locale.parse(Mr.locale,ui,ba),io=Pi===0?ki:Ra;Wn&&!io(Wn)&&(Ja(Ke(Fi,Wn,Pi)),to(Wn,Pi))},ts=An({valueTexts:Xo,onTextChange:function(ui){return Oo(ui,0)}}),Po=Object(j.a)(ts,3),rs=Po[0],ms=Po[1],ls=Po[2],Ns=An({valueTexts:La,onTextChange:function(ui){return Oo(ui,1)}}),Ds=Object(j.a)(Ns,3),as=Ds[0],$s=Ds[1],cs=Ds[2],Mo=Object(a.useState)(null),Dn=Object(j.a)(Mo,2),Vs=Dn[0],Is=Dn[1],Bt=Object(a.useState)(null),le=Object(j.a)(Bt,2),xe=le[0],Ie=le[1],We=ta(rs,{formatList:ba,generateConfig:br,locale:Mr}),Et=Object(j.a)(We,3),Ut=Et[0],hr=Et[1],gr=Et[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(ui){Ie(Ke(Fi,ui,vi)),vi===0?hr(ui):yn(ui)},ti=function(){Ie(Ke(Fi,null,vi)),vi===0?gr(null):Cn(null)},wi=function(ui,Pi){return{blurToCancel:la,forwardKeyDown:Ga,onBlur:$n,isClickOutside:function(io){return!se([Ma.current,ra.current,Yi.current],io)},onFocus:function(io){Ya(ui),Ni&&Ni(io)},triggerOpen:function(io){Go(io,ui)},onSubmit:function(){Za(Fi,ui),Pi()},onCancel:function(){Go(!1,ui),Ja(za),Pi()}}},ea=Vn(Object(U.a)(Object(U.a)({},wi(0,ls)),{},{open:Zi,value:rs})),ji=Object(j.a)(ea,2),Sa=ji[0],lo=ji[1],Wa=lo.focused,yo=lo.typing,Ao=Vn(Object(U.a)(Object(U.a)({},wi(1,cs)),{},{open:xo,value:as})),$a=Object(j.a)(Ao,2),Fo=$a[0],No=$a[1],Ha=No.focused,jo=No.typing,ko=function(ui){!vo&&!Ki.current.contains(ui.target)&&!zi.current.contains(ui.target)&&(pa[0]?pa[1]||bo(1):bo(0))},Qo=function(ui){vo&&(Wa||Ha)&&!Ki.current.contains(ui.target)&&!zi.current.contains(ui.target)&&ui.preventDefault()},wo=za&&za[0]?br.locale.format(Mr.locale,za[0],"YYYYMMDDHHmmss"):"",us=za&&za[1]?br.locale.format(Mr.locale,za[1],"YYYYMMDDHHmmss"):"";Object(a.useEffect)(function(){vo||(Ja(za),!Xo.length||Xo[0]===""?ms(""):ss!==rs&&ls(),!La.length||La[0]===""?$s(""):Io!==as&&cs())},[vo,Xo,La]),Object(a.useEffect)(function(){Ja(za)},[wo,us]),mi&&(mi.current={focus:function(){Ki.current&&Ki.current.focus()},blur:function(){Ki.current&&Ki.current.blur(),zi.current&&zi.current.blur()}});var ns=Object.keys(Un||{}),Xs=ns.map(function(ua){var ui=Un[ua],Pi=typeof ui=="function"?ui():ui;return{label:ua,onClick:function(){Za(Pi,null),Go(!1,vi)},onMouseEnter:function(){Is(Pi)},onMouseLeave:function(){Is(null)}}});function Ys(){var ua=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ui=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Pi=null;vo&&xe&&xe[0]&&xe[1]&&br.isAfter(xe[1],xe[0])&&(Pi=xe);var Wn=bn;if(bn&&Object(W.a)(bn)==="object"&&bn.defaultValue){var io=bn.defaultValue;Wn=Object(U.a)(Object(U.a)({},bn),{},{defaultValue:Rt(io,vi)||void 0})}var qo=null;return xi&&(qo=function(os,Zo){return xi(os,Zo,{range:vi?"end":"start"})}),a.createElement(ze.Provider,{value:{inRange:!0,panelPosition:ua,rangedValue:Vs||Fi,hoverRangedValue:Pi}},a.createElement(gn,Object.assign({},tt,ui,{dateRender:qo,showTime:Wn,mode:Gi[vi],generateConfig:br,style:void 0,direction:Xi,disabledDate:vi===0?ki:Ra,disabledTime:function(os){return yi?yi(os,vi===0?"start":"end"):!1},className:T()(Object(R.a)({},"".concat(wr,"-panel-focused"),vi===0?!yo:!jo)),value:Rt(Fi,vi),locale:Mr,tabIndex:-1,onPanelChange:function(os,Zo){go(Ke(Gi,Zo,vi),Ke(Fi,os,vi));var $o=os;ua==="right"&&Gi[vi]===Zo&&($o=De($o,Zo,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 ua,ui=Nn(wr,Gi[vi],va),Pi=jr({prefixCls:wr,components:Oi,needConfirmButton:la,okDisabled:!Rt(Fi,vi)||Di&&Di(Fi[vi]),locale:Mr,rangeList:Xs,onOk:function(){Rt(Fi,vi)&&(Za(Fi,vi),Ai&&Ai(Fi))}});if(Sn!=="time"&&!bn){var Wn=Ca(vi),io=De(Wn,Sn,br),qo=Gi[vi],gs=qo===Sn,os=Ys(gs?"left":!1,{pickerValue:Wn,onPickerValueChange:function(Ho){to(Ho,vi)}}),Zo=Ys("right",{pickerValue:io,onPickerValueChange:function(Ho){to(De(Ho,Sn,br,-1),vi)}});Xi==="rtl"?ua=a.createElement(a.Fragment,null,Zo,gs&&os):ua=a.createElement(a.Fragment,null,os,gs&&Zo)}else ua=Ys();var $o=a.createElement(a.Fragment,null,a.createElement("div",{className:"".concat(wr,"-panels")},ua),(ui||Pi)&&a.createElement("div",{className:"".concat(wr,"-footer")},ui,Pi));return Li&&($o=Li($o)),a.createElement("div",{className:"".concat(wr,"-panel-container"),style:{marginLeft:Eo},ref:Ma,onMouseDown:function(Ho){Ho.preventDefault()}},$o)}var Rs=a.createElement("div",{className:T()("".concat(wr,"-range-wrapper"),"".concat(wr,"-").concat(Sn,"-range-wrapper")),style:{minWidth:_s}},a.createElement("div",{className:"".concat(wr,"-range-arrow"),style:ds}),hs()),Do;Ui&&(Do=a.createElement("span",{className:"".concat(wr,"-suffix")},Ui));var ys;fa&&(Rt(za,0)&&!pa[0]||Rt(za,1)&&!pa[1])&&(ys=a.createElement("span",{onMouseDown:function(ui){ui.preventDefault(),ui.stopPropagation()},onMouseUp:function(ui){ui.preventDefault(),ui.stopPropagation();var Pi=za;pa[0]||(Pi=Ke(Pi,null,0)),pa[1]||(Pi=Ke(Pi,null,1)),Za(Pi,null),Go(!1,vi)},className:"".concat(wr,"-clear")},Mi||a.createElement("span",{className:"".concat(wr,"-clear-btn")})));var Ms={size:lt(Sn,ba[0])},As=0,Fs=0;ra.current&&Yi.current&&Xa.current&&(vi===0?Fs=ra.current.offsetWidth:(As=Yo,Fs=Yi.current.offsetWidth));var Hs=Xi==="rtl"?{right:As}:{left:As},bs=function(ui,Pi){var Wn=Ke(Fi,ui,vi);Pi==="submit"||Pi!=="key"&&!la?Za(Wn,vi):Ja(Wn)};return a.createElement(G.Provider,{value:{operationRef:Ka,hideHeader:Sn==="time",onDateMouseEnter:Qn,onDateMouseLeave:ti,hideRanges:!0,onSelect:bs,open:vo}},a.createElement(Yn,{visible:vo,popupElement:Rs,popupStyle:Zr,prefixCls:wr,dropdownClassName:an,dropdownAlign:Vt,getPopupContainer:sr,transitionName:St,range:!0,direction:Xi},a.createElement("div",Object.assign({ref:Ba,className:T()(wr,"".concat(wr,"-range"),Jr,(jt={},Object(R.a)(jt,"".concat(wr,"-disabled"),pa[0]&&pa[1]),Object(R.a)(jt,"".concat(wr,"-focused"),vi===0?Wa:Ha),Object(R.a)(jt,"".concat(wr,"-rtl"),Xi==="rtl"),jt)),style:zr,onClick:ko,onMouseDown:Qo},Ue(tt)),a.createElement("div",{className:T()("".concat(wr,"-input"),(Jt={},Object(R.a)(Jt,"".concat(wr,"-input-active"),vi===0),Object(R.a)(Jt,"".concat(wr,"-input-placeholder"),!!Ut),Jt)),ref:ra},a.createElement("input",Object.assign({id:Er,disabled:pa[0],readOnly:hi||!yo,value:Ut||rs,onChange:function(ui){ms(ui.target.value)},autoFocus:rn,placeholder:Rt(Dr,0)||"",ref:Ki},Sa,Ms,{autoComplete:ca}))),a.createElement("div",{className:"".concat(wr,"-range-separator"),ref:Xa},Rn),a.createElement("div",{className:T()("".concat(wr,"-input"),(nr={},Object(R.a)(nr,"".concat(wr,"-input-active"),vi===1),Object(R.a)(nr,"".concat(wr,"-input-placeholder"),!!ln),nr)),ref:Yi},a.createElement("input",Object.assign({disabled:pa[1],readOnly:hi||!jo,value:ln||as,onChange:function(ui){$s(ui.target.value)},placeholder:Rt(Dr,1)||"",ref:zi},Fo,Ms,{autoComplete:ca}))),a.createElement("div",{className:"".concat(wr,"-active-bar"),style:Object(U.a)(Object(U.a)({},Hs),{},{width:Fs,position:"absolute"})}),Do,ys)))}var di=function(tt){Object(P.a)(Jt,tt);var jt=Object(K.a)(Jt);function Jt(){var nr;return Object(k.a)(this,Jt),nr=jt.apply(this,arguments),nr.pickerRef=a.createRef(),nr.focus=function(){nr.pickerRef.current&&nr.pickerRef.current.focus()},nr.blur=function(){nr.pickerRef.current&&nr.pickerRef.current.blur()},nr}return Object(B.a)(Jt,[{key:"render",value:function(){return a.createElement(ni,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),Jt}(a.Component),Na=di,Qi=Gn,ma=e("61s2");function Pa(tt,jt,Jt){return Jt!==void 0?Jt:tt==="year"&&jt.lang.yearPlaceholder?jt.lang.yearPlaceholder:tt==="quarter"&&jt.lang.quarterPlaceholder?jt.lang.quarterPlaceholder:tt==="month"&&jt.lang.monthPlaceholder?jt.lang.monthPlaceholder:tt==="week"&&jt.lang.weekPlaceholder?jt.lang.weekPlaceholder:tt==="time"&&jt.timePickerLocale.placeholder?jt.timePickerLocale.placeholder:jt.lang.placeholder}function Qa(tt,jt,Jt){return Jt!==void 0?Jt:tt==="year"&&jt.lang.yearPlaceholder?jt.lang.rangeYearPlaceholder:tt==="month"&&jt.lang.monthPlaceholder?jt.lang.rangeMonthPlaceholder:tt==="week"&&jt.lang.weekPlaceholder?jt.lang.rangeWeekPlaceholder:tt==="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(tt,jt){var Jt={};for(var nr in tt)Object.prototype.hasOwnProperty.call(tt,nr)&&jt.indexOf(nr)<0&&(Jt[nr]=tt[nr]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ir=0,nr=Object.getOwnPropertySymbols(tt);Ir<nr.length;Ir++)jt.indexOf(nr[Ir])<0&&Object.prototype.propertyIsEnumerable.call(tt,nr[Ir])&&(Jt[nr[Ir]]=tt[nr[Ir]]);return Jt};function ha(tt){function jt(Jr,Zr){var an=function(St){b()(sr,St);var Vt=A()(sr);function sr(br){var Mr;return s()(this,sr),Mr=Vt.call(this,br),Mr.pickerRef=a.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=c()(c()({},ma.a),Dr);return rn.lang=c()(c()({},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,On=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),Li={showToday:!0},Un={};Jr&&(Un.picker=Jr);var Ri=Jr||Mr.props.picker;return Un=c()(c()(c()({},Un),yi?rr(c()({format:Di,picker:Ri},yi)):{}),Ri==="time"?rr(c()(c()({format:Di},Mr.props),{picker:Ri})):{}),a.createElement(Hi.b.Consumer,null,function(fa){var Ui,Mi=Rn||fa;return a.createElement(Qi,c()({ref:Mr.pickerRef,placeholder:Pa(Ri,Dr,Xn),suffixIcon:Ri==="time"?a.createElement(I.a,null):a.createElement(x.a,null),clearIcon:a.createElement(F.a,null),allowClear:!0,transitionName:"slide-up"},Li,ai,Un,{locale:Dr.lang,className:T()(vn,(Ui={},l()(Ui,"".concat(xi,"-").concat(Mi),Mi),l()(Ui,"".concat(xi,"-borderless"),!On),Ui)),prefixCls:xi,getPopupContainer:Mn||Hn,generateConfig:tt,prevIcon:a.createElement("span",{className:"".concat(xi,"-prev-icon")}),nextIcon:a.createElement("span",{className:"".concat(xi,"-next-icon")}),superPrevIcon:a.createElement("span",{className:"".concat(xi,"-super-prev-icon")}),superNextIcon:a.createElement("span",{className:"".concat(xi,"-super-next-icon")}),components:To,direction:wn}))})},Object(Wi.a)(Jr!=="quarter",Zr,"DatePicker.".concat(Zr," is legacy usage. Please use DatePicker[picker='").concat(Jr,"'] directly.")),Mr}return p()(sr,[{key:"render",value:function(){return a.createElement(aa.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),sr}(a.Component);return an.contextType=Co.b,Zr&&(an.displayName=Zr),an}var Jt=jt(),nr=jt("week","WeekPicker"),Ir=jt("month","MonthPicker"),wr=jt("year","YearPicker"),Er=jt("time","TimePicker"),zr=jt("quarter","QuarterPicker");return{DatePicker:Jt,WeekPicker:nr,MonthPicker:Ir,YearPicker:wr,TimePicker:Er,QuarterPicker:zr}}var mo=e("8ISB"),kn=e.n(mo),$i=function(tt,jt){var Jt={};for(var nr in tt)Object.prototype.hasOwnProperty.call(tt,nr)&&jt.indexOf(nr)<0&&(Jt[nr]=tt[nr]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ir=0,nr=Object.getOwnPropertySymbols(tt);Ir<nr.length;Ir++)jt.indexOf(nr[Ir])<0&&Object.prototype.propertyIsEnumerable.call(tt,nr[Ir])&&(Jt[nr[Ir]]=tt[nr[Ir]]);return Jt};function eo(tt){var jt=function(Jt){b()(Ir,Jt);var nr=A()(Ir);function Ir(){var wr;return s()(this,Ir),wr=nr.apply(this,arguments),wr.pickerRef=a.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,zr=c()(c()({},ma.a),Er);return zr.lang=c()(c()({},zr.lang),(Er||{}).lang),zr},wr.renderPicker=function(Er){var zr=wr.context,Jr=zr.getPrefixCls,Zr=zr.direction,an=zr.getPopupContainer,St=wr.props,Vt=St.prefixCls,sr=St.getPopupContainer,br=St.className,Mr=St.size,Dr=St.bordered,rn=Dr===void 0?!0:Dr,fn=St.placeholder,wn=$i(St,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),Hn=wr.props,Sn=Hn.format,bn=Hn.showTime,Mn=Hn.picker,vn=Jr("picker",Vt),Rn={};return Rn=c()(c()(c()({},Rn),bn?rr(c()({format:Sn,picker:Mn},bn)):{}),Mn==="time"?rr(c()(c()({format:Sn},wr.props),{picker:Mn})):{}),a.createElement(Hi.b.Consumer,null,function(En){var On,Xn=Mr||En;return a.createElement(Na,c()({separator:a.createElement("span",{"aria-label":"to",className:"".concat(vn,"-separator")},a.createElement(kn.a,null)),ref:wr.pickerRef,placeholder:Qa(Mn,Er,fn),suffixIcon:Mn==="time"?a.createElement(I.a,null):a.createElement(x.a,null),clearIcon:a.createElement(F.a,null),allowClear:!0,transitionName:"slide-up"},wn,Rn,{className:T()(br,(On={},l()(On,"".concat(vn,"-").concat(Xn),Xn),l()(On,"".concat(vn,"-borderless"),!rn),On)),locale:Er.lang,prefixCls:vn,getPopupContainer:sr||an,generateConfig:tt,prevIcon:a.createElement("span",{className:"".concat(vn,"-prev-icon")}),nextIcon:a.createElement("span",{className:"".concat(vn,"-next-icon")}),superPrevIcon:a.createElement("span",{className:"".concat(vn,"-super-prev-icon")}),superNextIcon:a.createElement("span",{className:"".concat(vn,"-super-next-icon")}),components:To,direction:Zr}))})},wr}return p()(Ir,[{key:"render",value:function(){return a.createElement(aa.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),Ir}(a.Component);return jt.contextType=Co.b,jt}var To={button:r,rangeItem:d};function uo(tt){return tt?Array.isArray(tt)?tt:[tt]:[]}function rr(tt){var jt=tt.format,Jt=tt.picker,nr=tt.showHour,Ir=tt.showMinute,wr=tt.showSecond,Er=tt.use12Hours,zr=uo(jt)[0],Jr=c()({},tt);return zr&&(!zr.includes("s")&&wr===void 0&&(Jr.showSecond=!1),!zr.includes("m")&&Ir===void 0&&(Jr.showMinute=!1),!zr.includes("H")&&!zr.includes("h")&&nr===void 0&&(Jr.showHour=!1),(zr.includes("a")||zr.includes("A"))&&Er===void 0&&(Jr.use12Hours=!0)),Jt==="time"?Jr:{showTime:Jr}}function Tr(tt){var jt=ha(tt),Jt=jt.DatePicker,nr=jt.WeekPicker,Ir=jt.MonthPicker,wr=jt.YearPicker,Er=jt.TimePicker,zr=jt.QuarterPicker,Jr=eo(tt),Zr=Jt;return Zr.WeekPicker=nr,Zr.MonthPicker=Ir,Zr.YearPicker=wr,Zr.RangePicker=Jr,Zr.TimePicker=Er,Zr.QuarterPicker=zr,Zr}var Br=Tr,Wr=Br(v),hn=_.a=Wr},"+lIL":function(D,_,e){var g=e("ProS");e("/ry/"),e("3OrL");var f=e("L5E0"),y=e("7Phj");g.registerVisual(f),g.registerLayout(y)},"+nKL":function(D,_,e){"use strict";var g=e("q1tI"),f=e("TSYQ"),y=e.n(f),m=e("t23M");function v(Ye,et){var rt=Object.keys(Ye);if(Object.getOwnPropertySymbols){var st=Object.getOwnPropertySymbols(Ye);et&&(st=st.filter(function(Ve){return Object.getOwnPropertyDescriptor(Ye,Ve).enumerable})),rt.push.apply(rt,st)}return rt}function h(Ye){for(var et=1;et<arguments.length;et++){var rt=arguments[et]!=null?arguments[et]:{};et%2?v(Object(rt),!0).forEach(function(st){c(Ye,st,rt[st])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ye,Object.getOwnPropertyDescriptors(rt)):v(Object(rt)).forEach(function(st){Object.defineProperty(Ye,st,Object.getOwnPropertyDescriptor(rt,st))})}return Ye}function c(Ye,et,rt){return et in Ye?Object.defineProperty(Ye,et,{value:rt,enumerable:!0,configurable:!0,writable:!0}):Ye[et]=rt,Ye}var a=function(et){var rt=et.height,st=et.offset,Ve=et.children,oe=et.prefixCls,re=et.onInnerResize,it={},Qe={display:"flex",flexDirection:"column"};return st!==void 0&&(it={height:rt,position:"relative",overflow:"hidden"},Qe=h(h({},Qe),{},{transform:"translateY(".concat(st,"px)"),position:"absolute",left:0,right:0,top:0})),g.createElement("div",{style:it},g.createElement(m.a,{onResize:function(Zt){var dt=Zt.offsetHeight;dt&&re()}},g.createElement("div",{style:Qe,className:y()(c({},"".concat(oe,"-holder-inner"),oe))},Ve)))},i=a,r=e("wgJM");function o(Ye){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?o=function(rt){return typeof rt}:o=function(rt){return rt&&typeof Symbol=="function"&&rt.constructor===Symbol&&rt!==Symbol.prototype?"symbol":typeof rt},o(Ye)}function d(Ye,et,rt){return et in Ye?Object.defineProperty(Ye,et,{value:rt,enumerable:!0,configurable:!0,writable:!0}):Ye[et]=rt,Ye}function n(Ye,et){if(!(Ye instanceof et))throw new TypeError("Cannot call a class as a function")}function l(Ye,et){for(var rt=0;rt<et.length;rt++){var st=et[rt];st.enumerable=st.enumerable||!1,st.configurable=!0,"value"in st&&(st.writable=!0),Object.defineProperty(Ye,st.key,st)}}function t(Ye,et,rt){return et&&l(Ye.prototype,et),rt&&l(Ye,rt),Ye}function s(Ye,et){if(typeof et!="function"&&et!==null)throw new TypeError("Super expression must either be null or a function");Ye.prototype=Object.create(et&&et.prototype,{constructor:{value:Ye,writable:!0,configurable:!0}}),et&&u(Ye,et)}function u(Ye,et){return u=Object.setPrototypeOf||function(st,Ve){return st.__proto__=Ve,st},u(Ye,et)}function p(Ye){var et=E();return function(){var st=A(Ye),Ve;if(et){var oe=A(this).constructor;Ve=Reflect.construct(st,arguments,oe)}else Ve=st.apply(this,arguments);return w(this,Ve)}}function w(Ye,et){return et&&(o(et)==="object"||typeof et=="function")?et:b(Ye)}function b(Ye){if(Ye===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ye}function E(){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(Ye){return!1}}function A(Ye){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(rt){return rt.__proto__||Object.getPrototypeOf(rt)},A(Ye)}var S=20,T=function(Ye){s(rt,Ye);var et=p(rt);function rt(){var st;return n(this,rt),st=et.apply(this,arguments),st.moveRaf=null,st.visibleTimeout=null,st.state={dragging:!1,pageY:null,startTop:null,visible:!1},st.delayHidden=function(){clearTimeout(st.visibleTimeout),st.setState({visible:!0}),st.visibleTimeout=setTimeout(function(){st.setState({visible:!1})},2e3)},st.patchEvents=function(){window.addEventListener("mousemove",st.onMouseMove),window.addEventListener("mouseup",st.onMouseUp)},st.removeEvents=function(){window.removeEventListener("mousemove",st.onMouseMove),window.removeEventListener("mouseup",st.onMouseUp),r.a.cancel(st.moveRaf)},st.onContainerMouseDown=function(Ve){Ve.stopPropagation(),Ve.preventDefault()},st.onMouseDown=function(Ve){var oe=st.props.onStartMove;st.setState({dragging:!0,pageY:Ve.pageY,startTop:st.getTop()}),oe(),st.patchEvents(),Ve.stopPropagation(),Ve.preventDefault()},st.onMouseMove=function(Ve){var oe=st.state,re=oe.dragging,it=oe.pageY,Qe=oe.startTop,ve=st.props.onScroll;if(r.a.cancel(st.moveRaf),re){var Zt=Ve.pageY-it,dt=Qe+Zt,ct=st.getEnableScrollRange(),yt=st.getEnableHeightRange(),_t=dt/yt,or=Math.ceil(_t*ct);st.moveRaf=Object(r.a)(function(){ve(or)})}},st.onMouseUp=function(){var Ve=st.props.onStopMove;st.setState({dragging:!1}),Ve(),st.removeEvents()},st.getSpinHeight=function(){var Ve=st.props,oe=Ve.height,re=Ve.count,it=oe/re*10;return it=Math.max(it,S),it=Math.min(it,oe/2),Math.floor(it)},st.getEnableScrollRange=function(){var Ve=st.props,oe=Ve.scrollHeight,re=Ve.height;return oe-re},st.getEnableHeightRange=function(){var Ve=st.props.height,oe=st.getSpinHeight();return Ve-oe},st.getTop=function(){var Ve=st.props.scrollTop,oe=st.getEnableScrollRange(),re=st.getEnableHeightRange(),it=Ve/oe;return it*re},st}return t(rt,[{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,oe=Ve.visible,re=Ve.dragging,it=this.props.prefixCls,Qe=this.getSpinHeight(),ve=this.getTop();return g.createElement("div",{className:"".concat(it,"-scrollbar"),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:oe?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},g.createElement("div",{className:y()("".concat(it,"-scrollbar-thumb"),d({},"".concat(it,"-scrollbar-thumb-moving"),re)),style:{width:"100%",height:Qe,top:ve,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),rt}(g.Component);function L(Ye){var et=Ye.children,rt=Ye.setRef,st=g.useCallback(function(Ve){rt(Ve)},[]);return g.cloneElement(et,{ref:st})}function x(Ye,et,rt,st,Ve,oe){var re=oe.getKey;return Ye.slice(et,rt+1).map(function(it,Qe){var ve=et+Qe,Zt=Ve(it,ve,{}),dt=re(it);return g.createElement(L,{key:dt,setRef:function(yt){return st(it,yt)}},Zt)})}var C=e("m+aA");function I(Ye,et){if(!(Ye instanceof et))throw new TypeError("Cannot call a class as a function")}function N(Ye,et){for(var rt=0;rt<et.length;rt++){var st=et[rt];st.enumerable=st.enumerable||!1,st.configurable=!0,"value"in st&&(st.writable=!0),Object.defineProperty(Ye,st.key,st)}}function F(Ye,et,rt){return et&&N(Ye.prototype,et),rt&&N(Ye,rt),Ye}var k=function(){function Ye(){I(this,Ye),this.maps={},this.maps.prototype=null}return F(Ye,[{key:"set",value:function(rt,st){this.maps[rt]=st}},{key:"get",value:function(rt){return this.maps[rt]}}]),Ye}(),B=k;function P(Ye,et){return H(Ye)||j(Ye,et)||R(Ye,et)||K()}function K(){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 R(Ye,et){if(!Ye)return;if(typeof Ye=="string")return U(Ye,et);var rt=Object.prototype.toString.call(Ye).slice(8,-1);if(rt==="Object"&&Ye.constructor&&(rt=Ye.constructor.name),rt==="Map"||rt==="Set")return Array.from(Ye);if(rt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(rt))return U(Ye,et)}function U(Ye,et){(et==null||et>Ye.length)&&(et=Ye.length);for(var rt=0,st=new Array(et);rt<et;rt++)st[rt]=Ye[rt];return st}function j(Ye,et){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ye)))return;var rt=[],st=!0,Ve=!1,oe=void 0;try{for(var re=Ye[Symbol.iterator](),it;!(st=(it=re.next()).done)&&!(rt.push(it.value),et&&rt.length===et);st=!0);}catch(Qe){Ve=!0,oe=Qe}finally{try{!st&&re.return!=null&&re.return()}finally{if(Ve)throw oe}}return rt}function H(Ye){if(Array.isArray(Ye))return Ye}function W(Ye,et,rt){var st=g.useState(0),Ve=P(st,2),oe=Ve[0],re=Ve[1],it=Object(g.useRef)(new Map),Qe=Object(g.useRef)(new B);function ve(dt,ct){var yt=Ye(dt),_t=it.current.get(yt);ct?it.current.set(yt,ct):it.current.delete(yt),!_t!==!ct&&(ct?et==null||et(dt):rt==null||rt(dt))}function Zt(){var dt=!1;it.current.forEach(function(ct,yt){if(ct&&ct.offsetParent){var _t=Object(C.a)(ct),or=_t.offsetHeight;Qe.current.get(yt)!==or&&(dt=!0,Qe.current.set(yt,_t.offsetHeight))}}),dt&&re(function(ct){return ct+1})}return[ve,Zt,Qe.current,oe]}function X(Ye,et){var rt=Object(g.useRef)(),st=Object(g.useRef)();return rt.current=Ye,st.current=et,function(Ve){var oe=Math.max(Ve,0),re=rt.current-st.current;return Number.isNaN(re)||(oe=Math.min(oe,re)),oe}}function z(Ye){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?z=function(rt){return typeof rt}:z=function(rt){return rt&&typeof Symbol=="function"&&rt.constructor===Symbol&&rt!==Symbol.prototype?"symbol":typeof rt},z(Ye)}function G(Ye,et,rt,st,Ve,oe,re){var it=g.useRef();return function(Qe){if(r.a.cancel(it.current),typeof Qe=="number")re(Qe);else if(Qe&&z(Qe)==="object"){var ve,Zt=Qe.align;"index"in Qe?ve=Qe.index:ve=et.findIndex(function(ct){return Ve(ct)===Qe.key});var dt=function ct(yt,_t){if(yt<0||!Ye.current)return;var or=Ye.current.clientHeight,Pt=!1,be=_t;if(or){for(var me=_t||Zt,pe=0,ue=0,De=0,He=0;He<=ve;He+=1){var ze=Ve(et[He]);ue=pe;var Xe=rt.get(ze);De=ue+(Xe===void 0?st:Xe),pe=De,He===ve&&Xe===void 0&&(Pt=!0)}var Be=null;switch(me){case"top":Be=ue;break;case"bottom":Be=De-or;break;default:{var nt=Ye.current.scrollTop,At=nt+or;ue<nt?be="top":De>At&&(be="bottom")}}Be!==null&&Be!==Ye.current.scrollTop&&re(Be)}it.current=Object(r.a)(function(){Pt&&oe(),ct(yt-1,be)})};dt(3)}}}function Z(Ye,et,rt,st){var Ve=rt-Ye,oe=et-rt,re=Math.min(Ve,oe)*2;if(st<=re){var it=Math.floor(st/2);return st%2?rt+it+1:rt-it}return Ve>oe?rt-(st-oe):rt+(st-Ve)}function ge(Ye,et,rt){var st=Ye.length,Ve=et.length,oe,re;if(st===0&&Ve===0)return null;st<Ve?(oe=Ye,re=et):(oe=et,re=Ye);var it={__EMPTY_ITEM__:!0};function Qe(_t){return _t!==void 0?rt(_t):it}for(var ve=null,Zt=Math.abs(st-Ve)!==1,dt=0;dt<re.length;dt+=1){var ct=Qe(oe[dt]),yt=Qe(re[dt]);if(ct!==yt){ve=dt,Zt=Zt||ct!==Qe(re[dt+1]);break}}return ve===null?null:{index:ve,multiple:Zt}}function Q(Ye,et){return Ge(Ye)||Pe(Ye,et)||Ee(Ye,et)||we()}function we(){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 Ee(Ye,et){if(!Ye)return;if(typeof Ye=="string")return Ae(Ye,et);var rt=Object.prototype.toString.call(Ye).slice(8,-1);if(rt==="Object"&&Ye.constructor&&(rt=Ye.constructor.name),rt==="Map"||rt==="Set")return Array.from(Ye);if(rt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(rt))return Ae(Ye,et)}function Ae(Ye,et){(et==null||et>Ye.length)&&(et=Ye.length);for(var rt=0,st=new Array(et);rt<et;rt++)st[rt]=Ye[rt];return st}function Pe(Ye,et){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ye)))return;var rt=[],st=!0,Ve=!1,oe=void 0;try{for(var re=Ye[Symbol.iterator](),it;!(st=(it=re.next()).done)&&!(rt.push(it.value),et&&rt.length===et);st=!0);}catch(Qe){Ve=!0,oe=Qe}finally{try{!st&&re.return!=null&&re.return()}finally{if(Ve)throw oe}}return rt}function Ge(Ye){if(Array.isArray(Ye))return Ye}function gt(Ye,et,rt){var st=g.useState(Ye),Ve=Q(st,2),oe=Ve[0],re=Ve[1],it=g.useState(null),Qe=Q(it,2),ve=Qe[0],Zt=Qe[1];return g.useEffect(function(){var dt=ge(oe||[],Ye||[],et);(dt==null?void 0:dt.index)!==void 0&&(rt==null||rt(dt.index),Zt(Ye[dt.index])),re(Ye)},[Ye]),[ve]}function _e(Ye){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_e=function(rt){return typeof rt}:_e=function(rt){return rt&&typeof Symbol=="function"&&rt.constructor===Symbol&&rt!==Symbol.prototype?"symbol":typeof rt},_e(Ye)}var Ce=(typeof navigator=="undefined"?"undefined":_e(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),lt=Ce;function ce(Ye,et){var rt=Object(g.useRef)(0),st=Object(g.useRef)(null),Ve=Object(g.useRef)(null),oe=Object(g.useRef)(!1);function re(Qe){if(!Ye)return;lt||Qe.preventDefault(),r.a.cancel(st.current),rt.current+=Qe.deltaY,Ve.current=Qe.deltaY,st.current=Object(r.a)(function(){var ve=oe.current?10:1;et(rt.current*ve),rt.current=0})}function it(Qe){if(!Ye)return;Qe.preventDefault(),oe.current=Qe.detail===Ve.current}return[re,it]}function Y(Ye,et){var rt=Object.keys(Ye);if(Object.getOwnPropertySymbols){var st=Object.getOwnPropertySymbols(Ye);et&&(st=st.filter(function(Ve){return Object.getOwnPropertyDescriptor(Ye,Ve).enumerable})),rt.push.apply(rt,st)}return rt}function V(Ye){for(var et=1;et<arguments.length;et++){var rt=arguments[et]!=null?arguments[et]:{};et%2?Y(Object(rt),!0).forEach(function(st){$(Ye,st,rt[st])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ye,Object.getOwnPropertyDescriptors(rt)):Y(Object(rt)).forEach(function(st){Object.defineProperty(Ye,st,Object.getOwnPropertyDescriptor(rt,st))})}return Ye}function $(Ye,et,rt){return et in Ye?Object.defineProperty(Ye,et,{value:rt,enumerable:!0,configurable:!0,writable:!0}):Ye[et]=rt,Ye}function Te(Ye,et){return fe(Ye)||se(Ye,et)||Fe(Ye,et)||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 Fe(Ye,et){if(!Ye)return;if(typeof Ye=="string")return Oe(Ye,et);var rt=Object.prototype.toString.call(Ye).slice(8,-1);if(rt==="Object"&&Ye.constructor&&(rt=Ye.constructor.name),rt==="Map"||rt==="Set")return Array.from(Ye);if(rt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(rt))return Oe(Ye,et)}function Oe(Ye,et){(et==null||et>Ye.length)&&(et=Ye.length);for(var rt=0,st=new Array(et);rt<et;rt++)st[rt]=Ye[rt];return st}function se(Ye,et){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Ye)))return;var rt=[],st=!0,Ve=!1,oe=void 0;try{for(var re=Ye[Symbol.iterator](),it;!(st=(it=re.next()).done)&&!(rt.push(it.value),et&&rt.length===et);st=!0);}catch(Qe){Ve=!0,oe=Qe}finally{try{!st&&re.return!=null&&re.return()}finally{if(Ve)throw oe}}return rt}function fe(Ye){if(Array.isArray(Ye))return Ye}function Le(Ye,et){if(Ye==null)return{};var rt=Je(Ye,et),st,Ve;if(Object.getOwnPropertySymbols){var oe=Object.getOwnPropertySymbols(Ye);for(Ve=0;Ve<oe.length;Ve++){if(st=oe[Ve],et.indexOf(st)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Ye,st))continue;rt[st]=Ye[st]}}return rt}function Je(Ye,et){if(Ye==null)return{};var rt={},st=Object.keys(Ye),Ve,oe;for(oe=0;oe<st.length;oe++){if(Ve=st[oe],et.indexOf(Ve)>=0)continue;rt[Ve]=Ye[Ve]}return rt}var mt=[],Ct={overflowY:"auto",overflowAnchor:"none"};function Ue(Ye,et){var rt=Ye.prefixCls,st=rt===void 0?"rc-virtual-list":rt,Ve=Ye.className,oe=Ye.height,re=Ye.itemHeight,it=Ye.fullHeight,Qe=it===void 0?!0:it,ve=Ye.style,Zt=Ye.data,dt=Ye.children,ct=Ye.itemKey,yt=Ye.virtual,_t=Ye.component,or=_t===void 0?"div":_t,Pt=Ye.onScroll,be=Le(Ye,["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll"]),me=yt!==!1&&oe&&re&&Zt&&re*Zt.length>oe,pe=g.useState(0),ue=Te(pe,2),De=ue[0],He=ue[1],ze=g.useState(!1),Xe=Te(ze,2),Be=Xe[0],nt=Xe[1],At=y()(st,Ve),It=Zt||mt,ae=Object(g.useRef)(),he=g.useCallback(function(Ar){return typeof ct=="function"?ct(Ar):Ar[ct]},[ct]),q={getKey:he};function ne(Ar){He(function(Nr){var Fr;return typeof Ar=="function"?Fr=Ar(Nr):Fr=Ar,ae.current.scrollTop=Fr,Fr})}var Se=Object(g.useRef)({start:0,end:It.length}),Ne=Object(g.useRef)(),Me=gt(It,he),$e=Te(Me,1),vt=$e[0];Ne.current=vt;var Wt=W(he,null,null),$t=Te(Wt,4),Dt=$t[0],Kt=$t[1],Gt=$t[2],Qt=$t[3],Mt=g.useMemo(function(){if(!me)return{scrollHeight:void 0,start:0,end:It.length-1,offset:void 0};for(var Ar=0,Nr,Fr,tn,qr=It.length,Lr=0;Lr<qr;Lr+=1){var Qr=It[Lr],_r=he(Qr),ur=Gt.get(_r),pr=Ar+(ur===void 0?re:ur);pr>=De&&Nr===void 0&&(Nr=Lr,Fr=Ar),pr>De+oe&&tn===void 0&&(tn=Lr),Ar=pr}return Nr===void 0&&(Nr=0,Fr=0),tn===void 0&&(tn=It.length-1),tn=Math.min(tn+1,It.length),{scrollHeight:Ar,start:Nr,end:tn,offset:Fr}},[me,De,It,Qt,oe]),dr=Mt.scrollHeight,er=Mt.start,ot=Mt.end,xt=Mt.offset;Se.current.start=er,Se.current.end=ot;var ut=X(dr,oe);function ft(Ar){var Nr=ut(Ar);Nr!==De&&ne(Nr)}function Ot(Ar){var Nr=Ar.currentTarget.scrollTop;Nr!==De&&ne(Nr),Pt==null||Pt(Ar)}var Tt=ce(me,function(Ar){ne(function(Nr){var Fr=ut(Nr+Ar);return Fr})}),ht=Te(Tt,2),Ht=ht[0],Ft=ht[1];g.useEffect(function(){return ae.current.addEventListener("wheel",Ht),ae.current.addEventListener("DOMMouseScroll",Ft),function(){ae.current.removeEventListener("wheel",Ht),ae.current.removeEventListener("DOMMouseScroll",Ft)}},[me]);var ir=G(ae,It,Gt,re,he,Kt,ne);g.useImperativeHandle(et,function(){return{scrollTo:ir}});var Xt=x(It,er,ot,Dt,dt,q),mr=null;return oe&&(mr=V($({},Qe?"height":"maxHeight",oe),Ct),me&&(mr.overflowY="hidden",Be&&(mr.pointerEvents="none"))),g.createElement("div",Object.assign({style:V(V({},ve),{},{position:"relative"}),className:At},be),g.createElement(or,{className:"".concat(st,"-holder"),style:mr,ref:ae,onScroll:Ot},g.createElement(i,{prefixCls:st,height:dr,offset:xt,onInnerResize:Kt},Xt)),me&&g.createElement(T,{prefixCls:st,scrollTop:De,height:oe,scrollHeight:dr,count:It.length,onScroll:ft,onStartMove:function(){nt(!0)},onStopMove:function(){nt(!1)}}))}var Rt=g.forwardRef(Ue);Rt.displayName="List";var Ke=Rt,wt=_.a=Ke},"+rIm":function(D,_,e){var g=e("bYtY"),f=g.retrieve,y=g.defaults,m=g.extend,v=g.each,h=e("7aKB"),c=e("IwbS"),a=e("Qxkt"),i=e("OELB"),r=i.isRadianAroundZero,o=i.remRadian,d=e("oVpE"),n=d.createSymbol,l=e("Fofx"),t=e("QBsz"),s=t.applyTransform,u=e("aX7z"),p=u.shouldShowAllLabels,w=Math.PI,b=function(R,U){this.opt=U,this.axisModel=R,y(U,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new c.Group;var j=new c.Group({position:U.position.slice(),rotation:U.rotation});j.updateTransform(),this._transform=j.transform,this._dumbGroup=j};b.prototype={constructor:b,hasBuilder:function(R){return!!E[R]},add:function(R){E[R].call(this)},getGroup:function(){return this.group}};var E={axisLine:function(){var R=this.opt,U=this.axisModel;if(!U.get("axisLine.show"))return;var j=this.axisModel.axis.getExtent(),H=this._transform,W=[j[0],0],X=[j[1],0];H&&(s(W,W,H),s(X,X,H));var z=m({lineCap:"round"},U.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new c.Line({anid:"line",subPixelOptimize:!0,shape:{x1:W[0],y1:W[1],x2:X[0],y2:X[1]},style:z,strokeContainThreshold:R.strokeContainThreshold||5,silent:!0,z2:1}));var G=U.get("axisLine.symbol"),Z=U.get("axisLine.symbolSize"),ge=U.get("axisLine.symbolOffset")||0;if(typeof ge=="number"&&(ge=[ge,ge]),G!=null){typeof G=="string"&&(G=[G,G]),(typeof Z=="string"||typeof Z=="number")&&(Z=[Z,Z]);var Q=Z[0],we=Z[1];v([{rotate:R.rotation+Math.PI/2,offset:ge[0],r:0},{rotate:R.rotation-Math.PI/2,offset:ge[1],r:Math.sqrt((W[0]-X[0])*(W[0]-X[0])+(W[1]-X[1])*(W[1]-X[1]))}],function(Ee,Ae){if(G[Ae]!=="none"&&G[Ae]!=null){var Pe=n(G[Ae],-Q/2,-we/2,Q,we,z.stroke,!0),Ge=Ee.r+Ee.offset,gt=[W[0]+Ge*Math.cos(R.rotation),W[1]-Ge*Math.sin(R.rotation)];Pe.attr({rotation:Ee.rotate,position:gt,silent:!0,z2:11}),this.group.add(Pe)}},this)}},axisTickLabel:function(){var R=this.axisModel,U=this.opt,j=k(this,R,U),H=P(this,R,U);x(R,H,j),B(this,R,U)},axisName:function(){var R=this.opt,U=this.axisModel,j=f(R.axisName,U.get("name"));if(!j)return;var H=U.get("nameLocation"),W=R.nameDirection,X=U.getModel("nameTextStyle"),z=U.get("nameGap")||0,G=this.axisModel.axis.getExtent(),Z=G[0]>G[1]?-1:1,ge=[H==="start"?G[0]-Z*z:H==="end"?G[1]+Z*z:(G[0]+G[1])/2,N(H)?R.labelOffset+W*z:0],Q,we=U.get("nameRotate");we!=null&&(we=we*w/180);var Ee;N(H)?Q=S(R.rotation,we!=null?we:R.rotation,W):(Q=T(R,H,we||0,G),Ee=R.axisNameAvailableWidth,Ee!=null&&(Ee=Math.abs(Ee/Math.sin(Q.rotation)),!isFinite(Ee)&&(Ee=null)));var Ae=X.getFont(),Pe=U.get("nameTruncate",!0)||{},Ge=Pe.ellipsis,gt=f(R.nameTruncateMaxWidth,Pe.maxWidth,Ee),_e=Ge!=null&&gt!=null?h.truncateText(j,gt,Ae,Ge,{minChar:2,placeholder:Pe.placeholder}):j,Ce=U.get("tooltip",!0),lt=U.mainType,ce={componentType:lt,name:j,$vars:["name"]};ce[lt+"Index"]=U.componentIndex;var Y=new c.Text({anid:"name",__fullText:j,__truncatedText:_e,position:ge,rotation:Q.rotation,silent:L(U),z2:1,tooltip:Ce&&Ce.show?m({content:j,formatter:function(){return j},formatterParams:ce},Ce):null});c.setTextStyle(Y.style,X,{text:_e,textFont:Ae,textFill:X.getTextColor()||U.get("axisLine.lineStyle.color"),textAlign:X.get("align")||Q.textAlign,textVerticalAlign:X.get("verticalAlign")||Q.textVerticalAlign}),U.get("triggerEvent")&&(Y.eventData=A(U),Y.eventData.targetType="axisName",Y.eventData.name=j),this._dumbGroup.add(Y),Y.updateTransform(),this.group.add(Y),Y.decomposeTransform()}},A=b.makeAxisEventDataBase=function(R){var U={componentType:R.mainType,componentIndex:R.componentIndex};return U[R.mainType+"Index"]=R.componentIndex,U},S=b.innerTextLayout=function(R,U,j){var H=o(U-R),W,X;return r(H)?(X=j>0?"top":"bottom",W="center"):r(H-w)?(X=j>0?"bottom":"top",W="center"):(X="middle",H>0&&H<w?W=j>0?"right":"left":W=j>0?"left":"right"),{rotation:H,textAlign:W,textVerticalAlign:X}};function T(R,U,j,H){var W=o(j-R.rotation),X,z,G=H[0]>H[1],Z=U==="start"&&!G||U!=="start"&&G;return r(W-w/2)?(z=Z?"bottom":"top",X="center"):r(W-w*1.5)?(z=Z?"top":"bottom",X="center"):(z="middle",W<w*1.5&&W>w/2?X=Z?"left":"right":X=Z?"right":"left"),{rotation:W,textAlign:X,textVerticalAlign:z}}var L=b.isLabelSilent=function(R){var U=R.get("tooltip");return R.get("silent")||!(R.get("triggerEvent")||U&&U.show)};function x(R,U,j){if(p(R.axis))return;var H=R.get("axisLabel.showMinLabel"),W=R.get("axisLabel.showMaxLabel");U=U||[],j=j||[];var X=U[0],z=U[1],G=U[U.length-1],Z=U[U.length-2],ge=j[0],Q=j[1],we=j[j.length-1],Ee=j[j.length-2];H===!1?(C(X),C(ge)):I(X,z)&&(H?(C(z),C(Q)):(C(X),C(ge))),W===!1?(C(G),C(we)):I(Z,G)&&(W?(C(Z),C(Ee)):(C(G),C(we)))}function C(R){R&&(R.ignore=!0)}function I(R,U,j){var H=R&&R.getBoundingRect().clone(),W=U&&U.getBoundingRect().clone();if(!H||!W)return;var X=l.identity([]);return l.rotate(X,X,-R.rotation),H.applyTransform(l.mul([],X,R.getLocalTransform())),W.applyTransform(l.mul([],X,U.getLocalTransform())),H.intersect(W)}function N(R){return R==="middle"||R==="center"}function F(R,U,j,H,W){for(var X=[],z=[],G=[],Z=0;Z<R.length;Z++){var ge=R[Z].coord;z[0]=ge,z[1]=0,G[0]=ge,G[1]=j,U&&(s(z,z,U),s(G,G,U));var Q=new c.Line({anid:W+"_"+R[Z].tickValue,subPixelOptimize:!0,shape:{x1:z[0],y1:z[1],x2:G[0],y2:G[1]},style:H,z2:2,silent:!0});X.push(Q)}return X}function k(R,U,j){var H=U.axis,W=U.getModel("axisTick");if(!W.get("show")||H.scale.isBlank())return;for(var X=W.getModel("lineStyle"),z=j.tickDirection*W.get("length"),G=H.getTicksCoords(),Z=F(G,R._transform,z,y(X.getLineStyle(),{stroke:U.get("axisLine.lineStyle.color")}),"ticks"),ge=0;ge<Z.length;ge++)R.group.add(Z[ge]);return Z}function B(R,U,j){var H=U.axis,W=U.getModel("minorTick");if(!W.get("show")||H.scale.isBlank())return;var X=H.getMinorTicksCoords();if(!X.length)return;for(var z=W.getModel("lineStyle"),G=j.tickDirection*W.get("length"),Z=y(z.getLineStyle(),y(U.getModel("axisTick").getLineStyle(),{stroke:U.get("axisLine.lineStyle.color")})),ge=0;ge<X.length;ge++)for(var Q=F(X[ge],R._transform,G,Z,"minorticks_"+ge),we=0;we<Q.length;we++)R.group.add(Q[we])}function P(R,U,j){var H=U.axis,W=f(j.axisLabelShow,U.get("axisLabel.show"));if(!W||H.scale.isBlank())return;var X=U.getModel("axisLabel"),z=X.get("margin"),G=H.getViewLabels(),Z=(f(j.labelRotate,X.get("rotate"))||0)*w/180,ge=S(j.rotation,Z,j.labelDirection),Q=U.getCategories&&U.getCategories(!0),we=[],Ee=L(U),Ae=U.get("triggerEvent");return v(G,function(Pe,Ge){var gt=Pe.tickValue,_e=Pe.formattedLabel,Ce=Pe.rawLabel,lt=X;Q&&Q[gt]&&Q[gt].textStyle&&(lt=new a(Q[gt].textStyle,X,U.ecModel));var ce=lt.getTextColor()||U.get("axisLine.lineStyle.color"),Y=H.dataToCoord(gt),V=[Y,j.labelOffset+j.labelDirection*z],$=new c.Text({anid:"label_"+gt,position:V,rotation:ge.rotation,silent:Ee,z2:10});c.setTextStyle($.style,lt,{text:_e,textAlign:lt.getShallow("align",!0)||ge.textAlign,textVerticalAlign:lt.getShallow("verticalAlign",!0)||lt.getShallow("baseline",!0)||ge.textVerticalAlign,textFill:typeof ce=="function"?ce(H.type==="category"?Ce:H.type==="value"?gt+"":gt,Ge):ce}),Ae&&($.eventData=A(U),$.eventData.targetType="axisLabel",$.eventData.value=Ce),R._dumbGroup.add($),$.updateTransform(),we.push($),R.group.add($),$.decomposeTransform()}),we}var K=b;D.exports=K},"+wW9":function(D,_,e){var g=e("bYtY"),f=g.each,y=g.isArray,m=g.isObject,v=e("JuEJ"),h=e("4NO4"),c=h.normalizeToArray;function a(l,t){t=t.split(",");for(var s=l,u=0;u<t.length&&!(s=s&&s[t[u]],s==null);u++);return s}function i(l,t,s,u){t=t.split(",");for(var p=l,w,b=0;b<t.length-1;b++)w=t[b],p[w]==null&&(p[w]={}),p=p[w];(u||p[t[b]]==null)&&(p[t[b]]=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){v(l,t),l.series=c(l.series),f(l.series,function(s){if(!m(s))return;var u=s.type;if(u==="line")s.clipOverflow!=null&&(s.clip=s.clipOverflow);else if(u==="pie"||u==="gauge")s.clockWise!=null&&(s.clockwise=s.clockWise);else if(u==="gauge"){var p=a(s,"pointer.color");p!=null&&i(s,"itemStyle.color",p)}r(s)}),l.dataRange&&(l.visualMap=l.dataRange),f(d,function(s){var u=l[s];u&&(y(u)||(u=[u]),f(u,function(p){r(p)}))})}D.exports=n},"/IIm":function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=e("H6uX"),v=e("IwbS"),h=e("pP6R"),c=e("gPAo"),a=y.curry,i=y.each,r=y.map,o=Math.min,d=Math.max,n=Math.pow,l=1e4,t=6,s=6,u="globalPan",p={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},w={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},b={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},E=0;function A(se){m.call(this),this._zr=se,this.group=new v.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+E++,this._handlers={},i(V,function(fe,Le){this._handlers[Le]=y.bind(fe,this)},this)}A.prototype={constructor:A,enableBrush:function(se){return this._brushType&&T(this),se.brushType&&S(this,se),this},setPanels:function(se){if(se&&se.length){var fe=this._panels={};y.each(se,function(Le){fe[Le.panelId]=y.clone(Le)})}else this._panels=null;return this},mount:function(se){se=se||{},this._enableGlobalPan=se.enableGlobalPan;var fe=this.group;return this._zr.add(fe),fe.attr({position:se.position||[0,0],rotation:se.rotation||0,scale:se.scale||[1,1]}),this._transform=fe.getLocalTransform(),this},eachCover:function(se,fe){i(this._covers,se,fe)},updateCovers:function(se){se=y.map(se,function(Ye){return y.merge(y.clone(b),Ye,!0)});var fe="\0-brush-index-",Le=this._covers,Je=this._covers=[],mt=this,Ct=this._creatingCover;return new c(Le,se,Rt,Ue).add(Ke).update(Ke).remove(wt).execute(),this;function Ue(Ye,et){return(Ye.id!=null?Ye.id:fe+et)+"-"+Ye.brushType}function Rt(Ye,et){return Ue(Ye.__brushOption,et)}function Ke(Ye,et){var rt=se[Ye];if(et!=null&&Le[et]===Ct)Je[Ye]=Le[et];else{var st=Je[Ye]=et!=null?(Le[et].__brushOption=rt,Le[et]):I(mt,C(mt,rt));k(mt,st)}}function wt(Ye){Le[Ye]!==Ct&&mt.group.remove(Le[Ye])}},unmount:function(){return this.enableBrush(!1),R(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},y.mixin(A,m);function S(se,fe){var Le=se._zr;se._enableGlobalPan||h.take(Le,u,se._uid),L(Le,se._handlers),se._brushType=fe.brushType,se._brushOption=y.merge(y.clone(b),fe,!0)}function T(se){var fe=se._zr;h.release(fe,u,se._uid),x(fe,se._handlers),se._brushType=se._brushOption=null}function L(se,fe){i(fe,function(Le,Je){se.on(Je,Le)})}function x(se,fe){i(fe,function(Le,Je){se.off(Je,Le)})}function C(se,fe){var Le=ye[fe.brushType].createCover(se,fe);return Le.__brushOption=fe,F(Le,fe),se.group.add(Le),Le}function I(se,fe){var Le=B(fe);return Le.endCreating&&(Le.endCreating(se,fe),F(fe,fe.__brushOption)),fe}function N(se,fe){var Le=fe.__brushOption;B(fe).updateCoverShape(se,fe,Le.range,Le)}function F(se,fe){var Le=fe.z;Le==null&&(Le=l),se.traverse(function(Je){Je.z=Le,Je.z2=Le})}function k(se,fe){B(fe).updateCommon(se,fe),N(se,fe)}function B(se){return ye[se.__brushOption.brushType]}function P(se,fe,Le){var Je=se._panels;if(!Je)return!0;var mt,Ct=se._transform;return i(Je,function(Ue){Ue.isTargetByCursor(fe,Le,Ct)&&(mt=Ue)}),mt}function K(se,fe){var Le=se._panels;if(!Le)return!0;var Je=fe.__brushOption.panelId;return Je!=null?Le[Je]:!0}function R(se){var fe=se._covers,Le=fe.length;return i(fe,function(Je){se.group.remove(Je)},se),fe.length=0,!!Le}function U(se,fe){var Le=r(se._covers,function(Je){var mt=Je.__brushOption,Ct=y.clone(mt.range);return{brushType:mt.brushType,panelId:mt.panelId,range:Ct}});se.trigger("brush",Le,{isEnd:!!fe.isEnd,removeOnClick:!!fe.removeOnClick})}function j(se){var fe=se._track;if(!fe.length)return!1;var Le=fe[fe.length-1],Je=fe[0],mt=Le[0]-Je[0],Ct=Le[1]-Je[1],Ue=n(mt*mt+Ct*Ct,.5);return Ue>t}function H(se){var fe=se.length-1;return fe<0&&(fe=0),[se[0],se[fe]]}function W(se,fe,Le,Je){var mt=new v.Group;return mt.add(new v.Rect({name:"main",style:Z(Le),silent:!0,draggable:!0,cursor:"move",drift:a(se,fe,mt,"nswe"),ondragend:a(U,fe,{isEnd:!0})})),i(Je,function(Ct){mt.add(new v.Rect({name:Ct,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:a(se,fe,mt,Ct),ondragend:a(U,fe,{isEnd:!0})}))}),mt}function X(se,fe,Le,Je){var mt=Je.brushStyle.lineWidth||0,Ct=d(mt,s),Ue=Le[0][0],Rt=Le[1][0],Ke=Ue-mt/2,wt=Rt-mt/2,Ye=Le[0][1],et=Le[1][1],rt=Ye-Ct+mt/2,st=et-Ct+mt/2,Ve=Ye-Ue,oe=et-Rt,re=Ve+mt,it=oe+mt;G(se,fe,"main",Ue,Rt,Ve,oe),Je.transformable&&(G(se,fe,"w",Ke,wt,Ct,it),G(se,fe,"e",rt,wt,Ct,it),G(se,fe,"n",Ke,wt,re,Ct),G(se,fe,"s",Ke,st,re,Ct),G(se,fe,"nw",Ke,wt,Ct,Ct),G(se,fe,"ne",rt,wt,Ct,Ct),G(se,fe,"sw",Ke,st,Ct,Ct),G(se,fe,"se",rt,st,Ct,Ct))}function z(se,fe){var Le=fe.__brushOption,Je=Le.transformable,mt=fe.childAt(0);mt.useStyle(Z(Le)),mt.attr({silent:!Je,cursor:Je?"move":"default"}),i(["w","e","n","s","se","sw","ne","nw"],function(Ct){var Ue=fe.childOfName(Ct),Rt=we(se,Ct);Ue&&Ue.attr({silent:!Je,invisible:!Je,cursor:Je?w[Rt]+"-resize":null})})}function G(se,fe,Le,Je,mt,Ct,Ue){var Rt=fe.childOfName(Le);Rt&&Rt.setShape(gt(Ge(se,fe,[[Je,mt],[Je+Ct,mt+Ue]])))}function Z(se){return y.defaults({strokeNoScale:!0},se.brushStyle)}function ge(se,fe,Le,Je){var mt=[o(se,Le),o(fe,Je)],Ct=[d(se,Le),d(fe,Je)];return[[mt[0],Ct[0]],[mt[1],Ct[1]]]}function Q(se){return v.getTransform(se.group)}function we(se,fe){if(fe.length>1){fe=fe.split("");var Le=[we(se,fe[0]),we(se,fe[1])];return(Le[0]==="e"||Le[0]==="w")&&Le.reverse(),Le.join("")}else{var Je={w:"left",e:"right",n:"top",s:"bottom"},mt={left:"w",right:"e",top:"n",bottom:"s"},Le=v.transformDirection(Je[fe],Q(se));return mt[Le]}}function Ee(se,fe,Le,Je,mt,Ct,Ue,Rt){var Ke=Je.__brushOption,wt=se(Ke.range),Ye=Pe(Le,Ct,Ue);i(mt.split(""),function(et){var rt=p[et];wt[rt[0]][rt[1]]+=Ye[rt[0]]}),Ke.range=fe(ge(wt[0][0],wt[1][0],wt[0][1],wt[1][1])),k(Le,Je),U(Le,{isEnd:!1})}function Ae(se,fe,Le,Je,mt){var Ct=fe.__brushOption.range,Ue=Pe(se,Le,Je);i(Ct,function(Rt){Rt[0]+=Ue[0],Rt[1]+=Ue[1]}),k(se,fe),U(se,{isEnd:!1})}function Pe(se,fe,Le){var Je=se.group,mt=Je.transformCoordToLocal(fe,Le),Ct=Je.transformCoordToLocal(0,0);return[mt[0]-Ct[0],mt[1]-Ct[1]]}function Ge(se,fe,Le){var Je=K(se,fe);return Je&&Je!==!0?Je.clipPath(Le,se._transform):y.clone(Le)}function gt(se){var fe=o(se[0][0],se[1][0]),Le=o(se[0][1],se[1][1]),Je=d(se[0][0],se[1][0]),mt=d(se[0][1],se[1][1]);return{x:fe,y:Le,width:Je-fe,height:mt-Le}}function _e(se,fe,Le){if(!se._brushType||Te(se,fe))return;var Je=se._zr,mt=se._covers,Ct=P(se,fe,Le);if(!se._dragging)for(var Ue=0;Ue<mt.length;Ue++){var Rt=mt[Ue].__brushOption;if(Ct&&(Ct===!0||Rt.panelId===Ct.panelId)&&ye[Rt.brushType].contain(mt[Ue],Le[0],Le[1]))return}Ct&&Je.setCursorStyle("crosshair")}function Ce(se){var fe=se.event;fe.preventDefault&&fe.preventDefault()}function lt(se,fe,Le){return se.childOfName("main").contain(fe,Le)}function ce(se,fe,Le,Je){var mt=se._creatingCover,Ct=se._creatingPanel,Ue=se._brushOption,Rt;if(se._track.push(Le.slice()),j(se)||mt){if(Ct&&!mt){Ue.brushMode==="single"&&R(se);var Ke=y.clone(Ue);Ke.brushType=Y(Ke.brushType,Ct),Ke.panelId=Ct===!0?null:Ct.panelId,mt=se._creatingCover=C(se,Ke),se._covers.push(mt)}if(mt){var wt=ye[Y(se._brushType,Ct)],Ye=mt.__brushOption;Ye.range=wt.getCreatingRange(Ge(se,mt,se._track)),Je&&(I(se,mt),wt.updateCommon(se,mt)),N(se,mt),Rt={isEnd:Je}}}else Je&&Ue.brushMode==="single"&&Ue.removeOnClick&&(P(se,fe,Le)&&R(se)&&(Rt={isEnd:Je,removeOnClick:!0}));return Rt}function Y(se,fe){return se==="auto"?fe.defaultBrushType:se}var V={mousedown:function(se){if(this._dragging)$(this,se);else if(!se.target||!se.target.draggable){Ce(se);var fe=this.group.transformCoordToLocal(se.offsetX,se.offsetY);this._creatingCover=null;var Le=this._creatingPanel=P(this,se,fe);Le&&(this._dragging=!0,this._track=[fe.slice()])}},mousemove:function(se){var fe=se.offsetX,Le=se.offsetY,Je=this.group.transformCoordToLocal(fe,Le);if(_e(this,se,Je),this._dragging){Ce(se);var mt=ce(this,se,Je,!1);mt&&U(this,mt)}},mouseup:function(se){$(this,se)}};function $(se,fe){if(se._dragging){Ce(fe);var Le=fe.offsetX,Je=fe.offsetY,mt=se.group.transformCoordToLocal(Le,Je),Ct=ce(se,fe,mt,!0);se._dragging=!1,se._track=[],se._creatingCover=null,Ct&&U(se,Ct)}}function Te(se,fe,Le){var Je=se._zr;return fe<0||fe>Je.getWidth()||Le<0||Le>Je.getHeight()}var ye={lineX:Fe(0),lineY:Fe(1),rect:{createCover:function(se,fe){return W(a(Ee,function(Le){return Le},function(Le){return Le}),se,fe,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(se){var fe=H(se);return ge(fe[1][0],fe[1][1],fe[0][0],fe[0][1])},updateCoverShape:function(se,fe,Le,Je){X(se,fe,Le,Je)},updateCommon:z,contain:lt},polygon:{createCover:function(se,fe){var Le=new v.Group;return Le.add(new v.Polyline({name:"main",style:Z(fe),silent:!0})),Le},getCreatingRange:function(se){return se},endCreating:function(se,fe){fe.remove(fe.childAt(0)),fe.add(new v.Polygon({name:"main",draggable:!0,drift:a(Ae,se,fe),ondragend:a(U,se,{isEnd:!0})}))},updateCoverShape:function(se,fe,Le,Je){fe.childAt(0).setShape({points:Ge(se,fe,Le)})},updateCommon:z,contain:lt}};function Fe(se){return{createCover:function(fe,Le){return W(a(Ee,function(Je){var mt=[Je,[0,100]];return se&&mt.reverse(),mt},function(Je){return Je[se]}),fe,Le,[["w","e"],["n","s"]][se])},getCreatingRange:function(fe){var Le=H(fe),Je=o(Le[0][se],Le[1][se]),mt=d(Le[0][se],Le[1][se]);return[Je,mt]},updateCoverShape:function(fe,Le,Je,mt){var Ct,Ue=K(fe,Le);if(Ue!==!0&&Ue.getLinearBrushOtherExtent)Ct=Ue.getLinearBrushOtherExtent(se,fe._transform);else{var Rt=fe._zr;Ct=[0,[Rt.getWidth(),Rt.getHeight()][1-se]]}var Ke=[Je,Ct];se&&Ke.reverse(),X(fe,Le,Ke,mt)},updateCommon:z,contain:lt}}var Oe=A;D.exports=Oe},"/MfK":function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="DeleteOutlined";var h=_.a=g.forwardRef(v)},"/POA":function(D,_,e){!function(g,f){if(!0)D.exports=f();else var y,m}(window,function(){return function(g){var f={};function y(m){if(f[m])return f[m].exports;var v=f[m]={i:m,l:!1,exports:{}};return g[m].call(v.exports,v,v.exports,y),v.l=!0,v.exports}return y.m=g,y.c=f,y.d=function(m,v,h){y.o(m,v)||Object.defineProperty(m,v,{enumerable:!0,get:h})},y.r=function(m){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},y.t=function(m,v){if(1&v&&(m=y(m)),8&v)return m;if(4&v&&typeof m=="object"&&m&&m.__esModule)return m;var h=Object.create(null);if(y.r(h),Object.defineProperty(h,"default",{enumerable:!0,value:m}),2&v&&typeof m!="string")for(var c in m)y.d(h,c,function(a){return m[a]}.bind(null,c));return h},y.n=function(m){var v=m&&m.__esModule?function(){return m.default}:function(){return m};return y.d(v,"a",v),v},y.o=function(m,v){return Object.prototype.hasOwnProperty.call(m,v)},y.p="",y(y.s=34)}([function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.forwardEvent=f.EventEmitter=void 0;var m=function(){function v(){this._listeners=[],this._disposed=!1}return Object.defineProperty(v.prototype,"event",{get:function(){var c=this;return this._event||(this._event=function(a){return c._listeners.push(a),{dispose:function(){if(!c._disposed){for(var r=0;r<c._listeners.length;r++)if(c._listeners[r]===a)return void c._listeners.splice(r,1)}}}}),this._event},enumerable:!1,configurable:!0}),v.prototype.fire=function(h,c){for(var a=[],i=0;i<this._listeners.length;i++)a.push(this._listeners[i]);for(i=0;i<a.length;i++)a[i].call(void 0,h,c)},v.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},v}();f.EventEmitter=m,f.forwardEvent=function(v,h){return v(function(c){return h.fire(c)})}},function(g,f,y){"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=y(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,y){"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 c=0,a=this._disposables;c<a.length;c++)a[c].dispose();this._disposables.length=0},h.prototype.register=function(c){return this._disposables.push(c),c},h.prototype.unregister=function(c){var a=this._disposables.indexOf(c);a!==-1&&this._disposables.splice(a,1)},h}();function v(h){for(var c=0,a=h;c<a.length;c++)a[c].dispose();h.length=0}f.Disposable=m,f.disposeArray=v,f.getDisposeArrayDisposable=function(h){return{dispose:function(){return v(h)}}}},function(g,f,y){"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,y){"use strict";var m,v=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=y(8),c=y(3),a=y(6),i=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 a.ExtendedAttrs,d.combinedData="",d}return v(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[c.CHAR_DATA_ATTR_INDEX],this.bg=0;var n=!1;if(d[c.CHAR_DATA_CHAR_INDEX].length>2)n=!0;else if(d[c.CHAR_DATA_CHAR_INDEX].length===2){var l=d[c.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=l&&l<=56319){var t=d[c.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=t&&t<=57343?this.content=1024*(l-55296)+t-56320+65536|d[c.CHAR_DATA_WIDTH_INDEX]<<22:n=!0}else n=!0}else this.content=d[c.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|d[c.CHAR_DATA_WIDTH_INDEX]<<22;n&&(this.combinedData=d[c.CHAR_DATA_CHAR_INDEX],this.content=2097152|d[c.CHAR_DATA_WIDTH_INDEX]<<22)},o.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},o}(a.AttributeData);f.CellData=i},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ISoundService=f.ISelectionService=f.IRenderService=f.IMouseService=f.ICoreBrowserService=f.ICharSizeService=void 0;var m=y(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,y){"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 v}return h.toColorRGB=function(c){return[c>>>16&255,c>>>8&255,255&c]},h.fromColorRGB=function(c){return(255&c[0])<<16|(255&c[1])<<8|255&c[2]},h.prototype.clone=function(){var c=new h;return c.fg=this.fg,c.bg=this.bg,c.extended=this.extended.clone(),c},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 v=function(){function h(c,a){c===void 0&&(c=0),a===void 0&&(a=-1),this.underlineStyle=c,this.underlineColor=a}return h.prototype.clone=function(){return new h(this.underlineStyle,this.underlineColor)},h.prototype.isEmpty=function(){return this.underlineStyle===0},h}();f.ExtendedAttrs=v},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.addDisposableDomListener=void 0,f.addDisposableDomListener=function(m,v,h,c){m.addEventListener(v,h,c);var a=!1;return{dispose:function(){a||(a=!0,m.removeEventListener(v,h,c))}}}},function(g,f,y){"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,c,a){c===void 0&&(c=0),a===void 0&&(a=h.length);for(var i="",r=c;r<a;++r){var o=h[r];o>65535?(o-=65536,i+=String.fromCharCode(55296+(o>>10))+String.fromCharCode(o%1024+56320)):i+=String.fromCharCode(o)}return i};var m=function(){function h(){this._interim=0}return h.prototype.clear=function(){this._interim=0},h.prototype.decode=function(c,a){var i=c.length;if(!i)return 0;var r=0,o=0;this._interim&&(56320<=(l=c.charCodeAt(o++))&&l<=57343?a[r++]=1024*(this._interim-55296)+l-56320+65536:(a[r++]=this._interim,a[r++]=l),this._interim=0);for(var d=o;d<i;++d){var n=c.charCodeAt(d);if(55296<=n&&n<=56319){if(++d>=i)return this._interim=n,r;var l;56320<=(l=c.charCodeAt(d))&&l<=57343?a[r++]=1024*(n-55296)+l-56320+65536:(a[r++]=n,a[r++]=l)}else a[r++]=n}return r},h}();f.StringToUtf32=m;var v=function(){function h(){this.interim=new Uint8Array(3)}return h.prototype.clear=function(){this.interim.fill(0)},h.prototype.decode=function(c,a){var i=c.length;if(!i)return 0;var r,o,d,n,l=0,t=0,s=0;if(this.interim[0]){var u=!1,p=this.interim[0];p&=(224&p)==192?31:(240&p)==224?15:7;for(var w=0,b=void 0;(b=63&this.interim[++w])&&w<4;)p<<=6,p|=b;for(var E=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,A=E-w;s<A;){if(s>=i)return 0;if((192&(b=c[s++]))!=128){s--,u=!0;break}this.interim[w++]=b,p<<=6,p|=63&b}u||(E===2?p<128?s--:a[l++]=p:E===3?p<2048||p>=55296&&p<=57343||(a[l++]=p):p<65536||p>1114111||(a[l++]=p)),this.interim.fill(0)}for(var S=i-4,T=s;T<i;){for(;!(!(T<S)||128&(r=c[T])||128&(o=c[T+1])||128&(d=c[T+2])||128&(n=c[T+3]));)a[l++]=r,a[l++]=o,a[l++]=d,a[l++]=n,T+=4;if((r=c[T++])<128)a[l++]=r;else if((224&r)==192){if(T>=i)return this.interim[0]=r,l;if((192&(o=c[T++]))!=128){T--;continue}if((t=(31&r)<<6|63&o)<128){T--;continue}a[l++]=t}else if((240&r)==224){if(T>=i)return this.interim[0]=r,l;if((192&(o=c[T++]))!=128){T--;continue}if(T>=i)return this.interim[0]=r,this.interim[1]=o,l;if((192&(d=c[T++]))!=128){T--;continue}if((t=(15&r)<<12|(63&o)<<6|63&d)<2048||t>=55296&&t<=57343)continue;a[l++]=t}else if((248&r)==240){if(T>=i)return this.interim[0]=r,l;if((192&(o=c[T++]))!=128){T--;continue}if(T>=i)return this.interim[0]=r,this.interim[1]=o,l;if((192&(d=c[T++]))!=128){T--;continue}if(T>=i)return this.interim[0]=r,this.interim[1]=o,this.interim[2]=d,l;if((192&(n=c[T++]))!=128){T--;continue}if((t=(7&r)<<18|(63&o)<<12|(63&d)<<6|63&n)<65536||t>1114111)continue;a[l++]=t}}return l},h}();f.Utf8ToUtf32=v},function(g,f,y){"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,y){"use strict";var m,v,h,c;function a(r){var o=r.toString(16);return o.length<2?"0"+o:o}function i(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?"#"+a(o)+a(d)+a(n)+a(l):"#"+a(o)+a(d)+a(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={})),(v=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,u=r.rgba>>16&255,p=r.rgba>>8&255,w=s+Math.round((n-s)*d),b=u+Math.round((l-u)*d),E=p+Math.round((t-p)*d);return{css:m.toCss(w,b,E),rgba:m.toRgba(w,b,E)}},v.isOpaque=function(r){return(255&r.rgba)==255},v.ensureContrastRatio=function(r,o,d){var n=c.ensureContrastRatio(r.rgba,o.rgba,d);if(n)return c.toColor(n>>24&255,n>>16&255,n>>8&255)},v.opaque=function(r){var o=(255|r.rgba)>>>0,d=c.toChannels(o),n=d[0],l=d[1],t=d[2];return{css:m.toCss(n,l,t),rgba:o}},v.opacity=function(r,o){var d=Math.round(255*o),n=c.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,u=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*(u<=.03928?u/12.92:Math.pow((u+.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,u=n>>16&255,p=n>>8&255,w=l>>24&255,b=l>>16&255,E=l>>8&255,A=i(h.relativeLuminance2(w,E,b),h.relativeLuminance2(s,u,p));A<t&&(w>0||b>0||E>0);)w-=Math.max(0,Math.ceil(.1*w)),b-=Math.max(0,Math.ceil(.1*b)),E-=Math.max(0,Math.ceil(.1*E)),A=i(h.relativeLuminance2(w,E,b),h.relativeLuminance2(s,u,p));return(w<<24|b<<16|E<<8|255)>>>0}function d(n,l,t){for(var s=n>>24&255,u=n>>16&255,p=n>>8&255,w=l>>24&255,b=l>>16&255,E=l>>8&255,A=i(h.relativeLuminance2(w,E,b),h.relativeLuminance2(s,u,p));A<t&&(w<255||b<255||E<255);)w=Math.min(255,w+Math.ceil(.1*(255-w))),b=Math.min(255,b+Math.ceil(.1*(255-b))),E=Math.min(255,E+Math.ceil(.1*(255-E))),A=i(h.relativeLuminance2(w,E,b),h.relativeLuminance2(s,u,p));return(w<<24|b<<16|E<<8|255)>>>0}r.ensureContrastRatio=function(n,l,t){var s=h.relativeLuminance(n>>8),u=h.relativeLuminance(l>>8);if(i(s,u)<t)return u<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)}}}(c=f.rgba||(f.rgba={})),f.toPaddedHex=a,f.contrastRatio=i},function(g,f,y){"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",v=m?"node":navigator.userAgent,h=m?"node":navigator.platform;function c(a,i){return a.indexOf(i)>=0}f.isFirefox=!!~v.indexOf("Firefox"),f.isSafari=/^((?!chrome|android).)*safari/i.test(v),f.isMac=c(["Macintosh","MacIntel","MacPPC","Mac68K"],h),f.isIpad=h==="iPad",f.isIphone=h==="iPhone",f.isWindows=c(["Windows","Win16","Win32","WinCE"],h),f.isLinux=h.indexOf("Linux")>=0},function(g,f,y){"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,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BaseRenderLayer=void 0;var m=y(3),v=y(9),h=y(25),c=y(6),a=y(28),i=y(10),r=y(17),o=function(){function d(n,l,t,s,u,p,w,b){this._container=n,this._alpha=s,this._colors=u,this._rendererId=p,this._bufferService=w,this._optionsService=b,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=a.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,u,p=this._getContrastColor(n);p||n.isFgRGB()||n.isBgRGB()?this._drawUncachedChars(n,l,t,p):(n.isInverse()?(s=n.isBgDefault()?v.INVERTED_DEFAULT_COLOR:n.getBgColor(),u=n.isFgDefault()?v.INVERTED_DEFAULT_COLOR:n.getFgColor()):(u=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=u,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=i.color.opaque(this._colors.background).css;else if(n.isBgRGB())this._ctx.fillStyle="rgb("+c.AttributeData.toColorRGB(n.getBgColor()).join(",")+")";else{var u=n.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&n.isBold()&&u<8&&(u+=8),this._ctx.fillStyle=this._colors.ansi[u].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("+c.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=v.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(),u=n.getBgColor(),p=n.getBgColorMode(),w=!!n.isInverse(),b=!!n.isInverse();if(w){var E=t;t=u,u=E;var A=s;s=p,p=A}var S=this._resolveBackgroundRgba(p,u,w),T=this._resolveForegroundRgba(s,t,w,b),L=i.rgba.ensureContrastRatio(S,T,this._optionsService.options.minimumContrastRatio);if(L){var x={css:i.channels.toCss(L>>24&255,L>>16&255,L>>8&255),rgba:L};return this._colors.contrastCache.setColor(n.bg,n.fg,x),x}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,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.createDecorator=f.getServiceDependencies=f.serviceRegistry=void 0;function m(v,h,c){h.di$target===h?h.di$dependencies.push({id:v,index:c}):(h.di$dependencies=[{id:v,index:c}],h.di$target=h)}f.serviceRegistry=new Map,f.getServiceDependencies=function(v){return v.di$dependencies||[]},f.createDecorator=function(v){if(f.serviceRegistry.has(v))return f.serviceRegistry.get(v);var h=function c(a,i,r){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");m(c,a,r)};return h.toString=function(){return v},f.serviceRegistry.set(v,h),h}},function(g,f,y){"use strict";function m(v,h,c,a){if(c===void 0&&(c=0),a===void 0&&(a=v.length),c>=v.length)return v;c=(v.length+c)%v.length,a=a>=v.length?v.length:(v.length+a)%v.length;for(var i=c;i<a;++i)v[i]=h;return v}Object.defineProperty(f,"__esModule",{value:!0}),f.concat=f.fillFallback=f.fill=void 0,f.fill=function(v,h,c,a){return v.fill?v.fill(h,c,a):m(v,h,c,a)},f.fillFallback=m,f.concat=function(v,h){var c=new v.constructor(v.length+h.length);return c.set(v),c.set(h,v.length),c}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BufferLine=f.DEFAULT_ATTR_DATA=void 0;var m=y(8),v=y(3),h=y(4),c=y(6);f.DEFAULT_ATTR_DATA=Object.freeze(new c.AttributeData);var a=function(){function i(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,v.NULL_CELL_CHAR,v.NULL_CELL_WIDTH,v.NULL_CELL_CODE]),l=0;l<r;++l)this.setCell(l,n);this.length=r}return i.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]},i.prototype.set=function(r,o){this._data[3*r+1]=o[v.CHAR_DATA_ATTR_INDEX],o[v.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[r]=o[1],this._data[3*r+0]=2097152|r|o[v.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*r+0]=o[v.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|o[v.CHAR_DATA_WIDTH_INDEX]<<22},i.prototype.getWidth=function(r){return this._data[3*r+0]>>22},i.prototype.hasWidth=function(r){return 12582912&this._data[3*r+0]},i.prototype.getFg=function(r){return this._data[3*r+1]},i.prototype.getBg=function(r){return this._data[3*r+2]},i.prototype.hasContent=function(r){return 4194303&this._data[3*r+0]},i.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},i.prototype.isCombined=function(r){return 2097152&this._data[3*r+0]},i.prototype.getString=function(r){var o=this._data[3*r+0];return 2097152&o?this._combined[r]:2097151&o?m.stringFromCodePoint(2097151&o):""},i.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},i.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},i.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},i.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)},i.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 c.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 c.ExtendedAttrs)},i.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 c.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 c.ExtendedAttrs)},i.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 c.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 c.ExtendedAttrs);r<o&&r<this.length;)this.setCell(r++,d)},i.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}},i.prototype.fill=function(r){this._combined={},this._extendedAttrs={};for(var o=0;o<this.length;++o)this.setCell(o,r)},i.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},i.prototype.clone=function(){var r=new i(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},i.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},i.prototype.copyCellsFrom=function(r,o,d,n,l){var t=r._data;if(l)for(var s=n-1;s>=0;s--)for(var u=0;u<3;u++)this._data[3*(d+s)+u]=t[3*(o+s)+u];else for(s=0;s<n;s++)for(u=0;u<3;u++)this._data[3*(d+s)+u]=t[3*(o+s)+u];var p=Object.keys(r._combined);for(u=0;u<p.length;u++){var w=parseInt(p[u],10);w>=o&&(this._combined[w-o+d]=r._combined[w])}},i.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):v.WHITESPACE_CELL_CHAR,o+=l>>22||1}return n},i}();f.BufferLine=a},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.removeElementFromParent=void 0,f.removeElementFromParent=function(){for(var m,v=[],h=0;h<arguments.length;h++)v[h]=arguments[h];for(var c=0,a=v;c<a.length;c++){var i=a[c];(m=i==null?void 0:i.parentElement)===null||m===void 0||m.removeChild(i)}}},function(g,f,y){"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,y){"use strict";var m,v=this&&this.__extends||(m=function(L,x){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,I){C.__proto__=I}||function(C,I){for(var N in I)I.hasOwnProperty(N)&&(C[N]=I[N])})(L,x)},function(T,L){function x(){this.constructor=T}m(T,L),T.prototype=L===null?Object.create(L):(x.prototype=L.prototype,new x)});Object.defineProperty(f,"__esModule",{value:!0}),f.InputHandler=f.WindowsOptionsReportType=void 0;var h,c=y(12),a=y(20),i=y(39),r=y(2),o=y(15),d=y(8),n=y(16),l=y(0),t=y(3),s=y(4),u=y(6),p=y(22),w=y(24),b={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function E(T,L){if(T>24)return L.setWinLines||!1;switch(T){case 1:return!!L.restoreWin;case 2:return!!L.minimizeWin;case 3:return!!L.setWinPosition;case 4:return!!L.setWinSizePixels;case 5:return!!L.raiseWin;case 6:return!!L.lowerWin;case 7:return!!L.refreshWin;case 8:return!!L.setWinSizeChars;case 9:return!!L.maximizeWin;case 10:return!!L.fullscreenWin;case 11:return!!L.getWinState;case 13:return!!L.getWinPosition;case 14:return!!L.getWinSizePixels;case 15:return!!L.getScreenSizePixels;case 16:return!!L.getCellSizePixels;case 18:return!!L.getWinSizeChars;case 19:return!!L.getScreenSizeChars;case 20:return!!L.getIconTitle;case 21:return!!L.getWinTitle;case 22:return!!L.pushTitle;case 23:return!!L.popTitle;case 24:return!!L.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 A=function(){function T(L,x,C,I){this._bufferService=L,this._coreService=x,this._logService=C,this._optionsService=I,this._data=new Uint32Array(0)}return T.prototype.hook=function(L){this._data=new Uint32Array(0)},T.prototype.put=function(L,x,C){this._data=o.concat(this._data,L.subarray(x,C))},T.prototype.unhook=function(L){if(L){var x=d.utf32ToString(this._data);switch(this._data=new Uint32Array(0),x){case'"q':return this._coreService.triggerDataEvent(c.C0.ESC+'P1$r0"q'+c.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(c.C0.ESC+'P1$r61;1"p'+c.C0.ESC+"\\");case"r":var C=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(c.C0.ESC+"P1$r"+C+c.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(c.C0.ESC+"P1$r0m"+c.C0.ESC+"\\");case" q":var I={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return I-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(c.C0.ESC+"P1$r"+I+" q"+c.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",x),this._coreService.triggerDataEvent(c.C0.ESC+"P0$r"+c.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},T}(),S=function(T){function L(x,C,I,N,F,k,B,P,K){K===void 0&&(K=new i.EscapeSequenceParser);var R=T.call(this)||this;R._bufferService=x,R._charsetService=C,R._coreService=I,R._dirtyRowService=N,R._logService=F,R._optionsService=k,R._coreMouseService=B,R._unicodeService=P,R._parser=K,R._parseBuffer=new Uint32Array(4096),R._stringDecoder=new d.StringToUtf32,R._utf8Decoder=new d.Utf8ToUtf32,R._workCell=new s.CellData,R._windowTitle="",R._iconName="",R._windowTitleStack=[],R._iconNameStack=[],R._curAttrData=n.DEFAULT_ATTR_DATA.clone(),R._eraseAttrDataInternal=n.DEFAULT_ATTR_DATA.clone(),R._onRequestBell=new l.EventEmitter,R._onRequestRefreshRows=new l.EventEmitter,R._onRequestReset=new l.EventEmitter,R._onRequestScroll=new l.EventEmitter,R._onRequestSyncScrollBar=new l.EventEmitter,R._onRequestWindowsOptionsReport=new l.EventEmitter,R._onA11yChar=new l.EventEmitter,R._onA11yTab=new l.EventEmitter,R._onCursorMove=new l.EventEmitter,R._onLineFeed=new l.EventEmitter,R._onScroll=new l.EventEmitter,R._onTitleChange=new l.EventEmitter,R.register(R._parser),R._parser.setCsiHandlerFallback(function(W,X){R._logService.debug("Unknown CSI code: ",{identifier:R._parser.identToString(W),params:X.toArray()})}),R._parser.setEscHandlerFallback(function(W){R._logService.debug("Unknown ESC code: ",{identifier:R._parser.identToString(W)})}),R._parser.setExecuteHandlerFallback(function(W){R._logService.debug("Unknown EXECUTE code: ",{code:W})}),R._parser.setOscHandlerFallback(function(W,X,z){R._logService.debug("Unknown OSC code: ",{identifier:W,action:X,data:z})}),R._parser.setDcsHandlerFallback(function(W,X,z){X==="HOOK"&&(z=z.toArray()),R._logService.debug("Unknown DCS code: ",{identifier:R._parser.identToString(W),action:X,payload:z})}),R._parser.setPrintHandler(function(W,X,z){return R.print(W,X,z)}),R._parser.setCsiHandler({final:"@"},function(W){return R.insertChars(W)}),R._parser.setCsiHandler({intermediates:" ",final:"@"},function(W){return R.scrollLeft(W)}),R._parser.setCsiHandler({final:"A"},function(W){return R.cursorUp(W)}),R._parser.setCsiHandler({intermediates:" ",final:"A"},function(W){return R.scrollRight(W)}),R._parser.setCsiHandler({final:"B"},function(W){return R.cursorDown(W)}),R._parser.setCsiHandler({final:"C"},function(W){return R.cursorForward(W)}),R._parser.setCsiHandler({final:"D"},function(W){return R.cursorBackward(W)}),R._parser.setCsiHandler({final:"E"},function(W){return R.cursorNextLine(W)}),R._parser.setCsiHandler({final:"F"},function(W){return R.cursorPrecedingLine(W)}),R._parser.setCsiHandler({final:"G"},function(W){return R.cursorCharAbsolute(W)}),R._parser.setCsiHandler({final:"H"},function(W){return R.cursorPosition(W)}),R._parser.setCsiHandler({final:"I"},function(W){return R.cursorForwardTab(W)}),R._parser.setCsiHandler({final:"J"},function(W){return R.eraseInDisplay(W)}),R._parser.setCsiHandler({prefix:"?",final:"J"},function(W){return R.eraseInDisplay(W)}),R._parser.setCsiHandler({final:"K"},function(W){return R.eraseInLine(W)}),R._parser.setCsiHandler({prefix:"?",final:"K"},function(W){return R.eraseInLine(W)}),R._parser.setCsiHandler({final:"L"},function(W){return R.insertLines(W)}),R._parser.setCsiHandler({final:"M"},function(W){return R.deleteLines(W)}),R._parser.setCsiHandler({final:"P"},function(W){return R.deleteChars(W)}),R._parser.setCsiHandler({final:"S"},function(W){return R.scrollUp(W)}),R._parser.setCsiHandler({final:"T"},function(W){return R.scrollDown(W)}),R._parser.setCsiHandler({final:"X"},function(W){return R.eraseChars(W)}),R._parser.setCsiHandler({final:"Z"},function(W){return R.cursorBackwardTab(W)}),R._parser.setCsiHandler({final:"`"},function(W){return R.charPosAbsolute(W)}),R._parser.setCsiHandler({final:"a"},function(W){return R.hPositionRelative(W)}),R._parser.setCsiHandler({final:"b"},function(W){return R.repeatPrecedingCharacter(W)}),R._parser.setCsiHandler({final:"c"},function(W){return R.sendDeviceAttributesPrimary(W)}),R._parser.setCsiHandler({prefix:">",final:"c"},function(W){return R.sendDeviceAttributesSecondary(W)}),R._parser.setCsiHandler({final:"d"},function(W){return R.linePosAbsolute(W)}),R._parser.setCsiHandler({final:"e"},function(W){return R.vPositionRelative(W)}),R._parser.setCsiHandler({final:"f"},function(W){return R.hVPosition(W)}),R._parser.setCsiHandler({final:"g"},function(W){return R.tabClear(W)}),R._parser.setCsiHandler({final:"h"},function(W){return R.setMode(W)}),R._parser.setCsiHandler({prefix:"?",final:"h"},function(W){return R.setModePrivate(W)}),R._parser.setCsiHandler({final:"l"},function(W){return R.resetMode(W)}),R._parser.setCsiHandler({prefix:"?",final:"l"},function(W){return R.resetModePrivate(W)}),R._parser.setCsiHandler({final:"m"},function(W){return R.charAttributes(W)}),R._parser.setCsiHandler({final:"n"},function(W){return R.deviceStatus(W)}),R._parser.setCsiHandler({prefix:"?",final:"n"},function(W){return R.deviceStatusPrivate(W)}),R._parser.setCsiHandler({intermediates:"!",final:"p"},function(W){return R.softReset(W)}),R._parser.setCsiHandler({intermediates:" ",final:"q"},function(W){return R.setCursorStyle(W)}),R._parser.setCsiHandler({final:"r"},function(W){return R.setScrollRegion(W)}),R._parser.setCsiHandler({final:"s"},function(W){return R.saveCursor(W)}),R._parser.setCsiHandler({final:"t"},function(W){return R.windowOptions(W)}),R._parser.setCsiHandler({final:"u"},function(W){return R.restoreCursor(W)}),R._parser.setCsiHandler({intermediates:"'",final:"}"},function(W){return R.insertColumns(W)}),R._parser.setCsiHandler({intermediates:"'",final:"~"},function(W){return R.deleteColumns(W)}),R._parser.setExecuteHandler(c.C0.BEL,function(){return R.bell()}),R._parser.setExecuteHandler(c.C0.LF,function(){return R.lineFeed()}),R._parser.setExecuteHandler(c.C0.VT,function(){return R.lineFeed()}),R._parser.setExecuteHandler(c.C0.FF,function(){return R.lineFeed()}),R._parser.setExecuteHandler(c.C0.CR,function(){return R.carriageReturn()}),R._parser.setExecuteHandler(c.C0.BS,function(){return R.backspace()}),R._parser.setExecuteHandler(c.C0.HT,function(){return R.tab()}),R._parser.setExecuteHandler(c.C0.SO,function(){return R.shiftOut()}),R._parser.setExecuteHandler(c.C0.SI,function(){return R.shiftIn()}),R._parser.setExecuteHandler(c.C1.IND,function(){return R.index()}),R._parser.setExecuteHandler(c.C1.NEL,function(){return R.nextLine()}),R._parser.setExecuteHandler(c.C1.HTS,function(){return R.tabSet()}),R._parser.setOscHandler(0,new p.OscHandler(function(W){R.setTitle(W),R.setIconName(W)})),R._parser.setOscHandler(1,new p.OscHandler(function(W){return R.setIconName(W)})),R._parser.setOscHandler(2,new p.OscHandler(function(W){return R.setTitle(W)})),R._parser.setEscHandler({final:"7"},function(){return R.saveCursor()}),R._parser.setEscHandler({final:"8"},function(){return R.restoreCursor()}),R._parser.setEscHandler({final:"D"},function(){return R.index()}),R._parser.setEscHandler({final:"E"},function(){return R.nextLine()}),R._parser.setEscHandler({final:"H"},function(){return R.tabSet()}),R._parser.setEscHandler({final:"M"},function(){return R.reverseIndex()}),R._parser.setEscHandler({final:"="},function(){return R.keypadApplicationMode()}),R._parser.setEscHandler({final:">"},function(){return R.keypadNumericMode()}),R._parser.setEscHandler({final:"c"},function(){return R.fullReset()}),R._parser.setEscHandler({final:"n"},function(){return R.setgLevel(2)}),R._parser.setEscHandler({final:"o"},function(){return R.setgLevel(3)}),R._parser.setEscHandler({final:"|"},function(){return R.setgLevel(3)}),R._parser.setEscHandler({final:"}"},function(){return R.setgLevel(2)}),R._parser.setEscHandler({final:"~"},function(){return R.setgLevel(1)}),R._parser.setEscHandler({intermediates:"%",final:"@"},function(){return R.selectDefaultCharset()}),R._parser.setEscHandler({intermediates:"%",final:"G"},function(){return R.selectDefaultCharset()});var U=function(X){j._parser.setEscHandler({intermediates:"(",final:X},function(){return R.selectCharset("("+X)}),j._parser.setEscHandler({intermediates:")",final:X},function(){return R.selectCharset(")"+X)}),j._parser.setEscHandler({intermediates:"*",final:X},function(){return R.selectCharset("*"+X)}),j._parser.setEscHandler({intermediates:"+",final:X},function(){return R.selectCharset("+"+X)}),j._parser.setEscHandler({intermediates:"-",final:X},function(){return R.selectCharset("-"+X)}),j._parser.setEscHandler({intermediates:".",final:X},function(){return R.selectCharset("."+X)}),j._parser.setEscHandler({intermediates:"/",final:X},function(){return R.selectCharset("/"+X)})},j=this;for(var H in a.CHARSETS)U(H);return R._parser.setEscHandler({intermediates:"#",final:"8"},function(){return R.screenAlignmentPattern()}),R._parser.setErrorHandler(function(W){return R._logService.error("Parsing error: ",W),W}),R._parser.setDcsHandler({intermediates:"$",final:"q"},new A(R._bufferService,R._coreService,R._logService,R._optionsService)),R}return v(L,T),Object.defineProperty(L.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),L.prototype.dispose=function(){T.prototype.dispose.call(this)},L.prototype.parse=function(x){var C=this._bufferService.buffer,I=C.x,N=C.y;if(this._logService.debug("parsing data",x),this._parseBuffer.length<x.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(x.length,131072))),this._dirtyRowService.clearRange(),x.length>131072)for(var F=0;F<x.length;F+=131072){var k=F+131072<x.length?F+131072:x.length,B=typeof x=="string"?this._stringDecoder.decode(x.substring(F,k),this._parseBuffer):this._utf8Decoder.decode(x.subarray(F,k),this._parseBuffer);this._parser.parse(this._parseBuffer,B)}else B=typeof x=="string"?this._stringDecoder.decode(x,this._parseBuffer):this._utf8Decoder.decode(x,this._parseBuffer),this._parser.parse(this._parseBuffer,B);(C=this._bufferService.buffer).x===I&&C.y===N||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},L.prototype.print=function(x,C,I){var N,F,k=this._bufferService.buffer,B=this._charsetService.charset,P=this._optionsService.options.screenReaderMode,K=this._bufferService.cols,R=this._coreService.decPrivateModes.wraparound,U=this._coreService.modes.insertMode,j=this._curAttrData,H=k.lines.get(k.ybase+k.y);this._dirtyRowService.markDirty(k.y),k.x&&I-C>0&&H.getWidth(k.x-1)===2&&H.setCellFromCodePoint(k.x-1,0,1,j.fg,j.bg,j.extended);for(var W=C;W<I;++W){if(N=x[W],F=this._unicodeService.wcwidth(N),N<127&&B){var X=B[String.fromCharCode(N)];X&&(N=X.charCodeAt(0))}if(P&&this._onA11yChar.fire(d.stringFromCodePoint(N)),F||!k.x){if(k.x+F-1>=K){if(R){for(;k.x<K;)H.setCellFromCodePoint(k.x++,0,1,j.fg,j.bg,j.extended);k.x=0,k.y++,k.y===k.scrollBottom+1?(k.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(k.y>=this._bufferService.rows&&(k.y=this._bufferService.rows-1),k.lines.get(k.ybase+k.y).isWrapped=!0),H=k.lines.get(k.ybase+k.y)}else if(k.x=K-1,F===2)continue}if(U&&(H.insertCells(k.x,F,k.getNullCell(j),j),H.getWidth(K-1)===2&&H.setCellFromCodePoint(K-1,t.NULL_CELL_CODE,t.NULL_CELL_WIDTH,j.fg,j.bg,j.extended)),H.setCellFromCodePoint(k.x++,N,F,j.fg,j.bg,j.extended),F>0)for(;--F;)H.setCellFromCodePoint(k.x++,0,0,j.fg,j.bg,j.extended)}else H.getWidth(k.x-1)?H.addCodepointToCell(k.x-1,N):H.addCodepointToCell(k.x-2,N)}I-C>0&&(H.loadCell(k.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),k.x<K&&I-C>0&&H.getWidth(k.x)===0&&!H.hasContent(k.x)&&H.setCellFromCodePoint(k.x,0,1,j.fg,j.bg,j.extended),this._dirtyRowService.markDirty(k.y)},L.prototype.addCsiHandler=function(x,C){var I=this;return x.final!=="t"||x.prefix||x.intermediates?this._parser.addCsiHandler(x,C):this._parser.addCsiHandler(x,function(N){return!E(N.params[0],I._optionsService.options.windowOptions)||C(N)})},L.prototype.addDcsHandler=function(x,C){return this._parser.addDcsHandler(x,new w.DcsHandler(C))},L.prototype.addEscHandler=function(x,C){return this._parser.addEscHandler(x,C)},L.prototype.addOscHandler=function(x,C){return this._parser.addOscHandler(x,new p.OscHandler(C))},L.prototype.bell=function(){this._onRequestBell.fire()},L.prototype.lineFeed=function(){var x=this._bufferService.buffer;this._dirtyRowService.markDirty(x.y),this._optionsService.options.convertEol&&(x.x=0),x.y++,x.y===x.scrollBottom+1?(x.y--,this._onRequestScroll.fire(this._eraseAttrData())):x.y>=this._bufferService.rows&&(x.y=this._bufferService.rows-1),x.x>=this._bufferService.cols&&x.x--,this._dirtyRowService.markDirty(x.y),this._onLineFeed.fire()},L.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},L.prototype.backspace=function(){var x,C=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(C.x>0&&C.x--);if(this._restrictCursor(this._bufferService.cols),C.x>0)C.x--;else if(C.x===0&&C.y>C.scrollTop&&C.y<=C.scrollBottom&&((x=C.lines.get(C.ybase+C.y))===null||x===void 0?void 0:x.isWrapped)){C.lines.get(C.ybase+C.y).isWrapped=!1,C.y--,C.x=this._bufferService.cols-1;var I=C.lines.get(C.ybase+C.y);I.hasWidth(C.x)&&!I.hasContent(C.x)&&C.x--}this._restrictCursor()},L.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var x=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-x)}},L.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},L.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},L.prototype._restrictCursor=function(x){x===void 0&&(x=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(x,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)},L.prototype._setCursor=function(x,C){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=x,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+C):(this._bufferService.buffer.x=x,this._bufferService.buffer.y=C),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},L.prototype._moveCursor=function(x,C){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+x,this._bufferService.buffer.y+C)},L.prototype.cursorUp=function(x){var C=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;C>=0?this._moveCursor(0,-Math.min(C,x.params[0]||1)):this._moveCursor(0,-(x.params[0]||1))},L.prototype.cursorDown=function(x){var C=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;C>=0?this._moveCursor(0,Math.min(C,x.params[0]||1)):this._moveCursor(0,x.params[0]||1)},L.prototype.cursorForward=function(x){this._moveCursor(x.params[0]||1,0)},L.prototype.cursorBackward=function(x){this._moveCursor(-(x.params[0]||1),0)},L.prototype.cursorNextLine=function(x){this.cursorDown(x),this._bufferService.buffer.x=0},L.prototype.cursorPrecedingLine=function(x){this.cursorUp(x),this._bufferService.buffer.x=0},L.prototype.cursorCharAbsolute=function(x){this._setCursor((x.params[0]||1)-1,this._bufferService.buffer.y)},L.prototype.cursorPosition=function(x){this._setCursor(x.length>=2?(x.params[1]||1)-1:0,(x.params[0]||1)-1)},L.prototype.charPosAbsolute=function(x){this._setCursor((x.params[0]||1)-1,this._bufferService.buffer.y)},L.prototype.hPositionRelative=function(x){this._moveCursor(x.params[0]||1,0)},L.prototype.linePosAbsolute=function(x){this._setCursor(this._bufferService.buffer.x,(x.params[0]||1)-1)},L.prototype.vPositionRelative=function(x){this._moveCursor(0,x.params[0]||1)},L.prototype.hVPosition=function(x){this.cursorPosition(x)},L.prototype.tabClear=function(x){var C=x.params[0];C===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:C===3&&(this._bufferService.buffer.tabs={})},L.prototype.cursorForwardTab=function(x){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var C=x.params[0]||1;C--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},L.prototype.cursorBackwardTab=function(x){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var C=x.params[0]||1,I=this._bufferService.buffer;C--;)I.x=I.prevStop()},L.prototype._eraseInBufferLine=function(x,C,I,N){N===void 0&&(N=!1);var F=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+x);F.replaceCells(C,I,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),N&&(F.isWrapped=!1)},L.prototype._resetBufferLine=function(x){var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+x);C.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),C.isWrapped=!1},L.prototype.eraseInDisplay=function(x){var C;switch(this._restrictCursor(),x.params[0]){case 0:for(C=this._bufferService.buffer.y,this._dirtyRowService.markDirty(C),this._eraseInBufferLine(C++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);C<this._bufferService.rows;C++)this._resetBufferLine(C);this._dirtyRowService.markDirty(C);break;case 1:for(C=this._bufferService.buffer.y,this._dirtyRowService.markDirty(C),this._eraseInBufferLine(C,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(C+1).isWrapped=!1);C--;)this._resetBufferLine(C);this._dirtyRowService.markDirty(0);break;case 2:for(C=this._bufferService.rows,this._dirtyRowService.markDirty(C-1);C--;)this._resetBufferLine(C);this._dirtyRowService.markDirty(0);break;case 3:var I=this._bufferService.buffer.lines.length-this._bufferService.rows;I>0&&(this._bufferService.buffer.lines.trimStart(I),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-I,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-I,0),this._onScroll.fire(0))}},L.prototype.eraseInLine=function(x){switch(this._restrictCursor(),x.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)},L.prototype.insertLines=function(x){this._restrictCursor();var C=x.params[0]||1,I=this._bufferService.buffer;if(!(I.y>I.scrollBottom||I.y<I.scrollTop)){for(var N=I.ybase+I.y,F=this._bufferService.rows-1-I.scrollBottom,k=this._bufferService.rows-1+I.ybase-F+1;C--;)I.lines.splice(k-1,1),I.lines.splice(N,0,I.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(I.y,I.scrollBottom),I.x=0}},L.prototype.deleteLines=function(x){this._restrictCursor();var C=x.params[0]||1,I=this._bufferService.buffer;if(!(I.y>I.scrollBottom||I.y<I.scrollTop)){var N,F=I.ybase+I.y;for(N=this._bufferService.rows-1-I.scrollBottom,N=this._bufferService.rows-1+I.ybase-N;C--;)I.lines.splice(F,1),I.lines.splice(N,0,I.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(I.y,I.scrollBottom),I.x=0}},L.prototype.insertChars=function(x){this._restrictCursor();var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);C&&(C.insertCells(this._bufferService.buffer.x,x.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},L.prototype.deleteChars=function(x){this._restrictCursor();var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);C&&(C.deleteCells(this._bufferService.buffer.x,x.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},L.prototype.scrollUp=function(x){for(var C=x.params[0]||1,I=this._bufferService.buffer;C--;)I.lines.splice(I.ybase+I.scrollTop,1),I.lines.splice(I.ybase+I.scrollBottom,0,I.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(I.scrollTop,I.scrollBottom)},L.prototype.scrollDown=function(x){for(var C=x.params[0]||1,I=this._bufferService.buffer;C--;)I.lines.splice(I.ybase+I.scrollBottom,1),I.lines.splice(I.ybase+I.scrollTop,0,I.getBlankLine(n.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(I.scrollTop,I.scrollBottom)},L.prototype.scrollLeft=function(x){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var I=x.params[0]||1,N=C.scrollTop;N<=C.scrollBottom;++N){var F=C.lines.get(C.ybase+N);F.deleteCells(0,I,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),F.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},L.prototype.scrollRight=function(x){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var I=x.params[0]||1,N=C.scrollTop;N<=C.scrollBottom;++N){var F=C.lines.get(C.ybase+N);F.insertCells(0,I,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),F.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},L.prototype.insertColumns=function(x){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var I=x.params[0]||1,N=C.scrollTop;N<=C.scrollBottom;++N){var F=this._bufferService.buffer.lines.get(C.ybase+N);F.insertCells(C.x,I,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),F.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},L.prototype.deleteColumns=function(x){var C=this._bufferService.buffer;if(!(C.y>C.scrollBottom||C.y<C.scrollTop)){for(var I=x.params[0]||1,N=C.scrollTop;N<=C.scrollBottom;++N){var F=C.lines.get(C.ybase+N);F.deleteCells(C.x,I,C.getNullCell(this._eraseAttrData()),this._eraseAttrData()),F.isWrapped=!1}this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom)}},L.prototype.eraseChars=function(x){this._restrictCursor();var C=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);C&&(C.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(x.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},L.prototype.repeatPrecedingCharacter=function(x){if(this._parser.precedingCodepoint){for(var C=x.params[0]||1,I=new Uint32Array(C),N=0;N<C;++N)I[N]=this._parser.precedingCodepoint;this.print(I,0,I.length)}},L.prototype.sendDeviceAttributesPrimary=function(x){x.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(c.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(c.C0.ESC+"[?6c"))},L.prototype.sendDeviceAttributesSecondary=function(x){x.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(c.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(c.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(x.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(c.C0.ESC+"[>83;40003;0c"))},L.prototype._is=function(x){return(this._optionsService.options.termName+"").indexOf(x)===0},L.prototype.setMode=function(x){for(var C=0;C<x.length;C++)switch(x.params[C]){case 4:this._coreService.modes.insertMode=!0}},L.prototype.setModePrivate=function(x){for(var C=0;C<x.length;C++)switch(x.params[C]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,a.DEFAULT_CHARSET),this._charsetService.setgCharset(1,a.DEFAULT_CHARSET),this._charsetService.setgCharset(2,a.DEFAULT_CHARSET),this._charsetService.setgCharset(3,a.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}},L.prototype.resetMode=function(x){for(var C=0;C<x.length;C++)switch(x.params[C]){case 4:this._coreService.modes.insertMode=!1}},L.prototype.resetModePrivate=function(x){for(var C=0;C<x.length;C++)switch(x.params[C]){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(),x.params[C]===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}},L.prototype._updateAttrColor=function(x,C,I,N,F){return C===2?(x|=50331648,x&=-16777216,x|=u.AttributeData.fromColorRGB([I,N,F])):C===5&&(x&=-50331904,x|=33554432|255&I),x},L.prototype._extractColor=function(x,C,I){var N=[0,0,-1,0,0,0],F=0,k=0;do{if(N[k+F]=x.params[C+k],x.hasSubParams(C+k)){var B=x.getSubParams(C+k),P=0;do N[1]===5&&(F=1),N[k+P+1+F]=B[P];while(++P<B.length&&P+k+1+F<N.length);break}if(N[1]===5&&k+F>=2||N[1]===2&&k+F>=5)break;N[1]&&(F=1)}while(++k+C<x.length&&k+F<N.length);for(P=2;P<N.length;++P)N[P]===-1&&(N[P]=0);switch(N[0]){case 38:I.fg=this._updateAttrColor(I.fg,N[1],N[3],N[4],N[5]);break;case 48:I.bg=this._updateAttrColor(I.bg,N[1],N[3],N[4],N[5]);break;case 58:I.extended=I.extended.clone(),I.extended.underlineColor=this._updateAttrColor(I.extended.underlineColor,N[1],N[3],N[4],N[5])}return k},L.prototype._processUnderline=function(x,C){C.extended=C.extended.clone(),(!~x||x>5)&&(x=1),C.extended.underlineStyle=x,C.fg|=268435456,x===0&&(C.fg&=-268435457),C.updateExtended()},L.prototype.charAttributes=function(x){if(x.length===1&&x.params[0]===0)return this._curAttrData.fg=n.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=n.DEFAULT_ATTR_DATA.bg);for(var C,I=x.length,N=this._curAttrData,F=0;F<I;F++)(C=x.params[F])>=30&&C<=37?(N.fg&=-50331904,N.fg|=16777216|C-30):C>=40&&C<=47?(N.bg&=-50331904,N.bg|=16777216|C-40):C>=90&&C<=97?(N.fg&=-50331904,N.fg|=16777224|C-90):C>=100&&C<=107?(N.bg&=-50331904,N.bg|=16777224|C-100):C===0?(N.fg=n.DEFAULT_ATTR_DATA.fg,N.bg=n.DEFAULT_ATTR_DATA.bg):C===1?N.fg|=134217728:C===3?N.bg|=67108864:C===4?(N.fg|=268435456,this._processUnderline(x.hasSubParams(F)?x.getSubParams(F)[0]:1,N)):C===5?N.fg|=536870912:C===7?N.fg|=67108864:C===8?N.fg|=1073741824:C===2?N.bg|=134217728:C===21?this._processUnderline(2,N):C===22?(N.fg&=-134217729,N.bg&=-134217729):C===23?N.bg&=-67108865:C===24?N.fg&=-268435457:C===25?N.fg&=-536870913:C===27?N.fg&=-67108865:C===28?N.fg&=-1073741825:C===39?(N.fg&=-67108864,N.fg|=16777215&n.DEFAULT_ATTR_DATA.fg):C===49?(N.bg&=-67108864,N.bg|=16777215&n.DEFAULT_ATTR_DATA.bg):C===38||C===48||C===58?F+=this._extractColor(x,F,N):C===59?(N.extended=N.extended.clone(),N.extended.underlineColor=-1,N.updateExtended()):C===100?(N.fg&=-67108864,N.fg|=16777215&n.DEFAULT_ATTR_DATA.fg,N.bg&=-67108864,N.bg|=16777215&n.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",C)},L.prototype.deviceStatus=function(x){switch(x.params[0]){case 5:this._coreService.triggerDataEvent(c.C0.ESC+"[0n");break;case 6:var C=this._bufferService.buffer.y+1,I=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(c.C0.ESC+"["+C+";"+I+"R")}},L.prototype.deviceStatusPrivate=function(x){switch(x.params[0]){case 6:var C=this._bufferService.buffer.y+1,I=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(c.C0.ESC+"[?"+C+";"+I+"R")}},L.prototype.softReset=function(x){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},L.prototype.setCursorStyle=function(x){var C=x.params[0]||1;switch(C){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 I=C%2==1;this._optionsService.options.cursorBlink=I},L.prototype.setScrollRegion=function(x){var C,I=x.params[0]||1;(x.length<2||(C=x.params[1])>this._bufferService.rows||C===0)&&(C=this._bufferService.rows),C>I&&(this._bufferService.buffer.scrollTop=I-1,this._bufferService.buffer.scrollBottom=C-1,this._setCursor(0,0))},L.prototype.windowOptions=function(x){if(E(x.params[0],this._optionsService.options.windowOptions)){var C=x.length>1?x.params[1]:0;switch(x.params[0]){case 14:C!==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(c.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:C!==0&&C!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),C!==0&&C!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:C!==0&&C!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),C!==0&&C!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},L.prototype.saveCursor=function(x){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},L.prototype.restoreCursor=function(x){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()},L.prototype.setTitle=function(x){this._windowTitle=x,this._onTitleChange.fire(x)},L.prototype.setIconName=function(x){this._iconName=x},L.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},L.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},L.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},L.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,a.DEFAULT_CHARSET)},L.prototype.selectCharset=function(x){x.length===2?x[0]!=="/"&&this._charsetService.setgCharset(b[x[0]],a.CHARSETS[x[1]]||a.DEFAULT_CHARSET):this.selectDefaultCharset()},L.prototype.index=function(){this._restrictCursor();var x=this._bufferService.buffer;this._bufferService.buffer.y++,x.y===x.scrollBottom+1?(x.y--,this._onRequestScroll.fire(this._eraseAttrData())):x.y>=this._bufferService.rows&&(x.y=this._bufferService.rows-1),this._restrictCursor()},L.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},L.prototype.reverseIndex=function(){this._restrictCursor();var x=this._bufferService.buffer;if(x.y===x.scrollTop){var C=x.scrollBottom-x.scrollTop;x.lines.shiftElements(x.ybase+x.y,C,1),x.lines.set(x.ybase+x.y,x.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(x.scrollTop,x.scrollBottom)}else x.y--,this._restrictCursor()},L.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},L.prototype.reset=function(){this._curAttrData=n.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=n.DEFAULT_ATTR_DATA.clone()},L.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},L.prototype.setgLevel=function(x){this._charsetService.setgLevel(x)},L.prototype.screenAlignmentPattern=function(){var x=new s.CellData;x.content=1<<22|"E".charCodeAt(0),x.fg=this._curAttrData.fg,x.bg=this._curAttrData.bg;var C=this._bufferService.buffer;this._setCursor(0,0);for(var I=0;I<this._bufferService.rows;++I){var N=C.ybase+C.y+I,F=C.lines.get(N);F&&(F.fill(x),F.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},L}(r.Disposable);f.InputHandler=S},function(g,f,y){"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,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Params=void 0;var m=function(){function v(h,c){if(h===void 0&&(h=32),c===void 0&&(c=32),this.maxLength=h,this.maxSubParamsLength=c,c>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(h),this.length=0,this._subParams=new Int32Array(c),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(h),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return v.fromArray=function(h){var c=new v;if(!h.length)return c;for(var a=h[0]instanceof Array?1:0;a<h.length;++a){var i=h[a];if(i instanceof Array)for(var r=0;r<i.length;++r)c.addSubParam(i[r]);else c.addParam(i)}return c},v.prototype.clone=function(){var h=new v(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},v.prototype.toArray=function(){for(var h=[],c=0;c<this.length;++c){h.push(this.params[c]);var a=this._subParamsIdx[c]>>8,i=255&this._subParamsIdx[c];i-a>0&&h.push(Array.prototype.slice.call(this._subParams,a,i))}return h},v.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},v.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}},v.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]++}},v.prototype.hasSubParams=function(h){return(255&this._subParamsIdx[h])-(this._subParamsIdx[h]>>8)>0},v.prototype.getSubParams=function(h){var c=this._subParamsIdx[h]>>8,a=255&this._subParamsIdx[h];return a-c>0?this._subParams.subarray(c,a):null},v.prototype.getSubParamsAll=function(){for(var h={},c=0;c<this.length;++c){var a=this._subParamsIdx[c]>>8,i=255&this._subParamsIdx[c];i-a>0&&(h[c]=this._subParams.slice(a,i))}return h},v.prototype.addDigit=function(h){var c;if(!(this._rejectDigits||!(c=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var a=this._digitIsSub?this._subParams:this.params,i=a[c-1];a[c-1]=~i?Math.min(10*i+h,2147483647):h}},v}();f.Params=m},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.OscHandler=f.OscParser=void 0;var m=y(23),v=y(8),h=function(){function a(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return a.prototype.addHandler=function(i,r){this._handlers[i]===void 0&&(this._handlers[i]=[]);var o=this._handlers[i];return o.push(r),{dispose:function(){var n=o.indexOf(r);n!==-1&&o.splice(n,1)}}},a.prototype.setHandler=function(i,r){this._handlers[i]=[r]},a.prototype.clearHandler=function(i){this._handlers[i]&&delete this._handlers[i]},a.prototype.setHandlerFallback=function(i){this._handlerFb=i},a.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},a.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},a.prototype._start=function(){var i=this._handlers[this._id];if(i)for(var r=i.length-1;r>=0;r--)i[r].start();else this._handlerFb(this._id,"START")},a.prototype._put=function(i,r,o){var d=this._handlers[this._id];if(d)for(var n=d.length-1;n>=0;n--)d[n].put(i,r,o);else this._handlerFb(this._id,"PUT",v.utf32ToString(i,r,o))},a.prototype._end=function(i){var r=this._handlers[this._id];if(r){for(var o=r.length-1;o>=0&&r[o].end(i)===!1;o--);for(o--;o>=0;o--)r[o].end(!1)}else this._handlerFb(this._id,"END",i)},a.prototype.start=function(){this.reset(),this._id=-1,this._state=1},a.prototype.put=function(i,r,o){if(this._state!==3){if(this._state===1)for(;r<o;){var d=i[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(i,r,o)}},a.prototype.end=function(i){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(i)),this._id=-1,this._state=0)},a}();f.OscParser=h;var c=function(){function a(i){this._handler=i,this._data="",this._hitLimit=!1}return a.prototype.start=function(){this._data="",this._hitLimit=!1},a.prototype.put=function(i,r,o){this._hitLimit||(this._data+=v.utf32ToString(i,r,o),this._data.length>m.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},a.prototype.end=function(i){var r;return this._hitLimit?r=!1:i&&(r=this._handler(this._data)),this._data="",this._hitLimit=!1,r},a}();f.OscHandler=c},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.PAYLOAD_LIMIT=void 0,f.PAYLOAD_LIMIT=1e7},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DcsHandler=f.DcsParser=void 0;var m=y(8),v=y(21),h=y(23),c=[],a=function(){function r(){this._handlers=Object.create(null),this._active=c,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=c,this._ident=0},r.prototype.hook=function(o,d){if(this.reset(),this._ident=o,this._active=this._handlers[o]||c,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=c,this._ident=0},r}();f.DcsParser=a;var i=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 v.Params)),this._params=void 0,this._data="",this._hitLimit=!1,d},r}();f.DcsHandler=i},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.removeTerminalFromCache=f.acquireCharAtlas=void 0;var m=y(26),v=y(43),h=[];f.acquireCharAtlas=function(c,a,i,r,o){for(var d=m.generateConfig(r,o,c,i),n=0;n<h.length;n++){var l=(t=h[n]).ownedBy.indexOf(a);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(a),t.atlas}var s={atlas:new v.DynamicCharAtlas(document,d),config:d,ownedBy:[a]};return h.push(s),s.atlas},f.removeTerminalFromCache=function(c){for(var a=0;a<h.length;a++){var i=h[a].ownedBy.indexOf(c);if(i!==-1){h[a].ownedBy.length===1?(h[a].atlas.dispose(),h.splice(a,1)):h[a].ownedBy.splice(i,1);break}}}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.is256Color=f.configEquals=f.generateConfig=void 0;var m=y(3);f.generateConfig=function(v,h,c,a){var i={foreground:a.foreground,background:a.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:a.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:v,scaledCharHeight:h,fontFamily:c.fontFamily,fontSize:c.fontSize,fontWeight:c.fontWeight,fontWeightBold:c.fontWeightBold,allowTransparency:c.allowTransparency,colors:i}},f.configEquals=function(v,h){for(var c=0;c<v.colors.ansi.length;c++)if(v.colors.ansi[c].rgba!==h.colors.ansi[c].rgba)return!1;return v.devicePixelRatio===h.devicePixelRatio&&v.fontFamily===h.fontFamily&&v.fontSize===h.fontSize&&v.fontWeight===h.fontWeight&&v.fontWeightBold===h.fontWeightBold&&v.allowTransparency===h.allowTransparency&&v.scaledCharWidth===h.scaledCharWidth&&v.scaledCharHeight===h.scaledCharHeight&&v.colors.foreground===h.colors.foreground&&v.colors.background===h.colors.background},f.is256Color=function(v){return v<m.DEFAULT_COLOR}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ColorManager=f.DEFAULT_ANSI_COLORS=void 0;var m=y(10),v=y(45),h=m.css.toColor("#ffffff"),c=m.css.toColor("#000000"),a=m.css.toColor("#ffffff"),i=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],u=n[l%6];d.push({css:m.channels.toCss(t,s,u),rgba:m.channels.toRgba(t,s,u)})}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 v.ColorContrastCache,this.colors={foreground:h,background:c,cursor:a,cursorAccent:i,selectionTransparent:r,selectionOpaque:m.color.blend(c,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,c),this.colors.cursor=this._parseColor(n.cursor,a,!0),this.colors.cursorAccent=this._parseColor(n.cursorAccent,i,!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 u=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(S){return Number(S)}),p=u[0],w=u[1],b=u[2],E=u[3],A=Math.round(255*E);return{rgba:m.channels.toRgba(p,w,b,A),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,y){"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,y){"use strict";var m,v=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=y(6),c=y(3),a=y(4),i=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 v(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=i;var r=function(){function o(d){this._bufferService=d,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new a.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,u=0,p=0,w=n.getFg(0),b=n.getBg(0),E=0;E<n.getTrimmedLength();E++)if(n.loadCell(E,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==w||this._workCell.bg!==b){if(E-s>1)for(var A=this._getJoinedRanges(t,p,u,n,s),S=0;S<A.length;S++)l.push(A[S]);s=E,p=u,w=this._workCell.fg,b=this._workCell.bg}u+=this._workCell.getChars().length||c.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-s>1)for(A=this._getJoinedRanges(t,p,u,n,s),S=0;S<A.length;S++)l.push(A[S]);return l},o.prototype._getJoinedRanges=function(d,n,l,t,s){for(var u=d.substring(n,l),p=this._characterJoiners[0].handler(u),w=1;w<this._characterJoiners.length;w++)for(var b=this._characterJoiners[w].handler(u),E=0;E<b.length;E++)o._mergeRanges(p,b[E]);return this._stringRangesToCellRanges(p,t,s),p},o.prototype._stringRangesToCellRanges=function(d,n,l){var t=0,s=!1,u=0,p=d[t];if(p){for(var w=l;w<this._bufferService.cols;w++){var b=n.getWidth(w),E=n.getString(w).length||c.WHITESPACE_CELL_CHAR.length;if(b!==0){if(!s&&p[0]<=u&&(p[0]=w,s=!0),p[1]<=u){if(p[1]=w,!(p=d[++t]))break;p[0]<=u?(p[0]=w,s=!0):s=!1}u+=E}}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,y){"use strict";function m(v,h){var c=h.getBoundingClientRect();return[v.clientX-c.left,v.clientY-c.top]}Object.defineProperty(f,"__esModule",{value:!0}),f.getRawByteCoords=f.getCoords=f.getCoordsRelativeToElement=void 0,f.getCoordsRelativeToElement=m,f.getCoords=function(v,h,c,a,i,r,o,d){if(i){var n=m(v,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),c+(d?1:0)),n[1]=Math.min(Math.max(n[1],1),a),n}},f.getRawByteCoords=function(v){if(v)return{x:v[0]+32,y:v[1]+32}}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.RenderDebouncer=void 0;var m=function(){function v(h){this._renderCallback=h}return v.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},v.prototype.refresh=function(h,c,a){var i=this;this._rowCount=a,h=h!==void 0?h:0,c=c!==void 0?c: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,c):c,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return i._innerRefresh()}))},v.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var h=Math.max(this._rowStart,0),c=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(h,c)}},v}();f.RenderDebouncer=m},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(a,i){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])})(a,i)},function(c,a){function i(){this.constructor=c}m(c,a),c.prototype=a===null?Object.create(a):(i.prototype=a.prototype,new i)});Object.defineProperty(f,"__esModule",{value:!0}),f.ScreenDprMonitor=void 0;var h=function(c){function a(){var i=c!==null&&c.apply(this,arguments)||this;return i._currentDevicePixelRatio=window.devicePixelRatio,i}return v(a,c),a.prototype.setListener=function(i){var r=this;this._listener&&this.clearListener(),this._listener=i,this._outerListener=function(){r._listener&&(r._listener(window.devicePixelRatio,r._currentDevicePixelRatio),r._updateDpr())},this._updateDpr()},a.prototype.dispose=function(){c.prototype.dispose.call(this),this.clearListener()},a.prototype._updateDpr=function(){var i;this._outerListener&&((i=this._resolutionMediaMatchList)===null||i===void 0||i.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},a.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)},a}(y(2).Disposable);f.ScreenDprMonitor=h},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.clone=void 0,f.clone=function m(v,h){if(h===void 0&&(h=5),typeof v!="object")return v;var c=Array.isArray(v)?[]:{};for(var a in v)c[a]=h<=1?v[a]:v[a]?m(v[a],h-1):v[a];return c}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.Terminal=void 0;var m=y(4),v=y(35),h=y(18),c=y(0),a=y(83),i=function(){function t(s){this._core=new v.Terminal(s),this._addonManager=new a.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,u){this._verifyIntegers(s,u),this._core.resize(s,u)},t.prototype.open=function(s){this._core.open(s)},t.prototype.attachCustomKeyEventHandler=function(s){this._core.attachCustomKeyEventHandler(s)},t.prototype.registerLinkMatcher=function(s,u,p){return this._checkProposedApi(),this._core.registerLinkMatcher(s,u,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,u,p){this._verifyIntegers(s,u,p),this._core.select(s,u,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,u){this._verifyIntegers(s,u),this._core.selectLines(s,u)},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,u){this._core.write(s,u)},t.prototype.writeUtf8=function(s,u){this._core.write(s,u)},t.prototype.writeln=function(s,u){this._core.write(s),this._core.write(`\r
`,u)},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,u){this._core.optionsService.setOption(s,u)},t.prototype.refresh=function(s,u){this._verifyIntegers(s,u),this._core.refresh(s,u)},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=[],u=0;u<arguments.length;u++)s[u]=arguments[u];for(var p=0,w=s;p<w.length;p++){var b=w[p];if(b===1/0||isNaN(b)||b%1!=0)throw new Error("This API only accepts integers")}},t}();f.Terminal=i;var r=function(){function t(s,u){this._buffer=s,this.type=u}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 u=this._buffer.lines.get(s);if(u)return new d(u)},t.prototype.getNullCell=function(){return new m.CellData},t}(),o=function(){function t(s){var u=this;this._buffers=s,this._onBufferChange=new c.EventEmitter,this._normal=new r(this._buffers.normal,"normal"),this._alternate=new r(this._buffers.alt,"alternate"),this._buffers.onBufferActivate(function(){return u._onBufferChange.fire(u.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,u){if(!(s<0||s>=this._line.length))return u?(this._line.loadCell(s,u),u):this._line.loadCell(s,new m.CellData)},t.prototype.translateToString=function(s,u,p){return this._line.translateToString(s,u,p)},t}(),n=function(){function t(s){this._core=s}return t.prototype.registerCsiHandler=function(s,u){return this._core.addCsiHandler(s,function(p){return u(p.toArray())})},t.prototype.addCsiHandler=function(s,u){return this.registerCsiHandler(s,u)},t.prototype.registerDcsHandler=function(s,u){return this._core.addDcsHandler(s,function(p,w){return u(p,w.toArray())})},t.prototype.addDcsHandler=function(s,u){return this.registerDcsHandler(s,u)},t.prototype.registerEscHandler=function(s,u){return this._core.addEscHandler(s,u)},t.prototype.addEscHandler=function(s,u){return this.registerEscHandler(s,u)},t.prototype.registerOscHandler=function(s,u){return this._core.addOscHandler(s,u)},t.prototype.addOscHandler=function(s,u){return this.registerOscHandler(s,u)},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(u){this._core.unicodeService.activeVersion=u},enumerable:!1,configurable:!0}),t}()},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(R,U){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(j,H){j.__proto__=H}||function(j,H){for(var W in H)H.hasOwnProperty(W)&&(j[W]=H[W])})(R,U)},function(K,R){function U(){this.constructor=K}m(K,R),K.prototype=R===null?Object.create(R):(U.prototype=R.prototype,new U)});Object.defineProperty(f,"__esModule",{value:!0}),f.Terminal=void 0;var h=y(36),c=y(37),a=y(38),i=y(12),r=y(19),o=y(40),d=y(50),n=y(51),l=y(11),t=y(7),s=y(18),u=y(54),p=y(55),w=y(56),b=y(57),E=y(59),A=y(0),S=y(16),T=y(27),L=y(60),x=y(5),C=y(61),I=y(62),N=y(63),F=y(64),k=y(65),B=typeof window!="undefined"?window.document:null,P=function(K){function R(U){U===void 0&&(U={});var j=K.call(this,U)||this;return j.browser=l,j._keyDownHandled=!1,j._onCursorMove=new A.EventEmitter,j._onKey=new A.EventEmitter,j._onRender=new A.EventEmitter,j._onSelectionChange=new A.EventEmitter,j._onTitleChange=new A.EventEmitter,j._onFocus=new A.EventEmitter,j._onBlur=new A.EventEmitter,j._onA11yCharEmitter=new A.EventEmitter,j._onA11yTabEmitter=new A.EventEmitter,j._setup(),j.linkifier=j._instantiationService.createInstance(d.Linkifier),j.linkifier2=j.register(j._instantiationService.createInstance(N.Linkifier2)),j.register(j._inputHandler.onRequestBell(function(){return j.bell()})),j.register(j._inputHandler.onRequestRefreshRows(function(H,W){return j.refresh(H,W)})),j.register(j._inputHandler.onRequestReset(function(){return j.reset()})),j.register(j._inputHandler.onRequestScroll(function(H,W){return j.scroll(H,W||void 0)})),j.register(j._inputHandler.onRequestWindowsOptionsReport(function(H){return j._reportWindowsOptions(H)})),j.register(A.forwardEvent(j._inputHandler.onCursorMove,j._onCursorMove)),j.register(A.forwardEvent(j._inputHandler.onTitleChange,j._onTitleChange)),j.register(A.forwardEvent(j._inputHandler.onA11yChar,j._onA11yCharEmitter)),j.register(A.forwardEvent(j._inputHandler.onA11yTab,j._onA11yTabEmitter)),j.register(j._bufferService.onResize(function(H){return j._afterResize(H.cols,H.rows)})),j}return v(R,K),Object.defineProperty(R.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),R.prototype.dispose=function(){var U,j,H;this._isDisposed||(K.prototype.dispose.call(this),(U=this._renderService)===null||U===void 0||U.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(H=(j=this.element)===null||j===void 0?void 0:j.parentNode)===null||H===void 0||H.removeChild(this.element))},R.prototype._setup=function(){K.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(R.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),R.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},R.prototype._updateOptions=function(U){var j,H,W,X;switch(K.prototype._updateOptions.call(this,U),U){case"fontFamily":case"fontSize":(j=this._renderService)===null||j===void 0||j.clear(),(H=this._charSizeService)===null||H===void 0||H.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":(W=this.viewport)===null||W===void 0||W.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new w.AccessibilityManager(this,this._renderService)):((X=this._accessibilityManager)===null||X===void 0||X.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},R.prototype._onTextAreaFocus=function(U){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(i.C0.ESC+"[I"),this.updateCursorStyle(U),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},R.prototype.blur=function(){var U;return(U=this.textarea)===null||U===void 0?void 0:U.blur()},R.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(i.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},R.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var U=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),j=this._bufferService.buffer.y*U,H=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=H+"px",this.textarea.style.top=j+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=U+"px",this.textarea.style.lineHeight=U+"px",this.textarea.style.zIndex="-5"}},R.prototype._initGlobal=function(){var U=this;this._bindKeys(),this.register(t.addDisposableDomListener(this.element,"copy",function(H){U.hasSelection()&&a.copyHandler(H,U._selectionService)}));var j=function(W){return a.handlePasteEvent(W,U.textarea,U._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(H){H.button===2&&a.rightClickHandler(H,U.textarea,U.screenElement,U._selectionService,U.options.rightClickSelectsWord)})):this.register(t.addDisposableDomListener(this.element,"contextmenu",function(H){a.rightClickHandler(H,U.textarea,U.screenElement,U._selectionService,U.options.rightClickSelectsWord)})),l.isLinux&&this.register(t.addDisposableDomListener(this.element,"auxclick",function(H){H.button===1&&a.moveTextAreaUnderMouseCursor(H,U.textarea,U.screenElement)}))},R.prototype._bindKeys=function(){var U=this;this.register(t.addDisposableDomListener(this.textarea,"keyup",function(j){return U._keyUp(j)},!0)),this.register(t.addDisposableDomListener(this.textarea,"keydown",function(j){return U._keyDown(j)},!0)),this.register(t.addDisposableDomListener(this.textarea,"keypress",function(j){return U._keyPress(j)},!0)),this.register(t.addDisposableDomListener(this.textarea,"compositionstart",function(){return U._compositionHelper.compositionstart()})),this.register(t.addDisposableDomListener(this.textarea,"compositionupdate",function(j){return U._compositionHelper.compositionupdate(j)})),this.register(t.addDisposableDomListener(this.textarea,"compositionend",function(){return U._compositionHelper.compositionend()})),this.register(this.onRender(function(){return U._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(j){return U._queueLinkification(j.start,j.end)}))},R.prototype.open=function(U){var j=this;if(!U)throw new Error("Terminal requires a parent element.");B.body.contains(U)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=U.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"),U.appendChild(this.element);var H=B.createDocumentFragment();this._viewportElement=B.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),H.appendChild(this._viewportElement),this._viewportScrollArea=B.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=B.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=B.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),H.appendChild(this.screenElement),this.textarea=B.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(z){return j._onTextAreaFocus(z)})),this.register(t.addDisposableDomListener(this.textarea,"blur",function(){return j._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var W=this._instantiationService.createInstance(F.CoreBrowserService,this.textarea);this._instantiationService.setService(x.ICoreBrowserService,W),this._charSizeService=this._instantiationService.createInstance(C.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(x.ICharSizeService,this._charSizeService),this._compositionView=B.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(H),this._theme=this.options.theme||this._theme,this._colorManager=new T.ColorManager(B,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(z){return j._colorManager.onOptionsChange(z)})),this._colorManager.setTheme(this._theme);var X=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(L.RenderService,X,this.rows,this.screenElement)),this._instantiationService.setService(x.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(z){return j._onRender.fire(z)})),this.onResize(function(z){return j._renderService.resize(z.cols,z.rows)}),this._soundService=this._instantiationService.createInstance(u.SoundService),this._instantiationService.setService(x.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(I.MouseService),this._instantiationService.setService(x.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(c.Viewport,function(z,G){return j.scrollLines(z,G)},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(x.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(z){return j.scrollLines(z.amount,z.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return j._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(z){return j._renderService.onSelectionChanged(z.start,z.end,z.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(z){j.textarea.value=z,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(z){return j._selectionService.onMouseDown(z)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new w.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},R.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(b.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},R.prototype._setTheme=function(U){var j,H,W;this._theme=U,(j=this._colorManager)===null||j===void 0||j.setTheme(U),(H=this._renderService)===null||H===void 0||H.setColors(this._colorManager.colors),(W=this.viewport)===null||W===void 0||W.onThemeChange(this._colorManager.colors)},R.prototype.bindMouse=function(){var U=this,j=this,H=this.element;function W(Q){var we,Ee,Ae=j._mouseService.getRawByteCoords(Q,j.screenElement,j.cols,j.rows);if(!Ae)return!1;switch(Q.overrideType||Q.type){case"mousemove":Ee=32,Q.buttons===void 0?(we=3,Q.button!==void 0&&(we=Q.button<3?Q.button:3)):we=1&Q.buttons?0:4&Q.buttons?1:2&Q.buttons?2:3;break;case"mouseup":Ee=0,we=Q.button<3?Q.button:3;break;case"mousedown":Ee=1,we=Q.button<3?Q.button:3;break;case"wheel":Q.deltaY!==0&&(Ee=Q.deltaY<0?0:1),we=4;break;default:return!1}return!(Ee===void 0||we===void 0||we>4)&&j._coreMouseService.triggerMouseEvent({col:Ae.x-33,row:Ae.y-33,button:we,action:Ee,ctrl:Q.ctrlKey,alt:Q.altKey,shift:Q.shiftKey})}var X={mouseup:null,wheel:null,mousedrag:null,mousemove:null},z=function(we){return W(we),we.buttons||(U._document.removeEventListener("mouseup",X.mouseup),X.mousedrag&&U._document.removeEventListener("mousemove",X.mousedrag)),U.cancel(we)},G=function(we){return W(we),we.preventDefault(),U.cancel(we)},Z=function(we){we.buttons&&W(we)},ge=function(we){we.buttons||W(we)};this.register(this._coreMouseService.onProtocolChange(function(Q){Q?(U.optionsService.options.logLevel==="debug"&&U._logService.debug("Binding to mouse events:",U._coreMouseService.explainEvents(Q)),U.element.classList.add("enable-mouse-events"),U._selectionService.disable()):(U._logService.debug("Unbinding from mouse events."),U.element.classList.remove("enable-mouse-events"),U._selectionService.enable()),8&Q?X.mousemove||(H.addEventListener("mousemove",ge),X.mousemove=ge):(H.removeEventListener("mousemove",X.mousemove),X.mousemove=null),16&Q?X.wheel||(H.addEventListener("wheel",G,{passive:!1}),X.wheel=G):(H.removeEventListener("wheel",X.wheel),X.wheel=null),2&Q?X.mouseup||(X.mouseup=z):(U._document.removeEventListener("mouseup",X.mouseup),X.mouseup=null),4&Q?X.mousedrag||(X.mousedrag=Z):(U._document.removeEventListener("mousemove",X.mousedrag),X.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(t.addDisposableDomListener(H,"mousedown",function(Q){if(Q.preventDefault(),U.focus(),U._coreMouseService.areMouseEventsActive&&!U._selectionService.shouldForceSelection(Q))return W(Q),X.mouseup&&U._document.addEventListener("mouseup",X.mouseup),X.mousedrag&&U._document.addEventListener("mousemove",X.mousedrag),U.cancel(Q)})),this.register(t.addDisposableDomListener(H,"wheel",function(Q){if(!X.wheel){if(!U.buffer.hasScrollback){var we=U.viewport.getLinesScrolled(Q);if(we===0)return;for(var Ee=i.C0.ESC+(U._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(Q.deltaY<0?"A":"B"),Ae="",Pe=0;Pe<Math.abs(we);Pe++)Ae+=Ee;U._coreService.triggerDataEvent(Ae,!0)}}},{passive:!0})),this.register(t.addDisposableDomListener(H,"wheel",function(Q){if(!X.wheel)return U.viewport.onWheel(Q)?void 0:U.cancel(Q)},{passive:!1})),this.register(t.addDisposableDomListener(H,"touchstart",function(Q){if(!U._coreMouseService.areMouseEventsActive)return U.viewport.onTouchStart(Q),U.cancel(Q)},{passive:!0})),this.register(t.addDisposableDomListener(H,"touchmove",function(Q){if(!U._coreMouseService.areMouseEventsActive)return U.viewport.onTouchMove(Q)?void 0:U.cancel(Q)},{passive:!1}))},R.prototype.refresh=function(U,j){var H;(H=this._renderService)===null||H===void 0||H.refreshRows(U,j)},R.prototype._queueLinkification=function(U,j){var H;(H=this.linkifier)===null||H===void 0||H.linkifyRows(U,j)},R.prototype.updateCursorStyle=function(U){this._selectionService&&this._selectionService.shouldColumnSelect(U)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},R.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},R.prototype.scrollLines=function(U,j){K.prototype.scrollLines.call(this,U,j),this.refresh(0,this.rows-1)},R.prototype.paste=function(U){a.paste(U,this.textarea,this._coreService)},R.prototype.attachCustomKeyEventHandler=function(U){this._customKeyEventHandler=U},R.prototype.registerLinkMatcher=function(U,j,H){var W=this.linkifier.registerLinkMatcher(U,j,H);return this.refresh(0,this.rows-1),W},R.prototype.deregisterLinkMatcher=function(U){this.linkifier.deregisterLinkMatcher(U)&&this.refresh(0,this.rows-1)},R.prototype.registerLinkProvider=function(U){return this.linkifier2.registerLinkProvider(U)},R.prototype.registerCharacterJoiner=function(U){var j=this._renderService.registerCharacterJoiner(U);return this.refresh(0,this.rows-1),j},R.prototype.deregisterCharacterJoiner=function(U){this._renderService.deregisterCharacterJoiner(U)&&this.refresh(0,this.rows-1)},Object.defineProperty(R.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),R.prototype.addMarker=function(U){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+U)},R.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},R.prototype.select=function(U,j,H){this._selectionService.setSelection(U,j,H)},R.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},R.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]}},R.prototype.clearSelection=function(){var U;(U=this._selectionService)===null||U===void 0||U.clearSelection()},R.prototype.selectAll=function(){var U;(U=this._selectionService)===null||U===void 0||U.selectAll()},R.prototype.selectLines=function(U,j){var H;(H=this._selectionService)===null||H===void 0||H.selectLines(U,j)},R.prototype._keyDown=function(U){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(U)===!1)return!1;if(!this._compositionHelper.keydown(U))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var j=E.evaluateKeyboardEvent(U,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(U),j.type===3||j.type===2){var H=this.rows-1;return this.scrollLines(j.type===2?-H:H),this.cancel(U,!0)}return j.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,U)||(j.cancel&&this.cancel(U,!0),!j.key||(j.key!==i.C0.ETX&&j.key!==i.C0.CR||(this.textarea.value=""),this._onKey.fire({key:j.key,domEvent:U}),this._showCursor(),this._coreService.triggerDataEvent(j.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(U,!0)))},R.prototype._isThirdLevelShift=function(U,j){var H=U.isMac&&!this.options.macOptionIsMeta&&j.altKey&&!j.ctrlKey&&!j.metaKey||U.isWindows&&j.altKey&&j.ctrlKey&&!j.metaKey;return j.type==="keypress"?H:H&&(!j.keyCode||j.keyCode>47)},R.prototype._keyUp=function(U){this._customKeyEventHandler&&this._customKeyEventHandler(U)===!1||(function(j){return j.keyCode===16||j.keyCode===17||j.keyCode===18}(U)||this.focus(),this.updateCursorStyle(U))},R.prototype._keyPress=function(U){var j;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&this._customKeyEventHandler(U)===!1)return!1;if(this.cancel(U),U.charCode)j=U.charCode;else if(U.which===null||U.which===void 0)j=U.keyCode;else{if(U.which===0||U.charCode===0)return!1;j=U.which}return!(!j||(U.altKey||U.ctrlKey||U.metaKey)&&!this._isThirdLevelShift(this.browser,U))&&(j=String.fromCharCode(j),this._onKey.fire({key:j,domEvent:U}),this._showCursor(),this._coreService.triggerDataEvent(j,!0),!0)},R.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},R.prototype.resize=function(U,j){U!==this.cols||j!==this.rows?K.prototype.resize.call(this,U,j):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},R.prototype._afterResize=function(U,j){var H,W;(H=this._charSizeService)===null||H===void 0||H.measure(),(W=this.viewport)===null||W===void 0||W.syncScrollArea(!0)},R.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 U=1;U<this.rows;U++)this.buffer.lines.push(this.buffer.getBlankLine(S.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},R.prototype.reset=function(){var U,j;this.options.rows=this.rows,this.options.cols=this.cols;var H=this._customKeyEventHandler;this._setup(),K.prototype.reset.call(this),(U=this._selectionService)===null||U===void 0||U.reset(),this._customKeyEventHandler=H,this.refresh(0,this.rows-1),(j=this.viewport)===null||j===void 0||j.syncScrollArea()},R.prototype._reportWindowsOptions=function(U){if(this._renderService)switch(U){case r.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var j=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),H=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(i.C0.ESC+"[4;"+H+";"+j+"t");break;case r.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var W=this._renderService.dimensions.scaledCellWidth.toFixed(0),X=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(i.C0.ESC+"[6;"+X+";"+W+"t")}},R.prototype.cancel=function(U,j){if(this.options.cancelEvents||j)return U.preventDefault(),U.stopPropagation(),!1},R.prototype._visualBell=function(){return!1},R.prototype._soundBell=function(){return this.options.bellStyle==="sound"},R}(k.CoreTerminal);f.Terminal=P},function(g,f,y){"use strict";var m=this&&this.__decorate||function(i,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(i,r,o,d);else for(var s=i.length-1;s>=0;s--)(n=i[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},v=this&&this.__param||function(i,r){return function(o,d){r(o,d,i)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CompositionHelper=void 0;var h=y(5),c=y(1),a=function(){function i(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(i.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),i.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},i.prototype.compositionupdate=function(r){var o=this;this._compositionView.textContent=r.data,this.updateCompositionElements(),setTimeout(function(){o._compositionPosition.end=o._textarea.value.length},0)},i.prototype.compositionend=function(){this._finalizeComposition(!0)},i.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)},i.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)}},i.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)},i.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)}},i=m([v(2,c.IBufferService),v(3,c.IOptionsService),v(4,h.ICharSizeService),v(5,c.ICoreService)],i)}();f.CompositionHelper=a},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var p in u)u.hasOwnProperty(p)&&(s[p]=u[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 u,p=arguments.length,w=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(n,l,t,s);else for(var b=n.length-1;b>=0;b--)(u=n[b])&&(w=(p<3?u(w):p>3?u(l,t,w):u(l,t))||w);return p>3&&w&&Object.defineProperty(l,t,w),w},c=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 a=y(2),i=y(7),r=y(5),o=y(1),d=function(n){function l(t,s,u,p,w,b,E){var A=n.call(this)||this;return A._scrollLines=t,A._viewportElement=s,A._scrollArea=u,A._bufferService=p,A._optionsService=w,A._charSizeService=b,A._renderService=E,A.scrollBarWidth=0,A._currentRowHeight=0,A._lastRecordedBufferLength=0,A._lastRecordedViewportHeight=0,A._lastRecordedBufferHeight=0,A._lastTouchY=0,A._lastScrollTop=0,A._wheelPartialScroll=0,A._refreshAnimationFrame=null,A._ignoreNextScrollEvent=!1,A.scrollBarWidth=A._viewportElement.offsetWidth-A._scrollArea.offsetWidth||15,A.register(i.addDisposableDomListener(A._viewportElement,"scroll",A._onScroll.bind(A))),setTimeout(function(){return A.syncScrollArea()},0),A}return v(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 u=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(s<0&&this._viewportElement.scrollTop!==0||s>0&&u<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 u=this._optionsService.options.fastScrollModifier;return u==="alt"&&s.altKey||u==="ctrl"&&s.ctrlKey||u==="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([c(3,o.IBufferService),c(4,o.IOptionsService),c(5,r.ICharSizeService),c(6,r.IRenderService)],l)}(a.Disposable);f.Viewport=d},function(g,f,y){"use strict";function m(a){return a.replace(/\r?\n/g,"\r")}function v(a,i){return i?"[200~"+a+"[201~":a}function h(a,i,r){a=v(a=m(a),r.decPrivateModes.bracketedPasteMode),r.triggerDataEvent(a,!0),i.value=""}function c(a,i,r){var o=r.getBoundingClientRect(),d=a.clientX-o.left-10,n=a.clientY-o.top-10;i.style.width="20px",i.style.height="20px",i.style.left=d+"px",i.style.top=n+"px",i.style.zIndex="1000",i.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=v,f.copyHandler=function(a,i){a.clipboardData&&a.clipboardData.setData("text/plain",i.selectionText),a.preventDefault()},f.handlePasteEvent=function(a,i,r){a.stopPropagation(),a.clipboardData&&h(a.clipboardData.getData("text/plain"),i,r)},f.paste=h,f.moveTextAreaUnderMouseCursor=c,f.rightClickHandler=function(a,i,r,o,d){c(a,i,r),d&&!o.isClickInSelection(a)&&o.selectWordAtCursor(a),i.value=o.selectionText,i.select()}},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var p in u)u.hasOwnProperty(p)&&(s[p]=u[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=y(2),c=y(15),a=y(21),i=y(22),r=y(24),o=function(){function n(l){this.table=new Uint8Array(l)}return n.prototype.setDefault=function(l,t){c.fill(this.table,l<<4|t)},n.prototype.add=function(l,t,s,u){this.table[t<<8|l]=s<<4|u},n.prototype.addMany=function(l,t,s,u){for(var p=0;p<l.length;p++)this.table[t<<8|l[p]]=s<<4|u},n}();f.TransitionTable=o,f.VT500_TRANSITION_TABLE=function(){var n=new o(4095),l=Array.apply(null,Array(256)).map(function(b,E){return E}),t=function(E,A){return l.slice(E,A)},s=t(32,127),u=t(0,24);u.push(25),u.push.apply(u,t(28,32));var p,w=t(0,14);for(p in n.setDefault(1,0),n.addMany(s,0,2,0),w)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(u,0,3,0),n.addMany(u,1,3,1),n.add(127,1,0,1),n.addMany(u,8,0,8),n.addMany(u,3,3,3),n.add(127,3,0,3),n.addMany(u,4,3,4),n.add(127,4,0,4),n.addMany(u,6,3,6),n.addMany(u,5,3,5),n.add(127,5,0,5),n.addMany(u,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(u,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(u,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(u,11,0,11),n.addMany(t(32,128),11,0,11),n.addMany(t(28,32),11,0,11),n.addMany(u,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(u,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(u,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 a.Params,s._params.addParam(0),s._collect=0,s.precedingCodepoint=0,s._printHandlerFb=function(u,p,w){},s._executeHandlerFb=function(u){},s._csiHandlerFb=function(u,p){},s._escHandlerFb=function(u){},s._errorHandlerFb=function(u){return u},s._printHandler=s._printHandlerFb,s._executeHandlers=Object.create(null),s._csiHandlers=Object.create(null),s._escHandlers=Object.create(null),s._oscParser=new i.OscParser,s._dcsParser=new r.DcsParser,s._errorHandler=s._errorHandlerFb,s.setEscHandler({final:"\\"},function(){}),s}return v(l,n),l.prototype._identifier=function(t,s){s===void 0&&(s=[64,126]);var u=0;if(t.prefix){if(t.prefix.length>1)throw new Error("only one byte as prefix supported");if((u=t.prefix.charCodeAt(0))&&60>u||u>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 w=t.intermediates.charCodeAt(p);if(32>w||w>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");u<<=8,u|=w}}if(t.final.length!==1)throw new Error("final must be a single byte");var b=t.final.charCodeAt(0);if(s[0]>b||b>s[1])throw new Error("final must be in range "+s[0]+" .. "+s[1]);return u<<=8,u|=b},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 u=this._identifier(t,[48,126]);this._escHandlers[u]===void 0&&(this._escHandlers[u]=[]);var p=this._escHandlers[u];return p.push(s),{dispose:function(){var b=p.indexOf(s);b!==-1&&p.splice(b,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 u=this._identifier(t);this._csiHandlers[u]===void 0&&(this._csiHandlers[u]=[]);var p=this._csiHandlers[u];return p.push(s),{dispose:function(){var b=p.indexOf(s);b!==-1&&p.splice(b,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 u=0,p=0,w=this.currentState,b=this._oscParser,E=this._dcsParser,A=this._collect,S=this._params,T=this._transitions.table,L=0;L<s;++L){switch((p=T[w<<8|((u=t[L])<160?u:160)])>>4){case 2:for(var x=L+1;;++x){if(x>=s||(u=t[x])<32||u>126&&u<160){this._printHandler(t,L,x),L=x-1;break}if(++x>=s||(u=t[x])<32||u>126&&u<160){this._printHandler(t,L,x),L=x-1;break}if(++x>=s||(u=t[x])<32||u>126&&u<160){this._printHandler(t,L,x),L=x-1;break}if(++x>=s||(u=t[x])<32||u>126&&u<160){this._printHandler(t,L,x),L=x-1;break}}break;case 3:this._executeHandlers[u]?this._executeHandlers[u]():this._executeHandlerFb(u),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:L,code:u,currentState:w,collect:A,params:S,abort:!1}).abort)return;break;case 7:for(var C=this._csiHandlers[A<<8|u],I=C?C.length-1:-1;I>=0&&C[I](S)===!1;I--);I<0&&this._csiHandlerFb(A<<8|u,S),this.precedingCodepoint=0;break;case 8:do switch(u){case 59:S.addParam(0);break;case 58:S.addSubParam(-1);break;default:S.addDigit(u-48)}while(++L<s&&(u=t[L])>47&&u<60);L--;break;case 9:A<<=8,A|=u;break;case 10:for(var N=this._escHandlers[A<<8|u],F=N?N.length-1:-1;F>=0&&N[F]()===!1;F--);F<0&&this._escHandlerFb(A<<8|u),this.precedingCodepoint=0;break;case 11:S.reset(),S.addParam(0),A=0;break;case 12:E.hook(A<<8|u,S);break;case 13:for(var k=L+1;;++k)if(k>=s||(u=t[k])===24||u===26||u===27||u>127&&u<160){E.put(t,L,k),L=k-1;break}break;case 14:E.unhook(u!==24&&u!==26),u===27&&(p|=1),S.reset(),S.addParam(0),A=0,this.precedingCodepoint=0;break;case 4:b.start();break;case 5:for(var B=L+1;;B++)if(B>=s||(u=t[B])<32||u>127&&u<=159){b.put(t,L,B),L=B-1;break}break;case 6:b.end(u!==24&&u!==26),u===27&&(p|=1),S.reset(),S.addParam(0),A=0,this.precedingCodepoint=0}w=15&p}this._collect=A,this.currentState=w},l}(h.Disposable);f.EscapeSequenceParser=d},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(E,A){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,T){S.__proto__=T}||function(S,T){for(var L in T)T.hasOwnProperty(L)&&(S[L]=T[L])})(E,A)},function(b,E){function A(){this.constructor=b}m(b,E),b.prototype=E===null?Object.create(E):(A.prototype=E.prototype,new A)}),h=this&&this.__decorate||function(b,E,A,S){var T,L=arguments.length,x=L<3?E:S===null?S=Object.getOwnPropertyDescriptor(E,A):S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(b,E,A,S);else for(var C=b.length-1;C>=0;C--)(T=b[C])&&(x=(L<3?T(x):L>3?T(E,A,x):T(E,A))||x);return L>3&&x&&Object.defineProperty(E,A,x),x},c=this&&this.__param||function(b,E){return function(A,S){E(A,S,b)}};Object.defineProperty(f,"__esModule",{value:!0}),f.Renderer=void 0;var a=y(41),i=y(47),r=y(48),o=y(49),d=y(29),n=y(2),l=y(5),t=y(1),s=y(25),u=y(0),p=1,w=function(b){function E(A,S,T,L,x,C,I,N,F){var k=b.call(this)||this;k._colors=A,k._screenElement=S,k._bufferService=x,k._charSizeService=C,k._optionsService=I,k._id=p++,k._onRequestRedraw=new u.EventEmitter;var B=k._optionsService.options.allowTransparency;return k._characterJoinerRegistry=new d.CharacterJoinerRegistry(k._bufferService),k._renderLayers=[new a.TextRenderLayer(k._screenElement,0,k._colors,k._characterJoinerRegistry,B,k._id,k._bufferService,I),new i.SelectionRenderLayer(k._screenElement,1,k._colors,k._id,k._bufferService,I),new o.LinkRenderLayer(k._screenElement,2,k._colors,k._id,T,L,k._bufferService,I),new r.CursorRenderLayer(k._screenElement,3,k._colors,k._id,k._onRequestRedraw,k._bufferService,I,N,F)],k.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},k._devicePixelRatio=window.devicePixelRatio,k._updateDimensions(),k.onOptionsChanged(),k}return v(E,b),Object.defineProperty(E.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),E.prototype.dispose=function(){for(var A=0,S=this._renderLayers;A<S.length;A++)S[A].dispose();b.prototype.dispose.call(this),s.removeTerminalFromCache(this._id)},E.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},E.prototype.setColors=function(A){this._colors=A;for(var S=0,T=this._renderLayers;S<T.length;S++){var L=T[S];L.setColors(this._colors),L.reset()}},E.prototype.onResize=function(A,S){this._updateDimensions();for(var T=0,L=this._renderLayers;T<L.length;T++)L[T].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},E.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},E.prototype.onBlur=function(){this._runOperation(function(A){return A.onBlur()})},E.prototype.onFocus=function(){this._runOperation(function(A){return A.onFocus()})},E.prototype.onSelectionChanged=function(A,S,T){T===void 0&&(T=!1),this._runOperation(function(L){return L.onSelectionChanged(A,S,T)})},E.prototype.onCursorMove=function(){this._runOperation(function(A){return A.onCursorMove()})},E.prototype.onOptionsChanged=function(){this._runOperation(function(A){return A.onOptionsChanged()})},E.prototype.clear=function(){this._runOperation(function(A){return A.reset()})},E.prototype._runOperation=function(A){for(var S=0,T=this._renderLayers;S<T.length;S++)A(T[S])},E.prototype.renderRows=function(A,S){for(var T=0,L=this._renderLayers;T<L.length;T++)L[T].onGridChanged(A,S)},E.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)},E.prototype.registerCharacterJoiner=function(A){return this._characterJoinerRegistry.registerCharacterJoiner(A)},E.prototype.deregisterCharacterJoiner=function(A){return this._characterJoinerRegistry.deregisterCharacterJoiner(A)},E=h([c(4,t.IBufferService),c(5,l.ICharSizeService),c(6,t.IOptionsService),c(7,t.ICoreService),c(8,l.ICoreBrowserService)],E)}(n.Disposable);f.Renderer=w},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var p in u)u.hasOwnProperty(p)&&(s[p]=u[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=y(42),c=y(13),a=y(6),i=y(3),r=y(29),o=y(4),d=function(n){function l(t,s,u,p,w,b,E,A){var S=n.call(this,t,"text",s,w,u,b,E,A)||this;return S._characterWidth=0,S._characterFont="",S._characterOverlapCache={},S._workCell=new o.CellData,S._state=new h.GridCache,S._characterJoinerRegistry=p,S}return v(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,u,p){for(var w=t;w<=s;w++)for(var b=w+this._bufferService.buffer.ydisp,E=this._bufferService.buffer.lines.get(b),A=u?u.getJoinedCharacters(b):[],S=0;S<this._bufferService.cols;S++){E.loadCell(S,this._workCell);var T=this._workCell,L=!1,x=S;if(T.getWidth()!==0){if(A.length>0&&S===A[0][0]){L=!0;var C=A.shift();T=new r.JoinedCellData(this._workCell,E.translateToString(!0,C[0],C[1]),C[1]-C[0]),x=C[1]-1}!L&&this._isOverlapping(T)&&x<E.length-1&&E.getCodePoint(x+1)===i.NULL_CELL_CODE&&(T.content&=-12582913,T.content|=2<<22),p(T,S,w),S=x}}},l.prototype._drawBackground=function(t,s){var u=this,p=this._ctx,w=this._bufferService.cols,b=0,E=0,A=null;p.save(),this._forEachCell(t,s,null,function(S,T,L){var x=null;S.isInverse()?x=S.isFgDefault()?u._colors.foreground.css:S.isFgRGB()?"rgb("+a.AttributeData.toColorRGB(S.getFgColor()).join(",")+")":u._colors.ansi[S.getFgColor()].css:S.isBgRGB()?x="rgb("+a.AttributeData.toColorRGB(S.getBgColor()).join(",")+")":S.isBgPalette()&&(x=u._colors.ansi[S.getBgColor()].css),A===null&&(b=T,E=L),L!==E?(p.fillStyle=A||"",u._fillCells(b,E,w-b,1),b=T,E=L):A!==x&&(p.fillStyle=A||"",u._fillCells(b,E,T-b,1),b=T,E=L),A=x}),A!==null&&(p.fillStyle=A,this._fillCells(b,E,w-b,1)),p.restore()},l.prototype._drawForeground=function(t,s){var u=this;this._forEachCell(t,s,this._characterJoinerRegistry,function(p,w,b){if(!p.isInvisible()&&(u._drawChars(p,w,b),p.isUnderline())){if(u._ctx.save(),p.isInverse())if(p.isBgDefault())u._ctx.fillStyle=u._colors.background.css;else if(p.isBgRGB())u._ctx.fillStyle="rgb("+a.AttributeData.toColorRGB(p.getBgColor()).join(",")+")";else{var E=p.getBgColor();u._optionsService.options.drawBoldTextInBrightColors&&p.isBold()&&E<8&&(E+=8),u._ctx.fillStyle=u._colors.ansi[E].css}else if(p.isFgDefault())u._ctx.fillStyle=u._colors.foreground.css;else if(p.isFgRGB())u._ctx.fillStyle="rgb("+a.AttributeData.toColorRGB(p.getFgColor()).join(",")+")";else{var A=p.getFgColor();u._optionsService.options.drawBoldTextInBrightColors&&p.isBold()&&A<8&&(A+=8),u._ctx.fillStyle=u._colors.ansi[A].css}u._fillBottomLineAtCells(w,b,p.getWidth()),u._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 u=Math.floor(this._ctx.measureText(s).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[s]=u,u},l}(c.BaseRenderLayer);f.TextRenderLayer=d},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.GridCache=void 0;var m=function(){function v(){this.cache=[]}return v.prototype.resize=function(h,c){for(var a=0;a<h;a++){this.cache.length<=a&&this.cache.push([]);for(var i=this.cache[a].length;i<c;i++)this.cache[a].push(void 0);this.cache[a].length=c}this.cache.length=h},v.prototype.clear=function(){for(var h=0;h<this.cache.length;h++)for(var c=0;c<this.cache[h].length;c++)this.cache[h][c]=void 0},v}();f.GridCache=m},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(p,w){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,E){b.__proto__=E}||function(b,E){for(var A in E)E.hasOwnProperty(A)&&(b[A]=E[A])})(p,w)},function(u,p){function w(){this.constructor=u}m(u,p),u.prototype=p===null?Object.create(p):(w.prototype=p.prototype,new w)});Object.defineProperty(f,"__esModule",{value:!0}),f.NoneCharAtlas=f.DynamicCharAtlas=f.getGlyphCacheKey=void 0;var h=y(9),c=y(44),a=y(27),i=y(46),r=y(11),o=y(28),d=y(10),n={css:"rgba(0, 0, 0, 0)",rgba:0};function l(u){return u.code<<21|u.bg<<12|u.fg<<3|(u.bold?0:4)+(u.dim?0:2)+(u.italic?0:1)}f.getGlyphCacheKey=l;var t=function(u){function p(w,b){var E=u.call(this)||this;E._config=b,E._drawToCacheCount=0,E._glyphsWaitingOnBitmap=[],E._bitmapCommitTimeout=null,E._bitmap=null,E._cacheCanvas=w.createElement("canvas"),E._cacheCanvas.width=1024,E._cacheCanvas.height=1024,E._cacheCtx=o.throwIfFalsy(E._cacheCanvas.getContext("2d",{alpha:!0}));var A=w.createElement("canvas");A.width=E._config.scaledCharWidth,A.height=E._config.scaledCharHeight,E._tmpCtx=o.throwIfFalsy(A.getContext("2d",{alpha:E._config.allowTransparency})),E._width=Math.floor(1024/E._config.scaledCharWidth),E._height=Math.floor(1024/E._config.scaledCharHeight);var S=E._width*E._height;return E._cacheMap=new i.LRUMap(S),E._cacheMap.prealloc(S),E}return v(p,u),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(w,b,E,A){if(b.code===32)return!0;if(!this._canCache(b))return!1;var S=l(b),T=this._cacheMap.get(S);if(T!=null)return this._drawFromCache(w,T,E,A),!0;if(this._drawToCacheCount<100){var L=void 0;L=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var x=this._drawToCache(b,L);return this._cacheMap.set(S,x),this._drawFromCache(w,x,E,A),!0}return!1},p.prototype._canCache=function(w){return w.code<256},p.prototype._toCoordinateX=function(w){return w%this._width*this._config.scaledCharWidth},p.prototype._toCoordinateY=function(w){return Math.floor(w/this._width)*this._config.scaledCharHeight},p.prototype._drawFromCache=function(w,b,E,A){if(!b.isEmpty){var S=this._toCoordinateX(b.index),T=this._toCoordinateY(b.index);w.drawImage(b.inBitmap?this._bitmap:this._cacheCanvas,S,T,this._config.scaledCharWidth,this._config.scaledCharHeight,E,A,this._config.scaledCharWidth,this._config.scaledCharHeight)}},p.prototype._getColorFromAnsiIndex=function(w){return w<this._config.colors.ansi.length?this._config.colors.ansi[w]:a.DEFAULT_ANSI_COLORS[w]},p.prototype._getBackgroundColor=function(w){return this._config.allowTransparency?n:w.bg===h.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:w.bg<256?this._getColorFromAnsiIndex(w.bg):this._config.colors.background},p.prototype._getForegroundColor=function(w){return w.fg===h.INVERTED_DEFAULT_COLOR?d.color.opaque(this._config.colors.background):w.fg<256?this._getColorFromAnsiIndex(w.fg):this._config.colors.foreground},p.prototype._drawToCache=function(w,b){this._drawToCacheCount++,this._tmpCtx.save();var E=this._getBackgroundColor(w);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=E.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var A=w.bold?this._config.fontWeightBold:this._config.fontWeight,S=w.italic?"italic":"";this._tmpCtx.font=S+" "+A+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(w).css,w.dim&&(this._tmpCtx.globalAlpha=h.DIM_OPACITY),this._tmpCtx.fillText(w.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var T=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),L=!1;this._config.allowTransparency||(L=function(N,F){for(var k=!0,B=F.rgba>>>24,P=F.rgba>>>16&255,K=F.rgba>>>8&255,R=0;R<N.data.length;R+=4)N.data[R]===B&&N.data[R+1]===P&&N.data[R+2]===K?N.data[R+3]=0:k=!1;return k}(T,E));var x=this._toCoordinateX(b),C=this._toCoordinateY(b);this._cacheCtx.putImageData(T,x,C);var I={index:b,isEmpty:L,inBitmap:!1};return this._addGlyphToBitmap(I),I},p.prototype._addGlyphToBitmap=function(w){var b=this;!("createImageBitmap"in window)||r.isFirefox||r.isSafari||(this._glyphsWaitingOnBitmap.push(w),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return b._generateBitmap()},100)))},p.prototype._generateBitmap=function(){var w=this,b=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(E){w._bitmap=E;for(var A=0;A<b.length;A++)b[A].inBitmap=!0}),this._bitmapCommitTimeout=null},p}(c.BaseCharAtlas);f.DynamicCharAtlas=t;var s=function(u){function p(w,b){return u.call(this)||this}return v(p,u),p.prototype.draw=function(w,b,E,A){return!1},p}(c.BaseCharAtlas);f.NoneCharAtlas=s},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BaseCharAtlas=void 0;var m=function(){function v(){this._didWarmUp=!1}return v.prototype.dispose=function(){},v.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},v.prototype._doWarmUp=function(){},v.prototype.beginFrame=function(){},v}();f.BaseCharAtlas=m},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ColorContrastCache=void 0;var m=function(){function v(){this._color={},this._rgba={}}return v.prototype.clear=function(){this._color={},this._rgba={}},v.prototype.setCss=function(h,c,a){this._rgba[h]||(this._rgba[h]={}),this._rgba[h][c]=a},v.prototype.getCss=function(h,c){return this._rgba[h]?this._rgba[h][c]:void 0},v.prototype.setColor=function(h,c,a){this._color[h]||(this._color[h]={}),this._color[h][c]=a},v.prototype.getColor=function(h,c){return this._color[h]?this._color[h][c]:void 0},v}();f.ColorContrastCache=m},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.LRUMap=void 0;var m=function(){function v(h){this.capacity=h,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return v.prototype._unlinkNode=function(h){var c=h.prev,a=h.next;h===this._head&&(this._head=a),h===this._tail&&(this._tail=c),c!==null&&(c.next=a),a!==null&&(a.prev=c)},v.prototype._appendNode=function(h){var c=this._tail;c!==null&&(c.next=h),h.prev=c,h.next=null,this._tail=h,this._head===null&&(this._head=h)},v.prototype.prealloc=function(h){for(var c=this._nodePool,a=0;a<h;a++)c.push({prev:null,next:null,key:null,value:null})},v.prototype.get=function(h){var c=this._map[h];return c!==void 0?(this._unlinkNode(c),this._appendNode(c),c.value):null},v.prototype.peekValue=function(h){var c=this._map[h];return c!==void 0?c.value:null},v.prototype.peek=function(){var h=this._head;return h===null?null:h.value},v.prototype.set=function(h,c){var a=this._map[h];if(a!==void 0)a=this._map[h],this._unlinkNode(a),a.value=c;else if(this.size>=this.capacity)a=this._head,this._unlinkNode(a),delete this._map[a.key],a.key=h,a.value=c,this._map[h]=a;else{var i=this._nodePool;i.length>0?((a=i.pop()).key=h,a.value=c):a={prev:null,next:null,key:h,value:c},this._map[h]=a,this.size++}this._appendNode(a)},v}();f.LRUMap=m},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(a,i){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])})(a,i)},function(c,a){function i(){this.constructor=c}m(c,a),c.prototype=a===null?Object.create(a):(i.prototype=a.prototype,new i)});Object.defineProperty(f,"__esModule",{value:!0}),f.SelectionRenderLayer=void 0;var h=function(c){function a(i,r,o,d,n,l){var t=c.call(this,i,"selection",r,!0,o,d,n,l)||this;return t._clearState(),t}return v(a,c),a.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},a.prototype.resize=function(i){c.prototype.resize.call(this,i),this._clearState()},a.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},a.prototype.onSelectionChanged=function(i,r,o){if(this._didStateChange(i,r,o,this._bufferService.buffer.ydisp))if(this._clearAll(),i&&r){var d=i[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=i[0],u=r[0]-s,p=t-l+1;this._fillCells(s,l,u,p)}else{s=d===l?i[0]:0;var w=l===t?r[0]:this._bufferService.cols;this._fillCells(s,l,w-s,1);var b=Math.max(t-l-1,0);if(this._fillCells(0,l+1,this._bufferService.cols,b),l!==t){var E=n===t?r[0]:this._bufferService.cols;this._fillCells(0,t,E,1)}}this._state.start=[i[0],i[1]],this._state.end=[r[0],r[1]],this._state.columnSelectMode=o,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},a.prototype._didStateChange=function(i,r,o,d){return!this._areCoordinatesEqual(i,this._state.start)||!this._areCoordinatesEqual(r,this._state.end)||o!==this._state.columnSelectMode||d!==this._state.ydisp},a.prototype._areCoordinatesEqual=function(i,r){return!(!i||!r)&&i[0]===r[0]&&i[1]===r[1]},a}(y(13).BaseRenderLayer);f.SelectionRenderLayer=h},function(g,f,y){"use strict";var m,v=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=y(13),c=y(4),a=function(r){function o(d,n,l,t,s,u,p,w,b){var E=r.call(this,d,"cursor",n,!0,l,t,u,p)||this;return E._onRequestRedraw=s,E._coreService=w,E._coreBrowserService=b,E._cell=new c.CellData,E._state={x:0,y:0,isFocused:!1,style:"",width:0},E._cursorRenderers={bar:E._renderBarCursor.bind(E),block:E._renderBlockCursor.bind(E),underline:E._renderUnderlineCursor.bind(E)},E}return v(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 i(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=a;var i=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,y){"use strict";var m,v=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=y(13),c=y(9),a=y(26),i=function(r){function o(d,n,l,t,s,u,p,w){var b=r.call(this,d,"link",n,!0,l,t,p,w)||this;return s.onShowLinkUnderline(function(E){return b._onShowLinkUnderline(E)}),s.onHideLinkUnderline(function(E){return b._onHideLinkUnderline(E)}),u.onShowLinkUnderline(function(E){return b._onShowLinkUnderline(E)}),u.onHideLinkUnderline(function(E){return b._onHideLinkUnderline(E)}),b}return v(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===c.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:d.fg&&a.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=i},function(g,f,y){"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 u=r.length-1;u>=0;u--)(l=r[u])&&(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},v=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=y(0),c=y(1),a=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(),u=0;u<this._linkMatchers.length;u++)this._doLinkifyRow(s.range.first,s.content,this._linkMatchers[u]);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"),u=-1,p=function(){var E=l[typeof n.matchIndex!="number"?0:n.matchIndex];if(!E)return w._logService.debug("match found without corresponding matchIndex",l,n),"break";if(u=d.indexOf(E,u+1),s.lastIndex=u+E.length,u<0)return"break";var A=w._bufferService.buffer.stringIndexToBufferIndex(o,u);if(A[0]<0)return"break";var S=w._bufferService.buffer.lines.get(A[0]);if(!S)return"break";var T=S.getFg(A[1]),L=T?T>>9&511:void 0;n.validationCallback?n.validationCallback(E,function(x){t._rowsTimeoutId||x&&t._addLink(A[1],A[0]-t._bufferService.buffer.ydisp,E,n,L)}):w._addLink(A[1],A[0]-w._bufferService.buffer.ydisp,E,n,L)},w=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 u=this._unicodeService.getStringCellWidth(n),p=o%this._bufferService.cols,w=d+Math.floor(o/this._bufferService.cols),b=(p+u)%this._bufferService.cols,E=w+Math.floor((p+u)/this._bufferService.cols);b===0&&(b=this._bufferService.cols,E--),this._mouseZoneManager.add(new i(p+1,w+1,b+1,E+1,function(A){if(l.handler)return l.handler(A,n);var S=window.open();S?(S.opener=null,S.location.href=n):console.warn("Opening link blocked as opener could not be cleared")},function(){s._onShowLinkUnderline.fire(s._createLinkHoverEvent(p,w,b,E,t)),s._element.classList.add("xterm-cursor-pointer")},function(A){s._onLinkTooltip.fire(s._createLinkHoverEvent(p,w,b,E,t)),l.hoverTooltipCallback&&l.hoverTooltipCallback(A,n,{start:{x:p,y:w},end:{x:b,y:E}})},function(){s._onHideLinkUnderline.fire(s._createLinkHoverEvent(p,w,b,E,t)),s._element.classList.remove("xterm-cursor-pointer"),l.hoverLeaveCallback&&l.hoverLeaveCallback()},function(A){return!l.willLinkActivate||l.willLinkActivate(A,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([v(0,c.IBufferService),v(1,c.ILogService),v(2,c.IUnicodeService)],r)}();f.Linkifier=a;var i=function(o,d,n,l,t,s,u,p,w){this.x1=o,this.y1=d,this.x2=n,this.y2=l,this.clickCallback=t,this.hoverCallback=s,this.tooltipCallback=u,this.leaveCallback=p,this.willLinkActivate=w};f.MouseZone=i},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(E,A){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,T){S.__proto__=T}||function(S,T){for(var L in T)T.hasOwnProperty(L)&&(S[L]=T[L])})(E,A)},function(b,E){function A(){this.constructor=b}m(b,E),b.prototype=E===null?Object.create(E):(A.prototype=E.prototype,new A)}),h=this&&this.__decorate||function(b,E,A,S){var T,L=arguments.length,x=L<3?E:S===null?S=Object.getOwnPropertyDescriptor(E,A):S;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(b,E,A,S);else for(var C=b.length-1;C>=0;C--)(T=b[C])&&(x=(L<3?T(x):L>3?T(E,A,x):T(E,A))||x);return L>3&&x&&Object.defineProperty(E,A,x),x},c=this&&this.__param||function(b,E){return function(A,S){E(A,S,b)}};Object.defineProperty(f,"__esModule",{value:!0}),f.SelectionService=void 0;var a=y(11),i=y(52),r=y(4),o=y(0),d=y(5),n=y(1),l=y(30),t=y(53),s=y(2),u=String.fromCharCode(160),p=new RegExp(u,"g"),w=function(b){function E(A,S,T,L,x,C,I){var N=b.call(this)||this;return N._element=A,N._screenElement=S,N._bufferService=T,N._coreService=L,N._mouseService=x,N._optionsService=C,N._renderService=I,N._dragScrollAmount=0,N._enabled=!0,N._workCell=new r.CellData,N._mouseDownTimeStamp=0,N._onLinuxMouseSelection=N.register(new o.EventEmitter),N._onRedrawRequest=N.register(new o.EventEmitter),N._onSelectionChange=N.register(new o.EventEmitter),N._onRequestScrollLines=N.register(new o.EventEmitter),N._mouseMoveListener=function(F){return N._onMouseMove(F)},N._mouseUpListener=function(F){return N._onMouseUp(F)},N._coreService.onUserInput(function(){N.hasSelection&&N.clearSelection()}),N._trimListener=N._bufferService.buffer.lines.onTrim(function(F){return N._onTrim(F)}),N.register(N._bufferService.buffers.onBufferActivate(function(F){return N._onBufferActivate(F)})),N.enable(),N._model=new i.SelectionModel(N._bufferService),N._activeSelectionMode=0,N}return v(E,b),Object.defineProperty(E.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),E.prototype.dispose=function(){this._removeMouseDownListeners()},E.prototype.reset=function(){this.clearSelection()},E.prototype.disable=function(){this.clearSelection(),this._enabled=!1},E.prototype.enable=function(){this._enabled=!0},Object.defineProperty(E.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"hasSelection",{get:function(){var S=this._model.finalSelectionStart,T=this._model.finalSelectionEnd;return!(!S||!T)&&(S[0]!==T[0]||S[1]!==T[1])},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"selectionText",{get:function(){var S=this._model.finalSelectionStart,T=this._model.finalSelectionEnd;if(!S||!T)return"";var L=this._bufferService.buffer,x=[];if(this._activeSelectionMode===3){if(S[0]===T[0])return"";for(var C=S[1];C<=T[1];C++){var I=L.translateBufferLineToString(C,!0,S[0],T[0]);x.push(I)}}else{var N=S[1]===T[1]?T[0]:void 0;for(x.push(L.translateBufferLineToString(S[1],!0,S[0],N)),C=S[1]+1;C<=T[1]-1;C++){var F=L.lines.get(C);I=L.translateBufferLineToString(C,!0),F&&F.isWrapped?x[x.length-1]+=I:x.push(I)}S[1]!==T[1]&&(F=L.lines.get(T[1]),I=L.translateBufferLineToString(T[1],!0,0,T[0]),F&&F.isWrapped?x[x.length-1]+=I:x.push(I))}return x.map(function(k){return k.replace(p," ")}).join(a.isWindows?`\r
`:`
`)},enumerable:!1,configurable:!0}),E.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},E.prototype.refresh=function(A){var S=this;(this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return S._refresh()})),a.isLinux&&A)&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},E.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},E.prototype.isClickInSelection=function(A){var S=this._getMouseBufferCoords(A),T=this._model.finalSelectionStart,L=this._model.finalSelectionEnd;return!!(T&&L&&S)&&this._areCoordsInSelection(S,T,L)},E.prototype._areCoordsInSelection=function(A,S,T){return A[1]>S[1]&&A[1]<T[1]||S[1]===T[1]&&A[1]===S[1]&&A[0]>=S[0]&&A[0]<T[0]||S[1]<T[1]&&A[1]===T[1]&&A[0]<T[0]||S[1]<T[1]&&A[1]===S[1]&&A[0]>=S[0]},E.prototype.selectWordAtCursor=function(A){var S=this._getMouseBufferCoords(A);S&&(this._selectWordAt(S,!1),this._model.selectionEnd=void 0,this.refresh(!0))},E.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},E.prototype.selectLines=function(A,S){this._model.clearSelection(),A=Math.max(A,0),S=Math.min(S,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,A],this._model.selectionEnd=[this._bufferService.cols,S],this.refresh(),this._onSelectionChange.fire()},E.prototype._onTrim=function(A){this._model.onTrim(A)&&this.refresh()},E.prototype._getMouseBufferCoords=function(A){var S=this._mouseService.getCoords(A,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(S)return S[0]--,S[1]--,S[1]+=this._bufferService.buffer.ydisp,S},E.prototype._getMouseEventScrollAmount=function(A){var S=l.getCoordsRelativeToElement(A,this._screenElement)[1],T=this._renderService.dimensions.canvasHeight;return S>=0&&S<=T?0:(S>T&&(S-=T),S=Math.min(Math.max(S,-50),50),(S/=50)/Math.abs(S)+Math.round(14*S))},E.prototype.shouldForceSelection=function(A){return a.isMac?A.altKey&&this._optionsService.options.macOptionClickForcesSelection:A.shiftKey},E.prototype.onMouseDown=function(A){if(this._mouseDownTimeStamp=A.timeStamp,(A.button!==2||!this.hasSelection)&&A.button===0){if(!this._enabled){if(!this.shouldForceSelection(A))return;A.stopPropagation()}A.preventDefault(),this._dragScrollAmount=0,this._enabled&&A.shiftKey?this._onIncrementalClick(A):A.detail===1?this._onSingleClick(A):A.detail===2?this._onDoubleClick(A):A.detail===3&&this._onTripleClick(A),this._addMouseDownListeners(),this.refresh(!0)}},E.prototype._addMouseDownListeners=function(){var A=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return A._dragScroll()},50)},E.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},E.prototype._onIncrementalClick=function(A){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(A))},E.prototype._onSingleClick=function(A){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(A)?3:0,this._model.selectionStart=this._getMouseBufferCoords(A),this._model.selectionStart){this._model.selectionEnd=void 0;var S=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);S&&S.length!==this._model.selectionStart[0]&&S.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},E.prototype._onDoubleClick=function(A){var S=this._getMouseBufferCoords(A);S&&(this._activeSelectionMode=1,this._selectWordAt(S,!0))},E.prototype._onTripleClick=function(A){var S=this._getMouseBufferCoords(A);S&&(this._activeSelectionMode=2,this._selectLineAt(S[1]))},E.prototype.shouldColumnSelect=function(A){return A.altKey&&!(a.isMac&&this._optionsService.options.macOptionClickForcesSelection)},E.prototype._onMouseMove=function(A){if(A.stopImmediatePropagation(),this._model.selectionStart){var S=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(A),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(A),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 L=T.lines.get(this._model.selectionEnd[1]);L&&L.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}S&&S[0]===this._model.selectionEnd[0]&&S[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},E.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var A=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(A.ydisp+this._bufferService.rows,A.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=A.ydisp),this.refresh()}},E.prototype._onMouseUp=function(A){var S=A.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&S<500&&A.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var T=this._mouseService.getCoords(A,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(T&&T[0]!==void 0&&T[1]!==void 0){var L=t.moveToCellSequence(T[0]-1,T[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(L,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},E.prototype._onBufferActivate=function(A){var S=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=A.activeBuffer.lines.onTrim(function(T){return S._onTrim(T)})},E.prototype._convertViewportColToCharacterIndex=function(A,S){for(var T=S[0],L=0;S[0]>=L;L++){var x=A.loadCell(L,this._workCell).getChars().length;this._workCell.getWidth()===0?T--:x>1&&S[0]!==L&&(T+=x-1)}return T},E.prototype.setSelection=function(A,S,T){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[A,S],this._model.selectionStartLength=T,this.refresh()},E.prototype._getWordAt=function(A,S,T,L){if(T===void 0&&(T=!0),L===void 0&&(L=!0),!(A[0]>=this._bufferService.cols)){var x=this._bufferService.buffer,C=x.lines.get(A[1]);if(C){var I=x.translateBufferLineToString(A[1],!1),N=this._convertViewportColToCharacterIndex(C,A),F=N,k=A[0]-N,B=0,P=0,K=0,R=0;if(I.charAt(N)===" "){for(;N>0&&I.charAt(N-1)===" ";)N--;for(;F<I.length&&I.charAt(F+1)===" ";)F++}else{var U=A[0],j=A[0];C.getWidth(U)===0&&(B++,U--),C.getWidth(j)===2&&(P++,j++);var H=C.getString(j).length;for(H>1&&(R+=H-1,F+=H-1);U>0&&N>0&&!this._isCharWordSeparator(C.loadCell(U-1,this._workCell));){C.loadCell(U-1,this._workCell);var W=this._workCell.getChars().length;this._workCell.getWidth()===0?(B++,U--):W>1&&(K+=W-1,N-=W-1),N--,U--}for(;j<C.length&&F+1<I.length&&!this._isCharWordSeparator(C.loadCell(j+1,this._workCell));){C.loadCell(j+1,this._workCell);var X=this._workCell.getChars().length;this._workCell.getWidth()===2?(P++,j++):X>1&&(R+=X-1,F+=X-1),F++,j++}}F++;var z=N+k-B+K,G=Math.min(this._bufferService.cols,F-N+B+P-K-R);if(S||I.slice(N,F).trim()!==""){if(T&&z===0&&C.getCodePoint(0)!==32){var Z=x.lines.get(A[1]-1);if(Z&&C.isWrapped&&Z.getCodePoint(this._bufferService.cols-1)!==32){var ge=this._getWordAt([this._bufferService.cols-1,A[1]-1],!1,!0,!1);if(ge){var Q=this._bufferService.cols-ge.start;z-=Q,G+=Q}}}if(L&&z+G===this._bufferService.cols&&C.getCodePoint(this._bufferService.cols-1)!==32){var we=x.lines.get(A[1]+1);if(we&&we.isWrapped&&we.getCodePoint(0)!==32){var Ee=this._getWordAt([0,A[1]+1],!1,!1,!0);Ee&&(G+=Ee.length)}}return{start:z,length:G}}}}},E.prototype._selectWordAt=function(A,S){var T=this._getWordAt(A,S);if(T){for(;T.start<0;)T.start+=this._bufferService.cols,A[1]--;this._model.selectionStart=[T.start,A[1]],this._model.selectionStartLength=T.length}},E.prototype._selectToWordAt=function(A){var S=this._getWordAt(A,!0);if(S){for(var T=A[1];S.start<0;)S.start+=this._bufferService.cols,T--;if(!this._model.areSelectionValuesReversed())for(;S.start+S.length>this._bufferService.cols;)S.length-=this._bufferService.cols,T++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?S.start:S.start+S.length,T]}},E.prototype._isCharWordSeparator=function(A){return A.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(A.getChars())>=0},E.prototype._selectLineAt=function(A){var S=this._bufferService.buffer.getWrappedRangeForLine(A);this._model.selectionStart=[0,S.first],this._model.selectionEnd=[this._bufferService.cols,S.last],this._model.selectionStartLength=0},E=h([c(2,n.IBufferService),c(3,n.ICoreService),c(4,d.IMouseService),c(5,n.IOptionsService),c(6,d.IRenderService)],E)}(s.Disposable);f.SelectionService=w},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.SelectionModel=void 0;var m=function(){function v(h){this._bufferService=h,this.isSelectAllActive=!1,this.selectionStartLength=0}return v.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(v.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(v.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 c=this.selectionStart[0]+this.selectionStartLength;return c>this._bufferService.cols?[c%this._bufferService.cols,this.selectionStart[1]+Math.floor(c/this._bufferService.cols)]:[c,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}),v.prototype.areSelectionValuesReversed=function(){var h=this.selectionStart,c=this.selectionEnd;return!(!h||!c)&&(h[1]>c[1]||h[1]===c[1]&&h[0]>c[0])},v.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)},v}();f.SelectionModel=m},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.moveToCellSequence=void 0;var m=y(12);function v(o,d,n,l){var t=o-h(n,o),s=d-h(n,d);return r(Math.abs(t-s)-function(u,p,w){for(var b=0,E=u-h(w,u),A=p-h(w,p),S=0;S<Math.abs(E-A);S++){var T=c(u,p)==="A"?-1:1,L=w.buffer.lines.get(E+T*S);L&&L.isWrapped&&b++}return b}(o,d,n),i(c(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 c(o,d){return o>d?"A":"B"}function a(o,d,n,l,t,s){for(var u=o,p=d,w="";u!==n||p!==l;)u+=t?1:-1,t&&u>s.cols-1?(w+=s.buffer.translateBufferLineToString(p,!1,o,u),u=0,o=0,p++):!t&&u<0&&(w+=s.buffer.translateBufferLineToString(p,!1,0,o+1),o=u=s.cols-1,p--);return w+s.buffer.translateBufferLineToString(p,!1,o,u)}function i(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,u=n.buffer.y;if(!n.buffer.hasScrollback)return function(w,b,E,A,S,T){return v(b,A,S,T).length===0?"":r(a(w,b,w,b-h(S,b),!1,S).length,i("D",T))}(s,u,0,d,n,l)+v(u,d,n,l)+function(w,b,E,A,S,T){var L;L=v(b,A,S,T).length>0?A-h(S,A):b;var x=A,C=function(I,N,F,k,B,P){var K;return K=v(F,k,B,P).length>0?k-h(B,k):N,I<F&&K<=k||I>=F&&K<k?"C":"D"}(w,b,E,A,S,T);return r(a(w,L,E,x,C==="C",S).length,i(C,T))}(s,u,o,d,n,l);if(u===d)return t=s>o?"D":"C",r(Math.abs(s-o),i(t,l));t=u>d?"D":"C";var p=Math.abs(u-d);return r(function(w,b){return b.cols-w}(u>d?o:s,n)+(p-1)*n.cols+1+((u>d?s:o)-1),i(t,l))}},function(g,f,y){"use strict";var m=this&&this.__decorate||function(a,i,r,o){var d,n=arguments.length,l=n<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,r):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(a,i,r,o);else for(var t=a.length-1;t>=0;t--)(d=a[t])&&(l=(n<3?d(l):n>3?d(i,r,l):d(i,r))||l);return n>3&&l&&Object.defineProperty(i,r,l),l},v=this&&this.__param||function(a,i){return function(r,o){i(r,o,a)}};Object.defineProperty(f,"__esModule",{value:!0}),f.SoundService=void 0;var h=y(1),c=function(){function a(i){this._optionsService=i}return Object.defineProperty(a,"audioContext",{get:function(){if(!a._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;a._audioContext=new r}return a._audioContext},enumerable:!1,configurable:!0}),a.prototype.playBellSound=function(){var i=a.audioContext;if(i){var r=i.createBufferSource();i.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(o){r.buffer=o,r.connect(i.destination),r.start(0)})}},a.prototype._base64ToArrayBuffer=function(i){for(var r=window.atob(i),o=r.length,d=new Uint8Array(o),n=0;n<o;n++)d[n]=r.charCodeAt(n);return d.buffer},a.prototype._removeMimeType=function(i){return i.split(",")[1]},a=m([v(0,h.IOptionsService)],a)}();f.SoundService=c},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var p in u)u.hasOwnProperty(p)&&(s[p]=u[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 u,p=arguments.length,w=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(n,l,t,s);else for(var b=n.length-1;b>=0;b--)(u=n[b])&&(w=(p<3?u(w):p>3?u(l,t,w):u(l,t))||w);return p>3&&w&&Object.defineProperty(l,t,w),w},c=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 a=y(2),i=y(7),r=y(5),o=y(1),d=function(n){function l(t,s,u,p,w,b){var E=n.call(this)||this;return E._element=t,E._screenElement=s,E._bufferService=u,E._mouseService=p,E._selectionService=w,E._optionsService=b,E._zones=[],E._areZonesActive=!1,E._lastHoverCoords=[void 0,void 0],E._initialSelectionLength=0,E.register(i.addDisposableDomListener(E._element,"mousedown",function(A){return E._onMouseDown(A)})),E._mouseMoveListener=function(A){return E._onMouseMove(A)},E._mouseLeaveListener=function(A){return E._onMouseLeave(A)},E._clickListener=function(A){return E._onClick(A)},E}return v(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 u=0;u<this._zones.length;u++){var p=this._zones[u];(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(u--,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,u=this._findZoneEventAt(t);u!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),u&&(this._currentZone=u,u.hoverCallback&&u.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),u=this._getSelectionLength();s&&u===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 u=s[0],p=s[1],w=0;w<this._zones.length;w++){var b=this._zones[w];if(b.y1===b.y2){if(p===b.y1&&u>=b.x1&&u<b.x2)return b}else if(p===b.y1&&u>=b.x1||p===b.y2&&u<b.x2||p>b.y1&&p<b.y2)return b}},l=h([c(2,o.IBufferService),c(3,r.IMouseService),c(4,r.ISelectionService),c(5,o.IOptionsService)],l)}(a.Disposable);f.MouseZoneManager=d},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(t,s){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,p){u.__proto__=p}||function(u,p){for(var w in p)p.hasOwnProperty(w)&&(u[w]=p[w])})(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=y(18),c=y(11),a=y(31),i=y(7),r=y(2),o=y(32),d=y(17),n=function(l){function t(s,u){var p=l.call(this)||this;p._terminal=s,p._renderService=u,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 w=0;w<p._terminal.rows;w++)p._rowElements[w]=p._createAccessibilityTreeNode(),p._rowContainer.appendChild(p._rowElements[w]);if(p._topBoundaryFocusListener=function(b){return p._onBoundaryFocus(b,0)},p._bottomBoundaryFocusListener=function(b){return p._onBoundaryFocus(b,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 a.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(b){return p._onResize(b.rows)})),p.register(p._terminal.onRender(function(b){return p._refreshRows(b.start,b.end)})),p.register(p._terminal.onScroll(function(){return p._refreshRows()})),p.register(p._terminal.onA11yChar(function(b){return p._onChar(b)})),p.register(p._terminal.onLineFeed(function(){return p._onChar(`
`)})),p.register(p._terminal.onA11yTab(function(b){return p._onTab(b)})),p.register(p._terminal.onKey(function(b){return p._onKey(b.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(i.addDisposableDomListener(window,"resize",function(){return p._refreshRowsDimensions()})),p}return v(t,l),t.prototype.dispose=function(){l.prototype.dispose.call(this),d.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},t.prototype._onBoundaryFocus=function(s,u){var p=s.target,w=this._rowElements[u===0?1:this._rowElements.length-2];if(p.getAttribute("aria-posinset")!==(u===0?"1":""+this._terminal.buffer.lines.length)&&s.relatedTarget===w){var b,E;if(u===0?(b=p,E=this._rowElements.pop(),this._rowContainer.removeChild(E)):(b=this._rowElements.shift(),E=p,this._rowContainer.removeChild(b)),b.removeEventListener("focus",this._topBoundaryFocusListener),E.removeEventListener("focus",this._bottomBoundaryFocusListener),u===0){var A=this._createAccessibilityTreeNode();this._rowElements.unshift(A),this._rowContainer.insertAdjacentElement("afterbegin",A)}else A=this._createAccessibilityTreeNode(),this._rowElements.push(A),this._rowContainer.appendChild(A);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(u===0?-1:1),this._rowElements[u===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 u=this._rowContainer.children.length;u<this._terminal.rows;u++)this._rowElements[u]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[u]);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 u=0;u<s;u++)this._onChar(" ")},t.prototype._onChar=function(s){var u=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)),c.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){u._accessibilityTreeRoot.appendChild(u._liveRegion)},0))},t.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,c.isMac&&d.removeElementFromParent(this._liveRegion)},t.prototype._onKey=function(s){this._clearLiveRegion(),this._charsToConsume.push(s)},t.prototype._refreshRows=function(s,u){this._renderRowsDebouncer.refresh(s,u,this._terminal.rows)},t.prototype._renderRows=function(s,u){for(var p=this._terminal.buffer,w=p.lines.length.toString(),b=s;b<=u;b++){var E=p.translateBufferLineToString(p.ydisp+b,!0),A=(p.ydisp+b+1).toString(),S=this._rowElements[b];S&&(E.length===0?S.innerHTML="&nbsp;":S.textContent=E,S.setAttribute("aria-posinset",A),S.setAttribute("aria-setsize",w))}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,y){"use strict";var m,v=this&&this.__extends||(m=function(w,b){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,A){E.__proto__=A}||function(E,A){for(var S in A)A.hasOwnProperty(S)&&(E[S]=A[S])})(w,b)},function(p,w){function b(){this.constructor=p}m(p,w),p.prototype=w===null?Object.create(w):(b.prototype=w.prototype,new b)}),h=this&&this.__decorate||function(p,w,b,E){var A,S=arguments.length,T=S<3?w:E===null?E=Object.getOwnPropertyDescriptor(w,b):E;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")T=Reflect.decorate(p,w,b,E);else for(var L=p.length-1;L>=0;L--)(A=p[L])&&(T=(S<3?A(T):S>3?A(w,b,T):A(w,b))||T);return S>3&&T&&Object.defineProperty(w,b,T),T},c=this&&this.__param||function(p,w){return function(b,E){w(b,E,p)}};Object.defineProperty(f,"__esModule",{value:!0}),f.DomRenderer=void 0;var a=y(58),i=y(9),r=y(2),o=y(5),d=y(1),n=y(0),l=y(10),t=y(17),s=1,u=function(p){function w(b,E,A,S,T,L,x,C,I){var N=p.call(this)||this;return N._colors=b,N._element=E,N._screenElement=A,N._viewportElement=S,N._linkifier=T,N._linkifier2=L,N._charSizeService=x,N._optionsService=C,N._bufferService=I,N._terminalClass=s++,N._rowElements=[],N._rowContainer=document.createElement("div"),N._rowContainer.classList.add("xterm-rows"),N._rowContainer.style.lineHeight="normal",N._rowContainer.setAttribute("aria-hidden","true"),N._refreshRowElements(N._bufferService.cols,N._bufferService.rows),N._selectionContainer=document.createElement("div"),N._selectionContainer.classList.add("xterm-selection"),N._selectionContainer.setAttribute("aria-hidden","true"),N.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},N._updateDimensions(),N._injectCss(),N._rowFactory=new a.DomRendererRowFactory(document,N._optionsService,N._colors),N._element.classList.add("xterm-dom-renderer-owner-"+N._terminalClass),N._screenElement.appendChild(N._rowContainer),N._screenElement.appendChild(N._selectionContainer),N._linkifier.onShowLinkUnderline(function(F){return N._onLinkHover(F)}),N._linkifier.onHideLinkUnderline(function(F){return N._onLinkLeave(F)}),N._linkifier2.onShowLinkUnderline(function(F){return N._onLinkHover(F)}),N._linkifier2.onHideLinkUnderline(function(F){return N._onLinkLeave(F)}),N}return v(w,p),Object.defineProperty(w.prototype,"onRequestRedraw",{get:function(){return new n.EventEmitter().event},enumerable:!1,configurable:!0}),w.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)},w.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 b=0,E=this._rowElements;b<E.length;b++){var A=E[b];A.style.width=this.dimensions.canvasWidth+"px",A.style.height=this.dimensions.actualCellHeight+"px",A.style.lineHeight=this.dimensions.actualCellHeight+"px",A.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var S=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=S,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},w.prototype.setColors=function(b){this._colors=b,this._injectCss()},w.prototype._injectCss=function(){var b=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var E=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";E+=this._terminalSelector+" span:not(."+a.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+a.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+a.ITALIC_CLASS+" { font-style: italic;}",E+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",E+="@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+"; }}",E+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+a.CURSOR_CLASS+"."+a.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+a.CURSOR_CLASS+"."+a.CURSOR_BLINK_CLASS+":not(."+a.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+a.CURSOR_CLASS+"."+a.CURSOR_BLINK_CLASS+"."+a.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+a.CURSOR_CLASS+"."+a.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+a.CURSOR_CLASS+"."+a.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+a.CURSOR_CLASS+"."+a.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",E+=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(A,S){E+=b._terminalSelector+" .xterm-fg-"+S+" { color: "+A.css+"; }"+b._terminalSelector+" .xterm-bg-"+S+" { background-color: "+A.css+"; }"}),E+=this._terminalSelector+" .xterm-fg-"+i.INVERTED_DEFAULT_COLOR+" { color: "+l.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+i.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=E},w.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},w.prototype._refreshRowElements=function(b,E){for(var A=this._rowElements.length;A<=E;A++){var S=document.createElement("div");this._rowContainer.appendChild(S),this._rowElements.push(S)}for(;this._rowElements.length>E;)this._rowContainer.removeChild(this._rowElements.pop())},w.prototype.onResize=function(b,E){this._refreshRowElements(b,E),this._updateDimensions()},w.prototype.onCharSizeChanged=function(){this._updateDimensions()},w.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},w.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},w.prototype.onSelectionChanged=function(b,E,A){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(b&&E){var S=b[1]-this._bufferService.buffer.ydisp,T=E[1]-this._bufferService.buffer.ydisp,L=Math.max(S,0),x=Math.min(T,this._bufferService.rows-1);if(!(L>=this._bufferService.rows||x<0)){var C=document.createDocumentFragment();if(A)C.appendChild(this._createSelectionElement(L,b[0],E[0],x-L+1));else{var I=S===L?b[0]:0,N=L===x?E[0]:this._bufferService.cols;C.appendChild(this._createSelectionElement(L,I,N));var F=x-L-1;if(C.appendChild(this._createSelectionElement(L+1,0,this._bufferService.cols,F)),L!==x){var k=T===x?E[0]:this._bufferService.cols;C.appendChild(this._createSelectionElement(x,0,k))}}this._selectionContainer.appendChild(C)}}},w.prototype._createSelectionElement=function(b,E,A,S){S===void 0&&(S=1);var T=document.createElement("div");return T.style.height=S*this.dimensions.actualCellHeight+"px",T.style.top=b*this.dimensions.actualCellHeight+"px",T.style.left=E*this.dimensions.actualCellWidth+"px",T.style.width=this.dimensions.actualCellWidth*(A-E)+"px",T},w.prototype.onCursorMove=function(){},w.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},w.prototype.clear=function(){for(var b=0,E=this._rowElements;b<E.length;b++)E[b].innerHTML=""},w.prototype.renderRows=function(b,E){for(var A=this._bufferService.buffer.ybase+this._bufferService.buffer.y,S=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),T=this._optionsService.options.cursorBlink,L=b;L<=E;L++){var x=this._rowElements[L];x.innerHTML="";var C=L+this._bufferService.buffer.ydisp,I=this._bufferService.buffer.lines.get(C),N=this._optionsService.options.cursorStyle;x.appendChild(this._rowFactory.createRow(I,C===A,N,S,T,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(w.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),w.prototype.registerCharacterJoiner=function(b){return-1},w.prototype.deregisterCharacterJoiner=function(b){return!1},w.prototype._onLinkHover=function(b){this._setCellUnderline(b.x1,b.x2,b.y1,b.y2,b.cols,!0)},w.prototype._onLinkLeave=function(b){this._setCellUnderline(b.x1,b.x2,b.y1,b.y2,b.cols,!1)},w.prototype._setCellUnderline=function(b,E,A,S,T,L){for(;b!==E||A!==S;){var x=this._rowElements[A];if(!x)return;var C=x.children[b];C&&(C.style.textDecoration=L?"underline":"none"),++b>=T&&(b=0,A++)}},w=h([c(6,o.ICharSizeService),c(7,d.IOptionsService),c(8,d.IBufferService)],w)}(r.Disposable);f.DomRenderer=u},function(g,f,y){"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=y(9),v=y(3),h=y(4),c=y(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 a=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,u){for(var p=this._document.createDocumentFragment(),w=0,b=Math.min(o.length,u)-1;b>=0;b--)if(o.loadCell(b,this._workCell).getCode()!==v.NULL_CELL_CODE||d&&b===l){w=b+1;break}for(b=0;b<w;b++){o.loadCell(b,this._workCell);var E=this._workCell.getWidth();if(E!==0){var A=this._document.createElement("span");if(E>1&&(A.style.width=s*E+"px"),d&&b===l)switch(A.classList.add(f.CURSOR_CLASS),t&&A.classList.add(f.CURSOR_BLINK_CLASS),n){case"bar":A.classList.add(f.CURSOR_STYLE_BAR_CLASS);break;case"underline":A.classList.add(f.CURSOR_STYLE_UNDERLINE_CLASS);break;default:A.classList.add(f.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&A.classList.add(f.BOLD_CLASS),this._workCell.isItalic()&&A.classList.add(f.ITALIC_CLASS),this._workCell.isDim()&&A.classList.add(f.DIM_CLASS),this._workCell.isUnderline()&&A.classList.add(f.UNDERLINE_CLASS),this._workCell.isInvisible()?A.textContent=v.WHITESPACE_CELL_CHAR:A.textContent=this._workCell.getChars()||v.WHITESPACE_CELL_CHAR;var S=this._workCell.getFgColor(),T=this._workCell.getFgColorMode(),L=this._workCell.getBgColor(),x=this._workCell.getBgColorMode(),C=!!this._workCell.isInverse();if(C){var I=S;S=L,L=I;var N=T;T=x,x=N}switch(T){case 16777216:case 33554432:this._workCell.isBold()&&S<8&&this._optionsService.options.drawBoldTextInBrightColors&&(S+=8),this._applyMinimumContrast(A,this._colors.background,this._colors.ansi[S])||A.classList.add("xterm-fg-"+S);break;case 50331648:var F=c.rgba.toColor(S>>16&255,S>>8&255,255&S);this._applyMinimumContrast(A,this._colors.background,F)||this._addStyle(A,"color:#"+i(S.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(A,this._colors.background,this._colors.foreground)||C&&A.classList.add("xterm-fg-"+m.INVERTED_DEFAULT_COLOR)}switch(x){case 16777216:case 33554432:A.classList.add("xterm-bg-"+L);break;case 50331648:this._addStyle(A,"background-color:#"+i(L.toString(16),"0",6));break;case 0:default:C&&A.classList.add("xterm-bg-"+m.INVERTED_DEFAULT_COLOR)}p.appendChild(A)}}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=c.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 i(r,o,d){for(;r.length<d;)r=o+r;return r}f.DomRendererRowFactory=a},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.evaluateKeyboardEvent=void 0;var m=y(12),v={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,c,a,i){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=c?m.C0.ESC+"OA":m.C0.ESC+"[A":h.key==="UIKeyInputLeftArrow"?r.key=c?m.C0.ESC+"OD":m.C0.ESC+"[D":h.key==="UIKeyInputRightArrow"?r.key=c?m.C0.ESC+"OC":m.C0.ESC+"[C":h.key==="UIKeyInputDownArrow"&&(r.key=c?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+(a?"b":"[1;5D"))):r.key=c?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+(a?"f":"[1;5C"))):r.key=c?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",a||r.key!==m.C0.ESC+"[1;3A"||(r.key=m.C0.ESC+"[1;5A")):r.key=c?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",a||r.key!==m.C0.ESC+"[1;3B"||(r.key=m.C0.ESC+"[1;5B")):r.key=c?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":c?m.C0.ESC+"OH":m.C0.ESC+"[H";break;case 35:r.key=o?m.C0.ESC+"[1;"+(o+1)+"F":c?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(a&&!i||!h.altKey||h.metaKey)a&&!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=v[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,y){"use strict";var m,v=this&&this.__extends||(m=function(u,p){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,b){w.__proto__=b}||function(w,b){for(var E in b)b.hasOwnProperty(E)&&(w[E]=b[E])})(u,p)},function(s,u){function p(){this.constructor=s}m(s,u),s.prototype=u===null?Object.create(u):(p.prototype=u.prototype,new p)}),h=this&&this.__decorate||function(s,u,p,w){var b,E=arguments.length,A=E<3?u:w===null?w=Object.getOwnPropertyDescriptor(u,p):w;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(s,u,p,w);else for(var S=s.length-1;S>=0;S--)(b=s[S])&&(A=(E<3?b(A):E>3?b(u,p,A):b(u,p))||A);return E>3&&A&&Object.defineProperty(u,p,A),A},c=this&&this.__param||function(s,u){return function(p,w){u(p,w,s)}};Object.defineProperty(f,"__esModule",{value:!0}),f.RenderService=void 0;var a=y(31),i=y(0),r=y(2),o=y(32),d=y(7),n=y(1),l=y(5),t=function(s){function u(p,w,b,E,A,S){var T=s.call(this)||this;if(T._renderer=p,T._rowCount=w,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 i.EventEmitter,T._onRender=new i.EventEmitter,T._onRefreshRequest=new i.EventEmitter,T.register({dispose:function(){return T._renderer.dispose()}}),T._renderDebouncer=new a.RenderDebouncer(function(x,C){return T._renderRows(x,C)}),T.register(T._renderDebouncer),T._screenDprMonitor=new o.ScreenDprMonitor,T._screenDprMonitor.setListener(function(){return T.onDevicePixelRatioChange()}),T.register(T._screenDprMonitor),T.register(S.onResize(function(x){return T._fullRefresh()})),T.register(E.onOptionChange(function(){return T._renderer.onOptionsChanged()})),T.register(A.onCharSizeChange(function(){return T.onCharSizeChanged()})),T._renderer.onRequestRedraw(function(x){return T.refreshRows(x.start,x.end,!0)}),T.register(d.addDisposableDomListener(window,"resize",function(){return T.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var L=new IntersectionObserver(function(x){return T._onIntersectionChange(x[x.length-1])},{threshold:0});L.observe(b),T.register({dispose:function(){return L.disconnect()}})}return T}return v(u,s),Object.defineProperty(u.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),u.prototype._onIntersectionChange=function(p){this._isPaused=p.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},u.prototype.refreshRows=function(p,w,b){b===void 0&&(b=!1),this._isPaused?this._needsFullRefresh=!0:(b||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(p,w,this._rowCount))},u.prototype._renderRows=function(p,w){this._renderer.renderRows(p,w),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:w}),this._isNextRenderRedrawOnly=!0},u.prototype.resize=function(p,w){this._rowCount=w,this._fireOnCanvasResize()},u.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},u.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},u.prototype.dispose=function(){s.prototype.dispose.call(this)},u.prototype.setRenderer=function(p){var w=this;this._renderer.dispose(),this._renderer=p,this._renderer.onRequestRedraw(function(b){return w.refreshRows(b.start,b.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},u.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},u.prototype.setColors=function(p){this._renderer.setColors(p),this._fullRefresh()},u.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},u.prototype.onResize=function(p,w){this._renderer.onResize(p,w),this._fullRefresh()},u.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},u.prototype.onBlur=function(){this._renderer.onBlur()},u.prototype.onFocus=function(){this._renderer.onFocus()},u.prototype.onSelectionChanged=function(p,w,b){this._selectionState.start=p,this._selectionState.end=w,this._selectionState.columnSelectMode=b,this._renderer.onSelectionChanged(p,w,b)},u.prototype.onCursorMove=function(){this._renderer.onCursorMove()},u.prototype.clear=function(){this._renderer.clear()},u.prototype.registerCharacterJoiner=function(p){return this._renderer.registerCharacterJoiner(p)},u.prototype.deregisterCharacterJoiner=function(p){return this._renderer.deregisterCharacterJoiner(p)},u=h([c(3,n.IOptionsService),c(4,l.ICharSizeService),c(5,n.IBufferService)],u)}(r.Disposable);f.RenderService=t},function(g,f,y){"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 u=r.length-1;u>=0;u--)(l=r[u])&&(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},v=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=y(1),c=y(0),a=function(){function r(o,d,n){this._optionsService=n,this.width=0,this.height=0,this._onCharSizeChange=new c.EventEmitter,this._measureStrategy=new i(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([v(2,h.IOptionsService)],r)}();f.CharSizeService=a;var i=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,y){"use strict";var m=this&&this.__decorate||function(i,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(i,r,o,d);else for(var s=i.length-1;s>=0;s--)(n=i[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},v=this&&this.__param||function(i,r){return function(o,d){r(o,d,i)}};Object.defineProperty(f,"__esModule",{value:!0}),f.MouseService=void 0;var h=y(5),c=y(30),a=function(){function i(r,o){this._renderService=r,this._charSizeService=o}return i.prototype.getCoords=function(r,o,d,n,l){return c.getCoords(r,o,d,n,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,l)},i.prototype.getRawByteCoords=function(r,o,d,n){var l=this.getCoords(r,o,d,n);return c.getRawByteCoords(l)},i=m([v(0,h.IRenderService),v(1,h.ICharSizeService)],i)}();f.MouseService=a},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var p in u)u.hasOwnProperty(p)&&(s[p]=u[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 u,p=arguments.length,w=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(n,l,t,s);else for(var b=n.length-1;b>=0;b--)(u=n[b])&&(w=(p<3?u(w):p>3?u(l,t,w):u(l,t))||w);return p>3&&w&&Object.defineProperty(l,t,w),w},c=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 a=y(1),i=y(0),r=y(2),o=y(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 i.EventEmitter),s._onHideLinkUnderline=s.register(new i.EventEmitter),s.register(r.getDisposeArrayDisposable(s._linkCacheDisposables)),s}return v(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,u){var p=this;this._element=t,this._mouseService=s,this._renderService=u,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 u=t.composedPath(),p=0;p<u.length;p++){var w=u[p];if(w.classList.contains("xterm"))break;if(w.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 u=this;this._activeProviderReplies&&s||(this._activeProviderReplies=new Map,this._activeLine=t.y);var p=!1;this._linkProviders.forEach(function(w,b){var E;s?((E=u._activeProviderReplies)===null||E===void 0?void 0:E.get(b))&&(p=u._checkLinkProviderResult(b,t,p)):w.provideLinks(t.y,function(A){var S,T;if(!u._isMouseOut){var L=A==null?void 0:A.map(function(x){return{link:x}});(S=u._activeProviderReplies)===null||S===void 0||S.set(b,L),p=u._checkLinkProviderResult(b,t,p),((T=u._activeProviderReplies)===null||T===void 0?void 0:T.size)===u._linkProviders.length&&u._removeIntersectingLinks(t.y,u._activeProviderReplies)}})})},l.prototype._removeIntersectingLinks=function(t,s){for(var u=new Set,p=0;p<s.size;p++){var w=s.get(p);if(w)for(var b=0;b<w.length;b++)for(var E=w[b],A=E.link.range.start.y<t?0:E.link.range.start.x,S=E.link.range.end.y>t?this._bufferService.cols:E.link.range.end.x,T=A;T<=S;T++){if(u.has(T)){w.splice(b--,1);break}u.add(T)}}},l.prototype._checkLinkProviderResult=function(t,s,u){var p,w=this;if(!this._activeProviderReplies)return u;for(var b=this._activeProviderReplies.get(t),E=!1,A=0;A<t;A++)this._activeProviderReplies.has(A)&&!this._activeProviderReplies.get(A)||(E=!0);if(!E&&b){var S=b.find(function(L){return w._linkAtPosition(L.link,s)});S&&(u=!0,this._handleNewLink(S))}if(this._activeProviderReplies.size===this._linkProviders.length&&!u)for(A=0;A<this._activeProviderReplies.size;A++){var T=(p=this._activeProviderReplies.get(A))===null||p===void 0?void 0:p.find(function(L){return w._linkAtPosition(L.link,s)});if(T){u=!0,this._handleNewLink(T);break}}return u},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 u=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);u&&this._linkAtPosition(t.link,u)&&(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 w,b;return(b=(w=s._currentLink)===null||w===void 0?void 0:w.state)===null||b===void 0?void 0:b.decorations.pointerCursor},set:function(w){var b,E;((b=s._currentLink)===null||b===void 0?void 0:b.state)&&s._currentLink.state.decorations.pointerCursor!==w&&(s._currentLink.state.decorations.pointerCursor=w,s._currentLink.state.isHovered&&((E=s._element)===null||E===void 0||E.classList.toggle("xterm-cursor-pointer",w)))}},underline:{get:function(){var w,b;return(b=(w=s._currentLink)===null||w===void 0?void 0:w.state)===null||b===void 0?void 0:b.decorations.underline},set:function(w){var b,E,A;((b=s._currentLink)===null||b===void 0?void 0:b.state)&&((A=(E=s._currentLink)===null||E===void 0?void 0:E.state)===null||A===void 0?void 0:A.decorations.underline)!==w&&(s._currentLink.state.decorations.underline=w,s._currentLink.state.isHovered&&s._fireUnderlineEvent(t.link,w))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(p){var w=p.start===0?0:p.start+1+s._bufferService.buffer.ydisp;s._clearCurrentLink(w,p.end+1+s._bufferService.buffer.ydisp)})))}},l.prototype._linkHover=function(t,s,u){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(u,s.text)},l.prototype._fireUnderlineEvent=function(t,s){var u=t.range,p=this._bufferService.buffer.ydisp,w=this._createLinkUnderlineEvent(u.start.x-1,u.start.y-p-1,u.end.x,u.end.y-p-1,void 0);(s?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(w)},l.prototype._linkLeave=function(t,s,u){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(u,s.text)},l.prototype._linkAtPosition=function(t,s){var u=t.range.start.y===t.range.end.y,p=t.range.start.y<s.y,w=t.range.end.y>s.y;return(u&&t.range.start.x<=s.x&&t.range.end.x>=s.x||p&&t.range.end.x>=s.x||w&&t.range.start.x<=s.x||p&&w)&&t.range.start.y<=s.y&&t.range.end.y>=s.y},l.prototype._positionFromMouseEvent=function(t,s,u){var p=u.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,u,p,w){return{x1:t,y1:s,x2:u,y2:p,cols:this._bufferService.cols,fg:w}},l=h([c(0,a.IBufferService)],l)}(r.Disposable);f.Linkifier2=d},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CoreBrowserService=void 0;var m=function(){function v(h){this._textarea=h}return Object.defineProperty(v.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),v}();f.CoreBrowserService=m},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(S,T){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L,x){L.__proto__=x}||function(L,x){for(var C in x)x.hasOwnProperty(C)&&(L[C]=x[C])})(S,T)},function(A,S){function T(){this.constructor=A}m(A,S),A.prototype=S===null?Object.create(S):(T.prototype=S.prototype,new T)});Object.defineProperty(f,"__esModule",{value:!0}),f.CoreTerminal=void 0;var h=y(2),c=y(1),a=y(66),i=y(67),r=y(68),o=y(74),d=y(75),n=y(0),l=y(76),t=y(77),s=y(78),u=y(80),p=y(81),w=y(19),b=y(82),E=function(A){function S(T){var L=A.call(this)||this;return L._onBinary=new n.EventEmitter,L._onData=new n.EventEmitter,L._onLineFeed=new n.EventEmitter,L._onResize=new n.EventEmitter,L._onScroll=new n.EventEmitter,L._instantiationService=new a.InstantiationService,L.optionsService=new o.OptionsService(T),L._instantiationService.setService(c.IOptionsService,L.optionsService),L._bufferService=L.register(L._instantiationService.createInstance(r.BufferService)),L._instantiationService.setService(c.IBufferService,L._bufferService),L._logService=L._instantiationService.createInstance(i.LogService),L._instantiationService.setService(c.ILogService,L._logService),L._coreService=L.register(L._instantiationService.createInstance(d.CoreService,function(){return L.scrollToBottom()})),L._instantiationService.setService(c.ICoreService,L._coreService),L._coreMouseService=L._instantiationService.createInstance(l.CoreMouseService),L._instantiationService.setService(c.ICoreMouseService,L._coreMouseService),L._dirtyRowService=L._instantiationService.createInstance(t.DirtyRowService),L._instantiationService.setService(c.IDirtyRowService,L._dirtyRowService),L.unicodeService=L._instantiationService.createInstance(s.UnicodeService),L._instantiationService.setService(c.IUnicodeService,L.unicodeService),L._charsetService=L._instantiationService.createInstance(u.CharsetService),L._instantiationService.setService(c.ICharsetService,L._charsetService),L._inputHandler=new w.InputHandler(L._bufferService,L._charsetService,L._coreService,L._dirtyRowService,L._logService,L.optionsService,L._coreMouseService,L.unicodeService),L.register(n.forwardEvent(L._inputHandler.onLineFeed,L._onLineFeed)),L.register(L._inputHandler),L.register(n.forwardEvent(L._bufferService.onResize,L._onResize)),L.register(n.forwardEvent(L._coreService.onData,L._onData)),L.register(n.forwardEvent(L._coreService.onBinary,L._onBinary)),L.register(L.optionsService.onOptionChange(function(x){return L._updateOptions(x)})),L._writeBuffer=new b.WriteBuffer(function(x){return L._inputHandler.parse(x)}),L}return v(S,A),Object.defineProperty(S.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),S.prototype.dispose=function(){var T;this._isDisposed||(A.prototype.dispose.call(this),(T=this._windowsMode)===null||T===void 0||T.dispose(),this._windowsMode=void 0)},S.prototype.write=function(T,L){this._writeBuffer.write(T,L)},S.prototype.writeSync=function(T){this._writeBuffer.writeSync(T)},S.prototype.resize=function(T,L){isNaN(T)||isNaN(L)||(T=Math.max(T,r.MINIMUM_COLS),L=Math.max(L,r.MINIMUM_ROWS),this._bufferService.resize(T,L))},S.prototype.scroll=function(T,L){L===void 0&&(L=!1);var x,C=this._bufferService.buffer;(x=this._cachedBlankLine)&&x.length===this.cols&&x.getFg(0)===T.fg&&x.getBg(0)===T.bg||(x=C.getBlankLine(T,L),this._cachedBlankLine=x),x.isWrapped=L;var I=C.ybase+C.scrollTop,N=C.ybase+C.scrollBottom;if(C.scrollTop===0){var F=C.lines.isFull;N===C.lines.length-1?F?C.lines.recycle().copyFrom(x):C.lines.push(x.clone()):C.lines.splice(N+1,0,x.clone()),F?this._bufferService.isUserScrolling&&(C.ydisp=Math.max(C.ydisp-1,0)):(C.ybase++,this._bufferService.isUserScrolling||C.ydisp++)}else{var k=N-I+1;C.lines.shiftElements(I+1,k-1,-1),C.lines.set(N,x.clone())}this._bufferService.isUserScrolling||(C.ydisp=C.ybase),this._dirtyRowService.markRangeDirty(C.scrollTop,C.scrollBottom),this._onScroll.fire(C.ydisp)},S.prototype.scrollLines=function(T,L){var x=this._bufferService.buffer;if(T<0){if(x.ydisp===0)return;this._bufferService.isUserScrolling=!0}else T+x.ydisp>=x.ybase&&(this._bufferService.isUserScrolling=!1);var C=x.ydisp;x.ydisp=Math.max(Math.min(x.ydisp+T,x.ybase),0),C!==x.ydisp&&(L||this._onScroll.fire(x.ydisp))},S.prototype.scrollPages=function(T){this.scrollLines(T*(this.rows-1))},S.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},S.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},S.prototype.scrollToLine=function(T){var L=T-this._bufferService.buffer.ydisp;L!==0&&this.scrollLines(L)},S.prototype.addEscHandler=function(T,L){return this._inputHandler.addEscHandler(T,L)},S.prototype.addDcsHandler=function(T,L){return this._inputHandler.addDcsHandler(T,L)},S.prototype.addCsiHandler=function(T,L){return this._inputHandler.addCsiHandler(T,L)},S.prototype.addOscHandler=function(T,L){return this._inputHandler.addOscHandler(T,L)},S.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},S.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},S.prototype._updateOptions=function(T){var L;switch(T){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((L=this._windowsMode)===null||L===void 0||L.dispose(),this._windowsMode=void 0)}},S.prototype._enableWindowsMode=function(){var T=this;if(!this._windowsMode){var L=[];L.push(this.onLineFeed(p.updateWindowsModeWrappedState.bind(null,this._bufferService))),L.push(this.addCsiHandler({final:"H"},function(){return p.updateWindowsModeWrappedState(T._bufferService),!1})),this._windowsMode={dispose:function(){for(var C=0,I=L;C<I.length;C++)I[C].dispose()}}}},S}(h.Disposable);f.CoreTerminal=E},function(g,f,y){"use strict";var m=this&&this.__spreadArrays||function(){for(var i=0,r=0,o=arguments.length;r<o;r++)i+=arguments[r].length;var d=Array(i),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 v=y(1),h=y(14),c=function(){function i(){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 i.prototype.set=function(r,o){var d=this._entries.get(r);return this._entries.set(r,o),d},i.prototype.forEach=function(r){this._entries.forEach(function(o,d){return r(d,o)})},i.prototype.has=function(r){return this._entries.has(r)},i.prototype.get=function(r){return this._entries.get(r)},i}();f.ServiceCollection=c;var a=function(){function i(){this._services=new c,this._services.set(v.IInstantiationService,this)}return i.prototype.setService=function(r,o){this._services.set(r,o)},i.prototype.getService=function(r){return this._services.get(r)},i.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(b,E){return b.index-E.index}),l=[],t=0,s=n;t<s.length;t++){var u=s[t],p=this._services.get(u.id);if(!p)throw new Error("[createInstance] "+r.name+" depends on UNKNOWN service "+u.id+".");l.push(p)}var w=n.length>0?n[0].index:o.length;if(o.length!==w)throw new Error("[createInstance] First service dependency of "+r.name+" at position "+(w+1)+" conflicts with "+o.length+" static arguments");return new(r.bind.apply(r,m([void 0],m(o,l))))},i}();f.InstantiationService=a},function(g,f,y){"use strict";var m=this&&this.__decorate||function(o,d,n,l){var t,s=arguments.length,u=s<3?d:l===null?l=Object.getOwnPropertyDescriptor(d,n):l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")u=Reflect.decorate(o,d,n,l);else for(var p=o.length-1;p>=0;p--)(t=o[p])&&(u=(s<3?t(u):s>3?t(d,n,u):t(d,n))||u);return s>3&&u&&Object.defineProperty(d,n,u),u},v=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],u=0,p=s.length;u<p;u++,t++)l[t]=s[u];return l};Object.defineProperty(f,"__esModule",{value:!0}),f.LogService=f.LogLevel=void 0;var c,a=y(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"}(c=f.LogLevel||(f.LogLevel={}));var i={debug:c.DEBUG,info:c.INFO,warn:c.WARN,error:c.ERROR,off:c.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=i[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<=c.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<=c.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<=c.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<=c.ERROR&&this._log(console.error,d,n)},o=m([v(0,a.IOptionsService)],o)}();f.LogService=r},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(l,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var p in u)u.hasOwnProperty(p)&&(s[p]=u[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 u,p=arguments.length,w=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(n,l,t,s);else for(var b=n.length-1;b>=0;b--)(u=n[b])&&(w=(p<3?u(w):p>3?u(l,t,w):u(l,t))||w);return p>3&&w&&Object.defineProperty(l,t,w),w},c=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 a=y(1),i=y(69),r=y(0),o=y(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 i.BufferSet(t,s),s}return v(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 i.BufferSet(this._optionsService,this),this.isUserScrolling=!1},l=h([c(0,a.IOptionsService)],l)}(o.Disposable);f.BufferService=d},function(g,f,y){"use strict";var m,v=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(i,r){function o(){this.constructor=i}m(i,r),i.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)});Object.defineProperty(f,"__esModule",{value:!0}),f.BufferSet=void 0;var h=y(70),c=y(0),a=function(i){function r(o,d){var n=i.call(this)||this;return n._onBufferActivate=n.register(new c.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 v(r,i),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}(y(2).Disposable);f.BufferSet=a},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.BufferStringIterator=f.Buffer=f.MAX_BUFFER_SIZE=void 0;var m=y(71),v=y(16),h=y(4),c=y(3),a=y(72),i=y(73),r=y(20),o=y(6);f.MAX_BUFFER_SIZE=4294967295;var d=function(){function l(t,s,u){this._hasScrollback=t,this._optionsService=s,this._bufferService=u,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=v.DEFAULT_ATTR_DATA.clone(),this.savedCharset=r.DEFAULT_CHARSET,this.markers=[],this._nullCell=h.CellData.fromCharData([0,c.NULL_CELL_CHAR,c.NULL_CELL_WIDTH,c.NULL_CELL_CODE]),this._whitespaceCell=h.CellData.fromCharData([0,c.WHITESPACE_CELL_CHAR,c.WHITESPACE_CELL_WIDTH,c.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 v.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=v.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 u=this.getNullCell(v.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 w=0;w<this.lines.length;w++)this.lines.get(w).resize(t,u);var b=0;if(this._rows<s)for(var E=this._rows;E<s;E++)this.lines.length<s+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new v.BufferLine(t,u)):this.ybase>0&&this.lines.length<=this.ybase+this.y+b+1?(this.ybase--,b++,this.ydisp>0&&this.ydisp--):this.lines.push(new v.BufferLine(t,u)));else for(E=this._rows;E>s;E--)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 A=this.lines.length-p;A>0&&(this.lines.trimStart(A),this.ybase=Math.max(this.ybase-A,0),this.ydisp=Math.max(this.ydisp-A,0),this.savedY=Math.max(this.savedY-A,0)),this.lines.maxLength=p}this.x=Math.min(this.x,t-1),this.y=Math.min(this.y,s-1),b&&(this.y+=b),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(w=0;w<this.lines.length;w++)this.lines.get(w).resize(t,u);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 u=a.reflowLargerGetLinesToRemove(this.lines,this._cols,t,this.ybase+this.y,this.getNullCell(v.DEFAULT_ATTR_DATA));if(u.length>0){var p=a.reflowLargerCreateNewLayout(this.lines,u);a.reflowLargerApplyNewLayout(this.lines,p.layout),this._reflowLargerAdjustViewport(t,s,p.countRemoved)}},l.prototype._reflowLargerAdjustViewport=function(t,s,u){for(var p=this.getNullCell(v.DEFAULT_ATTR_DATA),w=u;w-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length<s&&this.lines.push(new v.BufferLine(t,p))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-u,0)},l.prototype._reflowSmaller=function(t,s){for(var u=this.getNullCell(v.DEFAULT_ATTR_DATA),p=[],w=0,b=this.lines.length-1;b>=0;b--){var E=this.lines.get(b);if(!(!E||!E.isWrapped&&E.getTrimmedLength()<=t)){for(var A=[E];E.isWrapped&&b>0;)E=this.lines.get(--b),A.unshift(E);var S=this.ybase+this.y;if(!(S>=b&&S<b+A.length)){var T=A[A.length-1].getTrimmedLength(),L=a.reflowSmallerGetNewLineLengths(A,this._cols,t),x=L.length-A.length,C=void 0;C=this.ybase===0&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+x):Math.max(0,this.lines.length-this.lines.maxLength+x);for(var I=[],N=0;N<x;N++){var F=this.getBlankLine(v.DEFAULT_ATTR_DATA,!0);I.push(F)}I.length>0&&(p.push({start:b+A.length+w,newLines:I}),w+=I.length),A.push.apply(A,I);var k=L.length-1,B=L[k];B===0&&(B=L[--k]);for(var P=A.length-x-1,K=T;P>=0;){var R=Math.min(K,B);if(A[k].copyCellsFrom(A[P],K-R,B-R,R,!0),(B-=R)===0&&(B=L[--k]),(K-=R)===0){P--;var U=Math.max(P,0);K=a.getWrappedLineTrimmedLength(A,U,this._cols)}}for(N=0;N<A.length;N++)L[N]<t&&A[N].setCell(L[N],u);for(var j=x-C;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+w)-s&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+x,this.ybase+s-1)}}}if(p.length>0){var H=[],W=[];for(N=0;N<this.lines.length;N++)W.push(this.lines.get(N));var X=this.lines.length,z=X-1,G=0,Z=p[G];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+w);var ge=0;for(N=Math.min(this.lines.maxLength-1,X+w-1);N>=0;N--)if(Z&&Z.start>z+ge){for(var Q=Z.newLines.length-1;Q>=0;Q--)this.lines.set(N--,Z.newLines[Q]);N++,H.push({index:z+1,amount:Z.newLines.length}),ge+=Z.newLines.length,Z=p[++G]}else this.lines.set(N,W[z--]);var we=0;for(N=H.length-1;N>=0;N--)H[N].index+=we,this.lines.onInsertEmitter.fire(H[N]),we+=H[N].amount;var Ee=Math.max(0,X+w-this.lines.maxLength);Ee>0&&this.lines.onTrimEmitter.fire(Ee)}},l.prototype.stringIndexToBufferIndex=function(t,s,u){for(u===void 0&&(u=!1);s;){var p=this.lines.get(t);if(!p)return[-1,-1];for(var w=u?p.getTrimmedLength():p.length,b=0;b<w;++b)if(p.get(b)[c.CHAR_DATA_WIDTH_INDEX]&&(s-=p.get(b)[c.CHAR_DATA_CHAR_INDEX].length||1),s<0)return[t,b];t++}return[t,0]},l.prototype.translateBufferLineToString=function(t,s,u,p){u===void 0&&(u=0);var w=this.lines.get(t);return w?w.translateToString(s,u,p):""},l.prototype.getWrappedRangeForLine=function(t){for(var s=t,u=t;s>0&&this.lines.get(s).isWrapped;)s--;for(;u+1<this.lines.length&&this.lines.get(u+1).isWrapped;)u++;return{first:s,last:u}},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,u=new i.Marker(t);return this.markers.push(u),u.register(this.lines.onTrim(function(p){u.line-=p,u.line<0&&u.dispose()})),u.register(this.lines.onInsert(function(p){u.line>=p.index&&(u.line+=p.amount)})),u.register(this.lines.onDelete(function(p){u.line>=p.index&&u.line<p.index+p.amount&&u.dispose(),u.line>p.index&&(u.line-=p.amount)})),u.register(u.onDispose(function(){return s._removeMarker(u)})),u},l.prototype._removeMarker=function(t){this.markers.splice(this.markers.indexOf(t),1)},l.prototype.iterator=function(t,s,u,p,w){return new n(this,t,s,u,p,w)},l}();f.Buffer=d;var n=function(){function l(t,s,u,p,w,b){u===void 0&&(u=0),p===void 0&&(p=t.lines.length),w===void 0&&(w=0),b===void 0&&(b=0),this._buffer=t,this._trimRight=s,this._startIndex=u,this._endIndex=p,this._startOverscan=w,this._endOverscan=b,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="",u=t.first;u<=t.last;++u)s+=this._buffer.translateBufferLineToString(u,this._trimRight);return this._current=t.last+1,{range:t,content:s}},l}();f.BufferStringIterator=n},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CircularList=void 0;var m=y(0),v=function(){function h(c){this._maxLength=c,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(a){if(this._maxLength!==a){for(var i=new Array(a),r=0;r<Math.min(a,this.length);r++)i[r]=this._array[this._getCyclicIndex(r)];this._array=i,this._maxLength=a,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"length",{get:function(){return this._length},set:function(a){if(a>this._length)for(var i=this._length;i<a;i++)this._array[i]=void 0;this._length=a},enumerable:!1,configurable:!0}),h.prototype.get=function(c){return this._array[this._getCyclicIndex(c)]},h.prototype.set=function(c,a){this._array[this._getCyclicIndex(c)]=a},h.prototype.push=function(c){this._array[this._getCyclicIndex(this._length)]=c,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(c,a){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];if(a){for(var o=c;o<this._length-a;o++)this._array[this._getCyclicIndex(o)]=this._array[this._getCyclicIndex(o+a)];this._length-=a}for(o=this._length-1;o>=c;o--)this._array[this._getCyclicIndex(o+i.length)]=this._array[this._getCyclicIndex(o)];for(o=0;o<i.length;o++)this._array[this._getCyclicIndex(c+o)]=i[o];if(this._length+i.length>this._maxLength){var d=this._length+i.length-this._maxLength;this._startIndex+=d,this._length=this._maxLength,this.onTrimEmitter.fire(d)}else this._length+=i.length},h.prototype.trimStart=function(c){c>this._length&&(c=this._length),this._startIndex+=c,this._length-=c,this.onTrimEmitter.fire(c)},h.prototype.shiftElements=function(c,a,i){if(!(a<=0)){if(c<0||c>=this._length)throw new Error("start argument out of range");if(c+i<0)throw new Error("Cannot shift elements in list beyond index 0");if(i>0){for(var r=a-1;r>=0;r--)this.set(c+r+i,this.get(c+r));var o=c+a+i-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<a;r++)this.set(c+r+i,this.get(c+r))}},h.prototype._getCyclicIndex=function(c){return(this._startIndex+c)%this._maxLength},h}();f.CircularList=v},function(g,f,y){"use strict";function m(v,h,c){if(h===v.length-1)return v[h].getTrimmedLength();var a=!v[h].hasContent(c-1)&&v[h].getWidth(c-1)===1,i=v[h+1].getWidth(0)===2;return a&&i?c-1:c}Object.defineProperty(f,"__esModule",{value:!0}),f.getWrappedLineTrimmedLength=f.reflowSmallerGetNewLineLengths=f.reflowLargerApplyNewLayout=f.reflowLargerCreateNewLayout=f.reflowLargerGetLinesToRemove=void 0,f.reflowLargerGetLinesToRemove=function(v,h,c,a,i){for(var r=[],o=0;o<v.length-1;o++){var d=o,n=v.get(++d);if(n.isWrapped){for(var l=[v.get(o)];d<v.length&&n.isWrapped;)l.push(n),n=v.get(++d);if(a>=o&&a<d)o+=l.length-1;else{for(var t=0,s=m(l,t,h),u=1,p=0;u<l.length;){var w=m(l,u,h),b=w-p,E=c-s,A=Math.min(b,E);l[t].copyCellsFrom(l[u],p,s,A,!1),(s+=A)===c&&(t++,s=0),(p+=A)===w&&(u++,p=0),s===0&&t!==0&&l[t-1].getWidth(c-1)===2&&(l[t].copyCellsFrom(l[t-1],c-1,s++,1,!1),l[t-1].setCell(c-1,i))}l[t].replaceCells(s,c,i);for(var S=0,T=l.length-1;T>0&&(T>t||l[T].getTrimmedLength()===0);T--)S++;S>0&&(r.push(o+l.length-S),r.push(S)),o+=l.length-1}}}return r},f.reflowLargerCreateNewLayout=function(v,h){for(var c=[],a=0,i=h[a],r=0,o=0;o<v.length;o++)if(i===o){var d=h[++a];v.onDeleteEmitter.fire({index:o-r,amount:d}),o+=d-1,r+=d,i=h[++a]}else c.push(o);return{layout:c,countRemoved:r}},f.reflowLargerApplyNewLayout=function(v,h){for(var c=[],a=0;a<h.length;a++)c.push(v.get(h[a]));for(a=0;a<c.length;a++)v.set(a,c[a]);v.length=h.length},f.reflowSmallerGetNewLineLengths=function(v,h,c){for(var a=[],i=v.map(function(s,u){return m(v,u,h)}).reduce(function(s,u){return s+u}),r=0,o=0,d=0;d<i;){if(i-d<c){a.push(i-d);break}r+=c;var n=m(v,o,h);r>n&&(r-=n,o++);var l=v[o].getWidth(r-1)===2;l&&r--;var t=l?c-1:c;a.push(t),d+=t}return a},f.getWrappedLineTrimmedLength=m},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(i,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])})(i,r)},function(a,i){function r(){this.constructor=a}m(a,i),a.prototype=i===null?Object.create(i):(r.prototype=i.prototype,new r)});Object.defineProperty(f,"__esModule",{value:!0}),f.Marker=void 0;var h=y(0),c=function(a){function i(r){var o=a.call(this)||this;return o.line=r,o._id=i._nextId++,o.isDisposed=!1,o._onDispose=new h.EventEmitter,o}return v(i,a),Object.defineProperty(i.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),i.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},i._nextId=1,i}(y(2).Disposable);f.Marker=c},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.OptionsService=f.DEFAULT_OPTIONS=f.DEFAULT_BELL_SOUND=void 0;var m=y(0),v=y(11),h=y(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:v.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var c=["cols","rows"],a=function(){function i(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(i.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),i.prototype.setOption=function(r,o){if(!(r in f.DEFAULT_OPTIONS))throw new Error('No option with key "'+r+'"');if(c.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)))},i.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},i.prototype.getOption=function(r){if(!(r in f.DEFAULT_OPTIONS))throw new Error('No option with key "'+r+'"');return this.options[r]},i}();f.OptionsService=a},function(g,f,y){"use strict";var m,v=this&&this.__extends||(m=function(s,u){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,w){p.__proto__=w}||function(p,w){for(var b in w)w.hasOwnProperty(b)&&(p[b]=w[b])})(s,u)},function(t,s){function u(){this.constructor=t}m(t,s),t.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}),h=this&&this.__decorate||function(t,s,u,p){var w,b=arguments.length,E=b<3?s:p===null?p=Object.getOwnPropertyDescriptor(s,u):p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")E=Reflect.decorate(t,s,u,p);else for(var A=t.length-1;A>=0;A--)(w=t[A])&&(E=(b<3?w(E):b>3?w(s,u,E):w(s,u))||E);return b>3&&E&&Object.defineProperty(s,u,E),E},c=this&&this.__param||function(t,s){return function(u,p){s(u,p,t)}};Object.defineProperty(f,"__esModule",{value:!0}),f.CoreService=void 0;var a=y(1),i=y(0),r=y(33),o=y(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(u,p,w,b){var E=t.call(this)||this;return E._bufferService=p,E._logService=w,E._optionsService=b,E.isCursorInitialized=!1,E.isCursorHidden=!1,E._onData=E.register(new i.EventEmitter),E._onUserInput=E.register(new i.EventEmitter),E._onBinary=E.register(new i.EventEmitter),E._scrollToBottom=u,E.register({dispose:function(){return E._scrollToBottom=void 0}}),E.modes=r.clone(d),E.decPrivateModes=r.clone(n),E}return v(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(u,p){if(p===void 0&&(p=!1),!this._optionsService.options.disableStdin){var w=this._bufferService.buffer;w.ybase!==w.ydisp&&this._scrollToBottom(),p&&this._onUserInput.fire(),this._logService.debug('sending data "'+u+'"',function(){return u.split("").map(function(b){return b.charCodeAt(0)})}),this._onData.fire(u)}},s.prototype.triggerBinaryEvent=function(u){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+u+'"',function(){return u.split("").map(function(p){return p.charCodeAt(0)})}),this._onBinary.fire(u))},s=h([c(1,a.IBufferService),c(2,a.ILogService),c(3,a.IOptionsService)],s)}(o.Disposable);f.CoreService=l},function(g,f,y){"use strict";var m=this&&this.__decorate||function(n,l,t,s){var u,p=arguments.length,w=p<3?l:s===null?s=Object.getOwnPropertyDescriptor(l,t):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(n,l,t,s);else for(var b=n.length-1;b>=0;b--)(u=n[b])&&(w=(p<3?u(w):p>3?u(l,t,w):u(l,t))||w);return p>3&&w&&Object.defineProperty(l,t,w),w},v=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=y(1),c=y(0),a={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 i(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=[i(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"[<"+i(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 c.EventEmitter,this._lastEvent=null;for(var s=0,u=Object.keys(a);s<u.length;s++){var p=u[s];this.addProtocol(p,a[p])}for(var w=0,b=Object.keys(o);w<b.length;w++){var E=b[w];this.addEncoding(E,o[E])}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([v(0,h.IBufferService),v(1,h.ICoreService)],n)}();f.CoreMouseService=d},function(g,f,y){"use strict";var m=this&&this.__decorate||function(a,i,r,o){var d,n=arguments.length,l=n<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,r):o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(a,i,r,o);else for(var t=a.length-1;t>=0;t--)(d=a[t])&&(l=(n<3?d(l):n>3?d(i,r,l):d(i,r))||l);return n>3&&l&&Object.defineProperty(i,r,l),l},v=this&&this.__param||function(a,i){return function(r,o){i(r,o,a)}};Object.defineProperty(f,"__esModule",{value:!0}),f.DirtyRowService=void 0;var h=y(1),c=function(){function a(i){this._bufferService=i,this.clearRange()}return Object.defineProperty(a.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),a.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},a.prototype.markDirty=function(i){i<this._start?this._start=i:i>this._end&&(this._end=i)},a.prototype.markRangeDirty=function(i,r){if(i>r){var o=i;i=r,r=o}i<this._start&&(this._start=i),r>this._end&&(this._end=r)},a.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},a=m([v(0,h.IBufferService)],a)}();f.DirtyRowService=c},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.UnicodeService=void 0;var m=y(0),v=y(79),h=function(){function c(){this._providers=Object.create(null),this._active="",this._onChange=new m.EventEmitter;var a=new v.UnicodeV6;this.register(a),this._active=a.version,this._activeProvider=a}return Object.defineProperty(c.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"activeVersion",{get:function(){return this._active},set:function(i){if(!this._providers[i])throw new Error('unknown Unicode version "'+i+'"');this._active=i,this._activeProvider=this._providers[i],this._onChange.fire(i)},enumerable:!1,configurable:!0}),c.prototype.register=function(a){this._providers[a.version]=a},c.prototype.wcwidth=function(a){return this._activeProvider.wcwidth(a)},c.prototype.getStringCellWidth=function(a){for(var i=0,r=a.length,o=0;o<r;++o){var d=a.charCodeAt(o);if(55296<=d&&d<=56319){if(++o>=r)return i+this.wcwidth(d);var n=a.charCodeAt(o);56320<=n&&n<=57343?d=1024*(d-55296)+n-56320+65536:i+=this.wcwidth(n)}i+=this.wcwidth(d)}return i},c}();f.UnicodeService=h},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.UnicodeV6=void 0;var m,v=y(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]],c=[[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]],a=function(){function i(){if(this.version="6",!m){m=new Uint8Array(65536),v.fill(m,1),m[0]=0,v.fill(m,0,1,32),v.fill(m,0,127,160),v.fill(m,2,4352,4448),m[9001]=2,m[9002]=2,v.fill(m,2,11904,42192),m[12351]=1,v.fill(m,2,44032,55204),v.fill(m,2,63744,64256),v.fill(m,2,65040,65050),v.fill(m,2,65072,65136),v.fill(m,2,65280,65377),v.fill(m,2,65504,65511);for(var r=0;r<h.length;++r)v.fill(m,0,h[r][0],h[r][1]+1)}}return i.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,c)?0:r>=131072&&r<=196605||r>=196608&&r<=262141?2:1},i}();f.UnicodeV6=a},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.CharsetService=void 0;var m=function(){function v(){this.glevel=0,this._charsets=[]}return v.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},v.prototype.setgLevel=function(h){this.glevel=h,this.charset=this._charsets[h]},v.prototype.setgCharset=function(h,c){this._charsets[h]=c,this.glevel===h&&(this.charset=c)},v}();f.CharsetService=m},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.updateWindowsModeWrappedState=void 0;var m=y(3);f.updateWindowsModeWrappedState=function(v){var h=v.buffer.lines.get(v.buffer.ybase+v.buffer.y-1),c=h==null?void 0:h.get(v.cols-1),a=v.buffer.lines.get(v.buffer.ybase+v.buffer.y);a&&c&&(a.isWrapped=c[m.CHAR_DATA_CODE_INDEX]!==m.NULL_CELL_CODE&&c[m.CHAR_DATA_CODE_INDEX]!==m.WHITESPACE_CELL_CODE)}},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.WriteBuffer=void 0;var m=function(){function v(h){this._action=h,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return v.prototype.writeSync=function(h){if(this._writeBuffer.length){for(var c=this._bufferOffset;c<this._writeBuffer.length;++c){var a=this._writeBuffer[c],i=this._callbacks[c];this._action(a),i&&i()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(h)},v.prototype.write=function(h,c){var a=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 a._innerWrite()})),this._pendingData+=h.length,this._writeBuffer.push(h),this._callbacks.push(c)},v.prototype._innerWrite=function(){for(var h=this,c=Date.now();this._writeBuffer.length>this._bufferOffset;){var a=this._writeBuffer[this._bufferOffset],i=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(a),this._pendingData-=a.length,i&&i(),Date.now()-c>=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)},v}();f.WriteBuffer=m},function(g,f,y){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AddonManager=void 0;var m=function(){function v(){this._addons=[]}return v.prototype.dispose=function(){for(var h=this._addons.length-1;h>=0;h--)this._addons[h].instance.dispose()},v.prototype.loadAddon=function(h,c){var a=this,i={instance:c,dispose:c.dispose,isDisposed:!1};this._addons.push(i),c.dispose=function(){return a._wrappedAddonDispose(i)},c.activate(h)},v.prototype._wrappedAddonDispose=function(h){if(!h.isDisposed){for(var c=-1,a=0;a<this._addons.length;a++)if(this._addons[a]===h){c=a;break}if(c===-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(c,1)}},v}();f.AddonManager=m}])})},"/SeX":function(D,_,e){var g=e("knOB"),f=e("qZFw"),y=function(v){this.name=v||"",this.cx=0,this.cy=0,this._radiusAxis=new g,this._angleAxis=new f,this._radiusAxis.polar=this._angleAxis.polar=this};y.prototype={type:"polar",axisPointerEnabled:!0,constructor:y,dimensions:["radius","angle"],model:null,containPoint:function(v){var h=this.pointToCoord(v);return this._radiusAxis.contain(h[0])&&this._angleAxis.contain(h[1])},containData:function(v){return this._radiusAxis.containData(v[0])&&this._angleAxis.containData(v[1])},getAxis:function(v){return this["_"+v+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(v){var h=[],c=this._angleAxis,a=this._radiusAxis;return c.scale.type===v&&h.push(c),a.scale.type===v&&h.push(a),h},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(v){var h=this._angleAxis;return v===h?this._radiusAxis:h},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(v){var h=v!=null&&v!=="auto"?this.getAxis(v):this.getBaseAxis();return{baseAxes:[h],otherAxes:[this.getOtherAxis(h)]}},dataToPoint:function(v,h){return this.coordToPoint([this._radiusAxis.dataToRadius(v[0],h),this._angleAxis.dataToAngle(v[1],h)])},pointToData:function(v,h){var c=this.pointToCoord(v);return[this._radiusAxis.radiusToData(c[0],h),this._angleAxis.angleToData(c[1],h)]},pointToCoord:function(v){var h=v[0]-this.cx,c=v[1]-this.cy,a=this.getAngleAxis(),i=a.getExtent(),r=Math.min(i[0],i[1]),o=Math.max(i[0],i[1]);a.inverse?r=o-360:o=r+360;var d=Math.sqrt(h*h+c*c);h/=d,c/=d;for(var n=Math.atan2(-c,h)/Math.PI*180,l=n<r?1:-1;n<r||n>o;)n+=l*360;return[d,n]},coordToPoint:function(v){var h=v[0],c=v[1]/180*Math.PI,a=Math.cos(c)*h+this.cx,i=-Math.sin(c)*h+this.cy;return[a,i]},getArea:function(){var v=this.getAngleAxis(),h=this.getRadiusAxis(),c=h.getExtent().slice();c[0]>c[1]&&c.reverse();var a=v.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:c[0],r:c[1],startAngle:-a[0]*i,endAngle:-a[1]*i,clockwise:v.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=y;D.exports=m},"/WM3":function(D,_,e){var g=e("QuXc"),f=e("bYtY"),y=f.isFunction,m={createOnAllSeries:!0,performRawSeries:!0,reset:function(v,h){var c=v.getData(),a=(v.visualColorAccessPath||"itemStyle.color").split("."),i=v.get(a),r=y(i)&&!(i instanceof g)?i:null;(!i||r)&&(i=v.getColorFromPalette(v.name,null,h.getSeriesCount())),c.setVisual("color",i);var o=(v.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),d=v.get(o);if(c.setVisual("borderColor",d),!h.isSeriesFiltered(v)){r&&c.each(function(l){c.setItemVisual(l,"color",r(v.getDataParams(l)))});var n=function(l,t){var s=l.getItemModel(t),u=s.get(a,!0),p=s.get(o,!0);u!=null&&l.setItemVisual(t,"color",u),p!=null&&l.setItemVisual(t,"borderColor",p)};return{dataEach:c.hasItemOption?n:null}}}};D.exports=m},"/d5a":function(D,_){var e={average:function(y){for(var m=0,v=0,h=0;h<y.length;h++)isNaN(y[h])||(m+=y[h],v++);return v===0?NaN:m/v},sum:function(y){for(var m=0,v=0;v<y.length;v++)m+=y[v]||0;return m},max:function(y){for(var m=-Infinity,v=0;v<y.length;v++)y[v]>m&&(m=y[v]);return isFinite(m)?m:NaN},min:function(y){for(var m=Infinity,v=0;v<y.length;v++)y[v]<m&&(m=y[v]);return isFinite(m)?m:NaN},nearest:function(y){return y[0]}},g=function(y,m){return Math.round(y.length/2)};function f(y){return{seriesType:y,modifyOutputEnd:!0,reset:function(m,v,h){var c=m.getData(),a=m.get("sampling"),i=m.coordinateSystem;if(i.type==="cartesian2d"&&a){var r=i.getBaseAxis(),o=i.getOtherAxis(r),d=r.getExtent(),n=d[1]-d[0],l=Math.round(c.count()/n);if(l>1){var t;typeof a=="string"?t=e[a]:typeof a=="function"&&(t=a),t&&m.setData(c.downSample(c.mapDimension(o.dim),1/l,t,g))}}}}}D.exports=f},"/ezw":function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),m=e.n(y),v=e("cDf5"),h=e.n(v),c=e("q1tI"),a=e("TSYQ"),i=e.n(a),r=function(j){var H=j.prefixCls,W=j.className,X=j.width,z=j.style;return c.createElement("h3",{className:i()(H,W),style:m()({width:X},z)})},o=r,d=e("RIqP"),n=e.n(d),l=function(j){var H=function(Q){var we=j.width,Ee=j.rows,Ae=Ee===void 0?2:Ee;return Array.isArray(we)?we[Q]:Ae-1===Q?we:void 0},W=j.prefixCls,X=j.className,z=j.style,G=j.rows,Z=n()(Array(G)).map(function(ge,Q){return c.createElement("li",{key:Q,style:{width:H(Q)}})});return c.createElement("ul",{className:i()(W,X),style:z},Z)},t=l,s=e("H84U"),u=function(j){var H,W,X=j.prefixCls,z=j.className,G=j.style,Z=j.size,ge=j.shape,Q=i()((H={},f()(H,"".concat(X,"-lg"),Z==="large"),f()(H,"".concat(X,"-sm"),Z==="small"),H)),we=i()((W={},f()(W,"".concat(X,"-circle"),ge==="circle"),f()(W,"".concat(X,"-square"),ge==="square"),f()(W,"".concat(X,"-round"),ge==="round"),W)),Ee=typeof Z=="number"?{width:Z,height:Z,lineHeight:"".concat(Z,"px")}:{};return c.createElement("span",{className:i()(X,z,Q,we),style:m()(m()({},Ee),G)})},p=u,w=e("BGR+"),b=function(j){var H=function(X){var z=X.getPrefixCls,G=j.prefixCls,Z=j.className,ge=j.active,Q=z("skeleton",G),we=Object(w.default)(j,["prefixCls"]),Ee=i()(Q,Z,"".concat(Q,"-element"),f()({},"".concat(Q,"-active"),ge));return c.createElement("div",{className:Ee},c.createElement(p,m()({prefixCls:"".concat(Q,"-avatar")},we)))};return c.createElement(s.a,null,H)};b.defaultProps={size:"default",shape:"circle"};var E=b,A=function(j){var H=function(X){var z=X.getPrefixCls,G=j.prefixCls,Z=j.className,ge=j.active,Q=z("skeleton",G),we=Object(w.default)(j,["prefixCls"]),Ee=i()(Q,Z,"".concat(Q,"-element"),f()({},"".concat(Q,"-active"),ge));return c.createElement("div",{className:Ee},c.createElement(p,m()({prefixCls:"".concat(Q,"-button")},we)))};return c.createElement(s.a,null,H)};A.defaultProps={size:"default"};var S=A,T=function(j){var H=function(X){var z=X.getPrefixCls,G=j.prefixCls,Z=j.className,ge=j.active,Q=z("skeleton",G),we=Object(w.default)(j,["prefixCls"]),Ee=i()(Q,Z,"".concat(Q,"-element"),f()({},"".concat(Q,"-active"),ge));return c.createElement("div",{className:Ee},c.createElement(p,m()({prefixCls:"".concat(Q,"-input")},we)))};return c.createElement(s.a,null,H)};T.defaultProps={size:"default"};var L=T,x="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",C=function(j){var H=function(X){var z=X.getPrefixCls,G=j.prefixCls,Z=j.className,ge=j.style,Q=z("skeleton",G),we=i()(Q,Z,"".concat(Q,"-element"));return c.createElement("div",{className:we},c.createElement("div",{className:i()("".concat(Q,"-image"),Z),style:ge},c.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(Q,"-image-svg")},c.createElement("path",{d:x,className:"".concat(Q,"-image-path")}))))};return c.createElement(s.a,null,H)},I=C;function N(U){return U&&h()(U)==="object"?U:{}}function F(U,j){return U&&!j?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function k(U,j){return!U&&j?{width:"38%"}:U&&j?{width:"50%"}:{}}function B(U,j){var H={};return(!U||!j)&&(H.width="61%"),!U&&j?H.rows=3:H.rows=2,H}var P=function(j){var H=function(X){var z=X.getPrefixCls,G=X.direction,Z=j.prefixCls,ge=j.loading,Q=j.className,we=j.children,Ee=j.avatar,Ae=j.title,Pe=j.paragraph,Ge=j.active,gt=j.round,_e=z("skeleton",Z);if(ge||!("loading"in j)){var Ce,lt=!!Ee,ce=!!Ae,Y=!!Pe,V;if(lt){var $=m()(m()({prefixCls:"".concat(_e,"-avatar")},F(ce,Y)),N(Ee));V=c.createElement("div",{className:"".concat(_e,"-header")},c.createElement(p,$))}var Te;if(ce||Y){var ye;if(ce){var Fe=m()(m()({prefixCls:"".concat(_e,"-title")},k(lt,Y)),N(Ae));ye=c.createElement(o,Fe)}var Oe;if(Y){var se=m()(m()({prefixCls:"".concat(_e,"-paragraph")},B(lt,ce)),N(Pe));Oe=c.createElement(t,se)}Te=c.createElement("div",{className:"".concat(_e,"-content")},ye,Oe)}var fe=i()(_e,Q,(Ce={},f()(Ce,"".concat(_e,"-with-avatar"),lt),f()(Ce,"".concat(_e,"-active"),Ge),f()(Ce,"".concat(_e,"-rtl"),G==="rtl"),f()(Ce,"".concat(_e,"-round"),gt),Ce));return c.createElement("div",{className:fe},V,Te)}return we};return c.createElement(s.a,null,H)};P.defaultProps={avatar:!1,title:!0,paragraph:!0},P.Button=S,P.Avatar=E,P.Input=L,P.Image=I;var K=P,R=_.a=K},"/iHx":function(D,_,e){var g=e("6GrX"),f=e("IwbS"),y=["textStyle","color"],m={getTextColor:function(v){var h=this.ecModel;return this.getShallow("color")||(!v&&h?h.get(y):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(v){return g.getBoundingRect(v,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};D.exports=m},"/ry/":function(D,_,e){var g=e("bYtY"),f=e("T4UG"),y=e("5GhG"),m=y.seriesModelMixin,v=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(v,m,!0);var h=v;D.exports=h},"/stD":function(D,_,e){var g=e("bYtY"),f=e("IUWy"),y=e("Kagy"),m=y.toolbox.brush;function v(a,i,r){this.model=a,this.ecModel=i,this.api=r,this._brushType,this._brushMode}v.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=v.prototype;h.render=h.updateView=function(a,i,r){var o,d,n;i.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(a.get("type",!0),function(l){a.setIconStatus(l,(l==="keep"?d==="multiple":l==="clear"?n:l===o)?"emphasis":"normal")})},h.getIcons=function(){var a=this.model,i=a.get("icon",!0),r={};return g.each(a.get("type",!0),function(o){i[o]&&(r[o]=i[o])}),r},h.onclick=function(a,i,r){var o=this._brushType,d=this._brushMode;r==="clear"?(i.dispatchAction({type:"axisAreaSelect",intervals:[]}),i.dispatchAction({type:"brush",command:"clear",areas:[]})):i.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",v);var c=v;D.exports=c},"/wGt":function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),m=e.n(y),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),a=e.n(c),i=e("PJYZ"),r=e.n(i),o=e("7W2i"),d=e.n(o),n=e("LQ03"),l=e.n(n),t=e("q1tI"),s=e("Ff2n"),u=e("1OyB"),p=e("vuIU"),w=e("Ji7U"),b=e("md7G"),E=e("foSv"),A=e("1W/9"),S=e("rePB"),T=e("JX7q"),L=e("TSYQ"),x=e.n(L),C=e("qx4F"),I=e("4IlW");function N(ye){return Array.isArray(ye)?ye:[ye]}var F={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},k=Object.keys(F).filter(function(ye){if(typeof document=="undefined")return!1;var Fe=document.getElementsByTagName("html")[0];return ye in(Fe?Fe.style:{})})[0],B=F[k];function P(ye,Fe,Oe,se){ye.addEventListener?ye.addEventListener(Fe,Oe,se):ye.attachEvent&&ye.attachEvent("on".concat(Fe),Oe)}function K(ye,Fe,Oe,se){ye.removeEventListener?ye.removeEventListener(Fe,Oe,se):ye.attachEvent&&ye.detachEvent("on".concat(Fe),Oe)}function R(ye,Fe){var Oe=typeof ye=="function"?ye(Fe):ye;return Array.isArray(Oe)?Oe.length===2?Oe:[Oe[0],Oe[1]]:[Oe]}var U=function(Fe){return!isNaN(parseFloat(Fe))&&isFinite(Fe)},j=!(typeof window!="undefined"&&window.document&&window.document.createElement),H=function ye(Fe,Oe,se,fe){if(!Oe||Oe===document||Oe instanceof Document)return!1;if(Oe===Fe.parentNode)return!0;var Le=Math.max(Math.abs(se),Math.abs(fe))===Math.abs(fe),Je=Math.max(Math.abs(se),Math.abs(fe))===Math.abs(se),mt=Oe.scrollHeight-Oe.clientHeight,Ct=Oe.scrollWidth-Oe.clientWidth,Ue=document.defaultView.getComputedStyle(Oe),Rt=Ue.overflowY==="auto"||Ue.overflowY==="scroll",Ke=Ue.overflowX==="auto"||Ue.overflowX==="scroll",wt=mt&&Rt,Ye=Ct&&Ke;return Le&&(!wt||wt&&(Oe.scrollTop>=mt&&fe<0||Oe.scrollTop<=0&&fe>0))||Je&&(!Ye||Ye&&(Oe.scrollLeft>=Ct&&se<0||Oe.scrollLeft<=0&&se>0))?ye(Fe,Oe.parentNode,se,fe):!1};function W(ye){var Fe=X();return function(){var se=Object(E.a)(ye),fe;if(Fe){var Le=Object(E.a)(this).constructor;fe=Reflect.construct(se,arguments,Le)}else fe=se.apply(this,arguments);return Object(b.a)(this,fe)}}function X(){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(ye){return!1}}var z={},G=function(ye){Object(w.a)(Oe,ye);var Fe=W(Oe);function Oe(se){var fe;return Object(u.a)(this,Oe),fe=Fe.call(this,se),fe.domFocus=function(){fe.dom&&fe.dom.focus()},fe.removeStartHandler=function(Le){if(Le.touches.length>1)return;fe.startPos={x:Le.touches[0].clientX,y:Le.touches[0].clientY}},fe.removeMoveHandler=function(Le){if(Le.changedTouches.length>1)return;var Je=Le.currentTarget,mt=Le.changedTouches[0].clientX-fe.startPos.x,Ct=Le.changedTouches[0].clientY-fe.startPos.y;(Je===fe.maskDom||Je===fe.handlerDom||Je===fe.contentDom&&H(Je,Le.target,mt,Ct))&&Le.cancelable&&Le.preventDefault()},fe.transitionEnd=function(Le){var Je=Le.target;K(Je,B,fe.transitionEnd),Je.style.transition=""},fe.onKeyDown=function(Le){if(Le.keyCode===I.a.ESC){var Je=fe.props.onClose;Le.stopPropagation(),Je&&Je(Le)}},fe.onWrapperTransitionEnd=function(Le){var Je=fe.props,mt=Je.open,Ct=Je.afterVisibleChange;Le.target===fe.contentWrapper&&Le.propertyName.match(/transform$/)&&(fe.dom.style.transition="",!mt&&fe.getCurrentDrawerSome()&&(document.body.style.overflowX="",fe.maskDom&&(fe.maskDom.style.left="",fe.maskDom.style.width="")),Ct&&Ct(!!mt))},fe.openLevelTransition=function(){var Le=fe.props,Je=Le.open,mt=Le.width,Ct=Le.height,Ue=fe.getHorizontalBoolAndPlacementName(),Rt=Ue.isHorizontal,Ke=Ue.placementName,wt=fe.contentDom?fe.contentDom.getBoundingClientRect()[Rt?"width":"height"]:0,Ye=(Rt?mt:Ct)||wt;fe.setLevelAndScrolling(Je,Ke,Ye)},fe.setLevelTransform=function(Le,Je,mt,Ct){var Ue=fe.props,Rt=Ue.placement,Ke=Ue.levelMove,wt=Ue.duration,Ye=Ue.ease,et=Ue.showMask;fe.levelDom.forEach(function(rt){rt.style.transition="transform ".concat(wt," ").concat(Ye),P(rt,B,fe.transitionEnd);var st=Le?mt:0;if(Ke){var Ve=R(Ke,{target:rt,open:Le});st=Le?Ve[0]:Ve[1]||0}var oe=typeof st=="number"?"".concat(st,"px"):st,re=Rt==="left"||Rt==="top"?oe:"-".concat(oe);re=et&&Rt==="right"&&Ct?"calc(".concat(re," + ").concat(Ct,"px)"):re,rt.style.transform=st?"".concat(Je,"(").concat(re,")"):""})},fe.setLevelAndScrolling=function(Le,Je,mt){var Ct=fe.props.onChange;if(!j){var Ue=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(C.a)(!0):0;fe.setLevelTransform(Le,Je,mt,Ue),fe.toggleScrollingToDrawerAndBody(Ue)}Ct&&Ct(Le)},fe.toggleScrollingToDrawerAndBody=function(Le){var Je=fe.props,mt=Je.getOpenCount,Ct=Je.getContainer,Ue=Je.showMask,Rt=Je.open,Ke=Ct&&Ct(),wt=mt&&mt();if(Ke&&Ke.parentNode===document.body&&Ue){var Ye=["touchstart"],et=[document.body,fe.maskDom,fe.handlerDom,fe.contentDom];Rt&&document.body.style.overflow!=="hidden"?(Le&&fe.addScrollingEffect(Le),wt===1&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",et.forEach(function(rt,st){if(!rt)return;P(rt,Ye[st]||"touchmove",st?fe.removeMoveHandler:fe.removeStartHandler,fe.passive)})):fe.getCurrentDrawerSome()&&(wt||(document.body.style.overflow=""),document.body.style.touchAction="",Le&&fe.remScrollingEffect(Le),et.forEach(function(rt,st){if(!rt)return;K(rt,Ye[st]||"touchmove",st?fe.removeMoveHandler:fe.removeStartHandler,fe.passive)}))}},fe.addScrollingEffect=function(Le){var Je=fe.props,mt=Je.placement,Ct=Je.duration,Ue=Je.ease,Rt=Je.getOpenCount,Ke=Je.switchScrollingEffect,wt=Rt&&Rt();wt===1&&Ke();var Ye="width ".concat(Ct," ").concat(Ue),et="transform ".concat(Ct," ").concat(Ue);fe.dom.style.transition="none";switch(mt){case"right":fe.dom.style.transform="translateX(-".concat(Le,"px)");break;case"top":case"bottom":fe.dom.style.width="calc(100% - ".concat(Le,"px)"),fe.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(fe.timeout),fe.timeout=setTimeout(function(){fe.dom&&(fe.dom.style.transition="".concat(et,",").concat(Ye),fe.dom.style.width="",fe.dom.style.transform="")})},fe.remScrollingEffect=function(Le){var Je=fe.props,mt=Je.placement,Ct=Je.duration,Ue=Je.ease,Rt=Je.getOpenCount,Ke=Je.switchScrollingEffect,wt=Rt&&Rt();wt||Ke(!0),k&&(document.body.style.overflowX="hidden"),fe.dom.style.transition="none";var Ye,et="width ".concat(Ct," ").concat(Ue),rt="transform ".concat(Ct," ").concat(Ue);switch(mt){case"left":{fe.dom.style.width="100%",et="width 0s ".concat(Ue," ").concat(Ct);break}case"right":{fe.dom.style.transform="translateX(".concat(Le,"px)"),fe.dom.style.width="100%",et="width 0s ".concat(Ue," ").concat(Ct),fe.maskDom&&(fe.maskDom.style.left="-".concat(Le,"px"),fe.maskDom.style.width="calc(100% + ".concat(Le,"px)"));break}case"top":case"bottom":{fe.dom.style.width="calc(100% + ".concat(Le,"px)"),fe.dom.style.height="100%",fe.dom.style.transform="translateZ(0)",Ye="height 0s ".concat(Ue," ").concat(Ct);break}default:break}clearTimeout(fe.timeout),fe.timeout=setTimeout(function(){fe.dom&&(fe.dom.style.transition="".concat(rt,",").concat(Ye?"".concat(Ye,","):"").concat(et),fe.dom.style.transform="",fe.dom.style.width="",fe.dom.style.height="")})},fe.getCurrentDrawerSome=function(){return!Object.keys(z).some(function(Le){return z[Le]})},fe.getLevelDom=function(Le){var Je=Le.level,mt=Le.getContainer;if(j)return;var Ct=mt&&mt(),Ue=Ct?Ct.parentNode:null;if(fe.levelDom=[],Je==="all"){var Rt=Ue?Array.prototype.slice.call(Ue.children):[];Rt.forEach(function(Ke){Ke.nodeName!=="SCRIPT"&&Ke.nodeName!=="STYLE"&&Ke.nodeName!=="LINK"&&Ke!==Ct&&fe.levelDom.push(Ke)})}else Je&&N(Je).forEach(function(Ke){document.querySelectorAll(Ke).forEach(function(wt){fe.levelDom.push(wt)})})},fe.getHorizontalBoolAndPlacementName=function(){var Le=fe.props.placement,Je=Le==="left"||Le==="right",mt="translate".concat(Je?"X":"Y");return{isHorizontal:Je,placementName:mt}},fe.state={_self:Object(T.a)(fe)},fe}return Object(p.a)(Oe,[{key:"componentDidMount",value:function(){var fe=this;if(!j){var Le=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Le=!0,null}}))}catch(Rt){}this.passive=Le?{passive:!1}:!1}var Je=this.props,mt=Je.open,Ct=Je.getContainer,Ue=Ct&&Ct();this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(Math.random()*9).toString())).toString(16)),this.getLevelDom(this.props),mt&&(Ue&&Ue.parentNode===document.body&&(z[this.drawerId]=mt),this.openLevelTransition(),this.forceUpdate(function(){fe.domFocus()}))}},{key:"componentDidUpdate",value:function(fe){var Le=this.props,Je=Le.open,mt=Le.getContainer,Ct=mt&&mt();Je!==fe.open&&(Je&&this.domFocus(),Ct&&Ct.parentNode===document.body&&(z[this.drawerId]=!!Je),this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var fe=this.props,Le=fe.getOpenCount,Je=fe.open,mt=fe.switchScrollingEffect,Ct=typeof Le=="function"&&Le();delete z[this.drawerId],Je&&(this.setLevelTransform(!1),document.body.style.touchAction=""),Ct||(document.body.style.overflow="",mt(!0))}},{key:"render",value:function(){var fe,Le=this,Je=this.props,mt=Je.className,Ct=Je.children,Ue=Je.style,Rt=Je.width,Ke=Je.height,wt=Je.defaultOpen,Ye=Je.open,et=Je.prefixCls,rt=Je.placement,st=Je.level,Ve=Je.levelMove,oe=Je.ease,re=Je.duration,it=Je.getContainer,Qe=Je.handler,ve=Je.onChange,Zt=Je.afterVisibleChange,dt=Je.showMask,ct=Je.maskClosable,yt=Je.maskStyle,_t=Je.onClose,or=Je.onHandleClick,Pt=Je.keyboard,be=Je.getOpenCount,me=Je.switchScrollingEffect,pe=Object(s.a)(Je,["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"]),ue=this.dom?Ye:!1,De=x()(et,(fe={},Object(S.a)(fe,"".concat(et,"-").concat(rt),!0),Object(S.a)(fe,"".concat(et,"-open"),ue),Object(S.a)(fe,mt||"",!!mt),Object(S.a)(fe,"no-mask",!dt),fe)),He=this.getHorizontalBoolAndPlacementName(),ze=He.placementName,Xe=rt==="left"||rt==="top"?"-100%":"100%",Be=ue?"":"".concat(ze,"(").concat(Xe,")"),nt=Qe&&t.cloneElement(Qe,{onClick:function(It){Qe.props.onClick&&Qe.props.onClick(),or&&or(It)},ref:function(It){Le.handlerDom=It}});return t.createElement("div",Object.assign({},pe,{tabIndex:-1,className:De,style:Ue,ref:function(It){Le.dom=It},onKeyDown:ue&&Pt?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),dt&&t.createElement("div",{className:"".concat(et,"-mask"),onClick:ct?_t:void 0,style:yt,ref:function(It){Le.maskDom=It}}),t.createElement("div",{className:"".concat(et,"-content-wrapper"),style:{transform:Be,msTransform:Be,width:U(Rt)?"".concat(Rt,"px"):Rt,height:U(Ke)?"".concat(Ke,"px"):Ke},ref:function(It){Le.contentWrapper=It}},t.createElement("div",{className:"".concat(et,"-content"),ref:function(It){Le.contentDom=It},onTouchStart:ue&&dt?this.removeStartHandler:void 0,onTouchMove:ue&&dt?this.removeMoveHandler:void 0},Ct),nt))}}],[{key:"getDerivedStateFromProps",value:function(fe,Le){var Je=Le.prevProps,mt=Le._self,Ct={prevProps:fe};if(Je!==void 0){var Ue=fe.placement,Rt=fe.level;Ue!==Je.placement&&(mt.contentDom=null),Rt!==Je.level&&mt.getLevelDom(fe)}return Ct}}]),Oe}(t.Component);G.defaultProps={switchScrollingEffect:function(){}};var Z=G;function ge(ye){var Fe=Q();return function(){var se=Object(E.a)(ye),fe;if(Fe){var Le=Object(E.a)(this).constructor;fe=Reflect.construct(se,arguments,Le)}else fe=se.apply(this,arguments);return Object(b.a)(this,fe)}}function Q(){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(ye){return!1}}var we=function(ye){Object(w.a)(Oe,ye);var Fe=ge(Oe);function Oe(se){var fe;Object(u.a)(this,Oe),fe=Fe.call(this,se),fe.onHandleClick=function(Je){var mt=fe.props,Ct=mt.onHandleClick,Ue=mt.open;if(Ct&&Ct(Je),typeof Ue=="undefined"){var Rt=fe.state.open;fe.setState({open:!Rt})}},fe.onClose=function(Je){var mt=fe.props,Ct=mt.onClose,Ue=mt.open;Ct&&Ct(Je),typeof Ue=="undefined"&&fe.setState({open:!1})};var Le=typeof se.open!="undefined"?se.open:!!se.defaultOpen;return fe.state={open:Le},"onMaskClick"in se&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),fe}return Object(p.a)(Oe,[{key:"render",value:function(){var fe=this,Le=this.props,Je=Le.defaultOpen,mt=Le.getContainer,Ct=Le.wrapperClassName,Ue=Le.forceRender,Rt=Le.handler,Ke=Object(s.a)(Le,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),wt=this.state.open;if(!mt)return t.createElement("div",{className:Ct,ref:function(rt){fe.dom=rt}},t.createElement(Z,Object.assign({},Ke,{open:wt,handler:Rt,getContainer:function(){return fe.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var Ye=!!Rt||Ue;return t.createElement(A.a,{visible:wt,forceRender:Ye,getContainer:mt,wrapperClassName:Ct},function(et){var rt=et.visible,st=et.afterClose,Ve=Object(s.a)(et,["visible","afterClose"]);return t.createElement(Z,Object.assign({},Ke,Ve,{open:rt!==void 0?rt:wt,afterVisibleChange:st!==void 0?st:Ke.afterVisibleChange,handler:Rt,onClose:fe.onClose,onHandleClick:fe.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(fe,Le){var Je=Le.prevProps,mt={prevProps:fe};return typeof Je!="undefined"&&fe.open!==Je.open&&(mt.open=fe.open),mt}}]),Oe}(t.Component);we.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 Ee=we,Ae=Ee,Pe=e("V/uB"),Ge=e.n(Pe),gt=e("BGR+"),_e=e("H84U"),Ce=e("CWQg"),lt=function(ye,Fe){var Oe={};for(var se in ye)Object.prototype.hasOwnProperty.call(ye,se)&&Fe.indexOf(se)<0&&(Oe[se]=ye[se]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,se=Object.getOwnPropertySymbols(ye);fe<se.length;fe++)Fe.indexOf(se[fe])<0&&Object.prototype.propertyIsEnumerable.call(ye,se[fe])&&(Oe[se[fe]]=ye[se[fe]]);return Oe},ce=t.createContext(null),Y=Object(Ce.a)("top","right","bottom","left"),V={distance:180},$=function(ye){d()(Oe,ye);var Fe=l()(Oe);function Oe(){var se;return h()(this,Oe),se=Fe.apply(this,arguments),se.state={push:!1},se.push=function(){se.props.push&&se.setState({push:!0})},se.pull=function(){se.props.push&&se.setState({push:!1})},se.onDestroyTransitionEnd=function(){var fe=se.getDestroyOnClose();if(!fe)return;se.props.visible||(se.destroyClose=!0,se.forceUpdate())},se.getDestroyOnClose=function(){return se.props.destroyOnClose&&!se.props.visible},se.getPushDistance=function(){var fe=se.props.push,Le;return typeof fe=="boolean"?Le=fe?V.distance:0:Le=fe.distance,parseFloat(String(Le||0))},se.getPushTransform=function(fe){var Le=se.getPushDistance();if(fe==="left"||fe==="right")return"translateX(".concat(fe==="left"?Le:-Le,"px)");if(fe==="top"||fe==="bottom")return"translateY(".concat(fe==="top"?Le:-Le,"px)")},se.getRcDrawerStyle=function(){var fe=se.props,Le=fe.zIndex,Je=fe.placement,mt=fe.mask,Ct=fe.style,Ue=se.state.push,Rt=mt?{}:se.getOffsetStyle();return m()(m()({zIndex:Le,transform:Ue?se.getPushTransform(Je):void 0},Rt),Ct)},se.renderBody=function(){var fe=se.props,Le=fe.bodyStyle,Je=fe.drawerStyle,mt=fe.prefixCls,Ct=fe.visible;if(se.destroyClose&&!Ct)return null;se.destroyClose=!1;var Ue={},Rt=se.getDestroyOnClose();return Rt&&(Ue.opacity=0,Ue.transition="opacity .3s"),t.createElement("div",{className:"".concat(mt,"-wrapper-body"),style:m()(m()({},Ue),Je),onTransitionEnd:se.onDestroyTransitionEnd},se.renderHeader(),t.createElement("div",{className:"".concat(mt,"-body"),style:Le},se.props.children),se.renderFooter())},se.renderProvider=function(fe){return se.parentDrawer=fe,t.createElement(_e.a,null,function(Le){var Je=Le.getPopupContainer,mt=Le.getPrefixCls,Ct=se.props,Ue=Ct.prefixCls,Rt=Ct.placement,Ke=Ct.className,wt=Ct.mask,Ye=Ct.direction,et=Ct.visible,rt=lt(Ct,["prefixCls","placement","className","mask","direction","visible"]),st=mt("select",Ue),Ve=x()(Ke,f()({"no-mask":!wt},"".concat(st,"-rtl"),Ye==="rtl")),oe=wt?se.getOffsetStyle():{};return t.createElement(ce.Provider,{value:r()(se)},t.createElement(Ae,m()({handler:!1},Object(gt.default)(rt,["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:rt.getContainer===void 0&&Je?function(){return Je(document.body)}:rt.getContainer},oe,{prefixCls:st,open:et,showMask:wt,placement:Rt,style:se.getRcDrawerStyle(),className:Ve}),se.renderBody()))})},se}return a()(Oe,[{key:"componentDidMount",value:function(){var fe=this.props.visible;fe&&this.parentDrawer&&this.parentDrawer.push()}},{key:"componentDidUpdate",value:function(fe){var Le=this.props.visible;fe.visible!==Le&&this.parentDrawer&&(Le?this.parentDrawer.push():this.parentDrawer.pull())}},{key:"componentWillUnmount",value:function(){this.parentDrawer&&(this.parentDrawer.pull(),this.parentDrawer=null)}},{key:"getOffsetStyle",value:function(){var fe=this.props,Le=fe.placement,Je=fe.width,mt=fe.height,Ct=fe.visible,Ue=fe.mask;if(!Ct&&!Ue)return{};var Rt={};return Le==="left"||Le==="right"?Rt.width=Je:Rt.height=mt,Rt}},{key:"renderHeader",value:function(){var fe=this.props,Le=fe.title,Je=fe.prefixCls,mt=fe.closable,Ct=fe.headerStyle;if(!Le&&!mt)return null;var Ue=Le?"".concat(Je,"-header"):"".concat(Je,"-header-no-title");return t.createElement("div",{className:Ue,style:Ct},Le&&t.createElement("div",{className:"".concat(Je,"-title")},Le),mt&&this.renderCloseIcon())}},{key:"renderFooter",value:function(){var fe=this.props,Le=fe.footer,Je=fe.footerStyle,mt=fe.prefixCls;if(!Le)return null;var Ct="".concat(mt,"-footer");return t.createElement("div",{className:Ct,style:Je},Le)}},{key:"renderCloseIcon",value:function(){var fe=this.props,Le=fe.closable,Je=fe.closeIcon,mt=Je===void 0?t.createElement(Ge.a,null):Je,Ct=fe.prefixCls,Ue=fe.onClose;return Le&&t.createElement("button",{onClick:Ue,"aria-label":"Close",className:"".concat(Ct,"-close"),style:{"--scroll-bar":"".concat(Object(C.a)(),"px")}},mt)}},{key:"render",value:function(){return t.createElement(ce.Consumer,null,this.renderProvider)}}]),Oe}(t.Component);$.defaultProps={width:256,height:256,closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:V};var Te=_.a=Object(_e.c)({prefixCls:"drawer"})($)},"/y7N":function(D,_,e){var g=e("bYtY"),f=e("IwbS"),y=e("6GrX"),m=e("7aKB"),v=e("Fofx"),h=e("aX7z"),c=e("+rIm");function a(u){var p=u.get("type"),w=u.getModel(p+"Style"),b;return p==="line"?(b=w.getLineStyle(),b.fill=null):p==="shadow"&&(b=w.getAreaStyle(),b.stroke=null),b}function i(u,p,w,b,E){var A=w.get("value"),S=o(A,p.axis,p.ecModel,w.get("seriesDataIndices"),{precision:w.get("label.precision"),formatter:w.get("label.formatter")}),T=w.getModel("label"),L=m.normalizeCssArray(T.get("padding")||0),x=T.getFont(),C=y.getBoundingRect(S,x),I=E.position,N=C.width+L[1]+L[3],F=C.height+L[0]+L[2],k=E.align;k==="right"&&(I[0]-=N),k==="center"&&(I[0]-=N/2);var B=E.verticalAlign;B==="bottom"&&(I[1]-=F),B==="middle"&&(I[1]-=F/2),r(I,N,F,b);var P=T.get("backgroundColor");(!P||P==="auto")&&(P=p.get("axisLine.lineStyle.color")),u.label={shape:{x:0,y:0,width:N,height:F,r:T.get("borderRadius")},position:I.slice(),style:{text:S,textFont:x,textFill:T.getTextColor(),textPosition:"inside",textPadding:L,fill:P,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(u,p,w,b){var E=b.getWidth(),A=b.getHeight();u[0]=Math.min(u[0]+p,E)-p,u[1]=Math.min(u[1]+w,A)-w,u[0]=Math.max(u[0],0),u[1]=Math.max(u[1],0)}function o(u,p,w,b,E){u=p.scale.parse(u);var A=p.scale.getLabel(u,{precision:E.precision}),S=E.formatter;if(S){var T={value:h.getAxisRawValue(p,u),axisDimension:p.dim,axisIndex:p.index,seriesData:[]};g.each(b,function(L){var x=w.getSeriesByIndex(L.seriesIndex),C=L.dataIndexInside,I=x&&x.getDataParams(C);I&&T.seriesData.push(I)}),g.isString(S)?A=S.replace("{value}",A):g.isFunction(S)&&(A=S(T))}return A}function d(u,p,w){var b=v.create();return v.rotate(b,b,w.rotation),v.translate(b,b,w.position),f.applyTransform([u.dataToCoord(p),(w.labelOffset||0)+(w.labelDirection||1)*(w.labelMargin||0)],b)}function n(u,p,w,b,E,A){var S=c.innerTextLayout(w.rotation,0,w.labelDirection);w.labelMargin=E.get("label.margin"),i(p,b,E,A,{position:d(b.axis,u,w),align:S.textAlign,verticalAlign:S.textVerticalAlign})}function l(u,p,w){return w=w||0,{x1:u[w],y1:u[1-w],x2:p[w],y2:p[1-w]}}function t(u,p,w){return w=w||0,{x:u[w],y:u[1-w],width:p[w],height:p[1-w]}}function s(u,p,w,b,E,A){return{cx:u,cy:p,r0:w,r:b,startAngle:E,endAngle:A,clockwise:!0}}_.buildElStyle=a,_.buildLabelElOption=i,_.getValueLabel=o,_.getTransformedPosition=d,_.buildCartesianSingleLabelElOption=n,_.makeLineShape=l,_.makeRectShape=t,_.makeSectorShape=s},"/zsF":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("bE4E"),m=e.n(y)},"0/Rx":function(D,_){function e(g){return{seriesType:g,reset:function(f,y){var m=y.findComponents({mainType:"legend"});if(!m||!m.length)return;var v=f.getData();v.filterSelf(function(h){for(var c=v.getName(h),a=0;a<m.length;a++)if(!m[a].isSelected(c))return!1;return!0})}}}D.exports=e},"01d+":function(D,_,e){var g=e("bYtY"),f=g.each,y=e("HF/U"),m=y.simpleLayout,v=y.simpleLayoutEdge;function h(c,a){c.eachSeriesByType("graph",function(i){var r=i.get("layout"),o=i.coordinateSystem;if(o&&o.type!=="view"){var d=i.getData(),n=[];f(o.dimensions,function(w){n=n.concat(d.mapDimension(w,!0))});for(var l=0;l<d.count();l++){for(var t=[],s=!1,u=0;u<n.length;u++){var p=d.get(n[u],l);isNaN(p)||(s=!0),t.push(p)}s?d.setItemLayout(l,o.dataToPoint(t)):d.setItemLayout(l,[NaN,NaN])}v(d.graph)}else(!r||r==="none")&&m(i)})}D.exports=h},"03A+":function(D,_,e){var g=e("JTzB"),f=e("ExA7"),y=Object.prototype,m=y.hasOwnProperty,v=y.propertyIsEnumerable,h=g(function(){return arguments}())?g:function(c){return f(c)&&m.call(c,"callee")&&!v.call(c,"callee")};D.exports=h},"06DH":function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("Kagy"),m=e("IUWy"),v=y.toolbox.magicType,h="__ec_magicType_stack__";function c(d){this.model=d}c.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(v.title),option:{},seriesIndex:{}};var a=c.prototype;a.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 i={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"]];a.onclick=function(d,n,l){var t=this.model,s=t.get("seriesIndex."+l);if(!i[l])return;var u={series:[]},p=function(E){var A=E.subType,S=E.id,T=i[l](A,S,E,t);T&&(f.defaults(T,E.option),u.series.push(T));var L=E.coordinateSystem;if(L&&L.type==="cartesian2d"&&(l==="line"||l==="bar")){var x=L.getAxesByScale("ordinal")[0];if(x){var C=x.dim,I=C+"Axis",N=d.queryComponents({mainType:I,index:E.get(name+"Index"),id:E.get(name+"Id")})[0],F=N.componentIndex;u[I]=u[I]||[];for(var k=0;k<=F;k++)u[I][F]=u[I][F]||{};u[I][F].boundaryGap=l==="bar"}}};f.each(r,function(E){f.indexOf(E,l)>=0&&f.each(E,function(A){t.setIconStatus(A,"normal")})}),t.setIconStatus(l,"emphasis"),d.eachComponent({mainType:"series",query:s==null?null:{seriesIndex:s}},p);var w;if(l==="stack"){var b=u.series&&u.series[0]&&u.series[0].stack===h;w=b?f.merge({stack:v.title.tiled},v.title):f.clone(v.title)}n.dispatchAction({type:"changeMagicType",currentType:l,newOption:u,newTitle:w,featureName:"magicType"})},g.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(d,n){n.mergeOption(d.newOption)}),m.register("magicType",c);var o=c;D.exports=o},"06Qe":function(D,_,e){var g=e("ItGF"),f="urn:schemas-microsoft-com:vml",y=typeof window=="undefined"?null:window,m=!1,v=y&&y.document;function h(i){return c(i)}var c;if(v&&!g.canvasSupported)try{!v.namespaces.zrvml&&v.namespaces.add("zrvml",f),c=function(r){return v.createElement("<zrvml:"+r+' class="zrvml">')}}catch(i){c=function(o){return v.createElement("<"+o+' xmlns="'+f+'" class="zrvml">')}}function a(){if(m||!v)return;m=!0;var i=v.styleSheets;i.length<31?v.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):i[0].addRule(".zrvml","behavior:url(#default#VML)")}_.doc=v,_.createNode=h,_.initVML=a},"09Wf":function(D,_,e){"use strict";e.d(_,"b",function(){return f}),e.d(_,"a",function(){return y});var g=e("CWQg"),f=Object(g.a)("success","processing","error","default","warning"),y=Object(g.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Bwj":function(D,_,e){var g=e("T4UG"),f=e("I3/A"),y=e("7aKB"),m=y.encodeHTML,v=e("Qxkt"),h=e("Tghj"),c=h.__DEV__,a=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 v(l[s],this,o));if(n&&d){var u=f(n,d,this,!0,p);return u.data}function p(w,b){w.wrapMethod("getItemModel",function(E,A){return E.customizeGetParent(function(S){var T=this.parentModel,L=T.getData().getItemLayout(A).depth,x=T.levelModels[L];return x||this.parentModel}),E}),b.wrapMethod("getItemModel",function(E,A){return E.customizeGetParent(function(S){var T=this.parentModel,L=T.getGraph().getEdgeByIndex(A),x=L.node1.getLayout().depth,C=T.levelModels[x];return C||this.parentModel}),E})}},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),u=s.getLayout().value,p=this.getDataParams(r,d).data.name;if(u)var t=p+" : "+u;return m(t)}return a.superCall(this,"formatTooltip",r,o)},optionUpdated:function(){var r=this.option;r.focusNodeAdjacency===!0&&(r.focusNodeAdjacency="allEdges")},getDataParams:function(r,o){var d=a.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}}),i=a;D.exports=i},"0Cz8":function(D,_,e){var g=e("Xi7e"),f=e("ebwN"),y=e("e4Nc"),m=200;function v(h,c){var a=this.__data__;if(a instanceof g){var i=a.__data__;if(!f||i.length<m-1)return i.push([h,c]),this.size=++a.size,this;a=this.__data__=new y(i)}return a.set(h,c),this.size=a.size,this}D.exports=v},"0HBW":function(D,_,e){var g=e("ProS"),f=e("bYtY");e("Hxpc"),e("7uqq"),e("dmGj"),e("SehX");function y(m,v){v.update="updateView",g.registerAction(v,function(h,c){var a={};return c.eachComponent({mainType:"geo",query:h},function(i){i[m](h.name);var r=i.coordinateSystem;f.each(r.regions,function(o){a[o.name]=i.isSelected(o.name)||!1})}),{selected:a,name:h.name}})}y("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),y("select",{type:"geoSelect",event:"geoselected"}),y("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(D,_,e){var g=e("bYtY"),f=e("+TT/"),y=e("OELB"),m=e("IDmD"),v=864e5;function h(i,r,o){this._model=i}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(i){i=y.parseDate(i);var r=i.getFullYear(),o=i.getMonth()+1;o=o<10?"0"+o:o;var d=i.getDate();d=d<10?"0"+d:d;var n=i.getDay();return n=Math.abs((n+7-this.getFirstDayOfWeek())%7),{y:r,m:o,d,day:n,time:i.getTime(),formatedDate:r+"-"+o+"-"+d,date:i}},getNextNDay:function(i,r){return r=r||0,r===0?this.getDateInfo(i):(i=new Date(this.getDateInfo(i).time),i.setDate(i.getDate()+r),this.getDateInfo(i))},update:function(i,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(w){p(n,w)&&(l[d[w]]=n[w]*t[w])});var s={width:r.getWidth(),height:r.getHeight()},u=this._rect=f.getLayoutRect(l,s);g.each([0,1],function(w){p(n,w)||(n[w]=u[d[w]]/t[w])});function p(w,b){return w[b]!=null&&w[b]!=="auto"}this._sw=n[0],this._sh=n[1]},dataToPoint:function(i,r){g.isArray(i)&&(i=i[0]),r==null&&(r=!0);var o=this.getDateInfo(i),d=this._rangeInfo,n=o.formatedDate;if(r&&!(o.time>=d.start.time&&o.time<d.end.time+v))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(i){var r=this.pointToDate(i);return r&&r.time},dataToRect:function(i,r){var o=this.dataToPoint(i,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(i){var r=Math.floor((i[0]-this._rect.x)/this._sw)+1,o=Math.floor((i[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(c,"dataToPoint"),convertFromPixel:g.curry(c,"pointToData"),_initRangeOption:function(){var i=this._model.get("range"),r=i;if(g.isArray(r)&&r.length===1&&(r=r[0]),/^\d{4}$/.test(r)&&(i=[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);i=[o.formatedDate,n.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(r)&&(i=[r,r]);var l=this._getRangeInfo(i);return l.start.time>l.end.time&&i.reverse(),i},_getRangeInfo:function(i){i=[this.getDateInfo(i[0]),this.getDateInfo(i[1])];var r;i[0].time>i[1].time&&(r=!0,i.reverse());var o=Math.floor(i[1].time/v)-Math.floor(i[0].time/v)+1,d=new Date(i[0].time),n=d.getDate(),l=i[1].date.getDate();d.setDate(n+o-1);var t=d.getDate();if(t!==l)for(var s=d.getTime()-i[1].time>0?1:-1;(t=d.getDate())!==l&&(d.getTime()-i[1].time)*s>0;)o-=s,d.setDate(t-s);var u=Math.floor((o+i[0].day+6)/7),p=r?-u+1:u-1;return r&&i.reverse(),{range:[i[0].formatedDate,i[1].formatedDate],start:i[0],end:i[1],allDay:o,weeks:u,nthWeek:p,fweek:i[0].day,lweek:i[1].day}},_getDateByWeeksAndDay:function(i,r,o){var d=this._getRangeInfo(o);if(i>d.weeks||i===0&&r<d.fweek||i===d.weeks&&r>d.lweek)return!1;var n=(i-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(i,r){var o=[];return i.eachComponent("calendar",function(d){var n=new h(d,i,r);o.push(n),d.coordinateSystem=n}),i.eachSeries(function(d){d.get("coordinateSystem")==="calendar"&&(d.coordinateSystem=o[d.get("calendarIndex")||0])}),o};function c(i,r,o,d){var n=o.calendarModel,l=o.seriesModel,t=n?n.coordinateSystem:l?l.coordinateSystem:null;return t===this?t[i](d):null}m.register("calendar",h);var a=h;D.exports=a},"0JQy":function(D,_){var e="\\ud800-\\udfff",g="\\u0300-\\u036f",f="\\ufe20-\\ufe2f",y="\\u20d0-\\u20ff",m=g+f+y,v="\\ufe0e\\ufe0f",h="["+e+"]",c="["+m+"]",a="\\ud83c[\\udffb-\\udfff]",i="(?:"+c+"|"+a+")",r="[^"+e+"]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",n="\\u200d",l=i+"?",t="["+v+"]?",s="(?:"+n+"(?:"+[r,o,d].join("|")+")"+t+l+")*",u=t+l+s,p="(?:"+[r+c+"?",c,o,d,h].join("|")+")",w=RegExp(a+"(?="+a+")|"+p+u,"g");function b(E){return E.match(w)||[]}D.exports=b},"0NbB":function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="CaretDownOutlined";var h=_.a=g.forwardRef(v)},"0V0F":function(D,_,e){var g=e("bYtY"),f=g.createHashMap,y=g.each;function m(h){var c=f();h.eachSeries(function(a){var i=a.get("stack");if(i){var r=c.get(i)||c.set(i,[]),o=a.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:a};if(!d.stackedDimension||!(d.isStackedByIndex||d.stackedByDimension))return;r.length&&o.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(d)}}),c.each(v)}function v(h){y(h,function(c,a){var i=[],r=[NaN,NaN],o=[c.stackResultDimension,c.stackedOverDimension],d=c.data,n=c.isStackedByIndex,l=d.map(o,function(t,s,u){var p=d.get(c.stackedDimension,u);if(isNaN(p))return r;var w,b;n?b=d.getRawIndex(u):w=d.get(c.stackedByDimension,u);for(var E=NaN,A=a-1;A>=0;A--){var S=h[A];if(n||(b=S.data.rawIndexOf(S.stackedByDimension,w)),b>=0){var T=S.data.getByRawIndex(S.stackResultDimension,b);if(p>=0&&T>0||p<=0&&T<0){p+=T,E=T;break}}}return i[0]=p,i[1]=E,i});d.hostModel.setData(l),c.data=l})}D.exports=m},"0XgM":function(D,_,e){},"0fbx":function(D,_,e){},"0o9m":function(D,_,e){var g=e("ProS");e("hNWo"),e("RlCK"),e("XpcN");var f=e("kDyi"),y=e("bLfw");g.registerProcessor(g.PRIORITY.PROCESSOR.SERIES_FILTER,f),y.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(D,_,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(D,_){var e=arguments[3],g=arguments[4],f=arguments[5],y=JSON.stringify;D.exports=function(m,v){for(var h,c=Object.keys(f),a=0,i=c.length;a<i;a++){var r=c[a],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={},a=0,i=c.length;a<i;a++){var r=c[a];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("+y(h)+");(f.default ? f.default : f)(self);}",l];var t={};s(n);function s(A){t[A]=!0;for(var S in g[A][1]){var T=g[A][1][S];t[T]||s(T)}}var u="("+e+")({"+Object.keys(t).map(function(A){return y(A)+":["+g[A][0]+","+y(g[A][1])+"]"}).join(",")+"},{},["+y(n)+"])",p=window.URL||window.webkitURL||window.mozURL||window.msURL,w=new Blob([u],{type:"text/javascript"});if(v&&v.bare)return w;var b=p.createObjectURL(w),E=new Worker(b);return E.objectURL=b,E}},"0s+r":function(D,_,e){var g=e("bYtY"),f=e("QBsz"),y=e("y23F"),m=e("H6uX"),v=e("YH21"),h=e("C0SR"),c="silent";function a(s,u,p){return{type:s,event:p,target:u.target,topTarget:u.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:i}}function i(){v.stop(this.event)}function r(){}r.prototype.dispose=function(){};var o=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],d=function(u,p,w,b){m.call(this),this.storage=u,this.painter=p,this.painterRoot=b,w=w||new r,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,y.call(this),this.setHandlerProxy(w)};d.prototype={constructor:d,setHandlerProxy:function(u){this.proxy&&this.proxy.dispose(),u&&(g.each(o,function(p){u.on&&u.on(p,this[p],this)},this),u.handler=this),this.proxy=u},mousemove:function(u){var p=u.zrX,w=u.zrY,b=l(this,p,w),E=this._hovered,A=E.target;A&&!A.__zr&&(E=this.findHover(E.x,E.y),A=E.target);var S=this._hovered=b?{x:p,y:w}:this.findHover(p,w),T=S.target,L=this.proxy;L.setCursor&&L.setCursor(T?T.cursor:"default"),A&&T!==A&&this.dispatchToElement(E,"mouseout",u),this.dispatchToElement(S,"mousemove",u),T&&T!==A&&this.dispatchToElement(S,"mouseover",u)},mouseout:function(u){var p=u.zrEventControl,w=u.zrIsToLocalDOM;p!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",u),p!=="no_globalout"&&(!w&&this.trigger("globalout",{type:"globalout",event:u}))},resize:function(u){this._hovered={}},dispatch:function(u,p){var w=this[u];w&&w.call(this,p)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(u){var p=this.proxy;p.setCursor&&p.setCursor(u)},dispatchToElement:function(u,p,w){u=u||{};var b=u.target;if(b&&b.silent)return;for(var E="on"+p,A=a(p,u,w);b&&!(b[E]&&(A.cancelBubble=b[E].call(b,A)),b.trigger(p,A),b=b.parent,A.cancelBubble););A.cancelBubble||(this.trigger(p,A),this.painter&&this.painter.eachOtherLayer(function(S){typeof S[E]=="function"&&S[E].call(S,A),S.trigger&&S.trigger(p,A)}))},findHover:function(u,p,w){for(var b=this.storage.getDisplayList(),E={x:u,y:p},A=b.length-1;A>=0;A--){var S;if(b[A]!==w&&!b[A].ignore&&(S=n(b[A],u,p))&&(!E.topTarget&&(E.topTarget=b[A]),S!==c)){E.target=b[A];break}}return E},processGesture:function(u,p){this._gestureMgr||(this._gestureMgr=new h);var w=this._gestureMgr;p==="start"&&w.clear();var b=w.recognize(u,this.findHover(u.zrX,u.zrY,null).target,this.proxy.dom);if(p==="end"&&w.clear(),b){var E=b.type;u.gestureEvent=E,this.dispatchToElement({target:b.target},E,b.event)}}},g.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(s){d.prototype[s]=function(u){var p=u.zrX,w=u.zrY,b=l(this,p,w),E,A;if((s!=="mouseup"||!b)&&(E=this.findHover(p,w),A=E.target),s==="mousedown")this._downEl=A,this._downPoint=[u.zrX,u.zrY],this._upEl=A;else if(s==="mouseup")this._upEl=A;else if(s==="click"){if(this._downEl!==this._upEl||!this._downPoint||f.dist(this._downPoint,[u.zrX,u.zrY])>4)return;this._downPoint=null}this.dispatchToElement(E,s,u)}});function n(s,u,p){if(s[s.rectHover?"rectContain":"contain"](u,p)){for(var w=s,b;w;){if(w.clipPath&&!w.clipPath.contain(u,p))return!1;w.silent&&(b=!0),w=w.parent}return b?c:!0}return!1}function l(s,u,p){var w=s.painter;return u<0||u>w.getWidth()||p<0||p>w.getHeight()}g.mixin(d,m),g.mixin(d,y);var t=d;D.exports=t},"0ycA":function(D,_){function e(){return[]}D.exports=e},"10cm":function(D,_,e){var g=e("ProS"),f=e("2B6p"),y=f.updateCenterAndZoom;e("0qV/");var m={type:"graphRoam",event:"graphRoam",update:"none"};g.registerAction(m,function(v,h){h.eachComponent({mainType:"series",query:v},function(c){var a=c.coordinateSystem,i=y(a,v);c.setCenter&&c.setCenter(i.center),c.setZoom&&c.setZoom(i.zoom)})})},"15/o":function(D,_,e){},"19Vz":function(D,_,e){(function(g){g(e("VrN/"))})(function(g){g.defineOption("placeholder","",function(a,i,r){var o=r&&r!=g.Init;if(i&&!o)a.on("blur",v),a.on("change",h),a.on("swapDoc",h),g.on(a.getInputField(),"compositionupdate",a.state.placeholderCompose=function(){m(a)}),h(a);else if(!i&&o){a.off("blur",v),a.off("change",h),a.off("swapDoc",h),g.off(a.getInputField(),"compositionupdate",a.state.placeholderCompose),f(a);var d=a.getWrapperElement();d.className=d.className.replace(" CodeMirror-empty","")}i&&!a.hasFocus()&&v(a)});function f(a){a.state.placeholder&&(a.state.placeholder.parentNode.removeChild(a.state.placeholder),a.state.placeholder=null)}function y(a){f(a);var i=a.state.placeholder=document.createElement("pre");i.style.cssText="height: 0; overflow: visible",i.style.direction=a.getOption("direction"),i.className="CodeMirror-placeholder CodeMirror-line-like";var r=a.getOption("placeholder");typeof r=="string"&&(r=document.createTextNode(r)),i.appendChild(r),a.display.lineSpace.insertBefore(i,a.display.lineSpace.firstChild)}function m(a){setTimeout(function(){var i=!1,r=a.getInputField();r.nodeName=="TEXTAREA"?i=!r.value:a.lineCount()==1&&(i=!/[^\u200b]/.test(r.querySelector(".CodeMirror-line").textContent)),i?y(a):f(a)},20)}function v(a){c(a)&&y(a)}function h(a){var i=a.getWrapperElement(),r=c(a);i.className=i.className.replace(" CodeMirror-empty","")+(r?" CodeMirror-empty":""),r?y(a):f(a)}function c(a){return a.lineCount()===1&&a.getLine(0)===""}})},"1Jh7":function(D,_,e){var g=e("y+Vt"),f=e("T6xi"),y=g.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(v,h){f.buildPath(v,h,!1)}});D.exports=y},"1LEl":function(D,_,e){var g=e("ProS"),f=e("F9bG"),y=g.extendComponentView({type:"axisPointer",render:function(v,h,c){var a=h.getComponent("tooltip"),i=v.get("triggerOn")||a&&a.get("triggerOn")||"mousemove|click";f.register("axisPointer",c,function(r,o,d){i!=="none"&&(r==="leave"||i.indexOf(r)>=0)&&d({type:"updateAxisPointer",currTrigger:r,x:o&&o.offsetX,y:o&&o.offsetY})})},remove:function(v,h){f.unregister(h.getZr(),"axisPointer"),y.superApply(this._model,"remove",arguments)},dispose:function(v,h){f.unregister("axisPointer",h),y.superApply(this._model,"dispose",arguments)}}),m=y;D.exports=m},"1MYJ":function(D,_,e){var g=e("y+Vt"),f=g.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var m=this.__dirtyPath,v=this.shape.paths,h=0;h<v.length;h++)m=m||v[h].__dirtyPath;this.__dirtyPath=m,this.__dirty=this.__dirty||m},beforeBrush:function(){this._updatePathDirty();for(var m=this.shape.paths||[],v=this.getGlobalScale(),h=0;h<m.length;h++)m[h].path||m[h].createPathProxy(),m[h].path.setScale(v[0],v[1],m[h].segmentIgnoreThreshold)},buildPath:function(m,v){for(var h=v.paths||[],c=0;c<h.length;c++)h[c].buildPath(m,h[c].shape,!0)},afterBrush:function(){for(var m=this.shape.paths||[],v=0;v<m.length;v++)m[v].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),g.prototype.getBoundingRect.call(this)}});D.exports=f},"1NG9":function(D,_,e){var g=e("y+Vt"),f=e("QBsz"),y=e("iXp4"),m=f.min,v=f.max,h=f.scaleAndAdd,c=f.copy,a=[],i=[],r=[];function o(p){return isNaN(p[0])||isNaN(p[1])}function d(p,w,b,E,A,S,T,L,x,C,I){return C==="none"||!C?l.apply(this,arguments):n.apply(this,arguments)}function n(p,w,b,E,A,S,T,L,x,C,I){for(var N=0,F=b,k=0;k<E;k++){var B=w[F];if(F>=A||F<0)break;if(o(B)){if(I){F+=S;continue}break}if(F===b)p[S>0?"moveTo":"lineTo"](B[0],B[1]);else if(x>0){var P=w[N],K=C==="y"?1:0,R=(B[K]-P[K])*x;c(i,P),i[K]=P[K]+R,c(r,B),r[K]=B[K]-R,p.bezierCurveTo(i[0],i[1],r[0],r[1],B[0],B[1])}else p.lineTo(B[0],B[1]);N=F,F+=S}return k}function l(p,w,b,E,A,S,T,L,x,C,I){for(var N=0,F=b,k=0;k<E;k++){var B=w[F];if(F>=A||F<0)break;if(o(B)){if(I){F+=S;continue}break}if(F===b)p[S>0?"moveTo":"lineTo"](B[0],B[1]),c(i,B);else if(x>0){var P=F+S,K=w[P];if(I)for(;K&&o(w[P]);)P+=S,K=w[P];var R=.5,U=w[N],K=w[P];if(!K||o(K))c(r,B);else{o(K)&&!I&&(K=B),f.sub(a,K,U);var j,H;if(C==="x"||C==="y"){var W=C==="x"?0:1;j=Math.abs(B[W]-U[W]),H=Math.abs(B[W]-K[W])}else j=f.dist(B,U),H=f.dist(B,K);R=H/(H+j),h(r,B,a,-x*(1-R))}m(i,i,L),v(i,i,T),m(r,r,L),v(r,r,T),p.bezierCurveTo(i[0],i[1],r[0],r[1],B[0],B[1]),h(i,B,a,x*R)}else p.lineTo(B[0],B[1]);N=F,F+=S}return k}function t(p,w){var b=[Infinity,Infinity],E=[-Infinity,-Infinity];if(w)for(var A=0;A<p.length;A++){var S=p[A];S[0]<b[0]&&(b[0]=S[0]),S[1]<b[1]&&(b[1]=S[1]),S[0]>E[0]&&(E[0]=S[0]),S[1]>E[1]&&(E[1]=S[1])}return{min:w?b:E,max:w?E:b}}var s=g.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:y(g.prototype.brush),buildPath:function(p,w){var b=w.points,E=0,A=b.length,S=t(b,w.smoothConstraint);if(w.connectNulls){for(;A>0&&o(b[A-1]);A--);for(;E<A&&o(b[E]);E++);}for(;E<A;)E+=d(p,b,E,A,A,1,S.min,S.max,w.smooth,w.smoothMonotone,w.connectNulls)+1}}),u=g.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:y(g.prototype.brush),buildPath:function(p,w){var b=w.points,E=w.stackedOnPoints,A=0,S=b.length,T=w.smoothMonotone,L=t(b,w.smoothConstraint),x=t(E,w.smoothConstraint);if(w.connectNulls){for(;S>0&&o(b[S-1]);S--);for(;A<S&&o(b[A]);A++);}for(;A<S;){var C=d(p,b,A,S,S,1,L.min,L.max,w.smooth,T,w.connectNulls);d(p,E,A+C-1,C,S,-1,x.min,x.max,w.stackedOnSmooth,T,w.connectNulls),A+=C+1,p.closePath()}}});_.Polyline=s,_.Polygon=u},"1RvN":function(D,_){var e=function(){this.head=null,this.tail=null,this._len=0},g=e.prototype;g.insert=function(h){var c=new f(h);return this.insertEntry(c),c},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 c=h.prev,a=h.next;c?c.next=a:this.head=a,a?a.prev=c:this.tail=c,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(c){this.value=c,this.next,this.prev},y=function(c){this._list=new e,this._map={},this._maxSize=c||10,this._lastRemovedEntry=null},m=y.prototype;m.put=function(h,c){var a=this._list,i=this._map,r=null;if(i[h]==null){var o=a.len(),d=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var n=a.head;a.remove(n),delete i[n.key],r=n.value,this._lastRemovedEntry=n}d?d.value=c:d=new f(c),d.key=h,a.insertEntry(d),i[h]=d}return r},m.get=function(h){var c=this._map[h],a=this._list;if(c!=null)return c!==a.tail&&(a.remove(c),a.insertEntry(c)),c.value},m.clear=function(){this._list.clear(),this._map={}};var v=y;D.exports=v},"1bdT":function(D,_,e){var g=e("3gBT"),f=e("H6uX"),y=e("DN4a"),m=e("vWvF"),v=e("bYtY"),h=function(i){y.call(this,i),f.call(this,i),m.call(this,i),this.id=i.id||g()};h.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(i,r){switch(this.draggable){case"horizontal":r=0;break;case"vertical":i=0;break}var o=this.transform;o||(o=this.transform=[1,0,0,1,0,0]),o[4]+=i,o[5]+=r,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(i,r){},attrKV:function(i,r){if(i==="position"||i==="scale"||i==="origin"){if(r){var o=this[i];o||(o=this[i]=[]),o[0]=r[0],o[1]=r[1]}}else this[i]=r},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(i,r){if(typeof i=="string")this.attrKV(i,r);else if(v.isObject(i))for(var o in i)i.hasOwnProperty(o)&&this.attrKV(o,i[o]);return this.dirty(!1),this},setClipPath:function(i){var r=this.__zr;r&&i.addSelfToZr(r),this.clipPath&&this.clipPath!==i&&this.removeClipPath(),this.clipPath=i,i.__zr=r,i.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var i=this.clipPath;i&&(i.__zr&&i.removeSelfFromZr(i.__zr),i.__zr=null,i.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(i){this.__zr=i;var r=this.animators;if(r)for(var o=0;o<r.length;o++)i.animation.addAnimator(r[o]);this.clipPath&&this.clipPath.addSelfToZr(i)},removeSelfFromZr:function(i){this.__zr=null;var r=this.animators;if(r)for(var o=0;o<r.length;o++)i.animation.removeAnimator(r[o]);this.clipPath&&this.clipPath.removeSelfFromZr(i)}},v.mixin(h,m),v.mixin(h,y),v.mixin(h,f);var c=h;D.exports=c},"1dTM":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=e("GQ8N"),f=C(e("Lo0S")),y=e("VSMT"),m=e("GdRQ"),v=e("SZEN"),h=e("vewr"),c=L(e("YJ9k")),a=L(e("MZdM")),i=L(e("ItS6")),r=L(e("whVF")),o=L(e("Fv0C")),d=L(e("LCi9")),n=L(e("rwxt")),l=L(e("Mmt2")),t=L(e("iUHT")),s=L(e("mHUz")),u=L(e("P2ho")),p=e("NBmB");e("mdZa");var w=L(e("34/K")),b=L(e("hXwI")),E=L(e("SgaC")),A=L(e("3690")),S=L(e("8K/p")),T=L(e("xO64"));function L(Te){return Te&&Te.__esModule?Te:{default:Te}}function x(){if(typeof WeakMap!="function")return null;var Te=new WeakMap;return x=function(){return Te},Te}function C(Te){if(Te&&Te.__esModule)return Te;if(Te===null||I(Te)!=="object"&&typeof Te!="function")return{default:Te};var ye=x();if(ye&&ye.has(Te))return ye.get(Te);var Fe={},Oe=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var se in Te)if(Object.prototype.hasOwnProperty.call(Te,se)){var fe=Oe?Object.getOwnPropertyDescriptor(Te,se):null;fe&&(fe.get||fe.set)?Object.defineProperty(Fe,se,fe):Fe[se]=Te[se]}return Fe.default=Te,ye&&ye.set(Te,Fe),Fe}function I(Te){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?I=function(Fe){return typeof Fe}:I=function(Fe){return Fe&&typeof Symbol=="function"&&Fe.constructor===Symbol&&Fe!==Symbol.prototype?"symbol":typeof Fe},I(Te)}function N(Te,ye){if(!(Te instanceof ye))throw new TypeError("Cannot call a class as a function")}function F(Te,ye){for(var Fe=0;Fe<ye.length;Fe++){var Oe=ye[Fe];Oe.enumerable=Oe.enumerable||!1,Oe.configurable=!0,"value"in Oe&&(Oe.writable=!0),Object.defineProperty(Te,Oe.key,Oe)}}function k(Te,ye,Fe){return ye&&F(Te.prototype,ye),Fe&&F(Te,Fe),Te}function B(Te,ye){if(typeof ye!="function"&&ye!==null)throw new TypeError("Super expression must either be null or a function");Te.prototype=Object.create(ye&&ye.prototype,{constructor:{value:Te,writable:!0,configurable:!0}}),ye&&P(Te,ye)}function P(Te,ye){return P=Object.setPrototypeOf||function(Oe,se){return Oe.__proto__=se,Oe},P(Te,ye)}function K(Te){var ye=j();return function(){var Oe=H(Te),se;if(ye){var fe=H(this).constructor;se=Reflect.construct(Oe,arguments,fe)}else se=Oe.apply(this,arguments);return R(this,se)}}function R(Te,ye){return ye&&(I(ye)==="object"||typeof ye=="function")?ye:U(Te)}function U(Te){if(Te===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Te}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(Te){return!1}}function H(Te){return H=Object.setPrototypeOf?Object.getPrototypeOf:function(Fe){return Fe.__proto__||Object.getPrototypeOf(Fe)},H(Te)}var W=3,X="rgb(40, 40, 40)",z=17,G=50,Z=19,ge=75,Q=50,we=1e3,Ee=50,Ae=1,Pe=1<<1,Ge=1<<2,gt=1<<3,_e=1<<4,Ce=1<<24,lt=1<<25,ce=1<<26,Y=1<<27,V=1<<28,$=function(Te){B(Fe,Te);var ye=K(Fe);function Fe(Oe,se,fe){var Le;if(N(this,Fe),!Oe)throw new Error("Must specify target");if(!se)throw new Error("Must specify URL");Le=ye.call(this),Le._target=Oe,Le._url=se,fe=fe||{},Le._rfbCredentials=fe.credentials||{},Le._shared="shared"in fe?!!fe.shared:!0,Le._repeaterID=fe.repeaterID||"",Le._wsProtocols=fe.wsProtocols||[],Le._rfbConnectionState="",Le._rfbInitState="",Le._rfbAuthScheme=-1,Le._rfbCleanDisconnect=!0,Le._rfbVersion=0,Le._rfbMaxVersion=3.8,Le._rfbTightVNC=!1,Le._rfbVeNCryptState=0,Le._rfbXvpVer=0,Le._fbWidth=0,Le._fbHeight=0,Le._fbName="",Le._capabilities={power:!1},Le._supportsFence=!1,Le._supportsContinuousUpdates=!1,Le._enabledContinuousUpdates=!1,Le._supportsSetDesktopSize=!1,Le._screenID=0,Le._screenFlags=0,Le._qemuExtKeyEventSupported=!1,Le._clipboardText=null,Le._clipboardServerCapabilitiesActions={},Le._clipboardServerCapabilitiesFormats={},Le._sock=null,Le._display=null,Le._flushing=!1,Le._keyboard=null,Le._gestures=null,Le._disconnTimer=null,Le._resizeTimeout=null,Le._mouseMoveTimer=null,Le._decoders={},Le._FBU={rects:0,x:0,y:0,width:0,height:0,encoding:null},Le._mousePos={},Le._mouseButtonMask=0,Le._mouseLastMoveTime=0,Le._viewportDragging=!1,Le._viewportDragPos={},Le._viewportHasMoved=!1,Le._accumulatedWheelDeltaX=0,Le._accumulatedWheelDeltaY=0,Le._gestureLastTapTime=null,Le._gestureFirstDoubleTapEv=null,Le._gestureLastMagnitudeX=0,Le._gestureLastMagnitudeY=0,Le._eventHandlers={focusCanvas:Le._focusCanvas.bind(U(Le)),windowResize:Le._windowResize.bind(U(Le)),handleMouse:Le._handleMouse.bind(U(Le)),handleWheel:Le._handleWheel.bind(U(Le)),handleGesture:Le._handleGesture.bind(U(Le))},f.Debug(">> RFB.constructor"),Le._screen=document.createElement("div"),Le._screen.style.display="flex",Le._screen.style.width="100%",Le._screen.style.height="100%",Le._screen.style.overflow="auto",Le._screen.style.background=X,Le._canvas=document.createElement("canvas"),Le._canvas.style.margin="auto",Le._canvas.style.outline="none",Le._canvas.style.flexShrink="0",Le._canvas.width=0,Le._canvas.height=0,Le._canvas.tabIndex=-1,Le._screen.appendChild(Le._canvas),Le._cursor=new n.default,Le._cursorImage=Fe.cursors.none,Le._decoders[p.encodings.encodingRaw]=new w.default,Le._decoders[p.encodings.encodingCopyRect]=new b.default,Le._decoders[p.encodings.encodingRRE]=new E.default,Le._decoders[p.encodings.encodingHextile]=new A.default,Le._decoders[p.encodings.encodingTight]=new S.default,Le._decoders[p.encodings.encodingTightPNG]=new T.default;try{Le._display=new a.default(Le._canvas)}catch(Je){throw f.Error("Display exception: "+Je),Je}return Le._display.onflush=Le._onFlush.bind(U(Le)),Le._keyboard=new o.default(Le._canvas),Le._keyboard.onkeyevent=Le._handleKeyEvent.bind(U(Le)),Le._gestures=new d.default,Le._sock=new l.default,Le._sock.on("message",function(){Le._handleMessage()}),Le._sock.on("open",function(){Le._rfbConnectionState==="connecting"&&Le._rfbInitState===""?(Le._rfbInitState="ProtocolVersion",f.Debug("Starting VNC handshake")):Le._fail("Unexpected server connection while "+Le._rfbConnectionState)}),Le._sock.on("close",function(Je){f.Debug("WebSocket on-close event");var mt="";Je.code&&(mt="(code: "+Je.code,Je.reason&&(mt+=", reason: "+Je.reason),mt+=")");switch(Le._rfbConnectionState){case"connecting":Le._fail("Connection closed "+mt);break;case"connected":Le._updateConnectionState("disconnecting"),Le._updateConnectionState("disconnected");break;case"disconnecting":Le._updateConnectionState("disconnected");break;case"disconnected":Le._fail("Unexpected server disconnect when already disconnected "+mt);break;default:Le._fail("Unexpected server disconnect before connecting "+mt);break}Le._sock.off("close")}),Le._sock.on("error",function(Je){return f.Warn("WebSocket on-error event")}),setTimeout(Le._updateConnectionState.bind(U(Le),"connecting")),f.Debug("<< RFB.constructor"),Le.dragViewport=!1,Le.focusOnClick=!0,Le._viewOnly=!1,Le._clipViewport=!1,Le._scaleViewport=!1,Le._resizeSession=!1,Le._showDotCursor=!1,fe.showDotCursor!==void 0&&(f.Warn("Specifying showDotCursor as a RFB constructor argument is deprecated"),Le._showDotCursor=fe.showDotCursor),Le._qualityLevel=6,Le._compressionLevel=2,Le}return k(Fe,[{key:"disconnect",value:function(){this._updateConnectionState("disconnecting"),this._sock.off("error"),this._sock.off("message"),this._sock.off("open")}},{key:"sendCredentials",value:function(se){this._rfbCredentials=se,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(se,fe,Le){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(Le===void 0){this.sendKey(se,fe,!0),this.sendKey(se,fe,!1);return}var Je=u.default[fe];if(this._qemuExtKeyEventSupported&&Je)se=se||0,f.Info("Sending key ("+(Le?"down":"up")+"): keysym "+se+", scancode "+Je),Fe.messages.QEMUExtendedKeyEvent(this._sock,se,Le,Je);else{if(!se)return;f.Info("Sending keysym ("+(Le?"down":"up")+"): "+se),Fe.messages.keyEvent(this._sock,se,Le?1:0)}}},{key:"focus",value:function(){this._canvas.focus()}},{key:"blur",value:function(){this._canvas.blur()}},{key:"clipboardPasteFrom",value:function(se){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(this._clipboardServerCapabilitiesFormats[Ae]&&this._clipboardServerCapabilitiesActions[Y])this._clipboardText=se,Fe.messages.extendedClipboardNotify(this._sock,[Ae]);else{for(var fe=new Uint8Array(se.length),Le=0;Le<se.length;Le++)fe[Le]=se.charCodeAt(Le);Fe.messages.clientCutText(this._sock,fe)}}},{key:"_connect",value:function(){f.Debug(">> RFB.connect"),f.Info("connecting to "+this._url);try{this._sock.open(this._url,this._wsProtocols)}catch(se){se.name==="SyntaxError"?this._fail("Invalid host or port ("+se+")"):this._fail("Error when opening socket ("+se+")")}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(se){if(!(se.name==="NotFoundError"))throw se}clearTimeout(this._resizeTimeout),clearTimeout(this._mouseMoveTimer),f.Debug("<< RFB.disconnect")}},{key:"_focusCanvas",value:function(se){if(!this.focusOnClick)return;this.focus()}},{key:"_setDesktopName",value:function(se){this._fbName=se,this.dispatchEvent(new CustomEvent("desktopname",{detail:{name:this._fbName}}))}},{key:"_windowResize",value:function(se){var fe=this;window.requestAnimationFrame(function(){fe._updateClip(),fe._updateScale()}),this._resizeSession&&(clearTimeout(this._resizeTimeout),this._resizeTimeout=setTimeout(this._requestRemoteResize.bind(this),500))}},{key:"_updateClip",value:function(){var se=this._display.clipViewport,fe=this._clipViewport;if(this._scaleViewport&&(fe=!1),se!==fe&&(this._display.clipViewport=fe),fe){var Le=this._screenSize();this._display.viewportChangeSize(Le.w,Le.h),this._fixScrollbars()}}},{key:"_updateScale",value:function(){if(!this._scaleViewport)this._display.scale=1;else{var se=this._screenSize();this._display.autoscale(se.w,se.h)}this._fixScrollbars()}},{key:"_requestRemoteResize",value:function(){if(clearTimeout(this._resizeTimeout),this._resizeTimeout=null,!this._resizeSession||this._viewOnly||!this._supportsSetDesktopSize)return;var se=this._screenSize();Fe.messages.setDesktopSize(this._sock,Math.floor(se.w),Math.floor(se.h),this._screenID,this._screenFlags),f.Debug("Requested new desktop size: "+se.w+"x"+se.h)}},{key:"_screenSize",value:function(){var se=this._screen.getBoundingClientRect();return{w:se.width,h:se.height}}},{key:"_fixScrollbars",value:function(){var se=this._screen.style.overflow;this._screen.style.overflow="hidden",this._screen.getBoundingClientRect(),this._screen.style.overflow=se}},{key:"_updateConnectionState",value:function(se){var fe=this,Le=this._rfbConnectionState;if(se===Le){f.Debug("Already in state '"+se+"', ignoring");return}if(Le==="disconnected"){f.Error("Tried changing state of a disconnected RFB object");return}switch(se){case"connected":if(Le!=="connecting"){f.Error("Bad transition to connected state, previous connection state: "+Le);return}break;case"disconnected":if(Le!=="disconnecting"){f.Error("Bad transition to disconnected state, previous connection state: "+Le);return}break;case"connecting":if(Le!==""){f.Error("Bad transition to connecting state, previous connection state: "+Le);return}break;case"disconnecting":if(Le!=="connected"&&Le!=="connecting"){f.Error("Bad transition to disconnecting state, previous connection state: "+Le);return}break;default:f.Error("Unknown connection state: "+se);return}this._rfbConnectionState=se,f.Debug("New state '"+se+"', was '"+Le+"'."),this._disconnTimer&&se!=="disconnecting"&&(f.Debug("Clearing disconnect timer"),clearTimeout(this._disconnTimer),this._disconnTimer=null,this._sock.off("close"));switch(se){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."),fe._updateConnectionState("disconnected")},W*1e3);break;case"disconnected":this.dispatchEvent(new CustomEvent("disconnect",{detail:{clean:this._rfbCleanDisconnect}}));break}}},{key:"_fail",value:function(se){switch(this._rfbConnectionState){case"disconnecting":f.Error("Failed when disconnecting: "+se);break;case"connected":f.Error("Failed while connected: "+se);break;case"connecting":f.Error("Failed when connecting: "+se);break;default:f.Error("RFB failure: "+se);break}return this._rfbCleanDisconnect=!1,this._updateConnectionState("disconnecting"),this._updateConnectionState("disconnected"),!1}},{key:"_setCapability",value:function(se,fe){this._capabilities[se]=fe,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(se,fe,Le){this.sendKey(se,fe,Le)}},{key:"_handleMouse",value:function(se){if(se.type==="click"&&se.target!==this._canvas)return;if(se.stopPropagation(),se.preventDefault(),se.type==="click"||se.type==="contextmenu")return;var fe=(0,v.clientToElement)(se.clientX,se.clientY,this._canvas);switch(se.type){case"mousedown":(0,h.setCapture)(this._canvas),this._handleMouseButton(fe.x,fe.y,!0,1<<se.button);break;case"mouseup":this._handleMouseButton(fe.x,fe.y,!1,1<<se.button);break;case"mousemove":this._handleMouseMove(fe.x,fe.y);break}}},{key:"_handleMouseButton",value:function(se,fe,Le,Je){if(this.dragViewport)if(Le&&!this._viewportDragging){this._viewportDragging=!0,this._viewportDragPos={x:se,y:fe},this._viewportHasMoved=!1;return}else{if(this._viewportDragging=!1,this._viewportHasMoved)return;this._sendMouse(se,fe,Je)}this._mouseMoveTimer!==null&&(clearTimeout(this._mouseMoveTimer),this._mouseMoveTimer=null,this._sendMouse(se,fe,this._mouseButtonMask)),Le?this._mouseButtonMask|=Je:this._mouseButtonMask&=~Je,this._sendMouse(se,fe,this._mouseButtonMask)}},{key:"_handleMouseMove",value:function(se,fe){var Le=this;if(this._viewportDragging){var Je=this._viewportDragPos.x-se,mt=this._viewportDragPos.y-fe;(this._viewportHasMoved||Math.abs(Je)>m.dragThreshold||Math.abs(mt)>m.dragThreshold)&&(this._viewportHasMoved=!0,this._viewportDragPos={x:se,y:fe},this._display.viewportChangePos(Je,mt));return}if(this._mousePos={x:se,y:fe},this._mouseMoveTimer==null){var Ct=Date.now()-this._mouseLastMoveTime;Ct>z?(this._sendMouse(se,fe,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()):this._mouseMoveTimer=setTimeout(function(){Le._handleDelayedMouseMove()},z-Ct)}}},{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(se,fe,Le){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;Fe.messages.pointerEvent(this._sock,this._display.absX(se),this._display.absY(fe),Le)}},{key:"_handleWheel",value:function(se){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;se.stopPropagation(),se.preventDefault();var fe=(0,v.clientToElement)(se.clientX,se.clientY,this._canvas),Le=se.deltaX,Je=se.deltaY;se.deltaMode!==0&&(Le*=Z,Je*=Z),this._accumulatedWheelDeltaX+=Le,this._accumulatedWheelDeltaY+=Je,Math.abs(this._accumulatedWheelDeltaX)>=G&&(this._accumulatedWheelDeltaX<0?(this._handleMouseButton(fe.x,fe.y,!0,1<<5),this._handleMouseButton(fe.x,fe.y,!1,1<<5)):this._accumulatedWheelDeltaX>0&&(this._handleMouseButton(fe.x,fe.y,!0,1<<6),this._handleMouseButton(fe.x,fe.y,!1,1<<6)),this._accumulatedWheelDeltaX=0),Math.abs(this._accumulatedWheelDeltaY)>=G&&(this._accumulatedWheelDeltaY<0?(this._handleMouseButton(fe.x,fe.y,!0,1<<3),this._handleMouseButton(fe.x,fe.y,!1,1<<3)):this._accumulatedWheelDeltaY>0&&(this._handleMouseButton(fe.x,fe.y,!0,1<<4),this._handleMouseButton(fe.x,fe.y,!1,1<<4)),this._accumulatedWheelDeltaY=0)}},{key:"_fakeMouseMove",value:function(se,fe,Le){this._handleMouseMove(fe,Le),this._cursor.move(se.detail.clientX,se.detail.clientY)}},{key:"_handleTapEvent",value:function(se,fe){var Le=(0,v.clientToElement)(se.detail.clientX,se.detail.clientY,this._canvas);if(this._gestureLastTapTime!==null&&Date.now()-this._gestureLastTapTime<we&&this._gestureFirstDoubleTapEv.detail.type===se.detail.type){var Je=this._gestureFirstDoubleTapEv.detail.clientX-se.detail.clientX,mt=this._gestureFirstDoubleTapEv.detail.clientY-se.detail.clientY,Ct=Math.hypot(Je,mt);Ct<Ee?Le=(0,v.clientToElement)(this._gestureFirstDoubleTapEv.detail.clientX,this._gestureFirstDoubleTapEv.detail.clientY,this._canvas):this._gestureFirstDoubleTapEv=se}else this._gestureFirstDoubleTapEv=se;this._gestureLastTapTime=Date.now(),this._fakeMouseMove(this._gestureFirstDoubleTapEv,Le.x,Le.y),this._handleMouseButton(Le.x,Le.y,!0,fe),this._handleMouseButton(Le.x,Le.y,!1,fe)}},{key:"_handleGesture",value:function(se){var fe,Le=(0,v.clientToElement)(se.detail.clientX,se.detail.clientY,this._canvas);switch(se.type){case"gesturestart":switch(se.detail.type){case"onetap":this._handleTapEvent(se,1);break;case"twotap":this._handleTapEvent(se,4);break;case"threetap":this._handleTapEvent(se,2);break;case"drag":this._fakeMouseMove(se,Le.x,Le.y),this._handleMouseButton(Le.x,Le.y,!0,1);break;case"longpress":this._fakeMouseMove(se,Le.x,Le.y),this._handleMouseButton(Le.x,Le.y,!0,4);break;case"twodrag":this._gestureLastMagnitudeX=se.detail.magnitudeX,this._gestureLastMagnitudeY=se.detail.magnitudeY,this._fakeMouseMove(se,Le.x,Le.y);break;case"pinch":this._gestureLastMagnitudeX=Math.hypot(se.detail.magnitudeX,se.detail.magnitudeY),this._fakeMouseMove(se,Le.x,Le.y);break}break;case"gesturemove":switch(se.detail.type){case"onetap":case"twotap":case"threetap":break;case"drag":case"longpress":this._fakeMouseMove(se,Le.x,Le.y);break;case"twodrag":for(this._fakeMouseMove(se,Le.x,Le.y);se.detail.magnitudeY-this._gestureLastMagnitudeY>Q;)this._handleMouseButton(Le.x,Le.y,!0,8),this._handleMouseButton(Le.x,Le.y,!1,8),this._gestureLastMagnitudeY+=Q;for(;se.detail.magnitudeY-this._gestureLastMagnitudeY<-Q;)this._handleMouseButton(Le.x,Le.y,!0,16),this._handleMouseButton(Le.x,Le.y,!1,16),this._gestureLastMagnitudeY-=Q;for(;se.detail.magnitudeX-this._gestureLastMagnitudeX>Q;)this._handleMouseButton(Le.x,Le.y,!0,32),this._handleMouseButton(Le.x,Le.y,!1,32),this._gestureLastMagnitudeX+=Q;for(;se.detail.magnitudeX-this._gestureLastMagnitudeX<-Q;)this._handleMouseButton(Le.x,Le.y,!0,64),this._handleMouseButton(Le.x,Le.y,!1,64),this._gestureLastMagnitudeX-=Q;break;case"pinch":if(this._fakeMouseMove(se,Le.x,Le.y),fe=Math.hypot(se.detail.magnitudeX,se.detail.magnitudeY),Math.abs(fe-this._gestureLastMagnitudeX)>ge){for(this._handleKeyEvent(s.default.XK_Control_L,"ControlLeft",!0);fe-this._gestureLastMagnitudeX>ge;)this._handleMouseButton(Le.x,Le.y,!0,8),this._handleMouseButton(Le.x,Le.y,!1,8),this._gestureLastMagnitudeX+=ge;for(;fe-this._gestureLastMagnitudeX<-ge;)this._handleMouseButton(Le.x,Le.y,!0,16),this._handleMouseButton(Le.x,Le.y,!1,16),this._gestureLastMagnitudeX-=ge}this._handleKeyEvent(s.default.XK_Control_L,"ControlLeft",!1);break}break;case"gestureend":switch(se.detail.type){case"onetap":case"twotap":case"threetap":case"pinch":case"twodrag":break;case"drag":this._fakeMouseMove(se,Le.x,Le.y),this._handleMouseButton(Le.x,Le.y,!1,1);break;case"longpress":this._fakeMouseMove(se,Le.x,Le.y),this._handleMouseButton(Le.x,Le.y,!1,4);break}break}}},{key:"_negotiateProtocolVersion",value:function(){if(this._sock.rQwait("version",12))return!1;var se=this._sock.rQshiftStr(12).substr(4,7);f.Info("Server ProtocolVersion: "+se);var fe=0;switch(se){case"000.000":fe=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 "+se)}if(fe){for(var Le="ID:"+this._repeaterID;Le.length<250;)Le+="\0";return this._sock.sendString(Le),!0}this._rfbVersion>this._rfbMaxVersion&&(this._rfbVersion=this._rfbMaxVersion);var Je="00"+parseInt(this._rfbVersion,10)+".00"+this._rfbVersion*10%10;this._sock.sendString("RFB "+Je+`
`),f.Debug("Sent ProtocolVersion: "+Je),this._rfbInitState="Security"}},{key:"_negotiateSecurity",value:function(){function se(Je,mt){for(var Ct=0;Ct<mt.length;Ct++)if(mt[Ct]===Je)return!0;return!1}if(this._rfbVersion>=3.7){var fe=this._sock.rQshift8();if(this._sock.rQwait("security type",fe,1))return!1;if(fe===0)return this._rfbInitState="SecurityReason",this._securityContext="no security types",this._securityStatus=1,this._initMsg();var Le=this._sock.rQshiftBytes(fe);if(f.Debug("Server security types: "+Le),se(1,Le))this._rfbAuthScheme=1;else if(se(22,Le))this._rfbAuthScheme=22;else if(se(16,Le))this._rfbAuthScheme=16;else if(se(2,Le))this._rfbAuthScheme=2;else if(se(19,Le))this._rfbAuthScheme=19;else return this._fail("Unsupported security types (types: "+Le+")");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 se=this._sock.rQshift32(),fe="";if(se>0){if(this._sock.rQwait("reason",se,4))return!1;fe=this._sock.rQshiftStr(se)}return fe!==""?(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus,reason:fe}})),this._fail("Security negotiation failed on "+this._securityContext+" (reason: "+fe+")")):(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 se=String.fromCharCode(this._rfbCredentials.username.length)+String.fromCharCode(this._rfbCredentials.target.length)+this._rfbCredentials.username+this._rfbCredentials.target;return this._sock.sendString(se),this._rfbAuthScheme=2,this._negotiateAuthentication()}},{key:"_negotiateVeNCryptAuth",value:function(){if(this._rfbVeNCryptState==0){if(this._sock.rQwait("vencrypt version",2))return!1;var se=this._sock.rQshift8(),fe=this._sock.rQshift8();if(!(se==0&&fe==2))return this._fail("Unsupported VeNCrypt version "+se+"."+fe);this._sock.send([0,2]),this._rfbVeNCryptState=1}if(this._rfbVeNCryptState==1){if(this._sock.rQwait("vencrypt ack",1))return!1;var Le=this._sock.rQshift8();if(Le!=0)return this._fail("VeNCrypt failure "+Le);this._rfbVeNCryptState=2}if(this._rfbVeNCryptState==2){if(this._sock.rQwait("vencrypt subtypes length",1))return!1;var Je=this._sock.rQshift8();if(Je<1)return this._fail("VeNCrypt subtypes empty");this._rfbVeNCryptSubtypesLength=Je,this._rfbVeNCryptState=3}if(this._rfbVeNCryptState==3){if(this._sock.rQwait("vencrypt subtypes",4*this._rfbVeNCryptSubtypesLength))return!1;for(var mt=[],Ct=0;Ct<this._rfbVeNCryptSubtypesLength;Ct++)mt.push(this._sock.rQshift32());if(mt.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 Ue=(0,y.encodeUTF8)(this._rfbCredentials.username),Rt=(0,y.encodeUTF8)(this._rfbCredentials.password);return this._sock.send([0,0,0,Ue.length]),this._sock.send([0,0,0,Rt.length]),this._sock.sendString(Ue),this._sock.sendString(Rt),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 se=Array.prototype.slice.call(this._sock.rQshiftBytes(16)),fe=Fe.genDES(this._rfbCredentials.password,se);return this._sock.send(fe),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(se){for(var fe={0:{vendor:"TGHT",signature:"NOTUNNEL"}},Le={},Je=0;Je<se;Je++){var mt=this._sock.rQshift32(),Ct=this._sock.rQshiftStr(4),Ue=this._sock.rQshiftStr(8);Le[mt]={vendor:Ct,signature:Ue}}return f.Debug("Server Tight tunnel types: "+Le),Le[1]&&Le[1].vendor==="SICR"&&Le[1].signature==="SCHANNEL"&&(f.Debug("Detected Siemens server. Assuming NOTUNNEL support."),Le[0]={vendor:"TGHT",signature:"NOTUNNEL"}),Le[0]?Le[0].vendor!=fe[0].vendor||Le[0].signature!=fe[0].signature?this._fail("Client's tunnel type had the incorrect vendor or signature"):(f.Debug("Selected tunnel type: "+fe[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 se=this._sock.rQshift32();if(se>0&&this._sock.rQwait("tunnel capabilities",16*se,4))return!1;if(this._rfbTightVNC=!0,se>0)return this._negotiateTightTunnels(se),!1}if(this._sock.rQwait("sub auth count",4))return!1;var fe=this._sock.rQshift32();if(fe===0)return this._rfbInitState="SecurityResult",!0;if(this._sock.rQwait("sub auth capabilities",16*fe,4))return!1;for(var Le={STDVNOAUTH__:1,STDVVNCAUTH_:2,TGHTULGNAUTH:129},Je=[],mt=0;mt<fe;mt++){this._sock.rQshift32();var Ct=this._sock.rQshiftStr(12);Je.push(Ct)}f.Debug("Server Tight authentication types: "+Je);for(var Ue in Le)if(Je.indexOf(Ue)!=-1){this._sock.send([0,0,0,Le[Ue]]),f.Debug("Selected authentication type: "+Ue);switch(Ue){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: "+Ue+")")}}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 se=this._sock.rQshift32();return se===0?(this._rfbInitState="ClientInitialisation",f.Debug("Authentication OK"),this._initMsg()):this._rfbVersion>=3.8?(this._rfbInitState="SecurityReason",this._securityContext="security result",this._securityStatus=se,this._initMsg()):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:se}})),this._fail("Security handshake failed"))}},{key:"_negotiateServerInit",value:function(){if(this._sock.rQwait("server initialization",24))return!1;var se=this._sock.rQshift16(),fe=this._sock.rQshift16(),Le=this._sock.rQshift8(),Je=this._sock.rQshift8(),mt=this._sock.rQshift8(),Ct=this._sock.rQshift8(),Ue=this._sock.rQshift16(),Rt=this._sock.rQshift16(),Ke=this._sock.rQshift16(),wt=this._sock.rQshift8(),Ye=this._sock.rQshift8(),et=this._sock.rQshift8();this._sock.rQskipBytes(3);var rt=this._sock.rQshift32();if(this._sock.rQwait("server init name",rt,24))return!1;var st=this._sock.rQshiftStr(rt);if(st=(0,y.decodeUTF8)(st,!0),this._rfbTightVNC){if(this._sock.rQwait("TightVNC extended server init header",8,24+rt))return!1;var Ve=this._sock.rQshift16(),oe=this._sock.rQshift16(),re=this._sock.rQshift16();this._sock.rQskipBytes(2);var it=(Ve+oe+re)*16;if(this._sock.rQwait("TightVNC extended server init header",it,32+rt))return!1;this._sock.rQskipBytes(16*Ve),this._sock.rQskipBytes(16*oe),this._sock.rQskipBytes(16*re)}return f.Info("Screen: "+se+"x"+fe+", bpp: "+Le+", depth: "+Je+", bigEndian: "+mt+", trueColor: "+Ct+", redMax: "+Ue+", greenMax: "+Rt+", blueMax: "+Ke+", redShift: "+wt+", greenShift: "+Ye+", blueShift: "+et),this._setDesktopName(st),this._resize(se,fe),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),Fe.messages.pixelFormat(this._sock,this._fbDepth,!0),this._sendEncodings(),Fe.messages.fbUpdateRequest(this._sock,!1,0,0,this._fbWidth,this._fbHeight),this._updateConnectionState("connected"),!0}},{key:"_sendEncodings",value:function(){var se=[];se.push(p.encodings.encodingCopyRect),this._fbDepth==24&&(se.push(p.encodings.encodingTight),se.push(p.encodings.encodingTightPNG),se.push(p.encodings.encodingHextile),se.push(p.encodings.encodingRRE)),se.push(p.encodings.encodingRaw),se.push(p.encodings.pseudoEncodingQualityLevel0+this._qualityLevel),se.push(p.encodings.pseudoEncodingCompressLevel0+this._compressionLevel),se.push(p.encodings.pseudoEncodingDesktopSize),se.push(p.encodings.pseudoEncodingLastRect),se.push(p.encodings.pseudoEncodingQEMUExtendedKeyEvent),se.push(p.encodings.pseudoEncodingExtendedDesktopSize),se.push(p.encodings.pseudoEncodingXvp),se.push(p.encodings.pseudoEncodingFence),se.push(p.encodings.pseudoEncodingContinuousUpdates),se.push(p.encodings.pseudoEncodingDesktopName),se.push(p.encodings.pseudoEncodingExtendedClipboard),this._fbDepth==24&&(se.push(p.encodings.pseudoEncodingVMwareCursor),se.push(p.encodings.pseudoEncodingCursor)),Fe.messages.clientEncodings(this._sock,se)}},{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 se=this._sock.rQshift32();if(se=(0,g.toSigned32bit)(se),this._sock.rQwait("ServerCutText content",Math.abs(se),8))return!1;if(se>=0){var fe=this._sock.rQshiftStr(se);if(this._viewOnly)return!0;this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:fe}}))}else{se=Math.abs(se);var Le=this._sock.rQshift32(),Je=Le&65535,mt=Le&4278190080,Ct=!!(mt&Ce);if(Ct){this._clipboardServerCapabilitiesFormats={},this._clipboardServerCapabilitiesActions={};for(var Ue=0;Ue<=15;Ue++){var Rt=1<<Ue;Je&Rt&&(this._clipboardServerCapabilitiesFormats[Rt]=!0,this._sock.rQshift32())}for(var Ke=24;Ke<=31;Ke++){var wt=1<<Ke;this._clipboardServerCapabilitiesActions[wt]=!!(mt&wt)}var Ye=[Ce,lt,ce,Y,V];Fe.messages.extendedClipboardCaps(this._sock,Ye,{extendedClipboardFormatText:0})}else if(mt===lt){if(this._viewOnly)return!0;this._clipboardText!=null&&this._clipboardServerCapabilitiesActions[V]&&(Je&Ae&&Fe.messages.extendedClipboardProvide(this._sock,[Ae],[this._clipboardText]))}else if(mt===ce){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[Y]&&(this._clipboardText!=null?Fe.messages.extendedClipboardNotify(this._sock,[Ae]):Fe.messages.extendedClipboardNotify(this._sock,[]))}else if(mt===Y){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[lt]&&(Je&Ae&&Fe.messages.extendedClipboardRequest(this._sock,[Ae]))}else if(mt===V){if(this._viewOnly)return!0;if(!(Je&Ae))return!0;this._clipboardText=null;var et=this._sock.rQshiftBytes(se-4),rt=new i.default,st=null;rt.setInput(et);for(var Ve=0;Ve<=15;Ve++){var oe=1<<Ve;if(Je&oe){var re=0,it=rt.inflate(4);re|=it[0]<<24,re|=it[1]<<16,re|=it[2]<<8,re|=it[3];var Qe=rt.inflate(re);oe===Ae&&(st=Qe)}}if(rt.setInput(null),st!==null){for(var ve="",Zt=0;Zt<st.length;Zt++)ve+=String.fromCharCode(st[Zt]);st=ve,st=(0,y.decodeUTF8)(st),st.length>0&&st.charAt(st.length-1)==="\0"&&(st=st.slice(0,-1)),st=st.replace(`\r
`,`
`),this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:st}}))}}else return this._fail("Unexpected action in extended clipboard message: "+mt)}return!0}},{key:"_handleServerFenceMsg",value:function(){if(this._sock.rQwait("ServerFence header",8,1))return!1;this._sock.rQskipBytes(3);var se=this._sock.rQshift32(),fe=this._sock.rQshift8();if(this._sock.rQwait("ServerFence payload",fe,9))return!1;fe>64&&(f.Warn("Bad payload length ("+fe+") in fence response"),fe=64);var Le=this._sock.rQshiftStr(fe);return this._supportsFence=!0,se&1<<31?(se&=1<<0|1<<1,Fe.messages.clientFence(this._sock,se,Le),!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 se=this._sock.rQshift8(),fe=this._sock.rQshift8();switch(fe){case 0:f.Error("XVP Operation Failed");break;case 1:this._rfbXvpVer=se,f.Info("XVP extensions enabled (version "+this._rfbXvpVer+")"),this._setCapability("power",!0);break;default:this._fail("Illegal server XVP message (msg: "+fe+")");break}return!0}},{key:"_normalMsg",value:function(){var se;this._FBU.rects>0?se=0:se=this._sock.rQshift8();var fe,Le;switch(se){case 0:return Le=this._framebufferUpdate(),Le&&!this._enabledContinuousUpdates&&Fe.messages.fbUpdateRequest(this._sock,!0,0,0,this._fbWidth,this._fbHeight),Le;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 fe=!this._supportsContinuousUpdates,this._supportsContinuousUpdates=!0,this._enabledContinuousUpdates=!1,fe&&(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 "+se+")"),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 se=this._sock.rQshiftBytes(12);this._FBU.x=(se[0]<<8)+se[1],this._FBU.y=(se[2]<<8)+se[3],this._FBU.width=(se[4]<<8)+se[5],this._FBU.height=(se[6]<<8)+se[7],this._FBU.encoding=parseInt((se[8]<<24)+(se[9]<<16)+(se[10]<<8)+se[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 se=document.createEvent("keyboardEvent");se.code!==void 0&&(this._qemuExtKeyEventSupported=!0)}catch(fe){}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 se=this._FBU.x,fe=this._FBU.y,Le=this._FBU.width,Je=this._FBU.height;if(this._sock.rQwait("VMware cursor encoding",1))return!1;var mt=this._sock.rQshift8();this._sock.rQshift8();var Ct,Ue=4;if(mt==0){var Rt=4294967040|0;if(Ct=new Array(Le*Je*Ue),this._sock.rQwait("VMware cursor classic encoding",Le*Je*Ue*2,2))return!1;for(var Ke=new Array(Le*Je),wt=0;wt<Le*Je;wt++)Ke[wt]=this._sock.rQshift32();for(var Ye=new Array(Le*Je),et=0;et<Le*Je;et++)Ye[et]=this._sock.rQshift32();for(var rt=0;rt<Le*Je;rt++)if(Ke[rt]==0){var st=Ye[rt],Ve=st>>8&255,oe=st>>16&255,re=st>>24&255;Ct[rt*Ue]=Ve,Ct[rt*Ue+1]=oe,Ct[rt*Ue+2]=re,Ct[rt*Ue+3]=255}else(Ke[rt]&Rt)==Rt?Ye[rt]==0?(Ct[rt*Ue]=0,Ct[rt*Ue+1]=0,Ct[rt*Ue+2]=0,Ct[rt*Ue+3]=0):((Ye[rt]&Rt)==Rt,Ct[rt*Ue]=0,Ct[rt*Ue+1]=0,Ct[rt*Ue+2]=0,Ct[rt*Ue+3]=255):(Ct[rt*Ue]=0,Ct[rt*Ue+1]=0,Ct[rt*Ue+2]=0,Ct[rt*Ue+3]=255)}else if(mt==1){if(this._sock.rQwait("VMware cursor alpha encoding",Le*Je*4,2))return!1;Ct=new Array(Le*Je*Ue);for(var it=0;it<Le*Je;it++){var Qe=this._sock.rQshift32();Ct[it*4]=Qe>>24&255,Ct[it*4+1]=Qe>>16&255,Ct[it*4+2]=Qe>>8&255,Ct[it*4+3]=Qe&255}}else return f.Warn("The given cursor type is not supported: "+mt+" given."),!1;return this._updateCursor(Ct,se,fe,Le,Je),!0}},{key:"_handleCursor",value:function(){var se=this._FBU.x,fe=this._FBU.y,Le=this._FBU.width,Je=this._FBU.height,mt=Le*Je*4,Ct=Math.ceil(Le/8)*Je,Ue=mt+Ct;if(this._sock.rQwait("cursor encoding",Ue))return!1;for(var Rt=this._sock.rQshiftBytes(mt),Ke=this._sock.rQshiftBytes(Ct),wt=new Uint8Array(Le*Je*4),Ye=0,et=0;et<Je;et++)for(var rt=0;rt<Le;rt++){var st=et*Math.ceil(Le/8)+Math.floor(rt/8),Ve=Ke[st]<<rt%8&128?255:0;wt[Ye]=Rt[Ye+2],wt[Ye+1]=Rt[Ye+1],wt[Ye+2]=Rt[Ye],wt[Ye+3]=Ve,Ye+=4}return this._updateCursor(wt,se,fe,Le,Je),!0}},{key:"_handleDesktopName",value:function(){if(this._sock.rQwait("DesktopName",4))return!1;var se=this._sock.rQshift32();if(this._sock.rQwait("DesktopName",se,4))return!1;var fe=this._sock.rQshiftStr(se);return fe=(0,y.decodeUTF8)(fe,!0),this._setDesktopName(fe),!0}},{key:"_handleExtendedDesktopSize",value:function(){if(this._sock.rQwait("ExtendedDesktopSize",4))return!1;var se=this._sock.rQpeek8(),fe=4+se*16;if(this._sock.rQwait("ExtendedDesktopSize",fe))return!1;var Le=!this._supportsSetDesktopSize;this._supportsSetDesktopSize=!0,Le&&this._requestRemoteResize(),this._sock.rQskipBytes(1),this._sock.rQskipBytes(3);for(var Je=0;Je<se;Je+=1)Je===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 mt="";switch(this._FBU.y){case 1:mt="Resize is administratively prohibited";break;case 2:mt="Out of resources";break;case 3:mt="Invalid screen layout";break;default:mt="Unknown reason";break}f.Warn("Server did not accept the resize request: "+mt)}else this._resize(this._FBU.width,this._FBU.height);return!0}},{key:"_handleDataRect",value:function(){var se=this._decoders[this._FBU.encoding];if(!se)return this._fail("Unsupported encoding (encoding: "+this._FBU.encoding+")"),!1;try{return se.decodeRect(this._FBU.x,this._FBU.y,this._FBU.width,this._FBU.height,this._sock,this._display,this._fbDepth)}catch(fe){return this._fail("Error decoding rect: "+fe),!1}}},{key:"_updateContinuousUpdates",value:function(){if(!this._enabledContinuousUpdates)return;Fe.messages.enableContinuousUpdates(this._sock,!0,0,0,this._fbWidth,this._fbHeight)}},{key:"_resize",value:function(se,fe){this._fbWidth=se,this._fbHeight=fe,this._display.resize(this._fbWidth,this._fbHeight),this._updateClip(),this._updateScale(),this._updateContinuousUpdates()}},{key:"_xvpOp",value:function(se,fe){if(this._rfbXvpVer<se)return;f.Info("Sending XVP operation "+fe+" (version "+se+")"),Fe.messages.xvpOp(this._sock,se,fe)}},{key:"_updateCursor",value:function(se,fe,Le,Je,mt){this._cursorImage={rgbaPixels:se,hotx:fe,hoty:Le,w:Je,h:mt},this._refreshCursor()}},{key:"_shouldShowDotCursor",value:function(){if(!this._showDotCursor)return!1;for(var se=3;se<this._cursorImage.rgbaPixels.length;se+=4)if(this._cursorImage.rgbaPixels[se])return!1;return!0}},{key:"_refreshCursor",value:function(){if(this._rfbConnectionState!=="connecting"&&this._rfbConnectionState!=="connected")return;var se=this._shouldShowDotCursor()?Fe.cursors.dot:this._cursorImage;this._cursor.change(se.rgbaPixels,se.hotx,se.hoty,se.w,se.h)}},{key:"viewOnly",get:function(){return this._viewOnly},set:function(se){this._viewOnly=se,(this._rfbConnectionState==="connecting"||this._rfbConnectionState==="connected")&&(se?this._keyboard.ungrab():this._keyboard.grab())}},{key:"capabilities",get:function(){return this._capabilities}},{key:"touchButton",get:function(){return 0},set:function(se){f.Warn("Using old API!")}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(se){this._clipViewport=se,this._updateClip()}},{key:"scaleViewport",get:function(){return this._scaleViewport},set:function(se){this._scaleViewport=se,se&&this._clipViewport&&this._updateClip(),this._updateScale(),!se&&this._clipViewport&&this._updateClip()}},{key:"resizeSession",get:function(){return this._resizeSession},set:function(se){this._resizeSession=se,se&&this._requestRemoteResize()}},{key:"showDotCursor",get:function(){return this._showDotCursor},set:function(se){this._showDotCursor=se,this._refreshCursor()}},{key:"background",get:function(){return this._screen.style.background},set:function(se){this._screen.style.background=se}},{key:"qualityLevel",get:function(){return this._qualityLevel},set:function(se){if(!Number.isInteger(se)||se<0||se>9){f.Error("qualityLevel must be an integer between 0 and 9");return}if(this._qualityLevel===se)return;this._qualityLevel=se,this._rfbConnectionState==="connected"&&this._sendEncodings()}},{key:"compressionLevel",get:function(){return this._compressionLevel},set:function(se){if(!Number.isInteger(se)||se<0||se>9){f.Error("compressionLevel must be an integer between 0 and 9");return}if(this._compressionLevel===se)return;this._compressionLevel=se,this._rfbConnectionState==="connected"&&this._sendEncodings()}}],[{key:"genDES",value:function(se,fe){var Le=se.split("").map(function(Je){return Je.charCodeAt(0)});return new t.default(Le).encrypt(fe)}}]),Fe}(c.default);_.default=$,$.messages={keyEvent:function(ye,Fe,Oe){var se=ye._sQ,fe=ye._sQlen;se[fe]=4,se[fe+1]=Oe,se[fe+2]=0,se[fe+3]=0,se[fe+4]=Fe>>24,se[fe+5]=Fe>>16,se[fe+6]=Fe>>8,se[fe+7]=Fe,ye._sQlen+=8,ye.flush()},QEMUExtendedKeyEvent:function(ye,Fe,Oe,se){function fe(Ct){var Ue=se>>8,Rt=se&255;return Ue===224&&Rt<127?Rt|128:Ct}var Le=ye._sQ,Je=ye._sQlen;Le[Je]=255,Le[Je+1]=0,Le[Je+2]=Oe>>8,Le[Je+3]=Oe,Le[Je+4]=Fe>>24,Le[Je+5]=Fe>>16,Le[Je+6]=Fe>>8,Le[Je+7]=Fe;var mt=fe(se);Le[Je+8]=mt>>24,Le[Je+9]=mt>>16,Le[Je+10]=mt>>8,Le[Je+11]=mt,ye._sQlen+=12,ye.flush()},pointerEvent:function(ye,Fe,Oe,se){var fe=ye._sQ,Le=ye._sQlen;fe[Le]=5,fe[Le+1]=se,fe[Le+2]=Fe>>8,fe[Le+3]=Fe,fe[Le+4]=Oe>>8,fe[Le+5]=Oe,ye._sQlen+=6,ye.flush()},_buildExtendedClipboardFlags:function(ye,Fe){for(var Oe=new Uint8Array(4),se=0,fe=0,Le=0;Le<ye.length;Le++)fe|=ye[Le];for(var Je=0;Je<Fe.length;Je++)se|=Fe[Je];return Oe[0]=fe>>24,Oe[1]=0,Oe[2]=0,Oe[3]=se,Oe},extendedClipboardProvide:function(ye,Fe,Oe){for(var se=new r.default,fe=[],Le=0;Le<Fe.length;Le++){if(Fe[Le]!=Ae)throw new Error("Unsupported extended clipboard format for Provide message.");Oe[Le]=Oe[Le].replace(/\r\n|\r|\n/gm,`\r
`);var Je=(0,y.encodeUTF8)(Oe[Le]+"\0");fe.push(Je.length>>24&255,Je.length>>16&255,Je.length>>8&255,Je.length&255);for(var mt=0;mt<Je.length;mt++)fe.push(Je.charCodeAt(mt))}var Ct=se.deflate(new Uint8Array(fe)),Ue=new Uint8Array(4+Ct.length);Ue.set($.messages._buildExtendedClipboardFlags([V],Fe)),Ue.set(Ct,4),$.messages.clientCutText(ye,Ue,!0)},extendedClipboardNotify:function(ye,Fe){var Oe=$.messages._buildExtendedClipboardFlags([Y],Fe);$.messages.clientCutText(ye,Oe,!0)},extendedClipboardRequest:function(ye,Fe){var Oe=$.messages._buildExtendedClipboardFlags([lt],Fe);$.messages.clientCutText(ye,Oe,!0)},extendedClipboardCaps:function(ye,Fe,Oe){var se=Object.keys(Oe),fe=new Uint8Array(4+4*se.length);se.map(function(mt){return parseInt(mt)}),se.sort(function(mt,Ct){return mt-Ct}),fe.set($.messages._buildExtendedClipboardFlags(Fe,[]));for(var Le=4,Je=0;Je<se.length;Je++)fe[Le]=Oe[se[Je]]>>24,fe[Le+1]=Oe[se[Je]]>>16,fe[Le+2]=Oe[se[Je]]>>8,fe[Le+3]=Oe[se[Je]]>>0,Le+=4,fe[3]|=1<<se[Je];$.messages.clientCutText(ye,fe,!0)},clientCutText:function(ye,Fe){var Oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,se=ye._sQ,fe=ye._sQlen;se[fe]=6,se[fe+1]=0,se[fe+2]=0,se[fe+3]=0;var Le;Oe?Le=(0,g.toUnsigned32bit)(-Fe.length):Le=Fe.length,se[fe+4]=Le>>24,se[fe+5]=Le>>16,se[fe+6]=Le>>8,se[fe+7]=Le,ye._sQlen+=8;for(var Je=0,mt=Fe.length;mt>0;){for(var Ct=Math.min(mt,ye._sQbufferSize-ye._sQlen),Ue=0;Ue<Ct;Ue++)se[ye._sQlen+Ue]=Fe[Je+Ue];ye._sQlen+=Ct,ye.flush(),mt-=Ct,Je+=Ct}},setDesktopSize:function(ye,Fe,Oe,se,fe){var Le=ye._sQ,Je=ye._sQlen;Le[Je]=251,Le[Je+1]=0,Le[Je+2]=Fe>>8,Le[Je+3]=Fe,Le[Je+4]=Oe>>8,Le[Je+5]=Oe,Le[Je+6]=1,Le[Je+7]=0,Le[Je+8]=se>>24,Le[Je+9]=se>>16,Le[Je+10]=se>>8,Le[Je+11]=se,Le[Je+12]=0,Le[Je+13]=0,Le[Je+14]=0,Le[Je+15]=0,Le[Je+16]=Fe>>8,Le[Je+17]=Fe,Le[Je+18]=Oe>>8,Le[Je+19]=Oe,Le[Je+20]=fe>>24,Le[Je+21]=fe>>16,Le[Je+22]=fe>>8,Le[Je+23]=fe,ye._sQlen+=24,ye.flush()},clientFence:function(ye,Fe,Oe){var se=ye._sQ,fe=ye._sQlen;se[fe]=248,se[fe+1]=0,se[fe+2]=0,se[fe+3]=0,se[fe+4]=Fe>>24,se[fe+5]=Fe>>16,se[fe+6]=Fe>>8,se[fe+7]=Fe;var Le=Oe.length;se[fe+8]=Le;for(var Je=0;Je<Le;Je++)se[fe+9+Je]=Oe.charCodeAt(Je);ye._sQlen+=9+Le,ye.flush()},enableContinuousUpdates:function(ye,Fe,Oe,se,fe,Le){var Je=ye._sQ,mt=ye._sQlen;Je[mt]=150,Je[mt+1]=Fe,Je[mt+2]=Oe>>8,Je[mt+3]=Oe,Je[mt+4]=se>>8,Je[mt+5]=se,Je[mt+6]=fe>>8,Je[mt+7]=fe,Je[mt+8]=Le>>8,Je[mt+9]=Le,ye._sQlen+=10,ye.flush()},pixelFormat:function(ye,Fe,Oe){var se=ye._sQ,fe=ye._sQlen,Le;Fe>16?Le=32:Fe>8?Le=16:Le=8;var Je=Math.floor(Fe/3);se[fe]=0,se[fe+1]=0,se[fe+2]=0,se[fe+3]=0,se[fe+4]=Le,se[fe+5]=Fe,se[fe+6]=0,se[fe+7]=Oe?1:0,se[fe+8]=0,se[fe+9]=(1<<Je)-1,se[fe+10]=0,se[fe+11]=(1<<Je)-1,se[fe+12]=0,se[fe+13]=(1<<Je)-1,se[fe+14]=Je*2,se[fe+15]=Je*1,se[fe+16]=Je*0,se[fe+17]=0,se[fe+18]=0,se[fe+19]=0,ye._sQlen+=20,ye.flush()},clientEncodings:function(ye,Fe){var Oe=ye._sQ,se=ye._sQlen;Oe[se]=2,Oe[se+1]=0,Oe[se+2]=Fe.length>>8,Oe[se+3]=Fe.length;for(var fe=se+4,Le=0;Le<Fe.length;Le++){var Je=Fe[Le];Oe[fe]=Je>>24,Oe[fe+1]=Je>>16,Oe[fe+2]=Je>>8,Oe[fe+3]=Je,fe+=4}ye._sQlen+=fe-se,ye.flush()},fbUpdateRequest:function(ye,Fe,Oe,se,fe,Le){var Je=ye._sQ,mt=ye._sQlen;typeof Oe=="undefined"&&(Oe=0),typeof se=="undefined"&&(se=0),Je[mt]=3,Je[mt+1]=Fe?1:0,Je[mt+2]=Oe>>8&255,Je[mt+3]=Oe&255,Je[mt+4]=se>>8&255,Je[mt+5]=se&255,Je[mt+6]=fe>>8&255,Je[mt+7]=fe&255,Je[mt+8]=Le>>8&255,Je[mt+9]=Le&255,ye._sQlen+=10,ye.flush()},xvpOp:function(ye,Fe,Oe){var se=ye._sQ,fe=ye._sQlen;se[fe]=250,se[fe+1]=0,se[fe+2]=Fe,se[fe+3]=Oe,ye._sQlen+=4,ye.flush()}},$.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(D,_,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},y={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};g.defineMode("xml",function(m,v){var h=m.indentUnit,c={},a=v.htmlMode?f:y;for(var i in a)c[i]=a[i];for(var i in v)c[i]=v[i];var r,o;function d(N,F){function k(K){return F.tokenize=K,K(N,F)}var B=N.next();if(B=="<")return N.eat("!")?N.eat("[")?N.match("CDATA[")?k(t("atom","]]>")):null:N.match("--")?k(t("comment","-->")):N.match("DOCTYPE",!0,!0)?(N.eatWhile(/[\w\._\-]/),k(s(1))):null:N.eat("?")?(N.eatWhile(/[\w\._\-]/),F.tokenize=t("meta","?>"),"meta"):(r=N.eat("/")?"closeTag":"openTag",F.tokenize=n,"tag bracket");if(B=="&"){var P;return N.eat("#")?N.eat("x")?P=N.eatWhile(/[a-fA-F\d]/)&&N.eat(";"):P=N.eatWhile(/[\d]/)&&N.eat(";"):P=N.eatWhile(/[\w\.\-:]/)&&N.eat(";"),P?"atom":"error"}else return N.eatWhile(/[^&<]/),null}d.isInText=!0;function n(N,F){var k=N.next();if(k==">"||k=="/"&&N.eat(">"))return F.tokenize=d,r=k==">"?"endTag":"selfcloseTag","tag bracket";if(k=="=")return r="equals",null;if(k=="<"){F.tokenize=d,F.state=b,F.tagName=F.tagStart=null;var B=F.tokenize(N,F);return B?B+" tag error":"tag error"}else return/[\'\"]/.test(k)?(F.tokenize=l(k),F.stringStartCol=N.column(),F.tokenize(N,F)):(N.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function l(N){var F=function(B,P){for(;!B.eol();)if(B.next()==N){P.tokenize=n;break}return"string"};return F.isInAttribute=!0,F}function t(N,F){return function(k,B){for(;!k.eol();){if(k.match(F)){B.tokenize=d;break}k.next()}return N}}function s(N){return function(F,k){for(var B;(B=F.next())!=null;){if(B=="<")return k.tokenize=s(N+1),k.tokenize(F,k);if(B==">")if(N==1){k.tokenize=d;break}else return k.tokenize=s(N-1),k.tokenize(F,k)}return"meta"}}function u(N,F,k){this.prev=N.context,this.tagName=F,this.indent=N.indented,this.startOfLine=k,(c.doNotIndent.hasOwnProperty(F)||N.context&&N.context.noIndent)&&(this.noIndent=!0)}function p(N){N.context&&(N.context=N.context.prev)}function w(N,F){for(var k;;){if(!N.context)return;if(k=N.context.tagName,!c.contextGrabbers.hasOwnProperty(k)||!c.contextGrabbers[k].hasOwnProperty(F))return;p(N)}}function b(N,F,k){return N=="openTag"?(k.tagStart=F.column(),E):N=="closeTag"?A:b}function E(N,F,k){return N=="word"?(k.tagName=F.current(),o="tag",L):c.allowMissingTagName&&N=="endTag"?(o="tag bracket",L(N,F,k)):(o="error",E)}function A(N,F,k){if(N=="word"){var B=F.current();return k.context&&k.context.tagName!=B&&c.implicitlyClosed.hasOwnProperty(k.context.tagName)&&p(k),k.context&&k.context.tagName==B||c.matchClosing===!1?(o="tag",S):(o="tag error",T)}else return c.allowMissingTagName&&N=="endTag"?(o="tag bracket",S(N,F,k)):(o="error",T)}function S(N,F,k){return N!="endTag"?(o="error",S):(p(k),b)}function T(N,F,k){return o="error",S(N,F,k)}function L(N,F,k){if(N=="word")return o="attribute",x;if(N=="endTag"||N=="selfcloseTag"){var B=k.tagName,P=k.tagStart;return k.tagName=k.tagStart=null,N=="selfcloseTag"||c.autoSelfClosers.hasOwnProperty(B)?w(k,B):(w(k,B),k.context=new u(k,B,P==k.indented)),b}return o="error",L}function x(N,F,k){return N=="equals"?C:(c.allowMissing||(o="error"),L(N,F,k))}function C(N,F,k){return N=="string"?I:N=="word"&&c.allowUnquoted?(o="string",L):(o="error",L(N,F,k))}function I(N,F,k){return N=="string"?I:L(N,F,k)}return{startState:function(F){var k={tokenize:d,state:b,indented:F||0,tagName:null,tagStart:null,context:null};return F!=null&&(k.baseIndent=F),k},token:function(F,k){if(!k.tagName&&F.sol()&&(k.indented=F.indentation()),F.eatSpace())return null;r=null;var B=k.tokenize(F,k);return(B||r)&&B!="comment"&&(o=null,k.state=k.state(r||B,F,k),o&&(B=o=="error"?B+" error":o)),B},indent:function(F,k,B){var P=F.context;if(F.tokenize.isInAttribute)return F.tagStart==F.indented?F.stringStartCol+1:F.indented+h;if(P&&P.noIndent)return g.Pass;if(F.tokenize!=n&&F.tokenize!=d)return B?B.match(/^(\s*)/)[0].length:0;if(F.tagName)return c.multilineTagIndentPastTag!==!1?F.tagStart+F.tagName.length+2:F.tagStart+h*(c.multilineTagIndentFactor||1);if(c.alignCDATA&&/<!\[CDATA\[/.test(k))return 0;var K=k&&/^<(\/)?([\w_:\.-]*)/.exec(k);if(K&&K[1])for(;P;)if(P.tagName==K[2]){P=P.prev;break}else if(c.implicitlyClosed.hasOwnProperty(P.tagName))P=P.prev;else break;else if(K)for(;P;){var R=c.contextGrabbers[P.tagName];if(R&&R.hasOwnProperty(K[2]))P=P.prev;else break}for(;P&&P.prev&&!P.startOfLine;)P=P.prev;return P?P.indent+h:F.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:c.htmlMode?"html":"xml",helperType:c.htmlMode?"html":"xml",skipAttribute:function(F){F.state==C&&(F.state=L)},xmlCurrentTag:function(F){return F.tagName?{name:F.tagName,close:F.type=="closeTag"}:null},xmlCurrentContext:function(F){for(var k=[],B=F.context;B;B=B.prev)B.tagName&&k.push(B.tagName);return k.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(D,_,e){var g=e("e4Nc"),f=e("ftKO"),y=e("3A9y");function m(v){var h=-1,c=v==null?0:v.length;for(this.__data__=new g;++h<c;)this.add(v[h])}m.prototype.add=m.prototype.push=f,m.prototype.has=y,D.exports=m},"1j5w":function(D,_,e){"use strict";e.d(_,"e",function(){return Ye}),e.d(_,"b",function(){return pe}),e.d(_,"d",function(){return pe}),e.d(_,"c",function(){return De}),e.d(_,"a",function(){return ze});var g=e("VTBJ"),f=e("1OyB"),y=e("vuIU"),m=e("JX7q"),v=e("Ji7U"),h=e("LK+K"),c=e("q1tI"),a=function(){var Be=function(At,It){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ae,he){ae.__proto__=he}||function(ae,he){for(var q in he)he.hasOwnProperty(q)&&(ae[q]=he[q])},Be(At,It)};return function(nt,At){Be(nt,At);function It(){this.constructor=nt}nt.prototype=At===null?Object.create(At):(It.prototype=At.prototype,new It)}}(),i=c.createContext(null),r=function(Be){a(nt,Be);function nt(){return Be!==null&&Be.apply(this,arguments)||this}return nt.prototype.render=function(){return c.createElement(i.Provider,{value:this.props.store},this.props.children)},nt}(c.Component),o=e("Gytx"),d=e.n(o),n=e("2mql"),l=e.n(n),t=function(){var Be=function(At,It){return Be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ae,he){ae.__proto__=he}||function(ae,he){for(var q in he)he.hasOwnProperty(q)&&(ae[q]=he[q])},Be(At,It)};return function(nt,At){Be(nt,At);function It(){this.constructor=nt}nt.prototype=At===null?Object.create(At):(It.prototype=At.prototype,new It)}}(),s=function(){return s=Object.assign||function(Be){for(var nt,At=1,It=arguments.length;At<It;At++){nt=arguments[At];for(var ae in nt)Object.prototype.hasOwnProperty.call(nt,ae)&&(Be[ae]=nt[ae])}return Be},s.apply(this,arguments)};function u(Be){return Be.displayName||Be.name||"Component"}var p=function(){return{}};function w(Be,nt){nt===void 0&&(nt={});var At=!!Be,It=Be||p;return function(he){var q=function(Se){t(Ne,Se);function Ne(Me,$e){var vt=Se.call(this,Me,$e)||this;return vt.unsubscribe=null,vt.handleChange=function(){if(!vt.unsubscribe)return;var Wt=It(vt.store.getState(),vt.props);vt.setState({subscribed:Wt})},vt.store=vt.context,vt.state={subscribed:It(vt.store.getState(),Me),store:vt.store,props:Me},vt}return Ne.getDerivedStateFromProps=function(Me,$e){return Be&&Be.length===2&&Me!==$e.props?{subscribed:It($e.store.getState(),Me),props:Me}:{props:Me}},Ne.prototype.componentDidMount=function(){this.trySubscribe()},Ne.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},Ne.prototype.shouldComponentUpdate=function(Me,$e){return!d()(this.props,Me)||!d()(this.state.subscribed,$e.subscribed)},Ne.prototype.trySubscribe=function(){At&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())},Ne.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},Ne.prototype.render=function(){var Me=s(s(s({},this.props),this.state.subscribed),{store:this.store});return c.createElement(he,s({},Me,{ref:this.props.miniStoreForwardedRef}))},Ne.displayName="Connect("+u(he)+")",Ne.contextType=i,Ne}(c.Component);if(nt.forwardRef){var ne=c.forwardRef(function(Se,Ne){return c.createElement(q,s({},Se,{miniStoreForwardedRef:Ne}))});return l()(ne,he)}return l()(q,he)}}var b=function(){return b=Object.assign||function(Be){for(var nt,At=1,It=arguments.length;At<It;At++){nt=arguments[At];for(var ae in nt)Object.prototype.hasOwnProperty.call(nt,ae)&&(Be[ae]=nt[ae])}return Be},b.apply(this,arguments)};function E(Be){var nt=Be,At=[];function It(q){nt=b(b({},nt),q);for(var ne=0;ne<At.length;ne++)At[ne]()}function ae(){return nt}function he(q){return At.push(q),function(){var Se=At.indexOf(q);At.splice(Se,1)}}return{setState:It,getState:ae,subscribe:he}}var A=e("BGR+"),S=e("wx14"),T=e("rePB"),L=e("4IlW"),x=e("2GS6"),C=e("TSYQ"),I=e.n(C),N=e("U8pU"),F=e("ODXe"),k=/iPhone/i,B=/iPod/i,P=/iPad/i,K=/\bAndroid(?:.+)Mobile\b/i,R=/Android/i,U=/\bAndroid(?:.+)SD4930UR\b/i,j=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,H=/Windows Phone/i,W=/\bWindows(?:.+)ARM\b/i,X=/BlackBerry/i,z=/BB10/i,G=/Opera Mini/i,Z=/\b(CriOS|Chrome)(?:.+)Mobile/i,ge=/Mobile(?:.+)Firefox\b/i;function Q(Be,nt){return Be.test(nt)}function we(Be){var nt=Be||(typeof navigator!="undefined"?navigator.userAgent:""),At=nt.split("[FBAN");if(typeof At[1]!="undefined"){var It=At,ae=Object(F.a)(It,1);nt=ae[0]}if(At=nt.split("Twitter"),typeof At[1]!="undefined"){var he=At,q=Object(F.a)(he,1);nt=q[0]}var ne={apple:{phone:Q(k,nt)&&!Q(H,nt),ipod:Q(B,nt),tablet:!Q(k,nt)&&Q(P,nt)&&!Q(H,nt),device:(Q(k,nt)||Q(B,nt)||Q(P,nt))&&!Q(H,nt)},amazon:{phone:Q(U,nt),tablet:!Q(U,nt)&&Q(j,nt),device:Q(U,nt)||Q(j,nt)},android:{phone:!Q(H,nt)&&Q(U,nt)||!Q(H,nt)&&Q(K,nt),tablet:!Q(H,nt)&&!Q(U,nt)&&!Q(K,nt)&&(Q(j,nt)||Q(R,nt)),device:!Q(H,nt)&&(Q(U,nt)||Q(j,nt)||Q(K,nt)||Q(R,nt))||Q(/\bokhttp\b/i,nt)},windows:{phone:Q(H,nt),tablet:Q(W,nt),device:Q(H,nt)||Q(W,nt)},other:{blackberry:Q(X,nt),blackberry10:Q(z,nt),opera:Q(G,nt),firefox:Q(ge,nt),chrome:Q(Z,nt),device:Q(X,nt)||Q(z,nt)||Q(G,nt)||Q(ge,nt)||Q(Z,nt)},any:null,phone:null,tablet:null};return ne.any=ne.apple.device||ne.android.device||ne.windows.device||ne.other.device,ne.phone=ne.apple.phone||ne.android.phone||ne.windows.phone,ne.tablet=ne.apple.tablet||ne.android.tablet||ne.windows.tablet,ne}var Ee=Object(g.a)(Object(g.a)({},we()),{},{isMobile:we}),Ae=Ee;function Pe(){}function Ge(Be,nt,At){var It=nt||"";return Be.key||"".concat(It,"item_").concat(At)}function gt(Be){return"".concat(Be,"-menu-")}function _e(Be,nt){var At=-1;c.Children.forEach(Be,function(It){At+=1,It&&It.type&&It.type.isMenuItemGroup?c.Children.forEach(It.props.children,function(ae){At+=1,nt(ae,At)}):nt(It,At)})}function Ce(Be,nt,At){if(!Be||At.find)return;c.Children.forEach(Be,function(It){if(It){var ae=It.type;if(!ae||!(ae.isSubMenu||ae.isMenuItem||ae.isMenuItemGroup))return;nt.indexOf(It.key)!==-1?At.find=!0:It.props.children&&Ce(It.props.children,nt,At)}})}var lt=["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"],ce=function(nt){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,It=nt&&typeof nt.getBoundingClientRect=="function"&&nt.getBoundingClientRect().width;if(It){if(At){var ae=getComputedStyle(nt),he=ae.marginLeft,q=ae.marginRight;It+=+he.replace("px","")+ +q.replace("px","")}It=+It.toFixed(6)}return It||0},Y=function(nt,At,It){nt&&Object(N.a)(nt.style)==="object"&&(nt.style[At]=It)},V=function(){return Ae.any},$=e("KQm4"),Te=e("Ff2n"),ye=e("i8i4"),Fe=e("bdgK"),Oe=e("uciX"),se=e("8XRh"),fe={adjustX:1,adjustY:1},Le={topLeft:{points:["bl","tl"],overflow:fe,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:fe,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:fe,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:fe,offset:[4,0]}},Je={topLeft:{points:["bl","tl"],overflow:fe,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:fe,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:fe,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:fe,offset:[4,0]}},mt=Le,Ct=0,Ue={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},Rt=function(nt,At,It){var ae=gt(At),he=nt.getState();nt.setState({defaultActiveFirst:Object(g.a)(Object(g.a)({},he.defaultActiveFirst),{},Object(T.a)({},ae,It))})},Ke=function(Be){Object(v.a)(At,Be);var nt=Object(h.a)(At);function At(It){var ae;Object(f.a)(this,At),ae=nt.call(this,It),ae.onDestroy=function(Me){ae.props.onDestroy(Me)},ae.onKeyDown=function(Me){var $e=Me.keyCode,vt=ae.menuInstance,Wt=ae.props,$t=Wt.isOpen,Dt=Wt.store;if($e===L.a.ENTER)return ae.onTitleClick(Me),Rt(Dt,ae.props.eventKey,!0),!0;if($e===L.a.RIGHT)return $t?vt.onKeyDown(Me):(ae.triggerOpenChange(!0),Rt(Dt,ae.props.eventKey,!0)),!0;if($e===L.a.LEFT){var Kt;if($t)Kt=vt.onKeyDown(Me);else return;return Kt||(ae.triggerOpenChange(!1),Kt=!0),Kt}return $t&&($e===L.a.UP||$e===L.a.DOWN)?vt.onKeyDown(Me):void 0},ae.onOpenChange=function(Me){ae.props.onOpenChange(Me)},ae.onPopupVisibleChange=function(Me){ae.triggerOpenChange(Me,Me?"mouseenter":"mouseleave")},ae.onMouseEnter=function(Me){var $e=ae.props,vt=$e.eventKey,Wt=$e.onMouseEnter,$t=$e.store;Rt($t,ae.props.eventKey,!1),Wt({key:vt,domEvent:Me})},ae.onMouseLeave=function(Me){var $e=ae.props,vt=$e.parentMenu,Wt=$e.eventKey,$t=$e.onMouseLeave;vt.subMenuInstance=Object(m.a)(ae),$t({key:Wt,domEvent:Me})},ae.onTitleMouseEnter=function(Me){var $e=ae.props,vt=$e.eventKey,Wt=$e.onItemHover,$t=$e.onTitleMouseEnter;Wt({key:vt,hover:!0}),$t({key:vt,domEvent:Me})},ae.onTitleMouseLeave=function(Me){var $e=ae.props,vt=$e.parentMenu,Wt=$e.eventKey,$t=$e.onItemHover,Dt=$e.onTitleMouseLeave;vt.subMenuInstance=Object(m.a)(ae),$t({key:Wt,hover:!1}),Dt({key:Wt,domEvent:Me})},ae.onTitleClick=function(Me){var $e=Object(m.a)(ae),vt=$e.props;if(vt.onTitleClick({key:vt.eventKey,domEvent:Me}),vt.triggerSubMenuAction==="hover")return;ae.triggerOpenChange(!vt.isOpen,"click"),Rt(vt.store,ae.props.eventKey,!1)},ae.onSubMenuClick=function(Me){typeof ae.props.onClick=="function"&&ae.props.onClick(ae.addKeyPath(Me))},ae.onSelect=function(Me){ae.props.onSelect(Me)},ae.onDeselect=function(Me){ae.props.onDeselect(Me)},ae.getPrefixCls=function(){return"".concat(ae.props.rootPrefixCls,"-submenu")},ae.getActiveClassName=function(){return"".concat(ae.getPrefixCls(),"-active")},ae.getDisabledClassName=function(){return"".concat(ae.getPrefixCls(),"-disabled")},ae.getSelectedClassName=function(){return"".concat(ae.getPrefixCls(),"-selected")},ae.getOpenClassName=function(){return"".concat(ae.props.rootPrefixCls,"-submenu-open")},ae.saveMenuInstance=function(Me){ae.menuInstance=Me},ae.addKeyPath=function(Me){return Object(g.a)(Object(g.a)({},Me),{},{keyPath:(Me.keyPath||[]).concat(ae.props.eventKey)})},ae.triggerOpenChange=function(Me,$e){var vt=ae.props.eventKey,Wt=function(){ae.onOpenChange({key:vt,item:Object(m.a)(ae),trigger:$e,open:Me})};$e==="mouseenter"?ae.mouseenterTimeout=setTimeout(function(){Wt()},0):Wt()},ae.isChildrenSelected=function(){var Me={find:!1};return Ce(ae.props.children,ae.props.selectedKeys,Me),Me.find},ae.isOpen=function(){return ae.props.openKeys.indexOf(ae.props.eventKey)!==-1},ae.adjustWidth=function(){if(!ae.subMenuTitle||!ae.menuInstance)return;var Me=ye.findDOMNode(ae.menuInstance);if(Me.offsetWidth>=ae.subMenuTitle.offsetWidth)return;Me.style.minWidth="".concat(ae.subMenuTitle.offsetWidth,"px")},ae.saveSubMenuTitle=function(Me){ae.subMenuTitle=Me},ae.getBaseProps=function(){var Me=Object(m.a)(ae),$e=Me.props;return{mode:$e.mode==="horizontal"?"vertical":$e.mode,visible:ae.props.isOpen,level:$e.level+1,inlineIndent:$e.inlineIndent,focusable:!1,onClick:ae.onSubMenuClick,onSelect:ae.onSelect,onDeselect:ae.onDeselect,onDestroy:ae.onDestroy,selectedKeys:$e.selectedKeys,eventKey:"".concat($e.eventKey,"-menu-"),openKeys:$e.openKeys,motion:$e.motion,onOpenChange:ae.onOpenChange,subMenuOpenDelay:$e.subMenuOpenDelay,parentMenu:Object(m.a)(ae),subMenuCloseDelay:$e.subMenuCloseDelay,forceSubMenuRender:$e.forceSubMenuRender,triggerSubMenuAction:$e.triggerSubMenuAction,builtinPlacements:$e.builtinPlacements,defaultActiveFirst:$e.store.getState().defaultActiveFirst[gt($e.eventKey)],multiple:$e.multiple,prefixCls:$e.rootPrefixCls,id:ae.internalMenuId,manualRef:ae.saveMenuInstance,itemIcon:$e.itemIcon,expandIcon:$e.expandIcon,direction:$e.direction}},ae.getMotion=function(Me,$e){var vt=Object(m.a)(ae),Wt=vt.haveRendered,$t=ae.props,Dt=$t.motion,Kt=$t.rootPrefixCls,Gt=Object(g.a)(Object(g.a)({},Dt),{},{leavedClassName:"".concat(Kt,"-hidden"),removeOnLeave:!1,motionAppear:Wt||!$e||Me!=="inline"});return Gt};var he=It.store,q=It.eventKey,ne=he.getState(),Se=ne.defaultActiveFirst;ae.isRootMenu=!1;var Ne=!1;return Se&&(Ne=Se[q]),Rt(he,q,Ne),ae}return Object(y.a)(At,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var ae=this,he=this.props,q=he.mode,ne=he.parentMenu,Se=he.manualRef;if(Se&&Se(this),q!=="horizontal"||!ne.isRootMenu||!this.props.isOpen)return;this.minWidthTimeout=setTimeout(function(){return ae.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var ae=this.props,he=ae.onDestroy,q=ae.eventKey;he&&he(q),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(ae){var he=this,q=this.getBaseProps(),ne=this.getMotion(q.mode,q.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||q.visible||q.forceSubMenuRender,!this.haveOpened)return c.createElement("div",null);var Se=q.direction;return c.createElement(se.default,Object.assign({visible:q.visible},ne),function(Ne){var Me=Ne.className,$e=Ne.style,vt=I()("".concat(q.prefixCls,"-sub"),Me,Object(T.a)({},"".concat(q.prefixCls,"-rtl"),Se==="rtl"));return c.createElement(ct,Object.assign({},q,{id:he.internalMenuId,className:vt,style:$e}),ae)})}},{key:"render",value:function(){var ae,he=Object(g.a)({},this.props),q=he.isOpen,ne=this.getPrefixCls(),Se=he.mode==="inline",Ne=I()(ne,"".concat(ne,"-").concat(he.mode),(ae={},Object(T.a)(ae,he.className,!!he.className),Object(T.a)(ae,this.getOpenClassName(),q),Object(T.a)(ae,this.getActiveClassName(),he.active||q&&!Se),Object(T.a)(ae,this.getDisabledClassName(),he.disabled),Object(T.a)(ae,this.getSelectedClassName(),this.isChildrenSelected()),ae));this.internalMenuId||(he.eventKey?this.internalMenuId="".concat(he.eventKey,"$Menu"):(Ct+=1,this.internalMenuId="$__$".concat(Ct,"$Menu")));var Me={},$e={},vt={};he.disabled||(Me={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},$e={onClick:this.onTitleClick},vt={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var Wt={},$t=he.direction;Se&&($t==="rtl"?Wt.paddingRight=he.inlineIndent*he.level:Wt.paddingLeft=he.inlineIndent*he.level);var Dt={};this.props.isOpen&&(Dt={"aria-owns":this.internalMenuId});var Kt=null;he.mode!=="horizontal"&&(Kt=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(Kt=c.createElement(this.props.expandIcon,Object(g.a)({},this.props))));var Gt=c.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:Wt,className:"".concat(ne,"-title"),role:"button"},vt,$e,{"aria-expanded":q},Dt,{"aria-haspopup":"true",title:typeof he.title=="string"?he.title:void 0}),he.title,Kt||c.createElement("i",{className:"".concat(ne,"-arrow")})),Qt=this.renderChildren(he.children),Mt=he.parentMenu.isRootMenu?he.parentMenu.props.getPopupContainer:function(Ft){return Ft.parentNode},dr=Ue[he.mode],er=he.popupOffset?{offset:he.popupOffset}:{},ot=he.mode==="inline"?"":he.popupClassName;ot+=$t==="rtl"?" ".concat(ne,"-rtl"):"";var xt=he.disabled,ut=he.triggerSubMenuAction,ft=he.subMenuOpenDelay,Ot=he.forceSubMenuRender,Tt=he.subMenuCloseDelay,ht=he.builtinPlacements;lt.forEach(function(Ft){return delete he[Ft]}),delete he.onClick;var Ht=$t==="rtl"?Object.assign({},Je,ht):Object.assign({},Le,ht);return delete he.direction,c.createElement("li",Object.assign({},he,Me,{className:Ne,role:"menuitem"}),Se&&Gt,Se&&Qt,!Se&&c.createElement(Oe.a,{prefixCls:ne,popupClassName:I()("".concat(ne,"-popup"),ot),getPopupContainer:Mt,builtinPlacements:Ht,popupPlacement:dr,popupVisible:q,popupAlign:er,popup:Qt,action:xt?[]:[ut],mouseEnterDelay:ft,mouseLeaveDelay:Tt,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:Ot},Gt))}}]),At}(c.Component);Ke.defaultProps={onMouseEnter:Pe,onMouseLeave:Pe,onTitleMouseEnter:Pe,onTitleMouseLeave:Pe,onTitleClick:Pe,manualRef:Pe,mode:"vertical",title:""};var wt=w(function(Be,nt){var At=Be.openKeys,It=Be.activeKey,ae=Be.selectedKeys,he=nt.eventKey,q=nt.subMenuKey;return{isOpen:At.indexOf(he)>-1,active:It[q]===he,selectedKeys:ae}})(Ke);wt.isSubMenu=!0;var Ye=wt,et="menuitem-overflowed",rt=.5,st=function(Be){Object(v.a)(At,Be);var nt=Object(h.a)(At);function At(){var It;return Object(f.a)(this,At),It=nt.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 ae=It.props.prefixCls,he=ye.findDOMNode(Object(m.a)(It));return he?[].slice.call(he.children).filter(function(q){return q.className.split(" ").indexOf("".concat(ae,"-overflowed-submenu"))<0}):[]},It.getOverflowedSubMenuItem=function(ae,he,q){var ne=It.props,Se=ne.overflowedIndicator,Ne=ne.level,Me=ne.mode,$e=ne.prefixCls,vt=ne.theme;if(Ne!==1||Me!=="horizontal")return null;var Wt=It.props.children[0],$t=Wt.props,Dt=$t.children,Kt=$t.title,Gt=$t.style,Qt=Object(Te.a)($t,["children","title","style"]),Mt=Object(g.a)({},Gt),dr="".concat(ae,"-overflowed-indicator"),er="".concat(ae,"-overflowed-indicator");he.length===0&&q!==!0?Mt=Object(g.a)(Object(g.a)({},Mt),{},{display:"none"}):q&&(Mt=Object(g.a)(Object(g.a)({},Mt),{},{visibility:"hidden",position:"absolute"}),dr="".concat(dr,"-placeholder"),er="".concat(er,"-placeholder"));var ot=vt?"".concat($e,"-").concat(vt):"",xt={};return lt.forEach(function(ut){Qt[ut]!==void 0&&(xt[ut]=Qt[ut])}),c.createElement(Ye,Object.assign({title:Se,className:"".concat($e,"-overflowed-submenu"),popupClassName:ot},xt,{key:dr,eventKey:er,disabled:!1,style:Mt}),he)},It.setChildrenWidthAndResize=function(){if(It.props.mode!=="horizontal")return;var ae=ye.findDOMNode(Object(m.a)(It));if(!ae)return;var he=ae.children;if(!he||he.length===0)return;var q=ae.children[he.length-1];Y(q,"display","inline-block");var ne=It.getMenuItemNodes(),Se=ne.filter(function(Ne){return Ne.className.split(" ").indexOf(et)>=0});Se.forEach(function(Ne){Y(Ne,"display","inline-block")}),It.menuItemSizes=ne.map(function(Ne){return ce(Ne,!0)}),Se.forEach(function(Ne){Y(Ne,"display","none")}),It.overflowedIndicatorWidth=ce(ae.children[ae.children.length-1],!0),It.originalTotalWidth=It.menuItemSizes.reduce(function(Ne,Me){return Ne+Me},0),It.handleResize(),Y(q,"display","none")},It.handleResize=function(){if(It.props.mode!=="horizontal")return;var ae=ye.findDOMNode(Object(m.a)(It));if(!ae)return;var he=ce(ae);It.overflowedItems=[];var q=0,ne;It.originalTotalWidth>he+rt&&(ne=-1,It.menuItemSizes.forEach(function(Se){q+=Se,q+It.overflowedIndicatorWidth<=he&&(ne+=1)})),It.setState({lastVisibleIndex:ne})},It}return Object(y.a)(At,[{key:"componentDidMount",value:function(){var ae=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var he=ye.findDOMNode(this);if(!he)return;this.resizeObserver=new Fe.default(function(q){q.forEach(function(){var ne=ae.cancelFrameId;cancelAnimationFrame(ne),ae.cancelFrameId=requestAnimationFrame(ae.setChildrenWidthAndResize)})}),[].slice.call(he.children).concat(he).forEach(function(q){ae.resizeObserver.observe(q)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){ae.resizeObserver.disconnect(),[].slice.call(he.children).concat(he).forEach(function(q){ae.resizeObserver.observe(q)}),ae.setChildrenWidthAndResize()}),this.mutationObserver.observe(he,{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(ae){var he=this,q=this.state.lastVisibleIndex;return(ae||[]).reduce(function(ne,Se,Ne){var Me=Se;if(he.props.mode==="horizontal"){var $e=he.getOverflowedSubMenuItem(Se.props.eventKey,[]);q!==void 0&&he.props.className.indexOf("".concat(he.props.prefixCls,"-root"))!==-1&&(Ne>q&&(Me=c.cloneElement(Se,{style:{display:"none"},eventKey:"".concat(Se.props.eventKey,"-hidden"),className:"".concat(et)})),Ne===q+1&&(he.overflowedItems=ae.slice(q+1).map(function(Wt){return c.cloneElement(Wt,{key:Wt.props.eventKey,mode:"vertical-left"})}),$e=he.getOverflowedSubMenuItem(Se.props.eventKey,he.overflowedItems)));var vt=[].concat(Object($.a)(ne),[$e,Me]);return Ne===ae.length-1&&vt.push(he.getOverflowedSubMenuItem(Se.props.eventKey,[],!0)),vt}return[].concat(Object($.a)(ne),[Me])},[])}},{key:"render",value:function(){var ae=this.props,he=ae.visible,q=ae.prefixCls,ne=ae.overflowedIndicator,Se=ae.mode,Ne=ae.level,Me=ae.tag,$e=ae.children,vt=ae.theme,Wt=Object(Te.a)(ae,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),$t=Me;return c.createElement($t,Object.assign({},Wt),this.renderChildren($e))}}]),At}(c.Component);st.defaultProps={tag:"div",className:""};var Ve=st;function oe(Be){return Be.length?Be.every(function(nt){return!!nt.props.disabled}):!0}function re(Be,nt,At){var It=Be.getState();Be.setState({activeKey:Object(g.a)(Object(g.a)({},It.activeKey),{},Object(T.a)({},nt,At))})}function it(Be){return Be.eventKey||"0-menu-"}function Qe(Be,nt){var At=nt,It=Be.children,ae=Be.eventKey;if(At){var he;if(_e(It,function(q,ne){q&&q.props&&!q.props.disabled&&At===Ge(q,ae,ne)&&(he=!0)}),he)return At}return At=null,Be.defaultActiveFirst&&_e(It,function(q,ne){!At&&q&&!q.props.disabled&&(At=Ge(q,ae,ne))}),At}function ve(Be){if(Be){var nt=this.instanceArray.indexOf(Be);nt!==-1?this.instanceArray[nt]=Be:this.instanceArray.push(Be)}}var Zt=function(Be){Object(v.a)(At,Be);var nt=Object(h.a)(At);function At(It){var ae;return Object(f.a)(this,At),ae=nt.call(this,It),ae.onKeyDown=function(he,q){var ne=he.keyCode,Se;if(ae.getFlatInstanceArray().forEach(function(Me){Me&&Me.props.active&&Me.onKeyDown&&(Se=Me.onKeyDown(he))}),Se)return 1;var Ne=null;return(ne===L.a.UP||ne===L.a.DOWN)&&(Ne=ae.step(ne===L.a.UP?-1:1)),Ne?(he.preventDefault(),re(ae.props.store,it(ae.props),Ne.props.eventKey),typeof q=="function"&&q(Ne),1):void 0},ae.onItemHover=function(he){var q=he.key,ne=he.hover;re(ae.props.store,it(ae.props),ne?q:null)},ae.onDeselect=function(he){ae.props.onDeselect(he)},ae.onSelect=function(he){ae.props.onSelect(he)},ae.onClick=function(he){ae.props.onClick(he)},ae.onOpenChange=function(he){ae.props.onOpenChange(he)},ae.onDestroy=function(he){ae.props.onDestroy(he)},ae.getFlatInstanceArray=function(){return ae.instanceArray},ae.step=function(he){var q=ae.getFlatInstanceArray(),ne=ae.props.store.getState().activeKey[it(ae.props)],Se=q.length;if(!Se)return null;he<0&&(q=q.concat().reverse());var Ne=-1;if(q.every(function(Wt,$t){return Wt&&Wt.props.eventKey===ne?(Ne=$t,!1):!0}),!ae.props.defaultActiveFirst&&Ne!==-1&&oe(q.slice(Ne,Se-1)))return;var Me=(Ne+1)%Se,$e=Me;do{var vt=q[$e];if(!vt||vt.props.disabled)$e=($e+1)%Se;else return vt}while($e!==Me);return null},ae.renderCommonMenuItem=function(he,q,ne){var Se=ae.props.store.getState(),Ne=Object(m.a)(ae),Me=Ne.props,$e=Ge(he,Me.eventKey,q),vt=he.props;if(!vt||typeof he.type=="string")return he;var Wt=$e===Se.activeKey,$t=Object(g.a)(Object(g.a)({mode:vt.mode||Me.mode,level:Me.level,inlineIndent:Me.inlineIndent,renderMenuItem:ae.renderMenuItem,rootPrefixCls:Me.prefixCls,index:q,parentMenu:Me.parentMenu,manualRef:vt.disabled?void 0:Object(x.a)(he.ref,ve.bind(Object(m.a)(ae))),eventKey:$e,active:!vt.disabled&&Wt,multiple:Me.multiple,onClick:function(Kt){(vt.onClick||Pe)(Kt),ae.onClick(Kt)},onItemHover:ae.onItemHover,motion:Me.motion,subMenuOpenDelay:Me.subMenuOpenDelay,subMenuCloseDelay:Me.subMenuCloseDelay,forceSubMenuRender:Me.forceSubMenuRender,onOpenChange:ae.onOpenChange,onDeselect:ae.onDeselect,onSelect:ae.onSelect,builtinPlacements:Me.builtinPlacements,itemIcon:vt.itemIcon||ae.props.itemIcon,expandIcon:vt.expandIcon||ae.props.expandIcon},ne),{},{direction:Me.direction});return(Me.mode==="inline"||V())&&($t.triggerSubMenuAction="click"),c.cloneElement(he,$t)},ae.renderMenuItem=function(he,q,ne){if(!he)return null;var Se=ae.props.store.getState(),Ne={openKeys:Se.openKeys,selectedKeys:Se.selectedKeys,triggerSubMenuAction:ae.props.triggerSubMenuAction,subMenuKey:ne};return ae.renderCommonMenuItem(he,q,Ne)},It.store.setState({activeKey:Object(g.a)(Object(g.a)({},It.store.getState().activeKey),{},Object(T.a)({},It.eventKey,Qe(It,It.activeKey)))}),ae.instanceArray=[],ae}return Object(y.a)(At,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(ae){return this.props.visible||ae.visible||this.props.className!==ae.className||!d()(this.props.style,ae.style)}},{key:"componentDidUpdate",value:function(ae){var he=this.props,q="activeKey"in he?he.activeKey:he.store.getState().activeKey[it(he)],ne=Qe(he,q);if(ne!==q)re(he.store,it(he),ne);else if("activeKey"in ae){var Se=Qe(ae,ae.activeKey);ne!==Se&&re(he.store,it(he),ne)}}},{key:"render",value:function(){var ae=this,he=Object(S.a)({},this.props);this.instanceArray=[];var q=I()(he.prefixCls,he.className,"".concat(he.prefixCls,"-").concat(he.mode)),ne={className:q,role:he.role||"menu"};he.id&&(ne.id=he.id),he.focusable&&(ne.tabIndex=0,ne.onKeyDown=this.onKeyDown);var Se=he.prefixCls,Ne=he.eventKey,Me=he.visible,$e=he.level,vt=he.mode,Wt=he.overflowedIndicator,$t=he.theme;return lt.forEach(function(Dt){return delete he[Dt]}),delete he.onClick,c.createElement(Ve,Object.assign({},he,{prefixCls:Se,mode:vt,tag:"ul",level:$e,theme:$t,visible:Me,overflowedIndicator:Wt},ne),c.Children.map(he.children,function(Dt,Kt){return ae.renderMenuItem(Dt,Kt,Ne||"0-menu-")}))}}]),At}(c.Component);Zt.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:Pe};var dt=w()(Zt),ct=dt,yt=e("Kwbf");function _t(Be,nt,At){var It=Be.prefixCls,ae=Be.motion,he=Be.defaultMotions,q=he===void 0?{}:he,ne=Be.openAnimation,Se=Be.openTransitionName,Ne=nt.switchingModeFromInline;if(ae)return ae;if(Object(N.a)(ne)==="object"&&ne)Object(yt.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof ne=="string")return{motionName:"".concat(It,"-open-").concat(ne)};if(Se)return{motionName:Se};var Me=q[At];return Me||(Ne?null:q.other)}var or=function(Be){Object(v.a)(At,Be);var nt=Object(h.a)(At);function At(It){var ae;Object(f.a)(this,At),ae=nt.call(this,It),ae.inlineOpenKeys=[],ae.onSelect=function(ne){var Se=Object(m.a)(ae),Ne=Se.props;if(Ne.selectable){var Me=ae.store.getState(),$e=Me.selectedKeys,vt=ne.key;Ne.multiple?$e=$e.concat([vt]):$e=[vt],"selectedKeys"in Ne||ae.store.setState({selectedKeys:$e}),Ne.onSelect(Object(g.a)(Object(g.a)({},ne),{},{selectedKeys:$e}))}},ae.onClick=function(ne){var Se=ae.getRealMenuMode(),Ne=Object(m.a)(ae),Me=Ne.store,$e=Ne.props.onOpenChange;Se!=="inline"&&!("openKeys"in ae.props)&&(Me.setState({openKeys:[]}),$e([])),ae.props.onClick(ne)},ae.onKeyDown=function(ne,Se){ae.innerMenu.getWrappedInstance().onKeyDown(ne,Se)},ae.onOpenChange=function(ne){var Se=Object(m.a)(ae),Ne=Se.props,Me=ae.store.getState().openKeys.concat(),$e=!1,vt=function($t){var Dt=!1;if($t.open)Dt=Me.indexOf($t.key)===-1,Dt&&Me.push($t.key);else{var Kt=Me.indexOf($t.key);Dt=Kt!==-1,Dt&&Me.splice(Kt,1)}$e=$e||Dt};Array.isArray(ne)?ne.forEach(vt):vt(ne),$e&&("openKeys"in ae.props||ae.store.setState({openKeys:Me}),Ne.onOpenChange(Me))},ae.onDeselect=function(ne){var Se=Object(m.a)(ae),Ne=Se.props;if(Ne.selectable){var Me=ae.store.getState().selectedKeys.concat(),$e=ne.key,vt=Me.indexOf($e);vt!==-1&&Me.splice(vt,1),"selectedKeys"in Ne||ae.store.setState({selectedKeys:Me}),Ne.onDeselect(Object(g.a)(Object(g.a)({},ne),{},{selectedKeys:Me}))}},ae.onMouseEnter=function(ne){ae.restoreModeVerticalFromInline();var Se=ae.props.onMouseEnter;Se&&Se(ne)},ae.onTransitionEnd=function(ne){var Se=ne.propertyName==="width"&&ne.target===ne.currentTarget,Ne=ne.target.className,Me=Object.prototype.toString.call(Ne)==="[object SVGAnimatedString]"?Ne.animVal:Ne,$e=ne.propertyName==="font-size"&&Me.indexOf("anticon")>=0;(Se||$e)&&ae.restoreModeVerticalFromInline()},ae.setInnerMenu=function(ne){ae.innerMenu=ne},ae.isRootMenu=!0;var he=It.defaultSelectedKeys,q=It.defaultOpenKeys;return"selectedKeys"in It&&(he=It.selectedKeys||[]),"openKeys"in It&&(q=It.openKeys||[]),ae.store=E({selectedKeys:he,openKeys:q,activeKey:{"0-menu-":Qe(It,It.activeKey)}}),ae.state={switchingModeFromInline:!1},ae}return Object(y.a)(At,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(ae){this.updateOpentKeysWhenSwitchMode(ae),this.updateMiniStore();var he=this.props,q=he.siderCollapsed,ne=he.inlineCollapsed,Se=he.onOpenChange;(!ae.inlineCollapsed&&ne||!ae.siderCollapsed&&q)&&Se([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(ae){var he=this.props,q=this.store,ne=this.inlineOpenKeys,Se=q.getState(),Ne={};ae.mode==="inline"&&he.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in he||((he.inlineCollapsed&&!ae.inlineCollapsed||he.siderCollapsed&&!ae.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=Se.openKeys.concat(),Ne.openKeys=[]),(!he.inlineCollapsed&&ae.inlineCollapsed||!he.siderCollapsed&&ae.siderCollapsed)&&(Ne.openKeys=ne,this.inlineOpenKeys=[])),Object.keys(Ne).length&&q.setState(Ne)}},{key:"updateMenuDisplay",value:function(){var ae=this.props.collapsedWidth,he=this.store,q=this.prevOpenKeys,ne=this.getInlineCollapsed()&&(ae===0||ae==="0"||ae==="0px");ne?(this.prevOpenKeys=he.getState().openKeys.concat(),this.store.setState({openKeys:[]})):q&&(this.store.setState({openKeys:q}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var ae=this.props.mode,he=this.state.switchingModeFromInline,q=this.getInlineCollapsed();return he&&q?"inline":q?"vertical":ae}},{key:"getInlineCollapsed",value:function(){var ae=this.props,he=ae.inlineCollapsed,q=ae.siderCollapsed;return q!==void 0?q:he}},{key:"restoreModeVerticalFromInline",value:function(){var ae=this.state.switchingModeFromInline;ae&&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 ae=Object(g.a)({},Object(A.default)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),he=this.getRealMenuMode();return ae.className+=" ".concat(ae.prefixCls,"-root"),ae.direction==="rtl"&&(ae.className+=" ".concat(ae.prefixCls,"-rtl")),ae=Object(g.a)(Object(g.a)({},ae),{},{mode:he,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:_t(this.props,this.state,he)}),delete ae.openAnimation,delete ae.openTransitionName,c.createElement(r,{store:this.store},c.createElement(ct,Object.assign({},ae,{ref:this.setInnerMenu}),this.props.children))}}]),At}(c.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:c.createElement("span",null,"\xB7\xB7\xB7")};var Pt=or,be=function(Be){Object(v.a)(At,Be);var nt=Object(h.a)(At);function At(){var It;return Object(f.a)(this,At),It=nt.apply(this,arguments),It.onKeyDown=function(ae){var he=ae.keyCode;return he===L.a.ENTER?(It.onClick(ae),!0):void 0},It.onMouseLeave=function(ae){var he=It.props,q=he.eventKey,ne=he.onItemHover,Se=he.onMouseLeave;ne({key:q,hover:!1}),Se({key:q,domEvent:ae})},It.onMouseEnter=function(ae){var he=It.props,q=he.eventKey,ne=he.onItemHover,Se=he.onMouseEnter;ne({key:q,hover:!0}),Se({key:q,domEvent:ae})},It.onClick=function(ae){var he=It.props,q=he.eventKey,ne=he.multiple,Se=he.onClick,Ne=he.onSelect,Me=he.onDeselect,$e=he.isSelected,vt={key:q,keyPath:[q],item:Object(m.a)(It),domEvent:ae};Se(vt),ne?$e?Me(vt):Ne(vt):$e||Ne(vt)},It.saveNode=function(ae){It.node=ae},It}return Object(y.a)(At,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var ae=this.props;ae.onDestroy&&ae.onDestroy(ae.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 ae,he=Object(g.a)({},this.props),q=I()(this.getPrefixCls(),he.className,(ae={},Object(T.a)(ae,this.getActiveClassName(),!he.disabled&&he.active),Object(T.a)(ae,this.getSelectedClassName(),he.isSelected),Object(T.a)(ae,this.getDisabledClassName(),he.disabled),ae)),ne=Object(g.a)(Object(g.a)({},he.attribute),{},{title:typeof he.title=="string"?he.title:void 0,className:q,role:he.role||"menuitem","aria-disabled":he.disabled});he.role==="option"?ne=Object(g.a)(Object(g.a)({},ne),{},{role:"option","aria-selected":he.isSelected}):(he.role===null||he.role==="none")&&(ne.role="none");var Se={onClick:he.disabled?null:this.onClick,onMouseLeave:he.disabled?null:this.onMouseLeave,onMouseEnter:he.disabled?null:this.onMouseEnter},Ne=Object(g.a)({},he.style);he.mode==="inline"&&(he.direction==="rtl"?Ne.paddingRight=he.inlineIndent*he.level:Ne.paddingLeft=he.inlineIndent*he.level),lt.forEach(function($e){return delete he[$e]}),delete he.direction;var Me=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(Me=c.createElement(this.props.itemIcon,this.props)),c.createElement("li",Object.assign({},Object(A.default)(he,["onClick","onMouseEnter","onMouseLeave","onSelect"]),ne,Se,{style:Ne,ref:this.saveNode}),he.children,Me)}}]),At}(c.Component);be.isMenuItem=!0,be.defaultProps={onSelect:Pe,onMouseEnter:Pe,onMouseLeave:Pe,manualRef:Pe};var me=w(function(Be,nt){var At=Be.activeKey,It=Be.selectedKeys,ae=nt.eventKey,he=nt.subMenuKey;return{active:At[he]===ae,isSelected:It.indexOf(ae)!==-1}})(be),pe=me,ue=function(Be){Object(v.a)(At,Be);var nt=Object(h.a)(At);function At(){var It;return Object(f.a)(this,At),It=nt.apply(this,arguments),It.renderInnerMenuItem=function(ae){var he=It.props,q=he.renderMenuItem,ne=he.index;return q(ae,ne,It.props.subMenuKey)},It}return Object(y.a)(At,[{key:"render",value:function(){var ae=Object(S.a)({},this.props),he=ae.className,q=he===void 0?"":he,ne=ae.rootPrefixCls,Se="".concat(ne,"-item-group-title"),Ne="".concat(ne,"-item-group-list"),Me=ae.title,$e=ae.children;return lt.forEach(function(vt){return delete ae[vt]}),delete ae.onClick,delete ae.direction,c.createElement("li",Object.assign({},ae,{className:"".concat(q," ").concat(ne,"-item-group")}),c.createElement("div",{className:Se,title:typeof Me=="string"?Me:void 0},Me),c.createElement("ul",{className:Ne},c.Children.map($e,this.renderInnerMenuItem)))}}]),At}(c.Component);ue.isMenuItemGroup=!0,ue.defaultProps={disabled:!0};var De=ue,He=function(nt){var At=nt.className,It=nt.rootPrefixCls,ae=nt.style;return c.createElement("li",{className:"".concat(At," ").concat(It,"-item-divider"),style:ae})};He.defaultProps={disabled:!0,className:"",style:{}};var ze=He,Xe=_.f=Pt},"1n7x":function(D,_,e){(function(g,f){(function(y,m){D.exports=m(e("5RHE"),e("wOnQ"))})(this,function(y,m){"use strict";y=y&&y.hasOwnProperty("default")?y.default:y,m=m&&m.hasOwnProperty("default")?m.default:m;var v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(A){return typeof A}:function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},h=Object.assign||function(A){for(var S=1;S<arguments.length;S++){var T=arguments[S];for(var L in T)Object.prototype.hasOwnProperty.call(T,L)&&(A[L]=T[L])}return A},c=function(S){var T=typeof S=="undefined"?"undefined":v(S);return T==="undefined"?"undefined":T==="string"||S instanceof String?"string":T==="number"||S instanceof Number?"number":T==="function"||S instanceof Function?"function":!!S&&S.constructor===Array?"array":S&&S.nodeType===1?"element":T==="object"?"object":"unknown"},a=function(S,T){var L=document.createElement(S);if(T.className&&(L.className=T.className),T.innerHTML){L.innerHTML=T.innerHTML;for(var x=L.getElementsByTagName("script"),C=x.length;C-- >0;null)x[C].parentNode.removeChild(x[C])}for(var I in T.style)L.style[I]=T.style[I];return L},i=function A(S,T){for(var L=S.nodeType===3?document.createTextNode(S.nodeValue):S.cloneNode(!1),x=S.firstChild;x;x=x.nextSibling)(T===!0||x.nodeType!==1||x.nodeName!=="SCRIPT")&&L.appendChild(A(x,T));return S.nodeType===1&&(S.nodeName==="CANVAS"?(L.width=S.width,L.height=S.height,L.getContext("2d").drawImage(S,0,0)):(S.nodeName==="TEXTAREA"||S.nodeName==="SELECT")&&(L.value=S.value),L.addEventListener("load",function(){L.scrollTop=S.scrollTop,L.scrollLeft=S.scrollLeft},!0)),L},r=function(S,T){if(c(S)==="number")return S*72/96/T;var L={};for(var x in S)L[x]=S[x]*72/96/T;return L},o=function(S,T){return Math.floor(S*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(A,S){return S={exports:{}},A(S,S.exports),S.exports}var t=l(function(A,S){/*!
* @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,L){A.exports=L()})(d,function(){function T(dt){var ct=typeof dt;return dt!==null&&(ct==="object"||ct==="function")}function L(dt){return typeof dt=="function"}var x=void 0;Array.isArray?x=Array.isArray:x=function(ct){return Object.prototype.toString.call(ct)==="[object Array]"};var C=x,I=0,N=void 0,F=void 0,k=function(ct,yt){ge[I]=ct,ge[I+1]=yt,I+=2,I===2&&(F?F(Q):Ee())};function B(dt){F=dt}function P(dt){k=dt}var K=typeof window!="undefined"?window:void 0,R=K||{},U=R.MutationObserver||R.WebKitMutationObserver,j=typeof self=="undefined"&&typeof f!="undefined"&&{}.toString.call(f)==="[object process]",H=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function W(){return function(){return f.nextTick(Q)}}function X(){return typeof N!="undefined"?function(){N(Q)}:Z()}function z(){var dt=0,ct=new U(Q),yt=document.createTextNode("");return ct.observe(yt,{characterData:!0}),function(){yt.data=dt=++dt%2}}function G(){var dt=new MessageChannel;return dt.port1.onmessage=Q,function(){return dt.port2.postMessage(0)}}function Z(){var dt=setTimeout;return function(){return dt(Q,1)}}var ge=new Array(1e3);function Q(){for(var dt=0;dt<I;dt+=2){var ct=ge[dt],yt=ge[dt+1];ct(yt),ge[dt]=void 0,ge[dt+1]=void 0}I=0}function we(){try{var dt=Function("return this")().require("vertx");return N=dt.runOnLoop||dt.runOnContext,X()}catch(ct){return Z()}}var Ee=void 0;j?Ee=W():U?Ee=z():H?Ee=G():K===void 0&&typeof n=="function"?Ee=we():Ee=Z();function Ae(dt,ct){var yt=this,_t=new this.constructor(gt);_t[Ge]===void 0&&et(_t);var or=yt._state;if(or){var Pt=arguments[or-1];k(function(){return Rt(or,_t,Pt,yt._result)})}else mt(yt,_t,dt,ct);return _t}function Pe(dt){var ct=this;if(dt&&typeof dt=="object"&&dt.constructor===ct)return dt;var yt=new ct(gt);return se(yt,dt),yt}var Ge=Math.random().toString(36).substring(2);function gt(){}var _e=void 0,Ce=1,lt=2,ce={error:null};function Y(){return new TypeError("You cannot resolve a promise with itself")}function V(){return new TypeError("A promises callback cannot return that same promise.")}function $(dt){try{return dt.then}catch(ct){return ce.error=ct,ce}}function Te(dt,ct,yt,_t){try{dt.call(ct,yt,_t)}catch(or){return or}}function ye(dt,ct,yt){k(function(_t){var or=!1,Pt=Te(yt,ct,function(be){if(or)return;or=!0,ct!==be?se(_t,be):Le(_t,be)},function(be){if(or)return;or=!0,Je(_t,be)},"Settle: "+(_t._label||" unknown promise"));!or&&Pt&&(or=!0,Je(_t,Pt))},dt)}function Fe(dt,ct){ct._state===Ce?Le(dt,ct._result):ct._state===lt?Je(dt,ct._result):mt(ct,void 0,function(yt){return se(dt,yt)},function(yt){return Je(dt,yt)})}function Oe(dt,ct,yt){ct.constructor===dt.constructor&&yt===Ae&&ct.constructor.resolve===Pe?Fe(dt,ct):yt===ce?(Je(dt,ce.error),ce.error=null):yt===void 0?Le(dt,ct):L(yt)?ye(dt,ct,yt):Le(dt,ct)}function se(dt,ct){dt===ct?Je(dt,Y()):T(ct)?Oe(dt,ct,$(ct)):Le(dt,ct)}function fe(dt){dt._onerror&&dt._onerror(dt._result),Ct(dt)}function Le(dt,ct){if(dt._state!==_e)return;dt._result=ct,dt._state=Ce,dt._subscribers.length!==0&&k(Ct,dt)}function Je(dt,ct){if(dt._state!==_e)return;dt._state=lt,dt._result=ct,k(fe,dt)}function mt(dt,ct,yt,_t){var or=dt._subscribers,Pt=or.length;dt._onerror=null,or[Pt]=ct,or[Pt+Ce]=yt,or[Pt+lt]=_t,Pt===0&&dt._state&&k(Ct,dt)}function Ct(dt){var ct=dt._subscribers,yt=dt._state;if(ct.length===0)return;for(var _t=void 0,or=void 0,Pt=dt._result,be=0;be<ct.length;be+=3)_t=ct[be],or=ct[be+yt],_t?Rt(yt,_t,or,Pt):or(Pt);dt._subscribers.length=0}function Ue(dt,ct){try{return dt(ct)}catch(yt){return ce.error=yt,ce}}function Rt(dt,ct,yt,_t){var or=L(yt),Pt=void 0,be=void 0,me=void 0,pe=void 0;if(or){if(Pt=Ue(yt,_t),Pt===ce?(pe=!0,be=Pt.error,Pt.error=null):me=!0,ct===Pt){Je(ct,V());return}}else Pt=_t,me=!0;ct._state!==_e||(or&&me?se(ct,Pt):pe?Je(ct,be):dt===Ce?Le(ct,Pt):dt===lt&&Je(ct,Pt))}function Ke(dt,ct){try{ct(function(_t){se(dt,_t)},function(_t){Je(dt,_t)})}catch(yt){Je(dt,yt)}}var wt=0;function Ye(){return wt++}function et(dt){dt[Ge]=wt++,dt._state=void 0,dt._result=void 0,dt._subscribers=[]}function rt(){return new Error("Array Methods must be provided an Array")}var st=function(){function dt(ct,yt){this._instanceConstructor=ct,this.promise=new ct(gt),this.promise[Ge]||et(this.promise),C(yt)?(this.length=yt.length,this._remaining=yt.length,this._result=new Array(this.length),this.length===0?Le(this.promise,this._result):(this.length=this.length||0,this._enumerate(yt),this._remaining===0&&Le(this.promise,this._result))):Je(this.promise,rt())}return dt.prototype._enumerate=function(yt){for(var _t=0;this._state===_e&&_t<yt.length;_t++)this._eachEntry(yt[_t],_t)},dt.prototype._eachEntry=function(yt,_t){var or=this._instanceConstructor,Pt=or.resolve;if(Pt===Pe){var be=$(yt);if(be===Ae&&yt._state!==_e)this._settledAt(yt._state,_t,yt._result);else if(typeof be!="function")this._remaining--,this._result[_t]=yt;else if(or===ve){var me=new or(gt);Oe(me,yt,be),this._willSettleAt(me,_t)}else this._willSettleAt(new or(function(pe){return pe(yt)}),_t)}else this._willSettleAt(Pt(yt),_t)},dt.prototype._settledAt=function(yt,_t,or){var Pt=this.promise;Pt._state===_e&&(this._remaining--,yt===lt?Je(Pt,or):this._result[_t]=or),this._remaining===0&&Le(Pt,this._result)},dt.prototype._willSettleAt=function(yt,_t){var or=this;mt(yt,void 0,function(Pt){return or._settledAt(Ce,_t,Pt)},function(Pt){return or._settledAt(lt,_t,Pt)})},dt}();function Ve(dt){return new st(this,dt).promise}function oe(dt){var ct=this;return C(dt)?new ct(function(yt,_t){for(var or=dt.length,Pt=0;Pt<or;Pt++)ct.resolve(dt[Pt]).then(yt,_t)}):new ct(function(yt,_t){return _t(new TypeError("You must pass an array to race."))})}function re(dt){var ct=this,yt=new ct(gt);return Je(yt,dt),yt}function it(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Qe(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var ve=function(){function dt(ct){this[Ge]=Ye(),this._result=this._state=void 0,this._subscribers=[],gt!==ct&&(typeof ct!="function"&&it(),this instanceof dt?Ke(this,ct):Qe())}return dt.prototype.catch=function(yt){return this.then(null,yt)},dt.prototype.finally=function(yt){var _t=this,or=_t.constructor;return L(yt)?_t.then(function(Pt){return or.resolve(yt()).then(function(){return Pt})},function(Pt){return or.resolve(yt()).then(function(){throw Pt})}):_t.then(yt,yt)},dt}();ve.prototype.then=Ae,ve.all=Ve,ve.race=oe,ve.resolve=Pe,ve.reject=re,ve._setScheduler=B,ve._setAsap=P,ve._asap=k;function Zt(){var dt=void 0;if(typeof d!="undefined")dt=d;else if(typeof self!="undefined")dt=self;else try{dt=Function("return this")()}catch(_t){throw new Error("polyfill failed because global object is unavailable in this environment")}var ct=dt.Promise;if(ct){var yt=null;try{yt=Object.prototype.toString.call(ct.resolve())}catch(_t){}if(yt==="[object Promise]"&&!ct.cast)return}dt.Promise=ve}return ve.polyfill=Zt,ve.Promise=ve,ve})}),s=t.Promise,u=function A(S){var T=h(A.convert(s.resolve()),JSON.parse(JSON.stringify(A.template))),L=A.convert(s.resolve(),T);return L=L.setProgress(1,A,1,[A]),L=L.set(S),L};u.prototype=Object.create(s.prototype),u.prototype.constructor=u,u.convert=function(S,T){return S.__proto__=T||u.prototype,S},u.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:{}}},u.prototype.from=function(S,T){function L(x){switch(c(x)){case"string":return"string";case"element":return x.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){T=T||L(S);switch(T){case"string":return this.set({src:a("div",{innerHTML:S})});case"element":return this.set({src:S});case"canvas":return this.set({canvas:S});case"img":return this.set({img:S});default:return this.error("Unknown source type.")}})},u.prototype.to=function(S){switch(S){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.")}},u.prototype.toContainer=function(){var S=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(S).then(function(){var L={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},x={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};L.opacity=0;var C=i(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=a("div",{className:"html2pdf__overlay",style:L}),this.prop.container=a("div",{className:"html2pdf__container",style:x}),this.prop.container.appendChild(C),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},u.prototype.toCanvas=function(){var S=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(S).then(function(){var L=h({},this.opt.html2canvas);return delete L.onrendered,m(this.prop.container,L)}).then(function(L){var x=this.opt.html2canvas.onrendered||function(){};x(L),this.prop.canvas=L,document.body.removeChild(this.prop.overlay)})},u.prototype.toImg=function(){var S=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(S).then(function(){var L=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=L})},u.prototype.toPdf=function(){var S=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(S).then(function(){var L=this.prop.canvas,x=this.opt,C=L.height,I=Math.floor(L.width*this.prop.pageSize.inner.ratio),N=Math.ceil(C/I),F=this.prop.pageSize.inner.height,k=document.createElement("canvas"),B=k.getContext("2d");k.width=L.width,k.height=I,this.prop.pdf=this.prop.pdf||new y(x.jsPDF);for(var P=0;P<N;P++){P===N-1&&C%I!==0&&(k.height=C%I,F=k.height*this.prop.pageSize.inner.width/k.width);var K=k.width,R=k.height;B.fillStyle="white",B.fillRect(0,0,K,R),B.drawImage(L,0,P*I,K,R,0,0,K,R),P&&this.prop.pdf.addPage();var U=k.toDataURL("image/"+x.image.type,x.image.quality);this.prop.pdf.addImage(U,x.image.type,x.margin[1],x.margin[0],this.prop.pageSize.inner.width,F)}})},u.prototype.output=function(S,T,L){return L=L||"pdf",L.toLowerCase()==="img"||L.toLowerCase()==="image"?this.outputImg(S,T):this.outputPdf(S,T)},u.prototype.outputPdf=function(S,T){var L=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(L).then(function(){return this.prop.pdf.output(S,T)})},u.prototype.outputImg=function(S,T){var L=[function(){return this.prop.img||this.toImg()}];return this.thenList(L).then(function(){switch(S){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 "'+S+'" is not supported.'}})},u.prototype.save=function(S){var T=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(T).set(S?{filename:S}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},u.prototype.set=function(S){if(c(S)!=="object")return this;var T=Object.keys(S||{}).map(function(L){if(L in u.template.prop)return function(){this.prop[L]=S[L]};switch(L){case"margin":return this.setMargin.bind(this,S.margin);case"jsPDF":return function(){return this.opt.jsPDF=S.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,S.pageSize);default:return function(){this.opt[L]=S[L]}}},this);return this.then(function(){return this.thenList(T)})},u.prototype.get=function(S,T){return this.then(function(){var x=S in u.template.prop?this.prop[S]:this.opt[S];return T?T(x):x})},u.prototype.setMargin=function(S){return this.then(function(){switch(c(S)){case"number":S=[S,S,S,S];case"array":if(S.length===2&&(S=[S[0],S[1],S[0],S[1]]),S.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=S}).then(this.setPageSize)},u.prototype.setPageSize=function(S){return this.then(function(){S=S||y.getPageSize(this.opt.jsPDF),S.hasOwnProperty("inner")||(S.inner={width:S.width-this.opt.margin[1]-this.opt.margin[3],height:S.height-this.opt.margin[0]-this.opt.margin[2]},S.inner.px={width:o(S.inner.width,S.k),height:o(S.inner.height,S.k)},S.inner.ratio=S.inner.height/S.inner.width),this.prop.pageSize=S})},u.prototype.setProgress=function(S,T,L,x){return S!=null&&(this.progress.val=S),T!=null&&(this.progress.state=T),L!=null&&(this.progress.n=L),x!=null&&(this.progress.stack=x),this.progress.ratio=this.progress.val/this.progress.state,this},u.prototype.updateProgress=function(S,T,L,x){return this.setProgress(S?this.progress.val+S:null,T||null,L?this.progress.n+L:null,x?this.progress.stack.concat(x):null)},u.prototype.then=function(S,T){var L=this;return this.thenCore(S,T,function(C,I){return L.updateProgress(null,null,1,[C]),s.prototype.then.call(this,function(F){return L.updateProgress(null,C),F}).then(C,I).then(function(F){return L.updateProgress(1),F})})},u.prototype.thenCore=function(S,T,L){L=L||s.prototype.then;var x=this;S&&(S=S.bind(x)),T&&(T=T.bind(x));var C=s.toString().indexOf("[native code]")!==-1&&s.name==="Promise",I=C?x:u.convert(h({},x),s.prototype),N=L.call(I,S,T);return u.convert(N,x.__proto__)},u.prototype.thenExternal=function(S,T){return s.prototype.then.call(this,S,T)},u.prototype.thenList=function(S){var T=this;return S.forEach(function(x){T=T.thenCore(x)}),T},u.prototype.catch=function(A){A&&(A=A.bind(this));var S=s.prototype.catch.call(this,A);return u.convert(S,this)},u.prototype.catchExternal=function(S){return s.prototype.catch.call(this,S)},u.prototype.error=function(S){return this.then(function(){throw new Error(S)})},u.prototype.using=u.prototype.set,u.prototype.saveAs=u.prototype.save,u.prototype.export=u.prototype.output,u.prototype.run=u.prototype.then,y.getPageSize=function(A,S,T){if((typeof A=="undefined"?"undefined":v(A))==="object"){var L=A;A=L.orientation,S=L.unit||S,T=L.format||T}S=S||"mm",T=T||"a4",A=(""+(A||"P")).toLowerCase();var x=(""+T).toLowerCase(),C={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(S){case"pt":var I=1;break;case"mm":var I=72/25.4;break;case"cm":var I=72/2.54;break;case"in":var I=72;break;case"px":var I=72/96;break;case"pc":var I=12;break;case"em":var I=12;break;case"ex":var I=6;break;default:throw"Invalid unit: "+S}if(C.hasOwnProperty(x))var N=C[x][1]/I,F=C[x][0]/I;else try{var N=T[1],F=T[0]}catch(P){throw new Error("Invalid format: "+T)}if(A==="p"||A==="portrait"){if(A="p",F>N){var k=F;F=N,N=k}}else if(A==="l"||A==="landscape"){if(A="l",N>F){var k=F;F=N,N=k}}else throw"Invalid orientation: "+A;var B={width:F,height:N,unit:S,k:I};return B};var p={toContainer:u.prototype.toContainer};u.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},u.prototype.toContainer=function(){return p.toContainer.call(this).then(function(){var T=this.prop.container,L=this.prop.pageSize.inner.px.height,x=[].concat(this.opt.pagebreak.mode),C={avoidAll:x.indexOf("avoid-all")!==-1,css:x.indexOf("css")!==-1,legacy:x.indexOf("legacy")!==-1},I={},N=this;["before","after","avoid"].forEach(function(B){var P=C.avoidAll&&B==="avoid";I[B]=P?[]:[].concat(N.opt.pagebreak[B]||[]),I[B].length>0&&(I[B]=Array.prototype.slice.call(T.querySelectorAll(I[B].join(", "))))});var F=T.querySelectorAll(".html2pdf__page-break");F=Array.prototype.slice.call(F);var k=T.querySelectorAll("*");Array.prototype.forEach.call(k,function(P){var K={before:!1,after:C.legacy&&F.indexOf(P)!==-1,avoid:C.avoidAll};if(C.css){var R=window.getComputedStyle(P),U=["always","page","left","right"],j=["avoid","avoid-page"];K={before:K.before||U.indexOf(R.breakBefore||R.pageBreakBefore)!==-1,after:K.after||U.indexOf(R.breakAfter||R.pageBreakAfter)!==-1,avoid:K.avoid||j.indexOf(R.breakInside||R.pageBreakInside)!==-1}}Object.keys(K).forEach(function(Z){K[Z]=K[Z]||I[Z].indexOf(P)!==-1});var H=P.getBoundingClientRect();if(K.avoid&&!K.before){var W=Math.floor(H.top/L),X=Math.floor(H.bottom/L),z=Math.abs(H.bottom-H.top)/L;X!==W&&z<=1&&(K.before=!0)}if(K.before){var G=a("div",{style:{display:"block",height:L-H.top%L+"px"}});P.parentNode.insertBefore(G,P)}if(K.after){var G=a("div",{style:{display:"block",height:L-H.bottom%L+"px"}});P.parentNode.insertBefore(G,P.nextSibling)}})})};var w=[],b={toContainer:u.prototype.toContainer,toPdf:u.prototype.toPdf};u.prototype.toContainer=function(){return b.toContainer.call(this).then(function(){if(this.opt.enableLinks){var T=this.prop.container,L=T.querySelectorAll("a"),x=r(T.getBoundingClientRect(),this.prop.pageSize.k);w=[],Array.prototype.forEach.call(L,function(C){for(var I=C.getClientRects(),N=0;N<I.length;N++){var F=r(I[N],this.prop.pageSize.k);F.left-=x.left,F.top-=x.top;var k=Math.floor(F.top/this.prop.pageSize.inner.height)+1,B=this.opt.margin[0]+F.top%this.prop.pageSize.inner.height,P=this.opt.margin[1]+F.left;w.push({page:k,top:B,left:P,clientRect:F,link:C})}},this)}})},u.prototype.toPdf=function(){return b.toPdf.call(this).then(function(){if(this.opt.enableLinks){w.forEach(function(L){this.prop.pdf.setPage(L.page),this.prop.pdf.link(L.left,L.top,L.clientRect.width,L.clientRect.height,{url:L.link.href})},this);var T=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(T)}})};var E=function A(S,T){var L=new A.Worker(T);return S?L.from(S).save():L};return E.Worker=u,E})}).call(this,e("yLpj"),e("Q2Ig"))},"1q3G":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.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(D,_,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)}}),y=f;D.exports=y},"1u/T":function(D,_,e){var g=e("ProS"),f={type:"selectDataRange",event:"dataRangeSelected",update:"update"};g.registerAction(f,function(y,m){m.eachComponent({mainType:"visualMap",query:y},function(v){v.setSelected(y.selected)})})},"1vzs":function(D,_,e){"use strict";e.d(_,"a",function(){return t});var g=e("q1tI"),f=e.n(g),y=e("HQEm"),m=e.n(y),v=e("gZBC"),h=e.n(v),c=e("NAnI"),a=e.n(c),i=e("V/uB"),r=e.n(i),o=e("kbBi"),d=e.n(o),n=e("w6Tc"),l=e.n(n);function t(s){var u=s.suffixIcon,p=s.clearIcon,w=s.menuItemSelectedIcon,b=s.removeIcon,E=s.loading,A=s.multiple,S=s.prefixCls,T=p;p||(T=g.createElement(d.a,null));var L=null;if(u!==void 0)L=u;else if(E)L=g.createElement(h.a,{spin:!0});else{var x="".concat(S,"-suffix");L=function(F){var k=F.open,B=F.showSearch;return k&&B?g.createElement(l.a,{className:x}):g.createElement(m.a,{className:x})}}var C=null;w!==void 0?C=w:A?C=g.createElement(a.a,null):C=null;var I=null;return b!==void 0?I=b:I=g.createElement(r.a,null),{clearIcon:T,suffixIcon:L,itemIcon:C,removeIcon:I}}},"1xaR":function(D,_,e){var g=e("ProS"),f=e("bYtY");e("qgGe"),e("NA0q"),e("RPvy");var y=e("mOdp"),m=e("y3NT"),v=e("0/Rx");g.registerVisual(f.curry(y,"sunburst")),g.registerLayout(f.curry(m,"sunburst")),g.registerProcessor(f.curry(v,"sunburst"))},"24YM":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SensorTabIndex=_.SensorClassName=_.SizeSensorId=void 0;var g="size-sensor-id";_.SizeSensorId=g;var f="size-sensor-object";_.SensorClassName=f;var y="-1";_.SensorTabIndex=y},"2548":function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("6GrX"),m=e("IUWy"),v=e("IwbS"),h=e("Qxkt"),c=e("gPAo"),a=e("eRkO"),i=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"),u=o.get("feature")||{},p=this._features||(this._features={}),w=[];f.each(u,function(A,S){w.push(S)}),new c(this._featureNames||[],w).add(b).update(b).remove(f.curry(b,null)).execute(),this._featureNames=w;function b(A,S){var T=w[A],L=w[S],x=u[T],C=new h(x,o,o.ecModel),I;if(l&&l.newTitle!=null&&l.featureName===T&&(x.title=l.newTitle),T&&!L){if(r(T))I={model:C,onclick:C.option.onclick,featureName:T};else{var N=m.get(T);if(!N)return;I=new N(C,d,n)}p[T]=I}else{if(I=p[L],!I)return;I.model=C,I.ecModel=d,I.api=n}if(!T&&L){I.dispose&&I.dispose(d,n);return}if(!C.get("show")||I.unusable){I.remove&&I.remove(d,n);return}E(C,I,T),C.setIconStatus=function(F,k){var B=this.option,P=this.iconPaths;B.iconStatus=B.iconStatus||{},B.iconStatus[F]=k,P[F]&&P[F].trigger(k)},I.render&&I.render(C,d,n,l)}function E(A,S,T){var L=A.getModel("iconStyle"),x=A.getModel("emphasis.iconStyle"),C=S.getIcons?S.getIcons():A.get("icon"),I=A.get("title")||{};if(typeof C=="string"){var N=C,F=I;C={},I={},C[T]=N,I[T]=F}var k=A.iconPaths={};f.each(C,function(B,P){var K=v.createIcon(B,{},{x:-s/2,y:-s/2,width:s,height:s});K.setStyle(L.getItemStyle()),K.hoverStyle=x.getItemStyle(),K.setStyle({text:I[P],textAlign:x.get("textAlign"),textBorderRadius:x.get("textBorderRadius"),textPadding:x.get("textPadding"),textFill:null});var R=o.getModel("tooltip");R&&R.get("show")&&K.attr("tooltip",f.extend({content:I[P],formatter:R.get("formatter",!0)||function(){return I[P]},formatterParams:{componentType:"toolbox",name:P,title:I[P],$vars:["name","title"]},position:R.get("position",!0)||"bottom"},R.option)),v.setHoverStyle(K),o.get("showTitle")&&(K.__title=I[P],K.on("mouseover",function(){var U=x.getItemStyle(),j=o.get("orient")==="vertical"?o.get("right")==null?"right":"left":o.get("bottom")==null?"bottom":"top";K.setStyle({textFill:x.get("textFill")||U.fill||U.stroke||"#000",textBackgroundColor:x.get("textBackgroundColor"),textPosition:x.get("textPosition")||j})}).on("mouseout",function(){K.setStyle({textFill:null,textBackgroundColor:null})})),K.trigger(A.get("iconStatus."+P)||"normal"),t.add(K),K.on("click",f.bind(S.onclick,S,d,n,P)),k[P]=K})}a.layout(t,o,n),t.add(a.makeBackground(t.getBoundingRect(),o)),t.eachChild(function(A){var S=A.__title,T=A.hoverStyle;if(T&&S){var L=y.getBoundingRect(S,y.makeFont(T)),x=A.position[0]+t.position[0],C=A.position[1]+t.position[1]+s,I=!1;C+L.height>n.getHeight()&&(T.textPosition="top",I=!0);var N=I?-5-L.height:s+8;x+L.width/2>n.getWidth()?(T.textPosition=["100%",N],T.textAlign="right"):x-L.width/2<0&&(T.textPosition=[0,N],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}D.exports=i},"2B6p":function(D,_){function e(g,f,y){var m=g.getZoom(),v=g.getCenter(),h=f.zoom,c=g.dataToPoint(v);if(f.dx!=null&&f.dy!=null){c[0]-=f.dx,c[1]-=f.dy;var v=g.pointToData(c);g.setCenter(v)}if(h!=null){if(y){var a=y.min||0,i=y.max||Infinity;h=Math.max(Math.min(m*h,i),a)/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 v=g.pointToData(c);g.setCenter(v),g.setZoom(h*m)}return{center:g.getCenter(),zoom:g.getZoom()}}_.updateCenterAndZoom=e},"2BaD":function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="CloseCircleOutlined";var h=_.a=g.forwardRef(v)},"2DNl":function(D,_,e){var g=e("IMiH"),f=e("loD1"),y=e("59Ip"),m=e("aKvl"),v=e("n1HI"),h=e("hX1E"),c=h.normalizeRadian,a=e("Sj9i"),i=e("hyiK"),r=g.CMD,o=Math.PI*2,d=1e-4;function n(S,T){return Math.abs(S-T)<d}var l=[-1,-1,-1],t=[-1,-1];function s(){var S=t[0];t[0]=t[1],t[1]=S}function u(S,T,L,x,C,I,N,F,k,B){if(B>T&&B>x&&B>I&&B>F||B<T&&B<x&&B<I&&B<F)return 0;var P=a.cubicRootAt(T,x,I,F,B,l);if(P===0)return 0;for(var K=0,R=-1,U,j,H=0;H<P;H++){var W=l[H],X=W===0||W===1?.5:1,z=a.cubicAt(S,L,C,N,W);if(z<k)continue;R<0&&(R=a.cubicExtrema(T,x,I,F,t),t[1]<t[0]&&R>1&&s(),U=a.cubicAt(T,x,I,F,t[0]),R>1&&(j=a.cubicAt(T,x,I,F,t[1]))),R===2?W<t[0]?K+=U<T?X:-X:W<t[1]?K+=j<U?X:-X:K+=F<j?X:-X:W<t[0]?K+=U<T?X:-X:K+=F<U?X:-X}return K}function p(S,T,L,x,C,I,N,F){if(F>T&&F>x&&F>I||F<T&&F<x&&F<I)return 0;var k=a.quadraticRootAt(T,x,I,F,l);if(k===0)return 0;var B=a.quadraticExtremum(T,x,I);if(B>=0&&B<=1){for(var P=0,K=a.quadraticAt(T,x,I,B),R=0;R<k;R++){var U=l[R]===0||l[R]===1?.5:1,j=a.quadraticAt(S,L,C,l[R]);if(j<N)continue;l[R]<B?P+=K<T?U:-U:P+=I<K?U:-U}return P}else{var U=l[0]===0||l[0]===1?.5:1,j=a.quadraticAt(S,L,C,l[0]);return j<N?0:I<T?U:-U}}function w(S,T,L,x,C,I,N,F){if(F-=T,F>L||F<-L)return 0;var k=Math.sqrt(L*L-F*F);l[0]=-k,l[1]=k;var B=Math.abs(x-C);if(B<1e-4)return 0;if(B%o<1e-4){x=0,C=o;var P=I?1:-1;return N>=l[0]+S&&N<=l[1]+S?P:0}if(I){var k=x;x=c(C),C=c(k)}else x=c(x),C=c(C);x>C&&(C+=o);for(var K=0,R=0;R<2;R++){var U=l[R];if(U+S>N){var j=Math.atan2(F,U),P=I?1:-1;j<0&&(j=o+j),(j>=x&&j<=C||j+o>=x&&j+o<=C)&&(j>Math.PI/2&&j<Math.PI*1.5&&(P=-P),K+=P)}}return K}function b(S,T,L,x,C){for(var I=0,N=0,F=0,k=0,B=0,P=0;P<S.length;){var K=S[P++];K===r.M&&P>1&&(L||(I+=i(N,F,k,B,x,C))),P===1&&(N=S[P],F=S[P+1],k=N,B=F);switch(K){case r.M:k=S[P++],B=S[P++],N=k,F=B;break;case r.L:if(L){if(f.containStroke(N,F,S[P],S[P+1],T,x,C))return!0}else I+=i(N,F,S[P],S[P+1],x,C)||0;N=S[P++],F=S[P++];break;case r.C:if(L){if(y.containStroke(N,F,S[P++],S[P++],S[P++],S[P++],S[P],S[P+1],T,x,C))return!0}else I+=u(N,F,S[P++],S[P++],S[P++],S[P++],S[P],S[P+1],x,C)||0;N=S[P++],F=S[P++];break;case r.Q:if(L){if(m.containStroke(N,F,S[P++],S[P++],S[P],S[P+1],T,x,C))return!0}else I+=p(N,F,S[P++],S[P++],S[P],S[P+1],x,C)||0;N=S[P++],F=S[P++];break;case r.A:var R=S[P++],U=S[P++],j=S[P++],H=S[P++],W=S[P++],X=S[P++];P+=1;var z=1-S[P++],G=Math.cos(W)*j+R,Z=Math.sin(W)*H+U;P>1?I+=i(N,F,G,Z,x,C):(k=G,B=Z);var ge=(x-R)*H/j+R;if(L){if(v.containStroke(R,U,H,W,W+X,z,T,ge,C))return!0}else I+=w(R,U,H,W,W+X,z,ge,C);N=Math.cos(W+X)*j+R,F=Math.sin(W+X)*H+U;break;case r.R:k=N=S[P++],B=F=S[P++];var Q=S[P++],we=S[P++],G=k+Q,Z=B+we;if(L){if(f.containStroke(k,B,G,B,T,x,C)||f.containStroke(G,B,G,Z,T,x,C)||f.containStroke(G,Z,k,Z,T,x,C)||f.containStroke(k,Z,k,B,T,x,C))return!0}else I+=i(G,B,G,Z,x,C),I+=i(k,Z,k,B,x,C);break;case r.Z:if(L){if(f.containStroke(N,F,k,B,T,x,C))return!0}else I+=i(N,F,k,B,x,C);N=k,F=B;break}}return!L&&!n(F,B)&&(I+=i(N,F,k,B,x,C)||0),I!==0}function E(S,T,L){return b(S,0,!1,T,L)}function A(S,T,L,x){return b(S,T,!0,L,x)}_.contain=E,_.containStroke=A},"2Qr1":function(D,_,e){"use strict";e.d(_,"d",function(){return n}),e.d(_,"c",function(){return t}),e.d(_,"e",function(){return s}),e.d(_,"b",function(){return w}),e.d(_,"f",function(){return b}),e.d(_,"g",function(){return E}),e.d(_,"a",function(){return A});var g=e("rePB"),f=e("KQm4"),y=e("DSFK"),m=e("25BE"),v=e("BsWD"),h=e("PYwp");function c(S){return Object(y.a)(S)||Object(m.a)(S)||Object(v.a)(S)||Object(h.a)()}var a=e("U8pU"),i=e("VTBJ"),r=e("Kwbf"),o=e("WKfj");function d(S,T){var L=S.key,x;return"value"in S&&(x=S.value),L!=null?L:x!==void 0?x:"rc-index-key-".concat(T)}function n(S){var T=[];function L(x,C){x.forEach(function(I){C||!("options"in I)?T.push({key:d(I,T.length),groupOption:C,data:I}):(T.push({key:d(I,T.length),group:!0,data:I}),L(I.options,!0))})}return L(S,!1),T}function l(S){var T=Object(i.a)({},S);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(S,T){var L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},x=L.prevValueOptions,C=x===void 0?[]:x,I=new Map;return T.forEach(function(N){if(!N.group){var F=N.data;I.set(F.value,F)}}),S.map(function(N){var F=I.get(N);return F||(F=Object(i.a)({},C.find(function(k){return k._INTERNAL_OPTION_VALUE_===N}))),l(F)})}var s=function(T,L){var x=L.options,C=L.prevValue,I=L.labelInValue,N=L.optionLabelProp,F=t([T],x)[0],k={value:T},B,P=Object(o.d)(C);return I&&(B=P.find(function(K){return Object(a.a)(K)==="object"&&"value"in K?K.value===T:K.key===T})),B&&Object(a.a)(B)==="object"&&"label"in B?(k.label=B.label,F&&typeof B.label=="string"&&typeof F[N]=="string"&&B.label.trim()!==F[N].trim()&&Object(r.a)(!1,"`label` of `value` is not same as `label` in Select options.")):F&&N in F?k.label=F[N]:k.label=T,k.key=k.value,k};function u(S){return Object(o.d)(S).join("")}function p(S){return function(T,L){var x=T.toLowerCase();if("options"in L)return u(L.label).toLowerCase().includes(x);var C=L[S],I=u(C).toLowerCase();return I.includes(x)&&!L.disabled}}function w(S,T,L){var x=L.optionFilterProp,C=L.filterOption,I=[],N;return C===!1?T:(typeof C=="function"?N=C:N=p(x),T.forEach(function(F){if("options"in F){var k=N(S,F);if(k)I.push(F);else{var B=F.options.filter(function(P){return N(S,P)});B.length&&I.push(Object(i.a)(Object(i.a)({},F),{},{options:B}))}return}N(S,l(F))&&I.push(F)}),I)}function b(S,T){if(!T||!T.length)return null;var L=!1;function x(I,N){var F=c(N),k=F[0],B=F.slice(1);if(!k)return[I];var P=I.split(k);return L=L||P.length>1,P.reduce(function(K,R){return[].concat(Object(f.a)(K),Object(f.a)(x(R,B)))},[]).filter(function(K){return K})}var C=x(S,T);return L?C:null}function E(S,T){var L=t([S],T)[0];return L.disabled}function A(S,T,L,x){var C=Object(o.d)(T).slice().sort(),I=Object(f.a)(S),N=new Set;return S.forEach(function(F){F.options?F.options.forEach(function(k){N.add(k.value)}):N.add(F.value)}),C.forEach(function(F){var k=x?F.value:F;if(!N.has(k)){var B;I.push(x?(B={},Object(g.a)(B,L,F.label),Object(g.a)(B,"value",k),B):{value:k})}}),I}},"2dDv":function(D,_,e){var g=e("bYtY"),f=e("Fofx"),y=e("+TT/"),m=e("aX7z"),v=e("D1WM"),h=e("IwbS"),c=e("OELB"),a=e("72pK"),i=g.each,r=Math.min,o=Math.max,d=Math.floor,n=Math.ceil,l=c.round,t=Math.PI;function s(E,A,S){this._axesMap=g.createHashMap(),this._axesLayout={},this.dimensions=E.dimensions,this._rect,this._model=E,this._init(E,A,S)}s.prototype={type:"parallel",constructor:s,_init:function(E,A,S){var T=E.dimensions,L=E.parallelAxisIndex;i(T,function(x,C){var I=L[C],N=A.getComponent("parallelAxis",I),F=this._axesMap.set(x,new v(x,m.createScaleByModel(N),[0,0],N.get("type"),I)),k=F.type==="category";F.onBand=k&&N.get("boundaryGap"),F.inverse=N.get("inverse"),N.axis=F,F.model=N,F.coordinateSystem=N.coordinateSystem=this},this)},update:function(E,A){this._updateAxesFromSeries(this._model,E)},containPoint:function(E){var A=this._makeLayoutInfo(),S=A.axisBase,T=A.layoutBase,L=A.pixelDimIndex,x=E[1-L],C=E[L];return x>=S&&x<=S+A.axisLength&&C>=T&&C<=T+A.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(E,A){A.eachSeries(function(S){if(!E.contains(S,A))return;var T=S.getData();i(this.dimensions,function(L){var x=this._axesMap.get(L);x.scale.unionExtentFromData(T,T.mapDimension(L)),m.niceScaleExtent(x.scale,x.model)},this)},this)},resize:function(E,A){this._rect=y.getLayoutRect(E.getBoxLayoutParams(),{width:A.getWidth(),height:A.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var E=this._model,A=this._rect,S=["x","y"],T=["width","height"],L=E.get("layout"),x=L==="horizontal"?0:1,C=A[T[x]],I=[0,C],N=this.dimensions.length,F=u(E.get("axisExpandWidth"),I),k=u(E.get("axisExpandCount")||0,[0,N]),B=E.get("axisExpandable")&&N>3&&N>k&&k>1&&F>0&&C>0,P=E.get("axisExpandWindow"),K;if(P)K=u(P[1]-P[0],I),P[1]=P[0]+K;else{K=u(F*(k-1),I);var R=E.get("axisExpandCenter")||d(N/2);P=[F*R-K/2],P[1]=P[0]+K}var U=(C-K)/(N-k);U<3&&(U=0);var j=[d(l(P[0]/F,1))+1,n(l(P[1]/F,1))-1],H=U/F*P[0];return{layout:L,pixelDimIndex:x,layoutBase:A[S[x]],layoutLength:C,axisBase:A[S[1-x]],axisLength:A[T[1-x]],axisExpandable:B,axisExpandWidth:F,axisCollapseWidth:U,axisExpandWindow:P,axisCount:N,winInnerIndices:j,axisExpandWindow0Pos:H}},_layoutAxes:function(){var E=this._rect,A=this._axesMap,S=this.dimensions,T=this._makeLayoutInfo(),L=T.layout;A.each(function(x){var C=[0,T.axisLength],I=x.inverse?1:0;x.setExtent(C[I],C[1-I])}),i(S,function(x,C){var I=(T.axisExpandable?w:p)(C,T),N={horizontal:{x:I.position,y:T.axisLength},vertical:{x:0,y:I.position}},F={horizontal:t/2,vertical:0},k=[N[L].x+E.x,N[L].y+E.y],B=F[L],P=f.create();f.rotate(P,P,B),f.translate(P,P,k),this._axesLayout[x]={position:k,rotation:B,transform:P,axisNameAvailableWidth:I.axisNameAvailableWidth,axisLabelShow:I.axisLabelShow,nameTruncateMaxWidth:I.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(E){return this._axesMap.get(E)},dataToPoint:function(E,A){return this.axisCoordToPoint(this._axesMap.get(A).dataToCoord(E),A)},eachActiveState:function(E,A,S,T){S==null&&(S=0),T==null&&(T=E.count());var L=this._axesMap,x=this.dimensions,C=[],I=[];g.each(x,function(U){C.push(E.mapDimension(U)),I.push(L.get(U).model)});for(var N=this.hasAxisBrushed(),F=S;F<T;F++){var k;if(!N)k="normal";else{k="active";for(var B=E.getValues(C,F),P=0,K=x.length;P<K;P++){var R=I[P].getActiveState(B[P]);if(R==="inactive"){k="inactive";break}}}A(k,F)}},hasAxisBrushed:function(){for(var E=this.dimensions,A=this._axesMap,S=!1,T=0,L=E.length;T<L;T++)A.get(E[T]).model.getActiveState()!=="normal"&&(S=!0);return S},axisCoordToPoint:function(E,A){var S=this._axesLayout[A];return h.applyTransform([E,0],S.transform)},getAxisLayout:function(E){return g.clone(this._axesLayout[E])},getSlidedAxisExpandWindow:function(E){var A=this._makeLayoutInfo(),S=A.pixelDimIndex,T=A.axisExpandWindow.slice(),L=T[1]-T[0],x=[0,A.axisExpandWidth*(A.axisCount-1)];if(!this.containPoint(E))return{behavior:"none",axisExpandWindow:T};var C=E[S]-A.layoutBase-A.axisExpandWindow0Pos,I,N="slide",F=A.axisCollapseWidth,k=this._model.get("axisExpandSlideTriggerArea"),B=k[0]!=null;if(F)B&&F&&C<L*k[0]?(N="jump",I=C-L*k[2]):B&&F&&C>L*(1-k[0])?(N="jump",I=C-L*(1-k[2])):(I=C-L*k[1])>=0&&(I=C-L*(1-k[1]))<=0&&(I=0),I*=A.axisExpandWidth/F,I?a(I,T,x,"all"):N="none";else{var L=T[1]-T[0],P=x[1]*C/L;T=[o(0,P-L/2)],T[1]=r(x[1],T[0]+L),T[0]=T[1]-L}return{axisExpandWindow:T,behavior:N}}};function u(E,A){return r(o(E,A[0]),A[1])}function p(E,A){var S=A.layoutLength/(A.axisCount-1);return{position:S*E,axisNameAvailableWidth:S,axisLabelShow:!0}}function w(E,A){var S=A.layoutLength,T=A.axisExpandWidth,L=A.axisCount,x=A.axisCollapseWidth,C=A.winInnerIndices,I,N=x,F=!1,k;return E<C[0]?(I=E*x,k=x):E<=C[1]?(I=A.axisExpandWindow0Pos+E*T-A.axisExpandWindow[0],N=T,F=!0):(I=S-(L-1-E)*x,k=x),{position:I,axisNameAvailableWidth:N,axisLabelShow:F,nameTruncateMaxWidth:k}}var b=s;D.exports=b},"2fGM":function(D,_,e){var g=e("bYtY"),f=e("bLfw"),y=e("nkfE"),m=e("ICMv"),v=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(v.prototype,m);var h={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function c(a,i){return i.type||(i.data?"category":"value")}y("angle",v,c,h.angle),y("radius",v,c,h.radius)},"2fM7":function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),m=e.n(y),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),a=e.n(c),i=e("7W2i"),r=e.n(i),o=e("LQ03"),d=e.n(o),n=e("q1tI"),l=e("BGR+"),t=e("TSYQ"),s=e.n(t),u=e("1OyB"),p=e("vuIU"),w=e("Ji7U"),b=e("LK+K"),E=e("rePB"),A=e("Ff2n"),S=e("ODXe"),T=e("4IlW"),L=e("bX4T"),x=e("YrtM"),C=e("+nKL"),I=e("8OUc"),N=function(V,$){var Te=V.prefixCls,ye=V.id,Fe=V.flattenOptions,Oe=V.childrenAsData,se=V.values,fe=V.searchValue,Le=V.multiple,Je=V.defaultActiveFirstOption,mt=V.height,Ct=V.itemHeight,Ue=V.notFoundContent,Rt=V.open,Ke=V.menuItemSelectedIcon,wt=V.virtual,Ye=V.onSelect,et=V.onToggleOpen,rt=V.onActiveValue,st=V.onScroll,Ve=V.onMouseEnter,oe="".concat(Te,"-item"),re=Object(x.a)(function(){return Fe},[Rt,Fe],function(me,pe){return pe[0]&&me[1]!==pe[1]}),it=n.useRef(null),Qe=function(pe){pe.preventDefault()},ve=function(pe){it.current&&it.current.scrollTo({index:pe})},Zt=function(pe){for(var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,De=re.length,He=0;He<De;He+=1){var ze=(pe+He*ue+De)%De,Xe=re[ze],Be=Xe.group,nt=Xe.data;if(!Be&&!nt.disabled)return ze}return-1},dt=n.useState(function(){return Zt(0)}),ct=Object(S.a)(dt,2),yt=ct[0],_t=ct[1],or=function(pe){_t(pe);var ue=re[pe];if(!ue){rt(null,-1);return}rt(ue.data.value,pe)};n.useEffect(function(){or(Je!==!1?Zt(0):-1)},[re.length,fe]),n.useEffect(function(){var me=setTimeout(function(){if(!Le&&Rt&&se.size===1){var pe=Array.from(se)[0],ue=re.findIndex(function(De){var He=De.data;return He.value===pe});or(ue),ve(ue)}});return function(){return clearTimeout(me)}},[Rt]);var Pt=function(pe){pe!==void 0&&Ye(pe,{selected:!se.has(pe)}),Le||et(!1)};if(n.useImperativeHandle($,function(){return{onKeyDown:function(pe){var ue=pe.which;switch(ue){case T.a.UP:case T.a.DOWN:{var De=0;if(ue===T.a.UP?De=-1:ue===T.a.DOWN&&(De=1),De!==0){var He=Zt(yt+De,De);ve(He),or(He)}break}case T.a.ENTER:{var ze=re[yt];ze&&!ze.data.disabled?Pt(ze.data.value):Pt(void 0),Rt&&pe.preventDefault();break}case T.a.ESC:et(!1)}},onKeyUp:function(){},scrollTo:function(pe){ve(pe)}}}),re.length===0)return n.createElement("div",{role:"listbox",id:"".concat(ye,"_list"),className:"".concat(oe,"-empty"),onMouseDown:Qe},Ue);function be(me){var pe=re[me];if(!pe)return null;var ue=pe.data||{},De=ue.value,He=ue.label,ze=ue.children,Xe=Object(L.a)(ue,!0),Be=Oe?ze:He;return pe?n.createElement("div",Object.assign({"aria-label":typeof Be=="string"?Be:null},Xe,{key:me,role:"option",id:"".concat(ye,"_list_").concat(me),"aria-selected":se.has(De)}),De):null}return n.createElement(n.Fragment,null,n.createElement("div",{role:"listbox",id:"".concat(ye,"_list"),style:{height:0,width:0,overflow:"hidden"}},be(yt-1),be(yt),be(yt+1)),n.createElement(C.a,{itemKey:"key",ref:it,data:re,height:mt,itemHeight:Ct,fullHeight:!1,onMouseDown:Qe,onScroll:st,virtual:wt,onMouseEnter:Ve},function(me,pe){var ue,De=me.group,He=me.groupOption,ze=me.data,Xe=ze.label,Be=ze.key;if(De)return n.createElement("div",{className:s()(oe,"".concat(oe,"-group"))},Xe!==void 0?Xe:Be);var nt=ze.disabled,At=ze.value,It=ze.title,ae=ze.children,he=ze.style,q=ze.className,ne=Object(A.a)(ze,["disabled","value","title","children","style","className"]),Se=se.has(At),Ne="".concat(oe,"-option"),Me=s()(oe,Ne,q,(ue={},Object(E.a)(ue,"".concat(Ne,"-grouped"),He),Object(E.a)(ue,"".concat(Ne,"-active"),yt===pe&&!nt),Object(E.a)(ue,"".concat(Ne,"-disabled"),nt),Object(E.a)(ue,"".concat(Ne,"-selected"),Se),ue)),$e=Oe?ae:Xe,vt=!Ke||typeof Ke=="function"||Se;return n.createElement("div",Object.assign({},ne,{"aria-selected":Se,className:Me,title:It,onMouseMove:function(){if(yt===pe||nt)return;or(pe)},onClick:function(){nt||Pt(At)},style:he}),n.createElement("div",{className:"".concat(Ne,"-content")},$e||At),n.isValidElement(Ke)||Se,vt&&n.createElement(I.a,{className:"".concat(oe,"-option-state"),customizeIcon:Ke,customizeIconProps:{isSelected:Se}},Se?"\u2713":null))}))},F=n.forwardRef(N);F.displayName="OptionList";var k=F,B=function(){return null};B.isSelectOption=!0;var P=B,K=function(){return null};K.isSelectOptGroup=!0;var R=K,U=e("VTBJ"),j=e("Zm9Q");function H(Y){var V=Y.key,$=Y.props,Te=$.children,ye=$.value,Fe=Object(A.a)($,["children","value"]);return Object(U.a)({key:V,value:ye!==void 0?ye:V,children:Te},Fe)}function W(Y){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(j.a)(Y).map(function($,Te){if(!n.isValidElement($)||!$.type)return null;var ye=$.type.isSelectOptGroup,Fe=$.key,Oe=$.props,se=Oe.children,fe=Object(A.a)(Oe,["children"]);return V||!ye?H($):Object(U.a)(Object(U.a)({key:"__RC_SELECT_GRP__".concat(Fe===null?Te:Fe,"__"),label:Fe},fe),{},{options:W(se)})}).filter(function($){return $})}var X=e("2Qr1"),z=e("qNPg"),G=e("U8pU"),Z=e("Kwbf"),ge=e("WKfj");function Q(Y){var V=Y.mode,$=Y.options,Te=Y.children,ye=Y.backfill,Fe=Y.allowClear,Oe=Y.placeholder,se=Y.getInputElement,fe=Y.showSearch,Le=Y.onSearch,Je=Y.defaultOpen,mt=Y.autoFocus,Ct=Y.labelInValue,Ue=Y.value,Rt=Y.inputValue,Ke=Y.optionLabelProp,wt=V==="multiple"||V==="tags",Ye=fe!==void 0?fe:wt||V==="combobox",et=$||W(Te);if(Object(Z.a)(V!=="tags"||et.every(function(oe){return!oe.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),V==="tags"||V==="combobox"){var rt=et.some(function(oe){return oe.options?oe.options.some(function(re){return typeof("value"in re?re.value:re.key)=="number"}):typeof("value"in oe?oe.value:oe.key)=="number"});Object(Z.a)(!rt,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(Z.a)(V!=="combobox"||!Ke,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(Z.a)(V==="combobox"||!ye,"`backfill` only works with `combobox` mode."),Object(Z.a)(V==="combobox"||!se,"`getInputElement` only work with `combobox` mode."),Object(Z.b)(V!=="combobox"||!se||!Fe||!Oe,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Le&&!Ye&&V!=="combobox"&&V!=="tags"&&Object(Z.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(Z.b)(!Je||mt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Ue!=null){var st=Object(ge.d)(Ue);Object(Z.a)(!Ct||st.every(function(oe){return Object(G.a)(oe)==="object"&&("key"in oe||"value"in oe)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(Z.a)(!wt||Array.isArray(Ue),"`value` should be array when `mode` is `multiple` or `tags`")}if(Te){var Ve=null;Object(j.a)(Te).some(function(oe){if(!n.isValidElement(oe)||!oe.type)return!1;var re=oe.type;if(re.isSelectOption)return!1;if(re.isSelectOptGroup){var it=Object(j.a)(oe.props.children).every(function(Qe){return!n.isValidElement(Qe)||!oe.type||Qe.type.isSelectOption?!0:(Ve=Qe.type,!1)});return!it}return Ve=re,!0}),Ve&&Object(Z.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ve.displayName||Ve.name||Ve,"`.")),Object(Z.a)(Rt===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var we=Q,Ee=Object(z.a)({prefixCls:"rc-select",components:{optionList:k},convertChildrenToData:W,flattenOptions:X.d,getLabeledValue:X.e,filterOptions:X.b,isValueDisabled:X.g,findValueOption:X.c,warningProps:we,fillOptionsWithMissingValue:X.a}),Ae=function(Y){Object(w.a)($,Y);var V=Object(b.a)($);function $(){var Te;return Object(u.a)(this,$),Te=V.apply(this,arguments),Te.selectRef=n.createRef(),Te.focus=function(){Te.selectRef.current.focus()},Te.blur=function(){Te.selectRef.current.blur()},Te}return Object(p.a)($,[{key:"render",value:function(){return n.createElement(Ee,Object.assign({ref:this.selectRef},this.props))}}]),$}(n.Component);Ae.Option=P,Ae.OptGroup=R;var Pe=Ae,Ge=Pe,gt=e("H84U"),_e=e("1vzs"),Ce=e("3Nzz"),lt=function(Y){r()($,Y);var V=d()($);function $(){var Te;return h()(this,$),Te=V.apply(this,arguments),Te.selectRef=n.createRef(),Te.focus=function(){Te.selectRef.current&&Te.selectRef.current.focus()},Te.blur=function(){Te.selectRef.current&&Te.selectRef.current.blur()},Te.getMode=function(){var ye=Te.props.mode;return ye==="combobox"?void 0:ye===$.SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":ye},Te.renderSelect=function(ye){var Fe=ye.getPopupContainer,Oe=ye.getPrefixCls,se=ye.renderEmpty,fe=ye.direction,Le=ye.virtual,Je=ye.dropdownMatchSelectWidth,mt=Te.props,Ct=mt.prefixCls,Ue=mt.notFoundContent,Rt=mt.className,Ke=mt.size,wt=mt.listHeight,Ye=wt===void 0?256:wt,et=mt.listItemHeight,rt=et===void 0?24:et,st=mt.getPopupContainer,Ve=mt.dropdownClassName,oe=mt.bordered,re=Oe("select",Ct),it=Te.getMode(),Qe=it==="multiple"||it==="tags",ve;Ue!==void 0?ve=Ue:it==="combobox"?ve=null:ve=se("Select");var Zt=Object(_e.a)(m()(m()({},Te.props),{multiple:Qe,prefixCls:re})),dt=Zt.suffixIcon,ct=Zt.itemIcon,yt=Zt.removeIcon,_t=Zt.clearIcon,or=Object(l.default)(Te.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),Pt=s()(Ve,f()({},"".concat(re,"-dropdown-").concat(fe),fe==="rtl"));return n.createElement(Ce.b.Consumer,null,function(be){var me,pe=Ke||be,ue=s()(Rt,(me={},f()(me,"".concat(re,"-lg"),pe==="large"),f()(me,"".concat(re,"-sm"),pe==="small"),f()(me,"".concat(re,"-rtl"),fe==="rtl"),f()(me,"".concat(re,"-borderless"),!oe),me));return n.createElement(Ge,m()({ref:Te.selectRef,virtual:Le,dropdownMatchSelectWidth:Je},or,{listHeight:Ye,listItemHeight:rt,mode:it,prefixCls:re,direction:fe,inputIcon:dt,menuItemSelectedIcon:ct,removeIcon:yt,clearIcon:_t,notFoundContent:ve,className:ue,getPopupContainer:st||Fe,dropdownClassName:Pt}))})},Te}return a()($,[{key:"render",value:function(){return n.createElement(gt.a,null,this.renderSelect)}}]),$}(n.Component);lt.Option=P,lt.OptGroup=R,lt.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",lt.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var ce=_.a=lt},"2fw6":function(D,_,e){var g=e("y+Vt"),f=g.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(m,v,h){h&&m.moveTo(v.cx+v.r,v.cy),m.arc(v.cx,v.cy,v.r,0,Math.PI*2,!0)}});D.exports=f},"2gN3":function(D,_,e){var g=e("Kz5y"),f=g["__core-js_shared__"];D.exports=f},"2jpz":function(D,_,e){"use strict";e.d(_,"a",function(){return p});var g=e("cDf5"),f=e.n(g),y=e("q1tI"),m=e.n(y),v=e("TSYQ"),h=e.n(v),c=e("gZBC"),a=e.n(c),i=e("vk+C"),r=e.n(i),o=e("pG52"),d=e.n(o),n=e("Csr3"),l=e.n(n),t=e("e5VY"),s=e.n(t),u=e("0n0R");function p(w,b,E,A){var S=A.isLeaf,T=A.expanded,L=A.loading;if(L)return y.createElement(a.a,{className:"".concat(w,"-switcher-loading-icon")});var x;if(E&&f()(E)==="object"&&(x=E.showLeafIcon),S)return E?f()(E)==="object"&&!x?y.createElement("span",{className:"".concat(w,"-switcher-leaf-line")}):y.createElement(r.a,{className:"".concat(w,"-switcher-line-icon")}):null;var C="".concat(w,"-switcher-icon");return Object(u.b)(b)?Object(u.a)(b,{className:h()(b.props.className||"",C)}):b||(E?T?y.createElement(d.a,{className:"".concat(w,"-switcher-line-icon")}):y.createElement(l.a,{className:"".concat(w,"-switcher-line-icon")}):y.createElement(s.a,{className:C}))}},"2oIt":function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},"2uGb":function(D,_,e){var g=e("ProS");e("ko1b"),e("s2lz"),e("RBEP");var f=e("kMLO"),y=e("nKiI");g.registerVisual(f),g.registerLayout(y)},"2w7y":function(D,_,e){var g=e("ProS");e("qMZE"),e("g0SD"),g.registerPreprocessor(function(f){f.markPoint=f.markPoint||{}})},"33Ds":function(D,_,e){var g=e("ProS"),f=e("b9oc"),y=e("Kagy"),m=e("IUWy"),v=y.toolbox.restore;function h(i){this.model=i}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:v.title};var c=h.prototype;c.onclick=function(i,r,o){f.clear(i),r.dispatchAction({type:"restore",from:this.uid})},m.register("restore",h),g.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(i,r){r.resetOption("recreate")});var a=h;D.exports=a},"34/K":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;function g(v,h){if(!(v instanceof h))throw new TypeError("Cannot call a class as a function")}function f(v,h){for(var c=0;c<h.length;c++){var a=h[c];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(v,a.key,a)}}function y(v,h,c){return h&&f(v.prototype,h),c&&f(v,c),v}var m=function(){function v(){g(this,v),this._lines=0}return y(v,[{key:"decodeRect",value:function(c,a,i,r,o,d,n){this._lines===0&&(this._lines=r);var l=n==8?1:4,t=i*l;if(o.rQwait("RAW",t))return!1;var s=a+(r-this._lines),u=Math.min(this._lines,Math.floor(o.rQlen/t)),p=o.rQ,w=o.rQi;if(n==8){for(var b=i*u,E=new Uint8Array(b*4),A=0;A<b;A++)E[A*4+0]=(p[w+A]>>0&3)*255/3,E[A*4+1]=(p[w+A]>>2&3)*255/3,E[A*4+2]=(p[w+A]>>4&3)*255/3,E[A*4+4]=0;p=E,w=0}return d.blitImage(c,s,i,u,p,w),o.rQskipBytes(u*t),this._lines-=u,!(this._lines>0)}}]),v}();_.default=m},"3690":function(D,_,e){"use strict";function g(i){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(i)}Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var f=m(e("Lo0S"));function y(){if(typeof WeakMap!="function")return null;var i=new WeakMap;return y=function(){return i},i}function m(i){if(i&&i.__esModule)return i;if(i===null||g(i)!=="object"&&typeof i!="function")return{default:i};var r=y();if(r&&r.has(i))return r.get(i);var o={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var l=d?Object.getOwnPropertyDescriptor(i,n):null;l&&(l.get||l.set)?Object.defineProperty(o,n,l):o[n]=i[n]}return o.default=i,r&&r.set(i,o),o}function v(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}function h(i,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(i,d.key,d)}}function c(i,r,o){return r&&h(i.prototype,r),o&&h(i,o),i}var a=function(){function i(){v(this,i),this._tiles=0,this._lastsubencoding=0}return c(i,[{key:"decodeRect",value:function(o,d,n,l,t,s,u){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 w=t.rQ,b=t.rQi,E=w[b];if(E>30)throw new Error("Illegal hextile subencoding (subencoding: "+E+")");var A=this._totalTiles-this._tiles,S=A%this._tilesX,T=Math.floor(A/this._tilesX),L=o+S*16,x=d+T*16,C=Math.min(16,o+n-L),I=Math.min(16,d+l-x);if(E&1)p+=C*I*4;else if(E&2&&(p+=4),E&4&&(p+=4),E&8){if(p++,t.rQwait("HEXTILE",p))return!1;var N=w[b+p-1];E&16?p+=N*(4+2):p+=N*2}if(t.rQwait("HEXTILE",p))return!1;if(b++,E===0)this._lastsubencoding&1?f.Debug(" Ignoring blank after RAW"):s.fillRect(L,x,C,I,this._background);else if(E&1)s.blitImage(L,x,C,I,w,b),b+=p-1;else{if(E&2&&(this._background=[w[b],w[b+1],w[b+2],w[b+3]],b+=4),E&4&&(this._foreground=[w[b],w[b+1],w[b+2],w[b+3]],b+=4),s.startTile(L,x,C,I,this._background),E&8){var F=w[b];b++;for(var k=0;k<F;k++){var B=void 0;E&16?(B=[w[b],w[b+1],w[b+2],w[b+3]],b+=4):B=this._foreground;var P=w[b];b++;var K=P>>4,R=P&15,U=w[b];b++;var j=(U>>4)+1,H=(U&15)+1;s.subTile(K,R,j,H,B)}}s.finishTile()}t.rQi=b,this._lastsubencoding=E,this._tiles--}return!0}}]),i}();_.default=a},"3A9y":function(D,_){function e(g){return this.__data__.has(g)}D.exports=e},"3C/r":function(D,_){var e=function(y,m){this.image=y,this.repeat=m,this.type="pattern"};e.prototype.getCanvasPattern=function(f){return f.createPattern(this.image,this.repeat||"repeat")};var g=e;D.exports=g},"3CBa":function(D,_,e){var g=e("hydK"),f=g.createElement,y=e("bYtY"),m=e("SUKs"),v=e("y+Vt"),h=e("Dagg"),c=e("dqUG"),a=e("DBLp"),i=e("sW+o"),r=e("n6Mw"),o=e("vKoX"),d=e("P47w"),n=d.path,l=d.image,t=d.text;function s(C){return parseInt(C,10)}function u(C){return C instanceof v?n:C instanceof h?l:C instanceof c?t:n}function p(C,I){return I&&C&&I.parentNode!==C}function w(C,I,N){if(p(C,I)&&N){var F=N.nextSibling;F?C.insertBefore(I,F):C.appendChild(I)}}function b(C,I){if(p(C,I)){var N=C.firstChild;N?C.insertBefore(I,N):C.appendChild(I)}}function E(C,I){I&&C&&I.parentNode===C&&C.removeChild(I)}function A(C){return C.__textSvgEl}function S(C){return C.__svgEl}var T=function(I,N,F,k){this.root=I,this.storage=N,this._opts=F=y.extend({},F||{});var B=f("svg");B.setAttribute("xmlns","http://www.w3.org/2000/svg"),B.setAttribute("version","1.1"),B.setAttribute("baseProfile","full"),B.style.cssText="user-select:none;position:absolute;left:0;top:0;";var P=f("g");B.appendChild(P);var K=f("g");B.appendChild(K),this.gradientManager=new i(k,K),this.clipPathManager=new r(k,K),this.shadowManager=new o(k,K);var R=document.createElement("div");R.style.cssText="overflow:hidden;position:relative",this._svgDom=B,this._svgRoot=K,this._backgroundRoot=P,this._viewport=R,I.appendChild(R),R.appendChild(B),this.resize(F.width,F.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 I=this.getViewportRoot();if(I)return{offsetLeft:I.offsetLeft||0,offsetTop:I.offsetTop||0}},refresh:function(){var I=this.storage.getDisplayList(!0);this._paintList(I)},setBackgroundColor:function(I){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var N=f("rect");N.setAttribute("width",this.getWidth()),N.setAttribute("height",this.getHeight()),N.setAttribute("x",0),N.setAttribute("y",0),N.setAttribute("id",0),N.style.fill=I,this._backgroundRoot.appendChild(N),this._backgroundNode=N},_paintList:function(I){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var N=this._svgRoot,F=this._visibleList,k=I.length,B=[],P;for(P=0;P<k;P++){var K=I[P],R=u(K),U=S(K)||A(K);K.invisible||(K.__dirty&&(R&&R.brush(K),this.clipPathManager.update(K),K.style&&(this.gradientManager.update(K.style.fill),this.gradientManager.update(K.style.stroke),this.shadowManager.update(U,K)),K.__dirty=!1),B.push(K))}var j=a(F,B),H;for(P=0;P<j.length;P++){var W=j[P];if(W.removed)for(var X=0;X<W.count;X++){var K=F[W.indices[X]],U=S(K),z=A(K);E(N,U),E(N,z)}}for(P=0;P<j.length;P++){var W=j[P];if(W.added)for(var X=0;X<W.count;X++){var K=B[W.indices[X]],U=S(K),z=A(K);H?w(N,U,H):b(N,U),U?w(N,z,U):H?w(N,z,H):b(N,z),w(N,z,U),H=z||U||H,this.gradientManager.addWithoutUpdate(U||z,K),this.shadowManager.addWithoutUpdate(U||z,K),this.clipPathManager.markUsed(K)}else if(!W.removed)for(var X=0;X<W.count;X++){var K=B[W.indices[X]],U=S(K),z=A(K),U=S(K),z=A(K);this.gradientManager.markUsed(K),this.gradientManager.addWithoutUpdate(U||z,K),this.shadowManager.markUsed(K),this.shadowManager.addWithoutUpdate(U||z,K),this.clipPathManager.markUsed(K),z&&w(N,z,U),H=U||z||H}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=B},_getDefs:function(I){var N=this._svgDom,F=N.getElementsByTagName("defs");if(F.length===0)if(I){var F=N.insertBefore(f("defs"),N.firstChild);return F.contains||(F.contains=function(B){var P=F.children;if(!P)return!1;for(var K=P.length-1;K>=0;--K)if(P[K]===B)return!0;return!1}),F}else return null;else return F[0]},resize:function(I,N){var F=this._viewport;F.style.display="none";var k=this._opts;if(I!=null&&(k.width=I),N!=null&&(k.height=N),I=this._getSize(0),N=this._getSize(1),F.style.display="",this._width!==I||this._height!==N){this._width=I,this._height=N;var B=F.style;B.width=I+"px",B.height=N+"px";var P=this._svgDom;P.setAttribute("width",I),P.setAttribute("height",N)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",I),this._backgroundNode.setAttribute("height",N))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(I){var N=this._opts,F=["width","height"][I],k=["clientWidth","clientHeight"][I],B=["paddingLeft","paddingTop"][I],P=["paddingRight","paddingBottom"][I];if(N[F]!=null&&N[F]!=="auto")return parseFloat(N[F]);var K=this.root,R=document.defaultView.getComputedStyle(K);return(K[k]||s(R[F])||s(K.style[F]))-(s(R[B])||0)-(s(R[P])||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 I=encodeURIComponent(this._svgDom.outerHTML.replace(/></g,`>
\r<`));return"data:image/svg+xml;charset=UTF-8,"+I}};function L(C){return function(){m('In SVG mode painter not support method "'+C+'"')}}y.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(C){T.prototype[C]=L(C)});var x=T;D.exports=x},"3Fdi":function(D,_){var e=Function.prototype,g=e.toString;function f(y){if(y!=null){try{return g.call(y)}catch(m){}try{return y+""}catch(m){}}return""}D.exports=f},"3LNs":function(D,_,e){var g=e("bYtY"),f=e("Yl7c"),y=e("IwbS"),m=e("zTMp"),v=e("YH21"),h=e("iLNv"),c=e("4NO4"),a=c.makeInner,i=a(),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(w,b,E,A){var S=b.get("value"),T=b.get("status");if(this._axisModel=w,this._axisPointerModel=b,this._api=E,!A&&this._lastValue===S&&this._lastStatus===T)return;this._lastValue=S,this._lastStatus=T;var L=this._group,x=this._handle;if(!T||T==="hide"){L&&L.hide(),x&&x.hide();return}L&&L.show(),x&&x.show();var C={};this.makeElOption(C,S,w,b,E);var I=C.graphicKey;I!==this._lastGraphicKey&&this.clear(E),this._lastGraphicKey=I;var N=this._moveAnimation=this.determineAnimation(w,b);if(!L)L=this._group=new y.Group,this.createPointerEl(L,C,w,b),this.createLabelEl(L,C,w,b),E.getZr().add(L);else{var F=g.curry(n,b,N);this.updatePointerEl(L,C,F,b),this.updateLabelEl(L,C,F,b)}u(L,b,!0),this._renderHandle(S)},remove:function(w){this.clear(w)},dispose:function(w){this.clear(w)},determineAnimation:function(w,b){var E=b.get("animation"),A=w.axis,S=A.type==="category",T=b.get("snap");if(!T&&!S)return!1;if(E==="auto"||E==null){var L=this.animationThreshold;if(S&&A.getBandWidth()>L)return!0;if(T){var x=m.getAxisInfo(w).seriesDataCount,C=A.getExtent();return Math.abs(C[0]-C[1])/x>L}return!1}return E===!0},makeElOption:function(w,b,E,A,S){},createPointerEl:function(w,b,E,A){var S=b.pointer;if(S){var T=i(w).pointerEl=new y[S.type](r(b.pointer));w.add(T)}},createLabelEl:function(w,b,E,A){if(b.label){var S=i(w).labelEl=new y.Rect(r(b.label));w.add(S),t(S,A)}},updatePointerEl:function(w,b,E){var A=i(w).pointerEl;A&&b.pointer&&(A.setStyle(b.pointer.style),E(A,{shape:b.pointer.shape}))},updateLabelEl:function(w,b,E,A){var S=i(w).labelEl;S&&(S.setStyle(b.label.style),E(S,{shape:b.label.shape,position:b.label.position}),t(S,A))},_renderHandle:function(w){if(this._dragging||!this.updateHandleTransform)return;var b=this._axisPointerModel,E=this._api.getZr(),A=this._handle,S=b.getModel("handle"),T=b.get("status");if(!S.get("show")||!T||T==="hide"){A&&E.remove(A),this._handle=null;return}var L;this._handle||(L=!0,A=this._handle=y.createIcon(S.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(I){v.stop(I.event)},onmousedown:o(this._onHandleDragMove,this,0,0),drift:o(this._onHandleDragMove,this),ondragend:o(this._onHandleDragEnd,this)}),E.add(A)),u(A,b,!1);var x=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];A.setStyle(S.getItemStyle(null,x));var C=S.get("size");g.isArray(C)||(C=[C,C]),A.attr("scale",[C[0]/2,C[1]/2]),h.createOrUpdate(this,"_doDispatchAxisPointer",S.get("throttle")||0,"fixRate"),this._moveHandleToValue(w,L)},_moveHandleToValue:function(w,b){n(this._axisPointerModel,!b&&this._moveAnimation,this._handle,s(this.getHandleTransform(w,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(w,b){var E=this._handle;if(!E)return;this._dragging=!0;var A=this.updateHandleTransform(s(E),[w,b],this._axisModel,this._axisPointerModel);this._payloadInfo=A,E.stopAnimation(),E.attr(s(A)),i(E).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var w=this._handle;if(!w)return;var b=this._payloadInfo,E=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:b.cursorPoint[0],y:b.cursorPoint[1],tooltipOption:b.tooltipOption,axesInfo:[{axisDim:E.axis.dim,axisIndex:E.componentIndex}]})},_onHandleDragEnd:function(w){this._dragging=!1;var b=this._handle;if(!b)return;var E=this._axisPointerModel.get("value");this._moveHandleToValue(E),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(w){this._lastValue=null,this._lastStatus=null;var b=w.getZr(),E=this._group,A=this._handle;b&&E&&(this._lastGraphicKey=null,E&&b.remove(E),A&&b.remove(A),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(w,b,E){return E=E||0,{x:w[E],y:w[1-E],width:b[E],height:b[1-E]}}},d.prototype.constructor=d;function n(w,b,E,A){l(i(E).lastProp,A)||(i(E).lastProp=A,b?y.updateProps(E,A,w):(E.stopAnimation(),E.attr(A)))}function l(w,b){if(g.isObject(w)&&g.isObject(b)){var E=!0;return g.each(b,function(A,S){E=E&&l(w[S],A)}),!!E}else return w===b}function t(w,b){w[b.get("label.show")?"show":"hide"]()}function s(w){return{position:w.position.slice(),rotation:w.rotation||0}}function u(w,b,E){var A=b.get("z"),S=b.get("zlevel");w&&w.traverse(function(T){T.type!=="group"&&(A!=null&&(T.z=A),S!=null&&(T.zlevel=S),T.silent=E)})}f.enableClassExtend(d);var p=d;D.exports=p},"3OrL":function(D,_,e){var g=e("bYtY"),f=e("6Ic6"),y=e("IwbS"),m=e("y+Vt"),v=["itemStyle"],h=["emphasis","itemStyle"],c=f.extend({type:"boxplot",render:function(n,l,t){var s=n.getData(),u=this.group,p=this._data;this._data||u.removeAll();var w=n.get("layout")==="horizontal"?1:0;s.diff(p).add(function(b){if(s.hasValue(b)){var E=s.getItemLayout(b),A=i(E,s,b,w,!0);s.setItemGraphicEl(b,A),u.add(A)}}).update(function(b,E){var A=p.getItemGraphicEl(E);if(!s.hasValue(b)){u.remove(A);return}var S=s.getItemLayout(b);A?r(S,A,s,b):A=i(S,s,b,w),u.add(A),s.setItemGraphicEl(b,A)}).remove(function(b){var E=p.getItemGraphicEl(b);E&&u.remove(E)}).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}),a=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 i(n,l,t,s,u){var p=n.ends,w=new a({shape:{points:u?o(p,s,n):p}});return r(n,w,l,t,u),w}function r(n,l,t,s,u){var p=t.hostModel,w=y[u?"initProps":"updateProps"];w(l,{shape:{points:n.ends}},p,s);var b=t.getItemModel(s),E=b.getModel(v),A=t.getItemVisual(s,"color"),S=E.getItemStyle(["borderColor"]);S.stroke=A,S.strokeNoScale=!0,l.useStyle(S),l.z2=100;var T=b.getModel(h).getItemStyle();y.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=c;D.exports=d},"3S7+":function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("J4zp"),m=e.n(y),v=e("pVnL"),h=e.n(v),c=e("q1tI"),a=e.n(c),i=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(z){var G=z.overlay,Z=z.prefixCls,ge=z.id,Q=z.overlayInnerStyle;return a.a.createElement("div",{className:"".concat(Z,"-inner"),id:ge,role:"tooltip",style:Q},typeof G=="function"?G():G)},t=l;function s(X){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(G){return typeof G}:s=function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},s(X)}function u(X,z){var G=Object.keys(X);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(X);z&&(Z=Z.filter(function(ge){return Object.getOwnPropertyDescriptor(X,ge).enumerable})),G.push.apply(G,Z)}return G}function p(X){for(var z=1;z<arguments.length;z++){var G=arguments[z]!=null?arguments[z]:{};z%2?u(Object(G),!0).forEach(function(Z){w(X,Z,G[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(X,Object.getOwnPropertyDescriptors(G)):u(Object(G)).forEach(function(Z){Object.defineProperty(X,Z,Object.getOwnPropertyDescriptor(G,Z))})}return X}function w(X,z,G){return z in X?Object.defineProperty(X,z,{value:G,enumerable:!0,configurable:!0,writable:!0}):X[z]=G,X}function b(X,z){if(X==null)return{};var G=E(X,z),Z,ge;if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(X);for(ge=0;ge<Q.length;ge++){if(Z=Q[ge],z.indexOf(Z)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(X,Z))continue;G[Z]=X[Z]}}return G}function E(X,z){if(X==null)return{};var G={},Z=Object.keys(X),ge,Q;for(Q=0;Q<Z.length;Q++){if(ge=Z[Q],z.indexOf(ge)>=0)continue;G[ge]=X[ge]}return G}var A=function(z,G){var Z=z.overlayClassName,ge=z.trigger,Q=ge===void 0?["hover"]:ge,we=z.mouseEnterDelay,Ee=we===void 0?0:we,Ae=z.mouseLeaveDelay,Pe=Ae===void 0?.1:Ae,Ge=z.overlayStyle,gt=z.prefixCls,_e=gt===void 0?"rc-tooltip":gt,Ce=z.children,lt=z.onVisibleChange,ce=z.afterVisibleChange,Y=z.transitionName,V=z.animation,$=z.placement,Te=$===void 0?"right":$,ye=z.align,Fe=ye===void 0?{}:ye,Oe=z.destroyTooltipOnHide,se=Oe===void 0?!1:Oe,fe=z.defaultVisible,Le=z.getTooltipContainer,Je=z.overlayInnerStyle,mt=b(z,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),Ct=Object(c.useRef)(null);Object(c.useImperativeHandle)(G,function(){return Ct.current});var Ue=p({},mt);"visible"in z&&(Ue.popupVisible=z.visible);var Rt=function(){var rt=z.arrowContent,st=rt===void 0?null:rt,Ve=z.overlay,oe=z.id;return[a.a.createElement("div",{className:"".concat(_e,"-arrow"),key:"arrow"},st),a.a.createElement(t,{key:"content",prefixCls:_e,id:oe,overlay:Ve,overlayInnerStyle:Je})]},Ke=!1,wt=!1;if(typeof se=="boolean")Ke=se;else if(se&&s(se)==="object"){var Ye=se.keepParent;Ke=Ye===!0,wt=Ye===!1}return a.a.createElement(i.a,Object.assign({popupClassName:Z,prefixCls:_e,popup:Rt,action:Q,builtinPlacements:d,popupPlacement:Te,ref:Ct,popupAlign:Fe,getPopupContainer:Le,onPopupVisibleChange:lt,afterPopupVisibleChange:ce,popupTransitionName:Y,popupAnimation:V,defaultPopupVisible:fe,destroyPopupOnHide:Ke,autoDestroy:wt,mouseLeaveDelay:Pe,popupStyle:Ge,mouseEnterDelay:Ee},Ue),Ce)},S=Object(c.forwardRef)(A),T=S,L=e("TSYQ"),x=e.n(L),C={adjustX:1,adjustY:1},I={adjustX:0,adjustY:0},N=[0,0];function F(X){return typeof X=="boolean"?X?C:I:h()(h()({},I),X)}function k(X){var z=X.arrowWidth,G=z===void 0?5:z,Z=X.horizontalArrowShift,ge=Z===void 0?16:Z,Q=X.verticalArrowShift,we=Q===void 0?8:Q,Ee=X.autoAdjustOverflow,Ae={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:[-(ge+G),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(we+G)]},topRight:{points:["br","tc"],offset:[ge+G,-4]},rightTop:{points:["tl","cr"],offset:[4,-(we+G)]},bottomRight:{points:["tr","bc"],offset:[ge+G,4]},rightBottom:{points:["bl","cr"],offset:[4,we+G]},bottomLeft:{points:["tl","bc"],offset:[-(ge+G),4]},leftBottom:{points:["br","cl"],offset:[-4,we+G]}};return Object.keys(Ae).forEach(function(Pe){Ae[Pe]=X.arrowPointAtCenter?h()(h()({},Ae[Pe]),{overflow:F(Ee),targetOffset:N}):h()(h()({},d[Pe]),{overflow:F(Ee)}),Ae[Pe].ignoreShake=!0}),Ae}var B=e("0n0R"),P=e("H84U"),K=e("09Wf"),R=function(z,G){var Z={},ge=h()({},z);return G.forEach(function(Q){z&&Q in z&&(Z[Q]=z[Q],delete ge[Q])}),{picked:Z,omitted:ge}},U=new RegExp("^(".concat(K.a.join("|"),")(-inverse)?$"));function j(X,z){var G=X.type;if((G.__ANT_BUTTON===!0||G.__ANT_SWITCH===!0||G.__ANT_CHECKBOX===!0||X.type==="button")&&X.props.disabled){var Z=R(X.props.style,["position","left","right","top","bottom","float","display","zIndex"]),ge=Z.picked,Q=Z.omitted,we=h()(h()({display:"inline-block"},ge),{cursor:"not-allowed",width:X.props.block?"100%":null}),Ee=h()(h()({},Q),{pointerEvents:"none"}),Ae=Object(B.a)(X,{style:Ee,className:null});return c.createElement("span",{style:we,className:x()(X.props.className,"".concat(z,"-disabled-compatible-wrapper"))},Ae)}return X}var H=c.forwardRef(function(X,z){var G,Z=c.useContext(P.b),ge=Z.getPopupContainer,Q=Z.getPrefixCls,we=Z.direction,Ee=c.useState(!!X.visible||!!X.defaultVisible),Ae=m()(Ee,2),Pe=Ae[0],Ge=Ae[1];c.useEffect(function(){"visible"in X&&Ge(X.visible)},[X.visible]);var gt=function(){var Ye=X.title,et=X.overlay;return!Ye&&!et&&Ye!==0},_e=function(Ye){"visible"in X||Ge(gt()?!1:Ye),X.onVisibleChange&&!gt()&&X.onVisibleChange(Ye)},Ce=function(){var Ye=X.builtinPlacements,et=X.arrowPointAtCenter,rt=X.autoAdjustOverflow;return Ye||k({arrowPointAtCenter:et,autoAdjustOverflow:rt})},lt=function(Ye,et){var rt=Ce(),st=Object.keys(rt).filter(function(re){return rt[re].points[0]===et.points[0]&&rt[re].points[1]===et.points[1]})[0];if(!st)return;var Ve=Ye.getBoundingClientRect(),oe={top:"50%",left:"50%"};st.indexOf("top")>=0||st.indexOf("Bottom")>=0?oe.top="".concat(Ve.height-et.offset[1],"px"):(st.indexOf("Top")>=0||st.indexOf("bottom")>=0)&&(oe.top="".concat(-et.offset[1],"px")),st.indexOf("left")>=0||st.indexOf("Right")>=0?oe.left="".concat(Ve.width-et.offset[0],"px"):(st.indexOf("right")>=0||st.indexOf("Left")>=0)&&(oe.left="".concat(-et.offset[0],"px")),Ye.style.transformOrigin="".concat(oe.left," ").concat(oe.top)},ce=function(){var Ye=X.title,et=X.overlay;return Ye===0?Ye:et||Ye||""},Y=X.prefixCls,V=X.openClassName,$=X.getPopupContainer,Te=X.getTooltipContainer,ye=X.overlayClassName,Fe=X.color,Oe=X.overlayInnerStyle,se=X.children,fe=Q("tooltip",Y),Le=Pe;!("visible"in X)&&gt()&&(Le=!1);var Je=j(Object(B.b)(se)?se:c.createElement("span",null,se),fe),mt=Je.props,Ct=x()(mt.className,f()({},V||"".concat(fe,"-open"),!0)),Ue=x()(ye,(G={},f()(G,"".concat(fe,"-rtl"),we==="rtl"),f()(G,"".concat(fe,"-").concat(Fe),Fe&&U.test(Fe)),G)),Rt,Ke;return Fe&&!U.test(Fe)&&(Rt=h()(h()({},Oe),{background:Fe}),Ke={background:Fe}),c.createElement(T,h()({},X,{prefixCls:fe,overlayClassName:Ue,getTooltipContainer:$||Te||ge,ref:z,builtinPlacements:Ce(),overlay:ce(),visible:Le,onVisibleChange:_e,onPopupAlign:lt,overlayInnerStyle:Rt,arrowContent:c.createElement("span",{className:"".concat(fe,"-arrow-content"),style:Ke})}),Le?Object(B.a)(Je,{className:Ct}):Je)});H.displayName="Tooltip",H.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var W=_.a=H},"3TkU":function(D,_,e){e("aTJb"),e("OlYY"),e("fc+c"),e("QUw5"),e("Swgg"),e("LBfv"),e("noeP")},"3X6L":function(D,_,e){var g=e("bYtY"),f=e("7a+S"),y=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,y);var v=m;D.exports=v},"3e3G":function(D,_,e){var g=e("bYtY"),f=e("QuXc"),y=function(h,c,a,i,r){this.x=h==null?.5:h,this.y=c==null?.5:c,this.r=a==null?.5:a,this.type="radial",this.global=r||!1,f.call(this,i)};y.prototype={constructor:y},g.inherits(y,f);var m=y;D.exports=m},"3gBT":function(D,_){var e=2311;function g(){return e++}D.exports=g},"3hzK":function(D,_){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")}}};D.exports=e},"3m61":function(D,_){function e(f){return f instanceof Array||(f=[f,f]),f}function g(f){f.eachSeriesByType("graph",function(y){var m=y.getGraph(),v=y.getEdgeData(),h=e(y.get("edgeSymbol")),c=e(y.get("edgeSymbolSize")),a="lineStyle.color".split("."),i="lineStyle.opacity".split(".");v.setVisual("fromSymbol",h&&h[0]),v.setVisual("toSymbol",h&&h[1]),v.setVisual("fromSymbolSize",c&&c[0]),v.setVisual("toSymbolSize",c&&c[1]),v.setVisual("color",y.get(a)),v.setVisual("opacity",y.get(i)),v.each(function(r){var o=v.getItemModel(r),d=m.getEdgeByIndex(r),n=e(o.getShallow("symbol",!0)),l=e(o.getShallow("symbolSize",!0)),t=o.get(a),s=o.get(i);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)})})}D.exports=g},"3ouR":function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="CloseSquareOutlined";var h=_.a=g.forwardRef(v)},"3zoK":function(D,_,e){var g=e("bYtY"),f=e("bLfw"),y=e("KCsZ"),m=e("nkfE"),v=e("OELB"),h=e("ICMv"),c=f.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return y([["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--)v.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"}}),a={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(c.prototype,h);function i(o,d){return d.type||(d.data?"category":"value")}m("parallel",c,i,a);var r=c;D.exports=r},"49sm":function(D,_){var e={}.toString;D.exports=Array.isArray||function(g){return e.call(g)=="[object Array]"}},"4Feb":function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=e("IwbS"),v=e("x3X8"),h=v.getDefaultLabel,c=e("MwEJ"),a=e("nVfU"),i=a.getLayoutOnAxis,r=e("gPAo"),o=e("T4UG"),d=e("Qxkt"),n=e("6Ic6"),l=e("sK/D"),t=l.createClipPath,s=e("qj72"),u=e("ANjR"),p=e("MHtr"),w=e("6usn"),b=e("Rx6q"),E=m.CACHED_LABEL_STYLE_PROPERTIES,A=["itemStyle"],S=["emphasis","itemStyle"],T=["label"],L=["emphasis","label"],x="e\0\0",C={cartesian2d:s,geo:u,singleAxis:p,polar:w,calendar:b};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(Q,we){return c(this.getSource(),this)},getDataParams:function(Q,we,Ee){var Ae=o.prototype.getDataParams.apply(this,arguments);return Ee&&(Ae.info=Ee.info),Ae}}),n.extend({type:"custom",_data:null,render:function(Q,we,Ee,Ae){var Pe=this._data,Ge=Q.getData(),gt=this.group,_e=k(Q,Ge,we,Ee);Ge.diff(Pe).add(function(lt){P(null,lt,_e(lt,Ae),Q,gt,Ge)}).update(function(lt,ce){var Y=Pe.getItemGraphicEl(ce);P(Y,lt,_e(lt,Ae),Q,gt,Ge)}).remove(function(lt){var ce=Pe.getItemGraphicEl(lt);ce&&gt.remove(ce)}).execute();var Ce=Q.get("clip",!0)?t(Q.coordinateSystem,!1,Q):null;Ce?gt.setClipPath(Ce):gt.removeClipPath(),this._data=Ge},incrementalPrepareRender:function(Q,we,Ee){this.group.removeAll(),this._data=null},incrementalRender:function(Q,we,Ee,Ae,Pe){var Ge=we.getData(),gt=k(we,Ge,Ee,Ae);function _e(ce){ce.isGroup||(ce.incremental=!0,ce.useHoverLayer=!0)}for(var Ce=Q.start;Ce<Q.end;Ce++){var lt=P(null,Ce,gt(Ce,Pe),we,this.group,Ge);lt.traverse(_e)}},dispose:y.noop,filterForExposedEvent:function(Q,we,Ee,Ae){var Pe=we.element;if(Pe==null||Ee.name===Pe)return!0;for(;(Ee=Ee.parent)&&Ee!==this.group;)if(Ee.name===Pe)return!0;return!1}});function I(Q){var we=Q.type,Ee;if(we==="path"){var Ae=Q.shape,Pe=Ae.width!=null&&Ae.height!=null?{x:Ae.x||0,y:Ae.y||0,width:Ae.width,height:Ae.height}:null,Ge=G(Ae);Ee=m.makePath(Ge,null,Pe,Ae.layout||"center"),Ee.__customPathData=Ge}else if(we==="image")Ee=new m.Image({}),Ee.__customImagePath=Q.style.image;else if(we==="text")Ee=new m.Text({}),Ee.__customText=Q.style.text;else if(we==="group")Ee=new m.Group;else{if(we==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var gt=m.getShapeClass(we);Ee=new gt}return Ee.__customGraphicType=we,Ee.name=Q.name,Ee}function N(Q,we,Ee,Ae,Pe,Ge,gt){var _e={},Ce=Ee.style||{};if(Ee.shape&&(_e.shape=y.clone(Ee.shape)),Ee.position&&(_e.position=Ee.position.slice()),Ee.scale&&(_e.scale=Ee.scale.slice()),Ee.origin&&(_e.origin=Ee.origin.slice()),Ee.rotation&&(_e.rotation=Ee.rotation),Q.type==="image"&&Ee.style){var lt=_e.style={};y.each(["x","y","width","height"],function(V){F(V,lt,Ce,Q.style,Ge)})}if(Q.type==="text"&&Ee.style){var lt=_e.style={};y.each(["x","y"],function($){F($,lt,Ce,Q.style,Ge)}),!Ce.hasOwnProperty("textFill")&&Ce.fill&&(Ce.textFill=Ce.fill),!Ce.hasOwnProperty("textStroke")&&Ce.stroke&&(Ce.textStroke=Ce.stroke)}if(Q.type!=="group"&&(Q.useStyle(Ce),Ge)){Q.style.opacity=0;var ce=Ce.opacity;ce==null&&(ce=1),m.initProps(Q,{style:{opacity:ce}},Ae,we)}Ge?Q.attr(_e):m.updateProps(Q,_e,Ae,we),Ee.hasOwnProperty("z2")&&Q.attr("z2",Ee.z2||0),Ee.hasOwnProperty("silent")&&Q.attr("silent",Ee.silent),Ee.hasOwnProperty("invisible")&&Q.attr("invisible",Ee.invisible),Ee.hasOwnProperty("ignore")&&Q.attr("ignore",Ee.ignore),Ee.hasOwnProperty("info")&&Q.attr("info",Ee.info);var Y=Ee.styleEmphasis;m.setElementHoverStyle(Q,Y),gt&&m.setAsHighDownDispatcher(Q,Y!==!1)}function F(Q,we,Ee,Ae,Pe){Ee[Q]!=null&&!Pe&&(we[Q]=Ee[Q],Ee[Q]=Ae[Q])}function k(Q,we,Ee,Ae){var Pe=Q.get("renderItem"),Ge=Q.coordinateSystem,gt={};Ge&&(gt=Ge.prepareCustoms?Ge.prepareCustoms():C[Ge.type](Ge));var _e=y.defaults({getWidth:Ae.getWidth,getHeight:Ae.getHeight,getZr:Ae.getZr,getDevicePixelRatio:Ae.getDevicePixelRatio,value:Fe,style:Oe,styleEmphasis:se,visual:fe,barLayout:Le,currentSeriesIndices:Je,font:mt},gt.api||{}),Ce={context:{},seriesId:Q.id,seriesName:Q.name,seriesIndex:Q.seriesIndex,coordSys:gt.coordSys,dataInsideLength:we.count(),encode:B(Q.getData())},lt,ce=!0,Y,V,$,Te;return function(Ct,Ue){return lt=Ct,ce=!0,Pe&&Pe(y.defaults({dataIndexInside:Ct,dataIndex:we.getRawIndex(Ct),actionType:Ue?Ue.type:null},Ce),_e)};function ye(Ct){Ct==null&&(Ct=lt),ce&&(Y=we.getItemModel(Ct),V=Y.getModel(T),$=Y.getModel(L),Te=we.getItemVisual(Ct,"color"),ce=!1)}function Fe(Ct,Ue){return Ue==null&&(Ue=lt),we.get(we.getDimension(Ct||0),Ue)}function Oe(Ct,Ue){Ue==null&&(Ue=lt),ye(Ue);var Rt=Y.getModel(A).getItemStyle();Te!=null&&(Rt.fill=Te);var Ke=we.getItemVisual(Ue,"opacity");Ke!=null&&(Rt.opacity=Ke);var wt=Ct?W(Ct,V):V;return m.setTextStyle(Rt,wt,null,{autoColor:Te,isRectText:!0}),Rt.text=wt.getShallow("show")?y.retrieve2(Q.getFormattedLabel(Ue,"normal"),h(we,Ue)):null,Ct&&X(Rt,Ct),Rt}function se(Ct,Ue){Ue==null&&(Ue=lt),ye(Ue);var Rt=Y.getModel(S).getItemStyle(),Ke=Ct?W(Ct,$):$;return m.setTextStyle(Rt,Ke,null,{isRectText:!0},!0),Rt.text=Ke.getShallow("show")?y.retrieve3(Q.getFormattedLabel(Ue,"emphasis"),Q.getFormattedLabel(Ue,"normal"),h(we,Ue)):null,Ct&&X(Rt,Ct),Rt}function fe(Ct,Ue){return Ue==null&&(Ue=lt),we.getItemVisual(Ue,Ct)}function Le(Ct){if(Ge.getBaseAxis){var Ue=Ge.getBaseAxis();return i(y.defaults({axis:Ue},Ct),Ae)}}function Je(){return Ee.getCurrentSeriesIndices()}function mt(Ct){return m.getFont(Ct,Ee)}}function B(Q){var we={};return y.each(Q.dimensions,function(Ee,Ae){var Pe=Q.getDimensionInfo(Ee);if(!Pe.isExtraCoord){var Ge=Pe.coordDim,gt=we[Ge]=we[Ge]||[];gt[Pe.coordDimIndex]=Ae}}),we}function P(Q,we,Ee,Ae,Pe,Ge){return Q=K(Q,we,Ee,Ae,Pe,Ge,!0),Q&&Ge.setItemGraphicEl(we,Q),Q}function K(Q,we,Ee,Ae,Pe,Ge,gt){var _e=!Ee;Ee=Ee||{};var Ce=Ee.type,lt=Ee.shape,ce=Ee.style;if(Q&&(_e||Ce!=null&&Ce!==Q.__customGraphicType||Ce==="path"&&Z(lt)&&G(lt)!==Q.__customPathData||Ce==="image"&&ge(ce,"image")&&ce.image!==Q.__customImagePath||Ce==="text"&&ge(lt,"text")&&ce.text!==Q.__customText)&&(Pe.remove(Q),Q=null),_e)return;var Y=!Q;return!Q&&(Q=I(Ee)),N(Q,we,Ee,Ae,Ge,Y,gt),Ce==="group"&&R(Q,we,Ee,Ae,Ge),Pe.add(Q),Q}function R(Q,we,Ee,Ae,Pe){var Ge=Ee.children,gt=Ge?Ge.length:0,_e=Ee.$mergeChildren,Ce=_e==="byName"||Ee.diffChildrenByName,lt=_e===!1;if(!gt&&!Ce&&!lt)return;if(Ce){U({oldChildren:Q.children()||[],newChildren:Ge||[],dataIndex:we,animatableModel:Ae,group:Q,data:Pe});return}lt&&Q.removeAll();for(var ce=0;ce<gt;ce++)Ge[ce]&&K(Q.childAt(ce),we,Ge[ce],Ae,Q,Pe)}function U(Q){new r(Q.oldChildren,Q.newChildren,j,j,Q).add(H).update(H).remove(z).execute()}function j(Q,we){var Ee=Q&&Q.name;return Ee!=null?Ee:x+we}function H(Q,we){var Ee=this.context,Ae=Q!=null?Ee.newChildren[Q]:null,Pe=we!=null?Ee.oldChildren[we]:null;K(Pe,Ee.dataIndex,Ae,Ee.animatableModel,Ee.group,Ee.data)}function W(Q,we){var Ee=new d({},we);return y.each(E,function(Ae,Pe){Q.hasOwnProperty(Ae)&&(Ee.option[Pe]=Q[Ae])}),Ee}function X(Q,we){for(var Ee in we)(we.hasOwnProperty(Ee)||!E.hasOwnProperty(Ee))&&(Q[Ee]=we[Ee])}function z(Q){var we=this.context,Ee=we.oldChildren[Q];Ee&&we.group.remove(Ee)}function G(Q){return Q&&(Q.pathData||Q.d)}function Z(Q){return Q&&(Q.hasOwnProperty("pathData")||Q.hasOwnProperty("d"))}function ge(Q,we){return Q&&Q.hasOwnProperty(we)}},"4HMb":function(D,_,e){var g=e("bYtY"),f=e("6GrX"),y=e("4NO4"),m=y.makeInner,v=e("aX7z"),h=v.makeLabelFormatter,c=v.getOptionCategoryInterval,a=v.shouldShowAllLabels,i=m();function r(T){return T.type==="category"?d(T):t(T)}function o(T,L){return T.type==="category"?l(T,L):{ticks:T.scale.getTicks()}}function d(T){var L=T.getLabelModel(),x=n(T,L);return!L.get("show")||T.scale.isBlank()?{labels:[],labelCategoryInterval:x.labelCategoryInterval}:x}function n(T,L){var x=s(T,"labels"),C=c(L),I=u(x,C);if(I)return I;var N,F;return g.isFunction(C)?N=S(T,C):(F=C==="auto"?w(T):C,N=A(T,F)),p(x,C,{labels:N,labelCategoryInterval:F})}function l(T,L){var x=s(T,"ticks"),C=c(L),I=u(x,C);if(I)return I;var N,F;if((!L.get("show")||T.scale.isBlank())&&(N=[]),g.isFunction(C))N=S(T,C,!0);else if(C==="auto"){var k=n(T,T.getLabelModel());F=k.labelCategoryInterval,N=g.map(k.labels,function(B){return B.tickValue})}else F=C,N=A(T,F,!0);return p(x,C,{ticks:N,tickCategoryInterval:F})}function t(T){var L=T.scale.getTicks(),x=h(T);return{labels:g.map(L,function(C,I){return{formattedLabel:x(C,I),rawLabel:T.scale.getLabel(C),tickValue:C}})}}function s(T,L){return i(T)[L]||(i(T)[L]=[])}function u(T,L){for(var x=0;x<T.length;x++)if(T[x].key===L)return T[x].value}function p(T,L,x){return T.push({key:L,value:x}),x}function w(T){var L=i(T).autoInterval;return L!=null?L:i(T).autoInterval=T.calculateCategoryInterval()}function b(T){var L=E(T),x=h(T),C=(L.axisRotate-L.labelRotate)/180*Math.PI,I=T.scale,N=I.getExtent(),F=I.count();if(N[1]-N[0]<1)return 0;var k=1;F>40&&(k=Math.max(1,Math.floor(F/40)));for(var B=N[0],P=T.dataToCoord(B+1)-T.dataToCoord(B),K=Math.abs(P*Math.cos(C)),R=Math.abs(P*Math.sin(C)),U=0,j=0;B<=N[1];B+=k){var H=0,W=0,X=f.getBoundingRect(x(B),L.font,"center","top");H=X.width*1.3,W=X.height*1.3,U=Math.max(U,H,7),j=Math.max(j,W,7)}var z=U/K,G=j/R;isNaN(z)&&(z=Infinity),isNaN(G)&&(G=Infinity);var Z=Math.max(0,Math.floor(Math.min(z,G))),ge=i(T.model),Q=T.getExtent(),we=ge.lastAutoInterval,Ee=ge.lastTickCount;return we!=null&&Ee!=null&&Math.abs(we-Z)<=1&&Math.abs(Ee-F)<=1&&we>Z&&ge.axisExtend0===Q[0]&&ge.axisExtend1===Q[1]?Z=we:(ge.lastTickCount=F,ge.lastAutoInterval=Z,ge.axisExtend0=Q[0],ge.axisExtend1=Q[1]),Z}function E(T){var L=T.getLabelModel();return{axisRotate:T.getRotate?T.getRotate():T.isHorizontal&&!T.isHorizontal()?90:0,labelRotate:L.get("rotate")||0,font:L.getFont()}}function A(T,L,x){var C=h(T),I=T.scale,N=I.getExtent(),F=T.getLabelModel(),k=[],B=Math.max((L||0)+1,1),P=N[0],K=I.count();P!==0&&B>1&&K/B>2&&(P=Math.round(Math.ceil(P/B)*B));var R=a(T),U=F.get("showMinLabel")||R,j=F.get("showMaxLabel")||R;U&&P!==N[0]&&W(N[0]);for(var H=P;H<=N[1];H+=B)W(H);j&&H-B!==N[1]&&W(N[1]);function W(X){k.push(x?X:{formattedLabel:C(X),rawLabel:I.getLabel(X),tickValue:X})}return k}function S(T,L,x){var C=T.scale,I=h(T),N=[];return g.each(C.getTicks(),function(F){var k=C.getLabel(F);L(F,k)&&N.push(x?F:{formattedLabel:I(F),rawLabel:k,tickValue:F})}),N}_.createAxisLabels=r,_.createAxisTicks=o,_.calculateCategoryInterval=b},"4NO4":function(D,_,e){var g=e("bYtY"),f=e("ItGF"),y=g.each,m=g.isObject,v=g.isArray,h="series\0";function c(x){return x instanceof Array?x:x==null?[]:[x]}function a(x,C,I){if(x){x[C]=x[C]||{},x.emphasis=x.emphasis||{},x.emphasis[C]=x.emphasis[C]||{};for(var N=0,F=I.length;N<F;N++){var k=I[N];!x.emphasis[C].hasOwnProperty(k)&&x[C].hasOwnProperty(k)&&(x.emphasis[C][k]=x[C][k])}}}var i=["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(x){return m(x)&&!v(x)&&!(x instanceof Date)?x.value:x}function o(x){return m(x)&&!(x instanceof Array)}function d(x,C){C=(C||[]).slice();var I=g.map(x||[],function(N,F){return{exist:N}});return y(C,function(N,F){if(!m(N))return;for(var k=0;k<I.length;k++)if(!I[k].option&&N.id!=null&&I[k].exist.id===N.id+""){I[k].option=N,C[F]=null;return}for(var k=0;k<I.length;k++){var B=I[k].exist;if(!I[k].option&&(B.id==null||N.id==null)&&N.name!=null&&!t(N)&&!t(B)&&B.name===N.name+""){I[k].option=N,C[F]=null;return}}}),y(C,function(N,F){if(!m(N))return;for(var k=0;k<I.length;k++){var B=I[k].exist;if(!I[k].option&&!t(B)&&N.id==null){I[k].option=N;break}}k>=I.length&&I.push({option:N})}),I}function n(x){var C=g.createHashMap();y(x,function(I,N){var F=I.exist;F&&C.set(F.id,I)}),y(x,function(I,N){var F=I.option;g.assert(!F||F.id==null||!C.get(F.id)||C.get(F.id)===I,"id duplicates: "+(F&&F.id)),F&&F.id!=null&&C.set(F.id,I),!I.keyInfo&&(I.keyInfo={})}),y(x,function(I,N){var F=I.exist,k=I.option,B=I.keyInfo;if(!m(k))return;if(B.name=k.name!=null?k.name+"":F?F.name:h+N,F)B.id=F.id;else if(k.id!=null)B.id=k.id+"";else{var P=0;do B.id="\0"+B.name+"\0"+P++;while(C.get(B.id))}C.set(B.id,I)})}function l(x){var C=x.name;return!!(C&&C.indexOf(h))}function t(x){return m(x)&&x.id&&(x.id+"").indexOf("\0_ec_\0")===0}function s(x,C){var I={},N={};return F(x||[],I),F(C||[],N,I),[k(I),k(N)];function F(B,P,K){for(var R=0,U=B.length;R<U;R++)for(var j=B[R].seriesId,H=c(B[R].dataIndex),W=K&&K[j],X=0,z=H.length;X<z;X++){var G=H[X];W&&W[G]?W[G]=null:(P[j]||(P[j]={}))[G]=1}}function k(B,P){var K=[];for(var R in B)if(B.hasOwnProperty(R)&&B[R]!=null)if(P)K.push(+R);else{var U=k(B[R],!0);U.length&&K.push({seriesId:R,dataIndex:U})}return K}}function u(x,C){if(C.dataIndexInside!=null)return C.dataIndexInside;if(C.dataIndex!=null)return g.isArray(C.dataIndex)?g.map(C.dataIndex,function(I){return x.indexOfRawIndex(I)}):x.indexOfRawIndex(C.dataIndex);if(C.name!=null)return g.isArray(C.name)?g.map(C.name,function(I){return x.indexOfName(I)}):x.indexOfName(C.name)}function p(){var x="__\0ec_inner_"+w+++"_"+Math.random().toFixed(5);return function(C){return C[x]||(C[x]={})}}var w=0;function b(x,C,I){if(g.isString(C)){var N={};N[C+"Index"]=0,C=N}var F=I&&I.defaultMainType;F&&!E(C,F+"Index")&&!E(C,F+"Id")&&!E(C,F+"Name")&&(C[F+"Index"]=0);var k={};return y(C,function(B,P){var B=C[P];if(P==="dataIndex"||P==="dataIndexInside"){k[P]=B;return}var K=P.match(/^(\w+)(Index|Id|Name)$/)||[],R=K[1],U=(K[2]||"").toLowerCase();if(!R||!U||B==null||U==="index"&&B==="none"||I&&I.includeMainTypes&&g.indexOf(I.includeMainTypes,R)<0)return;var j={mainType:R};(U!=="index"||B!=="all")&&(j[U]=B);var H=x.queryComponents(j);k[R+"Models"]=H,k[R+"Model"]=H[0]}),k}function E(x,C){return x&&x.hasOwnProperty(C)}function A(x,C,I){x.setAttribute?x.setAttribute(C,I):x[C]=I}function S(x,C){return x.getAttribute?x.getAttribute(C):x[C]}function T(x){return x==="auto"?f.domSupported?"html":"richText":x||"html"}function L(x,C){var I=g.createHashMap(),N=[];return g.each(x,function(F){var k=C(F);(I.get(k)||(N.push(k),I.set(k,[]))).push(F)}),{keys:N,buckets:I}}_.normalizeToArray=c,_.defaultEmphasis=a,_.TEXT_STYLE_OPTIONS=i,_.getDataItemValue=r,_.isDataItemOption=o,_.mappingToExists=d,_.makeIdAndName=n,_.isNameSpecified=l,_.isIdInner=t,_.compressBatches=s,_.queryDataIndex=u,_.makeInner=p,_.parseFinder=b,_.setAttribute=A,_.getAttribute=S,_.getTooltipRenderMode=T,_.groupData=L},"4NgU":function(D,_,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 v=this._extent;return m>=v[0]&&m<=v[1]},f.prototype.normalize=function(m){var v=this._extent;return v[1]===v[0]?.5:(m-v[0])/(v[1]-v[0])},f.prototype.scale=function(m){var v=this._extent;return m*(v[1]-v[0])+v[0]},f.prototype.unionExtent=function(m){var v=this._extent;m[0]<v[0]&&(v[0]=m[0]),m[1]>v[1]&&(v[1]=m[1])},f.prototype.unionExtentFromData=function(m,v){this.unionExtent(m.getApproximateExtent(v))},f.prototype.getExtent=function(){return this._extent.slice()},f.prototype.setExtent=function(m,v){var h=this._extent;isNaN(m)||(h[0]=m),isNaN(v)||(h[1]=v)},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 y=f;D.exports=y},"4fz+":function(D,_,e){var g=e("bYtY"),f=e("1bdT"),y=e("mFDi"),m=function(c){c=c||{},f.call(this,c);for(var a in c)c.hasOwnProperty(a)&&(this[a]=c[a]);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(c){return this._children[c]},childOfName:function(c){for(var a=this._children,i=0;i<a.length;i++)if(a[i].name===c)return a[i]},childCount:function(){return this._children.length},add:function(c){return c&&c!==this&&c.parent!==this&&(this._children.push(c),this._doAdd(c)),this},addBefore:function(c,a){if(c&&c!==this&&c.parent!==this&&a&&a.parent===this){var i=this._children,r=i.indexOf(a);r>=0&&(i.splice(r,0,c),this._doAdd(c))}return this},_doAdd:function(c){c.parent&&c.parent.remove(c),c.parent=this;var a=this.__storage,i=this.__zr;a&&a!==c.__storage&&(a.addToStorage(c),c instanceof m&&c.addChildrenToStorage(a)),i&&i.refresh()},remove:function(c){var a=this.__zr,i=this.__storage,r=this._children,o=g.indexOf(r,c);return o<0?this:(r.splice(o,1),c.parent=null,i&&(i.delFromStorage(c),c instanceof m&&c.delChildrenFromStorage(i)),a&&a.refresh(),this)},removeAll:function(){var c=this._children,a=this.__storage,i,r;for(r=0;r<c.length;r++)i=c[r],a&&(a.delFromStorage(i),i instanceof m&&i.delChildrenFromStorage(a)),i.parent=null;return c.length=0,this},eachChild:function(c,a){for(var i=this._children,r=0;r<i.length;r++){var o=i[r];c.call(a,o,r)}return this},traverse:function(c,a){for(var i=0;i<this._children.length;i++){var r=this._children[i];c.call(a,r),r.type==="group"&&r.traverse(c,a)}return this},addChildrenToStorage:function(c){for(var a=0;a<this._children.length;a++){var i=this._children[a];c.addToStorage(i),i instanceof m&&i.addChildrenToStorage(c)}},delChildrenFromStorage:function(c){for(var a=0;a<this._children.length;a++){var i=this._children[a];c.delFromStorage(i),i instanceof m&&i.delChildrenFromStorage(c)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(c){for(var a=null,i=new y(0,0,0,0),r=c||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?(i.copy(l),i.applyTransform(t),a=a||i.clone(),a.union(i)):(a=a||l.clone(),a.union(l))}return a||i}},g.inherits(m,f);var v=m;D.exports=v},"4i/N":function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="CloseOutlined";var h=_.a=g.forwardRef(v)},"4kuk":function(D,_,e){var g=e("SfRM"),f=e("Hvzi"),y=e("u8Dt"),m=e("ekgI"),v=e("JSQU");function h(c){var a=-1,i=c==null?0:c.length;for(this.clear();++a<i;){var r=c[a];this.set(r[0],r[1])}}h.prototype.clear=g,h.prototype.delete=f,h.prototype.get=y,h.prototype.has=m,h.prototype.set=v,D.exports=h},"4mN7":function(D,_,e){var g=e("QBsz"),f=e("Sj9i"),y=Math.min,m=Math.max,v=Math.sin,h=Math.cos,c=Math.PI*2,a=g.create(),i=g.create(),r=g.create();function o(p,w,b){if(p.length===0)return;var E=p[0],A=E[0],S=E[0],T=E[1],L=E[1],x;for(x=1;x<p.length;x++)E=p[x],A=y(A,E[0]),S=m(S,E[0]),T=y(T,E[1]),L=m(L,E[1]);w[0]=A,w[1]=T,b[0]=S,b[1]=L}function d(p,w,b,E,A,S){A[0]=y(p,b),A[1]=y(w,E),S[0]=m(p,b),S[1]=m(w,E)}var n=[],l=[];function t(p,w,b,E,A,S,T,L,x,C){var I=f.cubicExtrema,N=f.cubicAt,F,k=I(p,b,A,T,n);for(x[0]=Infinity,x[1]=Infinity,C[0]=-Infinity,C[1]=-Infinity,F=0;F<k;F++){var B=N(p,b,A,T,n[F]);x[0]=y(B,x[0]),C[0]=m(B,C[0])}for(k=I(w,E,S,L,l),F=0;F<k;F++){var P=N(w,E,S,L,l[F]);x[1]=y(P,x[1]),C[1]=m(P,C[1])}x[0]=y(p,x[0]),C[0]=m(p,C[0]),x[0]=y(T,x[0]),C[0]=m(T,C[0]),x[1]=y(w,x[1]),C[1]=m(w,C[1]),x[1]=y(L,x[1]),C[1]=m(L,C[1])}function s(p,w,b,E,A,S,T,L){var x=f.quadraticExtremum,C=f.quadraticAt,I=m(y(x(p,b,A),1),0),N=m(y(x(w,E,S),1),0),F=C(p,b,A,I),k=C(w,E,S,N);T[0]=y(p,A,F),T[1]=y(w,S,k),L[0]=m(p,A,F),L[1]=m(w,S,k)}function u(p,w,b,E,A,S,T,L,x){var C=g.min,I=g.max,N=Math.abs(A-S);if(N%c<1e-4&&N>1e-4){L[0]=p-b,L[1]=w-E,x[0]=p+b,x[1]=w+E;return}if(a[0]=h(A)*b+p,a[1]=v(A)*E+w,i[0]=h(S)*b+p,i[1]=v(S)*E+w,C(L,a,i),I(x,a,i),A=A%c,A<0&&(A=A+c),S=S%c,S<0&&(S=S+c),A>S&&!T?S+=c:A<S&&T&&(A+=c),T){var F=S;S=A,A=F}for(var k=0;k<S;k+=Math.PI/2)k>A&&(r[0]=h(k)*b+p,r[1]=v(k)*E+w,C(L,r,L),I(x,r,x))}_.fromPoints=o,_.fromLine=d,_.fromCubic=t,_.fromQuadratic=s,_.fromArc=u},"4vCz":function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("X2/X")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="PlusSquareOutlined";var c=y.forwardRef(h);_.default=c},"4xFK":function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},"56rv":function(D,_,e){var g=e("IwbS"),f=e("x3X8"),y=f.getDefaultLabel;function m(h,c,a,i,r,o,d){var n=a.getModel("label"),l=a.getModel("emphasis.label");g.setLabelStyle(h,c,n,l,{labelFetcher:r,labelDataIndex:o,defaultText:y(r.getData(),o),isRectText:!0,autoColor:i}),v(h),v(c)}function v(h,c){h.textPosition==="outside"&&(h.textPosition=c)}_.setLabel=m},"59Ip":function(D,_,e){var g=e("Sj9i");function f(y,m,v,h,c,a,i,r,o,d,n){if(o===0)return!1;var l=o;if(n>m+l&&n>h+l&&n>a+l&&n>r+l||n<m-l&&n<h-l&&n<a-l&&n<r-l||d>y+l&&d>v+l&&d>c+l&&d>i+l||d<y-l&&d<v-l&&d<c-l&&d<i-l)return!1;var t=g.cubicProjectPoint(y,m,v,h,c,a,i,r,d,n,null);return t<=l/2}_.containStroke=f},"5Dmo":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("5YgA"),m=e.n(y)},"5GOC":function(D,_,e){"use strict";var g=e("cIOH"),f=e("b56q"),y=e("15/o")},"5GhG":function(D,_,e){var g=e("5GtS"),f=e("bYtY"),y=e("L0Ub"),m=y.getDimensionTypeByAxis,v=e("D5nY"),h=v.makeSeriesEncodeForAxisCoordSys,c={_baseAxisDim:null,getInitialData:function(a,i){var r,o=i.getComponent("xAxis",this.get("xAxisIndex")),d=i.getComponent("yAxis",this.get("yAxisIndex")),n=o.get("type"),l=d.get("type"),t;n==="category"?(a.layout="horizontal",r=o.getOrdinalMeta(),t=!0):l==="category"?(a.layout="vertical",r=d.getOrdinalMeta(),t=!0):a.layout=a.layout||"horizontal";var s=["x","y"],u=a.layout==="horizontal"?0:1,p=this._baseAxisDim=s[u],w=s[1-u],b=[o,d],E=b[u].get("type"),A=b[1-u].get("type"),S=a.data;if(S&&t){var T=[];f.each(S,function(C,I){var N;C.value&&f.isArray(C.value)?(N=C.value.slice(),C.value.unshift(I)):f.isArray(C)?(N=C.slice(),C.unshift(I)):N=C,T.push(N)}),a.data=T}var L=this.defaultValueDimensions,x=[{name:p,type:m(E),ordinalMeta:r,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:w,type:m(A),dimsDef:L.slice()}];return g(this,{coordDimensions:x,dimensionsCount:L.length+1,encodeDefaulter:f.curry(h,x,this)})},getBaseAxis:function(){var a=this._baseAxisDim;return this.ecModel.getComponent(a+"Axis",this.get(a+"AxisIndex")).axis}};_.seriesModelMixin=c},"5GtS":function(D,_,e){var g=e("sdST"),f=e("YXkt"),y=e("bYtY"),m=y.extend,v=y.isArray;function h(c,a,i){a=v(a)&&{coordDimensions:a}||m({},a);var r=c.getSource(),o=g(r,a),d=new f(o,c);return d.initData(r,i),d}D.exports=h},"5Hur":function(D,_,e){var g=e("4NO4"),f=g.makeInner,y=g.normalizeToArray,m=f();function v(c,a){for(var i=c.length,r=0;r<i;r++)if(c[r].length>a)return c[r];return c[i-1]}var h={clearColorPalette:function(){m(this).colorIdx=0,m(this).colorNameMap={}},getColorFromPalette:function(c,a,i){a=a||this;var r=m(a),o=r.colorIdx||0,d=r.colorNameMap=r.colorNameMap||{};if(d.hasOwnProperty(c))return d[c];var n=y(this.get("color",!0)),l=this.get("colorLayer",!0),t=i==null||!l?n:v(l,i);if(t=t||n,!t||!t.length)return;var s=t[o];return c&&(d[c]=s),r.colorIdx=(o+1)%t.length,s}};D.exports=h},"5NDa":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("OnYD"),m=e.n(y),v=e("+L6B")},"5NHt":function(D,_,e){e("aTJb"),e("OlYY"),e("fc+c"),e("N5BQ"),e("IyUQ"),e("LBfv"),e("noeP")},"5OYt":function(D,_,e){"use strict";var g=e("J4zp"),f=e.n(g),y=e("q1tI"),m=e.n(y),v=e("ACnJ");function h(){var c=Object(y.useState)({}),a=f()(c,2),i=a[0],r=a[1];return Object(y.useEffect)(function(){var o=v.a.subscribe(function(d){r(d)});return function(){return v.a.unsubscribe(o)}},[]),i}_.a=h},"5RHE":function(D,_,e){(function(g){var f,y,y;!function(m){!(f=m,y=typeof f=="function"?f.call(_,e,_,D):f,y!==void 0&&(D.exports=y))}(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(be){return(m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(me){return typeof me}:function(me){return me&&typeof Symbol=="function"&&me.constructor===Symbol&&me!==Symbol.prototype?"symbol":typeof me})(be)}!function(be){if(m(be.console)!=="object"){be.console={};for(var me,pe,ue=be.console,De=function(){},He=["memory"],ze="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(",");me=He.pop();)ue[me]||(ue[me]={});for(;pe=ze.pop();)ue[pe]||(ue[pe]=De)}var Xe,Be,nt,At,It="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";be.btoa===void 0&&(be.btoa=function(ae){var he,q,ne,Se,Ne,Me=0,$e=0,vt="",Wt=[];if(!ae)return ae;for(;he=(Ne=ae.charCodeAt(Me++)<<16|ae.charCodeAt(Me++)<<8|ae.charCodeAt(Me++))>>18&63,q=Ne>>12&63,ne=Ne>>6&63,Se=63&Ne,Wt[$e++]=It.charAt(he)+It.charAt(q)+It.charAt(ne)+It.charAt(Se),Me<ae.length;);vt=Wt.join("");var $t=ae.length%3;return($t?vt.slice(0,$t-3):vt)+"===".slice($t||3)}),be.atob===void 0&&(be.atob=function(ae){var he,q,ne,Se,Ne,Me,$e=0,vt=0,Wt=[];if(!ae)return ae;for(ae+="";he=(Me=It.indexOf(ae.charAt($e++))<<18|It.indexOf(ae.charAt($e++))<<12|(Se=It.indexOf(ae.charAt($e++)))<<6|(Ne=It.indexOf(ae.charAt($e++))))>>16&255,q=Me>>8&255,ne=255&Me,Wt[vt++]=Se==64?String.fromCharCode(he):Ne==64?String.fromCharCode(he,q):String.fromCharCode(he,q,ne),$e<ae.length;);return Wt.join("")}),Array.prototype.map||(Array.prototype.map=function(ae){if(this==null||typeof ae!="function")throw new TypeError;for(var he=Object(this),q=he.length>>>0,ne=new Array(q),Se=1<arguments.length?arguments[1]:void 0,Ne=0;Ne<q;Ne++)Ne in he&&(ne[Ne]=ae.call(Se,he[Ne],Ne,he));return ne}),Array.isArray||(Array.isArray=function(ae){return Object.prototype.toString.call(ae)==="[object Array]"}),Array.prototype.forEach||(Array.prototype.forEach=function(ae,he){if(this==null||typeof ae!="function")throw new TypeError;for(var q=Object(this),ne=q.length>>>0,Se=0;Se<ne;Se++)Se in q&&ae.call(he,q[Se],Se,q)}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(he){if(this==null)throw new TypeError('"this" is null or not defined');var q=Object(this),ne=q.length>>>0;if(typeof he!="function")throw new TypeError("predicate must be a function");for(var Se=arguments[1],Ne=0;Ne<ne;){var Me=q[Ne];if(he.call(Se,Me,Ne,q))return Me;Ne++}},configurable:!0,writable:!0}),Object.keys||(Object.keys=(Xe=Object.prototype.hasOwnProperty,Be=!{toString:null}.propertyIsEnumerable("toString"),At=(nt=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]).length,function(ae){if(m(ae)!=="object"&&(typeof ae!="function"||ae===null))throw new TypeError;var he,q,ne=[];for(he in ae)Xe.call(ae,he)&&ne.push(he);if(Be)for(q=0;q<At;q++)Xe.call(ae,nt[q])&&ne.push(nt[q]);return ne})),typeof Object.assign!="function"&&(Object.assign=function(ae){if(ae==null)throw new TypeError("Cannot convert undefined or null to object");ae=Object(ae);for(var he=1;he<arguments.length;he++){var q=arguments[he];if(q!=null)for(var ne in q)Object.prototype.hasOwnProperty.call(q,ne)&&(ae[ne]=q[ne])}return ae}),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(ae){return typeof ae=="number"&&isFinite(ae)&&Math.floor(ae)===ae}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")());var v,h,c,a,i,r,o,d,n,l,t,s,u,p,w,b,E,A,S,T,L,x,C,I,N,F,k,B,P,K,R,U,j,H,W,X,z,G,Z,ge,Q,we,Ee,Ae,Pe,Ge,gt,_e,Ce,lt,ce,Y,V,$,Te,ye,Fe,Oe,se,fe,Le,Je,mt=function(be){function me(ue){if(m(ue)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var De={};this.subscribe=function(He,ze,Xe){if(Xe=Xe||!1,typeof He!="string"||typeof ze!="function"||typeof Xe!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");De.hasOwnProperty(He)||(De[He]={});var Be=Math.random().toString(35);return De[He][Be]=[ze,!!Xe],Be},this.unsubscribe=function(He){for(var ze in De)if(De[ze][He])return delete De[ze][He],Object.keys(De[ze]).length===0&&delete De[ze],!0;return!1},this.publish=function(He){if(De.hasOwnProperty(He)){var ze=Array.prototype.slice.call(arguments,1),Xe=[];for(var Be in De[He]){var nt=De[He][Be];try{nt[0].apply(ue,ze)}catch(At){be.console&&console.error("jsPDF PubSub Error",At.message,At)}nt[1]&&Xe.push(Be)}Xe.length&&Xe.forEach(this.unsubscribe)}},this.getTopics=function(){return De}}function pe(ue,De,He,ze){var Xe={},Be=[],nt=1;m(ue)==="object"&&(ue=(Xe=ue).orientation,De=Xe.unit||De,He=Xe.format||He,ze=Xe.compress||Xe.compressPdf||ze,Be=Xe.filters||(ze===!0?["FlateEncode"]:Be),nt=typeof Xe.userUnit=="number"?Math.abs(Xe.userUnit):1),De=De||"mm",ue=(""+(ue||"P")).toLowerCase();var At=Xe.putOnlyUsedFonts||!0,It={},ae={internal:{},__private__:{}};ae.__private__.PubSub=me;var he="1.3",q=ae.__private__.getPdfVersion=function(){return he},ne=(ae.__private__.setPdfVersion=function(St){he=St},{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]}),Se=(ae.__private__.getPageFormats=function(){return ne},ae.__private__.getPageFormat=function(St){return ne[St]});typeof He=="string"&&(He=Se(He)),He=He||Se("a4");var Ne,Me=ae.f2=ae.__private__.f2=function(St){if(isNaN(St))throw new Error("Invalid argument passed to jsPDF.f2");return St.toFixed(2)},$e=ae.__private__.f3=function(St){if(isNaN(St))throw new Error("Invalid argument passed to jsPDF.f3");return St.toFixed(3)},vt="00000000000000000000000000000000",Wt=ae.__private__.getFileId=function(){return vt},$t=ae.__private__.setFileId=function(St){return St=St||"12345678901234567890123456789012".split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),vt=St};ae.setFileId=function(St){return $t(St),this},ae.getFileId=function(){return Wt()};var Dt=ae.__private__.convertDateToPDFDate=function(St){var Vt=St.getTimezoneOffset(),sr=Vt<0?"+":"-",br=Math.floor(Math.abs(Vt/60)),Mr=Math.abs(Vt%60),Dr=[sr,Tt(br),"'",Tt(Mr),"'"].join("");return["D:",St.getFullYear(),Tt(St.getMonth()+1),Tt(St.getDate()),Tt(St.getHours()),Tt(St.getMinutes()),Tt(St.getSeconds()),Dr].join("")},Kt=ae.__private__.convertPDFDateToDate=function(St){var Vt=parseInt(St.substr(2,4),10),sr=parseInt(St.substr(6,2),10)-1,br=parseInt(St.substr(8,2),10),Mr=parseInt(St.substr(10,2),10),Dr=parseInt(St.substr(12,2),10),rn=parseInt(St.substr(14,2),10);return parseInt(St.substr(16,2),10),parseInt(St.substr(20,2),10),new Date(Vt,sr,br,Mr,Dr,rn,0)},Gt=ae.__private__.setCreationDate=function(St){var Vt;if(St===void 0&&(St=new Date),m(St)==="object"&&Object.prototype.toString.call(St)==="[object Date]")Vt=Dt(St);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(St))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Vt=St}return Ne=Vt},Qt=ae.__private__.getCreationDate=function(St){var Vt=Ne;return St==="jsDate"&&(Vt=Kt(Ne)),Vt};ae.setCreationDate=function(St){return Gt(St),this},ae.getCreationDate=function(St){return Qt(St)};var Mt,dr,er,ot,xt,ut,ft,Ot,Tt=ae.__private__.padd2=function(St){return("0"+parseInt(St)).slice(-2)},ht=!1,Ht=[],Ft=[],ir=0,Xt=(ae.__private__.setCustomOutputDestination=function(St){dr=St},ae.__private__.resetCustomOutputDestination=function(St){dr=void 0},ae.__private__.out=function(St){var Vt;return St=typeof St=="string"?St:St.toString(),(Vt=dr===void 0?ht?Ht[Mt]:Ft:dr).push(St),ht||(ir+=St.length+1),Vt}),mr=ae.__private__.write=function(St){return Xt(arguments.length===1?St.toString():Array.prototype.join.call(arguments," "))},Ar=ae.__private__.getArrayBuffer=function(St){for(var Vt=St.length,sr=new ArrayBuffer(Vt),br=new Uint8Array(sr);Vt--;)br[Vt]=St.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]],Fr=(ae.__private__.getStandardFonts=function(St){return Nr},Xe.fontSize||16),tn=(ae.__private__.setFontSize=ae.setFontSize=function(St){return Fr=St,this},ae.__private__.getFontSize=ae.getFontSize=function(){return Fr}),qr=Xe.R2L||!1,Lr=(ae.__private__.setR2L=ae.setR2L=function(St){return qr=St,this},ae.__private__.getR2L=ae.getR2L=function(St){return qr},ae.__private__.setZoomMode=function(St){var Vt=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^\d*\.?\d*\%$/.test(St))er=St;else if(isNaN(St)){if(Vt.indexOf(St)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+St+'" is not recognized.');er=St}else er=parseInt(St,10)}),Qr=(ae.__private__.getZoomMode=function(){return er},ae.__private__.setPageMode=function(St){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(St)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+St+'" is not recognized.');ot=St}),_r=(ae.__private__.getPageMode=function(){return ot},ae.__private__.setLayoutMode=function(St){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(St)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+St+'" is not recognized.');xt=St}),ur=(ae.__private__.getLayoutMode=function(){return xt},ae.__private__.setDisplayMode=ae.setDisplayMode=function(St,Vt,sr){return Lr(St),_r(Vt),Qr(sr),this},{title:"",subject:"",author:"",keywords:"",creator:""}),pr=(ae.__private__.getDocumentProperty=function(St){if(Object.keys(ur).indexOf(St)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return ur[St]},ae.__private__.getDocumentProperties=function(St){return ur},ae.__private__.setDocumentProperties=ae.setProperties=ae.setDocumentProperties=function(St){for(var Vt in ur)ur.hasOwnProperty(Vt)&&St[Vt]&&(ur[Vt]=St[Vt]);return this},ae.__private__.setDocumentProperty=function(St,Vt){if(Object.keys(ur).indexOf(St)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ur[St]=Vt},0),cr=[],fr={},xr={},Yr=0,un=[],Nn=[],jr=new me(ae),Tn=Xe.hotfixes||[],gn=ae.__private__.newObject=function(){var St=Bn();return zn(St,!0),St},Bn=ae.__private__.newObjectDeferred=function(){return cr[++pr]=function(){return ir},pr},zn=function(Vt,sr){return sr=typeof sr=="boolean"&&sr,cr[Vt]=ir,sr&&Xt(Vt+" 0 obj"),Vt},qn=ae.__private__.newAdditionalObject=function(){var St={objId:Bn(),content:""};return Nn.push(St),St},Yn=Bn(),Vn=Bn(),An=ae.__private__.decodeColorString=function(St){var Vt=St.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=ae.__private__.encodeColorString=function(St){var Vt;typeof St=="string"&&(St={ch1:St});var sr=St.ch1,br=St.ch2,Mr=St.ch3,Dr=St.ch4,rn=(St.precision,St.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(St.precision){case 2:Vt=Me(sr/255)+" "+rn[0];break;case 3:default:Vt=$e(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(St.precision){case 2:Vt=[Me(sr/255),Me(br/255),Me(Mr/255),rn[1]].join(" ");break;default:case 3:Vt=[$e(sr/255),$e(br/255),$e(Mr/255),rn[1]].join(" ")}}else if(typeof sr=="string")Vt=[sr,br,Mr,Dr,rn[2]].join(" ");else switch(St.precision){case 2:Vt=[Me(sr/255),Me(br/255),Me(Mr/255),Me(Dr/255),rn[2]].join(" ");break;case 3:default:Vt=[$e(sr/255),$e(br/255),$e(Mr/255),$e(Dr/255),rn[2]].join(" ")}return Vt},ia=ae.__private__.getFilters=function(){return Be},xa=ae.__private__.putStream=function(St){var Vt=(St=St||{}).data||"",sr=St.filters||ia(),br=St.alreadyAppliedFilters||[],Mr=St.addLength1||!1,Dr=Vt.length,rn={};sr===!0&&(sr=["FlateEncode"]);var fn=St.additionalKeyValues||[],wn=(rn=pe.API.processDataByFilters!==void 0?pe.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=ae.__private__.putPage=function(St){St.mediaBox;var Vt=St.number,sr=St.data,br=St.objId,Mr=St.contentsObjId;zn(br,!0),un[Mt].mediaBox.topRightX,un[Mt].mediaBox.bottomLeftX,un[Mt].mediaBox.topRightY,un[Mt].mediaBox.bottomLeftY,Xt("<</Type /Page"),Xt("/Parent "+St.rootDictionaryObjId+" 0 R"),Xt("/Resources "+St.resourceDictionaryObjId+" 0 R"),Xt("/MediaBox ["+parseFloat(Me(St.mediaBox.bottomLeftX))+" "+parseFloat(Me(St.mediaBox.bottomLeftY))+" "+Me(St.mediaBox.topRightX)+" "+Me(St.mediaBox.topRightY)+"]"),St.cropBox!==null&&Xt("/CropBox ["+Me(St.cropBox.bottomLeftX)+" "+Me(St.cropBox.bottomLeftY)+" "+Me(St.cropBox.topRightX)+" "+Me(St.cropBox.topRightY)+"]"),St.bleedBox!==null&&Xt("/BleedBox ["+Me(St.bleedBox.bottomLeftX)+" "+Me(St.bleedBox.bottomLeftY)+" "+Me(St.bleedBox.topRightX)+" "+Me(St.bleedBox.topRightY)+"]"),St.trimBox!==null&&Xt("/TrimBox ["+Me(St.trimBox.bottomLeftX)+" "+Me(St.trimBox.bottomLeftY)+" "+Me(St.trimBox.topRightX)+" "+Me(St.trimBox.topRightY)+"]"),St.artBox!==null&&Xt("/ArtBox ["+Me(St.artBox.bottomLeftX)+" "+Me(St.artBox.bottomLeftY)+" "+Me(St.artBox.topRightX)+" "+Me(St.artBox.topRightY)+"]"),typeof St.userUnit=="number"&&St.userUnit!==1&&Xt("/UserUnit "+St.userUnit),jr.publish("putPage",{objId:br,pageContext:un[Vt],pageNumber:Vt,page:sr}),Xt("/Contents "+Mr+" 0 R"),Xt(">>"),Xt("endobj");var Dr=sr.join(`
`);return zn(Mr,!0),xa({data:Dr,filters:ia()}),Xt("endobj"),br},_i=ae.__private__.putPages=function(){var St,Vt,sr=[];for(St=1;St<=Yr;St++)un[St].objId=Bn(),un[St].contentsObjId=Bn();for(St=1;St<=Yr;St++)sr.push(ta({number:St,data:Ht[St],objId:un[St].objId,contentsObjId:un[St].contentsObjId,mediaBox:un[St].mediaBox,cropBox:un[St].cropBox,bleedBox:un[St].bleedBox,trimBox:un[St].trimBox,artBox:un[St].artBox,userUnit:un[St].userUnit,rootDictionaryObjId:Yn,resourceDictionaryObjId:Vn}));zn(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)&&(At===!1||At===!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"),zn(Vn,!0),Xt("<<"),function(){for(var Vt in Xt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Xt("/Font <<"),fr)fr.hasOwnProperty(Vt)&&(At===!1||At===!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},Ia=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=ae.__private__.pdfEscape=ae.pdfEscape=function(St,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[ut].metadata&&fr[ut].metadata[rn]&&fr[ut].metadata[rn].encoding&&(fn=fr[ut].metadata[rn].encoding,!wn&&fr[ut].encoding&&(wn=fr[ut].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)}(St,Vt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},In=ae.__private__.beginPage=function(St,Vt){var sr,br=typeof Vt=="string"&&Vt.toLowerCase();if(typeof St=="string"&&(sr=Se(St.toLowerCase()))&&(St=sr[0],Vt=sr[1]),Array.isArray(St)&&(Vt=St[1],St=St[0]),(isNaN(St)||isNaN(Vt))&&(St=He[0],Vt=He[1]),br){switch(br.substr(0,1)){case"l":St<Vt&&(br="s");break;case"p":Vt<St&&(br="s")}br==="s"&&(sr=St,St=Vt,Vt=sr)}(14400<St||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"),St=Math.min(14400,St),Vt=Math.min(14400,Vt)),He=[St,Vt],ht=!0,Ht[++Yr]=[],un[Yr]={objId:0,contentsObjId:0,userUnit:Number(nt),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(St),topRightY:Number(Vt)}},_n(Yr)},Ln=function(){In.apply(this,arguments),To(eo),Xt(jt),zr!==0&&Xt(zr+" J"),Zr!==0&&Xt(Zr+" j"),jr.publish("addPage",{pageNumber:Yr})},_n=function(Vt){0<Vt&&Vt<=Yr&&(Mt=Vt)},jn=ae.__private__.getNumberOfPages=ae.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[ut].fontName,sr=sr!==void 0?sr:fr[ut].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=ae.__private__.putInfo=function(){for(var St in gn(),Xt("<<"),Xt("/Producer (jsPDF "+pe.version+")"),ur)ur.hasOwnProperty(St)&&ur[St]&&Xt("/"+St.substr(0,1).toUpperCase()+St.substr(1)+" ("+mn(ur[St])+")");Xt("/CreationDate ("+Ne+")"),Xt(">>"),Xt("endobj")},Na=ae.__private__.putCatalog=function(St){var Vt=(St=St||{}).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 "+Me(er)+"]")}switch(xt||(xt="continuous"),xt){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")}ot&&Xt("/PageMode /"+ot),jr.publish("putCatalog"),Xt(">>"),Xt("endobj")},Qi=ae.__private__.putTrailer=function(){Xt("trailer"),Xt("<<"),Xt("/Size "+(pr+1)),Xt("/Root "+pr+" 0 R"),Xt("/Info "+(pr-1)+" 0 R"),Xt("/ID [ <"+vt+"> <"+vt+"> ]"),Xt(">>")},ma=ae.__private__.putHeader=function(){Xt("%PDF-"+he),Xt("%\xBA\xDF\xAC\xE0")},Pa=ae.__private__.putXRef=function(){var St=1,Vt="0000000000";for(Xt("xref"),Xt("0 "+(pr+1)),Xt("0000000000 65535 f "),St=1;St<=pr;St++)typeof cr[St]=="function"?Xt((Vt+cr[St]()).slice(-10)+" 00000 n "):cr[St]!==void 0?Xt((Vt+cr[St]).slice(-10)+" 00000 n "):Xt("0000000000 00000 n ")},Qa=ae.__private__.buildDocument=function(){ht=!1,ir=pr=0,Ft=[],cr=[],Nn=[],Yn=Bn(),Vn=Bn(),jr.publish("buildDocument"),ma(),_i(),function(){jr.publish("putAdditionalObjects");for(var Vt=0;Vt<Nn.length;Vt++){var sr=Nn[Vt];zn(sr.objId,!0),Xt(sr.content),Xt("endobj")}jr.publish("postPutAdditionalObjects")}(),Ci(),di(),Na();var St=ir;return Pa(),Qi(),Xt("startxref"),Xt(""+St),Xt("%%EOF"),ht=!0,Ft.join(`
`)},Wi=ae.__private__.getBlob=function(St){return new Blob([Ar(St)],{type:"application/pdf"})},Co=ae.output=ae.__private__.output=((Ot=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":ae.save(sr.filename);break;case"arraybuffer":return Ar(br);case"blob":return Wi(br);case"bloburi":case"bloburl":if(be.URL!==void 0&&typeof be.URL.createObjectURL=="function")return be.URL&&be.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=be.open();if(Dr!==null&&Dr.document.write(Mr),Dr||typeof safari=="undefined")return Dr;case"datauri":case"dataurl":return be.document.location.href="data:application/pdf;filename="+sr.filename+";base64,"+btoa(br);default:return null}}).foo=function(){try{return Ot.apply(this,arguments)}catch(sr){var St=sr.stack||"";~St.indexOf(" at ")&&(St=St.split(" at ")[1]);var Vt="Error in function "+St.split(`
`)[0].split("<")[0]+": "+sr.message;if(!be.console)throw new Error(Vt);be.console.error(Vt,sr),be.alert&&alert(Vt)}},(Ot.foo.bar=Ot).foo),aa=function(Vt){return Array.isArray(Tn)===!0&&-1<Tn.indexOf(Vt)};switch(De){case"pt":ft=1;break;case"mm":ft=72/25.4;break;case"cm":ft=72/2.54;break;case"in":ft=72;break;case"px":ft=aa("px_scaling")==1?.75:96/72;break;case"pc":case"em":ft=12;break;case"ex":ft=6;break;default:throw new Error("Invalid unit: "+De)}Gt(),$t();var Hi=ae.__private__.getPageInfo=function(St){if(isNaN(St)||St%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:un[St].objId,pageNumber:St,pageContext:un[St]}},ga=ae.__private__.getPageInfoByObjId=function(St){for(var Vt in un)if(un[Vt].objId===St)break;if(isNaN(St)||St%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");return Hi(Vt)},ha=ae.__private__.getCurrentPageInfo=function(){return{objId:un[Mt].objId,pageNumber:Mt,pageContext:un[Mt]}};ae.addPage=function(){return Ln.apply(this,arguments),this},ae.setPage=function(){return _n.apply(this,arguments),this},ae.insertPage=function(St){return this.addPage(),this.movePage(Mt,St),this},ae.movePage=function(St,Vt){if(Vt<St){for(var sr=Ht[St],br=un[St],Mr=St;Vt<Mr;Mr--)Ht[Mr]=Ht[Mr-1],un[Mr]=un[Mr-1];Ht[Vt]=sr,un[Vt]=br,this.setPage(Vt)}else if(St<Vt){for(sr=Ht[St],br=un[St],Mr=St;Mr<Vt;Mr++)Ht[Mr]=Ht[Mr+1],un[Mr]=un[Mr+1];Ht[Vt]=sr,un[Vt]=br,this.setPage(Vt)}return this},ae.deletePage=function(){return function(St){0<St&&St<=Yr&&(Ht.splice(St,1),--Yr<Mt&&(Mt=Yr),this.setPage(Mt))}.apply(this,arguments),this},ae.__private__.text=ae.text=function(St,Vt,sr,br){var Mr;typeof St!="number"||typeof Vt!="number"||typeof sr!="string"&&!Array.isArray(sr)||(Mr=sr,sr=Vt,Vt=St,St=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)||St==null)throw new Error("Invalid arguments passed to jsPDF.text");if(St.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(),Ki=[],zi=Xa.length;zi--;)typeof(Yi=Xa.shift())=="string"?Ki.push(Yi):Array.isArray(ra)&&Yi.length===1?Ki.push(Yi[0]):Ki.push([Yi[0],Yi[1],Yi[2]]);return Ki}function vn(ra,Yi){var Xa;if(typeof ra=="string")Xa=Yi(ra)[0];else if(Array.isArray(ra)){for(var Ki,zi,ba=ra.concat(),Ua=[],wa=ba.length;wa--;)typeof(Ki=ba.shift())=="string"?Ua.push(Yi(Ki)[0]):Array.isArray(Ki)&&Ki[0]==="string"&&(zi=Yi(Ki[0],Ki[1],Ki[2]),Ua.push([zi[0],zi[1],zi[2]]));Xa=Ua}return Xa}var Rn=!1,En=!0;if(typeof St=="string")Rn=!0;else if(Array.isArray(St)){for(var On,Xn=St.concat(),ai=[],ri=Xn.length;ri--;)(typeof(On=Xn.shift())!="string"||Array.isArray(On)&&typeof On[0]!="string")&&(En=!1);Rn=En}if(Rn===!1)throw new Error('Type of text must be string or Array. "'+St+'" is not recognized.');var Di=fr[ut].encoding;Di!=="WinAnsiEncoding"&&Di!=="StandardEncoding"||(St=vn(St,function(ra,Yi,Xa){return[(Ki=ra,Ki=Ki.split(" ").join(Array(br.TabLen||9).join(" ")),mn(Ki,Dr)),Yi,Xa];var Ki})),typeof St=="string"&&(St=St.match(/[\r?\n]/)?St.split(/\r\n|\r|\n/g):[St]);var yi=Fr/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 St=="string"?St=bn.splitTextToSize(St,sa):Object.prototype.toString.call(St)==="[object Array]"&&(St=bn.splitTextToSize(St.join(" "),sa)));var Li={text:St,x:Vt,y:sr,options:br,mutex:{pdfEscape:mn,activeFontKey:ut,fonts:fr,activeFontSize:Fr}};jr.publish("preProcessText",Li),St=Li.text,rn=(br=Li.options).angle;var Un=bn.internal.scaleFactor,Ri=[];if(rn){rn*=Math.PI/180;var fa=Math.cos(rn),Ui=Math.sin(rn);Ri=[Me(fa),Me(Ui),Me(-1*Ui),Me(fa)]}(oa=br.charSpace)!==void 0&&(Hn+=$e(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=Fr*Sn,Ea=bn.internal.pageSize.getWidth(),ya=(Un=bn.internal.scaleFactor,fr[ut]),oa=br.charSpace||wr,sa=br.maxWidth||0,Ni=(Dr={},[]);if(Object.prototype.toString.call(St)==="[object Array]"){var $n,Ai;ai=Mn(St),fn!=="left"&&(Ai=ai.map(function(ra){return bn.getStringUnitWidth(ra,{font:ya,charSpace:oa,fontSize:Fr})*Fr/Un}));var Oi,Vi=Math.max.apply(Math,Ai),Xi=0;if(fn==="right"){Vt-=Ai[0],St=[];var bi=0;for(ri=ai.length;bi<ri;bi++)Vi-Ai[bi],$n=bi===0?(Oi=Br(Vt),Wr(sr)):(Oi=(Xi-Ai[bi])*Un,-va),St.push([ai[bi],Oi,$n]),Xi=Ai[bi]}else if(fn==="center")for(Vt-=Ai[0]/2,St=[],bi=0,ri=ai.length;bi<ri;bi++)(Vi-Ai[bi])/2,$n=bi===0?(Oi=Br(Vt),Wr(sr)):(Oi=(Xi-Ai[bi])/2*Un,-va),St.push([ai[bi],Oi,$n]),Xi=Ai[bi];else if(fn==="left")for(St=[],bi=0,ri=ai.length;bi<ri;bi++)$n=bi===0?Wr(sr):-va,Oi=bi===0?Br(Vt):0,St.push(ai[bi]);else{if(fn!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(St=[],sa=sa!==0?sa:Ea,bi=0,ri=ai.length;bi<ri;bi++)$n=bi===0?Wr(sr):-va,Oi=bi===0?Br(Vt):0,bi<ri-1&&Ni.push(((sa-Ai[bi])/(ai[bi].split(" ").length-1)*Un).toFixed(2)),St.push([ai[bi],Oi,$n])}}(typeof br.R2L=="boolean"?br.R2L:qr)===!0&&(St=vn(St,function(ra,Yi,Xa){return[ra.split("").reverse().join(""),Yi,Xa]})),Li={text:St,x:Vt,y:sr,options:br,mutex:{pdfEscape:mn,activeFontKey:ut,fonts:fr,activeFontSize:Fr}},jr.publish("postProcessText",Li),St=Li.text,wn=Li.mutex.isHex,ai=Mn(St),St=[];var Aa,ca,la,gi=0,Ba=(ri=ai.length,"");for(bi=0;bi<ri;bi++)Ba="",Array.isArray(ai[bi])?(Aa=parseFloat(ai[bi][1]),ca=parseFloat(ai[bi][2]),la=(wn?"<":"(")+ai[bi][0]+(wn?">":")"),gi=1):(Aa=Br(Vt),ca=Wr(sr),la=(wn?"<":"(")+ai[bi]+(wn?">":")")),Ni!==void 0&&Ni[bi]!==void 0&&(Ba=Ni[bi]+` Tw
`),Ri.length!==0&&bi===0?St.push(Ba+Ri.join(" ")+" "+Aa.toFixed(2)+" "+ca.toFixed(2)+` Tm
`+la):gi===1||gi===0&&bi===0?St.push(Ba+Aa.toFixed(2)+" "+ca.toFixed(2)+` Td
`+la):St.push(Ba+la);St=gi===0?St.join(` Tj
T* `):St.join(` Tj
`),St+=` Tj
`;var Ma=`BT
/`+ut+" "+Fr+` Tf
`+(Fr*Sn).toFixed(2)+` TL
`+nr+`
`;return Ma+=Hn,Ma+=St,Xt(Ma+="ET"),It[ut]=!0,bn},ae.__private__.lstext=ae.lstext=function(St,Vt,sr,br){return console.warn("jsPDF.lstext is deprecated"),this.text(St,Vt,sr,{charSpace:br})},ae.__private__.clip=ae.clip=function(St){Xt(St==="evenodd"?"W*":"W"),Xt("n")},ae.__private__.clip_fixed=ae.clip_fixed=function(St){console.log("clip_fixed is deprecated"),ae.clip(St)};var mo=ae.__private__.isValidStyle=function(St){var Vt=!1;return[void 0,null,"S","F","DF","FD","f","f*","B","B*"].indexOf(St)!==-1&&(Vt=!0),Vt},kn=ae.__private__.getStyle=function(St){var Vt="S";return St==="F"?Vt="f":St==="FD"||St==="DF"?Vt="B":St!=="f"&&St!=="f*"&&St!=="B"&&St!=="B*"||(Vt=St),Vt};ae.__private__.line=ae.line=function(St,Vt,sr,br){if(isNaN(St)||isNaN(Vt)||isNaN(sr)||isNaN(br))throw new Error("Invalid arguments passed to jsPDF.line");return this.lines([[sr-St,br-Vt]],St,Vt)},ae.__private__.lines=ae.lines=function(St,Vt,sr,br,Mr,Dr){var rn,fn,wn,Hn,Sn,bn,Mn,vn,Rn,En,On,Xn;if(typeof St=="number"&&(Xn=sr,sr=Vt,Vt=St,St=Xn),br=br||[1,1],Dr=Dr||!1,isNaN(Vt)||isNaN(sr)||!Array.isArray(St)||!Array.isArray(br)||!mo(Mr)||typeof Dr!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Xt($e(Br(Vt))+" "+$e(Wr(sr))+" m "),rn=br[0],fn=br[1],Hn=St.length,En=Vt,On=sr,wn=0;wn<Hn;wn++)(Sn=St[wn]).length===2?(En=Sn[0]*rn+En,On=Sn[1]*fn+On,Xt($e(Br(En))+" "+$e(Wr(On))+" l")):(bn=Sn[0]*rn+En,Mn=Sn[1]*fn+On,vn=Sn[2]*rn+En,Rn=Sn[3]*fn+On,En=Sn[4]*rn+En,On=Sn[5]*fn+On,Xt($e(Br(bn))+" "+$e(Wr(Mn))+" "+$e(Br(vn))+" "+$e(Wr(Rn))+" "+$e(Br(En))+" "+$e(Wr(On))+" c"));return Dr&&Xt(" h"),Mr!==null&&Xt(kn(Mr)),this},ae.__private__.rect=ae.rect=function(St,Vt,sr,br,Mr){if(isNaN(St)||isNaN(Vt)||isNaN(sr)||isNaN(br)||!mo(Mr))throw new Error("Invalid arguments passed to jsPDF.rect");return Xt([Me(Br(St)),Me(Wr(Vt)),Me(sr*ft),Me(-br*ft),"re"].join(" ")),Mr!==null&&Xt(kn(Mr)),this},ae.__private__.triangle=ae.triangle=function(St,Vt,sr,br,Mr,Dr,rn){if(isNaN(St)||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-St,br-Vt],[Mr-sr,Dr-br],[St-Mr,Vt-Dr]],St,Vt,[1,1],rn,!0),this},ae.__private__.roundedRect=ae.roundedRect=function(St,Vt,sr,br,Mr,Dr,rn){if(isNaN(St)||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]],St+Mr,Vt,[1,1],rn),this},ae.__private__.ellipse=ae.ellipse=function(St,Vt,sr,br,Mr){if(isNaN(St)||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([Me(Br(St+sr)),Me(Wr(Vt)),"m",Me(Br(St+sr)),Me(Wr(Vt-rn)),Me(Br(St+Dr)),Me(Wr(Vt-br)),Me(Br(St)),Me(Wr(Vt-br)),"c"].join(" ")),Xt([Me(Br(St-Dr)),Me(Wr(Vt-br)),Me(Br(St-sr)),Me(Wr(Vt-rn)),Me(Br(St-sr)),Me(Wr(Vt)),"c"].join(" ")),Xt([Me(Br(St-sr)),Me(Wr(Vt+rn)),Me(Br(St-Dr)),Me(Wr(Vt+br)),Me(Br(St)),Me(Wr(Vt+br)),"c"].join(" ")),Xt([Me(Br(St+Dr)),Me(Wr(Vt+br)),Me(Br(St+sr)),Me(Wr(Vt+rn)),Me(Br(St+sr)),Me(Wr(Vt)),"c"].join(" ")),Mr!==null&&Xt(kn(Mr)),this},ae.__private__.circle=ae.circle=function(St,Vt,sr,br){if(isNaN(St)||isNaN(Vt)||isNaN(sr)||!mo(br))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(St,Vt,sr,sr,br)},ae.setFont=function(St,Vt){return ut=ni(St,Vt,{disableWarning:!1}),this},ae.setFontStyle=ae.setFontType=function(St){return ut=ni(void 0,St),this},ae.__private__.getFontList=ae.getFontList=function(){var St,Vt,sr,br={};for(St in xr)if(xr.hasOwnProperty(St))for(Vt in br[St]=sr=[],xr[St])xr[St].hasOwnProperty(Vt)&&sr.push(Vt);return br},ae.addFont=function(St,Vt,sr,br){Ia.call(this,St,Vt,sr,br=br||"Identity-H")};var $i,eo=Xe.lineWidth||.200025,To=ae.__private__.setLineWidth=ae.setLineWidth=function(St){return Xt((St*ft).toFixed(2)+" w"),this},uo=(ae.__private__.setLineDash=pe.API.setLineDash=function(St,Vt){if(St=St||[],Vt=Vt||0,isNaN(Vt)||!Array.isArray(St))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return St=St.map(function(sr){return(sr*ft).toFixed(3)}).join(" "),Vt=parseFloat((Vt*ft).toFixed(3)),Xt("["+St+"] "+Vt+" d"),this},ae.__private__.getLineHeight=ae.getLineHeight=function(){return Fr*$i}),rr=(uo=ae.__private__.getLineHeight=ae.getLineHeight=function(){return Fr*$i},ae.__private__.setLineHeightFactor=ae.setLineHeightFactor=function(St){return typeof(St=St||1.15)=="number"&&($i=St),this}),Tr=ae.__private__.getLineHeightFactor=ae.getLineHeightFactor=function(){return $i};rr(Xe.lineHeight);var Br=ae.__private__.getHorizontalCoordinate=function(St){return St*ft},Wr=ae.__private__.getVerticalCoordinate=function(St){return un[Mt].mediaBox.topRightY-un[Mt].mediaBox.bottomLeftY-St*ft},hn=ae.__private__.getHorizontalCoordinateString=function(St){return Me(St*ft)},tt=ae.__private__.getVerticalCoordinateString=function(St){return Me(un[Mt].mediaBox.topRightY-un[Mt].mediaBox.bottomLeftY-St*ft)},jt=Xe.strokeColor||"0 G",Jt=(ae.__private__.getStrokeColor=ae.getDrawColor=function(){return An(jt)},ae.__private__.setStrokeColor=ae.setDrawColor=function(St,Vt,sr,br){return jt=on({ch1:St,ch2:Vt,ch3:sr,ch4:br,pdfColorType:"draw",precision:2}),Xt(jt),this},Xe.fillColor||"0 g"),nr=(ae.__private__.getFillColor=ae.getFillColor=function(){return An(Jt)},ae.__private__.setFillColor=ae.setFillColor=function(St,Vt,sr,br){return Jt=on({ch1:St,ch2:Vt,ch3:sr,ch4:br,pdfColorType:"fill",precision:2}),Xt(Jt),this},Xe.textColor||"0 g"),Ir=ae.__private__.getTextColor=ae.getTextColor=function(){return An(nr)},wr=(ae.__private__.setTextColor=ae.setTextColor=function(St,Vt,sr,br){return nr=on({ch1:St,ch2:Vt,ch3:sr,ch4:br,pdfColorType:"text",precision:3}),this},Xe.charSpace||0),Er=ae.__private__.getCharSpace=ae.getCharSpace=function(){return wr},zr=(ae.__private__.setCharSpace=ae.setCharSpace=function(St){if(isNaN(St))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return wr=St,this},0);ae.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},ae.__private__.setLineCap=ae.setLineCap=function(St){var Vt=ae.CapJoinStyles[St];if(Vt===void 0)throw new Error("Line cap style of '"+St+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Xt((zr=Vt)+" J"),this};var Jr,Zr=0;ae.__private__.setLineJoin=ae.setLineJoin=function(St){var Vt=ae.CapJoinStyles[St];if(Vt===void 0)throw new Error("Line join style of '"+St+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Xt((Zr=Vt)+" j"),this},ae.__private__.setMiterLimit=ae.setMiterLimit=function(St){if(St=St||0,isNaN(St))throw new Error("Invalid argument passed to jsPDF.setMiterLimit");return Jr=parseFloat(Me(St*ft)),Xt(Jr+" M"),this};for(var an in ae.save=function(St,Vt){if(St=St||"generated.pdf",(Vt=Vt||{}).returnPromise=Vt.returnPromise||!1,Vt.returnPromise!==!1)return new Promise(function(sr,br){try{var Mr=Zt(Wi(Qa()),St);typeof Zt.unload=="function"&&be.setTimeout&&setTimeout(Zt.unload,911),sr(Mr)}catch(Dr){br(Dr.message)}});Zt(Wi(Qa()),St),typeof Zt.unload=="function"&&be.setTimeout&&setTimeout(Zt.unload,911)},pe.API)pe.API.hasOwnProperty(an)&&(an==="events"&&pe.API.events.length?function(St,Vt){var sr,br,Mr;for(Mr=Vt.length-1;Mr!==-1;Mr--)sr=Vt[Mr][0],br=Vt[Mr][1],St.subscribe.apply(St,[sr].concat(typeof br=="function"?[br]:br))}(jr,pe.API.events):ae[an]=pe.API[an]);return ae.internal={pdfEscape:mn,getStyle:kn,getFont:function(){return fr[ni.apply(ae,arguments)]},getFontSize:tn,getCharSpace:Er,getTextColor:Ir,getLineHeight:uo,getLineHeightFactor:Tr,write:mr,getHorizontalCoordinate:Br,getVerticalCoordinate:Wr,getCoordinateString:hn,getVerticalCoordinateString:tt,collections:{},newObject:gn,newAdditionalObject:qn,newObjectDeferred:Bn,newObjectDeferredBegin:zn,getFilters:ia,putStream:xa,events:jr,scaleFactor:ft,pageSize:{getWidth:function(){return(un[Mt].mediaBox.topRightX-un[Mt].mediaBox.bottomLeftX)/ft},setWidth:function(Vt){un[Mt].mediaBox.topRightX=Vt*ft+un[Mt].mediaBox.bottomLeftX},getHeight:function(){return(un[Mt].mediaBox.topRightY-un[Mt].mediaBox.bottomLeftY)/ft},setHeight:function(Vt){un[Mt].mediaBox.topRightY=Vt*ft+un[Mt].mediaBox.bottomLeftY}},output:Co,getNumberOfPages:jn,pages:Ht,out:Xt,f2:Me,f3:$e,getPageInfo:Hi,getPageInfoByObjId:ga,getCurrentPageInfo:ha,getPDFVersion:q,hasHotfix:aa},Object.defineProperty(ae.internal.pageSize,"width",{get:function(){return(un[Mt].mediaBox.topRightX-un[Mt].mediaBox.bottomLeftX)/ft},set:function(Vt){un[Mt].mediaBox.topRightX=Vt*ft+un[Mt].mediaBox.bottomLeftX},enumerable:!0,configurable:!0}),Object.defineProperty(ae.internal.pageSize,"height",{get:function(){return(un[Mt].mediaBox.topRightY-un[Mt].mediaBox.bottomLeftY)/ft},set:function(Vt){un[Mt].mediaBox.topRightY=Vt*ft+un[Mt].mediaBox.bottomLeftY},enumerable:!0,configurable:!0}),function(St){for(var Vt=0,sr=Nr.length;Vt<sr;Vt++){var br=Ia(St[Vt][0],St[Vt][1],St[Vt][2],Nr[Vt][3],!0);It[br]=!0;var Mr=St[Vt][0].split("-");Gn(br,Mr[0],Mr[1]||"")}jr.publish("addFonts",{fonts:fr,dictionary:xr})}(Nr),ut="F1",Ln(He,ue),jr.publish("initialized"),ae}return pe.API={events:[]},pe.version="1.5.3",!(y=function(){return pe}.call(_,e,_,D),y!==void 0&&(D.exports=y)),pe}(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(be,me){var pe,ue=1,De=function(ur){return ur.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},He=function(ur){return ur.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},ze=function(ur){if(isNaN(ur))throw new Error("Invalid argument passed to jsPDF.f2");return ur.toFixed(2)},Xe=function(ur){if(isNaN(ur))throw new Error("Invalid argument passed to jsPDF.f2");return ur.toFixed(5)};be.__acroform__={};var Be=function(ur,pr){ur.prototype=Object.create(pr.prototype),ur.prototype.constructor=ur},nt=function(ur){return ur*ue},At=function(ur){return ur/ue},It=function(ur){var pr=new ft,cr=Lr.internal.getHeight(ur)||0,fr=Lr.internal.getWidth(ur)||0;return pr.BBox=[0,0,Number(ze(fr)),Number(ze(cr))],pr},ae=be.__acroform__.setBit=function(_r,ur){if(_r=_r||0,ur=ur||0,isNaN(_r)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return _r|=1<<ur},he=be.__acroform__.clearBit=function(_r,ur){if(_r=_r||0,ur=ur||0,isNaN(_r)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return _r&=~(1<<ur)},q=be.__acroform__.getBit=function(_r,ur){if(isNaN(_r)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return(_r&1<<ur)==0?0:1},ne=be.__acroform__.getBitForPdf=function(_r,ur){if(isNaN(_r)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return q(_r,ur-1)},Se=be.__acroform__.setBitForPdf=function(_r,ur){if(isNaN(_r)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return ae(_r,ur-1)},Ne=be.__acroform__.clearBitForPdf=function(_r,ur,pr){if(isNaN(_r)||isNaN(ur))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return he(_r,ur-1)},Me=be.__acroform__.calculateCoordinates=function(_r){var ur=this.internal.getHorizontalCoordinate,pr=this.internal.getVerticalCoordinate,cr=_r[0],fr=_r[1],xr=_r[2],Yr=_r[3],un={};return un.lowerLeft_X=ur(cr)||0,un.lowerLeft_Y=pr(fr+Yr)||0,un.upperRight_X=ur(cr+xr)||0,un.upperRight_Y=pr(fr)||0,[Number(ze(un.lowerLeft_X)),Number(ze(un.lowerLeft_Y)),Number(ze(un.upperRight_X)),Number(ze(un.upperRight_Y))]},$e=function(ur){if(ur.appearanceStreamContent)return ur.appearanceStreamContent;if(ur.V||ur.DV){var pr=[],cr=ur.V||ur.DV,fr=vt(ur,cr),xr=pe.internal.getFont(ur.fontName,ur.fontStyle).id;pr.push("/Tx BMC"),pr.push("q"),pr.push("BT"),pr.push(pe.__private__.encodeColorString(ur.color)),pr.push("/"+xr+" "+ze(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(ur);return Yr.stream=pr.join(`
`),Yr}},vt=function(ur,pr){var cr=ur.maxFontSize||12,fr=(ur.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=(pe.__private__.encodeColorString(ur.color),cr),un=Lr.internal.getHeight(ur)||0;un=un<0?-un:un;var Nn=Lr.internal.getWidth(ur)||0;Nn=Nn<0?-Nn:Nn;var jr=function(mn,In,Ln){if(mn+1<xr.length){var _n=In+" "+xr[mn+1];return Wt(_n,ur,Ln).width<=Nn-4}return!1};Yr++;e:for(;;){pr="";var Tn=Wt("3",ur,--Yr).height,gn=ur.multiline?un-Yr:(un-Tn)/2,Bn=-2,zn=gn+=2,qn=0,Yn=0,Vn=0;if(Yr<=0){pr=`(...) Tj
`,pr+="% Width of Text: "+Wt(pr,ur,Yr=12).width+", FieldWidth:"+Nn+`
`;break}Vn=Wt(xr[0]+" ",ur,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+" ",ur,Yr).width;var ta=jr(xa,An,Yr),_i=ia>=xr.length-1;if(ta&&!_i){An+=" ";continue}if(ta||_i){if(_i)Yn=xa;else if(ur.multiline&&un<(Tn+2)*(on+2)+2)continue e}else{if(!ur.multiline)continue e;if(un<(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,ur,Yr).width,ur.textAlign){case"right":Bn=Nn-Vn-2;break;case"center":Bn=(Nn-Vn)/2;break;case"left":default:Bn=2}pr+=ze(Bn)+" "+ze(zn)+` Td
`,pr+="("+De(Ci)+`) Tj
`,pr+=-ze(Bn)+` 0 Td
`,zn=-(Yr+2),Vn=0,qn=Yn+1,on++,An=""}break}return fr.text=pr,fr.fontSize=Yr,fr},Wt=function(ur,pr,cr){var fr=pe.internal.getFont(pr.fontName,pr.fontStyle),xr=pe.getStringUnitWidth(ur,{font:fr,fontSize:parseFloat(cr),charSpace:0})*parseFloat(cr);return{height:pe.getStringUnitWidth("3",{font:fr,fontSize:parseFloat(cr),charSpace:0})*parseFloat(cr)*1.5,width:xr}},$t={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Dt=function(){pe.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var ur=pe.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var pr in ur)if(ur.hasOwnProperty(pr)){var cr=ur[pr];cr.objId=void 0,cr.hasAnnotation&&Kt.call(pe,cr)}},Kt=function(ur){var pr={type:"reference",object:ur};pe.internal.getPageInfo(ur.page).pageContext.annotations.find(function(cr){return cr.type===pr.type&&cr.object===pr.object})===void 0&&pe.internal.getPageInfo(ur.page).pageContext.annotations.push(pr)},Gt=function(){if(pe.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");pe.internal.write("/AcroForm "+pe.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")},Qt=function(){pe.internal.events.unsubscribe(pe.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete pe.internal.acroformPlugin.acroFormDictionaryRoot._eventID,pe.internal.acroformPlugin.printedOut=!0},Mt=function(ur){var pr=!ur;ur||(pe.internal.newObjectDeferredBegin(pe.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),pe.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),ur=ur||pe.internal.acroformPlugin.acroFormDictionaryRoot.Kids;for(var cr in ur)if(ur.hasOwnProperty(cr)){var fr=ur[cr],xr=[],Yr=fr.Rect;if(fr.Rect&&(fr.Rect=Me.call(this,fr.Rect)),pe.internal.newObjectDeferredBegin(fr.objId,!0),fr.DA=Lr.createDefaultAppearanceStream(fr),m(fr)==="object"&&typeof fr.getKeyValueListForStream=="function"&&(xr=fr.getKeyValueListForStream()),fr.Rect=Yr,fr.hasAppearanceStream&&!fr.appearanceStreamContent){var un=$e.call(this,fr);xr.push({key:"AP",value:"<</N "+un+">>"}),pe.internal.acroformPlugin.xForms.push(un)}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 cr in Tn){var gn;Tn.hasOwnProperty(cr)&&(typeof(gn=Tn[cr])=="function"&&(gn=gn.call(this,fr)),Nn+="/"+cr+" "+gn+" ",0<=pe.internal.acroformPlugin.xForms.indexOf(gn)||pe.internal.acroformPlugin.xForms.push(gn))}else typeof(gn=Tn)=="function"&&(gn=gn.call(this,fr)),Nn+="/"+cr+" "+gn,0<=pe.internal.acroformPlugin.xForms.indexOf(gn)||pe.internal.acroformPlugin.xForms.push(gn);Nn+=">>"}xr.push({key:"AP",value:`<<
`+Nn+">>"})}pe.internal.putStream({additionalKeyValues:xr}),pe.internal.out("endobj")}pr&&dr.call(this,pe.internal.acroformPlugin.xForms)},dr=function(ur){for(var pr in ur)if(ur.hasOwnProperty(pr)){var cr=pr,fr=ur[pr];pe.internal.newObjectDeferredBegin(fr&&fr.objId,!0),m(fr)==="object"&&typeof fr.putStream=="function"&&fr.putStream(),delete ur[cr]}},er=function(){if(this.internal!==void 0&&(this.internal.acroformPlugin===void 0||this.internal.acroformPlugin.isInitialized===!1)){if(pe=this,Tt.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify($t)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");ue=pe.internal.scaleFactor,pe.internal.acroformPlugin.acroFormDictionaryRoot=new Ot,pe.internal.acroformPlugin.acroFormDictionaryRoot._eventID=pe.internal.events.subscribe("postPutResources",Qt),pe.internal.events.subscribe("buildDocument",Dt),pe.internal.events.subscribe("putCatalog",Gt),pe.internal.events.subscribe("postPutPages",Mt),pe.internal.acroformPlugin.isInitialized=!0}},ot=be.__acroform__.arrayToPdfArray=function(_r){if(Array.isArray(_r)){for(var ur="[",pr=0;pr<_r.length;pr++)switch(pr!==0&&(ur+=" "),m(_r[pr])){case"boolean":case"number":case"object":ur+=_r[pr].toString();break;case"string":_r[pr].substr(0,1)!=="/"?ur+="("+De(_r[pr].toString())+")":ur+=_r[pr].toString()}return ur+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},xt=function(ur){return(ur=ur||"").toString(),ur="("+De(ur)+")"},ut=function(){var ur;Object.defineProperty(this,"objId",{configurable:!0,get:function(){if(ur||(ur=pe.internal.newObjectDeferred()),!ur)throw new Error("AcroFormPDFObject: Couldn't create Object ID");return ur},set:function(cr){ur=cr}})};ut.prototype.toString=function(){return this.objId+" 0 R"},ut.prototype.putStream=function(){var _r=this.getKeyValueListForStream();pe.internal.putStream({data:this.stream,additionalKeyValues:_r}),pe.internal.out("endobj")},ut.prototype.getKeyValueListForStream=function(){return function(_r){var ur=[],pr=Object.getOwnPropertyNames(_r).filter(function(Yr){return Yr!="content"&&Yr!="appearanceStreamContent"&&Yr.substring(0,1)!="_"});for(var cr in pr)if(Object.getOwnPropertyDescriptor(_r,pr[cr]).configurable===!1){var fr=pr[cr],xr=_r[fr];xr&&(Array.isArray(xr)?ur.push({key:fr,value:ot(xr)}):xr instanceof ut?ur.push({key:fr,value:xr.objId+" 0 R"}):typeof xr!="function"&&ur.push({key:fr,value:xr}))}return ur}(this)};var ft=function(){ut.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 ur,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){ur=fr.trim()},get:function(){return ur||null}})};Be(ft,ut);var Ot=function(){ut.call(this);var ur,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(ur)return"("+ur+")"},set:function(fr){ur=fr}})};Be(Ot,ut);var Tt=function _r(){ut.call(this);var ur=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return ur},set:function(on){if(isNaN(on))throw new Error('Invalid value "'+on+'" for attribute F supplied.');ur=on}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(ur,3))},set:function(on){Boolean(on)===!0?this.F=Se(ur,3):this.F=Ne(ur,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 cr=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(cr.length!==0)return cr},set:function(on){cr=on!==void 0?on:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!cr||isNaN(cr[0])?0:At(cr[0])},set:function(on){cr[0]=nt(on)}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!cr||isNaN(cr[1])?0:At(cr[1])},set:function(on){cr[1]=nt(on)}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!cr||isNaN(cr[2])?0:At(cr[2])},set:function(on){cr[2]=nt(on)}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!cr||isNaN(cr[3])?0:At(cr[3])},set:function(on){cr[3]=nt(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"+_r.FieldNum++}return"("+De(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 un="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return un},set:function(on){un=on}});var Nn=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return At(Nn)},set:function(on){Nn=nt(on)}});var jr=50;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return At(jr)},set:function(on){jr=nt(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 xt(gn)},set:function(on){on=on.toString(),gn=on}});var Bn=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(Bn)return this instanceof Xt==!1?xt(Bn):Bn},set:function(on){on=on.toString(),Bn=this instanceof Xt==!1?on.substr(0,1)==="("?He(on.substr(1,on.length-2)):He(on):on}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Xt==!0?He(Bn.substr(1,Bn.length-1)):Bn},set:function(on){on=on.toString(),Bn=this instanceof Xt==!0?"/"+on:on}});var zn=null;Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(zn)return this instanceof Xt==!1?xt(zn):zn},set:function(on){on=on.toString(),zn=this instanceof Xt==!1?on.substr(0,1)==="("?He(on.substr(1,on.length-2)):He(on):on}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Xt==!0?He(zn.substr(1,zn.length-1)):zn},set:function(on){on=on.toString(),zn=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(ne(this.Ff,1))},set:function(on){Boolean(on)===!0?this.Ff=Se(this.Ff,1):this.Ff=Ne(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,2))},set:function(on){Boolean(on)===!0?this.Ff=Se(this.Ff,2):this.Ff=Ne(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,3))},set:function(on){Boolean(on)===!0?this.Ff=Se(this.Ff,3):this.Ff=Ne(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}}})};Be(Tt,ut);var ht=function(){Tt.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var ur=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return ur},set:function(fr){ur=fr}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return ur},set:function(fr){ur=fr}});var pr=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return ot(pr)},set:function(fr){var xr,Yr;Yr=[],typeof(xr=fr)=="string"&&(Yr=function(un,Nn,jr){jr||(jr=1);for(var Tn,gn=[];Tn=Nn.exec(un);)gn.push(Tn[jr]);return gn}(xr,/\((.*?)\)/g)),pr=Yr}}),this.getOptions=function(){return pr},this.setOptions=function(cr){pr=cr,this.sort&&pr.sort()},this.addOption=function(cr){cr=(cr=cr||"").toString(),pr.push(cr),this.sort&&pr.sort()},this.removeOption=function(cr,fr){for(fr=fr||!1,cr=(cr=cr||"").toString();pr.indexOf(cr)!==-1&&(pr.splice(pr.indexOf(cr),1),fr!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,18))},set:function(fr){Boolean(fr)===!0?this.Ff=Se(this.Ff,18):this.Ff=Ne(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,19))},set:function(fr){this.combo===!0&&(Boolean(fr)===!0?this.Ff=Se(this.Ff,19):this.Ff=Ne(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,20))},set:function(fr){Boolean(fr)===!0?(this.Ff=Se(this.Ff,20),pr.sort()):this.Ff=Ne(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,22))},set:function(fr){Boolean(fr)===!0?this.Ff=Se(this.Ff,22):this.Ff=Ne(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,23))},set:function(fr){Boolean(fr)===!0?this.Ff=Se(this.Ff,23):this.Ff=Ne(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,27))},set:function(fr){Boolean(fr)===!0?this.Ff=Se(this.Ff,27):this.Ff=Ne(this.Ff,27)}}),this.hasAppearanceStream=!1};Be(ht,Tt);var Ht=function(){ht.call(this),this.fontName="helvetica",this.combo=!1};Be(Ht,ht);var Ft=function(){Ht.call(this),this.combo=!0};Be(Ft,Ht);var ir=function(){Ft.call(this),this.edit=!0};Be(ir,Ft);var Xt=function(){Tt.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,15))},set:function(fr){Boolean(fr)===!0?this.Ff=Se(this.Ff,15):this.Ff=Ne(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,16))},set:function(fr){Boolean(fr)===!0?this.Ff=Se(this.Ff,16):this.Ff=Ne(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,17))},set:function(fr){Boolean(fr)===!0?this.Ff=Se(this.Ff,17):this.Ff=Ne(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,26))},set:function(fr){Boolean(fr)===!0?this.Ff=Se(this.Ff,26):this.Ff=Ne(this.Ff,26)}});var ur,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 ur},set:function(fr){ur=fr}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return ur.substr(1,ur.length-1)},set:function(fr){ur="/"+fr}})};Be(Xt,Tt);var mr=function(){Xt.call(this),this.pushButton=!0};Be(mr,Xt);var Ar=function(){Xt.call(this),this.radio=!0,this.pushButton=!1;var ur=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return ur},set:function(cr){ur=cr!==void 0?cr:[]}})};Be(Ar,Xt);var Nr=function(){var ur,pr;Tt.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return ur},set:function(Yr){ur=Yr}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return pr},set:function(Yr){pr=Yr}});var cr,fr={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Yr,un=[];for(Yr in un.push("<<"),fr)un.push("/"+Yr+" ("+fr[Yr]+")");return un.push(">>"),un.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 cr},set:function(Yr){cr=Yr}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return cr.substr(1,cr.length-1)},set:function(Yr){cr="/"+Yr}}),this.optionName=name,this.caption="l",this.appearanceState="Off",this._AppearanceType=Lr.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(name)};Be(Nr,Tt),Ar.prototype.setAppearance=function(_r){if(!("createAppearanceStream"in _r&&"getCA"in _r))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var ur in this.Kids)if(this.Kids.hasOwnProperty(ur)){var pr=this.Kids[ur];pr.appearanceStreamContent=_r.createAppearanceStream(pr.optionName),pr.caption=_r.getCA()}},Ar.prototype.createOption=function(_r){this.Kids.length;var ur=new Nr;return ur.Parent=this,ur.optionName=_r,this.Kids.push(ur),Qr.call(this,ur),ur};var Fr=function(){Xt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Lr.CheckBox.createAppearanceStream()};Be(Fr,Xt);var tn=function(){Tt.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,13))},set:function(cr){Boolean(cr)===!0?this.Ff=Se(this.Ff,13):this.Ff=Ne(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,21))},set:function(cr){Boolean(cr)===!0?this.Ff=Se(this.Ff,21):this.Ff=Ne(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,23))},set:function(cr){Boolean(cr)===!0?this.Ff=Se(this.Ff,23):this.Ff=Ne(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,24))},set:function(cr){Boolean(cr)===!0?this.Ff=Se(this.Ff,24):this.Ff=Ne(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,25))},set:function(cr){Boolean(cr)===!0?this.Ff=Se(this.Ff,25):this.Ff=Ne(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,26))},set:function(cr){Boolean(cr)===!0?this.Ff=Se(this.Ff,26):this.Ff=Ne(this.Ff,26)}});var ur=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return ur},set:function(cr){ur=cr}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return ur},set:function(cr){Number.isInteger(cr)&&(ur=cr)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};Be(tn,Tt);var qr=function(){tn.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(ne(this.Ff,14))},set:function(pr){Boolean(pr)===!0?this.Ff=Se(this.Ff,14):this.Ff=Ne(this.Ff,14)}}),this.password=!0};Be(qr,tn);var Lr={CheckBox:{createAppearanceStream:function(){return{N:{On:Lr.CheckBox.YesNormal},D:{On:Lr.CheckBox.YesPushDown,Off:Lr.CheckBox.OffPushDown}}},YesPushDown:function(ur){var pr=It(ur),cr=[],fr=pe.internal.getFont(ur.fontName,ur.fontStyle).id,xr=pe.__private__.encodeColorString(ur.color),Yr=vt(ur,ur.caption);return cr.push("0.749023 g"),cr.push("0 0 "+ze(Lr.internal.getWidth(ur))+" "+ze(Lr.internal.getHeight(ur))+" re"),cr.push("f"),cr.push("BMC"),cr.push("q"),cr.push("0 0 1 rg"),cr.push("/"+fr+" "+ze(Yr.fontSize)+" Tf "+xr),cr.push("BT"),cr.push(Yr.text),cr.push("ET"),cr.push("Q"),cr.push("EMC"),pr.stream=cr.join(`
`),pr},YesNormal:function(ur){var pr=It(ur),cr=pe.internal.getFont(ur.fontName,ur.fontStyle).id,fr=pe.__private__.encodeColorString(ur.color),xr=[],Yr=Lr.internal.getHeight(ur),un=Lr.internal.getWidth(ur),Nn=vt(ur,ur.caption);return xr.push("1 g"),xr.push("0 0 "+ze(un)+" "+ze(Yr)+" re"),xr.push("f"),xr.push("q"),xr.push("0 0 1 rg"),xr.push("0 0 "+ze(un-1)+" "+ze(Yr-1)+" re"),xr.push("W"),xr.push("n"),xr.push("0 g"),xr.push("BT"),xr.push("/"+cr+" "+ze(Nn.fontSize)+" Tf "+fr),xr.push(Nn.text),xr.push("ET"),xr.push("Q"),pr.stream=xr.join(`
`),pr},OffPushDown:function(ur){var pr=It(ur),cr=[];return cr.push("0.749023 g"),cr.push("0 0 "+ze(Lr.internal.getWidth(ur))+" "+ze(Lr.internal.getHeight(ur))+" re"),cr.push("f"),pr.stream=cr.join(`
`),pr}},RadioButton:{Circle:{createAppearanceStream:function(ur){var pr={D:{Off:Lr.RadioButton.Circle.OffPushDown},N:{}};return pr.N[ur]=Lr.RadioButton.Circle.YesNormal,pr.D[ur]=Lr.RadioButton.Circle.YesPushDown,pr},getCA:function(){return"l"},YesNormal:function(ur){var pr=It(ur),cr=[],fr=Lr.internal.getWidth(ur)<=Lr.internal.getHeight(ur)?Lr.internal.getWidth(ur)/4:Lr.internal.getHeight(ur)/4;fr=Number((.9*fr).toFixed(5));var xr=Lr.internal.Bezier_C,Yr=Number((fr*xr).toFixed(5));return cr.push("q"),cr.push("1 0 0 1 "+Xe(Lr.internal.getWidth(ur)/2)+" "+Xe(Lr.internal.getHeight(ur)/2)+" cm"),cr.push(fr+" 0 m"),cr.push(fr+" "+Yr+" "+Yr+" "+fr+" 0 "+fr+" c"),cr.push("-"+Yr+" "+fr+" -"+fr+" "+Yr+" -"+fr+" 0 c"),cr.push("-"+fr+" -"+Yr+" -"+Yr+" -"+fr+" 0 -"+fr+" c"),cr.push(Yr+" -"+fr+" "+fr+" -"+Yr+" "+fr+" 0 c"),cr.push("f"),cr.push("Q"),pr.stream=cr.join(`
`),pr},YesPushDown:function(ur){var pr=It(ur),cr=[],fr=Lr.internal.getWidth(ur)<=Lr.internal.getHeight(ur)?Lr.internal.getWidth(ur)/4:Lr.internal.getHeight(ur)/4,xr=(fr=Number((.9*fr).toFixed(5)),Number((2*fr).toFixed(5))),Yr=Number((xr*Lr.internal.Bezier_C).toFixed(5)),un=Number((fr*Lr.internal.Bezier_C).toFixed(5));return cr.push("0.749023 g"),cr.push("q"),cr.push("1 0 0 1 "+Xe(Lr.internal.getWidth(ur)/2)+" "+Xe(Lr.internal.getHeight(ur)/2)+" cm"),cr.push(xr+" 0 m"),cr.push(xr+" "+Yr+" "+Yr+" "+xr+" 0 "+xr+" c"),cr.push("-"+Yr+" "+xr+" -"+xr+" "+Yr+" -"+xr+" 0 c"),cr.push("-"+xr+" -"+Yr+" -"+Yr+" -"+xr+" 0 -"+xr+" c"),cr.push(Yr+" -"+xr+" "+xr+" -"+Yr+" "+xr+" 0 c"),cr.push("f"),cr.push("Q"),cr.push("0 g"),cr.push("q"),cr.push("1 0 0 1 "+Xe(Lr.internal.getWidth(ur)/2)+" "+Xe(Lr.internal.getHeight(ur)/2)+" cm"),cr.push(fr+" 0 m"),cr.push(fr+" "+un+" "+un+" "+fr+" 0 "+fr+" c"),cr.push("-"+un+" "+fr+" -"+fr+" "+un+" -"+fr+" 0 c"),cr.push("-"+fr+" -"+un+" -"+un+" -"+fr+" 0 -"+fr+" c"),cr.push(un+" -"+fr+" "+fr+" -"+un+" "+fr+" 0 c"),cr.push("f"),cr.push("Q"),pr.stream=cr.join(`
`),pr},OffPushDown:function(ur){var pr=It(ur),cr=[],fr=Lr.internal.getWidth(ur)<=Lr.internal.getHeight(ur)?Lr.internal.getWidth(ur)/4:Lr.internal.getHeight(ur)/4,xr=(fr=Number((.9*fr).toFixed(5)),Number((2*fr).toFixed(5))),Yr=Number((xr*Lr.internal.Bezier_C).toFixed(5));return cr.push("0.749023 g"),cr.push("q"),cr.push("1 0 0 1 "+Xe(Lr.internal.getWidth(ur)/2)+" "+Xe(Lr.internal.getHeight(ur)/2)+" cm"),cr.push(xr+" 0 m"),cr.push(xr+" "+Yr+" "+Yr+" "+xr+" 0 "+xr+" c"),cr.push("-"+Yr+" "+xr+" -"+xr+" "+Yr+" -"+xr+" 0 c"),cr.push("-"+xr+" -"+Yr+" -"+Yr+" -"+xr+" 0 -"+xr+" c"),cr.push(Yr+" -"+xr+" "+xr+" -"+Yr+" "+xr+" 0 c"),cr.push("f"),cr.push("Q"),pr.stream=cr.join(`
`),pr}},Cross:{createAppearanceStream:function(ur){var pr={D:{Off:Lr.RadioButton.Cross.OffPushDown},N:{}};return pr.N[ur]=Lr.RadioButton.Cross.YesNormal,pr.D[ur]=Lr.RadioButton.Cross.YesPushDown,pr},getCA:function(){return"8"},YesNormal:function(ur){var pr=It(ur),cr=[],fr=Lr.internal.calculateCross(ur);return cr.push("q"),cr.push("1 1 "+ze(Lr.internal.getWidth(ur)-2)+" "+ze(Lr.internal.getHeight(ur)-2)+" re"),cr.push("W"),cr.push("n"),cr.push(ze(fr.x1.x)+" "+ze(fr.x1.y)+" m"),cr.push(ze(fr.x2.x)+" "+ze(fr.x2.y)+" l"),cr.push(ze(fr.x4.x)+" "+ze(fr.x4.y)+" m"),cr.push(ze(fr.x3.x)+" "+ze(fr.x3.y)+" l"),cr.push("s"),cr.push("Q"),pr.stream=cr.join(`
`),pr},YesPushDown:function(ur){var pr=It(ur),cr=Lr.internal.calculateCross(ur),fr=[];return fr.push("0.749023 g"),fr.push("0 0 "+ze(Lr.internal.getWidth(ur))+" "+ze(Lr.internal.getHeight(ur))+" re"),fr.push("f"),fr.push("q"),fr.push("1 1 "+ze(Lr.internal.getWidth(ur)-2)+" "+ze(Lr.internal.getHeight(ur)-2)+" re"),fr.push("W"),fr.push("n"),fr.push(ze(cr.x1.x)+" "+ze(cr.x1.y)+" m"),fr.push(ze(cr.x2.x)+" "+ze(cr.x2.y)+" l"),fr.push(ze(cr.x4.x)+" "+ze(cr.x4.y)+" m"),fr.push(ze(cr.x3.x)+" "+ze(cr.x3.y)+" l"),fr.push("s"),fr.push("Q"),pr.stream=fr.join(`
`),pr},OffPushDown:function(ur){var pr=It(ur),cr=[];return cr.push("0.749023 g"),cr.push("0 0 "+ze(Lr.internal.getWidth(ur))+" "+ze(Lr.internal.getHeight(ur))+" re"),cr.push("f"),pr.stream=cr.join(`
`),pr}}},createDefaultAppearanceStream:function(ur){var pr=pe.internal.getFont(ur.fontName,ur.fontStyle).id,cr=pe.__private__.encodeColorString(ur.color);return"/"+pr+" "+ur.fontSize+" Tf "+cr}};Lr.internal={Bezier_C:.551915024494,calculateCross:function(ur){var pr=Lr.internal.getWidth(ur),cr=Lr.internal.getHeight(ur),fr=Math.min(pr,cr);return{x1:{x:(pr-fr)/2,y:(cr-fr)/2+fr},x2:{x:(pr-fr)/2+fr,y:(cr-fr)/2},x3:{x:(pr-fr)/2,y:(cr-fr)/2},x4:{x:(pr-fr)/2+fr,y:(cr-fr)/2+fr}}}},Lr.internal.getWidth=function(_r){var ur=0;return m(_r)==="object"&&(ur=nt(_r.Rect[2])),ur},Lr.internal.getHeight=function(_r){var ur=0;return m(_r)==="object"&&(ur=nt(_r.Rect[3])),ur};var Qr=be.addField=function(_r){if(er.call(this),!(_r instanceof Tt))throw new Error("Invalid argument passed to jsPDF.addField.");return function(ur){pe.internal.acroformPlugin.printedOut&&(pe.internal.acroformPlugin.printedOut=!1,pe.internal.acroformPlugin.acroFormDictionaryRoot=null),pe.internal.acroformPlugin.acroFormDictionaryRoot||er.call(pe),pe.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(ur)}.call(this,_r),_r.page=pe.internal.getCurrentPageInfo().pageNumber,this};be.addButton=function(_r){if(_r instanceof Xt==!1)throw new Error("Invalid argument passed to jsPDF.addButton.");return Qr.call(this,_r)},be.addTextField=function(_r){if(_r instanceof tn==!1)throw new Error("Invalid argument passed to jsPDF.addTextField.");return Qr.call(this,_r)},be.addChoiceField=function(_r){if(_r instanceof ht==!1)throw new Error("Invalid argument passed to jsPDF.addChoiceField.");return Qr.call(this,_r)},m(me)=="object"&&me.ChoiceField===void 0&&me.ListBox===void 0&&me.ComboBox===void 0&&me.EditBox===void 0&&me.Button===void 0&&me.PushButton===void 0&&me.RadioButton===void 0&&me.CheckBox===void 0&&me.TextField===void 0&&me.PasswordField===void 0?(me.ChoiceField=ht,me.ListBox=Ht,me.ComboBox=Ft,me.EditBox=ir,me.Button=Xt,me.PushButton=mr,me.RadioButton=Ar,me.CheckBox=Fr,me.TextField=tn,me.PasswordField=qr,me.AcroForm={Appearance:Lr}):console.warn("AcroForm-Classes are not populated into global-namespace, because the class-Names exist already."),be.AcroFormChoiceField=ht,be.AcroFormListBox=Ht,be.AcroFormComboBox=Ft,be.AcroFormEditBox=ir,be.AcroFormButton=Xt,be.AcroFormPushButton=mr,be.AcroFormRadioButton=Ar,be.AcroFormCheckBox=Fr,be.AcroFormTextField=tn,be.AcroFormPasswordField=qr,be.AcroFormAppearance=Lr,be.AcroForm={ChoiceField:ht,ListBox:Ht,ComboBox:Ft,EditBox:ir,Button:Xt,PushButton:mr,RadioButton:Ar,CheckBox:Fr,TextField:tn,PasswordField:qr,Appearance:Lr}})((window.tmp=mt).API,typeof window!="undefined"&&window||typeof g!="undefined"&&g),function(be){var me="addImage_",pe={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]]},ue=be.getImageFileTypeByImageData=function(ae,he){var q,ne;he=he||"UNKNOWN";var Se,Ne,Me,$e="UNKNOWN";for(Me in be.isArrayBufferView(ae)&&(ae=be.arrayBufferToBinaryString(ae)),pe)for(Se=pe[Me],q=0;q<Se.length;q+=1){for(Ne=!0,ne=0;ne<Se[q].length;ne+=1)if(Se[q][ne]!==void 0&&Se[q][ne]!==ae.charCodeAt(ne)){Ne=!1;break}if(Ne===!0){$e=Me;break}}return $e==="UNKNOWN"&&he!=="UNKNOWN"&&(console.warn('FileType of Image not recognized. Processing image as "'+he+'".'),$e=he),$e},De=function ae(he){for(var q=this.internal.newObject(),ne=this.internal.write,Se=this.internal.putStream,Ne=(0,this.internal.getFilters)();Ne.indexOf("FlateEncode")!==-1;)Ne.splice(Ne.indexOf("FlateEncode"),1);he.n=q;var Me=[];if(Me.push({key:"Type",value:"/XObject"}),Me.push({key:"Subtype",value:"/Image"}),Me.push({key:"Width",value:he.w}),Me.push({key:"Height",value:he.h}),he.cs===this.color_spaces.INDEXED?Me.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(he.pal.length/3-1)+" "+("smask"in he?q+2:q+1)+" 0 R]"}):(Me.push({key:"ColorSpace",value:"/"+he.cs}),he.cs===this.color_spaces.DEVICE_CMYK&&Me.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),Me.push({key:"BitsPerComponent",value:he.bpc}),"dp"in he&&Me.push({key:"DecodeParms",value:"<<"+he.dp+">>"}),"trns"in he&&he.trns.constructor==Array){for(var $e="",vt=0,Wt=he.trns.length;vt<Wt;vt++)$e+=he.trns[vt]+" "+he.trns[vt]+" ";Me.push({key:"Mask",value:"["+$e+"]"})}"smask"in he&&Me.push({key:"SMask",value:q+1+" 0 R"});var $t=he.f!==void 0?["/"+he.f]:void 0;if(Se({data:he.data,additionalKeyValues:Me,alreadyAppliedFilters:$t}),ne("endobj"),"smask"in he){var Dt="/Predictor "+he.p+" /Colors 1 /BitsPerComponent "+he.bpc+" /Columns "+he.w,Kt={w:he.w,h:he.h,cs:"DeviceGray",bpc:he.bpc,dp:Dt,data:he.smask};"f"in he&&(Kt.f=he.f),ae.call(this,Kt)}he.cs===this.color_spaces.INDEXED&&(this.internal.newObject(),Se({data:this.arrayBufferToBinaryString(new Uint8Array(he.pal))}),ne("endobj"))},He=function(){var he=this.internal.collections[me+"images"];for(var q in he)De.call(this,he[q])},ze=function(){var he,q=this.internal.collections[me+"images"],ne=this.internal.write;for(var Se in q)ne("/I"+(he=q[Se]).i,he.n,"0","R")},Xe=function(he){return typeof be["process"+he.toUpperCase()]=="function"},Be=function(he){return m(he)==="object"&&he.nodeType===1},nt=function(he,q){if(he.nodeName==="IMG"&&he.hasAttribute("src")){var ne=""+he.getAttribute("src");if(ne.indexOf("data:image/")===0)return unescape(ne);var Se=be.loadFile(ne);if(Se!==void 0)return btoa(Se)}if(he.nodeName==="CANVAS"){var Ne=he;return he.toDataURL("image/jpeg",1)}(Ne=document.createElement("canvas")).width=he.clientWidth||he.width,Ne.height=he.clientHeight||he.height;var Me=Ne.getContext("2d");if(!Me)throw"addImage requires canvas to be supported by browser.";return Me.drawImage(he,0,0,Ne.width,Ne.height),Ne.toDataURL((""+q).toLowerCase()=="png"?"image/png":"image/jpeg")},At=function(he,q){var ne;if(q){for(var Se in q)if(he===q[Se].alias){ne=q[Se];break}}return ne};be.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"},be.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"},be.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},be.sHashCode=function(ae){var he,q=0;if((ae=ae||"").length===0)return q;for(he=0;he<ae.length;he++)q=(q<<5)-q+ae.charCodeAt(he),q|=0;return q},be.isString=function(ae){return typeof ae=="string"},be.validateStringAsBase64=function(ae){(ae=ae||"").toString().trim();var he=!0;return ae.length===0&&(he=!1),ae.length%4!=0&&(he=!1),/^[A-Za-z0-9+\/]+$/.test(ae.substr(0,ae.length-2))===!1&&(he=!1),/^[A-Za-z0-9\/][A-Za-z0-9+\/]|[A-Za-z0-9+\/]=|==$/.test(ae.substr(-2))===!1&&(he=!1),he},be.extractInfoFromBase64DataURI=function(ae){return/^data:([\w]+?\/([\w]+?));\S*;*base64,(.+)$/g.exec(ae)},be.extractImageFromDataUrl=function(ae){var he=(ae=ae||"").split("base64,"),q=null;if(he.length===2){var ne=/^data:(\w*\/\w*);*(charset=[\w=-]*)*;*$/.exec(he[0]);Array.isArray(ne)&&(q={mimeType:ne[1],charset:ne[2],data:he[1]})}return q},be.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"},be.isArrayBuffer=function(ae){return!!this.supportsArrayBuffer()&&ae instanceof ArrayBuffer},be.isArrayBufferView=function(ae){return!!this.supportsArrayBuffer()&&typeof Uint32Array!="undefined"&&(ae instanceof Int8Array||ae instanceof Uint8Array||typeof Uint8ClampedArray!="undefined"&&ae instanceof Uint8ClampedArray||ae instanceof Int16Array||ae instanceof Uint16Array||ae instanceof Int32Array||ae instanceof Uint32Array||ae instanceof Float32Array||ae instanceof Float64Array)},be.binaryStringToUint8Array=function(ae){for(var he=ae.length,q=new Uint8Array(he),ne=0;ne<he;ne++)q[ne]=ae.charCodeAt(ne);return q},be.arrayBufferToBinaryString=function(ae){if(typeof atob=="function")return atob(this.arrayBufferToBase64(ae))},be.arrayBufferToBase64=function(ae){for(var he,q="",ne="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Se=new Uint8Array(ae),Ne=Se.byteLength,Me=Ne%3,$e=Ne-Me,vt=0;vt<$e;vt+=3)q+=ne[(16515072&(he=Se[vt]<<16|Se[vt+1]<<8|Se[vt+2]))>>18]+ne[(258048&he)>>12]+ne[(4032&he)>>6]+ne[63&he];return Me==1?q+=ne[(252&(he=Se[$e]))>>2]+ne[(3&he)<<4]+"==":Me==2&&(q+=ne[(64512&(he=Se[$e]<<8|Se[$e+1]))>>10]+ne[(1008&he)>>4]+ne[(15&he)<<2]+"="),q},be.createImageInfo=function(ae,he,q,ne,Se,Ne,Me,$e,vt,Wt,$t,Dt,Kt){var Gt={alias:$e,w:he,h:q,cs:ne,bpc:Se,i:Me,data:ae};return Ne&&(Gt.f=Ne),vt&&(Gt.dp=vt),Wt&&(Gt.trns=Wt),$t&&(Gt.pal=$t),Dt&&(Gt.smask=Dt),Kt&&(Gt.p=Kt),Gt},be.addImage=function(ae,he,q,ne,Se,Ne,Me,$e,vt){var Wt="";if(typeof he!="string"){var $t=Ne;Ne=Se,Se=ne,ne=q,q=he,he=$t}if(m(ae)==="object"&&!Be(ae)&&"imageData"in ae){var Dt=ae;ae=Dt.imageData,he=Dt.format||he||"UNKNOWN",q=Dt.x||q||0,ne=Dt.y||ne||0,Se=Dt.w||Se,Ne=Dt.h||Ne,Me=Dt.alias||Me,$e=Dt.compression||$e,vt=Dt.rotation||Dt.angle||vt}var Kt=this.internal.getFilters();if($e===void 0&&Kt.indexOf("FlateEncode")!==-1&&($e="SLOW"),typeof ae=="string"&&(ae=unescape(ae)),isNaN(q)||isNaN(ne))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var Gt,Qt,Mt,dr,er,ot,xt,ut=function(){var ft=this.internal.collections[me+"images"];return ft||(this.internal.collections[me+"images"]=ft={},this.internal.events.subscribe("putResources",He),this.internal.events.subscribe("putXobjectDict",ze)),ft}.call(this);if(!((Gt=At(ae,ut))||(Be(ae)&&(ae=nt(ae,he)),((xt=Me)==null||xt.length===0)&&(Me=typeof(ot=ae)=="string"?be.sHashCode(ot):be.isArrayBufferView(ot)?be.sHashCode(be.arrayBufferToBinaryString(ot)):null),Gt=At(Me,ut)))){if(this.isString(ae)&&((Wt=this.convertStringToImageData(ae))!==""||(Wt=be.loadFile(ae))!==void 0)&&(ae=Wt),he=this.getImageFileTypeByImageData(ae,he),!Xe(he))throw new Error("addImage does not support files of type '"+he+"', please ensure that a plugin for '"+he+"' support is added.");if(this.supportsArrayBuffer()&&(ae instanceof Uint8Array||(Qt=ae,ae=this.binaryStringToUint8Array(ae))),!(Gt=this["process"+he.toUpperCase()](ae,(er=0,(dr=ut)&&(er=Object.keys?Object.keys(dr).length:function(ft){var Ot=0;for(var Tt in ft)ft.hasOwnProperty(Tt)&&Ot++;return Ot}(dr)),er),Me,((Mt=$e)&&typeof Mt=="string"&&(Mt=Mt.toUpperCase()),Mt in be.image_compression?Mt:be.image_compression.NONE),Qt)))throw new Error("An unknown error occurred whilst processing the image")}return function(ft,Ot,Tt,ht,Ht,Ft,ir,Xt){var mr=function(Qr,_r,ur){return Qr||_r||(_r=Qr=-96),Qr<0&&(Qr=-1*ur.w*72/Qr/this.internal.scaleFactor),_r<0&&(_r=-1*ur.h*72/_r/this.internal.scaleFactor),Qr===0&&(Qr=_r*ur.w/ur.h),_r===0&&(_r=Qr*ur.h/ur.w),[Qr,_r]}.call(this,Tt,ht,Ht),Ar=this.internal.getCoordinateString,Nr=this.internal.getVerticalCoordinateString;if(Tt=mr[0],ht=mr[1],ir[Ft]=Ht,Xt){Xt*=Math.PI/180;var Fr=Math.cos(Xt),tn=Math.sin(Xt),qr=function(_r){return _r.toFixed(4)},Lr=[qr(Fr),qr(tn),qr(-1*tn),qr(Fr),0,0,"cm"]}this.internal.write("q"),Xt?(this.internal.write([1,"0","0",1,Ar(ft),Nr(Ot+ht),"cm"].join(" ")),this.internal.write(Lr.join(" ")),this.internal.write([Ar(Tt),"0","0",Ar(ht),"0","0","cm"].join(" "))):this.internal.write([Ar(Tt),"0","0",Ar(ht),Ar(ft),Nr(Ot+ht),"cm"].join(" ")),this.internal.write("/I"+Ht.i+" Do"),this.internal.write("Q")}.call(this,q,ne,Se,Ne,Gt,Gt.i,ut,vt),this},be.convertStringToImageData=function(ae){var he,q="";if(this.isString(ae)){var ne;he=(ne=this.extractImageFromDataUrl(ae))!==null?ne.data:ae;try{q=atob(he)}catch(Se){throw be.validateStringAsBase64(he)?new Error("atob-Error in jsPDF.convertStringToImageData "+Se.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertStringToImageData ")}}return q};var It=function(he,q){return he.subarray(q,q+5)};be.processJPEG=function(ae,he,q,ne,Se,Ne){var Me,$e=this.decode.DCT_DECODE;if(!this.isString(ae)&&!this.isArrayBuffer(ae)&&!this.isArrayBufferView(ae))return null;if(this.isString(ae)&&(Me=function(vt){var Wt;if(ue(vt)!=="JPEG")throw new Error("getJpegSize requires a binary string jpeg file");for(var $t=256*vt.charCodeAt(4)+vt.charCodeAt(5),Dt=4,Kt=vt.length;Dt<Kt;){if(Dt+=$t,vt.charCodeAt(Dt)!==255)throw new Error("getJpegSize could not find the size of the image");if(vt.charCodeAt(Dt+1)===192||vt.charCodeAt(Dt+1)===193||vt.charCodeAt(Dt+1)===194||vt.charCodeAt(Dt+1)===195||vt.charCodeAt(Dt+1)===196||vt.charCodeAt(Dt+1)===197||vt.charCodeAt(Dt+1)===198||vt.charCodeAt(Dt+1)===199)return Wt=256*vt.charCodeAt(Dt+5)+vt.charCodeAt(Dt+6),[256*vt.charCodeAt(Dt+7)+vt.charCodeAt(Dt+8),Wt,vt.charCodeAt(Dt+9)];Dt+=2,$t=256*vt.charCodeAt(Dt)+vt.charCodeAt(Dt+1)}}(ae)),this.isArrayBuffer(ae)&&(ae=new Uint8Array(ae)),this.isArrayBufferView(ae)&&(Me=function(vt){if((vt[0]<<8|vt[1])!=65496)throw new Error("Supplied data is not a JPEG");for(var Wt,$t=vt.length,Dt=(vt[4]<<8)+vt[5],Kt=4;Kt<$t;){if(Dt=((Wt=It(vt,Kt+=Dt))[2]<<8)+Wt[3],(Wt[1]===192||Wt[1]===194)&&Wt[0]===255&&7<Dt)return{width:((Wt=It(vt,Kt+5))[2]<<8)+Wt[3],height:(Wt[0]<<8)+Wt[1],numcomponents:Wt[4]};Kt+=2}throw new Error("getJpegSizeFromBytes could not find the size of the image")}(ae),ae=Se||this.arrayBufferToBinaryString(ae)),Ne===void 0)switch(Me.numcomponents){case 1:Ne=this.color_spaces.DEVICE_GRAY;break;case 4:Ne=this.color_spaces.DEVICE_CMYK;break;default:case 3:Ne=this.color_spaces.DEVICE_RGB}return this.createImageInfo(ae,Me.width,Me.height,Ne,8,$e,he,q)},be.processJPG=function(){return this.processJPEG.apply(this,arguments)},be.getImageProperties=function(ae){var he,q,ne="";if(Be(ae)&&(ae=nt(ae)),this.isString(ae)&&((ne=this.convertStringToImageData(ae))!==""||(ne=be.loadFile(ae))!==void 0)&&(ae=ne),q=this.getImageFileTypeByImageData(ae),!Xe(q))throw new Error("addImage does not support files of type '"+q+"', please ensure that a plugin for '"+q+"' support is added.");if(this.supportsArrayBuffer()&&(ae instanceof Uint8Array||(ae=this.binaryStringToUint8Array(ae))),!(he=this["process"+q.toUpperCase()](ae)))throw new Error("An unknown error occurred whilst processing the image");return{fileType:q,width:he.w,height:he.h,colorSpace:he.cs,compressionMode:he.f,bitsPerComponent:he.bpc}}}(mt.API),v=mt.API,mt.API.events.push(["addPage",function(be){this.internal.getPageInfo(be.pageNumber).pageContext.annotations=[]}]),v.events.push(["putPage",function(be){for(var me=this.internal.getPageInfoByObjId(be.objId),pe=be.pageContext.annotations,ue=function($e){if($e!==void 0&&$e!="")return!0},De=!1,He=0;He<pe.length&&!De;He++)switch((Be=pe[He]).type){case"link":if(ue(Be.options.url)||ue(Be.options.pageNumber)){De=!0;break}case"reference":case"text":case"freetext":De=!0}if(De!=0){this.internal.write("/Annots ["),this.internal.pageSize.height;var ze=this.internal.getCoordinateString,Xe=this.internal.getVerticalCoordinateString;for(He=0;He<pe.length;He++){var Be;switch((Be=pe[He]).type){case"reference":this.internal.write(" "+Be.object.objId+" 0 R ");break;case"text":var nt=this.internal.newAdditionalObject(),At=this.internal.newAdditionalObject(),It=Be.title||"Note";Se="<</Type /Annot /Subtype /Text "+(he="/Rect ["+ze(Be.bounds.x)+" "+Xe(Be.bounds.y+Be.bounds.h)+" "+ze(Be.bounds.x+Be.bounds.w)+" "+Xe(Be.bounds.y)+"] ")+"/Contents ("+Be.contents+")",Se+=" /Popup "+At.objId+" 0 R",Se+=" /P "+me.objId+" 0 R",Se+=" /T ("+It+") >>",nt.content=Se;var ae=nt.objId+" 0 R";Se="<</Type /Annot /Subtype /Popup "+(he="/Rect ["+ze(Be.bounds.x+30)+" "+Xe(Be.bounds.y+Be.bounds.h)+" "+ze(Be.bounds.x+Be.bounds.w+30)+" "+Xe(Be.bounds.y)+"] ")+" /Parent "+ae,Be.open&&(Se+=" /Open true"),Se+=" >>",At.content=Se,this.internal.write(nt.objId,"0 R",At.objId,"0 R");break;case"freetext":var he="/Rect ["+ze(Be.bounds.x)+" "+Xe(Be.bounds.y)+" "+ze(Be.bounds.x+Be.bounds.w)+" "+Xe(Be.bounds.y+Be.bounds.h)+"] ",q=Be.color||"#000000";Se="<</Type /Annot /Subtype /FreeText "+he+"/Contents ("+Be.contents+")",Se+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+q+")",Se+=" /Border [0 0 0]",Se+=" >>",this.internal.write(Se);break;case"link":if(Be.options.name){var ne=this.annotations._nameMap[Be.options.name];Be.options.pageNumber=ne.page,Be.options.top=ne.y}else Be.options.top||(Be.options.top=0);he="/Rect ["+ze(Be.x)+" "+Xe(Be.y)+" "+ze(Be.x+Be.w)+" "+Xe(Be.y+Be.h)+"] ";var Se="";if(Be.options.url)Se="<</Type /Annot /Subtype /Link "+he+"/Border [0 0 0] /A <</S /URI /URI ("+Be.options.url+") >>";else if(Be.options.pageNumber)switch(Se="<</Type /Annot /Subtype /Link "+he+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(Be.options.pageNumber).objId+" 0 R",Be.options.magFactor=Be.options.magFactor||"XYZ",Be.options.magFactor){case"Fit":Se+=" /Fit]";break;case"FitH":Se+=" /FitH "+Be.options.top+"]";break;case"FitV":Be.options.left=Be.options.left||0,Se+=" /FitV "+Be.options.left+"]";break;case"XYZ":default:var Ne=Xe(Be.options.top);Be.options.left=Be.options.left||0,Be.options.zoom===void 0&&(Be.options.zoom=0),Se+=" /XYZ "+Be.options.left+" "+Ne+" "+Be.options.zoom+"]"}Se!=""&&(Se+=" >>",this.internal.write(Se))}}this.internal.write("]")}}]),v.createAnnotation=function(be){var me=this.internal.getCurrentPageInfo();switch(be.type){case"link":this.link(be.bounds.x,be.bounds.y,be.bounds.w,be.bounds.h,be);break;case"text":case"freetext":me.pageContext.annotations.push(be)}},v.link=function(be,me,pe,ue,De){this.internal.getCurrentPageInfo().pageContext.annotations.push({x:be,y:me,w:pe,h:ue,options:De,type:"link"})},v.textWithLink=function(be,me,pe,ue){var De=this.getTextWidth(be),He=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(be,me,pe),pe+=.2*He,this.link(me,pe-He,De,He,ue),De},v.getTextWidth=function(be){var me=this.internal.getFontSize();return this.getStringUnitWidth(be)*me/this.internal.scaleFactor},function(be){var me={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]},pe={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}},ue={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},De=[1570,1571,1573,1575];be.__arabicParser__={};var He=be.__arabicParser__.isInArabicSubstitutionA=function(q){return me[q.charCodeAt(0)]!==void 0},ze=be.__arabicParser__.isArabicLetter=function(q){return typeof q=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(q)},Xe=be.__arabicParser__.isArabicEndLetter=function(q){return ze(q)&&He(q)&&me[q.charCodeAt(0)].length<=2},Be=be.__arabicParser__.isArabicAlfLetter=function(q){return ze(q)&&0<=De.indexOf(q.charCodeAt(0))},nt=(be.__arabicParser__.arabicLetterHasIsolatedForm=function(q){return ze(q)&&He(q)&&1<=me[q.charCodeAt(0)].length},be.__arabicParser__.arabicLetterHasFinalForm=function(q){return ze(q)&&He(q)&&2<=me[q.charCodeAt(0)].length}),At=(be.__arabicParser__.arabicLetterHasInitialForm=function(q){return ze(q)&&He(q)&&3<=me[q.charCodeAt(0)].length},be.__arabicParser__.arabicLetterHasMedialForm=function(q){return ze(q)&&He(q)&&me[q.charCodeAt(0)].length==4}),It=be.__arabicParser__.resolveLigatures=function(q){var ne=0,Se=pe,Ne=0,Me="",$e=0;for(ne=0;ne<q.length;ne+=1)Se[q.charCodeAt(ne)]!==void 0?($e++,typeof(Se=Se[q.charCodeAt(ne)])=="number"&&(Ne=(Ne=ae(q.charAt(ne),q.charAt(ne-$e),q.charAt(ne+1)))!==-1?Ne:0,Me+=String.fromCharCode(Se),Se=pe,$e=0),ne===q.length-1&&(Se=pe,Me+=q.charAt(ne-($e-1)),ne-=$e-1,$e=0)):(Se=pe,Me+=q.charAt(ne-$e),ne-=$e,$e=0);return Me},ae=(be.__arabicParser__.isArabicDiacritic=function(q){return q!==void 0&&ue[q.charCodeAt(0)]!==void 0},be.__arabicParser__.getCorrectForm=function(q,ne,Se){return ze(q)?He(q)===!1?-1:!nt(q)||!ze(ne)&&!ze(Se)||!ze(Se)&&Xe(ne)||Xe(q)&&!ze(ne)||Xe(q)&&Be(ne)||Xe(q)&&Xe(ne)?0:At(q)&&ze(ne)&&!Xe(ne)&&ze(Se)&&nt(Se)?3:Xe(q)||!ze(Se)?1:2:-1}),he=be.__arabicParser__.processArabic=be.processArabic=function(q){var ne=0,Se=0,Ne=0,Me="",$e="",vt="",Wt=(q=q||"").split("\\s+"),$t=[];for(ne=0;ne<Wt.length;ne+=1){for($t.push(""),Se=0;Se<Wt[ne].length;Se+=1)Me=Wt[ne][Se],$e=Wt[ne][Se-1],vt=Wt[ne][Se+1],ze(Me)?(Ne=ae(Me,$e,vt),$t[ne]+=Ne!==-1?String.fromCharCode(me[Me.charCodeAt(0)][Ne]):Me):$t[ne]+=Me;$t[ne]=It($t[ne])}return $t.join(" ")};be.events.push(["preProcessText",function(q){var ne=q.text,Se=(q.x,q.y,q.options||{}),Ne=(q.mutex,Se.lang,[]);if(Object.prototype.toString.call(ne)==="[object Array]"){var Me=0;for(Ne=[],Me=0;Me<ne.length;Me+=1)Object.prototype.toString.call(ne[Me])==="[object Array]"?Ne.push([he(ne[Me][0]),ne[Me][1],ne[Me][2]]):Ne.push([he(ne[Me])]);q.text=Ne}else q.text=he(ne)}])}(mt.API),mt.API.autoPrint=function(be){var me;switch((be=be||{}).variant=be.variant||"non-conform",be.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){me=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 "+me+" 0 R")})}return this},h=mt.API,(c=function(){var me=void 0;Object.defineProperty(this,"pdf",{get:function(){return me},set:function(Xe){me=Xe}});var pe=150;Object.defineProperty(this,"width",{get:function(){return pe},set:function(Xe){pe=isNaN(Xe)||Number.isInteger(Xe)===!1||Xe<0?150:Xe,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=pe+1)}});var ue=300;Object.defineProperty(this,"height",{get:function(){return ue},set:function(Xe){ue=isNaN(Xe)||Number.isInteger(Xe)===!1||Xe<0?300:Xe,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=ue+1)}});var De=[];Object.defineProperty(this,"childNodes",{get:function(){return De},set:function(Xe){De=Xe}});var He={};Object.defineProperty(this,"style",{get:function(){return He},set:function(Xe){He=Xe}}),Object.defineProperty(this,"parentNode",{get:function(){return!1}})}).prototype.getContext=function(be,me){var pe;if((be=be||"2d")!=="2d")return null;for(pe in me)this.pdf.context2d.hasOwnProperty(pe)&&(this.pdf.context2d[pe]=me[pe]);return(this.pdf.context2d._canvas=this).pdf.context2d},c.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},h.events.push(["initialized",function(){this.canvas=new c,this.canvas.pdf=this}]),a=mt.API,r={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},o=1,d=function(me,pe,ue,De,He){r={x:me,y:pe,w:ue,h:De,ln:He}},n=function(){return r},l={left:0,top:0,bottom:0},a.setHeaderFunction=function(be){i=be},a.getTextDimensions=function(be,me){var pe=this.table_font_size||this.internal.getFontSize(),ue=(this.internal.getFont().fontStyle,(me=me||{}).scaleFactor||this.internal.scaleFactor),De=0,He=0,ze=0;if(typeof be=="string")(De=this.getStringUnitWidth(be)*pe)!=0&&(He=1);else{if(Object.prototype.toString.call(be)!=="[object Array]")throw new Error("getTextDimensions expects text-parameter to be of type String or an Array of Strings.");for(var Xe=0;Xe<be.length;Xe++)De<(ze=this.getStringUnitWidth(be[Xe])*pe)&&(De=ze);De!==0&&(He=be.length)}return{w:De/=ue,h:Math.max((He*pe*this.getLineHeightFactor()-pe*(this.getLineHeightFactor()-1))/ue,0)}},a.cellAddPage=function(){var be=this.margins||l;this.addPage(),d(be.left,be.top,void 0,void 0),o+=1},a.cellInitialize=function(){r={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},o=1},a.cell=function(be,me,pe,ue,De,He,ze){var Xe=n(),Be=!1;if(Xe.ln!==void 0)if(Xe.ln===He)be=Xe.x+Xe.w,me=Xe.y;else{var nt=this.margins||l;Xe.y+Xe.h+ue+13>=this.internal.pageSize.getHeight()-nt.bottom&&(this.cellAddPage(),Be=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(He,!0)),me=n().y+n().h,Be&&(me=23)}if(De[0]!==void 0)if(this.printingHeaderRow?this.rect(be,me,pe,ue,"FD"):this.rect(be,me,pe,ue),ze==="right"){De instanceof Array||(De=[De]);for(var At=0;At<De.length;At++){var It=De[At],ae=this.getStringUnitWidth(It)*this.internal.getFontSize()/this.internal.scaleFactor;this.text(It,be+pe-ae-3,me+this.internal.getLineHeight()*(At+1))}}else this.text(De,be+3,me+this.internal.getLineHeight());return d(be,me,pe,ue,He),this},a.arrayMax=function(be,me){var pe,ue,De,He=be[0];for(pe=0,ue=be.length;pe<ue;pe+=1)De=be[pe],me?me(He,De)===-1&&(He=De):He<De&&(He=De);return He},a.table=function(be,me,pe,ue,De){if(!pe)throw"No data for PDF table";var He,ze,Xe,Be,nt,At,It,ae,he,q,ne=[],Se=[],Ne={},Me={},$e=[],vt=[],Wt=!1,$t=!0,Dt=12,Kt=l;if(Kt.width=this.internal.pageSize.getWidth(),De&&(De.autoSize===!0&&(Wt=!0),De.printHeaders===!1&&($t=!1),De.fontSize&&(Dt=De.fontSize),De.css&&De.css["font-size"]!==void 0&&(Dt=16*De.css["font-size"]),De.margins&&(Kt=De.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=Kt,this.setFontSize(Dt),this.table_font_size=Dt,ue==null)ne=Object.keys(pe[0]);else if(ue[0]&&typeof ue[0]!="string")for(ze=0,Xe=ue.length;ze<Xe;ze+=1)He=ue[ze],ne.push(He.name),Se.push(He.prompt),Me[He.name]=He.width*(19.049976/25.4);else ne=ue;if(Wt)for(q=function(Mt){return Mt[He]},ze=0,Xe=ne.length;ze<Xe;ze+=1){for(Ne[He=ne[ze]]=pe.map(q),$e.push(this.getTextDimensions(Se[ze]||He,{scaleFactor:1}).w),It=0,Be=(At=Ne[He]).length;It<Be;It+=1)nt=At[It],$e.push(this.getTextDimensions(nt,{scaleFactor:1}).w);Me[He]=a.arrayMax($e),$e=[]}if($t){var Gt=this.calculateLineHeight(ne,Me,Se.length?Se:ne);for(ze=0,Xe=ne.length;ze<Xe;ze+=1)He=ne[ze],vt.push([be,me,Me[He],Gt,String(Se.length?Se[ze]:He)]);this.setTableHeaderRow(vt),this.printHeaderRow(1,!1)}for(ze=0,Xe=pe.length;ze<Xe;ze+=1)for(ae=pe[ze],Gt=this.calculateLineHeight(ne,Me,ae),It=0,he=ne.length;It<he;It+=1)He=ne[It],this.cell(be,me,Me[He],Gt,ae[He],ze+2,He.align);return this.lastCellPos=r,this.table_x=be,this.table_y=me,this},a.calculateLineHeight=function(be,me,pe){for(var ue,De=0,He=0;He<be.length;He++){pe[ue=be[He]]=this.splitTextToSize(String(pe[ue]),me[ue]-3);var ze=this.internal.getLineHeight()*pe[ue].length+3;De<ze&&(De=ze)}return De},a.setTableHeaderRow=function(be){this.tableHeaderRow=be},a.printHeaderRow=function(be,me){if(!this.tableHeaderRow)throw"Property tableHeaderRow does not exist.";var pe,ue,De,He;if(this.printingHeaderRow=!0,i!==void 0){var ze=i(this,o);d(ze[0],ze[1],ze[2],ze[3],-1)}this.setFontStyle("bold");var Xe=[];for(De=0,He=this.tableHeaderRow.length;De<He;De+=1)this.setFillColor(200,200,200),pe=this.tableHeaderRow[De],me&&(this.margins.top=13,pe[1]=this.margins&&this.margins.top||0,Xe.push(pe)),ue=[].concat(pe),this.cell.apply(this,ue.concat(be));0<Xe.length&&this.setTableHeaderRow(Xe),this.setFontStyle("normal"),this.printingHeaderRow=!1},function(be,me){var pe,ue,De,He,ze,Xe=function(ht){return ht=ht||{},this.isStrokeTransparent=ht.isStrokeTransparent||!1,this.strokeOpacity=ht.strokeOpacity||1,this.strokeStyle=ht.strokeStyle||"#000000",this.fillStyle=ht.fillStyle||"#000000",this.isFillTransparent=ht.isFillTransparent||!1,this.fillOpacity=ht.fillOpacity||1,this.font=ht.font||"10px sans-serif",this.textBaseline=ht.textBaseline||"alphabetic",this.textAlign=ht.textAlign||"left",this.lineWidth=ht.lineWidth||1,this.lineJoin=ht.lineJoin||"miter",this.lineCap=ht.lineCap||"butt",this.path=ht.path||[],this.transform=ht.transform!==void 0?ht.transform.clone():new Ot,this.globalCompositeOperation=ht.globalCompositeOperation||"normal",this.globalAlpha=ht.globalAlpha||1,this.clip_path=ht.clip_path||[],this.currentPoint=ht.currentPoint||new ut,this.miterLimit=ht.miterLimit||10,this.lastPoint=ht.lastPoint||new ut,this.ignoreClearRect=typeof ht.ignoreClearRect!="boolean"||ht.ignoreClearRect,this};be.events.push(["initialized",function(){this.context2d=new Be(this),pe=this.internal.f2,this.internal.f3,ue=this.internal.getCoordinateString,De=this.internal.getVerticalCoordinateString,He=this.internal.getHorizontalCoordinate,ze=this.internal.getVerticalCoordinate}]);var Be=function(ht){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}}),Object.defineProperty(this,"pdf",{get:function(){return ht}});var Ht=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return Ht},set:function(Lr){Ht=Boolean(Lr)}});var Ft=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return Ft},set:function(Lr){Ft=Boolean(Lr)}});var ir=0;Object.defineProperty(this,"posX",{get:function(){return ir},set:function(Lr){isNaN(Lr)||(ir=Lr)}});var Xt=0;Object.defineProperty(this,"posY",{get:function(){return Xt},set:function(Lr){isNaN(Lr)||(Xt=Lr)}});var mr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return mr},set:function(Lr){mr=Boolean(Lr)}});var Ar=0;Object.defineProperty(this,"lastBreak",{get:function(){return Ar},set:function(Lr){Ar=Lr}});var Nr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Nr},set:function(Lr){Nr=Lr}});var Fr=new Xe;Object.defineProperty(this,"ctx",{get:function(){return Fr},set:function(Lr){Lr instanceof Xe&&(Fr=Lr)}}),Object.defineProperty(this,"path",{get:function(){return Fr.path},set:function(Lr){Fr.path=Lr}});var tn=[];Object.defineProperty(this,"ctxStack",{get:function(){return tn},set:function(Lr){tn=Lr}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Lr){var Qr;Qr=nt(Lr),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(Lr){var Qr=nt(Lr);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(Lr){["butt","round","square"].indexOf(Lr)!==-1&&(this.ctx.lineCap=Lr,this.pdf.setLineCap(Lr))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Lr){isNaN(Lr)||(this.ctx.lineWidth=Lr,this.pdf.setLineWidth(Lr))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Lr){["bevel","round","miter"].indexOf(Lr)!==-1&&(this.ctx.lineJoin=Lr,this.pdf.setLineJoin(Lr))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Lr){isNaN(Lr)||(this.ctx.miterLimit=Lr,this.pdf.setMiterLimit(Lr))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Lr){this.ctx.textBaseline=Lr}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Lr){["right","end","center","left","start"].indexOf(Lr)!==-1&&(this.ctx.textAlign=Lr)}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Lr){var Qr;if(this.ctx.font=Lr,(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(Lr))!==null){var _r=Qr[1],ur=(Qr[2],Qr[3]),pr=Qr[4],cr=Qr[5],fr=Qr[6];pr=cr==="px"?Math.floor(parseFloat(pr)):cr==="em"?Math.floor(parseFloat(pr)*this.pdf.getFontSize()):Math.floor(parseFloat(pr)),this.pdf.setFontSize(pr);var xr="";(ur==="bold"||700<=parseInt(ur,10)||_r==="bold")&&(xr="bold"),_r==="italic"&&(xr+="italic"),xr.length===0&&(xr="normal");for(var Yr="",un=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<un.length;jr++){if(this.pdf.internal.getFont(un[jr],xr,{noFallback:!0,disableWarning:!0})!==void 0){Yr=un[jr];break}if(xr==="bolditalic"&&this.pdf.internal.getFont(un[jr],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Yr=un[jr],xr="bold";else if(this.pdf.internal.getFont(un[jr],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Yr=un[jr],xr="normal";break}}if(Yr===""){for(jr=0;jr<un.length;jr++)if(Nn[un[jr]]){Yr=Nn[un[jr]];break}}Yr=Yr===""?"Times":Yr,this.pdf.setFont(Yr,xr)}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(Lr){this.ctx.globalCompositeOperation=Lr}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(Lr){this.ctx.globalAlpha=Lr}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(Lr){this.ctx.ignoreClearRect=Boolean(Lr)}})};Be.prototype.fill=function(){ne.call(this,"fill",!1)},Be.prototype.stroke=function(){ne.call(this,"stroke",!1)},Be.prototype.beginPath=function(){this.path=[{type:"begin"}]},Be.prototype.moveTo=function(Tt,ht){if(isNaN(Tt)||isNaN(ht))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 ut(Tt,ht));this.path.push({type:"mt",x:Ht.x,y:Ht.y}),this.ctx.lastPoint=new ut(Tt,ht)},Be.prototype.closePath=function(){var Tt=new ut(0,0),ht=0;for(ht=this.path.length-1;ht!==-1;ht--)if(this.path[ht].type==="begin"&&m(this.path[ht+1])==="object"&&typeof this.path[ht+1].x=="number"){Tt=new ut(this.path[ht+1].x,this.path[ht+1].y),this.path.push({type:"lt",x:Tt.x,y:Tt.y});break}m(this.path[ht+2])==="object"&&typeof this.path[ht+2].x=="number"&&this.path.push(JSON.parse(JSON.stringify(this.path[ht+2]))),this.path.push({type:"close"}),this.ctx.lastPoint=new ut(Tt.x,Tt.y)},Be.prototype.lineTo=function(Tt,ht){if(isNaN(Tt)||isNaN(ht))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 ut(Tt,ht));this.path.push({type:"lt",x:Ht.x,y:Ht.y}),this.ctx.lastPoint=new ut(Ht.x,Ht.y)},Be.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),ne.call(this,null,!0)},Be.prototype.quadraticCurveTo=function(Tt,ht,Ht,Ft){if(isNaN(Ht)||isNaN(Ft)||isNaN(Tt)||isNaN(ht))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 ut(Ht,Ft)),Xt=this.ctx.transform.applyToPoint(new ut(Tt,ht));this.path.push({type:"qct",x1:Xt.x,y1:Xt.y,x:ir.x,y:ir.y}),this.ctx.lastPoint=new ut(ir.x,ir.y)},Be.prototype.bezierCurveTo=function(Tt,ht,Ht,Ft,ir,Xt){if(isNaN(ir)||isNaN(Xt)||isNaN(Tt)||isNaN(ht)||isNaN(Ht)||isNaN(Ft))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 ut(ir,Xt)),Ar=this.ctx.transform.applyToPoint(new ut(Tt,ht)),Nr=this.ctx.transform.applyToPoint(new ut(Ht,Ft));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 ut(mr.x,mr.y)},Be.prototype.arc=function(Tt,ht,Ht,Ft,ir,Xt){if(isNaN(Tt)||isNaN(ht)||isNaN(Ht)||isNaN(Ft)||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 ut(Tt,ht));Tt=mr.x,ht=mr.y;var Ar=this.ctx.transform.applyToPoint(new ut(0,Ht)),Nr=this.ctx.transform.applyToPoint(new ut(0,0));Ht=Math.sqrt(Math.pow(Ar.x-Nr.x,2)+Math.pow(Ar.y-Nr.y,2))}Math.abs(ir-Ft)>=2*Math.PI&&(Ft=0,ir=2*Math.PI),this.path.push({type:"arc",x:Tt,y:ht,radius:Ht,startAngle:Ft,endAngle:ir,counterclockwise:Xt})},Be.prototype.arcTo=function(Tt,ht,Ht,Ft,ir){throw new Error("arcTo not implemented.")},Be.prototype.rect=function(Tt,ht,Ht,Ft){if(isNaN(Tt)||isNaN(ht)||isNaN(Ht)||isNaN(Ft))throw console.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Tt,ht),this.lineTo(Tt+Ht,ht),this.lineTo(Tt+Ht,ht+Ft),this.lineTo(Tt,ht+Ft),this.lineTo(Tt,ht),this.lineTo(Tt+Ht,ht),this.lineTo(Tt,ht)},Be.prototype.fillRect=function(Tt,ht,Ht,Ft){if(isNaN(Tt)||isNaN(ht)||isNaN(Ht)||isNaN(Ft))throw console.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!At.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(Tt,ht,Ht,Ft),this.fill(),ir.hasOwnProperty("lineCap")&&(this.lineCap=ir.lineCap),ir.hasOwnProperty("lineJoin")&&(this.lineJoin=ir.lineJoin)}},Be.prototype.strokeRect=function(Tt,ht,Ht,Ft){if(isNaN(Tt)||isNaN(ht)||isNaN(Ht)||isNaN(Ft))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(Tt,ht,Ht,Ft),this.stroke())},Be.prototype.clearRect=function(Tt,ht,Ht,Ft){if(isNaN(Tt)||isNaN(ht)||isNaN(Ht)||isNaN(Ft))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(Tt,ht,Ht,Ft))},Be.prototype.save=function(Tt){Tt=typeof Tt!="boolean"||Tt;for(var ht=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(ht),Tt){this.ctx.fontSize=this.pdf.internal.getFontSize();var Ft=new Xe(this.ctx);this.ctxStack.push(this.ctx),this.ctx=Ft}},Be.prototype.restore=function(Tt){Tt=typeof Tt!="boolean"||Tt;for(var ht=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(ht),Tt&&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)},Be.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var nt=function(ht){var Ht,Ft,ir,Xt;if(ht.isCanvasGradient===!0&&(ht=ht.getColor()),!ht)return{r:0,g:0,b:0,a:0,style:ht};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(ht))Xt=ir=Ft=Ht=0;else{var mr=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(ht);if(mr!==null)Ht=parseInt(mr[1]),Ft=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(ht))!==null)Ht=parseInt(mr[1]),Ft=parseInt(mr[2]),ir=parseInt(mr[3]),Xt=parseFloat(mr[4]);else{if(Xt=1,typeof ht=="string"&&ht.charAt(0)!=="#"){var Ar=new RGBColor(ht);ht=Ar.ok?Ar.toHex():"#000000"}ht.length===4?(Ht=ht.substring(1,2),Ht+=Ht,Ft=ht.substring(2,3),Ft+=Ft,ir=ht.substring(3,4),ir+=ir):(Ht=ht.substring(1,3),Ft=ht.substring(3,5),ir=ht.substring(5,7)),Ht=parseInt(Ht,16),Ft=parseInt(Ft,16),ir=parseInt(ir,16)}}return{r:Ht,g:Ft,b:ir,a:Xt,style:ht}},At=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},It=function(){return Boolean(this.ctx.isStrokeTransparent||this.globalAlpha==0)};Be.prototype.fillText=function(Tt,ht,Ht,Ft){if(isNaN(ht)||isNaN(Ht)||typeof Tt!="string")throw console.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(Ft=isNaN(Ft)?void 0:Ft,!At.call(this)){Ht=Ne.call(this,Ht);var ir=dr(this.ctx.transform.rotation),Xt=this.ctx.transform.scaleX;$t.call(this,{text:Tt,x:ht,y:Ht,scale:Xt,angle:ir,align:this.textAlign,maxWidth:Ft})}},Be.prototype.strokeText=function(Tt,ht,Ht,Ft){if(isNaN(ht)||isNaN(Ht)||typeof Tt!="string")throw console.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!It.call(this)){Ft=isNaN(Ft)?void 0:Ft,Ht=Ne.call(this,Ht);var ir=dr(this.ctx.transform.rotation),Xt=this.ctx.transform.scaleX;$t.call(this,{text:Tt,x:ht,y:Ht,scale:Xt,renderingMode:"stroke",angle:ir,align:this.textAlign,maxWidth:Ft})}},Be.prototype.measureText=function(Tt){if(typeof Tt!="string")throw console.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var ht=this.pdf,Ht=this.pdf.internal.scaleFactor,Ft=ht.internal.getFontSize(),ir=ht.getStringUnitWidth(Tt)*Ft/ht.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})},Be.prototype.scale=function(Tt,ht){if(isNaN(Tt)||isNaN(ht))throw console.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var Ht=new Ot(Tt,0,0,ht,0,0);this.ctx.transform=this.ctx.transform.multiply(Ht)},Be.prototype.rotate=function(Tt){if(isNaN(Tt))throw console.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var ht=new Ot(Math.cos(Tt),Math.sin(Tt),-Math.sin(Tt),Math.cos(Tt),0,0);this.ctx.transform=this.ctx.transform.multiply(ht)},Be.prototype.translate=function(Tt,ht){if(isNaN(Tt)||isNaN(ht))throw console.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var Ht=new Ot(1,0,0,1,Tt,ht);this.ctx.transform=this.ctx.transform.multiply(Ht)},Be.prototype.transform=function(Tt,ht,Ht,Ft,ir,Xt){if(isNaN(Tt)||isNaN(ht)||isNaN(Ht)||isNaN(Ft)||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 Ot(Tt,ht,Ht,Ft,ir,Xt);this.ctx.transform=this.ctx.transform.multiply(mr)},Be.prototype.setTransform=function(Tt,ht,Ht,Ft,ir,Xt){Tt=isNaN(Tt)?1:Tt,ht=isNaN(ht)?0:ht,Ht=isNaN(Ht)?0:Ht,Ft=isNaN(Ft)?1:Ft,ir=isNaN(ir)?0:ir,Xt=isNaN(Xt)?0:Xt,this.ctx.transform=new Ot(Tt,ht,Ht,Ft,ir,Xt)},Be.prototype.drawImage=function(Tt,ht,Ht,Ft,ir,Xt,mr,Ar,Nr){var Fr=this.pdf.getImageProperties(Tt),tn=1,qr=1,Lr=1,Qr=1;Ft!==void 0&&Ar!==void 0&&(Lr=Ar/Ft,Qr=Nr/ir,tn=Fr.width/Ft*Ar/Ft,qr=Fr.height/ir*Nr/ir),Xt===void 0&&(Xt=ht,mr=Ht,Ht=ht=0),Ft!==void 0&&Ar===void 0&&(Ar=Ft,Nr=ir),Ft===void 0&&Ar===void 0&&(Ar=Fr.width,Nr=Fr.height);var _r=this.ctx.transform.decompose(),ur=dr(_r.rotate.shx);_r.scale.sx,_r.scale.sy;for(var pr,cr=new Ot,fr=((cr=(cr=(cr=cr.multiply(_r.translate)).multiply(_r.skew)).multiply(_r.scale)).applyToPoint(new ut(Ar,Nr)),cr.applyToRectangle(new ft(Xt-ht*Lr,mr-Ht*Qr,Ft*tn,ir*qr))),xr=ae.call(this,fr),Yr=[],un=0;un<xr.length;un+=1)Yr.indexOf(xr[un])===-1&&Yr.push(xr[un]);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=q(pr,this.posX,-1*this.pdf.internal.pageSize.height*(Tn-1)+this.posY),Se.call(this,"fill",!0),this.path=gn}var Bn=JSON.parse(JSON.stringify(fr));Bn=q([Bn],this.posX,-1*this.pdf.internal.pageSize.height*(Tn-1)+this.posY)[0],this.pdf.addImage(Tt,"jpg",Bn.x,Bn.y,Bn.w,Bn.h,null,null,ur)}else this.pdf.addImage(Tt,"jpg",fr.x,fr.y,fr.w,fr.h,null,null,ur)};var ae=function(ht,Ht,Ft){var ir=[];switch(Ht=Ht||this.pdf.internal.pageSize.width,Ft=Ft||this.pdf.internal.pageSize.height,ht.type){default:case"mt":case"lt":ir.push(Math.floor((ht.y+this.posY)/Ft)+1);break;case"arc":ir.push(Math.floor((ht.y+this.posY-ht.radius)/Ft)+1),ir.push(Math.floor((ht.y+this.posY+ht.radius)/Ft)+1);break;case"qct":var Xt=ot(this.ctx.lastPoint.x,this.ctx.lastPoint.y,ht.x1,ht.y1,ht.x,ht.y);ir.push(Math.floor(Xt.y/Ft)+1),ir.push(Math.floor((Xt.y+Xt.h)/Ft)+1);break;case"bct":var mr=xt(this.ctx.lastPoint.x,this.ctx.lastPoint.y,ht.x1,ht.y1,ht.x2,ht.y2,ht.x,ht.y);ir.push(Math.floor(mr.y/Ft)+1),ir.push(Math.floor((mr.y+mr.h)/Ft)+1);break;case"rect":ir.push(Math.floor((ht.y+this.posY)/Ft)+1),ir.push(Math.floor((ht.y+ht.h+this.posY)/Ft)+1)}for(var Ar=0;Ar<ir.length;Ar+=1)for(;this.pdf.internal.getNumberOfPages()<ir[Ar];)he.call(this);return ir},he=function(){var ht=this.fillStyle,Ht=this.strokeStyle,Ft=this.font,ir=this.lineCap,Xt=this.lineWidth,mr=this.lineJoin;this.pdf.addPage(),this.fillStyle=ht,this.strokeStyle=Ht,this.font=Ft,this.lineCap=ir,this.lineWidth=Xt,this.lineJoin=mr},q=function(ht,Ht,Ft){for(var ir=0;ir<ht.length;ir++)switch(ht[ir].type){case"bct":ht[ir].x2+=Ht,ht[ir].y2+=Ft;case"qct":ht[ir].x1+=Ht,ht[ir].y1+=Ft;case"mt":case"lt":case"arc":default:ht[ir].x+=Ht,ht[ir].y+=Ft}return ht},ne=function(ht,Ht){for(var Ft,ir,Xt=this.fillStyle,mr=this.strokeStyle,Ar=(this.font,this.lineCap),Nr=this.lineWidth,Fr=this.lineJoin,tn=JSON.parse(JSON.stringify(this.path)),qr=JSON.parse(JSON.stringify(this.path)),Lr=[],Qr=0;Qr<qr.length;Qr++)if(qr[Qr].x!==void 0)for(var _r=ae.call(this,qr[Qr]),ur=0;ur<_r.length;ur+=1)Lr.indexOf(_r[ur])===-1&&Lr.push(_r[ur]);for(Qr=0;Qr<Lr.length;Qr++)for(;this.pdf.internal.getNumberOfPages()<Lr[Qr];)he.call(this);if(Lr.sort(),this.autoPaging){var pr=Lr[0],cr=Lr[Lr.length-1];for(Qr=pr;Qr<cr+1;Qr++){if(this.pdf.setPage(Qr),this.fillStyle=Xt,this.strokeStyle=mr,this.lineCap=Ar,this.lineWidth=Nr,this.lineJoin=Fr,this.ctx.clip_path.length!==0){var fr=this.path;Ft=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=q(Ft,this.posX,-1*this.pdf.internal.pageSize.height*(Qr-1)+this.posY),Se.call(this,ht,!0),this.path=fr}ir=JSON.parse(JSON.stringify(tn)),this.path=q(ir,this.posX,-1*this.pdf.internal.pageSize.height*(Qr-1)+this.posY),Ht!==!1&&Qr!==0||Se.call(this,ht,Ht)}}else Se.call(this,ht,Ht);this.path=tn},Se=function(ht,Ht){if((ht!=="stroke"||Ht||!It.call(this))&&(ht==="stroke"||Ht||!At.call(this))){var Ft=[];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":Ft.push({begin:!0});break;case"close":Ft.push({close:!0});break;case"mt":Ft.push({start:Ar,deltas:[],abs:[]});break;case"lt":var Nr=Ft.length;if(!isNaN(Xt[mr-1].x)){var Fr=[Ar.x-Xt[mr-1].x,Ar.y-Xt[mr-1].y];if(0<Nr){for(;0<=Nr;Nr--)if(Ft[Nr-1].close!==!0&&Ft[Nr-1].begin!==!0){Ft[Nr-1].deltas.push(Fr),Ft[Nr-1].abs.push(Ar);break}}}break;case"bct":Fr=[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],Ft[Ft.length-1].deltas.push(Fr);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),Lr=Ar.x+2/3*(Ar.x1-Ar.x),Qr=Ar.y+2/3*(Ar.y1-Ar.y),_r=Ar.x,ur=Ar.y;Fr=[tn-Xt[mr-1].x,qr-Xt[mr-1].y,Lr-Xt[mr-1].x,Qr-Xt[mr-1].y,_r-Xt[mr-1].x,ur-Xt[mr-1].y],Ft[Ft.length-1].deltas.push(Fr);break;case"arc":Ft.push({deltas:[],abs:[],arc:!0}),Array.isArray(Ft[Ft.length-1].abs)&&Ft[Ft.length-1].abs.push(Ar)}}for(ir=Ht?null:ht==="stroke"?"stroke":"fill",mr=0;mr<Ft.length;mr++){if(Ft[mr].arc)for(var pr=Ft[mr].abs,cr=0;cr<pr.length;cr++){var fr=pr[cr];if(fr.startAngle!==void 0){var xr=dr(fr.startAngle),Yr=dr(fr.endAngle),un=fr.x,Nn=fr.y;Me.call(this,un,Nn,fr.radius,xr,Yr,fr.counterclockwise,ir,Ht)}else Dt.call(this,fr.x,fr.y)}!Ft[mr].arc&&Ft[mr].close!==!0&&Ft[mr].begin!==!0&&(un=Ft[mr].start.x,Nn=Ft[mr].start.y,Kt.call(this,Ft[mr].deltas,un,Nn,null,null))}ir&&$e.call(this,ir),Ht&&vt.call(this)}},Ne=function(ht){var Ht=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,Ft=Ht*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return ht-Ft;case"top":return ht+Ht-Ft;case"hanging":return ht+Ht-2*Ft;case"middle":return ht+Ht/2-Ft;case"ideographic":return ht;case"alphabetic":default:return ht}};Be.prototype.createLinearGradient=function(){var Tt=function(){};return Tt.colorStops=[],Tt.addColorStop=function(ht,Ht){this.colorStops.push([ht,Ht])},Tt.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},Tt.isCanvasGradient=!0,Tt},Be.prototype.createPattern=function(){return this.createLinearGradient()},Be.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Me=function(ht,Ht,Ft,ir,Xt,mr,Ar,Nr){this.pdf.internal.scaleFactor;for(var Fr=er(ir),tn=er(Xt),qr=Qt.call(this,Ft,Fr,tn,mr),Lr=0;Lr<qr.length;Lr++){var Qr=qr[Lr];Lr===0&&Wt.call(this,Qr.x1+ht,Qr.y1+Ht),Gt.call(this,ht,Ht,Qr.x2,Qr.y2,Qr.x3,Qr.y3,Qr.x4,Qr.y4)}Nr?vt.call(this):$e.call(this,Ar)},$e=function(ht){switch(ht){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},vt=function(){this.pdf.clip()},Wt=function(ht,Ht){this.pdf.internal.out(ue(ht)+" "+De(Ht)+" m")},$t=function(ht){var Ht;switch(ht.align){case"right":case"end":Ht="right";break;case"center":Ht="center";break;case"left":case"start":default:Ht="left"}var Ft=this.ctx.transform.applyToPoint(new ut(ht.x,ht.y)),ir=this.ctx.transform.decompose(),Xt=new Ot;Xt=(Xt=(Xt=Xt.multiply(ir.translate)).multiply(ir.skew)).multiply(ir.scale);for(var mr,Ar=this.pdf.getTextDimensions(ht.text),Nr=this.ctx.transform.applyToRectangle(new ft(ht.x,ht.y,Ar.w,Ar.h)),Fr=Xt.applyToRectangle(new ft(ht.x,ht.y-Ar.h,Ar.w,Ar.h)),tn=ae.call(this,Fr),qr=[],Lr=0;Lr<tn.length;Lr+=1)qr.indexOf(tn[Lr])===-1&&qr.push(tn[Lr]);if(qr.sort(),this.autoPaging===!0)for(var Qr=qr[0],_r=qr[qr.length-1],ur=Qr;ur<_r+1;ur++){if(this.pdf.setPage(ur),this.ctx.clip_path.length!==0){var pr=this.path;mr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=q(mr,this.posX,-1*this.pdf.internal.pageSize.height*(ur-1)+this.posY),Se.call(this,"fill",!0),this.path=pr}var cr=JSON.parse(JSON.stringify(Nr));if(cr=q([cr],this.posX,-1*this.pdf.internal.pageSize.height*(ur-1)+this.posY)[0],.01<=ht.scale){var fr=this.pdf.internal.getFontSize();this.pdf.setFontSize(fr*ht.scale)}this.pdf.text(ht.text,cr.x,cr.y,{angle:ht.angle,align:Ht,renderingMode:ht.renderingMode,maxWidth:ht.maxWidth}),.01<=ht.scale&&this.pdf.setFontSize(fr)}else .01<=ht.scale&&(fr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(fr*ht.scale)),this.pdf.text(ht.text,Ft.x+this.posX,Ft.y+this.posY,{angle:ht.angle,align:Ht,renderingMode:ht.renderingMode,maxWidth:ht.maxWidth}),.01<=ht.scale&&this.pdf.setFontSize(fr)},Dt=function(ht,Ht,Ft,ir){Ft=Ft||0,ir=ir||0,this.pdf.internal.out(ue(ht+Ft)+" "+De(Ht+ir)+" l")},Kt=function(ht,Ht,Ft){return this.pdf.lines(ht,Ht,Ft,null,null)},Gt=function(ht,Ht,Ft,ir,Xt,mr,Ar,Nr){this.pdf.internal.out([pe(He(Ft+ht)),pe(ze(ir+Ht)),pe(He(Xt+ht)),pe(ze(mr+Ht)),pe(He(Ar+ht)),pe(ze(Nr+Ht)),"c"].join(" "))},Qt=function(ht,Ht,Ft,ir){var Xt=2*Math.PI,mr=Ht;(mr<Xt||Xt<mr)&&(mr%=Xt);var Ar=Ft;(Ar<Xt||Xt<Ar)&&(Ar%=Xt);for(var Nr=[],Fr=Math.PI/2,tn=ir?-1:1,qr=Ht,Lr=Math.min(Xt,Math.abs(Ar-mr));1e-5<Lr;){var Qr=qr+tn*Math.min(Lr,Fr);Nr.push(Mt.call(this,ht,qr,Qr)),Lr-=Math.abs(Qr-qr),qr=Qr}return Nr},Mt=function(ht,Ht,Ft){var ir=(Ft-Ht)/2,Xt=ht*Math.cos(ir),mr=ht*Math.sin(ir),Ar=Xt,Nr=-mr,Fr=Ar*Ar+Nr*Nr,tn=Fr+Ar*Xt+Nr*mr,qr=4/3*(Math.sqrt(2*Fr*tn)-tn)/(Ar*mr-Nr*Xt),Lr=Ar-qr*Nr,Qr=Nr+qr*Ar,_r=Lr,ur=-Qr,pr=ir+Ht,cr=Math.cos(pr),fr=Math.sin(pr);return{x1:ht*Math.cos(Ht),y1:ht*Math.sin(Ht),x2:Lr*cr-Qr*fr,y2:Lr*fr+Qr*cr,x3:_r*cr-ur*fr,y3:_r*fr+ur*cr,x4:ht*Math.cos(Ft),y4:ht*Math.sin(Ft)}},dr=function(ht){return 180*ht/Math.PI},er=function(ht){return ht*Math.PI/180},ot=function(ht,Ht,Ft,ir,Xt,mr){var Ar=ht+.5*(Ft-ht),Nr=Ht+.5*(ir-Ht),Fr=Xt+.5*(Ft-Xt),tn=mr+.5*(ir-mr),qr=Math.min(ht,Xt,Ar,Fr),Lr=Math.max(ht,Xt,Ar,Fr),Qr=Math.min(Ht,mr,Nr,tn),_r=Math.max(Ht,mr,Nr,tn);return new ft(qr,Qr,Lr-qr,_r-Qr)},xt=function(ht,Ht,Ft,ir,Xt,mr,Ar,Nr){for(var Fr,tn,qr,Lr,Qr,_r,ur,pr,cr,fr,xr,Yr,un,Nn=Ft-ht,jr=ir-Ht,Tn=Xt-Ft,gn=mr-ir,Bn=Ar-Xt,zn=Nr-mr,qn=0;qn<41;qn++)pr=(_r=(tn=ht+(Fr=qn/40)*Nn)+Fr*((Lr=Ft+Fr*Tn)-tn))+Fr*(Lr+Fr*(Xt+Fr*Bn-Lr)-_r),cr=(ur=(qr=Ht+Fr*jr)+Fr*((Qr=ir+Fr*gn)-qr))+Fr*(Qr+Fr*(mr+Fr*zn-Qr)-ur),un=qn==0?(Yr=fr=pr,xr=cr):(fr=Math.min(fr,pr),xr=Math.min(xr,cr),Yr=Math.max(Yr,pr),Math.max(un,cr));return new ft(Math.round(fr),Math.round(xr),Math.round(Yr-fr),Math.round(un-xr))},ut=function(ht,Ht){var Ft=ht||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Ft},set:function(Ar){isNaN(Ar)||(Ft=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},ft=function(ht,Ht,Ft,ir){ut.call(this,ht,Ht),this.type="rect";var Xt=Ft||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},Ot=function(ht,Ht,Ft,ir,Xt,mr){var Ar=[];return Object.defineProperty(this,"sx",{get:function(){return Ar[0]},set:function(Fr){Ar[0]=Math.round(1e5*Fr)/1e5}}),Object.defineProperty(this,"shy",{get:function(){return Ar[1]},set:function(Fr){Ar[1]=Math.round(1e5*Fr)/1e5}}),Object.defineProperty(this,"shx",{get:function(){return Ar[2]},set:function(Fr){Ar[2]=Math.round(1e5*Fr)/1e5}}),Object.defineProperty(this,"sy",{get:function(){return Ar[3]},set:function(Fr){Ar[3]=Math.round(1e5*Fr)/1e5}}),Object.defineProperty(this,"tx",{get:function(){return Ar[4]},set:function(Fr){Ar[4]=Math.round(1e5*Fr)/1e5}}),Object.defineProperty(this,"ty",{get:function(){return Ar[5]},set:function(Fr){Ar[5]=Math.round(1e5*Fr)/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(ht)?1:ht,this.shy=isNaN(Ht)?0:Ht,this.shx=isNaN(Ft)?0:Ft,this.sy=isNaN(ir)?1:ir,this.tx=isNaN(Xt)?0:Xt,this.ty=isNaN(mr)?0:mr,this};Ot.prototype.multiply=function(Tt){var ht=Tt.sx*this.sx+Tt.shy*this.shx,Ht=Tt.sx*this.shy+Tt.shy*this.sy,Ft=Tt.shx*this.sx+Tt.sy*this.shx,ir=Tt.shx*this.shy+Tt.sy*this.sy,Xt=Tt.tx*this.sx+Tt.ty*this.shx+this.tx,mr=Tt.tx*this.shy+Tt.ty*this.sy+this.ty;return new Ot(ht,Ht,Ft,ir,Xt,mr)},Ot.prototype.decompose=function(){var Tt=this.sx,ht=this.shy,Ht=this.shx,Ft=this.sy,ir=this.tx,Xt=this.ty,mr=Math.sqrt(Tt*Tt+ht*ht),Ar=(Tt/=mr)*Ht+(ht/=mr)*Ft;Ht-=Tt*Ar,Ft-=ht*Ar;var Nr=Math.sqrt(Ht*Ht+Ft*Ft);return Ar/=Nr,Tt*(Ft/=Nr)<ht*(Ht/=Nr)&&(Tt=-Tt,ht=-ht,Ar=-Ar,mr=-mr),{scale:new Ot(mr,0,0,Nr,0,0),translate:new Ot(1,0,0,1,ir,Xt),rotate:new Ot(Tt,ht,-ht,Tt,0,0),skew:new Ot(1,0,Ar,1,0,0)}},Ot.prototype.applyToPoint=function(Tt){var ht=Tt.x*this.sx+Tt.y*this.shx+this.tx,Ht=Tt.x*this.shy+Tt.y*this.sy+this.ty;return new ut(ht,Ht)},Ot.prototype.applyToRectangle=function(Tt){var ht=this.applyToPoint(Tt),Ht=this.applyToPoint(new ut(Tt.x+Tt.w,Tt.y+Tt.h));return new ft(ht.x,ht.y,Ht.x-ht.x,Ht.y-ht.y)},Ot.prototype.clone=function(){var Tt=this.sx,ht=this.shy,Ht=this.shx,Ft=this.sy,ir=this.tx,Xt=this.ty;return new Ot(Tt,ht,Ht,Ft,ir,Xt)}}(mt.API,typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")()),t=mt.API,s=function(me){var pe,ue,De,He,ze,Xe,Be,nt,At,It;for(/[^\x00-\xFF]/.test(me),ue=[],De=0,He=(me+=pe="\0\0\0\0".slice(me.length%4||4)).length;De<He;De+=4)(ze=(me.charCodeAt(De)<<24)+(me.charCodeAt(De+1)<<16)+(me.charCodeAt(De+2)<<8)+me.charCodeAt(De+3))!==0?(Xe=(ze=((ze=((ze=((ze=(ze-(It=ze%85))/85)-(At=ze%85))/85)-(nt=ze%85))/85)-(Be=ze%85))/85)%85,ue.push(Xe+33,Be+33,nt+33,At+33,It+33)):ue.push(122);return function(ae,he){for(var q=pe.length;0<q;q--)ae.pop()}(ue),String.fromCharCode.apply(String,ue)+"~>"},u=function(me){var pe,ue,De,He,ze,Xe=String,Be="length",nt="charCodeAt",At="slice",It="replace";for(me[At](-2),me=me[At](0,-2)[It](/\s/g,"")[It]("z","!!!!!"),De=[],He=0,ze=(me+=pe="uuuuu"[At](me[Be]%5||5))[Be];He<ze;He+=5)ue=52200625*(me[nt](He)-33)+614125*(me[nt](He+1)-33)+7225*(me[nt](He+2)-33)+85*(me[nt](He+3)-33)+(me[nt](He+4)-33),De.push(255&ue>>24,255&ue>>16,255&ue>>8,255&ue);return function(ae,he){for(var q=pe[Be];0<q;q--)ae.pop()}(De),Xe.fromCharCode.apply(Xe,De)},p=function(me){for(var pe="",ue=0;ue<me.length;ue+=1)pe+=("0"+me.charCodeAt(ue).toString(16)).slice(-2);return pe+=">"},w=function(me){var pe=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((me=me.replace(/\s/g,"")).indexOf(">")!==-1&&(me=me.substr(0,me.indexOf(">"))),me.length%2&&(me+="0"),pe.test(me)===!1)return"";for(var ue="",De=0;De<me.length;De+=2)ue+=String.fromCharCode("0x"+(me[De]+me[De+1]));return ue},b=function(me,pe){pe=Object.assign({predictor:1,colors:1,bitsPerComponent:8,columns:1},pe);for(var ue,De,He=[],ze=me.length;ze--;)He[ze]=me.charCodeAt(ze);return ue=t.adler32cs.from(me),(De=new Deflater(6)).append(new Uint8Array(He)),me=De.flush(),(He=new Uint8Array(me.length+6)).set(new Uint8Array([120,156])),He.set(me,2),He.set(new Uint8Array([255&ue,ue>>8&255,ue>>16&255,ue>>24&255]),me.length+2),me=String.fromCharCode.apply(null,He)},t.processDataByFilters=function(be,me){var pe=0,ue=be||"",De=[];for(typeof(me=me||[])=="string"&&(me=[me]),pe=0;pe<me.length;pe+=1)switch(me[pe]){case"ASCII85Decode":case"/ASCII85Decode":ue=u(ue),De.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":ue=s(ue),De.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":ue=w(ue),De.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":ue=p(ue),De.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":ue=b(ue),De.push("/FlateDecode");break;default:throw'The filter: "'+me[pe]+'" is not implemented'}return{data:ue,reverseChain:De.reverse().join(" ")}},(E=mt.API).loadFile=function(be,me,pe){var ue;me=me||!0,pe=pe||function(){};try{ue=function(De,He,ze){var Xe=new XMLHttpRequest,Be=[],nt=0,At=function(ae){var he=ae.length,q=String.fromCharCode;for(nt=0;nt<he;nt+=1)Be.push(q(255&ae.charCodeAt(nt)));return Be.join("")};if(Xe.open("GET",De,!He),Xe.overrideMimeType("text/plain; charset=x-user-defined"),He===!1&&(Xe.onload=function(){return At(this.responseText)}),Xe.send(null),Xe.status===200)return He?At(Xe.responseText):void 0;console.warn('Unable to load file "'+De+'"')}(be,me)}catch(De){ue=void 0}return ue},E.loadImageFile=E.loadFile,A=mt.API,S=typeof window!="undefined"&&window||typeof g!="undefined"&&g,T=function(me){var pe=m(me);return pe==="undefined"?"undefined":pe==="string"||me instanceof String?"string":pe==="number"||me instanceof Number?"number":pe==="function"||me instanceof Function?"function":me&&me.constructor===Array?"array":me&&me.nodeType===1?"element":pe==="object"?"object":"unknown"},L=function(me,pe){var ue=document.createElement(me);if(pe.className&&(ue.className=pe.className),pe.innerHTML){ue.innerHTML=pe.innerHTML;for(var De=ue.getElementsByTagName("script"),He=De.length;0<He--;null)De[He].parentNode.removeChild(De[He])}for(var ze in pe.style)ue.style[ze]=pe.style[ze];return ue},(((x=function be(me){var pe=Object.assign(be.convert(Promise.resolve()),JSON.parse(JSON.stringify(be.template))),ue=be.convert(Promise.resolve(),pe);return ue=(ue=ue.setProgress(1,be,1,[be])).set(me)}).prototype=Object.create(Promise.prototype)).constructor=x).convert=function(be,me){return be.__proto__=me||x.prototype,be},x.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:{}}},x.prototype.from=function(be,me){return this.then(function(){switch(me=me||function(pe){switch(T(pe)){case"string":return"string";case"element":return pe.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}(be)){case"string":return this.set({src:L("div",{innerHTML:be})});case"element":return this.set({src:be});case"canvas":return this.set({canvas:be});case"img":return this.set({img:be});default:return this.error("Unknown source type.")}})},x.prototype.to=function(be){switch(be){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.")}},x.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 be={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"},me=function pe(ue,De){for(var He=ue.nodeType===3?document.createTextNode(ue.nodeValue):ue.cloneNode(!1),ze=ue.firstChild;ze;ze=ze.nextSibling)De!==!0&&ze.nodeType===1&&ze.nodeName==="SCRIPT"||He.appendChild(pe(ze,De));return ue.nodeType===1&&(ue.nodeName==="CANVAS"?(He.width=ue.width,He.height=ue.height,He.getContext("2d").drawImage(ue,0,0)):ue.nodeName!=="TEXTAREA"&&ue.nodeName!=="SELECT"||(He.value=ue.value),He.addEventListener("load",function(){He.scrollTop=ue.scrollTop,He.scrollLeft=ue.scrollLeft},!0)),He}(this.prop.src,this.opt.html2canvas.javascriptEnabled);me.tagName==="BODY"&&(be.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=L("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=L("div",{className:"html2pdf__container",style:be}),this.prop.container.appendChild(me),this.prop.container.firstChild.appendChild(L("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"})},x.prototype.toCanvas=function(){var be=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(be).then(function(){var me=Object.assign({},this.opt.html2canvas);if(delete me.onrendered,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,me)}).then(function(me){(this.opt.html2canvas.onrendered||function(){})(me),this.prop.canvas=me,document.body.removeChild(this.prop.overlay)})},x.prototype.toContext2d=function(){var be=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(be).then(function(){var me=this.opt.jsPDF,pe=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 pe.onrendered,me.context2d.autoPaging=!0,me.context2d.posX=this.opt.x,me.context2d.posY=this.opt.y,pe.windowHeight=pe.windowHeight||0,pe.windowHeight=pe.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):pe.windowHeight,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,pe)}).then(function(me){(this.opt.html2canvas.onrendered||function(){})(me),this.prop.canvas=me,document.body.removeChild(this.prop.overlay)})},x.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var be=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=be})},x.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},x.prototype.output=function(be,me,pe){return(pe=pe||"pdf").toLowerCase()==="img"||pe.toLowerCase()==="image"?this.outputImg(be,me):this.outputPdf(be,me)},x.prototype.outputPdf=function(be,me){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(be,me)})},x.prototype.outputImg=function(be,me){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(be){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 "'+be+'" is not supported.'}})},x.prototype.isHtml2CanvasLoaded=function(){var be=S.html2canvas!==void 0;return be||console.error("html2canvas not loaded."),be},x.prototype.save=function(be){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(be?{filename:be}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},x.prototype.doCallback=function(be){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},x.prototype.set=function(be){if(T(be)!=="object")return this;var me=Object.keys(be||{}).map(function(pe){if(pe in x.template.prop)return function(){this.prop[pe]=be[pe]};switch(pe){case"margin":return this.setMargin.bind(this,be.margin);case"jsPDF":return function(){return this.opt.jsPDF=be.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,be.pageSize);default:return function(){this.opt[pe]=be[pe]}}},this);return this.then(function(){return this.thenList(me)})},x.prototype.get=function(be,me){return this.then(function(){var pe=be in x.template.prop?this.prop[be]:this.opt[be];return me?me(pe):pe})},x.prototype.setMargin=function(be){return this.then(function(){switch(T(be)){case"number":be=[be,be,be,be];case"array":if(be.length===2&&(be=[be[0],be[1],be[0],be[1]]),be.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=be}).then(this.setPageSize)},x.prototype.setPageSize=function(be){function me(pe,ue){return Math.floor(pe*ue/72*96)}return this.then(function(){(be=be||mt.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(be.inner={width:be.width-this.opt.margin[1]-this.opt.margin[3],height:be.height-this.opt.margin[0]-this.opt.margin[2]},be.inner.px={width:me(be.inner.width,be.k),height:me(be.inner.height,be.k)},be.inner.ratio=be.inner.height/be.inner.width),this.prop.pageSize=be})},x.prototype.setProgress=function(be,me,pe,ue){return be!=null&&(this.progress.val=be),me!=null&&(this.progress.state=me),pe!=null&&(this.progress.n=pe),ue!=null&&(this.progress.stack=ue),this.progress.ratio=this.progress.val/this.progress.state,this},x.prototype.updateProgress=function(be,me,pe,ue){return this.setProgress(be?this.progress.val+be:null,me||null,pe?this.progress.n+pe:null,ue?this.progress.stack.concat(ue):null)},x.prototype.then=function(be,me){var pe=this;return this.thenCore(be,me,function(ue,De){return pe.updateProgress(null,null,1,[ue]),Promise.prototype.then.call(this,function(He){return pe.updateProgress(null,ue),He}).then(ue,De).then(function(He){return pe.updateProgress(1),He})})},x.prototype.thenCore=function(be,me,pe){pe=pe||Promise.prototype.then;var ue=this;be&&(be=be.bind(ue)),me&&(me=me.bind(ue));var De=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?ue:x.convert(Object.assign({},ue),Promise.prototype),He=pe.call(De,be,me);return x.convert(He,ue.__proto__)},x.prototype.thenExternal=function(be,me){return Promise.prototype.then.call(this,be,me)},x.prototype.thenList=function(be){var me=this;return be.forEach(function(pe){me=me.thenCore(pe)}),me},x.prototype.catch=function(be){be&&(be=be.bind(this));var me=Promise.prototype.catch.call(this,be);return x.convert(me,this)},x.prototype.catchExternal=function(be){return Promise.prototype.catch.call(this,be)},x.prototype.error=function(be){return this.then(function(){throw new Error(be)})},x.prototype.using=x.prototype.set,x.prototype.saveAs=x.prototype.save,x.prototype.export=x.prototype.output,x.prototype.run=x.prototype.then,mt.getPageSize=function(be,me,pe){if(m(be)==="object"){var ue=be;be=ue.orientation,me=ue.unit||me,pe=ue.format||pe}me=me||"mm",pe=pe||"a4",be=(""+(be||"P")).toLowerCase();var De=(""+pe).toLowerCase(),He={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(me){case"pt":var ze=1;break;case"mm":ze=72/25.4;break;case"cm":ze=72/2.54;break;case"in":ze=72;break;case"px":ze=.75;break;case"pc":case"em":ze=12;break;case"ex":ze=6;break;default:throw"Invalid unit: "+me}if(He.hasOwnProperty(De))var Xe=He[De][1]/ze,Be=He[De][0]/ze;else try{Xe=pe[1],Be=pe[0]}catch(At){throw new Error("Invalid format: "+pe)}if(be==="p"||be==="portrait"){if(be="p",Xe<Be){var nt=Be;Be=Xe,Xe=nt}}else{if(be!=="l"&&be!=="landscape")throw"Invalid orientation: "+be;be="l",Be<Xe&&(nt=Be,Be=Xe,Xe=nt)}return{width:Be,height:Xe,unit:me,k:ze}},A.html=function(be,me){(me=me||{}).callback=me.callback||function(){},me.html2canvas=me.html2canvas||{},me.html2canvas.canvas=me.html2canvas.canvas||this.canvas,me.jsPDF=me.jsPDF||this,me.jsPDF;var pe=new x(me);return me.worker?pe:pe.from(be).doCallback()},mt.API.addJS=function(be){return N=be,this.internal.events.subscribe("postPutResources",function(me){C=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(C+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),I=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+N+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){C!==void 0&&I!==void 0&&this.internal.out("/Names <</JavaScript "+C+" 0 R>>")}),this},(F=mt.API).events.push(["postPutResources",function(){var be=this,me=/^(\d+) 0 obj$/;if(0<this.outline.root.children.length)for(var pe=be.outline.render().split(/\r\n/),ue=0;ue<pe.length;ue++){var De=pe[ue],He=me.exec(De);if(He!=null){var ze=He[1];be.internal.newObjectDeferredBegin(ze,!1)}be.internal.write(De)}if(this.outline.createNamedDestinations){var Xe=this.internal.pages.length,Be=[];for(ue=0;ue<Xe;ue++){var nt=be.internal.newObject();Be.push(nt);var At=be.internal.getPageInfo(ue+1);be.internal.write("<< /D["+At.objId+" 0 R /XYZ null null null]>> endobj")}var It=be.internal.newObject();for(be.internal.write("<< /Names [ "),ue=0;ue<Be.length;ue++)be.internal.write("(page_"+(ue+1)+")"+Be[ue]+" 0 R");be.internal.write(" ] >>","endobj"),be.internal.newObject(),be.internal.write("<< /Dests "+It+" 0 R"),be.internal.write(">>","endobj")}}]),F.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"))}]),F.events.push(["initialized",function(){var be=this;be.outline={createNamedDestinations:!1,root:{children:[]}},be.outline.add=function(me,pe,ue){var De={title:pe,options:ue,children:[]};return me==null&&(me=this.root),me.children.push(De),De},be.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=be,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},be.outline.genIds_r=function(me){me.id=be.internal.newObjectDeferred();for(var pe=0;pe<me.children.length;pe++)this.genIds_r(me.children[pe])},be.outline.renderRoot=function(me){this.objStart(me),this.line("/Type /Outlines"),0<me.children.length&&(this.line("/First "+this.makeRef(me.children[0])),this.line("/Last "+this.makeRef(me.children[me.children.length-1]))),this.line("/Count "+this.count_r({count:0},me)),this.objEnd()},be.outline.renderItems=function(me){this.ctx.pdf.internal.getCoordinateString;for(var pe=this.ctx.pdf.internal.getVerticalCoordinateString,ue=0;ue<me.children.length;ue++){var De=me.children[ue];this.objStart(De),this.line("/Title "+this.makeString(De.title)),this.line("/Parent "+this.makeRef(me)),0<ue&&this.line("/Prev "+this.makeRef(me.children[ue-1])),ue<me.children.length-1&&this.line("/Next "+this.makeRef(me.children[ue+1])),0<De.children.length&&(this.line("/First "+this.makeRef(De.children[0])),this.line("/Last "+this.makeRef(De.children[De.children.length-1])));var He=this.count=this.count_r({count:0},De);if(0<He&&this.line("/Count "+He),De.options&&De.options.pageNumber){var ze=be.internal.getPageInfo(De.options.pageNumber);this.line("/Dest ["+ze.objId+" 0 R /XYZ 0 "+pe(0)+" 0]")}this.objEnd()}for(ue=0;ue<me.children.length;ue++)De=me.children[ue],this.renderItems(De)},be.outline.line=function(me){this.ctx.val+=me+`\r
`},be.outline.makeRef=function(me){return me.id+" 0 R"},be.outline.makeString=function(me){return"("+be.internal.pdfEscape(me)+")"},be.outline.objStart=function(me){this.ctx.val+=`\r
`+me.id+` 0 obj\r
<<\r
`},be.outline.objEnd=function(me){this.ctx.val+=`>> \r
endobj\r
`},be.outline.count_r=function(me,pe){for(var ue=0;ue<pe.children.length;ue++)me.count++,this.count_r(me,pe.children[ue]);return me.count}}]),k=mt.API,B=function(){var me=typeof Deflater=="function";if(!me)throw new Error("requires deflate.js for compression");return me},P=function(me,pe,ue,De){var He=5,ze=W;switch(De){case k.image_compression.FAST:He=3,ze=H;break;case k.image_compression.MEDIUM:He=6,ze=X;break;case k.image_compression.SLOW:He=9,ze=z}me=U(me,pe,ue,ze);var Xe=new Uint8Array(K(He)),Be=R(me),nt=new Deflater(He),At=nt.append(me),It=nt.flush(),ae=Xe.length+At.length+It.length,he=new Uint8Array(ae+4);return he.set(Xe),he.set(At,Xe.length),he.set(It,Xe.length+At.length),he[ae++]=Be>>>24&255,he[ae++]=Be>>>16&255,he[ae++]=Be>>>8&255,he[ae++]=255&Be,k.arrayBufferToBinaryString(he)},K=function(me,pe){var ue=Math.LOG2E*Math.log(32768)-8<<4|8,De=ue<<8;return De|=Math.min(3,(pe-1&255)>>1)<<6,De|=0,[ue,255&(De+=31-De%31)]},R=function(me,pe){for(var ue,De=1,He=0,ze=me.length,Xe=0;0<ze;){for(ze-=ue=pe<ze?pe:ze;He+=De+=me[Xe++],--ue;);De%=65521,He%=65521}return(He<<16|De)>>>0},U=function(me,pe,ue,De){for(var He,ze,Xe,Be=me.length/pe,nt=new Uint8Array(me.length+Be),At=Z(),It=0;It<Be;It++){if(Xe=It*pe,He=me.subarray(Xe,Xe+pe),De)nt.set(De(He,ue,ze),Xe+It);else{for(var ae=0,he=At.length,q=[];ae<he;ae++)q[ae]=At[ae](He,ue,ze);var ne=ge(q.concat());nt.set(q[ne],Xe+It)}ze=He}return nt},j=function(me,pe,ue){var De=Array.apply([],me);return De.unshift(0),De},H=function(me,pe,ue){var De,He=[],ze=0,Xe=me.length;for(He[0]=1;ze<Xe;ze++)De=me[ze-pe]||0,He[ze+1]=me[ze]-De+256&255;return He},W=function(me,pe,ue){var De,He=[],ze=0,Xe=me.length;for(He[0]=2;ze<Xe;ze++)De=ue&&ue[ze]||0,He[ze+1]=me[ze]-De+256&255;return He},X=function(me,pe,ue){var De,He,ze=[],Xe=0,Be=me.length;for(ze[0]=3;Xe<Be;Xe++)De=me[Xe-pe]||0,He=ue&&ue[Xe]||0,ze[Xe+1]=me[Xe]+256-(De+He>>>1)&255;return ze},z=function(me,pe,ue){var De,He,ze,Xe,Be=[],nt=0,At=me.length;for(Be[0]=4;nt<At;nt++)De=me[nt-pe]||0,He=ue&&ue[nt]||0,ze=ue&&ue[nt-pe]||0,Xe=G(De,He,ze),Be[nt+1]=me[nt]-Xe+256&255;return Be},G=function(me,pe,ue){var De=me+pe-ue,He=Math.abs(De-me),ze=Math.abs(De-pe),Xe=Math.abs(De-ue);return He<=ze&&He<=Xe?me:ze<=Xe?pe:ue},Z=function(){return[j,H,W,X,z]},ge=function(me){for(var pe,ue,De,He=0,ze=me.length;He<ze;)((pe=Q(me[He].slice(1)))<ue||!ue)&&(ue=pe,De=He),He++;return De},Q=function(me){for(var pe=0,ue=me.length,De=0;pe<ue;)De+=Math.abs(me[pe++]);return De},k.processPNG=function(be,me,pe,ue,De){var He,ze,Xe,Be,nt,At,It=this.color_spaces.DEVICE_RGB,ae=this.decode.FLATE_DECODE,he=8;if(this.isArrayBuffer(be)&&(be=new Uint8Array(be)),this.isArrayBufferView(be)){if(typeof PNG!="function"||typeof Pt!="function")throw new Error("PNG support requires png.js and zlib.js");if(be=(He=new PNG(be)).imgData,he=He.bits,It=He.colorSpace,Be=He.colors,[4,6].indexOf(He.colorType)!==-1){if(He.bits===8)for(var q,ne=(Qt=He.pixelBitlength==32?new Uint32Array(He.decodePixels().buffer):He.pixelBitlength==16?new Uint16Array(He.decodePixels().buffer):new Uint8Array(He.decodePixels().buffer)).length,Se=new Uint8Array(ne*He.colors),Ne=new Uint8Array(ne),Me=He.pixelBitlength-He.bits,$e=0,vt=0;$e<ne;$e++){for(Wt=Qt[$e],q=0;q<Me;)Se[vt++]=Wt>>>q&255,q+=He.bits;Ne[$e]=Wt>>>q&255}if(He.bits===16){ne=(Qt=new Uint32Array(He.decodePixels().buffer)).length,Se=new Uint8Array(ne*(32/He.pixelBitlength)*He.colors),Ne=new Uint8Array(ne*(32/He.pixelBitlength));for(var Wt,$t=1<He.colors,Dt=vt=$e=0;$e<ne;)Wt=Qt[$e++],Se[vt++]=Wt>>>0&255,$t&&(Se[vt++]=Wt>>>16&255,Wt=Qt[$e++],Se[vt++]=Wt>>>0&255),Ne[Dt++]=Wt>>>16&255;he=8}ue!==k.image_compression.NONE&&B()?(be=P(Se,He.width*He.colors,He.colors,ue),At=P(Ne,He.width,1,ue)):(be=Se,At=Ne,ae=null)}if(He.colorType===3&&(It=this.color_spaces.INDEXED,nt=He.palette,He.transparency.indexed)){var Kt=He.transparency.indexed,Gt=0;for($e=0,ne=Kt.length;$e<ne;++$e)Gt+=Kt[$e];if((Gt/=255)==ne-1&&Kt.indexOf(0)!==-1)Xe=[Kt.indexOf(0)];else if(Gt!==ne){var Qt=He.decodePixels();for(Ne=new Uint8Array(Qt.length),$e=0,ne=Qt.length;$e<ne;$e++)Ne[$e]=Kt[Qt[$e]];At=P(Ne,He.width,1)}}var Mt=function(dr){var er;switch(dr){case k.image_compression.FAST:er=11;break;case k.image_compression.MEDIUM:er=13;break;case k.image_compression.SLOW:er=14;break;default:er=12}return er}(ue);return ze=ae===this.decode.FLATE_DECODE?"/Predictor "+Mt+" /Colors "+Be+" /BitsPerComponent "+he+" /Columns "+He.width:"/Colors "+Be+" /BitsPerComponent "+he+" /Columns "+He.width,(this.isArrayBuffer(be)||this.isArrayBufferView(be))&&(be=this.arrayBufferToBinaryString(be)),(At&&this.isArrayBuffer(At)||this.isArrayBufferView(At))&&(At=this.arrayBufferToBinaryString(At)),this.createImageInfo(be,He.width,He.height,It,he,ae,me,pe,ze,Xe,nt,At,Mt)}throw new Error("Unsupported PNG image data, try using JPEG instead.")},(we=mt.API).processGIF89A=function(be,me,pe,ue,De){var He=new dt(be),ze=He.width,Xe=He.height,Be=[];He.decodeAndBlitFrameRGBA(0,Be);var nt={data:Be,width:ze,height:Xe},At=new yt(100).encode(nt,100);return we.processJPEG.call(this,At,me,pe,ue)},we.processGIF87A=we.processGIF89A,(Ee=mt.API).processBMP=function(be,me,pe,ue,De){var He=new _t(be,!1),ze=He.width,Xe=He.height,Be={data:He.getData(),width:ze,height:Xe},nt=new yt(100).encode(Be,100);return Ee.processJPEG.call(this,nt,me,pe,ue)},mt.API.setLanguage=function(be){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"}[be]!==void 0&&(this.internal.languageSettings.languageCode=be,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},Ae=mt.API,Pe=Ae.getCharWidthsArray=function(be,me){var pe,ue,De,He=(me=me||{}).font||this.internal.getFont(),ze=me.fontSize||this.internal.getFontSize(),Xe=me.charSpace||this.internal.getCharSpace(),Be=me.widths?me.widths:He.metadata.Unicode.widths,nt=Be.fof?Be.fof:1,At=me.kerning?me.kerning:He.metadata.Unicode.kerning,It=At.fof?At.fof:1,ae=0,he=Be[0]||nt,q=[];for(pe=0,ue=be.length;pe<ue;pe++)De=be.charCodeAt(pe),typeof He.metadata.widthOfString=="function"?q.push((He.metadata.widthOfGlyph(He.metadata.characterToGlyph(De))+Xe*(1e3/ze)||0)/1e3):q.push((Be[De]||he)/nt+(At[De]&&At[De][ae]||0)/It),ae=De;return q},Ge=Ae.getArraySum=function(be){for(var me=be.length,pe=0;me;)pe+=be[--me];return pe},gt=Ae.getStringUnitWidth=function(be,me){var pe=(me=me||{}).fontSize||this.internal.getFontSize(),ue=me.font||this.internal.getFont(),De=me.charSpace||this.internal.getCharSpace();return typeof ue.metadata.widthOfString=="function"?ue.metadata.widthOfString(be,pe,De)/pe:Ge(Pe.apply(this,arguments))},_e=function(me,pe,ue,De){for(var He=[],ze=0,Xe=me.length,Be=0;ze!==Xe&&Be+pe[ze]<ue;)Be+=pe[ze],ze++;He.push(me.slice(0,ze));var nt=ze;for(Be=0;ze!==Xe;)Be+pe[ze]>De&&(He.push(me.slice(nt,ze)),Be=0,nt=ze),Be+=pe[ze],ze++;return nt!==ze&&He.push(me.slice(nt,ze)),He},Ce=function(me,pe,ue){ue||(ue={});var De,He,ze,Xe,Be,nt,At=[],It=[At],ae=ue.textIndent||0,he=0,q=0,ne=me.split(" "),Se=Pe.apply(this,[" ",ue])[0];if(nt=ue.lineIndent===-1?ne[0].length+2:ue.lineIndent||0){var Ne=Array(nt).join(" "),Me=[];ne.map(function(Wt){1<(Wt=Wt.split(/\s*\n/)).length?Me=Me.concat(Wt.map(function($t,Dt){return(Dt&&$t.length?`
`:"")+$t})):Me.push(Wt[0])}),ne=Me,nt=gt.apply(this,[Ne,ue])}for(ze=0,Xe=ne.length;ze<Xe;ze++){var $e=0;if(De=ne[ze],nt&&De[0]==`
`&&(De=De.substr(1),$e=1),He=Pe.apply(this,[De,ue]),pe<ae+he+(q=Ge(He))||$e){if(pe<q){for(Be=_e.apply(this,[De,He,pe-(ae+he),pe]),At.push(Be.shift()),At=[Be.pop()];Be.length;)It.push([Be.shift()]);q=Ge(He.slice(De.length-(At[0]?At[0].length:0)))}else At=[De];It.push(At),ae=q+nt,he=Se}else At.push(De),ae+=he+q,he=Se}if(nt)var vt=function($t,Dt){return(Dt?Ne:"")+$t.join(" ")};else vt=function($t){return $t.join(" ")};return It.map(vt)},Ae.splitTextToSize=function(be,me,pe){var ue,De=(pe=pe||{}).fontSize||this.internal.getFontSize(),He=function(At){var It={0:1},ae={};if(At.widths&&At.kerning)return{widths:At.widths,kerning:At.kerning};var he=this.internal.getFont(At.fontName,At.fontStyle),q="Unicode";return he.metadata[q]?{widths:he.metadata[q].widths||It,kerning:he.metadata[q].kerning||ae}:{font:he.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,pe);ue=Array.isArray(be)?be:be.split(/\r?\n/);var ze=1*this.internal.scaleFactor*me/De;He.textIndent=pe.textIndent?1*pe.textIndent*this.internal.scaleFactor/De:0,He.lineIndent=pe.lineIndent;var Xe,Be,nt=[];for(Xe=0,Be=ue.length;Xe<Be;Xe++)nt=nt.concat(Ce.apply(this,[ue[Xe],ze,He]));return nt},lt=mt.API,Y={codePages:["WinAnsiEncoding"],WinAnsiEncoding:(ce=function(me){for(var pe="klmnopqrstuvwxyz",ue={},De=0;De<pe.length;De++)ue[pe[De]]="0123456789abcdef"[De];var He,ze,Xe,Be,nt,At={},It=1,ae=At,he=[],q="",ne="",Se=me.length-1;for(De=1;De!=Se;)nt=me[De],De+=1,nt=="'"?ze=ze?(Be=ze.join(""),He):[]:ze?ze.push(nt):nt=="{"?(he.push([ae,Be]),ae={},Be=He):nt=="}"?((Xe=he.pop())[0][Xe[1]]=ae,Be=He,ae=Xe[0]):nt=="-"?It=-1:Be===He?ue.hasOwnProperty(nt)?(q+=ue[nt],Be=parseInt(q,16)*It,It=1,q=""):q+=nt:ue.hasOwnProperty(nt)?(ne+=ue[nt],ae[Be]=parseInt(ne,16)*It,It=1,Be=He,ne=""):ne+=nt;return At})("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},V={Unicode:{Courier:Y,"Courier-Bold":Y,"Courier-BoldOblique":Y,"Courier-Oblique":Y,Helvetica:Y,"Helvetica-Bold":Y,"Helvetica-BoldOblique":Y,"Helvetica-Oblique":Y,"Times-Roman":Y,"Times-Bold":Y,"Times-BoldItalic":Y,"Times-Italic":Y}},$={Unicode:{"Courier-Oblique":ce("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":ce("{'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":ce("{'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:ce("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":ce("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":ce("{'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:ce("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:ce("{'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":ce("{'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:ce("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":ce("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":ce("{'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":ce("{'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":ce("{'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}}}")}},lt.events.push(["addFont",function(be){var me,pe,ue,De=be.font,He="Unicode";(me=$[He][De.postScriptName])&&((pe=De.metadata[He]?De.metadata[He]:De.metadata[He]={}).widths=me.widths,pe.kerning=me.kerning),(ue=V[He][De.postScriptName])&&((pe=De.metadata[He]?De.metadata[He]:De.metadata[He]={}).encoding=ue).codePages&&ue.codePages.length&&(De.encoding=ue.codePages[0])}]),Te=mt,typeof self!="undefined"&&self||typeof g!="undefined"&&g||typeof window!="undefined"&&window||Function("return this")(),Te.API.events.push(["addFont",function(be){var me=be.font,pe=be.instance;if(pe!==void 0&&pe.existsFileInVFS(me.postScriptName)){var ue=pe.getFileFromVFS(me.postScriptName);if(typeof ue!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+me.postScriptName+"').");me.metadata=Te.API.TTFFont.open(me.postScriptName,me.fontName,ue,me.encoding),me.metadata.Unicode=me.metadata.Unicode||{encoding:{},kerning:{},widths:[]},me.metadata.glyIdsUsed=[0]}else if(me.isStandardFont===!1)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+me.postScriptName+"').")}]),(ye=mt.API).addSvg=function(be,me,pe,ue,De){if(me===void 0||pe===void 0)throw new Error("addSVG needs values for 'x' and 'y'");function He(Kt){for(var Gt=parseFloat(Kt[1]),Qt=parseFloat(Kt[2]),Mt=[],dr=3,er=Kt.length;dr<er;)Kt[dr]==="c"?(Mt.push([parseFloat(Kt[dr+1]),parseFloat(Kt[dr+2]),parseFloat(Kt[dr+3]),parseFloat(Kt[dr+4]),parseFloat(Kt[dr+5]),parseFloat(Kt[dr+6])]),dr+=7):Kt[dr]==="l"?(Mt.push([parseFloat(Kt[dr+1]),parseFloat(Kt[dr+2])]),dr+=3):dr+=1;return[Gt,Qt,Mt]}var ze,Xe,Be,nt,At,It,ae,he,q=(nt=document,he=nt.createElement("iframe"),At=".jsPDF_sillysvg_iframe {display:none;position:absolute;}",(ae=(It=nt).createElement("style")).type="text/css",ae.styleSheet?ae.styleSheet.cssText=At:ae.appendChild(It.createTextNode(At)),It.getElementsByTagName("head")[0].appendChild(ae),he.name="childframe",he.setAttribute("width",0),he.setAttribute("height",0),he.setAttribute("frameborder","0"),he.setAttribute("scrolling","no"),he.setAttribute("seamless","seamless"),he.setAttribute("class","jsPDF_sillysvg_iframe"),nt.body.appendChild(he),he),ne=(ze=be,(Be=((Xe=q).contentWindow||Xe.contentDocument).document).write(ze),Be.close(),Be.getElementsByTagName("svg")[0]),Se=[1,1],Ne=parseFloat(ne.getAttribute("width")),Me=parseFloat(ne.getAttribute("height"));Ne&&Me&&(ue&&De?Se=[ue/Ne,De/Me]:ue?Se=[ue/Ne,ue/Ne]:De&&(Se=[De/Me,De/Me]));var $e,vt,Wt,$t,Dt=ne.childNodes;for($e=0,vt=Dt.length;$e<vt;$e++)(Wt=Dt[$e]).tagName&&Wt.tagName.toUpperCase()==="PATH"&&(($t=He(Wt.getAttribute("d").split(" ")))[0]=$t[0]*Se[0]+me,$t[1]=$t[1]*Se[1]+pe,this.lines.call(this,$t[2],$t[0],$t[1],Se));return this},ye.addSVG=ye.addSvg,ye.addSvgAsImage=function(be,me,pe,ue,De,He,ze,Xe){if(isNaN(me)||isNaN(pe))throw console.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(ue)||isNaN(De))throw console.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var Be=document.createElement("canvas");Be.width=ue,Be.height=De;var nt=Be.getContext("2d");return nt.fillStyle="#fff",nt.fillRect(0,0,Be.width,Be.height),canvg(Be,be,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0}),this.addImage(Be.toDataURL("image/jpeg",1),me,pe,ue,De,ze,Xe),this},mt.API.putTotalPages=function(be){var me,pe=0;pe=parseInt(this.internal.getFont().id.substr(1),10)<15?(me=new RegExp(be,"g"),this.internal.getNumberOfPages()):(me=new RegExp(this.pdfEscape16(be,this.internal.getFont()),"g"),this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var ue=1;ue<=this.internal.getNumberOfPages();ue++)for(var De=0;De<this.internal.pages[ue].length;De++)this.internal.pages[ue][De]=this.internal.pages[ue][De].replace(me,pe);return this},mt.API.viewerPreferences=function(be,me){var pe;be=be||{},me=me||!1;var ue,De,He={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}},ze=Object.keys(He),Xe=[],Be=0,nt=0,At=0,It=!0;function ae(q,ne){var Se,Ne=!1;for(Se=0;Se<q.length;Se+=1)q[Se]===ne&&(Ne=!0);return Ne}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(He)),this.internal.viewerpreferences.isSubscribed=!1),pe=this.internal.viewerpreferences.configuration,be==="reset"||me===!0){var he=ze.length;for(At=0;At<he;At+=1)pe[ze[At]].value=pe[ze[At]].defaultValue,pe[ze[At]].explicitSet=!1}if(m(be)==="object"){for(ue in be)if(De=be[ue],ae(ze,ue)&&De!==void 0){if(pe[ue].type==="boolean"&&typeof De=="boolean")pe[ue].value=De;else if(pe[ue].type==="name"&&ae(pe[ue].valueSet,De))pe[ue].value=De;else if(pe[ue].type==="integer"&&Number.isInteger(De))pe[ue].value=De;else if(pe[ue].type==="array"){for(Be=0;Be<De.length;Be+=1)if(It=!0,De[Be].length===1&&typeof De[Be][0]=="number")Xe.push(String(De[Be]-1));else if(1<De[Be].length){for(nt=0;nt<De[Be].length;nt+=1)typeof De[Be][nt]!="number"&&(It=!1);It===!0&&Xe.push([De[Be][0]-1,De[Be][1]-1].join(" "))}pe[ue].value="["+Xe.join(" ")+"]"}else pe[ue].value=pe[ue].defaultValue;pe[ue].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var q,ne=[];for(q in pe)pe[q].explicitSet===!0&&(pe[q].type==="name"?ne.push("/"+q+" /"+pe[q].value):ne.push("/"+q+" "+pe[q].value));ne.length!==0&&this.internal.write(`/ViewerPreferences
<<
`+ne.join(`
`)+`
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=pe,this},Fe=mt.API,fe=se=Oe="",Fe.addMetadata=function(be,me){return se=me||"http://jspdf.default.namespaceuri/",Oe=be,this.internal.events.subscribe("postPutResources",function(){if(Oe){var pe='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+se+'"><jspdf:metadata>',ue=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),De=unescape(encodeURIComponent(pe)),He=unescape(encodeURIComponent(Oe)),ze=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),Xe=unescape(encodeURIComponent("</x:xmpmeta>")),Be=De.length+He.length+ze.length+ue.length+Xe.length;fe=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+Be+" >>"),this.internal.write("stream"),this.internal.write(ue+De+He+ze+Xe),this.internal.write("endstream"),this.internal.write("endobj")}else fe=""}),this.internal.events.subscribe("putCatalog",function(){fe&&this.internal.write("/Metadata "+fe+" 0 R")}),this},function(be,me){var pe=be.API,ue=pe.pdfEscape16=function(ze,Xe){for(var Be,nt=Xe.metadata.Unicode.widths,At=["","0","00","000","0000"],It=[""],ae=0,he=ze.length;ae<he;++ae){if(Be=Xe.metadata.characterToGlyph(ze.charCodeAt(ae)),Xe.metadata.glyIdsUsed.push(Be),Xe.metadata.toUnicode[Be]=ze.charCodeAt(ae),nt.indexOf(Be)==-1&&(nt.push(Be),nt.push([parseInt(Xe.metadata.widthOfGlyph(Be),10)])),Be=="0")return It.join("");Be=Be.toString(16),It.push(At[4-Be.length],Be)}return It.join("")},De=function(Xe){var Be,nt,At,It,ae,he,q;for(ae=`/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`,At=[],he=0,q=(nt=Object.keys(Xe).sort(function(ne,Se){return ne-Se})).length;he<q;he++)Be=nt[he],100<=At.length&&(ae+=`
`+At.length+` beginbfchar
`+At.join(`
`)+`
endbfchar`,At=[]),It=("0000"+Xe[Be].toString(16)).slice(-4),Be=("0000"+(+Be).toString(16)).slice(-4),At.push("<"+Be+"><"+It+">");return At.length&&(ae+=`
`+At.length+` beginbfchar
`+At.join(`
`)+`
endbfchar
`),ae+=`endcmap
CMapName currentdict /CMap defineresource pop
end
end`};pe.events.push(["putFont",function(ze){!function(Xe,Be,nt,At){if(Xe.metadata instanceof be.API.TTFFont&&Xe.encoding==="Identity-H"){for(var It=Xe.metadata.Unicode.widths,ae=Xe.metadata.subset.encode(Xe.metadata.glyIdsUsed,1),he="",q=0;q<ae.length;q++)he+=String.fromCharCode(ae[q]);var ne=nt();At({data:he,addLength1:!0}),Be("endobj");var Se=nt();At({data:De(Xe.metadata.toUnicode),addLength1:!0}),Be("endobj");var Ne=nt();Be("<<"),Be("/Type /FontDescriptor"),Be("/FontName /"+Xe.fontName),Be("/FontFile2 "+ne+" 0 R"),Be("/FontBBox "+be.API.PDFObject.convert(Xe.metadata.bbox)),Be("/Flags "+Xe.metadata.flags),Be("/StemV "+Xe.metadata.stemV),Be("/ItalicAngle "+Xe.metadata.italicAngle),Be("/Ascent "+Xe.metadata.ascender),Be("/Descent "+Xe.metadata.decender),Be("/CapHeight "+Xe.metadata.capHeight),Be(">>"),Be("endobj");var Me=nt();Be("<<"),Be("/Type /Font"),Be("/BaseFont /"+Xe.fontName),Be("/FontDescriptor "+Ne+" 0 R"),Be("/W "+be.API.PDFObject.convert(It)),Be("/CIDToGIDMap /Identity"),Be("/DW 1000"),Be("/Subtype /CIDFontType2"),Be("/CIDSystemInfo"),Be("<<"),Be("/Supplement 0"),Be("/Registry (Adobe)"),Be("/Ordering ("+Xe.encoding+")"),Be(">>"),Be(">>"),Be("endobj"),Xe.objectNumber=nt(),Be("<<"),Be("/Type /Font"),Be("/Subtype /Type0"),Be("/ToUnicode "+Se+" 0 R"),Be("/BaseFont /"+Xe.fontName),Be("/Encoding /"+Xe.encoding),Be("/DescendantFonts ["+Me+" 0 R]"),Be(">>"),Be("endobj"),Xe.isAlreadyPutted=!0}}(ze.font,ze.out,ze.newObject,ze.putStream)}]),pe.events.push(["putFont",function(ze){!function(Xe,Be,nt,At){if(Xe.metadata instanceof be.API.TTFFont&&Xe.encoding==="WinAnsiEncoding"){Xe.metadata.Unicode.widths;for(var It=Xe.metadata.rawData,ae="",he=0;he<It.length;he++)ae+=String.fromCharCode(It[he]);var q=nt();At({data:ae,addLength1:!0}),Be("endobj");var ne=nt();At({data:De(Xe.metadata.toUnicode),addLength1:!0}),Be("endobj");var Se=nt();for(Be("<<"),Be("/Descent "+Xe.metadata.decender),Be("/CapHeight "+Xe.metadata.capHeight),Be("/StemV "+Xe.metadata.stemV),Be("/Type /FontDescriptor"),Be("/FontFile2 "+q+" 0 R"),Be("/Flags 96"),Be("/FontBBox "+be.API.PDFObject.convert(Xe.metadata.bbox)),Be("/FontName /"+Xe.fontName),Be("/ItalicAngle "+Xe.metadata.italicAngle),Be("/Ascent "+Xe.metadata.ascender),Be(">>"),Be("endobj"),Xe.objectNumber=nt(),he=0;he<Xe.metadata.hmtx.widths.length;he++)Xe.metadata.hmtx.widths[he]=parseInt(Xe.metadata.hmtx.widths[he]*(1e3/Xe.metadata.head.unitsPerEm));Be("<</Subtype/TrueType/Type/Font/ToUnicode "+ne+" 0 R/BaseFont/"+Xe.fontName+"/FontDescriptor "+Se+" 0 R/Encoding/"+Xe.encoding+" /FirstChar 29 /LastChar 255 /Widths "+be.API.PDFObject.convert(Xe.metadata.hmtx.widths)+">>"),Be("endobj"),Xe.isAlreadyPutted=!0}}(ze.font,ze.out,ze.newObject,ze.putStream)}]);var He=function(Xe){var Be,nt,At=Xe.text||"",It=Xe.x,ae=Xe.y,he=Xe.options||{},q=Xe.mutex||{},ne=q.pdfEscape,Se=q.activeFontKey,Ne=q.fonts,Me=(q.activeFontSize,""),$e=0,vt="",Wt=Ne[nt=Se].encoding;if(Ne[nt].encoding!=="Identity-H")return{text:At,x:It,y:ae,options:he,mutex:q};for(vt=At,nt=Se,Object.prototype.toString.call(At)==="[object Array]"&&(vt=At[0]),$e=0;$e<vt.length;$e+=1)Ne[nt].metadata.hasOwnProperty("cmap")&&(Be=Ne[nt].metadata.cmap.unicode.codeMap[vt[$e].charCodeAt(0)]),Be||vt[$e].charCodeAt(0)<256&&Ne[nt].metadata.hasOwnProperty("Unicode")?Me+=vt[$e]:Me+="";var $t="";return parseInt(nt.slice(1))<14||Wt==="WinAnsiEncoding"?$t=function(Dt){for(var Kt="",Gt=0;Gt<Dt.length;Gt++)Kt+=""+Dt.charCodeAt(Gt).toString(16);return Kt}(ne(Me,nt)):Wt==="Identity-H"&&($t=ue(Me,Ne[nt])),q.isHex=!0,{text:$t,x:It,y:ae,options:he,mutex:q}};pe.events.push(["postProcessText",function(ze){var Xe=ze.text||"",Be=ze.x,nt=ze.y,At=ze.options,It=ze.mutex,ae=(At.lang,[]),he={text:Xe,x:Be,y:nt,options:At,mutex:It};if(Object.prototype.toString.call(Xe)==="[object Array]"){var q=0;for(q=0;q<Xe.length;q+=1)Object.prototype.toString.call(Xe[q])==="[object Array]"&&Xe[q].length===3?ae.push([He(Object.assign({},he,{text:Xe[q][0]})).text,Xe[q][1],Xe[q][2]]):ae.push(He(Object.assign({},he,{text:Xe[q]})).text);ze.text=ae}else ze.text=He(Object.assign({},he,{text:Xe})).text}])}(mt,typeof self!="undefined"&&self||typeof g!="undefined"&&g||typeof window!="undefined"&&window||Function("return this")()),Le=mt.API,Je=function(me){return me!==void 0&&(me.vFS===void 0&&(me.vFS={}),!0)},Le.existsFileInVFS=function(be){return!!Je(this.internal)&&this.internal.vFS[be]!==void 0},Le.addFileToVFS=function(be,me){return Je(this.internal),this.internal.vFS[be]=me,this},Le.getFileFromVFS=function(be){return Je(this.internal),this.internal.vFS[be]!==void 0?this.internal.vFS[be]:null},mt.API.addHTML=function(be,me,pe,ue,De){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 me!="number"&&(ue=me,De=pe),typeof ue=="function"&&(De=ue,ue=null),typeof De!="function"&&(De=function(){});var He=this.internal,ze=He.scaleFactor,Xe=He.pageSize.getWidth(),Be=He.pageSize.getHeight();if((ue=ue||{}).onrendered=function(At){me=parseInt(me)||0,pe=parseInt(pe)||0;var It=ue.dim||{},ae=Object.assign({top:0,right:0,bottom:0,left:0,useFor:"content"},ue.margin),he=It.h||Math.min(Be,At.height/ze),q=It.w||Math.min(Xe,At.width/ze)-me,ne=ue.format||"JPEG",Se=ue.imageCompression||"SLOW";if(At.height>Be-ae.top-ae.bottom&&ue.pagesplit){var Ne=function(Dt,Kt,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=ue.backgroundColor||"#ffffff",er.fillRect(0,0,Qt,Mt),er.drawImage(Dt,Kt,Gt,Qt,Mt,0,0,Qt,Mt),dr},Me=function(){for(var $t,Dt,Kt=0,Gt=0,Qt={},Mt=!1;;){var dr;if(Gt=0,Qt.top=Kt!==0?ae.top:pe,Qt.left=Kt!==0?ae.left:me,Mt=(Xe-ae.left-ae.right)*ze<At.width,ae.useFor==="content"?Kt===0?($t=Math.min((Xe-ae.left)*ze,At.width),Dt=Math.min((Be-ae.top)*ze,At.height-Kt)):($t=Math.min(Xe*ze,At.width),Dt=Math.min(Be*ze,At.height-Kt),Qt.top=0):($t=Math.min((Xe-ae.left-ae.right)*ze,At.width),Dt=Math.min((Be-ae.bottom-ae.top)*ze,At.height-Kt)),Mt)for(;;){ae.useFor==="content"&&(Gt===0?$t=Math.min((Xe-ae.left)*ze,At.width):($t=Math.min(Xe*ze,At.width-Gt),Qt.left=0));var er=[dr=Ne(At,Gt,Kt,$t,Dt),Qt.left,Qt.top,dr.width/ze,dr.height/ze,ne,null,Se];if(this.addImage.apply(this,er),(Gt+=$t)>=At.width)break;this.addPage()}else er=[dr=Ne(At,0,Kt,$t,Dt),Qt.left,Qt.top,dr.width/ze,dr.height/ze,ne,null,Se],this.addImage.apply(this,er);if((Kt+=Dt)>=At.height)break;this.addPage()}De(q,Kt,null,er)}.bind(this);if(At.nodeName==="CANVAS"){var $e=new Image;$e.onload=Me,$e.src=At.toDataURL("image/png"),At=$e}else Me()}else{var vt=Math.random().toString(35),Wt=[At,me,pe,q,he,ne,vt,Se];this.addImage.apply(this,Wt),De(q,he,vt,Wt)}}.bind(this),typeof html2canvas!="undefined"&&!ue.rstz)return html2canvas(be,ue);if(typeof rasterizeHTML=="undefined")return null;var nt="drawDocument";return typeof be=="string"&&(nt=/^http/.test(be)?"drawURL":"drawHTML"),ue.width=ue.width||Xe*ze,rasterizeHTML[nt](be,void 0,ue).then(function(At){ue.onrendered(At.image)},function(At){De(null,At)})},function(be){var me,pe,ue,De,He,ze,Xe,Be,nt,At,It,ae,he,q,ne,Se,Ne,Me,$e,vt;me=function(){return function(Kt){return Dt.prototype=Kt,new Dt};function Dt(){}}(),At=function(Kt){var Gt,Qt,Mt,dr,er,ot,xt;for(Qt=0,Mt=Kt.length,Gt=void 0,ot=dr=!1;!dr&&Qt!==Mt;)(Gt=Kt[Qt]=Kt[Qt].trimLeft())&&(dr=!0),Qt++;for(Qt=Mt-1;Mt&&!ot&&Qt!==-1;)(Gt=Kt[Qt]=Kt[Qt].trimRight())&&(ot=!0),Qt--;for(er=/\s+$/g,xt=!0,Qt=0;Qt!==Mt;)Kt[Qt]!="\u2028"&&(Gt=Kt[Qt].replace(/\s+/g," "),xt&&(Gt=Gt.trimLeft()),Gt&&(xt=er.test(Gt)),Kt[Qt]=Gt),Qt++;return Kt},ae=function(Kt){var Gt,Qt,Mt;for(Gt=void 0,Qt=(Mt=Kt.split(",")).shift();!Gt&&Qt;)Gt=ue[Qt.trim().toLowerCase()],Qt=Mt.shift();return Gt},he=function(Kt){var Gt;return-1<(Kt=Kt==="auto"?"0px":Kt).indexOf("em")&&!isNaN(Number(Kt.replace("em","")))&&(Kt=18.719*Number(Kt.replace("em",""))+"px"),-1<Kt.indexOf("pt")&&!isNaN(Number(Kt.replace("pt","")))&&(Kt=1.333*Number(Kt.replace("pt",""))+"px"),(Gt=q[Kt])?Gt:(Gt={"xx-small":9,"x-small":11,small:13,medium:16,large:19,"x-large":23,"xx-large":28,auto:0}[Kt])!==void 0||(Gt=parseFloat(Kt))?q[Kt]=Gt/16:(Gt=Kt.match(/([\d\.]+)(px)/),Array.isArray(Gt)&&Gt.length===3?q[Kt]=parseFloat(Gt[1])/16:q[Kt]=1)},nt=function(Kt){var Gt,Qt,Mt,dr,er;return er=Kt,dr=document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(er,null):er.currentStyle?er.currentStyle:er.style,Qt=void 0,(Gt={})["font-family"]=ae((Mt=function(xt){return xt=xt.replace(/-\D/g,function(ut){return ut.charAt(1).toUpperCase()}),dr[xt]})("font-family"))||"times",Gt["font-style"]=De[Mt("font-style")]||"normal",Gt["text-align"]=He[Mt("text-align")]||"left",(Qt=ze[Mt("font-weight")]||"normal")==="bold"&&(Gt["font-style"]==="normal"?Gt["font-style"]=Qt:Gt["font-style"]=Qt+Gt["font-style"]),Gt["font-size"]=he(Mt("font-size"))||1,Gt["line-height"]=he(Mt("line-height"))||1,Gt.display=Mt("display")==="inline"?"inline":"block",Qt=Gt.display==="block",Gt["margin-top"]=Qt&&he(Mt("margin-top"))||0,Gt["margin-bottom"]=Qt&&he(Mt("margin-bottom"))||0,Gt["padding-top"]=Qt&&he(Mt("padding-top"))||0,Gt["padding-bottom"]=Qt&&he(Mt("padding-bottom"))||0,Gt["margin-left"]=Qt&&he(Mt("margin-left"))||0,Gt["margin-right"]=Qt&&he(Mt("margin-right"))||0,Gt["padding-left"]=Qt&&he(Mt("padding-left"))||0,Gt["padding-right"]=Qt&&he(Mt("padding-right"))||0,Gt["page-break-before"]=Mt("page-break-before")||"auto",Gt.float=Xe[Mt("cssFloat")]||"none",Gt.clear=Be[Mt("clear")]||"none",Gt.color=Mt("color"),Gt},ne=function(Kt,Gt,Qt){var Mt,dr,er,ot,xt;if(er=!1,ot=dr=void 0,Mt=Qt["#"+Kt.id])if(typeof Mt=="function")er=Mt(Kt,Gt);else for(dr=0,ot=Mt.length;!er&&dr!==ot;)er=Mt[dr](Kt,Gt),dr++;if(Mt=Qt[Kt.nodeName],!er&&Mt)if(typeof Mt=="function")er=Mt(Kt,Gt);else for(dr=0,ot=Mt.length;!er&&dr!==ot;)er=Mt[dr](Kt,Gt),dr++;for(xt=typeof Kt.className=="string"?Kt.className.split(" "):[],dr=0;dr<xt.length;dr++)if(Mt=Qt["."+xt[dr]],!er&&Mt)if(typeof Mt=="function")er=Mt(Kt,Gt);else for(dr=0,ot=Mt.length;!er&&dr!==ot;)er=Mt[dr](Kt,Gt),dr++;return er},vt=function(Kt,Gt){var Qt,Mt,dr,er,ot,xt,ut,ft,Ot;for(Qt=[],Mt=[],dr=0,Ot=Kt.rows[0].cells.length,ut=Kt.clientWidth;dr<Ot;)ft=Kt.rows[0].cells[dr],Mt[dr]={name:ft.textContent.toLowerCase().replace(/\s+/g,""),prompt:ft.textContent.replace(/\r?\n/g,""),width:ft.clientWidth/ut*Gt.pdf.internal.pageSize.getWidth()},dr++;for(dr=1;dr<Kt.rows.length;){for(xt=Kt.rows[dr],ot={},er=0;er<xt.cells.length;)ot[Mt[er].name]=xt.cells[er].textContent.replace(/\r?\n/g,""),er++;Qt.push(ot),dr++}return{rows:Qt,headers:Mt}};var Wt={SCRIPT:1,STYLE:1,NOSCRIPT:1,OBJECT:1,EMBED:1,SELECT:1},$t=1;pe=function(Kt,Gt,Qt){var Mt,dr,er,ot,xt,ut,ft,Ot;for(dr=Kt.childNodes,Mt=void 0,(xt=(er=nt(Kt)).display==="block")&&(Gt.setBlockBoundary(),Gt.setBlockStyle(er)),ot=0,ut=dr.length;ot<ut;){if(m(Mt=dr[ot])==="object"){if(Gt.executeWatchFunctions(Mt),Mt.nodeType===1&&Mt.nodeName==="HEADER"){var Tt=Mt,ht=Gt.pdf.margins_doc.top;Gt.pdf.internal.events.subscribe("addPage",function(cr){Gt.y=ht,pe(Tt,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 Ft=er["font-size"],ir=(3-.75*Ft)*Gt.pdf.internal.scaleFactor,Xt=.75*Ft*Gt.pdf.internal.scaleFactor,mr=1.74*Ft/Gt.pdf.internal.scaleFactor;Ot=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=Se[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 Fr=nt(Mt),tn=Gt.x,qr=12/Gt.pdf.internal.scaleFactor,Lr=(Fr["margin-left"]+Fr["padding-left"])*qr,Qr=(Fr["margin-right"]+Fr["padding-right"])*qr,_r=(Fr["margin-top"]+Fr["padding-top"])*qr,ur=(Fr["margin-bottom"]+Fr["padding-bottom"])*qr;Fr.float!==void 0&&Fr.float==="right"?tn+=Gt.settings.width-Mt.width-Qr:tn+=Lr,Gt.pdf.addImage(Ar,tn,Gt.y+_r,Mt.width,Mt.height),Ar=void 0,Fr.float==="right"||Fr.float==="left"?(Gt.watchFunctions.push(function(cr,fr,xr,Yr){return Gt.y>=fr?(Gt.x+=cr,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+=cr,Gt.y=fr,Gt.settings.width+=xr,!0)}.bind(this,Fr.float==="left"?-Mt.width-Lr-Qr:0,Gt.y+Mt.height+_r+ur,Mt.width)),Gt.watchFunctions.push(function(cr,fr,xr){return!(Gt.y<cr&&fr===Gt.pdf.internal.getNumberOfPages())||xr.nodeType===1&&nt(xr).clear==="both"&&(Gt.y=cr,!0)}.bind(this,Gt.y+Mt.height,Gt.pdf.internal.getNumberOfPages())),Gt.settings.width-=Mt.width+Lr+Qr,Fr.float==="left"&&(Gt.x+=Mt.width+Lr+Qr)):Gt.y+=Mt.height+_r+ur}else if(Mt.nodeName==="TABLE")ft=vt(Mt,Gt),Gt.y+=10,Gt.pdf.table(Gt.x,Gt.y,ft.rows,ft.headers,{autoSize:!1,printHeaders:Qt.printHeaders,margins:Gt.pdf.margins_doc,css:nt(Mt)}),Gt.y=Gt.pdf.lastCellPos.y+Gt.pdf.lastCellPos.h+20;else if(Mt.nodeName==="OL"||Mt.nodeName==="UL")$t=1,ne(Mt,Gt,Qt)||pe(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,ne(Mt,Gt,Qt)||pe(Mt,Gt,Qt),Gt.x=pr}else Mt.nodeName==="BR"?(Gt.y+=er["font-size"]*Gt.pdf.internal.scaleFactor,Gt.addText("\u2028",me(er))):ne(Mt,Gt,Qt)||pe(Mt,Gt,Qt)}}ot++}if(Qt.outY=Gt.y,xt)return Gt.setBlockBoundary(Ot)},Se={},Ne=function(Kt,Gt,Qt,Mt){var dr,er=Kt.getElementsByTagName("img"),ot=er.length,xt=0;function ut(){Gt.pdf.internal.events.publish("imagesLoaded"),Mt(dr)}function ft(Ot,Tt,ht){if(Ot){var Ht=new Image;dr=++xt,Ht.crossOrigin="",Ht.onerror=Ht.onload=function(){if(Ht.complete&&(Ht.src.indexOf("data:image/")===0&&(Ht.width=Tt||Ht.width||0,Ht.height=ht||Ht.height||0),Ht.width+Ht.height)){var Ft=Gt.pdf.sHashCode(Ot)||Ot;Se[Ft]=Se[Ft]||Ht}--xt||ut()},Ht.src=Ot}}for(;ot--;)ft(er[ot].getAttribute("src"),er[ot].width,er[ot].height);return xt||ut()},Me=function(Kt,Gt,Qt){var Mt=Kt.getElementsByTagName("footer");if(0<Mt.length){Mt=Mt[0];var dr=Gt.pdf.internal.write,er=Gt.y;Gt.pdf.internal.write=function(){},pe(Mt,Gt,Qt);var ot=Math.ceil(Gt.y-er)+5;Gt.y=er,Gt.pdf.internal.write=dr,Gt.pdf.margins_doc.bottom+=ot;for(var xt=function(Tt){var ht=Tt!==void 0?Tt.pageNumber:1,Ht=Gt.y;Gt.y=Gt.pdf.internal.pageSize.getHeight()-Gt.pdf.margins_doc.bottom,Gt.pdf.margins_doc.bottom-=ot;for(var Ft=Mt.getElementsByTagName("span"),ir=0;ir<Ft.length;++ir)-1<(" "+Ft[ir].className+" ").replace(/[\n\t]/g," ").indexOf(" pageCounter ")&&(Ft[ir].innerHTML=ht),-1<(" "+Ft[ir].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&(Ft[ir].innerHTML="###jsPDFVarTotalPages###");pe(Mt,Gt,Qt),Gt.pdf.margins_doc.bottom+=ot,Gt.y=Ht},ut=Mt.getElementsByTagName("span"),ft=0;ft<ut.length;++ft)-1<(" "+ut[ft].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",xt,!1),xt(),Wt.FOOTER=1}},$e=function(Kt,Gt,Qt,Mt,dr,er){if(!Gt)return!1;var ot,xt,ut,ft;typeof Gt=="string"||Gt.parentNode||(Gt=""+Gt.innerHTML),typeof Gt=="string"&&(ot=Gt.replace(/<\/?script[^>]*?>/gi,""),ft="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(ut=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;",ut.innerHTML='<iframe style="height:1px;width:1px" name="'+ft+'" />',document.body.appendChild(ut),(xt=window.frames[ft]).document.open(),xt.document.writeln(ot),xt.document.close(),Gt=xt.document.body);var Ot,Tt=new It(Kt,Qt,Mt,dr);return Ne.call(this,Gt,Tt,dr.elementHandlers,function(ht){Me(Gt,Tt,dr.elementHandlers),pe(Gt,Tt,dr.elementHandlers),Tt.pdf.internal.events.publish("htmlRenderingFinished"),Ot=Tt.dispose(),typeof er=="function"?er(Ot):ht&&console.error("jsPDF Warning: rendering issues? provide a callback to fromHTML!")}),Ot||{x:Tt.x,y:Tt.y}},(It=function(Kt,Gt,Qt,Mt){return this.pdf=Kt,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(Dt){var Kt=!1,Gt=[];if(0<this.watchFunctions.length){for(var Qt=0;Qt<this.watchFunctions.length;++Qt)this.watchFunctions[Qt](Dt)===!0?Kt=!0:Gt.push(this.watchFunctions[Qt]);this.watchFunctions=Gt}return Kt},It.prototype.splitFragmentsIntoLines=function(Dt,Kt){var Gt,Qt,Mt,dr,er,ot,xt,ut,ft,Ot,Tt,ht,Ht,Ft;for(Ot=this.pdf.internal.scaleFactor,dr={},ot=xt=ut=Ft=er=Mt=ft=Qt=void 0,ht=[Tt=[]],Gt=0,Ht=this.settings.width;Dt.length;)if(er=Dt.shift(),Ft=Kt.shift(),er)if((Mt=dr[(Qt=Ft["font-family"])+(ft=Ft["font-style"])])||(Mt=this.pdf.internal.getFont(Qt,ft).metadata.Unicode,dr[Qt+ft]=Mt),ut={widths:Mt.widths,kerning:Mt.kerning,fontSize:12*Ft["font-size"],textIndent:Gt},xt=this.pdf.getStringUnitWidth(er,ut)*ut.fontSize/Ot,er=="\u2028")Tt=[],ht.push(Tt);else if(Ht<Gt+xt){for(ot=this.pdf.splitTextToSize(er,Ht,ut),Tt.push([ot.shift(),Ft]);ot.length;)Tt=[[ot.shift(),Ft]],ht.push(Tt);Gt=this.pdf.getStringUnitWidth(Tt[0][0],ut)*ut.fontSize/Ot}else Tt.push([er,Ft]),Gt+=xt;if(Ft["text-align"]!==void 0&&(Ft["text-align"]==="center"||Ft["text-align"]==="right"||Ft["text-align"]==="justify"))for(var ir=0;ir<ht.length;++ir){var Xt=this.pdf.getStringUnitWidth(ht[ir][0][0],ut)*ut.fontSize/Ot;0<ir&&(ht[ir][0][1]=me(ht[ir][0][1]));var mr=Ht-Xt;if(Ft["text-align"]==="right")ht[ir][0][1]["margin-left"]=mr;else if(Ft["text-align"]==="center")ht[ir][0][1]["margin-left"]=mr/2;else if(Ft["text-align"]==="justify"){var Ar=ht[ir][0][0].split(" ").length-1;ht[ir][0][1]["word-spacing"]=mr/Ar,ir===ht.length-1&&(ht[ir][0][1]["word-spacing"]=0)}}return ht},It.prototype.RenderTextFragment=function(Dt,Kt){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(Kt.color),this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td"),Qt=Math.max(Qt,Kt["line-height"],Kt["font-size"]),this.pdf.internal.write(0,(-12*Qt).toFixed(2),"Td")),Gt=this.pdf.internal.getFont(Kt["font-family"],Kt["font-style"]);var Mt=this.getPdfColor(Kt.color);Mt!==this.lastTextColor&&(this.pdf.internal.write(Mt),this.lastTextColor=Mt),Kt["word-spacing"]!==void 0&&0<Kt["word-spacing"]&&this.pdf.internal.write(Kt["word-spacing"].toFixed(2),"Tw"),this.pdf.internal.write("/"+Gt.id,(12*Kt["font-size"]).toFixed(2),"Tf","("+this.pdf.internal.pdfEscape(Dt)+") Tj"),Kt["word-spacing"]!==void 0&&this.pdf.internal.write(0,"Tw")},It.prototype.getPdfColor=function(Dt){var Kt,Gt,Qt,Mt=/rgb\s*\(\s*(\d+),\s*(\d+),\s*(\d+\s*)\)/.exec(Dt);if(Mt!=null)Kt=parseInt(Mt[1]),Gt=parseInt(Mt[2]),Qt=parseInt(Mt[3]);else{if(typeof Dt=="string"&&Dt.charAt(0)!="#"){var dr=new RGBColor(Dt);Dt=dr.ok?dr.toHex():"#000000"}Kt=Dt.substring(1,3),Kt=parseInt(Kt,16),Gt=Dt.substring(3,5),Gt=parseInt(Gt,16),Qt=Dt.substring(5,7),Qt=parseInt(Qt,16)}if(typeof Kt=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Kt)){var er=parseInt(Kt.substr(1),16);Kt=er>>16&255,Gt=er>>8&255,Qt=255&er}var ot=this.f3;return Kt===0&&Gt===0&&Qt===0||Gt===void 0?ot(Kt/255)+" g":[ot(Kt/255),ot(Gt/255),ot(Qt/255),"rg"].join(" ")},It.prototype.f3=function(Dt){return Dt.toFixed(3)},It.prototype.renderParagraph=function(Dt){var Kt,Gt,Qt,Mt,dr,er,ot,xt,ut,ft,Ot,Tt,ht;if(Qt=At(this.paragraph.text),Tt=this.paragraph.style,Kt=this.paragraph.blockstyle,this.paragraph.priorblockstyle,this.paragraph={text:[],style:[],blockstyle:{},priorblockstyle:Kt},Qt.join("").trim()){ot=this.splitFragmentsIntoLines(Qt,Tt),xt=er=void 0,Gt=12/this.pdf.internal.scaleFactor,this.priorMarginBottom=this.priorMarginBottom||0,Ot=(Math.max((Kt["margin-top"]||0)-this.priorMarginBottom,0)+(Kt["padding-top"]||0))*Gt,ft=((Kt["margin-bottom"]||0)+(Kt["padding-bottom"]||0))*Gt,this.priorMarginBottom=Kt["margin-bottom"]||0,Kt["page-break-before"]==="always"&&(this.pdf.addPage(),this.y=0,Ot=((Kt["margin-top"]||0)+(Kt["padding-top"]||0))*Gt),ut=this.pdf.internal.write,dr=Mt=void 0,this.y+=Ot,ut("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td");for(var Ht=0;ot.length;){for(Mt=xt=0,dr=(er=ot.shift()).length;Mt!==dr;)er[Mt][0].trim()&&(xt=Math.max(xt,er[Mt][1]["line-height"],er[Mt][1]["font-size"]),ht=7*er[Mt][1]["font-size"]),Mt++;var Ft=0,ir=0;for(er[0][1]["margin-left"]!==void 0&&0<er[0][1]["margin-left"]&&(Ft=(ir=this.pdf.internal.getCoordinateString(er[0][1]["margin-left"]))-Ht,Ht=ir),ut(Ft+Math.max(Kt["margin-left"]||0,0)*Gt,(-12*xt).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+=xt*Gt,this.executeWatchFunctions(er[0][1])&&0<ot.length){var Xt=[],mr=[];ot.forEach(function(Ar){for(var Nr=0,Fr=Ar.length;Nr!==Fr;)Ar[Nr][0]&&(Xt.push(Ar[Nr][0]+" "),mr.push(Ar[Nr][1])),++Nr}),ot=this.splitFragmentsIntoLines(At(Xt),mr),ut("ET","Q"),ut("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td")}}return Dt&&typeof Dt=="function"&&Dt.call(this,this.x-9,this.y-ht/2),ut("ET","Q"),this.y+=ft}},It.prototype.setBlockBoundary=function(Dt){return this.renderParagraph(Dt)},It.prototype.setBlockStyle=function(Dt){return this.paragraph.blockstyle=Dt},It.prototype.addText=function(Dt,Kt){return this.paragraph.text.push(Dt),this.paragraph.style.push(Kt)},ue={helvetica:"helvetica","sans-serif":"helvetica","times new roman":"times",serif:"times",times:"times",monospace:"courier",courier:"courier"},ze={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"},De={normal:"normal",italic:"italic",oblique:"italic"},He={left:"left",right:"right",center:"center",justify:"justify"},Xe={none:"none",right:"right",left:"left"},Be={none:"none",both:"both"},q={normal:1},be.fromHTML=function(Dt,Kt,Gt,Qt,Mt,dr){return this.margins_doc=dr||{top:0,bottom:0},Qt||(Qt={}),Qt.elementHandlers||(Qt.elementHandlers={}),$e(this,Dt,isNaN(Kt)?4:Kt,isNaN(Gt)?4:Gt,Qt,Mt)}}(mt.API),mt.API,(typeof window!="undefined"&&window||typeof g!="undefined"&&g).html2pdf=function(be,me,pe){var ue=me.canvas;if(ue){var De,He;if((ue.pdf=me).annotations={_nameMap:[],createAnnotation:function(It,ae){var he,q=me.context2d._wrapX(ae.left),ne=me.context2d._wrapY(ae.top),Se=(me.context2d._page(ae.top),It.indexOf("#"));he=0<=Se?{name:It.substring(Se+1)}:{url:It},me.link(q,ne,ae.right-ae.left,ae.bottom-ae.top,he)},setName:function(It,ae){var he=me.context2d._wrapX(ae.left),q=me.context2d._wrapY(ae.top),ne=me.context2d._page(ae.top);this._nameMap[It]={page:ne,x:he,y:q}}},ue.annotations=me.annotations,me.context2d._pageBreakAt=function(At){this.pageBreaks.push(At)},me.context2d._gotoPage=function(At){for(;me.internal.getNumberOfPages()<At;)me.addPage();me.setPage(At)},typeof be=="string"){be=be.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"");var ze,Xe,Be=document.createElement("iframe");document.body.appendChild(Be),(ze=Be.contentDocument)!=null&&ze!=null||(ze=Be.contentWindow.document),ze.open(),ze.write(be),ze.close(),De=ze.body,Xe=ze.body||{},be=ze.documentElement||{},He=Math.max(Xe.scrollHeight,Xe.offsetHeight,be.clientHeight,be.scrollHeight,be.offsetHeight)}else Xe=(De=be).body||{},He=Math.max(Xe.scrollHeight,Xe.offsetHeight,be.clientHeight,be.scrollHeight,be.offsetHeight);var nt={async:!0,allowTaint:!0,backgroundColor:"#ffffff",canvas:ue,imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1,windowHeight:He=me.internal.pageSize.getHeight(),scrollY:He};me.context2d.pageWrapYEnabled=!0,me.context2d.pageWrapY=me.internal.pageSize.getHeight(),html2canvas(De,nt).then(function(At){pe&&(Be&&Be.parentElement.removeChild(Be),pe(me))})}else alert("jsPDF canvas plugin not installed")},window.tmp=html2pdf,function(be){var me=be.BlobBuilder||be.WebKitBlobBuilder||be.MSBlobBuilder||be.MozBlobBuilder;be.URL=be.URL||be.webkitURL||function(q,ne){return(ne=document.createElement("a")).href=q,ne};var pe=be.Blob,ue=URL.createObjectURL,De=URL.revokeObjectURL,He=be.Symbol&&be.Symbol.toStringTag,ze=!1,Xe=!1,Be=!!be.ArrayBuffer,nt=me&&me.prototype.append&&me.prototype.getBlob;try{ze=new Blob(["\xE4"]).size===2,Xe=new Blob([new Uint8Array([1,2])]).size===2}catch(q){}function At(q){return q.map(function(ne){if(ne.buffer instanceof ArrayBuffer){var Se=ne.buffer;if(ne.byteLength!==Se.byteLength){var Ne=new Uint8Array(ne.byteLength);Ne.set(new Uint8Array(Se,ne.byteOffset,ne.byteLength)),Se=Ne.buffer}return Se}return ne})}function It(q,ne){ne=ne||{};var Se=new me;return At(q).forEach(function(Ne){Se.append(Ne)}),ne.type?Se.getBlob(ne.type):Se.getBlob()}function ae(q,ne){return new pe(At(q),ne||{})}if(be.Blob&&(It.prototype=Blob.prototype,ae.prototype=Blob.prototype),He)try{File.prototype[He]="File",Blob.prototype[He]="Blob",FileReader.prototype[He]="FileReader"}catch(q){}function he(){var q=!!be.ActiveXObject||"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style,ne=be.XMLHttpRequest&&be.XMLHttpRequest.prototype.send;q&&ne&&(XMLHttpRequest.prototype.send=function(Ne){Ne instanceof Blob&&this.setRequestHeader("Content-Type",Ne.type),ne.call(this,Ne)});try{new File([],"")}catch(Ne){try{var Se=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')();be.File=Se}catch(Me){Se=function(vt,Wt,$t){var Dt=new Blob(vt,$t),Kt=$t&&$t.lastModified!==void 0?new Date($t.lastModified):new Date;return Dt.name=Wt,Dt.lastModifiedDate=Kt,Dt.lastModified=+Kt,Dt.toString=function(){return"[object File]"},He&&(Dt[He]="File"),Dt},be.File=Se}}}ze?(he(),be.Blob=Xe?be.Blob:ae):nt?(he(),be.Blob=It):function(){function q(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 ne(Qt){var Mt,dr,er,ot,xt,ut;for(Mt="",er=Qt.length,dr=0;dr<er;)switch((ot=Qt[dr++])>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:Mt+=String.fromCharCode(ot);break;case 12:case 13:xt=Qt[dr++],Mt+=String.fromCharCode((31&ot)<<6|63&xt);break;case 14:xt=Qt[dr++],ut=Qt[dr++],Mt+=String.fromCharCode((15&ot)<<12|(63&xt)<<6|(63&ut)<<0)}return Mt}function Se(Qt){for(var Mt=new Array(Qt.byteLength),dr=new Uint8Array(Qt),er=Mt.length;er--;)Mt[er]=dr[er];return Mt}function Ne(Qt){for(var Mt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",dr=[],er=0;er<Qt.length;er+=3){var ot=Qt[er],xt=er+1<Qt.length,ut=xt?Qt[er+1]:0,ft=er+2<Qt.length,Ot=ft?Qt[er+2]:0,Tt=ot>>2,ht=(3&ot)<<4|ut>>4,Ht=(15&ut)<<2|Ot>>6,Ft=63&Ot;ft||(Ft=64,xt||(Ht=64)),dr.push(Mt[Tt],Mt[ht],Mt[Ht],Mt[Ft])}return dr.join("")}var Me=Object.create||function(Qt){function Mt(){}return Mt.prototype=Qt,new Mt};if(Be)var $e=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],vt=ArrayBuffer.isView||function(Qt){return Qt&&-1<$e.indexOf(Object.prototype.toString.call(Qt))};function Wt(Qt,Mt){for(var dr=0,er=(Qt=Qt||[]).length;dr<er;dr++){var ot=Qt[dr];ot instanceof Wt?Qt[dr]=ot._buffer:typeof ot=="string"?Qt[dr]=q(ot):Be&&(ArrayBuffer.prototype.isPrototypeOf(ot)||vt(ot))?Qt[dr]=Se(ot):Be&&(xt=ot)&&DataView.prototype.isPrototypeOf(xt)?Qt[dr]=Se(ot.buffer):Qt[dr]=q(String(ot))}var xt;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=Me(Wt.prototype)).constructor=$t,Object.setPrototypeOf)Object.setPrototypeOf($t,Wt);else try{$t.__proto__=Wt}catch(Qt){}function Dt(){if(!(this instanceof Dt))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 Kt(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=Dt.LOADING,Qt.dispatchEvent(new Event("load")),Qt.dispatchEvent(new Event("loadend"))})}$t.prototype.toString=function(){return"[object File]"},Dt.EMPTY=0,Dt.LOADING=1,Dt.DONE=2,Dt.prototype.error=null,Dt.prototype.onabort=null,Dt.prototype.onerror=null,Dt.prototype.onload=null,Dt.prototype.onloadend=null,Dt.prototype.onloadstart=null,Dt.prototype.onprogress=null,Dt.prototype.readAsDataURL=function(Qt){Kt(this,Qt,"readAsDataURL"),this.result="data:"+Qt.type+";base64,"+Ne(Qt._buffer)},Dt.prototype.readAsText=function(Qt){Kt(this,Qt,"readAsText"),this.result=ne(Qt._buffer)},Dt.prototype.readAsArrayBuffer=function(Qt){Kt(this,Qt,"readAsText"),this.result=Qt._buffer.slice()},Dt.prototype.abort=function(){},URL.createObjectURL=function(Qt){return Qt instanceof Wt?"data:"+Qt.type+";base64,"+Ne(Qt._buffer):ue.call(URL,Qt)},URL.revokeObjectURL=function(Qt){De&&De.call(URL,Qt)};var Gt=be.XMLHttpRequest&&be.XMLHttpRequest.prototype.send;Gt&&(XMLHttpRequest.prototype.send=function(Qt){Qt instanceof Wt?(this.setRequestHeader("Content-Type",Qt.type),Gt.call(this,ne(Qt._buffer))):Gt.call(this,Qt)}),be.FileReader=Dt,be.File=$t,be.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 Ct,Ue,Rt,Ke,wt,Ye,et,rt,st,Ve,oe,re,it,Qe,ve,Zt=Zt||function(be){if(!(be===void 0||typeof navigator!="undefined"&&/MSIE [1-9]\./.test(navigator.userAgent))){var me=be.document,pe=function(){return be.URL||be.webkitURL||be},ue=me.createElementNS("http://www.w3.org/1999/xhtml","a"),De="download"in ue,He=/constructor/i.test(be.HTMLElement)||be.safari,ze=/CriOS\/[\d]+/.test(navigator.userAgent),Xe=be.setImmediate||be.setTimeout,Be=function(q){Xe(function(){throw q},0)},nt=function(q){setTimeout(function(){typeof q=="string"?pe().revokeObjectURL(q):q.remove()},4e4)},At=function(q){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(q.type)?new Blob([String.fromCharCode(65279),q],{type:q.type}):q},It=function(q,ne,Se){Se||(q=At(q));var Ne,Me=this,$e=q.type==="application/octet-stream",vt=function(){!function($t,Dt,Kt){for(var Gt=(Dt=[].concat(Dt)).length;Gt--;){var Qt=$t["on"+Dt[Gt]];if(typeof Qt=="function")try{Qt.call($t,Kt||$t)}catch(Mt){Be(Mt)}}}(Me,"writestart progress write writeend".split(" "))};if(Me.readyState=Me.INIT,De)return Ne=pe().createObjectURL(q),void Xe(function(){var Wt,$t;ue.href=Ne,ue.download=ne,Wt=ue,$t=new MouseEvent("click"),Wt.dispatchEvent($t),vt(),nt(Ne),Me.readyState=Me.DONE},0);!function(){if((ze||$e&&He)&&be.FileReader){var Wt=new FileReader;return Wt.onloadend=function(){var $t=ze?Wt.result:Wt.result.replace(/^data:[^;]*;/,"data:attachment/file;");be.open($t,"_blank")||(be.location.href=$t),$t=void 0,Me.readyState=Me.DONE,vt()},Wt.readAsDataURL(q),Me.readyState=Me.INIT}Ne||(Ne=pe().createObjectURL(q)),$e?be.location.href=Ne:be.open(Ne,"_blank")||(be.location.href=Ne),Me.readyState=Me.DONE,vt(),nt(Ne)}()},ae=It.prototype;return typeof navigator!="undefined"&&navigator.msSaveOrOpenBlob?function(he,q,ne){return q=q||he.name||"download",ne||(he=At(he)),navigator.msSaveOrOpenBlob(he,q)}:(ae.abort=function(){},ae.readyState=ae.INIT=0,ae.WRITING=1,ae.DONE=2,ae.error=ae.onwritestart=ae.onprogress=ae.onwrite=ae.onabort=ae.onerror=ae.onwriteend=null,function(he,q,ne){return new It(he,q||he.name||"download",ne)})}}(typeof self!="undefined"&&self||typeof window!="undefined"&&window||void 0);function dt(be){var me=0;if(be[me++]!==71||be[me++]!==73||be[me++]!==70||be[me++]!==56||(be[me++]+1&253)!=56||be[me++]!==97)throw"Invalid GIF 87a/89a header.";var pe=be[me++]|be[me++]<<8,ue=be[me++]|be[me++]<<8,De=be[me++],He=De>>7,ze=1<<(7&De)+1;be[me++],be[me++];var Xe=null;He&&(Xe=me,me+=3*ze);var Be=!0,nt=[],At=0,It=null,ae=0,he=null;for(this.width=pe,this.height=ue;Be&&me<be.length;)switch(be[me++]){case 33:switch(be[me++]){case 255:if(be[me]!==11||be[me+1]==78&&be[me+2]==69&&be[me+3]==84&&be[me+4]==83&&be[me+5]==67&&be[me+6]==65&&be[me+7]==80&&be[me+8]==69&&be[me+9]==50&&be[me+10]==46&&be[me+11]==48&&be[me+12]==3&&be[me+13]==1&&be[me+16]==0)me+=14,he=be[me++]|be[me++]<<8,me++;else for(me+=12;!((Kt=be[me++])===0);)me+=Kt;break;case 249:if(be[me++]!==4||be[me+4]!==0)throw"Invalid graphics extension block.";var q=be[me++];At=be[me++]|be[me++]<<8,It=be[me++],(1&q)==0&&(It=null),ae=q>>2&7,me++;break;case 254:for(;!((Kt=be[me++])===0);)me+=Kt;break;default:throw"Unknown graphic control label: 0x"+be[me-1].toString(16)}break;case 44:var ne=be[me++]|be[me++]<<8,Se=be[me++]|be[me++]<<8,Ne=be[me++]|be[me++]<<8,Me=be[me++]|be[me++]<<8,$e=be[me++],vt=$e>>6&1,Wt=Xe,$t=!1;$e>>7&&($t=!0,Wt=me,me+=3*(1<<(7&$e)+1));var Dt=me;for(me++;;){var Kt;if((Kt=be[me++])===0)break;me+=Kt}nt.push({x:ne,y:Se,width:Ne,height:Me,has_local_palette:$t,palette_offset:Wt,data_offset:Dt,data_length:me-Dt,transparent_index:It,interlaced:!!vt,delay:At,disposal:ae});break;case 59:Be=!1;break;default:throw"Unknown gif block: 0x"+be[me-1].toString(16)}this.numFrames=function(){return nt.length},this.loopCount=function(){return he},this.frameInfo=function(Gt){if(Gt<0||Gt>=nt.length)throw"Frame index out of range.";return nt[Gt]},this.decodeAndBlitFrameBGRA=function(Gt,Qt){var Mt=this.frameInfo(Gt),dr=Mt.width*Mt.height,er=new Uint8Array(dr);ct(be,Mt.data_offset,er,dr);var ot=Mt.palette_offset,xt=Mt.transparent_index;xt===null&&(xt=256);var ut=Mt.width,ft=pe-ut,Ot=ut,Tt=4*(Mt.y*pe+Mt.x),ht=4*((Mt.y+Mt.height)*pe+Mt.x),Ht=Tt,Ft=4*ft;Mt.interlaced===!0&&(Ft+=4*(ut+ft)*7);for(var ir=8,Xt=0,mr=er.length;Xt<mr;++Xt){var Ar=er[Xt];if(Ot===0&&(Ot=ut,ht<=(Ht+=Ft)&&(Ft=ft+4*(ut+ft)*(ir-1),Ht=Tt+(ut+ft)*(ir<<1),ir>>=1)),Ar===xt)Ht+=4;else{var Nr=be[ot+3*Ar],Fr=be[ot+3*Ar+1],tn=be[ot+3*Ar+2];Qt[Ht++]=tn,Qt[Ht++]=Fr,Qt[Ht++]=Nr,Qt[Ht++]=255}--Ot}},this.decodeAndBlitFrameRGBA=function(Gt,Qt){var Mt=this.frameInfo(Gt),dr=Mt.width*Mt.height,er=new Uint8Array(dr);ct(be,Mt.data_offset,er,dr);var ot=Mt.palette_offset,xt=Mt.transparent_index;xt===null&&(xt=256);var ut=Mt.width,ft=pe-ut,Ot=ut,Tt=4*(Mt.y*pe+Mt.x),ht=4*((Mt.y+Mt.height)*pe+Mt.x),Ht=Tt,Ft=4*ft;Mt.interlaced===!0&&(Ft+=4*(ut+ft)*7);for(var ir=8,Xt=0,mr=er.length;Xt<mr;++Xt){var Ar=er[Xt];if(Ot===0&&(Ot=ut,ht<=(Ht+=Ft)&&(Ft=ft+4*(ut+ft)*(ir-1),Ht=Tt+(ut+ft)*(ir<<1),ir>>=1)),Ar===xt)Ht+=4;else{var Nr=be[ot+3*Ar],Fr=be[ot+3*Ar+1],tn=be[ot+3*Ar+2];Qt[Ht++]=Nr,Qt[Ht++]=Fr,Qt[Ht++]=tn,Qt[Ht++]=255}--Ot}}}function ct(be,me,pe,ue){for(var De=be[me++],He=1<<De,ze=He+1,Xe=ze+1,Be=De+1,nt=(1<<Be)-1,At=0,It=0,ae=0,he=be[me++],q=new Int32Array(4096),ne=null;;){for(;At<16&&he!==0;)It|=be[me++]<<At,At+=8,he===1?he=be[me++]:--he;if(At<Be)break;var Se=It&nt;if(It>>=Be,At-=Be,Se!==He){if(Se===ze)break;for(var Ne=Se<Xe?Se:ne,Me=0,$e=Ne;He<$e;)$e=q[$e]>>8,++Me;var vt=$e;if(ue<ae+Me+(Ne!==Se?1:0))return void console.log("Warning, gif stream longer than expected.");pe[ae++]=vt;var Wt=ae+=Me;for(Ne!==Se&&(pe[ae++]=vt),$e=Ne;Me--;)$e=q[$e],pe[--Wt]=255&$e,$e>>=8;ne!==null&&Xe<4096&&(q[Xe++]=ne<<8|vt,nt+1<=Xe&&Be<12&&(++Be,nt=nt<<1|1)),ne=Se}else Xe=ze+1,nt=(1<<(Be=De+1))-1,ne=null}return ae!==ue&&console.log("Warning, gif stream shorter than expected."),pe}try{_.GifWriter=function(be,me,pe,ue){var De=0,He=(ue=ue===void 0?{}:ue).loop===void 0?null:ue.loop,ze=ue.palette===void 0?null:ue.palette;if(me<=0||pe<=0||65535<me||65535<pe)throw"Width/Height invalid.";function Xe(ne){var Se=ne.length;if(Se<2||256<Se||Se&Se-1)throw"Invalid code/color length, must be power of 2 and 2 .. 256.";return Se}be[De++]=71,be[De++]=73,be[De++]=70,be[De++]=56,be[De++]=57,be[De++]=97;var Be=0,nt=0;if(ze!==null){for(var At=Xe(ze);At>>=1;)++Be;if(At=1<<Be,--Be,ue.background!==void 0){if(At<=(nt=ue.background))throw"Background index out of range.";if(nt===0)throw"Background index explicitly passed as 0."}}if(be[De++]=255&me,be[De++]=me>>8&255,be[De++]=255&pe,be[De++]=pe>>8&255,be[De++]=(ze!==null?128:0)|Be,be[De++]=nt,be[De++]=0,ze!==null)for(var It=0,ae=ze.length;It<ae;++It){var he=ze[It];be[De++]=he>>16&255,be[De++]=he>>8&255,be[De++]=255&he}if(He!==null){if(He<0||65535<He)throw"Loop count invalid.";be[De++]=33,be[De++]=255,be[De++]=11,be[De++]=78,be[De++]=69,be[De++]=84,be[De++]=83,be[De++]=67,be[De++]=65,be[De++]=80,be[De++]=69,be[De++]=50,be[De++]=46,be[De++]=48,be[De++]=3,be[De++]=1,be[De++]=255&He,be[De++]=He>>8&255,be[De++]=0}var q=!1;this.addFrame=function(ne,Se,Ne,Me,$e,vt){if(q===!0&&(--De,q=!1),vt=vt===void 0?{}:vt,ne<0||Se<0||65535<ne||65535<Se)throw"x/y invalid.";if(Ne<=0||Me<=0||65535<Ne||65535<Me)throw"Width/Height invalid.";if($e.length<Ne*Me)throw"Not enough pixels for the frame size.";var Wt=!0,$t=vt.palette;if($t==null&&(Wt=!1,$t=ze),$t==null)throw"Must supply either a local or global palette.";for(var Dt=Xe($t),Kt=0;Dt>>=1;)++Kt;Dt=1<<Kt;var Gt=vt.delay===void 0?0:vt.delay,Qt=vt.disposal===void 0?0:vt.disposal;if(Qt<0||3<Qt)throw"Disposal out of range.";var Mt=!1,dr=0;if(vt.transparent!==void 0&&vt.transparent!==null&&(Mt=!0,(dr=vt.transparent)<0||Dt<=dr))throw"Transparent color index.";if((Qt!==0||Mt||Gt!==0)&&(be[De++]=33,be[De++]=249,be[De++]=4,be[De++]=Qt<<2|(Mt===!0?1:0),be[De++]=255&Gt,be[De++]=Gt>>8&255,be[De++]=dr,be[De++]=0),be[De++]=44,be[De++]=255&ne,be[De++]=ne>>8&255,be[De++]=255&Se,be[De++]=Se>>8&255,be[De++]=255&Ne,be[De++]=Ne>>8&255,be[De++]=255&Me,be[De++]=Me>>8&255,be[De++]=Wt===!0?128|Kt-1:0,Wt===!0)for(var er=0,ot=$t.length;er<ot;++er){var xt=$t[er];be[De++]=xt>>16&255,be[De++]=xt>>8&255,be[De++]=255&xt}De=function(ut,ft,Ot,Tt){ut[ft++]=Ot;var ht=ft++,Ht=1<<Ot,Ft=Ht-1,ir=Ht+1,Xt=ir+1,mr=Ot+1,Ar=0,Nr=0;function Fr(fr){for(;fr<=Ar;)ut[ft++]=255&Nr,Nr>>=8,Ar-=8,ft===ht+256&&(ut[ht]=255,ht=ft++)}function tn(fr){Nr|=fr<<Ar,Ar+=mr,Fr(8)}var qr=Tt[0]&Ft,Lr={};tn(Ht);for(var Qr=1,_r=Tt.length;Qr<_r;++Qr){var ur=Tt[Qr]&Ft,pr=qr<<8|ur,cr=Lr[pr];if(cr===void 0){for(Nr|=qr<<Ar,Ar+=mr;8<=Ar;)ut[ft++]=255&Nr,Nr>>=8,Ar-=8,ft===ht+256&&(ut[ht]=255,ht=ft++);Xt===4096?(tn(Ht),Xt=ir+1,mr=Ot+1,Lr={}):(1<<mr<=Xt&&++mr,Lr[pr]=Xt++),qr=ur}else qr=cr}return tn(qr),tn(ir),Fr(1),ht+1===ft?ut[ht]=0:(ut[ht]=ft-ht-1,ut[ft++]=0),ft}(be,De,Kt<2?2:Kt,$e)},this.end=function(){return q===!1&&(be[De++]=59,q=!0),De}},_.GifReader=dt}catch(be){}function yt(be){var me,pe,ue,De,He,ze=Math.floor,Xe=new Array(64),Be=new Array(64),nt=new Array(64),At=new Array(64),It=new Array(65535),ae=new Array(65535),he=new Array(64),q=new Array(64),ne=[],Se=0,Ne=7,Me=new Array(64),$e=new Array(64),vt=new Array(64),Wt=new Array(256),$t=new Array(2048),Dt=[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],Kt=[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],ot=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],xt=[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 ut(Ft,ir){for(var Xt=0,mr=0,Ar=new Array,Nr=1;Nr<=16;Nr++){for(var Fr=1;Fr<=Ft[Nr];Fr++)Ar[ir[mr]]=[],Ar[ir[mr]][0]=Xt,Ar[ir[mr]][1]=Nr,mr++,Xt++;Xt*=2}return Ar}function ft(Ft){for(var ir=Ft[0],Xt=Ft[1]-1;0<=Xt;)ir&1<<Xt&&(Se|=1<<Ne),Xt--,--Ne<0&&(Se==255?(Ot(255),Ot(0)):Ot(Se),Ne=7,Se=0)}function Ot(Ft){ne.push(Ft)}function Tt(Ft){Ot(Ft>>8&255),Ot(255&Ft)}function ht(Ft,ir,Xt,mr,Ar){for(var Nr,Fr=Ar[0],tn=Ar[240],qr=function(Yr,un){var Nn,jr,Tn,gn,Bn,zn,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],Bn=Yr[on+4],zn=Yr[on+5],qn=Yr[on+6];var ia=Nn+(Yn=Yr[on+7]),xa=Nn-Yn,ta=jr+qn,_i=jr-qn,Ci=Tn+zn,Gn=Tn-zn,Ia=gn+Bn,mn=gn-Bn,In=ia+Ia,Ln=ia-Ia,_n=ta+Ci,jn=ta-Ci;Yr[on]=In+_n,Yr[on+4]=In-_n;var ni=.707106781*(jn+Ln);Yr[on+2]=Ln+ni,Yr[on+6]=Ln-ni;var di=.382683433*((In=mn+Gn)-(jn=_i+xa)),Na=.5411961*In+di,Qi=1.306562965*jn+di,ma=.707106781*(_n=Gn+_i),Pa=xa+ma,Qa=xa-ma;Yr[on+5]=Qa+Na,Yr[on+3]=Qa-Na,Yr[on+1]=Pa+Qi,Yr[on+7]=Pa-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],Bn=Yr[on+32],zn=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+zn,ha=Tn-zn,mo=gn+Bn,kn=gn-Bn,$i=Wi+mo,eo=Wi-mo,To=aa+ga,uo=aa-ga;Yr[on]=$i+To,Yr[on+32]=$i-To;var rr=.707106781*(uo+eo);Yr[on+16]=eo+rr,Yr[on+48]=eo-rr;var Tr=.382683433*(($i=kn+ha)-(uo=Hi+Co)),Br=.5411961*$i+Tr,Wr=1.306562965*uo+Tr,hn=.707106781*(To=ha+Hi),tt=Co+hn,jt=Co-hn;Yr[on+40]=jt+Br,Yr[on+24]=jt-Br,Yr[on+8]=tt+Wr,Yr[on+56]=tt-Wr,on++}for(Vn=0;Vn<64;++Vn)An=Yr[Vn]*un[Vn],he[Vn]=0<An?An+.5|0:An-.5|0;return he}(Ft,ir),Lr=0;Lr<64;++Lr)q[Dt[Lr]]=qr[Lr];var Qr=q[0]-Xt;Xt=q[0],Qr==0?ft(mr[0]):(ft(mr[ae[Nr=32767+Qr]]),ft(It[Nr]));for(var _r=63;0<_r&&q[_r]==0;_r--);if(_r==0)return ft(Fr),Xt;for(var ur,pr=1;pr<=_r;){for(var cr=pr;q[pr]==0&&pr<=_r;++pr);var fr=pr-cr;if(16<=fr){ur=fr>>4;for(var xr=1;xr<=ur;++xr)ft(tn);fr&=15}Nr=32767+q[pr],ft(Ar[(fr<<4)+ae[Nr]]),ft(It[Nr]),pr++}return _r!=63&&ft(Fr),Xt}function Ht(Ft){(Ft<=0&&(Ft=1),100<Ft&&(Ft=100),He!=Ft)&&(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=ze((Xt[mr]*ir+50)/100);Ar<1?Ar=1:255<Ar&&(Ar=255),Xe[Dt[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],Fr=0;Fr<64;Fr++){var tn=ze((Nr[Fr]*ir+50)/100);tn<1?tn=1:255<tn&&(tn=255),Be[Dt[Fr]]=tn}for(var qr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Lr=0,Qr=0;Qr<8;Qr++)for(var _r=0;_r<8;_r++)nt[Lr]=1/(Xe[Dt[Lr]]*qr[Qr]*qr[_r]*8),At[Lr]=1/(Be[Dt[Lr]]*qr[Qr]*qr[_r]*8),Lr++}(Ft<50?Math.floor(5e3/Ft):Math.floor(200-2*Ft)),He=Ft)}this.encode=function(Ft,ir){var Xt,mr;new Date().getTime(),ir&&Ht(ir),ne=new Array,Se=0,Ne=7,Tt(65496),Tt(65504),Tt(16),Ot(74),Ot(70),Ot(73),Ot(70),Ot(0),Ot(1),Ot(1),Ot(0),Tt(1),Tt(1),Ot(0),Ot(0),function(){Tt(65499),Tt(132),Ot(0);for(var gn=0;gn<64;gn++)Ot(Xe[gn]);Ot(1);for(var Bn=0;Bn<64;Bn++)Ot(Be[Bn])}(),Xt=Ft.width,mr=Ft.height,Tt(65472),Tt(17),Ot(8),Tt(mr),Tt(Xt),Ot(3),Ot(1),Ot(17),Ot(0),Ot(2),Ot(17),Ot(1),Ot(3),Ot(17),Ot(1),function(){Tt(65476),Tt(418),Ot(0);for(var gn=0;gn<16;gn++)Ot(Kt[gn+1]);for(var Bn=0;Bn<=11;Bn++)Ot(Gt[Bn]);Ot(16);for(var zn=0;zn<16;zn++)Ot(Qt[zn+1]);for(var qn=0;qn<=161;qn++)Ot(Mt[qn]);Ot(1);for(var Yn=0;Yn<16;Yn++)Ot(dr[Yn+1]);for(var Vn=0;Vn<=11;Vn++)Ot(er[Vn]);Ot(17);for(var An=0;An<16;An++)Ot(ot[An+1]);for(var on=0;on<=161;on++)Ot(xt[on])}(),Tt(65498),Tt(12),Ot(3),Ot(1),Ot(0),Ot(2),Ot(17),Ot(3),Ot(17),Ot(0),Ot(63),Ot(0);var Ar=0,Nr=0,Fr=0;Se=0,Ne=7,this.encode.displayName="_encode_";for(var tn,qr,Lr,Qr,_r,ur,pr,cr,fr,xr=Ft.data,Yr=Ft.width,un=Ft.height,Nn=4*Yr,jr=0;jr<un;){for(tn=0;tn<Nn;){for(ur=_r=Nn*jr+tn,pr=-1,fr=cr=0;fr<64;fr++)ur=_r+(cr=fr>>3)*Nn+(pr=4*(7&fr)),un<=jr+cr&&(ur-=Nn*(jr+1+cr-un)),Nn<=tn+pr&&(ur-=tn+pr-Nn+4),qr=xr[ur++],Lr=xr[ur++],Qr=xr[ur++],Me[fr]=($t[qr]+$t[Lr+256>>0]+$t[Qr+512>>0]>>16)-128,$e[fr]=($t[qr+768>>0]+$t[Lr+1024>>0]+$t[Qr+1280>>0]>>16)-128,vt[fr]=($t[qr+1280>>0]+$t[Lr+1536>>0]+$t[Qr+1792>>0]>>16)-128;Ar=ht(Me,nt,Ar,me,ue),Nr=ht($e,At,Nr,pe,De),Fr=ht(vt,At,Fr,pe,De),tn+=32}jr+=8}if(0<=Ne){var Tn=[];Tn[1]=Ne+1,Tn[0]=(1<<Ne+1)-1,ft(Tn)}return Tt(65497),new Uint8Array(ne)},function(){new Date().getTime(),be||(be=50),function(){for(var Ft=String.fromCharCode,ir=0;ir<256;ir++)Wt[ir]=Ft(ir)}(),me=ut(Kt,Gt),pe=ut(dr,er),ue=ut(Qt,Mt),De=ut(ot,xt),function(){for(var Ft=1,ir=2,Xt=1;Xt<=15;Xt++){for(var mr=Ft;mr<ir;mr++)ae[32767+mr]=Xt,It[32767+mr]=[],It[32767+mr][1]=Xt,It[32767+mr][0]=mr;for(var Ar=-(ir-1);Ar<=-Ft;Ar++)ae[32767+Ar]=Xt,It[32767+Ar]=[],It[32767+Ar][1]=Xt,It[32767+Ar][0]=ir-1+Ar;Ft<<=1,ir<<=1}}(),function(){for(var Ft=0;Ft<256;Ft++)$t[Ft]=19595*Ft,$t[Ft+256>>0]=38470*Ft,$t[Ft+512>>0]=7471*Ft+32768,$t[Ft+768>>0]=-11059*Ft,$t[Ft+1024>>0]=-21709*Ft,$t[Ft+1280>>0]=32768*Ft+8421375,$t[Ft+1536>>0]=-27439*Ft,$t[Ft+1792>>0]=-5329*Ft}(),Ht(be),new Date().getTime()}()}function _t(be,me){if(this.pos=0,this.buffer=be,this.datav=new DataView(be.buffer),this.is_with_alpha=!!me,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=dt,mt.API.adler32cs=(Ye=typeof ArrayBuffer=="function"&&typeof Uint8Array=="function",et=null,rt=function(){if(!Ye)return function(){return!1};try{var be={};typeof be.Buffer=="function"&&(et=be.Buffer)}catch(me){}return function(me){return me instanceof ArrayBuffer||et!==null&&me instanceof et}}(),st=et!==null?function(be){return new et(be,"utf8").toString("binary")}:function(be){return unescape(encodeURIComponent(be))},Ve=function(me,pe){for(var ue=65535&me,De=me>>>16,He=0,ze=pe.length;He<ze;He++)ue=(ue+(255&pe.charCodeAt(He)))%65521,De=(De+ue)%65521;return(De<<16|ue)>>>0},oe=function(me,pe){for(var ue=65535&me,De=me>>>16,He=0,ze=pe.length;He<ze;He++)ue=(ue+pe[He])%65521,De=(De+ue)%65521;return(De<<16|ue)>>>0},it=(re={}).Adler32=(((wt=(Ke=function(me){if(!(this instanceof Ke))throw new TypeError("Constructor cannot called be as a function.");if(!isFinite(me=me==null?1:+me))throw new Error("First arguments needs to be a finite number.");this.checksum=me>>>0}).prototype={}).constructor=Ke).from=((Ct=function(me){if(!(this instanceof Ke))throw new TypeError("Constructor cannot called be as a function.");if(me==null)throw new Error("First argument needs to be a string.");this.checksum=Ve(1,me.toString())}).prototype=wt,Ct),Ke.fromUtf8=((Ue=function(me){if(!(this instanceof Ke))throw new TypeError("Constructor cannot called be as a function.");if(me==null)throw new Error("First argument needs to be a string.");var pe=st(me.toString());this.checksum=Ve(1,pe)}).prototype=wt,Ue),Ye&&(Ke.fromBuffer=((Rt=function(me){if(!(this instanceof Ke))throw new TypeError("Constructor cannot called be as a function.");if(!rt(me))throw new Error("First argument needs to be ArrayBuffer.");var pe=new Uint8Array(me);return this.checksum=oe(1,pe)}).prototype=wt,Rt)),wt.update=function(be){if(be==null)throw new Error("First argument needs to be a string.");return be=be.toString(),this.checksum=Ve(this.checksum,be)},wt.updateUtf8=function(be){if(be==null)throw new Error("First argument needs to be a string.");var me=st(be.toString());return this.checksum=Ve(this.checksum,me)},Ye&&(wt.updateBuffer=function(be){if(!rt(be))throw new Error("First argument needs to be ArrayBuffer.");var me=new Uint8Array(be);return this.checksum=oe(this.checksum,me)}),wt.clone=function(){return new it(this.checksum)},Ke),re.from=function(be){if(be==null)throw new Error("First argument needs to be a string.");return Ve(1,be.toString())},re.fromUtf8=function(be){if(be==null)throw new Error("First argument needs to be a string.");var me=st(be.toString());return Ve(1,me)},Ye&&(re.fromBuffer=function(be){if(!rt(be))throw new Error("First argument need to be ArrayBuffer.");var me=new Uint8Array(be);return oe(1,me)}),re),function(be){be.__bidiEngine__=be.prototype.__bidiEngine__=function(ue){var De,He,ze,Xe,Be,nt,At,It=me,ae=[[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]],he=[[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]],q={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},ne={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},Se=["(",")","(","<",">","<","[","]","[","{","}","{","\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"],Ne=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)$/),Me=!1,$e=0;this.__bidiEngine__={};var vt=function(dr){var er=dr.charCodeAt(),ot=er>>8,xt=ne[ot];return xt!==void 0?It[256*xt+(255&er)]:ot===252||ot===253?"AL":Ne.test(ot)?"L":ot===8?"R":"N"},Wt=function(dr){for(var er,ot=0;ot<dr.length;ot++){if((er=vt(dr.charAt(ot)))==="L")return!1;if(er==="R")return!0}return!1},$t=function(dr,er,ot,xt){var ut,ft,Ot,Tt,ht=er[xt];switch(ht){case"L":case"R":Me=!1;break;case"N":case"AN":break;case"EN":Me&&(ht="AN");break;case"AL":Me=!0,ht="R";break;case"WS":ht="N";break;case"CS":xt<1||xt+1>=er.length||(ut=ot[xt-1])!=="EN"&&ut!=="AN"||(ft=er[xt+1])!=="EN"&&ft!=="AN"?ht="N":Me&&(ft="AN"),ht=ft===ut?ft:"N";break;case"ES":ht=(ut=0<xt?ot[xt-1]:"B")==="EN"&&xt+1<er.length&&er[xt+1]==="EN"?"EN":"N";break;case"ET":if(0<xt&&ot[xt-1]==="EN"){ht="EN";break}if(Me){ht="N";break}for(Ot=xt+1,Tt=er.length;Ot<Tt&&er[Ot]==="ET";)Ot++;ht=Ot<Tt&&er[Ot]==="EN"?"EN":"N";break;case"NSM":if(ze&&!Xe){for(Tt=er.length,Ot=xt+1;Ot<Tt&&er[Ot]==="NSM";)Ot++;if(Ot<Tt){var Ht=dr[xt],Ft=1425<=Ht&&Ht<=2303||Ht===64286;if(ut=er[Ot],Ft&&(ut==="R"||ut==="AL")){ht="R";break}}}ht=xt<1||(ut=er[xt-1])==="B"?"N":ot[xt-1];break;case"B":De=!(Me=!1),ht=$e;break;case"S":He=!0,ht="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Me=!1;break;case"BN":ht="N"}return ht},Dt=function(dr,er,ot){var xt=dr.split("");return ot&&Kt(xt,ot,{hiLevel:$e}),xt.reverse(),er&&er.reverse(),xt.join("")},Kt=function(dr,er,ot){var xt,ut,ft,Ot,Tt,ht=-1,Ht=dr.length,Ft=0,ir=[],Xt=$e?he:ae,mr=[];for(He=De=Me=!1,ut=0;ut<Ht;ut++)mr[ut]=vt(dr[ut]);for(ft=0;ft<Ht;ft++){if(Tt=Ft,ir[ft]=$t(dr,mr,ir,ft),xt=240&(Ft=Xt[Tt][q[ir[ft]]]),Ft&=15,er[ft]=Ot=Xt[Ft][5],0<xt)if(xt===16){for(ut=ht;ut<ft;ut++)er[ut]=1;ht=-1}else ht=-1;if(Xt[Ft][6])ht===-1&&(ht=ft);else if(-1<ht){for(ut=ht;ut<ft;ut++)er[ut]=Ot;ht=-1}mr[ft]==="B"&&(er[ft]=0),ot.hiLevel|=Ot}He&&function(Ar,Nr,Fr){for(var tn=0;tn<Fr;tn++)if(Ar[tn]==="S"){Nr[tn]=$e;for(var qr=tn-1;0<=qr&&Ar[qr]==="WS";qr--)Nr[qr]=$e}}(mr,er,Ht)},Gt=function(dr,er,ot,xt,ut){if(!(ut.hiLevel<dr)){if(dr===1&&$e===1&&!De)return er.reverse(),void(ot&&ot.reverse());for(var ft,Ot,Tt,ht,Ht=er.length,Ft=0;Ft<Ht;){if(xt[Ft]>=dr){for(Tt=Ft+1;Tt<Ht&&xt[Tt]>=dr;)Tt++;for(ht=Ft,Ot=Tt-1;ht<Ot;ht++,Ot--)ft=er[ht],er[ht]=er[Ot],er[Ot]=ft,ot&&(ft=ot[ht],ot[ht]=ot[Ot],ot[Ot]=ft);Ft=Tt}Ft++}}},Qt=function(dr,er,ot){var xt=dr.split(""),ut={hiLevel:$e};return ot||(ot=[]),Kt(xt,ot,ut),function(ft,Ot,Tt){if(Tt.hiLevel!==0&&At)for(var ht,Ht=0;Ht<ft.length;Ht++)Ot[Ht]===1&&0<=(ht=Se.indexOf(ft[Ht]))&&(ft[Ht]=Se[ht+1])}(xt,ot,ut),Gt(2,xt,er,ot,ut),Gt(1,xt,er,ot,ut),xt.join("")};return this.__bidiEngine__.doBidiReorder=function(Mt,dr,er){if(function(xt,ut){if(ut)for(var ft=0;ft<xt.length;ft++)ut[ft]=ft;Xe===void 0&&(Xe=Wt(xt)),nt===void 0&&(nt=Wt(xt))}(Mt,dr),ze||!Be||nt)if(ze&&Be&&Xe^nt)$e=Xe?1:0,Mt=Dt(Mt,dr,er);else if(!ze&&Be&&nt)$e=Xe?1:0,Mt=Qt(Mt,dr,er),Mt=Dt(Mt,dr);else if(!ze||Xe||Be||nt){if(ze&&!Be&&Xe^nt)Mt=Dt(Mt,dr),Mt=Xe?($e=0,Qt(Mt,dr,er)):($e=1,Mt=Qt(Mt,dr,er),Dt(Mt,dr));else if(ze&&Xe&&!Be&&nt)$e=1,Mt=Qt(Mt,dr,er),Mt=Dt(Mt,dr);else if(!ze&&!Be&&Xe^nt){var ot=At;Xe?($e=1,Mt=Qt(Mt,dr,er),$e=0,At=!1,Mt=Qt(Mt,dr,er),At=ot):($e=0,Mt=Qt(Mt,dr,er),Mt=Dt(Mt,dr),At=!($e=1),Mt=Qt(Mt,dr,er),At=ot,Mt=Dt(Mt,dr))}}else $e=0,Mt=Qt(Mt,dr,er);else $e=Xe?1:0,Mt=Qt(Mt,dr,er);return Mt},this.__bidiEngine__.setOptions=function(Mt){Mt&&(ze=Mt.isInputVisual,Be=Mt.isOutputVisual,Xe=Mt.isInputRtl,nt=Mt.isOutputRtl,At=Mt.isSymmetricSwapping)},this.__bidiEngine__.setOptions(ue),this.__bidiEngine__};var me=["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"],pe=new be.__bidiEngine__({isInputVisual:!0});be.API.events.push(["postProcessText",function(ue){var De=ue.text,He=(ue.x,ue.y,ue.options||{}),ze=(ue.mutex,He.lang,[]);if(Object.prototype.toString.call(De)==="[object Array]"){var Xe=0;for(ze=[],Xe=0;Xe<De.length;Xe+=1)Object.prototype.toString.call(De[Xe])==="[object Array]"?ze.push([pe.doBidiReorder(De[Xe][0]),De[Xe][1],De[Xe][2]]):ze.push([pe.doBidiReorder(De[Xe])]);ue.text=ze}else ue.text=pe.doBidiReorder(De)}])}(mt),window.tmp=yt,_t.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 be=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(be);for(var me=0;me<be;me++){var pe=this.datav.getUint8(this.pos++,!0),ue=this.datav.getUint8(this.pos++,!0),De=this.datav.getUint8(this.pos++,!0),He=this.datav.getUint8(this.pos++,!0);this.palette[me]={red:De,green:ue,blue:pe,quad:He}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},_t.prototype.parseBGR=function(){this.pos=this.offset;try{var be="bit"+this.bitPP,me=this.width*this.height*4;this.data=new Uint8Array(me),this[be]()}catch(pe){console.log("bit decode error:"+pe)}},_t.prototype.bit1=function(){var be=Math.ceil(this.width/8),me=be%4,pe=0<=this.height?this.height-1:-this.height;for(pe=this.height-1;0<=pe;pe--){for(var ue=this.bottom_up?pe:this.height-1-pe,De=0;De<be;De++)for(var He=this.datav.getUint8(this.pos++,!0),ze=ue*this.width*4+8*De*4,Xe=0;Xe<8&&8*De+Xe<this.width;Xe++){var Be=this.palette[He>>7-Xe&1];this.data[ze+4*Xe]=Be.blue,this.data[ze+4*Xe+1]=Be.green,this.data[ze+4*Xe+2]=Be.red,this.data[ze+4*Xe+3]=255}me!=0&&(this.pos+=4-me)}},_t.prototype.bit4=function(){for(var be=Math.ceil(this.width/2),me=be%4,pe=this.height-1;0<=pe;pe--){for(var ue=this.bottom_up?pe:this.height-1-pe,De=0;De<be;De++){var He=this.datav.getUint8(this.pos++,!0),ze=ue*this.width*4+2*De*4,Xe=He>>4,Be=15&He,nt=this.palette[Xe];if(this.data[ze]=nt.blue,this.data[ze+1]=nt.green,this.data[ze+2]=nt.red,this.data[ze+3]=255,2*De+1>=this.width)break;nt=this.palette[Be],this.data[ze+4]=nt.blue,this.data[ze+4+1]=nt.green,this.data[ze+4+2]=nt.red,this.data[ze+4+3]=255}me!=0&&(this.pos+=4-me)}},_t.prototype.bit8=function(){for(var be=this.width%4,me=this.height-1;0<=me;me--){for(var pe=this.bottom_up?me:this.height-1-me,ue=0;ue<this.width;ue++){var De=this.datav.getUint8(this.pos++,!0),He=pe*this.width*4+4*ue;if(De<this.palette.length){var ze=this.palette[De];this.data[He]=ze.red,this.data[He+1]=ze.green,this.data[He+2]=ze.blue,this.data[He+3]=255}else this.data[He]=255,this.data[He+1]=255,this.data[He+2]=255,this.data[He+3]=255}be!=0&&(this.pos+=4-be)}},_t.prototype.bit15=function(){for(var be=this.width%3,me=parseInt("11111",2),pe=this.height-1;0<=pe;pe--){for(var ue=this.bottom_up?pe:this.height-1-pe,De=0;De<this.width;De++){var He=this.datav.getUint16(this.pos,!0);this.pos+=2;var ze=(He&me)/me*255|0,Xe=(He>>5&me)/me*255|0,Be=(He>>10&me)/me*255|0,nt=He>>15?255:0,At=ue*this.width*4+4*De;this.data[At]=Be,this.data[At+1]=Xe,this.data[At+2]=ze,this.data[At+3]=nt}this.pos+=be}},_t.prototype.bit16=function(){for(var be=this.width%3,me=parseInt("11111",2),pe=parseInt("111111",2),ue=this.height-1;0<=ue;ue--){for(var De=this.bottom_up?ue:this.height-1-ue,He=0;He<this.width;He++){var ze=this.datav.getUint16(this.pos,!0);this.pos+=2;var Xe=(ze&me)/me*255|0,Be=(ze>>5&pe)/pe*255|0,nt=(ze>>11)/me*255|0,At=De*this.width*4+4*He;this.data[At]=nt,this.data[At+1]=Be,this.data[At+2]=Xe,this.data[At+3]=255}this.pos+=be}},_t.prototype.bit24=function(){for(var be=this.height-1;0<=be;be--){for(var me=this.bottom_up?be:this.height-1-be,pe=0;pe<this.width;pe++){var ue=this.datav.getUint8(this.pos++,!0),De=this.datav.getUint8(this.pos++,!0),He=this.datav.getUint8(this.pos++,!0),ze=me*this.width*4+4*pe;this.data[ze]=He,this.data[ze+1]=De,this.data[ze+2]=ue,this.data[ze+3]=255}this.pos+=this.width%4}},_t.prototype.bit32=function(){for(var be=this.height-1;0<=be;be--)for(var me=this.bottom_up?be:this.height-1-be,pe=0;pe<this.width;pe++){var ue=this.datav.getUint8(this.pos++,!0),De=this.datav.getUint8(this.pos++,!0),He=this.datav.getUint8(this.pos++,!0),ze=this.datav.getUint8(this.pos++,!0),Xe=me*this.width*4+4*pe;this.data[Xe]=He,this.data[Xe+1]=De,this.data[Xe+2]=ue,this.data[Xe+3]=ze}},_t.prototype.getData=function(){return this.data},window.tmp=_t,function(be){var me=15,pe=573,ue=[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 De(){var he=this;function q(ne,Se){for(var Ne=0;Ne|=1&ne,ne>>>=1,Ne<<=1,0<--Se;);return Ne>>>1}he.build_tree=function(ne){var Se,Ne,Me,$e=he.dyn_tree,vt=he.stat_desc.static_tree,Wt=he.stat_desc.elems,$t=-1;for(ne.heap_len=0,ne.heap_max=pe,Se=0;Se<Wt;Se++)$e[2*Se]!==0?(ne.heap[++ne.heap_len]=$t=Se,ne.depth[Se]=0):$e[2*Se+1]=0;for(;ne.heap_len<2;)$e[2*(Me=ne.heap[++ne.heap_len]=$t<2?++$t:0)]=1,ne.depth[Me]=0,ne.opt_len--,vt&&(ne.static_len-=vt[2*Me+1]);for(he.max_code=$t,Se=Math.floor(ne.heap_len/2);1<=Se;Se--)ne.pqdownheap($e,Se);for(Me=Wt;Se=ne.heap[1],ne.heap[1]=ne.heap[ne.heap_len--],ne.pqdownheap($e,1),Ne=ne.heap[1],ne.heap[--ne.heap_max]=Se,ne.heap[--ne.heap_max]=Ne,$e[2*Me]=$e[2*Se]+$e[2*Ne],ne.depth[Me]=Math.max(ne.depth[Se],ne.depth[Ne])+1,$e[2*Se+1]=$e[2*Ne+1]=Me,ne.heap[1]=Me++,ne.pqdownheap($e,1),2<=ne.heap_len;);ne.heap[--ne.heap_max]=ne.heap[1],function(Dt){var Kt,Gt,Qt,Mt,dr,er,ot=he.dyn_tree,xt=he.stat_desc.static_tree,ut=he.stat_desc.extra_bits,ft=he.stat_desc.extra_base,Ot=he.stat_desc.max_length,Tt=0;for(Mt=0;Mt<=me;Mt++)Dt.bl_count[Mt]=0;for(ot[2*Dt.heap[Dt.heap_max]+1]=0,Kt=Dt.heap_max+1;Kt<pe;Kt++)Ot<(Mt=ot[2*ot[2*(Gt=Dt.heap[Kt])+1]+1]+1)&&(Mt=Ot,Tt++),ot[2*Gt+1]=Mt,Gt>he.max_code||(Dt.bl_count[Mt]++,dr=0,ft<=Gt&&(dr=ut[Gt-ft]),er=ot[2*Gt],Dt.opt_len+=er*(Mt+dr),xt&&(Dt.static_len+=er*(xt[2*Gt+1]+dr)));if(Tt!==0){do{for(Mt=Ot-1;Dt.bl_count[Mt]===0;)Mt--;Dt.bl_count[Mt]--,Dt.bl_count[Mt+1]+=2,Dt.bl_count[Ot]--,Tt-=2}while(0<Tt);for(Mt=Ot;Mt!==0;Mt--)for(Gt=Dt.bl_count[Mt];Gt!==0;)(Qt=Dt.heap[--Kt])>he.max_code||(ot[2*Qt+1]!=Mt&&(Dt.opt_len+=(Mt-ot[2*Qt+1])*ot[2*Qt],ot[2*Qt+1]=Mt),Gt--)}}(ne),function(Dt,Kt,Gt){var Qt,Mt,dr,er=[],ot=0;for(Qt=1;Qt<=me;Qt++)er[Qt]=ot=ot+Gt[Qt-1]<<1;for(Mt=0;Mt<=Kt;Mt++)(dr=Dt[2*Mt+1])!==0&&(Dt[2*Mt]=q(er[dr]++,dr))}($e,he.max_code,ne.bl_count)}}function He(he,q,ne,Se,Ne){this.static_tree=he,this.extra_bits=q,this.extra_base=ne,this.elems=Se,this.max_length=Ne}De._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],De.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],De.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],De.d_code=function(he){return he<256?ue[he]:ue[256+(he>>>7)]},De.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],De.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],De.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],De.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],He.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],He.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],He.static_l_desc=new He(He.static_ltree,De.extra_lbits,257,286,me),He.static_d_desc=new He(He.static_dtree,De.extra_dbits,0,30,me),He.static_bl_desc=new He(null,De.extra_blbits,0,19,7);function ze(he,q,ne,Se,Ne){this.good_length=he,this.max_lazy=q,this.nice_length=ne,this.max_chain=Se,this.func=Ne}var Xe=[new ze(0,0,0,0,0),new ze(4,4,8,4,1),new ze(4,5,16,8,1),new ze(4,6,32,32,1),new ze(4,4,16,16,2),new ze(8,16,32,32,2),new ze(8,16,128,128,2),new ze(8,32,128,256,2),new ze(32,128,258,1024,2),new ze(32,258,258,4096,2)],Be=["need dictionary","stream end","","","stream error","data error","","buffer error","",""];function nt(he,q,ne,Se){var Ne=he[2*q],Me=he[2*ne];return Ne<Me||Ne==Me&&Se[q]<=Se[ne]}function At(){var he,q,ne,Se,Ne,Me,$e,vt,Wt,$t,Dt,Kt,Gt,Qt,Mt,dr,er,ot,xt,ut,ft,Ot,Tt,ht,Ht,Ft,ir,Xt,mr,Ar,Nr,Fr,tn,qr,Lr,Qr,_r,ur,pr,cr,fr,xr=this,Yr=new De,un=new De,Nn=new De;function jr(){var mn;for(mn=0;mn<286;mn++)Nr[2*mn]=0;for(mn=0;mn<30;mn++)Fr[2*mn]=0;for(mn=0;mn<19;mn++)tn[2*mn]=0;Nr[512]=1,xr.opt_len=xr.static_len=0,Qr=ur=0}function Tn(mn,In){var Ln,_n,jn=-1,ni=mn[1],di=0,Na=7,Qi=4;for(ni===0&&(Na=138,Qi=3),mn[2*(In+1)+1]=65535,Ln=0;Ln<=In;Ln++)_n=ni,ni=mn[2*(Ln+1)+1],++di<Na&&_n==ni||(di<Qi?tn[2*_n]+=di:_n!==0?(_n!=jn&&tn[2*_n]++,tn[32]++):di<=10?tn[34]++:tn[36]++,jn=_n,Qi=(di=0)===ni?(Na=138,3):_n==ni?(Na=6,3):(Na=7,4))}function gn(mn){xr.pending_buf[xr.pending++]=mn}function Bn(mn){gn(255&mn),gn(mn>>>8&255)}function zn(mn,In){var Ln,_n=In;16-_n<fr?(Bn(cr|=(Ln=mn)<<fr&65535),cr=Ln>>>16-fr,fr+=_n-16):(cr|=mn<<fr&65535,fr+=_n)}function qn(mn,In){var Ln=2*mn;zn(65535&In[Ln],65535&In[Ln+1])}function Yn(mn,In){var Ln,_n,jn=-1,ni=mn[1],di=0,Na=7,Qi=4;for(ni===0&&(Na=138,Qi=3),Ln=0;Ln<=In;Ln++)if(_n=ni,ni=mn[2*(Ln+1)+1],!(++di<Na&&_n==ni)){if(di<Qi)for(;qn(_n,tn),--di!=0;);else _n!==0?(_n!=jn&&(qn(_n,tn),di--),qn(16,tn),zn(di-3,2)):di<=10?(qn(17,tn),zn(di-3,3)):(qn(18,tn),zn(di-11,7));jn=_n,Qi=(di=0)===ni?(Na=138,3):_n==ni?(Na=6,3):(Na=7,4)}}function Vn(){fr==16?(Bn(cr),fr=cr=0):8<=fr&&(gn(255&cr),cr>>>=8,fr-=8)}function An(mn,In){var Ln,_n,jn;if(xr.pending_buf[_r+2*Qr]=mn>>>8&255,xr.pending_buf[_r+2*Qr+1]=255&mn,xr.pending_buf[qr+Qr]=255&In,Qr++,mn===0?Nr[2*In]++:(ur++,mn--,Nr[2*(De._length_code[In]+256+1)]++,Fr[2*De.d_code(mn)]++),(8191&Qr)==0&&2<ir){for(Ln=8*Qr,_n=ft-er,jn=0;jn<30;jn++)Ln+=Fr[2*jn]*(5+De.extra_dbits[jn]);if(Ln>>>=3,ur<Math.floor(Qr/2)&&Ln<Math.floor(_n/2))return!0}return Qr==Lr-1}function on(mn,In){var Ln,_n,jn,ni,di=0;if(Qr!==0)for(;Ln=xr.pending_buf[_r+2*di]<<8&65280|255&xr.pending_buf[_r+2*di+1],_n=255&xr.pending_buf[qr+di],di++,Ln===0?qn(_n,mn):(qn((jn=De._length_code[_n])+256+1,mn),(ni=De.extra_lbits[jn])!==0&&zn(_n-=De.base_length[jn],ni),qn(jn=De.d_code(--Ln),In),(ni=De.extra_dbits[jn])!==0&&zn(Ln-=De.base_dist[jn],ni)),di<Qr;);qn(256,mn),pr=mn[513]}function ia(){8<fr?Bn(cr):0<fr&&gn(255&cr),fr=cr=0}function xa(mn,In,Ln){var _n,jn,ni;zn(0+(Ln?1:0),3),_n=mn,jn=In,ni=!0,ia(),pr=8,ni&&(Bn(jn),Bn(~jn)),xr.pending_buf.set(vt.subarray(_n,_n+jn),xr.pending),xr.pending+=jn}function ta(mn,In,Ln){var _n,jn,ni=0;0<ir?(Yr.build_tree(xr),un.build_tree(xr),ni=function(){var di;for(Tn(Nr,Yr.max_code),Tn(Fr,un.max_code),Nn.build_tree(xr),di=18;3<=di&&tn[2*De.bl_order[di]+1]===0;di--);return xr.opt_len+=3*(di+1)+5+5+4,di}(),_n=xr.opt_len+3+7>>>3,(jn=xr.static_len+3+7>>>3)<=_n&&(_n=jn)):_n=jn=In+5,In+4<=_n&&mn!=-1?xa(mn,In,Ln):jn==_n?(zn(2+(Ln?1:0),3),on(He.static_ltree,He.static_dtree)):(zn(4+(Ln?1:0),3),function(di,Na,Qi){var ma;for(zn(di-257,5),zn(Na-1,5),zn(Qi-4,4),ma=0;ma<Qi;ma++)zn(tn[2*De.bl_order[ma]+1],3);Yn(Nr,di-1),Yn(Fr,Na-1)}(Yr.max_code+1,un.max_code+1,ni+1),on(Nr,Fr)),jr(),Ln&&ia()}function _i(mn){ta(0<=er?er:-1,ft-er,mn),er=ft,he.flush_pending()}function Ci(){var mn,In,Ln,_n;do{if((_n=Wt-Tt-ft)===0&&ft===0&&Tt===0)_n=Ne;else if(_n==-1)_n--;else if(Ne+Ne-262<=ft){for(vt.set(vt.subarray(Ne,Ne+Ne),0),Ot-=Ne,ft-=Ne,er-=Ne,Ln=mn=Gt;In=65535&Dt[--Ln],Dt[Ln]=Ne<=In?In-Ne:0,--mn!=0;);for(Ln=mn=Ne;In=65535&$t[--Ln],$t[Ln]=Ne<=In?In-Ne:0,--mn!=0;);_n+=Ne}if(he.avail_in===0)return;mn=he.read_buf(vt,ft+Tt,_n),3<=(Tt+=mn)&&(Kt=((Kt=255&vt[ft])<<dr^255&vt[ft+1])&Mt)}while(Tt<262&&he.avail_in!==0)}function Gn(mn){var In,Ln,_n=Ht,jn=ft,ni=ht,di=Ne-262<ft?ft-(Ne-262):0,Na=Ar,Qi=$e,ma=ft+258,Pa=vt[jn+ni-1],Qa=vt[jn+ni];mr<=ht&&(_n>>=2),Tt<Na&&(Na=Tt);do if(vt[(In=mn)+ni]==Qa&&vt[In+ni-1]==Pa&&vt[In]==vt[jn]&&vt[++In]==vt[jn+1]){jn+=2,In++;do;while(vt[++jn]==vt[++In]&&vt[++jn]==vt[++In]&&vt[++jn]==vt[++In]&&vt[++jn]==vt[++In]&&vt[++jn]==vt[++In]&&vt[++jn]==vt[++In]&&vt[++jn]==vt[++In]&&vt[++jn]==vt[++In]&&jn<ma);if(Ln=258-(ma-jn),jn=ma-258,ni<Ln){if(Ot=mn,Na<=(ni=Ln))break;Pa=vt[jn+ni-1],Qa=vt[jn+ni]}}while((mn=65535&$t[mn&Qi])>di&&--_n!=0);return ni<=Tt?ni:Tt}function Ia(mn){return mn.total_in=mn.total_out=0,mn.msg=null,xr.pending=0,xr.pending_out=0,q=113,Se=0,Yr.dyn_tree=Nr,Yr.stat_desc=He.static_l_desc,un.dyn_tree=Fr,un.stat_desc=He.static_d_desc,Nn.dyn_tree=tn,Nn.stat_desc=He.static_bl_desc,fr=cr=0,pr=8,jr(),function(){var In;for(Wt=2*Ne,In=Dt[Gt-1]=0;In<Gt-1;In++)Dt[In]=0;Ft=Xe[ir].max_lazy,mr=Xe[ir].good_length,Ar=Xe[ir].nice_length,Ht=Xe[ir].max_chain,ot=ht=2,Kt=ut=Tt=er=ft=0}(),0}xr.depth=[],xr.bl_count=[],xr.heap=[],Nr=[],Fr=[],tn=[],xr.pqdownheap=function(mn,In){for(var Ln=xr.heap,_n=Ln[In],jn=In<<1;jn<=xr.heap_len&&(jn<xr.heap_len&&nt(mn,Ln[jn+1],Ln[jn],xr.depth)&&jn++,!nt(mn,_n,Ln[jn],xr.depth));)Ln[In]=Ln[jn],In=jn,jn<<=1;Ln[In]=_n},xr.deflateInit=function(mn,In,Ln,_n,jn,ni){return _n||(_n=8),jn||(jn=8),ni||(ni=0),mn.msg=null,In==-1&&(In=6),jn<1||9<jn||_n!=8||Ln<9||15<Ln||In<0||9<In||ni<0||2<ni?-2:(mn.dstate=xr,$e=(Ne=1<<(Me=Ln))-1,Mt=(Gt=1<<(Qt=jn+7))-1,dr=Math.floor((Qt+3-1)/3),vt=new Uint8Array(2*Ne),$t=[],Dt=[],Lr=1<<jn+6,xr.pending_buf=new Uint8Array(4*Lr),ne=4*Lr,_r=Math.floor(Lr/2),qr=3*Lr,ir=In,Xt=ni,Ia(mn))},xr.deflateEnd=function(){return q!=42&&q!=113&&q!=666?-2:(xr.pending_buf=null,vt=$t=Dt=null,xr.dstate=null,q==113?-3:0)},xr.deflateParams=function(mn,In,Ln){var _n=0;return In==-1&&(In=6),In<0||9<In||Ln<0||2<Ln?-2:(Xe[ir].func!=Xe[In].func&&mn.total_in!==0&&(_n=mn.deflate(1)),ir!=In&&(Ft=Xe[ir=In].max_lazy,mr=Xe[ir].good_length,Ar=Xe[ir].nice_length,Ht=Xe[ir].max_chain),Xt=Ln,_n)},xr.deflateSetDictionary=function(mn,In,Ln){var _n,jn=Ln,ni=0;if(!In||q!=42)return-2;if(jn<3)return 0;for(Ne-262<jn&&(ni=Ln-(jn=Ne-262)),vt.set(In.subarray(ni,ni+jn),0),er=ft=jn,Kt=((Kt=255&vt[0])<<dr^255&vt[1])&Mt,_n=0;_n<=jn-3;_n++)Kt=(Kt<<dr^255&vt[_n+2])&Mt,$t[_n&$e]=Dt[Kt],Dt[Kt]=_n;return 0},xr.deflate=function(mn,In){var Ln,_n,jn,ni,di,Na;if(4<In||In<0)return-2;if(!mn.next_out||!mn.next_in&&mn.avail_in!==0||q==666&&In!=4)return mn.msg=Be[4],-2;if(mn.avail_out===0)return mn.msg=Be[7],-5;if(he=mn,ni=Se,Se=In,q==42&&(_n=8+(Me-8<<4)<<8,3<(jn=(ir-1&255)>>1)&&(jn=3),_n|=jn<<6,ft!==0&&(_n|=32),q=113,gn((Na=_n+=31-_n%31)>>8&255),gn(255&Na)),xr.pending!==0){if(he.flush_pending(),he.avail_out===0)return Se=-1,0}else if(he.avail_in===0&&In<=ni&&In!=4)return he.msg=Be[7],-5;if(q==666&&he.avail_in!==0)return mn.msg=Be[7],-5;if(he.avail_in!==0||Tt!==0||In!=0&&q!=666){switch(di=-1,Xe[ir].func){case 0:di=function(Qi){var ma,Pa=65535;for(ne-5<Pa&&(Pa=ne-5);;){if(Tt<=1){if(Ci(),Tt===0&&Qi==0)return 0;if(Tt===0)break}if(ft+=Tt,ma=er+Pa,((Tt=0)===ft||ma<=ft)&&(Tt=ft-ma,ft=ma,_i(!1),he.avail_out===0))return 0;if(Ne-262<=ft-er&&(_i(!1),he.avail_out===0))return 0}return _i(Qi==4),he.avail_out===0?Qi==4?2:0:Qi==4?3:1}(In);break;case 1:di=function(Qi){for(var ma,Pa=0;;){if(Tt<262){if(Ci(),Tt<262&&Qi==0)return 0;if(Tt===0)break}if(3<=Tt&&(Kt=(Kt<<dr^255&vt[ft+2])&Mt,Pa=65535&Dt[Kt],$t[ft&$e]=Dt[Kt],Dt[Kt]=ft),Pa!==0&&(ft-Pa&65535)<=Ne-262&&Xt!=2&&(ot=Gn(Pa)),3<=ot)if(ma=An(ft-Ot,ot-3),Tt-=ot,ot<=Ft&&3<=Tt){for(ot--;Kt=(Kt<<dr^255&vt[++ft+2])&Mt,Pa=65535&Dt[Kt],$t[ft&$e]=Dt[Kt],Dt[Kt]=ft,--ot!=0;);ft++}else ft+=ot,ot=0,Kt=((Kt=255&vt[ft])<<dr^255&vt[ft+1])&Mt;else ma=An(0,255&vt[ft]),Tt--,ft++;if(ma&&(_i(!1),he.avail_out===0))return 0}return _i(Qi==4),he.avail_out===0?Qi==4?2:0:Qi==4?3:1}(In);break;case 2:di=function(Qi){for(var ma,Pa,Qa=0;;){if(Tt<262){if(Ci(),Tt<262&&Qi==0)return 0;if(Tt===0)break}if(3<=Tt&&(Kt=(Kt<<dr^255&vt[ft+2])&Mt,Qa=65535&Dt[Kt],$t[ft&$e]=Dt[Kt],Dt[Kt]=ft),ht=ot,xt=Ot,ot=2,Qa!==0&&ht<Ft&&(ft-Qa&65535)<=Ne-262&&(Xt!=2&&(ot=Gn(Qa)),ot<=5&&(Xt==1||ot==3&&4096<ft-Ot)&&(ot=2)),3<=ht&&ot<=ht){for(Pa=ft+Tt-3,ma=An(ft-1-xt,ht-3),Tt-=ht-1,ht-=2;++ft<=Pa&&(Kt=(Kt<<dr^255&vt[ft+2])&Mt,Qa=65535&Dt[Kt],$t[ft&$e]=Dt[Kt],Dt[Kt]=ft),--ht!=0;);if(ut=0,ot=2,ft++,ma&&(_i(!1),he.avail_out===0))return 0}else if(ut!==0){if((ma=An(0,255&vt[ft-1]))&&_i(!1),ft++,Tt--,he.avail_out===0)return 0}else ut=1,ft++,Tt--}return ut!==0&&(ma=An(0,255&vt[ft-1]),ut=0),_i(Qi==4),he.avail_out===0?Qi==4?2:0:Qi==4?3:1}(In)}if(di!=2&&di!=3||(q=666),di==0||di==2)return he.avail_out===0&&(Se=-1),0;if(di==1){if(In==1)zn(2,3),qn(256,He.static_ltree),Vn(),1+pr+10-fr<9&&(zn(2,3),qn(256,He.static_ltree),Vn()),pr=7;else if(xa(0,0,!1),In==3)for(Ln=0;Ln<Gt;Ln++)Dt[Ln]=0;if(he.flush_pending(),he.avail_out===0)return Se=-1,0}}return In!=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(q,ne){return this.dstate=new At,ne||(ne=me),this.dstate.deflateInit(this,q,ne)},deflate:function(q){return this.dstate?this.dstate.deflate(this,q):-2},deflateEnd:function(){if(!this.dstate)return-2;var q=this.dstate.deflateEnd();return this.dstate=null,q},deflateParams:function(q,ne){return this.dstate?this.dstate.deflateParams(this,q,ne):-2},deflateSetDictionary:function(q,ne){return this.dstate?this.dstate.deflateSetDictionary(this,q,ne):-2},read_buf:function(q,ne,Se){var Ne=this.avail_in;return Se<Ne&&(Ne=Se),Ne===0?0:(this.avail_in-=Ne,q.set(this.next_in.subarray(this.next_in_index,this.next_in_index+Ne),ne),this.next_in_index+=Ne,this.total_in+=Ne,Ne)},flush_pending:function(){var q=this,ne=q.dstate.pending;ne>q.avail_out&&(ne=q.avail_out),ne!==0&&(q.next_out.set(q.dstate.pending_buf.subarray(q.dstate.pending_out,q.dstate.pending_out+ne),q.next_out_index),q.next_out_index+=ne,q.dstate.pending_out+=ne,q.total_out+=ne,q.avail_out-=ne,q.dstate.pending-=ne,q.dstate.pending===0&&(q.dstate.pending_out=0))}};var ae=be.zip||be;ae.Deflater=ae._jzlib_Deflater=function(he){var q=new It,ne=new Uint8Array(512),Se=he?he.level:-1;Se===void 0&&(Se=-1),q.deflateInit(Se),q.next_out=ne,this.append=function(Ne,Me){var $e,vt=[],Wt=0,$t=0,Dt=0;if(Ne.length){q.next_in_index=0,q.next_in=Ne,q.avail_in=Ne.length;do{if(q.next_out_index=0,q.avail_out=512,q.deflate(0)!=0)throw new Error("deflating: "+q.msg);q.next_out_index&&(q.next_out_index==512?vt.push(new Uint8Array(ne)):vt.push(new Uint8Array(ne.subarray(0,q.next_out_index)))),Dt+=q.next_out_index,Me&&0<q.next_in_index&&q.next_in_index!=Wt&&(Me(q.next_in_index),Wt=q.next_in_index)}while(0<q.avail_in||q.avail_out===0);return $e=new Uint8Array(Dt),vt.forEach(function(Kt){$e.set(Kt,$t),$t+=Kt.length}),$e}},this.flush=function(){var Ne,Me,$e=[],vt=0,Wt=0;do{if(q.next_out_index=0,q.avail_out=512,(Ne=q.deflate(4))!=1&&Ne!=0)throw new Error("deflating: "+q.msg);0<512-q.avail_out&&$e.push(new Uint8Array(ne.subarray(0,q.next_out_index))),Wt+=q.next_out_index}while(0<q.avail_in||q.avail_out===0);return q.deflateEnd(),Me=new Uint8Array(Wt),$e.forEach(function($t){Me.set($t,vt),vt+=$t.length}),Me}}}(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(be){var me;be=be||"",this.ok=!1,be.charAt(0)=="#"&&(be=be.substr(1,6)),be=(be=be.replace(/ /g,"")).toLowerCase();var pe={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 ue in pe)be==ue&&(be=pe[ue]);for(var De=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(At){return[parseInt(At[1]),parseInt(At[2]),parseInt(At[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(At){return[parseInt(At[1],16),parseInt(At[2],16),parseInt(At[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(At){return[parseInt(At[1]+At[1],16),parseInt(At[2]+At[2],16),parseInt(At[3]+At[3],16)]}}],He=0;He<De.length;He++){var ze=De[He].re,Xe=De[He].process,Be=ze.exec(be);Be&&(me=Xe(Be),this.r=me[0],this.g=me[1],this.b=me[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 nt=this.r.toString(16),At=this.g.toString(16),It=this.b.toString(16);return nt.length==1&&(nt="0"+nt),At.length==1&&(At="0"+At),It.length==1&&(It="0"+It),"#"+nt+At+It}},function(be){var me="+".charCodeAt(0),pe="/".charCodeAt(0),ue="0".charCodeAt(0),De="a".charCodeAt(0),He="A".charCodeAt(0),ze="-".charCodeAt(0),Xe="_".charCodeAt(0),Be=function(xt){var ut=xt.charCodeAt(0);return ut===me||ut===ze?62:ut===pe||ut===Xe?63:ut<ue?-1:ut<ue+10?ut-ue+26+26:ut<He+26?ut-He:ut<De+26?ut-De+26:void 0};be.API.TTFFont=function(){function ot(xt,ut,ft){var Ot;if(this.rawData=xt,Ot=this.contents=new At(xt),this.contents.pos=4,Ot.readString(4)==="ttcf")throw ut?new Error("Font "+ut+" not found in TTC file."):new Error("Must specify a font name for TTC files.");Ot.pos=0,this.parse(),this.subset=new er(this),this.registerTTF()}return ot.open=function(xt,ut,ft,Ot){if(typeof ft!="string")throw new Error("Invalid argument supplied in TTFFont.open");return new ot(function(Tt){var ht,Ht,Ft,ir,Xt,mr;if(0<Tt.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var Ar=Tt.length;Xt=Tt.charAt(Ar-2)==="="?2:Tt.charAt(Ar-1)==="="?1:0,mr=new Uint8Array(3*Tt.length/4-Xt),Ft=0<Xt?Tt.length-4:Tt.length;var Nr=0;function Fr(tn){mr[Nr++]=tn}for(Ht=ht=0;ht<Ft;ht+=4,Ht+=3)Fr((16711680&(ir=Be(Tt.charAt(ht))<<18|Be(Tt.charAt(ht+1))<<12|Be(Tt.charAt(ht+2))<<6|Be(Tt.charAt(ht+3))))>>16),Fr((65280&ir)>>8),Fr(255&ir);return Xt===2?Fr(255&(ir=Be(Tt.charAt(ht))<<2|Be(Tt.charAt(ht+1))>>4)):Xt===1&&(Fr((ir=Be(Tt.charAt(ht))<<10|Be(Tt.charAt(ht+1))<<4|Be(Tt.charAt(ht+2))>>2)>>8&255),Fr(255&ir)),mr}(ft),ut,Ot)},ot.prototype.parse=function(){return this.directory=new It(this.contents),this.head=new q(this),this.name=new Wt(this),this.cmap=new Se(this),this.toUnicode=new Map,this.hhea=new Ne(this),this.maxp=new $t(this),this.hmtx=new Dt(this),this.post=new $e(this),this.os2=new Me(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]},ot.prototype.registerTTF=function(){var xt,ut,ft,Ot,Tt;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var ht,Ht,Ft,ir;for(ir=[],ht=0,Ht=(Ft=this.bbox).length;ht<Ht;ht++)xt=Ft[ht],ir.push(Math.round(xt*this.scaleFactor));return ir}.call(this),this.stemV=0,this.post.exists?(ft=255&(Ot=this.post.italic_angle),!0&(ut=Ot>>16)&&(ut=-(1+(65535^ut))),this.italicAngle=+(ut+"."+ft)):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=(Tt=this.familyClass)===1||Tt===2||Tt===3||Tt===4||Tt===5||Tt===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")},ot.prototype.characterToGlyph=function(xt){var ut;return((ut=this.cmap.unicode)!=null?ut.codeMap[xt]:void 0)||0},ot.prototype.widthOfGlyph=function(xt){var ut;return ut=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(xt).advance*ut},ot.prototype.widthOfString=function(xt,ut,ft){var Ot,Tt,ht,Ht,Ft;for(Tt=Ht=ht=0,Ft=(xt=""+xt).length;0<=Ft?Ht<Ft:Ft<Ht;Tt=0<=Ft?++Ht:--Ht)Ot=xt.charCodeAt(Tt),ht+=this.widthOfGlyph(this.characterToGlyph(Ot))+ft*(1e3/ut)||0;return ht*(ut/1e3)},ot.prototype.lineHeight=function(xt,ut){var ft;return ut==null&&(ut=!1),ft=ut?this.lineGap:0,(this.ascender+ft-this.decender)/1e3*xt},ot}();var nt,At=function(){function ot(xt){this.data=xt!=null?xt:[],this.pos=0,this.length=this.data.length}return ot.prototype.readByte=function(){return this.data[this.pos++]},ot.prototype.writeByte=function(xt){return this.data[this.pos++]=xt},ot.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},ot.prototype.writeUInt32=function(xt){return this.writeByte(xt>>>24&255),this.writeByte(xt>>16&255),this.writeByte(xt>>8&255),this.writeByte(255&xt)},ot.prototype.readInt32=function(){var xt;return 2147483648<=(xt=this.readUInt32())?xt-4294967296:xt},ot.prototype.writeInt32=function(xt){return xt<0&&(xt+=4294967296),this.writeUInt32(xt)},ot.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},ot.prototype.writeUInt16=function(xt){return this.writeByte(xt>>8&255),this.writeByte(255&xt)},ot.prototype.readInt16=function(){var xt;return 32768<=(xt=this.readUInt16())?xt-65536:xt},ot.prototype.writeInt16=function(xt){return xt<0&&(xt+=65536),this.writeUInt16(xt)},ot.prototype.readString=function(xt){var ut,ft,Ot;for(ft=[],ut=Ot=0;0<=xt?Ot<xt:xt<Ot;ut=0<=xt?++Ot:--Ot)ft[ut]=String.fromCharCode(this.readByte());return ft.join("")},ot.prototype.writeString=function(xt){var ut,ft,Ot,Tt;for(Tt=[],ut=ft=0,Ot=xt.length;0<=Ot?ft<Ot:Ot<ft;ut=0<=Ot?++ft:--ft)Tt.push(this.writeByte(xt.charCodeAt(ut)));return Tt},ot.prototype.readShort=function(){return this.readInt16()},ot.prototype.writeShort=function(xt){return this.writeInt16(xt)},ot.prototype.readLongLong=function(){var xt,ut,ft,Ot,Tt,ht,Ht,Ft;return xt=this.readByte(),ut=this.readByte(),ft=this.readByte(),Ot=this.readByte(),Tt=this.readByte(),ht=this.readByte(),Ht=this.readByte(),Ft=this.readByte(),128&xt?-1*(72057594037927940*(255^xt)+281474976710656*(255^ut)+1099511627776*(255^ft)+4294967296*(255^Ot)+16777216*(255^Tt)+65536*(255^ht)+256*(255^Ht)+(255^Ft)+1):72057594037927940*xt+281474976710656*ut+1099511627776*ft+4294967296*Ot+16777216*Tt+65536*ht+256*Ht+Ft},ot.prototype.writeLongLong=function(xt){var ut,ft;return ut=Math.floor(xt/4294967296),ft=4294967295&xt,this.writeByte(ut>>24&255),this.writeByte(ut>>16&255),this.writeByte(ut>>8&255),this.writeByte(255&ut),this.writeByte(ft>>24&255),this.writeByte(ft>>16&255),this.writeByte(ft>>8&255),this.writeByte(255&ft)},ot.prototype.readInt=function(){return this.readInt32()},ot.prototype.writeInt=function(xt){return this.writeInt32(xt)},ot.prototype.read=function(xt){var ut,ft;for(ut=[],ft=0;0<=xt?ft<xt:xt<ft;0<=xt?++ft:--ft)ut.push(this.readByte());return ut},ot.prototype.write=function(xt){var ut,ft,Ot,Tt;for(Tt=[],ft=0,Ot=xt.length;ft<Ot;ft++)ut=xt[ft],Tt.push(this.writeByte(ut));return Tt},ot}(),It=function(){var ot;function xt(ut){var ft,Ot,Tt;for(this.scalarType=ut.readInt(),this.tableCount=ut.readShort(),this.searchRange=ut.readShort(),this.entrySelector=ut.readShort(),this.rangeShift=ut.readShort(),this.tables={},Ot=0,Tt=this.tableCount;0<=Tt?Ot<Tt:Tt<Ot;0<=Tt?++Ot:--Ot)ft={tag:ut.readString(4),checksum:ut.readInt(),offset:ut.readInt(),length:ut.readInt()},this.tables[ft.tag]=ft}return xt.prototype.encode=function(ut){var ft,Ot,Tt,ht,Ht,Ft,ir,Xt,mr,Ar,Nr,Fr,tn;for(tn in Nr=Object.keys(ut).length,Ft=Math.log(2),mr=16*Math.floor(Math.log(Nr)/Ft),ht=Math.floor(mr/Ft),Xt=16*Nr-mr,(Ot=new At).writeInt(this.scalarType),Ot.writeShort(Nr),Ot.writeShort(mr),Ot.writeShort(ht),Ot.writeShort(Xt),Tt=16*Nr,ir=Ot.pos+Tt,Ht=null,Fr=[],ut)for(Ar=ut[tn],Ot.writeString(tn),Ot.writeInt(ot(Ar)),Ot.writeInt(ir),Ot.writeInt(Ar.length),Fr=Fr.concat(Ar),tn==="head"&&(Ht=ir),ir+=Ar.length;ir%4;)Fr.push(0),ir++;return Ot.write(Fr),ft=2981146554-ot(Ot.data),Ot.pos=Ht+8,Ot.writeUInt32(ft),Ot.data},ot=function(ft){var Ot,Tt,ht,Ht;for(ft=Kt.call(ft);ft.length%4;)ft.push(0);for(Tt=new At(ft),ht=Ot=0,Ht=ft.length;ht<Ht;ht+=4)Ot+=Tt.readUInt32();return 4294967295&Ot},xt}(),ae={}.hasOwnProperty,he=function(xt,ut){for(var ft in ut)ae.call(ut,ft)&&(xt[ft]=ut[ft]);function Ot(){this.constructor=xt}return Ot.prototype=ut.prototype,xt.prototype=new Ot,xt.__super__=ut.prototype,xt};nt=function(){function ot(xt){var ut;this.file=xt,ut=this.file.directory.tables[this.tag],this.exists=!!ut,ut&&(this.offset=ut.offset,this.length=ut.length,this.parse(this.file.contents))}return ot.prototype.parse=function(){},ot.prototype.encode=function(){},ot.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},ot}();var q=function(ot){function xt(){return xt.__super__.constructor.apply(this,arguments)}return he(xt,nt),xt.prototype.tag="head",xt.prototype.parse=function(ut){return ut.pos=this.offset,this.version=ut.readInt(),this.revision=ut.readInt(),this.checkSumAdjustment=ut.readInt(),this.magicNumber=ut.readInt(),this.flags=ut.readShort(),this.unitsPerEm=ut.readShort(),this.created=ut.readLongLong(),this.modified=ut.readLongLong(),this.xMin=ut.readShort(),this.yMin=ut.readShort(),this.xMax=ut.readShort(),this.yMax=ut.readShort(),this.macStyle=ut.readShort(),this.lowestRecPPEM=ut.readShort(),this.fontDirectionHint=ut.readShort(),this.indexToLocFormat=ut.readShort(),this.glyphDataFormat=ut.readShort()},xt.prototype.encode=function(ut){var ft;return(ft=new At).writeInt(this.version),ft.writeInt(this.revision),ft.writeInt(this.checkSumAdjustment),ft.writeInt(this.magicNumber),ft.writeShort(this.flags),ft.writeShort(this.unitsPerEm),ft.writeLongLong(this.created),ft.writeLongLong(this.modified),ft.writeShort(this.xMin),ft.writeShort(this.yMin),ft.writeShort(this.xMax),ft.writeShort(this.yMax),ft.writeShort(this.macStyle),ft.writeShort(this.lowestRecPPEM),ft.writeShort(this.fontDirectionHint),ft.writeShort(ut),ft.writeShort(this.glyphDataFormat),ft.data},xt}(),ne=function(){function ot(xt,ut){var ft,Ot,Tt,ht,Ht,Ft,ir,Xt,mr,Ar,Nr,Fr,tn,qr,Lr,Qr,_r,ur;switch(this.platformID=xt.readUInt16(),this.encodingID=xt.readShort(),this.offset=ut+xt.readInt(),mr=xt.pos,xt.pos=this.offset,this.format=xt.readUInt16(),this.length=xt.readUInt16(),this.language=xt.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(Ft=Lr=0;Lr<256;Ft=++Lr)this.codeMap[Ft]=xt.readByte();break;case 4:for(Nr=xt.readUInt16(),Ar=Nr/2,xt.pos+=6,Tt=function(){var pr,cr;for(cr=[],Ft=pr=0;0<=Ar?pr<Ar:Ar<pr;Ft=0<=Ar?++pr:--pr)cr.push(xt.readUInt16());return cr}(),xt.pos+=2,tn=function(){var pr,cr;for(cr=[],Ft=pr=0;0<=Ar?pr<Ar:Ar<pr;Ft=0<=Ar?++pr:--pr)cr.push(xt.readUInt16());return cr}(),ir=function(){var pr,cr;for(cr=[],Ft=pr=0;0<=Ar?pr<Ar:Ar<pr;Ft=0<=Ar?++pr:--pr)cr.push(xt.readUInt16());return cr}(),Xt=function(){var pr,cr;for(cr=[],Ft=pr=0;0<=Ar?pr<Ar:Ar<pr;Ft=0<=Ar?++pr:--pr)cr.push(xt.readUInt16());return cr}(),Ot=(this.length-xt.pos+this.offset)/2,Ht=function(){var pr,cr;for(cr=[],Ft=pr=0;0<=Ot?pr<Ot:Ot<pr;Ft=0<=Ot?++pr:--pr)cr.push(xt.readUInt16());return cr}(),Ft=Qr=0,ur=Tt.length;Qr<ur;Ft=++Qr)for(qr=Tt[Ft],ft=_r=Fr=tn[Ft];Fr<=qr?_r<=qr:qr<=_r;ft=Fr<=qr?++_r:--_r)Xt[Ft]===0?ht=ft+ir[Ft]:(ht=Ht[Xt[Ft]/2+(ft-Fr)-(Ar-Ft)]||0)!==0&&(ht+=ir[Ft]),this.codeMap[ft]=65535&ht}xt.pos=mr}return ot.encode=function(xt,ut){var ft,Ot,Tt,ht,Ht,Ft,ir,Xt,mr,Ar,Nr,Fr,tn,qr,Lr,Qr,_r,ur,pr,cr,fr,xr,Yr,un,Nn,jr,Tn,gn,Bn,zn,qn,Yn,Vn,An,on,ia,xa,ta,_i,Ci,Gn,Ia,mn,In,Ln,_n;switch(gn=new At,ht=Object.keys(xt).sort(function(jn,ni){return jn-ni}),ut){case"macroman":for(tn=0,qr=function(){var jn,ni;for(ni=[],Fr=jn=0;jn<256;Fr=++jn)ni.push(0);return ni}(),Qr={0:0},Tt={},Bn=0,Vn=ht.length;Bn<Vn;Bn++)Qr[mn=xt[Ot=ht[Bn]]]==null&&(Qr[mn]=++tn),Tt[Ot]={old:xt[Ot],new:Qr[xt[Ot]]},qr[Ot]=Qr[xt[Ot]];return gn.writeUInt16(1),gn.writeUInt16(0),gn.writeUInt32(12),gn.writeUInt16(0),gn.writeUInt16(262),gn.writeUInt16(0),gn.write(qr),{charMap:Tt,subtable:gn.data,maxGlyphID:tn+1};case"unicode":for(jr=[],mr=[],Qr={},ft={},Lr=ir=null,zn=_r=0,An=ht.length;zn<An;zn++)Qr[pr=xt[Ot=ht[zn]]]==null&&(Qr[pr]=++_r),ft[Ot]={old:pr,new:Qr[pr]},Ht=Qr[pr]-Ot,Lr!=null&&Ht===ir||(Lr&&mr.push(Lr),jr.push(Ot),ir=Ht),Lr=Ot;for(Lr&&mr.push(Lr),mr.push(65535),jr.push(65535),un=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,Ft=[],cr=[],Nr=[],Fr=qn=0,on=jr.length;qn<on;Fr=++qn){if(Nn=jr[Fr],Xt=mr[Fr],Nn===65535){Ft.push(0),cr.push(0);break}if(32768<=Nn-(Tn=ft[Nn].new))for(Ft.push(0),cr.push(2*(Nr.length+Yr-Fr)),Ot=Yn=Nn;Nn<=Xt?Yn<=Xt:Xt<=Yn;Ot=Nn<=Xt?++Yn:--Yn)Nr.push(ft[Ot].new);else Ft.push(Tn-Nn),cr.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(un),gn.writeUInt16(xr),gn.writeUInt16(Ar),gn.writeUInt16(fr),Gn=0,ia=mr.length;Gn<ia;Gn++)Ot=mr[Gn],gn.writeUInt16(Ot);for(gn.writeUInt16(0),Ia=0,xa=jr.length;Ia<xa;Ia++)Ot=jr[Ia],gn.writeUInt16(Ot);for(In=0,ta=Ft.length;In<ta;In++)Ht=Ft[In],gn.writeUInt16(Ht);for(Ln=0,_i=cr.length;Ln<_i;Ln++)ur=cr[Ln],gn.writeUInt16(ur);for(_n=0,Ci=Nr.length;_n<Ci;_n++)tn=Nr[_n],gn.writeUInt16(tn);return{charMap:ft,subtable:gn.data,maxGlyphID:_r+1}}},ot}(),Se=function(ot){function xt(){return xt.__super__.constructor.apply(this,arguments)}return he(xt,nt),xt.prototype.tag="cmap",xt.prototype.parse=function(ut){var ft,Ot,Tt;for(ut.pos=this.offset,this.version=ut.readUInt16(),Ot=ut.readUInt16(),this.tables=[],this.unicode=null,Tt=0;0<=Ot?Tt<Ot:Ot<Tt;0<=Ot?++Tt:--Tt)ft=new ne(ut,this.offset),this.tables.push(ft),ft.isUnicode&&this.unicode==null&&(this.unicode=ft);return!0},xt.encode=function(ut,ft){var Ot,Tt;return ft==null&&(ft="macroman"),Ot=ne.encode(ut,ft),(Tt=new At).writeUInt16(0),Tt.writeUInt16(1),Ot.table=Tt.data.concat(Ot.subtable),Ot},xt}(),Ne=function(ot){function xt(){return xt.__super__.constructor.apply(this,arguments)}return he(xt,nt),xt.prototype.tag="hhea",xt.prototype.parse=function(ut){return ut.pos=this.offset,this.version=ut.readInt(),this.ascender=ut.readShort(),this.decender=ut.readShort(),this.lineGap=ut.readShort(),this.advanceWidthMax=ut.readShort(),this.minLeftSideBearing=ut.readShort(),this.minRightSideBearing=ut.readShort(),this.xMaxExtent=ut.readShort(),this.caretSlopeRise=ut.readShort(),this.caretSlopeRun=ut.readShort(),this.caretOffset=ut.readShort(),ut.pos+=8,this.metricDataFormat=ut.readShort(),this.numberOfMetrics=ut.readUInt16()},xt}(),Me=function(ot){function xt(){return xt.__super__.constructor.apply(this,arguments)}return he(xt,nt),xt.prototype.tag="OS/2",xt.prototype.parse=function(ut){if(ut.pos=this.offset,this.version=ut.readUInt16(),this.averageCharWidth=ut.readShort(),this.weightClass=ut.readUInt16(),this.widthClass=ut.readUInt16(),this.type=ut.readShort(),this.ySubscriptXSize=ut.readShort(),this.ySubscriptYSize=ut.readShort(),this.ySubscriptXOffset=ut.readShort(),this.ySubscriptYOffset=ut.readShort(),this.ySuperscriptXSize=ut.readShort(),this.ySuperscriptYSize=ut.readShort(),this.ySuperscriptXOffset=ut.readShort(),this.ySuperscriptYOffset=ut.readShort(),this.yStrikeoutSize=ut.readShort(),this.yStrikeoutPosition=ut.readShort(),this.familyClass=ut.readShort(),this.panose=function(){var ft,Ot;for(Ot=[],ft=0;ft<10;++ft)Ot.push(ut.readByte());return Ot}(),this.charRange=function(){var ft,Ot;for(Ot=[],ft=0;ft<4;++ft)Ot.push(ut.readInt());return Ot}(),this.vendorID=ut.readString(4),this.selection=ut.readShort(),this.firstCharIndex=ut.readShort(),this.lastCharIndex=ut.readShort(),0<this.version&&(this.ascent=ut.readShort(),this.descent=ut.readShort(),this.lineGap=ut.readShort(),this.winAscent=ut.readShort(),this.winDescent=ut.readShort(),this.codePageRange=function(){var ft,Ot;for(Ot=[],ft=0;ft<2;++ft)Ot.push(ut.readInt());return Ot}(),1<this.version))return this.xHeight=ut.readShort(),this.capHeight=ut.readShort(),this.defaultChar=ut.readShort(),this.breakChar=ut.readShort(),this.maxContext=ut.readShort()},xt}(),$e=function(ot){function xt(){return xt.__super__.constructor.apply(this,arguments)}return he(xt,nt),xt.prototype.tag="post",xt.prototype.parse=function(ut){var ft,Ot,Tt,ht;switch(ut.pos=this.offset,this.format=ut.readInt(),this.italicAngle=ut.readInt(),this.underlinePosition=ut.readShort(),this.underlineThickness=ut.readShort(),this.isFixedPitch=ut.readInt(),this.minMemType42=ut.readInt(),this.maxMemType42=ut.readInt(),this.minMemType1=ut.readInt(),this.maxMemType1=ut.readInt(),this.format){case 65536:break;case 131072:for(Ot=ut.readUInt16(),this.glyphNameIndex=[],Tt=0;0<=Ot?Tt<Ot:Ot<Tt;0<=Ot?++Tt:--Tt)this.glyphNameIndex.push(ut.readUInt16());for(this.names=[],ht=[];ut.pos<this.offset+this.length;)ft=ut.readByte(),ht.push(this.names.push(ut.readString(ft)));return ht;case 151552:return Ot=ut.readUInt16(),this.offsets=ut.read(Ot);case 196608:break;case 262144:return this.map=function(){var Ht,Ft,ir;for(ir=[],Ht=0,Ft=this.file.maxp.numGlyphs;0<=Ft?Ht<Ft:Ft<Ht;0<=Ft?++Ht:--Ht)ir.push(ut.readUInt32());return ir}.call(this)}},xt}(),vt=function(xt,ut){this.raw=xt,this.length=xt.length,this.platformID=ut.platformID,this.encodingID=ut.encodingID,this.languageID=ut.languageID},Wt=function(ot){function xt(){return xt.__super__.constructor.apply(this,arguments)}return he(xt,nt),xt.prototype.tag="name",xt.prototype.parse=function(ut){var ft,Ot,Tt,ht,Ht,Ft,ir,Xt,mr,Ar,Nr,Fr;for(ut.pos=this.offset,ut.readShort(),ft=ut.readShort(),Ft=ut.readShort(),Ot=[],ht=mr=0;0<=ft?mr<ft:ft<mr;ht=0<=ft?++mr:--mr)Ot.push({platformID:ut.readShort(),encodingID:ut.readShort(),languageID:ut.readShort(),nameID:ut.readShort(),length:ut.readShort(),offset:this.offset+Ft+ut.readShort()});for(ir={},ht=Ar=0,Nr=Ot.length;Ar<Nr;ht=++Ar)Tt=Ot[ht],ut.pos=Tt.offset,Xt=ut.readString(Tt.length),Ht=new vt(Xt,Tt),ir[Fr=Tt.nameID]==null&&(ir[Fr]=[]),ir[Tt.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]},xt}(),$t=function(ot){function xt(){return xt.__super__.constructor.apply(this,arguments)}return he(xt,nt),xt.prototype.tag="maxp",xt.prototype.parse=function(ut){return ut.pos=this.offset,this.version=ut.readInt(),this.numGlyphs=ut.readUInt16(),this.maxPoints=ut.readUInt16(),this.maxContours=ut.readUInt16(),this.maxCompositePoints=ut.readUInt16(),this.maxComponentContours=ut.readUInt16(),this.maxZones=ut.readUInt16(),this.maxTwilightPoints=ut.readUInt16(),this.maxStorage=ut.readUInt16(),this.maxFunctionDefs=ut.readUInt16(),this.maxInstructionDefs=ut.readUInt16(),this.maxStackElements=ut.readUInt16(),this.maxSizeOfInstructions=ut.readUInt16(),this.maxComponentElements=ut.readUInt16(),this.maxComponentDepth=ut.readUInt16()},xt}(),Dt=function(ot){function xt(){return xt.__super__.constructor.apply(this,arguments)}return he(xt,nt),xt.prototype.tag="hmtx",xt.prototype.parse=function(ut){var ft,Ot,Tt,ht,Ht,Ft,ir;for(ut.pos=this.offset,this.metrics=[],ht=0,Ft=this.file.hhea.numberOfMetrics;0<=Ft?ht<Ft:Ft<ht;0<=Ft?++ht:--ht)this.metrics.push({advance:ut.readUInt16(),lsb:ut.readInt16()});for(Ot=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Xt,mr;for(mr=[],Xt=0;0<=Ot?Xt<Ot:Ot<Xt;0<=Ot?++Xt:--Xt)mr.push(ut.readInt16());return mr}(),this.widths=function(){var Xt,mr,Ar,Nr;for(Nr=[],Xt=0,mr=(Ar=this.metrics).length;Xt<mr;Xt++)Tt=Ar[Xt],Nr.push(Tt.advance);return Nr}.call(this),ft=this.widths[this.widths.length-1],ir=[],Ht=0;0<=Ot?Ht<Ot:Ot<Ht;0<=Ot?++Ht:--Ht)ir.push(this.widths.push(ft));return ir},xt.prototype.forGlyph=function(ut){return ut in this.metrics?this.metrics[ut]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[ut-this.metrics.length]}},xt}(),Kt=[].slice,Gt=function(ot){function xt(){return xt.__super__.constructor.apply(this,arguments)}return he(xt,nt),xt.prototype.tag="glyf",xt.prototype.parse=function(ut){return this.cache={}},xt.prototype.glyphFor=function(ut){var ft,Ot,Tt,ht,Ht,Ft,ir,Xt,mr,Ar;return(ut=ut)in this.cache?this.cache[ut]:(ht=this.file.loca,ft=this.file.contents,Ot=ht.indexOf(ut),(Tt=ht.lengthOf(ut))===0?this.cache[ut]=null:(ft.pos=this.offset+Ot,Ht=(Ft=new At(ft.read(Tt))).readShort(),Xt=Ft.readShort(),Ar=Ft.readShort(),ir=Ft.readShort(),mr=Ft.readShort(),this.cache[ut]=Ht===-1?new Mt(Ft,Xt,Ar,ir,mr):new Qt(Ft,Ht,Xt,Ar,ir,mr),this.cache[ut]))},xt.prototype.encode=function(ut,ft,Ot){var Tt,ht,Ht,Ft,ir;for(Ht=[],ht=[],Ft=0,ir=ft.length;Ft<ir;Ft++)Tt=ut[ft[Ft]],ht.push(Ht.length),Tt&&(Ht=Ht.concat(Tt.encode(Ot)));return ht.push(Ht.length),{table:Ht,offsets:ht}},xt}(),Qt=function(){function ot(xt,ut,ft,Ot,Tt,ht){this.raw=xt,this.numberOfContours=ut,this.xMin=ft,this.yMin=Ot,this.xMax=Tt,this.yMax=ht,this.compound=!1}return ot.prototype.encode=function(){return this.raw.data},ot}(),Mt=function(){function ot(xt,ut,ft,Ot,Tt){var ht,Ht;for(this.raw=xt,this.xMin=ut,this.yMin=ft,this.xMax=Ot,this.yMax=Tt,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],ht=this.raw;Ht=ht.readShort(),this.glyphOffsets.push(ht.pos),this.glyphIDs.push(ht.readShort()),32&Ht;)ht.pos+=1&Ht?4:2,128&Ht?ht.pos+=8:64&Ht?ht.pos+=4:8&Ht&&(ht.pos+=2)}return ot.prototype.encode=function(xt){var ut,ft,Ot,Tt,ht;for(ft=new At(Kt.call(this.raw.data)),ut=Ot=0,Tt=(ht=this.glyphIDs).length;Ot<Tt;ut=++Ot)ht[ut],ft.pos=this.glyphOffsets[ut];return ft.data},ot}(),dr=function(ot){function xt(){return xt.__super__.constructor.apply(this,arguments)}return he(xt,nt),xt.prototype.tag="loca",xt.prototype.parse=function(ut){var ft;return ut.pos=this.offset,ft=this.file.head.indexToLocFormat,this.offsets=ft===0?function(){var Ot,Tt,ht;for(ht=[],Ot=0,Tt=this.length;Ot<Tt;Ot+=2)ht.push(2*ut.readUInt16());return ht}.call(this):function(){var Ot,Tt,ht;for(ht=[],Ot=0,Tt=this.length;Ot<Tt;Ot+=4)ht.push(ut.readUInt32());return ht}.call(this)},xt.prototype.indexOf=function(ut){return this.offsets[ut]},xt.prototype.lengthOf=function(ut){return this.offsets[ut+1]-this.offsets[ut]},xt.prototype.encode=function(ut,ft){for(var Ot=new Uint32Array(this.offsets.length),Tt=0,ht=0,Ht=0;Ht<Ot.length;++Ht)if(Ot[Ht]=Tt,ht<ft.length&&ft[ht]==Ht){++ht,Ot[Ht]=Tt;var Ft=this.offsets[Ht],ir=this.offsets[Ht+1]-Ft;0<ir&&(Tt+=ir)}for(var Xt=new Array(4*Ot.length),mr=0;mr<Ot.length;++mr)Xt[4*mr+3]=255&Ot[mr],Xt[4*mr+2]=(65280&Ot[mr])>>8,Xt[4*mr+1]=(16711680&Ot[mr])>>16,Xt[4*mr]=(4278190080&Ot[mr])>>24;return Xt},xt}(),er=function(){function ot(xt){this.font=xt,this.subset={},this.unicodes={},this.next=33}return ot.prototype.generateCmap=function(){var xt,ut,ft,Ot,Tt;for(ut in Ot=this.font.cmap.tables[0].codeMap,xt={},Tt=this.subset)ft=Tt[ut],xt[ut]=Ot[ft];return xt},ot.prototype.glyphsFor=function(xt){var ut,ft,Ot,Tt,ht,Ht,Ft;for(Ot={},ht=0,Ht=xt.length;ht<Ht;ht++)Ot[Tt=xt[ht]]=this.font.glyf.glyphFor(Tt);for(Tt in ut=[],Ot)((ft=Ot[Tt])!=null?ft.compound:void 0)&&ut.push.apply(ut,ft.glyphIDs);if(0<ut.length)for(Tt in Ft=this.glyphsFor(ut))ft=Ft[Tt],Ot[Tt]=ft;return Ot},ot.prototype.encode=function(xt,ut){var ft,Ot,Tt,ht,Ht,Ft,ir,Xt,mr,Ar,Nr,Fr,tn,qr,Lr;for(Ot in ft=Se.encode(this.generateCmap(),"unicode"),ht=this.glyphsFor(xt),Nr={0:0},Lr=ft.charMap)Nr[(Ft=Lr[Ot]).old]=Ft.new;for(Fr in Ar=ft.maxGlyphID,ht)Fr in Nr||(Nr[Fr]=Ar++);return Xt=function(Qr){var _r,ur;for(_r in ur={},Qr)ur[Qr[_r]]=_r;return ur}(Nr),mr=Object.keys(Xt).sort(function(Qr,_r){return Qr-_r}),tn=function(){var Qr,_r,ur;for(ur=[],Qr=0,_r=mr.length;Qr<_r;Qr++)Ht=mr[Qr],ur.push(Xt[Ht]);return ur}(),Tt=this.font.glyf.encode(ht,tn,Nr),ir=this.font.loca.encode(Tt.offsets,tn),qr={cmap:this.font.cmap.raw(),glyf:Tt.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(ut)},this.font.os2.exists&&(qr["OS/2"]=this.font.os2.raw()),this.font.directory.encode(qr)},ot}();be.API.PDFObject=function(){var ot;function xt(){}return ot=function(ft,Ot){return(Array(Ot+1).join("0")+ft).slice(-Ot)},xt.convert=function(ut){var ft,Ot,Tt,ht;if(Array.isArray(ut))return"["+function(){var Ht,Ft,ir;for(ir=[],Ht=0,Ft=ut.length;Ht<Ft;Ht++)ft=ut[Ht],ir.push(xt.convert(ft));return ir}().join(" ")+"]";if(typeof ut=="string")return"/"+ut;if(ut!=null?ut.isString:void 0)return"("+ut+")";if(ut instanceof Date)return"(D:"+ot(ut.getUTCFullYear(),4)+ot(ut.getUTCMonth(),2)+ot(ut.getUTCDate(),2)+ot(ut.getUTCHours(),2)+ot(ut.getUTCMinutes(),2)+ot(ut.getUTCSeconds(),2)+"Z)";if({}.toString.call(ut)!=="[object Object]")return""+ut;for(Ot in Tt=["<<"],ut)ht=ut[Ot],Tt.push("/"+Ot+" "+xt.convert(ht));return Tt.push(">>"),Tt.join(`
`)},xt}()}(mt),Qe=typeof self!="undefined"&&self||typeof window!="undefined"&&window||typeof g!="undefined"&&g||Function('return typeof this === "object" && this.content')()||Function("return this")(),ve=function(){var be,me,pe;function ue(De){var He,ze,Xe,Be,nt,At,It,ae,he,q,ne,Se,Ne,Me;for(this.data=De,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},At=null;;){switch(He=this.readUInt32(),he=function(){var $e,vt;for(vt=[],$e=0;$e<4;++$e)vt.push(String.fromCharCode(this.data[this.pos++]));return vt}.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(He);break;case"fcTL":At&&this.animation.frames.push(At),this.pos+=4,At={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},nt=this.readUInt16(),Be=this.readUInt16()||100,At.delay=1e3*nt/Be,At.disposeOp=this.data[this.pos++],At.blendOp=this.data[this.pos++],At.data=[];break;case"IDAT":case"fdAT":for(he==="fdAT"&&(this.pos+=4,He-=4),De=(At!=null?At.data:void 0)||this.imgData,Se=0;0<=He?Se<He:He<Se;0<=He?++Se:--Se)De.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(Xe=this.palette.length/3,this.transparency.indexed=this.read(He),this.transparency.indexed.length>Xe)throw new Error("More transparent colors than palette size");if(0<(q=Xe-this.transparency.indexed.length))for(Ne=0;0<=q?Ne<q:q<Ne;0<=q?++Ne:--Ne)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(He)[0];break;case 2:this.transparency.rgb=this.read(He)}break;case"tEXt":It=(ne=this.read(He)).indexOf(0),ae=String.fromCharCode.apply(String,ne.slice(0,It)),this.text[ae]=String.fromCharCode.apply(String,ne.slice(It+1));break;case"IEND":return At&&this.animation.frames.push(At),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(Me=this.colorType)===4||Me===6,ze=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*ze,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+=He}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}ue.load=function(De,He,ze){var Xe;return typeof He=="function"&&(ze=He),(Xe=new XMLHttpRequest).open("GET",De,!0),Xe.responseType="arraybuffer",Xe.onload=function(){var Be;return Be=new ue(new Uint8Array(Xe.response||Xe.mozResponseArrayBuffer)),typeof(He!=null?He.getContext:void 0)=="function"&&Be.render(He),typeof ze=="function"?ze(Be):void 0},Xe.send(null)},ue.prototype.read=function(De){var He,ze;for(ze=[],He=0;0<=De?He<De:De<He;0<=De?++He:--He)ze.push(this.data[this.pos++]);return ze},ue.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},ue.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},ue.prototype.decodePixels=function(De){var He=this.pixelBitlength/8,ze=new Uint8Array(this.width*this.height*He),Xe=0,Be=this;if(De==null&&(De=this.imgData),De.length===0)return new Uint8Array(0);function nt(At,It,ae,he){var q,ne,Se,Ne,Me,$e,vt,Wt,$t,Dt,Kt,Gt,Qt,Mt,dr,er,ot,xt,ut,ft,Ot,Tt=Math.ceil((Be.width-At)/ae),ht=Math.ceil((Be.height-It)/he),Ht=Be.width==Tt&&Be.height==ht;for(Mt=He*Tt,Gt=Ht?ze:new Uint8Array(Mt*ht),$e=De.length,ne=Qt=0;Qt<ht&&Xe<$e;){switch(De[Xe++]){case 0:for(Ne=ot=0;ot<Mt;Ne=ot+=1)Gt[ne++]=De[Xe++];break;case 1:for(Ne=xt=0;xt<Mt;Ne=xt+=1)q=De[Xe++],Me=Ne<He?0:Gt[ne-He],Gt[ne++]=(q+Me)%256;break;case 2:for(Ne=ut=0;ut<Mt;Ne=ut+=1)q=De[Xe++],Se=(Ne-Ne%He)/He,dr=Qt&&Gt[(Qt-1)*Mt+Se*He+Ne%He],Gt[ne++]=(dr+q)%256;break;case 3:for(Ne=ft=0;ft<Mt;Ne=ft+=1)q=De[Xe++],Se=(Ne-Ne%He)/He,Me=Ne<He?0:Gt[ne-He],dr=Qt&&Gt[(Qt-1)*Mt+Se*He+Ne%He],Gt[ne++]=(q+Math.floor((Me+dr)/2))%256;break;case 4:for(Ne=Ot=0;Ot<Mt;Ne=Ot+=1)q=De[Xe++],Se=(Ne-Ne%He)/He,Me=Ne<He?0:Gt[ne-He],Qt===0?dr=er=0:(dr=Gt[(Qt-1)*Mt+Se*He+Ne%He],er=Se&&Gt[(Qt-1)*Mt+(Se-1)*He+Ne%He]),vt=Me+dr-er,Wt=Math.abs(vt-Me),Dt=Math.abs(vt-dr),Kt=Math.abs(vt-er),$t=Wt<=Dt&&Wt<=Kt?Me:Dt<=Kt?dr:er,Gt[ne++]=(q+$t)%256;break;default:throw new Error("Invalid filter algorithm: "+De[Xe-1])}if(!Ht){var Ft=((It+Qt*he)*Be.width+At)*He,ir=Qt*Mt;for(Ne=0;Ne<Tt;Ne+=1){for(var Xt=0;Xt<He;Xt+=1)ze[Ft++]=Gt[ir++];Ft+=(ae-1)*He}}Qt++}}return De=(De=new Pt(De)).getBytes(),Be.interlaceMethod==1?(nt(0,0,8,8),nt(4,0,8,8),nt(0,4,4,8),nt(2,0,4,4),nt(0,2,2,4),nt(1,0,2,2),nt(0,1,1,2)):nt(0,0,1,1),ze},ue.prototype.decodePalette=function(){var De,He,ze,Xe,Be,nt,At,It,ae;for(ze=this.palette,nt=this.transparency.indexed||[],Be=new Uint8Array((nt.length||0)+ze.length),Xe=0,ze.length,He=At=De=0,It=ze.length;At<It;He=At+=3)Be[Xe++]=ze[He],Be[Xe++]=ze[He+1],Be[Xe++]=ze[He+2],Be[Xe++]=(ae=nt[De++])!=null?ae:255;return Be},ue.prototype.copyToImageData=function(De,He){var ze,Xe,Be,nt,At,It,ae,he,q,ne,Se;if(Xe=this.colors,q=null,ze=this.hasAlphaChannel,this.palette.length&&(q=(Se=this._decodedPalette)!=null?Se:this._decodedPalette=this.decodePalette(),Xe=4,ze=!0),he=(Be=De.data||De).length,At=q||He,nt=It=0,Xe===1)for(;nt<he;)ae=q?4*He[nt/4]:It,ne=At[ae++],Be[nt++]=ne,Be[nt++]=ne,Be[nt++]=ne,Be[nt++]=ze?At[ae++]:255,It=ae;else for(;nt<he;)ae=q?4*He[nt/4]:It,Be[nt++]=At[ae++],Be[nt++]=At[ae++],Be[nt++]=At[ae++],Be[nt++]=ze?At[ae++]:255,It=ae},ue.prototype.decode=function(){var De;return De=new Uint8Array(this.width*this.height*4),this.copyToImageData(De,this.decodePixels()),De};try{me=Qe.document.createElement("canvas"),pe=me.getContext("2d")}catch(De){return-1}return be=function(He){var ze;return pe.width=He.width,pe.height=He.height,pe.clearRect(0,0,He.width,He.height),pe.putImageData(He,0,0),(ze=new Image).src=me.toDataURL(),ze},ue.prototype.decodeFrames=function(De){var He,ze,Xe,Be,nt,At,It,ae;if(this.animation){for(ae=[],ze=nt=0,At=(It=this.animation.frames).length;nt<At;ze=++nt)He=It[ze],Xe=De.createImageData(He.width,He.height),Be=this.decodePixels(new Uint8Array(He.data)),this.copyToImageData(Xe,Be),He.imageData=Xe,ae.push(He.image=be(Xe));return ae}},ue.prototype.renderFrame=function(De,He){var ze,Xe,Be;return ze=(Xe=this.animation.frames)[He],Be=Xe[He-1],He===0&&De.clearRect(0,0,this.width,this.height),(Be!=null?Be.disposeOp:void 0)===1?De.clearRect(Be.xOffset,Be.yOffset,Be.width,Be.height):(Be!=null?Be.disposeOp:void 0)===2&&De.putImageData(Be.imageData,Be.xOffset,Be.yOffset),ze.blendOp===0&&De.clearRect(ze.xOffset,ze.yOffset,ze.width,ze.height),De.drawImage(ze.image,ze.xOffset,ze.yOffset)},ue.prototype.animate=function(De){var He,ze,Xe,Be,nt,At,It=this;return ze=0,At=this.animation,Be=At.numFrames,Xe=At.frames,nt=At.numPlays,(He=function(){var he,q;if(he=ze++%Be,q=Xe[he],It.renderFrame(De,he),1<Be&&ze/Be<nt)return It.animation._timeout=setTimeout(He,q.delay)})()},ue.prototype.stopAnimation=function(){var De;return clearTimeout((De=this.animation)!=null?De._timeout:void 0)},ue.prototype.render=function(De){var He,ze;return De._png&&De._png.stopAnimation(),De._png=this,De.width=this.width,De.height=this.height,He=De.getContext("2d"),this.animation?(this.decodeFrames(He),this.animate(He)):(ze=He.createImageData(this.width,this.height),this.copyToImageData(ze,this.decodePixels()),He.putImageData(ze,0,0))},ue}(),Qe.PNG=ve;var or=function(){function be(){this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=null}return be.prototype={ensureBuffer:function(pe){var ue=this.buffer,De=ue?ue.byteLength:0;if(pe<De)return ue;for(var He=512;He<pe;)He<<=1;for(var ze=new Uint8Array(He),Xe=0;Xe<De;++Xe)ze[Xe]=ue[Xe];return this.buffer=ze},getByte:function(){for(var pe=this.pos;this.bufferLength<=pe;){if(this.eof)return null;this.readBlock()}return this.buffer[this.pos++]},getBytes:function(pe){var ue=this.pos;if(pe){this.ensureBuffer(ue+pe);for(var De=ue+pe;!this.eof&&this.bufferLength<De;)this.readBlock();var He=this.bufferLength;He<De&&(De=He)}else{for(;!this.eof;)this.readBlock();De=this.bufferLength}return this.pos=De,this.buffer.subarray(ue,De)},lookChar:function(){for(var pe=this.pos;this.bufferLength<=pe;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos])},getChar:function(){for(var pe=this.pos;this.bufferLength<=pe;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos++])},makeSubStream:function(pe,ue,De){for(var He=pe+ue;this.bufferLength<=He&&!this.eof;)this.readBlock();return new Stream(this.buffer,pe,ue,De)},skip:function(pe){pe||(pe=1),this.pos+=pe},reset:function(){this.pos=0}},be}(),Pt=function(){if(typeof Uint32Array!="undefined"){var be=new Uint32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),me=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]),pe=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]),ue=[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],De=[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(ze.prototype=Object.create(or.prototype)).getBits=function(Xe){for(var Be,nt=this.codeSize,At=this.codeBuf,It=this.bytes,ae=this.bytesPos;nt<Xe;)(Be=It[ae++])===void 0&&He("Bad encoding in flate stream"),At|=Be<<nt,nt+=8;return Be=At&(1<<Xe)-1,this.codeBuf=At>>Xe,this.codeSize=nt-=Xe,this.bytesPos=ae,Be},ze.prototype.getCode=function(Xe){for(var Be=Xe[0],nt=Xe[1],At=this.codeSize,It=this.codeBuf,ae=this.bytes,he=this.bytesPos;At<nt;){var q;(q=ae[he++])===void 0&&He("Bad encoding in flate stream"),It|=q<<At,At+=8}var ne=Be[It&(1<<nt)-1],Se=ne>>16,Ne=65535&ne;return(At==0||At<Se||Se==0)&&He("Bad encoding in flate stream"),this.codeBuf=It>>Se,this.codeSize=At-Se,this.bytesPos=he,Ne},ze.prototype.generateHuffmanTable=function(Xe){for(var Be=Xe.length,nt=0,At=0;At<Be;++At)Xe[At]>nt&&(nt=Xe[At]);for(var It=1<<nt,ae=new Uint32Array(It),he=1,q=0,ne=2;he<=nt;++he,q<<=1,ne<<=1)for(var Se=0;Se<Be;++Se)if(Xe[Se]==he){var Ne=0,Me=q;for(At=0;At<he;++At)Ne=Ne<<1|1&Me,Me>>=1;for(At=Ne;At<It;At+=ne)ae[At]=he<<16|Se;++q}return[ae,nt]},ze.prototype.readBlock=function(){function Xe(ht,Ht,Ft,ir,Xt){for(var mr=ht.getBits(Ft)+ir;0<mr--;)Ht[ne++]=Xt}var Be=this.getBits(3);if(1&Be&&(this.eof=!0),(Be>>=1)!=0){var nt,At;if(Be==1)nt=ue,At=De;else if(Be==2){for(var It=this.getBits(5)+257,ae=this.getBits(5)+1,he=this.getBits(4)+4,q=Array(be.length),ne=0;ne<he;)q[be[ne++]]=this.getBits(3);for(var Se=this.generateHuffmanTable(q),Ne=0,Me=(ne=0,It+ae),$e=new Array(Me);ne<Me;){var vt=this.getCode(Se);vt==16?Xe(this,$e,2,3,Ne):vt==17?Xe(this,$e,3,3,Ne=0):vt==18?Xe(this,$e,7,11,Ne=0):$e[ne++]=Ne=vt}nt=this.generateHuffmanTable($e.slice(0,It)),At=this.generateHuffmanTable($e.slice(It,Me))}else He("Unknown block type in flate stream");for(var Wt=(ft=this.buffer)?ft.length:0,$t=this.bufferLength;;){var Dt=this.getCode(nt);if(Dt<256)Wt<=$t+1&&(Wt=(ft=this.ensureBuffer($t+1)).length),ft[$t++]=Dt;else{if(Dt==256)return void(this.bufferLength=$t);var Kt=(Dt=me[Dt-=257])>>16;0<Kt&&(Kt=this.getBits(Kt)),Ne=(65535&Dt)+Kt,Dt=this.getCode(At),0<(Kt=(Dt=pe[Dt])>>16)&&(Kt=this.getBits(Kt));var Gt=(65535&Dt)+Kt;Wt<=$t+Ne&&(Wt=(ft=this.ensureBuffer($t+Ne)).length);for(var Qt=0;Qt<Ne;++Qt,++$t)ft[$t]=ft[$t-Gt]}}}else{var Mt,dr=this.bytes,er=this.bytesPos;(Mt=dr[er++])===void 0&&He("Bad block header in flate stream");var ot=Mt;(Mt=dr[er++])===void 0&&He("Bad block header in flate stream"),ot|=Mt<<8,(Mt=dr[er++])===void 0&&He("Bad block header in flate stream");var xt=Mt;(Mt=dr[er++])===void 0&&He("Bad block header in flate stream"),(xt|=Mt<<8)!=(65535&~ot)&&He("Bad uncompressed block length in flate stream"),this.codeBuf=0,this.codeSize=0;var ut=this.bufferLength,ft=this.ensureBuffer(ut+ot),Ot=ut+ot;this.bufferLength=Ot;for(var Tt=ut;Tt<Ot;++Tt){if((Mt=dr[er++])===void 0){this.eof=!0;break}ft[Tt]=Mt}this.bytesPos=er}},ze}function He(Xe){throw new Error(Xe)}function ze(Xe){var Be=0,nt=Xe[Be++],At=Xe[Be++];nt!=-1&&At!=-1||He("Invalid header in flate stream"),(15&nt)!=8&&He("Unknown compression method in flate stream"),((nt<<8)+At)%31!=0&&He("Bad FCHECK in flate stream"),32&At&&He("FDICT bit set in flate stream"),this.bytes=Xe,this.bytesPos=2,this.codeSize=0,this.codeBuf=0,or.call(this)}}();window.tmp=Pt});try{D.exports=jsPDF}catch(m){}}).call(this,e("yLpj"))},"5RzL":function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),a=e.n(c),i=e("7W2i"),r=e.n(i),o=e("LQ03"),d=e.n(o),n=e("q1tI"),l=e.n(n),t=e("1OyB"),s=e("vuIU"),u=e("Ji7U"),p=e("LK+K"),w=e("KQm4"),b=e("U8pU"),E=e("ODXe"),A=e("VTBJ"),S=e("qNPg"),T=e("2Qr1"),L=e("815F"),x=e("NvD2"),C=e("wPlo"),I=e("6cGi"),N=e("Kwbf"),F=e("4IlW"),k=e("YrtM"),B=e("fAei"),P=l.a.createContext(null);function K(yt,_t){if(!yt)return!0;var or=yt.data,Pt=or.disabled,be=or.disableCheckbox;switch(_t){case"select":return Pt;case"checkbox":return Pt||be}return!1}function R(yt,_t){var or=l.a.useCallback(function(be){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",pe=arguments.length>2?arguments[2]:void 0,ue=yt.get(be);return!pe&&K(ue,me)?null:ue},[yt]),Pt=l.a.useCallback(function(be){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",pe=arguments.length>2?arguments[2]:void 0,ue=_t.get(be);return!pe&&K(ue,me)?null:ue},[_t]);return[or,Pt]}function U(yt){return l.a.useMemo(function(){var _t=new Map,or=new Map;return yt.forEach(function(Pt){_t.set(Pt.key,Pt),or.set(Pt.data.value,Pt)}),[_t,or]},[yt])}var j={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},H=function(_t,or){var Pt=_t.prefixCls,be=_t.height,me=_t.itemHeight,pe=_t.virtual,ue=_t.options,De=_t.flattenOptions,He=_t.multiple,ze=_t.searchValue,Xe=_t.onSelect,Be=_t.onToggleOpen,nt=_t.open,At=_t.notFoundContent,It=_t.onMouseEnter,ae=l.a.useContext(P),he=ae.checkable,q=ae.checkedKeys,ne=ae.halfCheckedKeys,Se=ae.treeExpandedKeys,Ne=ae.treeDefaultExpandAll,Me=ae.treeDefaultExpandedKeys,$e=ae.onTreeExpand,vt=ae.treeIcon,Wt=ae.showTreeIcon,$t=ae.switcherIcon,Dt=ae.treeLine,Kt=ae.treeNodeFilterProp,Gt=ae.loadData,Qt=ae.treeLoadedKeys,Mt=ae.treeMotion,dr=ae.onTreeLoad,er=l.a.useRef(),ot=Object(k.a)(function(){return ue},[nt,ue],function(Bn,zn){return zn[0]&&Bn[1]!==zn[1]}),xt=U(De),ut=Object(E.a)(xt,2),ft=ut[0],Ot=ut[1],Tt=R(ft,Ot),ht=Object(E.a)(Tt,2),Ht=ht[0],Ft=ht[1],ir=l.a.useMemo(function(){return q.map(function(Bn){var zn=Ft(Bn);return zn?zn.key:null})},[q]),Xt=l.a.useMemo(function(){return he?{checked:ir,halfChecked:ne}:null},[ir,ne,he]);l.a.useEffect(function(){if(nt&&!He&&ir.length){var Bn;(Bn=er.current)===null||Bn===void 0||Bn.scrollTo({key:ir[0]})}},[nt]);var mr=String(ze).toLowerCase(),Ar=function(zn){return mr?String(zn[Kt]).toLowerCase().includes(mr):!1},Nr=l.a.useState(Me),Fr=Object(E.a)(Nr,2),tn=Fr[0],qr=Fr[1],Lr=l.a.useState(null),Qr=Object(E.a)(Lr,2),_r=Qr[0],ur=Qr[1],pr=l.a.useMemo(function(){return Se?Object(w.a)(Se):ze?_r:tn},[tn,_r,mr,Se]);l.a.useEffect(function(){ze&&ur(De.map(function(Bn){return Bn.key}))},[ze]);var cr=function(zn){qr(zn),ur(zn),$e&&$e(zn)},fr=function(zn){zn.preventDefault()},xr=function(zn,qn){var Yn=qn.node.key,Vn=Ht(Yn,he?"checkbox":"select");Vn!==null&&Xe(Vn.data.value,{selected:!q.includes(Vn.data.value)}),He||Be(!1)},Yr=l.a.useState(null),un=Object(E.a)(Yr,2),Nn=un[0],jr=un[1],Tn=Ht(Nn);if(l.a.useImperativeHandle(or,function(){return{onKeyDown:function(zn){var qn,Yn=zn.which;switch(Yn){case F.a.UP:case F.a.DOWN:case F.a.LEFT:case F.a.RIGHT:(qn=er.current)===null||qn===void 0||qn.onKeyDown(zn);break;case F.a.ENTER:{Tn!==null&&xr(null,{node:{key:Nn},selected:!q.includes(Tn.data.value)});break}case F.a.ESC:Be(!1)}},onKeyUp:function(){}}}),ot.length===0)return l.a.createElement("div",{role:"listbox",className:"".concat(Pt,"-empty"),onMouseDown:fr},At);var gn={};return Qt&&(gn.loadedKeys=Qt),pr&&(gn.expandedKeys=pr),l.a.createElement("div",{onMouseDown:fr,onMouseEnter:It},Tn&&nt&&l.a.createElement("span",{style:j,"aria-live":"assertive"},Tn.data.value),l.a.createElement(B.b,Object.assign({ref:er,focusable:!1,prefixCls:"".concat(Pt,"-tree"),treeData:ot,height:be,itemHeight:me,virtual:pe,multiple:He,icon:vt,showIcon:Wt,switcherIcon:$t,showLine:Dt,loadData:ze?null:Gt,motion:Mt,checkable:he,checkStrictly:!0,checkedKeys:Xt,selectedKeys:he?[]:ir,defaultExpandAll:Ne},gn,{onActiveChange:jr,onSelect:xr,onCheck:xr,onExpand:cr,onLoad:dr,filterTreeNode:Ar})))},W=l.a.forwardRef(H);W.displayName="OptionList";var X=W,z=function(){return null},G=z,Z=e("Ff2n"),ge=e("Zm9Q");function Q(yt){return Object(ge.a)(yt).map(function(_t){if(!l.a.isValidElement(_t)||!_t.type)return null;var or=_t.key,Pt=_t.props,be=Pt.children,me=Pt.value,pe=Object(Z.a)(Pt,["children","value"]),ue=Object(A.a)({key:or,value:me},pe),De=Q(be);return De.length&&(ue.children=De),ue}).filter(function(_t){return _t})}function we(yt){if(!yt)return yt;var _t=Object(A.a)({},yt);return"props"in _t||Object.defineProperty(_t,"props",{get:function(){return Object(N.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),_t}}),_t}function Ee(yt,_t,or,Pt,be){var me=null,pe=null;function ue(){function De(He){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return He.map(function(Be,nt){var At="".concat(ze,"-").concat(nt),It=or.includes(Be.value),ae=De(Be.children||[],At,It),he=l.a.createElement(G,Object.assign({},Be),ae.map(function(ne){return ne.node}));if(_t===Be.value&&(me=he),It){var q={pos:At,node:he,children:ae};return Xe||pe.push(q),q}return null}).filter(function(Be){return Be})}pe||(pe=[],De(Pt),pe.sort(function(He,ze){var Xe=He.node.props.value,Be=ze.node.props.value,nt=or.indexOf(Xe),At=or.indexOf(Be);return nt-At}))}Object.defineProperty(yt,"triggerNode",{get:function(){return Object(N.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),ue(),me}}),Object.defineProperty(yt,"allCheckedNodes",{get:function(){return Object(N.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),ue(),be?pe:pe.map(function(He){var ze=He.node;return ze})}})}function Ae(yt){return Array.isArray(yt)?yt:yt!==void 0?[yt]:[]}function Pe(yt,_t){var or=new Map;return _t.forEach(function(Pt){var be=Pt.data;or.set(be.value,be)}),yt.map(function(Pt){return we(or.get(Pt))})}function Ge(yt,_t){var or=Pe([yt],_t)[0];return or?or.disabled:!1}function gt(yt){return yt.disabled||yt.disableCheckbox||yt.checkable===!1}function _e(yt){for(var _t=yt.parent,or=0,Pt=_t;Pt;)Pt=Pt.parent,or+=1;return or}function Ce(yt){function _t(Pt){return(Pt||[]).map(function(be){var me=be.value,pe=be.key,ue=be.children,De=Object(A.a)(Object(A.a)({},be),{},{key:"key"in be?pe:me});return ue&&(De.children=_t(ue)),De})}var or=Object(L.d)(_t(yt),!0);return or.map(function(Pt){return{key:Pt.data.key,data:Pt.data,level:_e(Pt)}})}function lt(yt){return function(_t,or){var Pt=or[yt];return String(Pt).toLowerCase().includes(String(_t).toLowerCase())}}function ce(yt,_t,or){var Pt=or.optionFilterProp,be=or.filterOption;if(be===!1)return _t;var me;typeof be=="function"?me=be:me=lt(Pt);function pe(ue){var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ue.map(function(He){var ze=He.children,Xe=De||me(yt,we(He)),Be=pe(ze||[],Xe);return Xe||Be.length?Object(A.a)(Object(A.a)({},He),{},{children:Be}):null}).filter(function(He){return He})}return pe(_t)}function Y(yt,_t,or,Pt){var be=new Map;return Ae(_t).forEach(function(me){me&&Object(b.a)(me)==="object"&&"value"in me&&be.set(me.value,me)}),yt.map(function(me){var pe={value:me},ue=or(me,"select",!0),De=ue?Pt(ue.data):me;if(be.has(me)){var He=be.get(me);pe.label="label"in He?He.label:De,"halfChecked"in He&&(pe.halfChecked=He.halfChecked)}else pe.label=De;return pe})}function V(yt,_t){var or=new Set(yt);return or.add(_t),Array.from(or)}function $(yt,_t){var or=new Set(yt);return or.delete(_t),Array.from(or)}function Te(yt){var _t=yt.searchPlaceholder,or=yt.treeCheckStrictly,Pt=yt.treeCheckable,be=yt.labelInValue,me=yt.value,pe=yt.multiple;Object(N.a)(!_t,"`searchPlaceholder` has been removed."),or&&be===!1&&Object(N.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(be||or)&&Object(N.a)(Ae(me).every(function(ue){return ue&&Object(b.a)(ue)==="object"&&"value"in ue}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),or||pe||Pt?Object(N.a)(!me||Array.isArray(me),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(N.a)(!Array.isArray(me),"`value` should not be array when `TreeSelect` is single mode.")}var ye=Te,Fe=10;function Oe(yt,_t){var or=_t.id,Pt=_t.pId,be=_t.rootPId,me={},pe=[],ue=yt.map(function(De){var He=Object(A.a)({},De),ze=He[or];return me[ze]=He,He.key=He.key||ze,He});return ue.forEach(function(De){var He=De[Pt],ze=me[He];ze&&(ze.children=ze.children||[],ze.children.push(De)),(He===be||!ze&&be===null)&&pe.push(De)}),pe}function se(yt,_t){var or=0,Pt=new Set;function be(me){return(me||[]).map(function(pe){var ue=pe.key,De=pe.value,He=pe.children,ze=Object(Z.a)(pe,["key","value","children"]),Xe="value"in pe?De:ue,Be=Object(A.a)(Object(A.a)({},ze),{},{key:ue!=null?ue:Xe,value:Xe,title:_t(pe)});return"children"in pe&&(Be.children=be(He)),Be})}return be(yt)}function fe(yt,_t,or){var Pt=or.getLabelProp,be=or.simpleMode,me=l.a.useRef({});return yt?(me.current.formatTreeData=me.current.treeData===yt?me.current.formatTreeData:se(be?Oe(yt,Object(A.a)({id:"id",pId:"pId",rootPId:null},be!==!0?be:{})):yt,Pt),me.current.treeData=yt):me.current.formatTreeData=me.current.children===_t?me.current.formatTreeData:se(Q(_t),Pt),me.current.formatTreeData}var Le="SHOW_ALL",Je="SHOW_PARENT",mt="SHOW_CHILD";function Ct(yt,_t,or){var Pt=new Set(yt);return _t===mt?yt.filter(function(be){var me=or[be];return!(me&&me.children&&me.children.every(function(pe){var ue=pe.node;return gt(ue)||Pt.has(ue.key)}))}):_t===Je?yt.filter(function(be){var me=or[be],pe=me?me.parent:null;return!(pe&&!gt(pe.node)&&Pt.has(pe.node.key))}):yt}function Ue(yt,_t){var or=_t.value,Pt=_t.getEntityByValue,be=_t.getEntityByKey,me=_t.treeConduction,pe=_t.showCheckedStrategy,ue=_t.conductKeyEntities,De=_t.getLabelProp;return l.a.useMemo(function(){var He=yt;if(me){var ze=Ct(yt.map(function(Xe){var Be=Pt(Xe);return Be?Be.key:Xe}),pe,ue);He=ze.map(function(Xe){var Be=be(Xe);return Be?Be.data.value:Xe})}return Y(He,or,Pt,De)},[yt,or,me,pe,Pt])}var Rt=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],Ke=Object(S.a)({prefixCls:"rc-tree-select",components:{optionList:X},convertChildrenToData:function(){return null},flattenOptions:Ce,getLabeledValue:T.e,filterOptions:ce,isValueDisabled:Ge,findValueOption:Pe,omitDOMProps:function(_t){var or=Object(A.a)({},_t);return Rt.forEach(function(Pt){delete or[Pt]}),or}});Ke.displayName="Select";var wt=n.forwardRef(function(yt,_t){var or=yt.multiple,Pt=yt.treeCheckable,be=yt.treeCheckStrictly,me=yt.showCheckedStrategy,pe=me===void 0?"SHOW_CHILD":me,ue=yt.labelInValue,De=yt.loadData,He=yt.treeLoadedKeys,ze=yt.treeNodeFilterProp,Xe=ze===void 0?"value":ze,Be=yt.treeNodeLabelProp,nt=yt.treeDataSimpleMode,At=yt.treeData,It=yt.treeExpandedKeys,ae=yt.treeDefaultExpandedKeys,he=yt.treeDefaultExpandAll,q=yt.children,ne=yt.treeIcon,Se=yt.showTreeIcon,Ne=yt.switcherIcon,Me=yt.treeLine,$e=yt.treeMotion,vt=yt.filterTreeNode,Wt=yt.dropdownPopupAlign,$t=yt.onChange,Dt=yt.onTreeExpand,Kt=yt.onTreeLoad,Gt=yt.onDropdownVisibleChange,Qt=yt.onSelect,Mt=yt.onDeselect,dr=Pt||be,er=or||dr,ot=Pt&&!be,xt=be||ue,ut=n.useRef(null);n.useImperativeHandle(_t,function(){return{focus:ut.current.focus,blur:ut.current.blur}});var ft=function(Yn){return At&&Yn.label||Yn.title},Ot=function(Yn){return Be?Yn[Be]:ft(Yn)},Tt=fe(At,q,{getLabelProp:ft,simpleMode:nt}),ht=Object(n.useMemo)(function(){return Ce(Tt)},[Tt]),Ht=U(ht),Ft=Object(E.a)(Ht,2),ir=Ft[0],Xt=Ft[1],mr=R(ir,Xt),Ar=Object(E.a)(mr,2),Nr=Ar[0],Fr=Ar[1],tn=Object(n.useMemo)(function(){return ot?Object(L.a)(Tt):{keyEntities:null}},[Tt,Pt,be]),qr=tn.keyEntities,Lr=Object(I.a)(yt.defaultValue,{value:yt.value}),Qr=Object(E.a)(Lr,2),_r=Qr[0],ur=Qr[1],pr=function(Yn){var Vn=[],An=[];return Yn.forEach(function(on){Fr(on)?An.push(on):Vn.push(on)}),{missingRawValues:Vn,existRawValues:An}},cr=Object(n.useMemo)(function(){var qn=[],Yn=[];if(Ae(_r).forEach(function(Ci){if(Ci&&Object(b.a)(Ci)==="object"&&"value"in Ci)if(Ci.halfChecked&&be){var Gn=Fr(Ci.value);qn.push(Gn?Gn.key:Ci.value)}else Yn.push(Ci.value);else Yn.push(Ci)}),ot){var Vn=pr(Yn),An=Vn.missingRawValues,on=Vn.existRawValues,ia=on.map(function(Ci){return Fr(Ci).key}),xa=Object(x.a)(ia,!0,qr),ta=xa.checkedKeys,_i=xa.halfCheckedKeys;return[[].concat(Object(w.a)(An),Object(w.a)(ta.map(function(Ci){return Nr(Ci).data.value}))),_i]}return[Yn,qn]},[_r,er,xt,Pt,be]),fr=Object(E.a)(cr,2),xr=fr[0],Yr=fr[1],un=Ue(xr,{treeConduction:ot,value:_r,showCheckedStrategy:pe,conductKeyEntities:qr,getEntityByValue:Fr,getEntityByKey:Nr,getLabelProp:Ot}),Nn=function(Yn,Vn,An){if(ur(er?Yn:Yn[0]),$t){var on=Yn;if(ot&&pe!=="SHOW_ALL"){var ia=Yn.map(function(Ln){var _n=Fr(Ln);return _n?_n.key:Ln}),xa=Ct(ia,pe,qr);on=xa.map(function(Ln){var _n=Nr(Ln);return _n?_n.data.value:Ln})}var ta=Vn||{triggerValue:void 0,selected:void 0},_i=ta.triggerValue,Ci=ta.selected,Gn=xt?Y(on,_r,Fr,Ot):on;if(be){var Ia=Yr.map(function(Ln){var _n=Nr(Ln);return _n?_n.data.value:Ln}).filter(function(Ln){return!on.includes(Ln)});Gn=[].concat(Object(w.a)(Gn),Object(w.a)(Y(Ia,_r,Fr,Ot)))}var mn={preValue:un,triggerValue:_i},In=!0;(be||An==="selection"&&!Ci)&&(In=!1),Ee(mn,_i,Yn,Tt,In),dr?mn.checked=Ci:mn.selected=Ci,$t(er?Gn:Gn[0],xt?null:on.map(function(Ln){var _n=Fr(Ln);return _n?Ot(_n.data):null}),mn)}},jr=function(Yn,Vn,An){var on=Yn;if(!er)Nn([Yn],{selected:!0,triggerValue:Yn},An);else{var ia=V(xr,Yn);if(ot){var xa=pr(ia),ta=xa.missingRawValues,_i=xa.existRawValues,Ci=_i.map(function(mn){return Fr(mn).key}),Gn=Object(x.a)(Ci,!0,qr),Ia=Gn.checkedKeys;ia=[].concat(Object(w.a)(ta),Object(w.a)(Ia.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=$(xr,Yn);if(ot){var xa=pr(ia),ta=xa.missingRawValues,_i=xa.existRawValues,Ci=_i.map(function(mn){return Fr(mn).key}),Gn=Object(x.a)(Ci,{checked:!1,halfCheckedKeys:Yr},qr),Ia=Gn.checkedKeys;ia=[].concat(Object(w.a)(ta),Object(w.a)(Ia.map(function(mn){return Nr(mn).data.value})))}Nn(ia,{selected:!1,triggerValue:Yn},An),Mt&&Mt(on,Vn)},gn=function(){Nn([],null,"clear")},Bn=n.useCallback(function(qn){if(Gt){var Yn={};Object.defineProperty(Yn,"documentClickClose",{get:function(){return Object(N.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Gt(qn,Yn)}},[Gt]),zn={optionLabelProp:null,optionFilterProp:Xe,dropdownAlign:Wt,internalProps:{mark:C.a,onClear:gn,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:jr,onRawDeselect:Tn}};return"filterTreeNode"in yt&&(zn.filterOption=vt),n.createElement(P.Provider,{value:{checkable:dr,loadData:De,treeLoadedKeys:He,onTreeLoad:Kt,checkedKeys:xr,halfCheckedKeys:Yr,treeDefaultExpandAll:he,treeExpandedKeys:It,treeDefaultExpandedKeys:ae,onTreeExpand:Dt,treeIcon:ne,treeMotion:$e,showTreeIcon:Se,switcherIcon:Ne,treeLine:Me,treeNodeFilterProp:Xe}},n.createElement(Ke,Object.assign({ref:ut,mode:er?"multiple":null},yt,zn,{value:un,labelInValue:!0,options:Tt,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:Bn})))}),Ye=function(yt){Object(u.a)(or,yt);var _t=Object(p.a)(or);function or(){var Pt;return Object(t.a)(this,or),Pt=_t.apply(this,arguments),Pt.selectRef=n.createRef(),Pt.focus=function(){Pt.selectRef.current.focus()},Pt.blur=function(){Pt.selectRef.current.blur()},Pt}return Object(s.a)(or,[{key:"render",value:function(){return n.createElement(wt,Object.assign({ref:this.selectRef},this.props))}}]),or}(n.Component);Ye.TreeNode=G,Ye.SHOW_ALL=Le,Ye.SHOW_PARENT=Je,Ye.SHOW_CHILD=mt;var et=Ye,rt=et,st=e("TSYQ"),Ve=e.n(st),oe=e("BGR+"),re=e("H84U"),it=e("uaoM"),Qe=e("1vzs"),ve=e("2jpz"),Zt=e("3Nzz"),dt=function(yt){r()(or,yt);var _t=d()(or);function or(Pt){var be;return h()(this,or),be=_t.call(this,Pt),be.selectRef=n.createRef(),be.renderTreeSelect=function(me){var pe=me.getPopupContainer,ue=me.getPrefixCls,De=me.renderEmpty,He=me.direction,ze=me.virtual,Xe=me.dropdownMatchSelectWidth,Be=be.props,nt=Be.prefixCls,At=Be.size,It=Be.className,ae=Be.treeCheckable,he=Be.multiple,q=Be.listHeight,ne=q===void 0?256:q,Se=Be.listItemHeight,Ne=Se===void 0?26:Se,Me=Be.notFoundContent,$e=Be.switcherIcon,vt=Be.treeLine,Wt=Be.getPopupContainer,$t=Be.dropdownClassName,Dt=Be.bordered,Kt=Be.treeIcon,Gt=Kt===void 0?!1:Kt,Qt=ue("select",nt),Mt=ue("select-tree",nt),dr=ue("tree-select",nt),er=Ve()($t,"".concat(dr,"-dropdown"),m()({},"".concat(dr,"-dropdown-rtl"),He==="rtl")),ot=!!(ae||he),xt=Object(Qe.a)(f()(f()({},be.props),{multiple:ot,prefixCls:Qt})),ut=xt.suffixIcon,ft=xt.itemIcon,Ot=xt.removeIcon,Tt=xt.clearIcon,ht;Me!==void 0?ht=Me:ht=De("Select");var Ht=Object(oe.default)(be.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","size","bordered"]);return n.createElement(Zt.b.Consumer,null,function(Ft){var ir,Xt=At||Ft,mr=Ve()(!nt&&dr,(ir={},m()(ir,"".concat(Qt,"-lg"),Xt==="large"),m()(ir,"".concat(Qt,"-sm"),Xt==="small"),m()(ir,"".concat(Qt,"-rtl"),He==="rtl"),m()(ir,"".concat(Qt,"-borderless"),!Dt),ir),It);return n.createElement(rt,f()({virtual:ze,dropdownMatchSelectWidth:Xe},Ht,{ref:be.selectRef,prefixCls:Qt,className:mr,listHeight:ne,listItemHeight:Ne,treeCheckable:ae&&n.createElement("span",{className:"".concat(Qt,"-tree-checkbox-inner")}),inputIcon:ut,menuItemSelectedIcon:ft,removeIcon:Ot,clearIcon:Tt,switcherIcon:function(Nr){return Object(ve.a)(Mt,$e,vt,Nr)},showTreeIcon:Gt,notFoundContent:ht,getPopupContainer:Wt||pe,treeMotion:null,dropdownClassName:er}))})},Object(it.a)(Pt.multiple!==!1||!Pt.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true"),be}return a()(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(re.a,null,this.renderTreeSelect)}}]),or}(n.Component);dt.TreeNode=G,dt.SHOW_ALL=Le,dt.SHOW_PARENT=Je,dt.SHOW_CHILD=mt,dt.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var ct=_.a=dt},"5Uyt":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("KmBX"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},"5YOS":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("xb2K"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},"5YgA":function(D,_,e){},"5bA4":function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="LeftOutlined";var h=_.a=g.forwardRef(v)},"5nXd":function(D,_,e){var g=e("MFOe"),f=g.slice,y=g.pluck,m=g.each,v=g.bind,h=g.create,c=g.isList,a=g.isFunction,i=g.isObject;D.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,u){l.call(t,t._deserialize(s),(u||"").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&&!c(n)&&(n=[n]),l&&!c(l)&&(l=[l]);var s=t?"__storejs_"+t+"_":"",u=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 w={_namespacePrefix:s,_namespaceRegexp:u,_testStorage:function(A){try{var S="__storejs__test__";A.write(S,S);var T=A.read(S)===S;return A.remove(S),T}catch(L){return!1}},_assignPluginFnProp:function(A,S){var T=this[S];this[S]=function(){var x=f(arguments,0),C=this;function I(){return T?(m(arguments,function(F,k){x[k]=F}),T.apply(C,x)):void 0}var N=[I].concat(x);return A.apply(C,N)}},_serialize:function(A){return JSON.stringify(A)},_deserialize:function(A,S){if(!A)return S;var T="";try{T=JSON.parse(A)}catch(L){T=A}return T!==void 0?T:S},_addStorage:function(A){if(this.enabled)return;this._testStorage(A)&&(this.storage=A,this.enabled=!0)},_addPlugin:function(A){var S=this;if(c(A)){m(A,function(x){S._addPlugin(x)});return}var T=y(this.plugins,function(x){return A===x});if(T)return;if(this.plugins.push(A),!a(A))throw new Error("Plugins must be function values that return objects");var L=A.call(this);if(!i(L))throw new Error("Plugins must return an object of function properties");m(L,function(x,C){if(!a(x))throw new Error("Bad plugin property: "+C+" from plugin "+A.name+". Plugins should only return functions.");S._assignPluginFnProp(x,C)})},addStorage:function(A){o("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(A)}},b=h(w,r,{plugins:[]});return b.raw={},m(b,function(E,A){a(E)&&(b.raw[A]=v(b,E))}),m(n,function(E){b._addStorage(E)}),m(l,function(E){b._addPlugin(E)}),b}},"5rEg":function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lwsE"),m=e.n(y),v=e("W8MJ"),h=e.n(v),c=e("7W2i"),a=e.n(c),i=e("LQ03"),r=e.n(i),o=e("lSNA"),d=e.n(o),n=e("q1tI"),l=e("TSYQ"),t=e.n(l),s=e("BGR+"),u=e("kbBi"),p=e.n(u),w=e("CWQg"),b=e("0n0R"),E=Object(w.a)("text","input");function A($){return!!($.prefix||$.suffix||$.allowClear)}var S=function($){a()(ye,$);var Te=r()(ye);function ye(){var Fe;return m()(this,ye),Fe=Te.apply(this,arguments),Fe.containerRef=n.createRef(),Fe.onInputMouseUp=function(Oe){var se;if((se=Fe.containerRef.current)===null||se===void 0?void 0:se.contains(Oe.target)){var fe=Fe.props.triggerFocus;fe()}},Fe}return h()(ye,[{key:"renderClearIcon",value:function(Oe){var se=this.props,fe=se.allowClear,Le=se.value,Je=se.disabled,mt=se.readOnly,Ct=se.inputType,Ue=se.handleReset;if(!fe)return null;var Rt=!Je&&!mt&&Le,Ke=Ct===E[0]?"".concat(Oe,"-textarea-clear-icon"):"".concat(Oe,"-clear-icon");return n.createElement(p.a,{onClick:Ue,className:t()(Ke,d()({},"".concat(Ke,"-hidden"),!Rt)),role:"button"})}},{key:"renderSuffix",value:function(Oe){var se=this.props,fe=se.suffix,Le=se.allowClear;return fe||Le?n.createElement("span",{className:"".concat(Oe,"-suffix")},this.renderClearIcon(Oe),fe):null}},{key:"renderLabeledIcon",value:function(Oe,se){var fe,Le=this.props,Je=Le.focused,mt=Le.value,Ct=Le.prefix,Ue=Le.className,Rt=Le.size,Ke=Le.suffix,wt=Le.disabled,Ye=Le.allowClear,et=Le.direction,rt=Le.style,st=Le.readOnly,Ve=Le.bordered,oe=this.renderSuffix(Oe);if(!A(this.props))return Object(b.a)(se,{value:mt});var re=Ct?n.createElement("span",{className:"".concat(Oe,"-prefix")},Ct):null,it=t()(Ue,"".concat(Oe,"-affix-wrapper"),(fe={},d()(fe,"".concat(Oe,"-affix-wrapper-focused"),Je),d()(fe,"".concat(Oe,"-affix-wrapper-disabled"),wt),d()(fe,"".concat(Oe,"-affix-wrapper-sm"),Rt==="small"),d()(fe,"".concat(Oe,"-affix-wrapper-lg"),Rt==="large"),d()(fe,"".concat(Oe,"-affix-wrapper-input-with-clear-btn"),Ke&&Ye&&mt),d()(fe,"".concat(Oe,"-affix-wrapper-rtl"),et==="rtl"),d()(fe,"".concat(Oe,"-affix-wrapper-readonly"),st),d()(fe,"".concat(Oe,"-affix-wrapper-borderless"),!Ve),fe));return n.createElement("span",{ref:this.containerRef,className:it,style:rt,onMouseUp:this.onInputMouseUp},re,Object(b.a)(se,{style:null,value:mt,className:F(Oe,Ve,Rt,wt)}),oe)}},{key:"renderInputWithLabel",value:function(Oe,se){var fe,Le,Je=this.props,mt=Je.addonBefore,Ct=Je.addonAfter,Ue=Je.style,Rt=Je.size,Ke=Je.className,wt=Je.direction;if(!mt&&!Ct)return se;var Ye="".concat(Oe,"-group"),et="".concat(Ye,"-addon"),rt=mt?n.createElement("span",{className:et},mt):null,st=Ct?n.createElement("span",{className:et},Ct):null,Ve=t()("".concat(Oe,"-wrapper"),(fe={},d()(fe,Ye,mt||Ct),d()(fe,"".concat(Ye,"-rtl"),wt==="rtl"),fe)),oe=t()(Ke,"".concat(Oe,"-group-wrapper"),(Le={},d()(Le,"".concat(Oe,"-group-wrapper-sm"),Rt==="small"),d()(Le,"".concat(Oe,"-group-wrapper-lg"),Rt==="large"),d()(Le,"".concat(Oe,"-group-wrapper-rtl"),wt==="rtl"),Le));return n.createElement("span",{className:oe,style:Ue},n.createElement("span",{className:Ve},rt,Object(b.a)(se,{style:null}),st))}},{key:"renderTextAreaWithClearIcon",value:function(Oe,se){var fe,Le=this.props,Je=Le.value,mt=Le.allowClear,Ct=Le.className,Ue=Le.style,Rt=Le.direction,Ke=Le.bordered;if(!mt)return Object(b.a)(se,{value:Je});var wt=t()(Ct,"".concat(Oe,"-affix-wrapper"),"".concat(Oe,"-affix-wrapper-textarea-with-clear-btn"),(fe={},d()(fe,"".concat(Oe,"-affix-wrapper-rtl"),Rt==="rtl"),d()(fe,"".concat(Oe,"-affix-wrapper-borderless"),!Ke),fe));return n.createElement("span",{className:wt,style:Ue},Object(b.a)(se,{style:null,value:Je}),this.renderClearIcon(Oe))}},{key:"render",value:function(){var Oe=this.props,se=Oe.prefixCls,fe=Oe.inputType,Le=Oe.element;return fe===E[0]?this.renderTextAreaWithClearIcon(se,Le):this.renderInputWithLabel(se,this.renderLabeledIcon(se,Le))}}]),ye}(n.Component),T=S,L=e("H84U"),x=e("3Nzz"),C=e("uaoM");function I($){return typeof $=="undefined"||$===null?"":$}function N($,Te,ye){if(ye){var Fe=Te;if(Te.type==="click"){Fe=Object.create(Te),Fe.target=$,Fe.currentTarget=$;var Oe=$.value;$.value="",ye(Fe),$.value=Oe;return}ye(Fe)}}function F($,Te,ye,Fe,Oe){var se;return t()($,(se={},d()(se,"".concat($,"-sm"),ye==="small"),d()(se,"".concat($,"-lg"),ye==="large"),d()(se,"".concat($,"-disabled"),Fe),d()(se,"".concat($,"-rtl"),Oe==="rtl"),d()(se,"".concat($,"-borderless"),!Te),se))}var k=function($){a()(ye,$);var Te=r()(ye);function ye(Fe){var Oe;m()(this,ye),Oe=Te.call(this,Fe),Oe.direction="ltr",Oe.focus=function(){Oe.input.focus()},Oe.saveClearableInput=function(fe){Oe.clearableInput=fe},Oe.saveInput=function(fe){Oe.input=fe},Oe.onFocus=function(fe){var Le=Oe.props.onFocus;Oe.setState({focused:!0},Oe.clearPasswordValueAttribute),Le&&Le(fe)},Oe.onBlur=function(fe){var Le=Oe.props.onBlur;Oe.setState({focused:!1},Oe.clearPasswordValueAttribute),Le&&Le(fe)},Oe.handleReset=function(fe){Oe.setValue("",function(){Oe.focus()}),N(Oe.input,fe,Oe.props.onChange)},Oe.renderInput=function(fe,Le,Je){var mt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ct=Oe.props,Ue=Ct.className,Rt=Ct.addonBefore,Ke=Ct.addonAfter,wt=Ct.size,Ye=Ct.disabled,et=Object(s.default)(Oe.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return n.createElement("input",f()({autoComplete:mt.autoComplete},et,{onChange:Oe.handleChange,onFocus:Oe.onFocus,onBlur:Oe.onBlur,onKeyDown:Oe.handleKeyDown,className:t()(F(fe,Je,wt||Le,Ye,Oe.direction),d()({},Ue,Ue&&!Rt&&!Ke)),ref:Oe.saveInput}))},Oe.clearPasswordValueAttribute=function(){Oe.removePasswordTimeout=setTimeout(function(){Oe.input&&Oe.input.getAttribute("type")==="password"&&Oe.input.hasAttribute("value")&&Oe.input.removeAttribute("value")})},Oe.handleChange=function(fe){Oe.setValue(fe.target.value,Oe.clearPasswordValueAttribute),N(Oe.input,fe,Oe.props.onChange)},Oe.handleKeyDown=function(fe){var Le=Oe.props,Je=Le.onPressEnter,mt=Le.onKeyDown;fe.keyCode===13&&Je&&Je(fe),mt&&mt(fe)},Oe.renderComponent=function(fe){var Le=fe.getPrefixCls,Je=fe.direction,mt=fe.input,Ct=Oe.state,Ue=Ct.value,Rt=Ct.focused,Ke=Oe.props,wt=Ke.prefixCls,Ye=Ke.bordered,et=Ye===void 0?!0:Ye,rt=Le("input",wt);return Oe.direction=Je,n.createElement(x.b.Consumer,null,function(st){return n.createElement(T,f()({size:st},Oe.props,{prefixCls:rt,inputType:"input",value:I(Ue),element:Oe.renderInput(rt,st,et,mt),handleReset:Oe.handleReset,ref:Oe.saveClearableInput,direction:Je,focused:Rt,triggerFocus:Oe.focus,bordered:et}))})};var se=typeof Fe.value=="undefined"?Fe.defaultValue:Fe.value;return Oe.state={value:se,focused:!1,prevValue:Fe.value},Oe}return h()(ye,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(Oe){return A(Oe)!==A(this.props)&&Object(C.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(Oe,se){this.props.value===void 0&&this.setState({value:Oe},se)}},{key:"render",value:function(){return n.createElement(L.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(Oe,se){var fe=se.prevValue,Le={prevValue:Oe.value};return(Oe.value!==void 0||fe!==Oe.value)&&(Le.value=Oe.value),Le}}]),ye}(n.Component);k.defaultProps={type:"text"};var B=k,P=function(Te){return n.createElement(L.a,null,function(ye){var Fe,Oe=ye.getPrefixCls,se=ye.direction,fe=Te.prefixCls,Le=Te.className,Je=Le===void 0?"":Le,mt=Oe("input-group",fe),Ct=t()(mt,(Fe={},d()(Fe,"".concat(mt,"-lg"),Te.size==="large"),d()(Fe,"".concat(mt,"-sm"),Te.size==="small"),d()(Fe,"".concat(mt,"-compact"),Te.compact),d()(Fe,"".concat(mt,"-rtl"),se==="rtl"),Fe),Je);return n.createElement("span",{className:Ct,style:Te.style,onMouseEnter:Te.onMouseEnter,onMouseLeave:Te.onMouseLeave,onFocus:Te.onFocus,onBlur:Te.onBlur},Te.children)})},K=P,R=e("c+Xe"),U=e("w6Tc"),j=e.n(U),H=e("gZBC"),W=e.n(H),X=e("2/Rp"),z=function($,Te){var ye={};for(var Fe in $)Object.prototype.hasOwnProperty.call($,Fe)&&Te.indexOf(Fe)<0&&(ye[Fe]=$[Fe]);if($!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Fe=Object.getOwnPropertySymbols($);Oe<Fe.length;Oe++)Te.indexOf(Fe[Oe])<0&&Object.prototype.propertyIsEnumerable.call($,Fe[Oe])&&(ye[Fe[Oe]]=$[Fe[Oe]]);return ye},G=n.forwardRef(function($,Te){var ye=n.useRef(null),Fe=function(Ue){var Rt=$.onChange,Ke=$.onSearch;Ue&&Ue.target&&Ue.type==="click"&&Ke&&Ke(Ue.target.value,Ue),Rt&&Rt(Ue)},Oe=function(Ue){var Rt;document.activeElement===((Rt=ye.current)===null||Rt===void 0?void 0:Rt.input)&&Ue.preventDefault()},se=function(Ue){var Rt,Ke=$.onSearch,wt=$.loading,Ye=$.disabled;if(wt||Ye)return;Ke&&Ke((Rt=ye.current)===null||Rt===void 0?void 0:Rt.input.value,Ue)},fe=function(Ue){var Rt=$.enterButton,Ke=$.size;return Rt?n.createElement(x.b.Consumer,{key:"enterButton"},function(wt){return n.createElement(X.a,{className:"".concat(Ue,"-button"),type:"primary",size:Ke||wt},n.createElement(W.a,null))}):n.createElement(W.a,{className:"".concat(Ue,"-icon"),key:"loadingIcon"})},Le=function(Ue){var Rt=$.suffix,Ke=$.enterButton,wt=$.loading;if(wt&&!Ke)return[Rt,fe(Ue)];if(Ke)return Rt;var Ye=n.createElement(j.a,{className:"".concat(Ue,"-icon"),key:"searchIcon",onClick:se});return Rt?[Object(b.c)(Rt,null,{key:"suffix"}),Ye]:Ye},Je=function(Ue,Rt){var Ke=$.enterButton,wt=$.disabled,Ye=$.addonAfter,et=$.loading,rt="".concat(Ue,"-button");if(et&&Ke)return[fe(Ue),Ye];if(!Ke)return Ye;var st,Ve=Ke,oe=Ve.type&&Ve.type.__ANT_BUTTON===!0;return oe||Ve.type==="button"?st=Object(b.a)(Ve,f()({onMouseDown:Oe,onClick:se,key:"enterButton"},oe?{className:rt,size:Rt}:{})):st=n.createElement(X.a,{className:rt,type:"primary",size:Rt,disabled:wt,key:"enterButton",onMouseDown:Oe,onClick:se},Ke===!0?n.createElement(j.a,null):Ke),Ye?[st,Object(b.c)(Ye,null,{key:"addonAfter"})]:st},mt=function(Ue){var Rt=Ue.getPrefixCls,Ke=Ue.direction,wt=$.prefixCls,Ye=$.inputPrefixCls,et=$.enterButton,rt=$.className,st=$.size,Ve=z($,["prefixCls","inputPrefixCls","enterButton","className","size"]);delete Ve.onSearch,delete Ve.loading;var oe=Rt("input-search",wt),re=Rt("input",Ye),it=function(ve){var Zt;if(et){var dt;Zt=t()(oe,rt,(dt={},d()(dt,"".concat(oe,"-rtl"),Ke==="rtl"),d()(dt,"".concat(oe,"-enter-button"),!!et),d()(dt,"".concat(oe,"-").concat(ve),!!ve),dt))}else Zt=t()(oe,rt,d()({},"".concat(oe,"-rtl"),Ke==="rtl"));return Zt};return n.createElement(x.b.Consumer,null,function(Qe){return n.createElement(B,f()({ref:Object(R.a)(ye,Te),onPressEnter:se},Ve,{size:st||Qe,prefixCls:re,addonAfter:Je(oe,st||Qe),suffix:Le(oe),onChange:Fe,className:it(st||Qe)}))})};return n.createElement(L.a,null,mt)});G.defaultProps={enterButton:!1},G.displayName="Search";var Z=G,ge=e("Y1PL"),Q=function($){a()(ye,$);var Te=r()(ye);function ye(Fe){var Oe;m()(this,ye),Oe=Te.call(this,Fe),Oe.focus=function(){Oe.resizableTextArea.textArea.focus()},Oe.saveTextArea=function(fe){Oe.resizableTextArea=fe==null?void 0:fe.resizableTextArea},Oe.saveClearableInput=function(fe){Oe.clearableInput=fe},Oe.handleChange=function(fe){Oe.setValue(fe.target.value),N(Oe.resizableTextArea.textArea,fe,Oe.props.onChange)},Oe.handleReset=function(fe){Oe.setValue("",function(){Oe.focus()}),N(Oe.resizableTextArea.textArea,fe,Oe.props.onChange)},Oe.renderTextArea=function(fe,Le){return n.createElement(ge.default,f()({},Object(s.default)(Oe.props,["allowClear","bordered"]),{className:t()(Oe.props.className,d()({},"".concat(fe,"-borderless"),!Le)),prefixCls:fe,onChange:Oe.handleChange,ref:Oe.saveTextArea}))},Oe.renderComponent=function(fe){var Le=fe.getPrefixCls,Je=fe.direction,mt=Oe.state.value,Ct=Oe.props,Ue=Ct.prefixCls,Rt=Ct.bordered,Ke=Rt===void 0?!0:Rt,wt=Le("input",Ue);return n.createElement(T,f()({},Oe.props,{prefixCls:wt,direction:Je,inputType:"text",value:I(mt),element:Oe.renderTextArea(wt,Ke),handleReset:Oe.handleReset,ref:Oe.saveClearableInput,triggerFocus:Oe.focus,bordered:Ke}))};var se=typeof Fe.value=="undefined"?Fe.defaultValue:Fe.value;return Oe.state={value:se},Oe}return h()(ye,[{key:"setValue",value:function(Oe,se){this.props.value===void 0&&this.setState({value:Oe},se)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return n.createElement(L.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(Oe){return Oe.value!==void 0?{value:Oe.value}:null}}]),ye}(n.Component),we=Q,Ee=e("J4zp"),Ae=e.n(Ee),Pe=e("qPY4"),Ge=e.n(Pe),gt=e("fUL4"),_e=e.n(gt),Ce=function($,Te){var ye={};for(var Fe in $)Object.prototype.hasOwnProperty.call($,Fe)&&Te.indexOf(Fe)<0&&(ye[Fe]=$[Fe]);if($!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Fe=Object.getOwnPropertySymbols($);Oe<Fe.length;Oe++)Te.indexOf(Fe[Oe])<0&&Object.prototype.propertyIsEnumerable.call($,Fe[Oe])&&(ye[Fe[Oe]]=$[Fe[Oe]]);return ye},lt={click:"onClick",hover:"onMouseOver"},ce=n.forwardRef(function($,Te){var ye=Object(n.useState)(!1),Fe=Ae()(ye,2),Oe=Fe[0],se=Fe[1],fe=function(){var Ct=$.disabled;if(Ct)return;se(!Oe)},Le=function(Ct){var Ue,Rt=$.action,Ke=$.iconRender,wt=Ke===void 0?function(){return null}:Ke,Ye=lt[Rt]||"",et=wt(Oe),rt=(Ue={},d()(Ue,Ye,fe),d()(Ue,"className","".concat(Ct,"-icon")),d()(Ue,"key","passwordIcon"),d()(Ue,"onMouseDown",function(Ve){Ve.preventDefault()}),d()(Ue,"onMouseUp",function(Ve){Ve.preventDefault()}),Ue);return n.cloneElement(n.isValidElement(et)?et:n.createElement("span",null,et),rt)},Je=function(Ct){var Ue=Ct.getPrefixCls,Rt=$.className,Ke=$.prefixCls,wt=$.inputPrefixCls,Ye=$.size,et=$.visibilityToggle,rt=Ce($,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),st=Ue("input",wt),Ve=Ue("input-password",Ke),oe=et&&Le(Ve),re=t()(Ve,Rt,d()({},"".concat(Ve,"-").concat(Ye),!!Ye)),it=f()(f()({},Object(s.default)(rt,["suffix","iconRender"])),{type:Oe?"text":"password",className:re,prefixCls:st,suffix:oe});return Ye&&(it.size=Ye),n.createElement(B,f()({ref:Te},it))};return n.createElement(L.a,null,Je)});ce.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(Te){return Te?n.createElement(Ge.a,null):n.createElement(_e.a,null)}},ce.displayName="Password";var Y=ce;B.Group=K,B.Search=Z,B.TextArea=we,B.Password=Y;var V=_.a=B},"5s0K":function(D,_,e){var g=e("bYtY");function f(){var y=[],m={},v;return{add:function(h,c,a,i,r){return g.isString(i)&&(r=i,i=0),m[h.id]?!1:(m[h.id]=1,y.push({el:h,target:c,time:a,delay:i,easing:r}),!0)},done:function(h){return v=h,this},start:function(){for(var h=y.length,c=0,a=y.length;c<a;c++){var i=y[c];i.el.animateTo(i.target,i.time,i.delay,i.easing,r)}return this;function r(){h--,h||(y.length=0,m={},v&&v())}}}}_.createWrap=f},"5yev":function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},"6/nd":function(D,_,e){var g=e("ProS");g.registerAction("legendScroll","legendscroll",function(f,y){var m=f.scrollDataIndex;m!=null&&y.eachComponent({mainType:"legend",subType:"scroll",query:f},function(v){v.setScrollDataIndex(m)})})},"62sa":function(D,_,e){var g=e("bYtY"),f=e("4NO4"),y=f.makeInner,m=e("zTMp"),v=e("Ez2D"),h=g.each,c=g.curry,a=y();function i(b,E,A){var S=b.currTrigger,T=[b.x,b.y],L=b,x=b.dispatchAction||g.bind(A.dispatchAction,A),C=E.getComponent("axisPointer").coordSysAxesInfo;if(!C)return;w(T)&&(T=v({seriesIndex:L.seriesIndex,dataIndex:L.dataIndex},E).point);var I=w(T),N=L.axesInfo,F=C.axesInfo,k=S==="leave"||w(T),B={},P={},K={list:[],map:{}},R={showPointer:c(d,P),showTooltip:c(n,K)};h(C.coordSysMap,function(j,H){var W=I||j.containPoint(T);h(C.coordSysAxesInfo[H],function(X,z){var G=X.axis,Z=u(N,X);if(!k&&W&&(!N||Z)){var ge=Z&&Z.value;ge==null&&!I&&(ge=G.pointToData(T)),ge!=null&&r(X,ge,R,!1,B)}})});var U={};return h(F,function(j,H){var W=j.linkGroup;W&&!P[H]&&h(W.axesInfo,function(X,z){var G=P[z];if(X!==j&&G){var Z=G.value;W.mapper&&(Z=j.axis.scale.parse(W.mapper(Z,p(X),p(j)))),U[j.key]=Z}})}),h(U,function(j,H){r(F[H],j,R,!0,B)}),l(P,F,B),t(K,T,b,x),s(F,x,A),B}function r(b,E,A,S,T){var L=b.axis;if(L.scale.isBlank()||!L.containData(E))return;if(!b.involveSeries){A.showPointer(b,E);return}var x=o(E,b),C=x.payloadBatch,I=x.snapToValue;C[0]&&T.seriesIndex==null&&g.extend(T,C[0]),!S&&b.snap&&(L.containData(I)&&I!=null&&(E=I)),A.showPointer(b,E,C,T),A.showTooltip(b,x,I)}function o(b,E){var A=E.axis,S=A.dim,T=b,L=[],x=Number.MAX_VALUE,C=-1;return h(E.seriesModels,function(I,N){var F=I.getData().mapDimension(S,!0),k,B;if(I.getAxisTooltipData){var P=I.getAxisTooltipData(F,b,A);B=P.dataIndices,k=P.nestestValue}else{if(B=I.getData().indicesOfNearest(F[0],b,A.type==="category"?.5:null),!B.length)return;k=I.getData().get(F[0],B[0])}if(k==null||!isFinite(k))return;var K=b-k,R=Math.abs(K);R<=x&&((R<x||K>=0&&C<0)&&(x=R,C=K,T=k,L.length=0),h(B,function(U){L.push({seriesIndex:I.seriesIndex,dataIndexInside:U,dataIndex:I.getData().getRawIndex(U)})}))}),{payloadBatch:L,snapToValue:T}}function d(b,E,A,S){b[E.key]={value:A,payloadBatch:S}}function n(b,E,A,S){var T=A.payloadBatch,L=E.axis,x=L.model,C=E.axisPointerModel;if(!E.triggerTooltip||!T.length)return;var I=E.coordSys.model,N=m.makeKey(I),F=b.map[N];F||(F=b.map[N]={coordSysId:I.id,coordSysIndex:I.componentIndex,coordSysType:I.type,coordSysMainType:I.mainType,dataByAxis:[]},b.list.push(F)),F.dataByAxis.push({axisDim:L.dim,axisIndex:x.componentIndex,axisType:x.type,axisId:x.id,value:S,valueLabelOpt:{precision:C.get("label.precision"),formatter:C.get("label.formatter")},seriesDataIndices:T.slice()})}function l(b,E,A){var S=A.axesInfo=[];h(E,function(T,L){var x=T.axisPointerModel.option,C=b[L];C?(!T.useHandle&&(x.status="show"),x.value=C.value,x.seriesDataIndices=(C.payloadBatch||[]).slice()):!T.useHandle&&(x.status="hide"),x.status==="show"&&S.push({axisDim:T.axis.dim,axisIndex:T.axis.model.componentIndex,value:x.value})})}function t(b,E,A,S){if(w(E)||!b.list.length){S({type:"hideTip"});return}var T=((b.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};S({type:"showTip",escapeConnect:!0,x:E[0],y:E[1],tooltipOption:A.tooltipOption,position:A.position,dataIndexInside:T.dataIndexInside,dataIndex:T.dataIndex,seriesIndex:T.seriesIndex,dataByCoordSys:b.list})}function s(b,E,A){var S=A.getZr(),T="axisPointerLastHighlights",L=a(S)[T]||{},x=a(S)[T]={};h(b,function(N,F){var k=N.axisPointerModel.option;k.status==="show"&&h(k.seriesDataIndices,function(B){var P=B.seriesIndex+" | "+B.dataIndex;x[P]=B})});var C=[],I=[];g.each(L,function(N,F){!x[F]&&I.push(N)}),g.each(x,function(N,F){!L[F]&&C.push(N)}),I.length&&A.dispatchAction({type:"downplay",escapeConnect:!0,batch:I}),C.length&&A.dispatchAction({type:"highlight",escapeConnect:!0,batch:C})}function u(b,E){for(var A=0;A<(b||[]).length;A++){var S=b[A];if(E.axis.dim===S.axisDim&&E.axis.model.componentIndex===S.axisIndex)return S}}function p(b){var E=b.axis.model,A={},S=A.axisDim=b.axis.dim;return A.axisIndex=A[S+"AxisIndex"]=E.componentIndex,A.axisName=A[S+"AxisName"]=E.name,A.axisId=A[S+"AxisId"]=E.id,A}function w(b){return!b||b[0]==null||isNaN(b[0])||b[1]==null||isNaN(b[1])}D.exports=i},"6BzB":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.shrinkBuf=g,_.arraySet=f,_.flattenChunks=y,_.Buf32=_.Buf16=_.Buf8=void 0;function g(c,a){return c.length===a?c:c.subarray?c.subarray(0,a):(c.length=a,c)}function f(c,a,i,r,o){if(a.subarray&&c.subarray){c.set(a.subarray(i,i+r),o);return}for(var d=0;d<r;d++)c[o+d]=a[i+d]}function y(c){var a,i,r,o,d,n;for(r=0,a=0,i=c.length;a<i;a++)r+=c[a].length;for(n=new Uint8Array(r),o=0,a=0,i=c.length;a<i;a++)d=c[a],n.set(d,o),o+=d.length;return n}var m=Uint8Array;_.Buf8=m;var v=Uint16Array;_.Buf16=v;var h=Int32Array;_.Buf32=h},"6D9b":function(D,_,e){},"6GrX":function(D,_,e){var g=e("mFDi"),f=e("Xnb7"),y=e("bYtY"),m=y.getContext,v=y.extend,h=y.retrieve2,c=y.retrieve3,a=y.trim,i={},r=0,o=5e3,d=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,n="12px sans-serif",l={};function t(K,R){l[K]=R}function s(K,R){R=R||n;var U=K+":"+R;if(i[U])return i[U];for(var j=(K+"").split(`
`),H=0,W=0,X=j.length;W<X;W++)H=Math.max(N(j[W],R).width,H);return r>o&&(r=0,i={}),r++,i[U]=H,H}function u(K,R,U,j,H,W,X,z){return X?w(K,R,U,j,H,W,X,z):p(K,R,U,j,H,W,z)}function p(K,R,U,j,H,W,X){var z=F(K,R,H,W,X),G=s(K,R);H&&(G+=H[1]+H[3]);var Z=z.outerHeight,ge=b(0,G,U),Q=E(0,Z,j),we=new g(ge,Q,G,Z);return we.lineHeight=z.lineHeight,we}function w(K,R,U,j,H,W,X,z){var G=k(K,{rich:X,truncate:z,font:R,textAlign:U,textPadding:H,textLineHeight:W}),Z=G.outerWidth,ge=G.outerHeight,Q=b(0,Z,U),we=E(0,ge,j);return new g(Q,we,Z,ge)}function b(K,R,U){return U==="right"?K-=R:U==="center"&&(K-=R/2),K}function E(K,R,U){return U==="middle"?K-=R/2:U==="bottom"&&(K-=R),K}function A(K,R,U){var j=R.textPosition,H=R.textDistance,W=U.x,X=U.y;H=H||0;var z=U.height,G=U.width,Z=z/2,ge="left",Q="top";switch(j){case"left":W-=H,X+=Z,ge="right",Q="middle";break;case"right":W+=H+G,X+=Z,Q="middle";break;case"top":W+=G/2,X-=H,ge="center",Q="bottom";break;case"bottom":W+=G/2,X+=z+H,ge="center";break;case"inside":W+=G/2,X+=Z,ge="center",Q="middle";break;case"insideLeft":W+=H,X+=Z,Q="middle";break;case"insideRight":W+=G-H,X+=Z,ge="right",Q="middle";break;case"insideTop":W+=G/2,X+=H,ge="center";break;case"insideBottom":W+=G/2,X+=z-H,ge="center",Q="bottom";break;case"insideTopLeft":W+=H,X+=H;break;case"insideTopRight":W+=G-H,X+=H,ge="right";break;case"insideBottomLeft":W+=H,X+=z-H,Q="bottom";break;case"insideBottomRight":W+=G-H,X+=z-H,ge="right",Q="bottom";break}return K=K||{},K.x=W,K.y=X,K.textAlign=ge,K.textVerticalAlign=Q,K}function S(K,R,U){var j={textPosition:K,textDistance:U};return A({},j,R)}function T(K,R,U,j,H){if(!R)return"";var W=(K+"").split(`
`);H=L(R,U,j,H);for(var X=0,z=W.length;X<z;X++)W[X]=x(W[X],H);return W.join(`
`)}function L(K,R,U,j){j=v({},j),j.font=R;var U=h(U,"...");j.maxIterations=h(j.maxIterations,2);var H=j.minChar=h(j.minChar,0);j.cnCharWidth=s("\u56FD",R);var W=j.ascCharWidth=s("a",R);j.placeholder=h(j.placeholder,"");for(var X=K=Math.max(0,K-1),z=0;z<H&&X>=W;z++)X-=W;var G=s(U,R);return G>X&&(U="",G=0),X=K-G,j.ellipsis=U,j.ellipsisWidth=G,j.contentWidth=X,j.containerWidth=K,j}function x(K,R){var U=R.containerWidth,j=R.font,H=R.contentWidth;if(!U)return"";var W=s(K,j);if(W<=U)return K;for(var X=0;;X++){if(W<=H||X>=R.maxIterations){K+=R.ellipsis;break}var z=X===0?C(K,H,R.ascCharWidth,R.cnCharWidth):W>0?Math.floor(K.length*H/W):0;K=K.substr(0,z),W=s(K,j)}return K===""&&(K=R.placeholder),K}function C(K,R,U,j){for(var H=0,W=0,X=K.length;W<X&&H<R;W++){var z=K.charCodeAt(W);H+=0<=z&&z<=127?U:j}return W}function I(K){return s("\u56FD",K)}function N(K,R){return l.measureText(K,R)}l.measureText=function(K,R){var U=m();return U.font=R||n,U.measureText(K)};function F(K,R,U,j,H){K!=null&&(K+="");var W=h(j,I(R)),X=K?K.split(`
`):[],z=X.length*W,G=z,Z=!0;if(U&&(G+=U[0]+U[2]),K&&H){Z=!1;var ge=H.outerHeight,Q=H.outerWidth;if(ge!=null&&G>ge)K="",X=[];else if(Q!=null)for(var we=L(Q-(U?U[1]+U[3]:0),R,H.ellipsis,{minChar:H.minChar,placeholder:H.placeholder}),Ee=0,Ae=X.length;Ee<Ae;Ee++)X[Ee]=x(X[Ee],we)}return{lines:X,height:z,outerHeight:G,lineHeight:W,canCacheByTextString:Z}}function k(K,R){var U={lines:[],width:0,height:0};if(K!=null&&(K+=""),!K)return U;for(var j=d.lastIndex=0,H;(H=d.exec(K))!=null;){var W=H.index;W>j&&B(U,K.substring(j,W)),B(U,H[2],H[1]),j=d.lastIndex}j<K.length&&B(U,K.substring(j,K.length));var X=U.lines,z=0,G=0,Z=[],ge=R.textPadding,Q=R.truncate,we=Q&&Q.outerWidth,Ee=Q&&Q.outerHeight;ge&&(we!=null&&(we-=ge[1]+ge[3]),Ee!=null&&(Ee-=ge[0]+ge[2]));for(var Ae=0;Ae<X.length;Ae++){for(var Pe=X[Ae],Ge=0,gt=0,_e=0;_e<Pe.tokens.length;_e++){var Ce=Pe.tokens[_e],lt=Ce.styleName&&R.rich[Ce.styleName]||{},ce=Ce.textPadding=lt.textPadding,Y=Ce.font=lt.font||R.font,V=Ce.textHeight=h(lt.textHeight,I(Y));if(ce&&(V+=ce[0]+ce[2]),Ce.height=V,Ce.lineHeight=c(lt.textLineHeight,R.textLineHeight,V),Ce.textAlign=lt&&lt.textAlign||R.textAlign,Ce.textVerticalAlign=lt&&lt.textVerticalAlign||"middle",Ee!=null&&z+Ce.lineHeight>Ee)return{lines:[],width:0,height:0};Ce.textWidth=s(Ce.text,Y);var $=lt.textWidth,Te=$==null||$==="auto";if(typeof $=="string"&&$.charAt($.length-1)==="%")Ce.percentWidth=$,Z.push(Ce),$=0;else{if(Te){$=Ce.textWidth;var ye=lt.textBackgroundColor,Fe=ye&&ye.image;Fe&&(Fe=f.findExistImage(Fe),f.isImageReady(Fe)&&($=Math.max($,Fe.width*V/Fe.height)))}var Oe=ce?ce[1]+ce[3]:0;$+=Oe;var se=we!=null?we-gt:null;se!=null&&se<$&&(!Te||se<Oe?(Ce.text="",Ce.textWidth=$=0):(Ce.text=T(Ce.text,se-Oe,Y,Q.ellipsis,{minChar:Q.minChar}),Ce.textWidth=s(Ce.text,Y),$=Ce.textWidth+Oe))}gt+=Ce.width=$,lt&&(Ge=Math.max(Ge,Ce.lineHeight))}Pe.width=gt,Pe.lineHeight=Ge,z+=Ge,G=Math.max(G,gt)}U.outerWidth=U.width=h(R.textWidth,G),U.outerHeight=U.height=h(R.textHeight,z),ge&&(U.outerWidth+=ge[1]+ge[3],U.outerHeight+=ge[0]+ge[2]);for(var Ae=0;Ae<Z.length;Ae++){var Ce=Z[Ae],fe=Ce.percentWidth;Ce.width=parseInt(fe,10)/100*G}return U}function B(K,R,U){for(var j=R==="",H=R.split(`
`),W=K.lines,X=0;X<H.length;X++){var z=H[X],G={styleName:U,text:z,isLineHolder:!z&&!j};if(X)W.push({tokens:[G]});else{var Z=(W[W.length-1]||(W[0]={tokens:[]})).tokens,ge=Z.length;ge===1&&Z[0].isLineHolder?Z[0]=G:(z||!ge||j)&&Z.push(G)}}}function P(K){var R=(K.fontSize||K.fontFamily)&&[K.fontStyle,K.fontWeight,(K.fontSize||12)+"px",K.fontFamily||"sans-serif"].join(" ");return R&&a(R)||K.textFont||K.font}_.DEFAULT_FONT=n,_.$override=t,_.getWidth=s,_.getBoundingRect=u,_.adjustTextX=b,_.adjustTextY=E,_.calculateTextPosition=A,_.adjustTextPositionOnRect=S,_.truncateText=T,_.getLineHeight=I,_.measureText=N,_.parsePlainText=F,_.parseRichText=k,_.makeFont=P},"6Hfg":function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("FhB9")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="SwapRightOutlined";var c=y.forwardRef(h);_.default=c},"6Ic6":function(D,_,e){var g=e("bYtY"),f=g.each,y=e("4fz+"),m=e("iRjW"),v=e("Yl7c"),h=e("4NO4"),c=e("IwbS"),a=e("9H2F"),i=a.createTask,r=e("zM3Q"),o=h.makeInner(),d=r();function n(){this.group=new y,this.uid=m.getUID("viewChart"),this.renderTask=i({plan:u,reset:p}),this.renderTask.context={view:this}}n.prototype={type:"chart",init:function(E,A){},render:function(E,A,S,T){},highlight:function(E,A,S,T){s(E.getData(),T,"emphasis")},downplay:function(E,A,S,T){s(E.getData(),T,"normal")},remove:function(E,A){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var l=n.prototype;l.updateView=l.updateLayout=l.updateVisual=function(E,A,S,T){this.render(E,A,S,T)};function t(E,A,S){if(E&&(E.trigger(A,S),E.isGroup&&!c.isHighDownDispatcher(E)))for(var T=0,L=E.childCount();T<L;T++)t(E.childAt(T),A,S)}function s(E,A,S){var T=h.queryDataIndex(E,A),L=A&&A.highlightKey!=null?c.getHighlightDigit(A.highlightKey):null;T!=null?f(h.normalizeToArray(T),function(x){t(E.getItemGraphicEl(x),S,L)}):E.eachItemGraphicEl(function(x){t(x,S,L)})}v.enableClassExtend(n,["dispose"]),v.enableClassManagement(n,{registerWhenExtend:!0}),n.markUpdateMethod=function(E,A){o(E).updateMethod=A};function u(E){return d(E.model)}function p(E){var A=E.model,S=E.ecModel,T=E.api,L=E.payload,x=A.pipelineContext.progressiveRender,C=E.view,I=L&&o(L).updateMethod,N=x?"incrementalPrepareRender":I&&C[I]?I:"render";return N!=="render"&&C[N](A,S,T,L),w[N]}var w={incrementalPrepareRender:{progress:function(E,A){A.view.incrementalRender(E,A.model,A.ecModel,A.api,A.payload)}},render:{forceFirstProgress:!0,progress:function(E,A){A.view.render(A.model,A.ecModel,A.api,A.payload)}}},b=n;D.exports=b},"6MrE":function(D,_,e){},"6Qwc":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.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"};_.default=g},"6SEX":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("qWUW"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},"6UJt":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("v56E"),m=e.n(y),v=e("R9oj"),h=e("5NDa")},"6VBw":function(D,_,e){"use strict";var g=e("ODXe"),f=e("rePB"),y=e("Ff2n"),m=e("q1tI"),v=e("TSYQ"),h=e.n(v),c=e("VTBJ"),a=e("Qi1f"),i={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function r(p){var w=p.primaryColor,b=p.secondaryColor;i.primaryColor=w,i.secondaryColor=b||Object(a.b)(w),i.calculated=!!b}function o(){return Object(c.a)({},i)}var d=function(w){var b=w.icon,E=w.className,A=w.onClick,S=w.style,T=w.primaryColor,L=w.secondaryColor,x=Object(y.a)(w,["icon","className","onClick","style","primaryColor","secondaryColor"]),C=i;if(T&&(C={primaryColor:T,secondaryColor:L||Object(a.b)(T)}),Object(a.f)(),Object(a.g)(Object(a.c)(b),"icon should be icon definiton, but got ".concat(b)),!Object(a.c)(b))return null;var I=b;return I&&typeof I.icon=="function"&&(I=Object(c.a)(Object(c.a)({},I),{},{icon:I.icon(C.primaryColor,C.secondaryColor)})),Object(a.a)(I.icon,"svg-".concat(I.name),Object(c.a)({className:E,onClick:A,style:S,"data-icon":I.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},x))};d.displayName="IconReact",d.getTwoToneColors=o,d.setTwoToneColors=r;var n=d;function l(p){var w=Object(a.d)(p),b=Object(g.a)(w,2),E=b[0],A=b[1];return n.setTwoToneColors({primaryColor:E,secondaryColor:A})}function t(){var p=n.getTwoToneColors();return p.calculated?[p.primaryColor,p.secondaryColor]:p.primaryColor}l("#1890ff");var s=m.forwardRef(function(p,w){var b=p.className,E=p.icon,A=p.spin,S=p.rotate,T=p.tabIndex,L=p.onClick,x=p.twoToneColor,C=Object(y.a)(p,["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"]),I=h()("anticon",Object(f.a)({},"anticon-".concat(E.name),Boolean(E.name)),b),N=h()({"anticon-spin":!!A||E.name==="loading"}),F=T;F===void 0&&L&&(F=-1);var k=S?{msTransform:"rotate(".concat(S,"deg)"),transform:"rotate(".concat(S,"deg)")}:void 0,B=Object(a.d)(x),P=Object(g.a)(B,2),K=P[0],R=P[1];return m.createElement("span",Object.assign({role:"img","aria-label":E.name},C,{ref:w,tabIndex:F,onClick:L,className:I}),m.createElement(n,{className:N,icon:E,primaryColor:K,secondaryColor:R,style:k}))});s.displayName="AntdIcon",s.getTwoToneColor=t,s.setTwoToneColor=l;var u=_.a=s},"6cGi":function(D,_,e){"use strict";e.d(_,"a",function(){return i});var g=e("q1tI"),f=e.n(g);function y(r,o){return a(r)||c(r,o)||v(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 v(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 c(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](),u;!(n=(u=s.next()).done)&&!(d.push(u.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 a(r){if(Array.isArray(r))return r}function i(r,o){var d=o||{},n=d.defaultValue,l=d.value,t=d.onChange,s=d.postState,u=g.useState(function(){return l!==void 0?l:n!==void 0?typeof n=="function"?n():n:typeof r=="function"?r():r}),p=y(u,2),w=p[0],b=p[1],E=l!==void 0?l:w;s&&(E=s(E));function A(T){b(T),E!==T&&t&&t(T,E)}var S=g.useRef(!0);return g.useEffect(function(){if(S.current){S.current=!1;return}l===void 0&&b(l)},[l]),[E,A]}},"6fms":function(D,_,e){var g=e("SUKs"),f=e("06Qe"),y=e("bYtY"),m=y.each;function v(i){return parseInt(i,10)}function h(i,r){f.initVML(),this.root=i,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;",i.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||v(o.width))-v(o.paddingLeft)-v(o.paddingRight)|0},_getHeight:function(){var r=this.root,o=r.currentStyle;return(r.clientHeight||v(o.height))-v(o.paddingTop)-v(o.paddingBottom)|0}};function c(i){return function(){g('In IE8.0 VML mode painter not support method "'+i+'"')}}m(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(i){h.prototype[i]=c(i)});var a=h;D.exports=a},"6r85":function(D,_,e){var g=e("bYtY");function f(y){if(!y||!g.isArray(y.series))return;g.each(y.series,function(m){g.isObject(m)&&m.type==="k"&&(m.type="candlestick")})}D.exports=f},"6sVZ":function(D,_){var e=Object.prototype;function g(f){var y=f&&f.constructor,m=typeof y=="function"&&y.prototype||e;return f===m}D.exports=g},"6uqw":function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("ItGF"),m=e("YOMW"),v=e("XxSj"),h=e("K4ya"),c=e("4NO4"),a=e("OELB"),i=v.mapVisual,r=v.eachVisual,o=f.isArray,d=f.each,n=a.asc,l=a.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,w,b){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(p,b)},optionUpdated:function(p,w){var b=this.option;y.canvasSupported||(b.realtime=!1),!w&&h.replaceVisualOption(b,p,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(p){var w=this.stateList;p=f.bind(p,this),this.controllerVisuals=h.createVisualMappings(this.option.controller,w,p),this.targetVisuals=h.createVisualMappings(this.option.target,w,p)},getTargetSeriesIndices:function(){var p=this.option.seriesIndex,w=[];return p==null||p==="all"?this.ecModel.eachSeries(function(b,E){w.push(E)}):w=c.normalizeToArray(p),w},eachTargetSeries:function(p,w){f.each(this.getTargetSeriesIndices(),function(b){p.call(w,this.ecModel.getSeriesByIndex(b))},this)},isTargetSeries:function(p){var w=!1;return this.eachTargetSeries(function(b){b===p&&(w=!0)}),w},formatValueText:function(p,w,b){var E=this.option,A=E.precision,S=this.dataBound,T=E.formatter,L,x;if(b=b||["<",">"],f.isArray(p)&&(p=p.slice(),L=!0),x=w?p:L?[C(p[0]),C(p[1])]:C(p),f.isString(T))return T.replace("{value}",L?x[0]:x).replace("{value2}",L?x[1]:x);if(f.isFunction(T))return L?T(p[0],p[1]):T(p);if(L)return p[0]===S[0]?b[0]+" "+x[1]:p[1]===S[1]?b[1]+" "+x[0]:x[0]+" - "+x[1];return x;function C(I){return I===S[0]?"min":I===S[1]?"max":(+I).toFixed(Math.min(A,20))}},resetExtent:function(){var p=this.option,w=n([p.min,p.max]);this._dataExtent=w},getDataDimension:function(p){var w=this.option.dimension,b=p.dimensions;if(w==null&&!b.length)return;if(w!=null)return p.getDimension(w);for(var E=p.dimensions,A=E.length-1;A>=0;A--){var S=E[A],T=p.getDimensionInfo(S);if(!T.isCalculationCoord)return S}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var p=this.ecModel,w=this.option,b={inRange:w.inRange,outOfRange:w.outOfRange},E=w.target||(w.target={}),A=w.controller||(w.controller={});f.merge(E,b),f.merge(A,b);var S=this.isCategory();T.call(this,E),T.call(this,A),L.call(this,E,"inRange","outOfRange"),x.call(this,A);function T(C){o(w.color)&&!C.inRange&&(C.inRange={color:w.color.slice().reverse()}),C.inRange=C.inRange||{color:p.get("gradientColor")},d(this.stateList,function(I){var N=C[I];if(f.isString(N)){var F=m.get(N,"active",S);F?(C[I]={},C[I][N]=F):delete C[I]}},this)}function L(C,I,N){var F=C[I],k=C[N];F&&!k&&(k=C[N]={},d(F,function(B,P){if(!v.isValidType(P))return;var K=m.get(P,"inactive",S);K!=null&&(k[P]=K,P==="color"&&!k.hasOwnProperty("opacity")&&!k.hasOwnProperty("colorAlpha")&&(k.opacity=[0,0]))}))}function x(C){var I=(C.inRange||{}).symbol||(C.outOfRange||{}).symbol,N=(C.inRange||{}).symbolSize||(C.outOfRange||{}).symbolSize,F=this.get("inactiveColor");d(this.stateList,function(k){var B=this.itemSize,P=C[k];P||(P=C[k]={color:S?F:[F]}),P.symbol==null&&(P.symbol=I&&f.clone(I)||(S?"roundRect":["roundRect"])),P.symbolSize==null&&(P.symbolSize=N&&f.clone(N)||(S?B[0]:[B[0],B[0]])),P.symbol=i(P.symbol,function(U){return U==="none"||U==="square"?"roundRect":U});var K=P.symbolSize;if(K!=null){var R=-Infinity;r(K,function(U){U>R&&(R=U)}),P.symbolSize=i(K,function(U){return l(U,[0,R],[0,B[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}),u=s;D.exports=u},"6usn":function(D,_,e){var g=e("bYtY");function f(m,v){return g.map(["Radius","Angle"],function(h,c){var a=this["get"+h+"Axis"](),i=v[c],r=m[c]/2,o="dataTo"+h,d=a.type==="category"?a.getBandWidth():Math.abs(a[o](i-r)-a[o](i+r));return h==="Angle"&&(d=d*Math.PI/180),d},this)}function y(m){var v=m.getRadiusAxis(),h=m.getAngleAxis(),c=v.getExtent();return c[0]>c[1]&&c.reverse(),{coordSys:{type:"polar",cx:m.cx,cy:m.cy,r:c[1],r0:c[0]},api:{coord:g.bind(function(a){var i=v.dataToRadius(a[0]),r=h.dataToAngle(a[1]),o=m.coordToPoint([i,r]);return o.push(i,r*Math.PI/180),o}),size:g.bind(f,m)}}}D.exports=y},"6xvX":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("V7ic"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},"711d":function(D,_){function e(g){return function(f){return f==null?void 0:f[g]}}D.exports=e},"72pK":function(D,_){function e(y,m,v,h,c,a){y=y||0;var i=v[1]-v[0];if(c!=null&&(c=f(c,[0,i])),a!=null&&(a=Math.max(a,c!=null?c:0)),h==="all"){var r=Math.abs(m[1]-m[0]);r=f(r,[0,i]),c=a=f(r,[c,a]),h=0}m[0]=f(m[0],v),m[1]=f(m[1],v);var o=g(m,h);m[h]+=y;var d=c||0,n=v.slice();o.sign<0?n[0]+=d:n[1]-=d,m[h]=f(m[h],n);var l=g(m,h);c!=null&&(l.sign!==o.sign||l.span<c)&&(m[1-h]=m[h]+o.sign*c);var l=g(m,h);return a!=null&&l.span>a&&(m[1-h]=m[h]+l.sign*a),m}function g(y,m){var v=y[m]-y[1-m];return{span:Math.abs(v),sign:v>0?-1:v<0?1:m?-1:1}}function f(y,m){return Math.min(m[1]!=null?m[1]:Infinity,Math.max(m[0]!=null?m[0]:-Infinity,y))}D.exports=e},"75ce":function(D,_,e){var g=e("ProS");e("IXuL"),e("8X+K");var f=e("f5Yq"),y=e("h8O9"),m=e("/d5a");e("Ae16"),g.registerVisual(f("line","circle","line")),g.registerLayout(y("line")),g.registerProcessor(g.PRIORITY.PROCESSOR.STATISTIC,m("line"))},"75ev":function(D,_,e){var g=e("ProS");e("IWNH"),e("bNin"),e("v5uJ");var f=e("f5Yq"),y=e("yik8");g.registerVisual(f("tree","circle")),g.registerLayout(y)},"77Zs":function(D,_,e){var g=e("Xi7e");function f(){this.__data__=new g,this.size=0}D.exports=f},"7AJT":function(D,_,e){var g=e("bYtY"),f=e("hM6l"),y=function(v,h,c,a,i){f.call(this,v,h,c),this.type=a||"value",this.position=i||"bottom"};y.prototype={constructor:y,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var v=this.position;return v==="top"||v==="bottom"},getGlobalExtent:function(v){var h=this.getExtent();return h[0]=this.toGlobalCoord(h[0]),h[1]=this.toGlobalCoord(h[1]),v&&h[0]>h[1]&&h.reverse(),h},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(v,h){return this.coordToData(this.toLocalCoord(v[this.dim==="x"?0:1]),h)},toLocalCoord:null,toGlobalCoord:null},g.inherits(y,f);var m=y;D.exports=m},"7Cbv":function(D,_,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 y(){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 v(n){return typeof n=="string"&&m.test(n)}for(var h=v,c=[],a=0;a<256;++a)c.push((a+256).toString(16).substr(1));function i(n){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=(c[n[l+0]]+c[n[l+1]]+c[n[l+2]]+c[n[l+3]]+"-"+c[n[l+4]]+c[n[l+5]]+"-"+c[n[l+6]]+c[n[l+7]]+"-"+c[n[l+8]]+c[n[l+9]]+"-"+c[n[l+10]]+c[n[l+11]]+c[n[l+12]]+c[n[l+13]]+c[n[l+14]]+c[n[l+15]]).toLowerCase();if(!h(t))throw TypeError("Stringified UUID is invalid");return t}var r=i;function o(n,l,t){n=n||{};var s=n.random||(n.rng||y)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,l){t=t||0;for(var u=0;u<16;++u)l[t+u]=s[u];return l}return r(s)}var d=_.a=o},"7DRL":function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=y.createHashMap,v=y.isString,h=y.isArray,c=y.each,a=y.assert,i=e("MEGo"),r=i.parseXML,o=m(),d={registerMap:function(l,t,s){var u;return h(t)?u=t:t.svg?u=[{type:"svg",source:t.svg,specialAreas:t.specialAreas}]:(t.geoJson&&!t.features&&(s=t.specialAreas,t=t.geoJson),u=[{type:"geoJSON",source:t,specialAreas:s}]),c(u,function(p){var w=p.type;w==="geoJson"&&(w=p.type="geoJSON");var b=n[w];b(p)}),o.set(l,u)},retrieveMap:function(l){return o.get(l)}},n={geoJSON:function(l){var t=l.source;l.geoJSON=v(t)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t},svg:function(l){l.svgXML=r(l.source)}};D.exports=d},"7G+c":function(D,_,e){var g=e("bYtY"),f=g.createHashMap,y=g.isTypedArray,m=e("Yl7c"),v=m.enableClassCheck,h=e("k9D9"),c=h.SOURCE_FORMAT_ORIGINAL,a=h.SERIES_LAYOUT_BY_COLUMN,i=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||i,this.seriesLayoutBy=l.seriesLayoutBy||a,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:y(l)?r:c,fromDataset:!1})},v(d);var n=d;D.exports=n},"7GkX":function(D,_,e){var g=e("b80T"),f=e("A90E"),y=e("MMmD");function m(v){return y(v)?g(v):f(v)}D.exports=m},"7Kak":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("KPFz"),m=e.n(y)},"7Phj":function(D,_,e){var g=e("bYtY"),f=e("OELB"),y=f.parsePercent,m=g.each;function v(i){var r=h(i);m(r,function(o){var d=o.seriesModels;if(!d.length)return;c(o),m(d,function(n,l){a(n,o.boxOffsetList[l],o.boxWidthList[l])})})}function h(i){var r=[],o=[];return i.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 c(i){var r,o=i.axis,d=i.seriesModels,n=d.length,l=i.boxWidthList=[],t=i.boxOffsetList=[],s=[],u;if(o.type==="category")u=o.getBandWidth();else{var p=0;m(d,function(S){p=Math.max(p,S.getData().count())}),r=o.getExtent(),Math.abs(r[1]-r[0])/p}m(d,function(S){var T=S.get("boxWidth");g.isArray(T)||(T=[T,T]),s.push([y(T[0],u)||0,y(T[1],u)||0])});var w=u*.8-2,b=w/n*.3,E=(w-b*(n-1))/n,A=E/2-w/2;m(d,function(S,T){t.push(A),A+=b+E,l.push(Math.min(Math.max(E,s[T][0]),s[T][1]))})}function a(i,r,o){var d=i.coordinateSystem,n=i.getData(),l=o/2,t=i.get("layout")==="horizontal"?0:1,s=1-t,u=["x","y"],p=n.mapDimension(u[t]),w=n.mapDimension(u[s],!0);if(p==null||w.length<5)return;for(var b=0;b<n.count();b++){var E=n.get(p,b),A=I(E,w[2],b),S=I(E,w[0],b),T=I(E,w[1],b),L=I(E,w[3],b),x=I(E,w[4],b),C=[];N(C,T,0),N(C,L,1),C.push(S,T,x,L),F(C,S),F(C,x),F(C,A),n.setItemLayout(b,{initBaseline:A[s],ends:C})}function I(k,B,P){var K=n.get(B,P),R=[];R[t]=k,R[s]=K;var U;return isNaN(k)||isNaN(K)?U=[NaN,NaN]:(U=d.dataToPoint(R),U[t]+=r),U}function N(k,B,P){var K=B.slice(),R=B.slice();K[t]+=l,R[t]-=l,P?k.push(K,R):k.push(R,K)}function F(k,B){var P=B.slice(),K=B.slice();P[t]-=l,K[t]+=l,k.push(P,K)}}D.exports=v},"7SHv":function(D,_,e){var g=e("LPTA"),f=g.devicePixelRatio,y=e("bYtY"),m=e("SUKs"),v=e("mFDi"),h=e("BPZU"),c=e("Xmg4"),a=e("mLcG"),i=e("Dagg"),r=e("ItGF"),o=1e5,d=314159,n=.01,l=.001;function t(L){return parseInt(L,10)}function s(L){return L?L.__builtin__?!0:!(typeof L.resize!="function"||typeof L.refresh!="function"):!1}var u=new v(0,0,0,0),p=new v(0,0,0,0);function w(L,x,C){return u.copy(L.getBoundingRect()),L.transform&&u.applyTransform(L.transform),p.width=x,p.height=C,!u.intersect(p)}function b(L,x){if(L===x)return!1;if(!L||!x||L.length!==x.length)return!0;for(var C=0;C<L.length;C++)if(L[C]!==x[C])return!0;return!1}function E(L,x){for(var C=0;C<L.length;C++){var I=L[C];I.setTransform(x),x.beginPath(),I.buildPath(x,I.shape),x.clip(),I.restoreTransform(x)}}function A(L,x){var C=document.createElement("div");return C.style.cssText=["position:relative","width:"+L+"px","height:"+x+"px","padding:0","margin:0","border-width:0"].join(";")+";",C}var S=function(x,C,I){this.type="canvas";var N=!x.nodeName||x.nodeName.toUpperCase()==="CANVAS";this._opts=I=y.extend({},I||{}),this.dpr=I.devicePixelRatio||f,this._singleCanvas=N,this.root=x;var F=x.style;F&&(F["-webkit-tap-highlight-color"]="transparent",F["-webkit-user-select"]=F["user-select"]=F["-webkit-touch-callout"]="none",x.innerHTML=""),this.storage=C;var k=this._zlevelList=[],B=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,N){var K=x.width,R=x.height;I.width!=null&&(K=I.width),I.height!=null&&(R=I.height),this.dpr=I.devicePixelRatio||1,x.width=K*this.dpr,x.height=R*this.dpr,this._width=K,this._height=R;var U=new c(x,this,this.dpr);U.__builtin__=!0,U.initContext(),B[d]=U,U.zlevel=d,k.push(d),this._domRoot=x}else{this._width=this._getSize(0),this._height=this._getSize(1);var P=this._domRoot=A(this._width,this._height);x.appendChild(P)}this._hoverlayer=null,this._hoverElements=[]};S.prototype={constructor:S,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var x=this.getViewportRoot();if(x)return{offsetLeft:x.offsetLeft||0,offsetTop:x.offsetTop||0}},refresh:function(x){var C=this.storage.getDisplayList(!0),I=this._zlevelList;this._redrawId=Math.random(),this._paintList(C,x,this._redrawId);for(var N=0;N<I.length;N++){var F=I[N],k=this._layers[F];if(!k.__builtin__&&k.refresh){var B=N===0?this._backgroundColor:null;k.refresh(B)}}return this.refreshHover(),this},addHover:function(x,C){if(x.__hoverMir)return;var I=new x.constructor({style:x.style,shape:x.shape,z:x.z,z2:x.z2,silent:x.silent});return I.__from=x,x.__hoverMir=I,C&&I.setStyle(C),this._hoverElements.push(I),I},removeHover:function(x){var C=x.__hoverMir,I=this._hoverElements,N=y.indexOf(I,C);N>=0&&I.splice(N,1),x.__hoverMir=null},clearHover:function(x){for(var C=this._hoverElements,I=0;I<C.length;I++){var N=C[I].__from;N&&(N.__hoverMir=null)}C.length=0},refreshHover:function(){var x=this._hoverElements,C=x.length,I=this._hoverlayer;if(I&&I.clear(),!C)return;h(x,this.storage.displayableSortFunc),I||(I=this._hoverlayer=this.getLayer(o));var N={};I.ctx.save();for(var F=0;F<C;){var k=x[F],B=k.__from;if(!(B&&B.__zr)){x.splice(F,1),B.__hoverMir=null,C--;continue}F++,B.invisible||(k.transform=B.transform,k.invTransform=B.invTransform,k.__clipPaths=B.__clipPaths,this._doPaintEl(k,I,!0,N))}I.ctx.restore()},getHoverLayer:function(){return this.getLayer(o)},_paintList:function(x,C,I){if(this._redrawId!==I)return;C=C||!1,this._updateLayerStatus(x);var N=this._doPaintList(x,C);if(this._needsManuallyCompositing&&this._compositeManually(),!N){var F=this;a(function(){F._paintList(x,C,I)})}},_compositeManually:function(){var x=this.getLayer(d).ctx,C=this._domRoot.width,I=this._domRoot.height;x.clearRect(0,0,C,I),this.eachBuiltinLayer(function(N){N.virtual&&x.drawImage(N.dom,0,0,C,I)})},_doPaintList:function(x,C){for(var I=[],N=0;N<this._zlevelList.length;N++){var F=this._zlevelList[N],k=this._layers[F];k.__builtin__&&k!==this._hoverlayer&&(k.__dirty||C)&&I.push(k)}for(var B=!0,P=0;P<I.length;P++){var k=I[P],K=k.ctx,R={};K.save();var U=C?k.__startIndex:k.__drawIndex,j=!C&&k.incremental&&Date.now,H=j&&Date.now(),W=k.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(k.__startIndex===k.__endIndex)k.clear(!1,W);else if(U===k.__startIndex){var X=x[U];(!X.incremental||!X.notClear||C)&&k.clear(!1,W)}U===-1&&(console.error("For some unknown reason. drawIndex is -1"),U=k.__startIndex);for(var z=U;z<k.__endIndex;z++){var G=x[z];if(this._doPaintEl(G,k,C,R),G.__dirty=G.__dirtyText=!1,j){var Z=Date.now()-H;if(Z>15)break}}k.__drawIndex=z,k.__drawIndex<k.__endIndex&&(B=!1),R.prevElClipPaths&&K.restore(),K.restore()}return r.wxa&&y.each(this._layers,function(ge){ge&&ge.ctx&&ge.ctx.draw&&ge.ctx.draw()}),B},_doPaintEl:function(x,C,I,N){var F=C.ctx,k=x.transform;if((C.__dirty||I)&&!x.invisible&&x.style.opacity!==0&&!(k&&!k[0]&&!k[3])&&!(x.culling&&w(x,this._width,this._height))){var B=x.__clipPaths,P=N.prevElClipPaths;(!P||b(B,P))&&(P&&(F.restore(),N.prevElClipPaths=null,N.prevEl=null),B&&(F.save(),E(B,F),N.prevElClipPaths=B)),x.beforeBrush&&x.beforeBrush(F),x.brush(F,N.prevEl||null),N.prevEl=x,x.afterBrush&&x.afterBrush(F)}},getLayer:function(x,C){this._singleCanvas&&!this._needsManuallyCompositing&&(x=d);var I=this._layers[x];return I||(I=new c("zr_"+x,this,this.dpr),I.zlevel=x,I.__builtin__=!0,this._layerConfig[x]?y.merge(I,this._layerConfig[x],!0):this._layerConfig[x-n]&&y.merge(I,this._layerConfig[x-n],!0),C&&(I.virtual=C),this.insertLayer(x,I),I.initContext()),I},insertLayer:function(x,C){var I=this._layers,N=this._zlevelList,F=N.length,k=null,B=-1,P=this._domRoot;if(I[x]){m("ZLevel "+x+" has been used already");return}if(!s(C)){m("Layer of zlevel "+x+" is not valid");return}if(F>0&&x>N[0]){for(B=0;B<F-1&&!(N[B]<x&&N[B+1]>x);B++);k=I[N[B]]}if(N.splice(B+1,0,x),I[x]=C,!C.virtual)if(k){var K=k.dom;K.nextSibling?P.insertBefore(C.dom,K.nextSibling):P.appendChild(C.dom)}else P.firstChild?P.insertBefore(C.dom,P.firstChild):P.appendChild(C.dom)},eachLayer:function(x,C){var I=this._zlevelList,N,F;for(F=0;F<I.length;F++)N=I[F],x.call(C,this._layers[N],N)},eachBuiltinLayer:function(x,C){var I=this._zlevelList,N,F,k;for(k=0;k<I.length;k++)F=I[k],N=this._layers[F],N.__builtin__&&x.call(C,N,F)},eachOtherLayer:function(x,C){var I=this._zlevelList,N,F,k;for(k=0;k<I.length;k++)F=I[k],N=this._layers[F],N.__builtin__||x.call(C,N,F)},getLayers:function(){return this._layers},_updateLayerStatus:function(x){this.eachBuiltinLayer(function(R,U){R.__dirty=R.__used=!1});function C(R){F&&(F.__endIndex!==R&&(F.__dirty=!0),F.__endIndex=R)}if(this._singleCanvas)for(var I=1;I<x.length;I++){var N=x[I];if(N.zlevel!==x[I-1].zlevel||N.incremental){this._needsManuallyCompositing=!0;break}}for(var F=null,k=0,B,I=0;I<x.length;I++){var N=x[I],P=N.zlevel,K;B!==P&&(B=P,k=0),N.incremental?(K=this.getLayer(P+l,this._needsManuallyCompositing),K.incremental=!0,k=1):K=this.getLayer(P+(k>0?n:0),this._needsManuallyCompositing),K.__builtin__||m("ZLevel "+P+" has been used by unkown layer "+K.id),K!==F&&(K.__used=!0,K.__startIndex!==I&&(K.__dirty=!0),K.__startIndex=I,K.incremental?K.__drawIndex=-1:K.__drawIndex=I,C(I),F=K),N.__dirty&&(K.__dirty=!0,K.incremental&&K.__drawIndex<0&&(K.__drawIndex=I))}C(I),this.eachBuiltinLayer(function(R,U){!R.__used&&R.getElementCount()>0&&(R.__dirty=!0,R.__startIndex=R.__endIndex=R.__drawIndex=0),R.__dirty&&R.__drawIndex<0&&(R.__drawIndex=R.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(x){x.clear()},setBackgroundColor:function(x){this._backgroundColor=x},configLayer:function(x,C){if(C){var I=this._layerConfig;I[x]?y.merge(I[x],C,!0):I[x]=C;for(var N=0;N<this._zlevelList.length;N++){var F=this._zlevelList[N];if(F===x||F===x+n){var k=this._layers[F];y.merge(k,I[x],!0)}}}},delLayer:function(x){var C=this._layers,I=this._zlevelList,N=C[x];if(!N)return;N.dom.parentNode.removeChild(N.dom),delete C[x],I.splice(y.indexOf(I,x),1)},resize:function(x,C){if(this._domRoot.style){var I=this._domRoot;I.style.display="none";var N=this._opts;if(x!=null&&(N.width=x),C!=null&&(N.height=C),x=this._getSize(0),C=this._getSize(1),I.style.display="",this._width!==x||C!==this._height){I.style.width=x+"px",I.style.height=C+"px";for(var F in this._layers)this._layers.hasOwnProperty(F)&&this._layers[F].resize(x,C);y.each(this._progressiveLayers,function(k){k.resize(x,C)}),this.refresh(!0)}this._width=x,this._height=C}else{if(x==null||C==null)return;this._width=x,this._height=C,this.getLayer(d).resize(x,C)}return this},clearLayer:function(x){var C=this._layers[x];C&&C.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(x){if(x=x||{},this._singleCanvas&&!this._compositeManually)return this._layers[d].dom;var C=new c("image",this,x.pixelRatio||this.dpr);if(C.initContext(),C.clear(!1,x.backgroundColor||this._backgroundColor),x.pixelRatio<=this.dpr){this.refresh();var I=C.dom.width,N=C.dom.height,F=C.ctx;this.eachLayer(function(R){R.__builtin__?F.drawImage(R.dom,0,0,I,N):R.renderToCanvas&&(C.ctx.save(),R.renderToCanvas(C.ctx),C.ctx.restore())})}else for(var k={},B=this.storage.getDisplayList(!0),P=0;P<B.length;P++){var K=B[P];this._doPaintEl(K,C,!0,k)}return C.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(x){var C=this._opts,I=["width","height"][x],N=["clientWidth","clientHeight"][x],F=["paddingLeft","paddingTop"][x],k=["paddingRight","paddingBottom"][x];if(C[I]!=null&&C[I]!=="auto")return parseFloat(C[I]);var B=this.root,P=document.defaultView.getComputedStyle(B);return(B[N]||t(P[I])||t(B.style[I]))-(t(P[F])||0)-(t(P[k])||0)|0},pathToImage:function(x,C){C=C||this.dpr;var I=document.createElement("canvas"),N=I.getContext("2d"),F=x.getBoundingRect(),k=x.style,B=k.shadowBlur*C,P=k.shadowOffsetX*C,K=k.shadowOffsetY*C,R=k.hasStroke()?k.lineWidth:0,U=Math.max(R/2,-P+B),j=Math.max(R/2,P+B),H=Math.max(R/2,-K+B),W=Math.max(R/2,K+B),X=F.width+U+j,z=F.height+H+W;I.width=X*C,I.height=z*C,N.scale(C,C),N.clearRect(0,0,X,z),N.dpr=C;var G={position:x.position,rotation:x.rotation,scale:x.scale};x.position=[U-F.x,H-F.y],x.rotation=0,x.scale=[1,1],x.updateTransform(),x&&x.brush(N);var Z=i,ge=new Z({style:{x:0,y:0,image:I}});return G.position!=null&&(ge.position=x.position=G.position),G.rotation!=null&&(ge.rotation=x.rotation=G.rotation),G.scale!=null&&(ge.scale=x.scale=G.scale),ge}};var T=S;D.exports=T},"7a+S":function(D,_,e){var g=e("bYtY"),f=e("bLfw"),y=e("YXkt"),m=e("4NO4"),v=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(c,a,i){this._data,this._names,this.mergeDefaultAndTheme(c,i),this._initData()},mergeOption:function(c){v.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(c){c==null&&(c=this.option.currentIndex);var a=this._data.count();this.option.loop?c=(c%a+a)%a:(c>=a&&(c=a-1),c<0&&(c=0)),this.option.currentIndex=c},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(c){this.option.autoPlay=!!c},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var c=this.option,a=c.data||[],i=c.axisType,r=this._names=[];if(i==="category"){var o=[];g.each(a,function(l,t){var s=m.getDataItemValue(l),u;g.isObject(l)?(u=g.clone(l),u.value=t):u=t,o.push(u),!g.isString(s)&&(s==null||isNaN(s))&&(s=""),r.push(s+"")}),a=o}var d={category:"ordinal",time:"time"}[i]||"number",n=this._data=new y([{name:"value",type:d}],this);n.initData(a,r)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),h=v;D.exports=h},"7aKB":function(D,_,e){var g=e("bYtY"),f=e("6GrX"),y=e("OELB");function m(A){return isNaN(A)?"-":(A=(A+"").split("."),A[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(A.length>1?"."+A[1]:""))}function v(A,S){return A=(A||"").toLowerCase().replace(/-(.)/g,function(T,L){return L.toUpperCase()}),S&&A&&(A=A.charAt(0).toUpperCase()+A.slice(1)),A}var h=g.normalizeCssArray,c=/([&<>"'])/g,a={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function i(A){return A==null?"":(A+"").replace(c,function(S,T){return a[T]})}var r=["a","b","c","d","e","f","g"],o=function(A,S){return"{"+A+(S==null?"":S)+"}"};function d(A,S,T){g.isArray(S)||(S=[S]);var L=S.length;if(!L)return"";for(var x=S[0].$vars||[],C=0;C<x.length;C++){var I=r[C];A=A.replace(o(I),o(I,0))}for(var N=0;N<L;N++)for(var F=0;F<x.length;F++){var k=S[N][x[F]];A=A.replace(o(r[F],N),T?i(k):k)}return A}function n(A,S,T){return g.each(S,function(L,x){A=A.replace("{"+x+"}",T?i(L):L)}),A}function l(A,S){A=g.isString(A)?{color:A,extraCssText:S}:A||{};var T=A.color,L=A.type,S=A.extraCssText,x=A.renderMode||"html",C=A.markerId||"X";return T?x==="html"?L==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+i(T)+";"+(S||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+i(T)+";"+(S||"")+'"></span>':{renderMode:x,content:"{marker"+C+"|} ",style:{color:T}}:""}function t(A,S){return A+="","0000".substr(0,S-A.length)+A}function s(A,S,T){(A==="week"||A==="month"||A==="quarter"||A==="half-year"||A==="year")&&(A=`MM-dd
yyyy`);var L=y.parseDate(S),x=T?"UTC":"",C=L["get"+x+"FullYear"](),I=L["get"+x+"Month"]()+1,N=L["get"+x+"Date"](),F=L["get"+x+"Hours"](),k=L["get"+x+"Minutes"](),B=L["get"+x+"Seconds"](),P=L["get"+x+"Milliseconds"]();return A=A.replace("MM",t(I,2)).replace("M",I).replace("yyyy",C).replace("yy",C%100).replace("dd",t(N,2)).replace("d",N).replace("hh",t(F,2)).replace("h",F).replace("mm",t(k,2)).replace("m",k).replace("ss",t(B,2)).replace("s",B).replace("SSS",t(P,3)),A}function u(A){return A&&A.charAt(0).toUpperCase()+A.substr(1)}var p=f.truncateText;function w(A){return f.getBoundingRect(A.text,A.font,A.textAlign,A.textVerticalAlign,A.textPadding,A.textLineHeight,A.rich,A.truncate)}function b(A,S,T,L,x,C,I,N){return f.getBoundingRect(A,S,T,L,x,N,C,I)}function E(A,S){if(S==="_blank"||S==="blank"){var T=window.open();T.opener=null,T.location=A}else window.open(A,S)}_.addCommas=m,_.toCamelCase=v,_.normalizeCssArray=h,_.encodeHTML=i,_.formatTpl=d,_.formatTplSimple=n,_.getTooltipMarker=l,_.formatTime=s,_.capitalFirst=u,_.truncateText=p,_.getTextBoundingRect=w,_.getTextRect=b,_.windowOpen=E},"7bkD":function(D,_,e){var g=e("bYtY");function f(y,m){m=m||{};var v=y.coordinateSystem,h=y.axis,c={},a=h.position,i=h.orient,r=v.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]}};c.position=[i==="vertical"?d.vertical[a]:o[0],i==="horizontal"?d.horizontal[a]:o[3]];var n={horizontal:0,vertical:1};c.rotation=Math.PI/2*n[i];var l={top:-1,bottom:1,right:1,left:-1};c.labelDirection=c.tickDirection=c.nameDirection=l[a],y.get("axisTick.inside")&&(c.tickDirection=-c.tickDirection),g.retrieve(m.labelInside,y.get("axisLabel.inside"))&&(c.labelDirection=-c.labelDirection);var t=m.rotate;return t==null&&(t=y.get("axisLabel.rotate")),c.labelRotation=a==="top"?-t:t,c.z2=1,c}_.layout=f},"7fqy":function(D,_){function e(g){var f=-1,y=Array(g.size);return g.forEach(function(m,v){y[++f]=[v,m]}),y}D.exports=e},"7hqr":function(D,_,e){var g=e("bYtY"),f=g.each,y=g.isString;function m(c,a,i){i=i||{};var r=i.byIndex,o=i.stackedCoordDimension,d=!!(c&&c.get("stack")),n,l,t,s;if(f(a,function(b,E){y(b)&&(a[E]=b={name:b}),d&&!b.isExtraCoord&&(!r&&!n&&b.ordinalMeta&&(n=b),!l&&b.type!=="ordinal"&&b.type!=="time"&&(!o||o===b.coordDim)&&(l=b))}),l&&!r&&!n&&(r=!0),l){t="__\0ecstackresult",s="__\0ecstackedover",n&&(n.createInvertedIndices=!0);var u=l.coordDim,p=l.type,w=0;f(a,function(b){b.coordDim===u&&w++}),a.push({name:t,coordDim:u,coordDimIndex:w,type:p,isExtraCoord:!0,isCalculationCoord:!0}),w++,a.push({name:s,coordDim:s,coordDimIndex:w,type:p,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:l&&l.name,stackedByDimension:n&&n.name,isStackedByIndex:r,stackedOverDimension:s,stackResultDimension:t}}function v(c,a){return!!a&&a===c.getCalculationInfo("stackedDimension")}function h(c,a){return v(c,a)?c.getCalculationInfo("stackResultDimension"):a}_.enableDataStack=m,_.isDimensionStacked=v,_.getStackedDimension=h},"7mYs":function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("IwbS"),m=e("7aKB"),v=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"]},c={EN:["S","M","T","W","T","F","S"],CN:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},a=g.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(i,r,o){var d=this.group;d.removeAll();var n=i.coordinateSystem,l=n.getRangeInfo(),t=n.getOrient();this._renderDayRect(i,l,d),this._renderLines(i,l,t,d),this._renderYearText(i,l,t,d),this._renderMonthText(i,t,d),this._renderWeekText(i,l,t,d)},_renderDayRect:function(i,r,o){for(var d=i.coordinateSystem,n=i.getModel("itemStyle").getItemStyle(),l=d.getCellWidth(),t=d.getCellHeight(),s=r.start.time;s<=r.end.time;s=d.getNextNDay(s,1).time){var u=d.dataToRect([s],!1).tl,p=new y.Rect({shape:{x:u[0],y:u[1],width:l,height:t},cursor:"default",style:n});o.add(p)}},_renderLines:function(i,r,o,d){var n=this,l=i.coordinateSystem,t=i.getModel("splitLine.lineStyle").getLineStyle(),s=i.get("splitLine.show"),u=t.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var p=r.start,w=0;p.time<=r.end.time;w++){E(p.formatedDate),w===0&&(p=l.getDateInfo(r.start.y+"-"+r.start.m));var b=p.date;b.setMonth(b.getMonth()+1),p=l.getDateInfo(b)}E(l.getNextNDay(r.end.time,1).formatedDate);function E(A){n._firstDayOfMonth.push(l.getDateInfo(A)),n._firstDayPoints.push(l.dataToRect([A],!1).tl);var S=n._getLinePointsOfOneWeek(i,A,o);n._tlpoints.push(S[0]),n._blpoints.push(S[S.length-1]),s&&n._drawSplitline(S,t,d)}s&&this._drawSplitline(n._getEdgesPoints(n._tlpoints,u,o),t,d),s&&this._drawSplitline(n._getEdgesPoints(n._blpoints,u,o),t,d)},_getEdgesPoints:function(i,r,o){var d=[i[0].slice(),i[i.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(i,r,o){var d=new y.Polyline({z2:20,shape:{points:i},style:r});o.add(d)},_getLinePointsOfOneWeek:function(i,r,o){var d=i.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(i,r){return typeof i=="string"&&i?m.formatTplSimple(i,r):typeof i=="function"?i(r):r.nameMap},_yearTextPositionControl:function(i,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(i,r,o,d){var n=i.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]],u=(s[0][0]+s[1][0])/2,p=(s[0][1]+s[1][1])/2,w=o==="horizontal"?0:1,b={top:[u,s[w][1]],bottom:[u,s[1-w][1]],left:[s[1-w][0],p],right:[s[w][0],p]},E=r.start.y;+r.end.y>+r.start.y&&(E=E+"-"+r.end.y);var A=n.get("formatter"),S={start:r.start.y,end:r.end.y,nameMap:E},T=this._formatterLabel(A,S),L=new y.Text({z2:30});y.setTextStyle(L.style,n,{text:T}),L.attr(this._yearTextPositionControl(L,b[t],o,t,l)),d.add(L)},_monthTextPositionControl:function(i,r,o,d,n){var l="left",t="top",s=i[0],u=i[1];return o==="horizontal"?(u=u+n,r&&(l="center"),d==="start"&&(t="bottom")):(s=s+n,r&&(t="middle"),d==="start"&&(l="right")),{x:s,y:u,textAlign:l,textVerticalAlign:t}},_renderMonthText:function(i,r,o){var d=i.getModel("monthLabel");if(!d.get("show"))return;var n=d.get("nameMap"),l=d.get("margin"),t=d.get("position"),s=d.get("align"),u=[this._tlpoints,this._blpoints];f.isString(n)&&(n=h[n.toUpperCase()]||[]);var p=t==="start"?0:1,w=r==="horizontal"?0:1;l=t==="start"?-l:l;for(var b=s==="center",E=0;E<u[p].length-1;E++){var A=u[p][E].slice(),S=this._firstDayOfMonth[E];if(b){var T=this._firstDayPoints[E];A[w]=(T[w]+u[0][E+1][w])/2}var L=d.get("formatter"),x=n[+S.m-1],C={yyyy:S.y,yy:(S.y+"").slice(2),MM:S.m,M:+S.m,nameMap:x},I=this._formatterLabel(L,C),N=new y.Text({z2:30});f.extend(y.setTextStyle(N.style,d,{text:I}),this._monthTextPositionControl(A,b,r,t,l)),o.add(N)}},_weekTextPositionControl:function(i,r,o,d,n){var l="center",t="middle",s=i[0],u=i[1],p=o==="start";return r==="horizontal"?(s=s+d+(p?1:-1)*n[0]/2,l=p?"right":"left"):(u=u+d+(p?1:-1)*n[1]/2,t=p?"bottom":"top"),{x:s,y:u,textAlign:l,textVerticalAlign:t}},_renderWeekText:function(i,r,o,d){var n=i.getModel("dayLabel");if(!n.get("show"))return;var l=i.coordinateSystem,t=n.get("position"),s=n.get("nameMap"),u=n.get("margin"),p=l.getFirstDayOfWeek();f.isString(s)&&(s=c[s.toUpperCase()]||[]);var w=l.getNextNDay(r.end.time,7-r.lweek).time,b=[l.getCellWidth(),l.getCellHeight()];u=v.parsePercent(u,b[o==="horizontal"?0:1]),t==="start"&&(w=l.getNextNDay(r.start.time,-(7+r.fweek)).time,u=-u);for(var E=0;E<7;E++){var A=l.getNextNDay(w,E),S=l.dataToRect([A.time],!1).center,T=E;T=Math.abs((E+p)%7);var L=new y.Text({z2:30});f.extend(y.setTextStyle(L.style,n,{text:s[T]}),this._weekTextPositionControl(S,o,t,u,b)),d.add(L)}}});D.exports=a},"7oTu":function(D,_,e){var g=e("IMiH"),f=e("QBsz"),y=f.applyTransform,m=g.CMD,v=[[],[],[]],h=Math.sqrt,c=Math.atan2;function a(i,r){var o=i.data,d,n,l,t,s,u,p=m.M,w=m.C,b=m.L,E=m.R,A=m.A,S=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 b:n=1;break;case w:n=3;break;case S:n=2;break;case A:var T=r[4],L=r[5],x=h(r[0]*r[0]+r[1]*r[1]),C=h(r[2]*r[2]+r[3]*r[3]),I=c(-r[1]/C,r[0]/x);o[l]*=x,o[l++]+=T,o[l]*=C,o[l++]+=L,o[l++]*=x,o[l++]*=C,o[l++]+=I,o[l++]+=I,l+=2,t=l;break;case E:u[0]=o[l++],u[1]=o[l++],y(u,u,r),o[t++]=u[0],o[t++]=u[1],u[0]+=o[l++],u[1]+=o[l++],y(u,u,r),o[t++]=u[0],o[t++]=u[1]}for(s=0;s<n;s++){var u=v[s];u[0]=o[l++],u[1]=o[l++],y(u,u,r),o[t++]=u[0],o[t++]=u[1]}}}D.exports=a},"7pVf":function(D,_,e){var g=e("ProS"),f=e("ZqQs");e("oE7X"),e("OUJF"),e("3X6L"),e("NH9N"),g.registerPreprocessor(f)},"7ph2":function(D,_){function e(y){return y instanceof Array||(y=[y,y]),y}var g="lineStyle.opacity".split("."),f={seriesType:"lines",reset:function(y,m,v){var h=e(y.get("symbol")),c=e(y.get("symbolSize")),a=y.getData();a.setVisual("fromSymbol",h&&h[0]),a.setVisual("toSymbol",h&&h[1]),a.setVisual("fromSymbolSize",c&&c[0]),a.setVisual("toSymbolSize",c&&c[1]),a.setVisual("opacity",y.get(g));function i(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:a.hasItemOption?i:null}}};D.exports=f},"7uqq":function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),m=e("bYtY"),v=e("AUH6"),h=e("+TT/"),c=e("OELB"),a=e("W4dC"),i=e("7DRL");function r(l,t){var s=l.get("boundingCoords");if(s!=null){var u=s[0],p=s[1];isNaN(u[0])||isNaN(u[1])||isNaN(p[0])||isNaN(p[1])||this.setBoundingRect(u[0],u[1],p[0]-u[0],p[1]-u[1])}var w=this.getBoundingRect(),b,E=l.get("layoutCenter"),A=l.get("layoutSize"),S=t.getWidth(),T=t.getHeight(),L=w.width/w.height*this.aspectScale,x=!1;E&&A&&(E=[c.parsePercent(E[0],S),c.parsePercent(E[1],T)],A=c.parsePercent(A,Math.min(S,T)),!isNaN(E[0])&&!isNaN(E[1])&&!isNaN(A)&&(x=!0));var C;if(x){var C={};L>1?(C.width=A,C.height=A/L):(C.height=A,C.width=A*L),C.y=E[1]-C.height/2,C.x=E[0]-C.width/2}else b=l.getBoxLayoutParams(),b.aspect=L,C=h.getLayoutRect(b,{width:S,height:T});this.setViewRect(C.x,C.y,C.width,C.height),this.setCenter(l.get("center")),this.setZoom(l.get("zoom"))}function o(l,t){m.each(t.get("geoCoord"),function(s,u){l.addGeoCoord(u,s)})}var d={dimensions:v.prototype.dimensions,create:function(l,t){var s=[];l.eachComponent("geo",function(p,w){var b=p.get("map"),E=p.get("aspectScale"),A=!0,S=i.retrieveMap(b);S&&S[0]&&S[0].type==="svg"?(E==null&&(E=1),A=!1):E==null&&(E=.75);var T=new v(b+w,b,p.get("nameMap"),A);T.aspectScale=E,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 w=p.get("coordinateSystem");if(w==="geo"){var b=p.get("geoIndex")||0;p.coordinateSystem=s[b]}});var u={};return l.eachSeriesByType("map",function(p){if(!p.getHostGeoModel()){var w=p.getMapType();u[w]=u[w]||[],u[w].push(p)}}),m.each(u,function(p,w){var b=m.map(p,function(A){return A.get("nameMap")}),E=new v(w,w,m.mergeAll(b));E.zoomLimit=m.retrieve.apply(null,m.map(p,function(A){return A.get("scaleLimit")})),s.push(E),E.resize=r,E.aspectScale=p[0].get("aspectScale"),E.resize(p[0],t),m.each(p,function(A){A.coordinateSystem=E,o(E,A)})}),s},getFilledRegions:function(l,t,s){for(var u=(l||[]).slice(),p=m.createHashMap(),w=0;w<u.length;w++)p.set(u[w].name,u[w]);var b=a.load(t,s);return m.each(b.regions,function(E){var A=E.name;!p.get(A)&&u.push({name:A})}),u}};y.registerCoordinateSystem("geo",d);var n=d;D.exports=n},"7yuC":function(D,_,e){var g=e("QBsz"),f=g.scaleAndAdd;function y(m,v,h){for(var c=h.rect,a=c.width,i=c.height,r=[c.x+a/2,c.y+i/2],o=h.gravity==null?.1:h.gravity,d=0;d<m.length;d++){var n=m[d];n.p||(n.p=g.create(a*(Math.random()-.5)+r[0],i*(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 u=[],p=m.length,w=0;w<v.length;w++){var b=v[w];if(b.ignoreForceLayout)continue;var E=b.n1,A=b.n2;g.sub(u,A.p,E.p);var S=g.len(u)-b.d,T=A.w/(E.w+A.w);isNaN(T)&&(T=0),g.normalize(u,u),!E.fixed&&f(E.p,E.p,u,T*S*t),!A.fixed&&f(A.p,A.p,u,-(1-T)*S*t)}for(var w=0;w<p;w++){var L=m[w];L.fixed||(g.sub(u,r,L.p),f(L.p,L.p,u,o*t))}for(var w=0;w<p;w++)for(var E=m[w],x=w+1;x<p;x++){var A=m[x];g.sub(u,A.p,E.p);var S=g.len(u);S===0&&(g.set(u,Math.random()-.5,Math.random()-.5),S=1);var C=(E.rep+A.rep)/S/S;!E.fixed&&f(E.pp,E.pp,u,C),!A.fixed&&f(A.pp,A.pp,u,-C)}for(var I=[],w=0;w<p;w++){var L=m[w];L.fixed||(g.sub(I,L.p,L.pp),f(L.p,L.p,I,t),g.copy(L.pp,L.p))}t=t*.992,s&&s(m,v,t<.01)}}}_.forceLayout=y},"8+yF":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.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 v=g[m];return v!==void 0?v:16777216|m}};_.default=f},"815F":function(D,_,e){"use strict";e.d(_,"e",function(){return c}),e.d(_,"c",function(){return i}),e.d(_,"d",function(){return r}),e.d(_,"a",function(){return d}),e.d(_,"f",function(){return n}),e.d(_,"b",function(){return l});var g=e("KQm4"),f=e("VTBJ"),y=e("Ff2n"),m=e("Zm9Q"),v=e("Kwbf"),h=e("OZM5");function c(t,s){return t!=null?t:s}function a(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=new Map;function u(p){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(p||[]).forEach(function(b){var E=b.key,A=b.children;Object(v.a)(E!=null,"Tree node must have a certain key: [".concat(w).concat(E,"]"));var S=String(E);Object(v.a)(!s.has(S)||E===null||E===void 0,"Same 'key' exist in the Tree: ".concat(S)),s.set(S,!0),u(A,"".concat(w).concat(S," > "))})}u(t)}function i(t){function s(u){var p=Object(m.a)(u);return p.map(function(w){if(!Object(h.i)(w))return Object(v.a)(!w,"Tree/TreeNode can only accept TreeNode as children."),null;var b=w.key,E=w.props,A=E.children,S=Object(y.a)(E,["children"]),T=Object(f.a)({key:b},S),L=s(A);return L.length&&(T.children=L),T}).filter(function(w){return w})}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]:[],u=new Set(s===!0?[]:s),p=[];function w(b){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return b.map(function(A,S){var T=Object(h.h)(E?E.pos:"0",S),L=c(A.key,T),x=Object(f.a)(Object(f.a)({},A),{},{parent:E,pos:T,children:null,data:A,isStart:[].concat(Object(g.a)(E?E.isStart:[]),[S===0]),isEnd:[].concat(Object(g.a)(E?E.isEnd:[]),[S===b.length-1])});return p.push(x),s===!0||u.has(L)?x.children=w(A.children||[],x):x.children=[],x})}return w(t),p}function o(t,s,u){var p;u?typeof u=="string"?p=function(E){return E[u]}:typeof u=="function"&&(p=function(E){return u(E)}):p=function(E,A){return c(E.key,A)};function w(b,E,A){var S=b?b.children:t,T=b?Object(h.h)(A.pos,E):"0";if(b){var L=p(b,T),x={node:b,index:E,pos:T,key:L,parentPos:A.node?A.pos:null,level:A.level+1};s(x)}S&&S.forEach(function(C,I){w(C,I,{node:b,pos:T,level:A?A.level+1:-1})})}w(null)}function d(t){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=s.initWrapper,p=s.processEntity,w=s.onProcessFinished,b=arguments.length>2?arguments[2]:void 0,E={},A={},S={posEntities:E,keyEntities:A};return u&&(S=u(S)||S),o(t,function(T){var L=T.node,x=T.index,C=T.pos,I=T.key,N=T.parentPos,F=T.level,k={node:L,index:x,key:I,pos:C,level:F},B=c(I,C);E[C]=k,A[B]=k,k.parent=E[N],k.parent&&(k.parent.children=k.parent.children||[],k.parent.children.push(k)),p&&p(k,S)},b),w&&w(S),S}function n(t,s){var u=s.expandedKeys,p=s.selectedKeys,w=s.loadedKeys,b=s.loadingKeys,E=s.checkedKeys,A=s.halfCheckedKeys,S=s.dragOverNodeKey,T=s.dropPosition,L=s.keyEntities,x=L[t],C={eventKey:t,expanded:u.indexOf(t)!==-1,selected:p.indexOf(t)!==-1,loaded:w.indexOf(t)!==-1,loading:b.indexOf(t)!==-1,checked:E.indexOf(t)!==-1,halfChecked:A.indexOf(t)!==-1,pos:String(x?x.pos:""),dragOver:S===t&&T===0,dragOverGapTop:S===t&&T===-1,dragOverGapBottom:S===t&&T===1};return C}function l(t){var s=t.data,u=t.expanded,p=t.selected,w=t.checked,b=t.loaded,E=t.loading,A=t.halfChecked,S=t.dragOver,T=t.dragOverGapTop,L=t.dragOverGapBottom,x=t.pos,C=t.active,I=Object(f.a)(Object(f.a)({},s),{},{expanded:u,selected:p,checked:w,loaded:b,loading:E,halfChecked:A,dragOver:S,dragOverGapTop:T,dragOverGapBottom:L,pos:x,active:C});return"props"in I||Object.defineProperty(I,"props",{get:function(){return Object(v.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),t}}),I}},"8CQX":function(D,_,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(_,"__esModule",{value:!0}),_.getKeycode=o,_.getKey=d,_.getKeysym=n;var f=r(e("mHUz")),y=r(e("8+yF")),m=r(e("6Qwc")),v=r(e("gIYZ")),h=r(e("mTgk")),c=i(e("GdRQ"));function a(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return a=function(){return l},l}function i(l){if(l&&l.__esModule)return l;if(l===null||g(l)!=="object"&&typeof l!="function")return{default:l};var t=a();if(t&&t.has(l))return t.get(l);var s={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in l)if(Object.prototype.hasOwnProperty.call(l,p)){var w=u?Object.getOwnPropertyDescriptor(l,p):null;w&&(w.get||w.set)?Object.defineProperty(s,p,w):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(c.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(!c.isIE()&&!c.isEdge())return l.key;if(l.key.length!==1&&l.key!=="Unidentified")return l.key}var t=o(l);return t in v.default?v.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 u=o(l);u==="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 w=o(l);if(w==="NumLock")return f.default.XK_Num_Lock}return h.default[t][s]}if(t.length!==1)return null;var b=t.charCodeAt();return b?y.default.lookup(b):null}},"8EBN":function(D,_,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 y=g.modeInfo[f];y.mimes&&(y.mime=y.mimes[0])}g.findModeByMIME=function(m){m=m.toLowerCase();for(var v=0;v<g.modeInfo.length;v++){var h=g.modeInfo[v];if(h.mime==m)return h;if(h.mimes){for(var c=0;c<h.mimes.length;c++)if(h.mimes[c]==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 v=0;v<g.modeInfo.length;v++){var h=g.modeInfo[v];if(h.ext){for(var c=0;c<h.ext.length;c++)if(h.ext[c]==m)return h}}},g.findModeByFileName=function(m){for(var v=0;v<g.modeInfo.length;v++){var h=g.modeInfo[v];if(h.file&&h.file.test(m))return h}var c=m.lastIndexOf("."),a=c>-1&&m.substring(c+1,m.length);if(a)return g.findModeByExtension(a)},g.findModeByName=function(m){m=m.toLowerCase();for(var v=0;v<g.modeInfo.length;v++){var h=g.modeInfo[v];if(h.name.toLowerCase()==m)return h;if(h.alias){for(var c=0;c<h.alias.length;c++)if(h.alias[c].toLowerCase()==m)return h}}}})},"8IMR":function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},"8ISB":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("6Hfg"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},"8K/p":function(D,_,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(_,"__esModule",{value:!0}),_.default=void 0;var f=h(e("Lo0S")),y=m(e("ItS6"));function m(o){return o&&o.__esModule?o:{default:o}}function v(){if(typeof WeakMap!="function")return null;var o=new WeakMap;return v=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=v();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 c(o,d){if(!(o instanceof d))throw new TypeError("Cannot call a class as a function")}function a(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 i(o,d,n){return d&&a(o.prototype,d),n&&a(o,n),o}var r=function(){function o(){c(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 y.default}return i(o,[{key:"decodeRect",value:function(n,l,t,s,u,p,w){if(this._ctl===null){if(u.rQwait("TIGHT compression-control",1))return!1;this._ctl=u.rQshift8();for(var b=0;b<4;b++)this._ctl>>b&1&&(this._zlibs[b].reset(),f.Info("Reset zlib stream "+b));this._ctl=this._ctl>>4}var E;if(this._ctl===8)E=this._fillRect(n,l,t,s,u,p,w);else if(this._ctl===9)E=this._jpegRect(n,l,t,s,u,p,w);else if(this._ctl===10)E=this._pngRect(n,l,t,s,u,p,w);else if((this._ctl&128)==0)E=this._basicRect(this._ctl,n,l,t,s,u,p,w);else throw new Error("Illegal tight compression received (ctl: "+this._ctl+")");return E&&(this._ctl=null),E}},{key:"_fillRect",value:function(n,l,t,s,u,p,w){if(u.rQwait("TIGHT",3))return!1;var b=u.rQi,E=u.rQ;return p.fillRect(n,l,t,s,[E[b+2],E[b+1],E[b]],!1),u.rQskipBytes(3),!0}},{key:"_jpegRect",value:function(n,l,t,s,u,p,w){var b=this._readData(u);return b===null?!1:(p.imageRect(n,l,t,s,"image/jpeg",b),!0)}},{key:"_pngRect",value:function(n,l,t,s,u,p,w){throw new Error("PNG received in standard Tight rect")}},{key:"_basicRect",value:function(n,l,t,s,u,p,w,b){if(this._filter===null)if(n&4){if(p.rQwait("TIGHT",1))return!1;this._filter=p.rQshift8()}else this._filter=0;var E=n&3,A;switch(this._filter){case 0:A=this._copyFilter(E,l,t,s,u,p,w,b);break;case 1:A=this._paletteFilter(E,l,t,s,u,p,w,b);break;case 2:A=this._gradientFilter(E,l,t,s,u,p,w,b);break;default:throw new Error("Illegal tight filter received (ctl: "+this._filter+")")}return A&&(this._filter=null),A}},{key:"_copyFilter",value:function(n,l,t,s,u,p,w,b){var E=s*u*3,A;if(E<12){if(p.rQwait("TIGHT",E))return!1;A=p.rQshiftBytes(E)}else{if(A=this._readData(p),A===null)return!1;this._zlibs[n].setInput(A),A=this._zlibs[n].inflate(E),this._zlibs[n].setInput(null)}return w.blitRgbImage(l,t,s,u,A,0,!1),!0}},{key:"_paletteFilter",value:function(n,l,t,s,u,p,w,b){if(this._numColors===0){if(p.rQwait("TIGHT palette",1))return!1;var E=p.rQpeek8()+1,A=E*3;if(p.rQwait("TIGHT palette",1+A))return!1;this._numColors=E,p.rQskipBytes(1),p.rQshiftTo(this._palette,A)}var S=this._numColors<=2?1:8,T=Math.floor((s*S+7)/8),L=T*u,x;if(L<12){if(p.rQwait("TIGHT",L))return!1;x=p.rQshiftBytes(L)}else{if(x=this._readData(p),x===null)return!1;this._zlibs[n].setInput(x),x=this._zlibs[n].inflate(L),this._zlibs[n].setInput(null)}return this._numColors==2?this._monoRect(l,t,s,u,x,this._palette,w):this._paletteRect(l,t,s,u,x,this._palette,w),this._numColors=0,!0}},{key:"_monoRect",value:function(n,l,t,s,u,p,w){for(var b=this._getScratchBuffer(t*s*4),E=Math.floor((t+7)/8),A=Math.floor(t/8),S=0;S<s;S++){var T=void 0,L=void 0,x=void 0;for(x=0;x<A;x++)for(var C=7;C>=0;C--)T=(S*t+x*8+7-C)*4,L=(u[S*E+x]>>C&1)*3,b[T]=p[L],b[T+1]=p[L+1],b[T+2]=p[L+2],b[T+3]=255;for(var I=7;I>=8-t%8;I--)T=(S*t+x*8+7-I)*4,L=(u[S*E+x]>>I&1)*3,b[T]=p[L],b[T+1]=p[L+1],b[T+2]=p[L+2],b[T+3]=255}w.blitRgbxImage(n,l,t,s,b,0,!1)}},{key:"_paletteRect",value:function(n,l,t,s,u,p,w){for(var b=this._getScratchBuffer(t*s*4),E=t*s*4,A=0,S=0;A<E;A+=4,S++){var T=u[S]*3;b[A]=p[T],b[A+1]=p[T+1],b[A+2]=p[T+2],b[A+3]=255}w.blitRgbxImage(n,l,t,s,b,0,!1)}},{key:"_gradientFilter",value:function(n,l,t,s,u,p,w,b){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}();_.default=r},"8OUc":function(D,_,e){"use strict";var g=e("q1tI"),f=e.n(g),y=e("TSYQ"),m=e.n(y),v=function(c){var a=c.className,i=c.customizeIcon,r=c.customizeIconProps,o=c.onMouseDown,d=c.onClick,n=c.children,l;return typeof i=="function"?l=i(r):l=i,g.createElement("span",{className:a,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()(a.split(/\s+/).map(function(t){return"".concat(t,"-icon")}))},n))};_.a=v},"8SMY":function(D,_,e){var g=e("n4Lv"),f=g.prepareDataCoordInfo,y=g.getStackedOnPoint;function m(h,c){var a=[];return c.diff(h).add(function(i){a.push({cmd:"+",idx:i})}).update(function(i,r){a.push({cmd:"=",idx:r,idx1:i})}).remove(function(i){a.push({cmd:"-",idx:i})}).execute(),a}function v(h,c,a,i,r,o,d,n){for(var l=m(h,c),t=[],s=[],u=[],p=[],w=[],b=[],E=[],A=f(r,c,d),S=f(o,h,n),T=0;T<l.length;T++){var L=l[T],x=!0;switch(L.cmd){case"=":var C=h.getItemLayout(L.idx),I=c.getItemLayout(L.idx1);(isNaN(C[0])||isNaN(C[1]))&&(C=I.slice()),t.push(C),s.push(I),u.push(a[L.idx]),p.push(i[L.idx1]),E.push(c.getRawIndex(L.idx1));break;case"+":var N=L.idx;t.push(r.dataToPoint([c.get(A.dataDimsForPoint[0],N),c.get(A.dataDimsForPoint[1],N)])),s.push(c.getItemLayout(N).slice()),u.push(y(A,r,c,N)),p.push(i[N]),E.push(c.getRawIndex(N));break;case"-":var N=L.idx,F=h.getRawIndex(N);F!==N?(t.push(h.getItemLayout(N)),s.push(o.dataToPoint([h.get(S.dataDimsForPoint[0],N),h.get(S.dataDimsForPoint[1],N)])),u.push(a[N]),p.push(y(S,o,h,N)),E.push(F)):x=!1}x&&(w.push(L),b.push(b.length))}b.sort(function(U,j){return E[U]-E[j]});for(var k=[],B=[],P=[],K=[],R=[],T=0;T<b.length;T++){var N=b[T];k[T]=t[N],B[T]=s[N],P[T]=u[N],K[T]=p[N],R[T]=w[N]}return{current:k,next:B,stackedOnCurrent:P,stackedOnNext:K,status:R}}D.exports=v},"8Skl":function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="DownOutlined";var h=_.a=g.forwardRef(v)},"8Th4":function(D,_,e){var g=e("3LNs"),f=e("/y7N"),y=e("7bkD"),m=e("Znkb"),v=["x","y"],h=["width","height"],c=g.extend({makeElOption:function(d,n,l,t,s){var u=l.axis,p=u.coordinateSystem,w=r(p,1-i(u)),b=p.dataToPoint(n)[0],E=t.get("type");if(E&&E!=="none"){var A=f.buildElStyle(t),S=a[E](u,b,w);S.style=A,d.graphicKey=S.type,d.pointer=S}var T=y.layout(l);f.buildCartesianSingleLabelElOption(n,d,T,l,t,s)},getHandleTransform:function(d,n,l){var t=y.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,u=s.coordinateSystem,p=i(s),w=r(u,p),b=d.position;b[p]+=n[p],b[p]=Math.min(w[1],b[p]),b[p]=Math.max(w[0],b[p]);var E=r(u,1-p),A=(E[1]+E[0])/2,S=[A,A];return S[p]=b[p],{position:b,rotation:d.rotation,cursorPoint:S,tooltipOption:{verticalAlign:"middle"}}}}),a={line:function(d,n,l){var t=f.makeLineShape([n,l[0]],[n,l[1]],i(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],i(d))}}};function i(d){return d.isHorizontal()?0:1}function r(d,n){var l=d.getRect();return[l[v[n]],l[v[n]]+l[h[n]]]}m.registerAxisPointerClass("SingleAxisPointer",c);var o=c;D.exports=o},"8Uz6":function(D,_,e){var g=e("hNWo"),f=e("+TT/"),y=f.mergeLayoutParam,m=f.getLayoutParams,v=g.extend({type:"legend.scroll",setScrollDataIndex:function(a){this.option.scrollDataIndex=a},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(a,i,r,o){var d=m(a);v.superCall(this,"init",a,i,r,o),h(this,a,d)},mergeOption:function(a,i){v.superCall(this,"mergeOption",a,i),h(this,this.option,a)}});function h(a,i,r){var o=a.getOrient(),d=[1,1];d[o.index]=0,y(i,r,{type:"box",ignoreSize:d})}var c=v;D.exports=c},"8X+K":function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=e("4mN7"),v=m.fromPoints,h=e("9wZj"),c=e("FBjb"),a=e("8SMY"),i=e("IwbS"),r=e("4NO4"),o=e("1NG9"),d=o.Polyline,n=o.Polygon,l=e("6Ic6"),t=e("n4Lv"),s=t.prepareDataCoordInfo,u=t.getStackedOnPoint,p=e("sK/D"),w=p.createGridClipPath,b=p.createPolarClipPath;function E(k,B){if(k.length!==B.length)return;for(var P=0;P<k.length;P++){var K=k[P],R=B[P];if(K[0]!==R[0]||K[1]!==R[1])return}return!0}function A(k,B){var P=[],K=[],R=[],U=[];return v(k,P,K),v(B,R,U),Math.max(Math.abs(P[0]-R[0]),Math.abs(P[1]-R[1]),Math.abs(K[0]-U[0]),Math.abs(K[1]-U[1]))}function S(k){return typeof k=="number"?k:k?.5:0}function T(k,B,P){if(!P.valueDim)return[];for(var K=[],R=0,U=B.count();R<U;R++)K.push(u(P,k,B,R));return K}function L(k,B,P){for(var K=B.getBaseAxis(),R=K.dim==="x"||K.dim==="radius"?0:1,U=[],j=0;j<k.length-1;j++){var H=k[j+1],W=k[j];U.push(W);var X=[];switch(P){case"end":X[R]=H[R],X[1-R]=W[1-R],U.push(X);break;case"middle":var z=(W[R]+H[R])/2,G=[];X[R]=G[R]=z,X[1-R]=W[1-R],G[1-R]=H[1-R],U.push(X),U.push(G);break;default:X[R]=W[R],X[1-R]=H[1-R],U.push(X)}}return k[j]&&U.push(k[j]),U}function x(k,B){var P=k.getVisual("visualMeta");if(!P||!P.length||!k.count())return;if(B.type!=="cartesian2d")return;for(var K,R,U=P.length-1;U>=0;U--){var j=P[U].dimension,H=k.dimensions[j],W=k.getDimensionInfo(H);if(K=W&&W.coordDim,K==="x"||K==="y"){R=P[U];break}}if(!R)return;var X=B.getAxis(K),z=y.map(R.stops,function(Pe){return{coord:X.toGlobalCoord(X.dataToCoord(Pe.value)),color:Pe.color}}),G=z.length,Z=R.outerColors.slice();G&&z[0].coord>z[G-1].coord&&(z.reverse(),Z.reverse());var ge=10,Q=z[0].coord-ge,we=z[G-1].coord+ge,Ee=we-Q;if(Ee<.001)return"transparent";y.each(z,function(Pe){Pe.offset=(Pe.coord-Q)/Ee}),z.push({offset:G?z[G-1].offset:.5,color:Z[1]||"transparent"}),z.unshift({offset:G?z[0].offset:.5,color:Z[0]||"transparent"});var Ae=new i.LinearGradient(0,0,0,0,z,!0);return Ae[K]=Q,Ae[K+"2"]=we,Ae}function C(k,B,P){var K=k.get("showAllSymbol"),R=K==="auto";if(K&&!R)return;var U=P.getAxesByScale("ordinal")[0];if(!U)return;if(R&&I(U,B))return;var j=B.mapDimension(U.dim),H={};return y.each(U.getViewLabels(),function(W){H[W.tickValue]=1}),function(W){return!H.hasOwnProperty(B.get(j,W))}}function I(k,B){var P=k.getExtent(),K=Math.abs(P[1]-P[0])/k.scale.count();isNaN(K)&&(K=0);for(var R=B.count(),U=Math.max(1,Math.round(R/5)),j=0;j<R;j+=U)if(c.getSymbolSize(B,j)[k.isHorizontal()?1:0]*1.5>K)return!1;return!0}function N(k,B,P){if(k.type==="cartesian2d"){var K=k.getBaseAxis().isHorizontal(),R=w(k,B,P);if(!P.get("clip",!0)){var U=R.shape,j=Math.max(U.width,U.height);K?(U.y-=j,U.height+=j*2):(U.x-=j,U.width+=j*2)}return R}else return b(k,B,P)}var F=l.extend({type:"line",init:function(){var k=new i.Group,B=new h;this.group.add(B.group),this._symbolDraw=B,this._lineGroup=k},render:function(k,B,P){var K=k.coordinateSystem,R=this.group,U=k.getData(),j=k.getModel("lineStyle"),H=k.getModel("areaStyle"),W=U.mapArray(U.getItemLayout),X=K.type==="polar",z=this._coordSys,G=this._symbolDraw,Z=this._polyline,ge=this._polygon,Q=this._lineGroup,we=k.get("animation"),Ee=!H.isEmpty(),Ae=H.get("origin"),Pe=s(K,U,Ae),Ge=T(K,U,Pe),gt=k.get("showSymbol"),_e=gt&&!X&&C(k,U,K),Ce=this._data;Ce&&Ce.eachItemGraphicEl(function(ye,Fe){ye.__temp&&(R.remove(ye),Ce.setItemGraphicEl(Fe,null))}),gt||G.remove(),R.add(Q);var lt=!X&&k.get("step"),ce;K&&K.getArea&&k.get("clip",!0)&&(ce=K.getArea(),ce.width!=null?(ce.x-=.1,ce.y-=.1,ce.width+=.2,ce.height+=.2):ce.r0&&(ce.r0-=.5,ce.r1+=.5)),this._clipShapeForSymbol=ce,Z&&z.type===K.type&&lt===this._step?(Ee&&!ge?ge=this._newPolygon(W,Ge,K,we):ge&&!Ee&&(Q.remove(ge),ge=this._polygon=null),Q.setClipPath(N(K,!1,k)),gt&&G.updateData(U,{isIgnore:_e,clipShape:ce}),U.eachItemGraphicEl(function(ye){ye.stopAnimation(!0)}),(!E(this._stackedOnPoints,Ge)||!E(this._points,W))&&(we?this._updateAnimation(U,Ge,K,P,lt,Ae):(lt&&(W=L(W,K,lt),Ge=L(Ge,K,lt)),Z.setShape({points:W}),ge&&ge.setShape({points:W,stackedOnPoints:Ge})))):(gt&&G.updateData(U,{isIgnore:_e,clipShape:ce}),lt&&(W=L(W,K,lt),Ge=L(Ge,K,lt)),Z=this._newPolyline(W,K,we),Ee&&(ge=this._newPolygon(W,Ge,K,we)),Q.setClipPath(N(K,!0,k)));var Y=x(U,K)||U.getVisual("color");Z.useStyle(y.defaults(j.getLineStyle(),{fill:"none",stroke:Y,lineJoin:"bevel"}));var V=k.get("smooth");if(V=S(k.get("smooth")),Z.setShape({smooth:V,smoothMonotone:k.get("smoothMonotone"),connectNulls:k.get("connectNulls")}),ge){var $=U.getCalculationInfo("stackedOnSeries"),Te=0;ge.useStyle(y.defaults(H.getAreaStyle(),{fill:Y,opacity:.7,lineJoin:"bevel"})),$&&(Te=S($.get("smooth"))),ge.setShape({smooth:V,stackedOnSmooth:Te,smoothMonotone:k.get("smoothMonotone"),connectNulls:k.get("connectNulls")})}this._data=U,this._coordSys=K,this._stackedOnPoints=Ge,this._points=W,this._step=lt,this._valueOrigin=Ae},dispose:function(){},highlight:function(k,B,P,K){var R=k.getData(),U=r.queryDataIndex(R,K);if(!(U instanceof Array)&&U!=null&&U>=0){var j=R.getItemGraphicEl(U);if(!j){var H=R.getItemLayout(U);if(!H)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(H[0],H[1]))return;j=new c(R,U),j.position=H,j.setZ(k.get("zlevel"),k.get("z")),j.ignore=isNaN(H[0])||isNaN(H[1]),j.__temp=!0,R.setItemGraphicEl(U,j),j.stopSymbolAnimation(!0),this.group.add(j)}j.highlight()}else l.prototype.highlight.call(this,k,B,P,K)},downplay:function(k,B,P,K){var R=k.getData(),U=r.queryDataIndex(R,K);if(U!=null&&U>=0){var j=R.getItemGraphicEl(U);j&&(j.__temp?(R.setItemGraphicEl(U,null),this.group.remove(j)):j.downplay())}else l.prototype.downplay.call(this,k,B,P,K)},_newPolyline:function(k){var B=this._polyline;return B&&this._lineGroup.remove(B),B=new d({shape:{points:k},silent:!0,z2:10}),this._lineGroup.add(B),this._polyline=B,B},_newPolygon:function(k,B){var P=this._polygon;return P&&this._lineGroup.remove(P),P=new n({shape:{points:k,stackedOnPoints:B},silent:!0}),this._lineGroup.add(P),this._polygon=P,P},_updateAnimation:function(k,B,P,K,R,U){var j=this._polyline,H=this._polygon,W=k.hostModel,X=a(this._data,k,this._stackedOnPoints,B,this._coordSys,P,this._valueOrigin,U),z=X.current,G=X.stackedOnCurrent,Z=X.next,ge=X.stackedOnNext;if(R&&(z=L(X.current,P,R),G=L(X.stackedOnCurrent,P,R),Z=L(X.next,P,R),ge=L(X.stackedOnNext,P,R)),A(z,Z)>3e3||H&&A(G,ge)>3e3){j.setShape({points:Z}),H&&H.setShape({points:Z,stackedOnPoints:ge});return}j.shape.__points=X.current,j.shape.points=z,i.updateProps(j,{shape:{points:Z}},W),H&&(H.setShape({points:z,stackedOnPoints:G}),i.updateProps(H,{shape:{points:Z,stackedOnPoints:ge}},W));for(var Q=[],we=X.status,Ee=0;Ee<we.length;Ee++){var Ae=we[Ee].cmd;if(Ae==="="){var Pe=k.getItemGraphicEl(we[Ee].idx1);Pe&&Q.push({el:Pe,ptIdx:Ee})}}j.animators&&j.animators.length&&j.animators[0].during(function(){for(var Ge=0;Ge<Q.length;Ge++){var gt=Q[Ge].el;gt.attr("position",j.shape.__points[Q[Ge].ptIdx])}})},remove:function(k){var B=this.group,P=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),P&&P.eachItemGraphicEl(function(K,R){K.__temp&&(B.remove(K),P.setItemGraphicEl(R,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});D.exports=F},"8XDt":function(D,_,e){e("qH13");var g=e("aX58"),f=g.registerPainter,y=e("6fms");f("vml",y)},"8hn6":function(D,_){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"],y={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"}}}};y.categoryAxis.splitLine.show=!1;var m=y;D.exports=m},"8nMs":function(D,_,e){var g=e("bYtY"),f=e("IwbS"),y=e("+rIm"),m=e("Znkb"),v=e("AVZG"),h=e("WN+l"),c=h.rectCoordAxisBuildSplitArea,a=h.rectCoordAxisHandleRemove,i=["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 u=d.getCoordSysModel(),p=v.layout(u,d),w=new y(d,p);g.each(i,w.add,w),this._axisGroup.add(w.getGroup()),g.each(r,function(b){d.get(b+".show")&&this["_"+b](d,u)},this),f.groupTransition(s,this._axisGroup,d),o.superCall(this,"render",d,n,l,t)},remove:function(){a(this)},_splitLine:function(d,n){var l=d.axis;if(l.scale.isBlank())return;var t=d.getModel("splitLine"),s=t.getModel("lineStyle"),u=s.get("color");u=g.isArray(u)?u:[u];for(var p=n.coordinateSystem.getRect(),w=l.isHorizontal(),b=0,E=l.getTicksCoords({tickModel:t}),A=[],S=[],T=s.getLineStyle(),L=0;L<E.length;L++){var x=l.toGlobalCoord(E[L].coord);w?(A[0]=x,A[1]=p.y,S[0]=x,S[1]=p.y+p.height):(A[0]=p.x,A[1]=x,S[0]=p.x+p.width,S[1]=x);var C=b++%u.length,I=E[L].tickValue;this._axisGroup.add(new f.Line({anid:I!=null?"line_"+E[L].tickValue:null,subPixelOptimize:!0,shape:{x1:A[0],y1:A[1],x2:S[0],y2:S[1]},style:g.defaults({stroke:u[C]},T),silent:!0}))}},_minorSplitLine:function(d,n){var l=d.axis,t=d.getModel("minorSplitLine"),s=t.getModel("lineStyle"),u=n.coordinateSystem.getRect(),p=l.isHorizontal(),w=l.getMinorTicksCoords();if(!w.length)return;for(var b=[],E=[],A=s.getLineStyle(),S=0;S<w.length;S++)for(var T=0;T<w[S].length;T++){var L=l.toGlobalCoord(w[S][T].coord);p?(b[0]=L,b[1]=u.y,E[0]=L,E[1]=u.y+u.height):(b[0]=u.x,b[1]=L,E[0]=u.x+u.width,E[1]=L),this._axisGroup.add(new f.Line({anid:"minor_line_"+w[S][T].tickValue,subPixelOptimize:!0,shape:{x1:b[0],y1:b[1],x2:E[0],y2:E[1]},style:A,silent:!0}))}},_splitArea:function(d,n){c(this,this._axisGroup,d,n)}});o.extend({type:"xAxis"}),o.extend({type:"yAxis"})},"8nly":function(D,_,e){var g=e("mFDi"),f=e("4mN7"),y=e("QBsz"),m=e("BlVb");function v(c,a,i){if(this.name=c,this.geometries=a,i)i=[i[0],i[1]];else{var r=this.getBoundingRect();i=[r.x+r.width/2,r.y+r.height/2]}this.center=i}v.prototype={constructor:v,properties:null,getBoundingRect:function(){var c=this._rect;if(c)return c;for(var a=Number.MAX_VALUE,i=[a,a],r=[-a,-a],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),y.min(i,i,o),y.max(r,r,d)}return l===0&&(i[0]=i[1]=r[0]=r[1]=0),this._rect=new g(i[0],i[1],r[0]-i[0],r[1]-i[1])},contain:function(c){var a=this.getBoundingRect(),i=this.geometries;if(!a.contain(c[0],c[1]))return!1;e:for(var r=0,o=i.length;r<o;r++){if(i[r].type!=="polygon")continue;var d=i[r].exterior,n=i[r].interiors;if(m.contain(d,c[0],c[1])){for(var l=0;l<(n?n.length:0);l++)if(m.contain(n[l]))continue e;return!0}}return!1},transformTo:function(c,a,i,r){var o=this.getBoundingRect(),d=o.width/o.height;i?r||(r=i/d):i=d*r;for(var n=new g(c,a,i,r),l=o.calculateTransform(n),t=this.geometries,s=0;s<t.length;s++){if(t[s].type!=="polygon")continue;for(var u=t[s].exterior,p=t[s].interiors,w=0;w<u.length;w++)y.applyTransform(u[w],u[w],l);for(var b=0;b<(p?p.length:0);b++)for(var w=0;w<p[b].length;w++)y.applyTransform(p[b][w],p[b][w],l)}o=this._rect,o.copy(n),this.center=[o.x+o.width/2,o.y+o.height/2]},cloneShallow:function(c){c==null&&(c=this.name);var a=new v(c,this.geometries,this.center);return a._rect=this._rect,a.transformTo=null,a}};var h=v;D.exports=h},"8waO":function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("iLNv"),m=e("ZWlE");e("hJvP"),e("IXyC"),e("xRUu");var v=5;g.extendComponentView({type:"parallel",render:function(a,i,r){this._model=a,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)),y.createOrUpdate(this,"_throttledDispatchExpand",a.get("axisExpandRate"),"fixRate")},dispose:function(a,i){f.each(this._handlers,function(r,o){i.getZr().off(o,r)}),this._handlers=null},_throttledDispatchExpand:function(a){this._dispatchExpand(a)},_dispatchExpand:function(a){a&&this._api.dispatchAction(f.extend({type:"parallelAxisExpand"},a))}});var h={mousedown:function(a){c(this,"click")&&(this._mouseDownPoint=[a.offsetX,a.offsetY])},mouseup:function(a){var i=this._mouseDownPoint;if(c(this,"click")&&i){var r=[a.offsetX,a.offsetY],o=Math.pow(i[0]-r[0],2)+Math.pow(i[1]-r[1],2);if(o>v)return;var d=this._model.coordinateSystem.getSlidedAxisExpandWindow([a.offsetX,a.offsetY]);d.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:d.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(a){if(this._mouseDownPoint||!c(this,"mousemove"))return;var i=this._model,r=i.coordinateSystem.getSlidedAxisExpandWindow([a.offsetX,a.offsetY]),o=r.behavior;o==="jump"&&this._throttledDispatchExpand.debounceNextCall(i.get("axisExpandDebounce")),this._throttledDispatchExpand(o==="none"?null:{axisExpandWindow:r.axisExpandWindow,animation:o==="jump"?null:!1})}};function c(a,i){var r=a._model;return r.get("axisExpandable")&&r.get("axisExpandTriggerOn")===i}g.registerPreprocessor(m)},"8x+h":function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),m=e("bYtY"),v=e("K4ya"),h=e("Qxkt"),c=["#ddd"],a=y.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&&v.replaceVisualOption(n,o,["inBrush","outOfBrush"]);var l=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:c},l.hasOwnProperty("liftZ")||(l.liftZ=5)},setAreas:function(o){if(!o)return;this.areas=m.map(o,function(d){return i(this.option,d)},this)},setBrushOption:function(o){this.brushOption=i(this.option,o),this.brushType=this.brushOption.brushType}});function i(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=a;D.exports=r},"8z0m":function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("RIqP"),m=e.n(y),v=e("pVnL"),h=e.n(v),c=e("J4zp"),a=e.n(c),i=e("q1tI"),r=e.n(i),o=e("TSYQ"),d=e.n(o);function n(Pt,be){var me="cannot "+Pt.method+" "+Pt.action+" "+be.status+"'",pe=new Error(me);return pe.status=be.status,pe.method=Pt.method,pe.url=Pt.action,pe}function l(Pt){var be=Pt.responseText||Pt.response;if(!be)return be;try{return JSON.parse(be)}catch(me){return be}}function t(Pt){var be=new XMLHttpRequest;Pt.onProgress&&be.upload&&(be.upload.onprogress=function(De){De.total>0&&(De.percent=De.loaded/De.total*100),Pt.onProgress(De)});var me=new FormData;Pt.data&&Object.keys(Pt.data).forEach(function(ue){var De=Pt.data[ue];if(Array.isArray(De)){De.forEach(function(He){me.append(ue+"[]",He)});return}me.append(ue,Pt.data[ue])}),Pt.file instanceof Blob?me.append(Pt.filename,Pt.file,Pt.file.name):me.append(Pt.filename,Pt.file),be.onerror=function(De){Pt.onError(De)},be.onload=function(){return be.status<200||be.status>=300?Pt.onError(n(Pt,be),l(be)):Pt.onSuccess(l(be),be)},be.open(Pt.method,Pt.action,!0),Pt.withCredentials&&"withCredentials"in be&&(be.withCredentials=!0);var pe=Pt.headers||{};return pe["X-Requested-With"]!==null&&be.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(pe).forEach(function(ue){pe[ue]!==null&&be.setRequestHeader(ue,pe[ue])}),be.send(me),{abort:function(){be.abort()}}}var s=+new Date,u=0;function p(){return"rc-upload-"+s+"-"+ ++u}function w(Pt,be){return Pt.indexOf(be,Pt.length-be.length)!==-1}var b=function(Pt,be){if(Pt&&be){var me=Array.isArray(be)?be:be.split(","),pe=Pt.name||"",ue=Pt.type||"",De=ue.replace(/\/.*$/,"");return me.some(function(He){var ze=He.trim();return ze.charAt(0)==="."?w(pe.toLowerCase(),ze.toLowerCase()):/\/\*$/.test(ze)?De===ze.replace(/\/.*$/,""):ue===ze})}return!0};function E(Pt,be){var me=Pt.createReader(),pe=[];function ue(){me.readEntries(function(De){var He=Array.prototype.slice.apply(De);pe=pe.concat(He);var ze=!He.length;ze?be(pe):ue()})}ue()}var A=function(be,me,pe){var ue=function De(He,ze){ze=ze||"",He.isFile?He.file(function(Xe){pe(Xe)&&(He.fullPath&&!Xe.webkitRelativePath&&(Object.defineProperties(Xe,{webkitRelativePath:{writable:!0}}),Xe.webkitRelativePath=He.fullPath.replace(/^\//,""),Object.defineProperties(Xe,{webkitRelativePath:{writable:!1}})),me([Xe]))}):He.isDirectory&&E(He,function(Xe){Xe.forEach(function(Be){De(Be,""+ze+He.name+"/")})})};be.forEach(function(De){ue(De.webkitGetAsEntry())})},S=A,T=Object.assign||function(Pt){for(var be=1;be<arguments.length;be++){var me=arguments[be];for(var pe in me)Object.prototype.hasOwnProperty.call(me,pe)&&(Pt[pe]=me[pe])}return Pt},L=function(){function Pt(be,me){var pe=[],ue=!0,De=!1,He=void 0;try{for(var ze=be[Symbol.iterator](),Xe;!(ue=(Xe=ze.next()).done)&&!(pe.push(Xe.value),me&&pe.length===me);ue=!0);}catch(Be){De=!0,He=Be}finally{try{!ue&&ze.return&&ze.return()}finally{if(De)throw He}}return pe}return function(be,me){if(Array.isArray(be))return be;if(Symbol.iterator in Object(be))return Pt(be,me);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),x=function(){function Pt(be,me){for(var pe=0;pe<me.length;pe++){var ue=me[pe];ue.enumerable=ue.enumerable||!1,ue.configurable=!0,"value"in ue&&(ue.writable=!0),Object.defineProperty(be,ue.key,ue)}}return function(be,me,pe){return me&&Pt(be.prototype,me),pe&&Pt(be,pe),be}}();function C(Pt,be,me){return be in Pt?Object.defineProperty(Pt,be,{value:me,enumerable:!0,configurable:!0,writable:!0}):Pt[be]=me,Pt}function I(Pt,be){var me={};for(var pe in Pt){if(be.indexOf(pe)>=0)continue;if(!Object.prototype.hasOwnProperty.call(Pt,pe))continue;me[pe]=Pt[pe]}return me}function N(Pt,be){if(!(Pt instanceof be))throw new TypeError("Cannot call a class as a function")}function F(Pt,be){if(!Pt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return be&&(typeof be=="object"||typeof be=="function")?be:Pt}function k(Pt,be){if(typeof be!="function"&&be!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof be);Pt.prototype=Object.create(be&&be.prototype,{constructor:{value:Pt,enumerable:!1,writable:!0,configurable:!0}}),be&&(Object.setPrototypeOf?Object.setPrototypeOf(Pt,be):Pt.__proto__=be)}var B=function(be){return Object.keys(be).reduce(function(me,pe){return(pe.substr(0,5)==="data-"||pe.substr(0,5)==="aria-"||pe==="role")&&(me[pe]=be[pe]),me},{})},P=function(Pt){k(be,Pt);function be(){var me,pe,ue,De;N(this,be);for(var He=arguments.length,ze=Array(He),Xe=0;Xe<He;Xe++)ze[Xe]=arguments[Xe];return De=(pe=(ue=F(this,(me=be.__proto__||Object.getPrototypeOf(be)).call.apply(me,[this].concat(ze))),ue),ue.state={uid:p()},ue.reqs={},ue.onChange=function(Be){var nt=Be.target.files;ue.uploadFiles(nt),ue.reset()},ue.onClick=function(Be){var nt=ue.fileInput;if(!nt)return;var At=ue.props,It=At.children,ae=At.onClick;It&&It.type==="button"&&(nt.parentNode.focus(),nt.parentNode.querySelector("button").blur()),nt.click(),ae&&ae(Be)},ue.onKeyDown=function(Be){Be.key==="Enter"&&ue.onClick()},ue.onFileDrop=function(Be){var nt=ue.props.multiple;if(Be.preventDefault(),Be.type==="dragover")return;if(ue.props.directory)S(Array.prototype.slice.call(Be.dataTransfer.items),ue.uploadFiles,function(It){return b(It,ue.props.accept)});else{var At=Array.prototype.slice.call(Be.dataTransfer.files).filter(function(It){return b(It,ue.props.accept)});nt===!1&&(At=At.slice(0,1)),ue.uploadFiles(At)}},ue.uploadFiles=function(Be){var nt=Array.prototype.slice.call(Be);nt.map(function(At){return At.uid=p(),At}).forEach(function(At){ue.upload(At,nt)})},ue.saveFileInput=function(Be){ue.fileInput=Be},pe),F(ue,De)}return x(be,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(pe,ue){var De=this,He=this.props;if(!He.beforeUpload)return setTimeout(function(){return De.post(pe)},0);var ze=He.beforeUpload(pe,ue);ze&&ze.then?ze.then(function(Xe){var Be=Object.prototype.toString.call(Xe);return Be==="[object File]"||Be==="[object Blob]"?De.post(Xe):De.post(pe)}).catch(function(Xe){console.log(Xe)}):ze!==!1&&setTimeout(function(){return De.post(pe)},0);return}},{key:"post",value:function(pe){var ue=this;if(!this._isMounted)return;var De=this.props,He=De.onStart,ze=De.onProgress,Xe=De.transformFile,Be=Xe===void 0?function(nt){return nt}:Xe;new Promise(function(nt){var At=De.action;return typeof At=="function"&&(At=At(pe)),nt(At)}).then(function(nt){var At=pe.uid,It=De.customRequest||t,ae=Promise.resolve(Be(pe)).then(function(he){var q=De.data;return typeof q=="function"&&(q=q(he)),Promise.all([he,q])}).catch(function(he){console.error(he)});ae.then(function(he){var q=L(he,2),ne=q[0],Se=q[1],Ne={action:nt,filename:De.name,data:Se,file:ne,headers:De.headers,withCredentials:De.withCredentials,method:De.method||"post",onProgress:ze?function(Me){ze(Me,pe)}:null,onSuccess:function($e,vt){delete ue.reqs[At],De.onSuccess($e,pe,vt)},onError:function($e,vt){delete ue.reqs[At],De.onError($e,vt,pe)}};ue.reqs[At]=It(Ne),He(pe)})})}},{key:"reset",value:function(){this.setState({uid:p()})}},{key:"abort",value:function(pe){var ue=this.reqs;if(pe){var De=pe;pe&&pe.uid&&(De=pe.uid),ue[De]&&ue[De].abort&&ue[De].abort(),delete ue[De]}else Object.keys(ue).forEach(function(He){ue[He]&&ue[He].abort&&ue[He].abort(),delete ue[He]})}},{key:"render",value:function(){var pe,ue=this.props,De=ue.component,He=ue.prefixCls,ze=ue.className,Xe=ue.disabled,Be=ue.id,nt=ue.style,At=ue.multiple,It=ue.accept,ae=ue.children,he=ue.directory,q=ue.openFileDialogOnClick,ne=ue.onMouseEnter,Se=ue.onMouseLeave,Ne=I(ue,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),Me=d()((pe={},C(pe,He,!0),C(pe,He+"-disabled",Xe),C(pe,ze,ze),pe)),$e=Xe?{}:{onClick:q?this.onClick:function(){},onKeyDown:q?this.onKeyDown:function(){},onMouseEnter:ne,onMouseLeave:Se,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return r.a.createElement(De,T({},$e,{className:Me,role:"button",style:nt}),r.a.createElement("input",T({},B(Ne),{id:Be,type:"file",ref:this.saveFileInput,onClick:function(Wt){return Wt.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:It,directory:he?"directory":null,webkitdirectory:he?"webkitdirectory":null,multiple:At,onChange:this.onChange})),ae)}}]),be}(i.Component),K=P,R=Object.assign||function(Pt){for(var be=1;be<arguments.length;be++){var me=arguments[be];for(var pe in me)Object.prototype.hasOwnProperty.call(me,pe)&&(Pt[pe]=me[pe])}return Pt},U=function(){function Pt(be,me){for(var pe=0;pe<me.length;pe++){var ue=me[pe];ue.enumerable=ue.enumerable||!1,ue.configurable=!0,"value"in ue&&(ue.writable=!0),Object.defineProperty(be,ue.key,ue)}}return function(be,me,pe){return me&&Pt(be.prototype,me),pe&&Pt(be,pe),be}}();function j(Pt,be){if(!(Pt instanceof be))throw new TypeError("Cannot call a class as a function")}function H(Pt,be){if(!Pt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return be&&(typeof be=="object"||typeof be=="function")?be:Pt}function W(Pt,be){if(typeof be!="function"&&be!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof be);Pt.prototype=Object.create(be&&be.prototype,{constructor:{value:Pt,enumerable:!1,writable:!0,configurable:!0}}),be&&(Object.setPrototypeOf?Object.setPrototypeOf(Pt,be):Pt.__proto__=be)}function X(){}var z=function(Pt){W(be,Pt);function be(){var me,pe,ue,De;j(this,be);for(var He=arguments.length,ze=Array(He),Xe=0;Xe<He;Xe++)ze[Xe]=arguments[Xe];return De=(pe=(ue=H(this,(me=be.__proto__||Object.getPrototypeOf(be)).call.apply(me,[this].concat(ze))),ue),ue.saveUploader=function(Be){ue.uploader=Be},pe),H(ue,De)}return U(be,[{key:"abort",value:function(pe){this.uploader.abort(pe)}},{key:"render",value:function(){return r.a.createElement(K,R({},this.props,{ref:this.saveUploader}))}}]),be}(i.Component);z.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:X,onError:X,onSuccess:X,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var G=z,Z=G,ge=function(Pt,be){var me={};for(var pe in Pt)Object.prototype.hasOwnProperty.call(Pt,pe)&&be.indexOf(pe)<0&&(me[pe]=Pt[pe]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,pe=Object.getOwnPropertySymbols(Pt);ue<pe.length;ue++)be.indexOf(pe[ue])<0&&Object.prototype.propertyIsEnumerable.call(Pt,pe[ue])&&(me[pe[ue]]=Pt[pe[ue]]);return me},Q=function(be,me){var pe=be.style,ue=be.height,De=ge(be,["style","height"]);return i.createElement(_t,h()({ref:me},De,{type:"drag",style:h()(h()({},pe),{height:ue})}))},we=i.forwardRef(Q);we.displayName="Dragger";var Ee=we,Ae=e("UmKh"),Pe=e("gZBC"),Ge=e.n(Pe),gt=e("+d4F"),_e=e.n(gt),Ce=e("XAae"),lt=e.n(Ce),ce=e("6xvX"),Y=e.n(ce),V=e("qPY4"),$=e.n(V),Te=e("QB+1"),ye=e.n(Te),Fe=e("Qs3X"),Oe=e.n(Fe),se=e("0n0R");function fe(){return!0}function Le(Pt){return h()(h()({},Pt),{lastModified:Pt.lastModified,lastModifiedDate:Pt.lastModifiedDate,name:Pt.name,size:Pt.size,type:Pt.type,uid:Pt.uid,percent:0,originFileObj:Pt})}function Je(Pt,be){var me=Pt.uid!==void 0?"uid":"name";return be.filter(function(pe){return pe[me]===Pt[me]})[0]}function mt(Pt,be){var me=Pt.uid!==void 0?"uid":"name",pe=be.filter(function(ue){return ue[me]!==Pt[me]});return pe.length===be.length?null:pe}var Ct=function(){var be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",me=be.split("/"),pe=me[me.length-1],ue=pe.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(ue)||[""])[0]},Ue=function(be){return be.indexOf("image/")===0},Rt=function(be){if(be.type&&!be.thumbUrl)return Ue(be.type);var me=be.thumbUrl||be.url,pe=Ct(me);return/^data:image\//.test(me)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(pe)?!0:/^data:/.test(me)?!1:!pe},Ke=200;function wt(Pt){return new Promise(function(be){if(!Pt.type||!Ue(Pt.type)){be("");return}var me=document.createElement("canvas");me.width=Ke,me.height=Ke,me.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(Ke,"px; height: ").concat(Ke,"px; z-index: 9999; display: none;"),document.body.appendChild(me);var pe=me.getContext("2d"),ue=new Image;ue.onload=function(){var De=ue.width,He=ue.height,ze=Ke,Xe=Ke,Be=0,nt=0;De<He?(Xe=He*(Ke/De),nt=-(Xe-ze)/2):(ze=De*(Ke/He),Be=-(ze-Xe)/2),pe.drawImage(ue,Be,nt,ze,Xe);var At=me.toDataURL();document.body.removeChild(me),be(At)},ue.src=window.URL.createObjectURL(Pt)})}var Ye=e("3S7+"),et=e("CFYs"),rt=e("H84U"),st=e("2/Rp"),Ve=e("hkKa"),oe=function(be,me){var pe,ue=be.listType,De=be.previewFile,He=be.onPreview,ze=be.onDownload,Xe=be.onRemove,Be=be.locale,nt=be.iconRender,At=be.isImageUrl,It=be.prefixCls,ae=be.items,he=ae===void 0?[]:ae,q=be.showPreviewIcon,ne=be.showRemoveIcon,Se=be.showDownloadIcon,Ne=be.removeIcon,Me=be.downloadIcon,$e=be.progress,vt=Object(Ve.a)();i.useEffect(function(){if(ue!=="picture"&&ue!=="picture-card")return;(he||[]).forEach(function(ft){if(typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(ft.originFileObj instanceof File||ft.originFileObj instanceof Blob)||ft.thumbUrl!==void 0)return;ft.thumbUrl="",De&&De(ft.originFileObj).then(function(Ot){ft.thumbUrl=Ot||"",vt()})})},[ue,he,De]);var Wt=function(Ot,Tt){return He?(Tt.preventDefault(),He(Ot)):void 0},$t=function(Ot){typeof ze=="function"?ze(Ot):Ot.url&&window.open(Ot.url)},Dt=function(Ot){Xe&&Xe(Ot)},Kt=function(Ot){if(nt)return nt(Ot,ue);var Tt=Ot.status==="uploading",ht=At&&At(Ot)?i.createElement(lt.a,null):i.createElement(Y.a,null),Ht=Tt?i.createElement(Ge.a,null):i.createElement(_e.a,null);return ue==="picture"?Ht=Tt?i.createElement(Ge.a,null):ht:ue==="picture-card"&&(Ht=Tt?Be.uploading:ht),Ht},Gt=function(Ot,Tt,ht,Ht){var Ft={type:"text",size:"small",title:Ht,onClick:function(mr){Tt(),Object(se.b)(Ot)&&Ot.props.onClick&&Ot.props.onClick(mr)},className:"".concat(ht,"-list-item-card-actions-btn")};if(Object(se.b)(Ot)){var ir=Object(se.a)(Ot,h()(h()({},Ot.props),{onClick:function(){}}));return i.createElement(st.a,h()({},Ft,{icon:ir}))}return i.createElement(st.a,Ft,i.createElement("span",null,Ot))};i.useImperativeHandle(me,function(){return{handlePreview:Wt,handleDownload:$t}});var Qt=i.useContext(rt.b),Mt=Qt.getPrefixCls,dr=Qt.direction,er=Mt("upload",It),ot=he.map(function(ft){var Ot,Tt,ht,Ht=Kt(ft),Ft=i.createElement("div",{className:"".concat(er,"-text-icon")},Ht);if(ue==="picture"||ue==="picture-card")if(ft.status==="uploading"||!ft.thumbUrl&&!ft.url){var ir,Xt=d()((ir={},f()(ir,"".concat(er,"-list-item-thumbnail"),!0),f()(ir,"".concat(er,"-list-item-file"),ft.status!=="uploading"),ir));Ft=i.createElement("div",{className:Xt},Ht)}else{var mr,Ar=At&&At(ft)?i.createElement("img",{src:ft.thumbUrl||ft.url,alt:ft.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"),At&&!At(ft)),mr));Ft=i.createElement("a",{className:Nr,onClick:function(gn){return Wt(ft,gn)},href:ft.url||ft.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ar)}if(ft.status==="uploading"){var Fr="percent"in ft?i.createElement(et.a,h()({},$e,{type:"line",percent:ft.percent})):null;ht=i.createElement("div",{className:"".concat(er,"-list-item-progress"),key:"progress"},Fr)}var tn=d()((Ot={},f()(Ot,"".concat(er,"-list-item"),!0),f()(Ot,"".concat(er,"-list-item-").concat(ft.status),!0),f()(Ot,"".concat(er,"-list-item-list-type-").concat(ue),!0),Ot)),qr=typeof ft.linkProps=="string"?JSON.parse(ft.linkProps):ft.linkProps,Lr=ne?Gt(Ne||i.createElement(ye.a,null),function(){return Dt(ft)},er,Be.removeFile):null,Qr=Se&&ft.status==="done"?Gt(Me||i.createElement(Oe.a,null),function(){return $t(ft)},er,Be.downloadFile):null,_r=ue!=="picture-card"&&i.createElement("span",{key:"download-delete",className:"".concat(er,"-list-item-card-actions ").concat(ue==="picture"?"picture":"")},Qr,Lr),ur=d()((Tt={},f()(Tt,"".concat(er,"-list-item-name"),!0),f()(Tt,"".concat(er,"-list-item-name-icon-count-").concat([Qr,Lr].filter(function(Tn){return Tn}).length),!0),Tt)),pr=ft.url?[i.createElement("a",h()({key:"view",target:"_blank",rel:"noopener noreferrer",className:ur,title:ft.name},qr,{href:ft.url,onClick:function(gn){return Wt(ft,gn)}}),ft.name),_r]:[i.createElement("span",{key:"view",className:ur,onClick:function(gn){return Wt(ft,gn)},title:ft.name},ft.name),_r],cr={pointerEvents:"none",opacity:.5},fr=q?i.createElement("a",{href:ft.url||ft.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:ft.url||ft.thumbUrl?void 0:cr,onClick:function(gn){return Wt(ft,gn)},title:Be.previewFile},i.createElement($.a,null)):null,xr=ue==="picture-card"&&ft.status!=="uploading"&&i.createElement("span",{className:"".concat(er,"-list-item-actions")},fr,ft.status==="done"&&Qr,Lr),Yr;ft.response&&typeof ft.response=="string"?Yr=ft.response:Yr=ft.error&&ft.error.statusText||Be.uploadError;var un=i.createElement("span",null,Ft,pr),Nn=i.createElement("div",{className:tn},i.createElement("div",{className:"".concat(er,"-list-item-info")},un),xr,i.createElement(Ae.a,{transitionName:"fade",component:""},ht)),jr=d()(f()({},"".concat(er,"-list-picture-card-container"),ue==="picture-card"));return i.createElement("div",{key:ft.uid,className:jr},ft.status==="error"?i.createElement(Ye.a,{title:Yr,getPopupContainer:function(gn){return gn.parentNode}},Nn):i.createElement("span",null,Nn))}),xt=d()((pe={},f()(pe,"".concat(er,"-list"),!0),f()(pe,"".concat(er,"-list-").concat(ue),!0),f()(pe,"".concat(er,"-list-rtl"),dr==="rtl"),pe)),ut=ue==="picture-card"?"animate-inline":"animate";return i.createElement(Ae.a,{transitionName:"".concat(er,"-").concat(ut),component:"div",className:xt},ot)},re=i.forwardRef(oe);re.displayName="UploadList",re.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:wt,isImageUrl:Rt};var it=re,Qe=e("YMnH"),ve=e("ZvpZ"),Zt=e("uaoM"),dt=e("sPtV"),ct=function(be,me){var pe,ue=be.fileList,De=be.defaultFileList,He=be.onRemove,ze=be.showUploadList,Xe=be.listType,Be=be.onPreview,nt=be.onDownload,At=be.previewFile,It=be.disabled,ae=be.locale,he=be.iconRender,q=be.isImageUrl,ne=be.progress,Se=be.prefixCls,Ne=be.className,Me=be.type,$e=be.children,vt=be.style,Wt=Object(dt.a)(ue||De||[]),$t=a()(Wt,2),Dt=$t[0],Kt=$t[1],Gt=i.useState("drop"),Qt=a()(Gt,2),Mt=Qt[0],dr=Qt[1],er=i.useRef();i.useEffect(function(){Kt(ue||De||[]),Object(Zt.a)("fileList"in be||!("value"in be),"Upload","`value` is not a valid prop, do you mean `fileList`?")},[]),i.useEffect(function(){"fileList"in be&&Kt(ue||[])},[ue]);var ot=function(pr){"fileList"in be||Kt(pr.fileList);var cr=be.onChange;cr&&cr(h()(h()({},pr),{fileList:m()(pr.fileList)}))},xt=function(pr){var cr=Le(pr);cr.status="uploading";var fr=Dt().concat(),xr=fr.findIndex(function(Yr){var un=Yr.uid;return un===cr.uid});xr===-1?fr.push(cr):fr[xr]=cr,ot({file:cr,fileList:fr})},ut=function(pr,cr,fr){try{typeof pr=="string"&&(pr=JSON.parse(pr))}catch(Yr){}var xr=Je(cr,Dt());if(!xr)return;xr.status="done",xr.response=pr,xr.xhr=fr,ot({file:h()({},xr),fileList:Dt().concat()})},ft=function(pr,cr){var fr=Je(cr,Dt());if(!fr)return;fr.percent=pr.percent,ot({event:pr,file:h()({},fr),fileList:Dt().concat()})},Ot=function(pr,cr,fr){var xr=Je(fr,Dt());if(!xr)return;xr.error=pr,xr.response=cr,xr.status="error",ot({file:h()({},xr),fileList:Dt().concat()})},Tt=function(pr){Promise.resolve(typeof He=="function"?He(pr):He).then(function(cr){if(cr===!1)return;var fr=mt(pr,Dt());fr&&(pr.status="removed",er.current&&er.current.abort(pr),ot({file:pr,fileList:fr}))})},ht=function(pr){dr(pr.type)},Ht=function(pr,cr){var fr=be.beforeUpload;if(!fr)return!0;var xr=fr(pr,cr);if(xr===!1){var Yr=[];return Dt().concat(cr.map(Le)).forEach(function(un){Yr.every(function(Nn){return Nn.uid!==un.uid})&&Yr.push(un)}),ot({file:pr,fileList:Yr}),!1}return xr&&xr.then?xr:!0},Ft=Object(Ve.a)();i.useImperativeHandle(me,function(){return{onStart:xt,onSuccess:ut,onProgress:ft,onError:Ot,fileList:Dt(),upload:er.current,forceUpdate:Ft}});var ir=function(pr){var cr=ze.showRemoveIcon,fr=ze.showPreviewIcon,xr=ze.showDownloadIcon,Yr=ze.removeIcon,un=ze.downloadIcon;return i.createElement(it,{listType:Xe,items:Dt(),previewFile:At,onPreview:Be,onDownload:nt,onRemove:Tt,showRemoveIcon:!It&&cr,showPreviewIcon:fr,showDownloadIcon:xr,removeIcon:Yr,downloadIcon:un,iconRender:he,locale:h()(h()({},pr),ae),isImageUrl:q,progress:ne})},Xt=i.useContext(rt.b),mr=Xt.getPrefixCls,Ar=Xt.direction,Nr=mr("upload",Se),Fr=h()(h()({onStart:xt,onError:Ot,onProgress:ft,onSuccess:ut},be),{prefixCls:Nr,beforeUpload:Ht});delete Fr.className,delete Fr.style,(!$e||It)&&delete Fr.id;var tn=ze?i.createElement(Qe.a,{componentName:"Upload",defaultLocale:ve.a.Upload},ir):null;if(Me==="drag"){var qr,Lr=d()(Nr,(qr={},f()(qr,"".concat(Nr,"-drag"),!0),f()(qr,"".concat(Nr,"-drag-uploading"),Dt().some(function(ur){return ur.status==="uploading"})),f()(qr,"".concat(Nr,"-drag-hover"),Mt==="dragover"),f()(qr,"".concat(Nr,"-disabled"),It),f()(qr,"".concat(Nr,"-rtl"),Ar==="rtl"),qr),Ne);return i.createElement("span",null,i.createElement("div",{className:Lr,onDrop:ht,onDragOver:ht,onDragLeave:ht,style:vt},i.createElement(Z,h()({},Fr,{ref:er,className:"".concat(Nr,"-btn")}),i.createElement("div",{className:"".concat(Nr,"-drag-container")},$e))),tn)}var Qr=d()(Nr,(pe={},f()(pe,"".concat(Nr,"-select"),!0),f()(pe,"".concat(Nr,"-select-").concat(Xe),!0),f()(pe,"".concat(Nr,"-disabled"),It),f()(pe,"".concat(Nr,"-rtl"),Ar==="rtl"),pe)),_r=i.createElement("div",{className:Qr,style:$e?void 0:{display:"none"}},i.createElement(Z,h()({},Fr,{ref:er})));return Xe==="picture-card"?i.createElement("span",{className:d()(Ne,"".concat(Nr,"-picture-card-wrapper"))},tn,_r):i.createElement("span",{className:Ne},_r,tn)},yt=i.forwardRef(ct);yt.Dragger=Ee,yt.displayName="Upload",yt.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:fe,showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var _t=yt;_t.Dragger=Ee;var or=_.a=_t},"98bh":function(D,_,e){var g=e("ProS"),f=e("5GtS"),y=e("bYtY"),m=e("4NO4"),v=e("OELB"),h=v.getPercentWithPrecision,c=e("cCMj"),a=e("KxfA"),i=a.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(y.bind(this.getData,this),y.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:y.curry(o,this)})},_createSelectableList:function(){for(var t=this.getRawData(),s=t.mapDimension("value"),u=[],p=0,w=t.count();p<w;p++)u.push({name:t.getName(p),value:t.get(s,p),selected:i(t,p,"selected")});return u},getDataParams:function(t){var s=this.getData(),u=n.superCall(this,"getDataParams",t),p=[];return s.each(s.mapDimension("value"),function(w){p.push(w)}),u.percent=h(p,t,s.hostModel.get("percentPrecision")),u.$vars.push("percent"),u},_defaultLabelLine:function(t){m.defaultEmphasis(t,"labelLine",["show"]);var s=t.labelLine,u=t.emphasis.labelLine;s.show=s.show&&t.label.show,u.show=u.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"}});y.mixin(n,c);var l=n;D.exports=l},"9H2F":function(D,_,e){var g=e("bYtY"),f=g.assert,y=g.isArray,m=e("Tghj"),v=m.__DEV__;function h(d){return new c(d)}function c(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 a=c.prototype;a.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 u=E(this._modBy),p=this._modDataCount||0,w=E(d&&d.modBy),b=d&&d.modDataCount||0;(u!==w||p!==b)&&(s="reset");function E(N){return!(N>=1)&&(N=1),N}var A;(this._dirty||s==="reset")&&(this._dirty=!1,A=o(this,l)),this._modBy=w,this._modDataCount=b;var S=d&&d.step;if(n?this._dueEnd=n._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var T=this._dueIndex,L=Math.min(S!=null?this._dueIndex+S:Infinity,this._dueEnd);if(!l&&(A||T<L)){var x=this._progress;if(y(x))for(var C=0;C<x.length;C++)r(this,x[C],T,L,w,b);else r(this,x,T,L,w,b)}this._dueIndex=L;var I=this._settedOutputEnd!=null?this._settedOutputEnd:L;this._outputDueEnd=I}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var i=function(){var d,n,l,t,s,u={reset:function(b,E,A,S){n=b,d=E,l=A,t=S,s=Math.ceil(t/l),u.next=l>1&&t>0?w:p}};return u;function p(){return n<d?n++:null}function w(){var b=n%s*l+Math.ceil(n/s),E=n>=d?null:b<t?b:n;return n++,E}}();a.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)};function r(d,n,l,t,s,u){i.reset(l,t,s,u),d._callingProgress=n,d._callingProgress({start:l,end:t,count:t-l,next:i.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),y(l)&&!l.length&&(l=null)),d._progress=l,d._modBy=d._modDataCount=null;var s=d._downstream;return s&&s.dirty(),t}a.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},a.pipe=function(d){(this._downstream!==d||this._dirty)&&(this._downstream=d,d._upstream=this,d.dirty())},a.dispose=function(){if(this._disposed)return;this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0},a.getUpstream=function(){return this._upstream},a.getDownstream=function(){return this._downstream},a.setOutputEnd=function(d){this._outputDueEnd=this._settedOutputEnd=d},_.createTask=h},"9KIM":function(D,_,e){var g=e("mFDi"),f=e("xSat"),y=f.onIrrelevantElement,m=e("IwbS");function v(i){return i=a(i),function(r,o){return m.clipPointsByRect(r,i)}}function h(i,r){return i=a(i),function(o){var d=r!=null?r:o,n=d?i.width:i.height,l=d?i.x:i.y;return[l,l+(n||0)]}}function c(i,r,o){return i=a(i),function(d,n,l){return i.contain(n[0],n[1])&&!y(d,r,o)}}function a(i){return g.create(i)}_.makeRectPanelClipPath=v,_.makeLinearBrushOtherExtent=h,_.makeRectIsTargetByCursor=c},"9ama":function(D,_,e){},"9eas":function(D,_,e){e("HM/N"),e("tBnm")},"9hCq":function(D,_,e){var g=e("IwbS"),f=e("+TT/"),y=e("bYtY"),m=e("VaxA"),v=m.wrapTreePathInfo,h=8,c=8,a=5;function i(n){this.group=new g.Group,n.add(this.group)}i.prototype={constructor:i,render:function(n,l,t,s){var u=n.getModel("breadcrumb"),p=this.group;if(p.removeAll(),!u.get("show")||!t)return;var w=u.getModel("itemStyle"),b=w.getModel("textStyle"),E={pos:{left:u.get("left"),right:u.get("right"),top:u.get("top"),bottom:u.get("bottom")},box:{width:l.getWidth(),height:l.getHeight()},emptyItemWidth:u.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(t,E,b),this._renderContent(n,E,w,b,s),f.positionElement(p,E.pos,E.box)},_prepare:function(n,l,t){for(var s=n;s;s=s.parentNode){var u=s.getModel().get("name"),p=t.getTextRect(u),w=Math.max(p.width+h*2,l.emptyItemWidth);l.totalWidth+=w+c,l.renderList.push({node:s,text:u,width:w})}},_renderContent:function(n,l,t,s,u){for(var p=0,w=l.emptyItemWidth,b=n.get("breadcrumb.height"),E=f.getAvailableSize(l.pos,l.box),A=l.totalWidth,S=l.renderList,T=S.length-1;T>=0;T--){var L=S[T],x=L.node,C=L.width,I=L.text;A>E.width&&(A-=C-w,C=w,I=null);var N=new g.Polygon({shape:{points:r(p,0,C,b,T===S.length-1,T===0)},style:y.defaults(t.getItemStyle(),{lineJoin:"bevel",text:I,textFill:s.getTextColor(),textFont:s.getFont()}),z:10,onclick:y.curry(u,x)});this.group.add(N),o(N,n,x),p+=C+c}},remove:function(){this.group.removeAll()}};function r(n,l,t,s,u,p){var w=[[u?n:n-a,l],[n+t,l],[n+t,l+s],[u?n:n-a,l+s]];return!p&&w.splice(2,0,[n+t+a,l+s/2]),!u&&w.push([n,l+s/2]),w}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&&v(t,l)}}var d=i;D.exports=d},"9u0u":function(D,_,e){var g=e("bYtY");function f(m,v){var h={};return g.each(m,function(c){c.each(c.mapDimension("value"),function(a,i){var r="ec-"+c.getName(i);h[r]=h[r]||[],isNaN(a)||h[r].push(a)})}),m[0].map(m[0].mapDimension("value"),function(c,a){for(var i="ec-"+m[0].getName(a),r=0,o=Infinity,d=-Infinity,n=h[i].length,l=0;l<n;l++)o=Math.min(o,h[i][l]),d=Math.max(d,h[i][l]),r+=h[i][l];var t;return v==="min"?t=o:v==="max"?t=d:v==="average"?t=r/n:t=r,n===0?NaN:t})}function y(m){var v={};m.eachSeriesByType("map",function(h){var c=h.getHostGeoModel(),a=c?"o"+c.id:"i"+h.getMapType();(v[a]=v[a]||[]).push(h)}),g.each(v,function(h,c){for(var a=f(g.map(h,function(r){return r.getData()}),h[0].get("mapValueCalculation")),i=0;i<h.length;i++)h[i].originalData=h[i].getData();for(var i=0;i<h.length;i++)h[i].seriesGroup=h,h[i].needsDrawMap=i===0&&!h[i].getHostGeoModel(),h[i].setData(a.cloneShallow()),h[i].mainSeries=h[0]})}D.exports=y},"9wZj":function(D,_,e){var g=e("IwbS"),f=e("FBjb"),y=e("bYtY"),m=y.isObject;function v(o){this.group=new g.Group,this._symbolCtor=o||f}var h=v.prototype;function c(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=a(d);var n=this.group,l=o.hostModel,t=this._data,s=this._symbolCtor,u=i(o);t||n.removeAll(),o.diff(t).add(function(p){var w=o.getItemLayout(p);if(c(o,w,p,d)){var b=new s(o,p,u);b.attr("position",w),o.setItemGraphicEl(p,b),n.add(b)}}).update(function(p,w){var b=t.getItemGraphicEl(w),E=o.getItemLayout(p);if(!c(o,E,p,d)){n.remove(b);return}b?(b.updateData(o,p,u),g.updateProps(b,{position:E},l)):(b=new s(o,p),b.attr("position",E)),n.add(b),o.setItemGraphicEl(p,b)}).remove(function(p){var w=t.getItemGraphicEl(p);w&&w.fadeOut(function(){n.remove(w)})}).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=i(o),this._data=null,this.group.removeAll()},h.incrementalUpdate=function(o,d,n){n=a(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(c(d,s,t,n)){var u=new this._symbolCtor(d,t,this._seriesScope);u.traverse(l),u.attr("position",s),this.group.add(u),d.setItemGraphicEl(t,u)}}};function a(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 i(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=v;D.exports=r},"9yH6":function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),m=e.n(y),v=e("q1tI"),h=e("+6Fa"),c=e("TSYQ"),a=e.n(c),i=e("H84U"),r=v.createContext(null),o=r.Provider,d=r,n=e("cDf5"),l=e.n(n);function t(P,K){typeof P=="function"?P(K):l()(P)==="object"&&P&&"current"in P&&(P.current=K)}function s(){for(var P=arguments.length,K=new Array(P),R=0;R<P;R++)K[R]=arguments[R];return function(U){K.forEach(function(j){t(j,U)})}}var u=e("uaoM"),p=function(P,K){var R={};for(var U in P)Object.prototype.hasOwnProperty.call(P,U)&&K.indexOf(U)<0&&(R[U]=P[U]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,U=Object.getOwnPropertySymbols(P);j<U.length;j++)K.indexOf(U[j])<0&&Object.prototype.propertyIsEnumerable.call(P,U[j])&&(R[U[j]]=P[U[j]]);return R},w=function(K,R){var U,j=v.useContext(d),H=v.useContext(i.b),W=H.getPrefixCls,X=H.direction,z=v.useRef(),G=s(R,z);v.useEffect(function(){Object(u.a)(!("optionType"in K),"Radio","`optionType` is only support in Radio.Group.")},[]);var Z=function(Ce){K.onChange&&K.onChange(Ce),(j==null?void 0:j.onChange)&&j.onChange(Ce)},ge=K.prefixCls,Q=K.className,we=K.children,Ee=K.style,Ae=p(K,["prefixCls","className","children","style"]),Pe=W("radio",ge),Ge=m()({},Ae);j&&(Ge.name=j.name,Ge.onChange=Z,Ge.checked=K.value===j.value,Ge.disabled=K.disabled||j.disabled);var gt=a()(Q,(U={},f()(U,"".concat(Pe,"-wrapper"),!0),f()(U,"".concat(Pe,"-wrapper-checked"),Ge.checked),f()(U,"".concat(Pe,"-wrapper-disabled"),Ge.disabled),f()(U,"".concat(Pe,"-wrapper-rtl"),X==="rtl"),U));return v.createElement("label",{className:gt,style:Ee,onMouseEnter:K.onMouseEnter,onMouseLeave:K.onMouseLeave},v.createElement(h.a,m()({},Ge,{prefixCls:Pe,ref:G})),we!==void 0?v.createElement("span",null,we):null)},b=v.forwardRef(w);b.displayName="Radio",b.defaultProps={type:"radio"};var E=b,A=e("J4zp"),S=e.n(A),T=e("6cGi"),L=e("3Nzz"),x=v.forwardRef(function(P,K){var R=v.useContext(i.b),U=R.getPrefixCls,j=R.direction,H=v.useContext(L.b),W=Object(T.a)(P.defaultValue,{value:P.value}),X=S()(W,2),z=X[0],G=X[1],Z=function(we){var Ee=z,Ae=we.target.value;"value"in P||G(Ae);var Pe=P.onChange;Pe&&Ae!==Ee&&Pe(we)},ge=function(){var we,Ee=P.prefixCls,Ae=P.className,Pe=Ae===void 0?"":Ae,Ge=P.options,gt=P.optionType,_e=P.buttonStyle,Ce=P.disabled,lt=P.children,ce=P.size,Y=P.style,V=P.id,$=P.onMouseEnter,Te=P.onMouseLeave,ye=U("radio",Ee),Fe="".concat(ye,"-group"),Oe=lt;if(Ge&&Ge.length>0){var se=gt==="button"?"".concat(ye,"-button"):ye;Oe=Ge.map(function(Je){return typeof Je=="string"?v.createElement(E,{ref:K,key:Je,prefixCls:se,disabled:Ce,value:Je,checked:z===Je},Je):v.createElement(E,{ref:K,key:"radio-group-value-options-".concat(Je.value),prefixCls:se,disabled:Je.disabled||Ce,value:Je.value,checked:z===Je.value,style:Je.style},Je.label)})}var fe=ce||H,Le=a()(Fe,"".concat(Fe,"-").concat(_e),(we={},f()(we,"".concat(Fe,"-").concat(fe),fe),f()(we,"".concat(Fe,"-rtl"),j==="rtl"),we),Pe);return v.createElement("div",{className:Le,style:Y,onMouseEnter:$,onMouseLeave:Te,id:V},Oe)};return v.createElement(o,{value:{onChange:Z,value:z,disabled:P.disabled,name:P.name}},ge())});x.defaultProps={buttonStyle:"outline"};var C=v.memo(x),I=function(P,K){var R={};for(var U in P)Object.prototype.hasOwnProperty.call(P,U)&&K.indexOf(U)<0&&(R[U]=P[U]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,U=Object.getOwnPropertySymbols(P);j<U.length;j++)K.indexOf(U[j])<0&&Object.prototype.propertyIsEnumerable.call(P,U[j])&&(R[U[j]]=P[U[j]]);return R},N=function(K,R){var U=v.useContext(d),j=v.useContext(i.b),H=j.getPrefixCls,W=K.prefixCls,X=I(K,["prefixCls"]),z=H("radio-button",W);return U&&(X.checked=K.value===U.value,X.disabled=K.disabled||U.disabled),v.createElement(E,m()({prefixCls:z},X,{type:"radio",ref:R}))},F=v.forwardRef(N),k=E;k.Button=F,k.Group=C;var B=_.a=k},A1Ka:function(D,_,e){var g=e("bLfw"),f=e("sS/r"),y=e("D5nY"),m=y.detectSourceFormat,v=e("k9D9"),h=v.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(D,_,e){var g=e("6sVZ"),f=e("V6Ve"),y=Object.prototype,m=y.hasOwnProperty;function v(h){if(!g(h))return f(h);var c=[];for(var a in Object(h))m.call(h,a)&&a!="constructor"&&c.push(a);return c}D.exports=v},ABKa:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("Qs9O")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="FolderOutlined";var c=y.forwardRef(h);_.default=c},AE9C:function(D,_,e){var g=e("bYtY"),f=e("crZl"),y=e("IwbS"),m=e("oVpE"),v=m.createSymbol,h=e("+TT/"),c=e("y7Aq"),a=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(),u=o.itemSize,p=this._getViewData(),w=p.endsText,b=g.retrieve(o.get("showLabel",!0),!w);w&&this._renderEndsText(r,w[0],u,b,s),g.each(p.viewPieceList,E,this),w&&this._renderEndsText(r,w[1],u,b,s),h.box(o.get("orient"),r,o.get("itemGap")),this.renderBackground(r),this.positionGroup(r);function E(A){var S=A.piece,T=new y.Group;T.onclick=g.bind(this._onItemClick,this,S),this._enableHoverLink(T,A.indexInModelPieceList);var L=o.getRepresentValue(S);if(this._createItemSymbol(T,L,[0,0,u[0],u[1]]),b){var x=this.visualMapModel.getValueState(L);T.add(new y.Text({style:{x:s==="right"?-d:u[0]+d,y:u[1]/2,text:S.text,textVerticalAlign:"middle",textAlign:s,textFont:l,textFill:t,opacity:x==="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:c.makeHighDownBatch(l.findTargetDataIndices(o),l)})}},_getItemAlign:function(){var r=this.visualMapModel,o=r.option;if(o.orient==="vertical")return c.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 y.Group,s=this.visualMapModel.textStyleModel;t.add(new y.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(v(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})}}),i=a;D.exports=i},AEZ6:function(D,_,e){var g=e("bYtY"),f=g.each,y=g.createHashMap,m=e("T4UG"),v=e("MwEJ"),h=m.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(i,r){var o=this.getSource();return c(o,this),v(o,this)},getRawIndicesByActiveState:function(i){var r=this.coordinateSystem,o=this.getData(),d=[];return r.eachActiveState(o,function(n,l){i===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 c(i,r){if(i.encodeDefine)return;var o=r.ecModel.getComponent("parallel",r.get("parallelIndex"));if(!o)return;var d=i.encodeDefine=y();f(o.dimensions,function(n){var l=a(n);d.set(n,l)})}function a(i){return+i.replace("dim","")}D.exports=h},AH3D:function(D,_,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(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("5GtS"),m=e("4NO4"),v=m.defaultEmphasis,h=e("D5nY"),c=h.makeSeriesEncodeForNameBased,a=e("xKMd"),i=g.extendSeriesModel({type:"series.funnel",init:function(o){i.superApply(this,"init",arguments),this.legendVisualProvider=new a(f.bind(this.getData,this),f.bind(this.getRawData,this)),this._defaultLabelLine(o)},getInitialData:function(o,d){return y(this,{coordDimensions:["value"],encodeDefaulter:f.curry(c,this)})},_defaultLabelLine:function(o){v(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=i.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=i;D.exports=r},ANjR:function(D,_,e){var g=e("bYtY");function f(m,v){return v=v||[0,0],g.map([0,1],function(h){var c=v[h],a=m[h]/2,i=[],r=[];return i[h]=c-a,r[h]=c+a,i[1-h]=r[1-h]=v[1-h],Math.abs(this.dataToPoint(i)[h]-this.dataToPoint(r)[h])},this)}function y(m){var v=m.getBoundingRect();return{coordSys:{type:"geo",x:v.x,y:v.y,width:v.width,height:v.height,zoom:m.getZoom()},api:{coord:function(h){return m.dataToPoint(h)},size:g.bind(f,m)}}}D.exports=y},AOa7:function(D,_,e){},AUH6:function(D,_,e){var g=e("bYtY"),f=e("mFDi"),y=e("bMXI"),m=e("W4dC");function v(a,i,r,o){y.call(this,a),this.map=i;var d=m.load(i,r);this._nameCoordMap=d.nameCoordMap,this._regionsMap=d.regionsMap,this._invertLongitute=o==null?!0:o,this.regions=d.regions,this._rect=d.boundingRect}v.prototype={constructor:v,type:"geo",dimensions:["lng","lat"],containCoord:function(a){for(var i=this.regions,r=0;r<i.length;r++)if(i[r].contain(a))return!0;return!1},transformTo:function(a,i,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(a,i,r,o)),l.decomposeTransform(),n){var t=l.scale;t[1]=-t[1]}l.updateTransform(),this._updateTransform()},getRegion:function(a){return this._regionsMap.get(a)},getRegionByCoord:function(a){for(var i=this.regions,r=0;r<i.length;r++)if(i[r].contain(a))return i[r]},addGeoCoord:function(a,i){this._nameCoordMap.set(a,i)},getGeoCoord:function(a){return this._nameCoordMap.get(a)},getBoundingRect:function(){return this._rect},dataToPoint:function(a,i,r){if(typeof a=="string"&&(a=this.getGeoCoord(a)),a)return y.prototype.dataToPoint.call(this,a,i,r)},convertToPixel:g.curry(h,"dataToPoint"),convertFromPixel:g.curry(h,"pointToData")},g.mixin(v,y);function h(a,i,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[a](o):null}var c=v;D.exports=c},AVZG:function(D,_,e){var g=e("bYtY");function f(y,m,v){v=v||{};var h=y.coordinateSystem,c=m.axis,a={},i=c.getAxesOnZeroOf()[0],r=c.position,o=i?"onZero":r,d=c.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,u=d==="x"?[l[2]-s,l[3]+s]:[l[0]-s,l[1]+s];if(i){var p=i.toGlobalCoord(i.dataToCoord(0));u[t.onZero]=Math.max(Math.min(p,u[1]),u[0])}a.position=[d==="y"?u[t[o]]:l[0],d==="x"?u[t[o]]:l[3]],a.rotation=Math.PI/2*(d==="x"?0:1);var w={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=w[r],a.labelOffset=i?u[t[r]]-u[t.onZero]:0,m.get("axisTick.inside")&&(a.tickDirection=-a.tickDirection),g.retrieve(v.labelInside,m.get("axisLabel.inside"))&&(a.labelDirection=-a.labelDirection);var b=m.get("axisLabel.rotate");return a.labelRotate=o==="top"?-b:b,a.z2=1,a}_.layout=f},"Ae+d":function(D,_){function e(f,y,m){var v=f.target,h=v.position;h[0]+=y,h[1]+=m,v.dirty()}function g(f,y,m,v){var h=f.target,c=f.zoomLimit,a=h.position,i=h.scale,r=f.zoom=f.zoom||1;if(r*=y,c){var o=c.min||0,d=c.max||Infinity;r=Math.max(Math.min(d,r),o)}var n=r/f.zoom;f.zoom=r,a[0]-=(m-a[0])*(n-1),a[1]-=(v-a[1])*(n-1),i[0]*=n,i[1]*=n,h.dirty()}_.updateViewOnPan=e,_.updateViewOnZoom=g},Ae16:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("IwbS");e("Wqna"),e("rySg"),g.extendComponentView({type:"grid",render:function(m,v){this.group.removeAll(),m.get("show")&&this.group.add(new y.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(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("PQMj"),m=e.n(y)},"B+YJ":function(D,_,e){e("TYVI"),e("p1MT")},"B6l+":function(D,_,e){var g=e("Sq3C"),f=e("Z1HP"),y=e("Sxd8"),m=e("dt0z");function v(h,c,a){h=m(h),c=y(c);var i=c?f(h):0;return c&&i<c?h+g(c-i,a):h}D.exports=v},B8du:function(D,_){function e(){return!1}D.exports=e},B9cy:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("0XgM"),m=e.n(y)},B9fm:function(D,_,e){var g=e("bYtY"),f=e("Qe9p"),y=e("YH21"),m=e("Ze12"),v=e("ItGF"),h=e("7aKB"),c=g.each,a=h.toCamelCase,i=["","-webkit-","-moz-","-o-"],r="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function o(u){var p="cubic-bezier(0.23, 1, 0.32, 1)",w="left "+u+"s "+p+",top "+u+"s "+p;return g.map(i,function(b){return b+"transition:"+w}).join(";")}function d(u){var p=[],w=u.get("fontSize"),b=u.getTextColor();return b&&p.push("color:"+b),p.push("font:"+u.getFont()),w&&p.push("line-height:"+Math.round(w*3/2)+"px"),c(["decoration","align"],function(E){var A=u.get(E);A&&p.push("text-"+E+":"+A)}),p.join(";")}function n(u){var p=[],w=u.get("transitionDuration"),b=u.get("backgroundColor"),E=u.getModel("textStyle"),A=u.get("padding");return w&&p.push(o(w)),b&&(v.canvasSupported?p.push("background-Color:"+b):(p.push("background-Color:#"+f.toHex(b)),p.push("filter:alpha(opacity=70)"))),c(["width","color","radius"],function(S){var T="border-"+S,L=a(T),x=u.get(L);x!=null&&p.push(T+":"+x+(S==="color"?"":"px"))}),p.push(d(E)),A!=null&&p.push("padding:"+h.normalizeCssArray(A).join("px ")+"px"),p.join(";")+";"}function l(u,p,w,b,E){var A=p&&p.painter;if(w){var S=A&&A.getViewportRoot();S&&m.transformLocalCoord(u,S,document.body,b,E)}else{u[0]=b,u[1]=E;var T=A&&A.getViewportRootOffset();T&&(u[0]+=T.offsetLeft,u[1]+=T.offsetTop)}}function t(u,p,w){if(v.wxa)return null;var b=document.createElement("div");b.domBelongToZr=!0,this.el=b;var E=this._zr=p.getZr(),A=this._appendToBody=w&&w.appendToBody;this._styleCoord=[0,0],l(this._styleCoord,E,A,p.getWidth()/2,p.getHeight()/2),A?document.body.appendChild(b):u.appendChild(b),this._container=u,this._show=!1,this._hideTimeout;var S=this;b.onmouseenter=function(){S._enterable&&(clearTimeout(S._hideTimeout),S._show=!0),S._inContent=!0},b.onmousemove=function(T){if(T=T||window.event,!S._enterable){var L=E.handler,x=E.painter.getViewportRoot();y.normalizeEvent(x,T,!0),L.dispatch("mousemove",T)}},b.onmouseleave=function(){S._enterable&&(S._show&&S.hideLater(S._hideDelay)),S._inContent=!1}}t.prototype={constructor:t,_enterable:!0,update:function(){var u=this._container,p=u.currentStyle||document.defaultView.getComputedStyle(u),w=u.style;w.position!=="absolute"&&p.position!=="absolute"&&(w.position="relative")},show:function(u){clearTimeout(this._hideTimeout);var p=this.el,w=this._styleCoord;p.style.cssText=r+n(u)+";left:"+w[0]+"px;top:"+w[1]+"px;"+(u.get("extraCssText")||""),p.style.display=p.innerHTML?"block":"none",p.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(u){this.el.innerHTML=u==null?"":u},setEnterable:function(u){this._enterable=u},getSize:function(){var u=this.el;return[u.clientWidth,u.clientHeight]},moveTo:function(u,p){var w=this._styleCoord;l(w,this._zr,this._appendToBody,u,p);var b=this.el.style;b.left=w[0]+"px",b.top=w[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(u){this._show&&!(this._inContent&&this._enterable)&&(u?(this._hideDelay=u,this._show=!1,this._hideTimeout=setTimeout(g.bind(this.hide,this),u)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var u=this.el.clientWidth,p=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var w=document.defaultView.getComputedStyle(this.el);w&&(u+=parseInt(w.borderLeftWidth,10)+parseInt(w.borderRightWidth,10),p+=parseInt(w.borderTopWidth,10)+parseInt(w.borderBottomWidth,10))}return{width:u,height:p}}};var s=t;D.exports=s},BPZU:function(D,_){var e=32,g=7,f=256;function y(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++;v(o,d,t)}else for(;t<n&&l(o[t],o[t-1])>=0;)t++;return t-d}function v(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],u=d,p=l,w;u<p;)w=u+p>>>1,t(s,o[w])<0?p=w:u=w+1;var b=l-u;switch(b){case 3:o[u+3]=o[u+2];case 2:o[u+2]=o[u+1];case 1:o[u+1]=o[u];break;default:for(;b>0;)o[u+b]=o[u+b-1],b--}o[u]=s}}function c(o,d,n,l,t,s){var u=0,p=0,w=1;if(s(o,d[n+t])>0){for(p=l-t;w<p&&s(o,d[n+t+w])>0;)u=w,w=(w<<1)+1,w<=0&&(w=p);w>p&&(w=p),u+=t,w+=t}else{for(p=t+1;w<p&&s(o,d[n+t-w])<=0;)u=w,w=(w<<1)+1,w<=0&&(w=p);w>p&&(w=p);var b=u;u=t-w,w=t-b}for(u++;u<w;){var E=u+(w-u>>>1);s(o,d[n+E])>0?u=E+1:w=E}return w}function a(o,d,n,l,t,s){var u=0,p=0,w=1;if(s(o,d[n+t])<0){for(p=t+1;w<p&&s(o,d[n+t-w])<0;)u=w,w=(w<<1)+1,w<=0&&(w=p);w>p&&(w=p);var b=u;u=t-w,w=t-b}else{for(p=l-t;w<p&&s(o,d[n+t+w])>=0;)u=w,w=(w<<1)+1,w<=0&&(w=p);w>p&&(w=p),u+=t,w+=t}for(u++;u<w;){var E=u+(w-u>>>1);s(o,d[n+E])<0?w=E:u=E+1}return w}function i(o,d){var n=g,l=0,t=f,s=0,u,p,w=0;l=o.length,l<2*f&&(t=l>>>1);var b=[];s=l<120?5:l<1542?10:l<119151?19:40,u=[],p=[];function E(C,I){u[w]=C,p[w]=I,w+=1}function A(){for(;w>1;){var C=w-2;if(C>=1&&p[C-1]<=p[C]+p[C+1]||C>=2&&p[C-2]<=p[C]+p[C-1])p[C-1]<p[C+1]&&C--;else if(p[C]>p[C+1])break;T(C)}}function S(){for(;w>1;){var C=w-2;C>0&&p[C-1]<p[C+1]&&C--,T(C)}}function T(C){var I=u[C],N=p[C],F=u[C+1],k=p[C+1];p[C]=N+k,C===w-3&&(u[C+1]=u[C+2],p[C+1]=p[C+2]),w--;var B=a(o[F],o,I,N,0,d);if(I+=B,N-=B,N===0)return;if(k=c(o[I+N-1],o,F,k,k-1,d),k===0)return;N<=k?L(I,N,F,k):x(I,N,F,k)}function L(C,I,N,F){var k=0;for(k=0;k<I;k++)b[k]=o[C+k];var B=0,P=N,K=C;if(o[K++]=o[P++],--F===0){for(k=0;k<I;k++)o[K+k]=b[B+k];return}if(I===1){for(k=0;k<F;k++)o[K+k]=o[P+k];o[K+F]=b[B];return}for(var R=n,U,j,H;;){U=0,j=0,H=!1;do if(d(o[P],b[B])<0){if(o[K++]=o[P++],j++,U=0,--F===0){H=!0;break}}else if(o[K++]=b[B++],U++,j=0,--I===1){H=!0;break}while((U|j)<R);if(H)break;do{if(U=a(o[P],b,B,I,0,d),U!==0){for(k=0;k<U;k++)o[K+k]=b[B+k];if(K+=U,B+=U,I-=U,I<=1){H=!0;break}}if(o[K++]=o[P++],--F===0){H=!0;break}if(j=c(b[B],o,P,F,0,d),j!==0){for(k=0;k<j;k++)o[K+k]=o[P+k];if(K+=j,P+=j,F-=j,F===0){H=!0;break}}if(o[K++]=b[B++],--I===1){H=!0;break}R--}while(U>=g||j>=g);if(H)break;R<0&&(R=0),R+=2}if(n=R,n<1&&(n=1),I===1){for(k=0;k<F;k++)o[K+k]=o[P+k];o[K+F]=b[B]}else{if(I===0)throw new Error;for(k=0;k<I;k++)o[K+k]=b[B+k]}}function x(C,I,N,F){var k=0;for(k=0;k<F;k++)b[k]=o[N+k];var B=C+I-1,P=F-1,K=N+F-1,R=0,U=0;if(o[K--]=o[B--],--I===0){for(R=K-(F-1),k=0;k<F;k++)o[R+k]=b[k];return}if(F===1){for(K-=I,B-=I,U=K+1,R=B+1,k=I-1;k>=0;k--)o[U+k]=o[R+k];o[K]=b[P];return}for(var j=n;;){var H=0,W=0,X=!1;do if(d(b[P],o[B])<0){if(o[K--]=o[B--],H++,W=0,--I===0){X=!0;break}}else if(o[K--]=b[P--],W++,H=0,--F===1){X=!0;break}while((H|W)<j);if(X)break;do{if(H=I-a(b[P],o,C,I,I-1,d),H!==0){for(K-=H,B-=H,I-=H,U=K+1,R=B+1,k=H-1;k>=0;k--)o[U+k]=o[R+k];if(I===0){X=!0;break}}if(o[K--]=b[P--],--F===1){X=!0;break}if(W=F-c(o[B],b,0,F,F-1,d),W!==0){for(K-=W,P-=W,F-=W,U=K+1,R=P+1,k=0;k<W;k++)o[U+k]=b[R+k];if(F<=1){X=!0;break}}if(o[K--]=o[B--],--I===0){X=!0;break}j--}while(H>=g||W>=g);if(X)break;j<0&&(j=0),j+=2}if(n=j,n<1&&(n=1),F===1){for(K-=I,B-=I,U=K+1,R=B+1,k=I-1;k>=0;k--)o[U+k]=o[R+k];o[K]=b[P]}else{if(F===0)throw new Error;for(R=K-(F-1),k=0;k<F;k++)o[R+k]=b[k]}}this.mergeRuns=A,this.forceMergeRuns=S,this.pushRun=E}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 u=new i(o,d),p=y(t);do{if(s=m(o,n,l,d),s<p){var w=t;w>p&&(w=p),h(o,n,n+w,n+s,d),s=w}u.pushRun(n,s),u.mergeRuns(),t-=s,n+=s}while(t!==0);u.forceMergeRuns()}D.exports=r},Bd2K:function(D,_,e){(function(g){g(e("VrN/"),e("osHv"))})(function(g){g.defineOption("autoCloseTags",!1,function(i,r,o){if(o!=g.Init&&o&&i.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)}),i.addKeyMap(d)});var f=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],y=["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(i){if(i.getOption("disableInput"))return g.Pass;for(var r=i.listSelections(),o=[],d=i.getOption("autoCloseTags"),n=0;n<r.length;n++){if(!r[n].empty())return g.Pass;var l=r[n].head,t=i.getTokenAt(l),s=g.innerMode(i.getMode(),t.state),u=s.state,p=s.mode.xmlCurrentTag&&s.mode.xmlCurrentTag(u),w=p&&p.name;if(!w)return g.Pass;var b=s.mode.configuration=="html",E=typeof d=="object"&&d.dontCloseTags||b&&f,A=typeof d=="object"&&d.indentTags||b&&y;t.end>l.ch&&(w=w.slice(0,w.length-t.end+l.ch));var S=w.toLowerCase();if(!w||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||E&&c(E,S)>-1||a(i,s.mode.xmlCurrentContext&&s.mode.xmlCurrentContext(u)||[],w,l,!0))return g.Pass;var T=typeof d=="object"&&d.emptyTags;if(T&&c(T,w)>-1){o[n]={text:"/>",newPos:g.Pos(l.line,l.ch+2)};continue}var L=A&&c(A,S)>-1;o[n]={indent:L,text:">"+(L?`
`:"")+"</"+w+">",newPos:L?g.Pos(l.line+1,0):g.Pos(l.line,l.ch+1)}}for(var x=typeof d=="object"&&d.dontIndentOnAutoClose,n=r.length-1;n>=0;n--){var C=o[n];i.replaceRange(C.text,r[n].head,r[n].anchor,"+insert");var I=i.listSelections().slice(0);I[n]={head:C.newPos,anchor:C.newPos},i.setSelections(I),!x&&C.indent&&(i.indentLine(C.newPos.line,null,!0),i.indentLine(C.newPos.line+1,null,!0))}}function v(i,r){for(var o=i.listSelections(),d=[],n=r?"/":"</",l=i.getOption("autoCloseTags"),t=typeof l=="object"&&l.dontIndentOnSlash,s=0;s<o.length;s++){if(!o[s].empty())return g.Pass;var u=o[s].head,p=i.getTokenAt(u),w=g.innerMode(i.getMode(),p.state),b=w.state;if(r&&(p.type=="string"||p.string.charAt(0)!="<"||p.start!=u.ch-1))return g.Pass;var E,A=w.mode.name!="xml"&&i.getMode().name=="htmlmixed";if(A&&w.mode.name=="javascript")E=n+"script";else if(A&&w.mode.name=="css")E=n+"style";else{var S=w.mode.xmlCurrentContext&&w.mode.xmlCurrentContext(b);if(!S||S.length&&a(i,S,S[S.length-1],u))return g.Pass;E=n+S[S.length-1]}i.getLine(u.line).charAt(p.end)!=">"&&(E+=">"),d[s]=E}if(i.replaceSelections(d),o=i.listSelections(),!t)for(var s=0;s<o.length;s++)(s==o.length-1||o[s].head.line<o[s+1].head.line)&&i.indentLine(o[s].head.line)}function h(i){return i.getOption("disableInput")?g.Pass:v(i,!0)}g.commands.closeTag=function(i){return v(i)};function c(i,r){if(i.indexOf)return i.indexOf(r);for(var o=0,d=i.length;o<d;++o)if(i[o]==r)return o;return-1}function a(i,r,o,d,n){if(!g.scanForClosingTag)return!1;var l=Math.min(i.lastLine()+1,d.line+500),t=g.scanForClosingTag(i,d,null,l);if(!t||t.tag!=o)return!1;for(var s=n?1:0,u=r.length-1;u>=0&&r[u]==o;u--)++s;d=t.to;for(var u=1;u<s;u++){var p=g.scanForClosingTag(i,d,null,l);if(!p||p.tag!=o)return!1;d=p.to}return!0}})},BlVb:function(D,_,e){var g=e("hyiK"),f=1e-8;function y(v,h){return Math.abs(v-h)<f}function m(v,h,c){var a=0,i=v[0];if(!i)return!1;for(var r=1;r<v.length;r++){var o=v[r];a+=g(i[0],i[1],o[0],o[1],h,c),i=o}var d=v[0];return(!y(i[0],d[0])||!y(i[1],d[1]))&&(a+=g(i[0],i[1],d[0],d[1],h,c)),a!==0}_.contain=m},BoS7:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("czTT"),m=e.n(y)},Bq2U:function(D,_,e){var g=e("RDYZ"),f=e("Qe9p"),y=e("bYtY"),m=y.isArrayLike,v=Array.prototype.slice;function h(E,A){return E[A]}function c(E,A,S){E[A]=S}function a(E,A,S){return(A-E)*S+E}function i(E,A,S){return S>.5?A:E}function r(E,A,S,T,L){var x=E.length;if(L===1)for(var C=0;C<x;C++)T[C]=a(E[C],A[C],S);else for(var I=x&&E[0].length,C=0;C<x;C++)for(var N=0;N<I;N++)T[C][N]=a(E[C][N],A[C][N],S)}function o(E,A,S){var T=E.length,L=A.length;if(T!==L){var x=T>L;if(x)E.length=L;else for(var C=T;C<L;C++)E.push(S===1?A[C]:v.call(A[C]))}for(var I=E[0]&&E[0].length,C=0;C<E.length;C++)if(S===1)isNaN(E[C])&&(E[C]=A[C]);else for(var N=0;N<I;N++)isNaN(E[C][N])&&(E[C][N]=A[C][N])}function d(E,A,S){if(E===A)return!0;var T=E.length;if(T!==A.length)return!1;if(S===1){for(var L=0;L<T;L++)if(E[L]!==A[L])return!1}else for(var x=E[0].length,L=0;L<T;L++)for(var C=0;C<x;C++)if(E[L][C]!==A[L][C])return!1;return!0}function n(E,A,S,T,L,x,C,I,N){var F=E.length;if(N===1)for(var k=0;k<F;k++)I[k]=l(E[k],A[k],S[k],T[k],L,x,C);else for(var B=E[0].length,k=0;k<F;k++)for(var P=0;P<B;P++)I[k][P]=l(E[k][P],A[k][P],S[k][P],T[k][P],L,x,C)}function l(E,A,S,T,L,x,C){var I=(S-E)*.5,N=(T-A)*.5;return(2*(A-S)+I+N)*C+(-3*(A-S)-2*I-N)*x+I*L+A}function t(E){if(m(E)){var A=E.length;if(m(E[0])){for(var S=[],T=0;T<A;T++)S.push(v.call(E[T]));return S}return v.call(E)}return E}function s(E){return E[0]=Math.floor(E[0]),E[1]=Math.floor(E[1]),E[2]=Math.floor(E[2]),"rgba("+E.join(",")+")"}function u(E){var A=E[E.length-1].value;return m(A&&A[0])?2:1}function p(E,A,S,T,L,x){var C=E._getter,I=E._setter,N=A==="spline",F=T.length;if(!F)return;var k=T[0].value,B=m(k),P=!1,K=!1,R=B?u(T):0,U;T.sort(function(Y,V){return Y.time-V.time}),U=T[F-1].time;for(var j=[],H=[],W=T[0].value,X=!0,z=0;z<F;z++){j.push(T[z].time/U);var G=T[z].value;if(B&&d(G,W,R)||!B&&G===W||(X=!1),W=G,typeof G=="string"){var Z=f.parse(G);Z?(G=Z,P=!0):K=!0}H.push(G)}if(!x&&X)return;for(var ge=H[F-1],z=0;z<F-1;z++)B?o(H[z],ge,R):isNaN(H[z])&&!isNaN(ge)&&!K&&!P&&(H[z]=ge);B&&o(C(E._target,L),ge,R);var Q=0,we=0,Ee,Ae,Pe,Ge,gt,_e;if(P)var Ce=[0,0,0,0];var lt=function(V,$){var Te;if($<0)Te=0;else if($<we){for(Ee=Math.min(Q+1,F-1),Te=Ee;Te>=0&&!(j[Te]<=$);Te--);Te=Math.min(Te,F-2)}else{for(Te=Q;Te<F&&!(j[Te]>$);Te++);Te=Math.min(Te-1,F-2)}Q=Te,we=$;var ye=j[Te+1]-j[Te];if(ye===0)return;if(Ae=($-j[Te])/ye,N)if(Ge=H[Te],Pe=H[Te===0?Te:Te-1],gt=H[Te>F-2?F-1:Te+1],_e=H[Te>F-3?F-1:Te+2],B)n(Pe,Ge,gt,_e,Ae,Ae*Ae,Ae*Ae*Ae,C(V,L),R);else{var Fe;if(P)Fe=n(Pe,Ge,gt,_e,Ae,Ae*Ae,Ae*Ae*Ae,Ce,1),Fe=s(Ce);else{if(K)return i(Ge,gt,Ae);Fe=l(Pe,Ge,gt,_e,Ae,Ae*Ae,Ae*Ae*Ae)}I(V,L,Fe)}else if(B)r(H[Te],H[Te+1],Ae,C(V,L),R);else{var Fe;if(P)r(H[Te],H[Te+1],Ae,Ce,1),Fe=s(Ce);else{if(K)return i(H[Te],H[Te+1],Ae);Fe=a(H[Te],H[Te+1],Ae)}I(V,L,Fe)}},ce=new g({target:E._target,life:U,loop:E._loop,delay:E._delay,onframe:lt,ondestroy:S});return A&&A!=="spline"&&(ce.easing=A),ce}var w=function(A,S,T,L){this._tracks={},this._target=A,this._loop=S||!1,this._getter=T||h,this._setter=L||c,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};w.prototype={when:function(A,S){var T=this._tracks;for(var L in S){if(!S.hasOwnProperty(L))continue;if(!T[L]){T[L]=[];var x=this._getter(this._target,L);if(x==null)continue;A!==0&&T[L].push({time:0,value:t(x)})}T[L].push({time:A,value:S[L]})}return this},during:function(A){return this._onframeList.push(A),this},pause:function(){for(var A=0;A<this._clipList.length;A++)this._clipList[A].pause();this._paused=!0},resume:function(){for(var A=0;A<this._clipList.length;A++)this._clipList[A].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var A=this._doneList,S=A.length,T=0;T<S;T++)A[T].call(this)},start:function(A,S){var T=this,L=0,x=function(){L--,L||T._doneCallback()},C;for(var I in this._tracks){if(!this._tracks.hasOwnProperty(I))continue;var N=p(this,A,x,this._tracks[I],I,S);N&&(this._clipList.push(N),L++,this.animation&&this.animation.addClip(N),C=N)}if(C){var F=C.onframe;C.onframe=function(k,B){F(k,B);for(var P=0;P<T._onframeList.length;P++)T._onframeList[P](k,B)}}return L||this._doneCallback(),this},stop:function(A){for(var S=this._clipList,T=this.animation,L=0;L<S.length;L++){var x=S[L];A&&x.onframe(this._target,1),T&&T.removeClip(x)}S.length=0},delay:function(A){return this._delay=A,this},done:function(A){return A&&this._doneList.push(A),this},getClips:function(){return this._clipList}};var b=w;D.exports=b},Bqw1:function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},Bsck:function(D,_,e){var g=e("bYtY"),f=e("Qxkt"),y=e("Mdki"),m=e("YXkt"),v=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 c(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)})}c.prototype={constructor:c,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()}},c.createTree=function(r,o,d,n){var l=new c(o,d&&d.levels),t=[],s=1;u(r);function u(b,E){var A=b.value;s=Math.max(s,g.isArray(A)?A.length:1),t.push(b);var S=new h(b.name,l);E?a(S,E):l.root=S,l._nodes.push(S);var T=b.children;if(T)for(var L=0;L<T.length;L++)u(T[L],S)}l.root.updateDepthAndHeight(0);var p=v(t,{coordDimensions:["value"],dimensionsCount:s}),w=new m(p,o);return w.initData(t),n&&n(w),y({mainData:w,struct:l,structAttr:"tree"}),l.update(),l};function a(r,o){var d=o.children;if(r.parentNode===o)return;d.push(r),r.parentNode=o}var i=c;D.exports=i},BtR2:function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="LikeOutlined";var h=_.a=g.forwardRef(v)},BuqR:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=e("6uqw"),v=e("XxSj"),h=e("YOMW"),c=e("OELB"),a=c.reformIntervals,i=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){i.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(u,p){t==="categories"?(u.mappingMethod="category",u.categories=y.clone(s)):(u.dataExtent=this.getExtent(),u.mappingMethod="piecewise",u.pieceList=y.map(this._pieceList,function(w){var w=y.clone(w);return p!=="inRange"&&(w.visual=null),w}))})},completeVisualOption:function(){var n=this.option,l={},t=v.listVisualTypes(),s=this.isCategory();y.each(n.pieces,function(p){y.each(t,function(w){p.hasOwnProperty(w)&&(l[w]=1)})}),y.each(l,function(p,w){var b=0;y.each(this.stateList,function(E){b|=u(n,E,w)||u(n.target,E,w)},this),!b&&y.each(this.stateList,function(E){(n[E]||(n[E]={}))[w]=h.get(w,E==="inRange"?"active":"inactive",s)})},this);function u(p,w,b){return p&&p[w]&&(y.isObject(p[w])?p[w].hasOwnProperty(b):p[w]===b)}m.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(n,l){var t=this.option,s=this._pieceList,u=(l?t:n).selected||{};if(t.selected=u,y.each(s,function(w,b){var E=this.getSelectedMapKey(w);u.hasOwnProperty(E)||(u[E]=!0)},this),t.selectedMode==="single"){var p=!1;y.each(s,function(w,b){var E=this.getSelectedMapKey(w);u[E]&&(p?u[E]=!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=y.clone(n)},getValueState:function(n){var l=v.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=[],u=t.getData();u.each(this.getDataDimension(u),function(p,w){var b=v.findPieceIndex(p,this._pieceList);b===n&&s.push(w)},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 u(E,A){var S=s.getRepresentValue({interval:E});A||(A=s.getValueState(S));var T=n(S,A);E[0]===-Infinity?t[0]=T:E[1]===Infinity?t[1]=T:l.push({value:E[0],color:T},{value:E[1],color:T})}var p=this._pieceList.slice();if(!p.length)p.push({interval:[-Infinity,Infinity]});else{var w=p[0].interval[0];w!==-Infinity&&p.unshift({interval:[-Infinity,w]}),w=p[p.length-1].interval[1],w!==Infinity&&p.push({interval:[w,Infinity]})}var b=-Infinity;return y.each(p,function(E){var A=E.interval;A&&(A[0]>b&&u([b,A[0]],"outOfRange"),u(A.slice()),b=A[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(),u=n.splitNumber;u=Math.max(parseInt(u,10),1),n.splitNumber=u;for(var p=(s[1]-s[0])/u;+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 w=0,b=s[0];w<u;b+=p,w++){var E=w===u-1?s[1]:b+p;l.push({interval:[b,E],close:[1,1]})}n.maxOpen&&l.push({interval:[s[1],Infinity],close:[0,0]}),a(l),y.each(l,function(A,S){A.index=S,A.text=this.formatValueText(A.interval)},this)},categories:function(){var n=this.option;y.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;y.each(n.pieces,function(t,s){y.isObject(t)||(t={value:t});var u={text:"",index:s};if(t.label!=null&&(u.text=t.label),t.hasOwnProperty("value")){var p=u.value=t.value;u.interval=[p,p],u.close=[1,1]}else{for(var w=u.interval=[],b=u.close=[0,0],E=[1,0,1],A=[-Infinity,Infinity],S=[],T=0;T<2;T++){for(var L=[["gte","gt","min"],["lte","lt","max"]][T],x=0;x<3&&w[T]==null;x++)w[T]=t[L[x]],b[T]=E[x],S[T]=x===2;w[T]==null&&(w[T]=A[T])}S[0]&&w[1]===Infinity&&(b[0]=0),S[1]&&w[0]===-Infinity&&(b[1]=0),w[0]===w[1]&&b[0]&&b[1]&&(u.value=w[0])}u.visual=v.retrieveVisuals(t),l.push(u)},this),o(n,l),a(l),y.each(l,function(t){var s=t.close,u=[["<","\u2264"][s[1]],[">","\u2265"][s[0]]];t.text=t.text||this.formatValueText(t.value!=null?t.value:t.interval,!1,u)},this)}};function o(n,l){var t=n.inverse;(n.orient==="vertical"?!t:t)&&l.reverse()}var d=i;D.exports=d},BvKs:function(D,_,e){"use strict";e.d(_,"a",function(){return B});var g=e("pVnL"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),a=e.n(c),i=e("7W2i"),r=e.n(i),o=e("LQ03"),d=e.n(o),n=e("q1tI"),l=e("1j5w"),t=e("TSYQ"),s=e.n(t),u=e("BGR+"),p=Object(n.createContext)({inlineCollapsed:!1}),w=p,b=e("0n0R"),E=function(P){r()(R,P);var K=d()(R);function R(){return h()(this,R),K.apply(this,arguments)}return a()(R,[{key:"renderTitle",value:function(j){var H=this.props,W=H.icon,X=H.title,z=H.level,G=H.rootPrefixCls;if(!W)return j&&z===1&&X&&typeof X=="string"?n.createElement("div",{className:"".concat(G,"-inline-collapsed-noicon")},X.charAt(0)):X;var Z=Object(b.b)(X)&&X.type==="span";return n.createElement(n.Fragment,null,W,Z?X:n.createElement("span",null,X))}},{key:"render",value:function(){var j=this,H=this.props,W=H.rootPrefixCls,X=H.popupClassName;return n.createElement(w.Consumer,null,function(z){var G=z.inlineCollapsed,Z=z.antdMenuTheme;return n.createElement(l.e,f()({},Object(u.default)(j.props,["icon"]),{title:j.renderTitle(G),popupClassName:s()(W,"".concat(W,"-").concat(Z),X)}))})}}]),R}(n.Component);E.contextType=w,E.isSubMenu=1;var A=E,S=e("Zm9Q"),T=e("3S7+"),L=e("ZX9x"),x=function(P,K){var R={};for(var U in P)Object.prototype.hasOwnProperty.call(P,U)&&K.indexOf(U)<0&&(R[U]=P[U]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,U=Object.getOwnPropertySymbols(P);j<U.length;j++)K.indexOf(U[j])<0&&Object.prototype.propertyIsEnumerable.call(P,U[j])&&(R[U[j]]=P[U[j]]);return R},C=function(P){r()(R,P);var K=d()(R);function R(){var U;return h()(this,R),U=K.apply(this,arguments),U.renderItem=function(j){var H=j.siderCollapsed,W=U.props,X=W.level,z=W.className,G=W.children,Z=W.rootPrefixCls,ge=U.props,Q=ge.title,we=ge.icon,Ee=ge.danger,Ae=x(ge,["title","icon","danger"]);return n.createElement(w.Consumer,null,function(Pe){var Ge,gt=Pe.inlineCollapsed,_e=Pe.direction,Ce=Q;typeof Q=="undefined"?Ce=X===1?G:"":Q===!1&&(Ce="");var lt={title:Ce};!H&&!gt&&(lt.title=null,lt.visible=!1);var ce=Object(S.a)(G).length;return n.createElement(T.a,f()({},lt,{placement:_e==="rtl"?"left":"right",overlayClassName:"".concat(Z,"-inline-collapsed-tooltip")}),n.createElement(l.b,f()({},Ae,{className:s()(z,(Ge={},m()(Ge,"".concat(Z,"-item-danger"),Ee),m()(Ge,"".concat(Z,"-item-only-child"),(we?ce+1:ce)===1),Ge)),title:Q}),we,U.renderItemChildren(gt)))})},U}return a()(R,[{key:"renderItemChildren",value:function(j){var H=this.props,W=H.icon,X=H.children,z=H.level,G=H.rootPrefixCls;return!W||Object(b.b)(X)&&X.type==="span"?X&&j&&z===1&&typeof X=="string"?n.createElement("div",{className:"".concat(G,"-inline-collapsed-noicon")},X.charAt(0)):X:n.createElement("span",null,X)}},{key:"render",value:function(){return n.createElement(L.a.Consumer,null,this.renderItem)}}]),R}(n.Component);C.isMenuItem=!0;var I=e("H84U"),N=e("uaoM"),F=e("EXcs"),k=function(P){r()(R,P);var K=d()(R);function R(U){var j;return h()(this,R),j=K.call(this,U),j.renderMenu=function(H){var W=H.getPopupContainer,X=H.getPrefixCls,z=H.direction,G=j.props,Z=G.prefixCls,ge=G.className,Q=G.theme,we={horizontal:{motionName:"slide-up"},inline:F.a,other:{motionName:"zoom-big"}},Ee=X("menu",Z),Ae=s()(ge,"".concat(Ee,"-").concat(Q),m()({},"".concat(Ee,"-inline-collapsed"),j.getInlineCollapsed()));return n.createElement(w.Provider,{value:{inlineCollapsed:j.getInlineCollapsed()||!1,antdMenuTheme:Q,direction:z}},n.createElement(l.f,f()({getPopupContainer:W},j.props,{className:Ae,prefixCls:Ee,direction:z,defaultMotions:we})))},Object(N.a)(!("inlineCollapsed"in U&&U.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(N.a)(!(U.siderCollapsed!==void 0&&"inlineCollapsed"in U),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),j}return a()(R,[{key:"getInlineCollapsed",value:function(){var j=this.props,H=j.inlineCollapsed,W=j.siderCollapsed;return W!==void 0?W:H}},{key:"render",value:function(){return n.createElement(I.a,null,this.renderMenu)}}]),R}(n.Component);k.defaultProps={className:"",theme:"light",focusable:!1};var B=function(P){r()(R,P);var K=d()(R);function R(){return h()(this,R),K.apply(this,arguments)}return a()(R,[{key:"render",value:function(){var j=this;return n.createElement(L.a.Consumer,null,function(H){return n.createElement(k,f()({},j.props,H))})}}]),R}(n.Component);B.Divider=l.a,B.Item=C,B.SubMenu=A,B.ItemGroup=l.c},C0SR:function(D,_,e){var g=e("YH21"),f=function(){this._track=[]};f.prototype={constructor:f,recognize:function(a,i,r){return this._doTrack(a,i,r),this._recognize(a)},clear:function(){return this._track.length=0,this},_doTrack:function(a,i,r){var o=a.touches;if(!o)return;for(var d={points:[],touches:[],target:i,event:a},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(a){for(var i in v)if(v.hasOwnProperty(i)){var r=v[i](this._track,a);if(r)return r}}};function y(c){var a=c[1][0]-c[0][0],i=c[1][1]-c[0][1];return Math.sqrt(a*a+i*i)}function m(c){return[(c[0][0]+c[1][0])/2,(c[0][1]+c[1][1])/2]}var v={pinch:function(a,i){var r=a.length;if(!r)return;var o=(a[r-1]||{}).points,d=(a[r-2]||{}).points||o;if(d&&d.length>1&&o&&o.length>1){var n=y(o)/y(d);!isFinite(n)&&(n=1),i.pinchScale=n;var l=m(o);return i.pinchX=l[0],i.pinchY=l[1],{type:"pinch",target:a[0].target,event:i}}}},h=f;D.exports=h},C0tN:function(D,_,e){e("0o9m"),e("8Uz6"),e("Ducp"),e("6/nd")},CBdT:function(D,_,e){var g=e("ProS");e("8waO"),e("AEZ6"),e("YNf1");var f=e("q3GZ");g.registerVisual(f)},CF2D:function(D,_,e){var g=e("ProS");e("vZI5"),e("GeKi");var f=e("6r85"),y=e("TJmX"),m=e("CbHG");g.registerPreprocessor(f),g.registerVisual(y),g.registerLayout(m)},CFYs:function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),m=e.n(y),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),a=e.n(c),i=e("PJYZ"),r=e.n(i),o=e("7W2i"),d=e.n(o),n=e("LQ03"),l=e.n(n),t=e("q1tI"),s=e.n(t),u=e("TSYQ"),p=e.n(u),w=e("BGR+"),b=e("V/uB"),E=e.n(b),A=e("NAnI"),S=e.n(A),T=e("J84W"),L=e.n(T),x=e("kbBi"),C=e.n(x),I=e("H84U"),N=e("CWQg"),F=e("uaoM"),k=e("Zss7"),B=e.n(k),P=2,K=.16,R=.05,U=.05,j=.15,H=5,W=4,X=[{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 z(Me,$e,vt){var Wt;return Math.round(Me.h)>=60&&Math.round(Me.h)<=240?Wt=vt?Math.round(Me.h)-P*$e:Math.round(Me.h)+P*$e:Wt=vt?Math.round(Me.h)+P*$e:Math.round(Me.h)-P*$e,Wt<0?Wt+=360:Wt>=360&&(Wt-=360),Wt}function G(Me,$e,vt){if(Me.h===0&&Me.s===0)return Me.s;var Wt;return vt?Wt=Me.s-K*$e:$e===W?Wt=Me.s+K:Wt=Me.s+R*$e,Wt>1&&(Wt=1),vt&&$e===H&&Wt>.1&&(Wt=.1),Wt<.06&&(Wt=.06),Number(Wt.toFixed(2))}function Z(Me,$e,vt){var Wt;return vt?Wt=Me.v+U*$e:Wt=Me.v-j*$e,Wt>1&&(Wt=1),Number(Wt.toFixed(2))}function ge(Me){for(var $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},vt=[],Wt=B()(Me),$t=H;$t>0;$t-=1){var Dt=Wt.toHsv(),Kt=B()({h:z(Dt,$t,!0),s:G(Dt,$t,!0),v:Z(Dt,$t,!0)}).toHexString();vt.push(Kt)}vt.push(Wt.toHexString());for(var Gt=1;Gt<=W;Gt+=1){var Qt=Wt.toHsv(),Mt=B()({h:z(Qt,Gt),s:G(Qt,Gt),v:Z(Qt,Gt)}).toHexString();vt.push(Mt)}return $e.theme==="dark"?X.map(function(dr){var er=dr.index,ot=dr.opacity,xt=B.a.mix($e.backgroundColor||"#141414",vt[er],ot*100).toHexString();return xt}):vt}var Q={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"},we={},Ee={};Object.keys(Q).forEach(function(Me){we[Me]=ge(Q[Me]),we[Me].primary=we[Me][5],Ee[Me]=ge(Q[Me],{theme:"dark",backgroundColor:"#141414"}),Ee[Me].primary=Ee[Me][5]});var Ae=we.red,Pe=we.volcano,Ge=we.gold,gt=we.orange,_e=we.yellow,Ce=we.lime,lt=we.green,ce=we.cyan,Y=we.blue,V=we.geekblue,$=we.purple,Te=we.magenta,ye=we.grey;function Fe(Me){return!Me||Me<0?0:Me>100?100:Me}function Oe(Me){var $e=Me.success,vt=Me.successPercent,Wt=vt;return $e&&"progress"in $e&&(Object(F.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),Wt=$e.progress),$e&&"percent"in $e&&(Wt=$e.percent),Wt}var se=function(Me,$e){var vt={};for(var Wt in Me)Object.prototype.hasOwnProperty.call(Me,Wt)&&$e.indexOf(Wt)<0&&(vt[Wt]=Me[Wt]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $t=0,Wt=Object.getOwnPropertySymbols(Me);$t<Wt.length;$t++)$e.indexOf(Wt[$t])<0&&Object.prototype.propertyIsEnumerable.call(Me,Wt[$t])&&(vt[Wt[$t]]=Me[Wt[$t]]);return vt},fe=function($e){var vt=[];return Object.keys($e).forEach(function(Wt){var $t=parseFloat(Wt.replace(/%/g,""));isNaN($t)||vt.push({key:$t,value:$e[Wt]})}),vt=vt.sort(function(Wt,$t){return Wt.key-$t.key}),vt.map(function(Wt){var $t=Wt.key,Dt=Wt.value;return"".concat(Dt," ").concat($t,"%")}).join(", ")},Le=function($e){var vt=$e.from,Wt=vt===void 0?Q.blue:vt,$t=$e.to,Dt=$t===void 0?Q.blue:$t,Kt=$e.direction,Gt=Kt===void 0?"to right":Kt,Qt=se($e,["from","to","direction"]);if(Object.keys(Qt).length!==0){var Mt=fe(Qt);return{backgroundImage:"linear-gradient(".concat(Gt,", ").concat(Mt,")")}}return{backgroundImage:"linear-gradient(".concat(Gt,", ").concat(Wt,", ").concat(Dt,")")}},Je=function($e){var vt=$e.prefixCls,Wt=$e.percent,$t=$e.strokeWidth,Dt=$e.size,Kt=$e.strokeColor,Gt=$e.strokeLinecap,Qt=$e.children,Mt=$e.trailColor,dr=$e.success,er=Kt&&typeof Kt!="string"?Le(Kt):{background:Kt},ot=Mt?{backgroundColor:Mt}:void 0,xt=m()({width:"".concat(Fe(Wt),"%"),height:$t||(Dt==="small"?6:8),borderRadius:Gt==="square"?0:""},er),ut=Oe($e),ft={width:"".concat(Fe(ut),"%"),height:$t||(Dt==="small"?6:8),borderRadius:Gt==="square"?0:"",backgroundColor:dr==null?void 0:dr.strokeColor},Ot=ut!==void 0?t.createElement("div",{className:"".concat(vt,"-success-bg"),style:ft}):null;return t.createElement(t.Fragment,null,t.createElement("div",{className:"".concat(vt,"-outer")},t.createElement("div",{className:"".concat(vt,"-inner"),style:ot},t.createElement("div",{className:"".concat(vt,"-bg"),style:xt}),Ot)),Qt)},mt=Je,Ct={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},Ue=function($e){var vt=$e.map(function(){return Object(t.useRef)()}),Wt=Object(t.useRef)();return Object(t.useEffect)(function(){var $t=Date.now(),Dt=!1;Object.keys(vt).forEach(function(Kt){var Gt=vt[Kt].current;if(!Gt)return;Dt=!0;var Qt=Gt.style;Qt.transitionDuration=".3s, .3s, .3s, .06s",Wt.current&&$t-Wt.current<100&&(Qt.transitionDuration="0s, 0s")}),Dt&&(Wt.current=Date.now())}),[vt]};function Rt(){return Rt=Object.assign||function(Me){for(var $e=1;$e<arguments.length;$e++){var vt=arguments[$e];for(var Wt in vt)Object.prototype.hasOwnProperty.call(vt,Wt)&&(Me[Wt]=vt[Wt])}return Me},Rt.apply(this,arguments)}function Ke(Me,$e){return st(Me)||rt(Me,$e)||Ye(Me,$e)||wt()}function wt(){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 Ye(Me,$e){if(!Me)return;if(typeof Me=="string")return et(Me,$e);var vt=Object.prototype.toString.call(Me).slice(8,-1);if(vt==="Object"&&Me.constructor&&(vt=Me.constructor.name),vt==="Map"||vt==="Set")return Array.from(Me);if(vt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(vt))return et(Me,$e)}function et(Me,$e){($e==null||$e>Me.length)&&($e=Me.length);for(var vt=0,Wt=new Array($e);vt<$e;vt++)Wt[vt]=Me[vt];return Wt}function rt(Me,$e){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Me)))return;var vt=[],Wt=!0,$t=!1,Dt=void 0;try{for(var Kt=Me[Symbol.iterator](),Gt;!(Wt=(Gt=Kt.next()).done)&&!(vt.push(Gt.value),$e&&vt.length===$e);Wt=!0);}catch(Qt){$t=!0,Dt=Qt}finally{try{!Wt&&Kt.return!=null&&Kt.return()}finally{if($t)throw Dt}}return vt}function st(Me){if(Array.isArray(Me))return Me}function Ve(Me,$e){if(Me==null)return{};var vt=oe(Me,$e),Wt,$t;if(Object.getOwnPropertySymbols){var Dt=Object.getOwnPropertySymbols(Me);for($t=0;$t<Dt.length;$t++){if(Wt=Dt[$t],$e.indexOf(Wt)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Me,Wt))continue;vt[Wt]=Me[Wt]}}return vt}function oe(Me,$e){if(Me==null)return{};var vt={},Wt=Object.keys(Me),$t,Dt;for(Dt=0;Dt<Wt.length;Dt++){if($t=Wt[Dt],$e.indexOf($t)>=0)continue;vt[$t]=Me[$t]}return vt}var re=function($e){var vt=$e.className,Wt=$e.percent,$t=$e.prefixCls,Dt=$e.strokeColor,Kt=$e.strokeLinecap,Gt=$e.strokeWidth,Qt=$e.style,Mt=$e.trailColor,dr=$e.trailWidth,er=$e.transition,ot=Ve($e,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete ot.gapPosition;var xt=Array.isArray(Wt)?Wt:[Wt],ut=Array.isArray(Dt)?Dt:[Dt],ft=Ue(xt),Ot=Ke(ft,1),Tt=Ot[0],ht=Gt/2,Ht=100-Gt/2,Ft="M ".concat(Kt==="round"?ht:0,",").concat(ht,`
L `).concat(Kt==="round"?Ht:100,",").concat(ht),ir="0 0 100 ".concat(Gt),Xt=0;return s.a.createElement("svg",Rt({className:p()("".concat($t,"-line"),vt),viewBox:ir,preserveAspectRatio:"none",style:Qt},ot),s.a.createElement("path",{className:"".concat($t,"-line-trail"),d:Ft,strokeLinecap:Kt,stroke:Mt,strokeWidth:dr||Gt,fillOpacity:"0"}),xt.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"},Fr=ut[Ar]||ut[ut.length-1];return Xt+=mr,s.a.createElement("path",{key:Ar,className:"".concat($t,"-line-path"),d:Ft,strokeLinecap:Kt,stroke:Fr,strokeWidth:Gt,fillOpacity:"0",ref:Tt[Ar],style:Nr})}))};re.defaultProps=Ct;var it=re;function Qe(){return Qe=Object.assign||function(Me){for(var $e=1;$e<arguments.length;$e++){var vt=arguments[$e];for(var Wt in vt)Object.prototype.hasOwnProperty.call(vt,Wt)&&(Me[Wt]=vt[Wt])}return Me},Qe.apply(this,arguments)}function ve(Me,$e){return _t(Me)||yt(Me,$e)||dt(Me,$e)||Zt()}function Zt(){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 dt(Me,$e){if(!Me)return;if(typeof Me=="string")return ct(Me,$e);var vt=Object.prototype.toString.call(Me).slice(8,-1);if(vt==="Object"&&Me.constructor&&(vt=Me.constructor.name),vt==="Map"||vt==="Set")return Array.from(Me);if(vt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(vt))return ct(Me,$e)}function ct(Me,$e){($e==null||$e>Me.length)&&($e=Me.length);for(var vt=0,Wt=new Array($e);vt<$e;vt++)Wt[vt]=Me[vt];return Wt}function yt(Me,$e){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Me)))return;var vt=[],Wt=!0,$t=!1,Dt=void 0;try{for(var Kt=Me[Symbol.iterator](),Gt;!(Wt=(Gt=Kt.next()).done)&&!(vt.push(Gt.value),$e&&vt.length===$e);Wt=!0);}catch(Qt){$t=!0,Dt=Qt}finally{try{!Wt&&Kt.return!=null&&Kt.return()}finally{if($t)throw Dt}}return vt}function _t(Me){if(Array.isArray(Me))return Me}function or(Me,$e){if(Me==null)return{};var vt=Pt(Me,$e),Wt,$t;if(Object.getOwnPropertySymbols){var Dt=Object.getOwnPropertySymbols(Me);for($t=0;$t<Dt.length;$t++){if(Wt=Dt[$t],$e.indexOf(Wt)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Me,Wt))continue;vt[Wt]=Me[Wt]}}return vt}function Pt(Me,$e){if(Me==null)return{};var vt={},Wt=Object.keys(Me),$t,Dt;for(Dt=0;Dt<Wt.length;Dt++){if($t=Wt[Dt],$e.indexOf($t)>=0)continue;vt[$t]=Me[$t]}return vt}var be=0;function me(Me){return+Me.replace("%","")}function pe(Me){return Array.isArray(Me)?Me:[Me]}function ue(Me,$e,vt,Wt){var $t=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,Dt=arguments.length>5?arguments[5]:void 0,Kt=50-Wt/2,Gt=0,Qt=-Kt,Mt=0,dr=-2*Kt;switch(Dt){case"left":Gt=-Kt,Qt=0,Mt=2*Kt,dr=0;break;case"right":Gt=Kt,Qt=0,Mt=-2*Kt,dr=0;break;case"bottom":Qt=Kt,dr=2*Kt;break;default:}var er="M 50,50 m ".concat(Gt,",").concat(Qt,`
a `).concat(Kt,",").concat(Kt," 0 1 1 ").concat(Mt,",").concat(-dr,`
a `).concat(Kt,",").concat(Kt," 0 1 1 ").concat(-Mt,",").concat(dr),ot=Math.PI*2*Kt,xt={stroke:vt,strokeDasharray:"".concat($e/100*(ot-$t),"px ").concat(ot,"px"),strokeDashoffset:"-".concat($t/2+Me/100*(ot-$t),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:er,pathStyle:xt}}var De=function($e){var vt=$e.prefixCls,Wt=$e.strokeWidth,$t=$e.trailWidth,Dt=$e.gapDegree,Kt=$e.gapPosition,Gt=$e.trailColor,Qt=$e.strokeLinecap,Mt=$e.style,dr=$e.className,er=$e.strokeColor,ot=$e.percent,xt=or($e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),ut=Object(t.useMemo)(function(){return be+=1,be},[]),ft=ue(0,100,Gt,Wt,Dt,Kt),Ot=ft.pathString,Tt=ft.pathStyle,ht=pe(ot),Ht=pe(er),Ft=Ht.find(function(Nr){return Object.prototype.toString.call(Nr)==="[object Object]"}),ir=Ue(ht),Xt=ve(ir,1),mr=Xt[0],Ar=function(){var Fr=0;return ht.map(function(tn,qr){var Lr=Ht[qr]||Ht[Ht.length-1],Qr=Object.prototype.toString.call(Lr)==="[object Object]"?"url(#".concat(vt,"-gradient-").concat(ut,")"):"",_r=ue(Fr,tn,Lr,Wt,Dt,Kt);return Fr+=tn,s.a.createElement("path",{key:qr,className:"".concat(vt,"-circle-path"),d:_r.pathString,stroke:Qr,strokeLinecap:Qt,strokeWidth:Wt,opacity:tn===0?0:1,fillOpacity:"0",style:_r.pathStyle,ref:mr[qr]})})};return s.a.createElement("svg",Qe({className:p()("".concat(vt,"-circle"),dr),viewBox:"0 0 100 100",style:Mt},xt),Ft&&s.a.createElement("defs",null,s.a.createElement("linearGradient",{id:"".concat(vt,"-gradient-").concat(ut),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(Ft).sort(function(Nr,Fr){return me(Nr)-me(Fr)}).map(function(Nr,Fr){return s.a.createElement("stop",{key:Fr,offset:Nr,stopColor:Ft[Nr]})}))),s.a.createElement("path",{className:"".concat(vt,"-circle-trail"),d:Ot,stroke:Gt,strokeLinecap:Qt,strokeWidth:$t||Wt,fillOpacity:"0",style:Tt}),Ar().reverse())};De.defaultProps=Ct;var He=De,ze={Line:it,Circle:He};function Xe(Me){var $e=Me.percent,vt=Me.success,Wt=Me.successPercent,$t=Fe($e),Dt=Oe({success:vt,successPercent:Wt});return Dt?[Fe(Dt),Fe($t-Fe(Dt))]:$t}function Be(Me){var $e=Me.success,vt=Me.strokeColor,Wt=Me.successPercent,$t=vt||null,Dt=Oe({success:$e,successPercent:Wt});return Dt?[Q.green,$t]:$t}var nt=function($e){var vt=$e.prefixCls,Wt=$e.width,$t=$e.strokeWidth,Dt=$e.trailColor,Kt=$e.strokeLinecap,Gt=$e.gapPosition,Qt=$e.gapDegree,Mt=$e.type,dr=$e.children,er=Wt||120,ot={width:er,height:er,fontSize:er*.15+6},xt=$t||6,ut=Gt||Mt==="dashboard"&&"bottom"||"top",ft=function(){return Qt||Qt===0?Qt:Mt==="dashboard"?75:void 0},Ot=Be($e),Tt=Object.prototype.toString.call(Ot)==="[object Object]",ht=p()("".concat(vt,"-inner"),f()({},"".concat(vt,"-circle-gradient"),Tt));return t.createElement("div",{className:ht,style:ot},t.createElement(He,{percent:Xe($e),strokeWidth:xt,trailWidth:xt,strokeColor:Ot,strokeLinecap:Kt,trailColor:Dt,prefixCls:vt,gapDegree:ft(),gapPosition:ut}),dr)},At=nt,It=function($e){for(var vt=$e.size,Wt=$e.steps,$t=$e.percent,Dt=$t===void 0?0:$t,Kt=$e.strokeWidth,Gt=Kt===void 0?8:Kt,Qt=$e.strokeColor,Mt=$e.trailColor,dr=$e.prefixCls,er=$e.children,ot=Math.floor(Wt*(Dt/100)),xt=vt==="small"?2:14,ut=[],ft=0;ft<Wt;ft+=1)ut.push(t.createElement("div",{key:ft,className:p()("".concat(dr,"-steps-item"),f()({},"".concat(dr,"-steps-item-active"),ft<=ot-1)),style:{backgroundColor:ft<=ot-1?Qt:Mt,width:xt,height:Gt}}));return t.createElement("div",{className:"".concat(dr,"-steps-outer")},ut,er)},ae=It,he=function(Me,$e){var vt={};for(var Wt in Me)Object.prototype.hasOwnProperty.call(Me,Wt)&&$e.indexOf(Wt)<0&&(vt[Wt]=Me[Wt]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $t=0,Wt=Object.getOwnPropertySymbols(Me);$t<Wt.length;$t++)$e.indexOf(Wt[$t])<0&&Object.prototype.propertyIsEnumerable.call(Me,Wt[$t])&&(vt[Wt[$t]]=Me[Wt[$t]]);return vt},q=Object(N.a)("line","circle","dashboard"),ne=Object(N.a)("normal","exception","active","success"),Se=function(Me){d()(vt,Me);var $e=l()(vt);function vt(){var Wt;return h()(this,vt),Wt=$e.apply(this,arguments),Wt.renderProgress=function($t){var Dt,Kt=$t.getPrefixCls,Gt=$t.direction,Qt=r()(Wt),Mt=Qt.props,dr=Mt.prefixCls,er=Mt.className,ot=Mt.size,xt=Mt.type,ut=Mt.steps,ft=Mt.showInfo,Ot=Mt.strokeColor,Tt=he(Mt,["prefixCls","className","size","type","steps","showInfo","strokeColor"]),ht=Kt("progress",dr),Ht=Wt.getProgressStatus(),Ft=Wt.renderProcessInfo(ht,Ht);Object(F.a)(!("successPercent"in Mt),"Progress","`successPercent` is deprecated. Please use `success.percent` instead.");var ir;xt==="line"?ir=ut?t.createElement(ae,m()({},Wt.props,{strokeColor:typeof Ot=="string"?Ot:void 0,prefixCls:ht,steps:ut}),Ft):t.createElement(mt,m()({},Wt.props,{prefixCls:ht}),Ft):(xt==="circle"||xt==="dashboard")&&(ir=t.createElement(At,m()({},Wt.props,{prefixCls:ht,progressStatus:Ht}),Ft));var Xt=p()(ht,(Dt={},f()(Dt,"".concat(ht,"-").concat(xt==="dashboard"&&"circle"||ut&&"steps"||xt),!0),f()(Dt,"".concat(ht,"-status-").concat(Ht),!0),f()(Dt,"".concat(ht,"-show-info"),ft),f()(Dt,"".concat(ht,"-").concat(ot),ot),f()(Dt,"".concat(ht,"-rtl"),Gt==="rtl"),Dt),er);return t.createElement("div",m()({},Object(w.default)(Tt,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent","steps","success","successPercent"]),{className:Xt}),ir)},Wt}return a()(vt,[{key:"getPercentNumber",value:function(){var $t=this.props.percent,Dt=$t===void 0?0:$t,Kt=Oe(this.props);return parseInt(Kt!==void 0?Kt.toString():Dt.toString(),10)}},{key:"getProgressStatus",value:function(){var $t=this.props.status;return ne.indexOf($t)<0&&this.getPercentNumber()>=100?"success":$t||"normal"}},{key:"renderProcessInfo",value:function($t,Dt){var Kt=this.props,Gt=Kt.showInfo,Qt=Kt.format,Mt=Kt.type,dr=Kt.percent,er=Oe(this.props);if(!Gt)return null;var ot,xt=Qt||function(ft){return"".concat(ft,"%")},ut=Mt==="line";return Qt||Dt!=="exception"&&Dt!=="success"?ot=xt(Fe(dr),Fe(er)):Dt==="exception"?ot=ut?t.createElement(C.a,null):t.createElement(E.a,null):Dt==="success"&&(ot=ut?t.createElement(L.a,null):t.createElement(S.a,null)),t.createElement("span",{className:"".concat($t,"-text"),title:typeof ot=="string"?ot:void 0},ot)}},{key:"render",value:function(){return t.createElement(I.a,null,this.renderProgress)}}]),vt}(t.Component);Se.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var Ne=_.a=Se},CH3K:function(D,_){function e(g,f){for(var y=-1,m=f.length,v=g.length;++y<m;)g[v+y]=f[y];return g}D.exports=e},"CMP+":function(D,_,e){var g=e("bYtY"),f=e("hM6l"),y=function(v,h,c,a){f.call(this,v,h,c),this.type=a||"value",this.model=null};y.prototype={constructor:y,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},g.inherits(y,f);var m=y;D.exports=m},CP8R:function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},"CWI+":function(D,_,e){},CbHG:function(D,_,e){var g=e("IwbS"),f=g.subPixelOptimize,y=e("zM3Q"),m=e("OELB"),v=m.parsePercent,h=e("bYtY"),c=h.retrieve2,a=typeof Float32Array!="undefined"?Float32Array:Array,i={seriesType:"candlestick",plan:y(),reset:function(d){var n=d.coordinateSystem,l=d.getData(),t=o(d,l),s=0,u=1,p=["x","y"],w=l.mapDimension(p[s]),b=l.mapDimension(p[u],!0),E=b[0],A=b[1],S=b[2],T=b[3];if(l.setLayout({candleWidth:t,isSimpleBox:t<=1.3}),w==null||b.length<4)return;return{progress:d.pipelineContext.large?x:L};function L(C,I){for(var N;(N=C.next())!=null;){var F=I.get(w,N),k=I.get(E,N),B=I.get(A,N),P=I.get(S,N),K=I.get(T,N),R=Math.min(k,B),U=Math.max(k,B),j=G(R,F),H=G(U,F),W=G(P,F),X=G(K,F),z=[];Z(z,H,0),Z(z,j,1),z.push(Q(X),Q(H),Q(W),Q(j)),I.setItemLayout(N,{sign:r(I,N,k,B,A),initBaseline:k>B?H[u]:j[u],ends:z,brushRect:ge(P,K,F)})}function G(we,Ee){var Ae=[];return Ae[s]=Ee,Ae[u]=we,isNaN(Ee)||isNaN(we)?[NaN,NaN]:n.dataToPoint(Ae)}function Z(we,Ee,Ae){var Pe=Ee.slice(),Ge=Ee.slice();Pe[s]=f(Pe[s]+t/2,1,!1),Ge[s]=f(Ge[s]-t/2,1,!0),Ae?we.push(Pe,Ge):we.push(Ge,Pe)}function ge(we,Ee,Ae){var Pe=G(we,Ae),Ge=G(Ee,Ae);return Pe[s]-=t/2,Ge[s]-=t/2,{x:Pe[0],y:Pe[1],width:u?t:Ge[0]-Pe[0],height:u?Ge[1]-Pe[1]:t}}function Q(we){return we[s]=f(we[s],1),we}}function x(C,I){for(var N=new a(C.count*4),F=0,k,B=[],P=[],K;(K=C.next())!=null;){var R=I.get(w,K),U=I.get(E,K),j=I.get(A,K),H=I.get(S,K),W=I.get(T,K);if(isNaN(R)||isNaN(H)||isNaN(W)){N[F++]=NaN,F+=3;continue}N[F++]=r(I,K,U,j,A),B[s]=R,B[u]=H,k=n.dataToPoint(B,null,P),N[F++]=k?k[0]:NaN,N[F++]=k?k[1]:NaN,B[u]=W,k=n.dataToPoint(B,null,P),N[F++]=k?k[1]:NaN}I.setLayout("largePoints",N)}}};function r(d,n,l,t,s){var u;return l>t?u=-1:l<t?u=1:u=n>0?d.get(s,n-1)<=t?1:-1:1,u}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()),u=v(c(d.get("barMaxWidth"),s),s),p=v(c(d.get("barMinWidth"),1),s),w=d.get("barWidth");return w!=null?v(w,s):Math.max(Math.min(s/2,u),p)}D.exports=i},CiB2:function(D,_,e){"use strict";e.d(_,"a",function(){return g});function g(f){if(f==null)throw new TypeError("Cannot destructure undefined")}},Cm0C:function(D,_,e){e("5NHt"),e("f3JH")},CrYA:function(D,_,e){var g=e("MFOe"),f=g.Global;D.exports={name:"sessionStorage",read:m,write:v,each:h,remove:c,clearAll:a};function y(){return f.sessionStorage}function m(i){return y().getItem(i)}function v(i,r){return y().setItem(i,r)}function h(i){for(var r=y().length-1;r>=0;r--){var o=y().key(r);i(m(o),o)}}function c(i){return y().removeItem(i)}function a(){return y().clear()}},Csr3:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("4vCz"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},Cwc5:function(D,_,e){var g=e("NKxu"),f=e("Npjl");function y(m,v){var h=f(m,v);return g(h)?h:void 0}D.exports=y},D1WM:function(D,_,e){var g=e("bYtY"),f=e("hM6l"),y=function(v,h,c,a,i){f.call(this,v,h,c),this.type=a||"value",this.axisIndex=i};y.prototype={constructor:y,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},g.inherits(y,f);var m=y;D.exports=m},D5nY:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("4NO4"),m=y.makeInner,v=y.getDataItemValue,h=e("bYtY"),c=h.createHashMap,a=h.each,i=h.map,r=h.isArray,o=h.isString,d=h.isObject,n=h.isTypedArray,l=h.isArrayLike,t=h.extend,s=h.assert,u=e("7G+c"),p=e("k9D9"),w=p.SOURCE_FORMAT_ORIGINAL,b=p.SOURCE_FORMAT_ARRAY_ROWS,E=p.SOURCE_FORMAT_OBJECT_ROWS,A=p.SOURCE_FORMAT_KEYED_COLUMNS,S=p.SOURCE_FORMAT_UNKNOWN,T=p.SOURCE_FORMAT_TYPED_ARRAY,L=p.SERIES_LAYOUT_BY_ROW,x={Must:1,Might:2,Not:3},C=m();function I(z){var G=z.option.source,Z=S;if(n(G))Z=T;else if(r(G)){G.length===0&&(Z=b);for(var ge=0,Q=G.length;ge<Q;ge++){var we=G[ge];if(we==null)continue;if(r(we)){Z=b;break}else if(d(we)){Z=E;break}}}else if(d(G)){for(var Ee in G)if(G.hasOwnProperty(Ee)&&l(G[Ee])){Z=A;break}}else if(G!=null)throw new Error("Invalid data");C(z).sourceFormat=Z}function N(z){return C(z).source}function F(z){C(z).datasetMap=c()}function k(z){var G=z.option,Z=G.data,ge=n(Z)?T:w,Q=!1,we=G.seriesLayoutBy,Ee=G.sourceHeader,Ae=G.dimensions,Pe=H(z);if(Pe){var Ge=Pe.option;Z=Ge.source,ge=C(Pe).sourceFormat,Q=!0,we=we||Ge.seriesLayoutBy,Ee==null&&(Ee=Ge.sourceHeader),Ae=Ae||Ge.dimensions}var gt=B(Z,ge,we,Ee,Ae);C(z).source=new u({data:Z,fromDataset:Q,seriesLayoutBy:we,sourceFormat:ge,dimensionsDefine:gt.dimensionsDefine,startIndex:gt.startIndex,dimensionsDetectCount:gt.dimensionsDetectCount,encodeDefine:G.encode})}function B(z,G,Z,ge,Q){if(!z)return{dimensionsDefine:P(Q)};var we,Ee;if(G===b)ge==="auto"||ge==null?K(function(Pe){Pe!=null&&Pe!=="-"&&(o(Pe)?Ee==null&&(Ee=1):Ee=0)},Z,z,10):Ee=ge?1:0,!Q&&Ee===1&&(Q=[],K(function(Pe,Ge){Q[Ge]=Pe!=null?Pe:""},Z,z)),we=Q?Q.length:Z===L?z.length:z[0]?z[0].length:null;else if(G===E)Q||(Q=R(z));else if(G===A)Q||(Q=[],a(z,function(Pe,Ge){Q.push(Ge)}));else if(G===w){var Ae=v(z[0]);we=r(Ae)&&Ae.length||1}else G===T;return{startIndex:Ee,dimensionsDefine:P(Q),dimensionsDetectCount:we}}function P(z){if(!z)return;var G=c();return i(z,function(Z,ge){if(Z=t({},d(Z)?Z:{name:Z}),Z.name==null)return Z;Z.name+="",Z.displayName==null&&(Z.displayName=Z.name);var Q=G.get(Z.name);return Q?Z.name+="-"+Q.count++:G.set(Z.name,{count:1}),Z})}function K(z,G,Z,ge){if(ge==null&&(ge=Infinity),G===L)for(var Q=0;Q<Z.length&&Q<ge;Q++)z(Z[Q]?Z[Q][0]:null,Q);else for(var we=Z[0]||[],Q=0;Q<we.length&&Q<ge;Q++)z(we[Q],Q)}function R(z){for(var G=0,Z;G<z.length&&!(Z=z[G++]););if(Z){var ge=[];return a(Z,function(Q,we){ge.push(we)}),ge}}function U(z,G,Z){var ge={},Q=H(G);if(!Q||!z)return ge;var we=[],Ee=[],Ae=G.ecModel,Pe=C(Ae).datasetMap,Ge=Q.uid+"_"+Z.seriesLayoutBy,gt,_e;z=z.slice(),a(z,function(Y,V){!d(Y)&&(z[V]={name:Y}),Y.type==="ordinal"&&gt==null&&(gt=V,_e=ce(z[V])),ge[Y.name]=[]});var Ce=Pe.get(Ge)||Pe.set(Ge,{categoryWayDim:_e,valueWayDim:0});a(z,function(Y,V){var $=Y.name,Te=ce(Y);if(gt==null){var ye=Ce.valueWayDim;lt(ge[$],ye,Te),lt(Ee,ye,Te),Ce.valueWayDim+=Te}else if(gt===V)lt(ge[$],0,Te),lt(we,0,Te);else{var ye=Ce.categoryWayDim;lt(ge[$],ye,Te),lt(Ee,ye,Te),Ce.categoryWayDim+=Te}});function lt(Y,V,$){for(var Te=0;Te<$;Te++)Y.push(V+Te)}function ce(Y){var V=Y.dimsDef;return V?V.length:1}return we.length&&(ge.itemName=we),Ee.length&&(ge.seriesName=Ee),ge}function j(z,G,Z){var ge={},Q=H(z);if(!Q)return ge;var we=G.sourceFormat,Ee=G.dimensionsDefine,Ae;(we===E||we===A)&&a(Ee,function(gt,_e){(d(gt)?gt.name:gt)==="name"&&(Ae=_e)});var Pe=function(){for(var gt={},_e={},Ce=[],lt=0,ce=Math.min(5,Z);lt<ce;lt++){var Y=X(G.data,we,G.seriesLayoutBy,Ee,G.startIndex,lt);Ce.push(Y);var V=Y===x.Not;if(V&&gt.v==null&&lt!==Ae&&(gt.v=lt),(gt.n==null||gt.n===gt.v||!V&&Ce[gt.n]===x.Not)&&(gt.n=lt),$(gt)&&Ce[gt.n]!==x.Not)return gt;V||(Y===x.Might&&_e.v==null&&lt!==Ae&&(_e.v=lt),(_e.n==null||_e.n===_e.v)&&(_e.n=lt))}function $(Te){return Te.v!=null&&Te.n!=null}return $(gt)?gt:$(_e)?_e:null}();if(Pe){ge.value=Pe.v;var Ge=Ae!=null?Ae:Pe.n;ge.itemName=[Ge],ge.seriesName=[Ge]}return ge}function H(z){var G=z.option,Z=G.data;if(!Z)return z.ecModel.getComponent("dataset",G.datasetIndex||0)}function W(z,G){return X(z.data,z.sourceFormat,z.seriesLayoutBy,z.dimensionsDefine,z.startIndex,G)}function X(z,G,Z,ge,Q,we){var Ee,Ae=5;if(n(z))return x.Not;var Pe,Ge;if(ge){var gt=ge[we];d(gt)?(Pe=gt.name,Ge=gt.type):o(gt)&&(Pe=gt)}if(Ge!=null)return Ge==="ordinal"?x.Must:x.Not;if(G===b)if(Z===L){for(var _e=z[we],Ce=0;Ce<(_e||[]).length&&Ce<Ae;Ce++)if((Ee=V(_e[Q+Ce]))!=null)return Ee}else for(var Ce=0;Ce<z.length&&Ce<Ae;Ce++){var lt=z[Q+Ce];if(lt&&(Ee=V(lt[we]))!=null)return Ee}else if(G===E){if(!Pe)return x.Not;for(var Ce=0;Ce<z.length&&Ce<Ae;Ce++){var ce=z[Ce];if(ce&&(Ee=V(ce[Pe]))!=null)return Ee}}else if(G===A){if(!Pe)return x.Not;var _e=z[Pe];if(!_e||n(_e))return x.Not;for(var Ce=0;Ce<_e.length&&Ce<Ae;Ce++)if((Ee=V(_e[Ce]))!=null)return Ee}else if(G===w)for(var Ce=0;Ce<z.length&&Ce<Ae;Ce++){var ce=z[Ce],Y=v(ce);if(!r(Y))return x.Not;if((Ee=V(Y[we]))!=null)return Ee}function V($){var Te=o($);if($!=null&&isFinite($)&&$!=="")return Te?x.Might:x.Not;if(Te&&$!=="-")return x.Must}return x.Not}_.BE_ORDINAL=x,_.detectSourceFormat=I,_.getSource=N,_.resetSourceDefaulter=F,_.prepareSource=k,_.makeSeriesEncodeForAxisCoordSys=U,_.makeSeriesEncodeForNameBased=j,_.guessOrdinal=W},D9ME:function(D,_,e){var g=e("IwbS"),f=e("fls0"),y=e("bYtY"),m=e("oVpE"),v=m.createSymbol,h=e("QBsz"),c=e("Sj9i");function a(o,d,n){g.Group.call(this),this.add(this.createLine(o,d,n)),this._updateEffectSymbol(o,d)}var i=a.prototype;i.createLine=function(o,d,n){return new f(o,d,n)},i._updateEffectSymbol=function(o,d){var n=o.getItemModel(d),l=n.getModel("effect"),t=l.get("symbolSize"),s=l.get("symbol");y.isArray(t)||(t=[t,t]);var u=l.get("color")||o.getItemVisual(d,"color"),p=this.childAt(1);if(this._symbolType!==s&&(this.remove(p),p=v(s,-.5,-.5,1,1,u),p.z2=100,p.culling=!0,this.add(p)),!p)return;p.setStyle("shadowColor",u),p.setStyle(l.getItemStyle(["color"])),p.attr("scale",t),p.setColor(u),p.attr("scale",t),this._symbolType=s,this._symbolScale=t,this._updateEffectAnimation(o,l,d)},i._updateEffectAnimation=function(o,d,n){var l=this.childAt(1);if(!l)return;var t=this,s=o.getItemLayout(n),u=d.get("period")*1e3,p=d.get("loop"),w=d.get("constantSpeed"),b=y.retrieve(d.get("delay"),function(T){return T/o.count()*u/3}),E=typeof b=="function";if(l.ignore=!0,this.updateAnimationPoints(l,s),w>0&&(u=this.getLineLength(l)/w*1e3),u!==this._period||p!==this._loop){l.stopAnimation();var A=b;E&&(A=b(n)),l.__t>0&&(A=-u*l.__t),l.__t=0;var S=l.animate("",p).when(u,{__t:1}).delay(A).during(function(){t.updateSymbolPosition(l)});p||S.done(function(){t.remove(l)}),S.start()}this._period=u,this._loop=p},i.getLineLength=function(o){return h.dist(o.__p1,o.__cp1)+h.dist(o.__cp1,o.__p2)},i.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]},i.updateData=function(o,d,n){this.childAt(0).updateData(o,d,n),this._updateEffectSymbol(o,d)},i.updateSymbolPosition=function(o){var d=o.__p1,n=o.__p2,l=o.__cp1,t=o.__t,s=o.position,u=[s[0],s[1]],p=c.quadraticAt,w=c.quadraticDerivativeAt;s[0]=p(d[0],l[0],n[0],t),s[1]=p(d[1],l[1],n[1],t);var b=w(d[0],l[0],n[0],t),E=w(d[1],l[1],n[1],t);if(o.rotation=-Math.atan2(E,b)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(o.__lastT!==void 0&&o.__lastT<o.__t){var A=h.dist(u,s)*1.05;o.attr("scale",[o.scale[0],A]),t===1&&(s[0]=u[0]+(s[0]-u[0])/2,s[1]=u[1]+(s[1]-u[1])/2)}else if(o.__lastT===1){var A=2*h.dist(d,s);o.attr("scale",[o.scale[0],A])}else o.attr("scale",this._symbolScale);o.__lastT=o.__t,o.ignore=!1},i.updateLayout=function(o,d){this.childAt(0).updateLayout(o,d);var n=o.getItemModel(d).getModel("effect");this._updateEffectAnimation(o,n,d)},y.inherits(a,g.Group);var r=a;D.exports=r},DBLp:function(D,_){function e(){}e.prototype={diff:function(h,c,a){a||(a=function(E,A){return E===A}),this.equals=a;var i=this;h=h.slice(),c=c.slice();var r=c.length,o=h.length,d=1,n=r+o,l=[{newPos:-1,components:[]}],t=this.extractCommon(l[0],c,h,0);if(l[0].newPos+1>=r&&t+1>=o){for(var s=[],u=0;u<c.length;u++)s.push(u);return[{indices:s,count:c.length}]}function p(){for(var b=-1*d;b<=d;b+=2){var E,A=l[b-1],S=l[b+1],T=(S?S.newPos:0)-b;A&&(l[b-1]=void 0);var L=A&&A.newPos+1<r,x=S&&0<=T&&T<o;if(!L&&!x){l[b]=void 0;continue}if(!L||x&&A.newPos<S.newPos?(E=f(S),i.pushComponent(E.components,void 0,!0)):(E=A,E.newPos++,i.pushComponent(E.components,!0,void 0)),T=i.extractCommon(E,c,h,b),E.newPos+1>=r&&T+1>=o)return g(i,E.components,c,h);l[b]=E}d++}for(;d<=n;){var w=p();if(w)return w}},pushComponent:function(h,c,a){var i=h[h.length-1];i&&i.added===c&&i.removed===a?h[h.length-1]={count:i.count+1,added:c,removed:a}:h.push({count:1,added:c,removed:a})},extractCommon:function(h,c,a,i){for(var r=c.length,o=a.length,d=h.newPos,n=d-i,l=0;d+1<r&&n+1<o&&this.equals(c[d+1],a[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(v,h,c,a){for(var i=0,r=h.length,o=0,d=0;i<r;i++){var n=h[i];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(v){return{newPos:v.newPos,components:v.components.slice(0)}}var y=new e;function m(v,h,c){return y.diff(v,h,c)}D.exports=m},DEFe:function(D,_,e){var g=e("bYtY"),f=e("SgGq"),y=e("Ae+d"),m=e("xSat"),v=m.onIrrelevantElement,h=e("IwbS"),c=e("W4dC"),a=e("iRjW"),i=a.getUID,r=e("DN4a");function o(s){var u=s.getItemStyle(),p=s.get("areaColor");return p!=null&&(u.fill=p),u}function d(s,u,p,w,b){p.off("click"),p.off("mousedown"),u.get("selectedMode")&&(p.on("mousedown",function(){s._mouseDownFlag=!0}),p.on("click",function(E){if(!s._mouseDownFlag)return;s._mouseDownFlag=!1;for(var A=E.target;!A.__regions;)A=A.parent;if(!A)return;var S={type:(u.mainType==="geo"?"geo":"map")+"ToggleSelect",batch:g.map(A.__regions,function(T){return{name:T.name,from:b.uid}})};S[u.mainType+"Id"]=u.id,w.dispatchAction(S),n(u,p)}))}function n(s,u){u.eachChild(function(p){g.each(p.__regions,function(w){p.trigger(s.isSelected(w.name)?"emphasis":"normal")})})}function l(s,u){var p=new h.Group;this.uid=i("ec_map_draw"),this._controller=new f(s.getZr()),this._controllerHost={target:u?p:null},this.group=p,this._updateGroup=u,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,u,p,w,b){var E=s.mainType==="geo",A=s.getData&&s.getData();E&&u.eachComponent({mainType:"series",subType:"map"},function(H){!A&&H.getHostGeoModel()===s&&(A=H.getData())});var S=s.coordinateSystem;this._updateBackground(S);var T=this._regionsGroup,L=this.group,x=S.getTransformInfo(),C=!T.childAt(0)||b,I;if(C)L.transform=x.roamTransform,L.decomposeTransform(),L.dirty();else{var N=new r;N.transform=x.roamTransform,N.decomposeTransform();var F={scale:N.scale,position:N.position};I=N.scale,h.updateProps(L,F,s)}var k=x.rawScale,B=x.rawPosition;T.removeAll();var P=["itemStyle"],K=["emphasis","itemStyle"],R=["label"],U=["emphasis","label"],j=g.createHashMap();g.each(S.regions,function(H){var W=j.get(H.name)||j.set(H.name,new h.Group),X=new h.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});W.add(X);var z=s.getRegionModel(H.name)||s,G=z.getModel(P),Z=z.getModel(K),ge=o(G),Q=o(Z),we=z.getModel(R),Ee=z.getModel(U),Ae;if(A){Ae=A.indexOfName(H.name);var Pe=A.getItemVisual(Ae,"color",!0);Pe&&(ge.fill=Pe)}var Ge=function(ye){return[ye[0]*k[0]+B[0],ye[1]*k[1]+B[1]]};g.each(H.geometries,function(ye){if(ye.type!=="polygon")return;for(var Fe=[],Oe=0;Oe<ye.exterior.length;++Oe)Fe.push(Ge(ye.exterior[Oe]));X.shape.paths.push(new h.Polygon({segmentIgnoreThreshold:1,shape:{points:Fe}}));for(var Oe=0;Oe<(ye.interiors?ye.interiors.length:0);++Oe){for(var se=ye.interiors[Oe],Fe=[],fe=0;fe<se.length;++fe)Fe.push(Ge(se[fe]));X.shape.paths.push(new h.Polygon({segmentIgnoreThreshold:1,shape:{points:Fe}}))}}),X.setStyle(ge),X.style.strokeNoScale=!0,X.culling=!0;var gt=we.get("show"),_e=Ee.get("show"),Ce=A&&isNaN(A.get(A.mapDimension("value"),Ae)),lt=A&&A.getItemLayout(Ae);if(E||Ce&&(gt||_e)||lt&&lt.showLabel){var ce=E?H.name:Ae,Y;(!A||Ae>=0)&&(Y=s);var V=new h.Text({position:Ge(H.center.slice()),scale:[1/L.scale[0],1/L.scale[1]],z2:10,silent:!0});if(h.setLabelStyle(V.style,V.hoverStyle={},we,Ee,{labelFetcher:Y,labelDataIndex:ce,defaultText:H.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!C){var $=[1/I[0],1/I[1]];h.updateProps(V,{scale:$},s)}W.add(V)}if(A)A.setItemGraphicEl(Ae,W);else{var z=s.getRegionModel(H.name);X.eventData={componentType:"geo",componentIndex:s.componentIndex,geoIndex:s.componentIndex,name:H.name,region:z&&z.option||{}}}var Te=W.__regions||(W.__regions=[]);Te.push(H),W.highDownSilentOnTouch=!!s.get("selectedMode"),h.setHoverStyle(W,Q),T.add(W)}),this._updateController(s,u,p),d(this,s,T,p,w),n(s,T)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&c.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(s){var u=s.map;this._mapName!==u&&g.each(c.makeGraphic(u,this.uid),function(p){this._backgroundGroup.add(p)},this),this._mapName=u},_updateController:function(s,u,p){var w=s.coordinateSystem,b=this._controller,E=this._controllerHost;E.zoomLimit=s.get("scaleLimit"),E.zoom=w.getZoom(),b.enable(s.get("roam")||!1);var A=s.mainType;function S(){var T={type:"geoRoam",componentType:A};return T[A+"Id"]=s.id,T}b.off("pan").on("pan",function(T){this._mouseDownFlag=!1,y.updateViewOnPan(E,T.dx,T.dy),p.dispatchAction(g.extend(S(),{dx:T.dx,dy:T.dy}))},this),b.off("zoom").on("zoom",function(T){if(this._mouseDownFlag=!1,y.updateViewOnZoom(E,T.scale,T.originX,T.originY),p.dispatchAction(g.extend(S(),{zoom:T.scale,originX:T.originX,originY:T.originY})),this._updateGroup){var L=this.group.scale;this._regionsGroup.traverse(function(x){x.type==="text"&&x.attr("scale",[1/L[0],1/L[1]])})}},this),b.setPointerChecker(function(T,L,x){return w.getViewRectAfterRoam().contain(L,x)&&!v(T,p,s)})}};var t=l;D.exports=t},DFOY:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),a=e.n(c),i=e("PJYZ"),r=e.n(i),o=e("7W2i"),d=e.n(o),n=e("LQ03"),l=e.n(n),t=e("q1tI"),s=e("uciX"),u=e("2W6z"),p=e.n(u),w=e("4IlW"),b=e("uK0f"),E=e.n(b);function A(pe,ue){if(pe===ue)return!0;if(!pe||!ue)return!1;var De=pe.length;if(ue.length!==De)return!1;for(var He=0;He<De;He++)if(pe[He]!==ue[He])return!1;return!0}function S(pe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?S=function(De){return typeof De}:S=function(De){return De&&typeof Symbol=="function"&&De.constructor===Symbol&&De!==Symbol.prototype?"symbol":typeof De},S(pe)}function T(pe,ue){if(!(pe instanceof ue))throw new TypeError("Cannot call a class as a function")}function L(pe,ue){for(var De=0;De<ue.length;De++){var He=ue[De];He.enumerable=He.enumerable||!1,He.configurable=!0,"value"in He&&(He.writable=!0),Object.defineProperty(pe,He.key,He)}}function x(pe,ue,De){return ue&&L(pe.prototype,ue),De&&L(pe,De),pe}function C(pe,ue){if(typeof ue!="function"&&ue!==null)throw new TypeError("Super expression must either be null or a function");pe.prototype=Object.create(ue&&ue.prototype,{constructor:{value:pe,writable:!0,configurable:!0}}),ue&&I(pe,ue)}function I(pe,ue){return I=Object.setPrototypeOf||function(He,ze){return He.__proto__=ze,He},I(pe,ue)}function N(pe){var ue=B();return function(){var De=P(pe),He;if(ue){var ze=P(this).constructor;He=Reflect.construct(De,arguments,ze)}else He=De.apply(this,arguments);return F(this,He)}}function F(pe,ue){return ue&&(S(ue)==="object"||typeof ue=="function")?ue:k(pe)}function k(pe){if(pe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return pe}function B(){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 P(pe){return P=Object.setPrototypeOf?Object.getPrototypeOf:function(De){return De.__proto__||Object.getPrototypeOf(De)},P(pe)}var K=function(){var pe=function(ue){C(He,ue);var De=N(He);function He(){var ze;return T(this,He),ze=De.apply(this,arguments),ze.menuItems={},ze.saveMenuItem=function(Xe){return function(Be){ze.menuItems[Xe]=Be}},ze}return x(He,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function(Xe){!Xe.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function(Xe){var Be=this.props,nt=Be.fieldNames,At=Be.defaultFieldNames;return nt[Xe]||At[Xe]}},{key:"getOption",value:function(Xe,Be){var nt=this.props,At=nt.prefixCls,It=nt.expandTrigger,ae=nt.expandIcon,he=nt.loadingIcon,q=this.props.onSelect.bind(this,Xe,Be),ne=this.props.onItemDoubleClick.bind(this,Xe,Be),Se={onClick:q,onDoubleClick:ne},Ne="".concat(At,"-menu-item"),Me=null,$e=Xe[this.getFieldName("children")]&&Xe[this.getFieldName("children")].length>0;($e||Xe.isLeaf===!1)&&(Ne+=" ".concat(At,"-menu-item-expand"),Xe.loading||(Me=t.createElement("span",{className:"".concat(At,"-menu-item-expand-icon")},ae))),It==="hover"&&($e||Xe.isLeaf===!1)&&(Se={onMouseEnter:this.delayOnSelect.bind(this,q),onMouseLeave:this.delayOnSelect.bind(this),onClick:q}),this.isActiveOption(Xe,Be)&&(Ne+=" ".concat(At,"-menu-item-active"),Se.ref=this.saveMenuItem(Be)),Xe.disabled&&(Ne+=" ".concat(At,"-menu-item-disabled"));var vt=null;Xe.loading&&(Ne+=" ".concat(At,"-menu-item-loading"),vt=he||null);var Wt="";return"title"in Xe?Wt=Xe.title:typeof Xe[this.getFieldName("label")]=="string"&&(Wt=Xe[this.getFieldName("label")]),t.createElement("li",Object.assign({key:Xe[this.getFieldName("value")],className:Ne,title:Wt},Se,{role:"menuitem",onMouseDown:function(Dt){return Dt.preventDefault()}}),Xe[this.getFieldName("label")],Me,vt)}},{key:"getActiveOptions",value:function(Xe){var Be=this,nt=this.props.options,At=Xe||this.props.activeValue;return E()(nt,function(It,ae){return It[Be.getFieldName("value")]===At[ae]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var Xe=this,Be=this.props.options,nt=this.getActiveOptions().map(function(At){return At[Xe.getFieldName("children")]}).filter(function(At){return!!At});return nt.unshift(Be),nt}},{key:"delayOnSelect",value:function(Xe){for(var Be=this,nt=arguments.length,At=new Array(nt>1?nt-1:0),It=1;It<nt;It++)At[It-1]=arguments[It];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),typeof Xe=="function"&&(this.delayTimer=window.setTimeout(function(){Xe(At),Be.delayTimer=null},150))}},{key:"scrollActiveItemToView",value:function(){for(var Xe=this.getShowOptions().length,Be=0;Be<Xe;Be++){var nt=this.menuItems[Be];nt&&nt.parentElement&&(nt.parentElement.scrollTop=nt.offsetTop)}}},{key:"isActiveOption",value:function(Xe,Be){var nt=this.props.activeValue,At=nt===void 0?[]:nt;return At[Be]===Xe[this.getFieldName("value")]}},{key:"render",value:function(){var Xe=this,Be=this.props,nt=Be.prefixCls,At=Be.dropdownMenuColumnStyle;return t.createElement("div",null,this.getShowOptions().map(function(It,ae){return t.createElement("ul",{className:"".concat(nt,"-menu"),key:ae,style:At},It.map(function(he){return Xe.getOption(he,ae)}))}))}}]),He}(t.Component);return pe.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"},pe}(),R=K,U={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=U;function H(pe){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?H=function(De){return typeof De}:H=function(De){return De&&typeof Symbol=="function"&&De.constructor===Symbol&&De!==Symbol.prototype?"symbol":typeof De},H(pe)}function W(pe,ue){if(pe==null)return{};var De=X(pe,ue),He,ze;if(Object.getOwnPropertySymbols){var Xe=Object.getOwnPropertySymbols(pe);for(ze=0;ze<Xe.length;ze++){if(He=Xe[ze],ue.indexOf(He)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(pe,He))continue;De[He]=pe[He]}}return De}function X(pe,ue){if(pe==null)return{};var De={},He=Object.keys(pe),ze,Xe;for(Xe=0;Xe<He.length;Xe++){if(ze=He[Xe],ue.indexOf(ze)>=0)continue;De[ze]=pe[ze]}return De}function z(pe){return Q(pe)||ge(pe)||Z(pe)||G()}function G(){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 Z(pe,ue){if(!pe)return;if(typeof pe=="string")return we(pe,ue);var De=Object.prototype.toString.call(pe).slice(8,-1);if(De==="Object"&&pe.constructor&&(De=pe.constructor.name),De==="Map"||De==="Set")return Array.from(pe);if(De==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(De))return we(pe,ue)}function ge(pe){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(pe))return Array.from(pe)}function Q(pe){if(Array.isArray(pe))return we(pe)}function we(pe,ue){(ue==null||ue>pe.length)&&(ue=pe.length);for(var De=0,He=new Array(ue);De<ue;De++)He[De]=pe[De];return He}function Ee(pe,ue){if(!(pe instanceof ue))throw new TypeError("Cannot call a class as a function")}function Ae(pe,ue){for(var De=0;De<ue.length;De++){var He=ue[De];He.enumerable=He.enumerable||!1,He.configurable=!0,"value"in He&&(He.writable=!0),Object.defineProperty(pe,He.key,He)}}function Pe(pe,ue,De){return ue&&Ae(pe.prototype,ue),De&&Ae(pe,De),pe}function Ge(pe,ue){if(typeof ue!="function"&&ue!==null)throw new TypeError("Super expression must either be null or a function");pe.prototype=Object.create(ue&&ue.prototype,{constructor:{value:pe,writable:!0,configurable:!0}}),ue&&gt(pe,ue)}function gt(pe,ue){return gt=Object.setPrototypeOf||function(He,ze){return He.__proto__=ze,He},gt(pe,ue)}function _e(pe){var ue=ce();return function(){var De=Y(pe),He;if(ue){var ze=Y(this).constructor;He=Reflect.construct(De,arguments,ze)}else He=De.apply(this,arguments);return Ce(this,He)}}function Ce(pe,ue){return ue&&(H(ue)==="object"||typeof ue=="function")?ue:lt(pe)}function lt(pe){if(pe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return pe}function ce(){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 Y(pe){return Y=Object.setPrototypeOf?Object.getPrototypeOf:function(De){return De.__proto__||Object.getPrototypeOf(De)},Y(pe)}var V=function(){var pe=function(ue){Ge(He,ue);var De=_e(He);function He(ze){var Xe;Ee(this,He),Xe=De.call(this,ze),Xe.setPopupVisible=function(nt){var At=Xe.state.value;"popupVisible"in Xe.props||Xe.setState({popupVisible:nt}),nt&&!Xe.state.popupVisible&&Xe.setState({activeValue:At}),Xe.props.onPopupVisibleChange(nt)},Xe.handleChange=function(nt,At,It){var ae=At.visible;(It.type!=="keydown"||It.keyCode===w.a.ENTER)&&(Xe.props.onChange(nt.map(function(he){return he[Xe.getFieldName("value")]}),nt),Xe.setPopupVisible(ae))},Xe.handlePopupVisibleChange=function(nt){Xe.setPopupVisible(nt)},Xe.handleMenuSelect=function(nt,At,It){var ae=Xe.trigger.getRootDomNode();ae&&ae.focus&&ae.focus();var he=Xe.props,q=he.changeOnSelect,ne=he.loadData,Se=he.expandTrigger;if(!nt||nt.disabled)return;var Ne=Xe.state.activeValue;Ne=Ne.slice(0,At+1),Ne[At]=nt[Xe.getFieldName("value")];var Me=Xe.getActiveOptions(Ne);if(nt.isLeaf===!1&&!nt[Xe.getFieldName("children")]&&ne){q&&Xe.handleChange(Me,{visible:!0},It),Xe.setState({activeValue:Ne}),ne(Me);return}var $e={};!nt[Xe.getFieldName("children")]||!nt[Xe.getFieldName("children")].length?(Xe.handleChange(Me,{visible:!1},It),$e.value=Ne):q&&(It.type==="click"||It.type==="keydown")&&(Se==="hover"?Xe.handleChange(Me,{visible:!1},It):Xe.handleChange(Me,{visible:!0},It),$e.value=Ne),$e.activeValue=Ne,("value"in Xe.props||It.type==="keydown"&&It.keyCode!==w.a.ENTER)&&delete $e.value,Xe.setState($e)},Xe.handleItemDoubleClick=function(){var nt=Xe.props.changeOnSelect;nt&&Xe.setPopupVisible(!1)},Xe.handleKeyDown=function(nt){var At=Xe.props.children;if(At&&At.props.onKeyDown){At.props.onKeyDown(nt);return}var It=z(Xe.state.activeValue),ae=It.length-1<0?0:It.length-1,he=Xe.getCurrentLevelOptions(),q=he.map(function(Me){return Me[Xe.getFieldName("value")]}).indexOf(It[ae]);if(nt.keyCode!==w.a.DOWN&&nt.keyCode!==w.a.UP&&nt.keyCode!==w.a.LEFT&&nt.keyCode!==w.a.RIGHT&&nt.keyCode!==w.a.ENTER&&nt.keyCode!==w.a.SPACE&&nt.keyCode!==w.a.BACKSPACE&&nt.keyCode!==w.a.ESC&&nt.keyCode!==w.a.TAB)return;if(!Xe.state.popupVisible&&nt.keyCode!==w.a.BACKSPACE&&nt.keyCode!==w.a.LEFT&&nt.keyCode!==w.a.RIGHT&&nt.keyCode!==w.a.ESC&&nt.keyCode!==w.a.TAB){Xe.setPopupVisible(!0);return}if(nt.keyCode===w.a.DOWN||nt.keyCode===w.a.UP){nt.preventDefault();var ne=q;ne!==-1?nt.keyCode===w.a.DOWN?(ne+=1,ne=ne>=he.length?0:ne):(ne-=1,ne=ne<0?he.length-1:ne):ne=0,It[ae]=he[ne][Xe.getFieldName("value")]}else if(nt.keyCode===w.a.LEFT||nt.keyCode===w.a.BACKSPACE)nt.preventDefault(),It.splice(It.length-1,1);else if(nt.keyCode===w.a.RIGHT)nt.preventDefault(),he[q]&&he[q][Xe.getFieldName("children")]&&It.push(he[q][Xe.getFieldName("children")][0][Xe.getFieldName("value")]);else if(nt.keyCode===w.a.ESC||nt.keyCode===w.a.TAB){Xe.setPopupVisible(!1);return}(!It||It.length===0)&&Xe.setPopupVisible(!1);var Se=Xe.getActiveOptions(It),Ne=Se[Se.length-1];Xe.handleMenuSelect(Ne,Se.length-1,nt),Xe.props.onKeyDown&&Xe.props.onKeyDown(nt)},Xe.saveTrigger=function(nt){Xe.trigger=nt};var Be=[];return"value"in ze?Be=ze.value||[]:"defaultValue"in ze&&(Be=ze.defaultValue||[]),p()(!("filedNames"in ze),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),Xe.state={popupVisible:ze.popupVisible,activeValue:Be,value:Be,prevProps:ze},Xe.defaultFieldNames={label:"label",value:"value",children:"children"},Xe}return Pe(He,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(Xe){var Be=this.defaultFieldNames,nt=this.props,At=nt.fieldNames,It=nt.filedNames;return"filedNames"in this.props?It[Xe]||Be[Xe]:At[Xe]||Be[Xe]}},{key:"getFieldNames",value:function(){var Xe=this.props,Be=Xe.fieldNames,nt=Xe.filedNames;return"filedNames"in this.props?nt:Be}},{key:"getCurrentLevelOptions",value:function(){var Xe=this,Be=this.props.options,nt=Be===void 0?[]:Be,At=this.state.activeValue,It=At===void 0?[]:At,ae=E()(nt,function(he,q){return he[Xe.getFieldName("value")]===It[q]},{childrenKeyName:this.getFieldName("children")});return ae[ae.length-2]?ae[ae.length-2][this.getFieldName("children")]:z(nt).filter(function(he){return!he.disabled})}},{key:"getActiveOptions",value:function(Xe){var Be=this;return E()(this.props.options||[],function(nt,At){return nt[Be.getFieldName("value")]===Xe[At]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var Xe=this.props,Be=Xe.prefixCls,nt=Xe.transitionName,At=Xe.popupClassName,It=Xe.options,ae=It===void 0?[]:It,he=Xe.disabled,q=Xe.builtinPlacements,ne=Xe.popupPlacement,Se=Xe.children,Ne=Xe.dropdownRender,Me=W(Xe,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),$e=t.createElement("div",null),vt="";ae&&ae.length>0?$e=t.createElement(R,Object.assign({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):vt=" ".concat(Be,"-menus-empty");var Wt=$e;return Ne&&(Wt=Ne($e)),t.createElement(s.a,Object.assign({ref:this.saveTrigger},Me,{popupPlacement:ne,builtinPlacements:q,popupTransitionName:nt,action:he?[]:["click"],popupVisible:he?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(Be,"-menus"),popupClassName:At+vt,popup:Wt}),t.cloneElement(Se,{onKeyDown:this.handleKeyDown,tabIndex:he?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(Xe,Be){var nt=Be.prevProps,At=nt===void 0?{}:nt,It={prevProps:Xe};return"value"in Xe&&!A(At.value,Xe.value)&&(It.value=Xe.value||[],"loadData"in Xe||(It.activeValue=Xe.value||[])),"popupVisible"in Xe&&(It.popupVisible=Xe.popupVisible),It}}]),He}(t.Component);return pe.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:">"},pe}(),$=V,Te=$,ye=e("TSYQ"),Fe=e.n(ye),Oe=e("BGR+"),se=e("kbBi"),fe=e.n(se),Le=e("HQEm"),Je=e.n(Le),mt=e("fEPi"),Ct=e.n(mt),Ue=e("5YOS"),Rt=e.n(Ue),Ke=e("DFhj"),wt=e.n(Ke),Ye=e("5rEg"),et=e("H84U"),rt=e("YMnH"),st=e("uaoM"),Ve=e("3Nzz"),oe=e("0n0R"),re=function(pe,ue){var De={};for(var He in pe)Object.prototype.hasOwnProperty.call(pe,He)&&ue.indexOf(He)<0&&(De[He]=pe[He]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,He=Object.getOwnPropertySymbols(pe);ze<He.length;ze++)ue.indexOf(He[ze])<0&&Object.prototype.propertyIsEnumerable.call(pe,He[ze])&&(De[He[ze]]=pe[He[ze]]);return De},it=50;function Qe(pe,ue,De){return pe.split(ue).map(function(He,ze){return ze===0?He:[t.createElement("span",{className:"".concat(De,"-menu-item-keyword"),key:"seperator"},ue),He]})}function ve(pe,ue,De){return ue.some(function(He){return He[De.label].indexOf(pe)>-1})}function Zt(pe,ue,De,He){return ue.map(function(ze,Xe){var Be=ze[He.label],nt=Be.indexOf(pe)>-1?Qe(Be,pe,De):Be;return Xe===0?nt:[" / ",nt]})}function dt(pe,ue,De,He){function ze(Xe){return Xe[He.label].indexOf(De)>-1}return pe.findIndex(ze)-ue.findIndex(ze)}function ct(pe){var ue=pe.fieldNames;return ue}function yt(pe){var ue=ct(pe)||{},De={children:ue.children||"children",label:ue.label||"label",value:ue.value||"value"};return De}function _t(pe,ue){var De=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],He=yt(ue),ze=[],Xe=He.children;return pe.forEach(function(Be){var nt=De.concat(Be);(ue.changeOnSelect||!Be[Xe]||!Be[Xe].length)&&ze.push(nt),Be[Xe]&&(ze=ze.concat(_t(Be[Xe],ue,nt)))}),ze}var or=function(ue){return ue.join(" / ")};function Pt(pe){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(pe||[]).forEach(function(De){var He=ue.value||"value";Object(st.a)(He in De,"Cascader","Not found `value` in `options`."),Pt(De[ue.children||"children"],ue)})}var be=function(pe){d()(De,pe);var ue=l()(De);function De(He){var ze;return h()(this,De),ze=ue.call(this,He),ze.cachedOptions=[],ze.setValue=function(Xe){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in ze.props||ze.setState({value:Xe});var nt=ze.props.onChange;nt&&nt(Xe,Be)},ze.saveInput=function(Xe){ze.input=Xe},ze.handleChange=function(Xe,Be){if(ze.setState({inputValue:""}),Be[0].__IS_FILTERED_OPTION){var nt=Xe[0],At=Be[0].path;ze.setValue(nt,At);return}ze.setValue(Xe,Be)},ze.handlePopupVisibleChange=function(Xe){"popupVisible"in ze.props||ze.setState(function(nt){return{popupVisible:Xe,inputFocused:Xe,inputValue:Xe?nt.inputValue:""}});var Be=ze.props.onPopupVisibleChange;Be&&Be(Xe)},ze.handleInputBlur=function(){ze.setState({inputFocused:!1})},ze.handleInputClick=function(Xe){var Be=ze.state,nt=Be.inputFocused,At=Be.popupVisible;(nt||At)&&Xe.stopPropagation()},ze.handleKeyDown=function(Xe){(Xe.keyCode===w.a.BACKSPACE||Xe.keyCode===w.a.SPACE)&&Xe.stopPropagation()},ze.handleInputChange=function(Xe){var Be=ze.state.popupVisible,nt=Xe.target.value;Be||ze.handlePopupVisibleChange(!0),ze.setState({inputValue:nt})},ze.clearSelection=function(Xe){var Be=ze.state.inputValue;Xe.preventDefault(),Xe.stopPropagation(),Be?ze.setState({inputValue:""}):(ze.handlePopupVisibleChange(!1),ze.clearSelectionTimeout=setTimeout(function(){ze.setValue([])},200))},ze.renderCascader=function(Xe,Be){var nt=Xe.getPopupContainer,At=Xe.getPrefixCls,It=Xe.renderEmpty,ae=Xe.direction;return t.createElement(Ve.b.Consumer,null,function(he){var q,ne,Se,Ne,Me=r()(ze),$e=Me.props,vt=Me.state,Wt=$e.prefixCls,$t=$e.inputPrefixCls,Dt=$e.children,Kt=$e.placeholder,Gt=Kt===void 0?Be.placeholder||"Please select":Kt,Qt=$e.size,Mt=$e.disabled,dr=$e.className,er=$e.style,ot=$e.allowClear,xt=$e.showSearch,ut=xt===void 0?!1:xt,ft=$e.suffixIcon,Ot=$e.expandIcon,Tt=$e.notFoundContent,ht=$e.popupClassName,Ht=$e.bordered,Ft=$e.dropdownRender,ir=re($e,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),Xt=Qt||he,mr=vt.value,Ar=vt.inputFocused,Nr=ae==="rtl",Fr=At("cascader",Wt),tn=At("input",$t),qr=Fe()((q={},m()(q,"".concat(tn,"-lg"),Xt==="large"),m()(q,"".concat(tn,"-sm"),Xt==="small"),q)),Lr=ot&&!Mt&&mr.length>0||vt.inputValue?t.createElement(fe.a,{className:"".concat(Fr,"-picker-clear"),onClick:ze.clearSelection}):null,Qr=Fe()((ne={},m()(ne,"".concat(Fr,"-picker-arrow"),!0),m()(ne,"".concat(Fr,"-picker-arrow-expand"),vt.popupVisible),ne)),_r=Fe()(dr,"".concat(Fr,"-picker"),(Se={},m()(Se,"".concat(Fr,"-picker-rtl"),Nr),m()(Se,"".concat(Fr,"-picker-with-value"),vt.inputValue),m()(Se,"".concat(Fr,"-picker-disabled"),Mt),m()(Se,"".concat(Fr,"-picker-").concat(Xt),!!Xt),m()(Se,"".concat(Fr,"-picker-show-search"),!!ut),m()(Se,"".concat(Fr,"-picker-focused"),Ar),m()(Se,"".concat(Fr,"-picker-borderless"),!Ht),Se)),ur=Object(Oe.default)(ir,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","bordered"]),pr=$e.options,cr=yt(ze.props);if(pr&&pr.length>0)vt.inputValue&&(pr=ze.generateFilteredOptions(Fr,It));else{var fr;pr=[(fr={},m()(fr,cr.label,Tt||It("Cascader")),m()(fr,cr.value,"ANT_CASCADER_NOT_FOUND"),fr)]}vt.popupVisible?ze.cachedOptions=pr:pr=ze.cachedOptions;var xr={},Yr=(pr||[]).length===1&&pr[0].isEmptyNode;Yr&&(xr.height="auto");var un=ut.matchInputWidth!==!1;un&&(vt.inputValue||Yr)&&ze.input&&(xr.width=ze.input.input.offsetWidth);var Nn;ft?Nn=Object(oe.c)(ft,t.createElement("span",{className:"".concat(Fr,"-picker-arrow")},ft),function(){var Yn;return{className:Fe()((Yn={},m()(Yn,ft.props.className,ft.props.className),m()(Yn,"".concat(Fr,"-picker-arrow"),!0),Yn))}}):Nn=t.createElement(Je.a,{className:Qr});var jr=Dt||t.createElement("span",{style:er,className:_r},t.createElement("span",{className:"".concat(Fr,"-picker-label")},ze.getLabel()),t.createElement(Ye.a,f()({},ur,{tabIndex:"-1",ref:ze.saveInput,prefixCls:tn,placeholder:mr&&mr.length>0?void 0:Gt,className:"".concat(Fr,"-input ").concat(qr),value:vt.inputValue,disabled:Mt,readOnly:!ut,autoComplete:ur.autoComplete||"off",onClick:ut?ze.handleInputClick:void 0,onBlur:ut?ze.handleInputBlur:void 0,onKeyDown:ze.handleKeyDown,onChange:ut?ze.handleInputChange:void 0})),Lr,Nn),Tn;Ot?Tn=Ot:Tn=Nr?t.createElement(wt.a,null):t.createElement(Ct.a,null);var gn=t.createElement("span",{className:"".concat(Fr,"-menu-item-loading-icon")},t.createElement(Rt.a,{spin:!0})),Bn=$e.getPopupContainer||nt,zn=Object(Oe.default)($e,["inputIcon","expandIcon","loadingIcon","bordered"]),qn=Fe()(ht,(Ne={},m()(Ne,"".concat(Fr,"-menu-").concat(ae),ae==="rtl"),m()(Ne,"".concat(Fr,"-menu-empty"),pr.length===1&&pr[0].value==="ANT_CASCADER_NOT_FOUND"),Ne));return t.createElement(Te,f()({},zn,{prefixCls:Fr,getPopupContainer:Bn,options:pr,value:mr,popupVisible:vt.popupVisible,onPopupVisibleChange:ze.handlePopupVisibleChange,onChange:ze.handleChange,dropdownMenuColumnStyle:xr,expandIcon:Tn,loadingIcon:gn,popupClassName:qn,popupPlacement:ze.getPopupPlacement(ae),dropdownRender:Ft}),jr)})},ze.state={value:He.value||He.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:He.popupVisible,flattenOptions:He.showSearch?_t(He.options,He):void 0,prevProps:He},ze}return a()(De,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var ze=this.props,Xe=ze.options,Be=ze.displayRender,nt=Be===void 0?or:Be,At=yt(this.props),It=this.state.value,ae=Array.isArray(It[0])?It[0]:It,he=E()(Xe,function(ne,Se){return ne[At.value]===ae[Se]},{childrenKeyName:At.children}),q=he.length?he.map(function(ne){return ne[At.label]}):It;return nt(q,he)}},{key:"generateFilteredOptions",value:function(ze,Xe){var Be=this,nt,At=this.props,It=At.showSearch,ae=At.notFoundContent,he=yt(this.props),q=It.filter,ne=q===void 0?ve:q,Se=It.render,Ne=Se===void 0?Zt:Se,Me=It.sort,$e=Me===void 0?dt:Me,vt=It.limit,Wt=vt===void 0?it:vt,$t=this.state,Dt=$t.flattenOptions,Kt=Dt===void 0?[]:Dt,Gt=$t.inputValue,Qt;if(Wt>0){Qt=[];var Mt=0;Kt.some(function(dr){var er=ne(Be.state.inputValue,dr,he);return er&&(Qt.push(dr),Mt+=1),Mt>=Wt})}else Object(st.a)(typeof Wt!="number","Cascader","'limit' of showSearch should be positive number or false."),Qt=Kt.filter(function(dr){return ne(Be.state.inputValue,dr,he)});return Qt=Qt.sort(function(dr,er){return $e(dr,er,Gt,he)}),Qt.length>0?Qt.map(function(dr){var er;return er={__IS_FILTERED_OPTION:!0,path:dr},m()(er,he.value,dr.map(function(ot){return ot[he.value]})),m()(er,he.label,Ne(Gt,dr,ze,he)),m()(er,"disabled",dr.some(function(ot){return!!ot.disabled})),m()(er,"isEmptyNode",!0),er}):[(nt={},m()(nt,he.value,"ANT_CASCADER_NOT_FOUND"),m()(nt,he.label,ae||Xe("Cascader")),m()(nt,"disabled",!0),m()(nt,"isEmptyNode",!0),nt)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ltr",Xe=this.props.popupPlacement;return Xe!==void 0?Xe:ze==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var ze=this;return t.createElement(et.a,null,function(Xe){return t.createElement(rt.a,null,function(Be){return ze.renderCascader(Xe,Be)})})}}],[{key:"getDerivedStateFromProps",value:function(ze,Xe){var Be=Xe.prevProps,nt={prevProps:ze};return"value"in ze&&(nt.value=ze.value||[]),"popupVisible"in ze&&(nt.popupVisible=ze.popupVisible),ze.showSearch&&Be.options!==ze.options&&(nt.flattenOptions=_t(ze.options,ze)),nt}}]),De}(t.Component);be.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};var me=_.a=be},DFhj:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("GGyF"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},DL4k:function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},DN4a:function(D,_,e){var g=e("Fofx"),f=e("QBsz"),y=g.identity,m=5e-5;function v(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},c=h.prototype;c.transform=null,c.needLocalTransform=function(){return v(this.rotation)||v(this.position[0])||v(this.position[1])||v(this.scale[0]-1)||v(this.scale[1]-1)};var a=[];c.updateTransform=function(){var d=this.parent,n=d&&d.transform,l=this.needLocalTransform(),t=this.transform;if(!(l||n)){t&&y(t);return}t=t||g.create(),l?this.getLocalTransform(t):y(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(a);var u=a[0]<0?-1:1,p=a[1]<0?-1:1,w=((a[0]-u)*s+u)/a[0]||0,b=((a[1]-p)*s+p)/a[1]||0;t[0]*=w,t[1]*=w,t[2]*=b,t[3]*=b}this.invTransform=this.invTransform||g.create(),g.invert(this.invTransform,t)},c.getLocalTransform=function(d){return h.getLocalTransform(this,d)},c.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)},c.restoreTransform=function(d){var n=d.dpr||1;d.setTransform(n,0,0,n,0,0)};var i=[],r=g.create();c.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;v(n-1)&&(n=Math.sqrt(n)),v(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)},c.decomposeTransform=function(){if(!this.transform)return;var d=this.parent,n=this.transform;d&&d.transform&&(g.mul(i,d.invTransform,n),n=i);var l=this.origin;l&&(l[0]||l[1])&&(r[4]=l[0],r[5]=l[1],g.mul(i,n,r),i[4]-=l[0],i[5]-=l[1],n=i),this.setLocalTransform(n)},c.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)},c.transformCoordToLocal=function(d,n){var l=[d,n],t=this.invTransform;return t&&f.applyTransform(l,l,t),l},c.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||[],y(n);var l=d.origin,t=d.scale||[1,1],s=d.rotation||0,u=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]+=u[0],n[5]+=u[1],n};var o=h;D.exports=o},DO2E:function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},DSRE:function(D,_,e){(function(g){var f=e("Kz5y"),y=e("B8du"),m=_&&!_.nodeType&&_,v=m&&typeof g=="object"&&g&&!g.nodeType&&g,h=v&&v.exports===m,c=h?f.Buffer:void 0,a=c?c.isBuffer:void 0,i=a||y;g.exports=i}).call(this,e("YuTi")(D))},DYRE:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("OPEp"),m=e.n(y)},DZo9:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("JGo8"),m=e.n(y),v=e("+L6B"),h=e("MXD1"),c=e("5Dmo")},Dagg:function(D,_,e){var g=e("Gev7"),f=e("mFDi"),y=e("bYtY"),m=e("Xnb7");function v(c){g.call(this,c)}v.prototype={constructor:v,type:"image",brush:function(a,i){var r=this.style,o=r.image;r.bind(a,this,i);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,u=d.width/d.height;if(t==null&&s!=null?t=s*u:s==null&&t!=null?s=t/u:t==null&&s==null&&(t=d.width,s=d.height),this.setTransform(a),r.sWidth&&r.sHeight){var p=r.sx||0,w=r.sy||0;a.drawImage(d,p,w,r.sWidth,r.sHeight,n,l,t,s)}else if(r.sx&&r.sy){var p=r.sx,w=r.sy,b=t-p,E=s-w;a.drawImage(d,p,w,b,E,n,l,t,s)}else a.drawImage(d,n,l,t,s);r.text!=null&&(this.restoreTransform(a),this.drawRectText(a,this.getBoundingRect()))},getBoundingRect:function(){var a=this.style;return this._rect||(this._rect=new f(a.x||0,a.y||0,a.width||0,a.height||0)),this._rect}},y.inherits(v,g);var h=v;D.exports=h},Dg8C:function(D,_,e){var g=e("XxSj"),f=e("bYtY");function y(m,v){m.eachSeriesByType("sankey",function(h){var c=h.getGraph(),a=c.nodes;if(a.length){var i=Infinity,r=-Infinity;f.each(a,function(o){var d=o.getLayout().value;d<i&&(i=d),d>r&&(r=d)}),f.each(a,function(o){var d=new g({type:"color",mappingMethod:"linear",dataExtent:[i,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)})}})}D.exports=y},DjyN:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("Urep"),m=e.n(y),v=e("OaEy")},DlQD:function(D,_,e){(function(g,f){D.exports=f()})(this,function(){"use strict";function g(et,rt){for(var st=0;st<rt.length;st++){var Ve=rt[st];Ve.enumerable=Ve.enumerable||!1,Ve.configurable=!0,"value"in Ve&&(Ve.writable=!0),Object.defineProperty(et,Ve.key,Ve)}}function f(et,rt,st){return rt&&g(et.prototype,rt),st&&g(et,st),et}function y(et,rt){if(!et)return;if(typeof et=="string")return m(et,rt);var st=Object.prototype.toString.call(et).slice(8,-1);if(st==="Object"&&et.constructor&&(st=et.constructor.name),st==="Map"||st==="Set")return Array.from(et);if(st==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(st))return m(et,rt)}function m(et,rt){(rt==null||rt>et.length)&&(rt=et.length);for(var st=0,Ve=new Array(rt);st<rt;st++)Ve[st]=et[st];return Ve}function v(et,rt){var st;if(typeof Symbol=="undefined"||et[Symbol.iterator]==null){if(Array.isArray(et)||(st=y(et))||rt&&et&&typeof et.length=="number"){st&&(et=st);var Ve=0;return function(){return Ve>=et.length?{done:!0}:{done:!1,value:et[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 st=et[Symbol.iterator](),st.next.bind(st)}function h(et,rt){return rt={exports:{}},et(rt,rt.exports),rt.exports}var c=h(function(et){function rt(){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 st(Ve){et.exports.defaults=Ve}et.exports={defaults:rt(),getDefaults:rt,changeDefaults:st}}),a=c.defaults,i=c.getDefaults,r=c.changeDefaults,o=/[&<>"']/,d=/[&<>"']/g,n=/[<>"']|&(?!#?\w+;)/,l=/[<>"']|&(?!#?\w+;)/g,t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},s=function(rt){return t[rt]};function u(et,rt){if(rt){if(o.test(et))return et.replace(d,s)}else if(n.test(et))return et.replace(l,s);return et}var p=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function w(et){return et.replace(p,function(rt,st){return st=st.toLowerCase(),st==="colon"?":":st.charAt(0)==="#"?st.charAt(1)==="x"?String.fromCharCode(parseInt(st.substring(2),16)):String.fromCharCode(+st.substring(1)):""})}var b=/(^|[^\[])\^/g;function E(et,rt){et=et.source||et,rt=rt||"";var st={replace:function(oe,re){return re=re.source||re,re=re.replace(b,"$1"),et=et.replace(oe,re),st},getRegex:function(){return new RegExp(et,rt)}};return st}var A=/[^\w:]/g,S=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function T(et,rt,st){if(et){var Ve;try{Ve=decodeURIComponent(w(st)).replace(A,"").toLowerCase()}catch(oe){return null}if(Ve.indexOf("javascript:")===0||Ve.indexOf("vbscript:")===0||Ve.indexOf("data:")===0)return null}rt&&!S.test(st)&&(st=N(rt,st));try{st=encodeURI(st).replace(/%25/g,"%")}catch(oe){return null}return st}var L={},x=/^[^:]+:\/*[^/]*$/,C=/^([^:]+:)[\s\S]*$/,I=/^([^:]+:\/*[^/]*)[\s\S]*$/;function N(et,rt){L[" "+et]||(x.test(et)?L[" "+et]=et+"/":L[" "+et]=P(et,"/",!0)),et=L[" "+et];var st=et.indexOf(":")===-1;return rt.substring(0,2)==="//"?st?rt:et.replace(C,"$1")+rt:rt.charAt(0)==="/"?st?rt:et.replace(I,"$1")+rt:et+rt}var F={exec:function(){}};function k(et){for(var rt=1,st,Ve;rt<arguments.length;rt++){st=arguments[rt];for(Ve in st)Object.prototype.hasOwnProperty.call(st,Ve)&&(et[Ve]=st[Ve])}return et}function B(et,rt){var st=et.replace(/\|/g,function(re,it,Qe){for(var ve=!1,Zt=it;--Zt>=0&&Qe[Zt]==="\\";)ve=!ve;return ve?"|":" |"}),Ve=st.split(/ \|/),oe=0;if(Ve.length>rt)Ve.splice(rt);else for(;Ve.length<rt;)Ve.push("");for(;oe<Ve.length;oe++)Ve[oe]=Ve[oe].trim().replace(/\\\|/g,"|");return Ve}function P(et,rt,st){var Ve=et.length;if(Ve===0)return"";for(var oe=0;oe<Ve;){var re=et.charAt(Ve-oe-1);if(re===rt&&!st)oe++;else if(re!==rt&&st)oe++;else break}return et.substr(0,Ve-oe)}function K(et,rt){if(et.indexOf(rt[1])===-1)return-1;for(var st=et.length,Ve=0,oe=0;oe<st;oe++)if(et[oe]==="\\")oe++;else if(et[oe]===rt[0])Ve++;else if(et[oe]===rt[1]&&(Ve--,Ve<0))return oe;return-1}function R(et){et&&et.sanitize&&!et.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 U={escape:u,unescape:w,edit:E,cleanUrl:T,resolveUrl:N,noopTest:F,merge:k,splitCells:B,rtrim:P,findClosingBracket:K,checkSanitizeDeprecation:R},j=c.defaults,H=U.rtrim,W=U.splitCells,X=U.escape,z=U.findClosingBracket;function G(et,rt,st){var Ve=rt.href,oe=rt.title?X(rt.title):null,re=et[1].replace(/\\([\[\]])/g,"$1");return et[0].charAt(0)!=="!"?{type:"link",raw:st,href:Ve,title:oe,text:re}:{type:"image",raw:st,href:Ve,title:oe,text:X(re)}}function Z(et,rt){var st=et.match(/^(\s+)(?:```)/);if(st===null)return rt;var Ve=st[1];return rt.split(`
`).map(function(oe){var re=oe.match(/^\s+/);if(re===null)return oe;var it=re[0];return it.length>=Ve.length?oe.slice(Ve.length):oe}).join(`
`)}var ge=function(){function et(st){this.options=st||j}var rt=et.prototype;return rt.space=function(Ve){var oe=this.rules.block.newline.exec(Ve);if(oe)return oe[0].length>1?{type:"space",raw:oe[0]}:{raw:`
`}},rt.code=function(Ve,oe){var re=this.rules.block.code.exec(Ve);if(re){var it=oe[oe.length-1];if(it&&it.type==="paragraph")return{raw:re[0],text:re[0].trimRight()};var Qe=re[0].replace(/^ {4}/gm,"");return{type:"code",raw:re[0],codeBlockStyle:"indented",text:this.options.pedantic?Qe:H(Qe,`
`)}}},rt.fences=function(Ve){var oe=this.rules.block.fences.exec(Ve);if(oe){var re=oe[0],it=Z(re,oe[3]||"");return{type:"code",raw:re,lang:oe[2]?oe[2].trim():oe[2],text:it}}},rt.heading=function(Ve){var oe=this.rules.block.heading.exec(Ve);if(oe)return{type:"heading",raw:oe[0],depth:oe[1].length,text:oe[2]}},rt.nptable=function(Ve){var oe=this.rules.block.nptable.exec(Ve);if(oe){var re={type:"table",header:W(oe[1].replace(/^ *| *\| *$/g,"")),align:oe[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:oe[3]?oe[3].replace(/\n$/,"").split(`
`):[],raw:oe[0]};if(re.header.length===re.align.length){var it=re.align.length,Qe;for(Qe=0;Qe<it;Qe++)/^ *-+: *$/.test(re.align[Qe])?re.align[Qe]="right":/^ *:-+: *$/.test(re.align[Qe])?re.align[Qe]="center":/^ *:-+ *$/.test(re.align[Qe])?re.align[Qe]="left":re.align[Qe]=null;for(it=re.cells.length,Qe=0;Qe<it;Qe++)re.cells[Qe]=W(re.cells[Qe],re.header.length);return re}}},rt.hr=function(Ve){var oe=this.rules.block.hr.exec(Ve);if(oe)return{type:"hr",raw:oe[0]}},rt.blockquote=function(Ve){var oe=this.rules.block.blockquote.exec(Ve);if(oe){var re=oe[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:oe[0],text:re}}},rt.list=function(Ve){var oe=this.rules.block.list.exec(Ve);if(oe){for(var re=oe[0],it=oe[2],Qe=it.length>1,ve=it[it.length-1]===")",Zt={type:"list",raw:re,ordered:Qe,start:Qe?+it.slice(0,-1):"",loose:!1,items:[]},dt=oe[0].match(this.rules.block.item),ct=!1,yt,_t,or,Pt,be,me,pe,ue=dt.length,De=0;De<ue;De++)yt=dt[De],re=yt,_t=yt.length,yt=yt.replace(/^ *([*+-]|\d+[.)]) */,""),~yt.indexOf(`
`)&&(_t-=yt.length,yt=this.options.pedantic?yt.replace(/^ {1,4}/gm,""):yt.replace(new RegExp("^ {1,"+_t+"}","gm"),"")),De!==ue-1&&(or=this.rules.block.bullet.exec(dt[De+1])[0],(Qe?or.length===1||!ve&&or[or.length-1]===")":or.length>1||this.options.smartLists&&or!==it)&&(Pt=dt.slice(De+1).join(`
`),Zt.raw=Zt.raw.substring(0,Zt.raw.length-Pt.length),De=ue-1)),be=ct||/\n\n(?!\s*$)/.test(yt),De!==ue-1&&(ct=yt.charAt(yt.length-1)===`
`,be||(be=ct)),be&&(Zt.loose=!0),me=/^\[[ xX]\] /.test(yt),pe=void 0,me&&(pe=yt[1]!==" ",yt=yt.replace(/^\[[ xX]\] +/,"")),Zt.items.push({type:"list_item",raw:re,task:me,checked:pe,loose:be,text:yt});return Zt}},rt.html=function(Ve){var oe=this.rules.block.html.exec(Ve);if(oe)return{type:this.options.sanitize?"paragraph":"html",raw:oe[0],pre:!this.options.sanitizer&&(oe[1]==="pre"||oe[1]==="script"||oe[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(oe[0]):X(oe[0]):oe[0]}},rt.def=function(Ve){var oe=this.rules.block.def.exec(Ve);if(oe){oe[3]&&(oe[3]=oe[3].substring(1,oe[3].length-1));var re=oe[1].toLowerCase().replace(/\s+/g," ");return{tag:re,raw:oe[0],href:oe[2],title:oe[3]}}},rt.table=function(Ve){var oe=this.rules.block.table.exec(Ve);if(oe){var re={type:"table",header:W(oe[1].replace(/^ *| *\| *$/g,"")),align:oe[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:oe[3]?oe[3].replace(/\n$/,"").split(`
`):[]};if(re.header.length===re.align.length){re.raw=oe[0];var it=re.align.length,Qe;for(Qe=0;Qe<it;Qe++)/^ *-+: *$/.test(re.align[Qe])?re.align[Qe]="right":/^ *:-+: *$/.test(re.align[Qe])?re.align[Qe]="center":/^ *:-+ *$/.test(re.align[Qe])?re.align[Qe]="left":re.align[Qe]=null;for(it=re.cells.length,Qe=0;Qe<it;Qe++)re.cells[Qe]=W(re.cells[Qe].replace(/^ *\| *| *\| *$/g,""),re.header.length);return re}}},rt.lheading=function(Ve){var oe=this.rules.block.lheading.exec(Ve);if(oe)return{type:"heading",raw:oe[0],depth:oe[2].charAt(0)==="="?1:2,text:oe[1]}},rt.paragraph=function(Ve){var oe=this.rules.block.paragraph.exec(Ve);if(oe)return{type:"paragraph",raw:oe[0],text:oe[1].charAt(oe[1].length-1)===`
`?oe[1].slice(0,-1):oe[1]}},rt.text=function(Ve,oe){var re=this.rules.block.text.exec(Ve);if(re){var it=oe[oe.length-1];return it&&it.type==="text"?{raw:re[0],text:re[0]}:{type:"text",raw:re[0],text:re[0]}}},rt.escape=function(Ve){var oe=this.rules.inline.escape.exec(Ve);if(oe)return{type:"escape",raw:oe[0],text:X(oe[1])}},rt.tag=function(Ve,oe,re){var it=this.rules.inline.tag.exec(Ve);if(it)return!oe&&/^<a /i.test(it[0])?oe=!0:oe&&/^<\/a>/i.test(it[0])&&(oe=!1),!re&&/^<(pre|code|kbd|script)(\s|>)/i.test(it[0])?re=!0:re&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(it[0])&&(re=!1),{type:this.options.sanitize?"text":"html",raw:it[0],inLink:oe,inRawBlock:re,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(it[0]):X(it[0]):it[0]}},rt.link=function(Ve){var oe=this.rules.inline.link.exec(Ve);if(oe){var re=z(oe[2],"()");if(re>-1){var it=oe[0].indexOf("!")===0?5:4,Qe=it+oe[1].length+re;oe[2]=oe[2].substring(0,re),oe[0]=oe[0].substring(0,Qe).trim(),oe[3]=""}var ve=oe[2],Zt="";if(this.options.pedantic){var dt=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(ve);dt?(ve=dt[1],Zt=dt[3]):Zt=""}else Zt=oe[3]?oe[3].slice(1,-1):"";ve=ve.trim().replace(/^<([\s\S]*)>$/,"$1");var ct=G(oe,{href:ve&&ve.replace(this.rules.inline._escapes,"$1"),title:Zt&&Zt.replace(this.rules.inline._escapes,"$1")},oe[0]);return ct}},rt.reflink=function(Ve,oe){var re;if((re=this.rules.inline.reflink.exec(Ve))||(re=this.rules.inline.nolink.exec(Ve))){var it=(re[2]||re[1]).replace(/\s+/g," ");if(it=oe[it.toLowerCase()],!it||!it.href){var Qe=re[0].charAt(0);return{type:"text",raw:Qe,text:Qe}}var ve=G(re,it,re[0]);return ve}},rt.strong=function(Ve,oe,re){re===void 0&&(re="");var it=this.rules.inline.strong.start.exec(Ve);if(it&&(!it[1]||it[1]&&(re===""||this.rules.inline.punctuation.exec(re)))){oe=oe.slice(-1*Ve.length);var Qe=it[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;Qe.lastIndex=0;for(var ve;(it=Qe.exec(oe))!=null;)if(ve=this.rules.inline.strong.middle.exec(oe.slice(0,it.index+3)),ve)return{type:"strong",raw:Ve.slice(0,ve[0].length),text:Ve.slice(2,ve[0].length-2)}}},rt.em=function(Ve,oe,re){re===void 0&&(re="");var it=this.rules.inline.em.start.exec(Ve);if(it&&(!it[1]||it[1]&&(re===""||this.rules.inline.punctuation.exec(re)))){oe=oe.slice(-1*Ve.length);var Qe=it[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;Qe.lastIndex=0;for(var ve;(it=Qe.exec(oe))!=null;)if(ve=this.rules.inline.em.middle.exec(oe.slice(0,it.index+2)),ve)return{type:"em",raw:Ve.slice(0,ve[0].length),text:Ve.slice(1,ve[0].length-1)}}},rt.codespan=function(Ve){var oe=this.rules.inline.code.exec(Ve);if(oe){var re=oe[2].replace(/\n/g," "),it=/[^ ]/.test(re),Qe=re.startsWith(" ")&&re.endsWith(" ");return it&&Qe&&(re=re.substring(1,re.length-1)),re=X(re,!0),{type:"codespan",raw:oe[0],text:re}}},rt.br=function(Ve){var oe=this.rules.inline.br.exec(Ve);if(oe)return{type:"br",raw:oe[0]}},rt.del=function(Ve){var oe=this.rules.inline.del.exec(Ve);if(oe)return{type:"del",raw:oe[0],text:oe[1]}},rt.autolink=function(Ve,oe){var re=this.rules.inline.autolink.exec(Ve);if(re){var it,Qe;return re[2]==="@"?(it=X(this.options.mangle?oe(re[1]):re[1]),Qe="mailto:"+it):(it=X(re[1]),Qe=it),{type:"link",raw:re[0],text:it,href:Qe,tokens:[{type:"text",raw:it,text:it}]}}},rt.url=function(Ve,oe){var re;if(re=this.rules.inline.url.exec(Ve)){var it,Qe;if(re[2]==="@")it=X(this.options.mangle?oe(re[0]):re[0]),Qe="mailto:"+it;else{var ve;do ve=re[0],re[0]=this.rules.inline._backpedal.exec(re[0])[0];while(ve!==re[0]);it=X(re[0]),re[1]==="www."?Qe="http://"+it:Qe=it}return{type:"link",raw:re[0],text:it,href:Qe,tokens:[{type:"text",raw:it,text:it}]}}},rt.inlineText=function(Ve,oe,re){var it=this.rules.inline.text.exec(Ve);if(it){var Qe;return oe?Qe=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(it[0]):X(it[0]):it[0]:Qe=X(this.options.smartypants?re(it[0]):it[0]),{type:"text",raw:it[0],text:Qe}}},et}(),Q=U.noopTest,we=U.edit,Ee=U.merge,Ae={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:Q,table:Q,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};Ae._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,Ae._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,Ae.def=we(Ae.def).replace("label",Ae._label).replace("title",Ae._title).getRegex(),Ae.bullet=/(?:[*+-]|\d{1,9}[.)])/,Ae.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,Ae.item=we(Ae.item,"gm").replace(/bull/g,Ae.bullet).getRegex(),Ae.list=we(Ae.list).replace(/bull/g,Ae.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Ae.def.source+")").getRegex(),Ae._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",Ae._comment=/<!--(?!-?>)[\s\S]*?-->/,Ae.html=we(Ae.html,"i").replace("comment",Ae._comment).replace("tag",Ae._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Ae.paragraph=we(Ae._paragraph).replace("hr",Ae.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",Ae._tag).getRegex(),Ae.blockquote=we(Ae.blockquote).replace("paragraph",Ae.paragraph).getRegex(),Ae.normal=Ee({},Ae),Ae.gfm=Ee({},Ae.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*|$)"}),Ae.gfm.nptable=we(Ae.gfm.nptable).replace("hr",Ae.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",Ae._tag).getRegex(),Ae.gfm.table=we(Ae.gfm.table).replace("hr",Ae.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",Ae._tag).getRegex(),Ae.pedantic=Ee({},Ae.normal,{html:we(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Ae._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:Q,paragraph:we(Ae.normal._paragraph).replace("hr",Ae.hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",Ae.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Pe={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Q,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:Q,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/};Pe._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Pe.punctuation=we(Pe.punctuation).replace(/punctuation/g,Pe._punctuation).getRegex(),Pe._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",Pe._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",Pe.em.start=we(Pe.em.start).replace(/punctuation/g,Pe._punctuation).getRegex(),Pe.em.middle=we(Pe.em.middle).replace(/punctuation/g,Pe._punctuation).replace(/overlapSkip/g,Pe._overlapSkip).getRegex(),Pe.em.endAst=we(Pe.em.endAst,"g").replace(/punctuation/g,Pe._punctuation).getRegex(),Pe.em.endUnd=we(Pe.em.endUnd,"g").replace(/punctuation/g,Pe._punctuation).getRegex(),Pe.strong.start=we(Pe.strong.start).replace(/punctuation/g,Pe._punctuation).getRegex(),Pe.strong.middle=we(Pe.strong.middle).replace(/punctuation/g,Pe._punctuation).replace(/blockSkip/g,Pe._blockSkip).getRegex(),Pe.strong.endAst=we(Pe.strong.endAst,"g").replace(/punctuation/g,Pe._punctuation).getRegex(),Pe.strong.endUnd=we(Pe.strong.endUnd,"g").replace(/punctuation/g,Pe._punctuation).getRegex(),Pe.blockSkip=we(Pe._blockSkip,"g").getRegex(),Pe.overlapSkip=we(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=we(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=we(Pe.tag).replace("comment",Ae._comment).replace("attribute",Pe._attribute).getRegex(),Pe._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Pe._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,Pe._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Pe.link=we(Pe.link).replace("label",Pe._label).replace("href",Pe._href).replace("title",Pe._title).getRegex(),Pe.reflink=we(Pe.reflink).replace("label",Pe._label).getRegex(),Pe.reflinkSearch=we(Pe.reflinkSearch,"g").replace("reflink",Pe.reflink).replace("nolink",Pe.nolink).getRegex(),Pe.normal=Ee({},Pe),Pe.pedantic=Ee({},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:we(/^!?\[(label)\]\((.*?)\)/).replace("label",Pe._label).getRegex(),reflink:we(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Pe._label).getRegex()}),Pe.gfm=Ee({},Pe.normal,{escape:we(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=we(Pe.gfm.url,"i").replace("email",Pe.gfm._extended_email).getRegex(),Pe.breaks=Ee({},Pe.gfm,{br:we(Pe.br).replace("{2,}","*").getRegex(),text:we(Pe.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Ge={block:Ae,inline:Pe},gt=c.defaults,_e=Ge.block,Ce=Ge.inline;function lt(et){return et.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 ce(et){var rt="",st,Ve,oe=et.length;for(st=0;st<oe;st++)Ve=et.charCodeAt(st),Math.random()>.5&&(Ve="x"+Ve.toString(16)),rt+="&#"+Ve+";";return rt}var Y=function(){function et(st){this.tokens=[],this.tokens.links=Object.create(null),this.options=st||gt,this.options.tokenizer=this.options.tokenizer||new ge,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var Ve={block:_e.normal,inline:Ce.normal};this.options.pedantic?(Ve.block=_e.pedantic,Ve.inline=Ce.pedantic):this.options.gfm&&(Ve.block=_e.gfm,this.options.breaks?Ve.inline=Ce.breaks:Ve.inline=Ce.gfm),this.tokenizer.rules=Ve}et.lex=function(Ve,oe){var re=new et(oe);return re.lex(Ve)};var rt=et.prototype;return rt.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},rt.blockTokens=function(Ve,oe,re){oe===void 0&&(oe=[]),re===void 0&&(re=!0),Ve=Ve.replace(/^ +$/gm,"");for(var it,Qe,ve,Zt;Ve;){if(it=this.tokenizer.space(Ve)){Ve=Ve.substring(it.raw.length),it.type&&oe.push(it);continue}if(it=this.tokenizer.code(Ve,oe)){Ve=Ve.substring(it.raw.length),it.type?oe.push(it):(Zt=oe[oe.length-1],Zt.raw+=`
`+it.raw,Zt.text+=`
`+it.text);continue}if(it=this.tokenizer.fences(Ve)){Ve=Ve.substring(it.raw.length),oe.push(it);continue}if(it=this.tokenizer.heading(Ve)){Ve=Ve.substring(it.raw.length),oe.push(it);continue}if(it=this.tokenizer.nptable(Ve)){Ve=Ve.substring(it.raw.length),oe.push(it);continue}if(it=this.tokenizer.hr(Ve)){Ve=Ve.substring(it.raw.length),oe.push(it);continue}if(it=this.tokenizer.blockquote(Ve)){Ve=Ve.substring(it.raw.length),it.tokens=this.blockTokens(it.text,[],re),oe.push(it);continue}if(it=this.tokenizer.list(Ve)){for(Ve=Ve.substring(it.raw.length),ve=it.items.length,Qe=0;Qe<ve;Qe++)it.items[Qe].tokens=this.blockTokens(it.items[Qe].text,[],!1);oe.push(it);continue}if(it=this.tokenizer.html(Ve)){Ve=Ve.substring(it.raw.length),oe.push(it);continue}if(re&&(it=this.tokenizer.def(Ve))){Ve=Ve.substring(it.raw.length),this.tokens.links[it.tag]||(this.tokens.links[it.tag]={href:it.href,title:it.title});continue}if(it=this.tokenizer.table(Ve)){Ve=Ve.substring(it.raw.length),oe.push(it);continue}if(it=this.tokenizer.lheading(Ve)){Ve=Ve.substring(it.raw.length),oe.push(it);continue}if(re&&(it=this.tokenizer.paragraph(Ve))){Ve=Ve.substring(it.raw.length),oe.push(it);continue}if(it=this.tokenizer.text(Ve,oe)){Ve=Ve.substring(it.raw.length),it.type?oe.push(it):(Zt=oe[oe.length-1],Zt.raw+=`
`+it.raw,Zt.text+=`
`+it.text);continue}if(Ve){var dt="Infinite loop on byte: "+Ve.charCodeAt(0);if(this.options.silent){console.error(dt);break}else throw new Error(dt)}}return oe},rt.inline=function(Ve){var oe,re,it,Qe,ve,Zt,dt=Ve.length;for(oe=0;oe<dt;oe++){Zt=Ve[oe];switch(Zt.type){case"paragraph":case"text":case"heading":{Zt.tokens=[],this.inlineTokens(Zt.text,Zt.tokens);break}case"table":{for(Zt.tokens={header:[],cells:[]},Qe=Zt.header.length,re=0;re<Qe;re++)Zt.tokens.header[re]=[],this.inlineTokens(Zt.header[re],Zt.tokens.header[re]);for(Qe=Zt.cells.length,re=0;re<Qe;re++)for(ve=Zt.cells[re],Zt.tokens.cells[re]=[],it=0;it<ve.length;it++)Zt.tokens.cells[re][it]=[],this.inlineTokens(ve[it],Zt.tokens.cells[re][it]);break}case"blockquote":{this.inline(Zt.tokens);break}case"list":{for(Qe=Zt.items.length,re=0;re<Qe;re++)this.inline(Zt.items[re].tokens);break}}}return Ve},rt.inlineTokens=function(Ve,oe,re,it,Qe){oe===void 0&&(oe=[]),re===void 0&&(re=!1),it===void 0&&(it=!1),Qe===void 0&&(Qe="");var ve,Zt=Ve,dt;if(this.tokens.links){var ct=Object.keys(this.tokens.links);if(ct.length>0)for(;(dt=this.tokenizer.rules.inline.reflinkSearch.exec(Zt))!=null;)ct.includes(dt[0].slice(dt[0].lastIndexOf("[")+1,-1))&&(Zt=Zt.slice(0,dt.index)+"["+"a".repeat(dt[0].length-2)+"]"+Zt.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(dt=this.tokenizer.rules.inline.blockSkip.exec(Zt))!=null;)Zt=Zt.slice(0,dt.index)+"["+"a".repeat(dt[0].length-2)+"]"+Zt.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;Ve;){if(ve=this.tokenizer.escape(Ve)){Ve=Ve.substring(ve.raw.length),oe.push(ve);continue}if(ve=this.tokenizer.tag(Ve,re,it)){Ve=Ve.substring(ve.raw.length),re=ve.inLink,it=ve.inRawBlock,oe.push(ve);continue}if(ve=this.tokenizer.link(Ve)){Ve=Ve.substring(ve.raw.length),ve.type==="link"&&(ve.tokens=this.inlineTokens(ve.text,[],!0,it)),oe.push(ve);continue}if(ve=this.tokenizer.reflink(Ve,this.tokens.links)){Ve=Ve.substring(ve.raw.length),ve.type==="link"&&(ve.tokens=this.inlineTokens(ve.text,[],!0,it)),oe.push(ve);continue}if(ve=this.tokenizer.strong(Ve,Zt,Qe)){Ve=Ve.substring(ve.raw.length),ve.tokens=this.inlineTokens(ve.text,[],re,it),oe.push(ve);continue}if(ve=this.tokenizer.em(Ve,Zt,Qe)){Ve=Ve.substring(ve.raw.length),ve.tokens=this.inlineTokens(ve.text,[],re,it),oe.push(ve);continue}if(ve=this.tokenizer.codespan(Ve)){Ve=Ve.substring(ve.raw.length),oe.push(ve);continue}if(ve=this.tokenizer.br(Ve)){Ve=Ve.substring(ve.raw.length),oe.push(ve);continue}if(ve=this.tokenizer.del(Ve)){Ve=Ve.substring(ve.raw.length),ve.tokens=this.inlineTokens(ve.text,[],re,it),oe.push(ve);continue}if(ve=this.tokenizer.autolink(Ve,ce)){Ve=Ve.substring(ve.raw.length),oe.push(ve);continue}if(!re&&(ve=this.tokenizer.url(Ve,ce))){Ve=Ve.substring(ve.raw.length),oe.push(ve);continue}if(ve=this.tokenizer.inlineText(Ve,it,lt)){Ve=Ve.substring(ve.raw.length),Qe=ve.raw.slice(-1),oe.push(ve);continue}if(Ve){var yt="Infinite loop on byte: "+Ve.charCodeAt(0);if(this.options.silent){console.error(yt);break}else throw new Error(yt)}}return oe},f(et,null,[{key:"rules",get:function(){return{block:_e,inline:Ce}}}]),et}(),V=c.defaults,$=U.cleanUrl,Te=U.escape,ye=function(){function et(st){this.options=st||V}var rt=et.prototype;return rt.code=function(Ve,oe,re){var it=(oe||"").match(/\S*/)[0];if(this.options.highlight){var Qe=this.options.highlight(Ve,it);Qe!=null&&Qe!==Ve&&(re=!0,Ve=Qe)}return it?'<pre><code class="'+this.options.langPrefix+Te(it,!0)+'">'+(re?Ve:Te(Ve,!0))+`</code></pre>
`:"<pre><code>"+(re?Ve:Te(Ve,!0))+`</code></pre>
`},rt.blockquote=function(Ve){return`<blockquote>
`+Ve+`</blockquote>
`},rt.html=function(Ve){return Ve},rt.heading=function(Ve,oe,re,it){return this.options.headerIds?"<h"+oe+' id="'+this.options.headerPrefix+it.slug(re)+'">'+Ve+"</h"+oe+`>
`:"<h"+oe+">"+Ve+"</h"+oe+`>
`},rt.hr=function(){return this.options.xhtml?`<hr/>
`:`<hr>
`},rt.list=function(Ve,oe,re){var it=oe?"ol":"ul",Qe=oe&&re!==1?' start="'+re+'"':"";return"<"+it+Qe+`>
`+Ve+"</"+it+`>
`},rt.listitem=function(Ve){return"<li>"+Ve+`</li>
`},rt.checkbox=function(Ve){return"<input "+(Ve?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},rt.paragraph=function(Ve){return"<p>"+Ve+`</p>
`},rt.table=function(Ve,oe){return oe&&(oe="<tbody>"+oe+"</tbody>"),`<table>
<thead>
`+Ve+`</thead>
`+oe+`</table>
`},rt.tablerow=function(Ve){return`<tr>
`+Ve+`</tr>
`},rt.tablecell=function(Ve,oe){var re=oe.header?"th":"td",it=oe.align?"<"+re+' align="'+oe.align+'">':"<"+re+">";return it+Ve+"</"+re+`>
`},rt.strong=function(Ve){return"<strong>"+Ve+"</strong>"},rt.em=function(Ve){return"<em>"+Ve+"</em>"},rt.codespan=function(Ve){return"<code>"+Ve+"</code>"},rt.br=function(){return this.options.xhtml?"<br/>":"<br>"},rt.del=function(Ve){return"<del>"+Ve+"</del>"},rt.link=function(Ve,oe,re){if(Ve=$(this.options.sanitize,this.options.baseUrl,Ve),Ve===null)return re;var it='<a href="'+Te(Ve)+'"';return oe&&(it+=' title="'+oe+'"'),it+=">"+re+"</a>",it},rt.image=function(Ve,oe,re){if(Ve=$(this.options.sanitize,this.options.baseUrl,Ve),Ve===null)return re;var it='<img src="'+Ve+'" alt="'+re+'"';return oe&&(it+=' title="'+oe+'"'),it+=this.options.xhtml?"/>":">",it},rt.text=function(Ve){return Ve},et}(),Fe=function(){function et(){}var rt=et.prototype;return rt.strong=function(Ve){return Ve},rt.em=function(Ve){return Ve},rt.codespan=function(Ve){return Ve},rt.del=function(Ve){return Ve},rt.html=function(Ve){return Ve},rt.text=function(Ve){return Ve},rt.link=function(Ve,oe,re){return""+re},rt.image=function(Ve,oe,re){return""+re},rt.br=function(){return""},et}(),Oe=function(){function et(){this.seen={}}var rt=et.prototype;return rt.slug=function(Ve){var oe=Ve.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(oe)){var re=oe;do this.seen[re]++,oe=re+"-"+this.seen[re];while(this.seen.hasOwnProperty(oe))}return this.seen[oe]=0,oe},et}(),se=c.defaults,fe=U.unescape,Le=function(){function et(st){this.options=st||se,this.options.renderer=this.options.renderer||new ye,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Fe,this.slugger=new Oe}et.parse=function(Ve,oe){var re=new et(oe);return re.parse(Ve)};var rt=et.prototype;return rt.parse=function(Ve,oe){oe===void 0&&(oe=!0);var re="",it,Qe,ve,Zt,dt,ct,yt,_t,or,Pt,be,me,pe,ue,De,He,ze,Xe,Be=Ve.length;for(it=0;it<Be;it++){Pt=Ve[it];switch(Pt.type){case"space":continue;case"hr":{re+=this.renderer.hr();continue}case"heading":{re+=this.renderer.heading(this.parseInline(Pt.tokens),Pt.depth,fe(this.parseInline(Pt.tokens,this.textRenderer)),this.slugger);continue}case"code":{re+=this.renderer.code(Pt.text,Pt.lang,Pt.escaped);continue}case"table":{for(_t="",yt="",Zt=Pt.header.length,Qe=0;Qe<Zt;Qe++)yt+=this.renderer.tablecell(this.parseInline(Pt.tokens.header[Qe]),{header:!0,align:Pt.align[Qe]});for(_t+=this.renderer.tablerow(yt),or="",Zt=Pt.cells.length,Qe=0;Qe<Zt;Qe++){for(ct=Pt.tokens.cells[Qe],yt="",dt=ct.length,ve=0;ve<dt;ve++)yt+=this.renderer.tablecell(this.parseInline(ct[ve]),{header:!1,align:Pt.align[ve]});or+=this.renderer.tablerow(yt)}re+=this.renderer.table(_t,or);continue}case"blockquote":{or=this.parse(Pt.tokens),re+=this.renderer.blockquote(or);continue}case"list":{for(be=Pt.ordered,me=Pt.start,pe=Pt.loose,Zt=Pt.items.length,or="",Qe=0;Qe<Zt;Qe++)De=Pt.items[Qe],He=De.checked,ze=De.task,ue="",De.task&&(Xe=this.renderer.checkbox(He),pe?De.tokens.length>0&&De.tokens[0].type==="text"?(De.tokens[0].text=Xe+" "+De.tokens[0].text,De.tokens[0].tokens&&De.tokens[0].tokens.length>0&&De.tokens[0].tokens[0].type==="text"&&(De.tokens[0].tokens[0].text=Xe+" "+De.tokens[0].tokens[0].text)):De.tokens.unshift({type:"text",text:Xe}):ue+=Xe),ue+=this.parse(De.tokens,pe),or+=this.renderer.listitem(ue,ze,He);re+=this.renderer.list(or,be,me);continue}case"html":{re+=this.renderer.html(Pt.text);continue}case"paragraph":{re+=this.renderer.paragraph(this.parseInline(Pt.tokens));continue}case"text":{for(or=Pt.tokens?this.parseInline(Pt.tokens):Pt.text;it+1<Be&&Ve[it+1].type==="text";)Pt=Ve[++it],or+=`
`+(Pt.tokens?this.parseInline(Pt.tokens):Pt.text);re+=oe?this.renderer.paragraph(or):or;continue}default:{var nt='Token with "'+Pt.type+'" type was not found.';if(this.options.silent){console.error(nt);return}else throw new Error(nt)}}}return re},rt.parseInline=function(Ve,oe){oe=oe||this.renderer;var re="",it,Qe,ve=Ve.length;for(it=0;it<ve;it++){Qe=Ve[it];switch(Qe.type){case"escape":{re+=oe.text(Qe.text);break}case"html":{re+=oe.html(Qe.text);break}case"link":{re+=oe.link(Qe.href,Qe.title,this.parseInline(Qe.tokens,oe));break}case"image":{re+=oe.image(Qe.href,Qe.title,Qe.text);break}case"strong":{re+=oe.strong(this.parseInline(Qe.tokens,oe));break}case"em":{re+=oe.em(this.parseInline(Qe.tokens,oe));break}case"codespan":{re+=oe.codespan(Qe.text);break}case"br":{re+=oe.br();break}case"del":{re+=oe.del(this.parseInline(Qe.tokens,oe));break}case"text":{re+=oe.text(Qe.text);break}default:{var Zt='Token with "'+Qe.type+'" type was not found.';if(this.options.silent){console.error(Zt);return}else throw new Error(Zt)}}}return re},et}(),Je=U.merge,mt=U.checkSanitizeDeprecation,Ct=U.escape,Ue=c.getDefaults,Rt=c.changeDefaults,Ke=c.defaults;function wt(et,rt,st){if(typeof et=="undefined"||et===null)throw new Error("marked(): input parameter is undefined or null");if(typeof et!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(et)+", string expected");if(typeof rt=="function"&&(st=rt,rt=null),rt=Je({},wt.defaults,rt||{}),mt(rt),st){var Ve=rt.highlight,oe;try{oe=Y.lex(et,rt)}catch(ve){return st(ve)}var re=function(Zt){var dt;if(!Zt)try{dt=Le.parse(oe,rt)}catch(ct){Zt=ct}return rt.highlight=Ve,Zt?st(Zt):st(null,dt)};if(!Ve||Ve.length<3)return re();if(delete rt.highlight,!oe.length)return re();var it=0;wt.walkTokens(oe,function(ve){ve.type==="code"&&(it++,setTimeout(function(){Ve(ve.text,ve.lang,function(Zt,dt){if(Zt)return re(Zt);dt!=null&&dt!==ve.text&&(ve.text=dt,ve.escaped=!0),it--,it===0&&re()})},0))}),it===0&&re();return}try{var Qe=Y.lex(et,rt);return rt.walkTokens&&wt.walkTokens(Qe,rt.walkTokens),Le.parse(Qe,rt)}catch(ve){if(ve.message+=`
Please report this to https://github.com/markedjs/marked.`,rt.silent)return"<p>An error occurred:</p><pre>"+Ct(ve.message+"",!0)+"</pre>";throw ve}}wt.options=wt.setOptions=function(et){return Je(wt.defaults,et),Rt(wt.defaults),wt},wt.getDefaults=Ue,wt.defaults=Ke,wt.use=function(et){var rt=Je({},et);if(et.renderer&&function(){var Ve=wt.defaults.renderer||new ye,oe=function(Qe){var ve=Ve[Qe];Ve[Qe]=function(){for(var Zt=arguments.length,dt=new Array(Zt),ct=0;ct<Zt;ct++)dt[ct]=arguments[ct];var yt=et.renderer[Qe].apply(Ve,dt);return yt===!1&&(yt=ve.apply(Ve,dt)),yt}};for(var re in et.renderer)oe(re);rt.renderer=Ve}(),et.tokenizer&&function(){var Ve=wt.defaults.tokenizer||new ge,oe=function(Qe){var ve=Ve[Qe];Ve[Qe]=function(){for(var Zt=arguments.length,dt=new Array(Zt),ct=0;ct<Zt;ct++)dt[ct]=arguments[ct];var yt=et.tokenizer[Qe].apply(Ve,dt);return yt===!1&&(yt=ve.apply(Ve,dt)),yt}};for(var re in et.tokenizer)oe(re);rt.tokenizer=Ve}(),et.walkTokens){var st=wt.defaults.walkTokens;rt.walkTokens=function(Ve){et.walkTokens(Ve),st&&st(Ve)}}wt.setOptions(rt)},wt.walkTokens=function(et,rt){for(var st=v(et),Ve;!(Ve=st()).done;){var oe=Ve.value;rt(oe);switch(oe.type){case"table":{for(var re=v(oe.tokens.header),it;!(it=re()).done;){var Qe=it.value;wt.walkTokens(Qe,rt)}for(var ve=v(oe.tokens.cells),Zt;!(Zt=ve()).done;)for(var dt=Zt.value,ct=v(dt),yt;!(yt=ct()).done;){var _t=yt.value;wt.walkTokens(_t,rt)}break}case"list":{wt.walkTokens(oe.items,rt);break}default:oe.tokens&&wt.walkTokens(oe.tokens,rt)}}},wt.Parser=Le,wt.parser=Le.parse,wt.Renderer=ye,wt.TextRenderer=Fe,wt.Lexer=Y,wt.lexer=Y.lex,wt.Tokenizer=ge,wt.Slugger=Oe,wt.parse=wt;var Ye=wt;return Ye})},"DlR+":function(D,_,e){var g=e("MFOe"),f=g.Global,y=g.trim;D.exports={name:"cookieStorage",read:v,write:c,each:h,remove:a,clearAll:i};var m=f.document;function v(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(!y(d[n]))continue;var l=d[n].split("="),t=unescape(l[0]),s=unescape(l[1]);o(s,t)}}function c(o,d){if(!o)return;m.cookie=escape(o)+"="+escape(d)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function a(o){if(!o||!r(o))return;m.cookie=escape(o)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function i(){h(function(o,d){a(d)})}function r(o){return new RegExp("(?:^|;\\s*)"+escape(o).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(m.cookie)}},Ducp:function(D,_,e){var g=e("bYtY"),f=e("IwbS"),y=e("+TT/"),m=e("XpcN"),v=f.Group,h=["width","height"],c=["x","y"],a=m.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){a.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new v),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new v),this._showController},resetInner:function(){a.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(r,o,d,n,l,t,s){var u=this;a.superCall(this,"renderInner",r,o,d,n,l,t,s);var p=this._controllerGroup,w=o.get("pageIconSize",!0);g.isArray(w)||(w=[w,w]),E("pagePrev",0);var b=o.getModel("pageTextStyle");p.add(new f.Text({name:"pageText",style:{textFill:b.getTextColor(),font:b.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),E("pageNext",1);function E(A,S){var T=A+"DataIndex",L=f.createIcon(o.get("pageIcons",!0)[o.getOrient().name][S],{onclick:g.bind(u._pageGo,u,T,o,n)},{x:-w[0]/2,y:-w[1]/2,width:w[0],height:w[1]});L.name=A,p.add(L)}},layoutInner:function(r,o,d,n,l,t){var s=this.getSelectorGroup(),u=r.getOrient().index,p=h[u],w=c[u],b=h[1-u],E=c[1-u];l&&y.box("horizontal",s,r.get("selectorItemGap",!0));var A=r.get("selectorButtonGap",!0),S=s.getBoundingRect(),T=[-S.x,-S.y],L=g.clone(d);l&&(L[p]=d[p]-S[p]-A);var x=this._layoutContentAndController(r,n,L,u,p,b,E);if(l){if(t==="end")T[u]+=x[p]+A;else{var C=S[p]+A;T[u]-=C,x[w]-=C}x[p]+=S[p]+A,T[1-u]+=x[E]+x[b]/2-S[b]/2,x[b]=Math.max(x[b],S[b]),x[E]=Math.min(x[E],S[E]+T[1-u]),s.attr("position",T)}return x},_layoutContentAndController:function(r,o,d,n,l,t,s){var u=this.getContentGroup(),p=this._containerGroup,w=this._controllerGroup;y.box(r.get("orient"),u,r.get("itemGap"),n?d.width:null,n?null:d.height),y.box("horizontal",w,r.get("pageButtonItemGap",!0));var b=u.getBoundingRect(),E=w.getBoundingRect(),A=this._showController=b[l]>d[l],S=[-b.x,-b.y];o||(S[n]=u.position[n]);var T=[0,0],L=[-E.x,-E.y],x=g.retrieve2(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(A){var C=r.get("pageButtonPosition",!0);C==="end"?L[n]+=d[l]-E[l]:T[n]+=E[l]+x}L[1-n]+=b[t]/2-E[t]/2,u.attr("position",S),p.attr("position",T),w.attr("position",L);var I={x:0,y:0};if(I[l]=A?d[l]:b[l],I[t]=Math.max(b[t],E[t]),I[s]=Math.min(0,E[s]+L[1-n]),p.__rectSize=d[l],A){var N={x:0,y:0};N[l]=Math.max(d[l]-E[l]-x,0),N[t]=I[t],p.setClipPath(new f.Rect({shape:N})),p.__rectSize=N[l]}else w.eachChild(function(k){k.attr({invisible:!0,silent:!0})});var F=this._getPageInfo(r);return F.pageIndex!=null&&f.updateProps(u,{position:F.contentPosition},A?r:!1),this._updatePageInfoView(r,F),I},_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 w=o[p+"DataIndex"]!=null,b=d.childOfName(p);b&&(b.setStyle("fill",w?r.get("pageIconColor",!0):r.get("pageIconInactiveColor",!0)),b.cursor=w?"pointer":"default")});var n=d.childOfName("pageText"),l=r.get("pageFormatter"),t=o.pageIndex,s=t!=null?t+1:0,u=o.pageCount;n&&l&&n.setStyle("text",g.isString(l)?l.replace("{current}",s).replace("{total}",u):l({current:s,total:u}))},_getPageInfo:function(r){var o=r.get("scrollDataIndex",!0),d=this.getContentGroup(),n=this._containerGroup.__rectSize,l=r.getOrient().index,t=h[l],s=c[l],u=this._findTargetItemIndex(o),p=d.children(),w=p[u],b=p.length,E=b?1:0,A={contentPosition:d.position.slice(),pageCount:E,pageIndex:E-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!w)return A;var S=I(w);A.contentPosition[l]=-S.s;for(var T=u+1,L=S,x=S,C=null;T<=b;++T)C=I(p[T]),(!C&&x.e>L.s+n||C&&!N(C,L.s))&&(x.i>L.i?L=x:L=C,L&&(A.pageNextDataIndex==null&&(A.pageNextDataIndex=L.i),++A.pageCount)),x=C;for(var T=u-1,L=S,x=S,C=null;T>=-1;--T)C=I(p[T]),(!C||!N(x,C.s))&&L.i<x.i&&(x=L,A.pagePrevDataIndex==null&&(A.pagePrevDataIndex=L.i),++A.pageCount,++A.pageIndex),L=C;return A;function I(F){if(F){var k=F.getBoundingRect(),B=k[s]+F.position[l];return{s:B,e:B+k[t],i:F.__legendDataIndex}}}function N(F,k){return F.e>=k&&F.s<=k+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}}),i=a;D.exports=i},"E/ki":function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},E2g8:function(D,_,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(y,m){D.exports=m()})(this,function(){"use strict";function y(ye){var Fe=typeof ye;return ye!==null&&(Fe==="object"||Fe==="function")}function m(ye){return typeof ye=="function"}var v=void 0;Array.isArray?v=Array.isArray:v=function(Fe){return Object.prototype.toString.call(Fe)==="[object Array]"};var h=v,c=0,a=void 0,i=void 0,r=function(Fe,Oe){S[c]=Fe,S[c+1]=Oe,c+=2,c===2&&(i?i(T):x())};function o(ye){i=ye}function d(ye){r=ye}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]",u=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function p(){return function(){return g.nextTick(T)}}function w(){return typeof a!="undefined"?function(){a(T)}:A()}function b(){var ye=0,Fe=new t(T),Oe=document.createTextNode("");return Fe.observe(Oe,{characterData:!0}),function(){Oe.data=ye=++ye%2}}function E(){var ye=new MessageChannel;return ye.port1.onmessage=T,function(){return ye.port2.postMessage(0)}}function A(){var ye=setTimeout;return function(){return ye(T,1)}}var S=new Array(1e3);function T(){for(var ye=0;ye<c;ye+=2){var Fe=S[ye],Oe=S[ye+1];Fe(Oe),S[ye]=void 0,S[ye+1]=void 0}c=0}function L(){try{var ye=Function("return this")().require("vertx");return a=ye.runOnLoop||ye.runOnContext,w()}catch(Fe){return A()}}var x=void 0;s?x=p():t?x=b():u?x=E():n===void 0&&!0?x=L():x=A();function C(ye,Fe){var Oe=this,se=new this.constructor(F);se[N]===void 0&&Ge(se);var fe=Oe._state;if(fe){var Le=arguments[fe-1];r(function(){return we(fe,se,Le,Oe._result)})}else ge(Oe,se,ye,Fe);return se}function I(ye){var Fe=this;if(ye&&typeof ye=="object"&&ye.constructor===Fe)return ye;var Oe=new Fe(F);return X(Oe,ye),Oe}var N=Math.random().toString(36).substring(2);function F(){}var k=void 0,B=1,P=2;function K(){return new TypeError("You cannot resolve a promise with itself")}function R(){return new TypeError("A promises callback cannot return that same promise.")}function U(ye,Fe,Oe,se){try{ye.call(Fe,Oe,se)}catch(fe){return fe}}function j(ye,Fe,Oe){r(function(se){var fe=!1,Le=U(Oe,Fe,function(Je){if(fe)return;fe=!0,Fe!==Je?X(se,Je):G(se,Je)},function(Je){if(fe)return;fe=!0,Z(se,Je)},"Settle: "+(se._label||" unknown promise"));!fe&&Le&&(fe=!0,Z(se,Le))},ye)}function H(ye,Fe){Fe._state===B?G(ye,Fe._result):Fe._state===P?Z(ye,Fe._result):ge(Fe,void 0,function(Oe){return X(ye,Oe)},function(Oe){return Z(ye,Oe)})}function W(ye,Fe,Oe){Fe.constructor===ye.constructor&&Oe===C&&Fe.constructor.resolve===I?H(ye,Fe):Oe===void 0?G(ye,Fe):m(Oe)?j(ye,Fe,Oe):G(ye,Fe)}function X(ye,Fe){if(ye===Fe)Z(ye,K());else if(y(Fe)){var Oe=void 0;try{Oe=Fe.then}catch(se){Z(ye,se);return}W(ye,Fe,Oe)}else G(ye,Fe)}function z(ye){ye._onerror&&ye._onerror(ye._result),Q(ye)}function G(ye,Fe){if(ye._state!==k)return;ye._result=Fe,ye._state=B,ye._subscribers.length!==0&&r(Q,ye)}function Z(ye,Fe){if(ye._state!==k)return;ye._state=P,ye._result=Fe,r(z,ye)}function ge(ye,Fe,Oe,se){var fe=ye._subscribers,Le=fe.length;ye._onerror=null,fe[Le]=Fe,fe[Le+B]=Oe,fe[Le+P]=se,Le===0&&ye._state&&r(Q,ye)}function Q(ye){var Fe=ye._subscribers,Oe=ye._state;if(Fe.length===0)return;for(var se=void 0,fe=void 0,Le=ye._result,Je=0;Je<Fe.length;Je+=3)se=Fe[Je],fe=Fe[Je+Oe],se?we(Oe,se,fe,Le):fe(Le);ye._subscribers.length=0}function we(ye,Fe,Oe,se){var fe=m(Oe),Le=void 0,Je=void 0,mt=!0;if(fe){try{Le=Oe(se)}catch(Ct){mt=!1,Je=Ct}if(Fe===Le){Z(Fe,R());return}}else Le=se;Fe._state!==k||(fe&&mt?X(Fe,Le):mt===!1?Z(Fe,Je):ye===B?G(Fe,Le):ye===P&&Z(Fe,Le))}function Ee(ye,Fe){try{Fe(function(se){X(ye,se)},function(se){Z(ye,se)})}catch(Oe){Z(ye,Oe)}}var Ae=0;function Pe(){return Ae++}function Ge(ye){ye[N]=Ae++,ye._state=void 0,ye._result=void 0,ye._subscribers=[]}function gt(){return new Error("Array Methods must be provided an Array")}var _e=function(){function ye(Fe,Oe){this._instanceConstructor=Fe,this.promise=new Fe(F),this.promise[N]||Ge(this.promise),h(Oe)?(this.length=Oe.length,this._remaining=Oe.length,this._result=new Array(this.length),this.length===0?G(this.promise,this._result):(this.length=this.length||0,this._enumerate(Oe),this._remaining===0&&G(this.promise,this._result))):Z(this.promise,gt())}return ye.prototype._enumerate=function(Oe){for(var se=0;this._state===k&&se<Oe.length;se++)this._eachEntry(Oe[se],se)},ye.prototype._eachEntry=function(Oe,se){var fe=this._instanceConstructor,Le=fe.resolve;if(Le===I){var Je=void 0,mt=void 0,Ct=!1;try{Je=Oe.then}catch(Rt){Ct=!0,mt=Rt}if(Je===C&&Oe._state!==k)this._settledAt(Oe._state,se,Oe._result);else if(typeof Je!="function")this._remaining--,this._result[se]=Oe;else if(fe===$){var Ue=new fe(F);Ct?Z(Ue,mt):W(Ue,Oe,Je),this._willSettleAt(Ue,se)}else this._willSettleAt(new fe(function(Rt){return Rt(Oe)}),se)}else this._willSettleAt(Le(Oe),se)},ye.prototype._settledAt=function(Oe,se,fe){var Le=this.promise;Le._state===k&&(this._remaining--,Oe===P?Z(Le,fe):this._result[se]=fe),this._remaining===0&&G(Le,this._result)},ye.prototype._willSettleAt=function(Oe,se){var fe=this;ge(Oe,void 0,function(Le){return fe._settledAt(B,se,Le)},function(Le){return fe._settledAt(P,se,Le)})},ye}();function Ce(ye){return new _e(this,ye).promise}function lt(ye){var Fe=this;return h(ye)?new Fe(function(Oe,se){for(var fe=ye.length,Le=0;Le<fe;Le++)Fe.resolve(ye[Le]).then(Oe,se)}):new Fe(function(Oe,se){return se(new TypeError("You must pass an array to race."))})}function ce(ye){var Fe=this,Oe=new Fe(F);return Z(Oe,ye),Oe}function Y(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function V(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var $=function(){function ye(Fe){this[N]=Pe(),this._result=this._state=void 0,this._subscribers=[],F!==Fe&&(typeof Fe!="function"&&Y(),this instanceof ye?Ee(this,Fe):V())}return ye.prototype.catch=function(Oe){return this.then(null,Oe)},ye.prototype.finally=function(Oe){var se=this,fe=se.constructor;return m(Oe)?se.then(function(Le){return fe.resolve(Oe()).then(function(){return Le})},function(Le){return fe.resolve(Oe()).then(function(){throw Le})}):se.then(Oe,Oe)},ye}();$.prototype.then=C,$.all=Ce,$.race=lt,$.resolve=I,$.reject=ce,$._setScheduler=o,$._setAsap=d,$._asap=r;function Te(){var ye=void 0;if(typeof f!="undefined")ye=f;else if(typeof self!="undefined")ye=self;else try{ye=Function("return this")()}catch(se){throw new Error("polyfill failed because global object is unavailable in this environment")}var Fe=ye.Promise;if(Fe){var Oe=null;try{Oe=Object.prototype.toString.call(Fe.resolve())}catch(se){}if(Oe==="[object Promise]"&&!Fe.cast)return}ye.Promise=$}return $.polyfill=Te,$.Promise=$,$})}).call(this,e("Q2Ig"),e("yLpj"))},E2jh:function(D,_,e){var g=e("2gN3"),f=function(){var m=/[^.]+$/.exec(g&&g.keys&&g.keys.IE_PROTO||"");return m?"Symbol(src)_1."+m:""}();function y(m){return!!f&&f in m}D.exports=y},E9nw:function(D,_){D.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var g=document.activeElement,f=[],y=0;y<e.rangeCount;y++)f.push(e.getRangeAt(y));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(D,_,e){(function(g){g(e("VrN/"))})(function(g){var f={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},y=g.Pos;g.defineOption("autoCloseBrackets",!1,function(t,s,u){u&&u!=g.Init&&(t.removeKeyMap(v),t.state.closeBrackets=null),s&&(h(m(s,"pairs")),t.state.closeBrackets=s,t.addKeyMap(v))});function m(t,s){return s=="pairs"&&typeof t=="string"?t:typeof t=="object"&&t[s]!=null?t[s]:f[s]}var v={Backspace:i,Enter:r};function h(t){for(var s=0;s<t.length;s++){var u=t.charAt(s),p="'"+u+"'";v[p]||(v[p]=c(u))}}h(f.pairs+"`");function c(t){return function(s){return d(s,t)}}function a(t){var s=t.state.closeBrackets;if(!s||s.override)return s;var u=t.getModeAt(t.getCursor());return u.closeBrackets||s}function i(t){var s=a(t);if(!s||t.getOption("disableInput"))return g.Pass;for(var u=m(s,"pairs"),p=t.listSelections(),w=0;w<p.length;w++){if(!p[w].empty())return g.Pass;var b=n(t,p[w].head);if(!b||u.indexOf(b)%2!=0)return g.Pass}for(var w=p.length-1;w>=0;w--){var E=p[w].head;t.replaceRange("",y(E.line,E.ch-1),y(E.line,E.ch+1),"+delete")}}function r(t){var s=a(t),u=s&&m(s,"explode");if(!u||t.getOption("disableInput"))return g.Pass;for(var p=t.listSelections(),w=0;w<p.length;w++){if(!p[w].empty())return g.Pass;var b=n(t,p[w].head);if(!b||u.indexOf(b)%2!=0)return g.Pass}t.operation(function(){var E=t.lineSeparator()||`
`;t.replaceSelection(E+E,null),t.execCommand("goCharLeft"),p=t.listSelections();for(var A=0;A<p.length;A++){var S=p[A].head.line;t.indentLine(S,null,!0),t.indentLine(S+1,null,!0)}})}function o(t){var s=g.cmpPos(t.anchor,t.head)>0;return{anchor:new y(t.anchor.line,t.anchor.ch+(s?-1:1)),head:new y(t.head.line,t.head.ch+(s?1:-1))}}function d(t,s){var u=a(t);if(!u||t.getOption("disableInput"))return g.Pass;var p=m(u,"pairs"),w=p.indexOf(s);if(w==-1)return g.Pass;for(var b=m(u,"closeBefore"),E=m(u,"triples"),A=p.charAt(w+1)==s,S=t.listSelections(),T=w%2==0,L,x=0;x<S.length;x++){var C=S[x],I=C.head,N,F=t.getRange(I,y(I.line,I.ch+1));if(T&&!C.empty())N="surround";else if((A||!T)&&F==s)A&&l(t,I)?N="both":E.indexOf(s)>=0&&t.getRange(I,y(I.line,I.ch+3))==s+s+s?N="skipThree":N="skip";else if(A&&I.ch>1&&E.indexOf(s)>=0&&t.getRange(y(I.line,I.ch-2),I)==s+s){if(I.ch>2&&/\bstring/.test(t.getTokenTypeAt(y(I.line,I.ch-2))))return g.Pass;N="addFour"}else if(A){var k=I.ch==0?" ":t.getRange(y(I.line,I.ch-1),I);if(!g.isWordChar(F)&&k!=s&&!g.isWordChar(k))N="both";else return g.Pass}else if(T&&(F.length===0||/\s/.test(F)||b.indexOf(F)>-1))N="both";else return g.Pass;if(!L)L=N;else if(L!=N)return g.Pass}var B=w%2?p.charAt(w-1):s,P=w%2?s:p.charAt(w+1);t.operation(function(){if(L=="skip")t.execCommand("goCharRight");else if(L=="skipThree")for(var K=0;K<3;K++)t.execCommand("goCharRight");else if(L=="surround"){for(var R=t.getSelections(),K=0;K<R.length;K++)R[K]=B+R[K]+P;t.replaceSelections(R,"around"),R=t.listSelections().slice();for(var K=0;K<R.length;K++)R[K]=o(R[K]);t.setSelections(R)}else L=="both"?(t.replaceSelection(B+P,null),t.triggerElectric(B+P),t.execCommand("goCharLeft")):L=="addFour"&&(t.replaceSelection(B+B+B+B,"before"),t.execCommand("goCharRight"))})}function n(t,s){var u=t.getRange(y(s.line,s.ch-1),y(s.line,s.ch+1));return u.length==2?u:null}function l(t,s){var u=t.getTokenAt(y(s.line,s.ch+1));return/\bstring/.test(u.type)&&u.start==s.ch&&(s.ch==0||!/\bstring/.test(t.getTokenTypeAt(s)))}})},EMyp:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("mFDi"),m=e("K4ya"),v=e("qJCg"),h=e("iLNv"),c=e("vZ6x"),a=["inBrush","outOfBrush"],i="__ecBrushSelect",r="__ecInBrushSelectEvent",o=g.PRIORITY.VISUAL.BRUSH;g.registerLayout(o,function(E,A,S){E.eachComponent({mainType:"brush"},function(T){S&&S.type==="takeGlobalCursor"&&T.setBrushOption(S.key==="brush"?S.brushOption:{brushType:!1})}),d(E)});function d(E){E.eachComponent({mainType:"brush"},function(A){var S=A.brushTargetManager=new c(A.option,E);S.setInputRanges(A.areas,E)})}g.registerVisual(o,function(E,A,S){var T=[],L,x;E.eachComponent({mainType:"brush"},function(C,I){var N={brushId:C.id,brushIndex:I,brushName:C.name,areas:f.clone(C.areas),selected:[]};T.push(N);var F=C.option,k=F.brushLink,B=[],P=[],K=[],R=0;I||(L=F.throttleType,x=F.throttleDelay);var U=f.map(C.areas,function(G){return p(f.defaults({boundingRect:w[G.brushType](G)},G))}),j=m.createVisualMappings(C.option,a,function(G){G.mappingMethod="fixed"});f.isArray(k)&&f.each(k,function(G){B[G]=1});function H(G){return k==="all"||B[G]}function W(G){return!!G.length}E.eachSeries(function(G,Z){var ge=K[Z]=[];G.subType==="parallel"?X(G,Z,ge):z(G,Z,ge)});function X(G,Z){var ge=G.coordinateSystem;R|=ge.hasAxisBrushed(),H(Z)&&ge.eachActiveState(G.getData(),function(Q,we){Q==="active"&&(P[we]=1)})}function z(G,Z,ge){var Q=s(G);if(!Q||u(C,Z))return;if(f.each(U,function(Ee){Q[Ee.brushType]&&C.brushTargetManager.controlSeries(Ee,G,E)&&ge.push(Ee),R|=W(ge)}),H(Z)&&W(ge)){var we=G.getData();we.each(function(Ee){t(Q,ge,we,Ee)&&(P[Ee]=1)})}}E.eachSeries(function(G,Z){var ge={seriesId:G.id,seriesIndex:Z,seriesName:G.name,dataIndex:[]};N.selected.push(ge);var Q=s(G),we=K[Z],Ee=G.getData(),Ae=H(Z)?function(Pe){return P[Pe]?(ge.dataIndex.push(Ee.getRawIndex(Pe)),"inBrush"):"outOfBrush"}:function(Pe){return t(Q,we,Ee,Pe)?(ge.dataIndex.push(Ee.getRawIndex(Pe)),"inBrush"):"outOfBrush"};(H(Z)?R:W(we))&&m.applyVisual(a,j,Ee,Ae)})}),n(A,L,x,T,S)});function n(E,A,S,T,L){if(!L)return;var x=E.getZr();if(x[r])return;x[i]||(x[i]=l);var C=h.createOrUpdate(x,i,S,A);C(E,T)}function l(E,A){if(!E.isDisposed()){var S=E.getZr();S[r]=!0,E.dispatchAction({type:"brushSelect",batch:A}),S[r]=!1}}function t(E,A,S,T){for(var L=0,x=A.length;L<x;L++){var C=A[L];if(E[C.brushType](T,S,C.selectors,C))return!0}}function s(E){var A=E.brushSelector;if(f.isString(A)){var S=[];return f.each(v,function(L,x){S[x]=function(C,I,N,F){var k=I.getItemLayout(C);return L[A](k,N,F)}}),S}else if(f.isFunction(A)){var T={};return f.each(v,function(L,x){T[x]=A}),T}return A}function u(E,A){var S=E.option.seriesIndex;return S!=null&&S!=="all"&&(f.isArray(S)?f.indexOf(S,A)<0:A!==S)}function p(E){var A=E.selectors={};return f.each(v[E.brushType],function(S,T){A[T]=function(L){return S(L,A,E)}}),E}var w={lineX:f.noop,lineY:f.noop,rect:function(E){return b(E.range)},polygon:function(E){for(var A,S=E.range,T=0,L=S.length;T<L;T++){A=A||[[Infinity,-Infinity],[Infinity,-Infinity]];var x=S[T];x[0]<A[0][0]&&(A[0][0]=x[0]),x[0]>A[0][1]&&(A[0][1]=x[0]),x[1]<A[1][0]&&(A[1][0]=x[1]),x[1]>A[1][1]&&(A[1][1]=x[1])}return A&&b(A)}};function b(E){return new y(E[0][0],E[1][0],E[0][1]-E[0][0],E[1][1]-E[1][0])}_.layoutCovers=d},ERHi:function(D,_,e){var g=e("ProS");e("Z6js"),e("R4Th");var f=e("f5Yq"),y=e("h8O9");g.registerVisual(f("effectScatter","circle")),g.registerLayout(y("effectScatter"))},EXcs:function(D,_,e){"use strict";var g=function(){return{height:0,opacity:0}},f=function(c){return{height:c.scrollHeight,opacity:1}},y=function(c){return{height:c.offsetHeight}},m=function(c,a){return a.propertyName==="height"},v={motionName:"ant-motion-collapse",onAppearStart:g,onEnterStart:g,onAppearActive:f,onEnterActive:f,onLeaveStart:y,onLeaveActive:g,onAppearEnd:m,onEnterEnd:m,onLeaveEnd:m,motionDeadline:500};_.a=v},Em2t:function(D,_,e){var g=e("bahg"),f=e("quyA"),y=e("0JQy");function m(v){return f(v)?y(v):g(v)}D.exports=m},EpBk:function(D,_){function e(g){var f=typeof g;return f=="string"||f=="number"||f=="symbol"||f=="boolean"?g!=="__proto__":g===null}D.exports=e},Ez2D:function(D,_,e){var g=e("bYtY"),f=e("4NO4");function y(m,v){var h=[],c=m.seriesIndex,a;if(c==null||!(a=v.getSeriesByIndex(c)))return{point:[]};var i=a.getData(),r=f.queryDataIndex(i,m);if(r==null||r<0||g.isArray(r))return{point:[]};var o=i.getItemGraphicEl(r),d=a.coordinateSystem;if(a.getTooltipPosition)h=a.getTooltipPosition(r)||[];else if(d&&d.dataToPoint)h=d.dataToPoint(i.getValues(g.map(d.dimensions,function(l){return i.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}}D.exports=y},F0hE:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("ca2m"),m=e("Qxkt"),v=e("ICMv"),h=y.valueAxis;function c(r,o){return f.defaults({show:o},r)}var a=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"),u=this.get("name"),p=this.get("name.show"),w=this.get("name.formatter"),b=this.get("nameGap"),E=this.get("triggerEvent"),A=f.map(this.get("indicator")||[],function(S){S.max!=null&&S.max>0&&!S.min?S.min=0:S.min!=null&&S.min<0&&!S.max&&(S.max=0);var T=u;if(S.color!=null&&(T=f.defaults({color:S.color},u)),S=f.merge(f.clone(S),{boundaryGap:r,splitNumber:o,scale:d,axisLine:n,axisTick:l,axisType:t,axisLabel:s,name:S.text,nameLocation:"end",nameGap:b,nameTextStyle:T,triggerEvent:E},!1),p||(S.name=""),typeof w=="string"){var L=S.name;S.name=w.replace("{value}",L!=null?L:"")}else typeof w=="function"&&(S.name=w(S.name,S));var x=f.extend(new m(S,null,this.ecModel),v);return x.mainType="radar",x.componentIndex=this.componentIndex,x},this);this.getIndicatorModels=function(){return A}},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:c(h.axisLabel,!1),axisTick:c(h.axisTick,!1),axisType:"interval",splitLine:c(h.splitLine,!0),splitArea:c(h.splitArea,!0),indicator:[]}}),i=a;D.exports=i},F5Ls:function(D,_){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,y){if(f==="china"){var m=e[y.name];if(m){var v=y.center;v[0]+=m[0]/10.5,v[1]+=-m[1]/(10.5/.75)}}}D.exports=g},F7hV:function(D,_,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 y=this.get("progressiveThreshold"),m=this.get("largeThreshold");return m>y&&(y=m),y},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}}});D.exports=f},F9bG:function(D,_,e){var g=e("bYtY"),f=e("ItGF"),y=e("4NO4"),m=y.makeInner,v=m(),h=g.each;function c(l,t,s){if(f.node)return;var u=t.getZr();v(u).records||(v(u).records={}),a(u,t);var p=v(u).records[l]||(v(u).records[l]={});p.handler=s}function a(l,t){if(v(l).initialized)return;v(l).initialized=!0,s("click",g.curry(o,"click")),s("mousemove",g.curry(o,"mousemove")),s("globalout",r);function s(u,p){l.on(u,function(w){var b=d(t);h(v(l).records,function(E){E&&p(E,w,b.dispatchAction)}),i(b.pendings,t)})}}function i(l,t){var s=l.showTip.length,u=l.hideTip.length,p;s?p=l.showTip[s-1]:u&&(p=l.hideTip[u-1]),p&&(p.dispatchAction=null,t.dispatchAction(p))}function r(l,t,s){l.handler("leave",null,s)}function o(l,t,s,u){t.handler(l,s,u)}function d(l){var t={showTip:[],hideTip:[]},s=function(u){var p=t[u.type];p?p.push(u):(u.dispatchAction=s,l.dispatchAction(u))};return{dispatchAction:s,pendings:t}}function n(l,t){if(f.node)return;var s=t.getZr(),u=(v(s).records||{})[l];u&&(v(s).records[l]=null)}_.register=c,_.unregister=n},FBjb:function(D,_,e){var g=e("bYtY"),f=e("oVpE"),y=f.createSymbol,m=e("IwbS"),v=e("OELB"),h=v.parsePercent,c=e("x3X8"),a=c.getDefaultLabel;function i(b,E,A){m.Group.call(this),this.updateData(b,E,A)}var r=i.prototype,o=i.getSymbolSize=function(b,E){var A=b.getItemVisual(E,"symbolSize");return A instanceof Array?A.slice():[+A,+A]};function d(b){return[b[0]/2,b[1]/2]}function n(b,E){this.parent.drift(b,E)}r._createSymbol=function(b,E,A,S,T){this.removeAll();var L=E.getItemVisual(A,"color"),x=y(b,-1,-1,2,2,L,T);x.attr({z2:100,culling:!0,scale:d(S)}),x.drift=n,this._symbolType=b,this.add(x)},r.stopSymbolAnimation=function(b){this.childAt(0).stopAnimation(b)},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(b,E){var A=this.childAt(0);A.zlevel=b,A.z=E},r.setDraggable=function(b){var E=this.childAt(0);E.draggable=b,E.cursor=b?"move":E.cursor},r.updateData=function(b,E,A){this.silent=!1;var S=b.getItemVisual(E,"symbol")||"circle",T=b.hostModel,L=o(b,E),x=S!==this._symbolType;if(x){var C=b.getItemVisual(E,"symbolKeepAspect");this._createSymbol(S,b,E,L,C)}else{var I=this.childAt(0);I.silent=!1,m.updateProps(I,{scale:d(L)},T,E)}if(this._updateCommon(b,E,L,A),x){var I=this.childAt(0),N=A&&A.fadeIn,F={scale:I.scale.slice()};N&&(F.style={opacity:I.style.opacity}),I.scale=[0,0],N&&(I.style.opacity=0),m.initProps(I,F,T,E)}this._seriesModel=T};var l=["itemStyle"],t=["emphasis","itemStyle"],s=["label"],u=["emphasis","label"];r._updateCommon=function(b,E,A,S){var T=this.childAt(0),L=b.hostModel,x=b.getItemVisual(E,"color");T.type!=="image"?T.useStyle({strokeNoScale:!0}):T.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var C=S&&S.itemStyle,I=S&&S.hoverItemStyle,N=S&&S.symbolOffset,F=S&&S.labelModel,k=S&&S.hoverLabelModel,B=S&&S.hoverAnimation,P=S&&S.cursorStyle;if(!S||b.hasItemOption){var K=S&&S.itemModel?S.itemModel:b.getItemModel(E);C=K.getModel(l).getItemStyle(["color"]),I=K.getModel(t).getItemStyle(),N=K.getShallow("symbolOffset"),F=K.getModel(s),k=K.getModel(u),B=K.getShallow("hoverAnimation"),P=K.getShallow("cursor")}else I=g.extend({},I);var R=T.style,U=b.getItemVisual(E,"symbolRotate");T.attr("rotation",(U||0)*Math.PI/180||0),N&&T.attr("position",[h(N[0],A[0]),h(N[1],A[1])]),P&&T.attr("cursor",P),T.setColor(x,S&&S.symbolInnerColor),T.setStyle(C);var j=b.getItemVisual(E,"opacity");j!=null&&(R.opacity=j);var H=b.getItemVisual(E,"liftZ"),W=T.__z2Origin;H!=null?W==null&&(T.__z2Origin=T.z2,T.z2+=H):W!=null&&(T.z2=W,T.__z2Origin=null);var X=S&&S.useNameLabel;m.setLabelStyle(R,I,F,k,{labelFetcher:L,labelDataIndex:E,defaultText:z,isRectText:!0,autoColor:x});function z(G,Z){return X?b.getName(G):a(b,G)}T.__symbolOriginalScale=d(A),T.hoverStyle=I,T.highDownOnUpdate=B&&L.isAnimationEnabled()?p:null,m.setHoverStyle(T)};function p(b,E){if(this.incremental||this.useHoverLayer)return;if(E==="emphasis"){var A=this.__symbolOriginalScale,S=A[1]/A[0],T={scale:[Math.max(A[0]*1.1,A[0]+3),Math.max(A[1]*1.1,A[1]+3*S)]};this.animateTo(T,400,"elasticOut")}else E==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}r.fadeOut=function(b,E){var A=this.childAt(0);this.silent=A.silent=!0,!(E&&E.keepLabel)&&(A.style.text=null),m.updateProps(A,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,b)},g.inherits(i,m.Group);var w=i;D.exports=w},FGaS:function(D,_,e){var g=e("ProS"),f=e("IwbS"),y=e("bYtY"),m=e("oVpE");function v(c){return y.isArray(c)||(c=[+c,+c]),c}var h=g.extendChartView({type:"radar",render:function(c,a,i){var r=c.coordinateSystem,o=this.group,d=c.getData(),n=this._data;function l(u,p){var w=u.getItemVisual(p,"symbol")||"circle",b=u.getItemVisual(p,"color");if(w==="none")return;var E=v(u.getItemVisual(p,"symbolSize")),A=m.createSymbol(w,-1,-1,2,2,b);return A.attr({style:{strokeNoScale:!0},z2:100,scale:[E[0]/2,E[1]/2]}),A}function t(u,p,w,b,E,A){w.removeAll();for(var S=0;S<p.length-1;S++){var T=l(b,E);T&&(T.__dimIdx=S,u[S]?(T.attr("position",u[S]),f[A?"initProps":"updateProps"](T,{position:p[S]},c,E)):T.attr("position",p[S]),w.add(T))}}function s(u){return y.map(u,function(p){return[r.cx,r.cy]})}d.diff(n).add(function(u){var p=d.getItemLayout(u);if(!p)return;var w=new f.Polygon,b=new f.Polyline,E={shape:{points:p}};w.shape.points=s(p),b.shape.points=s(p),f.initProps(w,E,c,u),f.initProps(b,E,c,u);var A=new f.Group,S=new f.Group;A.add(b),A.add(w),A.add(S),t(b.shape.points,p,S,d,u,!0),d.setItemGraphicEl(u,A)}).update(function(u,p){var w=n.getItemGraphicEl(p),b=w.childAt(0),E=w.childAt(1),A=w.childAt(2),S={shape:{points:d.getItemLayout(u)}};if(!S.shape.points)return;t(b.shape.points,S.shape.points,A,d,u,!1),f.updateProps(b,S,c),f.updateProps(E,S,c),d.setItemGraphicEl(u,w)}).remove(function(u){o.remove(n.getItemGraphicEl(u))}).execute(),d.eachItemGraphicEl(function(u,p){var w=d.getItemModel(p),b=u.childAt(0),E=u.childAt(1),A=u.childAt(2),S=d.getItemVisual(p,"color");o.add(u),b.useStyle(y.defaults(w.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:S})),b.hoverStyle=w.getModel("emphasis.lineStyle").getLineStyle();var T=w.getModel("areaStyle"),L=w.getModel("emphasis.areaStyle"),x=T.isEmpty()&&T.parentModel.isEmpty(),C=L.isEmpty()&&L.parentModel.isEmpty();C=C&&x,E.ignore=x,E.useStyle(y.defaults(T.getAreaStyle(),{fill:S,opacity:.7})),E.hoverStyle=L.getAreaStyle();var I=w.getModel("itemStyle").getItemStyle(["color"]),N=w.getModel("emphasis.itemStyle").getItemStyle(),F=w.getModel("label"),k=w.getModel("emphasis.label");A.eachChild(function(B){B.setStyle(I),B.hoverStyle=y.clone(N);var P=d.get(d.dimensions[B.__dimIdx],p);(P==null||isNaN(P))&&(P=""),f.setLabelStyle(B.style,B.hoverStyle,F,k,{labelFetcher:d.hostModel,labelDataIndex:p,labelDimIndex:B.__dimIdx,defaultText:P,autoColor:S,isRectText:!0})}),u.highDownOnUpdate=function(B,P){E.attr("ignore",P==="emphasis"?C:x)},f.setHoverStyle(u)}),this._data=d},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});D.exports=h},FH2Y:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("ZMnZ"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},FNN5:function(D,_,e){var g=e("bYtY"),f=e("IwbS"),y=e("+rIm"),m=e("Znkb"),v=["axisLine","axisTickLabel","axisName"],h=["splitLine","splitArea","minorSplitLine"],c=m.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(i,r){if(this.group.removeAll(),!i.get("show"))return;var o=i.axis,d=o.polar,n=d.getAngleAxis(),l=o.getTicksCoords(),t=o.getMinorTicksCoords(),s=n.getExtent()[0],u=o.getExtent(),p=a(d,i,s),w=new y(i,p);g.each(v,w.add,w),this.group.add(w.getGroup()),g.each(h,function(b){i.get(b+".show")&&!o.scale.isBlank()&&this["_"+b](i,d,s,u,l,t)},this)},_splitLine:function(i,r,o,d,n){var l=i.getModel("splitLine"),t=l.getModel("lineStyle"),s=t.get("color"),u=0;s=s instanceof Array?s:[s];for(var p=[],w=0;w<n.length;w++){var b=u++%s.length;p[b]=p[b]||[],p[b].push(new f.Circle({shape:{cx:r.cx,cy:r.cy,r:n[w].coord}}))}for(var w=0;w<p.length;w++)this.group.add(f.mergePath(p[w],{style:g.defaults({stroke:s[w%s.length],fill:null},t.getLineStyle()),silent:!0}))},_minorSplitLine:function(i,r,o,d,n,l){if(!l.length)return;for(var t=i.getModel("minorSplitLine"),s=t.getModel("lineStyle"),u=[],p=0;p<l.length;p++)for(var w=0;w<l[p].length;w++)u.push(new f.Circle({shape:{cx:r.cx,cy:r.cy,r:l[p][w].coord}}));this.group.add(f.mergePath(u,{style:g.defaults({fill:null},s.getLineStyle()),silent:!0}))},_splitArea:function(i,r,o,d,n){if(!n.length)return;var l=i.getModel("splitArea"),t=l.getModel("areaStyle"),s=t.get("color"),u=0;s=s instanceof Array?s:[s];for(var p=[],w=n[0].coord,b=1;b<n.length;b++){var E=u++%s.length;p[E]=p[E]||[],p[E].push(new f.Sector({shape:{cx:r.cx,cy:r.cy,r0:w,r:n[b].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),w=n[b].coord}for(var b=0;b<p.length;b++)this.group.add(f.mergePath(p[b],{style:g.defaults({fill:s[b%s.length]},t.getAreaStyle()),silent:!0}))}});function a(i,r,o){return{position:[i.cx,i.cy],rotation:o/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:r.getModel("axisLabel").get("rotate"),z2:1}}D.exports=c},FUi9:function(D,_,e){var g=e("bYtY"),f=e("MwEJ"),y=e("aX7z"),m=e("ICMv"),v=e("Qxkt"),h=e("+TT/"),c=h.getLayoutRect;_.getLayoutRect=h.getLayoutRect;var a=e("7hqr"),i=a.enableDataStack,r=a.isDimensionStacked,o=a.getStackedDimension,d=e("hi0g");_.completeDimensions=d;var n=e("sdST");_.createDimensions=n;var l=e("oVpE");_.createSymbol=l.createSymbol;function t(w){return f(w.getSource(),w)}var s={isDimensionStacked:r,enableDataStack:i,getStackedDimension:o};function u(w,b){var E=b;v.isInstance(b)||(E=new v(b),g.mixin(E,m));var A=y.createScaleByModel(E);return A.setExtent(w[0],w[1]),y.niceScaleExtent(A,E),A}function p(w){g.mixin(w,m)}_.createList=t,_.dataStack=s,_.createScale=u,_.mixinAxisModelCommonMethods=p},"Fa/5":function(D,_,e){var g=e("ProS");e("y2l5"),e("q/+u");var f=e("f5Yq"),y=e("h8O9");e("Ae16"),g.registerVisual(f("scatter","circle")),g.registerLayout(y("scatter"))},FhB9:function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},"Fm1+":function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("a7Wl")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="CaretUpOutlined";var c=y.forwardRef(h);_.default=c},Fofx:function(D,_){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 y(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],u=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]=u,r[5]=p,r}function v(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],u=o[3],p=o[5],w=Math.sin(d),b=Math.cos(d);return r[0]=n*b+s*w,r[1]=-n*w+s*b,r[2]=l*b+u*w,r[3]=-l*w+b*u,r[4]=b*t+w*p,r[5]=b*p-w*t,r}function c(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 a(r,o){var d=o[0],n=o[2],l=o[4],t=o[1],s=o[3],u=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*u-s*l)*p,r[5]=(t*l-d*u)*p,r):null}function i(r){var o=g();return y(o,r),o}_.create=g,_.identity=f,_.copy=y,_.mul=m,_.translate=v,_.rotate=h,_.scale=c,_.invert=a,_.clone=i},Fv0C:function(D,_,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(_,"__esModule",{value:!0}),_.default=void 0;var f=i(e("Lo0S")),y=e("vewr"),m=i(e("8CQX")),v=c(e("mHUz")),h=i(e("GdRQ"));function c(l){return l&&l.__esModule?l:{default:l}}function a(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return a=function(){return l},l}function i(l){if(l&&l.__esModule)return l;if(l===null||g(l)!=="object"&&typeof l!="function")return{default:l};var t=a();if(t&&t.has(l))return t.get(l);var s={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in l)if(Object.prototype.hasOwnProperty.call(l,p)){var w=u?Object.getOwnPropertyDescriptor(l,p):null;w&&(w.get||w.set)?Object.defineProperty(s,p,w):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 u=t[s];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(l,u.key,u)}}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,u,p){if(p)this._keyDownList[u]=s;else{if(!(u in this._keyDownList))return;delete this._keyDownList[u]}f.Debug("onkeyevent "+(p?"down":"up")+", keysym: "+s,", code: "+u),this.onkeyevent(s,u,p)}},{key:"_getKeyCode",value:function(s){var u=m.getKeycode(s);if(u!=="Unidentified")return u;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),w=String.fromCharCode(p).toUpperCase();return"Platform"+w.charCodeAt()}return"Unidentified"}},{key:"_handleKeyDown",value:function(s){var u=this._getKeyCode(s),p=m.getKeysym(s);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),u==="AltRight"&&s.timeStamp-this._altGrCtrlTime<50?p=v.default.XK_ISO_Level3_Shift:this._sendKeyEvent(v.default.XK_Control_L,"ControlLeft",!0)),u==="Unidentified"){p&&(this._sendKeyEvent(p,u,!0),this._sendKeyEvent(p,u,!1)),(0,y.stopEvent)(s);return}if(h.isMac()||h.isIOS())switch(p){case v.default.XK_Super_L:p=v.default.XK_Alt_L;break;case v.default.XK_Super_R:p=v.default.XK_Super_L;break;case v.default.XK_Alt_L:p=v.default.XK_Mode_switch;break;case v.default.XK_Alt_R:p=v.default.XK_ISO_Level3_Shift;break}if(u in this._keyDownList&&(p=this._keyDownList[u]),(h.isMac()||h.isIOS())&&u==="CapsLock"){this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!1),(0,y.stopEvent)(s);return}if(!p&&(!s.key||h.isIE()||h.isEdge())){this._pendingKey=u,setTimeout(this._handleKeyPressTimeout.bind(this),10,s);return}if(this._pendingKey=null,(0,y.stopEvent)(s),u==="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,u,!0)}},{key:"_handleKeyPress",value:function(s){if((0,y.stopEvent)(s),this._pendingKey===null)return;var u=this._getKeyCode(s),p=m.getKeysym(s);if(u!=="Unidentified"&&u!=this._pendingKey)return;if(u=this._pendingKey,this._pendingKey=null,!p){f.Info("keypress with no keysym:",s);return}this._sendKeyEvent(p,u,!0)}},{key:"_handleKeyPressTimeout",value:function(s){if(this._pendingKey===null)return;var u,p=this._pendingKey;if(this._pendingKey=null,s.keyCode>=48&&s.keyCode<=57)u=s.keyCode;else if(s.keyCode>=65&&s.keyCode<=90){var w=String.fromCharCode(s.keyCode);s.shiftKey?w=w.toUpperCase():w=w.toLowerCase(),u=w.charCodeAt()}else u=0;this._sendKeyEvent(u,p,!0)}},{key:"_handleKeyUp",value:function(s){(0,y.stopEvent)(s);var u=this._getKeyCode(s);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(v.default.XK_Control_L,"ControlLeft",!0)),(h.isMac()||h.isIOS())&&u==="CapsLock"){this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(v.default.XK_Caps_Lock,"CapsLock",!1);return}this._sendKeyEvent(this._keyDownList[u],u,!1),h.isWindows()&&(u==="ShiftLeft"||u==="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(v.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 u=this._target,p=this._keyDownList;["AltLeft","AltRight"].forEach(function(w){if(!(w in p))return;var b=new KeyboardEvent("keyup",{key:p[w],code:w});b.skipCheckAlt=!0,u.dispatchEvent(b)})}},{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(u){return document.addEventListener(u,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(u){return document.removeEventListener(u,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}();_.default=n},FxDU:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.createSensor=void 0;var g=e("QO+J"),f=e("j5sG"),y=typeof ResizeObserver!="undefined"?f.createSensor:g.createSensor;_.createSensor=y},GGyF:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("wgjA")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="LeftOutlined";var c=y.forwardRef(h);_.default=c},GIiI:function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="PoweroffOutlined";var h=_.a=g.forwardRef(v)},GMDS:function(D,_,e){var g=e("bYtY"),f=e("4NgU"),y=e("jkPA"),m=f.prototype,v=f.extend({type:"ordinal",init:function(c,a){(!c||g.isArray(c))&&(c=new y({categories:c})),this._ordinalMeta=c,this._extent=a||[0,c.categories.length-1]},parse:function(c){return typeof c=="string"?this._ordinalMeta.getOrdinal(c):Math.round(c)},contain:function(c){return c=this.parse(c),m.contain.call(this,c)&&this._ordinalMeta.categories[c]!=null},normalize:function(c){return m.normalize.call(this,this.parse(c))},scale:function(c){return Math.round(m.scale.call(this,c))},getTicks:function(){for(var c=[],a=this._extent,i=a[0];i<=a[1];)c.push(i),i++;return c},getLabel:function(c){if(!this.isBlank())return this._ordinalMeta.categories[c]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(c,a){this.unionExtent(c.getApproximateExtent(a))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:g.noop,niceExtent:g.noop});v.create=function(){return new v};var h=v;D.exports=h},GQ8N:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.toUnsigned32bit=g,_.toSigned32bit=f;function g(y){return y>>>0}function f(y){return y|0}},GUcZ:function(D,_,e){"use strict";var g=e("fWQN"),f=e("mtLc"),y=function(){function ae(){Object(g.a)(this,ae)}return Object(f.a)(ae,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(q,ne){return q.__proto__=ne,q},Object.assign=Object.assign||function(q){if(q==null)throw new TypeError("Cannot convert undefined or null to object");for(var ne=Object(q),Se=1;Se<arguments.length;Se++){var Ne=arguments[Se];if(Ne!=null)for(var Me in Ne)Ne.hasOwnProperty(Me)&&(ne[Me]=Ne[Me])}return ne},typeof self.Promise!="function"&&e("E2g8").polyfill()}}]),ae}();y.install();var m=y,v=e("+qE3"),h=e.n(v),c=function(){function ae(){Object(g.a)(this,ae)}return Object(f.a)(ae,null,[{key:"e",value:function(q,ne){(!q||ae.FORCE_GLOBAL_TAG)&&(q=ae.GLOBAL_TAG);var Se="[".concat(q,"] > ").concat(ne);if(ae.ENABLE_CALLBACK&&ae.emitter.emit("log","error",Se),!ae.ENABLE_ERROR)return;console.error?console.error(Se):console.warn?console.warn(Se):console.log(Se)}},{key:"i",value:function(q,ne){(!q||ae.FORCE_GLOBAL_TAG)&&(q=ae.GLOBAL_TAG);var Se="[".concat(q,"] > ").concat(ne);if(ae.ENABLE_CALLBACK&&ae.emitter.emit("log","info",Se),!ae.ENABLE_INFO)return;console.info?console.info(Se):console.log(Se)}},{key:"w",value:function(q,ne){(!q||ae.FORCE_GLOBAL_TAG)&&(q=ae.GLOBAL_TAG);var Se="[".concat(q,"] > ").concat(ne);if(ae.ENABLE_CALLBACK&&ae.emitter.emit("log","warn",Se),!ae.ENABLE_WARN)return;console.warn?console.warn(Se):console.log(Se)}},{key:"d",value:function(q,ne){(!q||ae.FORCE_GLOBAL_TAG)&&(q=ae.GLOBAL_TAG);var Se="[".concat(q,"] > ").concat(ne);if(ae.ENABLE_CALLBACK&&ae.emitter.emit("log","debug",Se),!ae.ENABLE_DEBUG)return;console.debug?console.debug(Se):console.log(Se)}},{key:"v",value:function(q,ne){(!q||ae.FORCE_GLOBAL_TAG)&&(q=ae.GLOBAL_TAG);var Se="[".concat(q,"] > ").concat(ne);if(ae.ENABLE_CALLBACK&&ae.emitter.emit("log","verbose",Se),!ae.ENABLE_VERBOSE)return;console.log(Se)}}]),ae}();c.GLOBAL_TAG="flv.js",c.FORCE_GLOBAL_TAG=!1,c.ENABLE_ERROR=!0,c.ENABLE_INFO=!0,c.ENABLE_WARN=!0,c.ENABLE_DEBUG=!0,c.ENABLE_VERBOSE=!0,c.ENABLE_CALLBACK=!1,c.emitter=new h.a;var a=c,i=function(){function ae(){Object(g.a)(this,ae),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)(ae,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(q){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=q,this._totalBytes+=q):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=q,this._totalBytes+=q):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=q,this._totalBytes+=q,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var q=(this._now()-this._lastCheckpoint)/1e3;return q==0&&(q=1),this._intervalBytes/q/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 q=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/q/1024}}]),ae}(),r=i,o=e("yKVA"),d=e("879j"),n=function(){function ae(he){Object(g.a)(this,ae),this._message=he}return Object(f.a)(ae,[{key:"toString",value:function(){return this.name+": "+this.message}},{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}}]),ae}(),l=function(ae){Object(o.a)(q,ae);var he=Object(d.a)(q);function q(ne){return Object(g.a)(this,q),he.call(this,ne)}return Object(f.a)(q,[{key:"name",get:function(){return"IllegalStateException"}}]),q}(n),t=function(ae){Object(o.a)(q,ae);var he=Object(d.a)(q);function q(ne){return Object(g.a)(this,q),he.call(this,ne)}return Object(f.a)(q,[{key:"name",get:function(){return"InvalidArgumentException"}}]),q}(n),s=function(ae){Object(o.a)(q,ae);var he=Object(d.a)(q);function q(ne){return Object(g.a)(this,q),he.call(this,ne)}return Object(f.a)(q,[{key:"name",get:function(){return"NotImplementedException"}}]),q}(n),u={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"},w=function(){function ae(he){Object(g.a)(this,ae),this._type=he||"undefined",this._status=u.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return Object(f.a)(ae,[{key:"destroy",value:function(){this._status=u.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}},{key:"isWorking",value:function(){return this._status===u.kConnecting||this._status===u.kBuffering}},{key:"open",value:function(q,ne){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(q){this._onContentLengthKnown=q}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(q){this._onURLRedirect=q}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(q){this._onDataArrival=q}},{key:"onError",get:function(){return this._onError},set:function(q){this._onError=q}},{key:"onComplete",get:function(){return this._onComplete},set:function(q){this._onComplete=q}}]),ae}(),b=e("oZsa");function E(ae,he){for(;!Object.prototype.hasOwnProperty.call(ae,he)&&!(ae=Object(b.a)(ae),ae===null););return ae}function A(ae,he,q){return typeof Reflect!="undefined"&&Reflect.get?A=Reflect.get:A=function(Se,Ne,Me){var $e=E(Se,Ne);if(!$e)return;var vt=Object.getOwnPropertyDescriptor($e,Ne);return vt.get?vt.get.call(Me):vt.value},A(ae,he,q||ae)}var S={};function T(){var ae=self.navigator.userAgent.toLowerCase(),he=/(edge)\/([\w.]+)/.exec(ae)||/(opr)[\/]([\w.]+)/.exec(ae)||/(chrome)[ \/]([\w.]+)/.exec(ae)||/(iemobile)[\/]([\w.]+)/.exec(ae)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(ae)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(ae)||/(webkit)[ \/]([\w.]+)/.exec(ae)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ae)||/(msie) ([\w.]+)/.exec(ae)||ae.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(ae)||ae.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(ae)||[],q=/(ipad)/.exec(ae)||/(ipod)/.exec(ae)||/(windows phone)/.exec(ae)||/(iphone)/.exec(ae)||/(kindle)/.exec(ae)||/(android)/.exec(ae)||/(windows)/.exec(ae)||/(mac)/.exec(ae)||/(linux)/.exec(ae)||/(cros)/.exec(ae)||[],ne={browser:he[5]||he[3]||he[1]||"",version:he[2]||he[4]||"0",majorVersion:he[4]||he[2]||"0",platform:q[0]||""},Se={};if(ne.browser){Se[ne.browser]=!0;var Ne=ne.majorVersion.split(".");Se.version={major:parseInt(ne.majorVersion,10),string:ne.version},Ne.length>1&&(Se.version.minor=parseInt(Ne[1],10)),Ne.length>2&&(Se.version.build=parseInt(Ne[2],10))}if(ne.platform&&(Se[ne.platform]=!0),(Se.chrome||Se.opr||Se.safari)&&(Se.webkit=!0),Se.rv||Se.iemobile){Se.rv&&delete Se.rv;var Me="msie";ne.browser=Me,Se[Me]=!0}if(Se.edge){delete Se.edge;var $e="msedge";ne.browser=$e,Se[$e]=!0}if(Se.opr){var vt="opera";ne.browser=vt,Se[vt]=!0}if(Se.safari&&Se.android){var Wt="android";ne.browser=Wt,Se[Wt]=!0}Se.name=ne.browser,Se.platform=ne.platform;for(var $t in S)S.hasOwnProperty($t)&&delete S[$t];Object.assign(S,Se)}T();var L=S,x=function(ae){Object(o.a)(q,ae);var he=Object(d.a)(q);Object(f.a)(q,null,[{key:"isSupported",value:function(){try{var Se=L.msedge&&L.version.minor>=15048,Ne=L.msedge?Se:!0;return self.fetch&&self.ReadableStream&&Ne}catch(Me){return!1}}}]);function q(ne,Se){var Ne;return Object(g.a)(this,q),Ne=he.call(this,"fetch-stream-loader"),Ne.TAG="FetchStreamLoader",Ne._seekHandler=ne,Ne._config=Se,Ne._needStash=!0,Ne._requestAbort=!1,Ne._contentLength=null,Ne._receivedLength=0,Ne}return Object(f.a)(q,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),A(Object(b.a)(q.prototype),"destroy",this).call(this)}},{key:"open",value:function(Se,Ne){var Me=this;this._dataSource=Se,this._range=Ne;var $e=Se.url;this._config.reuseRedirectedURL&&Se.redirectedURL!=null&&($e=Se.redirectedURL);var vt=this._seekHandler.getConfig($e,Ne),Wt=new self.Headers;if(typeof vt.headers=="object"){var $t=vt.headers;for(var Dt in $t)$t.hasOwnProperty(Dt)&&Wt.append(Dt,$t[Dt])}var Kt={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]);Se.cors===!1&&(Kt.mode="same-origin"),Se.withCredentials&&(Kt.credentials="include"),Se.referrerPolicy&&(Kt.referrerPolicy=Se.referrerPolicy),this._status=u.kConnecting,self.fetch(vt.url,Kt).then(function(Qt){if(Me._requestAbort){Me._requestAbort=!1,Me._status=u.kIdle;return}if(Qt.ok&&Qt.status>=200&&Qt.status<=299){if(Qt.url!==vt.url&&Me._onURLRedirect){var Mt=Me._seekHandler.removeURLParameters(Qt.url);Me._onURLRedirect(Mt)}var dr=Qt.headers.get("Content-Length");return dr!=null&&(Me._contentLength=parseInt(dr),Me._contentLength!==0&&(Me._onContentLengthKnown&&Me._onContentLengthKnown(Me._contentLength))),Me._pump.call(Me,Qt.body.getReader())}else if(Me._status=u.kError,Me._onError)Me._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(Me._status=u.kError,Me._onError)Me._onError(p.EXCEPTION,{code:-1,msg:Qt.message});else throw Qt})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(Se){var Ne=this;return Se.read().then(function(Me){if(Me.done)if(Ne._contentLength!==null&&Ne._receivedLength<Ne._contentLength){Ne._status=u.kError;var $e=p.EARLY_EOF,vt={code:-1,msg:"Fetch stream meet Early-EOF"};if(Ne._onError)Ne._onError($e,vt);else throw new n(vt.msg)}else Ne._status=u.kComplete,Ne._onComplete&&Ne._onComplete(Ne._range.from,Ne._range.from+Ne._receivedLength-1);else{if(Ne._requestAbort===!0)return Ne._requestAbort=!1,Ne._status=u.kComplete,Se.cancel();Ne._status=u.kBuffering;var Wt=Me.value.buffer,$t=Ne._range.from+Ne._receivedLength;Ne._receivedLength+=Wt.byteLength,Ne._onDataArrival&&Ne._onDataArrival(Wt,$t,Ne._receivedLength),Ne._pump(Se)}}).catch(function(Me){if(Me.code===11&&L.msedge)return;Ne._status=u.kError;var $e=0,vt=null;if((Me.code===19||Me.message==="network error")&&(Ne._contentLength===null||Ne._contentLength!==null&&Ne._receivedLength<Ne._contentLength)?($e=p.EARLY_EOF,vt={code:Me.code,msg:"Fetch stream meet Early-EOF"}):($e=p.EXCEPTION,vt={code:Me.code,msg:Me.message}),Ne._onError)Ne._onError($e,vt);else throw new n(vt.msg)})}}]),q}(w),C=x,I=function(ae){Object(o.a)(q,ae);var he=Object(d.a)(q);Object(f.a)(q,null,[{key:"isSupported",value:function(){try{var Se=new XMLHttpRequest;return Se.open("GET","https://example.com",!0),Se.responseType="moz-chunked-arraybuffer",Se.responseType==="moz-chunked-arraybuffer"}catch(Ne){return a.w("MozChunkedLoader",Ne.message),!1}}}]);function q(ne,Se){var Ne;return Object(g.a)(this,q),Ne=he.call(this,"xhr-moz-chunked-loader"),Ne.TAG="MozChunkedLoader",Ne._seekHandler=ne,Ne._config=Se,Ne._needStash=!0,Ne._xhr=null,Ne._requestAbort=!1,Ne._contentLength=null,Ne._receivedLength=0,Ne}return Object(f.a)(q,[{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),A(Object(b.a)(q.prototype),"destroy",this).call(this)}},{key:"open",value:function(Se,Ne){this._dataSource=Se,this._range=Ne;var Me=Se.url;this._config.reuseRedirectedURL&&Se.redirectedURL!=null&&(Me=Se.redirectedURL);var $e=this._seekHandler.getConfig(Me,Ne);this._requestURL=$e.url;var vt=this._xhr=new XMLHttpRequest;if(vt.open("GET",$e.url,!0),vt.responseType="moz-chunked-arraybuffer",vt.onreadystatechange=this._onReadyStateChange.bind(this),vt.onprogress=this._onProgress.bind(this),vt.onloadend=this._onLoadEnd.bind(this),vt.onerror=this._onXhrError.bind(this),Se.withCredentials&&(vt.withCredentials=!0),typeof $e.headers=="object"){var Wt=$e.headers;for(var $t in Wt)Wt.hasOwnProperty($t)&&vt.setRequestHeader($t,Wt[$t])}if(typeof this._config.headers=="object"){var Dt=this._config.headers;for(var Kt in Dt)Dt.hasOwnProperty(Kt)&&vt.setRequestHeader(Kt,Dt[Kt])}this._status=u.kConnecting,vt.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=u.kComplete}},{key:"_onReadyStateChange",value:function(Se){var Ne=Se.target;if(Ne.readyState===2){if(Ne.responseURL!=null&&Ne.responseURL!==this._requestURL&&this._onURLRedirect){var Me=this._seekHandler.removeURLParameters(Ne.responseURL);this._onURLRedirect(Me)}if(Ne.status!==0&&(Ne.status<200||Ne.status>299))if(this._status=u.kError,this._onError)this._onError(p.HTTP_STATUS_CODE_INVALID,{code:Ne.status,msg:Ne.statusText});else throw new n("MozChunkedLoader: Http code invalid, "+Ne.status+" "+Ne.statusText);else this._status=u.kBuffering}}},{key:"_onProgress",value:function(Se){if(this._status===u.kError)return;this._contentLength===null&&(Se.total!==null&&Se.total!==0&&(this._contentLength=Se.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var Ne=Se.target.response,Me=this._range.from+this._receivedLength;this._receivedLength+=Ne.byteLength,this._onDataArrival&&this._onDataArrival(Ne,Me,this._receivedLength)}},{key:"_onLoadEnd",value:function(Se){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===u.kError)return;this._status=u.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}},{key:"_onXhrError",value:function(Se){this._status=u.kError;var Ne=0,Me=null;if(this._contentLength&&Se.loaded<this._contentLength?(Ne=p.EARLY_EOF,Me={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(Ne=p.EXCEPTION,Me={code:-1,msg:Se.constructor.name+" "+Se.type}),this._onError)this._onError(Ne,Me);else throw new n(Me.msg)}}]),q}(w),N=I,F=function(ae){Object(o.a)(q,ae);var he=Object(d.a)(q);Object(f.a)(q,null,[{key:"isSupported",value:function(){try{if(typeof self.MSStream=="undefined"||typeof self.MSStreamReader=="undefined")return!1;var Se=new XMLHttpRequest;return Se.open("GET","https://example.com",!0),Se.responseType="ms-stream",Se.responseType==="ms-stream"}catch(Ne){return a.w("MSStreamLoader",Ne.message),!1}}}]);function q(ne,Se){var Ne;return Object(g.a)(this,q),Ne=he.call(this,"xhr-msstream-loader"),Ne.TAG="MSStreamLoader",Ne._seekHandler=ne,Ne._config=Se,Ne._needStash=!0,Ne._xhr=null,Ne._reader=null,Ne._totalRange=null,Ne._currentRange=null,Ne._currentRequestURL=null,Ne._currentRedirectedURL=null,Ne._contentLength=null,Ne._receivedLength=0,Ne._bufferLimit=16*1024*1024,Ne._lastTimeBufferSize=0,Ne._isReconnecting=!1,Ne}return Object(f.a)(q,[{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),A(Object(b.a)(q.prototype),"destroy",this).call(this)}},{key:"open",value:function(Se,Ne){this._internalOpen(Se,Ne,!1)}},{key:"_internalOpen",value:function(Se,Ne,Me){this._dataSource=Se,Me?this._currentRange=Ne:this._totalRange=Ne;var $e=Se.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?$e=this._currentRedirectedURL:Se.redirectedURL!=null&&($e=Se.redirectedURL));var vt=this._seekHandler.getConfig($e,Ne);this._currentRequestURL=vt.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",vt.url,!0),$t.responseType="ms-stream",$t.onreadystatechange=this._xhrOnReadyStateChange.bind(this),$t.onerror=this._xhrOnError.bind(this),Se.withCredentials&&($t.withCredentials=!0),typeof vt.headers=="object"){var Dt=vt.headers;for(var Kt in Dt)Dt.hasOwnProperty(Kt)&&$t.setRequestHeader(Kt,Dt[Kt])}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=u.kConnecting,$t.send()}},{key:"abort",value:function(){this._internalAbort(),this._status=u.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(Se){var Ne=Se.target;if(Ne.readyState===2)if(Ne.status>=200&&Ne.status<=299){if(this._status=u.kBuffering,Ne.responseURL!=null){var Me=this._seekHandler.removeURLParameters(Ne.responseURL);Ne.responseURL!==this._currentRequestURL&&Me!==this._currentRedirectedURL&&(this._currentRedirectedURL=Me,this._onURLRedirect&&this._onURLRedirect(Me))}var $e=Ne.getResponseHeader("Content-Length");if($e!=null&&this._contentLength==null){var vt=parseInt($e);vt>0&&(this._contentLength=vt,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=u.kError,this._onError)this._onError(p.HTTP_STATUS_CODE_INVALID,{code:Ne.status,msg:Ne.statusText});else throw new n("MSStreamLoader: Http code invalid, "+Ne.status+" "+Ne.statusText);else if(Ne.readyState===3&&(Ne.status>=200&&Ne.status<=299)){this._status=u.kBuffering;var Wt=Ne.response;this._reader.readAsArrayBuffer(Wt)}}},{key:"_xhrOnError",value:function(Se){this._status=u.kError;var Ne=p.EXCEPTION,Me={code:-1,msg:Se.constructor.name+" "+Se.type};if(this._onError)this._onError(Ne,Me);else throw new n(Me.msg)}},{key:"_msrOnProgress",value:function(Se){var Ne=Se.target,Me=Ne.result;if(Me==null){this._doReconnectIfNeeded();return}var $e=Me.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=Me.byteLength;var vt=this._totalRange.from+this._receivedLength;this._receivedLength+=$e.byteLength,this._onDataArrival&&this._onDataArrival($e,vt,this._receivedLength),Me.byteLength>=this._bufferLimit&&(a.v(this.TAG,"MSStream buffer exceeded max size near ".concat(vt+$e.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 Se={from:this._totalRange.from+this._receivedLength,to:-1};this._internalOpen(this._dataSource,Se,!0)}}},{key:"_msrOnLoad",value:function(Se){this._status=u.kComplete,this._onComplete&&this._onComplete(this._totalRange.from,this._totalRange.from+this._receivedLength-1)}},{key:"_msrOnError",value:function(Se){this._status=u.kError;var Ne=0,Me=null;if(this._contentLength&&this._receivedLength<this._contentLength?(Ne=p.EARLY_EOF,Me={code:-1,msg:"MSStream meet Early-Eof"}):(Ne=p.EARLY_EOF,Me={code:-1,msg:Se.constructor.name+" "+Se.type}),this._onError)this._onError(Ne,Me);else throw new n(Me.msg)}}]),q}(w),k=F,B=function(ae){Object(o.a)(q,ae);var he=Object(d.a)(q);Object(f.a)(q,null,[{key:"isSupported",value:function(){try{var Se=new XMLHttpRequest;return Se.open("GET","https://example.com",!0),Se.responseType="arraybuffer",Se.responseType==="arraybuffer"}catch(Ne){return a.w("RangeLoader",Ne.message),!1}}}]);function q(ne,Se){var Ne;return Object(g.a)(this,q),Ne=he.call(this,"xhr-range-loader"),Ne.TAG="RangeLoader",Ne._seekHandler=ne,Ne._config=Se,Ne._needStash=!1,Ne._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],Ne._currentChunkSizeKB=384,Ne._currentSpeedNormalized=0,Ne._zeroSpeedChunkCount=0,Ne._xhr=null,Ne._speedSampler=new r,Ne._requestAbort=!1,Ne._waitForTotalLength=!1,Ne._totalLengthReceived=!1,Ne._currentRequestURL=null,Ne._currentRedirectedURL=null,Ne._currentRequestRange=null,Ne._totalLength=null,Ne._contentLength=null,Ne._receivedLength=0,Ne._lastTimeLoaded=0,Ne}return Object(f.a)(q,[{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),A(Object(b.a)(q.prototype),"destroy",this).call(this)}},{key:"open",value:function(Se,Ne){this._dataSource=Se,this._range=Ne,this._status=u.kConnecting;var Me=!1;this._dataSource.filesize!=null&&this._dataSource.filesize!==0&&(Me=!0,this._totalLength=this._dataSource.filesize),!this._totalLengthReceived&&!Me?(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1})):this._openSubRange()}},{key:"_openSubRange",value:function(){var Se=this._currentChunkSizeKB*1024,Ne=this._range.from+this._receivedLength,Me=Ne+Se;this._contentLength!=null&&(Me-this._range.from>=this._contentLength&&(Me=this._range.from+this._contentLength-1)),this._currentRequestRange={from:Ne,to:Me},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(Se,Ne){this._lastTimeLoaded=0;var Me=Se.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Me=this._currentRedirectedURL:Se.redirectedURL!=null&&(Me=Se.redirectedURL));var $e=this._seekHandler.getConfig(Me,Ne);this._currentRequestURL=$e.url;var vt=this._xhr=new XMLHttpRequest;if(vt.open("GET",$e.url,!0),vt.responseType="arraybuffer",vt.onreadystatechange=this._onReadyStateChange.bind(this),vt.onprogress=this._onProgress.bind(this),vt.onload=this._onLoad.bind(this),vt.onerror=this._onXhrError.bind(this),Se.withCredentials&&(vt.withCredentials=!0),typeof $e.headers=="object"){var Wt=$e.headers;for(var $t in Wt)Wt.hasOwnProperty($t)&&vt.setRequestHeader($t,Wt[$t])}if(typeof this._config.headers=="object"){var Dt=this._config.headers;for(var Kt in Dt)Dt.hasOwnProperty(Kt)&&vt.setRequestHeader(Kt,Dt[Kt])}vt.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._internalAbort(),this._status=u.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(Se){var Ne=Se.target;if(Ne.readyState===2){if(Ne.responseURL!=null){var Me=this._seekHandler.removeURLParameters(Ne.responseURL);Ne.responseURL!==this._currentRequestURL&&Me!==this._currentRedirectedURL&&(this._currentRedirectedURL=Me,this._onURLRedirect&&this._onURLRedirect(Me))}if(Ne.status>=200&&Ne.status<=299){if(this._waitForTotalLength)return;this._status=u.kBuffering}else if(this._status=u.kError,this._onError)this._onError(p.HTTP_STATUS_CODE_INVALID,{code:Ne.status,msg:Ne.statusText});else throw new n("RangeLoader: Http code invalid, "+Ne.status+" "+Ne.statusText)}}},{key:"_onProgress",value:function(Se){if(this._status===u.kError)return;if(this._contentLength===null){var Ne=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,Ne=!0;var Me=Se.total;this._internalAbort(),Me!=null&Me!==0&&(this._totalLength=Me)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,Ne){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var $e=Se.loaded-this._lastTimeLoaded;this._lastTimeLoaded=Se.loaded,this._speedSampler.addBytes($e)}},{key:"_normalizeSpeed",value:function(Se){var Ne=this._chunkSizeKBList,Me=Ne.length-1,$e=0,vt=0,Wt=Me;if(Se<Ne[0])return Ne[0];for(;vt<=Wt;){if($e=vt+Math.floor((Wt-vt)/2),$e===Me||Se>=Ne[$e]&&Se<Ne[$e+1])return Ne[$e];Ne[$e]<Se?vt=$e+1:Wt=$e-1}}},{key:"_onLoad",value:function(Se){if(this._status===u.kError)return;if(this._waitForTotalLength){this._waitForTotalLength=!1;return}this._lastTimeLoaded=0;var Ne=this._speedSampler.lastSecondKBps;if(Ne===0&&(this._zeroSpeedChunkCount++,this._zeroSpeedChunkCount>=3&&(Ne=this._speedSampler.currentKBps)),Ne!==0){var Me=this._normalizeSpeed(Ne);this._currentSpeedNormalized!==Me&&(this._currentSpeedNormalized=Me,this._currentChunkSizeKB=Me)}var $e=Se.target.response,vt=this._range.from+this._receivedLength;this._receivedLength+=$e.byteLength;var Wt=!1;this._contentLength!=null&&this._receivedLength<this._contentLength?this._openSubRange():Wt=!0,this._onDataArrival&&this._onDataArrival($e,vt,this._receivedLength),Wt&&(this._status=u.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1))}},{key:"_onXhrError",value:function(Se){this._status=u.kError;var Ne=0,Me=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(Ne=p.EARLY_EOF,Me={code:-1,msg:"RangeLoader meet Early-Eof"}):(Ne=p.EXCEPTION,Me={code:-1,msg:Se.constructor.name+" "+Se.type}),this._onError)this._onError(Ne,Me);else throw new n(Me.msg)}},{key:"currentSpeed",get:function(){return this._speedSampler.lastSecondKBps}}]),q}(w),P=B,K=function(ae){Object(o.a)(q,ae);var he=Object(d.a)(q);Object(f.a)(q,null,[{key:"isSupported",value:function(){try{return typeof self.WebSocket!="undefined"}catch(Se){return!1}}}]);function q(){var ne;return Object(g.a)(this,q),ne=he.call(this,"websocket-loader"),ne.TAG="WebSocketLoader",ne._needStash=!0,ne._ws=null,ne._requestAbort=!1,ne._receivedLength=0,ne}return Object(f.a)(q,[{key:"destroy",value:function(){this._ws&&this.abort(),A(Object(b.a)(q.prototype),"destroy",this).call(this)}},{key:"open",value:function(Se){try{var Ne=this._ws=new self.WebSocket(Se.url);Ne.binaryType="arraybuffer",Ne.onopen=this._onWebSocketOpen.bind(this),Ne.onclose=this._onWebSocketClose.bind(this),Ne.onmessage=this._onWebSocketMessage.bind(this),Ne.onerror=this._onWebSocketError.bind(this),this._status=u.kConnecting}catch($e){this._status=u.kError;var Me={code:$e.code,msg:$e.message};if(this._onError)this._onError(p.EXCEPTION,Me);else throw new n(Me.msg)}}},{key:"abort",value:function(){var Se=this._ws;Se&&(Se.readyState===0||Se.readyState===1)&&(this._requestAbort=!0,Se.close()),this._ws=null,this._status=u.kComplete}},{key:"_onWebSocketOpen",value:function(Se){this._status=u.kBuffering}},{key:"_onWebSocketClose",value:function(Se){if(this._requestAbort===!0){this._requestAbort=!1;return}this._status=u.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)}},{key:"_onWebSocketMessage",value:function(Se){var Ne=this;if(Se.data instanceof ArrayBuffer)this._dispatchArrayBuffer(Se.data);else if(Se.data instanceof Blob){var Me=new FileReader;Me.onload=function(){Ne._dispatchArrayBuffer(Me.result)},Me.readAsArrayBuffer(Se.data)}else{this._status=u.kError;var $e={code:-1,msg:"Unsupported WebSocket message type: "+Se.data.constructor.name};if(this._onError)this._onError(p.EXCEPTION,$e);else throw new n($e.msg)}}},{key:"_dispatchArrayBuffer",value:function(Se){var Ne=Se,Me=this._receivedLength;this._receivedLength+=Ne.byteLength,this._onDataArrival&&this._onDataArrival(Ne,Me,this._receivedLength)}},{key:"_onWebSocketError",value:function(Se){this._status=u.kError;var Ne={code:Se.code,msg:Se.message};if(this._onError)this._onError(p.EXCEPTION,Ne);else throw new n(Ne.msg)}}]),q}(w),R=K,U=function(){function ae(he){Object(g.a)(this,ae),this._zeroStart=he||!1}return Object(f.a)(ae,[{key:"getConfig",value:function(q,ne){var Se={};if(ne.from!==0||ne.to!==-1){var Ne;ne.to!==-1?Ne="bytes=".concat(ne.from.toString(),"-").concat(ne.to.toString()):Ne="bytes=".concat(ne.from.toString(),"-"),Se.Range=Ne}else this._zeroStart&&(Se.Range="bytes=0-");return{url:q,headers:Se}}},{key:"removeURLParameters",value:function(q){return q}}]),ae}(),j=U,H=function(){function ae(he,q){Object(g.a)(this,ae),this._startName=he,this._endName=q}return Object(f.a)(ae,[{key:"getConfig",value:function(q,ne){var Se=q;if(ne.from!==0||ne.to!==-1){var Ne=!0;Se.indexOf("?")===-1&&(Se+="?",Ne=!1),Ne&&(Se+="&"),Se+="".concat(this._startName,"=").concat(ne.from.toString()),ne.to!==-1&&(Se+="&".concat(this._endName,"=").concat(ne.to.toString()))}return{url:Se,headers:{}}}},{key:"removeURLParameters",value:function(q){var ne=q.split("?")[0],Se=void 0,Ne=q.indexOf("?");Ne!==-1&&(Se=q.substring(Ne+1));var Me="";if(Se!=null&&Se.length>0)for(var $e=Se.split("&"),vt=0;vt<$e.length;vt++){var Wt=$e[vt].split("="),$t=vt>0;Wt[0]!==this._startName&&Wt[0]!==this._endName&&($t&&(Me+="&"),Me+=$e[vt])}return Me.length===0?ne:ne+"?"+Me}}]),ae}(),W=H,X=function(){function ae(he,q,ne){Object(g.a)(this,ae),this.TAG="IOController",this._config=q,this._extraData=ne,this._stashInitialSize=1024*384,q.stashInitialSize!=null&&q.stashInitialSize>0&&(this._stashInitialSize=q.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,q.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=he,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(he.url),this._refTotalLength=he.filesize?he.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)(ae,[{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 q=this._config;if(q.seekType==="range")this._seekHandler=new j(this._config.rangeLoadZeroStart);else if(q.seekType==="param"){var ne=q.seekParamStart||"bstart",Se=q.seekParamEnd||"bend";this._seekHandler=new W(ne,Se)}else if(q.seekType==="custom"){if(typeof q.customSeekHandler!="function")throw new t("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new q.customSeekHandler}else throw new t("Invalid seekType in config: ".concat(q.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=R;else if(C.isSupported())this._loaderClass=C;else if(N.isSupported())this._loaderClass=N;else if(P.isSupported())this._loaderClass=P;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(q){this._currentRange={from:0,to:-1},q&&(this._currentRange.from=q),this._speedSampler.reset(),q||(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 q=this._resumeFrom;this._resumeFrom=0,this._internalSeek(q,!0)}}},{key:"seek",value:function(q){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(q,!0)}},{key:"_internalSeek",value:function(q,ne){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(ne),this._loader.destroy(),this._loader=null;var Se={from:q,to:-1};this._currentRange={from:Se.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,Se),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function(q){if(!q||typeof q!="string"||q.length===0)throw new t("Url must be a non-empty string!");this._dataSource.url=q}},{key:"_expandBuffer",value:function(q){for(var ne=this._stashSize;ne+1024*1024*1<q;)ne*=2;if(ne+=1024*1024*1,ne===this._bufferSize)return;var Se=new ArrayBuffer(ne);if(this._stashUsed>0){var Ne=new Uint8Array(this._stashBuffer,0,this._stashUsed),Me=new Uint8Array(Se,0,ne);Me.set(Ne,0)}this._stashBuffer=Se,this._bufferSize=ne}},{key:"_normalizeSpeed",value:function(q){var ne=this._speedNormalizeList,Se=ne.length-1,Ne=0,Me=0,$e=Se;if(q<ne[0])return ne[0];for(;Me<=$e;){if(Ne=Me+Math.floor(($e-Me)/2),Ne===Se||q>=ne[Ne]&&q<ne[Ne+1])return ne[Ne];ne[Ne]<q?Me=Ne+1:$e=Ne-1}}},{key:"_adjustStashSize",value:function(q){var ne=0;this._config.isLive||q<512?ne=q:q>=512&&q<=1024?ne=Math.floor(q*1.5):ne=q*2,ne>8192&&(ne=8192);var Se=ne*1024+1024*1024*1;this._bufferSize<Se&&this._expandBuffer(Se),this._stashSize=ne*1024}},{key:"_dispatchChunks",value:function(q,ne){return this._currentRange.to=ne+q.byteLength-1,this._onDataArrival(q,ne)}},{key:"_onURLRedirect",value:function(q){this._redirectedURL=q,this._onRedirect&&this._onRedirect(q)}},{key:"_onContentLengthKnown",value:function(q){q&&this._fullRequestFlag&&(this._totalLength=q,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function(q,ne,Se){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(q.byteLength);var Ne=this._speedSampler.lastSecondKBps;if(Ne!==0){var Me=this._normalizeSpeed(Ne);this._speedNormalized!==Me&&(this._speedNormalized=Me,this._adjustStashSize(Me))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=ne),this._stashUsed+q.byteLength<=this._stashSize){var Gt=new Uint8Array(this._stashBuffer,0,this._stashSize);Gt.set(new Uint8Array(q),this._stashUsed),this._stashUsed+=q.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+q.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+q.byteLength),Qt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Qt.set(new Uint8Array(q),this._stashUsed),this._stashUsed+=q.byteLength}else{var ot=this._dispatchChunks(q,ne);if(ot<q.byteLength){var xt=q.byteLength-ot;xt>this._bufferSize&&(this._expandBuffer(xt),Qt=new Uint8Array(this._stashBuffer,0,this._bufferSize)),Qt.set(new Uint8Array(q,ot),0),this._stashUsed+=xt,this._stashByteStart=ne+ot}}}else if(this._stashUsed===0){var $e=this._dispatchChunks(q,ne);if($e<q.byteLength){var vt=q.byteLength-$e;vt>this._bufferSize&&this._expandBuffer(vt);var Wt=new Uint8Array(this._stashBuffer,0,this._bufferSize);Wt.set(new Uint8Array(q,$e),0),this._stashUsed+=vt,this._stashByteStart=ne+$e}}else{this._stashUsed+q.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+q.byteLength);var $t=new Uint8Array(this._stashBuffer,0,this._bufferSize);$t.set(new Uint8Array(q),this._stashUsed),this._stashUsed+=q.byteLength;var Dt=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(Dt<this._stashUsed&&Dt>0){var Kt=new Uint8Array(this._stashBuffer,Dt);$t.set(Kt,0)}this._stashUsed-=Dt,this._stashByteStart+=Dt}}},{key:"_flushStashBuffer",value:function(q){if(this._stashUsed>0){var ne=this._stashBuffer.slice(0,this._stashUsed),Se=this._dispatchChunks(ne,this._stashByteStart),Ne=ne.byteLength-Se;if(Se<ne.byteLength)if(q)a.w(this.TAG,"".concat(Ne," bytes unconsumed data remain when flush buffer, dropped"));else{if(Se>0){var Me=new Uint8Array(this._stashBuffer,0,this._bufferSize),$e=new Uint8Array(ne,Se);Me.set($e,0),this._stashUsed=$e.byteLength,this._stashByteStart+=Se}return 0}return this._stashUsed=0,this._stashByteStart=0,Ne}return 0}},{key:"_onLoaderComplete",value:function(q,ne){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(q,ne){a.e(this.TAG,"Loader error, code = ".concat(ne.code,", msg = ").concat(ne.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,q=p.UNRECOVERABLE_EARLY_EOF);switch(q){case p.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var Se=this._currentRange.to+1;Se<this._totalLength&&(a.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(Se,!1));return}q=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(q,ne);else throw new n("IOException: "+ne.msg)}},{key:"status",get:function(){return this._loader.status}},{key:"extraData",get:function(){return this._extraData},set:function(q){this._extraData=q}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(q){this._onDataArrival=q}},{key:"onSeeked",get:function(){return this._onSeeked},set:function(q){this._onSeeked=q}},{key:"onError",get:function(){return this._onError},set:function(q){this._onError=q}},{key:"onComplete",get:function(){return this._onComplete},set:function(q){this._onComplete=q}},{key:"onRedirect",get:function(){return this._onRedirect},set:function(q){this._onRedirect=q}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function(q){this._onRecoveredEarlyEof=q}},{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===P?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}}]),ae}(),z=X,G={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 Z(){return Object.assign({},G)}var ge=function(){function ae(){Object(g.a)(this,ae)}return Object(f.a)(ae,null,[{key:"supportMSEH264Playback",value:function(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}},{key:"supportNetworkStreamIO",value:function(){var q=new z({},Z()),ne=q.loaderType;return q.destroy(),ne=="fetch-stream-loader"||ne=="xhr-moz-chunked-loader"}},{key:"getNetworkLoaderTypeName",value:function(){var q=new z({},Z()),ne=q.loaderType;return q.destroy(),ne}},{key:"supportNativeMediaPlayback",value:function(q){ae.videoElement==null&&(ae.videoElement=window.document.createElement("video"));var ne=ae.videoElement.canPlayType(q);return ne==="probably"||ne=="maybe"}},{key:"getFeatureList",value:function(){var q={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return q.mseFlvPlayback=ae.supportMSEH264Playback(),q.networkStreamIO=ae.supportNetworkStreamIO(),q.networkLoaderName=ae.getNetworkLoaderTypeName(),q.mseLiveFlvPlayback=q.mseFlvPlayback&&q.networkStreamIO,q.nativeMP4H264Playback=ae.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),q.nativeWebmVP8Playback=ae.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),q.nativeWebmVP9Playback=ae.supportNativeMediaPlayback('video/webm; codecs="vp9"'),q}}]),ae}(),Q=ge,we={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"},Ee=we,Ae=function(){function ae(){Object(g.a)(this,ae)}return Object(f.a)(ae,null,[{key:"getConfig",value:function(){return{globalTag:a.GLOBAL_TAG,forceGlobalTag:a.FORCE_GLOBAL_TAG,enableVerbose:a.ENABLE_VERBOSE,enableDebug:a.ENABLE_DEBUG,enableInfo:a.ENABLE_INFO,enableWarn:a.ENABLE_WARN,enableError:a.ENABLE_ERROR,enableCallback:a.ENABLE_CALLBACK}}},{key:"applyConfig",value:function(q){a.GLOBAL_TAG=q.globalTag,a.FORCE_GLOBAL_TAG=q.forceGlobalTag,a.ENABLE_VERBOSE=q.enableVerbose,a.ENABLE_DEBUG=q.enableDebug,a.ENABLE_INFO=q.enableInfo,a.ENABLE_WARN=q.enableWarn,a.ENABLE_ERROR=q.enableError,a.ENABLE_CALLBACK=q.enableCallback}},{key:"_notifyChange",value:function(){var q=ae.emitter;if(q.listenerCount("change")>0){var ne=ae.getConfig();q.emit("change",ne)}}},{key:"registerListener",value:function(q){ae.emitter.addListener("change",q)}},{key:"removeListener",value:function(q){ae.emitter.removeListener("change",q)}},{key:"addLogListener",value:function(q){a.emitter.addListener("log",q),a.emitter.listenerCount("log")>0&&(a.ENABLE_CALLBACK=!0,ae._notifyChange())}},{key:"removeLogListener",value:function(q){a.emitter.removeListener("log",q),a.emitter.listenerCount("log")===0&&(a.ENABLE_CALLBACK=!1,ae._notifyChange())}},{key:"forceGlobalTag",get:function(){return a.FORCE_GLOBAL_TAG},set:function(q){a.FORCE_GLOBAL_TAG=q,ae._notifyChange()}},{key:"globalTag",get:function(){return a.GLOBAL_TAG},set:function(q){a.GLOBAL_TAG=q,ae._notifyChange()}},{key:"enableAll",get:function(){return a.ENABLE_VERBOSE&&a.ENABLE_DEBUG&&a.ENABLE_INFO&&a.ENABLE_WARN&&a.ENABLE_ERROR},set:function(q){a.ENABLE_VERBOSE=q,a.ENABLE_DEBUG=q,a.ENABLE_INFO=q,a.ENABLE_WARN=q,a.ENABLE_ERROR=q,ae._notifyChange()}},{key:"enableDebug",get:function(){return a.ENABLE_DEBUG},set:function(q){a.ENABLE_DEBUG=q,ae._notifyChange()}},{key:"enableVerbose",get:function(){return a.ENABLE_VERBOSE},set:function(q){a.ENABLE_VERBOSE=q,ae._notifyChange()}},{key:"enableInfo",get:function(){return a.ENABLE_INFO},set:function(q){a.ENABLE_INFO=q,ae._notifyChange()}},{key:"enableWarn",get:function(){return a.ENABLE_WARN},set:function(q){a.ENABLE_WARN=q,ae._notifyChange()}},{key:"enableError",get:function(){return a.ENABLE_ERROR},set:function(q){a.ENABLE_ERROR=q,ae._notifyChange()}}]),ae}();Ae.emitter=new h.a;var Pe=Ae,Ge=function(){function ae(){Object(g.a)(this,ae),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)(ae,[{key:"isComplete",value:function(){var q=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,ne=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&&q&&ne}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function(q){if(this.keyframesIndex==null)return null;var ne=this.keyframesIndex,Se=this._search(ne.times,q);return{index:Se,milliseconds:ne.times[Se],fileposition:ne.filepositions[Se]}}},{key:"_search",value:function(q,ne){var Se=0,Ne=q.length-1,Me=0,$e=0,vt=Ne;for(ne<q[0]&&(Se=0,$e=vt+1);$e<=vt;)if(Me=$e+Math.floor((vt-$e)/2),Me===Ne||ne>=q[Me]&&ne<q[Me+1]){Se=Me;break}else q[Me]<ne?$e=Me+1:vt=Me-1;return Se}}]),ae}(),gt=Ge;function _e(ae,he,q){var ne=ae;if(he+q<ne.length){for(;q--;)if((ne[++he]&192)!==128)return!1;return!0}else return!1}function Ce(ae){for(var he=[],q=ae,ne=0,Se=ae.length;ne<Se;){if(q[ne]<128){he.push(String.fromCharCode(q[ne])),++ne;continue}else if(!(q[ne]<192)){if(q[ne]<224){if(_e(q,ne,1)){var Ne=(q[ne]&31)<<6|q[ne+1]&63;if(Ne>=128){he.push(String.fromCharCode(Ne&65535)),ne+=2;continue}}}else if(q[ne]<240){if(_e(q,ne,2)){var Me=(q[ne]&15)<<12|(q[ne+1]&63)<<6|q[ne+2]&63;if(Me>=2048&&(Me&63488)!==55296){he.push(String.fromCharCode(Me&65535)),ne+=3;continue}}}else if(q[ne]<248&&_e(q,ne,3)){var $e=(q[ne]&7)<<18|(q[ne+1]&63)<<12|(q[ne+2]&63)<<6|q[ne+3]&63;if($e>65536&&$e<1114112){$e-=65536,he.push(String.fromCharCode($e>>>10|55296)),he.push(String.fromCharCode($e&1023|56320)),ne+=4;continue}}}he.push(String.fromCharCode(65533)),++ne}return he.join("")}var lt=Ce,ce=function(){var ae=new ArrayBuffer(2);return new DataView(ae).setInt16(0,256,!0),new Int16Array(ae)[0]===256}(),Y=function(){function ae(){Object(g.a)(this,ae)}return Object(f.a)(ae,null,[{key:"parseScriptData",value:function(q,ne,Se){var Ne={};try{var Me=ae.parseValue(q,ne,Se),$e=ae.parseValue(q,ne+Me.size,Se-Me.size);Ne[Me.data]=$e.data}catch(vt){a.e("AMF",vt.toString())}return Ne}},{key:"parseObject",value:function(q,ne,Se){if(Se<3)throw new l("Data not enough when parse ScriptDataObject");var Ne=ae.parseString(q,ne,Se),Me=ae.parseValue(q,ne+Ne.size,Se-Ne.size),$e=Me.objectEnd;return{data:{name:Ne.data,value:Me.data},size:Ne.size+Me.size,objectEnd:$e}}},{key:"parseVariable",value:function(q,ne,Se){return ae.parseObject(q,ne,Se)}},{key:"parseString",value:function(q,ne,Se){if(Se<2)throw new l("Data not enough when parse String");var Ne=new DataView(q,ne,Se),Me=Ne.getUint16(0,!ce),$e;return Me>0?$e=lt(new Uint8Array(q,ne+2,Me)):$e="",{data:$e,size:2+Me}}},{key:"parseLongString",value:function(q,ne,Se){if(Se<4)throw new l("Data not enough when parse LongString");var Ne=new DataView(q,ne,Se),Me=Ne.getUint32(0,!ce),$e;return Me>0?$e=lt(new Uint8Array(q,ne+4,Me)):$e="",{data:$e,size:4+Me}}},{key:"parseDate",value:function(q,ne,Se){if(Se<10)throw new l("Data size invalid when parse Date");var Ne=new DataView(q,ne,Se),Me=Ne.getFloat64(0,!ce),$e=Ne.getInt16(8,!ce);return Me+=$e*60*1e3,{data:new Date(Me),size:8+2}}},{key:"parseValue",value:function(q,ne,Se){if(Se<1)throw new l("Data not enough when parse Value");var Ne=new DataView(q,ne,Se),Me=1,$e=Ne.getUint8(0),vt,Wt=!1;try{switch($e){case 0:vt=Ne.getFloat64(1,!ce),Me+=8;break;case 1:{var $t=Ne.getUint8(1);vt=!!$t,Me+=1;break}case 2:{var Dt=ae.parseString(q,ne+1,Se-1);vt=Dt.data,Me+=Dt.size;break}case 3:{vt={};var Kt=0;for((Ne.getUint32(Se-4,!ce)&16777215)===9&&(Kt=3);Me<Se-4;){var Gt=ae.parseObject(q,ne+Me,Se-Me-Kt);if(Gt.objectEnd)break;vt[Gt.data.name]=Gt.data.value,Me+=Gt.size}if(Me<=Se-3){var Qt=Ne.getUint32(Me-1,!ce)&16777215;Qt===9&&(Me+=3)}break}case 8:{vt={},Me+=4;var Mt=0;for((Ne.getUint32(Se-4,!ce)&16777215)===9&&(Mt=3);Me<Se-8;){var dr=ae.parseVariable(q,ne+Me,Se-Me-Mt);if(dr.objectEnd)break;vt[dr.data.name]=dr.data.value,Me+=dr.size}if(Me<=Se-3){var er=Ne.getUint32(Me-1,!ce)&16777215;er===9&&(Me+=3)}break}case 9:vt=void 0,Me=1,Wt=!0;break;case 10:{vt=[];var ot=Ne.getUint32(1,!ce);Me+=4;for(var xt=0;xt<ot;xt++){var ut=ae.parseValue(q,ne+Me,Se-Me);vt.push(ut.data),Me+=ut.size}break}case 11:{var ft=ae.parseDate(q,ne+1,Se-1);vt=ft.data,Me+=ft.size;break}case 12:{var Ot=ae.parseString(q,ne+1,Se-1);vt=Ot.data,Me+=Ot.size;break}default:Me=Se,a.w("AMF","Unsupported AMF value type "+$e)}}catch(Tt){a.e("AMF",Tt.toString())}return{data:vt,size:Me,objectEnd:Wt}}}]),ae}(),V=Y,$=function(){function ae(he){Object(g.a)(this,ae),this.TAG="ExpGolomb",this._buffer=he,this._buffer_index=0,this._total_bytes=he.byteLength,this._total_bits=he.byteLength*8,this._current_word=0,this._current_word_bits_left=0}return Object(f.a)(ae,[{key:"destroy",value:function(){this._buffer=null}},{key:"_fillCurrentWord",value:function(){var q=this._total_bytes-this._buffer_index;if(q<=0)throw new l("ExpGolomb: _fillCurrentWord() but no bytes available");var ne=Math.min(4,q),Se=new Uint8Array(4);Se.set(this._buffer.subarray(this._buffer_index,this._buffer_index+ne)),this._current_word=new DataView(Se.buffer).getUint32(0,!1),this._buffer_index+=ne,this._current_word_bits_left=ne*8}},{key:"readBits",value:function(q){if(q>32)throw new t("ExpGolomb: readBits() bits exceeded max 32bits!");if(q<=this._current_word_bits_left){var ne=this._current_word>>>32-q;return this._current_word<<=q,this._current_word_bits_left-=q,ne}var Se=this._current_word_bits_left?this._current_word:0;Se=Se>>>32-this._current_word_bits_left;var Ne=q-this._current_word_bits_left;this._fillCurrentWord();var Me=Math.min(Ne,this._current_word_bits_left),$e=this._current_word>>>32-Me;return this._current_word<<=Me,this._current_word_bits_left-=Me,Se=Se<<Me|$e,Se}},{key:"readBool",value:function(){return this.readBits(1)===1}},{key:"readByte",value:function(){return this.readBits(8)}},{key:"_skipLeadingZero",value:function(){var q;for(q=0;q<this._current_word_bits_left;q++)if((this._current_word&2147483648>>>q)!==0)return this._current_word<<=q,this._current_word_bits_left-=q,q;return this._fillCurrentWord(),q+this._skipLeadingZero()}},{key:"readUEG",value:function(){var q=this._skipLeadingZero();return this.readBits(q+1)-1}},{key:"readSEG",value:function(){var q=this.readUEG();return q&1?q+1>>>1:-1*(q>>>1)}}]),ae}(),Te=$,ye=function(){function ae(){Object(g.a)(this,ae)}return Object(f.a)(ae,null,[{key:"_ebsp2rbsp",value:function(q){for(var ne=q,Se=ne.byteLength,Ne=new Uint8Array(Se),Me=0,$e=0;$e<Se;$e++){if($e>=2&&(ne[$e]===3&&ne[$e-1]===0&&ne[$e-2]===0))continue;Ne[Me]=ne[$e],Me++}return new Uint8Array(Ne.buffer,0,Me)}},{key:"parseSPS",value:function(q){var ne=ae._ebsp2rbsp(q),Se=new Te(ne);Se.readByte();var Ne=Se.readByte();Se.readByte();var Me=Se.readByte();Se.readUEG();var $e=ae.getProfileString(Ne),vt=ae.getLevelString(Me),Wt=1,$t=420,Dt=[0,420,422,444],Kt=8;if((Ne===100||Ne===110||Ne===122||Ne===244||Ne===44||Ne===83||Ne===86||Ne===118||Ne===128||Ne===138||Ne===144)&&(Wt=Se.readUEG(),Wt===3&&Se.readBits(1),Wt<=3&&($t=Dt[Wt]),Kt=Se.readUEG()+8,Se.readUEG(),Se.readBits(1),Se.readBool()))for(var Gt=Wt!==3?8:12,Qt=0;Qt<Gt;Qt++)Se.readBool()&&(Qt<6?ae._skipScalingList(Se,16):ae._skipScalingList(Se,64));Se.readUEG();var Mt=Se.readUEG();if(Mt===0)Se.readUEG();else if(Mt===1){Se.readBits(1),Se.readSEG(),Se.readSEG();for(var dr=Se.readUEG(),er=0;er<dr;er++)Se.readSEG()}var ot=Se.readUEG();Se.readBits(1);var xt=Se.readUEG(),ut=Se.readUEG(),ft=Se.readBits(1);ft===0&&Se.readBits(1),Se.readBits(1);var Ot=0,Tt=0,ht=0,Ht=0,Ft=Se.readBool();Ft&&(Ot=Se.readUEG(),Tt=Se.readUEG(),ht=Se.readUEG(),Ht=Se.readUEG());var ir=1,Xt=1,mr=0,Ar=!0,Nr=0,Fr=0,tn=Se.readBool();if(tn){if(Se.readBool()){var qr=Se.readByte(),Lr=[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=Lr[qr-1],Xt=Qr[qr-1]):qr===255&&(ir=Se.readByte()<<8|Se.readByte(),Xt=Se.readByte()<<8|Se.readByte())}if(Se.readBool()&&Se.readBool(),Se.readBool()&&(Se.readBits(4),Se.readBool()&&Se.readBits(24)),Se.readBool()&&(Se.readUEG(),Se.readUEG()),Se.readBool()){var _r=Se.readBits(32),ur=Se.readBits(32);Ar=Se.readBool(),Nr=ur,Fr=_r*2,mr=Nr/Fr}}var pr=1;(ir!==1||Xt!==1)&&(pr=ir/Xt);var cr=0,fr=0;if(Wt===0)cr=1,fr=2-ft;else{var xr=Wt===3?1:2,Yr=Wt===1?2:1;cr=xr,fr=Yr*(2-ft)}var un=(xt+1)*16,Nn=(2-ft)*((ut+1)*16);un-=(Ot+Tt)*cr,Nn-=(ht+Ht)*fr;var jr=Math.ceil(un*pr);return Se.destroy(),Se=null,{profile_string:$e,level_string:vt,bit_depth:Kt,ref_frames:ot,chroma_format:$t,chroma_format_string:ae.getChromaFormatString($t),frame_rate:{fixed:Ar,fps:mr,fps_den:Fr,fps_num:Nr},sar_ratio:{width:ir,height:Xt},codec_size:{width:un,height:Nn},present_size:{width:jr,height:Nn}}}},{key:"_skipScalingList",value:function(q,ne){for(var Se=8,Ne=8,Me=0,$e=0;$e<ne;$e++)Ne!==0&&(Me=q.readSEG(),Ne=(Se+Me+256)%256),Se=Ne===0?Se:Ne}},{key:"getProfileString",value:function(q){switch(q){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(q){return(q/10).toFixed(1)}},{key:"getChromaFormatString",value:function(q){switch(q){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}}}]),ae}(),Fe=ye,Oe={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"},se=Oe;function fe(ae){return ae>>>8&255|(ae&255)<<8}function Le(ae){return(ae&4278190080)>>>24|(ae&16711680)>>>8|(ae&65280)<<8|(ae&255)<<24}function Je(ae,he){return ae[he]<<24|ae[he+1]<<16|ae[he+2]<<8|ae[he+3]}var mt=function(){function ae(he,q){Object(g.a)(this,ae),this.TAG="FLVDemuxer",this._config=q,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=he.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=he.hasAudioTrack,this._hasVideo=he.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new gt,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 ne=new ArrayBuffer(2);return new DataView(ne).setInt16(0,256,!0),new Int16Array(ne)[0]===256}()}return Object(f.a)(ae,[{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(q){return q.onDataArrival=this.parseChunks.bind(this),this}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new gt}},{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(q,ne){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new l("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var Se=0,Ne=this._littleEndian;if(ne===0)if(q.byteLength>13){var Me=ae.probe(q);Se=Me.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,ne+Se!==this._dataOffset&&a.w(this.TAG,"First time parsing but chunk byteStart invalid!");var $e=new DataView(q,Se),vt=$e.getUint32(0,!Ne);vt!==0&&a.w(this.TAG,"PrevTagSize0 !== 0 !!!"),Se+=4}for(;Se<q.byteLength;){this._dispatch=!0;var Wt=new DataView(q,Se);if(Se+11+4>q.byteLength)break;var $t=Wt.getUint8(0),Dt=Wt.getUint32(0,!Ne)&16777215;if(Se+11+Dt+4>q.byteLength)break;if($t!==8&&$t!==9&&$t!==18){a.w(this.TAG,"Unsupported tag type ".concat($t,", skipped")),Se+=11+Dt+4;continue}var Kt=Wt.getUint8(4),Gt=Wt.getUint8(5),Qt=Wt.getUint8(6),Mt=Wt.getUint8(7),dr=Qt|Gt<<8|Kt<<16|Mt<<24,er=Wt.getUint32(7,!Ne)&16777215;er!==0&&a.w(this.TAG,"Meet tag which has StreamID != 0!");var ot=Se+11;switch($t){case 8:this._parseAudioData(q,ot,Dt,dr);break;case 9:this._parseVideoData(q,ot,Dt,dr,ne+Se);break;case 18:this._parseScriptData(q,ot,Dt);break}var xt=Wt.getUint32(11+Dt,!Ne);xt!==11+Dt&&a.w(this.TAG,"Invalid PrevTagSize ".concat(xt)),Se+=11+Dt+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),Se}},{key:"_parseScriptData",value:function(q,ne,Se){var Ne=V.parseScriptData(q,ne,Se);if(Ne.hasOwnProperty("onMetaData")){if(Ne.onMetaData==null||typeof Ne.onMetaData!="object"){a.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&a.w(this.TAG,"Found another onMetaData tag!"),this._metadata=Ne;var Me=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},Me)),typeof Me.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=Me.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof Me.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=Me.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof Me.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=Me.audiodatarate),typeof Me.videodatarate=="number"&&(this._mediaInfo.videoDataRate=Me.videodatarate),typeof Me.width=="number"&&(this._mediaInfo.width=Me.width),typeof Me.height=="number"&&(this._mediaInfo.height=Me.height),typeof Me.duration=="number"){if(!this._durationOverrided){var $e=Math.floor(Me.duration*this._timescale);this._duration=$e,this._mediaInfo.duration=$e}}else this._mediaInfo.duration=0;if(typeof Me.framerate=="number"){var vt=Math.floor(Me.framerate*1e3);if(vt>0){var Wt=vt/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=Wt,this._referenceFrameRate.fps_num=vt,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=Wt}}if(typeof Me.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var $t=Me.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex($t),Me.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=Me,a.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(Ne).length>0&&(this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},Ne)))}},{key:"_parseKeyframesIndex",value:function(q){for(var ne=[],Se=[],Ne=1;Ne<q.times.length;Ne++){var Me=this._timestampBase+Math.floor(q.times[Ne]*1e3);ne.push(Me),Se.push(q.filepositions[Ne])}return{times:ne,filepositions:Se}}},{key:"_parseAudioData",value:function(q,ne,Se,Ne){if(Se<=1){a.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)return;var Me=this._littleEndian,$e=new DataView(q,ne,Se),vt=$e.getUint8(0),Wt=vt>>>4;if(Wt!==2&&Wt!==10){this._onError(se.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+Wt);return}var $t=0,Dt=(vt&12)>>>2;if(Dt>=0&&Dt<=4)$t=this._flvSoundRateTable[Dt];else{this._onError(se.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+Dt);return}var Kt=(vt&2)>>>1,Gt=vt&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(q,ne+1,Se-1);if(dr==null)return;if(dr.packetType===0){Qt.config&&a.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,a.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 ot=this._mediaInfo;ot.audioCodec=Qt.originalCodec,ot.audioSampleRate=Qt.audioSampleRate,ot.audioChannelCount=Qt.channelCount,ot.hasVideo?ot.videoCodec!=null&&(ot.mimeType='video/x-flv; codecs="'+ot.videoCodec+","+ot.audioCodec+'"'):ot.mimeType='video/x-flv; codecs="'+ot.audioCodec+'"',ot.isComplete()&&this._onMediaInfo(ot)}else if(dr.packetType===1){var xt=this._timestampBase+Ne,ut={unit:dr.data,length:dr.data.byteLength,dts:xt,pts:xt};Mt.samples.push(ut),Mt.length+=dr.data.length}else a.e(this.TAG,"Flv: Unsupported AAC data type ".concat(dr.packetType))}else if(Wt===2){if(!Qt.codec){var ft=this._parseMP3AudioData(q,ne+1,Se-1,!0);if(ft==null)return;Qt.audioSampleRate=ft.samplingRate,Qt.channelCount=ft.channelCount,Qt.codec=ft.codec,Qt.originalCodec=ft.originalCodec,Qt.refSampleDuration=1152/Qt.audioSampleRate*Qt.timescale,a.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Qt);var Ot=this._mediaInfo;Ot.audioCodec=Qt.codec,Ot.audioSampleRate=Qt.audioSampleRate,Ot.audioChannelCount=Qt.channelCount,Ot.audioDataRate=ft.bitRate,Ot.hasVideo?Ot.videoCodec!=null&&(Ot.mimeType='video/x-flv; codecs="'+Ot.videoCodec+","+Ot.audioCodec+'"'):Ot.mimeType='video/x-flv; codecs="'+Ot.audioCodec+'"',Ot.isComplete()&&this._onMediaInfo(Ot)}var Tt=this._parseMP3AudioData(q,ne+1,Se-1,!1);if(Tt==null)return;var ht=this._timestampBase+Ne,Ht={unit:Tt,length:Tt.byteLength,dts:ht,pts:ht};Mt.samples.push(Ht),Mt.length+=Tt.length}}},{key:"_parseAACAudioData",value:function(q,ne,Se){if(Se<=1){a.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var Ne={},Me=new Uint8Array(q,ne,Se);return Ne.packetType=Me[0],Me[0]===0?Ne.data=this._parseAACAudioSpecificConfig(q,ne+1,Se-1):Ne.data=Me.subarray(1),Ne}},{key:"_parseAACAudioSpecificConfig",value:function(q,ne,Se){var Ne=new Uint8Array(q,ne,Se),Me=null,$e=0,vt=0,Wt=null,$t=0,Dt=null;if($e=vt=Ne[0]>>>3,$t=(Ne[0]&7)<<1|Ne[1]>>>7,$t<0||$t>=this._mpegSamplingRates.length){this._onError(se.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var Kt=this._mpegSamplingRates[$t],Gt=(Ne[1]&120)>>>3;if(Gt<0||Gt>=8){this._onError(se.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}$e===5&&(Dt=(Ne[1]&7)<<1|Ne[2]>>>7,Wt=(Ne[2]&124)>>>2);var Qt=self.navigator.userAgent.toLowerCase();return Qt.indexOf("firefox")!==-1?$t>=6?($e=5,Me=new Array(4),Dt=$t-3):($e=2,Me=new Array(2),Dt=$t):Qt.indexOf("android")!==-1?($e=2,Me=new Array(2),Dt=$t):($e=5,Dt=$t,Me=new Array(4),$t>=6?Dt=$t-3:Gt===1&&($e=2,Me=new Array(2),Dt=$t)),Me[0]=$e<<3,Me[0]|=($t&15)>>>1,Me[1]=($t&15)<<7,Me[1]|=(Gt&15)<<3,$e===5&&(Me[1]|=(Dt&15)>>>1,Me[2]=(Dt&1)<<7,Me[2]|=2<<2,Me[3]=0),{config:Me,samplingRate:Kt,channelCount:Gt,codec:"mp4a.40."+$e,originalCodec:"mp4a.40."+vt}}},{key:"_parseMP3AudioData",value:function(q,ne,Se,Ne){if(Se<4){a.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var Me=this._littleEndian,$e=new Uint8Array(q,ne,Se),vt=null;if(Ne){if($e[0]!==255)return;var Wt=$e[1]>>>3&3,$t=($e[1]&6)>>1,Dt=($e[2]&240)>>>4,Kt=($e[2]&12)>>>2,Gt=$e[3]>>>6&3,Qt=Gt!==3?2:1,Mt=0,dr=0,er=34,ot="mp3";switch(Wt){case 0:Mt=this._mpegAudioV25SampleRateTable[Kt];break;case 2:Mt=this._mpegAudioV20SampleRateTable[Kt];break;case 3:Mt=this._mpegAudioV10SampleRateTable[Kt];break}switch($t){case 1:er=34,Dt<this._mpegAudioL3BitRateTable.length&&(dr=this._mpegAudioL3BitRateTable[Dt]);break;case 2:er=33,Dt<this._mpegAudioL2BitRateTable.length&&(dr=this._mpegAudioL2BitRateTable[Dt]);break;case 3:er=32,Dt<this._mpegAudioL1BitRateTable.length&&(dr=this._mpegAudioL1BitRateTable[Dt]);break}vt={bitRate:dr,samplingRate:Mt,channelCount:Qt,codec:ot,originalCodec:ot}}else vt=$e;return vt}},{key:"_parseVideoData",value:function(q,ne,Se,Ne,Me){if(Se<=1){a.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");return}if(this._hasVideoFlagOverrided===!0&&this._hasVideo===!1)return;var $e=new Uint8Array(q,ne,Se)[0],vt=($e&240)>>>4,Wt=$e&15;if(Wt!==7){this._onError(se.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(Wt));return}this._parseAVCVideoPacket(q,ne+1,Se-1,Ne,Me,vt)}},{key:"_parseAVCVideoPacket",value:function(q,ne,Se,Ne,Me,$e){if(Se<4){a.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var vt=this._littleEndian,Wt=new DataView(q,ne,Se),$t=Wt.getUint8(0),Dt=Wt.getUint32(0,!vt)&16777215,Kt=Dt<<8>>8;if($t===0)this._parseAVCDecoderConfigurationRecord(q,ne+4,Se-4);else if($t===1)this._parseAVCVideoData(q,ne+4,Se-4,Ne,Me,$e,Kt);else if(!($t===2)){this._onError(se.FORMAT_ERROR,"Flv: Invalid video packet type ".concat($t));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(q,ne,Se){if(Se<7){a.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var Ne=this._videoMetadata,Me=this._videoTrack,$e=this._littleEndian,vt=new DataView(q,ne,Se);Ne?typeof Ne.avcc!="undefined"&&a.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),Ne=this._videoMetadata={},Ne.type="video",Ne.id=Me.id,Ne.timescale=this._timescale,Ne.duration=this._duration);var Wt=vt.getUint8(0),$t=vt.getUint8(1),Dt=vt.getUint8(2),Kt=vt.getUint8(3);if(Wt!==1||$t===0){this._onError(se.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(vt.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(se.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var Gt=vt.getUint8(5)&31;if(Gt===0){this._onError(se.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else Gt>1&&a.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(Gt));for(var Qt=6,Mt=0;Mt<Gt;Mt++){var dr=vt.getUint16(Qt,!$e);if(Qt+=2,dr===0)continue;var er=new Uint8Array(q,ne+Qt,dr);Qt+=dr;var ot=Fe.parseSPS(er);if(Mt!==0)continue;Ne.codecWidth=ot.codec_size.width,Ne.codecHeight=ot.codec_size.height,Ne.presentWidth=ot.present_size.width,Ne.presentHeight=ot.present_size.height,Ne.profile=ot.profile_string,Ne.level=ot.level_string,Ne.bitDepth=ot.bit_depth,Ne.chromaFormat=ot.chroma_format,Ne.sarRatio=ot.sar_ratio,Ne.frameRate=ot.frame_rate,(ot.frame_rate.fixed===!1||ot.frame_rate.fps_num===0||ot.frame_rate.fps_den===0)&&(Ne.frameRate=this._referenceFrameRate);var xt=Ne.frameRate.fps_den,ut=Ne.frameRate.fps_num;Ne.refSampleDuration=Ne.timescale*(xt/ut);for(var ft=er.subarray(1,4),Ot="avc1.",Tt=0;Tt<3;Tt++){var ht=ft[Tt].toString(16);ht.length<2&&(ht="0"+ht),Ot+=ht}Ne.codec=Ot;var Ht=this._mediaInfo;Ht.width=Ne.codecWidth,Ht.height=Ne.codecHeight,Ht.fps=Ne.frameRate.fps,Ht.profile=Ne.profile,Ht.level=Ne.level,Ht.refFrames=ot.ref_frames,Ht.chromaFormat=ot.chroma_format_string,Ht.sarNum=Ne.sarRatio.width,Ht.sarDen=Ne.sarRatio.height,Ht.videoCodec=Ot,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 Ft=vt.getUint8(Qt);if(Ft===0){this._onError(se.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS");return}else Ft>1&&a.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(Ft));Qt++;for(var ir=0;ir<Ft;ir++){var Xt=vt.getUint16(Qt,!$e);if(Qt+=2,Xt===0)continue;Qt+=Xt}Ne.avcc=new Uint8Array(Se),Ne.avcc.set(new Uint8Array(q,ne,Se),0),a.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",Ne)}},{key:"_parseAVCVideoData",value:function(q,ne,Se,Ne,Me,$e,vt){for(var Wt=this._littleEndian,$t=new DataView(q,ne,Se),Dt=[],Kt=0,Gt=0,Qt=this._naluLengthSize,Mt=this._timestampBase+Ne,dr=$e===1;Gt<Se;){if(Gt+4>=Se){a.w(this.TAG,"Malformed Nalu near timestamp ".concat(Mt,", offset = ").concat(Gt,", dataSize = ").concat(Se));break}var er=$t.getUint32(Gt,!Wt);if(Qt===3&&(er>>>=8),er>Se-Qt){a.w(this.TAG,"Malformed Nalus near timestamp ".concat(Mt,", NaluSize > DataSize!"));return}var ot=$t.getUint8(Gt+Qt)&31;ot===5&&(dr=!0);var xt=new Uint8Array(q,ne+Gt,Qt+er),ut={type:ot,data:xt};Dt.push(ut),Kt+=xt.byteLength,Gt+=Qt+er}if(Dt.length){var ft=this._videoTrack,Ot={units:Dt,length:Kt,isKeyframe:dr,dts:Mt,cts:vt,pts:Mt+vt};dr&&(Ot.fileposition=Me),ft.samples.push(Ot),ft.length+=Kt}}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(q){this._onTrackMetadata=q}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(q){this._onMediaInfo=q}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function(q){this._onMetaDataArrived=q}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function(q){this._onScriptDataArrived=q}},{key:"onError",get:function(){return this._onError},set:function(q){this._onError=q}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(q){this._onDataAvailable=q}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(q){this._timestampBase=q}},{key:"overridedDuration",get:function(){return this._duration},set:function(q){this._durationOverrided=!0,this._duration=q,this._mediaInfo.duration=q}},{key:"overridedHasAudio",set:function(q){this._hasAudioFlagOverrided=!0,this._hasAudio=q,this._mediaInfo.hasAudio=q}},{key:"overridedHasVideo",set:function(q){this._hasVideoFlagOverrided=!0,this._hasVideo=q,this._mediaInfo.hasVideo=q}}],[{key:"probe",value:function(q){var ne=new Uint8Array(q),Se={match:!1};if(ne[0]!==70||ne[1]!==76||ne[2]!==86||ne[3]!==1)return Se;var Ne=(ne[4]&4)>>>2!==0,Me=(ne[4]&1)!==0,$e=Je(ne,5);return $e<9?Se:{match:!0,consumed:$e,dataOffset:$e,hasAudioTrack:Ne,hasVideoTrack:Me}}}]),ae}(),Ct=mt,Ue=function(){function ae(){Object(g.a)(this,ae)}return Object(f.a)(ae,null,[{key:"init",value:function(){ae.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 q in ae.types)ae.types.hasOwnProperty(q)&&(ae.types[q]=[q.charCodeAt(0),q.charCodeAt(1),q.charCodeAt(2),q.charCodeAt(3)]);var ne=ae.constants={};ne.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),ne.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),ne.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),ne.STSC=ne.STCO=ne.STTS,ne.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),ne.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]),ne.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]),ne.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),ne.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),ne.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(q){for(var ne=8,Se=null,Ne=Array.prototype.slice.call(arguments,1),Me=Ne.length,$e=0;$e<Me;$e++)ne+=Ne[$e].byteLength;Se=new Uint8Array(ne),Se[0]=ne>>>24&255,Se[1]=ne>>>16&255,Se[2]=ne>>>8&255,Se[3]=ne&255,Se.set(q,4);for(var vt=8,Wt=0;Wt<Me;Wt++)Se.set(Ne[Wt],vt),vt+=Ne[Wt].byteLength;return Se}},{key:"generateInitSegment",value:function(q){var ne=ae.box(ae.types.ftyp,ae.constants.FTYP),Se=ae.moov(q),Ne=new Uint8Array(ne.byteLength+Se.byteLength);return Ne.set(ne,0),Ne.set(Se,ne.byteLength),Ne}},{key:"moov",value:function(q){var ne=ae.mvhd(q.timescale,q.duration),Se=ae.trak(q),Ne=ae.mvex(q);return ae.box(ae.types.moov,ne,Se,Ne)}},{key:"mvhd",value:function(q,ne){return ae.box(ae.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,q>>>24&255,q>>>16&255,q>>>8&255,q&255,ne>>>24&255,ne>>>16&255,ne>>>8&255,ne&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(q){return ae.box(ae.types.trak,ae.tkhd(q),ae.mdia(q))}},{key:"tkhd",value:function(q){var ne=q.id,Se=q.duration,Ne=q.presentWidth,Me=q.presentHeight;return ae.box(ae.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,ne>>>24&255,ne>>>16&255,ne>>>8&255,ne&255,0,0,0,0,Se>>>24&255,Se>>>16&255,Se>>>8&255,Se&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,Ne>>>8&255,Ne&255,0,0,Me>>>8&255,Me&255,0,0]))}},{key:"mdia",value:function(q){return ae.box(ae.types.mdia,ae.mdhd(q),ae.hdlr(q),ae.minf(q))}},{key:"mdhd",value:function(q){var ne=q.timescale,Se=q.duration;return ae.box(ae.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,ne>>>24&255,ne>>>16&255,ne>>>8&255,ne&255,Se>>>24&255,Se>>>16&255,Se>>>8&255,Se&255,85,196,0,0]))}},{key:"hdlr",value:function(q){var ne=null;return q.type==="audio"?ne=ae.constants.HDLR_AUDIO:ne=ae.constants.HDLR_VIDEO,ae.box(ae.types.hdlr,ne)}},{key:"minf",value:function(q){var ne=null;return q.type==="audio"?ne=ae.box(ae.types.smhd,ae.constants.SMHD):ne=ae.box(ae.types.vmhd,ae.constants.VMHD),ae.box(ae.types.minf,ne,ae.dinf(),ae.stbl(q))}},{key:"dinf",value:function(){var q=ae.box(ae.types.dinf,ae.box(ae.types.dref,ae.constants.DREF));return q}},{key:"stbl",value:function(q){var ne=ae.box(ae.types.stbl,ae.stsd(q),ae.box(ae.types.stts,ae.constants.STTS),ae.box(ae.types.stsc,ae.constants.STSC),ae.box(ae.types.stsz,ae.constants.STSZ),ae.box(ae.types.stco,ae.constants.STCO));return ne}},{key:"stsd",value:function(q){return q.type==="audio"?q.codec==="mp3"?ae.box(ae.types.stsd,ae.constants.STSD_PREFIX,ae.mp3(q)):ae.box(ae.types.stsd,ae.constants.STSD_PREFIX,ae.mp4a(q)):ae.box(ae.types.stsd,ae.constants.STSD_PREFIX,ae.avc1(q))}},{key:"mp3",value:function(q){var ne=q.channelCount,Se=q.audioSampleRate,Ne=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,ne,0,16,0,0,0,0,Se>>>8&255,Se&255,0,0]);return ae.box(ae.types[".mp3"],Ne)}},{key:"mp4a",value:function(q){var ne=q.channelCount,Se=q.audioSampleRate,Ne=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,ne,0,16,0,0,0,0,Se>>>8&255,Se&255,0,0]);return ae.box(ae.types.mp4a,Ne,ae.esds(q))}},{key:"esds",value:function(q){var ne=q.config||[],Se=ne.length,Ne=new Uint8Array([0,0,0,0,3,23+Se,0,1,0,4,15+Se,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([Se]).concat(ne).concat([6,1,2]));return ae.box(ae.types.esds,Ne)}},{key:"avc1",value:function(q){var ne=q.avcc,Se=q.codecWidth,Ne=q.codecHeight,Me=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,Se>>>8&255,Se&255,Ne>>>8&255,Ne&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 ae.box(ae.types.avc1,Me,ae.box(ae.types.avcC,ne))}},{key:"mvex",value:function(q){return ae.box(ae.types.mvex,ae.trex(q))}},{key:"trex",value:function(q){var ne=q.id,Se=new Uint8Array([0,0,0,0,ne>>>24&255,ne>>>16&255,ne>>>8&255,ne&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return ae.box(ae.types.trex,Se)}},{key:"moof",value:function(q,ne){return ae.box(ae.types.moof,ae.mfhd(q.sequenceNumber),ae.traf(q,ne))}},{key:"mfhd",value:function(q){var ne=new Uint8Array([0,0,0,0,q>>>24&255,q>>>16&255,q>>>8&255,q&255]);return ae.box(ae.types.mfhd,ne)}},{key:"traf",value:function(q,ne){var Se=q.id,Ne=ae.box(ae.types.tfhd,new Uint8Array([0,0,0,0,Se>>>24&255,Se>>>16&255,Se>>>8&255,Se&255])),Me=ae.box(ae.types.tfdt,new Uint8Array([0,0,0,0,ne>>>24&255,ne>>>16&255,ne>>>8&255,ne&255])),$e=ae.sdtp(q),vt=ae.trun(q,$e.byteLength+16+16+8+16+8+8);return ae.box(ae.types.traf,Ne,Me,vt,$e)}},{key:"sdtp",value:function(q){for(var ne=q.samples||[],Se=ne.length,Ne=new Uint8Array(4+Se),Me=0;Me<Se;Me++){var $e=ne[Me].flags;Ne[Me+4]=$e.isLeading<<6|$e.dependsOn<<4|$e.isDependedOn<<2|$e.hasRedundancy}return ae.box(ae.types.sdtp,Ne)}},{key:"trun",value:function(q,ne){var Se=q.samples||[],Ne=Se.length,Me=12+16*Ne,$e=new Uint8Array(Me);ne+=8+Me,$e.set([0,0,15,1,Ne>>>24&255,Ne>>>16&255,Ne>>>8&255,Ne&255,ne>>>24&255,ne>>>16&255,ne>>>8&255,ne&255],0);for(var vt=0;vt<Ne;vt++){var Wt=Se[vt].duration,$t=Se[vt].size,Dt=Se[vt].flags,Kt=Se[vt].cts;$e.set([Wt>>>24&255,Wt>>>16&255,Wt>>>8&255,Wt&255,$t>>>24&255,$t>>>16&255,$t>>>8&255,$t&255,Dt.isLeading<<2|Dt.dependsOn,Dt.isDependedOn<<6|Dt.hasRedundancy<<4|Dt.isNonSync,0,0,Kt>>>24&255,Kt>>>16&255,Kt>>>8&255,Kt&255],12+16*vt)}return ae.box(ae.types.trun,$e)}},{key:"mdat",value:function(q){return ae.box(ae.types.mdat,q)}}]),ae}();Ue.init();var Rt=Ue,Ke=function(){function ae(){Object(g.a)(this,ae)}return Object(f.a)(ae,null,[{key:"getSilentFrame",value:function(q,ne){if(q==="mp4a.40.2"){if(ne===1)return new Uint8Array([0,200,0,128,35,128]);if(ne===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(ne===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(ne===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(ne===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(ne===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(ne===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(ne===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(ne===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}}]),ae}(),wt=Ke,Ye=function ae(he,q,ne,Se,Ne){Object(g.a)(this,ae),this.dts=he,this.pts=q,this.duration=ne,this.originalDts=Se,this.isSyncPoint=Ne,this.fileposition=null},et=function(){function ae(){Object(g.a)(this,ae),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)(ae,[{key:"appendSyncPoint",value:function(q){q.isSyncPoint=!0,this.syncPoints.push(q)}}]),ae}(),rt=function(){function ae(){Object(g.a)(this,ae),this._list=[]}return Object(f.a)(ae,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(q){var ne=this._list;if(q.length===0)return;ne.length>0&&q[0].originalDts<ne[ne.length-1].originalDts&&this.clear(),Array.prototype.push.apply(ne,q)}},{key:"getLastSyncPointBeforeDts",value:function(q){if(this._list.length==0)return null;var ne=this._list,Se=0,Ne=ne.length-1,Me=0,$e=0,vt=Ne;for(q<ne[0].dts&&(Se=0,$e=vt+1);$e<=vt;)if(Me=$e+Math.floor((vt-$e)/2),Me===Ne||q>=ne[Me].dts&&q<ne[Me+1].dts){Se=Me;break}else ne[Me].dts<q?$e=Me+1:vt=Me-1;return this._list[Se]}}]),ae}(),st=function(){function ae(he){Object(g.a)(this,ae),this._type=he,this._list=[],this._lastAppendLocation=-1}return Object(f.a)(ae,[{key:"isEmpty",value:function(){return this._list.length===0}},{key:"clear",value:function(){this._list=[],this._lastAppendLocation=-1}},{key:"_searchNearestSegmentBefore",value:function(q){var ne=this._list;if(ne.length===0)return-2;var Se=ne.length-1,Ne=0,Me=0,$e=Se,vt=0;if(q<ne[0].originalBeginDts)return vt=-1,vt;for(;Me<=$e;)if(Ne=Me+Math.floor(($e-Me)/2),Ne===Se||q>ne[Ne].lastSample.originalDts&&q<ne[Ne+1].originalBeginDts){vt=Ne;break}else ne[Ne].originalBeginDts<q?Me=Ne+1:$e=Ne-1;return vt}},{key:"_searchNearestSegmentAfter",value:function(q){return this._searchNearestSegmentBefore(q)+1}},{key:"append",value:function(q){var ne=this._list,Se=q,Ne=this._lastAppendLocation,Me=0;Ne!==-1&&Ne<ne.length&&Se.originalBeginDts>=ne[Ne].lastSample.originalDts&&(Ne===ne.length-1||Ne<ne.length-1&&Se.originalBeginDts<ne[Ne+1].originalBeginDts)?Me=Ne+1:ne.length>0&&(Me=this._searchNearestSegmentBefore(Se.originalBeginDts)+1),this._lastAppendLocation=Me,this._list.splice(Me,0,Se)}},{key:"getLastSegmentBefore",value:function(q){var ne=this._searchNearestSegmentBefore(q);return ne>=0?this._list[ne]:null}},{key:"getLastSampleBefore",value:function(q){var ne=this.getLastSegmentBefore(q);return ne!=null?ne.lastSample:null}},{key:"getLastSyncPointBefore",value:function(q){for(var ne=this._searchNearestSegmentBefore(q),Se=this._list[ne].syncPoints;Se.length===0&&ne>0;)ne--,Se=this._list[ne].syncPoints;return Se.length>0?Se[Se.length-1]:null}},{key:"type",get:function(){return this._type}},{key:"length",get:function(){return this._list.length}}]),ae}(),Ve=function(){function ae(he){Object(g.a)(this,ae),this.TAG="MP4Remuxer",this._config=he,this._isLive=he.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 st("audio"),this._videoSegmentInfoList=new st("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(L.chrome&&(L.version.major<50||L.version.major===50&&L.version.build<2661)),this._fillSilentAfterSeek=L.msedge||L.msie,this._mp3UseMpegAudio=!L.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return Object(f.a)(ae,[{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(q){return q.onDataAvailable=this.remux.bind(this),q.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(q){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(q,ne){if(!this._onMediaSegment)throw new l("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(q,ne),this._remuxVideo(ne),this._remuxAudio(q)}},{key:"_onTrackMetadataReceived",value:function(q,ne){var Se=null,Ne="mp4",Me=ne.codec;if(q==="audio")this._audioMeta=ne,ne.codec==="mp3"&&this._mp3UseMpegAudio?(Ne="mpeg",Me="",Se=new Uint8Array):Se=Rt.generateInitSegment(ne);else if(q==="video")this._videoMeta=ne,Se=Rt.generateInitSegment(ne);else return;if(!this._onInitSegment)throw new l("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(q,{type:q,data:Se.buffer,codec:Me,container:"".concat(q,"/").concat(Ne),mediaDuration:ne.duration})}},{key:"_calculateDtsBase",value:function(q,ne){if(this._dtsBaseInited)return;q.samples&&q.samples.length&&(this._audioDtsBase=q.samples[0].dts),ne.samples&&ne.samples.length&&(this._videoDtsBase=ne.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var q=this._videoStashedLastSample,ne=this._audioStashedLastSample,Se={type:"video",id:1,sequenceNumber:0,samples:[],length:0};q!=null&&(Se.samples.push(q),Se.length=q.length);var Ne={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};ne!=null&&(Ne.samples.push(ne),Ne.length=ne.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(Se,!0),this._remuxAudio(Ne,!0)}},{key:"_remuxAudio",value:function(q,ne){if(this._audioMeta==null)return;var Se=q,Ne=Se.samples,Me=void 0,$e=-1,vt=-1,Wt=-1,$t=this._audioMeta.refSampleDuration,Dt=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Kt=this._dtsBaseInited&&this._audioNextDts===void 0,Gt=!1;if(!Ne||Ne.length===0)return;if(Ne.length===1&&!ne)return;var Qt=0,Mt=null,dr=0;Dt?(Qt=0,dr=Se.length):(Qt=8,dr=8+Se.length);var er=null;if(Ne.length>1&&(er=Ne.pop(),dr-=er.length),this._audioStashedLastSample!=null){var ot=this._audioStashedLastSample;this._audioStashedLastSample=null,Ne.unshift(ot),dr+=ot.length}er!=null&&(this._audioStashedLastSample=er);var xt=Ne[0].dts-this._dtsBase;if(this._audioNextDts)Me=xt-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())Me=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&(Gt=!0));else{var ut=this._audioSegmentInfoList.getLastSampleBefore(xt);if(ut!=null){var ft=xt-(ut.originalDts+ut.duration);ft<=3&&(ft=0);var Ot=ut.dts+ut.duration+ft;Me=xt-Ot}else Me=0}if(Gt){var Tt=xt-Me,ht=this._videoSegmentInfoList.getLastSegmentBefore(xt);if(ht!=null&&ht.beginDts<Tt){var Ht=wt.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(Ht){var Ft=ht.beginDts,ir=Tt-ht.beginDts;a.v(this.TAG,"InsertPrefixSilentAudio: dts: ".concat(Ft,", duration: ").concat(ir)),Ne.unshift({unit:Ht,dts:Ft,pts:Ft}),dr+=Ht.byteLength}}else Gt=!1}for(var Xt=[],mr=0;mr<Ne.length;mr++){var Ar=Ne[mr],Nr=Ar.unit,Fr=Ar.dts-this._dtsBase,tn=Fr-Me;$e===-1&&($e=tn);var qr=0;if(mr!==Ne.length-1){var Lr=Ne[mr+1].dts-this._dtsBase-Me;qr=Lr-tn}else if(er!=null){var Qr=er.dts-this._dtsBase-Me;qr=Qr-tn}else Xt.length>=1?qr=Xt[Xt.length-1].duration:qr=Math.floor($t);var _r=!1,ur=null;if(qr>$t*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!L.safari){_r=!0;var pr=Math.abs(qr-$t),cr=Math.ceil(pr/$t),fr=tn+$t;a.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(cr," frames"));var xr=wt.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);xr==null&&(a.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),xr=Nr),ur=[];for(var Yr=0;Yr<cr;Yr++){var un=Math.round(fr);if(ur.length>0){var Nn=ur[ur.length-1];Nn.duration=un-Nn.dts}var jr={dts:un,pts:un,cts:0,unit:xr,size:xr.byteLength,duration:0,originalDts:Fr,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};ur.push(jr),dr+=jr.size,fr+=$t}var Tn=ur[ur.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:Fr,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),_r&&Xt.push.apply(Xt,ur)}Dt?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(Rt.types.mdat,4));for(var gn=0;gn<Xt.length;gn++){var Bn=Xt[gn].unit;Mt.set(Bn,Qt),Qt+=Bn.byteLength}var zn=Xt[Xt.length-1];vt=zn.dts+zn.duration,this._audioNextDts=vt;var qn=new et;qn.beginDts=$e,qn.endDts=vt,qn.beginPts=$e,qn.endPts=vt,qn.originalBeginDts=Xt[0].originalDts,qn.originalEndDts=zn.originalDts+zn.duration,qn.firstSample=new Ye(Xt[0].dts,Xt[0].pts,Xt[0].duration,Xt[0].originalDts,!1),qn.lastSample=new Ye(zn.dts,zn.pts,zn.duration,zn.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(qn),Se.samples=Xt,Se.sequenceNumber++;var Yn=null;Dt?Yn=new Uint8Array:Yn=Rt.moof(Se,$e),Se.samples=[],Se.length=0;var Vn={type:"audio",data:this._mergeBoxes(Yn,Mt).buffer,sampleCount:Xt.length,info:qn};Dt&&Kt&&(Vn.timestampOffset=$e),this._onMediaSegment("audio",Vn)}},{key:"_remuxVideo",value:function(q,ne){if(this._videoMeta==null)return;var Se=q,Ne=Se.samples,Me=void 0,$e=-1,vt=-1,Wt=-1,$t=-1;if(!Ne||Ne.length===0)return;if(Ne.length===1&&!ne)return;var Dt=8,Kt=null,Gt=8+q.length,Qt=null;if(Ne.length>1&&(Qt=Ne.pop(),Gt-=Qt.length),this._videoStashedLastSample!=null){var Mt=this._videoStashedLastSample;this._videoStashedLastSample=null,Ne.unshift(Mt),Gt+=Mt.length}Qt!=null&&(this._videoStashedLastSample=Qt);var dr=Ne[0].dts-this._dtsBase;if(this._videoNextDts)Me=dr-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())Me=0;else{var er=this._videoSegmentInfoList.getLastSampleBefore(dr);if(er!=null){var ot=dr-(er.originalDts+er.duration);ot<=3&&(ot=0);var xt=er.dts+er.duration+ot;Me=dr-xt}else Me=0}for(var ut=new et,ft=[],Ot=0;Ot<Ne.length;Ot++){var Tt=Ne[Ot],ht=Tt.dts-this._dtsBase,Ht=Tt.isKeyframe,Ft=ht-Me,ir=Tt.cts,Xt=Ft+ir;$e===-1&&($e=Ft,Wt=Xt);var mr=0;if(Ot!==Ne.length-1){var Ar=Ne[Ot+1].dts-this._dtsBase-Me;mr=Ar-Ft}else if(Qt!=null){var Nr=Qt.dts-this._dtsBase-Me;mr=Nr-Ft}else ft.length>=1?mr=ft[ft.length-1].duration:mr=Math.floor(this._videoMeta.refSampleDuration);if(Ht){var Fr=new Ye(Ft,Xt,mr,Tt.dts,!0);Fr.fileposition=Tt.fileposition,ut.appendSyncPoint(Fr)}ft.push({dts:Ft,pts:Xt,cts:ir,units:Tt.units,size:Tt.length,isKeyframe:Ht,duration:mr,originalDts:ht,flags:{isLeading:0,dependsOn:Ht?2:1,isDependedOn:Ht?1:0,hasRedundancy:0,isNonSync:Ht?0:1}})}Kt=new Uint8Array(Gt),Kt[0]=Gt>>>24&255,Kt[1]=Gt>>>16&255,Kt[2]=Gt>>>8&255,Kt[3]=Gt&255,Kt.set(Rt.types.mdat,4);for(var tn=0;tn<ft.length;tn++)for(var qr=ft[tn].units;qr.length;){var Lr=qr.shift(),Qr=Lr.data;Kt.set(Qr,Dt),Dt+=Qr.byteLength}var _r=ft[ft.length-1];if(vt=_r.dts+_r.duration,$t=_r.pts+_r.duration,this._videoNextDts=vt,ut.beginDts=$e,ut.endDts=vt,ut.beginPts=Wt,ut.endPts=$t,ut.originalBeginDts=ft[0].originalDts,ut.originalEndDts=_r.originalDts+_r.duration,ut.firstSample=new Ye(ft[0].dts,ft[0].pts,ft[0].duration,ft[0].originalDts,ft[0].isKeyframe),ut.lastSample=new Ye(_r.dts,_r.pts,_r.duration,_r.originalDts,_r.isKeyframe),this._isLive||this._videoSegmentInfoList.append(ut),Se.samples=ft,Se.sequenceNumber++,this._forceFirstIDR){var ur=ft[0].flags;ur.dependsOn=2,ur.isNonSync=0}var pr=Rt.moof(Se,$e);Se.samples=[],Se.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(pr,Kt).buffer,sampleCount:ft.length,info:ut})}},{key:"_mergeBoxes",value:function(q,ne){var Se=new Uint8Array(q.byteLength+ne.byteLength);return Se.set(q,0),Se.set(ne,q.byteLength),Se}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function(q){this._onInitSegment=q}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function(q){this._onMediaSegment=q}}]),ae}(),oe=Ve,re={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"},it=re,Qe=function(){function ae(he,q){Object(g.a)(this,ae),this.TAG="TransmuxingController",this._emitter=new h.a,this._config=q,he.segments||(he.segments=[{duration:he.duration,filesize:he.filesize,url:he.url}]),typeof he.cors!="boolean"&&(he.cors=!0),typeof he.withCredentials!="boolean"&&(he.withCredentials=!1),this._mediaDataSource=he,this._currentSegmentIndex=0;var ne=0;this._mediaDataSource.segments.forEach(function(Se){Se.timestampBase=ne,ne+=Se.duration,Se.cors=he.cors,Se.withCredentials=he.withCredentials,q.referrerPolicy&&(Se.referrerPolicy=q.referrerPolicy)}),!isNaN(ne)&&this._mediaDataSource.duration!==ne&&(this._mediaDataSource.duration=ne),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)(ae,[{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(q,ne){this._emitter.addListener(q,ne)}},{key:"off",value:function(q,ne){this._emitter.removeListener(q,ne)}},{key:"start",value:function(){this._loadSegment(0),this._enableStatisticsReporter()}},{key:"_loadSegment",value:function(q,ne){this._currentSegmentIndex=q;var Se=this._mediaDataSource.segments[q],Ne=this._ioctl=new z(Se,this._config,q);Ne.onError=this._onIOException.bind(this),Ne.onSeeked=this._onIOSeeked.bind(this),Ne.onComplete=this._onIOComplete.bind(this),Ne.onRedirect=this._onIORedirect.bind(this),Ne.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),ne?this._demuxer.bindDataSource(this._ioctl):Ne.onDataArrival=this._onInitChunkArrival.bind(this),Ne.open(ne)}},{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(q){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;var ne=this._searchSegmentIndexContains(q);if(ne===this._currentSegmentIndex){var Se=this._mediaInfo.segments[ne];if(Se==null)this._pendingSeekTime=q;else{var Ne=Se.getNearestKeyframe(q);this._remuxer.seek(Ne.milliseconds),this._ioctl.seek(Ne.fileposition),this._pendingResolveSeekPoint=Ne.milliseconds}}else{var Me=this._mediaInfo.segments[ne];if(Me==null)this._pendingSeekTime=q,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(ne);else{var $e=Me.getNearestKeyframe(q);this._internalAbort(),this._remuxer.seek(q),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[ne].timestampBase,this._loadSegment(ne,$e.fileposition),this._pendingResolveSeekPoint=$e.milliseconds,this._reportSegmentMediaInfo(ne)}}this._enableStatisticsReporter()}},{key:"_searchSegmentIndexContains",value:function(q){for(var ne=this._mediaDataSource.segments,Se=ne.length-1,Ne=0;Ne<ne.length;Ne++)if(q<ne[Ne].timestampBase){Se=Ne-1;break}return Se}},{key:"_onInitChunkArrival",value:function(q,ne){var Se=this,Ne=null,Me=0;if(ne>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,Me=this._demuxer.parseChunks(q,ne);else if((Ne=Ct.probe(q)).match){this._demuxer=new Ct(Ne,this._config),this._remuxer||(this._remuxer=new oe(this._config));var $e=this._mediaDataSource;$e.duration!=null&&!isNaN($e.duration)&&(this._demuxer.overridedDuration=$e.duration),typeof $e.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=$e.hasAudio),typeof $e.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=$e.hasVideo),this._demuxer.timestampBase=$e.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),Me=this._demuxer.parseChunks(q,ne)}else Ne=null,a.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){Se._internalAbort()}),this._emitter.emit(it.DEMUX_ERROR,se.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),Me=0;return Me}},{key:"_onMediaInfo",value:function(q){var ne=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},q),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,gt.prototype));var Se=Object.assign({},q);Object.setPrototypeOf(Se,gt.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=Se,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var Ne=ne._pendingSeekTime;ne._pendingSeekTime=null,ne.seek(Ne)})}},{key:"_onMetaDataArrived",value:function(q){this._emitter.emit(it.METADATA_ARRIVED,q)}},{key:"_onScriptDataArrived",value:function(q){this._emitter.emit(it.SCRIPTDATA_ARRIVED,q)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(q){var ne=q,Se=ne+1;Se<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(Se)):(this._remuxer.flushStashedSamples(),this._emitter.emit(it.LOADING_COMPLETE),this._disableStatisticsReporter())}},{key:"_onIORedirect",value:function(q){var ne=this._ioctl.extraData;this._mediaDataSource.segments[ne].redirectedURL=q}},{key:"_onIORecoveredEarlyEof",value:function(){this._emitter.emit(it.RECOVERED_EARLY_EOF)}},{key:"_onIOException",value:function(q,ne){a.e(this.TAG,"IOException: type = ".concat(q,", code = ").concat(ne.code,", msg = ").concat(ne.msg)),this._emitter.emit(it.IO_ERROR,q,ne),this._disableStatisticsReporter()}},{key:"_onDemuxException",value:function(q,ne){a.e(this.TAG,"DemuxException: type = ".concat(q,", info = ").concat(ne)),this._emitter.emit(it.DEMUX_ERROR,q,ne)}},{key:"_onRemuxerInitSegmentArrival",value:function(q,ne){this._emitter.emit(it.INIT_SEGMENT,q,ne)}},{key:"_onRemuxerMediaSegmentArrival",value:function(q,ne){if(this._pendingSeekTime!=null)return;if(this._emitter.emit(it.MEDIA_SEGMENT,q,ne),this._pendingResolveSeekPoint!=null&&q==="video"){var Se=ne.info.syncPoints,Ne=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,L.safari&&Se.length>0&&Se[0].originalDts===Ne&&(Ne=Se[0].pts),this._emitter.emit(it.RECOMMEND_SEEKPOINT,Ne)}}},{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(q){var ne=this._mediaInfo.segments[q],Se=Object.assign({},ne);Se.duration=this._mediaInfo.duration,Se.segmentCount=this._mediaInfo.segmentCount,delete Se.segments,delete Se.keyframesIndex,this._emitter.emit(it.MEDIA_INFO,Se)}},{key:"_reportStatisticsInfo",value:function(){var q={};q.url=this._ioctl.currentURL,q.hasRedirect=this._ioctl.hasRedirect,q.hasRedirect&&(q.redirectedURL=this._ioctl.currentRedirectedURL),q.speed=this._ioctl.currentSpeed,q.loaderType=this._ioctl.loaderType,q.currentSegmentIndex=this._currentSegmentIndex,q.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(it.STATISTICS_INFO,q)}}]),ae}(),ve=Qe,Zt=function(he){var q="TransmuxingWorker",ne=null,Se=dr.bind(this);m.install(),he.addEventListener("message",function(er){switch(er.data.cmd){case"init":ne=new ve(er.data.param[0],er.data.param[1]),ne.on(it.IO_ERROR,Gt.bind(this)),ne.on(it.DEMUX_ERROR,Qt.bind(this)),ne.on(it.INIT_SEGMENT,Ne.bind(this)),ne.on(it.MEDIA_SEGMENT,Me.bind(this)),ne.on(it.LOADING_COMPLETE,$e.bind(this)),ne.on(it.RECOVERED_EARLY_EOF,vt.bind(this)),ne.on(it.MEDIA_INFO,Wt.bind(this)),ne.on(it.METADATA_ARRIVED,$t.bind(this)),ne.on(it.SCRIPTDATA_ARRIVED,Dt.bind(this)),ne.on(it.STATISTICS_INFO,Kt.bind(this)),ne.on(it.RECOMMEND_SEEKPOINT,Mt.bind(this));break;case"destroy":ne&&(ne.destroy(),ne=null),he.postMessage({msg:"destroyed"});break;case"start":ne.start();break;case"stop":ne.stop();break;case"seek":ne.seek(er.data.param);break;case"pause":ne.pause();break;case"resume":ne.resume();break;case"logging_config":{var ot=er.data.param;Pe.applyConfig(ot),ot.enableCallback===!0?Pe.addLogListener(Se):Pe.removeLogListener(Se);break}}});function Ne(er,ot){var xt={msg:it.INIT_SEGMENT,data:{type:er,data:ot}};he.postMessage(xt,[ot.data])}function Me(er,ot){var xt={msg:it.MEDIA_SEGMENT,data:{type:er,data:ot}};he.postMessage(xt,[ot.data])}function $e(){var er={msg:it.LOADING_COMPLETE};he.postMessage(er)}function vt(){var er={msg:it.RECOVERED_EARLY_EOF};he.postMessage(er)}function Wt(er){var ot={msg:it.MEDIA_INFO,data:er};he.postMessage(ot)}function $t(er){var ot={msg:it.METADATA_ARRIVED,data:er};he.postMessage(ot)}function Dt(er){var ot={msg:it.SCRIPTDATA_ARRIVED,data:er};he.postMessage(ot)}function Kt(er){var ot={msg:it.STATISTICS_INFO,data:er};he.postMessage(ot)}function Gt(er,ot){he.postMessage({msg:it.IO_ERROR,data:{type:er,info:ot}})}function Qt(er,ot){he.postMessage({msg:it.DEMUX_ERROR,data:{type:er,info:ot}})}function Mt(er){he.postMessage({msg:it.RECOMMEND_SEEKPOINT,data:er})}function dr(er,ot){he.postMessage({msg:"logcat_callback",data:{type:er,logcat:ot}})}},dt=Zt,ct=function(){function ae(he,q){if(Object(g.a)(this,ae),this.TAG="Transmuxer",this._emitter=new h.a,q.enableWorker&&typeof Worker!="undefined")try{var ne=e("0r65");this._worker=ne(dt),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[he,q]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},Pe.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:Pe.getConfig()})}catch(Ne){a.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new ve(he,q)}else this._controller=new ve(he,q);if(this._controller){var Se=this._controller;Se.on(it.IO_ERROR,this._onIOError.bind(this)),Se.on(it.DEMUX_ERROR,this._onDemuxError.bind(this)),Se.on(it.INIT_SEGMENT,this._onInitSegment.bind(this)),Se.on(it.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),Se.on(it.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),Se.on(it.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),Se.on(it.MEDIA_INFO,this._onMediaInfo.bind(this)),Se.on(it.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),Se.on(it.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),Se.on(it.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),Se.on(it.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(f.a)(ae,[{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(q,ne){this._emitter.addListener(q,ne)}},{key:"off",value:function(q,ne){this._emitter.removeListener(q,ne)}},{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(q){this._worker?this._worker.postMessage({cmd:"seek",param:q}):this._controller.seek(q)}},{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(q,ne){var Se=this;Promise.resolve().then(function(){Se._emitter.emit(it.INIT_SEGMENT,q,ne)})}},{key:"_onMediaSegment",value:function(q,ne){var Se=this;Promise.resolve().then(function(){Se._emitter.emit(it.MEDIA_SEGMENT,q,ne)})}},{key:"_onLoadingComplete",value:function(){var q=this;Promise.resolve().then(function(){q._emitter.emit(it.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var q=this;Promise.resolve().then(function(){q._emitter.emit(it.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function(q){var ne=this;Promise.resolve().then(function(){ne._emitter.emit(it.MEDIA_INFO,q)})}},{key:"_onMetaDataArrived",value:function(q){var ne=this;Promise.resolve().then(function(){ne._emitter.emit(it.METADATA_ARRIVED,q)})}},{key:"_onScriptDataArrived",value:function(q){var ne=this;Promise.resolve().then(function(){ne._emitter.emit(it.SCRIPTDATA_ARRIVED,q)})}},{key:"_onStatisticsInfo",value:function(q){var ne=this;Promise.resolve().then(function(){ne._emitter.emit(it.STATISTICS_INFO,q)})}},{key:"_onIOError",value:function(q,ne){var Se=this;Promise.resolve().then(function(){Se._emitter.emit(it.IO_ERROR,q,ne)})}},{key:"_onDemuxError",value:function(q,ne){var Se=this;Promise.resolve().then(function(){Se._emitter.emit(it.DEMUX_ERROR,q,ne)})}},{key:"_onRecommendSeekpoint",value:function(q){var ne=this;Promise.resolve().then(function(){ne._emitter.emit(it.RECOMMEND_SEEKPOINT,q)})}},{key:"_onLoggingConfigChanged",value:function(q){this._worker&&this._worker.postMessage({cmd:"logging_config",param:q})}},{key:"_onWorkerMessage",value:function(q){var ne=q.data,Se=ne.data;if(ne.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(ne.msg){case it.INIT_SEGMENT:case it.MEDIA_SEGMENT:this._emitter.emit(ne.msg,Se.type,Se.data);break;case it.LOADING_COMPLETE:case it.RECOVERED_EARLY_EOF:this._emitter.emit(ne.msg);break;case it.MEDIA_INFO:Object.setPrototypeOf(Se,gt.prototype),this._emitter.emit(ne.msg,Se);break;case it.METADATA_ARRIVED:case it.SCRIPTDATA_ARRIVED:case it.STATISTICS_INFO:this._emitter.emit(ne.msg,Se);break;case it.IO_ERROR:case it.DEMUX_ERROR:this._emitter.emit(ne.msg,Se.type,Se.info);break;case it.RECOMMEND_SEEKPOINT:this._emitter.emit(ne.msg,Se);break;case"logcat_callback":a.emitter.emit("log",Se.type,Se.logcat);break;default:break}}}]),ae}(),yt=ct,_t={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},or=_t,Pt=function(){function ae(he){Object(g.a)(this,ae),this.TAG="MSEController",this._config=he,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 rt}return Object(f.a)(ae,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(q,ne){this._emitter.addListener(q,ne)}},{key:"off",value:function(q,ne){this._emitter.removeListener(q,ne)}},{key:"attachMediaElement",value:function(q){if(this._mediaSource)throw new l("MediaSource has been attached to an HTMLMediaElement!");var ne=this._mediaSource=new window.MediaSource;ne.addEventListener("sourceopen",this.e.onSourceOpen),ne.addEventListener("sourceended",this.e.onSourceEnded),ne.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=q,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),q.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var q=this._mediaSource;for(var ne in this._sourceBuffers){var Se=this._pendingSegments[ne];Se.splice(0,Se.length),this._pendingSegments[ne]=null,this._pendingRemoveRanges[ne]=null,this._lastInitSegments[ne]=null;var Ne=this._sourceBuffers[ne];if(Ne){if(q.readyState!=="closed"){try{q.removeSourceBuffer(Ne)}catch(Me){a.e(this.TAG,Me.message)}Ne.removeEventListener("error",this.e.onSourceBufferError),Ne.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[ne]=null,this._sourceBuffers[ne]=null}}if(q.readyState==="open")try{q.endOfStream()}catch(Me){a.e(this.TAG,Me.message)}q.removeEventListener("sourceopen",this.e.onSourceOpen),q.removeEventListener("sourceended",this.e.onSourceEnded),q.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(q,ne){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(q),this._pendingSegments[q.type].push(q);return}var Se=q,Ne="".concat(Se.container);Se.codec&&Se.codec.length>0&&(Ne+=";codecs=".concat(Se.codec));var Me=!1;if(a.v(this.TAG,"Received Initialization Segment, mimeType: "+Ne),this._lastInitSegments[Se.type]=Se,Ne!==this._mimeTypes[Se.type]){if(this._mimeTypes[Se.type])a.v(this.TAG,"Notice: ".concat(Se.type," mimeType changed, origin: ").concat(this._mimeTypes[Se.type],", target: ").concat(Ne));else{Me=!0;try{var $e=this._sourceBuffers[Se.type]=this._mediaSource.addSourceBuffer(Ne);$e.addEventListener("error",this.e.onSourceBufferError),$e.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(vt){a.e(this.TAG,vt.message),this._emitter.emit(or.ERROR,{code:vt.code,msg:vt.message});return}}this._mimeTypes[Se.type]=Ne}ne||this._pendingSegments[Se.type].push(Se),Me||this._sourceBuffers[Se.type]&&!this._sourceBuffers[Se.type].updating&&this._doAppendSegments(),L.safari&&Se.container==="audio/mpeg"&&Se.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=Se.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(q){var ne=q;this._pendingSegments[ne.type].push(ne),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var Se=this._sourceBuffers[ne.type];Se&&!Se.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function(q){for(var ne in this._sourceBuffers){if(!this._sourceBuffers[ne])continue;var Se=this._sourceBuffers[ne];if(this._mediaSource.readyState==="open")try{Se.abort()}catch($t){a.e(this.TAG,$t.message)}this._idrList.clear();var Ne=this._pendingSegments[ne];if(Ne.splice(0,Ne.length),this._mediaSource.readyState==="closed")continue;for(var Me=0;Me<Se.buffered.length;Me++){var $e=Se.buffered.start(Me),vt=Se.buffered.end(Me);this._pendingRemoveRanges[ne].push({start:$e,end:vt})}if(Se.updating||this._doRemoveRanges(),L.safari){var Wt=this._lastInitSegments[ne];Wt&&(this._pendingSegments[ne].push(Wt),Se.updating||this._doAppendSegments())}}}},{key:"endOfStream",value:function(){var q=this._mediaSource,ne=this._sourceBuffers;if(!q||q.readyState!=="open"){q&&q.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}ne.video&&ne.video.updating||ne.audio&&ne.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,q.endOfStream())}},{key:"getNearestKeyframe",value:function(q){return this._idrList.getLastSyncPointBeforeDts(q)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var q=this._mediaElement.currentTime;for(var ne in this._sourceBuffers){var Se=this._sourceBuffers[ne];if(Se){var Ne=Se.buffered;if(Ne.length>=1&&q-Ne.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var q=this._mediaElement.currentTime;for(var ne in this._sourceBuffers){var Se=this._sourceBuffers[ne];if(Se){for(var Ne=Se.buffered,Me=!1,$e=0;$e<Ne.length;$e++){var vt=Ne.start($e),Wt=Ne.end($e);if(vt<=q&&q<Wt+3){if(q-vt>=this._config.autoCleanupMaxBackwardDuration){Me=!0;var $t=q-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[ne].push({start:vt,end:$t})}}else Wt<q&&(Me=!0,this._pendingRemoveRanges[ne].push({start:vt,end:Wt}))}Me&&!Se.updating&&this._doRemoveRanges()}}}},{key:"_updateMediaSourceDuration",value:function(){var q=this._sourceBuffers;if(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open")return;if(q.video&&q.video.updating||q.audio&&q.audio.updating)return;var ne=this._mediaSource.duration,Se=this._pendingMediaDuration;Se>0&&(isNaN(ne)||Se>ne)&&(a.v(this.TAG,"Update MediaSource duration from ".concat(ne," to ").concat(Se)),this._mediaSource.duration=Se),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var q in this._pendingRemoveRanges){if(!this._sourceBuffers[q]||this._sourceBuffers[q].updating)continue;for(var ne=this._sourceBuffers[q],Se=this._pendingRemoveRanges[q];Se.length&&!ne.updating;){var Ne=Se.shift();ne.remove(Ne.start,Ne.end)}}}},{key:"_doAppendSegments",value:function(){var q=this._pendingSegments;for(var ne in q){if(!this._sourceBuffers[ne]||this._sourceBuffers[ne].updating)continue;if(q[ne].length>0){var Se=q[ne].shift();if(Se.timestampOffset){var Ne=this._sourceBuffers[ne].timestampOffset,Me=Se.timestampOffset/1e3,$e=Math.abs(Ne-Me);$e>.1&&(a.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(Ne," to ").concat(Me)),this._sourceBuffers[ne].timestampOffset=Me),delete Se.timestampOffset}if(!Se.data||Se.data.byteLength===0)continue;try{this._sourceBuffers[ne].appendBuffer(Se.data),this._isBufferFull=!1,ne==="video"&&Se.hasOwnProperty("info")&&this._idrList.appendArray(Se.info.syncPoints)}catch(vt){this._pendingSegments[ne].unshift(Se),vt.code===22?(this._isBufferFull||this._emitter.emit(or.BUFFER_FULL),this._isBufferFull=!0):(a.e(this.TAG,vt.message),this._emitter.emit(or.ERROR,{code:vt.code,msg:vt.message}))}}}}},{key:"_onSourceOpen",value:function(){if(a.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var q=this._pendingSourceBufferInit;q.length;){var ne=q.shift();this.appendInitSegment(ne,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(or.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){a.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){a.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 q=this._pendingSegments;return q.video.length>0||q.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var q=this._pendingRemoveRanges;return q.video.length>0||q.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(q){a.e(this.TAG,"SourceBuffer Error: ".concat(q))}}]),ae}(),be=Pt,me={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},pe={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:se.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:se.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:se.CODEC_UNSUPPORTED},ue=function(){function ae(he,q){if(Object(g.a)(this,ae),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new h.a,this._config=Z(),typeof q=="object"&&Object.assign(this._config,q),he.type.toLowerCase()!=="flv")throw new t("FlvPlayer requires an flv MediaDataSource input!");he.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=he,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 ne=L.chrome&&(L.version.major<50||L.version.major===50&&L.version.build<2661);this._alwaysSeekKeyframe=!!(ne||L.msedge||L.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(f.a)(ae,[{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(q,ne){var Se=this;q===Ee.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){Se._emitter.emit(Ee.MEDIA_INFO,Se.mediaInfo)}):q===Ee.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){Se._emitter.emit(Ee.STATISTICS_INFO,Se.statisticsInfo)})),this._emitter.addListener(q,ne)}},{key:"off",value:function(q,ne){this._emitter.removeListener(q,ne)}},{key:"attachMediaElement",value:function(q){var ne=this;if(this._mediaElement=q,q.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),q.addEventListener("seeking",this.e.onvSeeking),q.addEventListener("canplay",this.e.onvCanPlay),q.addEventListener("stalled",this.e.onvStalled),q.addEventListener("progress",this.e.onvProgress),this._msectl=new be(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(){ne._mseSourceOpened=!0,ne._hasPendingLoad&&(ne._hasPendingLoad=!1,ne.load())}),this._msectl.on(or.ERROR,function(Se){ne._emitter.emit(Ee.ERROR,me.MEDIA_ERROR,pe.MEDIA_MSE_ERROR,Se)}),this._msectl.attachMediaElement(q),this._pendingSeekTime!=null)try{q.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(Se){}}},{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 q=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 yt(this._mediaDataSource,this._config),this._transmuxer.on(it.INIT_SEGMENT,function(ne,Se){q._msectl.appendInitSegment(Se)}),this._transmuxer.on(it.MEDIA_SEGMENT,function(ne,Se){if(q._msectl.appendMediaSegment(Se),q._config.lazyLoad&&!q._config.isLive){var Ne=q._mediaElement.currentTime;Se.info.endDts>=(Ne+q._config.lazyLoadMaxDuration)*1e3&&(q._progressChecker==null&&(a.v(q.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),q._suspendTransmuxer()))}}),this._transmuxer.on(it.LOADING_COMPLETE,function(){q._msectl.endOfStream(),q._emitter.emit(Ee.LOADING_COMPLETE)}),this._transmuxer.on(it.RECOVERED_EARLY_EOF,function(){q._emitter.emit(Ee.RECOVERED_EARLY_EOF)}),this._transmuxer.on(it.IO_ERROR,function(ne,Se){q._emitter.emit(Ee.ERROR,me.NETWORK_ERROR,ne,Se)}),this._transmuxer.on(it.DEMUX_ERROR,function(ne,Se){q._emitter.emit(Ee.ERROR,me.MEDIA_ERROR,ne,{code:-1,msg:Se})}),this._transmuxer.on(it.MEDIA_INFO,function(ne){q._mediaInfo=ne,q._emitter.emit(Ee.MEDIA_INFO,Object.assign({},ne))}),this._transmuxer.on(it.METADATA_ARRIVED,function(ne){q._emitter.emit(Ee.METADATA_ARRIVED,ne)}),this._transmuxer.on(it.SCRIPTDATA_ARRIVED,function(ne){q._emitter.emit(Ee.SCRIPTDATA_ARRIVED,ne)}),this._transmuxer.on(it.STATISTICS_INFO,function(ne){q._statisticsInfo=q._fillStatisticsInfo(ne),q._emitter.emit(Ee.STATISTICS_INFO,Object.assign({},q._statisticsInfo))}),this._transmuxer.on(it.RECOMMEND_SEEKPOINT,function(ne){q._mediaElement&&!q._config.accurateSeek&&(q._requestSetTime=!0,q._mediaElement.currentTime=ne/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(q){if(q.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return q;var ne=!0,Se=0,Ne=0;if(this._mediaElement.getVideoPlaybackQuality){var Me=this._mediaElement.getVideoPlaybackQuality();Se=Me.totalVideoFrames,Ne=Me.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Se=this._mediaElement.webkitDecodedFrameCount,Ne=this._mediaElement.webkitDroppedFrameCount):ne=!1;return ne&&(q.decodedFrames=Se,q.droppedFrames=Ne),q}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var q=this._mediaElement.buffered,ne=this._mediaElement.currentTime,Se=0,Ne=0,Me=0;Me<q.length;Me++){var $e=q.start(Me),vt=q.end(Me);if($e<=ne&&ne<vt){Se=$e,Ne=vt;break}}Ne>=ne+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(a.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},{key:"_onmseBufferFull",value:function(){a.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 q=this._mediaElement.currentTime,ne=this._mediaElement.buffered,Se=!1,Ne=0;Ne<ne.length;Ne++){var Me=ne.start(Ne),$e=ne.end(Ne);if(q>=Me&&q<$e){q>=$e-this._config.lazyLoadRecoverDuration&&(Se=!0);break}}Se&&(window.clearInterval(this._progressChecker),this._progressChecker=null,Se&&(a.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(q){for(var ne=this._mediaElement.buffered,Se=0;Se<ne.length;Se++){var Ne=ne.start(Se),Me=ne.end(Se);if(q>=Ne&&q<Me)return!0}return!1}},{key:"_internalSeek",value:function(q){var ne=this._isTimepointBuffered(q),Se=!1,Ne=0;if(q<1&&this._mediaElement.buffered.length>0){var Me=this._mediaElement.buffered.start(0);(Me<1&&q<Me||L.safari)&&(Se=!0,Ne=L.safari?.1:Me)}if(Se)this._requestSetTime=!0,this._mediaElement.currentTime=Ne;else if(ne){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=q;else{var $e=this._msectl.getNearestKeyframe(Math.floor(q*1e3));this._requestSetTime=!0,$e!=null?this._mediaElement.currentTime=$e.dts/1e3:this._mediaElement.currentTime=q}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(q),this._transmuxer.seek(Math.floor(q*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=q)}},{key:"_checkAndApplyUnbufferedSeekpoint",value:function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var q=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(q)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(q),this._transmuxer.seek(Math.floor(q*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=q))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_checkAndResumeStuckPlayback",value:function(q){var ne=this._mediaElement;if(q||!this._receivedCanPlay||ne.readyState<2){var Se=ne.buffered;Se.length>0&&ne.currentTime<Se.start(0)&&(a.w(this.TAG,"Playback seems stuck at ".concat(ne.currentTime,", seek to ").concat(Se.start(0))),this._requestSetTime=!0,this._mediaElement.currentTime=Se.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function(q){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function(q){var ne=this._mediaElement.currentTime,Se=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if(ne<1&&Se.length>0){var Ne=Se.start(0);if(Ne<1&&ne<Ne||L.safari){this._requestSetTime=!0,this._mediaElement.currentTime=L.safari?.1:Ne;return}}if(this._isTimepointBuffered(ne)){if(this._alwaysSeekKeyframe){var Me=this._msectl.getNearestKeyframe(Math.floor(ne*1e3));Me!=null&&(this._requestSetTime=!0,this._mediaElement.currentTime=Me.dts/1e3)}this._progressChecker!=null&&this._checkProgressAndResume();return}this._seekpointRecord={seekPoint:ne,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_onvCanPlay",value:function(q){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)}},{key:"_onvStalled",value:function(q){this._checkAndResumeStuckPlayback(!0)}},{key:"_onvProgress",value:function(q){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(q){this._mediaElement.volume=q}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(q){this._mediaElement.muted=q}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(q){this._mediaElement?this._internalSeek(q):this._pendingSeekTime=q}},{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)}}]),ae}(),De=ue,He=function(){function ae(he,q){if(Object(g.a)(this,ae),this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new h.a,this._config=Z(),typeof q=="object"&&Object.assign(this._config,q),he.type.toLowerCase()==="flv")throw new t("NativePlayer does't support flv MediaDataSource input!");if(he.hasOwnProperty("segments"))throw new t("NativePlayer(".concat(he.type,") doesn't support multipart playback!"));this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=he,this._mediaElement=null}return Object(f.a)(ae,[{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(q,ne){var Se=this;q===Ee.MEDIA_INFO?this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Se._emitter.emit(Ee.MEDIA_INFO,Se.mediaInfo)}):q===Ee.STATISTICS_INFO&&(this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){Se._emitter.emit(Ee.STATISTICS_INFO,Se.statisticsInfo)})),this._emitter.addListener(q,ne)}},{key:"off",value:function(q,ne){this._emitter.removeListener(q,ne)}},{key:"attachMediaElement",value:function(q){if(this._mediaElement=q,q.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{q.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(ne){}}},{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(q){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(Ee.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(Ee.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(q){this._mediaElement.volume=q}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(q){this._mediaElement.muted=q}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(q){this._mediaElement?this._mediaElement.currentTime=q:this._pendingSeekTime=q}},{key:"mediaInfo",get:function(){var q=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",ne={mimeType:q+this._mediaDataSource.type};return this._mediaElement&&(ne.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(ne.width=this._mediaElement.videoWidth,ne.height=this._mediaElement.videoHeight)),ne}},{key:"statisticsInfo",get:function(){var q={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return q;var ne=!0,Se=0,Ne=0;if(this._mediaElement.getVideoPlaybackQuality){var Me=this._mediaElement.getVideoPlaybackQuality();Se=Me.totalVideoFrames,Ne=Me.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Se=this._mediaElement.webkitDecodedFrameCount,Ne=this._mediaElement.webkitDroppedFrameCount):ne=!1;return ne&&(q.decodedFrames=Se,q.droppedFrames=Ne),q}}]),ae}(),ze=He;m.install();function Xe(ae,he){var q=ae;if(q==null||typeof q!="object")throw new t("MediaDataSource must be an javascript object!");if(!q.hasOwnProperty("type"))throw new t("MediaDataSource must has type field to indicate video file type!");switch(q.type){case"flv":return new De(q,he);default:return new ze(q,he)}}function Be(){return Q.supportMSEH264Playback()}function nt(){return Q.getFeatureList()}var At={};At.createPlayer=Xe,At.isSupported=Be,At.getFeatureList=nt,At.BaseLoader=w,At.LoaderStatus=u,At.LoaderErrors=p,At.Events=Ee,At.ErrorTypes=me,At.ErrorDetails=pe,At.FlvPlayer=De,At.NativePlayer=ze,At.LoggingControl=Pe,Object.defineProperty(At,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var It=_.a=At},GVMX:function(D,_,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"}});D.exports=f},GdRQ:function(D,_,e){"use strict";function g(T){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(x){return typeof x}:g=function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},g(T)}Object.defineProperty(_,"__esModule",{value:!0}),_.isMac=u,_.isWindows=p,_.isIOS=w,_.isSafari=b,_.isIE=E,_.isEdge=A,_.isFirefox=S,_.hasScrollbarGutter=_.supportsImageMetadata=_.supportsCursorURIs=_.dragThreshold=_.isTouchDevice=void 0;var f=m(e("Lo0S"));function y(){if(typeof WeakMap!="function")return null;var T=new WeakMap;return y=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 L=y();if(L&&L.has(T))return L.get(T);var x={},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var I in T)if(Object.prototype.hasOwnProperty.call(T,I)){var N=C?Object.getOwnPropertyDescriptor(T,I):null;N&&(N.get||N.set)?Object.defineProperty(x,I,N):x[I]=T[I]}return x.default=T,L&&L.set(T,x),x}var v="ontouchstart"in document.documentElement||document.ontouchstart!==void 0||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;_.isTouchDevice=v,window.addEventListener("touchstart",function T(){_.isTouchDevice=v=!0,window.removeEventListener("touchstart",T,!1)},!1);var h=10*(window.devicePixelRatio||1);_.dragThreshold=h;var c=!1;try{var a=document.createElement("canvas");a.style.cursor='url("data:image/x-icon;base64,AAACAAEACAgAAAIAAgA4AQAAFgAAACgAAAAIAAAAEAAAAAEAIAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAA==") 2 2, default',a.style.cursor.indexOf("url")===0?(f.Info("Data URI scheme cursor supported"),c=!0):f.Warn("Data URI scheme cursor not supported")}catch(T){f.Error("Data URI scheme cursor test exception: "+T)}var i=c;_.supportsCursorURIs=i;var r=!1;try{new ImageData(new Uint8ClampedArray(4),1,1),r=!0}catch(T){}var o=r;_.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;_.hasScrollbarGutter=s;function u(){return navigator&&!!/mac/i.exec(navigator.platform)}function p(){return navigator&&!!/win/i.exec(navigator.platform)}function w(){return navigator&&(!!/ipad/i.exec(navigator.platform)||!!/iphone/i.exec(navigator.platform)||!!/ipod/i.exec(navigator.platform))}function b(){return navigator&&navigator.userAgent.indexOf("Safari")!==-1&&navigator.userAgent.indexOf("Chrome")===-1}function E(){return navigator&&!!/trident/i.exec(navigator.userAgent)}function A(){return navigator&&!!/edge/i.exec(navigator.userAgent)}function S(){return navigator&&!!/firefox/i.exec(navigator.userAgent)}},GeKi:function(D,_,e){var g=e("bYtY"),f=e("6Ic6"),y=e("IwbS"),m=e("y+Vt"),v=e("sK/D"),h=v.createClipPath,c=["itemStyle"],a=["emphasis","itemStyle"],i=["color","color0","borderColor","borderColor0"],r=f.extend({type:"candlestick",render:function(b,E,A){this.group.removeClipPath(),this._updateDrawMode(b),this._isLargeDraw?this._renderLarge(b):this._renderNormal(b)},incrementalPrepareRender:function(b,E,A){this._clear(),this._updateDrawMode(b)},incrementalRender:function(b,E,A,S){this._isLargeDraw?this._incrementalRenderLarge(b,E):this._incrementalRenderNormal(b,E)},_updateDrawMode:function(b){var E=b.pipelineContext.large;(this._isLargeDraw==null||E^this._isLargeDraw)&&(this._isLargeDraw=E,this._clear())},_renderNormal:function(b){var E=b.getData(),A=this._data,S=this.group,T=E.getLayout("isSimpleBox"),L=b.get("clip",!0),x=b.coordinateSystem,C=x.getArea&&x.getArea();this._data||S.removeAll(),E.diff(A).add(function(I){if(E.hasValue(I)){var N,F=E.getItemLayout(I);if(L&&n(C,F))return;N=d(F,I,!0),y.initProps(N,{shape:{points:F.ends}},b,I),l(N,E,I,T),S.add(N),E.setItemGraphicEl(I,N)}}).update(function(I,N){var F=A.getItemGraphicEl(N);if(!E.hasValue(I)){S.remove(F);return}var k=E.getItemLayout(I);if(L&&n(C,k)){S.remove(F);return}F?y.updateProps(F,{shape:{points:k.ends}},b,I):F=d(k,I),l(F,E,I,T),S.add(F),E.setItemGraphicEl(I,F)}).remove(function(I){var N=A.getItemGraphicEl(I);N&&S.remove(N)}).execute(),this._data=E},_renderLarge:function(b){this._clear(),u(b,this.group);var E=b.get("clip",!0)?h(b.coordinateSystem,!1,b):null;E?this.group.setClipPath(E):this.group.removeClipPath()},_incrementalRenderNormal:function(b,E){for(var A=E.getData(),S=A.getLayout("isSimpleBox"),T;(T=b.next())!=null;){var L,x=A.getItemLayout(T);L=d(x,T),l(L,A,T,S),L.incremental=!0,this.group.add(L)}},_incrementalRenderLarge:function(b,E){u(E,this.group,!0)},remove:function(b){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:g.noop}),o=m.extend({type:"normalCandlestickBox",shape:{},buildPath:function(b,E){var A=E.points;this.__simpleBox?(b.moveTo(A[4][0],A[4][1]),b.lineTo(A[6][0],A[6][1])):(b.moveTo(A[0][0],A[0][1]),b.lineTo(A[1][0],A[1][1]),b.lineTo(A[2][0],A[2][1]),b.lineTo(A[3][0],A[3][1]),b.closePath(),b.moveTo(A[4][0],A[4][1]),b.lineTo(A[5][0],A[5][1]),b.moveTo(A[6][0],A[6][1]),b.lineTo(A[7][0],A[7][1]))}});function d(b,E,A){var S=b.ends;return new o({shape:{points:A?t(S,b):S},z2:100})}function n(b,E){for(var A=!0,S=0;S<E.ends.length;S++)if(b.contain(E.ends[S][0],E.ends[S][1])){A=!1;break}return A}function l(b,E,A,S){var T=E.getItemModel(A),L=T.getModel(c),x=E.getItemVisual(A,"color"),C=E.getItemVisual(A,"borderColor")||x,I=L.getItemStyle(i);b.useStyle(I),b.style.strokeNoScale=!0,b.style.fill=x,b.style.stroke=C,b.__simpleBox=S;var N=T.getModel(a).getItemStyle();y.setHoverStyle(b,N)}function t(b,E){return g.map(b,function(A){return A=A.slice(),A[1]=E.initBaseline,A})}var s=m.extend({type:"largeCandlestickBox",shape:{},buildPath:function(b,E){for(var A=E.points,S=0;S<A.length;)if(this.__sign===A[S++]){var T=A[S++];b.moveTo(T,A[S++]),b.lineTo(T,A[S++])}else S+=3}});function u(b,E,A){var S=b.getData(),T=S.getLayout("largePoints"),L=new s({shape:{points:T},__sign:1});E.add(L);var x=new s({shape:{points:T},__sign:-1});E.add(x),p(1,L,b,S),p(-1,x,b,S),A&&(L.incremental=!0,x.incremental=!0)}function p(b,E,A,S){var T=b>0?"P":"N",L=S.getVisual("borderColor"+T)||S.getVisual("color"+T),x=A.getModel(c).getItemStyle(i);E.useStyle(x),E.style.fill=null,E.style.stroke=L}var w=r;D.exports=w},Gev7:function(D,_,e){var g=e("bYtY"),f=e("K2GJ"),y=e("1bdT"),m=e("ni6a");function v(c){c=c||{},y.call(this,c);for(var a in c)c.hasOwnProperty(a)&&a!=="style"&&(this[a]=c[a]);this.style=new f(c.style,this),this._rect=null,this.__clipPaths=null}v.prototype={constructor:v,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(a){},afterBrush:function(a){},brush:function(a,i){},getBoundingRect:function(){},contain:function(a,i){return this.rectContain(a,i)},traverse:function(a,i){a.call(i,this)},rectContain:function(a,i){var r=this.transformCoordToLocal(a,i),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(a){return this.animate("style",a)},attrKV:function(a,i){a!=="style"?y.prototype.attrKV.call(this,a,i):this.style.set(i)},setStyle:function(a,i){return this.style.set(a,i),this.dirty(!1),this},useStyle:function(a){return this.style=new f(a,this),this.dirty(!1),this},calculateTextPosition:null},g.inherits(v,y),g.mixin(v,m);var h=v;D.exports=h},GrNh:function(D,_,e){var g=e("bYtY"),f=e("IwbS"),y=e("6Ic6");function m(r,o,d,n){var l=o.getData(),t=this.dataIndex,s=l.getName(t),u=o.get("selectedOffset");n.dispatchAction({type:"pieToggleSelect",from:r,name:s,seriesId:o.id}),l.each(function(p){v(l.getItemGraphicEl(p),l.getItemLayout(p),o.isSelected(l.getName(p)),u,d)})}function v(r,o,d,n,l){var t=(o.startAngle+o.endAngle)/2,s=Math.cos(t),u=Math.sin(t),p=d?n:0,w=[s*p,u*p];l?r.animate().when(200,{position:w}).start("bounceOut"):r.attr("position",w)}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 c=h.prototype;c.updateData=function(r,o,d){var n=this.childAt(0),l=this.childAt(1),t=this.childAt(2),s=r.hostModel,u=r.getItemModel(o),p=r.getItemLayout(o),w=g.extend({},p);w.label=null;var b=s.getShallow("animationTypeUpdate");if(d){n.setShape(w);var E=s.getShallow("animationType");E==="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 b==="expansion"?n.setShape(w):f.updateProps(n,{shape:w},s,o);var A=r.getItemVisual(o,"color");n.useStyle(g.defaults({lineJoin:"bevel",fill:A},u.getModel("itemStyle").getItemStyle())),n.hoverStyle=u.getModel("emphasis.itemStyle").getItemStyle();var S=u.getShallow("cursor");S&&n.attr("cursor",S),v(this,r.getItemLayout(o),s.isSelected(r.getName(o)),s.get("selectedOffset"),s.get("animation"));var T=!d&&b==="transition";this._updateLabel(r,o,T),this.highDownOnUpdate=s.get("silent")?null:function(L,x){var C=s.isAnimationEnabled()&&u.get("hoverAnimation");x==="emphasis"?(l.ignore=l.hoverIgnore,t.ignore=t.hoverIgnore,C&&(n.stopAnimation(!0),n.animateTo({shape:{r:p.r+s.get("hoverOffset")}},300,"elasticOut"))):(l.ignore=l.normalIgnore,t.ignore=t.normalIgnore,C&&(n.stopAnimation(!0),n.animateTo({shape:{r:p.r}},300,"elasticOut")))},f.setHoverStyle(this)},c._updateLabel=function(r,o,d){var n=this.childAt(1),l=this.childAt(2),t=r.hostModel,s=r.getItemModel(o),u=r.getItemLayout(o),p=u.label,w=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 b={points:p.linePoints||[[p.x,p.y],[p.x,p.y],[p.x,p.y]]},E={x:p.x,y:p.y};d?(f.updateProps(n,{shape:b},t,o),f.updateProps(l,{style:E},t,o)):(n.attr({shape:b}),l.attr({style:E})),l.attr({rotation:p.rotation,origin:[p.x,p.y],z2:10});var A=s.getModel("label"),S=s.getModel("emphasis.label"),T=s.getModel("labelLine"),L=s.getModel("emphasis.labelLine"),w=r.getItemVisual(o,"color");f.setLabelStyle(l.style,l.hoverStyle={},A,S,{labelFetcher:r.hostModel,labelDataIndex:o,defaultText:p.text,autoColor:w,useInsideStyle:!!p.inside},{textAlign:p.textAlign,textVerticalAlign:p.verticalAlign,opacity:r.getItemVisual(o,"opacity")}),l.ignore=l.normalIgnore=!A.get("show"),l.hoverIgnore=!S.get("show"),n.ignore=n.normalIgnore=!T.get("show"),n.hoverIgnore=!L.get("show"),n.setStyle({stroke:w,opacity:r.getItemVisual(o,"opacity")}),n.setStyle(T.getModel("lineStyle").getLineStyle()),n.hoverStyle=L.getModel("lineStyle").getLineStyle();var x=T.get("smooth");x&&x===!0&&(x=.4),n.setShape({smooth:x})},g.inherits(h,f.Group);var a=y.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,u=o.get("animation"),p=!t,w=r.get("animationType"),b=r.get("animationTypeUpdate"),E=g.curry(m,this.uid,r,u,d),A=r.get("selectedMode");if(l.diff(t).add(function(C){var I=new h(l,C);p&&w!=="scale"&&I.eachChild(function(N){N.stopAnimation(!0)}),A&&I.on("click",E),l.setItemGraphicEl(C,I),s.add(I)}).update(function(C,I){var N=t.getItemGraphicEl(I);!p&&b!=="transition"&&N.eachChild(function(F){F.stopAnimation(!0)}),N.updateData(l,C),N.off("click"),A&&N.on("click",E),s.add(N),l.setItemGraphicEl(C,N)}).remove(function(C){var I=t.getItemGraphicEl(C);s.remove(I)}).execute(),u&&l.count()>0&&(p?w!=="scale":b!=="transition")){for(var S=l.getItemLayout(0),T=1;isNaN(S.startAngle)&&T<l.count();++T)S=l.getItemLayout(T);var L=Math.max(d.getWidth(),d.getHeight())/2,x=g.bind(s.removeClipPath,s);s.setClipPath(this._createClipPath(S.cx,S.cy,L,S.startAngle,S.clockwise,x,r,p))}else s.removeClipPath();this._data=l},dispose:function(){},_createClipPath:function(r,o,d,n,l,t,s,u){var p=new f.Sector({shape:{cx:r,cy:o,r0:0,r:d,startAngle:n,endAngle:n,clockwise:l}}),w=u?f.initProps:f.updateProps;return w(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}}}),i=a;D.exports=i},Gytx:function(D,_){D.exports=function(g,f,y,m){var v=y?y.call(m,g,f):void 0;if(v!==void 0)return!!v;if(g===f)return!0;if(typeof g!="object"||!g||typeof f!="object"||!f)return!1;var h=Object.keys(g),c=Object.keys(f);if(h.length!==c.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(f),i=0;i<h.length;i++){var r=h[i];if(!a(r))return!1;var o=g[r],d=f[r];if(v=y?y.call(m,o,d,r):void 0,v===!1||v===void 0&&o!==d)return!1}return!0}},GzdX:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("q1tI"),m=e.n(y),v=e("rePB"),h=e("1OyB"),c=e("vuIU"),a=e("Ji7U"),i=e("md7G"),r=e("foSv"),o=e("m+aA"),d=e("TSYQ"),n=e.n(d),l=e("4IlW");function t(U){var j=U.pageXOffset,H="scrollLeft";if(typeof j!="number"){var W=U.document;j=W.documentElement[H],typeof j!="number"&&(j=W.body[H])}return j}function s(U){var j,H,W=U.ownerDocument,X=W.body,z=W&&W.documentElement,G=U.getBoundingClientRect();return j=G.left,H=G.top,j-=z.clientLeft||X.clientLeft||0,H-=z.clientTop||X.clientTop||0,{left:j,top:H}}function u(U){var j=s(U),H=U.ownerDocument,W=H.defaultView||H.parentWindow;return j.left+=t(W),j.left}function p(U){var j=w();return function(){var W=Object(r.a)(U),X;if(j){var z=Object(r.a)(this).constructor;X=Reflect.construct(W,arguments,z)}else X=W.apply(this,arguments);return Object(i.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(U){return!1}}var b=function(U){Object(a.a)(H,U);var j=p(H);function H(){var W;return Object(h.a)(this,H),W=j.apply(this,arguments),W.onHover=function(X){var z=W.props,G=z.onHover,Z=z.index;G(X,Z)},W.onClick=function(X){var z=W.props,G=z.onClick,Z=z.index;G(X,Z)},W.onKeyDown=function(X){var z=W.props,G=z.onClick,Z=z.index;X.keyCode===13&&G(X,Z)},W}return Object(c.a)(H,[{key:"getClassName",value:function(){var X=this.props,z=X.prefixCls,G=X.index,Z=X.value,ge=X.allowHalf,Q=X.focused,we=G+1,Ee=z;return Z===0&&G===0&&Q?Ee+=" ".concat(z,"-focused"):ge&&Z+.5>=we&&Z<we?(Ee+=" ".concat(z,"-half ").concat(z,"-active"),Q&&(Ee+=" ".concat(z,"-focused"))):(Ee+=we<=Z?" ".concat(z,"-full"):" ".concat(z,"-zero"),we===Z&&Q&&(Ee+=" ".concat(z,"-focused"))),Ee}},{key:"render",value:function(){var X=this.onHover,z=this.onClick,G=this.onKeyDown,Z=this.props,ge=Z.disabled,Q=Z.prefixCls,we=Z.character,Ee=Z.characterRender,Ae=Z.index,Pe=Z.count,Ge=Z.value,gt=typeof we=="function"?we(this.props):we,_e=m.a.createElement("li",{className:this.getClassName()},m.a.createElement("div",{onClick:ge?null:z,onKeyDown:ge?null:G,onMouseMove:ge?null:X,role:"radio","aria-checked":Ge>Ae?"true":"false","aria-posinset":Ae+1,"aria-setsize":Pe,tabIndex:ge?-1:0},m.a.createElement("div",{className:"".concat(Q,"-first")},gt),m.a.createElement("div",{className:"".concat(Q,"-second")},gt)));return Ee&&(_e=Ee(_e,this.props)),_e}}]),H}(m.a.Component);function E(U,j){var H=Object.keys(U);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(U);j&&(W=W.filter(function(X){return Object.getOwnPropertyDescriptor(U,X).enumerable})),H.push.apply(H,W)}return H}function A(U){for(var j=1;j<arguments.length;j++){var H=arguments[j]!=null?arguments[j]:{};j%2?E(Object(H),!0).forEach(function(W){Object(v.a)(U,W,H[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(H)):E(Object(H)).forEach(function(W){Object.defineProperty(U,W,Object.getOwnPropertyDescriptor(H,W))})}return U}function S(U){var j=T();return function(){var W=Object(r.a)(U),X;if(j){var z=Object(r.a)(this).constructor;X=Reflect.construct(W,arguments,z)}else X=W.apply(this,arguments);return Object(i.a)(this,X)}}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(U){return!1}}function L(){}var x=function(U){Object(a.a)(H,U);var j=S(H);function H(W){var X;Object(h.a)(this,H),X=j.call(this,W),X.onHover=function(G,Z){var ge=X.props.onHoverChange,Q=X.getStarValue(Z,G.pageX),we=X.state.cleanedValue;Q!==we&&X.setState({hoverValue:Q,cleanedValue:null}),ge(Q)},X.onMouseLeave=function(){var G=X.props.onHoverChange;X.setState({hoverValue:void 0,cleanedValue:null}),G(void 0)},X.onClick=function(G,Z){var ge=X.props.allowClear,Q=X.state.value,we=X.getStarValue(Z,G.pageX),Ee=!1;ge&&(Ee=we===Q),X.onMouseLeave(),X.changeValue(Ee?0:we),X.setState({cleanedValue:Ee?we:null})},X.onFocus=function(){var G=X.props.onFocus;X.setState({focused:!0}),G&&G()},X.onBlur=function(){var G=X.props.onBlur;X.setState({focused:!1}),G&&G()},X.onKeyDown=function(G){var Z=G.keyCode,ge=X.props,Q=ge.count,we=ge.allowHalf,Ee=ge.onKeyDown,Ae=ge.direction,Pe=Ae==="rtl",Ge=X.state.value;Z===l.a.RIGHT&&Ge<Q&&!Pe?(we?Ge+=.5:Ge+=1,X.changeValue(Ge),G.preventDefault()):Z===l.a.LEFT&&Ge>0&&!Pe||Z===l.a.RIGHT&&Ge>0&&Pe?(we?Ge-=.5:Ge-=1,X.changeValue(Ge),G.preventDefault()):Z===l.a.LEFT&&Ge<Q&&Pe&&(we?Ge+=.5:Ge+=1,X.changeValue(Ge),G.preventDefault()),Ee&&Ee(G)},X.saveRef=function(G){return function(Z){X.stars[G]=Z}},X.saveRate=function(G){X.rate=G};var z=W.value;return z===void 0&&(z=W.defaultValue),X.stars={},X.state={value:z,focused:!1,cleanedValue:null},X}return Object(c.a)(H,[{key:"componentDidMount",value:function(){var X=this.props,z=X.autoFocus,G=X.disabled;z&&!G&&this.focus()}},{key:"getStarDOM",value:function(X){return Object(o.a)(this.stars[X])}},{key:"getStarValue",value:function(X,z){var G=this.props,Z=G.allowHalf,ge=G.direction,Q=ge==="rtl",we=X+1;if(Z){var Ee=this.getStarDOM(X),Ae=u(Ee),Pe=Ee.clientWidth;(Q&&z-Ae>Pe/2||!Q&&z-Ae<Pe/2)&&(we-=.5)}return we}},{key:"focus",value:function(){var X=this.props.disabled;X||this.rate.focus()}},{key:"blur",value:function(){var X=this.props.disabled;X||this.rate.blur()}},{key:"changeValue",value:function(X){var z=this.props.onChange;"value"in this.props||this.setState({value:X}),z(X)}},{key:"render",value:function(){for(var X=this.props,z=X.count,G=X.allowHalf,Z=X.style,ge=X.prefixCls,Q=X.disabled,we=X.className,Ee=X.character,Ae=X.characterRender,Pe=X.tabIndex,Ge=X.direction,gt=this.state,_e=gt.value,Ce=gt.hoverValue,lt=gt.focused,ce=[],Y=Q?"".concat(ge,"-disabled"):"",V=0;V<z;V+=1)ce.push(m.a.createElement(b,{ref:this.saveRef(V),index:V,count:z,disabled:Q,prefixCls:"".concat(ge,"-star"),allowHalf:G,value:Ce===void 0?_e:Ce,onClick:this.onClick,onHover:this.onHover,key:V,character:Ee,characterRender:Ae,focused:lt}));var $=n()(ge,Y,we,Object(v.a)({},"".concat(ge,"-rtl"),Ge==="rtl"));return m.a.createElement("ul",{className:$,style:Z,onMouseLeave:Q?null:this.onMouseLeave,tabIndex:Q?-1:Pe,onFocus:Q?null:this.onFocus,onBlur:Q?null:this.onBlur,onKeyDown:Q?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},ce)}}],[{key:"getDerivedStateFromProps",value:function(X,z){return"value"in X&&X.value!==void 0?A(A({},z),{},{value:X.value}):z}}]),H}(m.a.Component);x.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:L,character:"\u2605",onHoverChange:L,tabIndex:0,direction:"ltr"};var C=x,I=C,N=e("Lerx"),F=e.n(N),k=e("3S7+"),B=e("H84U"),P=function(U,j){var H={};for(var W in U)Object.prototype.hasOwnProperty.call(U,W)&&j.indexOf(W)<0&&(H[W]=U[W]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var X=0,W=Object.getOwnPropertySymbols(U);X<W.length;X++)j.indexOf(W[X])<0&&Object.prototype.propertyIsEnumerable.call(U,W[X])&&(H[W[X]]=U[W[X]]);return H},K=y.forwardRef(function(U,j){var H=U.prefixCls,W=U.tooltips,X=P(U,["prefixCls","tooltips"]),z=function(Ee,Ae){var Pe=Ae.index;return W?y.createElement(k.a,{title:W[Pe]},Ee):Ee},G=y.useContext(B.b),Z=G.getPrefixCls,ge=G.direction,Q=Z("rate",H);return y.createElement(I,f()({ref:j,characterRender:z},X,{prefixCls:Q,direction:ge}))});K.displayName="Rate",K.defaultProps={character:y.createElement(F.a,null)};var R=_.a=K},H6uX:function(D,_){var e=Array.prototype.slice,g=function(h){this._$handlers={},this._$eventProcessor=h};g.prototype={constructor:g,one:function(h,c,a,i){return y(this,h,c,a,i,!0)},on:function(h,c,a,i){return y(this,h,c,a,i,!1)},isSilent:function(h){var c=this._$handlers;return!c[h]||!c[h].length},off:function(h,c){var a=this._$handlers;if(!h)return this._$handlers={},this;if(c){if(a[h]){for(var i=[],r=0,o=a[h].length;r<o;r++)a[h][r].h!==c&&i.push(a[h][r]);a[h]=i}a[h]&&a[h].length===0&&delete a[h]}else delete a[h];return this},trigger:function(h){var c=this._$handlers[h],a=this._$eventProcessor;if(c){var i=arguments,r=i.length;r>3&&(i=e.call(i,1));for(var o=c.length,d=0;d<o;){var n=c[d];if(a&&a.filter&&n.query!=null&&!a.filter(h,n.query)){d++;continue}switch(r){case 1:n.h.call(n.ctx);break;case 2:n.h.call(n.ctx,i[1]);break;case 3:n.h.call(n.ctx,i[1],i[2]);break;default:n.h.apply(n.ctx,i);break}n.one?(c.splice(d,1),o--):d++}}return a&&a.afterTrigger&&a.afterTrigger(h),this},triggerWithContext:function(h){var c=this._$handlers[h],a=this._$eventProcessor;if(c){var i=arguments,r=i.length;r>4&&(i=e.call(i,1,i.length-1));for(var o=i[i.length-1],d=c.length,n=0;n<d;){var l=c[n];if(a&&a.filter&&l.query!=null&&!a.filter(h,l.query)){n++;continue}switch(r){case 1:l.h.call(o);break;case 2:l.h.call(o,i[1]);break;case 3:l.h.call(o,i[1],i[2]);break;default:l.h.apply(o,i);break}l.one?(c.splice(n,1),d--):n++}}return a&&a.afterTrigger&&a.afterTrigger(h),this}};function f(v,h){var c=v._$eventProcessor;return h!=null&&c&&c.normalizeQuery&&(h=c.normalizeQuery(h)),h}function y(v,h,c,a,i,r){var o=v._$handlers;if(typeof c=="function"&&(i=a,a=c,c=null),!a||!h)return v;c=f(v,c),o[h]||(o[h]=[]);for(var d=0;d<o[h].length;d++)if(o[h][d].h===a)return v;var n={h:a,one:r,query:c,ctx:i||v,callAtLast:a.zrEventfulCallAtLast},l=o[h].length-1,t=o[h][l];return t&&t.callAtLast?o[h].splice(l,0,n):o[h].push(n),v}var m=g;D.exports=m},H7XF:function(D,_,e){"use strict";_.byteLength=a,_.toByteArray=r,_.fromByteArray=n;for(var g=[],f=[],y=typeof Uint8Array!="undefined"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v=0,h=m.length;v<h;++v)g[v]=m[v],f[m.charCodeAt(v)]=v;f["-".charCodeAt(0)]=62,f["_".charCodeAt(0)]=63;function c(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 u=s===t?0:4-s%4;return[s,u]}function a(l){var t=c(l),s=t[0],u=t[1];return(s+u)*3/4-u}function i(l,t,s){return(t+s)*3/4-s}function r(l){var t,s=c(l),u=s[0],p=s[1],w=new y(i(l,u,p)),b=0,E=p>0?u-4:u,A;for(A=0;A<E;A+=4)t=f[l.charCodeAt(A)]<<18|f[l.charCodeAt(A+1)]<<12|f[l.charCodeAt(A+2)]<<6|f[l.charCodeAt(A+3)],w[b++]=t>>16&255,w[b++]=t>>8&255,w[b++]=t&255;return p===2&&(t=f[l.charCodeAt(A)]<<2|f[l.charCodeAt(A+1)]>>4,w[b++]=t&255),p===1&&(t=f[l.charCodeAt(A)]<<10|f[l.charCodeAt(A+1)]<<4|f[l.charCodeAt(A+2)]>>2,w[b++]=t>>8&255,w[b++]=t&255),w}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 u,p=[],w=t;w<s;w+=3)u=(l[w]<<16&16711680)+(l[w+1]<<8&65280)+(l[w+2]&255),p.push(o(u));return p.join("")}function n(l){for(var t,s=l.length,u=s%3,p=[],w=16383,b=0,E=s-u;b<E;b+=w)p.push(d(l,b,b+w>E?E:b+w));return u===1?(t=l[s-1],p.push(g[t>>2]+g[t<<4&63]+"==")):u===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(D,_,e){var g=e("QkVE");function f(y,m){var v=g(this,y),h=v.size;return v.set(y,m),this.size+=v.size==h?0:1,this}D.exports=f},HBhm:function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},HDXh:function(D,_,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"),y=e("kVK+"),m=e("49sm");_.Buffer=a,_.SlowBuffer=p,_.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=g.TYPED_ARRAY_SUPPORT!==void 0?g.TYPED_ARRAY_SUPPORT:v(),_.kMaxLength=h();function v(){try{var ce=new Uint8Array(1);return ce.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},ce.foo()===42&&typeof ce.subarray=="function"&&ce.subarray(1,1).byteLength===0}catch(Y){return!1}}function h(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(ce,Y){if(h()<Y)throw new RangeError("Invalid typed array length");return a.TYPED_ARRAY_SUPPORT?(ce=new Uint8Array(Y),ce.__proto__=a.prototype):(ce===null&&(ce=new a(Y)),ce.length=Y),ce}function a(ce,Y,V){if(!a.TYPED_ARRAY_SUPPORT&&!(this instanceof a))return new a(ce,Y,V);if(typeof ce=="number"){if(typeof Y=="string")throw new Error("If encoding is specified then the first argument must be a string");return d(this,ce)}return i(this,ce,Y,V)}a.poolSize=8192,a._augment=function(ce){return ce.__proto__=a.prototype,ce};function i(ce,Y,V,$){if(typeof Y=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&Y instanceof ArrayBuffer?t(ce,Y,V,$):typeof Y=="string"?n(ce,Y,V):s(ce,Y)}a.from=function(ce,Y,V){return i(null,ce,Y,V)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0}));function r(ce){if(typeof ce!="number")throw new TypeError('"size" argument must be a number');if(ce<0)throw new RangeError('"size" argument must not be negative')}function o(ce,Y,V,$){return r(Y),Y<=0?c(ce,Y):V!==void 0?typeof $=="string"?c(ce,Y).fill(V,$):c(ce,Y).fill(V):c(ce,Y)}a.alloc=function(ce,Y,V){return o(null,ce,Y,V)};function d(ce,Y){if(r(Y),ce=c(ce,Y<0?0:u(Y)|0),!a.TYPED_ARRAY_SUPPORT)for(var V=0;V<Y;++V)ce[V]=0;return ce}a.allocUnsafe=function(ce){return d(null,ce)},a.allocUnsafeSlow=function(ce){return d(null,ce)};function n(ce,Y,V){if((typeof V!="string"||V==="")&&(V="utf8"),!a.isEncoding(V))throw new TypeError('"encoding" must be a valid string encoding');var $=w(Y,V)|0;ce=c(ce,$);var Te=ce.write(Y,V);return Te!==$&&(ce=ce.slice(0,Te)),ce}function l(ce,Y){var V=Y.length<0?0:u(Y.length)|0;ce=c(ce,V);for(var $=0;$<V;$+=1)ce[$]=Y[$]&255;return ce}function t(ce,Y,V,$){if(Y.byteLength,V<0||Y.byteLength<V)throw new RangeError("'offset' is out of bounds");if(Y.byteLength<V+($||0))throw new RangeError("'length' is out of bounds");return V===void 0&&$===void 0?Y=new Uint8Array(Y):$===void 0?Y=new Uint8Array(Y,V):Y=new Uint8Array(Y,V,$),a.TYPED_ARRAY_SUPPORT?(ce=Y,ce.__proto__=a.prototype):ce=l(ce,Y),ce}function s(ce,Y){if(a.isBuffer(Y)){var V=u(Y.length)|0;return ce=c(ce,V),ce.length===0||Y.copy(ce,0,0,V),ce}if(Y){if(typeof ArrayBuffer!="undefined"&&Y.buffer instanceof ArrayBuffer||"length"in Y)return typeof Y.length!="number"||lt(Y.length)?c(ce,0):l(ce,Y);if(Y.type==="Buffer"&&m(Y.data))return l(ce,Y.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function u(ce){if(ce>=h())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+h().toString(16)+" bytes");return ce|0}function p(ce){return+ce!=ce&&(ce=0),a.alloc(+ce)}a.isBuffer=function(Y){return!!(Y!=null&&Y._isBuffer)},a.compare=function(Y,V){if(!a.isBuffer(Y)||!a.isBuffer(V))throw new TypeError("Arguments must be Buffers");if(Y===V)return 0;for(var $=Y.length,Te=V.length,ye=0,Fe=Math.min($,Te);ye<Fe;++ye)if(Y[ye]!==V[ye]){$=Y[ye],Te=V[ye];break}return $<Te?-1:Te<$?1:0},a.isEncoding=function(Y){switch(String(Y).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}},a.concat=function(Y,V){if(!m(Y))throw new TypeError('"list" argument must be an Array of Buffers');if(Y.length===0)return a.alloc(0);var $;if(V===void 0)for(V=0,$=0;$<Y.length;++$)V+=Y[$].length;var Te=a.allocUnsafe(V),ye=0;for($=0;$<Y.length;++$){var Fe=Y[$];if(!a.isBuffer(Fe))throw new TypeError('"list" argument must be an Array of Buffers');Fe.copy(Te,ye),ye+=Fe.length}return Te};function w(ce,Y){if(a.isBuffer(ce))return ce.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(ce)||ce instanceof ArrayBuffer))return ce.byteLength;typeof ce!="string"&&(ce=""+ce);var V=ce.length;if(V===0)return 0;for(var $=!1;;)switch(Y){case"ascii":case"latin1":case"binary":return V;case"utf8":case"utf-8":case void 0:return Pe(ce).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return V*2;case"hex":return V>>>1;case"base64":return _e(ce).length;default:if($)return Pe(ce).length;Y=(""+Y).toLowerCase(),$=!0}}a.byteLength=w;function b(ce,Y,V){var $=!1;if((Y===void 0||Y<0)&&(Y=0),Y>this.length)return"";if((V===void 0||V>this.length)&&(V=this.length),V<=0)return"";if(V>>>=0,Y>>>=0,V<=Y)return"";for(ce||(ce="utf8");;)switch(ce){case"hex":return U(this,Y,V);case"utf8":case"utf-8":return k(this,Y,V);case"ascii":return K(this,Y,V);case"latin1":case"binary":return R(this,Y,V);case"base64":return F(this,Y,V);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,Y,V);default:if($)throw new TypeError("Unknown encoding: "+ce);ce=(ce+"").toLowerCase(),$=!0}}a.prototype._isBuffer=!0;function E(ce,Y,V){var $=ce[Y];ce[Y]=ce[V],ce[V]=$}a.prototype.swap16=function(){var Y=this.length;if(Y%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var V=0;V<Y;V+=2)E(this,V,V+1);return this},a.prototype.swap32=function(){var Y=this.length;if(Y%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var V=0;V<Y;V+=4)E(this,V,V+3),E(this,V+1,V+2);return this},a.prototype.swap64=function(){var Y=this.length;if(Y%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var V=0;V<Y;V+=8)E(this,V,V+7),E(this,V+1,V+6),E(this,V+2,V+5),E(this,V+3,V+4);return this},a.prototype.toString=function(){var Y=this.length|0;return Y===0?"":arguments.length===0?k(this,0,Y):b.apply(this,arguments)},a.prototype.equals=function(Y){if(!a.isBuffer(Y))throw new TypeError("Argument must be a Buffer");return this===Y?!0:a.compare(this,Y)===0},a.prototype.inspect=function(){var Y="",V=_.INSPECT_MAX_BYTES;return this.length>0&&(Y=this.toString("hex",0,V).match(/.{2}/g).join(" "),this.length>V&&(Y+=" ... ")),"<Buffer "+Y+">"},a.prototype.compare=function(Y,V,$,Te,ye){if(!a.isBuffer(Y))throw new TypeError("Argument must be a Buffer");if(V===void 0&&(V=0),$===void 0&&($=Y?Y.length:0),Te===void 0&&(Te=0),ye===void 0&&(ye=this.length),V<0||$>Y.length||Te<0||ye>this.length)throw new RangeError("out of range index");if(Te>=ye&&V>=$)return 0;if(Te>=ye)return-1;if(V>=$)return 1;if(V>>>=0,$>>>=0,Te>>>=0,ye>>>=0,this===Y)return 0;for(var Fe=ye-Te,Oe=$-V,se=Math.min(Fe,Oe),fe=this.slice(Te,ye),Le=Y.slice(V,$),Je=0;Je<se;++Je)if(fe[Je]!==Le[Je]){Fe=fe[Je],Oe=Le[Je];break}return Fe<Oe?-1:Oe<Fe?1:0};function A(ce,Y,V,$,Te){if(ce.length===0)return-1;if(typeof V=="string"?($=V,V=0):V>2147483647?V=2147483647:V<-2147483648&&(V=-2147483648),V=+V,isNaN(V)&&(V=Te?0:ce.length-1),V<0&&(V=ce.length+V),V>=ce.length){if(Te)return-1;V=ce.length-1}else if(V<0)if(Te)V=0;else return-1;if(typeof Y=="string"&&(Y=a.from(Y,$)),a.isBuffer(Y))return Y.length===0?-1:S(ce,Y,V,$,Te);if(typeof Y=="number")return Y=Y&255,a.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?Te?Uint8Array.prototype.indexOf.call(ce,Y,V):Uint8Array.prototype.lastIndexOf.call(ce,Y,V):S(ce,[Y],V,$,Te);throw new TypeError("val must be string, number or Buffer")}function S(ce,Y,V,$,Te){var ye=1,Fe=ce.length,Oe=Y.length;if($!==void 0&&($=String($).toLowerCase(),$==="ucs2"||$==="ucs-2"||$==="utf16le"||$==="utf-16le")){if(ce.length<2||Y.length<2)return-1;ye=2,Fe/=2,Oe/=2,V/=2}function se(Ct,Ue){return ye===1?Ct[Ue]:Ct.readUInt16BE(Ue*ye)}var fe;if(Te){var Le=-1;for(fe=V;fe<Fe;fe++)if(se(ce,fe)===se(Y,Le===-1?0:fe-Le)){if(Le===-1&&(Le=fe),fe-Le+1===Oe)return Le*ye}else Le!==-1&&(fe-=fe-Le),Le=-1}else for(V+Oe>Fe&&(V=Fe-Oe),fe=V;fe>=0;fe--){for(var Je=!0,mt=0;mt<Oe;mt++)if(se(ce,fe+mt)!==se(Y,mt)){Je=!1;break}if(Je)return fe}return-1}a.prototype.includes=function(Y,V,$){return this.indexOf(Y,V,$)!==-1},a.prototype.indexOf=function(Y,V,$){return A(this,Y,V,$,!0)},a.prototype.lastIndexOf=function(Y,V,$){return A(this,Y,V,$,!1)};function T(ce,Y,V,$){V=Number(V)||0;var Te=ce.length-V;$?($=Number($),$>Te&&($=Te)):$=Te;var ye=Y.length;if(ye%2!==0)throw new TypeError("Invalid hex string");$>ye/2&&($=ye/2);for(var Fe=0;Fe<$;++Fe){var Oe=parseInt(Y.substr(Fe*2,2),16);if(isNaN(Oe))return Fe;ce[V+Fe]=Oe}return Fe}function L(ce,Y,V,$){return Ce(Pe(Y,ce.length-V),ce,V,$)}function x(ce,Y,V,$){return Ce(Ge(Y),ce,V,$)}function C(ce,Y,V,$){return x(ce,Y,V,$)}function I(ce,Y,V,$){return Ce(_e(Y),ce,V,$)}function N(ce,Y,V,$){return Ce(gt(Y,ce.length-V),ce,V,$)}a.prototype.write=function(Y,V,$,Te){if(V===void 0)Te="utf8",$=this.length,V=0;else if($===void 0&&typeof V=="string")Te=V,$=this.length,V=0;else if(isFinite(V))V=V|0,isFinite($)?($=$|0,Te===void 0&&(Te="utf8")):(Te=$,$=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var ye=this.length-V;if(($===void 0||$>ye)&&($=ye),Y.length>0&&($<0||V<0)||V>this.length)throw new RangeError("Attempt to write outside buffer bounds");Te||(Te="utf8");for(var Fe=!1;;)switch(Te){case"hex":return T(this,Y,V,$);case"utf8":case"utf-8":return L(this,Y,V,$);case"ascii":return x(this,Y,V,$);case"latin1":case"binary":return C(this,Y,V,$);case"base64":return I(this,Y,V,$);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,Y,V,$);default:if(Fe)throw new TypeError("Unknown encoding: "+Te);Te=(""+Te).toLowerCase(),Fe=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function F(ce,Y,V){return Y===0&&V===ce.length?f.fromByteArray(ce):f.fromByteArray(ce.slice(Y,V))}function k(ce,Y,V){V=Math.min(ce.length,V);for(var $=[],Te=Y;Te<V;){var ye=ce[Te],Fe=null,Oe=ye>239?4:ye>223?3:ye>191?2:1;if(Te+Oe<=V){var se,fe,Le,Je;switch(Oe){case 1:ye<128&&(Fe=ye);break;case 2:se=ce[Te+1],(se&192)===128&&(Je=(ye&31)<<6|se&63,Je>127&&(Fe=Je));break;case 3:se=ce[Te+1],fe=ce[Te+2],(se&192)===128&&(fe&192)===128&&(Je=(ye&15)<<12|(se&63)<<6|fe&63,Je>2047&&(Je<55296||Je>57343)&&(Fe=Je));break;case 4:se=ce[Te+1],fe=ce[Te+2],Le=ce[Te+3],(se&192)===128&&(fe&192)===128&&(Le&192)===128&&(Je=(ye&15)<<18|(se&63)<<12|(fe&63)<<6|Le&63,Je>65535&&Je<1114112&&(Fe=Je))}}Fe===null?(Fe=65533,Oe=1):Fe>65535&&(Fe-=65536,$.push(Fe>>>10&1023|55296),Fe=56320|Fe&1023),$.push(Fe),Te+=Oe}return P($)}var B=4096;function P(ce){var Y=ce.length;if(Y<=B)return String.fromCharCode.apply(String,ce);for(var V="",$=0;$<Y;)V+=String.fromCharCode.apply(String,ce.slice($,$+=B));return V}function K(ce,Y,V){var $="";V=Math.min(ce.length,V);for(var Te=Y;Te<V;++Te)$+=String.fromCharCode(ce[Te]&127);return $}function R(ce,Y,V){var $="";V=Math.min(ce.length,V);for(var Te=Y;Te<V;++Te)$+=String.fromCharCode(ce[Te]);return $}function U(ce,Y,V){var $=ce.length;(!Y||Y<0)&&(Y=0),(!V||V<0||V>$)&&(V=$);for(var Te="",ye=Y;ye<V;++ye)Te+=Ae(ce[ye]);return Te}function j(ce,Y,V){for(var $=ce.slice(Y,V),Te="",ye=0;ye<$.length;ye+=2)Te+=String.fromCharCode($[ye]+$[ye+1]*256);return Te}a.prototype.slice=function(Y,V){var $=this.length;Y=~~Y,V=V===void 0?$:~~V,Y<0?(Y+=$,Y<0&&(Y=0)):Y>$&&(Y=$),V<0?(V+=$,V<0&&(V=0)):V>$&&(V=$),V<Y&&(V=Y);var Te;if(a.TYPED_ARRAY_SUPPORT)Te=this.subarray(Y,V),Te.__proto__=a.prototype;else{var ye=V-Y;Te=new a(ye,void 0);for(var Fe=0;Fe<ye;++Fe)Te[Fe]=this[Fe+Y]}return Te};function H(ce,Y,V){if(ce%1!==0||ce<0)throw new RangeError("offset is not uint");if(ce+Y>V)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUIntLE=function(Y,V,$){Y=Y|0,V=V|0,$||H(Y,V,this.length);for(var Te=this[Y],ye=1,Fe=0;++Fe<V&&(ye*=256);)Te+=this[Y+Fe]*ye;return Te},a.prototype.readUIntBE=function(Y,V,$){Y=Y|0,V=V|0,$||H(Y,V,this.length);for(var Te=this[Y+--V],ye=1;V>0&&(ye*=256);)Te+=this[Y+--V]*ye;return Te},a.prototype.readUInt8=function(Y,V){return V||H(Y,1,this.length),this[Y]},a.prototype.readUInt16LE=function(Y,V){return V||H(Y,2,this.length),this[Y]|this[Y+1]<<8},a.prototype.readUInt16BE=function(Y,V){return V||H(Y,2,this.length),this[Y]<<8|this[Y+1]},a.prototype.readUInt32LE=function(Y,V){return V||H(Y,4,this.length),(this[Y]|this[Y+1]<<8|this[Y+2]<<16)+this[Y+3]*16777216},a.prototype.readUInt32BE=function(Y,V){return V||H(Y,4,this.length),this[Y]*16777216+(this[Y+1]<<16|this[Y+2]<<8|this[Y+3])},a.prototype.readIntLE=function(Y,V,$){Y=Y|0,V=V|0,$||H(Y,V,this.length);for(var Te=this[Y],ye=1,Fe=0;++Fe<V&&(ye*=256);)Te+=this[Y+Fe]*ye;return ye*=128,Te>=ye&&(Te-=Math.pow(2,8*V)),Te},a.prototype.readIntBE=function(Y,V,$){Y=Y|0,V=V|0,$||H(Y,V,this.length);for(var Te=V,ye=1,Fe=this[Y+--Te];Te>0&&(ye*=256);)Fe+=this[Y+--Te]*ye;return ye*=128,Fe>=ye&&(Fe-=Math.pow(2,8*V)),Fe},a.prototype.readInt8=function(Y,V){return V||H(Y,1,this.length),this[Y]&128?(255-this[Y]+1)*-1:this[Y]},a.prototype.readInt16LE=function(Y,V){V||H(Y,2,this.length);var $=this[Y]|this[Y+1]<<8;return $&32768?$|4294901760:$},a.prototype.readInt16BE=function(Y,V){V||H(Y,2,this.length);var $=this[Y+1]|this[Y]<<8;return $&32768?$|4294901760:$},a.prototype.readInt32LE=function(Y,V){return V||H(Y,4,this.length),this[Y]|this[Y+1]<<8|this[Y+2]<<16|this[Y+3]<<24},a.prototype.readInt32BE=function(Y,V){return V||H(Y,4,this.length),this[Y]<<24|this[Y+1]<<16|this[Y+2]<<8|this[Y+3]},a.prototype.readFloatLE=function(Y,V){return V||H(Y,4,this.length),y.read(this,Y,!0,23,4)},a.prototype.readFloatBE=function(Y,V){return V||H(Y,4,this.length),y.read(this,Y,!1,23,4)},a.prototype.readDoubleLE=function(Y,V){return V||H(Y,8,this.length),y.read(this,Y,!0,52,8)},a.prototype.readDoubleBE=function(Y,V){return V||H(Y,8,this.length),y.read(this,Y,!1,52,8)};function W(ce,Y,V,$,Te,ye){if(!a.isBuffer(ce))throw new TypeError('"buffer" argument must be a Buffer instance');if(Y>Te||Y<ye)throw new RangeError('"value" argument is out of bounds');if(V+$>ce.length)throw new RangeError("Index out of range")}a.prototype.writeUIntLE=function(Y,V,$,Te){if(Y=+Y,V=V|0,$=$|0,!Te){var ye=Math.pow(2,8*$)-1;W(this,Y,V,$,ye,0)}var Fe=1,Oe=0;for(this[V]=Y&255;++Oe<$&&(Fe*=256);)this[V+Oe]=Y/Fe&255;return V+$},a.prototype.writeUIntBE=function(Y,V,$,Te){if(Y=+Y,V=V|0,$=$|0,!Te){var ye=Math.pow(2,8*$)-1;W(this,Y,V,$,ye,0)}var Fe=$-1,Oe=1;for(this[V+Fe]=Y&255;--Fe>=0&&(Oe*=256);)this[V+Fe]=Y/Oe&255;return V+$},a.prototype.writeUInt8=function(Y,V,$){return Y=+Y,V=V|0,$||W(this,Y,V,1,255,0),a.TYPED_ARRAY_SUPPORT||(Y=Math.floor(Y)),this[V]=Y&255,V+1};function X(ce,Y,V,$){Y<0&&(Y=65535+Y+1);for(var Te=0,ye=Math.min(ce.length-V,2);Te<ye;++Te)ce[V+Te]=(Y&255<<8*($?Te:1-Te))>>>($?Te:1-Te)*8}a.prototype.writeUInt16LE=function(Y,V,$){return Y=+Y,V=V|0,$||W(this,Y,V,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[V]=Y&255,this[V+1]=Y>>>8):X(this,Y,V,!0),V+2},a.prototype.writeUInt16BE=function(Y,V,$){return Y=+Y,V=V|0,$||W(this,Y,V,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[V]=Y>>>8,this[V+1]=Y&255):X(this,Y,V,!1),V+2};function z(ce,Y,V,$){Y<0&&(Y=4294967295+Y+1);for(var Te=0,ye=Math.min(ce.length-V,4);Te<ye;++Te)ce[V+Te]=Y>>>($?Te:3-Te)*8&255}a.prototype.writeUInt32LE=function(Y,V,$){return Y=+Y,V=V|0,$||W(this,Y,V,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[V+3]=Y>>>24,this[V+2]=Y>>>16,this[V+1]=Y>>>8,this[V]=Y&255):z(this,Y,V,!0),V+4},a.prototype.writeUInt32BE=function(Y,V,$){return Y=+Y,V=V|0,$||W(this,Y,V,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[V]=Y>>>24,this[V+1]=Y>>>16,this[V+2]=Y>>>8,this[V+3]=Y&255):z(this,Y,V,!1),V+4},a.prototype.writeIntLE=function(Y,V,$,Te){if(Y=+Y,V=V|0,!Te){var ye=Math.pow(2,8*$-1);W(this,Y,V,$,ye-1,-ye)}var Fe=0,Oe=1,se=0;for(this[V]=Y&255;++Fe<$&&(Oe*=256);)Y<0&&se===0&&this[V+Fe-1]!==0&&(se=1),this[V+Fe]=(Y/Oe>>0)-se&255;return V+$},a.prototype.writeIntBE=function(Y,V,$,Te){if(Y=+Y,V=V|0,!Te){var ye=Math.pow(2,8*$-1);W(this,Y,V,$,ye-1,-ye)}var Fe=$-1,Oe=1,se=0;for(this[V+Fe]=Y&255;--Fe>=0&&(Oe*=256);)Y<0&&se===0&&this[V+Fe+1]!==0&&(se=1),this[V+Fe]=(Y/Oe>>0)-se&255;return V+$},a.prototype.writeInt8=function(Y,V,$){return Y=+Y,V=V|0,$||W(this,Y,V,1,127,-128),a.TYPED_ARRAY_SUPPORT||(Y=Math.floor(Y)),Y<0&&(Y=255+Y+1),this[V]=Y&255,V+1},a.prototype.writeInt16LE=function(Y,V,$){return Y=+Y,V=V|0,$||W(this,Y,V,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[V]=Y&255,this[V+1]=Y>>>8):X(this,Y,V,!0),V+2},a.prototype.writeInt16BE=function(Y,V,$){return Y=+Y,V=V|0,$||W(this,Y,V,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[V]=Y>>>8,this[V+1]=Y&255):X(this,Y,V,!1),V+2},a.prototype.writeInt32LE=function(Y,V,$){return Y=+Y,V=V|0,$||W(this,Y,V,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[V]=Y&255,this[V+1]=Y>>>8,this[V+2]=Y>>>16,this[V+3]=Y>>>24):z(this,Y,V,!0),V+4},a.prototype.writeInt32BE=function(Y,V,$){return Y=+Y,V=V|0,$||W(this,Y,V,4,2147483647,-2147483648),Y<0&&(Y=4294967295+Y+1),a.TYPED_ARRAY_SUPPORT?(this[V]=Y>>>24,this[V+1]=Y>>>16,this[V+2]=Y>>>8,this[V+3]=Y&255):z(this,Y,V,!1),V+4};function G(ce,Y,V,$,Te,ye){if(V+$>ce.length)throw new RangeError("Index out of range");if(V<0)throw new RangeError("Index out of range")}function Z(ce,Y,V,$,Te){return Te||G(ce,Y,V,4,34028234663852886e22,-34028234663852886e22),y.write(ce,Y,V,$,23,4),V+4}a.prototype.writeFloatLE=function(Y,V,$){return Z(this,Y,V,!0,$)},a.prototype.writeFloatBE=function(Y,V,$){return Z(this,Y,V,!1,$)};function ge(ce,Y,V,$,Te){return Te||G(ce,Y,V,8,17976931348623157e292,-17976931348623157e292),y.write(ce,Y,V,$,52,8),V+8}a.prototype.writeDoubleLE=function(Y,V,$){return ge(this,Y,V,!0,$)},a.prototype.writeDoubleBE=function(Y,V,$){return ge(this,Y,V,!1,$)},a.prototype.copy=function(Y,V,$,Te){if($||($=0),!Te&&Te!==0&&(Te=this.length),V>=Y.length&&(V=Y.length),V||(V=0),Te>0&&Te<$&&(Te=$),Te===$)return 0;if(Y.length===0||this.length===0)return 0;if(V<0)throw new RangeError("targetStart out of bounds");if($<0||$>=this.length)throw new RangeError("sourceStart out of bounds");if(Te<0)throw new RangeError("sourceEnd out of bounds");Te>this.length&&(Te=this.length),Y.length-V<Te-$&&(Te=Y.length-V+$);var ye=Te-$,Fe;if(this===Y&&$<V&&V<Te)for(Fe=ye-1;Fe>=0;--Fe)Y[Fe+V]=this[Fe+$];else if(ye<1e3||!a.TYPED_ARRAY_SUPPORT)for(Fe=0;Fe<ye;++Fe)Y[Fe+V]=this[Fe+$];else Uint8Array.prototype.set.call(Y,this.subarray($,$+ye),V);return ye},a.prototype.fill=function(Y,V,$,Te){if(typeof Y=="string"){if(typeof V=="string"?(Te=V,V=0,$=this.length):typeof $=="string"&&(Te=$,$=this.length),Y.length===1){var ye=Y.charCodeAt(0);ye<256&&(Y=ye)}if(Te!==void 0&&typeof Te!="string")throw new TypeError("encoding must be a string");if(typeof Te=="string"&&!a.isEncoding(Te))throw new TypeError("Unknown encoding: "+Te)}else typeof Y=="number"&&(Y=Y&255);if(V<0||this.length<V||this.length<$)throw new RangeError("Out of range index");if($<=V)return this;V=V>>>0,$=$===void 0?this.length:$>>>0,Y||(Y=0);var Fe;if(typeof Y=="number")for(Fe=V;Fe<$;++Fe)this[Fe]=Y;else{var Oe=a.isBuffer(Y)?Y:Pe(new a(Y,Te).toString()),se=Oe.length;for(Fe=0;Fe<$-V;++Fe)this[Fe+V]=Oe[Fe%se]}return this};var Q=/[^+\/0-9A-Za-z-_]/g;function we(ce){if(ce=Ee(ce).replace(Q,""),ce.length<2)return"";for(;ce.length%4!==0;)ce=ce+"=";return ce}function Ee(ce){return ce.trim?ce.trim():ce.replace(/^\s+|\s+$/g,"")}function Ae(ce){return ce<16?"0"+ce.toString(16):ce.toString(16)}function Pe(ce,Y){Y=Y||Infinity;for(var V,$=ce.length,Te=null,ye=[],Fe=0;Fe<$;++Fe){if(V=ce.charCodeAt(Fe),V>55295&&V<57344){if(!Te){if(V>56319){(Y-=3)>-1&&ye.push(239,191,189);continue}else if(Fe+1===$){(Y-=3)>-1&&ye.push(239,191,189);continue}Te=V;continue}if(V<56320){(Y-=3)>-1&&ye.push(239,191,189),Te=V;continue}V=(Te-55296<<10|V-56320)+65536}else Te&&((Y-=3)>-1&&ye.push(239,191,189));if(Te=null,V<128){if((Y-=1)<0)break;ye.push(V)}else if(V<2048){if((Y-=2)<0)break;ye.push(V>>6|192,V&63|128)}else if(V<65536){if((Y-=3)<0)break;ye.push(V>>12|224,V>>6&63|128,V&63|128)}else if(V<1114112){if((Y-=4)<0)break;ye.push(V>>18|240,V>>12&63|128,V>>6&63|128,V&63|128)}else throw new Error("Invalid code point")}return ye}function Ge(ce){for(var Y=[],V=0;V<ce.length;++V)Y.push(ce.charCodeAt(V)&255);return Y}function gt(ce,Y){for(var V,$,Te,ye=[],Fe=0;Fe<ce.length&&!((Y-=2)<0);++Fe)V=ce.charCodeAt(Fe),$=V>>8,Te=V%256,ye.push(Te),ye.push($);return ye}function _e(ce){return f.toByteArray(we(ce))}function Ce(ce,Y,V,$){for(var Te=0;Te<$&&!(Te+V>=Y.length||Te>=ce.length);++Te)Y[Te+V]=ce[Te];return Te}function lt(ce){return ce!==ce}}).call(this,e("yLpj"))},HDyB:function(D,_,e){var g=e("nmnc"),f=e("JHRd"),y=e("ljhN"),m=e("or5M"),v=e("7fqy"),h=e("rEGp"),c=1,a=2,i="[object Boolean]",r="[object Date]",o="[object Error]",d="[object Map]",n="[object Number]",l="[object RegExp]",t="[object Set]",s="[object String]",u="[object Symbol]",p="[object ArrayBuffer]",w="[object DataView]",b=g?g.prototype:void 0,E=b?b.valueOf:void 0;function A(S,T,L,x,C,I,N){switch(L){case w:if(S.byteLength!=T.byteLength||S.byteOffset!=T.byteOffset)return!1;S=S.buffer,T=T.buffer;case p:return!(S.byteLength!=T.byteLength||!I(new f(S),new f(T)));case i:case r:case n:return y(+S,+T);case o:return S.name==T.name&&S.message==T.message;case l:case s:return S==T+"";case d:var F=v;case t:var k=x&c;if(F||(F=h),S.size!=T.size&&!k)return!1;var B=N.get(S);if(B)return B==T;x|=a,N.set(S,T);var P=m(F(S),F(T),x,C,I,N);return N.delete(S),P;case u:if(E)return E.call(S)==E.call(T)}return!1}D.exports=A},"HF/U":function(D,_,e){var g=e("QBsz");function f(m){var v=m.coordinateSystem;if(v&&v.type!=="view")return;var h=m.getGraph();h.eachNode(function(c){var a=c.getModel();c.setLayout([+a.get("x"),+a.get("y")])}),y(h)}function y(m){m.eachEdge(function(v){var h=v.getModel().get("lineStyle.curveness")||0,c=g.clone(v.node1.getLayout()),a=g.clone(v.node2.getLayout()),i=[c,a];+h&&i.push([(c[0]+a[0])/2-(c[1]-a[1])*h,(c[1]+a[1])/2-(a[0]-c[0])*h]),v.setLayout(i)})}_.simpleLayout=f,_.simpleLayoutEdge=y},"HM/N":function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=e("/SeX"),v=e("OELB"),h=v.parsePercent,c=e("aX7z"),a=c.createScaleByModel,i=c.niceScaleExtent,r=e("IDmD"),o=e("7hqr"),d=o.getStackedDimension;e("ePAk");function n(u,p,w){var b=p.get("center"),E=w.getWidth(),A=w.getHeight();u.cx=h(b[0],E),u.cy=h(b[1],A);var S=u.getRadiusAxis(),T=Math.min(E,A)/2,L=p.get("radius");L==null?L=[0,"100%"]:y.isArray(L)||(L=[0,L]),L=[h(L[0],T),h(L[1],T)],S.inverse?S.setExtent(L[1],L[0]):S.setExtent(L[0],L[1])}function l(u,p){var w=this,b=w.getAngleAxis(),E=w.getRadiusAxis();if(b.scale.setExtent(Infinity,-Infinity),E.scale.setExtent(Infinity,-Infinity),u.eachSeries(function(T){if(T.coordinateSystem===w){var L=T.getData();y.each(L.mapDimension("radius",!0),function(x){E.scale.unionExtentFromData(L,d(L,x))}),y.each(L.mapDimension("angle",!0),function(x){b.scale.unionExtentFromData(L,d(L,x))})}}),i(b.scale,b.model),i(E.scale,E.model),b.type==="category"&&!b.onBand){var A=b.getExtent(),S=360/b.scale.count();b.inverse?A[1]+=S:A[1]-=S,b.setExtent(A[0],A[1])}}function t(u,p){if(u.type=p.get("type"),u.scale=a(p),u.onBand=p.get("boundaryGap")&&u.type==="category",u.inverse=p.get("inverse"),p.mainType==="angleAxis"){u.inverse^=p.get("clockwise");var w=p.get("startAngle");u.setExtent(w,w+(u.inverse?-360:360))}p.axis=u,u.model=p}var s={dimensions:m.prototype.dimensions,create:function(u,p){var w=[];return u.eachComponent("polar",function(b,E){var A=new m(E);A.update=l;var S=A.getRadiusAxis(),T=A.getAngleAxis(),L=b.findAxisModel("radiusAxis"),x=b.findAxisModel("angleAxis");t(S,L),t(T,x),n(A,b,p),w.push(A),b.coordinateSystem=A,A.model=b}),u.eachSeries(function(b){if(b.get("coordinateSystem")==="polar"){var E=u.queryComponents({mainType:"polar",index:b.get("polarIndex"),id:b.get("polarId")})[0];b.coordinateSystem=E.coordinateSystem}}),w}};r.register("polar",s)},HOxn:function(D,_,e){var g=e("Cwc5"),f=e("Kz5y"),y=g(f,"Promise");D.exports=y},HQEm:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("Sj0X"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},HjIi:function(D,_,e){var g=e("bYtY"),f=e("OELB"),y=f.parsePercent,m=e("7hqr"),v=m.isDimensionStacked;function h(o){return o.get("stack")||"__ec_stack_"+o.seriesIndex}function c(o,d){return d.dim+o.model.componentIndex}function a(o,d,n){var l={},t=i(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 u=s.getData(),p=s.coordinateSystem,w=p.getBaseAxis(),b=c(p,w),E=h(s),A=t[b][E],S=A.offset,T=A.width,L=p.getOtherAxis(w),x=s.coordinateSystem.cx,C=s.coordinateSystem.cy,I=s.get("barMinHeight")||0,N=s.get("barMinAngle")||0;l[E]=l[E]||[];for(var F=u.mapDimension(L.dim),k=u.mapDimension(w.dim),B=v(u,F),P=w.dim!=="radius"||!s.get("roundCap",!0),K=L.getExtent()[0],R=0,U=u.count();R<U;R++){var j=u.get(F,R),H=u.get(k,R),W=j>=0?"p":"n",X=K;B&&(l[E][H]||(l[E][H]={p:K,n:K}),X=l[E][H][W]);var z,G,Z,ge;if(L.dim==="radius"){var Q=L.dataToRadius(j)-K,we=w.dataToAngle(H);Math.abs(Q)<I&&(Q=(Q<0?-1:1)*I),z=X,G=X+Q,Z=we-S,ge=Z-T,B&&(l[E][H][W]=G)}else{var Ee=L.dataToAngle(j,P)-K,Ae=w.dataToRadius(H);Math.abs(Ee)<N&&(Ee=(Ee<0?-1:1)*N),z=Ae+S,G=z+T,Z=X,ge=X+Ee,B&&(l[E][H][W]=ge)}u.setItemLayout(R,{cx:x,cy:C,r0:z,r:G,startAngle:-Z*Math.PI/180,endAngle:-ge*Math.PI/180})}},this)}function i(o,d){var n={};g.each(o,function(t,s){var u=t.getData(),p=t.coordinateSystem,w=p.getBaseAxis(),b=c(p,w),E=w.getExtent(),A=w.type==="category"?w.getBandWidth():Math.abs(E[1]-E[0])/u.count(),S=n[b]||{bandWidth:A,remainedWidth:A,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},T=S.stacks;n[b]=S;var L=h(t);T[L]||S.autoWidthCount++,T[L]=T[L]||{width:0,maxWidth:0};var x=y(t.get("barWidth"),A),C=y(t.get("barMaxWidth"),A),I=t.get("barGap"),N=t.get("barCategoryGap");x&&!T[L].width&&(x=Math.min(S.remainedWidth,x),T[L].width=x,S.remainedWidth-=x),C&&(T[L].maxWidth=C),I!=null&&(S.gap=I),N!=null&&(S.categoryGap=N)});var l={};return g.each(n,function(t,s){l[s]={};var u=t.stacks,p=t.bandWidth,w=y(t.categoryGap,p),b=y(t.gap,1),E=t.remainedWidth,A=t.autoWidthCount,S=(E-w)/(A+(A-1)*b);S=Math.max(S,0),g.each(u,function(C,I){var N=C.maxWidth;N&&N<S&&(N=Math.min(N,E),C.width&&(N=Math.min(N,C.width)),E-=N,C.width=N,A--)}),S=(E-w)/(A+(A-1)*b),S=Math.max(S,0);var T=0,L;g.each(u,function(C,I){C.width||(C.width=S),L=C,T+=C.width*(1+b)}),L&&(T-=L.width*b);var x=-T/2;g.each(u,function(C,I){l[s][I]=l[s][I]||{offset:x,width:C.width},x+=C.width*(1+b)})}),l}var r=a;D.exports=r},HjOm:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.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;_.default=f},Hvzi:function(D,_){function e(g){var f=this.has(g)&&delete this.__data__[g];return this.size-=f?1:0,f}D.exports=e},Hw7h:function(D,_,e){var g=e("y+Vt"),f=g.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(y,m){var v=Math.cos,h=Math.sin,c=m.r,a=m.width,i=m.angle,r=m.x-v(i)*a*(a>=c/3?1:2),o=m.y-h(i)*a*(a>=c/3?1:2);i=m.angle-Math.PI/2,y.moveTo(r,o),y.lineTo(m.x+v(i)*a,m.y+h(i)*a),y.lineTo(m.x+v(m.angle)*c,m.y+h(m.angle)*c),y.lineTo(m.x-v(i)*a,m.y-h(i)*a),y.lineTo(r,o);return}});D.exports=f},Hxpc:function(D,_,e){var g=e("bYtY"),f=e("4NO4"),y=e("bLfw"),m=e("Qxkt"),v=e("cCMj"),h=e("7uqq"),c=y.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(i){y.prototype.init.apply(this,arguments),f.defaultEmphasis(i,"label",["show"])},optionUpdated:function(){var i=this.option,r=this;i.regions=h.getFilledRegions(i.regions,i.map,i.nameMap),this._optionModelMap=g.reduce(i.regions||[],function(o,d){return d.name&&o.set(d.name,new m(d,r)),o},g.createHashMap()),this.updateSelectedMap(i.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(i){return this._optionModelMap.get(i)||new m(null,this,this.ecModel)},getFormattedLabel:function(i,r){var o=this.getRegionModel(i),d=o.get("label"+(r==="normal"?".":r+".")+"formatter"),n={name:i};if(typeof d=="function")return n.status=r,d(n);if(typeof d=="string")return d.replace("{a}",i!=null?i:"")},setZoom:function(i){this.option.zoom=i},setCenter:function(i){this.option.center=i}});g.mixin(c,v);var a=c;D.exports=a},"I+77":function(D,_,e){var g=e("ProS");e("h54F"),e("lwQL"),e("10cm");var f=e("Z1r0"),y=e("f5Yq"),m=e("KUOm"),v=e("3m61"),h=e("01d+"),c=e("rdor"),a=e("WGYa"),i=e("ewwo");g.registerProcessor(f),g.registerVisual(y("graph","circle",null)),g.registerVisual(m),g.registerVisual(v),g.registerLayout(h),g.registerLayout(g.PRIORITY.VISUAL.POST_CHART_LAYOUT,c),g.registerLayout(a),g.registerCoordinateSystem("graphView",{create:i})},"I+Bx":function(D,_,e){var g=e("bYtY"),f=e("eIcI"),y=e("ieMj"),m=e("OELB"),v=e("aX7z"),h=v.getScaleExtent,c=v.niceScaleExtent,a=e("IDmD"),i=e("jCoz");function r(d,n,l){this._model=d,this.dimensions=[],this._indicatorAxes=g.map(d.getIndicatorModels(),function(t,s){var u="indicator_"+s,p=new f(u,t.get("axisType")==="log"?new i:new y);return p.name=t.get("name"),p.model=t,t.axis=p,this.dimensions.push(u),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),u=this.cy-d*Math.sin(t);return[s,u]},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),u=Infinity,p,w=-1,b=0;b<this._indicatorAxes.length;b++){var E=this._indicatorAxes[b],A=Math.abs(s-E.angle);A<u&&(p=E,w=b,u=A)}return[w,+(p&&p.coordToData(t))]},r.prototype.resize=function(d,n){var l=d.get("center"),t=n.getWidth(),s=n.getHeight(),u=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],u),this.r=m.parsePercent(p[1],u),g.each(this._indicatorAxes,function(w,b){w.setExtent(this.r0,this.r);var E=this.startAngle+b*Math.PI*2/this._indicatorAxes.length;E=Math.atan2(Math.sin(E),Math.cos(E)),w.angle=E},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,w){if(p.get("coordinateSystem")!=="radar"||d.getComponent("radar",p.get("radarIndex"))!==t)return;var b=p.getData();g.each(l,function(E){E.scale.unionExtentFromData(b,b.mapDimension(E.dim))})},this);var s=t.get("splitNumber");function u(p){var w=Math.pow(10,Math.floor(Math.log(p)/Math.LN10)),b=p/w;return b===2?b=5:b*=2,b*w}g.each(l,function(p,w){var b=h(p.scale,p.model).extent;c(p.scale,p.model);var E=p.model,A=p.scale,S=E.getMin(),T=E.getMax(),L=A.getInterval();if(S!=null&&T!=null)A.setExtent(+S,+T),A.setInterval((T-S)/s);else if(S!=null){var x;do x=S+L*s,A.setExtent(+S,x),A.setInterval(L),L=u(L);while(x<b[1]&&isFinite(x)&&isFinite(b[1]))}else if(T!=null){var C;do C=T-L*s,A.setExtent(C,+T),A.setInterval(L),L=u(L);while(C>b[0]&&isFinite(C)&&isFinite(b[0]))}else{var I=A.getTicks().length-1;I>s&&(L=u(L));var x=Math.ceil(b[1]/L)*L,C=m.round(x-L*s);A.setExtent(C,x),A.setInterval(L)}})},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},a.register("radar",r);var o=r;D.exports=o},"I3/A":function(D,_,e){var g=e("bYtY"),f=e("YXkt"),y=e("c2i1"),m=e("Mdki"),v=e("sdST"),h=e("IDmD"),c=e("MwEJ");function a(i,r,o,d,n){for(var l=new y(d),t=0;t<i.length;t++)l.addNode(g.retrieve(i[t].id,i[t].name,t),t);for(var s=[],u=[],p=0,t=0;t<r.length;t++){var w=r[t],b=w.source,E=w.target;l.addEdge(b,E,p)&&(u.push(w),s.push(g.retrieve(w.id,b+" > "+E)),p++)}var A=o.get("coordinateSystem"),S;if(A==="cartesian2d"||A==="polar")S=c(i,o);else{var T=h.get(A),L=T&&T.type!=="view"?T.dimensions||[]:[];g.indexOf(L,"value")<0&&L.concat(["value"]);var x=v(i,{coordDimensions:L});S=new f(x,o),S.initData(i)}var C=new f(["value"],o);return C.initData(u,s),n&&n(S,C),m({mainData:S,struct:l,structAttr:"graph",datas:{node:S,edge:C},datasAttr:{node:"data",edge:"edgeData"}}),l.update(),l}D.exports=a},"I9Y+":function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("4xFK")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="DoubleRightOutlined";var c=y.forwardRef(h);_.default=c},ICMv:function(D,_,e){var g=e("bYtY"),f={getMin:function(y){var m=this.option,v=!y&&m.rangeStart!=null?m.rangeStart:m.min;return this.axis&&v!=null&&v!=="dataMin"&&typeof v!="function"&&!g.eqNaN(v)&&(v=this.axis.scale.parse(v)),v},getMax:function(y){var m=this.option,v=!y&&m.rangeEnd!=null?m.rangeEnd:m.max;return this.axis&&v!=null&&v!=="dataMax"&&typeof v!="function"&&!g.eqNaN(v)&&(v=this.axis.scale.parse(v)),v},getNeedCrossZero:function(){var y=this.option;return y.rangeStart!=null||y.rangeEnd!=null?!1:!y.scale},getCoordSysModel:g.noop,setRange:function(y,m){this.option.rangeStart=y,this.option.rangeEnd=m},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};D.exports=f},IDmD:function(D,_,e){var g=e("bYtY"),f={};function y(){this._coordinateSystems=[]}y.prototype={constructor:y,create:function(v,h){var c=[];g.each(f,function(a,i){var r=a.create(v,h);c=c.concat(r||[])}),this._coordinateSystems=c},update:function(v,h){g.each(this._coordinateSystems,function(c){c.update&&c.update(v,h)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},y.register=function(v,h){f[v]=h},y.get=function(v){return f[v]};var m=y;D.exports=m},IMiH:function(D,_,e){var g=e("Sj9i"),f=e("QBsz"),y=e("4mN7"),m=e("mFDi"),v=e("LPTA"),h=v.devicePixelRatio,c={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},a=[],i=[],r=[],o=[],d=Math.min,n=Math.max,l=Math.cos,t=Math.sin,s=Math.sqrt,u=Math.abs,p=typeof Float32Array!="undefined",w=function(A){this._saveData=!(A||!1),this._saveData&&(this.data=[]),this._ctx=null};w.prototype={constructor:w,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(A,S,T){T=T||0,this._ux=u(T/h/A)||0,this._uy=u(T/h/S)||0},getContext:function(){return this._ctx},beginPath:function(A){return this._ctx=A,A&&A.beginPath(),A&&(this.dpr=A.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(A,S){return this.addData(c.M,A,S),this._ctx&&this._ctx.moveTo(A,S),this._x0=A,this._y0=S,this._xi=A,this._yi=S,this},lineTo:function(A,S){var T=u(A-this._xi)>this._ux||u(S-this._yi)>this._uy||this._len<5;return this.addData(c.L,A,S),this._ctx&&T&&(this._needsDash()?this._dashedLineTo(A,S):this._ctx.lineTo(A,S)),T&&(this._xi=A,this._yi=S),this},bezierCurveTo:function(A,S,T,L,x,C){return this.addData(c.C,A,S,T,L,x,C),this._ctx&&(this._needsDash()?this._dashedBezierTo(A,S,T,L,x,C):this._ctx.bezierCurveTo(A,S,T,L,x,C)),this._xi=x,this._yi=C,this},quadraticCurveTo:function(A,S,T,L){return this.addData(c.Q,A,S,T,L),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(A,S,T,L):this._ctx.quadraticCurveTo(A,S,T,L)),this._xi=T,this._yi=L,this},arc:function(A,S,T,L,x,C){return this.addData(c.A,A,S,T,T,L,x-L,0,C?0:1),this._ctx&&this._ctx.arc(A,S,T,L,x,C),this._xi=l(x)*T+A,this._yi=t(x)*T+S,this},arcTo:function(A,S,T,L,x){return this._ctx&&this._ctx.arcTo(A,S,T,L,x),this},rect:function(A,S,T,L){return this._ctx&&this._ctx.rect(A,S,T,L),this.addData(c.R,A,S,T,L),this},closePath:function(){this.addData(c.Z);var A=this._ctx,S=this._x0,T=this._y0;return A&&(this._needsDash()&&this._dashedLineTo(S,T),A.closePath()),this._xi=S,this._yi=T,this},fill:function(A){A&&A.fill(),this.toStatic()},stroke:function(A){A&&A.stroke(),this.toStatic()},setLineDash:function(A){if(A instanceof Array){this._lineDash=A,this._dashIdx=0;for(var S=0,T=0;T<A.length;T++)S+=A[T];this._dashSum=S}return this},setLineDashOffset:function(A){return this._dashOffset=A,this},len:function(){return this._len},setData:function(A){var S=A.length;!(this.data&&this.data.length===S)&&p&&(this.data=new Float32Array(S));for(var T=0;T<S;T++)this.data[T]=A[T];this._len=S},appendPath:function(A){A instanceof Array||(A=[A]);for(var S=A.length,T=0,L=this._len,x=0;x<S;x++)T+=A[x].len();p&&this.data instanceof Float32Array&&(this.data=new Float32Array(L+T));for(var x=0;x<S;x++)for(var C=A[x].data,I=0;I<C.length;I++)this.data[L++]=C[I];this._len=L},addData:function(A){if(!this._saveData)return;var S=this.data;this._len+arguments.length>S.length&&(this._expandData(),S=this.data);for(var T=0;T<arguments.length;T++)S[this._len++]=arguments[T];this._prevCmd=A},_expandData:function(){if(!(this.data instanceof Array)){for(var A=[],S=0;S<this._len;S++)A[S]=this.data[S];this.data=A}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(A,S){var T=this._dashSum,L=this._dashOffset,x=this._lineDash,C=this._ctx,I=this._xi,N=this._yi,F=A-I,k=S-N,B=s(F*F+k*k),P=I,K=N,R,U=x.length,j;for(F/=B,k/=B,L<0&&(L=T+L),L%=T,P-=L*F,K-=L*k;F>0&&P<=A||F<0&&P>=A||F===0&&(k>0&&K<=S||k<0&&K>=S);){if(j=this._dashIdx,R=x[j],P+=F*R,K+=k*R,this._dashIdx=(j+1)%U,F>0&&P<I||F<0&&P>I||k>0&&K<N||k<0&&K>N)continue;C[j%2?"moveTo":"lineTo"](F>=0?d(P,A):n(P,A),k>=0?d(K,S):n(K,S))}F=P-A,k=K-S,this._dashOffset=-s(F*F+k*k)},_dashedBezierTo:function(A,S,T,L,x,C){var I=this._dashSum,N=this._dashOffset,F=this._lineDash,k=this._ctx,B=this._xi,P=this._yi,K,R,U,j=g.cubicAt,H=0,W=this._dashIdx,X=F.length,z,G,Z=0;for(N<0&&(N=I+N),N%=I,K=0;K<1;K+=.1)R=j(B,A,T,x,K+.1)-j(B,A,T,x,K),U=j(P,S,L,C,K+.1)-j(P,S,L,C,K),H+=s(R*R+U*U);for(;W<X&&!(Z+=F[W],Z>N);W++);for(K=(Z-N)/H;K<=1;)z=j(B,A,T,x,K),G=j(P,S,L,C,K),W%2?k.moveTo(z,G):k.lineTo(z,G),K+=F[W]/H,W=(W+1)%X;W%2!==0&&k.lineTo(x,C),R=x-z,U=C-G,this._dashOffset=-s(R*R+U*U)},_dashedQuadraticTo:function(A,S,T,L){var x=T,C=L;T=(T+2*A)/3,L=(L+2*S)/3,A=(this._xi+2*A)/3,S=(this._yi+2*S)/3,this._dashedBezierTo(A,S,T,L,x,C)},toStatic:function(){var A=this.data;A instanceof Array&&(A.length=this._len,p&&(this.data=new Float32Array(A)))},getBoundingRect:function(){a[0]=a[1]=r[0]=r[1]=Number.MAX_VALUE,i[0]=i[1]=o[0]=o[1]=-Number.MAX_VALUE;for(var A=this.data,S=0,T=0,L=0,x=0,C=0;C<A.length;){var I=A[C++];C===1&&(S=A[C],T=A[C+1],L=S,x=T);switch(I){case c.M:L=A[C++],x=A[C++],S=L,T=x,r[0]=L,r[1]=x,o[0]=L,o[1]=x;break;case c.L:y.fromLine(S,T,A[C],A[C+1],r,o),S=A[C++],T=A[C++];break;case c.C:y.fromCubic(S,T,A[C++],A[C++],A[C++],A[C++],A[C],A[C+1],r,o),S=A[C++],T=A[C++];break;case c.Q:y.fromQuadratic(S,T,A[C++],A[C++],A[C],A[C+1],r,o),S=A[C++],T=A[C++];break;case c.A:var N=A[C++],F=A[C++],k=A[C++],B=A[C++],P=A[C++],K=A[C++]+P;C+=1;var R=1-A[C++];C===1&&(L=l(P)*k+N,x=t(P)*B+F),y.fromArc(N,F,k,B,P,K,R,r,o),S=l(K)*k+N,T=t(K)*B+F;break;case c.R:L=S=A[C++],x=T=A[C++];var U=A[C++],j=A[C++];y.fromLine(L,x,L+U,x+j,r,o);break;case c.Z:S=L,T=x;break}f.min(a,a,r),f.max(i,i,o)}return C===0&&(a[0]=a[1]=i[0]=i[1]=0),new m(a[0],a[1],i[0]-a[0],i[1]-a[1])},rebuildPath:function(A){for(var S=this.data,T,L,x,C,I,N,F=this._ux,k=this._uy,B=this._len,P=0;P<B;){var K=S[P++];P===1&&(x=S[P],C=S[P+1],T=x,L=C);switch(K){case c.M:T=x=S[P++],L=C=S[P++],A.moveTo(x,C);break;case c.L:I=S[P++],N=S[P++],(u(I-x)>F||u(N-C)>k||P===B-1)&&(A.lineTo(I,N),x=I,C=N);break;case c.C:A.bezierCurveTo(S[P++],S[P++],S[P++],S[P++],S[P++],S[P++]),x=S[P-2],C=S[P-1];break;case c.Q:A.quadraticCurveTo(S[P++],S[P++],S[P++],S[P++]),x=S[P-2],C=S[P-1];break;case c.A:var R=S[P++],U=S[P++],j=S[P++],H=S[P++],W=S[P++],X=S[P++],z=S[P++],G=S[P++],Z=j>H?j:H,ge=j>H?1:j/H,Q=j>H?H/j:1,we=Math.abs(j-H)>.001,Ee=W+X;we?(A.translate(R,U),A.rotate(z),A.scale(ge,Q),A.arc(0,0,Z,W,Ee,1-G),A.scale(1/ge,1/Q),A.rotate(-z),A.translate(-R,-U)):A.arc(R,U,Z,W,Ee,1-G),P===1&&(T=l(W)*j+R,L=t(W)*H+U),x=l(Ee)*j+R,C=t(Ee)*H+U;break;case c.R:T=x=S[P],L=C=S[P+1],A.rect(S[P++],S[P++],S[P++],S[P++]);break;case c.Z:A.closePath(),x=T,C=L}}}},w.CMD=c;var b=w;D.exports=b},IUWy:function(D,_){var e={};function g(y,m){e[y]=m}function f(y){return e[y]}_.register=g,_.get=f},IWNH:function(D,_,e){var g=e("T4UG"),f=e("Bsck"),y=e("7aKB"),m=y.encodeHTML,v=e("Qxkt"),h=g.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(c){var a={name:c.name,children:c.data},i=c.leaves||{},r=new v(i,this,this.ecModel),o=f.createTree(a,this,{},d);function d(s){s.wrapMethod("getItemModel",function(u,p){var w=o.getNodeByDataIndex(p);return(!w.children.length||!w.isExpand)&&(u.parentModel=r),u})}var n=0;o.eachNode("preorder",function(s){s.depth>n&&(n=s.depth)});var l=c.expandAndCollapse,t=l&&c.initialTreeDepth>=0?c.initialTreeDepth:n;return o.root.eachNode("preorder",function(s){var u=s.hostTree.data.getRawDataItem(s.dataIndex);s.isExpand=u&&u.collapsed!=null?!u.collapsed:s.depth<=t}),o.data},getOrient:function(){var c=this.get("orient");return c==="horizontal"?c="LR":c==="vertical"&&(c="TB"),c},setZoom:function(c){this.option.zoom=c},setCenter:function(c){this.option.center=c},formatTooltip:function(c){for(var a=this.getData().tree,i=a.root.children[0],r=a.getNodeByDataIndex(c),o=r.getValue(),d=r.name;r&&r!==i;)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}});D.exports=h},IWp7:function(D,_,e){var g=e("bYtY"),f=e("OELB"),y=e("7aKB"),m=e("lE7J"),v=e("ieMj"),h=v.prototype,c=Math.ceil,a=Math.floor,i=1e3,r=i*60,o=r*60,d=o*24,n=function(u,p,w,b){for(;w<b;){var E=w+b>>>1;u[E][1]<p?w=E+1:b=E}return w},l=v.extend({type:"time",getLabel:function(u){var p=this._stepLvl,w=new Date(u);return y.formatTime(p[0],w,this.getSetting("useUTC"))},niceExtent:function(u){var p=this._extent;if(p[0]===p[1]&&(p[0]-=d,p[1]+=d),p[1]===-Infinity&&p[0]===Infinity){var w=new Date;p[1]=+new Date(w.getFullYear(),w.getMonth(),w.getDate()),p[0]=p[1]-d}this.niceTicks(u.splitNumber,u.minInterval,u.maxInterval);var b=this._interval;u.fixMin||(p[0]=f.round(a(p[0]/b)*b)),u.fixMax||(p[1]=f.round(c(p[1]/b)*b))},niceTicks:function(u,p,w){u=u||10;var b=this._extent,E=b[1]-b[0],A=E/u;p!=null&&A<p&&(A=p),w!=null&&A>w&&(A=w);var S=t.length,T=n(t,A,0,S),L=t[Math.min(T,S-1)],x=L[1];if(L[0]==="year"){var C=E/x,I=f.nice(C/u,!0);x*=I}var N=this.getSetting("useUTC")?0:new Date(+b[0]||+b[1]).getTimezoneOffset()*60*1e3,F=[Math.round(c((b[0]-N)/x)*x+N),Math.round(a((b[1]-N)/x)*x+N)];m.fixExtent(F,b),this._stepLvl=L,this._interval=x,this._niceExtent=F},parse:function(u){return+f.parseDate(u)}});g.each(["contain","normalize"],function(u){l.prototype[u]=function(p){return h[u].call(this,this.parse(p))}});var t=[["hh:mm:ss",i],["hh:mm:ss",i*5],["hh:mm:ss",i*10],["hh:mm:ss",i*15],["hh:mm:ss",i*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(u){return new l({useUTC:u.ecModel.get("useUTC")})};var s=l;D.exports=s},IXuL:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("MwEJ"),m=e("T4UG"),v=m.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(h,c){return y(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}});D.exports=v},IXyC:function(D,_,e){var g=e("bYtY"),f=e("bLfw");e("3zoK");var y=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 v=this.option;m&&g.merge(v,m,!0),this._initDimensions()},contains:function(m,v){var h=m.get("parallelIndex");return h!=null&&v.getComponent("parallel",h)===this},setAxisExpand:function(m){g.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(v){m.hasOwnProperty(v)&&(this.option[v]=m[v])},this)},_initDimensions:function(){var m=this.dimensions=[],v=this.parallelAxisIndex=[],h=g.filter(this.dependentModels.parallelAxis,function(c){return(c.get("parallelIndex")||0)===this.componentIndex},this);g.each(h,function(c){m.push("dim"+c.get("dim")),v.push(c.componentIndex)})}});D.exports=y},ItGF:function(D,_){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(y){var m={},v={},h=y.match(/Firefox\/([\d.]+)/),c=y.match(/MSIE\s([\d.]+)/)||y.match(/Trident\/.+?rv:(([\d.]+))/),a=y.match(/Edge\/([\d.]+)/),i=/micromessenger/i.test(y);return h&&(v.firefox=!0,v.version=h[1]),c&&(v.ie=!0,v.version=c[1]),a&&(v.edge=!0,v.version=a[1]),i&&(v.weChat=!0),{browser:v,os:m,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:typeof SVGRect!="undefined",touchEventsSupported:"ontouchstart"in window&&!v.ie&&!v.edge,pointerEventsSupported:"onpointerdown"in window&&(v.edge||v.ie&&v.version>=11),domSupported:typeof document!="undefined"}}D.exports=g},ItS6:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=e("eP3c"),f=y(e("1q3G"));function y(a){return a&&a.__esModule?a:{default:a}}function m(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}function v(a,i){for(var r=0;r<i.length;r++){var o=i[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(a,o.key,o)}}function h(a,i,r){return i&&v(a.prototype,i),r&&v(a,r),a}var c=function(){function a(){m(this,a),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(a,[{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)}}]),a}();_.default=c},Itpr:function(D,_,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],u,p;u=s.pop();)if(p=u.children,u.isExpand&&p.length)for(var w=p.length,b=w-1;b>=0;b--){var E=p[b];E.hierNode={defaultAncestor:null,ancestor:E,prelim:0,modifier:0,change:0,shift:0,i:b,thread:null},s.push(E)}}function y(t,s){var u=t.isExpand?t.children:[],p=t.parentNode.children,w=t.hierNode.i?p[t.hierNode.i-1]:null;if(u.length){a(t);var b=(u[0].hierNode.prelim+u[u.length-1].hierNode.prelim)/2;w?(t.hierNode.prelim=w.hierNode.prelim+s(t,w),t.hierNode.modifier=t.hierNode.prelim-b):t.hierNode.prelim=b}else w&&(t.hierNode.prelim=w.hierNode.prelim+s(t,w));t.parentNode.hierNode.defaultAncestor=i(t,w,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 v(t){return arguments.length?t:l}function h(t,s){var u={};return t-=Math.PI/2,u.x=s*Math.cos(t),u.y=s*Math.sin(t),u}function c(t,s){return g.getLayoutRect(t.getBoxLayoutParams(),{width:s.getWidth(),height:s.getHeight()})}function a(t){for(var s=t.children,u=s.length,p=0,w=0;--u>=0;){var b=s[u];b.hierNode.prelim+=p,b.hierNode.modifier+=p,w+=b.hierNode.change,p+=b.hierNode.shift+w}}function i(t,s,u,p){if(s){for(var w=t,b=t,E=b.parentNode.children[0],A=s,S=w.hierNode.modifier,T=b.hierNode.modifier,L=E.hierNode.modifier,x=A.hierNode.modifier;A=r(A),b=o(b),A&&b;){w=r(w),E=o(E),w.hierNode.ancestor=t;var C=A.hierNode.prelim+x-b.hierNode.prelim-T+p(A,b);C>0&&(n(d(A,t,u),t,C),T+=C,S+=C),x+=A.hierNode.modifier,T+=b.hierNode.modifier,S+=w.hierNode.modifier,L+=E.hierNode.modifier}A&&!r(w)&&(w.hierNode.thread=A,w.hierNode.modifier+=x-S),b&&!o(E)&&(E.hierNode.thread=b,E.hierNode.modifier+=T-L,u=t)}return u}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,u){return t.hierNode.ancestor.parentNode===s.parentNode?t.hierNode.ancestor:u}function n(t,s,u){var p=u/(s.hierNode.i-t.hierNode.i);s.hierNode.change-=p,s.hierNode.shift+=u,s.hierNode.modifier+=u,s.hierNode.prelim+=u,t.hierNode.change+=p}function l(t,s){return t.parentNode===s.parentNode?1:2}_.init=f,_.firstWalk=y,_.secondWalk=m,_.separation=v,_.radialCoordinate=h,_.getViewRect=c},IwbS:function(D,_,e){var g=e("bYtY"),f=e("NC18"),y=e("Qe9p"),m=e("Fofx"),v=e("QBsz"),h=e("y+Vt"),c=e("DN4a"),a=e("Dagg");_.Image=a;var i=e("4fz+");_.Group=i;var r=e("dqUG");_.Text=r;var o=e("2fw6");_.Circle=o;var d=e("SqI9");_.Sector=d;var n=e("RXMa");_.Ring=n;var l=e("h7HQ");_.Polygon=l;var t=e("1Jh7");_.Polyline=t;var s=e("x6Kt");_.Rect=s;var u=e("yxFR");_.Line=u;var p=e("rA99");_.BezierCurve=p;var w=e("jTL6");_.Arc=w;var b=e("1MYJ");_.CompoundPath=b;var E=e("SKnc");_.LinearGradient=E;var A=e("3e3G");_.RadialGradient=A;var S=e("mFDi");_.BoundingRect=S;var T=e("OS9S");_.IncrementalDisplayable=T;var L=e("nPnh"),x=Math.max,C=Math.min,I={},N=1,F={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},k="emphasis",B="normal",P=1,K={},R={};function U(pe){return h.extend(pe)}function j(pe,ue){return f.extendFromString(pe,ue)}function H(pe,ue){R[pe]=ue}function W(pe){if(R.hasOwnProperty(pe))return R[pe]}function X(pe,ue,De,He){var ze=f.createFromString(pe,ue);return De&&(He==="center"&&(De=G(De,ze.getBoundingRect())),ge(ze,De)),ze}function z(pe,ue,De){var He=new a({style:{image:pe,x:ue.x,y:ue.y,width:ue.width,height:ue.height},onload:function(ze){if(De==="center"){var Xe={width:ze.width,height:ze.height};He.setStyle(G(ue,Xe))}}});return He}function G(pe,ue){var De=ue.width/ue.height,He=pe.height*De,ze;He<=pe.width?ze=pe.height:(He=pe.width,ze=He/De);var Xe=pe.x+pe.width/2,Be=pe.y+pe.height/2;return{x:Xe-He/2,y:Be-ze/2,width:He,height:ze}}var Z=f.mergePath;function ge(pe,ue){if(!pe.applyTransform)return;var De=pe.getBoundingRect(),He=De.calculateTransform(ue);pe.applyTransform(He)}function Q(pe){return L.subPixelOptimizeLine(pe.shape,pe.shape,pe.style),pe}function we(pe){return L.subPixelOptimizeRect(pe.shape,pe.shape,pe.style),pe}var Ee=L.subPixelOptimize;function Ae(pe){return pe!=null&&pe!=="none"}var Pe=g.createHashMap(),Ge=0;function gt(pe){if(typeof pe!="string")return pe;var ue=Pe.get(pe);return ue||(ue=y.lift(pe,-.1),Ge<1e4&&(Pe.set(pe,ue),Ge++)),ue}function _e(pe){if(!pe.__hoverStlDirty)return;pe.__hoverStlDirty=!1;var ue=pe.__hoverStl;if(!ue){pe.__cachedNormalStl=pe.__cachedNormalZ2=null;return}var De=pe.__cachedNormalStl={};pe.__cachedNormalZ2=pe.z2;var He=pe.style;for(var ze in ue)ue[ze]!=null&&(De[ze]=He[ze]);De.fill=He.fill,De.stroke=He.stroke}function Ce(pe){var ue=pe.__hoverStl;if(!ue||pe.__highlighted)return;var De=pe.__zr,He=pe.useHoverLayer&&De&&De.painter.type==="canvas";if(pe.__highlighted=He?"layer":"plain",pe.isGroup||!De&&pe.useHoverLayer)return;var ze=pe,Xe=pe.style;He&&(ze=De.addHover(pe),Xe=ze.style),st(Xe),He||_e(ze),Xe.extendFrom(ue),lt(Xe,ue,"fill"),lt(Xe,ue,"stroke"),rt(Xe),He||(pe.dirty(!1),pe.z2+=N)}function lt(pe,ue,De){!Ae(ue[De])&&Ae(pe[De])&&(pe[De]=gt(pe[De]))}function ce(pe){var ue=pe.__highlighted;if(!ue)return;if(pe.__highlighted=!1,pe.isGroup)return;if(ue==="layer")pe.__zr&&pe.__zr.removeHover(pe);else{var De=pe.style,He=pe.__cachedNormalStl;He&&(st(De),pe.setStyle(He),rt(De));var ze=pe.__cachedNormalZ2;ze!=null&&pe.z2-ze===N&&(pe.z2=ze)}}function Y(pe,ue,De){var He=B,ze=B,Xe;pe.__highlighted&&(He=k,Xe=!0),ue(pe,De),pe.__highlighted&&(ze=k,Xe=!0),pe.isGroup&&pe.traverse(function(Be){!Be.isGroup&&ue(Be,De)}),Xe&&pe.__highDownOnUpdate&&pe.__highDownOnUpdate(He,ze)}function V(pe,ue){ue=pe.__hoverStl=ue!==!1&&(pe.hoverStyle||ue||{}),pe.__hoverStlDirty=!0,pe.__highlighted&&(pe.__cachedNormalStl=null,ce(pe),Ce(pe))}function $(pe){!Oe(this,pe)&&!this.__highByOuter&&Y(this,Ce)}function Te(pe){!Oe(this,pe)&&!this.__highByOuter&&Y(this,ce)}function ye(pe){this.__highByOuter|=1<<(pe||0),Y(this,Ce)}function Fe(pe){!(this.__highByOuter&=~(1<<(pe||0)))&&Y(this,ce)}function Oe(pe,ue){return pe.__highDownSilentOnTouch&&ue.zrByTouch}function se(pe,ue){fe(pe,!0),Y(pe,V,ue)}function fe(pe,ue){var De=ue===!1;if(pe.__highDownSilentOnTouch=pe.highDownSilentOnTouch,pe.__highDownOnUpdate=pe.highDownOnUpdate,!De||pe.__highDownDispatcher){var He=De?"off":"on";pe[He]("mouseover",$)[He]("mouseout",Te),pe[He]("emphasis",ye)[He]("normal",Fe),pe.__highByOuter=pe.__highByOuter||0,pe.__highDownDispatcher=!De}}function Le(pe){return!!(pe&&pe.__highDownDispatcher)}function Je(pe){var ue=K[pe];return ue==null&&P<=32&&(ue=K[pe]=P++),ue}function mt(pe,ue,De,He,ze,Xe,Be){ze=ze||I;var nt=ze.labelFetcher,At=ze.labelDataIndex,It=ze.labelDimIndex,ae=ze.labelProp,he=De.getShallow("show"),q=He.getShallow("show"),ne;(he||q)&&(nt&&(ne=nt.getFormattedLabel(At,"normal",null,It,ae)),ne==null&&(ne=g.isFunction(ze.defaultText)?ze.defaultText(At,ze):ze.defaultText));var Se=he?ne:null,Ne=q?g.retrieve2(nt?nt.getFormattedLabel(At,"emphasis",null,It,ae):null,ne):null;(Se!=null||Ne!=null)&&(Ue(pe,De,Xe,ze),Ue(ue,He,Be,ze,!0)),pe.text=Se,ue.text=Ne}function Ct(pe,ue,De){var He=pe.style;ue&&(st(He),pe.setStyle(ue),rt(He)),He=pe.__hoverStl,De&&He&&(st(He),g.extend(He,De),rt(He))}function Ue(pe,ue,De,He,ze){return Ke(pe,ue,He,ze),De&&g.extend(pe,De),pe}function Rt(pe,ue,De){var He={isRectText:!0},ze;De===!1?ze=!0:He.autoColor=De,Ke(pe,ue,He,ze)}function Ke(pe,ue,De,He){if(De=De||I,De.isRectText){var ze;De.getTextPosition?ze=De.getTextPosition(ue,He):(ze=ue.getShallow("position")||(He?null:"inside"),ze==="outside"&&(ze="top")),pe.textPosition=ze,pe.textOffset=ue.getShallow("offset");var Xe=ue.getShallow("rotate");Xe!=null&&(Xe*=Math.PI/180),pe.textRotation=Xe,pe.textDistance=g.retrieve2(ue.getShallow("distance"),He?null:5)}var Be=ue.ecModel,nt=Be&&Be.option.textStyle,At=wt(ue),It;if(At){It={};for(var ae in At)if(At.hasOwnProperty(ae)){var he=ue.getModel(["rich",ae]);Ye(It[ae]={},he,nt,De,He)}}return pe.rich=It,Ye(pe,ue,nt,De,He,!0),De.forceRich&&!De.textStyle&&(De.textStyle={}),pe}function wt(pe){for(var ue;pe&&pe!==pe.ecModel;){var De=(pe.option||I).rich;if(De){ue=ue||{};for(var He in De)De.hasOwnProperty(He)&&(ue[He]=1)}pe=pe.parentModel}return ue}function Ye(pe,ue,De,He,ze,Xe){De=!ze&&De||I,pe.textFill=et(ue.getShallow("color"),He)||De.color,pe.textStroke=et(ue.getShallow("textBorderColor"),He)||De.textBorderColor,pe.textStrokeWidth=g.retrieve2(ue.getShallow("textBorderWidth"),De.textBorderWidth),ze||(Xe&&(pe.insideRollbackOpt=He,rt(pe)),pe.textFill==null&&(pe.textFill=He.autoColor)),pe.fontStyle=ue.getShallow("fontStyle")||De.fontStyle,pe.fontWeight=ue.getShallow("fontWeight")||De.fontWeight,pe.fontSize=ue.getShallow("fontSize")||De.fontSize,pe.fontFamily=ue.getShallow("fontFamily")||De.fontFamily,pe.textAlign=ue.getShallow("align"),pe.textVerticalAlign=ue.getShallow("verticalAlign")||ue.getShallow("baseline"),pe.textLineHeight=ue.getShallow("lineHeight"),pe.textWidth=ue.getShallow("width"),pe.textHeight=ue.getShallow("height"),pe.textTag=ue.getShallow("tag"),(!Xe||!He.disableBox)&&(pe.textBackgroundColor=et(ue.getShallow("backgroundColor"),He),pe.textPadding=ue.getShallow("padding"),pe.textBorderColor=et(ue.getShallow("borderColor"),He),pe.textBorderWidth=ue.getShallow("borderWidth"),pe.textBorderRadius=ue.getShallow("borderRadius"),pe.textBoxShadowColor=ue.getShallow("shadowColor"),pe.textBoxShadowBlur=ue.getShallow("shadowBlur"),pe.textBoxShadowOffsetX=ue.getShallow("shadowOffsetX"),pe.textBoxShadowOffsetY=ue.getShallow("shadowOffsetY")),pe.textShadowColor=ue.getShallow("textShadowColor")||De.textShadowColor,pe.textShadowBlur=ue.getShallow("textShadowBlur")||De.textShadowBlur,pe.textShadowOffsetX=ue.getShallow("textShadowOffsetX")||De.textShadowOffsetX,pe.textShadowOffsetY=ue.getShallow("textShadowOffsetY")||De.textShadowOffsetY}function et(pe,ue){return pe!=="auto"?pe:ue&&ue.autoColor?ue.autoColor:null}function rt(pe){var ue=pe.textPosition,De=pe.insideRollbackOpt,He;if(De&&pe.textFill==null){var ze=De.autoColor,Xe=De.isRectText,Be=De.useInsideStyle,nt=Be!==!1&&(Be===!0||Xe&&ue&&typeof ue=="string"&&ue.indexOf("inside")>=0),At=!nt&&ze!=null;(nt||At)&&(He={textFill:pe.textFill,textStroke:pe.textStroke,textStrokeWidth:pe.textStrokeWidth}),nt&&(pe.textFill="#fff",pe.textStroke==null&&(pe.textStroke=ze,pe.textStrokeWidth==null&&(pe.textStrokeWidth=2))),At&&(pe.textFill=ze)}pe.insideRollback=He}function st(pe){var ue=pe.insideRollback;ue&&(pe.textFill=ue.textFill,pe.textStroke=ue.textStroke,pe.textStrokeWidth=ue.textStrokeWidth,pe.insideRollback=null)}function Ve(pe,ue){var De=ue&&ue.getModel("textStyle");return g.trim([pe.fontStyle||De&&De.getShallow("fontStyle")||"",pe.fontWeight||De&&De.getShallow("fontWeight")||"",(pe.fontSize||De&&De.getShallow("fontSize")||12)+"px",pe.fontFamily||De&&De.getShallow("fontFamily")||"sans-serif"].join(" "))}function oe(pe,ue,De,He,ze,Xe){typeof ze=="function"&&(Xe=ze,ze=null);var Be=He&&He.isAnimationEnabled();if(Be){var nt=pe?"Update":"",At=He.getShallow("animationDuration"+nt),It=He.getShallow("animationEasing"+nt),ae=He.getShallow("animationDelay"+nt);typeof ae=="function"&&(ae=ae(ze,He.getAnimationDelayParams?He.getAnimationDelayParams(ue,ze):null)),typeof At=="function"&&(At=At(ze)),At>0?ue.animateTo(De,At,ae||0,It,Xe,!!Xe):(ue.stopAnimation(),ue.attr(De),Xe&&Xe())}else ue.stopAnimation(),ue.attr(De),Xe&&Xe()}function re(pe,ue,De,He,ze){oe(!0,pe,ue,De,He,ze)}function it(pe,ue,De,He,ze){oe(!1,pe,ue,De,He,ze)}function Qe(pe,ue){for(var De=m.identity([]);pe&&pe!==ue;)m.mul(De,pe.getLocalTransform(),De),pe=pe.parent;return De}function ve(pe,ue,De){return ue&&!g.isArrayLike(ue)&&(ue=c.getLocalTransform(ue)),De&&(ue=m.invert([],ue)),v.applyTransform([],pe,ue)}function Zt(pe,ue,De){var He=ue[4]===0||ue[5]===0||ue[0]===0?1:Math.abs(2*ue[4]/ue[0]),ze=ue[4]===0||ue[5]===0||ue[2]===0?1:Math.abs(2*ue[4]/ue[2]),Xe=[pe==="left"?-He:pe==="right"?He:0,pe==="top"?-ze:pe==="bottom"?ze:0];return Xe=ve(Xe,ue,De),Math.abs(Xe[0])>Math.abs(Xe[1])?Xe[0]>0?"right":"left":Xe[1]>0?"bottom":"top"}function dt(pe,ue,De,He){if(!pe||!ue)return;function ze(nt){var At={};return nt.traverse(function(It){!It.isGroup&&It.anid&&(At[It.anid]=It)}),At}function Xe(nt){var At={position:v.clone(nt.position),rotation:nt.rotation};return nt.shape&&(At.shape=g.extend({},nt.shape)),At}var Be=ze(pe);ue.traverse(function(nt){if(!nt.isGroup&&nt.anid){var At=Be[nt.anid];if(At){var It=Xe(nt);nt.attr(Xe(At)),re(nt,It,De,nt.dataIndex)}}})}function ct(pe,ue){return g.map(pe,function(De){var He=De[0];He=x(He,ue.x),He=C(He,ue.x+ue.width);var ze=De[1];return ze=x(ze,ue.y),ze=C(ze,ue.y+ue.height),[He,ze]})}function yt(pe,ue){var De=x(pe.x,ue.x),He=C(pe.x+pe.width,ue.x+ue.width),ze=x(pe.y,ue.y),Xe=C(pe.y+pe.height,ue.y+ue.height);if(He>=De&&Xe>=ze)return{x:De,y:ze,width:He-De,height:Xe-ze}}function _t(pe,ue,De){ue=g.extend({rectHover:!0},ue);var He=ue.style={strokeNoScale:!0};if(De=De||{x:-1,y:-1,width:2,height:2},pe)return pe.indexOf("image://")===0?(He.image=pe.slice(8),g.defaults(He,De),new a(ue)):X(pe.replace("path://",""),ue,De,"center")}function or(pe,ue,De,He,ze){for(var Xe=0,Be=ze[ze.length-1];Xe<ze.length;Xe++){var nt=ze[Xe];if(Pt(pe,ue,De,He,nt[0],nt[1],Be[0],Be[1]))return!0;Be=nt}}function Pt(pe,ue,De,He,ze,Xe,Be,nt){var At=De-pe,It=He-ue,ae=Be-ze,he=nt-Xe,q=be(ae,he,At,It);if(me(q))return!1;var ne=pe-ze,Se=ue-Xe,Ne=be(ne,Se,At,It)/q;if(Ne<0||Ne>1)return!1;var Me=be(ne,Se,ae,he)/q;return!(Me<0||Me>1)}function be(pe,ue,De,He){return pe*He-De*ue}function me(pe){return pe<=1e-6&&pe>=-1e-6}H("circle",o),H("sector",d),H("ring",n),H("polygon",l),H("polyline",t),H("rect",s),H("line",u),H("bezierCurve",p),H("arc",w),_.Z2_EMPHASIS_LIFT=N,_.CACHED_LABEL_STYLE_PROPERTIES=F,_.extendShape=U,_.extendPath=j,_.registerShape=H,_.getShapeClass=W,_.makePath=X,_.makeImage=z,_.mergePath=Z,_.resizePath=ge,_.subPixelOptimizeLine=Q,_.subPixelOptimizeRect=we,_.subPixelOptimize=Ee,_.setElementHoverStyle=V,_.setHoverStyle=se,_.setAsHighDownDispatcher=fe,_.isHighDownDispatcher=Le,_.getHighlightDigit=Je,_.setLabelStyle=mt,_.modifyLabelStyle=Ct,_.setTextStyle=Ue,_.setText=Rt,_.getFont=Ve,_.updateProps=re,_.initProps=it,_.getTransform=Qe,_.applyTransform=ve,_.transformDirection=Zt,_.groupTransition=dt,_.clipPointsByRect=ct,_.clipRectByRect=yt,_.createIcon=_t,_.linePolygonIntersect=or,_.lineLineIntersect=Pt},IyUQ:function(D,_,e){var g=e("bYtY"),f=e("YH21"),y=e("IwbS"),m=e("iLNv"),v=e("fc+c"),h=e("OELB"),c=e("+TT/"),a=e("72pK"),i=y.Rect,r=h.linearMap,o=h.asc,d=g.bind,n=g.each,l=7,t=1,s=30,u="horizontal",p="vertical",w=5,b=["line","bar","candlestick","scatter"],E=v.extend({type:"dataZoom.slider",init:function(L,x){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=x},render:function(L,x,C,I){if(E.superApply(this,"render",arguments),m.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=L.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!I||I.type!=="dataZoom"||I.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){E.superApply(this,"remove",arguments),m.clear(this,"_dispatchZoomAction")},dispose:function(){E.superApply(this,"dispose",arguments),m.clear(this,"_dispatchZoomAction")},_buildView:function(){var L=this.group;L.removeAll(),this._resetLocation(),this._resetInterval();var x=this._displayables.barGroup=new y.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),L.add(x),this._positionGroup()},_resetLocation:function(){var L=this.dataZoomModel,x=this.api,C=this._findCoordRect(),I={width:x.getWidth(),height:x.getHeight()},N=this._orient===u?{right:I.width-C.x-C.width,top:I.height-s-l,width:C.width,height:s}:{right:l,top:C.y,width:s,height:C.height},F=c.getLayoutParams(L.option);g.each(["right","top","width","height"],function(B){F[B]==="ph"&&(F[B]=N[B])});var k=c.getLayoutRect(F,I,L.padding);this._location={x:k.x,y:k.y},this._size=[k.width,k.height],this._orient===p&&this._size.reverse()},_positionGroup:function(){var L=this.group,x=this._location,C=this._orient,I=this.dataZoomModel.getFirstTargetAxisModel(),N=I&&I.get("inverse"),F=this._displayables.barGroup,k=(this._dataShadowInfo||{}).otherAxisInverse;F.attr(C===u&&!N?{scale:k?[1,1]:[1,-1]}:C===u&&N?{scale:k?[-1,1]:[-1,-1]}:C===p&&!N?{scale:k?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:k?[-1,-1]:[-1,1],rotation:Math.PI/2});var B=L.getBoundingRect([F]);L.attr("position",[x.x-B.x,x.y-B.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var L=this.dataZoomModel,x=this._size,C=this._displayables.barGroup;C.add(new i({silent:!0,shape:{x:0,y:0,width:x[0],height:x[1]},style:{fill:L.get("backgroundColor")},z2:-40})),C.add(new i({shape:{x:0,y:0,width:x[0],height:x[1]},style:{fill:"transparent"},z2:0,onclick:g.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var L=this._dataShadowInfo=this._prepareDataShadowInfo();if(!L)return;var x=this._size,C=L.series,I=C.getRawData(),N=C.getShadowDim?C.getShadowDim():L.otherDim;if(N==null)return;var F=I.getDataExtent(N),k=(F[1]-F[0])*.3;F=[F[0]-k,F[1]+k];var B=[0,x[1]],P=[0,x[0]],K=[[x[0],0],[0,0]],R=[],U=P[1]/(I.count()-1),j=0,H=Math.round(I.count()/x[0]),W;I.each([N],function(z,G){if(H>0&&G%H){j+=U;return}var Z=z==null||isNaN(z)||z==="",ge=Z?0:r(z,F,B,!0);Z&&!W&&G?(K.push([K[K.length-1][0],0]),R.push([R[R.length-1][0],0])):!Z&&W&&(K.push([j,0]),R.push([j,0])),K.push([j,ge]),R.push([j,ge]),j+=U,W=Z});var X=this.dataZoomModel;this._displayables.barGroup.add(new y.Polygon({shape:{points:K},style:g.defaults({fill:X.get("dataBackgroundColor")},X.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new y.Polyline({shape:{points:R},style:X.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))},_prepareDataShadowInfo:function(){var L=this.dataZoomModel,x=L.get("showDataShadow");if(x===!1)return;var C,I=this.ecModel;return L.eachTargetAxis(function(N,F){var k=L.getAxisProxy(N.name,F).getTargetSeriesModels();g.each(k,function(B){if(C)return;if(x!==!0&&g.indexOf(b,B.get("type"))<0)return;var P=I.getComponent(N.axis,F).axis,K=A(N.name),R,U=B.coordinateSystem;K!=null&&U.getOtherAxis&&(R=U.getOtherAxis(P).inverse),K=B.getData().mapDimension(K),C={thisAxis:P,series:B,thisDim:N.name,otherDim:K,otherAxisInverse:R}},this)},this),C},_renderHandle:function(){var L=this._displayables,x=L.handles=[],C=L.handleLabels=[],I=this._displayables.barGroup,N=this._size,F=this.dataZoomModel;I.add(L.filler=new i({draggable:!0,cursor:S(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:F.get("fillerColor"),textPosition:"inside"}})),I.add(new i({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:N[0],height:N[1]},style:{stroke:F.get("dataBackgroundColor")||F.get("borderColor"),lineWidth:t,fill:"rgba(0,0,0,0)"}})),n([0,1],function(k){var B=y.createIcon(F.get("handleIcon"),{cursor:S(this._orient),draggable:!0,drift:d(this._onDragMove,this,k),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}),P=B.getBoundingRect();this._handleHeight=h.parsePercent(F.get("handleSize"),this._size[1]),this._handleWidth=P.width/P.height*this._handleHeight,B.setStyle(F.getModel("handleStyle").getItemStyle());var K=F.get("handleColor");K!=null&&(B.style.fill=K),I.add(x[k]=B);var R=F.textStyleModel;this.group.add(C[k]=new y.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:R.getTextColor(),textFont:R.getFont()},z2:10}))},this)},_resetInterval:function(){var L=this._range=this.dataZoomModel.getPercentRange(),x=this._getViewExtent();this._handleEnds=[r(L[0],[0,100],x,!0),r(L[1],[0,100],x,!0)]},_updateInterval:function(L,x){var C=this.dataZoomModel,I=this._handleEnds,N=this._getViewExtent(),F=C.findRepresentativeAxisProxy().getMinMaxSpan(),k=[0,100];a(x,I,N,C.get("zoomLock")?"all":L,F.minSpan!=null?r(F.minSpan,k,N,!0):null,F.maxSpan!=null?r(F.maxSpan,k,N,!0):null);var B=this._range,P=this._range=o([r(I[0],N,k,!0),r(I[1],N,k,!0)]);return!B||B[0]!==P[0]||B[1]!==P[1]},_updateView:function(L){var x=this._displayables,C=this._handleEnds,I=o(C.slice()),N=this._size;n([0,1],function(F){var k=x.handles[F],B=this._handleHeight;k.attr({scale:[B/2,B/2],position:[C[F],N[1]/2-B/2]})},this),x.filler.setShape({x:I[0],y:0,width:I[1]-I[0],height:N[1]}),this._updateDataInfo(L)},_updateDataInfo:function(L){var x=this.dataZoomModel,C=this._displayables,I=C.handleLabels,N=this._orient,F=["",""];if(x.get("showDetail")){var k=x.findRepresentativeAxisProxy();if(k){var B=k.getAxisModel().axis,P=this._range,K=L?k.calculateDataWindow({start:P[0],end:P[1]}).valueWindow:k.getDataValueWindow();F=[this._formatLabel(K[0],B),this._formatLabel(K[1],B)]}}var R=o(this._handleEnds.slice());U.call(this,0),U.call(this,1);function U(j){var H=y.getTransform(C.handles[j].parent,this.group),W=y.transformDirection(j===0?"right":"left",H),X=this._handleWidth/2+w,z=y.applyTransform([R[j]+(j===0?-X:X),this._size[1]/2],H);I[j].setStyle({x:z[0],y:z[1],textVerticalAlign:N===u?"middle":W,textAlign:N===u?W:"center",text:F[j]})}},_formatLabel:function(L,x){var C=this.dataZoomModel,I=C.get("labelFormatter"),N=C.get("labelPrecision");(N==null||N==="auto")&&(N=x.getPixelPrecision());var F=L==null||isNaN(L)?"":x.type==="category"||x.type==="time"?x.scale.getLabel(Math.round(L)):L.toFixed(Math.min(N,20));return g.isFunction(I)?I(L,F):g.isString(I)?I.replace("{value}",F):F},_showDataInfo:function(L){L=this._dragging||L;var x=this._displayables.handleLabels;x[0].attr("invisible",!L),x[1].attr("invisible",!L)},_onDragMove:function(L,x,C,I){this._dragging=!0,f.stop(I.event);var N=this._displayables.barGroup.getLocalTransform(),F=y.applyTransform([x,C],N,!0),k=this._updateInterval(L,F[0]),B=this.dataZoomModel.get("realtime");this._updateView(!B),k&&B&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var L=this.dataZoomModel.get("realtime");!L&&this._dispatchZoomAction()},_onClickPanelClick:function(L){var x=this._size,C=this._displayables.barGroup.transformCoordToLocal(L.offsetX,L.offsetY);if(C[0]<0||C[0]>x[0]||C[1]<0||C[1]>x[1])return;var I=this._handleEnds,N=(I[0]+I[1])/2,F=this._updateInterval("all",C[0]-N);this._updateView(),F&&this._dispatchZoomAction()},_dispatchZoomAction:function(){var L=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:L[0],end:L[1]})},_findCoordRect:function(){var L;if(n(this.getTargetCoordInfo(),function(I){if(!L&&I.length){var N=I[0].model.coordinateSystem;L=N.getRect&&N.getRect()}}),!L){var x=this.api.getWidth(),C=this.api.getHeight();L={x:x*.2,y:C*.2,width:x*.6,height:C*.6}}return L}});function A(L){var x={x:"y",y:"x",radius:"angle",angle:"radius"};return x[L]}function S(L){return L==="vertical"?"ns-resize":"ew-resize"}var T=E;D.exports=T},IzEo:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("lnY3"),m=e.n(y),v=e("Znn+"),h=e("14J3"),c=e("jCWc")},J66h:function(D,_,e){(function(g){var f,y;(function(m,v){D.exports=v(m)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof g!="undefined"?g:this,function(m){"use strict";m=m||{};var v=m.Base64,h="2.6.4",c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=function(B){for(var P={},K=0,R=B.length;K<R;K++)P[B.charAt(K)]=K;return P}(c),i=String.fromCharCode,r=function(P){if(P.length<2){var K=P.charCodeAt(0);return K<128?P:K<2048?i(192|K>>>6)+i(128|K&63):i(224|K>>>12&15)+i(128|K>>>6&63)+i(128|K&63)}else{var K=65536+(P.charCodeAt(0)-55296)*1024+(P.charCodeAt(1)-56320);return i(240|K>>>18&7)+i(128|K>>>12&63)+i(128|K>>>6&63)+i(128|K&63)}},o=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,d=function(P){return P.replace(o,r)},n=function(P){var K=[0,2,1][P.length%3],R=P.charCodeAt(0)<<16|(P.length>1?P.charCodeAt(1):0)<<8|(P.length>2?P.charCodeAt(2):0),U=[c.charAt(R>>>18),c.charAt(R>>>12&63),K>=2?"=":c.charAt(R>>>6&63),K>=1?"=":c.charAt(R&63)];return U.join("")},l=m.btoa&&typeof m.btoa=="function"?function(B){return m.btoa(B)}:function(B){if(B.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return B.replace(/[\s\S]{1,3}/g,n)},t=function(P){return l(d(String(P)))},s=function(P){return P.replace(/[+\/]/g,function(K){return K=="+"?"-":"_"}).replace(/=/g,"")},u=function(P,K){return K?s(t(P)):t(P)},p=function(P){return u(P,!0)},w;m.Uint8Array&&(w=function(P,K){for(var R="",U=0,j=P.length;U<j;U+=3){var H=P[U],W=P[U+1],X=P[U+2],z=H<<16|W<<8|X;R+=c.charAt(z>>>18)+c.charAt(z>>>12&63)+(typeof W!="undefined"?c.charAt(z>>>6&63):"=")+(typeof X!="undefined"?c.charAt(z&63):"=")}return K?s(R):R});var b=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,E=function(P){switch(P.length){case 4:var K=(7&P.charCodeAt(0))<<18|(63&P.charCodeAt(1))<<12|(63&P.charCodeAt(2))<<6|63&P.charCodeAt(3),R=K-65536;return i((R>>>10)+55296)+i((R&1023)+56320);case 3:return i((15&P.charCodeAt(0))<<12|(63&P.charCodeAt(1))<<6|63&P.charCodeAt(2));default:return i((31&P.charCodeAt(0))<<6|63&P.charCodeAt(1))}},A=function(P){return P.replace(b,E)},S=function(P){var K=P.length,R=K%4,U=(K>0?a[P.charAt(0)]<<18:0)|(K>1?a[P.charAt(1)]<<12:0)|(K>2?a[P.charAt(2)]<<6:0)|(K>3?a[P.charAt(3)]:0),j=[i(U>>>16),i(U>>>8&255),i(U&255)];return j.length-=[0,0,2,1][R],j.join("")},T=m.atob&&typeof m.atob=="function"?function(B){return m.atob(B)}:function(B){return B.replace(/\S{1,4}/g,S)},L=function(P){return T(String(P).replace(/[^A-Za-z0-9\+\/]/g,""))},x=function(P){return A(T(P))},C=function(P){return String(P).replace(/[-_]/g,function(K){return K=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},I=function(P){return x(C(P))},N;m.Uint8Array&&(N=function(P){return Uint8Array.from(L(C(P)),function(K){return K.charCodeAt(0)})});var F=function(){var P=m.Base64;return m.Base64=v,P};if(m.Base64={VERSION:h,atob:L,btoa:l,fromBase64:I,toBase64:u,utob:d,encode:u,encodeURI:p,btou:A,decode:I,noConflict:F,fromUint8Array:w,toUint8Array:N},typeof Object.defineProperty=="function"){var k=function(P){return{value:P,enumerable:!1,writable:!0,configurable:!0}};m.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",k(function(){return I(this)})),Object.defineProperty(String.prototype,"toBase64",k(function(B){return u(this,B)})),Object.defineProperty(String.prototype,"toBase64URI",k(function(){return u(this,!0)}))}}return m.Meteor&&(Base64=m.Base64),D.exports?D.exports.Base64=m.Base64:!(f=[],y=function(){return m.Base64}.apply(_,f),y!==void 0&&(D.exports=y)),{Base64:m.Base64}})}).call(this,e("yLpj"))},JEkh:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),m=e("bYtY"),v=e("ItGF"),h=e("4NO4"),c=e("7aKB"),a=e("OKJ2"),i=c.addCommas,r=c.encodeHTML;function o(l){h.defaultEmphasis(l,"label",["show"])}var d=y.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(v.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,u){var p=this.constructor,w=this.mainType+"Model";s||t.eachSeries(function(b){var E=b.get(this.mainType,!0),A=b[w];if(!E||!E.data){b[w]=null;return}A?A._mergeOption(E,t,!0):(u&&o(E),m.each(E.data,function(S){S instanceof Array?(o(S[0]),o(S[1])):o(S)}),A=new p(E,this,t),m.extend(A,{mainType:this.mainType,seriesIndex:b.seriesIndex,name:b.name,createdBySelf:!0}),A.__hostSeries=b),b[w]=A},this)},formatTooltip:function(l){var t=this.getData(),s=this.getRawValue(l),u=m.isArray(s)?m.map(s,i).join(", "):i(s),p=t.getName(l),w=r(this.name);return(s!=null||p)&&(w+="<br />"),p&&(w+=r(p),s!=null&&(w+=" : ")),s!=null&&(w+=r(u)),w},getData:function(){return this._data},setData:function(l){this._data=l}});m.mixin(d,a);var n=d;D.exports=n},JGo8:function(D,_,e){},JHRd:function(D,_,e){var g=e("Kz5y"),f=g.Uint8Array;D.exports=f},JHgL:function(D,_,e){var g=e("QkVE");function f(y){return g(this,y).get(y)}D.exports=f},JLnu:function(D,_,e){var g=e("+TT/"),f=e("OELB"),y=f.parsePercent,m=f.linearMap;function v(i,r){return g.getLayoutRect(i.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})}function h(i,r){for(var o=i.mapDimension("value"),d=i.mapArray(o,function(u){return u}),n=[],l=r==="ascending",t=0,s=i.count();t<s;t++)n[t]=t;return typeof r=="function"?n.sort(r):r!=="none"&&n.sort(function(u,p){return l?d[u]-d[p]:d[p]-d[u]}),n}function c(i){i.each(function(r){var o=i.getItemModel(r),d=o.getModel("label"),n=d.get("position"),l=o.getModel("labelLine"),t=i.getItemLayout(r),s=t.points,u=n==="inner"||n==="inside"||n==="center"||n==="insideLeft"||n==="insideRight",p,w,b,E;if(u)n==="insideLeft"?(w=(s[0][0]+s[3][0])/2+5,b=(s[0][1]+s[3][1])/2,p="left"):n==="insideRight"?(w=(s[1][0]+s[2][0])/2-5,b=(s[1][1]+s[2][1])/2,p="right"):(w=(s[0][0]+s[1][0]+s[2][0]+s[3][0])/4,b=(s[0][1]+s[1][1]+s[2][1]+s[3][1])/4,p="center"),E=[[w,b],[w,b]];else{var A,S,T,L=l.get("length");n==="left"?(A=(s[3][0]+s[0][0])/2,S=(s[3][1]+s[0][1])/2,T=A-L,w=T-5,p="right"):n==="right"?(A=(s[1][0]+s[2][0])/2,S=(s[1][1]+s[2][1])/2,T=A+L,w=T+5,p="left"):n==="rightTop"?(A=s[1][0],S=s[1][1],T=A+L,w=T+5,p="top"):n==="rightBottom"?(A=s[2][0],S=s[2][1],T=A+L,w=T+5,p="bottom"):n==="leftTop"?(A=s[0][0],S=s[1][1],T=A-L,w=T-5,p="right"):n==="leftBottom"?(A=s[3][0],S=s[2][1],T=A-L,w=T-5,p="right"):(A=(s[1][0]+s[2][0])/2,S=(s[1][1]+s[2][1])/2,T=A+L,w=T+5,p="left");var x=S;E=[[A,S],[T,x]],b=x}t.label={linePoints:E,x:w,y:b,verticalAlign:"middle",textAlign:p,inside:u}})}function a(i,r,o){i.eachSeriesByType("funnel",function(d){var n=d.getData(),l=n.mapDimension("value"),t=d.get("sort"),s=v(d,r),u=h(n,t),p=[y(d.get("minSize"),s.width),y(d.get("maxSize"),s.width)],w=n.getDataExtent(l),b=d.get("min"),E=d.get("max");b==null&&(b=Math.min(w[0],0)),E==null&&(E=w[1]);var A=d.get("funnelAlign"),S=d.get("gap"),T=(s.height-S*(n.count()-1))/n.count(),L=s.y,x=function(K,R){var U=n.get(l,K)||0,j=m(U,[b,E],p,!0),H;switch(A){case"left":H=s.x;break;case"center":H=s.x+(s.width-j)/2;break;case"right":H=s.x+s.width-j;break}return[[H,R],[H+j,R]]};t==="ascending"&&(T=-T,S=-S,L+=s.height,u=u.reverse());for(var C=0;C<u.length;C++){var I=u[C],N=u[C+1],F=n.getItemModel(I),k=F.get("itemStyle.height");k==null?k=T:(k=y(k,s.height),t==="ascending"&&(k=-k));var B=x(I,L),P=x(N,L+k);L+=k+S,n.setItemLayout(I,{points:B.concat(P.slice().reverse())})}c(n)})}D.exports=a},JSQU:function(D,_,e){var g=e("YESw"),f="__lodash_hash_undefined__";function y(m,v){var h=this.__data__;return this.size+=this.has(m)?0:1,h[m]=g&&v===void 0?f:v,this}D.exports=y},JSwD:function(D,_,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(_,"__esModule",{value:!0}),_.default=t;var f=m(e("6BzB"));function y(){if(typeof WeakMap!="function")return null;var s=new WeakMap;return y=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 u=y();if(u&&u.has(s))return u.get(s);var p={},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in s)if(Object.prototype.hasOwnProperty.call(s,b)){var E=w?Object.getOwnPropertyDescriptor(s,b):null;E&&(E.get||E.set)?Object.defineProperty(p,b,E):p[b]=s[b]}return p.default=s,u&&u.set(s,p),p}var v=15,h=852,c=592,a=0,i=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,u,p,w,b,E,A,S){var T=S.bits,L=0,x=0,C=0,I=0,N=0,F=0,k=0,B=0,P=0,K=0,R,U,j,H,W,X=null,z=0,G,Z=new f.Buf16(v+1),ge=new f.Buf16(v+1),Q=null,we=0,Ee,Ae,Pe;for(L=0;L<=v;L++)Z[L]=0;for(x=0;x<w;x++)Z[u[p+x]]++;for(N=T,I=v;I>=1&&!(Z[I]!==0);I--);if(N>I&&(N=I),I===0)return b[E++]=1<<24|64<<16|0,b[E++]=1<<24|64<<16|0,S.bits=1,0;for(C=1;C<I&&!(Z[C]!==0);C++);for(N<C&&(N=C),B=1,L=1;L<=v;L++)if(B<<=1,B-=Z[L],B<0)return-1;if(B>0&&(s===a||I!==1))return-1;for(ge[1]=0,L=1;L<v;L++)ge[L+1]=ge[L]+Z[L];for(x=0;x<w;x++)u[p+x]!==0&&(A[ge[u[p+x]]++]=x);if(s===a?(X=Q=A,G=19):s===i?(X=o,z-=257,Q=d,we-=257,G=256):(X=n,Q=l,G=-1),K=0,x=0,L=C,W=E,F=N,k=0,j=-1,P=1<<N,H=P-1,s===i&&P>h||s===r&&P>c)return 1;for(;;){Ee=L-k,A[x]<G?(Ae=0,Pe=A[x]):A[x]>G?(Ae=Q[we+A[x]],Pe=X[z+A[x]]):(Ae=32+64,Pe=0),R=1<<L-k,U=1<<F,C=U;do U-=R,b[W+(K>>k)+U]=Ee<<24|Ae<<16|Pe|0;while(U!==0);for(R=1<<L-1;K&R;)R>>=1;if(R!==0?(K&=R-1,K+=R):K=0,x++,--Z[L]===0){if(L===I)break;L=u[p+A[x]]}if(L>N&&(K&H)!==j){for(k===0&&(k=N),W+=C,F=L-k,B=1<<F;F+k<I&&!(B-=Z[F+k],B<=0);)F++,B<<=1;if(P+=1<<F,s===i&&P>h||s===r&&P>c)return 1;j=K&H,b[j]=N<<24|F<<16|W-E|0}}return K!==0&&(b[W+K]=L-k<<24|64<<16|0),S.bits=N,0}},JTzB:function(D,_,e){var g=e("NykK"),f=e("ExA7"),y="[object Arguments]";function m(v){return f(v)&&g(v)==y}D.exports=m},JVwQ:function(D,_,e){var g=e("ProS"),f=e("1NG9"),y=f.Polygon,m=e("IwbS"),v=e("bYtY"),h=v.bind,c=v.extend,a=e("gPAo"),i=g.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(o,d,n){var l=o.getData(),t=this.group,s=o.getLayerSeries(),u=l.getLayout("layoutInfo"),p=u.rect,w=u.boundaryGap;t.attr("position",[0,p.y+w[0]]);function b(T){return T.name}var E=new a(this._layersSeries||[],s,b,b),A={};E.add(h(S,this,"add")).update(h(S,this,"update")).remove(h(S,this,"remove")).execute();function S(T,L,x){var C=this._layers;if(T==="remove"){t.remove(C[L]);return}for(var I=[],N=[],F,k=s[L].indices,B=0;B<k.length;B++){var P=l.getItemLayout(k[B]),K=P.x,R=P.y0,U=P.y;I.push([K,R]),N.push([K,R+U]),F=l.getItemVisual(k[B],"color")}var j,H,W=l.getItemLayout(k[0]),X=l.getItemModel(k[B-1]),z=X.getModel("label"),G=z.get("margin");if(T==="add"){var Z=A[L]=new m.Group;j=new y({shape:{points:I,stackedOnPoints:N,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),H=new m.Text({style:{x:W.x-G,y:W.y0+W.y/2}}),Z.add(j),Z.add(H),t.add(Z),j.setClipPath(r(j.getBoundingRect(),o,function(){j.removeClipPath()}))}else{var Z=C[x];j=Z.childAt(0),H=Z.childAt(1),t.add(Z),A[L]=Z,m.updateProps(j,{shape:{points:I,stackedOnPoints:N}},o),m.updateProps(H,{style:{x:W.x-G,y:W.y0+W.y/2}},o)}var ge=X.getModel("emphasis.itemStyle"),Q=X.getModel("itemStyle");m.setTextStyle(H.style,z,{text:z.get("show")?o.getFormattedLabel(k[B-1],"normal")||l.getName(k[B-1]):null,textVerticalAlign:"middle"}),j.setStyle(c({fill:F},Q.getItemStyle(["color"]))),m.setHoverStyle(j,ge.getItemStyle())}this._layersSeries=s,this._layers=A},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}D.exports=i},JgUQ:function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},JsLm:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),a=e.n(c),i=e("PJYZ"),r=e.n(i),o=e("7W2i"),d=e.n(o),n=e("LQ03"),l=e.n(n),t=e("q1tI"),s=e("i8i4"),u=e("TSYQ"),p=e.n(u),w=e("zT1h"),b=e("cDf5"),E=e.n(b),A=e("BGR+"),S=e("t23M"),T=e("H84U"),L=e("PEeC");function x(Ge){return Ge!==window?Ge.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function C(Ge,gt,_e){return _e!==void 0&&gt.top>Ge.top-_e?_e+gt.top:void 0}function I(Ge,gt,_e){if(_e!==void 0&&gt.bottom<Ge.bottom+_e){var Ce=window.innerHeight-gt.bottom;return _e+Ce}return}var N=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],F=[];function k(){return F}function B(Ge,gt){if(!Ge)return;var _e=F.find(function(Ce){return Ce.target===Ge});_e?_e.affixList.push(gt):(_e={target:Ge,affixList:[gt],eventHandlers:{}},F.push(_e),N.forEach(function(Ce){_e.eventHandlers[Ce]=Object(w.a)(Ge,Ce,function(){_e.affixList.forEach(function(lt){lt.lazyUpdatePosition()})})}))}function P(Ge){var gt=F.find(function(_e){var Ce=_e.affixList.some(function(lt){return lt===Ge});return Ce&&(_e.affixList=_e.affixList.filter(function(lt){return lt!==Ge})),Ce});gt&&gt.affixList.length===0&&(F=F.filter(function(_e){return _e!==gt}),N.forEach(function(_e){var Ce=gt.eventHandlers[_e];Ce&&Ce.remove&&Ce.remove()}))}var K=function(Ge,gt,_e,Ce){var lt=arguments.length,ce=lt<3?gt:Ce===null?Ce=Object.getOwnPropertyDescriptor(gt,_e):Ce,Y;if((typeof Reflect=="undefined"?"undefined":E()(Reflect))==="object"&&typeof Reflect.decorate=="function")ce=Reflect.decorate(Ge,gt,_e,Ce);else for(var V=Ge.length-1;V>=0;V--)(Y=Ge[V])&&(ce=(lt<3?Y(ce):lt>3?Y(gt,_e,ce):Y(gt,_e))||ce);return lt>3&&ce&&Object.defineProperty(gt,_e,ce),ce};function R(){return typeof window!="undefined"?window:null}var U;(function(Ge){Ge[Ge.None=0]="None",Ge[Ge.Prepare=1]="Prepare"})(U||(U={}));var j=function(Ge){d()(_e,Ge);var gt=l()(_e);function _e(){var Ce;return h()(this,_e),Ce=gt.apply(this,arguments),Ce.state={status:U.None,lastAffix:!1,prevTarget:null},Ce.getOffsetTop=function(){var lt=Ce.props.offsetBottom,ce=Ce.props.offsetTop;return lt===void 0&&ce===void 0&&(ce=0),ce},Ce.getOffsetBottom=function(){return Ce.props.offsetBottom},Ce.savePlaceholderNode=function(lt){Ce.placeholderNode=lt},Ce.saveFixedNode=function(lt){Ce.fixedNode=lt},Ce.measure=function(){var lt=Ce.state,ce=lt.status,Y=lt.lastAffix,V=Ce.props.onChange,$=Ce.getTargetFunc();if(ce!==U.Prepare||!Ce.fixedNode||!Ce.placeholderNode||!$)return;var Te=Ce.getOffsetTop(),ye=Ce.getOffsetBottom(),Fe=$();if(!Fe)return;var Oe={status:U.None},se=x(Fe),fe=x(Ce.placeholderNode),Le=C(fe,se,Te),Je=I(fe,se,ye);Le!==void 0?(Oe.affixStyle={position:"fixed",top:Le,width:fe.width,height:fe.height},Oe.placeholderStyle={width:fe.width,height:fe.height}):Je!==void 0&&(Oe.affixStyle={position:"fixed",bottom:Je,width:fe.width,height:fe.height},Oe.placeholderStyle={width:fe.width,height:fe.height}),Oe.lastAffix=!!Oe.affixStyle,V&&Y!==Oe.lastAffix&&V(Oe.lastAffix),Ce.setState(Oe)},Ce.prepareMeasure=function(){if(Ce.setState({status:U.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var lt},Ce.render=function(){var lt=Ce.context.getPrefixCls,ce=Ce.state,Y=ce.affixStyle,V=ce.placeholderStyle,$=Ce.props,Te=$.prefixCls,ye=$.children,Fe=p()(m()({},lt("affix",Te),Y)),Oe=Object(A.default)(Ce.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return t.createElement(S.a,{onResize:function(){Ce.updatePosition()}},t.createElement("div",f()({},Oe,{ref:Ce.savePlaceholderNode}),Y&&t.createElement("div",{style:V,"aria-hidden":"true"}),t.createElement("div",{className:Fe,ref:Ce.saveFixedNode,style:Y},t.createElement(S.a,{onResize:function(){Ce.updatePosition()}},ye))))},Ce}return a()(_e,[{key:"getTargetFunc",value:function(){var lt=this.context.getTargetContainer,ce=this.props.target;return ce!==void 0?ce:lt||R}},{key:"componentDidMount",value:function(){var lt=this,ce=this.getTargetFunc();ce&&(this.timeout=setTimeout(function(){B(ce(),lt),lt.updatePosition()}))}},{key:"componentDidUpdate",value:function(lt){var ce=this.state.prevTarget,Y=this.getTargetFunc(),V=null;Y&&(V=Y()||null),ce!==V&&(P(this),V&&(B(V,this),this.updatePosition()),this.setState({prevTarget:V})),(lt.offsetTop!==this.props.offsetTop||lt.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),P(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var lt=this.getTargetFunc(),ce=this.state.affixStyle;if(lt&&ce){var Y=this.getOffsetTop(),V=this.getOffsetBottom(),$=lt();if($&&this.placeholderNode){var Te=x($),ye=x(this.placeholderNode),Fe=C(ye,Te,Y),Oe=I(ye,Te,V);if(Fe!==void 0&&ce.top===Fe||Oe!==void 0&&ce.bottom===Oe)return}}this.prepareMeasure()}}]),_e}(t.Component);j.contextType=T.b,K([Object(L.b)()],j.prototype,"updatePosition",null),K([Object(L.b)()],j.prototype,"lazyUpdatePosition",null);var H=j,W=e("zAh6"),X=e("i6bk"),z=t.createContext(null),G=z;function Z(){return window}function ge(Ge,gt){if(!Ge.getClientRects().length)return 0;var _e=Ge.getBoundingClientRect();return _e.width||_e.height?gt===window?(gt=Ge.ownerDocument.documentElement,_e.top-gt.clientTop):_e.top-gt.getBoundingClientRect().top:_e.top}var Q=/#(\S+)$/,we=function(Ge){d()(_e,Ge);var gt=l()(_e);function _e(){var Ce;return h()(this,_e),Ce=gt.apply(this,arguments),Ce.state={activeLink:null},Ce.links=[],Ce.registerLink=function(lt){Ce.links.includes(lt)||Ce.links.push(lt)},Ce.unregisterLink=function(lt){var ce=Ce.links.indexOf(lt);ce!==-1&&Ce.links.splice(ce,1)},Ce.getContainer=function(){var lt=Ce.context.getTargetContainer,ce=Ce.props.getContainer,Y=ce||lt||Z;return Y()},Ce.handleScrollTo=function(lt){var ce=Ce.props,Y=ce.offsetTop,V=ce.targetOffset;Ce.setCurrentActiveLink(lt);var $=Ce.getContainer(),Te=Object(X.a)($,!0),ye=Q.exec(lt);if(!ye)return;var Fe=document.getElementById(ye[1]);if(!Fe)return;var Oe=ge(Fe,$),se=Te+Oe;se-=V!==void 0?V:Y||0,Ce.animating=!0,Object(W.a)(se,{callback:function(){Ce.animating=!1},getContainer:Ce.getContainer})},Ce.saveInkNode=function(lt){Ce.inkNode=lt},Ce.setCurrentActiveLink=function(lt){var ce=Ce.state.activeLink,Y=Ce.props.onChange;ce!==lt&&(Ce.setState({activeLink:lt}),Y&&Y(lt))},Ce.handleScroll=function(){if(Ce.animating)return;var lt=Ce.props,ce=lt.offsetTop,Y=lt.bounds,V=lt.targetOffset,$=Ce.getCurrentAnchor(V!==void 0?V:ce||0,Y);Ce.setCurrentActiveLink($)},Ce.updateInk=function(){var lt=r()(Ce),ce=lt.prefixCls,Y=s.findDOMNode(r()(Ce)),V=Y.getElementsByClassName("".concat(ce,"-link-title-active"))[0];V&&(Ce.inkNode.style.top="".concat(V.offsetTop+V.clientHeight/2-4.5,"px"))},Ce.render=function(){var lt=Ce.context,ce=lt.getPrefixCls,Y=lt.direction,V=Ce.props,$=V.prefixCls,Te=V.className,ye=Te===void 0?"":Te,Fe=V.style,Oe=V.offsetTop,se=V.affix,fe=V.showInkInFixed,Le=V.children,Je=Ce.state.activeLink,mt=ce("anchor",$);Ce.prefixCls=mt;var Ct=p()("".concat(mt,"-ink-ball"),{visible:Je}),Ue=p()(ye,"".concat(mt,"-wrapper"),m()({},"".concat(mt,"-rtl"),Y==="rtl")),Rt=p()(mt,{fixed:!se&&!fe}),Ke=f()({maxHeight:Oe?"calc(100vh - ".concat(Oe,"px)"):"100vh"},Fe),wt=t.createElement("div",{className:Ue,style:Ke},t.createElement("div",{className:Rt},t.createElement("div",{className:"".concat(mt,"-ink")},t.createElement("span",{className:Ct,ref:Ce.saveInkNode})),Le));return t.createElement(G.Provider,{value:{registerLink:Ce.registerLink,unregisterLink:Ce.unregisterLink,activeLink:Ce.state.activeLink,scrollTo:Ce.handleScrollTo,onClick:Ce.props.onClick}},se?t.createElement(H,{offsetTop:Oe,target:Ce.getContainer},wt):wt)},Ce}return a()(_e,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(w.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var lt=this.getContainer();this.scrollContainer!==lt&&(this.scrollContainer=lt,this.scrollEvent.remove(),this.scrollEvent=Object(w.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var lt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,Y=this.props.getCurrentAnchor;if(typeof Y=="function")return Y();var V=[],$=this.getContainer();if(this.links.forEach(function(ye){var Fe=Q.exec(ye.toString());if(!Fe)return;var Oe=document.getElementById(Fe[1]);if(Oe){var se=ge(Oe,$);se<lt+ce&&V.push({link:ye,top:se})}}),V.length){var Te=V.reduce(function(ye,Fe){return Fe.top>ye.top?Fe:ye});return Te.link}return""}}]),_e}(t.Component);we.defaultProps={affix:!0,showInkInFixed:!1},we.contextType=T.b;var Ee=function(Ge){d()(_e,Ge);var gt=l()(_e);function _e(){var Ce;return h()(this,_e),Ce=gt.apply(this,arguments),Ce.handleClick=function(lt){var ce=Ce.context,Y=ce.scrollTo,V=ce.onClick,$=Ce.props,Te=$.href,ye=$.title;V&&V(lt,{title:ye,href:Te}),Y(Te)},Ce.renderAnchorLink=function(lt){var ce=lt.getPrefixCls,Y=Ce.props,V=Y.prefixCls,$=Y.href,Te=Y.title,ye=Y.children,Fe=Y.className,Oe=Y.target,se=ce("anchor",V),fe=Ce.context.activeLink===$,Le=p()(Fe,"".concat(se,"-link"),m()({},"".concat(se,"-link-active"),fe)),Je=p()("".concat(se,"-link-title"),m()({},"".concat(se,"-link-title-active"),fe));return t.createElement("div",{className:Le},t.createElement("a",{className:Je,href:$,title:typeof Te=="string"?Te:"",target:Oe,onClick:Ce.handleClick},Te),ye)},Ce}return a()(_e,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(lt){var ce=lt.href,Y=this.props.href;ce!==Y&&(this.context.unregisterLink(ce),this.context.registerLink(Y))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return t.createElement(T.a,null,this.renderAnchorLink)}}]),_e}(t.Component);Ee.defaultProps={href:"#"},Ee.contextType=G;var Ae=Ee;we.Link=Ae;var Pe=_.a=we},JuEJ:function(D,_,e){var g=e("bYtY"),f=e("4NO4"),y=g.each,m=g.isObject,v=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function h(t){var s=t&&t.itemStyle;if(!s)return;for(var u=0,p=v.length;u<p;u++){var w=v[u],b=s.normal,E=s.emphasis;b&&b[w]&&(t[w]=t[w]||{},t[w].normal?g.merge(t[w].normal,b[w]):t[w].normal=b[w],b[w]=null),E&&E[w]&&(t[w]=t[w]||{},t[w].emphasis?g.merge(t[w].emphasis,E[w]):t[w].emphasis=E[w],E[w]=null)}}function c(t,s,u){if(t&&t[s]&&(t[s].normal||t[s].emphasis)){var p=t[s].normal,w=t[s].emphasis;p&&(u?(t[s].normal=t[s].emphasis=null,g.defaults(t[s],p)):t[s]=p),w&&(t.emphasis=t.emphasis||{},t.emphasis[s]=w)}}function a(t){c(t,"itemStyle"),c(t,"lineStyle"),c(t,"areaStyle"),c(t,"label"),c(t,"labelLine"),c(t,"upperLabel"),c(t,"edgeLabel")}function i(t,s){var u=m(t)&&t[s],p=m(u)&&u.textStyle;if(p)for(var w=0,b=f.TEXT_STYLE_OPTIONS.length;w<b;w++){var s=f.TEXT_STYLE_OPTIONS[w];p.hasOwnProperty(s)&&(u[s]=p[s])}}function r(t){t&&(a(t),i(t,"label"),t.emphasis&&i(t.emphasis,"label"))}function o(t){if(!m(t))return;h(t),a(t),i(t,"label"),i(t,"upperLabel"),i(t,"edgeLabel"),t.emphasis&&(i(t.emphasis,"label"),i(t.emphasis,"upperLabel"),i(t.emphasis,"edgeLabel"));var s=t.markPoint;s&&(h(s),r(s));var u=t.markLine;u&&(h(u),r(u));var p=t.markArea;p&&r(p);var w=t.data;if(t.type==="graph"){w=w||t.nodes;var b=t.links||t.edges;if(b&&!g.isTypedArray(b))for(var E=0;E<b.length;E++)r(b[E]);g.each(t.categories,function(T){a(T)})}if(w&&!g.isTypedArray(w))for(var E=0;E<w.length;E++)r(w[E]);var s=t.markPoint;if(s&&s.data)for(var A=s.data,E=0;E<A.length;E++)r(A[E]);var u=t.markLine;if(u&&u.data)for(var S=u.data,E=0;E<S.length;E++)g.isArray(S[E])?(r(S[E][0]),r(S[E][1])):r(S[E]);t.type==="gauge"?(i(t,"axisLabel"),i(t,"title"),i(t,"detail")):t.type==="treemap"?(c(t.breadcrumb,"itemStyle"),g.each(t.levels,function(T){a(T)})):t.type==="tree"&&a(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){y(d(t.series),function(p){m(p)&&o(p)});var u=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];s&&u.push("valueAxis","categoryAxis","logAxis","timeAxis"),y(u,function(p){y(d(t[p]),function(w){w&&(i(w,"axisLabel"),i(w.axisPointer,"label"))})}),y(d(t.parallel),function(p){var w=p&&p.parallelAxisDefault;i(w,"axisLabel"),i(w&&w.axisPointer,"label")}),y(d(t.calendar),function(p){c(p,"itemStyle"),i(p,"dayLabel"),i(p,"monthLabel"),i(p,"yearLabel")}),y(d(t.radar),function(p){i(p,"name")}),y(d(t.geo),function(p){m(p)&&(r(p),y(d(p.regions),function(w){r(w)}))}),y(d(t.timeline),function(p){r(p),c(p,"label"),c(p,"itemStyle"),c(p,"controlStyle",!0);var w=p.data;g.isArray(w)&&g.each(w,function(b){g.isObject(b)&&(c(b,"label"),c(b,"itemStyle"))})}),y(d(t.toolbox),function(p){c(p,"iconStyle"),y(p.feature,function(w){c(w,"iconStyle")})}),i(n(t.axisPointer),"label"),i(n(t.tooltip).axisPointer,"label")}D.exports=l},K2GJ:function(D,_,e){var g=e("fW2E"),f=e("gut8"),y=f.ContextCachedBy,m=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],v=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,u=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,u=u*l.height+l.y,p=p*l.height+l.y),t=isNaN(t)?0:t,s=isNaN(s)?1:s,u=isNaN(u)?0:u,p=isNaN(p)?0:p;var w=d.createLinearGradient(t,u,s,p);return w}function c(d,n,l){var t=l.width,s=l.height,u=Math.min(t,s),p=n.x==null?.5:n.x,w=n.y==null?.5:n.y,b=n.r==null?.5:n.r;n.global||(p=p*t+l.x,w=w*s+l.y,b=b*u);var E=d.createRadialGradient(p,w,0,p,w,b);return E}v.prototype={constructor:v,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,u=t&&t.style,p=!u||n.__attrCachedBy!==y.STYLE_BIND;n.__attrCachedBy=y.STYLE_BIND;for(var w=0;w<m.length;w++){var b=m[w],E=b[0];(p||s[E]!==u[E])&&(n[E]=g(n,E,s[E]||b[1]))}if((p||s.fill!==u.fill)&&(n.fillStyle=s.fill),(p||s.stroke!==u.stroke)&&(n.strokeStyle=s.stroke),(p||s.opacity!==u.opacity)&&(n.globalAlpha=s.opacity==null?1:s.opacity),(p||s.blend!==u.blend)&&(n.globalCompositeOperation=s.blend||"source-over"),this.hasStroke()){var A=s.lineWidth;n.lineWidth=A/(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"?c:h,u=s(n,l,t),p=l.colorStops,w=0;w<p.length;w++)u.addColorStop(p[w].offset,p[w].color);return u}};for(var a=v.prototype,i=0;i<m.length;i++){var r=m[i];r[0]in a||(a[r[0]]=r[1])}v.getGradient=a.getGradient;var o=v;D.exports=o},K4ya:function(D,_,e){var g=e("bYtY"),f=e("XxSj"),y=g.each;function m(i){if(i){for(var r in i)if(i.hasOwnProperty(r))return!0}}function v(i,r,o){var d={};return y(r,function(l){var t=d[l]=n();y(i[l],function(s,u){if(!f.isValidType(u))return;var p={type:u,visual:s};o&&o(p,l),t[u]=new f(p),u==="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(i,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])?i[n]=g.clone(r[n]):delete i[n]})}function c(i,r,o,d,n,l){var t={};g.each(i,function(b){var E=f.prepareVisualTypes(r[b]);t[b]=E});var s;function u(b){return o.getItemVisual(s,b)}function p(b,E){o.setItemVisual(s,b,E)}l==null?o.each(w):o.each([l],w);function w(b,E){s=l==null?b:E;var A=o.getRawDataItem(s);if(A&&A.visualMap===!1)return;for(var S=d.call(n,b),T=r[S],L=t[S],x=0,C=L.length;x<C;x++){var I=L[x];T[I]&&T[I].applyVisual(b,u,p)}}}function a(i,r,o,d){var n={};g.each(i,function(t){var s=f.prepareVisualTypes(r[t]);n[t]=s});function l(t,s){d!=null&&(d=s.getDimension(d));function u(I){return s.getItemVisual(w,I)}function p(I,N){s.setItemVisual(w,I,N)}for(var w;(w=t.next())!=null;){var b=s.getRawDataItem(w);if(b&&b.visualMap===!1)continue;for(var E=d!=null?s.get(d,w,!0):w,A=o(E),S=r[A],T=n[A],L=0,x=T.length;L<x;L++){var C=T[L];S[C]&&S[C].applyVisual(E,u,p)}}}return{progress:l}}_.createVisualMappings=v,_.replaceVisualOption=h,_.applyVisual=c,_.incrementalApplyVisual=a},KCsZ:function(D,_,e){var g=e("bYtY");function f(y){for(var m=0;m<y.length;m++)y[m][1]||(y[m][1]=y[m][0]);return function(v,h,c){for(var a={},i=0;i<y.length;i++){var r=y[i][1];if(h&&g.indexOf(h,r)>=0||c&&g.indexOf(c,r)<0)continue;var o=v.getShallow(r);o!=null&&(a[y[i][0]]=o)}return a}}D.exports=f},KMkd:function(D,_){function e(){this.__data__=[],this.size=0}D.exports=e},KPFz:function(D,_,e){},KQeH:function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},KS52:function(D,_,e){var g=e("OELB"),f=g.parsePercent,y=g.linearMap,m=e("+TT/"),v=e("u3DP"),h=e("bYtY"),c=Math.PI*2,a=Math.PI/180;function i(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(),u=s.mapDimension("value"),p=i(t,n),w=t.get("center"),b=t.get("radius");h.isArray(b)||(b=[0,b]),h.isArray(w)||(w=[w,w]);var E=f(p.width,n.getWidth()),A=f(p.height,n.getHeight()),S=Math.min(E,A),T=f(w[0],E)+p.x,L=f(w[1],A)+p.y,x=f(b[0],S/2),C=f(b[1],S/2),I=-t.get("startAngle")*a,N=t.get("minAngle")*a,F=0;s.each(u,function(G){!isNaN(G)&&F++});var k=s.getSum(u),B=Math.PI/(k||F)*2,P=t.get("clockwise"),K=t.get("roseType"),R=t.get("stillShowZeroSum"),U=s.getDataExtent(u);U[0]=0;var j=c,H=0,W=I,X=P?1:-1;if(s.each(u,function(G,Z){var ge;if(isNaN(G)){s.setItemLayout(Z,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:P,cx:T,cy:L,r0:x,r:K?NaN:C,viewRect:p});return}K!=="area"?ge=k===0&&R?B:G*B:ge=c/F,ge<N?(ge=N,j-=N):H+=G;var Q=W+X*ge;s.setItemLayout(Z,{angle:ge,startAngle:W,endAngle:Q,clockwise:P,cx:T,cy:L,r0:x,r:K?y(G,U,[x,C]):C,viewRect:p}),W=Q}),j<c&&F)if(j<=.001){var z=c/F;s.each(u,function(G,Z){if(!isNaN(G)){var ge=s.getItemLayout(Z);ge.angle=z,ge.startAngle=I+X*Z*z,ge.endAngle=I+X*(Z+1)*z}})}else B=j/H,W=I,s.each(u,function(G,Z){if(!isNaN(G)){var ge=s.getItemLayout(Z),Q=ge.angle===N?N:G*B;ge.startAngle=W,ge.endAngle=W+X*Q,W+=X*Q}});v(t,C,p.width,p.height,p.x,p.y)})}D.exports=r},KUOm:function(D,_){function e(g){var f={};g.eachSeriesByType("graph",function(y){var m=y.getCategoriesData(),v=y.getData(),h={};m.each(function(c){var a=m.getName(c);h["ec-"+a]=c;var i=m.getItemModel(c),r=i.get("itemStyle.color")||y.getColorFromPalette(a,f);m.setItemVisual(c,"color",r);for(var o=["opacity","symbol","symbolSize","symbolKeepAspect"],d=0;d<o.length;d++){var n=i.getShallow(o[d],!0);n!=null&&m.setItemVisual(c,o[d],n)}}),m.count()&&v.each(function(c){var a=v.getItemModel(c),i=a.getShallow("category");if(i!=null){typeof i=="string"&&(i=h["ec-"+i]);for(var r=["color","opacity","symbol","symbolSize","symbolKeepAspect"],o=0;o<r.length;o++)v.getItemVisual(c,r[o],!0)==null&&v.setItemVisual(c,r[o],m.getItemVisual(i,r[o]))}})})}D.exports=e},Kagy:function(D,_){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:""}}}};D.exports=e},KamJ:function(D,_,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(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("CP8R")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="FilterFilled";var c=y.forwardRef(h);_.default=c},"KpQ+":function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("E/ki")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="ClockCircleOutlined";var c=y.forwardRef(h);_.default=c},KrTs:function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("cDf5"),m=e.n(y),v=e("pVnL"),h=e.n(v),c=e("q1tI"),a=e("UmKh"),i=e("TSYQ"),r=e.n(i),o=e("J4zp"),d=e.n(o),n=e("H84U"),l=e("0n0R"),t=function(C,I){var N={};for(var F in C)Object.prototype.hasOwnProperty.call(C,F)&&I.indexOf(F)<0&&(N[F]=C[F]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,F=Object.getOwnPropertySymbols(C);k<F.length;k++)I.indexOf(F[k])<0&&Object.prototype.propertyIsEnumerable.call(C,F[k])&&(N[F[k]]=C[F[k]]);return N};function s(C){return C?C.toString().split("").reverse().map(function(I){var N=Number(I);return isNaN(N)?I:N}):[]}function u(C,I){for(var N=[],F=0;F<30;F++)N.push(c.createElement("p",{key:F.toString(),className:r()(I,{current:C===F})},F%10));return N}var p=function(I){var N=I.prefixCls,F=I.count,k=I.className,B=I.style,P=I.title,K=I.component,R=K===void 0?"sup":K,U=I.displayComponent,j=I.onAnimated,H=j===void 0?function(){}:j,W=t(I,["prefixCls","count","className","style","title","component","displayComponent","onAnimated"]),X=c.useState(!0),z=d()(X,2),G=z[0],Z=z[1],ge=c.useState(F),Q=d()(ge,2),we=Q[0],Ee=Q[1],Ae=c.useState(F),Pe=d()(Ae,2),Ge=Pe[0],gt=Pe[1],_e=c.useState(F),Ce=d()(_e,2),lt=Ce[0],ce=Ce[1],Y=c.useContext(n.b),V=Y.getPrefixCls,$=V("scroll-number",N);Ge!==F&&(Z(!0),gt(F)),c.useEffect(function(){ce(we);var se;return G&&(se=setTimeout(function(){Z(!1),Ee(F),H()})),function(){se&&clearTimeout(se)}},[G,F,H]);var Te=function(fe,Le){var Je=Math.abs(Number(we)),mt=Math.abs(Number(lt)),Ct=Math.abs(s(we)[Le]),Ue=Math.abs(s(mt)[Le]);return G?10+fe:Je>mt?Ct>=Ue?10+fe:20+fe:Ct<=Ue?10+fe:fe},ye=function(fe,Le){if(typeof fe=="number"){var Je=Te(fe,Le),mt=G||s(lt)[Le]===void 0;return c.createElement("span",{className:"".concat($,"-only"),style:{transition:mt?"none":void 0,msTransform:"translateY(".concat(-Je*100,"%)"),WebkitTransform:"translateY(".concat(-Je*100,"%)"),transform:"translateY(".concat(-Je*100,"%)")},key:Le},u(Je,"".concat($,"-only-unit")))}return c.createElement("span",{key:"symbol",className:"".concat($,"-symbol")},fe)},Fe=function(){return we&&Number(we)%1===0?s(we).map(function(fe,Le){return ye(fe,Le)}).reverse():we},Oe=h()(h()({},W),{style:B,className:r()($,k),title:P});return B&&B.borderColor&&(Oe.style=h()(h()({},B),{boxShadow:"0 0 0 1px ".concat(B.borderColor," inset")})),U?Object(l.a)(U,{className:r()("".concat($,"-custom-component"),U.props&&U.props.className)}):c.createElement(R,Oe,Fe())},w=p,b=e("09Wf");function E(C){return b.a.indexOf(C)!==-1}var A=function(I){var N,F=I.className,k=I.prefixCls,B=I.style,P=I.color,K=I.children,R=I.text,U=I.placement,j=U===void 0?"end":U,H=c.useContext(n.b),W=H.getPrefixCls,X=H.direction,z=W("ribbon",k),G=E(P),Z=r()(z,F,"".concat(z,"-placement-").concat(j),(N={},f()(N,"".concat(z,"-rtl"),X==="rtl"),f()(N,"".concat(z,"-color-").concat(P),G),N)),ge={},Q={};return P&&!G&&(ge.background=P,Q.color=P),c.createElement("div",{className:"".concat(z,"-wrapper")},K,c.createElement("div",{className:Z,style:h()(h()({},ge),B)},R,c.createElement("div",{className:"".concat(z,"-corner"),style:Q})))},S=A,T=function(C,I){var N={};for(var F in C)Object.prototype.hasOwnProperty.call(C,F)&&I.indexOf(F)<0&&(N[F]=C[F]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,F=Object.getOwnPropertySymbols(C);k<F.length;k++)I.indexOf(F[k])<0&&Object.prototype.propertyIsEnumerable.call(C,F[k])&&(N[F[k]]=C[F[k]]);return N},L=function(I){var N,F,k=I.prefixCls,B=I.scrollNumberPrefixCls,P=I.children,K=I.status,R=I.text,U=I.color,j=I.count,H=j===void 0?null:j,W=I.overflowCount,X=W===void 0?99:W,z=I.dot,G=z===void 0?!1:z,Z=I.size,ge=Z===void 0?"default":Z,Q=I.title,we=I.offset,Ee=I.style,Ae=I.className,Pe=I.showZero,Ge=Pe===void 0?!1:Pe,gt=T(I,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),_e=c.useContext(n.b),Ce=_e.getPrefixCls,lt=_e.direction,ce=Ce("badge",k),Y=function(){var Ye=H>X?"".concat(X,"+"):H;return Ye},V=function(){return!!K||!!U},$=function(){var Ye=Y();return Ye==="0"||Ye===0},Te=function(){return G&&!$()||V()},ye=function(){return Te()?"":Y()},Fe=function(){return Q||(typeof H=="string"||typeof H=="number"?H:void 0)},Oe=function(){return lt==="rtl"?we?h()({left:parseInt(we[0],10),marginTop:we[1]},Ee):Ee:we?h()({right:-parseInt(we[0],10),marginTop:we[1]},Ee):Ee},se=function(){var Ye=ye(),et=Ye==null||Ye==="";return(et||$()&&!Ge)&&!Te()},fe=function(){var Ye=se();return Ye||!R?null:c.createElement("span",{className:"".concat(ce,"-status-text")},R)},Le=function(){var Ye=H;return!Ye||m()(Ye)!=="object"?void 0:Object(l.a)(Ye,{style:h()(h()({},Oe()),Ye.props&&Ye.props.style)})},Je=function(){var Ye,et=Ce("scroll-number",B),rt=ye(),st=Te(),Ve=se(),oe=r()((Ye={},f()(Ye,"".concat(ce,"-dot"),st),f()(Ye,"".concat(ce,"-count"),!st),f()(Ye,"".concat(ce,"-count-sm"),ge==="small"),f()(Ye,"".concat(ce,"-multiple-words"),!st&&H&&H.toString&&H.toString().length>1),f()(Ye,"".concat(ce,"-status-").concat(K),!!K),f()(Ye,"".concat(ce,"-status-").concat(U),E(U)),Ye)),re=Oe();return U&&!E(U)&&(re=re||{},re.background=U),Ve?null:c.createElement(w,{prefixCls:et,"data-show":!Ve,className:oe,count:rt,displayComponent:Le(),title:Fe(),style:re,key:"scrollNumber"})},mt=r()((N={},f()(N,"".concat(ce,"-status-dot"),V()),f()(N,"".concat(ce,"-status-").concat(K),!!K),f()(N,"".concat(ce,"-status-").concat(U),E(U)),N)),Ct={};U&&!E(U)&&(Ct.background=U);var Ue=r()(Ae,ce,(F={},f()(F,"".concat(ce,"-status"),V()),f()(F,"".concat(ce,"-not-a-wrapper"),!P),f()(F,"".concat(ce,"-rtl"),lt==="rtl"),F));if(!P&&V()){var Rt=Oe(),Ke=Rt&&Rt.color;return c.createElement("span",h()({},gt,{className:Ue,style:Rt}),c.createElement("span",{className:mt,style:Ct}),c.createElement("span",{style:{color:Ke},className:"".concat(ce,"-status-text")},R))}return c.createElement("span",h()({},gt,{className:Ue}),P,c.createElement(a.a,{component:"",showProp:"data-show",transitionName:P?"".concat(ce,"-zoom"):"",transitionAppear:!0},Je()),fe())};L.Ribbon=S;var x=_.a=L},Kvyg:function(D,_,e){},KxBF:function(D,_){function e(g,f,y){var m=-1,v=g.length;f<0&&(f=-f>v?0:v+f),y=y>v?v:y,y<0&&(y+=v),v=f>y?0:y-f>>>0,f>>>=0;for(var h=Array(v);++m<v;)h[m]=g[m+f];return h}D.exports=e},KxFI:function(D,_,e){},KxfA:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=y.isTypedArray,v=y.extend,h=y.assert,c=y.each,a=y.isObject,i=e("4NO4"),r=i.getDataItemValue,o=i.isDataItemOption,d=e("OELB"),n=d.parseDate,l=e("7G+c"),t=e("k9D9"),s=t.SOURCE_FORMAT_TYPED_ARRAY,u=t.SOURCE_FORMAT_ARRAY_ROWS,p=t.SOURCE_FORMAT_ORIGINAL,w=t.SOURCE_FORMAT_OBJECT_ROWS;function b(P,K){l.isInstance(P)||(P=l.seriesDataToSource(P)),this._source=P;var R=this._data=P.data,U=P.sourceFormat;U===s&&(this._offset=0,this._dimSize=K,this._data=R);var j=A[U===u?U+"_"+P.seriesLayoutBy:U];v(this,j)}var E=b.prototype;E.pure=!1,E.persistent=!0,E.getSource=function(){return this._source};var A={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(P){return this._data[P+this._source.startIndex]},appendData:L},arrayRows_row:{pure:!0,count:function(){var P=this._data[0];return P?Math.max(0,P.length-this._source.startIndex):0},getItem:function(P){P+=this._source.startIndex;for(var K=[],R=this._data,U=0;U<R.length;U++){var j=R[U];K.push(j?j[P]:null)}return K},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:S,getItem:T,appendData:L},keyedColumns:{pure:!0,count:function(){var P=this._source.dimensionsDefine[0].name,K=this._data[P];return K?K.length:0},getItem:function(P){for(var K=[],R=this._source.dimensionsDefine,U=0;U<R.length;U++){var j=this._data[R[U].name];K.push(j?j[P]:null)}return K},appendData:function(P){var K=this._data;c(P,function(R,U){for(var j=K[U]||(K[U]=[]),H=0;H<(R||[]).length;H++)j.push(R[H])})}},original:{count:S,getItem:T,appendData:L},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(P,K){P=P-this._offset,K=K||[];for(var R=this._dimSize*P,U=0;U<this._dimSize;U++)K[U]=this._data[R+U];return K},appendData:function(P){this._data=P},clean:function(){this._offset+=this.count(),this._data=null}}};function S(){return this._data.length}function T(P){return this._data[P]}function L(P){for(var K=0;K<P.length;K++)this._data.push(P[K])}var x={arrayRows:C,objectRows:function(P,K,R,U){return R!=null?P[U]:P},keyedColumns:C,original:function(P,K,R,U){var j=r(P);return R==null||!(j instanceof Array)?j:j[R]},typedArray:C};function C(P,K,R,U){return R!=null?P[R]:P}var I={arrayRows:N,objectRows:function(P,K,R,U){return F(P[K],this._dimensionInfos[K])},keyedColumns:N,original:function(P,K,R,U){var j=P&&(P.value==null?P:P.value);return!this._rawData.pure&&o(P)&&(this.hasItemOption=!0),F(j instanceof Array?j[U]:j,this._dimensionInfos[K])},typedArray:function(P,K,R,U){return P[U]}};function N(P,K,R,U){return F(P[U],this._dimensionInfos[K])}function F(P,K){var R=K&&K.type;if(R==="ordinal"){var U=K&&K.ordinalMeta;return U?U.parseAndCollect(P):P}return R==="time"&&typeof P!="number"&&P!=null&&P!=="-"&&(P=+n(P)),P==null||P===""?NaN:+P}function k(P,K,R){if(!P)return;var U=P.getRawDataItem(K);if(U==null)return;var j=P.getProvider().getSource().sourceFormat,H,W,X=P.getDimensionInfo(R);return X&&(H=X.name,W=X.index),x[j](U,K,W,H)}function B(P,K,R){if(!P)return;var U=P.getProvider().getSource().sourceFormat;if(U!==p&&U!==w)return;var j=P.getRawDataItem(K);if(U===p&&!a(j)&&(j=null),j)return j[R]}_.DefaultDataProvider=b,_.defaultDimValueGetters=I,_.retrieveRawValue=k,_.retrieveRawAttr=B},L0Ub:function(D,_,e){var g=e("bYtY"),f=g.each,y=g.createHashMap,m=g.assert,v=e("Tghj"),h=v.__DEV__,c=y(["tooltip","label","itemName","itemId","seriesName"]);function a(d){var n={},l=n.encode={},t=y(),s=[],u=[],p=n.userOutput={dimensionNames:d.dimensions.slice(),encode:{}};f(d.dimensions,function(S){var T=d.getDimensionInfo(S),L=T.coordDim;if(L){var x=T.coordDimIndex;i(l,L)[x]=S,T.isExtraCoord||(t.set(L,1),o(T.type)&&(s[0]=S),i(p.encode,L)[x]=T.index),T.defaultTooltip&&u.push(S)}c.each(function(C,I){var N=i(l,I),F=T.otherDims[I];F!=null&&F!==!1&&(N[F]=T.name)})});var w=[],b={};t.each(function(S,T){var L=l[T];b[T]=L[0],w=w.concat(L)}),n.dataDimsOnCoord=w,n.encodeFirstDimNotExtra=b;var E=l.label;E&&E.length&&(s=E.slice());var A=l.tooltip;return A&&A.length?u=A.slice():u.length||(u=s.slice()),l.defaultedLabel=s,l.defaultedTooltip=u,n}function i(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")}_.OTHER_DIMENSIONS=c,_.summarizeDimensions=a,_.getDimensionTypeByAxis=r},L3Oj:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("HjIi");e("HM/N"),e("9eas"),e("eS4l"),e("y4/Y"),e("as94"),g.registerLayout(f.curry(y,"bar")),g.extendComponentView({type:"polar"})},L5E0:function(D,_){var e=["itemStyle","borderColor"];function g(f,y){var m=f.get("color");f.eachRawSeriesByType("boxplot",function(v){var h=m[v.seriesIndex%m.length],c=v.getData();c.setVisual({legendSymbol:"roundRect",color:v.get(e)||h}),f.isSeriesFiltered(v)||c.each(function(a){var i=c.getItemModel(a);c.setItemVisual(a,{color:i.get(e,!0)})})})}D.exports=g},L8xA:function(D,_){function e(g){var f=this.__data__,y=f.delete(g);return this.size=f.size,y}D.exports=e},LBfv:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=f.createHashMap,m=f.each;g.registerProcessor({getTargetSeries:function(v){var h=y();return v.eachComponent("dataZoom",function(c){c.eachTargetAxis(function(a,i,r){var o=r.getAxisProxy(a.name,i);m(o.getTargetSeriesModels(),function(d){h.set(d.uid,d)})})}),h},modifyOutputEnd:!0,overallReset:function(v,h){v.eachComponent("dataZoom",function(c){c.eachTargetAxis(function(a,i,r){r.getAxisProxy(a.name,i).reset(r,h)}),c.eachTargetAxis(function(a,i,r){r.getAxisProxy(a.name,i).filterData(r,h)})}),v.eachComponent("dataZoom",function(c){var a=c.findRepresentativeAxisProxy(),i=a.getDataPercentWindow(),r=a.getDataValueWindow();c.setCalculatedRange({start:i[0],end:i[1],startValue:r[0],endValue:r[1]})})}})},LCi9:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;function g(b,E){if(!(b instanceof E))throw new TypeError("Cannot call a class as a function")}function f(b,E){for(var A=0;A<E.length;A++){var S=E[A];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(b,S.key,S)}}function y(b,E,A){return E&&f(b.prototype,E),A&&f(b,A),b}var m=0,v=1,h=2,c=4,a=8,i=16,r=32,o=64,d=127,n=50,l=90,t=250,s=1e3,u=1e3,p=50,w=function(){function b(){g(this,b),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 y(b,[{key:"attach",value:function(A){this.detach(),this._target=A,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(A){var S;A.stopPropagation(),A.preventDefault();switch(A.type){case"touchstart":S=this._touchStart;break;case"touchmove":S=this._touchMove;break;case"touchend":case"touchcancel":S=this._touchEnd;break}for(var T=0;T<A.changedTouches.length;T++){var L=A.changedTouches[T];S.call(this,L.identifier,L.clientX,L.clientY)}}},{key:"_touchStart",value:function(A,S,T){if(this._hasDetectedGesture()||this._state===m){this._ignored.push(A);return}if(this._tracked.length>0&&Date.now()-this._tracked[0].started>t){this._state=m,this._ignored.push(A);return}if(this._waitingRelease){this._state=m,this._ignored.push(A);return}this._tracked.push({id:A,started:Date.now(),active:!0,firstX:S,firstY:T,lastX:S,lastY:T,angle:0});switch(this._tracked.length){case 1:this._startLongpressTimeout();break;case 2:this._state&=~(v|a|i),this._stopLongpressTimeout();break;case 3:this._state&=~(h|r|o);break;default:this._state=m}}},{key:"_touchMove",value:function(A,S,T){var L=this._tracked.find(function(k){return k.id===A});if(L===void 0)return;L.lastX=S,L.lastY=T;var x=S-L.firstX,C=T-L.firstY;if((L.firstX!==L.lastX||L.firstY!==L.lastY)&&(L.angle=Math.atan2(C,x)*180/Math.PI),!this._hasDetectedGesture()){if(Math.hypot(x,C)<n)return;if(this._state&=~(v|h|c|i),this._stopLongpressTimeout(),this._tracked.length!==1&&(this._state&=~a),this._tracked.length!==2&&(this._state&=~(r|o)),this._tracked.length===2){var I=this._tracked.find(function(k){return k.id!==A}),N=Math.hypot(I.firstX-I.lastX,I.firstY-I.lastY);if(N>n){var F=Math.abs(L.angle-I.angle);F=Math.abs((F+180)%360-180),F>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(A,S,T){if(this._ignored.indexOf(A)!==-1){this._ignored.splice(this._ignored.indexOf(A),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&=~(a|r|o),this._state&=~i,this._stopLongpressTimeout(),!this._waitingRelease)){this._releaseStart=Date.now(),this._waitingRelease=!0;switch(this._tracked.length){case 1:this._state&=~(h|c);break;case 2:this._state&=~(v|c);break}}if(this._waitingRelease){Date.now()-this._releaseStart>t&&(this._state=m),this._tracked.some(function(C){return Date.now()-C.started>s})&&(this._state=m);var L=this._tracked.find(function(C){return C.id===A});if(L.active=!1,this._hasDetectedGesture())this._pushEvent("gesturestart");else if(this._state!==m)return}this._hasDetectedGesture()&&this._pushEvent("gestureend");for(var x=0;x<this._tracked.length;x++)this._tracked[x].active&&this._ignored.push(this._tracked[x].id);this._tracked=[],this._state=m,this._ignored.indexOf(A)!==-1&&this._ignored.splice(this._ignored.indexOf(A),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&(v|h|c)&&this._tracked.some(function(A){return A.active}))}},{key:"_startLongpressTimeout",value:function(){var A=this;this._stopLongpressTimeout(),this._longpressTimeoutId=setTimeout(function(){return A._longpressTimeout()},u)}},{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=i,this._pushEvent("gesturestart")}},{key:"_startTwoTouchTimeout",value:function(){var A=this;this._stopTwoTouchTimeout(),this._twoTouchTimeoutId=setTimeout(function(){return A._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 A=this._getAverageMovement(),S=Math.abs(A.x),T=Math.abs(A.y),L=this._getAverageDistance(),x=Math.abs(Math.hypot(L.first.x,L.first.y)-Math.hypot(L.last.x,L.last.y));T<x&&S<x?this._state=o:this._state=r,this._pushEvent("gesturestart"),this._pushEvent("gesturemove")}},{key:"_pushEvent",value:function(A){var S={type:this._stateToGesture(this._state)},T=this._getPosition(),L=T.last;A==="gesturestart"&&(L=T.first);switch(this._state){case r:case o:L=T.first;break}if(S.clientX=L.x,S.clientY=L.y,this._state===o){var x=this._getAverageDistance();A==="gesturestart"?(S.magnitudeX=x.first.x,S.magnitudeY=x.first.y):(S.magnitudeX=x.last.x,S.magnitudeY=x.last.y)}else if(this._state===r)if(A==="gesturestart")S.magnitudeX=0,S.magnitudeY=0;else{var C=this._getAverageMovement();S.magnitudeX=C.x,S.magnitudeY=C.y}var I=new CustomEvent(A,{detail:S});this._target.dispatchEvent(I)}},{key:"_stateToGesture",value:function(A){switch(A){case v:return"onetap";case h:return"twotap";case c:return"threetap";case a:return"drag";case i:return"longpress";case r:return"twodrag";case o:return"pinch"}throw new Error("Unknown gesture state: "+A)}},{key:"_getPosition",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture position, no tracked touches");for(var A=this._tracked.length,S=0,T=0,L=0,x=0,C=0;C<this._tracked.length;C++)S+=this._tracked[C].firstX,T+=this._tracked[C].firstY,L+=this._tracked[C].lastX,x+=this._tracked[C].lastY;return{first:{x:S/A,y:T/A},last:{x:L/A,y:x/A}}}},{key:"_getAverageMovement",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture movement, no tracked touches");var A,S;A=S=0;for(var T=this._tracked.length,L=0;L<this._tracked.length;L++)A+=this._tracked[L].lastX-this._tracked[L].firstX,S+=this._tracked[L].lastY-this._tracked[L].firstY;return{x:A/T,y:S/T}}},{key:"_getAverageDistance",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture distance, no tracked touches");var A=this._tracked[0],S=this._tracked[this._tracked.length-1],T=Math.abs(S.firstX-A.firstX),L=Math.abs(S.firstY-A.firstY),x=Math.abs(S.lastX-A.lastX),C=Math.abs(S.lastY-A.lastY);return{first:{x:T,y:L},last:{x,y:C}}}}]),b}();_.default=w},LPTA:function(D,_){var e=1;typeof window!="undefined"&&(e=Math.max(window.devicePixelRatio||1,1));var g=0,f=e;_.debugMode=g,_.devicePixelRatio=f},LPzL:function(D,_,e){var g=e("ProS");e("QzjZ"),e("vL6D"),e("xiyX"),e("y4/Y"),e("8Th4"),g.extendComponentView({type:"single"})},LSTS:function(D,_,e){"use strict";Object.defineProperty(_,"__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"),y=h(f),m=e("17x9"),v=h(m);function h(d){return d&&d.__esModule?d:{default:d}}function c(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 a(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}function i(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){a(this,n);var t=i(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(u){}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,u=this.getParentElement(t),p=void 0;if(this.props.useWindow){var w=document.documentElement||document.body.parentNode||document.body,b=s.pageYOffset!==void 0?s.pageYOffset:w.scrollTop;this.props.isReverse?p=b:p=this.calculateOffset(t,b)}else this.props.isReverse?p=u.scrollTop:p=t.scrollHeight-u.scrollTop-u.clientHeight;p<Number(this.props.threshold)&&t&&t.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=u.scrollHeight,this.beforeScrollTop=u.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),u=s.children,p=s.element,w=s.hasMore,b=s.initialLoad,E=s.isReverse,A=s.loader,S=s.loadMore,T=s.pageStart,L=s.ref,x=s.threshold,C=s.useCapture,I=s.useWindow,N=s.getScrollParent,F=c(s,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);F.ref=function(B){t.scrollComponent=B,L&&L(B)};var k=[u];return w&&(A?E?k.unshift(A):k.push(A):this.defaultLoader&&(E?k.unshift(this.defaultLoader):k.push(this.defaultLoader))),y.default.createElement(p,F,k)}}]),n}(f.Component);o.propTypes={children:v.default.node.isRequired,element:v.default.node,hasMore:v.default.bool,initialLoad:v.default.bool,isReverse:v.default.bool,loader:v.default.node,loadMore:v.default.func.isRequired,pageStart:v.default.number,ref:v.default.func,getScrollParent:v.default.func,threshold:v.default.number,useCapture:v.default.bool,useWindow:v.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},_.default=o,D.exports=_.default},LXxW:function(D,_){function e(g,f){for(var y=-1,m=g==null?0:g.length,v=0,h=[];++y<m;){var c=g[y];f(c,y,g)&&(h[v++]=c)}return h}D.exports=e},Lerx:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("Mds0"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},Llu2:function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="DeliveredProcedureOutlined";var h=_.a=g.forwardRef(v)},Lo0S:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.initLogging=h,_.getLogging=c,_.Error=_.Warn=_.Info=_.Debug=void 0;var g="warn",f=function(){};_.Debug=f;var y=function(){};_.Info=y;var m=function(){};_.Warn=m;var v=function(){};_.Error=v;function h(a){if(typeof a=="undefined"?a=g:g=a,_.Debug=f=_.Info=y=_.Warn=m=_.Error=v=function(){},typeof window.console!="undefined")switch(a){case"debug":_.Debug=f=console.debug.bind(window.console);case"info":_.Info=y=console.info.bind(window.console);case"warn":_.Warn=m=console.warn.bind(window.console);case"error":_.Error=v=console.error.bind(window.console);case"none":break;default:throw new window.Error("invalid logging type '"+a+"'")}}function c(){return g}h()},LtfV:function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="InboxOutlined";var h=_.a=g.forwardRef(v)},Lyp1:function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="QuestionCircleOutlined";var h=_.a=g.forwardRef(v)},LzGr:function(D,_,e){var g=e("ProS"),f=e("rnVJ");e("EMyp"),e("8x+h"),e("wt3j"),e("uOyE"),e("/stD"),g.registerPreprocessor(f)},MBQ8:function(D,_,e){var g=e("T4UG"),f=e("MwEJ"),y=g.extend({type:"series.__base_bar__",getInitialData:function(m,v){return f(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(m){var v=this.coordinateSystem;if(v){var h=v.dataToPoint(v.clampData(m)),c=this.getData(),a=c.getLayout("offset"),i=c.getLayout("size"),r=v.getBaseAxis().isHorizontal()?0:1;return h[r]+=a+i/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:{}}});D.exports=y},MEGo:function(D,_,e){var g=e("4fz+"),f=e("Dagg"),y=e("dqUG"),m=e("2fw6"),v=e("x6Kt"),h=e("rmlV"),c=e("yxFR"),a=e("y+Vt"),i=e("h7HQ"),r=e("1Jh7"),o=e("SKnc"),d=e("K2GJ"),n=e("Fofx"),l=e("NC18"),t=l.createFromString,s=e("bYtY"),u=s.isString,p=s.extend,w=s.defaults,b=s.trim,E=s.each,A=/[\s,]+/;function S(X){if(u(X)){var z=new DOMParser;X=z.parseFromString(X,"text/xml")}for(X.nodeType===9&&(X=X.firstChild);X.nodeName.toLowerCase()!=="svg"||X.nodeType!==1;)X=X.nextSibling;return X}function T(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}T.prototype.parse=function(X,z){z=z||{};var G=S(X);if(!G)throw new Error("Illegal svg");var Z=new g;this._root=Z;var ge=G.getAttribute("viewBox")||"",Q=parseFloat(G.getAttribute("width")||z.width),we=parseFloat(G.getAttribute("height")||z.height);isNaN(Q)&&(Q=null),isNaN(we)&&(we=null),k(G,Z,null,!0);for(var Ee=G.firstChild;Ee;)this._parseNode(Ee,Z),Ee=Ee.nextSibling;var Ae,Pe;if(ge){var Ge=b(ge).split(A);Ge.length>=4&&(Ae={x:parseFloat(Ge[0]||0),y:parseFloat(Ge[1]||0),width:parseFloat(Ge[2]),height:parseFloat(Ge[3])})}if(Ae&&Q!=null&&we!=null&&(Pe=H(Ae,Q,we),!z.ignoreViewBox)){var gt=Z;Z=new g,Z.add(gt),gt.scale=Pe.scale.slice(),gt.position=Pe.position.slice()}return!z.ignoreRootClip&&Q!=null&&we!=null&&Z.setClipPath(new v({shape:{x:0,y:0,width:Q,height:we}})),{root:Z,width:Q,height:we,viewBoxRect:Ae,viewBoxTransform:Pe}},T.prototype._parseNode=function(X,z){var G=X.nodeName.toLowerCase();G==="defs"?this._isDefine=!0:G==="text"&&(this._isText=!0);var Z;if(this._isDefine){var ge=x[G];if(ge){var Q=ge.call(this,X),we=X.getAttribute("id");we&&(this._defs[we]=Q)}}else{var ge=L[G];ge&&(Z=ge.call(this,X,z),z.add(Z))}for(var Ee=X.firstChild;Ee;)Ee.nodeType===1&&this._parseNode(Ee,Z),Ee.nodeType===3&&this._isText&&this._parseText(Ee,Z),Ee=Ee.nextSibling;G==="defs"?this._isDefine=!1:G==="text"&&(this._isText=!1)},T.prototype._parseText=function(X,z){if(X.nodeType===1){var G=X.getAttribute("dx")||0,Z=X.getAttribute("dy")||0;this._textX+=parseFloat(G),this._textY+=parseFloat(Z)}var ge=new y({style:{text:X.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});I(z,ge),k(X,ge,this._defs);var Q=ge.style.fontSize;Q&&Q<9&&(ge.style.fontSize=9,ge.scale=ge.scale||[1,1],ge.scale[0]*=Q/9,ge.scale[1]*=Q/9);var we=ge.getBoundingRect();return this._textX+=we.width,z.add(ge),ge};var L={g:function(z,G){var Z=new g;return I(G,Z),k(z,Z,this._defs),Z},rect:function(z,G){var Z=new v;return I(G,Z),k(z,Z,this._defs),Z.setShape({x:parseFloat(z.getAttribute("x")||0),y:parseFloat(z.getAttribute("y")||0),width:parseFloat(z.getAttribute("width")||0),height:parseFloat(z.getAttribute("height")||0)}),Z},circle:function(z,G){var Z=new m;return I(G,Z),k(z,Z,this._defs),Z.setShape({cx:parseFloat(z.getAttribute("cx")||0),cy:parseFloat(z.getAttribute("cy")||0),r:parseFloat(z.getAttribute("r")||0)}),Z},line:function(z,G){var Z=new c;return I(G,Z),k(z,Z,this._defs),Z.setShape({x1:parseFloat(z.getAttribute("x1")||0),y1:parseFloat(z.getAttribute("y1")||0),x2:parseFloat(z.getAttribute("x2")||0),y2:parseFloat(z.getAttribute("y2")||0)}),Z},ellipse:function(z,G){var Z=new h;return I(G,Z),k(z,Z,this._defs),Z.setShape({cx:parseFloat(z.getAttribute("cx")||0),cy:parseFloat(z.getAttribute("cy")||0),rx:parseFloat(z.getAttribute("rx")||0),ry:parseFloat(z.getAttribute("ry")||0)}),Z},polygon:function(z,G){var Z=z.getAttribute("points");Z&&(Z=N(Z));var ge=new i({shape:{points:Z||[]}});return I(G,ge),k(z,ge,this._defs),ge},polyline:function(z,G){var Z=new a;I(G,Z),k(z,Z,this._defs);var ge=z.getAttribute("points");ge&&(ge=N(ge));var Q=new r({shape:{points:ge||[]}});return Q},image:function(z,G){var Z=new f;return I(G,Z),k(z,Z,this._defs),Z.setStyle({image:z.getAttribute("xlink:href"),x:z.getAttribute("x"),y:z.getAttribute("y"),width:z.getAttribute("width"),height:z.getAttribute("height")}),Z},text:function(z,G){var Z=z.getAttribute("x")||0,ge=z.getAttribute("y")||0,Q=z.getAttribute("dx")||0,we=z.getAttribute("dy")||0;this._textX=parseFloat(Z)+parseFloat(Q),this._textY=parseFloat(ge)+parseFloat(we);var Ee=new g;return I(G,Ee),k(z,Ee,this._defs),Ee},tspan:function(z,G){var Z=z.getAttribute("x"),ge=z.getAttribute("y");Z!=null&&(this._textX=parseFloat(Z)),ge!=null&&(this._textY=parseFloat(ge));var Q=z.getAttribute("dx")||0,we=z.getAttribute("dy")||0,Ee=new g;return I(G,Ee),k(z,Ee,this._defs),this._textX+=Q,this._textY+=we,Ee},path:function(z,G){var Z=z.getAttribute("d")||"",ge=t(Z);return I(G,ge),k(z,ge,this._defs),ge}},x={lineargradient:function(z){var G=parseInt(z.getAttribute("x1")||0,10),Z=parseInt(z.getAttribute("y1")||0,10),ge=parseInt(z.getAttribute("x2")||10,10),Q=parseInt(z.getAttribute("y2")||0,10),we=new o(G,Z,ge,Q);return C(z,we),we},radialgradient:function(z){}};function C(X,z){for(var G=X.firstChild;G;){if(G.nodeType===1){var Z=G.getAttribute("offset");Z.indexOf("%")>0?Z=parseInt(Z,10)/100:Z?Z=parseFloat(Z):Z=0;var ge=G.getAttribute("stop-color")||"#000000";z.addColorStop(Z,ge)}G=G.nextSibling}}function I(X,z){X&&X.__inheritedStyle&&(z.__inheritedStyle||(z.__inheritedStyle={}),w(z.__inheritedStyle,X.__inheritedStyle))}function N(X){for(var z=b(X).split(A),G=[],Z=0;Z<z.length;Z+=2){var ge=parseFloat(z[Z]),Q=parseFloat(z[Z+1]);G.push([ge,Q])}return G}var F={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 k(X,z,G,Z){var ge=z.__inheritedStyle||{},Q=z.type==="text";if(X.nodeType===1&&(R(X,z),p(ge,j(X)),!Z)){for(var we in F)if(F.hasOwnProperty(we)){var Ee=X.getAttribute(we);Ee!=null&&(ge[F[we]]=Ee)}}var Ae=Q?"textFill":"fill",Pe=Q?"textStroke":"stroke";z.style=z.style||new d;var Ge=z.style;ge.fill!=null&&Ge.set(Ae,P(ge.fill,G)),ge.stroke!=null&&Ge.set(Pe,P(ge.stroke,G)),E(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(gt){var _e=gt==="lineWidth"&&Q?"textStrokeWidth":gt;ge[gt]!=null&&Ge.set(_e,parseFloat(ge[gt]))}),(!ge.textBaseline||ge.textBaseline==="auto")&&(ge.textBaseline="alphabetic"),ge.textBaseline==="alphabetic"&&(ge.textBaseline="bottom"),ge.textAlign==="start"&&(ge.textAlign="left"),ge.textAlign==="end"&&(ge.textAlign="right"),E(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(gt){ge[gt]!=null&&Ge.set(gt,ge[gt])}),ge.lineDash&&(z.style.lineDash=b(ge.lineDash).split(A)),Ge[Pe]&&Ge[Pe]!=="none"&&(z[Pe]=!0),z.__inheritedStyle=ge}var B=/url\(\s*#(.*?)\)/;function P(X,z){var G=z&&X&&X.match(B);if(G){var Z=b(G[1]),ge=z[Z];return ge}return X}var K=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function R(X,z){var G=X.getAttribute("transform");if(G){G=G.replace(/,/g," ");var Z=null,ge=[];G.replace(K,function(Ae,Pe,Ge){ge.push(Pe,Ge)});for(var Q=ge.length-1;Q>0;Q-=2){var we=ge[Q],Ee=ge[Q-1];Z=Z||n.create();switch(Ee){case"translate":we=b(we).split(A),n.translate(Z,Z,[parseFloat(we[0]),parseFloat(we[1]||0)]);break;case"scale":we=b(we).split(A),n.scale(Z,Z,[parseFloat(we[0]),parseFloat(we[1]||we[0])]);break;case"rotate":we=b(we).split(A),n.rotate(Z,Z,parseFloat(we[0]));break;case"skew":we=b(we).split(A),console.warn("Skew transform is not supported yet");break;case"matrix":var we=b(we).split(A);Z[0]=parseFloat(we[0]),Z[1]=parseFloat(we[1]),Z[2]=parseFloat(we[2]),Z[3]=parseFloat(we[3]),Z[4]=parseFloat(we[4]),Z[5]=parseFloat(we[5]);break}}z.setLocalTransform(Z)}}var U=/([^\s:;]+)\s*:\s*([^:;]+)/g;function j(X){var z=X.getAttribute("style"),G={};if(!z)return G;var Z={};U.lastIndex=0;for(var ge;(ge=U.exec(z))!=null;)Z[ge[1]]=ge[2];for(var Q in F)F.hasOwnProperty(Q)&&Z[Q]!=null&&(G[F[Q]]=Z[Q]);return G}function H(X,z,G){var Z=z/X.width,ge=G/X.height,Q=Math.min(Z,ge),we=[Q,Q],Ee=[-(X.x+X.width/2)*Q+z/2,-(X.y+X.height/2)*Q+G/2];return{scale:we,position:Ee}}function W(X,z){var G=new T;return G.parse(X,z)}_.parseXML=S,_.makeViewBoxTransform=H,_.parseSVG=W},MFOe:function(D,_,e){(function(g){var f=h(),y=c(),m=a(),v=typeof window!="undefined"?window:g;D.exports={assign:f,create:y,trim:m,bind:i,slice:r,each:o,map:d,pluck:n,isList:l,isFunction:t,isObject:s,Global:v};function h(){return Object.assign?Object.assign:function(p,w,b,E){for(var A=1;A<arguments.length;A++)o(Object(arguments[A]),function(S,T){p[T]=S});return p}}function c(){if(Object.create)return function(w,b,E,A){var S=r(arguments,1);return f.apply(this,[Object.create(w)].concat(S))};var u=function(){};return function(w,b,E,A){var S=r(arguments,1);return u.prototype=w,f.apply(this,[new u].concat(S))}}function a(){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 i(u,p){return function(){return p.apply(u,Array.prototype.slice.call(arguments,0))}}function r(u,p){return Array.prototype.slice.call(u,p||0)}function o(u,p){n(u,function(w,b){return p(w,b),!1})}function d(u,p){var w=l(u)?[]:{};return n(u,function(b,E){return w[E]=p(b,E),!1}),w}function n(u,p){if(l(u)){for(var w=0;w<u.length;w++)if(p(u[w],w))return u[w]}else for(var b in u)if(u.hasOwnProperty(b)&&p(u[b],b))return u[b]}function l(u){return u!=null&&typeof u!="function"&&typeof u.length=="number"}function t(u){return u&&{}.toString.call(u)==="[object Function]"}function s(u){return u&&{}.toString.call(u)==="[object Object]"}}).call(this,e("yLpj"))},MH26:function(D,_,e){var g=e("bYtY"),f=e("YXkt"),y=e("OELB"),m=e("kj2x"),v=e("c8qY"),h=e("iPDy"),c=e("7hqr"),a=c.getStackedDimension,i=function(s,u,p,w){var b=s.getData(),E=w.type;if(!g.isArray(w)&&(E==="min"||E==="max"||E==="average"||E==="median"||w.xAxis!=null||w.yAxis!=null)){var A,S;if(w.yAxis!=null||w.xAxis!=null)A=u.getAxis(w.yAxis!=null?"y":"x"),S=g.retrieve(w.yAxis,w.xAxis);else{var T=m.getAxisInfo(w,b,u,s);A=T.valueAxis;var L=a(b,T.valueDataDim);S=m.numCalculate(b,L,E)}var x=A.dim==="x"?0:1,C=1-x,I=g.clone(w),N={};I.type=null,I.coord=[],N.coord=[],I.coord[C]=-Infinity,N.coord[C]=Infinity;var F=p.get("precision");F>=0&&typeof S=="number"&&(S=+S.toFixed(Math.min(F,20))),I.coord[x]=N.coord[x]=S,w=[I,N,{type:E,valueIndex:w.valueIndex,value:S}]}return w=[m.dataTransform(s,w[0]),m.dataTransform(s,w[1]),g.extend({},w[2])],w[2].type=w[2].type||"",g.merge(w[2],w[0]),g.merge(w[2],w[1]),w};function r(s){return!isNaN(s)&&!isFinite(s)}function o(s,u,p,w){var b=1-s,E=w.dimensions[s];return r(u[b])&&r(p[b])&&u[s]===p[s]&&w.getAxis(E).containData(u[s])}function d(s,u){if(s.type==="cartesian2d"){var p=u[0].coord,w=u[1].coord;if(p&&w&&(o(1,p,w,s)||o(0,p,w,s)))return!0}return m.dataFilter(s,u[0])&&m.dataFilter(s,u[1])}function n(s,u,p,w,b){var E=w.coordinateSystem,A=s.getItemModel(u),S,T=y.parsePercent(A.get("x"),b.getWidth()),L=y.parsePercent(A.get("y"),b.getHeight());if(!isNaN(T)&&!isNaN(L))S=[T,L];else{if(w.getMarkerPosition)S=w.getMarkerPosition(s.getValues(s.dimensions,u));else{var x=E.dimensions,C=s.get(x[0],u),I=s.get(x[1],u);S=E.dataToPoint([C,I])}if(E.type==="cartesian2d"){var N=E.getAxis("x"),F=E.getAxis("y"),x=E.dimensions;r(s.get(x[0],u))?S[0]=N.toGlobalCoord(N.getExtent()[p?0:1]):r(s.get(x[1],u))&&(S[1]=F.toGlobalCoord(F.getExtent()[p?0:1]))}isNaN(T)||(S[0]=T),isNaN(L)||(S[1]=L)}s.setItemLayout(u,S)}var l=h.extend({type:"markLine",updateTransform:function(s,u,p){u.eachSeries(function(w){var b=w.markLineModel;if(b){var E=b.getData(),A=b.__from,S=b.__to;A.each(function(T){n(A,T,!0,w,p),n(S,T,!1,w,p)}),E.each(function(T){E.setItemLayout(T,[A.getItemLayout(T),S.getItemLayout(T)])}),this.markerGroupMap.get(w.id).updateLayout()}},this)},renderSeries:function(s,u,p,w){var b=s.coordinateSystem,E=s.id,A=s.getData(),S=this.markerGroupMap,T=S.get(E)||S.set(E,new v);this.group.add(T.group);var L=t(b,s,u),x=L.from,C=L.to,I=L.line;u.__from=x,u.__to=C,u.setData(I);var N=u.get("symbol"),F=u.get("symbolSize");g.isArray(N)||(N=[N,N]),typeof F=="number"&&(F=[F,F]),L.from.each(function(B){k(x,B,!0),k(C,B,!1)}),I.each(function(B){var P=I.getItemModel(B).get("lineStyle.color");I.setItemVisual(B,{color:P||x.getItemVisual(B,"color")}),I.setItemLayout(B,[x.getItemLayout(B),C.getItemLayout(B)]),I.setItemVisual(B,{fromSymbolSize:x.getItemVisual(B,"symbolSize"),fromSymbol:x.getItemVisual(B,"symbol"),toSymbolSize:C.getItemVisual(B,"symbolSize"),toSymbol:C.getItemVisual(B,"symbol")})}),T.updateData(I),L.line.eachItemGraphicEl(function(B,P){B.traverse(function(K){K.dataModel=u})});function k(B,P,K){var R=B.getItemModel(P);n(B,P,K,s,w),B.setItemVisual(P,{symbolSize:R.get("symbolSize")||F[K?0:1],symbol:R.get("symbol",!0)||N[K?0:1],color:R.get("itemStyle.color")||A.getVisual("color")})}T.__keep=!0,T.group.silent=u.get("silent")||s.get("silent")}});function t(s,u,p){var w;s?w=g.map(s&&s.dimensions,function(L){var x=u.getData().getDimensionInfo(u.getData().mapDimension(L))||{};return g.defaults({name:L},x)}):w=[{name:"value",type:"float"}];var b=new f(w,p),E=new f(w,p),A=new f([],p),S=g.map(p.get("data"),g.curry(i,u,s,p));s&&(S=g.filter(S,g.curry(d,s)));var T=s?m.dimValueGetter:function(L){return L.value};return b.initData(g.map(S,function(L){return L[0]}),null,T),E.initData(g.map(S,function(L){return L[1]}),null,T),A.initData(g.map(S,function(L){return L[2]})),A.hasItemOption=!0,{from:b,to:E,line:A}}D.exports=l},MHoB:function(D,_,e){var g=e("bYtY"),f=e("6uqw"),y=e("OELB"),m=[20,140],v=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(a,i){v.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(r){r.mappingMethod="linear",r.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){v.superApply(this,"resetItemSize",arguments);var a=this.itemSize;this._orient==="horizontal"&&a.reverse(),(a[0]==null||isNaN(a[0]))&&(a[0]=m[0]),(a[1]==null||isNaN(a[1]))&&(a[1]=m[1])},_resetRange:function(){var a=this.getExtent(),i=this.option.range;!i||i.auto?(a.auto=1,this.option.range=a):g.isArray(i)&&(i[0]>i[1]&&i.reverse(),i[0]=Math.max(i[0],a[0]),i[1]=Math.min(i[1],a[1]))},completeVisualOption:function(){f.prototype.completeVisualOption.apply(this,arguments),g.each(this.stateList,function(a){var i=this.option.controller[a].symbolSize;i&&i[0]!==i[1]&&(i[0]=0)},this)},setSelected:function(a){this.option.range=a.slice(),this._resetRange()},getSelected:function(){var a=this.getExtent(),i=y.asc((this.get("range")||[]).slice());return i[0]>a[1]&&(i[0]=a[1]),i[1]>a[1]&&(i[1]=a[1]),i[0]<a[0]&&(i[0]=a[0]),i[1]<a[0]&&(i[1]=a[0]),i},getValueState:function(a){var i=this.option.range,r=this.getExtent();return(i[0]<=r[0]||i[0]<=a)&&(i[1]>=r[1]||a<=i[1])?"inRange":"outOfRange"},findTargetDataIndices:function(a){var i=[];return this.eachTargetSeries(function(r){var o=[],d=r.getData();d.each(this.getDataDimension(d),function(n,l){a[0]<=n&&n<=a[1]&&o.push(l)},this),i.push({seriesId:r.id,dataIndex:o})},this),i},getVisualMeta:function(a){var i=h(this,"outOfRange",this.getExtent()),r=h(this,"inRange",this.option.range.slice()),o=[];function d(w,b){o.push({value:w,color:a(w,b)})}for(var n=0,l=0,t=r.length,s=i.length;l<s&&(!r.length||i[l]<=r[0]);l++)i[l]<r[n]&&d(i[l],"outOfRange");for(var u=1;n<t;n++,u=0)u&&o.length&&d(r[n],"outOfRange"),d(r[n],"inRange");for(var u=1;l<s;l++)(!r.length||r[r.length-1]<i[l])&&(u&&(o.length&&d(o[o.length-1].value,"outOfRange"),u=0),d(i[l],"outOfRange"));var p=o.length;return{stops:o,outerColors:[p?o[0].color:"transparent",p?o[p-1].color:"transparent"]}}});function h(a,i,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 c=v;D.exports=c},MHtr:function(D,_,e){var g=e("bYtY");function f(m,v){var h=this.getAxis(),c=v instanceof Array?v[0]:v,a=(m instanceof Array?m[0]:m)/2;return h.type==="category"?h.getBandWidth():Math.abs(h.dataToCoord(c-a)-h.dataToCoord(c+a))}function y(m){var v=m.getRect();return{coordSys:{type:"singleAxis",x:v.x,y:v.y,width:v.width,height:v.height},api:{coord:function(h){return m.dataToPoint(h)},size:g.bind(f,m)}}}D.exports=y},MJZm:function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),m=e.n(y),v=e("q1tI"),h=e("fAei"),c=e("TSYQ"),a=e.n(c),i=e("RIqP"),r=e.n(i),o=e("J4zp"),d=e.n(o),n=e("sEfC"),l=e.n(n),t=e("OZM5"),s=e("815F"),u=e("vk+C"),p=e.n(u),w=e("Vy0f"),b=e.n(w),E=e("kGiB"),A=e.n(E),S=e("H84U"),T;(function(W){W[W.None=0]="None",W[W.Start=1]="Start",W[W.End=2]="End"})(T||(T={}));function L(W,X){function z(G){var Z=G.key,ge=G.children;X(Z,G)!==!1&&L(ge||[],X)}W.forEach(z)}function x(W){var X=W.treeData,z=W.expandedKeys,G=W.startKey,Z=W.endKey,ge=[],Q=T.None;if(G&&G===Z)return[G];if(!G||!Z)return[];function we(Ee){return Ee===G||Ee===Z}return L(X,function(Ee){if(Q===T.End)return!1;if(we(Ee)){if(ge.push(Ee),Q===T.None)Q=T.Start;else if(Q===T.Start)return Q=T.End,!1}else Q===T.Start&&ge.push(Ee);return!(z.indexOf(Ee)===-1)}),ge}function C(W,X){var z=r()(X),G=[];return L(W,function(Z,ge){var Q=z.indexOf(Z);return Q!==-1&&(G.push(ge),z.splice(Q,1)),!!z.length}),G}var I=function(W,X){var z={};for(var G in W)Object.prototype.hasOwnProperty.call(W,G)&&X.indexOf(G)<0&&(z[G]=W[G]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,G=Object.getOwnPropertySymbols(W);Z<G.length;Z++)X.indexOf(G[Z])<0&&Object.prototype.propertyIsEnumerable.call(W,G[Z])&&(z[G[Z]]=W[G[Z]]);return z};function N(W){var X=W.isLeaf,z=W.expanded;return X?v.createElement(p.a,null):z?v.createElement(b.a,null):v.createElement(A.a,null)}function F(W){var X=W.treeData,z=W.children;return X||Object(s.c)(z)}var k=function(X,z){var G=X.defaultExpandAll,Z=X.defaultExpandParent,ge=X.defaultExpandedKeys,Q=I(X,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),we=v.useRef(),Ee=v.useRef(),Ae=v.createRef();v.useImperativeHandle(z,function(){return Ae.current});var Pe=function(){var Ye=Object(s.a)(F(Q)),et=Ye.keyEntities,rt;return G?rt=Object.keys(et):Z?rt=Object(t.e)(Q.expandedKeys||ge,et):rt=Q.expandedKeys||ge,rt},Ge=v.useState(Q.selectedKeys||Q.defaultSelectedKeys||[]),gt=d()(Ge,2),_e=gt[0],Ce=gt[1],lt=v.useState(Pe()),ce=d()(lt,2),Y=ce[0],V=ce[1];v.useEffect(function(){"selectedKeys"in Q&&Ce(Q.selectedKeys)},[Q.selectedKeys]),v.useEffect(function(){"expandedKeys"in Q&&V(Q.expandedKeys)},[Q.expandedKeys]);var $=function(Ye,et){var rt=et.isLeaf;if(rt||Ye.shiftKey||Ye.metaKey||Ye.ctrlKey)return;Ae.current.onNodeExpand(Ye,et)},Te=l()($,200,{leading:!0}),ye=function(Ye,et){return"expandedKeys"in Q||V(Ye),Q.onExpand?Q.onExpand(Ye,et):void 0},Fe=function(Ye,et){var rt=Q.expandAction;rt==="click"&&Te(Ye,et),Q.onClick&&Q.onClick(Ye,et)},Oe=function(Ye,et){var rt=Q.expandAction;rt==="doubleClick"&&Te(Ye,et),Q.onDoubleClick&&Q.onDoubleClick(Ye,et)},se=function(Ye,et){var rt=Q.multiple,st=et.node,Ve=et.nativeEvent,oe=st.key,re=oe===void 0?"":oe,it=F(Q),Qe=m()(m()({},et),{selected:!0}),ve=Ve.ctrlKey||Ve.metaKey,Zt=Ve.shiftKey,dt;rt&&ve?(dt=Ye,we.current=re,Ee.current=dt,Qe.selectedNodes=C(it,dt)):rt&&Zt?(dt=Array.from(new Set([].concat(r()(Ee.current||[]),r()(x({treeData:it,expandedKeys:Y,startKey:re,endKey:we.current}))))),Qe.selectedNodes=C(it,dt)):(dt=[re],we.current=re,Ee.current=dt,Qe.selectedNodes=C(it,dt)),Q.onSelect&&Q.onSelect(dt,Qe),"selectedKeys"in Q||Ce(dt)},fe=v.useContext(S.b),Le=fe.getPrefixCls,Je=fe.direction,mt=Q.prefixCls,Ct=Q.className,Ue=I(Q,["prefixCls","className"]),Rt=Le("tree",mt),Ke=a()("".concat(Rt,"-directory"),Ct,f()({},"".concat(Rt,"-directory-rtl"),Je==="rtl"));return v.createElement(j,m()({icon:N,ref:Ae,blockNode:!0},Ue,{prefixCls:Rt,className:Ke,expandedKeys:Y,selectedKeys:_e,onSelect:se,onClick:Fe,onDoubleClick:Oe,onExpand:ye}))},B=v.forwardRef(k);B.displayName="DirectoryTree",B.defaultProps={showIcon:!0,expandAction:"click"};var P=B,K=e("EXcs"),R=e("2jpz"),U=v.forwardRef(function(W,X){var z,G=v.useContext(S.b),Z=G.getPrefixCls,ge=G.direction,Q=G.virtual,we=W.prefixCls,Ee=W.className,Ae=W.showIcon,Pe=W.showLine,Ge=W.switcherIcon,gt=W.blockNode,_e=W.children,Ce=W.checkable,lt=m()(m()({},W),{showLine:Boolean(Pe)}),ce=Z("tree",we);return v.createElement(h.b,m()({itemHeight:20,ref:X,virtual:Q},lt,{prefixCls:ce,className:a()(Ee,(z={},f()(z,"".concat(ce,"-icon-hide"),!Ae),f()(z,"".concat(ce,"-block-node"),gt),f()(z,"".concat(ce,"-rtl"),ge==="rtl"),z)),checkable:Ce&&v.createElement("span",{className:"".concat(ce,"-checkbox-inner")}),switcherIcon:function(V){return Object(R.a)(ce,Ge,Pe,V)}}),_e)});U.TreeNode=h.a,U.DirectoryTree=P,U.defaultProps={checkable:!1,showIcon:!1,motion:m()(m()({},K.a),{motionAppear:!1}),blockNode:!1};var j=U,H=_.a=j},MKOG:function(D,_,e){var g=e("bYtY"),f=e("YH21"),y=f.Dispatcher,m=e("mLcG"),v=e("Bq2U"),h=function(i){i=i||{},this.stage=i.stage||{},this.onframe=i.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,y.call(this)};h.prototype={constructor:h,addClip:function(i){this._clips.push(i)},addAnimator:function(i){i.animation=this;for(var r=i.getClips(),o=0;o<r.length;o++)this.addClip(r[o])},removeClip:function(i){var r=g.indexOf(this._clips,i);r>=0&&this._clips.splice(r,1)},removeAnimator:function(i){for(var r=i.getClips(),o=0;o<r.length;o++)this.removeClip(r[o]);i.animation=null},_update:function(){for(var i=new Date().getTime()-this._pausedTime,r=i-this._time,o=this._clips,d=o.length,n=[],l=[],t=0;t<d;t++){var s=o[t],u=s.step(i,r);u&&(n.push(u),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=i,this.onframe(r),this.trigger("frame",r),this.stage.update&&this.stage.update()},_startLoop:function(){var i=this;this._running=!0;function r(){i._running&&(m(r),!i._paused&&i._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(i,r){r=r||{};var o=new v(i,r.loop,r.getter,r.setter);return this.addAnimator(o),o}},g.mixin(h,y);var c=h;D.exports=c},MMmD:function(D,_,e){var g=e("lSCD"),f=e("shjB");function y(m){return m!=null&&f(m.length)&&!g(m)}D.exports=y},MRoa:function(D,_,e){var g=e("ProS");e("0Bwj"),e("W2nI"),e("vcCh");var f=e("gawk"),y=e("Dg8C");g.registerLayout(f),g.registerVisual(y)},MT78:function(D,_,e){var g=e("ProS");(function(){for(var y in g){if(g==null||!g.hasOwnProperty(y)||y==="default"||y==="__esModule")return;_[y]=g[y]}})();var f=e("txkQ");(function(){for(var y in f){if(f==null||!f.hasOwnProperty(y)||y==="default"||y==="__esModule")return;_[y]=f[y]}})(),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(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("Kvyg"),m=e.n(y)},MZdM:function(D,_,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(_,"__esModule",{value:!0}),_.default=void 0;var f=a(e("Lo0S")),y=h(e("N/zr")),m=e("GdRQ"),v=e("GQ8N");function h(n){return n&&n.__esModule?n:{default:n}}function c(){if(typeof WeakMap!="function")return null;var n=new WeakMap;return c=function(){return n},n}function a(n){if(n&&n.__esModule)return n;if(n===null||g(n)!=="object"&&typeof n!="function")return{default:n};var l=c();if(l&&l.has(n))return l.get(n);var t={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in n)if(Object.prototype.hasOwnProperty.call(n,u)){var p=s?Object.getOwnPropertyDescriptor(n,u):null;p&&(p.get||p.set)?Object.defineProperty(t,u,p):t[u]=n[u]}return t.default=n,l&&l.set(n,t),t}function i(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(i(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 u=this._viewportLoc;t=Math.floor(t),s=Math.floor(s),this._clipViewport||(t=-u.w,s=-u.h);var p=u.x+u.w-1,w=u.y+u.h-1;if(t<0&&u.x+t<0&&(t=-u.x),p+t>=this._fbWidth&&(t-=p+t-this._fbWidth+1),u.y+s<0&&(s=-u.y),w+s>=this._fbHeight&&(s-=w+s-this._fbHeight+1),t===0&&s===0)return;f.Debug("viewportChange deltaX: "+t+", deltaY: "+s),u.x+=t,u.y+=s,this._damage(u.x,u.y,u.w,u.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 u=this._viewportLoc;if(u.w!==t||u.h!==s){u.w=t,u.h=s;var p=this._target;p.width=t,p.height=s,this.viewportChangePos(0,0),this._damage(u.x,u.y,u.w,u.h),this.flip(),this._rescale(this._scale)}}},{key:"absX",value:function(t){return this._scale===0?0:(0,v.toSigned32bit)(t/this._scale+this._viewportLoc.x)}},{key:"absY",value:function(t){return this._scale===0?0:(0,v.toSigned32bit)(t/this._scale+this._viewportLoc.y)}},{key:"resize",value:function(t,s){this._prevDrawStyle="",this._fbWidth=t,this._fbHeight=s;var u=this._backbuffer;if(u.width!==t||u.height!==s){var p=null;u.width>0&&u.height>0&&(p=this._drawCtx.getImageData(0,0,u.width,u.height)),u.width!==t&&(u.width=t),u.height!==s&&(u.height=s),p&&this._drawCtx.putImageData(p,0,0)}var w=this._viewportLoc;this.viewportChangeSize(w.w,w.h),this.viewportChangePos(0,0)}},{key:"_damage",value:function(t,s,u,p){t<this._damageBounds.left&&(this._damageBounds.left=t),s<this._damageBounds.top&&(this._damageBounds.top=s),t+u>this._damageBounds.right&&(this._damageBounds.right=t+u),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,u=this._damageBounds.top,p=this._damageBounds.right-s,w=this._damageBounds.bottom-u,b=s-this._viewportLoc.x,E=u-this._viewportLoc.y;b<0&&(p+=b,s-=b,b=0),E<0&&(w+=E,u-=E,E=0),b+p>this._viewportLoc.w&&(p=this._viewportLoc.w-b),E+w>this._viewportLoc.h&&(w=this._viewportLoc.h-E),p>0&&w>0&&this._targetCtx.drawImage(this._backbuffer,s,u,p,w,b,E,p,w),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,u,p,w,b){this._renderQ.length!==0&&!b?this._renderQPush({type:"fill",x:t,y:s,width:u,height:p,color:w}):(this._setFillColor(w),this._drawCtx.fillRect(t,s,u,p),this._damage(t,s,u,p))}},{key:"copyImage",value:function(t,s,u,p,w,b,E){this._renderQ.length!==0&&!E?this._renderQPush({type:"copy",oldX:t,oldY:s,x:u,y:p,width:w,height:b}):(this._drawCtx.mozImageSmoothingEnabled=!1,this._drawCtx.webkitImageSmoothingEnabled=!1,this._drawCtx.msImageSmoothingEnabled=!1,this._drawCtx.imageSmoothingEnabled=!1,this._drawCtx.drawImage(this._backbuffer,t,s,w,b,u,p,w,b),this._damage(u,p,w,b))}},{key:"imageRect",value:function(t,s,u,p,w,b){if(u===0||p===0)return;var E=new Image;E.src="data: "+w+";base64,"+y.default.encode(b),this._renderQPush({type:"img",img:E,x:t,y:s,width:u,height:p})}},{key:"startTile",value:function(t,s,u,p,w){this._tileX=t,this._tileY=s,u===16&&p===16?this._tile=this._tile16x16:this._tile=this._drawCtx.createImageData(u,p);for(var b=w[2],E=w[1],A=w[0],S=this._tile.data,T=0;T<u*p*4;T+=4)S[T]=b,S[T+1]=E,S[T+2]=A,S[T+3]=255}},{key:"subTile",value:function(t,s,u,p,w){for(var b=w[2],E=w[1],A=w[0],S=t+u,T=s+p,L=this._tile.data,x=this._tile.width,C=s;C<T;C++)for(var I=t;I<S;I++){var N=(I+C*x)*4;L[N]=b,L[N+1]=E,L[N+2]=A,L[N+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,u,p,w,b,E){if(this._renderQ.length!==0&&!E){var A=new Uint8Array(u*p*4);A.set(new Uint8Array(w.buffer,0,A.length)),this._renderQPush({type:"blit",data:A,x:t,y:s,width:u,height:p})}else this._bgrxImageData(t,s,u,p,w,b)}},{key:"blitRgbImage",value:function(t,s,u,p,w,b,E){if(this._renderQ.length!==0&&!E){var A=new Uint8Array(u*p*3);A.set(new Uint8Array(w.buffer,0,A.length)),this._renderQPush({type:"blitRgb",data:A,x:t,y:s,width:u,height:p})}else this._rgbImageData(t,s,u,p,w,b)}},{key:"blitRgbxImage",value:function(t,s,u,p,w,b,E){if(this._renderQ.length!==0&&!E){var A=new Uint8Array(u*p*4);A.set(new Uint8Array(w.buffer,0,A.length)),this._renderQPush({type:"blitRgbx",data:A,x:t,y:s,width:u,height:p})}else this._rgbxImageData(t,s,u,p,w,b)}},{key:"drawImage",value:function(t,s,u){this._drawCtx.drawImage(t,s,u),this._damage(s,u,t.width,t.height)}},{key:"autoscale",value:function(t,s){var u;if(t===0||s===0)u=0;else{var p=this._viewportLoc,w=t/s,b=p.w/p.h;b>=w?u=t/p.w:u=s/p.h}this._rescale(u)}},{key:"_rescale",value:function(t){this._scale=t;var s=this._viewportLoc,u=t*s.w+"px",p=t*s.h+"px";(this._target.style.width!==u||this._target.style.height!==p)&&(this._target.style.width=u,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,u,p,w,b){for(var E=this._drawCtx.createImageData(u,p),A=E.data,S=0,T=b;S<u*p*4;S+=4,T+=3)A[S]=w[T],A[S+1]=w[T+1],A[S+2]=w[T+2],A[S+3]=255;this._drawCtx.putImageData(E,t,s),this._damage(t,s,E.width,E.height)}},{key:"_bgrxImageData",value:function(t,s,u,p,w,b){for(var E=this._drawCtx.createImageData(u,p),A=E.data,S=0,T=b;S<u*p*4;S+=4,T+=4)A[S]=w[T+2],A[S+1]=w[T+1],A[S+2]=w[T],A[S+3]=255;this._drawCtx.putImageData(E,t,s),this._damage(t,s,E.width,E.height)}},{key:"_rgbxImageData",value:function(t,s,u,p,w,b){var E;m.supportsImageMetadata?E=new ImageData(new Uint8ClampedArray(w.buffer,w.byteOffset,u*p*4),u,p):(E=this._drawCtx.createImageData(u,p),E.data.set(new Uint8ClampedArray(w.buffer,w.byteOffset,u*p*4))),this._drawCtx.putImageData(E,t,s),this._damage(t,s,E.width,E.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}();_.default=d},Mdki:function(D,_,e){var g=e("bYtY"),f=g.each,y="\0__link_datas",m="\0__link_mainData";function v(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(u){f(t.TRANSFERABLE_METHODS,function(p){u.wrapMethod(p,g.curry(h,l))})}),t.wrapMethod("cloneShallow",g.curry(a,l)),f(t.CHANGABLE_METHODS,function(u){t.wrapMethod(u,g.curry(c,l))}),g.assert(s[t.dataType]===t)}function h(l,t){if(r(this)){var s=g.extend({},this[y]);s[this.dataType]=t,o(t,s,l)}else d(t,this.dataType,this[m],l);return t}function c(l,t){return l.struct&&l.struct.update(this),t}function a(l,t){return f(t[y],function(s,u){s!==t&&d(s.cloneShallow(),u,t,l)}),t}function i(l){var t=this[m];return l==null||t==null?t:t[y][l]}function r(l){return l[m]===l}function o(l,t,s){l[y]={},f(t,function(u,p){d(u,p,l,s)})}function d(l,t,s,u){s[y][t]=l,l[m]=s,l.dataType=t,u.struct&&(l[u.structAttr]=u.struct,u.struct[u.datasAttr[t]]=l),l.getLinkedData=i}var n=v;D.exports=n},Mds0:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("8IMR")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="StarFilled";var c=y.forwardRef(h);_.default=c},Mgri:function(D,_,e){for(var g=e("bYtY"),f=e("8nly"),y=[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]]],v=0;v<m.length;v++)for(var h=0;h<m[v].length;h++)m[v][h][0]/=10.5,m[v][h][1]/=-10.5/.75,m[v][h][0]+=y[0],m[v][h][1]+=y[1];function c(a,i){a==="china"&&i.push(new f("\u5357\u6D77\u8BF8\u5C9B",g.map(m,function(r){return{type:"polygon",exterior:r}}),y))}D.exports=c},Mmt2:function(D,_,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(_,"__esModule",{value:!0}),_.default=void 0;var f=m(e("Lo0S"));function y(){if(typeof WeakMap!="function")return null;var o=new WeakMap;return y=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=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 v(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 c(o,d,n){return d&&h(o.prototype,d),n&&h(o,n),o}var a=!1,i=40*1024*1024,r=function(){function o(){v(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 c(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>i&&(this._rQbufferSize=i,this._rQbufferSize-this.rQlen<n))throw new Error("Receive Queue buffer exceeded "+i+" 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 a?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}();_.default=r},MqEG:function(D,_,e){var g=e("bYtY"),f=e("fc+c"),y=e("72pK"),m=e("VXYp"),v=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 u=g.map(t,function(p){return m.generateCoordId(p.model)});g.each(t,function(p){var w=p.model,b={};g.each(["pan","zoom","scrollMove"],function(E){b[E]=v(c[E],this,p,s)},this),m.register(n,{coordId:m.generateCoordId(w),allCoordIds:u,containsPoint:function(E,A,S){return w.coordinateSystem.containPoint([A,S])},dataZoomId:o.id,dataZoomModel:o,getRange:b})},this)},this)},dispose:function(){m.unregister(this.api,this.dataZoomModel.id),h.superApply(this,"dispose",arguments),this._range=null}}),c={zoom:function(o,d,n,l){var t=this._range,s=t.slice(),u=o.axisModels[0];if(!u)return;var p=i[d](null,[l.originX,l.originY],u,n,o),w=(p.signal>0?p.pixelStart+p.pixelLength-p.pixel:p.pixel-p.pixelStart)/p.pixelLength*(s[1]-s[0])+s[0],b=Math.max(1/l.scale,0);s[0]=(s[0]-w)*b+w,s[1]=(s[1]-w)*b+w;var E=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(y(0,s,[0,100],0,E.minSpan,E.maxSpan),this._range=s,t[0]!==s[0]||t[1]!==s[1])return s},pan:a(function(o,d,n,l,t,s){var u=i[l]([s.oldX,s.oldY],[s.newX,s.newY],d,t,n);return u.signal*(o[1]-o[0])*u.pixel/u.pixelLength}),scrollMove:a(function(o,d,n,l,t,s){var u=i[l]([0,0],[s.scrollDelta,s.scrollDelta],d,t,n);return u.signal*(o[1]-o[0])*s.scrollDelta})};function a(o){return function(d,n,l,t){var s=this._range,u=s.slice(),p=d.axisModels[0];if(!p)return;var w=o(u,p,d,n,l,t);if(y(w,u,[0,100],"all"),this._range=u,s[0]!==u[0]||s[1]!==u[1])return u}}var i={grid:function(o,d,n,l,t){var s=n.axis,u={},p=t.model.coordinateSystem.getRect();return o=o||[0,0],s.dim==="x"?(u.pixel=d[0]-o[0],u.pixelLength=p.width,u.pixelStart=p.x,u.signal=s.inverse?1:-1):(u.pixel=d[1]-o[1],u.pixelLength=p.height,u.pixelStart=p.y,u.signal=s.inverse?-1:1),u},polar:function(o,d,n,l,t){var s=n.axis,u={},p=t.model.coordinateSystem,w=p.getRadiusAxis().getExtent(),b=p.getAngleAxis().getExtent();return o=o?p.pointToCoord(o):[0,0],d=p.pointToCoord(d),n.mainType==="radiusAxis"?(u.pixel=d[0]-o[0],u.pixelLength=w[1]-w[0],u.pixelStart=w[0],u.signal=s.inverse?1:-1):(u.pixel=d[1]-o[1],u.pixelLength=b[1]-b[0],u.pixelStart=b[0],u.signal=s.inverse?-1:1),u},singleAxis:function(o,d,n,l,t){var s=n.axis,u=t.model.coordinateSystem.getRect(),p={};return o=o||[0,0],s.orient==="horizontal"?(p.pixel=d[0]-o[0],p.pixelLength=u.width,p.pixelStart=u.x,p.signal=s.inverse?1:-1):(p.pixel=d[1]-o[1],p.pixelLength=u.height,p.pixelStart=u.y,p.signal=s.inverse?-1:1),p}},r=h;D.exports=r},MvSz:function(D,_,e){var g=e("LXxW"),f=e("0ycA"),y=Object.prototype,m=y.propertyIsEnumerable,v=Object.getOwnPropertySymbols,h=v?function(c){return c==null?[]:(c=Object(c),g(v(c),function(a){return m.call(c,a)}))}:f;D.exports=h},MwEJ:function(D,_,e){var g=e("bYtY"),f=e("YXkt"),y=e("sdST"),m=e("k9D9"),v=m.SOURCE_FORMAT_ORIGINAL,h=e("L0Ub"),c=h.getDimensionTypeByAxis,a=e("4NO4"),i=a.getDataItemValue,r=e("IDmD"),o=e("i38C"),d=o.getCoordSysInfoBySeries,n=e("7G+c"),l=e("7hqr"),t=l.enableDataStack,s=e("D5nY"),u=s.makeSeriesEncodeForAxisCoordSys;function p(A,S,T){T=T||{},n.isInstance(A)||(A=n.seriesDataToSource(A));var L=S.get("coordinateSystem"),x=r.get(L),C=d(S),I;C&&(I=g.map(C.coordSysDims,function(R){var U={name:R},j=C.axisMap.get(R);if(j){var H=j.get("type");U.type=c(H)}return U})),I||(I=x&&(x.getDimensionsInfo?x.getDimensionsInfo():x.dimensions.slice())||["x","y"]);var N=y(A,{coordDimensions:I,generateCoord:T.generateCoord,encodeDefaulter:T.useEncodeDefaulter?g.curry(u,I,S):null}),F,k;C&&g.each(N,function(R,U){var j=R.coordDim,H=C.categoryAxisMap.get(j);H&&(F==null&&(F=U),R.ordinalMeta=H.getOrdinalMeta()),R.otherDims.itemName!=null&&(k=!0)}),!k&&F!=null&&(N[F].otherDims.itemName=0);var B=t(S,N),P=new f(N,S);P.setCalculationInfo(B);var K=F!=null&&w(A)?function(R,U,j,H){return H===F?j:this.defaultDimValueGetter(R,U,j,H)}:null;return P.hasItemOption=!1,P.initData(A,null,K),P}function w(A){if(A.sourceFormat===v){var S=b(A.data||[]);return S!=null&&!g.isArray(i(S))}}function b(A){for(var S=0;S<A.length&&A[S]==null;)S++;return A[S]}var E=p;D.exports=E},Mylv:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("IwbS"),m=e("oVpE"),v=m.createSymbol,h=e("OELB"),c=h.parsePercent,a=h.isNumeric,i=e("56rv"),r=i.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 y.Circle,l=g.extendChartView({type:"pictorialBar",render:function(W,X,z){var G=this.group,Z=W.getData(),ge=this._data,Q=W.coordinateSystem,we=Q.getBaseAxis(),Ee=!!we.isHorizontal(),Ae=Q.grid.getRect(),Pe={ecSize:{width:z.getWidth(),height:z.getHeight()},seriesModel:W,coordSys:Q,coordSysExtent:[[Ae.x,Ae.x+Ae.width],[Ae.y,Ae.y+Ae.height]],isHorizontal:Ee,valueDim:d[+Ee],categoryDim:d[1-Ee]};return Z.diff(ge).add(function(Ge){if(!Z.hasValue(Ge))return;var gt=x(Z,Ge),_e=t(Z,Ge,gt,Pe),Ce=F(Z,Pe,_e);Z.setItemGraphicEl(Ge,Ce),G.add(Ce),U(Ce,Pe,_e)}).update(function(Ge,gt){var _e=ge.getItemGraphicEl(gt);if(!Z.hasValue(Ge)){G.remove(_e);return}var Ce=x(Z,Ge),lt=t(Z,Ge,Ce,Pe),ce=P(Z,lt);_e&&ce!==_e.__pictorialShapeStr&&(G.remove(_e),Z.setItemGraphicEl(Ge,null),_e=null),_e?k(_e,Pe,lt):_e=F(Z,Pe,lt,!0),Z.setItemGraphicEl(Ge,_e),_e.__pictorialSymbolMeta=lt,G.add(_e),U(_e,Pe,lt)}).remove(function(Ge){var gt=ge.getItemGraphicEl(Ge);gt&&B(ge,Ge,gt.__pictorialSymbolMeta.animationModel,gt)}).execute(),this._data=Z,this.group},dispose:f.noop,remove:function(W,X){var z=this.group,G=this._data;W.get("animation")?G&&G.eachItemGraphicEl(function(Z){B(G,Z.dataIndex,W,Z)}):z.removeAll()}});function t(W,X,z,G){var Z=W.getItemLayout(X),ge=z.get("symbolRepeat"),Q=z.get("symbolClip"),we=z.get("symbolPosition")||"start",Ee=z.get("symbolRotate"),Ae=(Ee||0)*Math.PI/180||0,Pe=z.get("symbolPatternSize")||2,Ge=z.isAnimationEnabled(),gt={dataIndex:X,layout:Z,itemModel:z,symbolType:W.getItemVisual(X,"symbol")||"circle",color:W.getItemVisual(X,"color"),symbolClip:Q,symbolRepeat:ge,symbolRepeatDirection:z.get("symbolRepeatDirection"),symbolPatternSize:Pe,rotation:Ae,animationModel:Ge?z:null,hoverAnimation:Ge&&z.get("hoverAnimation"),z2:z.getShallow("z",!0)||0};s(z,ge,Z,G,gt),p(W,X,Z,ge,Q,gt.boundingLength,gt.pxSign,Pe,G,gt),w(z,gt.symbolScale,Ae,G,gt);var _e=gt.symbolSize,Ce=z.get("symbolOffset");return f.isArray(Ce)&&(Ce=[c(Ce[0],_e[0]),c(Ce[1],_e[1])]),b(z,_e,Z,ge,Q,Ce,we,gt.valueLineWidth,gt.boundingLength,gt.repeatCutLength,G,gt),gt}function s(W,X,z,G,Z){var ge=G.valueDim,Q=W.get("symbolBoundingData"),we=G.coordSys.getOtherAxis(G.coordSys.getBaseAxis()),Ee=we.toGlobalCoord(we.dataToCoord(0)),Ae=1-+(z[ge.wh]<=0),Pe;if(f.isArray(Q)){var Ge=[u(we,Q[0])-Ee,u(we,Q[1])-Ee];Ge[1]<Ge[0]&&Ge.reverse(),Pe=Ge[Ae]}else Q!=null?Pe=u(we,Q)-Ee:X?Pe=G.coordSysExtent[ge.index][Ae]-Ee:Pe=z[ge.wh];Z.boundingLength=Pe,X&&(Z.repeatCutLength=z[ge.wh]),Z.pxSign=Pe>0?1:Pe<0?-1:0}function u(W,X){return W.toGlobalCoord(W.dataToCoord(W.scale.parse(X)))}function p(W,X,z,G,Z,ge,Q,we,Ee,Ae){var Pe=Ee.valueDim,Ge=Ee.categoryDim,gt=Math.abs(z[Ge.wh]),_e=W.getItemVisual(X,"symbolSize");f.isArray(_e)?_e=_e.slice():(_e==null&&(_e="100%"),_e=[_e,_e]),_e[Ge.index]=c(_e[Ge.index],gt),_e[Pe.index]=c(_e[Pe.index],G?gt:Math.abs(ge)),Ae.symbolSize=_e;var Ce=Ae.symbolScale=[_e[0]/we,_e[1]/we];Ce[Pe.index]*=(Ee.isHorizontal?-1:1)*Q}function w(W,X,z,G,Z){var ge=W.get(o)||0;ge&&(n.attr({scale:X.slice(),rotation:z}),n.updateTransform(),ge/=n.getLineScale(),ge*=X[G.valueDim.index]),Z.valueLineWidth=ge}function b(W,X,z,G,Z,ge,Q,we,Ee,Ae,Pe,Ge){var gt=Pe.categoryDim,_e=Pe.valueDim,Ce=Ge.pxSign,lt=Math.max(X[_e.index]+we,0),ce=lt;if(G){var Y=Math.abs(Ee),V=f.retrieve(W.get("symbolMargin"),"15%")+"",$=!1;V.lastIndexOf("!")===V.length-1&&($=!0,V=V.slice(0,V.length-1)),V=c(V,X[_e.index]);var Te=Math.max(lt+V*2,0),ye=$?0:V*2,Fe=a(G),Oe=Fe?G:j((Y+ye)/Te),se=Y-Oe*lt;V=se/2/($?Oe:Oe-1),Te=lt+V*2,ye=$?0:V*2,!Fe&&G!=="fixed"&&(Oe=Ae?j((Math.abs(Ae)+ye)/Te):0),ce=Oe*Te-ye,Ge.repeatTimes=Oe,Ge.symbolMargin=V}var fe=Ce*(ce/2),Le=Ge.pathPosition=[];Le[gt.index]=z[gt.wh]/2,Le[_e.index]=Q==="start"?fe:Q==="end"?Ee-fe:Ee/2,ge&&(Le[0]+=ge[0],Le[1]+=ge[1]);var Je=Ge.bundlePosition=[];Je[gt.index]=z[gt.xy],Je[_e.index]=z[_e.xy];var mt=Ge.barRectShape=f.extend({},z);mt[_e.wh]=Ce*Math.max(Math.abs(z[_e.wh]),Math.abs(Le[_e.index]+fe)),mt[gt.wh]=z[gt.wh];var Ct=Ge.clipShape={};Ct[gt.xy]=-z[gt.xy],Ct[gt.wh]=Pe.ecSize[gt.wh],Ct[_e.xy]=0,Ct[_e.wh]=z[_e.wh]}function E(W){var X=W.symbolPatternSize,z=v(W.symbolType,-X/2,-X/2,X,X,W.color);return z.attr({culling:!0}),z.type!=="image"&&z.setStyle({strokeNoScale:!0}),z}function A(W,X,z,G){var Z=W.__pictorialBundle,ge=z.symbolSize,Q=z.valueLineWidth,we=z.pathPosition,Ee=X.valueDim,Ae=z.repeatTimes||0,Pe=0,Ge=ge[X.valueDim.index]+Q+z.symbolMargin*2;for(K(W,function(Y){Y.__pictorialAnimationIndex=Pe,Y.__pictorialRepeatTimes=Ae,Pe<Ae?R(Y,null,Ce(Pe),z,G):R(Y,null,{scale:[0,0]},z,G,function(){Z.remove(Y)}),N(Y,z),Pe++});Pe<Ae;Pe++){var gt=E(z);gt.__pictorialAnimationIndex=Pe,gt.__pictorialRepeatTimes=Ae,Z.add(gt);var _e=Ce(Pe);R(gt,{position:_e.position,scale:[0,0]},{scale:_e.scale,rotation:_e.rotation},z,G),gt.on("mouseover",lt).on("mouseout",ce),N(gt,z)}function Ce(Y){var V=we.slice(),$=z.pxSign,Te=Y;return(z.symbolRepeatDirection==="start"?$>0:$<0)&&(Te=Ae-1-Y),V[Ee.index]=Ge*(Te-Ae/2+.5)+we[Ee.index],{position:V,scale:z.symbolScale.slice(),rotation:z.rotation}}function lt(){K(W,function(Y){Y.trigger("emphasis")})}function ce(){K(W,function(Y){Y.trigger("normal")})}}function S(W,X,z,G){var Z=W.__pictorialBundle,ge=W.__pictorialMainPath;ge?R(ge,null,{position:z.pathPosition.slice(),scale:z.symbolScale.slice(),rotation:z.rotation},z,G):(ge=W.__pictorialMainPath=E(z),Z.add(ge),R(ge,{position:z.pathPosition.slice(),scale:[0,0],rotation:z.rotation},{scale:z.symbolScale.slice()},z,G),ge.on("mouseover",Q).on("mouseout",we)),N(ge,z);function Q(){this.trigger("emphasis")}function we(){this.trigger("normal")}}function T(W,X,z){var G=f.extend({},X.barRectShape),Z=W.__pictorialBarRect;Z?R(Z,null,{shape:G},X,z):(Z=W.__pictorialBarRect=new y.Rect({z2:2,shape:G,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),W.add(Z))}function L(W,X,z,G){if(z.symbolClip){var Z=W.__pictorialClipPath,ge=f.extend({},z.clipShape),Q=X.valueDim,we=z.animationModel,Ee=z.dataIndex;if(Z)y.updateProps(Z,{shape:ge},we,Ee);else{ge[Q.wh]=0,Z=new y.Rect({shape:ge}),W.__pictorialBundle.setClipPath(Z),W.__pictorialClipPath=Z;var Ae={};Ae[Q.wh]=z.clipShape[Q.wh],y[G?"updateProps":"initProps"](Z,{shape:Ae},we,Ee)}}}function x(W,X){var z=W.getItemModel(X);return z.getAnimationDelayParams=C,z.isAnimationEnabled=I,z}function C(W){return{index:W.__pictorialAnimationIndex,count:W.__pictorialRepeatTimes}}function I(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function N(W,X){W.off("emphasis").off("normal");var z=X.symbolScale.slice();X.hoverAnimation&&W.on("emphasis",function(){this.animateTo({scale:[z[0]*1.1,z[1]*1.1]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:z.slice()},400,"elasticOut")})}function F(W,X,z,G){var Z=new y.Group,ge=new y.Group;return Z.add(ge),Z.__pictorialBundle=ge,ge.attr("position",z.bundlePosition.slice()),z.symbolRepeat?A(Z,X,z):S(Z,X,z),T(Z,z,G),L(Z,X,z,G),Z.__pictorialShapeStr=P(W,z),Z.__pictorialSymbolMeta=z,Z}function k(W,X,z){var G=z.animationModel,Z=z.dataIndex,ge=W.__pictorialBundle;y.updateProps(ge,{position:z.bundlePosition.slice()},G,Z),z.symbolRepeat?A(W,X,z,!0):S(W,X,z,!0),T(W,z,!0),L(W,X,z,!0)}function B(W,X,z,G){var Z=G.__pictorialBarRect;Z&&(Z.style.text=null);var ge=[];K(G,function(Q){ge.push(Q)}),G.__pictorialMainPath&&ge.push(G.__pictorialMainPath),G.__pictorialClipPath&&(z=null),f.each(ge,function(Q){y.updateProps(Q,{scale:[0,0]},z,X,function(){G.parent&&G.parent.remove(G)})}),W.setItemGraphicEl(X,null)}function P(W,X){return[W.getItemVisual(X.dataIndex,"symbol")||"none",!!X.symbolRepeat,!!X.symbolClip].join(":")}function K(W,X,z){f.each(W.__pictorialBundle.children(),function(G){G!==W.__pictorialBarRect&&X.call(z,G)})}function R(W,X,z,G,Z,ge){X&&W.attr(X),G.symbolClip&&!Z?z&&W.attr(z):z&&y[Z?"updateProps":"initProps"](W,z,G.animationModel,G.dataIndex,ge)}function U(W,X,z){var G=z.color,Z=z.dataIndex,ge=z.itemModel,Q=ge.getModel("itemStyle").getItemStyle(["color"]),we=ge.getModel("emphasis.itemStyle").getItemStyle(),Ee=ge.getShallow("cursor");K(W,function(gt){gt.setColor(G),gt.setStyle(f.defaults({fill:G,opacity:z.opacity},Q)),y.setHoverStyle(gt,we),Ee&&(gt.cursor=Ee),gt.z2=z.z2});var Ae={},Pe=X.valueDim.posDesc[+(z.boundingLength>0)],Ge=W.__pictorialBarRect;r(Ge.style,Ae,ge,G,X.seriesModel,Z,Pe),y.setHoverStyle(Ge,Ae)}function j(W){var X=Math.round(W);return Math.abs(W-X)<1e-4?X:Math.ceil(W)}var H=l;D.exports=H},"N/zr":function(D,_,e){"use strict";function g(h){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(a){return typeof a}:g=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},g(h)}Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var f=m(e("Lo0S"));function y(){if(typeof WeakMap!="function")return null;var h=new WeakMap;return y=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 c=y();if(c&&c.has(h))return c.get(h);var a={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in h)if(Object.prototype.hasOwnProperty.call(h,r)){var o=i?Object.getOwnPropertyDescriptor(h,r):null;o&&(o.get||o.set)?Object.defineProperty(a,r,o):a[r]=h[r]}return a.default=h,c&&c.set(h,a),a}var v={toBase64Table:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),base64Pad:"=",encode:function(c){"use strict";for(var a="",i=c.length,r=i%3,o=0;o<i-2;o+=3)a+=this.toBase64Table[c[o]>>2],a+=this.toBase64Table[((c[o]&3)<<4)+(c[o+1]>>4)],a+=this.toBase64Table[((c[o+1]&15)<<2)+(c[o+2]>>6)],a+=this.toBase64Table[c[o+2]&63];var d=i-r;return r===2?(a+=this.toBase64Table[c[d]>>2],a+=this.toBase64Table[((c[d]&3)<<4)+(c[d+1]>>4)],a+=this.toBase64Table[(c[d+1]&15)<<2],a+=this.toBase64Table[64]):r===1&&(a+=this.toBase64Table[c[d]>>2],a+=this.toBase64Table[(c[d]&3)<<4],a+=this.toBase64Table[64],a+=this.toBase64Table[64]),a},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(c){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,i=c.indexOf("=")-a;i<0&&(i=c.length-a);for(var r=(i>>2)*3+Math.floor(i%4/1.5),o=new Array(r),d=0,n=0,l=0,t=a;t<c.length;t++){var s=this.toBinaryTable[c.charCodeAt(t)&127],u=c.charAt(t)===this.base64Pad;if(s===-1){f.Error("Illegal character code "+c.charCodeAt(t)+" at position "+t);continue}n=n<<6|s,d+=6,d>=8&&(d-=8,u||(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}};_.default=v},N5BQ:function(D,_,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"}}}),y=f;D.exports=y},NA0q:function(D,_,e){var g=e("bYtY"),f=e("6Ic6"),y=e("TkdX"),m=e("gPAo"),v=e("7aKB"),h=v.windowOpen,c="sunburstRootToNode",a=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,u=r.getViewRoot(),p=this.group,w=r.get("renderLabelForZeroData"),b=[];u.eachNode(function(I){b.push(I)});var E=this._oldChildren||[];if(T(b,E),C(s,u),n&&n.highlight&&n.highlight.piece){var A=r.getShallow("highlightPolicy");n.highlight.piece.onEmphasis(A)}else if(n&&n.unhighlight){var S=this.virtualPiece;!S&&s.children.length&&(S=s.children[0].piece),S&&S.onNormal()}this._initEvents(),this._oldChildren=b;function T(I,N){if(I.length===0&&N.length===0)return;new m(N,I,F,F).add(k).update(k).remove(g.curry(k,null)).execute();function F(B){return B.getId()}function k(B,P){var K=B==null?null:I[B],R=P==null?null:N[P];L(K,R)}}function L(I,N){if(!w&&I&&!I.getValue()&&(I=null),I!==s&&N!==s){if(N&&N.piece)I?(N.piece.updateData(!1,I,"normal",r,o),t.setItemGraphicEl(I.dataIndex,N.piece)):x(N);else if(I){var F=new y(I,r,o);p.add(F),t.setItemGraphicEl(I.dataIndex,F)}}}function x(I){if(!I)return;I.piece&&(p.remove(I.piece),I.piece=null)}function C(I,N){if(N.depth>0){l.virtualPiece?l.virtualPiece.updateData(!1,I,"normal",r,o):(l.virtualPiece=new y(I,r,o),p.add(l.virtualPiece)),N.piece._onclickEvent&&N.piece.off("click",N.piece._onclickEvent);var F=function(k){l._rootToNode(N.parentNode)};N.piece._onclickEvent=F,l.virtualPiece.on("click",F)}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 u=t.getModel(),p=u.get("link");if(p){var w=u.get("target",!0)||"_blank";h(p,w)}}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:c,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}}}),i=a;D.exports=i},NAnI:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("wXyp"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},NBmB:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.encodingName=f,_.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};_.encodings=g;function f(y){switch(y){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 "+y+"]"}}},NC18:function(D,_,e){var g=e("y+Vt"),f=e("IMiH"),y=e("7oTu"),m=Math.sqrt,v=Math.sin,h=Math.cos,c=Math.PI,a=function(b){return Math.sqrt(b[0]*b[0]+b[1]*b[1])},i=function(b,E){return(b[0]*E[0]+b[1]*E[1])/(a(b)*a(E))},r=function(b,E){return(b[0]*E[1]<b[1]*E[0]?-1:1)*Math.acos(i(b,E))};function o(w,b,E,A,S,T,L,x,C,I,N){var F=C*(c/180),k=h(F)*(w-E)/2+v(F)*(b-A)/2,B=-1*v(F)*(w-E)/2+h(F)*(b-A)/2,P=k*k/(L*L)+B*B/(x*x);P>1&&(L*=m(P),x*=m(P));var K=(S===T?-1:1)*m((L*L*(x*x)-L*L*(B*B)-x*x*(k*k))/(L*L*(B*B)+x*x*(k*k)))||0,R=K*L*B/x,U=K*-x*k/L,j=(w+E)/2+h(F)*R-v(F)*U,H=(b+A)/2+v(F)*R+h(F)*U,W=r([1,0],[(k-R)/L,(B-U)/x]),X=[(k-R)/L,(B-U)/x],z=[(-1*k-R)/L,(-1*B-U)/x],G=r(X,z);i(X,z)<=-1&&(G=c),i(X,z)>=1&&(G=0),T===0&&G>0&&(G=G-2*c),T===1&&G<0&&(G=G+2*c),N.addData(I,j,H,L,x,W,G,F,T)}var d=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,n=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function l(w){if(!w)return new f;for(var b=0,E=0,A=b,S=E,T,L=new f,x=f.CMD,C=w.match(d),I=0;I<C.length;I++){for(var N=C[I],F=N.charAt(0),k,B=N.match(n)||[],P=B.length,K=0;K<P;K++)B[K]=parseFloat(B[K]);for(var R=0;R<P;){var U,j,H,W,X,z,G,Z=b,ge=E;switch(F){case"l":b+=B[R++],E+=B[R++],k=x.L,L.addData(k,b,E);break;case"L":b=B[R++],E=B[R++],k=x.L,L.addData(k,b,E);break;case"m":b+=B[R++],E+=B[R++],k=x.M,L.addData(k,b,E),A=b,S=E,F="l";break;case"M":b=B[R++],E=B[R++],k=x.M,L.addData(k,b,E),A=b,S=E,F="L";break;case"h":b+=B[R++],k=x.L,L.addData(k,b,E);break;case"H":b=B[R++],k=x.L,L.addData(k,b,E);break;case"v":E+=B[R++],k=x.L,L.addData(k,b,E);break;case"V":E=B[R++],k=x.L,L.addData(k,b,E);break;case"C":k=x.C,L.addData(k,B[R++],B[R++],B[R++],B[R++],B[R++],B[R++]),b=B[R-2],E=B[R-1];break;case"c":k=x.C,L.addData(k,B[R++]+b,B[R++]+E,B[R++]+b,B[R++]+E,B[R++]+b,B[R++]+E),b+=B[R-2],E+=B[R-1];break;case"S":U=b,j=E;var Q=L.len(),we=L.data;T===x.C&&(U+=b-we[Q-4],j+=E-we[Q-3]),k=x.C,Z=B[R++],ge=B[R++],b=B[R++],E=B[R++],L.addData(k,U,j,Z,ge,b,E);break;case"s":U=b,j=E;var Q=L.len(),we=L.data;T===x.C&&(U+=b-we[Q-4],j+=E-we[Q-3]),k=x.C,Z=b+B[R++],ge=E+B[R++],b+=B[R++],E+=B[R++],L.addData(k,U,j,Z,ge,b,E);break;case"Q":Z=B[R++],ge=B[R++],b=B[R++],E=B[R++],k=x.Q,L.addData(k,Z,ge,b,E);break;case"q":Z=B[R++]+b,ge=B[R++]+E,b+=B[R++],E+=B[R++],k=x.Q,L.addData(k,Z,ge,b,E);break;case"T":U=b,j=E;var Q=L.len(),we=L.data;T===x.Q&&(U+=b-we[Q-4],j+=E-we[Q-3]),b=B[R++],E=B[R++],k=x.Q,L.addData(k,U,j,b,E);break;case"t":U=b,j=E;var Q=L.len(),we=L.data;T===x.Q&&(U+=b-we[Q-4],j+=E-we[Q-3]),b+=B[R++],E+=B[R++],k=x.Q,L.addData(k,U,j,b,E);break;case"A":H=B[R++],W=B[R++],X=B[R++],z=B[R++],G=B[R++],Z=b,ge=E,b=B[R++],E=B[R++],k=x.A,o(Z,ge,b,E,z,G,H,W,X,k,L);break;case"a":H=B[R++],W=B[R++],X=B[R++],z=B[R++],G=B[R++],Z=b,ge=E,b+=B[R++],E+=B[R++],k=x.A,o(Z,ge,b,E,z,G,H,W,X,k,L);break}}(F==="z"||F==="Z")&&(k=x.Z,L.addData(k),b=A,E=S),T=k}return L.toStatic(),L}function t(w,b){var E=l(w);return b=b||{},b.buildPath=function(A){if(A.setData){A.setData(E.data);var S=A.getContext();S&&A.rebuildPath(S)}else{var S=A;E.rebuildPath(S)}},b.applyTransform=function(A){y(E,A),this.dirty(!0)},b}function s(w,b){return new g(t(w,b))}function u(w,b){return g.extend(t(w,b))}function p(w,b){for(var E=[],A=w.length,S=0;S<A;S++){var T=w[S];T.path||T.createPathProxy(),T.__dirtyPath&&T.buildPath(T.path,T.shape,!0),E.push(T.path)}var L=new g(b);return L.createPathProxy(),L.buildPath=function(x){x.appendPath(E);var C=x.getContext();C&&x.rebuildPath(C)},L}_.createFromString=s,_.extendFromString=u,_.mergePath=p},NH9N:function(D,_,e){var g=e("bYtY"),f=e("mFDi"),y=e("Fofx"),m=e("IwbS"),v=e("+TT/"),h=e("kzvK"),c=e("CMP+"),a=e("oVpE"),i=a.createSymbol,r=e("aX7z"),o=e("OELB"),d=e("7aKB"),n=d.encodeHTML,l=g.bind,t=g.each,s=Math.PI,u=h.extend({type:"timeline.slider",init:function(A,S){this.api=S,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(A,S,T,L){if(this.model=A,this.api=T,this.ecModel=S,this.group.removeAll(),A.get("show",!0)){var x=this._layout(A,T),C=this._createGroup("mainGroup"),I=this._createGroup("labelGroup"),N=this._axis=this._createAxis(x,A);A.formatTooltip=function(F){return n(N.scale.getLabel(F))},t(["AxisLine","AxisTick","Control","CurrentPointer"],function(F){this["_render"+F](x,C,N,A)},this),this._renderAxisLabel(x,I,N,A),this._position(x,A)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(A,S){var T=A.get("label.position"),L=A.get("orient"),x=p(A,S);T==null||T==="auto"?T=L==="horizontal"?x.y+x.height/2<S.getHeight()/2?"-":"+":x.x+x.width/2<S.getWidth()/2?"+":"-":isNaN(T)&&(T={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[L][T]);var C={horizontal:"center",vertical:T>=0||T==="+"?"left":"right"},I={horizontal:T>=0||T==="+"?"top":"bottom",vertical:"middle"},N={horizontal:0,vertical:s/2},F=L==="vertical"?x.height:x.width,k=A.getModel("controlStyle"),B=k.get("show",!0),P=B?k.get("itemSize"):0,K=B?k.get("itemGap"):0,R=P+K,U=A.get("label.rotate")||0;U=U*s/180;var j,H,W,X,z=k.get("position",!0),G=B&&k.get("showPlayBtn",!0),Z=B&&k.get("showPrevBtn",!0),ge=B&&k.get("showNextBtn",!0),Q=0,we=F;return z==="left"||z==="bottom"?(G&&(j=[0,0],Q+=R),Z&&(H=[Q,0],Q+=R),ge&&(W=[we-P,0],we-=R)):(G&&(j=[we-P,0],we-=R),Z&&(H=[0,0],Q+=R),ge&&(W=[we-P,0],we-=R)),X=[Q,we],A.get("inverse")&&X.reverse(),{viewRect:x,mainLength:F,orient:L,rotation:N[L],labelRotation:U,labelPosOpt:T,labelAlign:A.get("label.align")||C[L],labelBaseline:A.get("label.verticalAlign")||A.get("label.baseline")||I[L],playPosition:j,prevBtnPosition:H,nextBtnPosition:W,axisExtent:X,controlSize:P,controlGap:K}},_position:function(A,S){var T=this._mainGroup,L=this._labelGroup,x=A.viewRect;if(A.orient==="vertical"){var C=y.create(),I=x.x,N=x.y+x.height;y.translate(C,C,[-I,-N]),y.rotate(C,C,-s/2),y.translate(C,C,[I,N]),x=x.clone(),x.applyTransform(C)}var F=H(x),k=H(T.getBoundingRect()),B=H(L.getBoundingRect()),P=T.position,K=L.position;K[0]=P[0]=F[0][0];var R=A.labelPosOpt;if(isNaN(R)){var U=R==="+"?0:1;W(P,k,F,1,U),W(K,B,F,1,1-U)}else{var U=R>=0?0:1;W(P,k,F,1,U),K[1]=P[1]+R}T.attr("position",P),L.attr("position",K),T.rotation=L.rotation=A.rotation,j(T),j(L);function j(X){var z=X.position;X.origin=[F[0][0]-z[0],F[1][0]-z[1]]}function H(X){return[[X.x,X.x+X.width],[X.y,X.y+X.height]]}function W(X,z,G,Z,ge){X[Z]+=G[Z][ge]-z[Z][ge]}},_createAxis:function(A,S){var T=S.getData(),L=S.get("axisType"),x=r.createScaleByModel(S,L);x.getTicks=function(){return T.mapArray(["value"],function(N){return N})};var C=T.getDataExtent("value");x.setExtent(C[0],C[1]),x.niceTicks();var I=new c("value",x,A.axisExtent,L);return I.model=S,I},_createGroup:function(A){var S=this["_"+A]=new m.Group;return this.group.add(S),S},_renderAxisLine:function(A,S,T,L){var x=T.getExtent();if(!L.get("lineStyle.show"))return;S.add(new m.Line({shape:{x1:x[0],y1:0,x2:x[1],y2:0},style:g.extend({lineCap:"round"},L.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(A,S,T,L){var x=L.getData(),C=T.scale.getTicks();t(C,function(I){var N=T.dataToCoord(I),F=x.getItemModel(I),k=F.getModel("itemStyle"),B=F.getModel("emphasis.itemStyle"),P={position:[N,0],onclick:l(this._changeTimeline,this,I)},K=b(F,k,S,P);m.setHoverStyle(K,B.getItemStyle()),F.get("tooltip")?(K.dataIndex=I,K.dataModel=L):K.dataIndex=K.dataModel=null},this)},_renderAxisLabel:function(A,S,T,L){var x=T.getLabelModel();if(!x.get("show"))return;var C=L.getData(),I=T.getViewLabels();t(I,function(N){var F=N.tickValue,k=C.getItemModel(F),B=k.getModel("label"),P=k.getModel("emphasis.label"),K=T.dataToCoord(N.tickValue),R=new m.Text({position:[K,0],rotation:A.labelRotation-A.rotation,onclick:l(this._changeTimeline,this,F),silent:!1});m.setTextStyle(R.style,B,{text:N.formattedLabel,textAlign:A.labelAlign,textVerticalAlign:A.labelBaseline}),S.add(R),m.setHoverStyle(R,m.setTextStyle({},P))},this)},_renderControl:function(A,S,T,L){var x=A.controlSize,C=A.rotation,I=L.getModel("controlStyle").getItemStyle(),N=L.getModel("emphasis.controlStyle").getItemStyle(),F=[0,-x/2,x,x],k=L.getPlayState(),B=L.get("inverse",!0);P(A.nextBtnPosition,"controlStyle.nextIcon",l(this._changeTimeline,this,B?"-":"+")),P(A.prevBtnPosition,"controlStyle.prevIcon",l(this._changeTimeline,this,B?"+":"-")),P(A.playPosition,"controlStyle."+(k?"stopIcon":"playIcon"),l(this._handlePlayClick,this,!k),!0);function P(K,R,U,j){if(!K)return;var H={position:K,origin:[x/2,0],rotation:j?-C:0,rectHover:!0,style:I,onclick:U},W=w(L,R,F,H);S.add(W),m.setHoverStyle(W,N)}},_renderCurrentPointer:function(A,S,T,L){var x=L.getData(),C=L.getCurrentIndex(),I=x.getItemModel(C).getModel("checkpointStyle"),N=this,F={onCreate:function(k){k.draggable=!0,k.drift=l(N._handlePointerDrag,N),k.ondragend=l(N._handlePointerDragend,N),E(k,C,T,L,!0)},onUpdate:function(k){E(k,C,T,L)}};this._currentPointer=b(I,I,this._mainGroup,{},this._currentPointer,F)},_handlePlayClick:function(A){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:A,from:this.uid})},_handlePointerDrag:function(A,S,T){this._clearTimer(),this._pointerChangeTimeline([T.offsetX,T.offsetY])},_handlePointerDragend:function(A){this._pointerChangeTimeline([A.offsetX,A.offsetY],!0)},_pointerChangeTimeline:function(A,S){var T=this._toAxisCoord(A)[0],L=this._axis,x=o.asc(L.getExtent().slice());T>x[1]&&(T=x[1]),T<x[0]&&(T=x[0]),this._currentPointer.position[0]=T,this._currentPointer.dirty();var C=this._findNearestTick(T),I=this.model;(S||C!==I.getCurrentIndex()&&I.get("realtime"))&&this._changeTimeline(C)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(l(A,this),this.model.get("playInterval")));function A(){var S=this.model;this._changeTimeline(S.getCurrentIndex()+(S.get("rewind",!0)?-1:1))}},_toAxisCoord:function(A){var S=this._mainGroup.getLocalTransform();return m.applyTransform(A,S,!0)},_findNearestTick:function(A){var S=this.model.getData(),T=Infinity,L,x=this._axis;return S.each(["value"],function(C,I){var N=x.dataToCoord(C),F=Math.abs(N-A);F<T&&(T=F,L=I)}),L},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(A){var S=this.model.getCurrentIndex();A==="+"?A=S+1:A==="-"&&(A=S-1),this.api.dispatchAction({type:"timelineChange",currentIndex:A,from:this.uid})}});function p(A,S){return v.getLayoutRect(A.getBoxLayoutParams(),{width:S.getWidth(),height:S.getHeight()},A.get("padding"))}function w(A,S,T,L){var x=m.makePath(A.get(S).replace(/^path:\/\//,""),g.clone(L||{}),new f(T[0],T[1],T[2],T[3]),"center");return x}function b(A,S,T,L,x,C){var I=S.get("color");if(x)x.setColor(I),T.add(x),C&&C.onUpdate(x);else{var N=A.get("symbol");x=i(N,-1,-1,2,2,I),x.setStyle("strokeNoScale",!0),T.add(x),C&&C.onCreate(x)}var F=S.getItemStyle(["color","symbol","symbolSize"]);x.setStyle(F),L=g.merge({rectHover:!0,z2:100},L,!0);var k=A.get("symbolSize");k=k instanceof Array?k.slice():[+k,+k],k[0]/=2,k[1]/=2,L.scale=k;var B=A.get("symbolOffset");if(B){var P=L.position=L.position||[0,0];P[0]+=o.parsePercent(B[0],k[0]),P[1]+=o.parsePercent(B[1],k[1])}var K=A.get("symbolRotate");return L.rotation=(K||0)*Math.PI/180||0,x.attr(L),x.updateTransform(),x}function E(A,S,T,L,x){if(A.dragging)return;var C=L.getModel("checkpointStyle"),I=T.dataToCoord(L.getData().get(["value"],S));x||!C.get("animation",!0)?A.attr({position:[I,0]}):(A.stopAnimation(!0),A.animateTo({position:[I,0]},C.get("animationDuration",!0),C.get("animationEasing",!0)))}D.exports=u},NJEC:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("J4zp"),m=e.n(y),v=e("q1tI"),h=e.n(v),c=e("TSYQ"),a=e.n(c),i=e("sKbD"),r=e.n(i),o=e("4IlW"),d=e("3S7+"),n=e("2/Rp"),l=e("zvFY"),t=e("YMnH"),s=e("ZvpZ"),u=e("H84U"),p=e("bogI"),w=e("0n0R"),b=void 0,E=function(S,T){var L={};for(var x in S)Object.prototype.hasOwnProperty.call(S,x)&&T.indexOf(x)<0&&(L[x]=S[x]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,x=Object.getOwnPropertySymbols(S);C<x.length;C++)T.indexOf(x[C])<0&&Object.prototype.propertyIsEnumerable.call(S,x[C])&&(L[x[C]]=S[x[C]]);return L},A=v.forwardRef(function(S,T){var L=v.useState(S.visible),x=m()(L,2),C=x[0],I=x[1];v.useEffect(function(){"visible"in S&&I(S.visible)},[S.visible]),v.useEffect(function(){"defaultVisible"in S&&I(S.defaultVisible)},[S.defaultVisible]);var N=function(Ee,Ae){"visible"in S||I(Ee),S.onVisibleChange&&S.onVisibleChange(Ee,Ae)},F=function(Ee){N(!1,Ee),S.onConfirm&&S.onConfirm.call(b,Ee)},k=function(Ee){N(!1,Ee),S.onCancel&&S.onCancel.call(b,Ee)},B=function(Ee){Ee.keyCode===o.a.ESC&&C&&N(!1,Ee)},P=function(Ee){var Ae=S.disabled;if(Ae)return;N(Ee)},K=function(Ee,Ae){var Pe=S.okButtonProps,Ge=S.cancelButtonProps,gt=S.title,_e=S.cancelText,Ce=S.okText,lt=S.okType,ce=S.icon;return v.createElement("div",{className:"".concat(Ee,"-inner-content")},v.createElement("div",{className:"".concat(Ee,"-message")},ce,v.createElement("div",{className:"".concat(Ee,"-message-title")},Object(p.a)(gt))),v.createElement("div",{className:"".concat(Ee,"-buttons")},v.createElement(n.a,f()({onClick:k,size:"small"},Ge),_e||Ae.cancelText),v.createElement(n.a,f()({onClick:F},Object(l.a)(lt),{size:"small"},Pe),Ce||Ae.okText)))},R=v.useContext(u.b),U=R.getPrefixCls,j=S.prefixCls,H=S.placement,W=S.children,X=S.overlayClassName,z=E(S,["prefixCls","placement","children","overlayClassName"]),G=U("popover",j),Z=U("popconfirm",j),ge=a()(Z,X),Q=v.createElement(t.a,{componentName:"Popconfirm",defaultLocale:s.a.Popconfirm},function(we){return K(G,we)});return v.createElement(d.a,f()({},z,{prefixCls:G,placement:H,onVisibleChange:P,visible:C,overlay:Q,overlayClassName:ge,ref:T}),Object(w.a)(W,{onKeyDown:function(Ee){var Ae,Pe;(Pe=W==null?void 0:(Ae=W.props).onKeyDown)===null||Pe===void 0||Pe.call(Ae,Ee),B(Ee)}}))});A.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:v.createElement(r.a,null),disabled:!1},_.a=A},NKxu:function(D,_,e){var g=e("lSCD"),f=e("E2jh"),y=e("GoyQ"),m=e("3Fdi"),v=/[\\^$.*+?()[\]{}|]/g,h=/^\[object .+?Constructor\]$/,c=Function.prototype,a=Object.prototype,i=c.toString,r=a.hasOwnProperty,o=RegExp("^"+i.call(r).replace(v,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function d(n){if(!y(n)||f(n))return!1;var l=g(n)?o:h;return l.test(m(n))}D.exports=d},NUBc:function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),m=e.n(y),v=e("q1tI"),h=e.n(v),c=e("wx14"),a=e("rePB"),i=e("1OyB"),r=e("vuIU"),o=e("Ji7U"),d=e("md7G"),n=e("foSv"),l=e("TSYQ"),t=e.n(l),s=function(lt){var ce,Y="".concat(lt.rootPrefixCls,"-item"),V=t()(Y,"".concat(Y,"-").concat(lt.page),(ce={},Object(a.a)(ce,"".concat(Y,"-active"),lt.active),Object(a.a)(ce,lt.className,!!lt.className),Object(a.a)(ce,"".concat(Y,"-disabled"),!lt.page),ce)),$=function(){lt.onClick(lt.page)},Te=function(Fe){lt.onKeyPress(Fe,lt.onClick,lt.page)};return h.a.createElement("li",{title:lt.showTitle?lt.page:null,className:V,onClick:$,onKeyPress:Te,tabIndex:"0"},lt.itemRender(lt.page,"page",h.a.createElement("a",{rel:"nofollow"},lt.page)))},u=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 w(Ce){var lt=b();return function(){var Y=Object(n.a)(Ce),V;if(lt){var $=Object(n.a)(this).constructor;V=Reflect.construct(Y,arguments,$)}else V=Y.apply(this,arguments);return Object(d.a)(this,V)}}function b(){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(Ce){return!1}}var E=function(Ce){Object(o.a)(ce,Ce);var lt=w(ce);function ce(){var Y;Object(i.a)(this,ce);for(var V=arguments.length,$=new Array(V),Te=0;Te<V;Te++)$[Te]=arguments[Te];return Y=lt.call.apply(lt,[this].concat($)),Y.state={goInputText:""},Y.buildOptionText=function(ye){return"".concat(ye," ").concat(Y.props.locale.items_per_page)},Y.changeSize=function(ye){Y.props.changeSize(Number(ye))},Y.handleChange=function(ye){Y.setState({goInputText:ye.target.value})},Y.handleBlur=function(ye){var Fe=Y.props,Oe=Fe.goButton,se=Fe.quickGo,fe=Fe.rootPrefixCls,Le=Y.state.goInputText;if(Oe||Le==="")return;if(ye.relatedTarget&&(ye.relatedTarget.className.indexOf("".concat(fe,"-prev"))>=0||ye.relatedTarget.className.indexOf("".concat(fe,"-next"))>=0))return;Y.setState({goInputText:""}),se(Y.getValidValue())},Y.go=function(ye){var Fe=Y.state.goInputText;if(Fe==="")return;(ye.keyCode===p.ENTER||ye.type==="click")&&(Y.setState({goInputText:""}),Y.props.quickGo(Y.getValidValue()))},Y}return Object(r.a)(ce,[{key:"getValidValue",value:function(){var V=this.state,$=V.goInputText,Te=V.current;return!$||isNaN($)?Te:Number($)}},{key:"getPageSizeOptions",value:function(){var V=this.props,$=V.pageSize,Te=V.pageSizeOptions;return Te.some(function(ye){return ye.toString()===$.toString()})?Te:Te.concat([$.toString()]).sort(function(ye,Fe){var Oe=isNaN(Number(ye))?0:Number(ye),se=isNaN(Number(Fe))?0:Number(Fe);return Oe-se})}},{key:"render",value:function(){var V=this,$=this.props,Te=$.pageSize,ye=$.locale,Fe=$.rootPrefixCls,Oe=$.changeSize,se=$.quickGo,fe=$.goButton,Le=$.selectComponentClass,Je=$.buildOptionText,mt=$.selectPrefixCls,Ct=$.disabled,Ue=this.state.goInputText,Rt="".concat(Fe,"-options"),Ke=Le,wt=null,Ye=null,et=null;if(!Oe&&!se)return null;var rt=this.getPageSizeOptions();if(Oe&&Ke){var st=rt.map(function(Ve,oe){return h.a.createElement(Ke.Option,{key:oe,value:Ve},(Je||V.buildOptionText)(Ve))});wt=h.a.createElement(Ke,{disabled:Ct,prefixCls:mt,showSearch:!1,className:"".concat(Rt,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(Te||rt[0]).toString(),onChange:this.changeSize,getPopupContainer:function(oe){return oe.parentNode}},st)}return se&&(fe&&(et=typeof fe=="boolean"?h.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Ct,className:"".concat(Rt,"-quick-jumper-button")},ye.jump_to_confirm):h.a.createElement("span",{onClick:this.go,onKeyUp:this.go},fe)),Ye=h.a.createElement("div",{className:"".concat(Rt,"-quick-jumper")},ye.jump_to,h.a.createElement("input",{disabled:Ct,type:"text",value:Ue,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),ye.page,et)),h.a.createElement("li",{className:"".concat(Rt)},wt,Ye)}}]),ce}(h.a.Component);E.defaultProps={pageSizeOptions:["10","20","50","100"]};var A=E,S=e("N2Kk");function T(Ce,lt){var ce=Object.keys(Ce);if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols(Ce);lt&&(Y=Y.filter(function(V){return Object.getOwnPropertyDescriptor(Ce,V).enumerable})),ce.push.apply(ce,Y)}return ce}function L(Ce){for(var lt=1;lt<arguments.length;lt++){var ce=arguments[lt]!=null?arguments[lt]:{};lt%2?T(Object(ce),!0).forEach(function(Y){Object(a.a)(Ce,Y,ce[Y])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ce,Object.getOwnPropertyDescriptors(ce)):T(Object(ce)).forEach(function(Y){Object.defineProperty(Ce,Y,Object.getOwnPropertyDescriptor(ce,Y))})}return Ce}function x(Ce){var lt=C();return function(){var Y=Object(n.a)(Ce),V;if(lt){var $=Object(n.a)(this).constructor;V=Reflect.construct(Y,arguments,$)}else V=Y.apply(this,arguments);return Object(d.a)(this,V)}}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(Ce){return!1}}function I(){}function N(Ce){return typeof Ce=="number"&&isFinite(Ce)&&Math.floor(Ce)===Ce}function F(Ce,lt,ce){return ce}function k(Ce,lt,ce){var Y=typeof Ce=="undefined"?lt.pageSize:Ce;return Math.floor((ce.total-1)/Y)+1}var B=function(Ce){Object(o.a)(ce,Ce);var lt=x(ce);function ce(Y){var V;Object(i.a)(this,ce),V=lt.call(this,Y),V.getJumpPrevPage=function(){return Math.max(1,V.state.current-(V.props.showLessItems?3:5))},V.getJumpNextPage=function(){return Math.min(k(void 0,V.state,V.props),V.state.current+(V.props.showLessItems?3:5))},V.getItemIcon=function(Oe,se){var fe=V.props.prefixCls,Le=Oe||h.a.createElement("button",{type:"button","aria-label":se,className:"".concat(fe,"-item-link")});return typeof Oe=="function"&&(Le=h.a.createElement(Oe,L({},V.props))),Le},V.savePaginationNode=function(Oe){V.paginationNode=Oe},V.isValid=function(Oe){return N(Oe)&&Oe!==V.state.current},V.shouldDisplayQuickJumper=function(){var Oe=V.props,se=Oe.showQuickJumper,fe=Oe.pageSize,Le=Oe.total;return Le<=fe?!1:se},V.handleKeyDown=function(Oe){(Oe.keyCode===p.ARROW_UP||Oe.keyCode===p.ARROW_DOWN)&&Oe.preventDefault()},V.handleKeyUp=function(Oe){var se=V.getValidValue(Oe),fe=V.state.currentInputValue;se!==fe&&V.setState({currentInputValue:se}),Oe.keyCode===p.ENTER?V.handleChange(se):Oe.keyCode===p.ARROW_UP?V.handleChange(se-1):Oe.keyCode===p.ARROW_DOWN&&V.handleChange(se+1)},V.changePageSize=function(Oe){var se=V.state.current,fe=k(Oe,V.state,V.props);se=se>fe?fe:se,fe===0&&(se=V.state.current),typeof Oe=="number"&&("pageSize"in V.props||V.setState({pageSize:Oe}),"current"in V.props||V.setState({current:se,currentInputValue:se})),V.props.onShowSizeChange(se,Oe),"onChange"in V.props&&V.props.onChange&&V.props.onChange(se,Oe)},V.handleChange=function(Oe){var se=V.props.disabled,fe=Oe;if(V.isValid(fe)&&!se){var Le=k(void 0,V.state,V.props);fe>Le?fe=Le:fe<1&&(fe=1),"current"in V.props||V.setState({current:fe,currentInputValue:fe});var Je=V.state.pageSize;return V.props.onChange(fe,Je),fe}return V.state.current},V.prev=function(){V.hasPrev()&&V.handleChange(V.state.current-1)},V.next=function(){V.hasNext()&&V.handleChange(V.state.current+1)},V.jumpPrev=function(){V.handleChange(V.getJumpPrevPage())},V.jumpNext=function(){V.handleChange(V.getJumpNextPage())},V.hasPrev=function(){return V.state.current>1},V.hasNext=function(){return V.state.current<k(void 0,V.state,V.props)},V.runIfEnter=function(Oe,se){if(Oe.key==="Enter"||Oe.charCode===13){for(var fe=arguments.length,Le=new Array(fe>2?fe-2:0),Je=2;Je<fe;Je++)Le[Je-2]=arguments[Je];se.apply(void 0,Le)}},V.runIfEnterPrev=function(Oe){V.runIfEnter(Oe,V.prev)},V.runIfEnterNext=function(Oe){V.runIfEnter(Oe,V.next)},V.runIfEnterJumpPrev=function(Oe){V.runIfEnter(Oe,V.jumpPrev)},V.runIfEnterJumpNext=function(Oe){V.runIfEnter(Oe,V.jumpNext)},V.handleGoTO=function(Oe){(Oe.keyCode===p.ENTER||Oe.type==="click")&&V.handleChange(V.state.currentInputValue)};var $=Y.onChange!==I,Te="current"in Y;Te&&!$&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var ye=Y.defaultCurrent;"current"in Y&&(ye=Y.current);var Fe=Y.defaultPageSize;return"pageSize"in Y&&(Fe=Y.pageSize),ye=Math.min(ye,k(Fe,void 0,Y)),V.state={current:ye,currentInputValue:ye,pageSize:Fe},V}return Object(r.a)(ce,[{key:"componentDidUpdate",value:function(V,$){var Te=this.props.prefixCls;if($.current!==this.state.current&&this.paginationNode){var ye=this.paginationNode.querySelector(".".concat(Te,"-item-").concat($.current));ye&&document.activeElement===ye&&ye.blur()}}},{key:"getValidValue",value:function(V){var $=V.target.value,Te=k(void 0,this.state,this.props),ye=this.state.currentInputValue,Fe;return $===""?Fe=$:isNaN(Number($))?Fe=ye:$>=Te?Fe=Te:Fe=Number($),Fe}},{key:"getShowSizeChanger",value:function(){var V=this.props,$=V.showSizeChanger,Te=V.total,ye=V.totalBoundaryShowSizeChanger;return typeof $!="undefined"?$:Te>ye}},{key:"renderPrev",value:function(V){var $=this.props,Te=$.prevIcon,ye=$.itemRender,Fe=ye(V,"prev",this.getItemIcon(Te,"prev page")),Oe=!this.hasPrev();return Object(v.isValidElement)(Fe)?Object(v.cloneElement)(Fe,{disabled:Oe}):Fe}},{key:"renderNext",value:function(V){var $=this.props,Te=$.nextIcon,ye=$.itemRender,Fe=ye(V,"next",this.getItemIcon(Te,"next page")),Oe=!this.hasNext();return Object(v.isValidElement)(Fe)?Object(v.cloneElement)(Fe,{disabled:Oe}):Fe}},{key:"render",value:function(){var V=this,$=this.props,Te=$.prefixCls,ye=$.className,Fe=$.style,Oe=$.disabled,se=$.hideOnSinglePage,fe=$.total,Le=$.locale,Je=$.showQuickJumper,mt=$.showLessItems,Ct=$.showTitle,Ue=$.showTotal,Rt=$.simple,Ke=$.itemRender,wt=$.showPrevNextJumpers,Ye=$.jumpPrevIcon,et=$.jumpNextIcon,rt=$.selectComponentClass,st=$.selectPrefixCls,Ve=$.pageSizeOptions,oe=this.state,re=oe.current,it=oe.pageSize,Qe=oe.currentInputValue;if(se===!0&&fe<=it)return null;var ve=k(void 0,this.state,this.props),Zt=[],dt=null,ct=null,yt=null,_t=null,or=null,Pt=Je&&Je.goButton,be=mt?1:2,me=re-1>0?re-1:0,pe=re+1<ve?re+1:ve,ue=Object.keys(this.props).reduce(function(Se,Ne){return(Ne.substr(0,5)==="data-"||Ne.substr(0,5)==="aria-"||Ne==="role")&&(Se[Ne]=V.props[Ne]),Se},{});if(Rt)return Pt&&(typeof Pt=="boolean"?or=h.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Le.jump_to_confirm):or=h.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Pt),or=h.a.createElement("li",{title:Ct?"".concat(Le.jump_to).concat(re,"/").concat(ve):null,className:"".concat(Te,"-simple-pager")},or)),h.a.createElement("ul",Object(c.a)({className:t()(Te,"".concat(Te,"-simple"),Object(a.a)({},"".concat(Te,"-disabled"),Oe),ye),style:Fe,ref:this.savePaginationNode},ue),h.a.createElement("li",{title:Ct?Le.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:t()("".concat(Te,"-prev"),Object(a.a)({},"".concat(Te,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(me)),h.a.createElement("li",{title:Ct?"".concat(re,"/").concat(ve):null,className:"".concat(Te,"-simple-pager")},h.a.createElement("input",{type:"text",value:Qe,disabled:Oe,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),h.a.createElement("span",{className:"".concat(Te,"-slash")},"/"),ve),h.a.createElement("li",{title:Ct?Le.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:t()("".concat(Te,"-next"),Object(a.a)({},"".concat(Te,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(pe)),or);if(ve<=3+be*2){var De={locale:Le,rootPrefixCls:Te,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Ct,itemRender:Ke};ve||Zt.push(h.a.createElement(u,Object(c.a)({},De,{key:"noPager",page:ve,className:"".concat(Te,"-disabled")})));for(var He=1;He<=ve;He+=1){var ze=re===He;Zt.push(h.a.createElement(u,Object(c.a)({},De,{key:He,page:He,active:ze})))}}else{var Xe=mt?Le.prev_3:Le.prev_5,Be=mt?Le.next_3:Le.next_5;wt&&(dt=h.a.createElement("li",{title:Ct?Xe:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:t()("".concat(Te,"-jump-prev"),Object(a.a)({},"".concat(Te,"-jump-prev-custom-icon"),!!Ye))},Ke(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Ye,"prev page"))),ct=h.a.createElement("li",{title:Ct?Be:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:t()("".concat(Te,"-jump-next"),Object(a.a)({},"".concat(Te,"-jump-next-custom-icon"),!!et))},Ke(this.getJumpNextPage(),"jump-next",this.getItemIcon(et,"next page")))),_t=h.a.createElement(u,{locale:Le,last:!0,rootPrefixCls:Te,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ve,page:ve,active:!1,showTitle:Ct,itemRender:Ke}),yt=h.a.createElement(u,{locale:Le,rootPrefixCls:Te,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Ct,itemRender:Ke});var nt=Math.max(1,re-be),At=Math.min(re+be,ve);re-1<=be&&(At=1+be*2),ve-re<=be&&(nt=ve-be*2);for(var It=nt;It<=At;It+=1){var ae=re===It;Zt.push(h.a.createElement(u,{locale:Le,rootPrefixCls:Te,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:It,page:It,active:ae,showTitle:Ct,itemRender:Ke}))}re-1>=be*2&&re!==1+2&&(Zt[0]=Object(v.cloneElement)(Zt[0],{className:"".concat(Te,"-item-after-jump-prev")}),Zt.unshift(dt)),ve-re>=be*2&&re!==ve-2&&(Zt[Zt.length-1]=Object(v.cloneElement)(Zt[Zt.length-1],{className:"".concat(Te,"-item-before-jump-next")}),Zt.push(ct)),nt!==1&&Zt.unshift(yt),At!==ve&&Zt.push(_t)}var he=null;Ue&&(he=h.a.createElement("li",{className:"".concat(Te,"-total-text")},Ue(fe,[fe===0?0:(re-1)*it+1,re*it>fe?fe:re*it])));var q=!this.hasPrev()||!ve,ne=!this.hasNext()||!ve;return h.a.createElement("ul",Object(c.a)({className:t()(Te,ye,Object(a.a)({},"".concat(Te,"-disabled"),Oe)),style:Fe,unselectable:"unselectable",ref:this.savePaginationNode},ue),he,h.a.createElement("li",{title:Ct?Le.prev_page:null,onClick:this.prev,tabIndex:q?null:0,onKeyPress:this.runIfEnterPrev,className:t()("".concat(Te,"-prev"),Object(a.a)({},"".concat(Te,"-disabled"),q)),"aria-disabled":q},this.renderPrev(me)),Zt,h.a.createElement("li",{title:Ct?Le.next_page:null,onClick:this.next,tabIndex:ne?null:0,onKeyPress:this.runIfEnterNext,className:t()("".concat(Te,"-next"),Object(a.a)({},"".concat(Te,"-disabled"),ne)),"aria-disabled":ne},this.renderNext(pe)),h.a.createElement(A,{disabled:Oe,locale:Le,rootPrefixCls:Te,selectComponentClass:rt,selectPrefixCls:st,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:re,pageSize:it,pageSizeOptions:Ve,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Pt}))}}],[{key:"getDerivedStateFromProps",value:function(V,$){var Te={};if("current"in V&&(Te.current=V.current,V.current!==$.current&&(Te.currentInputValue=Te.current)),"pageSize"in V&&V.pageSize!==$.pageSize){var ye=$.current,Fe=k(V.pageSize,$,V);ye=ye>Fe?Fe:ye,"current"in V||(Te.current=ye,Te.currentInputValue=ye),Te.pageSize=V.pageSize}return Te}}]),ce}(h.a.Component);B.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:I,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:I,locale:S.a,style:{},itemRender:F,totalBoundaryShowSizeChanger:50};var P=B,K=e("H4fg"),R=e("DFhj"),U=e.n(R),j=e("fEPi"),H=e.n(j),W=e("u9fO"),X=e.n(W),z=e("mO/d"),G=e.n(z),Z=e("2fM7"),ge=function(lt){return v.createElement(Z.a,m()({size:"small"},lt))};ge.Option=Z.a.Option;var Q=ge,we=e("YMnH"),Ee=e("H84U"),Ae=e("5OYt"),Pe=function(Ce,lt){var ce={};for(var Y in Ce)Object.prototype.hasOwnProperty.call(Ce,Y)&&lt.indexOf(Y)<0&&(ce[Y]=Ce[Y]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var V=0,Y=Object.getOwnPropertySymbols(Ce);V<Y.length;V++)lt.indexOf(Y[V])<0&&Object.prototype.propertyIsEnumerable.call(Ce,Y[V])&&(ce[Y[V]]=Ce[Y[V]]);return ce},Ge=function(lt){var ce=lt.prefixCls,Y=lt.selectPrefixCls,V=lt.className,$=lt.size,Te=lt.locale,ye=Pe(lt,["prefixCls","selectPrefixCls","className","size","locale"]),Fe=Object(Ae.a)(),Oe=Fe.xs,se=v.useContext(Ee.b),fe=se.getPrefixCls,Le=se.direction,Je=fe("pagination",ce),mt=function(){var Rt=v.createElement("span",{className:"".concat(Je,"-item-ellipsis")},"\u2022\u2022\u2022"),Ke=v.createElement("button",{className:"".concat(Je,"-item-link"),type:"button",tabIndex:-1},v.createElement(U.a,null)),wt=v.createElement("button",{className:"".concat(Je,"-item-link"),type:"button",tabIndex:-1},v.createElement(H.a,null)),Ye=v.createElement("a",{className:"".concat(Je,"-item-link")},v.createElement("div",{className:"".concat(Je,"-item-container")},v.createElement(X.a,{className:"".concat(Je,"-item-link-icon")}),Rt)),et=v.createElement("a",{className:"".concat(Je,"-item-link")},v.createElement("div",{className:"".concat(Je,"-item-container")},v.createElement(G.a,{className:"".concat(Je,"-item-link-icon")}),Rt));if(Le==="rtl"){var rt=[wt,Ke];Ke=rt[0],wt=rt[1];var st=[et,Ye];Ye=st[0],et=st[1]}return{prevIcon:Ke,nextIcon:wt,jumpPrevIcon:Ye,jumpNextIcon:et}},Ct=function(Rt){var Ke=m()(m()({},Rt),Te),wt=$==="small"||!!(Oe&&!$&&ye.responsive),Ye=fe("select",Y),et=t()(V,f()({mini:wt},"".concat(Je,"-rtl"),Le==="rtl"));return v.createElement(P,m()({},ye,{prefixCls:Je,selectPrefixCls:Ye},mt(),{className:et,selectComponentClass:wt?Q:Z.a,locale:Ke}))};return v.createElement(we.a,{componentName:"Pagination",defaultLocale:K.a},Ct)},gt=Ge,_e=_.a=gt},NohK:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=function(y){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,v=null;return function(){for(var h=this,c=arguments.length,a=new Array(c),i=0;i<c;i++)a[i]=arguments[i];clearTimeout(v),v=setTimeout(function(){y.apply(h,a)},m)}};_.default=g},Npjl:function(D,_){function e(g,f){return g==null?void 0:g[f]}D.exports=e},Nu4q:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:function(y,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:y}},{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:y}}]}},name:"picture",theme:"twotone"};_.default=g},NvD2:function(D,_,e){"use strict";e.d(_,"a",function(){return h});var g=e("Kwbf");function f(c,a){var i=new Set;return c.forEach(function(r){a.has(r)||i.add(r)}),i}function y(c){var a=c||{},i=a.disabled,r=a.disableCheckbox,o=a.checkable;return!!(i||r)||o===!1}function m(c,a,i,r){for(var o=new Set(c),d=new Set,n=0;n<=i;n+=1){var l=a.get(n)||new Set;l.forEach(function(p){var w=p.key,b=p.node,E=p.children,A=E===void 0?[]:E;o.has(w)&&!r(b)&&A.filter(function(S){return!r(S.node)}).forEach(function(S){o.add(S.key)})})}for(var t=new Set,s=i;s>=0;s-=1){var u=a.get(s)||new Set;u.forEach(function(p){var w=p.parent,b=p.node;if(r(b)||!p.parent||t.has(p.parent.key))return;if(r(p.parent.node)){t.add(w.key);return}var E=!0,A=!1;(w.children||[]).filter(function(S){return!r(S.node)}).forEach(function(S){var T=S.key,L=o.has(T);E&&!L&&(E=!1),!A&&(L||d.has(T))&&(A=!0)}),E&&o.add(w.key),A&&d.add(w.key),t.add(w.key)})}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(f(d,o))}}function v(c,a,i,r,o){for(var d=new Set(c),n=new Set(a),l=0;l<=r;l+=1){var t=i.get(l)||new Set;t.forEach(function(w){var b=w.key,E=w.node,A=w.children,S=A===void 0?[]:A;!d.has(b)&&!n.has(b)&&!o(E)&&S.filter(function(T){return!o(T.node)}).forEach(function(T){d.delete(T.key)})})}n=new Set;for(var s=new Set,u=r;u>=0;u-=1){var p=i.get(u)||new Set;p.forEach(function(w){var b=w.parent,E=w.node;if(o(E)||!w.parent||s.has(w.parent.key))return;if(o(w.parent.node)){s.add(b.key);return}var A=!0,S=!1;(b.children||[]).filter(function(T){return!o(T.node)}).forEach(function(T){var L=T.key,x=d.has(L);A&&!x&&(A=!1),!S&&(x||n.has(L))&&(S=!0)}),A||d.delete(b.key),S&&n.add(b.key),s.add(b.key)})}return{checkedKeys:Array.from(d),halfCheckedKeys:Array.from(f(n,d))}}function h(c,a,i,r){var o=[],d;r?d=r:d=y;var n=new Set(c.filter(function(u){var p=!!i[u];return p||o.push(u),p})),l=new Map,t=0;Object.keys(i).forEach(function(u){var p=i[u],w=p.level,b=l.get(w);b||(b=new Set,l.set(w,b)),b.add(p),t=Math.max(t,w)}),Object(g.a)(!o.length,"Tree missing follow keys: ".concat(o.slice(0,100).map(function(u){return"'".concat(u,"'")}).join(", ")));var s;return a===!0?s=m(n,l,t,d):s=v(n,a.halfCheckedKeys,l,t,d),s}},"O/iA":function(D,_,e){},O3gP:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("O/iA"),m=e.n(y),v=e("OaEy")},OELB:function(D,_,e){var g=e("bYtY"),f=1e-4;function y(S){return S.replace(/^\s+|\s+$/g,"")}function m(S,T,L,x){var C=T[1]-T[0],I=L[1]-L[0];if(C===0)return I===0?L[0]:(L[0]+L[1])/2;if(x)if(C>0){if(S<=T[0])return L[0];if(S>=T[1])return L[1]}else{if(S>=T[0])return L[0];if(S<=T[1])return L[1]}else{if(S===T[0])return L[0];if(S===T[1])return L[1]}return(S-T[0])/C*I+L[0]}function v(S,T){switch(S){case"center":case"middle":S="50%";break;case"left":case"top":S="0%";break;case"right":case"bottom":S="100%";break}return typeof S=="string"?y(S).match(/%$/)?parseFloat(S)/100*T:parseFloat(S):S==null?NaN:+S}function h(S,T,L){return T==null&&(T=10),T=Math.min(Math.max(0,T),20),S=(+S).toFixed(T),L?S:+S}function c(S){return S.sort(function(T,L){return T-L}),S}function a(S){if(S=+S,isNaN(S))return 0;for(var T=1,L=0;Math.round(S*T)/T!==S;)T*=10,L++;return L}function i(S){var T=S.toString(),L=T.indexOf("e");if(L>0){var x=+T.slice(L+1);return x<0?-x:0}else{var C=T.indexOf(".");return C<0?0:T.length-1-C}}function r(S,T){var L=Math.log,x=Math.LN10,C=Math.floor(L(S[1]-S[0])/x),I=Math.round(L(Math.abs(T[1]-T[0]))/x),N=Math.min(Math.max(-C+I,0),20);return isFinite(N)?N:20}function o(S,T,L){if(!S[T])return 0;var x=g.reduce(S,function(j,H){return j+(isNaN(H)?0:H)},0);if(x===0)return 0;for(var C=Math.pow(10,L),I=g.map(S,function(j){return(isNaN(j)?0:j)/x*C*100}),N=C*100,F=g.map(I,function(j){return Math.floor(j)}),k=g.reduce(F,function(j,H){return j+H},0),B=g.map(I,function(j,H){return j-F[H]});k<N;){for(var P=Number.NEGATIVE_INFINITY,K=null,R=0,U=B.length;R<U;++R)B[R]>P&&(P=B[R],K=R);++F[K],B[K]=0,++k}return F[T]/C}var d=9007199254740991;function n(S){var T=Math.PI*2;return(S%T+T)%T}function l(S){return S>-f&&S<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(S){if(S instanceof Date)return S;if(typeof S=="string"){var T=t.exec(S);if(!T)return new Date(NaN);if(T[8]){var L=+T[4]||0;return T[8].toUpperCase()!=="Z"&&(L-=T[8].slice(0,3)),new Date(Date.UTC(+T[1],+(T[2]||1)-1,+T[3]||1,L,+(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(S==null)return new Date(NaN);return new Date(Math.round(S))}function u(S){return Math.pow(10,p(S))}function p(S){if(S===0)return 0;var T=Math.floor(Math.log(S)/Math.LN10);return S/Math.pow(10,T)>=10&&T++,T}function w(S,T){var L=p(S),x=Math.pow(10,L),C=S/x,I;return T?C<1.5?I=1:C<2.5?I=2:C<4?I=3:C<7?I=5:I=10:C<1?I=1:C<2?I=2:C<3?I=3:C<5?I=5:I=10,S=I*x,L>=-20?+S.toFixed(L<0?-L:0):S}function b(S,T){var L=(S.length-1)*T+1,x=Math.floor(L),C=+S[x-1],I=L-x;return I?C+I*(S[x]-C):C}function E(S){S.sort(function(k,B){return F(k,B,0)?-1:1});for(var T=-Infinity,L=1,x=0;x<S.length;){for(var C=S[x].interval,I=S[x].close,N=0;N<2;N++)C[N]<=T&&(C[N]=T,I[N]=N?1:1-L),T=C[N],L=I[N];C[0]===C[1]&&I[0]*I[1]!==1?S.splice(x,1):x++}return S;function F(k,B,P){return k.interval[P]<B.interval[P]||k.interval[P]===B.interval[P]&&(k.close[P]-B.close[P]===(P?-1:1)||!P&&F(k,B,1))}}function A(S){return S-parseFloat(S)>=0}_.linearMap=m,_.parsePercent=v,_.round=h,_.asc=c,_.getPrecision=a,_.getPrecisionSafe=i,_.getPixelPrecision=r,_.getPercentWithPrecision=o,_.MAX_SAFE_INTEGER=d,_.remRadian=n,_.isRadianAroundZero=l,_.parseDate=s,_.quantity=u,_.quantityExponent=p,_.nice=w,_.quantile=b,_.reformIntervals=E,_.isNumeric=A},OKJ2:function(D,_,e){var g=e("KxfA"),f=g.retrieveRawValue,y=e("7aKB"),m=y.getTooltipMarker,v=y.formatTpl,h=e("4NO4"),c=h.getTooltipRenderMode,a=/\{@(.+?)\}/g,i={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),u=d.getItemVisual(r,"color"),p=d.getItemVisual(r,"borderColor"),w=this.ecModel.getComponent("tooltip"),b=w&&w.get("renderMode"),E=c(b),A=this.mainType,S=A==="series",T=d.userOutput;return{componentType:A,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:S?this.subType:null,seriesIndex:this.seriesIndex,seriesId:S?this.id:null,seriesName:S?this.name:null,name:t,dataIndex:l,data:s,dataType:o,value:n,color:u,borderColor:p,dimensionNames:T?T.dimensionNames:null,encode:T?T.encode:null,marker:m({color:u,renderMode:E}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(r,o,d,n,l){o=o||"normal";var t=this.getData(d),s=t.getItemModel(r),u=this.getDataParams(r,d);n!=null&&u.value instanceof Array&&(u.value=u.value[n]);var p=s.get(o==="normal"?[l||"label","formatter"]:[o,l||"label","formatter"]);if(typeof p=="function")return u.status=o,u.dimensionIndex=n,p(u);if(typeof p=="string"){var w=v(p,u);return w.replace(a,function(b,E){var A=E.length;return E.charAt(0)==="["&&E.charAt(A-1)==="]"&&(E=+E.slice(1,A-1)),f(t,r,E)})}},getRawValue:function(r,o){return f(this.getData(o),r)},formatTooltip:function(){}};D.exports=i},OPEp:function(D,_,e){},OQFs:function(D,_,e){var g=e("KCsZ"),f=g([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),y={getLineStyle:function(m){var v=f(this,m);return v.lineDash=this.getLineDash(v.lineWidth),v},getLineDash:function(m){m==null&&(m=1);var v=this.get("type"),h=Math.max(m,2),c=m*4;return v==="solid"||v==null?!1:v==="dashed"?[c,c]:[h,h]}};D.exports=y},OS9S:function(D,_,e){var g=e("bYtY"),f=g.inherits,y=e("Gev7"),m=e("mFDi");function v(a){y.call(this,a),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}v.prototype.incremental=!0,v.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},v.prototype.addDisplayable=function(a,i){i?this._temporaryDisplayables.push(a):this._displayables.push(a),this.dirty()},v.prototype.addDisplayables=function(a,i){i=i||!1;for(var r=0;r<a.length;r++)this.addDisplayable(a[r],i)},v.prototype.eachPendingDisplayable=function(a){for(var i=this._cursor;i<this._displayables.length;i++)a&&a(this._displayables[i]);for(var i=0;i<this._temporaryDisplayables.length;i++)a&&a(this._temporaryDisplayables[i])},v.prototype.update=function(){this.updateTransform();for(var a=this._cursor;a<this._displayables.length;a++){var i=this._displayables[a];i.parent=this,i.update(),i.parent=null}for(var a=0;a<this._temporaryDisplayables.length;a++){var i=this._temporaryDisplayables[a];i.parent=this,i.update(),i.parent=null}},v.prototype.brush=function(a,i){for(var r=this._cursor;r<this._displayables.length;r++){var o=this._displayables[r];o.beforeBrush&&o.beforeBrush(a),o.brush(a,r===this._cursor?null:this._displayables[r-1]),o.afterBrush&&o.afterBrush(a)}this._cursor=r;for(var r=0;r<this._temporaryDisplayables.length;r++){var o=this._temporaryDisplayables[r];o.beforeBrush&&o.beforeBrush(a),o.brush(a,r===0?null:this._temporaryDisplayables[r-1]),o.afterBrush&&o.afterBrush(a)}this._temporaryDisplayables=[],this.notClear=!0};var h=[];v.prototype.getBoundingRect=function(){if(!this._rect){for(var a=new m(Infinity,Infinity,-Infinity,-Infinity),i=0;i<this._displayables.length;i++){var r=this._displayables[i],o=r.getBoundingRect().clone();r.needLocalTransform()&&o.applyTransform(r.getLocalTransform(h)),a.union(o)}this._rect=a}return this._rect},v.prototype.contain=function(a,i){var r=this.transformCoordToLocal(a,i),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(a,i))return!0}return!1},f(v,y);var c=v;D.exports=c},OUJF:function(D,_,e){var g=e("ProS"),f=e("bYtY");g.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(y,m){var v=m.getComponent("timeline");return v&&y.currentIndex!=null&&(v.setCurrentIndex(y.currentIndex),!v.get("loop",!0)&&v.isIndexMax()&&v.setPlayState(!1)),m.resetOption("timeline"),f.defaults({currentIndex:v.option.currentIndex},y)}),g.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(y,m){var v=m.getComponent("timeline");v&&y.playState!=null&&v.setPlayState(y.playState)})},OXB0:function(D,_,e){var g=e("T4UG"),f=e("MwEJ"),y=e("IDmD"),m=g.extend({type:"series.heatmap",getInitialData:function(v,h){return f(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var v=y.get(this.get("coordinateSystem"));if(v&&v.dimensions)return v.dimensions[0]==="lng"&&v.dimensions[1]==="lat"},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});D.exports=m},OZM5:function(D,_,e){"use strict";e.d(_,"b",function(){return r}),e.d(_,"a",function(){return o}),e.d(_,"k",function(){return d}),e.d(_,"h",function(){return n}),e.d(_,"i",function(){return l}),e.d(_,"g",function(){return t}),e.d(_,"c",function(){return s}),e.d(_,"d",function(){return u}),e.d(_,"j",function(){return b}),e.d(_,"e",function(){return E}),e.d(_,"f",function(){return A});var g=e("KQm4"),f=e("U8pU"),y=e("Ff2n"),m=e("q1tI"),v=e.n(m),h=e("Kwbf"),c=e("WaYH"),a=.25,i=2;function r(S,T){var L=S.slice(),x=L.indexOf(T);return x>=0&&L.splice(x,1),L}function o(S,T){var L=S.slice();return L.indexOf(T)===-1&&L.push(T),L}function d(S){return S.split("-")}function n(S,T){return"".concat(S,"-").concat(T)}function l(S){return S&&S.type&&S.type.isTreeNode}function t(S,T){var L=[S],x=T[S];function C(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];I.forEach(function(N){var F=N.key,k=N.children;L.push(F),C(k)})}return C(x.children),L}function s(S,T){var L=S.clientY,x=T.selectHandle.getBoundingClientRect(),C=x.top,I=x.bottom,N=x.height,F=Math.max(N*a,i);return L<=C+F?-1:L>=I-F?1:0}function u(S,T){if(!S)return;var L=T.multiple;return L?S.slice():S.length?[S[0]]:S}var p=function(T){return T};function w(S,T){if(!S)return[];var L=T||{},x=L.processProps,C=x===void 0?p:x,I=Array.isArray(S)?S:[S];return I.map(function(N){var F=N.children,k=Object(y.a)(N,["children"]),B=w(F,T);return v.a.createElement(c.a,Object.assign({},C(k)),B)})}function b(S){if(!S)return null;var T;if(Array.isArray(S))T={checkedKeys:S,halfCheckedKeys:void 0};else if(Object(f.a)(S)==="object")T={checkedKeys:S.checked||void 0,halfCheckedKeys:S.halfChecked||void 0};else return Object(h.a)(!1,"`checkedKeys` is not an array or an object"),null;return T}function E(S,T){var L=new Set;function x(C){if(L.has(C))return;var I=T[C];if(!I)return;L.add(C);var N=I.parent,F=I.node;if(F.disabled)return;N&&x(N.key)}return(S||[]).forEach(function(C){x(C)}),Object(g.a)(L)}function A(S){var T={};return Object.keys(S).forEach(function(L){(L.startsWith("data-")||L.startsWith("aria-"))&&(T[L]=S[L])}),T}},OaEy:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("bKJz"),m=e.n(y),v=e("R9oj")},"Of+w":function(D,_,e){var g=e("Cwc5"),f=e("Kz5y"),y=g(f,"WeakMap");D.exports=y},Ol7k:function(D,_,e){"use strict";var g=e("PKem"),f=e("ZX9x");g.b.Sider=f.b,_.a=g.b},OlYY:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),m=e("bYtY"),v=e("ItGF"),h=e("4NO4"),c=e("UOVi"),a=e("zDms"),i=m.each,r=c.eachAxisDim,o=y.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,u){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,u),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;v.canvasSupported||(s.realtime=!1),this._setDefaultThrottle(t),n(this,t);var u=this.settledOption;i([["start","startValue"],["end","endValue"]],function(p,w){this._rangePropMode[w]==="value"&&(s[p[0]]=u[p[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis(function(s,u,p,w){var b=this.dependentModels[s.axis][u],E=b.__dzAxisProxy||(b.__dzAxisProxy=new a(s.name,u,this,w));t[s.name+"_"+u]=E},this)},_resetTarget:function(){var t=this.option,s=this._judgeAutoMode();r(function(u){var p=u.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 u=t.orient;if(u==null&&s)return"orient";if(!s)return u==null&&(t.orient="horizontal"),"axisIndex"},_autoSetAxisIndex:function(){var t=!0,s=this.get("orient",!0),u=this.option,p=this.dependentModels;if(t){var w=s==="vertical"?"y":"x";p[w+"Axis"].length?(u[w+"AxisIndex"]=[0],t=!1):i(p.singleAxis,function(b){t&&b.get("orient",!0)===s&&(u.singleAxisIndex=[b.componentIndex],t=!1)})}t&&r(function(b){if(!t)return;var E=[],A=this.dependentModels[b.axis];if(A.length&&!E.length)for(var S=0,T=A.length;S<T;S++)A[S].get("type")==="category"&&E.push(S);u[b.axisIndex]=E,E.length&&(t=!1)},this),t&&this.ecModel.eachSeries(function(b){this._isSeriesHasAllAxesTypeOf(b,"value")&&r(function(E){var A=u[E.axisIndex],S=b.get(E.axisIndex),T=b.get(E.axisId),L=b.ecModel.queryComponents({mainType:E.axis,index:S,id:T})[0];S=L.componentIndex,m.indexOf(A,S)<0&&A.push(S)})},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 u=!0;return r(function(p){var w=t.get(p.axisIndex),b=this.dependentModels[p.axis][w];(!b||b.get("type")!==s)&&(u=!1)},this),u},_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 u=this.get(s.axisIndex);u.length&&(t=this.dependentModels[s.axis][u[0]])}},this),t},eachTargetAxis:function(t,s){var u=this.ecModel;r(function(p){i(this.get(p.axisIndex),function(w){t.call(s,p,w,this,u)},this)},this)},getAxisProxy:function(t,s){return this._axisProxies[t+"_"+s]},getAxisModel:function(t,s){var u=this.getAxisProxy(t,s);return u&&u.getAxisModel()},setRawRange:function(t){var s=this.option,u=this.settledOption;i([["start","startValue"],["end","endValue"]],function(p){(t[p[0]]!=null||t[p[1]]!=null)&&(s[p[0]]=u[p[0]]=t[p[0]],s[p[1]]=u[p[1]]=t[p[1]])},this),n(this,t)},setCalculatedRange:function(t){var s=this.option;i(["start","startValue","end","endValue"],function(u){s[u]=t[u]})},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,s){if(t==null&&s==null){var u=this.findRepresentativeAxisProxy();if(u)return u.getDataValueWindow()}else return this.getAxisProxy(t,s).getDataValueWindow()},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var s=this._axisProxies;for(var u in s)if(s.hasOwnProperty(u)&&s[u].hostedBy(this))return s[u];for(var u in s)if(s.hasOwnProperty(u)&&!s[u].hostedBy(this))return s[u]},getRangePropMode:function(){return this._rangePropMode.slice()}});function d(t){var s={};return i(["start","end","startValue","endValue","throttle"],function(u){t.hasOwnProperty(u)&&(s[u]=t[u])}),s}function n(t,s){var u=t._rangePropMode,p=t.get("rangeMode");i([["start","startValue"],["end","endValue"]],function(w,b){var E=s[w[0]]!=null,A=s[w[1]]!=null;E&&!A?u[b]="percent":!E&&A?u[b]="value":p?u[b]=p[b]:E&&(u[b]="percent")})}var l=o;D.exports=l},OnYD:function(D,_,e){},"Oy/b":function(D,_,e){(function(f,y){D.exports=y()})(typeof self!="undefined"?self:this,function(){return function(g){var f={};function y(m){if(f[m])return f[m].exports;var v=f[m]={i:m,l:!1,exports:{}};return g[m].call(v.exports,v,v.exports,y),v.l=!0,v.exports}return y.m=g,y.c=f,y.d=function(m,v,h){y.o(m,v)||Object.defineProperty(m,v,{enumerable:!0,get:h})},y.r=function(m){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},y.t=function(m,v){if(v&1&&(m=y(m)),v&8)return m;if(v&4&&typeof m=="object"&&m&&m.__esModule)return m;var h=Object.create(null);if(y.r(h),Object.defineProperty(h,"default",{enumerable:!0,value:m}),v&2&&typeof m!="string")for(var c in m)y.d(h,c,function(a){return m[a]}.bind(null,c));return h},y.n=function(m){var v=m&&m.__esModule?function(){return m.default}:function(){return m};return y.d(v,"a",v),v},y.o=function(m,v){return Object.prototype.hasOwnProperty.call(m,v)},y.p="",y(y.s=1)}([function(g,f,y){},function(g,f,y){"use strict";y.r(f);var m=y(0),v=function(){function Bt(le,xe,Ie){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=le,this.start=xe,this.end=Ie}return Bt.range=function(xe,Ie){return Ie?!xe||!xe.loc||!Ie.loc||xe.loc.lexer!==Ie.loc.lexer?null:new Bt(xe.loc.lexer,xe.loc.start,Ie.loc.end):xe&&xe.loc},Bt}(),h=function(){function Bt(xe,Ie){this.text=void 0,this.loc=void 0,this.text=xe,this.loc=Ie}var le=Bt.prototype;return le.range=function(Ie,We){return new Bt(We,v.range(this,Ie))},Bt}(),c=function Bt(le,xe){this.position=void 0;var Ie="KaTeX parse error: "+le,We,Et=xe&&xe.loc;if(Et&&Et.start<=Et.end){var Ut=Et.lexer.input;We=Et.start;var hr=Et.end;We===Ut.length?Ie+=" at end of input: ":Ie+=" at position "+(We+1)+": ";var gr=Ut.slice(We,hr).replace(/[^]/g,"$&\u0332"),Rr;We>15?Rr="\u2026"+Ut.slice(We-15,We):Rr=Ut.slice(0,We);var $r;hr+15<Ut.length?$r=Ut.slice(hr,hr+15)+"\u2026":$r=Ut.slice(hr),Ie+=Rr+gr+$r}var ln=new Error(Ie);return ln.name="ParseError",ln.__proto__=Bt.prototype,ln.position=We,ln};c.prototype.__proto__=Error.prototype;var a=c,i=function(le,xe){return le.indexOf(xe)!==-1},r=function(le,xe){return le===void 0?xe:le},o=/([A-Z])/g,d=function(le){return le.replace(o,"-$1").toLowerCase()},n={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},l=/[&><"']/g;function t(Bt){return String(Bt).replace(l,function(le){return n[le]})}var s=function Bt(le){return le.type==="ordgroup"||le.type==="color"?le.body.length===1?Bt(le.body[0]):le:le.type==="font"?Bt(le.body):le},u=function(le){var xe=s(le);return xe.type==="mathord"||xe.type==="textord"||xe.type==="atom"},p=function(le){if(!le)throw new Error("Expected non-null, but got "+String(le));return le},w=function(le){var xe=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(le);return xe!=null?xe[1]:"_relative"},b={contains:i,deflt:r,escape:t,hyphenate:d,getBaseElem:s,isCharacterBox:u,protocolFromUrl:w},E=function(){function Bt(xe){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,xe=xe||{},this.displayMode=b.deflt(xe.displayMode,!1),this.output=b.deflt(xe.output,"htmlAndMathml"),this.leqno=b.deflt(xe.leqno,!1),this.fleqn=b.deflt(xe.fleqn,!1),this.throwOnError=b.deflt(xe.throwOnError,!0),this.errorColor=b.deflt(xe.errorColor,"#cc0000"),this.macros=xe.macros||{},this.minRuleThickness=Math.max(0,b.deflt(xe.minRuleThickness,0)),this.colorIsTextColor=b.deflt(xe.colorIsTextColor,!1),this.strict=b.deflt(xe.strict,"warn"),this.trust=b.deflt(xe.trust,!1),this.maxSize=Math.max(0,b.deflt(xe.maxSize,Infinity)),this.maxExpand=Math.max(0,b.deflt(xe.maxExpand,1e3))}var le=Bt.prototype;return le.reportNonstrict=function(Ie,We,Et){var Ut=this.strict;if(typeof Ut=="function"&&(Ut=Ut(Ie,We,Et)),!Ut||Ut==="ignore")return;if(Ut===!0||Ut==="error")throw new a("LaTeX-incompatible input and strict mode is set to 'error': "+(We+" ["+Ie+"]"),Et);Ut==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(We+" ["+Ie+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ut+"': "+We+" ["+Ie+"]"))},le.useStrictBehavior=function(Ie,We,Et){var Ut=this.strict;if(typeof Ut=="function")try{Ut=Ut(Ie,We,Et)}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': "+(We+" ["+Ie+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ut+"': "+We+" ["+Ie+"]")),!1)},le.isTrusted=function(Ie){Ie.url&&!Ie.protocol&&(Ie.protocol=b.protocolFromUrl(Ie.url));var We=typeof this.trust=="function"?this.trust(Ie):this.trust;return Boolean(We)},Bt}(),A=function(){function Bt(xe,Ie,We){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=xe,this.size=Ie,this.cramped=We}var le=Bt.prototype;return le.sup=function(){return k[B[this.id]]},le.sub=function(){return k[P[this.id]]},le.fracNum=function(){return k[K[this.id]]},le.fracDen=function(){return k[R[this.id]]},le.cramp=function(){return k[U[this.id]]},le.text=function(){return k[j[this.id]]},le.isTight=function(){return this.size>=2},Bt}(),S=0,T=1,L=2,x=3,C=4,I=5,N=6,F=7,k=[new A(S,0,!1),new A(T,0,!0),new A(L,1,!1),new A(x,1,!0),new A(C,2,!1),new A(I,2,!0),new A(N,3,!1),new A(F,3,!0)],B=[C,I,C,I,N,F,N,F],P=[I,I,I,I,F,F,F,F],K=[L,x,C,I,N,F,N,F],R=[x,x,I,I,F,F,F,F],U=[T,T,x,x,I,I,F,F],j=[S,T,L,x,L,x,L,x],H={DISPLAY:k[S],TEXT:k[L],SCRIPT:k[C],SCRIPTSCRIPT:k[N]},W=[{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 X(Bt){for(var le=0;le<W.length;le++)for(var xe=W[le],Ie=0;Ie<xe.blocks.length;Ie++){var We=xe.blocks[Ie];if(Bt>=We[0]&&Bt<=We[1])return xe.name}return null}var z=[];W.forEach(function(Bt){return Bt.blocks.forEach(function(le){return z.push.apply(z,le)})});function G(Bt){for(var le=0;le<z.length;le+=2)if(Bt>=z[le]&&Bt<=z[le+1])return!0;return!1}var Z=80,ge=function(le,xe){return"M95,"+(622+le+xe)+`
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`+le/2.075+" -"+le+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+le)+`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+le)+" "+xe+"h400000v"+(40+le)+"h-400000z"},Q=function(le,xe){return"M263,"+(601+le+xe)+`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`+le/2.084+" -"+le+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+le)+`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+le)+" "+xe+"h400000v"+(40+le)+"h-400000z"},we=function(le,xe){return"M983 "+(10+le+xe)+`
l`+le/3.13+" -"+le+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+le)+`
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+le)+" "+xe+"h400000v"+(40+le)+"h-400000z"},Ee=function(le,xe){return"M424,"+(2398+le+xe)+`
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`+le/4.223+" -"+le+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+le)+`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+le)+" "+xe+`
h400000v`+(40+le)+"h-400000z"},Ae=function(le,xe){return"M473,"+(2713+le+xe)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+le/5.298+" -"+le+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+le)+`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+le)+" "+xe+"h400000v"+(40+le)+"H1017.7z"},Pe=function(le,xe,Ie){var We=Ie-54-xe-le;return"M702 "+(le+xe)+"H400000"+(40+le)+`
H742v`+We+`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 `+xe+"H400000v"+(40+le)+"H742z"},Ge=function(le,xe,Ie){xe=1e3*xe;var We="";switch(le){case"sqrtMain":We=ge(xe,Z);break;case"sqrtSize1":We=Q(xe,Z);break;case"sqrtSize2":We=we(xe,Z);break;case"sqrtSize3":We=Ee(xe,Z);break;case"sqrtSize4":We=Ae(xe,Z);break;case"sqrtTall":We=Pe(xe,Z,Ie)}return We},gt={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`},_e=function(){function Bt(xe){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=xe,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var le=Bt.prototype;return le.hasClass=function(Ie){return b.contains(this.classes,Ie)},le.toNode=function(){for(var Ie=document.createDocumentFragment(),We=0;We<this.children.length;We++)Ie.appendChild(this.children[We].toNode());return Ie},le.toMarkup=function(){for(var Ie="",We=0;We<this.children.length;We++)Ie+=this.children[We].toMarkup();return Ie},le.toText=function(){var Ie=function(Et){return Et.toText()};return this.children.map(Ie).join("")},Bt}(),Ce=function(le){return le.filter(function(xe){return xe}).join(" ")},lt=function(le,xe,Ie){if(this.classes=le||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=Ie||{},xe){xe.style.isTight()&&this.classes.push("mtight");var We=xe.getColor();We&&(this.style.color=We)}},ce=function(le){var xe=document.createElement(le);xe.className=Ce(this.classes);for(var Ie in this.style)this.style.hasOwnProperty(Ie)&&(xe.style[Ie]=this.style[Ie]);for(var We in this.attributes)this.attributes.hasOwnProperty(We)&&xe.setAttribute(We,this.attributes[We]);for(var Et=0;Et<this.children.length;Et++)xe.appendChild(this.children[Et].toNode());return xe},Y=function(le){var xe="<"+le;this.classes.length&&(xe+=' class="'+b.escape(Ce(this.classes))+'"');var Ie="";for(var We in this.style)this.style.hasOwnProperty(We)&&(Ie+=b.hyphenate(We)+":"+this.style[We]+";");Ie&&(xe+=' style="'+b.escape(Ie)+'"');for(var Et in this.attributes)this.attributes.hasOwnProperty(Et)&&(xe+=" "+Et+'="'+b.escape(this.attributes[Et])+'"');xe+=">";for(var Ut=0;Ut<this.children.length;Ut++)xe+=this.children[Ut].toMarkup();return xe+="</"+le+">",xe},V=function(){function Bt(xe,Ie,We,Et){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,lt.call(this,xe,We,Et),this.children=Ie||[]}var le=Bt.prototype;return le.setAttribute=function(Ie,We){this.attributes[Ie]=We},le.hasClass=function(Ie){return b.contains(this.classes,Ie)},le.toNode=function(){return ce.call(this,"span")},le.toMarkup=function(){return Y.call(this,"span")},Bt}(),$=function(){function Bt(xe,Ie,We,Et){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,lt.call(this,Ie,Et),this.children=We||[],this.setAttribute("href",xe)}var le=Bt.prototype;return le.setAttribute=function(Ie,We){this.attributes[Ie]=We},le.hasClass=function(Ie){return b.contains(this.classes,Ie)},le.toNode=function(){return ce.call(this,"a")},le.toMarkup=function(){return Y.call(this,"a")},Bt}(),Te=function(){function Bt(xe,Ie,We){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=Ie,this.src=xe,this.classes=["mord"],this.style=We}var le=Bt.prototype;return le.hasClass=function(Ie){return b.contains(this.classes,Ie)},le.toNode=function(){var Ie=document.createElement("img");Ie.src=this.src,Ie.alt=this.alt,Ie.className="mord";for(var We in this.style)this.style.hasOwnProperty(We)&&(Ie.style[We]=this.style[We]);return Ie},le.toMarkup=function(){var Ie="<img src='"+this.src+" 'alt='"+this.alt+"' ",We="";for(var Et in this.style)this.style.hasOwnProperty(Et)&&(We+=b.hyphenate(Et)+":"+this.style[Et]+";");return We&&(Ie+=' style="'+b.escape(We)+'"'),Ie+="'/>",Ie},Bt}(),ye={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Fe=function(){function Bt(xe,Ie,We,Et,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=xe,this.height=Ie||0,this.depth=We||0,this.italic=Et||0,this.skew=Ut||0,this.width=hr||0,this.classes=gr||[],this.style=Rr||{},this.maxFontSize=0;var $r=X(this.text.charCodeAt(0));$r&&this.classes.push($r+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ye[this.text])}var le=Bt.prototype;return le.hasClass=function(Ie){return b.contains(this.classes,Ie)},le.toNode=function(){var Ie=document.createTextNode(this.text),We=null;this.italic>0&&(We=document.createElement("span"),We.style.marginRight=this.italic+"em"),this.classes.length>0&&(We=We||document.createElement("span"),We.className=Ce(this.classes));for(var Et in this.style)this.style.hasOwnProperty(Et)&&(We=We||document.createElement("span"),We.style[Et]=this.style[Et]);return We?(We.appendChild(Ie),We):Ie},le.toMarkup=function(){var Ie=!1,We="<span";this.classes.length&&(Ie=!0,We+=' class="',We+=b.escape(Ce(this.classes)),We+='"');var Et="";this.italic>0&&(Et+="margin-right:"+this.italic+"em;");for(var Ut in this.style)this.style.hasOwnProperty(Ut)&&(Et+=b.hyphenate(Ut)+":"+this.style[Ut]+";");Et&&(Ie=!0,We+=' style="'+b.escape(Et)+'"');var hr=b.escape(this.text);return Ie?(We+=">",We+=hr,We+="</span>",We):hr},Bt}(),Oe=function(){function Bt(xe,Ie){this.children=void 0,this.attributes=void 0,this.children=xe||[],this.attributes=Ie||{}}var le=Bt.prototype;return le.toNode=function(){var Ie="http://www.w3.org/2000/svg",We=document.createElementNS(Ie,"svg");for(var Et in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Et)&&We.setAttribute(Et,this.attributes[Et]);for(var Ut=0;Ut<this.children.length;Ut++)We.appendChild(this.children[Ut].toNode());return We},le.toMarkup=function(){var Ie="<svg";for(var We in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,We)&&(Ie+=" "+We+"='"+this.attributes[We]+"'");Ie+=">";for(var Et=0;Et<this.children.length;Et++)Ie+=this.children[Et].toMarkup();return Ie+="</svg>",Ie},Bt}(),se=function(){function Bt(xe,Ie){this.pathName=void 0,this.alternate=void 0,this.pathName=xe,this.alternate=Ie}var le=Bt.prototype;return le.toNode=function(){var Ie="http://www.w3.org/2000/svg",We=document.createElementNS(Ie,"path");return this.alternate?We.setAttribute("d",this.alternate):We.setAttribute("d",gt[this.pathName]),We},le.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+gt[this.pathName]+"'/>"},Bt}(),fe=function(){function Bt(xe){this.attributes=void 0,this.attributes=xe||{}}var le=Bt.prototype;return le.toNode=function(){var Ie="http://www.w3.org/2000/svg",We=document.createElementNS(Ie,"line");for(var Et in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Et)&&We.setAttribute(Et,this.attributes[Et]);return We},le.toMarkup=function(){var Ie="<line";for(var We in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,We)&&(Ie+=" "+We+"='"+this.attributes[We]+"'");return Ie+="/>",Ie},Bt}();function Le(Bt){if(Bt instanceof Fe)return Bt;throw new Error("Expected symbolNode but got "+String(Bt)+".")}function Je(Bt){if(Bt instanceof V)return Bt;throw new Error("Expected span<HtmlDomNode> but got "+String(Bt)+".")}var mt={"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]}},Ct={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]},Ue={\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 Rt(Bt,le){mt[Bt]=le}function Ke(Bt,le,xe){if(!mt[le])throw new Error("Font metrics not found for font: "+le+".");var Ie=Bt.charCodeAt(0),We=mt[le][Ie];if(!We&&Bt[0]in Ue&&(Ie=Ue[Bt[0]].charCodeAt(0),We=mt[le][Ie]),!We&&xe==="text"&&(G(Ie)&&(We=mt[le][77])),We)return{depth:We[0],height:We[1],italic:We[2],skew:We[3],width:We[4]}}var wt={};function Ye(Bt){var le;if(Bt>=5?le=0:Bt>=3?le=1:le=2,!wt[le]){var xe=wt[le]={cssEmPerMu:Ct.quad[le]/18};for(var Ie in Ct)Ct.hasOwnProperty(Ie)&&(xe[Ie]=Ct[Ie][le])}return wt[le]}var et={bin:1,close:1,inner:1,open:1,punct:1,rel:1},rt={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},st={math:{},text:{}},Ve=st;function oe(Bt,le,xe,Ie,We,Et){st[Bt][We]={font:le,group:xe,replace:Ie},Et&&Ie&&(st[Bt][Ie]=st[Bt][We])}var re="math",it="text",Qe="main",ve="ams",Zt="accent-token",dt="bin",ct="close",yt="inner",_t="mathord",or="op-token",Pt="open",be="punct",me="rel",pe="spacing",ue="textord";oe(re,Qe,me,"\u2261","\\equiv",!0),oe(re,Qe,me,"\u227A","\\prec",!0),oe(re,Qe,me,"\u227B","\\succ",!0),oe(re,Qe,me,"\u223C","\\sim",!0),oe(re,Qe,me,"\u22A5","\\perp"),oe(re,Qe,me,"\u2AAF","\\preceq",!0),oe(re,Qe,me,"\u2AB0","\\succeq",!0),oe(re,Qe,me,"\u2243","\\simeq",!0),oe(re,Qe,me,"\u2223","\\mid",!0),oe(re,Qe,me,"\u226A","\\ll",!0),oe(re,Qe,me,"\u226B","\\gg",!0),oe(re,Qe,me,"\u224D","\\asymp",!0),oe(re,Qe,me,"\u2225","\\parallel"),oe(re,Qe,me,"\u22C8","\\bowtie",!0),oe(re,Qe,me,"\u2323","\\smile",!0),oe(re,Qe,me,"\u2291","\\sqsubseteq",!0),oe(re,Qe,me,"\u2292","\\sqsupseteq",!0),oe(re,Qe,me,"\u2250","\\doteq",!0),oe(re,Qe,me,"\u2322","\\frown",!0),oe(re,Qe,me,"\u220B","\\ni",!0),oe(re,Qe,me,"\u221D","\\propto",!0),oe(re,Qe,me,"\u22A2","\\vdash",!0),oe(re,Qe,me,"\u22A3","\\dashv",!0),oe(re,Qe,me,"\u220B","\\owns"),oe(re,Qe,be,".","\\ldotp"),oe(re,Qe,be,"\u22C5","\\cdotp"),oe(re,Qe,ue,"#","\\#"),oe(it,Qe,ue,"#","\\#"),oe(re,Qe,ue,"&","\\&"),oe(it,Qe,ue,"&","\\&"),oe(re,Qe,ue,"\u2135","\\aleph",!0),oe(re,Qe,ue,"\u2200","\\forall",!0),oe(re,Qe,ue,"\u210F","\\hbar",!0),oe(re,Qe,ue,"\u2203","\\exists",!0),oe(re,Qe,ue,"\u2207","\\nabla",!0),oe(re,Qe,ue,"\u266D","\\flat",!0),oe(re,Qe,ue,"\u2113","\\ell",!0),oe(re,Qe,ue,"\u266E","\\natural",!0),oe(re,Qe,ue,"\u2663","\\clubsuit",!0),oe(re,Qe,ue,"\u2118","\\wp",!0),oe(re,Qe,ue,"\u266F","\\sharp",!0),oe(re,Qe,ue,"\u2662","\\diamondsuit",!0),oe(re,Qe,ue,"\u211C","\\Re",!0),oe(re,Qe,ue,"\u2661","\\heartsuit",!0),oe(re,Qe,ue,"\u2111","\\Im",!0),oe(re,Qe,ue,"\u2660","\\spadesuit",!0),oe(it,Qe,ue,"\xA7","\\S",!0),oe(it,Qe,ue,"\xB6","\\P",!0),oe(re,Qe,ue,"\u2020","\\dag"),oe(it,Qe,ue,"\u2020","\\dag"),oe(it,Qe,ue,"\u2020","\\textdagger"),oe(re,Qe,ue,"\u2021","\\ddag"),oe(it,Qe,ue,"\u2021","\\ddag"),oe(it,Qe,ue,"\u2021","\\textdaggerdbl"),oe(re,Qe,ct,"\u23B1","\\rmoustache",!0),oe(re,Qe,Pt,"\u23B0","\\lmoustache",!0),oe(re,Qe,ct,"\u27EF","\\rgroup",!0),oe(re,Qe,Pt,"\u27EE","\\lgroup",!0),oe(re,Qe,dt,"\u2213","\\mp",!0),oe(re,Qe,dt,"\u2296","\\ominus",!0),oe(re,Qe,dt,"\u228E","\\uplus",!0),oe(re,Qe,dt,"\u2293","\\sqcap",!0),oe(re,Qe,dt,"\u2217","\\ast"),oe(re,Qe,dt,"\u2294","\\sqcup",!0),oe(re,Qe,dt,"\u25EF","\\bigcirc"),oe(re,Qe,dt,"\u2219","\\bullet"),oe(re,Qe,dt,"\u2021","\\ddagger"),oe(re,Qe,dt,"\u2240","\\wr",!0),oe(re,Qe,dt,"\u2A3F","\\amalg"),oe(re,Qe,dt,"&","\\And"),oe(re,Qe,me,"\u27F5","\\longleftarrow",!0),oe(re,Qe,me,"\u21D0","\\Leftarrow",!0),oe(re,Qe,me,"\u27F8","\\Longleftarrow",!0),oe(re,Qe,me,"\u27F6","\\longrightarrow",!0),oe(re,Qe,me,"\u21D2","\\Rightarrow",!0),oe(re,Qe,me,"\u27F9","\\Longrightarrow",!0),oe(re,Qe,me,"\u2194","\\leftrightarrow",!0),oe(re,Qe,me,"\u27F7","\\longleftrightarrow",!0),oe(re,Qe,me,"\u21D4","\\Leftrightarrow",!0),oe(re,Qe,me,"\u27FA","\\Longleftrightarrow",!0),oe(re,Qe,me,"\u21A6","\\mapsto",!0),oe(re,Qe,me,"\u27FC","\\longmapsto",!0),oe(re,Qe,me,"\u2197","\\nearrow",!0),oe(re,Qe,me,"\u21A9","\\hookleftarrow",!0),oe(re,Qe,me,"\u21AA","\\hookrightarrow",!0),oe(re,Qe,me,"\u2198","\\searrow",!0),oe(re,Qe,me,"\u21BC","\\leftharpoonup",!0),oe(re,Qe,me,"\u21C0","\\rightharpoonup",!0),oe(re,Qe,me,"\u2199","\\swarrow",!0),oe(re,Qe,me,"\u21BD","\\leftharpoondown",!0),oe(re,Qe,me,"\u21C1","\\rightharpoondown",!0),oe(re,Qe,me,"\u2196","\\nwarrow",!0),oe(re,Qe,me,"\u21CC","\\rightleftharpoons",!0),oe(re,ve,me,"\u226E","\\nless",!0),oe(re,ve,me,"\uE010","\\@nleqslant"),oe(re,ve,me,"\uE011","\\@nleqq"),oe(re,ve,me,"\u2A87","\\lneq",!0),oe(re,ve,me,"\u2268","\\lneqq",!0),oe(re,ve,me,"\uE00C","\\@lvertneqq"),oe(re,ve,me,"\u22E6","\\lnsim",!0),oe(re,ve,me,"\u2A89","\\lnapprox",!0),oe(re,ve,me,"\u2280","\\nprec",!0),oe(re,ve,me,"\u22E0","\\npreceq",!0),oe(re,ve,me,"\u22E8","\\precnsim",!0),oe(re,ve,me,"\u2AB9","\\precnapprox",!0),oe(re,ve,me,"\u2241","\\nsim",!0),oe(re,ve,me,"\uE006","\\@nshortmid"),oe(re,ve,me,"\u2224","\\nmid",!0),oe(re,ve,me,"\u22AC","\\nvdash",!0),oe(re,ve,me,"\u22AD","\\nvDash",!0),oe(re,ve,me,"\u22EA","\\ntriangleleft"),oe(re,ve,me,"\u22EC","\\ntrianglelefteq",!0),oe(re,ve,me,"\u228A","\\subsetneq",!0),oe(re,ve,me,"\uE01A","\\@varsubsetneq"),oe(re,ve,me,"\u2ACB","\\subsetneqq",!0),oe(re,ve,me,"\uE017","\\@varsubsetneqq"),oe(re,ve,me,"\u226F","\\ngtr",!0),oe(re,ve,me,"\uE00F","\\@ngeqslant"),oe(re,ve,me,"\uE00E","\\@ngeqq"),oe(re,ve,me,"\u2A88","\\gneq",!0),oe(re,ve,me,"\u2269","\\gneqq",!0),oe(re,ve,me,"\uE00D","\\@gvertneqq"),oe(re,ve,me,"\u22E7","\\gnsim",!0),oe(re,ve,me,"\u2A8A","\\gnapprox",!0),oe(re,ve,me,"\u2281","\\nsucc",!0),oe(re,ve,me,"\u22E1","\\nsucceq",!0),oe(re,ve,me,"\u22E9","\\succnsim",!0),oe(re,ve,me,"\u2ABA","\\succnapprox",!0),oe(re,ve,me,"\u2246","\\ncong",!0),oe(re,ve,me,"\uE007","\\@nshortparallel"),oe(re,ve,me,"\u2226","\\nparallel",!0),oe(re,ve,me,"\u22AF","\\nVDash",!0),oe(re,ve,me,"\u22EB","\\ntriangleright"),oe(re,ve,me,"\u22ED","\\ntrianglerighteq",!0),oe(re,ve,me,"\uE018","\\@nsupseteqq"),oe(re,ve,me,"\u228B","\\supsetneq",!0),oe(re,ve,me,"\uE01B","\\@varsupsetneq"),oe(re,ve,me,"\u2ACC","\\supsetneqq",!0),oe(re,ve,me,"\uE019","\\@varsupsetneqq"),oe(re,ve,me,"\u22AE","\\nVdash",!0),oe(re,ve,me,"\u2AB5","\\precneqq",!0),oe(re,ve,me,"\u2AB6","\\succneqq",!0),oe(re,ve,me,"\uE016","\\@nsubseteqq"),oe(re,ve,dt,"\u22B4","\\unlhd"),oe(re,ve,dt,"\u22B5","\\unrhd"),oe(re,ve,me,"\u219A","\\nleftarrow",!0),oe(re,ve,me,"\u219B","\\nrightarrow",!0),oe(re,ve,me,"\u21CD","\\nLeftarrow",!0),oe(re,ve,me,"\u21CF","\\nRightarrow",!0),oe(re,ve,me,"\u21AE","\\nleftrightarrow",!0),oe(re,ve,me,"\u21CE","\\nLeftrightarrow",!0),oe(re,ve,me,"\u25B3","\\vartriangle"),oe(re,ve,ue,"\u210F","\\hslash"),oe(re,ve,ue,"\u25BD","\\triangledown"),oe(re,ve,ue,"\u25CA","\\lozenge"),oe(re,ve,ue,"\u24C8","\\circledS"),oe(re,ve,ue,"\xAE","\\circledR"),oe(it,ve,ue,"\xAE","\\circledR"),oe(re,ve,ue,"\u2221","\\measuredangle",!0),oe(re,ve,ue,"\u2204","\\nexists"),oe(re,ve,ue,"\u2127","\\mho"),oe(re,ve,ue,"\u2132","\\Finv",!0),oe(re,ve,ue,"\u2141","\\Game",!0),oe(re,ve,ue,"\u2035","\\backprime"),oe(re,ve,ue,"\u25B2","\\blacktriangle"),oe(re,ve,ue,"\u25BC","\\blacktriangledown"),oe(re,ve,ue,"\u25A0","\\blacksquare"),oe(re,ve,ue,"\u29EB","\\blacklozenge"),oe(re,ve,ue,"\u2605","\\bigstar"),oe(re,ve,ue,"\u2222","\\sphericalangle",!0),oe(re,ve,ue,"\u2201","\\complement",!0),oe(re,ve,ue,"\xF0","\\eth",!0),oe(re,ve,ue,"\u2571","\\diagup"),oe(re,ve,ue,"\u2572","\\diagdown"),oe(re,ve,ue,"\u25A1","\\square"),oe(re,ve,ue,"\u25A1","\\Box"),oe(re,ve,ue,"\u25CA","\\Diamond"),oe(re,ve,ue,"\xA5","\\yen",!0),oe(it,ve,ue,"\xA5","\\yen",!0),oe(re,ve,ue,"\u2713","\\checkmark",!0),oe(it,ve,ue,"\u2713","\\checkmark"),oe(re,ve,ue,"\u2136","\\beth",!0),oe(re,ve,ue,"\u2138","\\daleth",!0),oe(re,ve,ue,"\u2137","\\gimel",!0),oe(re,ve,ue,"\u03DD","\\digamma",!0),oe(re,ve,ue,"\u03F0","\\varkappa"),oe(re,ve,Pt,"\u250C","\\ulcorner",!0),oe(re,ve,ct,"\u2510","\\urcorner",!0),oe(re,ve,Pt,"\u2514","\\llcorner",!0),oe(re,ve,ct,"\u2518","\\lrcorner",!0),oe(re,ve,me,"\u2266","\\leqq",!0),oe(re,ve,me,"\u2A7D","\\leqslant",!0),oe(re,ve,me,"\u2A95","\\eqslantless",!0),oe(re,ve,me,"\u2272","\\lesssim",!0),oe(re,ve,me,"\u2A85","\\lessapprox",!0),oe(re,ve,me,"\u224A","\\approxeq",!0),oe(re,ve,dt,"\u22D6","\\lessdot"),oe(re,ve,me,"\u22D8","\\lll",!0),oe(re,ve,me,"\u2276","\\lessgtr",!0),oe(re,ve,me,"\u22DA","\\lesseqgtr",!0),oe(re,ve,me,"\u2A8B","\\lesseqqgtr",!0),oe(re,ve,me,"\u2251","\\doteqdot"),oe(re,ve,me,"\u2253","\\risingdotseq",!0),oe(re,ve,me,"\u2252","\\fallingdotseq",!0),oe(re,ve,me,"\u223D","\\backsim",!0),oe(re,ve,me,"\u22CD","\\backsimeq",!0),oe(re,ve,me,"\u2AC5","\\subseteqq",!0),oe(re,ve,me,"\u22D0","\\Subset",!0),oe(re,ve,me,"\u228F","\\sqsubset",!0),oe(re,ve,me,"\u227C","\\preccurlyeq",!0),oe(re,ve,me,"\u22DE","\\curlyeqprec",!0),oe(re,ve,me,"\u227E","\\precsim",!0),oe(re,ve,me,"\u2AB7","\\precapprox",!0),oe(re,ve,me,"\u22B2","\\vartriangleleft"),oe(re,ve,me,"\u22B4","\\trianglelefteq"),oe(re,ve,me,"\u22A8","\\vDash",!0),oe(re,ve,me,"\u22AA","\\Vvdash",!0),oe(re,ve,me,"\u2323","\\smallsmile"),oe(re,ve,me,"\u2322","\\smallfrown"),oe(re,ve,me,"\u224F","\\bumpeq",!0),oe(re,ve,me,"\u224E","\\Bumpeq",!0),oe(re,ve,me,"\u2267","\\geqq",!0),oe(re,ve,me,"\u2A7E","\\geqslant",!0),oe(re,ve,me,"\u2A96","\\eqslantgtr",!0),oe(re,ve,me,"\u2273","\\gtrsim",!0),oe(re,ve,me,"\u2A86","\\gtrapprox",!0),oe(re,ve,dt,"\u22D7","\\gtrdot"),oe(re,ve,me,"\u22D9","\\ggg",!0),oe(re,ve,me,"\u2277","\\gtrless",!0),oe(re,ve,me,"\u22DB","\\gtreqless",!0),oe(re,ve,me,"\u2A8C","\\gtreqqless",!0),oe(re,ve,me,"\u2256","\\eqcirc",!0),oe(re,ve,me,"\u2257","\\circeq",!0),oe(re,ve,me,"\u225C","\\triangleq",!0),oe(re,ve,me,"\u223C","\\thicksim"),oe(re,ve,me,"\u2248","\\thickapprox"),oe(re,ve,me,"\u2AC6","\\supseteqq",!0),oe(re,ve,me,"\u22D1","\\Supset",!0),oe(re,ve,me,"\u2290","\\sqsupset",!0),oe(re,ve,me,"\u227D","\\succcurlyeq",!0),oe(re,ve,me,"\u22DF","\\curlyeqsucc",!0),oe(re,ve,me,"\u227F","\\succsim",!0),oe(re,ve,me,"\u2AB8","\\succapprox",!0),oe(re,ve,me,"\u22B3","\\vartriangleright"),oe(re,ve,me,"\u22B5","\\trianglerighteq"),oe(re,ve,me,"\u22A9","\\Vdash",!0),oe(re,ve,me,"\u2223","\\shortmid"),oe(re,ve,me,"\u2225","\\shortparallel"),oe(re,ve,me,"\u226C","\\between",!0),oe(re,ve,me,"\u22D4","\\pitchfork",!0),oe(re,ve,me,"\u221D","\\varpropto"),oe(re,ve,me,"\u25C0","\\blacktriangleleft"),oe(re,ve,me,"\u2234","\\therefore",!0),oe(re,ve,me,"\u220D","\\backepsilon"),oe(re,ve,me,"\u25B6","\\blacktriangleright"),oe(re,ve,me,"\u2235","\\because",!0),oe(re,ve,me,"\u22D8","\\llless"),oe(re,ve,me,"\u22D9","\\gggtr"),oe(re,ve,dt,"\u22B2","\\lhd"),oe(re,ve,dt,"\u22B3","\\rhd"),oe(re,ve,me,"\u2242","\\eqsim",!0),oe(re,Qe,me,"\u22C8","\\Join"),oe(re,ve,me,"\u2251","\\Doteq",!0),oe(re,ve,dt,"\u2214","\\dotplus",!0),oe(re,ve,dt,"\u2216","\\smallsetminus"),oe(re,ve,dt,"\u22D2","\\Cap",!0),oe(re,ve,dt,"\u22D3","\\Cup",!0),oe(re,ve,dt,"\u2A5E","\\doublebarwedge",!0),oe(re,ve,dt,"\u229F","\\boxminus",!0),oe(re,ve,dt,"\u229E","\\boxplus",!0),oe(re,ve,dt,"\u22C7","\\divideontimes",!0),oe(re,ve,dt,"\u22C9","\\ltimes",!0),oe(re,ve,dt,"\u22CA","\\rtimes",!0),oe(re,ve,dt,"\u22CB","\\leftthreetimes",!0),oe(re,ve,dt,"\u22CC","\\rightthreetimes",!0),oe(re,ve,dt,"\u22CF","\\curlywedge",!0),oe(re,ve,dt,"\u22CE","\\curlyvee",!0),oe(re,ve,dt,"\u229D","\\circleddash",!0),oe(re,ve,dt,"\u229B","\\circledast",!0),oe(re,ve,dt,"\u22C5","\\centerdot"),oe(re,ve,dt,"\u22BA","\\intercal",!0),oe(re,ve,dt,"\u22D2","\\doublecap"),oe(re,ve,dt,"\u22D3","\\doublecup"),oe(re,ve,dt,"\u22A0","\\boxtimes",!0),oe(re,ve,me,"\u21E2","\\dashrightarrow",!0),oe(re,ve,me,"\u21E0","\\dashleftarrow",!0),oe(re,ve,me,"\u21C7","\\leftleftarrows",!0),oe(re,ve,me,"\u21C6","\\leftrightarrows",!0),oe(re,ve,me,"\u21DA","\\Lleftarrow",!0),oe(re,ve,me,"\u219E","\\twoheadleftarrow",!0),oe(re,ve,me,"\u21A2","\\leftarrowtail",!0),oe(re,ve,me,"\u21AB","\\looparrowleft",!0),oe(re,ve,me,"\u21CB","\\leftrightharpoons",!0),oe(re,ve,me,"\u21B6","\\curvearrowleft",!0),oe(re,ve,me,"\u21BA","\\circlearrowleft",!0),oe(re,ve,me,"\u21B0","\\Lsh",!0),oe(re,ve,me,"\u21C8","\\upuparrows",!0),oe(re,ve,me,"\u21BF","\\upharpoonleft",!0),oe(re,ve,me,"\u21C3","\\downharpoonleft",!0),oe(re,ve,me,"\u22B8","\\multimap",!0),oe(re,ve,me,"\u21AD","\\leftrightsquigarrow",!0),oe(re,ve,me,"\u21C9","\\rightrightarrows",!0),oe(re,ve,me,"\u21C4","\\rightleftarrows",!0),oe(re,ve,me,"\u21A0","\\twoheadrightarrow",!0),oe(re,ve,me,"\u21A3","\\rightarrowtail",!0),oe(re,ve,me,"\u21AC","\\looparrowright",!0),oe(re,ve,me,"\u21B7","\\curvearrowright",!0),oe(re,ve,me,"\u21BB","\\circlearrowright",!0),oe(re,ve,me,"\u21B1","\\Rsh",!0),oe(re,ve,me,"\u21CA","\\downdownarrows",!0),oe(re,ve,me,"\u21BE","\\upharpoonright",!0),oe(re,ve,me,"\u21C2","\\downharpoonright",!0),oe(re,ve,me,"\u21DD","\\rightsquigarrow",!0),oe(re,ve,me,"\u21DD","\\leadsto"),oe(re,ve,me,"\u21DB","\\Rrightarrow",!0),oe(re,ve,me,"\u21BE","\\restriction"),oe(re,Qe,ue,"\u2018","`"),oe(re,Qe,ue,"$","\\$"),oe(it,Qe,ue,"$","\\$"),oe(it,Qe,ue,"$","\\textdollar"),oe(re,Qe,ue,"%","\\%"),oe(it,Qe,ue,"%","\\%"),oe(re,Qe,ue,"_","\\_"),oe(it,Qe,ue,"_","\\_"),oe(it,Qe,ue,"_","\\textunderscore"),oe(re,Qe,ue,"\u2220","\\angle",!0),oe(re,Qe,ue,"\u221E","\\infty",!0),oe(re,Qe,ue,"\u2032","\\prime"),oe(re,Qe,ue,"\u25B3","\\triangle"),oe(re,Qe,ue,"\u0393","\\Gamma",!0),oe(re,Qe,ue,"\u0394","\\Delta",!0),oe(re,Qe,ue,"\u0398","\\Theta",!0),oe(re,Qe,ue,"\u039B","\\Lambda",!0),oe(re,Qe,ue,"\u039E","\\Xi",!0),oe(re,Qe,ue,"\u03A0","\\Pi",!0),oe(re,Qe,ue,"\u03A3","\\Sigma",!0),oe(re,Qe,ue,"\u03A5","\\Upsilon",!0),oe(re,Qe,ue,"\u03A6","\\Phi",!0),oe(re,Qe,ue,"\u03A8","\\Psi",!0),oe(re,Qe,ue,"\u03A9","\\Omega",!0),oe(re,Qe,ue,"A","\u0391"),oe(re,Qe,ue,"B","\u0392"),oe(re,Qe,ue,"E","\u0395"),oe(re,Qe,ue,"Z","\u0396"),oe(re,Qe,ue,"H","\u0397"),oe(re,Qe,ue,"I","\u0399"),oe(re,Qe,ue,"K","\u039A"),oe(re,Qe,ue,"M","\u039C"),oe(re,Qe,ue,"N","\u039D"),oe(re,Qe,ue,"O","\u039F"),oe(re,Qe,ue,"P","\u03A1"),oe(re,Qe,ue,"T","\u03A4"),oe(re,Qe,ue,"X","\u03A7"),oe(re,Qe,ue,"\xAC","\\neg",!0),oe(re,Qe,ue,"\xAC","\\lnot"),oe(re,Qe,ue,"\u22A4","\\top"),oe(re,Qe,ue,"\u22A5","\\bot"),oe(re,Qe,ue,"\u2205","\\emptyset"),oe(re,ve,ue,"\u2205","\\varnothing"),oe(re,Qe,_t,"\u03B1","\\alpha",!0),oe(re,Qe,_t,"\u03B2","\\beta",!0),oe(re,Qe,_t,"\u03B3","\\gamma",!0),oe(re,Qe,_t,"\u03B4","\\delta",!0),oe(re,Qe,_t,"\u03F5","\\epsilon",!0),oe(re,Qe,_t,"\u03B6","\\zeta",!0),oe(re,Qe,_t,"\u03B7","\\eta",!0),oe(re,Qe,_t,"\u03B8","\\theta",!0),oe(re,Qe,_t,"\u03B9","\\iota",!0),oe(re,Qe,_t,"\u03BA","\\kappa",!0),oe(re,Qe,_t,"\u03BB","\\lambda",!0),oe(re,Qe,_t,"\u03BC","\\mu",!0),oe(re,Qe,_t,"\u03BD","\\nu",!0),oe(re,Qe,_t,"\u03BE","\\xi",!0),oe(re,Qe,_t,"\u03BF","\\omicron",!0),oe(re,Qe,_t,"\u03C0","\\pi",!0),oe(re,Qe,_t,"\u03C1","\\rho",!0),oe(re,Qe,_t,"\u03C3","\\sigma",!0),oe(re,Qe,_t,"\u03C4","\\tau",!0),oe(re,Qe,_t,"\u03C5","\\upsilon",!0),oe(re,Qe,_t,"\u03D5","\\phi",!0),oe(re,Qe,_t,"\u03C7","\\chi",!0),oe(re,Qe,_t,"\u03C8","\\psi",!0),oe(re,Qe,_t,"\u03C9","\\omega",!0),oe(re,Qe,_t,"\u03B5","\\varepsilon",!0),oe(re,Qe,_t,"\u03D1","\\vartheta",!0),oe(re,Qe,_t,"\u03D6","\\varpi",!0),oe(re,Qe,_t,"\u03F1","\\varrho",!0),oe(re,Qe,_t,"\u03C2","\\varsigma",!0),oe(re,Qe,_t,"\u03C6","\\varphi",!0),oe(re,Qe,dt,"\u2217","*"),oe(re,Qe,dt,"+","+"),oe(re,Qe,dt,"\u2212","-"),oe(re,Qe,dt,"\u22C5","\\cdot",!0),oe(re,Qe,dt,"\u2218","\\circ"),oe(re,Qe,dt,"\xF7","\\div",!0),oe(re,Qe,dt,"\xB1","\\pm",!0),oe(re,Qe,dt,"\xD7","\\times",!0),oe(re,Qe,dt,"\u2229","\\cap",!0),oe(re,Qe,dt,"\u222A","\\cup",!0),oe(re,Qe,dt,"\u2216","\\setminus"),oe(re,Qe,dt,"\u2227","\\land"),oe(re,Qe,dt,"\u2228","\\lor"),oe(re,Qe,dt,"\u2227","\\wedge",!0),oe(re,Qe,dt,"\u2228","\\vee",!0),oe(re,Qe,ue,"\u221A","\\surd"),oe(re,Qe,Pt,"(","("),oe(re,Qe,Pt,"[","["),oe(re,Qe,Pt,"\u27E8","\\langle",!0),oe(re,Qe,Pt,"\u2223","\\lvert"),oe(re,Qe,Pt,"\u2225","\\lVert"),oe(re,Qe,ct,")",")"),oe(re,Qe,ct,"]","]"),oe(re,Qe,ct,"?","?"),oe(re,Qe,ct,"!","!"),oe(re,Qe,ct,"\u27E9","\\rangle",!0),oe(re,Qe,ct,"\u2223","\\rvert"),oe(re,Qe,ct,"\u2225","\\rVert"),oe(re,Qe,me,"=","="),oe(re,Qe,me,"<","<"),oe(re,Qe,me,">",">"),oe(re,Qe,me,":",":"),oe(re,Qe,me,"\u2248","\\approx",!0),oe(re,Qe,me,"\u2245","\\cong",!0),oe(re,Qe,me,"\u2265","\\ge"),oe(re,Qe,me,"\u2265","\\geq",!0),oe(re,Qe,me,"\u2190","\\gets"),oe(re,Qe,me,">","\\gt"),oe(re,Qe,me,"\u2208","\\in",!0),oe(re,Qe,me,"\uE020","\\@not"),oe(re,Qe,me,"\u2282","\\subset",!0),oe(re,Qe,me,"\u2283","\\supset",!0),oe(re,Qe,me,"\u2286","\\subseteq",!0),oe(re,Qe,me,"\u2287","\\supseteq",!0),oe(re,ve,me,"\u2288","\\nsubseteq",!0),oe(re,ve,me,"\u2289","\\nsupseteq",!0),oe(re,Qe,me,"\u22A8","\\models"),oe(re,Qe,me,"\u2190","\\leftarrow",!0),oe(re,Qe,me,"\u2264","\\le"),oe(re,Qe,me,"\u2264","\\leq",!0),oe(re,Qe,me,"<","\\lt"),oe(re,Qe,me,"\u2192","\\rightarrow",!0),oe(re,Qe,me,"\u2192","\\to"),oe(re,ve,me,"\u2271","\\ngeq",!0),oe(re,ve,me,"\u2270","\\nleq",!0),oe(re,Qe,pe,"\xA0","\\ "),oe(re,Qe,pe,"\xA0","~"),oe(re,Qe,pe,"\xA0","\\space"),oe(re,Qe,pe,"\xA0","\\nobreakspace"),oe(it,Qe,pe,"\xA0","\\ "),oe(it,Qe,pe,"\xA0","~"),oe(it,Qe,pe,"\xA0","\\space"),oe(it,Qe,pe,"\xA0","\\nobreakspace"),oe(re,Qe,pe,null,"\\nobreak"),oe(re,Qe,pe,null,"\\allowbreak"),oe(re,Qe,be,",",","),oe(re,Qe,be,";",";"),oe(re,ve,dt,"\u22BC","\\barwedge",!0),oe(re,ve,dt,"\u22BB","\\veebar",!0),oe(re,Qe,dt,"\u2299","\\odot",!0),oe(re,Qe,dt,"\u2295","\\oplus",!0),oe(re,Qe,dt,"\u2297","\\otimes",!0),oe(re,Qe,ue,"\u2202","\\partial",!0),oe(re,Qe,dt,"\u2298","\\oslash",!0),oe(re,ve,dt,"\u229A","\\circledcirc",!0),oe(re,ve,dt,"\u22A1","\\boxdot",!0),oe(re,Qe,dt,"\u25B3","\\bigtriangleup"),oe(re,Qe,dt,"\u25BD","\\bigtriangledown"),oe(re,Qe,dt,"\u2020","\\dagger"),oe(re,Qe,dt,"\u22C4","\\diamond"),oe(re,Qe,dt,"\u22C6","\\star"),oe(re,Qe,dt,"\u25C3","\\triangleleft"),oe(re,Qe,dt,"\u25B9","\\triangleright"),oe(re,Qe,Pt,"{","\\{"),oe(it,Qe,ue,"{","\\{"),oe(it,Qe,ue,"{","\\textbraceleft"),oe(re,Qe,ct,"}","\\}"),oe(it,Qe,ue,"}","\\}"),oe(it,Qe,ue,"}","\\textbraceright"),oe(re,Qe,Pt,"{","\\lbrace"),oe(re,Qe,ct,"}","\\rbrace"),oe(re,Qe,Pt,"[","\\lbrack"),oe(it,Qe,ue,"[","\\lbrack"),oe(re,Qe,ct,"]","\\rbrack"),oe(it,Qe,ue,"]","\\rbrack"),oe(re,Qe,Pt,"(","\\lparen"),oe(re,Qe,ct,")","\\rparen"),oe(it,Qe,ue,"<","\\textless"),oe(it,Qe,ue,">","\\textgreater"),oe(re,Qe,Pt,"\u230A","\\lfloor",!0),oe(re,Qe,ct,"\u230B","\\rfloor",!0),oe(re,Qe,Pt,"\u2308","\\lceil",!0),oe(re,Qe,ct,"\u2309","\\rceil",!0),oe(re,Qe,ue,"\\","\\backslash"),oe(re,Qe,ue,"\u2223","|"),oe(re,Qe,ue,"\u2223","\\vert"),oe(it,Qe,ue,"|","\\textbar"),oe(re,Qe,ue,"\u2225","\\|"),oe(re,Qe,ue,"\u2225","\\Vert"),oe(it,Qe,ue,"\u2225","\\textbardbl"),oe(it,Qe,ue,"~","\\textasciitilde"),oe(it,Qe,ue,"\\","\\textbackslash"),oe(it,Qe,ue,"^","\\textasciicircum"),oe(re,Qe,me,"\u2191","\\uparrow",!0),oe(re,Qe,me,"\u21D1","\\Uparrow",!0),oe(re,Qe,me,"\u2193","\\downarrow",!0),oe(re,Qe,me,"\u21D3","\\Downarrow",!0),oe(re,Qe,me,"\u2195","\\updownarrow",!0),oe(re,Qe,me,"\u21D5","\\Updownarrow",!0),oe(re,Qe,or,"\u2210","\\coprod"),oe(re,Qe,or,"\u22C1","\\bigvee"),oe(re,Qe,or,"\u22C0","\\bigwedge"),oe(re,Qe,or,"\u2A04","\\biguplus"),oe(re,Qe,or,"\u22C2","\\bigcap"),oe(re,Qe,or,"\u22C3","\\bigcup"),oe(re,Qe,or,"\u222B","\\int"),oe(re,Qe,or,"\u222B","\\intop"),oe(re,Qe,or,"\u222C","\\iint"),oe(re,Qe,or,"\u222D","\\iiint"),oe(re,Qe,or,"\u220F","\\prod"),oe(re,Qe,or,"\u2211","\\sum"),oe(re,Qe,or,"\u2A02","\\bigotimes"),oe(re,Qe,or,"\u2A01","\\bigoplus"),oe(re,Qe,or,"\u2A00","\\bigodot"),oe(re,Qe,or,"\u222E","\\oint"),oe(re,Qe,or,"\u222F","\\oiint"),oe(re,Qe,or,"\u2230","\\oiiint"),oe(re,Qe,or,"\u2A06","\\bigsqcup"),oe(re,Qe,or,"\u222B","\\smallint"),oe(it,Qe,yt,"\u2026","\\textellipsis"),oe(re,Qe,yt,"\u2026","\\mathellipsis"),oe(it,Qe,yt,"\u2026","\\ldots",!0),oe(re,Qe,yt,"\u2026","\\ldots",!0),oe(re,Qe,yt,"\u22EF","\\@cdots",!0),oe(re,Qe,yt,"\u22F1","\\ddots",!0),oe(re,Qe,ue,"\u22EE","\\varvdots"),oe(re,Qe,Zt,"\u02CA","\\acute"),oe(re,Qe,Zt,"\u02CB","\\grave"),oe(re,Qe,Zt,"\xA8","\\ddot"),oe(re,Qe,Zt,"~","\\tilde"),oe(re,Qe,Zt,"\u02C9","\\bar"),oe(re,Qe,Zt,"\u02D8","\\breve"),oe(re,Qe,Zt,"\u02C7","\\check"),oe(re,Qe,Zt,"^","\\hat"),oe(re,Qe,Zt,"\u20D7","\\vec"),oe(re,Qe,Zt,"\u02D9","\\dot"),oe(re,Qe,Zt,"\u02DA","\\mathring"),oe(re,Qe,_t,"\u0131","\\imath",!0),oe(re,Qe,_t,"\u0237","\\jmath",!0),oe(it,Qe,ue,"\u0131","\\i",!0),oe(it,Qe,ue,"\u0237","\\j",!0),oe(it,Qe,ue,"\xDF","\\ss",!0),oe(it,Qe,ue,"\xE6","\\ae",!0),oe(it,Qe,ue,"\xE6","\\ae",!0),oe(it,Qe,ue,"\u0153","\\oe",!0),oe(it,Qe,ue,"\xF8","\\o",!0),oe(it,Qe,ue,"\xC6","\\AE",!0),oe(it,Qe,ue,"\u0152","\\OE",!0),oe(it,Qe,ue,"\xD8","\\O",!0),oe(it,Qe,Zt,"\u02CA","\\'"),oe(it,Qe,Zt,"\u02CB","\\`"),oe(it,Qe,Zt,"\u02C6","\\^"),oe(it,Qe,Zt,"\u02DC","\\~"),oe(it,Qe,Zt,"\u02C9","\\="),oe(it,Qe,Zt,"\u02D8","\\u"),oe(it,Qe,Zt,"\u02D9","\\."),oe(it,Qe,Zt,"\u02DA","\\r"),oe(it,Qe,Zt,"\u02C7","\\v"),oe(it,Qe,Zt,"\xA8",'\\"'),oe(it,Qe,Zt,"\u02DD","\\H"),oe(it,Qe,Zt,"\u25EF","\\textcircled");var De={"--":!0,"---":!0,"``":!0,"''":!0};oe(it,Qe,ue,"\u2013","--"),oe(it,Qe,ue,"\u2013","\\textendash"),oe(it,Qe,ue,"\u2014","---"),oe(it,Qe,ue,"\u2014","\\textemdash"),oe(it,Qe,ue,"\u2018","`"),oe(it,Qe,ue,"\u2018","\\textquoteleft"),oe(it,Qe,ue,"\u2019","'"),oe(it,Qe,ue,"\u2019","\\textquoteright"),oe(it,Qe,ue,"\u201C","``"),oe(it,Qe,ue,"\u201C","\\textquotedblleft"),oe(it,Qe,ue,"\u201D","''"),oe(it,Qe,ue,"\u201D","\\textquotedblright"),oe(re,Qe,ue,"\xB0","\\degree",!0),oe(it,Qe,ue,"\xB0","\\degree"),oe(it,Qe,ue,"\xB0","\\textdegree",!0),oe(re,Qe,_t,"\xA3","\\pounds"),oe(re,Qe,_t,"\xA3","\\mathsterling",!0),oe(it,Qe,_t,"\xA3","\\pounds"),oe(it,Qe,_t,"\xA3","\\textsterling",!0),oe(re,ve,ue,"\u2720","\\maltese"),oe(it,ve,ue,"\u2720","\\maltese"),oe(it,Qe,pe,"\xA0","\\ "),oe(it,Qe,pe,"\xA0"," "),oe(it,Qe,pe,"\xA0","~");for(var He='0123456789/@."',ze=0;ze<He.length;ze++){var Xe=He.charAt(ze);oe(re,Qe,ue,Xe,Xe)}for(var Be='0123456789!@*()-=+[]<>|";:?/.,',nt=0;nt<Be.length;nt++){var At=Be.charAt(nt);oe(it,Qe,ue,At,At)}for(var It="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ae=0;ae<It.length;ae++){var he=It.charAt(ae);oe(re,Qe,_t,he,he),oe(it,Qe,ue,he,he)}oe(re,ve,ue,"C","\u2102"),oe(it,ve,ue,"C","\u2102"),oe(re,ve,ue,"H","\u210D"),oe(it,ve,ue,"H","\u210D"),oe(re,ve,ue,"N","\u2115"),oe(it,ve,ue,"N","\u2115"),oe(re,ve,ue,"P","\u2119"),oe(it,ve,ue,"P","\u2119"),oe(re,ve,ue,"Q","\u211A"),oe(it,ve,ue,"Q","\u211A"),oe(re,ve,ue,"R","\u211D"),oe(it,ve,ue,"R","\u211D"),oe(re,ve,ue,"Z","\u2124"),oe(it,ve,ue,"Z","\u2124"),oe(re,Qe,_t,"h","\u210E"),oe(it,Qe,_t,"h","\u210E");for(var q="",ne=0;ne<It.length;ne++){var Se=It.charAt(ne);q=String.fromCharCode(55349,56320+ne),oe(re,Qe,_t,Se,q),oe(it,Qe,ue,Se,q),q=String.fromCharCode(55349,56372+ne),oe(re,Qe,_t,Se,q),oe(it,Qe,ue,Se,q),q=String.fromCharCode(55349,56424+ne),oe(re,Qe,_t,Se,q),oe(it,Qe,ue,Se,q),q=String.fromCharCode(55349,56580+ne),oe(re,Qe,_t,Se,q),oe(it,Qe,ue,Se,q),q=String.fromCharCode(55349,56736+ne),oe(re,Qe,_t,Se,q),oe(it,Qe,ue,Se,q),q=String.fromCharCode(55349,56788+ne),oe(re,Qe,_t,Se,q),oe(it,Qe,ue,Se,q),q=String.fromCharCode(55349,56840+ne),oe(re,Qe,_t,Se,q),oe(it,Qe,ue,Se,q),q=String.fromCharCode(55349,56944+ne),oe(re,Qe,_t,Se,q),oe(it,Qe,ue,Se,q),ne<26&&(q=String.fromCharCode(55349,56632+ne),oe(re,Qe,_t,Se,q),oe(it,Qe,ue,Se,q),q=String.fromCharCode(55349,56476+ne),oe(re,Qe,_t,Se,q),oe(it,Qe,ue,Se,q))}q=String.fromCharCode(55349,56668),oe(re,Qe,_t,"k",q),oe(it,Qe,ue,"k",q);for(var Ne=0;Ne<10;Ne++){var Me=Ne.toString();q=String.fromCharCode(55349,57294+Ne),oe(re,Qe,_t,Me,q),oe(it,Qe,ue,Me,q),q=String.fromCharCode(55349,57314+Ne),oe(re,Qe,_t,Me,q),oe(it,Qe,ue,Me,q),q=String.fromCharCode(55349,57324+Ne),oe(re,Qe,_t,Me,q),oe(it,Qe,ue,Me,q),q=String.fromCharCode(55349,57334+Ne),oe(re,Qe,_t,Me,q),oe(it,Qe,ue,Me,q)}for(var $e="\xC7\xD0\xDE\xE7\xFE",vt=0;vt<$e.length;vt++){var Wt=$e.charAt(vt);oe(re,Qe,_t,Wt,Wt),oe(it,Qe,ue,Wt,Wt)}oe(it,Qe,ue,"\xF0","\xF0"),oe(it,Qe,ue,"\u2013","\u2013"),oe(it,Qe,ue,"\u2014","\u2014"),oe(it,Qe,ue,"\u2018","\u2018"),oe(it,Qe,ue,"\u2019","\u2019"),oe(it,Qe,ue,"\u201C","\u201C"),oe(it,Qe,ue,"\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"]],Dt=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Kt=function(le,xe){var Ie=le.charCodeAt(0),We=le.charCodeAt(1),Et=(Ie-55296)*1024+(We-56320)+65536,Ut=xe==="math"?0:1;if(119808<=Et&&Et<120484){var hr=Math.floor((Et-119808)/26);return[$t[hr][2],$t[hr][Ut]]}else if(120782<=Et&&Et<=120831){var gr=Math.floor((Et-120782)/10);return[Dt[gr][2],Dt[gr][Ut]]}else{if(Et===120485||Et===120486)return[$t[0][2],$t[0][Ut]];if(120486<Et&&Et<120782)return["",""];throw new a("Unsupported character: "+le)}},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(le,xe){return xe.size<2?le:Gt[le-1][xe.size-1]},dr=function(){function Bt(xe){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=xe.style,this.color=xe.color,this.size=xe.size||Bt.BASESIZE,this.textSize=xe.textSize||this.size,this.phantom=!!xe.phantom,this.font=xe.font||"",this.fontFamily=xe.fontFamily||"",this.fontWeight=xe.fontWeight||"",this.fontShape=xe.fontShape||"",this.sizeMultiplier=Qt[this.size-1],this.maxSize=xe.maxSize,this.minRuleThickness=xe.minRuleThickness,this._fontMetrics=void 0}var le=Bt.prototype;return le.extend=function(Ie){var We={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 Et in Ie)Ie.hasOwnProperty(Et)&&(We[Et]=Ie[Et]);return new Bt(We)},le.havingStyle=function(Ie){return this.style===Ie?this:this.extend({style:Ie,size:Mt(this.textSize,Ie)})},le.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},le.havingSize=function(Ie){return this.size===Ie&&this.textSize===Ie?this:this.extend({style:this.style.text(),size:Ie,textSize:Ie,sizeMultiplier:Qt[Ie-1]})},le.havingBaseStyle=function(Ie){Ie=Ie||this.style.text();var We=Mt(Bt.BASESIZE,Ie);return this.size===We&&this.textSize===Bt.BASESIZE&&this.style===Ie?this:this.extend({style:Ie,size:We})},le.havingBaseSizing=function(){var Ie;switch(this.style.id){case 4:case 5:Ie=3;break;case 6:case 7:Ie=1;break;default:Ie=6}return this.extend({style:this.style.text(),size:Ie})},le.withColor=function(Ie){return this.extend({color:Ie})},le.withPhantom=function(){return this.extend({phantom:!0})},le.withFont=function(Ie){return this.extend({font:Ie})},le.withTextFontFamily=function(Ie){return this.extend({fontFamily:Ie,font:""})},le.withTextFontWeight=function(Ie){return this.extend({fontWeight:Ie,font:""})},le.withTextFontShape=function(Ie){return this.extend({fontShape:Ie,font:""})},le.sizingClasses=function(Ie){return Ie.size!==this.size?["sizing","reset-size"+Ie.size,"size"+this.size]:[]},le.baseSizingClasses=function(){return this.size!==Bt.BASESIZE?["sizing","reset-size"+this.size,"size"+Bt.BASESIZE]:[]},le.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Ye(this.size)),this._fontMetrics},le.getColor=function(){return this.phantom?"transparent":this.color},Bt}();dr.BASESIZE=6;var er=dr,ot={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},xt={ex:!0,em:!0,mu:!0},ut=function(le){return typeof le!="string"&&(le=le.unit),le in ot||le in xt||le==="ex"},ft=function(le,xe){var Ie;if(le.unit in ot)Ie=ot[le.unit]/xe.fontMetrics().ptPerEm/xe.sizeMultiplier;else if(le.unit==="mu")Ie=xe.fontMetrics().cssEmPerMu;else{var We;if(xe.style.isTight()?We=xe.havingStyle(xe.style.text()):We=xe,le.unit==="ex")Ie=We.fontMetrics().xHeight;else if(le.unit==="em")Ie=We.fontMetrics().quad;else throw new a("Invalid unit: '"+le.unit+"'");We!==xe&&(Ie*=We.sizeMultiplier/xe.sizeMultiplier)}return Math.min(le.number*Ie,xe.maxSize)},Ot=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],Tt=function(le,xe,Ie){return Ve[Ie][le]&&Ve[Ie][le].replace&&(le=Ve[Ie][le].replace),{value:le,metrics:Ke(le,xe,Ie)}},ht=function(le,xe,Ie,We,Et){var Ut=Tt(le,xe,Ie),hr=Ut.metrics;le=Ut.value;var gr;if(hr){var Rr=hr.italic;(Ie==="text"||We&&We.font==="mathit")&&(Rr=0),gr=new Fe(le,hr.height,hr.depth,Rr,hr.skew,hr.width,Et)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+le+"' in style '"+xe+"' and mode '"+Ie+"'")),gr=new Fe(le,0,0,0,0,0,Et);if(We){gr.maxFontSize=We.sizeMultiplier,We.style.isTight()&&gr.classes.push("mtight");var $r=We.getColor();$r&&(gr.style.color=$r)}return gr},Ht=function(le,xe,Ie,We){return We===void 0&&(We=[]),Ie.font==="boldsymbol"&&Tt(le,"Main-Bold",xe).metrics?ht(le,"Main-Bold",xe,Ie,We.concat(["mathbf"])):le==="\\"||Ve[xe][le].font==="main"?ht(le,"Main-Regular",xe,Ie,We):ht(le,"AMS-Regular",xe,Ie,We.concat(["amsrm"]))},Ft=function(le,xe,Ie,We){return/[0-9]/.test(le.charAt(0))||b.contains(Ot,le)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},ir=function(le,xe,Ie,We){return b.contains(Ot,le)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(le.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Xt=function(le,xe,Ie,We){return Tt(le,"Math-BoldItalic",xe).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},mr=function(le,xe,Ie){var We=le.mode,Et=le.text,Ut=["mord"],hr=We==="math"||We==="text"&&xe.font,gr=hr?xe.font:xe.fontFamily;if(Et.charCodeAt(0)===55349){var Rr=Kt(Et,We),$r=Rr[0],ln=Rr[1];return ht(Et,$r,We,xe,Ut.concat(ln))}else if(gr){var yn,Cn;if(gr==="boldsymbol"||gr==="mathnormal"){var Qn=gr==="boldsymbol"?Xt(Et,We,xe,Ut):ir(Et,We,xe,Ut);yn=Qn.fontName,Cn=[Qn.fontClass]}else b.contains(Ot,Et)?(yn="Main-Italic",Cn=["mathit"]):hr?(yn=Yr[gr].fontName,Cn=[gr]):(yn=xr(gr,xe.fontWeight,xe.fontShape),Cn=[gr,xe.fontWeight,xe.fontShape]);if(Tt(Et,yn,We).metrics)return ht(Et,yn,We,xe,Ut.concat(Cn));if(De.hasOwnProperty(Et)&&yn.substr(0,10)==="Typewriter"){for(var ti=[],wi=0;wi<Et.length;wi++)ti.push(ht(Et[wi],yn,We,xe,Ut.concat(Cn)));return _r(ti)}}if(Ie==="mathord"){var ea=Ft(Et,We,xe,Ut);return ht(Et,ea.fontName,We,xe,Ut.concat([ea.fontClass]))}else if(Ie==="textord"){var ji=Ve[We][Et]&&Ve[We][Et].font;if(ji==="ams"){var Sa=xr("amsrm",xe.fontWeight,xe.fontShape);return ht(Et,Sa,We,xe,Ut.concat("amsrm",xe.fontWeight,xe.fontShape))}else if(ji==="main"||!ji){var lo=xr("textrm",xe.fontWeight,xe.fontShape);return ht(Et,lo,We,xe,Ut.concat(xe.fontWeight,xe.fontShape))}else{var Wa=xr(ji,xe.fontWeight,xe.fontShape);return ht(Et,Wa,We,xe,Ut.concat(Wa,xe.fontWeight,xe.fontShape))}}else throw new Error("unexpected type: "+Ie+" in makeOrd")},Ar=function(le,xe){if(Ce(le.classes)!==Ce(xe.classes)||le.skew!==xe.skew||le.maxFontSize!==xe.maxFontSize)return!1;for(var Ie in le.style)if(le.style.hasOwnProperty(Ie)&&le.style[Ie]!==xe.style[Ie])return!1;for(var We in xe.style)if(xe.style.hasOwnProperty(We)&&le.style[We]!==xe.style[We])return!1;return!0},Nr=function(le){for(var xe=0;xe<le.length-1;xe++){var Ie=le[xe],We=le[xe+1];Ie instanceof Fe&&We instanceof Fe&&Ar(Ie,We)&&(Ie.text+=We.text,Ie.height=Math.max(Ie.height,We.height),Ie.depth=Math.max(Ie.depth,We.depth),Ie.italic=We.italic,le.splice(xe+1,1),xe--)}return le},Fr=function(le){for(var xe=0,Ie=0,We=0,Et=0;Et<le.children.length;Et++){var Ut=le.children[Et];Ut.height>xe&&(xe=Ut.height),Ut.depth>Ie&&(Ie=Ut.depth),Ut.maxFontSize>We&&(We=Ut.maxFontSize)}le.height=xe,le.depth=Ie,le.maxFontSize=We},tn=function(le,xe,Ie,We){var Et=new V(le,xe,Ie,We);return Fr(Et),Et},qr=function(le,xe,Ie,We){return new V(le,xe,Ie,We)},Lr=function(le,xe,Ie){var We=tn([le],[],xe);return We.height=Math.max(Ie||xe.fontMetrics().defaultRuleThickness,xe.minRuleThickness),We.style.borderBottomWidth=We.height+"em",We.maxFontSize=1,We},Qr=function(le,xe,Ie,We){var Et=new $(le,xe,Ie,We);return Fr(Et),Et},_r=function(le){var xe=new _e(le);return Fr(xe),xe},ur=function(le,xe){return le instanceof _e?tn([],[le],xe):le},pr=function(le){if(le.positionType==="individualShift"){for(var xe=le.children,Ie=[xe[0]],We=-xe[0].shift-xe[0].elem.depth,Et=We,Ut=1;Ut<xe.length;Ut++){var hr=-xe[Ut].shift-Et-xe[Ut].elem.depth,gr=hr-(xe[Ut-1].elem.height+xe[Ut-1].elem.depth);Et=Et+hr,Ie.push({type:"kern",size:gr}),Ie.push(xe[Ut])}return{children:Ie,depth:We}}var Rr;if(le.positionType==="top"){for(var $r=le.positionData,ln=0;ln<le.children.length;ln++){var yn=le.children[ln];$r-=yn.type==="kern"?yn.size:yn.elem.height+yn.elem.depth}Rr=$r}else if(le.positionType==="bottom")Rr=-le.positionData;else{var Cn=le.children[0];if(Cn.type!=="elem")throw new Error('First child must have type "elem".');if(le.positionType==="shift")Rr=-Cn.elem.depth-le.positionData;else if(le.positionType==="firstBaseline")Rr=-Cn.elem.depth;else throw new Error("Invalid positionType "+le.positionType+".")}return{children:le.children,depth:Rr}},cr=function(le,xe){for(var Ie=pr(le),We=Ie.children,Et=Ie.depth,Ut=0,hr=0;hr<We.length;hr++){var gr=We[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=Et,Cn=Et,Qn=Et,ti=0;ti<We.length;ti++){var wi=We[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 Fo=tn(["vlist-s"],[new Fe("\u200B")]);yo=[tn(["vlist-r"],[Wa,Fo]),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(le,xe){var Ie=tn(["mspace"],[],xe),We=ft(le,xe);return Ie.style.marginRight=We+"em",Ie},xr=function(le,xe,Ie){var We="";switch(le){case"amsrm":We="AMS";break;case"textrm":We="Main";break;case"textsf":We="SansSerif";break;case"texttt":We="Typewriter";break;default:We=le}var Et;return xe==="textbf"&&Ie==="textit"?Et="BoldItalic":xe==="textbf"?Et="Bold":xe==="textit"?Et="Italic":Et="Regular",We+"-"+Et},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"}},un={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(le,xe){var Ie=un[le],We=Ie[0],Et=Ie[1],Ut=Ie[2],hr=new se(We),gr=new Oe([hr],{width:Et+"em",height:Ut+"em",style:"width:"+Et+"em",viewBox:"0 0 "+1e3*Et+" "+1e3*Ut,preserveAspectRatio:"xMinYMin"}),Rr=qr(["overlay"],[gr],xe);return Rr.height=Ut,Rr.style.height=Ut+"em",Rr.style.width=Et+"em",Rr},jr={fontMap:Yr,makeSymbol:ht,mathsym:Ht,makeSpan:tn,makeSvgSpan:qr,makeLineSpan:Lr,makeAnchor:Qr,makeFragment:_r,wrapFragment:ur,makeVList:cr,makeOrd:mr,makeGlue:fr,staticSvg:Nn,svgData:un,tryCombineChars:Nr};function Tn(Bt,le){var xe=gn(Bt,le);if(!xe)throw new Error("Expected node of type "+le+", but got "+(Bt?"node of type "+Bt.type:String(Bt)));return xe}function gn(Bt,le){return Bt&&Bt.type===le?Bt:null}function Bn(Bt,le){var xe=zn(Bt,le);if(!xe)throw new Error('Expected node of type "atom" and family "'+le+'", but got '+(Bt?Bt.type==="atom"?"atom of family "+Bt.family:"node of type "+Bt.type:String(Bt)));return xe}function zn(Bt,le){return Bt&&Bt.type==="atom"&&Bt.family===le?Bt:null}function qn(Bt){var le=Yn(Bt);if(!le)throw new Error("Expected node of symbol group type, but got "+(Bt?"node of type "+Bt.type:String(Bt)));return le}function Yn(Bt){return Bt&&(Bt.type==="atom"||rt.hasOwnProperty(Bt.type))?Bt: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={},_i={},Ci={};function Gn(Bt){for(var le=Bt.type,xe=Bt.names,Ie=Bt.props,We=Bt.handler,Et=Bt.htmlBuilder,Ut=Bt.mathmlBuilder,hr={type:le,numArgs:Ie.numArgs,argTypes:Ie.argTypes,greediness:Ie.greediness===void 0?1:Ie.greediness,allowedInText:!!Ie.allowedInText,allowedInMath:Ie.allowedInMath===void 0?!0:Ie.allowedInMath,numOptionalArgs:Ie.numOptionalArgs||0,infix:!!Ie.infix,handler:We},gr=0;gr<xe.length;++gr)ta[xe[gr]]=hr;le&&(Et&&(_i[le]=Et),Ut&&(Ci[le]=Ut))}function Ia(Bt){var le=Bt.type,xe=Bt.htmlBuilder,Ie=Bt.mathmlBuilder;Gn({type:le,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:xe,mathmlBuilder:Ie})}var mn=function(le){var xe=gn(le,"ordgroup");return xe?xe.body:[le]},In=jr.makeSpan,Ln=["leftmost","mbin","mopen","mrel","mop","mpunct"],_n=["rightmost","mrel","mclose","mpunct"],jn={display:H.DISPLAY,text:H.TEXT,script:H.SCRIPT,scriptscript:H.SCRIPTSCRIPT},ni={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},di=function(le,xe,Ie,We){We===void 0&&(We=[null,null]);for(var Et=[],Ut=0;Ut<le.length;Ut++){var hr=Wi(le[Ut],xe);if(hr instanceof _e){var gr=hr.children;Et.push.apply(Et,gr)}else Et.push(hr)}if(!Ie)return Et;var Rr=xe;if(le.length===1){var $r=gn(le[0],"sizing")||gn(le[0],"styling");$r&&($r.type==="sizing"?Rr=xe.havingSize($r.size):$r.type==="styling"&&(Rr=xe.havingStyle(jn[$r.style])))}var ln=In([We[0]||"leftmost"],[],xe),yn=In([We[1]||"rightmost"],[],xe);return Na(Et,function(Cn,Qn){var ti=Qn.classes[0],wi=Cn.classes[0];ti==="mbin"&&b.contains(_n,wi)?Qn.classes[0]="mord":wi==="mbin"&&b.contains(Ln,ti)&&(Cn.classes[0]="mord")},{node:ln},yn),Na(Et,function(Cn,Qn){var ti=Pa(Qn),wi=Pa(Cn),ea=ti&&wi?Cn.hasClass("mtight")?xa[ti][wi]:ia[ti][wi]:null;if(ea)return jr.makeGlue(ea,Rr)},{node:ln},yn),Et},Na=function Bt(le,xe,Ie,We){We&&le.push(We);for(var Et=0;Et<le.length;Et++){var Ut=le[Et],hr=Qi(Ut);if(hr){Bt(hr.children,xe,Ie);continue}if(Ut.classes[0]==="mspace")continue;var gr=xe(Ut,Ie.node);gr&&(Ie.insertAfter?Ie.insertAfter(gr):(le.unshift(gr),Et++)),Ie.node=Ut,Ie.insertAfter=function(Rr){return function($r){le.splice(Rr+1,0,$r),Et++}}(Et)}We&&le.pop()},Qi=function(le){return le instanceof _e||le instanceof $?le:null},ma=function Bt(le,xe){var Ie=Qi(le);if(Ie){var We=Ie.children;if(We.length){if(xe==="right")return Bt(We[We.length-1],"right");if(xe==="left")return Bt(We[0],"left")}}return le},Pa=function(le,xe){return le?(xe&&(le=ma(le,xe)),ni[le.classes[0]]||null):null},Qa=function(le,xe){var Ie=["nulldelimiter"].concat(le.baseSizingClasses());return In(xe.concat(Ie))},Wi=function(le,xe,Ie){if(!le)return In();if(_i[le.type]){var We=_i[le.type](le,xe);if(Ie&&xe.size!==Ie.size){We=In(xe.sizingClasses(Ie),[We],xe);var Et=xe.sizeMultiplier/Ie.sizeMultiplier;We.height*=Et,We.depth*=Et}return We}else throw new a("Got group of unknown type: '"+le.type+"'")};function Co(Bt,le){var xe=In(["base"],Bt,le),Ie=In(["strut"]);return Ie.style.height=xe.height+xe.depth+"em",Ie.style.verticalAlign=-xe.depth+"em",xe.children.unshift(Ie),xe}function aa(Bt,le){var xe=null;Bt.length===1&&Bt[0].type==="tag"&&(xe=Bt[0].tag,Bt=Bt[0].body);for(var Ie=di(Bt,le,!0),We=[],Et=[],Ut=0;Ut<Ie.length;Ut++)if(Et.push(Ie[Ut]),Ie[Ut].hasClass("mbin")||Ie[Ut].hasClass("mrel")||Ie[Ut].hasClass("allowbreak")){for(var hr=!1;Ut<Ie.length-1&&Ie[Ut+1].hasClass("mspace")&&!Ie[Ut+1].hasClass("newline");)Ut++,Et.push(Ie[Ut]),Ie[Ut].hasClass("nobreak")&&(hr=!0);hr||(We.push(Co(Et,le)),Et=[])}else Ie[Ut].hasClass("newline")&&(Et.pop(),Et.length>0&&(We.push(Co(Et,le)),Et=[]),We.push(Ie[Ut]));Et.length>0&&We.push(Co(Et,le));var gr;xe&&(gr=Co(di(xe,le,!0)),gr.classes=["tag"],We.push(gr));var Rr=In(["katex-html"],We);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(Bt){return new _e(Bt)}var ga=function(){function Bt(xe,Ie){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=xe,this.attributes={},this.children=Ie||[]}var le=Bt.prototype;return le.setAttribute=function(Ie,We){this.attributes[Ie]=We},le.getAttribute=function(Ie){return this.attributes[Ie]},le.toNode=function(){var Ie=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var We in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,We)&&Ie.setAttribute(We,this.attributes[We]);for(var Et=0;Et<this.children.length;Et++)Ie.appendChild(this.children[Et].toNode());return Ie},le.toMarkup=function(){var Ie="<"+this.type;for(var We in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,We)&&(Ie+=" "+We+'="',Ie+=b.escape(this.attributes[We]),Ie+='"');Ie+=">";for(var Et=0;Et<this.children.length;Et++)Ie+=this.children[Et].toMarkup();return Ie+="</"+this.type+">",Ie},le.toText=function(){return this.children.map(function(Ie){return Ie.toText()}).join("")},Bt}(),ha=function(){function Bt(xe){this.text=void 0,this.text=xe}var le=Bt.prototype;return le.toNode=function(){return document.createTextNode(this.text)},le.toMarkup=function(){return b.escape(this.toText())},le.toText=function(){return this.text},Bt}(),mo=function(){function Bt(xe){this.width=void 0,this.character=void 0,this.width=xe,xe>=.05555&&xe<=.05556?this.character="\u200A":xe>=.1666&&xe<=.1667?this.character="\u2009":xe>=.2222&&xe<=.2223?this.character="\u2005":xe>=.2777&&xe<=.2778?this.character="\u2005\u200A":xe>=-.05556&&xe<=-.05555?this.character="\u200A\u2063":xe>=-.1667&&xe<=-.1666?this.character="\u2009\u2063":xe>=-.2223&&xe<=-.2222?this.character="\u205F\u2063":xe>=-.2778&&xe<=-.2777?this.character="\u2005\u2063":this.character=null}var le=Bt.prototype;return le.toNode=function(){if(this.character)return document.createTextNode(this.character);var Ie=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return Ie.setAttribute("width",this.width+"em"),Ie},le.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},le.toText=function(){return this.character?this.character:" "},Bt}(),kn={MathNode:ga,TextNode:ha,SpaceNode:mo,newDocumentFragment:Hi},$i=function(le,xe,Ie){return Ve[xe][le]&&Ve[xe][le].replace&&le.charCodeAt(0)!==55349&&!(De.hasOwnProperty(le)&&Ie&&(Ie.fontFamily&&Ie.fontFamily.substr(4,2)==="tt"||Ie.font&&Ie.font.substr(4,2)==="tt"))&&(le=Ve[xe][le].replace),new kn.TextNode(le)},eo=function(le){return le.length===1?le[0]:new kn.MathNode("mrow",le)},To=function(le,xe){if(xe.fontFamily==="texttt")return"monospace";if(xe.fontFamily==="textsf")return xe.fontShape==="textit"&&xe.fontWeight==="textbf"?"sans-serif-bold-italic":xe.fontShape==="textit"?"sans-serif-italic":xe.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(xe.fontShape==="textit"&&xe.fontWeight==="textbf")return"bold-italic";if(xe.fontShape==="textit")return"italic";if(xe.fontWeight==="textbf")return"bold";var Ie=xe.font;if(!Ie||Ie==="mathnormal")return null;var We=le.mode;if(Ie==="mathit")return"italic";if(Ie==="boldsymbol")return"bold-italic";if(Ie==="mathbf")return"bold";if(Ie==="mathbb")return"double-struck";if(Ie==="mathfrak")return"fraktur";if(Ie==="mathscr"||Ie==="mathcal")return"script";if(Ie==="mathsf")return"sans-serif";if(Ie==="mathtt")return"monospace";var Et=le.text;if(b.contains(["\\imath","\\jmath"],Et))return null;Ve[We][Et]&&Ve[We][Et].replace&&(Et=Ve[We][Et].replace);var Ut=jr.fontMap[Ie].fontName;return Ke(Et,Ut,We)?jr.fontMap[Ie].variant:null},uo=function(le,xe,Ie){if(le.length===1){var We=Tr(le[0],xe);return Ie&&We instanceof ga&&We.type==="mo"&&(We.setAttribute("lspace","0em"),We.setAttribute("rspace","0em")),[We]}for(var Et=[],Ut,hr=0;hr<le.length;hr++){var gr=Tr(le[hr],xe);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),Et.pop())}}}Et.push(gr),Ut=gr}return Et},rr=function(le,xe,Ie){return eo(uo(le,xe,Ie))},Tr=function(le,xe){if(!le)return new kn.MathNode("mrow");if(Ci[le.type]){var Ie=Ci[le.type](le,xe);return Ie}else throw new a("Got group of unknown type: '"+le.type+"'")};function Br(Bt,le,xe,Ie){var We=uo(Bt,xe),Et;We.length===1&&We[0]instanceof ga&&b.contains(["mrow","mtable"],We[0].type)?Et=We[0]:Et=new kn.MathNode("mrow",We);var Ut=new kn.MathNode("annotation",[new kn.TextNode(le)]);Ut.setAttribute("encoding","application/x-tex");var hr=new kn.MathNode("semantics",[Et,Ut]),gr=new kn.MathNode("math",[hr]);gr.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var Rr=Ie?"katex":"katex-mathml";return jr.makeSpan([Rr],[gr])}var Wr=function(le){return new er({style:le.displayMode?H.DISPLAY:H.TEXT,maxSize:le.maxSize,minRuleThickness:le.minRuleThickness})},hn=function(le,xe){if(xe.displayMode){var Ie=["katex-display"];xe.leqno&&Ie.push("leqno"),xe.fleqn&&Ie.push("fleqn"),le=jr.makeSpan(Ie,[le])}return le},tt=function(le,xe,Ie){var We=Wr(Ie),Et;if(Ie.output==="mathml")return Br(le,xe,We,!0);if(Ie.output==="html"){var Ut=aa(le,We);Et=jr.makeSpan(["katex"],[Ut])}else{var hr=Br(le,xe,We,!1),gr=aa(le,We);Et=jr.makeSpan(["katex"],[hr,gr])}return hn(Et,Ie)},jt=function(le,xe,Ie){var We=Wr(Ie),Et=aa(le,We),Ut=jr.makeSpan(["katex"],[Et]);return hn(Ut,Ie)},Jt=tt,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"},Ir=function(le){var xe=new kn.MathNode("mo",[new kn.TextNode(nr[le.substr(1)])]);return xe.setAttribute("stretchy","true"),xe},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(le){return le.type==="ordgroup"?le.body.length:1},zr=function(le,xe){function Ie(){var gr=4e5,Rr=le.label.substr(1);if(b.contains(["widehat","widecheck","widetilde","utilde"],Rr)){var $r=le,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 se(Cn),ea=new Oe([wi],{width:"100%",height:Qn+"em",viewBox:"0 0 "+gr+" "+yn,preserveAspectRatio:"none"});return{span:jr.makeSvgSpan([],[ea],xe),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,Fo,No;if($a===1){var Ha=Sa[3];Fo=["hide-tail"],No=[Ha]}else if($a===2)Fo=["halfarrow-left","halfarrow-right"],No=["xMinYMin","xMaxYMin"];else if($a===3)Fo=["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 ko=new se(lo[jo]),Qo=new Oe([ko],{width:"400em",height:Ao+"em",viewBox:"0 0 "+gr+" "+yo,preserveAspectRatio:No[jo]+" slice"}),wo=jr.makeSvgSpan([Fo[jo]],[Qo],xe);if($a===1)return{span:wo,minWidth:Wa,height:Ao};wo.style.height=Ao+"em",ji.push(wo)}return{span:jr.makeSpan(["stretchy"],ji,xe),minWidth:Wa,height:Ao}}}var We=Ie(),Et=We.span,Ut=We.minWidth,hr=We.height;return Et.height=hr,Et.style.height=hr+"em",Ut>0&&(Et.style.minWidth=Ut+"em"),Et},Jr=function(le,xe,Ie,We){var Et,Ut=le.height+le.depth+2*Ie;if(/fbox|color/.test(xe)){if(Et=jr.makeSpan(["stretchy",xe],[],We),xe==="fbox"){var hr=We.color&&We.getColor();hr&&(Et.style.borderColor=hr)}}else{var gr=[];/^[bx]cancel$/.test(xe)&&gr.push(new fe({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(xe)&&gr.push(new fe({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var Rr=new Oe(gr,{width:"100%",height:Ut+"em"});Et=jr.makeSvgSpan([],[Rr],We)}return Et.height=Ut,Et.style.height=Ut+"em",Et},Zr={encloseSpan:Jr,mathMLnode:Ir,svgSpan:zr},an=function(le,xe){var Ie,We,Et=gn(le,"supsub"),Ut;Et?(We=Tn(Et.base,"accent"),Ie=We.base,Et.base=Ie,Ut=Je(Wi(Et,xe)),Et.base=We):(We=Tn(le,"accent"),Ie=We.base);var hr=Wi(Ie,xe.havingCrampedStyle()),gr=We.isShifty&&b.isCharacterBox(Ie),Rr=0;if(gr){var $r=b.getBaseElem(Ie),ln=Wi($r,xe.havingCrampedStyle());Rr=Le(ln).skew}var yn=Math.min(hr.height,xe.fontMetrics().xHeight),Cn;if(We.isStretchy)Cn=Zr.svgSpan(We,xe),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}]},xe);else{var Qn,ti;We.label==="\\vec"?(Qn=jr.staticSvg("vec",xe),ti=jr.svgData.vec[1]):(Qn=jr.makeOrd({mode:We.mode,text:We.label},xe,"textord"),Qn=Le(Qn),Qn.italic=0,ti=Qn.width),Cn=jr.makeSpan(["accent-body"],[Qn]);var wi=We.label==="\\textcircled";wi&&(Cn.classes.push("accent-full"),yn=hr.height);var ea=Rr;wi||(ea-=ti/2),Cn.style.left=ea+"em",We.label==="\\textcircled"&&(Cn.style.top=".2em"),Cn=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:hr},{type:"kern",size:-yn},{type:"elem",elem:Cn}]},xe)}var ji=jr.makeSpan(["mord","accent"],[Cn],xe);return Ut?(Ut.children[0]=ji,Ut.height=Math.max(ji.height,Ut.height),Ut.classes[0]="mord",Ut):ji},St=function(le,xe){var Ie=le.isStretchy?Zr.mathMLnode(le.label):new kn.MathNode("mo",[$i(le.label,le.mode)]),We=new kn.MathNode("mover",[Tr(le.base,xe),Ie]);return We.setAttribute("accent","true"),We},Vt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Bt){return"\\"+Bt}).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(le,xe){var Ie=xe[0],We=!Vt.test(le.funcName),Et=!We||le.funcName==="\\widehat"||le.funcName==="\\widetilde"||le.funcName==="\\widecheck";return{type:"accent",mode:le.parser.mode,label:le.funcName,isStretchy:We,isShifty:Et,base:Ie}},htmlBuilder:an,mathmlBuilder:St}),Gn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(le,xe){var Ie=xe[0];return{type:"accent",mode:le.parser.mode,label:le.funcName,isStretchy:!1,isShifty:!0,base:Ie}},htmlBuilder:an,mathmlBuilder:St}),Gn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(le,xe){var Ie=le.parser,We=le.funcName,Et=xe[0];return{type:"accentUnder",mode:Ie.mode,label:We,base:Et}},htmlBuilder:function(le,xe){var Ie=Wi(le.base,xe),We=Zr.svgSpan(le,xe),Et=le.label==="\\utilde"?.12:0,Ut=jr.makeVList({positionType:"bottom",positionData:We.height+Et,children:[{type:"elem",elem:We,wrapperClasses:["svg-align"]},{type:"kern",size:Et},{type:"elem",elem:Ie}]},xe);return jr.makeSpan(["mord","accentunder"],[Ut],xe)},mathmlBuilder:function(le,xe){var Ie=Zr.mathMLnode(le.label),We=new kn.MathNode("munder",[Tr(le.base,xe),Ie]);return We.setAttribute("accentunder","true"),We}});var sr=function(le){var xe=new kn.MathNode("mpadded",le?[le]:[]);return xe.setAttribute("width","+0.6em"),xe.setAttribute("lspace","0.3em"),xe};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(le,xe,Ie){var We=le.parser,Et=le.funcName;return{type:"xArrow",mode:We.mode,label:Et,body:xe[0],below:Ie[0]}},htmlBuilder:function(le,xe){var Ie=xe.style,We=xe.havingStyle(Ie.sup()),Et=jr.wrapFragment(Wi(le.body,We,xe),xe);Et.classes.push("x-arrow-pad");var Ut;le.below&&(We=xe.havingStyle(Ie.sub()),Ut=jr.wrapFragment(Wi(le.below,We,xe),xe),Ut.classes.push("x-arrow-pad"));var hr=Zr.svgSpan(le,xe),gr=-xe.fontMetrics().axisHeight+.5*hr.height,Rr=-xe.fontMetrics().axisHeight-.5*hr.height-.111;(Et.depth>.25||le.label==="\\xleftequilibrium")&&(Rr-=Et.depth);var $r;if(Ut){var ln=-xe.fontMetrics().axisHeight+Ut.height+.5*hr.height+.111;$r=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Et,shift:Rr},{type:"elem",elem:hr,shift:gr},{type:"elem",elem:Ut,shift:ln}]},xe)}else $r=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Et,shift:Rr},{type:"elem",elem:hr,shift:gr}]},xe);return $r.children[0].children[0].children[1].classes.push("svg-align"),jr.makeSpan(["mrel","x-arrow"],[$r],xe)},mathmlBuilder:function(le,xe){var Ie=Zr.mathMLnode(le.label),We;if(le.body){var Et=sr(Tr(le.body,xe));if(le.below){var Ut=sr(Tr(le.below,xe));We=new kn.MathNode("munderover",[Ie,Ut,Et])}else We=new kn.MathNode("mover",[Ie,Et])}else if(le.below){var hr=sr(Tr(le.below,xe));We=new kn.MathNode("munder",[Ie,hr])}else We=sr(),We=new kn.MathNode("mover",[Ie,We]);return We}}),Gn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(le,xe){for(var Ie=le.parser,We=Tn(xe[0],"ordgroup"),Et=We.body,Ut="",hr=0;hr<Et.length;hr++){var gr=Tn(Et[hr],"textord");Ut+=gr.text}var Rr=parseInt(Ut);if(isNaN(Rr))throw new a("\\@char has non-numeric argument "+Ut);return{type:"textord",mode:Ie.mode,text:String.fromCharCode(Rr)}}});var br=function(le,xe){var Ie=di(le.body,xe.withColor(le.color),!1);return jr.makeFragment(Ie)},Mr=function(le,xe){var Ie=uo(le.body,xe.withColor(le.color)),We=new kn.MathNode("mstyle",Ie);return We.setAttribute("mathcolor",le.color),We};Gn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(le,xe){var Ie=le.parser,We=Tn(xe[0],"color-token").color,Et=xe[1];return{type:"color",mode:Ie.mode,color:We,body:mn(Et)}},htmlBuilder:br,mathmlBuilder:Mr}),Gn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(le,xe){var Ie=le.parser,We=le.breakOnTokenText,Et=Tn(xe[0],"color-token").color;Ie.gullet.macros.set("\\current@color",Et);var Ut=Ie.parseExpression(!0,We);return{type:"color",mode:Ie.mode,color:Et,body:Ut}},htmlBuilder:br,mathmlBuilder:Mr}),Gn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(le,xe,Ie){var We=le.parser,Et=le.funcName,Ut=Ie[0],hr=Et==="\\cr",gr=!1;return hr||(We.settings.displayMode&&We.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?gr=!1:gr=!0),{type:"cr",mode:We.mode,newLine:gr,newRow:hr,size:Ut&&Tn(Ut,"size").value}},htmlBuilder:function(le,xe){if(le.newRow)throw new a("\\cr valid only within a tabular/array environment");var Ie=jr.makeSpan(["mspace"],[],xe);return le.newLine&&(Ie.classes.push("newline"),le.size&&(Ie.style.marginTop=ft(le.size,xe)+"em")),Ie},mathmlBuilder:function(le,xe){var Ie=new kn.MathNode("mspace");return le.newLine&&(Ie.setAttribute("linebreak","newline"),le.size&&Ie.setAttribute("height",ft(le.size,xe)+"em")),Ie}});var Dr=function(le,xe,Ie){var We=Ve.math[le]&&Ve.math[le].replace,Et=Ke(We||le,xe,Ie);if(!Et)throw new Error("Unsupported symbol "+le+" and font size "+xe+".");return Et},rn=function(le,xe,Ie,We){var Et=Ie.havingBaseStyle(xe),Ut=jr.makeSpan(We.concat(Et.sizingClasses(Ie)),[le],Ie),hr=Et.sizeMultiplier/Ie.sizeMultiplier;return Ut.height*=hr,Ut.depth*=hr,Ut.maxFontSize=Et.sizeMultiplier,Ut},fn=function(le,xe,Ie){var We=xe.havingBaseStyle(Ie),Et=(1-xe.sizeMultiplier/We.sizeMultiplier)*xe.fontMetrics().axisHeight;le.classes.push("delimcenter"),le.style.top=Et+"em",le.height-=Et,le.depth+=Et},wn=function(le,xe,Ie,We,Et,Ut){var hr=jr.makeSymbol(le,"Main-Regular",Et,We),gr=rn(hr,xe,We,Ut);return Ie&&fn(gr,We,xe),gr},Hn=function(le,xe,Ie,We){return jr.makeSymbol(le,"Size"+xe+"-Regular",Ie,We)},Sn=function(le,xe,Ie,We,Et,Ut){var hr=Hn(le,xe,Et,We),gr=rn(jr.makeSpan(["delimsizing","size"+xe],[hr],We),H.TEXT,We,Ut);return Ie&&fn(gr,We,H.TEXT),gr},bn=function(le,xe,Ie){var We;xe==="Size1-Regular"?We="delim-size1":We="delim-size4";var Et=jr.makeSpan(["delimsizinginner",We],[jr.makeSpan([],[jr.makeSymbol(le,xe,Ie)])]);return{type:"elem",elem:Et}},Mn={type:"kern",size:-.005},vn=function(le,xe,Ie,We,Et,Ut){var hr,gr,Rr,$r;hr=Rr=$r=le,gr=null;var ln="Size1-Regular";le==="\\uparrow"?Rr=$r="\u23D0":le==="\\Uparrow"?Rr=$r="\u2016":le==="\\downarrow"?hr=Rr="\u23D0":le==="\\Downarrow"?hr=Rr="\u2016":le==="\\updownarrow"?(hr="\\uparrow",Rr="\u23D0",$r="\\downarrow"):le==="\\Updownarrow"?(hr="\\Uparrow",Rr="\u2016",$r="\\Downarrow"):le==="["||le==="\\lbrack"?(hr="\u23A1",Rr="\u23A2",$r="\u23A3",ln="Size4-Regular"):le==="]"||le==="\\rbrack"?(hr="\u23A4",Rr="\u23A5",$r="\u23A6",ln="Size4-Regular"):le==="\\lfloor"||le==="\u230A"?(Rr=hr="\u23A2",$r="\u23A3",ln="Size4-Regular"):le==="\\lceil"||le==="\u2308"?(hr="\u23A1",Rr=$r="\u23A2",ln="Size4-Regular"):le==="\\rfloor"||le==="\u230B"?(Rr=hr="\u23A5",$r="\u23A6",ln="Size4-Regular"):le==="\\rceil"||le==="\u2309"?(hr="\u23A4",Rr=$r="\u23A5",ln="Size4-Regular"):le==="("||le==="\\lparen"?(hr="\u239B",Rr="\u239C",$r="\u239D",ln="Size4-Regular"):le===")"||le==="\\rparen"?(hr="\u239E",Rr="\u239F",$r="\u23A0",ln="Size4-Regular"):le==="\\{"||le==="\\lbrace"?(hr="\u23A7",gr="\u23A8",$r="\u23A9",Rr="\u23AA",ln="Size4-Regular"):le==="\\}"||le==="\\rbrace"?(hr="\u23AB",gr="\u23AC",$r="\u23AD",Rr="\u23AA",ln="Size4-Regular"):le==="\\lgroup"||le==="\u27EE"?(hr="\u23A7",$r="\u23A9",Rr="\u23AA",ln="Size4-Regular"):le==="\\rgroup"||le==="\u27EF"?(hr="\u23AB",$r="\u23AD",Rr="\u23AA",ln="Size4-Regular"):le==="\\lmoustache"||le==="\u23B0"?(hr="\u23A7",$r="\u23AD",Rr="\u23AA",ln="Size4-Regular"):(le==="\\rmoustache"||le==="\u23B1")&&(hr="\u23AB",$r="\u23A9",Rr="\u23AA",ln="Size4-Regular");var yn=Dr(hr,ln,Et),Cn=yn.height+yn.depth,Qn=Dr(Rr,ln,Et),ti=Qn.height+Qn.depth,wi=Dr($r,ln,Et),ea=wi.height+wi.depth,ji=0,Sa=1;if(gr!==null){var lo=Dr(gr,ln,Et);ji=lo.height+lo.depth,Sa=2}var Wa=Cn+ea+ji,yo=Math.max(0,Math.ceil((xe-Wa)/(Sa*ti))),Ao=Wa+yo*Sa*ti,$a=We.fontMetrics().axisHeight;Ie&&($a*=We.sizeMultiplier);var Fo=Ao/2-$a,No=(yo+1)*.005-ti,Ha=[];if(Ha.push(bn($r,ln,Et)),gr===null)for(var jo=0;jo<yo;jo++)Ha.push(Mn),Ha.push(bn(Rr,ln,Et));else{for(var ko=0;ko<yo;ko++)Ha.push(Mn),Ha.push(bn(Rr,ln,Et));Ha.push({type:"kern",size:No}),Ha.push(bn(Rr,ln,Et)),Ha.push(Mn),Ha.push(bn(gr,ln,Et));for(var Qo=0;Qo<yo;Qo++)Ha.push(Mn),Ha.push(bn(Rr,ln,Et))}Ha.push({type:"kern",size:No}),Ha.push(bn(Rr,ln,Et)),Ha.push(Mn),Ha.push(bn(hr,ln,Et));var wo=We.havingBaseStyle(H.TEXT),us=jr.makeVList({positionType:"bottom",positionData:Fo,children:Ha},wo);return rn(jr.makeSpan(["delimsizing","mult"],[us],wo),H.TEXT,We,Ut)},Rn=80,En=.08,On=function(le,xe,Ie,We,Et){var Ut=Ge(le,We,Ie),hr=new se(le,Ut),gr=new Oe([hr],{width:"400em",height:xe+"em",viewBox:"0 0 400000 "+Ie,preserveAspectRatio:"xMinYMin slice"});return jr.makeSvgSpan(["hide-tail"],[gr],Et)},Xn=function(le,xe){var Ie=xe.havingBaseSizing(),We=Ui("\\surd",le*Ie.sizeMultiplier,Ri,Ie),Et=Ie.sizeMultiplier,Ut=Math.max(0,xe.minRuleThickness-xe.fontMetrics().sqrtRuleThickness),hr,gr=0,Rr=0,$r=0,ln;return We.type==="small"?($r=1e3+1e3*Ut+Rn,le<1?Et=1:le<1.4&&(Et=.7),gr=(1+Ut+En)/Et,Rr=(1+Ut)/Et,hr=On("sqrtMain",gr,$r,Ut,xe),hr.style.minWidth="0.853em",ln=.833/Et):We.type==="large"?($r=(1e3+Rn)*yi[We.size],Rr=(yi[We.size]+Ut)/Et,gr=(yi[We.size]+Ut+En)/Et,hr=On("sqrtSize"+We.size,gr,$r,Ut,xe),hr.style.minWidth="1.02em",ln=1/Et):(gr=le+Ut+En,Rr=le+Ut,$r=Math.floor(1e3*le+Ut)+Rn,hr=On("sqrtTall",gr,$r,Ut,xe),hr.style.minWidth="0.742em",ln=1.056),hr.height=Rr,hr.style.height=gr+"em",{span:hr,advanceWidth:ln,ruleWidth:(xe.fontMetrics().sqrtRuleThickness+Ut)*Et}},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(le,xe,Ie,We,Et){if(le==="<"||le==="\\lt"||le==="\u27E8"?le="\\langle":(le===">"||le==="\\gt"||le==="\u27E9")&&(le="\\rangle"),b.contains(ai,le)||b.contains(Di,le))return Sn(le,xe,!1,Ie,We,Et);if(b.contains(ri,le))return vn(le,yi[xe],!1,Ie,We,Et);throw new a("Illegal delimiter: '"+le+"'")},Li=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Un=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"stack"}],Ri=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],fa=function(le){if(le.type==="small")return"Main-Regular";if(le.type==="large")return"Size"+le.size+"-Regular";if(le.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+le.type+"' here.")},Ui=function(le,xe,Ie,We){for(var Et=Math.min(2,3-We.style.size),Ut=Et;Ut<Ie.length&&!(Ie[Ut].type==="stack");Ut++){var hr=Dr(le,fa(Ie[Ut]),"math"),gr=hr.height+hr.depth;if(Ie[Ut].type==="small"){var Rr=We.havingBaseStyle(Ie[Ut].style);gr*=Rr.sizeMultiplier}if(gr>xe)return Ie[Ut]}return Ie[Ie.length-1]},Mi=function(le,xe,Ie,We,Et,Ut){le==="<"||le==="\\lt"||le==="\u27E8"?le="\\langle":(le===">"||le==="\\gt"||le==="\u27E9")&&(le="\\rangle");var hr;b.contains(Di,le)?hr=Li:b.contains(ai,le)?hr=Ri:hr=Un;var gr=Ui(le,xe,hr,We);return gr.type==="small"?wn(le,gr.style,Ie,We,Et,Ut):gr.type==="large"?Sn(le,gr.size,Ie,We,Et,Ut):vn(le,xe,Ie,We,Et,Ut)},mi=function(le,xe,Ie,We,Et,Ut){var hr=We.fontMetrics().axisHeight*We.sizeMultiplier,gr=901,Rr=5/We.fontMetrics().ptPerEm,$r=Math.max(xe-hr,Ie+hr),ln=Math.max($r/500*gr,2*$r-Rr);return Mi(le,ln,!0,We,Et,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(Bt,le){var xe=Yn(Bt);if(xe&&b.contains(va,xe.text))return xe;throw new a("Invalid delimiter: '"+(xe?xe.text:JSON.stringify(Bt))+"' after '"+le.funcName+"'",Bt)}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(le,xe){var Ie=Ea(xe[0],le);return{type:"delimsizing",mode:le.parser.mode,size:qi[le.funcName].size,mclass:qi[le.funcName].mclass,delim:Ie.text}},htmlBuilder:function(le,xe){return le.delim==="."?jr.makeSpan([le.mclass]):hi.sizedDelim(le.delim,le.size,xe,le.mode,[le.mclass])},mathmlBuilder:function(le){var xe=[];le.delim!=="."&&xe.push($i(le.delim,le.mode));var Ie=new kn.MathNode("mo",xe);return le.mclass==="mopen"||le.mclass==="mclose"?Ie.setAttribute("fence","true"):Ie.setAttribute("fence","false"),Ie}});function ya(Bt){if(!Bt.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Gn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(le,xe){var Ie=le.parser.gullet.macros.get("\\current@color");if(Ie&&typeof Ie!="string")throw new a("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:le.parser.mode,delim:Ea(xe[0],le).text,color:Ie}}}),Gn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(le,xe){var Ie=Ea(xe[0],le),We=le.parser;++We.leftrightDepth;var Et=We.parseExpression(!1);--We.leftrightDepth,We.expect("\\right",!1);var Ut=Tn(We.parseFunction(),"leftright-right");return{type:"leftright",mode:We.mode,body:Et,left:Ie.text,right:Ut.delim,rightColor:Ut.color}},htmlBuilder:function(le,xe){ya(le);for(var Ie=di(le.body,xe,!0,["mopen","mclose"]),We=0,Et=0,Ut=!1,hr=0;hr<Ie.length;hr++)Ie[hr].isMiddle?Ut=!0:(We=Math.max(Ie[hr].height,We),Et=Math.max(Ie[hr].depth,Et));We*=xe.sizeMultiplier,Et*=xe.sizeMultiplier;var gr;if(le.left==="."?gr=Qa(xe,["mopen"]):gr=hi.leftRightDelim(le.left,We,Et,xe,le.mode,["mopen"]),Ie.unshift(gr),Ut)for(var Rr=1;Rr<Ie.length;Rr++){var $r=Ie[Rr],ln=$r.isMiddle;ln&&(Ie[Rr]=hi.leftRightDelim(ln.delim,We,Et,ln.options,le.mode,[]))}var yn;if(le.right===".")yn=Qa(xe,["mclose"]);else{var Cn=le.rightColor?xe.withColor(le.rightColor):xe;yn=hi.leftRightDelim(le.right,We,Et,Cn,le.mode,["mclose"])}return Ie.push(yn),jr.makeSpan(["minner"],Ie,xe)},mathmlBuilder:function(le,xe){ya(le);var Ie=uo(le.body,xe);if(le.left!=="."){var We=new kn.MathNode("mo",[$i(le.left,le.mode)]);We.setAttribute("fence","true"),Ie.unshift(We)}if(le.right!=="."){var Et=new kn.MathNode("mo",[$i(le.right,le.mode)]);Et.setAttribute("fence","true"),le.rightColor&&Et.setAttribute("mathcolor",le.rightColor),Ie.push(Et)}return eo(Ie)}}),Gn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(le,xe){var Ie=Ea(xe[0],le);if(!le.parser.leftrightDepth)throw new a("\\middle without preceding \\left",Ie);return{type:"middle",mode:le.parser.mode,delim:Ie.text}},htmlBuilder:function(le,xe){var Ie;if(le.delim===".")Ie=Qa(xe,[]);else{Ie=hi.sizedDelim(le.delim,1,xe,le.mode,[]);var We={delim:le.delim,options:xe};Ie.isMiddle=We}return Ie},mathmlBuilder:function(le,xe){var Ie=le.delim==="\\vert"||le.delim==="|"?$i("|","text"):$i(le.delim,le.mode),We=new kn.MathNode("mo",[Ie]);return We.setAttribute("fence","true"),We.setAttribute("lspace","0.05em"),We.setAttribute("rspace","0.05em"),We}});var oa=function(le,xe){var Ie=jr.wrapFragment(Wi(le.body,xe),xe),We=le.label.substr(1),Et=xe.sizeMultiplier,Ut,hr=0,gr=b.isCharacterBox(le.body);if(We==="sout")Ut=jr.makeSpan(["stretchy","sout"]),Ut.height=xe.fontMetrics().defaultRuleThickness/Et,hr=-.5*xe.fontMetrics().xHeight;else{/cancel/.test(We)?gr||Ie.classes.push("cancel-pad"):Ie.classes.push("boxpad");var Rr=0,$r=0;/box/.test(We)?($r=Math.max(xe.fontMetrics().fboxrule,xe.minRuleThickness),Rr=xe.fontMetrics().fboxsep+(We==="colorbox"?0:$r)):Rr=gr?.2:0,Ut=Zr.encloseSpan(Ie,We,Rr,xe),/fbox|boxed|fcolorbox/.test(We)&&(Ut.style.borderStyle="solid",Ut.style.borderWidth=$r+"em"),hr=Ie.depth+Rr,le.backgroundColor&&(Ut.style.backgroundColor=le.backgroundColor,le.borderColor&&(Ut.style.borderColor=le.borderColor))}var ln;return le.backgroundColor?ln=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ut,shift:hr},{type:"elem",elem:Ie,shift:0}]},xe):ln=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ie,shift:0},{type:"elem",elem:Ut,shift:hr,wrapperClasses:/cancel/.test(We)?["svg-align"]:[]}]},xe),/cancel/.test(We)&&(ln.height=Ie.height,ln.depth=Ie.depth),/cancel/.test(We)&&!gr?jr.makeSpan(["mord","cancel-lap"],[ln],xe):jr.makeSpan(["mord"],[ln],xe)},sa=function(le,xe){var Ie=0,We=new kn.MathNode(le.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Tr(le.body,xe)]);switch(le.label){case"\\cancel":We.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":We.setAttribute("notation","downdiagonalstrike");break;case"\\sout":We.setAttribute("notation","horizontalstrike");break;case"\\fbox":We.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(Ie=xe.fontMetrics().fboxsep*xe.fontMetrics().ptPerEm,We.setAttribute("width","+"+2*Ie+"pt"),We.setAttribute("height","+"+2*Ie+"pt"),We.setAttribute("lspace",Ie+"pt"),We.setAttribute("voffset",Ie+"pt"),le.label==="\\fcolorbox"){var Et=Math.max(xe.fontMetrics().fboxrule,xe.minRuleThickness);We.setAttribute("style","border: "+Et+"em solid "+String(le.borderColor))}break;case"\\xcancel":We.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return le.backgroundColor&&We.setAttribute("mathbackground",le.backgroundColor),We};Gn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(le,xe,Ie){var We=le.parser,Et=le.funcName,Ut=Tn(xe[0],"color-token").color,hr=xe[1];return{type:"enclose",mode:We.mode,label:Et,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(le,xe,Ie){var We=le.parser,Et=le.funcName,Ut=Tn(xe[0],"color-token").color,hr=Tn(xe[1],"color-token").color,gr=xe[2];return{type:"enclose",mode:We.mode,label:Et,backgroundColor:hr,borderColor:Ut,body:gr}},htmlBuilder:oa,mathmlBuilder:sa}),Gn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(le,xe){var Ie=le.parser;return{type:"enclose",mode:Ie.mode,label:"\\fbox",body:xe[0]}}}),Gn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(le,xe,Ie){var We=le.parser,Et=le.funcName,Ut=xe[0];return{type:"enclose",mode:We.mode,label:Et,body:Ut}},htmlBuilder:oa,mathmlBuilder:sa});var Ni={};function $n(Bt){for(var le=Bt.type,xe=Bt.names,Ie=Bt.props,We=Bt.handler,Et=Bt.htmlBuilder,Ut=Bt.mathmlBuilder,hr={type:le,numArgs:Ie.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:We},gr=0;gr<xe.length;++gr)Ni[xe[gr]]=hr;Et&&(_i[le]=Et),Ut&&(Ci[le]=Ut)}function Ai(Bt){var le=[];Bt.consumeSpaces();for(var xe=Bt.fetch().text;xe==="\\hline"||xe==="\\hdashline";)Bt.consume(),le.push(xe==="\\hdashline"),Bt.consumeSpaces(),xe=Bt.fetch().text;return le}function Oi(Bt,le,xe){var Ie=le.hskipBeforeAndAfter,We=le.addJot,Et=le.cols,Ut=le.arraystretch,hr=le.colSeparationType;if(Bt.gullet.beginGroup(),Bt.gullet.macros.set("\\\\","\\cr"),!Ut){var gr=Bt.gullet.expandMacroAsText("\\arraystretch");if(gr==null)Ut=1;else if(Ut=parseFloat(gr),!Ut||Ut<0)throw new a("Invalid \\arraystretch: "+gr)}Bt.gullet.beginGroup();var Rr=[],$r=[Rr],ln=[],yn=[];for(yn.push(Ai(Bt));;){var Cn=Bt.parseExpression(!1,"\\cr");Bt.gullet.endGroup(),Bt.gullet.beginGroup(),Cn={type:"ordgroup",mode:Bt.mode,body:Cn},xe&&(Cn={type:"styling",mode:Bt.mode,style:xe,body:[Cn]}),Rr.push(Cn);var Qn=Bt.fetch().text;if(Qn==="&")Bt.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(Bt.parseFunction(),"cr");ln.push(ti.size),yn.push(Ai(Bt)),Rr=[],$r.push(Rr)}else throw new a("Expected & or \\\\ or \\cr or \\end",Bt.nextToken)}return Bt.gullet.endGroup(),Bt.gullet.endGroup(),{type:"array",mode:Bt.mode,addJot:We,arraystretch:Ut,body:$r,cols:Et,rowGaps:ln,hskipBeforeAndAfter:Ie,hLinesBeforeRow:yn,colSeparationType:hr}}function Vi(Bt){return Bt.substr(0,1)==="d"?"display":"text"}var Xi=function(le,xe){var Ie,We,Et=le.body.length,Ut=le.hLinesBeforeRow,hr=0,gr=new Array(Et),Rr=[],$r=Math.max(xe.fontMetrics().arrayRuleWidth,xe.minRuleThickness),ln=1/xe.fontMetrics().ptPerEm,yn=5*ln;if(le.colSeparationType&&le.colSeparationType==="small"){var Cn=xe.havingStyle(H.SCRIPT).sizeMultiplier;yn=.2778*(Cn/xe.sizeMultiplier)}var Qn=12*ln,ti=3*ln,wi=le.arraystretch*Qn,ea=.7*wi,ji=.3*wi,Sa=0;function lo(bs){for(var ua=0;ua<bs.length;++ua)ua>0&&(Sa+=.25),Rr.push({pos:Sa,isDashed:bs[ua]})}for(lo(Ut[0]),Ie=0;Ie<le.body.length;++Ie){var Wa=le.body[Ie],yo=ea,Ao=ji;hr<Wa.length&&(hr=Wa.length);var $a=new Array(Wa.length);for(We=0;We<Wa.length;++We){var Fo=Wi(Wa[We],xe);Ao<Fo.depth&&(Ao=Fo.depth),yo<Fo.height&&(yo=Fo.height),$a[We]=Fo}var No=le.rowGaps[Ie],Ha=0;No&&(Ha=ft(No,xe),Ha>0&&(Ha+=ji,Ao<Ha&&(Ao=Ha),Ha=0)),le.addJot&&(Ao+=ti),$a.height=yo,$a.depth=Ao,Sa+=yo,$a.pos=Sa,Sa+=Ao+Ha,gr[Ie]=$a,lo(Ut[Ie+1])}var jo=Sa/2+xe.fontMetrics().axisHeight,ko=le.cols||[],Qo=[],wo,us;for(We=0,us=0;We<hr||us<ko.length;++We,++us){for(var ns=ko[us]||{},Xs=!0;ns.type==="separator";){if(Xs||(wo=jr.makeSpan(["arraycolsep"],[]),wo.style.width=xe.fontMetrics().doubleRuleSep+"em",Qo.push(wo)),ns.separator==="|"||ns.separator===":"){var Ys=ns.separator==="|"?"solid":"dashed",Yo=jr.makeSpan(["vertical-separator"],[],xe);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 a("Invalid separator type: "+ns.separator);us++,ns=ko[us]||{},Xs=!1}if(We>=hr)continue;var Eo=void 0;(We>0||le.hskipBeforeAndAfter)&&(Eo=b.deflt(ns.pregap,yn),Eo!==0&&(wo=jr.makeSpan(["arraycolsep"],[]),wo.style.width=Eo+"em",Qo.push(wo)));var ds=[];for(Ie=0;Ie<Et;++Ie){var hs=gr[Ie],Rs=hs[We];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},xe),ds=jr.makeSpan(["col-align-"+(ns.align||"c")],[ds]),Qo.push(ds),(We<hr-1||le.hskipBeforeAndAfter)&&(Eo=b.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",xe,$r),Ms=jr.makeLineSpan("hdashline",xe,$r),As=[{type:"elem",elem:gr,shift:0}];Rr.length>0;){var Fs=Rr.pop(),Hs=Fs.pos-jo;Fs.isDashed?As.push({type:"elem",elem:Ms,shift:Hs}):As.push({type:"elem",elem:ys,shift:Hs})}gr=jr.makeVList({positionType:"individualShift",children:As},xe)}return jr.makeSpan(["mord"],[gr],xe)},bi={c:"center ",l:"left ",r:"right "},Aa=function(le,xe){var Ie=new kn.MathNode("mtable",le.body.map(function(Sa){return new kn.MathNode("mtr",Sa.map(function(lo){return new kn.MathNode("mtd",[Tr(lo,xe)])}))})),We=le.arraystretch===.5?.1:.16+le.arraystretch-1+(le.addJot?.09:0);Ie.setAttribute("rowspacing",We+"em");var Et="",Ut="";if(le.cols){var hr=le.cols,gr="",Rr=!1,$r=0,ln=hr.length;hr[0].type==="separator"&&(Et+="top ",$r=1),hr[hr.length-1].type==="separator"&&(Et+="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));Ie.setAttribute("columnalign",Ut.trim()),/[sd]/.test(gr)&&Ie.setAttribute("columnlines",gr.trim())}if(le.colSeparationType==="align"){for(var Cn=le.cols||[],Qn="",ti=1;ti<Cn.length;ti++)Qn+=ti%2?"0em ":"1em ";Ie.setAttribute("columnspacing",Qn.trim())}else le.colSeparationType==="alignat"?Ie.setAttribute("columnspacing","0em"):le.colSeparationType==="small"?Ie.setAttribute("columnspacing","0.2778em"):Ie.setAttribute("columnspacing","1em");var wi="",ea=le.hLinesBeforeRow;Et+=ea[0].length>0?"left ":"",Et+=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)&&Ie.setAttribute("rowlines",wi.trim()),Et!==""&&(Ie=new kn.MathNode("menclose",[Ie]),Ie.setAttribute("notation",Et.trim())),le.arraystretch&&le.arraystretch<1&&(Ie=new kn.MathNode("mstyle",[Ie]),Ie.setAttribute("scriptlevel","1")),Ie},ca=function(le,xe){var Ie=[],We=Oi(le.parser,{cols:Ie,addJot:!0},"display"),Et,Ut=0,hr={type:"ordgroup",mode:le.mode,body:[]},gr=gn(xe[0],"ordgroup");if(gr){for(var Rr="",$r=0;$r<gr.body.length;$r++){var ln=Tn(gr.body[$r],"textord");Rr+=ln.text}Et=Number(Rr),Ut=Et*2}var yn=!Ut;We.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(Et<lo)throw new a("Too many math in a row: "+("expected "+Et+", 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),Ie[Cn]={type:"align",align:Qn,pregap:ti,postgap:0}}return We.colSeparationType=yn?"align":"alignat",We};$n({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(le,xe){var Ie=Yn(xe[0]),We=Ie?[xe[0]]:Tn(xe[0],"ordgroup").body,Et=We.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 a("Unknown column alignment: "+Rr,hr)}),Ut={cols:Et,hskipBeforeAndAfter:!0};return Oi(le.parser,Ut,Vi(le.envName))},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(le){var xe={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[le.envName],Ie={hskipBeforeAndAfter:!1},We=Oi(le.parser,Ie,Vi(le.envName));return xe?{type:"leftright",mode:le.mode,body:[We],left:xe[0],right:xe[1],rightColor:void 0}:We},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(le){var xe={arraystretch:.5},Ie=Oi(le.parser,xe,"script");return Ie.colSeparationType="small",Ie},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["subarray"],props:{numArgs:1},handler:function(le,xe){var Ie=Yn(xe[0]),We=Ie?[xe[0]]:Tn(xe[0],"ordgroup").body,Et=We.map(function(hr){var gr=qn(hr),Rr=gr.text;if("lc".indexOf(Rr)!==-1)return{type:"align",align:Rr};throw new a("Unknown column alignment: "+Rr,hr)});if(Et.length>1)throw new a("{subarray} can contain only one column");var Ut={cols:Et,hskipBeforeAndAfter:!1,arraystretch:.5};if(Ut=Oi(le.parser,Ut,"script"),Ut.body[0].length>1)throw new a("{subarray} can contain only one column");return Ut},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(le){var xe={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Ie=Oi(le.parser,xe,Vi(le.envName));return{type:"leftright",mode:le.mode,body:[Ie],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["aligned"],props:{numArgs:0},handler:ca,htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["gathered"],props:{numArgs:0},handler:function(le){var xe={cols:[{type:"align",align:"c"}],addJot:!0};return Oi(le.parser,xe,"display")},htmlBuilder:Xi,mathmlBuilder:Aa}),$n({type:"array",names:["alignedat"],props:{numArgs:1},handler:ca,htmlBuilder:Xi,mathmlBuilder:Aa}),Gn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(le,xe){throw new a(le.funcName+" valid only within array environment")}});var la=Ni,gi=la;Gn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(le,xe){var Ie=le.parser,We=le.funcName,Et=xe[0];if(Et.type!=="ordgroup")throw new a("Invalid environment name",Et);for(var Ut="",hr=0;hr<Et.body.length;++hr)Ut+=Tn(Et.body[hr],"textord").text;if(We==="\\begin"){if(!gi.hasOwnProperty(Ut))throw new a("No such environment: "+Ut,Et);var gr=gi[Ut],Rr=Ie.parseArguments("\\begin{"+Ut+"}",gr),$r=Rr.args,ln=Rr.optArgs,yn={mode:Ie.mode,envName:Ut,parser:Ie},Cn=gr.handler(yn,$r,ln);Ie.expect("\\end",!1);var Qn=Ie.nextToken,ti=Tn(Ie.parseFunction(),"environment");if(ti.name!==Ut)throw new a("Mismatch: \\begin{"+Ut+"} matched by \\end{"+ti.name+"}",Qn);return Cn}return{type:"environment",mode:Ie.mode,name:Ut,nameGroup:Et}}});var Ba=jr.makeSpan;function Ma(Bt,le){var xe=di(Bt.body,le,!0);return Ba([Bt.mclass],xe,le)}function ra(Bt,le){var xe,Ie=uo(Bt.body,le);return Bt.mclass==="minner"?kn.newDocumentFragment(Ie):(Bt.mclass==="mord"?Bt.isCharacterBox?(xe=Ie[0],xe.type="mi"):xe=new kn.MathNode("mi",Ie):(Bt.isCharacterBox?(xe=Ie[0],xe.type="mo"):xe=new kn.MathNode("mo",Ie),Bt.mclass==="mbin"?(xe.attributes.lspace="0.22em",xe.attributes.rspace="0.22em"):Bt.mclass==="mpunct"?(xe.attributes.lspace="0em",xe.attributes.rspace="0.17em"):(Bt.mclass==="mopen"||Bt.mclass==="mclose")&&(xe.attributes.lspace="0em",xe.attributes.rspace="0em")),xe)}Gn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(le,xe){var Ie=le.parser,We=le.funcName,Et=xe[0];return{type:"mclass",mode:Ie.mode,mclass:"m"+We.substr(5),body:mn(Et),isCharacterBox:b.isCharacterBox(Et)}},htmlBuilder:Ma,mathmlBuilder:ra});var Yi=function(le){var xe=le.type==="ordgroup"&&le.body.length?le.body[0]:le;return xe.type==="atom"&&(xe.family==="bin"||xe.family==="rel")?"m"+xe.family:"mord"};Gn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(le,xe){var Ie=le.parser;return{type:"mclass",mode:Ie.mode,mclass:Yi(xe[0]),body:[xe[1]],isCharacterBox:b.isCharacterBox(xe[1])}}}),Gn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(le,xe){var Ie=le.parser,We=le.funcName,Et=xe[1],Ut=xe[0],hr;We!=="\\stackrel"?hr=Yi(Et):hr="mrel";var gr={type:"op",mode:Et.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:We!=="\\stackrel",body:mn(Et)},Rr={type:"supsub",mode:Ut.mode,base:gr,sup:We==="\\underset"?null:Ut,sub:We==="\\underset"?Ut:null};return{type:"mclass",mode:Ie.mode,mclass:hr,body:[Rr],isCharacterBox:b.isCharacterBox(Rr)}},htmlBuilder:Ma,mathmlBuilder:ra});var Xa=function(le,xe){var Ie=le.font,We=xe.withFont(Ie);return Wi(le.body,We)},Ki=function(le,xe){var Ie=le.font,We=xe.withFont(Ie);return Tr(le.body,We)},zi={"\\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(le,xe){var Ie=le.parser,We=le.funcName,Et=xe[0],Ut=We;return Ut in zi&&(Ut=zi[Ut]),{type:"font",mode:Ie.mode,font:Ut.slice(1),body:Et}},htmlBuilder:Xa,mathmlBuilder:Ki}),Gn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(le,xe){var Ie=le.parser,We=xe[0],Et=b.isCharacterBox(We);return{type:"mclass",mode:Ie.mode,mclass:Yi(We),body:[{type:"font",mode:Ie.mode,font:"boldsymbol",body:We}],isCharacterBox:Et}}}),Gn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(le,xe){var Ie=le.parser,We=le.funcName,Et=le.breakOnTokenText,Ut=Ie.mode,hr=Ie.parseExpression(!0,Et),gr="math"+We.slice(1);return{type:"font",mode:Ut,font:gr,body:{type:"ordgroup",mode:Ie.mode,body:hr}}},htmlBuilder:Xa,mathmlBuilder:Ki});var ba=function(le,xe){var Ie=xe;return le==="display"?Ie=Ie.id>=H.SCRIPT.id?Ie.text():H.DISPLAY:le==="text"&&Ie.size===H.DISPLAY.size?Ie=H.TEXT:le==="script"?Ie=H.SCRIPT:le==="scriptscript"&&(Ie=H.SCRIPTSCRIPT),Ie},Ua=function(le,xe){var Ie=ba(le.size,xe.style),We=Ie.fracNum(),Et=Ie.fracDen(),Ut;Ut=xe.havingStyle(We);var hr=Wi(le.numer,Ut,xe);if(le.continued){var gr=8.5/xe.fontMetrics().ptPerEm,Rr=3.5/xe.fontMetrics().ptPerEm;hr.height=hr.height<gr?gr:hr.height,hr.depth=hr.depth<Rr?Rr:hr.depth}Ut=xe.havingStyle(Et);var $r=Wi(le.denom,Ut,xe),ln,yn,Cn;le.hasBarLine?(le.barSize?(yn=ft(le.barSize,xe),ln=jr.makeLineSpan("frac-line",xe,yn)):ln=jr.makeLineSpan("frac-line",xe),yn=ln.height,Cn=ln.height):(ln=null,yn=0,Cn=xe.fontMetrics().defaultRuleThickness);var Qn,ti,wi;Ie.size===H.DISPLAY.size||le.size==="display"?(Qn=xe.fontMetrics().num1,yn>0?ti=3*Cn:ti=7*Cn,wi=xe.fontMetrics().denom1):(yn>0?(Qn=xe.fontMetrics().num2,ti=Cn):(Qn=xe.fontMetrics().num3,ti=3*Cn),wi=xe.fontMetrics().denom2);var ea;if(ln){var Sa=xe.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}]},xe)}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}]},xe)}Ut=xe.havingStyle(Ie),ea.height*=Ut.sizeMultiplier/xe.sizeMultiplier,ea.depth*=Ut.sizeMultiplier/xe.sizeMultiplier;var Wa;Ie.size===H.DISPLAY.size?Wa=xe.fontMetrics().delim1:Wa=xe.fontMetrics().delim2;var yo,Ao;return le.leftDelim==null?yo=Qa(xe,["mopen"]):yo=hi.customSizedDelim(le.leftDelim,Wa,!0,xe.havingStyle(Ie),le.mode,["mopen"]),le.continued?Ao=jr.makeSpan([]):le.rightDelim==null?Ao=Qa(xe,["mclose"]):Ao=hi.customSizedDelim(le.rightDelim,Wa,!0,xe.havingStyle(Ie),le.mode,["mclose"]),jr.makeSpan(["mord"].concat(Ut.sizingClasses(xe)),[yo,jr.makeSpan(["mfrac"],[ea]),Ao],xe)},wa=function(le,xe){var Ie=new kn.MathNode("mfrac",[Tr(le.numer,xe),Tr(le.denom,xe)]);if(!le.hasBarLine)Ie.setAttribute("linethickness","0px");else if(le.barSize){var We=ft(le.barSize,xe);Ie.setAttribute("linethickness",We+"em")}var Et=ba(le.size,xe.style);if(Et.size!==xe.style.size){Ie=new kn.MathNode("mstyle",[Ie]);var Ut=Et.size===H.DISPLAY.size?"true":"false";Ie.setAttribute("displaystyle",Ut),Ie.setAttribute("scriptlevel","0")}if(le.leftDelim!=null||le.rightDelim!=null){var hr=[];if(le.leftDelim!=null){var gr=new kn.MathNode("mo",[new kn.TextNode(le.leftDelim.replace("\\",""))]);gr.setAttribute("fence","true"),hr.push(gr)}if(hr.push(Ie),le.rightDelim!=null){var Rr=new kn.MathNode("mo",[new kn.TextNode(le.rightDelim.replace("\\",""))]);Rr.setAttribute("fence","true"),hr.push(Rr)}return eo(hr)}return Ie};Gn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(le,xe){var Ie=le.parser,We=le.funcName,Et=xe[0],Ut=xe[1],hr,gr=null,Rr=null,$r="auto";switch(We){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(We){case"\\cfrac":case"\\dfrac":case"\\dbinom":$r="display";break;case"\\tfrac":case"\\tbinom":$r="text";break}return{type:"genfrac",mode:Ie.mode,continued:We==="\\cfrac",numer:Et,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(le){var xe=le.parser,Ie=le.funcName,We=le.token,Et;switch(Ie){case"\\over":Et="\\frac";break;case"\\choose":Et="\\binom";break;case"\\atop":Et="\\\\atopfrac";break;case"\\brace":Et="\\\\bracefrac";break;case"\\brack":Et="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:xe.mode,replaceWith:Et,token:We}}});var vi=["display","text","script","scriptscript"],Ya=function(le){var xe=null;return le.length>0&&(xe=le,xe=xe==="."?null:xe),xe};Gn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(le,xe){var Ie=le.parser,We=xe[4],Et=xe[5],Ut=gn(xe[0],"atom");Ut&&(Ut=Bn(xe[0],"open"));var hr=Ut?Ya(Ut.text):null,gr=gn(xe[1],"atom");gr&&(gr=Bn(xe[1],"close"));var Rr=gr?Ya(gr.text):null,$r=Tn(xe[2],"size"),ln,yn=null;$r.isBlank?ln=!0:(yn=$r.value,ln=yn.number>0);var Cn="auto",Qn=gn(xe[3],"ordgroup");if(Qn){if(Qn.body.length>0){var ti=Tn(Qn.body[0],"textord");Cn=vi[Number(ti.text)]}}else Qn=Tn(xe[3],"textord"),Cn=vi[Number(Qn.text)];return{type:"genfrac",mode:Ie.mode,numer:We,denom:Et,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(le,xe){var Ie=le.parser,We=le.funcName,Et=le.token;return{type:"infix",mode:Ie.mode,replaceWith:"\\\\abovefrac",size:Tn(xe[0],"size").value,token:Et}}}),Gn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(le,xe){var Ie=le.parser,We=le.funcName,Et=xe[0],Ut=p(Tn(xe[1],"infix").size),hr=xe[2],gr=Ut.number>0;return{type:"genfrac",mode:Ie.mode,numer:Et,denom:hr,continued:!1,hasBarLine:gr,barSize:Ut,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ua,mathmlBuilder:wa});var Ka=function(le,xe){var Ie=xe.style,We,Et,Ut=gn(le,"supsub");Ut?(We=Ut.sup?Wi(Ut.sup,xe.havingStyle(Ie.sup()),xe):Wi(Ut.sub,xe.havingStyle(Ie.sub()),xe),Et=Tn(Ut.base,"horizBrace")):Et=Tn(le,"horizBrace");var hr=Wi(Et.base,xe.havingBaseStyle(H.DISPLAY)),gr=Zr.svgSpan(Et,xe),Rr;if(Et.isOver?(Rr=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:hr},{type:"kern",size:.1},{type:"elem",elem:gr}]},xe),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}]},xe),Rr.children[0].children[0].children[0].classes.push("svg-align")),We){var $r=jr.makeSpan(["mord",Et.isOver?"mover":"munder"],[Rr],xe);Et.isOver?Rr=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:$r},{type:"kern",size:.2},{type:"elem",elem:We}]},xe):Rr=jr.makeVList({positionType:"bottom",positionData:$r.depth+.2+We.height+We.depth,children:[{type:"elem",elem:We},{type:"kern",size:.2},{type:"elem",elem:$r}]},xe)}return jr.makeSpan(["mord",Et.isOver?"mover":"munder"],[Rr],xe)},pa=function(le,xe){var Ie=Zr.mathMLnode(le.label);return new kn.MathNode(le.isOver?"mover":"munder",[Tr(le.base,xe),Ie])};Gn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(le,xe){var Ie=le.parser,We=le.funcName;return{type:"horizBrace",mode:Ie.mode,label:We,isOver:/^\\over/.test(We),base:xe[0]}},htmlBuilder:Ka,mathmlBuilder:pa}),Gn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(le,xe){var Ie=le.parser,We=xe[1],Et=Tn(xe[0],"url").url;return Ie.settings.isTrusted({command:"\\href",url:Et})?{type:"href",mode:Ie.mode,href:Et,body:mn(We)}:Ie.formatUnsupportedCmd("\\href")},htmlBuilder:function(le,xe){var Ie=di(le.body,xe,!1);return jr.makeAnchor(le.href,[],Ie,xe)},mathmlBuilder:function(le,xe){var Ie=rr(le.body,xe);return Ie instanceof ga||(Ie=new ga("mrow",[Ie])),Ie.setAttribute("href",le.href),Ie}}),Gn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(le,xe){var Ie=le.parser,We=Tn(xe[0],"url").url;if(!Ie.settings.isTrusted({command:"\\url",url:We}))return Ie.formatUnsupportedCmd("\\url");for(var Et=[],Ut=0;Ut<We.length;Ut++){var hr=We[Ut];hr==="~"&&(hr="\\textasciitilde"),Et.push({type:"textord",mode:"text",text:hr})}var gr={type:"text",mode:Ie.mode,font:"\\texttt",body:Et};return{type:"href",mode:Ie.mode,href:We,body:mn(gr)}}}),Gn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(le,xe){var Ie=le.parser;return{type:"htmlmathml",mode:Ie.mode,html:mn(xe[0]),mathml:mn(xe[1])}},htmlBuilder:function(le,xe){var Ie=di(le.html,xe,!1);return jr.makeFragment(Ie)},mathmlBuilder:function(le,xe){return rr(le.mathml,xe)}});var Ii=function(le){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(le))return{number:+le,unit:"bp"};var xe=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(le);if(!xe)throw new a("Invalid size: '"+le+"' in \\includegraphics");var Ie={number:+(xe[1]+xe[2]),unit:xe[3]};if(!ut(Ie))throw new a("Invalid unit: '"+Ie.unit+"' in \\includegraphics.");return Ie};Gn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(le,xe,Ie){var We=le.parser,Et={number:0,unit:"em"},Ut={number:.9,unit:"em"},hr={number:0,unit:"em"},gr="";if(Ie[0])for(var Rr=Tn(Ie[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":Et=Ii(Cn);break;case"height":Ut=Ii(Cn);break;case"totalheight":hr=Ii(Cn);break;default:throw new a("Invalid key: '"+yn[0]+"' in \\includegraphics.")}}}var Qn=Tn(xe[0],"url").url;return gr===""&&(gr=Qn,gr=gr.replace(/^.*[\\/]/,""),gr=gr.substring(0,gr.lastIndexOf("."))),We.settings.isTrusted({command:"\\includegraphics",url:Qn})?{type:"includegraphics",mode:We.mode,alt:gr,width:Et,height:Ut,totalheight:hr,src:Qn}:We.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(le,xe){var Ie=ft(le.height,xe),We=0;le.totalheight.number>0&&(We=ft(le.totalheight,xe)-Ie,We=Number(We.toFixed(2)));var Et=0;le.width.number>0&&(Et=ft(le.width,xe));var Ut={height:Ie+We+"em"};Et>0&&(Ut.width=Et+"em"),We>0&&(Ut.verticalAlign=-We+"em");var hr=new Te(le.src,le.alt,Ut);return hr.height=Ie,hr.depth=We,hr},mathmlBuilder:function(le,xe){var Ie=new kn.MathNode("mglyph",[]);Ie.setAttribute("alt",le.alt);var We=ft(le.height,xe),Et=0;if(le.totalheight.number>0&&(Et=ft(le.totalheight,xe)-We,Et=Et.toFixed(2),Ie.setAttribute("valign","-"+Et+"em")),Ie.setAttribute("height",We+Et+"em"),le.width.number>0){var Ut=ft(le.width,xe);Ie.setAttribute("width",Ut+"em")}return Ie.setAttribute("src",le.src),Ie}}),Gn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(le,xe){var Ie=le.parser,We=le.funcName,Et=Tn(xe[0],"size");if(Ie.settings.strict){var Ut=We[1]==="m",hr=Et.value.unit==="mu";Ut?(hr||Ie.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+We+" supports only mu units, "+("not "+Et.value.unit+" units")),Ie.mode!=="math"&&Ie.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+We+" works only in math mode")):hr&&Ie.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+We+" doesn't support mu units")}return{type:"kern",mode:Ie.mode,dimension:Et.value}},htmlBuilder:function(le,xe){return jr.makeGlue(le.dimension,xe)},mathmlBuilder:function(le,xe){var Ie=ft(le.dimension,xe);return new kn.SpaceNode(Ie)}}),Gn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(le,xe){var Ie=le.parser,We=le.funcName,Et=xe[0];return{type:"lap",mode:Ie.mode,alignment:We.slice(5),body:Et}},htmlBuilder:function(le,xe){var Ie;le.alignment==="clap"?(Ie=jr.makeSpan([],[Wi(le.body,xe)]),Ie=jr.makeSpan(["inner"],[Ie],xe)):Ie=jr.makeSpan(["inner"],[Wi(le.body,xe)]);var We=jr.makeSpan(["fix"],[]),Et=jr.makeSpan([le.alignment],[Ie,We],xe),Ut=jr.makeSpan(["strut"]);return Ut.style.height=Et.height+Et.depth+"em",Ut.style.verticalAlign=-Et.depth+"em",Et.children.unshift(Ut),Et=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Et}]},xe),jr.makeSpan(["mord"],[Et],xe)},mathmlBuilder:function(le,xe){var Ie=new kn.MathNode("mpadded",[Tr(le.body,xe)]);if(le.alignment!=="rlap"){var We=le.alignment==="llap"?"-1":"-0.5";Ie.setAttribute("lspace",We+"width")}return Ie.setAttribute("width","0px"),Ie}}),Gn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(le,xe){var Ie=le.funcName,We=le.parser,Et=We.mode;We.switchMode("math");var Ut=Ie==="\\("?"\\)":"$",hr=We.parseExpression(!1,Ut);return We.expect(Ut),We.switchMode(Et),{type:"styling",mode:We.mode,style:"text",body:hr}}}),Gn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(le,xe){throw new a("Mismatched "+le.funcName)}});var So=function(le,xe){switch(xe.style.size){case H.DISPLAY.size:return le.display;case H.TEXT.size:return le.text;case H.SCRIPT.size:return le.script;case H.SCRIPTSCRIPT.size:return le.scriptscript;default:return le.text}};Gn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(le,xe){var Ie=le.parser;return{type:"mathchoice",mode:Ie.mode,display:mn(xe[0]),text:mn(xe[1]),script:mn(xe[2]),scriptscript:mn(xe[3])}},htmlBuilder:function(le,xe){var Ie=So(le,xe),We=di(Ie,xe,!1);return jr.makeFragment(We)},mathmlBuilder:function(le,xe){var Ie=So(le,xe);return rr(Ie,xe)}});var za=function(le,xe,Ie,We,Et,Ut,hr){le=jr.makeSpan([],[le]);var gr,Rr;if(xe){var $r=Wi(xe,We.havingStyle(Et.sup()),We);Rr={elem:$r,kern:Math.max(We.fontMetrics().bigOpSpacing1,We.fontMetrics().bigOpSpacing3-$r.depth)}}if(Ie){var ln=Wi(Ie,We.havingStyle(Et.sub()),We);gr={elem:ln,kern:Math.max(We.fontMetrics().bigOpSpacing2,We.fontMetrics().bigOpSpacing4-ln.height)}}var yn;if(Rr&&gr){var Cn=We.fontMetrics().bigOpSpacing5+gr.elem.height+gr.elem.depth+gr.kern+le.depth+hr;yn=jr.makeVList({positionType:"bottom",positionData:Cn,children:[{type:"kern",size:We.fontMetrics().bigOpSpacing5},{type:"elem",elem:gr.elem,marginLeft:-Ut+"em"},{type:"kern",size:gr.kern},{type:"elem",elem:le},{type:"kern",size:Rr.kern},{type:"elem",elem:Rr.elem,marginLeft:Ut+"em"},{type:"kern",size:We.fontMetrics().bigOpSpacing5}]},We)}else if(gr){var Qn=le.height-hr;yn=jr.makeVList({positionType:"top",positionData:Qn,children:[{type:"kern",size:We.fontMetrics().bigOpSpacing5},{type:"elem",elem:gr.elem,marginLeft:-Ut+"em"},{type:"kern",size:gr.kern},{type:"elem",elem:le}]},We)}else if(Rr){var ti=le.depth+hr;yn=jr.makeVList({positionType:"bottom",positionData:ti,children:[{type:"elem",elem:le},{type:"kern",size:Rr.kern},{type:"elem",elem:Rr.elem,marginLeft:Ut+"em"},{type:"kern",size:We.fontMetrics().bigOpSpacing5}]},We)}else return le;return jr.makeSpan(["mop","op-limits"],[yn],We)},ja=["\\smallint"],qa=function(le,xe){var Ie,We,Et=!1,Ut,hr=gn(le,"supsub");hr?(Ie=hr.sup,We=hr.sub,Ut=Tn(hr.base,"op"),Et=!0):Ut=Tn(le,"op");var gr=xe.style,Rr=!1;gr.size===H.DISPLAY.size&&Ut.symbol&&!b.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",xe,["mop","op-symbol",Rr?"large-op":"small-op"]),yn.length>0){var Cn=$r.italic,Qn=jr.staticSvg(yn+"Size"+(Rr?"2":"1"),xe);$r=jr.makeVList({positionType:"individualShift",children:[{type:"elem",elem:$r,shift:0},{type:"elem",elem:Qn,shift:Rr?.08:0}]},xe),Ut.name="\\"+yn,$r.classes.unshift("mop"),$r.italic=Cn}}else if(Ut.body){var ti=di(Ut.body,xe,!0);ti.length===1&&ti[0]instanceof Fe?($r=ti[0],$r.classes[0]="mop"):$r=jr.makeSpan(["mop"],jr.tryCombineChars(ti),xe)}else{for(var wi=[],ea=1;ea<Ut.name.length;ea++)wi.push(jr.mathsym(Ut.name[ea],Ut.mode,xe));$r=jr.makeSpan(["mop"],wi,xe)}var ji=0,Sa=0;return($r instanceof Fe||Ut.name==="\\oiint"||Ut.name==="\\oiiint")&&!Ut.suppressBaseShift&&(ji=($r.height-$r.depth)/2-xe.fontMetrics().axisHeight,Sa=$r.italic),Et?za($r,Ie,We,xe,gr,Sa,ji):(ji&&($r.style.position="relative",$r.style.top=ji+"em"),$r)},ho=function(le,xe){var Ie;if(le.symbol)Ie=new ga("mo",[$i(le.name,le.mode)]),b.contains(ja,le.name)&&Ie.setAttribute("largeop","false");else if(le.body)Ie=new ga("mo",uo(le.body,xe));else{Ie=new ga("mi",[new ha(le.name.slice(1))]);var We=new ga("mo",[$i("\u2061","text")]);le.parentIsSupSub?Ie=new ga("mo",[Ie,We]):Ie=Hi([Ie,We])}return Ie},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(le,xe){var Ie=le.parser,We=le.funcName,Et=We;return Et.length===1&&(Et=Ca[Et]),{type:"op",mode:Ie.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Et}},htmlBuilder:qa,mathmlBuilder:ho}),Gn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(le,xe){var Ie=le.parser,We=xe[0];return{type:"op",mode:Ie.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:mn(We)}},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(le){var xe=le.parser,Ie=le.funcName;return{type:"op",mode:xe.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:Ie}},htmlBuilder:qa,mathmlBuilder:ho}),Gn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(le){var xe=le.parser,Ie=le.funcName;return{type:"op",mode:xe.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:Ie}},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(le){var xe=le.parser,Ie=le.funcName,We=Ie;return We.length===1&&(We=to[We]),{type:"op",mode:xe.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:We}},htmlBuilder:qa,mathmlBuilder:ho});var Lo=function(le,xe){var Ie,We,Et=!1,Ut,hr=gn(le,"supsub");hr?(Ie=hr.sup,We=hr.sub,Ut=Tn(hr.base,"operatorname"),Et=!0):Ut=Tn(le,"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,xe.withFont("mathrm"),!0),ln=0;ln<$r.length;ln++){var yn=$r[ln];yn instanceof Fe&&(yn.text=yn.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}gr=jr.makeSpan(["mop"],$r,xe)}else gr=jr.makeSpan(["mop"],[],xe);return Et?za(gr,Ie,We,xe,xe.style,0,0):gr},Oa=function(le,xe){for(var Ie=uo(le.body,xe.withFont("mathrm")),We=!0,Et=0;Et<Ie.length;Et++){var Ut=Ie[Et];if(!(Ut instanceof kn.SpaceNode))if(Ut instanceof kn.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 kn.TextNode?hr.text=hr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):We=!1;break}default:We=!1}else We=!1}if(We){var gr=Ie.map(function(ln){return ln.toText()}).join("");Ie=[new kn.TextNode(gr)]}var Rr=new kn.MathNode("mi",Ie);Rr.setAttribute("mathvariant","normal");var $r=new kn.MathNode("mo",[$i("\u2061","text")]);return le.parentIsSupSub?new kn.MathNode("mo",[Rr,$r]):kn.newDocumentFragment([Rr,$r])};Gn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(le,xe){var Ie=le.parser,We=le.funcName,Et=xe[0];return{type:"operatorname",mode:Ie.mode,body:mn(Et),alwaysHandleSupSub:We==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Lo,mathmlBuilder:Oa}),Ia({type:"ordgroup",htmlBuilder:function(le,xe){return le.semisimple?jr.makeFragment(di(le.body,xe,!1)):jr.makeSpan(["mord"],di(le.body,xe,!0),xe)},mathmlBuilder:function(le,xe){return rr(le.body,xe,!0)}}),Gn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(le,xe){var Ie=le.parser,We=xe[0];return{type:"overline",mode:Ie.mode,body:We}},htmlBuilder:function(le,xe){var Ie=Wi(le.body,xe.havingCrampedStyle()),We=jr.makeLineSpan("overline-line",xe),Et=xe.fontMetrics().defaultRuleThickness,Ut=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ie},{type:"kern",size:3*Et},{type:"elem",elem:We},{type:"kern",size:Et}]},xe);return jr.makeSpan(["mord","overline"],[Ut],xe)},mathmlBuilder:function(le,xe){var Ie=new kn.MathNode("mo",[new kn.TextNode("\u203E")]);Ie.setAttribute("stretchy","true");var We=new kn.MathNode("mover",[Tr(le.body,xe),Ie]);return We.setAttribute("accent","true"),We}}),Gn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(le,xe){var Ie=le.parser,We=xe[0];return{type:"phantom",mode:Ie.mode,body:mn(We)}},htmlBuilder:function(le,xe){var Ie=di(le.body,xe.withPhantom(),!1);return jr.makeFragment(Ie)},mathmlBuilder:function(le,xe){var Ie=uo(le.body,xe);return new kn.MathNode("mphantom",Ie)}}),Gn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(le,xe){var Ie=le.parser,We=xe[0];return{type:"hphantom",mode:Ie.mode,body:We}},htmlBuilder:function(le,xe){var Ie=jr.makeSpan([],[Wi(le.body,xe.withPhantom())]);if(Ie.height=0,Ie.depth=0,Ie.children)for(var We=0;We<Ie.children.length;We++)Ie.children[We].height=0,Ie.children[We].depth=0;return Ie=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ie}]},xe),jr.makeSpan(["mord"],[Ie],xe)},mathmlBuilder:function(le,xe){var Ie=uo(mn(le.body),xe),We=new kn.MathNode("mphantom",Ie),Et=new kn.MathNode("mpadded",[We]);return Et.setAttribute("height","0px"),Et.setAttribute("depth","0px"),Et}}),Gn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(le,xe){var Ie=le.parser,We=xe[0];return{type:"vphantom",mode:Ie.mode,body:We}},htmlBuilder:function(le,xe){var Ie=jr.makeSpan(["inner"],[Wi(le.body,xe.withPhantom())]),We=jr.makeSpan(["fix"],[]);return jr.makeSpan(["mord","rlap"],[Ie,We],xe)},mathmlBuilder:function(le,xe){var Ie=uo(mn(le.body),xe),We=new kn.MathNode("mphantom",Ie),Et=new kn.MathNode("mpadded",[We]);return Et.setAttribute("width","0px"),Et}}),Gn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(le,xe){var Ie=le.parser,We=Tn(xe[0],"size").value,Et=xe[1];return{type:"raisebox",mode:Ie.mode,dy:We,body:Et}},htmlBuilder:function(le,xe){var Ie=Wi(le.body,xe),We=ft(le.dy,xe);return jr.makeVList({positionType:"shift",positionData:-We,children:[{type:"elem",elem:Ie}]},xe)},mathmlBuilder:function(le,xe){var Ie=new kn.MathNode("mpadded",[Tr(le.body,xe)]),We=le.dy.number+le.dy.unit;return Ie.setAttribute("voffset",We),Ie}}),Gn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(le,xe,Ie){var We=le.parser,Et=Ie[0],Ut=Tn(xe[0],"size"),hr=Tn(xe[1],"size");return{type:"rule",mode:We.mode,shift:Et&&Tn(Et,"size").value,width:Ut.value,height:hr.value}},htmlBuilder:function(le,xe){var Ie=jr.makeSpan(["mord","rule"],[],xe),We=ft(le.width,xe),Et=ft(le.height,xe),Ut=le.shift?ft(le.shift,xe):0;return Ie.style.borderRightWidth=We+"em",Ie.style.borderTopWidth=Et+"em",Ie.style.bottom=Ut+"em",Ie.width=We,Ie.height=Et+Ut,Ie.depth=-Ut,Ie.maxFontSize=Et*1.125*xe.sizeMultiplier,Ie},mathmlBuilder:function(le,xe){var Ie=ft(le.width,xe),We=ft(le.height,xe),Et=le.shift?ft(le.shift,xe):0,Ut=xe.color&&xe.getColor()||"black",hr=new kn.MathNode("mspace");hr.setAttribute("mathbackground",Ut),hr.setAttribute("width",Ie+"em"),hr.setAttribute("height",We+"em");var gr=new kn.MathNode("mpadded",[hr]);return Et>=0?gr.setAttribute("height","+"+Et+"em"):(gr.setAttribute("height",Et+"em"),gr.setAttribute("depth","+"+-Et+"em")),gr.setAttribute("voffset",Et+"em"),gr}});function Fi(Bt,le,xe){for(var Ie=di(Bt,le,!1),We=le.sizeMultiplier/xe.sizeMultiplier,Et=0;Et<Ie.length;Et++){var Ut=Ie[Et].classes.indexOf("sizing");Ut<0?Array.prototype.push.apply(Ie[Et].classes,le.sizingClasses(xe)):Ie[Et].classes[Ut+1]==="reset-size"+le.size&&(Ie[Et].classes[Ut+1]="reset-size"+xe.size),Ie[Et].height*=We,Ie[Et].depth*=We}return jr.makeFragment(Ie)}var Ja=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Da=function(le,xe){var Ie=xe.havingSize(le.size);return Fi(le.body,Ie,xe)};Gn({type:"sizing",names:Ja,props:{numArgs:0,allowedInText:!0},handler:function(le,xe){var Ie=le.breakOnTokenText,We=le.funcName,Et=le.parser,Ut=Et.parseExpression(!1,Ie);return{type:"sizing",mode:Et.mode,size:Ja.indexOf(We)+1,body:Ut}},htmlBuilder:Da,mathmlBuilder:function(le,xe){var Ie=xe.havingSize(le.size),We=uo(le.body,Ie),Et=new kn.MathNode("mstyle",We);return Et.setAttribute("mathsize",Ie.sizeMultiplier+"em"),Et}}),Gn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(le,xe,Ie){var We=le.parser,Et=!1,Ut=!1,hr=Ie[0]&&Tn(Ie[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")Et=!0;else if(gr==="b")Ut=!0;else{Et=!1,Ut=!1;break}}else Et=!0,Ut=!0;var ln=xe[0];return{type:"smash",mode:We.mode,body:ln,smashHeight:Et,smashDepth:Ut}},htmlBuilder:function(le,xe){var Ie=jr.makeSpan([],[Wi(le.body,xe)]);if(!le.smashHeight&&!le.smashDepth)return Ie;if(le.smashHeight&&(Ie.height=0,Ie.children))for(var We=0;We<Ie.children.length;We++)Ie.children[We].height=0;if(le.smashDepth&&(Ie.depth=0,Ie.children))for(var Et=0;Et<Ie.children.length;Et++)Ie.children[Et].depth=0;var Ut=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ie}]},xe);return jr.makeSpan(["mord"],[Ut],xe)},mathmlBuilder:function(le,xe){var Ie=new kn.MathNode("mpadded",[Tr(le.body,xe)]);return le.smashHeight&&Ie.setAttribute("height","0px"),le.smashDepth&&Ie.setAttribute("depth","0px"),Ie}}),Gn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(le,xe,Ie){var We=le.parser,Et=Ie[0],Ut=xe[0];return{type:"sqrt",mode:We.mode,body:Ut,index:Et}},htmlBuilder:function(le,xe){var Ie=Wi(le.body,xe.havingCrampedStyle());Ie.height===0&&(Ie.height=xe.fontMetrics().xHeight),Ie=jr.wrapFragment(Ie,xe);var We=xe.fontMetrics(),Et=We.defaultRuleThickness,Ut=Et;xe.style.id<H.TEXT.id&&(Ut=xe.fontMetrics().xHeight);var hr=Et+Ut/4,gr=Ie.height+Ie.depth+hr+Et,Rr=hi.sqrtImage(gr,xe),$r=Rr.span,ln=Rr.ruleWidth,yn=Rr.advanceWidth,Cn=$r.height-ln;Cn>Ie.height+Ie.depth+hr&&(hr=(hr+Cn-Ie.height-Ie.depth)/2);var Qn=$r.height-Ie.height-hr-ln;Ie.style.paddingLeft=yn+"em";var ti=jr.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ie,wrapperClasses:["svg-align"]},{type:"kern",size:-(Ie.height+Qn)},{type:"elem",elem:$r},{type:"kern",size:ln}]},xe);if(le.index){var wi=xe.havingStyle(H.SCRIPTSCRIPT),ea=Wi(le.index,wi,xe),ji=.6*(ti.height-ti.depth),Sa=jr.makeVList({positionType:"shift",positionData:-ji,children:[{type:"elem",elem:ea}]},xe),lo=jr.makeSpan(["root"],[Sa]);return jr.makeSpan(["mord","sqrt"],[lo,ti],xe)}else return jr.makeSpan(["mord","sqrt"],[ti],xe)},mathmlBuilder:function(le,xe){var Ie=le.body,We=le.index;return We?new kn.MathNode("mroot",[Tr(Ie,xe),Tr(We,xe)]):new kn.MathNode("msqrt",[Tr(Ie,xe)])}});var pi={display:H.DISPLAY,text:H.TEXT,script:H.SCRIPT,scriptscript:H.SCRIPTSCRIPT};Gn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(le,xe){var Ie=le.breakOnTokenText,We=le.funcName,Et=le.parser,Ut=Et.parseExpression(!0,Ie),hr=We.slice(1,We.length-5);return{type:"styling",mode:Et.mode,style:hr,body:Ut}},htmlBuilder:function(le,xe){var Ie=pi[le.style],We=xe.havingStyle(Ie).withFont("");return Fi(le.body,We,xe)},mathmlBuilder:function(le,xe){var Ie=pi[le.style],We=xe.havingStyle(Ie),Et=uo(le.body,We),Ut=new kn.MathNode("mstyle",Et),hr={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},gr=hr[le.style];return Ut.setAttribute("scriptlevel",gr[0]),Ut.setAttribute("displaystyle",gr[1]),Ut}});var Gi=function(le,xe){var Ie=le.base;if(Ie)if(Ie.type==="op"){var We=Ie.limits&&(xe.style.size===H.DISPLAY.size||Ie.alwaysHandleSupSub);return We?qa:null}else if(Ie.type==="operatorname"){var Et=Ie.alwaysHandleSupSub&&(xe.style.size===H.DISPLAY.size||Ie.limits);return Et?Lo:null}else{if(Ie.type==="accent")return b.isCharacterBox(Ie.base)?an:null;if(Ie.type==="horizBrace"){var Ut=!le.sub;return Ut===Ie.isOver?Ka:null}else return null}else return null};Ia({type:"supsub",htmlBuilder:function(le,xe){var Ie=Gi(le,xe);if(Ie)return Ie(le,xe);var We=le.base,Et=le.sup,Ut=le.sub,hr=Wi(We,xe),gr,Rr,$r=xe.fontMetrics(),ln=0,yn=0,Cn=We&&b.isCharacterBox(We);if(Et){var Qn=xe.havingStyle(xe.style.sup());gr=Wi(Et,Qn,xe),Cn||(ln=hr.height-Qn.fontMetrics().supDrop*Qn.sizeMultiplier/xe.sizeMultiplier)}if(Ut){var ti=xe.havingStyle(xe.style.sub());Rr=Wi(Ut,ti,xe),Cn||(yn=hr.depth+ti.fontMetrics().subDrop*ti.sizeMultiplier/xe.sizeMultiplier)}var wi;xe.style===H.DISPLAY?wi=$r.sup1:xe.style.cramped?wi=$r.sup3:wi=$r.sup2;var ea=xe.sizeMultiplier,ji=.5/$r.ptPerEm/ea+"em",Sa=null;if(Rr){var lo=le.base&&le.base.type==="op"&&le.base.name&&(le.base.name==="\\oiint"||le.base.name==="\\oiiint");(hr instanceof Fe||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 Fo=[{type:"elem",elem:Rr,shift:yn,marginRight:ji,marginLeft:Sa},{type:"elem",elem:gr,shift:-ln,marginRight:ji}];Wa=jr.makeVList({positionType:"individualShift",children:Fo},xe)}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},xe)}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}]},xe);else throw new Error("supsub must have either sup or sub.");var Ha=Pa(hr,"right")||"mord";return jr.makeSpan([Ha],[hr,jr.makeSpan(["msupsub"],[Wa])],xe)},mathmlBuilder:function(le,xe){var Ie=!1,We,Et,Ut=gn(le.base,"horizBrace");Ut&&(Et=!!le.sup,Et===Ut.isOver&&(Ie=!0,We=Ut.isOver)),le.base&&(le.base.type==="op"||le.base.type==="operatorname")&&(le.base.parentIsSupSub=!0);var hr=[Tr(le.base,xe)];le.sub&&hr.push(Tr(le.sub,xe)),le.sup&&hr.push(Tr(le.sup,xe));var gr;if(Ie)gr=We?"mover":"munder";else if(le.sub)if(le.sup){var ln=le.base;ln&&ln.type==="op"&&ln.limits&&xe.style===H.DISPLAY||ln&&ln.type==="operatorname"&&ln.alwaysHandleSupSub&&(xe.style===H.DISPLAY||ln.limits)?gr="munderover":gr="msubsup"}else{var $r=le.base;$r&&$r.type==="op"&&$r.limits&&(xe.style===H.DISPLAY||$r.alwaysHandleSupSub)||$r&&$r.type==="operatorname"&&$r.alwaysHandleSupSub&&($r.limits||xe.style===H.DISPLAY)?gr="munder":gr="msub"}else{var Rr=le.base;Rr&&Rr.type==="op"&&Rr.limits&&(xe.style===H.DISPLAY||Rr.alwaysHandleSupSub)||Rr&&Rr.type==="operatorname"&&Rr.alwaysHandleSupSub&&(Rr.limits||xe.style===H.DISPLAY)?gr="mover":gr="msup"}var yn=new kn.MathNode(gr,hr);return yn}}),Ia({type:"atom",htmlBuilder:function(le,xe){return jr.mathsym(le.text,le.mode,xe,["m"+le.family])},mathmlBuilder:function(le,xe){var Ie=new kn.MathNode("mo",[$i(le.text,le.mode)]);if(le.family==="bin"){var We=To(le,xe);We==="bold-italic"&&Ie.setAttribute("mathvariant",We)}else le.family==="punct"?Ie.setAttribute("separator","true"):(le.family==="open"||le.family==="close")&&Ie.setAttribute("stretchy","false");return Ie}});var oo={mi:"italic",mn:"normal",mtext:"normal"};Ia({type:"mathord",htmlBuilder:function(le,xe){return jr.makeOrd(le,xe,"mathord")},mathmlBuilder:function(le,xe){var Ie=new kn.MathNode("mi",[$i(le.text,le.mode,xe)]),We=To(le,xe)||"italic";return We!==oo[Ie.type]&&Ie.setAttribute("mathvariant",We),Ie}}),Ia({type:"textord",htmlBuilder:function(le,xe){return jr.makeOrd(le,xe,"textord")},mathmlBuilder:function(le,xe){var Ie=$i(le.text,le.mode,xe),We=To(le,xe)||"normal",Et;return le.mode==="text"?Et=new kn.MathNode("mtext",[Ie]):/[0-9]/.test(le.text)?Et=new kn.MathNode("mn",[Ie]):le.text==="\\prime"?Et=new kn.MathNode("mo",[Ie]):Et=new kn.MathNode("mi",[Ie]),We!==oo[Et.type]&&Et.setAttribute("mathvariant",We),Et}});var go={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},fo={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Ia({type:"spacing",htmlBuilder:function(le,xe){if(fo.hasOwnProperty(le.text)){var Ie=fo[le.text].className||"";if(le.mode==="text"){var We=jr.makeOrd(le,xe,"textord");return We.classes.push(Ie),We}else return jr.makeSpan(["mspace",Ie],[jr.mathsym(le.text,le.mode,xe)],xe)}else{if(go.hasOwnProperty(le.text))return jr.makeSpan(["mspace",go[le.text]],[],xe);throw new a('Unknown type of space "'+le.text+'"')}},mathmlBuilder:function(le,xe){var Ie;if(fo.hasOwnProperty(le.text))Ie=new kn.MathNode("mtext",[new kn.TextNode("\xA0")]);else{if(go.hasOwnProperty(le.text))return new kn.MathNode("mspace");throw new a('Unknown type of space "'+le.text+'"')}return Ie}});var Ta=function(){var le=new kn.MathNode("mtd",[]);return le.setAttribute("width","50%"),le};Ia({type:"tag",mathmlBuilder:function(le,xe){var Ie=new kn.MathNode("mtable",[new kn.MathNode("mtr",[Ta(),new kn.MathNode("mtd",[rr(le.body,xe)]),Ta(),new kn.MathNode("mtd",[rr(le.tag,xe)])])]);return Ie.setAttribute("width","100%"),Ie}});var ki={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ra={"\\textbf":"textbf","\\textmd":"textmd"},Vo={"\\textit":"textit","\\textup":"textup"},ro=function(le,xe){var Ie=le.font;return Ie?ki[Ie]?xe.withTextFontFamily(ki[Ie]):Ra[Ie]?xe.withTextFontWeight(Ra[Ie]):xe.withTextFontShape(Vo[Ie]):xe};Gn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(le,xe){var Ie=le.parser,We=le.funcName,Et=xe[0];return{type:"text",mode:Ie.mode,body:mn(Et),font:We}},htmlBuilder:function(le,xe){var Ie=ro(le,xe),We=di(le.body,Ie,!0);return jr.makeSpan(["mord","text"],jr.tryCombineChars(We),Ie)},mathmlBuilder:function(le,xe){var Ie=ro(le,xe);return rr(le.body,Ie)}}),Gn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(le,xe){var Ie=le.parser;return{type:"underline",mode:Ie.mode,body:xe[0]}},htmlBuilder:function(le,xe){var Ie=Wi(le.body,xe),We=jr.makeLineSpan("underline-line",xe),Et=xe.fontMetrics().defaultRuleThickness,Ut=jr.makeVList({positionType:"top",positionData:Ie.height,children:[{type:"kern",size:Et},{type:"elem",elem:We},{type:"kern",size:3*Et},{type:"elem",elem:Ie}]},xe);return jr.makeSpan(["mord","underline"],[Ut],xe)},mathmlBuilder:function(le,xe){var Ie=new kn.MathNode("mo",[new kn.TextNode("\u203E")]);Ie.setAttribute("stretchy","true");var We=new kn.MathNode("munder",[Tr(le.body,xe),Ie]);return We.setAttribute("accentunder","true"),We}}),Gn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(le,xe,Ie){throw new a("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(le,xe){for(var Ie=vo(le),We=[],Et=xe.havingStyle(xe.style.text()),Ut=0;Ut<Ie.length;Ut++){var hr=Ie[Ut];hr==="~"&&(hr="\\textasciitilde"),We.push(jr.makeSymbol(hr,"Typewriter-Regular",le.mode,Et,["mord","texttt"]))}return jr.makeSpan(["mord","text"].concat(Et.sizingClasses(xe)),jr.tryCombineChars(We),Et)},mathmlBuilder:function(le,xe){var Ie=new kn.TextNode(vo(le)),We=new kn.MathNode("mtext",[Ie]);return We.setAttribute("mathvariant","monospace"),We}});var vo=function(le){return le.body.replace(/ /g,le.star?"\u2423":"\xA0")},po=ta,Zi=po,xo=`[ \r
]`,is="\\\\[a-zA-Z@]+",Jo="\\\\[^\uD800-\uDFFF]",_s=""+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\\*"+("|"+_s)+("|"+Jo+")"),Za=function(){function Bt(xe,Ie){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=xe,this.settings=Ie,this.tokenRegex=new RegExp(bo,"g"),this.catcodes={"%":14}}var le=Bt.prototype;return le.setCatcode=function(Ie,We){this.catcodes[Ie]=We},le.lex=function(){var Ie=this.input,We=this.tokenRegex.lastIndex;if(We===Ie.length)return new h("EOF",new v(this,We,We));var Et=this.tokenRegex.exec(Ie);if(Et===null||Et.index!==We)throw new a("Unexpected character: '"+Ie[We]+"'",new h(Ie[We],new v(this,We,We+1)));var Ut=Et[2]||" ";if(this.catcodes[Ut]===14){var hr=Ie.indexOf(`
`,this.tokenRegex.lastIndex);return hr===-1?(this.tokenRegex.lastIndex=Ie.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 v(this,We,this.tokenRegex.lastIndex))},Bt}(),Ga=function(){function Bt(xe,Ie){xe===void 0&&(xe={}),Ie===void 0&&(Ie={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=Ie,this.builtins=xe,this.undefStack=[]}var le=Bt.prototype;return le.beginGroup=function(){this.undefStack.push({})},le.endGroup=function(){if(this.undefStack.length===0)throw new a("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var Ie=this.undefStack.pop();for(var We in Ie)Ie.hasOwnProperty(We)&&(Ie[We]===void 0?delete this.current[We]:this.current[We]=Ie[We])},le.has=function(Ie){return this.current.hasOwnProperty(Ie)||this.builtins.hasOwnProperty(Ie)},le.get=function(Ie){return this.current.hasOwnProperty(Ie)?this.current[Ie]:this.builtins[Ie]},le.set=function(Ie,We,Et){if(Et===void 0&&(Et=!1),Et){for(var Ut=0;Ut<this.undefStack.length;Ut++)delete this.undefStack[Ut][Ie];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][Ie]=We)}else{var hr=this.undefStack[this.undefStack.length-1];hr&&!hr.hasOwnProperty(Ie)&&(hr[Ie]=this.current[Ie])}this.current[Ie]=We},Bt}(),so={},ps=so;function Sr(Bt,le){so[Bt]=le}Sr("\\@firstoftwo",function(Bt){var le=Bt.consumeArgs(2);return{tokens:le[0],numArgs:0}}),Sr("\\@secondoftwo",function(Bt){var le=Bt.consumeArgs(2);return{tokens:le[1],numArgs:0}}),Sr("\\@ifnextchar",function(Bt){var le=Bt.consumeArgs(3),xe=Bt.future();return le[0].length===1&&le[0][0].text===xe.text?{tokens:le[1],numArgs:0}:{tokens:le[2],numArgs:0}}),Sr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Sr("\\TextOrMath",function(Bt){var le=Bt.consumeArgs(2);return Bt.mode==="text"?{tokens:le[0],numArgs:0}:{tokens:le[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(Bt){var le=Bt.popToken(),xe,Ie="";if(le.text==="'")xe=8,le=Bt.popToken();else if(le.text==='"')xe=16,le=Bt.popToken();else if(le.text==="`")if(le=Bt.popToken(),le.text[0]==="\\")Ie=le.text.charCodeAt(1);else{if(le.text==="EOF")throw new a("\\char` missing argument");Ie=le.text.charCodeAt(0)}else xe=10;if(xe){if(Ie=Xo[le.text],Ie==null||Ie>=xe)throw new a("Invalid base-"+xe+" digit "+le.text);for(var We;(We=Xo[Bt.future().text])!=null&&We<xe;)Ie*=xe,Ie+=We,Bt.popToken()}return"\\@char{"+Ie+"}"});var ss=function(le,xe){var Ie=le.consumeArgs(1)[0];if(Ie.length!==1)throw new a("\\gdef's first argument must be a macro name");var We=Ie[0].text,Et=0;for(Ie=le.consumeArgs(1)[0];Ie.length===1&&Ie[0].text==="#";){if(Ie=le.consumeArgs(1)[0],Ie.length!==1)throw new a('Invalid argument number length "'+Ie.length+'"');if(!/^[1-9]$/.test(Ie[0].text))throw new a('Invalid argument number "'+Ie[0].text+'"');if(Et++,parseInt(Ie[0].text)!==Et)throw new a('Argument number "'+Ie[0].text+'" out of order');Ie=le.consumeArgs(1)[0]}return le.macros.set(We,{tokens:Ie,numArgs:Et},xe),""};Sr("\\gdef",function(Bt){return ss(Bt,!0)}),Sr("\\def",function(Bt){return ss(Bt,!1)}),Sr("\\global",function(Bt){var le=Bt.consumeArgs(1)[0];if(le.length!==1)throw new a("Invalid command after \\global");var xe=le[0].text;if(xe==="\\def")return ss(Bt,!0);throw new a("Invalid command '"+xe+"' after \\global")});var Ls=function(le,xe,Ie){var We=le.consumeArgs(1)[0];if(We.length!==1)throw new a("\\newcommand's first argument must be a macro name");var Et=We[0].text,Ut=le.isDefined(Et);if(Ut&&!xe)throw new a("\\newcommand{"+Et+"} attempting to redefine "+(Et+"; use \\renewcommand"));if(!Ut&&!Ie)throw new a("\\renewcommand{"+Et+"} when command "+Et+" does not yet exist; use \\newcommand");var hr=0;if(We=le.consumeArgs(1)[0],We.length===1&&We[0].text==="["){for(var gr="",Rr=le.expandNextToken();Rr.text!=="]"&&Rr.text!=="EOF";)gr+=Rr.text,Rr=le.expandNextToken();if(!gr.match(/^\s*[0-9]+\s*$/))throw new a("Invalid number of arguments: "+gr);hr=parseInt(gr),We=le.consumeArgs(1)[0]}return le.macros.set(Et,{tokens:We,numArgs:hr}),""};Sr("\\newcommand",function(Bt){return Ls(Bt,!1,!0)}),Sr("\\renewcommand",function(Bt){return Ls(Bt,!0,!1)}),Sr("\\providecommand",function(Bt){return Ls(Bt,!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 Fa={",":"\\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(Bt){var le="\\dotso",xe=Bt.expandAfterFuture().text;return xe in Fa?le=Fa[xe]:xe.substr(0,4)==="\\not"?le="\\dotsb":xe in Ve.math&&(b.contains(["bin","rel"],Ve.math[xe].group)&&(le="\\dotsb")),le});var La={")":!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(Bt){var le=Bt.future().text;return le in La?"\\ldots\\,":"\\ldots"}),Sr("\\dotsc",function(Bt){var le=Bt.future().text;return le in La&&le!==","?"\\ldots\\,":"\\ldots"}),Sr("\\cdots",function(Bt){var le=Bt.future().text;return le in La?"\\@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(Bt){if(Bt.macros.get("\\df@tag"))throw new a("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 Io=mt["Main-Regular"]["T".charCodeAt(0)][1]-.7*mt["Main-Regular"]["A".charCodeAt(0)][1]+"em";Sr("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Io+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),Sr("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Io+"}{\\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 Oo={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},ts=function(){function Bt(xe,Ie,We){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=Ie,this.expansionCount=0,this.feed(xe),this.macros=new Ga(ps,Ie.macros),this.mode=We,this.stack=[]}var le=Bt.prototype;return le.feed=function(Ie){this.lexer=new Za(Ie,this.settings)},le.switchMode=function(Ie){this.mode=Ie},le.beginGroup=function(){this.macros.beginGroup()},le.endGroup=function(){this.macros.endGroup()},le.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},le.popToken=function(){return this.future(),this.stack.pop()},le.pushToken=function(Ie){this.stack.push(Ie)},le.pushTokens=function(Ie){var We;(We=this.stack).push.apply(We,Ie)},le.consumeSpaces=function(){for(;;){var Ie=this.future();if(Ie.text===" ")this.stack.pop();else break}},le.consumeArgs=function(Ie){for(var We=[],Et=0;Et<Ie;++Et){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 a("End of input in macro argument",Ut)}hr.pop(),hr.reverse(),We[Et]=hr}else{if(Ut.text==="EOF")throw new a("End of input expecting macro argument");We[Et]=[Ut]}}return We},le.expandOnce=function(){var Ie=this.popToken(),We=Ie.text,Et=this._getExpansion(We);if(Et==null)return this.pushToken(Ie),Ie;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new a("Too many expansions: infinite loop or need to increase maxExpand setting");var Ut=Et.tokens;if(Et.numArgs){var hr=this.consumeArgs(Et.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 a("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 a("Not a valid argument number",Rr)}}}return this.pushTokens(Ut),Ut},le.expandAfterFuture=function(){return this.expandOnce(),this.future()},le.expandNextToken=function(){for(;;){var Ie=this.expandOnce();if(Ie instanceof h)if(Ie.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},le.expandMacro=function(Ie){if(!this.macros.get(Ie))return;var We=[],Et=this.stack.length;for(this.pushToken(new h(Ie));this.stack.length>Et;){var Ut=this.expandOnce();Ut instanceof h&&We.push(this.stack.pop())}return We},le.expandMacroAsText=function(Ie){var We=this.expandMacro(Ie);return We&&We.map(function(Et){return Et.text}).join("")},le._getExpansion=function(Ie){var We=this.macros.get(Ie);if(We==null)return We;var Et=typeof We=="function"?We(this):We;if(typeof Et=="string"){var Ut=0;if(Et.indexOf("#")!==-1)for(var hr=Et.replace(/##/g,"");hr.indexOf("#"+(Ut+1))!==-1;)++Ut;for(var gr=new Za(Et,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 Et},le.isDefined=function(Ie){return this.macros.has(Ie)||Zi.hasOwnProperty(Ie)||Ve.math.hasOwnProperty(Ie)||Ve.text.hasOwnProperty(Ie)||Oo.hasOwnProperty(Ie)},Bt}(),Po={"\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 Bt(xe,Ie){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(xe,Ie,this.mode),this.settings=Ie,this.leftrightDepth=0}var le=Bt.prototype;return le.expect=function(Ie,We){if(We===void 0&&(We=!0),this.fetch().text!==Ie)throw new a("Expected '"+Ie+"', got '"+this.fetch().text+"'",this.fetch());We&&this.consume()},le.consume=function(){this.nextToken=null},le.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},le.switchMode=function(Ie){this.mode=Ie,this.gullet.switchMode(Ie)},le.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var Ie=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),Ie},le.parseExpression=function(Ie,We){for(var Et=[];;){this.mode==="math"&&this.consumeSpaces();var Ut=this.fetch();if(Bt.endOfExpression.indexOf(Ut.text)!==-1)break;if(We&&Ut.text===We)break;if(Ie&&Zi[Ut.text]&&Zi[Ut.text].infix)break;var hr=this.parseAtom(We);if(!hr)break;Et.push(hr)}return this.mode==="text"&&this.formLigatures(Et),this.handleInfixNodes(Et)},le.handleInfixNodes=function(Ie){for(var We=-1,Et,Ut=0;Ut<Ie.length;Ut++){var hr=gn(Ie[Ut],"infix");if(hr){if(We!==-1)throw new a("only one infix operator per group",hr.token);We=Ut,Et=hr.replaceWith}}if(We!==-1&&Et){var gr,Rr,$r=Ie.slice(0,We),ln=Ie.slice(We+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 Et==="\\\\abovefrac"?yn=this.callFunction(Et,[gr,Ie[We],Rr],[]):yn=this.callFunction(Et,[gr,Rr],[]),[yn]}else return Ie},le.handleSupSubscript=function(Ie){var We=this.fetch(),Et=We.text;this.consume();var Ut=this.parseGroup(Ie,!1,Bt.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Ut)throw new a("Expected group after '"+Et+"'",We);return Ut},le.formatUnsupportedCmd=function(Ie){for(var We=[],Et=0;Et<Ie.length;Et++)We.push({type:"textord",mode:"text",text:Ie[Et]});var Ut={type:"text",mode:this.mode,body:We},hr={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Ut]};return hr},le.parseAtom=function(Ie){var We=this.parseGroup("atom",!1,null,Ie);if(this.mode==="text")return We;for(var Et,Ut;;){this.consumeSpaces();var hr=this.fetch();if(hr.text==="\\limits"||hr.text==="\\nolimits"){var gr=gn(We,"op");if(gr){var Rr=hr.text==="\\limits";gr.limits=Rr,gr.alwaysHandleSupSub=!0}else if(gr=gn(We,"operatorname"),gr&&gr.alwaysHandleSupSub){var $r=hr.text==="\\limits";gr.limits=$r}else throw new a("Limit controls must follow a math operator",hr);this.consume()}else if(hr.text==="^"){if(Et)throw new a("Double superscript",hr);Et=this.handleSupSubscript("superscript")}else if(hr.text==="_"){if(Ut)throw new a("Double subscript",hr);Ut=this.handleSupSubscript("subscript")}else if(hr.text==="'"){if(Et)throw new a("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")),Et={type:"ordgroup",mode:this.mode,body:yn}}else break}return Et||Ut?{type:"supsub",mode:this.mode,base:We,sup:Et,sub:Ut}:We},le.parseFunction=function(Ie,We,Et){var Ut=this.fetch(),hr=Ut.text,gr=Zi[hr];if(!gr)return null;if(this.consume(),Et!=null&&gr.greediness<=Et)throw new a("Got function '"+hr+"' with no arguments"+(We?" as "+We:""),Ut);if(this.mode==="text"&&!gr.allowedInText)throw new a("Can't use function '"+hr+"' in text mode",Ut);if(this.mode==="math"&&gr.allowedInMath===!1)throw new a("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,Ie)},le.callFunction=function(Ie,We,Et,Ut,hr){var gr={funcName:Ie,parser:this,token:Ut,breakOnTokenText:hr},Rr=Zi[Ie];if(Rr&&Rr.handler)return Rr.handler(gr,We,Et);throw new a("No function handler for "+Ie)},le.parseArguments=function(Ie,We){var Et=We.numArgs+We.numOptionalArgs;if(Et===0)return{args:[],optArgs:[]};for(var Ut=We.greediness,hr=[],gr=[],Rr=0;Rr<Et;Rr++){var $r=We.argTypes&&We.argTypes[Rr],ln=Rr<We.numOptionalArgs,yn=Rr>0&&!ln||Rr===0&&!ln&&this.mode==="math",Cn=this.parseGroupOfType("argument to '"+Ie+"'",$r,ln,Ut,yn);if(!Cn){if(ln){gr.push(null);continue}throw new a("Expected group after '"+Ie+"'",this.fetch())}(ln?gr:hr).push(Cn)}return{args:hr,optArgs:gr}},le.parseGroupOfType=function(Ie,We,Et,Ut,hr){switch(We){case"color":return hr&&this.consumeSpaces(),this.parseColorGroup(Et);case"size":return hr&&this.consumeSpaces(),this.parseSizeGroup(Et);case"url":return this.parseUrlGroup(Et,hr);case"math":case"text":return this.parseGroup(Ie,Et,Ut,void 0,We,hr);case"hbox":{var gr=this.parseGroup(Ie,Et,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(),Et&&this.fetch().text==="{")return null;var $r=this.parseStringGroup("raw",Et,!0);if($r)return{type:"raw",mode:"text",string:$r.text};throw new a("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(Ie,Et,Ut,void 0,void 0,hr);default:throw new a("Unknown group type as "+Ie,this.fetch())}},le.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},le.parseStringGroup=function(Ie,We,Et){var Ut=We?"[":"{",hr=We?"]":"}",gr=this.fetch();if(gr.text!==Ut){if(We)return null;if(Et&&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||Et&&yn>0;){switch(Qn.text){case"EOF":throw new a("Unexpected end of input in "+Ie,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)},le.parseRegexGroup=function(Ie,We){var Et=this.mode;this.mode="text";for(var Ut=this.fetch(),hr=Ut,gr="",Rr;(Rr=this.fetch()).text!=="EOF"&&Ie.test(gr+Rr.text);)hr=Rr,gr+=hr.text,this.consume();if(gr==="")throw new a("Invalid "+We+": '"+Ut.text+"'",Ut);return this.mode=Et,Ut.range(hr,gr)},le.parseColorGroup=function(Ie){var We=this.parseStringGroup("color",Ie);if(!We)return null;var Et=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(We.text);if(!Et)throw new a("Invalid color: '"+We.text+"'",We);var Ut=Et[0];return/^[0-9a-f]{6}$/i.test(Ut)&&(Ut="#"+Ut),{type:"color-token",mode:this.mode,color:Ut}},le.parseSizeGroup=function(Ie){var We,Et=!1;if(!Ie&&this.fetch().text!=="{"?We=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):We=this.parseStringGroup("size",Ie),!We)return null;!Ie&&We.text.length===0&&(We.text="0pt",Et=!0);var Ut=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(We.text);if(!Ut)throw new a("Invalid size: '"+We.text+"'",We);var hr={number:+(Ut[1]+Ut[2]),unit:Ut[3]};if(!ut(hr))throw new a("Invalid unit: '"+hr.unit+"'",We);return{type:"size",mode:this.mode,value:hr,isBlank:Et}},le.parseUrlGroup=function(Ie,We){this.gullet.lexer.setCatcode("%",13);var Et=this.parseStringGroup("url",Ie,!0);if(this.gullet.lexer.setCatcode("%",14),!Et)return null;var Ut=Et.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Ut}},le.parseGroup=function(Ie,We,Et,Ut,hr,gr){var Rr=this.mode;hr&&this.switchMode(hr),gr&&this.consumeSpaces();var $r=this.fetch(),ln=$r.text,yn;if(We?ln==="[":ln==="{"||ln==="\\begingroup"){this.consume();var Cn=Bt.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:v.range($r,ti),body:Qn,semisimple:ln==="\\begingroup"||void 0}}else if(We)yn=null;else if(yn=this.parseFunction(Ut,Ie,Et)||this.parseSymbol(),yn==null&&ln[0]==="\\"&&!Oo.hasOwnProperty(ln)){if(this.settings.throwOnError)throw new a("Undefined control sequence: "+ln,$r);yn=this.formatUnsupportedCmd(ln),this.consume()}return hr&&this.switchMode(Rr),yn},le.formLigatures=function(Ie){for(var We=Ie.length-1,Et=0;Et<We;++Et){var Ut=Ie[Et],hr=Ut.text;hr==="-"&&Ie[Et+1].text==="-"&&(Et+1<We&&Ie[Et+2].text==="-"?(Ie.splice(Et,3,{type:"textord",mode:"text",loc:v.range(Ut,Ie[Et+2]),text:"---"}),We-=2):(Ie.splice(Et,2,{type:"textord",mode:"text",loc:v.range(Ut,Ie[Et+1]),text:"--"}),We-=1)),(hr==="'"||hr==="`")&&Ie[Et+1].text===hr&&(Ie.splice(Et,2,{type:"textord",mode:"text",loc:v.range(Ut,Ie[Et+1]),text:hr+hr}),We-=1)}},le.parseSymbol=function(){var Ie=this.fetch(),We=Ie.text;if(/^\\verb[^a-zA-Z]/.test(We)){this.consume();var Et=We.slice(5),Ut=Et.charAt(0)==="*";if(Ut&&(Et=Et.slice(1)),Et.length<2||Et.charAt(0)!==Et.slice(-1))throw new a(`\\verb assertion failed --
please report what input caused this bug`);return Et=Et.slice(1,-1),{type:"verb",mode:"text",body:Et,star:Ut}}rs.hasOwnProperty(We[0])&&!Ve[this.mode][We[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+We[0]+'" used in math mode',Ie),We=rs[We[0]]+We.substr(1));var hr=Go.exec(We);hr&&(We=We.substring(0,hr.index),We==="i"?We="\u0131":We==="j"&&(We="\u0237"));var gr;if(Ve[this.mode][We]){this.settings.strict&&this.mode==="math"&&$e.indexOf(We)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+We[0]+'" used in math mode',Ie);var Rr=Ve[this.mode][We].group,$r=v.range(Ie),ln;if(et.hasOwnProperty(Rr)){var yn=Rr;ln={type:"atom",mode:this.mode,family:yn,loc:$r,text:We}}else ln={type:Rr,mode:this.mode,loc:$r,text:We};gr=ln}else if(We.charCodeAt(0)>=128)this.settings.strict&&(G(We.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+We[0]+'" used in math mode',Ie):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+We[0]+'"'+(" ("+We.charCodeAt(0)+")"),Ie)),gr={type:"textord",mode:"text",loc:v.range(Ie),text:We};else return null;if(this.consume(),hr)for(var Cn=0;Cn<hr[0].length;Cn++){var Qn=hr[0][Cn];if(!Po[Qn])throw new a("Unknown accent ' "+Qn+"'",Ie);var ti=Po[Qn][this.mode];if(!ti)throw new a("Accent "+Qn+" unsupported in "+this.mode+" mode",Ie);gr={type:"accent",mode:this.mode,loc:v.range(Ie),label:ti,isStretchy:!1,isShifty:!0,base:gr}}return gr},Bt}();ms.endOfExpression=["}","\\endgroup","\\end","\\right","&"],ms.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},ms.SUPSUB_GREEDINESS=1;var ls=function(le,xe){if(!(typeof le=="string"||le instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var Ie=new ms(le,xe);delete Ie.gullet.macros.current["\\df@tag"];var We=Ie.parse();if(Ie.gullet.macros.get("\\df@tag")){if(!xe.displayMode)throw new a("\\tag works only in display equations");Ie.gullet.feed("\\df@tag"),We=[{type:"tag",mode:"text",body:We,tag:Ie.parse()}]}return We},Ns=ls,Ds=function(le,xe,Ie){xe.textContent="";var We=Mo(le,Ie).toNode();xe.appendChild(We)};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 a("KaTeX doesn't work in quirks mode.")}));var as=function(le,xe){var Ie=Mo(le,xe).toMarkup();return Ie},$s=function(le,xe){var Ie=new E(xe);return Ns(le,Ie)},cs=function(le,xe,Ie){if(Ie.throwOnError||!(le instanceof a))throw le;var We=jr.makeSpan(["katex-error"],[new Fe(xe)]);return We.setAttribute("title",le.toString()),We.setAttribute("style","color:"+Ie.errorColor),We},Mo=function(le,xe){var Ie=new E(xe);try{var We=Ns(le,Ie);return tt(We,le,Ie)}catch(Et){return cs(Et,le,Ie)}},Dn=function(le,xe){var Ie=new E(xe);try{var We=Ns(le,Ie);return jt(We,le,Ie)}catch(Et){return cs(Et,le,Ie)}},Vs={version:"0.11.1",render:Ds,renderToString:as,ParseError:a,__parse:$s,__renderToDomTree:Mo,__renderToHTMLTree:Dn,__setFontMetrics:Rt,__defineSymbol:oe,__defineMacro:Sr,__domTree:{Span:V,Anchor:$,SymbolNode:Fe,SvgNode:Oe,PathNode:se,LineNode:fe}},Is=f.default=Vs}]).default})},P2fV:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("Q9mQ"),m=e("+L6B"),v=e("sE09"),h=e.n(v)},P2ho:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.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};_.default=g},P47w:function(D,_,e){var g=e("hydK"),f=g.createElement,y=e("IMiH"),m=e("mFDi"),v=e("Fofx"),h=e("6GrX"),c=e("pzxd"),a=e("dqUG"),i=y.CMD,r=Array.prototype.join,o="none",d=Math.round,n=Math.sin,l=Math.cos,t=Math.PI,s=Math.PI*2,u=180/t,p=1e-4;function w(X){return d(X*1e4)/1e4}function b(X){return X<p&&X>-p}function E(X,z){var G=z?X.textFill:X.fill;return G!=null&&G!==o}function A(X,z){var G=z?X.textStroke:X.stroke;return G!=null&&G!==o}function S(X,z){z&&T(X,"transform","matrix("+r.call(z,",")+")")}function T(X,z,G){(!G||G.type!=="linear"&&G.type!=="radial")&&X.setAttribute(z,G)}function L(X,z,G){X.setAttributeNS("http://www.w3.org/1999/xlink",z,G)}function x(X,z,G,Z){if(E(z,G)){var ge=G?z.textFill:z.fill;ge=ge==="transparent"?o:ge,T(X,"fill",ge),T(X,"fill-opacity",z.fillOpacity!=null?z.fillOpacity*z.opacity:z.opacity)}else T(X,"fill",o);if(A(z,G)){var Q=G?z.textStroke:z.stroke;Q=Q==="transparent"?o:Q,T(X,"stroke",Q);var we=G?z.textStrokeWidth:z.lineWidth,Ee=!G&&z.strokeNoScale?Z.getLineScale():1;T(X,"stroke-width",we/Ee),T(X,"paint-order",G?"stroke":"fill"),T(X,"stroke-opacity",z.strokeOpacity!=null?z.strokeOpacity:z.opacity);var Ae=z.lineDash;Ae?(T(X,"stroke-dasharray",z.lineDash.join(",")),T(X,"stroke-dashoffset",d(z.lineDashOffset||0))):T(X,"stroke-dasharray",""),z.lineCap&&T(X,"stroke-linecap",z.lineCap),z.lineJoin&&T(X,"stroke-linejoin",z.lineJoin),z.miterLimit&&T(X,"stroke-miterlimit",z.miterLimit)}else T(X,"stroke",o)}function C(X){for(var z=[],G=X.data,Z=X.len(),ge=0;ge<Z;){var Q=G[ge++],we="",Ee=0;switch(Q){case i.M:we="M",Ee=2;break;case i.L:we="L",Ee=2;break;case i.Q:we="Q",Ee=4;break;case i.C:we="C",Ee=6;break;case i.A:var Ae=G[ge++],Pe=G[ge++],Ge=G[ge++],gt=G[ge++],_e=G[ge++],Ce=G[ge++],lt=G[ge++],ce=G[ge++],Y=Math.abs(Ce),V=b(Y-s)||(ce?Ce>=s:-Ce>=s),$=Ce>0?Ce%s:Ce%s+s,Te=!1;V?Te=!0:b(Y)?Te=!1:Te=$>=t===!!ce;var ye=w(Ae+Ge*l(_e)),Fe=w(Pe+gt*n(_e));V&&(ce?Ce=s-1e-4:Ce=-s+1e-4,Te=!0,ge===9&&z.push("M",ye,Fe));var Oe=w(Ae+Ge*l(_e+Ce)),se=w(Pe+gt*n(_e+Ce));z.push("A",w(Ge),w(gt),d(lt*u),+Te,+ce,Oe,se);break;case i.Z:we="Z";break;case i.R:var Oe=w(G[ge++]),se=w(G[ge++]),fe=w(G[ge++]),Le=w(G[ge++]);z.push("M",Oe,se,"L",Oe+fe,se,"L",Oe+fe,se+Le,"L",Oe,se+Le,"L",Oe,se);break}we&&z.push(we);for(var Je=0;Je<Ee;Je++)z.push(w(G[ge++]))}return z.join(" ")}var I={};I.brush=function(X){var z=X.style,G=X.__svgEl;G||(G=f("path"),X.__svgEl=G),X.path||X.createPathProxy();var Z=X.path;if(X.__dirtyPath){Z.beginPath(),Z.subPixelOptimize=!1,X.buildPath(Z,X.shape),X.__dirtyPath=!1;var ge=C(Z);ge.indexOf("NaN")<0&&T(G,"d",ge)}x(G,z,!1,X),S(G,X.transform),z.text!=null?R(X,X.getBoundingRect()):W(X)};var N={};N.brush=function(X){var z=X.style,G=z.image;if(G instanceof HTMLImageElement){var Z=G.src;G=Z}if(!G)return;var ge=z.x||0,Q=z.y||0,we=z.width,Ee=z.height,Ae=X.__svgEl;Ae||(Ae=f("image"),X.__svgEl=Ae),G!==X.__imageSrc&&(L(Ae,"href",G),X.__imageSrc=G),T(Ae,"width",we),T(Ae,"height",Ee),T(Ae,"x",ge),T(Ae,"y",Q),S(Ae,X.transform),z.text!=null?R(X,X.getBoundingRect()):W(X)};var F={},k=new m,B={},P=[],K={left:"start",right:"end",center:"middle",middle:"middle"},R=function(z,G){var Z=z.style,ge=z.transform,Q=z instanceof a||Z.transformText;z.__dirty&&c.normalizeTextStyle(Z,!0);var we=Z.text;if(we!=null&&(we+=""),!c.needDrawText(we,Z))return;we==null&&(we=""),!Q&&ge&&(k.copy(G),k.applyTransform(ge),G=k);var Ee=z.__textSvgEl;Ee||(Ee=f("text"),z.__textSvgEl=Ee);var Ae=Ee.style,Pe=Z.font||h.DEFAULT_FONT,Ge=Ee.__computedFont;Pe!==Ee.__styleFont&&(Ae.font=Ee.__styleFont=Pe,Ge=Ee.__computedFont=Ae.font);var gt=Z.textPadding,_e=Z.textLineHeight,Ce=z.__textCotentBlock;(!Ce||z.__dirtyText)&&(Ce=z.__textCotentBlock=h.parsePlainText(we,Ge,gt,_e,Z.truncate));var lt=Ce.outerHeight,ce=Ce.lineHeight;c.getBoxPosition(B,z,Z,G);var Y=B.baseX,V=B.baseY,$=B.textAlign||"left",Te=B.textVerticalAlign;U(Ee,Q,ge,Z,G,Y,V);var ye=h.adjustTextY(V,lt,Te),Fe=Y,Oe=ye;gt&&(Fe=j(Y,$,gt),Oe+=gt[0]),Oe+=ce/2,x(Ee,Z,!0,z);var se=Ce.canCacheByTextString,fe=z.__tspanList||(z.__tspanList=[]),Le=fe.length;if(se&&z.__canCacheByTextString&&z.__text===we){if(z.__dirtyText&&Le)for(var Je=0;Je<Le;++Je)H(fe[Je],$,Fe,Oe+Je*ce)}else{z.__text=we,z.__canCacheByTextString=se;for(var mt=Ce.lines,Ct=mt.length,Je=0;Je<Ct;Je++){var Ue=fe[Je],Rt=mt[Je];Ue?Ue.__zrText!==Rt&&(Ue.innerHTML="",Ue.appendChild(document.createTextNode(Rt))):(Ue=fe[Je]=f("tspan"),Ee.appendChild(Ue),Ue.appendChild(document.createTextNode(Rt))),H(Ue,$,Fe,Oe+Je*ce)}if(Le>Ct){for(;Je<Le;Je++)Ee.removeChild(fe[Je]);fe.length=Ct}}};function U(X,z,G,Z,ge,Q,we){v.identity(P),z&&G&&v.copy(P,G);var Ee=Z.textRotation;if(ge&&Ee){var Ae=Z.textOrigin;Ae==="center"?(Q=ge.width/2+ge.x,we=ge.height/2+ge.y):Ae&&(Q=Ae[0]+ge.x,we=Ae[1]+ge.y),P[4]-=Q,P[5]-=we,v.rotate(P,P,Ee),P[4]+=Q,P[5]+=we}S(X,P)}function j(X,z,G){return z==="right"?X-G[1]:z==="center"?X+G[3]/2-G[1]/2:X+G[3]}function H(X,z,G,Z){T(X,"dominant-baseline","middle"),T(X,"text-anchor",K[z]),T(X,"x",G),T(X,"y",Z)}function W(X){X&&X.__textSvgEl&&(X.__textSvgEl.parentNode&&X.__textSvgEl.parentNode.removeChild(X.__textSvgEl),X.__textSvgEl=null,X.__tspanList=[],X.__text=null)}F.drawRectText=R,F.brush=function(X){var z=X.style;z.text!=null?R(X,!1):W(X)},_.path=I,_.image=N,_.text=F},P4Qj:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.removeSensor=_.getSensor=void 0;var g=m(e("chpo")),f=e("FxDU"),y=e("24YM");function m(a){return a&&a.__esModule?a:{default:a}}var v={},h=function(i){var r=i.getAttribute(y.SizeSensorId);if(r&&v[r])return v[r];var o=(0,g.default)();i.setAttribute(y.SizeSensorId,o);var d=(0,f.createSensor)(i);return v[o]=d,d};_.getSensor=h;var c=function(i){var r=i.element.getAttribute(y.SizeSensorId);i.element.removeAttribute(y.SizeSensorId),i.destroy(),r&&v[r]&&delete v[r]};_.removeSensor=c},P5Jw:function(D,_,e){"use strict";var g=e("rHrb"),f=g.CopyToClipboard;f.CopyToClipboard=f,D.exports=f},PArb:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("q1tI"),h=e.n(v),c=e("TSYQ"),a=e.n(c),i=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 v.createElement(i.a,null,function(l){var t,s=l.getPrefixCls,u=l.direction,p=n.prefixCls,w=n.type,b=w===void 0?"horizontal":w,E=n.orientation,A=E===void 0?"center":E,S=n.className,T=n.children,L=n.dashed,x=n.plain,C=r(n,["prefixCls","type","orientation","className","children","dashed","plain"]),I=s("divider",p),N=A.length>0?"-".concat(A):A,F=!!T,k=a()(S,I,"".concat(I,"-").concat(b),(t={},m()(t,"".concat(I,"-with-text"),F),m()(t,"".concat(I,"-with-text").concat(N),F),m()(t,"".concat(I,"-dashed"),!!L),m()(t,"".concat(I,"-plain"),!!x),m()(t,"".concat(I,"-rtl"),u==="rtl"),t));return v.createElement("div",f()({className:k},C,{role:"separator"}),T&&v.createElement("span",{className:"".concat(I,"-inner-text")},T))})};_.a=o},PD8m:function(D,_){D.exports={name:"memoryStorage",read:g,write:f,each:y,remove:m,clearAll:v};var e={};function g(h){return e[h]}function f(h,c){e[h]=c}function y(h){for(var c in e)e.hasOwnProperty(c)&&h(e[c],c)}function m(h){delete e[h]}function v(h){e={}}},PEeC:function(D,_,e){"use strict";e.d(_,"a",function(){return v}),e.d(_,"b",function(){return h});var g=e("RIqP"),f=e.n(g),y=e("xEkU"),m=e.n(y);function v(c){var a,i=function(d){return function(){a=null,c.apply(void 0,f()(d))}},r=function(){if(a==null){for(var d=arguments.length,n=new Array(d),l=0;l<d;l++)n[l]=arguments[l];a=m()(i(n))}};return r.cancel=function(){return m.a.cancel(a)},r}function h(){return function(c,a,i){var r=i.value,o=!1;return{configurable:!0,get:function(){if(o||this===c.prototype||this.hasOwnProperty(a))return r;var n=v(r.bind(this));return o=!0,Object.defineProperty(this,a,{value:n,configurable:!0,writable:!0}),o=!1,n}}}}},PKem:function(D,_,e){"use strict";e.d(_,"a",function(){return E});var g=e("RIqP"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("pVnL"),h=e.n(v),c=e("lwsE"),a=e.n(c),i=e("W8MJ"),r=e.n(i),o=e("7W2i"),d=e.n(o),n=e("LQ03"),l=e.n(n),t=e("q1tI"),s=e.n(t),u=e("TSYQ"),p=e.n(u),w=e("H84U"),b=function(N,F){var k={};for(var B in N)Object.prototype.hasOwnProperty.call(N,B)&&F.indexOf(B)<0&&(k[B]=N[B]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,B=Object.getOwnPropertySymbols(N);P<B.length;P++)F.indexOf(B[P])<0&&Object.prototype.propertyIsEnumerable.call(N,B[P])&&(k[B[P]]=N[B[P]]);return k},E=t.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function A(N){var F=N.suffixCls,k=N.tagName,B=N.displayName;return function(P){var K;return K=function(R){d()(j,R);var U=l()(j);function j(){var H;return a()(this,j),H=U.apply(this,arguments),H.renderComponent=function(W){var X=W.getPrefixCls,z=H.props.prefixCls,G=X(F,z);return t.createElement(P,h()({prefixCls:G,tagName:k},H.props))},H}return r()(j,[{key:"render",value:function(){return t.createElement(w.a,null,this.renderComponent)}}]),j}(t.Component),K.displayName=B,K}}var S=function(F){var k=F.prefixCls,B=F.className,P=F.children,K=F.tagName,R=b(F,["prefixCls","className","children","tagName"]),U=p()(k,B);return t.createElement(K,h()({className:U},R),P)},T=function(N){d()(k,N);var F=l()(k);function k(){var B;return a()(this,k),B=F.apply(this,arguments),B.state={siders:[]},B.renderComponent=function(P){var K,R=P.direction,U=B.props,j=U.prefixCls,H=U.className,W=U.children,X=U.hasSider,z=U.tagName,G=b(U,["prefixCls","className","children","hasSider","tagName"]),Z=p()(j,(K={},m()(K,"".concat(j,"-has-sider"),typeof X=="boolean"?X:B.state.siders.length>0),m()(K,"".concat(j,"-rtl"),R==="rtl"),K),H);return t.createElement(E.Provider,{value:{siderHook:B.getSiderHook()}},t.createElement(z,h()({className:Z},G),W))},B}return r()(k,[{key:"getSiderHook",value:function(){var P=this;return{addSider:function(R){P.setState(function(U){return{siders:[].concat(f()(U.siders),[R])}})},removeSider:function(R){P.setState(function(U){return{siders:U.siders.filter(function(j){return j!==R})}})}}}},{key:"render",value:function(){return t.createElement(w.a,null,this.renderComponent)}}]),k}(t.Component),L=A({suffixCls:"layout",tagName:"section",displayName:"Layout"})(T),x=A({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(S),C=A({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(S),I=A({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(S);L.Header=x,L.Footer=C,L.Content=I,_.b=L},PNag:function(D,_,e){var g=e("bYtY"),f=e("SKnc"),y=e("YH21"),m=e("crZl"),v=e("IwbS"),h=e("OELB"),c=e("72pK"),a=e("y7Aq"),i=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,L,x,C){(!C||C.type!=="selectDataRange"||C.from!==this.uid)&&this._buildView()},_buildView:function(){this.group.removeAll();var T=this.visualMapModel,L=this.group;this._orient=T.get("orient"),this._useHandle=T.get("calculable"),this._resetInterval(),this._renderBar(L);var x=T.get("text");this._renderEndsText(L,x,0),this._renderEndsText(L,x,1),this._updateView(!0),this.renderBackground(L),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(L)},_renderEndsText:function(T,L,x){if(!L)return;var C=L[1-x];C=C!=null?C+"":"";var I=this.visualMapModel,N=I.get("textGap"),F=I.itemSize,k=this._shapes.barGroup,B=this._applyTransform([F[0]/2,x===0?-N:F[1]+N],k),P=this._applyTransform(x===0?"bottom":"top",k),K=this._orient,R=this.visualMapModel.textStyleModel;this.group.add(new v.Text({style:{x:B[0],y:B[1],textVerticalAlign:K==="horizontal"?"middle":P,textAlign:K==="horizontal"?P:"center",text:C,textFont:R.getFont(),textFill:R.getTextColor()}}))},_renderBar:function(T){var L=this.visualMapModel,x=this._shapes,C=L.itemSize,I=this._orient,N=this._useHandle,F=a.getItemAlign(L,this.api,C),k=x.barGroup=this._createBarGroup(F);k.add(x.outOfRange=u()),k.add(x.inRange=u(null,N?A(this._orient):null,g.bind(this._dragHandle,this,"all",!1),g.bind(this._dragHandle,this,"all",!0)));var B=L.textStyleModel.getTextRect("\u56FD"),P=n(B.width,B.height);N&&(x.handleThumbs=[],x.handleLabels=[],x.handleLabelPoints=[],this._createHandle(k,0,C,P,I,F),this._createHandle(k,1,C,P,I,F)),this._createIndicator(k,C,P,I),T.add(k)},_createHandle:function(T,L,x,C,I){var N=g.bind(this._dragHandle,this,L,!1),F=g.bind(this._dragHandle,this,L,!0),k=u(p(L,C),A(this._orient),N,F);k.position[0]=x[0],T.add(k);var B=this.visualMapModel.textStyleModel,P=new v.Text({draggable:!0,drift:N,onmousemove:function(U){y.stop(U.event)},ondragend:F,style:{x:0,y:0,text:"",textFont:B.getFont(),textFill:B.getTextColor()}});this.group.add(P);var K=[I==="horizontal"?C/2:C*1.5,I==="horizontal"?L===0?-(C*1.5):C*1.5:L===0?-C/2:C/2],R=this._shapes;R.handleThumbs[L]=k,R.handleLabelPoints[L]=K,R.handleLabels[L]=P},_createIndicator:function(T,L,x,C){var I=u([[0,0]],"move");I.position[0]=L[0],I.attr({invisible:!0,silent:!0}),T.add(I);var N=this.visualMapModel.textStyleModel,F=new v.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:N.getFont(),textFill:N.getTextColor()}});this.group.add(F);var k=[C==="horizontal"?x/2:t+3,0],B=this._shapes;B.indicator=I,B.indicatorLabel=F,B.indicatorLabelPoint=k},_dragHandle:function(T,L,x,C){if(!this._useHandle)return;if(this._dragging=!L,!L){var I=this._applyTransform([x,C],this._shapes.barGroup,!0);this._updateInterval(T,I[1]),this._updateView()}L===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),L?!this._hovering&&this._clearHoverLinkToSeries():E(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[T],!1)},_resetInterval:function(){var T=this.visualMapModel,L=this._dataInterval=T.getSelected(),x=T.getExtent(),C=[0,T.itemSize[1]];this._handleEnds=[r(L[0],x,C,!0),r(L[1],x,C,!0)]},_updateInterval:function(T,L){L=L||0;var x=this.visualMapModel,C=this._handleEnds,I=[0,x.itemSize[1]];c(L,C,I,T,0);var N=x.getExtent();this._dataInterval=[r(C[0],I,N,!0),r(C[1],I,N,!0)]},_updateView:function(T){var L=this.visualMapModel,x=L.getExtent(),C=this._shapes,I=[0,L.itemSize[1]],N=T?I:this._handleEnds,F=this._createBarVisual(this._dataInterval,x,N,"inRange"),k=this._createBarVisual(x,x,I,"outOfRange");C.inRange.setStyle({fill:F.barColor,opacity:F.opacity}).setShape("points",F.barPoints),C.outOfRange.setStyle({fill:k.barColor,opacity:k.opacity}).setShape("points",k.barPoints),this._updateHandle(N,F)},_createBarVisual:function(T,L,x,C){var I={forceState:C,convertOpacityToAlpha:!0},N=this._makeColorGradient(T,I),F=[this.getControllerVisual(T[0],"symbolSize",I),this.getControllerVisual(T[1],"symbolSize",I)],k=this._createBarPoints(x,F);return{barColor:new f(0,0,0,1,N),barPoints:k,handlesColor:[N[0].color,N[N.length-1].color]}},_makeColorGradient:function(T,L){var x=100,C=[],I=(T[1]-T[0])/x;C.push({color:this.getControllerVisual(T[0],"color",L),offset:0});for(var N=1;N<x;N++){var F=T[0]+I*N;if(F>T[1])break;C.push({color:this.getControllerVisual(F,"color",L),offset:N/x})}return C.push({color:this.getControllerVisual(T[1],"color",L),offset:1}),C},_createBarPoints:function(T,L){var x=this.visualMapModel.itemSize;return[[x[0]-L[0],T[0]],[x[0],T[0]],[x[0],T[1]],[x[0]-L[1],T[1]]]},_createBarGroup:function(T){var L=this._orient,x=this.visualMapModel.get("inverse");return new v.Group(L==="horizontal"&&!x?{scale:T==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:L==="horizontal"&&x?{scale:T==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:L==="vertical"&&!x?{scale:T==="left"?[1,-1]:[-1,-1]}:{scale:T==="left"?[1,1]:[-1,1]})},_updateHandle:function(T,L){if(!this._useHandle)return;var x=this._shapes,C=this.visualMapModel,I=x.handleThumbs,N=x.handleLabels;o([0,1],function(F){var k=I[F];k.setStyle("fill",L.handlesColor[F]),k.position[1]=T[F];var B=v.applyTransform(x.handleLabelPoints[F],v.getTransform(k,this.group));N[F].setStyle({x:B[0],y:B[1],text:C.formatValueText(this._dataInterval[F]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?F===0?"bottom":"top":"left",x.barGroup)})},this)},_showIndicator:function(T,L,x,C){var I=this.visualMapModel,N=I.getExtent(),F=I.itemSize,k=[0,F[1]],B=r(T,N,k,!0),P=this._shapes,K=P.indicator;if(!K)return;K.position[1]=B,K.attr("invisible",!1),K.setShape("points",w(!!x,C,B,F[1]));var R={convertOpacityToAlpha:!0},U=this.getControllerVisual(T,"color",R);K.setStyle("fill",U);var j=v.applyTransform(P.indicatorLabelPoint,v.getTransform(K,this.group)),H=P.indicatorLabel;H.attr("invisible",!1);var W=this._applyTransform("left",P.barGroup),X=this._orient;H.setStyle({text:(x||"")+I.formatValueText(L),textVerticalAlign:X==="horizontal"?W:"middle",textAlign:X==="horizontal"?"center":W,x:j[0],y:j[1]})},_enableHoverLinkToSeries:function(){var T=this;this._shapes.barGroup.on("mousemove",function(L){if(T._hovering=!0,!T._dragging){var x=T.visualMapModel.itemSize,C=T._applyTransform([L.offsetX,L.offsetY],T._shapes.barGroup,!0,!0);C[1]=d(n(0,C[1]),x[1]),T._doHoverLinkToSeries(C[1],0<=C[0]&&C[0]<=x[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,L){var x=this.visualMapModel,C=x.itemSize;if(!x.option.hoverLink)return;var I=[0,C[1]],N=x.getExtent();T=d(n(I[0],T),I[1]);var F=b(x,N,I),k=[T-F,T+F],B=r(T,I,N,!0),P=[r(k[0],I,N,!0),r(k[1],I,N,!0)];k[0]<I[0]&&(P[0]=-Infinity),k[1]>I[1]&&(P[1]=Infinity),L&&(P[0]===-Infinity?this._showIndicator(B,P[1],"< ",F):P[1]===Infinity?this._showIndicator(B,P[0],"> ",F):this._showIndicator(B,B,"\u2248 ",F));var K=this._hoverLinkDataIndices,R=[];(L||E(x))&&(R=this._hoverLinkDataIndices=x.findTargetDataIndices(P));var U=i.compressBatches(K,R);this._dispatchHighDown("downplay",a.makeHighDownBatch(U[0],x)),this._dispatchHighDown("highlight",a.makeHighDownBatch(U[1],x))},_hoverLinkFromSeriesMouseOver:function(T){var L=T.target,x=this.visualMapModel;if(!L||L.dataIndex==null)return;var C=this.ecModel.getSeriesByIndex(L.seriesIndex);if(!x.isTargetSeries(C))return;var I=C.getData(L.dataType),N=I.get(x.getDataDimension(I),L.dataIndex,!0);isNaN(N)||this._showIndicator(N,N)},_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",a.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,L,x,C){var I=v.getTransform(L,C?null:this.group);return v[g.isArray(T)?"applyTransform":"transformDirection"](T,I,x)},_dispatchHighDown:function(T,L){L&&L.length&&this.api.dispatchAction({type:T,batch:L})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function u(T,L,x,C){return new v.Polygon({shape:{points:T},draggable:!!x,cursor:L,drift:x,onmousemove:function(I){y.stop(I.event)},ondragend:C})}function p(T,L){return T===0?[[0,0],[L,0],[L,-L]]:[[0,0],[L,0],[L,L]]}function w(T,L,x,C){return T?[[0,-d(L,n(x,0))],[t,0],[0,d(L,n(C-x,0))]]:[[0,0],[5,-5],[5,5]]}function b(T,L,x){var C=l/2,I=T.get("hoverLinkDataSize");return I&&(C=r(I,L,x,!0)/2),C}function E(T){var L=T.get("hoverLinkOnHandle");return!!(L==null?T.get("realtime"):L)}function A(T){return T==="vertical"?"ns-resize":"ew-resize"}var S=s;D.exports=S},PQMj:function(D,_,e){},PSzr:function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},ProS:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("aX58"),m=e("bYtY"),v=e("Qe9p"),h=e("ItGF"),c=e("BPZU"),a=e("H6uX"),i=e("fmMI"),r=e("hD7B"),o=e("IDmD"),d=e("ypgQ"),n=e("+wW9"),l=e("0V0F"),t=e("bLfw"),s=e("T4UG"),u=e("sS/r"),p=e("6Ic6"),w=e("IwbS"),b=e("4NO4"),E=e("iLNv"),A=E.throttle,S=e("/WM3"),T=e("uAnK"),L=e("mYwL"),x=e("af/B"),C=e("xTNl"),I=e("8hn6");e("A1Ka");var N=e("7DRL"),F=m.assert,k=m.each,B=m.isFunction,P=m.isObject,K=t.parseClassType,R="4.8.0",U={zrender:"4.3.1"},j=1,H=1e3,W=800,X=900,z=5e3,G=1e3,Z=1100,ge=2e3,Q=3e3,we=3500,Ee=4e3,Ae=5e3,Pe={PROCESSOR:{FILTER:H,SERIES_FILTER:W,STATISTIC:z},VISUAL:{LAYOUT:G,PROGRESSIVE_LAYOUT:Z,GLOBAL:ge,CHART:Q,POST_CHART_LAYOUT:we,COMPONENT:Ee,BRUSH:Ae}},Ge="__flagInMainProcess",gt="__optionUpdated",_e=/^[a-zA-Z0-9_]+$/;function Ce(ot,xt){return function(ut,ft,Ot){if(!xt&&this._disposed){Ye(this.id);return}ut=ut&&ut.toLowerCase(),a.prototype[ot].call(this,ut,ft,Ot)}}function lt(){a.call(this)}lt.prototype.on=Ce("on",!0),lt.prototype.off=Ce("off",!0),lt.prototype.one=Ce("one",!0),m.mixin(lt,a);function ce(ot,xt,ut){ut=ut||{},typeof xt=="string"&&(xt=ct[xt]),this.id,this.group,this._dom=ot;var ft="canvas",Ot=this._zr=y.init(ot,{renderer:ut.renderer||ft,devicePixelRatio:ut.devicePixelRatio,width:ut.width,height:ut.height});this._throttledZrFlush=A(m.bind(Ot.flush,Ot),17);var xt=m.clone(xt);xt&&n(xt,!0),this._theme=xt,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new o;var Tt=this._api=Ve(this);function ht(Ht,Ft){return Ht.__prio-Ft.__prio}c(dt,ht),c(Qe,ht),this._scheduler=new x(this,Tt,Qe,dt),a.call(this,this._ecEventProcessor=new oe),this._messageCenter=new lt,this._initEvents(),this.resize=m.bind(this.resize,this),this._pendingActions=[],Ot.animation.on("frame",this._onframe,this),Le(Ot,this),m.setAsPrimitive(this)}var Y=ce.prototype;Y._onframe=function(){if(this._disposed)return;var ot=this._scheduler;if(this[gt]){var xt=this[gt].silent;this[Ge]=!0,Te(this),$.update.call(this),this[Ge]=!1,this[gt]=!1,se.call(this,xt),fe.call(this,xt)}else if(ot.unfinished){var ut=j,ft=this._model,Ot=this._api;ot.unfinished=!1;do{var Tt=+new Date;ot.performSeriesTasks(ft),ot.performDataProcessorTasks(ft),Fe(this,ft),ot.performVisualTasks(ft),Rt(this,this._model,Ot,"remain"),ut-=+new Date-Tt}while(ut>0&&ot.unfinished);ot.unfinished||this._zr.flush()}},Y.getDom=function(){return this._dom},Y.getZr=function(){return this._zr},Y.setOption=function(ot,xt,ut){if(this._disposed){Ye(this.id);return}var ft;if(P(xt)&&(ut=xt.lazyUpdate,ft=xt.silent,xt=xt.notMerge),this[Ge]=!0,!this._model||xt){var Ot=new d(this._api),Tt=this._theme,ht=this._model=new i;ht.scheduler=this._scheduler,ht.init(null,null,Tt,Ot)}this._model.setOption(ot,ve),ut?(this[gt]={silent:ft},this[Ge]=!1):(Te(this),$.update.call(this),this._zr.flush(),this[gt]=!1,this[Ge]=!1,se.call(this,ft),fe.call(this,ft))},Y.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},Y.getModel=function(){return this._model},Y.getOption=function(){return this._model&&this._model.getOption()},Y.getWidth=function(){return this._zr.getWidth()},Y.getHeight=function(){return this._zr.getHeight()},Y.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},Y.getRenderedCanvas=function(ot){if(!h.canvasSupported)return;ot=ot||{},ot.pixelRatio=ot.pixelRatio||1,ot.backgroundColor=ot.backgroundColor||this._model.get("backgroundColor");var xt=this._zr;return xt.painter.getRenderedCanvas(ot)},Y.getSvgDataURL=function(){if(!h.svgSupported)return;var ot=this._zr,xt=ot.storage.getDisplayList();return m.each(xt,function(ut){ut.stopAnimation(!0)}),ot.painter.toDataURL()},Y.getDataURL=function(ot){if(this._disposed){Ye(this.id);return}ot=ot||{};var xt=ot.excludeComponents,ut=this._model,ft=[],Ot=this;k(xt,function(ht){ut.eachComponent({mainType:ht},function(Ht){var Ft=Ot._componentsMap[Ht.__viewId];Ft.group.ignore||(ft.push(Ft),Ft.group.ignore=!0)})});var Tt=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(ot).toDataURL("image/"+(ot&&ot.type||"png"));return k(ft,function(ht){ht.group.ignore=!1}),Tt},Y.getConnectedDataURL=function(ot){if(this._disposed){Ye(this.id);return}if(!h.canvasSupported)return;var xt=ot.type==="svg",ut=this.group,ft=Math.min,Ot=Math.max,Tt=Infinity;if(or[ut]){var ht=Tt,Ht=Tt,Ft=-Tt,ir=-Tt,Xt=[],mr=ot&&ot.pixelRatio||1;m.each(_t,function(Lr,Qr){if(Lr.group===ut){var _r=xt?Lr.getZr().painter.getSvgDom().innerHTML:Lr.getRenderedCanvas(m.clone(ot)),ur=Lr.getDom().getBoundingClientRect();ht=ft(ur.left,ht),Ht=ft(ur.top,Ht),Ft=Ot(ur.right,Ft),ir=Ot(ur.bottom,ir),Xt.push({dom:_r,left:ur.left,top:ur.top})}}),ht*=mr,Ht*=mr,Ft*=mr,ir*=mr;var Ar=Ft-ht,Nr=ir-Ht,Fr=m.createCanvas(),tn=y.init(Fr,{renderer:xt?"svg":"canvas"});if(tn.resize({width:Ar,height:Nr}),xt){var qr="";return k(Xt,function(Lr){var Qr=Lr.left-ht,_r=Lr.top-Ht;qr+='<g transform="translate('+Qr+","+_r+')">'+Lr.dom+"</g>"}),tn.painter.getSvgRoot().innerHTML=qr,ot.connectedBackgroundColor&&tn.painter.setBackgroundColor(ot.connectedBackgroundColor),tn.refreshImmediately(),tn.painter.toDataURL()}else return ot.connectedBackgroundColor&&tn.add(new w.Rect({shape:{x:0,y:0,width:Ar,height:Nr},style:{fill:ot.connectedBackgroundColor}})),k(Xt,function(Lr){var Qr=new w.Image({style:{x:Lr.left*mr-ht,y:Lr.top*mr-Ht,image:Lr.dom}});tn.add(Qr)}),tn.refreshImmediately(),Fr.toDataURL("image/"+(ot&&ot.type||"png"))}else return this.getDataURL(ot)},Y.convertToPixel=m.curry(V,"convertToPixel"),Y.convertFromPixel=m.curry(V,"convertFromPixel");function V(ot,xt,ut){if(this._disposed){Ye(this.id);return}var ft=this._model,Ot=this._coordSysMgr.getCoordinateSystems(),Tt;xt=b.parseFinder(ft,xt);for(var ht=0;ht<Ot.length;ht++){var Ht=Ot[ht];if(Ht[ot]&&(Tt=Ht[ot](ft,xt,ut))!=null)return Tt}}Y.containPixel=function(ot,xt){if(this._disposed){Ye(this.id);return}var ut=this._model,ft;return ot=b.parseFinder(ut,ot),m.each(ot,function(Ot,Tt){Tt.indexOf("Models")>=0&&m.each(Ot,function(ht){var Ht=ht.coordinateSystem;if(Ht&&Ht.containPoint)ft|=!!Ht.containPoint(xt);else if(Tt==="seriesModels"){var Ft=this._chartsMap[ht.__viewId];Ft&&Ft.containPoint&&(ft|=Ft.containPoint(xt,ht))}},this)},this),!!ft},Y.getVisual=function(ot,xt){var ut=this._model;ot=b.parseFinder(ut,ot,{defaultMainType:"series"});var ft=ot.seriesModel,Ot=ft.getData(),Tt=ot.hasOwnProperty("dataIndexInside")?ot.dataIndexInside:ot.hasOwnProperty("dataIndex")?Ot.indexOfRawIndex(ot.dataIndex):null;return Tt!=null?Ot.getItemVisual(Tt,xt):Ot.getVisual(xt)},Y.getViewOfComponentModel=function(ot){return this._componentsMap[ot.__viewId]},Y.getViewOfSeriesModel=function(ot){return this._chartsMap[ot.__viewId]};var $={prepareAndUpdate:function(ot){Te(this),$.update.call(this,ot)},update:function(ot){var xt=this._model,ut=this._api,ft=this._zr,Ot=this._coordSysMgr,Tt=this._scheduler;if(!xt)return;Tt.restoreData(xt,ot),Tt.performSeriesTasks(xt),Ot.create(xt,ut),Tt.performDataProcessorTasks(xt,ot),Fe(this,xt),Ot.update(xt,ut),mt(xt),Tt.performVisualTasks(xt,ot),Ct(this,xt,ut,ot);var ht=xt.get("backgroundColor")||"transparent";if(h.canvasSupported)ft.setBackgroundColor(ht);else{var Ht=v.parse(ht);ht=v.stringify(Ht,"rgb"),Ht[3]===0&&(ht="transparent")}Ke(xt,ut)},updateTransform:function(ot){var xt=this._model,ut=this,ft=this._api;if(!xt)return;var Ot=[];xt.eachComponent(function(ht,Ht){var Ft=ut.getViewOfComponentModel(Ht);if(Ft&&Ft.__alive)if(Ft.updateTransform){var ir=Ft.updateTransform(Ht,xt,ft,ot);ir&&ir.update&&Ot.push(Ft)}else Ot.push(Ft)});var Tt=m.createHashMap();xt.eachSeries(function(ht){var Ht=ut._chartsMap[ht.__viewId];if(Ht.updateTransform){var Ft=Ht.updateTransform(ht,xt,ft,ot);Ft&&Ft.update&&Tt.set(ht.uid,1)}else Tt.set(ht.uid,1)}),mt(xt),this._scheduler.performVisualTasks(xt,ot,{setDirty:!0,dirtyMap:Tt}),Rt(ut,xt,ft,ot,Tt),Ke(xt,this._api)},updateView:function(ot){var xt=this._model;if(!xt)return;p.markUpdateMethod(ot,"updateView"),mt(xt),this._scheduler.performVisualTasks(xt,ot,{setDirty:!0}),Ct(this,this._model,this._api,ot),Ke(xt,this._api)},updateVisual:function(ot){$.update.call(this,ot)},updateLayout:function(ot){$.update.call(this,ot)}};function Te(ot){var xt=ot._model,ut=ot._scheduler;ut.restorePipelines(xt),ut.prepareStageTasks(),Je(ot,"component",xt,ut),Je(ot,"chart",xt,ut),ut.plan()}function ye(ot,xt,ut,ft,Ot){var Tt=ot._model;if(!ft){k(ot._componentsViews.concat(ot._chartsViews),ir);return}var ht={};ht[ft+"Id"]=ut[ft+"Id"],ht[ft+"Index"]=ut[ft+"Index"],ht[ft+"Name"]=ut[ft+"Name"];var Ht={mainType:ft,query:ht};Ot&&(Ht.subType=Ot);var Ft=ut.excludeSeriesId;Ft!=null&&(Ft=m.createHashMap(b.normalizeToArray(Ft))),Tt&&Tt.eachComponent(Ht,function(Xt){(!Ft||Ft.get(Xt.id)==null)&&ir(ot[ft==="series"?"_chartsMap":"_componentsMap"][Xt.__viewId])},ot);function ir(Xt){Xt&&Xt.__alive&&Xt[xt]&&Xt[xt](Xt.__model,Tt,ot._api,ut)}}Y.resize=function(ot){if(this._disposed){Ye(this.id);return}this._zr.resize(ot);var xt=this._model;if(this._loadingFX&&this._loadingFX.resize(),!xt)return;var ut=xt.resetOption("media"),ft=ot&&ot.silent;this[Ge]=!0,ut&&Te(this),$.update.call(this),this[Ge]=!1,se.call(this,ft),fe.call(this,ft)};function Fe(ot,xt){var ut=ot._chartsMap,ft=ot._scheduler;xt.eachSeries(function(Ot){ft.updateStreamModes(Ot,ut[Ot.__viewId])})}Y.showLoading=function(ot,xt){if(this._disposed){Ye(this.id);return}if(P(ot)&&(xt=ot,ot=""),ot=ot||"default",this.hideLoading(),!yt[ot])return;var ut=yt[ot](this._api,xt),ft=this._zr;this._loadingFX=ut,ft.add(ut)},Y.hideLoading=function(){if(this._disposed){Ye(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},Y.makeActionFromEvent=function(ot){var xt=m.extend({},ot);return xt.type=it[ot.type],xt},Y.dispatchAction=function(ot,xt){if(this._disposed){Ye(this.id);return}if(P(xt)||(xt={silent:!!xt}),!re[ot.type])return;if(!this._model)return;if(this[Ge]){this._pendingActions.push(ot);return}Oe.call(this,ot,xt.silent),xt.flush?this._zr.flush(!0):xt.flush!==!1&&h.browser.weChat&&this._throttledZrFlush(),se.call(this,xt.silent),fe.call(this,xt.silent)};function Oe(ot,xt){var ut=ot.type,ft=ot.escapeConnect,Ot=re[ut],Tt=Ot.actionInfo,ht=(Tt.update||"update").split(":"),Ht=ht.pop();ht=ht[0]!=null&&K(ht[0]),this[Ge]=!0;var Ft=[ot],ir=!1;ot.batch&&(ir=!0,Ft=m.map(ot.batch,function(Nr){return Nr=m.defaults(m.extend({},Nr),ot),Nr.batch=null,Nr}));var Xt=[],mr,Ar=ut==="highlight"||ut==="downplay";k(Ft,function(Nr){mr=Ot.action(Nr,this._model,this._api),mr=mr||m.extend({},Nr),mr.type=Tt.event||mr.type,Xt.push(mr),Ar?ye(this,Ht,Nr,"series"):ht&&ye(this,Ht,Nr,ht.main,ht.sub)},this),Ht!=="none"&&!Ar&&!ht&&(this[gt]?(Te(this),$.update.call(this,ot),this[gt]=!1):$[Ht].call(this,ot)),ir?mr={type:Tt.event||ut,escapeConnect:ft,batch:Xt}:mr=Xt[0],this[Ge]=!1,!xt&&this._messageCenter.trigger(mr.type,mr)}function se(ot){for(var xt=this._pendingActions;xt.length;){var ut=xt.shift();Oe.call(this,ut,ot)}}function fe(ot){!ot&&this.trigger("updated")}function Le(ot,xt){ot.on("rendered",function(){xt.trigger("rendered"),ot.animation.isFinished()&&!xt[gt]&&!xt._scheduler.unfinished&&!xt._pendingActions.length&&xt.trigger("finished")})}Y.appendData=function(ot){if(this._disposed){Ye(this.id);return}var xt=ot.seriesIndex,ut=this.getModel(),ft=ut.getSeriesByIndex(xt);ft.appendData(ot),this._scheduler.unfinished=!0},Y.on=Ce("on",!1),Y.off=Ce("off",!1),Y.one=Ce("one",!1);function Je(ot,xt,ut,ft){for(var Ot=xt==="component",Tt=Ot?ot._componentsViews:ot._chartsViews,ht=Ot?ot._componentsMap:ot._chartsMap,Ht=ot._zr,Ft=ot._api,ir=0;ir<Tt.length;ir++)Tt[ir].__alive=!1;Ot?ut.eachComponent(function(Ar,Nr){Ar!=="series"&&Xt(Nr)}):ut.eachSeries(Xt);function Xt(Ar){var Nr="_ec_"+Ar.id+"_"+Ar.type,Fr=ht[Nr];if(!Fr){var tn=K(Ar.type),qr=Ot?u.getClass(tn.main,tn.sub):p.getClass(tn.sub);Fr=new qr,Fr.init(ut,Ft),ht[Nr]=Fr,Tt.push(Fr),Ht.add(Fr.group)}Ar.__viewId=Fr.__id=Nr,Fr.__alive=!0,Fr.__model=Ar,Fr.group.__ecComponentInfo={mainType:Ar.mainType,index:Ar.componentIndex},!Ot&&ft.prepareView(Fr,Ar,ut,Ft)}for(var ir=0;ir<Tt.length;){var mr=Tt[ir];mr.__alive?ir++:(!Ot&&mr.renderTask.dispose(),Ht.remove(mr.group),mr.dispose(ut,Ft),Tt.splice(ir,1),delete ht[mr.__id],mr.__id=mr.group.__ecComponentInfo=null)}}function mt(ot){ot.clearColorPalette(),ot.eachSeries(function(xt){xt.clearColorPalette()})}function Ct(ot,xt,ut,ft){Ue(ot,xt,ut,ft),k(ot._chartsViews,function(Ot){Ot.__alive=!1}),Rt(ot,xt,ut,ft),k(ot._chartsViews,function(Ot){Ot.__alive||Ot.remove(xt,ut)})}function Ue(ot,xt,ut,ft,Ot){k(Ot||ot._componentsViews,function(Tt){var ht=Tt.__model;Tt.render(ht,xt,ut,ft),st(ht,Tt)})}function Rt(ot,xt,ut,ft,Ot){var Tt=ot._scheduler,ht;xt.eachSeries(function(Ht){var Ft=ot._chartsMap[Ht.__viewId];Ft.__alive=!0;var ir=Ft.renderTask;Tt.updatePayload(ir,ft),Ot&&Ot.get(Ht.uid)&&ir.dirty(),ht|=ir.perform(Tt.getPerformArgs(ir)),Ft.group.silent=!!Ht.get("silent"),st(Ht,Ft),rt(Ht,Ft)}),Tt.unfinished|=ht,et(ot,xt),T(ot._zr.dom,xt)}function Ke(ot,xt){k(Zt,function(ut){ut(ot,xt)})}var wt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];Y._initEvents=function(){k(wt,function(ot){var xt=function(ut){var ft=this.getModel(),Ot=ut.target,Tt,ht=ot==="globalout";if(ht)Tt={};else if(Ot&&Ot.dataIndex!=null){var Ht=Ot.dataModel||ft.getSeriesByIndex(Ot.seriesIndex);Tt=Ht&&Ht.getDataParams(Ot.dataIndex,Ot.dataType,Ot)||{}}else Ot&&Ot.eventData&&(Tt=m.extend({},Ot.eventData));if(Tt){var Ft=Tt.componentType,ir=Tt.componentIndex;(Ft==="markLine"||Ft==="markPoint"||Ft==="markArea")&&(Ft="series",ir=Tt.seriesIndex);var Xt=Ft&&ir!=null&&ft.getComponent(Ft,ir),mr=Xt&&this[Xt.mainType==="series"?"_chartsMap":"_componentsMap"][Xt.__viewId];Tt.event=ut,Tt.type=ot,this._ecEventProcessor.eventInfo={targetEl:Ot,packedEvent:Tt,model:Xt,view:mr},this.trigger(ot,Tt)}};xt.zrEventfulCallAtLast=!0,this._zr.on(ot,xt,this)},this),k(it,function(ot,xt){this._messageCenter.on(xt,function(ut){this.trigger(xt,ut)},this)},this)},Y.isDisposed=function(){return this._disposed},Y.clear=function(){if(this._disposed){Ye(this.id);return}this.setOption({series:[]},!0)},Y.dispose=function(){if(this._disposed){Ye(this.id);return}this._disposed=!0,b.setAttribute(this.getDom(),me,"");var ot=this._api,xt=this._model;k(this._componentsViews,function(ut){ut.dispose(xt,ot)}),k(this._chartsViews,function(ut){ut.dispose(xt,ot)}),this._zr.dispose(),delete _t[this.id]},m.mixin(ce,a);function Ye(ot){}function et(ot,xt){var ut=ot._zr,ft=ut.storage,Ot=0;ft.traverse(function(Tt){Ot++}),Ot>xt.get("hoverLayerThreshold")&&!h.node&&xt.eachSeries(function(Tt){if(Tt.preventUsingHoverLayer)return;var ht=ot._chartsMap[Tt.__viewId];ht.__alive&&ht.group.traverse(function(Ht){Ht.useHoverLayer=!0})})}function rt(ot,xt){var ut=ot.get("blendMode")||null;xt.group.traverse(function(ft){ft.isGroup||ft.style.blend!==ut&&ft.setStyle("blend",ut),ft.eachPendingDisplayable&&ft.eachPendingDisplayable(function(Ot){Ot.setStyle("blend",ut)})})}function st(ot,xt){var ut=ot.get("z"),ft=ot.get("zlevel");xt.group.traverse(function(Ot){Ot.type!=="group"&&(ut!=null&&(Ot.z=ut),ft!=null&&(Ot.zlevel=ft))})}function Ve(ot){var xt=ot._coordSysMgr;return m.extend(new r(ot),{getCoordinateSystems:m.bind(xt.getCoordinateSystems,xt),getComponentByElement:function(ut){for(;ut;){var ft=ut.__ecComponentInfo;if(ft!=null)return ot._model.getComponent(ft.mainType,ft.index);ut=ut.parent}}})}function oe(){this.eventInfo}oe.prototype={constructor:oe,normalizeQuery:function(ot){var xt={},ut={},ft={};if(m.isString(ot)){var Ot=K(ot);xt.mainType=Ot.main||null,xt.subType=Ot.sub||null}else{var Tt=["Index","Name","Id"],ht={name:1,dataIndex:1,dataType:1};m.each(ot,function(Ht,Ft){for(var ir=!1,Xt=0;Xt<Tt.length;Xt++){var mr=Tt[Xt],Ar=Ft.lastIndexOf(mr);if(Ar>0&&Ar===Ft.length-mr.length){var Nr=Ft.slice(0,Ar);Nr!=="data"&&(xt.mainType=Nr,xt[mr.toLowerCase()]=Ht,ir=!0)}}ht.hasOwnProperty(Ft)&&(ut[Ft]=Ht,ir=!0),ir||(ft[Ft]=Ht)})}return{cptQuery:xt,dataQuery:ut,otherQuery:ft}},filter:function(ot,xt,ut){var ft=this.eventInfo;if(!ft)return!0;var Ot=ft.targetEl,Tt=ft.packedEvent,ht=ft.model,Ht=ft.view;if(!ht||!Ht)return!0;var Ft=xt.cptQuery,ir=xt.dataQuery;return Xt(Ft,ht,"mainType")&&Xt(Ft,ht,"subType")&&Xt(Ft,ht,"index","componentIndex")&&Xt(Ft,ht,"name")&&Xt(Ft,ht,"id")&&Xt(ir,Tt,"name")&&Xt(ir,Tt,"dataIndex")&&Xt(ir,Tt,"dataType")&&(!Ht.filterForExposedEvent||Ht.filterForExposedEvent(ot,xt.otherQuery,Ot,Tt));function Xt(mr,Ar,Nr,Fr){return mr[Nr]==null||Ar[Fr||Nr]===mr[Nr]}},afterTrigger:function(){this.eventInfo=null}};var re={},it={},Qe=[],ve=[],Zt=[],dt=[],ct={},yt={},_t={},or={},Pt=new Date-0,be=new Date-0,me="_echarts_instance_";function pe(ot){var xt=0,ut=1,ft=2,Ot="__connectUpdateStatus";function Tt(ht,Ht){for(var Ft=0;Ft<ht.length;Ft++){var ir=ht[Ft];ir[Ot]=Ht}}k(it,function(ht,Ht){ot._messageCenter.on(Ht,function(Ft){if(or[ot.group]&&ot[Ot]!==xt){if(Ft&&Ft.escapeConnect)return;var ir=ot.makeActionFromEvent(Ft),Xt=[];k(_t,function(mr){mr!==ot&&mr.group===ot.group&&Xt.push(mr)}),Tt(Xt,xt),k(Xt,function(mr){mr[Ot]!==ut&&mr.dispatchAction(ir)}),Tt(Xt,ft)}})})}function ue(ot,xt,ut){var ft=Be(ot);if(ft)return ft;var Ot=new ce(ot,xt,ut);return Ot.id="ec_"+Pt++,_t[Ot.id]=Ot,b.setAttribute(ot,me,Ot.id),pe(Ot),Ot}function De(ot){if(m.isArray(ot)){var xt=ot;ot=null,k(xt,function(ut){ut.group!=null&&(ot=ut.group)}),ot=ot||"g_"+be++,k(xt,function(ut){ut.group=ot})}return or[ot]=!0,ot}function He(ot){or[ot]=!1}var ze=He;function Xe(ot){typeof ot=="string"?ot=_t[ot]:ot instanceof ce||(ot=Be(ot)),ot instanceof ce&&!ot.isDisposed()&&ot.dispose()}function Be(ot){return _t[b.getAttribute(ot,me)]}function nt(ot){return _t[ot]}function At(ot,xt){ct[ot]=xt}function It(ot){ve.push(ot)}function ae(ot,xt){$e(Qe,ot,xt,H)}function he(ot){Zt.push(ot)}function q(ot,xt,ut){typeof xt=="function"&&(ut=xt,xt="");var ft=P(ot)?ot.type:[ot,ot={event:xt}][0];ot.event=(ot.event||ft).toLowerCase(),xt=ot.event,F(_e.test(ft)&&_e.test(xt)),re[ft]||(re[ft]={action:ut,actionInfo:ot}),it[xt]=ft}function ne(ot,xt){o.register(ot,xt)}function Se(ot){var xt=o.get(ot);if(xt)return xt.getDimensionsInfo?xt.getDimensionsInfo():xt.dimensions.slice()}function Ne(ot,xt){$e(dt,ot,xt,G,"layout")}function Me(ot,xt){$e(dt,ot,xt,Q,"visual")}function $e(ot,xt,ut,ft,Ot){(B(xt)||P(xt))&&(ut=xt,xt=ft);var Tt=x.wrapStageHandler(ut,Ot);return Tt.__prio=xt,Tt.__raw=ut,ot.push(Tt),Tt}function vt(ot,xt){yt[ot]=xt}function Wt(ot){return t.extend(ot)}function $t(ot){return u.extend(ot)}function Dt(ot){return s.extend(ot)}function Kt(ot){return p.extend(ot)}function Gt(ot){m.$override("createCanvas",ot)}function Qt(ot,xt,ut){N.registerMap(ot,xt,ut)}function Mt(ot){var xt=N.retrieveMap(ot);return xt&&xt[0]&&{geoJson:xt[0].geoJSON,specialAreas:xt[0].specialAreas}}Me(ge,S),It(n),ae(X,l),vt("default",L),q({type:"highlight",event:"highlight",update:"highlight"},m.noop),q({type:"downplay",event:"downplay",update:"downplay"},m.noop),At("light",C),At("dark",I);var dr={};_.version=R,_.dependencies=U,_.PRIORITY=Pe,_.init=ue,_.connect=De,_.disConnect=He,_.disconnect=ze,_.dispose=Xe,_.getInstanceByDom=Be,_.getInstanceById=nt,_.registerTheme=At,_.registerPreprocessor=It,_.registerProcessor=ae,_.registerPostUpdate=he,_.registerAction=q,_.registerCoordinateSystem=ne,_.getCoordinateSystemDimensions=Se,_.registerLayout=Ne,_.registerVisual=Me,_.registerLoading=vt,_.extendComponentModel=Wt,_.extendComponentView=$t,_.extendSeriesModel=Dt,_.extendChartView=Kt,_.setCanvasCreator=Gt,_.registerMap=Qt,_.getMap=Mt,_.dataTool=dr;var er=e("txkQ");(function(){for(var ot in er)er.hasOwnProperty(ot)&&(_[ot]=er[ot])})()},Q7if:function(D,_,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"}}}});D.exports=f},Q9mQ:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("UADf"),m=e.n(y)},"QB+1":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("Ywus"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},QBsz:function(D,_){var e=typeof Float32Array=="undefined"?Array:Float32Array;function g(x,C){var I=new e(2);return x==null&&(x=0),C==null&&(C=0),I[0]=x,I[1]=C,I}function f(x,C){return x[0]=C[0],x[1]=C[1],x}function y(x){var C=new e(2);return C[0]=x[0],C[1]=x[1],C}function m(x,C,I){return x[0]=C,x[1]=I,x}function v(x,C,I){return x[0]=C[0]+I[0],x[1]=C[1]+I[1],x}function h(x,C,I,N){return x[0]=C[0]+I[0]*N,x[1]=C[1]+I[1]*N,x}function c(x,C,I){return x[0]=C[0]-I[0],x[1]=C[1]-I[1],x}function a(x){return Math.sqrt(r(x))}var i=a;function r(x){return x[0]*x[0]+x[1]*x[1]}var o=r;function d(x,C,I){return x[0]=C[0]*I[0],x[1]=C[1]*I[1],x}function n(x,C,I){return x[0]=C[0]/I[0],x[1]=C[1]/I[1],x}function l(x,C){return x[0]*C[0]+x[1]*C[1]}function t(x,C,I){return x[0]=C[0]*I,x[1]=C[1]*I,x}function s(x,C){var I=a(C);return I===0?(x[0]=0,x[1]=0):(x[0]=C[0]/I,x[1]=C[1]/I),x}function u(x,C){return Math.sqrt((x[0]-C[0])*(x[0]-C[0])+(x[1]-C[1])*(x[1]-C[1]))}var p=u;function w(x,C){return(x[0]-C[0])*(x[0]-C[0])+(x[1]-C[1])*(x[1]-C[1])}var b=w;function E(x,C){return x[0]=-C[0],x[1]=-C[1],x}function A(x,C,I,N){return x[0]=C[0]+N*(I[0]-C[0]),x[1]=C[1]+N*(I[1]-C[1]),x}function S(x,C,I){var N=C[0],F=C[1];return x[0]=I[0]*N+I[2]*F+I[4],x[1]=I[1]*N+I[3]*F+I[5],x}function T(x,C,I){return x[0]=Math.min(C[0],I[0]),x[1]=Math.min(C[1],I[1]),x}function L(x,C,I){return x[0]=Math.max(C[0],I[0]),x[1]=Math.max(C[1],I[1]),x}_.create=g,_.copy=f,_.clone=y,_.set=m,_.add=v,_.scaleAndAdd=h,_.sub=c,_.len=a,_.length=i,_.lenSquare=r,_.lengthSquare=o,_.mul=d,_.div=n,_.dot=l,_.scale=t,_.normalize=s,_.distance=u,_.dist=p,_.distanceSquare=w,_.distSquare=b,_.negate=E,_.lerp=A,_.applyTransform=S,_.min=T,_.max=L},"QO+J":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.createSensor=void 0;var g=y(e("NohK")),f=e("24YM");function y(v){return v&&v.__esModule?v:{default:v}}var m=function(h){var c=void 0,a=[],i=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(){a.forEach(function(l){l(h)})}),o=function(t){c||(c=i()),a.indexOf(t)===-1&&a.push(t)},d=function(){c&&c.parentNode&&(c.contentDocument&&c.contentDocument.defaultView.removeEventListener("resize",r),c.parentNode.removeChild(c),c=void 0,a=[])},n=function(t){var s=a.indexOf(t);s!==-1&&a.splice(s,1),a.length===0&&c&&d()};return{element:h,bind:o,destroy:d,unbind:n}};_.createSensor=m},"QQZ/":function(D,_,e){var g=e("Sq3C"),f=e("Z1HP"),y=e("Sxd8"),m=e("dt0z");function v(h,c,a){h=m(h),c=y(c);var i=c?f(h):0;return c&&i<c?g(c-i,a)+h:h}D.exports=v},QUw5:function(D,_,e){var g=e("OlYY"),f=g.extend({type:"dataZoom.select"});D.exports=f},QV2g:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=g;function g(){for(var m,v=[],h=0;h<256;h++){m=h;for(var c=0;c<8;c++)m=m&1?3988292384^m>>>1:m>>>1;v[h]=m}return v}var f=g();function y(m,v,h,c){var a=f,i=c+h;m^=-1;for(var r=c;r<i;r++)m=m>>>8^a[(m^v[r])&255];return m^-1}},QbM5:function(D,_,e){},Qe9p:function(D,_,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 y(C){return C=Math.round(C),C<0?0:C>255?255:C}function m(C){return C=Math.round(C),C<0?0:C>360?360:C}function v(C){return C<0?0:C>1?1:C}function h(C){return C.length&&C.charAt(C.length-1)==="%"?y(parseFloat(C)/100*255):y(parseInt(C,10))}function c(C){return C.length&&C.charAt(C.length-1)==="%"?v(parseFloat(C)/100):v(parseFloat(C))}function a(C,I,N){return N<0?N+=1:N>1&&(N-=1),N*6<1?C+(I-C)*N*6:N*2<1?I:N*3<2?C+(I-C)*(2/3-N)*6:C}function i(C,I,N){return C+(I-C)*N}function r(C,I,N,F,k){return C[0]=I,C[1]=N,C[2]=F,C[3]=k,C}function o(C,I){return C[0]=I[0],C[1]=I[1],C[2]=I[2],C[3]=I[3],C}var d=new g(20),n=null;function l(C,I){n&&o(n,I),n=d.put(C,n||I.slice())}function t(C,I){if(!C)return;I=I||[];var N=d.get(C);if(N)return o(I,N);C=C+"";var F=C.replace(/ /g,"").toLowerCase();if(F in f)return o(I,f[F]),l(C,I),I;if(F.charAt(0)==="#"){if(F.length===4){var k=parseInt(F.substr(1),16);if(!(k>=0&&k<=4095)){r(I,0,0,0,1);return}return r(I,(k&3840)>>4|(k&3840)>>8,k&240|(k&240)>>4,k&15|(k&15)<<4,1),l(C,I),I}else if(F.length===7){var k=parseInt(F.substr(1),16);if(!(k>=0&&k<=16777215)){r(I,0,0,0,1);return}return r(I,(k&16711680)>>16,(k&65280)>>8,k&255,1),l(C,I),I}return}var B=F.indexOf("("),P=F.indexOf(")");if(B!==-1&&P+1===F.length){var K=F.substr(0,B),R=F.substr(B+1,P-(B+1)).split(","),U=1;switch(K){case"rgba":if(R.length!==4){r(I,0,0,0,1);return}U=c(R.pop());case"rgb":if(R.length!==3){r(I,0,0,0,1);return}return r(I,h(R[0]),h(R[1]),h(R[2]),U),l(C,I),I;case"hsla":if(R.length!==4){r(I,0,0,0,1);return}return R[3]=c(R[3]),s(R,I),l(C,I),I;case"hsl":if(R.length!==3){r(I,0,0,0,1);return}return s(R,I),l(C,I),I;default:return}}r(I,0,0,0,1);return}function s(C,I){var N=(parseFloat(C[0])%360+360)%360/360,F=c(C[1]),k=c(C[2]),B=k<=.5?k*(F+1):k+F-k*F,P=k*2-B;return I=I||[],r(I,y(a(P,B,N+1/3)*255),y(a(P,B,N)*255),y(a(P,B,N-1/3)*255),1),C.length===4&&(I[3]=C[3]),I}function u(C){if(!C)return;var I=C[0]/255,N=C[1]/255,F=C[2]/255,k=Math.min(I,N,F),B=Math.max(I,N,F),P=B-k,K=(B+k)/2,R,U;if(P===0)R=0,U=0;else{K<.5?U=P/(B+k):U=P/(2-B-k);var j=((B-I)/6+P/2)/P,H=((B-N)/6+P/2)/P,W=((B-F)/6+P/2)/P;I===B?R=W-H:N===B?R=1/3+j-W:F===B&&(R=2/3+H-j),R<0&&(R+=1),R>1&&(R-=1)}var X=[R*360,U,K];return C[3]!=null&&X.push(C[3]),X}function p(C,I){var N=t(C);if(N){for(var F=0;F<3;F++)I<0?N[F]=N[F]*(1-I)|0:N[F]=(255-N[F])*I+N[F]|0,N[F]>255?N[F]=255:C[F]<0&&(N[F]=0);return x(N,N.length===4?"rgba":"rgb")}}function w(C){var I=t(C);if(I)return((1<<24)+(I[0]<<16)+(I[1]<<8)+ +I[2]).toString(16).slice(1)}function b(C,I,N){if(!(I&&I.length)||!(C>=0&&C<=1))return;N=N||[];var F=C*(I.length-1),k=Math.floor(F),B=Math.ceil(F),P=I[k],K=I[B],R=F-k;return N[0]=y(i(P[0],K[0],R)),N[1]=y(i(P[1],K[1],R)),N[2]=y(i(P[2],K[2],R)),N[3]=v(i(P[3],K[3],R)),N}var E=b;function A(C,I,N){if(!(I&&I.length)||!(C>=0&&C<=1))return;var F=C*(I.length-1),k=Math.floor(F),B=Math.ceil(F),P=t(I[k]),K=t(I[B]),R=F-k,U=x([y(i(P[0],K[0],R)),y(i(P[1],K[1],R)),y(i(P[2],K[2],R)),v(i(P[3],K[3],R))],"rgba");return N?{color:U,leftIndex:k,rightIndex:B,value:F}:U}var S=A;function T(C,I,N,F){if(C=t(C),C)return C=u(C),I!=null&&(C[0]=m(I)),N!=null&&(C[1]=c(N)),F!=null&&(C[2]=c(F)),x(s(C),"rgba")}function L(C,I){if(C=t(C),C&&I!=null)return C[3]=v(I),x(C,"rgba")}function x(C,I){if(!C||!C.length)return;var N=C[0]+","+C[1]+","+C[2];return(I==="rgba"||I==="hsva"||I==="hsla")&&(N+=","+C[3]),I+"("+N+")"}_.parse=t,_.lift=p,_.toHex=w,_.fastLerp=b,_.fastMapToColor=E,_.lerp=A,_.mapToColor=S,_.modifyHSL=T,_.modifyAlpha=L,_.stringify=x},Qi1f:function(D,_,e){"use strict";e.d(_,"g",function(){return r}),e.d(_,"c",function(){return o}),e.d(_,"a",function(){return n}),e.d(_,"b",function(){return l}),e.d(_,"d",function(){return t}),e.d(_,"e",function(){return s}),e.d(_,"f",function(){return w});var g=e("VTBJ"),f=e("U8pU"),y=e("HXN9"),m=e.n(y),v=e("q1tI"),h=e.n(v),c=e("Kwbf"),a=e("Gu+u"),i=e.n(a);function r(b,E){Object(c.a)(b,"[@ant-design/icons] ".concat(E))}function o(b){return Object(f.a)(b)==="object"&&typeof b.name=="string"&&typeof b.theme=="string"&&(Object(f.a)(b.icon)==="object"||typeof b.icon=="function")}function d(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(b).reduce(function(E,A){var S=b[A];switch(A){case"class":E.className=S,delete E.class;break;default:E[A]=S}return E},{})}function n(b,E,A){return A?h.a.createElement(b.tag,Object(g.a)(Object(g.a)({key:E},d(b.attrs)),A),(b.children||[]).map(function(S,T){return n(S,"".concat(E,"-").concat(b.tag,"-").concat(T))})):h.a.createElement(b.tag,Object(g.a)({key:E},d(b.attrs)),(b.children||[]).map(function(S,T){return n(S,"".concat(E,"-").concat(b.tag,"-").concat(T))}))}function l(b){return Object(y.generate)(b)[0]}function t(b){return b?Array.isArray(b)?b:[b]:[]}var s={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},u=`
.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,w=function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:u;Object(v.useEffect)(function(){p||(Object(a.insertCss)(E,{prepend:!0}),p=!0)},[])}},QkVE:function(D,_,e){var g=e("EpBk");function f(y,m){var v=y.__data__;return g(m)?v[typeof m=="string"?"string":"hash"]:v.map}D.exports=f},QoRX:function(D,_){function e(g,f){for(var y=-1,m=g==null?0:g.length;++y<m;)if(f(g[y],y,g))return!0;return!1}D.exports=e},QqLw:function(D,_,e){var g=e("tadb"),f=e("ebwN"),y=e("HOxn"),m=e("yGk4"),v=e("Of+w"),h=e("NykK"),c=e("3Fdi"),a="[object Map]",i="[object Object]",r="[object Promise]",o="[object Set]",d="[object WeakMap]",n="[object DataView]",l=c(g),t=c(f),s=c(y),u=c(m),p=c(v),w=h;(g&&w(new g(new ArrayBuffer(1)))!=n||f&&w(new f)!=a||y&&w(y.resolve())!=r||m&&w(new m)!=o||v&&w(new v)!=d)&&(w=function(b){var E=h(b),A=E==i?b.constructor:void 0,S=A?c(A):"";if(S)switch(S){case l:return n;case t:return a;case s:return r;case u:return o;case p:return d}return E}),D.exports=w},Qs3X:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("X+im"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},Qs9O:function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},QuXc:function(D,_){var e=function(y){this.colorStops=y||[]};e.prototype={constructor:e,addColorStop:function(y,m){this.colorStops.push({offset:y,color:m})}};var g=e;D.exports=g},Qvb6:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("ItGF"),m=e("B9fm"),v=e("gvm7"),h=e("7aKB"),c=e("OELB"),a=e("IwbS"),i=e("Ez2D"),r=e("+TT/"),o=e("Qxkt"),d=e("F9bG"),n=e("aX7z"),l=e("/y7N"),t=e("4NO4"),s=t.getTooltipRenderMode,u=f.bind,p=f.each,w=c.parsePercent,b=new a.Rect({shape:{x:-1,y:-1,width:2,height:2}}),E=g.extendComponentView({type:"tooltip",init:function(I,N){if(y.node)return;var F=I.getComponent("tooltip"),k=F.get("renderMode");this._renderMode=s(k);var B;this._renderMode==="html"?(B=new m(N.getDom(),N,{appendToBody:F.get("appendToBody",!0)}),this._newLine="<br/>"):(B=new v(N),this._newLine=`
`),this._tooltipContent=B},render:function(I,N,F){if(y.node)return;this.group.removeAll(),this._tooltipModel=I,this._ecModel=N,this._api=F,this._lastDataByCoordSys=null,this._alwaysShowContent=I.get("alwaysShowContent");var k=this._tooltipContent;k.update(),k.setEnterable(I.get("enterable")),this._initGlobalListener(),this._keepShow()},_initGlobalListener:function(){var I=this._tooltipModel,N=I.get("triggerOn");d.register("itemTooltip",this._api,u(function(F,k,B){N!=="none"&&(N.indexOf(F)>=0?this._tryShow(k,B):F==="leave"&&this._hide(B))},this))},_keepShow:function(){var I=this._tooltipModel,N=this._ecModel,F=this._api;if(this._lastX!=null&&this._lastY!=null&&I.get("triggerOn")!=="none"){var k=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!F.isDisposed()&&k.manuallyShowTip(I,N,F,{x:k._lastX,y:k._lastY})})}},manuallyShowTip:function(I,N,F,k){if(k.from===this.uid||y.node)return;var B=S(k,F);this._ticket="";var P=k.dataByCoordSys;if(k.tooltip&&k.x!=null&&k.y!=null){var K=b;K.position=[k.x,k.y],K.update(),K.tooltip=k.tooltip,this._tryShow({offsetX:k.x,offsetY:k.y,target:K},B)}else if(P)this._tryShow({offsetX:k.x,offsetY:k.y,position:k.position,dataByCoordSys:k.dataByCoordSys,tooltipOption:k.tooltipOption},B);else if(k.seriesIndex!=null){if(this._manuallyAxisShowTip(I,N,F,k))return;var R=i(k,N),U=R.point[0],j=R.point[1];U!=null&&j!=null&&this._tryShow({offsetX:U,offsetY:j,position:k.position,target:R.el},B)}else k.x!=null&&k.y!=null&&(F.dispatchAction({type:"updateAxisPointer",x:k.x,y:k.y}),this._tryShow({offsetX:k.x,offsetY:k.y,position:k.position,target:F.getZr().findHover(k.x,k.y).target},B))},manuallyHideTip:function(I,N,F,k){var B=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&B.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,k.from!==this.uid&&this._hide(S(k,F))},_manuallyAxisShowTip:function(I,N,F,k){var B=k.seriesIndex,P=k.dataIndex,K=N.getComponent("axisPointer").coordSysAxesInfo;if(B==null||P==null||K==null)return;var R=N.getSeriesByIndex(B);if(!R)return;var U=R.getData(),I=A([U.getItemModel(P),R,(R.coordinateSystem||{}).model,I]);return I.get("trigger")!=="axis"?void 0:(F.dispatchAction({type:"updateAxisPointer",seriesIndex:B,dataIndex:P,position:k.position}),!0)},_tryShow:function(I,N){var F=I.target,k=this._tooltipModel;if(!k)return;this._lastX=I.offsetX,this._lastY=I.offsetY;var B=I.dataByCoordSys;B&&B.length?this._showAxisTooltip(B,I):F&&F.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(I,F,N)):F&&F.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(I,F,N)):(this._lastDataByCoordSys=null,this._hide(N))},_showOrMove:function(I,N){var F=I.get("showDelay");N=f.bind(N,this),clearTimeout(this._showTimout),F>0?this._showTimout=setTimeout(N,F):N()},_showAxisTooltip:function(I,N){var F=this._ecModel,k=this._tooltipModel,B=[N.offsetX,N.offsetY],P=[],K=[],R=A([N.tooltipOption,k]),U=this._renderMode,j=this._newLine,H={};p(I,function(X){p(X.dataByAxis,function(z){var G=F.getComponent(z.axisDim+"Axis",z.axisIndex),Z=z.value,ge=[];if(!G||Z==null)return;var Q=l.getValueLabel(Z,G.axis,F,z.seriesDataIndices,z.valueLabelOpt);f.each(z.seriesDataIndices,function(Ee){var Ae=F.getSeriesByIndex(Ee.seriesIndex),Pe=Ee.dataIndexInside,Ge=Ae&&Ae.getDataParams(Pe);if(Ge.axisDim=z.axisDim,Ge.axisIndex=z.axisIndex,Ge.axisType=z.axisType,Ge.axisId=z.axisId,Ge.axisValue=n.getAxisRawValue(G.axis,Z),Ge.axisValueLabel=Q,Ge){K.push(Ge);var gt=Ae.formatTooltip(Pe,!0,null,U),_e;if(f.isObject(gt)){_e=gt.html;var Ce=gt.markers;f.merge(H,Ce)}else _e=gt;ge.push(_e)}});var we=Q;U!=="html"?P.push(ge.join(j)):P.push((we?h.encodeHTML(we)+j:"")+ge.join(j))})},this),P.reverse(),P=P.join(this._newLine+this._newLine);var W=N.position;this._showOrMove(R,function(){this._updateContentNotChangedOnAxis(I)?this._updatePosition(R,W,B[0],B[1],this._tooltipContent,K):this._showTooltipContent(R,P,K,Math.random(),B[0],B[1],W,void 0,H)})},_showSeriesItemTooltip:function(I,N,F){var k=this._ecModel,B=N.seriesIndex,P=k.getSeriesByIndex(B),K=N.dataModel||P,R=N.dataIndex,U=N.dataType,j=K.getData(U),H=A([j.getItemModel(R),K,P&&(P.coordinateSystem||{}).model,this._tooltipModel]),W=H.get("trigger");if(W!=null&&W!=="item")return;var X=K.getDataParams(R,U),z=K.formatTooltip(R,!1,U,this._renderMode),G,Z;f.isObject(z)?(G=z.html,Z=z.markers):(G=z,Z=null);var ge="item_"+K.name+"_"+R;this._showOrMove(H,function(){this._showTooltipContent(H,G,X,ge,I.offsetX,I.offsetY,I.position,I.target,Z)}),F({type:"showTip",dataIndexInside:R,dataIndex:j.getRawIndex(R),seriesIndex:B,from:this.uid})},_showComponentItemTooltip:function(I,N,F){var k=N.tooltip;if(typeof k=="string"){var B=k;k={content:B,formatter:B}}var P=new o(k,this._tooltipModel,this._ecModel),K=P.get("content"),R=Math.random();this._showOrMove(P,function(){this._showTooltipContent(P,K,P.get("formatterParams")||{},R,I.offsetX,I.offsetY,I.position,N)}),F({type:"showTip",from:this.uid})},_showTooltipContent:function(I,N,F,k,B,P,K,R,U){if(this._ticket="",!I.get("showContent")||!I.get("show"))return;var j=this._tooltipContent,H=I.get("formatter");K=K||I.get("position");var W=N;if(H&&typeof H=="string")W=h.formatTpl(H,F,!0);else if(typeof H=="function"){var X=u(function(z,G){z===this._ticket&&(j.setContent(G,U,I),this._updatePosition(I,K,B,P,j,F,R))},this);this._ticket=k,W=H(F,k,X)}j.setContent(W,U,I),j.show(I),this._updatePosition(I,K,B,P,j,F,R)},_updatePosition:function(I,N,F,k,B,P,K){var R=this._api.getWidth(),U=this._api.getHeight();N=N||I.get("position");var j=B.getSize(),H=I.get("align"),W=I.get("verticalAlign"),X=K&&K.getBoundingRect().clone();if(K&&X.applyTransform(K.transform),typeof N=="function"&&(N=N([F,k],P,B.el,X,{viewSize:[R,U],contentSize:j.slice()})),f.isArray(N))F=w(N[0],R),k=w(N[1],U);else if(f.isObject(N)){N.width=j[0],N.height=j[1];var z=r.getLayoutRect(N,{width:R,height:U});F=z.x,k=z.y,H=null,W=null}else if(typeof N=="string"&&K){var G=x(N,X,j);F=G[0],k=G[1]}else{var G=T(F,k,B,R,U,H?null:20,W?null:20);F=G[0],k=G[1]}if(H&&(F-=C(H)?j[0]/2:H==="right"?j[0]:0),W&&(k-=C(W)?j[1]/2:W==="bottom"?j[1]:0),I.get("confine")){var G=L(F,k,B,R,U);F=G[0],k=G[1]}B.moveTo(F,k)},_updateContentNotChangedOnAxis:function(I){var N=this._lastDataByCoordSys,F=!!N&&N.length===I.length;return F&&p(N,function(k,B){var P=k.dataByAxis||{},K=I[B]||{},R=K.dataByAxis||[];F&=P.length===R.length,F&&p(P,function(U,j){var H=R[j]||{},W=U.seriesDataIndices||[],X=H.seriesDataIndices||[];F&=U.value===H.value&&U.axisType===H.axisType&&U.axisId===H.axisId&&W.length===X.length,F&&p(W,function(z,G){var Z=X[G];F&=z.seriesIndex===Z.seriesIndex&&z.dataIndex===Z.dataIndex})})}),this._lastDataByCoordSys=I,!!F},_hide:function(I){this._lastDataByCoordSys=null,I({type:"hideTip",from:this.uid})},dispose:function(I,N){if(y.node)return;this._tooltipContent.dispose(),d.unregister("itemTooltip",N)}});function A(I){for(var N=I.pop();I.length;){var F=I.pop();F&&(o.isInstance(F)&&(F=F.get("tooltip",!0)),typeof F=="string"&&(F={formatter:F}),N=new o(F,N,N.ecModel))}return N}function S(I,N){return I.dispatchAction||f.bind(N.dispatchAction,N)}function T(I,N,F,k,B,P,K){var R=F.getOuterSize(),U=R.width,j=R.height;return P!=null&&(I+U+P>k?I-=U+P:I+=P),K!=null&&(N+j+K>B?N-=j+K:N+=K),[I,N]}function L(I,N,F,k,B){var P=F.getOuterSize(),K=P.width,R=P.height;return I=Math.min(I+K,k)-K,N=Math.min(N+R,B)-R,I=Math.max(I,0),N=Math.max(N,0),[I,N]}function x(I,N,F){var k=F[0],B=F[1],P=5,K=0,R=0,U=N.width,j=N.height;switch(I){case"inside":K=N.x+U/2-k/2,R=N.y+j/2-B/2;break;case"top":K=N.x+U/2-k/2,R=N.y-B-P;break;case"bottom":K=N.x+U/2-k/2,R=N.y+j+P;break;case"left":K=N.x-k-P,R=N.y+j/2-B/2;break;case"right":K=N.x+U+P,R=N.y+j/2-B/2}return[K,R]}function C(I){return I==="center"||I==="middle"}D.exports=E},Qxkt:function(D,_,e){var g=e("bYtY"),f=e("ItGF"),y=e("4NO4"),m=y.makeInner,v=e("Yl7c"),h=v.enableClassExtend,c=v.enableClassCheck,a=e("OQFs"),i=e("m9t5"),r=e("/iHx"),o=e("VR9l"),d=g.mixin,n=m();function l(p,w,b){this.parentModel=w,this.ecModel=b,this.option=p}l.prototype={constructor:l,init:null,mergeOption:function(p){g.merge(this.option,p,!0)},get:function(p,w){return p==null?this.option:t(this.option,this.parsePath(p),!w&&s(this,p))},getShallow:function(p,w){var b=this.option,E=b==null?b:b[p],A=!w&&s(this,p);return E==null&&A&&(E=A.getShallow(p)),E},getModel:function(p,w){var b=p==null?this.option:t(this.option,p=this.parsePath(p)),E;return w=w||(E=s(this,p))&&E.getModel(p),new l(b,w,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,w,b){for(var E=0;E<w.length;E++){if(!w[E])continue;if(p=p&&typeof p=="object"?p[w[E]]:null,p==null)break}return p==null&&b&&(p=b.get(w)),p}function s(p,w){var b=n(p).getParent;return b?b.call(p,w):p.parentModel}h(l),c(l),d(l,a),d(l,i),d(l,r),d(l,o);var u=l;D.exports=u},QyFq:function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},QzjZ:function(D,_,e){var g=e("S/Yl"),f=e("IDmD");function y(m,v){var h=[];return m.eachComponent("singleAxis",function(c,a){var i=new g(c,m,v);i.name="single_"+a,i.resize(c,v),c.coordinateSystem=i,h.push(i)}),m.eachSeries(function(c){if(c.get("coordinateSystem")==="singleAxis"){var a=m.queryComponents({mainType:"singleAxis",index:c.get("singleAxisIndex"),id:c.get("singleAxisId")})[0];c.coordinateSystem=a&&a.coordinateSystem}}),h}f.register("single",{create:y,dimensions:g.prototype.dimensions})},R4Th:function(D,_,e){var g=e("ProS"),f=e("9wZj"),y=e("yO87"),m=e("Fofx"),v=e("h8O9"),h=g.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new f(y)},render:function(c,a,i){var r=c.getData(),o=this._symbolDraw;o.updateData(r),this.group.add(o.group)},updateTransform:function(c,a,i){var r=c.getData();this.group.dirty();var o=v().reset(c);o.progress&&o.progress({start:0,end:r.count()},r),this._symbolDraw.updateLayout(r)},_updateGroupTransform:function(c){var a=c.coordinateSystem;a&&a.getRoamTransform&&(this.group.transform=m.clone(a.getRoamTransform()),this.group.decomposeTransform())},remove:function(c,a){this._symbolDraw&&this._symbolDraw.remove(a)},dispose:function(){}});D.exports=h},R9oj:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("pwpV"),m=e.n(y)},RBEP:function(D,_,e){for(var g=e("ProS"),f=e("VaxA"),y=function(){},m=["treemapZoomToNode","treemapRender","treemapMove"],v=0;v<m.length;v++)g.registerAction({type:m[v],update:"updateView"},y);g.registerAction({type:"treemapRootToNode",update:"updateView"},function(h,c){c.eachComponent({mainType:"series",subType:"treemap",query:h},a);function a(i,r){var o=["treemapZoomToNode","treemapRootToNode"],d=f.retrieveTargetInfo(h,o,i);if(d){var n=i.getViewRoot();n&&(h.direction=f.aboveViewRoot(n,d.node)?"rollUp":"drillDown"),i.resetViewRoot(d.node)}}})},RCxd:function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="ExclamationCircleOutlined";var h=_.a=g.forwardRef(v)},RDYZ:function(D,_,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(v,h){if(this._initialized||(this._startTime=v+this._delay,this._initialized=!0),this._paused){this._pausedTime+=h;return}var c=(v-this._startTime-this._pausedTime)/this._life;if(c<0)return;c=Math.min(c,1);var a=this.easing,i=typeof a=="string"?g[a]:a,r=typeof i=="function"?i(c):c;return this.fire("frame",r),c===1?this.loop?(this.restart(v),"restart"):(this._needsRemove=!0,"destroy"):null},restart:function(v){var h=(v-this._startTime-this._pausedTime)%this._life;this._startTime=v-h+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(v,h){v="on"+v,this[v]&&this[v](this._target,h)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var y=f;D.exports=y},RELg:function(D,_,e){var g=e("MFOe"),f=g.Global;D.exports={name:"oldIE-userDataStorage",write:c,read:a,each:i,remove:r,clearAll:o};var y="storejs",m=f.document,v=l(),h=(f.navigator?f.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function c(t,s){if(h)return;var u=n(t);v(function(p){p.setAttribute(u,s),p.save(y)})}function a(t){if(h)return;var s=n(t),u=null;return v(function(p){u=p.getAttribute(s)}),u}function i(t){v(function(s){for(var u=s.XMLDocument.documentElement.attributes,p=u.length-1;p>=0;p--){var w=u[p];t(s.getAttribute(w.name),w.name)}})}function r(t){var s=n(t);v(function(u){u.removeAttribute(s),u.save(y)})}function o(){v(function(t){var s=t.XMLDocument.documentElement.attributes;t.load(y);for(var u=s.length-1;u>=0;u--)t.removeAttribute(s[u].name);t.save(y)})}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,u,p;try{u=new ActiveXObject("htmlfile"),u.open(),u.write("<"+t+">document.w=window</"+t+'><iframe src="/favicon.ico"></iframe>'),u.close(),s=u.w.frames[0].document,p=s.createElement("div")}catch(w){p=m.createElement("div"),s=m.body}return function(w){var b=[].slice.call(arguments,0);b.unshift(p),s.appendChild(p),p.addBehavior("#default#userData"),p.load(y),w.apply(this,b),s.removeChild(p);return}}},RPvy:function(D,_,e){var g=e("ProS"),f=e("VaxA"),y="sunburstRootToNode";g.registerAction({type:y,update:"updateView"},function(h,c){c.eachComponent({mainType:"series",subType:"sunburst",query:h},a);function a(i,r){var o=f.retrieveTargetInfo(h,[y],i);if(o){var d=i.getViewRoot();d&&(h.direction=f.aboveViewRoot(d,o.node)?"rollUp":"drillDown"),i.resetViewRoot(o.node)}}});var m="sunburstHighlight";g.registerAction({type:m,update:"updateView"},function(h,c){c.eachComponent({mainType:"series",subType:"sunburst",query:h},a);function a(i,r){var o=f.retrieveTargetInfo(h,[m],i);o&&(h.highlight=o.node)}});var v="sunburstUnhighlight";g.registerAction({type:v,update:"updateView"},function(h,c){c.eachComponent({mainType:"series",subType:"sunburst",query:h},a);function a(i,r){h.unhighlight=!0}})},RSch:function(D,_,e){var g=e("IwbS"),f=e("bYtY");function y(h,c,a){g.Group.call(this),this._createPolyline(h,c,a)}var m=y.prototype;m._createPolyline=function(h,c,a){var i=h.getItemLayout(c),r=new g.Polyline({shape:{points:i}});this.add(r),this._updateCommonStl(h,c,a)},m.updateData=function(h,c,a){var i=h.hostModel,r=this.childAt(0),o={shape:{points:h.getItemLayout(c)}};g.updateProps(r,o,i,c),this._updateCommonStl(h,c,a)},m._updateCommonStl=function(h,c,a){var i=this.childAt(0),r=h.getItemModel(c),o=h.getItemVisual(c,"color"),d=a&&a.lineStyle,n=a&&a.hoverLineStyle;(!a||h.hasItemOption)&&(d=r.getModel("lineStyle").getLineStyle(),n=r.getModel("emphasis.lineStyle").getLineStyle()),i.useStyle(f.defaults({strokeNoScale:!0,fill:"none",stroke:o},d)),i.hoverStyle=n,g.setHoverStyle(this)},m.updateLayout=function(h,c){var a=this.childAt(0);a.setShape("points",h.getItemLayout(c))},f.inherits(y,g.Group);var v=y;D.exports=v},RXMa:function(D,_,e){var g=e("y+Vt"),f=g.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(m,v){var h=v.cx,c=v.cy,a=Math.PI*2;m.moveTo(h+v.r,c),m.arc(h,c,v.r,0,a,!1),m.moveTo(h+v.r0,c),m.arc(h,c,v.r0,0,a,!0)}});D.exports=f},RZPm:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("JgUQ")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="FileOutlined";var c=y.forwardRef(h);_.default=c},RlCK:function(D,_,e){var g=e("ProS"),f=e("bYtY");function y(m,v,h){var c={},a=m==="toggleSelected",i;return h.eachComponent("legend",function(r){a&&i!=null?r[i?"select":"unSelect"](v.name):m==="allSelect"||m==="inverseSelect"?r[m]():(r[m](v.name),i=r.isSelected(v.name));var o=r.getData();f.each(o,function(d){var n=d.get("name");if(n===`
`||n==="")return;var l=r.isSelected(n);c.hasOwnProperty(n)?c[n]=c[n]&&l:c[n]=l})}),m==="allSelect"||m==="inverseSelect"?{selected:c}:{name:v.name,selected:c}}g.registerAction("legendToggleSelect","legendselectchanged",f.curry(y,"toggleSelected")),g.registerAction("legendAllSelect","legendselectall",f.curry(y,"allSelect")),g.registerAction("legendInverseSelect","legendinverseselect",f.curry(y,"inverseSelect")),g.registerAction("legendSelect","legendselected",f.curry(y,"select")),g.registerAction("legendUnSelect","legendunselected",f.curry(y,"unSelect"))},RotF:function(D,_,e){D.exports=e("LSTS")},Rx6q:function(D,_){function e(g){var f=g.getRect(),y=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:y.start,end:y.end,weeks:y.weeks,dayCount:y.allDay}},api:{coord:function(m,v){return g.dataToPoint(m,v)}}}}D.exports=e},"S/Yl":function(D,_,e){var g=e("Zvw2"),f=e("aX7z"),y=e("+TT/"),m=y.getLayoutRect,v=e("bYtY"),h=v.each;function c(i,r,o){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(i,r,o),this.model=i}c.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:c,_init:function(i,r,o){var d=this.dimension,n=new g(d,f.createScaleByModel(i),[0,0],i.get("type"),i.get("position")),l=n.type==="category";n.onBand=l&&i.get("boundaryGap"),n.inverse=i.get("inverse"),n.orient=i.get("orient"),i.axis=n,n.model=i,n.coordinateSystem=this,this._axis=n},update:function(i,r){i.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(i,r){this._rect=m({left:i.get("left"),top:i.get("top"),right:i.get("right"),bottom:i.get("bottom"),width:i.get("width"),height:i.get("height")},{width:r.getWidth(),height:r.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var i=this._rect,r=this._axis,o=r.isHorizontal(),d=o?[0,i.width]:[0,i.height],n=r.reverse?1:0;r.setExtent(d[n],d[1-n]),this._updateAxisTransform(r,o?i.x:i.y)},_updateAxisTransform:function(i,r){var o=i.getExtent(),d=o[0]+o[1],n=i.isHorizontal();i.toGlobalCoord=n?function(l){return l+r}:function(l){return d-l+r},i.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(i){var r=this.getRect(),o=this.getAxis(),d=o.orient;return d==="horizontal"?o.contain(o.toLocalCoord(i[0]))&&i[1]>=r.y&&i[1]<=r.y+r.height:o.contain(o.toLocalCoord(i[1]))&&i[0]>=r.y&&i[0]<=r.y+r.height},pointToData:function(i){var r=this.getAxis();return[r.coordToData(r.toLocalCoord(i[r.orient==="horizontal"?0:1]))]},dataToPoint:function(i){var r=this.getAxis(),o=this.getRect(),d=[],n=r.orient==="horizontal"?0:1;return i instanceof Array&&(i=i[0]),d[n]=r.toGlobalCoord(r.dataToCoord(+i)),d[1-n]=n===0?o.y+o.height/2:o.x+o.width/2,d}};var a=c;D.exports=a},"SA+Z":function(D,_,e){var g=e("wTVA"),f=e("EbDI"),y=e("ZhPi"),m=e("wkBT");function v(h){return g(h)||f(h)||y(h)||m()}D.exports=v},"SA4+":function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),m=e("IwbS"),v=e("zYTA"),h=e("bYtY");function c(o,d,n){var l=o[1]-o[0];d=h.map(d,function(u){return{interval:[(u.interval[0]-o[0])/l,(u.interval[1]-o[0])/l]}});var t=d.length,s=0;return function(u){for(var p=s;p<t;p++){var w=d[p].interval;if(w[0]<=u&&u<=w[1]){s=p;break}}if(p===t)for(var p=s-1;p>=0;p--){var w=d[p].interval;if(w[0]<=u&&u<=w[1]){s=p;break}}return p>=0&&p<t&&n[p]}}function a(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 i(o){var d=o.dimensions;return d[0]==="lng"&&d[1]==="lat"}var r=y.extendChartView({type:"heatmap",render:function(o,d,n){var l;d.eachComponent("visualMap",function(s){s.eachTargetSeries(function(u){u===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()):i(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,u,p;if(s.type==="cartesian2d"){var w=s.getAxis("x"),b=s.getAxis("y");u=w.getBandWidth(),p=b.getBandWidth()}for(var E=this.group,A=o.getData(),S="itemStyle",T="emphasis.itemStyle",L="label",x="emphasis.label",C=o.getModel(S).getItemStyle(["color"]),I=o.getModel(T).getItemStyle(),N=o.getModel(L),F=o.getModel(x),k=s.type,B=k==="cartesian2d"?[A.mapDimension("x"),A.mapDimension("y"),A.mapDimension("value")]:[A.mapDimension("time"),A.mapDimension("value")],P=n;P<l;P++){var K;if(k==="cartesian2d"){if(isNaN(A.get(B[2],P)))continue;var R=s.dataToPoint([A.get(B[0],P),A.get(B[1],P)]);K=new m.Rect({shape:{x:Math.floor(Math.round(R[0])-u/2),y:Math.floor(Math.round(R[1])-p/2),width:Math.ceil(u),height:Math.ceil(p)},style:{fill:A.getItemVisual(P,"color"),opacity:A.getItemVisual(P,"opacity")}})}else{if(isNaN(A.get(B[1],P)))continue;K=new m.Rect({z2:1,shape:s.dataToRect([A.get(B[0],P)]).contentShape,style:{fill:A.getItemVisual(P,"color"),opacity:A.getItemVisual(P,"opacity")}})}var U=A.getItemModel(P);A.hasItemOption&&(C=U.getModel(S).getItemStyle(["color"]),I=U.getModel(T).getItemStyle(),N=U.getModel(L),F=U.getModel(x));var j=o.getRawValue(P),H="-";j&&j[2]!=null&&(H=j[2]),m.setLabelStyle(C,I,N,F,{labelFetcher:o,labelDataIndex:P,defaultText:H,isRectText:!0}),K.setStyle(C),m.setHoverStyle(K,A.hasItemOption?I:h.extend({},I)),K.incremental=t,t&&(K.useHoverLayer=!0),E.add(K),A.setItemGraphicEl(P,K)}},_renderOnGeo:function(o,d,n,l){var t=n.targetVisuals.inRange,s=n.targetVisuals.outOfRange,u=d.getData(),p=this._hmLayer||this._hmLayer||new v;p.blurSize=d.get("blurSize"),p.pointSize=d.get("pointSize"),p.minOpacity=d.get("minOpacity"),p.maxOpacity=d.get("maxOpacity");var w=o.getViewRect().clone(),b=o.getRoamTransform();w.applyTransform(b);var E=Math.max(w.x,0),A=Math.max(w.y,0),S=Math.min(w.width+w.x,l.getWidth()),T=Math.min(w.height+w.y,l.getHeight()),L=S-E,x=T-A,C=[u.mapDimension("lng"),u.mapDimension("lat"),u.mapDimension("value")],I=u.mapArray(C,function(B,P,K){var R=o.dataToPoint([B,P]);return R[0]-=E,R[1]-=A,R.push(K),R}),N=n.getExtent(),F=n.type==="visualMap.continuous"?a(N,n.option.range):c(N,n.getPieceList(),n.option.selected);p.update(I,L,x,t.color.getNormalizer(),{inRange:t.color.getColorMapper(),outOfRange:s.color.getColorMapper()},F);var k=new m.Image({style:{width:L,height:x,x:E,y:A,image:p.canvas},silent:!0});this.group.add(k)},dispose:function(){}});D.exports=r},SA8n:function(D,_,e){var g=e("Sj9i"),f=e("QBsz"),y=e("U/Mo"),m=y.getSymbolSize,v=[],h=[],c=[],a=g.quadraticAt,i=f.distSquare,r=Math.abs;function o(n,l,t){for(var s=n[0],u=n[1],p=n[2],w=Infinity,b,E=t*t,A=.1,S=.1;S<=.9;S+=.1){v[0]=a(s[0],u[0],p[0],S),v[1]=a(s[1],u[1],p[1],S);var T=r(i(v,l)-E);T<w&&(w=T,b=S)}for(var L=0;L<32;L++){var x=b+A;h[0]=a(s[0],u[0],p[0],b),h[1]=a(s[1],u[1],p[1],b),c[0]=a(s[0],u[0],p[0],x),c[1]=a(s[1],u[1],p[1],x);var T=i(h,l)-E;if(r(T)<.01)break;var C=i(c,l)-E;A/=2,T<0?C>=0?b=b+A:b=b-A:C>=0?b=b-A:b=b+A}return b}function d(n,l){var t=[],s=g.quadraticSubdivide,u=[[],[],[]],p=[[],[]],w=[];l/=2,n.eachEdge(function(b,E){var A=b.getLayout(),S=b.getVisual("fromSymbol"),T=b.getVisual("toSymbol");A.__original||(A.__original=[f.clone(A[0]),f.clone(A[1])],A[2]&&A.__original.push(f.clone(A[2])));var L=A.__original;if(A[2]!=null){if(f.copy(u[0],L[0]),f.copy(u[1],L[2]),f.copy(u[2],L[1]),S&&S!=="none"){var x=m(b.node1),C=o(u,L[0],x*l);s(u[0][0],u[1][0],u[2][0],C,t),u[0][0]=t[3],u[1][0]=t[4],s(u[0][1],u[1][1],u[2][1],C,t),u[0][1]=t[3],u[1][1]=t[4]}if(T&&T!=="none"){var x=m(b.node2),C=o(u,L[1],x*l);s(u[0][0],u[1][0],u[2][0],C,t),u[1][0]=t[1],u[2][0]=t[2],s(u[0][1],u[1][1],u[2][1],C,t),u[1][1]=t[1],u[2][1]=t[2]}f.copy(A[0],u[0]),f.copy(A[1],u[2]),f.copy(A[2],u[1])}else{if(f.copy(p[0],L[0]),f.copy(p[1],L[1]),f.sub(w,p[1],p[0]),f.normalize(w,w),S&&S!=="none"){var x=m(b.node1);f.scaleAndAdd(p[0],p[0],w,x*l)}if(T&&T!=="none"){var x=m(b.node2);f.scaleAndAdd(p[1],p[1],w,-x*l)}f.copy(A[0],p[0]),f.copy(A[1],p[1])}})}D.exports=d},SJMd:function(D,_){/**
* @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,y=!1,m,v;window.PR_SHOULD_USE_CONTINUATION=!0;var h,c;(function(){var a=window,i=["break,continue,do,else,for,if,return,while"],r=[i,"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"],u="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=[i,"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"],w=[i,"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"],b=[i,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],E=[d,l,n,s,u,p,w,b],A=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,S="str",T="kwd",L="com",x="typ",C="lit",I="pun",N="pln",F="tag",k="dec",B="src",P="atn",K="atv",R="nocode",U="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function j(ce){for(var Y=0,V=!1,$=!1,Te=0,ye=ce.length;Te<ye;++Te){var Fe=ce[Te];if(Fe.ignoreCase)$=!0;else if(/[a-z]/i.test(Fe.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){V=!0,$=!1;break}}var Oe={b:8,t:9,n:10,v:11,f:12,r:13};function se(Ct){var Ue=Ct.charCodeAt(0);if(Ue!==92)return Ue;var Rt=Ct.charAt(1);return Ue=Oe[Rt],Ue||("0"<=Rt&&Rt<="7"?parseInt(Ct.substring(1),8):Rt==="u"||Rt==="x"?parseInt(Ct.substring(2),16):Ct.charCodeAt(1))}function fe(Ct){if(Ct<32)return(Ct<16?"\\x0":"\\x")+Ct.toString(16);var Ue=String.fromCharCode(Ct);return Ue==="\\"||Ue==="-"||Ue==="]"||Ue==="^"?"\\"+Ue:Ue}function Le(Ct){var Ue=Ct.substring(1,Ct.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")),Rt=[],Ke=Ue[0]==="^",wt=["["];Ke&&wt.push("^");for(var Ye=Ke?1:0,et=Ue.length;Ye<et;++Ye){var rt=Ue[Ye];if(/\\[bdsw]/i.test(rt))wt.push(rt);else{var st=se(rt),Ve;Ye+2<et&&Ue[Ye+1]==="-"?(Ve=se(Ue[Ye+2]),Ye+=2):Ve=st,Rt.push([st,Ve]),Ve<65||st>122||(Ve<65||st>90||Rt.push([Math.max(65,st)|32,Math.min(Ve,90)|32]),Ve<97||st>122||Rt.push([Math.max(97,st)&~32,Math.min(Ve,122)&~32]))}}Rt.sort(function(Qe,ve){return Qe[0]-ve[0]||ve[1]-Qe[1]});for(var oe=[],re=[],Ye=0;Ye<Rt.length;++Ye){var it=Rt[Ye];it[0]<=re[1]+1?re[1]=Math.max(re[1],it[1]):oe.push(re=it)}for(var Ye=0;Ye<oe.length;++Ye){var it=oe[Ye];wt.push(fe(it[0])),it[1]>it[0]&&(it[1]+1>it[0]&&wt.push("-"),wt.push(fe(it[1])))}return wt.push("]"),wt.join("")}function Je(Ct){for(var Ue=Ct.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")),Rt=Ue.length,Ke=[],wt=0,Ye=0;wt<Rt;++wt){var et=Ue[wt];if(et==="(")++Ye;else if(et.charAt(0)==="\\"){var rt=+et.substring(1);rt&&(rt<=Ye?Ke[rt]=-1:Ue[wt]=fe(rt))}}for(var wt=1;wt<Ke.length;++wt)Ke[wt]===-1&&(Ke[wt]=++Y);for(var wt=0,Ye=0;wt<Rt;++wt){var et=Ue[wt];if(et==="(")++Ye,Ke[Ye]||(Ue[wt]="(?:");else if(et.charAt(0)==="\\"){var rt=+et.substring(1);rt&&rt<=Ye&&(Ue[wt]="\\"+Ke[rt])}}for(var wt=0;wt<Rt;++wt)Ue[wt]==="^"&&Ue[wt+1]!=="^"&&(Ue[wt]="");if(Ct.ignoreCase&&V)for(var wt=0;wt<Rt;++wt){var et=Ue[wt],st=et.charAt(0);et.length>=2&&st==="["?Ue[wt]=Le(et):st!=="\\"&&(Ue[wt]=et.replace(/[a-zA-Z]/g,function(re){var it=re.charCodeAt(0);return"["+String.fromCharCode(it&~32,it|32)+"]"}))}return Ue.join("")}for(var mt=[],Te=0,ye=ce.length;Te<ye;++Te){var Fe=ce[Te];if(Fe.global||Fe.multiline)throw new Error(""+Fe);mt.push("(?:"+Je(Fe)+")")}return new RegExp(mt.join("|"),$?"gi":"g")}function H(ce,Y){var V=/(?:^|\s)nocode(?:\s|$)/,$=[],Te=0,ye=[],Fe=0;function Oe(se){var fe=se.nodeType;if(fe==1){if(V.test(se.className))return;for(var Le=se.firstChild;Le;Le=Le.nextSibling)Oe(Le);var Je=se.nodeName.toLowerCase();(Je==="br"||Je==="li")&&($[Fe]=`
`,ye[Fe<<1]=Te++,ye[Fe++<<1|1]=se)}else if(fe==3||fe==4){var mt=se.nodeValue;mt.length&&(Y?mt=mt.replace(/\r\n?/g,`
`):mt=mt.replace(/[ \t\r\n]+/g," "),$[Fe]=mt,ye[Fe<<1]=Te,Te+=mt.length,ye[Fe++<<1|1]=se)}}return Oe(ce),{sourceCode:$.join("").replace(/\n$/,""),spans:ye}}function W(ce,Y,V,$,Te){if(!V)return;var ye={sourceNode:ce,pre:1,langExtension:null,numberLines:null,sourceCode:V,spans:null,basePos:Y,decorations:null};$(ye),Te.push.apply(Te,ye.decorations)}var X=/\S/;function z(ce){for(var Y=void 0,V=ce.firstChild;V;V=V.nextSibling){var $=V.nodeType;Y=$===1?Y?ce:V:$===3&&X.test(V.nodeValue)?ce:Y}return Y===ce?void 0:Y}function G(ce,Y){var V={},$;(function(){for(var Fe=ce.concat(Y),Oe=[],se={},fe=0,Le=Fe.length;fe<Le;++fe){var Je=Fe[fe],mt=Je[3];if(mt)for(var Ct=mt.length;--Ct>=0;)V[mt.charAt(Ct)]=Je;var Ue=Je[1],Rt=""+Ue;se.hasOwnProperty(Rt)||(Oe.push(Ue),se[Rt]=null)}Oe.push(/[\0-\uffff]/),$=j(Oe)})();var Te=Y.length,ye=function Fe(Oe){for(var se=Oe.sourceCode,fe=Oe.basePos,Le=Oe.sourceNode,Je=[fe,N],mt=0,Ct=se.match($)||[],Ue={},Rt=0,Ke=Ct.length;Rt<Ke;++Rt){var wt=Ct[Rt],Ye=Ue[wt],et=void 0,rt;if(typeof Ye=="string")rt=!1;else{var st=V[wt.charAt(0)];if(st)et=wt.match(st[1]),Ye=st[0];else{for(var Ve=0;Ve<Te;++Ve)if(st=Y[Ve],et=wt.match(st[1]),et){Ye=st[0];break}et||(Ye=N)}rt=Ye.length>=5&&Ye.substring(0,5)==="lang-",rt&&!(et&&typeof et[1]=="string")&&(rt=!1,Ye=B),rt||(Ue[wt]=Ye)}var oe=mt;if(mt+=wt.length,!rt)Je.push(fe+oe,Ye);else{var re=et[1],it=wt.indexOf(re),Qe=it+re.length;et[2]&&(Qe=wt.length-et[2].length,it=Qe-re.length);var ve=Ye.substring(5);W(Le,fe+oe,wt.substring(0,it),Fe,Je),W(Le,fe+oe+it,re,Pe(ve,re),Je),W(Le,fe+oe+Qe,wt.substring(Qe),Fe,Je)}}Oe.decorations=Je};return ye}function Z(ce){var Y=[],V=[];ce.tripleQuotedStrings?Y.push([S,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):ce.multiLineStrings?Y.push([S,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):Y.push([S,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),ce.verbatimStrings&&V.push([S,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var $=ce.hashComments;$&&(ce.cStyleComments?($>1?Y.push([L,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):Y.push([L,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),V.push([S,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):Y.push([L,/^#[^\r\n]*/,null,"#"])),ce.cStyleComments&&(V.push([L,/^\/\/[^\r\n]*/,null]),V.push([L,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var Te=ce.regexLiterals;if(Te){var ye=Te>1?"":`
\r`,Fe=ye?".":"[\\S\\s]",Oe="/(?=[^/*"+ye+"])(?:[^/\\x5B\\x5C"+ye+"]|\\x5C"+Fe+"|\\x5B(?:[^\\x5C\\x5D"+ye+"]|\\x5C"+Fe+")*(?:\\x5D|$))+/";V.push(["lang-regex",RegExp("^"+U+"("+Oe+")")])}var se=ce.types;se&&V.push([x,se]);var fe=(""+ce.keywords).replace(/^ | $/g,"");fe.length&&V.push([T,new RegExp("^(?:"+fe.replace(/[\s,]+/g,"|")+")\\b"),null]),Y.push([N,/^\s+/,null,` \r
\xA0`]);var Le="^.[^\\s\\w.$@'\"`/\\\\]*";return ce.regexLiterals&&(Le+="(?!s*/)"),V.push([C,/^@[a-z_$][a-z_$@0-9]*/i,null],[x,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[N,/^[a-z_$][a-z_$@0-9]*/i,null],[C,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[N,/^\\[\s\S]?/,null],[I,new RegExp(Le),null]),G(Y,V)}var ge=Z({keywords:E,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function Q(ce,Y,V){for(var $=/(?:^|\s)nocode(?:\s|$)/,Te=/\r\n?|\n/,ye=ce.ownerDocument,Fe=ye.createElement("li");ce.firstChild;)Fe.appendChild(ce.firstChild);var Oe=[Fe];function se(Ue){var Rt=Ue.nodeType;if(Rt==1&&!$.test(Ue.className))if(Ue.nodeName==="br")fe(Ue),Ue.parentNode&&Ue.parentNode.removeChild(Ue);else for(var Ke=Ue.firstChild;Ke;Ke=Ke.nextSibling)se(Ke);else if((Rt==3||Rt==4)&&V){var wt=Ue.nodeValue,Ye=wt.match(Te);if(Ye){var et=wt.substring(0,Ye.index);Ue.nodeValue=et;var rt=wt.substring(Ye.index+Ye[0].length);if(rt){var st=Ue.parentNode;st.insertBefore(ye.createTextNode(rt),Ue.nextSibling)}fe(Ue),et||Ue.parentNode.removeChild(Ue)}}}function fe(Ue){for(;!Ue.nextSibling;)if(Ue=Ue.parentNode,!Ue)return;function Rt(Ye,et){var rt=et?Ye.cloneNode(!1):Ye,st=Ye.parentNode;if(st){var Ve=Rt(st,1),oe=Ye.nextSibling;Ve.appendChild(rt);for(var re=oe;re;re=oe)oe=re.nextSibling,Ve.appendChild(re)}return rt}for(var Ke=Rt(Ue.nextSibling,0),wt;(wt=Ke.parentNode)&&wt.nodeType===1;)Ke=wt;Oe.push(Ke)}for(var Le=0;Le<Oe.length;++Le)se(Oe[Le]);Y===(Y|0)&&Oe[0].setAttribute("value",Y);var Je=ye.createElement("ol");Je.className="linenums";for(var mt=Math.max(0,Y-1|0)||0,Le=0,Ct=Oe.length;Le<Ct;++Le)Fe=Oe[Le],Fe.className="L"+(Le+mt)%10,Fe.firstChild||Fe.appendChild(ye.createTextNode("\xA0")),Je.appendChild(Fe);ce.appendChild(Je)}function we(ce){var Y=/\bMSIE\s(\d+)/.exec(navigator.userAgent);Y=Y&&+Y[1]<=8;var V=/\n/g,$=ce.sourceCode,Te=$.length,ye=0,Fe=ce.spans,Oe=Fe.length,se=0,fe=ce.decorations,Le=fe.length,Je=0;fe[Le]=Te;var mt,Ct;for(Ct=mt=0;Ct<Le;)fe[Ct]!==fe[Ct+2]?(fe[mt++]=fe[Ct++],fe[mt++]=fe[Ct++]):Ct+=2;for(Le=mt,Ct=mt=0;Ct<Le;){for(var Ue=fe[Ct],Rt=fe[Ct+1],Ke=Ct+2;Ke+2<=Le&&fe[Ke+1]===Rt;)Ke+=2;fe[mt++]=Ue,fe[mt++]=Rt,Ct=Ke}Le=fe.length=mt;var wt=ce.sourceNode,Ye="";wt&&(Ye=wt.style.display,wt.style.display="none");try{for(var et=null;se<Oe;){var rt=Fe[se],st=Fe[se+2]||Te,Ve=fe[Je+2]||Te,Ke=Math.min(st,Ve),oe=Fe[se+1],re;if(oe.nodeType!==1&&(re=$.substring(ye,Ke))){Y&&(re=re.replace(V,"\r")),oe.nodeValue=re;var it=oe.ownerDocument,Qe=it.createElement("span");Qe.className=fe[Je+1];var ve=oe.parentNode;ve.replaceChild(Qe,oe),Qe.appendChild(oe),ye<st&&(Fe[se+1]=oe=it.createTextNode($.substring(Ke,st)),ve.insertBefore(oe,Qe.nextSibling))}ye=Ke,ye>=st&&(se+=2),ye>=Ve&&(Je+=2)}}finally{wt&&(wt.style.display=Ye)}}var Ee={};function Ae(ce,Y){for(var V=Y.length;--V>=0;){var $=Y[V];Ee.hasOwnProperty($)?a.console&&console.warn("cannot override language handler %s",$):Ee[$]=ce}}function Pe(ce,Y){return ce&&Ee.hasOwnProperty(ce)||(ce=/^\s*</.test(Y)?"default-markup":"default-code"),Ee[ce]}Ae(ge,["default-code"]),Ae(G([],[[N,/^[^<?]+/],[k,/^<!\w[^>]*(?:>|$)/],[L,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[I,/^(?:<[%?]|[%?]>)/],["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"]),Ae(G([[N,/^[\s]+/,null,` \r
`],[K,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[F,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[P,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[I,/^[=<>\/]+/],["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"]),Ae(G([],[[K,/^[\s\S]+/]]),["uq.val"]),Ae(Z({keywords:d,hashComments:!0,cStyleComments:!0,types:A}),["c","cc","cpp","cxx","cyc","m"]),Ae(Z({keywords:"null,true,false"}),["json"]),Ae(Z({keywords:l,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:A}),["cs"]),Ae(Z({keywords:n,cStyleComments:!0}),["java"]),Ae(Z({keywords:b,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),Ae(Z({keywords:p,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),Ae(Z({keywords:u,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),Ae(Z({keywords:w,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),Ae(Z({keywords:s,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),Ae(Z({keywords:t,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),Ae(G([],[[S,/^[\s\S]+/]]),["regex"]);function Ge(ce){var Y=ce.langExtension;try{var V=H(ce.sourceNode,ce.pre),$=V.sourceCode;ce.sourceCode=$,ce.spans=V.spans,ce.basePos=0,Pe(Y,$)(ce),we(ce)}catch(Te){a.console&&console.log(Te&&Te.stack||Te)}}function gt(ce,Y,V){var $=V||!1,Te=Y||null,ye=document.createElement("div");ye.innerHTML="<pre>"+ce+"</pre>",ye=ye.firstChild,$&&Q(ye,$,!0);var Fe={langExtension:Te,numberLines:$,sourceNode:ye,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return Ge(Fe),ye.innerHTML}function _e(ce,Y){var V=Y||document.body,$=V.ownerDocument||document;function Te(rt){return V.getElementsByTagName(rt)}for(var ye=[Te("pre"),Te("code"),Te("xmp")],Fe=[],Oe=0;Oe<ye.length;++Oe)for(var se=0,fe=ye[Oe].length;se<fe;++se)Fe.push(ye[Oe][se]);ye=null;var Le=Date;Le.now||(Le={now:function(){return+new Date}});var Je=0,mt=/\blang(?:uage)?-([\w.]+)(?!\S)/,Ct=/\bprettyprint\b/,Ue=/\bprettyprinted\b/,Rt=/pre|xmp/i,Ke=/^code$/i,wt=/^(?:pre|code|xmp)$/i,Ye={};function et(){for(var rt=a.PR_SHOULD_USE_CONTINUATION?Le.now()+250:Infinity;Je<Fe.length&&Le.now()<rt;Je++){for(var st=Fe[Je],Ve=Ye,oe=st;oe=oe.previousSibling;){var re=oe.nodeType,it=(re===7||re===8)&&oe.nodeValue;if(it?!/^\??prettify\b/.test(it):re!==3||/\S/.test(oe.nodeValue))break;if(it){Ve={},it.replace(/\b(\w+)=([\w:.%+-]+)/g,function(ue,De,He){Ve[De]=He});break}}var Qe=st.className;if((Ve!==Ye||Ct.test(Qe))&&!Ue.test(Qe)){for(var ve=!1,Zt=st.parentNode;Zt;Zt=Zt.parentNode){var dt=Zt.tagName;if(wt.test(dt)&&Zt.className&&Ct.test(Zt.className)){ve=!0;break}}if(!ve){st.className+=" prettyprinted";var ct=Ve.lang;if(!ct){ct=Qe.match(mt);var yt;!ct&&(yt=z(st))&&Ke.test(yt.tagName)&&(ct=yt.className.match(mt)),ct&&(ct=ct[1])}var _t;if(Rt.test(st.tagName))_t=1;else{var or=st.currentStyle,Pt=$.defaultView,be=or?or.whiteSpace:Pt&&Pt.getComputedStyle?Pt.getComputedStyle(st,null).getPropertyValue("white-space"):0;_t=be&&be.substring(0,3)==="pre"}var me=Ve.linenums;(me=me==="true"||+me)||(me=Qe.match(/\blinenums\b(?::(\d+))?/),me=me?me[1]&&me[1].length?+me[1]:!0:!1),me&&Q(st,me,_t);var pe={langExtension:ct,sourceNode:st,numberLines:me,pre:_t,sourceCode:null,basePos:null,spans:null,decorations:null};Ge(pe)}}}Je<Fe.length?a.setTimeout(et,250):typeof ce=="function"&&ce()}et()}var Ce=a.PR={createSimpleLexer:G,registerLangHandler:Ae,sourceDecorator:Z,PR_ATTRIB_NAME:P,PR_ATTRIB_VALUE:K,PR_COMMENT:L,PR_DECLARATION:k,PR_KEYWORD:T,PR_LITERAL:C,PR_NOCODE:R,PR_PLAIN:N,PR_PUNCTUATION:I,PR_SOURCE:B,PR_STRING:S,PR_TAG:F,PR_TYPE:x,prettyPrintOne:y?a.prettyPrintOne=gt:h=gt,prettyPrint:c=y?a.prettyPrint=_e:c=_e},lt=a.define;typeof lt=="function"&&lt.amd&&lt("google-code-prettify",[],function(){return Ce})})()},SKnc:function(D,_,e){var g=e("bYtY"),f=e("QuXc"),y=function(h,c,a,i,r,o){this.x=h==null?0:h,this.y=c==null?0:c,this.x2=a==null?1:a,this.y2=i==null?0:i,this.type="linear",this.global=o||!1,f.call(this,r)};y.prototype={constructor:y},g.inherits(y,f);var m=y;D.exports=m},"SKx+":function(D,_,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}}}),y=f;D.exports=y},SMc4:function(D,_,e){var g=e("bYtY"),f=e("bLfw"),y=e("nkfE"),m=e("ICMv"),v=f.extend({type:"cartesian2dAxis",axis:null,init:function(){v.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){v.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){v.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(i,r){return r.type||(r.data?"category":"value")}g.merge(v.prototype,m);var c={offset:0};y("x",v,h,c),y("y",v,h,c);var a=v;D.exports=a},SRve:function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},SUKs:function(D,_,e){var g=e("LPTA"),f=g.debugMode,y=function(){};f===1&&(y=console.error);var m=y;D.exports=m},SZEN:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.clientToElement=g;function g(f,y,m){var v=m.getBoundingClientRect(),h={x:0,y:0};return f<v.left?h.x=0:f>=v.right?h.x=v.width-1:h.x=f-v.left,y<v.top?h.y=0:y>=v.bottom?h.y=v.height-1:h.y=y-v.top,h}},Sdc0:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("q1tI"),h=e("rePB"),c=e("ODXe"),a=e("Ff2n"),i=e("TSYQ"),r=e.n(i),o=e("6cGi"),d=e("4IlW"),n=v.forwardRef(function(T,L){var x,C=T.prefixCls,I=C===void 0?"rc-switch":C,N=T.className,F=T.checked,k=T.defaultChecked,B=T.disabled,P=T.loadingIcon,K=T.checkedChildren,R=T.unCheckedChildren,U=T.onClick,j=T.onChange,H=T.onKeyDown,W=Object(a.a)(T,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),X=Object(o.a)(!1,{value:F,defaultValue:k}),z=Object(c.a)(X,2),G=z[0],Z=z[1];function ge(Ae,Pe){var Ge=G;return B||(Ge=Ae,Z(Ge),j==null||j(Ge,Pe)),Ge}function Q(Ae){Ae.which===d.a.LEFT?ge(!1,Ae):Ae.which===d.a.RIGHT&&ge(!0,Ae),H==null||H(Ae)}function we(Ae){var Pe=ge(!G,Ae);U==null||U(Pe,Ae)}var Ee=r()(I,N,(x={},Object(h.a)(x,"".concat(I,"-checked"),G),Object(h.a)(x,"".concat(I,"-disabled"),B),x));return v.createElement("button",Object.assign({},W,{type:"button",role:"switch","aria-checked":G,disabled:B,className:Ee,ref:L,onKeyDown:Q,onClick:we}),P,v.createElement("span",{className:"".concat(I,"-inner")},G?K:R))});n.displayName="Switch";var l=n,t=e("gZBC"),s=e.n(t),u=e("g0mS"),p=e("H84U"),w=e("3Nzz"),b=e("uaoM"),E=function(T,L){var x={};for(var C in T)Object.prototype.hasOwnProperty.call(T,C)&&L.indexOf(C)<0&&(x[C]=T[C]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,C=Object.getOwnPropertySymbols(T);I<C.length;I++)L.indexOf(C[I])<0&&Object.prototype.propertyIsEnumerable.call(T,C[I])&&(x[C[I]]=T[C[I]]);return x},A=v.forwardRef(function(T,L){var x,C=T.prefixCls,I=T.size,N=T.loading,F=T.className,k=F===void 0?"":F,B=T.disabled,P=E(T,["prefixCls","size","loading","className","disabled"]);Object(b.a)("checked"in P||!("value"in P),"Switch","`value` is not a valid prop, do you mean `checked`?");var K=v.useContext(p.b),R=K.getPrefixCls,U=K.direction,j=v.useContext(w.b),H=R("switch",C),W=v.createElement("div",{className:"".concat(H,"-handle")},N&&v.createElement(s.a,{className:"".concat(H,"-loading-icon")})),X=r()(k,(x={},m()(x,"".concat(H,"-small"),(I||j)==="small"),m()(x,"".concat(H,"-loading"),N),m()(x,"".concat(H,"-rtl"),U==="rtl"),x));return v.createElement(u.a,{insertExtraNode:!0},v.createElement(l,f()({},P,{prefixCls:H,className:X,disabled:B||N,ref:L,loadingIcon:W})))});A.__ANT_SWITCH=!0,A.displayName="Switch";var S=_.a=A},SehX:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("2B6p"),m=y.updateCenterAndZoom;g.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(v,h){var c=v.componentType||"series";h.eachComponent({mainType:c,query:v},function(a){var i=a.coordinateSystem;if(i.type!=="geo")return;var r=m(i,v,a.get("scaleLimit"));a.setCenter&&a.setCenter(r.center),a.setZoom&&a.setZoom(r.zoom),c==="series"&&f.each(a.seriesGroup,function(o){o.setCenter(r.center),o.setZoom(r.zoom)})})})},SfRM:function(D,_,e){var g=e("YESw");function f(){this.__data__=g?g(null):{},this.size=0}D.exports=f},SgGq:function(D,_,e){var g=e("bYtY"),f=e("H6uX"),y=e("YH21"),m=e("pP6R");function v(t){this.pointerChecker,this._zr=t,this._opt={};var s=g.bind,u=s(h,this),p=s(c,this),w=s(a,this),b=s(i,this),E=s(r,this);f.call(this),this.setPointerChecker=function(A){this.pointerChecker=A},this.enable=function(A,S){this.disable(),this._opt=g.defaults(g.clone(S)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),A==null&&(A=!0),(A===!0||A==="move"||A==="pan")&&(t.on("mousedown",u),t.on("mousemove",p),t.on("mouseup",w)),(A===!0||A==="scale"||A==="zoom")&&(t.on("mousewheel",b),t.on("pinch",E))},this.disable=function(){t.off("mousedown",u),t.off("mousemove",p),t.off("mouseup",w),t.off("mousewheel",b),t.off("pinch",E)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}g.mixin(v,f);function h(t){if(y.isMiddleOrRightButtonOnMouseUpDown(t)||t.target&&t.target.draggable)return;var s=t.offsetX,u=t.offsetY;this.pointerChecker&&this.pointerChecker(t,s,u)&&(this._x=s,this._y=u,this._dragging=!0)}function c(t){if(!this._dragging||!n("moveOnMouseMove",t,this._opt)||t.gestureEvent==="pinch"||m.isTaken(this._zr,"globalPan"))return;var s=t.offsetX,u=t.offsetY,p=this._x,w=this._y,b=s-p,E=u-w;this._x=s,this._y=u,this._opt.preventDefaultMouseMove&&y.stop(t.event),d(this,"pan","moveOnMouseMove",t,{dx:b,dy:E,oldX:p,oldY:w,newX:s,newY:u})}function a(t){y.isMiddleOrRightButtonOnMouseUpDown(t)||(this._dragging=!1)}function i(t){var s=n("zoomOnMouseWheel",t,this._opt),u=n("moveOnMouseWheel",t,this._opt),p=t.wheelDelta,w=Math.abs(p),b=t.offsetX,E=t.offsetY;if(p===0||!s&&!u)return;if(s){var A=w>3?1.4:w>1?1.2:1.1,S=p>0?A:1/A;o(this,"zoom","zoomOnMouseWheel",t,{scale:S,originX:b,originY:E})}if(u){var T=Math.abs(p),L=(p>0?1:-1)*(T>3?.4:T>1?.15:.05);o(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:L,originX:b,originY:E})}}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,u,p,w){t.pointerChecker&&t.pointerChecker(p,w.originX,w.originY)&&(y.stop(p.event),d(t,s,u,p,w))}function d(t,s,u,p,w){w.isAvailableBehavior=g.bind(n,null,u,p),t.trigger(s,w)}function n(t,s,u){var p=u[t];return!t||p&&(!g.isString(p)||s.event[p+"Key"])}var l=v;D.exports=l},SgaC:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;function g(v,h){if(!(v instanceof h))throw new TypeError("Cannot call a class as a function")}function f(v,h){for(var c=0;c<h.length;c++){var a=h[c];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(v,a.key,a)}}function y(v,h,c){return h&&f(v.prototype,h),c&&f(v,c),v}var m=function(){function v(){g(this,v),this._subrects=0}return y(v,[{key:"decodeRect",value:function(c,a,i,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(c,a,i,r,l)}for(;this._subrects>0;){if(o.rQwait("RRE",4+8))return!1;var t=o.rQshiftBytes(4),s=o.rQshift16(),u=o.rQshift16(),p=o.rQshift16(),w=o.rQshift16();d.fillRect(c+s,a+u,p,w,t),this._subrects--}return!0}}]),v}();_.default=m},Sj0X:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("XuBP")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="DownOutlined";var c=y.forwardRef(h);_.default=c},Sj9i:function(D,_,e){var g=e("QBsz"),f=g.create,y=g.distSquare,m=Math.pow,v=Math.sqrt,h=1e-8,c=1e-4,a=v(3),i=1/3,r=f(),o=f(),d=f();function n(C){return C>-h&&C<h}function l(C){return C>h||C<-h}function t(C,I,N,F,k){var B=1-k;return B*B*(B*C+3*k*I)+k*k*(k*F+3*B*N)}function s(C,I,N,F,k){var B=1-k;return 3*(((I-C)*B+2*(N-I)*k)*B+(F-N)*k*k)}function u(C,I,N,F,k,B){var P=F+3*(I-N)-C,K=3*(N-I*2+C),R=3*(I-C),U=C-k,j=K*K-3*P*R,H=K*R-9*P*U,W=R*R-3*K*U,X=0;if(n(j)&&n(H))if(n(K))B[0]=0;else{var z=-R/K;z>=0&&z<=1&&(B[X++]=z)}else{var G=H*H-4*j*W;if(n(G)){var Z=H/j,z=-K/P+Z,ge=-Z/2;z>=0&&z<=1&&(B[X++]=z),ge>=0&&ge<=1&&(B[X++]=ge)}else if(G>0){var Q=v(G),we=j*K+1.5*P*(-H+Q),Ee=j*K+1.5*P*(-H-Q);we<0?we=-m(-we,i):we=m(we,i),Ee<0?Ee=-m(-Ee,i):Ee=m(Ee,i);var z=(-K-(we+Ee))/(3*P);z>=0&&z<=1&&(B[X++]=z)}else{var Ae=(2*j*K-3*P*H)/(2*v(j*j*j)),Pe=Math.acos(Ae)/3,Ge=v(j),gt=Math.cos(Pe),z=(-K-2*Ge*gt)/(3*P),ge=(-K+Ge*(gt+a*Math.sin(Pe)))/(3*P),_e=(-K+Ge*(gt-a*Math.sin(Pe)))/(3*P);z>=0&&z<=1&&(B[X++]=z),ge>=0&&ge<=1&&(B[X++]=ge),_e>=0&&_e<=1&&(B[X++]=_e)}}return X}function p(C,I,N,F,k){var B=6*N-12*I+6*C,P=9*I+3*F-3*C-9*N,K=3*I-3*C,R=0;if(n(P)){if(l(B)){var U=-K/B;U>=0&&U<=1&&(k[R++]=U)}}else{var j=B*B-4*P*K;if(n(j))k[0]=-B/(2*P);else if(j>0){var H=v(j),U=(-B+H)/(2*P),W=(-B-H)/(2*P);U>=0&&U<=1&&(k[R++]=U),W>=0&&W<=1&&(k[R++]=W)}}return R}function w(C,I,N,F,k,B){var P=(I-C)*k+C,K=(N-I)*k+I,R=(F-N)*k+N,U=(K-P)*k+P,j=(R-K)*k+K,H=(j-U)*k+U;B[0]=C,B[1]=P,B[2]=U,B[3]=H,B[4]=H,B[5]=j,B[6]=R,B[7]=F}function b(C,I,N,F,k,B,P,K,R,U,j){var H,W=.005,X=Infinity,z,G,Z,ge;r[0]=R,r[1]=U;for(var Q=0;Q<1;Q+=.05)o[0]=t(C,N,k,P,Q),o[1]=t(I,F,B,K,Q),Z=y(r,o),Z<X&&(H=Q,X=Z);X=Infinity;for(var we=0;we<32&&!(W<c);we++)z=H-W,G=H+W,o[0]=t(C,N,k,P,z),o[1]=t(I,F,B,K,z),Z=y(o,r),z>=0&&Z<X?(H=z,X=Z):(d[0]=t(C,N,k,P,G),d[1]=t(I,F,B,K,G),ge=y(d,r),G<=1&&ge<X?(H=G,X=ge):W*=.5);return j&&(j[0]=t(C,N,k,P,H),j[1]=t(I,F,B,K,H)),v(X)}function E(C,I,N,F){var k=1-F;return k*(k*C+2*F*I)+F*F*N}function A(C,I,N,F){return 2*((1-F)*(I-C)+F*(N-I))}function S(C,I,N,F,k){var B=C-2*I+N,P=2*(I-C),K=C-F,R=0;if(n(B)){if(l(P)){var U=-K/P;U>=0&&U<=1&&(k[R++]=U)}}else{var j=P*P-4*B*K;if(n(j)){var U=-P/(2*B);U>=0&&U<=1&&(k[R++]=U)}else if(j>0){var H=v(j),U=(-P+H)/(2*B),W=(-P-H)/(2*B);U>=0&&U<=1&&(k[R++]=U),W>=0&&W<=1&&(k[R++]=W)}}return R}function T(C,I,N){var F=C+N-2*I;return F===0?.5:(C-I)/F}function L(C,I,N,F,k){var B=(I-C)*F+C,P=(N-I)*F+I,K=(P-B)*F+B;k[0]=C,k[1]=B,k[2]=K,k[3]=K,k[4]=P,k[5]=N}function x(C,I,N,F,k,B,P,K,R){var U,j=.005,H=Infinity;r[0]=P,r[1]=K;for(var W=0;W<1;W+=.05){o[0]=E(C,N,k,W),o[1]=E(I,F,B,W);var X=y(r,o);X<H&&(U=W,H=X)}H=Infinity;for(var z=0;z<32&&!(j<c);z++){var G=U-j,Z=U+j;o[0]=E(C,N,k,G),o[1]=E(I,F,B,G);var X=y(o,r);if(G>=0&&X<H)U=G,H=X;else{d[0]=E(C,N,k,Z),d[1]=E(I,F,B,Z);var ge=y(d,r);Z<=1&&ge<H?(U=Z,H=ge):j*=.5}}return R&&(R[0]=E(C,N,k,U),R[1]=E(I,F,B,U)),v(H)}_.cubicAt=t,_.cubicDerivativeAt=s,_.cubicRootAt=u,_.cubicExtrema=p,_.cubicSubdivide=w,_.cubicProjectPoint=b,_.quadraticAt=E,_.quadraticDerivativeAt=A,_.quadraticRootAt=S,_.quadraticExtremum=T,_.quadraticSubdivide=L,_.quadraticProjectPoint=x},Sp2Z:function(D,_,e){var g=e("3LNs"),f=e("/y7N"),y=e("AVZG"),m=e("Znkb"),v=g.extend({makeElOption:function(r,o,d,n,l){var t=d.axis,s=t.grid,u=n.get("type"),p=h(s,t).getOtherAxis(t).getGlobalExtent(),w=t.toGlobalCoord(t.dataToCoord(o,!0));if(u&&u!=="none"){var b=f.buildElStyle(n),E=c[u](t,w,p);E.style=b,r.graphicKey=E.type,r.pointer=E}var A=y.layout(s.model,d);f.buildCartesianSingleLabelElOption(o,r,A,d,n,l)},getHandleTransform:function(r,o,d){var n=y.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),u=h(t,l).getOtherAxis(l).getGlobalExtent(),p=l.dim==="x"?0:1,w=r.position;w[p]+=o[p],w[p]=Math.min(s[1],w[p]),w[p]=Math.max(s[0],w[p]);var b=(u[1]+u[0])/2,E=[b,b];E[p]=w[p];var A=[{verticalAlign:"middle"},{align:"center"}];return{position:w,rotation:r.rotation,cursorPoint:E,tooltipOption:A[p]}}});function h(r,o){var d={};return d[o.dim+"AxisIndex"]=o.index,r.getCartesian(d)}var c={line:function(r,o,d){var n=f.makeLineShape([o,d[0]],[o,d[1]],a(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],a(r))}}};function a(r){return r.dim==="x"?0:1}m.registerAxisPointerClass("CartesianAxisPointer",v);var i=v;D.exports=i},Sq3C:function(D,_,e){var g=e("sKgW"),f=e("zoYe"),y=e("wy8a"),m=e("quyA"),v=e("Z1HP"),h=e("Em2t"),c=Math.ceil;function a(i,r){r=r===void 0?" ":f(r);var o=r.length;if(o<2)return o?g(r,i):r;var d=g(r,c(i/v(r)));return m(r)?y(h(d),0,i).join(""):d.slice(0,i)}D.exports=a},SqI9:function(D,_,e){var g=e("y+Vt"),f=e("iXp4"),y=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(v,h){var c=h.cx,a=h.cy,i=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);v.moveTo(l*i+c,t*i+a),v.lineTo(l*r+c,t*r+a),v.arc(c,a,r,o,d,!n),v.lineTo(Math.cos(d)*i+c,Math.sin(d)*i+a),i!==0&&v.arc(c,a,i,d,o,n),v.closePath()}});D.exports=y},SrGk:function(D,_,e){var g=e("hydK"),f=g.createElement,y=e("bYtY"),m=e("y+Vt"),v=e("Dagg"),h=e("dqUG"),c=e("P47w"),a=c.path,i=c.image,r=c.text,o="0",d="1";function n(t,s,u,p,w){this._zrId=t,this._svgRoot=s,this._tagNames=typeof u=="string"?[u]:u,this._markLabel=p,this._domName=w||"_dom",this.nextId=0}n.prototype.createElement=f,n.prototype.getDefs=function(t){var s=this._svgRoot,u=this._svgRoot.getElementsByTagName("defs");return u.length===0?t?(u=s.insertBefore(this.createElement("defs"),s.firstChild),u.contains||(u.contains=function(p){var w=u.children;if(!w)return!1;for(var b=w.length-1;b>=0;--b)if(w[b]===p)return!0;return!1}),u):null:u[0]},n.prototype.update=function(t,s){if(!t)return;var u=this.getDefs(!1);if(t[this._domName]&&u.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 y.each(this._tagNames,function(u){var p=t.getElementsByTagName(u);s=s.concat([].slice.call(p))}),s},n.prototype.markAllUnused=function(){var t=this.getDoms(),s=this;y.each(t,function(u){u[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(),u=this;y.each(s,function(p){p[u._markLabel]!==d&&t.removeChild(p)})},n.prototype.getSvgProxy=function(t){return t instanceof m?a:t instanceof v?i:t instanceof h?r:a},n.prototype.getTextSvgElement=function(t){return t.__textSvgEl},n.prototype.getSvgElement=function(t){return t.__svgEl};var l=n;D.exports=l},Swgg:function(D,_,e){var g=e("fc+c"),f=g.extend({type:"dataZoom.select"});D.exports=f},Sxd8:function(D,_,e){var g=e("ZCgT");function f(y){var m=g(y),v=m%1;return m===m?v?m-v:m:0}D.exports=f},T1rO:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("zdCA"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},T4UG:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=e("ItGF"),v=e("7aKB"),h=v.formatTime,c=v.encodeHTML,a=v.addCommas,i=v.getTooltipMarker,r=e("4NO4"),o=e("bLfw"),d=e("5Hur"),n=e("OKJ2"),l=e("+TT/"),t=l.getLayoutParams,s=l.mergeLayoutParam,u=e("9H2F"),p=u.createTask,w=e("D5nY"),b=w.prepareSource,E=w.getSource,A=e("KxfA"),S=A.retrieveRawValue,T=r.makeInner(),L=o.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(R,U,j,H){this.seriesIndex=this.componentIndex,this.dataTask=p({count:I,reset:N}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(R,j),b(this);var W=this.getInitialData(R,j);k(W,this),this.dataTask.context.data=W,T(this).dataBeforeProcessed=W,x(this)},mergeDefaultAndTheme:function(R,U){var j=this.layoutMode,H=j?t(R):{},W=this.subType;o.hasClass(W)&&(W+="Series"),y.merge(R,U.getTheme().get(this.subType)),y.merge(R,this.getDefaultOption()),r.defaultEmphasis(R,"label",["show"]),this.fillDataTextStyle(R.data),j&&s(R,H,j)},mergeOption:function(R,U){R=y.merge(this.option,R,!0),this.fillDataTextStyle(R.data);var j=this.layoutMode;j&&s(this.option,R,j),b(this);var H=this.getInitialData(R,U);k(H,this),this.dataTask.dirty(),this.dataTask.context.data=H,T(this).dataBeforeProcessed=H,x(this)},fillDataTextStyle:function(R){if(R&&!y.isTypedArray(R))for(var U=["show"],j=0;j<R.length;j++)R[j]&&R[j].label&&r.defaultEmphasis(R[j],"label",U)},getInitialData:function(){},appendData:function(R){var U=this.getRawData();U.appendData(R.data)},getData:function(R){var U=P(this);if(U){var j=U.context.data;return R==null?j:j.getLinkedData(R)}else return T(this).data},setData:function(R){var U=P(this);if(U){var j=U.context;j.data!==R&&U.modifyOutputEnd&&U.setOutputEnd(R.count()),j.outputData=R,U!==this.dataTask&&(j.data=R)}T(this).data=R},getSource:function(){return E(this)},getRawData:function(){return T(this).dataBeforeProcessed},getBaseAxis:function(){var R=this.coordinateSystem;return R&&R.getBaseAxis&&R.getBaseAxis()},formatTooltip:function(R,U,j,H){var W=this;H=H||"html";var X=H==="html"?"<br/>":`
`,z=H==="richText",G={},Z=0;function ge(ye){var Fe=y.reduce(ye,function(Je,mt,Ct){var Ue=we.getDimensionInfo(Ct);return Je|=Ue&&Ue.tooltip!==!1&&Ue.displayName!=null},0),Oe=[];Ee.length?y.each(Ee,function(Je){se(S(we,R,Je),Je)}):y.each(ye,se);function se(Je,mt){var Ct=we.getDimensionInfo(mt);if(!Ct||Ct.otherDims.tooltip===!1)return;var Ue=Ct.type,Rt="sub"+W.seriesIndex+"at"+Z,Ke=i({color:gt,type:"subItem",renderMode:H,markerId:Rt}),wt=typeof Ke=="string"?Ke:Ke.content,Ye=(Fe?wt+c(Ct.displayName||"-")+": ":"")+c(Ue==="ordinal"?Je+"":Ue==="time"?U?"":h("yyyy/MM/dd hh:mm:ss",Je):a(Je));Ye&&Oe.push(Ye),z&&(G[Rt]=gt,++Z)}var fe=Fe?z?`
`:"<br/>":"",Le=fe+Oe.join(fe||", ");return{renderMode:H,content:Le,style:G}}function Q(ye){return{renderMode:H,content:c(a(ye)),style:G}}var we=this.getData(),Ee=we.mapDimension("defaultedTooltip",!0),Ae=Ee.length,Pe=this.getRawValue(R),Ge=y.isArray(Pe),gt=we.getItemVisual(R,"color");y.isObject(gt)&&gt.colorStops&&(gt=(gt.colorStops[0]||{}).color),gt=gt||"transparent";var _e=Ae>1||Ge&&!Ae?ge(Pe):Q(Ae?S(we,R,Ee[0]):Ge?Pe[0]:Pe),Ce=_e.content,lt=W.seriesIndex+"at"+Z,ce=i({color:gt,type:"item",renderMode:H,markerId:lt});G[lt]=gt,++Z;var Y=we.getName(R),V=this.name;r.isNameSpecified(this)||(V=""),V=V?c(V)+(U?": ":X):"";var $=typeof ce=="string"?ce:ce.content,Te=U?$+V+Ce:V+$+(Y?c(Y)+": "+Ce:Ce);return{html:Te,markers:G}},isAnimationEnabled:function(){if(m.node)return!1;var R=this.getShallow("animation");return R&&(this.getData().count()>this.getShallow("animationThreshold")&&(R=!1)),R},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(R,U,j){var H=this.ecModel,W=d.getColorFromPalette.call(this,R,U,j);return W||(W=H.getColorFromPalette(R,U,j)),W},coordDimToDataDim:function(R){return this.getRawData().mapDimension(R,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});y.mixin(L,n),y.mixin(L,d);function x(R){var U=R.name;r.isNameSpecified(R)||(R.name=C(R)||U)}function C(R){var U=R.getRawData(),j=U.mapDimension("seriesName",!0),H=[];return y.each(j,function(W){var X=U.getDimensionInfo(W);X.displayName&&H.push(X.displayName)}),H.join(" ")}function I(R){return R.model.getRawData().count()}function N(R){var U=R.model;return U.setData(U.getRawData().cloneShallow()),F}function F(R,U){U.outputData&&R.end>U.outputData.count()&&U.model.getRawData().cloneShallow(U.outputData)}function k(R,U){y.each(R.CHANGABLE_METHODS,function(j){R.wrapMethod(j,y.curry(B,U))})}function B(R){var U=P(R);U&&U.setOutputEnd(this.count())}function P(R){var U=(R.ecModel||{}).scheduler,j=U&&U.getPipeline(R.uid);if(j){var H=j.currentTask;if(H){var W=H.agentStubMap;W&&(H=W.get(R.uid))}return H}}var K=L;D.exports=K},T6xi:function(D,_,e){var g=e("YgsL"),f=e("nCxF");function y(m,v,h){var c=v.points,a=v.smooth;if(c&&c.length>=2){if(a&&a!=="spline"){var i=f(c,a,h,v.smoothConstraint);m.moveTo(c[0][0],c[0][1]);for(var r=c.length,o=0;o<(h?r:r-1);o++){var d=i[o*2],n=i[o*2+1],l=c[(o+1)%r];m.bezierCurveTo(d[0],d[1],n[0],n[1],l[0],l[1])}}else{a==="spline"&&(c=g(c,h)),m.moveTo(c[0][0],c[0][1]);for(var o=1,t=c.length;o<t;o++)m.lineTo(c[o][0],c[o][1])}h&&m.closePath()}}_.buildPath=y},TIY9:function(D,_,e){var g=e("bYtY"),f=g.each,y=e("vafp"),m=e("4NO4"),v=m.makeInner,h=e("Mgri"),c=e("F5Ls"),a=e("a9QJ"),i=e("p/La"),r=v(),o={load:function(n,l,t){var s=r(l).parsed;if(s)return s;var u=l.specialAreas||{},p=l.geoJSON,w;try{w=p?y(p,t):[]}catch(b){throw new Error(`Invalid geoJson format
`+b.message)}return h(n,w),f(w,function(b){var E=b.name;c(n,b),a(n,b),i(n,b);var A=u[E];A&&b.transformTo(A.left,A.top,A.width,A.height)}),r(l).parsed={regions:w,boundingRect:d(w)}}};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}D.exports=o},TJmX:function(D,_,e){var g=e("zM3Q"),f=["itemStyle","borderColor"],y=["itemStyle","borderColor0"],m=["itemStyle","color"],v=["itemStyle","color0"],h={seriesType:"candlestick",plan:g(),performRawSeries:!0,reset:function(c,a){var i=c.getData();if(i.setVisual({legendSymbol:"roundRect",colorP:d(1,c),colorN:d(-1,c),borderColorP:n(1,c),borderColorN:n(-1,c)}),a.isSeriesFiltered(c))return;var r=c.pipelineContext.large;return!r&&{progress:o};function o(l,t){for(var s;(s=l.next())!=null;){var u=t.getItemModel(s),p=t.getItemLayout(s).sign;t.setItemVisual(s,{color:d(p,u),borderColor:n(p,u)})}}function d(l,t){return t.get(l>0?m:v)}function n(l,t){return t.get(l>0?f:y)}}};D.exports=h},TWL2:function(D,_,e){var g=e("IwbS"),f=e("bYtY"),y=e("6Ic6");function m(i,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(i,r,!0)}var v=m.prototype,h=["itemStyle","opacity"];v.updateData=function(i,r,o){var d=this.childAt(0),n=i.hostModel,l=i.getItemModel(r),t=i.getItemLayout(r),s=i.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 u=l.getModel("itemStyle"),p=i.getItemVisual(r,"color");d.setStyle(f.defaults({lineJoin:"round",fill:p},u.getItemStyle(["opacity"]))),d.hoverStyle=u.getModel("emphasis").getItemStyle(),this._updateLabel(i,r),g.setHoverStyle(this)},v._updateLabel=function(i,r){var o=this.childAt(1),d=this.childAt(2),n=i.hostModel,l=i.getItemModel(r),t=i.getItemLayout(r),s=t.label,u=i.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"),w=l.getModel("emphasis.label"),b=l.getModel("labelLine"),E=l.getModel("emphasis.labelLine"),u=i.getItemVisual(r,"color");g.setLabelStyle(d.style,d.hoverStyle={},p,w,{labelFetcher:i.hostModel,labelDataIndex:r,defaultText:i.getName(r),autoColor:u,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign}),d.ignore=d.normalIgnore=!p.get("show"),d.hoverIgnore=!w.get("show"),o.ignore=o.normalIgnore=!b.get("show"),o.hoverIgnore=!E.get("show"),o.setStyle({stroke:u}),o.setStyle(b.getModel("lineStyle").getLineStyle()),o.hoverStyle=E.getModel("lineStyle").getLineStyle()},f.inherits(m,g.Group);var c=y.extend({type:"funnel",render:function(i,r,o){var d=i.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 u=n.getItemGraphicEl(s);u.updateData(d,t),l.add(u),d.setItemGraphicEl(t,u)}).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(){}}),a=c;D.exports=a},TYVI:function(D,_,e){var g=e("5GtS"),f=e("T4UG"),y=f.extend({type:"series.gauge",getInitialData:function(v,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=y;D.exports=m},Tghj:function(D,_,e){(function(g){var f;typeof window!="undefined"?f=window.__DEV__:typeof g!="undefined"&&(f=g.__DEV__),typeof f=="undefined"&&(f=!0);var y=f;_.__DEV__=y}).call(this,e("yLpj"))},ThAp:function(D,_,e){var g=e("bYtY"),f=e("5GtS"),y=e("T4UG"),m=e("7aKB"),v=m.encodeHTML,h=m.addCommas,c=e("cCMj"),a=e("KxfA"),i=a.retrieveRawAttr,r=e("W4dC"),o=e("D5nY"),d=o.makeSeriesEncodeForNameBased,n=y.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)}),u=s.mapDimension("value"),p=g.createHashMap(),w=[],b=[],E=0,A=s.count();E<A;E++){var S=s.getName(E);p.set(S,!0),w.push({name:S,value:s.get(u,E),selected:i(s,E,"selected")})}var T=r.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return g.each(T.regions,function(L){var x=L.name;p.get(x)||(w.push({name:x}),b.push(x))}),this.updateSelectedMap(w),s.appendValues([],b),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(),u=h(this.getRawValue(t)),p=s.getName(t),w=this.seriesGroup,b=[],E=0;E<w.length;E++){var A=w[E].originalData.indexOfName(p),S=s.mapDimension("value");isNaN(w[E].originalData.get(S,A))||b.push(v(w[E].name))}return b.join(", ")+"<br />"+v(p+" : "+u)},getTooltipPosition:function(t){if(t!=null){var s=this.getData().getName(t),u=this.coordinateSystem,p=u.getRegion(s);return p&&u.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,c);var l=n;D.exports=l},TkdX:function(D,_,e){var g=e("bYtY"),f=e("IwbS"),y={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},m=2,v=4;function h(n,l,t){f.Group.call(this);var s=new f.Sector({z2:m});s.seriesIndex=l.seriesIndex;var u=new f.Text({z2:v,silent:n.getModel("label").get("silent")});this.add(s),this.add(u),this.updateData(!0,n,"normal",l,t);function p(){u.ignore=u.hoverIgnore}function w(){u.ignore=u.normalIgnore}this.on("emphasis",p).on("normal",w).on("mouseover",p).on("mouseout",w)}var c=h.prototype;c.updateData=function(n,l,t,s,u){this.node=l,l.piece=this,s=s||this._seriesModel,u=u||this._ecModel;var p=this.childAt(0);p.dataIndex=l.dataIndex;var w=l.getModel(),b=l.getLayout(),E=g.extend({},b);E.label=null;var A=i(l,s,u);d(l,s,A);var S=w.getModel("itemStyle").getItemStyle(),T;if(t==="normal")T=S;else{var L=w.getModel(t+".itemStyle").getItemStyle();T=g.merge(L,S)}T=g.defaults({lineJoin:"bevel",fill:T.fill||A},T),n?(p.setShape(E),p.shape.r=b.r0,f.updateProps(p,{shape:{r:b.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:E},s),p.useStyle(T)):f.updateProps(p,{shape:E,style:T},s),this._updateLabel(s,A,t);var x=w.getShallow("cursor");if(x&&p.attr("cursor",x),n){var C=s.getShallow("highlightPolicy");this._initEvents(p,l,s,C)}this._seriesModel=s||this._seriesModel,this._ecModel=u||this._ecModel,f.setHoverStyle(this)},c.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!==y.NONE&&t.piece.childAt(0).trigger("downplay"))})},c.onNormal=function(){this.node.hostTree.root.eachNode(function(n){n.piece&&n.piece.updateData(!1,n,"normal")})},c.onHighlight=function(){this.updateData(!1,this.node,"highlight")},c.onDownplay=function(){this.updateData(!1,this.node,"downplay")},c._updateLabel=function(n,l,t){var s=this.node.getModel(),u=s.getModel("label"),p=t==="normal"||t==="emphasis"?u:s.getModel(t+".label"),w=s.getModel("emphasis.label"),b=g.retrieve(n.getFormattedLabel(this.node.dataIndex,t,null,null,"label"),this.node.name);U("show")===!1&&(b="");var E=this.node.getLayout(),A=p.get("minAngle");A==null&&(A=u.get("minAngle")),A=A/180*Math.PI;var S=E.endAngle-E.startAngle;A!=null&&Math.abs(S)<A&&(b="");var T=this.childAt(1);f.setLabelStyle(T.style,T.hoverStyle||{},u,w,{defaultText:p.getShallow("show")?b:null,autoColor:l,useInsideStyle:!0});var L=(E.startAngle+E.endAngle)/2,x=Math.cos(L),C=Math.sin(L),I,N=U("position"),F=U("distance")||0,k=U("align");N==="outside"?(I=E.r+F,k=L>Math.PI/2?"right":"left"):!k||k==="center"?(I=(E.r+E.r0)/2,k="center"):k==="left"?(I=E.r0+F,L>Math.PI/2&&(k="right")):k==="right"&&(I=E.r-F,L>Math.PI/2&&(k="left")),T.attr("style",{text:b,textAlign:k,textVerticalAlign:U("verticalAlign")||"middle",opacity:U("opacity")});var B=I*x+E.cx,P=I*C+E.cy;T.attr("position",[B,P]);var K=U("rotate"),R=0;K==="radial"?(R=-L,R<-Math.PI/2&&(R+=Math.PI)):K==="tangential"?(R=Math.PI/2-L,R>Math.PI/2?R-=Math.PI:R<-Math.PI/2&&(R+=Math.PI)):typeof K=="number"&&(R=K*Math.PI/180),T.attr("rotation",R);function U(j){var H=p.get(j);return H==null?u.get(j):H}},c._initEvents=function(n,l,t,s){n.off("mouseover").off("mouseout").off("emphasis").off("normal");var u=this,p=function(){u.onEmphasis(s)},w=function(){u.onNormal()},b=function(){u.onDownplay()},E=function(){u.onHighlight()};t.isAnimationEnabled()&&n.on("mouseover",p).on("mouseout",w).on("emphasis",p).on("normal",w).on("downplay",b).on("highlight",E)},g.inherits(h,f.Group);var a=h;function i(n,l,t){var s=n.getVisual("color"),u=n.getVisual("visualMeta");(!u||u.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 w=t.option.color.length;return p=t.option.color[r(n)%w],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===y.NONE?!1:t===y.SELF?n===l:t===y.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)}D.exports=a},Tp9H:function(D,_,e){var g=e("ItGF"),f=e("Kagy"),y=e("IUWy"),m=f.toolbox.saveAsImage;function v(a){this.model=a}v.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()},v.prototype.unusable=!g.canvasSupported;var h=v.prototype;h.onclick=function(a,i){var r=this.model,o=r.get("name")||a.get("title.0.text")||"echarts",d=i.getZr().painter.getType()==="svg",n=d?"svg":r.get("type",!0)||"png",l=i.getConnectedDataURL({type:n,backgroundColor:r.get("backgroundColor",!0)||a.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 u=atob(l.split(",")[1]),p=u.length,w=new Uint8Array(p);p--;)w[p]=u.charCodeAt(p);var b=new Blob([w]);window.navigator.msSaveOrOpenBlob(b,o+"."+n)}else{var E=r.get("lang"),A='<body style="margin:0;"><img src="'+l+'" style="max-width:100%;" title="'+(E&&E[0]||"")+'" /></body>',S=window.open();S.document.write(A)}},y.register("saveAsImage",v);var c=v;D.exports=c},"U/Mo":function(D,_){function e(f){var y=f.coordinateSystem;if(y.type!=="view")return 1;var m=f.option.nodeScaleRatio,v=y.scale,h=v&&v[0]||1,c=y.getZoom(),a=(c-1)*m+1;return a/h}function g(f){var y=f.getVisual("symbolSize");return y instanceof Array&&(y=(y[0]+y[1])/2),+y}_.getNodeGlobalScale=e,_.getSymbolSize=g},UADf:function(D,_,e){},UESt:function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="RightOutlined";var h=_.a=g.forwardRef(v)},"UNi/":function(D,_){function e(g,f){for(var y=-1,m=Array(g);++y<g;)m[y]=f(y);return m}D.exports=e},UOVi:function(D,_,e){var g=e("bYtY"),f=e("7aKB"),y=["x","y","z","radius","angle","single"],m=["cartesian2d","polar","singleAxis"];function v(i){return g.indexOf(m,i)>=0}function h(i,r){i=i.slice();var o=g.map(i,f.capitalFirst);r=(r||[]).slice();var d=g.map(r,f.capitalFirst);return function(n,l){g.each(i,function(t,s){for(var u={name:t,capital:o[s]},p=0;p<r.length;p++)u[r[p]]=t+d[p];n.call(l,u)})}}var c=h(y,["axisIndex","axis","index","id"]);function a(i,r,o){return function(t){var s={nodes:[],records:{}};if(r(function(w){s.records[w.name]={}}),!t)return s;l(t,s);var u;do u=!1,i(p);while(u);function p(w){!d(w,s)&&n(w,s)&&(l(w,s),u=!0)}return s};function d(t,s){return g.indexOf(s.nodes,t)>=0}function n(t,s){var u=!1;return r(function(p){g.each(o(t,p)||[],function(w){s.records[p.name][w]&&(u=!0)})}),u}function l(t,s){s.nodes.push(t),r(function(u){g.each(o(t,u)||[],function(p){s.records[u.name][p]=!0})})}}_.isCoordSupported=v,_.createNameEach=h,_.eachAxisDim=c,_.createLinkedNodesFinder=a},Uc92:function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},UmKh:function(D,_,e){"use strict";var g=e("q1tI"),f=e.n(g),y=e("aGtg");function m(K){var R=[];return f.a.Children.forEach(K,function(U){R.push(U)}),R}function v(K,R){var U=null;return K&&K.forEach(function(j){if(U)return;j&&j.key===R&&(U=j)}),U}function h(K,R,U){var j=null;return K&&K.forEach(function(H){if(H&&H.key===R&&H.props[U]){if(j)throw new Error("two child with same key for <rc-animate> children");j=H}}),j}function c(K,R,U){var j=0;return K&&K.forEach(function(H){if(j)return;j=H&&H.key===R&&!H.props[U]}),j}function a(K,R,U){var j=K.length===R.length;return j&&K.forEach(function(H,W){var X=R[W];H&&X&&((H&&!X||!H&&X||(H.key!==X.key||U&&H.props[U]!==X.props[U]))&&(j=!1))}),j}function i(K,R){var U=[],j={},H=[];return K.forEach(function(W){W&&v(R,W.key)?H.length&&(j[W.key]=H,H=[]):H.push(W)}),R.forEach(function(W){W&&Object.prototype.hasOwnProperty.call(j,W.key)&&(U=U.concat(j[W.key])),U.push(W)}),U=U.concat(H),U}var r=e("i8i4"),o=e.n(r),d=e("UwPn"),n={isAppearSupported:function(R){return R.transitionName&&R.transitionAppear||R.animation.appear},isEnterSupported:function(R){return R.transitionName&&R.transitionEnter||R.animation.enter},isLeaveSupported:function(R){return R.transitionName&&R.transitionLeave||R.animation.leave},allowAppearCallback:function(R){return R.transitionAppear||R.animation.appear},allowEnterCallback:function(R){return R.transitionEnter||R.animation.enter},allowLeaveCallback:function(R){return R.transitionLeave||R.animation.leave}},l=n,t=function(){function K(R,U){for(var j=0;j<U.length;j++){var H=U[j];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(R,H.key,H)}}return function(R,U,j){return U&&K(R.prototype,U),j&&K(R,j),R}}();function s(K,R){if(!(K instanceof R))throw new TypeError("Cannot call a class as a function")}function u(K,R){if(!K)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R&&(typeof R=="object"||typeof R=="function")?R:K}function p(K,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof R);K.prototype=Object.create(R&&R.prototype,{constructor:{value:K,enumerable:!1,writable:!0,configurable:!0}}),R&&(Object.setPrototypeOf?Object.setPrototypeOf(K,R):K.__proto__=R)}var w={enter:"transitionEnter",appear:"transitionAppear",leave:"transitionLeave"},b=function(K){p(R,K);function R(){return s(this,R),u(this,(R.__proto__||Object.getPrototypeOf(R)).apply(this,arguments))}return t(R,[{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,H){var W=this,X=o.a.findDOMNode(this),z=this.props,G=z.transitionName,Z=typeof G=="object";this.stop();var ge=function(){W.stopper=null,H()};if((d.b||!z.animation[j])&&G&&z[w[j]]){var Q=Z?G[j]:G+"-"+j,we=Q+"-active";Z&&G[j+"Active"]&&(we=G[j+"Active"]),this.stopper=Object(d.a)(X,{name:Q,active:we},ge)}else this.stopper=z.animation[j](X,ge)}},{key:"stop",value:function(){var j=this.stopper;j&&(this.stopper=null,j.stop())}},{key:"render",value:function(){return this.props.children}}]),R}(f.a.Component),E=b,A=Object.assign||function(K){for(var R=1;R<arguments.length;R++){var U=arguments[R];for(var j in U)Object.prototype.hasOwnProperty.call(U,j)&&(K[j]=U[j])}return K},S=function(){function K(R,U){for(var j=0;j<U.length;j++){var H=U[j];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(R,H.key,H)}}return function(R,U,j){return U&&K(R.prototype,U),j&&K(R,j),R}}();function T(K,R,U){return R in K?Object.defineProperty(K,R,{value:U,enumerable:!0,configurable:!0,writable:!0}):K[R]=U,K}function L(K,R){if(!(K instanceof R))throw new TypeError("Cannot call a class as a function")}function x(K,R){if(!K)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R&&(typeof R=="object"||typeof R=="function")?R:K}function C(K,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof R);K.prototype=Object.create(R&&R.prototype,{constructor:{value:K,enumerable:!1,writable:!0,configurable:!0}}),R&&(Object.setPrototypeOf?Object.setPrototypeOf(K,R):K.__proto__=R)}var I="rc_animate_"+Date.now();function N(K){var R=K.children;return f.a.isValidElement(R)&&!R.key?f.a.cloneElement(R,{key:I}):R}function F(){}var k=function(K){C(R,K);function R(U){L(this,R);var j=x(this,(R.__proto__||Object.getPrototypeOf(R)).call(this,U));return B.call(j),j.currentlyAnimatingKeys={},j.keysToEnter=[],j.keysToLeave=[],j.state={children:m(N(U))},j.childrenRefs={},j}return S(R,[{key:"componentDidMount",value:function(){var j=this,H=this.props.showProp,W=this.state.children;H&&(W=W.filter(function(X){return!!X.props[H]})),W.forEach(function(X){X&&j.performAppear(X.key)})}},{key:"componentWillReceiveProps",value:function(j){var H=this;this.nextProps=j;var W=m(N(j)),X=this.props;X.exclusive&&Object.keys(this.currentlyAnimatingKeys).forEach(function(Q){H.stop(Q)});var z=X.showProp,G=this.currentlyAnimatingKeys,Z=X.exclusive?m(N(X)):this.state.children,ge=[];z?(Z.forEach(function(Q){var we=Q&&v(W,Q.key),Ee=void 0;(!we||!we.props[z])&&Q.props[z]?Ee=f.a.cloneElement(we||Q,T({},z,!0)):Ee=we,Ee&&ge.push(Ee)}),W.forEach(function(Q){(!Q||!v(Z,Q.key))&&ge.push(Q)})):ge=i(Z,W),this.setState({children:ge}),W.forEach(function(Q){var we=Q&&Q.key;if(Q&&G[we])return;var Ee=Q&&v(Z,we);if(z){var Ae=Q.props[z];if(Ee){var Pe=h(Z,we,z);!Pe&&Ae&&H.keysToEnter.push(we)}else Ae&&H.keysToEnter.push(we)}else Ee||H.keysToEnter.push(we)}),Z.forEach(function(Q){var we=Q&&Q.key;if(Q&&G[we])return;var Ee=Q&&v(W,we);if(z){var Ae=Q.props[z];if(Ee){var Pe=h(W,we,z);!Pe&&Ae&&H.keysToLeave.push(we)}else Ae&&H.keysToLeave.push(we)}else Ee||H.keysToLeave.push(we)})}},{key:"componentDidUpdate",value:function(){var j=this.keysToEnter;this.keysToEnter=[],j.forEach(this.performEnter);var H=this.keysToLeave;this.keysToLeave=[],H.forEach(this.performLeave)}},{key:"isValidChildByKey",value:function(j,H){var W=this.props.showProp;return W?h(j,H,W):v(j,H)}},{key:"stop",value:function(j){delete this.currentlyAnimatingKeys[j];var H=this.childrenRefs[j];H&&H.stop()}},{key:"render",value:function(){var j=this,H=this.props;this.nextProps=H;var W=this.state.children,X=null;W&&(X=W.map(function(Z){if(Z==null)return Z;if(!Z.key)throw new Error("must set key for <rc-animate> children");return f.a.createElement(E,{key:Z.key,ref:function(Q){j.childrenRefs[Z.key]=Q},animation:H.animation,transitionName:H.transitionName,transitionEnter:H.transitionEnter,transitionAppear:H.transitionAppear,transitionLeave:H.transitionLeave},Z)}));var z=H.component;if(z){var G=H;return typeof z=="string"&&(G=A({className:H.className,style:H.style},H.componentProps)),f.a.createElement(z,G,X)}return X[0]||null}}]),R}(f.a.Component);k.isAnimate=!0,k.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:F,onEnter:F,onLeave:F,onAppear:F};var B=function(){var R=this;this.performEnter=function(U){R.childrenRefs[U]&&(R.currentlyAnimatingKeys[U]=!0,R.childrenRefs[U].componentWillEnter(R.handleDoneAdding.bind(R,U,"enter")))},this.performAppear=function(U){R.childrenRefs[U]&&(R.currentlyAnimatingKeys[U]=!0,R.childrenRefs[U].componentWillAppear(R.handleDoneAdding.bind(R,U,"appear")))},this.handleDoneAdding=function(U,j){var H=R.props;if(delete R.currentlyAnimatingKeys[U],H.exclusive&&H!==R.nextProps)return;var W=m(N(H));R.isValidChildByKey(W,U)?j==="appear"?l.allowAppearCallback(H)&&(H.onAppear(U),H.onEnd(U,!0)):l.allowEnterCallback(H)&&(H.onEnter(U),H.onEnd(U,!0)):R.performLeave(U)},this.performLeave=function(U){R.childrenRefs[U]&&(R.currentlyAnimatingKeys[U]=!0,R.childrenRefs[U].componentWillLeave(R.handleDoneLeaving.bind(R,U)))},this.handleDoneLeaving=function(U){var j=R.props;if(delete R.currentlyAnimatingKeys[U],j.exclusive&&j!==R.nextProps)return;var H=m(N(j));if(R.isValidChildByKey(H,U))R.performEnter(U);else{var W=function(){l.allowLeaveCallback(j)&&(j.onLeave(U),j.onEnd(U,!1))};a(R.state.children,H,j.showProp)?W():R.setState({children:H},W)}}},P=_.a=Object(y.a)(k)},UnoB:function(D,_,e){var g=e("bYtY"),f=e("OELB");function y(h,c){h.eachSeriesByType("themeRiver",function(a){var i=a.getData(),r=a.coordinateSystem,o={},d=r.getRect();o.rect=d;var n=a.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(i,a,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(i,a,s)}i.setLayout("layoutInfo",o)})}function m(h,c,a){if(!h.count())return;for(var i=c.coordinateSystem,r=c.getLayerSeries(),o=h.mapDimension("single"),d=h.mapDimension("value"),n=g.map(r,function(A){return g.map(A.indices,function(S){var T=i.dataToPoint(h.get(o,S));return T[1]=h.get(d,S),T})}),l=v(n),t=l.y0,s=a/l.max,u=r.length,p=r[0].indices.length,w,b=0;b<p;++b){w=t[b]*s,h.setItemLayout(r[0].indices[b],{layerIndex:0,x:n[0][b][0],y0:w,y:n[0][b][1]*s});for(var E=1;E<u;++E)w+=n[E-1][b][1]*s,h.setItemLayout(r[E].indices[b],{layerIndex:E,x:n[E][b][0],y0:w,y:n[E][b][1]*s})}}function v(h){for(var c=h.length,a=h[0].length,i=[],r=[],o=0,d,n={},l=0;l<a;++l){for(var t=0,d=0;t<c;++t)d+=h[t][l][1];d>o&&(o=d),i.push(d)}for(var s=0;s<a;++s)r[s]=(o-i[s])/2;o=0;for(var u=0;u<a;++u){var p=i[u]+r[u];p>o&&(o=p)}return n.y0=r,n.max=o,n}D.exports=y},Urep:function(D,_,e){},V6Ve:function(D,_,e){var g=e("kekF"),f=g(Object.keys,Object);D.exports=f},V7ic:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("digP")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="FileTwoTone";var c=y.forwardRef(h);_.default=c},VFCP:function(D,_,e){e("dBmv"),e("KamJ")},VPsl:function(D,_){function e(g){g.eachSeriesByType("map",function(f){var y=f.get("color"),m=f.getModel("itemStyle"),v=m.get("areaColor"),h=m.get("color")||y[f.seriesIndex%y.length];f.getData().setVisual({areaColor:v,color:h})})}D.exports=e},VR9l:function(D,_,e){var g=e("KCsZ"),f=g([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),y={getItemStyle:function(m,v){var h=f(this,m,v),c=this.getBorderLineDash();return c&&(h.lineDash=c),h},getBorderLineDash:function(){var m=this.get("borderType");return m==="solid"||m==null?null:m==="dashed"?[5,5]:[1,1]}};D.exports=y},VSLf:function(D,_,e){e("I+Bx"),e("F0hE"),e("bBKM")},VSMT:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.decodeUTF8=g,_.encodeUTF8=f;function g(y){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;try{return decodeURIComponent(escape(y))}catch(v){if(v instanceof URIError&&m)return y;throw v}}function f(y){return unescape(encodeURIComponent(y))}},VXYp:function(D,_,e){var g=e("bYtY"),f=e("SgGq"),y=e("iLNv"),m="\0_ec_dataZoom_roams";function v(n,l){var t=a(n),s=l.dataZoomId,u=l.coordId;g.each(t,function(b,E){var A=b.dataZoomInfos;A[s]&&g.indexOf(l.allCoordIds,u)<0&&(delete A[s],b.count--)}),r(t);var p=t[u];p||(p=t[u]={coordId:u,dataZoomInfos:{},count:0},p.controller=i(n,p),p.dispatchAction=g.curry(o,n)),!p.dataZoomInfos[s]&&p.count++,p.dataZoomInfos[s]=l;var w=d(p.dataZoomInfos);p.controller.enable(w.controlType,w.opt),p.controller.setPointerChecker(l.containsPoint),y.createOrUpdate(p,"dispatchAction",l.dataZoomModel.get("throttle",!0),"fixRate")}function h(n,l){var t=a(n);g.each(t,function(s){s.controller.dispose();var u=s.dataZoomInfos;u[l]&&(delete u[l],s.count--)}),r(t)}function c(n){return n.type+"\0_"+n.id}function a(n){var l=n.getZr();return l[m]||(l[m]={})}function i(n,l){var t=new f(n.getZr());return g.each(["pan","zoom","scrollMove"],function(s){t.on(s,function(u){var p=[];g.each(l.dataZoomInfos,function(w){if(!u.isAvailableBehavior(w.dataZoomModel.option))return;var b=(w.getRange||{})[s],E=b&&b(l.controller,u);!w.dataZoomModel.get("disabled",!0)&&E&&p.push({dataZoomId:w.dataZoomId,start:E[0],end:E[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},u=!0;return g.each(n,function(p){var w=p.dataZoomModel,b=w.get("disabled",!0)?!1:w.get("zoomLock",!0)?"move":!0;s[t+b]>s[t+l]&&(l=b),u&=w.get("preventDefaultMouseMove",!0)}),{controlType:l,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!u}}}_.register=v,_.unregister=h,_.generateCoordId=c},VaNO:function(D,_){function e(g){return this.__data__.has(g)}D.exports=e},VaxA:function(D,_,e){var g=e("bYtY");function f(h,c,a){if(h&&g.indexOf(c,h.type)>=0){var i=a.getData().tree.root,r=h.targetNode;if(typeof r=="string"&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var o=h.targetNodeId;if(o!=null&&(r=i.getNodeById(o)))return{node:r}}}function y(h){for(var c=[];h;)h=h.parentNode,h&&c.push(h);return c.reverse()}function m(h,c){var a=y(h);return g.indexOf(a,c)>=0}function v(h,c){for(var a=[];h;){var i=h.dataIndex;a.push({name:h.name,dataIndex:i,value:c.getRawValue(i)}),h=h.parentNode}return a.reverse(),a}_.retrieveTargetInfo=f,_.getPathToRoot=y,_.aboveViewRoot=m,_.wrapTreePathInfo=v},Vi4m:function(D,_,e){var g=e("bYtY");function f(m){m!=null&&g.extend(this,m),this.otherDims={}}var y=f;D.exports=y},Vl3Y:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("J4zp"),m=e.n(y),v=e("lSNA"),h=e.n(v),c=e("q1tI"),a=e("TSYQ"),i=e.n(a),r=e("85Yc"),o=e("H84U"),d=e("BGR+"),n=c.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),l=c.createContext({updateItemErrors:function(){}}),t=function(ct){var yt=Object(d.default)(ct,["prefixCls"]);return c.createElement(r.FormProvider,yt)};function s(dt){return dt!=null&&typeof dt=="object"&&dt.nodeType===1}function u(dt,ct){return ct&&dt==="hidden"?!1:dt!=="visible"&&dt!=="clip"}function p(dt){if(!dt.ownerDocument||!dt.ownerDocument.defaultView)return null;try{return dt.ownerDocument.defaultView.frameElement}catch(ct){return null}}function w(dt){var ct=p(dt);return ct?ct.clientHeight<dt.scrollHeight||ct.clientWidth<dt.scrollWidth:!1}function b(dt,ct){if(dt.clientHeight<dt.scrollHeight||dt.clientWidth<dt.scrollWidth){var yt=getComputedStyle(dt,null);return u(yt.overflowY,ct)||u(yt.overflowX,ct)||w(dt)}return!1}function E(dt,ct,yt,_t,or,Pt,be,me){return Pt<dt&&be>ct||Pt>dt&&be<ct?0:Pt<=dt&&me<=yt||be>=ct&&me>=yt?Pt-dt-_t:be>ct&&me<yt||Pt<dt&&me>yt?be-ct+or:0}var A=function(dt,ct){var yt=ct.scrollMode,_t=ct.block,or=ct.inline,Pt=ct.boundary,be=ct.skipOverflowHiddenElements,me=typeof Pt=="function"?Pt:function(ir){return ir!==Pt};if(!s(dt))throw new TypeError("Invalid target");for(var pe=document.scrollingElement||document.documentElement,ue=[],De=dt;s(De)&&me(De);){if(De=De.parentNode,De===pe){ue.push(De);break}if(De===document.body&&b(De)&&!b(document.documentElement))continue;b(De,be)&&ue.push(De)}for(var He=window.visualViewport?visualViewport.width:innerWidth,ze=window.visualViewport?visualViewport.height:innerHeight,Xe=window.scrollX||pageXOffset,Be=window.scrollY||pageYOffset,nt=dt.getBoundingClientRect(),At=nt.height,It=nt.width,ae=nt.top,he=nt.right,q=nt.bottom,ne=nt.left,Se=_t==="start"||_t==="nearest"?ae:_t==="end"?q:ae+At/2,Ne=or==="center"?ne+It/2:or==="end"?he:ne,Me=[],$e=0;$e<ue.length;$e++){var vt=ue[$e],Wt=vt.getBoundingClientRect(),$t=Wt.height,Dt=Wt.width,Kt=Wt.top,Gt=Wt.right,Qt=Wt.bottom,Mt=Wt.left;if(yt==="if-needed"&&ae>=0&&ne>=0&&q<=ze&&he<=He&&ae>=Kt&&q<=Qt&&ne>=Mt&&he<=Gt)return Me;var dr=getComputedStyle(vt),er=parseInt(dr.borderLeftWidth,10),ot=parseInt(dr.borderTopWidth,10),xt=parseInt(dr.borderRightWidth,10),ut=parseInt(dr.borderBottomWidth,10),ft=0,Ot=0,Tt="offsetWidth"in vt?vt.offsetWidth-vt.clientWidth-er-xt:0,ht="offsetHeight"in vt?vt.offsetHeight-vt.clientHeight-ot-ut:0;if(pe===vt)_t==="start"?ft=Se:_t==="end"?ft=Se-ze:_t==="nearest"?ft=E(Be,Be+ze,ze,ot,ut,Be+Se,Be+Se+At,At):ft=Se-ze/2,or==="start"?Ot=Ne:or==="center"?Ot=Ne-He/2:or==="end"?Ot=Ne-He:Ot=E(Xe,Xe+He,He,er,xt,Xe+Ne,Xe+Ne+It,It),ft=Math.max(0,ft+Be),Ot=Math.max(0,Ot+Xe);else{_t==="start"?ft=Se-Kt-ot:_t==="end"?ft=Se-Qt+ut+ht:_t==="nearest"?ft=E(Kt,Qt,$t,ot,ut+ht,Se,Se+At,At):ft=Se-(Kt+$t/2)+ht/2,or==="start"?Ot=Ne-Mt-er:or==="center"?Ot=Ne-(Mt+Dt/2)+Tt/2:or==="end"?Ot=Ne-Gt+xt+Tt:Ot=E(Mt,Gt,Dt,er,xt+Tt,Ne,Ne+It,It);var Ht=vt.scrollLeft,Ft=vt.scrollTop;ft=Math.max(0,Math.min(Ft+ft,vt.scrollHeight-$t+ht)),Ot=Math.max(0,Math.min(Ht+Ot,vt.scrollWidth-Dt+Tt)),Se+=Ft-ft,Ne+=Ht-Ot}Me.push({el:vt,top:ft,left:Ot})}return Me};function S(dt){return dt===Object(dt)&&Object.keys(dt).length!==0}function T(dt,ct){ct===void 0&&(ct="auto");var yt="scrollBehavior"in document.body.style;dt.forEach(function(_t){var or=_t.el,Pt=_t.top,be=_t.left;or.scroll&&yt?or.scroll({top:Pt,left:be,behavior:ct}):(or.scrollTop=Pt,or.scrollLeft=be)})}function L(dt){return dt===!1?{block:"end",inline:"nearest"}:S(dt)?dt:{block:"start",inline:"nearest"}}function x(dt,ct){var yt=!dt.ownerDocument.documentElement.contains(dt);if(S(ct)&&typeof ct.behavior=="function")return ct.behavior(yt?[]:A(dt,ct));if(yt)return;var _t=L(ct);return T(A(dt,_t),_t.behavior)}var C=x;function I(dt){return dt===void 0||dt===!1?[]:Array.isArray(dt)?dt:[dt]}function N(dt,ct){if(!dt.length)return;var yt=dt.join("_");return ct?"".concat(ct,"_").concat(yt):yt}function F(dt){var ct=I(dt);return ct.join("_")}function k(dt){var ct=Object(r.useForm)(),yt=m()(ct,1),_t=yt[0],or=Object(c.useRef)({}),Pt=Object(c.useMemo)(function(){return dt||f()(f()({},_t),{__INTERNAL__:{itemRef:function(me){return function(pe){var ue=F(me);pe?or.current[ue]=pe:delete or.current[ue]}}},scrollToField:function(me){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ue=I(me),De=N(ue,Pt.__INTERNAL__.name),He=De?document.getElementById(De):null;He&&C(He,f()({scrollMode:"if-needed",block:"nearest"},pe))},getFieldInstance:function(me){var pe=F(me);return or.current[pe]}})},[dt,_t]);return[Pt]}var B=e("3Nzz"),P=function(dt,ct){var yt={};for(var _t in dt)Object.prototype.hasOwnProperty.call(dt,_t)&&ct.indexOf(_t)<0&&(yt[_t]=dt[_t]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var or=0,_t=Object.getOwnPropertySymbols(dt);or<_t.length;or++)ct.indexOf(_t[or])<0&&Object.prototype.propertyIsEnumerable.call(dt,_t[or])&&(yt[_t[or]]=dt[_t[or]]);return yt},K=function(ct,yt){var _t,or=c.useContext(B.b),Pt=c.useContext(o.b),be=Pt.getPrefixCls,me=Pt.direction,pe=ct.name,ue=ct.prefixCls,De=ct.className,He=De===void 0?"":De,ze=ct.size,Xe=ze===void 0?or:ze,Be=ct.form,nt=ct.colon,At=ct.labelAlign,It=ct.labelCol,ae=ct.wrapperCol,he=ct.hideRequiredMark,q=ct.layout,ne=q===void 0?"horizontal":q,Se=ct.scrollToFirstError,Ne=ct.requiredMark,Me=ct.onFinishFailed,$e=P(ct,["prefixCls","className","size","form","colon","labelAlign","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed"]),vt=Object(c.useMemo)(function(){return Ne!==void 0?Ne:!he},[he,Ne]),Wt=be("form",ue),$t=i()(Wt,(_t={},h()(_t,"".concat(Wt,"-").concat(ne),!0),h()(_t,"".concat(Wt,"-hide-required-mark"),vt===!1),h()(_t,"".concat(Wt,"-rtl"),me==="rtl"),h()(_t,"".concat(Wt,"-").concat(Xe),Xe),_t),He),Dt=k(Be),Kt=m()(Dt,1),Gt=Kt[0],Qt=Gt.__INTERNAL__;Qt.name=pe;var Mt=Object(c.useMemo)(function(){return{name:pe,labelAlign:At,labelCol:It,wrapperCol:ae,vertical:ne==="vertical",colon:nt,requiredMark:vt,itemRef:Qt.itemRef}},[pe,At,It,ae,ne,nt,vt]);c.useImperativeHandle(yt,function(){return Gt});var dr=function(ot){Me&&Me(ot),Se&&ot.errorFields.length&&Gt.scrollToField(ot.errorFields[0].name)};return c.createElement(B.a,{size:Xe},c.createElement(n.Provider,{value:Mt},c.createElement(r.default,f()({id:pe},$e,{onFinishFailed:dr,form:Gt,className:$t}))))},R=c.forwardRef(K),U=R,j=e("cDf5"),H=e.n(j),W=e("RIqP"),X=e.n(W),z=e("Y+p1"),G=e.n(z),Z=e("KW7l"),ge=e("c+Xe"),Q=e("qrJ5"),we=e("CWQg"),Ee=e("uaoM"),Ae=e("/kpp"),Pe=e("YMnH"),Ge=e("ZvpZ"),gt=function(ct){var yt=ct.prefixCls,_t=ct.label,or=ct.htmlFor,Pt=ct.labelCol,be=ct.labelAlign,me=ct.colon,pe=ct.required,ue=ct.requiredMark,De=Object(Pe.b)("Form"),He=m()(De,1),ze=He[0];return _t?c.createElement(n.Consumer,{key:"label"},function(Xe){var Be,nt=Xe.vertical,At=Xe.labelAlign,It=Xe.labelCol,ae=Xe.colon,he,q=Pt||It||{},ne=be||At,Se="".concat(yt,"-item-label"),Ne=i()(Se,ne==="left"&&"".concat(Se,"-left"),q.className),Me=_t,$e=me===!0||ae!==!1&&me!==!1,vt=$e&&!nt;vt&&typeof _t=="string"&&_t.trim()!==""&&(Me=_t.replace(/[:|]\s*$/,"")),ue==="optional"&&!pe&&(Me=c.createElement(c.Fragment,null,Me,c.createElement("span",{className:"".concat(yt,"-item-optional")},(ze==null?void 0:ze.optional)||((he=Ge.a.Form)===null||he===void 0?void 0:he.optional))));var Wt=i()((Be={},h()(Be,"".concat(yt,"-item-required"),pe),h()(Be,"".concat(yt,"-item-required-mark-optional"),ue==="optional"),h()(Be,"".concat(yt,"-item-no-colon"),!$e),Be));return c.createElement(Ae.a,f()({},q,{className:Ne}),c.createElement("label",{htmlFor:or,className:Wt,title:typeof _t=="string"?_t:""},Me))}):null},_e=gt,Ce=e("gZBC"),lt=e.n(Ce),ce=e("kbBi"),Y=e.n(ce),V=e("J84W"),$=e.n(V),Te=e("sKbD"),ye=e.n(Te),Fe=e("YrtM"),Oe=e("8XRh"),se=e("hkKa");function fe(dt,ct,yt){var _t=c.useRef({errors:dt,visible:!!dt.length}),or=Object(se.a)(),Pt=function(){var me=_t.current.visible,pe=!!dt.length,ue=_t.current.errors;_t.current.errors=dt,_t.current.visible=pe,me!==pe?ct(pe):(ue.length!==dt.length||ue.some(function(De,He){return De!==dt[He]}))&&or()};return c.useEffect(function(){if(!yt){var be=setTimeout(Pt,10);return function(){return clearTimeout(be)}}},[dt]),yt&&Pt(),[_t.current.visible,_t.current.errors]}var Le={success:$.a,warning:ye.a,error:Y.a,validating:lt.a},Je=function(ct){var yt=ct.prefixCls,_t=ct.wrapperCol,or=ct.children,Pt=ct.help,be=ct.errors,me=ct.onDomErrorVisibleChange,pe=ct.hasFeedback,ue=ct.validateStatus,De=ct.extra,He=Object(se.a)(),ze="".concat(yt,"-item"),Xe=c.useContext(n),Be=_t||Xe.wrapperCol||{},nt=i()("".concat(ze,"-control"),Be.className),At=fe(be,function(Me){Me&&Promise.resolve().then(function(){me(!0)}),He()},!!Pt),It=m()(At,2),ae=It[0],he=It[1];c.useEffect(function(){return function(){me(!1)}},[]);var q=Object(Fe.a)(function(){return he},ae,function(Me,$e){return $e}),ne=ue&&Le[ue],Se=pe&&ne?c.createElement("span",{className:"".concat(ze,"-children-icon")},c.createElement(ne,null)):null,Ne=f()({},Xe);return delete Ne.labelCol,delete Ne.wrapperCol,c.createElement(n.Provider,{value:Ne},c.createElement(Ae.a,f()({},Be,{className:nt}),c.createElement("div",{className:"".concat(ze,"-control-input")},c.createElement("div",{className:"".concat(ze,"-control-input-content")},or),Se),c.createElement(Oe.default,{motionDeadline:500,visible:ae,motionName:"show-help",onLeaveEnd:function(){me(!1)},motionAppear:!0,removeOnLeave:!0},function(Me){var $e=Me.className;return c.createElement("div",{className:i()("".concat(ze,"-explain"),$e),key:"help"},q.map(function(vt,Wt){return c.createElement("div",{key:Wt,role:"alert"},vt)}))}),De&&c.createElement("div",{className:"".concat(ze,"-extra")},De)))},mt=Je,Ct=e("0n0R"),Ue=e("xEkU"),Rt=e.n(Ue);function Ke(dt){var ct=c.useState(dt),yt=m()(ct,2),_t=yt[0],or=yt[1],Pt=Object(c.useRef)(null),be=Object(c.useRef)([]),me=Object(c.useRef)(!1);c.useEffect(function(){return function(){me.current=!0,Rt.a.cancel(Pt.current)}},[]);function pe(ue){if(me.current)return;Pt.current===null&&(be.current=[],Pt.current=Rt()(function(){Pt.current=null,or(function(De){var He=De;return be.current.forEach(function(ze){He=ze(He)}),He})})),be.current.push(ue)}return[_t,pe]}function wt(){var dt=c.useContext(n),ct=dt.itemRef,yt=c.useRef({});function _t(or,Pt){var be=Pt&&H()(Pt)==="object"&&Pt.ref,me=or.join("_");return(yt.current.name!==me||yt.current.originRef!==be)&&(yt.current.name=me,yt.current.originRef=be,yt.current.ref=Object(ge.a)(ct(or),be)),yt.current.ref}return _t}var Ye=function(dt,ct){var yt={};for(var _t in dt)Object.prototype.hasOwnProperty.call(dt,_t)&&ct.indexOf(_t)<0&&(yt[_t]=dt[_t]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var or=0,_t=Object.getOwnPropertySymbols(dt);or<_t.length;or++)ct.indexOf(_t[or])<0&&Object.prototype.propertyIsEnumerable.call(dt,_t[or])&&(yt[_t[or]]=dt[_t[or]]);return yt},et=Object(we.a)("success","warning","error","validating",""),rt=c.memo(function(dt){var ct=dt.children;return ct},function(dt,ct){return dt.value===ct.value&&dt.update===ct.update});function st(dt){return dt===null&&Object(Ee.a)(!1,"Form.Item","`null` is passed as `name` property"),!(dt==null)}function Ve(dt){var ct=dt.name,yt=dt.fieldKey,_t=dt.noStyle,or=dt.dependencies,Pt=dt.prefixCls,be=dt.style,me=dt.className,pe=dt.shouldUpdate,ue=dt.hasFeedback,De=dt.help,He=dt.rules,ze=dt.validateStatus,Xe=dt.children,Be=dt.required,nt=dt.label,At=dt.trigger,It=At===void 0?"onChange":At,ae=dt.validateTrigger,he=dt.hidden,q=Ye(dt,["name","fieldKey","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","trigger","validateTrigger","hidden"]),ne=c.useRef(!1),Se=c.useContext(o.b),Ne=Se.getPrefixCls,Me=c.useContext(n),$e=Me.name,vt=Me.requiredMark,Wt=c.useContext(l),$t=Wt.updateItemErrors,Dt=c.useState(!!De),Kt=m()(Dt,2),Gt=Kt[0],Qt=Kt[1],Mt=c.useRef(ze),dr=Ke({}),er=m()(dr,2),ot=er[0],xt=er[1],ut=c.useContext(Z.b),ft=ut.validateTrigger,Ot=ae!==void 0?ae:ft;function Tt(tn){ne.current||Qt(tn)}var ht=st(ct),Ht=c.useRef([]);c.useEffect(function(){return function(){ne.current=!0,$t(Ht.current.join("__SPLIT__"),[])}},[]);var Ft=Ne("form",Pt),ir=_t?$t:function(tn,qr){xt(function(){var Lr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return G()(Lr[tn],qr)?Lr:f()(f()({},Lr),h()({},tn,qr))})},Xt=wt();function mr(tn,qr,Lr,Qr){var _r,ur;if(_t&&!he)return tn;var pr=[];Object.keys(ot).forEach(function(Yr){pr=[].concat(X()(pr),X()(ot[Yr]||[]))});var cr;De!=null?cr=I(De):(cr=Lr?Lr.errors:[],cr=[].concat(X()(cr),X()(pr)));var fr="";ze!==void 0?fr=ze:(Lr==null?void 0:Lr.validating)?fr="validating":((ur=Lr==null?void 0:Lr.errors)===null||ur===void 0?void 0:ur.length)||pr.length?fr="error":(Lr==null?void 0:Lr.touched)&&(fr="success"),Gt&&De&&(Mt.current=fr);var xr=(_r={},h()(_r,"".concat(Ft,"-item"),!0),h()(_r,"".concat(Ft,"-item-with-help"),Gt||De),h()(_r,"".concat(me),!!me),h()(_r,"".concat(Ft,"-item-has-feedback"),fr&&ue),h()(_r,"".concat(Ft,"-item-has-success"),fr==="success"),h()(_r,"".concat(Ft,"-item-has-warning"),fr==="warning"),h()(_r,"".concat(Ft,"-item-has-error"),fr==="error"),h()(_r,"".concat(Ft,"-item-has-error-leave"),!De&&Gt&&Mt.current==="error"),h()(_r,"".concat(Ft,"-item-is-validating"),fr==="validating"),h()(_r,"".concat(Ft,"-item-hidden"),he),_r);return c.createElement(Q.a,f()({className:i()(xr),style:be,key:"row"},Object(d.default)(q,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","preserve","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),c.createElement(_e,f()({htmlFor:qr,required:Qr,requiredMark:vt},dt,{prefixCls:Ft})),c.createElement(mt,f()({},dt,Lr,{errors:cr,prefixCls:Ft,onDomErrorVisibleChange:Tt,validateStatus:fr}),c.createElement(l.Provider,{value:{updateItemErrors:ir}},tn)))}var Ar=typeof Xe=="function",Nr=c.useRef(0);if(Nr.current+=1,!ht&&!Ar&&!or)return mr(Xe);var Fr={};return typeof nt=="string"&&(Fr.label=nt),c.createElement(r.Field,f()({},dt,{messageVariables:Fr,trigger:It,validateTrigger:Ot,onReset:function(){Tt(!1)}}),function(tn,qr,Lr){var Qr=qr.errors,_r=I(ct).length&&qr?qr.name:[],ur=N(_r,$e);if(_t){if(Ht.current=X()(_r),yt){var pr=Array.isArray(yt)?yt:[yt];Ht.current=[].concat(X()(_r.slice(0,-1)),X()(pr))}$t(Ht.current.join("__SPLIT__"),Qr)}var cr=Be!==void 0?Be:!!(He&&He.some(function(Nn){if(Nn&&H()(Nn)==="object"&&Nn.required)return!0;if(typeof Nn=="function"){var jr=Nn(Lr);return jr&&jr.required}return!1})),fr=f()({},tn),xr=null;if(Object(Ee.a)(!(pe&&or),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(Xe)&&ht)Object(Ee.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),xr=Xe;else if(Ar&&(!(pe||or)||ht))Object(Ee.a)(!!(pe||or),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(Ee.a)(!ht,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(or&&!Ar&&!ht)Object(Ee.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(Ct.b)(Xe)){Object(Ee.a)(Xe.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var Yr=f()(f()({},Xe.props),fr);Yr.id||(Yr.id=ur),Object(ge.c)(Xe)&&(Yr.ref=Xt(_r,Xe));var un=new Set([].concat(X()(I(It)),X()(I(Ot))));un.forEach(function(Nn){Yr[Nn]=function(){for(var jr,Tn,gn,Bn,zn,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)),(zn=(Bn=Xe.props)[Nn])===null||zn===void 0||(Tn=zn).call.apply(Tn,[Bn].concat(Yn))}}),xr=c.createElement(rt,{value:fr[dt.valuePropName||"value"],update:Nr.current},Object(Ct.a)(Xe,Yr))}else Ar&&(pe||or)&&!ht?xr=Xe(Lr):(Object(Ee.a)(!_r.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=Xe);return mr(xr,ur,qr,cr)})}var oe=Ve,re=function(dt,ct){var yt={};for(var _t in dt)Object.prototype.hasOwnProperty.call(dt,_t)&&ct.indexOf(_t)<0&&(yt[_t]=dt[_t]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var or=0,_t=Object.getOwnPropertySymbols(dt);or<_t.length;or++)ct.indexOf(_t[or])<0&&Object.prototype.propertyIsEnumerable.call(dt,_t[or])&&(yt[_t[or]]=dt[_t[or]]);return yt},it=function(ct){var yt=ct.children,_t=re(ct,["children"]);return Object(Ee.a)(!!_t.name,"Form.List","Miss `name` prop."),c.createElement(r.List,_t,function(or,Pt){return yt(or.map(function(be){return f()(f()({},be),{fieldKey:be.key})}),Pt)})},Qe=it,ve=U;ve.Item=oe,ve.List=Qe,ve.useForm=k,ve.Provider=t,ve.create=function(){Object(Ee.a)(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};var Zt=_.a=ve},VpOo:function(D,_){function e(g,f){var y=f.x,m=f.y,v=f.width,h=f.height,c=f.r,a,i,r,o;v<0&&(y=y+v,v=-v),h<0&&(m=m+h,h=-h),typeof c=="number"?a=i=r=o=c:c instanceof Array?c.length===1?a=i=r=o=c[0]:c.length===2?(a=r=c[0],i=o=c[1]):c.length===3?(a=c[0],i=o=c[1],r=c[2]):(a=c[0],i=c[1],r=c[2],o=c[3]):a=i=r=o=0;var d;a+i>v&&(d=a+i,a*=v/d,i*=v/d),r+o>v&&(d=r+o,r*=v/d,o*=v/d),i+r>h&&(d=i+r,i*=h/d,r*=h/d),a+o>h&&(d=a+o,a*=h/d,o*=h/d),g.moveTo(y+a,m),g.lineTo(y+v-i,m),i!==0&&g.arc(y+v-i,m+i,i,-Math.PI/2,0),g.lineTo(y+v,m+h-r),r!==0&&g.arc(y+v-r,m+h-r,r,0,Math.PI/2),g.lineTo(y+o,m+h),o!==0&&g.arc(y+o,m+h-o,o,Math.PI/2,Math.PI),g.lineTo(y,m+a),a!==0&&g.arc(y+a,m+a,a,Math.PI,Math.PI*1.5)}_.buildPath=e},"VrN/":function(D,_,e){(function(g,f){D.exports=f()})(this,function(){"use strict";var g=navigator.userAgent,f=navigator.platform,y=/gecko\/\d/i.test(g),m=/MSIE \d/.test(g),v=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(g),h=/Edge\/(\d+)/.exec(g),c=m||v||h,a=c&&(m?document.documentMode||6:+(h||v)[1]),i=!h&&/WebKit\//.test(g),r=i&&/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),u=/Android/.test(g),p=s||u||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(g),w=s||/Mac/.test(f),b=/\bCrOS\b/.test(g),E=/win/i.test(f),A=d&&g.match(/Version\/(\d*\.\d*)/);A&&(A=Number(A[1])),A&&A>=15&&(d=!1,i=!0);var S=w&&(r||d&&(A==null||A<12.11)),T=y||c&&a>=9;function L(O){return new RegExp("(^|\\s)"+O+"(?:$|\\s)\\s*")}var x=function(M,J){var ee=M.className,ie=L(J).exec(ee);if(ie){var Re=ee.slice(ie.index+ie[0].length);M.className=ee.slice(0,ie.index)+(Re?ie[1]+Re:"")}};function C(O){for(var M=O.childNodes.length;M>0;--M)O.removeChild(O.firstChild);return O}function I(O,M){return C(O).appendChild(M)}function N(O,M,J,ee){var ie=document.createElement(O);if(J&&(ie.className=J),ee&&(ie.style.cssText=ee),typeof M=="string")ie.appendChild(document.createTextNode(M));else if(M)for(var Re=0;Re<M.length;++Re)ie.appendChild(M[Re]);return ie}function F(O,M,J,ee){var ie=N(O,M,J,ee);return ie.setAttribute("role","presentation"),ie}var k;document.createRange?k=function(M,J,ee,ie){var Re=document.createRange();return Re.setEnd(ie||M,ee),Re.setStart(M,J),Re}:k=function(M,J,ee){var ie=document.body.createTextRange();try{ie.moveToElementText(M.parentNode)}catch(Re){return ie}return ie.collapse(!0),ie.moveEnd("character",ee),ie.moveStart("character",J),ie};function B(O,M){if(M.nodeType==3&&(M=M.parentNode),O.contains)return O.contains(M);do if(M.nodeType==11&&(M=M.host),M==O)return!0;while(M=M.parentNode)}function P(){var O;try{O=document.activeElement}catch(M){O=document.body||null}for(;O&&O.shadowRoot&&O.shadowRoot.activeElement;)O=O.shadowRoot.activeElement;return O}function K(O,M){var J=O.className;L(M).test(J)||(O.className+=(J?" ":"")+M)}function R(O,M){for(var J=O.split(" "),ee=0;ee<J.length;ee++)J[ee]&&!L(J[ee]).test(M)&&(M+=" "+J[ee]);return M}var U=function(M){M.select()};s?U=function(M){M.selectionStart=0,M.selectionEnd=M.value.length}:c&&(U=function(M){try{M.select()}catch(J){}});function j(O){var M=Array.prototype.slice.call(arguments,1);return function(){return O.apply(null,M)}}function H(O,M,J){M||(M={});for(var ee in O)O.hasOwnProperty(ee)&&(J!==!1||!M.hasOwnProperty(ee))&&(M[ee]=O[ee]);return M}function W(O,M,J,ee,ie){M==null&&(M=O.search(/[^\s\u00a0]/),M==-1&&(M=O.length));for(var Re=ee||0,pt=ie||0;;){var Nt=O.indexOf(" ",Re);if(Nt<0||Nt>=M)return pt+(M-Re);pt+=Nt-Re,pt+=J-pt%J,Re=Nt+1}}var X=function(){this.id=null,this.f=null,this.time=0,this.handler=j(this.onTimeout,this)};X.prototype.onTimeout=function(O){O.id=0,O.time<=+new Date?O.f():setTimeout(O.handler,O.time-+new Date)},X.prototype.set=function(O,M){this.f=M;var J=+new Date+O;(!this.id||J<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,O),this.time=J)};function z(O,M){for(var J=0;J<O.length;++J)if(O[J]==M)return J;return-1}var G=50,Z={toString:function(){return"CodeMirror.Pass"}},ge={scroll:!1},Q={origin:"*mouse"},we={origin:"+move"};function Ee(O,M,J){for(var ee=0,ie=0;;){var Re=O.indexOf(" ",ee);Re==-1&&(Re=O.length);var pt=Re-ee;if(Re==O.length||ie+pt>=M)return ee+Math.min(pt,M-ie);if(ie+=Re-ee,ie+=J-ie%J,ee=Re+1,ie>=M)return ee}}var Ae=[""];function Pe(O){for(;Ae.length<=O;)Ae.push(Ge(Ae)+" ");return Ae[O]}function Ge(O){return O[O.length-1]}function gt(O,M){for(var J=[],ee=0;ee<O.length;ee++)J[ee]=M(O[ee],ee);return J}function _e(O,M,J){for(var ee=0,ie=J(M);ee<O.length&&J(O[ee])<=ie;)ee++;O.splice(ee,0,M)}function Ce(){}function lt(O,M){var J;return Object.create?J=Object.create(O):(Ce.prototype=O,J=new Ce),M&&H(M,J),J}var ce=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function Y(O){return/\w/.test(O)||O>"\x80"&&(O.toUpperCase()!=O.toLowerCase()||ce.test(O))}function V(O,M){return M?M.source.indexOf("\\w")>-1&&Y(O)?!0:M.test(O):Y(O)}function $(O){for(var M in O)if(O.hasOwnProperty(M)&&O[M])return!1;return!0}var Te=/[\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 ye(O){return O.charCodeAt(0)>=768&&Te.test(O)}function Fe(O,M,J){for(;(J<0?M>0:M<O.length)&&ye(O.charAt(M));)M+=J;return M}function Oe(O,M,J){for(var ee=M>J?-1:1;;){if(M==J)return M;var ie=(M+J)/2,Re=ee<0?Math.ceil(ie):Math.floor(ie);if(Re==M)return O(Re)?M:J;O(Re)?J=Re:M=Re+ee}}function se(O,M,J,ee){if(!O)return ee(M,J,"ltr",0);for(var ie=!1,Re=0;Re<O.length;++Re){var pt=O[Re];(pt.from<J&&pt.to>M||M==J&&pt.to==M)&&(ee(Math.max(pt.from,M),Math.min(pt.to,J),pt.level==1?"rtl":"ltr",Re),ie=!0)}ie||ee(M,J,"ltr")}var fe=null;function Le(O,M,J){var ee;fe=null;for(var ie=0;ie<O.length;++ie){var Re=O[ie];if(Re.from<M&&Re.to>M)return ie;Re.to==M&&(Re.from!=Re.to&&J=="before"?ee=ie:fe=ie),Re.from==M&&(Re.from!=Re.to&&J!="before"?ee=ie:fe=ie)}return ee!=null?ee:fe}var Je=function(){var O="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",M="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function J(Yt){return Yt<=247?O.charAt(Yt):1424<=Yt&&Yt<=1524?"R":1536<=Yt&&Yt<=1785?M.charAt(Yt-1536):1774<=Yt&&Yt<=2220?"r":8192<=Yt&&Yt<=8203?"w":Yt==8204?"b":"L"}var ee=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ie=/[stwN]/,Re=/[LRr]/,pt=/[Lb1n]/,Nt=/[1n]/;function zt(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"&&!ee.test(Yt))return!1;for(var en=Yt.length,nn=[],xn=0;xn<en;++xn)nn.push(J(Yt.charCodeAt(xn)));for(var Pn=0,Zn=Ur;Pn<en;++Pn){var Jn=nn[Pn];Jn=="m"?nn[Pn]=Zn:Zn=Jn}for(var oi=0,li=Ur;oi<en;++oi){var qe=nn[oi];qe=="1"&&li=="r"?nn[oi]="n":Re.test(qe)&&(li=qe,qe=="r"&&(nn[oi]="R"))}for(var te=1,ke=nn[0];te<en-1;++te){var Ze=nn[te];Ze=="+"&&ke=="1"&&nn[te+1]=="1"?nn[te]="1":Ze==","&&ke==nn[te+1]&&(ke=="1"||ke=="n")&&(nn[te]=ke),ke=Ze}for(var Lt=0;Lt<en;++Lt){var tr=nn[Lt];if(tr==",")nn[Lt]="N";else if(tr=="%"){var vr=void 0;for(vr=Lt+1;vr<en&&nn[vr]=="%";++vr);for(var Or=Lt&&nn[Lt-1]=="!"||vr<en&&nn[vr]=="1"?"1":"N",Hr=Lt;Hr<vr;++Hr)nn[Hr]=Or;Lt=vr-1}}for(var Kr=0,cn=Ur;Kr<en;++Kr){var sn=nn[Kr];cn=="L"&&sn=="1"?nn[Kr]="L":Re.test(sn)&&(cn=sn)}for(var Fn=0;Fn<en;++Fn)if(ie.test(nn[Fn])){var si=void 0;for(si=Fn+1;si<en&&ie.test(nn[si]);++si);for(var Kn=(Fn?nn[Fn-1]:Ur)=="L",fi=(si<en?nn[si]:Ur)=="L",da=Kn==fi?Kn?"L":"R":Ur,Ti=Fn;Ti<si;++Ti)nn[Ti]=da;Fn=si-1}for(var na=[],_a,Bi=0;Bi<en;)if(pt.test(nn[Bi])){var _o=Bi;for(++Bi;Bi<en&&pt.test(nn[Bi]);++Bi);na.push(new zt(0,_o,Bi))}else{var no=Bi,zo=na.length,Bo=Cr=="rtl"?1:0;for(++Bi;Bi<en&&nn[Bi]!="L";++Bi);for(var ka=no;ka<Bi;)if(Nt.test(nn[ka])){no<ka&&(na.splice(zo,0,new zt(1,no,ka)),zo+=Bo);var Wo=ka;for(++ka;ka<Bi&&Nt.test(nn[ka]);++ka);na.splice(zo,0,new zt(2,Wo,ka)),zo+=Bo,no=ka}else++ka;no<Bi&&na.splice(zo,0,new zt(1,no,Bi))}return Cr=="ltr"&&(na[0].level==1&&(_a=Yt.match(/^\s+/))&&(na[0].from=_a[0].length,na.unshift(new zt(0,0,_a[0].length))),Ge(na).level==1&&(_a=Yt.match(/\s+$/))&&(Ge(na).to-=_a[0].length,na.push(new zt(0,en-_a[0].length,en)))),Cr=="rtl"?na.reverse():na}}();function mt(O,M){var J=O.order;return J==null&&(J=O.order=Je(O.text,M)),J}var Ct=[],Ue=function(M,J,ee){if(M.addEventListener)M.addEventListener(J,ee,!1);else if(M.attachEvent)M.attachEvent("on"+J,ee);else{var ie=M._handlers||(M._handlers={});ie[J]=(ie[J]||Ct).concat(ee)}};function Rt(O,M){return O._handlers&&O._handlers[M]||Ct}function Ke(O,M,J){if(O.removeEventListener)O.removeEventListener(M,J,!1);else if(O.detachEvent)O.detachEvent("on"+M,J);else{var ee=O._handlers,ie=ee&&ee[M];if(ie){var Re=z(ie,J);Re>-1&&(ee[M]=ie.slice(0,Re).concat(ie.slice(Re+1)))}}}function wt(O,M){var J=Rt(O,M);if(!J.length)return;for(var ee=Array.prototype.slice.call(arguments,2),ie=0;ie<J.length;++ie)J[ie].apply(null,ee)}function Ye(O,M,J){return typeof M=="string"&&(M={type:M,preventDefault:function(){this.defaultPrevented=!0}}),wt(O,J||M.type,O,M),re(M)||M.codemirrorIgnore}function et(O){var M=O._handlers&&O._handlers.cursorActivity;if(!M)return;for(var J=O.curOp.cursorActivityHandlers||(O.curOp.cursorActivityHandlers=[]),ee=0;ee<M.length;++ee)z(J,M[ee])==-1&&J.push(M[ee])}function rt(O,M){return Rt(O,M).length>0}function st(O){O.prototype.on=function(M,J){Ue(this,M,J)},O.prototype.off=function(M,J){Ke(this,M,J)}}function Ve(O){O.preventDefault?O.preventDefault():O.returnValue=!1}function oe(O){O.stopPropagation?O.stopPropagation():O.cancelBubble=!0}function re(O){return O.defaultPrevented!=null?O.defaultPrevented:O.returnValue==!1}function it(O){Ve(O),oe(O)}function Qe(O){return O.target||O.srcElement}function ve(O){var M=O.which;return M==null&&(O.button&1?M=1:O.button&2?M=3:O.button&4&&(M=2)),w&&O.ctrlKey&&M==1&&(M=3),M}var Zt=function(){if(c&&a<9)return!1;var O=N("div");return"draggable"in O||"dragDrop"in O}(),dt;function ct(O){if(dt==null){var M=N("span","\u200B");I(O,N("span",[M,document.createTextNode("x")])),O.firstChild.offsetHeight!=0&&(dt=M.offsetWidth<=1&&M.offsetHeight>2&&!(c&&a<8))}var J=dt?N("span","\u200B"):N("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return J.setAttribute("cm-text",""),J}var yt;function _t(O){if(yt!=null)return yt;var M=I(O,document.createTextNode("A\u062EA")),J=k(M,0,1).getBoundingClientRect(),ee=k(M,1,2).getBoundingClientRect();return C(O),!J||J.left==J.right?!1:yt=ee.right-J.right<3}var or=`
b`.split(/\n/).length!=3?function(O){for(var M=0,J=[],ee=O.length;M<=ee;){var ie=O.indexOf(`
`,M);ie==-1&&(ie=O.length);var Re=O.slice(M,O.charAt(ie-1)=="\r"?ie-1:ie),pt=Re.indexOf("\r");pt!=-1?(J.push(Re.slice(0,pt)),M+=pt+1):(J.push(Re),M=ie+1)}return J}:function(O){return O.split(/\r\n?|\n/)},Pt=window.getSelection?function(O){try{return O.selectionStart!=O.selectionEnd}catch(M){return!1}}:function(O){var M;try{M=O.ownerDocument.selection.createRange()}catch(J){}return!M||M.parentElement()!=O?!1:M.compareEndPoints("StartToEnd",M)!=0},be=function(){var O=N("div");return"oncopy"in O?!0:(O.setAttribute("oncopy","return;"),typeof O.oncopy=="function")}(),me=null;function pe(O){if(me!=null)return me;var M=I(O,N("span","x")),J=M.getBoundingClientRect(),ee=k(M,0,1).getBoundingClientRect();return me=Math.abs(J.left-ee.left)>1}var ue={},De={};function He(O,M){arguments.length>2&&(M.dependencies=Array.prototype.slice.call(arguments,2)),ue[O]=M}function ze(O,M){De[O]=M}function Xe(O){if(typeof O=="string"&&De.hasOwnProperty(O))O=De[O];else if(O&&typeof O.name=="string"&&De.hasOwnProperty(O.name)){var M=De[O.name];typeof M=="string"&&(M={name:M}),O=lt(M,O),O.name=M.name}else{if(typeof O=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(O))return Xe("application/xml");if(typeof O=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(O))return Xe("application/json")}return typeof O=="string"?{name:O}:O||{name:"null"}}function Be(O,M){M=Xe(M);var J=ue[M.name];if(!J)return Be(O,"text/plain");var ee=J(O,M);if(nt.hasOwnProperty(M.name)){var ie=nt[M.name];for(var Re in ie){if(!ie.hasOwnProperty(Re))continue;ee.hasOwnProperty(Re)&&(ee["_"+Re]=ee[Re]),ee[Re]=ie[Re]}}if(ee.name=M.name,M.helperType&&(ee.helperType=M.helperType),M.modeProps)for(var pt in M.modeProps)ee[pt]=M.modeProps[pt];return ee}var nt={};function At(O,M){var J=nt.hasOwnProperty(O)?nt[O]:nt[O]={};H(M,J)}function It(O,M){if(M===!0)return M;if(O.copyState)return O.copyState(M);var J={};for(var ee in M){var ie=M[ee];ie instanceof Array&&(ie=ie.concat([])),J[ee]=ie}return J}function ae(O,M){for(var J;O.innerMode&&!(J=O.innerMode(M),!J||J.mode==O);)M=J.state,O=J.mode;return J||{mode:O,state:M}}function he(O,M,J){return O.startState?O.startState(M,J):!0}var q=function(M,J,ee){this.pos=this.start=0,this.string=M,this.tabSize=J||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ee};q.prototype.eol=function(){return this.pos>=this.string.length},q.prototype.sol=function(){return this.pos==this.lineStart},q.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},q.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},q.prototype.eat=function(O){var M=this.string.charAt(this.pos),J;if(typeof O=="string"?J=M==O:J=M&&(O.test?O.test(M):O(M)),J)return++this.pos,M},q.prototype.eatWhile=function(O){for(var M=this.pos;this.eat(O););return this.pos>M},q.prototype.eatSpace=function(){for(var O=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>O},q.prototype.skipToEnd=function(){this.pos=this.string.length},q.prototype.skipTo=function(O){var M=this.string.indexOf(O,this.pos);if(M>-1)return this.pos=M,!0},q.prototype.backUp=function(O){this.pos-=O},q.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=W(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?W(this.string,this.lineStart,this.tabSize):0)},q.prototype.indentation=function(){return W(this.string,null,this.tabSize)-(this.lineStart?W(this.string,this.lineStart,this.tabSize):0)},q.prototype.match=function(O,M,J){if(typeof O=="string"){var ee=function(Nt){return J?Nt.toLowerCase():Nt},ie=this.string.substr(this.pos,O.length);if(ee(ie)==ee(O))return M!==!1&&(this.pos+=O.length),!0}else{var Re=this.string.slice(this.pos).match(O);return Re&&Re.index>0?null:(Re&&M!==!1&&(this.pos+=Re[0].length),Re)}},q.prototype.current=function(){return this.string.slice(this.start,this.pos)},q.prototype.hideFirstChars=function(O,M){this.lineStart+=O;try{return M()}finally{this.lineStart-=O}},q.prototype.lookAhead=function(O){var M=this.lineOracle;return M&&M.lookAhead(O)},q.prototype.baseToken=function(){var O=this.lineOracle;return O&&O.baseToken(this.pos)};function ne(O,M){if(M-=O.first,M<0||M>=O.size)throw new Error("There is no line "+(M+O.first)+" in the document.");for(var J=O;!J.lines;)for(var ee=0;;++ee){var ie=J.children[ee],Re=ie.chunkSize();if(M<Re){J=ie;break}M-=Re}return J.lines[M]}function Se(O,M,J){var ee=[],ie=M.line;return O.iter(M.line,J.line+1,function(Re){var pt=Re.text;ie==J.line&&(pt=pt.slice(0,J.ch)),ie==M.line&&(pt=pt.slice(M.ch)),ee.push(pt),++ie}),ee}function Ne(O,M,J){var ee=[];return O.iter(M,J,function(ie){ee.push(ie.text)}),ee}function Me(O,M){var J=M-O.height;if(J)for(var ee=O;ee;ee=ee.parent)ee.height+=J}function $e(O){if(O.parent==null)return null;for(var M=O.parent,J=z(M.lines,O),ee=M.parent;ee;M=ee,ee=ee.parent)for(var ie=0;!(ee.children[ie]==M);++ie)J+=ee.children[ie].chunkSize();return J+M.first}function vt(O,M){var J=O.first;e:do{for(var ee=0;ee<O.children.length;++ee){var ie=O.children[ee],Re=ie.height;if(M<Re){O=ie;continue e}M-=Re,J+=ie.chunkSize()}return J}while(!O.lines);for(var pt=0;pt<O.lines.length;++pt){var Nt=O.lines[pt],zt=Nt.height;if(M<zt)break;M-=zt}return J+pt}function Wt(O,M){return M>=O.first&&M<O.first+O.size}function $t(O,M){return String(O.lineNumberFormatter(M+O.firstLineNumber))}function Dt(O,M,J){if(J===void 0&&(J=null),!(this instanceof Dt))return new Dt(O,M,J);this.line=O,this.ch=M,this.sticky=J}function Kt(O,M){return O.line-M.line||O.ch-M.ch}function Gt(O,M){return O.sticky==M.sticky&&Kt(O,M)==0}function Qt(O){return Dt(O.line,O.ch)}function Mt(O,M){return Kt(O,M)<0?M:O}function dr(O,M){return Kt(O,M)<0?O:M}function er(O,M){return Math.max(O.first,Math.min(M,O.first+O.size-1))}function ot(O,M){if(M.line<O.first)return Dt(O.first,0);var J=O.first+O.size-1;return M.line>J?Dt(J,ne(O,J).text.length):xt(M,ne(O,M.line).text.length)}function xt(O,M){var J=O.ch;return J==null||J>M?Dt(O.line,M):J<0?Dt(O.line,0):O}function ut(O,M){for(var J=[],ee=0;ee<M.length;ee++)J[ee]=ot(O,M[ee]);return J}var ft=function(M,J){this.state=M,this.lookAhead=J},Ot=function(M,J,ee,ie){this.state=J,this.doc=M,this.line=ee,this.maxLookAhead=ie||0,this.baseTokens=null,this.baseTokenPos=1};Ot.prototype.lookAhead=function(O){var M=this.doc.getLine(this.line+O);return M!=null&&O>this.maxLookAhead&&(this.maxLookAhead=O),M},Ot.prototype.baseToken=function(O){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=O;)this.baseTokenPos+=2;var M=this.baseTokens[this.baseTokenPos+1];return{type:M&&M.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-O}},Ot.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Ot.fromSaved=function(O,M,J){return M instanceof ft?new Ot(O,It(O.mode,M.state),J,M.lookAhead):new Ot(O,It(O.mode,M),J)},Ot.prototype.save=function(O){var M=O!==!1?It(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ft(M,this.maxLookAhead):M};function Tt(O,M,J,ee){var ie=[O.state.modeGen],Re={};Fr(O,M.text,O.doc.mode,J,function(Yt,Cr){return ie.push(Yt,Cr)},Re,ee);for(var pt=J.state,Nt=function(Cr){J.baseTokens=ie;var Ur=O.state.overlays[Cr],en=1,nn=0;J.state=!0,Fr(O,M.text,Ur.mode,J,function(xn,Pn){for(var Zn=en;nn<xn;){var Jn=ie[en];Jn>xn&&ie.splice(en,1,xn,ie[en+1],Jn),en+=2,nn=Math.min(xn,Jn)}if(!Pn)return;if(Ur.opaque)ie.splice(Zn,en-Zn,xn,"overlay "+Pn),en=Zn+2;else for(;Zn<en;Zn+=2){var oi=ie[Zn+1];ie[Zn+1]=(oi?oi+" ":"")+"overlay "+Pn}},Re),J.state=pt,J.baseTokens=null,J.baseTokenPos=1},zt=0;zt<O.state.overlays.length;++zt)Nt(zt);return{styles:ie,classes:Re.bgClass||Re.textClass?Re:null}}function ht(O,M,J){if(!M.styles||M.styles[0]!=O.state.modeGen){var ee=Ht(O,$e(M)),ie=M.text.length>O.options.maxHighlightLength&&It(O.doc.mode,ee.state),Re=Tt(O,M,ee);ie&&(ee.state=ie),M.stateAfter=ee.save(!ie),M.styles=Re.styles,Re.classes?M.styleClasses=Re.classes:M.styleClasses&&(M.styleClasses=null),J===O.doc.highlightFrontier&&(O.doc.modeFrontier=Math.max(O.doc.modeFrontier,++O.doc.highlightFrontier))}return M.styles}function Ht(O,M,J){var ee=O.doc,ie=O.display;if(!ee.mode.startState)return new Ot(ee,!0,M);var Re=tn(O,M,J),pt=Re>ee.first&&ne(ee,Re-1).stateAfter,Nt=pt?Ot.fromSaved(ee,pt,Re):new Ot(ee,he(ee.mode),Re);return ee.iter(Re,M,function(zt){Ft(O,zt.text,Nt);var Yt=Nt.line;zt.stateAfter=Yt==M-1||Yt%5==0||Yt>=ie.viewFrom&&Yt<ie.viewTo?Nt.save():null,Nt.nextLine()}),J&&(ee.modeFrontier=Nt.line),Nt}function Ft(O,M,J,ee){var ie=O.doc.mode,Re=new q(M,O.options.tabSize,J);for(Re.start=Re.pos=ee||0,M==""&&ir(ie,J.state);!Re.eol();)Xt(ie,Re,J.state),Re.start=Re.pos}function ir(O,M){if(O.blankLine)return O.blankLine(M);if(!O.innerMode)return;var J=ae(O,M);if(J.mode.blankLine)return J.mode.blankLine(J.state)}function Xt(O,M,J,ee){for(var ie=0;ie<10;ie++){ee&&(ee[0]=ae(O,J).mode);var Re=O.token(M,J);if(M.pos>M.start)return Re}throw new Error("Mode "+O.name+" failed to advance stream.")}var mr=function(M,J,ee){this.start=M.start,this.end=M.pos,this.string=M.current(),this.type=J||null,this.state=ee};function Ar(O,M,J,ee){var ie=O.doc,Re=ie.mode,pt;M=ot(ie,M);var Nt=ne(ie,M.line),zt=Ht(O,M.line,J),Yt=new q(Nt.text,O.options.tabSize,zt),Cr;for(ee&&(Cr=[]);(ee||Yt.pos<M.ch)&&!Yt.eol();)Yt.start=Yt.pos,pt=Xt(Re,Yt,zt.state),ee&&Cr.push(new mr(Yt,pt,It(ie.mode,zt.state)));return ee?Cr:new mr(Yt,pt,zt.state)}function Nr(O,M){if(O)for(;;){var J=O.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!J)break;O=O.slice(0,J.index)+O.slice(J.index+J[0].length);var ee=J[1]?"bgClass":"textClass";M[ee]==null?M[ee]=J[2]:new RegExp("(?:^|\\s)"+J[2]+"(?:$|\\s)").test(M[ee])||(M[ee]+=" "+J[2])}return O}function Fr(O,M,J,ee,ie,Re,pt){var Nt=J.flattenSpans;Nt==null&&(Nt=O.options.flattenSpans);var zt=0,Yt=null,Cr=new q(M,O.options.tabSize,ee),Ur,en=O.options.addModeClass&&[null];for(M==""&&Nr(ir(J,ee.state),Re);!Cr.eol();){if(Cr.pos>O.options.maxHighlightLength?(Nt=!1,pt&&Ft(O,M,ee,Cr.pos),Cr.pos=M.length,Ur=null):Ur=Nr(Xt(J,Cr,ee.state,en),Re),en){var nn=en[0].name;nn&&(Ur="m-"+(Ur?nn+" "+Ur:nn))}if(!Nt||Yt!=Ur){for(;zt<Cr.start;)zt=Math.min(Cr.start,zt+5e3),ie(zt,Yt);Yt=Ur}Cr.start=Cr.pos}for(;zt<Cr.pos;){var xn=Math.min(Cr.pos,zt+5e3);ie(xn,Yt),zt=xn}}function tn(O,M,J){for(var ee,ie,Re=O.doc,pt=J?-1:M-(O.doc.mode.innerMode?1e3:100),Nt=M;Nt>pt;--Nt){if(Nt<=Re.first)return Re.first;var zt=ne(Re,Nt-1),Yt=zt.stateAfter;if(Yt&&(!J||Nt+(Yt instanceof ft?Yt.lookAhead:0)<=Re.modeFrontier))return Nt;var Cr=W(zt.text,null,O.options.tabSize);(ie==null||ee>Cr)&&(ie=Nt-1,ee=Cr)}return ie}function qr(O,M){if(O.modeFrontier=Math.min(O.modeFrontier,M),O.highlightFrontier<M-10)return;for(var J=O.first,ee=M-1;ee>J;ee--){var ie=ne(O,ee).stateAfter;if(ie&&(!(ie instanceof ft)||ee+ie.lookAhead<M)){J=ee+1;break}}O.highlightFrontier=Math.min(O.highlightFrontier,J)}var Lr=!1,Qr=!1;function _r(){Lr=!0}function ur(){Qr=!0}function pr(O,M,J){this.marker=O,this.from=M,this.to=J}function cr(O,M){if(O)for(var J=0;J<O.length;++J){var ee=O[J];if(ee.marker==M)return ee}}function fr(O,M){for(var J,ee=0;ee<O.length;++ee)O[ee]!=M&&(J||(J=[])).push(O[ee]);return J}function xr(O,M){O.markedSpans=O.markedSpans?O.markedSpans.concat([M]):[M],M.marker.attachLine(O)}function Yr(O,M,J){var ee;if(O)for(var ie=0;ie<O.length;++ie){var Re=O[ie],pt=Re.marker,Nt=Re.from==null||(pt.inclusiveLeft?Re.from<=M:Re.from<M);if(Nt||Re.from==M&&pt.type=="bookmark"&&(!J||!Re.marker.insertLeft)){var zt=Re.to==null||(pt.inclusiveRight?Re.to>=M:Re.to>M);(ee||(ee=[])).push(new pr(pt,Re.from,zt?null:Re.to))}}return ee}function un(O,M,J){var ee;if(O)for(var ie=0;ie<O.length;++ie){var Re=O[ie],pt=Re.marker,Nt=Re.to==null||(pt.inclusiveRight?Re.to>=M:Re.to>M);if(Nt||Re.from==M&&pt.type=="bookmark"&&(!J||Re.marker.insertLeft)){var zt=Re.from==null||(pt.inclusiveLeft?Re.from<=M:Re.from<M);(ee||(ee=[])).push(new pr(pt,zt?null:Re.from-M,Re.to==null?null:Re.to-M))}}return ee}function Nn(O,M){if(M.full)return null;var J=Wt(O,M.from.line)&&ne(O,M.from.line).markedSpans,ee=Wt(O,M.to.line)&&ne(O,M.to.line).markedSpans;if(!J&&!ee)return null;var ie=M.from.ch,Re=M.to.ch,pt=Kt(M.from,M.to)==0,Nt=Yr(J,ie,pt),zt=un(ee,Re,pt),Yt=M.text.length==1,Cr=Ge(M.text).length+(Yt?ie:0);if(Nt)for(var Ur=0;Ur<Nt.length;++Ur){var en=Nt[Ur];if(en.to==null){var nn=cr(zt,en.marker);nn?Yt&&(en.to=nn.to==null?null:nn.to+Cr):en.to=ie}}if(zt)for(var xn=0;xn<zt.length;++xn){var Pn=zt[xn];if(Pn.to!=null&&(Pn.to+=Cr),Pn.from==null){var Zn=cr(Nt,Pn.marker);Zn||(Pn.from=Cr,Yt&&(Nt||(Nt=[])).push(Pn))}else Pn.from+=Cr,Yt&&(Nt||(Nt=[])).push(Pn)}Nt&&(Nt=jr(Nt)),zt&&zt!=Nt&&(zt=jr(zt));var Jn=[Nt];if(!Yt){var oi=M.text.length-2,li;if(oi>0&&Nt)for(var qe=0;qe<Nt.length;++qe)Nt[qe].to==null&&(li||(li=[])).push(new pr(Nt[qe].marker,null,null));for(var te=0;te<oi;++te)Jn.push(li);Jn.push(zt)}return Jn}function jr(O){for(var M=0;M<O.length;++M){var J=O[M];J.from!=null&&J.from==J.to&&J.marker.clearWhenEmpty!==!1&&O.splice(M--,1)}return O.length?O:null}function Tn(O,M,J){var ee=null;if(O.iter(M.line,J.line+1,function(nn){if(nn.markedSpans)for(var xn=0;xn<nn.markedSpans.length;++xn){var Pn=nn.markedSpans[xn].marker;Pn.readOnly&&(!ee||z(ee,Pn)==-1)&&(ee||(ee=[])).push(Pn)}}),!ee)return null;for(var ie=[{from:M,to:J}],Re=0;Re<ee.length;++Re)for(var pt=ee[Re],Nt=pt.find(0),zt=0;zt<ie.length;++zt){var Yt=ie[zt];if(Kt(Yt.to,Nt.from)<0||Kt(Yt.from,Nt.to)>0)continue;var Cr=[zt,1],Ur=Kt(Yt.from,Nt.from),en=Kt(Yt.to,Nt.to);(Ur<0||!pt.inclusiveLeft&&!Ur)&&Cr.push({from:Yt.from,to:Nt.from}),(en>0||!pt.inclusiveRight&&!en)&&Cr.push({from:Nt.to,to:Yt.to}),ie.splice.apply(ie,Cr),zt+=Cr.length-3}return ie}function gn(O){var M=O.markedSpans;if(!M)return;for(var J=0;J<M.length;++J)M[J].marker.detachLine(O);O.markedSpans=null}function Bn(O,M){if(!M)return;for(var J=0;J<M.length;++J)M[J].marker.attachLine(O);O.markedSpans=M}function zn(O){return O.inclusiveLeft?-1:0}function qn(O){return O.inclusiveRight?1:0}function Yn(O,M){var J=O.lines.length-M.lines.length;if(J!=0)return J;var ee=O.find(),ie=M.find(),Re=Kt(ee.from,ie.from)||zn(O)-zn(M);if(Re)return-Re;var pt=Kt(ee.to,ie.to)||qn(O)-qn(M);return pt||M.id-O.id}function Vn(O,M){var J=Qr&&O.markedSpans,ee;if(J)for(var ie=void 0,Re=0;Re<J.length;++Re)ie=J[Re],ie.marker.collapsed&&(M?ie.from:ie.to)==null&&(!ee||Yn(ee,ie.marker)<0)&&(ee=ie.marker);return ee}function An(O){return Vn(O,!0)}function on(O){return Vn(O,!1)}function ia(O,M){var J=Qr&&O.markedSpans,ee;if(J)for(var ie=0;ie<J.length;++ie){var Re=J[ie];Re.marker.collapsed&&(Re.from==null||Re.from<M)&&(Re.to==null||Re.to>M)&&(!ee||Yn(ee,Re.marker)<0)&&(ee=Re.marker)}return ee}function xa(O,M,J,ee,ie){var Re=ne(O,M),pt=Qr&&Re.markedSpans;if(pt)for(var Nt=0;Nt<pt.length;++Nt){var zt=pt[Nt];if(!zt.marker.collapsed)continue;var Yt=zt.marker.find(0),Cr=Kt(Yt.from,J)||zn(zt.marker)-zn(ie),Ur=Kt(Yt.to,ee)||qn(zt.marker)-qn(ie);if(Cr>=0&&Ur<=0||Cr<=0&&Ur>=0)continue;if(Cr<=0&&(zt.marker.inclusiveRight&&ie.inclusiveLeft?Kt(Yt.to,J)>=0:Kt(Yt.to,J)>0)||Cr>=0&&(zt.marker.inclusiveRight&&ie.inclusiveLeft?Kt(Yt.from,ee)<=0:Kt(Yt.from,ee)<0))return!0}}function ta(O){for(var M;M=An(O);)O=M.find(-1,!0).line;return O}function _i(O){for(var M;M=on(O);)O=M.find(1,!0).line;return O}function Ci(O){for(var M,J;M=on(O);)O=M.find(1,!0).line,(J||(J=[])).push(O);return J}function Gn(O,M){var J=ne(O,M),ee=ta(J);return J==ee?M:$e(ee)}function Ia(O,M){if(M>O.lastLine())return M;var J=ne(O,M),ee;if(!mn(O,J))return M;for(;ee=on(J);)J=ee.find(1,!0).line;return $e(J)+1}function mn(O,M){var J=Qr&&M.markedSpans;if(J)for(var ee=void 0,ie=0;ie<J.length;++ie){if(ee=J[ie],!ee.marker.collapsed)continue;if(ee.from==null)return!0;if(ee.marker.widgetNode)continue;if(ee.from==0&&ee.marker.inclusiveLeft&&In(O,M,ee))return!0}}function In(O,M,J){if(J.to==null){var ee=J.marker.find(1,!0);return In(O,ee.line,cr(ee.line.markedSpans,J.marker))}if(J.marker.inclusiveRight&&J.to==M.text.length)return!0;for(var ie=void 0,Re=0;Re<M.markedSpans.length;++Re)if(ie=M.markedSpans[Re],ie.marker.collapsed&&!ie.marker.widgetNode&&ie.from==J.to&&(ie.to==null||ie.to!=J.from)&&(ie.marker.inclusiveLeft||J.marker.inclusiveRight)&&In(O,M,ie))return!0}function Ln(O){O=ta(O);for(var M=0,J=O.parent,ee=0;ee<J.lines.length;++ee){var ie=J.lines[ee];if(ie==O)break;M+=ie.height}for(var Re=J.parent;Re;J=Re,Re=J.parent)for(var pt=0;pt<Re.children.length;++pt){var Nt=Re.children[pt];if(Nt==J)break;M+=Nt.height}return M}function _n(O){if(O.height==0)return 0;for(var M=O.text.length,J,ee=O;J=An(ee);){var ie=J.find(0,!0);ee=ie.from.line,M+=ie.from.ch-ie.to.ch}for(ee=O;J=on(ee);){var Re=J.find(0,!0);M-=ee.text.length-Re.from.ch,ee=Re.to.line,M+=ee.text.length-Re.to.ch}return M}function jn(O){var M=O.display,J=O.doc;M.maxLine=ne(J,J.first),M.maxLineLength=_n(M.maxLine),M.maxLineChanged=!0,J.iter(function(ee){var ie=_n(ee);ie>M.maxLineLength&&(M.maxLineLength=ie,M.maxLine=ee)})}var ni=function(M,J,ee){this.text=M,Bn(this,J),this.height=ee?ee(this):1};ni.prototype.lineNo=function(){return $e(this)},st(ni);function di(O,M,J,ee){O.text=M,O.stateAfter&&(O.stateAfter=null),O.styles&&(O.styles=null),O.order!=null&&(O.order=null),gn(O),Bn(O,J);var ie=ee?ee(O):1;ie!=O.height&&Me(O,ie)}function Na(O){O.parent=null,gn(O)}var Qi={},ma={};function Pa(O,M){if(!O||/^\s*$/.test(O))return null;var J=M.addModeClass?ma:Qi;return J[O]||(J[O]=O.replace(/\S+/g,"cm-$&"))}function Qa(O,M){var J=F("span",null,null,i?"padding-right: .1px":null),ee={pre:F("pre",[J],"CodeMirror-line"),content:J,col:0,pos:0,cm:O,trailingSpace:!1,splitSpaces:O.getOption("lineWrapping")};M.measure={};for(var ie=0;ie<=(M.rest?M.rest.length:0);ie++){var Re=ie?M.rest[ie-1]:M.line,pt=void 0;ee.pos=0,ee.addToken=Co,_t(O.display.measure)&&(pt=mt(Re,O.doc.direction))&&(ee.addToken=Hi(ee.addToken,pt)),ee.map=[];var Nt=M!=O.display.externalMeasured&&$e(Re);ha(Re,ee,ht(O,Re,Nt)),Re.styleClasses&&(Re.styleClasses.bgClass&&(ee.bgClass=R(Re.styleClasses.bgClass,ee.bgClass||"")),Re.styleClasses.textClass&&(ee.textClass=R(Re.styleClasses.textClass,ee.textClass||""))),ee.map.length==0&&ee.map.push(0,0,ee.content.appendChild(ct(O.display.measure))),ie==0?(M.measure.map=ee.map,M.measure.cache={}):((M.measure.maps||(M.measure.maps=[])).push(ee.map),(M.measure.caches||(M.measure.caches=[])).push({}))}if(i){var zt=ee.content.lastChild;(/\bcm-tab\b/.test(zt.className)||zt.querySelector&&zt.querySelector(".cm-tab"))&&(ee.content.className="cm-tab-wrap-hack")}return wt(O,"renderLine",O,M.line,ee.pre),ee.pre.className&&(ee.textClass=R(ee.pre.className,ee.textClass||"")),ee}function Wi(O){var M=N("span","\u2022","cm-invalidchar");return M.title="\\u"+O.charCodeAt(0).toString(16),M.setAttribute("aria-label",M.title),M}function Co(O,M,J,ee,ie,Re,pt){if(!M)return;var Nt=O.splitSpaces?aa(M,O.trailingSpace):M,zt=O.cm.state.specialChars,Yt=!1,Cr;if(!zt.test(M))O.col+=M.length,Cr=document.createTextNode(Nt),O.map.push(O.pos,O.pos+M.length,Cr),c&&a<9&&(Yt=!0),O.pos+=M.length;else{Cr=document.createDocumentFragment();for(var Ur=0;;){zt.lastIndex=Ur;var en=zt.exec(M),nn=en?en.index-Ur:M.length-Ur;if(nn){var xn=document.createTextNode(Nt.slice(Ur,Ur+nn));c&&a<9?Cr.appendChild(N("span",[xn])):Cr.appendChild(xn),O.map.push(O.pos,O.pos+nn,xn),O.col+=nn,O.pos+=nn}if(!en)break;Ur+=nn+1;var Pn=void 0;if(en[0]==" "){var Zn=O.cm.options.tabSize,Jn=Zn-O.col%Zn;Pn=Cr.appendChild(N("span",Pe(Jn),"cm-tab")),Pn.setAttribute("role","presentation"),Pn.setAttribute("cm-text"," "),O.col+=Jn}else en[0]=="\r"||en[0]==`
`?(Pn=Cr.appendChild(N("span",en[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Pn.setAttribute("cm-text",en[0]),O.col+=1):(Pn=O.cm.options.specialCharPlaceholder(en[0]),Pn.setAttribute("cm-text",en[0]),c&&a<9?Cr.appendChild(N("span",[Pn])):Cr.appendChild(Pn),O.col+=1);O.map.push(O.pos,O.pos+1,Pn),O.pos++}}if(O.trailingSpace=Nt.charCodeAt(M.length-1)==32,J||ee||ie||Yt||Re||pt){var oi=J||"";ee&&(oi+=ee),ie&&(oi+=ie);var li=N("span",[Cr],oi,Re);if(pt)for(var qe in pt)pt.hasOwnProperty(qe)&&qe!="style"&&qe!="class"&&li.setAttribute(qe,pt[qe]);return O.content.appendChild(li)}O.content.appendChild(Cr)}function aa(O,M){if(O.length>1&&!/ /.test(O))return O;for(var J=M,ee="",ie=0;ie<O.length;ie++){var Re=O.charAt(ie);Re==" "&&J&&(ie==O.length-1||O.charCodeAt(ie+1)==32)&&(Re="\xA0"),ee+=Re,J=Re==" "}return ee}function Hi(O,M){return function(J,ee,ie,Re,pt,Nt,zt){ie=ie?ie+" cm-force-border":"cm-force-border";for(var Yt=J.pos,Cr=Yt+ee.length;;){for(var Ur=void 0,en=0;en<M.length&&!(Ur=M[en],Ur.to>Yt&&Ur.from<=Yt);en++);if(Ur.to>=Cr)return O(J,ee,ie,Re,pt,Nt,zt);O(J,ee.slice(0,Ur.to-Yt),ie,Re,null,Nt,zt),Re=null,ee=ee.slice(Ur.to-Yt),Yt=Ur.to}}}function ga(O,M,J,ee){var ie=!ee&&J.widgetNode;ie&&O.map.push(O.pos,O.pos+M,ie),!ee&&O.cm.display.input.needsContentAttribute&&(ie||(ie=O.content.appendChild(document.createElement("span"))),ie.setAttribute("cm-marker",J.id)),ie&&(O.cm.display.input.setUneditable(ie),O.content.appendChild(ie)),O.pos+=M,O.trailingSpace=!1}function ha(O,M,J){var ee=O.markedSpans,ie=O.text,Re=0;if(!ee){for(var pt=1;pt<J.length;pt+=2)M.addToken(M,ie.slice(Re,Re=J[pt]),Pa(J[pt+1],M.cm.options));return}for(var Nt=ie.length,zt=0,Yt=1,Cr="",Ur,en,nn=0,xn,Pn,Zn,Jn,oi;;){if(nn==zt){xn=Pn=Zn=en="",oi=null,Jn=null,nn=Infinity;for(var li=[],qe=void 0,te=0;te<ee.length;++te){var ke=ee[te],Ze=ke.marker;if(Ze.type=="bookmark"&&ke.from==zt&&Ze.widgetNode)li.push(Ze);else if(ke.from<=zt&&(ke.to==null||ke.to>zt||Ze.collapsed&&ke.to==zt&&ke.from==zt)){if(ke.to!=null&&ke.to!=zt&&nn>ke.to&&(nn=ke.to,Pn=""),Ze.className&&(xn+=" "+Ze.className),Ze.css&&(en=(en?en+";":"")+Ze.css),Ze.startStyle&&ke.from==zt&&(Zn+=" "+Ze.startStyle),Ze.endStyle&&ke.to==nn&&(qe||(qe=[])).push(Ze.endStyle,ke.to),Ze.title&&((oi||(oi={})).title=Ze.title),Ze.attributes)for(var Lt in Ze.attributes)(oi||(oi={}))[Lt]=Ze.attributes[Lt];Ze.collapsed&&(!Jn||Yn(Jn.marker,Ze)<0)&&(Jn=ke)}else ke.from>zt&&nn>ke.from&&(nn=ke.from)}if(qe)for(var tr=0;tr<qe.length;tr+=2)qe[tr+1]==nn&&(Pn+=" "+qe[tr]);if(!Jn||Jn.from==zt)for(var vr=0;vr<li.length;++vr)ga(M,0,li[vr]);if(Jn&&(Jn.from||0)==zt){if(ga(M,(Jn.to==null?Nt+1:Jn.to)-zt,Jn.marker,Jn.from==null),Jn.to==null)return;Jn.to==zt&&(Jn=!1)}}if(zt>=Nt)break;for(var Or=Math.min(Nt,nn);;){if(Cr){var Hr=zt+Cr.length;if(!Jn){var Kr=Hr>Or?Cr.slice(0,Or-zt):Cr;M.addToken(M,Kr,Ur?Ur+xn:xn,Zn,zt+Kr.length==nn?Pn:"",en,oi)}if(Hr>=Or){Cr=Cr.slice(Or-zt),zt=Or;break}zt=Hr,Zn=""}Cr=ie.slice(Re,Re=J[Yt++]),Ur=Pa(J[Yt++],M.cm.options)}}}function mo(O,M,J){this.line=M,this.rest=Ci(M),this.size=this.rest?$e(Ge(this.rest))-J+1:1,this.node=this.text=null,this.hidden=mn(O,M)}function kn(O,M,J){for(var ee=[],ie,Re=M;Re<J;Re=ie){var pt=new mo(O.doc,ne(O.doc,Re),Re);ie=Re+pt.size,ee.push(pt)}return ee}var $i=null;function eo(O){$i?$i.ops.push(O):O.ownsGroup=$i={ops:[O],delayedCallbacks:[]}}function To(O){var M=O.delayedCallbacks,J=0;do{for(;J<M.length;J++)M[J].call(null);for(var ee=0;ee<O.ops.length;ee++){var ie=O.ops[ee];if(ie.cursorActivityHandlers)for(;ie.cursorActivityCalled<ie.cursorActivityHandlers.length;)ie.cursorActivityHandlers[ie.cursorActivityCalled++].call(null,ie.cm)}}while(J<M.length)}function uo(O,M){var J=O.ownsGroup;if(!J)return;try{To(J)}finally{$i=null,M(J)}}var rr=null;function Tr(O,M){var J=Rt(O,M);if(!J.length)return;var ee=Array.prototype.slice.call(arguments,2),ie;$i?ie=$i.delayedCallbacks:rr?ie=rr:(ie=rr=[],setTimeout(Br,0));for(var Re=function(zt){ie.push(function(){return J[zt].apply(null,ee)})},pt=0;pt<J.length;++pt)Re(pt)}function Br(){var O=rr;rr=null;for(var M=0;M<O.length;++M)O[M]()}function Wr(O,M,J,ee){for(var ie=0;ie<M.changes.length;ie++){var Re=M.changes[ie];Re=="text"?Jt(O,M):Re=="gutter"?Ir(O,M,J,ee):Re=="class"?nr(O,M):Re=="widget"&&wr(O,M,ee)}M.changes=null}function hn(O){return O.node==O.text&&(O.node=N("div",null,null,"position: relative"),O.text.parentNode&&O.text.parentNode.replaceChild(O.node,O.text),O.node.appendChild(O.text),c&&a<8&&(O.node.style.zIndex=2)),O.node}function tt(O,M){var J=M.bgClass?M.bgClass+" "+(M.line.bgClass||""):M.line.bgClass;if(J&&(J+=" CodeMirror-linebackground"),M.background)J?M.background.className=J:(M.background.parentNode.removeChild(M.background),M.background=null);else if(J){var ee=hn(M);M.background=ee.insertBefore(N("div",null,J),ee.firstChild),O.display.input.setUneditable(M.background)}}function jt(O,M){var J=O.display.externalMeasured;return J&&J.line==M.line?(O.display.externalMeasured=null,M.measure=J.measure,J.built):Qa(O,M)}function Jt(O,M){var J=M.text.className,ee=jt(O,M);M.text==M.node&&(M.node=ee.pre),M.text.parentNode.replaceChild(ee.pre,M.text),M.text=ee.pre,ee.bgClass!=M.bgClass||ee.textClass!=M.textClass?(M.bgClass=ee.bgClass,M.textClass=ee.textClass,nr(O,M)):J&&(M.text.className=J)}function nr(O,M){tt(O,M),M.line.wrapClass?hn(M).className=M.line.wrapClass:M.node!=M.text&&(M.node.className="");var J=M.textClass?M.textClass+" "+(M.line.textClass||""):M.line.textClass;M.text.className=J||""}function Ir(O,M,J,ee){if(M.gutter&&(M.node.removeChild(M.gutter),M.gutter=null),M.gutterBackground&&(M.node.removeChild(M.gutterBackground),M.gutterBackground=null),M.line.gutterClass){var ie=hn(M);M.gutterBackground=N("div",null,"CodeMirror-gutter-background "+M.line.gutterClass,"left: "+(O.options.fixedGutter?ee.fixedPos:-ee.gutterTotalWidth)+"px; width: "+ee.gutterTotalWidth+"px"),O.display.input.setUneditable(M.gutterBackground),ie.insertBefore(M.gutterBackground,M.text)}var Re=M.line.gutterMarkers;if(O.options.lineNumbers||Re){var pt=hn(M),Nt=M.gutter=N("div",null,"CodeMirror-gutter-wrapper","left: "+(O.options.fixedGutter?ee.fixedPos:-ee.gutterTotalWidth)+"px");if(O.display.input.setUneditable(Nt),pt.insertBefore(Nt,M.text),M.line.gutterClass&&(Nt.className+=" "+M.line.gutterClass),O.options.lineNumbers&&(!Re||!Re["CodeMirror-linenumbers"])&&(M.lineNumber=Nt.appendChild(N("div",$t(O.options,J),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+ee.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+O.display.lineNumInnerWidth+"px"))),Re)for(var zt=0;zt<O.display.gutterSpecs.length;++zt){var Yt=O.display.gutterSpecs[zt].className,Cr=Re.hasOwnProperty(Yt)&&Re[Yt];Cr&&Nt.appendChild(N("div",[Cr],"CodeMirror-gutter-elt","left: "+ee.gutterLeft[Yt]+"px; width: "+ee.gutterWidth[Yt]+"px"))}}}function wr(O,M,J){M.alignable&&(M.alignable=null);for(var ee=L("CodeMirror-linewidget"),ie=M.node.firstChild,Re=void 0;ie;ie=Re)Re=ie.nextSibling,ee.test(ie.className)&&M.node.removeChild(ie);zr(O,M,J)}function Er(O,M,J,ee){var ie=jt(O,M);return M.text=M.node=ie.pre,ie.bgClass&&(M.bgClass=ie.bgClass),ie.textClass&&(M.textClass=ie.textClass),nr(O,M),Ir(O,M,J,ee),zr(O,M,ee),M.node}function zr(O,M,J){if(Jr(O,M.line,M,J,!0),M.rest)for(var ee=0;ee<M.rest.length;ee++)Jr(O,M.rest[ee],M,J,!1)}function Jr(O,M,J,ee,ie){if(!M.widgets)return;for(var Re=hn(J),pt=0,Nt=M.widgets;pt<Nt.length;++pt){var zt=Nt[pt],Yt=N("div",[zt.node],"CodeMirror-linewidget"+(zt.className?" "+zt.className:""));zt.handleMouseEvents||Yt.setAttribute("cm-ignore-events","true"),Zr(zt,Yt,J,ee),O.display.input.setUneditable(Yt),ie&&zt.above?Re.insertBefore(Yt,J.gutter||J.text):Re.appendChild(Yt),Tr(zt,"redraw")}}function Zr(O,M,J,ee){if(O.noHScroll){(J.alignable||(J.alignable=[])).push(M);var ie=ee.wrapperWidth;M.style.left=ee.fixedPos+"px",O.coverGutter||(ie-=ee.gutterTotalWidth,M.style.paddingLeft=ee.gutterTotalWidth+"px"),M.style.width=ie+"px"}O.coverGutter&&(M.style.zIndex=5,M.style.position="relative",O.noHScroll||(M.style.marginLeft=-ee.gutterTotalWidth+"px"))}function an(O){if(O.height!=null)return O.height;var M=O.doc.cm;if(!M)return 0;if(!B(document.body,O.node)){var J="position: relative;";O.coverGutter&&(J+="margin-left: -"+M.display.gutters.offsetWidth+"px;"),O.noHScroll&&(J+="width: "+M.display.wrapper.clientWidth+"px;"),I(M.display.measure,N("div",[O.node],null,J))}return O.height=O.node.parentNode.offsetHeight}function St(O,M){for(var J=Qe(M);J!=O.wrapper;J=J.parentNode)if(!J||J.nodeType==1&&J.getAttribute("cm-ignore-events")=="true"||J.parentNode==O.sizer&&J!=O.mover)return!0}function Vt(O){return O.lineSpace.offsetTop}function sr(O){return O.mover.offsetHeight-O.lineSpace.offsetHeight}function br(O){if(O.cachedPaddingH)return O.cachedPaddingH;var M=I(O.measure,N("pre","x","CodeMirror-line-like")),J=window.getComputedStyle?window.getComputedStyle(M):M.currentStyle,ee={left:parseInt(J.paddingLeft),right:parseInt(J.paddingRight)};return!isNaN(ee.left)&&!isNaN(ee.right)&&(O.cachedPaddingH=ee),ee}function Mr(O){return G-O.display.nativeBarWidth}function Dr(O){return O.display.scroller.clientWidth-Mr(O)-O.display.barWidth}function rn(O){return O.display.scroller.clientHeight-Mr(O)-O.display.barHeight}function fn(O,M,J){var ee=O.options.lineWrapping,ie=ee&&Dr(O);if(!M.measure.heights||ee&&M.measure.width!=ie){var Re=M.measure.heights=[];if(ee){M.measure.width=ie;for(var pt=M.text.firstChild.getClientRects(),Nt=0;Nt<pt.length-1;Nt++){var zt=pt[Nt],Yt=pt[Nt+1];Math.abs(zt.bottom-Yt.bottom)>2&&Re.push((zt.bottom+Yt.top)/2-J.top)}}Re.push(J.bottom-J.top)}}function wn(O,M,J){if(O.line==M)return{map:O.measure.map,cache:O.measure.cache};for(var ee=0;ee<O.rest.length;ee++)if(O.rest[ee]==M)return{map:O.measure.maps[ee],cache:O.measure.caches[ee]};for(var ie=0;ie<O.rest.length;ie++)if($e(O.rest[ie])>J)return{map:O.measure.maps[ie],cache:O.measure.caches[ie],before:!0}}function Hn(O,M){M=ta(M);var J=$e(M),ee=O.display.externalMeasured=new mo(O.doc,M,J);ee.lineN=J;var ie=ee.built=Qa(O,ee);return ee.text=ie.pre,I(O.display.lineMeasure,ie.pre),ee}function Sn(O,M,J,ee){return vn(O,Mn(O,M),J,ee)}function bn(O,M){if(M>=O.display.viewFrom&&M<O.display.viewTo)return O.display.view[la(O,M)];var J=O.display.externalMeasured;if(J&&M>=J.lineN&&M<J.lineN+J.size)return J}function Mn(O,M){var J=$e(M),ee=bn(O,J);ee&&!ee.text?ee=null:ee&&ee.changes&&(Wr(O,ee,J,Vi(O)),O.curOp.forceUpdate=!0),ee||(ee=Hn(O,M));var ie=wn(ee,M,J);return{line:M,view:ee,rect:null,map:ie.map,cache:ie.cache,before:ie.before,hasHeights:!1}}function vn(O,M,J,ee,ie){M.before&&(J=-1);var Re=J+(ee||""),pt;return M.cache.hasOwnProperty(Re)?pt=M.cache[Re]:(M.rect||(M.rect=M.view.text.getBoundingClientRect()),M.hasHeights||(fn(O,M.view,M.rect),M.hasHeights=!0),pt=Xn(O,M,J,ee),pt.bogus||(M.cache[Re]=pt)),{left:pt.left,right:pt.right,top:ie?pt.rtop:pt.top,bottom:ie?pt.rbottom:pt.bottom}}var Rn={left:0,right:0,top:0,bottom:0};function En(O,M,J){for(var ee,ie,Re,pt,Nt,zt,Yt=0;Yt<O.length;Yt+=3)if(Nt=O[Yt],zt=O[Yt+1],M<Nt?(ie=0,Re=1,pt="left"):M<zt?(ie=M-Nt,Re=ie+1):(Yt==O.length-3||M==zt&&O[Yt+3]>M)&&(Re=zt-Nt,ie=Re-1,M>=zt&&(pt="right")),ie!=null){if(ee=O[Yt+2],Nt==zt&&J==(ee.insertLeft?"left":"right")&&(pt=J),J=="left"&&ie==0)for(;Yt&&O[Yt-2]==O[Yt-3]&&O[Yt-1].insertLeft;)ee=O[(Yt-=3)+2],pt="left";if(J=="right"&&ie==zt-Nt)for(;Yt<O.length-3&&O[Yt+3]==O[Yt+4]&&!O[Yt+5].insertLeft;)ee=O[(Yt+=3)+2],pt="right";break}return{node:ee,start:ie,end:Re,collapse:pt,coverStart:Nt,coverEnd:zt}}function On(O,M){var J=Rn;if(M=="left")for(var ee=0;ee<O.length&&!((J=O[ee]).left!=J.right);ee++);else for(var ie=O.length-1;ie>=0&&!((J=O[ie]).left!=J.right);ie--);return J}function Xn(O,M,J,ee){var ie=En(M.map,J,ee),Re=ie.node,pt=ie.start,Nt=ie.end,zt=ie.collapse,Yt;if(Re.nodeType==3){for(var Cr=0;Cr<4;Cr++){for(;pt&&ye(M.line.text.charAt(ie.coverStart+pt));)--pt;for(;ie.coverStart+Nt<ie.coverEnd&&ye(M.line.text.charAt(ie.coverStart+Nt));)++Nt;if(c&&a<9&&pt==0&&Nt==ie.coverEnd-ie.coverStart?Yt=Re.parentNode.getBoundingClientRect():Yt=On(k(Re,pt,Nt).getClientRects(),ee),Yt.left||Yt.right||pt==0)break;Nt=pt,pt=pt-1,zt="right"}c&&a<11&&(Yt=ai(O.display.measure,Yt))}else{pt>0&&(zt=ee="right");var Ur;O.options.lineWrapping&&(Ur=Re.getClientRects()).length>1?Yt=Ur[ee=="right"?Ur.length-1:0]:Yt=Re.getBoundingClientRect()}if(c&&a<9&&!pt&&(!Yt||!Yt.left&&!Yt.right)){var en=Re.parentNode.getClientRects()[0];en?Yt={left:en.left,right:en.left+Oi(O.display),top:en.top,bottom:en.bottom}:Yt=Rn}for(var nn=Yt.top-M.rect.top,xn=Yt.bottom-M.rect.top,Pn=(nn+xn)/2,Zn=M.view.measure.heights,Jn=0;Jn<Zn.length-1&&!(Pn<Zn[Jn]);Jn++);var oi=Jn?Zn[Jn-1]:0,li=Zn[Jn],qe={left:(zt=="right"?Yt.right:Yt.left)-M.rect.left,right:(zt=="left"?Yt.left:Yt.right)-M.rect.left,top:oi,bottom:li};return!Yt.left&&!Yt.right&&(qe.bogus=!0),O.options.singleCursorHeightPerLine||(qe.rtop=nn,qe.rbottom=xn),qe}function ai(O,M){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!pe(O))return M;var J=screen.logicalXDPI/screen.deviceXDPI,ee=screen.logicalYDPI/screen.deviceYDPI;return{left:M.left*J,right:M.right*J,top:M.top*ee,bottom:M.bottom*ee}}function ri(O){if(O.measure&&(O.measure.cache={},O.measure.heights=null,O.rest))for(var M=0;M<O.rest.length;M++)O.measure.caches[M]={}}function Di(O){O.display.externalMeasure=null,C(O.display.lineMeasure);for(var M=0;M<O.display.view.length;M++)ri(O.display.view[M])}function yi(O){Di(O),O.display.cachedCharWidth=O.display.cachedTextHeight=O.display.cachedPaddingH=null,O.options.lineWrapping||(O.display.maxLineChanged=!0),O.display.lineNumChars=null}function xi(){return o&&u?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Li(){return o&&u?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Un(O){var M=0;if(O.widgets)for(var J=0;J<O.widgets.length;++J)O.widgets[J].above&&(M+=an(O.widgets[J]));return M}function Ri(O,M,J,ee,ie){if(!ie){var Re=Un(M);J.top+=Re,J.bottom+=Re}if(ee=="line")return J;ee||(ee="local");var pt=Ln(M);if(ee=="local"?pt+=Vt(O.display):pt-=O.display.viewOffset,ee=="page"||ee=="window"){var Nt=O.display.lineSpace.getBoundingClientRect();pt+=Nt.top+(ee=="window"?0:Li());var zt=Nt.left+(ee=="window"?0:xi());J.left+=zt,J.right+=zt}return J.top+=pt,J.bottom+=pt,J}function fa(O,M,J){if(J=="div")return M;var ee=M.left,ie=M.top;if(J=="page")ee-=xi(),ie-=Li();else if(J=="local"||!J){var Re=O.display.sizer.getBoundingClientRect();ee+=Re.left,ie+=Re.top}var pt=O.display.lineSpace.getBoundingClientRect();return{left:ee-pt.left,top:ie-pt.top}}function Ui(O,M,J,ee,ie){return ee||(ee=ne(O.doc,M.line)),Ri(O,ee,Sn(O,ee,M.ch,ie),J)}function Mi(O,M,J,ee,ie,Re){ee=ee||ne(O.doc,M.line),ie||(ie=Mn(O,ee));function pt(xn,Pn){var Zn=vn(O,ie,xn,Pn?"right":"left",Re);return Pn?Zn.left=Zn.right:Zn.right=Zn.left,Ri(O,ee,Zn,J)}var Nt=mt(ee,O.doc.direction),zt=M.ch,Yt=M.sticky;if(zt>=ee.text.length?(zt=ee.text.length,Yt="before"):zt<=0&&(zt=0,Yt="after"),!Nt)return pt(Yt=="before"?zt-1:zt,Yt=="before");function Cr(xn,Pn,Zn){var Jn=Nt[Pn],oi=Jn.level==1;return pt(Zn?xn-1:xn,oi!=Zn)}var Ur=Le(Nt,zt,Yt),en=fe,nn=Cr(zt,Ur,Yt=="before");return en!=null&&(nn.other=Cr(zt,en,Yt!="before")),nn}function mi(O,M){var J=0;M=ot(O.doc,M),O.options.lineWrapping||(J=Oi(O.display)*M.ch);var ee=ne(O.doc,M.line),ie=Ln(ee)+Vt(O.display);return{left:J,right:J,top:ie,bottom:ie+ee.height}}function hi(O,M,J,ee,ie){var Re=Dt(O,M,J);return Re.xRel=ie,ee&&(Re.outside=ee),Re}function qi(O,M,J){var ee=O.doc;if(J+=O.display.viewOffset,J<0)return hi(ee.first,0,null,-1,-1);var ie=vt(ee,J),Re=ee.first+ee.size-1;if(ie>Re)return hi(ee.first+ee.size-1,ne(ee,Re).text.length,null,1,1);M<0&&(M=0);for(var pt=ne(ee,ie);;){var Nt=oa(O,pt,ie,M,J),zt=ia(pt,Nt.ch+(Nt.xRel>0||Nt.outside>0?1:0));if(!zt)return Nt;var Yt=zt.find(1);if(Yt.line==ie)return Yt;pt=ne(ee,ie=Yt.line)}}function va(O,M,J,ee){ee-=Un(M);var ie=M.text.length,Re=Oe(function(pt){return vn(O,J,pt-1).bottom<=ee},ie,0);return ie=Oe(function(pt){return vn(O,J,pt).top>ee},Re,ie),{begin:Re,end:ie}}function Ea(O,M,J,ee){J||(J=Mn(O,M));var ie=Ri(O,M,vn(O,J,ee),"line").top;return va(O,M,J,ie)}function ya(O,M,J,ee){return O.bottom<=J?!1:O.top>J?!0:(ee?O.left:O.right)>M}function oa(O,M,J,ee,ie){ie-=Ln(M);var Re=Mn(O,M),pt=Un(M),Nt=0,zt=M.text.length,Yt=!0,Cr=mt(M,O.doc.direction);if(Cr){var Ur=(O.options.lineWrapping?Ni:sa)(O,M,J,Re,Cr,ee,ie);Yt=Ur.level!=1,Nt=Yt?Ur.from:Ur.to-1,zt=Yt?Ur.to:Ur.from-1}var en=null,nn=null,xn=Oe(function(te){var ke=vn(O,Re,te);return ke.top+=pt,ke.bottom+=pt,ya(ke,ee,ie,!1)?(ke.top<=ie&&ke.left<=ee&&(en=te,nn=ke),!0):!1},Nt,zt),Pn,Zn,Jn=!1;if(nn){var oi=ee-nn.left<nn.right-ee,li=oi==Yt;xn=en+(li?0:1),Zn=li?"after":"before",Pn=oi?nn.left:nn.right}else{!Yt&&(xn==zt||xn==Nt)&&xn++,Zn=xn==0?"after":xn==M.text.length?"before":vn(O,Re,xn-(Yt?1:0)).bottom+pt<=ie==Yt?"after":"before";var qe=Mi(O,Dt(J,xn,Zn),"line",M,Re);Pn=qe.left,Jn=ie<qe.top?-1:ie>=qe.bottom?1:0}return xn=Fe(M.text,xn,1),hi(J,xn,Zn,Jn,ee-Pn)}function sa(O,M,J,ee,ie,Re,pt){var Nt=Oe(function(Ur){var en=ie[Ur],nn=en.level!=1;return ya(Mi(O,Dt(J,nn?en.to:en.from,nn?"before":"after"),"line",M,ee),Re,pt,!0)},0,ie.length-1),zt=ie[Nt];if(Nt>0){var Yt=zt.level!=1,Cr=Mi(O,Dt(J,Yt?zt.from:zt.to,Yt?"after":"before"),"line",M,ee);ya(Cr,Re,pt,!0)&&Cr.top>pt&&(zt=ie[Nt-1])}return zt}function Ni(O,M,J,ee,ie,Re,pt){var Nt=va(O,M,ee,pt),zt=Nt.begin,Yt=Nt.end;/\s/.test(M.text.charAt(Yt-1))&&Yt--;for(var Cr=null,Ur=null,en=0;en<ie.length;en++){var nn=ie[en];if(nn.from>=Yt||nn.to<=zt)continue;var xn=nn.level!=1,Pn=vn(O,ee,xn?Math.min(Yt,nn.to)-1:Math.max(zt,nn.from)).right,Zn=Pn<Re?Re-Pn+1e9:Pn-Re;(!Cr||Ur>Zn)&&(Cr=nn,Ur=Zn)}return Cr||(Cr=ie[ie.length-1]),Cr.from<zt&&(Cr={from:zt,to:Cr.to,level:Cr.level}),Cr.to>Yt&&(Cr={from:Cr.from,to:Yt,level:Cr.level}),Cr}var $n;function Ai(O){if(O.cachedTextHeight!=null)return O.cachedTextHeight;if($n==null){$n=N("pre",null,"CodeMirror-line-like");for(var M=0;M<49;++M)$n.appendChild(document.createTextNode("x")),$n.appendChild(N("br"));$n.appendChild(document.createTextNode("x"))}I(O.measure,$n);var J=$n.offsetHeight/50;return J>3&&(O.cachedTextHeight=J),C(O.measure),J||1}function Oi(O){if(O.cachedCharWidth!=null)return O.cachedCharWidth;var M=N("span","xxxxxxxxxx"),J=N("pre",[M],"CodeMirror-line-like");I(O.measure,J);var ee=M.getBoundingClientRect(),ie=(ee.right-ee.left)/10;return ie>2&&(O.cachedCharWidth=ie),ie||10}function Vi(O){for(var M=O.display,J={},ee={},ie=M.gutters.clientLeft,Re=M.gutters.firstChild,pt=0;Re;Re=Re.nextSibling,++pt){var Nt=O.display.gutterSpecs[pt].className;J[Nt]=Re.offsetLeft+Re.clientLeft+ie,ee[Nt]=Re.clientWidth}return{fixedPos:Xi(M),gutterTotalWidth:M.gutters.offsetWidth,gutterLeft:J,gutterWidth:ee,wrapperWidth:M.wrapper.clientWidth}}function Xi(O){return O.scroller.getBoundingClientRect().left-O.sizer.getBoundingClientRect().left}function bi(O){var M=Ai(O.display),J=O.options.lineWrapping,ee=J&&Math.max(5,O.display.scroller.clientWidth/Oi(O.display)-3);return function(ie){if(mn(O.doc,ie))return 0;var Re=0;if(ie.widgets)for(var pt=0;pt<ie.widgets.length;pt++)ie.widgets[pt].height&&(Re+=ie.widgets[pt].height);return J?Re+(Math.ceil(ie.text.length/ee)||1)*M:Re+M}}function Aa(O){var M=O.doc,J=bi(O);M.iter(function(ee){var ie=J(ee);ie!=ee.height&&Me(ee,ie)})}function ca(O,M,J,ee){var ie=O.display;if(!J&&Qe(M).getAttribute("cm-not-content")=="true")return null;var Re,pt,Nt=ie.lineSpace.getBoundingClientRect();try{Re=M.clientX-Nt.left,pt=M.clientY-Nt.top}catch(Ur){return null}var zt=qi(O,Re,pt),Yt;if(ee&&zt.xRel>0&&(Yt=ne(O.doc,zt.line).text).length==zt.ch){var Cr=W(Yt,Yt.length,O.options.tabSize)-Yt.length;zt=Dt(zt.line,Math.max(0,Math.round((Re-br(O.display).left)/Oi(O.display))-Cr))}return zt}function la(O,M){if(M>=O.display.viewTo)return null;if(M-=O.display.viewFrom,M<0)return null;for(var J=O.display.view,ee=0;ee<J.length;ee++)if(M-=J[ee].size,M<0)return ee}function gi(O,M,J,ee){M==null&&(M=O.doc.first),J==null&&(J=O.doc.first+O.doc.size),ee||(ee=0);var ie=O.display;if(ee&&J<ie.viewTo&&(ie.updateLineNumbers==null||ie.updateLineNumbers>M)&&(ie.updateLineNumbers=M),O.curOp.viewChanged=!0,M>=ie.viewTo)Qr&&Gn(O.doc,M)<ie.viewTo&&Ma(O);else if(J<=ie.viewFrom)Qr&&Ia(O.doc,J+ee)>ie.viewFrom?Ma(O):(ie.viewFrom+=ee,ie.viewTo+=ee);else if(M<=ie.viewFrom&&J>=ie.viewTo)Ma(O);else if(M<=ie.viewFrom){var Re=ra(O,J,J+ee,1);Re?(ie.view=ie.view.slice(Re.index),ie.viewFrom=Re.lineN,ie.viewTo+=ee):Ma(O)}else if(J>=ie.viewTo){var pt=ra(O,M,M,-1);pt?(ie.view=ie.view.slice(0,pt.index),ie.viewTo=pt.lineN):Ma(O)}else{var Nt=ra(O,M,M,-1),zt=ra(O,J,J+ee,1);Nt&&zt?(ie.view=ie.view.slice(0,Nt.index).concat(kn(O,Nt.lineN,zt.lineN)).concat(ie.view.slice(zt.index)),ie.viewTo+=ee):Ma(O)}var Yt=ie.externalMeasured;Yt&&(J<Yt.lineN?Yt.lineN+=ee:M<Yt.lineN+Yt.size&&(ie.externalMeasured=null))}function Ba(O,M,J){O.curOp.viewChanged=!0;var ee=O.display,ie=O.display.externalMeasured;if(ie&&M>=ie.lineN&&M<ie.lineN+ie.size&&(ee.externalMeasured=null),M<ee.viewFrom||M>=ee.viewTo)return;var Re=ee.view[la(O,M)];if(Re.node==null)return;var pt=Re.changes||(Re.changes=[]);z(pt,J)==-1&&pt.push(J)}function Ma(O){O.display.viewFrom=O.display.viewTo=O.doc.first,O.display.view=[],O.display.viewOffset=0}function ra(O,M,J,ee){var ie=la(O,M),Re,pt=O.display.view;if(!Qr||J==O.doc.first+O.doc.size)return{index:ie,lineN:J};for(var Nt=O.display.viewFrom,zt=0;zt<ie;zt++)Nt+=pt[zt].size;if(Nt!=M){if(ee>0){if(ie==pt.length-1)return null;Re=Nt+pt[ie].size-M,ie++}else Re=Nt-M;M+=Re,J+=Re}for(;Gn(O.doc,J)!=J;){if(ie==(ee<0?0:pt.length-1))return null;J+=ee*pt[ie-(ee<0?1:0)].size,ie+=ee}return{index:ie,lineN:J}}function Yi(O,M,J){var ee=O.display,ie=ee.view;ie.length==0||M>=ee.viewTo||J<=ee.viewFrom?(ee.view=kn(O,M,J),ee.viewFrom=M):(ee.viewFrom>M?ee.view=kn(O,M,ee.viewFrom).concat(ee.view):ee.viewFrom<M&&(ee.view=ee.view.slice(la(O,M))),ee.viewFrom=M,ee.viewTo<J?ee.view=ee.view.concat(kn(O,ee.viewTo,J)):ee.viewTo>J&&(ee.view=ee.view.slice(0,la(O,J)))),ee.viewTo=J}function Xa(O){for(var M=O.display.view,J=0,ee=0;ee<M.length;ee++){var ie=M[ee];!ie.hidden&&(!ie.node||ie.changes)&&++J}return J}function Ki(O){O.display.input.showSelection(O.display.input.prepareSelection())}function zi(O,M){M===void 0&&(M=!0);for(var J=O.doc,ee={},ie=ee.cursors=document.createDocumentFragment(),Re=ee.selection=document.createDocumentFragment(),pt=0;pt<J.sel.ranges.length;pt++){if(!M&&pt==J.sel.primIndex)continue;var Nt=J.sel.ranges[pt];if(Nt.from().line>=O.display.viewTo||Nt.to().line<O.display.viewFrom)continue;var zt=Nt.empty();(zt||O.options.showCursorWhenSelecting)&&ba(O,Nt.head,ie),zt||wa(O,Nt,Re)}return ee}function ba(O,M,J){var ee=Mi(O,M,"div",null,null,!O.options.singleCursorHeightPerLine),ie=J.appendChild(N("div","\xA0","CodeMirror-cursor"));if(ie.style.left=ee.left+"px",ie.style.top=ee.top+"px",ie.style.height=Math.max(0,ee.bottom-ee.top)*O.options.cursorHeight+"px",ee.other){var Re=J.appendChild(N("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));Re.style.display="",Re.style.left=ee.other.left+"px",Re.style.top=ee.other.top+"px",Re.style.height=(ee.other.bottom-ee.other.top)*.85+"px"}}function Ua(O,M){return O.top-M.top||O.left-M.left}function wa(O,M,J){var ee=O.display,ie=O.doc,Re=document.createDocumentFragment(),pt=br(O.display),Nt=pt.left,zt=Math.max(ee.sizerWidth,Dr(O)-ee.sizer.offsetLeft)-pt.right,Yt=ie.direction=="ltr";function Cr(li,qe,te,ke){qe<0&&(qe=0),qe=Math.round(qe),ke=Math.round(ke),Re.appendChild(N("div",null,"CodeMirror-selected","position: absolute; left: "+li+`px;
top: `+qe+"px; width: "+(te==null?zt-li:te)+`px;
height: `+(ke-qe)+"px"))}function Ur(li,qe,te){var ke=ne(ie,li),Ze=ke.text.length,Lt,tr;function vr(Kr,cn){return Ui(O,Dt(li,Kr),"div",ke,cn)}function Or(Kr,cn,sn){var Fn=Ea(O,ke,null,Kr),si=cn=="ltr"==(sn=="after")?"left":"right",Kn=sn=="after"?Fn.begin:Fn.end-(/\s/.test(ke.text.charAt(Fn.end-1))?2:1);return vr(Kn,si)[si]}var Hr=mt(ke,ie.direction);return se(Hr,qe||0,te==null?Ze:te,function(Kr,cn,sn,Fn){var si=sn=="ltr",Kn=vr(Kr,si?"left":"right"),fi=vr(cn-1,si?"right":"left"),da=qe==null&&Kr==0,Ti=te==null&&cn==Ze,na=Fn==0,_a=!Hr||Fn==Hr.length-1;if(fi.top-Kn.top<=3){var Bi=(Yt?da:Ti)&&na,_o=(Yt?Ti:da)&&_a,no=Bi?Nt:(si?Kn:fi).left,zo=_o?zt:(si?fi:Kn).right;Cr(no,Kn.top,zo-no,Kn.bottom)}else{var Bo,ka,Wo,fs;si?(Bo=Yt&&da&&na?Nt:Kn.left,ka=Yt?zt:Or(Kr,sn,"before"),Wo=Yt?Nt:Or(cn,sn,"after"),fs=Yt&&Ti&&_a?zt:fi.right):(Bo=Yt?Or(Kr,sn,"before"):Nt,ka=!Yt&&da&&na?zt:Kn.right,Wo=!Yt&&Ti&&_a?Nt:fi.left,fs=Yt?Or(cn,sn,"after"):zt),Cr(Bo,Kn.top,ka-Bo,Kn.bottom),Kn.bottom<fi.top&&Cr(Nt,Kn.bottom,null,fi.top),Cr(Wo,fi.top,fs-Wo,fi.bottom)}(!Lt||Ua(Kn,Lt)<0)&&(Lt=Kn),Ua(fi,Lt)<0&&(Lt=fi),(!tr||Ua(Kn,tr)<0)&&(tr=Kn),Ua(fi,tr)<0&&(tr=fi)}),{start:Lt,end:tr}}var en=M.from(),nn=M.to();if(en.line==nn.line)Ur(en.line,en.ch,nn.ch);else{var xn=ne(ie,en.line),Pn=ne(ie,nn.line),Zn=ta(xn)==ta(Pn),Jn=Ur(en.line,en.ch,Zn?xn.text.length+1:null).end,oi=Ur(nn.line,Zn?0:null,nn.ch).start;Zn&&(Jn.top<oi.top-2?(Cr(Jn.right,Jn.top,null,Jn.bottom),Cr(Nt,oi.top,oi.left,oi.bottom)):Cr(Jn.right,Jn.top,oi.left-Jn.right,Jn.bottom)),Jn.bottom<oi.top&&Cr(Nt,Jn.bottom,null,oi.top)}J.appendChild(Re)}function vi(O){if(!O.state.focused)return;var M=O.display;clearInterval(M.blinker);var J=!0;M.cursorDiv.style.visibility="",O.options.cursorBlinkRate>0?M.blinker=setInterval(function(){O.hasFocus()||Ii(O),M.cursorDiv.style.visibility=(J=!J)?"":"hidden"},O.options.cursorBlinkRate):O.options.cursorBlinkRate<0&&(M.cursorDiv.style.visibility="hidden")}function Ya(O){O.state.focused||(O.display.input.focus(),pa(O))}function Ka(O){O.state.delayingBlurEvent=!0,setTimeout(function(){O.state.delayingBlurEvent&&(O.state.delayingBlurEvent=!1,Ii(O))},100)}function pa(O,M){if(O.state.delayingBlurEvent&&(O.state.delayingBlurEvent=!1),O.options.readOnly=="nocursor")return;O.state.focused||(wt(O,"focus",O,M),O.state.focused=!0,K(O.display.wrapper,"CodeMirror-focused"),!O.curOp&&O.display.selForContextMenu!=O.doc.sel&&(O.display.input.reset(),i&&setTimeout(function(){return O.display.input.reset(!0)},20)),O.display.input.receivedFocus()),vi(O)}function Ii(O,M){if(O.state.delayingBlurEvent)return;O.state.focused&&(wt(O,"blur",O,M),O.state.focused=!1,x(O.display.wrapper,"CodeMirror-focused")),clearInterval(O.display.blinker),setTimeout(function(){O.state.focused||(O.display.shift=!1)},150)}function So(O){for(var M=O.display,J=M.lineDiv.offsetTop,ee=0;ee<M.view.length;ee++){var ie=M.view[ee],Re=O.options.lineWrapping,pt=void 0,Nt=0;if(ie.hidden)continue;if(c&&a<8){var zt=ie.node.offsetTop+ie.node.offsetHeight;pt=zt-J,J=zt}else{var Yt=ie.node.getBoundingClientRect();pt=Yt.bottom-Yt.top,!Re&&ie.text.firstChild&&(Nt=ie.text.firstChild.getBoundingClientRect().right-Yt.left-1)}var Cr=ie.line.height-pt;if((Cr>.005||Cr<-.005)&&(Me(ie.line,pt),za(ie.line),ie.rest))for(var Ur=0;Ur<ie.rest.length;Ur++)za(ie.rest[Ur]);if(Nt>O.display.sizerWidth){var en=Math.ceil(Nt/Oi(O.display));en>O.display.maxLineLength&&(O.display.maxLineLength=en,O.display.maxLine=ie.line,O.display.maxLineChanged=!0)}}}function za(O){if(O.widgets)for(var M=0;M<O.widgets.length;++M){var J=O.widgets[M],ee=J.node.parentNode;ee&&(J.height=ee.offsetHeight)}}function ja(O,M,J){var ee=J&&J.top!=null?Math.max(0,J.top):O.scroller.scrollTop;ee=Math.floor(ee-Vt(O));var ie=J&&J.bottom!=null?J.bottom:ee+O.wrapper.clientHeight,Re=vt(M,ee),pt=vt(M,ie);if(J&&J.ensure){var Nt=J.ensure.from.line,zt=J.ensure.to.line;Nt<Re?(Re=Nt,pt=vt(M,Ln(ne(M,Nt))+O.wrapper.clientHeight)):Math.min(zt,M.lastLine())>=pt&&(Re=vt(M,Ln(ne(M,zt))-O.wrapper.clientHeight),pt=zt)}return{from:Re,to:Math.max(pt,Re+1)}}function qa(O,M){if(Ye(O,"scrollCursorIntoView"))return;var J=O.display,ee=J.sizer.getBoundingClientRect(),ie=null;if(M.top+ee.top<0?ie=!0:M.bottom+ee.top>(window.innerHeight||document.documentElement.clientHeight)&&(ie=!1),ie!=null&&!t){var Re=N("div","\u200B",null,`position: absolute;
top: `+(M.top-J.viewOffset-Vt(O.display))+`px;
height: `+(M.bottom-M.top+Mr(O)+J.barHeight)+`px;
left: `+M.left+"px; width: "+Math.max(2,M.right-M.left)+"px;");O.display.lineSpace.appendChild(Re),Re.scrollIntoView(ie),O.display.lineSpace.removeChild(Re)}}function ho(O,M,J,ee){ee==null&&(ee=0);var ie;!O.options.lineWrapping&&M==J&&(M=M.ch?Dt(M.line,M.sticky=="before"?M.ch-1:M.ch,"after"):M,J=M.sticky=="before"?Dt(M.line,M.ch+1,"before"):M);for(var Re=0;Re<5;Re++){var pt=!1,Nt=Mi(O,M),zt=!J||J==M?Nt:Mi(O,J);ie={left:Math.min(Nt.left,zt.left),top:Math.min(Nt.top,zt.top)-ee,right:Math.max(Nt.left,zt.left),bottom:Math.max(Nt.bottom,zt.bottom)+ee};var Yt=to(O,ie),Cr=O.doc.scrollTop,Ur=O.doc.scrollLeft;if(Yt.scrollTop!=null&&(Gi(O,Yt.scrollTop),Math.abs(O.doc.scrollTop-Cr)>1&&(pt=!0)),Yt.scrollLeft!=null&&(go(O,Yt.scrollLeft),Math.abs(O.doc.scrollLeft-Ur)>1&&(pt=!0)),!pt)break}return ie}function Ca(O,M){var J=to(O,M);J.scrollTop!=null&&Gi(O,J.scrollTop),J.scrollLeft!=null&&go(O,J.scrollLeft)}function to(O,M){var J=O.display,ee=Ai(O.display);M.top<0&&(M.top=0);var ie=O.curOp&&O.curOp.scrollTop!=null?O.curOp.scrollTop:J.scroller.scrollTop,Re=rn(O),pt={};M.bottom-M.top>Re&&(M.bottom=M.top+Re);var Nt=O.doc.height+sr(J),zt=M.top<ee,Yt=M.bottom>Nt-ee;if(M.top<ie)pt.scrollTop=zt?0:M.top;else if(M.bottom>ie+Re){var Cr=Math.min(M.top,(Yt?Nt:M.bottom)-Re);Cr!=ie&&(pt.scrollTop=Cr)}var Ur=O.options.fixedGutter?0:J.gutters.offsetWidth,en=O.curOp&&O.curOp.scrollLeft!=null?O.curOp.scrollLeft:J.scroller.scrollLeft-Ur,nn=Dr(O)-J.gutters.offsetWidth,xn=M.right-M.left>nn;return xn&&(M.right=M.left+nn),M.left<10?pt.scrollLeft=0:M.left<en?pt.scrollLeft=Math.max(0,M.left+Ur-(xn?0:10)):M.right>nn+en-3&&(pt.scrollLeft=M.right+(xn?0:10)-nn),pt}function Lo(O,M){if(M==null)return;Da(O),O.curOp.scrollTop=(O.curOp.scrollTop==null?O.doc.scrollTop:O.curOp.scrollTop)+M}function Oa(O){Da(O);var M=O.getCursor();O.curOp.scrollToPos={from:M,to:M,margin:O.options.cursorScrollMargin}}function Fi(O,M,J){(M!=null||J!=null)&&Da(O),M!=null&&(O.curOp.scrollLeft=M),J!=null&&(O.curOp.scrollTop=J)}function Ja(O,M){Da(O),O.curOp.scrollToPos=M}function Da(O){var M=O.curOp.scrollToPos;if(M){O.curOp.scrollToPos=null;var J=mi(O,M.from),ee=mi(O,M.to);pi(O,J,ee,M.margin)}}function pi(O,M,J,ee){var ie=to(O,{left:Math.min(M.left,J.left),top:Math.min(M.top,J.top)-ee,right:Math.max(M.right,J.right),bottom:Math.max(M.bottom,J.bottom)+ee});Fi(O,ie.scrollLeft,ie.scrollTop)}function Gi(O,M){if(Math.abs(O.doc.scrollTop-M)<2)return;y||Oo(O,{top:M}),oo(O,M,!0),y&&Oo(O),ps(O,100)}function oo(O,M,J){if(M=Math.max(0,Math.min(O.display.scroller.scrollHeight-O.display.scroller.clientHeight,M)),O.display.scroller.scrollTop==M&&!J)return;O.doc.scrollTop=M,O.display.scrollbars.setScrollTop(M),O.display.scroller.scrollTop!=M&&(O.display.scroller.scrollTop=M)}function go(O,M,J,ee){if(M=Math.max(0,Math.min(M,O.display.scroller.scrollWidth-O.display.scroller.clientWidth)),(J?M==O.doc.scrollLeft:Math.abs(O.doc.scrollLeft-M)<2)&&!ee)return;O.doc.scrollLeft=M,ms(O),O.display.scroller.scrollLeft!=M&&(O.display.scroller.scrollLeft=M),O.display.scrollbars.setScrollLeft(M)}function fo(O){var M=O.display,J=M.gutters.offsetWidth,ee=Math.round(O.doc.height+sr(O.display));return{clientHeight:M.scroller.clientHeight,viewHeight:M.wrapper.clientHeight,scrollWidth:M.scroller.scrollWidth,clientWidth:M.scroller.clientWidth,viewWidth:M.wrapper.clientWidth,barLeft:O.options.fixedGutter?J:0,docHeight:ee,scrollHeight:ee+Mr(O)+M.barHeight,nativeBarWidth:M.nativeBarWidth,gutterWidth:J}}var Ta=function(M,J,ee){this.cm=ee;var ie=this.vert=N("div",[N("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Re=this.horiz=N("div",[N("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");ie.tabIndex=Re.tabIndex=-1,M(ie),M(Re),Ue(ie,"scroll",function(){ie.clientHeight&&J(ie.scrollTop,"vertical")}),Ue(Re,"scroll",function(){Re.clientWidth&&J(Re.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,c&&a<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Ta.prototype.update=function(O){var M=O.scrollWidth>O.clientWidth+1,J=O.scrollHeight>O.clientHeight+1,ee=O.nativeBarWidth;if(J){this.vert.style.display="block",this.vert.style.bottom=M?ee+"px":"0";var ie=O.viewHeight-(M?ee:0);this.vert.firstChild.style.height=Math.max(0,O.scrollHeight-O.clientHeight+ie)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(M){this.horiz.style.display="block",this.horiz.style.right=J?ee+"px":"0",this.horiz.style.left=O.barLeft+"px";var Re=O.viewWidth-O.barLeft-(J?ee:0);this.horiz.firstChild.style.width=Math.max(0,O.scrollWidth-O.clientWidth+Re)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&O.clientHeight>0&&(ee==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:J?ee:0,bottom:M?ee:0}},Ta.prototype.setScrollLeft=function(O){this.horiz.scrollLeft!=O&&(this.horiz.scrollLeft=O),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Ta.prototype.setScrollTop=function(O){this.vert.scrollTop!=O&&(this.vert.scrollTop=O),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Ta.prototype.zeroWidthHack=function(){var O=w&&!l?"12px":"18px";this.horiz.style.height=this.vert.style.width=O,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new X,this.disableVert=new X},Ta.prototype.enableZeroWidthBar=function(O,M,J){O.style.pointerEvents="auto";function ee(){var ie=O.getBoundingClientRect(),Re=J=="vert"?document.elementFromPoint(ie.right-1,(ie.top+ie.bottom)/2):document.elementFromPoint((ie.right+ie.left)/2,ie.bottom-1);Re!=O?O.style.pointerEvents="none":M.set(1e3,ee)}M.set(1e3,ee)},Ta.prototype.clear=function(){var O=this.horiz.parentNode;O.removeChild(this.horiz),O.removeChild(this.vert)};var ki=function(){};ki.prototype.update=function(){return{bottom:0,right:0}},ki.prototype.setScrollLeft=function(){},ki.prototype.setScrollTop=function(){},ki.prototype.clear=function(){};function Ra(O,M){M||(M=fo(O));var J=O.display.barWidth,ee=O.display.barHeight;Vo(O,M);for(var ie=0;ie<4&&J!=O.display.barWidth||ee!=O.display.barHeight;ie++)J!=O.display.barWidth&&O.options.lineWrapping&&So(O),Vo(O,fo(O)),J=O.display.barWidth,ee=O.display.barHeight}function Vo(O,M){var J=O.display,ee=J.scrollbars.update(M);J.sizer.style.paddingRight=(J.barWidth=ee.right)+"px",J.sizer.style.paddingBottom=(J.barHeight=ee.bottom)+"px",J.heightForcer.style.borderBottom=ee.bottom+"px solid transparent",ee.right&&ee.bottom?(J.scrollbarFiller.style.display="block",J.scrollbarFiller.style.height=ee.bottom+"px",J.scrollbarFiller.style.width=ee.right+"px"):J.scrollbarFiller.style.display="",ee.bottom&&O.options.coverGutterNextToScrollbar&&O.options.fixedGutter?(J.gutterFiller.style.display="block",J.gutterFiller.style.height=ee.bottom+"px",J.gutterFiller.style.width=M.gutterWidth+"px"):J.gutterFiller.style.display=""}var ro={native:Ta,null:ki};function vo(O){O.display.scrollbars&&(O.display.scrollbars.clear(),O.display.scrollbars.addClass&&x(O.display.wrapper,O.display.scrollbars.addClass)),O.display.scrollbars=new ro[O.options.scrollbarStyle](function(M){O.display.wrapper.insertBefore(M,O.display.scrollbarFiller),Ue(M,"mousedown",function(){O.state.focused&&setTimeout(function(){return O.display.input.focus()},0)}),M.setAttribute("cm-not-content","true")},function(M,J){J=="horizontal"?go(O,M):Gi(O,M)},O),O.display.scrollbars.addClass&&K(O.display.wrapper,O.display.scrollbars.addClass)}var po=0;function Zi(O){O.curOp={cm:O,viewChanged:!1,startHeight:O.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(O.curOp)}function xo(O){var M=O.curOp;M&&uo(M,function(J){for(var ee=0;ee<J.ops.length;ee++)J.ops[ee].cm.curOp=null;is(J)})}function is(O){for(var M=O.ops,J=0;J<M.length;J++)Jo(M[J]);for(var ee=0;ee<M.length;ee++)_s(M[ee]);for(var ie=0;ie<M.length;ie++)Cs(M[ie]);for(var Re=0;Re<M.length;Re++)Ts(M[Re]);for(var pt=0;pt<M.length;pt++)Go(M[pt])}function Jo(O){var M=O.cm,J=M.display;ss(M),O.updateMaxLine&&jn(M),O.mustUpdate=O.viewChanged||O.forceUpdate||O.scrollTop!=null||O.scrollToPos&&(O.scrollToPos.from.line<J.viewFrom||O.scrollToPos.to.line>=J.viewTo)||J.maxLineChanged&&M.options.lineWrapping,O.update=O.mustUpdate&&new Xo(M,O.mustUpdate&&{top:O.scrollTop,ensure:O.scrollToPos},O.forceUpdate)}function _s(O){O.updatedDisplay=O.mustUpdate&&La(O.cm,O.update)}function Cs(O){var M=O.cm,J=M.display;O.updatedDisplay&&So(M),O.barMeasure=fo(M),J.maxLineChanged&&!M.options.lineWrapping&&(O.adjustWidthTo=Sn(M,J.maxLine,J.maxLine.text.length).left+3,M.display.sizerWidth=O.adjustWidthTo,O.barMeasure.scrollWidth=Math.max(J.scroller.clientWidth,J.sizer.offsetLeft+O.adjustWidthTo+Mr(M)+M.display.barWidth),O.maxScrollLeft=Math.max(0,J.sizer.offsetLeft+O.adjustWidthTo-Dr(M))),(O.updatedDisplay||O.selectionChanged)&&(O.preparedSelection=J.input.prepareSelection())}function Ts(O){var M=O.cm;O.adjustWidthTo!=null&&(M.display.sizer.style.minWidth=O.adjustWidthTo+"px",O.maxScrollLeft<M.doc.scrollLeft&&go(M,Math.min(M.display.scroller.scrollLeft,O.maxScrollLeft),!0),M.display.maxLineChanged=!1);var J=O.focus&&O.focus==P();O.preparedSelection&&M.display.input.showSelection(O.preparedSelection,J),(O.updatedDisplay||O.startHeight!=M.doc.height)&&Ra(M,O.barMeasure),O.updatedDisplay&&rs(M,O.barMeasure),O.selectionChanged&&vi(M),M.state.focused&&O.updateInput&&M.display.input.reset(O.typing),J&&Ya(O.cm)}function Go(O){var M=O.cm,J=M.display,ee=M.doc;if(O.updatedDisplay&&Io(M,O.update),J.wheelStartX!=null&&(O.scrollTop!=null||O.scrollLeft!=null||O.scrollToPos)&&(J.wheelStartX=J.wheelStartY=null),O.scrollTop!=null&&oo(M,O.scrollTop,O.forceScroll),O.scrollLeft!=null&&go(M,O.scrollLeft,!0,!0),O.scrollToPos){var ie=ho(M,ot(ee,O.scrollToPos.from),ot(ee,O.scrollToPos.to),O.scrollToPos.margin);qa(M,ie)}var Re=O.maybeHiddenMarkers,pt=O.maybeUnhiddenMarkers;if(Re)for(var Nt=0;Nt<Re.length;++Nt)Re[Nt].lines.length||wt(Re[Nt],"hide");if(pt)for(var zt=0;zt<pt.length;++zt)pt[zt].lines.length&&wt(pt[zt],"unhide");J.wrapper.offsetHeight&&(ee.scrollTop=M.display.scroller.scrollTop),O.changeObjs&&wt(M,"changes",M,O.changeObjs),O.update&&O.update.finish()}function bo(O,M){if(O.curOp)return M();Zi(O);try{return M()}finally{xo(O)}}function Za(O,M){return function(){if(O.curOp)return M.apply(O,arguments);Zi(O);try{return M.apply(O,arguments)}finally{xo(O)}}}function Ga(O){return function(){if(this.curOp)return O.apply(this,arguments);Zi(this);try{return O.apply(this,arguments)}finally{xo(this)}}}function so(O){return function(){var M=this.cm;if(!M||M.curOp)return O.apply(this,arguments);Zi(M);try{return O.apply(this,arguments)}finally{xo(M)}}}function ps(O,M){O.doc.highlightFrontier<O.display.viewTo&&O.state.highlight.set(M,j(Sr,O))}function Sr(O){var M=O.doc;if(M.highlightFrontier>=O.display.viewTo)return;var J=+new Date+O.options.workTime,ee=Ht(O,M.highlightFrontier),ie=[];M.iter(ee.line,Math.min(M.first+M.size,O.display.viewTo+500),function(Re){if(ee.line>=O.display.viewFrom){var pt=Re.styles,Nt=Re.text.length>O.options.maxHighlightLength?It(M.mode,ee.state):null,zt=Tt(O,Re,ee,!0);Nt&&(ee.state=Nt),Re.styles=zt.styles;var Yt=Re.styleClasses,Cr=zt.classes;Cr?Re.styleClasses=Cr:Yt&&(Re.styleClasses=null);for(var Ur=!pt||pt.length!=Re.styles.length||Yt!=Cr&&(!Yt||!Cr||Yt.bgClass!=Cr.bgClass||Yt.textClass!=Cr.textClass),en=0;!Ur&&en<pt.length;++en)Ur=pt[en]!=Re.styles[en];Ur&&ie.push(ee.line),Re.stateAfter=ee.save(),ee.nextLine()}else Re.text.length<=O.options.maxHighlightLength&&Ft(O,Re.text,ee),Re.stateAfter=ee.line%5==0?ee.save():null,ee.nextLine();if(+new Date>J)return ps(O,O.options.workDelay),!0}),M.highlightFrontier=ee.line,M.modeFrontier=Math.max(M.modeFrontier,ee.line),ie.length&&bo(O,function(){for(var Re=0;Re<ie.length;Re++)Ba(O,ie[Re],"text")})}var Xo=function(M,J,ee){var ie=M.display;this.viewport=J,this.visible=ja(ie,M.doc,J),this.editorIsHidden=!ie.wrapper.offsetWidth,this.wrapperHeight=ie.wrapper.clientHeight,this.wrapperWidth=ie.wrapper.clientWidth,this.oldDisplayWidth=Dr(M),this.force=ee,this.dims=Vi(M),this.events=[]};Xo.prototype.signal=function(O,M){rt(O,M)&&this.events.push(arguments)},Xo.prototype.finish=function(){for(var O=0;O<this.events.length;O++)wt.apply(null,this.events[O])};function ss(O){var M=O.display;!M.scrollbarsClipped&&M.scroller.offsetWidth&&(M.nativeBarWidth=M.scroller.offsetWidth-M.scroller.clientWidth,M.heightForcer.style.height=Mr(O)+"px",M.sizer.style.marginBottom=-M.nativeBarWidth+"px",M.sizer.style.borderRightWidth=Mr(O)+"px",M.scrollbarsClipped=!0)}function Ls(O){if(O.hasFocus())return null;var M=P();if(!M||!B(O.display.lineDiv,M))return null;var J={activeElt:M};if(window.getSelection){var ee=window.getSelection();ee.anchorNode&&ee.extend&&B(O.display.lineDiv,ee.anchorNode)&&(J.anchorNode=ee.anchorNode,J.anchorOffset=ee.anchorOffset,J.focusNode=ee.focusNode,J.focusOffset=ee.focusOffset)}return J}function Fa(O){if(!O||!O.activeElt||O.activeElt==P())return;if(O.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(O.activeElt.nodeName)&&O.anchorNode&&B(document.body,O.anchorNode)&&B(document.body,O.focusNode)){var M=window.getSelection(),J=document.createRange();J.setEnd(O.anchorNode,O.anchorOffset),J.collapse(!1),M.removeAllRanges(),M.addRange(J),M.extend(O.focusNode,O.focusOffset)}}function La(O,M){var J=O.display,ee=O.doc;if(M.editorIsHidden)return Ma(O),!1;if(!M.force&&M.visible.from>=J.viewFrom&&M.visible.to<=J.viewTo&&(J.updateLineNumbers==null||J.updateLineNumbers>=J.viewTo)&&J.renderedView==J.view&&Xa(O)==0)return!1;ls(O)&&(Ma(O),M.dims=Vi(O));var ie=ee.first+ee.size,Re=Math.max(M.visible.from-O.options.viewportMargin,ee.first),pt=Math.min(ie,M.visible.to+O.options.viewportMargin);J.viewFrom<Re&&Re-J.viewFrom<20&&(Re=Math.max(ee.first,J.viewFrom)),J.viewTo>pt&&J.viewTo-pt<20&&(pt=Math.min(ie,J.viewTo)),Qr&&(Re=Gn(O.doc,Re),pt=Ia(O.doc,pt));var Nt=Re!=J.viewFrom||pt!=J.viewTo||J.lastWrapHeight!=M.wrapperHeight||J.lastWrapWidth!=M.wrapperWidth;Yi(O,Re,pt),J.viewOffset=Ln(ne(O.doc,J.viewFrom)),O.display.mover.style.top=J.viewOffset+"px";var zt=Xa(O);if(!Nt&&zt==0&&!M.force&&J.renderedView==J.view&&(J.updateLineNumbers==null||J.updateLineNumbers>=J.viewTo))return!1;var Yt=Ls(O);return zt>4&&(J.lineDiv.style.display="none"),ts(O,J.updateLineNumbers,M.dims),zt>4&&(J.lineDiv.style.display=""),J.renderedView=J.view,Fa(Yt),C(J.cursorDiv),C(J.selectionDiv),J.gutters.style.height=J.sizer.style.minHeight=0,Nt&&(J.lastWrapHeight=M.wrapperHeight,J.lastWrapWidth=M.wrapperWidth,ps(O,400)),J.updateLineNumbers=null,!0}function Io(O,M){for(var J=M.viewport,ee=!0;;ee=!1){if(!ee||!O.options.lineWrapping||M.oldDisplayWidth==Dr(O)){if(J&&J.top!=null&&(J={top:Math.min(O.doc.height+sr(O.display)-rn(O),J.top)}),M.visible=ja(O.display,O.doc,J),M.visible.from>=O.display.viewFrom&&M.visible.to<=O.display.viewTo)break}else ee&&(M.visible=ja(O.display,O.doc,J));if(!La(O,M))break;So(O);var ie=fo(O);Ki(O),Ra(O,ie),rs(O,ie),M.force=!1}M.signal(O,"update",O),(O.display.viewFrom!=O.display.reportedViewFrom||O.display.viewTo!=O.display.reportedViewTo)&&(M.signal(O,"viewportChange",O,O.display.viewFrom,O.display.viewTo),O.display.reportedViewFrom=O.display.viewFrom,O.display.reportedViewTo=O.display.viewTo)}function Oo(O,M){var J=new Xo(O,M);if(La(O,J)){So(O),Io(O,J);var ee=fo(O);Ki(O),Ra(O,ee),rs(O,ee),J.finish()}}function ts(O,M,J){var ee=O.display,ie=O.options.lineNumbers,Re=ee.lineDiv,pt=Re.firstChild;function Nt(xn){var Pn=xn.nextSibling;return i&&w&&O.display.currentWheelTarget==xn?xn.style.display="none":xn.parentNode.removeChild(xn),Pn}for(var zt=ee.view,Yt=ee.viewFrom,Cr=0;Cr<zt.length;Cr++){var Ur=zt[Cr];if(!Ur.hidden)if(!Ur.node||Ur.node.parentNode!=Re){var en=Er(O,Ur,Yt,J);Re.insertBefore(en,pt)}else{for(;pt!=Ur.node;)pt=Nt(pt);var nn=ie&&M!=null&&M<=Yt&&Ur.lineNumber;Ur.changes&&(z(Ur.changes,"gutter")>-1&&(nn=!1),Wr(O,Ur,Yt,J)),nn&&(C(Ur.lineNumber),Ur.lineNumber.appendChild(document.createTextNode($t(O.options,Yt)))),pt=Ur.node.nextSibling}Yt+=Ur.size}for(;pt;)pt=Nt(pt)}function Po(O){var M=O.gutters.offsetWidth;O.sizer.style.marginLeft=M+"px"}function rs(O,M){O.display.sizer.style.minHeight=M.docHeight+"px",O.display.heightForcer.style.top=M.docHeight+"px",O.display.gutters.style.height=M.docHeight+O.display.barHeight+Mr(O)+"px"}function ms(O){var M=O.display,J=M.view;if(!M.alignWidgets&&(!M.gutters.firstChild||!O.options.fixedGutter))return;for(var ee=Xi(M)-M.scroller.scrollLeft+O.doc.scrollLeft,ie=M.gutters.offsetWidth,Re=ee+"px",pt=0;pt<J.length;pt++)if(!J[pt].hidden){O.options.fixedGutter&&(J[pt].gutter&&(J[pt].gutter.style.left=Re),J[pt].gutterBackground&&(J[pt].gutterBackground.style.left=Re));var Nt=J[pt].alignable;if(Nt)for(var zt=0;zt<Nt.length;zt++)Nt[zt].style.left=Re}O.options.fixedGutter&&(M.gutters.style.left=ee+ie+"px")}function ls(O){if(!O.options.lineNumbers)return!1;var M=O.doc,J=$t(O.options,M.first+M.size-1),ee=O.display;if(J.length!=ee.lineNumChars){var ie=ee.measure.appendChild(N("div",[N("div",J)],"CodeMirror-linenumber CodeMirror-gutter-elt")),Re=ie.firstChild.offsetWidth,pt=ie.offsetWidth-Re;return ee.lineGutter.style.width="",ee.lineNumInnerWidth=Math.max(Re,ee.lineGutter.offsetWidth-pt)+1,ee.lineNumWidth=ee.lineNumInnerWidth+pt,ee.lineNumChars=ee.lineNumInnerWidth?J.length:-1,ee.lineGutter.style.width=ee.lineNumWidth+"px",Po(O.display),!0}return!1}function Ns(O,M){for(var J=[],ee=!1,ie=0;ie<O.length;ie++){var Re=O[ie],pt=null;if(typeof Re!="string"&&(pt=Re.style,Re=Re.className),Re=="CodeMirror-linenumbers")if(M)ee=!0;else continue;J.push({className:Re,style:pt})}return M&&!ee&&J.push({className:"CodeMirror-linenumbers",style:null}),J}function Ds(O){var M=O.gutters,J=O.gutterSpecs;C(M),O.lineGutter=null;for(var ee=0;ee<J.length;++ee){var ie=J[ee],Re=ie.className,pt=ie.style,Nt=M.appendChild(N("div",null,"CodeMirror-gutter "+Re));pt&&(Nt.style.cssText=pt),Re=="CodeMirror-linenumbers"&&(O.lineGutter=Nt,Nt.style.width=(O.lineNumWidth||1)+"px")}M.style.display=J.length?"":"none",Po(O)}function as(O){Ds(O.display),gi(O),ms(O)}function $s(O,M,J,ee){var ie=this;this.input=J,ie.scrollbarFiller=N("div",null,"CodeMirror-scrollbar-filler"),ie.scrollbarFiller.setAttribute("cm-not-content","true"),ie.gutterFiller=N("div",null,"CodeMirror-gutter-filler"),ie.gutterFiller.setAttribute("cm-not-content","true"),ie.lineDiv=F("div",null,"CodeMirror-code"),ie.selectionDiv=N("div",null,null,"position: relative; z-index: 1"),ie.cursorDiv=N("div",null,"CodeMirror-cursors"),ie.measure=N("div",null,"CodeMirror-measure"),ie.lineMeasure=N("div",null,"CodeMirror-measure"),ie.lineSpace=F("div",[ie.measure,ie.lineMeasure,ie.selectionDiv,ie.cursorDiv,ie.lineDiv],null,"position: relative; outline: none");var Re=F("div",[ie.lineSpace],"CodeMirror-lines");ie.mover=N("div",[Re],null,"position: relative"),ie.sizer=N("div",[ie.mover],"CodeMirror-sizer"),ie.sizerWidth=null,ie.heightForcer=N("div",null,null,"position: absolute; height: "+G+"px; width: 1px;"),ie.gutters=N("div",null,"CodeMirror-gutters"),ie.lineGutter=null,ie.scroller=N("div",[ie.sizer,ie.heightForcer,ie.gutters],"CodeMirror-scroll"),ie.scroller.setAttribute("tabIndex","-1"),ie.wrapper=N("div",[ie.scrollbarFiller,ie.gutterFiller,ie.scroller],"CodeMirror"),c&&a<8&&(ie.gutters.style.zIndex=-1,ie.scroller.style.paddingRight=0),!i&&!(y&&p)&&(ie.scroller.draggable=!0),O&&(O.appendChild?O.appendChild(ie.wrapper):O(ie.wrapper)),ie.viewFrom=ie.viewTo=M.first,ie.reportedViewFrom=ie.reportedViewTo=M.first,ie.view=[],ie.renderedView=null,ie.externalMeasured=null,ie.viewOffset=0,ie.lastWrapHeight=ie.lastWrapWidth=0,ie.updateLineNumbers=null,ie.nativeBarWidth=ie.barHeight=ie.barWidth=0,ie.scrollbarsClipped=!1,ie.lineNumWidth=ie.lineNumInnerWidth=ie.lineNumChars=null,ie.alignWidgets=!1,ie.cachedCharWidth=ie.cachedTextHeight=ie.cachedPaddingH=null,ie.maxLine=null,ie.maxLineLength=0,ie.maxLineChanged=!1,ie.wheelDX=ie.wheelDY=ie.wheelStartX=ie.wheelStartY=null,ie.shift=!1,ie.selForContextMenu=null,ie.activeTouch=null,ie.gutterSpecs=Ns(ee.gutters,ee.lineNumbers),Ds(ie),J.init(ie)}var cs=0,Mo=null;c?Mo=-.53:y?Mo=15:o?Mo=-.7:n&&(Mo=-1/3);function Dn(O){var M=O.wheelDeltaX,J=O.wheelDeltaY;return M==null&&O.detail&&O.axis==O.HORIZONTAL_AXIS&&(M=O.detail),J==null&&O.detail&&O.axis==O.VERTICAL_AXIS?J=O.detail:J==null&&(J=O.wheelDelta),{x:M,y:J}}function Vs(O){var M=Dn(O);return M.x*=Mo,M.y*=Mo,M}function Is(O,M){var J=Dn(M),ee=J.x,ie=J.y,Re=O.display,pt=Re.scroller,Nt=pt.scrollWidth>pt.clientWidth,zt=pt.scrollHeight>pt.clientHeight;if(!(ee&&Nt||ie&&zt))return;if(ie&&w&&i){e:for(var Yt=M.target,Cr=Re.view;Yt!=pt;Yt=Yt.parentNode)for(var Ur=0;Ur<Cr.length;Ur++)if(Cr[Ur].node==Yt){O.display.currentWheelTarget=Yt;break e}}if(ee&&!y&&!d&&Mo!=null){ie&&zt&&Gi(O,Math.max(0,pt.scrollTop+ie*Mo)),go(O,Math.max(0,pt.scrollLeft+ee*Mo)),(!ie||ie&&zt)&&Ve(M),Re.wheelStartX=null;return}if(ie&&Mo!=null){var en=ie*Mo,nn=O.doc.scrollTop,xn=nn+Re.wrapper.clientHeight;en<0?nn=Math.max(0,nn+en-50):xn=Math.min(O.doc.height,xn+en+50),Oo(O,{top:nn,bottom:xn})}cs<20&&(Re.wheelStartX==null?(Re.wheelStartX=pt.scrollLeft,Re.wheelStartY=pt.scrollTop,Re.wheelDX=ee,Re.wheelDY=ie,setTimeout(function(){if(Re.wheelStartX==null)return;var Pn=pt.scrollLeft-Re.wheelStartX,Zn=pt.scrollTop-Re.wheelStartY,Jn=Zn&&Re.wheelDY&&Zn/Re.wheelDY||Pn&&Re.wheelDX&&Pn/Re.wheelDX;if(Re.wheelStartX=Re.wheelStartY=null,!Jn)return;Mo=(Mo*cs+Jn)/(cs+1),++cs},200)):(Re.wheelDX+=ee,Re.wheelDY+=ie))}var Bt=function(M,J){this.ranges=M,this.primIndex=J};Bt.prototype.primary=function(){return this.ranges[this.primIndex]},Bt.prototype.equals=function(O){if(O==this)return!0;if(O.primIndex!=this.primIndex||O.ranges.length!=this.ranges.length)return!1;for(var M=0;M<this.ranges.length;M++){var J=this.ranges[M],ee=O.ranges[M];if(!Gt(J.anchor,ee.anchor)||!Gt(J.head,ee.head))return!1}return!0},Bt.prototype.deepCopy=function(){for(var O=[],M=0;M<this.ranges.length;M++)O[M]=new le(Qt(this.ranges[M].anchor),Qt(this.ranges[M].head));return new Bt(O,this.primIndex)},Bt.prototype.somethingSelected=function(){for(var O=0;O<this.ranges.length;O++)if(!this.ranges[O].empty())return!0;return!1},Bt.prototype.contains=function(O,M){M||(M=O);for(var J=0;J<this.ranges.length;J++){var ee=this.ranges[J];if(Kt(M,ee.from())>=0&&Kt(O,ee.to())<=0)return J}return-1};var le=function(M,J){this.anchor=M,this.head=J};le.prototype.from=function(){return dr(this.anchor,this.head)},le.prototype.to=function(){return Mt(this.anchor,this.head)},le.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function xe(O,M,J){var ee=O&&O.options.selectionsMayTouch,ie=M[J];M.sort(function(en,nn){return Kt(en.from(),nn.from())}),J=z(M,ie);for(var Re=1;Re<M.length;Re++){var pt=M[Re],Nt=M[Re-1],zt=Kt(Nt.to(),pt.from());if(ee&&!pt.empty()?zt>0:zt>=0){var Yt=dr(Nt.from(),pt.from()),Cr=Mt(Nt.to(),pt.to()),Ur=Nt.empty()?pt.from()==pt.head:Nt.from()==Nt.head;Re<=J&&--J,M.splice(--Re,2,new le(Ur?Cr:Yt,Ur?Yt:Cr))}}return new Bt(M,J)}function Ie(O,M){return new Bt([new le(O,M||O)],0)}function We(O){return O.text?Dt(O.from.line+O.text.length-1,Ge(O.text).length+(O.text.length==1?O.from.ch:0)):O.to}function Et(O,M){if(Kt(O,M.from)<0)return O;if(Kt(O,M.to)<=0)return We(M);var J=O.line+M.text.length-(M.to.line-M.from.line)-1,ee=O.ch;return O.line==M.to.line&&(ee+=We(M).ch-M.to.ch),Dt(J,ee)}function Ut(O,M){for(var J=[],ee=0;ee<O.sel.ranges.length;ee++){var ie=O.sel.ranges[ee];J.push(new le(Et(ie.anchor,M),Et(ie.head,M)))}return xe(O.cm,J,O.sel.primIndex)}function hr(O,M,J){return O.line==M.line?Dt(J.line,O.ch-M.ch+J.ch):Dt(J.line+(O.line-M.line),O.ch)}function gr(O,M,J){for(var ee=[],ie=Dt(O.first,0),Re=ie,pt=0;pt<M.length;pt++){var Nt=M[pt],zt=hr(Nt.from,ie,Re),Yt=hr(We(Nt),ie,Re);if(ie=Nt.to,Re=Yt,J=="around"){var Cr=O.sel.ranges[pt],Ur=Kt(Cr.head,Cr.anchor)<0;ee[pt]=new le(Ur?Yt:zt,Ur?zt:Yt)}else ee[pt]=new le(zt,zt)}return new Bt(ee,O.sel.primIndex)}function Rr(O){O.doc.mode=Be(O.options,O.doc.modeOption),$r(O)}function $r(O){O.doc.iter(function(M){M.stateAfter&&(M.stateAfter=null),M.styles&&(M.styles=null)}),O.doc.modeFrontier=O.doc.highlightFrontier=O.doc.first,ps(O,100),O.state.modeGen++,O.curOp&&gi(O)}function ln(O,M){return M.from.ch==0&&M.to.ch==0&&Ge(M.text)==""&&(!O.cm||O.cm.options.wholeLineUpdateBefore)}function yn(O,M,J,ee){function ie(oi){return J?J[oi]:null}function Re(oi,li,qe){di(oi,li,qe,ee),Tr(oi,"change",oi,M)}function pt(oi,li){for(var qe=[],te=oi;te<li;++te)qe.push(new ni(Yt[te],ie(te),ee));return qe}var Nt=M.from,zt=M.to,Yt=M.text,Cr=ne(O,Nt.line),Ur=ne(O,zt.line),en=Ge(Yt),nn=ie(Yt.length-1),xn=zt.line-Nt.line;if(M.full)O.insert(0,pt(0,Yt.length)),O.remove(Yt.length,O.size-Yt.length);else if(ln(O,M)){var Pn=pt(0,Yt.length-1);Re(Ur,Ur.text,nn),xn&&O.remove(Nt.line,xn),Pn.length&&O.insert(Nt.line,Pn)}else if(Cr==Ur)if(Yt.length==1)Re(Cr,Cr.text.slice(0,Nt.ch)+en+Cr.text.slice(zt.ch),nn);else{var Zn=pt(1,Yt.length-1);Zn.push(new ni(en+Cr.text.slice(zt.ch),nn,ee)),Re(Cr,Cr.text.slice(0,Nt.ch)+Yt[0],ie(0)),O.insert(Nt.line+1,Zn)}else if(Yt.length==1)Re(Cr,Cr.text.slice(0,Nt.ch)+Yt[0]+Ur.text.slice(zt.ch),ie(0)),O.remove(Nt.line+1,xn);else{Re(Cr,Cr.text.slice(0,Nt.ch)+Yt[0],ie(0)),Re(Ur,en+Ur.text.slice(zt.ch),nn);var Jn=pt(1,Yt.length-1);xn>1&&O.remove(Nt.line+1,xn-1),O.insert(Nt.line+1,Jn)}Tr(O,"change",O,M)}function Cn(O,M,J){function ee(ie,Re,pt){if(ie.linked)for(var Nt=0;Nt<ie.linked.length;++Nt){var zt=ie.linked[Nt];if(zt.doc==Re)continue;var Yt=pt&&zt.sharedHist;if(J&&!Yt)continue;M(zt.doc,Yt),ee(zt.doc,ie,Yt)}}ee(O,null,!0)}function Qn(O,M){if(M.cm)throw new Error("This document is already in use.");O.doc=M,M.cm=O,Aa(O),Rr(O),ti(O),O.options.lineWrapping||jn(O),O.options.mode=M.modeOption,gi(O)}function ti(O){(O.doc.direction=="rtl"?K:x)(O.display.lineDiv,"CodeMirror-rtl")}function wi(O){bo(O,function(){ti(O),gi(O)})}function ea(O){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=O||1}function ji(O,M){var J={from:Qt(M.from),to:We(M),text:Se(O,M.from,M.to)};return Fo(O,J,M.from.line,M.to.line+1),Cn(O,function(ee){return Fo(ee,J,M.from.line,M.to.line+1)},!0),J}function Sa(O){for(;O.length;){var M=Ge(O);if(M.ranges)O.pop();else break}}function lo(O,M){if(M)return Sa(O.done),Ge(O.done);if(O.done.length&&!Ge(O.done).ranges)return Ge(O.done);if(O.done.length>1&&!O.done[O.done.length-2].ranges)return O.done.pop(),Ge(O.done)}function Wa(O,M,J,ee){var ie=O.history;ie.undone.length=0;var Re=+new Date,pt,Nt;if((ie.lastOp==ee||ie.lastOrigin==M.origin&&M.origin&&(M.origin.charAt(0)=="+"&&ie.lastModTime>Re-(O.cm?O.cm.options.historyEventDelay:500)||M.origin.charAt(0)=="*"))&&(pt=lo(ie,ie.lastOp==ee)))Nt=Ge(pt.changes),Kt(M.from,M.to)==0&&Kt(M.from,Nt.to)==0?Nt.to=We(M):pt.changes.push(ji(O,M));else{var zt=Ge(ie.done);for((!zt||!zt.ranges)&&$a(O.sel,ie.done),pt={changes:[ji(O,M)],generation:ie.generation},ie.done.push(pt);ie.done.length>ie.undoDepth;)ie.done.shift(),ie.done[0].ranges||ie.done.shift()}ie.done.push(J),ie.generation=++ie.maxGeneration,ie.lastModTime=ie.lastSelTime=Re,ie.lastOp=ie.lastSelOp=ee,ie.lastOrigin=ie.lastSelOrigin=M.origin,Nt||wt(O,"historyAdded")}function yo(O,M,J,ee){var ie=M.charAt(0);return ie=="*"||ie=="+"&&J.ranges.length==ee.ranges.length&&J.somethingSelected()==ee.somethingSelected()&&new Date-O.history.lastSelTime<=(O.cm?O.cm.options.historyEventDelay:500)}function Ao(O,M,J,ee){var ie=O.history,Re=ee&&ee.origin;J==ie.lastSelOp||Re&&ie.lastSelOrigin==Re&&(ie.lastModTime==ie.lastSelTime&&ie.lastOrigin==Re||yo(O,Re,Ge(ie.done),M))?ie.done[ie.done.length-1]=M:$a(M,ie.done),ie.lastSelTime=+new Date,ie.lastSelOrigin=Re,ie.lastSelOp=J,ee&&ee.clearRedo!==!1&&Sa(ie.undone)}function $a(O,M){var J=Ge(M);J&&J.ranges&&J.equals(O)||M.push(O)}function Fo(O,M,J,ee){var ie=M["spans_"+O.id],Re=0;O.iter(Math.max(O.first,J),Math.min(O.first+O.size,ee),function(pt){pt.markedSpans&&((ie||(ie=M["spans_"+O.id]={}))[Re]=pt.markedSpans),++Re})}function No(O){if(!O)return null;for(var M,J=0;J<O.length;++J)O[J].marker.explicitlyCleared?M||(M=O.slice(0,J)):M&&M.push(O[J]);return M?M.length?M:null:O}function Ha(O,M){var J=M["spans_"+O.id];if(!J)return null;for(var ee=[],ie=0;ie<M.text.length;++ie)ee.push(No(J[ie]));return ee}function jo(O,M){var J=Ha(O,M),ee=Nn(O,M);if(!J)return ee;if(!ee)return J;for(var ie=0;ie<J.length;++ie){var Re=J[ie],pt=ee[ie];if(Re&&pt){e:for(var Nt=0;Nt<pt.length;++Nt){for(var zt=pt[Nt],Yt=0;Yt<Re.length;++Yt)if(Re[Yt].marker==zt.marker)continue e;Re.push(zt)}}else pt&&(J[ie]=pt)}return J}function ko(O,M,J){for(var ee=[],ie=0;ie<O.length;++ie){var Re=O[ie];if(Re.ranges){ee.push(J?Bt.prototype.deepCopy.call(Re):Re);continue}var pt=Re.changes,Nt=[];ee.push({changes:Nt});for(var zt=0;zt<pt.length;++zt){var Yt=pt[zt],Cr=void 0;if(Nt.push({from:Yt.from,to:Yt.to,text:Yt.text}),M)for(var Ur in Yt)(Cr=Ur.match(/^spans_(\d+)$/))&&(z(M,Number(Cr[1]))>-1&&(Ge(Nt)[Ur]=Yt[Ur],delete Yt[Ur]))}}return ee}function Qo(O,M,J,ee){if(ee){var ie=O.anchor;if(J){var Re=Kt(M,ie)<0;Re!=Kt(J,ie)<0?(ie=M,M=J):Re!=Kt(M,J)<0&&(M=J)}return new le(ie,M)}else return new le(J||M,M)}function wo(O,M,J,ee,ie){ie==null&&(ie=O.cm&&(O.cm.display.shift||O.extend)),Eo(O,new Bt([Qo(O.sel.primary(),M,J,ie)],0),ee)}function us(O,M,J){for(var ee=[],ie=O.cm&&(O.cm.display.shift||O.extend),Re=0;Re<O.sel.ranges.length;Re++)ee[Re]=Qo(O.sel.ranges[Re],M[Re],null,ie);var pt=xe(O.cm,ee,O.sel.primIndex);Eo(O,pt,J)}function ns(O,M,J,ee){var ie=O.sel.ranges.slice(0);ie[M]=J,Eo(O,xe(O.cm,ie,O.sel.primIndex),ee)}function Xs(O,M,J,ee){Eo(O,Ie(M,J),ee)}function Ys(O,M,J){var ee={ranges:M.ranges,update:function(Re){this.ranges=[];for(var pt=0;pt<Re.length;pt++)this.ranges[pt]=new le(ot(O,Re[pt].anchor),ot(O,Re[pt].head))},origin:J&&J.origin};return wt(O,"beforeSelectionChange",O,ee),O.cm&&wt(O.cm,"beforeSelectionChange",O.cm,ee),ee.ranges!=M.ranges?xe(O.cm,ee.ranges,ee.ranges.length-1):M}function Yo(O,M,J){var ee=O.history.done,ie=Ge(ee);ie&&ie.ranges?(ee[ee.length-1]=M,ds(O,M,J)):Eo(O,M,J)}function Eo(O,M,J){ds(O,M,J),Ao(O,O.sel,O.cm?O.cm.curOp.id:NaN,J)}function ds(O,M,J){(rt(O,"beforeSelectionChange")||O.cm&&rt(O.cm,"beforeSelectionChange"))&&(M=Ys(O,M,J));var ee=J&&J.bias||(Kt(M.primary().head,O.sel.primary().head)<0?-1:1);hs(O,Do(O,M,ee,!0)),!(J&&J.scroll===!1)&&O.cm&&Oa(O.cm)}function hs(O,M){if(M.equals(O.sel))return;O.sel=M,O.cm&&(O.cm.curOp.updateInput=1,O.cm.curOp.selectionChanged=!0,et(O.cm)),Tr(O,"cursorActivity",O)}function Rs(O){hs(O,Do(O,O.sel,null,!1))}function Do(O,M,J,ee){for(var ie,Re=0;Re<M.ranges.length;Re++){var pt=M.ranges[Re],Nt=M.ranges.length==O.sel.ranges.length&&O.sel.ranges[Re],zt=Ms(O,pt.anchor,Nt&&Nt.anchor,J,ee),Yt=Ms(O,pt.head,Nt&&Nt.head,J,ee);(ie||zt!=pt.anchor||Yt!=pt.head)&&(ie||(ie=M.ranges.slice(0,Re)),ie[Re]=new le(zt,Yt))}return ie?xe(O.cm,ie,M.primIndex):M}function ys(O,M,J,ee,ie){var Re=ne(O,M.line);if(Re.markedSpans)for(var pt=0;pt<Re.markedSpans.length;++pt){var Nt=Re.markedSpans[pt],zt=Nt.marker,Yt="selectLeft"in zt?!zt.selectLeft:zt.inclusiveLeft,Cr="selectRight"in zt?!zt.selectRight:zt.inclusiveRight;if((Nt.from==null||(Yt?Nt.from<=M.ch:Nt.from<M.ch))&&(Nt.to==null||(Cr?Nt.to>=M.ch:Nt.to>M.ch))){if(ie&&(wt(zt,"beforeCursorEnter"),zt.explicitlyCleared))if(Re.markedSpans){--pt;continue}else break;if(!zt.atomic)continue;if(J){var Ur=zt.find(ee<0?1:-1),en=void 0;if((ee<0?Cr:Yt)&&(Ur=As(O,Ur,-ee,Ur&&Ur.line==M.line?Re:null)),Ur&&Ur.line==M.line&&(en=Kt(Ur,J))&&(ee<0?en<0:en>0))return ys(O,Ur,M,ee,ie)}var nn=zt.find(ee<0?-1:1);return(ee<0?Yt:Cr)&&(nn=As(O,nn,ee,nn.line==M.line?Re:null)),nn?ys(O,nn,M,ee,ie):null}}return M}function Ms(O,M,J,ee,ie){var Re=ee||1,pt=ys(O,M,J,Re,ie)||!ie&&ys(O,M,J,Re,!0)||ys(O,M,J,-Re,ie)||!ie&&ys(O,M,J,-Re,!0);return pt||(O.cantEdit=!0,Dt(O.first,0))}function As(O,M,J,ee){return J<0&&M.ch==0?M.line>O.first?ot(O,Dt(M.line-1)):null:J>0&&M.ch==(ee||ne(O,M.line)).text.length?M.line<O.first+O.size-1?Dt(M.line+1,0):null:new Dt(M.line,M.ch+J)}function Fs(O){O.setSelection(Dt(O.firstLine(),0),Dt(O.lastLine()),ge)}function Hs(O,M,J){var ee={canceled:!1,from:M.from,to:M.to,text:M.text,origin:M.origin,cancel:function(){return ee.canceled=!0}};return J&&(ee.update=function(ie,Re,pt,Nt){ie&&(ee.from=ot(O,ie)),Re&&(ee.to=ot(O,Re)),pt&&(ee.text=pt),Nt!==void 0&&(ee.origin=Nt)}),wt(O,"beforeChange",O,ee),O.cm&&wt(O.cm,"beforeChange",O.cm,ee),ee.canceled?(O.cm&&(O.cm.curOp.updateInput=2),null):{from:ee.from,to:ee.to,text:ee.text,origin:ee.origin}}function bs(O,M,J){if(O.cm){if(!O.cm.curOp)return Za(O.cm,bs)(O,M,J);if(O.cm.state.suppressEdits)return}if((rt(O,"beforeChange")||O.cm&&rt(O.cm,"beforeChange"))&&(M=Hs(O,M,!0),!M))return;var ee=Lr&&!J&&Tn(O,M.from,M.to);if(ee)for(var ie=ee.length-1;ie>=0;--ie)ua(O,{from:ee[ie].from,to:ee[ie].to,text:ie?[""]:M.text,origin:M.origin});else ua(O,M)}function ua(O,M){if(M.text.length==1&&M.text[0]==""&&Kt(M.from,M.to)==0)return;var J=Ut(O,M);Wa(O,M,J,O.cm?O.cm.curOp.id:NaN),Wn(O,M,J,Nn(O,M));var ee=[];Cn(O,function(ie,Re){!Re&&z(ee,ie.history)==-1&&(Zo(ie.history,M),ee.push(ie.history)),Wn(ie,M,null,Nn(ie,M))})}function ui(O,M,J){var ee=O.cm&&O.cm.state.suppressEdits;if(ee&&!J)return;for(var ie=O.history,Re,pt=O.sel,Nt=M=="undo"?ie.done:ie.undone,zt=M=="undo"?ie.undone:ie.done,Yt=0;Yt<Nt.length&&!(Re=Nt[Yt],J?Re.ranges&&!Re.equals(O.sel):!Re.ranges);Yt++);if(Yt==Nt.length)return;for(ie.lastOrigin=ie.lastSelOrigin=null;;)if(Re=Nt.pop(),Re.ranges){if($a(Re,zt),J&&!Re.equals(O.sel)){Eo(O,Re,{clearRedo:!1});return}pt=Re}else if(ee){Nt.push(Re);return}else break;var Cr=[];$a(pt,zt),zt.push({changes:Cr,generation:ie.generation}),ie.generation=Re.generation||++ie.maxGeneration;for(var Ur=rt(O,"beforeChange")||O.cm&&rt(O.cm,"beforeChange"),en=function(Zn){var Jn=Re.changes[Zn];if(Jn.origin=M,Ur&&!Hs(O,Jn,!1))return Nt.length=0,{};Cr.push(ji(O,Jn));var oi=Zn?Ut(O,Jn):Ge(Nt);Wn(O,Jn,oi,jo(O,Jn)),!Zn&&O.cm&&O.cm.scrollIntoView({from:Jn.from,to:We(Jn)});var li=[];Cn(O,function(qe,te){!te&&z(li,qe.history)==-1&&(Zo(qe.history,Jn),li.push(qe.history)),Wn(qe,Jn,null,jo(qe,Jn))})},nn=Re.changes.length-1;nn>=0;--nn){var xn=en(nn);if(xn)return xn.v}}function Pi(O,M){if(M==0)return;if(O.first+=M,O.sel=new Bt(gt(O.sel.ranges,function(ie){return new le(Dt(ie.anchor.line+M,ie.anchor.ch),Dt(ie.head.line+M,ie.head.ch))}),O.sel.primIndex),O.cm){gi(O.cm,O.first,O.first-M,M);for(var J=O.cm.display,ee=J.viewFrom;ee<J.viewTo;ee++)Ba(O.cm,ee,"gutter")}}function Wn(O,M,J,ee){if(O.cm&&!O.cm.curOp)return Za(O.cm,Wn)(O,M,J,ee);if(M.to.line<O.first){Pi(O,M.text.length-1-(M.to.line-M.from.line));return}if(M.from.line>O.lastLine())return;if(M.from.line<O.first){var ie=M.text.length-1-(O.first-M.from.line);Pi(O,ie),M={from:Dt(O.first,0),to:Dt(M.to.line+ie,M.to.ch),text:[Ge(M.text)],origin:M.origin}}var Re=O.lastLine();M.to.line>Re&&(M={from:M.from,to:Dt(Re,ne(O,Re).text.length),text:[M.text[0]],origin:M.origin}),M.removed=Se(O,M.from,M.to),J||(J=Ut(O,M)),O.cm?io(O.cm,M,ee):yn(O,M,ee),ds(O,J,ge),O.cantEdit&&Ms(O,Dt(O.firstLine(),0))&&(O.cantEdit=!1)}function io(O,M,J){var ee=O.doc,ie=O.display,Re=M.from,pt=M.to,Nt=!1,zt=Re.line;O.options.lineWrapping||(zt=$e(ta(ne(ee,Re.line))),ee.iter(zt,pt.line+1,function(nn){if(nn==ie.maxLine)return Nt=!0,!0})),ee.sel.contains(M.from,M.to)>-1&&et(O),yn(ee,M,J,bi(O)),O.options.lineWrapping||(ee.iter(zt,Re.line+M.text.length,function(nn){var xn=_n(nn);xn>ie.maxLineLength&&(ie.maxLine=nn,ie.maxLineLength=xn,ie.maxLineChanged=!0,Nt=!1)}),Nt&&(O.curOp.updateMaxLine=!0)),qr(ee,Re.line),ps(O,400);var Yt=M.text.length-(pt.line-Re.line)-1;M.full?gi(O):Re.line==pt.line&&M.text.length==1&&!ln(O.doc,M)?Ba(O,Re.line,"text"):gi(O,Re.line,pt.line+1,Yt);var Cr=rt(O,"changes"),Ur=rt(O,"change");if(Ur||Cr){var en={from:Re,to:pt,text:M.text,removed:M.removed,origin:M.origin};Ur&&Tr(O,"change",O,en),Cr&&(O.curOp.changeObjs||(O.curOp.changeObjs=[])).push(en)}O.display.selForContextMenu=null}function qo(O,M,J,ee,ie){var Re;ee||(ee=J),Kt(ee,J)<0&&(Re=[ee,J],J=Re[0],ee=Re[1]),typeof M=="string"&&(M=O.splitLines(M)),bs(O,{from:J,to:ee,text:M,origin:ie})}function gs(O,M,J,ee){J<O.line?O.line+=ee:M<O.line&&(O.line=M,O.ch=0)}function os(O,M,J,ee){for(var ie=0;ie<O.length;++ie){var Re=O[ie],pt=!0;if(Re.ranges){Re.copied||(Re=O[ie]=Re.deepCopy(),Re.copied=!0);for(var Nt=0;Nt<Re.ranges.length;Nt++)gs(Re.ranges[Nt].anchor,M,J,ee),gs(Re.ranges[Nt].head,M,J,ee);continue}for(var zt=0;zt<Re.changes.length;++zt){var Yt=Re.changes[zt];if(J<Yt.from.line)Yt.from=Dt(Yt.from.line+ee,Yt.from.ch),Yt.to=Dt(Yt.to.line+ee,Yt.to.ch);else if(M<=Yt.to.line){pt=!1;break}}pt||(O.splice(0,ie+1),ie=0)}}function Zo(O,M){var J=M.from.line,ee=M.to.line,ie=M.text.length-(ee-J)-1;os(O.done,J,ee,ie),os(O.undone,J,ee,ie)}function $o(O,M,J,ee){var ie=M,Re=M;return typeof M=="number"?Re=ne(O,er(O,M)):ie=$e(M),ie==null?null:(ee(Re,ie)&&O.cm&&Ba(O.cm,ie,J),Re)}function ws(O){this.lines=O,this.parent=null;for(var M=0,J=0;J<O.length;++J)O[J].parent=this,M+=O[J].height;this.height=M}ws.prototype={chunkSize:function(){return this.lines.length},removeInner:function(M,J){for(var ee=M,ie=M+J;ee<ie;++ee){var Re=this.lines[ee];this.height-=Re.height,Na(Re),Tr(Re,"delete")}this.lines.splice(M,J)},collapse:function(M){M.push.apply(M,this.lines)},insertInner:function(M,J,ee){this.height+=ee,this.lines=this.lines.slice(0,M).concat(J).concat(this.lines.slice(M));for(var ie=0;ie<J.length;++ie)J[ie].parent=this},iterN:function(M,J,ee){for(var ie=M+J;M<ie;++M)if(ee(this.lines[M]))return!0}};function Ho(O){this.children=O;for(var M=0,J=0,ee=0;ee<O.length;++ee){var ie=O[ee];M+=ie.chunkSize(),J+=ie.height,ie.parent=this}this.size=M,this.height=J,this.parent=null}Ho.prototype={chunkSize:function(){return this.size},removeInner:function(M,J){this.size-=J;for(var ee=0;ee<this.children.length;++ee){var ie=this.children[ee],Re=ie.chunkSize();if(M<Re){var pt=Math.min(J,Re-M),Nt=ie.height;if(ie.removeInner(M,pt),this.height-=Nt-ie.height,Re==pt&&(this.children.splice(ee--,1),ie.parent=null),(J-=pt)==0)break;M=0}else M-=Re}if(this.size-J<25&&(this.children.length>1||!(this.children[0]instanceof ws))){var zt=[];this.collapse(zt),this.children=[new ws(zt)],this.children[0].parent=this}},collapse:function(M){for(var J=0;J<this.children.length;++J)this.children[J].collapse(M)},insertInner:function(M,J,ee){this.size+=J.length,this.height+=ee;for(var ie=0;ie<this.children.length;++ie){var Re=this.children[ie],pt=Re.chunkSize();if(M<=pt){if(Re.insertInner(M,J,ee),Re.lines&&Re.lines.length>50){for(var Nt=Re.lines.length%25+25,zt=Nt;zt<Re.lines.length;){var Yt=new ws(Re.lines.slice(zt,zt+=25));Re.height-=Yt.height,this.children.splice(++ie,0,Yt),Yt.parent=this}Re.lines=Re.lines.slice(0,Nt),this.maybeSpill()}break}M-=pt}},maybeSpill:function(){if(this.children.length<=10)return;var M=this;do{var J=M.children.splice(M.children.length-5,5),ee=new Ho(J);if(M.parent){M.size-=ee.size,M.height-=ee.height;var Re=z(M.parent.children,M);M.parent.children.splice(Re+1,0,ee)}else{var ie=new Ho(M.children);ie.parent=M,M.children=[ie,ee],M=ie}ee.parent=M.parent}while(M.children.length>10);M.parent.maybeSpill()},iterN:function(M,J,ee){for(var ie=0;ie<this.children.length;++ie){var Re=this.children[ie],pt=Re.chunkSize();if(M<pt){var Nt=Math.min(J,pt-M);if(Re.iterN(M,Nt,ee))return!0;if((J-=Nt)==0)break;M=0}else M-=pt}}};var ll=function(M,J,ee){if(ee)for(var ie in ee)ee.hasOwnProperty(ie)&&(this[ie]=ee[ie]);this.doc=M,this.node=J};ll.prototype.clear=function(){var O=this.doc.cm,M=this.line.widgets,J=this.line,ee=$e(J);if(ee==null||!M)return;for(var ie=0;ie<M.length;++ie)M[ie]==this&&M.splice(ie--,1);M.length||(J.widgets=null);var Re=an(this);Me(J,Math.max(0,J.height-Re)),O&&(bo(O,function(){jl(O,J,-Re),Ba(O,ee,"widget")}),Tr(O,"lineWidgetCleared",O,this,ee))},ll.prototype.changed=function(){var O=this,M=this.height,J=this.doc.cm,ee=this.line;this.height=null;var ie=an(this)-M;if(!ie)return;mn(this.doc,ee)||Me(ee,ee.height+ie),J&&bo(J,function(){J.curOp.forceUpdate=!0,jl(J,ee,ie),Tr(J,"lineWidgetChanged",J,O,$e(ee))})},st(ll);function jl(O,M,J){Ln(M)<(O.curOp&&O.curOp.scrollTop||O.doc.scrollTop)&&Lo(O,J)}function cl(O,M,J,ee){var ie=new ll(O,J,ee),Re=O.cm;return Re&&ie.noHScroll&&(Re.display.alignWidgets=!0),$o(O,M,"widget",function(pt){var Nt=pt.widgets||(pt.widgets=[]);if(ie.insertAt==null?Nt.push(ie):Nt.splice(Math.min(Nt.length-1,Math.max(0,ie.insertAt)),0,ie),ie.line=pt,Re&&!mn(O,pt)){var zt=Ln(pt)<O.scrollTop;Me(pt,pt.height+an(ie)),zt&&Lo(Re,ie.height),Re.curOp.forceUpdate=!0}return!0}),Re&&Tr(Re,"lineWidgetAdded",Re,ie,typeof M=="number"?M:$e(M)),ie}var Nl=0,Os=function(M,J){this.lines=[],this.type=J,this.doc=M,this.id=++Nl};Os.prototype.clear=function(){if(this.explicitlyCleared)return;var O=this.doc.cm,M=O&&!O.curOp;if(M&&Zi(O),rt(this,"clear")){var J=this.find();J&&Tr(this,"clear",J.from,J.to)}for(var ee=null,ie=null,Re=0;Re<this.lines.length;++Re){var pt=this.lines[Re],Nt=cr(pt.markedSpans,this);O&&!this.collapsed?Ba(O,$e(pt),"text"):O&&(Nt.to!=null&&(ie=$e(pt)),Nt.from!=null&&(ee=$e(pt))),pt.markedSpans=fr(pt.markedSpans,Nt),Nt.from==null&&this.collapsed&&!mn(this.doc,pt)&&O&&Me(pt,Ai(O.display))}if(O&&this.collapsed&&!O.options.lineWrapping)for(var zt=0;zt<this.lines.length;++zt){var Yt=ta(this.lines[zt]),Cr=_n(Yt);Cr>O.display.maxLineLength&&(O.display.maxLine=Yt,O.display.maxLineLength=Cr,O.display.maxLineChanged=!0)}ee!=null&&O&&this.collapsed&&gi(O,ee,ie+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,O&&Rs(O.doc)),O&&Tr(O,"markerCleared",O,this,ee,ie),M&&xo(O),this.parent&&this.parent.clear()},Os.prototype.find=function(O,M){O==null&&this.type=="bookmark"&&(O=1);for(var J,ee,ie=0;ie<this.lines.length;++ie){var Re=this.lines[ie],pt=cr(Re.markedSpans,this);if(pt.from!=null&&(J=Dt(M?Re:$e(Re),pt.from),O==-1))return J;if(pt.to!=null&&(ee=Dt(M?Re:$e(Re),pt.to),O==1))return ee}return J&&{from:J,to:ee}},Os.prototype.changed=function(){var O=this,M=this.find(-1,!0),J=this,ee=this.doc.cm;if(!M||!ee)return;bo(ee,function(){var ie=M.line,Re=$e(M.line),pt=bn(ee,Re);if(pt&&(ri(pt),ee.curOp.selectionChanged=ee.curOp.forceUpdate=!0),ee.curOp.updateMaxLine=!0,!mn(J.doc,ie)&&J.height!=null){var Nt=J.height;J.height=null;var zt=an(J)-Nt;zt&&Me(ie,ie.height+zt)}Tr(ee,"markerChanged",ee,O)})},Os.prototype.attachLine=function(O){if(!this.lines.length&&this.doc.cm){var M=this.doc.cm.curOp;(!M.maybeHiddenMarkers||z(M.maybeHiddenMarkers,this)==-1)&&(M.maybeUnhiddenMarkers||(M.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(O)},Os.prototype.detachLine=function(O){if(this.lines.splice(z(this.lines,O),1),!this.lines.length&&this.doc.cm){var M=this.doc.cm.curOp;(M.maybeHiddenMarkers||(M.maybeHiddenMarkers=[])).push(this)}},st(Os);function Gs(O,M,J,ee,ie){if(ee&&ee.shared)return Hl(O,M,J,ee,ie);if(O.cm&&!O.cm.curOp)return Za(O.cm,Gs)(O,M,J,ee,ie);var Re=new Os(O,ie),pt=Kt(M,J);if(ee&&H(ee,Re,!1),pt>0||pt==0&&Re.clearWhenEmpty!==!1)return Re;if(Re.replacedWith&&(Re.collapsed=!0,Re.widgetNode=F("span",[Re.replacedWith],"CodeMirror-widget"),ee.handleMouseEvents||Re.widgetNode.setAttribute("cm-ignore-events","true"),ee.insertLeft&&(Re.widgetNode.insertLeft=!0)),Re.collapsed){if(xa(O,M.line,M,J,Re)||M.line!=J.line&&xa(O,J.line,M,J,Re))throw new Error("Inserting collapsed marker partially overlapping an existing one");ur()}Re.addToHistory&&Wa(O,{from:M,to:J,origin:"markText"},O.sel,NaN);var Nt=M.line,zt=O.cm,Yt;if(O.iter(Nt,J.line+1,function(Ur){zt&&Re.collapsed&&!zt.options.lineWrapping&&ta(Ur)==zt.display.maxLine&&(Yt=!0),Re.collapsed&&Nt!=M.line&&Me(Ur,0),xr(Ur,new pr(Re,Nt==M.line?M.ch:null,Nt==J.line?J.ch:null)),++Nt}),Re.collapsed&&O.iter(M.line,J.line+1,function(Ur){mn(O,Ur)&&Me(Ur,0)}),Re.clearOnEnter&&Ue(Re,"beforeCursorEnter",function(){return Re.clear()}),Re.readOnly&&(_r(),(O.history.done.length||O.history.undone.length)&&O.clearHistory()),Re.collapsed&&(Re.id=++Nl,Re.atomic=!0),zt){if(Yt&&(zt.curOp.updateMaxLine=!0),Re.collapsed)gi(zt,M.line,J.line+1);else if(Re.className||Re.startStyle||Re.endStyle||Re.css||Re.attributes||Re.title)for(var Cr=M.line;Cr<=J.line;Cr++)Ba(zt,Cr,"text");Re.atomic&&Rs(zt.doc),Tr(zt,"markerAdded",zt,Re)}return Re}var el=function(M,J){this.markers=M,this.primary=J;for(var ee=0;ee<M.length;++ee)M[ee].parent=this};el.prototype.clear=function(){if(this.explicitlyCleared)return;this.explicitlyCleared=!0;for(var O=0;O<this.markers.length;++O)this.markers[O].clear();Tr(this,"clear")},el.prototype.find=function(O,M){return this.primary.find(O,M)},st(el);function Hl(O,M,J,ee,ie){ee=H(ee),ee.shared=!1;var Re=[Gs(O,M,J,ee,ie)],pt=Re[0],Nt=ee.widgetNode;return Cn(O,function(zt){Nt&&(ee.widgetNode=Nt.cloneNode(!0)),Re.push(Gs(zt,ot(zt,M),ot(zt,J),ee,ie));for(var Yt=0;Yt<zt.linked.length;++Yt)if(zt.linked[Yt].isParent)return;pt=Ge(Re)}),new el(Re,pt)}function Kl(O){return O.findMarks(Dt(O.first,0),O.clipPos(Dt(O.lastLine())),function(M){return M.parent})}function Dl(O,M){for(var J=0;J<M.length;J++){var ee=M[J],ie=ee.find(),Re=O.clipPos(ie.from),pt=O.clipPos(ie.to);if(Kt(Re,pt)){var Nt=Gs(O,Re,pt,ee.primary,ee.primary.type);ee.markers.push(Nt),Nt.parent=ee}}}function nc(O){for(var M=function(ie){var Re=O[ie],pt=[Re.primary.doc];Cn(Re.primary.doc,function(Yt){return pt.push(Yt)});for(var Nt=0;Nt<Re.markers.length;Nt++){var zt=Re.markers[Nt];z(pt,zt.doc)==-1&&(zt.parent=null,Re.markers.splice(Nt--,1))}},J=0;J<O.length;J++)M(J)}var ic=0,es=function O(M,J,ee,ie,Re){if(!(this instanceof O))return new O(M,J,ee,ie,Re);ee==null&&(ee=0),Ho.call(this,[new ws([new ni("",null)])]),this.first=ee,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=ee;var pt=Dt(ee,0);this.sel=Ie(pt),this.history=new ea(null),this.id=++ic,this.modeOption=J,this.lineSep=ie,this.direction=Re=="rtl"?"rtl":"ltr",this.extend=!1,typeof M=="string"&&(M=this.splitLines(M)),yn(this,{from:pt,to:pt,text:M}),Eo(this,Ie(pt),ge)};es.prototype=lt(Ho.prototype,{constructor:es,iter:function(M,J,ee){ee?this.iterN(M-this.first,J-M,ee):this.iterN(this.first,this.first+this.size,M)},insert:function(M,J){for(var ee=0,ie=0;ie<J.length;++ie)ee+=J[ie].height;this.insertInner(M-this.first,J,ee)},remove:function(M,J){this.removeInner(M-this.first,J)},getValue:function(M){var J=Ne(this,this.first,this.first+this.size);return M===!1?J:J.join(M||this.lineSeparator())},setValue:so(function(O){var M=Dt(this.first,0),J=this.first+this.size-1;bs(this,{from:M,to:Dt(J,ne(this,J).text.length),text:this.splitLines(O),origin:"setValue",full:!0},!0),this.cm&&Fi(this.cm,0,0),Eo(this,Ie(M),ge)}),replaceRange:function(M,J,ee,ie){J=ot(this,J),ee=ee?ot(this,ee):J,qo(this,M,J,ee,ie)},getRange:function(M,J,ee){var ie=Se(this,ot(this,M),ot(this,J));return ee===!1?ie:ie.join(ee||this.lineSeparator())},getLine:function(M){var J=this.getLineHandle(M);return J&&J.text},getLineHandle:function(M){if(Wt(this,M))return ne(this,M)},getLineNumber:function(M){return $e(M)},getLineHandleVisualStart:function(M){return typeof M=="number"&&(M=ne(this,M)),ta(M)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(M){return ot(this,M)},getCursor:function(M){var J=this.sel.primary(),ee;return M==null||M=="head"?ee=J.head:M=="anchor"?ee=J.anchor:M=="end"||M=="to"||M===!1?ee=J.to():ee=J.from(),ee},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:so(function(O,M,J){Xs(this,ot(this,typeof O=="number"?Dt(O,M||0):O),null,J)}),setSelection:so(function(O,M,J){Xs(this,ot(this,O),ot(this,M||O),J)}),extendSelection:so(function(O,M,J){wo(this,ot(this,O),M&&ot(this,M),J)}),extendSelections:so(function(O,M){us(this,ut(this,O),M)}),extendSelectionsBy:so(function(O,M){var J=gt(this.sel.ranges,O);us(this,ut(this,J),M)}),setSelections:so(function(O,M,J){if(!O.length)return;for(var ee=[],ie=0;ie<O.length;ie++)ee[ie]=new le(ot(this,O[ie].anchor),ot(this,O[ie].head));M==null&&(M=Math.min(O.length-1,this.sel.primIndex)),Eo(this,xe(this.cm,ee,M),J)}),addSelection:so(function(O,M,J){var ee=this.sel.ranges.slice(0);ee.push(new le(ot(this,O),ot(this,M||O))),Eo(this,xe(this.cm,ee,ee.length-1),J)}),getSelection:function(M){for(var J=this.sel.ranges,ee,ie=0;ie<J.length;ie++){var Re=Se(this,J[ie].from(),J[ie].to());ee=ee?ee.concat(Re):Re}return M===!1?ee:ee.join(M||this.lineSeparator())},getSelections:function(M){for(var J=[],ee=this.sel.ranges,ie=0;ie<ee.length;ie++){var Re=Se(this,ee[ie].from(),ee[ie].to());M!==!1&&(Re=Re.join(M||this.lineSeparator())),J[ie]=Re}return J},replaceSelection:function(M,J,ee){for(var ie=[],Re=0;Re<this.sel.ranges.length;Re++)ie[Re]=M;this.replaceSelections(ie,J,ee||"+input")},replaceSelections:so(function(O,M,J){for(var ee=[],ie=this.sel,Re=0;Re<ie.ranges.length;Re++){var pt=ie.ranges[Re];ee[Re]={from:pt.from(),to:pt.to(),text:this.splitLines(O[Re]),origin:J}}for(var Nt=M&&M!="end"&&gr(this,ee,M),zt=ee.length-1;zt>=0;zt--)bs(this,ee[zt]);Nt?Yo(this,Nt):this.cm&&Oa(this.cm)}),undo:so(function(){ui(this,"undo")}),redo:so(function(){ui(this,"redo")}),undoSelection:so(function(){ui(this,"undo",!0)}),redoSelection:so(function(){ui(this,"redo",!0)}),setExtending:function(M){this.extend=M},getExtending:function(){return this.extend},historySize:function(){for(var M=this.history,J=0,ee=0,ie=0;ie<M.done.length;ie++)M.done[ie].ranges||++J;for(var Re=0;Re<M.undone.length;Re++)M.undone[Re].ranges||++ee;return{undo:J,redo:ee}},clearHistory:function(){var M=this;this.history=new ea(this.history.maxGeneration),Cn(this,function(J){return J.history=M.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(M){return M&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(M){return this.history.generation==(M||this.cleanGeneration)},getHistory:function(){return{done:ko(this.history.done),undone:ko(this.history.undone)}},setHistory:function(M){var J=this.history=new ea(this.history.maxGeneration);J.done=ko(M.done.slice(0),null,!0),J.undone=ko(M.undone.slice(0),null,!0)},setGutterMarker:so(function(O,M,J){return $o(this,O,"gutter",function(ee){var ie=ee.gutterMarkers||(ee.gutterMarkers={});return ie[M]=J,!J&&$(ie)&&(ee.gutterMarkers=null),!0})}),clearGutter:so(function(O){var M=this;this.iter(function(J){J.gutterMarkers&&J.gutterMarkers[O]&&$o(M,J,"gutter",function(){return J.gutterMarkers[O]=null,$(J.gutterMarkers)&&(J.gutterMarkers=null),!0})})}),lineInfo:function(M){var J;if(typeof M=="number"){if(!Wt(this,M))return null;if(J=M,M=ne(this,M),!M)return null}else if(J=$e(M),J==null)return null;return{line:J,handle:M,text:M.text,gutterMarkers:M.gutterMarkers,textClass:M.textClass,bgClass:M.bgClass,wrapClass:M.wrapClass,widgets:M.widgets}},addLineClass:so(function(O,M,J){return $o(this,O,M=="gutter"?"gutter":"class",function(ee){var ie=M=="text"?"textClass":M=="background"?"bgClass":M=="gutter"?"gutterClass":"wrapClass";if(!ee[ie])ee[ie]=J;else{if(L(J).test(ee[ie]))return!1;ee[ie]+=" "+J}return!0})}),removeLineClass:so(function(O,M,J){return $o(this,O,M=="gutter"?"gutter":"class",function(ee){var ie=M=="text"?"textClass":M=="background"?"bgClass":M=="gutter"?"gutterClass":"wrapClass",Re=ee[ie];if(Re)if(J==null)ee[ie]=null;else{var pt=Re.match(L(J));if(!pt)return!1;var Nt=pt.index+pt[0].length;ee[ie]=Re.slice(0,pt.index)+(!pt.index||Nt==Re.length?"":" ")+Re.slice(Nt)||null}else return!1;return!0})}),addLineWidget:so(function(O,M,J){return cl(this,O,M,J)}),removeLineWidget:function(M){M.clear()},markText:function(M,J,ee){return Gs(this,ot(this,M),ot(this,J),ee,ee&&ee.type||"range")},setBookmark:function(M,J){var ee={replacedWith:J&&(J.nodeType==null?J.widget:J),insertLeft:J&&J.insertLeft,clearWhenEmpty:!1,shared:J&&J.shared,handleMouseEvents:J&&J.handleMouseEvents};return M=ot(this,M),Gs(this,M,M,ee,"bookmark")},findMarksAt:function(M){M=ot(this,M);var J=[],ee=ne(this,M.line).markedSpans;if(ee)for(var ie=0;ie<ee.length;++ie){var Re=ee[ie];(Re.from==null||Re.from<=M.ch)&&(Re.to==null||Re.to>=M.ch)&&J.push(Re.marker.parent||Re.marker)}return J},findMarks:function(M,J,ee){M=ot(this,M),J=ot(this,J);var ie=[],Re=M.line;return this.iter(M.line,J.line+1,function(pt){var Nt=pt.markedSpans;if(Nt)for(var zt=0;zt<Nt.length;zt++){var Yt=Nt[zt];!(Yt.to!=null&&Re==M.line&&M.ch>=Yt.to||Yt.from==null&&Re!=M.line||Yt.from!=null&&Re==J.line&&Yt.from>=J.ch)&&(!ee||ee(Yt.marker))&&ie.push(Yt.marker.parent||Yt.marker)}++Re}),ie},getAllMarks:function(){var M=[];return this.iter(function(J){var ee=J.markedSpans;if(ee)for(var ie=0;ie<ee.length;++ie)ee[ie].from!=null&&M.push(ee[ie].marker)}),M},posFromIndex:function(M){var J,ee=this.first,ie=this.lineSeparator().length;return this.iter(function(Re){var pt=Re.text.length+ie;if(pt>M)return J=M,!0;M-=pt,++ee}),ot(this,Dt(ee,J))},indexFromPos:function(M){M=ot(this,M);var J=M.ch;if(M.line<this.first||M.ch<0)return 0;var ee=this.lineSeparator().length;return this.iter(this.first,M.line,function(ie){J+=ie.text.length+ee}),J},copy:function(M){var J=new es(Ne(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return J.scrollTop=this.scrollTop,J.scrollLeft=this.scrollLeft,J.sel=this.sel,J.extend=!1,M&&(J.history.undoDepth=this.history.undoDepth,J.setHistory(this.getHistory())),J},linkedDoc:function(M){M||(M={});var J=this.first,ee=this.first+this.size;M.from!=null&&M.from>J&&(J=M.from),M.to!=null&&M.to<ee&&(ee=M.to);var ie=new es(Ne(this,J,ee),M.mode||this.modeOption,J,this.lineSep,this.direction);return M.sharedHist&&(ie.history=this.history),(this.linked||(this.linked=[])).push({doc:ie,sharedHist:M.sharedHist}),ie.linked=[{doc:this,isParent:!0,sharedHist:M.sharedHist}],Dl(ie,Kl(this)),ie},unlinkDoc:function(M){if(M instanceof at&&(M=M.doc),this.linked)for(var J=0;J<this.linked.length;++J){var ee=this.linked[J];if(ee.doc!=M)continue;this.linked.splice(J,1),M.unlinkDoc(this),nc(Kl(this));break}if(M.history==this.history){var ie=[M.id];Cn(M,function(Re){return ie.push(Re.id)},!0),M.history=new ea(null),M.history.done=ko(this.history.done,ie),M.history.undone=ko(this.history.undone,ie)}},iterLinkedDocs:function(M){Cn(this,M)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(M){return this.lineSep?M.split(this.lineSep):or(M)},lineSeparator:function(){return this.lineSep||`
`},setDirection:so(function(O){if(O!="rtl"&&(O="ltr"),O==this.direction)return;this.direction=O,this.iter(function(M){return M.order=null}),this.cm&&wi(this.cm)})}),es.prototype.eachLine=es.prototype.iter;var tl=0;function ac(O){var M=this;if(bl(M),Ye(M,O)||St(M.display,O))return;Ve(O),c&&(tl=+new Date);var J=ca(M,O,!0),ee=O.dataTransfer.files;if(!J||M.isReadOnly())return;if(ee&&ee.length&&window.FileReader&&window.File)for(var ie=ee.length,Re=Array(ie),pt=0,Nt=function(){++pt==ie&&Za(M,function(){J=ot(M.doc,J);var xn={from:J,to:J,text:M.doc.splitLines(Re.filter(function(Pn){return Pn!=null}).join(M.doc.lineSeparator())),origin:"paste"};bs(M.doc,xn),Yo(M.doc,Ie(ot(M.doc,J),ot(M.doc,We(xn))))})()},zt=function(xn,Pn){if(M.options.allowDropFileTypes&&z(M.options.allowDropFileTypes,xn.type)==-1){Nt();return}var Zn=new FileReader;Zn.onerror=function(){return Nt()},Zn.onload=function(){var Jn=Zn.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Jn)){Nt();return}Re[Pn]=Jn,Nt()},Zn.readAsText(xn)},Yt=0;Yt<ee.length;Yt++)zt(ee[Yt],Yt);else{if(M.state.draggingText&&M.doc.sel.contains(J)>-1){M.state.draggingText(O),setTimeout(function(){return M.display.input.focus()},20);return}try{var Cr=O.dataTransfer.getData("Text");if(Cr){var Ur;if(M.state.draggingText&&!M.state.draggingText.copy&&(Ur=M.listSelections()),ds(M.doc,Ie(J,J)),Ur)for(var en=0;en<Ur.length;++en)qo(M.doc,"",Ur[en].anchor,Ur[en].head,"drag");M.replaceSelection(Cr,"around","paste"),M.display.input.focus()}}catch(nn){}}}function Rl(O,M){if(c&&(!O.state.draggingText||+new Date-tl<100)){it(M);return}if(Ye(O,M)||St(O.display,M))return;if(M.dataTransfer.setData("Text",O.getSelection()),M.dataTransfer.effectAllowed="copyMove",M.dataTransfer.setDragImage&&!n){var J=N("img",null,null,"position: fixed; left: 0; top: 0;");J.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",d&&(J.width=J.height=1,O.display.wrapper.appendChild(J),J._top=J.offsetTop),M.dataTransfer.setDragImage(J,0,0),d&&J.parentNode.removeChild(J)}}function Ml(O,M){var J=ca(O,M);if(!J)return;var ee=document.createDocumentFragment();ba(O,J,ee),O.display.dragCursor||(O.display.dragCursor=N("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),O.display.lineSpace.insertBefore(O.display.dragCursor,O.display.cursorDiv)),I(O.display.dragCursor,ee)}function bl(O){O.display.dragCursor&&(O.display.lineSpace.removeChild(O.display.dragCursor),O.display.dragCursor=null)}function zl(O){if(!document.getElementsByClassName)return;for(var M=document.getElementsByClassName("CodeMirror"),J=[],ee=0;ee<M.length;ee++){var ie=M[ee].CodeMirror;ie&&J.push(ie)}J.length&&J[0].operation(function(){for(var Re=0;Re<J.length;Re++)O(J[Re])})}var ul=!1;function Wl(){if(ul)return;oc(),ul=!0}function oc(){var O;Ue(window,"resize",function(){O==null&&(O=setTimeout(function(){O=null,zl(sc)},100))}),Ue(window,"blur",function(){return zl(Ii)})}function sc(O){var M=O.display;M.cachedCharWidth=M.cachedTextHeight=M.cachedPaddingH=null,M.scrollbarsClipped=!1,O.setSize()}for(var ks={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++)ks[rl+48]=ks[rl+96]=String(rl);for(var wl=65;wl<=90;wl++)ks[wl]=String.fromCharCode(wl);for(var dl=1;dl<=12;dl++)ks[dl+111]=ks[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=w?Ss.macDefault:Ss.pcDefault;function Ks(O){var M=O.split(/-(?!$)/);O=M[M.length-1];for(var J,ee,ie,Re,pt=0;pt<M.length-1;pt++){var Nt=M[pt];if(/^(cmd|meta|m)$/i.test(Nt))Re=!0;else if(/^a(lt)?$/i.test(Nt))J=!0;else if(/^(c|ctrl|control)$/i.test(Nt))ee=!0;else if(/^s(hift)?$/i.test(Nt))ie=!0;else throw new Error("Unrecognized modifier name: "+Nt)}return J&&(O="Alt-"+O),ee&&(O="Ctrl-"+O),Re&&(O="Cmd-"+O),ie&&(O="Shift-"+O),O}function nl(O){var M={};for(var J in O)if(O.hasOwnProperty(J)){var ee=O[J];if(/^(name|fallthrough|(de|at)tach)$/.test(J))continue;if(ee=="..."){delete O[J];continue}for(var ie=gt(J.split(" "),Ks),Re=0;Re<ie.length;Re++){var pt=void 0,Nt=void 0;Re==ie.length-1?(Nt=ie.join(" "),pt=ee):(Nt=ie.slice(0,Re+1).join(" "),pt="...");var zt=M[Nt];if(!zt)M[Nt]=pt;else if(zt!=pt)throw new Error("Inconsistent bindings for "+Nt)}delete O[J]}for(var Yt in M)O[Yt]=M[Yt];return O}function Bs(O,M,J,ee){M=xl(M);var ie=M.call?M.call(O,ee):M[O];if(ie===!1)return"nothing";if(ie==="...")return"multi";if(ie!=null&&J(ie))return"handled";if(M.fallthrough){if(Object.prototype.toString.call(M.fallthrough)!="[object Array]")return Bs(O,M.fallthrough,J,ee);for(var Re=0;Re<M.fallthrough.length;Re++){var pt=Bs(O,M.fallthrough[Re],J,ee);if(pt)return pt}}}function Sl(O){var M=typeof O=="string"?O:ks[O.keyCode];return M=="Ctrl"||M=="Alt"||M=="Shift"||M=="Mod"}function Fl(O,M,J){var ee=O;return M.altKey&&ee!="Alt"&&(O="Alt-"+O),(S?M.metaKey:M.ctrlKey)&&ee!="Ctrl"&&(O="Ctrl-"+O),(S?M.ctrlKey:M.metaKey)&&ee!="Mod"&&(O="Cmd-"+O),!J&&M.shiftKey&&ee!="Shift"&&(O="Shift-"+O),O}function Vl(O,M){if(d&&O.keyCode==34&&O.char)return!1;var J=ks[O.keyCode];return J==null||O.altGraphKey?!1:(O.keyCode==3&&O.code&&(J=O.code),Fl(J,O,M))}function xl(O){return typeof O=="string"?Ss[O]:O}function Qs(O,M){for(var J=O.doc.sel.ranges,ee=[],ie=0;ie<J.length;ie++){for(var Re=M(J[ie]);ee.length&&Kt(Re.from,Ge(ee).to)<=0;){var pt=ee.pop();if(Kt(pt.from,Re.from)<0){Re.from=pt.from;break}}ee.push(Re)}bo(O,function(){for(var Nt=ee.length-1;Nt>=0;Nt--)qo(O.doc,"",ee[Nt].from,ee[Nt].to,"+delete");Oa(O)})}function hl(O,M,J){var ee=Fe(O.text,M+J,J);return ee<0||ee>O.text.length?null:ee}function il(O,M,J){var ee=hl(O,M.ch,J);return ee==null?null:new Dt(M.line,ee,J<0?"after":"before")}function fl(O,M,J,ee,ie){if(O){M.doc.direction=="rtl"&&(ie=-ie);var Re=mt(J,M.doc.direction);if(Re){var pt=ie<0?Ge(Re):Re[0],Nt=ie<0==(pt.level==1),zt=Nt?"after":"before",Yt;if(pt.level>0||M.doc.direction=="rtl"){var Cr=Mn(M,J);Yt=ie<0?J.text.length-1:0;var Ur=vn(M,Cr,Yt).top;Yt=Oe(function(en){return vn(M,Cr,en).top==Ur},ie<0==(pt.level==1)?pt.from:pt.to-1,Yt),zt=="before"&&(Yt=hl(J,Yt,1))}else Yt=ie<0?pt.to:pt.from;return new Dt(ee,Yt,zt)}}return new Dt(ee,ie<0?J.text.length:0,ie<0?"before":"after")}function El(O,M,J,ee){var ie=mt(M,O.doc.direction);if(!ie)return il(M,J,ee);J.ch>=M.text.length?(J.ch=M.text.length,J.sticky="before"):J.ch<=0&&(J.ch=0,J.sticky="after");var Re=Le(ie,J.ch,J.sticky),pt=ie[Re];if(O.doc.direction=="ltr"&&pt.level%2==0&&(ee>0?pt.to>J.ch:pt.from<J.ch))return il(M,J,ee);var Nt=function(oi,li){return hl(M,oi instanceof Dt?oi.ch:oi,li)},zt,Yt=function(oi){return O.options.lineWrapping?(zt=zt||Mn(O,M),Ea(O,M,zt,oi)):{begin:0,end:M.text.length}},Cr=Yt(J.sticky=="before"?Nt(J,-1):J.ch);if(O.doc.direction=="rtl"||pt.level==1){var Ur=pt.level==1==ee<0,en=Nt(J,Ur?1:-1);if(en!=null&&(Ur?en<=pt.to&&en<=Cr.end:en>=pt.from&&en>=Cr.begin)){var nn=Ur?"before":"after";return new Dt(J.line,en,nn)}}var xn=function(oi,li,qe){for(var te=function(vr,Or){return Or?new Dt(J.line,Nt(vr,1),"before"):new Dt(J.line,vr,"after")};oi>=0&&oi<ie.length;oi+=li){var ke=ie[oi],Ze=li>0==(ke.level!=1),Lt=Ze?qe.begin:Nt(qe.end,-1);if(ke.from<=Lt&&Lt<ke.to)return te(Lt,Ze);if(Lt=Ze?ke.from:Nt(ke.to,-1),qe.begin<=Lt&&Lt<qe.end)return te(Lt,Ze)}},Pn=xn(Re+ee,ee,Cr);if(Pn)return Pn;var Zn=ee>0?Cr.end:Nt(Cr.begin,-1);return Zn!=null&&!(ee>0&&Zn==M.text.length)&&(Pn=xn(ee>0?0:ie.length-1,ee,Yt(Zn)),Pn)?Pn:null}var zs={selectAll:Fs,singleSelection:function(M){return M.setSelection(M.getCursor("anchor"),M.getCursor("head"),ge)},killLine:function(M){return Qs(M,function(J){if(J.empty()){var ee=ne(M.doc,J.head.line).text.length;return J.head.ch==ee&&J.head.line<M.lastLine()?{from:J.head,to:Dt(J.head.line+1,0)}:{from:J.head,to:Dt(J.head.line,ee)}}else return{from:J.from(),to:J.to()}})},deleteLine:function(M){return Qs(M,function(J){return{from:Dt(J.from().line,0),to:ot(M.doc,Dt(J.to().line+1,0))}})},delLineLeft:function(M){return Qs(M,function(J){return{from:Dt(J.from().line,0),to:J.from()}})},delWrappedLineLeft:function(M){return Qs(M,function(J){var ee=M.charCoords(J.head,"div").top+5,ie=M.coordsChar({left:0,top:ee},"div");return{from:ie,to:J.from()}})},delWrappedLineRight:function(M){return Qs(M,function(J){var ee=M.charCoords(J.head,"div").top+5,ie=M.coordsChar({left:M.display.lineDiv.offsetWidth+100,top:ee},"div");return{from:J.from(),to:ie}})},undo:function(M){return M.undo()},redo:function(M){return M.redo()},undoSelection:function(M){return M.undoSelection()},redoSelection:function(M){return M.redoSelection()},goDocStart:function(M){return M.extendSelection(Dt(M.firstLine(),0))},goDocEnd:function(M){return M.extendSelection(Dt(M.lastLine()))},goLineStart:function(M){return M.extendSelectionsBy(function(J){return Xl(M,J.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(M){return M.extendSelectionsBy(function(J){return pl(M,J.head)},{origin:"+move",bias:1})},goLineEnd:function(M){return M.extendSelectionsBy(function(J){return Cl(M,J.head.line)},{origin:"+move",bias:-1})},goLineRight:function(M){return M.extendSelectionsBy(function(J){var ee=M.cursorCoords(J.head,"div").top+5;return M.coordsChar({left:M.display.lineDiv.offsetWidth+100,top:ee},"div")},we)},goLineLeft:function(M){return M.extendSelectionsBy(function(J){var ee=M.cursorCoords(J.head,"div").top+5;return M.coordsChar({left:0,top:ee},"div")},we)},goLineLeftSmart:function(M){return M.extendSelectionsBy(function(J){var ee=M.cursorCoords(J.head,"div").top+5,ie=M.coordsChar({left:0,top:ee},"div");return ie.ch<M.getLine(ie.line).search(/\S/)?pl(M,J.head):ie},we)},goLineUp:function(M){return M.moveV(-1,"line")},goLineDown:function(M){return M.moveV(1,"line")},goPageUp:function(M){return M.moveV(-1,"page")},goPageDown:function(M){return M.moveV(1,"page")},goCharLeft:function(M){return M.moveH(-1,"char")},goCharRight:function(M){return M.moveH(1,"char")},goColumnLeft:function(M){return M.moveH(-1,"column")},goColumnRight:function(M){return M.moveH(1,"column")},goWordLeft:function(M){return M.moveH(-1,"word")},goGroupRight:function(M){return M.moveH(1,"group")},goGroupLeft:function(M){return M.moveH(-1,"group")},goWordRight:function(M){return M.moveH(1,"word")},delCharBefore:function(M){return M.deleteH(-1,"codepoint")},delCharAfter:function(M){return M.deleteH(1,"char")},delWordBefore:function(M){return M.deleteH(-1,"word")},delWordAfter:function(M){return M.deleteH(1,"word")},delGroupBefore:function(M){return M.deleteH(-1,"group")},delGroupAfter:function(M){return M.deleteH(1,"group")},indentAuto:function(M){return M.indentSelection("smart")},indentMore:function(M){return M.indentSelection("add")},indentLess:function(M){return M.indentSelection("subtract")},insertTab:function(M){return M.replaceSelection(" ")},insertSoftTab:function(M){for(var J=[],ee=M.listSelections(),ie=M.options.tabSize,Re=0;Re<ee.length;Re++){var pt=ee[Re].from(),Nt=W(M.getLine(pt.line),pt.ch,ie);J.push(Pe(ie-Nt%ie))}M.replaceSelections(J)},defaultTab:function(M){M.somethingSelected()?M.indentSelection("add"):M.execCommand("insertTab")},transposeChars:function(M){return bo(M,function(){for(var J=M.listSelections(),ee=[],ie=0;ie<J.length;ie++){if(!J[ie].empty())continue;var Re=J[ie].head,pt=ne(M.doc,Re.line).text;if(pt){if(Re.ch==pt.length&&(Re=new Dt(Re.line,Re.ch-1)),Re.ch>0)Re=new Dt(Re.line,Re.ch+1),M.replaceRange(pt.charAt(Re.ch-1)+pt.charAt(Re.ch-2),Dt(Re.line,Re.ch-2),Re,"+transpose");else if(Re.line>M.doc.first){var Nt=ne(M.doc,Re.line-1).text;Nt&&(Re=new Dt(Re.line,1),M.replaceRange(pt.charAt(0)+M.doc.lineSeparator()+Nt.charAt(Nt.length-1),Dt(Re.line-1,Nt.length-1),Re,"+transpose"))}}ee.push(new le(Re,Re))}M.setSelections(ee)})},newlineAndIndent:function(M){return bo(M,function(){for(var J=M.listSelections(),ee=J.length-1;ee>=0;ee--)M.replaceRange(M.doc.lineSeparator(),J[ee].anchor,J[ee].head,"+input");J=M.listSelections();for(var ie=0;ie<J.length;ie++)M.indentLine(J[ie].from().line,null,!0);Oa(M)})},openLine:function(M){return M.replaceSelection(`
`,"start")},toggleOverwrite:function(M){return M.toggleOverwrite()}};function Xl(O,M){var J=ne(O.doc,M),ee=ta(J);return ee!=J&&(M=$e(ee)),fl(!0,O,ee,M,1)}function Cl(O,M){var J=ne(O.doc,M),ee=_i(J);return ee!=J&&(M=$e(ee)),fl(!0,O,J,M,-1)}function pl(O,M){var J=Xl(O,M.line),ee=ne(O.doc,J.line),ie=mt(ee,O.doc.direction);if(!ie||ie[0].level==0){var Re=Math.max(J.ch,ee.text.search(/\S/)),pt=M.line==J.line&&M.ch<=Re&&M.ch;return Dt(J.line,pt?0:Re,J.sticky)}return J}function Tl(O,M,J){if(typeof M=="string"&&(M=zs[M],!M))return!1;O.display.input.ensurePolled();var ee=O.display.shift,ie=!1;try{O.isReadOnly()&&(O.state.suppressEdits=!0),J&&(O.display.shift=!1),ie=M(O)!=Z}finally{O.display.shift=ee,O.state.suppressEdits=!1}return ie}function Yl(O,M,J){for(var ee=0;ee<O.state.keyMaps.length;ee++){var ie=Bs(M,O.state.keyMaps[ee],J,O);if(ie)return ie}return O.options.extraKeys&&Bs(M,O.options.extraKeys,J,O)||Bs(M,O.options.keyMap,J,O)}var kl=new X;function ml(O,M,J,ee){var ie=O.state.keySeq;if(ie){if(Sl(M))return"handled";if(/\'$/.test(M)?O.state.keySeq=null:kl.set(50,function(){O.state.keySeq==ie&&(O.state.keySeq=null,O.display.input.reset())}),Gl(O,ie+" "+M,J,ee))return!0}return Gl(O,M,J,ee)}function Gl(O,M,J,ee){var ie=Yl(O,M,ee);return ie=="multi"&&(O.state.keySeq=M),ie=="handled"&&Tr(O,"keyHandled",O,M,J),(ie=="handled"||ie=="multi")&&(Ve(J),vi(O)),!!ie}function Js(O,M){var J=Vl(M,!0);return J?M.shiftKey&&!O.state.keySeq?ml(O,"Shift-"+J,M,function(ee){return Tl(O,ee,!0)})||ml(O,J,M,function(ee){if(typeof ee=="string"?/^go[A-Z]/.test(ee):ee.motion)return Tl(O,ee)}):ml(O,J,M,function(ee){return Tl(O,ee)}):!1}function Ql(O,M,J){return ml(O,"'"+J+"'",M,function(ee){return Tl(O,ee,!0)})}var Ro=null;function Ws(O){var M=this;if(O.target&&O.target!=M.display.input.getField())return;if(M.curOp.focus=P(),Ye(M,O))return;c&&a<11&&O.keyCode==27&&(O.returnValue=!1);var J=O.keyCode;M.display.shift=J==16||O.shiftKey;var ee=Js(M,O);d&&(Ro=ee?J:null,!ee&&J==88&&!be&&(w?O.metaKey:O.ctrlKey)&&M.replaceSelection("",null,"cut")),y&&!w&&!ee&&J==46&&O.shiftKey&&!O.ctrlKey&&document.execCommand&&document.execCommand("cut"),J==18&&!/\bCodeMirror-crosshair\b/.test(M.display.lineDiv.className)&&al(M)}function al(O){var M=O.display.lineDiv;K(M,"CodeMirror-crosshair");function J(ee){(ee.keyCode==18||!ee.altKey)&&(x(M,"CodeMirror-crosshair"),Ke(document,"keyup",J),Ke(document,"mouseover",J))}Ue(document,"keyup",J),Ue(document,"mouseover",J)}function Ps(O){O.keyCode==16&&(this.doc.sel.shift=!1),Ye(this,O)}function Us(O){var M=this;if(O.target&&O.target!=M.display.input.getField())return;if(St(M.display,O)||Ye(M,O)||O.ctrlKey&&!O.altKey||w&&O.metaKey)return;var J=O.keyCode,ee=O.charCode;if(d&&J==Ro){Ro=null,Ve(O);return}if(d&&(!O.which||O.which<10)&&Js(M,O))return;var ie=String.fromCharCode(ee==null?J:ee);if(ie=="\b")return;if(Ql(M,O,ie))return;M.display.input.onKeyPress(O)}var gl=400,xs=function(M,J,ee){this.time=M,this.pos=J,this.button=ee};xs.prototype.compare=function(O,M,J){return this.time+gl>O&&Kt(M,this.pos)==0&&J==this.button};var ol,Zs;function Bl(O,M){var J=+new Date;return Zs&&Zs.compare(J,O,M)?(ol=Zs=null,"triple"):ol&&ol.compare(J,O,M)?(Zs=new xs(J,O,M),ol=null,"double"):(ol=new xs(J,O,M),Zs=null,"single")}function Ll(O){var M=this,J=M.display;if(Ye(M,O)||J.activeTouch&&J.input.supportsTouch())return;if(J.input.ensurePolled(),J.shift=O.shiftKey,St(J,O)){i||(J.scroller.draggable=!1,setTimeout(function(){return J.scroller.draggable=!0},100));return}if(Il(M,O))return;var ee=ca(M,O),ie=ve(O),Re=ee?Bl(ee,ie):"single";if(window.focus(),ie==1&&M.state.selectingText&&M.state.selectingText(O),ee&&vl(M,ie,ee,Re,O))return;ie==1?ee?Pl(M,ee,Re,O):Qe(O)==J.scroller&&Ve(O):ie==2?(ee&&wo(M.doc,ee),setTimeout(function(){return J.input.focus()},20)):ie==3&&(T?M.display.input.onContextMenu(O):Ka(M))}function vl(O,M,J,ee,ie){var Re="Click";return ee=="double"?Re="Double"+Re:ee=="triple"&&(Re="Triple"+Re),Re=(M==1?"Left":M==2?"Middle":"Right")+Re,ml(O,Fl(Re,ie),ie,function(pt){if(typeof pt=="string"&&(pt=zs[pt]),!pt)return!1;var Nt=!1;try{O.isReadOnly()&&(O.state.suppressEdits=!0),Nt=pt(O,J)!=Z}finally{O.state.suppressEdits=!1}return Nt})}function ql(O,M,J){var ee=O.getOption("configureMouse"),ie=ee?ee(O,M,J):{};if(ie.unit==null){var Re=b?J.shiftKey&&J.metaKey:J.altKey;ie.unit=Re?"rectangle":M=="single"?"char":M=="double"?"word":"line"}return(ie.extend==null||O.doc.extend)&&(ie.extend=O.doc.extend||J.shiftKey),ie.addNew==null&&(ie.addNew=w?J.metaKey:J.ctrlKey),ie.moveOnDrag==null&&(ie.moveOnDrag=!(w?J.altKey:J.ctrlKey)),ie}function Pl(O,M,J,ee){c?setTimeout(j(Ya,O),0):O.curOp.focus=P();var ie=ql(O,J,ee),Re=O.doc.sel,pt;O.options.dragDrop&&Zt&&!O.isReadOnly()&&J=="single"&&(pt=Re.contains(M))>-1&&(Kt((pt=Re.ranges[pt]).from(),M)<0||M.xRel>0)&&(Kt(pt.to(),M)>0||M.xRel<0)?yl(O,ee,M,ie):lc(O,ee,M,ie)}function yl(O,M,J,ee){var ie=O.display,Re=!1,pt=Za(O,function(Yt){i&&(ie.scroller.draggable=!1),O.state.draggingText=!1,Ke(ie.wrapper.ownerDocument,"mouseup",pt),Ke(ie.wrapper.ownerDocument,"mousemove",Nt),Ke(ie.scroller,"dragstart",zt),Ke(ie.scroller,"drop",pt),Re||(Ve(Yt),ee.addNew||wo(O.doc,J,null,null,ee.extend),i&&!n||c&&a==9?setTimeout(function(){ie.wrapper.ownerDocument.body.focus({preventScroll:!0}),ie.input.focus()},20):ie.input.focus())}),Nt=function(Cr){Re=Re||Math.abs(M.clientX-Cr.clientX)+Math.abs(M.clientY-Cr.clientY)>=10},zt=function(){return Re=!0};i&&(ie.scroller.draggable=!0),O.state.draggingText=pt,pt.copy=!ee.moveOnDrag,ie.scroller.dragDrop&&ie.scroller.dragDrop(),Ue(ie.wrapper.ownerDocument,"mouseup",pt),Ue(ie.wrapper.ownerDocument,"mousemove",Nt),Ue(ie.scroller,"dragstart",zt),Ue(ie.scroller,"drop",pt),Ka(O),setTimeout(function(){return ie.input.focus()},20)}function Jl(O,M,J){if(J=="char")return new le(M,M);if(J=="word")return O.findWordAt(M);if(J=="line")return new le(Dt(M.line,0),ot(O.doc,Dt(M.line+1,0)));var ee=J(O,M);return new le(ee.from,ee.to)}function lc(O,M,J,ee){var ie=O.display,Re=O.doc;Ve(M);var pt,Nt,zt=Re.sel,Yt=zt.ranges;if(ee.addNew&&!ee.extend?(Nt=Re.sel.contains(J),Nt>-1?pt=Yt[Nt]:pt=new le(J,J)):(pt=Re.sel.primary(),Nt=Re.sel.primIndex),ee.unit=="rectangle")ee.addNew||(pt=new le(J,J)),J=ca(O,M,!0,!0),Nt=-1;else{var Cr=Jl(O,J,ee.unit);ee.extend?pt=Qo(pt,Cr.anchor,Cr.head,ee.extend):pt=Cr}ee.addNew?Nt==-1?(Nt=Yt.length,Eo(Re,xe(O,Yt.concat([pt]),Nt),{scroll:!1,origin:"*mouse"})):Yt.length>1&&Yt[Nt].empty()&&ee.unit=="char"&&!ee.extend?(Eo(Re,xe(O,Yt.slice(0,Nt).concat(Yt.slice(Nt+1)),0),{scroll:!1,origin:"*mouse"}),zt=Re.sel):ns(Re,Nt,pt,Q):(Nt=0,Eo(Re,new Bt([pt],0),Q),zt=Re.sel);var Ur=J;function en(li){if(Kt(Ur,li)==0)return;if(Ur=li,ee.unit=="rectangle"){for(var qe=[],te=O.options.tabSize,ke=W(ne(Re,J.line).text,J.ch,te),Ze=W(ne(Re,li.line).text,li.ch,te),Lt=Math.min(ke,Ze),tr=Math.max(ke,Ze),vr=Math.min(J.line,li.line),Or=Math.min(O.lastLine(),Math.max(J.line,li.line));vr<=Or;vr++){var Hr=ne(Re,vr).text,Kr=Ee(Hr,Lt,te);Lt==tr?qe.push(new le(Dt(vr,Kr),Dt(vr,Kr))):Hr.length>Kr&&qe.push(new le(Dt(vr,Kr),Dt(vr,Ee(Hr,tr,te))))}qe.length||qe.push(new le(J,J)),Eo(Re,xe(O,zt.ranges.slice(0,Nt).concat(qe),Nt),{origin:"*mouse",scroll:!1}),O.scrollIntoView(li)}else{var cn=pt,sn=Jl(O,li,ee.unit),Fn=cn.anchor,si;Kt(sn.anchor,Fn)>0?(si=sn.head,Fn=dr(cn.from(),sn.anchor)):(si=sn.anchor,Fn=Mt(cn.to(),sn.head));var Kn=zt.ranges.slice(0);Kn[Nt]=Zl(O,new le(ot(Re,Fn),si)),Eo(Re,xe(O,Kn,Nt),Q)}}var nn=ie.wrapper.getBoundingClientRect(),xn=0;function Pn(li){var qe=++xn,te=ca(O,li,!0,ee.unit=="rectangle");if(!te)return;if(Kt(te,Ur)!=0){O.curOp.focus=P(),en(te);var ke=ja(ie,Re);(te.line>=ke.to||te.line<ke.from)&&setTimeout(Za(O,function(){xn==qe&&Pn(li)}),150)}else{var Ze=li.clientY<nn.top?-20:li.clientY>nn.bottom?20:0;Ze&&setTimeout(Za(O,function(){if(xn!=qe)return;ie.scroller.scrollTop+=Ze,Pn(li)}),50)}}function Zn(li){O.state.selectingText=!1,xn=Infinity,li&&(Ve(li),ie.input.focus()),Ke(ie.wrapper.ownerDocument,"mousemove",Jn),Ke(ie.wrapper.ownerDocument,"mouseup",oi),Re.history.lastSelOrigin=null}var Jn=Za(O,function(li){li.buttons===0||!ve(li)?Zn(li):Pn(li)}),oi=Za(O,Zn);O.state.selectingText=oi,Ue(ie.wrapper.ownerDocument,"mousemove",Jn),Ue(ie.wrapper.ownerDocument,"mouseup",oi)}function Zl(O,M){var J=M.anchor,ee=M.head,ie=ne(O.doc,J.line);if(Kt(J,ee)==0&&J.sticky==ee.sticky)return M;var Re=mt(ie);if(!Re)return M;var pt=Le(Re,J.ch,J.sticky),Nt=Re[pt];if(Nt.from!=J.ch&&Nt.to!=J.ch)return M;var zt=pt+(Nt.from==J.ch==(Nt.level!=1)?0:1);if(zt==0||zt==Re.length)return M;var Yt;if(ee.line!=J.line)Yt=(ee.line-J.line)*(O.doc.direction=="ltr"?1:-1)>0;else{var Cr=Le(Re,ee.ch,ee.sticky),Ur=Cr-pt||(ee.ch-J.ch)*(Nt.level==1?-1:1);Cr==zt-1||Cr==zt?Yt=Ur<0:Yt=Ur>0}var en=Re[zt+(Yt?-1:0)],nn=Yt==(en.level==1),xn=nn?en.from:en.to,Pn=nn?"after":"before";return J.ch==xn&&J.sticky==Pn?M:new le(new Dt(J.line,xn,Pn),ee)}function $l(O,M,J,ee){var ie,Re;if(M.touches)ie=M.touches[0].clientX,Re=M.touches[0].clientY;else try{ie=M.clientX,Re=M.clientY}catch(en){return!1}if(ie>=Math.floor(O.display.gutters.getBoundingClientRect().right))return!1;ee&&Ve(M);var pt=O.display,Nt=pt.lineDiv.getBoundingClientRect();if(Re>Nt.bottom||!rt(O,J))return re(M);Re-=Nt.top-pt.viewOffset;for(var zt=0;zt<O.display.gutterSpecs.length;++zt){var Yt=pt.gutters.childNodes[zt];if(Yt&&Yt.getBoundingClientRect().right>=ie){var Cr=vt(O.doc,Re),Ur=O.display.gutterSpecs[zt];return wt(O,J,O,Cr,Ur.className,M),re(M)}}}function Il(O,M){return $l(O,M,"gutterClick",!0)}function ec(O,M){if(St(O.display,M)||cc(O,M))return;if(Ye(O,M,"contextmenu"))return;T||O.display.input.onContextMenu(M)}function cc(O,M){return rt(O,"gutterContextMenu")?$l(O,M,"gutterContextMenu",!1):!1}function Ol(O){O.display.wrapper.className=O.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+O.options.theme.replace(/(^|\s)\s*/g," cm-s-"),yi(O)}var js={toString:function(){return"CodeMirror.Init"}},_l={},Al={};function uc(O){var M=O.optionHandlers;function J(ee,ie,Re,pt){O.defaults[ee]=ie,Re&&(M[ee]=pt?function(Nt,zt,Yt){Yt!=js&&Re(Nt,zt,Yt)}:Re)}O.defineOption=J,O.Init=js,J("value","",function(ee,ie){return ee.setValue(ie)},!0),J("mode",null,function(ee,ie){ee.doc.modeOption=ie,Rr(ee)},!0),J("indentUnit",2,Rr,!0),J("indentWithTabs",!1),J("smartIndent",!0),J("tabSize",4,function(ee){$r(ee),yi(ee),gi(ee)},!0),J("lineSeparator",null,function(ee,ie){if(ee.doc.lineSep=ie,!ie)return;var Re=[],pt=ee.doc.first;ee.doc.iter(function(zt){for(var Yt=0;;){var Cr=zt.text.indexOf(ie,Yt);if(Cr==-1)break;Yt=Cr+ie.length,Re.push(Dt(pt,Cr))}pt++});for(var Nt=Re.length-1;Nt>=0;Nt--)qo(ee.doc,ie,Re[Nt],Dt(Re[Nt].line,Re[Nt].ch+ie.length))}),J("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(ee,ie,Re){ee.state.specialChars=new RegExp(ie.source+(ie.test(" ")?"":"| "),"g"),Re!=js&&ee.refresh()}),J("specialCharPlaceholder",Wi,function(ee){return ee.refresh()},!0),J("electricChars",!0),J("inputStyle",p?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),J("spellcheck",!1,function(ee,ie){return ee.getInputField().spellcheck=ie},!0),J("autocorrect",!1,function(ee,ie){return ee.getInputField().autocorrect=ie},!0),J("autocapitalize",!1,function(ee,ie){return ee.getInputField().autocapitalize=ie},!0),J("rtlMoveVisually",!E),J("wholeLineUpdateBefore",!0),J("theme","default",function(ee){Ol(ee),as(ee)},!0),J("keyMap","default",function(ee,ie,Re){var pt=xl(ie),Nt=Re!=js&&xl(Re);Nt&&Nt.detach&&Nt.detach(ee,pt),pt.attach&&pt.attach(ee,Nt||null)}),J("extraKeys",null),J("configureMouse",null),J("lineWrapping",!1,sl,!0),J("gutters",[],function(ee,ie){ee.display.gutterSpecs=Ns(ie,ee.options.lineNumbers),as(ee)},!0),J("fixedGutter",!0,function(ee,ie){ee.display.gutters.style.left=ie?Xi(ee.display)+"px":"0",ee.refresh()},!0),J("coverGutterNextToScrollbar",!1,function(ee){return Ra(ee)},!0),J("scrollbarStyle","native",function(ee){vo(ee),Ra(ee),ee.display.scrollbars.setScrollTop(ee.doc.scrollTop),ee.display.scrollbars.setScrollLeft(ee.doc.scrollLeft)},!0),J("lineNumbers",!1,function(ee,ie){ee.display.gutterSpecs=Ns(ee.options.gutters,ie),as(ee)},!0),J("firstLineNumber",1,as,!0),J("lineNumberFormatter",function(ee){return ee},as,!0),J("showCursorWhenSelecting",!1,Ki,!0),J("resetSelectionOnContextMenu",!0),J("lineWiseCopyCut",!0),J("pasteLinesPerSelection",!0),J("selectionsMayTouch",!1),J("readOnly",!1,function(ee,ie){ie=="nocursor"&&(Ii(ee),ee.display.input.blur()),ee.display.input.readOnlyChanged(ie)}),J("screenReaderLabel",null,function(ee,ie){ie=ie===""?null:ie,ee.display.input.screenReaderLabelChanged(ie)}),J("disableInput",!1,function(ee,ie){ie||ee.display.input.reset()},!0),J("dragDrop",!0,dc),J("allowDropFileTypes",null),J("cursorBlinkRate",530),J("cursorScrollMargin",0),J("cursorHeight",1,Ki,!0),J("singleCursorHeightPerLine",!0,Ki,!0),J("workTime",100),J("workDelay",100),J("flattenSpans",!0,$r,!0),J("addModeClass",!1,$r,!0),J("pollInterval",100),J("undoDepth",200,function(ee,ie){return ee.doc.history.undoDepth=ie}),J("historyEventDelay",1250),J("viewportMargin",10,function(ee){return ee.refresh()},!0),J("maxHighlightLength",1e4,$r,!0),J("moveInputWithCursor",!0,function(ee,ie){ie||ee.display.input.resetPosition()}),J("tabindex",null,function(ee,ie){return ee.display.input.getField().tabIndex=ie||""}),J("autofocus",null),J("direction","ltr",function(ee,ie){return ee.doc.setDirection(ie)},!0),J("phrases",null)}function dc(O,M,J){var ee=J&&J!=js;if(!M!=!ee){var ie=O.display.dragFunctions,Re=M?Ue:Ke;Re(O.display.scroller,"dragstart",ie.start),Re(O.display.scroller,"dragenter",ie.enter),Re(O.display.scroller,"dragover",ie.over),Re(O.display.scroller,"dragleave",ie.leave),Re(O.display.scroller,"drop",ie.drop)}}function sl(O){O.options.lineWrapping?(K(O.display.wrapper,"CodeMirror-wrap"),O.display.sizer.style.minWidth="",O.display.sizerWidth=null):(x(O.display.wrapper,"CodeMirror-wrap"),jn(O)),Aa(O),gi(O),yi(O),setTimeout(function(){return Ra(O)},100)}function at(O,M){var J=this;if(!(this instanceof at))return new at(O,M);this.options=M=M?H(M):{},H(_l,M,!1);var ee=M.value;typeof ee=="string"?ee=new es(ee,M.mode,null,M.lineSeparator,M.direction):M.mode&&(ee.modeOption=M.mode),this.doc=ee;var ie=new at.inputStyles[M.inputStyle](this),Re=this.display=new $s(O,ee,ie,M);Re.wrapper.CodeMirror=this,Ol(this),M.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 X,keySeq:null,specialChars:null},M.autofocus&&!p&&Re.input.focus(),c&&a<11&&setTimeout(function(){return J.display.input.reset(!0)},20),de(this),Wl(),Zi(this),this.curOp.forceUpdate=!0,Qn(this,ee),M.autofocus&&!p||this.hasFocus()?setTimeout(function(){J.hasFocus()&&!J.state.focused&&pa(J)},20):Ii(this);for(var pt in Al)Al.hasOwnProperty(pt)&&Al[pt](this,M[pt],js);ls(this),M.finishInit&&M.finishInit(this);for(var Nt=0;Nt<je.length;++Nt)je[Nt](this);xo(this),i&&M.lineWrapping&&getComputedStyle(Re.lineDiv).textRendering=="optimizelegibility"&&(Re.lineDiv.style.textRendering="auto")}at.defaults=_l,at.optionHandlers=Al;function de(O){var M=O.display;Ue(M.scroller,"mousedown",Za(O,Ll)),c&&a<11?Ue(M.scroller,"dblclick",Za(O,function(zt){if(Ye(O,zt))return;var Yt=ca(O,zt);if(!Yt||Il(O,zt)||St(O.display,zt))return;Ve(zt);var Cr=O.findWordAt(Yt);wo(O.doc,Cr.anchor,Cr.head)})):Ue(M.scroller,"dblclick",function(zt){return Ye(O,zt)||Ve(zt)}),Ue(M.scroller,"contextmenu",function(zt){return ec(O,zt)}),Ue(M.input.getField(),"contextmenu",function(zt){M.scroller.contains(zt.target)||ec(O,zt)});var J,ee={end:0};function ie(){M.activeTouch&&(J=setTimeout(function(){return M.activeTouch=null},1e3),ee=M.activeTouch,ee.end=+new Date)}function Re(zt){if(zt.touches.length!=1)return!1;var Yt=zt.touches[0];return Yt.radiusX<=1&&Yt.radiusY<=1}function pt(zt,Yt){if(Yt.left==null)return!0;var Cr=Yt.left-zt.left,Ur=Yt.top-zt.top;return Cr*Cr+Ur*Ur>20*20}Ue(M.scroller,"touchstart",function(zt){if(!Ye(O,zt)&&!Re(zt)&&!Il(O,zt)){M.input.ensurePolled(),clearTimeout(J);var Yt=+new Date;M.activeTouch={start:Yt,moved:!1,prev:Yt-ee.end<=300?ee:null},zt.touches.length==1&&(M.activeTouch.left=zt.touches[0].pageX,M.activeTouch.top=zt.touches[0].pageY)}}),Ue(M.scroller,"touchmove",function(){M.activeTouch&&(M.activeTouch.moved=!0)}),Ue(M.scroller,"touchend",function(zt){var Yt=M.activeTouch;if(Yt&&!St(M,zt)&&Yt.left!=null&&!Yt.moved&&new Date-Yt.start<300){var Cr=O.coordsChar(M.activeTouch,"page"),Ur;!Yt.prev||pt(Yt,Yt.prev)?Ur=new le(Cr,Cr):!Yt.prev.prev||pt(Yt,Yt.prev.prev)?Ur=O.findWordAt(Cr):Ur=new le(Dt(Cr.line,0),ot(O.doc,Dt(Cr.line+1,0))),O.setSelection(Ur.anchor,Ur.head),O.focus(),Ve(zt)}ie()}),Ue(M.scroller,"touchcancel",ie),Ue(M.scroller,"scroll",function(){M.scroller.clientHeight&&(Gi(O,M.scroller.scrollTop),go(O,M.scroller.scrollLeft,!0),wt(O,"scroll",O))}),Ue(M.scroller,"mousewheel",function(zt){return Is(O,zt)}),Ue(M.scroller,"DOMMouseScroll",function(zt){return Is(O,zt)}),Ue(M.wrapper,"scroll",function(){return M.wrapper.scrollTop=M.wrapper.scrollLeft=0}),M.dragFunctions={enter:function(Yt){Ye(O,Yt)||it(Yt)},over:function(Yt){Ye(O,Yt)||(Ml(O,Yt),it(Yt))},start:function(Yt){return Rl(O,Yt)},drop:Za(O,ac),leave:function(Yt){Ye(O,Yt)||bl(O)}};var Nt=M.input.getField();Ue(Nt,"keyup",function(zt){return Ps.call(O,zt)}),Ue(Nt,"keydown",Za(O,Ws)),Ue(Nt,"keypress",Za(O,Us)),Ue(Nt,"focus",function(zt){return pa(O,zt)}),Ue(Nt,"blur",function(zt){return Ii(O,zt)})}var je=[];at.defineInitHook=function(O){return je.push(O)};function bt(O,M,J,ee){var ie=O.doc,Re;J==null&&(J="add"),J=="smart"&&(ie.mode.indent?Re=Ht(O,M).state:J="prev");var pt=O.options.tabSize,Nt=ne(ie,M),zt=W(Nt.text,null,pt);Nt.stateAfter&&(Nt.stateAfter=null);var Yt=Nt.text.match(/^\s*/)[0],Cr;if(!ee&&!/\S/.test(Nt.text))Cr=0,J="not";else if(J=="smart"&&(Cr=ie.mode.indent(Re,Nt.text.slice(Yt.length),Nt.text),Cr==Z||Cr>150)){if(!ee)return;J="prev"}J=="prev"?M>ie.first?Cr=W(ne(ie,M-1).text,null,pt):Cr=0:J=="add"?Cr=zt+O.options.indentUnit:J=="subtract"?Cr=zt-O.options.indentUnit:typeof J=="number"&&(Cr=zt+J),Cr=Math.max(0,Cr);var Ur="",en=0;if(O.options.indentWithTabs)for(var nn=Math.floor(Cr/pt);nn;--nn)en+=pt,Ur+=" ";if(en<Cr&&(Ur+=Pe(Cr-en)),Ur!=Yt)return qo(ie,Ur,Dt(M,0),Dt(M,Yt.length),"+input"),Nt.stateAfter=null,!0;for(var xn=0;xn<ie.sel.ranges.length;xn++){var Pn=ie.sel.ranges[xn];if(Pn.head.line==M&&Pn.head.ch<Yt.length){var Zn=Dt(M,Yt.length);ns(ie,xn,new le(Zn,Zn));break}}}var kt=null;function qt(O){kt=O}function ar(O,M,J,ee,ie){var Re=O.doc;O.display.shift=!1,ee||(ee=Re.sel);var pt=+new Date-200,Nt=ie=="paste"||O.state.pasteIncoming>pt,zt=or(M),Yt=null;if(Nt&&ee.ranges.length>1)if(kt&&kt.text.join(`
`)==M){if(ee.ranges.length%kt.text.length==0){Yt=[];for(var Cr=0;Cr<kt.text.length;Cr++)Yt.push(Re.splitLines(kt.text[Cr]))}}else zt.length==ee.ranges.length&&O.options.pasteLinesPerSelection&&(Yt=gt(zt,function(Jn){return[Jn]}));for(var Ur=O.curOp.updateInput,en=ee.ranges.length-1;en>=0;en--){var nn=ee.ranges[en],xn=nn.from(),Pn=nn.to();nn.empty()&&(J&&J>0?xn=Dt(xn.line,xn.ch-J):O.state.overwrite&&!Nt?Pn=Dt(Pn.line,Math.min(ne(Re,Pn.line).text.length,Pn.ch+Ge(zt).length)):Nt&&kt&&kt.lineWise&&kt.text.join(`
`)==zt.join(`
`)&&(xn=Pn=Dt(xn.line,0)));var Zn={from:xn,to:Pn,text:Yt?Yt[en%Yt.length]:zt,origin:ie||(Nt?"paste":O.state.cutIncoming>pt?"cut":"+input")};bs(O.doc,Zn),Tr(O,"inputRead",O,Zn)}M&&!Nt&&yr(O,M),Oa(O),O.curOp.updateInput<2&&(O.curOp.updateInput=Ur),O.curOp.typing=!0,O.state.pasteIncoming=O.state.cutIncoming=-1}function lr(O,M){var J=O.clipboardData&&O.clipboardData.getData("Text");if(J)return O.preventDefault(),!M.isReadOnly()&&!M.options.disableInput&&bo(M,function(){return ar(M,J,0,null,"paste")}),!0}function yr(O,M){if(!O.options.electricChars||!O.options.smartIndent)return;for(var J=O.doc.sel,ee=J.ranges.length-1;ee>=0;ee--){var ie=J.ranges[ee];if(ie.head.ch>100||ee&&J.ranges[ee-1].head.line==ie.head.line)continue;var Re=O.getModeAt(ie.head),pt=!1;if(Re.electricChars){for(var Nt=0;Nt<Re.electricChars.length;Nt++)if(M.indexOf(Re.electricChars.charAt(Nt))>-1){pt=bt(O,ie.head.line,"smart");break}}else Re.electricInput&&(Re.electricInput.test(ne(O.doc,ie.head.line).text.slice(0,ie.head.ch))&&(pt=bt(O,ie.head.line,"smart")));pt&&Tr(O,"electricInput",O,ie.head.line)}}function Vr(O){for(var M=[],J=[],ee=0;ee<O.doc.sel.ranges.length;ee++){var ie=O.doc.sel.ranges[ee].head.line,Re={anchor:Dt(ie,0),head:Dt(ie+1,0)};J.push(Re),M.push(O.getRange(Re.anchor,Re.head))}return{text:M,ranges:J}}function Xr(O,M,J,ee){O.setAttribute("autocorrect",J?"":"off"),O.setAttribute("autocapitalize",ee?"":"off"),O.setAttribute("spellcheck",!!M)}function Pr(){var O=N("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),M=N("div",[O],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return i?O.style.width="1000px":O.setAttribute("wrap","off"),s&&(O.style.border="1px solid black"),Xr(O),M}function kr(O){var M=O.optionHandlers,J=O.helpers={};O.prototype={constructor:O,focus:function(){window.focus(),this.display.input.focus()},setOption:function(ie,Re){var pt=this.options,Nt=pt[ie];if(pt[ie]==Re&&ie!="mode")return;pt[ie]=Re,M.hasOwnProperty(ie)&&Za(this,M[ie])(this,Re,Nt),wt(this,"optionChange",this,ie)},getOption:function(ie){return this.options[ie]},getDoc:function(){return this.doc},addKeyMap:function(ie,Re){this.state.keyMaps[Re?"push":"unshift"](xl(ie))},removeKeyMap:function(ie){for(var Re=this.state.keyMaps,pt=0;pt<Re.length;++pt)if(Re[pt]==ie||Re[pt].name==ie)return Re.splice(pt,1),!0},addOverlay:Ga(function(ee,ie){var Re=ee.token?ee:O.getMode(this.options,ee);if(Re.startState)throw new Error("Overlays may not be stateful.");_e(this.state.overlays,{mode:Re,modeSpec:ee,opaque:ie&&ie.opaque,priority:ie&&ie.priority||0},function(pt){return pt.priority}),this.state.modeGen++,gi(this)}),removeOverlay:Ga(function(ee){for(var ie=this.state.overlays,Re=0;Re<ie.length;++Re){var pt=ie[Re].modeSpec;if(pt==ee||typeof ee=="string"&&pt.name==ee){ie.splice(Re,1),this.state.modeGen++,gi(this);return}}}),indentLine:Ga(function(ee,ie,Re){typeof ie!="string"&&typeof ie!="number"&&(ie==null?ie=this.options.smartIndent?"smart":"prev":ie=ie?"add":"subtract"),Wt(this.doc,ee)&&bt(this,ee,ie,Re)}),indentSelection:Ga(function(ee){for(var ie=this.doc.sel.ranges,Re=-1,pt=0;pt<ie.length;pt++){var Nt=ie[pt];if(Nt.empty())Nt.head.line>Re&&(bt(this,Nt.head.line,ee,!0),Re=Nt.head.line,pt==this.doc.sel.primIndex&&Oa(this));else{var zt=Nt.from(),Yt=Nt.to(),Cr=Math.max(Re,zt.line);Re=Math.min(this.lastLine(),Yt.line-(Yt.ch?0:1))+1;for(var Ur=Cr;Ur<Re;++Ur)bt(this,Ur,ee);var en=this.doc.sel.ranges;zt.ch==0&&ie.length==en.length&&en[pt].from().ch>0&&ns(this.doc,pt,new le(zt,en[pt].to()),ge)}}}),getTokenAt:function(ie,Re){return Ar(this,ie,Re)},getLineTokens:function(ie,Re){return Ar(this,Dt(ie),Re,!0)},getTokenTypeAt:function(ie){ie=ot(this.doc,ie);var Re=ht(this,ne(this.doc,ie.line)),pt=0,Nt=(Re.length-1)/2,zt=ie.ch,Yt;if(zt==0)Yt=Re[2];else for(;;){var Cr=pt+Nt>>1;if((Cr?Re[Cr*2-1]:0)>=zt)Nt=Cr;else if(Re[Cr*2+1]<zt)pt=Cr+1;else{Yt=Re[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(ie){var Re=this.doc.mode;return Re.innerMode?O.innerMode(Re,this.getTokenAt(ie).state).mode:Re},getHelper:function(ie,Re){return this.getHelpers(ie,Re)[0]},getHelpers:function(ie,Re){var pt=[];if(!J.hasOwnProperty(Re))return pt;var Nt=J[Re],zt=this.getModeAt(ie);if(typeof zt[Re]=="string")Nt[zt[Re]]&&pt.push(Nt[zt[Re]]);else if(zt[Re])for(var Yt=0;Yt<zt[Re].length;Yt++){var Cr=Nt[zt[Re][Yt]];Cr&&pt.push(Cr)}else zt.helperType&&Nt[zt.helperType]?pt.push(Nt[zt.helperType]):Nt[zt.name]&&pt.push(Nt[zt.name]);for(var Ur=0;Ur<Nt._global.length;Ur++){var en=Nt._global[Ur];en.pred(zt,this)&&z(pt,en.val)==-1&&pt.push(en.val)}return pt},getStateAfter:function(ie,Re){var pt=this.doc;return ie=er(pt,ie==null?pt.first+pt.size-1:ie),Ht(this,ie+1,Re).state},cursorCoords:function(ie,Re){var pt,Nt=this.doc.sel.primary();return ie==null?pt=Nt.head:typeof ie=="object"?pt=ot(this.doc,ie):pt=ie?Nt.from():Nt.to(),Mi(this,pt,Re||"page")},charCoords:function(ie,Re){return Ui(this,ot(this.doc,ie),Re||"page")},coordsChar:function(ie,Re){return ie=fa(this,ie,Re||"page"),qi(this,ie.left,ie.top)},lineAtHeight:function(ie,Re){return ie=fa(this,{top:ie,left:0},Re||"page").top,vt(this.doc,ie+this.display.viewOffset)},heightAtLine:function(ie,Re,pt){var Nt=!1,zt;if(typeof ie=="number"){var Yt=this.doc.first+this.doc.size-1;ie<this.doc.first?ie=this.doc.first:ie>Yt&&(ie=Yt,Nt=!0),zt=ne(this.doc,ie)}else zt=ie;return Ri(this,zt,{top:0,left:0},Re||"page",pt||Nt).top+(Nt?this.doc.height-Ln(zt):0)},defaultTextHeight:function(){return Ai(this.display)},defaultCharWidth:function(){return Oi(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(ie,Re,pt,Nt,zt){var Yt=this.display;ie=Mi(this,ot(this.doc,ie));var Cr=ie.bottom,Ur=ie.left;if(Re.style.position="absolute",Re.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(Re),Yt.sizer.appendChild(Re),Nt=="over")Cr=ie.top;else if(Nt=="above"||Nt=="near"){var en=Math.max(Yt.wrapper.clientHeight,this.doc.height),nn=Math.max(Yt.sizer.clientWidth,Yt.lineSpace.clientWidth);(Nt=="above"||ie.bottom+Re.offsetHeight>en)&&ie.top>Re.offsetHeight?Cr=ie.top-Re.offsetHeight:ie.bottom+Re.offsetHeight<=en&&(Cr=ie.bottom),Ur+Re.offsetWidth>nn&&(Ur=nn-Re.offsetWidth)}Re.style.top=Cr+"px",Re.style.left=Re.style.right="",zt=="right"?(Ur=Yt.sizer.clientWidth-Re.offsetWidth,Re.style.right="0px"):(zt=="left"?Ur=0:zt=="middle"&&(Ur=(Yt.sizer.clientWidth-Re.offsetWidth)/2),Re.style.left=Ur+"px"),pt&&Ca(this,{left:Ur,top:Cr,right:Ur+Re.offsetWidth,bottom:Cr+Re.offsetHeight})},triggerOnKeyDown:Ga(Ws),triggerOnKeyPress:Ga(Us),triggerOnKeyUp:Ps,triggerOnMouseDown:Ga(Ll),execCommand:function(ie){if(zs.hasOwnProperty(ie))return zs[ie].call(null,this)},triggerElectric:Ga(function(ee){yr(this,ee)}),findPosH:function(ie,Re,pt,Nt){var zt=1;Re<0&&(zt=-1,Re=-Re);for(var Yt=ot(this.doc,ie),Cr=0;Cr<Re&&!(Yt=Gr(this.doc,Yt,zt,pt,Nt),Yt.hitSide);++Cr);return Yt},moveH:Ga(function(ee,ie){var Re=this;this.extendSelectionsBy(function(pt){return Re.display.shift||Re.doc.extend||pt.empty()?Gr(Re.doc,pt.head,ee,ie,Re.options.rtlMoveVisually):ee<0?pt.from():pt.to()},we)}),deleteH:Ga(function(ee,ie){var Re=this.doc.sel,pt=this.doc;Re.somethingSelected()?pt.replaceSelection("",null,"+delete"):Qs(this,function(Nt){var zt=Gr(pt,Nt.head,ee,ie,!1);return ee<0?{from:zt,to:Nt.head}:{from:Nt.head,to:zt}})}),findPosV:function(ie,Re,pt,Nt){var zt=1,Yt=Nt;Re<0&&(zt=-1,Re=-Re);for(var Cr=ot(this.doc,ie),Ur=0;Ur<Re;++Ur){var en=Mi(this,Cr,"div");if(Yt==null?Yt=en.left:en.left=Yt,Cr=dn(this,en,zt,pt),Cr.hitSide)break}return Cr},moveV:Ga(function(ee,ie){var Re=this,pt=this.doc,Nt=[],zt=!this.display.shift&&!pt.extend&&pt.sel.somethingSelected();if(pt.extendSelectionsBy(function(Cr){if(zt)return ee<0?Cr.from():Cr.to();var Ur=Mi(Re,Cr.head,"div");Cr.goalColumn!=null&&(Ur.left=Cr.goalColumn),Nt.push(Ur.left);var en=dn(Re,Ur,ee,ie);return ie=="page"&&Cr==pt.sel.primary()&&Lo(Re,Ui(Re,en,"div").top-Ur.top),en},we),Nt.length)for(var Yt=0;Yt<pt.sel.ranges.length;Yt++)pt.sel.ranges[Yt].goalColumn=Nt[Yt]}),findWordAt:function(ie){var Re=this.doc,pt=ne(Re,ie.line).text,Nt=ie.ch,zt=ie.ch;if(pt){var Yt=this.getHelper(ie,"wordChars");(ie.sticky=="before"||zt==pt.length)&&Nt?--Nt:++zt;for(var Cr=pt.charAt(Nt),Ur=V(Cr,Yt)?function(en){return V(en,Yt)}:/\s/.test(Cr)?function(en){return/\s/.test(en)}:function(en){return!/\s/.test(en)&&!V(en)};Nt>0&&Ur(pt.charAt(Nt-1));)--Nt;for(;zt<pt.length&&Ur(pt.charAt(zt));)++zt}return new le(Dt(ie.line,Nt),Dt(ie.line,zt))},toggleOverwrite:function(ie){if(ie!=null&&ie==this.state.overwrite)return;(this.state.overwrite=!this.state.overwrite)?K(this.display.cursorDiv,"CodeMirror-overwrite"):x(this.display.cursorDiv,"CodeMirror-overwrite"),wt(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==P()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Ga(function(ee,ie){Fi(this,ee,ie)}),getScrollInfo:function(){var ie=this.display.scroller;return{left:ie.scrollLeft,top:ie.scrollTop,height:ie.scrollHeight-Mr(this)-this.display.barHeight,width:ie.scrollWidth-Mr(this)-this.display.barWidth,clientHeight:rn(this),clientWidth:Dr(this)}},scrollIntoView:Ga(function(ee,ie){ee==null?(ee={from:this.doc.sel.primary().head,to:null},ie==null&&(ie=this.options.cursorScrollMargin)):typeof ee=="number"?ee={from:Dt(ee,0),to:null}:ee.from==null&&(ee={from:ee,to:null}),ee.to||(ee.to=ee.from),ee.margin=ie||0,ee.from.line!=null?Ja(this,ee):pi(this,ee.from,ee.to,ee.margin)}),setSize:Ga(function(ee,ie){var Re=this,pt=function(Yt){return typeof Yt=="number"||/^\d+$/.test(String(Yt))?Yt+"px":Yt};ee!=null&&(this.display.wrapper.style.width=pt(ee)),ie!=null&&(this.display.wrapper.style.height=pt(ie)),this.options.lineWrapping&&Di(this);var Nt=this.display.viewFrom;this.doc.iter(Nt,this.display.viewTo,function(zt){if(zt.widgets){for(var Yt=0;Yt<zt.widgets.length;Yt++)if(zt.widgets[Yt].noHScroll){Ba(Re,Nt,"widget");break}}++Nt}),this.curOp.forceUpdate=!0,wt(this,"refresh",this)}),operation:function(ie){return bo(this,ie)},startOperation:function(){return Zi(this)},endOperation:function(){return xo(this)},refresh:Ga(function(){var ee=this.display.cachedTextHeight;gi(this),this.curOp.forceUpdate=!0,yi(this),Fi(this,this.doc.scrollLeft,this.doc.scrollTop),Po(this.display),(ee==null||Math.abs(ee-Ai(this.display))>.5||this.options.lineWrapping)&&Aa(this),wt(this,"refresh",this)}),swapDoc:Ga(function(ee){var ie=this.doc;return ie.cm=null,this.state.selectingText&&this.state.selectingText(),Qn(this,ee),yi(this),this.display.input.reset(),Fi(this,ee.scrollLeft,ee.scrollTop),this.curOp.forceScroll=!0,Tr(this,"swapDoc",this,ie),ie}),phrase:function(ie){var Re=this.options.phrases;return Re&&Object.prototype.hasOwnProperty.call(Re,ie)?Re[ie]:ie},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}},st(O),O.registerHelper=function(ee,ie,Re){J.hasOwnProperty(ee)||(J[ee]=O[ee]={_global:[]}),J[ee][ie]=Re},O.registerGlobalHelper=function(ee,ie,Re,pt){O.registerHelper(ee,ie,pt),J[ee]._global.push({pred:Re,val:pt})}}function Gr(O,M,J,ee,ie){var Re=M,pt=J,Nt=ne(O,M.line),zt=ie&&O.direction=="rtl"?-J:J;function Yt(){var oi=M.line+zt;return oi<O.first||oi>=O.first+O.size?!1:(M=new Dt(oi,M.ch,M.sticky),Nt=ne(O,oi))}function Cr(oi){var li;if(ee=="codepoint"){var qe=Nt.text.charCodeAt(M.ch+(ee>0?0:-1));isNaN(qe)?li=null:li=new Dt(M.line,Math.max(0,Math.min(Nt.text.length,M.ch+J*(qe>=55296&&qe<56320?2:1))),-J)}else ie?li=El(O.cm,Nt,M,J):li=il(Nt,M,J);if(li==null)if(!oi&&Yt())M=fl(ie,O.cm,Nt,M.line,zt);else return!1;else M=li;return!0}if(ee=="char"||ee=="codepoint")Cr();else if(ee=="column")Cr(!0);else if(ee=="word"||ee=="group")for(var Ur=null,en=ee=="group",nn=O.cm&&O.cm.getHelper(M,"wordChars"),xn=!0;!(J<0&&!Cr(!xn));xn=!1){var Pn=Nt.text.charAt(M.ch)||`
`,Zn=V(Pn,nn)?"w":en&&Pn==`
`?"n":!en||/\s/.test(Pn)?null:"p";if(en&&!xn&&!Zn&&(Zn="s"),Ur&&Ur!=Zn){J<0&&(J=1,Cr(),M.sticky="after");break}if(Zn&&(Ur=Zn),J>0&&!Cr(!xn))break}var Jn=Ms(O,M,Re,pt,!0);return Gt(Re,Jn)&&(Jn.hitSide=!0),Jn}function dn(O,M,J,ee){var ie=O.doc,Re=M.left,pt;if(ee=="page"){var Nt=Math.min(O.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),zt=Math.max(Nt-.5*Ai(O.display),3);pt=(J>0?M.bottom:M.top)+J*zt}else ee=="line"&&(pt=J>0?M.bottom+3:M.top-3);for(var Yt;!(Yt=qi(O,Re,pt),!Yt.outside);){if(J<0?pt<=0:pt>=ie.height){Yt.hitSide=!0;break}pt+=J*5}return Yt}var pn=function(M){this.cm=M,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new X,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};pn.prototype.init=function(O){var M=this,J=this,ee=J.cm,ie=J.div=O.lineDiv;Xr(ie,ee.options.spellcheck,ee.options.autocorrect,ee.options.autocapitalize);function Re(Nt){for(var zt=Nt.target;zt;zt=zt.parentNode){if(zt==ie)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(zt.className))break}return!1}Ue(ie,"paste",function(Nt){if(!Re(Nt)||Ye(ee,Nt)||lr(Nt,ee))return;a<=11&&setTimeout(Za(ee,function(){return M.updateFromDOM()}),20)}),Ue(ie,"compositionstart",function(Nt){M.composing={data:Nt.data,done:!1}}),Ue(ie,"compositionupdate",function(Nt){M.composing||(M.composing={data:Nt.data,done:!1})}),Ue(ie,"compositionend",function(Nt){M.composing&&(Nt.data!=M.composing.data&&M.readFromDOMSoon(),M.composing.done=!0)}),Ue(ie,"touchstart",function(){return J.forceCompositionEnd()}),Ue(ie,"input",function(){M.composing||M.readFromDOMSoon()});function pt(Nt){if(!Re(Nt)||Ye(ee,Nt))return;if(ee.somethingSelected())qt({lineWise:!1,text:ee.getSelections()}),Nt.type=="cut"&&ee.replaceSelection("",null,"cut");else if(ee.options.lineWiseCopyCut){var zt=Vr(ee);qt({lineWise:!0,text:zt.text}),Nt.type=="cut"&&ee.operation(function(){ee.setSelections(zt.ranges,0,ge),ee.replaceSelection("",null,"cut")})}else return;if(Nt.clipboardData){Nt.clipboardData.clearData();var Yt=kt.text.join(`
`);if(Nt.clipboardData.setData("Text",Yt),Nt.clipboardData.getData("Text")==Yt){Nt.preventDefault();return}}var Cr=Pr(),Ur=Cr.firstChild;ee.display.lineSpace.insertBefore(Cr,ee.display.lineSpace.firstChild),Ur.value=kt.text.join(`
`);var en=document.activeElement;U(Ur),setTimeout(function(){ee.display.lineSpace.removeChild(Cr),en.focus(),en==ie&&J.showPrimarySelection()},50)}Ue(ie,"copy",pt),Ue(ie,"cut",pt)},pn.prototype.screenReaderLabelChanged=function(O){O?this.div.setAttribute("aria-label",O):this.div.removeAttribute("aria-label")},pn.prototype.prepareSelection=function(){var O=zi(this.cm,!1);return O.focus=document.activeElement==this.div,O},pn.prototype.showSelection=function(O,M){if(!O||!this.cm.display.view.length)return;(O.focus||M)&&this.showPrimarySelection(),this.showMultipleSelections(O)},pn.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},pn.prototype.showPrimarySelection=function(){var O=this.getSelection(),M=this.cm,J=M.doc.sel.primary(),ee=J.from(),ie=J.to();if(M.display.viewTo==M.display.viewFrom||ee.line>=M.display.viewTo||ie.line<M.display.viewFrom){O.removeAllRanges();return}var Re=Si(M,O.anchorNode,O.anchorOffset),pt=Si(M,O.focusNode,O.focusOffset);if(Re&&!Re.bad&&pt&&!pt.bad&&Kt(dr(Re,pt),ee)==0&&Kt(Mt(Re,pt),ie)==0)return;var Nt=M.display.view,zt=ee.line>=M.display.viewFrom&&ei(M,ee)||{node:Nt[0].measure.map[2],offset:0},Yt=ie.line<M.display.viewTo&&ei(M,ie);if(!Yt){var Cr=Nt[Nt.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(!zt||!Yt){O.removeAllRanges();return}var en=O.rangeCount&&O.getRangeAt(0),nn;try{nn=k(zt.node,zt.offset,Yt.offset,Yt.node)}catch(xn){}nn&&(!y&&M.state.focused?(O.collapse(zt.node,zt.offset),nn.collapsed||(O.removeAllRanges(),O.addRange(nn))):(O.removeAllRanges(),O.addRange(nn)),en&&O.anchorNode==null?O.addRange(en):y&&this.startGracePeriod()),this.rememberSelection()},pn.prototype.startGracePeriod=function(){var O=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){O.gracePeriod=!1,O.selectionChanged()&&O.cm.operation(function(){return O.cm.curOp.selectionChanged=!0})},20)},pn.prototype.showMultipleSelections=function(O){I(this.cm.display.cursorDiv,O.cursors),I(this.cm.display.selectionDiv,O.selection)},pn.prototype.rememberSelection=function(){var O=this.getSelection();this.lastAnchorNode=O.anchorNode,this.lastAnchorOffset=O.anchorOffset,this.lastFocusNode=O.focusNode,this.lastFocusOffset=O.focusOffset},pn.prototype.selectionInEditor=function(){var O=this.getSelection();if(!O.rangeCount)return!1;var M=O.getRangeAt(0).commonAncestorContainer;return B(this.div,M)},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 O=this;this.selectionInEditor()?this.pollSelection():bo(this.cm,function(){return O.cm.curOp.selectionChanged=!0});function M(){O.cm.state.focused&&(O.pollSelection(),O.polling.set(O.cm.options.pollInterval,M))}this.polling.set(this.cm.options.pollInterval,M)},pn.prototype.selectionChanged=function(){var O=this.getSelection();return O.anchorNode!=this.lastAnchorNode||O.anchorOffset!=this.lastAnchorOffset||O.focusNode!=this.lastFocusNode||O.focusOffset!=this.lastFocusOffset},pn.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;var O=this.getSelection(),M=this.cm;if(u&&o&&this.cm.display.gutterSpecs.length&&ci(O.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();var J=Si(M,O.anchorNode,O.anchorOffset),ee=Si(M,O.focusNode,O.focusOffset);J&&ee&&bo(M,function(){Eo(M.doc,Ie(J,ee),ge),(J.bad||ee.bad)&&(M.curOp.selectionChanged=!0)})},pn.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var O=this.cm,M=O.display,J=O.doc.sel.primary(),ee=J.from(),ie=J.to();if(ee.ch==0&&ee.line>O.firstLine()&&(ee=Dt(ee.line-1,ne(O.doc,ee.line-1).length)),ie.ch==ne(O.doc,ie.line).text.length&&ie.line<O.lastLine()&&(ie=Dt(ie.line+1,0)),ee.line<M.viewFrom||ie.line>M.viewTo-1)return!1;var Re,pt,Nt;ee.line==M.viewFrom||(Re=la(O,ee.line))==0?(pt=$e(M.view[0].line),Nt=M.view[0].node):(pt=$e(M.view[Re].line),Nt=M.view[Re-1].node.nextSibling);var zt=la(O,ie.line),Yt,Cr;if(zt==M.view.length-1?(Yt=M.viewTo-1,Cr=M.lineDiv.lastChild):(Yt=$e(M.view[zt+1].line)-1,Cr=M.view[zt+1].node.previousSibling),!Nt)return!1;for(var Ur=O.doc.splitLines(Ji(O,Nt,Cr,pt,Yt)),en=Se(O.doc,Dt(pt,0),Dt(Yt,ne(O.doc,Yt).text.length));Ur.length>1&&en.length>1;)if(Ge(Ur)==Ge(en))Ur.pop(),en.pop(),Yt--;else if(Ur[0]==en[0])Ur.shift(),en.shift(),pt++;else break;for(var nn=0,xn=0,Pn=Ur[0],Zn=en[0],Jn=Math.min(Pn.length,Zn.length);nn<Jn&&Pn.charCodeAt(nn)==Zn.charCodeAt(nn);)++nn;for(var oi=Ge(Ur),li=Ge(en),qe=Math.min(oi.length-(Ur.length==1?nn:0),li.length-(en.length==1?nn:0));xn<qe&&oi.charCodeAt(oi.length-xn-1)==li.charCodeAt(li.length-xn-1);)++xn;if(Ur.length==1&&en.length==1&&pt==ee.line)for(;nn&&nn>ee.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 te=Dt(pt,nn),ke=Dt(Yt,en.length?Ge(en).length-xn:0);if(Ur.length>1||Ur[0]||Kt(te,ke))return qo(O.doc,Ur,te,ke,"+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 O=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(O.readDOMTimeout=null,O.composing)if(O.composing.done)O.composing=null;else return;O.updateFromDOM()},80)},pn.prototype.updateFromDOM=function(){var O=this;(this.cm.isReadOnly()||!this.pollContent())&&bo(this.cm,function(){return gi(O.cm)})},pn.prototype.setUneditable=function(O){O.contentEditable="false"},pn.prototype.onKeyPress=function(O){if(O.charCode==0||this.composing)return;O.preventDefault(),this.cm.isReadOnly()||Za(this.cm,ar)(this.cm,String.fromCharCode(O.charCode==null?O.keyCode:O.charCode),0)},pn.prototype.readOnlyChanged=function(O){this.div.contentEditable=String(O!="nocursor")},pn.prototype.onContextMenu=function(){},pn.prototype.resetPosition=function(){},pn.prototype.needsContentAttribute=!0;function ei(O,M){var J=bn(O,M.line);if(!J||J.hidden)return null;var ee=ne(O.doc,M.line),ie=wn(J,ee,M.line),Re=mt(ee,O.doc.direction),pt="left";if(Re){var Nt=Le(Re,M.ch);pt=Nt%2?"right":"left"}var zt=En(ie.map,M.ch,pt);return zt.offset=zt.collapse=="right"?zt.end:zt.start,zt}function ci(O){for(var M=O;M;M=M.parentNode)if(/CodeMirror-gutter-wrapper/.test(M.className))return!0;return!1}function ii(O,M){return M&&(O.bad=!0),O}function Ji(O,M,J,ee,ie){var Re="",pt=!1,Nt=O.doc.lineSeparator(),zt=!1;function Yt(nn){return function(xn){return xn.id==nn}}function Cr(){pt&&(Re+=Nt,zt&&(Re+=Nt),pt=zt=!1)}function Ur(nn){nn&&(Cr(),Re+=nn)}function en(nn){if(nn.nodeType==1){var xn=nn.getAttribute("cm-text");if(xn){Ur(xn);return}var Pn=nn.getAttribute("cm-marker"),Zn;if(Pn){var Jn=O.findMarks(Dt(ee,0),Dt(ie+1,0),Yt(+Pn));Jn.length&&(Zn=Jn[0].find(0))&&Ur(Se(O.doc,Zn.from,Zn.to).join(Nt));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)&&(zt=!0),oi&&(pt=!0)}else nn.nodeType==3&&Ur(nn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;!(en(M),M==J);)M=M.nextSibling,zt=!1;return Re}function Si(O,M,J){var ee;if(M==O.display.lineDiv){if(ee=O.display.lineDiv.childNodes[J],!ee)return ii(O.clipPos(Dt(O.display.viewTo-1)),!0);M=null,J=0}else for(ee=M;;ee=ee.parentNode){if(!ee||ee==O.display.lineDiv)return null;if(ee.parentNode&&ee.parentNode==O.display.lineDiv)break}for(var ie=0;ie<O.display.view.length;ie++){var Re=O.display.view[ie];if(Re.node==ee)return Va(Re,M,J)}}function Va(O,M,J){var ee=O.text.firstChild,ie=!1;if(!M||!B(ee,M))return ii(Dt($e(O.line),0),!0);if(M==ee&&(ie=!0,M=ee.childNodes[J],J=0,!M)){var Re=O.rest?Ge(O.rest):O.line;return ii(Dt($e(Re),Re.text.length),ie)}var pt=M.nodeType==3?M:null,Nt=M;for(!pt&&M.childNodes.length==1&&M.firstChild.nodeType==3&&(pt=M.firstChild,J&&(J=pt.nodeValue.length));Nt.parentNode!=ee;)Nt=Nt.parentNode;var zt=O.measure,Yt=zt.maps;function Cr(Zn,Jn,oi){for(var li=-1;li<(Yt?Yt.length:0);li++)for(var qe=li<0?zt.map:Yt[li],te=0;te<qe.length;te+=3){var ke=qe[te+2];if(ke==Zn||ke==Jn){var Ze=$e(li<0?O.line:O.rest[li]),Lt=qe[te]+oi;return(oi<0||ke!=Zn)&&(Lt=qe[te+(oi?1:0)]),Dt(Ze,Lt)}}}var Ur=Cr(pt,Nt,J);if(Ur)return ii(Ur,ie);for(var en=Nt.nextSibling,nn=pt?pt.nodeValue.length-J:0;en;en=en.nextSibling){if(Ur=Cr(en,en.firstChild,0),Ur)return ii(Dt(Ur.line,Ur.ch-nn),ie);nn+=en.textContent.length}for(var xn=Nt.previousSibling,Pn=J;xn;xn=xn.previousSibling){if(Ur=Cr(xn,xn.firstChild,-1),Ur)return ii(Dt(Ur.line,Ur.ch+Pn),ie);Pn+=xn.textContent.length}}var Ei=function(M){this.cm=M,this.prevInput="",this.pollingFast=!1,this.polling=new X,this.hasSelection=!1,this.composing=null};Ei.prototype.init=function(O){var M=this,J=this,ee=this.cm;this.createField(O);var ie=this.textarea;O.wrapper.insertBefore(this.wrapper,O.wrapper.firstChild),s&&(ie.style.width="0px"),Ue(ie,"input",function(){c&&a>=9&&M.hasSelection&&(M.hasSelection=null),J.poll()}),Ue(ie,"paste",function(pt){if(Ye(ee,pt)||lr(pt,ee))return;ee.state.pasteIncoming=+new Date,J.fastPoll()});function Re(pt){if(Ye(ee,pt))return;if(ee.somethingSelected())qt({lineWise:!1,text:ee.getSelections()});else if(ee.options.lineWiseCopyCut){var Nt=Vr(ee);qt({lineWise:!0,text:Nt.text}),pt.type=="cut"?ee.setSelections(Nt.ranges,null,ge):(J.prevInput="",ie.value=Nt.text.join(`
`),U(ie))}else return;pt.type=="cut"&&(ee.state.cutIncoming=+new Date)}Ue(ie,"cut",Re),Ue(ie,"copy",Re),Ue(O.scroller,"paste",function(pt){if(St(O,pt)||Ye(ee,pt))return;if(!ie.dispatchEvent){ee.state.pasteIncoming=+new Date,J.focus();return}var Nt=new Event("paste");Nt.clipboardData=pt.clipboardData,ie.dispatchEvent(Nt)}),Ue(O.lineSpace,"selectstart",function(pt){St(O,pt)||Ve(pt)}),Ue(ie,"compositionstart",function(){var pt=ee.getCursor("from");J.composing&&J.composing.range.clear(),J.composing={start:pt,range:ee.markText(pt,ee.getCursor("to"),{className:"CodeMirror-composing"})}}),Ue(ie,"compositionend",function(){J.composing&&(J.poll(),J.composing.range.clear(),J.composing=null)})},Ei.prototype.createField=function(O){this.wrapper=Pr(),this.textarea=this.wrapper.firstChild},Ei.prototype.screenReaderLabelChanged=function(O){O?this.textarea.setAttribute("aria-label",O):this.textarea.removeAttribute("aria-label")},Ei.prototype.prepareSelection=function(){var O=this.cm,M=O.display,J=O.doc,ee=zi(O);if(O.options.moveInputWithCursor){var ie=Mi(O,J.sel.primary().head,"div"),Re=M.wrapper.getBoundingClientRect(),pt=M.lineDiv.getBoundingClientRect();ee.teTop=Math.max(0,Math.min(M.wrapper.clientHeight-10,ie.top+pt.top-Re.top)),ee.teLeft=Math.max(0,Math.min(M.wrapper.clientWidth-10,ie.left+pt.left-Re.left))}return ee},Ei.prototype.showSelection=function(O){var M=this.cm,J=M.display;I(J.cursorDiv,O.cursors),I(J.selectionDiv,O.selection),O.teTop!=null&&(this.wrapper.style.top=O.teTop+"px",this.wrapper.style.left=O.teLeft+"px")},Ei.prototype.reset=function(O){if(this.contextMenuPending||this.composing)return;var M=this.cm;if(M.somethingSelected()){this.prevInput="";var J=M.getSelection();this.textarea.value=J,M.state.focused&&U(this.textarea),c&&a>=9&&(this.hasSelection=J)}else O||(this.prevInput=this.textarea.value="",c&&a>=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||P()!=this.textarea))try{this.textarea.focus()}catch(O){}},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 O=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){O.poll(),O.cm.state.focused&&O.slowPoll()})},Ei.prototype.fastPoll=function(){var O=!1,M=this;M.pollingFast=!0;function J(){var ee=M.poll();!ee&&!O?(O=!0,M.polling.set(60,J)):(M.pollingFast=!1,M.slowPoll())}M.polling.set(20,J)},Ei.prototype.poll=function(){var O=this,M=this.cm,J=this.textarea,ee=this.prevInput;if(this.contextMenuPending||!M.state.focused||Pt(J)&&!ee&&!this.composing||M.isReadOnly()||M.options.disableInput||M.state.keySeq)return!1;var ie=J.value;if(ie==ee&&!M.somethingSelected())return!1;if(c&&a>=9&&this.hasSelection===ie||w&&/[\uf700-\uf7ff]/.test(ie))return M.display.input.reset(),!1;if(M.doc.sel==M.display.selForContextMenu){var Re=ie.charCodeAt(0);if(Re==8203&&!ee&&(ee="\u200B"),Re==8666)return this.reset(),this.cm.execCommand("undo")}for(var pt=0,Nt=Math.min(ee.length,ie.length);pt<Nt&&ee.charCodeAt(pt)==ie.charCodeAt(pt);)++pt;return bo(M,function(){ar(M,ie.slice(pt),ee.length-pt,null,O.composing?"*compose":null),ie.length>1e3||ie.indexOf(`
`)>-1?J.value=O.prevInput="":O.prevInput=ie,O.composing&&(O.composing.range.clear(),O.composing.range=M.markText(O.composing.start,M.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ei.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ei.prototype.onKeyPress=function(){c&&a>=9&&(this.hasSelection=null),this.fastPoll()},Ei.prototype.onContextMenu=function(O){var M=this,J=M.cm,ee=J.display,ie=M.textarea;M.contextMenuPending&&M.contextMenuPending();var Re=ca(J,O),pt=ee.scroller.scrollTop;if(!Re||d)return;var Nt=J.options.resetSelectionOnContextMenu;Nt&&J.doc.sel.contains(Re)==-1&&Za(J,Eo)(J.doc,Ie(Re),ge);var zt=ie.style.cssText,Yt=M.wrapper.style.cssText,Cr=M.wrapper.offsetParent.getBoundingClientRect();M.wrapper.style.cssText="position: static",ie.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(O.clientY-Cr.top-5)+"px; left: "+(O.clientX-Cr.left-5)+`px;
z-index: 1000; background: `+(c?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Ur;i&&(Ur=window.scrollY),ee.input.focus(),i&&window.scrollTo(null,Ur),ee.input.reset(),J.somethingSelected()||(ie.value=M.prevInput=" "),M.contextMenuPending=nn,ee.selForContextMenu=J.doc.sel,clearTimeout(ee.detectingSelectAll);function en(){if(ie.selectionStart!=null){var Pn=J.somethingSelected(),Zn="\u200B"+(Pn?ie.value:"");ie.value="\u21DA",ie.value=Zn,M.prevInput=Pn?"":"\u200B",ie.selectionStart=1,ie.selectionEnd=Zn.length,ee.selForContextMenu=J.doc.sel}}function nn(){if(M.contextMenuPending!=nn)return;if(M.contextMenuPending=!1,M.wrapper.style.cssText=Yt,ie.style.cssText=zt,c&&a<9&&ee.scrollbars.setScrollTop(ee.scroller.scrollTop=pt),ie.selectionStart!=null){(!c||c&&a<9)&&en();var Pn=0,Zn=function Jn(){ee.selForContextMenu==J.doc.sel&&ie.selectionStart==0&&ie.selectionEnd>0&&M.prevInput=="\u200B"?Za(J,Fs)(J):Pn++<10?ee.detectingSelectAll=setTimeout(Jn,500):(ee.selForContextMenu=null,ee.input.reset())};ee.detectingSelectAll=setTimeout(Zn,200)}}if(c&&a>=9&&en(),T){it(O);var xn=function Pn(){Ke(window,"mouseup",Pn),setTimeout(nn,20)};Ue(window,"mouseup",xn)}else setTimeout(nn,50)},Ei.prototype.readOnlyChanged=function(O){O||this.reset(),this.textarea.disabled=O=="nocursor",this.textarea.readOnly=!!O},Ei.prototype.setUneditable=function(){},Ei.prototype.needsContentAttribute=!1;function co(O,M){if(M=M?H(M):{},M.value=O.value,!M.tabindex&&O.tabIndex&&(M.tabindex=O.tabIndex),!M.placeholder&&O.placeholder&&(M.placeholder=O.placeholder),M.autofocus==null){var J=P();M.autofocus=J==O||O.getAttribute("autofocus")!=null&&J==document.body}function ee(){O.value=Nt.getValue()}var ie;if(O.form&&(Ue(O.form,"submit",ee),!M.leaveSubmitMethodAlone)){var Re=O.form;ie=Re.submit;try{var pt=Re.submit=function(){ee(),Re.submit=ie,Re.submit(),Re.submit=pt}}catch(zt){}}M.finishInit=function(zt){zt.save=ee,zt.getTextArea=function(){return O},zt.toTextArea=function(){zt.toTextArea=isNaN,ee(),O.parentNode.removeChild(zt.getWrapperElement()),O.style.display="",O.form&&(Ke(O.form,"submit",ee),!M.leaveSubmitMethodAlone&&typeof O.form.submit=="function"&&(O.form.submit=ie))}},O.style.display="none";var Nt=at(function(zt){return O.parentNode.insertBefore(zt,O.nextSibling)},M);return Nt}function Ko(O){O.off=Ke,O.on=Ue,O.wheelEventPixels=Vs,O.Doc=es,O.splitLines=or,O.countColumn=W,O.findColumn=Ee,O.isWordChar=Y,O.Pass=Z,O.signal=wt,O.Line=ni,O.changeEnd=We,O.scrollbarModel=ro,O.Pos=Dt,O.cmpPos=Kt,O.modes=ue,O.mimeModes=De,O.resolveMode=Xe,O.getMode=Be,O.modeExtensions=nt,O.extendMode=At,O.copyState=It,O.startState=he,O.innerMode=ae,O.commands=zs,O.keyMap=Ss,O.keyName=Vl,O.isModifierKey=Sl,O.lookupKey=Bs,O.normalizeKeyMap=nl,O.StringStream=q,O.SharedTextMarker=el,O.TextMarker=Os,O.LineWidget=ll,O.e_preventDefault=Ve,O.e_stopPropagation=oe,O.e_stop=it,O.addClass=K,O.contains=B,O.rmClass=x,O.keyNames=ks}uc(at),kr(at);var ao="iter insert remove copy getEditor constructor".split(" ");for(var Uo in es.prototype)es.prototype.hasOwnProperty(Uo)&&z(ao,Uo)<0&&(at.prototype[Uo]=function(O){return function(){return O.apply(this.doc,arguments)}}(es.prototype[Uo]));return st(es),at.inputStyles={textarea:Ei,contenteditable:pn},at.defineMode=function(O){!at.defaults.mode&&O!="null"&&(at.defaults.mode=O),He.apply(this,arguments)},at.defineMIME=ze,at.defineMode("null",function(){return{token:function(M){return M.skipToEnd()}}}),at.defineMIME("text/plain","null"),at.defineExtension=function(O,M){at.prototype[O]=M},at.defineDocExtension=function(O,M){es.prototype[O]=M},at.fromTextArea=co,Ko(at),at.version="5.58.2",at})},Vy0f:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("iYpf"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},W2nI:function(D,_,e){var g=e("IwbS"),f=e("ProS"),y=e("bYtY"),m=["itemStyle","opacity"],v=["emphasis","itemStyle","opacity"],h=["lineStyle","opacity"],c=["emphasis","lineStyle","opacity"];function a(l,t){return l.getVisual("opacity")||l.getModel().get(t)}function i(l,t,s){var u=l.getGraphicEl(),p=a(l,t);s!=null&&(p==null&&(p=1),p*=s),u.downplay&&u.downplay(),u.traverse(function(w){w.type!=="group"&&w.setStyle("opacity",p)})}function r(l,t){var s=a(l,t),u=l.getGraphicEl();u.traverse(function(p){p.type!=="group"&&p.setStyle("opacity",s)}),u.highlight&&u.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 u=this,p=l.getGraph(),w=this.group,b=l.layoutInfo,E=b.width,A=b.height,S=l.getData(),T=l.getData("edge"),L=l.get("orient");this._model=l,w.removeAll(),w.attr("position",[b.x,b.y]),p.eachEdge(function(x){var C=new o;C.dataIndex=x.dataIndex,C.seriesIndex=l.seriesIndex,C.dataType="edge";var I=x.getModel("lineStyle"),N=I.get("curveness"),F=x.node1.getLayout(),k=x.node1.getModel(),B=k.get("localX"),P=k.get("localY"),K=x.node2.getLayout(),R=x.node2.getModel(),U=R.get("localX"),j=R.get("localY"),H=x.getLayout(),W,X,z,G,Z,ge,Q,we;C.shape.extent=Math.max(1,H.dy),C.shape.orient=L,L==="vertical"?(W=(B!=null?B*E:F.x)+H.sy,X=(P!=null?P*A:F.y)+F.dy,z=(U!=null?U*E:K.x)+H.ty,G=j!=null?j*A:K.y,Z=W,ge=X*(1-N)+G*N,Q=z,we=X*N+G*(1-N)):(W=(B!=null?B*E:F.x)+F.dx,X=(P!=null?P*A:F.y)+H.sy,z=U!=null?U*E:K.x,G=(j!=null?j*A:K.y)+H.ty,Z=W*(1-N)+z*N,ge=X,Q=W*N+z*(1-N),we=G),C.setShape({x1:W,y1:X,x2:z,y2:G,cpx1:Z,cpy1:ge,cpx2:Q,cpy2:we}),C.setStyle(I.getItemStyle());switch(C.style.fill){case"source":C.style.fill=x.node1.getVisual("color");break;case"target":C.style.fill=x.node2.getVisual("color");break}g.setHoverStyle(C,x.getModel("emphasis.lineStyle").getItemStyle()),w.add(C),T.setItemGraphicEl(x.dataIndex,C)}),p.eachNode(function(x){var C=x.getLayout(),I=x.getModel(),N=I.get("localX"),F=I.get("localY"),k=I.getModel("label"),B=I.getModel("emphasis.label"),P=new g.Rect({shape:{x:N!=null?N*E:C.x,y:F!=null?F*A:C.y,width:C.dx,height:C.dy},style:I.getModel("itemStyle").getItemStyle()}),K=x.getModel("emphasis.itemStyle").getItemStyle();g.setLabelStyle(P.style,K,k,B,{labelFetcher:l,labelDataIndex:x.dataIndex,defaultText:x.id,isRectText:!0}),P.setStyle("fill",x.getVisual("color")),g.setHoverStyle(P,K),w.add(P),S.setItemGraphicEl(x.dataIndex,P),P.dataType="node"}),S.eachItemGraphicEl(function(x,C){var I=S.getItemModel(C);I.get("draggable")&&(x.drift=function(N,F){u._focusAdjacencyDisabled=!0,this.shape.x+=N,this.shape.y+=F,this.dirty(),s.dispatchAction({type:"dragNode",seriesId:l.id,dataIndex:S.getRawIndex(C),localX:this.shape.x/E,localY:this.shape.y/A})},x.ondragend=function(){u._focusAdjacencyDisabled=!1},x.draggable=!0,x.cursor="move"),x.highlight=function(){this.trigger("emphasis")},x.downplay=function(){this.trigger("normal")},x.focusNodeAdjHandler&&x.off("mouseover",x.focusNodeAdjHandler),x.unfocusNodeAdjHandler&&x.off("mouseout",x.unfocusNodeAdjHandler),I.get("focusNodeAdjacency")&&(x.on("mouseover",x.focusNodeAdjHandler=function(){u._focusAdjacencyDisabled||(u._clearTimer(),s.dispatchAction({type:"focusNodeAdjacency",seriesId:l.id,dataIndex:x.dataIndex}))}),x.on("mouseout",x.unfocusNodeAdjHandler=function(){u._focusAdjacencyDisabled||u._dispatchUnfocus(s)}))}),T.eachItemGraphicEl(function(x,C){var I=T.getItemModel(C);x.focusNodeAdjHandler&&x.off("mouseover",x.focusNodeAdjHandler),x.unfocusNodeAdjHandler&&x.off("mouseout",x.unfocusNodeAdjHandler),I.get("focusNodeAdjacency")&&(x.on("mouseover",x.focusNodeAdjHandler=function(){u._focusAdjacencyDisabled||(u._clearTimer(),s.dispatchAction({type:"focusNodeAdjacency",seriesId:l.id,edgeDataIndex:x.dataIndex}))}),x.on("mouseout",x.unfocusNodeAdjHandler=function(){u._focusAdjacencyDisabled||u._dispatchUnfocus(s)}))}),!this._data&&l.get("animation")&&w.setClipPath(n(w.getBoundingRect(),l,function(){w.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,u){var p=l.getData(),w=p.graph,b=u.dataIndex,E=p.getItemModel(b),A=u.edgeDataIndex;if(b==null&&A==null)return;var S=w.getNodeByIndex(b),T=w.getEdgeByIndex(A);if(w.eachNode(function(x){i(x,m,.1)}),w.eachEdge(function(x){i(x,h,.1)}),S){r(S,v);var L=E.get("focusNodeAdjacency");L==="outEdges"?y.each(S.outEdges,function(x){if(x.dataIndex<0)return;r(x,c),r(x.node2,v)}):L==="inEdges"?y.each(S.inEdges,function(x){if(x.dataIndex<0)return;r(x,c),r(x.node1,v)}):L==="allEdges"&&y.each(S.edges,function(x){if(x.dataIndex<0)return;r(x,c),x.node1!==S&&r(x.node1,v),x.node2!==S&&r(x.node2,v)})}T&&(r(T,c),r(T.node1,v),r(T.node2,v))},unfocusNodeAdjacency:function(l,t,s,u){var p=l.getGraph();p.eachNode(function(w){i(w,m)}),p.eachEdge(function(w){i(w,h)})}});function n(l,t,s){var u=new g.Rect({shape:{x:l.x-10,y:l.y-10,width:0,height:l.height+20}});return g.initProps(u,{shape:{width:l.width+20}},t,s),u}D.exports=d},W4dC:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=y.each,v=y.createHashMap,h=e("7DRL"),c=e("TIY9"),a=e("yS9w"),i=e("mFDi"),r={geoJSON:c,svg:a},o={load:function(t,s,u){var p=[],w=v(),b=v(),E,A=l(t);return m(A,function(S){var T=r[S.type].load(t,S,u);m(T.regions,function(x){var C=x.name;s&&s.hasOwnProperty(C)&&(x=x.cloneShallow(C=s[C])),p.push(x),w.set(C,x),b.set(C,x.center)});var L=T.boundingRect;L&&(E?E.union(L):E=L.clone())}),{regions:p,regionsMap:w,nameCoordMap:b,boundingRect:E||new i(0,0,0,0)}},makeGraphic:d("makeGraphic"),removeGraphic:d("removeGraphic")};function d(t){return function(s,u){var p=l(s),w=[];return m(p,function(b){var E=r[b.type][t];E&&w.push(E(s,b,u))}),w}}function n(t){}function l(t){var s=h.retrieveMap(t)||[];return s}D.exports=o},WGYa:function(D,_,e){var g=e("7yuC"),f=g.forceLayout,y=e("HF/U"),m=y.simpleLayout,v=e("lOQZ"),h=v.circularLayout,c=e("OELB"),a=c.linearMap,i=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(),u=s.data,p=s.edgeData,w=n.getModel("force"),b=w.get("initLayout");n.preservedPoints?u.each(function(k){var B=u.getId(k);u.setItemLayout(k,t[B]||[NaN,NaN])}):!b||b==="none"?m(n):b==="circular"&&h(n,"value");var E=u.getDataExtent("value"),A=p.getDataExtent("value"),S=w.get("repulsion"),T=w.get("edgeLength");r.isArray(S)||(S=[S,S]),r.isArray(T)||(T=[T,T]),T=[T[1],T[0]];var L=u.mapArray("value",function(k,B){var P=u.getItemLayout(B),K=a(k,E,S);return isNaN(K)&&(K=(S[0]+S[1])/2),{w:K,rep:K,fixed:u.getItemModel(B).get("fixed"),p:!P||isNaN(P[0])||isNaN(P[1])?null:P}}),x=p.mapArray("value",function(k,B){var P=s.getEdgeByIndex(B),K=a(k,A,T);isNaN(K)&&(K=(T[0]+T[1])/2);var R=P.getModel();return{n1:L[P.node1.dataIndex],n2:L[P.node2.dataIndex],d:K,curveness:R.get("lineStyle.curveness")||0,ignoreForceLayout:R.get("ignoreForceLayout")}}),l=n.coordinateSystem,C=l.getBoundingRect(),I=f(L,x,{rect:C,gravity:w.get("gravity"),friction:w.get("friction")}),N=I.step;I.step=function(k){for(var B=0,P=L.length;B<P;B++)L[B].fixed&&i.copy(L[B].p,s.getNodeByIndex(B).getLayout());N(function(K,R,U){for(var j=0,H=K.length;j<H;j++)K[j].fixed||s.getNodeByIndex(j).setLayout(K[j].p),t[u.getId(j)]=K[j].p;for(var j=0,H=R.length;j<H;j++){var W=R[j],X=s.getEdgeByIndex(j),z=W.n1.p,G=W.n2.p,Z=X.getLayout();Z=Z?Z.slice():[],Z[0]=Z[0]||[],Z[1]=Z[1]||[],i.copy(Z[0],z),i.copy(Z[1],G),+W.curveness&&(Z[2]=[(z[0]+G[0])/2-(z[1]-G[1])*W.curveness,(z[1]+G[1])/2-(G[0]-z[0])*W.curveness]),X.setLayout(Z)}k&&k(U)})},n.forceLayout=I,n.preservedPoints=t,I.step()}else n.forceLayout=null})}D.exports=o},WKfj:function(D,_,e){"use strict";e.d(_,"d",function(){return f}),e.d(_,"e",function(){return y}),e.d(_,"f",function(){return m}),e.d(_,"c",function(){return v}),e.d(_,"b",function(){return c}),e.d(_,"a",function(){return i});var g=e("KQm4");function f(r){return Array.isArray(r)?r:r!==void 0?[r]:[]}function y(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,u=t.value;return u!==void 0?u:s}):l}function m(r,o){var d=o.optionLabelProp,n=o.labelInValue,l=o.prevValue,t=o.options,s=o.getLabeledValue,u=r;return n&&(u=u.map(function(p){return s(p,{options:t,prevValue:l,labelInValue:n,optionLabelProp:d})})),u}function v(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,c=h,a=0;function i(){var r;return c?(r=a,a+=1):r="TEST_OR_SSR",r}},"WN+l":function(D,_,e){var g=e("bYtY"),f=e("IwbS");function y(v,h,c,a){var i=c.axis;if(i.scale.isBlank())return;var r=c.getModel("splitArea"),o=r.getModel("areaStyle"),d=o.get("color"),n=a.coordinateSystem.getRect(),l=i.getTicksCoords({tickModel:r,clamp:!0});if(!l.length)return;var t=d.length,s=v.__splitAreaColors,u=g.createHashMap(),p=0;if(s)for(var w=0;w<l.length;w++){var b=s.get(l[w].tickValue);if(b!=null){p=(b+(t-1)*w)%t;break}}var E=i.toGlobalCoord(l[0].coord),A=o.getAreaStyle();d=g.isArray(d)?d:[d];for(var w=1;w<l.length;w++){var S=i.toGlobalCoord(l[w].coord),T,L,x,C;i.isHorizontal()?(T=E,L=n.y,x=S-T,C=n.height,E=T+x):(T=n.x,L=E,x=n.width,C=S-L,E=L+C);var I=l[w-1].tickValue;I!=null&&u.set(I,p),h.add(new f.Rect({anid:I!=null?"area_"+I:null,shape:{x:T,y:L,width:x,height:C},style:g.defaults({fill:d[p]},A),silent:!0})),p=(p+1)%t}v.__splitAreaColors=u}function m(v){v.__splitAreaColors=null}_.rectCoordAxisBuildSplitArea=y,_.rectCoordAxisHandleRemove=m},WXVj:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("Bqw1")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="MinusSquareOutlined";var c=y.forwardRef(h);_.default=c},WaYH:function(D,_,e){"use strict";var g=e("rePB"),f=e("Ff2n"),y=e("VTBJ"),m=e("1OyB"),v=e("vuIU"),h=e("JX7q"),c=e("Ji7U"),a=e("LK+K"),i=e("q1tI"),r=e("TSYQ"),o=e.n(r),d=e("sboe"),n=e("OZM5"),l=function(T){var L=T.prefixCls,x=T.level,C=T.isStart,I=T.isEnd;if(!x)return null;for(var N="".concat(L,"-indent-unit"),F=[],k=0;k<x;k+=1){var B;F.push(i.createElement("span",{key:k,className:o()(N,(B={},Object(g.a)(B,"".concat(N,"-start"),C[k+1]),Object(g.a)(B,"".concat(N,"-end"),I[k+1]),Object(g.a)(B,"".concat(N,"-end-first-level"),!k&&I[0]),B))}))}return i.createElement("span",{"aria-hidden":"true",className:"".concat(L,"-indent")},F)},t=l,s=e("815F"),u="open",p="close",w="---",b=function(S){Object(c.a)(L,S);var T=Object(a.a)(L);function L(){var x;return Object(m.a)(this,L),x=T.apply(this,arguments),x.state={dragNodeHighlight:!1},x.onSelectorClick=function(C){var I=x.props.context.onNodeClick;I(C,Object(s.b)(x.props)),x.isSelectable()?x.onSelect(C):x.onCheck(C)},x.onSelectorDoubleClick=function(C){var I=x.props.context.onNodeDoubleClick;I(C,Object(s.b)(x.props))},x.onSelect=function(C){if(x.isDisabled())return;var I=x.props.context.onNodeSelect;C.preventDefault(),I(C,Object(s.b)(x.props))},x.onCheck=function(C){if(x.isDisabled())return;var I=x.props,N=I.disableCheckbox,F=I.checked,k=x.props.context.onNodeCheck;if(!x.isCheckable()||N)return;C.preventDefault();var B=!F;k(C,Object(s.b)(x.props),B)},x.onMouseEnter=function(C){var I=x.props.context.onNodeMouseEnter;I(C,Object(s.b)(x.props))},x.onMouseLeave=function(C){var I=x.props.context.onNodeMouseLeave;I(C,Object(s.b)(x.props))},x.onContextMenu=function(C){var I=x.props.context.onNodeContextMenu;I(C,Object(s.b)(x.props))},x.onDragStart=function(C){var I=x.props.context.onNodeDragStart;C.stopPropagation(),x.setState({dragNodeHighlight:!0}),I(C,Object(h.a)(x));try{C.dataTransfer.setData("text/plain","")}catch(N){}},x.onDragEnter=function(C){var I=x.props.context.onNodeDragEnter;C.preventDefault(),C.stopPropagation(),I(C,Object(h.a)(x))},x.onDragOver=function(C){var I=x.props.context.onNodeDragOver;C.preventDefault(),C.stopPropagation(),I(C,Object(h.a)(x))},x.onDragLeave=function(C){var I=x.props.context.onNodeDragLeave;C.stopPropagation(),I(C,Object(h.a)(x))},x.onDragEnd=function(C){var I=x.props.context.onNodeDragEnd;C.stopPropagation(),x.setState({dragNodeHighlight:!1}),I(C,Object(h.a)(x))},x.onDrop=function(C){var I=x.props.context.onNodeDrop;C.preventDefault(),C.stopPropagation(),x.setState({dragNodeHighlight:!1}),I(C,Object(h.a)(x))},x.onExpand=function(C){var I=x.props.context.onNodeExpand;I(C,Object(s.b)(x.props))},x.setSelectHandle=function(C){x.selectHandle=C},x.getNodeState=function(){var C=x.props.expanded;return x.isLeaf()?null:C?u:p},x.hasChildren=function(){var C=x.props.eventKey,I=x.props.context.keyEntities,N=I[C]||{},F=N.children;return!!(F||[]).length},x.isLeaf=function(){var C=x.props,I=C.isLeaf,N=C.loaded,F=x.props.context.loadData,k=x.hasChildren();return I===!1?!1:I||!F&&!k||F&&N&&!k},x.isDisabled=function(){var C=x.props.disabled,I=x.props.context.disabled;return!!(I||C)},x.isCheckable=function(){var C=x.props.checkable,I=x.props.context.checkable;return!I||C===!1?!1:I},x.syncLoadData=function(C){var I=C.expanded,N=C.loading,F=C.loaded,k=x.props.context,B=k.loadData,P=k.onNodeLoad;if(N)return;B&&I&&!x.isLeaf()&&(!x.hasChildren()&&!F&&P(Object(s.b)(x.props)))},x.renderSwitcher=function(){var C=x.props,I=C.expanded,N=C.switcherIcon,F=x.props.context,k=F.prefixCls,B=F.switcherIcon,P=N||B;if(x.isLeaf())return i.createElement("span",{className:o()("".concat(k,"-switcher"),"".concat(k,"-switcher-noop"))},typeof P=="function"?P(Object(y.a)(Object(y.a)({},x.props),{},{isLeaf:!0})):P);var K=o()("".concat(k,"-switcher"),"".concat(k,"-switcher_").concat(I?u:p));return i.createElement("span",{onClick:x.onExpand,className:K},typeof P=="function"?P(Object(y.a)(Object(y.a)({},x.props),{},{isLeaf:!1})):P)},x.renderCheckbox=function(){var C=x.props,I=C.checked,N=C.halfChecked,F=C.disableCheckbox,k=x.props.context.prefixCls,B=x.isDisabled(),P=x.isCheckable();if(!P)return null;var K=typeof P!="boolean"?P:null;return i.createElement("span",{className:o()("".concat(k,"-checkbox"),I&&"".concat(k,"-checkbox-checked"),!I&&N&&"".concat(k,"-checkbox-indeterminate"),(B||F)&&"".concat(k,"-checkbox-disabled")),onClick:x.onCheck},K)},x.renderIcon=function(){var C=x.props.loading,I=x.props.context.prefixCls;return i.createElement("span",{className:o()("".concat(I,"-iconEle"),"".concat(I,"-icon__").concat(x.getNodeState()||"docu"),C&&"".concat(I,"-icon_loading"))})},x.renderSelector=function(){var C=x.state.dragNodeHighlight,I=x.props,N=I.title,F=I.selected,k=I.icon,B=I.loading,P=I.data,K=x.props.context,R=K.prefixCls,U=K.showIcon,j=K.icon,H=K.draggable,W=K.loadData,X=K.titleRender,z=x.isDisabled(),G="".concat(R,"-node-content-wrapper"),Z;if(U){var ge=k||j;Z=ge?i.createElement("span",{className:o()("".concat(R,"-iconEle"),"".concat(R,"-icon__customize"))},typeof ge=="function"?ge(x.props):ge):x.renderIcon()}else W&&B&&(Z=x.renderIcon());var Q;typeof N=="function"?Q=N(P):X?Q=X(P):Q=N;var we=i.createElement("span",{className:"".concat(R,"-title")},Q);return i.createElement("span",{ref:x.setSelectHandle,title:typeof N=="string"?N:"",className:o()("".concat(G),"".concat(G,"-").concat(x.getNodeState()||"normal"),!z&&(F||C)&&"".concat(R,"-node-selected"),!z&&H&&"draggable"),draggable:!z&&H||void 0,"aria-grabbed":!z&&H||void 0,onMouseEnter:x.onMouseEnter,onMouseLeave:x.onMouseLeave,onContextMenu:x.onContextMenu,onClick:x.onSelectorClick,onDoubleClick:x.onSelectorDoubleClick,onDragStart:H?x.onDragStart:void 0},Z,we)},x}return Object(v.a)(L,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var C=this.props.selectable,I=this.props.context.selectable;return typeof C=="boolean"?C:I}},{key:"render",value:function(){var C,I=this.props,N=I.eventKey,F=I.className,k=I.style,B=I.dragOver,P=I.dragOverGapTop,K=I.dragOverGapBottom,R=I.isLeaf,U=I.isStart,j=I.isEnd,H=I.expanded,W=I.selected,X=I.checked,z=I.halfChecked,G=I.loading,Z=I.domRef,ge=I.active,Q=I.onMouseMove,we=Object(f.a)(I,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),Ee=this.props.context,Ae=Ee.prefixCls,Pe=Ee.filterTreeNode,Ge=Ee.draggable,gt=Ee.keyEntities,_e=this.isDisabled(),Ce=Object(n.f)(we),lt=gt[N]||{},ce=lt.level,Y=j[j.length-1];return i.createElement("div",Object.assign({ref:Z,className:o()(F,"".concat(Ae,"-treenode"),(C={},Object(g.a)(C,"".concat(Ae,"-treenode-disabled"),_e),Object(g.a)(C,"".concat(Ae,"-treenode-switcher-").concat(H?"open":"close"),!R),Object(g.a)(C,"".concat(Ae,"-treenode-checkbox-checked"),X),Object(g.a)(C,"".concat(Ae,"-treenode-checkbox-indeterminate"),z),Object(g.a)(C,"".concat(Ae,"-treenode-selected"),W),Object(g.a)(C,"".concat(Ae,"-treenode-loading"),G),Object(g.a)(C,"".concat(Ae,"-treenode-active"),ge),Object(g.a)(C,"".concat(Ae,"-treenode-leaf-last"),Y),Object(g.a)(C,"drag-over",!_e&&B),Object(g.a)(C,"drag-over-gap-top",!_e&&P),Object(g.a)(C,"drag-over-gap-bottom",!_e&&K),Object(g.a)(C,"filter-node",Pe&&Pe(Object(s.b)(this.props))),C)),style:k,onDragEnter:Ge?this.onDragEnter:void 0,onDragOver:Ge?this.onDragOver:void 0,onDragLeave:Ge?this.onDragLeave:void 0,onDrop:Ge?this.onDrop:void 0,onDragEnd:Ge?this.onDragEnd:void 0,onMouseMove:Q},Ce),i.createElement(t,{prefixCls:Ae,level:ce,isStart:U,isEnd:j}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),L}(i.Component),E=function(T){return i.createElement(d.a.Consumer,null,function(L){return i.createElement(b,Object.assign({},T,{context:L}))})};E.displayName="TreeNode",E.defaultProps={title:w},E.isTreeNode=1;var A=_.a=E},Wqna:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=y.isObject,v=y.each,h=y.map,c=y.indexOf,a=y.retrieve,i=e("+TT/"),r=i.getLayoutRect,o=e("aX7z"),d=o.createScaleByModel,n=o.ifAxisCrossZero,l=o.niceScaleExtent,t=o.estimateLabelUnionRect,s=e("y+lR"),u=e("7AJT"),p=e("IDmD"),w=e("7hqr"),b=w.getStackedDimension;e("jtI2");function E(k,B,P){return k.getCoordSysModel()===B}function A(k,B,P){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(k,B,P),this.model=k}var S=A.prototype;S.type="grid",S.axisPointerEnabled=!0,S.getRect=function(){return this._rect},S.update=function(k,B){var P=this._axesMap;this._updateScale(k,this.model),v(P.x,function(R){l(R.scale,R.model)}),v(P.y,function(R){l(R.scale,R.model)});var K={};v(P.x,function(R){T(P,"y",R,K)}),v(P.y,function(R){T(P,"x",R,K)}),this.resize(this.model,B)};function T(k,B,P,K){P.getAxesOnZeroOf=function(){return U?[U]:[]};var R=k[B],U,j=P.model,H=j.get("axisLine.onZero"),W=j.get("axisLine.onZeroAxisIndex");if(!H)return;if(W!=null)L(R[W])&&(U=R[W]);else for(var X in R)if(R.hasOwnProperty(X)&&L(R[X])&&!K[z(R[X])]){U=R[X];break}U&&(K[z(U)]=!0);function z(G){return G.dim+"_"+G.index}}function L(k){return k&&k.type!=="category"&&k.type!=="time"&&n(k)}S.resize=function(k,B,P){var K=r(k.getBoxLayoutParams(),{width:B.getWidth(),height:B.getHeight()});this._rect=K;var R=this._axesList;U(),!P&&k.get("containLabel")&&(v(R,function(j){if(!j.model.get("axisLabel.inside")){var H=t(j);if(H){var W=j.isHorizontal()?"height":"width",X=j.model.get("axisLabel.margin");K[W]-=H[W]+X,j.position==="top"?K.y+=H.height+X:j.position==="left"&&(K.x+=H.width+X)}}}),U());function U(){v(R,function(j){var H=j.isHorizontal(),W=H?[0,K.width]:[0,K.height],X=j.inverse?1:0;j.setExtent(W[X],W[1-X]),x(j,H?K.x:K.y)})}},S.getAxis=function(k,B){var P=this._axesMap[k];if(P!=null){if(B==null){for(var K in P)if(P.hasOwnProperty(K))return P[K]}return P[B]}},S.getAxes=function(){return this._axesList.slice()},S.getCartesian=function(k,B){if(k!=null&&B!=null){var P="x"+k+"y"+B;return this._coordsMap[P]}m(k)&&(B=k.yAxisIndex,k=k.xAxisIndex);for(var K=0,R=this._coordsList;K<R.length;K++)if(R[K].getAxis("x").index===k||R[K].getAxis("y").index===B)return R[K]},S.getCartesians=function(){return this._coordsList.slice()},S.convertToPixel=function(k,B,P){var K=this._findConvertTarget(k,B);return K.cartesian?K.cartesian.dataToPoint(P):K.axis?K.axis.toGlobalCoord(K.axis.dataToCoord(P)):null},S.convertFromPixel=function(k,B,P){var K=this._findConvertTarget(k,B);return K.cartesian?K.cartesian.pointToData(P):K.axis?K.axis.coordToData(K.axis.toLocalCoord(P)):null},S._findConvertTarget=function(k,B){var P=B.seriesModel,K=B.xAxisModel||P&&P.getReferringComponents("xAxis")[0],R=B.yAxisModel||P&&P.getReferringComponents("yAxis")[0],U=B.gridModel,j=this._coordsList,H,W;if(P)H=P.coordinateSystem,c(j,H)<0&&(H=null);else if(K&&R)H=this.getCartesian(K.componentIndex,R.componentIndex);else if(K)W=this.getAxis("x",K.componentIndex);else if(R)W=this.getAxis("y",R.componentIndex);else if(U){var X=U.coordinateSystem;X===this&&(H=this._coordsList[0])}return{cartesian:H,axis:W}},S.containPoint=function(k){var B=this._coordsList[0];if(B)return B.containPoint(k)},S._initCartesian=function(k,B,P){var K={left:!1,right:!1,top:!1,bottom:!1},R={x:{},y:{}},U={x:0,y:0};if(B.eachComponent("xAxis",j("x"),this),B.eachComponent("yAxis",j("y"),this),!U.x||!U.y){this._axesMap={},this._axesList=[];return}this._axesMap=R,v(R.x,function(H,W){v(R.y,function(X,z){var G="x"+W+"y"+z,Z=new s(G);Z.grid=this,Z.model=k,this._coordsMap[G]=Z,this._coordsList.push(Z),Z.addAxis(H),Z.addAxis(X)},this)},this);function j(H){return function(W,X){if(!E(W,k,B))return;var z=W.get("position");H==="x"?z!=="top"&&z!=="bottom"&&(z=K.bottom?"top":"bottom"):z!=="left"&&z!=="right"&&(z=K.left?"right":"left"),K[z]=!0;var G=new u(H,d(W),[0,0],W.get("type"),z),Z=G.type==="category";G.onBand=Z&&W.get("boundaryGap"),G.inverse=W.get("inverse"),W.axis=G,G.model=W,G.grid=this,G.index=X,this._axesList.push(G),R[H][X]=G,U[H]++}}},S._updateScale=function(k,B){v(this._axesList,function(K){K.scale.setExtent(Infinity,-Infinity)}),k.eachSeries(function(K){if(N(K)){var R=I(K,k),U=R[0],j=R[1];if(!E(U,B,k)||!E(j,B,k))return;var H=this.getCartesian(U.componentIndex,j.componentIndex),W=K.getData(),X=H.getAxis("x"),z=H.getAxis("y");W.type==="list"&&(P(W,X,K),P(W,z,K))}},this);function P(K,R,U){v(K.mapDimension(R.dim,!0),function(j){R.scale.unionExtentFromData(K,b(K,j))})}},S.getTooltipAxes=function(k){var B=[],P=[];return v(this.getCartesians(),function(K){var R=k!=null&&k!=="auto"?K.getAxis(k):K.getBaseAxis(),U=K.getOtherAxis(R);c(B,R)<0&&B.push(R),c(P,U)<0&&P.push(U)}),{baseAxes:B,otherAxes:P}};function x(k,B){var P=k.getExtent(),K=P[0]+P[1];k.toGlobalCoord=k.dim==="x"?function(R){return R+B}:function(R){return K-R+B},k.toLocalCoord=k.dim==="x"?function(R){return R-B}:function(R){return K-R+B}}var C=["xAxis","yAxis"];function I(k,B){return h(C,function(P){var K=k.getReferringComponents(P)[0];return K})}function N(k){return k.get("coordinateSystem")==="cartesian2d"}A.create=function(k,B){var P=[];return k.eachComponent("grid",function(K,R){var U=new A(K,k,B);U.name="grid_"+R,U.resize(K,B,!0),K.coordinateSystem=U,P.push(U)}),k.eachSeries(function(K){if(!N(K))return;var R=I(K,k),U=R[0],j=R[1],H=U.getCoordSysModel(),W=H.coordinateSystem;K.coordinateSystem=W.getCartesian(U.componentIndex,j.componentIndex)}),P},A.dimensions=A.prototype.dimensions=s.prototype.dimensions,p.register("cartesian2d",A);var F=A;D.exports=F},"X+im":function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("KQeH")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="DownloadOutlined";var c=y.forwardRef(h);_.default=c},"X2/X":function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},XAae:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("hwYd"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},XOKv:function(D,_,e){e("OXB0"),e("SA4+")},Xi7e:function(D,_,e){var g=e("KMkd"),f=e("adU4"),y=e("tMB7"),m=e("+6XX"),v=e("Z8oC");function h(c){var a=-1,i=c==null?0:c.length;for(this.clear();++a<i;){var r=c[a];this.set(r[0],r[1])}}h.prototype.clear=g,h.prototype.delete=f,h.prototype.get=y,h.prototype.has=m,h.prototype.set=v,D.exports=h},Xmg4:function(D,_,e){var g=e("bYtY"),f=e("LPTA"),y=f.devicePixelRatio,m=e("K2GJ"),v=e("3C/r");function h(){return!1}function c(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 a=function(o,d,n){var l;n=n||y,typeof o=="string"?l=c(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};a.prototype={constructor:a,__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=c("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,u=this.motionBlur&&!o,p=this.lastFrameAlpha,w=this.dpr;if(u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(n,0,0,t/w,s/w)),l.clearRect(0,0,t,s),d&&d!=="transparent"){var b;d.colorStops?(b=d.__canvasGradient||m.getGradient(l,d,{x:0,y:0,width:t,height:s}),d.__canvasGradient=b):d.image&&(b=v.prototype.getCanvasPattern.call(d,l)),l.save(),l.fillStyle=b||d,l.fillRect(0,0,t,s),l.restore()}if(u){var E=this.domBack;l.save(),l.globalAlpha=p,l.drawImage(E,0,0,t,s),l.restore()}}};var i=a;D.exports=i},Xnb7:function(D,_,e){var g=e("1RvN"),f=new g(50);function y(c){if(typeof c=="string"){var a=f.get(c);return a&&a.image}else return c}function m(c,a,i,r,o){if(c)if(typeof c=="string"){if(a&&a.__zrImageSrc===c||!i)return a;var d=f.get(c),n={hostEl:i,cb:r,cbPayload:o};return d?(a=d.image,!h(a)&&d.pending.push(n)):(a=new Image,a.onload=a.onerror=v,f.put(c,a.__cachedImgObj={image:a,pending:[n]}),a.src=a.__zrImageSrc=c),a}else return c;else return a}function v(){var c=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var a=0;a<c.pending.length;a++){var i=c.pending[a],r=i.cb;r&&r(this,i.cbPayload),i.hostEl.dirty()}c.pending.length=0}function h(c){return c&&c.width&&c.height}_.findExistImage=y,_.createOrUpdateImage=m,_.isImageReady=h},XpcN:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),m=e("bYtY"),v=e("oVpE"),h=v.createSymbol,c=e("IwbS"),a=e("eRkO"),i=a.makeBackground,r=e("+TT/"),o=m.curry,d=m.each,n=c.Group,l=y.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(w,b,E){var A=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!w.get("show",!0))return;var S=w.get("align"),T=w.get("orient");(!S||S==="auto")&&(S=w.get("left")==="right"&&T==="vertical"?"right":"left");var L=w.get("selector",!0),x=w.get("selectorPosition",!0);L&&(!x||x==="auto")&&(x=T==="horizontal"?"end":"start"),this.renderInner(S,w,b,E,L,T,x);var C=w.getBoxLayoutParams(),I={width:E.getWidth(),height:E.getHeight()},N=w.get("padding"),F=r.getLayoutRect(C,I,N),k=this.layoutInner(w,S,F,A,L,x),B=r.getLayoutRect(m.defaults({width:k.width,height:k.height},C),I,N);this.group.attr("position",[B.x-k.x,B.y-k.y]),this.group.add(this._backgroundEl=i(k,w))},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(w,b,E,A,S,T,L){var x=this.getContentGroup(),C=m.createHashMap(),I=b.get("selectedMode"),N=[];E.eachRawSeries(function(F){!F.get("legendHoverLink")&&N.push(F.id)}),d(b.getData(),function(F,k){var B=F.get("name");if(!this.newlineDisabled&&(B===""||B===`
`)){x.add(new n({newline:!0}));return}var P=E.getSeriesByName(B)[0];if(C.get(B))return;if(P){var K=P.getData(),R=K.getVisual("color"),U=K.getVisual("borderColor");typeof R=="function"&&(R=R(P.getDataParams(0))),typeof U=="function"&&(U=U(P.getDataParams(0)));var j=K.getVisual("legendSymbol")||"roundRect",H=K.getVisual("symbol"),W=this._createItem(B,k,F,b,j,H,w,R,U,I);W.on("click",o(s,B,null,A,N)).on("mouseover",o(u,P.name,null,A,N)).on("mouseout",o(p,P.name,null,A,N)),C.set(B,!0)}else E.eachRawSeries(function(X){if(C.get(B))return;if(X.legendVisualProvider){var z=X.legendVisualProvider;if(!z.containName(B))return;var G=z.indexOfName(B),Z=z.getItemVisual(G,"color"),ge=z.getItemVisual(G,"borderColor"),Q="roundRect",we=this._createItem(B,k,F,b,Q,null,w,Z,ge,I);we.on("click",o(s,null,B,A,N)).on("mouseover",o(u,null,B,A,N)).on("mouseout",o(p,null,B,A,N)),C.set(B,!0)}},this)},this),S&&this._createSelector(S,b,A,T,L)},_createSelector:function(w,b,E,A,S){var T=this.getSelectorGroup();d(w,function(x){L(x)});function L(x){var C=x.type,I=new c.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){E.dispatchAction({type:C==="all"?"legendAllSelect":"legendInverseSelect"})}});T.add(I);var N=b.getModel("selectorLabel"),F=b.getModel("emphasis.selectorLabel");c.setLabelStyle(I.style,I.hoverStyle={},N,F,{defaultText:x.title,isRectText:!1}),c.setHoverStyle(I)}},_createItem:function(w,b,E,A,S,T,L,x,C,I){var N=A.get("itemWidth"),F=A.get("itemHeight"),k=A.get("inactiveColor"),B=A.get("inactiveBorderColor"),P=A.get("symbolKeepAspect"),K=A.getModel("itemStyle"),R=A.isSelected(w),U=new n,j=E.getModel("textStyle"),H=E.get("icon"),W=E.getModel("tooltip"),X=W.parentModel;S=H||S;var z=h(S,0,0,N,F,R?x:k,P==null?!0:P);if(U.add(t(z,S,K,C,B,R)),!H&&T&&(T!==S||T==="none")){var G=F*.8;T==="none"&&(T="circle");var Z=h(T,(N-G)/2,(F-G)/2,G,G,R?x:k,P==null?!0:P);U.add(t(Z,T,K,C,B,R))}var ge=L==="left"?N+5:-5,Q=L,we=A.get("formatter"),Ee=w;typeof we=="string"&&we?Ee=we.replace("{name}",w!=null?w:""):typeof we=="function"&&(Ee=we(w)),U.add(new c.Text({style:c.setTextStyle({},j,{text:Ee,x:ge,y:F/2,textFill:R?j.getTextColor():k,textAlign:Q,textVerticalAlign:"middle"})}));var Ae=new c.Rect({shape:U.getBoundingRect(),invisible:!0,tooltip:W.get("show")?m.extend({content:w,formatter:X.get("formatter",!0)||function(){return w},formatterParams:{componentType:"legend",legendIndex:A.componentIndex,name:w,$vars:["name"]}},W.option):null});return U.add(Ae),U.eachChild(function(Pe){Pe.silent=!0}),Ae.silent=!I,this.getContentGroup().add(U),c.setHoverStyle(U),U.__legendDataIndex=b,U},layoutInner:function(w,b,E,A,S,T){var L=this.getContentGroup(),x=this.getSelectorGroup();r.box(w.get("orient"),L,w.get("itemGap"),E.width,E.height);var C=L.getBoundingRect(),I=[-C.x,-C.y];if(S){r.box("horizontal",x,w.get("selectorItemGap",!0));var N=x.getBoundingRect(),F=[-N.x,-N.y],k=w.get("selectorButtonGap",!0),B=w.getOrient().index,P=B===0?"width":"height",K=B===0?"height":"width",R=B===0?"y":"x";T==="end"?F[B]+=C[P]+k:I[B]+=N[P]+k,F[1-B]+=C[K]/2-N[K]/2,x.attr("position",F),L.attr("position",I);var U={x:0,y:0};return U[P]=C[P]+k+N[P],U[K]=Math.max(C[K],N[K]),U[R]=Math.min(0,N[R]+F[1-B]),U}else return L.attr("position",I),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function t(w,b,E,A,S,T){var L;return b!=="line"&&b.indexOf("empty")<0?(L=E.getItemStyle(),w.style.stroke=A,T||(L.stroke=S)):L=E.getItemStyle(["borderWidth","borderColor"]),w.setStyle(L)}function s(w,b,E,A){p(w,b,E,A),E.dispatchAction({type:"legendToggleSelect",name:w!=null?w:b}),u(w,b,E,A)}function u(w,b,E,A){var S=E.getZr().storage.getDisplayList()[0];S&&S.useHoverLayer||E.dispatchAction({type:"highlight",seriesName:w,name:b,excludeSeriesId:A})}function p(w,b,E,A){var S=E.getZr().storage.getDisplayList()[0];S&&S.useHoverLayer||E.dispatchAction({type:"downplay",seriesName:w,name:b,excludeSeriesId:A})}D.exports=l},XuBP:function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},XxSj:function(D,_,e){var g=e("bYtY"),f=e("Qe9p"),y=e("OELB"),m=y.linearMap,v=g.each,h=g.isObject,c=-1,a=function(T){var L=T.mappingMethod,x=T.type,C=this.option=g.clone(T);this.type=x,this.mappingMethod=L,this._normalizeData=E[L];var I=i[x];this.applyVisual=I.applyVisual,this.getColorMapper=I.getColorMapper,this._doMap=I._doMap[L],L==="piecewise"?(d(C),r(C)):L==="category"?C.categories?o(C):d(C,!0):(g.assert(L!=="linear"||C.dataExtent),d(C))};a.prototype={constructor:a,mapValueToVisual:function(T){var L=this._normalizeData(T);return this._doMap(L,T)},getNormalizer:function(){return g.bind(this._normalizeData,this)}};var i=a.visualHandlers={color:{applyVisual:t("color"),getColorMapper:function(){var T=this.option;return g.bind(T.mappingMethod==="category"?function(L,x){return!x&&(L=this._normalizeData(L)),s.call(this,L)}:function(L,x,C){var I=!!C;return!x&&(L=this._normalizeData(L)),C=f.fastLerp(L,T.parsedVisual,C),I?C:f.stringify(C,"rgba")},this)},_doMap:{linear:function(T){return f.stringify(f.fastLerp(T,this.option.parsedVisual),"rgba")},category:s,piecewise:function(T,L){var x=w.call(this,L);return x==null&&(x=f.stringify(f.fastLerp(T,this.option.parsedVisual),"rgba")),x},fixed:u}},colorHue:n(function(T,L){return f.modifyHSL(T,L)}),colorSaturation:n(function(T,L){return f.modifyHSL(T,null,L)}),colorLightness:n(function(T,L){return f.modifyHSL(T,null,null,L)}),colorAlpha:n(function(T,L){return f.modifyAlpha(T,L)}),opacity:{applyVisual:t("opacity"),_doMap:p([0,1])},liftZ:{applyVisual:t("liftZ"),_doMap:{linear:u,category:u,piecewise:u,fixed:u}},symbol:{applyVisual:function(T,L,x){var C=this.mapValueToVisual(T);if(g.isString(C))x("symbol",C);else if(h(C))for(var I in C)C.hasOwnProperty(I)&&x(I,C[I])},_doMap:{linear:l,category:s,piecewise:function(T,L){var x=w.call(this,L);return x==null&&(x=l.call(this,T)),x},fixed:u}},symbolSize:{applyVisual:t("symbolSize"),_doMap:p([0,1])}};function r(T){var L=T.pieceList;T.hasSpecialVisual=!1,g.each(L,function(x,C){x.originIndex=C,x.visual!=null&&(T.hasSpecialVisual=!0)})}function o(T){var L=T.categories,x=T.visual,C=T.categoryMap={};if(v(L,function(F,k){C[F]=k}),!g.isArray(x)){var I=[];g.isObject(x)?v(x,function(F,k){var B=C[k];I[B!=null?B:c]=F}):I[c]=x,x=b(T,I)}for(var N=L.length-1;N>=0;N--)x[N]==null&&(delete C[L[N]],L.pop())}function d(T,L){var x=T.visual,C=[];g.isObject(x)?v(x,function(N){C.push(N)}):x!=null&&C.push(x);var I={color:1,symbol:1};!L&&C.length===1&&!I.hasOwnProperty(T.type)&&(C[1]=C[0]),b(T,C)}function n(T){return{applyVisual:function(L,x,C){L=this.mapValueToVisual(L),C("color",T(x("color"),L))},_doMap:p([0,1])}}function l(T){var L=this.option.visual;return L[Math.round(m(T,[0,1],[0,L.length-1],!0))]||{}}function t(T){return function(L,x,C){C(T,this.mapValueToVisual(L))}}function s(T){var L=this.option.visual;return L[this.option.loop&&T!==c?T%L.length:T]}function u(){return this.option.visual[0]}function p(T){return{linear:function(L){return m(L,T,this.option.visual,!0)},category:s,piecewise:function(L,x){var C=w.call(this,x);return C==null&&(C=m(L,T,this.option.visual,!0)),C},fixed:u}}function w(T){var L=this.option,x=L.pieceList;if(L.hasSpecialVisual){var C=a.findPieceIndex(T,x),I=x[C];if(I&&I.visual)return I.visual[this.type]}}function b(T,L){return T.visual=L,T.type==="color"&&(T.parsedVisual=g.map(L,function(x){return f.parse(x)})),L}var E={linear:function(T){return m(T,this.option.dataExtent,[0,1],!0)},piecewise:function(T){var L=this.option.pieceList,x=a.findPieceIndex(T,L,!0);if(x!=null)return m(x,[0,L.length-1],[0,1],!0)},category:function(T){var L=this.option.categories?this.option.categoryMap[T]:T;return L==null?c:L},fixed:g.noop};a.listVisualTypes=function(){var T=[];return g.each(i,function(L,x){T.push(x)}),T},a.addVisualHandler=function(T,L){i[T]=L},a.isValidType=function(T){return i.hasOwnProperty(T)},a.eachVisual=function(T,L,x){g.isObject(T)?g.each(T,L,x):L.call(x,T)},a.mapVisual=function(T,L,x){var C,I=g.isArray(T)?[]:g.isObject(T)?{}:(C=!0,null);return a.eachVisual(T,function(N,F){var k=L.call(x,N,F);C?I=k:I[F]=k}),I},a.retrieveVisuals=function(T){var L={},x;return T&&v(i,function(C,I){T.hasOwnProperty(I)&&(L[I]=T[I],x=!0)}),x?L:null},a.prepareVisualTypes=function(T){if(h(T)){var L=[];v(T,function(x,C){L.push(C)}),T=L}else if(g.isArray(T))T=T.slice();else return[];return T.sort(function(x,C){return C==="color"&&x!=="color"&&x.indexOf("color")===0?1:-1}),T},a.dependsOn=function(T,L){return L==="color"?!!(T&&T.indexOf(L)===0):T===L},a.findPieceIndex=function(T,L,x){for(var C,I=Infinity,N=0,F=L.length;N<F;N++){var k=L[N].value;if(k!=null){if(k===T||typeof k=="string"&&k===T+"")return N;x&&R(k,N)}}for(var N=0,F=L.length;N<F;N++){var B=L[N],P=B.interval,K=B.close;if(P){if(P[0]===-Infinity){if(A(K[1],T,P[1]))return N}else if(P[1]===Infinity){if(A(K[0],P[0],T))return N}else if(A(K[0],P[0],T)&&A(K[1],T,P[1]))return N;x&&R(P[0],N),x&&R(P[1],N)}}if(x)return T===Infinity?L.length-1:T===-Infinity?0:C;function R(U,j){var H=Math.abs(U-T);H<I&&(I=H,C=j)}};function A(T,L,x){return T?L<=x:L<x}var S=a;D.exports=S},XzQk:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("KpQ+"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},"Y+p1":function(D,_,e){var g=e("wF/u");function f(y,m){return g(y,m)}D.exports=f},Y1PL:function(D,_,e){"use strict";e.r(_),e.d(_,"ResizableTextArea",function(){return T});var g=e("1OyB"),f=e("vuIU"),y=e("Ji7U"),m=e("md7G"),v=e("foSv"),h=e("q1tI"),c=e("rePB"),a=e("t23M"),i=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(N){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,k=N.getAttribute("id")||N.getAttribute("data-reactid")||N.getAttribute("name");if(F&&l[k])return l[k];var B=window.getComputedStyle(N),P=B.getPropertyValue("box-sizing")||B.getPropertyValue("-moz-box-sizing")||B.getPropertyValue("-webkit-box-sizing"),K=parseFloat(B.getPropertyValue("padding-bottom"))+parseFloat(B.getPropertyValue("padding-top")),R=parseFloat(B.getPropertyValue("border-bottom-width"))+parseFloat(B.getPropertyValue("border-top-width")),U=n.map(function(H){return"".concat(H,":").concat(B.getPropertyValue(H))}).join(";"),j={sizingStyle:U,paddingSize:K,borderSize:R,boxSizing:P};return F&&k&&(l[k]=j),j}function u(N){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,B=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)),N.getAttribute("wrap")?t.setAttribute("wrap",N.getAttribute("wrap")):t.removeAttribute("wrap");var P=s(N,F),K=P.paddingSize,R=P.borderSize,U=P.boxSizing,j=P.sizingStyle;t.setAttribute("style","".concat(j,";").concat(d)),t.value=N.value||N.placeholder||"";var H=Number.MIN_SAFE_INTEGER,W=Number.MAX_SAFE_INTEGER,X=t.scrollHeight,z;if(U==="border-box"?X+=R:U==="content-box"&&(X-=K),k!==null||B!==null){t.value=" ";var G=t.scrollHeight-K;k!==null&&(H=G*k,U==="border-box"&&(H=H+K+R),X=Math.max(H,X)),B!==null&&(W=G*B,U==="border-box"&&(W=W+K+R),z=X>W?"":"hidden",X=Math.min(W,X))}return{height:X,minHeight:H,maxHeight:W,overflowY:z}}function p(N,F){var k=Object.keys(N);if(Object.getOwnPropertySymbols){var B=Object.getOwnPropertySymbols(N);F&&(B=B.filter(function(P){return Object.getOwnPropertyDescriptor(N,P).enumerable})),k.push.apply(k,B)}return k}function w(N){for(var F=1;F<arguments.length;F++){var k=arguments[F]!=null?arguments[F]:{};F%2?p(Object(k),!0).forEach(function(B){Object(c.a)(N,B,k[B])}):Object.getOwnPropertyDescriptors?Object.defineProperties(N,Object.getOwnPropertyDescriptors(k)):p(Object(k)).forEach(function(B){Object.defineProperty(N,B,Object.getOwnPropertyDescriptor(k,B))})}return N}function b(N){var F=E();return function(){var B=Object(v.a)(N),P;if(F){var K=Object(v.a)(this).constructor;P=Reflect.construct(B,arguments,K)}else P=B.apply(this,arguments);return Object(m.a)(this,P)}}function E(){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(N){return!1}}var A;(function(N){N[N.NONE=0]="NONE",N[N.RESIZING=1]="RESIZING",N[N.RESIZED=2]="RESIZED"})(A||(A={}));var S=function(N){Object(y.a)(k,N);var F=b(k);function k(B){var P;return Object(g.a)(this,k),P=F.call(this,B),P.saveTextArea=function(K){P.textArea=K},P.handleResize=function(K){var R=P.state.resizeStatus,U=P.props,j=U.autoSize,H=U.onResize;if(R!==A.NONE)return;typeof H=="function"&&H(K),j&&P.resizeOnNextFrame()},P.resizeOnNextFrame=function(){cancelAnimationFrame(P.nextFrameActionId),P.nextFrameActionId=requestAnimationFrame(P.resizeTextarea)},P.resizeTextarea=function(){var K=P.props.autoSize;if(!K||!P.textArea)return;var R=K.minRows,U=K.maxRows,j=u(P.textArea,!1,R,U);P.setState({textareaStyles:j,resizeStatus:A.RESIZING},function(){cancelAnimationFrame(P.resizeFrameId),P.resizeFrameId=requestAnimationFrame(function(){P.setState({resizeStatus:A.RESIZED},function(){P.resizeFrameId=requestAnimationFrame(function(){P.setState({resizeStatus:A.NONE}),P.fixFirefoxAutoScroll()})})})})},P.renderTextArea=function(){var K=P.props,R=K.prefixCls,U=R===void 0?"rc-textarea":R,j=K.autoSize,H=K.onResize,W=K.className,X=K.disabled,z=P.state,G=z.textareaStyles,Z=z.resizeStatus,ge=Object(i.default)(P.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),Q=o()(U,W,Object(c.a)({},"".concat(U,"-disabled"),X));"value"in ge&&(ge.value=ge.value||"");var we=w(w(w({},P.props.style),G),Z===A.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return h.createElement(a.a,{onResize:P.handleResize,disabled:!(j||H)},h.createElement("textarea",Object.assign({},ge,{className:Q,style:we,ref:P.saveTextArea})))},P.state={textareaStyles:{},resizeStatus:A.NONE},P}return Object(f.a)(k,[{key:"componentDidMount",value:function(){this.resizeTextarea()}},{key:"componentDidUpdate",value:function(P){P.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 P=this.textArea.selectionStart,K=this.textArea.selectionEnd;this.textArea.setSelectionRange(P,K)}}catch(R){}}},{key:"render",value:function(){return this.renderTextArea()}}]),k}(h.Component),T=S;function L(N){var F=x();return function(){var B=Object(v.a)(N),P;if(F){var K=Object(v.a)(this).constructor;P=Reflect.construct(B,arguments,K)}else P=B.apply(this,arguments);return Object(m.a)(this,P)}}function x(){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(N){return!1}}var C=function(N){Object(y.a)(k,N);var F=L(k);function k(B){var P;Object(g.a)(this,k),P=F.call(this,B),P.focus=function(){P.resizableTextArea.textArea.focus()},P.saveTextArea=function(R){P.resizableTextArea=R},P.handleChange=function(R){var U=P.props.onChange;P.setValue(R.target.value,function(){P.resizableTextArea.resizeTextarea()}),U&&U(R)},P.handleKeyDown=function(R){var U=P.props,j=U.onPressEnter,H=U.onKeyDown;R.keyCode===13&&j&&j(R),H&&H(R)};var K=typeof B.value=="undefined"||B.value===null?B.defaultValue:B.value;return P.state={value:K},P}return Object(f.a)(k,[{key:"setValue",value:function(P,K){"value"in this.props||this.setState({value:P},K)}},{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(P){return"value"in P?{value:P.value}:null}}]),k}(h.Component),I=_.default=C},YESw:function(D,_,e){var g=e("Cwc5"),f=g(Object,"create");D.exports=f},YH21:function(D,_,e){var g=e("H6uX");_.Dispatcher=g;var f=e("ItGF"),y=e("Ze12"),m=y.isCanvasEl,v=y.transformCoordWithViewport,h=typeof window!="undefined"&&!!window.addEventListener,c=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,a=[];function i(p,w,b,E){return b=b||{},E||!f.canvasSupported?r(p,w,b):f.browser.firefox&&w.layerX!=null&&w.layerX!==w.offsetX?(b.zrX=w.layerX,b.zrY=w.layerY):w.offsetX!=null?(b.zrX=w.offsetX,b.zrY=w.offsetY):r(p,w,b),b}function r(p,w,b){if(f.domSupported&&p.getBoundingClientRect){var E=w.clientX,A=w.clientY;if(m(p)){var S=p.getBoundingClientRect();b.zrX=E-S.left,b.zrY=A-S.top;return}else if(v(a,p,E,A)){b.zrX=a[0],b.zrY=a[1];return}}b.zrX=b.zrY=0}function o(p){return p||window.event}function d(p,w,b){if(w=o(w),w.zrX!=null)return w;var E=w.type,A=E&&E.indexOf("touch")>=0;if(!A)i(p,w,w,b),w.zrDelta=w.wheelDelta?w.wheelDelta/120:-(w.detail||0)/3;else{var S=E!=="touchend"?w.targetTouches[0]:w.changedTouches[0];S&&i(p,S,w,b)}var T=w.button;return w.which==null&&T!==void 0&&c.test(w.type)&&(w.which=T&1?1:T&2?3:T&4?2:0),w}function n(p,w,b,E){h?p.addEventListener(w,b,E):p.attachEvent("on"+w,b)}function l(p,w,b,E){h?p.removeEventListener(w,b,E):p.detachEvent("on"+w,b)}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 u(p){return p.which>1}_.clientToLocal=i,_.getNativeEvent=o,_.normalizeEvent=d,_.addEventListener=n,_.removeEventListener=l,_.stop=t,_.isMiddleOrRightButtonOnMouseUpDown=s,_.notLeftMouse=u},YJ9k:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;function g(v,h){if(!(v instanceof h))throw new TypeError("Cannot call a class as a function")}function f(v,h){for(var c=0;c<h.length;c++){var a=h[c];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(v,a.key,a)}}function y(v,h,c){return h&&f(v.prototype,h),c&&f(v,c),v}var m=function(){function v(){g(this,v),this._listeners=new Map}return y(v,[{key:"addEventListener",value:function(c,a){this._listeners.has(c)||this._listeners.set(c,new Set),this._listeners.get(c).add(a)}},{key:"removeEventListener",value:function(c,a){this._listeners.has(c)&&this._listeners.get(c).delete(a)}},{key:"dispatchEvent",value:function(c){var a=this;return this._listeners.has(c.type)?(this._listeners.get(c.type).forEach(function(i){return i.call(a,c)}),!c.defaultPrevented):!0}}]),v}();_.default=m},YJCA:function(D,_,e){"use strict";e.d(_,"a",function(){return $}),e.d(_,"b",function(){return Fe});var g=e("wx14"),f=e("ODXe"),y=e("vpQ4"),m=e("1OyB"),v=e("vuIU"),h=e("md7G"),c=e("foSv"),a=e("Ji7U"),i=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),u=e("QLaP"),p=e.n(u),w=e("KQm4"),b=function(){function Oe(){Object(m.a)(this,Oe),Object(r.a)(this,"refs",{})}return Object(v.a)(Oe,[{key:"add",value:function(fe,Le){this.refs[fe]||(this.refs[fe]=[]),this.refs[fe].push(Le)}},{key:"remove",value:function(fe,Le){var Je=this.getIndex(fe,Le);Je!==-1&&this.refs[fe].splice(Je,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var fe=this;return this.refs[this.active.collection].find(function(Le){var Je=Le.node;return Je.sortableInfo.index==fe.active.index})}},{key:"getIndex",value:function(fe,Le){return this.refs[fe].indexOf(Le)}},{key:"getOrderedRefs",value:function(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[fe].sort(E)}}]),Oe}();function E(Oe,se){var fe=Oe.node.sortableInfo.index,Le=se.node.sortableInfo.index;return fe-Le}function A(Oe,se,fe){return Oe=Oe.slice(),Oe.splice(fe<0?Oe.length+fe:fe,0,Oe.splice(se,1)[0]),Oe}function S(Oe,se){return Object.keys(Oe).reduce(function(fe,Le){return se.indexOf(Le)===-1&&(fe[Le]=Oe[Le]),fe},{})}var T={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},L=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var Oe=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],se=(Array.prototype.slice.call(Oe).join("").match(/-(moz|webkit|ms)-/)||Oe.OLink===""&&["","o"])[1];switch(se){case"ms":return"ms";default:return se&&se.length?se[0].toUpperCase()+se.substr(1):""}}();function x(Oe,se){Object.keys(se).forEach(function(fe){Oe.style[fe]=se[fe]})}function C(Oe,se){Oe.style["".concat(L,"Transform")]=se==null?"":"translate3d(".concat(se.x,"px,").concat(se.y,"px,0)")}function I(Oe,se){Oe.style["".concat(L,"TransitionDuration")]=se==null?"":"".concat(se,"ms")}function N(Oe,se){for(;Oe;){if(se(Oe))return Oe;Oe=Oe.parentNode}return null}function F(Oe,se,fe){return Math.max(Oe,Math.min(fe,se))}function k(Oe){return Oe.substr(-2)==="px"?parseFloat(Oe):0}function B(Oe){var se=window.getComputedStyle(Oe);return{bottom:k(se.marginBottom),left:k(se.marginLeft),right:k(se.marginRight),top:k(se.marginTop)}}function P(Oe,se){var fe=se.displayName||se.name;return fe?"".concat(Oe,"(").concat(fe,")"):Oe}function K(Oe,se){var fe=Oe.getBoundingClientRect();return{top:fe.top+se.top,left:fe.left+se.left}}function R(Oe){return Oe.touches&&Oe.touches.length?{x:Oe.touches[0].pageX,y:Oe.touches[0].pageY}:Oe.changedTouches&&Oe.changedTouches.length?{x:Oe.changedTouches[0].pageX,y:Oe.changedTouches[0].pageY}:{x:Oe.pageX,y:Oe.pageY}}function U(Oe){return Oe.touches&&Oe.touches.length||Oe.changedTouches&&Oe.changedTouches.length}function j(Oe,se){var fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!Oe)return;var Le={left:fe.left+Oe.offsetLeft,top:fe.top+Oe.offsetTop};return Oe.parentNode===se?Le:j(Oe.parentNode,se,Le)}function H(Oe,se,fe){return Oe<fe&&Oe>se?Oe-1:Oe>fe&&Oe<se?Oe+1:Oe}function W(Oe){var se=Oe.lockOffset,fe=Oe.width,Le=Oe.height,Je=se,mt=se,Ct="px";if(typeof se=="string"){var Ue=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(se);p()(Ue!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',se),Je=parseFloat(se),mt=parseFloat(se),Ct=Ue[1]}return p()(isFinite(Je)&&isFinite(mt),"lockOffset value should be a finite. Given %s",se),Ct==="%"&&(Je=Je*fe/100,mt=mt*Le/100),{x:Je,y:mt}}function X(Oe){var se=Oe.height,fe=Oe.width,Le=Oe.lockOffset,Je=Array.isArray(Le)?Le:[Le,Le];p()(Je.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",Le);var mt=Object(f.a)(Je,2),Ct=mt[0],Ue=mt[1];return[W({height:se,lockOffset:Ct,width:fe}),W({height:se,lockOffset:Ue,width:fe})]}function z(Oe){var se=window.getComputedStyle(Oe),fe=/(auto|scroll)/,Le=["overflow","overflowX","overflowY"];return Le.find(function(Je){return fe.test(se[Je])})}function G(Oe){return Oe instanceof HTMLElement?z(Oe)?Oe:G(Oe.parentNode):null}function Z(Oe){var se=window.getComputedStyle(Oe);return se.display==="grid"?{x:k(se.gridColumnGap),y:k(se.gridRowGap)}:{x:0,y:0}}var ge={TAB:9,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40},Q={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function we(Oe){var se="input, textarea, select, canvas, [contenteditable]",fe=Oe.querySelectorAll(se),Le=Oe.cloneNode(!0),Je=Object(w.a)(Le.querySelectorAll(se));return Je.forEach(function(mt,Ct){if(mt.type!=="file"&&(mt.value=fe[Ct].value),mt.type==="radio"&&mt.name&&(mt.name="__sortableClone__".concat(mt.name)),mt.tagName===Q.Canvas&&fe[Ct].width>0&&fe[Ct].height>0){var Ue=mt.getContext("2d");Ue.drawImage(fe[Ct],0,0)}}),Le}function Ee(Oe){var se,fe,Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return fe=se=function(Je){Object(a.a)(mt,Je);function mt(){return Object(m.a)(this,mt),Object(h.a)(this,Object(c.a)(mt).apply(this,arguments))}return Object(v.a)(mt,[{key:"componentDidMount",value:function(){var Ue=Object(t.findDOMNode)(this);Ue.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return p()(Le.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 Ue=Le.withRef?"wrappedInstance":null;return Object(o.createElement)(Oe,Object(g.a)({ref:Ue},this.props))}}]),mt}(o.Component),Object(r.a)(se,"displayName",P("sortableHandle",Oe)),fe}function Ae(Oe){return Oe.sortableHandle!=null}var Pe=function(){function Oe(se,fe){Object(m.a)(this,Oe),this.container=se,this.onScrollCallback=fe}return Object(v.a)(Oe,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(fe){var Le=this,Je=fe.translate,mt=fe.minTranslate,Ct=fe.maxTranslate,Ue=fe.width,Rt=fe.height,Ke={x:0,y:0},wt={x:1,y:1},Ye={x:10,y:10},et=this.container,rt=et.scrollTop,st=et.scrollLeft,Ve=et.scrollHeight,oe=et.scrollWidth,re=et.clientHeight,it=et.clientWidth,Qe=rt===0,ve=Ve-rt-re===0,Zt=st===0,dt=oe-st-it===0;Je.y>=Ct.y-Rt/2&&!ve?(Ke.y=1,wt.y=Ye.y*Math.abs((Ct.y-Rt/2-Je.y)/Rt)):Je.x>=Ct.x-Ue/2&&!dt?(Ke.x=1,wt.x=Ye.x*Math.abs((Ct.x-Ue/2-Je.x)/Ue)):Je.y<=mt.y+Rt/2&&!Qe?(Ke.y=-1,wt.y=Ye.y*Math.abs((Je.y-Rt/2-mt.y)/Rt)):Je.x<=mt.x+Ue/2&&!Zt&&(Ke.x=-1,wt.x=Ye.x*Math.abs((Je.x-Ue/2-mt.x)/Ue)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(Ke.x!==0||Ke.y!==0)&&(this.interval=setInterval(function(){Le.isAutoScrolling=!0;var ct={left:wt.x*Ke.x,top:wt.y*Ke.y};Le.container.scrollTop+=ct.top,Le.container.scrollLeft+=ct.left,Le.onScrollCallback(ct)},5))}}]),Oe}();function Ge(Oe){var se=Oe.node;return{height:se.offsetHeight,width:se.offsetWidth}}function gt(Oe){var se=[Q.Input,Q.Textarea,Q.Select,Q.Option,Q.Button];return se.indexOf(Oe.target.tagName)!==-1?!0:!!N(Oe.target,function(fe){return fe.contentEditable==="true"})}var _e={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},Ce={lift:[ge.SPACE],drop:[ge.SPACE],cancel:[ge.ESC],up:[ge.UP,ge.LEFT],down:[ge.DOWN,ge.RIGHT]},lt={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:Ge,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:Ce,shouldCancelStart:gt,transitionDuration:300,useWindowAsScrollContainer:!1},ce=Object.keys(_e);function Y(Oe){p()(!(Oe.distance&&Oe.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 V(Oe,se){try{var fe=Oe()}catch(Le){return se(!0,Le)}return fe&&fe.then?fe.then(se.bind(null,!1),se.bind(null,!0)):se(!1,value)}function $(Oe){var se,fe,Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return fe=se=function(Je){Object(a.a)(mt,Je);function mt(Ct){var Ue;return Object(m.a)(this,mt),Ue=Object(h.a)(this,Object(c.a)(mt).call(this,Ct)),Object(r.a)(Object(i.a)(Object(i.a)(Ue)),"state",{}),Object(r.a)(Object(i.a)(Object(i.a)(Ue)),"handleStart",function(Rt){var Ke=Ue.props,wt=Ke.distance,Ye=Ke.shouldCancelStart;if(Rt.button===2||Ye(Rt))return;Ue.touched=!0,Ue.position=R(Rt);var et=N(Rt.target,function(it){return it.sortableInfo!=null});if(et&&et.sortableInfo&&Ue.nodeIsChild(et)&&!Ue.state.sorting){var rt=Ue.props.useDragHandle,st=et.sortableInfo,Ve=st.index,oe=st.collection,re=st.disabled;if(re)return;if(rt&&!N(Rt.target,Ae))return;Ue.manager.active={collection:oe,index:Ve},!U(Rt)&&Rt.target.tagName===Q.Anchor&&Rt.preventDefault(),wt||(Ue.props.pressDelay===0?Ue.handlePress(Rt):Ue.pressTimer=setTimeout(function(){return Ue.handlePress(Rt)},Ue.props.pressDelay))}}),Object(r.a)(Object(i.a)(Object(i.a)(Ue)),"nodeIsChild",function(Rt){return Rt.sortableInfo.manager===Ue.manager}),Object(r.a)(Object(i.a)(Object(i.a)(Ue)),"handleMove",function(Rt){var Ke=Ue.props,wt=Ke.distance,Ye=Ke.pressThreshold;if(!Ue.state.sorting&&Ue.touched&&!Ue._awaitingUpdateBeforeSortStart){var et=R(Rt),rt={x:Ue.position.x-et.x,y:Ue.position.y-et.y},st=Math.abs(rt.x)+Math.abs(rt.y);Ue.delta=rt,!wt&&(!Ye||st>=Ye)?(clearTimeout(Ue.cancelTimer),Ue.cancelTimer=setTimeout(Ue.cancel,0)):wt&&st>=wt&&Ue.manager.isActive()&&Ue.handlePress(Rt)}}),Object(r.a)(Object(i.a)(Object(i.a)(Ue)),"handleEnd",function(){Ue.touched=!1,Ue.cancel()}),Object(r.a)(Object(i.a)(Object(i.a)(Ue)),"cancel",function(){var Rt=Ue.props.distance,Ke=Ue.state.sorting;Ke||(Rt||clearTimeout(Ue.pressTimer),Ue.manager.active=null)}),Object(r.a)(Object(i.a)(Object(i.a)(Ue)),"handlePress",function(Rt){try{var Ke=Ue.manager.getActive(),wt=function(){if(Ke){var Ye=function(){var _t=ve.sortableInfo.index,or=B(ve),Pt=Z(Ue.container),be=Ue.scrollContainer.getBoundingClientRect(),me=st({index:_t,node:ve,collection:Zt});if(Ue.node=ve,Ue.margin=or,Ue.gridGap=Pt,Ue.width=me.width,Ue.height=me.height,Ue.marginOffset={x:Ue.margin.left+Ue.margin.right+Ue.gridGap.x,y:Math.max(Ue.margin.top,Ue.margin.bottom,Ue.gridGap.y)},Ue.boundingClientRect=ve.getBoundingClientRect(),Ue.containerBoundingRect=be,Ue.index=_t,Ue.newIndex=_t,Ue.axis={x:rt.indexOf("x")>=0,y:rt.indexOf("y")>=0},Ue.offsetEdge=j(ve,Ue.container),dt?Ue.initialOffset=R(Object(y.a)({},Rt,{pageX:Ue.boundingClientRect.left,pageY:Ue.boundingClientRect.top})):Ue.initialOffset=R(Rt),Ue.initialScroll={left:Ue.scrollContainer.scrollLeft,top:Ue.scrollContainer.scrollTop},Ue.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Ue.helper=Ue.helperContainer.appendChild(we(ve)),x(Ue.helper,{boxSizing:"border-box",height:"".concat(Ue.height,"px"),left:"".concat(Ue.boundingClientRect.left-or.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Ue.boundingClientRect.top-or.top,"px"),width:"".concat(Ue.width,"px")}),dt&&Ue.helper.focus(),oe&&(Ue.sortableGhost=ve,x(ve,{opacity:0,visibility:"hidden"})),Ue.minTranslate={},Ue.maxTranslate={},dt){var pe=Qe?{top:0,left:0,width:Ue.contentWindow.innerWidth,height:Ue.contentWindow.innerHeight}:Ue.containerBoundingRect,ue=pe.top,De=pe.left,He=pe.width,ze=pe.height,Xe=ue+ze,Be=De+He;Ue.axis.x&&(Ue.minTranslate.x=De-Ue.boundingClientRect.left,Ue.maxTranslate.x=Be-(Ue.boundingClientRect.left+Ue.width)),Ue.axis.y&&(Ue.minTranslate.y=ue-Ue.boundingClientRect.top,Ue.maxTranslate.y=Xe-(Ue.boundingClientRect.top+Ue.height))}else Ue.axis.x&&(Ue.minTranslate.x=(Qe?0:be.left)-Ue.boundingClientRect.left-Ue.width/2,Ue.maxTranslate.x=(Qe?Ue.contentWindow.innerWidth:be.left+be.width)-Ue.boundingClientRect.left-Ue.width/2),Ue.axis.y&&(Ue.minTranslate.y=(Qe?0:be.top)-Ue.boundingClientRect.top-Ue.height/2,Ue.maxTranslate.y=(Qe?Ue.contentWindow.innerHeight:be.top+be.height)-Ue.boundingClientRect.top-Ue.height/2);Ve&&Ve.split(" ").forEach(function(nt){return Ue.helper.classList.add(nt)}),Ue.listenerNode=Rt.touches?ve:Ue.contentWindow,dt?(Ue.listenerNode.addEventListener("wheel",Ue.handleKeyEnd,!0),Ue.listenerNode.addEventListener("mousedown",Ue.handleKeyEnd,!0),Ue.listenerNode.addEventListener("keydown",Ue.handleKeyDown)):(T.move.forEach(function(nt){return Ue.listenerNode.addEventListener(nt,Ue.handleSortMove,!1)}),T.end.forEach(function(nt){return Ue.listenerNode.addEventListener(nt,Ue.handleSortEnd,!1)})),Ue.setState({sorting:!0,sortingIndex:_t}),it&&it({node:ve,index:_t,collection:Zt,isKeySorting:dt,nodes:Ue.manager.getOrderedRefs(),helper:Ue.helper},Rt),dt&&Ue.keyMove(0)},et=Ue.props,rt=et.axis,st=et.getHelperDimensions,Ve=et.helperClass,oe=et.hideSortableGhost,re=et.updateBeforeSortStart,it=et.onSortStart,Qe=et.useWindowAsScrollContainer,ve=Ke.node,Zt=Ke.collection,dt=Ue.manager.isKeySorting,ct=function(){if(typeof re=="function"){Ue._awaitingUpdateBeforeSortStart=!0;var yt=V(function(){var _t=ve.sortableInfo.index;return Promise.resolve(re({collection:Zt,index:_t,node:ve,isKeySorting:dt},Rt)).then(function(){})},function(_t,or){if(Ue._awaitingUpdateBeforeSortStart=!1,_t)throw or;return or});if(yt&&yt.then)return yt.then(function(){})}}();return ct&&ct.then?ct.then(Ye):Ye(ct)}}();return Promise.resolve(wt&&wt.then?wt.then(function(){}):void 0)}catch(Ye){return Promise.reject(Ye)}}),Object(r.a)(Object(i.a)(Object(i.a)(Ue)),"handleSortMove",function(Rt){var Ke=Ue.props.onSortMove;typeof Rt.preventDefault=="function"&&Rt.preventDefault(),Ue.updateHelperPosition(Rt),Ue.animateNodes(),Ue.autoscroll(),Ke&&Ke(Rt)}),Object(r.a)(Object(i.a)(Object(i.a)(Ue)),"handleSortEnd",function(Rt){var Ke=Ue.props,wt=Ke.hideSortableGhost,Ye=Ke.onSortEnd,et=Ue.manager,rt=et.active.collection,st=et.isKeySorting,Ve=Ue.manager.getOrderedRefs();Ue.listenerNode&&(st?(Ue.listenerNode.removeEventListener("wheel",Ue.handleKeyEnd,!0),Ue.listenerNode.removeEventListener("mousedown",Ue.handleKeyEnd,!0),Ue.listenerNode.removeEventListener("keydown",Ue.handleKeyDown)):(T.move.forEach(function(ve){return Ue.listenerNode.removeEventListener(ve,Ue.handleSortMove)}),T.end.forEach(function(ve){return Ue.listenerNode.removeEventListener(ve,Ue.handleSortEnd)}))),Ue.helper.parentNode.removeChild(Ue.helper),wt&&Ue.sortableGhost&&x(Ue.sortableGhost,{opacity:"",visibility:""});for(var oe=0,re=Ve.length;oe<re;oe++){var it=Ve[oe],Qe=it.node;it.edgeOffset=null,it.boundingClientRect=null,C(Qe,null),I(Qe,null),it.translate=null}Ue.autoScroller.clear(),Ue.manager.active=null,Ue.manager.isKeySorting=!1,Ue.setState({sorting:!1,sortingIndex:null}),typeof Ye=="function"&&Ye({collection:rt,newIndex:Ue.newIndex,oldIndex:Ue.index,isKeySorting:st,nodes:Ve},Rt),Ue.touched=!1}),Object(r.a)(Object(i.a)(Object(i.a)(Ue)),"autoscroll",function(){var Rt=Ue.props.disableAutoscroll,Ke=Ue.manager.isKeySorting;if(Rt){Ue.autoScroller.clear();return}if(Ke){var wt=Object(y.a)({},Ue.translate),Ye=0,et=0;Ue.axis.x&&(wt.x=Math.min(Ue.maxTranslate.x,Math.max(Ue.minTranslate.x,Ue.translate.x)),Ye=Ue.translate.x-wt.x),Ue.axis.y&&(wt.y=Math.min(Ue.maxTranslate.y,Math.max(Ue.minTranslate.y,Ue.translate.y)),et=Ue.translate.y-wt.y),Ue.translate=wt,C(Ue.helper,Ue.translate),Ue.scrollContainer.scrollLeft+=Ye,Ue.scrollContainer.scrollTop+=et;return}Ue.autoScroller.update({height:Ue.height,maxTranslate:Ue.maxTranslate,minTranslate:Ue.minTranslate,translate:Ue.translate,width:Ue.width})}),Object(r.a)(Object(i.a)(Object(i.a)(Ue)),"onAutoScroll",function(Rt){Ue.translate.x+=Rt.left,Ue.translate.y+=Rt.top,Ue.animateNodes()}),Object(r.a)(Object(i.a)(Object(i.a)(Ue)),"handleKeyDown",function(Rt){var Ke=Rt.keyCode,wt=Ue.props,Ye=wt.shouldCancelStart,et=wt.keyCodes,rt=et===void 0?{}:et,st=Object(y.a)({},Ce,rt);if(Ue.manager.active&&!Ue.manager.isKeySorting||!Ue.manager.active&&(!st.lift.includes(Ke)||Ye(Rt)||!Ue.isValidSortingTarget(Rt)))return;Rt.stopPropagation(),Rt.preventDefault(),st.lift.includes(Ke)&&!Ue.manager.active?Ue.keyLift(Rt):st.drop.includes(Ke)&&Ue.manager.active?Ue.keyDrop(Rt):st.cancel.includes(Ke)?(Ue.newIndex=Ue.manager.active.index,Ue.keyDrop(Rt)):st.up.includes(Ke)?Ue.keyMove(-1):st.down.includes(Ke)&&Ue.keyMove(1)}),Object(r.a)(Object(i.a)(Object(i.a)(Ue)),"keyLift",function(Rt){var Ke=Rt.target,wt=N(Ke,function(st){return st.sortableInfo!=null}),Ye=wt.sortableInfo,et=Ye.index,rt=Ye.collection;Ue.initialFocusedNode=Ke,Ue.manager.isKeySorting=!0,Ue.manager.active={index:et,collection:rt},Ue.handlePress(Rt)}),Object(r.a)(Object(i.a)(Object(i.a)(Ue)),"keyMove",function(Rt){var Ke=Ue.manager.getOrderedRefs(),wt=Ke[Ke.length-1].node.sortableInfo.index,Ye=Ue.newIndex+Rt,et=Ue.newIndex;if(Ye<0||Ye>wt)return;Ue.prevIndex=et,Ue.newIndex=Ye;var rt=H(Ue.newIndex,Ue.prevIndex,Ue.index),st=Ke.find(function(dt){var ct=dt.node;return ct.sortableInfo.index===rt}),Ve=st.node,oe=Ue.containerScrollDelta,re=st.boundingClientRect||K(Ve,oe),it=st.translate||{x:0,y:0},Qe={top:re.top+it.y-oe.top,left:re.left+it.x-oe.left},ve=et<Ye,Zt={x:ve&&Ue.axis.x?Ve.offsetWidth-Ue.width:0,y:ve&&Ue.axis.y?Ve.offsetHeight-Ue.height:0};Ue.handleSortMove({pageX:Qe.left+Zt.x,pageY:Qe.top+Zt.y,ignoreTransition:Rt===0})}),Object(r.a)(Object(i.a)(Object(i.a)(Ue)),"keyDrop",function(Rt){Ue.handleSortEnd(Rt),Ue.initialFocusedNode&&Ue.initialFocusedNode.focus()}),Object(r.a)(Object(i.a)(Object(i.a)(Ue)),"handleKeyEnd",function(Rt){Ue.manager.active&&Ue.keyDrop(Rt)}),Object(r.a)(Object(i.a)(Object(i.a)(Ue)),"isValidSortingTarget",function(Rt){var Ke=Ue.props.useDragHandle,wt=Rt.target,Ye=N(wt,function(et){return et.sortableInfo!=null});return Ye&&Ye.sortableInfo&&!Ye.sortableInfo.disabled&&(Ke?Ae(wt):wt.sortableInfo)}),Y(Ct),Ue.manager=new b,Ue.events={end:Ue.handleEnd,move:Ue.handleMove,start:Ue.handleStart},Ue}return Object(v.a)(mt,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var Ue=this,Rt=this.props.useWindowAsScrollContainer,Ke=this.getContainer();Promise.resolve(Ke).then(function(wt){Ue.container=wt,Ue.document=Ue.container.ownerDocument||document;var Ye=Ue.props.contentWindow||Ue.document.defaultView||window;Ue.contentWindow=typeof Ye=="function"?Ye():Ye,Ue.scrollContainer=Rt?Ue.document.scrollingElement||Ue.document.documentElement:G(Ue.container)||Ue.container,Ue.autoScroller=new Pe(Ue.scrollContainer,Ue.onAutoScroll),Object.keys(Ue.events).forEach(function(et){return T[et].forEach(function(rt){return Ue.container.addEventListener(rt,Ue.events[et],!1)})}),Ue.container.addEventListener("keydown",Ue.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var Ue=this;if(this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),!this.container)return;Object.keys(this.events).forEach(function(Rt){return T[Rt].forEach(function(Ke){return Ue.container.removeEventListener(Ke,Ue.events[Rt])})}),this.container.removeEventListener("keydown",this.handleKeyDown)}},{key:"updateHelperPosition",value:function(Ue){var Rt=this.props,Ke=Rt.lockAxis,wt=Rt.lockOffset,Ye=Rt.lockToContainerEdges,et=Rt.transitionDuration,rt=Rt.keyboardSortingTransitionDuration,st=rt===void 0?et:rt,Ve=this.manager.isKeySorting,oe=Ue.ignoreTransition,re=R(Ue),it={x:re.x-this.initialOffset.x,y:re.y-this.initialOffset.y};if(it.y-=window.pageYOffset-this.initialWindowScroll.top,it.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=it,Ye){var Qe=X({height:this.height,lockOffset:wt,width:this.width}),ve=Object(f.a)(Qe,2),Zt=ve[0],dt=ve[1],ct={x:this.width/2-Zt.x,y:this.height/2-Zt.y},yt={x:this.width/2-dt.x,y:this.height/2-dt.y};it.x=F(this.minTranslate.x+ct.x,this.maxTranslate.x-yt.x,it.x),it.y=F(this.minTranslate.y+ct.y,this.maxTranslate.y-yt.y,it.y)}Ke==="x"?it.y=0:Ke==="y"&&(it.x=0),Ve&&st&&!oe&&I(this.helper,st),C(this.helper,it)}},{key:"animateNodes",value:function(){var Ue=this.props,Rt=Ue.transitionDuration,Ke=Ue.hideSortableGhost,wt=Ue.onSortOver,Ye=this.containerScrollDelta,et=this.windowScrollDelta,rt=this.manager.getOrderedRefs(),st={left:this.offsetEdge.left+this.translate.x+Ye.left,top:this.offsetEdge.top+this.translate.y+Ye.top},Ve=this.manager.isKeySorting,oe=this.newIndex;this.newIndex=null;for(var re=0,it=rt.length;re<it;re++){var Qe=rt[re].node,ve=Qe.sortableInfo.index,Zt=Qe.offsetWidth,dt=Qe.offsetHeight,ct={height:this.height>dt?dt/2:this.height/2,width:this.width>Zt?Zt/2:this.width/2},yt=Ve&&ve>this.index&&ve<=oe,_t=Ve&&ve<this.index&&ve>=oe,or={x:0,y:0},Pt=rt[re].edgeOffset;Pt||(Pt=j(Qe,this.container),rt[re].edgeOffset=Pt,Ve&&(rt[re].boundingClientRect=K(Qe,Ye)));var be=re<rt.length-1&&rt[re+1],me=re>0&&rt[re-1];if(be&&!be.edgeOffset&&(be.edgeOffset=j(be.node,this.container),Ve&&(be.boundingClientRect=K(be.node,Ye))),ve===this.index){Ke&&(this.sortableGhost=Qe,x(Qe,{opacity:0,visibility:"hidden"}));continue}Rt&&I(Qe,Rt),this.axis.x?this.axis.y?_t||ve<this.index&&(st.left+et.left-ct.width<=Pt.left&&st.top+et.top<=Pt.top+ct.height||st.top+et.top+ct.height<=Pt.top)?(or.x=this.width+this.marginOffset.x,Pt.left+or.x>this.containerBoundingRect.width-ct.width&&(be&&(or.x=be.edgeOffset.left-Pt.left,or.y=be.edgeOffset.top-Pt.top)),this.newIndex===null&&(this.newIndex=ve)):(yt||ve>this.index&&(st.left+et.left+ct.width>=Pt.left&&st.top+et.top+ct.height>=Pt.top||st.top+et.top+ct.height>=Pt.top+dt))&&(or.x=-(this.width+this.marginOffset.x),Pt.left+or.x<this.containerBoundingRect.left+ct.width&&(me&&(or.x=me.edgeOffset.left-Pt.left,or.y=me.edgeOffset.top-Pt.top)),this.newIndex=ve):yt||ve>this.index&&st.left+et.left+ct.width>=Pt.left?(or.x=-(this.width+this.marginOffset.x),this.newIndex=ve):(_t||ve<this.index&&st.left+et.left<=Pt.left+ct.width)&&(or.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=ve)):this.axis.y&&(yt||ve>this.index&&st.top+et.top+ct.height>=Pt.top?(or.y=-(this.height+this.marginOffset.y),this.newIndex=ve):(_t||ve<this.index&&st.top+et.top<=Pt.top+ct.height)&&(or.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=ve))),C(Qe,or),rt[re].translate=or}this.newIndex==null&&(this.newIndex=this.index),Ve&&(this.newIndex=oe);var pe=Ve?this.prevIndex:oe;wt&&this.newIndex!==pe&&wt({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:pe,isKeySorting:Ve,nodes:rt,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return p()(Le.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 Ue=this.props.getContainer;return typeof Ue!="function"?Object(t.findDOMNode)(this):Ue(Le.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var Ue=Le.withRef?"wrappedInstance":null;return Object(o.createElement)(Oe,Object(g.a)({ref:Ue},S(this.props,ce)))}},{key:"helperContainer",get:function(){var Ue=this.props.helperContainer;return typeof Ue=="function"?Ue():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var Ue=this.props.useWindowAsScrollContainer;return Ue?{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}}}]),mt}(o.Component),Object(r.a)(se,"displayName",P("sortableList",Oe)),Object(r.a)(se,"defaultProps",lt),Object(r.a)(se,"propTypes",_e),Object(r.a)(se,"childContextTypes",{manager:l.a.object.isRequired}),fe}var Te={index:l.a.number.isRequired,collection:l.a.oneOfType([l.a.number,l.a.string]),disabled:l.a.bool},ye=Object.keys(Te);function Fe(Oe){var se,fe,Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return fe=se=function(Je){Object(a.a)(mt,Je);function mt(){return Object(m.a)(this,mt),Object(h.a)(this,Object(c.a)(mt).apply(this,arguments))}return Object(v.a)(mt,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Ue){this.node&&(Ue.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Ue.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Ue.collection!==this.props.collection&&(this.unregister(Ue.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Ue=this.props,Rt=Ue.collection,Ke=Ue.disabled,wt=Ue.index,Ye=Object(t.findDOMNode)(this);Ye.sortableInfo={collection:Rt,disabled:Ke,index:wt,manager:this.context.manager},this.node=Ye,this.ref={node:Ye},this.context.manager.add(Rt,this.ref)}},{key:"unregister",value:function(){var Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Ue,this.ref)}},{key:"getWrappedInstance",value:function(){return p()(Le.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 Ue=Le.withRef?"wrappedInstance":null;return Object(o.createElement)(Oe,Object(g.a)({ref:Ue},S(this.props,ye)))}}]),mt}(o.Component),Object(r.a)(se,"displayName",P("sortableElement",Oe)),Object(r.a)(se,"contextTypes",{manager:l.a.object.isRequired}),Object(r.a)(se,"propTypes",Te),Object(r.a)(se,"defaultProps",{collection:0}),fe}},YNAk:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("QyFq")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="CaretDownFilled";var c=y.forwardRef(h);_.default=c},YNf1:function(D,_,e){var g=e("IwbS"),f=e("6Ic6"),y=.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,u=d.getData(),p=this._data,w=d.coordinateSystem,b=w.dimensions,E=a(d);u.diff(p).add(A).update(S).remove(T).execute();function A(x){var C=c(u,s,x,b,w);i(C,u,x,E)}function S(x,C){var I=p.getItemGraphicEl(C),N=h(u,x,b,w);u.setItemGraphicEl(x,I);var F=t&&t.animation===!1?null:d;g.updateProps(I,{shape:{points:N}},F,x),i(I,u,x,E)}function T(x){var C=p.getItemGraphicEl(x);s.remove(C)}if(!this._initialized){this._initialized=!0;var L=v(w,d,function(){setTimeout(function(){s.removeClipPath()})});s.setClipPath(L)}this._data=u},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,u=s.dimensions,p=a(n),w=d.start;w<d.end;w++){var b=c(t,this._dataGroup,w,u,s);b.incremental=!0,i(b,t,w,p)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function v(d,n,l){var t=d.model,s=d.getRect(),u=new g.Rect({shape:{x:s.x,y:s.y,width:s.width,height:s.height}}),p=t.get("layout")==="horizontal"?"width":"height";return u.setShape(p,0),g.initProps(u,{shape:{width:s.width,height:s.height}},n,l),u}function h(d,n,l,t){for(var s=[],u=0;u<l.length;u++){var p=l[u],w=d.get(d.mapDimension(p),n);r(w,t.getAxis(p).type)||s.push(t.dataToPoint(w,p))}return s}function c(d,n,l,t,s){var u=h(d,l,t,s),p=new g.Polyline({shape:{points:u},silent:!0,z2:10});return n.add(p),d.setItemGraphicEl(l,p),p}function a(d){var n=d.get("smooth",!0);return n===!0&&(n=y),{lineStyle:d.getModel("lineStyle").getLineStyle(),smooth:n!=null?n:y}}function i(d,n,l,t){var s=t.lineStyle;if(n.hasItemOption){var u=n.getItemModel(l).getModel("lineStyle");s=u.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;D.exports=o},YOMW:function(D,_,e){var g=e("bYtY"),f={get:function(v,h,c){var a=g.clone((y[v]||{})[h]);return c&&g.isArray(a)?a[a.length-1]:a}},y={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},m=f;D.exports=m},YXkt:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=e("Qxkt"),v=e("gPAo"),h=e("7G+c"),c=e("KxfA"),a=c.defaultDimValueGetters,i=c.DefaultDataProvider,r=e("L0Ub"),o=r.summarizeDimensions,d=e("Vi4m"),n=y.isObject,l="undefined",t=-1,s="e\0\0",u={float:typeof Float64Array===l?Array:Float64Array,int:typeof Int32Array===l?Array:Int32Array,ordinal:Array,number:Array,time:Array},p=typeof Uint32Array===l?Array:Uint32Array,w=typeof Int32Array===l?Array:Int32Array,b=typeof Uint16Array===l?Array:Uint16Array;function E(z){return z._rawCount>65535?p:b}function A(z){var G=z.constructor;return G===Array?z.slice():new G(z)}var S=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],T=["_extent","_approximateExtent","_rawExtent"];function L(z,G){y.each(S.concat(G.__wrappedMethods||[]),function(Z){G.hasOwnProperty(Z)&&(z[Z]=G[Z])}),z.__wrappedMethods=G.__wrappedMethods,y.each(T,function(Z){z[Z]=y.clone(G[Z])}),z._calculationInfo=y.extend(G._calculationInfo)}var x=function(z,G){z=z||["x","y"];for(var Z={},ge=[],Q={},we=0;we<z.length;we++){var Ee=z[we];y.isString(Ee)?Ee=new d({name:Ee}):Ee instanceof d||(Ee=new d(Ee));var Ae=Ee.name;Ee.type=Ee.type||"float",Ee.coordDim||(Ee.coordDim=Ae,Ee.coordDimIndex=0),Ee.otherDims=Ee.otherDims||{},ge.push(Ae),Z[Ae]=Ee,Ee.index=we,Ee.createInvertedIndices&&(Q[Ae]=[])}this.dimensions=ge,this._dimensionInfos=Z,this.hostModel=G,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=Q,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},C=x.prototype;C.type="list",C.hasItemOption=!0,C.getDimension=function(z){return(typeof z=="number"||!isNaN(z)&&!this._dimensionInfos.hasOwnProperty(z))&&(z=this.dimensions[z]),z},C.getDimensionInfo=function(z){return this._dimensionInfos[this.getDimension(z)]},C.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},C.mapDimension=function(z,G){var Z=this._dimensionsSummary;if(G==null)return Z.encodeFirstDimNotExtra[z];var ge=Z.encode[z];return G===!0?(ge||[]).slice():ge&&ge[G]},C.initData=function(z,G,Z){var ge=h.isInstance(z)||y.isArrayLike(z);ge&&(z=new i(z,this.dimensions.length)),this._rawData=z,this._storage={},this._indices=null,this._nameList=G||[],this._idList=[],this._nameRepeatCount={},Z||(this.hasItemOption=!1),this.defaultDimValueGetter=a[this._rawData.getSource().sourceFormat],this._dimValueGetter=Z=Z||this.defaultDimValueGetter,this._dimValueGetterArrayRows=a.arrayRows,this._rawExtent={},this._initDataFromProvider(0,z.count()),z.pure&&(this.hasItemOption=!1)},C.getProvider=function(){return this._rawData},C.appendData=function(z){var G=this._rawData,Z=this.count();G.appendData(z);var ge=G.count();G.persistent||(ge+=Z),this._initDataFromProvider(Z,ge)},C.appendValues=function(z,G){for(var Z=this._chunkSize,ge=this._storage,Q=this.dimensions,we=Q.length,Ee=this._rawExtent,Ae=this.count(),Pe=Ae+Math.max(z.length,G?G.length:0),Ge=this._chunkCount,gt=0;gt<we;gt++){var _e=Q[gt];Ee[_e]||(Ee[_e]=H()),ge[_e]||(ge[_e]=[]),I(ge,this._dimensionInfos[_e],Z,Ge,Pe),this._chunkCount=ge[_e].length}for(var Ce=new Array(we),lt=Ae;lt<Pe;lt++){for(var ce=lt-Ae,Y=Math.floor(lt/Z),V=lt%Z,$=0;$<we;$++){var _e=Q[$],Te=this._dimValueGetterArrayRows(z[ce]||Ce,_e,ce,$);ge[_e][Y][V]=Te;var ye=Ee[_e];Te<ye[0]&&(ye[0]=Te),Te>ye[1]&&(ye[1]=Te)}G&&(this._nameList[lt]=G[ce])}this._rawCount=this._count=Pe,this._extent={},N(this)},C._initDataFromProvider=function(z,G){if(z>=G)return;for(var Z=this._chunkSize,ge=this._rawData,Q=this._storage,we=this.dimensions,Ee=we.length,Ae=this._dimensionInfos,Pe=this._nameList,Ge=this._idList,gt=this._rawExtent,_e=this._nameRepeatCount={},Ce,lt=this._chunkCount,ce=0;ce<Ee;ce++){var Y=we[ce];gt[Y]||(gt[Y]=H());var V=Ae[Y];V.otherDims.itemName===0&&(Ce=this._nameDimIdx=ce),V.otherDims.itemId===0&&(this._idDimIdx=ce),Q[Y]||(Q[Y]=[]),I(Q,V,Z,lt,G),this._chunkCount=Q[Y].length}for(var $=new Array(Ee),Te=z;Te<G;Te++){$=ge.getItem(Te,$);for(var ye=Math.floor(Te/Z),Fe=Te%Z,Oe=0;Oe<Ee;Oe++){var Y=we[Oe],se=Q[Y][ye],fe=this._dimValueGetter($,Y,Te,Oe);se[Fe]=fe;var Le=gt[Y];fe<Le[0]&&(Le[0]=fe),fe>Le[1]&&(Le[1]=fe)}if(!ge.pure){var Je=Pe[Te];if($&&Je==null){if($.name!=null)Pe[Te]=Je=$.name;else if(Ce!=null){var mt=we[Ce],Ct=Q[mt][ye];if(Ct){Je=Ct[Fe];var Ue=Ae[mt].ordinalMeta;Ue&&Ue.categories.length&&(Je=Ue.categories[Je])}}}var Rt=$==null?null:$.id;Rt==null&&Je!=null&&(_e[Je]=_e[Je]||0,Rt=Je,_e[Je]>0&&(Rt+="__ec__"+_e[Je]),_e[Je]++),Rt!=null&&(Ge[Te]=Rt)}}!ge.persistent&&ge.clean&&ge.clean(),this._rawCount=this._count=G,this._extent={},N(this)};function I(z,G,Z,ge,Q){var we=u[G.type],Ee=ge-1,Ae=G.name,Pe=z[Ae][Ee];if(Pe&&Pe.length<Z){for(var Ge=new we(Math.min(Q-Ee*Z,Z)),gt=0;gt<Pe.length;gt++)Ge[gt]=Pe[gt];z[Ae][Ee]=Ge}for(var _e=ge*Z;_e<Q;_e+=Z)z[Ae].push(new we(Math.min(Q-_e,Z)))}function N(z){var G=z._invertedIndicesMap;y.each(G,function(Z,ge){var Q=z._dimensionInfos[ge],we=Q.ordinalMeta;if(we){Z=G[ge]=new w(we.categories.length);for(var Ee=0;Ee<Z.length;Ee++)Z[Ee]=t;for(var Ee=0;Ee<z._count;Ee++)Z[z.get(ge,Ee)]=Ee}})}function F(z,G,Z){var ge;if(G!=null){var Q=z._chunkSize,we=Math.floor(Z/Q),Ee=Z%Q,Ae=z.dimensions[G],Pe=z._storage[Ae][we];if(Pe){ge=Pe[Ee];var Ge=z._dimensionInfos[Ae].ordinalMeta;Ge&&Ge.categories.length&&(ge=Ge.categories[ge])}}return ge}C.count=function(){return this._count},C.getIndices=function(){var z,G=this._indices;if(G){var Z=G.constructor,ge=this._count;if(Z===Array){z=new Z(ge);for(var Q=0;Q<ge;Q++)z[Q]=G[Q]}else z=new Z(G.buffer,0,ge)}else for(var Z=E(this),z=new Z(this.count()),Q=0;Q<z.length;Q++)z[Q]=Q;return z},C.get=function(z,G){if(!(G>=0&&G<this._count))return NaN;var Z=this._storage;if(!Z[z])return NaN;G=this.getRawIndex(G);var ge=Math.floor(G/this._chunkSize),Q=G%this._chunkSize,we=Z[z][ge],Ee=we[Q];return Ee},C.getByRawIndex=function(z,G){if(!(G>=0&&G<this._rawCount))return NaN;var Z=this._storage[z];if(!Z)return NaN;var ge=Math.floor(G/this._chunkSize),Q=G%this._chunkSize,we=Z[ge];return we[Q]},C._getFast=function(z,G){var Z=Math.floor(G/this._chunkSize),ge=G%this._chunkSize,Q=this._storage[z][Z];return Q[ge]},C.getValues=function(z,G){var Z=[];y.isArray(z)||(G=z,z=this.dimensions);for(var ge=0,Q=z.length;ge<Q;ge++)Z.push(this.get(z[ge],G));return Z},C.hasValue=function(z){for(var G=this._dimensionsSummary.dataDimsOnCoord,Z=0,ge=G.length;Z<ge;Z++)if(isNaN(this.get(G[Z],z)))return!1;return!0},C.getDataExtent=function(z){z=this.getDimension(z);var G=this._storage[z],Z=H();if(!G)return Z;var ge=this.count(),Q=!this._indices,we;if(Q)return this._rawExtent[z].slice();if(we=this._extent[z],we)return we.slice();we=Z;for(var Ee=we[0],Ae=we[1],Pe=0;Pe<ge;Pe++){var Ge=this._getFast(z,this.getRawIndex(Pe));Ge<Ee&&(Ee=Ge),Ge>Ae&&(Ae=Ge)}return we=[Ee,Ae],this._extent[z]=we,we},C.getApproximateExtent=function(z){return z=this.getDimension(z),this._approximateExtent[z]||this.getDataExtent(z)},C.setApproximateExtent=function(z,G){G=this.getDimension(G),this._approximateExtent[G]=z.slice()},C.getCalculationInfo=function(z){return this._calculationInfo[z]},C.setCalculationInfo=function(z,G){n(z)?y.extend(this._calculationInfo,z):this._calculationInfo[z]=G},C.getSum=function(z){var G=this._storage[z],Z=0;if(G)for(var ge=0,Q=this.count();ge<Q;ge++){var we=this.get(z,ge);isNaN(we)||(Z+=we)}return Z},C.getMedian=function(z){var G=[];this.each(z,function(Q,we){isNaN(Q)||G.push(Q)});var Z=[].concat(G).sort(function(Q,we){return Q-we}),ge=this.count();return ge===0?0:ge%2===1?Z[(ge-1)/2]:(Z[ge/2]+Z[ge/2-1])/2},C.rawIndexOf=function(z,G){var Z=z&&this._invertedIndicesMap[z],ge=Z[G];return ge==null||isNaN(ge)?t:ge},C.indexOfName=function(z){for(var G=0,Z=this.count();G<Z;G++)if(this.getName(G)===z)return G;return-1},C.indexOfRawIndex=function(z){if(z>=this._rawCount||z<0)return-1;if(!this._indices)return z;var G=this._indices,Z=G[z];if(Z!=null&&Z<this._count&&Z===z)return z;for(var ge=0,Q=this._count-1;ge<=Q;){var we=(ge+Q)/2|0;if(G[we]<z)ge=we+1;else if(G[we]>z)Q=we-1;else return we}return-1},C.indicesOfNearest=function(z,G,Z){var ge=this._storage,Q=ge[z],we=[];if(!Q)return we;Z==null&&(Z=Infinity);for(var Ee=Infinity,Ae=-1,Pe=0,Ge=0,gt=this.count();Ge<gt;Ge++){var _e=G-this.get(z,Ge),Ce=Math.abs(_e);Ce<=Z&&((Ce<Ee||Ce===Ee&&_e>=0&&Ae<0)&&(Ee=Ce,Ae=_e,Pe=0),_e===Ae&&(we[Pe++]=Ge))}return we.length=Pe,we},C.getRawIndex=k;function k(z){return z}function B(z){return z<this._count&&z>=0?this._indices[z]:-1}C.getRawDataItem=function(z){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(z));for(var G=[],Z=0;Z<this.dimensions.length;Z++){var ge=this.dimensions[Z];G.push(this.get(ge,z))}return G},C.getName=function(z){var G=this.getRawIndex(z);return this._nameList[G]||F(this,this._nameDimIdx,G)||""},C.getId=function(z){return P(this,this.getRawIndex(z))};function P(z,G){var Z=z._idList[G];return Z==null&&(Z=F(z,z._idDimIdx,G)),Z==null&&(Z=s+G),Z}function K(z){return y.isArray(z)||(z=[z]),z}function R(z,G){for(var Z=0;Z<G.length;Z++)z._dimensionInfos[G[Z]]||console.error("Unkown dimension "+G[Z])}C.each=function(z,G,Z,ge){"use strict";if(!this._count)return;typeof z=="function"&&(ge=Z,Z=G,G=z,z=[]),Z=Z||ge||this,z=y.map(K(z),this.getDimension,this);for(var Q=z.length,we=0;we<this.count();we++)switch(Q){case 0:G.call(Z,we);break;case 1:G.call(Z,this.get(z[0],we),we);break;case 2:G.call(Z,this.get(z[0],we),this.get(z[1],we),we);break;default:for(var Ee=0,Ae=[];Ee<Q;Ee++)Ae[Ee]=this.get(z[Ee],we);Ae[Ee]=we,G.apply(Z,Ae)}},C.filterSelf=function(z,G,Z,ge){"use strict";if(!this._count)return;typeof z=="function"&&(ge=Z,Z=G,G=z,z=[]),Z=Z||ge||this,z=y.map(K(z),this.getDimension,this);for(var Q=this.count(),we=E(this),Ee=new we(Q),Ae=[],Pe=z.length,Ge=0,gt=z[0],_e=0;_e<Q;_e++){var Ce,lt=this.getRawIndex(_e);if(Pe===0)Ce=G.call(Z,_e);else if(Pe===1){var ce=this._getFast(gt,lt);Ce=G.call(Z,ce,_e)}else{for(var Y=0;Y<Pe;Y++)Ae[Y]=this._getFast(gt,lt);Ae[Y]=_e,Ce=G.apply(Z,Ae)}Ce&&(Ee[Ge++]=lt)}return Ge<Q&&(this._indices=Ee),this._count=Ge,this._extent={},this.getRawIndex=this._indices?B:k,this},C.selectRange=function(z){"use strict";if(!this._count)return;var G=[];for(var Z in z)z.hasOwnProperty(Z)&&G.push(Z);var ge=G.length;if(!ge)return;var Q=this.count(),we=E(this),Ee=new we(Q),Ae=0,Pe=G[0],Ge=z[Pe][0],gt=z[Pe][1],_e=!1;if(!this._indices){var Ce=0;if(ge===1){for(var lt=this._storage[G[0]],ce=0;ce<this._chunkCount;ce++)for(var Y=lt[ce],V=Math.min(this._count-ce*this._chunkSize,this._chunkSize),$=0;$<V;$++){var Te=Y[$];(Te>=Ge&&Te<=gt||isNaN(Te))&&(Ee[Ae++]=Ce),Ce++}_e=!0}else if(ge===2){for(var lt=this._storage[Pe],ye=this._storage[G[1]],Fe=z[G[1]][0],Oe=z[G[1]][1],ce=0;ce<this._chunkCount;ce++)for(var Y=lt[ce],se=ye[ce],V=Math.min(this._count-ce*this._chunkSize,this._chunkSize),$=0;$<V;$++){var Te=Y[$],fe=se[$];(Te>=Ge&&Te<=gt||isNaN(Te))&&(fe>=Fe&&fe<=Oe||isNaN(fe))&&(Ee[Ae++]=Ce),Ce++}_e=!0}}if(!_e)if(ge===1)for(var $=0;$<Q;$++){var Le=this.getRawIndex($),Te=this._getFast(Pe,Le);(Te>=Ge&&Te<=gt||isNaN(Te))&&(Ee[Ae++]=Le)}else for(var $=0;$<Q;$++){for(var Je=!0,Le=this.getRawIndex($),ce=0;ce<ge;ce++){var mt=G[ce],Te=this._getFast(Z,Le);(Te<z[mt][0]||Te>z[mt][1])&&(Je=!1)}Je&&(Ee[Ae++]=this.getRawIndex($))}return Ae<Q&&(this._indices=Ee),this._count=Ae,this._extent={},this.getRawIndex=this._indices?B:k,this},C.mapArray=function(z,G,Z,ge){"use strict";typeof z=="function"&&(ge=Z,Z=G,G=z,z=[]),Z=Z||ge||this;var Q=[];return this.each(z,function(){Q.push(G&&G.apply(this,arguments))},Z),Q};function U(z,G){var Z=z.dimensions,ge=new x(y.map(Z,z.getDimensionInfo,z),z.hostModel);L(ge,z);for(var Q=ge._storage={},we=z._storage,Ee=0;Ee<Z.length;Ee++){var Ae=Z[Ee];we[Ae]&&(y.indexOf(G,Ae)>=0?(Q[Ae]=j(we[Ae]),ge._rawExtent[Ae]=H(),ge._extent[Ae]=null):Q[Ae]=we[Ae])}return ge}function j(z){for(var G=new Array(z.length),Z=0;Z<z.length;Z++)G[Z]=A(z[Z]);return G}function H(){return[Infinity,-Infinity]}C.map=function(z,G,Z,ge){"use strict";Z=Z||ge||this,z=y.map(K(z),this.getDimension,this);var Q=U(this,z);Q._indices=this._indices,Q.getRawIndex=Q._indices?B:k;for(var we=Q._storage,Ee=[],Ae=this._chunkSize,Pe=z.length,Ge=this.count(),gt=[],_e=Q._rawExtent,Ce=0;Ce<Ge;Ce++){for(var lt=0;lt<Pe;lt++)gt[lt]=this.get(z[lt],Ce);gt[Pe]=Ce;var ce=G&&G.apply(Z,gt);if(ce!=null){typeof ce!="object"&&(Ee[0]=ce,ce=Ee);for(var Y=this.getRawIndex(Ce),V=Math.floor(Y/Ae),$=Y%Ae,Te=0;Te<ce.length;Te++){var ye=z[Te],Fe=ce[Te],Oe=_e[ye],se=we[ye];se&&(se[V][$]=Fe),Fe<Oe[0]&&(Oe[0]=Fe),Fe>Oe[1]&&(Oe[1]=Fe)}}}return Q},C.downSample=function(z,G,Z,ge){for(var Q=U(this,[z]),we=Q._storage,Ee=[],Ae=Math.floor(1/G),Pe=we[z],Ge=this.count(),gt=this._chunkSize,_e=Q._rawExtent[z],Ce=new(E(this))(Ge),lt=0,ce=0;ce<Ge;ce+=Ae){Ae>Ge-ce&&(Ae=Ge-ce,Ee.length=Ae);for(var Y=0;Y<Ae;Y++){var V=this.getRawIndex(ce+Y),$=Math.floor(V/gt),Te=V%gt;Ee[Y]=Pe[$][Te]}var ye=Z(Ee),Fe=this.getRawIndex(Math.min(ce+ge(Ee,ye)||0,Ge-1)),Oe=Math.floor(Fe/gt),se=Fe%gt;Pe[Oe][se]=ye,ye<_e[0]&&(_e[0]=ye),ye>_e[1]&&(_e[1]=ye),Ce[lt++]=Fe}return Q._count=lt,Q._indices=Ce,Q.getRawIndex=B,Q},C.getItemModel=function(z){var G=this.hostModel;return new m(this.getRawDataItem(z),G,G&&G.ecModel)},C.diff=function(z){var G=this;return new v(z?z.getIndices():[],this.getIndices(),function(Z){return P(z,Z)},function(Z){return P(G,Z)})},C.getVisual=function(z){var G=this._visual;return G&&G[z]},C.setVisual=function(z,G){if(n(z)){for(var Z in z)z.hasOwnProperty(Z)&&this.setVisual(Z,z[Z]);return}this._visual=this._visual||{},this._visual[z]=G},C.setLayout=function(z,G){if(n(z)){for(var Z in z)z.hasOwnProperty(Z)&&this.setLayout(Z,z[Z]);return}this._layout[z]=G},C.getLayout=function(z){return this._layout[z]},C.getItemLayout=function(z){return this._itemLayouts[z]},C.setItemLayout=function(z,G,Z){this._itemLayouts[z]=Z?y.extend(this._itemLayouts[z]||{},G):G},C.clearItemLayouts=function(){this._itemLayouts.length=0},C.getItemVisual=function(z,G,Z){var ge=this._itemVisuals[z],Q=ge&&ge[G];return Q==null&&!Z?this.getVisual(G):Q},C.setItemVisual=function(z,G,Z){var ge=this._itemVisuals[z]||{},Q=this.hasItemVisual;if(this._itemVisuals[z]=ge,n(G)){for(var we in G)G.hasOwnProperty(we)&&(ge[we]=G[we],Q[we]=!0);return}ge[G]=Z,Q[G]=!0},C.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var W=function(z){z.seriesIndex=this.seriesIndex,z.dataIndex=this.dataIndex,z.dataType=this.dataType};C.setItemGraphicEl=function(z,G){var Z=this.hostModel;G&&(G.dataIndex=z,G.dataType=this.dataType,G.seriesIndex=Z&&Z.seriesIndex,G.type==="group"&&G.traverse(W,G)),this._graphicEls[z]=G},C.getItemGraphicEl=function(z){return this._graphicEls[z]},C.eachItemGraphicEl=function(z,G){y.each(this._graphicEls,function(Z,ge){Z&&(z&&z.call(G,Z,ge))})},C.cloneShallow=function(z){if(!z){var G=y.map(this.dimensions,this.getDimensionInfo,this);z=new x(G,this.hostModel)}if(z._storage=this._storage,L(z,this),this._indices){var Z=this._indices.constructor;z._indices=new Z(this._indices)}else z._indices=null;return z.getRawIndex=z._indices?B:k,z},C.wrapMethod=function(z,G){var Z=this[z];if(typeof Z!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(z),this[z]=function(){var ge=Z.apply(this,arguments);return G.apply(this,[ge].concat(y.slice(arguments)))}},C.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],C.CHANGABLE_METHODS=["filterSelf","selectRange"];var X=x;D.exports=X},YgsL:function(D,_,e){var g=e("QBsz"),f=g.distance;function y(v,h,c,a,i,r,o){var d=(c-v)*.5,n=(a-h)*.5;return(2*(h-c)+d+n)*o+(-3*(h-c)-2*d-n)*r+d*i+h}function m(v,h){for(var c=v.length,a=[],i=0,r=1;r<c;r++)i+=f(v[r-1],v[r]);var o=i/2;o=o<c?c:o;for(var r=0;r<o;r++){var d=r/(o-1)*(h?c:c-1),n=Math.floor(d),l=d-n,t,s=v[n%c],u,p;h?(t=v[(n-1+c)%c],u=v[(n+1)%c],p=v[(n+2)%c]):(t=v[n===0?n:n-1],u=v[n>c-2?c-1:n+1],p=v[n>c-3?c-1:n+2]);var w=l*l,b=l*w;a.push([y(t[0],s[0],u[0],p[0],l,w,b),y(t[1],s[1],u[1],p[1],l,w,b)])}return a}D.exports=m},Yl7c:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=".",v="___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 c(t){y.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function a(t,s){t.$constructor=t,t.extend=function(u){var p=this,w=function(){u.$constructor?u.$constructor.apply(this,arguments):p.apply(this,arguments)};return y.extend(w.prototype,u),w.extend=this.extend,w.superCall=o,w.superApply=d,y.inherits(w,this),w.superClass=p,w}}var i=0;function r(t){var s=["__\0is_clz",i++,Math.random().toFixed(3)].join("_");t.prototype[s]=!0,t.isInstance=function(u){return!!(u&&u[s])}}function o(t,s){var u=y.slice(arguments,2);return this.superClass.prototype[s].apply(t,u)}function d(t,s,u){return this.superClass.prototype[s].apply(t,u)}function n(t,s){s=s||{};var u={};t.registerClass=function(b,E){if(E){if(c(E),E=h(E),!E.sub)u[E.main]=b;else if(E.sub!==v){var A=p(E);A[E.sub]=b}}return b},t.getClass=function(b,E,A){var S=u[b];if(S&&S[v]&&(S=E?S[E]:null),A&&!S)throw new Error(E?"Component "+b+"."+(E||"")+" not exists. Load it first.":b+".type should be specified.");return S},t.getClassesByMainType=function(b){b=h(b);var E=[],A=u[b.main];return A&&A[v]?y.each(A,function(S,T){T!==v&&E.push(S)}):E.push(A),E},t.hasClass=function(b){return b=h(b),!!u[b.main]},t.getAllClassMainTypes=function(){var b=[];return y.each(u,function(E,A){b.push(A)}),b},t.hasSubTypes=function(b){b=h(b);var E=u[b.main];return E&&E[v]},t.parseClassType=h;function p(b){var E=u[b.main];return(!E||!E[v])&&(E=u[b.main]={},E[v]=!0),E}if(s.registerWhenExtend){var w=t.extend;w&&(t.extend=function(b){var E=w.call(this,b);return t.registerClass(E,b.type)})}return t}function l(t,s){}_.parseClassType=h,_.enableClassExtend=a,_.enableClassCheck=r,_.enableClassManagement=n,_.setReadOnly=l},Ynxi:function(D,_,e){var g=e("bYtY"),f=e("ProS"),y=e("IwbS"),m=e("+TT/"),v=m.getLayoutRect,h=e("7aKB"),c=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(a,i,r){if(this.group.removeAll(),!a.get("show"))return;var o=this.group,d=a.getModel("textStyle"),n=a.getModel("subtextStyle"),l=a.get("textAlign"),t=g.retrieve2(a.get("textBaseline"),a.get("textVerticalAlign")),s=new y.Text({style:y.setTextStyle({},d,{text:a.get("text"),textFill:d.getTextColor()},{disableBox:!0}),z2:10}),u=s.getBoundingRect(),p=a.get("subtext"),w=new y.Text({style:y.setTextStyle({},n,{text:p,textFill:n.getTextColor(),y:u.height+a.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),b=a.get("link"),E=a.get("sublink"),A=a.get("triggerEvent",!0);s.silent=!b&&!A,w.silent=!E&&!A,b&&s.on("click",function(){c(b,"_"+a.get("target"))}),E&&w.on("click",function(){c(b,"_"+a.get("subtarget"))}),s.eventData=w.eventData=A?{componentType:"title",componentIndex:a.componentIndex}:null,o.add(s),p&&o.add(w);var S=o.getBoundingRect(),T=a.getBoxLayoutParams();T.width=S.width,T.height=S.height;var L=v(T,{width:r.getWidth(),height:r.getHeight()},a.get("padding"));l||(l=a.get("left")||a.get("right"),l==="middle"&&(l="center"),l==="right"?L.x+=L.width:l==="center"&&(L.x+=L.width/2)),t||(t=a.get("top")||a.get("bottom"),t==="center"&&(t="middle"),t==="bottom"?L.y+=L.height:t==="middle"&&(L.y+=L.height/2),t=t||"top"),o.attr("position",[L.x,L.y]);var x={textAlign:l,textVerticalAlign:t};s.setStyle(x),w.setStyle(x),S=o.getBoundingRect();var C=L.margin,I=a.getItemStyle(["color","opacity"]);I.fill=a.get("backgroundColor");var N=new y.Rect({shape:{x:S.x-C[3],y:S.y-C[0],width:S.width+C[1]+C[3],height:S.height+C[0]+C[2],r:a.get("borderRadius")},style:I,subPixelOptimize:!0,silent:!0});o.add(N)}})},YrtM:function(D,_,e){"use strict";e.d(_,"a",function(){return y});var g=e("q1tI"),f=e.n(g);function y(m,v,h){var c=g.useRef({});return(!("value"in c.current)||h(c.current.condition,v))&&(c.current.value=m(),c.current.condition=v),c.current.value}},Ywus:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("DO2E")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="DeleteOutlined";var c=y.forwardRef(h);_.default=c},Z0Lh:function(D,_,e){"use strict";var g=e("TqRt");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var f=g(e("pVnL")),y=g(e("HjOm")),m=g(e("Z6rY")),v={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"]},y.default),timePickerLocale:(0,f.default)({},m.default)};v.lang.ok="\u786E \u5B9A";var h=v;_.default=h},Z0cm:function(D,_){var e=Array.isArray;D.exports=e},Z1HP:function(D,_,e){var g=e("ycre"),f=e("quyA"),y=e("q4HE");function m(v){return f(v)?y(v):g(v)}D.exports=m},Z1r0:function(D,_){function e(g){var f=g.findComponents({mainType:"legend"});if(!f||!f.length)return;g.eachSeriesByType("graph",function(y){var m=y.getCategoriesData(),v=y.getGraph(),h=v.data,c=m.mapArray(m.getName);h.filterSelf(function(a){var i=h.getItemModel(a),r=i.getShallow("category");if(r!=null){typeof r=="number"&&(r=c[r]);for(var o=0;o<f.length;o++)if(!f[o].isSelected(r))return!1}return!0})},this)}D.exports=e},Z1wy:function(D,_,e){var g=e("ProS");e("ThAp"),e("pmaE"),e("SehX"),e("7uqq");var f=e("zuHt"),y=e("VPsl"),m=e("9u0u"),v=e("lELe"),h=e("d4KN");g.registerLayout(f),g.registerVisual(y),g.registerProcessor(g.PRIORITY.PROCESSOR.STATISTIC,m),g.registerPreprocessor(v),h("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(D,_,e){var g=e("MwEJ"),f=e("T4UG"),y=f.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(m,v){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}});D.exports=y},Z6rY:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},f=g;_.default=f},Z8oC:function(D,_,e){var g=e("y1pI");function f(y,m){var v=this.__data__,h=g(v,y);return h<0?(++this.size,v.push([y,m])):v[h][1]=m,this}D.exports=f},Z8zF:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),m=e("bYtY"),v=e("IwbS"),h=e("56rv"),c=h.setLabel,a=e("Qxkt"),i=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"),u=["itemStyle","barBorderWidth"],p=[0,0];m.extend(a.prototype,i);function w(W,X){var z=W.getArea&&W.getArea();if(W.type==="cartesian2d"){var G=W.getBaseAxis();if(G.type!=="category"||!G.onBand){var Z=X.getLayout("bandWidth");G.isHorizontal()?(z.x-=Z,z.width+=Z*2):(z.y-=Z,z.height+=Z*2)}}return z}var b=y.extendChartView({type:"bar",render:function(W,X,z){this._updateDrawMode(W);var G=W.get("coordinateSystem");return(G==="cartesian2d"||G==="polar")&&(this._isLargeDraw?this._renderLarge(W,X,z):this._renderNormal(W,X,z)),this.group},incrementalPrepareRender:function(W,X,z){this._clear(),this._updateDrawMode(W)},incrementalRender:function(W,X,z,G){this._incrementalRenderLarge(W,X)},_updateDrawMode:function(W){var X=W.pipelineContext.large;(this._isLargeDraw==null||X^this._isLargeDraw)&&(this._isLargeDraw=X,this._clear())},_renderNormal:function(W,X,z){var G=this.group,Z=W.getData(),ge=this._data,Q=W.coordinateSystem,we=Q.getBaseAxis(),Ee;Q.type==="cartesian2d"?Ee=we.isHorizontal():Q.type==="polar"&&(Ee=we.dim==="angle");var Ae=W.isAnimationEnabled()?W:null,Pe=W.get("clip",!0),Ge=w(Q,Z);G.removeClipPath();var gt=W.get("roundCap",!0),_e=W.get("showBackground",!0),Ce=W.getModel("backgroundStyle"),lt=Ce.get("barBorderRadius")||0,ce=[],Y=this._backgroundEls||[];Z.diff(ge).add(function(Te){var ye=Z.getItemModel(Te),Fe=C[Q.type](Z,Te,ye);if(_e){var Oe=C[Q.type](Z,Te),se=H(Q,Ee,Oe);se.useStyle(Ce.getBarItemStyle()),Q.type==="cartesian2d"&&se.setShape("r",lt),ce[Te]=se}if(!Z.hasValue(Te))return;if(Pe){var fe=S[Q.type](Ge,Fe);if(fe){G.remove(Le);return}}var Le=T[Q.type](Te,Fe,Ee,Ae,!1,gt);Z.setItemGraphicEl(Te,Le),G.add(Le),N(Le,Z,Te,ye,Fe,W,Ee,Q.type==="polar")}).update(function(Te,ye){var Fe=Z.getItemModel(Te),Oe=C[Q.type](Z,Te,Fe);if(_e){var se=Y[ye];se.useStyle(Ce.getBarItemStyle()),Q.type==="cartesian2d"&&se.setShape("r",lt),ce[Te]=se;var fe=C[Q.type](Z,Te),Le=j(Ee,fe,Q);v.updateProps(se,{shape:Le},Ae,Te)}var Je=ge.getItemGraphicEl(ye);if(!Z.hasValue(Te)){G.remove(Je);return}if(Pe){var mt=S[Q.type](Ge,Oe);if(mt){G.remove(Je);return}}Je?v.updateProps(Je,{shape:Oe},Ae,Te):Je=T[Q.type](Te,Oe,Ee,Ae,!0,gt),Z.setItemGraphicEl(Te,Je),G.add(Je),N(Je,Z,Te,Fe,Oe,W,Ee,Q.type==="polar")}).remove(function(Te){var ye=ge.getItemGraphicEl(Te);Q.type==="cartesian2d"?ye&&L(Te,Ae,ye):ye&&x(Te,Ae,ye)}).execute();var V=this._backgroundGroup||(this._backgroundGroup=new o);V.removeAll();for(var $=0;$<ce.length;++$)V.add(ce[$]);G.add(V),this._backgroundEls=ce,this._data=Z},_renderLarge:function(W,X,z){this._clear(),B(W,this.group);var G=W.get("clip",!0)?t(W.coordinateSystem,!1,W):null;G?this.group.setClipPath(G):this.group.removeClipPath()},_incrementalRenderLarge:function(W,X){this._removeBackground(),B(X,this.group,!0)},dispose:m.noop,remove:function(W){this._clear(W)},_clear:function(W){var X=this.group,z=this._data;W&&W.get("animation")&&z&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],z.eachItemGraphicEl(function(G){G.type==="sector"?x(G.dataIndex,W,G):L(G.dataIndex,W,G)})):X.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),E=Math.max,A=Math.min,S={cartesian2d:function(W,X){var z=X.width<0?-1:1,G=X.height<0?-1:1;z<0&&(X.x+=X.width,X.width=-X.width),G<0&&(X.y+=X.height,X.height=-X.height);var Z=E(X.x,W.x),ge=A(X.x+X.width,W.x+W.width),Q=E(X.y,W.y),we=A(X.y+X.height,W.y+W.height);X.x=Z,X.y=Q,X.width=ge-Z,X.height=we-Q;var Ee=X.width<0||X.height<0;return z<0&&(X.x+=X.width,X.width=-X.width),G<0&&(X.y+=X.height,X.height=-X.height),Ee},polar:function(W){return!1}},T={cartesian2d:function(W,X,z,G,Z){var ge=new v.Rect({shape:m.extend({},X),z2:1});if(ge.name="item",G){var Q=ge.shape,we=z?"height":"width",Ee={};Q[we]=0,Ee[we]=X[we],v[Z?"updateProps":"initProps"](ge,{shape:Ee},G,W)}return ge},polar:function(W,X,z,G,Z,ge){var Q=X.startAngle<X.endAngle,we=!z&&ge?s:v.Sector,Ee=new we({shape:m.defaults({clockwise:Q},X),z2:1});if(Ee.name="item",G){var Ae=Ee.shape,Pe=z?"r":"endAngle",Ge={};Ae[Pe]=z?0:X.startAngle,Ge[Pe]=X[Pe],v[Z?"updateProps":"initProps"](Ee,{shape:Ge},G,W)}return Ee}};function L(W,X,z){z.style.text=null,v.updateProps(z,{shape:{width:0}},X,W,function(){z.parent&&z.parent.remove(z)})}function x(W,X,z){z.style.text=null,v.updateProps(z,{shape:{r:z.shape.r0}},X,W,function(){z.parent&&z.parent.remove(z)})}var C={cartesian2d:function(W,X,z){var G=W.getItemLayout(X),Z=z?F(z,G):0,ge=G.width>0?1:-1,Q=G.height>0?1:-1;return{x:G.x+ge*Z/2,y:G.y+Q*Z/2,width:G.width-ge*Z,height:G.height-Q*Z}},polar:function(W,X,z){var G=W.getItemLayout(X);return{cx:G.cx,cy:G.cy,r0:G.r0,r:G.r,startAngle:G.startAngle,endAngle:G.endAngle}}};function I(W){return W.startAngle!=null&&W.endAngle!=null&&W.startAngle===W.endAngle}function N(W,X,z,G,Z,ge,Q,we){var Ee=X.getItemVisual(z,"color"),Ae=X.getItemVisual(z,"opacity"),Pe=X.getVisual("borderColor"),Ge=G.getModel("itemStyle"),gt=G.getModel("emphasis.itemStyle").getBarItemStyle();we||W.setShape("r",Ge.get("barBorderRadius")||0),W.useStyle(m.defaults({stroke:I(Z)?"none":Pe,fill:I(Z)?"none":Ee,opacity:Ae},Ge.getBarItemStyle()));var _e=G.getShallow("cursor");_e&&W.attr("cursor",_e);var Ce=Q?Z.height>0?"bottom":"top":Z.width>0?"left":"right";we||c(W.style,gt,G,Ee,ge,z,Ce),I(Z)&&(gt.fill=gt.stroke="none"),v.setHoverStyle(W,gt)}function F(W,X){var z=W.get(u)||0,G=isNaN(X.width)?Number.MAX_VALUE:Math.abs(X.width),Z=isNaN(X.height)?Number.MAX_VALUE:Math.abs(X.height);return Math.min(z,G,Z)}var k=r.extend({type:"largeBar",shape:{points:[]},buildPath:function(W,X){for(var z=X.points,G=this.__startPoint,Z=this.__baseDimIdx,ge=0;ge<z.length;ge+=2)G[Z]=z[ge+Z],W.moveTo(G[0],G[1]),W.lineTo(z[ge],z[ge+1])}});function B(W,X,z){var G=W.getData(),Z=[],ge=G.getLayout("valueAxisHorizontal")?1:0;Z[1-ge]=G.getLayout("valueAxisStart");var Q=G.getLayout("largeDataIndices"),we=G.getLayout("barWidth"),Ee=W.getModel("backgroundStyle"),Ae=W.get("showBackground",!0);if(Ae){var Pe=G.getLayout("largeBackgroundPoints"),Ge=[];Ge[1-ge]=G.getLayout("backgroundStart");var gt=new k({shape:{points:Pe},incremental:!!z,__startPoint:Ge,__baseDimIdx:ge,__largeDataIndices:Q,__barWidth:we,silent:!0,z2:0});U(gt,Ee,G),X.add(gt)}var _e=new k({shape:{points:G.getLayout("largePoints")},incremental:!!z,__startPoint:Z,__baseDimIdx:ge,__largeDataIndices:Q,__barWidth:we});X.add(_e),R(_e,W,G),_e.seriesIndex=W.seriesIndex,W.get("silent")||(_e.on("mousedown",P),_e.on("mousemove",P))}var P=n(function(W){var X=this,z=K(X,W.offsetX,W.offsetY);X.dataIndex=z>=0?z:null},30,!1);function K(W,X,z){var G=W.__baseDimIdx,Z=1-G,ge=W.shape.points,Q=W.__largeDataIndices,we=Math.abs(W.__barWidth/2),Ee=W.__startPoint[Z];p[0]=X,p[1]=z;for(var Ae=p[G],Pe=p[1-G],Ge=Ae-we,gt=Ae+we,_e=0,Ce=ge.length/2;_e<Ce;_e++){var lt=_e*2,ce=ge[lt+G],Y=ge[lt+Z];if(ce>=Ge&&ce<=gt&&(Ee<=Y?Pe>=Ee&&Pe<=Y:Pe>=Y&&Pe<=Ee))return Q[_e]}return-1}function R(W,X,z){var G=z.getVisual("borderColor")||z.getVisual("color"),Z=X.getModel("itemStyle").getItemStyle(["color","borderColor"]);W.useStyle(Z),W.style.fill=null,W.style.stroke=G,W.style.lineWidth=z.getLayout("barWidth")}function U(W,X,z){var G=X.get("borderColor")||X.get("color"),Z=X.getItemStyle(["color","borderColor"]);W.useStyle(Z),W.style.fill=null,W.style.stroke=G,W.style.lineWidth=z.getLayout("barWidth")}function j(W,X,z){var G,Z=z.type==="polar";return Z?G=z.getArea():G=z.grid.getRect(),Z?{cx:G.cx,cy:G.cy,r0:W?G.r0:X.r0,r:W?G.r:X.r,startAngle:W?X.startAngle:0,endAngle:W?X.endAngle:Math.PI*2}:{x:W?X.x:G.x,y:W?G.y:X.y,width:W?X.width:G.width,height:W?G.height:X.height}}function H(W,X,z){var G=W.type==="polar"?v.Sector:v.Rect;return new G({shape:j(X,z,W),silent:!0,z2:0})}D.exports=b},ZCgT:function(D,_,e){var g=e("tLB3"),f=1/0,y=17976931348623157e292;function m(v){if(!v)return v===0?v:0;if(v=g(v),v===f||v===-f){var h=v<0?-1:1;return h*y}return v===v?v:0}D.exports=m},ZLWo:function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},ZMnZ:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("2oIt")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="UpOutlined";var c=y.forwardRef(h);_.default=c},ZTPi:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("q1tI"),h=e("ODXe"),c=e("Ff2n"),a=e("rePB"),i=e("TSYQ"),r=e.n(i),o=e("Zm9Q"),d=e("6cGi"),n=e("KQm4"),l=e("xEkU"),t=e.n(l),s=e("t23M");function u(Ke){var wt=Object(v.useRef)(),Ye=Object(v.useRef)(!1);function et(){for(var rt=arguments.length,st=new Array(rt),Ve=0;Ve<rt;Ve++)st[Ve]=arguments[Ve];Ye.current||(t.a.cancel(wt.current),wt.current=t()(function(){Ke.apply(void 0,st)}))}return Object(v.useEffect)(function(){return function(){Ye.current=!0,t.a.cancel(wt.current)}},[]),et}function p(Ke){var wt=Object(v.useRef)([]),Ye=Object(v.useState)({}),et=Object(h.a)(Ye,2),rt=et[1],st=Object(v.useRef)(typeof Ke=="function"?Ke():Ke),Ve=u(function(){var re=st.current;wt.current.forEach(function(it){re=it(re)}),wt.current=[],st.current=re,rt({})});function oe(re){wt.current.push(re),Ve()}return[st.current,oe]}var w=e("4IlW");function b(Ke,wt){var Ye,et=Ke.prefixCls,rt=Ke.id,st=Ke.active,Ve=Ke.rtl,oe=Ke.tab,re=oe.key,it=oe.tab,Qe=oe.disabled,ve=oe.closeIcon,Zt=Ke.tabBarGutter,dt=Ke.tabPosition,ct=Ke.closable,yt=Ke.renderWrapper,_t=Ke.removeAriaLabel,or=Ke.editable,Pt=Ke.onClick,be=Ke.onRemove,me=Ke.onFocus,pe="".concat(et,"-tab");v.useEffect(function(){return be},[]);var ue={};dt==="top"||dt==="bottom"?ue[Ve?"marginLeft":"marginRight"]=Zt:ue.marginBottom=Zt;var De=or&&ct!==!1&&!Qe;function He(Be){if(Qe)return;Pt(Be)}function ze(Be){Be.preventDefault(),Be.stopPropagation(),or.onEdit("remove",{key:re,event:Be})}var Xe=v.createElement("div",{key:re,ref:wt,className:r()(pe,(Ye={},Object(a.a)(Ye,"".concat(pe,"-with-remove"),De),Object(a.a)(Ye,"".concat(pe,"-active"),st),Object(a.a)(Ye,"".concat(pe,"-disabled"),Qe),Ye)),style:ue,onClick:He},v.createElement("div",{role:"tab","aria-selected":st,id:rt&&"".concat(rt,"-tab-").concat(re),className:"".concat(pe,"-btn"),"aria-controls":rt&&"".concat(rt,"-panel-").concat(re),"aria-disabled":Qe,tabIndex:Qe?null:0,onClick:function(nt){nt.stopPropagation(),He(nt)},onKeyDown:function(nt){[w.a.SPACE,w.a.ENTER].includes(nt.which)&&(nt.preventDefault(),He(nt))},onFocus:me},it),De&&v.createElement("button",{type:"button","aria-label":_t||"remove",tabIndex:0,className:"".concat(pe,"-remove"),onClick:function(nt){nt.stopPropagation(),ze(nt)}},ve||or.removeIcon||"\xD7"));return yt&&(Xe=yt(Xe)),Xe}var E=v.forwardRef(b);function A(Ke,wt){var Ye=Object.keys(Ke);if(Object.getOwnPropertySymbols){var et=Object.getOwnPropertySymbols(Ke);wt&&(et=et.filter(function(rt){return Object.getOwnPropertyDescriptor(Ke,rt).enumerable})),Ye.push.apply(Ye,et)}return Ye}function S(Ke){for(var wt=1;wt<arguments.length;wt++){var Ye=arguments[wt]!=null?arguments[wt]:{};wt%2?A(Object(Ye),!0).forEach(function(et){Object(a.a)(Ke,et,Ye[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ke,Object.getOwnPropertyDescriptors(Ye)):A(Object(Ye)).forEach(function(et){Object.defineProperty(Ke,et,Object.getOwnPropertyDescriptor(Ye,et))})}return Ke}var T={width:0,height:0,left:0,top:0};function L(Ke,wt,Ye){return Object(v.useMemo)(function(){for(var et,rt=new Map,st=wt.get((et=Ke[0])===null||et===void 0?void 0:et.key)||T,Ve=st.left+st.width,oe=0;oe<Ke.length;oe+=1){var re=Ke[oe].key,it=wt.get(re);if(!it){var Qe;it=wt.get((Qe=Ke[oe-1])===null||Qe===void 0?void 0:Qe.key)||T}var ve=rt.get(re)||S({},it);ve.right=Ve-ve.left-ve.width,rt.set(re,ve)}return rt},[Ke.map(function(et){return et.key}).join("_"),wt,Ye])}var x={width:0,height:0,left:0,top:0,right:0};function C(Ke,wt,Ye,et,rt){var st=rt.tabs,Ve=rt.tabPosition,oe=rt.rtl,re,it,Qe;["top","bottom"].includes(Ve)?(re="width",it=oe?"right":"left",Qe=Math.abs(wt.left)):(re="height",it="top",Qe=-wt.top);var ve=wt[re],Zt=Ye[re],dt=et[re],ct=ve;return Zt+dt>ve&&(ct=ve-dt),Object(v.useMemo)(function(){if(!st.length)return[0,0];for(var yt=st.length,_t=yt,or=0;or<yt;or+=1){var Pt=Ke.get(st[or].key)||x;if(Pt[it]+Pt[re]>Qe+ct){_t=or-1;break}}for(var be=0,me=yt-1;me>=0;me-=1){var pe=Ke.get(st[me].key)||x;if(pe[it]<Qe){be=me+1;break}}return[be,_t]},[Ke,Qe,ct,Ve,st.map(function(yt){return yt.key}).join("_"),oe])}var I=e("1j5w"),N=e("eDIo");function F(Ke,wt){var Ye=Ke.prefixCls,et=Ke.editable,rt=Ke.locale,st=Ke.style;return!et||et.showAdd===!1?null:v.createElement("button",{ref:wt,type:"button",className:"".concat(Ye,"-nav-add"),style:st,"aria-label":(rt==null?void 0:rt.addAriaLabel)||"Add tab",onClick:function(oe){et.onEdit("add",{event:oe})}},et.addIcon||"+")}var k=v.forwardRef(F);function B(Ke,wt){var Ye=Ke.prefixCls,et=Ke.id,rt=Ke.tabs,st=Ke.locale,Ve=Ke.mobile,oe=Ke.moreIcon,re=oe===void 0?"More":oe,it=Ke.moreTransitionName,Qe=Ke.style,ve=Ke.className,Zt=Ke.editable,dt=Ke.tabBarGutter,ct=Ke.rtl,yt=Ke.onTabClick,_t=Object(v.useState)(!1),or=Object(h.a)(_t,2),Pt=or[0],be=or[1],me=Object(v.useState)(null),pe=Object(h.a)(me,2),ue=pe[0],De=pe[1],He="".concat(et,"-more-popup"),ze="".concat(Ye,"-dropdown"),Xe=ue!==null?"".concat(He,"-").concat(ue):null,Be=st==null?void 0:st.dropdownAriaLabel,nt=v.createElement(I.f,{onClick:function(Se){var Ne=Se.key,Me=Se.domEvent;yt(Ne,Me),be(!1)},id:He,tabIndex:-1,role:"listbox","aria-activedescendant":Xe,selectedKeys:[ue],"aria-label":Be!==void 0?Be:"expanded dropdown"},rt.map(function(ne){return v.createElement(I.d,{key:ne.key,id:"".concat(He,"-").concat(ne.key),role:"option","aria-controls":et&&"".concat(et,"-panel-").concat(ne.key),disabled:ne.disabled},ne.tab)}));function At(ne){for(var Se=rt.filter(function(Wt){return!Wt.disabled}),Ne=Se.findIndex(function(Wt){return Wt.key===ue})||0,Me=Se.length,$e=0;$e<Me;$e+=1){Ne=(Ne+ne+Me)%Me;var vt=Se[Ne];if(!vt.disabled){De(vt.key);return}}}function It(ne){var Se=ne.which;if(!Pt){[w.a.DOWN,w.a.SPACE,w.a.ENTER].includes(Se)&&(be(!0),ne.preventDefault());return}switch(Se){case w.a.UP:At(-1),ne.preventDefault();break;case w.a.DOWN:At(1),ne.preventDefault();break;case w.a.ESC:be(!1);break;case w.a.SPACE:case w.a.ENTER:ue!==null&&yt(ue,ne);break}}Object(v.useEffect)(function(){var ne=document.getElementById(Xe);ne&&ne.scrollIntoView&&ne.scrollIntoView(!1)},[ue]),Object(v.useEffect)(function(){Pt||De(null)},[Pt]);var ae=Object(a.a)({},ct?"marginLeft":"marginRight",dt);rt.length||(ae.visibility="hidden",ae.order=1);var he=r()(Object(a.a)({},"".concat(ze,"-rtl"),ct)),q=Ve?null:v.createElement(N.a,{prefixCls:ze,overlay:nt,trigger:["hover"],visible:Pt,transitionName:it,onVisibleChange:be,overlayClassName:he},v.createElement("button",{type:"button",className:"".concat(Ye,"-nav-more"),style:ae,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":He,id:"".concat(et,"-more"),"aria-expanded":Pt,onKeyDown:It},re));return v.createElement("div",{className:r()("".concat(Ye,"-nav-operations"),ve),style:Qe,ref:wt},q,v.createElement(k,{prefixCls:Ye,locale:st,editable:Zt}))}var P=v.forwardRef(B),K=Object(v.createContext)(null),R=.1,U=.01,j=20,H=Math.pow(.995,j);function W(){var Ke=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(Ke)||/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(Ke.substr(0,4)))}function X(Ke,wt){var Ye=Object(v.useState)(),et=Object(h.a)(Ye,2),rt=et[0],st=et[1],Ve=Object(v.useState)(0),oe=Object(h.a)(Ve,2),re=oe[0],it=oe[1],Qe=Object(v.useState)(0),ve=Object(h.a)(Qe,2),Zt=ve[0],dt=ve[1],ct=Object(v.useState)(),yt=Object(h.a)(ct,2),_t=yt[0],or=yt[1],Pt=Object(v.useRef)();function be(Be){var nt=Be.touches[0],At=nt.screenX,It=nt.screenY;st({x:At,y:It}),window.clearInterval(Pt.current)}function me(Be){if(!rt)return;Be.preventDefault();var nt=Be.touches[0],At=nt.screenX,It=nt.screenY;st({x:At,y:It});var ae=At-rt.x,he=It-rt.y;wt(ae,he);var q=Date.now();it(q),dt(q-re),or({x:ae,y:he})}function pe(){if(!rt)return;if(st(null),or(null),_t){var Be=_t.x/Zt,nt=_t.y/Zt,At=Math.abs(Be),It=Math.abs(nt);if(Math.max(At,It)<R)return;var ae=Be,he=nt;Pt.current=window.setInterval(function(){if(Math.abs(ae)<U&&Math.abs(he)<U){window.clearInterval(Pt.current);return}ae*=H,he*=H,wt(ae*j,he*j)},j)}}var ue=Object(v.useRef)(0),De=Object(v.useRef)(!1),He=Object(v.useRef)();function ze(Be){var nt=Be.deltaX,At=Be.deltaY,It=0,ae=Math.abs(nt),he=Math.abs(At);ae===he?It=He.current==="x"?nt:At:ae>he?(It=nt,He.current="x"):(It=At,He.current="y");var q=Date.now();q-ue.current>100&&(De.current=!1),(wt(-It,-It)||De.current)&&(Be.preventDefault(),De.current=!0),ue.current=q}var Xe=Object(v.useRef)(null);Xe.current={onTouchStart:be,onTouchMove:me,onTouchEnd:pe,onWheel:ze},v.useEffect(function(){function Be(ae){Xe.current.onTouchStart(ae)}function nt(ae){Xe.current.onTouchMove(ae)}function At(ae){Xe.current.onTouchEnd(ae)}function It(ae){Xe.current.onWheel(ae)}return document.addEventListener("touchmove",nt,{passive:!1}),document.addEventListener("touchend",At,{passive:!1}),Ke.current.addEventListener("touchstart",Be,{passive:!1}),Ke.current.addEventListener("wheel",It),function(){document.removeEventListener("touchmove",nt),document.removeEventListener("touchend",At)}},[])}function z(){var Ke=Object(v.useRef)(new Map);function wt(et){return Ke.current.has(et)||Ke.current.set(et,v.createRef()),Ke.current.get(et)}function Ye(et){Ke.current.delete(et)}return[wt,Ye]}function G(Ke,wt){var Ye=v.useRef(Ke),et=v.useState({}),rt=Object(h.a)(et,2),st=rt[1];function Ve(oe){var re=typeof oe=="function"?oe(Ye.current):oe;re!==Ye.current&&wt(re,Ye.current),Ye.current=re,st({})}return[Ye.current,Ve]}function Z(Ke,wt){var Ye=Object.keys(Ke);if(Object.getOwnPropertySymbols){var et=Object.getOwnPropertySymbols(Ke);wt&&(et=et.filter(function(rt){return Object.getOwnPropertyDescriptor(Ke,rt).enumerable})),Ye.push.apply(Ye,et)}return Ye}function ge(Ke){for(var wt=1;wt<arguments.length;wt++){var Ye=arguments[wt]!=null?arguments[wt]:{};wt%2?Z(Object(Ye),!0).forEach(function(et){Object(a.a)(Ke,et,Ye[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ke,Object.getOwnPropertyDescriptors(Ye)):Z(Object(Ye)).forEach(function(et){Object.defineProperty(Ke,et,Object.getOwnPropertyDescriptor(Ye,et))})}return Ke}var Q=function(wt){var Ye=wt.position,et=wt.prefixCls,rt=wt.extra;if(!rt)return null;var st,Ve=rt;return Ye==="right"&&(st=Ve.right||!Ve.left&&Ve||null),Ye==="left"&&(st=Ve.left||null),st?v.createElement("div",{className:"".concat(et,"-extra-content")},st):null};function we(Ke,wt){var Ye,et=v.useContext(K),rt=et.prefixCls,st=et.tabs,Ve=Ke.className,oe=Ke.style,re=Ke.id,it=Ke.animated,Qe=Ke.activeKey,ve=Ke.rtl,Zt=Ke.extra,dt=Ke.editable,ct=Ke.locale,yt=Ke.tabPosition,_t=Ke.tabBarGutter,or=Ke.children,Pt=Ke.onTabClick,be=Ke.onTabScroll,me=Object(v.useRef)(),pe=Object(v.useRef)(),ue=Object(v.useRef)(),De=Object(v.useRef)(),He=z(),ze=Object(h.a)(He,2),Xe=ze[0],Be=ze[1],nt=yt==="top"||yt==="bottom",At=G(0,function(aa,Hi){nt&&be&&be({direction:aa>Hi?"left":"right"})}),It=Object(h.a)(At,2),ae=It[0],he=It[1],q=G(0,function(aa,Hi){!nt&&be&&be({direction:aa>Hi?"top":"bottom"})}),ne=Object(h.a)(q,2),Se=ne[0],Ne=ne[1],Me=Object(v.useState)(0),$e=Object(h.a)(Me,2),vt=$e[0],Wt=$e[1],$t=Object(v.useState)(0),Dt=Object(h.a)($t,2),Kt=Dt[0],Gt=Dt[1],Qt=Object(v.useState)(0),Mt=Object(h.a)(Qt,2),dr=Mt[0],er=Mt[1],ot=Object(v.useState)(0),xt=Object(h.a)(ot,2),ut=xt[0],ft=xt[1],Ot=Object(v.useState)(null),Tt=Object(h.a)(Ot,2),ht=Tt[0],Ht=Tt[1],Ft=Object(v.useState)(null),ir=Object(h.a)(Ft,2),Xt=ir[0],mr=ir[1],Ar=Object(v.useState)(0),Nr=Object(h.a)(Ar,2),Fr=Nr[0],tn=Nr[1],qr=Object(v.useState)(0),Lr=Object(h.a)(qr,2),Qr=Lr[0],_r=Lr[1],ur=p(new Map),pr=Object(h.a)(ur,2),cr=pr[0],fr=pr[1],xr=L(st,cr,vt),Yr="".concat(rt,"-nav-operations-hidden"),un=0,Nn=0;nt?ve?(un=0,Nn=Math.max(0,vt-ht)):(un=Math.min(0,ht-vt),Nn=0):(un=Math.min(0,Xt-Kt),Nn=0);function jr(aa){return aa<un?[un,!1]:aa>Nn?[Nn,!1]:[aa,!0]}var Tn=Object(v.useRef)(),gn=Object(v.useState)(),Bn=Object(h.a)(gn,2),zn=Bn[0],qn=Bn[1];function Yn(){qn(Date.now())}function Vn(){window.clearTimeout(Tn.current)}X(me,function(aa,Hi){var ga=!1;function ha(mo,kn){mo(function($i){var eo=jr($i+kn),To=Object(h.a)(eo,2),uo=To[0],rr=To[1];return ga=rr,uo})}if(nt){if(ht>=vt)return ga;ha(he,aa)}else{if(Xt>=Kt)return ga;ha(Ne,Hi)}return Vn(),Yn(),ga}),Object(v.useEffect)(function(){return Vn(),zn&&(Tn.current=window.setTimeout(function(){qn(0)},100)),Vn},[zn]);function An(){var aa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Qe,Hi=xr.get(aa);if(!Hi)return;if(nt){var ga=ae;ve?Hi.right<ae?ga=Hi.right:Hi.right+Hi.width>ae+ht&&(ga=Hi.right+Hi.width-ht):Hi.left<-ae?ga=-Hi.left:Hi.left+Hi.width>-ae+ht&&(ga=-(Hi.left+Hi.width-ht)),Ne(0),he(jr(ga)[0])}else{var ha=Se;Hi.top<-Se?ha=-Hi.top:Hi.top+Hi.height>-Se+Xt&&(ha=-(Hi.top+Hi.height-Xt)),he(0),Ne(jr(ha)[0])}}var on=C(xr,{width:ht,height:Xt,left:ae,top:Se},{width:dr,height:ut},{width:Fr,height:Qr},ge(ge({},Ke),{},{tabs:st})),ia=Object(h.a)(on,2),xa=ia[0],ta=ia[1],_i=st.map(function(aa){var Hi=aa.key;return v.createElement(E,{id:re,prefixCls:rt,key:Hi,rtl:ve,tab:aa,closable:aa.closable,editable:dt,active:Hi===Qe,tabPosition:yt,tabBarGutter:_t,renderWrapper:or,removeAriaLabel:ct==null?void 0:ct.removeAriaLabel,ref:Xe(Hi),onClick:function(ha){Pt(Hi,ha)},onRemove:function(){Be(Hi)},onFocus:function(){An(Hi),Yn(),ve||(me.current.scrollLeft=0),me.current.scrollTop=0}})}),Ci=u(function(){var aa,Hi,ga,ha,mo,kn,$i,eo,To,uo=((aa=me.current)===null||aa===void 0?void 0:aa.offsetWidth)||0,rr=((Hi=me.current)===null||Hi===void 0?void 0:Hi.offsetHeight)||0,Tr=((ga=De.current)===null||ga===void 0?void 0:ga.offsetWidth)||0,Br=((ha=De.current)===null||ha===void 0?void 0:ha.offsetHeight)||0,Wr=((mo=ue.current)===null||mo===void 0?void 0:mo.offsetWidth)||0,hn=((kn=ue.current)===null||kn===void 0?void 0:kn.offsetHeight)||0;Ht(uo),mr(rr),tn(Tr),_r(Br);var tt=((($i=pe.current)===null||$i===void 0?void 0:$i.offsetWidth)||0)-Tr,jt=(((eo=pe.current)===null||eo===void 0?void 0:eo.offsetHeight)||0)-Br;Wt(tt),Gt(jt);var Jt=(To=ue.current)===null||To===void 0?void 0:To.className.includes(Yr);er(tt-(Jt?0:Wr)),ft(jt-(Jt?0:hn)),fr(function(){var nr=new Map;return st.forEach(function(Ir){var wr=Ir.key,Er=Xe(wr).current;Er&&nr.set(wr,{width:Er.offsetWidth,height:Er.offsetHeight,left:Er.offsetLeft,top:Er.offsetTop})}),nr})}),Gn=st.slice(0,xa),Ia=st.slice(ta+1),mn=[].concat(Object(n.a)(Gn),Object(n.a)(Ia)),In=Object(v.useState)(),Ln=Object(h.a)(In,2),_n=Ln[0],jn=Ln[1],ni=xr.get(Qe),di=Object(v.useRef)();function Na(){t.a.cancel(di.current)}Object(v.useEffect)(function(){var aa={};return ni&&(nt?(ve?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,nt,ve]),Object(v.useEffect)(function(){An()},[Qe,ni,xr,nt]),Object(v.useEffect)(function(){Ci()},[ve,_t,Qe,st.map(function(aa){return aa.key}).join("_")]);var Qi=!!mn.length,ma="".concat(rt,"-nav-wrap"),Pa,Qa,Wi,Co;return nt?ve?(Qa=ae>0,Pa=ae+ht<vt):(Pa=ae<0,Qa=-ae+ht<vt):(Wi=Se<0,Co=-Se+Xt<Kt),v.createElement("div",{ref:wt,role:"tablist",className:r()("".concat(rt,"-nav"),Ve),style:oe,onKeyDown:function(){Yn()}},v.createElement(Q,{position:"left",extra:Zt,prefixCls:rt}),v.createElement(s.a,{onResize:Ci},v.createElement("div",{className:r()(ma,(Ye={},Object(a.a)(Ye,"".concat(ma,"-ping-left"),Pa),Object(a.a)(Ye,"".concat(ma,"-ping-right"),Qa),Object(a.a)(Ye,"".concat(ma,"-ping-top"),Wi),Object(a.a)(Ye,"".concat(ma,"-ping-bottom"),Co),Ye)),ref:me},v.createElement(s.a,{onResize:Ci},v.createElement("div",{ref:pe,className:"".concat(rt,"-nav-list"),style:{transform:"translate(".concat(ae,"px, ").concat(Se,"px)"),transition:zn?"none":void 0}},_i,v.createElement(k,{ref:De,prefixCls:rt,locale:ct,editable:dt,style:{visibility:Qi?"hidden":null}}),v.createElement("div",{className:r()("".concat(rt,"-ink-bar"),Object(a.a)({},"".concat(rt,"-ink-bar-animated"),it.inkBar)),style:_n}))))),v.createElement(P,Object.assign({},Ke,{ref:ue,prefixCls:rt,tabs:mn,className:!Qi&&Yr})),v.createElement(Q,{position:"right",extra:Zt,prefixCls:rt}))}var Ee=v.forwardRef(we);function Ae(Ke){var wt=Ke.id,Ye=Ke.activeKey,et=Ke.animated,rt=Ke.tabPosition,st=Ke.rtl,Ve=Ke.destroyInactiveTabPane,oe=v.useContext(K),re=oe.prefixCls,it=oe.tabs,Qe=et.tabPane,ve=it.findIndex(function(Zt){return Zt.key===Ye});return v.createElement("div",{className:r()("".concat(re,"-content-holder"))},v.createElement("div",{className:r()("".concat(re,"-content"),"".concat(re,"-content-").concat(rt),Object(a.a)({},"".concat(re,"-content-animated"),Qe)),style:ve&&Qe?Object(a.a)({},st?"marginRight":"marginLeft","-".concat(ve,"00%")):null},it.map(function(Zt){return v.cloneElement(Zt.node,{key:Zt.key,prefixCls:re,tabKey:Zt.key,id:wt,animated:Qe,active:Zt.key===Ye,destroyInactiveTabPane:Ve})})))}function Pe(Ke,wt){var Ye=Object.keys(Ke);if(Object.getOwnPropertySymbols){var et=Object.getOwnPropertySymbols(Ke);wt&&(et=et.filter(function(rt){return Object.getOwnPropertyDescriptor(Ke,rt).enumerable})),Ye.push.apply(Ye,et)}return Ye}function Ge(Ke){for(var wt=1;wt<arguments.length;wt++){var Ye=arguments[wt]!=null?arguments[wt]:{};wt%2?Pe(Object(Ye),!0).forEach(function(et){Object(a.a)(Ke,et,Ye[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ke,Object.getOwnPropertyDescriptors(Ye)):Pe(Object(Ye)).forEach(function(et){Object.defineProperty(Ke,et,Object.getOwnPropertyDescriptor(Ye,et))})}return Ke}function gt(Ke){var wt=Ke.prefixCls,Ye=Ke.forceRender,et=Ke.className,rt=Ke.style,st=Ke.id,Ve=Ke.active,oe=Ke.animated,re=Ke.destroyInactiveTabPane,it=Ke.tabKey,Qe=Ke.children,ve=v.useState(Ye),Zt=Object(h.a)(ve,2),dt=Zt[0],ct=Zt[1];v.useEffect(function(){Ve?ct(!0):re&&ct(!1)},[Ve,re]);var yt={};return Ve||(oe?(yt.visibility="hidden",yt.height=0,yt.overflowY="hidden"):yt.display="none"),v.createElement("div",{id:st&&"".concat(st,"-panel-").concat(it),role:"tabpanel",tabIndex:Ve?0:-1,"aria-labelledby":st&&"".concat(st,"-tab-").concat(it),"aria-hidden":!Ve,style:Ge(Ge({},yt),rt),className:r()("".concat(wt,"-tabpane"),Ve&&"".concat(wt,"-tabpane-active"),et)},(Ve||dt||Ye)&&Qe)}function _e(Ke,wt){var Ye=Object.keys(Ke);if(Object.getOwnPropertySymbols){var et=Object.getOwnPropertySymbols(Ke);wt&&(et=et.filter(function(rt){return Object.getOwnPropertyDescriptor(Ke,rt).enumerable})),Ye.push.apply(Ye,et)}return Ye}function Ce(Ke){for(var wt=1;wt<arguments.length;wt++){var Ye=arguments[wt]!=null?arguments[wt]:{};wt%2?_e(Object(Ye),!0).forEach(function(et){Object(a.a)(Ke,et,Ye[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ke,Object.getOwnPropertyDescriptors(Ye)):_e(Object(Ye)).forEach(function(et){Object.defineProperty(Ke,et,Object.getOwnPropertyDescriptor(Ye,et))})}return Ke}var lt=0;function ce(Ke){return Object(o.a)(Ke).map(function(wt){if(v.isValidElement(wt)){var Ye=wt.key!==void 0?String(wt.key):void 0;return Ce(Ce({key:Ye},wt.props),{},{node:wt})}return null}).filter(function(wt){return wt})}function Y(Ke,wt){var Ye,et=Ke.id,rt=Ke.prefixCls,st=rt===void 0?"rc-tabs":rt,Ve=Ke.className,oe=Ke.children,re=Ke.direction,it=Ke.activeKey,Qe=Ke.defaultActiveKey,ve=Ke.editable,Zt=Ke.animated,dt=Ke.tabPosition,ct=dt===void 0?"top":dt,yt=Ke.tabBarGutter,_t=Ke.tabBarStyle,or=Ke.tabBarExtraContent,Pt=Ke.locale,be=Ke.moreIcon,me=Ke.moreTransitionName,pe=Ke.destroyInactiveTabPane,ue=Ke.renderTabBar,De=Ke.onChange,He=Ke.onTabClick,ze=Ke.onTabScroll,Xe=Object(c.a)(Ke,["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"]),Be=ce(oe),nt=re==="rtl",At;Zt===!1?At={inkBar:!1,tabPane:!1}:At=Ce({inkBar:!0,tabPane:!1},Zt!==!0?Zt:null);var It=Object(v.useState)(!1),ae=Object(h.a)(It,2),he=ae[0],q=ae[1];Object(v.useEffect)(function(){q(W())},[]);var ne=Object(d.a)(function(){var ut;return(ut=Be[0])===null||ut===void 0?void 0:ut.key},{value:it,defaultValue:Qe}),Se=Object(h.a)(ne,2),Ne=Se[0],Me=Se[1],$e=Object(v.useState)(function(){return Be.findIndex(function(ut){return ut.key===Ne})}),vt=Object(h.a)($e,2),Wt=vt[0],$t=vt[1];Object(v.useEffect)(function(){var ut=Be.findIndex(function(Ot){return Ot.key===Ne});if(ut===-1){var ft;ut=Math.max(0,Math.min(Wt,Be.length-1)),Me((ft=Be[ut])===null||ft===void 0?void 0:ft.key)}$t(ut)},[Be.map(function(ut){return ut.key}).join("_"),Ne,Wt]);var Dt=Object(d.a)(null,{value:et}),Kt=Object(h.a)(Dt,2),Gt=Kt[0],Qt=Kt[1],Mt=ct;he&&!["left","right"].includes(ct)&&(Mt="top"),Object(v.useEffect)(function(){et||(Qt("rc-tabs-".concat(lt)),lt+=1)},[]);function dr(ut,ft){He==null||He(ut,ft),Me(ut),De==null||De(ut)}var er={id:Gt,activeKey:Ne,animated:At,tabPosition:Mt,rtl:nt,mobile:he},ot,xt=Ce(Ce({},er),{},{editable:ve,locale:Pt,moreIcon:be,moreTransitionName:me,tabBarGutter:yt,onTabClick:dr,onTabScroll:ze,extra:or,style:_t,panes:oe});return ue?ot=ue(xt,Ee):ot=v.createElement(Ee,Object.assign({},xt)),v.createElement(K.Provider,{value:{tabs:Be,prefixCls:st}},v.createElement("div",Object.assign({ref:wt,id:et,className:r()(st,"".concat(st,"-").concat(Mt),(Ye={},Object(a.a)(Ye,"".concat(st,"-mobile"),he),Object(a.a)(Ye,"".concat(st,"-editable"),ve),Object(a.a)(Ye,"".concat(st,"-rtl"),nt),Ye),Ve)},Xe),ot,v.createElement(Ae,Object.assign({destroyInactiveTabPane:pe},er,{animated:At}))))}var V=v.forwardRef(Y);V.TabPane=gt;var $=V,Te=$,ye=e("cCPh"),Fe=e.n(ye),Oe=e("fNCr"),se=e.n(Oe),fe=e("V/uB"),Le=e.n(fe),Je=e("uaoM"),mt=e("H84U"),Ct=function(Ke,wt){var Ye={};for(var et in Ke)Object.prototype.hasOwnProperty.call(Ke,et)&&wt.indexOf(et)<0&&(Ye[et]=Ke[et]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,et=Object.getOwnPropertySymbols(Ke);rt<et.length;rt++)wt.indexOf(et[rt])<0&&Object.prototype.propertyIsEnumerable.call(Ke,et[rt])&&(Ye[et[rt]]=Ke[et[rt]]);return Ye};function Ue(Ke){var wt,Ye=Ke.type,et=Ke.className,rt=Ke.size,st=Ke.onEdit,Ve=Ke.hideAdd,oe=Ke.centered,re=Ke.addIcon,it=Ct(Ke,["type","className","size","onEdit","hideAdd","centered","addIcon"]),Qe=it.prefixCls,ve=v.useContext(mt.b),Zt=ve.getPrefixCls,dt=ve.direction,ct=Zt("tabs",Qe),yt;return Ye==="editable-card"&&(yt={onEdit:function(or,Pt){var be=Pt.key,me=Pt.event;st==null||st(or==="add"?me:be,or)},removeIcon:v.createElement(Le.a,null),addIcon:re||v.createElement(se.a,null),showAdd:Ve!==!0}),Object(Je.a)(!("onPrevClick"in it)&&!("onNextClick"in it),"Tabs","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),v.createElement(Te,f()({direction:dt},it,{moreTransitionName:"slide-up",className:r()(et,(wt={},m()(wt,"".concat(ct,"-").concat(rt),rt),m()(wt,"".concat(ct,"-card"),["card","editable-card"].includes(Ye)),m()(wt,"".concat(ct,"-editable-card"),Ye==="editable-card"),m()(wt,"".concat(ct,"-centered"),oe),wt)),editable:yt,moreIcon:v.createElement(Fe.a,null),prefixCls:ct}))}Ue.TabPane=gt;var Rt=_.a=Ue},ZTW2:function(D,_,e){},ZWlE:function(D,_,e){var g=e("bYtY"),f=e("4NO4");function y(h){m(h),v(h)}function m(h){if(h.parallel)return;var c=!1;g.each(h.series,function(a){a&&a.type==="parallel"&&(c=!0)}),c&&(h.parallel=[{}])}function v(h){var c=f.normalizeToArray(h.parallelAxis);g.each(c,function(a){if(!g.isObject(a))return;var i=a.parallelIndex||0,r=f.normalizeToArray(h.parallel)[i];r&&r.parallelAxisDefault&&g.merge(a,r.parallelAxisDefault,!1)})}D.exports=y},ZX9x:function(D,_,e){"use strict";e.d(_,"a",function(){return N}),e.d(_,"b",function(){return B});var g=e("lSNA"),f=e.n(g),y=e("pVnL"),m=e.n(y),v=e("lwsE"),h=e.n(v),c=e("W8MJ"),a=e.n(c),i=e("7W2i"),r=e.n(i),o=e("LQ03"),d=e.n(o),n=e("q1tI"),l=e("TSYQ"),t=e.n(l),s=e("BGR+"),u=e("T1rO"),p=e.n(u),w=e("fEPi"),b=e.n(w),E=e("DFhj"),A=e.n(E),S=e("PKem"),T=e("H84U"),L=function(K){return!isNaN(parseFloat(K))&&isFinite(K)},x=L,C=function(P,K){var R={};for(var U in P)Object.prototype.hasOwnProperty.call(P,U)&&K.indexOf(U)<0&&(R[U]=P[U]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,U=Object.getOwnPropertySymbols(P);j<U.length;j++)K.indexOf(U[j])<0&&Object.prototype.propertyIsEnumerable.call(P,U[j])&&(R[U[j]]=P[U[j]]);return R},I={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},N=n.createContext({}),F=function(){var P=0;return function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return P+=1,"".concat(K).concat(P)}}(),k=function(P){r()(R,P);var K=d()(R);function R(U){var j;h()(this,R),j=K.call(this,U),j.responsiveHandler=function(X){j.setState({below:X.matches});var z=j.props.onBreakpoint,G=j.state.collapsed;z&&z(X.matches),G!==X.matches&&j.setCollapsed(X.matches,"responsive")},j.setCollapsed=function(X,z){"collapsed"in j.props||j.setState({collapsed:X});var G=j.props.onCollapse;G&&G(X,z)},j.toggle=function(){var X=!j.state.collapsed;j.setCollapsed(X,"clickTrigger")},j.renderSider=function(X){var z,G=X.getPrefixCls,Z=j.props,ge=Z.prefixCls,Q=Z.className,we=Z.theme,Ee=Z.collapsible,Ae=Z.reverseArrow,Pe=Z.trigger,Ge=Z.style,gt=Z.width,_e=Z.collapsedWidth,Ce=Z.zeroWidthTriggerStyle,lt=Z.children,ce=C(Z,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),Y=j.state,V=Y.collapsed,$=Y.below,Te=G("layout-sider",ge),ye=Object(s.default)(ce,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),Fe=V?_e:gt,Oe=x(Fe)?"".concat(Fe,"px"):String(Fe),se=parseFloat(String(_e||0))===0?n.createElement("span",{onClick:j.toggle,className:t()("".concat(Te,"-zero-width-trigger"),"".concat(Te,"-zero-width-trigger-").concat(Ae?"right":"left")),style:Ce},Pe||n.createElement(p.a,null)):null,fe={expanded:Ae?n.createElement(b.a,null):n.createElement(A.a,null),collapsed:Ae?n.createElement(A.a,null):n.createElement(b.a,null)},Le=V?"collapsed":"expanded",Je=fe[Le],mt=Pe!==null?se||n.createElement("div",{className:"".concat(Te,"-trigger"),onClick:j.toggle,style:{width:Oe}},Pe||Je):null,Ct=m()(m()({},Ge),{flex:"0 0 ".concat(Oe),maxWidth:Oe,minWidth:Oe,width:Oe}),Ue=t()(Q,Te,"".concat(Te,"-").concat(we),(z={},f()(z,"".concat(Te,"-collapsed"),!!V),f()(z,"".concat(Te,"-has-trigger"),Ee&&Pe!==null&&!se),f()(z,"".concat(Te,"-below"),!!$),f()(z,"".concat(Te,"-zero-width"),parseFloat(Oe)===0),z));return n.createElement("aside",m()({className:Ue},ye,{style:Ct}),n.createElement("div",{className:"".concat(Te,"-children")},lt),Ee||$&&se?mt:null)},j.uniqueId=F("ant-sider-");var H;typeof window!="undefined"&&(H=window.matchMedia),H&&U.breakpoint&&U.breakpoint in I&&(j.mql=H("(max-width: ".concat(I[U.breakpoint],")")));var W;return"collapsed"in U?W=U.collapsed:W=U.defaultCollapsed,j.state={collapsed:W,below:!1},j}return a()(R,[{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,H;(j=this===null||this===void 0?void 0:this.mql)===null||j===void 0||j.removeListener(this.responsiveHandler),(H=this.props)===null||H===void 0||H.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var j=this.state.collapsed,H=this.props.collapsedWidth;return n.createElement(N.Provider,{value:{siderCollapsed:j,collapsedWidth:H}},n.createElement(T.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(j){return"collapsed"in j?{collapsed:j.collapsed}:null}}]),R}(n.Component);k.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var B=function(P){r()(R,P);var K=d()(R);function R(){return h()(this,R),K.apply(this,arguments)}return a()(R,[{key:"render",value:function(){var j=this;return n.createElement(S.a.Consumer,null,function(H){return n.createElement(k,m()({},H,j.props))})}}]),R}(n.Component)},ZYIC:function(D,_,e){var g=e("zM3Q"),f={seriesType:"lines",plan:g(),reset:function(y){var m=y.coordinateSystem,v=y.get("polyline"),h=y.pipelineContext.large;function c(a,i){var r=[];if(h){var o,d=a.end-a.start;if(v){for(var n=0,l=a.start;l<a.end;l++)n+=y.getLineCoordsCount(l);o=new Float32Array(d+n*2)}else o=new Float32Array(d*4);for(var t=0,s=[],l=a.start;l<a.end;l++){var u=y.getLineCoords(l,r);v&&(o[t++]=u);for(var p=0;p<u;p++)s=m.dataToPoint(r[p],!1,s),o[t++]=s[0],o[t++]=s[1]}i.setLayout("linesPoints",o)}else for(var l=a.start;l<a.end;l++){var w=i.getItemModel(l),u=y.getLineCoords(l,r),b=[];if(v)for(var E=0;E<u;E++)b.push(m.dataToPoint(r[E]));else{b[0]=m.dataToPoint(r[0]),b[1]=m.dataToPoint(r[1]);var A=w.get("lineStyle.curveness");+A&&(b[2]=[(b[0][0]+b[1][0])/2-(b[0][1]-b[1][1])*A,(b[0][1]+b[1][1])/2-(b[1][0]-b[0][0])*A])}i.setItemLayout(l,b)}}return{progress:c}}};D.exports=f},Ze12:function(D,_,e){var g=e("ItGF"),f=e("hOwI"),y=f.buildTransformer,m="___zrEVENTSAVED",v=[];function h(o,d,n,l,t){return c(v,d,l,t,!0)&&c(o,n,v[0],v[1])}function c(o,d,n,l,t){if(d.getBoundingClientRect&&g.domSupported&&!r(d)){var s=d[m]||(d[m]={}),u=a(d,s),p=i(u,s,t);if(p)return p(o,n,l),!0}return!1}function a(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 u=document.createElement("div"),p=u.style,w=s%2,b=(s>>1)%2;p.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",l[w]+":0",t[b]+":0",l[1-w]+":auto",t[1-b]+":auto",""].join("!important;"),o.appendChild(u),n.push(u)}return n}function i(o,d,n){for(var l=n?"invTrans":"trans",t=d[l],s=d.srcCoords,u=!0,p=[],w=[],b=0;b<4;b++){var E=o[b].getBoundingClientRect(),A=2*b,S=E.left,T=E.top;p.push(S,T),u=u&&s&&S===s[A]&&T===s[A+1],w.push(o[b].offsetLeft,o[b].offsetTop)}return u&&t?t:(d.srcCoords=p,d[l]=n?y(w,p):y(p,w))}function r(o){return o.nodeName.toUpperCase()==="CANVAS"}_.transformLocalCoord=h,_.transformCoordWithViewport=c,_.isCanvasEl=r},Znkb:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),m=e("zTMp"),v=y.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(r,o,d,n){this.axisPointerClass&&m.fixValue(r),v.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),v.superApply(this,"remove",arguments)},dispose:function(r,o){c(this,o),v.superApply(this,"dispose",arguments)}});function h(r,o,d,n,l,t){var s=v.getAxisPointerClass(r.axisPointerClass);if(!s)return;var u=m.getAxisPointerModel(o);u?(r._axisPointer||(r._axisPointer=new s)).render(o,u,n,t):c(r,n)}function c(r,o,d){var n=r._axisPointer;n&&n.dispose(o,d),r._axisPointer=null}var a=[];v.registerAxisPointerClass=function(r,o){a[r]=o},v.getAxisPointerClass=function(r){return r&&a[r]};var i=v;D.exports=i},"Znn+":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("9ama"),m=e.n(y)},ZqQs:function(D,_,e){var g=e("bYtY");function f(h){var c=h&&h.timeline;g.isArray(c)||(c=c?[c]:[]),g.each(c,function(a){if(!a)return;y(a)})}function y(h){var c=h.type,a={number:"value",time:"time"};if(a[c]&&(h.axisType=a[c],delete h.type),m(h),v(h,"controlPosition")){var i=h.controlStyle||(h.controlStyle={});v(i,"position")||(i.position=h.controlPosition),i.position==="none"&&!v(i,"show")&&(i.show=!1,delete i.position),delete h.controlPosition}g.each(h.data||[],function(r){g.isObject(r)&&!g.isArray(r)&&(!v(r,"value")&&v(r,"name")&&(r.value=r.name),m(r))})}function m(h){var c=h.itemStyle||(h.itemStyle={}),a=c.emphasis||(c.emphasis={}),i=h.label||h.label||{},r=i.normal||(i.normal={}),o={normal:1,emphasis:1};g.each(i,function(d,n){!o[n]&&!v(r,n)&&(r[n]=d)}),a.label&&!v(i,"emphasis")&&(i.emphasis=a.label,delete a.label)}function v(h,c){return h.hasOwnProperty(c)}D.exports=f},Zvw2:function(D,_,e){var g=e("bYtY"),f=e("hM6l"),y=function(v,h,c,a,i){f.call(this,v,h,c),this.type=a||"value",this.position=i||"bottom",this.orient=null};y.prototype={constructor:y,model:null,isHorizontal:function(){var v=this.position;return v==="top"||v==="bottom"},pointToData:function(v,h){return this.coordinateSystem.pointToData(v,h)[0]},toGlobalCoord:null,toLocalCoord:null},g.inherits(y,f);var m=y;D.exports=m},a7Wl:function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},a9QJ:function(D,_){var e={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function g(f,y){if(f==="world"){var m=e[y.name];if(m){var v=y.center;v[0]=m[0],v[1]=m[1]}}}D.exports=g},aHsQ:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("6D9b"),m=e.n(y)},aKvl:function(D,_,e){var g=e("Sj9i"),f=g.quadraticProjectPoint;function y(m,v,h,c,a,i,r,o,d){if(r===0)return!1;var n=r;if(d>v+n&&d>c+n&&d>i+n||d<v-n&&d<c-n&&d<i-n||o>m+n&&o>h+n&&o>a+n||o<m-n&&o<h-n&&o<a-n)return!1;var l=f(m,v,h,c,a,i,o,d,null);return l<=n/2}_.containStroke=y},aTJb:function(D,_,e){var g=e("bLfw");g.registerSubTypeDefaulter("dataZoom",function(){return"slider"})},aUsF:function(D,_,e){"use strict";var g=Array.isArray,f=Object.keys,y=Object.prototype.hasOwnProperty;D.exports=function m(v,h){if(v===h)return!0;if(v&&h&&typeof v=="object"&&typeof h=="object"){var c=g(v),a=g(h),i,r,o;if(c&&a){if(r=v.length,r!=h.length)return!1;for(i=r;i--!==0;)if(!m(v[i],h[i]))return!1;return!0}if(c!=a)return!1;var d=v instanceof Date,n=h instanceof Date;if(d!=n)return!1;if(d&&n)return v.getTime()==h.getTime();var l=v instanceof RegExp,t=h instanceof RegExp;if(l!=t)return!1;if(l&&t)return v.toString()==h.toString();var s=f(v);if(r=s.length,r!==f(h).length)return!1;for(i=r;i--!==0;)if(!y.call(h,s[i]))return!1;for(i=r;i--!==0;)if(o=s[i],!m(v[o],h[o]))return!1;return!0}return v!==v&&h!==h}},aX58:function(D,_,e){var g=e("3gBT"),f=e("ItGF"),y=e("bYtY"),m=e("0s+r"),v=e("r6Bn"),h=e("7SHv"),c=e("MKOG"),a=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 i=!f.canvasSupported,r={canvas:h},o={},d="4.3.1";function n(w,b){var E=new p(g(),w,b);return o[E.id]=E,E}function l(w){if(w)w.dispose();else{for(var b in o)o.hasOwnProperty(b)&&o[b].dispose();o={}}return this}function t(w){return o[w]}function s(w,b){r[w]=b}function u(w){delete o[w]}var p=function(b,E,A){A=A||{},this.dom=E,this.id=b;var S=this,T=new v,L=A.renderer;if(i){if(!r.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");L="vml"}else(!L||!r[L])&&(L="canvas");var x=new r[L](E,T,A,b);this.storage=T,this.painter=x;var C=!f.node&&!f.worker?new a(x.getViewportRoot(),x.root):null;this.handler=new m(T,x,C,x.root),this.animation=new c({stage:{update:y.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var I=T.delFromStorage,N=T.addToStorage;T.delFromStorage=function(F){I.call(T,F),F&&F.removeSelfFromZr(S)},T.addToStorage=function(F){N.call(T,F),F.addSelfToZr(S)}};p.prototype={constructor:p,getId:function(){return this.id},add:function(b){this.storage.addRoot(b),this._needsRefresh=!0},remove:function(b){this.storage.delRoot(b),this._needsRefresh=!0},configLayer:function(b,E){this.painter.configLayer&&this.painter.configLayer(b,E),this._needsRefresh=!0},setBackgroundColor:function(b){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(b),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 b;this._needsRefresh&&(b=!0,this.refreshImmediately()),this._needsRefreshHover&&(b=!0,this.refreshHoverImmediately()),b&&this.trigger("rendered")},addHover:function(b,E){if(this.painter.addHover){var A=this.painter.addHover(b,E);return this.refreshHover(),A}},removeHover:function(b){this.painter.removeHover&&(this.painter.removeHover(b),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(b){b=b||{},this.painter.resize(b.width,b.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(b,E){return this.painter.pathToImage(b,E)},setCursorStyle:function(b){this.handler.setCursorStyle(b)},findHover:function(b,E){return this.handler.findHover(b,E)},on:function(b,E,A){this.handler.on(b,E,A)},off:function(b,E){this.handler.off(b,E)},trigger:function(b,E){this.handler.trigger(b,E)},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,u(this.id)}},_.version=d,_.init=n,_.dispose=l,_.getInstance=t,_.registerPainter=s},aX7z:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=e("GMDS"),v=e("ieMj"),h=e("4NgU"),c=e("OELB"),a=e("nVfU"),i=a.prepareLayoutBarSeries,r=a.makeColumnLayout,o=a.retrieveColumnLayout,d=e("mFDi");e("IWp7"),e("jCoz");function n(T,L){var x=T.type,C=L.getMin(),I=L.getMax(),N=T.getExtent(),F,k,B;x==="ordinal"?F=L.getCategories().length:(k=L.get("boundaryGap"),y.isArray(k)||(k=[k||0,k||0]),typeof k[0]=="boolean"&&(k=[0,0]),k[0]=c.parsePercent(k[0],1),k[1]=c.parsePercent(k[1],1),B=N[1]-N[0]||Math.abs(N[0])),C==="dataMin"?C=N[0]:typeof C=="function"&&(C=C({min:N[0],max:N[1]})),I==="dataMax"?I=N[1]:typeof I=="function"&&(I=I({min:N[0],max:N[1]}));var P=C!=null,K=I!=null;C==null&&(C=x==="ordinal"?F?0:NaN:N[0]-k[0]*B),I==null&&(I=x==="ordinal"?F?F-1:NaN:N[1]+k[1]*B),(C==null||!isFinite(C))&&(C=NaN),(I==null||!isFinite(I))&&(I=NaN),T.setBlank(y.eqNaN(C)||y.eqNaN(I)||x==="ordinal"&&!T.getOrdinalMeta().categories.length),L.getNeedCrossZero()&&(C>0&&I>0&&!P&&(C=0),C<0&&I<0&&!K&&(I=0));var R=L.ecModel;if(R&&x==="time"){var U=i("bar",R),j;if(y.each(U,function(X){j|=X.getBaseAxis()===L.axis}),j){var H=r(U),W=l(C,I,L,H);C=W.min,I=W.max}}return{extent:[C,I],fixMin:P,fixMax:K}}function l(T,L,x,C){var I=x.axis.getExtent(),N=I[1]-I[0],F=o(C,x.axis);if(F===void 0)return{min:T,max:L};var k=Infinity;y.each(F,function(j){k=Math.min(j.offset,k)});var B=-Infinity;y.each(F,function(j){B=Math.max(j.offset+j.width,B)}),k=Math.abs(k),B=Math.abs(B);var P=k+B,K=L-T,R=1-(k+B)/N,U=K/R-K;return L+=U*(B/P),T-=U*(k/P),{min:T,max:L}}function t(T,L){var x=n(T,L),C=x.extent,I=L.get("splitNumber");T.type==="log"&&(T.base=L.get("logBase"));var N=T.type;T.setExtent(C[0],C[1]),T.niceExtent({splitNumber:I,fixMin:x.fixMin,fixMax:x.fixMax,minInterval:N==="interval"||N==="time"?L.get("minInterval"):null,maxInterval:N==="interval"||N==="time"?L.get("maxInterval"):null});var F=L.get("interval");F!=null&&(T.setInterval&&T.setInterval(F))}function s(T,L){if(L=L||T.get("type"),L)switch(L){case"category":return new m(T.getOrdinalMeta?T.getOrdinalMeta():T.getCategories(),[Infinity,-Infinity]);case"value":return new v;default:return(h.getClass(L)||v).create(T)}}function u(T){var L=T.scale.getExtent(),x=L[0],C=L[1];return!(x>0&&C>0||x<0&&C<0)}function p(T){var L=T.getLabelModel().get("formatter"),x=T.type==="category"?T.scale.getExtent()[0]:null;return typeof L=="string"?(L=function(C){return function(I){return I=T.scale.getLabel(I),C.replace("{value}",I!=null?I:"")}}(L),L):typeof L=="function"?function(C,I){return x!=null&&(I=C-x),L(w(T,C),I)}:function(C){return T.scale.getLabel(C)}}function w(T,L){return T.type==="category"?T.scale.getLabel(L):L}function b(T){var L=T.model,x=T.scale;if(!L.get("axisLabel.show")||x.isBlank())return;var C=T.type==="category",I,N,F=x.getExtent();C?N=x.count():(I=x.getTicks(),N=I.length);var k=T.getLabelModel(),B=p(T),P,K=1;N>40&&(K=Math.ceil(N/40));for(var R=0;R<N;R+=K){var U=I?I[R]:F[0]+R,j=B(U),H=k.getTextRect(j),W=E(H,k.get("rotate")||0);P?P.union(W):P=W}return P}function E(T,L){var x=L*Math.PI/180,C=T.plain(),I=C.width,N=C.height,F=I*Math.cos(x)+N*Math.sin(x),k=I*Math.sin(x)+N*Math.cos(x),B=new d(C.x,C.y,F,k);return B}function A(T){var L=T.get("interval");return L==null?"auto":L}function S(T){return T.type==="category"&&A(T.getLabelModel())===0}_.getScaleExtent=n,_.niceScaleExtent=t,_.createScaleByModel=s,_.ifAxisCrossZero=u,_.makeLabelFormatter=p,_.getAxisRawValue=w,_.estimateLabelUnionRect=b,_.getOptionCategoryInterval=A,_.shouldShowAllLabels=S},adU4:function(D,_,e){var g=e("y1pI"),f=Array.prototype,y=f.splice;function m(v){var h=this.__data__,c=g(h,v);if(c<0)return!1;var a=h.length-1;return c==a?h.pop():y.call(h,c,1),--this.size,!0}D.exports=m},"af/B":function(D,_,e){var g=e("bYtY"),f=g.each,y=g.map,m=g.isFunction,v=g.createHashMap,h=g.noop,c=e("9H2F"),a=c.createTask,i=e("iRjW"),r=i.getUID,o=e("fmMI"),d=e("hD7B"),n=e("4NO4"),l=n.normalizeToArray;function t(j,H,W,X){this.ecInstance=j,this.api=H,this.unfinished;var W=this._dataProcessorHandlers=W.slice(),X=this._visualHandlers=X.slice();this._allHandlers=W.concat(X),this._stageTaskMap=v()}var s=t.prototype;s.restoreData=function(j,H){j.restoreData(H),this._stageTaskMap.each(function(W){var X=W.overallTask;X&&X.dirty()})},s.getPerformArgs=function(j,H){if(!j.__pipeline)return;var W=this._pipelineMap.get(j.__pipeline.id),X=W.context,z=!H&&W.progressiveEnabled&&(!X||X.progressiveRender)&&j.__idxInPipeline>W.blockIndex,G=z?W.step:null,Z=X&&X.modDataCount,ge=Z!=null?Math.ceil(Z/G):null;return{step:G,modBy:ge,modDataCount:Z}},s.getPipeline=function(j){return this._pipelineMap.get(j)},s.updateStreamModes=function(j,H){var W=this._pipelineMap.get(j.uid),X=j.getData(),z=X.count(),G=W.progressiveEnabled&&H.incrementalPrepareRender&&z>=W.threshold,Z=j.get("large")&&z>=j.get("largeThreshold"),ge=j.get("progressiveChunkMode")==="mod"?z:null;j.pipelineContext=W.context={progressiveRender:G,modDataCount:ge,large:Z}},s.restorePipelines=function(j){var H=this,W=H._pipelineMap=v();j.eachSeries(function(X){var z=X.getProgressive(),G=X.uid;W.set(G,{id:G,head:null,tail:null,threshold:X.getProgressiveThreshold(),progressiveEnabled:z&&!(X.preventIncremental&&X.preventIncremental()),blockIndex:-1,step:Math.round(z||700),count:0}),F(H,X,X.dataTask)})},s.prepareStageTasks=function(){var j=this._stageTaskMap,H=this.ecInstance.getModel(),W=this.api;f(this._allHandlers,function(X){var z=j.get(X.uid)||j.set(X.uid,[]);X.reset&&w(this,X,z,H,W),X.overallReset&&b(this,X,z,H,W)},this)},s.prepareView=function(j,H,W,X){var z=j.renderTask,G=z.context;G.model=H,G.ecModel=W,G.api=X,z.__block=!j.incrementalPrepareRender,F(this,H,z)},s.performDataProcessorTasks=function(j,H){u(this,this._dataProcessorHandlers,j,H,{block:!0})},s.performVisualTasks=function(j,H,W){u(this,this._visualHandlers,j,H,W)};function u(j,H,W,X,z){z=z||{};var G;f(H,function(ge,Q){if(z.visualType&&z.visualType!==ge.visualType)return;var we=j._stageTaskMap.get(ge.uid),Ee=we.seriesTaskMap,Ae=we.overallTask;if(Ae){var Pe,Ge=Ae.agentStubMap;Ge.each(function(_e){Z(z,_e)&&(_e.dirty(),Pe=!0)}),Pe&&Ae.dirty(),p(Ae,X);var gt=j.getPerformArgs(Ae,z.block);Ge.each(function(_e){_e.perform(gt)}),G|=Ae.perform(gt)}else Ee&&Ee.each(function(_e,Ce){Z(z,_e)&&_e.dirty();var lt=j.getPerformArgs(_e,z.block);lt.skip=!ge.performRawSeries&&W.isSeriesFiltered(_e.context.model),p(_e,X),G|=_e.perform(lt)})});function Z(ge,Q){return ge.setDirty&&(!ge.dirtyMap||ge.dirtyMap.get(Q.__pipeline.id))}j.unfinished|=G}s.performSeriesTasks=function(j){var H;j.eachSeries(function(W){H|=W.dataTask.perform()}),this.unfinished|=H},s.plan=function(){this._pipelineMap.each(function(j){var H=j.tail;do{if(H.__block){j.blockIndex=H.__idxInPipeline;break}H=H.getUpstream()}while(H)})};var p=s.updatePayload=function(j,H){H!=="remain"&&(j.context.payload=H)};function w(j,H,W,X,z){var G=W.seriesTaskMap||(W.seriesTaskMap=v()),Z=H.seriesType,ge=H.getTargetSeries;H.createOnAllSeries?X.eachRawSeries(Q):Z?X.eachRawSeriesByType(Z,Q):ge&&ge(X,z).each(Q);function Q(Ee){var Ae=Ee.uid,Pe=G.get(Ae)||G.set(Ae,a({plan:L,reset:x,count:N}));Pe.context={model:Ee,ecModel:X,api:z,useClearVisual:H.isVisual&&!H.isLayout,plan:H.plan,reset:H.reset,scheduler:j},F(j,Ee,Pe)}var we=j._pipelineMap;G.each(function(Ee,Ae){we.get(Ae)||(Ee.dispose(),G.removeKey(Ae))})}function b(j,H,W,X,z){var G=W.overallTask=W.overallTask||a({reset:E});G.context={ecModel:X,api:z,overallReset:H.overallReset,scheduler:j};var Z=G.agentStubMap=G.agentStubMap||v(),ge=H.seriesType,Q=H.getTargetSeries,we=!0,Ee=H.modifyOutputEnd;ge?X.eachRawSeriesByType(ge,Ae):Q?Q(X,z).each(Ae):(we=!1,f(X.getSeries(),Ae));function Ae(Ge){var gt=Ge.uid,_e=Z.get(gt);_e||(_e=Z.set(gt,a({reset:A,onDirty:T})),G.dirty()),_e.context={model:Ge,overallProgress:we,modifyOutputEnd:Ee},_e.agent=G,_e.__block=we,F(j,Ge,_e)}var Pe=j._pipelineMap;Z.each(function(Ge,gt){Pe.get(gt)||(Ge.dispose(),G.dirty(),Z.removeKey(gt))})}function E(j){j.overallReset(j.ecModel,j.api,j.payload)}function A(j,H){return j.overallProgress&&S}function S(){this.agent.dirty(),this.getDownstream().dirty()}function T(){this.agent&&this.agent.dirty()}function L(j){return j.plan&&j.plan(j.model,j.ecModel,j.api,j.payload)}function x(j){j.useClearVisual&&j.data.clearAllVisual();var H=j.resetDefines=l(j.reset(j.model,j.ecModel,j.api,j.payload));return H.length>1?y(H,function(W,X){return I(X)}):C}var C=I(0);function I(j){return function(H,W){var X=W.data,z=W.resetDefines[j];if(z&&z.dataEach)for(var G=H.start;G<H.end;G++)z.dataEach(X,G);else z&&z.progress&&z.progress(H,X)}}function N(j){return j.data.count()}function F(j,H,W){var X=H.uid,z=j._pipelineMap.get(X);!z.head&&(z.head=W),z.tail&&z.tail.pipe(W),z.tail=W,W.__idxInPipeline=z.count++,W.__pipeline=z}t.wrapStageHandler=function(j,H){return m(j)&&(j={overallReset:j,seriesType:k(j)}),j.uid=r("stageHandler"),H&&(j.visualType=H),j};function k(j){K=null;try{j(B,P)}catch(H){}return K}var B={},P={},K;R(B,o),R(P,d),B.eachSeriesByType=B.eachRawSeriesByType=function(j){K=j},B.eachComponent=function(j){j.mainType==="series"&&j.subType&&(K=j.subType)};function R(j,H){for(var W in H.prototype)j[W]=h}var U=t;D.exports=U},akwb:function(D,_,e){var g=e("RSch"),f=e("bYtY"),y=e("D9ME"),m=e("QBsz");function v(a,i,r){y.call(this,a,i,r),this._lastFrame=0,this._lastFramePercent=0}var h=v.prototype;h.createLine=function(a,i,r){return new g(a,i,r)},h.updateAnimationPoints=function(a,i){this._points=i;for(var r=[0],o=0,d=1;d<i.length;d++){var n=i[d-1],l=i[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(a){return this._length},h.updateSymbolPosition=function(a){var i=a.__t,r=this._points,o=this._offsets,d=r.length;if(!o)return;var n=this._lastFrame,l;if(i<this._lastFramePercent){var t=Math.min(n+1,d-1);for(l=t;l>=0&&!(o[l]<=i);l--);l=Math.min(l,d-2)}else{for(var l=n;l<d&&!(o[l]>i);l++);l=Math.min(l-1,d-2)}m.lerp(a.position,r[l],r[l+1],(i-o[l])/(o[l+1]-o[l]));var s=r[l+1][0]-r[l][0],u=r[l+1][1]-r[l][1];a.rotation=-Math.atan2(u,s)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=i,a.ignore=!1},f.inherits(v,y);var c=v;D.exports=c},apAg:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("bsht")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="SearchOutlined";var c=y.forwardRef(h);_.default=c},as94:function(D,_,e){var g=e("7aKB"),f=e("3LNs"),y=e("IwbS"),m=e("/y7N"),v=e("Fofx"),h=e("+rIm"),c=e("Znkb"),a=f.extend({makeElOption:function(d,n,l,t,s){var u=l.axis;u.dim==="angle"&&(this.animationThreshold=Math.PI/18);var p=u.polar,w=p.getOtherAxis(u),b=w.getExtent(),E;E=u["dataTo"+g.capitalFirst(u.dim)](n);var A=t.get("type");if(A&&A!=="none"){var S=m.buildElStyle(t),T=r[A](u,p,E,b,S);T.style=S,d.graphicKey=T.type,d.pointer=T}var L=t.get("label.margin"),x=i(n,l,t,p,L);m.buildLabelElOption(d,l,t,s,x)}});function i(d,n,l,t,s){var u=n.axis,p=u.dataToCoord(d),w=t.getAngleAxis().getExtent()[0];w=w/180*Math.PI;var b=t.getRadiusAxis().getExtent(),E,A,S;if(u.dim==="radius"){var T=v.create();v.rotate(T,T,w),v.translate(T,T,[t.cx,t.cy]),E=y.applyTransform([p,-s],T);var L=n.getModel("axisLabel").get("rotate")||0,x=h.innerTextLayout(w,L*Math.PI/180,-1);A=x.textAlign,S=x.textVerticalAlign}else{var C=b[1];E=t.coordToPoint([C+s,p]);var I=t.cx,N=t.cy;A=Math.abs(E[0]-I)/C<.3?"center":E[0]>I?"left":"right",S=Math.abs(E[1]-N)/C<.3?"middle":E[1]>N?"top":"bottom"}return{position:E,align:A,verticalAlign:S}}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 u=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-u/2)*p,(-l+u/2)*p)}:{type:"Sector",shape:m.makeSectorShape(n.cx,n.cy,l-u/2,l+u/2,0,Math.PI*2)}}};c.registerAxisPointerClass("PolarAxisPointer",a);var o=a;D.exports=o},b56q:function(D,_,e){},b80T:function(D,_,e){var g=e("UNi/"),f=e("03A+"),y=e("Z0cm"),m=e("DSRE"),v=e("wJg7"),h=e("c6wG"),c=Object.prototype,a=c.hasOwnProperty;function i(r,o){var d=y(r),n=!d&&f(r),l=!d&&!n&&m(r),t=!d&&!n&&!l&&h(r),s=d||n||l||t,u=s?g(r.length,String):[],p=u.length;for(var w in r)(o||a.call(r,w))&&!(s&&(w=="length"||l&&(w=="offset"||w=="parent")||t&&(w=="buffer"||w=="byteLength"||w=="byteOffset")||v(w,p)))&&u.push(w);return u}D.exports=i},b80e:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("gKaM")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="DoubleLeftOutlined";var c=y.forwardRef(h);_.default=c},b9oc:function(D,_,e){var g=e("bYtY"),f=g.each,y="\0_ec_hist_store";function m(i,r){var o=a(i);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=i.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(s){var u=s.getPercentRange();o[0][n]={dataZoomId:n,start:u[0],end:u[1]}}}}),o.push(r)}function v(i){var r=a(i),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(i){i[y]=null}function c(i){return a(i).length}function a(i){var r=i[y];return r||(r=i[y]=[{}]),r}_.push=m,_.pop=v,_.clear=h,_.count=c},bBKM:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),m=e("bYtY"),v=e("+rIm"),h=e("IwbS"),c=["axisLine","axisTickLabel","axisName"],a=y.extendComponentView({type:"radar",render:function(i,r,o){var d=this.group;d.removeAll(),this._buildAxes(i),this._buildSplitLineAndArea(i)},_buildAxes:function(i){var r=i.coordinateSystem,o=r.getIndicatorAxes(),d=m.map(o,function(n){var l=new v(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(c,n.add,n),this.group.add(n.getGroup())},this)},_buildSplitLineAndArea:function(i){var r=i.coordinateSystem,o=r.getIndicatorAxes();if(!o.length)return;var d=i.get("shape"),n=i.getModel("splitLine"),l=i.getModel("splitArea"),t=n.getModel("lineStyle"),s=l.getModel("areaStyle"),u=n.get("show"),p=l.get("show"),w=t.get("color"),b=s.get("color");w=m.isArray(w)?w:[w],b=m.isArray(b)?b:[b];var E=[],A=[];function S(U,j,H){var W=H%j.length;return U[W]=U[W]||[],W}if(d==="circle")for(var T=o[0].getTicksCoords(),L=r.cx,x=r.cy,C=0;C<T.length;C++){if(u){var I=S(E,w,C);E[I].push(new h.Circle({shape:{cx:L,cy:x,r:T[C].coord}}))}if(p&&C<T.length-1){var I=S(A,b,C);A[I].push(new h.Ring({shape:{cx:L,cy:x,r0:T[C].coord,r:T[C+1].coord}}))}}else for(var N,F=m.map(o,function(U,j){var H=U.getTicksCoords();return N=N==null?H.length-1:Math.min(H.length-1,N),m.map(H,function(W){return r.coordToPoint(W.coord,j)})}),k=[],C=0;C<=N;C++){for(var B=[],P=0;P<o.length;P++)B.push(F[P][C]);if(B[0]&&B.push(B[0].slice()),u){var I=S(E,w,C);E[I].push(new h.Polyline({shape:{points:B}}))}if(p&&k){var I=S(A,b,C-1);A[I].push(new h.Polygon({shape:{points:B.concat(k)}}))}k=B.slice().reverse()}var K=t.getLineStyle(),R=s.getAreaStyle();m.each(A,function(U,j){this.group.add(h.mergePath(U,{style:m.defaults({stroke:"none",fill:b[j%b.length]},R),silent:!0}))},this),m.each(E,function(U,j){this.group.add(h.mergePath(U,{style:m.defaults({fill:"none",stroke:w[j%w.length]},K),silent:!0}))},this)}});D.exports=a},bBL8:function(D,_,e){var g=e("ProS");e("LPzL"),e("rfSb"),e("JVwQ");var f=e("UnoB"),y=e("cbJ4"),m=e("0/Rx");g.registerLayout(f),g.registerVisual(y),g.registerProcessor(m("themeRiver"))},bE4E:function(D,_,e){},bE4q:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("RIqP"),h=e.n(v),c=e("q1tI"),a=e("TSYQ"),i=e.n(a),r=e("Zm9Q"),o=e("HQEm"),d=e.n(o),n=e("XBQK"),l=e("H84U"),t=function(k,B){var P={};for(var K in k)Object.prototype.hasOwnProperty.call(k,K)&&B.indexOf(K)<0&&(P[K]=k[K]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,K=Object.getOwnPropertySymbols(k);R<K.length;R++)B.indexOf(K[R])<0&&Object.prototype.propertyIsEnumerable.call(k,K[R])&&(P[K[R]]=k[K[R]]);return P},s=function(B){var P=B.prefixCls,K=B.separator,R=K===void 0?"/":K,U=B.children,j=B.overlay,H=B.dropdownProps,W=t(B,["prefixCls","separator","children","overlay","dropdownProps"]),X=c.useContext(l.b),z=X.getPrefixCls,G=z("breadcrumb",P),Z=function(we){return j?c.createElement(n.a,f()({overlay:j,placement:"bottomCenter"},H),c.createElement("span",{className:"".concat(G,"-overlay-link")},we,c.createElement(d.a,null))):we},ge;return"href"in W?ge=c.createElement("a",f()({className:"".concat(G,"-link")},W),U):ge=c.createElement("span",f()({className:"".concat(G,"-link")},W),U),ge=Z(ge),U?c.createElement("span",null,ge,R&&R!==""&&c.createElement("span",{className:"".concat(G,"-separator")},R)):null};s.__ANT_BREADCRUMB_ITEM=!0;var u=s,p=function(B){var P=B.children,K=c.useContext(l.b),R=K.getPrefixCls,U=R("breadcrumb");return c.createElement("span",{className:"".concat(U,"-separator")},P||"/")};p.__ANT_BREADCRUMB_SEPARATOR=!0;var w=p,b=e("BvKs"),E=e("uaoM"),A=e("0n0R"),S=function(k,B){var P={};for(var K in k)Object.prototype.hasOwnProperty.call(k,K)&&B.indexOf(K)<0&&(P[K]=k[K]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,K=Object.getOwnPropertySymbols(k);R<K.length;R++)B.indexOf(K[R])<0&&Object.prototype.propertyIsEnumerable.call(k,K[R])&&(P[K[R]]=k[K[R]]);return P};function T(k,B){if(!k.breadcrumbName)return null;var P=Object.keys(B).join("|"),K=k.breadcrumbName.replace(new RegExp(":(".concat(P,")"),"g"),function(R,U){return B[U]||R});return K}function L(k,B,P,K){var R=P.indexOf(k)===P.length-1,U=T(k,B);return R?c.createElement("span",null,U):c.createElement("a",{href:"#/".concat(K.join("/"))},U)}var x=function(B,P){return B=(B||"").replace(/^\//,""),Object.keys(P).forEach(function(K){B=B.replace(":".concat(K),P[K])}),B},C=function(B){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",K=arguments.length>2?arguments[2]:void 0,R=h()(B),U=x(P,K);return U&&R.push(U),R},I=function(B){var P=B.prefixCls,K=B.separator,R=K===void 0?"/":K,U=B.style,j=B.className,H=B.routes,W=B.children,X=B.itemRender,z=X===void 0?L:X,G=B.params,Z=G===void 0?{}:G,ge=S(B,["prefixCls","separator","style","className","routes","children","itemRender","params"]),Q=c.useContext(l.b),we=Q.getPrefixCls,Ee=Q.direction,Ae,Pe=we("breadcrumb",P);if(H&&H.length>0){var Ge=[];Ae=H.map(function(_e){var Ce=x(_e.path,Z);Ce&&Ge.push(Ce);var lt;return _e.children&&_e.children.length&&(lt=c.createElement(b.a,null,_e.children.map(function(ce){return c.createElement(b.a.Item,{key:ce.path||ce.breadcrumbName},z(ce,Z,H,C(Ge,ce.path,Z)))}))),c.createElement(u,{overlay:lt,separator:R,key:Ce||_e.breadcrumbName},z(_e,Z,H,Ge))})}else W&&(Ae=Object(r.a)(W).map(function(_e,Ce){return _e&&(Object(E.a)(_e.type&&(_e.type.__ANT_BREADCRUMB_ITEM===!0||_e.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(A.a)(_e,{separator:R,key:Ce}))}));var gt=i()(j,Pe,m()({},"".concat(Pe,"-rtl"),Ee==="rtl"));return c.createElement("div",f()({className:gt,style:U},ge),Ae)};I.Item=u,I.Separator=w;var N=I,F=_.a=N},bKJz:function(D,_,e){},bLfw:function(D,_,e){var g=e("bYtY"),f=e("Qxkt"),y=e("iRjW"),m=e("Yl7c"),v=m.enableClassManagement,h=m.parseClassType,c=e("4NO4"),a=c.makeInner,i=e("+TT/"),r=e("3hzK"),o=a(),d=f.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,s,u,p){f.call(this,t,s,u,p),this.uid=y.getUID("ec_cpt_model")},init:function(t,s,u,p){this.mergeDefaultAndTheme(t,u)},mergeDefaultAndTheme:function(t,s){var u=this.layoutMode,p=u?i.getLayoutParams(t):{},w=s.getTheme();g.merge(t,w.get(this.mainType)),g.merge(t,this.getDefaultOption()),u&&i.mergeLayoutParam(t,p,u)},mergeOption:function(t,s){g.merge(this.option,t,!0);var u=this.layoutMode;u&&i.mergeLayoutParam(this.option,t,u)},optionUpdated:function(t,s){},getDefaultOption:function(){var t=o(this);if(!t.defaultOption){for(var s=[],u=this.constructor;u;){var p=u.prototype.defaultOption;p&&s.push(p),u=u.superClass}for(var w={},b=s.length-1;b>=0;b--)w=g.merge(w,s[b],!0);t.defaultOption=w}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});v(d,{registerWhenExtend:!0}),y.enableSubTypeDefaulter(d),y.enableTopologicalTravel(d,n);function n(t){var s=[];return g.each(d.getClassesByMainType(t),function(u){s=s.concat(u.prototype.dependencies||[])}),s=g.map(s,function(u){return h(u).main}),t!=="dataset"&&g.indexOf(s,"dataset")<=0&&s.unshift("dataset"),s}g.mixin(d,r);var l=d;D.exports=l},bMXI:function(D,_,e){var g=e("bYtY"),f=e("QBsz"),y=e("Fofx"),m=e("mFDi"),v=e("DN4a"),h=f.applyTransform;function c(){v.call(this)}g.mixin(c,v);function a(o){this.name=o,this.zoomLimit,v.call(this),this._roamTransformable=new c,this._rawTransformable=new c,this._center,this._zoom}a.prototype={constructor:a,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(),y.copy(this.transform||(this.transform=[]),d.transform||y.create()),this._rawTransform=d.getLocalTransform(),this.invTransform=this.invTransform||[],y.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var o=this._roamTransformable.transform,d=this._rawTransformable;return{roamTransform:o?g.slice(o):y.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(i,"dataToPoint"),convertFromPixel:g.curry(i,"pointToData"),containPoint:function(o){return this.getViewRectAfterRoam().contain(o[0],o[1])}},g.mixin(a,v);function i(o,d,n,l){var t=n.seriesModel,s=t?t.coordinateSystem:null;return s===this?s[o](l):null}var r=a;D.exports=r},bNin:function(D,_,e){var g=e("bYtY"),f=e("IwbS"),y=e("FBjb"),m=e("Itpr"),v=m.radialCoordinate,h=e("ProS"),c=e("4mN7"),a=e("bMXI"),i=e("Ae+d"),r=e("SgGq"),o=e("xSat"),d=o.onIrrelevantElement,n=e("Tghj"),l=n.__DEV__,t=e("OELB"),s=t.parsePercent,u=f.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(L,x){var C=x.childPoints,I=C.length,N=x.parentPoint,F=C[0],k=C[I-1];if(I===1){L.moveTo(N[0],N[1]),L.lineTo(F[0],F[1]);return}var B=x.orient,P=B==="TB"||B==="BT"?0:1,K=1-P,R=s(x.forkPosition,1),U=[];U[P]=N[P],U[K]=N[K]+(k[K]-N[K])*R,L.moveTo(N[0],N[1]),L.lineTo(U[0],U[1]),L.moveTo(F[0],F[1]),U[P]=F[P],L.lineTo(U[0],U[1]),U[P]=k[P],L.lineTo(U[0],U[1]),L.lineTo(k[0],k[1]);for(var j=1;j<I-1;j++){var H=C[j];L.moveTo(H[0],H[1]),U[P]=H[P],L.lineTo(U[0],U[1])}}}),p=h.extendChartView({type:"tree",init:function(L,x){this._oldTree,this._mainGroup=new f.Group,this._controller=new r(x.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(L,x,C,I){var N=L.getData(),F=L.layoutInfo,k=this._mainGroup,B=L.get("layout");B==="radial"?k.attr("position",[F.x+F.width/2,F.y+F.height/2]):k.attr("position",[F.x,F.y]),this._updateViewCoordSys(L,F,B),this._updateController(L,x,C);var P=this._data,K={expandAndCollapse:L.get("expandAndCollapse"),layout:B,edgeShape:L.get("edgeShape"),edgeForkPosition:L.get("edgeForkPosition"),orient:L.getOrient(),curvature:L.get("lineStyle.curveness"),symbolRotate:L.get("symbolRotate"),symbolOffset:L.get("symbolOffset"),hoverAnimation:L.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};N.diff(P).add(function(R){w(N,R)&&E(N,R,null,k,L,K)}).update(function(R,U){var j=P.getItemGraphicEl(U);if(!w(N,R)){j&&S(P,U,j,k,L,K);return}E(N,R,j,k,L,K)}).remove(function(R){var U=P.getItemGraphicEl(R);U&&S(P,R,U,k,L,K)}).execute(),this._nodeScaleRatio=L.get("nodeScaleRatio"),this._updateNodeAndLinkScale(L),K.expandAndCollapse===!0&&N.eachItemGraphicEl(function(R,U){R.off("click").on("click",function(){C.dispatchAction({type:"treeExpandAndCollapse",seriesId:L.id,dataIndex:U})})}),this._data=N},_updateViewCoordSys:function(L){var x=L.getData(),C=[];x.each(function(P){var K=x.getItemLayout(P);K&&!isNaN(K.x)&&!isNaN(K.y)&&C.push([+K.x,+K.y])});var I=[],N=[];c.fromPoints(C,I,N);var F=this._min,k=this._max;N[0]-I[0]===0&&(I[0]=F?F[0]:I[0]-1,N[0]=k?k[0]:N[0]+1),N[1]-I[1]===0&&(I[1]=F?F[1]:I[1]-1,N[1]=k?k[1]:N[1]+1);var B=L.coordinateSystem=new a;B.zoomLimit=L.get("scaleLimit"),B.setBoundingRect(I[0],I[1],N[0]-I[0],N[1]-I[1]),B.setCenter(L.get("center")),B.setZoom(L.get("zoom")),this.group.attr({position:B.position,scale:B.scale}),this._viewCoordSys=B,this._min=I,this._max=N},_updateController:function(L,x,C){var I=this._controller,N=this._controllerHost,F=this.group;I.setPointerChecker(function(k,B,P){var K=F.getBoundingRect();return K.applyTransform(F.transform),K.contain(B,P)&&!d(k,C,L)}),I.enable(L.get("roam")),N.zoomLimit=L.get("scaleLimit"),N.zoom=L.coordinateSystem.getZoom(),I.off("pan").off("zoom").on("pan",function(k){i.updateViewOnPan(N,k.dx,k.dy),C.dispatchAction({seriesId:L.id,type:"treeRoam",dx:k.dx,dy:k.dy})},this).on("zoom",function(k){i.updateViewOnZoom(N,k.scale,k.originX,k.originY),C.dispatchAction({seriesId:L.id,type:"treeRoam",zoom:k.scale,originX:k.originX,originY:k.originY}),this._updateNodeAndLinkScale(L)},this)},_updateNodeAndLinkScale:function(L){var x=L.getData(),C=this._getNodeGlobalScale(L),I=[C,C];x.eachItemGraphicEl(function(N,F){N.attr("scale",I)})},_getNodeGlobalScale:function(L){var x=L.coordinateSystem;if(x.type!=="view")return 1;var C=this._nodeScaleRatio,I=x.scale,N=I&&I[0]||1,F=x.getZoom(),k=(F-1)*C+1;return k/N},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function w(L,x){var C=L.getItemLayout(x);return C&&!isNaN(C.x)&&!isNaN(C.y)&&L.getItemVisual(x,"symbol")!=="none"}function b(L,x,C){return C.itemModel=x,C.itemStyle=x.getModel("itemStyle").getItemStyle(),C.hoverItemStyle=x.getModel("emphasis.itemStyle").getItemStyle(),C.lineStyle=x.getModel("lineStyle").getLineStyle(),C.labelModel=x.getModel("label"),C.hoverLabelModel=x.getModel("emphasis.label"),L.isExpand===!1&&L.children.length!==0?C.symbolInnerColor=C.itemStyle.fill:C.symbolInnerColor="#fff",C}function E(L,x,C,I,N,F){var k=!C,B=L.tree.getNodeByDataIndex(x),P=B.getModel(),F=b(B,P,F),K=L.tree.root,R=B.parentNode===K?B:B.parentNode||B,U=L.getItemGraphicEl(R.dataIndex),j=R.getLayout(),H=U?{x:U.position[0],y:U.position[1],rawX:U.__radialOldRawX,rawY:U.__radialOldRawY}:j,W=B.getLayout();k?(C=new y(L,x,F),C.attr("position",[H.x,H.y])):C.updateData(L,x,F),C.__radialOldRawX=C.__radialRawX,C.__radialOldRawY=C.__radialRawY,C.__radialRawX=W.rawX,C.__radialRawY=W.rawY,I.add(C),L.setItemGraphicEl(x,C),f.updateProps(C,{position:[W.x,W.y]},N);var X=C.getSymbolPath();if(F.layout==="radial"){var z=K.children[0],G=z.getLayout(),Z=z.children.length,ge,Q;if(W.x===G.x&&B.isExpand===!0){var we={};we.x=(z.children[0].getLayout().x+z.children[Z-1].getLayout().x)/2,we.y=(z.children[0].getLayout().y+z.children[Z-1].getLayout().y)/2,ge=Math.atan2(we.y-G.y,we.x-G.x),ge<0&&(ge=Math.PI*2+ge),Q=we.x<G.x,Q&&(ge=ge-Math.PI)}else ge=Math.atan2(W.y-G.y,W.x-G.x),ge<0&&(ge=Math.PI*2+ge),B.children.length===0||B.children.length!==0&&B.isExpand===!1?(Q=W.x<G.x,Q&&(ge=ge-Math.PI)):(Q=W.x>G.x,Q||(ge=ge-Math.PI));var Ee=Q?"left":"right",Ae=F.labelModel.get("rotate"),Pe=Ae*(Math.PI/180);X.setStyle({textPosition:F.labelModel.get("position")||Ee,textRotation:Ae==null?-ge:Pe,textOrigin:"center",verticalAlign:"middle"})}A(N,B,K,C,H,j,W,I,F)}function A(L,x,C,I,N,F,k,B,P){var K=P.edgeShape,R=I.__edge;if(K==="curve")x.parentNode&&x.parentNode!==C&&(R||(R=I.__edge=new f.BezierCurve({shape:T(P,N,N),style:g.defaults({opacity:0,strokeNoScale:!0},P.lineStyle)})),f.updateProps(R,{shape:T(P,F,k),style:{opacity:1}},L));else if(K==="polyline"&&(P.layout==="orthogonal"&&(x!==C&&x.children&&x.children.length!==0&&x.isExpand===!0))){for(var U=x.children,j=[],H=0;H<U.length;H++){var W=U[H].getLayout();j.push([W.x,W.y])}R||(R=I.__edge=new u({shape:{parentPoint:[k.x,k.y],childPoints:[[k.x,k.y]],orient:P.orient,forkPosition:P.edgeForkPosition},style:g.defaults({opacity:0,strokeNoScale:!0},P.lineStyle)})),f.updateProps(R,{shape:{parentPoint:[k.x,k.y],childPoints:j},style:{opacity:1}},L)}B.add(R)}function S(L,x,C,I,N,F){for(var k=L.tree.getNodeByDataIndex(x),B=L.tree.root,P=k.getModel(),F=b(k,P,F),K=k.parentNode===B?k:k.parentNode||k,R=F.edgeShape,U;U=K.getLayout(),U==null;)K=K.parentNode===B?K:K.parentNode||K;f.updateProps(C,{position:[U.x+1,U.y+1]},N,function(){I.remove(C),L.setItemGraphicEl(x,null)}),C.fadeOut(null,{keepLabel:!0});var j=L.getItemGraphicEl(K.dataIndex),H=j.__edge,W=C.__edge||(K.isExpand===!1||K.children.length===1?H:void 0),R=F.edgeShape;W&&(R==="curve"?f.updateProps(W,{shape:T(F,U,U),style:{opacity:0}},N,function(){I.remove(W)}):R==="polyline"&&F.layout==="orthogonal"&&f.updateProps(W,{shape:{parentPoint:[U.x,U.y],childPoints:[[U.x,U.y]]},style:{opacity:0}},N,function(){I.remove(W)}))}function T(L,x,C){var I,N,F,k,B=L.orient,P,K,R,U;if(L.layout==="radial"){P=x.rawX,R=x.rawY,K=C.rawX,U=C.rawY;var j=v(P,R),H=v(P,R+(U-R)*L.curvature),W=v(K,U+(R-U)*L.curvature),X=v(K,U);return{x1:j.x,y1:j.y,x2:X.x,y2:X.y,cpx1:H.x,cpy1:H.y,cpx2:W.x,cpy2:W.y}}else P=x.x,R=x.y,K=C.x,U=C.y,(B==="LR"||B==="RL")&&(I=P+(K-P)*L.curvature,N=R,F=K+(P-K)*L.curvature,k=U),(B==="TB"||B==="BT")&&(I=P,N=R+(U-R)*L.curvature,F=K,k=U+(R-U)*L.curvature);return{x1:P,y1:R,x2:K,y2:U,cpx1:I,cpy1:N,cpx2:F,cpy2:k}}D.exports=p},bRQS:function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="CheckOutlined";var h=_.a=g.forwardRef(v)},bX4T:function(D,_,e){"use strict";e.d(_,"a",function(){return c});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`,y="".concat(g," ").concat(f).split(/[\s\n]+/),m="aria-",v="data-";function h(a,i){return a.indexOf(i)===0}function c(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r={};return Object.keys(a).forEach(function(o){(h(o,m)||!i&&(y.includes(o)||h(o,v)))&&(r[o]=a[o])}),r}},bYtY:function(D,_){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,y=Array.prototype,m=y.forEach,v=y.filter,h=y.slice,c=y.map,a=y.reduce,i={};function r(_e,Ce){_e==="createCanvas"&&(u=null),i[_e]=Ce}function o(_e){if(_e==null||typeof _e!="object")return _e;var Ce=_e,lt=f.call(_e);if(lt==="[object Array]"){if(!Ee(_e)){Ce=[];for(var ce=0,Y=_e.length;ce<Y;ce++)Ce[ce]=o(_e[ce])}}else if(g[lt]){if(!Ee(_e)){var V=_e.constructor;if(_e.constructor.from)Ce=V.from(_e);else{Ce=new V(_e.length);for(var ce=0,Y=_e.length;ce<Y;ce++)Ce[ce]=o(_e[ce])}}}else if(!e[lt]&&!Ee(_e)&&!U(_e)){Ce={};for(var $ in _e)_e.hasOwnProperty($)&&(Ce[$]=o(_e[$]))}return Ce}function d(_e,Ce,lt){if(!P(Ce)||!P(_e))return lt?o(Ce):_e;for(var ce in Ce)if(Ce.hasOwnProperty(ce)){var Y=_e[ce],V=Ce[ce];P(V)&&P(Y)&&!F(V)&&!F(Y)&&!U(V)&&!U(Y)&&!K(V)&&!K(Y)&&!Ee(V)&&!Ee(Y)?d(Y,V,lt):(lt||!(ce in _e))&&(_e[ce]=o(Ce[ce],!0))}return _e}function n(_e,Ce){for(var lt=_e[0],ce=1,Y=_e.length;ce<Y;ce++)lt=d(lt,_e[ce],Ce);return lt}function l(_e,Ce){for(var lt in Ce)Ce.hasOwnProperty(lt)&&(_e[lt]=Ce[lt]);return _e}function t(_e,Ce,lt){for(var ce in Ce)Ce.hasOwnProperty(ce)&&(lt?Ce[ce]!=null:_e[ce]==null)&&(_e[ce]=Ce[ce]);return _e}var s=function(){return i.createCanvas()};i.createCanvas=function(){return document.createElement("canvas")};var u;function p(){return u||(u=s().getContext("2d")),u}function w(_e,Ce){if(_e){if(_e.indexOf)return _e.indexOf(Ce);for(var lt=0,ce=_e.length;lt<ce;lt++)if(_e[lt]===Ce)return lt}return-1}function b(_e,Ce){var lt=_e.prototype;function ce(){}ce.prototype=Ce.prototype,_e.prototype=new ce;for(var Y in lt)lt.hasOwnProperty(Y)&&(_e.prototype[Y]=lt[Y]);_e.prototype.constructor=_e,_e.superClass=Ce}function E(_e,Ce,lt){_e="prototype"in _e?_e.prototype:_e,Ce="prototype"in Ce?Ce.prototype:Ce,t(_e,Ce,lt)}function A(_e){return _e?typeof _e=="string"?!1:typeof _e.length=="number":void 0}function S(_e,Ce,lt){if(!(_e&&Ce))return;if(_e.forEach&&_e.forEach===m)_e.forEach(Ce,lt);else if(_e.length===+_e.length)for(var ce=0,Y=_e.length;ce<Y;ce++)Ce.call(lt,_e[ce],ce,_e);else for(var V in _e)_e.hasOwnProperty(V)&&Ce.call(lt,_e[V],V,_e)}function T(_e,Ce,lt){if(!(_e&&Ce))return;if(_e.map&&_e.map===c)return _e.map(Ce,lt);for(var ce=[],Y=0,V=_e.length;Y<V;Y++)ce.push(Ce.call(lt,_e[Y],Y,_e));return ce}function L(_e,Ce,lt,ce){if(!(_e&&Ce))return;if(_e.reduce&&_e.reduce===a)return _e.reduce(Ce,lt,ce);for(var Y=0,V=_e.length;Y<V;Y++)lt=Ce.call(ce,lt,_e[Y],Y,_e);return lt}function x(_e,Ce,lt){if(!(_e&&Ce))return;if(_e.filter&&_e.filter===v)return _e.filter(Ce,lt);for(var ce=[],Y=0,V=_e.length;Y<V;Y++)Ce.call(lt,_e[Y],Y,_e)&&ce.push(_e[Y]);return ce}function C(_e,Ce,lt){if(!(_e&&Ce))return;for(var ce=0,Y=_e.length;ce<Y;ce++)if(Ce.call(lt,_e[ce],ce,_e))return _e[ce]}function I(_e,Ce){var lt=h.call(arguments,2);return function(){return _e.apply(Ce,lt.concat(h.call(arguments)))}}function N(_e){var Ce=h.call(arguments,1);return function(){return _e.apply(this,Ce.concat(h.call(arguments)))}}function F(_e){return f.call(_e)==="[object Array]"}function k(_e){return typeof _e=="function"}function B(_e){return f.call(_e)==="[object String]"}function P(_e){var Ce=typeof _e;return Ce==="function"||!!_e&&Ce==="object"}function K(_e){return!!e[f.call(_e)]}function R(_e){return!!g[f.call(_e)]}function U(_e){return typeof _e=="object"&&typeof _e.nodeType=="number"&&typeof _e.ownerDocument=="object"}function j(_e){return _e!==_e}function H(_e){for(var Ce=0,lt=arguments.length;Ce<lt;Ce++)if(arguments[Ce]!=null)return arguments[Ce]}function W(_e,Ce){return _e!=null?_e:Ce}function X(_e,Ce,lt){return _e!=null?_e:Ce!=null?Ce:lt}function z(){return Function.call.apply(h,arguments)}function G(_e){if(typeof _e=="number")return[_e,_e,_e,_e];var Ce=_e.length;return Ce===2?[_e[0],_e[1],_e[0],_e[1]]:Ce===3?[_e[0],_e[1],_e[2],_e[1]]:_e}function Z(_e,Ce){if(!_e)throw new Error(Ce)}function ge(_e){return _e==null?null:typeof _e.trim=="function"?_e.trim():_e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var Q="__ec_primitive__";function we(_e){_e[Q]=!0}function Ee(_e){return _e[Q]}function Ae(_e){var Ce=F(_e);this.data={};var lt=this;_e instanceof Ae?_e.each(ce):_e&&S(_e,ce);function ce(Y,V){Ce?lt.set(Y,V):lt.set(V,Y)}}Ae.prototype={constructor:Ae,get:function(Ce){return this.data.hasOwnProperty(Ce)?this.data[Ce]:null},set:function(Ce,lt){return this.data[Ce]=lt},each:function(Ce,lt){lt!==void 0&&(Ce=I(Ce,lt));for(var ce in this.data)this.data.hasOwnProperty(ce)&&Ce(this.data[ce],ce)},removeKey:function(Ce){delete this.data[Ce]}};function Pe(_e){return new Ae(_e)}function Ge(_e,Ce){for(var lt=new _e.constructor(_e.length+Ce.length),ce=0;ce<_e.length;ce++)lt[ce]=_e[ce];var Y=_e.length;for(ce=0;ce<Ce.length;ce++)lt[ce+Y]=Ce[ce];return lt}function gt(){}_.$override=r,_.clone=o,_.merge=d,_.mergeAll=n,_.extend=l,_.defaults=t,_.createCanvas=s,_.getContext=p,_.indexOf=w,_.inherits=b,_.mixin=E,_.isArrayLike=A,_.each=S,_.map=T,_.reduce=L,_.filter=x,_.find=C,_.bind=I,_.curry=N,_.isArray=F,_.isFunction=k,_.isString=B,_.isObject=P,_.isBuiltInObject=K,_.isTypedArray=R,_.isDom=U,_.eqNaN=j,_.retrieve=H,_.retrieve2=W,_.retrieve3=X,_.slice=z,_.normalizeCssArray=G,_.assert=Z,_.trim=ge,_.setAsPrimitive=we,_.isPrimitive=Ee,_.createHashMap=Pe,_.concatArray=Ge,_.noop=gt},bZqE:function(D,_){function e(f,y,m){for(var v=[f],h=[],c;c=v.pop();)if(h.push(c),c.isExpand){var a=c.children;if(a.length)for(var i=0;i<a.length;i++)v.push(a[i])}for(;c=h.pop();)y(c,m)}function g(f,y){for(var m=[f],v;v=m.pop();)if(y(v),v.isExpand){var h=v.children;if(h.length)for(var c=h.length-1;c>=0;c--)m.push(h[c])}}_.eachAfter=e,_.eachBefore=g},bahg:function(D,_){function e(g){return g.split("")}D.exports=e},bbsP:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("CWI+"),m=e.n(y)},bogI:function(D,_,e){"use strict";e.d(_,"a",function(){return g});var g=function(y){if(!y)return null;var m=typeof y=="function";return m?y():y}},bsht:function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},bx4M:function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),m=e.n(y),v=e("q1tI"),h=e("TSYQ"),c=e.n(h),a=e("BGR+"),i=e("H84U"),r=function(T,L){var x={};for(var C in T)Object.prototype.hasOwnProperty.call(T,C)&&L.indexOf(C)<0&&(x[C]=T[C]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,C=Object.getOwnPropertySymbols(T);I<C.length;I++)L.indexOf(C[I])<0&&Object.prototype.propertyIsEnumerable.call(T,C[I])&&(x[C[I]]=T[C[I]]);return x},o=function(L){return v.createElement(i.a,null,function(x){var C=x.getPrefixCls,I=L.prefixCls,N=L.className,F=L.hoverable,k=F===void 0?!0:F,B=r(L,["prefixCls","className","hoverable"]),P=C("card",I),K=c()("".concat(P,"-grid"),N,f()({},"".concat(P,"-grid-hoverable"),k));return v.createElement("div",m()({},B,{className:K}))})},d=o,n=function(T,L){var x={};for(var C in T)Object.prototype.hasOwnProperty.call(T,C)&&L.indexOf(C)<0&&(x[C]=T[C]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,C=Object.getOwnPropertySymbols(T);I<C.length;I++)L.indexOf(C[I])<0&&Object.prototype.propertyIsEnumerable.call(T,C[I])&&(x[C[I]]=T[C[I]]);return x},l=function(L){return v.createElement(i.a,null,function(x){var C=x.getPrefixCls,I=L.prefixCls,N=L.className,F=L.avatar,k=L.title,B=L.description,P=n(L,["prefixCls","className","avatar","title","description"]),K=C("card",I),R=c()("".concat(K,"-meta"),N),U=F?v.createElement("div",{className:"".concat(K,"-meta-avatar")},F):null,j=k?v.createElement("div",{className:"".concat(K,"-meta-title")},k):null,H=B?v.createElement("div",{className:"".concat(K,"-meta-description")},B):null,W=j||H?v.createElement("div",{className:"".concat(K,"-meta-detail")},j,H):null;return v.createElement("div",m()({},P,{className:R}),U,W)})},t=l,s=e("ZTPi"),u=e("BMrR"),p=e("kPKH"),w=e("3Nzz"),b=function(T,L){var x={};for(var C in T)Object.prototype.hasOwnProperty.call(T,C)&&L.indexOf(C)<0&&(x[C]=T[C]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,C=Object.getOwnPropertySymbols(T);I<C.length;I++)L.indexOf(C[I])<0&&Object.prototype.propertyIsEnumerable.call(T,C[I])&&(x[C[I]]=T[C[I]]);return x};function E(T){var L=T.map(function(x,C){return v.createElement("li",{style:{width:"".concat(100/T.length,"%")},key:"action-".concat(C)},v.createElement("span",null,x))});return L}var A=function(L){var x,C,I=v.useContext(i.b),N=I.getPrefixCls,F=I.direction,k=v.useContext(w.b),B=function(Ye){L.onTabChange&&L.onTabChange(Ye)},P=function(){var Ye;return v.Children.forEach(L.children,function(et){et&&et.type&&et.type===d&&(Ye=!0)}),Ye},K=L.prefixCls,R=L.className,U=L.extra,j=L.headStyle,H=j===void 0?{}:j,W=L.bodyStyle,X=W===void 0?{}:W,z=L.title,G=L.loading,Z=L.bordered,ge=Z===void 0?!0:Z,Q=L.size,we=L.type,Ee=L.cover,Ae=L.actions,Pe=L.tabList,Ge=L.children,gt=L.activeTabKey,_e=L.defaultActiveTabKey,Ce=L.tabBarExtraContent,lt=L.hoverable,ce=L.tabProps,Y=ce===void 0?{}:ce,V=b(L,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),$=N("card",K),Te=X.padding===0||X.padding==="0px"?{padding:24}:void 0,ye=v.createElement("div",{className:"".concat($,"-loading-block")}),Fe=v.createElement("div",{className:"".concat($,"-loading-content"),style:Te},v.createElement(u.a,{gutter:8},v.createElement(p.a,{span:22},ye)),v.createElement(u.a,{gutter:8},v.createElement(p.a,{span:8},ye),v.createElement(p.a,{span:15},ye)),v.createElement(u.a,{gutter:8},v.createElement(p.a,{span:6},ye),v.createElement(p.a,{span:18},ye)),v.createElement(u.a,{gutter:8},v.createElement(p.a,{span:13},ye),v.createElement(p.a,{span:9},ye)),v.createElement(u.a,{gutter:8},v.createElement(p.a,{span:4},ye),v.createElement(p.a,{span:3},ye),v.createElement(p.a,{span:16},ye))),Oe=gt!==void 0,se=m()(m()({},Y),(x={},f()(x,Oe?"activeKey":"defaultActiveKey",Oe?gt:_e),f()(x,"tabBarExtraContent",Ce),x)),fe,Le=Pe&&Pe.length?v.createElement(s.a,m()({size:"large"},se,{className:"".concat($,"-head-tabs"),onChange:B}),Pe.map(function(wt){return v.createElement(s.a.TabPane,{tab:wt.tab,disabled:wt.disabled,key:wt.key})})):null;(z||U||Le)&&(fe=v.createElement("div",{className:"".concat($,"-head"),style:H},v.createElement("div",{className:"".concat($,"-head-wrapper")},z&&v.createElement("div",{className:"".concat($,"-head-title")},z),U&&v.createElement("div",{className:"".concat($,"-extra")},U)),Le));var Je=Ee?v.createElement("div",{className:"".concat($,"-cover")},Ee):null,mt=v.createElement("div",{className:"".concat($,"-body"),style:X},G?Fe:Ge),Ct=Ae&&Ae.length?v.createElement("ul",{className:"".concat($,"-actions")},E(Ae)):null,Ue=Object(a.default)(V,["onTabChange"]),Rt=Q||k,Ke=c()($,R,(C={},f()(C,"".concat($,"-loading"),G),f()(C,"".concat($,"-bordered"),ge),f()(C,"".concat($,"-hoverable"),lt),f()(C,"".concat($,"-contain-grid"),P()),f()(C,"".concat($,"-contain-tabs"),Pe&&Pe.length),f()(C,"".concat($,"-").concat(Rt),Rt),f()(C,"".concat($,"-type-").concat(we),!!we),f()(C,"".concat($,"-rtl"),F==="rtl"),C));return v.createElement("div",m()({},Ue,{className:Ke}),fe,Je,mt,Ct)};A.Grid=d,A.Meta=t;var S=_.a=A},c2i1:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=e("Yl7c"),v=m.enableClassCheck;function h(n){return"_EC_"+n}var c=function(n){this._directed=n||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},a=c.prototype;a.type="graph",a.isDirected=function(){return this._directed},a.addNode=function(n,l){n=n==null?""+l:""+n;var t=this._nodesMap;if(t[h(n)])return;var s=new i(n,l);return s.hostGraph=this,this.nodes.push(s),t[h(n)]=s,s},a.getNodeByIndex=function(n){var l=this.data.getRawIndex(n);return this.nodes[l]},a.getNodeById=function(n){return this._nodesMap[h(n)]},a.addEdge=function(n,l,t){var s=this._nodesMap,u=this._edgesMap;if(typeof n=="number"&&(n=this.nodes[n]),typeof l=="number"&&(l=this.nodes[l]),i.isInstance(n)||(n=s[h(n)]),i.isInstance(l)||(l=s[h(l)]),!n||!l)return;var p=n.id+"-"+l.id;if(u[p])return;var w=new r(n,l,t);return w.hostGraph=this,this._directed&&(n.outEdges.push(w),l.inEdges.push(w)),n.edges.push(w),n!==l&&l.edges.push(w),this.edges.push(w),u[p]=w,w},a.getEdgeByIndex=function(n){var l=this.edgeData.getRawIndex(n);return this.edges[l]},a.getEdge=function(n,l){i.isInstance(n)&&(n=n.id),i.isInstance(l)&&(l=l.id);var t=this._edgesMap;return this._directed?t[n+"-"+l]:t[n+"-"+l]||t[l+"-"+n]},a.eachNode=function(n,l){for(var t=this.nodes,s=t.length,u=0;u<s;u++)t[u].dataIndex>=0&&n.call(l,t[u],u)},a.eachEdge=function(n,l){for(var t=this.edges,s=t.length,u=0;u<s;u++)t[u].dataIndex>=0&&t[u].node1.dataIndex>=0&&t[u].node2.dataIndex>=0&&n.call(l,t[u],u)},a.breadthFirstTraverse=function(n,l,t,s){if(i.isInstance(l)||(l=this._nodesMap[h(l)]),!l)return;for(var u=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 w=[l];w.length;)for(var b=w.shift(),E=b[u],p=0;p<E.length;p++){var A=E[p],S=A.node1===b?A.node2:A.node1;if(!S.__visited){if(n.call(s,S,b))return;w.push(S),S.__visited=!0}}},a.update=function(){for(var n=this.data,l=this.edgeData,t=this.nodes,s=this.edges,u=0,p=t.length;u<p;u++)t[u].dataIndex=-1;for(var u=0,p=n.count();u<p;u++)t[n.getRawIndex(u)].dataIndex=u;l.filterSelf(function(w){var b=s[l.getRawIndex(w)];return b.node1.dataIndex>=0&&b.node2.dataIndex>=0});for(var u=0,p=s.length;u<p;u++)s[u].dataIndex=-1;for(var u=0,p=l.count();u<p;u++)s[l.getRawIndex(u)].dataIndex=u},a.clone=function(){for(var n=new c(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 u=t[s];n.addEdge(u.node1.id,u.node2.id,u.dataIndex)}return n};function i(n,l){this.id=n==null?"":n,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=l==null?-1:l}i.prototype={constructor:i,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)}}};y.mixin(i,o("hostGraph","data")),y.mixin(r,o("hostGraph","edgeData")),c.Node=i,c.Edge=r,v(i),v(r);var d=c;D.exports=d},c5Ni:function(D,_,e){},c5fP:function(D,_,e){"use strict";function g(Ke){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(Ye){return typeof Ye}:g=function(Ye){return Ye&&typeof Symbol=="function"&&Ye.constructor===Symbol&&Ye!==Symbol.prototype?"symbol":typeof Ye},g(Ke)}Object.defineProperty(_,"__esModule",{value:!0}),_._tr_init=Je,_._tr_stored_block=mt,_._tr_flush_block=Ue,_._tr_tally=Rt,_._tr_align=Ct;var f=m(e("6BzB"));function y(){if(typeof WeakMap!="function")return null;var Ke=new WeakMap;return y=function(){return Ke},Ke}function m(Ke){if(Ke&&Ke.__esModule)return Ke;if(Ke===null||g(Ke)!=="object"&&typeof Ke!="function")return{default:Ke};var wt=y();if(wt&&wt.has(Ke))return wt.get(Ke);var Ye={},et=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var rt in Ke)if(Object.prototype.hasOwnProperty.call(Ke,rt)){var st=et?Object.getOwnPropertyDescriptor(Ke,rt):null;st&&(st.get||st.set)?Object.defineProperty(Ye,rt,st):Ye[rt]=Ke[rt]}return Ye.default=Ke,wt&&wt.set(Ke,Ye),Ye}var v=4,h=0,c=1,a=2;function i(Ke){for(var wt=Ke.length;--wt>=0;)Ke[wt]=0}var r=0,o=1,d=2,n=3,l=258,t=29,s=256,u=s+1+t,p=30,w=19,b=2*u+1,E=15,A=16,S=7,T=256,L=16,x=17,C=18,I=[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],N=[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],F=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],k=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],B=512,P=new Array((u+2)*2);i(P);var K=new Array(p*2);i(K);var R=new Array(B);i(R);var U=new Array(l-n+1);i(U);var j=new Array(t);i(j);var H=new Array(p);i(H);function W(Ke,wt,Ye,et,rt){this.static_tree=Ke,this.extra_bits=wt,this.extra_base=Ye,this.elems=et,this.max_length=rt,this.has_stree=Ke&&Ke.length}var X,z,G;function Z(Ke,wt){this.dyn_tree=Ke,this.max_code=0,this.stat_desc=wt}function ge(Ke){return Ke<256?R[Ke]:R[256+(Ke>>>7)]}function Q(Ke,wt){Ke.pending_buf[Ke.pending++]=wt&255,Ke.pending_buf[Ke.pending++]=wt>>>8&255}function we(Ke,wt,Ye){Ke.bi_valid>A-Ye?(Ke.bi_buf|=wt<<Ke.bi_valid&65535,Q(Ke,Ke.bi_buf),Ke.bi_buf=wt>>A-Ke.bi_valid,Ke.bi_valid+=Ye-A):(Ke.bi_buf|=wt<<Ke.bi_valid&65535,Ke.bi_valid+=Ye)}function Ee(Ke,wt,Ye){we(Ke,Ye[wt*2],Ye[wt*2+1])}function Ae(Ke,wt){var Ye=0;do Ye|=Ke&1,Ke>>>=1,Ye<<=1;while(--wt>0);return Ye>>>1}function Pe(Ke){Ke.bi_valid===16?(Q(Ke,Ke.bi_buf),Ke.bi_buf=0,Ke.bi_valid=0):Ke.bi_valid>=8&&(Ke.pending_buf[Ke.pending++]=Ke.bi_buf&255,Ke.bi_buf>>=8,Ke.bi_valid-=8)}function Ge(Ke,wt){var Ye=wt.dyn_tree,et=wt.max_code,rt=wt.stat_desc.static_tree,st=wt.stat_desc.has_stree,Ve=wt.stat_desc.extra_bits,oe=wt.stat_desc.extra_base,re=wt.stat_desc.max_length,it,Qe,ve,Zt,dt,ct,yt=0;for(Zt=0;Zt<=E;Zt++)Ke.bl_count[Zt]=0;for(Ye[Ke.heap[Ke.heap_max]*2+1]=0,it=Ke.heap_max+1;it<b;it++){if(Qe=Ke.heap[it],Zt=Ye[Ye[Qe*2+1]*2+1]+1,Zt>re&&(Zt=re,yt++),Ye[Qe*2+1]=Zt,Qe>et)continue;Ke.bl_count[Zt]++,dt=0,Qe>=oe&&(dt=Ve[Qe-oe]),ct=Ye[Qe*2],Ke.opt_len+=ct*(Zt+dt),st&&(Ke.static_len+=ct*(rt[Qe*2+1]+dt))}if(yt===0)return;do{for(Zt=re-1;Ke.bl_count[Zt]===0;)Zt--;Ke.bl_count[Zt]--,Ke.bl_count[Zt+1]+=2,Ke.bl_count[re]--,yt-=2}while(yt>0);for(Zt=re;Zt!==0;Zt--)for(Qe=Ke.bl_count[Zt];Qe!==0;){if(ve=Ke.heap[--it],ve>et)continue;Ye[ve*2+1]!==Zt&&(Ke.opt_len+=(Zt-Ye[ve*2+1])*Ye[ve*2],Ye[ve*2+1]=Zt),Qe--}}function gt(Ke,wt,Ye){var et=new Array(E+1),rt=0,st,Ve;for(st=1;st<=E;st++)et[st]=rt=rt+Ye[st-1]<<1;for(Ve=0;Ve<=wt;Ve++){var oe=Ke[Ve*2+1];if(oe===0)continue;Ke[Ve*2]=Ae(et[oe]++,oe)}}function _e(){var Ke,wt,Ye,et,rt,st=new Array(E+1);for(Ye=0,et=0;et<t-1;et++)for(j[et]=Ye,Ke=0;Ke<1<<I[et];Ke++)U[Ye++]=et;for(U[Ye-1]=et,rt=0,et=0;et<16;et++)for(H[et]=rt,Ke=0;Ke<1<<N[et];Ke++)R[rt++]=et;for(rt>>=7;et<p;et++)for(H[et]=rt<<7,Ke=0;Ke<1<<N[et]-7;Ke++)R[256+rt++]=et;for(wt=0;wt<=E;wt++)st[wt]=0;for(Ke=0;Ke<=143;)P[Ke*2+1]=8,Ke++,st[8]++;for(;Ke<=255;)P[Ke*2+1]=9,Ke++,st[9]++;for(;Ke<=279;)P[Ke*2+1]=7,Ke++,st[7]++;for(;Ke<=287;)P[Ke*2+1]=8,Ke++,st[8]++;for(gt(P,u+1,st),Ke=0;Ke<p;Ke++)K[Ke*2+1]=5,K[Ke*2]=Ae(Ke,5);X=new W(P,I,s+1,u,E),z=new W(K,N,0,p,E),G=new W(new Array(0),F,0,w,S)}function Ce(Ke){var wt;for(wt=0;wt<u;wt++)Ke.dyn_ltree[wt*2]=0;for(wt=0;wt<p;wt++)Ke.dyn_dtree[wt*2]=0;for(wt=0;wt<w;wt++)Ke.bl_tree[wt*2]=0;Ke.dyn_ltree[T*2]=1,Ke.opt_len=Ke.static_len=0,Ke.last_lit=Ke.matches=0}function lt(Ke){Ke.bi_valid>8?Q(Ke,Ke.bi_buf):Ke.bi_valid>0&&(Ke.pending_buf[Ke.pending++]=Ke.bi_buf),Ke.bi_buf=0,Ke.bi_valid=0}function ce(Ke,wt,Ye,et){lt(Ke),et&&(Q(Ke,Ye),Q(Ke,~Ye)),f.arraySet(Ke.pending_buf,Ke.window,wt,Ye,Ke.pending),Ke.pending+=Ye}function Y(Ke,wt,Ye,et){var rt=wt*2,st=Ye*2;return Ke[rt]<Ke[st]||Ke[rt]===Ke[st]&&et[wt]<=et[Ye]}function V(Ke,wt,Ye){for(var et=Ke.heap[Ye],rt=Ye<<1;rt<=Ke.heap_len&&!(rt<Ke.heap_len&&Y(wt,Ke.heap[rt+1],Ke.heap[rt],Ke.depth)&&rt++,Y(wt,et,Ke.heap[rt],Ke.depth));)Ke.heap[Ye]=Ke.heap[rt],Ye=rt,rt<<=1;Ke.heap[Ye]=et}function $(Ke,wt,Ye){var et,rt,st=0,Ve,oe;if(Ke.last_lit!==0)do et=Ke.pending_buf[Ke.d_buf+st*2]<<8|Ke.pending_buf[Ke.d_buf+st*2+1],rt=Ke.pending_buf[Ke.l_buf+st],st++,et===0?Ee(Ke,rt,wt):(Ve=U[rt],Ee(Ke,Ve+s+1,wt),oe=I[Ve],oe!==0&&(rt-=j[Ve],we(Ke,rt,oe)),et--,Ve=ge(et),Ee(Ke,Ve,Ye),oe=N[Ve],oe!==0&&(et-=H[Ve],we(Ke,et,oe)));while(st<Ke.last_lit);Ee(Ke,T,wt)}function Te(Ke,wt){var Ye=wt.dyn_tree,et=wt.stat_desc.static_tree,rt=wt.stat_desc.has_stree,st=wt.stat_desc.elems,Ve,oe,re=-1,it;for(Ke.heap_len=0,Ke.heap_max=b,Ve=0;Ve<st;Ve++)Ye[Ve*2]!==0?(Ke.heap[++Ke.heap_len]=re=Ve,Ke.depth[Ve]=0):Ye[Ve*2+1]=0;for(;Ke.heap_len<2;)it=Ke.heap[++Ke.heap_len]=re<2?++re:0,Ye[it*2]=1,Ke.depth[it]=0,Ke.opt_len--,rt&&(Ke.static_len-=et[it*2+1]);for(wt.max_code=re,Ve=Ke.heap_len>>1;Ve>=1;Ve--)V(Ke,Ye,Ve);it=st;do Ve=Ke.heap[1],Ke.heap[1]=Ke.heap[Ke.heap_len--],V(Ke,Ye,1),oe=Ke.heap[1],Ke.heap[--Ke.heap_max]=Ve,Ke.heap[--Ke.heap_max]=oe,Ye[it*2]=Ye[Ve*2]+Ye[oe*2],Ke.depth[it]=(Ke.depth[Ve]>=Ke.depth[oe]?Ke.depth[Ve]:Ke.depth[oe])+1,Ye[Ve*2+1]=Ye[oe*2+1]=it,Ke.heap[1]=it++,V(Ke,Ye,1);while(Ke.heap_len>=2);Ke.heap[--Ke.heap_max]=Ke.heap[1],Ge(Ke,wt),gt(Ye,re,Ke.bl_count)}function ye(Ke,wt,Ye){var et,rt=-1,st,Ve=wt[0*2+1],oe=0,re=7,it=4;for(Ve===0&&(re=138,it=3),wt[(Ye+1)*2+1]=65535,et=0;et<=Ye;et++){if(st=Ve,Ve=wt[(et+1)*2+1],++oe<re&&st===Ve)continue;oe<it?Ke.bl_tree[st*2]+=oe:st!==0?(st!==rt&&Ke.bl_tree[st*2]++,Ke.bl_tree[L*2]++):oe<=10?Ke.bl_tree[x*2]++:Ke.bl_tree[C*2]++,oe=0,rt=st,Ve===0?(re=138,it=3):st===Ve?(re=6,it=3):(re=7,it=4)}}function Fe(Ke,wt,Ye){var et,rt=-1,st,Ve=wt[0*2+1],oe=0,re=7,it=4;for(Ve===0&&(re=138,it=3),et=0;et<=Ye;et++){if(st=Ve,Ve=wt[(et+1)*2+1],++oe<re&&st===Ve)continue;if(oe<it)do Ee(Ke,st,Ke.bl_tree);while(--oe!==0);else st!==0?(st!==rt&&(Ee(Ke,st,Ke.bl_tree),oe--),Ee(Ke,L,Ke.bl_tree),we(Ke,oe-3,2)):oe<=10?(Ee(Ke,x,Ke.bl_tree),we(Ke,oe-3,3)):(Ee(Ke,C,Ke.bl_tree),we(Ke,oe-11,7));oe=0,rt=st,Ve===0?(re=138,it=3):st===Ve?(re=6,it=3):(re=7,it=4)}}function Oe(Ke){var wt;for(ye(Ke,Ke.dyn_ltree,Ke.l_desc.max_code),ye(Ke,Ke.dyn_dtree,Ke.d_desc.max_code),Te(Ke,Ke.bl_desc),wt=w-1;wt>=3&&!(Ke.bl_tree[k[wt]*2+1]!==0);wt--);return Ke.opt_len+=3*(wt+1)+5+5+4,wt}function se(Ke,wt,Ye,et){var rt;for(we(Ke,wt-257,5),we(Ke,Ye-1,5),we(Ke,et-4,4),rt=0;rt<et;rt++)we(Ke,Ke.bl_tree[k[rt]*2+1],3);Fe(Ke,Ke.dyn_ltree,wt-1),Fe(Ke,Ke.dyn_dtree,Ye-1)}function fe(Ke){var wt=4093624447,Ye;for(Ye=0;Ye<=31;Ye++,wt>>>=1)if(wt&1&&Ke.dyn_ltree[Ye*2]!==0)return h;if(Ke.dyn_ltree[9*2]!==0||Ke.dyn_ltree[10*2]!==0||Ke.dyn_ltree[13*2]!==0)return c;for(Ye=32;Ye<s;Ye++)if(Ke.dyn_ltree[Ye*2]!==0)return c;return h}var Le=!1;function Je(Ke){Le||(_e(),Le=!0),Ke.l_desc=new Z(Ke.dyn_ltree,X),Ke.d_desc=new Z(Ke.dyn_dtree,z),Ke.bl_desc=new Z(Ke.bl_tree,G),Ke.bi_buf=0,Ke.bi_valid=0,Ce(Ke)}function mt(Ke,wt,Ye,et){we(Ke,(r<<1)+(et?1:0),3),ce(Ke,wt,Ye,!0)}function Ct(Ke){we(Ke,o<<1,3),Ee(Ke,T,P),Pe(Ke)}function Ue(Ke,wt,Ye,et){var rt,st,Ve=0;Ke.level>0?(Ke.strm.data_type===a&&(Ke.strm.data_type=fe(Ke)),Te(Ke,Ke.l_desc),Te(Ke,Ke.d_desc),Ve=Oe(Ke),rt=Ke.opt_len+3+7>>>3,st=Ke.static_len+3+7>>>3,st<=rt&&(rt=st)):rt=st=Ye+5,Ye+4<=rt&&wt!==-1?mt(Ke,wt,Ye,et):Ke.strategy===v||st===rt?(we(Ke,(o<<1)+(et?1:0),3),$(Ke,P,K)):(we(Ke,(d<<1)+(et?1:0),3),se(Ke,Ke.l_desc.max_code+1,Ke.d_desc.max_code+1,Ve+1),$(Ke,Ke.dyn_ltree,Ke.dyn_dtree)),Ce(Ke),et&&lt(Ke)}function Rt(Ke,wt,Ye){return Ke.pending_buf[Ke.d_buf+Ke.last_lit*2]=wt>>>8&255,Ke.pending_buf[Ke.d_buf+Ke.last_lit*2+1]=wt&255,Ke.pending_buf[Ke.l_buf+Ke.last_lit]=Ye&255,Ke.last_lit++,wt===0?Ke.dyn_ltree[Ye*2]++:(Ke.matches++,wt--,Ke.dyn_ltree[(U[Ye]+s+1)*2]++,Ke.dyn_dtree[ge(wt)*2]++),Ke.last_lit===Ke.lit_bufsize-1}},c6wG:function(D,_,e){var g=e("dD9F"),f=e("sEf8"),y=e("mdPL"),m=y&&y.isTypedArray,v=m?f(m):g;D.exports=v},c8qY:function(D,_,e){var g=e("IwbS"),f=e("fls0");function y(d){this._ctor=d||f,this.group=new g.Group}var m=y.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=a(d);d.diff(t).add(function(u){v(n,d,u,s)}).update(function(u,p){h(n,t,d,p,u,s)}).remove(function(u){l.remove(t.getItemGraphicEl(u))}).execute()};function v(d,n,l,t){var s=n.getItemLayout(l);if(!r(s))return;var u=new d._ctor(n,l,t);n.setItemGraphicEl(l,u),d.group.add(u)}function h(d,n,l,t,s,u){var p=n.getItemGraphicEl(t);if(!r(l.getItemLayout(s))){d.group.remove(p);return}p?p.updateData(l,s,u):p=new d._ctor(l,s,u),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=a(d),this._lineData=null,this.group.removeAll()};function c(d){return d.animators&&d.animators.length>0}m.incrementalUpdate=function(d,n){function l(p){!p.isGroup&&!c(p)&&(p.incremental=p.useHoverLayer=!0)}for(var t=d.start;t<d.end;t++){var s=n.getItemLayout(t);if(r(s)){var u=new this._ctor(n,t,this._seriesScope);u.traverse(l),this.group.add(u),n.setItemGraphicEl(t,u)}}};function a(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 i(d){return isNaN(d[0])||isNaN(d[1])}function r(d){return!i(d[0])&&!i(d[1])}var o=y;D.exports=o},cCMj:function(D,_,e){var g=e("bYtY"),f={updateSelectedMap:function(y){this._targetList=g.isArray(y)?y.slice():[],this._selectTargetMap=g.reduce(y||[],function(m,v){return m.set(v.name,v),m},g.createHashMap())},select:function(y,m){var v=m!=null?this._targetList[m]:this._selectTargetMap.get(y),h=this.get("selectedMode");h==="single"&&this._selectTargetMap.each(function(c){c.selected=!1}),v&&(v.selected=!0)},unSelect:function(y,m){var v=m!=null?this._targetList[m]:this._selectTargetMap.get(y);v&&(v.selected=!1)},toggleSelected:function(y,m){var v=m!=null?this._targetList[m]:this._selectTargetMap.get(y);if(v!=null)return this[v.selected?"unSelect":"select"](y,m),v.selected},isSelected:function(y,m){var v=m!=null?this._targetList[m]:this._selectTargetMap.get(y);return v&&v.selected}};D.exports=f},cVA7:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=e("MT78"),f=v(g),y=e("t3Fx"),m=v(y);function v(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 c(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 a(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 i=function(r){a(o,r);function o(d){h(this,o);var n=c(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,d));return n.echartsLib=f.default,n}return o}(m.default);_.default=i},cWXX:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("oIFs"),m=e.n(y)},ca2m:function(D,_,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)"]}}},y={};y.categoryAxis=g.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},f),y.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),y.timeAxis=g.defaults({scale:!0,min:"dataMin",max:"dataMax"},y.valueAxis),y.logAxis=g.defaults({scale:!0,logBase:10},y.valueAxis);var m=y;D.exports=m},cbJ4:function(D,_,e){var g=e("bYtY"),f=g.createHashMap;function y(m){m.eachSeriesByType("themeRiver",function(v){var h=v.getData(),c=v.getRawData(),a=v.get("color"),i=f();h.each(function(r){i.set(h.getRawIndex(r),r)}),c.each(function(r){var o=c.getName(r),d=a[(v.nameMap.get(o)-1)%a.length];c.setItemVisual(r,"color",d);var n=i.get(r);n!=null&&h.setItemVisual(n,"color",d)})})}D.exports=y},chpo:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=1,f=function(){return"".concat(g++)};_.default=f},cpOr:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("T4UG"),m=e("YXkt"),v=e("bYtY"),h=v.concatArray,c=v.mergeAll,a=v.map,i=e("7aKB"),r=i.encodeHTML,o=e("IDmD"),d=typeof Uint32Array=="undefined"?Array:Uint32Array,n=typeof Float64Array=="undefined"?Array:Float64Array;function l(u){var p=u.data;p&&p[0]&&p[0][0]&&p[0][0].coord&&(u.data=a(p,function(w){var b=[w[0].coord,w[1].coord],E={coords:b};return w[0].name&&(E.fromName=w[0].name),w[1].name&&(E.toName=w[1].name),c([E,w[0],w[1]])}))}var t=y.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(u){u.data=u.data||[],l(u);var p=this._processFlatCoordsArray(u.data);this._flatCoords=p.flatCoords,this._flatCoordsOffset=p.flatCoordsOffset,p.flatCoords&&(u.data=new Float32Array(p.count)),t.superApply(this,"init",arguments)},mergeOption:function(u){if(u.data=u.data||[],l(u),u.data){var p=this._processFlatCoordsArray(u.data);this._flatCoords=p.flatCoords,this._flatCoordsOffset=p.flatCoordsOffset,p.flatCoords&&(u.data=new Float32Array(p.count))}t.superApply(this,"mergeOption",arguments)},appendData:function(u){var p=this._processFlatCoordsArray(u.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),u.data=new Float32Array(p.count)),this.getRawData().appendData(u.data)},_getCoordsFromItemModel:function(u){var p=this.getData().getItemModel(u),w=p.option instanceof Array?p.option:p.getShallow("coords");return w},getLineCoordsCount:function(u){return this._flatCoordsOffset?this._flatCoordsOffset[u*2+1]:this._getCoordsFromItemModel(u).length},getLineCoords:function(u,p){if(this._flatCoordsOffset){for(var w=this._flatCoordsOffset[u*2],b=this._flatCoordsOffset[u*2+1],E=0;E<b;E++)p[E]=p[E]||[],p[E][0]=this._flatCoords[w+E*2],p[E][1]=this._flatCoords[w+E*2+1];return b}else{for(var A=this._getCoordsFromItemModel(u),E=0;E<A.length;E++)p[E]=p[E]||[],p[E][0]=A[E][0],p[E][1]=A[E][1];return A.length}},_processFlatCoordsArray:function(u){var p=0;if(this._flatCoords&&(p=this._flatCoords.length),typeof u[0]=="number"){for(var w=u.length,b=new d(w),E=new n(w),A=0,S=0,T=0,L=0;L<w;){T++;var x=u[L++];b[S++]=A+p,b[S++]=x;for(var C=0;C<x;C++){var I=u[L++],N=u[L++];E[A++]=I,E[A++]=N,L>w}}return{flatCoordsOffset:new Uint32Array(b.buffer,0,S),flatCoords:E,count:T}}return{flatCoordsOffset:null,flatCoords:null,count:u.length}},getInitialData:function(u,p){var w=new m(["value"],this);return w.hasItemOption=!1,w.initData(u.data,[],function(b,E,A,S){if(b instanceof Array)return NaN;w.hasItemOption=!0;var T=b.value;if(T!=null)return T instanceof Array?T[S]:T}),w},formatTooltip:function(u){var p=this.getData(),w=p.getItemModel(u),b=w.get("name");if(b)return b;var E=w.get("fromName"),A=w.get("toName"),S=[];return E!=null&&S.push(E),A!=null&&S.push(A),r(S.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var u=this.option.progressive;return u==null?this.option.large?1e4:this.get("progressive"):u},getProgressiveThreshold:function(){var u=this.option.progressiveThreshold;return u==null?this.option.large?2e4:this.get("progressiveThreshold"):u},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;D.exports=s},crZl:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("IwbS"),m=e("7aKB"),v=e("+TT/"),h=e("XxSj"),c=g.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(a,i){this.ecModel=a,this.api=i,this.visualMapModel},render:function(a,i,r,o){if(this.visualMapModel=a,a.get("show")===!1){this.group.removeAll();return}this.doRender.apply(this,arguments)},renderBackground:function(a){var i=this.visualMapModel,r=m.normalizeCssArray(i.get("padding")||0),o=a.getBoundingRect();a.add(new y.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:i.get("backgroundColor"),stroke:i.get("borderColor"),lineWidth:i.get("borderWidth")}}))},getControllerVisual:function(a,i,r){r=r||{};var o=r.forceState,d=this.visualMapModel,n={};if(i==="symbol"&&(n.symbol=d.get("itemSymbol")),i==="color"){var l=d.get("contentColor");n.color=l}function t(w){return n[w]}function s(w,b){n[w]=b}var u=d.controllerVisuals[o||d.getValueState(a)],p=h.prepareVisualTypes(u);return f.each(p,function(w){var b=u[w];r.convertOpacityToAlpha&&w==="opacity"&&(w="colorAlpha",b=u.__alphaForOpacity),h.dependsOn(w,i)&&(b&&b.applyVisual(a,t,s))}),n[i]},positionGroup:function(a){var i=this.visualMapModel,r=this.api;v.positionElement(a,i.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})},doRender:f.noop});D.exports=c},czTT:function(D,_,e){},d4KN:function(D,_,e){var g=e("ProS"),f=e("bYtY");function y(m,v){f.each(v,function(h){h.update="updateView",g.registerAction(h,function(c,a){var i={};return a.eachComponent({mainType:"series",subType:m,query:c},function(r){r[h.method]&&r[h.method](c.name,c.dataIndex);var o=r.getData();o.each(function(d){var n=o.getName(d);i[n]=r.isSelected(n)||!1})}),{name:c.name,selected:i,seriesId:c.seriesId}})})}D.exports=y},dBmv:function(D,_,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(D,_,e){var g=e("NykK"),f=e("shjB"),y=e("ExA7"),m="[object Arguments]",v="[object Array]",h="[object Boolean]",c="[object Date]",a="[object Error]",i="[object Function]",r="[object Map]",o="[object Number]",d="[object Object]",n="[object RegExp]",l="[object Set]",t="[object String]",s="[object WeakMap]",u="[object ArrayBuffer]",p="[object DataView]",w="[object Float32Array]",b="[object Float64Array]",E="[object Int8Array]",A="[object Int16Array]",S="[object Int32Array]",T="[object Uint8Array]",L="[object Uint8ClampedArray]",x="[object Uint16Array]",C="[object Uint32Array]",I={};I[w]=I[b]=I[E]=I[A]=I[S]=I[T]=I[L]=I[x]=I[C]=!0,I[m]=I[v]=I[u]=I[h]=I[p]=I[c]=I[a]=I[i]=I[r]=I[o]=I[d]=I[n]=I[l]=I[t]=I[s]=!1;function N(F){return y(F)&&f(F.length)&&!!I[g(F)]}D.exports=N},"dF/Y":function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="DownloadOutlined";var h=_.a=g.forwardRef(v)},dMvE:function(D,_){var e={linear:function(y){return y},quadraticIn:function(y){return y*y},quadraticOut:function(y){return y*(2-y)},quadraticInOut:function(y){return(y*=2)<1?.5*y*y:-.5*(--y*(y-2)-1)},cubicIn:function(y){return y*y*y},cubicOut:function(y){return--y*y*y+1},cubicInOut:function(y){return(y*=2)<1?.5*y*y*y:.5*((y-=2)*y*y+2)},quarticIn:function(y){return y*y*y*y},quarticOut:function(y){return 1- --y*y*y*y},quarticInOut:function(y){return(y*=2)<1?.5*y*y*y*y:-.5*((y-=2)*y*y*y-2)},quinticIn:function(y){return y*y*y*y*y},quinticOut:function(y){return--y*y*y*y*y+1},quinticInOut:function(y){return(y*=2)<1?.5*y*y*y*y*y:.5*((y-=2)*y*y*y*y+2)},sinusoidalIn:function(y){return 1-Math.cos(y*Math.PI/2)},sinusoidalOut:function(y){return Math.sin(y*Math.PI/2)},sinusoidalInOut:function(y){return .5*(1-Math.cos(Math.PI*y))},exponentialIn:function(y){return y===0?0:Math.pow(1024,y-1)},exponentialOut:function(y){return y===1?1:1-Math.pow(2,-10*y)},exponentialInOut:function(y){return y===0?0:y===1?1:(y*=2)<1?.5*Math.pow(1024,y-1):.5*(-Math.pow(2,-10*(y-1))+2)},circularIn:function(y){return 1-Math.sqrt(1-y*y)},circularOut:function(y){return Math.sqrt(1- --y*y)},circularInOut:function(y){return(y*=2)<1?-.5*(Math.sqrt(1-y*y)-1):.5*(Math.sqrt(1-(y-=2)*y)+1)},elasticIn:function(y){var m,v=.1,h=.4;return y===0?0:y===1?1:(!v||v<1?(v=1,m=h/4):m=h*Math.asin(1/v)/(2*Math.PI),-(v*Math.pow(2,10*(y-=1))*Math.sin((y-m)*(2*Math.PI)/h)))},elasticOut:function(y){var m,v=.1,h=.4;return y===0?0:y===1?1:(!v||v<1?(v=1,m=h/4):m=h*Math.asin(1/v)/(2*Math.PI),v*Math.pow(2,-10*y)*Math.sin((y-m)*(2*Math.PI)/h)+1)},elasticInOut:function(y){var m,v=.1,h=.4;return y===0?0:y===1?1:(!v||v<1?(v=1,m=h/4):m=h*Math.asin(1/v)/(2*Math.PI),(y*=2)<1?-.5*(v*Math.pow(2,10*(y-=1))*Math.sin((y-m)*(2*Math.PI)/h)):v*Math.pow(2,-10*(y-=1))*Math.sin((y-m)*(2*Math.PI)/h)*.5+1)},backIn:function(y){var m=1.70158;return y*y*((m+1)*y-m)},backOut:function(y){var m=1.70158;return--y*y*((m+1)*y+m)+1},backInOut:function(y){var m=1.70158*1.525;return(y*=2)<1?.5*(y*y*((m+1)*y-m)):.5*((y-=2)*y*((m+1)*y+m)+2)},bounceIn:function(y){return 1-e.bounceOut(1-y)},bounceOut:function(y){return y<1/2.75?7.5625*y*y:y<2/2.75?7.5625*(y-=1.5/2.75)*y+.75:y<2.5/2.75?7.5625*(y-=2.25/2.75)*y+.9375:7.5625*(y-=2.625/2.75)*y+.984375},bounceInOut:function(y){return y<.5?e.bounceIn(y*2)*.5:e.bounceOut(y*2-1)*.5+.5}},g=e;D.exports=g},diRs:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("q1tI"),m=e.n(y),v=e("3S7+"),h=e("H84U"),c=e("bogI"),a=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},i=y.forwardRef(function(r,o){var d=r.prefixCls,n=r.title,l=r.content,t=a(r,["prefixCls","title","content"]),s=y.useContext(h.b),u=s.getPrefixCls,p=function(E){return y.createElement(y.Fragment,null,n&&y.createElement("div",{className:"".concat(E,"-title")},Object(c.a)(n)),y.createElement("div",{className:"".concat(E,"-inner-content")},Object(c.a)(l)))},w=u("popover",d);return y.createElement(v.a,f()({},t,{prefixCls:w,ref:o,overlay:p(w)}))});i.displayName="Popover",i.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},_.a=i},digP:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={icon:function(y,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:y}}]}},name:"file",theme:"twotone"};_.default=g},dmGj:function(D,_,e){var g=e("DEFe"),f=e("ProS"),y=f.extendComponentView({type:"geo",init:function(m,v){var h=new g(v,!0);this._mapDraw=h,this.group.add(h.group)},render:function(m,v,h,c){if(c&&c.type==="geoToggleSelect"&&c.from===this.uid)return;var a=this._mapDraw;m.get("show")?a.draw(m,v,h,this,c):this._mapDraw.group.removeAll(),this.group.silent=m.get("silent")},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});D.exports=y},dnwI:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("YH21"),m=e("Kagy"),v=e("IUWy"),h=m.toolbox.dataView,c=new Array(60).join("-"),a=" ";function i(A){var S={},T=[],L=[];return A.eachRawSeries(function(x){var C=x.coordinateSystem;if(C&&(C.type==="cartesian2d"||C.type==="polar")){var I=C.getBaseAxis();if(I.type==="category"){var N=I.dim+"_"+I.index;S[N]||(S[N]={categoryAxis:I,valueAxis:C.getOtherAxis(I),series:[]},L.push({axisDim:I.dim,axisIndex:I.index})),S[N].series.push(x)}else T.push(x)}else T.push(x)}),{seriesGroupByCategoryAxis:S,other:T,meta:L}}function r(A){var S=[];return f.each(A,function(T,L){var x=T.categoryAxis,C=T.valueAxis,I=C.dim,N=[" "].concat(f.map(T.series,function(R){return R.name})),F=[x.model.getCategories()];f.each(T.series,function(R){F.push(R.getRawData().mapArray(I,function(U){return U}))});for(var k=[N.join(a)],B=0;B<F[0].length;B++){for(var P=[],K=0;K<F.length;K++)P.push(F[K][B]);k.push(P.join(a))}S.push(k.join(`
`))}),S.join(`
`+c+`
`)}function o(A){return f.map(A,function(S){var T=S.getRawData(),L=[S.name],x=[];return T.each(T.dimensions,function(){for(var C=arguments.length,I=arguments[C-1],N=T.getName(I),F=0;F<C-1;F++)x[F]=arguments[F];L.push((N?N+a:"")+x.join(a))}),L.join(`
`)}).join(`
`+c+`
`)}function d(A){var S=i(A);return{value:f.filter([r(S.seriesGroupByCategoryAxis),o(S.other)],function(T){return T.replace(/[\n\t\s]/g,"")}).join(`
`+c+`
`),meta:S.meta}}function n(A){return A.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function l(A){var S=A.slice(0,A.indexOf(`
`));if(S.indexOf(a)>=0)return!0}var t=new RegExp("["+a+"]+","g");function s(A){for(var S=A.split(/\n+/g),T=n(S.shift()).split(t),L=[],x=f.map(T,function(F){return{name:F,data:[]}}),C=0;C<S.length;C++){var I=n(S[C]).split(t);L.push(I.shift());for(var N=0;N<I.length;N++)x[N]&&(x[N].data[C]=I[N])}return{series:x,categories:L}}function u(A){for(var S=A.split(/\n+/g),T=n(S.shift()),L=[],x=0;x<S.length;x++){var C=n(S[x]).split(t),I="",N,F=!1;isNaN(C[0])?(F=!0,I=C[0],C=C.slice(1),L[x]={name:I,value:[]},N=L[x].value):N=L[x]=[];for(var k=0;k<C.length;k++)N.push(+C[k]);N.length===1&&(F?L[x].value=N[0]:L[x]=N[0])}return{name:T,data:L}}function p(A,S){var T=A.split(new RegExp(`
*`+c+`
*`,"g")),L={series:[]};return f.each(T,function(x,C){if(l(x)){var I=s(x),N=S[C],F=N.axisDim+"Axis";N&&(L[F]=L[F]||[],L[F][N.axisIndex]={data:I.categories},L.series=L.series.concat(I.series))}else{var I=u(x);L.series.push(I)}}),L}function w(A){this._dom=null,this.model=A}w.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"},w.prototype.onclick=function(A,S){var T=S.getDom(),L=this.model;this._dom&&T.removeChild(this._dom);var x=document.createElement("div");x.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",x.style.backgroundColor=L.get("backgroundColor")||"#fff";var C=document.createElement("h4"),I=L.get("lang")||[];C.innerHTML=I[0]||L.get("title"),C.style.cssText="margin: 10px 20px;",C.style.color=L.get("textColor");var N=document.createElement("div"),F=document.createElement("textarea");N.style.cssText="display:block;width:100%;overflow:auto;";var k=L.get("optionToContent"),B=L.get("contentToOption"),P=d(A);if(typeof k=="function"){var K=k(S.getOption());typeof K=="string"?N.innerHTML=K:f.isDom(K)&&N.appendChild(K)}else N.appendChild(F),F.readOnly=L.get("readOnly"),F.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",F.style.color=L.get("textColor"),F.style.borderColor=L.get("textareaBorderColor"),F.style.backgroundColor=L.get("textareaColor"),F.value=P.value;var R=P.meta,U=document.createElement("div");U.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",H=document.createElement("div"),W=document.createElement("div");j+=";background-color:"+L.get("buttonColor"),j+=";color:"+L.get("buttonTextColor");var X=this;function z(){T.removeChild(x),X._dom=null}y.addEventListener(H,"click",z),y.addEventListener(W,"click",function(){var G;try{typeof B=="function"?G=B(N,S.getOption()):G=p(F.value,R)}catch(Z){throw z(),new Error("Data view format error "+Z)}G&&S.dispatchAction({type:"changeDataView",newOption:G}),z()}),H.innerHTML=I[1],W.innerHTML=I[2],W.style.cssText=j,H.style.cssText=j,!L.get("readOnly")&&U.appendChild(W),U.appendChild(H),x.appendChild(C),x.appendChild(N),x.appendChild(U),N.style.height=T.clientHeight-80+"px",T.appendChild(x),this._dom=x},w.prototype.remove=function(A,S){this._dom&&S.getDom().removeChild(this._dom)},w.prototype.dispose=function(A,S){this.remove(A,S)};function b(A,S){return f.map(A,function(T,L){var x=S&&S[L];return f.isObject(x)&&!f.isArray(x)?(f.isObject(T)&&!f.isArray(T)&&(T=T.value),f.defaults({value:T},x)):T})}v.register("dataView",w),g.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(A,S){var T=[];f.each(A.newOption.series,function(L){var x=S.getSeriesByName(L.name)[0];if(!x)T.push(f.extend({type:"scatter"},L));else{var C=x.get("data");T.push({name:L.name,data:b(L.data,C)})}}),S.mergeOption(f.defaults({series:T},A.newOption))});var E=w;D.exports=E},dqUG:function(D,_,e){var g=e("Gev7"),f=e("bYtY"),y=e("6GrX"),m=e("pzxd"),v=e("gut8"),h=v.ContextCachedBy,c=function(r){g.call(this,r)};c.prototype={constructor:c,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=y.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(c,g);var a=c;D.exports=a},dt0z:function(D,_,e){var g=e("zoYe");function f(y){return y==null?"":g(y)}D.exports=f},e4Nc:function(D,_,e){var g=e("fGT3"),f=e("k+1r"),y=e("JHgL"),m=e("pSRY"),v=e("H8j4");function h(c){var a=-1,i=c==null?0:c.length;for(this.clear();++a<i;){var r=c[a];this.set(r[0],r[1])}}h.prototype.clear=g,h.prototype.delete=f,h.prototype.get=y,h.prototype.has=m,h.prototype.set=v,D.exports=h},e5VY:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("YNAk"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},e5cp:function(D,_,e){var g=e("fmRc"),f=e("or5M"),y=e("HDyB"),m=e("seXi"),v=e("QqLw"),h=e("Z0cm"),c=e("DSRE"),a=e("c6wG"),i=1,r="[object Arguments]",o="[object Array]",d="[object Object]",n=Object.prototype,l=n.hasOwnProperty;function t(s,u,p,w,b,E){var A=h(s),S=h(u),T=A?o:v(s),L=S?o:v(u);T=T==r?d:T,L=L==r?d:L;var x=T==d,C=L==d,I=T==L;if(I&&c(s)){if(!c(u))return!1;A=!0,x=!1}if(I&&!x)return E||(E=new g),A||a(s)?f(s,u,p,w,b,E):y(s,u,T,p,w,b,E);if(!(p&i)){var N=x&&l.call(s,"__wrapped__"),F=C&&l.call(u,"__wrapped__");if(N||F){var k=N?s.value():s,B=F?u.value():u;return E||(E=new g),b(k,B,p,w,E)}}return I?(E||(E=new g),m(s,u,p,w,b,E)):!1}D.exports=t},eIcI:function(D,_,e){var g=e("bYtY"),f=e("hM6l");function y(v,h,c){f.call(this,v,h,c),this.type="value",this.angle=0,this.name="",this.model}g.inherits(y,f);var m=y;D.exports=m},eJH7:function(D,_,e){var g=e("bYtY");function f(y){var m=y.polar;if(m){g.isArray(m)||(m=[m]);var v=[];g.each(m,function(h,c){h.indicator?(h.type&&!h.shape&&(h.shape=h.type),y.radar=y.radar||[],g.isArray(y.radar)||(y.radar=[y.radar]),y.radar.push(h)):v.push(h)}),y.polar=v}g.each(y.series,function(h){h&&h.type==="radar"&&h.polarIndex&&(h.radarIndex=h.polarIndex)})}D.exports=f},eP3c:function(D,_,e){"use strict";function g(Ve){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(re){return typeof re}:g=function(re){return re&&typeof Symbol=="function"&&re.constructor===Symbol&&re!==Symbol.prototype?"symbol":typeof re},g(Ve)}Object.defineProperty(_,"__esModule",{value:!0}),_.inflateReset=se,_.inflateReset2=fe,_.inflateResetKeep=Oe,_.inflateInit=Je,_.inflateInit2=Le,_.inflate=wt,_.inflateEnd=Ye,_.inflateGetHeader=et,_.inflateSetDictionary=rt,_.inflateInfo=_.Z_DEFLATED=_.Z_BUF_ERROR=_.Z_MEM_ERROR=_.Z_DATA_ERROR=_.Z_STREAM_ERROR=_.Z_NEED_DICT=_.Z_STREAM_END=_.Z_OK=_.Z_TREES=_.Z_BLOCK=_.Z_FINISH=void 0;var f=i(e("6BzB")),y=c(e("xlC8")),m=c(e("QV2g")),v=c(e("sjKO")),h=c(e("JSwD"));function c(Ve){return Ve&&Ve.__esModule?Ve:{default:Ve}}function a(){if(typeof WeakMap!="function")return null;var Ve=new WeakMap;return a=function(){return Ve},Ve}function i(Ve){if(Ve&&Ve.__esModule)return Ve;if(Ve===null||g(Ve)!=="object"&&typeof Ve!="function")return{default:Ve};var oe=a();if(oe&&oe.has(Ve))return oe.get(Ve);var re={},it=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Qe in Ve)if(Object.prototype.hasOwnProperty.call(Ve,Qe)){var ve=it?Object.getOwnPropertyDescriptor(Ve,Qe):null;ve&&(ve.get||ve.set)?Object.defineProperty(re,Qe,ve):re[Qe]=Ve[Qe]}return re.default=Ve,oe&&oe.set(Ve,re),re}var r=0,o=1,d=2,n=4;_.Z_FINISH=n;var l=5;_.Z_BLOCK=l;var t=6;_.Z_TREES=t;var s=0;_.Z_OK=s;var u=1;_.Z_STREAM_END=u;var p=2;_.Z_NEED_DICT=p;var w=-2;_.Z_STREAM_ERROR=w;var b=-3;_.Z_DATA_ERROR=b;var E=-4;_.Z_MEM_ERROR=E;var A=-5;_.Z_BUF_ERROR=A;var S=8;_.Z_DEFLATED=S;var T=1,L=2,x=3,C=4,I=5,N=6,F=7,k=8,B=9,P=10,K=11,R=12,U=13,j=14,H=15,W=16,X=17,z=18,G=19,Z=20,ge=21,Q=22,we=23,Ee=24,Ae=25,Pe=26,Ge=27,gt=28,_e=29,Ce=30,lt=31,ce=32,Y=852,V=592,$=15,Te=$;function ye(Ve){return(Ve>>>24&255)+(Ve>>>8&65280)+((Ve&65280)<<8)+((Ve&255)<<24)}function Fe(){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 Oe(Ve){var oe;return!Ve||!Ve.state?w:(oe=Ve.state,Ve.total_in=Ve.total_out=oe.total=0,Ve.msg="",oe.wrap&&(Ve.adler=oe.wrap&1),oe.mode=T,oe.last=0,oe.havedict=0,oe.dmax=32768,oe.head=null,oe.hold=0,oe.bits=0,oe.lencode=oe.lendyn=new f.Buf32(Y),oe.distcode=oe.distdyn=new f.Buf32(V),oe.sane=1,oe.back=-1,s)}function se(Ve){var oe;return!Ve||!Ve.state?w:(oe=Ve.state,oe.wsize=0,oe.whave=0,oe.wnext=0,Oe(Ve))}function fe(Ve,oe){var re,it;return!Ve||!Ve.state?w:(it=Ve.state,oe<0?(re=0,oe=-oe):(re=(oe>>4)+1,oe<48&&(oe&=15)),oe&&(oe<8||oe>15)?w:(it.window!==null&&it.wbits!==oe&&(it.window=null),it.wrap=re,it.wbits=oe,se(Ve)))}function Le(Ve,oe){var re,it;return Ve?(it=new Fe,Ve.state=it,it.window=null,re=fe(Ve,oe),re!==s&&(Ve.state=null),re):w}function Je(Ve){return Le(Ve,Te)}var mt=!0,Ct,Ue;function Rt(Ve){if(mt){var oe;for(Ct=new f.Buf32(512),Ue=new f.Buf32(32),oe=0;oe<144;)Ve.lens[oe++]=8;for(;oe<256;)Ve.lens[oe++]=9;for(;oe<280;)Ve.lens[oe++]=7;for(;oe<288;)Ve.lens[oe++]=8;for((0,h.default)(o,Ve.lens,0,288,Ct,0,Ve.work,{bits:9}),oe=0;oe<32;)Ve.lens[oe++]=5;(0,h.default)(d,Ve.lens,0,32,Ue,0,Ve.work,{bits:5}),mt=!1}Ve.lencode=Ct,Ve.lenbits=9,Ve.distcode=Ue,Ve.distbits=5}function Ke(Ve,oe,re,it){var Qe,ve=Ve.state;return ve.window===null&&(ve.wsize=1<<ve.wbits,ve.wnext=0,ve.whave=0,ve.window=new f.Buf8(ve.wsize)),it>=ve.wsize?(f.arraySet(ve.window,oe,re-ve.wsize,ve.wsize,0),ve.wnext=0,ve.whave=ve.wsize):(Qe=ve.wsize-ve.wnext,Qe>it&&(Qe=it),f.arraySet(ve.window,oe,re-it,Qe,ve.wnext),it-=Qe,it?(f.arraySet(ve.window,oe,re-it,it,0),ve.wnext=it,ve.whave=ve.wsize):(ve.wnext+=Qe,ve.wnext===ve.wsize&&(ve.wnext=0),ve.whave<ve.wsize&&(ve.whave+=Qe))),0}function wt(Ve,oe){var re,it,Qe,ve,Zt,dt,ct,yt,_t,or,Pt,be,me,pe,ue=0,De,He,ze,Xe,Be,nt,At,It,ae=new f.Buf8(4),he,q,ne=[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 w;re=Ve.state,re.mode===R&&(re.mode=U),Zt=Ve.next_out,Qe=Ve.output,ct=Ve.avail_out,ve=Ve.next_in,it=Ve.input,dt=Ve.avail_in,yt=re.hold,_t=re.bits,or=dt,Pt=ct,It=s;e:for(;;)switch(re.mode){case T:if(re.wrap===0){re.mode=U;break}for(;_t<16;){if(dt===0)break e;dt--,yt+=it[ve++]<<_t,_t+=8}if(re.wrap&2&&yt===35615){re.check=0,ae[0]=yt&255,ae[1]=yt>>>8&255,re.check=(0,m.default)(re.check,ae,2,0),yt=0,_t=0,re.mode=L;break}if(re.flags=0,re.head&&(re.head.done=!1),!(re.wrap&1)||(((yt&255)<<8)+(yt>>8))%31){Ve.msg="incorrect header check",re.mode=Ce;break}if((yt&15)!==S){Ve.msg="unknown compression method",re.mode=Ce;break}if(yt>>>=4,_t-=4,At=(yt&15)+8,re.wbits===0)re.wbits=At;else if(At>re.wbits){Ve.msg="invalid window size",re.mode=Ce;break}re.dmax=1<<At,Ve.adler=re.check=1,re.mode=yt&512?P:R,yt=0,_t=0;break;case L:for(;_t<16;){if(dt===0)break e;dt--,yt+=it[ve++]<<_t,_t+=8}if(re.flags=yt,(re.flags&255)!==S){Ve.msg="unknown compression method",re.mode=Ce;break}if(re.flags&57344){Ve.msg="unknown header flags set",re.mode=Ce;break}re.head&&(re.head.text=yt>>8&1),re.flags&512&&(ae[0]=yt&255,ae[1]=yt>>>8&255,re.check=(0,m.default)(re.check,ae,2,0)),yt=0,_t=0,re.mode=x;case x:for(;_t<32;){if(dt===0)break e;dt--,yt+=it[ve++]<<_t,_t+=8}re.head&&(re.head.time=yt),re.flags&512&&(ae[0]=yt&255,ae[1]=yt>>>8&255,ae[2]=yt>>>16&255,ae[3]=yt>>>24&255,re.check=(0,m.default)(re.check,ae,4,0)),yt=0,_t=0,re.mode=C;case C:for(;_t<16;){if(dt===0)break e;dt--,yt+=it[ve++]<<_t,_t+=8}re.head&&(re.head.xflags=yt&255,re.head.os=yt>>8),re.flags&512&&(ae[0]=yt&255,ae[1]=yt>>>8&255,re.check=(0,m.default)(re.check,ae,2,0)),yt=0,_t=0,re.mode=I;case I:if(re.flags&1024){for(;_t<16;){if(dt===0)break e;dt--,yt+=it[ve++]<<_t,_t+=8}re.length=yt,re.head&&(re.head.extra_len=yt),re.flags&512&&(ae[0]=yt&255,ae[1]=yt>>>8&255,re.check=(0,m.default)(re.check,ae,2,0)),yt=0,_t=0}else re.head&&(re.head.extra=null);re.mode=N;case N:if(re.flags&1024&&(be=re.length,be>dt&&(be=dt),be&&(re.head&&(At=re.head.extra_len-re.length,re.head.extra||(re.head.extra=new Array(re.head.extra_len)),f.arraySet(re.head.extra,it,ve,be,At)),re.flags&512&&(re.check=(0,m.default)(re.check,it,be,ve)),dt-=be,ve+=be,re.length-=be),re.length))break e;re.length=0,re.mode=F;case F:if(re.flags&2048){if(dt===0)break e;be=0;do At=it[ve+be++],re.head&&At&&re.length<65536&&(re.head.name+=String.fromCharCode(At));while(At&&be<dt);if(re.flags&512&&(re.check=(0,m.default)(re.check,it,be,ve)),dt-=be,ve+=be,At)break e}else re.head&&(re.head.name=null);re.length=0,re.mode=k;case k:if(re.flags&4096){if(dt===0)break e;be=0;do At=it[ve+be++],re.head&&At&&re.length<65536&&(re.head.comment+=String.fromCharCode(At));while(At&&be<dt);if(re.flags&512&&(re.check=(0,m.default)(re.check,it,be,ve)),dt-=be,ve+=be,At)break e}else re.head&&(re.head.comment=null);re.mode=B;case B:if(re.flags&512){for(;_t<16;){if(dt===0)break e;dt--,yt+=it[ve++]<<_t,_t+=8}if(yt!==(re.check&65535)){Ve.msg="header crc mismatch",re.mode=Ce;break}yt=0,_t=0}re.head&&(re.head.hcrc=re.flags>>9&1,re.head.done=!0),Ve.adler=re.check=0,re.mode=R;break;case P:for(;_t<32;){if(dt===0)break e;dt--,yt+=it[ve++]<<_t,_t+=8}Ve.adler=re.check=ye(yt),yt=0,_t=0,re.mode=K;case K:if(re.havedict===0)return Ve.next_out=Zt,Ve.avail_out=ct,Ve.next_in=ve,Ve.avail_in=dt,re.hold=yt,re.bits=_t,p;Ve.adler=re.check=1,re.mode=R;case R:if(oe===l||oe===t)break e;case U:if(re.last){yt>>>=_t&7,_t-=_t&7,re.mode=Ge;break}for(;_t<3;){if(dt===0)break e;dt--,yt+=it[ve++]<<_t,_t+=8}re.last=yt&1,yt>>>=1,_t-=1;switch(yt&3){case 0:re.mode=j;break;case 1:if(Rt(re),re.mode=Z,oe===t){yt>>>=2,_t-=2;break e}break;case 2:re.mode=X;break;case 3:Ve.msg="invalid block type",re.mode=Ce}yt>>>=2,_t-=2;break;case j:for(yt>>>=_t&7,_t-=_t&7;_t<32;){if(dt===0)break e;dt--,yt+=it[ve++]<<_t,_t+=8}if((yt&65535)!==(yt>>>16^65535)){Ve.msg="invalid stored block lengths",re.mode=Ce;break}if(re.length=yt&65535,yt=0,_t=0,re.mode=H,oe===t)break e;case H:re.mode=W;case W:if(be=re.length,be){if(be>dt&&(be=dt),be>ct&&(be=ct),be===0)break e;f.arraySet(Qe,it,ve,be,Zt),dt-=be,ve+=be,ct-=be,Zt+=be,re.length-=be;break}re.mode=R;break;case X:for(;_t<14;){if(dt===0)break e;dt--,yt+=it[ve++]<<_t,_t+=8}if(re.nlen=(yt&31)+257,yt>>>=5,_t-=5,re.ndist=(yt&31)+1,yt>>>=5,_t-=5,re.ncode=(yt&15)+4,yt>>>=4,_t-=4,re.nlen>286||re.ndist>30){Ve.msg="too many length or distance symbols",re.mode=Ce;break}re.have=0,re.mode=z;case z:for(;re.have<re.ncode;){for(;_t<3;){if(dt===0)break e;dt--,yt+=it[ve++]<<_t,_t+=8}re.lens[ne[re.have++]]=yt&7,yt>>>=3,_t-=3}for(;re.have<19;)re.lens[ne[re.have++]]=0;if(re.lencode=re.lendyn,re.lenbits=7,he={bits:re.lenbits},It=(0,h.default)(r,re.lens,0,19,re.lencode,0,re.work,he),re.lenbits=he.bits,It){Ve.msg="invalid code lengths set",re.mode=Ce;break}re.have=0,re.mode=G;case G:for(;re.have<re.nlen+re.ndist;){for(;!(ue=re.lencode[yt&(1<<re.lenbits)-1],De=ue>>>24,He=ue>>>16&255,ze=ue&65535,De<=_t);){if(dt===0)break e;dt--,yt+=it[ve++]<<_t,_t+=8}if(ze<16)yt>>>=De,_t-=De,re.lens[re.have++]=ze;else{if(ze===16){for(q=De+2;_t<q;){if(dt===0)break e;dt--,yt+=it[ve++]<<_t,_t+=8}if(yt>>>=De,_t-=De,re.have===0){Ve.msg="invalid bit length repeat",re.mode=Ce;break}At=re.lens[re.have-1],be=3+(yt&3),yt>>>=2,_t-=2}else if(ze===17){for(q=De+3;_t<q;){if(dt===0)break e;dt--,yt+=it[ve++]<<_t,_t+=8}yt>>>=De,_t-=De,At=0,be=3+(yt&7),yt>>>=3,_t-=3}else{for(q=De+7;_t<q;){if(dt===0)break e;dt--,yt+=it[ve++]<<_t,_t+=8}yt>>>=De,_t-=De,At=0,be=11+(yt&127),yt>>>=7,_t-=7}if(re.have+be>re.nlen+re.ndist){Ve.msg="invalid bit length repeat",re.mode=Ce;break}for(;be--;)re.lens[re.have++]=At}}if(re.mode===Ce)break;if(re.lens[256]===0){Ve.msg="invalid code -- missing end-of-block",re.mode=Ce;break}if(re.lenbits=9,he={bits:re.lenbits},It=(0,h.default)(o,re.lens,0,re.nlen,re.lencode,0,re.work,he),re.lenbits=he.bits,It){Ve.msg="invalid literal/lengths set",re.mode=Ce;break}if(re.distbits=6,re.distcode=re.distdyn,he={bits:re.distbits},It=(0,h.default)(d,re.lens,re.nlen,re.ndist,re.distcode,0,re.work,he),re.distbits=he.bits,It){Ve.msg="invalid distances set",re.mode=Ce;break}if(re.mode=Z,oe===t)break e;case Z:re.mode=ge;case ge:if(dt>=6&&ct>=258){Ve.next_out=Zt,Ve.avail_out=ct,Ve.next_in=ve,Ve.avail_in=dt,re.hold=yt,re.bits=_t,(0,v.default)(Ve,Pt),Zt=Ve.next_out,Qe=Ve.output,ct=Ve.avail_out,ve=Ve.next_in,it=Ve.input,dt=Ve.avail_in,yt=re.hold,_t=re.bits,re.mode===R&&(re.back=-1);break}for(re.back=0;!(ue=re.lencode[yt&(1<<re.lenbits)-1],De=ue>>>24,He=ue>>>16&255,ze=ue&65535,De<=_t);){if(dt===0)break e;dt--,yt+=it[ve++]<<_t,_t+=8}if(He&&(He&240)===0){for(Xe=De,Be=He,nt=ze;!(ue=re.lencode[nt+((yt&(1<<Xe+Be)-1)>>Xe)],De=ue>>>24,He=ue>>>16&255,ze=ue&65535,Xe+De<=_t);){if(dt===0)break e;dt--,yt+=it[ve++]<<_t,_t+=8}yt>>>=Xe,_t-=Xe,re.back+=Xe}if(yt>>>=De,_t-=De,re.back+=De,re.length=ze,He===0){re.mode=Pe;break}if(He&32){re.back=-1,re.mode=R;break}if(He&64){Ve.msg="invalid literal/length code",re.mode=Ce;break}re.extra=He&15,re.mode=Q;case Q:if(re.extra){for(q=re.extra;_t<q;){if(dt===0)break e;dt--,yt+=it[ve++]<<_t,_t+=8}re.length+=yt&(1<<re.extra)-1,yt>>>=re.extra,_t-=re.extra,re.back+=re.extra}re.was=re.length,re.mode=we;case we:for(;!(ue=re.distcode[yt&(1<<re.distbits)-1],De=ue>>>24,He=ue>>>16&255,ze=ue&65535,De<=_t);){if(dt===0)break e;dt--,yt+=it[ve++]<<_t,_t+=8}if((He&240)===0){for(Xe=De,Be=He,nt=ze;!(ue=re.distcode[nt+((yt&(1<<Xe+Be)-1)>>Xe)],De=ue>>>24,He=ue>>>16&255,ze=ue&65535,Xe+De<=_t);){if(dt===0)break e;dt--,yt+=it[ve++]<<_t,_t+=8}yt>>>=Xe,_t-=Xe,re.back+=Xe}if(yt>>>=De,_t-=De,re.back+=De,He&64){Ve.msg="invalid distance code",re.mode=Ce;break}re.offset=ze,re.extra=He&15,re.mode=Ee;case Ee:if(re.extra){for(q=re.extra;_t<q;){if(dt===0)break e;dt--,yt+=it[ve++]<<_t,_t+=8}re.offset+=yt&(1<<re.extra)-1,yt>>>=re.extra,_t-=re.extra,re.back+=re.extra}if(re.offset>re.dmax){Ve.msg="invalid distance too far back",re.mode=Ce;break}re.mode=Ae;case Ae:if(ct===0)break e;if(be=Pt-ct,re.offset>be){if(be=re.offset-be,be>re.whave&&re.sane){Ve.msg="invalid distance too far back",re.mode=Ce;break}be>re.wnext?(be-=re.wnext,me=re.wsize-be):me=re.wnext-be,be>re.length&&(be=re.length),pe=re.window}else pe=Qe,me=Zt-re.offset,be=re.length;be>ct&&(be=ct),ct-=be,re.length-=be;do Qe[Zt++]=pe[me++];while(--be);re.length===0&&(re.mode=ge);break;case Pe:if(ct===0)break e;Qe[Zt++]=re.length,ct--,re.mode=ge;break;case Ge:if(re.wrap){for(;_t<32;){if(dt===0)break e;dt--,yt|=it[ve++]<<_t,_t+=8}if(Pt-=ct,Ve.total_out+=Pt,re.total+=Pt,Pt&&(Ve.adler=re.check=re.flags?(0,m.default)(re.check,Qe,Pt,Zt-Pt):(0,y.default)(re.check,Qe,Pt,Zt-Pt)),Pt=ct,(re.flags?yt:ye(yt))!==re.check){Ve.msg="incorrect data check",re.mode=Ce;break}yt=0,_t=0}re.mode=gt;case gt:if(re.wrap&&re.flags){for(;_t<32;){if(dt===0)break e;dt--,yt+=it[ve++]<<_t,_t+=8}if(yt!==(re.total&4294967295)){Ve.msg="incorrect length check",re.mode=Ce;break}yt=0,_t=0}re.mode=_e;case _e:It=u;break e;case Ce:It=b;break e;case lt:return E;case ce:default:return w}return Ve.next_out=Zt,Ve.avail_out=ct,Ve.next_in=ve,Ve.avail_in=dt,re.hold=yt,re.bits=_t,(re.wsize||Pt!==Ve.avail_out&&re.mode<Ce&&(re.mode<Ge||oe!==n))&&Ke(Ve,Ve.output,Ve.next_out,Pt-Ve.avail_out)?(re.mode=lt,E):(or-=Ve.avail_in,Pt-=Ve.avail_out,Ve.total_in+=or,Ve.total_out+=Pt,re.total+=Pt,re.wrap&&Pt&&(Ve.adler=re.check=re.flags?(0,m.default)(re.check,Qe,Pt,Ve.next_out-Pt):(0,y.default)(re.check,Qe,Pt,Ve.next_out-Pt)),Ve.data_type=re.bits+(re.last?64:0)+(re.mode===R?128:0)+(re.mode===Z||re.mode===H?256:0),(or===0&&Pt===0||oe===n)&&It===s&&(It=A),It)}function Ye(Ve){if(!Ve||!Ve.state)return w;var oe=Ve.state;return oe.window&&(oe.window=null),Ve.state=null,s}function et(Ve,oe){var re;return!Ve||!Ve.state?w:(re=Ve.state,(re.wrap&2)===0?w:(re.head=oe,oe.done=!1,s))}function rt(Ve,oe){var re=oe.length,it,Qe,ve;return!Ve||!Ve.state?w:(it=Ve.state,it.wrap!==0&&it.mode!==K?w:it.mode===K&&(Qe=1,Qe=(0,y.default)(Qe,oe,re,0),Qe!==it.check)?b:(ve=Ke(Ve,oe,re,re),ve?(it.mode=lt,E):(it.havedict=1,s)))}var st="pako inflate (from Nodeca project)";_.inflateInfo=st},ePAk:function(D,_,e){var g=e("ProS");e("2fGM");var f=g.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(y){var m,v=this.ecModel;return v.eachComponent(y,function(h){h.getCoordSysModel()===this&&(m=h)},this),m},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});D.exports=f},eRkO:function(D,_,e){var g=e("+TT/"),f=g.getLayoutRect,y=g.box,m=g.positionElement,v=e("7aKB"),h=e("IwbS");function c(i,r,o){var d=r.getBoxLayoutParams(),n=r.get("padding"),l={width:o.getWidth(),height:o.getHeight()},t=f(d,l,n);y(r.get("orient"),i,r.get("itemGap"),t.width,t.height),m(i,d,l,n)}function a(i,r){var o=v.normalizeCssArray(r.get("padding")),d=r.getItemStyle(["color","opacity"]);d.fill=r.get("backgroundColor");var i=new h.Rect({shape:{x:i.x-o[3],y:i.y-o[0],width:i.width+o[1]+o[3],height:i.height+o[0]+o[2],r:r.get("borderRadius")},style:d,silent:!0,z2:-1});return i}_.layout=c,_.makeBackground=a},eS4l:function(D,_,e){e("HM/N"),e("FNN5")},eUgh:function(D,_){function e(g,f){for(var y=-1,m=g==null?0:g.length,v=Array(m);++y<m;)v[y]=f(g[y],y,g);return v}D.exports=e},ebwN:function(D,_,e){var g=e("Cwc5"),f=e("Kz5y"),y=g(f,"Map");D.exports=y},ekgI:function(D,_,e){var g=e("YESw"),f=Object.prototype,y=f.hasOwnProperty;function m(v){var h=this.__data__;return g?h[v]!==void 0:y.call(h,v)}D.exports=m},ewwo:function(D,_,e){var g=e("bMXI"),f=e("+TT/"),y=f.getLayoutRect,m=e("4mN7");function v(c,a,i){var r=c.getBoxLayoutParams();return r.aspect=i,y(r,{width:a.getWidth(),height:a.getHeight()})}function h(c,a){var i=[];return c.eachSeriesByType("graph",function(r){var o=r.get("coordinateSystem");if(!o||o==="view"){var d=r.getData(),n=d.mapArray(function(S){var T=d.getItemModel(S);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]),u=v(r,a,s);isNaN(s)&&(l=[u.x,u.y],t=[u.x+u.width,u.y+u.height]);var p=t[0]-l[0],w=t[1]-l[1],b=u.width,E=u.height,A=r.coordinateSystem=new g;A.zoomLimit=r.get("scaleLimit"),A.setBoundingRect(l[0],l[1],p,w),A.setViewRect(u.x,u.y,b,E),A.setCenter(r.get("center")),A.setZoom(r.get("zoom")),i.push(A)}}),i}D.exports=h},f1nB:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),m=e("bYtY"),v=e("4NO4"),h=e("IwbS"),c=e("+TT/"),a=e("OELB"),i=a.parsePercent,r={path:null,compoundPath:null,group:h.Group,image:h.Image,text:h.Text};y.registerPreprocessor(function(b){var E=b.graphic;m.isArray(E)?!E[0]||!E[0].elements?b.graphic=[{elements:E}]:b.graphic=[b.graphic[0]]:E&&!E.elements&&(b.graphic=[{elements:[E]}])});var o=y.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(b){var E=this.option.elements;this.option.elements=null,o.superApply(this,"mergeOption",arguments),this.option.elements=E},optionUpdated:function(b,E){var A=this.option,S=(E?A:b).elements,T=A.elements=E?[]:A.elements,L=[];this._flatten(S,L);var x=v.mappingToExists(T,L);v.makeIdAndName(x);var C=this._elOptionsToUpdate=[];m.each(x,function(N,F){var k=N.option;if(!k)return;C.push(k),s(N,k),u(T,F,k),p(T[F],k)},this);for(var I=T.length-1;I>=0;I--)T[I]==null?T.splice(I,1):delete T[I].$action},_flatten:function(b,E,A){m.each(b,function(S){if(!S)return;A&&(S.parentOption=A),E.push(S);var T=S.children;S.type==="group"&&T&&this._flatten(T,E,S),delete S.children},this)},useElOptionsToUpdate:function(){var b=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,b}});y.extendComponentView({type:"graphic",init:function(b,E){this._elMap=m.createHashMap(),this._lastGraphicModel},render:function(b,E,A){b!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=b,this._updateElements(b),this._relocate(b,A)},_updateElements:function(b){var E=b.useElOptionsToUpdate();if(!E)return;var A=this._elMap,S=this.group;m.each(E,function(T){var L=T.$action,x=T.id,C=A.get(x),I=T.parentId,N=I!=null?A.get(I):S,F=T.style;T.type==="text"&&F&&(T.hv&&T.hv[1]&&(F.textVerticalAlign=F.textBaseline=null),!F.hasOwnProperty("textFill")&&F.fill&&(F.textFill=F.fill),!F.hasOwnProperty("textStroke")&&F.stroke&&(F.textStroke=F.stroke));var k=l(T);!L||L==="merge"?C?C.attr(k):d(x,N,k,A):L==="replace"?(n(C,A),d(x,N,k,A)):L==="remove"&&n(C,A);var B=A.get(x);B&&(B.__ecGraphicWidthOption=T.width,B.__ecGraphicHeightOption=T.height,w(B,b,T))})},_relocate:function(b,E){for(var A=b.option.elements,S=this.group,T=this._elMap,L=E.getWidth(),x=E.getHeight(),C=0;C<A.length;C++){var I=A[C],N=T.get(I.id);if(!N||!N.isGroup)continue;var F=N.parent,k=F===S;N.__ecGraphicWidth=i(N.__ecGraphicWidthOption,k?L:F.__ecGraphicWidth)||0,N.__ecGraphicHeight=i(N.__ecGraphicHeightOption,k?x:F.__ecGraphicHeight)||0}for(var C=A.length-1;C>=0;C--){var I=A[C],N=T.get(I.id);if(!N)continue;var F=N.parent,B=F===S?{width:L,height:x}:{width:F.__ecGraphicWidth,height:F.__ecGraphicHeight};c.positionElement(N,I,B,null,{hv:I.hv,boundingMode:I.bounding})}},_clear:function(){var b=this._elMap;b.each(function(E){n(E,b)}),this._elMap=m.createHashMap()},dispose:function(){this._clear()}});function d(b,E,A,S){var T=A.type,L=r.hasOwnProperty(T)?r[T]:h.getShapeClass(T),x=new L(A);E.add(x),S.set(b,x),x.__ecGraphicId=b}function n(b,E){var A=b&&b.parent;A&&(b.type==="group"&&b.traverse(function(S){n(S,E)}),E.removeKey(b.__ecGraphicId),A.remove(b))}function l(b){return b=m.extend({},b),m.each(["id","parentId","$action","hv","bounding"].concat(c.LOCATION_PARAMS),function(E){delete b[E]}),b}function t(b,E){var A;return m.each(E,function(S){b[S]!=null&&b[S]!=="auto"&&(A=!0)}),A}function s(b,E){var A=b.exist;if(E.id=b.keyInfo.id,!E.type&&A&&(E.type=A.type),E.parentId==null){var S=E.parentOption;S?E.parentId=S.id:A&&(E.parentId=A.parentId)}E.parentOption=null}function u(b,E,A){var S=m.extend({},A),T=b[E],L=A.$action||"merge";L==="merge"?T?(m.merge(T,S,!0),c.mergeLayoutParam(T,S,{ignoreSize:!0}),c.copyLayoutParams(A,T)):b[E]=S:L==="replace"?b[E]=S:L==="remove"&&(T&&(b[E]=null))}function p(b,E){if(!b)return;b.hv=E.hv=[t(E,["left","right"]),t(E,["top","bottom"])],b.type==="group"&&(b.width==null&&(b.width=E.width=0),b.height==null&&(b.height=E.height=0))}function w(b,E,A){var S=b.eventData;!b.silent&&!b.ignore&&!S&&(S=b.eventData={componentType:"graphic",componentIndex:E.componentIndex,name:b.name}),S&&(S.info=b.info)}},f3JH:function(D,_,e){e("aTJb"),e("OlYY"),e("fc+c"),e("oY9F"),e("MqEG"),e("LBfv"),e("noeP")},f5HG:function(D,_,e){var g=e("IwbS"),f=e("QBsz"),y=g.Line.prototype,m=g.BezierCurve.prototype;function v(c){return isNaN(+c.cpx1)||isNaN(+c.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(c,a){this[v(a)?"_buildPathLine":"_buildPathCurve"](c,a)},_buildPathLine:y.buildPath,_buildPathCurve:m.buildPath,pointAt:function(c){return this[v(this.shape)?"_pointAtLine":"_pointAtCurve"](c)},_pointAtLine:y.pointAt,_pointAtCurve:m.pointAt,tangentAt:function(c){var a=this.shape,i=v(a)?[a.x2-a.x1,a.y2-a.y1]:this._tangentAtCurve(c);return f.normalize(i,i)},_tangentAtCurve:m.tangentAt});D.exports=h},f5Yq:function(D,_,e){var g=e("bYtY"),f=g.isFunction;function y(m,v,h){return{seriesType:m,performRawSeries:!0,reset:function(c,a,i){var r=c.getData(),o=c.get("symbol"),d=c.get("symbolSize"),n=c.get("symbolKeepAspect"),l=c.get("symbolRotate"),t=f(o),s=f(d),u=f(l),p=t||s||u,w=!t&&o?o:v,b=s?null:d,E=u?null:E;if(r.setVisual({legendSymbol:h||w,symbol:w,symbolSize:b,symbolKeepAspect:n,symbolRotate:l}),a.isSeriesFiltered(c))return;function A(S,T){if(p){var L=c.getRawValue(T),x=c.getDataParams(T);t&&S.setItemVisual(T,"symbol",o(L,x)),s&&S.setItemVisual(T,"symbolSize",d(L,x)),u&&S.setItemVisual(T,"symbolRotate",l(L,x))}if(S.hasItemOption){var C=S.getItemModel(T),I=C.getShallow("symbol",!0),N=C.getShallow("symbolSize",!0),F=C.getShallow("symbolRotate",!0),k=C.getShallow("symbolKeepAspect",!0);I!=null&&S.setItemVisual(T,"symbol",I),N!=null&&S.setItemVisual(T,"symbolSize",N),F!=null&&S.setItemVisual(T,"symbolRotate",F),k!=null&&S.setItemVisual(T,"symbolKeepAspect",k)}}return{dataEach:r.hasItemOption||p?A:null}}}}D.exports=y},fAei:function(D,_,e){"use strict";e.d(_,"a",function(){return b.a});var g=e("rePB"),f=e("VTBJ"),y=e("KQm4"),m=e("1OyB"),v=e("vuIU"),h=e("Ji7U"),c=e("LK+K"),a=e("q1tI"),i=e("4IlW"),r=e("Kwbf"),o=e("TSYQ"),d=e.n(o),n=e("sboe"),l=e("OZM5"),t=e("815F"),s=e("ODXe"),u=e("Ff2n"),p=e("+nKL"),w=e("8XRh"),b=e("WaYH"),E=function(Z,ge){var Q=Z.className,we=Z.style,Ee=Z.motion,Ae=Z.motionNodes,Pe=Z.motionType,Ge=Z.onMotionEnd,gt=Z.active,_e=Z.treeNodeRequiredProps,Ce=Object(u.a)(Z,["className","style","motion","motionNodes","motionType","onMotionEnd","active","treeNodeRequiredProps"]),lt=a.useState(!0),ce=Object(s.a)(lt,2),Y=ce[0],V=ce[1],$=a.useContext(n.a),Te=$.prefixCls,ye=a.useRef(!1),Fe=function(){ye.current||Ge(),ye.current=!0};return Object(a.useEffect)(function(){Ae&&Pe==="hide"&&Y&&V(!1)},[Ae]),Object(a.useEffect)(function(){return function(){Ae&&Fe()}},[]),Ae?a.createElement(w.default,Object.assign({ref:ge,visible:Y},Ee,{motionAppear:Pe==="show",onAppearEnd:Fe,onLeaveEnd:Fe}),function(Oe,se){var fe=Oe.className,Le=Oe.style;return a.createElement("div",{ref:se,className:d()("".concat(Te,"-treenode-motion"),fe),style:Le},Ae.map(function(Je){var mt=Je.data,Ct=mt.key,Ue=Object(u.a)(mt,["key"]),Rt=Je.isStart,Ke=Je.isEnd;delete Ue.children;var wt=Object(t.f)(Ct,_e);return a.createElement(b.a,Object.assign({},Ue,wt,{active:gt,data:Je.data,key:Ct,isStart:Rt,isEnd:Ke}))}))}):a.createElement(b.a,Object.assign({domRef:ge,className:Q,style:we},Ce,{active:gt}))};E.displayName="MotionTreeNode";var A=a.forwardRef(E),S=A;function T(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ge=G.length,Q=Z.length;if(Math.abs(ge-Q)!==1)return{add:!1,key:null};function we(Ee,Ae){var Pe=new Map;Ee.forEach(function(gt){Pe.set(gt,!0)});var Ge=Ae.filter(function(gt){return!Pe.has(gt)});return Ge.length===1?Ge[0]:null}return ge<Q?{add:!0,key:we(G,Z)}:{add:!1,key:we(Z,G)}}function L(G,Z,ge){var Q=G.findIndex(function(Pe){var Ge=Pe.data;return Ge.key===ge}),we=G[Q+1],Ee=Z.findIndex(function(Pe){var Ge=Pe.data;return Ge.key===ge});if(we){var Ae=Z.findIndex(function(Pe){var Ge=Pe.data;return Ge.key===we.data.key});return Z.slice(Ee+1,Ae)}return Z.slice(Ee+1)}var x={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},C=function(){},I="RC_TREE_MOTION_".concat(Math.random()),N={key:I},F={key:I,level:0,index:0,pos:"0",node:N},k={parent:null,children:[],pos:F.pos,data:N,isStart:[],isEnd:[]};function B(G,Z,ge,Q){return Z===!1||!ge?G:G.slice(0,Math.ceil(ge/Q)+1)}function P(G){var Z=G.data.key,ge=G.pos;return Object(t.e)(Z,ge)}function K(G){for(var Z=String(G.data.key),ge=G;ge.parent;)ge=ge.parent,Z="".concat(ge.data.key," > ").concat(Z);return Z}var R=function(Z,ge){var Q=Z.prefixCls,we=Z.data,Ee=Z.selectable,Ae=Z.checkable,Pe=Z.expandedKeys,Ge=Z.selectedKeys,gt=Z.checkedKeys,_e=Z.loadedKeys,Ce=Z.loadingKeys,lt=Z.halfCheckedKeys,ce=Z.keyEntities,Y=Z.disabled,V=Z.dragging,$=Z.dragOverNodeKey,Te=Z.dropPosition,ye=Z.motion,Fe=Z.height,Oe=Z.itemHeight,se=Z.virtual,fe=Z.focusable,Le=Z.activeItem,Je=Z.focused,mt=Z.tabIndex,Ct=Z.onKeyDown,Ue=Z.onFocus,Rt=Z.onBlur,Ke=Z.onActiveChange,wt=Z.onListChangeStart,Ye=Z.onListChangeEnd,et=Object(u.a)(Z,["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"]),rt=a.useRef(null);a.useImperativeHandle(ge,function(){return{scrollTo:function(At){rt.current.scrollTo(At)}}});var st=a.useState(Pe),Ve=Object(s.a)(st,2),oe=Ve[0],re=Ve[1],it=a.useState(we),Qe=Object(s.a)(it,2),ve=Qe[0],Zt=Qe[1],dt=a.useState(we),ct=Object(s.a)(dt,2),yt=ct[0],_t=ct[1],or=a.useState([]),Pt=Object(s.a)(or,2),be=Pt[0],me=Pt[1],pe=a.useState(null),ue=Object(s.a)(pe,2),De=ue[0],He=ue[1];function ze(){Zt(we),_t(we),me([]),He(null),Ye()}a.useEffect(function(){re(Pe);var nt=T(oe,Pe);if(nt.key!==null){if(nt.add){var At=ve.findIndex(function(Se){var Ne=Se.data.key;return Ne===nt.key}),It=B(L(ve,we,nt.key),se,Fe,Oe),ae=ve.slice();ae.splice(At+1,0,k),_t(ae),me(It),He("show")}else{var he=we.findIndex(function(Se){var Ne=Se.data.key;return Ne===nt.key}),q=B(L(we,ve,nt.key),se,Fe,Oe),ne=we.slice();ne.splice(he+1,0,k),_t(ne),me(q),He("hide")}ye&&wt()}else ve!==we&&(Zt(we),_t(we))},[Pe,we]),a.useEffect(function(){V||ze()},[V]);var Xe=ye?yt:we,Be={expandedKeys:Pe,selectedKeys:Ge,loadedKeys:_e,loadingKeys:Ce,checkedKeys:gt,halfCheckedKeys:lt,dragOverNodeKey:$,dropPosition:Te,keyEntities:ce};return a.createElement(a.Fragment,null,Je&&Le&&a.createElement("span",{style:x,"aria-live":"assertive"},K(Le)),a.createElement("div",{role:"tree"},a.createElement("input",{style:x,disabled:fe===!1||Y,tabIndex:fe!==!1?mt:null,onKeyDown:Ct,onFocus:Ue,onBlur:Rt,value:"",onChange:C})),a.createElement(p.a,Object.assign({},et,{data:Xe,itemKey:P,height:Fe,fullHeight:!1,virtual:se,itemHeight:Oe,prefixCls:"".concat(Q,"-list"),ref:rt}),function(nt){var At=nt.pos,It=nt.data,ae=It.key,he=Object(u.a)(It,["key"]),q=nt.isStart,ne=nt.isEnd,Se=Object(t.e)(ae,At);delete he.children;var Ne=Object(t.f)(Se,Be);return a.createElement(S,Object.assign({},he,Ne,{active:Le&&ae===Le.data.key,pos:At,data:nt.data,isStart:q,isEnd:ne,motion:ye,motionNodes:ae===I?be:null,motionType:De,onMotionEnd:ze,treeNodeRequiredProps:Be,onMouseMove:function(){Ke(null)}}))}))},U=a.forwardRef(R);U.displayName="NodeList";var j=U,H=e("NvD2"),W=function(G){Object(h.a)(ge,G);var Z=Object(c.a)(ge);function ge(){var Q;return Object(m.a)(this,ge),Q=Z.apply(this,arguments),Q.destroyed=!1,Q.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},Q.listRef=a.createRef(),Q.onNodeDragStart=function(we,Ee){var Ae=Q.state,Pe=Ae.expandedKeys,Ge=Ae.keyEntities,gt=Q.props.onDragStart,_e=Ee.props.eventKey;Q.dragNode=Ee;var Ce=Object(l.b)(Pe,_e);Q.setState({dragging:!0,dragNodesKeys:Object(l.g)(_e,Ge)}),Q.setExpandedKeys(Ce),gt&&gt({event:we,node:Object(t.b)(Ee.props)})},Q.onNodeDragEnter=function(we,Ee){var Ae=Q.state,Pe=Ae.expandedKeys,Ge=Ae.keyEntities,gt=Ae.dragNodesKeys,_e=Q.props.onDragEnter,Ce=Ee.props,lt=Ce.pos,ce=Ce.eventKey;if(!Q.dragNode||gt.indexOf(ce)!==-1)return;var Y=Object(l.c)(we,Ee);if(Q.dragNode.props.eventKey===ce&&Y===0){Q.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){Q.setState({dragOverNodeKey:ce,dropPosition:Y}),Q.delayedDragEnterLogic||(Q.delayedDragEnterLogic={}),Object.keys(Q.delayedDragEnterLogic).forEach(function(V){clearTimeout(Q.delayedDragEnterLogic[V])}),Q.delayedDragEnterLogic[lt]=window.setTimeout(function(){if(!Q.state.dragging)return;var V=Object(y.a)(Pe),$=Ge[ce];$&&($.children||[]).length&&(V=Object(l.a)(Pe,ce)),"expandedKeys"in Q.props||Q.setExpandedKeys(V),_e&&_e({event:we,node:Object(t.b)(Ee.props),expandedKeys:V})},400)},0)},Q.onNodeDragOver=function(we,Ee){var Ae=Q.state.dragNodesKeys,Pe=Q.props.onDragOver,Ge=Ee.props.eventKey;if(Ae.indexOf(Ge)!==-1)return;if(Q.dragNode&&Ge===Q.state.dragOverNodeKey){var gt=Object(l.c)(we,Ee);if(gt===Q.state.dropPosition)return;Q.setState({dropPosition:gt})}Pe&&Pe({event:we,node:Object(t.b)(Ee.props)})},Q.onNodeDragLeave=function(we,Ee){var Ae=Q.props.onDragLeave;Q.setState({dragOverNodeKey:""}),Ae&&Ae({event:we,node:Object(t.b)(Ee.props)})},Q.onNodeDragEnd=function(we,Ee){var Ae=Q.props.onDragEnd;Q.setState({dragOverNodeKey:""}),Q.cleanDragState(),Ae&&Ae({event:we,node:Object(t.b)(Ee.props)}),Q.dragNode=null},Q.onNodeDrop=function(we,Ee){var Ae=Q.state,Pe=Ae.dragNodesKeys,Ge=Pe===void 0?[]:Pe,gt=Ae.dropPosition,_e=Q.props.onDrop,Ce=Ee.props,lt=Ce.eventKey,ce=Ce.pos;if(Q.setState({dragOverNodeKey:""}),Q.cleanDragState(),Ge.indexOf(lt)!==-1){Object(r.a)(!1,"Can not drop to dragNode(include it's children node)");return}var Y=Object(l.k)(ce),V={event:we,node:Object(t.b)(Ee.props),dragNode:Q.dragNode?Object(t.b)(Q.dragNode.props):null,dragNodesKeys:Ge.slice(),dropPosition:gt+Number(Y[Y.length-1]),dropToGap:!1};gt!==0&&(V.dropToGap=!0),_e&&_e(V),Q.dragNode=null},Q.cleanDragState=function(){var we=Q.state.dragging;we&&Q.setState({dragging:!1})},Q.onNodeClick=function(we,Ee){var Ae=Q.props.onClick;Ae&&Ae(we,Ee)},Q.onNodeDoubleClick=function(we,Ee){var Ae=Q.props.onDoubleClick;Ae&&Ae(we,Ee)},Q.onNodeSelect=function(we,Ee){var Ae=Q.state.selectedKeys,Pe=Q.state.keyEntities,Ge=Q.props,gt=Ge.onSelect,_e=Ge.multiple,Ce=Ee.selected,lt=Ee.key,ce=!Ce;ce?_e?Ae=Object(l.a)(Ae,lt):Ae=[lt]:Ae=Object(l.b)(Ae,lt);var Y=Ae.map(function(V){var $=Pe[V];return $?$.node:null}).filter(function(V){return V});Q.setUncontrolledState({selectedKeys:Ae}),gt&&gt(Ae,{event:"select",selected:ce,node:Ee,selectedNodes:Y,nativeEvent:we.nativeEvent})},Q.onNodeCheck=function(we,Ee,Ae){var Pe=Q.state,Ge=Pe.keyEntities,gt=Pe.checkedKeys,_e=Pe.halfCheckedKeys,Ce=Q.props,lt=Ce.checkStrictly,ce=Ce.onCheck,Y=Ee.key,V,$={event:"check",node:Ee,checked:Ae,nativeEvent:we.nativeEvent};if(lt){var Te=Ae?Object(l.a)(gt,Y):Object(l.b)(gt,Y),ye=Object(l.b)(_e,Y);V={checked:Te,halfChecked:ye},$.checkedNodes=Te.map(function(Je){return Ge[Je]}).filter(function(Je){return Je}).map(function(Je){return Je.node}),Q.setUncontrolledState({checkedKeys:Te})}else{var Fe=Object(H.a)([].concat(Object(y.a)(gt),[Y]),!0,Ge),Oe=Fe.checkedKeys,se=Fe.halfCheckedKeys;if(!Ae){var fe=new Set(Oe);fe.delete(Y);var Le=Object(H.a)(Array.from(fe),{checked:!1,halfCheckedKeys:se},Ge);Oe=Le.checkedKeys,se=Le.halfCheckedKeys}V=Oe,$.checkedNodes=[],$.checkedNodesPositions=[],$.halfCheckedKeys=se,Oe.forEach(function(Je){var mt=Ge[Je];if(!mt)return;var Ct=mt.node,Ue=mt.pos;$.checkedNodes.push(Ct),$.checkedNodesPositions.push({node:Ct,pos:Ue})}),Q.setUncontrolledState({checkedKeys:Oe},!1,{halfCheckedKeys:se})}ce&&ce(V,$)},Q.onNodeLoad=function(we){return new Promise(function(Ee){Q.setState(function(Ae){var Pe=Ae.loadedKeys,Ge=Pe===void 0?[]:Pe,gt=Ae.loadingKeys,_e=gt===void 0?[]:gt,Ce=Q.props,lt=Ce.loadData,ce=Ce.onLoad,Y=we.key;if(!lt||Ge.indexOf(Y)!==-1||_e.indexOf(Y)!==-1)return{};var V=lt(we);return V.then(function(){var $=Q.state,Te=$.loadedKeys,ye=$.loadingKeys,Fe=Object(l.a)(Te,Y),Oe=Object(l.b)(ye,Y);ce&&ce(Fe,{event:"load",node:we}),Q.setUncontrolledState({loadedKeys:Fe}),Q.setState({loadingKeys:Oe}),Ee()}),{loadingKeys:Object(l.a)(_e,Y)}})})},Q.onNodeMouseEnter=function(we,Ee){var Ae=Q.props.onMouseEnter;Ae&&Ae({event:we,node:Ee})},Q.onNodeMouseLeave=function(we,Ee){var Ae=Q.props.onMouseLeave;Ae&&Ae({event:we,node:Ee})},Q.onNodeContextMenu=function(we,Ee){var Ae=Q.props.onRightClick;Ae&&(we.preventDefault(),Ae({event:we,node:Ee}))},Q.onFocus=function(){var we=Q.props.onFocus;Q.setState({focused:!0}),we&&we.apply(void 0,arguments)},Q.onBlur=function(){var we=Q.props.onBlur;Q.setState({focused:!1}),Q.onActiveChange(null),we&&we.apply(void 0,arguments)},Q.getTreeNodeRequiredProps=function(){var we=Q.state,Ee=we.expandedKeys,Ae=we.selectedKeys,Pe=we.loadedKeys,Ge=we.loadingKeys,gt=we.checkedKeys,_e=we.halfCheckedKeys,Ce=we.dragOverNodeKey,lt=we.dropPosition,ce=we.keyEntities;return{expandedKeys:Ee||[],selectedKeys:Ae||[],loadedKeys:Pe||[],loadingKeys:Ge||[],checkedKeys:gt||[],halfCheckedKeys:_e||[],dragOverNodeKey:Ce,dropPosition:lt,keyEntities:ce}},Q.setExpandedKeys=function(we){var Ee=Q.state.treeData,Ae=Object(t.d)(Ee,we);Q.setUncontrolledState({expandedKeys:we,flattenNodes:Ae},!0)},Q.onNodeExpand=function(we,Ee){var Ae=Q.state.expandedKeys,Pe=Q.state.listChanging,Ge=Q.props,gt=Ge.onExpand,_e=Ge.loadData,Ce=Ee.key,lt=Ee.expanded;if(Pe)return;var ce=Ae.indexOf(Ce),Y=!lt;if(Object(r.a)(lt&&ce!==-1||!lt&&ce===-1,"Expand state not sync with index check"),Y?Ae=Object(l.a)(Ae,Ce):Ae=Object(l.b)(Ae,Ce),Q.setExpandedKeys(Ae),gt&&gt(Ae,{node:Ee,expanded:Y,nativeEvent:we.nativeEvent}),Y&&_e){var V=Q.onNodeLoad(Ee);V&&V.then(function(){var $=Object(t.d)(Q.state.treeData,Ae);Q.setUncontrolledState({flattenNodes:$})})}},Q.onListChangeStart=function(){Q.setUncontrolledState({listChanging:!0})},Q.onListChangeEnd=function(){setTimeout(function(){Q.setUncontrolledState({listChanging:!1})})},Q.onActiveChange=function(we){var Ee=Q.state.activeKey,Ae=Q.props.onActiveChange;if(Ee===we)return;Q.setState({activeKey:we}),we!==null&&Q.scrollTo({key:we}),Ae&&Ae(we)},Q.getActiveItem=function(){var we=Q.state,Ee=we.activeKey,Ae=we.flattenNodes;return Ee===null?null:Ae.find(function(Pe){var Ge=Pe.data.key;return Ge===Ee})||null},Q.offsetActiveKey=function(we){var Ee=Q.state,Ae=Ee.flattenNodes,Pe=Ee.activeKey,Ge=Ae.findIndex(function(Ce){var lt=Ce.data.key;return lt===Pe});Ge===-1&&we<0&&(Ge=Ae.length),Ge=(Ge+we+Ae.length)%Ae.length;var gt=Ae[Ge];if(gt){var _e=gt.data.key;Q.onActiveChange(_e)}else Q.onActiveChange(null)},Q.onKeyDown=function(we){var Ee=Q.state,Ae=Ee.activeKey,Pe=Ee.expandedKeys,Ge=Ee.checkedKeys,gt=Q.props,_e=gt.onKeyDown,Ce=gt.checkable,lt=gt.selectable;switch(we.which){case i.a.UP:{Q.offsetActiveKey(-1),we.preventDefault();break}case i.a.DOWN:{Q.offsetActiveKey(1),we.preventDefault();break}}var ce=Q.getActiveItem();if(ce&&ce.data){var Y=Q.getTreeNodeRequiredProps(),V=ce.data.isLeaf===!1||!!(ce.data.children||[]).length,$=Object(t.b)(Object(f.a)(Object(f.a)({},Object(t.f)(Ae,Y)),{},{data:ce.data,active:!0}));switch(we.which){case i.a.LEFT:{V&&Pe.includes(Ae)?Q.onNodeExpand({},$):ce.parent&&Q.onActiveChange(ce.parent.data.key),we.preventDefault();break}case i.a.RIGHT:{V&&!Pe.includes(Ae)?Q.onNodeExpand({},$):ce.children&&ce.children.length&&Q.onActiveChange(ce.children[0].data.key),we.preventDefault();break}case i.a.ENTER:case i.a.SPACE:{Ce&&!$.disabled&&$.checkable!==!1&&!$.disableCheckbox?Q.onNodeCheck({},$,!Ge.includes(Ae)):!Ce&&lt&&!$.disabled&&$.selectable!==!1&&Q.onNodeSelect({},$);break}}}_e&&_e(we)},Q.setUncontrolledState=function(we){var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(Q.destroyed)return;var Pe=!1,Ge=!0,gt={};Object.keys(we).forEach(function(_e){if(_e in Q.props){Ge=!1;return}Pe=!0,gt[_e]=we[_e]}),Pe&&(!Ee||Ge)&&Q.setState(Object(f.a)(Object(f.a)({},gt),Ae))},Q.scrollTo=function(we){Q.listRef.current.scrollTo(we)},Q}return Object(v.a)(ge,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var we,Ee=this.state,Ae=Ee.focused,Pe=Ee.flattenNodes,Ge=Ee.keyEntities,gt=Ee.dragging,_e=Ee.activeKey,Ce=this.props,lt=Ce.prefixCls,ce=Ce.className,Y=Ce.style,V=Ce.showLine,$=Ce.focusable,Te=Ce.tabIndex,ye=Te===void 0?0:Te,Fe=Ce.selectable,Oe=Ce.showIcon,se=Ce.icon,fe=Ce.switcherIcon,Le=Ce.draggable,Je=Ce.checkable,mt=Ce.checkStrictly,Ct=Ce.disabled,Ue=Ce.motion,Rt=Ce.loadData,Ke=Ce.filterTreeNode,wt=Ce.height,Ye=Ce.itemHeight,et=Ce.virtual,rt=Ce.titleRender,st=Object(l.f)(this.props);return a.createElement(n.a.Provider,{value:{prefixCls:lt,selectable:Fe,showIcon:Oe,icon:se,switcherIcon:fe,draggable:Le,checkable:Je,checkStrictly:mt,disabled:Ct,keyEntities:Ge,loadData:Rt,filterTreeNode:Ke,titleRender:rt,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}},a.createElement("div",{className:d()(lt,ce,(we={},Object(g.a)(we,"".concat(lt,"-show-line"),V),Object(g.a)(we,"".concat(lt,"-focused"),Ae),Object(g.a)(we,"".concat(lt,"-active-focused"),_e!==null),we))},a.createElement(j,Object.assign({ref:this.listRef,prefixCls:lt,style:Y,data:Pe,disabled:Ct,selectable:Fe,checkable:!!Je,motion:Ue,dragging:gt,height:wt,itemHeight:Ye,virtual:et,focusable:$,focused:Ae,tabIndex:ye,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd},this.getTreeNodeRequiredProps(),st))))}}],[{key:"getDerivedStateFromProps",value:function(we,Ee){var Ae=Ee.prevProps,Pe={prevProps:we};function Ge(se){return!Ae&&se in we||Ae&&Ae[se]!==we[se]}var gt;if(Ge("treeData")?gt=we.treeData:Ge("children")&&(Object(r.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),gt=Object(t.c)(we.children)),gt){Pe.treeData=gt;var _e=Object(t.a)(gt);Pe.keyEntities=Object(f.a)(Object(g.a)({},I,F),_e.keyEntities)}var Ce=Pe.keyEntities||Ee.keyEntities;if(Ge("expandedKeys")||Ae&&Ge("autoExpandParent"))Pe.expandedKeys=we.autoExpandParent||!Ae&&we.defaultExpandParent?Object(l.e)(we.expandedKeys,Ce):we.expandedKeys;else if(!Ae&&we.defaultExpandAll){var lt=Object(f.a)({},Ce);delete lt[I],Pe.expandedKeys=Object.keys(lt).map(function(se){return lt[se].key})}else!Ae&&we.defaultExpandedKeys&&(Pe.expandedKeys=we.autoExpandParent||we.defaultExpandParent?Object(l.e)(we.defaultExpandedKeys,Ce):we.defaultExpandedKeys);if(Pe.expandedKeys||delete Pe.expandedKeys,gt||Pe.expandedKeys){var ce=Object(t.d)(gt||Ee.treeData,Pe.expandedKeys||Ee.expandedKeys);Pe.flattenNodes=ce}if(we.selectable&&(Ge("selectedKeys")?Pe.selectedKeys=Object(l.d)(we.selectedKeys,we):!Ae&&we.defaultSelectedKeys&&(Pe.selectedKeys=Object(l.d)(we.defaultSelectedKeys,we))),we.checkable){var Y;if(Ge("checkedKeys")?Y=Object(l.j)(we.checkedKeys)||{}:!Ae&&we.defaultCheckedKeys?Y=Object(l.j)(we.defaultCheckedKeys)||{}:gt&&(Y=Object(l.j)(we.checkedKeys)||{checkedKeys:Ee.checkedKeys,halfCheckedKeys:Ee.halfCheckedKeys}),Y){var V=Y,$=V.checkedKeys,Te=$===void 0?[]:$,ye=V.halfCheckedKeys,Fe=ye===void 0?[]:ye;if(!we.checkStrictly){var Oe=Object(H.a)(Te,!0,Ce);Te=Oe.checkedKeys,Fe=Oe.halfCheckedKeys}Pe.checkedKeys=Te,Pe.halfCheckedKeys=Fe}}return Ge("loadedKeys")&&(Pe.loadedKeys=we.loadedKeys),Pe}}]),ge}(a.Component);W.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:[]},W.TreeNode=b.a;var X=W,z=_.b=X},fE02:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("/IIm"),m=e("vZ6x"),v=e("b9oc"),h=e("72pK"),c=e("Kagy"),a=e("IUWy");e("3TkU");var i=c.toolbox.dataZoom,r=f.each,o="\0_ec_\0toolbox-dataZoom_";function d(w,b,E){(this._brushController=new y(E.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(i.title)};var n=d.prototype;n.render=function(w,b,E,A){this.model=w,this.ecModel=b,this.api=E,u(w,b,this,A,E),s(w,b)},n.onclick=function(w,b,E){l[E].call(this)},n.remove=function(w,b){this._brushController.unmount()},n.dispose=function(w,b){this._brushController.dispose()};var l={zoom:function(){var w=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:w})},back:function(){this._dispatchZoomAction(v.pop(this.ecModel))}};n._onBrush=function(w,b){if(!b.isEnd||!w.length)return;var E={},A=this.ecModel;this._brushController.updateCovers([]);var S=new m(t(this.model.option),A,{include:["grid"]});S.matchOutputRanges(w,A,function(x,C,I){if(I.type!=="cartesian2d")return;var N=x.brushType;N==="rect"?(T("x",I,C[0]),T("y",I,C[1])):T({lineX:"x",lineY:"y"}[N],I,C)}),v.push(A,E),this._dispatchZoomAction(E);function T(x,C,I){var N=C.getAxis(x),F=N.model,k=L(x,F,A),B=k.findRepresentativeAxisProxy(F).getMinMaxSpan();(B.minValueSpan!=null||B.maxValueSpan!=null)&&(I=h(0,I.slice(),N.scale.getExtent(),0,B.minValueSpan,B.maxValueSpan)),k&&(E[k.id]={dataZoomId:k.id,startValue:I[0],endValue:I[1]})}function L(x,C,I){var N;return I.eachComponent({mainType:"dataZoom",subType:"select"},function(F){var k=F.getAxisModel(x,C.componentIndex);k&&(N=F)}),N}},n._dispatchZoomAction=function(w){var b=[];r(w,function(E,A){b.push(f.clone(E))}),b.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:b})};function t(w){var b={};return f.each(["xAxisIndex","yAxisIndex"],function(E){b[E]=w[E],b[E]==null&&(b[E]="all"),(b[E]===!1||b[E]==="none")&&(b[E]=[])}),b}function s(w,b){w.setIconStatus("back",v.count(b)>1?"emphasis":"normal")}function u(w,b,E,A,S){var T=E._isZoomActive;A&&A.type==="takeGlobalCursor"&&(T=A.key==="dataZoomSelect"?A.dataZoomSelectActive:!1),E._isZoomActive=T,w.setIconStatus("zoom",T?"emphasis":"normal");var L=new m(t(w.option),b,{include:["grid"]});E._brushController.setPanels(L.makePanelOpts(S,function(x){return x.xAxisDeclared&&!x.yAxisDeclared?"lineX":!x.xAxisDeclared&&x.yAxisDeclared?"lineY":"rect"})).enableBrush(T?{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}}:!1)}a.register("dataZoom",d),g.registerPreprocessor(function(w){if(!w)return;var b=w.dataZoom||(w.dataZoom=[]);f.isArray(b)||(w.dataZoom=b=[b]);var E=w.toolbox;if(E&&(f.isArray(E)&&(E=E[0]),E&&E.feature)){var A=E.feature.dataZoom;S("xAxis",A),S("yAxis",A)}function S(L,x){if(!x)return;var C=L+"Index",I=x[C];I!=null&&I!=="all"&&!f.isArray(I)&&(I=I===!1||I==="none"?[]:[I]),T(L,function(N,F){if(I!=null&&I!=="all"&&f.indexOf(I,F)===-1)return;var k={type:"select",$fromToolbox:!0,filterMode:x.filterMode||"filter",id:o+L+F};k[C]=F,b.push(k)})}function T(L,x){var C=w[L];f.isArray(C)||(C=C?[C]:[]),r(C,x)}});var p=d;D.exports=p},fGT3:function(D,_,e){var g=e("4kuk"),f=e("Xi7e"),y=e("ebwN");function m(){this.size=0,this.__data__={hash:new g,map:new(y||f),string:new g}}D.exports=m},fNCr:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("tSko"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},"fR/l":function(D,_,e){var g=e("CH3K"),f=e("Z0cm");function y(m,v,h){var c=v(m);return f(m)?c:g(c,h(m))}D.exports=y},fUL4:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("r+aA"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},fW2E:function(D,_){var e={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function g(f,y,m){return e.hasOwnProperty(y)?m*=f.dpr:m}D.exports=g},"fc+c":function(D,_,e){var g=e("sS/r"),f=g.extend({type:"dataZoom",render:function(y,m,v,h){this.dataZoomModel=y,this.ecModel=m,this.api=v},getTargetCoordInfo:function(){var y=this.dataZoomModel,m=this.ecModel,v={};y.eachTargetAxis(function(c,a){var i=m.getComponent(c.axis,a);if(i){var r=i.getCoordSysModel();r&&h(r,i,v[r.mainType]||(v[r.mainType]=[]),r.componentIndex)}},this);function h(c,a,i,r){for(var o,d=0;d<i.length;d++)if(i[d].model===c){o=i[d];break}o||i.push(o={model:c,axisModels:[],coordIndex:r}),o.axisModels.push(a)}return v}});D.exports=f},fjKi:function(D,_,e){var g=e("ProS");e("Q7if"),e("jndi"),g.registerPreprocessor(function(f){f.markArea=f.markArea||{}})},fls0:function(D,_,e){var g=e("bYtY"),f=e("QBsz"),y=e("oVpE"),m=e("f5HG"),v=e("IwbS"),h=e("OELB"),c=h.round,a=["fromSymbol","toSymbol"];function i(u){return"_"+u+"Type"}function r(u,p,w){var b=p.getItemVisual(w,"color"),E=p.getItemVisual(w,u),A=p.getItemVisual(w,u+"Size");if(!E||E==="none")return;g.isArray(A)||(A=[A,A]);var S=y.createSymbol(E,-A[0]/2,-A[1]/2,A[0],A[1],b);return S.name=u,S}function o(u){var p=new m({name:"line",subPixelOptimize:!0});return d(p.shape,u),p}function d(u,p){u.x1=p[0][0],u.y1=p[0][1],u.x2=p[1][0],u.y2=p[1][1],u.percent=1;var w=p[2];w?(u.cpx1=w[0],u.cpy1=w[1]):(u.cpx1=NaN,u.cpy1=NaN)}function n(){var u=this,p=u.childOfName("fromSymbol"),w=u.childOfName("toSymbol"),b=u.childOfName("label");if(!p&&!w&&b.ignore)return;for(var E=1,A=this.parent;A;)A.scale&&(E/=A.scale[0]),A=A.parent;var S=u.childOfName("line");if(!this.__dirty&&!S.__dirty)return;var T=S.shape.percent,L=S.pointAt(0),x=S.pointAt(T),C=f.sub([],x,L);if(f.normalize(C,C),p){p.attr("position",L);var I=S.tangentAt(0);p.attr("rotation",Math.PI/2-Math.atan2(I[1],I[0])),p.attr("scale",[E*T,E*T])}if(w){w.attr("position",x);var I=S.tangentAt(1);w.attr("rotation",-Math.PI/2-Math.atan2(I[1],I[0])),w.attr("scale",[E*T,E*T])}if(!b.ignore){b.attr("position",x);var N,F,k,B,P=b.__labelDistance,K=P[0]*E,R=P[1]*E,U=T/2,I=S.tangentAt(U),j=[I[1],-I[0]],H=S.pointAt(U);j[1]>0&&(j[0]=-j[0],j[1]=-j[1]);var W=I[0]<0?-1:1;if(b.__position!=="start"&&b.__position!=="end"){var X=-Math.atan2(I[1],I[0]);x[0]<L[0]&&(X=Math.PI+X),b.attr("rotation",X)}var z;switch(b.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":z=-R,k="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":z=R,k="top";break;default:z=0,k="middle"}switch(b.__position){case"end":N=[C[0]*K+x[0],C[1]*R+x[1]],F=C[0]>.8?"left":C[0]<-.8?"right":"center",k=C[1]>.8?"top":C[1]<-.8?"bottom":"middle";break;case"start":N=[-C[0]*K+L[0],-C[1]*R+L[1]],F=C[0]>.8?"right":C[0]<-.8?"left":"center",k=C[1]>.8?"bottom":C[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":N=[K*W+L[0],L[1]+z],F=I[0]<0?"right":"left",B=[-K*W,-z];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":N=[H[0],H[1]+z],F="center",B=[0,-z];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":N=[-K*W+x[0],x[1]+z],F=I[0]>=0?"right":"left",B=[K*W,-z];break}b.attr({style:{textVerticalAlign:b.__verticalAlign||k,textAlign:b.__textAlign||F},position:N,scale:[E,E],origin:B})}}function l(u,p,w){v.Group.call(this),this._createLine(u,p,w)}var t=l.prototype;t.beforeUpdate=n,t._createLine=function(u,p,w){var b=u.hostModel,E=u.getItemLayout(p),A=o(E);A.shape.percent=0,v.initProps(A,{shape:{percent:1}},b,p),this.add(A);var S=new v.Text({name:"label",lineLabelOriginalOpacity:1});this.add(S),g.each(a,function(T){var L=r(T,u,p);this.add(L),this[i(T)]=u.getItemVisual(p,T)},this),this._updateCommonStl(u,p,w)},t.updateData=function(u,p,w){var b=u.hostModel,E=this.childOfName("line"),A=u.getItemLayout(p),S={shape:{}};d(S.shape,A),v.updateProps(E,S,b,p),g.each(a,function(T){var L=u.getItemVisual(p,T),x=i(T);if(this[x]!==L){this.remove(this.childOfName(T));var C=r(T,u,p);this.add(C)}this[x]=L},this),this._updateCommonStl(u,p,w)},t._updateCommonStl=function(u,p,w){var b=u.hostModel,E=this.childOfName("line"),A=w&&w.lineStyle,S=w&&w.hoverLineStyle,T=w&&w.labelModel,L=w&&w.hoverLabelModel;if(!w||u.hasItemOption){var x=u.getItemModel(p);A=x.getModel("lineStyle").getLineStyle(),S=x.getModel("emphasis.lineStyle").getLineStyle(),T=x.getModel("label"),L=x.getModel("emphasis.label")}var C=u.getItemVisual(p,"color"),I=g.retrieve3(u.getItemVisual(p,"opacity"),A.opacity,1);E.useStyle(g.defaults({strokeNoScale:!0,fill:"none",stroke:C,opacity:I},A)),E.hoverStyle=S,g.each(a,function(W){var X=this.childOfName(W);X&&(X.setColor(C),X.setStyle({opacity:I}))},this);var N=T.getShallow("show"),F=L.getShallow("show"),k=this.childOfName("label"),B,P;if((N||F)&&(B=C||"#000",P=b.getFormattedLabel(p,"normal",u.dataType),P==null)){var K=b.getRawValue(p);P=K==null?u.getName(p):isFinite(K)?c(K):K}var R=N?P:null,U=F?g.retrieve2(b.getFormattedLabel(p,"emphasis",u.dataType),P):null,j=k.style;if(R!=null||U!=null){v.setTextStyle(k.style,T,{text:R},{autoColor:B}),k.__textAlign=j.textAlign,k.__verticalAlign=j.textVerticalAlign,k.__position=T.get("position")||"middle";var H=T.get("distance");g.isArray(H)||(H=[H,H]),k.__labelDistance=H}U!=null?k.hoverStyle={text:U,textFill:L.getTextColor(!0),fontStyle:L.getShallow("fontStyle"),fontWeight:L.getShallow("fontWeight"),fontSize:L.getShallow("fontSize"),fontFamily:L.getShallow("fontFamily")}:k.hoverStyle={text:null},k.ignore=!N&&!F,v.setHoverStyle(this)},t.highlight=function(){this.trigger("emphasis")},t.downplay=function(){this.trigger("normal")},t.updateLayout=function(u,p){this.setLinePoints(u.getItemLayout(p))},t.setLinePoints=function(u){var p=this.childOfName("line");d(p.shape,u),p.dirty()},g.inherits(l,v.Group);var s=l;D.exports=s},fmMI:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=y.each,v=y.filter,h=y.map,c=y.isArray,a=y.indexOf,i=y.isObject,r=y.isString,o=y.createHashMap,d=y.assert,n=y.clone,l=y.merge,t=y.extend,s=y.mixin,u=e("4NO4"),p=e("Qxkt"),w=e("bLfw"),b=e("iXHM"),E=e("5Hur"),A=e("D5nY"),S=A.resetSourceDefaulter,T="\0_ec_inner",L=p.extend({init:function(R,U,j,H){j=j||{},this.option=null,this._theme=new p(j),this._optionManager=H},setOption:function(R,U){d(!(T in R),"please use chart.getOption()"),this._optionManager.setOption(R,U),this.resetOption(null)},resetOption:function(R){var U=!1,j=this._optionManager;if(!R||R==="recreate"){var H=j.mountOption(R==="recreate");!this.option||R==="recreate"?I.call(this,H):(this.restoreData(),this.mergeOption(H)),U=!0}if((R==="timeline"||R==="media")&&this.restoreData(),!R||R==="recreate"||R==="timeline"){var W=j.getTimelineOption(this);W&&(this.mergeOption(W),U=!0)}if(!R||R==="recreate"||R==="media"){var X=j.getMediaOption(this,this._api);X.length&&m(X,function(z){this.mergeOption(z,U=!0)},this)}return U},mergeOption:function(R){var U=this.option,j=this._componentsMap,H=[];S(this),m(R,function(X,z){if(X==null)return;w.hasClass(z)?z&&H.push(z):U[z]=U[z]==null?n(X):l(U[z],X,!0)}),w.topologicalTravel(H,w.getAllClassMainTypes(),W,this);function W(X,z){var G=u.normalizeToArray(R[X]),Z=u.mappingToExists(j.get(X),G);u.makeIdAndName(Z),m(Z,function(Q,we){var Ee=Q.option;i(Ee)&&(Q.keyInfo.mainType=X,Q.keyInfo.subType=F(X,Ee,Q.exist))});var ge=N(j,z);U[X]=[],j.set(X,[]),m(Z,function(Q,we){var Ee=Q.exist,Ae=Q.option;if(d(i(Ae)||Ee,"Empty component definition"),!Ae)Ee.mergeOption({},this),Ee.optionUpdated({},!1);else{var Pe=w.getClass(X,Q.keyInfo.subType,!0);if(Ee&&Ee.constructor===Pe)Ee.name=Q.keyInfo.name,Ee.mergeOption(Ae,this),Ee.optionUpdated(Ae,!1);else{var Ge=t({dependentModels:ge,componentIndex:we},Q.keyInfo);Ee=new Pe(Ae,this,this,Ge),t(Ee,Ge),Ee.init(Ae,this,this,Ge),Ee.optionUpdated(null,!0)}}j.get(X)[we]=Ee,U[X][we]=Ee.option},this),X==="series"&&k(this,j.get("series"))}this._seriesIndicesMap=o(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var R=n(this.option);return m(R,function(U,j){if(w.hasClass(j)){for(var U=u.normalizeToArray(U),H=U.length-1;H>=0;H--)u.isIdInner(U[H])&&U.splice(H,1);R[j]=U}}),delete R[T],R},getTheme:function(){return this._theme},getComponent:function(R,U){var j=this._componentsMap.get(R);if(j)return j[U||0]},queryComponents:function(R){var U=R.mainType;if(!U)return[];var j=R.index,H=R.id,W=R.name,X=this._componentsMap.get(U);if(!X||!X.length)return[];var z;if(j!=null)c(j)||(j=[j]),z=v(h(j,function(ge){return X[ge]}),function(ge){return!!ge});else if(H!=null){var G=c(H);z=v(X,function(ge){return G&&a(H,ge.id)>=0||!G&&ge.id===H})}else if(W!=null){var Z=c(W);z=v(X,function(ge){return Z&&a(W,ge.name)>=0||!Z&&ge.name===W})}else z=X.slice();return B(z,R)},findComponents:function(R){var U=R.query,j=R.mainType,H=X(U),W=H?this.queryComponents(H):this._componentsMap.get(j);return z(B(W,R));function X(G){var Z=j+"Index",ge=j+"Id",Q=j+"Name";return G&&(G[Z]!=null||G[ge]!=null||G[Q]!=null)?{mainType:j,index:G[Z],id:G[ge],name:G[Q]}:null}function z(G){return R.filter?v(G,R.filter):G}},eachComponent:function(R,U,j){var H=this._componentsMap;if(typeof R=="function")j=U,U=R,H.each(function(X,z){m(X,function(G,Z){U.call(j,z,G,Z)})});else if(r(R))m(H.get(R),U,j);else if(i(R)){var W=this.findComponents(R);m(W,U,j)}},getSeriesByName:function(R){var U=this._componentsMap.get("series");return v(U,function(j){return j.name===R})},getSeriesByIndex:function(R){return this._componentsMap.get("series")[R]},getSeriesByType:function(R){var U=this._componentsMap.get("series");return v(U,function(j){return j.subType===R})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(R,U){P(this),m(this._seriesIndices,function(j){var H=this._componentsMap.get("series")[j];R.call(U,H,j)},this)},eachRawSeries:function(R,U){m(this._componentsMap.get("series"),R,U)},eachSeriesByType:function(R,U,j){P(this),m(this._seriesIndices,function(H){var W=this._componentsMap.get("series")[H];W.subType===R&&U.call(j,W,H)},this)},eachRawSeriesByType:function(R,U,j){return m(this.getSeriesByType(R),U,j)},isSeriesFiltered:function(R){return P(this),this._seriesIndicesMap.get(R.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(R,U){P(this);var j=v(this._componentsMap.get("series"),R,U);k(this,j)},restoreData:function(R){var U=this._componentsMap;k(this,U.get("series"));var j=[];U.each(function(H,W){j.push(W)}),w.topologicalTravel(j,w.getAllClassMainTypes(),function(H,W){m(U.get(H),function(X){(H!=="series"||!x(X,R))&&X.restoreData()})})}});function x(R,U){if(U){var j=U.seiresIndex,H=U.seriesId,W=U.seriesName;return j!=null&&R.componentIndex!==j||H!=null&&R.id!==H||W!=null&&R.name!==W}}function C(R,U){var j=R.color&&!R.colorLayer;m(U,function(H,W){if(W==="colorLayer"&&j)return;w.hasClass(W)||(typeof H=="object"?R[W]=R[W]?l(R[W],H,!1):n(H):R[W]==null&&(R[W]=H))})}function I(R){R=R,this.option={},this.option[T]=1,this._componentsMap=o({series:[]}),this._seriesIndices,this._seriesIndicesMap,C(R,this._theme.option),l(R,b,!1),this.mergeOption(R)}function N(R,U){c(U)||(U=U?[U]:[]);var j={};return m(U,function(H){j[H]=(R.get(H)||[]).slice()}),j}function F(R,U,j){var H=U.type?U.type:j?j.subType:w.determineSubType(R,U);return H}function k(R,U){R._seriesIndicesMap=o(R._seriesIndices=h(U,function(j){return j.componentIndex})||[])}function B(R,U){return U.hasOwnProperty("subType")?v(R,function(j){return j.subType===U.subType}):R}function P(R){}s(L,E);var K=L;D.exports=K},fmRc:function(D,_,e){var g=e("Xi7e"),f=e("77Zs"),y=e("L8xA"),m=e("gCq4"),v=e("VaNO"),h=e("0Cz8");function c(a){var i=this.__data__=new g(a);this.size=i.size}c.prototype.clear=f,c.prototype.delete=y,c.prototype.get=m,c.prototype.has=v,c.prototype.set=h,D.exports=c},ftKO:function(D,_){var e="__lodash_hash_undefined__";function g(f){return this.__data__.set(f,e),this}D.exports=g},fyUT:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("q1tI"),h=e.n(v),c=e("TSYQ"),a=e.n(c),i=e("Ff2n"),r=e("rePB"),o=e("1OyB"),d=e("vuIU"),n=e("Ji7U"),l=e("md7G"),t=e("foSv"),s=e("4IlW");function u(z,G){var Z=Object.keys(z);if(Object.getOwnPropertySymbols){var ge=Object.getOwnPropertySymbols(z);G&&(ge=ge.filter(function(Q){return Object.getOwnPropertyDescriptor(z,Q).enumerable})),Z.push.apply(Z,ge)}return Z}function p(z){for(var G=1;G<arguments.length;G++){var Z=arguments[G]!=null?arguments[G]:{};G%2?u(Object(Z),!0).forEach(function(ge){Object(r.a)(z,ge,Z[ge])}):Object.getOwnPropertyDescriptors?Object.defineProperties(z,Object.getOwnPropertyDescriptors(Z)):u(Object(Z)).forEach(function(ge){Object.defineProperty(z,ge,Object.getOwnPropertyDescriptor(Z,ge))})}return z}function w(z){var G=b();return function(){var ge=Object(t.a)(z),Q;if(G){var we=Object(t.a)(this).constructor;Q=Reflect.construct(ge,arguments,we)}else Q=ge.apply(this,arguments);return Object(l.a)(this,Q)}}function b(){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(z){return!1}}function E(){}function A(z){z.preventDefault()}var S=function(G){return G.replace(/[^\w.-]+/g,"")},T=200,L=600,x=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,C=function(G){return G!=null},I=function(G,Z){return Z===G||typeof Z=="number"&&typeof G=="number"&&isNaN(Z)&&isNaN(G)},N=function(z){Object(n.a)(Z,z);var G=w(Z);function Z(ge){var Q;Object(o.a)(this,Z),Q=G.call(this,ge),Q.onKeyDown=function(Ae){var Pe=Q.props,Ge=Pe.onKeyDown,gt=Pe.onPressEnter;if(Ae.keyCode===s.a.UP){var _e=Q.getRatio(Ae);Q.up(Ae,_e,null),Q.stop()}else if(Ae.keyCode===s.a.DOWN){var Ce=Q.getRatio(Ae);Q.down(Ae,Ce,null),Q.stop()}else Ae.keyCode===s.a.ENTER&&gt&&gt(Ae);if(Q.recordCursorPosition(),Q.lastKeyCode=Ae.keyCode,Ge){for(var lt=arguments.length,ce=new Array(lt>1?lt-1:0),Y=1;Y<lt;Y++)ce[Y-1]=arguments[Y];Ge.apply(void 0,[Ae].concat(ce))}},Q.onKeyUp=function(Ae){var Pe=Q.props.onKeyUp;if(Q.stop(),Q.recordCursorPosition(),Pe){for(var Ge=arguments.length,gt=new Array(Ge>1?Ge-1:0),_e=1;_e<Ge;_e++)gt[_e-1]=arguments[_e];Pe.apply(void 0,[Ae].concat(gt))}},Q.onChange=function(Ae){var Pe=Q.props.onChange;Q.state.focused&&(Q.inputting=!0),Q.rawInput=Q.props.parser(Q.getValueFromEvent(Ae)),Q.setState({inputValue:Q.rawInput}),Pe(Q.toNumber(Q.rawInput))},Q.onMouseUp=function(){var Ae=Q.props.onMouseUp;Q.recordCursorPosition(),Ae&&Ae.apply(void 0,arguments)},Q.onFocus=function(){var Ae;Q.setState({focused:!0}),(Ae=Q.props).onFocus.apply(Ae,arguments)},Q.onBlur=function(){var Ae=Q.props.onBlur;Q.inputting=!1,Q.setState({focused:!1});var Pe=Q.getCurrentValidValue(Q.state.inputValue),Ge=Q.setValue(Pe,E);if(Ae){var gt=Q.input.value,_e=Q.getInputDisplayValue({focus:!1,value:Ge});Q.input.value=_e&&Number(_e),Ae.apply(void 0,arguments),Q.input.value=gt}},Q.getRatio=function(Ae){var Pe=1;return Ae.metaKey||Ae.ctrlKey?Pe=.1:Ae.shiftKey&&(Pe=10),Pe},Q.getFullNum=function(Ae){return isNaN(Ae)?Ae:/e/i.test(String(Ae))?Number(Ae).toFixed(18).replace(/\.?0+$/,""):Ae},Q.getPrecision=function(Ae){if(C(Q.props.precision))return Q.props.precision;var Pe=String(Ae);if(Pe.indexOf("e-")>=0)return parseInt(Pe.slice(Pe.indexOf("e-")+2),10);var Ge=0;return Pe.indexOf(".")>=0&&(Ge=Pe.length-Pe.indexOf(".")-1),Ge},Q.getInputDisplayValue=function(Ae){var Pe=Ae||Q.state,Ge=Pe.focused,gt=Pe.inputValue,_e=Pe.value,Ce;Ge?Ce=gt:Ce=Q.toPrecisionAsStep(_e),Ce==null&&(Ce="");var lt=Q.formatWrapper(Ce);return C(Q.props.decimalSeparator)&&(lt=lt.toString().replace(".",Q.props.decimalSeparator)),lt},Q.recordCursorPosition=function(){try{Q.cursorStart=Q.input.selectionStart,Q.cursorEnd=Q.input.selectionEnd,Q.currentValue=Q.input.value,Q.cursorBefore=Q.input.value.substring(0,Q.cursorStart),Q.cursorAfter=Q.input.value.substring(Q.cursorEnd)}catch(Ae){}},Q.restoreByAfter=function(Ae){if(Ae===void 0)return!1;var Pe=Q.input.value,Ge=Pe.lastIndexOf(Ae);if(Ge===-1)return!1;var gt=Q.cursorBefore.length;return Q.lastKeyCode===s.a.DELETE&&Q.cursorBefore.charAt(gt-1)===Ae[0]?(Q.fixCaret(gt,gt),!0):Ge+Ae.length===Pe.length?(Q.fixCaret(Ge,Ge),!0):!1},Q.partRestoreByAfter=function(Ae){return Ae===void 0?!1:Array.prototype.some.call(Ae,function(Pe,Ge){var gt=Ae.substring(Ge);return Q.restoreByAfter(gt)})},Q.isNotCompleteNumber=function(Ae){return isNaN(Ae)||Ae===""||Ae===null||Ae&&Ae.toString().indexOf(".")===Ae.toString().length-1},Q.stop=function(){Q.autoStepTimer&&clearTimeout(Q.autoStepTimer)},Q.down=function(Ae,Pe,Ge){Q.pressingUpOrDown=!0,Q.step("down",Ae,Pe,Ge)},Q.up=function(Ae,Pe,Ge){Q.pressingUpOrDown=!0,Q.step("up",Ae,Pe,Ge)},Q.saveInput=function(Ae){Q.input=Ae};var we=ge.value;we===void 0&&(we=ge.defaultValue),Q.state={focused:ge.autoFocus};var Ee=Q.getValidValue(Q.toNumber(we));return Q.state=p(p({},Q.state),{},{inputValue:Q.toPrecisionAsStep(Ee),value:Ee}),Q}return Object(d.a)(Z,[{key:"componentDidMount",value:function(){this.componentDidUpdate(null)}},{key:"componentDidUpdate",value:function(Q){var we=this.props,Ee=we.value,Ae=we.onChange,Pe=we.max,Ge=we.min,gt=this.state.focused;if(Q){if(!I(Q.value,Ee)||!I(Q.max,Pe)||!I(Q.min,Ge)){var _e=gt?Ee:this.getValidValue(Ee),Ce;this.pressingUpOrDown?Ce=_e:this.inputting?Ce=this.rawInput:Ce=this.toPrecisionAsStep(_e),this.setState({value:_e,inputValue:Ce})}var lt="value"in this.props?Ee:this.state.value;"max"in this.props&&Q.max!==Pe&&typeof lt=="number"&&lt>Pe&&Ae&&Ae(Pe),"min"in this.props&&Q.min!==Ge&&typeof lt=="number"&&lt<Ge&&Ae&&Ae(Ge)}try{if(this.cursorStart!==void 0&&this.state.focused){if(!this.partRestoreByAfter(this.cursorAfter)&&this.state.value!==this.props.value){var ce=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===s.a.BACKSPACE?ce=this.cursorStart-1:this.lastKeyCode===s.a.DELETE&&(ce=this.cursorStart):ce=this.input.value.length,this.fixCaret(ce,ce)}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(Y){}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(Q){var we=Q;return we===""?we="":this.isNotCompleteNumber(parseFloat(we))?we=this.state.value:we=this.getValidValue(we),this.toNumber(we)}},{key:"getValueFromEvent",value:function(Q){var we=Q.target.value.trim().replace(/。/g,".");return C(this.props.decimalSeparator)&&(we=we.replace(this.props.decimalSeparator,".")),we}},{key:"getValidValue",value:function(Q){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.props.min,Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.props.max,Ae=parseFloat(Q);return isNaN(Ae)?Q:(Ae<we&&(Ae=we),Ae>Ee&&(Ae=Ee),Ae)}},{key:"setValue",value:function(Q,we){var Ee=this.props.precision,Ae=this.isNotCompleteNumber(parseFloat(Q))?null:parseFloat(Q),Pe=this.state.value,Ge=Pe===void 0?null:Pe,gt=this.state.inputValue,_e=gt===void 0?null:gt,Ce=typeof Ae=="number"?Ae.toFixed(Ee):"".concat(Ae),lt=Ae!==Ge||Ce!=="".concat(_e);return"value"in this.props?(_e=this.toPrecisionAsStep(this.state.value),this.setState({inputValue:_e},we)):this.setState({value:Ae,inputValue:this.toPrecisionAsStep(Q)},we),lt&&this.props.onChange(Ae),Ae}},{key:"getMaxPrecision",value:function(Q){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ee=this.props,Ae=Ee.precision,Pe=Ee.step;if(C(Ae))return Ae;var Ge=this.getPrecision(we),gt=this.getPrecision(Pe),_e=this.getPrecision(Q);return Q?Math.max(_e,Ge+gt):Ge+gt}},{key:"getPrecisionFactor",value:function(Q){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ee=this.getMaxPrecision(Q,we);return Math.pow(10,Ee)}},{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(Q){return this.props.formatter?this.props.formatter(Q):Q}},{key:"toPrecisionAsStep",value:function(Q){if(this.isNotCompleteNumber(Q)||Q==="")return Q;var we=Math.abs(this.getMaxPrecision(Q));return isNaN(we)?Q.toString():Number(Q).toFixed(we)}},{key:"toNumber",value:function(Q){var we=this.props.precision,Ee=this.state.focused,Ae=Q&&Q.length>16&&Ee;return this.isNotCompleteNumber(Q)||Ae?Q:C(we)?Math.round(Q*Math.pow(10,we))/Math.pow(10,we):Number(Q)}},{key:"upStep",value:function(Q,we){var Ee=this.props.step,Ae=this.getPrecisionFactor(Q,we),Pe=Math.abs(this.getMaxPrecision(Q,we)),Ge=((Ae*Q+Ae*Ee*we)/Ae).toFixed(Pe);return this.toNumber(Ge)}},{key:"downStep",value:function(Q,we){var Ee=this.props.step,Ae=this.getPrecisionFactor(Q,we),Pe=Math.abs(this.getMaxPrecision(Q,we)),Ge=((Ae*Q-Ae*Ee*we)/Ae).toFixed(Pe);return this.toNumber(Ge)}},{key:"step",value:function(Q,we){var Ee=this,Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Pe=arguments.length>3?arguments[3]:void 0;this.stop(),we&&(we.persist(),we.preventDefault());var Ge=this.props;if(Ge.disabled)return;var gt=this.getCurrentValidValue(this.state.inputValue)||0;if(this.isNotCompleteNumber(gt))return;var _e=this["".concat(Q,"Step")](gt,Ae),Ce=_e>Ge.max||_e<Ge.min;if(_e>Ge.max?_e=Ge.max:_e<Ge.min&&(_e=Ge.min),this.setValue(_e,null),this.setState({focused:!0},function(){Ee.pressingUpOrDown=!1}),Ce)return;this.autoStepTimer=setTimeout(function(){Ee[Q](we,Ae,!0)},Pe?T:L)}},{key:"fixCaret",value:function(Q,we){if(Q===void 0||we===void 0||!this.input||!this.input.value)return;try{var Ee=this.input.selectionStart,Ae=this.input.selectionEnd;(Q!==Ee||we!==Ae)&&this.input.setSelectionRange(Q,we)}catch(Pe){}}},{key:"render",value:function(){var Q,we=this.props,Ee=we.prefixCls,Ae=we.disabled,Pe=we.readOnly,Ge=we.useTouch,gt=we.autoComplete,_e=we.upHandler,Ce=we.downHandler,lt=we.className,ce=we.max,Y=we.min,V=we.style,$=we.title,Te=we.onMouseEnter,ye=we.onMouseLeave,Fe=we.onMouseOver,Oe=we.onMouseOut,se=we.required,fe=we.onClick,Le=we.tabIndex,Je=we.type,mt=we.placeholder,Ct=we.id,Ue=we.inputMode,Rt=we.pattern,Ke=we.step,wt=we.maxLength,Ye=we.autoFocus,et=we.name,rt=we.onPaste,st=Object(i.a)(we,["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,oe=Ve.value,re=Ve.focused,it=a()(Ee,(Q={},Object(r.a)(Q,lt,!!lt),Object(r.a)(Q,"".concat(Ee,"-disabled"),Ae),Object(r.a)(Q,"".concat(Ee,"-focused"),re),Q)),Qe={};Object.keys(st).forEach(function(pe){(pe.substr(0,5)==="data-"||pe.substr(0,5)==="aria-"||pe==="role")&&(Qe[pe]=st[pe])});var ve=!Pe&&!Ae,Zt=this.getInputDisplayValue(null),dt=(oe||oe===0)&&(isNaN(oe)||Number(oe)>=ce),ct=(oe||oe===0)&&(isNaN(oe)||Number(oe)<=Y),yt=dt||Ae||Pe,_t=ct||Ae||Pe,or=a()("".concat(Ee,"-handler"),"".concat(Ee,"-handler-up"),Object(r.a)({},"".concat(Ee,"-handler-up-disabled"),yt)),Pt=a()("".concat(Ee,"-handler"),"".concat(Ee,"-handler-down"),Object(r.a)({},"".concat(Ee,"-handler-down-disabled"),_t)),be=Ge?{onTouchStart:yt?E:this.up,onTouchEnd:this.stop}:{onMouseDown:yt?E:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},me=Ge?{onTouchStart:_t?E:this.down,onTouchEnd:this.stop}:{onMouseDown:_t?E:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return h.a.createElement("div",{className:it,style:V,title:$,onMouseEnter:Te,onMouseLeave:ye,onMouseOver:Fe,onMouseOut:Oe,onFocus:function(){return null},onBlur:function(){return null}},h.a.createElement("div",{className:"".concat(Ee,"-handler-wrap")},h.a.createElement("span",Object.assign({unselectable:"on"},be,{role:"button","aria-label":"Increase Value","aria-disabled":yt,className:or}),_e||h.a.createElement("span",{unselectable:"on",className:"".concat(Ee,"-handler-up-inner"),onClick:A})),h.a.createElement("span",Object.assign({unselectable:"on"},me,{role:"button","aria-label":"Decrease Value","aria-disabled":_t,className:Pt}),Ce||h.a.createElement("span",{unselectable:"on",className:"".concat(Ee,"-handler-down-inner"),onClick:A}))),h.a.createElement("div",{className:"".concat(Ee,"-input-wrap")},h.a.createElement("input",Object.assign({role:"spinbutton","aria-valuemin":Y,"aria-valuemax":ce,"aria-valuenow":oe,required:se,type:Je,placeholder:mt,onPaste:rt,onClick:fe,onMouseUp:this.onMouseUp,className:"".concat(Ee,"-input"),tabIndex:Le,autoComplete:gt,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:ve?this.onKeyDown:E,onKeyUp:ve?this.onKeyUp:E,autoFocus:Ye,maxLength:wt,readOnly:Pe,disabled:Ae,max:ce,min:Y,step:Ke,name:et,title:$,id:Ct,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(Zt),pattern:Rt,inputMode:Ue},Qe))))}}]),Z}(h.a.Component);N.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",max:x,min:-x,step:1,style:{},onChange:E,onKeyDown:E,onPressEnter:E,onFocus:E,onBlur:E,parser:S,required:!1,autoComplete:"off"};var F=N,k=F,B=e("FH2Y"),P=e.n(B),K=e("HQEm"),R=e.n(K),U=e("H84U"),j=e("3Nzz"),H=function(z,G){var Z={};for(var ge in z)Object.prototype.hasOwnProperty.call(z,ge)&&G.indexOf(ge)<0&&(Z[ge]=z[ge]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Q=0,ge=Object.getOwnPropertySymbols(z);Q<ge.length;Q++)G.indexOf(ge[Q])<0&&Object.prototype.propertyIsEnumerable.call(z,ge[Q])&&(Z[ge[Q]]=z[ge[Q]]);return Z},W=v.forwardRef(function(z,G){var Z=function(Q){var we=Q.getPrefixCls,Ee=Q.direction,Ae=z.className,Pe=z.size,Ge=z.prefixCls,gt=z.readOnly,_e=H(z,["className","size","prefixCls","readOnly"]),Ce=we("input-number",Ge),lt=v.createElement(P.a,{className:"".concat(Ce,"-handler-up-inner")}),ce=v.createElement(R.a,{className:"".concat(Ce,"-handler-down-inner")});return v.createElement(j.b.Consumer,null,function(Y){var V,$=Pe||Y,Te=a()((V={},m()(V,"".concat(Ce,"-lg"),$==="large"),m()(V,"".concat(Ce,"-sm"),$==="small"),m()(V,"".concat(Ce,"-rtl"),Ee==="rtl"),m()(V,"".concat(Ce,"-readonly"),gt),V),Ae);return v.createElement(k,f()({ref:G,className:Te,upHandler:lt,downHandler:ce,prefixCls:Ce,readOnly:gt},_e))})};return v.createElement(U.a,null,Z)});W.defaultProps={step:1};var X=_.a=W},g0SD:function(D,_,e){var g=e("bYtY"),f=e("9wZj"),y=e("OELB"),m=e("YXkt"),v=e("kj2x"),h=e("iPDy");function c(r,o,d){var n=o.coordinateSystem;r.each(function(l){var t=r.getItemModel(l),s,u=y.parsePercent(t.get("x"),d.getWidth()),p=y.parsePercent(t.get("y"),d.getHeight());if(!isNaN(u)&&!isNaN(p))s=[u,p];else if(o.getMarkerPosition)s=o.getMarkerPosition(r.getValues(r.dimensions,l));else if(n){var w=r.get(n.dimensions[0],l),b=r.get(n.dimensions[1],l);s=n.dataToPoint([w,b])}isNaN(u)||(s[0]=u),isNaN(p)||(s[1]=p),r.setItemLayout(l,s)})}var a=h.extend({type:"markPoint",updateTransform:function(r,o,d){o.eachSeries(function(n){var l=n.markPointModel;l&&(c(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(),u=this.markerGroupMap,p=u.get(t)||u.set(t,new f),w=i(l,r,o);o.setData(w),c(o.getData(),r,n),w.each(function(b){var E=w.getItemModel(b),A=E.getShallow("symbol"),S=E.getShallow("symbolSize"),T=g.isFunction(A),L=g.isFunction(S);if(T||L){var x=o.getRawValue(b),C=o.getDataParams(b);T&&(A=A(x,C)),L&&(S=S(x,C))}w.setItemVisual(b,{symbol:A,symbolSize:S,color:E.get("itemStyle.color")||s.getVisual("color")})}),p.updateData(w),this.group.add(p.group),w.eachItemGraphicEl(function(b){b.traverse(function(E){E.dataModel=o})}),p.__keep=!0,p.group.silent=o.get("silent")||r.get("silent")}});function i(r,o,d){var n;r?n=g.map(r&&r.dimensions,function(s){var u=o.getData().getDimensionInfo(o.getData().mapDimension(s))||{};return g.defaults({name:s},u)}):n=[{name:"value",type:"float"}];var l=new m(n,d),t=g.map(d.get("data"),g.curry(v.dataTransform,o));return r&&(t=g.filter(t,g.curry(v.dataFilter,r))),l.initData(t,null,r?v.dimValueGetter:function(s){return s.value}),l}D.exports=a},g7p0:function(D,_,e){var g=e("bYtY"),f=e("bLfw"),y=e("+TT/"),m=y.getLayoutParams,v=y.sizeCalculable,h=y.mergeLayoutParam,c=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);c.superApply(this,"init",arguments),a(r,l)},mergeOption:function(r,o){c.superApply(this,"mergeOption",arguments),a(this.option,r)}});function a(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 v(o,l)&&(d[l]="auto"),d[l]!=null&&d[l]!=="auto"});h(r,o,{type:"box",ignoreSize:n})}var i=c;D.exports=i},g9YV:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("pED+"),m=e.n(y),v=e("+L6B"),h=e("R9oj"),c=e("7Kak"),a=e("sRBo"),i=e("qVdP"),r=e("T2oS"),o=e("DjyN"),d=e("5Dmo")},gCq4:function(D,_){function e(g){return this.__data__.get(g)}D.exports=e},gIYZ:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.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"};_.default=g},gKaM:function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},gPAo:function(D,_){function e(m){return m}function g(m,v,h,c,a){this._old=m,this._new=v,this._oldKeyGetter=h||e,this._newKeyGetter=c||e,this.context=a}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,v=this._new,h={},c={},a=[],i=[],r;for(f(m,h,a,"_oldKeyGetter",this),f(v,c,i,"_newKeyGetter",this),r=0;r<m.length;r++){var o=a[r],d=c[o];if(d!=null){var n=d.length;n?(n===1&&(c[o]=null),d=d.shift()):c[o]=null,this._update&&this._update(d,r)}else this._remove&&this._remove(r)}for(var r=0;r<i.length;r++){var o=i[r];if(c.hasOwnProperty(o)){var d=c[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,v,h,c,a){for(var i=0;i<m.length;i++){var r="_ec_"+a[c](m[i],i),o=v[r];o==null?(h.push(r),v[r]=i):(o.length||(v[r]=o=[o]),o.push(i))}}var y=g;D.exports=y},gRFJ:function(D,_,e){D.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(D){return D<10?"0"+D:D}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(D){return rx_escapable.lastIndex=0,rx_escapable.test(D)?'"'+D.replace(rx_escapable,function(_){var e=meta[_];return typeof e=="string"?e:"\\u"+("0000"+_.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+D+'"'}function str(D,_){var e,g,f,y,m=gap,v,h=_[D];h&&typeof h=="object"&&typeof h.toJSON=="function"&&(h=h.toJSON(D)),typeof rep=="function"&&(h=rep.call(_,D,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,v=[],Object.prototype.toString.apply(h)==="[object Array]"){for(y=h.length,e=0;e<y;e+=1)v[e]=str(e,h)||"null";return f=v.length===0?"[]":gap?`[
`+gap+v.join(`,
`+gap)+`
`+m+"]":"["+v.join(",")+"]",gap=m,f}if(rep&&typeof rep=="object")for(y=rep.length,e=0;e<y;e+=1)typeof rep[e]=="string"&&(g=rep[e],f=str(g,h),f&&v.push(quote(g)+(gap?": ":":")+f));else for(g in h)Object.prototype.hasOwnProperty.call(h,g)&&(f=str(g,h),f&&v.push(quote(g)+(gap?": ":":")+f));return f=v.length===0?"{}":gap?`{
`+gap+v.join(`,
`+gap)+`
`+m+"}":"{"+v.join(",")+"}",gap=m,f}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(D,_,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=_,_&&typeof _!="function"&&(typeof _!="object"||typeof _.length!="number"))throw new Error("JSON.stringify");return str("",{"":D})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(D,_){var e,g,f=D[_];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(D,_,f)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(D){return"\\u"+("0000"+D.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(D,_,e){var g=e("+TT/"),f=e("bYtY"),y=e("4NO4"),m=y.groupData;function v(I,N,F){I.eachSeriesByType("sankey",function(k){var B=k.get("nodeWidth"),P=k.get("nodeGap"),K=h(k,N);k.layoutInfo=K;var R=K.width,U=K.height,j=k.getGraph(),H=j.nodes,W=j.edges;a(H);var X=f.filter(H,function(ge){return ge.getLayout().value===0}),z=X.length!==0?0:k.get("layoutIterations"),G=k.get("orient"),Z=k.get("nodeAlign");c(H,W,B,P,R,U,z,G,Z)})}function h(I,N){return g.getLayoutRect(I.getBoxLayoutParams(),{width:N.getWidth(),height:N.getHeight()})}function c(I,N,F,k,B,P,K,R,U){i(I,N,F,B,P,R,U),l(I,N,P,B,k,K,R),C(I,R)}function a(I){f.each(I,function(N){var F=L(N.outEdges,T),k=L(N.inEdges,T),B=N.getValue()||0,P=Math.max(F,k,B);N.setLayout({value:P},!0)})}function i(I,N,F,k,B,P,K){for(var R=[],U=[],j=[],H=[],W=0,X=0,z=0;z<N.length;z++)R[z]=1;for(z=0;z<I.length;z++)U[z]=I[z].inEdges.length,U[z]===0&&j.push(I[z]);for(var G=-1;j.length;){for(var Z=0;Z<j.length;Z++){var ge=j[Z],Q=ge.hostGraph.data.getRawDataItem(ge.dataIndex),we=Q.depth!=null&&Q.depth>=0;we&&Q.depth>G&&(G=Q.depth),ge.setLayout({depth:we?Q.depth:W},!0),P==="vertical"?ge.setLayout({dy:F},!0):ge.setLayout({dx:F},!0);for(var Ee=0;Ee<ge.outEdges.length;Ee++){var Ae=ge.outEdges[Ee],Pe=N.indexOf(Ae);R[Pe]=0;var Ge=Ae.node2,gt=I.indexOf(Ge);--U[gt]===0&&H.indexOf(Ge)<0&&H.push(Ge)}}++W,j=H,H=[]}for(z=0;z<R.length;z++)if(R[z]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var _e=G>W-1?G:W-1;K&&K!=="left"&&o(I,K,P,_e);var X=P==="vertical"?(B-F)/_e:(k-F)/_e;n(I,X,P)}function r(I){var N=I.hostGraph.data.getRawDataItem(I.dataIndex);return N.depth!=null&&N.depth>=0}function o(I,N,F,k){if(N==="right"){for(var B=[],P=I,K=0;P.length;){for(var R=0;R<P.length;R++){var U=P[R];U.setLayout({skNodeHeight:K},!0);for(var j=0;j<U.inEdges.length;j++){var H=U.inEdges[j];B.indexOf(H.node1)<0&&B.push(H.node1)}}P=B,B=[],++K}f.each(I,function(W){r(W)||W.setLayout({depth:Math.max(0,k-W.getLayout().skNodeHeight)},!0)})}else N==="justify"&&d(I,k)}function d(I,N){f.each(I,function(F){!r(F)&&!F.outEdges.length&&F.setLayout({depth:N},!0)})}function n(I,N,F){f.each(I,function(k){var B=k.getLayout().depth*N;F==="vertical"?k.setLayout({y:B},!0):k.setLayout({x:B},!0)})}function l(I,N,F,k,B,P,K){var R=t(I,K);s(R,N,F,k,B,K),u(R,B,F,k,K);for(var U=1;P>0;P--)U*=.99,p(R,U,K),u(R,B,F,k,K),x(R,U,K),u(R,B,F,k,K)}function t(I,N){var F=[],k=N==="vertical"?"y":"x",B=m(I,function(P){return P.getLayout()[k]});return B.keys.sort(function(P,K){return P-K}),f.each(B.keys,function(P){F.push(B.buckets.get(P))}),F}function s(I,N,F,k,B,P){var K=Infinity;f.each(I,function(R){var U=R.length,j=0;f.each(R,function(W){j+=W.getLayout().value});var H=P==="vertical"?(k-(U-1)*B)/j:(F-(U-1)*B)/j;H<K&&(K=H)}),f.each(I,function(R){f.each(R,function(U,j){var H=U.getLayout().value*K;P==="vertical"?(U.setLayout({x:j},!0),U.setLayout({dx:H},!0)):(U.setLayout({y:j},!0),U.setLayout({dy:H},!0))})}),f.each(N,function(R){var U=+R.getValue()*K;R.setLayout({dy:U},!0)})}function u(I,N,F,k,B){var P=B==="vertical"?"x":"y";f.each(I,function(K){K.sort(function(Z,ge){return Z.getLayout()[P]-ge.getLayout()[P]});for(var R,U,j,H=0,W=K.length,X=B==="vertical"?"dx":"dy",z=0;z<W;z++)U=K[z],j=H-U.getLayout()[P],j>0&&(R=U.getLayout()[P]+j,B==="vertical"?U.setLayout({x:R},!0):U.setLayout({y:R},!0)),H=U.getLayout()[P]+U.getLayout()[X]+N;var G=B==="vertical"?k:F;if(j=H-N-G,j>0)for(R=U.getLayout()[P]-j,B==="vertical"?U.setLayout({x:R},!0):U.setLayout({y:R},!0),H=R,z=W-2;z>=0;--z)U=K[z],j=U.getLayout()[P]+U.getLayout()[X]+N-H,j>0&&(R=U.getLayout()[P]-j,B==="vertical"?U.setLayout({x:R},!0):U.setLayout({y:R},!0)),H=U.getLayout()[P]})}function p(I,N,F){f.each(I.slice().reverse(),function(k){f.each(k,function(B){if(B.outEdges.length){var P=L(B.outEdges,w,F)/L(B.outEdges,T,F);if(isNaN(P)){var K=B.outEdges.length;P=K?L(B.outEdges,b,F)/K:0}if(F==="vertical"){var R=B.getLayout().x+(P-S(B,F))*N;B.setLayout({x:R},!0)}else{var U=B.getLayout().y+(P-S(B,F))*N;B.setLayout({y:U},!0)}}})})}function w(I,N){return S(I.node2,N)*I.getValue()}function b(I,N){return S(I.node2,N)}function E(I,N){return S(I.node1,N)*I.getValue()}function A(I,N){return S(I.node1,N)}function S(I,N){return N==="vertical"?I.getLayout().x+I.getLayout().dx/2:I.getLayout().y+I.getLayout().dy/2}function T(I){return I.getValue()}function L(I,N,F){for(var k=0,B=I.length,P=-1;++P<B;){var K=+N.call(I,I[P],F);isNaN(K)||(k+=K)}return k}function x(I,N,F){f.each(I,function(k){f.each(k,function(B){if(B.inEdges.length){var P=L(B.inEdges,E,F)/L(B.inEdges,T,F);if(isNaN(P)){var K=B.inEdges.length;P=K?L(B.inEdges,A,F)/K:0}if(F==="vertical"){var R=B.getLayout().x+(P-S(B,F))*N;B.setLayout({x:R},!0)}else{var U=B.getLayout().y+(P-S(B,F))*N;B.setLayout({y:U},!0)}}})})}function C(I,N){var F=N==="vertical"?"x":"y";f.each(I,function(k){k.outEdges.sort(function(B,P){return B.node2.getLayout()[F]-P.node2.getLayout()[F]}),k.inEdges.sort(function(B,P){return B.node1.getLayout()[F]-P.node1.getLayout()[F]})}),f.each(I,function(k){var B=0,P=0;f.each(k.outEdges,function(K){K.setLayout({sy:B},!0),B+=K.getLayout().dy}),f.each(k.inEdges,function(K){K.setLayout({ty:P},!0),P+=K.getLayout().dy})})}D.exports=v},"giR+":function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("QbM5"),m=e.n(y)},gut8:function(D,_){var e={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},g=9;_.ContextCachedBy=e,_.WILL_BE_RESTORED=g},gvm7:function(D,_,e){var g=e("bYtY"),f=e("dqUG");function y(v){this._zr=v.getZr(),this._show=!1,this._hideTimeout}y.prototype={constructor:y,_enterable:!0,update:function(){},show:function(v){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(v,h,c){this.el&&this._zr.remove(this.el);for(var a={},i=v,r="{marker",o="|}",d=i.indexOf(r);d>=0;){var n=i.indexOf(o),l=i.substr(d+r.length,n-d-r.length);l.indexOf("sub")>-1?a["marker"+l]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:h[l],textOffset:[3,0]}:a["marker"+l]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:h[l]},i=i.substr(n+1),d=i.indexOf("{marker")}this.el=new f({style:{rich:a,text:v,textLineHeight:20,textBackgroundColor:c.get("backgroundColor"),textBorderRadius:c.get("borderRadius"),textFill:c.get("textStyle.color"),textPadding:c.get("padding")},z:c.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(v){this._enterable=v},getSize:function(){var v=this.el.getBoundingRect();return[v.width,v.height]},moveTo:function(v,h){this.el&&this.el.attr("position",[v,h])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(v){this._show&&!(this._inContent&&this._enterable)&&(v?(this._hideDelay=v,this._show=!1,this._hideTimeout=setTimeout(g.bind(this.hide,this),v)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var v=this.getSize();return{width:v[0],height:v[1]}}};var m=y;D.exports=m},gwTy:function(D,_,e){},h54F:function(D,_,e){var g=e("ProS"),f=e("YXkt"),y=e("bYtY"),m=e("4NO4"),v=m.defaultEmphasis,h=e("Qxkt"),c=e("7aKB"),a=c.encodeHTML,i=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),v(n,["edgeLabel"],["show"])},getInitialData:function(n,l){var t=n.edges||n.links||[],s=n.data||n.nodes||[],u=this;if(s&&t)return i(s,t,this,!0,p).data;function p(w,b){w.wrapMethod("getItemModel",function(x){var C=u._categoriesModels,I=x.getShallow("category"),N=C[I];return N&&(N.parentModel=x.parentModel,x.parentModel=N),x});var E=u.getModel("edgeLabel"),A=new h({label:E.option},E.parentModel,l),S=u.getModel("emphasis.edgeLabel"),T=new h({emphasis:{label:S.option}},S.parentModel,l);b.wrapMethod("getItemModel",function(x){return x.customizeGetParent(L),x});function L(x){return x=this.parsePath(x),x&&x[0]==="label"?A:x&&x[0]==="emphasis"&&x[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(),u=this.getDataParams(n,t),p=s.graph.getEdgeByIndex(n),w=s.getName(p.node1.dataIndex),b=s.getName(p.node2.dataIndex),E=[];return w!=null&&E.push(w),b!=null&&E.push(b),E=a(E.join(" > ")),u.value&&(E+=" : "+a(u.value)),E}else return o.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var n=y.map(this.option.categories||[],function(t){return t.value!=null?t:y.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;D.exports=d},h7HQ:function(D,_,e){var g=e("y+Vt"),f=e("T6xi"),y=g.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(v,h){f.buildPath(v,h,!0)}});D.exports=y},h8O9:function(D,_,e){var g=e("bYtY"),f=g.map,y=e("zM3Q"),m=e("7hqr"),v=m.isDimensionStacked;function h(c){return{seriesType:c,plan:y(),reset:function(a){var i=a.getData(),r=a.coordinateSystem,o=a.pipelineContext,d=o.large;if(!r)return;var n=f(r.dimensions,function(u){return i.mapDimension(u)}).slice(0,2),l=n.length,t=i.getCalculationInfo("stackResultDimension");v(i,n[0])&&(n[0]=t),v(i,n[1])&&(n[1]=t);function s(u,p){for(var w=u.end-u.start,b=d&&new Float32Array(w*l),E=u.start,A=0,S=[],T=[];E<u.end;E++){var L;if(l===1){var x=p.get(n[0],E);L=!isNaN(x)&&r.dataToPoint(x,null,T)}else{var x=S[0]=p.get(n[0],E),C=S[1]=p.get(n[1],E);L=!isNaN(x)&&!isNaN(C)&&r.dataToPoint(S,null,T)}d?(b[A++]=L?L[0]:NaN,b[A++]=L?L[1]:NaN):p.setItemLayout(E,L&&L.slice()||[NaN,NaN])}d&&p.setLayout("symbolPoints",b)}return l&&{progress:s}}}}D.exports=h},hD7B:function(D,_,e){var g=e("bYtY"),f=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function y(v){g.each(f,function(h){this[h]=g.bind(v[h],v)},this)}var m=y;D.exports=m},hFmY:function(D,_,e){var g=e("ProS"),f={type:"axisAreaSelect",event:"axisAreaSelected"};g.registerAction(f,function(y,m){m.eachComponent({mainType:"parallelAxis",query:y},function(v){v.axis.model.setActiveIntervals(y.intervals)})}),g.registerAction("parallelAxisExpand",function(y,m){m.eachComponent({mainType:"parallel",query:y},function(v){v.setAxisExpand(y)})})},hJvP:function(D,_,e){var g=e("2dDv"),f=e("IDmD");function y(m,v){var h=[];return m.eachComponent("parallel",function(c,a){var i=new g(c,m,v);i.name="parallel_"+a,i.resize(c,v),c.coordinateSystem=i,i.model=c,h.push(i)}),m.eachSeries(function(c){if(c.get("coordinateSystem")==="parallel"){var a=m.queryComponents({mainType:"parallel",index:c.get("parallelIndex"),id:c.get("parallelId")})[0];c.coordinateSystem=a.coordinateSystem}}),h}f.register("parallel",{create:y})},hM6l:function(D,_,e){var g=e("bYtY"),f=g.each,y=g.map,m=e("OELB"),v=m.linearMap,h=m.getPixelPrecision,c=m.round,a=e("4HMb"),i=a.createAxisTicks,r=a.createAxisLabels,o=a.calculateCategoryInterval,d=[0,1],n=function(u,p,w){this.dim=u,this.scale=p,this._extent=w||[0,0],this.inverse=!1,this.onBand=!1};n.prototype={constructor:n,contain:function(u){var p=this._extent,w=Math.min(p[0],p[1]),b=Math.max(p[0],p[1]);return u>=w&&u<=b},containData:function(u){return this.scale.contain(u)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(u){return h(u||this.scale.getExtent(),this._extent)},setExtent:function(u,p){var w=this._extent;w[0]=u,w[1]=p},dataToCoord:function(u,p){var w=this._extent,b=this.scale;return u=b.normalize(u),this.onBand&&b.type==="ordinal"&&(w=w.slice(),l(w,b.count())),v(u,d,w,p)},coordToData:function(u,p){var w=this._extent,b=this.scale;this.onBand&&b.type==="ordinal"&&(w=w.slice(),l(w,b.count()));var E=v(u,w,d,p);return this.scale.scale(E)},pointToData:function(u,p){},getTicksCoords:function(u){u=u||{};var p=u.tickModel||this.getTickModel(),w=i(this,p),b=w.ticks,E=y(b,function(S){return{coord:this.dataToCoord(S),tickValue:S}},this),A=p.get("alignWithLabel");return t(this,E,A,u.clamp),E},getMinorTicksCoords:function(){if(this.scale.type==="ordinal")return[];var u=this.model.getModel("minorTick"),p=u.get("splitNumber");p>0&&p<100||(p=5);var w=this.scale.getMinorTicks(p),b=y(w,function(E){return y(E,function(A){return{coord:this.dataToCoord(A),tickValue:A}},this)},this);return b},getViewLabels:function(){return r(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var u=this._extent,p=this.scale.getExtent(),w=p[1]-p[0]+(this.onBand?1:0);w===0&&(w=1);var b=Math.abs(u[1]-u[0]);return Math.abs(b)/w},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return o(this)}};function l(u,p){var w=u[1]-u[0],b=p,E=w/b/2;u[0]+=E,u[1]-=E}function t(u,p,w,b){var E=p.length;if(!u.onBand||w||!E)return;var A=u.getExtent(),S,T;if(E===1)p[0].coord=A[0],S=p[1]={coord:A[0]};else{var L=p[E-1].tickValue-p[0].tickValue,x=(p[E-1].coord-p[0].coord)/L;f(p,function(F){F.coord-=x/2});var C=u.scale.getExtent();T=1+C[1]-p[E-1].tickValue,S={coord:p[E-1].coord+x*T},p.push(S)}var I=A[0]>A[1];N(p[0].coord,A[0])&&(b?p[0].coord=A[0]:p.shift()),b&&N(A[0],p[0].coord)&&p.unshift({coord:A[0]}),N(A[1],S.coord)&&(b?S.coord=A[1]:p.pop()),b&&N(S.coord,A[1])&&p.push({coord:A[1]});function N(F,k){return F=c(F),k=c(k),I?F>k:F<k}}var s=n;D.exports=s},hNWo:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("Qxkt"),m=e("4NO4"),v=m.isNameSpecified,h=e("Kagy"),c=h.legend.selector,a={all:{type:"all",title:f.clone(c.all)},inverse:{type:"inverse",title:f.clone(c.inverse)}},i=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){i.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,a[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 u=s.name;n.push(u);var p;if(s.legendVisualProvider){var w=s.legendVisualProvider,b=w.getAllNames();o.isSeriesFiltered(s)||(n=n.concat(b)),b.length?d=d.concat(b):p=!0}else p=!0;p&&v(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 y(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=i;D.exports=r},hOwI:function(D,_){var e=Math.log(2);function g(y,m,v,h,c,a){var i=h+"-"+c,r=y.length;if(a.hasOwnProperty(i))return a[i];if(m===1){var o=Math.round(Math.log((1<<r)-1&~c)/e);return y[v][o]}for(var d=h|1<<v,n=v+1;h&1<<n;)n++;for(var l=0,t=0,s=0;t<r;t++){var u=1<<t;u&c||(l+=(s%2?-1:1)*y[v][t]*g(y,m-1,n,d,c|u,a),s++)}return a[i]=l,l}function f(y,m){var v=[[y[0],y[1],1,0,0,0,-m[0]*y[0],-m[0]*y[1]],[0,0,0,y[0],y[1],1,-m[1]*y[0],-m[1]*y[1]],[y[2],y[3],1,0,0,0,-m[2]*y[2],-m[2]*y[3]],[0,0,0,y[2],y[3],1,-m[3]*y[2],-m[3]*y[3]],[y[4],y[5],1,0,0,0,-m[4]*y[4],-m[4]*y[5]],[0,0,0,y[4],y[5],1,-m[5]*y[4],-m[5]*y[5]],[y[6],y[7],1,0,0,0,-m[6]*y[6],-m[6]*y[7]],[0,0,0,y[6],y[7],1,-m[7]*y[6],-m[7]*y[7]]],h={},c=g(v,8,0,0,0,h);if(c===0)return;for(var a=[],i=0;i<8;i++)for(var r=0;r<8;r++)a[r]==null&&(a[r]=0),a[r]+=((i+r)%2?-1:1)*g(v,7,i===0?1:0,1<<i,1<<r,h)/c*m[i];return function(o,d,n){var l=d*a[6]+n*a[7]+1;o[0]=(d*a[0]+n*a[1]+a[2])/l,o[1]=(d*a[3]+n*a[4]+a[5])/l}}_.buildTransformer=f},hX1E:function(D,_){var e=Math.PI*2;function g(f){return f%=e,f<0&&(f+=e),f}_.normalizeRadian=g},hXwI:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;function g(v,h){if(!(v instanceof h))throw new TypeError("Cannot call a class as a function")}function f(v,h){for(var c=0;c<h.length;c++){var a=h[c];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(v,a.key,a)}}function y(v,h,c){return h&&f(v.prototype,h),c&&f(v,c),v}var m=function(){function v(){g(this,v)}return y(v,[{key:"decodeRect",value:function(c,a,i,r,o,d,n){if(o.rQwait("COPYRECT",4))return!1;var l=o.rQshift16(),t=o.rQshift16();return d.copyImage(l,t,c,a,i,r),!0}}]),v}();_.default=m},hi0g:function(D,_,e){var g=e("bYtY"),f=g.createHashMap,y=g.each,m=g.isString,v=g.defaults,h=g.extend,c=g.isObject,a=g.clone,i=e("4NO4"),r=i.normalizeToArray,o=e("D5nY"),d=o.guessOrdinal,n=o.BE_ORDINAL,l=e("7G+c"),t=e("L0Ub"),s=t.OTHER_DIMENSIONS,u=e("Vi4m");function p(A,S,T){l.isInstance(S)||(S=l.seriesDataToSource(S)),T=T||{},A=(A||[]).slice();for(var L=(T.dimsDef||[]).slice(),x=f(),C=f(),I=[],N=w(S,A,L,T.dimCount),F=0;F<N;F++){var k=L[F]=h({},c(L[F])?L[F]:{name:L[F]}),B=k.name,P=I[F]=new u;B!=null&&x.get(B)==null&&(P.name=P.displayName=B,x.set(B,F)),k.type!=null&&(P.type=k.type),k.displayName!=null&&(P.displayName=k.displayName)}var K=T.encodeDef;!K&&T.encodeDefaulter&&(K=T.encodeDefaulter(S,N)),K=f(K),K.each(function(Z,ge){if(Z=r(Z).slice(),Z.length===1&&!m(Z[0])&&Z[0]<0){K.set(ge,!1);return}var Q=K.set(ge,[]);y(Z,function(we,Ee){m(we)&&(we=x.get(we)),we!=null&&we<N&&(Q[Ee]=we,U(I[we],ge,Ee))})});var R=0;y(A,function(Z,ge){var Q,Z,we,Ee;if(m(Z))Q=Z,Z={};else{Q=Z.name;var Ae=Z.ordinalMeta;Z.ordinalMeta=null,Z=a(Z),Z.ordinalMeta=Ae,we=Z.dimsDef,Ee=Z.otherDims,Z.name=Z.coordDim=Z.coordDimIndex=Z.dimsDef=Z.otherDims=null}var Pe=K.get(Q);if(Pe===!1)return;var Pe=r(Pe);if(!Pe.length)for(var Ge=0;Ge<(we&&we.length||1);Ge++){for(;R<I.length&&I[R].coordDim!=null;)R++;R<I.length&&Pe.push(R++)}y(Pe,function(gt,_e){var Ce=I[gt];if(U(v(Ce,Z),Q,_e),Ce.name==null&&we){var lt=we[_e];!c(lt)&&(lt={name:lt}),Ce.name=Ce.displayName=lt.name,Ce.defaultTooltip=lt.defaultTooltip}Ee&&v(Ce.otherDims,Ee)})});function U(Z,ge,Q){s.get(ge)!=null?Z.otherDims[ge]=Q:(Z.coordDim=ge,Z.coordDimIndex=Q,C.set(ge,!0))}var j=T.generateCoord,H=T.generateCoordCount,W=H!=null;H=j?H||1:0;for(var X=j||"value",z=0;z<N;z++){var P=I[z]=I[z]||new u,G=P.coordDim;G==null&&(P.coordDim=b(X,C,W),P.coordDimIndex=0,(!j||H<=0)&&(P.isExtraCoord=!0),H--),P.name==null&&(P.name=b(P.coordDim,x)),P.type==null&&(d(S,z,P.name)===n.Must||P.isExtraCoord&&(P.otherDims.itemName!=null||P.otherDims.seriesName!=null))&&(P.type="ordinal")}return I}function w(A,S,T,L){var x=Math.max(A.dimensionsDetectCount||1,S.length,T.length,L||0);return y(S,function(C){var I=C.dimsDef;I&&(x=Math.max(x,I.length))}),x}function b(A,S,T){if(T||S.get(A)!=null){for(var L=0;S.get(A+L)!=null;)L++;A+=L}return S.set(A,!0),A}var E=p;D.exports=E},hkKa:function(D,_,e){"use strict";e.d(_,"a",function(){return v});var g=e("J4zp"),f=e.n(g),y=e("q1tI"),m=e.n(y);function v(){var h=y.useReducer(function(i){return i+1},0),c=f()(h,2),a=c[1];return a}},hw6D:function(D,_,e){var g=e("bYtY");function f(v){v.eachSeriesByType("radar",function(h){var c=h.getData(),a=[],i=h.coordinateSystem;if(!i)return;var r=i.getIndicatorAxes();g.each(r,function(o,d){c.each(c.mapDimension(r[d].dim),function(n,l){a[l]=a[l]||[];var t=i.dataToPoint(n,d);a[l][d]=y(t)?t:m(i)})}),c.each(function(o){var d=g.find(a[o],function(n){return y(n)})||m(i);a[o].push(d.slice()),c.setItemLayout(o,a[o])})})}function y(v){return!isNaN(v[0])&&!isNaN(v[1])}function m(v){return[v.cx,v.cy]}D.exports=f},hwYd:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("Nu4q")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="PictureTwoTone";var c=y.forwardRef(h);_.default=c},hydK:function(D,_){var e="http://www.w3.org/2000/svg";function g(f){return document.createElementNS(e,f)}_.createElement=g},hyiK:function(D,_){function e(g,f,y,m,v,h){if(h>f&&h>m||h<f&&h<m)return 0;if(m===f)return 0;var c=m<f?1:-1,a=(h-f)/(m-f);(a===1||a===0)&&(c=m<f?.5:-.5);var i=a*(y-g)+g;return i===v?Infinity:i>v?c:0}D.exports=e},i38C:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=y.createHashMap,v=y.retrieve,h=y.each;function c(o){this.coordSysName=o,this.coordSysDims=[],this.axisMap=m(),this.categoryAxisMap=m(),this.firstCategoryDimIndex=null}function a(o){var d=o.get("coordinateSystem"),n=new c(d),l=i[d];if(l)return l(o,n,n.axisMap,n.categoryAxisMap),n}var i={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"),u=t.findAxisModel("angleAxis");d.coordSysDims=["radius","angle"],n.set("radius",s),n.set("angle",u),r(s)&&(l.set("radius",s),d.firstCategoryDimIndex=0),r(u)&&(l.set("angle",u),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")),u=d.coordSysDims=s.dimensions.slice();h(s.parallelAxisIndex,function(p,w){var b=t.getComponent("parallelAxis",p),E=u[w];n.set(E,b),r(b)&&d.firstCategoryDimIndex==null&&(l.set(E,b),d.firstCategoryDimIndex=w)})}};function r(o){return o.get("type")==="category"}_.getCoordSysInfoBySeries=a},i6bk:function(D,_,e){"use strict";e.d(_,"b",function(){return g}),e.d(_,"a",function(){return f});function g(y){return y!=null&&y===y.window}function f(y,m){if(typeof window=="undefined")return 0;var v=m?"scrollTop":"scrollLeft",h=0;return g(y)?h=y[m?"pageYOffset":"pageXOffset"]:y instanceof Document?h=y.documentElement[v]:y&&(h=y[v]),y&&!g(y)&&typeof h!="number"&&(h=(y.ownerDocument||y).documentElement[v]),h}},i8CU:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("Fm1+"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},iLNv:function(D,_){var e="\0__throttleOriginMethod",g="\0__throttleRate",f="\0__throttleType";function y(h,c,a){var i,r=0,o=0,d=null,n,l,t,s;c=c||0;function u(){o=new Date().getTime(),d=null,h.apply(l,t||[])}var p=function(){i=new Date().getTime(),l=this,t=arguments;var w=s||c,b=s||a;s=null,n=i-(b?r:o)-w,clearTimeout(d),b?d=setTimeout(u,w):n>=0?u():d=setTimeout(u,-n),r=i};return p.clear=function(){d&&(clearTimeout(d),d=null)},p.debounceNextCall=function(w){s=w},p}function m(h,c,a,i){var r=h[c];if(!r)return;var o=r[e]||r,d=r[f],n=r[g];if(n!==a||d!==i){if(a==null||!i)return h[c]=o;r=h[c]=y(o,a,i==="debounce"),r[e]=o,r[f]=i,r[g]=a}return r}function v(h,c){var a=h[c];a&&a[e]&&(h[c]=a[e])}_.throttle=y,_.createOrUpdate=m,_.clear=v},iPDy:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=g.extendComponentView({type:"marker",init:function(){this.markerGroupMap=f.createHashMap()},render:function(m,v,h){var c=this.markerGroupMap;c.each(function(i){i.__keep=!1});var a=this.type+"Model";v.eachSeries(function(i){var r=i[a];r&&this.renderSeries(i,r,v,h)},this),c.each(function(i){!i.__keep&&this.group.remove(i.group)},this)},renderSeries:function(){}});D.exports=y},iQDF:function(D,_,e){"use strict";var g=e("ZTW2"),f=e.n(g),y=e("+BJd"),m=e("+L6B")},iRjW:function(D,_,e){var g=e("bYtY"),f=e("Yl7c"),y=f.parseClassType,m=0;function v(a){return[a||"",m++,Math.random().toFixed(5)].join("_")}function h(a){var i={};return a.registerSubTypeDefaulter=function(r,o){r=y(r),i[r.main]=o},a.determineSubType=function(r,o){var d=o.type;if(!d){var n=y(r).main;a.hasSubTypes(r)&&i[n]&&(d=i[n](o))}return d},a}function c(a,i){a.topologicalTravel=function(n,l,t,s){if(!n.length)return;var u=r(l),p=u.graph,w=u.noEntryList,b={};for(g.each(n,function(x){b[x]=!0});w.length;){var E=w.pop(),A=p[E],S=!!b[E];S&&(t.call(s,E,A.originalDeps.slice()),delete b[E]),g.each(A.successor,S?L:T)}g.each(b,function(){throw new Error("Circle dependency may exists")});function T(x){p[x].entryCount--,p[x].entryCount===0&&w.push(x)}function L(x){b[x]=!0,T(x)}};function r(n){var l={},t=[];return g.each(n,function(s){var u=o(l,s),p=u.originalDeps=i(s),w=d(p,n);u.entryCount=w.length,u.entryCount===0&&t.push(s),g.each(w,function(b){g.indexOf(u.predecessor,b)<0&&u.predecessor.push(b);var E=o(l,b);g.indexOf(E.successor,b)<0&&E.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}}_.getUID=v,_.enableSubTypeDefaulter=h,_.enableTopologicalTravel=c},iUHT:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;function g(A,S){if(!(A instanceof S))throw new TypeError("Cannot call a class as a function")}function f(A,S){for(var T=0;T<S.length;T++){var L=S[T];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(A,L.key,L)}}function y(A,S,T){return S&&f(A.prototype,S),T&&f(A,T),A}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],v=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],h=0,c,a,i,r,o,d;c=1<<16,a=1<<24,i=c|a,r=1<<2,o=1<<10,d=r|o;var n=[i|o,h|h,c|h,i|d,i|r,c|d,h|r,c|h,h|o,i|o,i|d,h|o,a|d,i|r,a|h,h|r,h|d,a|o,a|o,c|o,c|o,i|h,i|h,a|d,c|r,a|r,a|r,c|r,h|h,h|d,c|d,a|h,c|h,i|d,h|r,i|h,i|o,a|h,a|h,h|o,i|r,c|h,c|o,a|r,h|o,h|r,a|d,c|d,i|d,c|r,i|h,a|d,a|r,h|d,c|d,i|o,h|d,a|o,a|o,h|h,c|r,c|o,h|h,i|r];c=1<<20,a=1<<31,i=c|a,r=1<<5,o=1<<15,d=r|o;var l=[i|d,a|o,h|o,c|d,c|h,h|r,i|r,a|d,a|r,i|d,i|o,a|h,a|o,c|h,h|r,i|r,c|o,c|r,a|d,h|h,a|h,h|o,c|d,i|h,c|r,a|r,h|h,c|o,h|d,i|o,i|h,h|d,h|h,c|d,i|r,c|h,a|d,i|h,i|o,h|o,i|h,a|o,h|r,i|d,c|d,h|r,h|o,a|h,h|d,i|o,c|h,a|r,c|r,a|d,a|r,c|r,c|o,h|h,a|o,h|d,a|h,i|r,i|d,c|o];c=1<<17,a=1<<27,i=c|a,r=1<<3,o=1<<9,d=r|o;var t=[h|d,i|o,h|h,i|r,a|o,h|h,c|d,a|o,c|r,a|r,a|r,c|h,i|d,c|r,i|h,h|d,a|h,h|r,i|o,h|o,c|o,i|h,i|r,c|d,a|d,c|o,c|h,a|d,h|r,i|d,h|o,a|h,i|o,a|h,c|r,h|d,c|h,i|o,a|o,h|h,h|o,c|r,i|d,a|o,a|r,h|o,h|h,i|r,a|d,c|h,a|h,i|d,h|r,c|d,c|o,a|r,i|h,a|d,h|d,i|h,c|d,h|r,i|r,c|o];c=1<<13,a=1<<23,i=c|a,r=1<<0,o=1<<7,d=r|o;var s=[i|r,c|d,c|d,h|o,i|o,a|d,a|r,c|r,h|h,i|h,i|h,i|d,h|d,h|h,a|o,a|r,h|r,c|h,a|h,i|r,h|o,a|h,c|r,c|o,a|d,h|r,c|o,a|o,c|h,i|o,i|d,h|d,a|o,a|r,i|h,i|d,h|d,h|h,h|h,i|h,c|o,a|o,a|d,h|r,i|r,c|d,c|d,h|o,i|d,h|d,h|r,c|h,a|r,c|r,i|o,a|d,c|r,c|o,a|h,i|r,h|o,a|h,c|h,i|o];c=1<<25,a=1<<30,i=c|a,r=1<<8,o=1<<19,d=r|o;var u=[h|r,c|d,c|o,i|r,h|o,h|r,a|h,c|o,a|d,h|o,c|r,a|d,i|r,i|o,h|d,a|h,c|h,a|o,a|o,h|h,a|r,i|d,i|d,c|r,i|o,a|r,h|h,i|h,c|d,c|h,i|h,h|d,h|o,i|r,h|r,c|h,a|h,c|o,i|r,a|d,c|r,a|h,i|o,c|d,a|d,h|r,c|h,i|o,i|d,h|d,i|h,i|d,c|o,h|h,a|o,i|h,h|d,c|r,a|r,h|o,h|h,a|o,c|d,a|r];c=1<<22,a=1<<29,i=c|a,r=1<<4,o=1<<14,d=r|o;var p=[a|r,i|h,h|o,i|d,i|h,h|r,i|d,c|h,a|o,c|d,c|h,a|r,c|r,a|o,a|h,h|d,h|h,c|r,a|d,h|o,c|o,a|d,h|r,i|r,i|r,h|h,c|d,i|o,h|d,c|o,i|o,a|h,a|o,h|r,i|r,c|o,i|d,c|h,h|d,a|r,c|h,a|o,a|h,h|d,a|r,i|d,c|o,i|h,c|d,i|o,h|h,i|r,h|r,h|o,i|h,c|d,h|o,c|r,a|d,h|h,i|o,a|h,c|r,a|d];c=1<<21,a=1<<26,i=c|a,r=1<<1,o=1<<11,d=r|o;var w=[c|h,i|r,a|d,h|h,h|o,a|d,c|d,i|o,i|d,c|h,h|h,a|r,h|r,a|h,i|r,h|d,a|o,c|d,c|r,a|o,a|r,i|h,i|o,c|r,i|h,h|o,h|d,i|d,c|o,h|r,a|h,c|o,a|h,c|o,c|h,a|d,a|d,i|r,i|r,h|r,c|r,a|h,a|o,c|h,i|o,h|d,c|d,i|o,h|d,a|r,i|d,i|h,c|o,h|h,h|r,i|d,h|h,c|d,i|h,h|o,a|r,a|o,h|o,c|r];c=1<<18,a=1<<28,i=c|a,r=1<<6,o=1<<12,d=r|o;var b=[a|d,h|o,c|h,i|d,a|h,a|d,h|r,a|h,c|r,i|h,i|d,c|o,i|o,c|d,h|o,h|r,i|h,a|r,a|o,h|d,c|o,c|r,i|r,i|o,h|d,h|h,h|h,i|r,a|r,a|o,c|d,c|h,c|d,c|h,i|o,h|o,h|r,i|r,h|o,c|d,a|o,h|r,a|r,i|h,i|r,a|h,c|h,a|d,h|h,i|d,c|r,a|r,i|h,a|o,a|d,h|h,i|d,c|o,c|o,h|d,h|d,c|r,a|h,i|o],E=function(){function A(S){g(this,A),this.keys=[];for(var T=[],L=[],x=[],C=0,I=56;C<56;++C,I-=8){I+=I<-5?65:I<-3?31:I<-1?63:I===27?35:0;var N=I&7;T[C]=(S[I>>>3]&1<<N)!==0?1:0}for(var F=0;F<16;++F){var k=F<<1,B=k+1;x[k]=x[B]=0;for(var P=28;P<59;P+=28)for(var K=P-28;K<P;++K){var R=K+v[F];L[K]=R<P?T[R]:T[R-28]}for(var U=0;U<24;++U)L[m[U]]!==0&&(x[k]|=1<<23-U),L[m[U+24]]!==0&&(x[B]|=1<<23-U)}for(var j=0,H=0,W=0;j<16;++j){var X=x[H++],z=x[H++];this.keys[W]=(X&16515072)<<6,this.keys[W]|=(X&4032)<<10,this.keys[W]|=(z&16515072)>>>10,this.keys[W]|=(z&4032)>>>6,++W,this.keys[W]=(X&258048)<<12,this.keys[W]|=(X&63)<<16,this.keys[W]|=(z&258048)>>>4,this.keys[W]|=z&63,++W}}return y(A,[{key:"enc8",value:function(T){var L=T.slice(),x=0,C,I,N;C=L[x++]<<24|L[x++]<<16|L[x++]<<8|L[x++],I=L[x++]<<24|L[x++]<<16|L[x++]<<8|L[x++],N=(C>>>4^I)&252645135,I^=N,C^=N<<4,N=(C>>>16^I)&65535,I^=N,C^=N<<16,N=(I>>>2^C)&858993459,C^=N,I^=N<<2,N=(I>>>8^C)&16711935,C^=N,I^=N<<8,I=I<<1|I>>>31&1,N=(C^I)&2863311530,C^=N,I^=N,C=C<<1|C>>>31&1;for(var F=0,k=0;F<8;++F){N=I<<28|I>>>4,N^=this.keys[k++];var B=w[N&63];B|=u[N>>>8&63],B|=t[N>>>16&63],B|=n[N>>>24&63],N=I^this.keys[k++],B|=b[N&63],B|=p[N>>>8&63],B|=s[N>>>16&63],B|=l[N>>>24&63],C^=B,N=C<<28|C>>>4,N^=this.keys[k++],B=w[N&63],B|=u[N>>>8&63],B|=t[N>>>16&63],B|=n[N>>>24&63],N=C^this.keys[k++],B|=b[N&63],B|=p[N>>>8&63],B|=s[N>>>16&63],B|=l[N>>>24&63],I^=B}for(I=I<<31|I>>>1,N=(C^I)&2863311530,C^=N,I^=N,C=C<<31|C>>>1,N=(C>>>8^I)&16711935,I^=N,C^=N<<8,N=(C>>>2^I)&858993459,I^=N,C^=N<<2,N=(I>>>16^C)&65535,C^=N,I^=N<<16,N=(I>>>4^C)&252645135,C^=N,I^=N<<4,N=[I,C],x=0;x<8;x++)L[x]=(N[x>>>2]>>>8*(3-x%4))%256,L[x]<0&&(L[x]+=256);return L}},{key:"encrypt",value:function(T){return this.enc8(T.slice(0,8)).concat(this.enc8(T.slice(8,16)))}}]),A}();_.default=E},iXHM:function(D,_){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};D.exports=g},iXp4:function(D,_,e){var g=e("ItGF"),f=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function y(m){return g.browser.ie&&g.browser.version>=11?function(){var v=this.__clipPaths,h=this.style,c;if(v)for(var a=0;a<v.length;a++){var i=v[a],r=i&&i.shape,o=i&&i.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];c=!0;break}}if(m.apply(this,arguments),c)for(var d=0;d<f.length;d++)h[f[d][0]]=f[d][2]}:m}D.exports=y},iYpf:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("ZLWo")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="FolderOpenOutlined";var c=y.forwardRef(h);_.default=c},ieMj:function(D,_,e){var g=e("OELB"),f=e("7aKB"),y=e("4NgU"),m=e("lE7J"),v=g.round,h=y.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(a,i){var r=this._extent;isNaN(a)||(r[0]=parseFloat(a)),isNaN(i)||(r[1]=parseFloat(i))},unionExtent:function(a){var i=this._extent;a[0]<i[0]&&(i[0]=a[0]),a[1]>i[1]&&(i[1]=a[1]),h.prototype.setExtent.call(this,i[0],i[1])},getInterval:function(){return this._interval},setInterval:function(a){this._interval=a,this._niceExtent=this._extent.slice(),this._intervalPrecision=m.getIntervalPrecision(a)},getTicks:function(a){var i=this._interval,r=this._extent,o=this._niceExtent,d=this._intervalPrecision,n=[];if(!i)return n;var l=1e4;r[0]<o[0]&&(a?n.push(v(o[0]-i,d)):n.push(r[0]));for(var t=o[0];t<=o[1]&&!(n.push(t),t=v(t+i,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&&(a?n.push(v(s+i,d)):n.push(r[1])),n},getMinorTicks:function(a){for(var i=this.getTicks(!0),r=[],o=this.getExtent(),d=1;d<i.length;d++){for(var n=i[d],l=i[d-1],t=0,s=[],u=n-l,p=u/a;t<a-1;){var w=g.round(l+(t+1)*p);w>o[0]&&w<o[1]&&s.push(w),t++}r.push(s)}return r},getLabel:function(a,i){if(a==null)return"";var r=i&&i.precision;return r==null?r=g.getPrecisionSafe(a)||0:r==="auto"&&(r=this._intervalPrecision),a=v(a,r,!0),f.addCommas(a)},niceTicks:function(a,i,r){a=a||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,a,i,r);this._intervalPrecision=n.intervalPrecision,this._interval=n.interval,this._niceExtent=n.niceTickExtent},niceExtent:function(a){var i=this._extent;if(i[0]===i[1])if(i[0]!==0){var r=i[0];a.fixMax||(i[1]+=r/2),i[0]-=r/2}else i[1]=1;var o=i[1]-i[0];isFinite(o)||(i[0]=0,i[1]=1),this.niceTicks(a.splitNumber,a.minInterval,a.maxInterval);var d=this._interval;a.fixMin||(i[0]=v(Math.floor(i[0]/d)*d)),a.fixMax||(i[1]=v(Math.ceil(i[1]/d)*d))}});h.create=function(){return new h};var c=h;D.exports=c},j5sG:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.createSensor=void 0;var g=f(e("NohK"));function f(m){return m&&m.__esModule?m:{default:m}}var y=function(v){var h=void 0,c=[],a=(0,g.default)(function(){c.forEach(function(n){n(v)})}),i=function(){var l=new ResizeObserver(a);return l.observe(v),a(),l},r=function(l){h||(h=i()),c.indexOf(l)===-1&&c.push(l)},o=function(){h.disconnect(),c=[],h=void 0},d=function(l){var t=c.indexOf(l);t!==-1&&c.splice(t,1),c.length===0&&h&&o()};return{element:v,bind:r,destroy:o,unbind:d}};_.createSensor=y},jCoz:function(D,_,e){var g=e("bYtY"),f=e("4NgU"),y=e("OELB"),m=e("ieMj"),v=f.prototype,h=m.prototype,c=y.getPrecisionSafe,a=y.round,i=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 u=this._originalScale,p=this._extent,w=u.getExtent();return g.map(h.getTicks.call(this,s),function(b){var E=y.round(o(this.base,b));return E=b===p[0]&&u.__fixMin?l(E,w[0]):E,E=b===p[1]&&u.__fixMax?l(E,w[1]):E,E},this)},getMinorTicks:h.getMinorTicks,getLabel:h.getLabel,scale:function(s){return s=v.scale.call(this,s),o(this.base,s)},setExtent:function(s,u){var p=this.base;s=d(s)/d(p),u=d(u)/d(p),h.setExtent.call(this,s,u)},getExtent:function(){var s=this.base,u=v.getExtent.call(this);u[0]=o(s,u[0]),u[1]=o(s,u[1]);var p=this._originalScale,w=p.getExtent();return p.__fixMin&&(u[0]=l(u[0],w[0])),p.__fixMax&&(u[1]=l(u[1],w[1])),u},unionExtent:function(s){this._originalScale.unionExtent(s);var u=this.base;s[0]=d(s[0])/d(u),s[1]=d(s[1])/d(u),v.unionExtent.call(this,s)},unionExtentFromData:function(s,u){this.unionExtent(s.getApproximateExtent(u))},niceTicks:function(s){s=s||10;var u=this._extent,p=u[1]-u[0];if(p===Infinity||p<=0)return;var w=y.quantity(p),b=s/p*w;for(b<=.5&&(w*=10);!isNaN(w)&&Math.abs(w)<1&&Math.abs(w)>0;)w*=10;var E=[y.round(r(u[0]/w)*w),y.round(i(u[1]/w)*w)];this._interval=w,this._niceExtent=E},niceExtent:function(s){h.niceExtent.call(this,s);var u=this._originalScale;u.__fixMin=s.fixMin,u.__fixMax=s.fixMax}});g.each(["contain","normalize"],function(s){n.prototype[s]=function(u){return u=d(u)/d(this.base),v[s].call(this,u)}}),n.create=function(){return new n};function l(s,u){return a(s,c(u))}var t=n;D.exports=t},jN4g:function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="CloseCircleFilled";var h=_.a=g.forwardRef(v)},jO45:function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="CheckCircleFilled";var h=_.a=g.forwardRef(v)},jTL6:function(D,_,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,v){var h=v.cx,c=v.cy,a=Math.max(v.r,0),i=v.startAngle,r=v.endAngle,o=v.clockwise,d=Math.cos(i),n=Math.sin(i);m.moveTo(d*a+h,n*a+c),m.arc(h,c,a,i,r,!o)}});D.exports=f},je13:function(D,_,e){var g=e("5nXd"),f=e("gRFJ"),y=[e("uQRt")];D.exports=g.createStore(f,y)},jett:function(D,_,e){var g=e("ProS");e("VSLf"),e("oBaM"),e("FGaS");var f=e("mOdp"),y=e("f5Yq"),m=e("hw6D"),v=e("0/Rx"),h=e("eJH7");g.registerVisual(f("radar")),g.registerVisual(y("radar","circle")),g.registerLayout(m),g.registerProcessor(v("radar")),g.registerPreprocessor(h)},jhfD:function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="ArrowLeftOutlined";var h=_.a=g.forwardRef(v)},jkPA:function(D,_,e){var g=e("bYtY"),f=g.createHashMap,y=g.isObject,m=g.map;function v(r){this.categories=r.categories||[],this._needCollect=r.needCollect,this._deduplication=r.deduplication,this._map}v.createByAxisModel=function(r){var o=r.option,d=o.data,n=d&&m(d,a);return new v({categories:n,needCollect:!n,deduplication:o.dedplication!==!1})};var h=v.prototype;h.getOrdinal=function(r){return c(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=c(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 c(r){return r._map||(r._map=f(r.categories))}function a(r){return y(r)&&r.value!=null?r.value:r+""}var i=v;D.exports=i},jndi:function(D,_,e){var g=e("bYtY"),f=e("Qe9p"),y=e("YXkt"),m=e("OELB"),v=e("IwbS"),h=e("kj2x"),c=e("iPDy"),a=function(t,s,u,p){var w=h.dataTransform(t,p[0]),b=h.dataTransform(t,p[1]),E=g.retrieve,A=w.coord,S=b.coord;A[0]=E(A[0],-Infinity),A[1]=E(A[1],-Infinity),S[0]=E(S[0],Infinity),S[1]=E(S[1],Infinity);var T=g.mergeAll([{},w,b]);return T.coord=[w.coord,b.coord],T.x0=w.x,T.y0=w.y,T.x1=b.x,T.y1=b.y,T};function i(t){return!isNaN(t)&&!isFinite(t)}function r(t,s,u,p){var w=1-t;return i(s[w])&&i(u[w])}function o(t,s){var u=s.coord[0],p=s.coord[1];return t.type==="cartesian2d"&&(u&&p&&(r(1,u,p,t)||r(0,u,p,t)))?!0:h.dataFilter(t,{coord:u,x:s.x0,y:s.y0})||h.dataFilter(t,{coord:p,x:s.x1,y:s.y1})}function d(t,s,u,p,w){var b=p.coordinateSystem,E=t.getItemModel(s),A,S=m.parsePercent(E.get(u[0]),w.getWidth()),T=m.parsePercent(E.get(u[1]),w.getHeight());if(!isNaN(S)&&!isNaN(T))A=[S,T];else{if(p.getMarkerPosition)A=p.getMarkerPosition(t.getValues(u,s));else{var L=t.get(u[0],s),x=t.get(u[1],s),C=[L,x];b.clampData&&b.clampData(C,C),A=b.dataToPoint(C,!0)}if(b.type==="cartesian2d"){var I=b.getAxis("x"),N=b.getAxis("y"),L=t.get(u[0],s),x=t.get(u[1],s);i(L)?A[0]=I.toGlobalCoord(I.getExtent()[u[0]==="x0"?0:1]):i(x)&&(A[1]=N.toGlobalCoord(N.getExtent()[u[1]==="y0"?0:1]))}isNaN(S)||(A[0]=S),isNaN(T)||(A[1]=T)}return A}var n=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];c.extend({type:"markArea",updateTransform:function(t,s,u){s.eachSeries(function(p){var w=p.markAreaModel;if(w){var b=w.getData();b.each(function(E){var A=g.map(n,function(T){return d(b,E,T,p,u)});b.setItemLayout(E,A);var S=b.getItemGraphicEl(E);S.setShape("points",A)})}},this)},renderSeries:function(t,s,u,p){var w=t.coordinateSystem,b=t.id,E=t.getData(),A=this.markerGroupMap,S=A.get(b)||A.set(b,{group:new v.Group});this.group.add(S.group),S.__keep=!0;var T=l(w,t,s);s.setData(T),T.each(function(L){T.setItemLayout(L,g.map(n,function(x){return d(T,L,x,t,p)})),T.setItemVisual(L,{color:E.getVisual("color")})}),T.diff(S.__data).add(function(L){var x=new v.Polygon({shape:{points:T.getItemLayout(L)}});T.setItemGraphicEl(L,x),S.group.add(x)}).update(function(L,x){var C=S.__data.getItemGraphicEl(x);v.updateProps(C,{shape:{points:T.getItemLayout(L)}},s,L),S.group.add(C),T.setItemGraphicEl(L,C)}).remove(function(L){var x=S.__data.getItemGraphicEl(L);S.group.remove(x)}).execute(),T.eachItemGraphicEl(function(L,x){var C=T.getItemModel(x),I=C.getModel("label"),N=C.getModel("emphasis.label"),F=T.getItemVisual(x,"color");L.useStyle(g.defaults(C.getModel("itemStyle").getItemStyle(),{fill:f.modifyAlpha(F,.4),stroke:F})),L.hoverStyle=C.getModel("emphasis.itemStyle").getItemStyle(),v.setLabelStyle(L.style,L.hoverStyle,I,N,{labelFetcher:s,labelDataIndex:x,defaultText:T.getName(x)||"",isRectText:!0,autoColor:F}),v.setHoverStyle(L,{}),L.dataModel=s}),S.__data=T,S.group.silent=s.get("silent")||t.get("silent")}});function l(t,s,u){var p,w,b=["x0","y0","x1","y1"];t?(p=g.map(t&&t.dimensions,function(S){var T=s.getData(),L=T.getDimensionInfo(T.mapDimension(S))||{};return g.defaults({name:S},L)}),w=new y(g.map(b,function(S,T){return{name:S,type:p[T%2].type}}),u)):(p=[{name:"value",type:"float"}],w=new y(p,u));var E=g.map(u.get("data"),g.curry(a,s,t,u));t&&(E=g.filter(E,g.curry(o,t)));var A=t?function(S,T,L,x){return S.coord[Math.floor(x/2)][x%2]}:function(S){return S.value};return w.initData(E,null,A),w.hasItemOption=!0,w}},"jsU+":function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=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,c){var a=y.get(c);a&&f.merge(h,a.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}}}),v=m;D.exports=v},jtI2:function(D,_,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"}});D.exports=f},juDX:function(D,_,e){e("P47w");var g=e("aX58"),f=g.registerPainter,y=e("3CBa");f("svg",y)},"k+1r":function(D,_,e){var g=e("QkVE");function f(y){var m=g(this,y).delete(y);return this.size-=m?1:0,m}D.exports=f},k5C7:function(D,_,e){e("0JAE"),e("g7p0"),e("7mYs")},k9D9:function(D,_){var e="original",g="arrayRows",f="objectRows",y="keyedColumns",m="unknown",v="typedArray",h="column",c="row";_.SOURCE_FORMAT_ORIGINAL=e,_.SOURCE_FORMAT_ARRAY_ROWS=g,_.SOURCE_FORMAT_OBJECT_ROWS=f,_.SOURCE_FORMAT_KEYED_COLUMNS=y,_.SOURCE_FORMAT_UNKNOWN=m,_.SOURCE_FORMAT_TYPED_ARRAY=v,_.SERIES_LAYOUT_BY_COLUMN=h,_.SERIES_LAYOUT_BY_ROW=c},kDyi:function(D,_){function e(g){var f=g.findComponents({mainType:"legend"});f&&f.length&&g.filterSeries(function(y){for(var m=0;m<f.length;m++)if(!f[m].isSelected(y.name))return!1;return!0})}D.exports=e},kGiB:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("ABKa"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},kMLO:function(D,_,e){var g=e("XxSj"),f=e("Qe9p"),y=e("bYtY"),m=y.isArray,v="itemStyle",h={seriesType:"treemap",reset:function(t,s,u,p){var w=t.getData().tree,b=w.root,E=t.getModel(v);if(b.isRemoved())return;var A=y.map(w.levelModels,function(S){return S?S.get(v):null});c(b,{},A,E,t.getViewRoot().getAncestors(),t)}};function c(t,s,u,p,w,b){var E=t.getModel(),A=t.getLayout();if(!A||A.invisible||!A.isInView)return;var S=t.getModel(v),T=u[t.depth],L=a(S,s,T,p),x=S.get("borderColor"),C=S.get("borderColorSaturation"),I;C!=null&&(I=i(L,t),x=r(C,I)),t.setVisual("borderColor",x);var N=t.viewChildren;if(!N||!N.length)I=i(L,t),t.setVisual("color",I);else{var F=d(t,E,A,S,L,N);y.each(N,function(k,B){if(k.depth>=w.length||k===w[k.depth]){var P=l(E,L,k,B,F,b);c(k,P,u,p,w,b)}})}}function a(t,s,u,p){var w=y.extend({},s);return y.each(["color","colorAlpha","colorSaturation"],function(b){var E=t.get(b,!0);E==null&&u&&(E=u[b]),E==null&&(E=s[b]),E==null&&(E=p.get(b)),E!=null&&(w[b]=E)}),w}function i(t){var s=o(t,"color");if(s){var u=o(t,"colorAlpha"),p=o(t,"colorSaturation");return p&&(s=f.modifyHSL(s,null,null,p)),u&&(s=f.modifyAlpha(s,u)),s}}function r(t,s){return s!=null?f.modifyHSL(s,null,null,t):null}function o(t,s){var u=t[s];if(u!=null&&u!=="none")return u}function d(t,s,u,p,w,b){if(!b||!b.length)return;var E=n(s,"color")||w.color!=null&&w.color!=="none"&&(n(s,"colorAlpha")||n(s,"colorSaturation"));if(!E)return;var A=s.get("visualMin"),S=s.get("visualMax"),T=u.dataExtent.slice();A!=null&&A<T[0]&&(T[0]=A),S!=null&&S>T[1]&&(T[1]=S);var L=s.get("colorMappingBy"),x={type:E.name,dataExtent:T,visual:E.range};x.type==="color"&&(L==="index"||L==="id")?(x.mappingMethod="category",x.loop=!0):x.mappingMethod="linear";var C=new g(x);return C.__drColorMappingBy=L,C}function n(t,s){var u=t.get(s);return m(u)&&u.length?{name:s,range:u}:null}function l(t,s,u,p,w,b){var E=y.extend({},s);if(w){var A=w.type,S=A==="color"&&w.__drColorMappingBy,T=S==="index"?p:S==="id"?b.mapIdToIndex(u.getId()):u.getValue(t.get("visualDimension"));E[A]=w.mapValueToVisual(T)}return E}D.exports=h},"kVK+":function(D,_){_.read=function(e,g,f,y,m){var v,h,c=m*8-y-1,a=(1<<c)-1,i=a>>1,r=-7,o=f?m-1:0,d=f?-1:1,n=e[g+o];for(o+=d,v=n&(1<<-r)-1,n>>=-r,r+=c;r>0;v=v*256+e[g+o],o+=d,r-=8);for(h=v&(1<<-r)-1,v>>=-r,r+=y;r>0;h=h*256+e[g+o],o+=d,r-=8);if(v===0)v=1-i;else{if(v===a)return h?NaN:(n?-1:1)*Infinity;h=h+Math.pow(2,y),v=v-i}return(n?-1:1)*h*Math.pow(2,v-y)},_.write=function(e,g,f,y,m,v){var h,c,a,i=v*8-m-1,r=(1<<i)-1,o=r>>1,d=m===23?Math.pow(2,-24)-Math.pow(2,-77):0,n=y?0:v-1,l=y?1:-1,t=g<0||g===0&&1/g<0?1:0;for(g=Math.abs(g),isNaN(g)||g===Infinity?(c=isNaN(g)?1:0,h=r):(h=Math.floor(Math.log(g)/Math.LN2),g*(a=Math.pow(2,-h))<1&&(h--,a*=2),h+o>=1?g+=d/a:g+=d*Math.pow(2,1-o),g*a>=2&&(h++,a/=2),h+o>=r?(c=0,h=r):h+o>=1?(c=(g*a-1)*Math.pow(2,m),h=h+o):(c=g*Math.pow(2,o-1)*Math.pow(2,m),h=0));m>=8;e[f+n]=c&255,n+=l,c/=256,m-=8);for(h=h<<m|c,i+=m;i>0;e[f+n]=h&255,n+=l,h/=256,i-=8);e[f+n-l]|=t*128}},kekF:function(D,_){function e(g,f){return function(y){return g(f(y))}}D.exports=e},kj2x:function(D,_,e){var g=e("bYtY"),f=e("OELB"),y=e("7hqr"),m=y.isDimensionStacked,v=g.indexOf;function h(u){return!(isNaN(parseFloat(u.x))&&isNaN(parseFloat(u.y)))}function c(u){return!isNaN(parseFloat(u.x))&&!isNaN(parseFloat(u.y))}function a(u,p,w,b,E,A){var S=[],T=m(p,b),L=T?p.getCalculationInfo("stackResultDimension"):b,x=s(p,L,u),C=p.indicesOfNearest(L,x)[0];S[E]=p.get(w,C),S[A]=p.get(L,C);var I=p.get(b,C),N=f.getPrecision(p.get(b,C));return N=Math.min(N,20),N>=0&&(S[A]=+S[A].toFixed(N)),[S,I]}var i=g.curry,r={min:i(a,"min"),max:i(a,"max"),average:i(a,"average")};function o(u,p){var w=u.getData(),b=u.coordinateSystem;if(p&&!c(p)&&!g.isArray(p.coord)&&b){var E=b.dimensions,A=d(p,w,b,u);if(p=g.clone(p),p.type&&r[p.type]&&A.baseAxis&&A.valueAxis){var S=v(E,A.baseAxis.dim),T=v(E,A.valueAxis.dim),L=r[p.type](w,A.baseDataDim,A.valueDataDim,S,T);p.coord=L[0],p.value=L[1]}else{for(var x=[p.xAxis!=null?p.xAxis:p.radiusAxis,p.yAxis!=null?p.yAxis:p.angleAxis],C=0;C<2;C++)r[x[C]]&&(x[C]=s(w,w.mapDimension(E[C]),x[C]));p.coord=x}}return p}function d(u,p,w,b){var E={};return u.valueIndex!=null||u.valueDim!=null?(E.valueDataDim=u.valueIndex!=null?p.getDimension(u.valueIndex):u.valueDim,E.valueAxis=w.getAxis(n(b,E.valueDataDim)),E.baseAxis=w.getOtherAxis(E.valueAxis),E.baseDataDim=p.mapDimension(E.baseAxis.dim)):(E.baseAxis=b.getBaseAxis(),E.valueAxis=w.getOtherAxis(E.baseAxis),E.baseDataDim=p.mapDimension(E.baseAxis.dim),E.valueDataDim=p.mapDimension(E.valueAxis.dim)),E}function n(u,p){var w=u.getData(),b=w.dimensions;p=w.getDimension(p);for(var E=0;E<b.length;E++){var A=w.getDimensionInfo(b[E]);if(A.name===p)return A.coordDim}}function l(u,p){return u&&u.containData&&p.coord&&!h(p)?u.containData(p.coord):!0}function t(u,p,w,b){return b<2?u.coord&&u.coord[b]:u.value}function s(u,p,w){if(w==="average"){var b=0,E=0;return u.each(p,function(A,S){isNaN(A)||(b+=A,E++)}),b/E}else return w==="median"?u.getMedian(p):u.getDataExtent(p,!0)[w==="max"?1:0]}_.dataTransform=o,_.getAxisInfo=d,_.dataFilter=l,_.dimValueGetter=t,_.numCalculate=s},knOB:function(D,_,e){var g=e("bYtY"),f=e("hM6l");function y(v,h){f.call(this,"radius",v,h),this.type="category"}y.prototype={constructor:y,pointToData:function(v,h){return this.polar.pointToData(v,h)[this.dim==="radius"?0:1]},dataToRadius:f.prototype.dataToCoord,radiusToData:f.prototype.coordToData},g.inherits(y,f);var m=y;D.exports=m},ko1b:function(D,_,e){var g=e("bYtY"),f=e("T4UG"),y=e("Bsck"),m=e("Qxkt"),v=e("7aKB"),h=v.encodeHTML,c=v.addCommas,a=e("VaxA"),i=a.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 u=g.map(s||[],function(b){return new m(b,this,l)},this),p=y.createTree(t,this,null,w);function w(b){b.wrapMethod("getItemModel",function(E,A){var S=p.getNodeByDataIndex(A),T=u[S.depth];return T&&(E.parentModel=T),E})}return p.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(n){var l=this.getData(),t=this.getRawValue(n),s=g.isArray(t)?c(t[0]):c(t),u=l.getName(n);return h(u+": "+s)},getDataParams:function(n){var l=f.prototype.getDataParams.apply(this,arguments),t=this.getData().tree.getNodeByDataIndex(n);return l.treePathInfo=i(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 u=s.value;g.isArray(u)&&(u=u[0]),l+=u});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 w=new m(p),b=w.get("color");(w.get("itemStyle.color")||b&&b!=="none")&&(s=!0)}),!s){var u=n[0]||(n[0]={});u.color=t.slice()}return n}D.exports=r},kzFp:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g=_.pick=function(y,m){var v={};return m.forEach(function(h){v[h]=y[h]}),v}},kzvK:function(D,_,e){var g=e("sS/r"),f=g.extend({type:"timeline"});D.exports=f},"l+S1":function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="SearchOutlined";var h=_.a=g.forwardRef(v)},lE7J:function(D,_,e){var g=e("OELB"),f=g.round;function y(c,a,i,r){var o={},d=c[1]-c[0],n=o.interval=g.nice(d/a,!0);i!=null&&n<i&&(n=o.interval=i),r!=null&&n>r&&(n=o.interval=r);var l=o.intervalPrecision=m(n),t=o.niceTickExtent=[f(Math.ceil(c[0]/n)*n,l),f(Math.floor(c[1]/n)*n,l)];return h(t,c),o}function m(c){return g.getPrecisionSafe(c)+2}function v(c,a,i){c[a]=Math.max(Math.min(c[a],i[1]),i[0])}function h(c,a){!isFinite(c[0])&&(c[0]=a[0]),!isFinite(c[1])&&(c[1]=a[1]),v(c,0,a),v(c,1,a),c[0]>c[1]&&(c[0]=c[1])}_.intervalScaleNiceTicks=y,_.getIntervalPrecision=m,_.fixExtent=h},lELe:function(D,_,e){var g=e("bYtY");function f(y){var m=[];g.each(y.series,function(v){v&&v.type==="map"&&(m.push(v),v.map=v.map||v.mapType,g.defaults(v,v.mapLocation))})}D.exports=f},lLGD:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("nVfU"),m=y.layout,v=y.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,v),g.registerVisual({seriesType:"bar",reset:function(h){h.getData().setVisual("legendSymbol","roundRect")}})},lNSK:function(D,_,e){"use strict";function g(ve){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(dt){return typeof dt}:g=function(dt){return dt&&typeof Symbol=="function"&&dt.constructor===Symbol&&dt!==Symbol.prototype?"symbol":typeof dt},g(ve)}Object.defineProperty(_,"__esModule",{value:!0}),_.deflateInit=Ve,_.deflateInit2=st,_.deflateReset=et,_.deflateResetKeep=Ye,_.deflateSetHeader=rt,_.deflate=oe,_.deflateEnd=re,_.deflateSetDictionary=it,_.deflateInfo=_.Z_DEFLATED=_.Z_UNKNOWN=_.Z_DEFAULT_STRATEGY=_.Z_FIXED=_.Z_RLE=_.Z_HUFFMAN_ONLY=_.Z_FILTERED=_.Z_DEFAULT_COMPRESSION=_.Z_BUF_ERROR=_.Z_DATA_ERROR=_.Z_STREAM_ERROR=_.Z_STREAM_END=_.Z_OK=_.Z_BLOCK=_.Z_FINISH=_.Z_FULL_FLUSH=_.Z_PARTIAL_FLUSH=_.Z_NO_FLUSH=void 0;var f=i(e("6BzB")),y=i(e("c5fP")),m=c(e("xlC8")),v=c(e("QV2g")),h=c(e("xSIq"));function c(ve){return ve&&ve.__esModule?ve:{default:ve}}function a(){if(typeof WeakMap!="function")return null;var ve=new WeakMap;return a=function(){return ve},ve}function i(ve){if(ve&&ve.__esModule)return ve;if(ve===null||g(ve)!=="object"&&typeof ve!="function")return{default:ve};var Zt=a();if(Zt&&Zt.has(ve))return Zt.get(ve);var dt={},ct=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var yt in ve)if(Object.prototype.hasOwnProperty.call(ve,yt)){var _t=ct?Object.getOwnPropertyDescriptor(ve,yt):null;_t&&(_t.get||_t.set)?Object.defineProperty(dt,yt,_t):dt[yt]=ve[yt]}return dt.default=ve,Zt&&Zt.set(ve,dt),dt}var r=0;_.Z_NO_FLUSH=r;var o=1;_.Z_PARTIAL_FLUSH=o;var d=3;_.Z_FULL_FLUSH=d;var n=4;_.Z_FINISH=n;var l=5;_.Z_BLOCK=l;var t=0;_.Z_OK=t;var s=1;_.Z_STREAM_END=s;var u=-2;_.Z_STREAM_ERROR=u;var p=-3;_.Z_DATA_ERROR=p;var w=-5;_.Z_BUF_ERROR=w;var b=-1;_.Z_DEFAULT_COMPRESSION=b;var E=1;_.Z_FILTERED=E;var A=2;_.Z_HUFFMAN_ONLY=A;var S=3;_.Z_RLE=S;var T=4;_.Z_FIXED=T;var L=0;_.Z_DEFAULT_STRATEGY=L;var x=2;_.Z_UNKNOWN=x;var C=8;_.Z_DEFLATED=C;var I=9,N=15,F=8,k=29,B=256,P=B+1+k,K=30,R=19,U=2*P+1,j=15,H=3,W=258,X=W+H+1,z=32,G=42,Z=69,ge=73,Q=91,we=103,Ee=113,Ae=666,Pe=1,Ge=2,gt=3,_e=4,Ce=3;function lt(ve,Zt){return ve.msg=h.default[Zt],Zt}function ce(ve){return(ve<<1)-(ve>4?9:0)}function Y(ve){for(var Zt=ve.length;--Zt>=0;)ve[Zt]=0}function V(ve){var Zt=ve.state,dt=Zt.pending;if(dt>ve.avail_out&&(dt=ve.avail_out),dt===0)return;f.arraySet(ve.output,Zt.pending_buf,Zt.pending_out,dt,ve.next_out),ve.next_out+=dt,Zt.pending_out+=dt,ve.total_out+=dt,ve.avail_out-=dt,Zt.pending-=dt,Zt.pending===0&&(Zt.pending_out=0)}function $(ve,Zt){y._tr_flush_block(ve,ve.block_start>=0?ve.block_start:-1,ve.strstart-ve.block_start,Zt),ve.block_start=ve.strstart,V(ve.strm)}function Te(ve,Zt){ve.pending_buf[ve.pending++]=Zt}function ye(ve,Zt){ve.pending_buf[ve.pending++]=Zt>>>8&255,ve.pending_buf[ve.pending++]=Zt&255}function Fe(ve,Zt,dt,ct){var yt=ve.avail_in;return yt>ct&&(yt=ct),yt===0?0:(ve.avail_in-=yt,f.arraySet(Zt,ve.input,ve.next_in,yt,dt),ve.state.wrap===1?ve.adler=(0,m.default)(ve.adler,Zt,yt,dt):ve.state.wrap===2&&(ve.adler=(0,v.default)(ve.adler,Zt,yt,dt)),ve.next_in+=yt,ve.total_in+=yt,yt)}function Oe(ve,Zt){var dt=ve.max_chain_length,ct=ve.strstart,yt,_t,or=ve.prev_length,Pt=ve.nice_match,be=ve.strstart>ve.w_size-X?ve.strstart-(ve.w_size-X):0,me=ve.window,pe=ve.w_mask,ue=ve.prev,De=ve.strstart+W,He=me[ct+or-1],ze=me[ct+or];ve.prev_length>=ve.good_match&&(dt>>=2),Pt>ve.lookahead&&(Pt=ve.lookahead);do{if(yt=Zt,me[yt+or]!==ze||me[yt+or-1]!==He||me[yt]!==me[ct]||me[++yt]!==me[ct+1])continue;ct+=2,yt++;do;while(me[++ct]===me[++yt]&&me[++ct]===me[++yt]&&me[++ct]===me[++yt]&&me[++ct]===me[++yt]&&me[++ct]===me[++yt]&&me[++ct]===me[++yt]&&me[++ct]===me[++yt]&&me[++ct]===me[++yt]&&ct<De);if(_t=W-(De-ct),ct=De-W,_t>or){if(ve.match_start=Zt,or=_t,_t>=Pt)break;He=me[ct+or-1],ze=me[ct+or]}}while((Zt=ue[Zt&pe])>be&&--dt!==0);return or<=ve.lookahead?or:ve.lookahead}function se(ve){var Zt=ve.w_size,dt,ct,yt,_t,or;do{if(_t=ve.window_size-ve.lookahead-ve.strstart,ve.strstart>=Zt+(Zt-X)){f.arraySet(ve.window,ve.window,Zt,Zt,0),ve.match_start-=Zt,ve.strstart-=Zt,ve.block_start-=Zt,ct=ve.hash_size,dt=ct;do yt=ve.head[--dt],ve.head[dt]=yt>=Zt?yt-Zt:0;while(--ct);ct=Zt,dt=ct;do yt=ve.prev[--dt],ve.prev[dt]=yt>=Zt?yt-Zt:0;while(--ct);_t+=Zt}if(ve.strm.avail_in===0)break;if(ct=Fe(ve.strm,ve.window,ve.strstart+ve.lookahead,_t),ve.lookahead+=ct,ve.lookahead+ve.insert>=H)for(or=ve.strstart-ve.insert,ve.ins_h=ve.window[or],ve.ins_h=(ve.ins_h<<ve.hash_shift^ve.window[or+1])&ve.hash_mask;ve.insert&&!(ve.ins_h=(ve.ins_h<<ve.hash_shift^ve.window[or+H-1])&ve.hash_mask,ve.prev[or&ve.w_mask]=ve.head[ve.ins_h],ve.head[ve.ins_h]=or,or++,ve.insert--,ve.lookahead+ve.insert<H););}while(ve.lookahead<X&&ve.strm.avail_in!==0)}function fe(ve,Zt){var dt=65535;for(dt>ve.pending_buf_size-5&&(dt=ve.pending_buf_size-5);;){if(ve.lookahead<=1){if(se(ve),ve.lookahead===0&&Zt===r)return Pe;if(ve.lookahead===0)break}ve.strstart+=ve.lookahead,ve.lookahead=0;var ct=ve.block_start+dt;if((ve.strstart===0||ve.strstart>=ct)&&(ve.lookahead=ve.strstart-ct,ve.strstart=ct,$(ve,!1),ve.strm.avail_out===0))return Pe;if(ve.strstart-ve.block_start>=ve.w_size-X&&($(ve,!1),ve.strm.avail_out===0))return Pe}return ve.insert=0,Zt===n?($(ve,!0),ve.strm.avail_out===0?gt:_e):(ve.strstart>ve.block_start&&($(ve,!1),ve.strm.avail_out===0),Pe)}function Le(ve,Zt){for(var dt,ct;;){if(ve.lookahead<X){if(se(ve),ve.lookahead<X&&Zt===r)return Pe;if(ve.lookahead===0)break}if(dt=0,ve.lookahead>=H&&(ve.ins_h=(ve.ins_h<<ve.hash_shift^ve.window[ve.strstart+H-1])&ve.hash_mask,dt=ve.prev[ve.strstart&ve.w_mask]=ve.head[ve.ins_h],ve.head[ve.ins_h]=ve.strstart),dt!==0&&ve.strstart-dt<=ve.w_size-X&&(ve.match_length=Oe(ve,dt)),ve.match_length>=H)if(ct=y._tr_tally(ve,ve.strstart-ve.match_start,ve.match_length-H),ve.lookahead-=ve.match_length,ve.match_length<=ve.max_lazy_match&&ve.lookahead>=H){ve.match_length--;do ve.strstart++,ve.ins_h=(ve.ins_h<<ve.hash_shift^ve.window[ve.strstart+H-1])&ve.hash_mask,dt=ve.prev[ve.strstart&ve.w_mask]=ve.head[ve.ins_h],ve.head[ve.ins_h]=ve.strstart;while(--ve.match_length!==0);ve.strstart++}else ve.strstart+=ve.match_length,ve.match_length=0,ve.ins_h=ve.window[ve.strstart],ve.ins_h=(ve.ins_h<<ve.hash_shift^ve.window[ve.strstart+1])&ve.hash_mask;else ct=y._tr_tally(ve,0,ve.window[ve.strstart]),ve.lookahead--,ve.strstart++;if(ct&&($(ve,!1),ve.strm.avail_out===0))return Pe}return ve.insert=ve.strstart<H-1?ve.strstart:H-1,Zt===n?($(ve,!0),ve.strm.avail_out===0?gt:_e):ve.last_lit&&($(ve,!1),ve.strm.avail_out===0)?Pe:Ge}function Je(ve,Zt){for(var dt,ct,yt;;){if(ve.lookahead<X){if(se(ve),ve.lookahead<X&&Zt===r)return Pe;if(ve.lookahead===0)break}if(dt=0,ve.lookahead>=H&&(ve.ins_h=(ve.ins_h<<ve.hash_shift^ve.window[ve.strstart+H-1])&ve.hash_mask,dt=ve.prev[ve.strstart&ve.w_mask]=ve.head[ve.ins_h],ve.head[ve.ins_h]=ve.strstart),ve.prev_length=ve.match_length,ve.prev_match=ve.match_start,ve.match_length=H-1,dt!==0&&ve.prev_length<ve.max_lazy_match&&ve.strstart-dt<=ve.w_size-X&&(ve.match_length=Oe(ve,dt),ve.match_length<=5&&(ve.strategy===E||ve.match_length===H&&ve.strstart-ve.match_start>4096)&&(ve.match_length=H-1)),ve.prev_length>=H&&ve.match_length<=ve.prev_length){yt=ve.strstart+ve.lookahead-H,ct=y._tr_tally(ve,ve.strstart-1-ve.prev_match,ve.prev_length-H),ve.lookahead-=ve.prev_length-1,ve.prev_length-=2;do++ve.strstart<=yt&&(ve.ins_h=(ve.ins_h<<ve.hash_shift^ve.window[ve.strstart+H-1])&ve.hash_mask,dt=ve.prev[ve.strstart&ve.w_mask]=ve.head[ve.ins_h],ve.head[ve.ins_h]=ve.strstart);while(--ve.prev_length!==0);if(ve.match_available=0,ve.match_length=H-1,ve.strstart++,ct&&($(ve,!1),ve.strm.avail_out===0))return Pe}else if(ve.match_available){if(ct=y._tr_tally(ve,0,ve.window[ve.strstart-1]),ct&&$(ve,!1),ve.strstart++,ve.lookahead--,ve.strm.avail_out===0)return Pe}else ve.match_available=1,ve.strstart++,ve.lookahead--}return ve.match_available&&(ct=y._tr_tally(ve,0,ve.window[ve.strstart-1]),ve.match_available=0),ve.insert=ve.strstart<H-1?ve.strstart:H-1,Zt===n?($(ve,!0),ve.strm.avail_out===0?gt:_e):ve.last_lit&&($(ve,!1),ve.strm.avail_out===0)?Pe:Ge}function mt(ve,Zt){for(var dt,ct,yt,_t,or=ve.window;;){if(ve.lookahead<=W){if(se(ve),ve.lookahead<=W&&Zt===r)return Pe;if(ve.lookahead===0)break}if(ve.match_length=0,ve.lookahead>=H&&ve.strstart>0&&(yt=ve.strstart-1,ct=or[yt],ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt])){_t=ve.strstart+W;do;while(ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt]&&ct===or[++yt]&&yt<_t);ve.match_length=W-(_t-yt),ve.match_length>ve.lookahead&&(ve.match_length=ve.lookahead)}if(ve.match_length>=H?(dt=y._tr_tally(ve,1,ve.match_length-H),ve.lookahead-=ve.match_length,ve.strstart+=ve.match_length,ve.match_length=0):(dt=y._tr_tally(ve,0,ve.window[ve.strstart]),ve.lookahead--,ve.strstart++),dt&&($(ve,!1),ve.strm.avail_out===0))return Pe}return ve.insert=0,Zt===n?($(ve,!0),ve.strm.avail_out===0?gt:_e):ve.last_lit&&($(ve,!1),ve.strm.avail_out===0)?Pe:Ge}function Ct(ve,Zt){for(var dt;;){if(ve.lookahead===0&&(se(ve),ve.lookahead===0)){if(Zt===r)return Pe;break}if(ve.match_length=0,dt=y._tr_tally(ve,0,ve.window[ve.strstart]),ve.lookahead--,ve.strstart++,dt&&($(ve,!1),ve.strm.avail_out===0))return Pe}return ve.insert=0,Zt===n?($(ve,!0),ve.strm.avail_out===0?gt:_e):ve.last_lit&&($(ve,!1),ve.strm.avail_out===0)?Pe:Ge}function Ue(ve,Zt,dt,ct,yt){this.good_length=ve,this.max_lazy=Zt,this.nice_length=dt,this.max_chain=ct,this.func=yt}var Rt;Rt=[new Ue(0,0,0,0,fe),new Ue(4,4,8,4,Le),new Ue(4,5,16,8,Le),new Ue(4,6,32,32,Le),new Ue(4,4,16,16,Je),new Ue(8,16,32,32,Je),new Ue(8,16,128,128,Je),new Ue(8,32,128,256,Je),new Ue(32,128,258,1024,Je),new Ue(32,258,258,4096,Je)];function Ke(ve){ve.window_size=2*ve.w_size,Y(ve.head),ve.max_lazy_match=Rt[ve.level].max_lazy,ve.good_match=Rt[ve.level].good_length,ve.nice_match=Rt[ve.level].nice_length,ve.max_chain_length=Rt[ve.level].max_chain,ve.strstart=0,ve.block_start=0,ve.lookahead=0,ve.insert=0,ve.match_length=ve.prev_length=H-1,ve.match_available=0,ve.ins_h=0}function wt(){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=C,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(U*2),this.dyn_dtree=new f.Buf16((2*K+1)*2),this.bl_tree=new f.Buf16((2*R+1)*2),Y(this.dyn_ltree),Y(this.dyn_dtree),Y(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*P+1),Y(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new f.Buf16(2*P+1),Y(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 Ye(ve){var Zt;return!ve||!ve.state?lt(ve,u):(ve.total_in=ve.total_out=0,ve.data_type=x,Zt=ve.state,Zt.pending=0,Zt.pending_out=0,Zt.wrap<0&&(Zt.wrap=-Zt.wrap),Zt.status=Zt.wrap?G:Ee,ve.adler=Zt.wrap===2?0:1,Zt.last_flush=r,y._tr_init(Zt),t)}function et(ve){var Zt=Ye(ve);return Zt===t&&Ke(ve.state),Zt}function rt(ve,Zt){return!ve||!ve.state||ve.state.wrap!==2?u:(ve.state.gzhead=Zt,t)}function st(ve,Zt,dt,ct,yt,_t){if(!ve)return u;var or=1;if(Zt===b&&(Zt=6),ct<0?(or=0,ct=-ct):ct>15&&(or=2,ct-=16),yt<1||yt>I||dt!==C||ct<8||ct>15||Zt<0||Zt>9||_t<0||_t>T)return lt(ve,u);ct===8&&(ct=9);var Pt=new wt;return ve.state=Pt,Pt.strm=ve,Pt.wrap=or,Pt.gzhead=null,Pt.w_bits=ct,Pt.w_size=1<<Pt.w_bits,Pt.w_mask=Pt.w_size-1,Pt.hash_bits=yt+7,Pt.hash_size=1<<Pt.hash_bits,Pt.hash_mask=Pt.hash_size-1,Pt.hash_shift=~~((Pt.hash_bits+H-1)/H),Pt.window=new f.Buf8(Pt.w_size*2),Pt.head=new f.Buf16(Pt.hash_size),Pt.prev=new f.Buf16(Pt.w_size),Pt.lit_bufsize=1<<yt+6,Pt.pending_buf_size=Pt.lit_bufsize*4,Pt.pending_buf=new f.Buf8(Pt.pending_buf_size),Pt.d_buf=1*Pt.lit_bufsize,Pt.l_buf=(1+2)*Pt.lit_bufsize,Pt.level=Zt,Pt.strategy=_t,Pt.method=dt,et(ve)}function Ve(ve,Zt){return st(ve,Zt,C,N,F,L)}function oe(ve,Zt){var dt,ct,yt,_t;if(!ve||!ve.state||Zt>l||Zt<0)return ve?lt(ve,u):u;if(ct=ve.state,!ve.output||!ve.input&&ve.avail_in!==0||ct.status===Ae&&Zt!==n)return lt(ve,ve.avail_out===0?w:u);if(ct.strm=ve,dt=ct.last_flush,ct.last_flush=Zt,ct.status===G)if(ct.wrap===2)ve.adler=0,Te(ct,31),Te(ct,139),Te(ct,8),ct.gzhead?(Te(ct,(ct.gzhead.text?1:0)+(ct.gzhead.hcrc?2:0)+(ct.gzhead.extra?4:0)+(ct.gzhead.name?8:0)+(ct.gzhead.comment?16:0)),Te(ct,ct.gzhead.time&255),Te(ct,ct.gzhead.time>>8&255),Te(ct,ct.gzhead.time>>16&255),Te(ct,ct.gzhead.time>>24&255),Te(ct,ct.level===9?2:ct.strategy>=A||ct.level<2?4:0),Te(ct,ct.gzhead.os&255),ct.gzhead.extra&&ct.gzhead.extra.length&&(Te(ct,ct.gzhead.extra.length&255),Te(ct,ct.gzhead.extra.length>>8&255)),ct.gzhead.hcrc&&(ve.adler=(0,v.default)(ve.adler,ct.pending_buf,ct.pending,0)),ct.gzindex=0,ct.status=Z):(Te(ct,0),Te(ct,0),Te(ct,0),Te(ct,0),Te(ct,0),Te(ct,ct.level===9?2:ct.strategy>=A||ct.level<2?4:0),Te(ct,Ce),ct.status=Ee);else{var or=C+(ct.w_bits-8<<4)<<8,Pt=-1;ct.strategy>=A||ct.level<2?Pt=0:ct.level<6?Pt=1:ct.level===6?Pt=2:Pt=3,or|=Pt<<6,ct.strstart!==0&&(or|=z),or+=31-or%31,ct.status=Ee,ye(ct,or),ct.strstart!==0&&(ye(ct,ve.adler>>>16),ye(ct,ve.adler&65535)),ve.adler=1}if(ct.status===Z)if(ct.gzhead.extra){for(yt=ct.pending;ct.gzindex<(ct.gzhead.extra.length&65535)&&!(ct.pending===ct.pending_buf_size&&(ct.gzhead.hcrc&&ct.pending>yt&&(ve.adler=(0,v.default)(ve.adler,ct.pending_buf,ct.pending-yt,yt)),V(ve),yt=ct.pending,ct.pending===ct.pending_buf_size));)Te(ct,ct.gzhead.extra[ct.gzindex]&255),ct.gzindex++;ct.gzhead.hcrc&&ct.pending>yt&&(ve.adler=(0,v.default)(ve.adler,ct.pending_buf,ct.pending-yt,yt)),ct.gzindex===ct.gzhead.extra.length&&(ct.gzindex=0,ct.status=ge)}else ct.status=ge;if(ct.status===ge)if(ct.gzhead.name){yt=ct.pending;do{if(ct.pending===ct.pending_buf_size&&(ct.gzhead.hcrc&&ct.pending>yt&&(ve.adler=(0,v.default)(ve.adler,ct.pending_buf,ct.pending-yt,yt)),V(ve),yt=ct.pending,ct.pending===ct.pending_buf_size)){_t=1;break}ct.gzindex<ct.gzhead.name.length?_t=ct.gzhead.name.charCodeAt(ct.gzindex++)&255:_t=0,Te(ct,_t)}while(_t!==0);ct.gzhead.hcrc&&ct.pending>yt&&(ve.adler=(0,v.default)(ve.adler,ct.pending_buf,ct.pending-yt,yt)),_t===0&&(ct.gzindex=0,ct.status=Q)}else ct.status=Q;if(ct.status===Q)if(ct.gzhead.comment){yt=ct.pending;do{if(ct.pending===ct.pending_buf_size&&(ct.gzhead.hcrc&&ct.pending>yt&&(ve.adler=(0,v.default)(ve.adler,ct.pending_buf,ct.pending-yt,yt)),V(ve),yt=ct.pending,ct.pending===ct.pending_buf_size)){_t=1;break}ct.gzindex<ct.gzhead.comment.length?_t=ct.gzhead.comment.charCodeAt(ct.gzindex++)&255:_t=0,Te(ct,_t)}while(_t!==0);ct.gzhead.hcrc&&ct.pending>yt&&(ve.adler=(0,v.default)(ve.adler,ct.pending_buf,ct.pending-yt,yt)),_t===0&&(ct.status=we)}else ct.status=we;if(ct.status===we&&(ct.gzhead.hcrc?(ct.pending+2>ct.pending_buf_size&&V(ve),ct.pending+2<=ct.pending_buf_size&&(Te(ct,ve.adler&255),Te(ct,ve.adler>>8&255),ve.adler=0,ct.status=Ee)):ct.status=Ee),ct.pending!==0){if(V(ve),ve.avail_out===0)return ct.last_flush=-1,t}else if(ve.avail_in===0&&ce(Zt)<=ce(dt)&&Zt!==n)return lt(ve,w);if(ct.status===Ae&&ve.avail_in!==0)return lt(ve,w);if(ve.avail_in!==0||ct.lookahead!==0||Zt!==r&&ct.status!==Ae){var be=ct.strategy===A?Ct(ct,Zt):ct.strategy===S?mt(ct,Zt):Rt[ct.level].func(ct,Zt);if((be===gt||be===_e)&&(ct.status=Ae),be===Pe||be===gt)return ve.avail_out===0&&(ct.last_flush=-1),t;if(be===Ge&&(Zt===o?y._tr_align(ct):Zt!==l&&(y._tr_stored_block(ct,0,0,!1),Zt===d&&(Y(ct.head),ct.lookahead===0&&(ct.strstart=0,ct.block_start=0,ct.insert=0))),V(ve),ve.avail_out===0))return ct.last_flush=-1,t}return Zt!==n?t:ct.wrap<=0?s:(ct.wrap===2?(Te(ct,ve.adler&255),Te(ct,ve.adler>>8&255),Te(ct,ve.adler>>16&255),Te(ct,ve.adler>>24&255),Te(ct,ve.total_in&255),Te(ct,ve.total_in>>8&255),Te(ct,ve.total_in>>16&255),Te(ct,ve.total_in>>24&255)):(ye(ct,ve.adler>>>16),ye(ct,ve.adler&65535)),V(ve),ct.wrap>0&&(ct.wrap=-ct.wrap),ct.pending!==0?t:s)}function re(ve){var Zt;return!ve||!ve.state?u:(Zt=ve.state.status,Zt!==G&&Zt!==Z&&Zt!==ge&&Zt!==Q&&Zt!==we&&Zt!==Ee&&Zt!==Ae?lt(ve,u):(ve.state=null,Zt===Ee?lt(ve,p):t))}function it(ve,Zt){var dt=Zt.length,ct,yt,_t,or,Pt,be,me,pe;if(!ve||!ve.state)return u;if(ct=ve.state,or=ct.wrap,or===2||or===1&&ct.status!==G||ct.lookahead)return u;for(or===1&&(ve.adler=(0,m.default)(ve.adler,Zt,dt,0)),ct.wrap=0,dt>=ct.w_size&&(or===0&&(Y(ct.head),ct.strstart=0,ct.block_start=0,ct.insert=0),pe=new f.Buf8(ct.w_size),f.arraySet(pe,Zt,dt-ct.w_size,ct.w_size,0),Zt=pe,dt=ct.w_size),Pt=ve.avail_in,be=ve.next_in,me=ve.input,ve.avail_in=dt,ve.next_in=0,ve.input=Zt,se(ct);ct.lookahead>=H;){yt=ct.strstart,_t=ct.lookahead-(H-1);do ct.ins_h=(ct.ins_h<<ct.hash_shift^ct.window[yt+H-1])&ct.hash_mask,ct.prev[yt&ct.w_mask]=ct.head[ct.ins_h],ct.head[ct.ins_h]=yt,yt++;while(--_t);ct.strstart=yt,ct.lookahead=H-1,se(ct)}return ct.strstart+=ct.lookahead,ct.block_start=ct.strstart,ct.insert=ct.lookahead,ct.lookahead=0,ct.match_length=ct.prev_length=H-1,ct.match_available=0,ve.next_in=be,ve.input=me,ve.avail_in=Pt,ct.wrap=or,t}var Qe="pako deflate (from Nodeca project)";_.deflateInfo=Qe},lOQZ:function(D,_,e){var g=e("QBsz"),f=e("U/Mo"),y=f.getSymbolSize,m=f.getNodeGlobalScale,v=Math.PI,h=[];function c(i,r){var o=i.coordinateSystem;if(o&&o.type!=="view")return;var d=o.getBoundingRect(),n=i.getData(),l=n.graph,t=d.width/2+d.x,s=d.height/2+d.y,u=Math.min(d.width,d.height)/2,p=n.count();if(n.setLayout({cx:t,cy:s}),!p)return;a[r](i,o,l,n,u,t,s,p),l.eachEdge(function(w){var b=w.getModel().get("lineStyle.curveness")||0,E=g.clone(w.node1.getLayout()),A=g.clone(w.node2.getLayout()),S,T=(E[0]+A[0])/2,L=(E[1]+A[1])/2;+b&&(b*=3,S=[t*b+T*(1-b),s*b+L*(1-b)]),w.setLayout([E,A,S])})}var a={value:function(i,r,o,d,n,l,t,s){var u=0,p=d.getSum("value"),w=Math.PI*2/(p||s);o.eachNode(function(b){var E=b.getValue("value"),A=w*(p?E:1)/2;u+=A,b.setLayout([n*Math.cos(u)+l,n*Math.sin(u)+t]),u+=A})},symbolSize:function(i,r,o,d,n,l,t,s){var u=0;h.length=s;var p=m(i);o.eachNode(function(E){var A=y(E);isNaN(A)&&(A=2),A<0&&(A=0),A*=p;var S=Math.asin(A/2/n);isNaN(S)&&(S=v/2),h[E.dataIndex]=S,u+=S*2});var w=(2*v-u)/s/2,b=0;o.eachNode(function(E){var A=w+h[E.dataIndex];b+=A,E.setLayout([n*Math.cos(b)+l,n*Math.sin(b)+t]),b+=A})}};_.circularLayout=c},lSCD:function(D,_,e){var g=e("NykK"),f=e("GoyQ"),y="[object AsyncFunction]",m="[object Function]",v="[object GeneratorFunction]",h="[object Proxy]";function c(a){if(!f(a))return!1;var i=g(a);return i==m||i==v||i==y||i==h}D.exports=c},lUTK:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("x54q"),m=e.n(y),v=e("5Dmo")},lZu9:function(D,_,e){(function(g){g(e("VrN/"),e("1eCo"),e("8EBN"))})(function(g){"use strict";g.defineMode("markdown",function(f,y){var m=g.getMode(f,"text/html"),v=m.name=="null";function h(j){if(g.findModeByName){var H=g.findModeByName(j);H&&(j=H.mime||H.mimes[0])}var W=g.getMode(f,j);return W.name=="null"?null:W}y.highlightFormatting===void 0&&(y.highlightFormatting=!1),y.maxBlockquoteDepth===void 0&&(y.maxBlockquoteDepth=0),y.taskLists===void 0&&(y.taskLists=!1),y.strikethrough===void 0&&(y.strikethrough=!1),y.emoji===void 0&&(y.emoji=!1),y.fencedCodeBlockHighlighting===void 0&&(y.fencedCodeBlockHighlighting=!0),y.fencedCodeBlockDefaultMode===void 0&&(y.fencedCodeBlockDefaultMode="text/plain"),y.xml===void 0&&(y.xml=!0),y.tokenTypeOverrides===void 0&&(y.tokenTypeOverrides={});var c={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 a in c)c.hasOwnProperty(a)&&y.tokenTypeOverrides[a]&&(c[a]=y.tokenTypeOverrides[a]);var i=/^([*\-_])(?:\s*\1){2,}\s*$/,r=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,o=/^\[(x| )\](?=\s)/i,d=y.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,n=/^ {0,3}(?:\={1,}|-{2,})\s*$/,l=/^[^#!\[\]*_\\<>` "'(~:]+/,t=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,s=/^\s*\[[^\]]+?\]:.*$/,u=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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 w(j,H,W){return H.f=H.inline=W,W(j,H)}function b(j,H,W){return H.f=H.block=W,W(j,H)}function E(j){return!j||!/\S/.test(j.string)}function A(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 H=v;if(!H){var W=g.innerMode(m,j.htmlState);H=W.mode.name=="xml"&&W.state.tagStart===null&&!W.state.context&&W.state.tokenize.isInText}H&&(j.f=I,j.block=S,j.htmlState=null)}return j.trailingSpace=0,j.trailingSpaceNewLine=!1,j.prevLine=j.thisLine,j.thisLine={stream:null},null}function S(j,H){var W=j.column()===H.indentation,X=E(H.prevLine.stream),z=H.indentedCode,G=H.prevLine.hr,Z=H.list!==!1,ge=(H.listStack[H.listStack.length-1]||0)+3;H.indentedCode=!1;var Q=H.indentation;if(H.indentationDiff===null&&(H.indentationDiff=H.indentation,Z)){for(H.list=null;Q<H.listStack[H.listStack.length-1];)H.listStack.pop(),H.listStack.length?H.indentation=H.listStack[H.listStack.length-1]:H.list=!1;H.list!==!1&&(H.indentationDiff=Q-H.listStack[H.listStack.length-1])}var we=!X&&!G&&!H.prevLine.header&&(!Z||!z)&&!H.prevLine.fencedCodeEnd,Ee=(H.list===!1||G||X)&&H.indentation<=ge&&j.match(i),Ae=null;if(H.indentationDiff>=4&&(z||H.prevLine.fencedCodeEnd||H.prevLine.header||X))return j.skipToEnd(),H.indentedCode=!0,c.code;if(j.eatSpace())return null;if(W&&H.indentation<=ge&&(Ae=j.match(d))&&Ae[1].length<=6)return H.quote=0,H.header=Ae[1].length,H.thisLine.header=!0,y.highlightFormatting&&(H.formatting="header"),H.f=H.inline,x(H);if(H.indentation<=ge&&j.eat(">"))return H.quote=W?1:H.quote+1,y.highlightFormatting&&(H.formatting="quote"),j.eatSpace(),x(H);if(!Ee&&!H.setext&&W&&H.indentation<=ge&&(Ae=j.match(r))){var Pe=Ae[1]?"ol":"ul";return H.indentation=Q+j.current().length,H.list=!0,H.quote=0,H.listStack.push(H.indentation),H.em=!1,H.strong=!1,H.code=!1,H.strikethrough=!1,y.taskLists&&j.match(o,!1)&&(H.taskList=!0),H.f=H.inline,y.highlightFormatting&&(H.formatting=["list","list-"+Pe]),x(H)}else{if(W&&H.indentation<=ge&&(Ae=j.match(t,!0)))return H.quote=0,H.fencedEndRE=new RegExp(Ae[1]+"+ *$"),H.localMode=y.fencedCodeBlockHighlighting&&h(Ae[2]||y.fencedCodeBlockDefaultMode),H.localMode&&(H.localState=g.startState(H.localMode)),H.f=H.block=L,y.highlightFormatting&&(H.formatting="code-block"),H.code=-1,x(H);if(H.setext||(!we||!Z)&&!H.quote&&H.list===!1&&!H.code&&!Ee&&!s.test(j.string)&&(Ae=j.lookAhead(1))&&(Ae=Ae.match(n)))return H.setext?(H.header=H.setext,H.setext=0,j.skipToEnd(),y.highlightFormatting&&(H.formatting="header")):(H.header=Ae[0].charAt(0)=="="?1:2,H.setext=H.header),H.thisLine.header=!0,H.f=H.inline,x(H);if(Ee)return j.skipToEnd(),H.hr=!0,H.thisLine.hr=!0,c.hr;if(j.peek()==="[")return w(j,H,P)}return w(j,H,H.inline)}function T(j,H){var W=m.token(j,H.htmlState);if(!v){var X=g.innerMode(m,H.htmlState);(X.mode.name=="xml"&&X.state.tagStart===null&&!X.state.context&&X.state.tokenize.isInText||H.md_inside&&j.current().indexOf(">")>-1)&&(H.f=I,H.block=S,H.htmlState=null)}return W}function L(j,H){var W=H.listStack[H.listStack.length-1]||0,X=H.indentation<W,z=W+3;if(H.fencedEndRE&&H.indentation<=z&&(X||j.match(H.fencedEndRE))){y.highlightFormatting&&(H.formatting="code-block");var G;return X||(G=x(H)),H.localMode=H.localState=null,H.block=S,H.f=I,H.fencedEndRE=null,H.code=0,H.thisLine.fencedCodeEnd=!0,X?b(j,H,H.block):G}else return H.localMode?H.localMode.token(j,H.localState):(j.skipToEnd(),c.code)}function x(j){var H=[];if(j.formatting){H.push(c.formatting),typeof j.formatting=="string"&&(j.formatting=[j.formatting]);for(var W=0;W<j.formatting.length;W++)H.push(c.formatting+"-"+j.formatting[W]),j.formatting[W]==="header"&&H.push(c.formatting+"-"+j.formatting[W]+"-"+j.header),j.formatting[W]==="quote"&&(!y.maxBlockquoteDepth||y.maxBlockquoteDepth>=j.quote?H.push(c.formatting+"-"+j.formatting[W]+"-"+j.quote):H.push("error"))}if(j.taskOpen)return H.push("meta"),H.length?H.join(" "):null;if(j.taskClosed)return H.push("property"),H.length?H.join(" "):null;if(j.linkHref?H.push(c.linkHref,"url"):(j.strong&&H.push(c.strong),j.em&&H.push(c.em),j.strikethrough&&H.push(c.strikethrough),j.emoji&&H.push(c.emoji),j.linkText&&H.push(c.linkText),j.code&&H.push(c.code),j.image&&H.push(c.image),j.imageAltText&&H.push(c.imageAltText,"link"),j.imageMarker&&H.push(c.imageMarker)),j.header&&H.push(c.header,c.header+"-"+j.header),j.quote&&(H.push(c.quote),!y.maxBlockquoteDepth||y.maxBlockquoteDepth>=j.quote?H.push(c.quote+"-"+j.quote):H.push(c.quote+"-"+y.maxBlockquoteDepth)),j.list!==!1){var X=(j.listStack.length-1)%3;X?X===1?H.push(c.list2):H.push(c.list3):H.push(c.list1)}return j.trailingSpaceNewLine?H.push("trailing-space-new-line"):j.trailingSpace&&H.push("trailing-space-"+(j.trailingSpace%2?"a":"b")),H.length?H.join(" "):null}function C(j,H){return j.match(l,!0)?x(H):void 0}function I(j,H){var W=H.text(j,H);if(typeof W!="undefined")return W;if(H.list)return H.list=null,x(H);if(H.taskList){var X=j.match(o,!0)[1]===" ";return X?H.taskOpen=!0:H.taskClosed=!0,y.highlightFormatting&&(H.formatting="task"),H.taskList=!1,x(H)}if(H.taskOpen=!1,H.taskClosed=!1,H.header&&j.match(/^#+$/,!0))return y.highlightFormatting&&(H.formatting="header"),x(H);var z=j.next();if(H.linkTitle){H.linkTitle=!1;var G=z;z==="("&&(G=")"),G=(G+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Z="^\\s*(?:[^"+G+"\\\\]+|\\\\\\\\|\\\\.)"+G;if(j.match(new RegExp(Z),!0))return c.linkHref}if(z==="`"){var ge=H.formatting;y.highlightFormatting&&(H.formatting="code"),j.eatWhile("`");var Q=j.current().length;if(H.code==0&&(!H.quote||Q==1))return H.code=Q,x(H);if(Q==H.code){var we=x(H);return H.code=0,we}else return H.formatting=ge,x(H)}else if(H.code)return x(H);if(z==="\\"&&(j.next(),y.highlightFormatting)){var Ee=x(H),Ae=c.formatting+"-escape";return Ee?Ee+" "+Ae:Ae}if(z==="!"&&j.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return H.imageMarker=!0,H.image=!0,y.highlightFormatting&&(H.formatting="image"),x(H);if(z==="["&&H.imageMarker&&j.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return H.imageMarker=!1,H.imageAltText=!0,y.highlightFormatting&&(H.formatting="image"),x(H);if(z==="]"&&H.imageAltText){y.highlightFormatting&&(H.formatting="image");var Ee=x(H);return H.imageAltText=!1,H.image=!1,H.inline=H.f=F,Ee}if(z==="["&&!H.image)return H.linkText&&j.match(/^.*?\]/)||(H.linkText=!0,y.highlightFormatting&&(H.formatting="link")),x(H);if(z==="]"&&H.linkText){y.highlightFormatting&&(H.formatting="link");var Ee=x(H);return H.linkText=!1,H.inline=H.f=j.match(/\(.*?\)| ?\[.*?\]/,!1)?F:I,Ee}if(z==="<"&&j.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){H.f=H.inline=N,y.highlightFormatting&&(H.formatting="link");var Ee=x(H);return Ee?Ee+=" ":Ee="",Ee+c.linkInline}if(z==="<"&&j.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){H.f=H.inline=N,y.highlightFormatting&&(H.formatting="link");var Ee=x(H);return Ee?Ee+=" ":Ee="",Ee+c.linkEmail}if(y.xml&&z==="<"&&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 Ge=j.string.substring(j.start,Pe);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Ge)&&(H.md_inside=!0)}return j.backUp(1),H.htmlState=g.startState(m),b(j,H,T)}if(y.xml&&z==="<"&&j.match(/^\/\w*?>/))return H.md_inside=!1,"tag";if(z==="*"||z==="_"){for(var gt=1,_e=j.pos==1?" ":j.string.charAt(j.pos-2);gt<3&&j.eat(z);)gt++;var Ce=j.peek()||" ",lt=!/\s/.test(Ce)&&(!u.test(Ce)||/\s/.test(_e)||u.test(_e)),ce=!/\s/.test(_e)&&(!u.test(_e)||/\s/.test(Ce)||u.test(Ce)),Y=null,V=null;if(gt%2&&(!H.em&&lt&&(z==="*"||!ce||u.test(_e))?Y=!0:H.em==z&&ce&&(z==="*"||!lt||u.test(Ce))&&(Y=!1)),gt>1&&(!H.strong&&lt&&(z==="*"||!ce||u.test(_e))?V=!0:H.strong==z&&ce&&(z==="*"||!lt||u.test(Ce))&&(V=!1)),V!=null||Y!=null){y.highlightFormatting&&(H.formatting=Y==null?"strong":V==null?"em":"strong em"),Y===!0&&(H.em=z),V===!0&&(H.strong=z);var we=x(H);return Y===!1&&(H.em=!1),V===!1&&(H.strong=!1),we}}else if(z===" "&&(j.eat("*")||j.eat("_"))){if(j.peek()===" ")return x(H);j.backUp(1)}if(y.strikethrough){if(z==="~"&&j.eatWhile(z)){if(H.strikethrough){y.highlightFormatting&&(H.formatting="strikethrough");var we=x(H);return H.strikethrough=!1,we}else if(j.match(/^[^\s]/,!1))return H.strikethrough=!0,y.highlightFormatting&&(H.formatting="strikethrough"),x(H)}else if(z===" "&&j.match(/^~~/,!0)){if(j.peek()===" ")return x(H);j.backUp(2)}}if(y.emoji&&z===":"&&j.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){H.emoji=!0,y.highlightFormatting&&(H.formatting="emoji");var $=x(H);return H.emoji=!1,$}return z===" "&&(j.match(/^ +$/,!1)?H.trailingSpace++:H.trailingSpace&&(H.trailingSpaceNewLine=!0)),x(H)}function N(j,H){var W=j.next();if(W===">"){H.f=H.inline=I,y.highlightFormatting&&(H.formatting="link");var X=x(H);return X?X+=" ":X="",X+c.linkInline}return j.match(/^[^>]+/,!0),c.linkInline}function F(j,H){if(j.eatSpace())return null;var W=j.next();return W==="("||W==="["?(H.f=H.inline=B(W==="("?")":"]"),y.highlightFormatting&&(H.formatting="link-string"),H.linkHref=!0,x(H)):"error"}var k={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function B(j){return function(H,W){var X=H.next();if(X===j){W.f=W.inline=I,y.highlightFormatting&&(W.formatting="link-string");var z=x(W);return W.linkHref=!1,z}return H.match(k[j]),W.linkHref=!0,x(W)}}function P(j,H){return j.match(/^([^\]\\]|\\.)*\]:/,!1)?(H.f=K,j.next(),y.highlightFormatting&&(H.formatting="link"),H.linkText=!0,x(H)):w(j,H,I)}function K(j,H){if(j.match(/^\]:/,!0)){H.f=H.inline=R,y.highlightFormatting&&(H.formatting="link");var W=x(H);return H.linkText=!1,W}return j.match(/^([^\]\\]|\\.)+/,!0),c.linkText}function R(j,H){return j.eatSpace()?null:(j.match(/^[^\s]+/,!0),j.peek()===void 0?H.linkTitle=!0:j.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),H.f=H.inline=I,c.linkHref+" url")}var U={startState:function(){return{f:S,prevLine:{stream:null},thisLine:{stream:null},block:S,htmlState:null,indentation:0,inline:I,text:C,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(H){return{f:H.f,prevLine:H.prevLine,thisLine:H.thisLine,block:H.block,htmlState:H.htmlState&&g.copyState(m,H.htmlState),indentation:H.indentation,localMode:H.localMode,localState:H.localMode?g.copyState(H.localMode,H.localState):null,inline:H.inline,text:H.text,formatting:!1,linkText:H.linkText,linkTitle:H.linkTitle,linkHref:H.linkHref,code:H.code,em:H.em,strong:H.strong,strikethrough:H.strikethrough,emoji:H.emoji,header:H.header,setext:H.setext,hr:H.hr,taskList:H.taskList,list:H.list,listStack:H.listStack.slice(0),quote:H.quote,indentedCode:H.indentedCode,trailingSpace:H.trailingSpace,trailingSpaceNewLine:H.trailingSpaceNewLine,md_inside:H.md_inside,fencedEndRE:H.fencedEndRE}},token:function(H,W){if(W.formatting=!1,H!=W.thisLine.stream){if(W.header=0,W.hr=!1,H.match(/^\s*$/,!0))return A(W),null;if(W.prevLine=W.thisLine,W.thisLine={stream:H},W.taskList=!1,W.trailingSpace=0,W.trailingSpaceNewLine=!1,!W.localState&&(W.f=W.block,W.f!=T)){var X=H.match(/^\s*/,!0)[0].replace(/\t/g,p).length;if(W.indentation=X,W.indentationDiff=null,X>0)return null}}return W.f(H,W)},innerMode:function(H){return H.block==T?{state:H.htmlState,mode:m}:H.localState?{state:H.localState,mode:H.localMode}:{state:H,mode:U}},indent:function(H,W,X){return H.block==T&&m.indent?m.indent(H.htmlState,W,X):H.localState&&H.localMode.indent?H.localMode.indent(H.localState,W,X):g.Pass},blankLine:A,getType:x,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return U},"xml"),g.defineMIME("text/markdown","markdown"),g.defineMIME("text/x-markdown","markdown")})},laiN:function(D,_,e){var g=e("ProS");e("GVMX"),e("MH26"),g.registerPreprocessor(function(f){f.markLine=f.markLine||{}})},ljhN:function(D,_){function e(g,f){return g===f||g!==g&&f!==f}D.exports=e},lnY3:function(D,_,e){},loD1:function(D,_){function e(g,f,y,m,v,h,c){if(v===0)return!1;var a=v,i=0,r=g;if(c>f+a&&c>m+a||c<f-a&&c<m-a||h>g+a&&h>y+a||h<g-a&&h<y-a)return!1;if(g!==y)i=(f-m)/(g-y),r=(g*m-y*f)/(g-y);else return Math.abs(h-g)<=a/2;var o=i*h-c+r,d=o*o/(i*i+1);return d<=a/2*a/2}_.containStroke=e},lrIw:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("cDf5"),m=e.n(y),v=e("J4zp"),h=e.n(v),c=e("q1tI"),a=e.n(c),i=e("Zm9Q"),r=e("TSYQ"),o=e.n(r),d=e("BGR+"),n=e("2fM7"),l=e("H84U"),t=e("uaoM"),s=e("0n0R"),u=n.a.Option,p=n.a;function w(A){return A&&A.type&&(A.type.isSelectOption||A.type.isSelectOptGroup)}var b=function(S,T){var L=S.prefixCls,x=S.className,C=S.children,I=S.dataSource,N=Object(i.a)(C),F=c.useRef();c.useImperativeHandle(T,function(){return F.current});var k;if(N.length===1&&Object(s.b)(N[0])&&!w(N[0])){var B=h()(N,1);k=B[0]}var P=function(){return k},K;return N.length&&w(N[0])?K=C:K=I?I.map(function(R){if(Object(s.b)(R))return R;switch(m()(R)){case"string":return c.createElement(u,{key:R,value:R},R);case"object":{var U=R.value;return c.createElement(u,{key:U,value:U},R.text)}default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[],c.useEffect(function(){Object(t.a)(!("dataSource"in S),"AutoComplete","`dataSource` is deprecated, please use `options` instead."),Object(t.a)(!k||!("size"in S),"AutoComplete","You need to control style self instead of setting `size` when using customize input.")},[]),c.createElement(l.a,null,function(R){var U=R.getPrefixCls,j=U("select",L);return c.createElement(p,f()({ref:F},Object(d.default)(S,["dataSource"]),{prefixCls:j,className:o()(x,"".concat(j,"-auto-complete")),mode:n.a.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:P}),K)})},E=c.forwardRef(b);E.Option=u,_.a=E},lwQL:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("9wZj"),m=e("c8qY"),v=e("SgGq"),h=e("Ae+d"),c=e("xSat"),a=c.onIrrelevantElement,i=e("IwbS"),r=e("SA8n"),o=e("U/Mo"),d=o.getNodeGlobalScale,n="__focusNodeAdjacency",l="__unfocusNodeAdjacency",t=["itemStyle","opacity"],s=["lineStyle","opacity"];function u(E,A){var S=E.getVisual("opacity");return S!=null?S:E.getModel().get(A)}function p(E,A,S){var T=E.getGraphicEl(),L=u(E,A);S!=null&&(L==null&&(L=1),L*=S),T.downplay&&T.downplay(),T.traverse(function(x){if(!x.isGroup){var C=x.lineLabelOriginalOpacity;(C==null||S!=null)&&(C=L),x.setStyle("opacity",C)}})}function w(E,A){var S=u(E,A),T=E.getGraphicEl();T.traverse(function(L){!L.isGroup&&L.setStyle("opacity",S)}),T.highlight&&T.highlight()}var b=g.extendChartView({type:"graph",init:function(E,A){var S=new y,T=new m,L=this.group;this._controller=new v(A.getZr()),this._controllerHost={target:L},L.add(S.group),L.add(T.group),this._symbolDraw=S,this._lineDraw=T,this._firstRender=!0},render:function(E,A,S){var T=this,L=E.coordinateSystem;this._model=E;var x=this._symbolDraw,C=this._lineDraw,I=this.group;if(L.type==="view"){var N={position:L.position,scale:L.scale};this._firstRender?I.attr(N):i.updateProps(I,N,E)}r(E.getGraph(),d(E));var F=E.getData();x.updateData(F);var k=E.getEdgeData();C.updateData(k),this._updateNodeAndLinkScale(),this._updateController(E,A,S),clearTimeout(this._layoutTimeout);var B=E.forceLayout,P=E.get("force.layoutAnimation");B&&this._startForceLayoutIteration(B,P),F.eachItemGraphicEl(function(j,H){var W=F.getItemModel(H);j.off("drag").off("dragend");var X=W.get("draggable");X&&j.on("drag",function(){B&&(B.warmUp(),!this._layouting&&this._startForceLayoutIteration(B,P),B.setFixed(H),F.setItemLayout(H,j.position))},this).on("dragend",function(){B&&B.setUnfixed(H)},this),j.setDraggable(X&&B),j[n]&&j.off("mouseover",j[n]),j[l]&&j.off("mouseout",j[l]),W.get("focusNodeAdjacency")&&(j.on("mouseover",j[n]=function(){T._clearTimer(),S.dispatchAction({type:"focusNodeAdjacency",seriesId:E.id,dataIndex:j.dataIndex})}),j.on("mouseout",j[l]=function(){T._dispatchUnfocus(S)}))},this),F.graph.eachEdge(function(j){var H=j.getGraphicEl();H[n]&&H.off("mouseover",H[n]),H[l]&&H.off("mouseout",H[l]),j.getModel().get("focusNodeAdjacency")&&(H.on("mouseover",H[n]=function(){T._clearTimer(),S.dispatchAction({type:"focusNodeAdjacency",seriesId:E.id,edgeDataIndex:j.dataIndex})}),H.on("mouseout",H[l]=function(){T._dispatchUnfocus(S)}))});var K=E.get("layout")==="circular"&&E.get("circular.rotateLabel"),R=F.getLayout("cx"),U=F.getLayout("cy");F.eachItemGraphicEl(function(j,H){var W=F.getItemModel(H),X=W.get("label.rotate")||0,z=j.getSymbolPath();if(K){var G=F.getItemLayout(H),Z=Math.atan2(G[1]-U,G[0]-R);Z<0&&(Z=Math.PI*2+Z);var ge=G[0]<R;ge&&(Z=Z-Math.PI);var Q=ge?"left":"right";i.modifyLabelStyle(z,{textRotation:-Z,textPosition:Q,textOrigin:"center"},{textPosition:Q})}else i.modifyLabelStyle(z,{textRotation:X*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(E,A){var S=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){S._unfocusDelayTimer=null,E.dispatchAction({type:"unfocusNodeAdjacency",seriesId:S._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(E,A,S,T){var L=E.getData(),x=L.graph,C=T.dataIndex,I=T.edgeDataIndex,N=x.getNodeByIndex(C),F=x.getEdgeByIndex(I);if(!N&&!F)return;x.eachNode(function(k){p(k,t,.1)}),x.eachEdge(function(k){p(k,s,.1)}),N&&(w(N,t),f.each(N.edges,function(k){if(k.dataIndex<0)return;w(k,s),w(k.node1,t),w(k.node2,t)})),F&&(w(F,s),w(F.node1,t),w(F.node2,t))},unfocusNodeAdjacency:function(E,A,S,T){var L=E.getData().graph;L.eachNode(function(x){p(x,t)}),L.eachEdge(function(x){p(x,s)})},_startForceLayoutIteration:function(E,A){var S=this;(function T(){E.step(function(L){S.updateLayout(S._model),(S._layouting=!L)&&(A?S._layoutTimeout=setTimeout(T,16):T())})})()},_updateController:function(E,A,S){var T=this._controller,L=this._controllerHost,x=this.group;if(T.setPointerChecker(function(C,I,N){var F=x.getBoundingRect();return F.applyTransform(x.transform),F.contain(I,N)&&!a(C,S,E)}),E.coordinateSystem.type!=="view"){T.disable();return}T.enable(E.get("roam")),L.zoomLimit=E.get("scaleLimit"),L.zoom=E.coordinateSystem.getZoom(),T.off("pan").off("zoom").on("pan",function(C){h.updateViewOnPan(L,C.dx,C.dy),S.dispatchAction({seriesId:E.id,type:"graphRoam",dx:C.dx,dy:C.dy})}).on("zoom",function(C){h.updateViewOnZoom(L,C.scale,C.originX,C.originY),S.dispatchAction({seriesId:E.id,type:"graphRoam",zoom:C.scale,originX:C.originX,originY:C.originY}),this._updateNodeAndLinkScale(),r(E.getGraph(),d(E)),this._lineDraw.updateLayout()},this)},_updateNodeAndLinkScale:function(){var E=this._model,A=E.getData(),S=d(E),T=[S,S];A.eachItemGraphicEl(function(L,x){L.attr("scale",T)})},updateLayout:function(E){r(E.getGraph(),d(E)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(E,A){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});D.exports=b},m9t5:function(D,_,e){var g=e("KCsZ"),f=g([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),y={getAreaStyle:function(m,v){return f(this,m,v)}};D.exports=y},mFDi:function(D,_,e){var g=e("QBsz"),f=e("Fofx"),y=g.applyTransform,m=Math.min,v=Math.max;function h(a,i,r,o){r<0&&(a=a+r,r=-r),o<0&&(i=i+o,o=-o),this.x=a,this.y=i,this.width=r,this.height=o}h.prototype={constructor:h,union:function(i){var r=m(i.x,this.x),o=m(i.y,this.y);this.width=v(i.x+i.width,this.x+this.width)-r,this.height=v(i.y+i.height,this.y+this.height)-o,this.x=r,this.y=o},applyTransform:function(){var a=[],i=[],r=[],o=[];return function(d){if(!d)return;a[0]=r[0]=this.x,a[1]=o[1]=this.y,i[0]=o[0]=this.x+this.width,i[1]=r[1]=this.y+this.height,y(a,a,d),y(i,i,d),y(r,r,d),y(o,o,d),this.x=m(a[0],i[0],r[0],o[0]),this.y=m(a[1],i[1],r[1],o[1]);var n=v(a[0],i[0],r[0],o[0]),l=v(a[1],i[1],r[1],o[1]);this.width=n-this.x,this.height=l-this.y}}(),calculateTransform:function(i){var r=this,o=i.width/r.width,d=i.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,[i.x,i.y]),n},intersect:function(i){if(!i)return!1;i instanceof h||(i=h.create(i));var r=this,o=r.x,d=r.x+r.width,n=r.y,l=r.y+r.height,t=i.x,s=i.x+i.width,u=i.y,p=i.y+i.height;return!(d<t||s<o||l<u||p<n)},contain:function(i,r){var o=this;return i>=o.x&&i<=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(i){this.x=i.x,this.y=i.y,this.width=i.width,this.height=i.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},h.create=function(a){return new h(a.x,a.y,a.width,a.height)};var c=h;D.exports=c},mHUz:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.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};_.default=g},mLcG:function(D,_){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)};D.exports=e},"mO/d":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("I9Y+"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},mOdp:function(D,_,e){var g=e("bYtY"),f=g.createHashMap;function y(m){return{getTargetSeries:function(v){var h={},c=f();return v.eachSeriesByType(m,function(a){a.__paletteScope=h,c.set(a.uid,a)}),c},reset:function(v,h){var c=v.getRawData(),a={},i=v.getData();i.each(function(r){var o=i.getRawIndex(r);a[o]=r}),c.each(function(r){var o=a[r],d=o!=null&&i.getItemVisual(o,"color",!0),n=o!=null&&i.getItemVisual(o,"borderColor",!0),l;if((!d||!n)&&(l=c.getItemModel(r)),!d){var t=l.get("itemStyle.color")||v.getColorFromPalette(c.getName(r)||r+"",v.__paletteScope,c.count());o!=null&&i.setItemVisual(o,"color",t)}if(!n){var s=l.get("itemStyle.borderColor");o!=null&&i.setItemVisual(o,"borderColor",s)}})}}}D.exports=y},mTgk:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("mHUz"));function f(a){return a&&a.__esModule?a:{default:a}}var y={};function m(a,i){if(i===void 0)throw new Error('Undefined keysym for key "'+a+'"');if(a in y)throw new Error('Duplicate entry for key "'+a+'"');y[a]=[i,i,i,i]}function v(a,i,r){if(i===void 0)throw new Error('Undefined keysym for key "'+a+'"');if(r===void 0)throw new Error('Undefined keysym for key "'+a+'"');if(a in y)throw new Error('Duplicate entry for key "'+a+'"');y[a]=[i,i,r,i]}function h(a,i,r){if(i===void 0)throw new Error('Undefined keysym for key "'+a+'"');if(r===void 0)throw new Error('Undefined keysym for key "'+a+'"');if(a in y)throw new Error('Duplicate entry for key "'+a+'"');y[a]=[i,i,i,r]}v("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),v("Control",g.default.XK_Control_L,g.default.XK_Control_R),v("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),v("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 c=y;_.default=c},mYwL:function(D,_,e){var g=e("bYtY"),f=e("IwbS"),y=e("6GrX"),m=Math.PI;function v(h,c){c=c||{},g.defaults(c,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var a=new f.Group,i=new f.Rect({style:{fill:c.maskColor},zlevel:c.zlevel,z:1e4});a.add(i);var r=c.fontSize+" sans-serif",o=new f.Rect({style:{fill:"none",text:c.text,font:r,textPosition:"right",textDistance:10,textFill:c.textColor},zlevel:c.zlevel,z:10001});if(a.add(o),c.showSpinner){var d=new f.Arc({shape:{startAngle:-m/2,endAngle:-m/2+.1,r:c.spinnerRadius},style:{stroke:c.color,lineCap:"round",lineWidth:c.lineWidth},zlevel:c.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"),a.add(d)}return a.resize=function(){var n=y.getWidth(c.text,r),l=c.showSpinner?c.spinnerRadius:0,t=(h.getWidth()-l*2-(c.showSpinner&&n?10:0)-n)/2-(c.showSpinner?0:n/2),s=h.getHeight()/2;c.showSpinner&&d.setShape({cx:t,cy:s}),o.setShape({x:t-l,y:s-l,width:l*2,height:l*2}),i.setShape({x:0,y:0,width:h.getWidth(),height:h.getHeight()})},a.resize(),a}D.exports=v},mdPL:function(D,_,e){(function(g){var f=e("WFqU"),y=_&&!_.nodeType&&_,m=y&&typeof g=="object"&&g&&!g.nodeType&&g,v=m&&m.exports===y,h=v&&f.process,c=function(){try{var a=m&&m.require&&m.require("util").types;return a||h&&h.binding&&h.binding("util")}catch(i){}}();g.exports=c}).call(this,e("YuTi")(D))},mdZa:function(D,_,e){"use strict";typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(f,y){"use strict";if(f==null)throw new TypeError("Cannot convert undefined or null to object");for(var m=Object(f),v=1;v<arguments.length;v++){var h=arguments[v];if(h!=null)for(var c in h)Object.prototype.hasOwnProperty.call(h,c)&&(m[c]=h[c])}return m},writable:!0,configurable:!0}),function(){function g(f,y){y=y||{bubbles:!1,cancelable:!1,detail:void 0};var m=document.createEvent("CustomEvent");return m.initCustomEvent(f,y.bubbles,y.cancelable,y.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(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),m=e.n(y),v=e("J4zp"),h=e.n(v),c=e("q1tI"),a=e("TSYQ"),i=e.n(a),r=e("BGR+"),o=e("V/uB"),d=e.n(o),n=e("H84U"),l=function(L,x){var C={};for(var I in L)Object.prototype.hasOwnProperty.call(L,I)&&x.indexOf(I)<0&&(C[I]=L[I]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,I=Object.getOwnPropertySymbols(L);N<I.length;N++)x.indexOf(I[N])<0&&Object.prototype.propertyIsEnumerable.call(L,I[N])&&(C[I[N]]=L[I[N]]);return C},t=function(x){var C,I=c.useContext(n.b),N=I.getPrefixCls,F=function(H){var W=x.checked,X=x.onChange,z=x.onClick;X&&X(!W),z&&z(H)},k=x.prefixCls,B=x.className,P=x.checked,K=l(x,["prefixCls","className","checked"]),R=N("tag",k),U=i()(R,(C={},f()(C,"".concat(R,"-checkable"),!0),f()(C,"".concat(R,"-checkable-checked"),P),C),B);return delete K.onChange,c.createElement("span",m()({},K,{className:U,onClick:F}))},s=t,u=e("09Wf"),p=e("g0mS"),w=function(L,x){var C={};for(var I in L)Object.prototype.hasOwnProperty.call(L,I)&&x.indexOf(I)<0&&(C[I]=L[I]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,I=Object.getOwnPropertySymbols(L);N<I.length;N++)x.indexOf(I[N])<0&&Object.prototype.propertyIsEnumerable.call(L,I[N])&&(C[I[N]]=L[I[N]]);return C},b=new RegExp("^(".concat(u.a.join("|"),")(-inverse)?$")),E=new RegExp("^(".concat(u.b.join("|"),")$")),A=function(x,C){var I,N=x.prefixCls,F=x.className,k=x.style,B=x.children,P=x.icon,K=x.color,R=x.onClose,U=x.closeIcon,j=x.closable,H=j===void 0?!1:j,W=w(x,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),X=c.useContext(n.b),z=X.getPrefixCls,G=X.direction,Z=c.useState(!0),ge=h()(Z,2),Q=ge[0],we=ge[1];c.useEffect(function(){"visible"in W&&we(W.visible)},[W.visible]);var Ee=function(){return K?b.test(K)||E.test(K):!1},Ae=m()({backgroundColor:K&&!Ee()?K:void 0},k),Pe=Ee(),Ge=z("tag",N),gt=i()(Ge,(I={},f()(I,"".concat(Ge,"-").concat(K),Pe),f()(I,"".concat(Ge,"-has-color"),K&&!Pe),f()(I,"".concat(Ge,"-hidden"),!Q),f()(I,"".concat(Ge,"-rtl"),G==="rtl"),I),F),_e=function(ye){if(ye.stopPropagation(),R&&R(ye),ye.defaultPrevented)return;"visible"in W||we(!1)},Ce=function(){return H?U?c.createElement("div",{className:"".concat(Ge,"-close-icon"),onClick:_e},U):c.createElement(d.a,{className:"".concat(Ge,"-close-icon"),onClick:_e}):null},lt="onClick"in W||B&&B.type==="a",ce=Object(r.default)(W,["visible"]),Y=P||null,V=Y?c.createElement(c.Fragment,null,Y,c.createElement("span",null,B)):B,$=c.createElement("span",m()({},ce,{ref:C,className:gt,style:Ae}),V,Ce());return lt?c.createElement(p.a,null,$):$},S=c.forwardRef(A);S.displayName="Tag",S.CheckableTag=s;var T=_.a=S},mxV5:function(module,exports,__webpack_require__){(function(global){var require,require;(function(D){if(!0)module.exports=D();else var _})(function(){var define,module,exports;return function(){function D(_,e,g){function f(v,h){if(!e[v]){if(!_[v]){var c=typeof require=="function"&&require;if(!h&&c)return require(v,!0);if(y)return y(v,!0);var a=new Error("Cannot find module '"+v+"'");throw a.code="MODULE_NOT_FOUND",a}var i=e[v]={exports:{}};_[v][0].call(i.exports,function(r){var o=_[v][1][r];return f(o||r)},i,i.exports,D,_,e,g)}return e[v].exports}for(var y=typeof require=="function"&&require,m=0;m<g.length;m++)f(g[m]);return f}return D}()({1:[function(D,_,e){"use strict";var g=D("./browser/client");g.Buffer=D("buffer").Buffer,g.urllib=D("../shims/xhr"),g.version=D("./browser/version").version,_.exports=g},{"../shims/xhr":291,"./browser/client":2,"./browser/version":5,buffer:73}],2:[function(D,_,e){(function(g,f){"use strict";var y=D("babel-runtime/core-js/promise"),m=i(y),v=D("babel-runtime/regenerator"),h=i(v),c=D("babel-runtime/core-js/object/assign"),a=i(c);function i(P){return P&&P.__esModule?P:{default:P}}var r=D("debug")("ali-oss"),o=D("copy-to"),d=D("xml2js"),n=D("agentkeepalive"),l=D("merge-descriptors"),t=D("url"),s=D("is-type-of"),u=D("platform"),p=D("utility"),w=D("urllib"),b=D("./version"),E=D("bowser"),A=D("../common/signUtils"),S=D("../common/utils/isIP"),T=S.isIP,L=D("../common/client/initOptions"),x=D("../common/utils/createRequest"),C=x.createRequest,I=new n;function N(){var P=u.name,K=u.version;P&&P.toLowerCase&&P.toLowerCase()==="ie"&&K.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function F(){return location&&location.protocol==="https:"}function k(P,K){if(N(),!(this instanceof k))return new k(P,K);P&&P.inited?this.options=P:this.options=k.initOptions(P),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=w,this.agent=this.options.agent||I),this.ctx=K,this.userAgent=this._getUserAgent(),this.options.amendTimeSkewed=0}_.exports=k,k.initOptions=function(K){K.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var R=(0,a.default)({secure:F(),useFetch:!1},K);return L(R)};var B=k.prototype;B.debug=r,l(B,D("./object")),l(B,D("../common/bucket/getBucketWebsite")),l(B,D("../common/bucket/putBucketWebsite")),l(B,D("../common/bucket/deleteBucketWebsite")),l(B,D("../common/bucket/getBucketLifecycle")),l(B,D("../common/bucket/putBucketLifecycle")),l(B,D("../common/bucket/deleteBucketLifecycle")),l(B,D("../common/bucket/putBucketVersioning")),l(B,D("../common/bucket/getBucketVersioning")),l(B,D("./managed-upload")),l(B,D("../common/multipart")),l(B,D("../common/parallel")),B.signature=function(K){return this.debug("authorization stringToSign: %s",K,"info"),A.computeSignature(this.options.accessKeySecret,K)},B.authorization=function(K,R,U,j){var H=A.buildCanonicalString(K.toUpperCase(),R,{headers:j,parameters:U});return A.authorization(this.options.accessKeyId,this.options.accessKeySecret,H)},B.request=function(K){var R,U,j,H,W,X;return h.default.async(function(G){for(;;)switch(G.prev=G.next){case 0:return R=C.call(this,K),this.options.useFetch||(R.params.mode="disable-fetch"),U=void 0,j=void 0,H=!!K.stream,G.prev=5,G.next=8,h.default.awrap(this.urllib.request(R.url,R.params));case 8:U=G.sent,this.debug("response %s %s, got %s, headers: %j",K.method,R.url,U.status,U.headers,"info"),G.next=15;break;case 12:G.prev=12,G.t0=G.catch(5),j=G.t0;case 15:if(W=void 0,!(U&&K.successStatuses&&K.successStatuses.indexOf(U.status)===-1)){G.next=28;break}return G.next=19,h.default.awrap(this.requestError(U));case 19:if(W=G.sent,!(W.code==="RequestTimeTooSkewed"&&!H)){G.next=25;break}return this.options.amendTimeSkewed=+new Date(W.serverTime)-new Date,G.next=24,h.default.awrap(this.request(K));case 24:return G.abrupt("return",G.sent);case 25:W.params=K,G.next=32;break;case 28:if(!j){G.next=32;break}return G.next=31,h.default.awrap(this.requestError(j));case 31:W=G.sent;case 32:if(!W){G.next=34;break}throw W;case 34:if(!K.xmlResponse){G.next=39;break}return G.next=37,h.default.awrap(this.parseXML(U.data));case 37:X=G.sent,U.data=X;case 39:return G.abrupt("return",U);case 40:case"end":return G.stop()}},null,this,[[5,12]])},B._getResource=function(K){var R="/";return K.bucket&&(R+=K.bucket+"/"),K.object&&(R+=K.object),R},B._isIP=T,B._escape=function(K){return p.encodeURIComponent(K).replace(/%2F/g,"/")},B._getReqUrl=function(K){var R={};o(this.options.endpoint).to(R);var U=this._isIP(R.hostname),j=this.options.cname;K.bucket&&!j&&!U&&(R.host=K.bucket+"."+R.host);var H="/";K.bucket&&U&&(H+=K.bucket+"/"),K.object&&(H+=this._escape(K.object).replace(/\+/g,"%2B")),R.pathname=H;var W={};if(K.query&&l(W,K.query),K.subres){var X={};s.string(K.subres)?X[K.subres]="":s.array(K.subres)?K.subres.forEach(function(z){X[z]=""}):X=K.subres,l(W,X)}return R.query=W,t.format(R)},B._getUserAgent=function(){var K=f&&f.browser?"js":"nodejs",R="aliyun-sdk-"+K+"/"+b.version,U=u.description;return!U&&f&&(U="Node.js "+f.version.slice(1)+" on "+f.platform+" "+f.arch),this._checkUserAgent(R+" "+U)},B._checkUserAgent=function(K){var R=K.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return R},B.checkBrowserAndVersion=function(K,R){return E.name===K&&E.version.split(".")[0]===R},B.parseXML=function(K){return new m.default(function(R,U){g.isBuffer(K)&&(K=K.toString()),d.parseString(K,{explicitRoot:!1,explicitArray:!1},function(j,H){j?U(j):R(H)})})},B.requestError=function(K){var R,U,j,H;return h.default.async(function(X){for(;;)switch(X.prev=X.next){case 0:if(R=null,!(!K.data||!K.data.length)){X.next=5;break}K.status===-1||K.status===-2?(R=new Error(K.message),R.name=K.name,R.status=K.status,R.code=K.name):(K.status===404?(R=new Error("Object not exists"),R.name="NoSuchKeyError",R.status=404,R.code="NoSuchKey"):K.status===412?(R=new Error("Pre condition failed"),R.name="PreconditionFailedError",R.status=412,R.code="PreconditionFailed"):(R=new Error("Unknow error, status: "+K.status),R.name="UnknowError",R.status=K.status),R.requestId=K.headers["x-oss-request-id"],R.host=""),X.next=33;break;case 5:return U=String(K.data),this.debug("request response error data: %s",U,"error"),j=void 0,X.prev=8,X.next=11,h.default.awrap(this.parseXML(U));case 11:if(X.t0=X.sent,X.t0){X.next=14;break}X.t0={};case 14:j=X.t0,X.next=24;break;case 17:return X.prev=17,X.t1=X.catch(8),this.debug(U,"error"),X.t1.message+=`
raw xml: `+U,X.t1.status=K.status,X.t1.requestId=K.headers["x-oss-request-id"],X.abrupt("return",X.t1);case 24:H=j.Message||"unknow request error, status: "+K.status,j.Condition&&(H+=" (condition: "+j.Condition+")"),R=new Error(H),R.name=j.Code?j.Code+"Error":"UnknowError",R.status=K.status,R.code=j.Code,R.requestId=j.RequestId,R.hostId=j.HostId,R.serverTime=j.ServerTime;case 33:return this.debug("generate error %j",R,"error"),X.abrupt("return",R);case 35:case"end":return X.stop()}},null,this,[[8,17]])}}).call(this,{isBuffer:D("../../node_modules/is-buffer/index.js")},D("_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(D,_,e){(function(g){"use strict";var f=D("babel-runtime/core-js/array/from"),y=a(f),m=D("babel-runtime/core-js/promise"),v=a(m),h=D("babel-runtime/regenerator"),c=a(h);function a(A){return A&&A.__esModule?A:{default:A}}var i=D("is-type-of"),r=D("util"),o=D("path"),d=D("mime"),n=D("copy-to"),l=D("../common/utils/isBlob"),t=l.isBlob,s=D("../common/utils/isFile"),u=s.isFile,p=e;p.multipartUpload=function(S,T,L){var x,C,I,N,F,k,B,P,K;return c.default.async(function(U){for(;;)switch(U.prev=U.next){case 0:if(this.resetCancelFlag(),L=L||{},!(L.checkpoint&&L.checkpoint.uploadId)){U.next=6;break}return U.next=5,c.default.awrap(this._resumeMultipart(L.checkpoint,L));case 5:return U.abrupt("return",U.sent);case 6:return x=100*1024,L.mime||(u(T)?L.mime=d.getType(o.extname(T.name)):t(T)?L.mime=T.type:L.mime=d.getType(o.extname(T))),L.headers=L.headers||{},this._convertMetaToHeaders(L.meta,L.headers),U.next=12,c.default.awrap(this._getFileSize(T));case 12:if(C=U.sent,!(C<x)){U.next=25;break}return I=this._createStream(T,0,C),L.contentLength=C,U.next=18,c.default.awrap(this.putStream(S,I,L));case 18:if(N=U.sent,!(L&&L.progress)){U.next=22;break}return U.next=22,c.default.awrap(L.progress(1));case 22:return F={res:N.res,bucket:this.options.bucket,name:S,etag:N.res.headers.etag},(L.headers&&L.headers["x-oss-callback"]||L.callback)&&(F.data=N.data),U.abrupt("return",F);case 25:if(!(L.partSize&&!(parseInt(L.partSize,10)===L.partSize))){U.next=27;break}throw new Error("partSize must be int number");case 27:if(!(L.partSize&&L.partSize<x)){U.next=29;break}throw new Error("partSize must not be smaller than "+x);case 29:return U.next=31,c.default.awrap(this.initMultipartUpload(S,L));case 31:if(k=U.sent,B=k.uploadId,P=this._getPartSize(C,L.partSize),K={file:T,name:S,fileSize:C,partSize:P,uploadId:B,doneParts:[]},!(L&&L.progress)){U.next=38;break}return U.next=38,c.default.awrap(L.progress(0,K,k.res));case 38:return U.next=40,c.default.awrap(this._resumeMultipart(K,L));case 40:return U.abrupt("return",U.sent);case 41:case"end":return U.stop()}},null,this)},p._resumeMultipart=function(S,T){var L,x,C,I,N,F,k,B,P,K,R,U,j,H,W,X,z,G;return c.default.async(function(ge){for(;;)switch(ge.prev=ge.next){case 0:if(L=this,!this.isCancel()){ge.next=3;break}throw this._makeCancelEvent();case 3:return x=S.file,C=S.fileSize,I=S.partSize,N=S.uploadId,F=S.doneParts,k=S.name,B=[],F.length>0&&n(F).to(B),P=this._divideParts(C,I),K=P.length,R=!1,U=function(we,Ee){var Ae=this;return new v.default(function(Ge,gt){var _e,Ce,lt,ce;return c.default.async(function(V){for(;;)switch(V.prev=V.next){case 0:if(V.prev=0,we.isCancel()){V.next=18;break}return _e=P[Ee-1],Ce={stream:we._createStream(x,_e.start,_e.end),size:_e.end-_e.start},V.next=6,c.default.awrap(we._uploadPart(k,N,Ee,Ce));case 6:if(lt=V.sent,!(!we.isCancel()&&!R)){V.next=15;break}if(S.doneParts.push({number:Ee,etag:lt.res.headers.etag}),!T.progress){V.next=12;break}return V.next=12,c.default.awrap(T.progress(F.length/K,S,lt.res));case 12:Ge({number:Ee,etag:lt.res.headers.etag}),V.next=16;break;case 15:Ge();case 16:V.next=19;break;case 18:Ge();case 19:V.next=30;break;case 21:V.prev=21,V.t0=V.catch(0),ce=new Error,ce.name=V.t0.name,ce.message=V.t0.message,ce.stack=V.t0.stack,ce.partNum=Ee,n(V.t0).to(ce),gt(ce);case 30:case"end":return V.stop()}},null,Ae,[[0,21]])})},j=(0,y.default)(new Array(K),function(Q,we){return we+1}),H=B.map(function(Q){return Q.number}),W=j.filter(function(Q){return H.indexOf(Q)<0}),X=5,z=T.parallel||X,ge.next=17,c.default.awrap(this._parallel(W,z,function(Q){return new v.default(function(we,Ee){U(L,Q).then(function(Ae){Ae&&B.push(Ae),we()}).catch(function(Ae){Ee(Ae)})})}));case 17:if(G=ge.sent,R=!0,!this.isCancel()){ge.next=22;break}throw U=null,this._makeCancelEvent();case 22:if(!(G&&G.length>0)){ge.next=25;break}throw G[0].message="Failed to upload some parts with error: "+G[0].toString()+" part_num: "+G[0].partNum,G[0];case 25:return ge.next=27,c.default.awrap(this.completeMultipartUpload(k,N,B,T));case 27:return ge.abrupt("return",ge.sent);case 28:case"end":return ge.stop()}},null,this)},p._getFileSize=function(S){return c.default.async(function(L){for(;;)switch(L.prev=L.next){case 0:if(!i.buffer(S)){L.next=4;break}return L.abrupt("return",S.length);case 4:if(!(t(S)||u(S))){L.next=6;break}return L.abrupt("return",S.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return L.stop()}},null,this)};var w=D("stream"),b=w.Readable;function E(A,S){if(!(this instanceof E))return new E(A,S);b.call(this,S),this.file=A,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}r.inherits(E,b),E.prototype.readFileAndPush=function(S){if(this.fileBuffer)for(var T=!0;T&&this.fileBuffer&&this.start<this.fileBuffer.length;){var L=this.start,x=L+S;x=x>this.fileBuffer.length?this.fileBuffer.length:x,this.start=x,T=this.push(this.fileBuffer.slice(L,x))}},E.prototype._read=function(S){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;S=S||T;var L=this;this.reader.onload=function(C){L.fileBuffer=g.from(new Uint8Array(C.target.result)),L.file=null,L.readFileAndPush(S)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(S)},p._createStream=function(S,T,L){if(t(S)||u(S))return new E(S.slice(T,L));throw new Error("_createStream requires File/Blob.")},p._getPartSize=function(S,T){var L=10*1e3,x=1024*1024;return T?Math.max(Math.ceil(S/L),T):x},p._divideParts=function(S,T){for(var L=Math.ceil(S/T),x=[],C=0;C<L;C++){var I=T*C,N=Math.min(I+T,S);x.push({start:I,end:N})}return x}}).call(this,D("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(D,_,e){"use strict";var g=D("babel-runtime/core-js/promise"),f=i(g),y=D("babel-runtime/core-js/object/keys"),m=i(y),v=D("babel-runtime/core-js/object/assign"),h=i(v),c=D("babel-runtime/regenerator"),a=i(c);function i(L){return L&&L.__esModule?L:{default:L}}var r=D("utility"),o=D("fs"),d=D("is-type-of"),n=D("url"),l=D("copy-to"),t=D("path"),s=D("mime"),u=D("../common/callback"),p=D("../common/signUtils"),w=D("merge-descriptors"),b=D("../common/utils/isBlob"),E=b.isBlob,A=D("../common/utils/isFile"),S=A.isFile,T=e;T.append=function(x,C,I){var N;return a.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:return I=I||{},I.position===void 0&&(I.position="0"),I.subres={append:"",position:I.position},I.method="POST",k.next=6,a.default.awrap(this.put(x,C,I));case 6:return N=k.sent,N.nextAppendPosition=N.res.headers["x-oss-next-append-position"],k.abrupt("return",N);case 9:case"end":return k.stop()}},null,this)},T.put=function(x,C,I){var N,F,k,B,P,K,R;return a.default.async(function(j){for(;;)switch(j.prev=j.next){case 0:if(N=void 0,I=I||{},x=this._objectName(x),!d.buffer(C)){j.next=7;break}N=C,j.next=33;break;case 7:if(!(E(C)||S(C))){j.next=32;break}return I.mime||(S(C)?I.mime=s.getType(t.extname(C.name)):I.mime=C.type),F=this._createStream(C,0,C.size),j.next=12,a.default.awrap(this._getFileSize(C));case 12:return I.contentLength=j.sent,j.prev=13,j.next=16,a.default.awrap(this.putStream(x,F,I));case 16:return k=j.sent,j.abrupt("return",k);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,a.default.awrap(this.put(x,C,I));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 I.headers=I.headers||{},this._convertMetaToHeaders(I.meta,I.headers),B=I.method||"PUT",P=this._objectRequestParams(B,x,I),u.encodeCallback(P,I),P.mime=I.mime,P.content=N,P.successStatuses=[200],j.next=43,a.default.awrap(this.request(P));case 43:return K=j.sent,R={name:x,url:this._objectUrl(x),res:K.res},P.headers&&P.headers["x-oss-callback"]&&(R.data=JSON.parse(K.data.toString())),j.abrupt("return",R);case 47:case"end":return j.stop()}},null,this,[[13,20]])},T.putStream=function(x,C,I){var N,F,k,B;return a.default.async(function(K){for(;;)switch(K.prev=K.next){case 0:return I=I||{},I.headers=I.headers||{},x=this._objectName(x),I.contentLength?I.headers["Content-Length"]=I.contentLength:I.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(I.meta,I.headers),N=I.method||"PUT",F=this._objectRequestParams(N,x,I),u.encodeCallback(F,I),F.mime=I.mime,F.stream=C,F.successStatuses=[200],K.next=13,a.default.awrap(this.request(F));case 13:return k=K.sent,B={name:x,url:this._objectUrl(x),res:k.res},F.headers&&F.headers["x-oss-callback"]&&(B.data=JSON.parse(k.data.toString())),K.abrupt("return",B);case 17:case"end":return K.stop()}},null,this)},w(T,D("../common/object/copyObject")),w(T,D("../common/object/getObjectTagging")),w(T,D("../common/object/putObjectTagging")),w(T,D("../common/object/deleteObjectTagging")),w(T,D("../common/image")),w(T,D("../common/object/getBucketVersions")),w(T,D("../common/object/getACL")),w(T,D("../common/object/putACL")),w(T,D("../common/object/head")),w(T,D("../common/object/delete")),w(T,D("../common/object/get")),w(T,D("../common/object/putSymlink")),w(T,D("../common/object/getSymlink")),w(T,D("../common/object/deleteMulti")),w(T,D("../common/object/getObjectMeta")),T.putMeta=function(x,C,I){var N;return a.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:return k.next=2,a.default.awrap(this.copy(x,x,{meta:C||{},timeout:I&&I.timeout,ctx:I&&I.ctx}));case 2:return N=k.sent,k.abrupt("return",N);case 4:case"end":return k.stop()}},null,this)},T.list=function(x,C){var I,N,F,k,B;return a.default.async(function(K){for(;;)switch(K.prev=K.next){case 0:return I=this._objectRequestParams("GET","",C),I.query=x,I.xmlResponse=!0,I.successStatuses=[200],K.next=6,a.default.awrap(this.request(I));case 6:return N=K.sent,F=N.data.Contents,k=this,F&&(Array.isArray(F)||(F=[F]),F=F.map(function(R){return{name:R.Key,url:k._objectUrl(R.Key),lastModified:R.LastModified,etag:R.ETag,type:R.Type,size:Number(R.Size),storageClass:R.StorageClass,owner:{id:R.Owner.ID,displayName:R.Owner.DisplayName}}})),B=N.data.CommonPrefixes||null,B&&(Array.isArray(B)||(B=[B]),B=B.map(function(R){return R.Prefix})),K.abrupt("return",{res:N.res,objects:F,prefixes:B,nextMarker:N.data.NextMarker||null,isTruncated:N.data.IsTruncated==="true"});case 13:case"end":return K.stop()}},null,this)},T.restore=function(x,C){var I,N;return a.default.async(function(k){for(;;)switch(k.prev=k.next){case 0:return C=C||{},C.subres=(0,h.default)({restore:""},C.subres),C.versionId&&(C.subres.versionId=C.versionId),I=this._objectRequestParams("POST",x,C),I.successStatuses=[202],k.next=7,a.default.awrap(this.request(I));case 7:return N=k.sent,k.abrupt("return",{res:N.res});case 9:case"end":return k.stop()}},null,this)},T.signatureUrl=function(x,C){C=C||{},x=this._objectName(x),C.method=C.method||"GET";var I=r.timestamp()+(C.expires||1800),N={bucket:this.options.bucket,object:x},F=this._getResource(N);this.options.stsToken&&(C["security-token"]=this.options.stsToken);var k=p._signatureForURL(this.options.accessKeySecret,C,F,I),B=n.parse(this._getReqUrl(N));return B.query={OSSAccessKeyId:this.options.accessKeyId,Expires:I,Signature:k.Signature},l(k.subResource).to(B.query),B.format()},T.getObjectUrl=function(x,C){return C?C[C.length-1]!=="/"&&(C+="/"):C=this.options.endpoint.format(),C+this._escape(this._objectName(x))},T._objectUrl=function(x){return this._getReqUrl({bucket:this.options.bucket,object:x})},T.generateObjectUrl=function(L,x){if(x)x[x.length-1]!=="/"&&(x+="/");else{x=this.options.endpoint.format();var C=n.parse(x),I=this.options.bucket;C.hostname=I+"."+C.hostname,C.host=I+"."+C.host,x=C.format()}return x+this._escape(this._objectName(L))},T._objectRequestParams=function(x,C,I){if(!this.options.bucket)throw new Error("Please create a bucket first");I=I||{},C=this._objectName(C);var N={object:C,bucket:this.options.bucket,method:x,subres:I&&I.subres,timeout:I&&I.timeout,ctx:I&&I.ctx};return I.headers&&(N.headers={},l(I.headers).to(N.headers)),N},T._objectName=function(x){return x.replace(/^\/+/,"")},T._convertMetaToHeaders=function(x,C){if(!x)return;(0,m.default)(x).forEach(function(I){C["x-oss-meta-"+I]=x[I]})},T._deleteFileSafe=function(x){var C=this;return new f.default(function(I){o.exists(x,function(N){N?o.unlink(x,function(F){F&&C.debug("unlink %j error: %s",x,F,"error"),I()}):I()})})}},{"../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(D,_,e){"use strict";e.version="6.10.0"},{}],6:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(c){return c&&c.__esModule?c:{default:c}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=e;h.deleteBucketLifecycle=function(a,i){var r,o;return f.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return v(a),r=this._bucketRequestParams("DELETE",a,"lifecycle",i),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(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(c){return c&&c.__esModule?c:{default:c}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=e;h.deleteBucketWebsite=function(a,i){var r,o;return f.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return v(a),r=this._bucketRequestParams("DELETE",a,"website",i),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(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(o){return o&&o.__esModule?o:{default:o}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=D("../utils/isArray"),c=h.isArray,a=D("../utils/formatObjKey"),i=a.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 v(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&&(c(s)||(s=[s]),s=s.map(function(w){return w.ID&&(w.id=w.ID,delete w.ID),w.Tag&&!c(w.Tag)&&(w.Tag=[w.Tag]),i(w,"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(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(c){return c&&c.__esModule?c:{default:c}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=e;h.getBucketVersioning=function(a,i){var r,o,d;return f.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return v(a),r=this._bucketRequestParams("GET",a,"versioning",i),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(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(i){return i&&i.__esModule?i:{default:i}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=D("../utils/isObject"),c=h.isObject,a=e;a.getBucketWebsite=function(r,o){var d,n,l;return f.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return v(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&&(c(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(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(S){return S&&S.__esModule?S:{default:S}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=D("../utils/isArray"),c=h.isArray,a=D("../utils/deepCopy"),i=a.deepCopy,r=D("../utils/isObject"),o=r.isObject,d=D("../utils/obj2xml"),n=d.obj2xml,l=D("../utils/checkObjectTag"),t=l.checkObjectTag,s=D("../utils/getStrBytesCount"),u=s.getStrBytesCount,p=e;p.putBucketLifecycle=function(T,L,x){var C,I,N,F,k;return f.default.async(function(P){for(;;)switch(P.prev=P.next){case 0:if(v(T),c(L)){P.next=3;break}throw new Error("rules must be Array");case 3:return C=this._bucketRequestParams("PUT",T,"lifecycle",x),I=[],N={LifecycleConfiguration:{Rule:I}},L.forEach(function(K){w(K),A(K),K.id&&(K.ID=K.id,delete K.id),I.push(K)}),F=n(N,{headers:!0,firstUpperCase:!0}),C.content=F,C.mime="xml",C.successStatuses=[200],P.next=13,f.default.awrap(this.request(C));case 13:return k=P.sent,P.abrupt("return",{res:k.res});case 15:case"end":return P.stop()}},null,this)};function w(S){S.days&&(S.expiration={days:S.days}),S.date&&(S.expiration={createdBeforeDate:S.date})}function b(S,T){var L=S.days,x=S.createdBeforeDate;if(!L&&!x)throw new Error(T+" must includes days or createdBeforeDate");if(L&&!/^[1-9][0-9]*$/.test(L))throw new Error("days must be a positive integer");if(x&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(x))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function E(S){if(!c(S)&&!o(S))throw new Error("tag must be Object or Array");S=o(S)?[S]:S;var T={},L=i(S);L.forEach(function(x){T[x.key]=x.value}),t(T)}function A(S){if(S.id&&u(S.id)>255)throw new Error("ID is composed of 255 bytes at most");if(S.prefix===""||S.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(S.status))throw new Error("Status must be Enabled or Disabled");if(S.transition){if(!["IA","Archive"].includes(S.transition.storageClass))throw new Error("StorageClass must be IA or Archive");b(S.transition,"Transition")}if(S.expiration){if(!S.expiration.expiredObjectDeleteMarker)b(S.expiration,"Expiration");else if(S.expiration.days||S.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(S.abortMultipartUpload&&b(S.abortMultipartUpload,"AbortMultipartUpload"),!S.expiration&&!S.abortMultipartUpload&&!S.transition&&!S.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(S.tag){if(S.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");E(S.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(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(i){return i&&i.__esModule?i:{default:i}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=D("../utils/obj2xml"),c=h.obj2xml,a=e;a.putBucketVersioning=function(r,o){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n,l,t;return f.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:if(v(r),["Enabled","Suspended"].includes(o)){u.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=c(l,{headers:!0}),u.next=9,f.default.awrap(this.request(n));case 9:return t=u.sent,u.abrupt("return",{res:t.res,status:t.status});case 11:case"end":return u.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],13:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(o){return o&&o.__esModule?o:{default:o}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=D("../utils/obj2xml"),c=h.obj2xml,a=D("../utils/isArray"),i=a.isArray,r=e;r.putBucketWebsite=function(d){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments[2],t,s,u,p,w;return f.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:if(v(d),t=this._bucketRequestParams("PUT",d,"website",l),s={Suffix:n.index||"index.html"},u={IndexDocument:s},p={WebsiteConfiguration:u},n.supportSubDir&&(s.SupportSubDir=n.supportSubDir),n.type&&(s.Type=n.type),n.error&&(u.ErrorDocument={Key:n.error}),!(n.routingRules!==void 0)){E.next=12;break}if(i(n.routingRules)){E.next=11;break}throw new Error("RoutingRules must be Array");case 11:u.RoutingRules={RoutingRule:n.routingRules};case 12:return p=c(p),t.content=p,t.mime="xml",t.successStatuses=[200],E.next=18,f.default.awrap(this.request(t));case 18:return w=E.sent,E.abrupt("return",{res:w.res});case 20:case"end":return E.stop()}},null,this)}},{"../utils/checkBucketName":35,"../utils/isArray":42,"../utils/obj2xml":47,"babel-runtime/regenerator":68}],14:[function(D,_,e){(function(g){"use strict";var f=D("babel-runtime/core-js/object/keys"),y=h(f),m=D("babel-runtime/core-js/json/stringify"),v=h(m);function h(c){return c&&c.__esModule?c:{default:c}}e.encodeCallback=function(a,i){if(a.headers=a.headers||{},!Object.prototype.hasOwnProperty.call(a.headers,"x-oss-callback")&&i.callback){var r={callbackUrl:encodeURI(i.callback.url),callbackBody:i.callback.body};i.callback.host&&(r.callbackHost=i.callback.host),i.callback.contentType&&(r.callbackBodyType=i.callback.contentType);var o=g.from((0,v.default)(r)).toString("base64");if(a.headers["x-oss-callback"]=o,i.callback.customValue){var d={};(0,y.default)(i.callback.customValue).forEach(function(n){d["x:"+n]=i.callback.customValue[n]}),a.headers["x-oss-callback-var"]=g.from((0,v.default)(d)).toString("base64")}}}}).call(this,D("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":53,"babel-runtime/core-js/object/keys":60,buffer:73}],15:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/assign"),f=y(g);function y(r){return r&&r.__esModule?r:{default:r}}var m=D("humanize-ms"),v=D("url"),h=D("../utils/checkBucketName"),c=h.checkBucketName;function a(r,o){var d=v.parse(r);if(d.protocol||(d=v.parse("http"+(o?"s":"")+"://"+r)),d.protocol!=="http:"&&d.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return d}function i(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"),v.parse(n+r+l)}_.exports=function(r){if(!r||!r.accessKeyId||!r.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");r.bucket&&c(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=a(o.endpoint,o.secure);else if(o.region)o.endpoint=i(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(D,_,e){"use strict";var g=D("merge-descriptors"),f=e;g(f,D("./processObjectSave"))},{"./processObjectSave":17,"merge-descriptors":200}],17:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(o){return o&&o.__esModule?o:{default:o}}var m=D("../utils/checkBucketName"),v=m.checkBucketName,h=D("querystring"),c=D("js-base64"),a=c.Base64.encode,i=e;i.processObjectSave=function(d,n,l,t){var s,u,p,w;return f.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:return r(d,"sourceObject"),r(n,"targetObject"),r(l,"process"),n=this._objectName(n),t&&v(t),s=this._objectRequestParams("POST",d,{subres:"x-oss-process"}),u=t?",b_"+a(t):"",n=a(n),p={"x-oss-process":l+"|sys/saveas,o_"+n+u},s.content=h.stringify(p),E.next=12,f.default.awrap(this.request(s));case 12:return w=E.sent,E.abrupt("return",{res:w.res,status:w.res.status});case 14:case"end":return E.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(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=y(g);function y(i){return i&&i.__esModule?i:{default:i}}var m=D("copy-to"),v=D("./callback"),h=D("./utils/deepCopy"),c=h.deepCopy,a=e;a.listUploads=function(r,o){var d,n,l,t;return f.default.async(function(u){for(;;)switch(u.prev=u.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],u.next=10,f.default.awrap(this.request(n));case 10:return l=u.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}}),u.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 u.stop()}},null,this)},a.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)},a.abortMultipartUpload=function(r,o,d){var n,l,t;return f.default.async(function(u){for(;;)switch(u.prev=u.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],u.next=9,f.default.awrap(this.request(l));case 9:return t=u.sent,u.abrupt("return",{res:t.res});case 11:case"end":return u.stop()}},null,this)},a.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)},a.uploadPart=function(r,o,d,n,l,t,s){var u;return f.default.async(function(w){for(;;)switch(w.prev=w.next){case 0:return u={stream:this._createStream(n,l,t),size:t-l},w.next=3,f.default.awrap(this._uploadPart(r,o,d,u,s));case 3:return w.abrupt("return",w.sent);case 4:case"end":return w.stop()}},null,this)},a.completeMultipartUpload=function(r,o,d,n){var l,t,s,u,p,w,b,E;return f.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:for(l=d.concat().sort(function(T,L){return T.number-L.number}).filter(function(T,L,x){return!L||T.number!==x[L-1].number}),t=`<?xml version="1.0" encoding="UTF-8"?>
<CompleteMultipartUpload>
`,s=0;s<l.length;s++)u=l[s],t+=`<Part>
`,t+="<PartNumber>"+u.number+`</PartNumber>
`,t+="<ETag>"+u.etag+`</ETag>
`,t+=`</Part>
`;return t+="</CompleteMultipartUpload>",n=n||{},p={},p=c(n),p.headers&&delete p.headers["x-oss-server-side-encryption"],p.subres={uploadId:o},w=this._objectRequestParams("POST",r,p),v.encodeCallback(w,p),w.mime="xml",w.content=t,w.headers&&w.headers["x-oss-callback"]||(w.xmlResponse=!0),w.successStatuses=[200],S.next=17,f.default.awrap(this.request(w));case 17:return b=S.sent,E={res:b.res,bucket:w.bucket,name:r,etag:b.res.headers.etag},w.headers&&w.headers["x-oss-callback"]&&(E.data=JSON.parse(b.data.toString())),S.abrupt("return",E);case 21:case"end":return S.stop()}},null,this)},a._uploadPart=function(r,o,d,n,l){var t,s,u;return f.default.async(function(w){for(;;)switch(w.prev=w.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],w.next=11,f.default.awrap(this.request(s));case 11:if(u=w.sent,u.res.headers.etag){w.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,w.abrupt("return",{name:r,etag:u.res.headers.etag,res:u.res});case 17:case"end":return w.stop()}},null,this)}},{"./callback":14,"./utils/deepCopy":39,"babel-runtime/regenerator":68,"copy-to":76}],19:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=c(g),y=D("babel-runtime/core-js/object/keys"),m=c(y),v=D("babel-runtime/helpers/typeof"),h=c(v);function c(o){return o&&o.__esModule?o:{default:o}}var a=D("../utils/checkBucketName"),i=a.checkBucketName,r=e;r.copy=function(d,n,l,t){var s,u,p;return f.default.async(function(b){for(;;)switch(b.prev=b.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(E){t.headers["x-oss-copy-source-"+E.toLowerCase()]=t.headers[E]}),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],b.next=14,f.default.awrap(this.request(s));case 14:return u=b.sent,p=u.data,p&&(p={etag:p.ETag,lastModified:p.LastModified}),b.abrupt("return",{data:p,res:u.res});case 18:case"end":return b.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")),i(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(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),m=v(y);function v(c){return c&&c.__esModule?c:{default:c}}var h=e;h.delete=function(a){var i=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 i.subres=(0,m.default)({},i.subres),i.versionId&&(i.subres.versionId=i.versionId),r=this._objectRequestParams("DELETE",a,i),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(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),m=v(y);function v(r){return r&&r.__esModule?r:{default:r}}var h=D("utility"),c=D("../utils/obj2xml"),a=c.obj2xml,i=e;i.deleteMulti=function(o){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,l,t,s,u,p,w,b,E,A,S,T;return f.default.async(function(x){for(;;)switch(x.prev=x.next){case 0:if(n=[],!(!o||!o.length)){x.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],u=s.key,p=s.versionId,t.Key=h.escape(this._objectName(u)),t.VersionId=p),n.push(t);return w={Delete:{Quiet:!!d.quiet,Object:n}},b=a(w,{headers:!0}),d.subres=(0,m.default)({delete:""},d.subres),d.versionId&&(d.subres.versionId=d.versionId),E=this._objectRequestParams("POST","",d),E.mime="xml",E.content=b,E.xmlResponse=!0,E.successStatuses=[200],x.next=15,f.default.awrap(this.request(E));case 15:return A=x.sent,S=A.data,T=S&&S.Deleted||null,T&&(Array.isArray(T)||(T=[T])),x.abrupt("return",{res:A.res,deleted:T||[]});case 20:case"end":return x.stop()}},null,this)}},{"../utils/obj2xml":47,"babel-runtime/core-js/object/assign":54,"babel-runtime/regenerator":68,utility:290}],22:[function(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),m=v(y);function v(c){return c&&c.__esModule?c:{default:c}}var h=e;h.deleteObjectTagging=function(a){var i=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 i.subres=(0,m.default)({tagging:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),a=this._objectName(a),r=this._objectRequestParams("DELETE",a,i),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(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),m=v(y);function v(i){return i&&i.__esModule?i:{default:i}}var h=D("fs"),c=D("is-type-of"),a=e;a.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,c.writableStream(o)?n=o:c.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(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),m=v(y);function v(c){return c&&c.__esModule?c:{default:c}}var h=e;h.getACL=function(a){var i=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 i.subres=(0,m.default)({acl:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),a=this._objectName(a),r=this._objectRequestParams("GET",a,i),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(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/keys"),f=c(g),y=D("babel-runtime/regenerator"),m=c(y),v=D("babel-runtime/core-js/object/assign"),h=c(v);function c(s){return s&&s.__esModule?s:{default:s}}var a=e,i=D("../utils/isObject"),r=i.isObject,o=D("../utils/isArray"),d=o.isArray;a.getBucketVersions=n,a.listObjectVersions=n;function n(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},p,w,b,E,A,S;return m.default.async(function(L){for(;;)switch(L.prev=L.next){case 0:if(!(s.versionIdMarker&&s.keyMarker===void 0)){L.next=2;break}throw new Error("A version-id marker cannot be specified without a key marker");case 2:return u.subres=(0,h.default)({versions:""},u.subres),u.versionId&&(u.subres.versionId=u.versionId),p=this._objectRequestParams("GET","",u),p.xmlResponse=!0,p.successStatuses=[200],p.query=t(s),L.next=10,m.default.awrap(this.request(p));case 10:return w=L.sent,b=w.data.Version||[],E=w.data.DeleteMarker||[],A=this,b&&(Array.isArray(b)||(b=[b]),b=b.map(function(x){return{name:x.Key,url:A._objectUrl(x.Key),lastModified:x.LastModified,isLatest:x.IsLatest==="true",versionId:x.VersionId,etag:x.ETag,type:x.Type,size:Number(x.Size),storageClass:x.StorageClass,owner:{id:x.Owner.ID,displayName:x.Owner.DisplayName}}})),E&&(d(E)||(E=[E]),E=E.map(function(x){return{name:x.Key,lastModified:x.LastModified,versionId:x.VersionId,owner:{id:x.Owner.ID,displayName:x.Owner.DisplayName}}})),S=w.data.CommonPrefixes||null,S&&(d(S)||(S=[S]),S=S.map(function(x){return x.Prefix})),L.abrupt("return",{res:w.res,objects:b,deleteMarker:E,prefixes:S,nextMarker:w.data.NextMarker||null,NextVersionIdMarker:w.data.NextVersionIdMarker||null,isTruncated:w.data.IsTruncated==="true"});case 19:case"end":return L.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]:{},u={};return r(s)&&(0,f.default)(s).forEach(function(p){u[l(p)]=s[p]}),u}},{"../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(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),m=v(y);function v(c){return c&&c.__esModule?c:{default:c}}var h=e;h.getObjectMeta=function(a,i){var r,o;return f.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return i=i||{},a=this._objectName(a),i.subres=(0,m.default)({objectMeta:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),r=this._objectRequestParams("HEAD",a,i),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(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),m=v(y);function v(i){return i&&i.__esModule?i:{default:i}}var h=e,c=D("../utils/isObject"),a=c.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&&a(t)?[t]:t||[],s={},t.forEach(function(w){s[w.Key]=w.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(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),m=v(y);function v(c){return c&&c.__esModule?c:{default:c}}var h=e;h.getSymlink=function(a){var i=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 i.subres=(0,m.default)({symlink:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),a=this._objectName(a),r=this._objectRequestParams("GET",a,i),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(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=c(g),y=D("babel-runtime/core-js/object/keys"),m=c(y),v=D("babel-runtime/core-js/object/assign"),h=c(v);function c(i){return i&&i.__esModule?i:{default:i}}var a=e;a.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(u){u.indexOf("x-oss-meta-")===0&&(l.meta||(l.meta={}),l.meta[u.substring(11)]=n.headers[u])}),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(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),m=v(y);function v(c){return c&&c.__esModule?c:{default:c}}var h=e;h.putACL=function(a,i,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"]=i,a=this._objectName(a),o=this._objectRequestParams("PUT",a,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(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=c(g),y=D("babel-runtime/core-js/object/keys"),m=c(y),v=D("babel-runtime/core-js/object/assign"),h=c(v);function c(n){return n&&n.__esModule?n:{default:n}}var a=D("../utils/obj2xml"),i=a.obj2xml,r=D("../utils/checkObjectTag"),o=r.checkObjectTag,d=e;d.putObjectTagging=function(l,t){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u,p,w;return f.default.async(function(E){for(;;)switch(E.prev=E.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),u=this._objectRequestParams("PUT",l,s),u.successStatuses=[200],t=(0,m.default)(t).map(function(A){return{Key:A,Value:t[A]}}),p={Tagging:{TagSet:{Tag:t}}},u.mime="xml",u.content=i(p),E.next=12,f.default.awrap(this.request(u));case 12:return w=E.sent,E.abrupt("return",{res:w.res,status:w.status});case 14:case"end":return E.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(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/object/assign"),m=v(y);function v(c){return c&&c.__esModule?c:{default:c}}var h=e;h.putSymlink=function(a,i,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||{},i=this._escape(this._objectName(i)),this._convertMetaToHeaders(r.meta,r.headers),r.headers["x-oss-symlink-target"]=i,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),a=this._objectName(a),o=this._objectRequestParams("PUT",a,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(D,_,e){"use strict";var g=D("babel-runtime/regenerator"),f=v(g),y=D("babel-runtime/core-js/promise"),m=v(y);function v(c){return c&&c.__esModule?c:{default:c}}var h=e;h._parallelNode=function(a,i,r,o){var d,n,l,t,s,u,p,w;return f.default.async(function(E){for(;;)switch(E.prev=E.next){case 0:d=this,n=[],l=[],t=a.length/i,s=a.length%i,u=s===0?t:(a.length-s)/i+1,p=1,w=0;case 8:if(!(w<a.length)){E.next=26;break}if(!d.isCancel()){E.next=11;break}return E.abrupt("break",26);case 11:if(o?l.push(r(d,a[w],o)):l.push(r(d,a[w])),!(l.length===i||p===u&&w===a.length-1)){E.next=23;break}return E.prev=13,p+=1,E.next=17,f.default.awrap(m.default.all(l));case 17:E.next=22;break;case 19:E.prev=19,E.t0=E.catch(13),n.push(E.t0);case 22:l=[];case 23:w++,E.next=8;break;case 26:return E.abrupt("return",n);case 27:case"end":return E.stop()}},null,this,[[13,19]])},h._parallel=function(a,i,r){var o=this;return new m.default(function(d){var n=[];if(i<=0||!a){d(n);return}function l(S){return function(){if(S===null)throw new Error("Callback was already called.");var T=S;S=null;for(var L=arguments.length,x=Array(L),C=0;C<L;C++)x[C]=arguments[C];T.apply(this,x)}}function t(S){var T=-1,L=S.length;return function(){return++T<L&&!o.isCancel()?{value:S[T],key:T}:null}}var s=t(a),u=!1,p=0,w=!1;function b(S,T){p-=1,S?(u=!0,n.push(S),d(n)):T==={}||u&&p<=0?(u=!0,d(n)):w||(o.isCancel()?d(n):A())}function E(S,T){r(S).then(function(L){T(null,L)}).catch(function(L){T(L)})}function A(){for(w=!0;p<i&&!u&&!o.isCancel();){var S=s();if(S===null||n.length>0){u=!0,p<=0&&d(n);return}p+=1,E(S.value,l(b))}w=!1}A()})},h.cancel=function(a){this.options.cancelFlag=!0,a&&this.abortMultipartUpload(a.name,a.uploadId,a.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 a={status:0,name:"cancel"};return a}},{"babel-runtime/core-js/promise":61,"babel-runtime/regenerator":68}],34:[function(D,_,e){(function(g){"use strict";var f=D("babel-runtime/core-js/json/stringify"),y=h(f),m=D("babel-runtime/core-js/object/keys"),v=h(m);function h(i){return i&&i.__esModule?i:{default:i}}var c=D("./../../shims/crypto/crypto.js"),a=D("is-type-of");e.buildCanonicalizedResource=function(r,o){var d=""+r,n="?";if(a.string(o)&&o.trim()!=="")d+=n+o;else if(a.array(o))o.sort(),d+=n+o.join("&");else if(o){var l=function(u,p){return u[0]>p[0]?1:u[0]<p[0]?-1:0},t=function(u){d+=n+u,o[u]&&(d+="="+o[u]),n="&"};(0,v.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=[],u={},p=[r.toUpperCase(),l["Content-Md5"]||"",l["Content-Type"]||l["Content-Type".toLowerCase()],n||l["x-oss-date"]];return(0,v.default)(l).forEach(function(w){var b=w.toLowerCase();b.indexOf(t)===0&&(u[b]=String(l[w]).trim())}),(0,v.default)(u).sort().forEach(function(w){s.push(w+":"+u[w])}),p=p.concat(s),p.push(this.buildCanonicalizedResource(o,d.parameters)),p.join(`
`)},e.computeSignature=function(r,o){var d=c.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 u="x-oss-process";s[u]=o.process}if(o.trafficLimit){var p="x-oss-traffic-limit";s[p]=o.trafficLimit}if(o.response&&(0,v.default)(o.response).forEach(function(A){var S="response-"+A.toLowerCase();s[S]=o.response[A]}),(0,v.default)(o).forEach(function(A){var S=A.toLowerCase(),T=o[A];S.indexOf("x-oss-")===0?l[S]=T:(S.indexOf("content-md5")===0||S.indexOf("content-type")===0)&&(l[A]=T)}),Object.prototype.hasOwnProperty.call(o,"security-token")&&(s["security-token"]=o["security-token"]),Object.prototype.hasOwnProperty.call(o,"callback")){var w={callbackUrl:encodeURI(o.callback.url),callbackBody:o.callback.body};if(o.callback.host&&(w.callbackHost=o.callback.host),o.callback.contentType&&(w.callbackBodyType=o.callback.contentType),s.callback=g.from((0,y.default)(w)).toString("base64"),o.callback.customValue){var b={};(0,v.default)(o.callback.customValue).forEach(function(A){b["x:"+A]=o.callback.customValue[A]}),s["callback-var"]=g.from((0,y.default)(b)).toString("base64")}}var E=this.buildCanonicalString(o.method,d,{headers:l,parameters:s},n.toString());return{Signature:this.computeSignature(r,E),subResource:s}}}).call(this,D("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(D,_,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkBucketName=void 0,e.checkBucketName=function(g,f){var y=f?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!y.test(g))throw new Error("The bucket must be conform to the specifications")}},{}],36:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/entries"),f=y(g);function y(o){return o&&o.__esModule?o:{default:o}}Object.defineProperty(e,"__esModule",{value:!0}),e.checkObjectTag=void 0;var m=D("./checkValid"),v=m.checkValid,h=D("./isObject"),c=h.isObject,a=[{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 (/)"}],i={key:[].concat(a,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(a,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function r(o){if(!c(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){v(t,i[n[s]])})})}e.checkObjectTag=r},{"./checkValid":37,"./isObject":46,"babel-runtime/core-js/object/entries":57}],37:[function(D,_,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.checkValid=void 0;function g(f,y){y.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(D,_,e){(function(g){"use strict";var f=D("babel-runtime/core-js/object/assign"),y=m(f);function m(l){return l&&l.__esModule?l:{default:l}}Object.defineProperty(e,"__esModule",{value:!0}),e.createRequest=void 0;var v=D("./../../../shims/crypto/crypto.js"),h=D("debug")("ali-oss"),c=D("mime"),a=D("dateformat"),i=D("copy-to"),r=D("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":a(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,y.default)(s,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(s["x-oss-security-token"]=this.options.stsToken),i(l.headers).to(s),o(s,"Content-Type")||(l.mime&&l.mime.indexOf("/")>0?s["Content-Type"]=l.mime:s["Content-Type"]=c.getType(l.mime||r.extname(l.object||""))),o(s,"Content-Type")||d(s,"Content-Type"),l.content&&(s["Content-Md5"]=v.createHash("md5").update(g.from(l.content,"utf8")).digest("base64"),s["Content-Length"]||(s["Content-Length"]=l.content.length));var u=this._getResource(l);s.authorization=this.authorization(l.method,u,l.subres,s);var p=this._getReqUrl(l);h("request %s %s, with headers %j, !!stream: %s",l.method,p,s,!!l.stream);var w=l.timeout||this.options.timeout,b={method:l.method,content:l.content,stream:l.stream,headers:s,timeout:w,writeStream:l.writeStream,customResponse:l.customResponse,ctx:l.ctx||this.ctx};return this.agent&&(b.agent=this.agent),this.httpsAgent&&(b.httpsAgent=this.httpsAgent),{url:p,params:b}}e.createRequest=n}).call(this,D("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(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/keys"),f=v(g),y=D("babel-runtime/helpers/typeof"),m=v(y);function v(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 c=Array.isArray(h)?[]:{};return(0,f.default)(h).forEach(function(a){c[a]=e.deepCopy(h[a])}),c}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],40:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/keys"),f=v(g),y=D("babel-runtime/helpers/typeof"),m=v(y);function v(a){return a&&a.__esModule?a:{default:a}}Object.defineProperty(e,"__esModule",{value:!0}),e.formatObjKey=void 0;function h(a,i){if(a===null||(typeof a=="undefined"?"undefined":(0,m.default)(a))!=="object")return a;var r=void 0;if(Array.isArray(a)){r=[];for(var o=0;o<a.length;o++)r.push(h(a[o],i))}else r={},(0,f.default)(a).forEach(function(d){r[c(d,i)]=h(a[d],i)});return r}e.formatObjKey=h;function c(a,i){return i==="firstUpperCase"?a=a.replace(/^./,function(r){return r.toUpperCase()}):i==="firstLowerCase"&&(a=a.replace(/^./,function(r){return r.toLowerCase()})),a}},{"babel-runtime/core-js/object/keys":60,"babel-runtime/helpers/typeof":67}],41:[function(D,_,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getStrBytesCount=void 0;function g(f){for(var y=0,m=0;m<f.length;m++){var v=f.charAt(m);/^[\u00-\uff]$/.test(v)?y+=1:y+=2}return y}e.getStrBytesCount=g},{}],42:[function(D,_,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(D,_,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(D,_,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(D,_,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}$/,y=/^\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)||y.test(g)}},{}],46:[function(D,_,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(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/keys"),f=y(g);function y(c){return c&&c.__esModule?c:{default:c}}Object.defineProperty(e,"__esModule",{value:!0}),e.obj2xml=void 0;var m=D("./formatObjKey");function v(c){return Object.prototype.toString.call(c).replace(/(.*? |])/g,"").toLowerCase()}function h(c,a){var i="";return a&&a.headers&&(i=`<?xml version="1.0" encoding="UTF-8"?>
`),a&&a.firstUpperCase&&(c=m.formatObjKey(c,"firstUpperCase")),v(c)==="object"?(0,f.default)(c).forEach(function(r){v(c[r])==="string"||v(c[r])==="number"?i+="<"+r+">"+c[r]+"</"+r+">":v(c[r])==="object"?i+="<"+r+">"+h(c[r])+"</"+r+">":v(c[r])==="array"?i+=c[r].map(function(o){return"<"+r+">"+h(o)+"</"+r+">"}).join(""):i+="<"+r+">"+c[r].toString()+"</"+r+">"}):i+=c.toString(),i}e.obj2xml=h},{"./formatObjKey":40,"babel-runtime/core-js/object/keys":60}],48:[function(D,_,e){_.exports=g,_.exports.HttpsAgent=g;function g(){}},{}],49:[function(D,_,e){_.exports=D("./register")().Promise},{"./register":51}],50:[function(D,_,e){"use strict";var g="@@any-promise/REGISTRATION",f=null;_.exports=function(y,m){return function(h,c){h=h||null,c=c||{};var a=c.global!==!1;if(f===null&&a&&(f=y[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 c.Promise!="undefined"?f={Promise:c.Promise,implementation:h}:f=m(h),a&&(y[g]=f)),f}}},{}],51:[function(D,_,e){"use strict";_.exports=D("./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(D,_,e){_.exports={default:D("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":77}],53:[function(D,_,e){_.exports={default:D("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":78}],54:[function(D,_,e){_.exports={default:D("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":79}],55:[function(D,_,e){_.exports={default:D("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":80}],56:[function(D,_,e){_.exports={default:D("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":81}],57:[function(D,_,e){_.exports={default:D("core-js/library/fn/object/entries"),__esModule:!0}},{"core-js/library/fn/object/entries":82}],58:[function(D,_,e){_.exports={default:D("core-js/library/fn/object/get-own-property-names"),__esModule:!0}},{"core-js/library/fn/object/get-own-property-names":83}],59:[function(D,_,e){_.exports={default:D("core-js/library/fn/object/get-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/get-prototype-of":84}],60:[function(D,_,e){_.exports={default:D("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":85}],61:[function(D,_,e){_.exports={default:D("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":86}],62:[function(D,_,e){_.exports={default:D("core-js/library/fn/set-immediate"),__esModule:!0}},{"core-js/library/fn/set-immediate":87}],63:[function(D,_,e){_.exports={default:D("core-js/library/fn/string/from-code-point"),__esModule:!0}},{"core-js/library/fn/string/from-code-point":88}],64:[function(D,_,e){_.exports={default:D("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":90}],65:[function(D,_,e){_.exports={default:D("core-js/library/fn/symbol/has-instance"),__esModule:!0}},{"core-js/library/fn/symbol/has-instance":89}],66:[function(D,_,e){_.exports={default:D("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":91}],67:[function(D,_,e){"use strict";e.__esModule=!0;var g=D("../core-js/symbol/iterator"),f=h(g),y=D("../core-js/symbol"),m=h(y),v=typeof m.default=="function"&&typeof f.default=="symbol"?function(c){return typeof c}:function(c){return c&&typeof m.default=="function"&&c.constructor===m.default&&c!==m.default.prototype?"symbol":typeof c};function h(c){return c&&c.__esModule?c:{default:c}}e.default=typeof m.default=="function"&&v(f.default)==="symbol"?function(c){return typeof c=="undefined"?"undefined":v(c)}:function(c){return c&&typeof m.default=="function"&&c.constructor===m.default&&c!==m.default.prototype?"symbol":typeof c=="undefined"?"undefined":v(c)}},{"../core-js/symbol":64,"../core-js/symbol/iterator":66}],68:[function(D,_,e){_.exports=D("regenerator-runtime")},{"regenerator-runtime":226}],69:[function(D,_,e){"use strict";e.byteLength=a,e.toByteArray=r,e.fromByteArray=n;for(var g=[],f=[],y=typeof Uint8Array!="undefined"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v=0,h=m.length;v<h;++v)g[v]=m[v],f[m.charCodeAt(v)]=v;f["-".charCodeAt(0)]=62,f["_".charCodeAt(0)]=63;function c(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 u=s===t?0:4-s%4;return[s,u]}function a(l){var t=c(l),s=t[0],u=t[1];return(s+u)*3/4-u}function i(l,t,s){return(t+s)*3/4-s}function r(l){var t,s=c(l),u=s[0],p=s[1],w=new y(i(l,u,p)),b=0,E=p>0?u-4:u,A;for(A=0;A<E;A+=4)t=f[l.charCodeAt(A)]<<18|f[l.charCodeAt(A+1)]<<12|f[l.charCodeAt(A+2)]<<6|f[l.charCodeAt(A+3)],w[b++]=t>>16&255,w[b++]=t>>8&255,w[b++]=t&255;return p===2&&(t=f[l.charCodeAt(A)]<<2|f[l.charCodeAt(A+1)]>>4,w[b++]=t&255),p===1&&(t=f[l.charCodeAt(A)]<<10|f[l.charCodeAt(A+1)]<<4|f[l.charCodeAt(A+2)]>>2,w[b++]=t>>8&255,w[b++]=t&255),w}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 u,p=[],w=t;w<s;w+=3)u=(l[w]<<16&16711680)+(l[w+1]<<8&65280)+(l[w+2]&255),p.push(o(u));return p.join("")}function n(l){for(var t,s=l.length,u=s%3,p=[],w=16383,b=0,E=s-u;b<E;b+=w)p.push(d(l,b,b+w>E?E:b+w));return u===1?(t=l[s-1],p.push(g[t>>2]+g[t<<4&63]+"==")):u===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(D,_,e){/*!
* Bowser - a browser detector
* https://github.com/ded/bowser
* MIT License | (c) Dustin Diaz 2015
*/!function(g,f,y){typeof _!="undefined"&&_.exports?_.exports=y():typeof define=="function"&&define.amd?define(f,y):g[f]=y()}(this,"bowser",function(){var g=!0;function f(i){function r(U){var j=i.match(U);return j&&j.length>1&&j[1]||""}function o(U){var j=i.match(U);return j&&j.length>1&&j[2]||""}var d=r(/(ipod|iphone|ipad)/i).toLowerCase(),n=/like android/i.test(i),l=!n&&/android/i.test(i),t=/nexus\s*[0-6]\s*/i.test(i),s=!t&&/nexus\s*[0-9]+/i.test(i),u=/CrOS/.test(i),p=/silk/i.test(i),w=/sailfish/i.test(i),b=/tizen/i.test(i),E=/(web|hpw)(o|0)s/i.test(i),A=/windows phone/i.test(i),S=/SamsungBrowser/i.test(i),T=!A&&/windows/i.test(i),L=!d&&!p&&/macintosh/i.test(i),x=!l&&!w&&!b&&!E&&/linux/i.test(i),C=o(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),I=r(/version\/(\d+(\.\d+)?)/i),N=/tablet/i.test(i)&&!/tablet pc/i.test(i),F=!N&&/[^-]mobi/i.test(i),k=/xbox/i.test(i),B;/opera/i.test(i)?B={name:"Opera",opera:g,version:I||r(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(i)?B={name:"Opera",opera:g,version:r(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||I}:/SamsungBrowser/i.test(i)?B={name:"Samsung Internet for Android",samsungBrowser:g,version:I||r(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(i)?B={name:"NAVER Whale browser",whale:g,version:r(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(i)?B={name:"MZ Browser",mzbrowser:g,version:r(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(i)?B={name:"Opera Coast",coast:g,version:I||r(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(i)?B={name:"Focus",focus:g,version:r(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(i)?B={name:"Yandex Browser",yandexbrowser:g,version:I||r(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(i)?B={name:"UC Browser",ucbrowser:g,version:r(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(i)?B={name:"Maxthon",maxthon:g,version:r(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(i)?B={name:"Epiphany",epiphany:g,version:r(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(i)?B={name:"Puffin",puffin:g,version:r(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(i)?B={name:"Sleipnir",sleipnir:g,version:r(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(i)?B={name:"K-Meleon",kMeleon:g,version:r(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:A?(B={name:"Windows Phone",osname:"Windows Phone",windowsphone:g},C?(B.msedge=g,B.version=C):(B.msie=g,B.version=r(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(i)?B={name:"Internet Explorer",msie:g,version:r(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:u?B={name:"Chrome",osname:"Chrome OS",chromeos:g,chromeBook:g,chrome:g,version:r(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(i)?B={name:"Microsoft Edge",msedge:g,version:C}:/vivaldi/i.test(i)?B={name:"Vivaldi",vivaldi:g,version:r(/vivaldi\/(\d+(\.\d+)?)/i)||I}:w?B={name:"Sailfish",osname:"Sailfish OS",sailfish:g,version:r(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(i)?B={name:"SeaMonkey",seamonkey:g,version:r(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(i)?(B={name:"Firefox",firefox:g,version:r(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(i)&&(B.firefoxos=g,B.osname="Firefox OS")):p?B={name:"Amazon Silk",silk:g,version:r(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(i)?B={name:"PhantomJS",phantom:g,version:r(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(i)?B={name:"SlimerJS",slimer:g,version:r(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(i)||/rim\stablet/i.test(i)?B={name:"BlackBerry",osname:"BlackBerry OS",blackberry:g,version:I||r(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:E?(B={name:"WebOS",osname:"WebOS",webos:g,version:I||r(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(i)&&(B.touchpad=g)):/bada/i.test(i)?B={name:"Bada",osname:"Bada",bada:g,version:r(/dolfin\/(\d+(\.\d+)?)/i)}:b?B={name:"Tizen",osname:"Tizen",tizen:g,version:r(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||I}:/qupzilla/i.test(i)?B={name:"QupZilla",qupzilla:g,version:r(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||I}:/chromium/i.test(i)?B={name:"Chromium",chromium:g,version:r(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||I}:/chrome|crios|crmo/i.test(i)?B={name:"Chrome",chrome:g,version:r(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:l?B={name:"Android",version:I}:/safari|applewebkit/i.test(i)?(B={name:"Safari",safari:g},I&&(B.version=I)):d?(B={name:d=="iphone"?"iPhone":d=="ipad"?"iPad":"iPod"},I&&(B.version=I)):/googlebot/i.test(i)?B={name:"Googlebot",googlebot:g,version:r(/googlebot\/(\d+(\.\d+))/i)||I}:B={name:r(/^(.*)\/(.*) /),version:o(/^(.*)\/(.*) /)},!B.msedge&&/(apple)?webkit/i.test(i)?(/(apple)?webkit\/537\.36/i.test(i)?(B.name=B.name||"Blink",B.blink=g):(B.name=B.name||"Webkit",B.webkit=g),!B.version&&I&&(B.version=I)):!B.opera&&/gecko\//i.test(i)&&(B.name=B.name||"Gecko",B.gecko=g,B.version=B.version||r(/gecko\/(\d+(\.\d+)?)/i)),!B.windowsphone&&(l||B.silk)?(B.android=g,B.osname="Android"):!B.windowsphone&&d?(B[d]=g,B.ios=g,B.osname="iOS"):L?(B.mac=g,B.osname="macOS"):k?(B.xbox=g,B.osname="Xbox"):T?(B.windows=g,B.osname="Windows"):x&&(B.linux=g,B.osname="Linux");function P(U){switch(U){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 K="";B.windows?K=P(r(/Windows ((NT|XP)( \d\d?.\d)?)/i)):B.windowsphone?K=r(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):B.mac?(K=r(/Mac OS X (\d+([_\.\s]\d+)*)/i),K=K.replace(/[_\s]/g,".")):d?(K=r(/os (\d+([_\s]\d+)*) like mac os x/i),K=K.replace(/[_\s]/g,".")):l?K=r(/android[ \/-](\d+(\.\d+)*)/i):B.webos?K=r(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):B.blackberry?K=r(/rim\stablet\sos\s(\d+(\.\d+)*)/i):B.bada?K=r(/bada\/(\d+(\.\d+)*)/i):B.tizen&&(K=r(/tizen[\/\s](\d+(\.\d+)*)/i)),K&&(B.osversion=K);var R=!B.windows&&K.split(".")[0];return N||s||d=="ipad"||l&&(R==3||R>=4&&!F)||B.silk?B.tablet=g:(F||d=="iphone"||d=="ipod"||l||t||B.blackberry||B.webos||B.bada)&&(B.mobile=g),B.msedge||B.msie&&B.version>=10||B.yandexbrowser&&B.version>=15||B.vivaldi&&B.version>=1||B.chrome&&B.version>=20||B.samsungBrowser&&B.version>=4||B.whale&&h([B.version,"1.0"])===1||B.mzbrowser&&h([B.version,"6.0"])===1||B.focus&&h([B.version,"1.0"])===1||B.firefox&&B.version>=20||B.safari&&B.version>=6||B.opera&&B.version>=10||B.ios&&B.osversion&&B.osversion.split(".")[0]>=6||B.blackberry&&B.version>=10.1||B.chromium&&B.version>=20?B.a=g:B.msie&&B.version<10||B.chrome&&B.version<20||B.firefox&&B.version<20||B.safari&&B.version<6||B.opera&&B.version<10||B.ios&&B.osversion&&B.osversion.split(".")[0]<6||B.chromium&&B.version<20?B.c=g:B.x=g,B}var y=f(typeof navigator!="undefined"&&navigator.userAgent||"");y.test=function(i){for(var r=0;r<i.length;++r){var o=i[r];if(typeof o=="string"&&o in y)return!0}return!1};function m(i){return i.split(".").length}function v(i,r){var o=[],d;if(Array.prototype.map)return Array.prototype.map.call(i,r);for(d=0;d<i.length;d++)o.push(r(i[d]));return o}function h(i){for(var r=Math.max(m(i[0]),m(i[1])),o=v(i,function(d){var n=r-m(d);return d=d+new Array(n+1).join(".0"),v(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 c(i,r,o){var d=y;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 i)if(i.hasOwnProperty(l)&&d[l]){if(typeof i[l]!="string")throw new Error("Browser version in the minVersion map should be a string: "+l+": "+String(i));return h([n,i[l]])<0}return r}function a(i,r,o){return!c(i,r,o)}return y.isUnsupportedBrowser=c,y.compareVersions=h,y.check=a,y._detect=f,y.detect=f,y})},{}],71:[function(D,_,e){},{}],72:[function(D,_,e){var g=D("buffer").Buffer,f=g.isEncoding||function(a){switch(a&&a.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 y(a){if(a&&!f(a))throw new Error("Unknown encoding: "+a)}var m=e.StringDecoder=function(a){this.encoding=(a||"utf8").toLowerCase().replace(/[-_]/,""),y(a);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=c;break;default:this.write=v;return}this.charBuffer=new g(6),this.charReceived=0,this.charLength=0};m.prototype.write=function(a){for(var i="";this.charLength;){var r=a.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:a.length;if(a.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived<this.charLength)return"";a=a.slice(r,a.length),i=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var d=i.charCodeAt(i.length-1);if(d>=55296&&d<=56319){this.charLength+=this.surrogateSize,i="";continue}if(this.charReceived=this.charLength=0,a.length===0)return i;break}this.detectIncompleteChar(a);var o=a.length;this.charLength&&(a.copy(this.charBuffer,0,a.length-this.charReceived,o),o-=this.charReceived),i+=a.toString(this.encoding,0,o);var o=i.length-1,d=i.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),a.copy(this.charBuffer,0,0,n),i.substring(0,o)}return i},m.prototype.detectIncompleteChar=function(a){for(var i=a.length>=3?3:a.length;i>0;i--){var r=a[a.length-i];if(i==1&&r>>5==6){this.charLength=2;break}if(i<=2&&r>>4==14){this.charLength=3;break}if(i<=3&&r>>3==30){this.charLength=4;break}}this.charReceived=i},m.prototype.end=function(a){var i="";if(a&&a.length&&(i=this.write(a)),this.charReceived){var r=this.charReceived,o=this.charBuffer,d=this.encoding;i+=o.slice(0,r).toString(d)}return i};function v(a){return a.toString(this.encoding)}function h(a){this.charReceived=a.length%2,this.charLength=this.charReceived?2:0}function c(a){this.charReceived=a.length%3,this.charLength=this.charReceived?3:0}},{buffer:73}],73:[function(D,_,e){(function(g,f){/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/"use strict";var y=D("base64-js"),m=D("ieee754"),v=D("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=c();function h(){try{var ce=new Uint8Array(1);return ce.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},ce.foo()===42&&typeof ce.subarray=="function"&&ce.subarray(1,1).byteLength===0}catch(Y){return!1}}function c(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(ce,Y){if(c()<Y)throw new RangeError("Invalid typed array length");return f.TYPED_ARRAY_SUPPORT?(ce=new Uint8Array(Y),ce.__proto__=f.prototype):(ce===null&&(ce=new f(Y)),ce.length=Y),ce}function f(ce,Y,V){if(!f.TYPED_ARRAY_SUPPORT&&!(this instanceof f))return new f(ce,Y,V);if(typeof ce=="number"){if(typeof Y=="string")throw new Error("If encoding is specified then the first argument must be a string");return d(this,ce)}return i(this,ce,Y,V)}f.poolSize=8192,f._augment=function(ce){return ce.__proto__=f.prototype,ce};function i(ce,Y,V,$){if(typeof Y=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&Y instanceof ArrayBuffer?t(ce,Y,V,$):typeof Y=="string"?n(ce,Y,V):s(ce,Y)}f.from=function(ce,Y,V){return i(null,ce,Y,V)},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(ce){if(typeof ce!="number")throw new TypeError('"size" argument must be a number');if(ce<0)throw new RangeError('"size" argument must not be negative')}function o(ce,Y,V,$){return r(Y),Y<=0?a(ce,Y):V!==void 0?typeof $=="string"?a(ce,Y).fill(V,$):a(ce,Y).fill(V):a(ce,Y)}f.alloc=function(ce,Y,V){return o(null,ce,Y,V)};function d(ce,Y){if(r(Y),ce=a(ce,Y<0?0:u(Y)|0),!f.TYPED_ARRAY_SUPPORT)for(var V=0;V<Y;++V)ce[V]=0;return ce}f.allocUnsafe=function(ce){return d(null,ce)},f.allocUnsafeSlow=function(ce){return d(null,ce)};function n(ce,Y,V){if((typeof V!="string"||V==="")&&(V="utf8"),!f.isEncoding(V))throw new TypeError('"encoding" must be a valid string encoding');var $=w(Y,V)|0;ce=a(ce,$);var Te=ce.write(Y,V);return Te!==$&&(ce=ce.slice(0,Te)),ce}function l(ce,Y){var V=Y.length<0?0:u(Y.length)|0;ce=a(ce,V);for(var $=0;$<V;$+=1)ce[$]=Y[$]&255;return ce}function t(ce,Y,V,$){if(Y.byteLength,V<0||Y.byteLength<V)throw new RangeError("'offset' is out of bounds");if(Y.byteLength<V+($||0))throw new RangeError("'length' is out of bounds");return V===void 0&&$===void 0?Y=new Uint8Array(Y):$===void 0?Y=new Uint8Array(Y,V):Y=new Uint8Array(Y,V,$),f.TYPED_ARRAY_SUPPORT?(ce=Y,ce.__proto__=f.prototype):ce=l(ce,Y),ce}function s(ce,Y){if(f.isBuffer(Y)){var V=u(Y.length)|0;return ce=a(ce,V),ce.length===0||Y.copy(ce,0,0,V),ce}if(Y){if(typeof ArrayBuffer!="undefined"&&Y.buffer instanceof ArrayBuffer||"length"in Y)return typeof Y.length!="number"||lt(Y.length)?a(ce,0):l(ce,Y);if(Y.type==="Buffer"&&v(Y.data))return l(ce,Y.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function u(ce){if(ce>=c())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+c().toString(16)+" bytes");return ce|0}function p(ce){return+ce!=ce&&(ce=0),f.alloc(+ce)}f.isBuffer=function(Y){return!!(Y!=null&&Y._isBuffer)},f.compare=function(Y,V){if(!f.isBuffer(Y)||!f.isBuffer(V))throw new TypeError("Arguments must be Buffers");if(Y===V)return 0;for(var $=Y.length,Te=V.length,ye=0,Fe=Math.min($,Te);ye<Fe;++ye)if(Y[ye]!==V[ye]){$=Y[ye],Te=V[ye];break}return $<Te?-1:Te<$?1:0},f.isEncoding=function(Y){switch(String(Y).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(Y,V){if(!v(Y))throw new TypeError('"list" argument must be an Array of Buffers');if(Y.length===0)return f.alloc(0);var $;if(V===void 0)for(V=0,$=0;$<Y.length;++$)V+=Y[$].length;var Te=f.allocUnsafe(V),ye=0;for($=0;$<Y.length;++$){var Fe=Y[$];if(!f.isBuffer(Fe))throw new TypeError('"list" argument must be an Array of Buffers');Fe.copy(Te,ye),ye+=Fe.length}return Te};function w(ce,Y){if(f.isBuffer(ce))return ce.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(ce)||ce instanceof ArrayBuffer))return ce.byteLength;typeof ce!="string"&&(ce=""+ce);var V=ce.length;if(V===0)return 0;for(var $=!1;;)switch(Y){case"ascii":case"latin1":case"binary":return V;case"utf8":case"utf-8":case void 0:return Pe(ce).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return V*2;case"hex":return V>>>1;case"base64":return _e(ce).length;default:if($)return Pe(ce).length;Y=(""+Y).toLowerCase(),$=!0}}f.byteLength=w;function b(ce,Y,V){var $=!1;if((Y===void 0||Y<0)&&(Y=0),Y>this.length)return"";if((V===void 0||V>this.length)&&(V=this.length),V<=0)return"";if(V>>>=0,Y>>>=0,V<=Y)return"";for(ce||(ce="utf8");;)switch(ce){case"hex":return U(this,Y,V);case"utf8":case"utf-8":return k(this,Y,V);case"ascii":return K(this,Y,V);case"latin1":case"binary":return R(this,Y,V);case"base64":return F(this,Y,V);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,Y,V);default:if($)throw new TypeError("Unknown encoding: "+ce);ce=(ce+"").toLowerCase(),$=!0}}f.prototype._isBuffer=!0;function E(ce,Y,V){var $=ce[Y];ce[Y]=ce[V],ce[V]=$}f.prototype.swap16=function(){var Y=this.length;if(Y%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var V=0;V<Y;V+=2)E(this,V,V+1);return this},f.prototype.swap32=function(){var Y=this.length;if(Y%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var V=0;V<Y;V+=4)E(this,V,V+3),E(this,V+1,V+2);return this},f.prototype.swap64=function(){var Y=this.length;if(Y%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var V=0;V<Y;V+=8)E(this,V,V+7),E(this,V+1,V+6),E(this,V+2,V+5),E(this,V+3,V+4);return this},f.prototype.toString=function(){var Y=this.length|0;return Y===0?"":arguments.length===0?k(this,0,Y):b.apply(this,arguments)},f.prototype.equals=function(Y){if(!f.isBuffer(Y))throw new TypeError("Argument must be a Buffer");return this===Y?!0:f.compare(this,Y)===0},f.prototype.inspect=function(){var Y="",V=e.INSPECT_MAX_BYTES;return this.length>0&&(Y=this.toString("hex",0,V).match(/.{2}/g).join(" "),this.length>V&&(Y+=" ... ")),"<Buffer "+Y+">"},f.prototype.compare=function(Y,V,$,Te,ye){if(!f.isBuffer(Y))throw new TypeError("Argument must be a Buffer");if(V===void 0&&(V=0),$===void 0&&($=Y?Y.length:0),Te===void 0&&(Te=0),ye===void 0&&(ye=this.length),V<0||$>Y.length||Te<0||ye>this.length)throw new RangeError("out of range index");if(Te>=ye&&V>=$)return 0;if(Te>=ye)return-1;if(V>=$)return 1;if(V>>>=0,$>>>=0,Te>>>=0,ye>>>=0,this===Y)return 0;for(var Fe=ye-Te,Oe=$-V,se=Math.min(Fe,Oe),fe=this.slice(Te,ye),Le=Y.slice(V,$),Je=0;Je<se;++Je)if(fe[Je]!==Le[Je]){Fe=fe[Je],Oe=Le[Je];break}return Fe<Oe?-1:Oe<Fe?1:0};function A(ce,Y,V,$,Te){if(ce.length===0)return-1;if(typeof V=="string"?($=V,V=0):V>2147483647?V=2147483647:V<-2147483648&&(V=-2147483648),V=+V,isNaN(V)&&(V=Te?0:ce.length-1),V<0&&(V=ce.length+V),V>=ce.length){if(Te)return-1;V=ce.length-1}else if(V<0)if(Te)V=0;else return-1;if(typeof Y=="string"&&(Y=f.from(Y,$)),f.isBuffer(Y))return Y.length===0?-1:S(ce,Y,V,$,Te);if(typeof Y=="number")return Y=Y&255,f.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?Te?Uint8Array.prototype.indexOf.call(ce,Y,V):Uint8Array.prototype.lastIndexOf.call(ce,Y,V):S(ce,[Y],V,$,Te);throw new TypeError("val must be string, number or Buffer")}function S(ce,Y,V,$,Te){var ye=1,Fe=ce.length,Oe=Y.length;if($!==void 0&&($=String($).toLowerCase(),$==="ucs2"||$==="ucs-2"||$==="utf16le"||$==="utf-16le")){if(ce.length<2||Y.length<2)return-1;ye=2,Fe/=2,Oe/=2,V/=2}function se(Ct,Ue){return ye===1?Ct[Ue]:Ct.readUInt16BE(Ue*ye)}var fe;if(Te){var Le=-1;for(fe=V;fe<Fe;fe++)if(se(ce,fe)===se(Y,Le===-1?0:fe-Le)){if(Le===-1&&(Le=fe),fe-Le+1===Oe)return Le*ye}else Le!==-1&&(fe-=fe-Le),Le=-1}else for(V+Oe>Fe&&(V=Fe-Oe),fe=V;fe>=0;fe--){for(var Je=!0,mt=0;mt<Oe;mt++)if(se(ce,fe+mt)!==se(Y,mt)){Je=!1;break}if(Je)return fe}return-1}f.prototype.includes=function(Y,V,$){return this.indexOf(Y,V,$)!==-1},f.prototype.indexOf=function(Y,V,$){return A(this,Y,V,$,!0)},f.prototype.lastIndexOf=function(Y,V,$){return A(this,Y,V,$,!1)};function T(ce,Y,V,$){V=Number(V)||0;var Te=ce.length-V;$?($=Number($),$>Te&&($=Te)):$=Te;var ye=Y.length;if(ye%2!==0)throw new TypeError("Invalid hex string");$>ye/2&&($=ye/2);for(var Fe=0;Fe<$;++Fe){var Oe=parseInt(Y.substr(Fe*2,2),16);if(isNaN(Oe))return Fe;ce[V+Fe]=Oe}return Fe}function L(ce,Y,V,$){return Ce(Pe(Y,ce.length-V),ce,V,$)}function x(ce,Y,V,$){return Ce(Ge(Y),ce,V,$)}function C(ce,Y,V,$){return x(ce,Y,V,$)}function I(ce,Y,V,$){return Ce(_e(Y),ce,V,$)}function N(ce,Y,V,$){return Ce(gt(Y,ce.length-V),ce,V,$)}f.prototype.write=function(Y,V,$,Te){if(V===void 0)Te="utf8",$=this.length,V=0;else if($===void 0&&typeof V=="string")Te=V,$=this.length,V=0;else if(isFinite(V))V=V|0,isFinite($)?($=$|0,Te===void 0&&(Te="utf8")):(Te=$,$=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var ye=this.length-V;if(($===void 0||$>ye)&&($=ye),Y.length>0&&($<0||V<0)||V>this.length)throw new RangeError("Attempt to write outside buffer bounds");Te||(Te="utf8");for(var Fe=!1;;)switch(Te){case"hex":return T(this,Y,V,$);case"utf8":case"utf-8":return L(this,Y,V,$);case"ascii":return x(this,Y,V,$);case"latin1":case"binary":return C(this,Y,V,$);case"base64":return I(this,Y,V,$);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,Y,V,$);default:if(Fe)throw new TypeError("Unknown encoding: "+Te);Te=(""+Te).toLowerCase(),Fe=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function F(ce,Y,V){return Y===0&&V===ce.length?y.fromByteArray(ce):y.fromByteArray(ce.slice(Y,V))}function k(ce,Y,V){V=Math.min(ce.length,V);for(var $=[],Te=Y;Te<V;){var ye=ce[Te],Fe=null,Oe=ye>239?4:ye>223?3:ye>191?2:1;if(Te+Oe<=V){var se,fe,Le,Je;switch(Oe){case 1:ye<128&&(Fe=ye);break;case 2:se=ce[Te+1],(se&192)===128&&(Je=(ye&31)<<6|se&63,Je>127&&(Fe=Je));break;case 3:se=ce[Te+1],fe=ce[Te+2],(se&192)===128&&(fe&192)===128&&(Je=(ye&15)<<12|(se&63)<<6|fe&63,Je>2047&&(Je<55296||Je>57343)&&(Fe=Je));break;case 4:se=ce[Te+1],fe=ce[Te+2],Le=ce[Te+3],(se&192)===128&&(fe&192)===128&&(Le&192)===128&&(Je=(ye&15)<<18|(se&63)<<12|(fe&63)<<6|Le&63,Je>65535&&Je<1114112&&(Fe=Je))}}Fe===null?(Fe=65533,Oe=1):Fe>65535&&(Fe-=65536,$.push(Fe>>>10&1023|55296),Fe=56320|Fe&1023),$.push(Fe),Te+=Oe}return P($)}var B=4096;function P(ce){var Y=ce.length;if(Y<=B)return String.fromCharCode.apply(String,ce);for(var V="",$=0;$<Y;)V+=String.fromCharCode.apply(String,ce.slice($,$+=B));return V}function K(ce,Y,V){var $="";V=Math.min(ce.length,V);for(var Te=Y;Te<V;++Te)$+=String.fromCharCode(ce[Te]&127);return $}function R(ce,Y,V){var $="";V=Math.min(ce.length,V);for(var Te=Y;Te<V;++Te)$+=String.fromCharCode(ce[Te]);return $}function U(ce,Y,V){var $=ce.length;(!Y||Y<0)&&(Y=0),(!V||V<0||V>$)&&(V=$);for(var Te="",ye=Y;ye<V;++ye)Te+=Ae(ce[ye]);return Te}function j(ce,Y,V){for(var $=ce.slice(Y,V),Te="",ye=0;ye<$.length;ye+=2)Te+=String.fromCharCode($[ye]+$[ye+1]*256);return Te}f.prototype.slice=function(Y,V){var $=this.length;Y=~~Y,V=V===void 0?$:~~V,Y<0?(Y+=$,Y<0&&(Y=0)):Y>$&&(Y=$),V<0?(V+=$,V<0&&(V=0)):V>$&&(V=$),V<Y&&(V=Y);var Te;if(f.TYPED_ARRAY_SUPPORT)Te=this.subarray(Y,V),Te.__proto__=f.prototype;else{var ye=V-Y;Te=new f(ye,void 0);for(var Fe=0;Fe<ye;++Fe)Te[Fe]=this[Fe+Y]}return Te};function H(ce,Y,V){if(ce%1!==0||ce<0)throw new RangeError("offset is not uint");if(ce+Y>V)throw new RangeError("Trying to access beyond buffer length")}f.prototype.readUIntLE=function(Y,V,$){Y=Y|0,V=V|0,$||H(Y,V,this.length);for(var Te=this[Y],ye=1,Fe=0;++Fe<V&&(ye*=256);)Te+=this[Y+Fe]*ye;return Te},f.prototype.readUIntBE=function(Y,V,$){Y=Y|0,V=V|0,$||H(Y,V,this.length);for(var Te=this[Y+--V],ye=1;V>0&&(ye*=256);)Te+=this[Y+--V]*ye;return Te},f.prototype.readUInt8=function(Y,V){return V||H(Y,1,this.length),this[Y]},f.prototype.readUInt16LE=function(Y,V){return V||H(Y,2,this.length),this[Y]|this[Y+1]<<8},f.prototype.readUInt16BE=function(Y,V){return V||H(Y,2,this.length),this[Y]<<8|this[Y+1]},f.prototype.readUInt32LE=function(Y,V){return V||H(Y,4,this.length),(this[Y]|this[Y+1]<<8|this[Y+2]<<16)+this[Y+3]*16777216},f.prototype.readUInt32BE=function(Y,V){return V||H(Y,4,this.length),this[Y]*16777216+(this[Y+1]<<16|this[Y+2]<<8|this[Y+3])},f.prototype.readIntLE=function(Y,V,$){Y=Y|0,V=V|0,$||H(Y,V,this.length);for(var Te=this[Y],ye=1,Fe=0;++Fe<V&&(ye*=256);)Te+=this[Y+Fe]*ye;return ye*=128,Te>=ye&&(Te-=Math.pow(2,8*V)),Te},f.prototype.readIntBE=function(Y,V,$){Y=Y|0,V=V|0,$||H(Y,V,this.length);for(var Te=V,ye=1,Fe=this[Y+--Te];Te>0&&(ye*=256);)Fe+=this[Y+--Te]*ye;return ye*=128,Fe>=ye&&(Fe-=Math.pow(2,8*V)),Fe},f.prototype.readInt8=function(Y,V){return V||H(Y,1,this.length),this[Y]&128?(255-this[Y]+1)*-1:this[Y]},f.prototype.readInt16LE=function(Y,V){V||H(Y,2,this.length);var $=this[Y]|this[Y+1]<<8;return $&32768?$|4294901760:$},f.prototype.readInt16BE=function(Y,V){V||H(Y,2,this.length);var $=this[Y+1]|this[Y]<<8;return $&32768?$|4294901760:$},f.prototype.readInt32LE=function(Y,V){return V||H(Y,4,this.length),this[Y]|this[Y+1]<<8|this[Y+2]<<16|this[Y+3]<<24},f.prototype.readInt32BE=function(Y,V){return V||H(Y,4,this.length),this[Y]<<24|this[Y+1]<<16|this[Y+2]<<8|this[Y+3]},f.prototype.readFloatLE=function(Y,V){return V||H(Y,4,this.length),m.read(this,Y,!0,23,4)},f.prototype.readFloatBE=function(Y,V){return V||H(Y,4,this.length),m.read(this,Y,!1,23,4)},f.prototype.readDoubleLE=function(Y,V){return V||H(Y,8,this.length),m.read(this,Y,!0,52,8)},f.prototype.readDoubleBE=function(Y,V){return V||H(Y,8,this.length),m.read(this,Y,!1,52,8)};function W(ce,Y,V,$,Te,ye){if(!f.isBuffer(ce))throw new TypeError('"buffer" argument must be a Buffer instance');if(Y>Te||Y<ye)throw new RangeError('"value" argument is out of bounds');if(V+$>ce.length)throw new RangeError("Index out of range")}f.prototype.writeUIntLE=function(Y,V,$,Te){if(Y=+Y,V=V|0,$=$|0,!Te){var ye=Math.pow(2,8*$)-1;W(this,Y,V,$,ye,0)}var Fe=1,Oe=0;for(this[V]=Y&255;++Oe<$&&(Fe*=256);)this[V+Oe]=Y/Fe&255;return V+$},f.prototype.writeUIntBE=function(Y,V,$,Te){if(Y=+Y,V=V|0,$=$|0,!Te){var ye=Math.pow(2,8*$)-1;W(this,Y,V,$,ye,0)}var Fe=$-1,Oe=1;for(this[V+Fe]=Y&255;--Fe>=0&&(Oe*=256);)this[V+Fe]=Y/Oe&255;return V+$},f.prototype.writeUInt8=function(Y,V,$){return Y=+Y,V=V|0,$||W(this,Y,V,1,255,0),f.TYPED_ARRAY_SUPPORT||(Y=Math.floor(Y)),this[V]=Y&255,V+1};function X(ce,Y,V,$){Y<0&&(Y=65535+Y+1);for(var Te=0,ye=Math.min(ce.length-V,2);Te<ye;++Te)ce[V+Te]=(Y&255<<8*($?Te:1-Te))>>>($?Te:1-Te)*8}f.prototype.writeUInt16LE=function(Y,V,$){return Y=+Y,V=V|0,$||W(this,Y,V,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[V]=Y&255,this[V+1]=Y>>>8):X(this,Y,V,!0),V+2},f.prototype.writeUInt16BE=function(Y,V,$){return Y=+Y,V=V|0,$||W(this,Y,V,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[V]=Y>>>8,this[V+1]=Y&255):X(this,Y,V,!1),V+2};function z(ce,Y,V,$){Y<0&&(Y=4294967295+Y+1);for(var Te=0,ye=Math.min(ce.length-V,4);Te<ye;++Te)ce[V+Te]=Y>>>($?Te:3-Te)*8&255}f.prototype.writeUInt32LE=function(Y,V,$){return Y=+Y,V=V|0,$||W(this,Y,V,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[V+3]=Y>>>24,this[V+2]=Y>>>16,this[V+1]=Y>>>8,this[V]=Y&255):z(this,Y,V,!0),V+4},f.prototype.writeUInt32BE=function(Y,V,$){return Y=+Y,V=V|0,$||W(this,Y,V,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[V]=Y>>>24,this[V+1]=Y>>>16,this[V+2]=Y>>>8,this[V+3]=Y&255):z(this,Y,V,!1),V+4},f.prototype.writeIntLE=function(Y,V,$,Te){if(Y=+Y,V=V|0,!Te){var ye=Math.pow(2,8*$-1);W(this,Y,V,$,ye-1,-ye)}var Fe=0,Oe=1,se=0;for(this[V]=Y&255;++Fe<$&&(Oe*=256);)Y<0&&se===0&&this[V+Fe-1]!==0&&(se=1),this[V+Fe]=(Y/Oe>>0)-se&255;return V+$},f.prototype.writeIntBE=function(Y,V,$,Te){if(Y=+Y,V=V|0,!Te){var ye=Math.pow(2,8*$-1);W(this,Y,V,$,ye-1,-ye)}var Fe=$-1,Oe=1,se=0;for(this[V+Fe]=Y&255;--Fe>=0&&(Oe*=256);)Y<0&&se===0&&this[V+Fe+1]!==0&&(se=1),this[V+Fe]=(Y/Oe>>0)-se&255;return V+$},f.prototype.writeInt8=function(Y,V,$){return Y=+Y,V=V|0,$||W(this,Y,V,1,127,-128),f.TYPED_ARRAY_SUPPORT||(Y=Math.floor(Y)),Y<0&&(Y=255+Y+1),this[V]=Y&255,V+1},f.prototype.writeInt16LE=function(Y,V,$){return Y=+Y,V=V|0,$||W(this,Y,V,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[V]=Y&255,this[V+1]=Y>>>8):X(this,Y,V,!0),V+2},f.prototype.writeInt16BE=function(Y,V,$){return Y=+Y,V=V|0,$||W(this,Y,V,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[V]=Y>>>8,this[V+1]=Y&255):X(this,Y,V,!1),V+2},f.prototype.writeInt32LE=function(Y,V,$){return Y=+Y,V=V|0,$||W(this,Y,V,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[V]=Y&255,this[V+1]=Y>>>8,this[V+2]=Y>>>16,this[V+3]=Y>>>24):z(this,Y,V,!0),V+4},f.prototype.writeInt32BE=function(Y,V,$){return Y=+Y,V=V|0,$||W(this,Y,V,4,2147483647,-2147483648),Y<0&&(Y=4294967295+Y+1),f.TYPED_ARRAY_SUPPORT?(this[V]=Y>>>24,this[V+1]=Y>>>16,this[V+2]=Y>>>8,this[V+3]=Y&255):z(this,Y,V,!1),V+4};function G(ce,Y,V,$,Te,ye){if(V+$>ce.length)throw new RangeError("Index out of range");if(V<0)throw new RangeError("Index out of range")}function Z(ce,Y,V,$,Te){return Te||G(ce,Y,V,4,34028234663852886e22,-34028234663852886e22),m.write(ce,Y,V,$,23,4),V+4}f.prototype.writeFloatLE=function(Y,V,$){return Z(this,Y,V,!0,$)},f.prototype.writeFloatBE=function(Y,V,$){return Z(this,Y,V,!1,$)};function ge(ce,Y,V,$,Te){return Te||G(ce,Y,V,8,17976931348623157e292,-17976931348623157e292),m.write(ce,Y,V,$,52,8),V+8}f.prototype.writeDoubleLE=function(Y,V,$){return ge(this,Y,V,!0,$)},f.prototype.writeDoubleBE=function(Y,V,$){return ge(this,Y,V,!1,$)},f.prototype.copy=function(Y,V,$,Te){if($||($=0),!Te&&Te!==0&&(Te=this.length),V>=Y.length&&(V=Y.length),V||(V=0),Te>0&&Te<$&&(Te=$),Te===$)return 0;if(Y.length===0||this.length===0)return 0;if(V<0)throw new RangeError("targetStart out of bounds");if($<0||$>=this.length)throw new RangeError("sourceStart out of bounds");if(Te<0)throw new RangeError("sourceEnd out of bounds");Te>this.length&&(Te=this.length),Y.length-V<Te-$&&(Te=Y.length-V+$);var ye=Te-$,Fe;if(this===Y&&$<V&&V<Te)for(Fe=ye-1;Fe>=0;--Fe)Y[Fe+V]=this[Fe+$];else if(ye<1e3||!f.TYPED_ARRAY_SUPPORT)for(Fe=0;Fe<ye;++Fe)Y[Fe+V]=this[Fe+$];else Uint8Array.prototype.set.call(Y,this.subarray($,$+ye),V);return ye},f.prototype.fill=function(Y,V,$,Te){if(typeof Y=="string"){if(typeof V=="string"?(Te=V,V=0,$=this.length):typeof $=="string"&&(Te=$,$=this.length),Y.length===1){var ye=Y.charCodeAt(0);ye<256&&(Y=ye)}if(Te!==void 0&&typeof Te!="string")throw new TypeError("encoding must be a string");if(typeof Te=="string"&&!f.isEncoding(Te))throw new TypeError("Unknown encoding: "+Te)}else typeof Y=="number"&&(Y=Y&255);if(V<0||this.length<V||this.length<$)throw new RangeError("Out of range index");if($<=V)return this;V=V>>>0,$=$===void 0?this.length:$>>>0,Y||(Y=0);var Fe;if(typeof Y=="number")for(Fe=V;Fe<$;++Fe)this[Fe]=Y;else{var Oe=f.isBuffer(Y)?Y:Pe(new f(Y,Te).toString()),se=Oe.length;for(Fe=0;Fe<$-V;++Fe)this[Fe+V]=Oe[Fe%se]}return this};var Q=/[^+\/0-9A-Za-z-_]/g;function we(ce){if(ce=Ee(ce).replace(Q,""),ce.length<2)return"";for(;ce.length%4!==0;)ce=ce+"=";return ce}function Ee(ce){return ce.trim?ce.trim():ce.replace(/^\s+|\s+$/g,"")}function Ae(ce){return ce<16?"0"+ce.toString(16):ce.toString(16)}function Pe(ce,Y){Y=Y||Infinity;for(var V,$=ce.length,Te=null,ye=[],Fe=0;Fe<$;++Fe){if(V=ce.charCodeAt(Fe),V>55295&&V<57344){if(!Te){if(V>56319){(Y-=3)>-1&&ye.push(239,191,189);continue}else if(Fe+1===$){(Y-=3)>-1&&ye.push(239,191,189);continue}Te=V;continue}if(V<56320){(Y-=3)>-1&&ye.push(239,191,189),Te=V;continue}V=(Te-55296<<10|V-56320)+65536}else Te&&((Y-=3)>-1&&ye.push(239,191,189));if(Te=null,V<128){if((Y-=1)<0)break;ye.push(V)}else if(V<2048){if((Y-=2)<0)break;ye.push(V>>6|192,V&63|128)}else if(V<65536){if((Y-=3)<0)break;ye.push(V>>12|224,V>>6&63|128,V&63|128)}else if(V<1114112){if((Y-=4)<0)break;ye.push(V>>18|240,V>>12&63|128,V>>6&63|128,V&63|128)}else throw new Error("Invalid code point")}return ye}function Ge(ce){for(var Y=[],V=0;V<ce.length;++V)Y.push(ce.charCodeAt(V)&255);return Y}function gt(ce,Y){for(var V,$,Te,ye=[],Fe=0;Fe<ce.length&&!((Y-=2)<0);++Fe)V=ce.charCodeAt(Fe),$=V>>8,Te=V%256,ye.push(Te),ye.push($);return ye}function _e(ce){return y.toByteArray(we(ce))}function Ce(ce,Y,V,$){for(var Te=0;Te<$&&!(Te+V>=Y.length||Te>=ce.length);++Te)Y[Te+V]=ce[Te];return Te}function lt(ce){return ce!==ce}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},D("buffer").Buffer)},{"base64-js":69,buffer:73,ieee754:195,isarray:198}],74:[function(D,_,e){_.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(D,_,e){_.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(D,_,e){/*!
* copy-to - index.js
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
* MIT Licensed
*/"use strict";var g=Array.prototype.slice;_.exports=f;function f(m,v){if(!(this instanceof f))return new f(m,v);this.src=m,this._withAccess=v}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 v=this.keys||Object.keys(this.src);if(!this._withAccess){for(var h=0;h<v.length;h++){if(c=v[h],m[c]!==void 0)continue;m[c]=this.src[c]}return m}for(var h=0;h<v.length;h++){var c=v[h];if(!y(m,c))continue;var a=this.src.__lookupGetter__(c),i=this.src.__lookupSetter__(c);a&&m.__defineGetter__(c,a),i&&m.__defineSetter__(c,i),!a&&!i&&(m[c]=this.src[c])}return m},f.prototype.toCover=function(m){for(var v=this.keys||Object.keys(this.src),h=0;h<v.length;h++){var c=v[h];delete m[c];var a=this.src.__lookupGetter__(c),i=this.src.__lookupSetter__(c);a&&m.__defineGetter__(c,a),i&&m.__defineSetter__(c,i),!a&&!i&&(m[c]=this.src[c])}},f.prototype.override=f.prototype.toCover,f.prototype.and=function(m){var v={};return this.to(v),this.src=m,this.to(v),this.src=v,this};function y(m,v){return m[v]===void 0&&m.__lookupGetter__(v)===void 0&&m.__lookupSetter__(v)===void 0}},{}],77:[function(D,_,e){D("../../modules/es6.string.iterator"),D("../../modules/es6.array.from"),_.exports=D("../../modules/_core").Array.from},{"../../modules/_core":99,"../../modules/es6.array.from":168,"../../modules/es6.string.iterator":180}],78:[function(D,_,e){var g=D("../../modules/_core"),f=g.JSON||(g.JSON={stringify:JSON.stringify});_.exports=function(m){return f.stringify.apply(f,arguments)}},{"../../modules/_core":99}],79:[function(D,_,e){D("../../modules/es6.object.assign"),_.exports=D("../../modules/_core").Object.assign},{"../../modules/_core":99,"../../modules/es6.object.assign":171}],80:[function(D,_,e){D("../../modules/es6.object.create");var g=D("../../modules/_core").Object;_.exports=function(y,m){return g.create(y,m)}},{"../../modules/_core":99,"../../modules/es6.object.create":172}],81:[function(D,_,e){D("../../modules/es6.object.define-property");var g=D("../../modules/_core").Object;_.exports=function(y,m,v){return g.defineProperty(y,m,v)}},{"../../modules/_core":99,"../../modules/es6.object.define-property":173}],82:[function(D,_,e){D("../../modules/es7.object.entries"),_.exports=D("../../modules/_core").Object.entries},{"../../modules/_core":99,"../../modules/es7.object.entries":182}],83:[function(D,_,e){D("../../modules/es6.object.get-own-property-names");var g=D("../../modules/_core").Object;_.exports=function(y){return g.getOwnPropertyNames(y)}},{"../../modules/_core":99,"../../modules/es6.object.get-own-property-names":174}],84:[function(D,_,e){D("../../modules/es6.object.get-prototype-of"),_.exports=D("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":99,"../../modules/es6.object.get-prototype-of":175}],85:[function(D,_,e){D("../../modules/es6.object.keys"),_.exports=D("../../modules/_core").Object.keys},{"../../modules/_core":99,"../../modules/es6.object.keys":176}],86:[function(D,_,e){D("../modules/es6.object.to-string"),D("../modules/es6.string.iterator"),D("../modules/web.dom.iterable"),D("../modules/es6.promise"),D("../modules/es7.promise.finally"),D("../modules/es7.promise.try"),_.exports=D("../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(D,_,e){D("../modules/web.immediate"),_.exports=D("../modules/_core").setImmediate},{"../modules/_core":99,"../modules/web.immediate":188}],88:[function(D,_,e){D("../../modules/es6.string.from-code-point"),_.exports=D("../../modules/_core").String.fromCodePoint},{"../../modules/_core":99,"../../modules/es6.string.from-code-point":179}],89:[function(D,_,e){D("../../modules/es6.function.has-instance"),_.exports=D("../../modules/_wks-ext").f("hasInstance")},{"../../modules/_wks-ext":165,"../../modules/es6.function.has-instance":170}],90:[function(D,_,e){D("../../modules/es6.symbol"),D("../../modules/es6.object.to-string"),D("../../modules/es7.symbol.async-iterator"),D("../../modules/es7.symbol.observable"),_.exports=D("../../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(D,_,e){D("../../modules/es6.string.iterator"),D("../../modules/web.dom.iterable"),_.exports=D("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":165,"../../modules/es6.string.iterator":180,"../../modules/web.dom.iterable":187}],92:[function(D,_,e){_.exports=function(g){if(typeof g!="function")throw TypeError(g+" is not a function!");return g}},{}],93:[function(D,_,e){_.exports=function(){}},{}],94:[function(D,_,e){_.exports=function(g,f,y,m){if(!(g instanceof f)||m!==void 0&&m in g)throw TypeError(y+": incorrect invocation!");return g}},{}],95:[function(D,_,e){var g=D("./_is-object");_.exports=function(f){if(!g(f))throw TypeError(f+" is not an object!");return f}},{"./_is-object":119}],96:[function(D,_,e){var g=D("./_to-iobject"),f=D("./_to-length"),y=D("./_to-absolute-index");_.exports=function(m){return function(v,h,c){var a=g(v),i=f(a.length),r=y(c,i),o;if(m&&h!=h){for(;i>r;)if(o=a[r++],o!=o)return!0}else for(;i>r;r++)if((m||r in a)&&a[r]===h)return m||r||0;return!m&&-1}}},{"./_to-absolute-index":156,"./_to-iobject":158,"./_to-length":159}],97:[function(D,_,e){var g=D("./_cof"),f=D("./_wks")("toStringTag"),y=g(function(){return arguments}())=="Arguments",m=function(h,c){try{return h[c]}catch(a){}};_.exports=function(v){var h,c,a;return v===void 0?"Undefined":v===null?"Null":typeof(c=m(h=Object(v),f))=="string"?c:y?g(h):(a=g(h))=="Object"&&typeof h.callee=="function"?"Arguments":a}},{"./_cof":98,"./_wks":166}],98:[function(D,_,e){var g={}.toString;_.exports=function(f){return g.call(f).slice(8,-1)}},{}],99:[function(D,_,e){var g=_.exports={version:"2.6.11"};typeof __e=="number"&&(__e=g)},{}],100:[function(D,_,e){"use strict";var g=D("./_object-dp"),f=D("./_property-desc");_.exports=function(y,m,v){m in y?g.f(y,m,f(0,v)):y[m]=v}},{"./_object-dp":132,"./_property-desc":146}],101:[function(D,_,e){var g=D("./_a-function");_.exports=function(f,y,m){if(g(f),y===void 0)return f;switch(m){case 1:return function(v){return f.call(y,v)};case 2:return function(v,h){return f.call(y,v,h)};case 3:return function(v,h,c){return f.call(y,v,h,c)}}return function(){return f.apply(y,arguments)}}},{"./_a-function":92}],102:[function(D,_,e){_.exports=function(g){if(g==null)throw TypeError("Can't call method on "+g);return g}},{}],103:[function(D,_,e){_.exports=!D("./_fails")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},{"./_fails":108}],104:[function(D,_,e){var g=D("./_is-object"),f=D("./_global").document,y=g(f)&&g(f.createElement);_.exports=function(m){return y?f.createElement(m):{}}},{"./_global":110,"./_is-object":119}],105:[function(D,_,e){_.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],106:[function(D,_,e){var g=D("./_object-keys"),f=D("./_object-gops"),y=D("./_object-pie");_.exports=function(m){var v=g(m),h=f.f;if(h)for(var c=h(m),a=y.f,i=0,r;c.length>i;)a.call(m,r=c[i++])&&v.push(r);return v}},{"./_object-gops":137,"./_object-keys":140,"./_object-pie":141}],107:[function(D,_,e){var g=D("./_global"),f=D("./_core"),y=D("./_ctx"),m=D("./_hide"),v=D("./_has"),h="prototype",c=function a(i,r,o){var d=i&a.F,n=i&a.G,l=i&a.S,t=i&a.P,s=i&a.B,u=i&a.W,p=n?f:f[r]||(f[r]={}),w=p[h],b=n?g:l?g[r]:(g[r]||{})[h],E,A,S;n&&(o=r);for(E in o){if(A=!d&&b&&b[E]!==void 0,A&&v(p,E))continue;S=A?b[E]:o[E],p[E]=n&&typeof b[E]!="function"?o[E]:s&&A?y(S,g):u&&b[E]==S?function(T){var L=function(C,I,N){if(this instanceof T){switch(arguments.length){case 0:return new T;case 1:return new T(C);case 2:return new T(C,I)}return new T(C,I,N)}return T.apply(this,arguments)};return L[h]=T[h],L}(S):t&&typeof S=="function"?y(Function.call,S):S,t&&((p.virtual||(p.virtual={}))[E]=S,i&a.R&&w&&!w[E]&&m(w,E,S))}};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,_.exports=c},{"./_core":99,"./_ctx":101,"./_global":110,"./_has":111,"./_hide":112}],108:[function(D,_,e){_.exports=function(g){try{return!!g()}catch(f){return!0}}},{}],109:[function(D,_,e){var g=D("./_ctx"),f=D("./_iter-call"),y=D("./_is-array-iter"),m=D("./_an-object"),v=D("./_to-length"),h=D("./core.get-iterator-method"),c={},a={},e=_.exports=function(i,r,o,d,n){var l=n?function(){return i}:h(i),t=g(o,d,r?2:1),s=0,u,p,w,b;if(typeof l!="function")throw TypeError(i+" is not iterable!");if(y(l)){for(u=v(i.length);u>s;s++)if(b=r?t(m(p=i[s])[0],p[1]):t(i[s]),b===c||b===a)return b}else for(w=l.call(i);!(p=w.next()).done;)if(b=f(w,t,p.value,r),b===c||b===a)return b};e.BREAK=c,e.RETURN=a},{"./_an-object":95,"./_ctx":101,"./_is-array-iter":117,"./_iter-call":120,"./_to-length":159,"./core.get-iterator-method":167}],110:[function(D,_,e){var g=_.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(D,_,e){var g={}.hasOwnProperty;_.exports=function(f,y){return g.call(f,y)}},{}],112:[function(D,_,e){var g=D("./_object-dp"),f=D("./_property-desc");_.exports=D("./_descriptors")?function(y,m,v){return g.f(y,m,f(1,v))}:function(y,m,v){return y[m]=v,y}},{"./_descriptors":103,"./_object-dp":132,"./_property-desc":146}],113:[function(D,_,e){var g=D("./_global").document;_.exports=g&&g.documentElement},{"./_global":110}],114:[function(D,_,e){_.exports=!D("./_descriptors")&&!D("./_fails")(function(){return Object.defineProperty(D("./_dom-create")("div"),"a",{get:function(){return 7}}).a!=7})},{"./_descriptors":103,"./_dom-create":104,"./_fails":108}],115:[function(D,_,e){_.exports=function(g,f,y){var m=y===void 0;switch(f.length){case 0:return m?g():g.call(y);case 1:return m?g(f[0]):g.call(y,f[0]);case 2:return m?g(f[0],f[1]):g.call(y,f[0],f[1]);case 3:return m?g(f[0],f[1],f[2]):g.call(y,f[0],f[1],f[2]);case 4:return m?g(f[0],f[1],f[2],f[3]):g.call(y,f[0],f[1],f[2],f[3])}return g.apply(y,f)}},{}],116:[function(D,_,e){var g=D("./_cof");_.exports=Object("z").propertyIsEnumerable(0)?Object:function(f){return g(f)=="String"?f.split(""):Object(f)}},{"./_cof":98}],117:[function(D,_,e){var g=D("./_iterators"),f=D("./_wks")("iterator"),y=Array.prototype;_.exports=function(m){return m!==void 0&&(g.Array===m||y[f]===m)}},{"./_iterators":125,"./_wks":166}],118:[function(D,_,e){var g=D("./_cof");_.exports=Array.isArray||function(y){return g(y)=="Array"}},{"./_cof":98}],119:[function(D,_,e){_.exports=function(g){return typeof g=="object"?g!==null:typeof g=="function"}},{}],120:[function(D,_,e){var g=D("./_an-object");_.exports=function(f,y,m,v){try{return v?y(g(m)[0],m[1]):y(m)}catch(c){var h=f.return;throw h!==void 0&&g(h.call(f)),c}}},{"./_an-object":95}],121:[function(D,_,e){"use strict";var g=D("./_object-create"),f=D("./_property-desc"),y=D("./_set-to-string-tag"),m={};D("./_hide")(m,D("./_wks")("iterator"),function(){return this}),_.exports=function(v,h,c){v.prototype=g(m,{next:f(1,c)}),y(v,h+" Iterator")}},{"./_hide":112,"./_object-create":131,"./_property-desc":146,"./_set-to-string-tag":150,"./_wks":166}],122:[function(D,_,e){"use strict";var g=D("./_library"),f=D("./_export"),y=D("./_redefine"),m=D("./_hide"),v=D("./_iterators"),h=D("./_iter-create"),c=D("./_set-to-string-tag"),a=D("./_object-gpo"),i=D("./_wks")("iterator"),r=!([].keys&&"next"in[].keys()),o="@@iterator",d="keys",n="values",l=function(){return this};_.exports=function(t,s,u,p,w,b,E){h(u,s,p);var A=function(R){if(!r&&R in x)return x[R];switch(R){case d:return function(){return new u(this,R)};case n:return function(){return new u(this,R)}}return function(){return new u(this,R)}},S=s+" Iterator",T=w==n,L=!1,x=t.prototype,C=x[i]||x[o]||w&&x[w],I=C||A(w),N=w?T?A("entries"):I:void 0,F=s=="Array"&&x.entries||C,k,B,P;if(F&&(P=a(F.call(new t)),P!==Object.prototype&&P.next&&(c(P,S,!0),!g&&typeof P[i]!="function"&&m(P,i,l))),T&&C&&C.name!==n&&(L=!0,I=function(){return C.call(this)}),(!g||E)&&(r||L||!x[i])&&m(x,i,I),v[s]=I,v[S]=l,w)if(k={values:T?I:A(n),keys:b?I:A(d),entries:N},E)for(B in k)B in x||y(x,B,k[B]);else f(f.P+f.F*(r||L),s,k);return k}},{"./_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(D,_,e){var g=D("./_wks")("iterator"),f=!1;try{var y=[7][g]();y.return=function(){f=!0},Array.from(y,function(){throw 2})}catch(m){}_.exports=function(m,v){if(!v&&!f)return!1;var h=!1;try{var c=[7],a=c[g]();a.next=function(){return{done:h=!0}},c[g]=function(){return a},m(c)}catch(i){}return h}},{"./_wks":166}],124:[function(D,_,e){_.exports=function(g,f){return{value:f,done:!!g}}},{}],125:[function(D,_,e){_.exports={}},{}],126:[function(D,_,e){_.exports=!0},{}],127:[function(D,_,e){var g=D("./_uid")("meta"),f=D("./_is-object"),y=D("./_has"),m=D("./_object-dp").f,v=0,h=Object.isExtensible||function(){return!0},c=!D("./_fails")(function(){return h(Object.preventExtensions({}))}),a=function(l){m(l,g,{value:{i:"O"+ ++v,w:{}}})},i=function(l,t){if(!f(l))return typeof l=="symbol"?l:(typeof l=="string"?"S":"P")+l;if(!y(l,g)){if(!h(l))return"F";if(!t)return"E";a(l)}return l[g].i},r=function(l,t){if(!y(l,g)){if(!h(l))return!0;if(!t)return!1;a(l)}return l[g].w},o=function(l){return c&&d.NEED&&h(l)&&!y(l,g)&&a(l),l},d=_.exports={KEY:g,NEED:!1,fastKey:i,getWeak:r,onFreeze:o}},{"./_fails":108,"./_has":111,"./_is-object":119,"./_object-dp":132,"./_uid":162}],128:[function(D,_,e){var g=D("./_global"),f=D("./_task").set,y=g.MutationObserver||g.WebKitMutationObserver,m=g.process,v=g.Promise,h=D("./_cof")(m)=="process";_.exports=function(){var c,a,i,r=function(){var t,s;for(h&&(t=m.domain)&&t.exit();c;){s=c.fn,c=c.next;try{s()}catch(u){throw c?i():a=void 0,u}}a=void 0,t&&t.enter()};if(h)i=function(){m.nextTick(r)};else if(y&&!(g.navigator&&g.navigator.standalone)){var o=!0,d=document.createTextNode("");new y(r).observe(d,{characterData:!0}),i=function(){d.data=o=!o}}else if(v&&v.resolve){var n=v.resolve(void 0);i=function(){n.then(r)}}else i=function(){f.call(g,r)};return function(l){var t={fn:l,next:void 0};a&&(a.next=t),c||(c=t,i()),a=t}}},{"./_cof":98,"./_global":110,"./_task":155}],129:[function(D,_,e){"use strict";var g=D("./_a-function");function f(y){var m,v;this.promise=new y(function(h,c){if(m!==void 0||v!==void 0)throw TypeError("Bad Promise constructor");m=h,v=c}),this.resolve=g(m),this.reject=g(v)}_.exports.f=function(y){return new f(y)}},{"./_a-function":92}],130:[function(D,_,e){"use strict";var g=D("./_descriptors"),f=D("./_object-keys"),y=D("./_object-gops"),m=D("./_object-pie"),v=D("./_to-object"),h=D("./_iobject"),c=Object.assign;_.exports=!c||D("./_fails")(function(){var a={},i={},r=Symbol(),o="abcdefghijklmnopqrst";return a[r]=7,o.split("").forEach(function(d){i[d]=d}),c({},a)[r]!=7||Object.keys(c({},i)).join("")!=o})?function(i,r){for(var o=v(i),d=arguments.length,n=1,l=y.f,t=m.f;d>n;)for(var s=h(arguments[n++]),u=l?f(s).concat(l(s)):f(s),p=u.length,w=0,b;p>w;)b=u[w++],(!g||t.call(s,b))&&(o[b]=s[b]);return o}:c},{"./_descriptors":103,"./_fails":108,"./_iobject":116,"./_object-gops":137,"./_object-keys":140,"./_object-pie":141,"./_to-object":160}],131:[function(D,_,e){var g=D("./_an-object"),f=D("./_object-dps"),y=D("./_enum-bug-keys"),m=D("./_shared-key")("IE_PROTO"),v=function(){},h="prototype",c=function(){var i=D("./_dom-create")("iframe"),r=y.length,o="<",d=">",n;for(i.style.display="none",D("./_html").appendChild(i),i.src="javascript:",n=i.contentWindow.document,n.open(),n.write(o+"script"+d+"document.F=Object"+o+"/script"+d),n.close(),c=n.F;r--;)delete c[h][y[r]];return c()};_.exports=Object.create||function(i,r){var o;return i!==null?(v[h]=g(i),o=new v,v[h]=null,o[m]=i):o=c(),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(D,_,e){var g=D("./_an-object"),f=D("./_ie8-dom-define"),y=D("./_to-primitive"),m=Object.defineProperty;e.f=D("./_descriptors")?Object.defineProperty:function(h,c,a){if(g(h),c=y(c,!0),g(a),f)try{return m(h,c,a)}catch(i){}if("get"in a||"set"in a)throw TypeError("Accessors not supported!");return"value"in a&&(h[c]=a.value),h}},{"./_an-object":95,"./_descriptors":103,"./_ie8-dom-define":114,"./_to-primitive":161}],133:[function(D,_,e){var g=D("./_object-dp"),f=D("./_an-object"),y=D("./_object-keys");_.exports=D("./_descriptors")?Object.defineProperties:function(v,h){f(v);for(var c=y(h),a=c.length,i=0,r;a>i;)g.f(v,r=c[i++],h[r]);return v}},{"./_an-object":95,"./_descriptors":103,"./_object-dp":132,"./_object-keys":140}],134:[function(D,_,e){var g=D("./_object-pie"),f=D("./_property-desc"),y=D("./_to-iobject"),m=D("./_to-primitive"),v=D("./_has"),h=D("./_ie8-dom-define"),c=Object.getOwnPropertyDescriptor;e.f=D("./_descriptors")?c:function(i,r){if(i=y(i),r=m(r,!0),h)try{return c(i,r)}catch(o){}if(v(i,r))return f(!g.f.call(i,r),i[r])}},{"./_descriptors":103,"./_has":111,"./_ie8-dom-define":114,"./_object-pie":141,"./_property-desc":146,"./_to-iobject":158,"./_to-primitive":161}],135:[function(D,_,e){var g=D("./_to-iobject"),f=D("./_object-gopn").f,y={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],v=function(c){try{return f(c)}catch(a){return m.slice()}};_.exports.f=function(c){return m&&y.call(c)=="[object Window]"?v(c):f(g(c))}},{"./_object-gopn":136,"./_to-iobject":158}],136:[function(D,_,e){var g=D("./_object-keys-internal"),f=D("./_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(D,_,e){e.f=Object.getOwnPropertySymbols},{}],138:[function(D,_,e){var g=D("./_has"),f=D("./_to-object"),y=D("./_shared-key")("IE_PROTO"),m=Object.prototype;_.exports=Object.getPrototypeOf||function(v){return v=f(v),g(v,y)?v[y]:typeof v.constructor=="function"&&v instanceof v.constructor?v.constructor.prototype:v instanceof Object?m:null}},{"./_has":111,"./_shared-key":151,"./_to-object":160}],139:[function(D,_,e){var g=D("./_has"),f=D("./_to-iobject"),y=D("./_array-includes")(!1),m=D("./_shared-key")("IE_PROTO");_.exports=function(v,h){var c=f(v),a=0,i=[],r;for(r in c)r!=m&&(g(c,r)&&i.push(r));for(;h.length>a;)g(c,r=h[a++])&&(~y(i,r)||i.push(r));return i}},{"./_array-includes":96,"./_has":111,"./_shared-key":151,"./_to-iobject":158}],140:[function(D,_,e){var g=D("./_object-keys-internal"),f=D("./_enum-bug-keys");_.exports=Object.keys||function(m){return g(m,f)}},{"./_enum-bug-keys":105,"./_object-keys-internal":139}],141:[function(D,_,e){e.f={}.propertyIsEnumerable},{}],142:[function(D,_,e){var g=D("./_export"),f=D("./_core"),y=D("./_fails");_.exports=function(m,v){var h=(f.Object||{})[m]||Object[m],c={};c[m]=v(h),g(g.S+g.F*y(function(){h(1)}),"Object",c)}},{"./_core":99,"./_export":107,"./_fails":108}],143:[function(D,_,e){var g=D("./_descriptors"),f=D("./_object-keys"),y=D("./_to-iobject"),m=D("./_object-pie").f;_.exports=function(v){return function(h){for(var c=y(h),a=f(c),i=a.length,r=0,o=[],d;i>r;)d=a[r++],(!g||m.call(c,d))&&o.push(v?[d,c[d]]:c[d]);return o}}},{"./_descriptors":103,"./_object-keys":140,"./_object-pie":141,"./_to-iobject":158}],144:[function(D,_,e){_.exports=function(g){try{return{e:!1,v:g()}}catch(f){return{e:!0,v:f}}}},{}],145:[function(D,_,e){var g=D("./_an-object"),f=D("./_is-object"),y=D("./_new-promise-capability");_.exports=function(m,v){if(g(m),f(v)&&v.constructor===m)return v;var h=y.f(m),c=h.resolve;return c(v),h.promise}},{"./_an-object":95,"./_is-object":119,"./_new-promise-capability":129}],146:[function(D,_,e){_.exports=function(g,f){return{enumerable:!(g&1),configurable:!(g&2),writable:!(g&4),value:f}}},{}],147:[function(D,_,e){var g=D("./_hide");_.exports=function(f,y,m){for(var v in y)m&&f[v]?f[v]=y[v]:g(f,v,y[v]);return f}},{"./_hide":112}],148:[function(D,_,e){_.exports=D("./_hide")},{"./_hide":112}],149:[function(D,_,e){"use strict";var g=D("./_global"),f=D("./_core"),y=D("./_object-dp"),m=D("./_descriptors"),v=D("./_wks")("species");_.exports=function(h){var c=typeof f[h]=="function"?f[h]:g[h];m&&c&&!c[v]&&y.f(c,v,{configurable:!0,get:function(){return this}})}},{"./_core":99,"./_descriptors":103,"./_global":110,"./_object-dp":132,"./_wks":166}],150:[function(D,_,e){var g=D("./_object-dp").f,f=D("./_has"),y=D("./_wks")("toStringTag");_.exports=function(m,v,h){m&&!f(m=h?m:m.prototype,y)&&g(m,y,{configurable:!0,value:v})}},{"./_has":111,"./_object-dp":132,"./_wks":166}],151:[function(D,_,e){var g=D("./_shared")("keys"),f=D("./_uid");_.exports=function(y){return g[y]||(g[y]=f(y))}},{"./_shared":152,"./_uid":162}],152:[function(D,_,e){var g=D("./_core"),f=D("./_global"),y="__core-js_shared__",m=f[y]||(f[y]={});(_.exports=function(v,h){return m[v]||(m[v]=h!==void 0?h:{})})("versions",[]).push({version:g.version,mode:D("./_library")?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})},{"./_core":99,"./_global":110,"./_library":126}],153:[function(D,_,e){var g=D("./_an-object"),f=D("./_a-function"),y=D("./_wks")("species");_.exports=function(m,v){var h=g(m).constructor,c;return h===void 0||(c=g(h)[y])==null?v:f(c)}},{"./_a-function":92,"./_an-object":95,"./_wks":166}],154:[function(D,_,e){var g=D("./_to-integer"),f=D("./_defined");_.exports=function(y){return function(m,v){var h=String(f(m)),c=g(v),a=h.length,i,r;return c<0||c>=a?y?"":void 0:(i=h.charCodeAt(c),i<55296||i>56319||c+1===a||(r=h.charCodeAt(c+1))<56320||r>57343?y?h.charAt(c):i:y?h.slice(c,c+2):(i-55296<<10)+(r-56320)+65536)}}},{"./_defined":102,"./_to-integer":157}],155:[function(D,_,e){var g=D("./_ctx"),f=D("./_invoke"),y=D("./_html"),m=D("./_dom-create"),v=D("./_global"),h=v.process,c=v.setImmediate,a=v.clearImmediate,i=v.MessageChannel,r=v.Dispatch,o=0,d={},n="onreadystatechange",l,t,s,u=function(){var b=+this;if(d.hasOwnProperty(b)){var E=d[b];delete d[b],E()}},p=function(b){u.call(b.data)};(!c||!a)&&(c=function(b){for(var E=[],A=1;arguments.length>A;)E.push(arguments[A++]);return d[++o]=function(){f(typeof b=="function"?b:Function(b),E)},l(o),o},a=function(b){delete d[b]},D("./_cof")(h)=="process"?l=function(b){h.nextTick(g(u,b,1))}:r&&r.now?l=function(b){r.now(g(u,b,1))}:i?(t=new i,s=t.port2,t.port1.onmessage=p,l=g(s.postMessage,s,1)):v.addEventListener&&typeof postMessage=="function"&&!v.importScripts?(l=function(b){v.postMessage(b+"","*")},v.addEventListener("message",p,!1)):n in m("script")?l=function(b){y.appendChild(m("script"))[n]=function(){y.removeChild(this),u.call(b)}}:l=function(b){setTimeout(g(u,b,1),0)}),_.exports={set:c,clear:a}},{"./_cof":98,"./_ctx":101,"./_dom-create":104,"./_global":110,"./_html":113,"./_invoke":115}],156:[function(D,_,e){var g=D("./_to-integer"),f=Math.max,y=Math.min;_.exports=function(m,v){return m=g(m),m<0?f(m+v,0):y(m,v)}},{"./_to-integer":157}],157:[function(D,_,e){var g=Math.ceil,f=Math.floor;_.exports=function(y){return isNaN(y=+y)?0:(y>0?f:g)(y)}},{}],158:[function(D,_,e){var g=D("./_iobject"),f=D("./_defined");_.exports=function(y){return g(f(y))}},{"./_defined":102,"./_iobject":116}],159:[function(D,_,e){var g=D("./_to-integer"),f=Math.min;_.exports=function(y){return y>0?f(g(y),9007199254740991):0}},{"./_to-integer":157}],160:[function(D,_,e){var g=D("./_defined");_.exports=function(f){return Object(g(f))}},{"./_defined":102}],161:[function(D,_,e){var g=D("./_is-object");_.exports=function(f,y){if(!g(f))return f;var m,v;if(y&&typeof(m=f.toString)=="function"&&!g(v=m.call(f)))return v;if(typeof(m=f.valueOf)=="function"&&!g(v=m.call(f)))return v;if(!y&&typeof(m=f.toString)=="function"&&!g(v=m.call(f)))return v;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":119}],162:[function(D,_,e){var g=0,f=Math.random();_.exports=function(y){return"Symbol(".concat(y===void 0?"":y,")_",(++g+f).toString(36))}},{}],163:[function(D,_,e){var g=D("./_global"),f=g.navigator;_.exports=f&&f.userAgent||""},{"./_global":110}],164:[function(D,_,e){var g=D("./_global"),f=D("./_core"),y=D("./_library"),m=D("./_wks-ext"),v=D("./_object-dp").f;_.exports=function(h){var c=f.Symbol||(f.Symbol=y?{}:g.Symbol||{});h.charAt(0)!="_"&&!(h in c)&&v(c,h,{value:m.f(h)})}},{"./_core":99,"./_global":110,"./_library":126,"./_object-dp":132,"./_wks-ext":165}],165:[function(D,_,e){e.f=D("./_wks")},{"./_wks":166}],166:[function(D,_,e){var g=D("./_shared")("wks"),f=D("./_uid"),y=D("./_global").Symbol,m=typeof y=="function",v=_.exports=function(h){return g[h]||(g[h]=m&&y[h]||(m?y:f)("Symbol."+h))};v.store=g},{"./_global":110,"./_shared":152,"./_uid":162}],167:[function(D,_,e){var g=D("./_classof"),f=D("./_wks")("iterator"),y=D("./_iterators");_.exports=D("./_core").getIteratorMethod=function(m){if(m!=null)return m[f]||m["@@iterator"]||y[g(m)]}},{"./_classof":97,"./_core":99,"./_iterators":125,"./_wks":166}],168:[function(D,_,e){"use strict";var g=D("./_ctx"),f=D("./_export"),y=D("./_to-object"),m=D("./_iter-call"),v=D("./_is-array-iter"),h=D("./_to-length"),c=D("./_create-property"),a=D("./core.get-iterator-method");f(f.S+f.F*!D("./_iter-detect")(function(i){Array.from(i)}),"Array",{from:function(r){var o=y(r),d=typeof this=="function"?this:Array,n=arguments.length,l=n>1?arguments[1]:void 0,t=l!==void 0,s=0,u=a(o),p,w,b,E;if(t&&(l=g(l,n>2?arguments[2]:void 0,2)),u!=null&&!(d==Array&&v(u)))for(E=u.call(o),w=new d;!(b=E.next()).done;s++)c(w,s,t?m(E,l,[b.value,s],!0):b.value);else for(p=h(o.length),w=new d(p);p>s;s++)c(w,s,t?l(o[s],s):o[s]);return w.length=s,w}})},{"./_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(D,_,e){"use strict";var g=D("./_add-to-unscopables"),f=D("./_iter-step"),y=D("./_iterators"),m=D("./_to-iobject");_.exports=D("./_iter-define")(Array,"Array",function(v,h){this._t=m(v),this._i=0,this._k=h},function(){var v=this._t,h=this._k,c=this._i++;return!v||c>=v.length?(this._t=void 0,f(1)):h=="keys"?f(0,c):h=="values"?f(0,v[c]):f(0,[c,v[c]])},"values"),y.Arguments=y.Array,g("keys"),g("values"),g("entries")},{"./_add-to-unscopables":93,"./_iter-define":122,"./_iter-step":124,"./_iterators":125,"./_to-iobject":158}],170:[function(D,_,e){"use strict";var g=D("./_is-object"),f=D("./_object-gpo"),y=D("./_wks")("hasInstance"),m=Function.prototype;y in m||D("./_object-dp").f(m,y,{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(D,_,e){var g=D("./_export");g(g.S+g.F,"Object",{assign:D("./_object-assign")})},{"./_export":107,"./_object-assign":130}],172:[function(D,_,e){var g=D("./_export");g(g.S,"Object",{create:D("./_object-create")})},{"./_export":107,"./_object-create":131}],173:[function(D,_,e){var g=D("./_export");g(g.S+g.F*!D("./_descriptors"),"Object",{defineProperty:D("./_object-dp").f})},{"./_descriptors":103,"./_export":107,"./_object-dp":132}],174:[function(D,_,e){D("./_object-sap")("getOwnPropertyNames",function(){return D("./_object-gopn-ext").f})},{"./_object-gopn-ext":135,"./_object-sap":142}],175:[function(D,_,e){var g=D("./_to-object"),f=D("./_object-gpo");D("./_object-sap")("getPrototypeOf",function(){return function(m){return f(g(m))}})},{"./_object-gpo":138,"./_object-sap":142,"./_to-object":160}],176:[function(D,_,e){var g=D("./_to-object"),f=D("./_object-keys");D("./_object-sap")("keys",function(){return function(m){return f(g(m))}})},{"./_object-keys":140,"./_object-sap":142,"./_to-object":160}],177:[function(D,_,e){arguments[4][71][0].apply(e,arguments)},{dup:71}],178:[function(D,_,e){"use strict";var g=D("./_library"),f=D("./_global"),y=D("./_ctx"),m=D("./_classof"),v=D("./_export"),h=D("./_is-object"),c=D("./_a-function"),a=D("./_an-instance"),i=D("./_for-of"),r=D("./_species-constructor"),o=D("./_task").set,d=D("./_microtask")(),n=D("./_new-promise-capability"),l=D("./_perform"),t=D("./_user-agent"),s=D("./_promise-resolve"),u="Promise",p=f.TypeError,w=f.process,b=w&&w.versions,E=b&&b.v8||"",A=f[u],S=m(w)=="process",T=function(){},L,x,C,I,N=x=n.f,F=!!function(){try{var H=A.resolve(1),W=(H.constructor={})[D("./_wks")("species")]=function(X){X(T,T)};return(S||typeof PromiseRejectionEvent=="function")&&H.then(T)instanceof W&&E.indexOf("6.6")!==0&&t.indexOf("Chrome/66")===-1}catch(X){}}(),k=function(W){var X;return h(W)&&typeof(X=W.then)=="function"?X:!1},B=function(W,X){if(W._n)return;W._n=!0;var z=W._c;d(function(){for(var G=W._v,Z=W._s==1,ge=0,Q=function(Ee){var Ae=Z?Ee.ok:Ee.fail,Pe=Ee.resolve,Ge=Ee.reject,gt=Ee.domain,_e,Ce,lt;try{Ae?(Z||(W._h==2&&R(W),W._h=1),Ae===!0?_e=G:(gt&&gt.enter(),_e=Ae(G),gt&&(gt.exit(),lt=!0)),_e===Ee.promise?Ge(p("Promise-chain cycle")):(Ce=k(_e))?Ce.call(_e,Pe,Ge):Pe(_e)):Ge(G)}catch(ce){gt&&!lt&&gt.exit(),Ge(ce)}};z.length>ge;)Q(z[ge++]);W._c=[],W._n=!1,X&&!W._h&&P(W)})},P=function(W){o.call(f,function(){var X=W._v,z=K(W),G,Z,ge;if(z&&(G=l(function(){S?w.emit("unhandledRejection",X,W):(Z=f.onunhandledrejection)?Z({promise:W,reason:X}):(ge=f.console)&&ge.error&&ge.error("Unhandled promise rejection",X)}),W._h=S||K(W)?2:1),W._a=void 0,z&&G.e)throw G.v})},K=function(W){return W._h!==1&&(W._a||W._c).length===0},R=function(W){o.call(f,function(){var X;S?w.emit("rejectionHandled",W):(X=f.onrejectionhandled)&&X({promise:W,reason:W._v})})},U=function(W){var X=this;if(X._d)return;X._d=!0,X=X._w||X,X._v=W,X._s=2,X._a||(X._a=X._c.slice()),B(X,!0)},j=function H(W){var X=this,z;if(X._d)return;X._d=!0,X=X._w||X;try{if(X===W)throw p("Promise can't be resolved itself");(z=k(W))?d(function(){var G={_w:X,_d:!1};try{z.call(W,y(H,G,1),y(U,G,1))}catch(Z){U.call(G,Z)}}):(X._v=W,X._s=1,B(X,!1))}catch(G){U.call({_w:X,_d:!1},G)}};F||(A=function(W){a(this,A,u,"_h"),c(W),L.call(this);try{W(y(j,this,1),y(U,this,1))}catch(X){U.call(this,X)}},L=function(W){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},L.prototype=D("./_redefine-all")(A.prototype,{then:function(W,X){var z=N(r(this,A));return z.ok=typeof W=="function"?W:!0,z.fail=typeof X=="function"&&X,z.domain=S?w.domain:void 0,this._c.push(z),this._a&&this._a.push(z),this._s&&B(this,!1),z.promise},catch:function(W){return this.then(void 0,W)}}),C=function(){var W=new L;this.promise=W,this.resolve=y(j,W,1),this.reject=y(U,W,1)},n.f=N=function(W){return W===A||W===I?new C(W):x(W)}),v(v.G+v.W+v.F*!F,{Promise:A}),D("./_set-to-string-tag")(A,u),D("./_set-species")(u),I=D("./_core")[u],v(v.S+v.F*!F,u,{reject:function(W){var X=N(this),z=X.reject;return z(W),X.promise}}),v(v.S+v.F*(g||!F),u,{resolve:function(W){return s(g&&this===I?A:this,W)}}),v(v.S+v.F*!(F&&D("./_iter-detect")(function(H){A.all(H).catch(T)})),u,{all:function(W){var X=this,z=N(X),G=z.resolve,Z=z.reject,ge=l(function(){var Q=[],we=0,Ee=1;i(W,!1,function(Ae){var Pe=we++,Ge=!1;Q.push(void 0),Ee++,X.resolve(Ae).then(function(gt){if(Ge)return;Ge=!0,Q[Pe]=gt,--Ee||G(Q)},Z)}),--Ee||G(Q)});return ge.e&&Z(ge.v),z.promise},race:function(W){var X=this,z=N(X),G=z.reject,Z=l(function(){i(W,!1,function(ge){X.resolve(ge).then(z.resolve,G)})});return Z.e&&G(Z.v),z.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(D,_,e){var g=D("./_export"),f=D("./_to-absolute-index"),y=String.fromCharCode,m=String.fromCodePoint;g(g.S+g.F*(!!m&&m.length!=1),"String",{fromCodePoint:function(h){for(var c=[],a=arguments.length,i=0,r;a>i;){if(r=+arguments[i++],f(r,1114111)!==r)throw RangeError(r+" is not a valid code point");c.push(r<65536?y(r):y(((r-=65536)>>10)+55296,r%1024+56320))}return c.join("")}})},{"./_export":107,"./_to-absolute-index":156}],180:[function(D,_,e){"use strict";var g=D("./_string-at")(!0);D("./_iter-define")(String,"String",function(f){this._t=String(f),this._i=0},function(){var f=this._t,y=this._i,m;return y>=f.length?{value:void 0,done:!0}:(m=g(f,y),this._i+=m.length,{value:m,done:!1})})},{"./_iter-define":122,"./_string-at":154}],181:[function(D,_,e){"use strict";var g=D("./_global"),f=D("./_has"),y=D("./_descriptors"),m=D("./_export"),v=D("./_redefine"),h=D("./_meta").KEY,c=D("./_fails"),a=D("./_shared"),i=D("./_set-to-string-tag"),r=D("./_uid"),o=D("./_wks"),d=D("./_wks-ext"),n=D("./_wks-define"),l=D("./_enum-keys"),t=D("./_is-array"),s=D("./_an-object"),u=D("./_is-object"),p=D("./_to-object"),w=D("./_to-iobject"),b=D("./_to-primitive"),E=D("./_property-desc"),A=D("./_object-create"),S=D("./_object-gopn-ext"),T=D("./_object-gopd"),L=D("./_object-gops"),x=D("./_object-dp"),C=D("./_object-keys"),I=T.f,N=x.f,F=S.f,k=g.Symbol,B=g.JSON,P=B&&B.stringify,K="prototype",R=o("_hidden"),U=o("toPrimitive"),j={}.propertyIsEnumerable,H=a("symbol-registry"),W=a("symbols"),X=a("op-symbols"),z=Object[K],G=typeof k=="function"&&!!L.f,Z=g.QObject,ge=!Z||!Z[K]||!Z[K].findChild,Q=y&&c(function(){return A(N({},"a",{get:function(){return N(this,"a",{value:7}).a}})).a!=7})?function(ye,Fe,Oe){var se=I(z,Fe);se&&delete z[Fe],N(ye,Fe,Oe),se&&ye!==z&&N(z,Fe,se)}:N,we=function(Fe){var Oe=W[Fe]=A(k[K]);return Oe._k=Fe,Oe},Ee=G&&typeof k.iterator=="symbol"?function(ye){return typeof ye=="symbol"}:function(ye){return ye instanceof k},Ae=function(Fe,Oe,se){return Fe===z&&Ae(X,Oe,se),s(Fe),Oe=b(Oe,!0),s(se),f(W,Oe)?(se.enumerable?(f(Fe,R)&&Fe[R][Oe]&&(Fe[R][Oe]=!1),se=A(se,{enumerable:E(0,!1)})):(f(Fe,R)||N(Fe,R,E(1,{})),Fe[R][Oe]=!0),Q(Fe,Oe,se)):N(Fe,Oe,se)},Pe=function(Fe,Oe){s(Fe);for(var se=l(Oe=w(Oe)),fe=0,Le=se.length,Je;Le>fe;)Ae(Fe,Je=se[fe++],Oe[Je]);return Fe},Ge=function(Fe,Oe){return Oe===void 0?A(Fe):Pe(A(Fe),Oe)},gt=function(Fe){var Oe=j.call(this,Fe=b(Fe,!0));return this===z&&f(W,Fe)&&!f(X,Fe)?!1:Oe||!f(this,Fe)||!f(W,Fe)||f(this,R)&&this[R][Fe]?Oe:!0},_e=function(Fe,Oe){if(Fe=w(Fe),Oe=b(Oe,!0),Fe===z&&f(W,Oe)&&!f(X,Oe))return;var se=I(Fe,Oe);return se&&f(W,Oe)&&!(f(Fe,R)&&Fe[R][Oe])&&(se.enumerable=!0),se},Ce=function(Fe){for(var Oe=F(w(Fe)),se=[],fe=0,Le;Oe.length>fe;)!f(W,Le=Oe[fe++])&&Le!=R&&Le!=h&&se.push(Le);return se},lt=function(Fe){for(var Oe=Fe===z,se=F(Oe?X:w(Fe)),fe=[],Le=0,Je;se.length>Le;)f(W,Je=se[Le++])&&(Oe?f(z,Je):!0)&&fe.push(W[Je]);return fe};G||(k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var Fe=r(arguments.length>0?arguments[0]:void 0),Oe=function se(fe){this===z&&se.call(X,fe),f(this,R)&&f(this[R],Fe)&&(this[R][Fe]=!1),Q(this,Fe,E(1,fe))};return y&&ge&&Q(z,Fe,{configurable:!0,set:Oe}),we(Fe)},v(k[K],"toString",function(){return this._k}),T.f=_e,x.f=Ae,D("./_object-gopn").f=S.f=Ce,D("./_object-pie").f=gt,L.f=lt,y&&!D("./_library")&&v(z,"propertyIsEnumerable",gt,!0),d.f=function(ye){return we(o(ye))}),m(m.G+m.W+m.F*!G,{Symbol:k});for(var ce="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Y=0;ce.length>Y;)o(ce[Y++]);for(var V=C(o.store),$=0;V.length>$;)n(V[$++]);m(m.S+m.F*!G,"Symbol",{for:function(Fe){return f(H,Fe+="")?H[Fe]:H[Fe]=k(Fe)},keyFor:function(Fe){if(!Ee(Fe))throw TypeError(Fe+" is not a symbol!");for(var Oe in H)if(H[Oe]===Fe)return Oe},useSetter:function(){ge=!0},useSimple:function(){ge=!1}}),m(m.S+m.F*!G,"Object",{create:Ge,defineProperty:Ae,defineProperties:Pe,getOwnPropertyDescriptor:_e,getOwnPropertyNames:Ce,getOwnPropertySymbols:lt});var Te=c(function(){L.f(1)});m(m.S+m.F*Te,"Object",{getOwnPropertySymbols:function(Fe){return L.f(p(Fe))}}),B&&m(m.S+m.F*(!G||c(function(){var ye=k();return P([ye])!="[null]"||P({a:ye})!="{}"||P(Object(ye))!="{}"})),"JSON",{stringify:function(Fe){for(var Oe=[Fe],se=1,fe,Le;arguments.length>se;)Oe.push(arguments[se++]);return Le=fe=Oe[1],!u(fe)&&Fe===void 0||Ee(Fe)?void 0:(t(fe)||(fe=function(mt,Ct){if(typeof Le=="function"&&(Ct=Le.call(this,mt,Ct)),!Ee(Ct))return Ct}),Oe[1]=fe,P.apply(B,Oe))}}),k[K][U]||D("./_hide")(k[K],U,k[K].valueOf),i(k,"Symbol"),i(Math,"Math",!0),i(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(D,_,e){var g=D("./_export"),f=D("./_object-to-array")(!0);g(g.S,"Object",{entries:function(m){return f(m)}})},{"./_export":107,"./_object-to-array":143}],183:[function(D,_,e){"use strict";var g=D("./_export"),f=D("./_core"),y=D("./_global"),m=D("./_species-constructor"),v=D("./_promise-resolve");g(g.P+g.R,"Promise",{finally:function(c){var a=m(this,f.Promise||y.Promise),i=typeof c=="function";return this.then(i?function(r){return v(a,c()).then(function(){return r})}:c,i?function(r){return v(a,c()).then(function(){throw r})}:c)}})},{"./_core":99,"./_export":107,"./_global":110,"./_promise-resolve":145,"./_species-constructor":153}],184:[function(D,_,e){"use strict";var g=D("./_export"),f=D("./_new-promise-capability"),y=D("./_perform");g(g.S,"Promise",{try:function(v){var h=f.f(this),c=y(v);return(c.e?h.reject:h.resolve)(c.v),h.promise}})},{"./_export":107,"./_new-promise-capability":129,"./_perform":144}],185:[function(D,_,e){D("./_wks-define")("asyncIterator")},{"./_wks-define":164}],186:[function(D,_,e){D("./_wks-define")("observable")},{"./_wks-define":164}],187:[function(D,_,e){D("./es6.array.iterator");for(var g=D("./_global"),f=D("./_hide"),y=D("./_iterators"),m=D("./_wks")("toStringTag"),v="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<v.length;h++){var c=v[h],a=g[c],i=a&&a.prototype;i&&!i[m]&&f(i,m,c),y[c]=y.Array}},{"./_global":110,"./_hide":112,"./_iterators":125,"./_wks":166,"./es6.array.iterator":169}],188:[function(D,_,e){var g=D("./_export"),f=D("./_task");g(g.G+g.B,{setImmediate:f.set,clearImmediate:f.clear})},{"./_export":107,"./_task":155}],189:[function(D,_,e){(function(g){"use strict";var f=D("babel-runtime/helpers/typeof"),y=m(f);function m(b){return b&&b.__esModule?b:{default:b}}function v(b){return Array.isArray?Array.isArray(b):w(b)==="[object Array]"}e.isArray=v;function h(b){return typeof b=="boolean"}e.isBoolean=h;function c(b){return b===null}e.isNull=c;function a(b){return b==null}e.isNullOrUndefined=a;function i(b){return typeof b=="number"}e.isNumber=i;function r(b){return typeof b=="string"}e.isString=r;function o(b){return(typeof b=="undefined"?"undefined":(0,y.default)(b))==="symbol"}e.isSymbol=o;function d(b){return b===void 0}e.isUndefined=d;function n(b){return w(b)==="[object RegExp]"}e.isRegExp=n;function l(b){return(typeof b=="undefined"?"undefined":(0,y.default)(b))==="object"&&b!==null}e.isObject=l;function t(b){return w(b)==="[object Date]"}e.isDate=t;function s(b){return w(b)==="[object Error]"||b instanceof Error}e.isError=s;function u(b){return typeof b=="function"}e.isFunction=u;function p(b){return b===null||typeof b=="boolean"||typeof b=="number"||typeof b=="string"||(typeof b=="undefined"?"undefined":(0,y.default)(b))==="symbol"||typeof b=="undefined"}e.isPrimitive=p,e.isBuffer=g.isBuffer;function w(b){return Object.prototype.toString.call(b)}}).call(this,{isBuffer:D("../../is-buffer/index.js")})},{"../../is-buffer/index.js":197,"babel-runtime/helpers/typeof":67}],190:[function(D,_,e){"use strict";var g=D("babel-runtime/helpers/typeof"),f=y(g);function y(m){return m&&m.__esModule?m:{default:m}}(function(m){"use strict";var v=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&&i(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(v.masks[l]||l||v.masks.default);var u=l.slice(0,4);(u==="UTC:"||u==="GMT:")&&(l=l.slice(4),t=!0,u==="GMT:"&&(s=!0));var p=t?"getUTC":"get",w=n[p+"Date"](),b=n[p+"Day"](),E=n[p+"Month"](),A=n[p+"FullYear"](),S=n[p+"Hours"](),T=n[p+"Minutes"](),L=n[p+"Seconds"](),x=n[p+"Milliseconds"](),C=t?0:n.getTimezoneOffset(),I=c(n),N=a(n),F={d:w,dd:h(w),ddd:v.i18n.dayNames[b],dddd:v.i18n.dayNames[b+7],m:E+1,mm:h(E+1),mmm:v.i18n.monthNames[E],mmmm:v.i18n.monthNames[E+12],yy:String(A).slice(2),yyyy:A,h:S%12||12,hh:h(S%12||12),H:S,HH:h(S),M:T,MM:h(T),s:L,ss:h(L),l:h(x,3),L:h(Math.round(x/10)),t:S<12?"a":"p",tt:S<12?"am":"pm",T:S<12?"A":"P",TT:S<12?"AM":"PM",Z:s?"GMT":t?"UTC":(String(n).match(o)||[""]).pop().replace(d,""),o:(C>0?"-":"+")+h(Math.floor(Math.abs(C)/60)*100+Math.abs(C)%60,4),S:["th","st","nd","rd"][w%10>3?0:(w%100-w%10!=10)*w%10],W:I,N};return l.replace(r,function(k){return k in F?F[k]:k.slice(1,k.length-1)})}}();v.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"},v.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 c(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 a(r){var o=r.getDay();return o===0&&(o=7),o}function i(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 v}):(typeof e=="undefined"?"undefined":(0,f.default)(e))==="object"?_.exports=v:m.dateFormat=v})(void 0)},{"babel-runtime/helpers/typeof":67}],191:[function(D,_,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=/["'&<>]/;_.exports=f;function f(y){var m=""+y,v=g.exec(m);if(!v)return m;var h,c="",a=0,i=0;for(a=v.index;a<m.length;a++){switch(m.charCodeAt(a)){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}i!==a&&(c+=m.substring(i,a)),i=a+1,c+=h}return i!==a?c+m.substring(i,a):c}},{}],192:[function(D,_,e){function g(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}_.exports=g,g.EventEmitter=g,g.prototype._events=void 0,g.prototype._maxListeners=void 0,g.defaultMaxListeners=10,g.prototype.setMaxListeners=function(h){if(!y(h)||h<0||isNaN(h))throw TypeError("n must be a positive number");return this._maxListeners=h,this},g.prototype.emit=function(h){var c,a,i,r,o,d;if(this._events||(this._events={}),h==="error"&&(!this._events.error||m(this._events.error)&&!this._events.error.length)){if(c=arguments[1],c instanceof Error)throw c;var n=new Error('Uncaught, unspecified "error" event. ('+c+")");throw n.context=c,n}if(a=this._events[h],v(a))return!1;if(f(a))switch(arguments.length){case 1:a.call(this);break;case 2:a.call(this,arguments[1]);break;case 3:a.call(this,arguments[1],arguments[2]);break;default:r=Array.prototype.slice.call(arguments,1),a.apply(this,r)}else if(m(a))for(r=Array.prototype.slice.call(arguments,1),d=a.slice(),i=d.length,o=0;o<i;o++)d[o].apply(this,r);return!0},g.prototype.addListener=function(h,c){var a;if(!f(c))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",h,f(c.listener)?c.listener:c),this._events[h]?m(this._events[h])?this._events[h].push(c):this._events[h]=[this._events[h],c]:this._events[h]=c,m(this._events[h])&&!this._events[h].warned&&(v(this._maxListeners)?a=g.defaultMaxListeners:a=this._maxListeners,a&&a>0&&this._events[h].length>a&&(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,c){if(!f(c))throw TypeError("listener must be a function");var a=!1;function i(){this.removeListener(h,i),a||(a=!0,c.apply(this,arguments))}return i.listener=c,this.on(h,i),this},g.prototype.removeListener=function(h,c){var a,i,r,o;if(!f(c))throw TypeError("listener must be a function");if(!this._events||!this._events[h])return this;if(a=this._events[h],r=a.length,i=-1,a===c||f(a.listener)&&a.listener===c)delete this._events[h],this._events.removeListener&&this.emit("removeListener",h,c);else if(m(a)){for(o=r;o-- >0;)if(a[o]===c||a[o].listener&&a[o].listener===c){i=o;break}if(i<0)return this;a.length===1?(a.length=0,delete this._events[h]):a.splice(i,1),this._events.removeListener&&this.emit("removeListener",h,c)}return this},g.prototype.removeAllListeners=function(h){var c,a;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(c in this._events){if(c==="removeListener")continue;this.removeAllListeners(c)}return this.removeAllListeners("removeListener"),this._events={},this}if(a=this._events[h],f(a))this.removeListener(h,a);else if(a)for(;a.length;)this.removeListener(h,a[a.length-1]);return delete this._events[h],this},g.prototype.listeners=function(h){var c;return!this._events||!this._events[h]?c=[]:f(this._events[h])?c=[this._events[h]]:c=this._events[h].slice(),c},g.prototype.listenerCount=function(h){if(this._events){var c=this._events[h];if(f(c))return 1;if(c)return c.length}return 0},g.listenerCount=function(h,c){return h.listenerCount(c)};function f(h){return typeof h=="function"}function y(h){return typeof h=="number"}function m(h){return typeof h=="object"&&h!==null}function v(h){return h===void 0}},{}],193:[function(D,_,e){var g=D("http"),f=_.exports;for(var y in g)g.hasOwnProperty(y)&&(f[y]=g[y]);f.request=function(m,v){return m||(m={}),m.scheme="https",m.protocol="https:",g.request.call(this,m,v)}},{http:231}],194:[function(D,_,e){/*!
* humanize-ms - index.js
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
* MIT Licensed
*/"use strict";var g=D("util"),f=D("ms");_.exports=function(y){if(typeof y=="number")return y;var m=f(y);if(m===void 0){var v=new Error(g.format("humanize-ms(%j) result undefined",y));console.warn(v.stack)}return m}},{ms:204,util:243}],195:[function(D,_,e){e.read=function(g,f,y,m,v){var h,c,a=v*8-m-1,i=(1<<a)-1,r=i>>1,o=-7,d=y?v-1:0,n=y?-1:1,l=g[f+d];for(d+=n,h=l&(1<<-o)-1,l>>=-o,o+=a;o>0;h=h*256+g[f+d],d+=n,o-=8);for(c=h&(1<<-o)-1,h>>=-o,o+=m;o>0;c=c*256+g[f+d],d+=n,o-=8);if(h===0)h=1-r;else{if(h===i)return c?NaN:(l?-1:1)*Infinity;c=c+Math.pow(2,m),h=h-r}return(l?-1:1)*c*Math.pow(2,h-m)},e.write=function(g,f,y,m,v,h){var c,a,i,r=h*8-v-1,o=(1<<r)-1,d=o>>1,n=v===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?(a=isNaN(f)?1:0,c=o):(c=Math.floor(Math.log(f)/Math.LN2),f*(i=Math.pow(2,-c))<1&&(c--,i*=2),c+d>=1?f+=n/i:f+=n*Math.pow(2,1-d),f*i>=2&&(c++,i/=2),c+d>=o?(a=0,c=o):c+d>=1?(a=(f*i-1)*Math.pow(2,v),c=c+d):(a=f*Math.pow(2,d-1)*Math.pow(2,v),c=0));v>=8;g[y+l]=a&255,l+=t,a/=256,v-=8);for(c=c<<v|a,r+=v;r>0;g[y+l]=c&255,l+=t,c/=256,r-=8);g[y+l-t]|=s*128}},{}],196:[function(D,_,e){typeof Object.create=="function"?_.exports=function(f,y){y&&(f.super_=y,f.prototype=Object.create(y.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}))}:_.exports=function(f,y){if(y){f.super_=y;var m=function(){};m.prototype=y.prototype,f.prototype=new m,f.prototype.constructor=f}}},{}],197:[function(D,_,e){/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/_.exports=function(y){return y!=null&&(g(y)||f(y)||!!y._isBuffer)};function g(y){return!!y.constructor&&typeof y.constructor.isBuffer=="function"&&y.constructor.isBuffer(y)}function f(y){return typeof y.readFloatLE=="function"&&typeof y.slice=="function"&&g(y.slice(0,0))}},{}],198:[function(D,_,e){var g={}.toString;_.exports=Array.isArray||function(f){return g.call(f)=="[object Array]"}},{}],199:[function(require,module,exports){(function(global){(function(D,_){typeof exports=="object"&&typeof module!="undefined"?module.exports=_(D):typeof define=="function"&&define.amd?define(_):_(D)})(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(D){buffer=void 0}var b64chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b64tab=function(D){for(var _={},e=0,g=D.length;e<g;e++)_[D.charAt(e)]=e;return _}(b64chars),fromCharCode=String.fromCharCode,cb_utob=function(_){if(_.length<2){var e=_.charCodeAt(0);return e<128?_: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+(_.charCodeAt(0)-55296)*1024+(_.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(_){return _.replace(re_utob,cb_utob)},cb_encode=function(_){var e=[0,2,1][_.length%3],g=_.charCodeAt(0)<<16|(_.length>1?_.charCodeAt(1):0)<<8|(_.length>2?_.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(D){return global.btoa(D)}:function(D){return D.replace(/[\s\S]{1,3}/g,cb_encode)},_encode=function(_){var e=Object.prototype.toString.call(_)==="[object Uint8Array]";return e?_.toString("base64"):btoa(utob(String(_)))},encode=function(_,e){return e?_encode(String(_)).replace(/[+\/]/g,function(g){return g=="+"?"-":"_"}).replace(/=/g,""):_encode(_)},encodeURI=function(_){return encode(_,!0)},re_btou=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=function(_){switch(_.length){case 4:var e=(7&_.charCodeAt(0))<<18|(63&_.charCodeAt(1))<<12|(63&_.charCodeAt(2))<<6|63&_.charCodeAt(3),g=e-65536;return fromCharCode((g>>>10)+55296)+fromCharCode((g&1023)+56320);case 3:return fromCharCode((15&_.charCodeAt(0))<<12|(63&_.charCodeAt(1))<<6|63&_.charCodeAt(2));default:return fromCharCode((31&_.charCodeAt(0))<<6|63&_.charCodeAt(1))}},btou=function(_){return _.replace(re_btou,cb_btou)},cb_decode=function(_){var e=_.length,g=e%4,f=(e>0?b64tab[_.charAt(0)]<<18:0)|(e>1?b64tab[_.charAt(1)]<<12:0)|(e>2?b64tab[_.charAt(2)]<<6:0)|(e>3?b64tab[_.charAt(3)]:0),y=[fromCharCode(f>>>16),fromCharCode(f>>>8&255),fromCharCode(f&255)];return y.length-=[0,0,2,1][g],y.join("")},_atob=global.atob?function(D){return global.atob(D)}:function(D){return D.replace(/\S{1,4}/g,cb_decode)},atob=function(_){return _atob(String(_).replace(/[^A-Za-z0-9\+\/]/g,""))},_decode=buffer?buffer.from&&Uint8Array&&buffer.from!==Uint8Array.from?function(D){return(D.constructor===buffer.constructor?D:buffer.from(D,"base64")).toString()}:function(D){return(D.constructor===buffer.constructor?D:new buffer(D,"base64")).toString()}:function(D){return btou(_atob(D))},decode=function(_){return _decode(String(_).replace(/[-_]/g,function(e){return e=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},noConflict=function(){var _=global.Base64;return global.Base64=_Base64,_};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(_){return{value:_,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(D){return encode(this,D)})),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(D,_,e){/*!
* merge-descriptors
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/"use strict";_.exports=f;var g=Object.prototype.hasOwnProperty;function f(y,m,v){if(!y)throw new TypeError("argument dest is required");if(!m)throw new TypeError("argument src is required");return v===void 0&&(v=!0),Object.getOwnPropertyNames(m).forEach(function(c){if(!v&&g.call(y,c))return;var a=Object.getOwnPropertyDescriptor(m,c);Object.defineProperty(y,c,a)}),y}},{}],201:[function(D,_,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,y){for(var m in f){var v=f[m].map(function(a){return a.toLowerCase()});m=m.toLowerCase();for(var h=0;h<v.length;h++){var c=v[h];if(c[0]=="*")continue;if(!y&&c in this._types)throw new Error('Attempt to change mapping for "'+c+'" extension from "'+this._types[c]+'" to "'+m+'". Pass `force=true` to allow this, otherwise remove "'+c+'" from the list of extensions for "'+m+'".');this._types[c]=m}if(y||!this._extensions[m]){var c=v[0];this._extensions[m]=c[0]!="*"?c:c.substr(1)}}},g.prototype.getType=function(f){f=String(f);var y=f.replace(/^.*[/\\]/,"").toLowerCase(),m=y.replace(/^.*\./,"").toLowerCase(),v=y.length<f.length,h=m.length<y.length-1;return(h||!v)&&this._types[m]||null},g.prototype.getExtension=function(f){return f=/^\s*([^;\s]*)/.test(f)&&RegExp.$1,f&&this._extensions[f.toLowerCase()]||null},_.exports=g},{}],202:[function(D,_,e){"use strict";var g=D("./Mime");_.exports=new g(D("./types/standard"))},{"./Mime":201,"./types/standard":203}],203:[function(D,_,e){_.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(D,_,e){var g=1e3,f=g*60,y=f*60,m=y*24,v=m*7,h=m*365.25;_.exports=function(o,d){d=d||{};var n=typeof o;if(n==="string"&&o.length>0)return c(o);if(n==="number"&&isFinite(o))return d.long?i(o):a(o);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(o))};function c(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*v;case"days":case"day":case"d":return n*m;case"hours":case"hour":case"hrs":case"hr":case"h":return n*y;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 a(o){var d=Math.abs(o);return d>=m?Math.round(o/m)+"d":d>=y?Math.round(o/y)+"h":d>=f?Math.round(o/f)+"m":d>=g?Math.round(o/g)+"s":o+"ms"}function i(o){var d=Math.abs(o);return d>=m?r(o,d,m,"day"):d>=y?r(o,d,y,"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(D,_,e){(function(g){function f(h,c){for(var a=0,i=h.length-1;i>=0;i--){var r=h[i];r==="."?h.splice(i,1):r===".."?(h.splice(i,1),a++):a&&(h.splice(i,1),a--)}if(c)for(;a--;a)h.unshift("..");return h}e.resolve=function(){for(var h="",c=!1,a=arguments.length-1;a>=-1&&!c;a--){var i=a>=0?arguments[a]:g.cwd();if(typeof i!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!i)continue;h=i+"/"+h,c=i.charAt(0)==="/"}return h=f(m(h.split("/"),function(r){return!!r}),!c).join("/"),(c?"/":"")+h||"."},e.normalize=function(h){var c=e.isAbsolute(h),a=v(h,-1)==="/";return h=f(m(h.split("/"),function(i){return!!i}),!c).join("/"),!h&&!c&&(h="."),h&&a&&(h+="/"),(c?"/":"")+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(c,a){if(typeof c!="string")throw new TypeError("Arguments to path.join must be strings");return c}).join("/"))},e.relative=function(h,c){h=e.resolve(h).substr(1),c=e.resolve(c).substr(1);function a(t){for(var s=0;s<t.length&&!(t[s]!=="");s++);for(var u=t.length-1;u>=0&&!(t[u]!=="");u--);return s>u?[]:t.slice(s,u-s+1)}for(var i=a(h.split("/")),r=a(c.split("/")),o=Math.min(i.length,r.length),d=o,n=0;n<o;n++)if(i[n]!==r[n]){d=n;break}for(var l=[],n=d;n<i.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 c=h.charCodeAt(0),a=c===47,i=-1,r=!0,o=h.length-1;o>=1;--o)if(c=h.charCodeAt(o),c===47){if(!r){i=o;break}}else r=!1;return i===-1?a?"/":".":a&&i===1?"/":h.slice(0,i)};function y(h){typeof h!="string"&&(h=h+"");var c=0,a=-1,i=!0,r;for(r=h.length-1;r>=0;--r)if(h.charCodeAt(r)===47){if(!i){c=r+1;break}}else a===-1&&(i=!1,a=r+1);return a===-1?"":h.slice(c,a)}e.basename=function(h,c){var a=y(h);return c&&a.substr(-1*c.length)===c&&(a=a.substr(0,a.length-c.length)),a},e.extname=function(h){typeof h!="string"&&(h=h+"");for(var c=-1,a=0,i=-1,r=!0,o=0,d=h.length-1;d>=0;--d){var n=h.charCodeAt(d);if(n===47){if(!r){a=d+1;break}continue}i===-1&&(r=!1,i=d+1),n===46?c===-1?c=d:o!==1&&(o=1):c!==-1&&(o=-1)}return c===-1||i===-1||o===0||o===1&&c===i-1&&c===a+1?"":h.slice(c,i)};function m(h,c){if(h.filter)return h.filter(c);for(var a=[],i=0;i<h.length;i++)c(h[i],i,h)&&a.push(h[i]);return a}var v="ab".substr(-1)==="b"?function(h,c,a){return h.substr(c,a)}:function(h,c,a){return c<0&&(c=h.length+c),h.substr(c,a)}}).call(this,D("_process"))},{_process:208}],206:[function(D,_,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},y=f[typeof window]&&window||this,m=y,v=f[typeof e]&&e,h=f[typeof _]&&_&&!_.nodeType&&_,c=v&&h&&typeof g=="object"&&g;c&&(c.global===c||c.window===c||c.self===c)&&(y=c);var a=Math.pow(2,53)-1,i=/\bOpera/,r=this,o=Object.prototype,d=o.hasOwnProperty,n=o.toString;function l(x){return x=String(x),x.charAt(0).toUpperCase()+x.slice(1)}function t(x,C,I){var N={"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 C&&I&&/^Win/i.test(x)&&!/^Windows Phone /i.test(x)&&(N=N[/[\d.]+$/.exec(x)])&&(x="Windows "+N),x=String(x),C&&I&&(x=x.replace(RegExp(C,"i"),I)),x=u(x.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]),x}function s(x,C){var I=-1,N=x?x.length:0;if(typeof N=="number"&&N>-1&&N<=a)for(;++I<N;)C(x[I],I,x);else p(x,C)}function u(x){return x=S(x),/^(?:webOS|i(?:OS|P))/.test(x)?x:l(x)}function p(x,C){for(var I in x)d.call(x,I)&&C(x[I],I,x)}function w(x){return x==null?l(x):n.call(x).slice(8,-1)}function b(x,C){var I=x!=null?typeof x[C]:"number";return!/^(?:boolean|number|string|undefined)$/.test(I)&&(I=="object"?!!x[C]:!0)}function E(x){return String(x).replace(/([ -])(?!$)/g,"$1?")}function A(x,C){var I=null;return s(x,function(N,F){I=C(I,N,F,x)}),I}function S(x){return String(x).replace(/^ +| +$/g,"")}function T(x){var C=y,I=x&&typeof x=="object"&&w(x)!="String";I&&(C=x,x=null);var N=C.navigator||{},F=N.userAgent||"";x||(x=F);var k=I||r==m,B=I?!!N.likeChrome:/\bChrome\b/.test(x)&&!/internal|\n/i.test(n.toString()),P="Object",K=I?P:"ScriptBridgingProxyObject",R=I?P:"Environment",U=I&&C.java?"JavaPackage":w(C.java),j=I?P:"RuntimeObject",H=/\bJava/.test(U)&&C.java,W=H&&w(C.environment)==R,X=H?"a":"\u03B1",z=H?"b":"\u03B2",G=C.document||{},Z=C.operamini||C.opera,ge=i.test(ge=I&&Z?Z["[[Class]]"]:w(Z))?ge:Z=null,Q,we=x,Ee=[],Ae=null,Pe=x==F,Ge=Pe&&Z&&typeof Z.version=="function"&&Z.version(),gt,_e=V([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),Ce=Te(["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"]),lt=Fe([{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"]),ce=$({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}}),Y=ye(["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 V(Le){return A(Le,function(Je,mt){return Je||RegExp("\\b"+(mt.pattern||E(mt))+"\\b","i").exec(x)&&(mt.label||mt)})}function $(Le){return A(Le,function(Je,mt,Ct){return Je||(mt[lt]||mt[/^[a-z]+(?: +[a-z]+\b)*/i.exec(lt)]||RegExp("\\b"+E(Ct)+"(?:\\b|\\w*\\d)","i").exec(x))&&Ct})}function Te(Le){return A(Le,function(Je,mt){return Je||RegExp("\\b"+(mt.pattern||E(mt))+"\\b","i").exec(x)&&(mt.label||mt)})}function ye(Le){return A(Le,function(Je,mt){var Ct=mt.pattern||E(mt);return!Je&&(Je=RegExp("\\b"+Ct+"(?:/[\\d.]+|[ \\w.]*)","i").exec(x))&&(Je=t(Je,Ct,mt.label||mt)),Je})}function Fe(Le){return A(Le,function(Je,mt){var Ct=mt.pattern||E(mt);return!Je&&(Je=RegExp("\\b"+Ct+" *\\d+[.\\w_]*","i").exec(x)||RegExp("\\b"+Ct+" *\\w+-[\\w]*","i").exec(x)||RegExp("\\b"+Ct+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(x))&&((Je=String(mt.label&&!RegExp(Ct,"i").test(mt.label)?mt.label:Je).split("/"))[1]&&!/[\d.]+/.test(Je[0])&&(Je[0]+=" "+Je[1]),mt=mt.label||mt,Je=u(Je[0].replace(RegExp(Ct,"i"),mt).replace(RegExp("; *(?:"+mt+"[_-])?","i")," ").replace(RegExp("("+mt+")[-_.]?(\\w)","i"),"$1 $2"))),Je})}function Oe(Le){return A(Le,function(Je,mt){return Je||(RegExp(mt+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(x)||0)[1]||null})}function se(){return this.description||""}if(_e&&(_e=[_e]),ce&&!lt&&(lt=Fe([ce])),(Q=/\bGoogle TV\b/.exec(lt))&&(lt=Q[0]),/\bSimulator\b/i.test(x)&&(lt=(lt?lt+" ":"")+"Simulator"),Ce=="Opera Mini"&&/\bOPiOS\b/.test(x)&&Ee.push("running in Turbo/Uncompressed mode"),Ce=="IE"&&/\blike iPhone OS\b/.test(x)?(Q=T(x.replace(/like iPhone OS/,"")),ce=Q.manufacturer,lt=Q.product):/^iP/.test(lt)?(Ce||(Ce="Safari"),Y="iOS"+((Q=/ OS ([\d_]+)/i.exec(x))?" "+Q[1].replace(/_/g,"."):"")):Ce=="Konqueror"&&!/buntu/i.test(Y)?Y="Kubuntu":ce&&ce!="Google"&&(/Chrome/.test(Ce)&&!/\bMobile Safari\b/i.test(x)||/\bVita\b/.test(lt))||/\bAndroid\b/.test(Y)&&/^Chrome/.test(Ce)&&/\bVersion\//i.test(x)?(Ce="Android Browser",Y=/\bAndroid\b/.test(Y)?Y:"Android"):Ce=="Silk"?(/\bMobi/i.test(x)||(Y="Android",Ee.unshift("desktop mode")),/Accelerated *= *true/i.test(x)&&Ee.unshift("accelerated")):Ce=="PaleMoon"&&(Q=/\bFirefox\/([\d.]+)\b/.exec(x))?Ee.push("identifying as Firefox "+Q[1]):Ce=="Firefox"&&(Q=/\b(Mobile|Tablet|TV)\b/i.exec(x))?(Y||(Y="Firefox OS"),lt||(lt=Q[1])):!Ce||(Q=!/\bMinefield\b/i.test(x)&&/\b(?:Firefox|Safari)\b/.exec(Ce))?(Ce&&!lt&&/[\/,]|^[^(]+?\)/.test(x.slice(x.indexOf(Q+"/")+8))&&(Ce=null),(Q=lt||ce||Y)&&(lt||ce||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(Y))&&(Ce=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(Y)?Y:Q)+" Browser")):Ce=="Electron"&&(Q=(/\bChrome\/([\d.]+)\b/.exec(x)||0)[1])&&Ee.push("Chromium "+Q),Ge||(Ge=Oe(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",E(Ce),"(?:Firefox|Minefield|NetFront)"])),(Q=_e=="iCab"&&parseFloat(Ge)>3&&"WebKit"||/\bOpera\b/.test(Ce)&&(/\bOPR\b/.test(x)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(x)&&!/^(?:Trident|EdgeHTML)$/.test(_e)&&"WebKit"||!_e&&/\bMSIE\b/i.test(x)&&(Y=="Mac OS"?"Tasman":"Trident")||_e=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(Ce)&&"NetFront")&&(_e=[Q]),Ce=="IE"&&(Q=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(x)||0)[1])?(Ce+=" Mobile",Y="Windows Phone "+(/\+$/.test(Q)?Q:Q+".x"),Ee.unshift("desktop mode")):/\bWPDesktop\b/i.test(x)?(Ce="IE Mobile",Y="Windows Phone 8.x",Ee.unshift("desktop mode"),Ge||(Ge=(/\brv:([\d.]+)/.exec(x)||0)[1])):Ce!="IE"&&_e=="Trident"&&(Q=/\brv:([\d.]+)/.exec(x))&&(Ce&&Ee.push("identifying as "+Ce+(Ge?" "+Ge:"")),Ce="IE",Ge=Q[1]),Pe){if(b(C,"global"))if(H&&(Q=H.lang.System,we=Q.getProperty("os.arch"),Y=Y||Q.getProperty("os.name")+" "+Q.getProperty("os.version")),W){try{Ge=C.require("ringo/engine").version.join("."),Ce="RingoJS"}catch(Le){(Q=C.system)&&Q.global.system==C.system&&(Ce="Narwhal",Y||(Y=Q[0].os||null))}Ce||(Ce="Rhino")}else typeof C.process=="object"&&!C.process.browser&&(Q=C.process)&&(typeof Q.versions=="object"&&(typeof Q.versions.electron=="string"?(Ee.push("Node "+Q.versions.node),Ce="Electron",Ge=Q.versions.electron):typeof Q.versions.nw=="string"&&(Ee.push("Chromium "+Ge,"Node "+Q.versions.node),Ce="NW.js",Ge=Q.versions.nw)),Ce||(Ce="Node.js",we=Q.arch,Y=Q.platform,Ge=/[\d.]+/.exec(Q.version),Ge=Ge?Ge[0]:null));else w(Q=C.runtime)==K?(Ce="Adobe AIR",Y=Q.flash.system.Capabilities.os):w(Q=C.phantom)==j?(Ce="PhantomJS",Ge=(Q=Q.version||null)&&Q.major+"."+Q.minor+"."+Q.patch):typeof G.documentMode=="number"&&(Q=/\bTrident\/(\d+)/i.exec(x))?(Ge=[Ge,G.documentMode],(Q=+Q[1]+4)!=Ge[1]&&(Ee.push("IE "+Ge[1]+" mode"),_e&&(_e[1]=""),Ge[1]=Q),Ge=Ce=="IE"?String(Ge[1].toFixed(1)):Ge[0]):typeof G.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(Ce)&&(Ee.push("masking as "+Ce+" "+Ge),Ce="IE",Ge="11.0",_e=["Trident"],Y="Windows");Y=Y&&u(Y)}if(Ge&&(Q=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Ge)||/(?:alpha|beta)(?: ?\d)?/i.exec(x+";"+(Pe&&N.appMinorVersion))||/\bMinefield\b/i.test(x)&&"a")&&(Ae=/b/i.test(Q)?"beta":"alpha",Ge=Ge.replace(RegExp(Q+"\\+?$"),"")+(Ae=="beta"?z:X)+(/\d+\+?/.exec(Q)||"")),Ce=="Fennec"||Ce=="Firefox"&&/\b(?:Android|Firefox OS)\b/.test(Y))Ce="Firefox Mobile";else if(Ce=="Maxthon"&&Ge)Ge=Ge.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(lt))lt=="Xbox 360"&&(Y=null),lt=="Xbox 360"&&/\bIEMobile\b/.test(x)&&Ee.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(Ce)||Ce&&!lt&&!/Browser|Mobi/.test(Ce))&&(Y=="Windows CE"||/Mobi/i.test(x)))Ce+=" Mobile";else if(Ce=="IE"&&Pe)try{C.external===null&&Ee.unshift("platform preview")}catch(Le){Ee.unshift("embedded")}else(/\bBlackBerry\b/.test(lt)||/\bBB10\b/.test(x))&&(Q=(RegExp(lt.replace(/ +/g," *")+"/([.\\d]+)","i").exec(x)||0)[1]||Ge)?(Q=[Q,/BB10/.test(x)],Y=(Q[1]?(lt=null,ce="BlackBerry"):"Device Software")+" "+Q[0],Ge=null):this!=p&&lt!="Wii"&&(Pe&&Z||/Opera/.test(Ce)&&/\b(?:MSIE|Firefox)\b/i.test(x)||Ce=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(Y)||Ce=="IE"&&(Y&&!/^Win/.test(Y)&&Ge>5.5||/\bWindows XP\b/.test(Y)&&Ge>8||Ge==8&&!/\bTrident\b/.test(x)))&&!i.test(Q=T.call(p,x.replace(i,"")+";"))&&Q.name&&(Q="ing as "+Q.name+((Q=Q.version)?" "+Q:""),i.test(Ce)?(/\bIE\b/.test(Q)&&Y=="Mac OS"&&(Y=null),Q="identify"+Q):(Q="mask"+Q,ge?Ce=u(ge.replace(/([a-z])([A-Z])/g,"$1 $2")):Ce="Opera",/\bIE\b/.test(Q)&&(Y=null),Pe||(Ge=null)),_e=["Presto"],Ee.push(Q));(Q=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(x)||0)[1])&&(Q=[parseFloat(Q.replace(/\.(\d)$/,".0$1")),Q],Ce=="Safari"&&Q[1].slice(-1)=="+"?(Ce="WebKit Nightly",Ae="alpha",Ge=Q[1].slice(0,-1)):(Ge==Q[1]||Ge==(Q[2]=(/\bSafari\/([\d.]+\+?)/i.exec(x)||0)[1]))&&(Ge=null),Q[1]=(/\bChrome\/([\d.]+)/i.exec(x)||0)[1],Q[0]==537.36&&Q[2]==537.36&&parseFloat(Q[1])>=28&&_e=="WebKit"&&(_e=["Blink"]),!Pe||!B&&!Q[1]?(_e&&(_e[1]="like Safari"),Q=(Q=Q[0],Q<400?1:Q<500?2:Q<526?3:Q<533?4:Q<534?"4+":Q<535?5:Q<537?6:Q<538?7:Q<601?8:"8")):(_e&&(_e[1]="like Chrome"),Q=Q[1]||(Q=Q[0],Q<530?1:Q<532?2:Q<532.05?3:Q<533?4:Q<534.03?5:Q<534.07?6:Q<534.1?7:Q<534.13?8:Q<534.16?9:Q<534.24?10:Q<534.3?11:Q<535.01?12:Q<535.02?"13+":Q<535.07?15:Q<535.11?16:Q<535.19?17:Q<536.05?18:Q<536.1?19:Q<537.01?20:Q<537.11?"21+":Q<537.13?23:Q<537.18?24:Q<537.24?25:Q<537.36?26:_e!="Blink"?"27":"28")),_e&&(_e[1]+=" "+(Q+=typeof Q=="number"?".x":/[.+]/.test(Q)?"":"+")),Ce=="Safari"&&(!Ge||parseInt(Ge)>45)&&(Ge=Q)),Ce=="Opera"&&(Q=/\bzbov|zvav$/.exec(Y))?(Ce+=" ",Ee.unshift("desktop mode"),Q=="zvav"?(Ce+="Mini",Ge=null):Ce+="Mobile",Y=Y.replace(RegExp(" *"+Q+"$"),"")):Ce=="Safari"&&/\bChrome\b/.exec(_e&&_e[1])&&(Ee.unshift("desktop mode"),Ce="Chrome Mobile",Ge=null,/\bOS X\b/.test(Y)?(ce="Apple",Y="iOS 4.3+"):Y=null),Ge&&Ge.indexOf(Q=/[\d.]+$/.exec(Y))==0&&x.indexOf("/"+Q+"-")>-1&&(Y=S(Y.replace(Q,""))),_e&&!/\b(?:Avant|Nook)\b/.test(Ce)&&(/Browser|Lunascape|Maxthon/.test(Ce)||Ce!="Safari"&&/^iOS/.test(Y)&&/\bSafari\b/.test(_e[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(Ce)&&_e[1])&&((Q=_e[_e.length-1])&&Ee.push(Q)),Ee.length&&(Ee=["("+Ee.join("; ")+")"]),ce&&lt&&lt.indexOf(ce)<0&&Ee.push("on "+ce),lt&&Ee.push((/^on /.test(Ee[Ee.length-1])?"":"on ")+lt),Y&&(Q=/ ([\d.+]+)$/.exec(Y),gt=Q&&Y.charAt(Y.length-Q[0].length-1)=="/",Y={architecture:32,family:Q&&!gt?Y.replace(Q[0],""):Y,version:Q?Q[1]:null,toString:function(){var Je=this.version;return this.family+(Je&&!gt?" "+Je:"")+(this.architecture==64?" 64-bit":"")}}),(Q=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(we))&&!/\bi686\b/i.test(we)?(Y&&(Y.architecture=64,Y.family=Y.family.replace(RegExp(" *"+Q),"")),Ce&&(/\bWOW64\b/i.test(x)||Pe&&/\w(?:86|32)$/.test(N.cpuClass||N.platform)&&!/\bWin64; x64\b/i.test(x))&&Ee.unshift("32-bit")):Y&&/^OS X/.test(Y.family)&&Ce=="Chrome"&&parseFloat(Ge)>=39&&(Y.architecture=64),x||(x=null);var fe={};return fe.description=x,fe.layout=_e&&_e[0],fe.manufacturer=ce,fe.name=Ce,fe.prerelease=Ae,fe.product=lt,fe.ua=x,fe.version=Ce&&Ge,fe.os=Y||{architecture:null,family:null,version:null,toString:function(){return"null"}},fe.parse=T,fe.toString=se,fe.version&&Ee.unshift(Ge),fe.name&&Ee.unshift(Ce),Y&&Ce&&!(Y==String(Y).split(" ")[0]&&(Y==Ce.split(" ")[0]||lt))&&Ee.push(lt?"("+Y+")":"on "+Y),Ee.length&&(fe.description=Ee.join(" ")),fe}var L=T();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(y.platform=L,define(function(){return L})):v&&h?p(L,function(x,C){v[C]=x}):y.platform=L}).call(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],207:[function(D,_,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?_.exports={nextTick:f}:_.exports=g;function f(y,m,v,h){if(typeof y!="function")throw new TypeError('"callback" argument must be a function');var c=arguments.length,a,i;switch(c){case 0:case 1:return g.nextTick(y);case 2:return g.nextTick(function(){y.call(null,m)});case 3:return g.nextTick(function(){y.call(null,m,v)});case 4:return g.nextTick(function(){y.call(null,m,v,h)});default:for(a=new Array(c-1),i=0;i<a.length;)a[i++]=arguments[i];return g.nextTick(function(){y.apply(null,a)})}}}).call(this,D("_process"))},{_process:208}],208:[function(D,_,e){var g=_.exports={},f,y;function m(){throw new Error("setTimeout has not been defined")}function v(){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"?y=clearTimeout:y=v}catch(s){y=v}})();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(u){try{return f.call(null,s,0)}catch(p){return f.call(this,s,0)}}}function c(s){if(y===clearTimeout)return clearTimeout(s);if((y===v||!y)&&clearTimeout)return y=clearTimeout,clearTimeout(s);try{return y(s)}catch(u){try{return y.call(null,s)}catch(p){return y.call(this,s)}}}var a=[],i=!1,r,o=-1;function d(){if(!i||!r)return;i=!1,r.length?a=r.concat(a):o=-1,a.length&&n()}function n(){if(i)return;var s=h(d);i=!0;for(var u=a.length;u;){for(r=a,a=[];++o<u;)r&&r[o].run();o=-1,u=a.length}r=null,i=!1,c(s)}g.nextTick=function(s){var u=new Array(arguments.length-1);if(arguments.length>1)for(var p=1;p<arguments.length;p++)u[p-1]=arguments[p];a.push(new l(s,u)),a.length===1&&!i&&h(n)};function l(s,u){this.fun=s,this.array=u}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(D,_,e){(function(g){/*! https://mths.be/punycode v1.4.1 by @mathias */(function(f){var y=typeof e=="object"&&e&&!e.nodeType&&e,m=typeof _=="object"&&_&&!_.nodeType&&_,v=typeof g=="object"&&g;(v.global===v||v.window===v||v.self===v)&&(f=v);var h,c=2147483647,a=36,i=1,r=26,o=38,d=700,n=72,l=128,t="-",s=/^xn--/,u=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,w={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},b=a-i,E=Math.floor,A=String.fromCharCode,S;function T(U){throw new RangeError(w[U])}function L(U,j){for(var H=U.length,W=[];H--;)W[H]=j(U[H]);return W}function x(U,j){var H=U.split("@"),W="";H.length>1&&(W=H[0]+"@",U=H[1]),U=U.replace(p,".");var X=U.split("."),z=L(X,j).join(".");return W+z}function C(U){for(var j=[],H=0,W=U.length,X,z;H<W;)X=U.charCodeAt(H++),X>=55296&&X<=56319&&H<W?(z=U.charCodeAt(H++),(z&64512)==56320?j.push(((X&1023)<<10)+(z&1023)+65536):(j.push(X),H--)):j.push(X);return j}function I(U){return L(U,function(j){var H="";return j>65535&&(j-=65536,H+=A(j>>>10&1023|55296),j=56320|j&1023),H+=A(j),H}).join("")}function N(U){return U-48<10?U-22:U-65<26?U-65:U-97<26?U-97:a}function F(U,j){return U+22+75*(U<26)-((j!=0)<<5)}function k(U,j,H){var W=0;for(U=H?E(U/d):U>>1,U+=E(U/j);U>b*r>>1;W+=a)U=E(U/b);return E(W+(b+1)*U/(U+o))}function B(U){var j=[],H=U.length,W,X=0,z=l,G=n,Z,ge,Q,we,Ee,Ae,Pe,Ge,gt;for(Z=U.lastIndexOf(t),Z<0&&(Z=0),ge=0;ge<Z;++ge)U.charCodeAt(ge)>=128&&T("not-basic"),j.push(U.charCodeAt(ge));for(Q=Z>0?Z+1:0;Q<H;){for(we=X,Ee=1,Ae=a;!(Q>=H&&T("invalid-input"),Pe=N(U.charCodeAt(Q++)),(Pe>=a||Pe>E((c-X)/Ee))&&T("overflow"),X+=Pe*Ee,Ge=Ae<=G?i:Ae>=G+r?r:Ae-G,Pe<Ge);Ae+=a)gt=a-Ge,Ee>E(c/gt)&&T("overflow"),Ee*=gt;W=j.length+1,G=k(X-we,W,we==0),E(X/W)>c-z&&T("overflow"),z+=E(X/W),X%=W,j.splice(X++,0,z)}return I(j)}function P(U){var j,H,W,X,z,G,Z,ge,Q,we,Ee,Ae=[],Pe,Ge,gt,_e;for(U=C(U),Pe=U.length,j=l,H=0,z=n,G=0;G<Pe;++G)Ee=U[G],Ee<128&&Ae.push(A(Ee));for(W=X=Ae.length,X&&Ae.push(t);W<Pe;){for(Z=c,G=0;G<Pe;++G)Ee=U[G],Ee>=j&&Ee<Z&&(Z=Ee);for(Ge=W+1,Z-j>E((c-H)/Ge)&&T("overflow"),H+=(Z-j)*Ge,j=Z,G=0;G<Pe;++G)if(Ee=U[G],Ee<j&&++H>c&&T("overflow"),Ee==j){for(ge=H,Q=a;!(we=Q<=z?i:Q>=z+r?r:Q-z,ge<we);Q+=a)_e=ge-we,gt=a-we,Ae.push(A(F(we+_e%gt,0))),ge=E(_e/gt);Ae.push(A(F(ge,0))),z=k(H,Ge,W==X),H=0,++W}++H,++j}return Ae.join("")}function K(U){return x(U,function(j){return s.test(j)?B(j.slice(4).toLowerCase()):j})}function R(U){return x(U,function(j){return u.test(j)?"xn--"+P(j):j})}if(h={version:"1.4.1",ucs2:{decode:C,encode:I},decode:B,encode:P,toASCII:R,toUnicode:K},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return h});else if(y&&m)if(_.exports==y)m.exports=h;else for(S in h)h.hasOwnProperty(S)&&(y[S]=h[S]);else f.punycode=h})(this)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],210:[function(D,_,e){"use strict";function g(y,m){return Object.prototype.hasOwnProperty.call(y,m)}_.exports=function(y,m,v,h){m=m||"&",v=v||"=";var c={};if(typeof y!="string"||y.length===0)return c;var a=/\+/g;y=y.split(m);var i=1e3;h&&typeof h.maxKeys=="number"&&(i=h.maxKeys);var r=y.length;i>0&&r>i&&(r=i);for(var o=0;o<r;++o){var d=y[o].replace(a,"%20"),n=d.indexOf(v),l,t,s,u;n>=0?(l=d.substr(0,n),t=d.substr(n+1)):(l=d,t=""),s=decodeURIComponent(l),u=decodeURIComponent(t),g(c,s)?f(c[s])?c[s].push(u):c[s]=[c[s],u]:c[s]=u}return c};var f=Array.isArray||function(y){return Object.prototype.toString.call(y)==="[object Array]"}},{}],211:[function(D,_,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""}};_.exports=function(v,h,c,a){return h=h||"&",c=c||"=",v===null&&(v=void 0),typeof v=="object"?y(m(v),function(i){var r=encodeURIComponent(g(i))+c;return f(v[i])?y(v[i],function(o){return r+encodeURIComponent(g(o))}).join(h):r+encodeURIComponent(g(v[i]))}).join(h):a?encodeURIComponent(g(a))+c+encodeURIComponent(g(v)):""};var f=Array.isArray||function(v){return Object.prototype.toString.call(v)==="[object Array]"};function y(v,h){if(v.map)return v.map(h);for(var c=[],a=0;a<v.length;a++)c.push(h(v[a],a));return c}var m=Object.keys||function(v){var h=[];for(var c in v)Object.prototype.hasOwnProperty.call(v,c)&&h.push(c);return h}},{}],212:[function(D,_,e){"use strict";e.decode=e.parse=D("./decode"),e.encode=e.stringify=D("./encode")},{"./decode":210,"./encode":211}],213:[function(D,_,e){_.exports=D("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":214}],214:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=v(g),y=D("babel-runtime/core-js/object/keys"),m=v(y);function v(u){return u&&u.__esModule?u:{default:u}}var h=D("process-nextick-args"),c=m.default||function(u){var p=[];for(var w in u)p.push(w);return p};_.exports=l;var a=(0,f.default)(D("core-util-is"));a.inherits=D("inherits");var i=D("./_stream_readable"),r=D("./_stream_writable");a.inherits(l,i);for(var o=c(r.prototype),d=0;d<o.length;d++){var n=o[d];l.prototype[n]||(l.prototype[n]=r.prototype[n])}function l(u){if(!(this instanceof l))return new l(u);i.call(this,u),r.call(this,u),u&&u.readable===!1&&(this.readable=!1),u&&u.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,u&&u.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(u){u.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(u,p){this.push(null),this.end(),h.nextTick(p,u)}},{"./_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(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(c){return c&&c.__esModule?c:{default:c}}_.exports=h;var m=D("./_stream_transform"),v=(0,f.default)(D("core-util-is"));v.inherits=D("inherits"),v.inherits(h,m);function h(c){if(!(this instanceof h))return new h(c);m.call(this,c)}h.prototype._transform=function(c,a,i){i(null,c)}},{"./_stream_transform":217,"babel-runtime/core-js/object/create":55,"core-util-is":189,inherits:196}],216:[function(D,_,e){(function(g,f){"use strict";var y=D("babel-runtime/core-js/object/get-prototype-of"),m=c(y),v=D("babel-runtime/core-js/object/create"),h=c(v);function c(_e){return _e&&_e.__esModule?_e:{default:_e}}var a=D("process-nextick-args");_.exports=C;var i=D("isarray"),r;C.ReadableState=x;var o=D("events").EventEmitter,d=function(Ce,lt){return Ce.listeners(lt).length},n=D("./internal/streams/stream"),l=D("safe-buffer").Buffer,t=f.Uint8Array||function(){};function s(_e){return l.from(_e)}function u(_e){return l.isBuffer(_e)||_e instanceof t}var p=(0,h.default)(D("core-util-is"));p.inherits=D("inherits");var w=D("util"),b=void 0;w&&w.debuglog?b=w.debuglog("stream"):b=function(){};var E=D("./internal/streams/BufferList"),A=D("./internal/streams/destroy"),S;p.inherits(C,n);var T=["error","close","destroy","pause","resume"];function L(_e,Ce,lt){if(typeof _e.prependListener=="function")return _e.prependListener(Ce,lt);!_e._events||!_e._events[Ce]?_e.on(Ce,lt):i(_e._events[Ce])?_e._events[Ce].unshift(lt):_e._events[Ce]=[lt,_e._events[Ce]]}function x(_e,Ce){r=r||D("./_stream_duplex"),_e=_e||{};var lt=Ce instanceof r;this.objectMode=!!_e.objectMode,lt&&(this.objectMode=this.objectMode||!!_e.readableObjectMode);var ce=_e.highWaterMark,Y=_e.readableHighWaterMark,V=this.objectMode?16:16*1024;ce||ce===0?this.highWaterMark=ce:lt&&(Y||Y===0)?this.highWaterMark=Y:this.highWaterMark=V,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new E,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=_e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,_e.encoding&&(S||(S=D("string_decoder/").StringDecoder),this.decoder=new S(_e.encoding),this.encoding=_e.encoding)}function C(_e){if(r=r||D("./_stream_duplex"),!(this instanceof C))return new C(_e);this._readableState=new x(_e,this),this.readable=!0,_e&&(typeof _e.read=="function"&&(this._read=_e.read),typeof _e.destroy=="function"&&(this._destroy=_e.destroy)),n.call(this)}Object.defineProperty(C.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Ce){if(!this._readableState)return;this._readableState.destroyed=Ce}}),C.prototype.destroy=A.destroy,C.prototype._undestroy=A.undestroy,C.prototype._destroy=function(_e,Ce){this.push(null),Ce(_e)},C.prototype.push=function(_e,Ce){var lt=this._readableState,ce;return lt.objectMode?ce=!0:typeof _e=="string"&&(Ce=Ce||lt.defaultEncoding,Ce!==lt.encoding&&(_e=l.from(_e,Ce),Ce=""),ce=!0),I(this,_e,Ce,!1,ce)},C.prototype.unshift=function(_e){return I(this,_e,null,!0,!1)};function I(_e,Ce,lt,ce,Y){var V=_e._readableState;if(Ce===null)V.reading=!1,R(_e,V);else{var $;Y||($=F(V,Ce)),$?_e.emit("error",$):V.objectMode||Ce&&Ce.length>0?(typeof Ce!="string"&&!V.objectMode&&(0,m.default)(Ce)!==l.prototype&&(Ce=s(Ce)),ce?V.endEmitted?_e.emit("error",new Error("stream.unshift() after end event")):N(_e,V,Ce,!0):V.ended?_e.emit("error",new Error("stream.push() after EOF")):(V.reading=!1,V.decoder&&!lt?(Ce=V.decoder.write(Ce),V.objectMode||Ce.length!==0?N(_e,V,Ce,!1):H(_e,V)):N(_e,V,Ce,!1))):ce||(V.reading=!1)}return k(V)}function N(_e,Ce,lt,ce){Ce.flowing&&Ce.length===0&&!Ce.sync?(_e.emit("data",lt),_e.read(0)):(Ce.length+=Ce.objectMode?1:lt.length,ce?Ce.buffer.unshift(lt):Ce.buffer.push(lt),Ce.needReadable&&U(_e)),H(_e,Ce)}function F(_e,Ce){var lt;return!u(Ce)&&typeof Ce!="string"&&Ce!==void 0&&!_e.objectMode&&(lt=new TypeError("Invalid non-string/buffer chunk")),lt}function k(_e){return!_e.ended&&(_e.needReadable||_e.length<_e.highWaterMark||_e.length===0)}C.prototype.isPaused=function(){return this._readableState.flowing===!1},C.prototype.setEncoding=function(_e){return S||(S=D("string_decoder/").StringDecoder),this._readableState.decoder=new S(_e),this._readableState.encoding=_e,this};var B=8388608;function P(_e){return _e>=B?_e=B:(_e--,_e|=_e>>>1,_e|=_e>>>2,_e|=_e>>>4,_e|=_e>>>8,_e|=_e>>>16,_e++),_e}function K(_e,Ce){return _e<=0||Ce.length===0&&Ce.ended?0:Ce.objectMode?1:_e!==_e?Ce.flowing&&Ce.length?Ce.buffer.head.data.length:Ce.length:(_e>Ce.highWaterMark&&(Ce.highWaterMark=P(_e)),_e<=Ce.length?_e:Ce.ended?Ce.length:(Ce.needReadable=!0,0))}C.prototype.read=function(_e){b("read",_e),_e=parseInt(_e,10);var Ce=this._readableState,lt=_e;if(_e!==0&&(Ce.emittedReadable=!1),_e===0&&Ce.needReadable&&(Ce.length>=Ce.highWaterMark||Ce.ended))return b("read: emitReadable",Ce.length,Ce.ended),Ce.length===0&&Ce.ended?Pe(this):U(this),null;if(_e=K(_e,Ce),_e===0&&Ce.ended)return Ce.length===0&&Pe(this),null;var ce=Ce.needReadable;b("need readable",ce),(Ce.length===0||Ce.length-_e<Ce.highWaterMark)&&(ce=!0,b("length less than watermark",ce)),Ce.ended||Ce.reading?(ce=!1,b("reading or ended",ce)):ce&&(b("do read"),Ce.reading=!0,Ce.sync=!0,Ce.length===0&&(Ce.needReadable=!0),this._read(Ce.highWaterMark),Ce.sync=!1,Ce.reading||(_e=K(lt,Ce)));var Y;return _e>0?Y=Q(_e,Ce):Y=null,Y===null?(Ce.needReadable=!0,_e=0):Ce.length-=_e,Ce.length===0&&(Ce.ended||(Ce.needReadable=!0),lt!==_e&&Ce.ended&&Pe(this)),Y!==null&&this.emit("data",Y),Y};function R(_e,Ce){if(Ce.ended)return;if(Ce.decoder){var lt=Ce.decoder.end();lt&&lt.length&&(Ce.buffer.push(lt),Ce.length+=Ce.objectMode?1:lt.length)}Ce.ended=!0,U(_e)}function U(_e){var Ce=_e._readableState;Ce.needReadable=!1,Ce.emittedReadable||(b("emitReadable",Ce.flowing),Ce.emittedReadable=!0,Ce.sync?a.nextTick(j,_e):j(_e))}function j(_e){b("emit readable"),_e.emit("readable"),ge(_e)}function H(_e,Ce){Ce.readingMore||(Ce.readingMore=!0,a.nextTick(W,_e,Ce))}function W(_e,Ce){for(var lt=Ce.length;!Ce.reading&&!Ce.flowing&&!Ce.ended&&Ce.length<Ce.highWaterMark&&!(b("maybeReadMore read 0"),_e.read(0),lt===Ce.length);)lt=Ce.length;Ce.readingMore=!1}C.prototype._read=function(_e){this.emit("error",new Error("_read() is not implemented"))},C.prototype.pipe=function(_e,Ce){var lt=this,ce=this._readableState;switch(ce.pipesCount){case 0:ce.pipes=_e;break;case 1:ce.pipes=[ce.pipes,_e];break;default:ce.pipes.push(_e);break}ce.pipesCount+=1,b("pipe count=%d opts=%j",ce.pipesCount,Ce);var Y=(!Ce||Ce.end!==!1)&&_e!==g.stdout&&_e!==g.stderr,V=Y?Te:Ct;ce.endEmitted?a.nextTick(V):lt.once("end",V),_e.on("unpipe",$);function $(Ue,Rt){b("onunpipe"),Ue===lt&&(Rt&&Rt.hasUnpiped===!1&&(Rt.hasUnpiped=!0,Oe()))}function Te(){b("onend"),_e.end()}var ye=X(lt);_e.on("drain",ye);var Fe=!1;function Oe(){b("cleanup"),_e.removeListener("close",Je),_e.removeListener("finish",mt),_e.removeListener("drain",ye),_e.removeListener("error",Le),_e.removeListener("unpipe",$),lt.removeListener("end",Te),lt.removeListener("end",Ct),lt.removeListener("data",fe),Fe=!0,ce.awaitDrain&&(!_e._writableState||_e._writableState.needDrain)&&ye()}var se=!1;lt.on("data",fe);function fe(Ue){b("ondata"),se=!1;var Rt=_e.write(Ue);Rt===!1&&!se&&((ce.pipesCount===1&&ce.pipes===_e||ce.pipesCount>1&&gt(ce.pipes,_e)!==-1)&&!Fe&&(b("false write response, pause",lt._readableState.awaitDrain),lt._readableState.awaitDrain++,se=!0),lt.pause())}function Le(Ue){b("onerror",Ue),Ct(),_e.removeListener("error",Le),d(_e,"error")===0&&_e.emit("error",Ue)}L(_e,"error",Le);function Je(){_e.removeListener("finish",mt),Ct()}_e.once("close",Je);function mt(){b("onfinish"),_e.removeListener("close",Je),Ct()}_e.once("finish",mt);function Ct(){b("unpipe"),lt.unpipe(_e)}return _e.emit("pipe",lt),ce.flowing||(b("pipe resume"),lt.resume()),_e};function X(_e){return function(){var Ce=_e._readableState;b("pipeOnDrain",Ce.awaitDrain),Ce.awaitDrain&&Ce.awaitDrain--,Ce.awaitDrain===0&&d(_e,"data")&&(Ce.flowing=!0,ge(_e))}}C.prototype.unpipe=function(_e){var Ce=this._readableState,lt={hasUnpiped:!1};if(Ce.pipesCount===0)return this;if(Ce.pipesCount===1)return _e&&_e!==Ce.pipes?this:(_e||(_e=Ce.pipes),Ce.pipes=null,Ce.pipesCount=0,Ce.flowing=!1,_e&&_e.emit("unpipe",this,lt),this);if(!_e){var ce=Ce.pipes,Y=Ce.pipesCount;Ce.pipes=null,Ce.pipesCount=0,Ce.flowing=!1;for(var V=0;V<Y;V++)ce[V].emit("unpipe",this,lt);return this}var $=gt(Ce.pipes,_e);return $===-1?this:(Ce.pipes.splice($,1),Ce.pipesCount-=1,Ce.pipesCount===1&&(Ce.pipes=Ce.pipes[0]),_e.emit("unpipe",this,lt),this)},C.prototype.on=function(_e,Ce){var lt=n.prototype.on.call(this,_e,Ce);if(_e==="data")this._readableState.flowing!==!1&&this.resume();else if(_e==="readable"){var ce=this._readableState;!ce.endEmitted&&!ce.readableListening&&(ce.readableListening=ce.needReadable=!0,ce.emittedReadable=!1,ce.reading?ce.length&&U(this):a.nextTick(z,this))}return lt},C.prototype.addListener=C.prototype.on;function z(_e){b("readable nexttick read 0"),_e.read(0)}C.prototype.resume=function(){var _e=this._readableState;return _e.flowing||(b("resume"),_e.flowing=!0,G(this,_e)),this};function G(_e,Ce){Ce.resumeScheduled||(Ce.resumeScheduled=!0,a.nextTick(Z,_e,Ce))}function Z(_e,Ce){Ce.reading||(b("resume read 0"),_e.read(0)),Ce.resumeScheduled=!1,Ce.awaitDrain=0,_e.emit("resume"),ge(_e),Ce.flowing&&!Ce.reading&&_e.read(0)}C.prototype.pause=function(){return b("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(b("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function ge(_e){var Ce=_e._readableState;for(b("flow",Ce.flowing);Ce.flowing&&_e.read()!==null;);}C.prototype.wrap=function(_e){var Ce=this,lt=this._readableState,ce=!1;_e.on("end",function(){if(b("wrapped end"),lt.decoder&&!lt.ended){var $=lt.decoder.end();$&&$.length&&Ce.push($)}Ce.push(null)}),_e.on("data",function($){if(b("wrapped data"),lt.decoder&&($=lt.decoder.write($)),lt.objectMode&&$==null)return;if(!lt.objectMode&&(!$||!$.length))return;var Te=Ce.push($);Te||(ce=!0,_e.pause())});for(var Y in _e)this[Y]===void 0&&typeof _e[Y]=="function"&&(this[Y]=function($){return function(){return _e[$].apply(_e,arguments)}}(Y));for(var V=0;V<T.length;V++)_e.on(T[V],this.emit.bind(this,T[V]));return this._read=function($){b("wrapped _read",$),ce&&(ce=!1,_e.resume())},this},Object.defineProperty(C.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),C._fromList=Q;function Q(_e,Ce){if(Ce.length===0)return null;var lt;return Ce.objectMode?lt=Ce.buffer.shift():!_e||_e>=Ce.length?(Ce.decoder?lt=Ce.buffer.join(""):Ce.buffer.length===1?lt=Ce.buffer.head.data:lt=Ce.buffer.concat(Ce.length),Ce.buffer.clear()):lt=we(_e,Ce.buffer,Ce.decoder),lt}function we(_e,Ce,lt){var ce;return _e<Ce.head.data.length?(ce=Ce.head.data.slice(0,_e),Ce.head.data=Ce.head.data.slice(_e)):_e===Ce.head.data.length?ce=Ce.shift():ce=lt?Ee(_e,Ce):Ae(_e,Ce),ce}function Ee(_e,Ce){var lt=Ce.head,ce=1,Y=lt.data;for(_e-=Y.length;lt=lt.next;){var V=lt.data,$=_e>V.length?V.length:_e;if($===V.length?Y+=V:Y+=V.slice(0,_e),_e-=$,_e===0){$===V.length?(++ce,lt.next?Ce.head=lt.next:Ce.head=Ce.tail=null):(Ce.head=lt,lt.data=V.slice($));break}++ce}return Ce.length-=ce,Y}function Ae(_e,Ce){var lt=l.allocUnsafe(_e),ce=Ce.head,Y=1;for(ce.data.copy(lt),_e-=ce.data.length;ce=ce.next;){var V=ce.data,$=_e>V.length?V.length:_e;if(V.copy(lt,lt.length-_e,0,$),_e-=$,_e===0){$===V.length?(++Y,ce.next?Ce.head=ce.next:Ce.head=Ce.tail=null):(Ce.head=ce,ce.data=V.slice($));break}++Y}return Ce.length-=Y,lt}function Pe(_e){var Ce=_e._readableState;if(Ce.length>0)throw new Error('"endReadable()" called on non-empty stream');Ce.endEmitted||(Ce.ended=!0,a.nextTick(Ge,Ce,_e))}function Ge(_e,Ce){!_e.endEmitted&&_e.length===0&&(_e.endEmitted=!0,Ce.readable=!1,Ce.emit("end"))}function gt(_e,Ce){for(var lt=0,ce=_e.length;lt<ce;lt++)if(_e[lt]===Ce)return lt;return-1}}).call(this,D("_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(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(r){return r&&r.__esModule?r:{default:r}}_.exports=c;var m=D("./_stream_duplex"),v=(0,f.default)(D("core-util-is"));v.inherits=D("inherits"),v.inherits(c,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 c(r){if(!(this instanceof c))return new c(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",a)}function a(){var r=this;typeof this._flush=="function"?this._flush(function(o,d){i(r,o,d)}):i(this,null,null)}c.prototype.push=function(r,o){return this._transformState.needTransform=!1,m.prototype.push.call(this,r,o)},c.prototype._transform=function(r,o,d){throw new Error("_transform() is not implemented")},c.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)}},c.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},c.prototype._destroy=function(r,o){var d=this;m.prototype._destroy.call(this,r,function(n){o(n),d.emit("close")})};function i(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(D,_,e){(function(g,f){"use strict";var y=D("babel-runtime/core-js/object/define-property"),m=n(y),v=D("babel-runtime/core-js/symbol/has-instance"),h=n(v),c=D("babel-runtime/core-js/symbol"),a=n(c),i=D("babel-runtime/core-js/object/create"),r=n(i),o=D("babel-runtime/core-js/set-immediate"),d=n(o);function n(Ae){return Ae&&Ae.__esModule?Ae:{default:Ae}}var l=D("process-nextick-args");_.exports=F;function t(Ae,Pe,Ge){this.chunk=Ae,this.encoding=Pe,this.callback=Ge,this.next=null}function s(Ae){var Pe=this;this.next=null,this.entry=null,this.finish=function(){Ee(Pe,Ae)}}var u=!g.browser&&["v0.10","v0.9."].indexOf(g.version.slice(0,5))>-1?d.default:l.nextTick,p;F.WritableState=I;var w=(0,r.default)(D("core-util-is"));w.inherits=D("inherits");var b={deprecate:D("util-deprecate")},E=D("./internal/streams/stream"),A=D("safe-buffer").Buffer,S=f.Uint8Array||function(){};function T(Ae){return A.from(Ae)}function L(Ae){return A.isBuffer(Ae)||Ae instanceof S}var x=D("./internal/streams/destroy");w.inherits(F,E);function C(){}function I(Ae,Pe){p=p||D("./_stream_duplex"),Ae=Ae||{};var Ge=Pe instanceof p;this.objectMode=!!Ae.objectMode,Ge&&(this.objectMode=this.objectMode||!!Ae.writableObjectMode);var gt=Ae.highWaterMark,_e=Ae.writableHighWaterMark,Ce=this.objectMode?16:16*1024;gt||gt===0?this.highWaterMark=gt:Ge&&(_e||_e===0)?this.highWaterMark=_e:this.highWaterMark=Ce,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 lt=Ae.decodeStrings===!1;this.decodeStrings=!lt,this.defaultEncoding=Ae.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ce){H(Pe,ce)},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)}I.prototype.getBuffer=function(){for(var Pe=this.bufferedRequest,Ge=[];Pe;)Ge.push(Pe),Pe=Pe.next;return Ge},function(){try{Object.defineProperty(I.prototype,"buffer",{get:b.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Ae){}}();var N;typeof a.default=="function"&&h.default&&typeof Function.prototype[h.default]=="function"?(N=Function.prototype[h.default],(0,m.default)(F,h.default,{value:function(Pe){return N.call(this,Pe)?!0:this!==F?!1:Pe&&Pe._writableState instanceof I}})):N=function(Pe){return Pe instanceof this};function F(Ae){if(p=p||D("./_stream_duplex"),!N.call(F,this)&&!(this instanceof p))return new F(Ae);this._writableState=new I(Ae,this),this.writable=!0,Ae&&(typeof Ae.write=="function"&&(this._write=Ae.write),typeof Ae.writev=="function"&&(this._writev=Ae.writev),typeof Ae.destroy=="function"&&(this._destroy=Ae.destroy),typeof Ae.final=="function"&&(this._final=Ae.final)),E.call(this)}F.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function k(Ae,Pe){var Ge=new Error("write after end");Ae.emit("error",Ge),l.nextTick(Pe,Ge)}function B(Ae,Pe,Ge,gt){var _e=!0,Ce=!1;return Ge===null?Ce=new TypeError("May not write null values to stream"):typeof Ge!="string"&&Ge!==void 0&&!Pe.objectMode&&(Ce=new TypeError("Invalid non-string/buffer chunk")),Ce&&(Ae.emit("error",Ce),l.nextTick(gt,Ce),_e=!1),_e}F.prototype.write=function(Ae,Pe,Ge){var gt=this._writableState,_e=!1,Ce=!gt.objectMode&&L(Ae);return Ce&&!A.isBuffer(Ae)&&(Ae=T(Ae)),typeof Pe=="function"&&(Ge=Pe,Pe=null),Ce?Pe="buffer":Pe||(Pe=gt.defaultEncoding),typeof Ge!="function"&&(Ge=C),gt.ended?k(this,Ge):(Ce||B(this,gt,Ae,Ge))&&(gt.pendingcb++,_e=K(this,gt,Ce,Ae,Pe,Ge)),_e},F.prototype.cork=function(){var Ae=this._writableState;Ae.corked++},F.prototype.uncork=function(){var Ae=this._writableState;Ae.corked&&(Ae.corked--,!Ae.writing&&!Ae.corked&&!Ae.finished&&!Ae.bufferProcessing&&Ae.bufferedRequest&&z(this,Ae))},F.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 P(Ae,Pe,Ge){return!Ae.objectMode&&Ae.decodeStrings!==!1&&typeof Pe=="string"&&(Pe=A.from(Pe,Ge)),Pe}Object.defineProperty(F.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function K(Ae,Pe,Ge,gt,_e,Ce){if(!Ge){var lt=P(Pe,gt,_e);gt!==lt&&(Ge=!0,_e="buffer",gt=lt)}var ce=Pe.objectMode?1:gt.length;Pe.length+=ce;var Y=Pe.length<Pe.highWaterMark;if(Y||(Pe.needDrain=!0),Pe.writing||Pe.corked){var V=Pe.lastBufferedRequest;Pe.lastBufferedRequest={chunk:gt,encoding:_e,isBuf:Ge,callback:Ce,next:null},V?V.next=Pe.lastBufferedRequest:Pe.bufferedRequest=Pe.lastBufferedRequest,Pe.bufferedRequestCount+=1}else R(Ae,Pe,!1,ce,gt,_e,Ce);return Y}function R(Ae,Pe,Ge,gt,_e,Ce,lt){Pe.writelen=gt,Pe.writecb=lt,Pe.writing=!0,Pe.sync=!0,Ge?Ae._writev(_e,Pe.onwrite):Ae._write(_e,Ce,Pe.onwrite),Pe.sync=!1}function U(Ae,Pe,Ge,gt,_e){--Pe.pendingcb,Ge?(l.nextTick(_e,gt),l.nextTick(Q,Ae,Pe),Ae._writableState.errorEmitted=!0,Ae.emit("error",gt)):(_e(gt),Ae._writableState.errorEmitted=!0,Ae.emit("error",gt),Q(Ae,Pe))}function j(Ae){Ae.writing=!1,Ae.writecb=null,Ae.length-=Ae.writelen,Ae.writelen=0}function H(Ae,Pe){var Ge=Ae._writableState,gt=Ge.sync,_e=Ge.writecb;if(j(Ge),Pe)U(Ae,Ge,gt,Pe,_e);else{var Ce=G(Ge);!Ce&&!Ge.corked&&!Ge.bufferProcessing&&Ge.bufferedRequest&&z(Ae,Ge),gt?u(W,Ae,Ge,Ce,_e):W(Ae,Ge,Ce,_e)}}function W(Ae,Pe,Ge,gt){Ge||X(Ae,Pe),Pe.pendingcb--,gt(),Q(Ae,Pe)}function X(Ae,Pe){Pe.length===0&&Pe.needDrain&&(Pe.needDrain=!1,Ae.emit("drain"))}function z(Ae,Pe){Pe.bufferProcessing=!0;var Ge=Pe.bufferedRequest;if(Ae._writev&&Ge&&Ge.next){var gt=Pe.bufferedRequestCount,_e=new Array(gt),Ce=Pe.corkedRequestsFree;Ce.entry=Ge;for(var lt=0,ce=!0;Ge;)_e[lt]=Ge,Ge.isBuf||(ce=!1),Ge=Ge.next,lt+=1;_e.allBuffers=ce,R(Ae,Pe,!0,Pe.length,_e,"",Ce.finish),Pe.pendingcb++,Pe.lastBufferedRequest=null,Ce.next?(Pe.corkedRequestsFree=Ce.next,Ce.next=null):Pe.corkedRequestsFree=new s(Pe),Pe.bufferedRequestCount=0}else{for(;Ge;){var Y=Ge.chunk,V=Ge.encoding,$=Ge.callback,Te=Pe.objectMode?1:Y.length;if(R(Ae,Pe,!1,Te,Y,V,$),Ge=Ge.next,Pe.bufferedRequestCount--,Pe.writing)break}Ge===null&&(Pe.lastBufferedRequest=null)}Pe.bufferedRequest=Ge,Pe.bufferProcessing=!1}F.prototype._write=function(Ae,Pe,Ge){Ge(new Error("_write() is not implemented"))},F.prototype._writev=null,F.prototype.end=function(Ae,Pe,Ge){var gt=this._writableState;typeof Ae=="function"?(Ge=Ae,Ae=null,Pe=null):typeof Pe=="function"&&(Ge=Pe,Pe=null),Ae!=null&&this.write(Ae,Pe),gt.corked&&(gt.corked=1,this.uncork()),!gt.ending&&!gt.finished&&we(this,gt,Ge)};function G(Ae){return Ae.ending&&Ae.length===0&&Ae.bufferedRequest===null&&!Ae.finished&&!Ae.writing}function Z(Ae,Pe){Ae._final(function(Ge){Pe.pendingcb--,Ge&&Ae.emit("error",Ge),Pe.prefinished=!0,Ae.emit("prefinish"),Q(Ae,Pe)})}function ge(Ae,Pe){!Pe.prefinished&&!Pe.finalCalled&&(typeof Ae._final=="function"?(Pe.pendingcb++,Pe.finalCalled=!0,l.nextTick(Z,Ae,Pe)):(Pe.prefinished=!0,Ae.emit("prefinish")))}function Q(Ae,Pe){var Ge=G(Pe);return Ge&&(ge(Ae,Pe),Pe.pendingcb===0&&(Pe.finished=!0,Ae.emit("finish"))),Ge}function we(Ae,Pe,Ge){Pe.ending=!0,Q(Ae,Pe),Ge&&(Pe.finished?l.nextTick(Ge):Ae.once("finish",Ge)),Pe.ended=!0,Ae.writable=!1}function Ee(Ae,Pe,Ge){var gt=Ae.entry;for(Ae.entry=null;gt;){var _e=gt.callback;Pe.pendingcb--,_e(Ge),gt=gt.next}Pe.corkedRequestsFree?Pe.corkedRequestsFree.next=Ae:Pe.corkedRequestsFree=Ae}Object.defineProperty(F.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Pe){if(!this._writableState)return;this._writableState.destroyed=Pe}}),F.prototype.destroy=x.destroy,F.prototype._undestroy=x.undestroy,F.prototype._destroy=function(Ae,Pe){this.end(),Pe(Ae)}}).call(this,D("_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(D,_,e){"use strict";function g(v,h){if(!(v instanceof h))throw new TypeError("Cannot call a class as a function")}var f=D("safe-buffer").Buffer,y=D("util");function m(v,h,c){v.copy(h,c)}_.exports=function(){function v(){g(this,v),this.head=null,this.tail=null,this.length=0}return v.prototype.push=function(c){var a={data:c,next:null};this.length>0?this.tail.next=a:this.head=a,this.tail=a,++this.length},v.prototype.unshift=function(c){var a={data:c,next:this.head};this.length===0&&(this.tail=a),this.head=a,++this.length},v.prototype.shift=function(){if(this.length===0)return;var c=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,c},v.prototype.clear=function(){this.head=this.tail=null,this.length=0},v.prototype.join=function(c){if(this.length===0)return"";for(var a=this.head,i=""+a.data;a=a.next;)i+=c+a.data;return i},v.prototype.concat=function(c){if(this.length===0)return f.alloc(0);if(this.length===1)return this.head.data;for(var a=f.allocUnsafe(c>>>0),i=this.head,r=0;i;)m(i.data,a,r),r+=i.data.length,i=i.next;return a},v}(),y&&y.inspect&&y.inspect.custom&&(_.exports.prototype[y.inspect.custom]=function(){var v=y.inspect({length:this.length});return this.constructor.name+" "+v})},{"safe-buffer":228,util:71}],220:[function(D,_,e){"use strict";var g=D("process-nextick-args");function f(v,h){var c=this,a=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return a||i?(h?h(v):v&&(!this._writableState||!this._writableState.errorEmitted)&&g.nextTick(m,this,v),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(v||null,function(r){!h&&r?(g.nextTick(m,c,r),c._writableState&&(c._writableState.errorEmitted=!0)):h&&h(r)}),this)}function y(){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(v,h){v.emit("error",h)}_.exports={destroy:f,undestroy:y}},{"process-nextick-args":207}],221:[function(D,_,e){"use strict";_.exports=D("events").EventEmitter},{events:192}],222:[function(D,_,e){_.exports=D("./readable").PassThrough},{"./readable":223}],223:[function(D,_,e){e=_.exports=D("./lib/_stream_readable.js"),e.Stream=e,e.Readable=e,e.Writable=D("./lib/_stream_writable.js"),e.Duplex=D("./lib/_stream_duplex.js"),e.Transform=D("./lib/_stream_transform.js"),e.PassThrough=D("./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(D,_,e){_.exports=D("./readable").Transform},{"./readable":223}],225:[function(D,_,e){_.exports=D("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":218}],226:[function(D,_,e){var g=function(){return this}()||Function("return this")(),f=g.regeneratorRuntime&&Object.getOwnPropertyNames(g).indexOf("regeneratorRuntime")>=0,y=f&&g.regeneratorRuntime;if(g.regeneratorRuntime=void 0,_.exports=D("./runtime"),f)g.regeneratorRuntime=y;else try{delete g.regeneratorRuntime}catch(m){g.regeneratorRuntime=void 0}},{"./runtime":227}],227:[function(D,_,e){!function(g){"use strict";var f=Object.prototype,y=f.hasOwnProperty,m,v=typeof Symbol=="function"?Symbol:{},h=v.iterator||"@@iterator",c=v.asyncIterator||"@@asyncIterator",a=v.toStringTag||"@@toStringTag",i=typeof _=="object",r=g.regeneratorRuntime;if(r){i&&(_.exports=r);return}r=g.regeneratorRuntime=i?_.exports:{};function o(K,R,U,j){var H=R&&R.prototype instanceof p?R:p,W=Object.create(H.prototype),X=new k(j||[]);return W._invoke=C(K,U,X),W}r.wrap=o;function d(K,R,U){try{return{type:"normal",arg:K.call(R,U)}}catch(j){return{type:"throw",arg:j}}}var n="suspendedStart",l="suspendedYield",t="executing",s="completed",u={};function p(){}function w(){}function b(){}var E={};E[h]=function(){return this};var A=Object.getPrototypeOf,S=A&&A(A(B([])));S&&S!==f&&y.call(S,h)&&(E=S);var T=b.prototype=p.prototype=Object.create(E);w.prototype=T.constructor=b,b.constructor=w,b[a]=w.displayName="GeneratorFunction";function L(K){["next","throw","return"].forEach(function(R){K[R]=function(U){return this._invoke(R,U)}})}r.isGeneratorFunction=function(K){var R=typeof K=="function"&&K.constructor;return R?R===w||(R.displayName||R.name)==="GeneratorFunction":!1},r.mark=function(K){return Object.setPrototypeOf?Object.setPrototypeOf(K,b):(K.__proto__=b,a in K||(K[a]="GeneratorFunction")),K.prototype=Object.create(T),K},r.awrap=function(K){return{__await:K}};function x(K){function R(H,W,X,z){var G=d(K[H],K,W);if(G.type==="throw")z(G.arg);else{var Z=G.arg,ge=Z.value;return ge&&typeof ge=="object"&&y.call(ge,"__await")?Promise.resolve(ge.__await).then(function(Q){R("next",Q,X,z)},function(Q){R("throw",Q,X,z)}):Promise.resolve(ge).then(function(Q){Z.value=Q,X(Z)},z)}}var U;function j(H,W){function X(){return new Promise(function(z,G){R(H,W,z,G)})}return U=U?U.then(X,X):X()}this._invoke=j}L(x.prototype),x.prototype[c]=function(){return this},r.AsyncIterator=x,r.async=function(K,R,U,j){var H=new x(o(K,R,U,j));return r.isGeneratorFunction(R)?H:H.next().then(function(W){return W.done?W.value:H.next()})};function C(K,R,U){var j=n;return function(W,X){if(j===t)throw new Error("Generator is already running");if(j===s){if(W==="throw")throw X;return P()}for(U.method=W,U.arg=X;;){var z=U.delegate;if(z){var G=I(z,U);if(G){if(G===u)continue;return G}}if(U.method==="next")U.sent=U._sent=U.arg;else if(U.method==="throw"){if(j===n)throw j=s,U.arg;U.dispatchException(U.arg)}else U.method==="return"&&U.abrupt("return",U.arg);j=t;var Z=d(K,R,U);if(Z.type==="normal"){if(j=U.done?s:l,Z.arg===u)continue;return{value:Z.arg,done:U.done}}else Z.type==="throw"&&(j=s,U.method="throw",U.arg=Z.arg)}}}function I(K,R){var U=K.iterator[R.method];if(U===m){if(R.delegate=null,R.method==="throw"){if(K.iterator.return&&(R.method="return",R.arg=m,I(K,R),R.method==="throw"))return u;R.method="throw",R.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var j=d(U,K.iterator,R.arg);if(j.type==="throw")return R.method="throw",R.arg=j.arg,R.delegate=null,u;var H=j.arg;if(!H)return R.method="throw",R.arg=new TypeError("iterator result is not an object"),R.delegate=null,u;if(H.done)R[K.resultName]=H.value,R.next=K.nextLoc,R.method!=="return"&&(R.method="next",R.arg=m);else return H;return R.delegate=null,u}L(T),T[a]="Generator",T[h]=function(){return this},T.toString=function(){return"[object Generator]"};function N(K){var R={tryLoc:K[0]};1 in K&&(R.catchLoc=K[1]),2 in K&&(R.finallyLoc=K[2],R.afterLoc=K[3]),this.tryEntries.push(R)}function F(K){var R=K.completion||{};R.type="normal",delete R.arg,K.completion=R}function k(K){this.tryEntries=[{tryLoc:"root"}],K.forEach(N,this),this.reset(!0)}r.keys=function(K){var R=[];for(var U in K)R.push(U);return R.reverse(),function j(){for(;R.length;){var H=R.pop();if(H in K)return j.value=H,j.done=!1,j}return j.done=!0,j}};function B(K){if(K){var R=K[h];if(R)return R.call(K);if(typeof K.next=="function")return K;if(!isNaN(K.length)){var U=-1,j=function H(){for(;++U<K.length;)if(y.call(K,U))return H.value=K[U],H.done=!1,H;return H.value=m,H.done=!0,H};return j.next=j}}return{next:P}}r.values=B;function P(){return{value:m,done:!0}}k.prototype={constructor:k,reset:function(R){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(F),!R)for(var U in this)U.charAt(0)==="t"&&y.call(this,U)&&!isNaN(+U.slice(1))&&(this[U]=m)},stop:function(){this.done=!0;var R=this.tryEntries[0],U=R.completion;if(U.type==="throw")throw U.arg;return this.rval},dispatchException:function(R){if(this.done)throw R;var U=this;function j(Z,ge){return X.type="throw",X.arg=R,U.next=Z,ge&&(U.method="next",U.arg=m),!!ge}for(var H=this.tryEntries.length-1;H>=0;--H){var W=this.tryEntries[H],X=W.completion;if(W.tryLoc==="root")return j("end");if(W.tryLoc<=this.prev){var z=y.call(W,"catchLoc"),G=y.call(W,"finallyLoc");if(z&&G){if(this.prev<W.catchLoc)return j(W.catchLoc,!0);if(this.prev<W.finallyLoc)return j(W.finallyLoc)}else if(z){if(this.prev<W.catchLoc)return j(W.catchLoc,!0)}else if(G){if(this.prev<W.finallyLoc)return j(W.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(R,U){for(var j=this.tryEntries.length-1;j>=0;--j){var H=this.tryEntries[j];if(H.tryLoc<=this.prev&&y.call(H,"finallyLoc")&&this.prev<H.finallyLoc){var W=H;break}}W&&(R==="break"||R==="continue")&&W.tryLoc<=U&&U<=W.finallyLoc&&(W=null);var X=W?W.completion:{};return X.type=R,X.arg=U,W?(this.method="next",this.next=W.finallyLoc,u):this.complete(X)},complete:function(R,U){if(R.type==="throw")throw R.arg;return R.type==="break"||R.type==="continue"?this.next=R.arg:R.type==="return"?(this.rval=this.arg=R.arg,this.method="return",this.next="end"):R.type==="normal"&&U&&(this.next=U),u},finish:function(R){for(var U=this.tryEntries.length-1;U>=0;--U){var j=this.tryEntries[U];if(j.finallyLoc===R)return this.complete(j.completion,j.afterLoc),F(j),u}},catch:function(R){for(var U=this.tryEntries.length-1;U>=0;--U){var j=this.tryEntries[U];if(j.tryLoc===R){var H=j.completion;if(H.type==="throw"){var W=H.arg;F(j)}return W}}throw new Error("illegal catch attempt")},delegateYield:function(R,U,j){return this.delegate={iterator:B(R),resultName:U,nextLoc:j},this.method==="next"&&(this.arg=m),u}}}(function(){return this}()||Function("return this")())},{}],228:[function(D,_,e){var g=D("buffer"),f=g.Buffer;function y(v,h){for(var c in v)h[c]=v[c]}f.from&&f.alloc&&f.allocUnsafe&&f.allocUnsafeSlow?_.exports=g:(y(g,e),e.Buffer=m);function m(v,h,c){return f(v,h,c)}y(f,m),m.from=function(v,h,c){if(typeof v=="number")throw new TypeError("Argument must not be a number");return f(v,h,c)},m.alloc=function(v,h,c){if(typeof v!="number")throw new TypeError("Argument must be a number");var a=f(v);return h!==void 0?typeof c=="string"?a.fill(h,c):a.fill(h):a.fill(0),a},m.allocUnsafe=function(v){if(typeof v!="number")throw new TypeError("Argument must be a number");return f(v)},m.allocUnsafeSlow=function(v){if(typeof v!="number")throw new TypeError("Argument must be a number");return g.SlowBuffer(v)}},{buffer:73}],229:[function(D,_,e){(function(g){"use strict";var f=D("babel-runtime/core-js/string/from-code-point"),y=l(f),m=D("babel-runtime/core-js/json/stringify"),v=l(m),h=D("babel-runtime/helpers/typeof"),c=l(h),a=D("babel-runtime/core-js/object/define-property"),i=l(a),r=D("babel-runtime/core-js/object/keys"),o=l(r),d=D("babel-runtime/core-js/object/create"),n=l(d);function l(t){return t&&t.__esModule?t:{default:t}}(function(t){t.parser=function(V,$){return new u(V,$)},t.SAXParser=u,t.SAXStream=T,t.createStream=S,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 u(V,$){if(!(this instanceof u))return new u(V,$);var Te=this;w(Te),Te.q=Te.c="",Te.bufferCheckPosition=t.MAX_BUFFER_LENGTH,Te.opt=$||{},Te.opt.lowercase=Te.opt.lowercase||Te.opt.lowercasetags,Te.looseCase=Te.opt.lowercase?"toLowerCase":"toUpperCase",Te.tags=[],Te.closed=Te.closedRoot=Te.sawRoot=!1,Te.tag=Te.error=null,Te.strict=!!V,Te.noscript=!!(V||Te.opt.noscript),Te.state=W.BEGIN,Te.strictEntities=Te.opt.strictEntities,Te.ENTITIES=Te.strictEntities?(0,n.default)(t.XML_ENTITIES):(0,n.default)(t.ENTITIES),Te.attribList=[],Te.opt.xmlns&&(Te.ns=(0,n.default)(N)),Te.trackPosition=Te.opt.position!==!1,Te.trackPosition&&(Te.position=Te.line=Te.column=0),z(Te,"onready")}n.default||(Object.create=function(V){function $(){}$.prototype=V;var Te=new $;return Te}),o.default||(Object.keys=function(V){var $=[];for(var Te in V)V.hasOwnProperty(Te)&&$.push(Te);return $});function p(V){for(var $=Math.max(t.MAX_BUFFER_LENGTH,10),Te=0,ye=0,Fe=s.length;ye<Fe;ye++){var Oe=V[s[ye]].length;if(Oe>$)switch(s[ye]){case"textNode":Z(V);break;case"cdata":G(V,"oncdata",V.cdata),V.cdata="";break;case"script":G(V,"onscript",V.script),V.script="";break;default:Q(V,"Max buffer length exceeded: "+s[ye])}Te=Math.max(Te,Oe)}var se=t.MAX_BUFFER_LENGTH-Te;V.bufferCheckPosition=se+V.position}function w(V){for(var $=0,Te=s.length;$<Te;$++)V[s[$]]=""}function b(V){Z(V),V.cdata!==""&&(G(V,"oncdata",V.cdata),V.cdata=""),V.script!==""&&(G(V,"onscript",V.script),V.script="")}u.prototype={end:function(){we(this)},write:Y,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){b(this)}};var E;try{E=D("stream").Stream}catch(V){E=function(){}}var A=t.EVENTS.filter(function(V){return V!=="error"&&V!=="end"});function S(V,$){return new T(V,$)}function T(V,$){if(!(this instanceof T))return new T(V,$);E.apply(this),this._parser=new u(V,$),this.writable=!0,this.readable=!0;var Te=this;this._parser.onend=function(){Te.emit("end")},this._parser.onerror=function(ye){Te.emit("error",ye),Te._parser.error=null},this._decoder=null,A.forEach(function(ye){(0,i.default)(Te,"on"+ye,{get:function(){return Te._parser["on"+ye]},set:function(Oe){if(!Oe)return Te.removeAllListeners(ye),Te._parser["on"+ye]=Oe,Oe;Te.on(ye,Oe)},enumerable:!0,configurable:!1})})}T.prototype=(0,n.default)(E.prototype,{constructor:{value:T}}),T.prototype.write=function(V){if(typeof g=="function"&&typeof g.isBuffer=="function"&&g.isBuffer(V)){if(!this._decoder){var $=D("string_decoder").StringDecoder;this._decoder=new $("utf8")}V=this._decoder.write(V)}return this._parser.write(V.toString()),this.emit("data",V),!0},T.prototype.end=function(V){return V&&V.length&&this.write(V),this._parser.end(),!0},T.prototype.on=function(V,$){var Te=this;return!Te._parser["on"+V]&&A.indexOf(V)!==-1&&(Te._parser["on"+V]=function(){var ye=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);ye.splice(0,0,V),Te.emit.apply(Te,ye)}),E.prototype.on.call(Te,V,$)};var L="[CDATA[",x="DOCTYPE",C="http://www.w3.org/XML/1998/namespace",I="http://www.w3.org/2000/xmlns/",N={xml:C,xmlns:I},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]/,k=/[:_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-]/,B=/[#:_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]/,P=/[#:_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 K(V){return V===" "||V===`
`||V==="\r"||V===" "}function R(V){return V==='"'||V==="'"}function U(V){return V===">"||K(V)}function j(V,$){return V.test($)}function H(V,$){return!j(V,$)}var W=0;t.STATE={BEGIN:W++,BEGIN_WHITESPACE:W++,TEXT:W++,TEXT_ENTITY:W++,OPEN_WAKA:W++,SGML_DECL:W++,SGML_DECL_QUOTED:W++,DOCTYPE:W++,DOCTYPE_QUOTED:W++,DOCTYPE_DTD:W++,DOCTYPE_DTD_QUOTED:W++,COMMENT_STARTING:W++,COMMENT:W++,COMMENT_ENDING:W++,COMMENT_ENDED:W++,CDATA:W++,CDATA_ENDING:W++,CDATA_ENDING_2:W++,PROC_INST:W++,PROC_INST_BODY:W++,PROC_INST_ENDING:W++,OPEN_TAG:W++,OPEN_TAG_SLASH:W++,ATTRIB:W++,ATTRIB_NAME:W++,ATTRIB_NAME_SAW_WHITE:W++,ATTRIB_VALUE:W++,ATTRIB_VALUE_QUOTED:W++,ATTRIB_VALUE_CLOSED:W++,ATTRIB_VALUE_UNQUOTED:W++,ATTRIB_VALUE_ENTITY_Q:W++,ATTRIB_VALUE_ENTITY_U:W++,CLOSE_TAG:W++,CLOSE_TAG_SAW_WHITE:W++,SCRIPT:W++,SCRIPT_ENDING:W++},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(V){var $=t.ENTITIES[V],Te=typeof $=="number"?String.fromCharCode($):$;t.ENTITIES[V]=Te});for(var X in t.STATE)t.STATE[t.STATE[X]]=X;W=t.STATE;function z(V,$,Te){V[$]&&V[$](Te)}function G(V,$,Te){V.textNode&&Z(V),z(V,$,Te)}function Z(V){V.textNode=ge(V.opt,V.textNode),V.textNode&&z(V,"ontext",V.textNode),V.textNode=""}function ge(V,$){return V.trim&&($=$.trim()),V.normalize&&($=$.replace(/\s+/g," ")),$}function Q(V,$){return Z(V),V.trackPosition&&($+=`
Line: `+V.line+`
Column: `+V.column+`
Char: `+V.c),$=new Error($),V.error=$,z(V,"onerror",$),V}function we(V){return V.sawRoot&&!V.closedRoot&&Ee(V,"Unclosed root tag"),V.state!==W.BEGIN&&V.state!==W.BEGIN_WHITESPACE&&V.state!==W.TEXT&&Q(V,"Unexpected end"),Z(V),V.c="",V.closed=!0,z(V,"onend"),u.call(V,V.strict,V.opt),V}function Ee(V,$){if((typeof V=="undefined"?"undefined":(0,c.default)(V))!=="object"||!(V instanceof u))throw new Error("bad call to strictFail");V.strict&&Q(V,$)}function Ae(V){V.strict||(V.tagName=V.tagName[V.looseCase]());var $=V.tags[V.tags.length-1]||V,Te=V.tag={name:V.tagName,attributes:{}};V.opt.xmlns&&(Te.ns=$.ns),V.attribList.length=0,G(V,"onopentagstart",Te)}function Pe(V,$){var Te=V.indexOf(":"),ye=Te<0?["",V]:V.split(":"),Fe=ye[0],Oe=ye[1];return $&&V==="xmlns"&&(Fe="xmlns",Oe=""),{prefix:Fe,local:Oe}}function Ge(V){if(V.strict||(V.attribName=V.attribName[V.looseCase]()),V.attribList.indexOf(V.attribName)!==-1||V.tag.attributes.hasOwnProperty(V.attribName)){V.attribName=V.attribValue="";return}if(V.opt.xmlns){var $=Pe(V.attribName,!0),Te=$.prefix,ye=$.local;if(Te==="xmlns")if(ye==="xml"&&V.attribValue!==C)Ee(V,"xml: prefix must be bound to "+C+`
Actual: `+V.attribValue);else if(ye==="xmlns"&&V.attribValue!==I)Ee(V,"xmlns: prefix must be bound to "+I+`
Actual: `+V.attribValue);else{var Fe=V.tag,Oe=V.tags[V.tags.length-1]||V;Fe.ns===Oe.ns&&(Fe.ns=(0,n.default)(Oe.ns)),Fe.ns[ye]=V.attribValue}V.attribList.push([V.attribName,V.attribValue])}else V.tag.attributes[V.attribName]=V.attribValue,G(V,"onattribute",{name:V.attribName,value:V.attribValue});V.attribName=V.attribValue=""}function gt(V,$){if(V.opt.xmlns){var Te=V.tag,ye=Pe(V.tagName);Te.prefix=ye.prefix,Te.local=ye.local,Te.uri=Te.ns[ye.prefix]||"",Te.prefix&&!Te.uri&&(Ee(V,"Unbound namespace prefix: "+(0,v.default)(V.tagName)),Te.uri=ye.prefix);var Fe=V.tags[V.tags.length-1]||V;Te.ns&&Fe.ns!==Te.ns&&(0,o.default)(Te.ns).forEach(function(wt){G(V,"onopennamespace",{prefix:wt,uri:Te.ns[wt]})});for(var Oe=0,se=V.attribList.length;Oe<se;Oe++){var fe=V.attribList[Oe],Le=fe[0],Je=fe[1],mt=Pe(Le,!0),Ct=mt.prefix,Ue=mt.local,Rt=Ct===""?"":Te.ns[Ct]||"",Ke={name:Le,value:Je,prefix:Ct,local:Ue,uri:Rt};Ct&&Ct!=="xmlns"&&!Rt&&(Ee(V,"Unbound namespace prefix: "+(0,v.default)(Ct)),Ke.uri=Ct),V.tag.attributes[Le]=Ke,G(V,"onattribute",Ke)}V.attribList.length=0}V.tag.isSelfClosing=!!$,V.sawRoot=!0,V.tags.push(V.tag),G(V,"onopentag",V.tag),$||(!V.noscript&&V.tagName.toLowerCase()==="script"?V.state=W.SCRIPT:V.state=W.TEXT,V.tag=null,V.tagName=""),V.attribName=V.attribValue="",V.attribList.length=0}function _e(V){if(!V.tagName){Ee(V,"Weird empty close tag."),V.textNode+="</>",V.state=W.TEXT;return}if(V.script){if(V.tagName!=="script"){V.script+="</"+V.tagName+">",V.tagName="",V.state=W.SCRIPT;return}G(V,"onscript",V.script),V.script=""}var $=V.tags.length,Te=V.tagName;V.strict||(Te=Te[V.looseCase]());for(var ye=Te;$--;){var Fe=V.tags[$];if(Fe.name!==ye)Ee(V,"Unexpected close tag");else break}if($<0){Ee(V,"Unmatched closing tag: "+V.tagName),V.textNode+="</"+V.tagName+">",V.state=W.TEXT;return}V.tagName=Te;for(var Oe=V.tags.length;Oe-- >$;){var se=V.tag=V.tags.pop();V.tagName=V.tag.name,G(V,"onclosetag",V.tagName);var fe={};for(var Le in se.ns)fe[Le]=se.ns[Le];var Je=V.tags[V.tags.length-1]||V;V.opt.xmlns&&se.ns!==Je.ns&&(0,o.default)(se.ns).forEach(function(mt){var Ct=se.ns[mt];G(V,"onclosenamespace",{prefix:mt,uri:Ct})})}$===0&&(V.closedRoot=!0),V.tagName=V.attribValue=V.attribName="",V.attribList.length=0,V.state=W.TEXT}function Ce(V){var $=V.entity,Te=$.toLowerCase(),ye,Fe="";return V.ENTITIES[$]?V.ENTITIES[$]:V.ENTITIES[Te]?V.ENTITIES[Te]:($=Te,$.charAt(0)==="#"&&($.charAt(1)==="x"?($=$.slice(2),ye=parseInt($,16),Fe=ye.toString(16)):($=$.slice(1),ye=parseInt($,10),Fe=ye.toString(10))),$=$.replace(/^0+/,""),isNaN(ye)||Fe.toLowerCase()!==$?(Ee(V,"Invalid character entity"),"&"+V.entity+";"):(0,y.default)(ye))}function lt(V,$){$==="<"?(V.state=W.OPEN_WAKA,V.startTagPosition=V.position):K($)||(Ee(V,"Non-whitespace before first tag."),V.textNode=$,V.state=W.TEXT)}function ce(V,$){var Te="";return $<V.length&&(Te=V.charAt($)),Te}function Y(V){var $=this;if(this.error)throw this.error;if($.closed)return Q($,"Cannot write after close. Assign an onready handler.");if(V===null)return we($);(typeof V=="undefined"?"undefined":(0,c.default)(V))==="object"&&(V=V.toString());for(var Te=0,ye="";!(ye=ce(V,Te++),$.c=ye,!ye);){$.trackPosition&&($.position++,ye===`
`?($.line++,$.column=0):$.column++);switch($.state){case W.BEGIN:if($.state=W.BEGIN_WHITESPACE,ye==="\uFEFF")continue;lt($,ye);continue;case W.BEGIN_WHITESPACE:lt($,ye);continue;case W.TEXT:if($.sawRoot&&!$.closedRoot){for(var Fe=Te-1;ye&&ye!=="<"&&ye!=="&";)ye=ce(V,Te++),ye&&$.trackPosition&&($.position++,ye===`
`?($.line++,$.column=0):$.column++);$.textNode+=V.substring(Fe,Te-1)}ye==="<"&&!($.sawRoot&&$.closedRoot&&!$.strict)?($.state=W.OPEN_WAKA,$.startTagPosition=$.position):(!K(ye)&&(!$.sawRoot||$.closedRoot)&&Ee($,"Text data outside of root node."),ye==="&"?$.state=W.TEXT_ENTITY:$.textNode+=ye);continue;case W.SCRIPT:ye==="<"?$.state=W.SCRIPT_ENDING:$.script+=ye;continue;case W.SCRIPT_ENDING:ye==="/"?$.state=W.CLOSE_TAG:($.script+="<"+ye,$.state=W.SCRIPT);continue;case W.OPEN_WAKA:if(ye==="!")$.state=W.SGML_DECL,$.sgmlDecl="";else if(!K(ye))if(j(F,ye))$.state=W.OPEN_TAG,$.tagName=ye;else if(ye==="/")$.state=W.CLOSE_TAG,$.tagName="";else if(ye==="?")$.state=W.PROC_INST,$.procInstName=$.procInstBody="";else{if(Ee($,"Unencoded <"),$.startTagPosition+1<$.position){var Oe=$.position-$.startTagPosition;ye=new Array(Oe).join(" ")+ye}$.textNode+="<"+ye,$.state=W.TEXT}continue;case W.SGML_DECL:($.sgmlDecl+ye).toUpperCase()===L?(G($,"onopencdata"),$.state=W.CDATA,$.sgmlDecl="",$.cdata=""):$.sgmlDecl+ye==="--"?($.state=W.COMMENT,$.comment="",$.sgmlDecl=""):($.sgmlDecl+ye).toUpperCase()===x?($.state=W.DOCTYPE,($.doctype||$.sawRoot)&&Ee($,"Inappropriately located doctype declaration"),$.doctype="",$.sgmlDecl=""):ye===">"?(G($,"onsgmldeclaration",$.sgmlDecl),$.sgmlDecl="",$.state=W.TEXT):(R(ye)&&($.state=W.SGML_DECL_QUOTED),$.sgmlDecl+=ye);continue;case W.SGML_DECL_QUOTED:ye===$.q&&($.state=W.SGML_DECL,$.q=""),$.sgmlDecl+=ye;continue;case W.DOCTYPE:ye===">"?($.state=W.TEXT,G($,"ondoctype",$.doctype),$.doctype=!0):($.doctype+=ye,ye==="["?$.state=W.DOCTYPE_DTD:R(ye)&&($.state=W.DOCTYPE_QUOTED,$.q=ye));continue;case W.DOCTYPE_QUOTED:$.doctype+=ye,ye===$.q&&($.q="",$.state=W.DOCTYPE);continue;case W.DOCTYPE_DTD:$.doctype+=ye,ye==="]"?$.state=W.DOCTYPE:R(ye)&&($.state=W.DOCTYPE_DTD_QUOTED,$.q=ye);continue;case W.DOCTYPE_DTD_QUOTED:$.doctype+=ye,ye===$.q&&($.state=W.DOCTYPE_DTD,$.q="");continue;case W.COMMENT:ye==="-"?$.state=W.COMMENT_ENDING:$.comment+=ye;continue;case W.COMMENT_ENDING:ye==="-"?($.state=W.COMMENT_ENDED,$.comment=ge($.opt,$.comment),$.comment&&G($,"oncomment",$.comment),$.comment=""):($.comment+="-"+ye,$.state=W.COMMENT);continue;case W.COMMENT_ENDED:ye!==">"?(Ee($,"Malformed comment"),$.comment+="--"+ye,$.state=W.COMMENT):$.state=W.TEXT;continue;case W.CDATA:ye==="]"?$.state=W.CDATA_ENDING:$.cdata+=ye;continue;case W.CDATA_ENDING:ye==="]"?$.state=W.CDATA_ENDING_2:($.cdata+="]"+ye,$.state=W.CDATA);continue;case W.CDATA_ENDING_2:ye===">"?($.cdata&&G($,"oncdata",$.cdata),G($,"onclosecdata"),$.cdata="",$.state=W.TEXT):ye==="]"?$.cdata+="]":($.cdata+="]]"+ye,$.state=W.CDATA);continue;case W.PROC_INST:ye==="?"?$.state=W.PROC_INST_ENDING:K(ye)?$.state=W.PROC_INST_BODY:$.procInstName+=ye;continue;case W.PROC_INST_BODY:if(!$.procInstBody&&K(ye))continue;ye==="?"?$.state=W.PROC_INST_ENDING:$.procInstBody+=ye;continue;case W.PROC_INST_ENDING:ye===">"?(G($,"onprocessinginstruction",{name:$.procInstName,body:$.procInstBody}),$.procInstName=$.procInstBody="",$.state=W.TEXT):($.procInstBody+="?"+ye,$.state=W.PROC_INST_BODY);continue;case W.OPEN_TAG:j(k,ye)?$.tagName+=ye:(Ae($),ye===">"?gt($):ye==="/"?$.state=W.OPEN_TAG_SLASH:(K(ye)||Ee($,"Invalid character in tag name"),$.state=W.ATTRIB));continue;case W.OPEN_TAG_SLASH:ye===">"?(gt($,!0),_e($)):(Ee($,"Forward-slash in opening tag not followed by >"),$.state=W.ATTRIB);continue;case W.ATTRIB:if(K(ye))continue;ye===">"?gt($):ye==="/"?$.state=W.OPEN_TAG_SLASH:j(F,ye)?($.attribName=ye,$.attribValue="",$.state=W.ATTRIB_NAME):Ee($,"Invalid attribute name");continue;case W.ATTRIB_NAME:ye==="="?$.state=W.ATTRIB_VALUE:ye===">"?(Ee($,"Attribute without value"),$.attribValue=$.attribName,Ge($),gt($)):K(ye)?$.state=W.ATTRIB_NAME_SAW_WHITE:j(k,ye)?$.attribName+=ye:Ee($,"Invalid attribute name");continue;case W.ATTRIB_NAME_SAW_WHITE:if(ye==="=")$.state=W.ATTRIB_VALUE;else{if(K(ye))continue;Ee($,"Attribute without value"),$.tag.attributes[$.attribName]="",$.attribValue="",G($,"onattribute",{name:$.attribName,value:""}),$.attribName="",ye===">"?gt($):j(F,ye)?($.attribName=ye,$.state=W.ATTRIB_NAME):(Ee($,"Invalid attribute name"),$.state=W.ATTRIB)}continue;case W.ATTRIB_VALUE:if(K(ye))continue;R(ye)?($.q=ye,$.state=W.ATTRIB_VALUE_QUOTED):(Ee($,"Unquoted attribute value"),$.state=W.ATTRIB_VALUE_UNQUOTED,$.attribValue=ye);continue;case W.ATTRIB_VALUE_QUOTED:if(ye!==$.q){ye==="&"?$.state=W.ATTRIB_VALUE_ENTITY_Q:$.attribValue+=ye;continue}Ge($),$.q="",$.state=W.ATTRIB_VALUE_CLOSED;continue;case W.ATTRIB_VALUE_CLOSED:K(ye)?$.state=W.ATTRIB:ye===">"?gt($):ye==="/"?$.state=W.OPEN_TAG_SLASH:j(F,ye)?(Ee($,"No whitespace between attributes"),$.attribName=ye,$.attribValue="",$.state=W.ATTRIB_NAME):Ee($,"Invalid attribute name");continue;case W.ATTRIB_VALUE_UNQUOTED:if(!U(ye)){ye==="&"?$.state=W.ATTRIB_VALUE_ENTITY_U:$.attribValue+=ye;continue}Ge($),ye===">"?gt($):$.state=W.ATTRIB;continue;case W.CLOSE_TAG:if($.tagName)ye===">"?_e($):j(k,ye)?$.tagName+=ye:$.script?($.script+="</"+$.tagName,$.tagName="",$.state=W.SCRIPT):(K(ye)||Ee($,"Invalid tagname in closing tag"),$.state=W.CLOSE_TAG_SAW_WHITE);else{if(K(ye))continue;H(F,ye)?$.script?($.script+="</"+ye,$.state=W.SCRIPT):Ee($,"Invalid tagname in closing tag."):$.tagName=ye}continue;case W.CLOSE_TAG_SAW_WHITE:if(K(ye))continue;ye===">"?_e($):Ee($,"Invalid characters in closing tag");continue;case W.TEXT_ENTITY:case W.ATTRIB_VALUE_ENTITY_Q:case W.ATTRIB_VALUE_ENTITY_U:var se,fe;switch($.state){case W.TEXT_ENTITY:se=W.TEXT,fe="textNode";break;case W.ATTRIB_VALUE_ENTITY_Q:se=W.ATTRIB_VALUE_QUOTED,fe="attribValue";break;case W.ATTRIB_VALUE_ENTITY_U:se=W.ATTRIB_VALUE_UNQUOTED,fe="attribValue";break}ye===";"?($[fe]+=Ce($),$.entity="",$.state=se):j($.entity.length?P:B,ye)?$.entity+=ye:(Ee($,"Invalid character in entity name"),$[fe]+="&"+$.entity+ye,$.entity="",$.state=se);continue;default:throw new Error($,"Unknown state: "+$.state)}}return $.position>=$.bufferCheckPosition&&p($),$}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */y.default||function(){var V=String.fromCharCode,$=Math.floor,Te=function(){var Fe=16384,Oe=[],se,fe,Le=-1,Je=arguments.length;if(!Je)return"";for(var mt="";++Le<Je;){var Ct=Number(arguments[Le]);if(!isFinite(Ct)||Ct<0||Ct>1114111||$(Ct)!==Ct)throw RangeError("Invalid code point: "+Ct);Ct<=65535?Oe.push(Ct):(Ct-=65536,se=(Ct>>10)+55296,fe=Ct%1024+56320,Oe.push(se,fe)),(Le+1===Je||Oe.length>Fe)&&(mt+=V.apply(null,Oe),Oe.length=0)}return mt};i.default?Object.defineProperty(String,"fromCodePoint",{value:Te,configurable:!0,writable:!0}):String.fromCodePoint=Te}()})(typeof e=="undefined"?(void 0).sax={}:e)}).call(this,D("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(D,_,e){_.exports=y;var g=D("events").EventEmitter,f=D("inherits");f(y,g),y.Readable=D("readable-stream/readable.js"),y.Writable=D("readable-stream/writable.js"),y.Duplex=D("readable-stream/duplex.js"),y.Transform=D("readable-stream/transform.js"),y.PassThrough=D("readable-stream/passthrough.js"),y.Stream=y;function y(){g.call(this)}y.prototype.pipe=function(m,v){var h=this;function c(l){m.writable&&(m.write(l)===!1&&h.pause&&h.pause())}h.on("data",c);function a(){h.readable&&h.resume&&h.resume()}m.on("drain",a),!m._isStdio&&(!v||v.end!==!1)&&(h.on("end",r),h.on("close",o));var i=!1;function r(){if(i)return;i=!0,m.end()}function o(){if(i)return;i=!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",c),m.removeListener("drain",a),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(D,_,e){(function(g){var f=D("./lib/request"),y=D("./lib/response"),m=D("xtend"),v=D("builtin-status-codes"),h=D("url"),c=e;c.request=function(a,i){typeof a=="string"?a=h.parse(a):a=m(a);var r=g.location.protocol.search(/^https?:$/)===-1?"http:":"",o=a.protocol||r,d=a.hostname||a.host,n=a.port,l=a.path||"/";d&&d.indexOf(":")!==-1&&(d="["+d+"]"),a.url=(d?o+"//"+d:"")+(n?":"+n:"")+l,a.method=(a.method||"GET").toUpperCase(),a.headers=a.headers||{};var t=new f(a);return i&&t.on("response",i),t},c.get=function(i,r){var o=c.request(i,r);return o.end(),o},c.ClientRequest=f,c.IncomingMessage=y.IncomingMessage,c.Agent=function(){},c.Agent.defaultMaxSockets=4,c.globalAgent=new c.Agent,c.STATUS_CODES=v,c.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(D,_,e){(function(g){"use strict";e.fetch=c(g.fetch)&&c(g.ReadableStream),e.writableStream=c(g.WritableStream),e.abortController=c(g.AbortController),e.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),e.blobConstructor=!0}catch(a){}var f;function y(){if(f!==void 0)return f;if(g.XMLHttpRequest){f=new g.XMLHttpRequest;try{f.open("GET",g.XDomainRequest?"/":"https://example.com")}catch(a){f=null}}else f=null;return f}function m(a){var i=y();if(!i)return!1;try{return i.responseType=a,i.responseType===a}catch(r){}return!1}var v=typeof g.ArrayBuffer!="undefined",h=v&&c(g.ArrayBuffer.prototype.slice);e.arraybuffer=e.fetch||v&&m("arraybuffer"),e.msstream=!e.fetch&&h&&m("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&v&&m("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||(y()?c(y().overrideMimeType):!1),e.vbArray=c(g.VBArray);function c(a){return typeof a=="function"}f=null}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],233:[function(D,_,e){(function(g,f,y){"use strict";var m=D("babel-runtime/core-js/object/keys"),v=h(m);function h(p){return p&&p.__esModule?p:{default:p}}var c=D("./capability"),a=D("inherits"),i=D("./response"),r=D("readable-stream"),o=D("to-arraybuffer"),d=i.IncomingMessage,n=i.readyStates;function l(p,w){return c.fetch&&w?"fetch":c.mozchunkedarraybuffer?"moz-chunked-arraybuffer":c.msstream?"ms-stream":c.arraybuffer&&p?"arraybuffer":c.vbArray&&p?"text:vbarray":"text"}var t=_.exports=function(p){var w=this;r.Writable.call(w),w._opts=p,w._body=[],w._headers={},p.auth&&w.setHeader("Authorization","Basic "+new y(p.auth).toString("base64")),(0,v.default)(p.headers).forEach(function(A){w.setHeader(A,p.headers[A])});var b,E=!0;if(p.mode==="disable-fetch"||"requestTimeout"in p&&!c.abortController)E=!1,b=!0;else if(p.mode==="prefer-streaming")b=!1;else if(p.mode==="allow-wrong-content-type")b=!c.overrideMimeType;else if(!p.mode||p.mode==="default"||p.mode==="prefer-fast")b=!0;else throw new Error("Invalid value for opts.mode");w._mode=l(b,E),w._fetchTimer=null,w.on("finish",function(){w._onFinish()})};a(t,r.Writable),t.prototype.setHeader=function(p,w){var b=this,E=p.toLowerCase();if(u.indexOf(E)!==-1)return;b._headers[E]={name:p,value:w}},t.prototype.getHeader=function(p){var w=this._headers[p.toLowerCase()];return w?w.value:null},t.prototype.removeHeader=function(p){var w=this;delete w._headers[p.toLowerCase()]},t.prototype._onFinish=function(){var p=this;if(p._destroyed)return;var w=p._opts,b=p._headers,E=null;w.method!=="GET"&&w.method!=="HEAD"&&(c.arraybuffer?E=o(y.concat(p._body)):c.blobConstructor?E=new f.Blob(p._body.map(function(C){return o(C)}),{type:(b["content-type"]||{}).value||""}):E=y.concat(p._body).toString());var A=[];if((0,v.default)(b).forEach(function(C){var I=b[C].name,N=b[C].value;Array.isArray(N)?N.forEach(function(F){A.push([I,F])}):A.push([I,N])}),p._mode==="fetch"){var S=null,T=null;if(c.abortController){var L=new AbortController;S=L.signal,p._fetchAbortController=L,"requestTimeout"in w&&w.requestTimeout!==0&&(p._fetchTimer=f.setTimeout(function(){p.emit("requestTimeout"),p._fetchAbortController&&p._fetchAbortController.abort()},w.requestTimeout))}f.fetch(p._opts.url,{method:p._opts.method,headers:A,body:E||void 0,mode:"cors",credentials:w.withCredentials?"include":"same-origin",signal:S}).then(function(C){p._fetchResponse=C,p._connect()},function(C){f.clearTimeout(p._fetchTimer),p._destroyed||p.emit("error",C)})}else{var x=p._xhr=new f.XMLHttpRequest;try{x.open(p._opts.method,p._opts.url,!0)}catch(C){g.nextTick(function(){p.emit("error",C)});return}"responseType"in x&&(x.responseType=p._mode.split(":")[0]),"withCredentials"in x&&(x.withCredentials=!!w.withCredentials),p._mode==="text"&&"overrideMimeType"in x&&x.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in w&&(x.timeout=w.requestTimeout,x.ontimeout=function(){p.emit("requestTimeout")}),A.forEach(function(C){x.setRequestHeader(C[0],C[1])}),p._response=null,x.onreadystatechange=function(){switch(x.readyState){case n.LOADING:case n.DONE:p._onXHRProgress();break}},p._mode==="moz-chunked-arraybuffer"&&(x.onprogress=function(){p._onXHRProgress()}),x.onerror=function(){if(p._destroyed)return;p.emit("error",new Error("XHR error"))};try{x.send(E)}catch(C){g.nextTick(function(){p.emit("error",C)});return}}};function s(p){try{var w=p.status;return w!==null&&w!==0}catch(b){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(w){p.emit("error",w)}),p.emit("response",p._response)},t.prototype._write=function(p,w,b){var E=this;E._body.push(p),b()},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,w,b){var E=this;typeof p=="function"&&(b=p,p=void 0),r.Writable.prototype.end.call(E,p,w,b)},t.prototype.flushHeaders=function(){},t.prototype.setTimeout=function(){},t.prototype.setNoDelay=function(){},t.prototype.setSocketKeepAlive=function(){};var u=["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,D("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},D("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(D,_,e){(function(g,f,y){"use strict";var m=D("babel-runtime/core-js/promise"),v=h(m);function h(d){return d&&d.__esModule?d:{default:d}}var c=D("./capability"),a=D("inherits"),i=D("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(i.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 u=function S(){w.read().then(function(T){if(s._destroyed)return;if(T.done){f.clearTimeout(t),s.push(null);return}s.push(new y(T.value)),S()}).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(S,T){s.headers[T.toLowerCase()]=S,s.rawHeaders.push(T,S)}),c.writableStream){var p=new WritableStream({write:function(T){return new v.default(function(L,x){s._destroyed?x():s.push(new y(T))?L():s._resumeFetch=L})},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(S){f.clearTimeout(t),s._destroyed||s.emit("error",S)});return}catch(S){}}var w=n.body.getReader();u()}else{s._xhr=d,s._pos=0,s.url=d.responseURL,s.statusCode=d.status,s.statusMessage=d.statusText;var b=d.getAllResponseHeaders().split(/\r?\n/);if(b.forEach(function(S){var T=S.match(/^([^:]+):\s*(.*)/);if(T){var L=T[1].toLowerCase();L==="set-cookie"?(s.headers[L]===void 0&&(s.headers[L]=[]),s.headers[L].push(T[2])):s.headers[L]!==void 0?s.headers[L]+=", "+T[2]:s.headers[L]=T[2],s.rawHeaders.push(T[1],T[2])}}),s._charset="x-user-defined",!c.overrideMimeType){var E=s.rawHeaders["mime-type"];if(E){var A=E.match(/;\s*charset=([^;])(;|$)/);A&&(s._charset=A[1].toLowerCase())}s._charset||(s._charset="utf-8")}}};a(o,i.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(w){}if(l!==null){d.push(new y(l));break}case"text":try{l=n.responseText}catch(w){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 y(t.length),u=0;u<t.length;u++)s[u]=t.charCodeAt(u)&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 y(new Uint8Array(l)));break;case"moz-chunked-arraybuffer":if(l=n.response,n.readyState!==r.LOADING||!l)break;d.push(new y(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 y(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,D("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{},D("buffer").Buffer)},{"./capability":232,_process:208,"babel-runtime/core-js/promise":61,buffer:73,inherits:196,"readable-stream":223}],235:[function(D,_,e){"use strict";var g=D("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 y(p){if(!p)return"utf8";for(var w;;)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(w)return;p=(""+p).toLowerCase(),w=!0}}function m(p){var w=y(p);if(typeof w!="string"&&(g.isEncoding===f||!f(p)))throw new Error("Unknown encoding: "+p);return w||p}e.StringDecoder=v;function v(p){this.encoding=m(p);var w;switch(this.encoding){case"utf16le":this.text=d,this.end=n,w=4;break;case"utf8":this.fillLast=i,w=4;break;case"base64":this.text=l,this.end=t,w=3;break;default:this.write=s,this.end=u;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=g.allocUnsafe(w)}v.prototype.write=function(p){if(p.length===0)return"";var w,b;if(this.lastNeed){if(w=this.fillLast(p),w===void 0)return"";b=this.lastNeed,this.lastNeed=0}else b=0;return b<p.length?w?w+this.text(p,b):this.text(p,b):w||""},v.prototype.end=o,v.prototype.text=r,v.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 c(p,w,b){var E=w.length-1;if(E<b)return 0;var A=h(w[E]);return A>=0?(A>0&&(p.lastNeed=A-1),A):--E<b||A===-2?0:(A=h(w[E]),A>=0?(A>0&&(p.lastNeed=A-2),A):--E<b||A===-2?0:(A=h(w[E]),A>=0?(A>0&&(A===2?A=0:p.lastNeed=A-3),A):0))}function a(p,w,b){if((w[0]&192)!==128)return p.lastNeed=0,"\uFFFD";if(p.lastNeed>1&&w.length>1){if((w[1]&192)!==128)return p.lastNeed=1,"\uFFFD";if(p.lastNeed>2&&w.length>2&&(w[2]&192)!==128)return p.lastNeed=2,"\uFFFD"}}function i(p){var w=this.lastTotal-this.lastNeed,b=a(this,p,w);if(b!==void 0)return b;if(this.lastNeed<=p.length)return p.copy(this.lastChar,w,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);p.copy(this.lastChar,w,0,p.length),this.lastNeed-=p.length}function r(p,w){var b=c(this,p,w);if(!this.lastNeed)return p.toString("utf8",w);this.lastTotal=b;var E=p.length-(b-this.lastNeed);return p.copy(this.lastChar,0,E),p.toString("utf8",w,E)}function o(p){var w=p&&p.length?this.write(p):"";return this.lastNeed?w+"\uFFFD":w}function d(p,w){if((p.length-w)%2===0){var b=p.toString("utf16le",w);if(b){var E=b.charCodeAt(b.length-1);if(E>=55296&&E<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=p[p.length-2],this.lastChar[1]=p[p.length-1],b.slice(0,-1)}return b}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=p[p.length-1],p.toString("utf16le",w,p.length-1)}function n(p){var w=p&&p.length?this.write(p):"";if(this.lastNeed){var b=this.lastTotal-this.lastNeed;return w+this.lastChar.toString("utf16le",0,b)}return w}function l(p,w){var b=(p.length-w)%3;return b===0?p.toString("base64",w):(this.lastNeed=3-b,this.lastTotal=3,b===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",w,p.length-b))}function t(p){var w=p&&p.length?this.write(p):"";return this.lastNeed?w+this.lastChar.toString("base64",0,3-this.lastNeed):w}function s(p){return p.toString(this.encoding)}function u(p){return p&&p.length?this.write(p):""}},{"safe-buffer":228}],236:[function(D,_,e){(function(g,f){var y=D("process/browser.js").nextTick,m=Function.prototype.apply,v=Array.prototype.slice,h={},c=0;e.setTimeout=function(){return new a(m.call(setTimeout,window,arguments),clearTimeout)},e.setInterval=function(){return new a(m.call(setInterval,window,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(i){i.close()};function a(i,r){this._id=i,this._clearFn=r}a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(window,this._id)},e.enroll=function(i,r){clearTimeout(i._idleTimeoutId),i._idleTimeout=r},e.unenroll=function(i){clearTimeout(i._idleTimeoutId),i._idleTimeout=-1},e._unrefActive=e.active=function(i){clearTimeout(i._idleTimeoutId);var r=i._idleTimeout;r>=0&&(i._idleTimeoutId=setTimeout(function(){i._onTimeout&&i._onTimeout()},r))},e.setImmediate=typeof g=="function"?g:function(i){var r=c++,o=arguments.length<2?!1:v.call(arguments,1);return h[r]=!0,y(function(){h[r]&&(o?i.apply(null,o):i.call(null),e.clearImmediate(r))}),r},e.clearImmediate=typeof f=="function"?f:function(i){delete h[i]}}).call(this,D("timers").setImmediate,D("timers").clearImmediate)},{"process/browser.js":208,timers:236}],237:[function(D,_,e){var g=D("buffer").Buffer;_.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 y=new Uint8Array(f.length),m=f.length,v=0;v<m;v++)y[v]=f[v];return y.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:73}],238:[function(D,_,e){"use strict";var g=D("punycode"),f=D("./util");e.parse=w,e.resolve=E,e.resolveObject=A,e.format=b,e.Url=y;function y(){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,v=/:[0-9]*$/,h=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["<",">",'"',"`"," ","\r",`
`," "],a=["{","}","|","\\","^","`"].concat(c),i=["'"].concat(a),r=["%","/","?",";","#"].concat(i),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},u={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},p=D("querystring");function w(S,T,L){if(S&&f.isObject(S)&&S instanceof y)return S;var x=new y;return x.parse(S,T,L),x}y.prototype.parse=function(S,T,L){if(!f.isString(S))throw new TypeError("Parameter 'url' must be a string, not "+typeof S);var x=S.indexOf("?"),C=x!==-1&&x<S.indexOf("#")?"?":"#",I=S.split(C),N=/\\/g;I[0]=I[0].replace(N,"/"),S=I.join(C);var F=S;if(F=F.trim(),!L&&S.split("#").length===1){var k=h.exec(F);if(k)return this.path=F,this.href=F,this.pathname=k[1],k[2]?(this.search=k[2],T?this.query=p.parse(this.search.substr(1)):this.query=this.search.substr(1)):T&&(this.search="",this.query={}),this}var B=m.exec(F);if(B){B=B[0];var P=B.toLowerCase();this.protocol=P,F=F.substr(B.length)}if(L||B||F.match(/^\/\/[^@\/]+@[^@\/]+/)){var K=F.substr(0,2)==="//";K&&!(B&&s[B])&&(F=F.substr(2),this.slashes=!0)}if(!s[B]&&(K||B&&!u[B])){for(var R=-1,U=0;U<o.length;U++){var j=F.indexOf(o[U]);j!==-1&&(R===-1||j<R)&&(R=j)}var H,W;R===-1?W=F.lastIndexOf("@"):W=F.lastIndexOf("@",R),W!==-1&&(H=F.slice(0,W),F=F.slice(W+1),this.auth=decodeURIComponent(H)),R=-1;for(var U=0;U<r.length;U++){var j=F.indexOf(r[U]);j!==-1&&(R===-1||j<R)&&(R=j)}R===-1&&(R=F.length),this.host=F.slice(0,R),F=F.slice(R),this.parseHost(),this.hostname=this.hostname||"";var X=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!X)for(var z=this.hostname.split(/\./),U=0,G=z.length;U<G;U++){var Z=z[U];if(!Z)continue;if(!Z.match(n)){for(var ge="",Q=0,we=Z.length;Q<we;Q++)Z.charCodeAt(Q)>127?ge+="x":ge+=Z[Q];if(!ge.match(n)){var Ee=z.slice(0,U),Ae=z.slice(U+1),Pe=Z.match(l);Pe&&(Ee.push(Pe[1]),Ae.unshift(Pe[2])),Ae.length&&(F="/"+Ae.join(".")+F),this.hostname=Ee.join(".");break}}}this.hostname.length>d?this.hostname="":this.hostname=this.hostname.toLowerCase(),X||(this.hostname=g.toASCII(this.hostname));var Ge=this.port?":"+this.port:"",gt=this.hostname||"";this.host=gt+Ge,this.href+=this.host,X&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),F[0]!=="/"&&(F="/"+F))}if(!t[P])for(var U=0,G=i.length;U<G;U++){var _e=i[U];if(F.indexOf(_e)===-1)continue;var Ce=encodeURIComponent(_e);Ce===_e&&(Ce=escape(_e)),F=F.split(_e).join(Ce)}var lt=F.indexOf("#");lt!==-1&&(this.hash=F.substr(lt),F=F.slice(0,lt));var ce=F.indexOf("?");if(ce!==-1?(this.search=F.substr(ce),this.query=F.substr(ce+1),T&&(this.query=p.parse(this.query)),F=F.slice(0,ce)):T&&(this.search="",this.query={}),F&&(this.pathname=F),u[P]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Ge=this.pathname||"",Y=this.search||"";this.path=Ge+Y}return this.href=this.format(),this};function b(S){return f.isString(S)&&(S=w(S)),S instanceof y?S.format():y.prototype.format.call(S)}y.prototype.format=function(){var S=this.auth||"";S&&(S=encodeURIComponent(S),S=S.replace(/%3A/i,":"),S+="@");var T=this.protocol||"",L=this.pathname||"",x=this.hash||"",C=!1,I="";this.host?C=S+this.host:this.hostname&&(C=S+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(C+=":"+this.port)),this.query&&f.isObject(this.query)&&Object.keys(this.query).length&&(I=p.stringify(this.query));var N=this.search||I&&"?"+I||"";return T&&T.substr(-1)!==":"&&(T+=":"),this.slashes||(!T||u[T])&&C!==!1?(C="//"+(C||""),L&&L.charAt(0)!=="/"&&(L="/"+L)):C||(C=""),x&&x.charAt(0)!=="#"&&(x="#"+x),N&&N.charAt(0)!=="?"&&(N="?"+N),L=L.replace(/[?#]/g,function(F){return encodeURIComponent(F)}),N=N.replace("#","%23"),T+C+L+N+x};function E(S,T){return w(S,!1,!0).resolve(T)}y.prototype.resolve=function(S){return this.resolveObject(w(S,!1,!0)).format()};function A(S,T){return S?w(S,!1,!0).resolveObject(T):T}y.prototype.resolveObject=function(S){if(f.isString(S)){var T=new y;T.parse(S,!1,!0),S=T}for(var L=new y,x=Object.keys(this),C=0;C<x.length;C++){var I=x[C];L[I]=this[I]}if(L.hash=S.hash,S.href==="")return L.href=L.format(),L;if(S.slashes&&!S.protocol){for(var N=Object.keys(S),F=0;F<N.length;F++){var k=N[F];k!=="protocol"&&(L[k]=S[k])}return u[L.protocol]&&L.hostname&&!L.pathname&&(L.path=L.pathname="/"),L.href=L.format(),L}if(S.protocol&&S.protocol!==L.protocol){if(!u[S.protocol]){for(var B=Object.keys(S),P=0;P<B.length;P++){var K=B[P];L[K]=S[K]}return L.href=L.format(),L}if(L.protocol=S.protocol,!S.host&&!s[S.protocol]){for(var G=(S.pathname||"").split("/");G.length&&!(S.host=G.shift()););S.host||(S.host=""),S.hostname||(S.hostname=""),G[0]!==""&&G.unshift(""),G.length<2&&G.unshift(""),L.pathname=G.join("/")}else L.pathname=S.pathname;if(L.search=S.search,L.query=S.query,L.host=S.host||"",L.auth=S.auth,L.hostname=S.hostname||S.host,L.port=S.port,L.pathname||L.search){var R=L.pathname||"",U=L.search||"";L.path=R+U}return L.slashes=L.slashes||S.slashes,L.href=L.format(),L}var j=L.pathname&&L.pathname.charAt(0)==="/",H=S.host||S.pathname&&S.pathname.charAt(0)==="/",W=H||j||L.host&&S.pathname,X=W,z=L.pathname&&L.pathname.split("/")||[],G=S.pathname&&S.pathname.split("/")||[],Z=L.protocol&&!u[L.protocol];if(Z&&(L.hostname="",L.port=null,L.host&&(z[0]===""?z[0]=L.host:z.unshift(L.host)),L.host="",S.protocol&&(S.hostname=null,S.port=null,S.host&&(G[0]===""?G[0]=S.host:G.unshift(S.host)),S.host=null),W=W&&(G[0]===""||z[0]==="")),H)L.host=S.host||S.host===""?S.host:L.host,L.hostname=S.hostname||S.hostname===""?S.hostname:L.hostname,L.search=S.search,L.query=S.query,z=G;else if(G.length)z||(z=[]),z.pop(),z=z.concat(G),L.search=S.search,L.query=S.query;else if(!f.isNullOrUndefined(S.search)){if(Z){L.hostname=L.host=z.shift();var ge=L.host&&L.host.indexOf("@")>0?L.host.split("@"):!1;ge&&(L.auth=ge.shift(),L.host=L.hostname=ge.shift())}return L.search=S.search,L.query=S.query,(!f.isNull(L.pathname)||!f.isNull(L.search))&&(L.path=(L.pathname?L.pathname:"")+(L.search?L.search:"")),L.href=L.format(),L}if(!z.length)return L.pathname=null,L.search?L.path="/"+L.search:L.path=null,L.href=L.format(),L;for(var Q=z.slice(-1)[0],we=(L.host||S.host||z.length>1)&&(Q==="."||Q==="..")||Q==="",Ee=0,Ae=z.length;Ae>=0;Ae--)Q=z[Ae],Q==="."?z.splice(Ae,1):Q===".."?(z.splice(Ae,1),Ee++):Ee&&(z.splice(Ae,1),Ee--);if(!W&&!X)for(;Ee--;Ee)z.unshift("..");W&&z[0]!==""&&(!z[0]||z[0].charAt(0)!=="/")&&z.unshift(""),we&&z.join("/").substr(-1)!=="/"&&z.push("");var Pe=z[0]===""||z[0]&&z[0].charAt(0)==="/";if(Z){L.hostname=L.host=Pe?"":z.length?z.shift():"";var ge=L.host&&L.host.indexOf("@")>0?L.host.split("@"):!1;ge&&(L.auth=ge.shift(),L.host=L.hostname=ge.shift())}return W=W||L.host&&z.length,W&&!Pe&&z.unshift(""),z.length?L.pathname=z.join("/"):(L.pathname=null,L.path=null),(!f.isNull(L.pathname)||!f.isNull(L.search))&&(L.path=(L.pathname?L.pathname:"")+(L.search?L.search:"")),L.auth=S.auth||L.auth,L.slashes=L.slashes||S.slashes,L.href=L.format(),L},y.prototype.parseHost=function(){var S=this.host,T=v.exec(S);T&&(T=T[0],T!==":"&&(this.port=T.substr(1)),S=S.substr(0,S.length-T.length)),S&&(this.hostname=S)}},{"./util":239,punycode:209,querystring:212}],239:[function(D,_,e){"use strict";_.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(D,_,e){(function(g){_.exports=f;function f(m,v){if(y("noDeprecation"))return m;var h=!1;function c(){if(!h){if(y("throwDeprecation"))throw new Error(v);y("traceDeprecation")?console.trace(v):console.warn(v),h=!0}return m.apply(this,arguments)}return c}function y(m){try{if(!g.localStorage)return!1}catch(h){return!1}var v=g.localStorage[m];return v==null?!1:String(v).toLowerCase()==="true"}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],241:[function(D,_,e){typeof Object.create=="function"?_.exports=function(f,y){f.super_=y,f.prototype=Object.create(y.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}})}:_.exports=function(f,y){f.super_=y;var m=function(){};m.prototype=y.prototype,f.prototype=new m,f.prototype.constructor=f}},{}],242:[function(D,_,e){_.exports=function(f){return f&&typeof f=="object"&&typeof f.copy=="function"&&typeof f.fill=="function"&&typeof f.readUInt8=="function"}},{}],243:[function(D,_,e){(function(g,f){var y=/%[sdj%]/g;e.format=function(R){if(!E(R)){for(var U=[],j=0;j<arguments.length;j++)U.push(h(arguments[j]));return U.join(" ")}for(var j=1,H=arguments,W=H.length,X=String(R).replace(y,function(G){if(G==="%%")return"%";if(j>=W)return G;switch(G){case"%s":return String(H[j++]);case"%d":return Number(H[j++]);case"%j":try{return JSON.stringify(H[j++])}catch(Z){return"[Circular]"}default:return G}}),z=H[j];j<W;z=H[++j])p(z)||!L(z)?X+=" "+z:X+=" "+h(z);return X},e.deprecate=function(R,U){if(S(f.process))return function(){return e.deprecate(R,U).apply(this,arguments)};if(g.noDeprecation===!0)return R;var j=!1;function H(){if(!j){if(g.throwDeprecation)throw new Error(U);g.traceDeprecation?console.trace(U):console.error(U),j=!0}return R.apply(this,arguments)}return H};var m={},v;e.debuglog=function(R){if(S(v)&&(v=g.env.NODE_DEBUG||""),R=R.toUpperCase(),!m[R])if(new RegExp("\\b"+R+"\\b","i").test(v)){var U=g.pid;m[R]=function(){var j=e.format.apply(e,arguments);console.error("%s %d: %s",R,U,j)}}else m[R]=function(){};return m[R]};function h(R,U){var j={seen:[],stylize:a};return arguments.length>=3&&(j.depth=arguments[2]),arguments.length>=4&&(j.colors=arguments[3]),u(U)?j.showHidden=U:U&&e._extend(j,U),S(j.showHidden)&&(j.showHidden=!1),S(j.depth)&&(j.depth=2),S(j.colors)&&(j.colors=!1),S(j.customInspect)&&(j.customInspect=!0),j.colors&&(j.stylize=c),r(j,R,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 c(R,U){var j=h.styles[U];return j?"["+h.colors[j][0]+"m"+R+"["+h.colors[j][1]+"m":R}function a(R,U){return R}function i(R){var U={};return R.forEach(function(j,H){U[j]=!0}),U}function r(R,U,j){if(R.customInspect&&U&&I(U.inspect)&&U.inspect!==e.inspect&&!(U.constructor&&U.constructor.prototype===U)){var H=U.inspect(j,R);return E(H)||(H=r(R,H,j)),H}var W=o(R,U);if(W)return W;var X=Object.keys(U),z=i(X);if(R.showHidden&&(X=Object.getOwnPropertyNames(U)),C(U)&&(X.indexOf("message")>=0||X.indexOf("description")>=0))return d(U);if(X.length===0){if(I(U)){var G=U.name?": "+U.name:"";return R.stylize("[Function"+G+"]","special")}if(T(U))return R.stylize(RegExp.prototype.toString.call(U),"regexp");if(x(U))return R.stylize(Date.prototype.toString.call(U),"date");if(C(U))return d(U)}var Z="",ge=!1,Q=["{","}"];if(s(U)&&(ge=!0,Q=["[","]"]),I(U)){var we=U.name?": "+U.name:"";Z=" [Function"+we+"]"}if(T(U)&&(Z=" "+RegExp.prototype.toString.call(U)),x(U)&&(Z=" "+Date.prototype.toUTCString.call(U)),C(U)&&(Z=" "+d(U)),X.length===0&&(!ge||U.length==0))return Q[0]+Z+Q[1];if(j<0)return T(U)?R.stylize(RegExp.prototype.toString.call(U),"regexp"):R.stylize("[Object]","special");R.seen.push(U);var Ee;return ge?Ee=n(R,U,j,z,X):Ee=X.map(function(Ae){return l(R,U,j,z,Ae,ge)}),R.seen.pop(),t(Ee,Z,Q)}function o(R,U){if(S(U))return R.stylize("undefined","undefined");if(E(U)){var j="'"+JSON.stringify(U).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return R.stylize(j,"string")}if(b(U))return R.stylize(""+U,"number");if(u(U))return R.stylize(""+U,"boolean");if(p(U))return R.stylize("null","null")}function d(R){return"["+Error.prototype.toString.call(R)+"]"}function n(R,U,j,H,W){for(var X=[],z=0,G=U.length;z<G;++z)K(U,String(z))?X.push(l(R,U,j,H,String(z),!0)):X.push("");return W.forEach(function(Z){Z.match(/^\d+$/)||X.push(l(R,U,j,H,Z,!0))}),X}function l(R,U,j,H,W,X){var z,G,Z;if(Z=Object.getOwnPropertyDescriptor(U,W)||{value:U[W]},Z.get?Z.set?G=R.stylize("[Getter/Setter]","special"):G=R.stylize("[Getter]","special"):Z.set&&(G=R.stylize("[Setter]","special")),K(H,W)||(z="["+W+"]"),G||(R.seen.indexOf(Z.value)<0?(p(j)?G=r(R,Z.value,null):G=r(R,Z.value,j-1),G.indexOf(`
`)>-1&&(X?G=G.split(`
`).map(function(ge){return" "+ge}).join(`
`).substr(2):G=`
`+G.split(`
`).map(function(ge){return" "+ge}).join(`
`))):G=R.stylize("[Circular]","special")),S(z)){if(X&&W.match(/^\d+$/))return G;z=JSON.stringify(""+W),z.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(z=z.substr(1,z.length-2),z=R.stylize(z,"name")):(z=z.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),z=R.stylize(z,"string"))}return z+": "+G}function t(R,U,j){var H=0,W=R.reduce(function(X,z){return H++,z.indexOf(`
`)>=0&&H++,X+z.replace(/\u001b\[\d\d?m/g,"").length+1},0);return W>60?j[0]+(U===""?"":U+`
`)+" "+R.join(`,
`)+" "+j[1]:j[0]+U+" "+R.join(", ")+" "+j[1]}function s(R){return Array.isArray(R)}e.isArray=s;function u(R){return typeof R=="boolean"}e.isBoolean=u;function p(R){return R===null}e.isNull=p;function w(R){return R==null}e.isNullOrUndefined=w;function b(R){return typeof R=="number"}e.isNumber=b;function E(R){return typeof R=="string"}e.isString=E;function A(R){return typeof R=="symbol"}e.isSymbol=A;function S(R){return R===void 0}e.isUndefined=S;function T(R){return L(R)&&F(R)==="[object RegExp]"}e.isRegExp=T;function L(R){return typeof R=="object"&&R!==null}e.isObject=L;function x(R){return L(R)&&F(R)==="[object Date]"}e.isDate=x;function C(R){return L(R)&&(F(R)==="[object Error]"||R instanceof Error)}e.isError=C;function I(R){return typeof R=="function"}e.isFunction=I;function N(R){return R===null||typeof R=="boolean"||typeof R=="number"||typeof R=="string"||typeof R=="symbol"||typeof R=="undefined"}e.isPrimitive=N,e.isBuffer=D("./support/isBuffer");function F(R){return Object.prototype.toString.call(R)}function k(R){return R<10?"0"+R.toString(10):R.toString(10)}var B=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function P(){var R=new Date,U=[k(R.getHours()),k(R.getMinutes()),k(R.getSeconds())].join(":");return[R.getDate(),B[R.getMonth()],U].join(" ")}e.log=function(){console.log("%s - %s",P(),e.format.apply(e,arguments))},e.inherits=D("inherits"),e._extend=function(R,U){if(!U||!L(U))return R;for(var j=Object.keys(U),H=j.length;H--;)R[j[H]]=U[j[H]];return R};function K(R,U){return Object.prototype.hasOwnProperty.call(R,U)}}).call(this,D("_process"),typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":242,_process:208,inherits:241}],244:[function(D,_,e){"use strict";(function(){"use strict";e.stripBOM=function(g){return g[0]==="\uFEFF"?g.substring(1):g}}).call(void 0)},{}],245:[function(D,_,e){"use strict";var g=D("babel-runtime/helpers/typeof"),f=v(g),y=D("babel-runtime/core-js/object/keys"),m=v(y);function v(h){return h&&h.__esModule?h:{default:h}}(function(){"use strict";var h,c,a,i,r,o={}.hasOwnProperty;h=D("xmlbuilder"),c=D("./defaults").defaults,i=function(n){return typeof n=="string"&&(n.indexOf("&")>=0||n.indexOf(">")>=0||n.indexOf("<")>=0)},r=function(n){return"<![CDATA["+a(n)+"]]>"},a=function(n){return n.replace("]]>","]]]]><![CDATA[>")},e.Builder=function(){function d(n){var l,t,s;this.options={},t=c["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,u,p;return l=this.options.attrkey,t=this.options.charkey,(0,m.default)(n).length===1&&this.options.rootName===c["0.2"].rootName?(p=(0,m.default)(n)[0],n=n[p]):p=this.options.rootName,s=function(w){return function(b,E){var A,S,T,L,x,C;if((typeof E=="undefined"?"undefined":(0,f.default)(E))!=="object")w.options.cdata&&i(E)?b.raw(r(E)):b.txt(E);else if(Array.isArray(E))for(L in E){if(!o.call(E,L))continue;S=E[L];for(x in S)T=S[x],b=s(b.ele(x),T).up()}else for(x in E){if(!o.call(E,x))continue;if(S=E[x],x===l){if((typeof S=="undefined"?"undefined":(0,f.default)(S))==="object")for(A in S)C=S[A],b=b.att(A,C)}else if(x===t)w.options.cdata&&i(S)?b=b.raw(r(S)):b=b.txt(S);else if(Array.isArray(S))for(L in S){if(!o.call(S,L))continue;T=S[L],typeof T=="string"?w.options.cdata&&i(T)?b=b.ele(x).raw(r(T)).up():b=b.ele(x,T).up():b=s(b.ele(x),T).up()}else(typeof S=="undefined"?"undefined":(0,f.default)(S))==="object"?b=s(b.ele(x),S).up():typeof S=="string"&&w.options.cdata&&i(S)?b=b.ele(x).raw(r(S)).up():(S==null&&(S=""),b=b.ele(x,S.toString()).up())}return b}}(this),u=h.create(p,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),s(u,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(D,_,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(D,_,e){"use strict";var g=D("babel-runtime/core-js/promise"),f=i(g),y=D("babel-runtime/core-js/object/get-own-property-names"),m=i(y),v=D("babel-runtime/core-js/object/keys"),h=i(v),c=D("babel-runtime/helpers/typeof"),a=i(c);function i(r){return r&&r.__esModule?r:{default:r}}(function(){"use strict";var r,o,d,n,l,t,s,u,p=function(A,S){return function(){return A.apply(S,arguments)}},w=function(A,S){for(var T in S)b.call(S,T)&&(A[T]=S[T]);function L(){this.constructor=A}return L.prototype=S.prototype,A.prototype=new L,A.__super__=S.prototype,A},b={}.hasOwnProperty;s=D("sax"),d=D("events"),r=D("./bom"),t=D("./processors"),u=D("timers").setImmediate,o=D("./defaults").defaults,n=function(A){return(typeof A=="undefined"?"undefined":(0,a.default)(A))==="object"&&A!=null&&(0,h.default)(A).length===0},l=function(A,S,T){var L,x,C;for(L=0,x=A.length;L<x;L++)C=A[L],S=C(S,T);return S},e.Parser=function(E){w(A,E);function A(S){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,L,x;if(!(this instanceof e.Parser))return new e.Parser(S);this.options={},L=o["0.2"];for(T in L){if(!b.call(L,T))continue;x=L[T],this.options[T]=x}for(T in S){if(!b.call(S,T))continue;x=S[T],this.options[T]=x}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 A.prototype.processAsync=function(){var S,T;try{return this.remaining.length<=this.options.chunkSize?(S=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(S),this.saxParser.close()):(S=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(S),u(this.processAsync))}catch(L){if(T=L,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(T)}},A.prototype.assignOrPush=function(S,T,L){return T in S?(S[T]instanceof Array||(S[T]=[S[T]]),S[T].push(L)):this.options.explicitArray?S[T]=[L]:S[T]=L},A.prototype.reset=function(){var S,T,L,x;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(C){return function(I){if(C.saxParser.resume(),!C.saxParser.errThrown)return C.saxParser.errThrown=!0,C.emit("error",I)}}(this),this.saxParser.onend=function(C){return function(){if(!C.saxParser.ended)return C.saxParser.ended=!0,C.emit("end",C.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,x=[],S=this.options.attrkey,T=this.options.charkey,this.saxParser.onopentag=function(C){return function(I){var N,F,k,B,P;if(k={},k[T]="",!C.options.ignoreAttrs){P=I.attributes;for(N in P){if(!b.call(P,N))continue;!(S in k)&&!C.options.mergeAttrs&&(k[S]={}),F=C.options.attrValueProcessors?l(C.options.attrValueProcessors,I.attributes[N],N):I.attributes[N],B=C.options.attrNameProcessors?l(C.options.attrNameProcessors,N):N,C.options.mergeAttrs?C.assignOrPush(k,B,F):k[S][B]=F}}return k["#name"]=C.options.tagNameProcessors?l(C.options.tagNameProcessors,I.name):I.name,C.options.xmlns&&(k[C.options.xmlnskey]={uri:I.uri,local:I.local}),x.push(k)}}(this),this.saxParser.onclosetag=function(C){return function(){var I,N,F,k,B,P,K,R,U,j;if(P=x.pop(),B=P["#name"],(!C.options.explicitChildren||!C.options.preserveChildrenOrder)&&delete P["#name"],P.cdata===!0&&(I=P.cdata,delete P.cdata),U=x[x.length-1],P[T].match(/^\s*$/)&&!I?(N=P[T],delete P[T]):(C.options.trim&&(P[T]=P[T].trim()),C.options.normalize&&(P[T]=P[T].replace(/\s{2,}/g," ").trim()),P[T]=C.options.valueProcessors?l(C.options.valueProcessors,P[T],B):P[T],(0,h.default)(P).length===1&&T in P&&!C.EXPLICIT_CHARKEY&&(P=P[T])),n(P)&&(P=C.options.emptyTag!==""?C.options.emptyTag:N),C.options.validator!=null&&(j="/"+function(){var H,W,X;for(X=[],H=0,W=x.length;H<W;H++)k=x[H],X.push(k["#name"]);return X}().concat(B).join("/"),function(){var H;try{return P=C.options.validator(j,U&&U[B],P)}catch(W){return H=W,C.emit("error",H)}}()),C.options.explicitChildren&&!C.options.mergeAttrs&&(typeof P=="undefined"?"undefined":(0,a.default)(P))==="object"){if(!C.options.preserveChildrenOrder)k={},C.options.attrkey in P&&(k[C.options.attrkey]=P[C.options.attrkey],delete P[C.options.attrkey]),!C.options.charsAsChildren&&C.options.charkey in P&&(k[C.options.charkey]=P[C.options.charkey],delete P[C.options.charkey]),(0,m.default)(P).length>0&&(k[C.options.childkey]=P),P=k;else if(U){U[C.options.childkey]=U[C.options.childkey]||[],K={};for(F in P){if(!b.call(P,F))continue;K[F]=P[F]}U[C.options.childkey].push(K),delete P["#name"],(0,h.default)(P).length===1&&T in P&&!C.EXPLICIT_CHARKEY&&(P=P[T])}}return x.length>0?C.assignOrPush(U,B,P):(C.options.explicitRoot&&(R=P,P={},P[B]=R),C.resultObject=P,C.saxParser.ended=!0,C.emit("end",C.resultObject))}}(this),L=function(C){return function(I){var N,F;if(F=x[x.length-1],F)return F[T]+=I,C.options.explicitChildren&&C.options.preserveChildrenOrder&&C.options.charsAsChildren&&(C.options.includeWhiteChars||I.replace(/\\n/g,"").trim()!=="")&&(F[C.options.childkey]=F[C.options.childkey]||[],N={"#name":"__text__"},N[T]=I,C.options.normalize&&(N[T]=N[T].replace(/\s{2,}/g," ").trim()),F[C.options.childkey].push(N)),F}}(this),this.saxParser.ontext=L,this.saxParser.oncdata=function(C){return function(I){var N;if(N=L(I),N)return N.cdata=!0}}(this)},A.prototype.parseString=function(S,T){var L;T!=null&&typeof T=="function"&&(this.on("end",function(x){return this.reset(),T(null,x)}),this.on("error",function(x){return this.reset(),T(x)}));try{return S=S.toString(),S.trim()===""?(this.emit("end",null),!0):(S=r.stripBOM(S),this.options.async?(this.remaining=S,u(this.processAsync),this.saxParser):this.saxParser.write(S).close())}catch(x){if(L=x,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw L}else return this.emit("error",L),this.saxParser.errThrown=!0}},A.prototype.parseStringPromise=function(S){return new f.default(function(T){return function(L,x){return T.parseString(S,function(C,I){return C?x(C):L(I)})}}(this))},A}(d),e.parseString=function(E,A,S){var T,L,x;return S!=null?(typeof S=="function"&&(T=S),(typeof A=="undefined"?"undefined":(0,a.default)(A))==="object"&&(L=A)):(typeof A=="function"&&(T=A),L={}),x=new e.Parser(L),x.parseString(E,T)},e.parseStringPromise=function(E,A){var S,T;return(typeof A=="undefined"?"undefined":(0,a.default)(A))==="object"&&(S=A),T=new e.Parser(S),T.parseStringPromise(E)}}).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(D,_,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(D,_,e){"use strict";(function(){"use strict";var g,f,y,m,v=function(a,i){for(var r in i)h.call(i,r)&&(a[r]=i[r]);function o(){this.constructor=a}return o.prototype=i.prototype,a.prototype=new o,a.__super__=i.prototype,a},h={}.hasOwnProperty;f=D("./defaults"),g=D("./builder"),y=D("./parser"),m=D("./processors"),e.defaults=f.defaults,e.processors=m,e.ValidationError=function(c){v(a,c);function a(i){this.message=i}return a}(Error),e.Builder=g.Builder,e.Parser=y.Parser,e.parseString=y.parseString,e.parseStringPromise=y.parseStringPromise}).call(void 0)},{"./builder":245,"./defaults":246,"./parser":247,"./processors":248}],250:[function(D,_,e){"use strict";(function(){_.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(void 0)},{}],251:[function(D,_,e){"use strict";(function(){_.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(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/get-prototype-of"),f=c(g),y=D("babel-runtime/helpers/typeof"),m=c(y),v=D("babel-runtime/core-js/object/assign"),h=c(v);function c(a){return a&&a.__esModule?a:{default:a}}(function(){var a,i,r,o,d,n,l,t=[].slice,s={}.hasOwnProperty;a=function(){var p,w,b,E,A,S;if(S=arguments[0],A=2<=arguments.length?t.call(arguments,1):[],d(h.default))h.default.apply(null,arguments);else for(p=0,b=A.length;p<b;p++)if(E=A[p],E!=null)for(w in E){if(!s.call(E,w))continue;S[w]=E[w]}return S},d=function(p){return!!p&&Object.prototype.toString.call(p)==="[object Function]"},n=function(p){var w;return!!p&&((w=typeof p=="undefined"?"undefined":(0,m.default)(p))==="function"||w==="object")},r=function(p){return d(Array.isArray)?Array.isArray(p):Object.prototype.toString.call(p)==="[object Array]"},o=function(p){var w;if(r(p))return!p.length;for(w in p){if(!s.call(p,w))continue;return!1}return!0},l=function(p){var w,b;return n(p)&&(b=(0,f.default)(p))&&(w=b.constructor)&&typeof w=="function"&&w instanceof w&&Function.prototype.toString.call(w)===Function.prototype.toString.call(Object)},i=function(p){return d(p.valueOf)?p.valueOf():p},_.exports.assign=a,_.exports.isFunction=d,_.exports.isObject=n,_.exports.isArray=r,_.exports.isEmpty=o,_.exports.isPlainObject=l,_.exports.getValue=i}).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(D,_,e){"use strict";(function(){_.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(void 0)},{}],254:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h;m=D("./NodeType"),h=D("./XMLNode"),_.exports=v=function(){function c(a,i,r){if(this.parent=a,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),i==null)throw new Error("Missing attribute name. "+this.debugInfo(i));this.name=this.stringify.name(i),this.value=this.stringify.attValue(r),this.type=m.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(c.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(c.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(c.prototype,"textContent",{get:function(){return this.value},set:function(i){return this.value=i||""}}),Object.defineProperty(c.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(c.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(c.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(c.prototype,"specified",{get:function(){return!0}}),c.prototype.clone=function(){return(0,f.default)(this)},c.prototype.toString=function(a){return this.options.writer.attribute(this,this.options.writer.filterOptions(a))},c.prototype.debugInfo=function(a){return a=a||this.name,a==null?"parent: <"+this.parent.name+">":"attribute: {"+a+"}, parent: <"+this.parent.name+">"},c.prototype.isEqualNode=function(a){return a.namespaceURI!==this.namespaceURI||(a.prefix!==this.prefix||a.localName!==this.localName)?!1:!(a.value!==this.value)},c}()}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],255:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h,c=function(r,o){for(var d in o)a.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},a={}.hasOwnProperty;m=D("./NodeType"),h=D("./XMLCharacterData"),_.exports=v=function(i){c(r,i);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(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h=function(i,r){for(var o in r)c.call(r,o)&&(i[o]=r[o]);function d(){this.constructor=i}return d.prototype=r.prototype,i.prototype=new d,i.__super__=r.prototype,i},c={}.hasOwnProperty;v=D("./XMLNode"),_.exports=m=function(a){h(i,a);function i(r){i.__super__.constructor.call(this,r),this.value=""}return Object.defineProperty(i.prototype,"data",{get:function(){return this.value},set:function(o){return this.value=o||""}}),Object.defineProperty(i.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(i.prototype,"textContent",{get:function(){return this.value},set:function(o){return this.value=o||""}}),i.prototype.clone=function(){return(0,f.default)(this)},i.prototype.substringData=function(r,o){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.appendData=function(r){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.insertData=function(r,o){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.deleteData=function(r,o){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.replaceData=function(r,o,d){throw new Error("This DOM method is not implemented."+this.debugInfo())},i.prototype.isEqualNode=function(r){return i.__super__.isEqualNode.apply(this,arguments).isEqualNode(r)?!(r.data!==this.data):!1},i}(v)}).call(void 0)},{"./XMLNode":273,"babel-runtime/core-js/object/create":55}],257:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h,c=function(r,o){for(var d in o)a.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},a={}.hasOwnProperty;m=D("./NodeType"),v=D("./XMLCharacterData"),_.exports=h=function(i){c(r,i);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}(v)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],258:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/keys"),f=v(g),y=D("babel-runtime/core-js/object/create"),m=v(y);function v(h){return h&&h.__esModule?h:{default:h}}(function(){var h,c,a;c=D("./XMLDOMErrorHandler"),a=D("./XMLDOMStringList"),_.exports=h=function(){function i(){var r;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new c,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(i.prototype,"parameterNames",{get:function(){return new a((0,f.default)(this.defaultParams))}}),i.prototype.getParameter=function(r){return this.params.hasOwnProperty(r)?this.params[r]:null},i.prototype.canSetParameter=function(r,o){return!0},i.prototype.setParameter=function(r,o){return o!=null?this.params[r]=o:delete this.params[r]},i}()}).call(void 0)},{"./XMLDOMErrorHandler":259,"./XMLDOMStringList":261,"babel-runtime/core-js/object/create":55,"babel-runtime/core-js/object/keys":60}],259:[function(D,_,e){"use strict";(function(){var g;_.exports=g=function(){function f(){}return f.prototype.handleError=function(y){throw new Error(y)},f}()}).call(void 0)},{}],260:[function(D,_,e){"use strict";(function(){var g;_.exports=g=function(){function f(){}return f.prototype.hasFeature=function(y,m){return!0},f.prototype.createDocumentType=function(y,m,v){throw new Error("This DOM method is not implemented.")},f.prototype.createDocument=function(y,m,v){throw new Error("This DOM method is not implemented.")},f.prototype.createHTMLDocument=function(y){throw new Error("This DOM method is not implemented.")},f.prototype.getFeature=function(y,m){throw new Error("This DOM method is not implemented.")},f}()}).call(void 0)},{}],261:[function(D,_,e){"use strict";(function(){var g;_.exports=g=function(){function f(y){this.arr=y||[]}return Object.defineProperty(f.prototype,"length",{get:function(){return this.arr.length}}),f.prototype.item=function(y){return this.arr[y]||null},f.prototype.contains=function(y){return this.arr.indexOf(y)!==-1},f}()}).call(void 0)},{}],262:[function(D,_,e){"use strict";(function(){var g,f,y,m=function(c,a){for(var i in a)v.call(a,i)&&(c[i]=a[i]);function r(){this.constructor=c}return r.prototype=a.prototype,c.prototype=new r,c.__super__=a.prototype,c},v={}.hasOwnProperty;y=D("./XMLNode"),g=D("./NodeType"),_.exports=f=function(h){m(c,h);function c(a,i,r,o,d,n){if(c.__super__.constructor.call(this,a),i==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(r==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(i));if(!o)throw new Error("Missing DTD attribute type. "+this.debugInfo(i));if(!d)throw new Error("Missing DTD attribute default. "+this.debugInfo(i));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(i));if(n&&!d.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(i));this.elementName=this.stringify.name(i),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 c.prototype.toString=function(a){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(a))},c}(y)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],263:[function(D,_,e){"use strict";(function(){var g,f,y,m=function(c,a){for(var i in a)v.call(a,i)&&(c[i]=a[i]);function r(){this.constructor=c}return r.prototype=a.prototype,c.prototype=new r,c.__super__=a.prototype,c},v={}.hasOwnProperty;y=D("./XMLNode"),g=D("./NodeType"),_.exports=f=function(h){m(c,h);function c(a,i,r){if(c.__super__.constructor.call(this,a),i==null)throw new Error("Missing DTD element name. "+this.debugInfo());r||(r="(#PCDATA)"),Array.isArray(r)&&(r="("+r.join(",")+")"),this.name=this.stringify.name(i),this.type=g.ElementDeclaration,this.value=this.stringify.dtdElementValue(r)}return c.prototype.toString=function(a){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(a))},c}(y)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],264:[function(D,_,e){"use strict";(function(){var g,f,y,m,v=function(a,i){for(var r in i)h.call(i,r)&&(a[r]=i[r]);function o(){this.constructor=a}return o.prototype=i.prototype,a.prototype=new o,a.__super__=i.prototype,a},h={}.hasOwnProperty;m=D("./Utility").isObject,y=D("./XMLNode"),g=D("./NodeType"),_.exports=f=function(c){v(a,c);function a(i,r,o,d){if(a.__super__.constructor.call(this,i),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(a.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(a.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(a.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(a.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(a.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(a.prototype,"xmlVersion",{get:function(){return null}}),a.prototype.toString=function(i){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(i))},a}(y)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],265:[function(D,_,e){"use strict";(function(){var g,f,y,m=function(c,a){for(var i in a)v.call(a,i)&&(c[i]=a[i]);function r(){this.constructor=c}return r.prototype=a.prototype,c.prototype=new r,c.__super__=a.prototype,c},v={}.hasOwnProperty;y=D("./XMLNode"),g=D("./NodeType"),_.exports=f=function(h){m(c,h);function c(a,i,r){if(c.__super__.constructor.call(this,a),i==null)throw new Error("Missing DTD notation name. "+this.debugInfo(i));if(!r.pubID&&!r.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(i));this.name=this.stringify.name(i),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(c.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(c.prototype,"systemId",{get:function(){return this.sysID}}),c.prototype.toString=function(a){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(a))},c}(y)}).call(void 0)},{"./NodeType":251,"./XMLNode":273}],266:[function(D,_,e){"use strict";(function(){var g,f,y,m,v=function(a,i){for(var r in i)h.call(i,r)&&(a[r]=i[r]);function o(){this.constructor=a}return o.prototype=i.prototype,a.prototype=new o,a.__super__=i.prototype,a},h={}.hasOwnProperty;m=D("./Utility").isObject,y=D("./XMLNode"),g=D("./NodeType"),_.exports=f=function(c){v(a,c);function a(i,r,o,d){var n;a.__super__.constructor.call(this,i),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 a.prototype.toString=function(i){return this.options.writer.declaration(this,this.options.writer.filterOptions(i))},a}(y)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLNode":273}],267:[function(D,_,e){"use strict";(function(){var g,f,y,m,v,h,c,a,i,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;i=D("./Utility").isObject,a=D("./XMLNode"),g=D("./NodeType"),f=D("./XMLDTDAttList"),m=D("./XMLDTDEntity"),y=D("./XMLDTDElement"),v=D("./XMLDTDNotation"),c=D("./XMLNamedNodeMap"),_.exports=h=function(d){r(n,d);function n(l,t,s){var u,p,w,b,E,A;if(n.__super__.constructor.call(this,l),this.type=g.DocType,l.children){for(b=l.children,p=0,w=b.length;p<w;p++)if(u=b[p],u.type===g.Element){this.name=u.name;break}}this.documentObject=l,i(t)&&(E=t,t=E.pubID,s=E.sysID),s==null&&(A=[t,s],s=A[0],t=A[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,u,p,w;for(p={},w=this.children,s=0,u=w.length;s<u;s++)t=w[s],t.type===g.EntityDeclaration&&!t.pe&&(p[t.name]=t);return new c(p)}}),Object.defineProperty(n.prototype,"notations",{get:function(){var t,s,u,p,w;for(p={},w=this.children,s=0,u=w.length;s<u;s++)t=w[s],t.type===g.NotationDeclaration&&(p[t.name]=t);return new c(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 y(this,l,t),this.children.push(s),this},n.prototype.attList=function(l,t,s,u,p){var w;return w=new f(this,l,t,s,u,p),this.children.push(w),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 v(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,u,p){return this.attList(l,t,s,u,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}(a)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDTDAttList":262,"./XMLDTDElement":263,"./XMLDTDEntity":264,"./XMLDTDNotation":265,"./XMLNamedNodeMap":272,"./XMLNode":273}],268:[function(D,_,e){"use strict";(function(){var g,f,y,m,v,h,c,a,i=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;a=D("./Utility").isPlainObject,y=D("./XMLDOMImplementation"),f=D("./XMLDOMConfiguration"),v=D("./XMLNode"),g=D("./NodeType"),c=D("./XMLStringifier"),h=D("./XMLStringWriter"),_.exports=m=function(o){i(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 c(n)}return Object.defineProperty(d.prototype,"implementation",{value:new y}),Object.defineProperty(d.prototype,"doctype",{get:function(){var l,t,s,u;for(u=this.children,t=0,s=u.length;t<s;t++)if(l=u[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?a(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}(v)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLDOMConfiguration":258,"./XMLDOMImplementation":260,"./XMLNode":273,"./XMLStringWriter":278,"./XMLStringifier":279}],269:[function(D,_,e){"use strict";(function(){var g,f,y,m,v,h,c,a,i,r,o,d,n,l,t,s,u,p,w,b,E,A,S,T,L={}.hasOwnProperty;T=D("./Utility"),A=T.isObject,E=T.isFunction,S=T.isPlainObject,b=T.getValue,g=D("./NodeType"),d=D("./XMLDocument"),l=D("./XMLElement"),m=D("./XMLCData"),v=D("./XMLComment"),s=D("./XMLRaw"),w=D("./XMLText"),t=D("./XMLProcessingInstruction"),r=D("./XMLDeclaration"),o=D("./XMLDocType"),h=D("./XMLDTDAttList"),a=D("./XMLDTDEntity"),c=D("./XMLDTDElement"),i=D("./XMLDTDNotation"),y=D("./XMLAttribute"),p=D("./XMLStringifier"),u=D("./XMLStringWriter"),f=D("./WriterState"),_.exports=n=function(){function x(C,I,N){var F;this.name="?xml",this.type=g.Document,C||(C={}),F={},C.writer?S(C.writer)&&(F=C.writer,C.writer=new u):C.writer=new u,this.options=C,this.writer=C.writer,this.writerOptions=this.writer.filterOptions(F),this.stringify=new p(C),this.onDataCallback=I||function(){},this.onEndCallback=N||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return x.prototype.createChildNode=function(C){var I,N,F,k,B,P,K,R;switch(C.type){case g.CData:this.cdata(C.value);break;case g.Comment:this.comment(C.value);break;case g.Element:F={},K=C.attribs;for(N in K){if(!L.call(K,N))continue;I=K[N],F[N]=I.value}this.node(C.name,F);break;case g.Dummy:this.dummy();break;case g.Raw:this.raw(C.value);break;case g.Text:this.text(C.value);break;case g.ProcessingInstruction:this.instruction(C.target,C.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+C.constructor.name)}for(R=C.children,B=0,P=R.length;B<P;B++)k=R[B],this.createChildNode(k),k.type===g.Element&&this.up();return this},x.prototype.dummy=function(){return this},x.prototype.node=function(C,I,N){var F;if(C==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(C));return this.openCurrent(),C=b(C),I==null&&(I={}),I=b(I),A(I)||(F=[I,N],N=F[0],I=F[1]),this.currentNode=new l(this,C,I),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,N!=null&&this.text(N),this},x.prototype.element=function(C,I,N){var F,k,B,P,K,R;if(this.currentNode&&this.currentNode.type===g.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(C)||A(C)||E(C))for(P=this.options.noValidation,this.options.noValidation=!0,R=new d(this.options).element("TEMP_ROOT"),R.element(C),this.options.noValidation=P,K=R.children,k=0,B=K.length;k<B;k++)F=K[k],this.createChildNode(F),F.type===g.Element&&this.up();else this.node(C,I,N);return this},x.prototype.attribute=function(C,I){var N,F;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(C));if(C!=null&&(C=b(C)),A(C))for(N in C){if(!L.call(C,N))continue;F=C[N],this.attribute(N,F)}else E(I)&&(I=I.apply()),this.options.keepNullAttributes&&I==null?this.currentNode.attribs[C]=new y(this,C,""):I!=null&&(this.currentNode.attribs[C]=new y(this,C,I));return this},x.prototype.text=function(C){var I;return this.openCurrent(),I=new w(this,C),this.onData(this.writer.text(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.cdata=function(C){var I;return this.openCurrent(),I=new m(this,C),this.onData(this.writer.cdata(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.comment=function(C){var I;return this.openCurrent(),I=new v(this,C),this.onData(this.writer.comment(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.raw=function(C){var I;return this.openCurrent(),I=new s(this,C),this.onData(this.writer.raw(I,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.instruction=function(C,I){var N,F,k,B,P;if(this.openCurrent(),C!=null&&(C=b(C)),I!=null&&(I=b(I)),Array.isArray(C))for(N=0,B=C.length;N<B;N++)F=C[N],this.instruction(F);else if(A(C))for(F in C){if(!L.call(C,F))continue;k=C[F],this.instruction(F,k)}else E(I)&&(I=I.apply()),P=new t(this,C,I),this.onData(this.writer.processingInstruction(P,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},x.prototype.declaration=function(C,I,N){var F;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return F=new r(this,C,I,N),this.onData(this.writer.declaration(F,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.doctype=function(C,I,N){if(this.openCurrent(),C==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,I,N),this.currentNode.rootNodeName=C,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},x.prototype.dtdElement=function(C,I){var N;return this.openCurrent(),N=new c(this,C,I),this.onData(this.writer.dtdElement(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.attList=function(C,I,N,F,k){var B;return this.openCurrent(),B=new h(this,C,I,N,F,k),this.onData(this.writer.dtdAttList(B,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.entity=function(C,I){var N;return this.openCurrent(),N=new a(this,!1,C,I),this.onData(this.writer.dtdEntity(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.pEntity=function(C,I){var N;return this.openCurrent(),N=new a(this,!0,C,I),this.onData(this.writer.dtdEntity(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.prototype.notation=function(C,I){var N;return this.openCurrent(),N=new i(this,C,I),this.onData(this.writer.dtdNotation(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},x.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},x.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},x.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},x.prototype.openNode=function(C){var I,N,F,k;if(!C.isOpen){if(!this.root&&this.currentLevel===0&&C.type===g.Element&&(this.root=C),N="",C.type===g.Element){this.writerOptions.state=f.OpenTag,N=this.writer.indent(C,this.writerOptions,this.currentLevel)+"<"+C.name,k=C.attribs;for(F in k){if(!L.call(k,F))continue;I=k[F],N+=this.writer.attribute(I,this.writerOptions,this.currentLevel)}N+=(C.children?">":"/>")+this.writer.endline(C,this.writerOptions,this.currentLevel),this.writerOptions.state=f.InsideTag}else this.writerOptions.state=f.OpenTag,N=this.writer.indent(C,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+C.rootNodeName,C.pubID&&C.sysID?N+=' PUBLIC "'+C.pubID+'" "'+C.sysID+'"':C.sysID&&(N+=' SYSTEM "'+C.sysID+'"'),C.children?(N+=" [",this.writerOptions.state=f.InsideTag):(this.writerOptions.state=f.CloseTag,N+=">"),N+=this.writer.endline(C,this.writerOptions,this.currentLevel);return this.onData(N,this.currentLevel),C.isOpen=!0}},x.prototype.closeNode=function(C){var I;if(!C.isClosed)return I="",this.writerOptions.state=f.CloseTag,C.type===g.Element?I=this.writer.indent(C,this.writerOptions,this.currentLevel)+"</"+C.name+">"+this.writer.endline(C,this.writerOptions,this.currentLevel):I=this.writer.indent(C,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(C,this.writerOptions,this.currentLevel),this.writerOptions.state=f.None,this.onData(I,this.currentLevel),C.isClosed=!0},x.prototype.onData=function(C,I){return this.documentStarted=!0,this.onDataCallback(C,I+1)},x.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},x.prototype.debugInfo=function(C){return C==null?"":"node: <"+C+">"},x.prototype.ele=function(){return this.element.apply(this,arguments)},x.prototype.nod=function(C,I,N){return this.node(C,I,N)},x.prototype.txt=function(C){return this.text(C)},x.prototype.dat=function(C){return this.cdata(C)},x.prototype.com=function(C){return this.comment(C)},x.prototype.ins=function(C,I){return this.instruction(C,I)},x.prototype.dec=function(C,I,N){return this.declaration(C,I,N)},x.prototype.dtd=function(C,I,N){return this.doctype(C,I,N)},x.prototype.e=function(C,I,N){return this.element(C,I,N)},x.prototype.n=function(C,I,N){return this.node(C,I,N)},x.prototype.t=function(C){return this.text(C)},x.prototype.d=function(C){return this.cdata(C)},x.prototype.c=function(C){return this.comment(C)},x.prototype.r=function(C){return this.raw(C)},x.prototype.i=function(C,I){return this.instruction(C,I)},x.prototype.att=function(){return this.currentNode&&this.currentNode.type===g.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},x.prototype.a=function(){return this.currentNode&&this.currentNode.type===g.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},x.prototype.ent=function(C,I){return this.entity(C,I)},x.prototype.pent=function(C,I){return this.pEntity(C,I)},x.prototype.not=function(C,I){return this.notation(C,I)},x}()}).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(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h,c=function(r,o){for(var d in o)a.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},a={}.hasOwnProperty;h=D("./XMLNode"),m=D("./NodeType"),_.exports=v=function(i){c(r,i);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(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h,c,a,i,r,o,d,n=function(s,u){for(var p in u)l.call(u,p)&&(s[p]=u[p]);function w(){this.constructor=s}return w.prototype=u.prototype,s.prototype=new w,s.__super__=u.prototype,s},l={}.hasOwnProperty;d=D("./Utility"),o=d.isObject,r=d.isFunction,i=d.getValue,a=D("./XMLNode"),m=D("./NodeType"),v=D("./XMLAttribute"),c=D("./XMLNamedNodeMap"),_.exports=h=function(t){n(s,t);function s(u,p,w){var b,E,A,S;if(s.__super__.constructor.call(this,u),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,w!=null&&this.attribute(w),u.type===m.Document&&(this.isRoot=!0,this.documentObject=u,u.rootObject=this,u.children)){for(S=u.children,E=0,A=S.length;E<A;E++)if(b=S[E],b.type===m.DocType){b.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 c(this.attribs)),this.attributeMap}}),s.prototype.clone=function(){var u,p,w,b;w=(0,f.default)(this),w.isRoot&&(w.documentObject=null),w.attribs={},b=this.attribs;for(p in b){if(!l.call(b,p))continue;u=b[p],w.attribs[p]=u.clone()}return w.children=[],this.children.forEach(function(E){var A;return A=E.clone(),A.parent=w,w.children.push(A)}),w},s.prototype.attribute=function(u,p){var w,b;if(u!=null&&(u=i(u)),o(u))for(w in u){if(!l.call(u,w))continue;b=u[w],this.attribute(w,b)}else r(p)&&(p=p.apply()),this.options.keepNullAttributes&&p==null?this.attribs[u]=new v(this,u,""):p!=null&&(this.attribs[u]=new v(this,u,p));return this},s.prototype.removeAttribute=function(u){var p,w,b;if(u==null)throw new Error("Missing attribute name. "+this.debugInfo());if(u=i(u),Array.isArray(u))for(w=0,b=u.length;w<b;w++)p=u[w],delete this.attribs[p];else delete this.attribs[u];return this},s.prototype.toString=function(u){return this.options.writer.element(this,this.options.writer.filterOptions(u))},s.prototype.att=function(u,p){return this.attribute(u,p)},s.prototype.a=function(u,p){return this.attribute(u,p)},s.prototype.getAttribute=function(u){return this.attribs.hasOwnProperty(u)?this.attribs[u].value:null},s.prototype.setAttribute=function(u,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNode=function(u){return this.attribs.hasOwnProperty(u)?this.attribs[u]:null},s.prototype.setAttributeNode=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.removeAttributeNode=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagName=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNS=function(u,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setAttributeNS=function(u,p,w){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.removeAttributeNS=function(u,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getAttributeNodeNS=function(u,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setAttributeNodeNS=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagNameNS=function(u,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.hasAttribute=function(u){return this.attribs.hasOwnProperty(u)},s.prototype.hasAttributeNS=function(u,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setIdAttribute=function(u,p){return this.attribs.hasOwnProperty(u)?this.attribs[u].isId:p},s.prototype.setIdAttributeNS=function(u,p,w){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.setIdAttributeNode=function(u,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagName=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByTagNameNS=function(u,p){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.getElementsByClassName=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},s.prototype.isEqualNode=function(u){var p,w,b;if(!s.__super__.isEqualNode.apply(this,arguments).isEqualNode(u))return!1;if(u.namespaceURI!==this.namespaceURI)return!1;if(u.prefix!==this.prefix)return!1;if(u.localName!==this.localName)return!1;if(u.attribs.length!==this.attribs.length)return!1;for(p=w=0,b=this.attribs.length-1;0<=b?w<=b:w>=b;p=0<=b?++w:--w)if(!this.attribs[p].isEqualNode(u.attribs[p]))return!1;return!0},s}(a)}).call(void 0)},{"./NodeType":251,"./Utility":252,"./XMLAttribute":254,"./XMLNamedNodeMap":272,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],272:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/keys"),f=y(g);function y(m){return m&&m.__esModule?m:{default:m}}(function(){var m;_.exports=m=function(){function v(h){this.nodes=h}return Object.defineProperty(v.prototype,"length",{get:function(){return(0,f.default)(this.nodes).length||0}}),v.prototype.clone=function(){return this.nodes=null},v.prototype.getNamedItem=function(h){return this.nodes[h]},v.prototype.setNamedItem=function(h){var c;return c=this.nodes[h.nodeName],this.nodes[h.nodeName]=h,c||null},v.prototype.removeNamedItem=function(h){var c;return c=this.nodes[h],delete this.nodes[h],c||null},v.prototype.item=function(h){return this.nodes[(0,f.default)(this.nodes)[h]]||null},v.prototype.getNamedItemNS=function(h,c){throw new Error("This DOM method is not implemented.")},v.prototype.setNamedItemNS=function(h){throw new Error("This DOM method is not implemented.")},v.prototype.removeNamedItemNS=function(h,c){throw new Error("This DOM method is not implemented.")},v}()}).call(void 0)},{"babel-runtime/core-js/object/keys":60}],273:[function(D,_,e){"use strict";(function(){var g,f,y,m,v,h,c,a,i,r,o,d,n,l,t,s,u,p,w,b={}.hasOwnProperty;w=D("./Utility"),p=w.isObject,u=w.isFunction,s=w.isEmpty,t=w.getValue,a=null,y=null,m=null,v=null,h=null,n=null,l=null,d=null,c=null,f=null,o=null,i=null,g=null,_.exports=r=function(){function E(A){this.parent=A,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,a||(a=D("./XMLElement"),y=D("./XMLCData"),m=D("./XMLComment"),v=D("./XMLDeclaration"),h=D("./XMLDocType"),n=D("./XMLRaw"),l=D("./XMLText"),d=D("./XMLProcessingInstruction"),c=D("./XMLDummy"),f=D("./NodeType"),o=D("./XMLNodeList"),i=D("./XMLNamedNodeMap"),g=D("./DocumentPosition"))}return Object.defineProperty(E.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(E.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(E.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(E.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(E.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new o(this.children)),this.childNodeList}}),Object.defineProperty(E.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(E.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(E.prototype,"previousSibling",{get:function(){var S;return S=this.parent.children.indexOf(this),this.parent.children[S-1]||null}}),Object.defineProperty(E.prototype,"nextSibling",{get:function(){var S;return S=this.parent.children.indexOf(this),this.parent.children[S+1]||null}}),Object.defineProperty(E.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(E.prototype,"textContent",{get:function(){var S,T,L,x,C;if(this.nodeType===f.Element||this.nodeType===f.DocumentFragment){for(C="",x=this.children,T=0,L=x.length;T<L;T++)S=x[T],S.textContent&&(C+=S.textContent);return C}else return null},set:function(S){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),E.prototype.setParent=function(A){var S,T,L,x,C;for(this.parent=A,A&&(this.options=A.options,this.stringify=A.stringify),x=this.children,C=[],T=0,L=x.length;T<L;T++)S=x[T],C.push(S.setParent(this));return C},E.prototype.element=function(A,S,T){var L,x,C,I,N,F,k,B,P,K,R;if(F=null,S===null&&T==null&&(P=[{},null],S=P[0],T=P[1]),S==null&&(S={}),S=t(S),p(S)||(K=[S,T],T=K[0],S=K[1]),A!=null&&(A=t(A)),Array.isArray(A))for(C=0,k=A.length;C<k;C++)x=A[C],F=this.element(x);else if(u(A))F=this.element(A.apply());else if(p(A))for(N in A){if(!b.call(A,N))continue;if(R=A[N],u(R)&&(R=R.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&N.indexOf(this.stringify.convertAttKey)===0)F=this.attribute(N.substr(this.stringify.convertAttKey.length),R);else if(!this.options.separateArrayItems&&Array.isArray(R)&&s(R))F=this.dummy();else if(p(R)&&s(R))F=this.element(N);else if(!this.options.keepNullNodes&&R==null)F=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(R))for(I=0,B=R.length;I<B;I++)x=R[I],L={},L[N]=x,F=this.element(L);else p(R)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&N.indexOf(this.stringify.convertTextKey)===0?F=this.element(R):(F=this.element(N),F.element(R)):F=this.element(N,R)}else!this.options.keepNullNodes&&T===null?F=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&A.indexOf(this.stringify.convertTextKey)===0?F=this.text(T):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&A.indexOf(this.stringify.convertCDataKey)===0?F=this.cdata(T):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&A.indexOf(this.stringify.convertCommentKey)===0?F=this.comment(T):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&A.indexOf(this.stringify.convertRawKey)===0?F=this.raw(T):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&A.indexOf(this.stringify.convertPIKey)===0?F=this.instruction(A.substr(this.stringify.convertPIKey.length),T):F=this.node(A,S,T);if(F==null)throw new Error("Could not create any elements with: "+A+". "+this.debugInfo());return F},E.prototype.insertBefore=function(A,S,T){var L,x,C,I,N;if(A!=null?A.type:void 0)return C=A,I=S,C.setParent(this),I?(x=children.indexOf(I),N=children.splice(x),children.push(C),Array.prototype.push.apply(children,N)):children.push(C),C;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(A));return x=this.parent.children.indexOf(this),N=this.parent.children.splice(x),L=this.parent.element(A,S,T),Array.prototype.push.apply(this.parent.children,N),L},E.prototype.insertAfter=function(A,S,T){var L,x,C;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(A));return x=this.parent.children.indexOf(this),C=this.parent.children.splice(x+1),L=this.parent.element(A,S,T),Array.prototype.push.apply(this.parent.children,C),L},E.prototype.remove=function(){var A,S;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return A=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[A,A-A+1].concat(S=[])),this.parent},E.prototype.node=function(A,S,T){var L,x;return A!=null&&(A=t(A)),S||(S={}),S=t(S),p(S)||(x=[S,T],T=x[0],S=x[1]),L=new a(this,A,S),T!=null&&L.text(T),this.children.push(L),L},E.prototype.text=function(A){var S;return p(A)&&this.element(A),S=new l(this,A),this.children.push(S),this},E.prototype.cdata=function(A){var S;return S=new y(this,A),this.children.push(S),this},E.prototype.comment=function(A){var S;return S=new m(this,A),this.children.push(S),this},E.prototype.commentBefore=function(A){var S,T,L;return T=this.parent.children.indexOf(this),L=this.parent.children.splice(T),S=this.parent.comment(A),Array.prototype.push.apply(this.parent.children,L),this},E.prototype.commentAfter=function(A){var S,T,L;return T=this.parent.children.indexOf(this),L=this.parent.children.splice(T+1),S=this.parent.comment(A),Array.prototype.push.apply(this.parent.children,L),this},E.prototype.raw=function(A){var S;return S=new n(this,A),this.children.push(S),this},E.prototype.dummy=function(){var A;return A=new c(this),A},E.prototype.instruction=function(A,S){var T,L,x,C,I;if(A!=null&&(A=t(A)),S!=null&&(S=t(S)),Array.isArray(A))for(C=0,I=A.length;C<I;C++)T=A[C],this.instruction(T);else if(p(A))for(T in A){if(!b.call(A,T))continue;L=A[T],this.instruction(T,L)}else u(S)&&(S=S.apply()),x=new d(this,A,S),this.children.push(x);return this},E.prototype.instructionBefore=function(A,S){var T,L,x;return L=this.parent.children.indexOf(this),x=this.parent.children.splice(L),T=this.parent.instruction(A,S),Array.prototype.push.apply(this.parent.children,x),this},E.prototype.instructionAfter=function(A,S){var T,L,x;return L=this.parent.children.indexOf(this),x=this.parent.children.splice(L+1),T=this.parent.instruction(A,S),Array.prototype.push.apply(this.parent.children,x),this},E.prototype.declaration=function(A,S,T){var L,x;return L=this.document(),x=new v(L,A,S,T),L.children.length===0?L.children.unshift(x):L.children[0].type===f.Declaration?L.children[0]=x:L.children.unshift(x),L.root()||L},E.prototype.dtd=function(A,S){var T,L,x,C,I,N,F,k,B,P;for(L=this.document(),x=new h(L,A,S),B=L.children,C=I=0,F=B.length;I<F;C=++I)if(T=B[C],T.type===f.DocType)return L.children[C]=x,x;for(P=L.children,C=N=0,k=P.length;N<k;C=++N)if(T=P[C],T.isRoot)return L.children.splice(C,0,x),x;return L.children.push(x),x},E.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},E.prototype.root=function(){var A;for(A=this;A;){if(A.type===f.Document)return A.rootObject;if(A.isRoot)return A;A=A.parent}},E.prototype.document=function(){var A;for(A=this;A;){if(A.type===f.Document)return A;A=A.parent}},E.prototype.end=function(A){return this.document().end(A)},E.prototype.prev=function(){var A;if(A=this.parent.children.indexOf(this),A<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[A-1]},E.prototype.next=function(){var A;if(A=this.parent.children.indexOf(this),A===-1||A===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[A+1]},E.prototype.importDocument=function(A){var S;return S=A.root().clone(),S.parent=this,S.isRoot=!1,this.children.push(S),this},E.prototype.debugInfo=function(A){var S,T;return A=A||this.name,A==null&&!((S=this.parent)!=null?S.name:void 0)?"":A==null?"parent: <"+this.parent.name+">":((T=this.parent)!=null?T.name:void 0)?"node: <"+A+">, parent: <"+this.parent.name+">":"node: <"+A+">"},E.prototype.ele=function(A,S,T){return this.element(A,S,T)},E.prototype.nod=function(A,S,T){return this.node(A,S,T)},E.prototype.txt=function(A){return this.text(A)},E.prototype.dat=function(A){return this.cdata(A)},E.prototype.com=function(A){return this.comment(A)},E.prototype.ins=function(A,S){return this.instruction(A,S)},E.prototype.doc=function(){return this.document()},E.prototype.dec=function(A,S,T){return this.declaration(A,S,T)},E.prototype.e=function(A,S,T){return this.element(A,S,T)},E.prototype.n=function(A,S,T){return this.node(A,S,T)},E.prototype.t=function(A){return this.text(A)},E.prototype.d=function(A){return this.cdata(A)},E.prototype.c=function(A){return this.comment(A)},E.prototype.r=function(A){return this.raw(A)},E.prototype.i=function(A,S){return this.instruction(A,S)},E.prototype.u=function(){return this.up()},E.prototype.importXMLBuilder=function(A){return this.importDocument(A)},E.prototype.replaceChild=function(A,S){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.removeChild=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.appendChild=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.hasChildNodes=function(){return this.children.length!==0},E.prototype.cloneNode=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.isSupported=function(A,S){return!0},E.prototype.hasAttributes=function(){return this.attribs.length!==0},E.prototype.compareDocumentPosition=function(A){var S,T;return S=this,S===A?0:this.document()!==A.document()?(T=g.Disconnected|g.ImplementationSpecific,Math.random()<.5?T|=g.Preceding:T|=g.Following,T):S.isAncestor(A)?g.Contains|g.Preceding:S.isDescendant(A)?g.Contains|g.Following:S.isPreceding(A)?g.Preceding:g.Following},E.prototype.isSameNode=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.lookupPrefix=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.isDefaultNamespace=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.lookupNamespaceURI=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.isEqualNode=function(A){var S,T,L;if(A.nodeType!==this.nodeType)return!1;if(A.children.length!==this.children.length)return!1;for(S=T=0,L=this.children.length-1;0<=L?T<=L:T>=L;S=0<=L?++T:--T)if(!this.children[S].isEqualNode(A.children[S]))return!1;return!0},E.prototype.getFeature=function(A,S){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.setUserData=function(A,S,T){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.getUserData=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},E.prototype.contains=function(A){return A?A===this||this.isDescendant(A):!1},E.prototype.isDescendant=function(A){var S,T,L,x,C;for(C=this.children,L=0,x=C.length;L<x;L++){if(S=C[L],A===S)return!0;if(T=S.isDescendant(A),T)return!0}return!1},E.prototype.isAncestor=function(A){return A.isDescendant(this)},E.prototype.isPreceding=function(A){var S,T;return S=this.treePosition(A),T=this.treePosition(this),S===-1||T===-1?!1:S<T},E.prototype.isFollowing=function(A){var S,T;return S=this.treePosition(A),T=this.treePosition(this),S===-1||T===-1?!1:S>T},E.prototype.treePosition=function(A){var S,T;return T=0,S=!1,this.foreachTreeNode(this.document(),function(L){if(T++,!S&&L===A)return S=!0}),S?T:-1},E.prototype.foreachTreeNode=function(A,S){var T,L,x,C,I;for(A||(A=this.document()),C=A.children,L=0,x=C.length;L<x;L++){if(T=C[L],I=S(T))return I;if(I=this.foreachTreeNode(T,S),I)return I}},E}()}).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(D,_,e){"use strict";(function(){var g;_.exports=g=function(){function f(y){this.nodes=y}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(y){return this.nodes[y]||null},f}()}).call(void 0)},{}],275:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h,c=function(r,o){for(var d in o)a.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},a={}.hasOwnProperty;m=D("./NodeType"),v=D("./XMLCharacterData"),_.exports=h=function(i){c(r,i);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}(v)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],276:[function(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h,c=function(r,o){for(var d in o)a.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},a={}.hasOwnProperty;m=D("./NodeType"),v=D("./XMLNode"),_.exports=h=function(i){c(r,i);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}(v)}).call(void 0)},{"./NodeType":251,"./XMLNode":273,"babel-runtime/core-js/object/create":55}],277:[function(D,_,e){"use strict";(function(){var g,f,y,m,v=function(a,i){for(var r in i)h.call(i,r)&&(a[r]=i[r]);function o(){this.constructor=a}return o.prototype=i.prototype,a.prototype=new o,a.__super__=i.prototype,a},h={}.hasOwnProperty;g=D("./NodeType"),m=D("./XMLWriterBase"),f=D("./WriterState"),_.exports=y=function(c){v(a,c);function a(i,r){this.stream=i,a.__super__.constructor.call(this,r)}return a.prototype.endline=function(i,r,o){return i.isLastRootNode&&r.state===f.CloseTag?"":a.__super__.endline.call(this,i,r,o)},a.prototype.document=function(i,r){var o,d,n,l,t,s,u,p,w;for(u=i.children,d=n=0,t=u.length;n<t;d=++n)o=u[d],o.isLastRootNode=d===i.children.length-1;for(r=this.filterOptions(r),p=i.children,w=[],l=0,s=p.length;l<s;l++)o=p[l],w.push(this.writeChildNode(o,r,0));return w},a.prototype.attribute=function(i,r,o){return this.stream.write(a.__super__.attribute.call(this,i,r,o))},a.prototype.cdata=function(i,r,o){return this.stream.write(a.__super__.cdata.call(this,i,r,o))},a.prototype.comment=function(i,r,o){return this.stream.write(a.__super__.comment.call(this,i,r,o))},a.prototype.declaration=function(i,r,o){return this.stream.write(a.__super__.declaration.call(this,i,r,o))},a.prototype.docType=function(i,r,o){var d,n,l,t;if(o||(o=0),this.openNode(i,r,o),r.state=f.OpenTag,this.stream.write(this.indent(i,r,o)),this.stream.write("<!DOCTYPE "+i.root().name),i.pubID&&i.sysID?this.stream.write(' PUBLIC "'+i.pubID+'" "'+i.sysID+'"'):i.sysID&&this.stream.write(' SYSTEM "'+i.sysID+'"'),i.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(i,r,o)),r.state=f.InsideTag,t=i.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(i,r,o)),r.state=f.None,this.closeNode(i,r,o)},a.prototype.element=function(i,r,o){var d,n,l,t,s,u,p,w,b,E;o||(o=0),this.openNode(i,r,o),r.state=f.OpenTag,this.stream.write(this.indent(i,r,o)+"<"+i.name),b=i.attribs;for(p in b){if(!h.call(b,p))continue;d=b[p],this.attribute(d,r,o)}if(l=i.children.length,t=l===0?null:i.children[0],l===0||i.children.every(function(A){return(A.type===g.Text||A.type===g.Raw)&&A.value===""}))r.allowEmpty?(this.stream.write(">"),r.state=f.CloseTag,this.stream.write("</"+i.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++,w=!0,this.writeChildNode(t,r,o+1),r.suppressPrettyCount--,w=!1,r.state=f.CloseTag,this.stream.write("</"+i.name+">");else{for(this.stream.write(">"+this.endline(i,r,o)),r.state=f.InsideTag,E=i.children,s=0,u=E.length;s<u;s++)n=E[s],this.writeChildNode(n,r,o+1);r.state=f.CloseTag,this.stream.write(this.indent(i,r,o)+"</"+i.name+">")}return this.stream.write(this.endline(i,r,o)),r.state=f.None,this.closeNode(i,r,o)},a.prototype.processingInstruction=function(i,r,o){return this.stream.write(a.__super__.processingInstruction.call(this,i,r,o))},a.prototype.raw=function(i,r,o){return this.stream.write(a.__super__.raw.call(this,i,r,o))},a.prototype.text=function(i,r,o){return this.stream.write(a.__super__.text.call(this,i,r,o))},a.prototype.dtdAttList=function(i,r,o){return this.stream.write(a.__super__.dtdAttList.call(this,i,r,o))},a.prototype.dtdElement=function(i,r,o){return this.stream.write(a.__super__.dtdElement.call(this,i,r,o))},a.prototype.dtdEntity=function(i,r,o){return this.stream.write(a.__super__.dtdEntity.call(this,i,r,o))},a.prototype.dtdNotation=function(i,r,o){return this.stream.write(a.__super__.dtdNotation.call(this,i,r,o))},a}(m)}).call(void 0)},{"./NodeType":251,"./WriterState":253,"./XMLWriterBase":281}],278:[function(D,_,e){"use strict";(function(){var g,f,y=function(h,c){for(var a in c)m.call(c,a)&&(h[a]=c[a]);function i(){this.constructor=h}return i.prototype=c.prototype,h.prototype=new i,h.__super__=c.prototype,h},m={}.hasOwnProperty;f=D("./XMLWriterBase"),_.exports=g=function(v){y(h,v);function h(c){h.__super__.constructor.call(this,c)}return h.prototype.document=function(c,a){var i,r,o,d,n;for(a=this.filterOptions(a),d="",n=c.children,r=0,o=n.length;r<o;r++)i=n[r],d+=this.writeChildNode(i,a,0);return a.pretty&&d.slice(-a.newline.length)===a.newline&&(d=d.slice(0,-a.newline.length)),d},h}(f)}).call(void 0)},{"./XMLWriterBase":281}],279:[function(D,_,e){"use strict";(function(){var g,f=function(v,h){return function(){return v.apply(h,arguments)}},y={}.hasOwnProperty;_.exports=g=function(){function m(v){this.assertLegalName=f(this.assertLegalName,this),this.assertLegalChar=f(this.assertLegalChar,this);var h,c,a;v||(v={}),this.options=v,this.options.version||(this.options.version="1.0"),c=v.stringify||{};for(h in c){if(!y.call(c,h))continue;a=c[h],this[h]=a}}return m.prototype.name=function(v){return this.options.noValidation?v:this.assertLegalName(""+v||"")},m.prototype.text=function(v){return this.options.noValidation?v:this.assertLegalChar(this.textEscape(""+v||""))},m.prototype.cdata=function(v){return this.options.noValidation?v:(v=""+v||"",v=v.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(v))},m.prototype.comment=function(v){if(this.options.noValidation)return v;if(v=""+v||"",v.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+v);return this.assertLegalChar(v)},m.prototype.raw=function(v){return this.options.noValidation?v:""+v||""},m.prototype.attValue=function(v){return this.options.noValidation?v:this.assertLegalChar(this.attEscape(v=""+v||""))},m.prototype.insTarget=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.insValue=function(v){if(this.options.noValidation)return v;if(v=""+v||"",v.match(/\?>/))throw new Error("Invalid processing instruction value: "+v);return this.assertLegalChar(v)},m.prototype.xmlVersion=function(v){if(this.options.noValidation)return v;if(v=""+v||"",!v.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+v);return v},m.prototype.xmlEncoding=function(v){if(this.options.noValidation)return v;if(v=""+v||"",!v.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+v);return this.assertLegalChar(v)},m.prototype.xmlStandalone=function(v){return this.options.noValidation?v:v?"yes":"no"},m.prototype.dtdPubID=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.dtdSysID=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.dtdElementValue=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.dtdAttType=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.dtdAttDefault=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.dtdEntityValue=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},m.prototype.dtdNData=function(v){return this.options.noValidation?v:this.assertLegalChar(""+v||"")},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(v){var h,c;if(this.options.noValidation)return v;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]/,c=v.match(h))throw new Error("Invalid character in string: "+v+" at index "+c.index)}else if(this.options.version==="1.1"&&(h=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=v.match(h)))throw new Error("Invalid character in string: "+v+" at index "+c.index);return v},m.prototype.assertLegalName=function(v){var h;if(this.options.noValidation)return v;if(this.assertLegalChar(v),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])*$/,!v.match(h))throw new Error("Invalid character in name");return v},m.prototype.textEscape=function(v){var h;return this.options.noValidation?v:(h=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,v.replace(h,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))},m.prototype.attEscape=function(v){var h;return this.options.noValidation?v:(h=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,v.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(D,_,e){"use strict";var g=D("babel-runtime/core-js/object/create"),f=y(g);function y(m){return m&&m.__esModule?m:{default:m}}(function(){var m,v,h,c=function(r,o){for(var d in o)a.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},a={}.hasOwnProperty;m=D("./NodeType"),v=D("./XMLCharacterData"),_.exports=h=function(i){c(r,i);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}(v)}).call(void 0)},{"./NodeType":251,"./XMLCharacterData":256,"babel-runtime/core-js/object/create":55}],281:[function(D,_,e){"use strict";(function(){var g,f,y,m,v,h,c,a,i,r,o,d,n,l,t,s,u,p={}.hasOwnProperty;u=D("./Utility").assign,g=D("./NodeType"),i=D("./XMLDeclaration"),r=D("./XMLDocType"),y=D("./XMLCData"),m=D("./XMLComment"),d=D("./XMLElement"),l=D("./XMLRaw"),t=D("./XMLText"),n=D("./XMLProcessingInstruction"),o=D("./XMLDummy"),v=D("./XMLDTDAttList"),h=D("./XMLDTDElement"),c=D("./XMLDTDEntity"),a=D("./XMLDTDNotation"),f=D("./WriterState"),_.exports=s=function(){function w(b){var E,A,S;b||(b={}),this.options=b,A=b.writer||{};for(E in A){if(!p.call(A,E))continue;S=A[E],this["_"+E]=this[E],this[E]=S}}return w.prototype.filterOptions=function(b){var E,A,S,T,L,x,C,I;return b||(b={}),b=u({},this.options,b),E={writer:this},E.pretty=b.pretty||!1,E.allowEmpty=b.allowEmpty||!1,E.indent=(A=b.indent)!=null?A:" ",E.newline=(S=b.newline)!=null?S:`
`,E.offset=(T=b.offset)!=null?T:0,E.dontPrettyTextNodes=(L=(x=b.dontPrettyTextNodes)!=null?x:b.dontprettytextnodes)!=null?L:0,E.spaceBeforeSlash=(C=(I=b.spaceBeforeSlash)!=null?I:b.spacebeforeslash)!=null?C:"",E.spaceBeforeSlash===!0&&(E.spaceBeforeSlash=" "),E.suppressPrettyCount=0,E.user={},E.state=f.None,E},w.prototype.indent=function(b,E,A){var S;return!E.pretty||E.suppressPrettyCount?"":E.pretty&&(S=(A||0)+E.offset+1,S>0)?new Array(S).join(E.indent):""},w.prototype.endline=function(b,E,A){return!E.pretty||E.suppressPrettyCount?"":E.newline},w.prototype.attribute=function(b,E,A){var S;return this.openAttribute(b,E,A),S=" "+b.name+'="'+b.value+'"',this.closeAttribute(b,E,A),S},w.prototype.cdata=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A)+"<![CDATA[",E.state=f.InsideTag,S+=b.value,E.state=f.CloseTag,S+="]]>"+this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.comment=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A)+"<!-- ",E.state=f.InsideTag,S+=b.value,E.state=f.CloseTag,S+=" -->"+this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.declaration=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A)+"<?xml",E.state=f.InsideTag,S+=' version="'+b.version+'"',b.encoding!=null&&(S+=' encoding="'+b.encoding+'"'),b.standalone!=null&&(S+=' standalone="'+b.standalone+'"'),E.state=f.CloseTag,S+=E.spaceBeforeSlash+"?>",S+=this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.docType=function(b,E,A){var S,T,L,x,C;if(A||(A=0),this.openNode(b,E,A),E.state=f.OpenTag,x=this.indent(b,E,A),x+="<!DOCTYPE "+b.root().name,b.pubID&&b.sysID?x+=' PUBLIC "'+b.pubID+'" "'+b.sysID+'"':b.sysID&&(x+=' SYSTEM "'+b.sysID+'"'),b.children.length>0){for(x+=" [",x+=this.endline(b,E,A),E.state=f.InsideTag,C=b.children,T=0,L=C.length;T<L;T++)S=C[T],x+=this.writeChildNode(S,E,A+1);E.state=f.CloseTag,x+="]"}return E.state=f.CloseTag,x+=E.spaceBeforeSlash+">",x+=this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),x},w.prototype.element=function(b,E,A){var S,T,L,x,C,I,N,F,k,B,P,K,R,U;A||(A=0),B=!1,P="",this.openNode(b,E,A),E.state=f.OpenTag,P+=this.indent(b,E,A)+"<"+b.name,K=b.attribs;for(k in K){if(!p.call(K,k))continue;S=K[k],P+=this.attribute(S,E,A)}if(L=b.children.length,x=L===0?null:b.children[0],L===0||b.children.every(function(j){return(j.type===g.Text||j.type===g.Raw)&&j.value===""}))E.allowEmpty?(P+=">",E.state=f.CloseTag,P+="</"+b.name+">"+this.endline(b,E,A)):(E.state=f.CloseTag,P+=E.spaceBeforeSlash+"/>"+this.endline(b,E,A));else if(E.pretty&&L===1&&(x.type===g.Text||x.type===g.Raw)&&x.value!=null)P+=">",E.state=f.InsideTag,E.suppressPrettyCount++,B=!0,P+=this.writeChildNode(x,E,A+1),E.suppressPrettyCount--,B=!1,E.state=f.CloseTag,P+="</"+b.name+">"+this.endline(b,E,A);else{if(E.dontPrettyTextNodes){for(R=b.children,C=0,N=R.length;C<N;C++)if(T=R[C],(T.type===g.Text||T.type===g.Raw)&&T.value!=null){E.suppressPrettyCount++,B=!0;break}}for(P+=">"+this.endline(b,E,A),E.state=f.InsideTag,U=b.children,I=0,F=U.length;I<F;I++)T=U[I],P+=this.writeChildNode(T,E,A+1);E.state=f.CloseTag,P+=this.indent(b,E,A)+"</"+b.name+">",B&&E.suppressPrettyCount--,P+=this.endline(b,E,A),E.state=f.None}return this.closeNode(b,E,A),P},w.prototype.writeChildNode=function(b,E,A){switch(b.type){case g.CData:return this.cdata(b,E,A);case g.Comment:return this.comment(b,E,A);case g.Element:return this.element(b,E,A);case g.Raw:return this.raw(b,E,A);case g.Text:return this.text(b,E,A);case g.ProcessingInstruction:return this.processingInstruction(b,E,A);case g.Dummy:return"";case g.Declaration:return this.declaration(b,E,A);case g.DocType:return this.docType(b,E,A);case g.AttributeDeclaration:return this.dtdAttList(b,E,A);case g.ElementDeclaration:return this.dtdElement(b,E,A);case g.EntityDeclaration:return this.dtdEntity(b,E,A);case g.NotationDeclaration:return this.dtdNotation(b,E,A);default:throw new Error("Unknown XML node type: "+b.constructor.name)}},w.prototype.processingInstruction=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A)+"<?",E.state=f.InsideTag,S+=b.target,b.value&&(S+=" "+b.value),E.state=f.CloseTag,S+=E.spaceBeforeSlash+"?>",S+=this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.raw=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A),E.state=f.InsideTag,S+=b.value,E.state=f.CloseTag,S+=this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.text=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A),E.state=f.InsideTag,S+=b.value,E.state=f.CloseTag,S+=this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.dtdAttList=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A)+"<!ATTLIST",E.state=f.InsideTag,S+=" "+b.elementName+" "+b.attributeName+" "+b.attributeType,b.defaultValueType!=="#DEFAULT"&&(S+=" "+b.defaultValueType),b.defaultValue&&(S+=' "'+b.defaultValue+'"'),E.state=f.CloseTag,S+=E.spaceBeforeSlash+">"+this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.dtdElement=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A)+"<!ELEMENT",E.state=f.InsideTag,S+=" "+b.name+" "+b.value,E.state=f.CloseTag,S+=E.spaceBeforeSlash+">"+this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.dtdEntity=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A)+"<!ENTITY",E.state=f.InsideTag,b.pe&&(S+=" %"),S+=" "+b.name,b.value?S+=' "'+b.value+'"':(b.pubID&&b.sysID?S+=' PUBLIC "'+b.pubID+'" "'+b.sysID+'"':b.sysID&&(S+=' SYSTEM "'+b.sysID+'"'),b.nData&&(S+=" NDATA "+b.nData)),E.state=f.CloseTag,S+=E.spaceBeforeSlash+">"+this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.dtdNotation=function(b,E,A){var S;return this.openNode(b,E,A),E.state=f.OpenTag,S=this.indent(b,E,A)+"<!NOTATION",E.state=f.InsideTag,S+=" "+b.name,b.pubID&&b.sysID?S+=' PUBLIC "'+b.pubID+'" "'+b.sysID+'"':b.pubID?S+=' PUBLIC "'+b.pubID+'"':b.sysID&&(S+=' SYSTEM "'+b.sysID+'"'),E.state=f.CloseTag,S+=E.spaceBeforeSlash+">"+this.endline(b,E,A),E.state=f.None,this.closeNode(b,E,A),S},w.prototype.openNode=function(b,E,A){},w.prototype.closeNode=function(b,E,A){},w.prototype.openAttribute=function(b,E,A){},w.prototype.closeAttribute=function(b,E,A){},w}()}).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(D,_,e){"use strict";(function(){var g,f,y,m,v,h,c,a,i,r;r=D("./Utility"),a=r.assign,i=r.isFunction,y=D("./XMLDOMImplementation"),m=D("./XMLDocument"),v=D("./XMLDocumentCB"),c=D("./XMLStringWriter"),h=D("./XMLStreamWriter"),g=D("./NodeType"),f=D("./WriterState"),_.exports.create=function(o,d,n,l){var t,s;if(o==null)throw new Error("Root element needs a name.");return l=a({},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},_.exports.begin=function(o,d,n){var l;return i(o)&&(l=[o,d],d=l[0],n=l[1],o={}),d?new v(o,d,n):new m(o)},_.exports.stringWriter=function(o){return new c(o)},_.exports.streamWriter=function(o,d){return new h(o,d)},_.exports.implementation=new y,_.exports.nodeType=g,_.exports.writerState=f}).call(void 0)},{"./NodeType":251,"./Utility":252,"./WriterState":253,"./XMLDOMImplementation":260,"./XMLDocument":268,"./XMLDocumentCB":269,"./XMLStreamWriter":277,"./XMLStringWriter":278}],283:[function(D,_,e){_.exports=f;var g=Object.prototype.hasOwnProperty;function f(){for(var y={},m=0;m<arguments.length;m++){var v=arguments[m];for(var h in v)g.call(v,h)&&(y[h]=v[h])}return y}},{}],284:[function(D,_,e){"use strict";var g=D("buffer").Buffer,f=D("./sha"),y=D("./md5"),m={sha1:f,md5:y},v=64,h=g.alloc(v);h.fill(0);function c(r,o,d){g.isBuffer(o)||(o=g.from(o)),g.isBuffer(d)||(d=g.from(d)),o.length>v?o=r(o):o.length<v&&(o=g.concat([o,h],v));for(var n=g.alloc(v),l=g.alloc(v),t=0;t<v;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 a(r,o){r=r||"sha1";var d=m[r],n=[],l=0;return d||i("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 u=g.concat(n),p=o?c(d,o,u):d(u);return n=null,s?p.toString(s):p}}}function i(){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 a(r)},e.createHmac=function(r,o){return a(r,o)},e.createCredentials=function(){i("sorry,createCredentials is not implemented yet")},e.createCipher=function(){i("sorry,createCipher is not implemented yet")},e.createCipheriv=function(){i("sorry,createCipheriv is not implemented yet")},e.createDecipher=function(){i("sorry,createDecipher is not implemented yet")},e.createDecipheriv=function(){i("sorry,createDecipheriv is not implemented yet")},e.createSign=function(){i("sorry,createSign is not implemented yet")},e.createVerify=function(){i("sorry,createVerify is not implemented yet")},e.createDiffieHellman=function(){i("sorry,createDiffieHellman is not implemented yet")},e.pbkdf2=function(){i("sorry,pbkdf2 is not implemented yet")}},{"./md5":286,"./sha":287,buffer:73}],285:[function(D,_,e){"use strict";var g=D("buffer").Buffer,f=4,y=g.alloc(f);y.fill(0);var m=8;function v(a,i){if(a.length%f!==0){var r=a.length+(f-a.length%f);a=g.concat([a,y],r)}for(var o=[],d=i?a.readInt32BE:a.readInt32LE,n=0;n<a.length;n+=f)o.push(d.call(a,n));return o}function h(a,i,r){for(var o=g.alloc(i),d=r?o.writeInt32BE:o.writeInt32LE,n=0;n<a.length;n++)d.call(o,a[n],n*4,!0);return o}function c(a,i,r,o){g.isBuffer(a)||(a=g.from(a));var d=i(v(a,o),a.length*m);return h(d,r,o)}_.exports={hash:c}},{buffer:73}],286:[function(D,_,e){"use strict";var g=D("./helpers");function f(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function y(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,u=0;u<o.length;u+=16){var p=n,w=l,b=t,E=s;n=v(n,l,t,s,o[u+0],7,-680876936),s=v(s,n,l,t,o[u+1],12,-389564586),t=v(t,s,n,l,o[u+2],17,606105819),l=v(l,t,s,n,o[u+3],22,-1044525330),n=v(n,l,t,s,o[u+4],7,-176418897),s=v(s,n,l,t,o[u+5],12,1200080426),t=v(t,s,n,l,o[u+6],17,-1473231341),l=v(l,t,s,n,o[u+7],22,-45705983),n=v(n,l,t,s,o[u+8],7,1770035416),s=v(s,n,l,t,o[u+9],12,-1958414417),t=v(t,s,n,l,o[u+10],17,-42063),l=v(l,t,s,n,o[u+11],22,-1990404162),n=v(n,l,t,s,o[u+12],7,1804603682),s=v(s,n,l,t,o[u+13],12,-40341101),t=v(t,s,n,l,o[u+14],17,-1502002290),l=v(l,t,s,n,o[u+15],22,1236535329),n=h(n,l,t,s,o[u+1],5,-165796510),s=h(s,n,l,t,o[u+6],9,-1069501632),t=h(t,s,n,l,o[u+11],14,643717713),l=h(l,t,s,n,o[u+0],20,-373897302),n=h(n,l,t,s,o[u+5],5,-701558691),s=h(s,n,l,t,o[u+10],9,38016083),t=h(t,s,n,l,o[u+15],14,-660478335),l=h(l,t,s,n,o[u+4],20,-405537848),n=h(n,l,t,s,o[u+9],5,568446438),s=h(s,n,l,t,o[u+14],9,-1019803690),t=h(t,s,n,l,o[u+3],14,-187363961),l=h(l,t,s,n,o[u+8],20,1163531501),n=h(n,l,t,s,o[u+13],5,-1444681467),s=h(s,n,l,t,o[u+2],9,-51403784),t=h(t,s,n,l,o[u+7],14,1735328473),l=h(l,t,s,n,o[u+12],20,-1926607734),n=c(n,l,t,s,o[u+5],4,-378558),s=c(s,n,l,t,o[u+8],11,-2022574463),t=c(t,s,n,l,o[u+11],16,1839030562),l=c(l,t,s,n,o[u+14],23,-35309556),n=c(n,l,t,s,o[u+1],4,-1530992060),s=c(s,n,l,t,o[u+4],11,1272893353),t=c(t,s,n,l,o[u+7],16,-155497632),l=c(l,t,s,n,o[u+10],23,-1094730640),n=c(n,l,t,s,o[u+13],4,681279174),s=c(s,n,l,t,o[u+0],11,-358537222),t=c(t,s,n,l,o[u+3],16,-722521979),l=c(l,t,s,n,o[u+6],23,76029189),n=c(n,l,t,s,o[u+9],4,-640364487),s=c(s,n,l,t,o[u+12],11,-421815835),t=c(t,s,n,l,o[u+15],16,530742520),l=c(l,t,s,n,o[u+2],23,-995338651),n=a(n,l,t,s,o[u+0],6,-198630844),s=a(s,n,l,t,o[u+7],10,1126891415),t=a(t,s,n,l,o[u+14],15,-1416354905),l=a(l,t,s,n,o[u+5],21,-57434055),n=a(n,l,t,s,o[u+12],6,1700485571),s=a(s,n,l,t,o[u+3],10,-1894986606),t=a(t,s,n,l,o[u+10],15,-1051523),l=a(l,t,s,n,o[u+1],21,-2054922799),n=a(n,l,t,s,o[u+8],6,1873313359),s=a(s,n,l,t,o[u+15],10,-30611744),t=a(t,s,n,l,o[u+6],15,-1560198380),l=a(l,t,s,n,o[u+13],21,1309151649),n=a(n,l,t,s,o[u+4],6,-145523070),s=a(s,n,l,t,o[u+11],10,-1120210379),t=a(t,s,n,l,o[u+2],15,718787259),l=a(l,t,s,n,o[u+9],21,-343485551),n=i(n,p),l=i(l,w),t=i(t,b),s=i(s,E)}return Array(n,l,t,s)}function m(o,d,n,l,t,s){return i(r(i(i(d,o),i(l,s)),t),n)}function v(o,d,n,l,t,s,u){return m(d&n|~d&l,o,d,t,s,u)}function h(o,d,n,l,t,s,u){return m(d&l|n&~l,o,d,t,s,u)}function c(o,d,n,l,t,s,u){return m(d^n^l,o,d,t,s,u)}function a(o,d,n,l,t,s,u){return m(n^(d|~l),o,d,t,s,u)}function i(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}_.exports=function(d){return g.hash(d,y,16)}},{"./helpers":285}],287:[function(D,_,e){"use strict";var g=D("./helpers");function f(c,a){c[a>>5]|=128<<24-a%32,c[(a+64>>9<<4)+15]=a;for(var i=Array(80),r=1732584193,o=-271733879,d=-1732584194,n=271733878,l=-1009589776,t=0;t<c.length;t+=16){for(var s=r,u=o,p=d,w=n,b=l,E=0;E<80;E++){E<16?i[E]=c[t+E]:i[E]=h(i[E-3]^i[E-8]^i[E-14]^i[E-16],1);var A=v(v(h(r,5),y(E,o,d,n)),v(v(l,i[E]),m(E)));l=n,n=d,d=h(o,30),o=r,r=A}r=v(r,s),o=v(o,u),d=v(d,p),n=v(n,w),l=v(l,b)}return Array(r,o,d,n,l)}function y(c,a,i,r){return c<20?a&i|~a&r:c<40?a^i^r:c<60?a&i|a&r|i&r:a^i^r}function m(c){return c<20?1518500249:c<40?1859775393:c<60?-1894007588:-899497514}function v(c,a){var i=(c&65535)+(a&65535),r=(c>>16)+(a>>16)+(i>>16);return r<<16|i&65535}function h(c,a){return c<<a|c>>>32-a}_.exports=function(a){return g.hash(a,f,20,!0)}},{"./helpers":285}],288:[function(D,_,e){"use strict";_.exports=function(){return function(){}}},{}],289:[function(D,_,e){(function(g){"use strict";var f=D("babel-runtime/helpers/typeof"),y=m(f);function m(r){return r&&r.__esModule?r:{default:r}}var v=D("stream"),h=v.Stream,c=D("../lib/common/utils/isArray"),a=c.isArray;_.exports.string=function(o){return typeof o=="string"},_.exports.array=a,_.exports.buffer=g.isBuffer;function i(r){return r instanceof h}_.exports.writableStream=function(o){return i(o)&&typeof o._write=="function"&&(0,y.default)(o._writableState)==="object"}}).call(this,{isBuffer:D("../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(D,_,e){"use strict";e.encodeURIComponent=function(g){try{return encodeURIComponent(g)}catch(f){return g}},e.escape=D("escape-html"),e.timestamp=function(f){if(f){var y=f;return typeof y=="string"&&(y=Number(y)),String(f).length===10&&(y*=1e3),new Date(y)}return Math.round(Date.now()/1e3)}},{"escape-html":191}],291:[function(D,_,e){(function(g,f){"use strict";var y=D("babel-runtime/core-js/json/stringify"),m=c(y),v=D("babel-runtime/helpers/typeof"),h=c(v);function c(E){return E&&E.__esModule?E:{default:E}}var a=D("util"),i=D("url"),r=D("http"),o=D("https"),d=D("debug")("urllib"),n=D("humanize-ms"),l,t=0,s=Math.pow(2,31)-10,u=/^https?:\/\//i;function p(E,A){return E===void 0?A:E}function w(E,A){return function(S,T,L){if(S)return A(S);E({data:T,status:L.statusCode,headers:L.headers,res:L})}}e.TIMEOUTS=[n("300s"),n("300s")];var b=["json","text"];e.request=function(A,S,T){return arguments.length===2&&typeof S=="function"&&(T=S,S=null),typeof T=="function"?e.requestWithCallback(A,S,T):(l||(l=D("any-promise")),new l(function(L,x){e.requestWithCallback(A,S,w(L,x))}))},e.requestWithCallback=function(A,S,T){if(!A||typeof A!="string"&&(typeof A=="undefined"?"undefined":(0,h.default)(A))!=="object"){var L=a.format("expect request url to be a string or a http request options, but got %j",A);throw new Error(L)}arguments.length===2&&typeof S=="function"&&(T=S,S=null),S=S||{},t>=s&&(t=0);var x=++t;S.requestUrls=S.requestUrls||[];var C={requestId:x,url:A,args:S,ctx:S.ctx};S.emitter&&S.emitter.emit("request",C),S.timeout=S.timeout||e.TIMEOUTS,S.maxRedirects=S.maxRedirects||10,S.streaming=S.streaming||S.customResponse;var I=Date.now(),N;typeof A=="string"?(u.test(A)||(A="http://"+A),N=i.parse(A)):N=A;var F=(S.type||S.method||N.method||"GET").toUpperCase(),k=N.port||80,B=r,P=p(S.agent,e.agent),K=S.fixJSONCtlChars;N.protocol==="https:"&&(B=o,P=p(S.httpsAgent,e.httpsAgent),N.port||(k=443));var R={host:N.hostname||N.host||"localhost",path:N.path||"/",method:F,port:k,agent:P,headers:S.headers||{},lookup:S.lookup};Array.isArray(S.timeout)?R.requestTimeout=S.timeout[S.timeout.length-1]:typeof S.timeout!="undefined"&&(R.requestTimeout=S.timeout);for(var U=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],j=0;j<U.length;j++){var H=U[j];S.hasOwnProperty(H)&&(R[H]=S[H])}R.rejectUnauthorized===!1&&!R.hasOwnProperty("secureOptions")&&(R.secureOptions=D("constants").SSL_OP_NO_TLSv1_2);var W=S.auth||N.auth;W&&(R.auth=W);var X=S.content||S.data,z=F==="GET"||F==="HEAD"||S.dataAsQueryString;if(!S.content&&(X&&!(typeof X=="string"||f.isBuffer(X))))if(z)X=S.nestedQuerystring?qs.stringify(X):querystring.stringify(X);else{var G=R.headers["Content-Type"]||R.headers["content-type"];G||(S.contentType==="json"?G="application/json":G="application/x-www-form-urlencoded",R.headers["Content-Type"]=G),parseContentType(G).type==="application/json"?X=(0,m.default)(X):X=S.nestedQuerystring?qs.stringify(X):querystring.stringify(X)}z&&X&&(R.path+=(N.query?"&":"?")+X,X=null);var Z=0;if(X){var ge=X.length;f.isBuffer(X)||(ge=f.byteLength(X)),Z=R.headers["Content-Length"]=ge}S.dataType==="json"&&(R.headers.Accept="application/json"),typeof S.beforeRequest=="function"&&S.beforeRequest(R);var Q=null,we=null,Ee=null,Ae=!1,Pe=!1,Ge=0,gt=-1,_e=!1,Ce="",lt="",ce=null;S.timing&&(ce={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function Y(){Q&&(clearTimeout(Q),Q=null)}function V(){we&&(clearTimeout(we),we=null)}function $(Ue,Rt,Ke){if(V(),!T){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),x,g.pid,R.method,A),Ue&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
stack: %s`,Date(),x,g.pid,Ue.name,Ue.message,Ue.stack);return}var wt=T;T=null;var Ye={};if(Ke&&(gt=Ke.statusCode,Ye=Ke.headers),gt===401&&Ye["www-authenticate"]&&(!S.headers||!S.headers.Authorization)&&S.digestAuth){var et=Ye["www-authenticate"];if(et.indexOf("Digest ")>=0)return d("Request#%d %s: got digest auth header WWW-Authenticate: %s",x,A,et),S.headers=S.headers||{},S.headers.Authorization=digestAuthHeader(R.method,R.path,et,S.digestAuth),d("Request#%d %s: auth with digest header: %s",x,A,S.headers.Authorization),Ke.headers["set-cookie"]&&(S.headers.Cookie=Ke.headers["set-cookie"].join(";")),e.requestWithCallback(A,S,wt)}var rt=Date.now()-I;ce&&(ce.contentDownload=rt),d("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",rt,Ge,gt,R.method,R.host,R.path,Pe,ce);var st={status:gt,statusCode:gt,headers:Ye,size:Ge,aborted:_e,rt,keepAliveSocket:Pe,data:Rt,requestUrls:S.requestUrls,timing:ce,remoteAddress:Ce,remotePort:lt};if(Ue){var Ve="";P&&typeof P.getCurrentStatus=="function"&&(Ve=", agent status: "+(0,m.default)(P.getCurrentStatus())),Ue.message+=", "+R.method+" "+A+" "+gt+" (connected: "+Ae+", keepalive socket: "+Pe+Ve+`)
headers: `+(0,m.default)(Ye),Ue.data=Rt,Ue.path=R.path,Ue.status=gt,Ue.headers=Ye,Ue.res=st}wt(Ue,Rt,S.streaming?Ke:st),S.emitter&&(C.url=A,C.socket=mt&&mt.connection,C.options=R,C.size=Z,S.emitter.emit("response",{requestId:x,error:Ue,ctx:S.ctx,req:C,res:st}))}function Te(Ue){var Rt=null;if(S.followRedirect&&statuses.redirect[Ue.statusCode]){S._followRedirectCount=(S._followRedirectCount||0)+1;var Ke=Ue.headers.location;if(!Ke)Rt=new Error("Got statusCode "+Ue.statusCode+" but cannot resolve next location from headers"),Rt.name="FollowRedirectError";else if(S._followRedirectCount>S.maxRedirects)Rt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+A),Rt.name="MaxRedirectError";else{var wt=S.formatRedirectUrl?S.formatRedirectUrl(A,Ke):i.resolve(A,Ke);d("Request#%d %s: `redirected` from %s to %s",x,R.path,A,wt),V(),S.headers&&S.headers.Host&&u.test(Ke)&&(S.headers.Host=null);var Ye=T;return T=null,e.requestWithCallback(wt,S,Ye),{redirect:!0,error:null}}}return{redirect:!1,error:Rt}}!R.headers["User-Agent"]&&!R.headers["user-agent"]&&(R.headers["User-Agent"]=navigator.userAgent),S.gzip&&(!R.headers["Accept-Encoding"]&&!R.headers["accept-encoding"]&&(R.headers["Accept-Encoding"]="gzip"));function ye(Ue,Rt,Ke){var wt=Ue.headers["content-encoding"];return Ke(null,Rt,wt)}var Fe=S.writeStream;d("Request#%d %s %s with headers %j, options.path: %s",x,F,A,R.headers,R.path),S.requestUrls.push(A);function Oe(Ue){if(ce&&(ce.waiting=Date.now()-I),d("Request#%d %s `req response` event emit: status %d, headers: %j",x,A,Ue.statusCode,Ue.headers),S.streaming){var Rt=Te(Ue);if(Rt.redirect){Ue.resume();return}return Rt.error?(Ue.resume(),$(Rt.error,null,Ue)):$(null,null,Ue)}if(Ue.on("close",function(){d("Request#%d %s: `res close` event emit, total size %d",x,A,Ge)}),Ue.on("error",function(){d("Request#%d %s: `res error` event emit, total size %d",x,A,Ge)}),Ue.on("aborted",function(){_e=!0,d("Request#%d %s: `res aborted` event emit, total size %d",x,A,Ge)}),Fe){var Rt=Te(Ue);if(Rt.redirect){Ue.resume();return}return Rt.error?(Ue.resume(),Fe.end(),$(Rt.error,null,Ue)):(S.consumeWriteStream===!1?Ue.on("end",$.bind(null,null,null,Ue)):isNode010||isNode012?first([[Fe,"close"],[Ue,"aborted"]],function(Ye,et,rt){d("Request#%d %s: writeStream or res %s event emitted",x,A,rt),$(Ee||null,null,Ue)}):Fe.on("close",function(){d("Request#%d %s: writeStream close event emitted",x,A),$(Ee||null,null,Ue)}),Ue.pipe(Fe))}var Ke=[];Ue.on("data",function(wt){d("Request#%d %s: `res data` event emit, size %d",x,A,wt.length),Ge+=wt.length,Ke.push(wt)}),Ue.on("end",function(){var wt=f.concat(Ke,Ge);if(d("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",x,A,Ge,Ue._dumped),Ee)return $(Ee,wt,Ue);var Ye=Te(Ue);if(Ye.error)return $(Ye.error,wt,Ue);if(Ye.redirect)return;ye(Ue,wt,function(et,rt,st){if(et)return $(et,wt,Ue);if(!st&&b.indexOf(S.dataType)>=0){try{rt=decodeBodyByCharset(rt,Ue)}catch(oe){return d("decodeBodyByCharset error: %s",oe),$(null,rt,Ue)}if(S.dataType==="json")if(Ge===0)rt=null;else{var Ve=parseJSON(rt,K);Ve.error?et=Ve.error:rt=Ve.data}}_e&&d("Request#%d %s: Remote socket was terminated before `response.end()` was called",x,A),$(et,rt,Ue)})})}var se,fe;Array.isArray(S.timeout)?(se=n(S.timeout[0]),fe=n(S.timeout[1])):se=fe=n(S.timeout),d("ConnectTimeout: %d, ResponseTimeout: %d",se,fe);function Le(){d("Connect timer ticking, timeout: %d",se),Q=setTimeout(function(){Q=null,gt===-1&&(gt=-2);var Ue="Connect timeout for "+se+"ms",Rt="ConnectionTimeoutError";mt.socket||(Rt="SocketAssignTimeoutError",Ue+=", working sockets is full"),Ee=new Error(Ue),Ee.name=Rt,Ee.requestId=x,d("ConnectTimeout: Request#%d %s %s: %s, connected: %s",x,A,Ee.name,Ue,Ae),Ct()},se)}function Je(){d("Response timer ticking, timeout: %d",fe),we=setTimeout(function(){we=null;var Ue="Response timeout for "+fe+"ms",Rt="ResponseTimeoutError";Ee=new Error(Ue),Ee.name=Rt,Ee.requestId=x,d("ResponseTimeout: Request#%d %s %s: %s, connected: %s",x,A,Ee.name,Ue,Ae),Ct()},fe)}var mt;R.mode=S.mode?S.mode:"";try{mt=B.request(R,Oe)}catch(Ue){return $(Ue)}typeof window=="undefined"?Le():mt.on("requestTimeout",function(){gt===-1&&(gt=-2);var Ue="Connect timeout for "+se+"ms",Rt="ConnectionTimeoutError";Ee=new Error(Ue),Ee.name=Rt,Ee.requestId=x,Ct()});function Ct(){d("Request#%d %s abort, connected: %s",x,A,Ae),mt.socket||(Ee.noSocket=!0,$(Ee)),mt.abort()}return ce&&mt.on("finish",function(){ce.requestSent=Date.now()-I}),mt.once("socket",function(Ue){ce&&(ce.queuing=Date.now()-I),isNode010&&Ue.socket&&(Ue=Ue.socket);var Rt=Ue.readyState;if(Rt==="opening"){Ue.once("lookup",function(Ke,wt,Ye){d("Request#%d %s lookup: %s, %s, %s",x,A,Ke,wt,Ye),ce&&(ce.dnslookup=Date.now()-I),wt&&(Ce=wt)}),Ue.once("connect",function(){ce&&(ce.connected=Date.now()-I),Y(),Je(),d("Request#%d %s new socket connected",x,A),Ae=!0,Ce||(Ce=Ue.remoteAddress),lt=Ue.remotePort});return}d("Request#%d %s reuse socket connected, readyState: %s",x,A,Rt),Ae=!0,Pe=!0,Ce||(Ce=Ue.remoteAddress),lt=Ue.remotePort,Y(),Je()}),mt.on("error",function(Ue){(Ue.name==="Error"||Ue.name==="TypeError")&&(Ue.name=Ae?"ResponseError":"RequestError"),Ue.message+=' (req "error")',d("Request#%d %s `req error` event emit, %s: %s",x,A,Ue.name,Ue.message),$(Ee||Ue)}),Fe&&Fe.once("error",function(Ue){Ue.message+=' (writeStream "error")',Ee=Ue,d("Request#%d %s `writeStream error` event emit, %s: %s",x,A,Ue.name,Ue.message),Ct()}),S.stream?(S.stream.pipe(mt),S.stream.once("error",function(Ue){Ue.message+=' (stream "error")',Ee=Ue,d("Request#%d %s `readStream error` event emit, %s: %s",x,A,Ue.name,Ue.message),Ct()})):mt.end(X),mt.requestId=x,mt}}).call(this,D("_process"),D("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(D,_,e){var g=e("hX1E"),f=g.normalizeRadian,y=Math.PI*2;function m(v,h,c,a,i,r,o,d,n){if(o===0)return!1;var l=o;d-=v,n-=h;var t=Math.sqrt(d*d+n*n);if(t-l>c||t+l<c)return!1;if(Math.abs(a-i)%y<1e-4)return!0;if(r){var s=a;a=f(i),i=f(s)}else a=f(a),i=f(i);a>i&&(i+=y);var u=Math.atan2(n,d);return u<0&&(u+=y),u>=a&&u<=i||u+y>=a&&u+y<=i}_.containStroke=m},n4Lv:function(D,_,e){var g=e("7hqr"),f=g.isDimensionStacked,y=e("bYtY"),m=y.map;function v(a,i,r){var o=a.getBaseAxis(),d=a.getOtherAxis(o),n=h(d,r),l=o.dim,t=d.dim,s=i.mapDimension(t),u=i.mapDimension(l),p=t==="x"||t==="radius"?1:0,w=m(a.dimensions,function(A){return i.mapDimension(A)}),b,E=i.getCalculationInfo("stackResultDimension");return(b|=f(i,w[0]))&&(w[0]=E),(b|=f(i,w[1]))&&(w[1]=E),{dataDimsForPoint:w,valueStart:n,valueAxisDim:t,baseAxisDim:l,stacked:!!b,valueDim:s,baseDim:u,baseDataOffset:p,stackedOverDimension:i.getCalculationInfo("stackedOverDimension")}}function h(a,i){var r=0,o=a.scale.getExtent();return i==="start"?r=o[0]:i==="end"?r=o[1]:o[0]>0?r=o[0]:o[1]<0&&(r=o[1]),r}function c(a,i,r,o){var d=NaN;a.stacked&&(d=r.get(r.getCalculationInfo("stackedOverDimension"),o)),isNaN(d)&&(d=a.valueStart);var n=a.baseDataOffset,l=[];return l[n]=r.get(a.baseDim,o),l[1-n]=d,i.dataToPoint(l)}_.prepareDataCoordInfo=v,_.getStackedOnPoint=c},n6Mw:function(D,_,e){var g=e("SrGk"),f=e("bYtY"),y=e("Fofx");function m(h,c){g.call(this,h,c,"clipPath","__clippath_in_use__")}f.inherits(m,g),m.prototype.update=function(h){var c=this.getSvgElement(h);c&&this.updateDom(c,h.__clipPaths,!1);var a=this.getTextSvgElement(h);a&&this.updateDom(a,h.__clipPaths,!0),this.markUsed(h)},m.prototype.updateDom=function(h,c,a){if(c&&c.length>0){var i=this.getDefs(!0),r=c[0],o,d,n=a?"_textDom":"_dom";r[n]?(d=r[n].getAttribute("id"),o=r[n],i.contains(o)||i.appendChild(o)):(d="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,o=this.createElement("clipPath"),o.setAttribute("id",d),i.appendChild(o),r[n]=o);var l=this.getSvgProxy(r);if(r.transform&&r.parent.invTransform&&!a){var t=Array.prototype.slice.call(r.transform);y.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+")"),c.length>1&&this.updateDom(o,c.slice(1),a)}else h&&h.setAttribute("clip-path","none")},m.prototype.markUsed=function(h){var c=this;h.__clipPaths&&f.each(h.__clipPaths,function(a){a._dom&&g.prototype.markUsed.call(c,a._dom),a._textDom&&g.prototype.markUsed.call(c,a._textDom)})};var v=m;D.exports=v},nCxF:function(D,_,e){var g=e("QBsz"),f=g.min,y=g.max,m=g.scale,v=g.distance,h=g.add,c=g.clone,a=g.sub;function i(r,o,d,n){var l=[],t=[],s=[],u=[],p,w,b,E;if(n){b=[Infinity,Infinity],E=[-Infinity,-Infinity];for(var A=0,S=r.length;A<S;A++)f(b,b,r[A]),y(E,E,r[A]);f(b,b,n[0]),y(E,E,n[1])}for(var A=0,S=r.length;A<S;A++){var T=r[A];if(d)p=r[A?A-1:S-1],w=r[(A+1)%S];else if(A===0||A===S-1){l.push(c(r[A]));continue}else p=r[A-1],w=r[A+1];a(t,w,p),m(t,t,o);var L=v(T,p),x=v(T,w),C=L+x;C!==0&&(L/=C,x/=C),m(s,t,-L),m(u,t,x);var I=h([],T,s),N=h([],T,u);n&&(y(I,I,b),f(I,I,E),y(N,N,b),f(N,N,E)),l.push(I),l.push(N)}return d&&l.push(l.shift()),l}D.exports=i},nKiI:function(D,_,e){var g=e("bYtY"),f=e("mFDi"),y=e("OELB"),m=y.parsePercent,v=y.MAX_SAFE_INTEGER,h=e("+TT/"),c=e("VaxA"),a=Math.max,i=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(I,N,F,k){var B=F.getWidth(),P=F.getHeight(),K=I.option,R=h.getLayoutRect(I.getBoxLayoutParams(),{width:F.getWidth(),height:F.getHeight()}),U=K.size||[],j=m(r(R.width,U[0]),B),H=m(r(R.height,U[1]),P),W=k&&k.type,X=["treemapZoomToNode","treemapRootToNode"],z=c.retrieveTargetInfo(k,X,I),G=W==="treemapRender"||W==="treemapMove"?k.rootRect:null,Z=I.getViewRoot(),ge=c.getPathToRoot(Z);if(W!=="treemapMove"){var Q=W==="treemapZoomToNode"?T(I,z,Z,j,H):G?[G.width,G.height]:[j,H],we=K.sort;we&&we!=="asc"&&we!=="desc"&&(we="desc");var Ee={squareRatio:K.squareRatio,sort:we,leafDepth:K.leafDepth};Z.hostTree.clearLayouts();var Ae={x:0,y:0,width:Q[0],height:Q[1],area:Q[0]*Q[1]};Z.setLayout(Ae),u(Z,Ee,!1,0);var Ae=Z.getLayout();o(ge,function(Ge,gt){var _e=(ge[gt+1]||Z).getValue();Ge.setLayout(g.extend({dataExtent:[_e,_e],borderWidth:0,upperHeight:0},Ae))})}var Pe=I.getData().tree.root;Pe.setLayout(L(R,G,z),!0),I.setLayoutInfo(R),x(Pe,new f(-R.x,-R.y,B,P),ge,Z,0)}};function u(I,N,F,k){var B,P;if(I.isRemoved())return;var K=I.getLayout();B=K.width,P=K.height;var R=I.getModel(),U=R.get(d),j=R.get(n)/2,H=C(R),W=Math.max(U,H),X=U-j,z=W-j,R=I.getModel();I.setLayout({borderWidth:U,upperHeight:W,upperLabelHeight:H},!0),B=a(B-2*X,0),P=a(P-X-z,0);var G=B*P,Z=p(I,R,G,N,F,k);if(!Z.length)return;var ge={x:X,y:z,width:B,height:P},Q=i(B,P),we=Infinity,Ee=[];Ee.area=0;for(var Ae=0,Pe=Z.length;Ae<Pe;){var Ge=Z[Ae];Ee.push(Ge),Ee.area+=Ge.getLayout().area;var gt=A(Ee,Q,N.squareRatio);gt<=we?(Ae++,we=gt):(Ee.area-=Ee.pop().getLayout().area,S(Ee,Q,ge,j,!1),Q=i(ge.width,ge.height),Ee.length=Ee.area=0,we=Infinity)}if(Ee.length&&S(Ee,Q,ge,j,!0),!F){var _e=R.get("childrenVisibleMin");_e!=null&&G<_e&&(F=!0)}for(var Ae=0,Pe=Z.length;Ae<Pe;Ae++)u(Z[Ae],N,F,k+1)}function p(I,N,F,k,B,P){var K=I.children||[],R=k.sort;R!=="asc"&&R!=="desc"&&(R=null);var U=k.leafDepth!=null&&k.leafDepth<=P;if(B&&!U)return I.viewChildren=[];K=g.filter(K,function(z){return!z.isRemoved()}),b(K,R);var j=E(N,K,R);if(j.sum===0)return I.viewChildren=[];if(j.sum=w(N,F,j.sum,R,K),j.sum===0)return I.viewChildren=[];for(var H=0,W=K.length;H<W;H++){var X=K[H].getValue()/j.sum*F;K[H].setLayout({area:X})}return U&&(K.length&&I.setLayout({isLeafRoot:!0},!0),K.length=0),I.viewChildren=K,I.setLayout({dataExtent:j.dataExtent},!0),K}function w(I,N,F,k,B){if(!k)return F;for(var P=I.get("visibleMin"),K=B.length,R=K,U=K-1;U>=0;U--){var j=B[k==="asc"?K-U-1:U].getValue();j/F*N<P&&(R=U,F-=j)}return k==="asc"?B.splice(0,K-R):B.splice(R,K-R),F}function b(I,N){return N&&I.sort(function(F,k){var B=N==="asc"?F.getValue()-k.getValue():k.getValue()-F.getValue();return B===0?N==="asc"?F.dataIndex-k.dataIndex:k.dataIndex-F.dataIndex:B}),I}function E(I,N,F){for(var k=0,B=0,P=N.length;B<P;B++)k+=N[B].getValue();var K=I.get("visualDimension"),R;if(!N||!N.length)R=[NaN,NaN];else if(K==="value"&&F)R=[N[N.length-1].getValue(),N[0].getValue()],F==="asc"&&R.reverse();else{var R=[Infinity,-Infinity];o(N,function(j){var H=j.getValue(K);H<R[0]&&(R[0]=H),H>R[1]&&(R[1]=H)})}return{sum:k,dataExtent:R}}function A(I,N,F){for(var k=0,B=Infinity,P=0,K,R=I.length;P<R;P++)K=I[P].getLayout().area,K&&(K<B&&(B=K),K>k&&(k=K));var U=I.area*I.area,j=N*N*F;return U?a(j*k/U,U/(j*B)):Infinity}function S(I,N,F,k,B){var P=N===F.width?0:1,K=1-P,R=["x","y"],U=["width","height"],j=F[R[P]],H=N?I.area/N:0;(B||H>F[U[K]])&&(H=F[U[K]]);for(var W=0,X=I.length;W<X;W++){var z=I[W],G={},Z=H?z.getLayout().area/H:0,ge=G[U[K]]=a(H-2*k,0),Q=F[R[P]]+F[U[P]]-j,we=W===X-1||Q<Z?Q:Z,Ee=G[U[P]]=a(we-2*k,0);G[R[K]]=F[R[K]]+i(k,ge/2),G[R[P]]=j+i(k,Ee/2),j+=we,z.setLayout(G,!0)}F[R[K]]+=H,F[U[K]]-=H}function T(I,N,F,k,B){var P=(N||{}).node,K=[k,B];if(!P||P===F)return K;for(var R,U=k*B,j=U*I.option.zoomToNodeRatio;R=P.parentNode;){for(var H=0,W=R.children,X=0,z=W.length;X<z;X++)H+=W[X].getValue();var G=P.getValue();if(G===0)return K;j*=H/G;var Z=R.getModel(),ge=Z.get(d),Q=Math.max(ge,C(Z,ge));j+=4*ge*ge+(3*ge+Q)*Math.pow(j,.5),j>v&&(j=v),P=R}j<U&&(j=U);var we=Math.pow(j/U,.5);return[k*we,B*we]}function L(I,N,F){if(N)return{x:N.x,y:N.y};var k={x:0,y:0};if(!F)return k;var B=F.node,P=B.getLayout();if(!P)return k;for(var K=[P.width/2,P.height/2],R=B;R;){var U=R.getLayout();K[0]+=U.x,K[1]+=U.y,R=R.parentNode}return{x:I.width/2-K[0],y:I.height/2-K[1]}}function x(I,N,F,k,B){var P=I.getLayout(),K=F[B],R=K&&K===I;if(K&&!R||B===F.length&&I!==k)return;I.setLayout({isInView:!0,invisible:!R&&!N.intersect(P),isAboveViewRoot:R},!0);var U=new f(N.x-P.x,N.y-P.y,N.width,N.height);o(I.viewChildren||[],function(j){x(j,U,F,k,B+1)})}function C(I){return I.get(l)?I.get(t):0}D.exports=s},nPnh:function(D,_){var e=Math.round;function g(m,v,h){if(!v)return;var c=v.x1,a=v.x2,i=v.y1,r=v.y2;m.x1=c,m.x2=a,m.y1=i,m.y2=r;var o=h&&h.lineWidth;if(!o)return;e(c*2)===e(a*2)&&(m.x1=m.x2=y(c,o,!0)),e(i*2)===e(r*2)&&(m.y1=m.y2=y(i,o,!0))}function f(m,v,h){if(!v)return;var c=v.x,a=v.y,i=v.width,r=v.height;m.x=c,m.y=a,m.width=i,m.height=r;var o=h&&h.lineWidth;if(!o)return;m.x=y(c,o,!0),m.y=y(a,o,!0),m.width=Math.max(y(c+i,o,!1)-m.x,i===0?0:1),m.height=Math.max(y(a+r,o,!1)-m.y,r===0?0:1)}function y(m,v,h){if(!v)return m;var c=e(m*2);return(c+e(v))%2===0?c/2:(c+(h?1:-1))/2}_.subPixelOptimizeLine=g,_.subPixelOptimizeRect=f,_.subPixelOptimize=y},nRaC:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("0fbx"),m=e.n(y),v=e("OaEy"),h=e("R9oj")},nVfU:function(D,_,e){var g=e("bYtY"),f=e("OELB"),y=f.parsePercent,m=e("7hqr"),v=m.isDimensionStacked,h=e("zM3Q"),c="__ec_stack_",a=.5,i=typeof Float32Array!="undefined"?Float32Array:Array;function r(S){return S.get("stack")||c+S.seriesIndex}function o(S){return S.dim+S.index}function d(S){var T=[],L=S.axis,x="axis0";if(L.type!=="category")return;for(var C=L.getBandWidth(),I=0;I<S.count||0;I++)T.push(g.defaults({bandWidth:C,axisKey:x,stackId:c+I},S));for(var N=s(T),F=[],I=0;I<S.count;I++){var k=N[x][c+I];k.offsetCenter=k.offset+k.width/2,F.push(k)}return F}function n(S,T){var L=[];return T.eachSeriesByType(S,function(x){b(x)&&!E(x)&&L.push(x)}),L}function l(S){var T={};g.each(S,function(k){var B=k.coordinateSystem,P=B.getBaseAxis();if(P.type!=="time"&&P.type!=="value")return;for(var K=k.getData(),R=P.dim+"_"+P.index,U=K.mapDimension(P.dim),j=0,H=K.count();j<H;++j){var W=K.get(U,j);T[R]?T[R].push(W):T[R]=[W]}});var L=[];for(var x in T)if(T.hasOwnProperty(x)){var C=T[x];if(C){C.sort(function(k,B){return k-B});for(var I=null,N=1;N<C.length;++N){var F=C[N]-C[N-1];F>0&&(I=I===null?F:Math.min(I,F))}L[x]=I}}return L}function t(S){var T=l(S),L=[];return g.each(S,function(x){var C=x.coordinateSystem,I=C.getBaseAxis(),N=I.getExtent(),F;if(I.type==="category")F=I.getBandWidth();else if(I.type==="value"||I.type==="time"){var k=I.dim+"_"+I.index,B=T[k],P=Math.abs(N[1]-N[0]),K=I.scale.getExtent(),R=Math.abs(K[1]-K[0]);F=B?P/R*B:P}else{var U=x.getData();F=Math.abs(N[1]-N[0])/U.count()}var j=y(x.get("barWidth"),F),H=y(x.get("barMaxWidth"),F),W=y(x.get("barMinWidth")||1,F),X=x.get("barGap"),z=x.get("barCategoryGap");L.push({bandWidth:F,barWidth:j,barMaxWidth:H,barMinWidth:W,barGap:X,barCategoryGap:z,axisKey:o(I),stackId:r(x)})}),s(L)}function s(S){var T={};g.each(S,function(x,C){var I=x.axisKey,N=x.bandWidth,F=T[I]||{bandWidth:N,remainedWidth:N,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},k=F.stacks;T[I]=F;var B=x.stackId;k[B]||F.autoWidthCount++,k[B]=k[B]||{width:0,maxWidth:0};var P=x.barWidth;P&&!k[B].width&&(k[B].width=P,P=Math.min(F.remainedWidth,P),F.remainedWidth-=P);var K=x.barMaxWidth;K&&(k[B].maxWidth=K);var R=x.barMinWidth;R&&(k[B].minWidth=R);var U=x.barGap;U!=null&&(F.gap=U);var j=x.barCategoryGap;j!=null&&(F.categoryGap=j)});var L={};return g.each(T,function(x,C){L[C]={};var I=x.stacks,N=x.bandWidth,F=y(x.categoryGap,N),k=y(x.gap,1),B=x.remainedWidth,P=x.autoWidthCount,K=(B-F)/(P+(P-1)*k);K=Math.max(K,0),g.each(I,function(H){var W=H.maxWidth,X=H.minWidth;if(H.width){var z=H.width;W&&(z=Math.min(z,W)),X&&(z=Math.max(z,X)),H.width=z,B-=z+k*z,P--}else{var z=K;W&&W<z&&(z=Math.min(W,B)),X&&X>z&&(z=X),z!==K&&(H.width=z,B-=z+k*z,P--)}}),K=(B-F)/(P+(P-1)*k),K=Math.max(K,0);var R=0,U;g.each(I,function(H,W){H.width||(H.width=K),U=H,R+=H.width*(1+k)}),U&&(R-=U.width*k);var j=-R/2;g.each(I,function(H,W){L[C][W]=L[C][W]||{bandWidth:N,offset:j,width:H.width},j+=H.width*(1+k)})}),L}function u(S,T,L){if(S&&T){var x=S[o(T)];return x!=null&&L!=null&&(x=x[r(L)]),x}}function p(S,T){var L=n(S,T),x=t(L),C={},I={};g.each(L,function(N){var F=N.getData(),k=N.coordinateSystem,B=k.getBaseAxis(),P=r(N),K=x[o(B)][P],R=K.offset,U=K.width,j=k.getOtherAxis(B),H=N.get("barMinHeight")||0;C[P]=C[P]||[],I[P]=I[P]||[],F.setLayout({bandWidth:K.bandWidth,offset:R,size:U});for(var W=F.mapDimension(j.dim),X=F.mapDimension(B.dim),z=v(F,W),G=j.isHorizontal(),Z=A(B,j,z),ge=0,Q=F.count();ge<Q;ge++){var we=F.get(W,ge),Ee=F.get(X,ge),Ae=we>=0?"p":"n",Pe=Z;z&&(C[P][Ee]||(C[P][Ee]={p:Z,n:Z}),Pe=C[P][Ee][Ae]);var Ge,gt,_e,Ce;if(G){var lt=k.dataToPoint([we,Ee]);Ge=Pe,gt=lt[1]+R,_e=lt[0]-Z,Ce=U,Math.abs(_e)<H&&(_e=(_e<0?-1:1)*H),isNaN(_e)||z&&(C[P][Ee][Ae]+=_e)}else{var lt=k.dataToPoint([Ee,we]);Ge=lt[0]+R,gt=Pe,_e=U,Ce=lt[1]-Z,Math.abs(Ce)<H&&(Ce=(Ce<=0?-1:1)*H),isNaN(Ce)||z&&(C[P][Ee][Ae]+=Ce)}F.setItemLayout(ge,{x:Ge,y:gt,width:_e,height:Ce})}},this)}var w={seriesType:"bar",plan:h(),reset:function(S){if(!b(S)||!E(S))return;var T=S.getData(),L=S.coordinateSystem,x=L.grid.getRect(),C=L.getBaseAxis(),I=L.getOtherAxis(C),N=T.mapDimension(I.dim),F=T.mapDimension(C.dim),k=I.isHorizontal(),B=k?0:1,P=u(t([S]),C,S).width;return P>a||(P=a),{progress:K};function K(R,U){for(var j=R.count,H=new i(j*2),W=new i(j*2),X=new i(j),z,G=[],Z=[],ge=0,Q=0;(z=R.next())!=null;)Z[B]=U.get(N,z),Z[1-B]=U.get(F,z),G=L.dataToPoint(Z,null,G),W[ge]=k?x.x+x.width:G[0],H[ge++]=G[0],W[ge]=k?G[1]:x.y+x.height,H[ge++]=G[1],X[Q++]=z;U.setLayout({largePoints:H,largeDataIndices:X,largeBackgroundPoints:W,barWidth:P,valueAxisStart:A(C,I,!1),backgroundStart:k?x.x:x.y,valueAxisHorizontal:k})}}};function b(S){return S.coordinateSystem&&S.coordinateSystem.type==="cartesian2d"}function E(S){return S.pipelineContext&&S.pipelineContext.large}function A(S,T,L){return T.toGlobalCoord(T.dataToCoord(T.type==="log"?1:0))}_.getLayoutOnAxis=d,_.prepareLayoutBarSeries=n,_.makeColumnLayout=t,_.retrieveColumnLayout=u,_.layout=p,_.largeLayout=w},ngQI:function(D,_,e){"use strict";e.d(_,"a",function(){return Kl}),e.d(_,"b",function(){return ec}),e.d(_,"c",function(){return sl});var g=e("q1tI"),f=e.n(g),y=e("dI71"),m=e("wx14"),v=e("ANjH"),h=e("/MKj");function c(at,de){if(at.length!==de.length)return!1;for(var je=0;je<at.length;je++)if(at[je]!==de[je])return!1;return!0}function a(at,de){var je=Object(g.useState)(function(){return{inputs:de,result:at()}})[0],bt=Object(g.useRef)(je),kt=Boolean(de&&bt.current.inputs&&c(de,bt.current.inputs)),qt=kt?bt.current:{inputs:de,result:at()};return Object(g.useEffect)(function(){bt.current=qt},[qt]),qt.result}function i(at,de){return a(function(){return at},de)}var r=a,o=i,d=e("9R94"),n=function(de){var je=de.top,bt=de.right,kt=de.bottom,qt=de.left,ar=bt-qt,lr=kt-je,yr={top:je,right:bt,bottom:kt,left:qt,width:ar,height:lr,x:qt,y:je,center:{x:(bt+qt)/2,y:(kt+je)/2}};return yr},l=function(de,je){return{top:de.top-je.top,left:de.left-je.left,bottom:de.bottom+je.bottom,right:de.right+je.right}},t=function(de,je){return{top:de.top+je.top,left:de.left+je.left,bottom:de.bottom-je.bottom,right:de.right-je.right}},s=function(de,je){return{top:de.top+je.y,left:de.left+je.x,bottom:de.bottom+je.y,right:de.right+je.x}},u={top:0,right:0,bottom:0,left:0},p=function(de){var je=de.borderBox,bt=de.margin,kt=bt===void 0?u:bt,qt=de.border,ar=qt===void 0?u:qt,lr=de.padding,yr=lr===void 0?u:lr,Vr=n(l(je,kt)),Xr=n(t(je,ar)),Pr=n(t(Xr,yr));return{marginBox:Vr,borderBox:n(je),paddingBox:Xr,contentBox:Pr,margin:kt,border:ar,padding:yr}},w=function(de){var je=de.slice(0,-2),bt=de.slice(-2);if(bt!=="px")return 0;var kt=Number(je);return isNaN(kt)&&Object(d.a)(!1),kt},b=function(){return{x:window.pageXOffset,y:window.pageYOffset}},E=function(de,je){var bt=de.borderBox,kt=de.border,qt=de.margin,ar=de.padding,lr=s(bt,je);return p({borderBox:lr,border:kt,margin:qt,padding:ar})},A=function(de,je){return je===void 0&&(je=b()),E(de,je)},S=function(de,je){var bt={top:w(je.marginTop),right:w(je.marginRight),bottom:w(je.marginBottom),left:w(je.marginLeft)},kt={top:w(je.paddingTop),right:w(je.paddingRight),bottom:w(je.paddingBottom),left:w(je.paddingLeft)},qt={top:w(je.borderTopWidth),right:w(je.borderRightWidth),bottom:w(je.borderBottomWidth),left:w(je.borderLeftWidth)};return p({borderBox:de,margin:bt,padding:kt,border:qt})},T=function(de){var je=de.getBoundingClientRect(),bt=window.getComputedStyle(de);return S(je,bt)};function L(at,de){if(at.length!==de.length)return!1;for(var je=0;je<at.length;je++)if(at[je]!==de[je])return!1;return!0}function x(at,de){de===void 0&&(de=L);var je,bt=[],kt,qt=!1;function ar(){for(var lr=[],yr=0;yr<arguments.length;yr++)lr[yr]=arguments[yr];return qt&&je===this&&de(lr,bt)||(kt=at.apply(this,lr),qt=!0,je=this,bt=lr),kt}return ar}var C=x,I=function(de){var je=[],bt=null,kt=function(){for(var ar=arguments.length,lr=new Array(ar),yr=0;yr<ar;yr++)lr[yr]=arguments[yr];if(je=lr,bt)return;bt=requestAnimationFrame(function(){bt=null,de.apply(void 0,je)})};return kt.cancel=function(){if(!bt)return;cancelAnimationFrame(bt),bt=null},kt},N=I,F=e("i8i4"),k=e.n(F),B=!0,P=/[ \t]{2,}/g,K=/^[ \t]*/gm,R=function(de){return de.replace(P," ").replace(K,"").trim()},U=function(de){return R(`
%creact-beautiful-dnd
%c`+R(de)+`
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
`)},j=function(de){return[U(de),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},H="__react-beautiful-dnd-disable-dev-warnings";function W(at,de){var je;if(B)return;if(typeof window!="undefined"&&window[H])return;(je=console)[at].apply(je,j(de))}var X=W.bind(null,"warn"),z=W.bind(null,"error");function G(){}function Z(at,de){return Object(m.a)({},at,{},de)}function ge(at,de,je){var bt=de.map(function(kt){var qt=Z(je,kt.options);return at.addEventListener(kt.eventName,kt.fn,qt),function(){at.removeEventListener(kt.eventName,kt.fn,qt)}});return function(){bt.forEach(function(qt){qt()})}}var Q=!0,we="Invariant failed";function Ee(at){this.message=at}Ee.prototype.toString=function(){return this.message};function Ae(at,de){if(at)return;throw Q?new Ee(we):new Ee(we+": "+(de||""))}var Pe=function(at){Object(y.a)(de,at);function de(){for(var bt,kt=arguments.length,qt=new Array(kt),ar=0;ar<kt;ar++)qt[ar]=arguments[ar];return bt=at.call.apply(at,[this].concat(qt))||this,bt.callbacks=null,bt.unbind=G,bt.onWindowError=function(lr){var yr=bt.getCallbacks();yr.isDragging()&&yr.tryAbort();var Vr=lr.error;Vr instanceof Ee&&lr.preventDefault()},bt.getCallbacks=function(){if(!bt.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return bt.callbacks},bt.setCallbacks=function(lr){bt.callbacks=lr},bt}var je=de.prototype;return je.componentDidMount=function(){this.unbind=ge(window,[{eventName:"error",fn:this.onWindowError}])},je.componentWillUnmount=function(){this.unbind()},je.componentDidCatch=function(kt){if(kt instanceof Ee){this.setState({});return}throw kt},je.render=function(){return this.props.children(this.setCallbacks)},de}(f.a.Component),Ge=`
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
`,gt=function(de){return de+1},_e=function(de){return`
You have lifted an item in position `+gt(de.source.index)+`
`},Ce=function(de,je){var bt=de.droppableId===je.droppableId,kt=gt(de.index),qt=gt(je.index);return bt?`
You have moved the item from position `+kt+`
to position `+qt+`
`:`
You have moved the item from position `+kt+`
in list `+de.droppableId+`
to list `+je.droppableId+`
in position `+qt+`
`},lt=function(de,je,bt){var kt=je.droppableId===bt.droppableId;return kt?`
The item `+de+`
has been combined with `+bt.draggableId:`
The item `+de+`
in list `+je.droppableId+`
has been combined with `+bt.draggableId+`
in list `+bt.droppableId+`
`},ce=function(de){var je=de.destination;if(je)return Ce(de.source,je);var bt=de.combine;return bt?lt(de.draggableId,de.source,bt):"You are over an area that cannot be dropped on"},Y=function(de){return`
The item has returned to its starting position
of `+gt(de.index)+`
`},V=function(de){if(de.reason==="CANCEL")return`
Movement cancelled.
`+Y(de.source)+`
`;var je=de.destination,bt=de.combine;return je?`
You have dropped the item.
`+Ce(de.source,je)+`
`:bt?`
You have dropped the item.
`+lt(de.draggableId,de.source,bt)+`
`:`
The item has been dropped while not over a drop area.
`+Y(de.source)+`
`},$={dragHandleUsageInstructions:Ge,onDragStart:_e,onDragUpdate:ce,onDragEnd:V},Te={x:0,y:0},ye=function(de,je){return{x:de.x+je.x,y:de.y+je.y}},Fe=function(de,je){return{x:de.x-je.x,y:de.y-je.y}},Oe=function(de,je){return de.x===je.x&&de.y===je.y},se=function(de){return{x:de.x!==0?-de.x:0,y:de.y!==0?-de.y:0}},fe=function(de,je,bt){var kt;return bt===void 0&&(bt=0),kt={},kt[de]=je,kt[de==="x"?"y":"x"]=bt,kt},Le=function(de,je){return Math.sqrt(Math.pow(je.x-de.x,2)+Math.pow(je.y-de.y,2))},Je=function(de,je){return Math.min.apply(Math,je.map(function(bt){return Le(de,bt)}))},mt=function(de){return function(je){return{x:de(je.x),y:de(je.y)}}},Ct=function(de,je){var bt=n({top:Math.max(je.top,de.top),right:Math.min(je.right,de.right),bottom:Math.min(je.bottom,de.bottom),left:Math.max(je.left,de.left)});return bt.width<=0||bt.height<=0?null:bt},Ue=function(de,je){return{top:de.top+je.y,left:de.left+je.x,bottom:de.bottom+je.y,right:de.right+je.x}},Rt=function(de){return[{x:de.left,y:de.top},{x:de.right,y:de.top},{x:de.left,y:de.bottom},{x:de.right,y:de.bottom}]},Ke={top:0,right:0,bottom:0,left:0},wt=function(de,je){return je?Ue(de,je.scroll.diff.displacement):de},Ye=function(de,je,bt){if(bt&&bt.increasedBy){var kt;return Object(m.a)({},de,(kt={},kt[je.end]=de[je.end]+bt.increasedBy[je.line],kt))}return de},et=function(de,je){return je&&je.shouldClipSubject?Ct(je.pageMarginBox,de):n(de)},rt=function(de){var je=de.page,bt=de.withPlaceholder,kt=de.axis,qt=de.frame,ar=wt(je.marginBox,qt),lr=Ye(ar,kt,bt),yr=et(lr,qt);return{page:je,withPlaceholder:bt,active:yr}},st=function(de,je){de.frame||Ae(!1);var bt=de.frame,kt=Fe(je,bt.scroll.initial),qt=se(kt),ar=Object(m.a)({},bt,{scroll:{initial:bt.scroll.initial,current:je,diff:{value:kt,displacement:qt},max:bt.scroll.max}}),lr=rt({page:de.subject.page,withPlaceholder:de.subject.withPlaceholder,axis:de.axis,frame:ar}),yr=Object(m.a)({},de,{frame:ar,subject:lr});return yr};function Ve(at){return Number.isInteger?Number.isInteger(at):typeof at=="number"&&isFinite(at)&&Math.floor(at)===at}function oe(at){return Object.values?Object.values(at):Object.keys(at).map(function(de){return at[de]})}function re(at,de){if(at.findIndex)return at.findIndex(de);for(var je=0;je<at.length;je++)if(de(at[je]))return je;return-1}function it(at,de){if(at.find)return at.find(de);var je=re(at,de);return je!==-1?at[je]:void 0}function Qe(at){return Array.prototype.slice.call(at)}var ve=C(function(at){return at.reduce(function(de,je){return de[je.descriptor.id]=je,de},{})}),Zt=C(function(at){return at.reduce(function(de,je){return de[je.descriptor.id]=je,de},{})}),dt=C(function(at){return oe(at)}),ct=C(function(at){return oe(at)}),yt=C(function(at,de){var je=ct(de).filter(function(bt){return at===bt.descriptor.droppableId}).sort(function(bt,kt){return bt.descriptor.index-kt.descriptor.index});return je});function _t(at){return at.at&&at.at.type==="REORDER"?at.at.destination:null}function or(at){return at.at&&at.at.type==="COMBINE"?at.at.combine:null}var Pt=C(function(at,de){return de.filter(function(je){return je.descriptor.id!==at.descriptor.id})}),be=function(de){var je=de.isMovingForward,bt=de.draggable,kt=de.destination,qt=de.insideDestination,ar=de.previousImpact;if(!kt.isCombineEnabled)return null;var lr=_t(ar);if(!lr)return null;function yr(ei){var ci={type:"COMBINE",combine:{draggableId:ei,droppableId:kt.descriptor.id}};return Object(m.a)({},ar,{at:ci})}var Vr=ar.displaced.all,Xr=Vr.length?Vr[0]:null;if(je)return Xr?yr(Xr):null;var Pr=Pt(bt,qt);if(!Xr){if(!Pr.length)return null;var kr=Pr[Pr.length-1];return yr(kr.descriptor.id)}var Gr=re(Pr,function(ei){return ei.descriptor.id===Xr});Gr!==-1||Ae(!1);var dn=Gr-1;if(dn<0)return null;var pn=Pr[dn];return yr(pn.descriptor.id)},me=function(de,je){return de.descriptor.droppableId===je.descriptor.id},pe={point:Te,value:0},ue={invisible:{},visible:{},all:[]},De={displaced:ue,displacedBy:pe,at:null},He=function(de,je){return function(bt){return de<=bt&&bt<=je}},ze=function(de){var je=He(de.top,de.bottom),bt=He(de.left,de.right);return function(kt){var qt=je(kt.top)&&je(kt.bottom)&&bt(kt.left)&&bt(kt.right);if(qt)return!0;var ar=je(kt.top)||je(kt.bottom),lr=bt(kt.left)||bt(kt.right),yr=ar&&lr;if(yr)return!0;var Vr=kt.top<de.top&&kt.bottom>de.bottom,Xr=kt.left<de.left&&kt.right>de.right,Pr=Vr&&Xr;if(Pr)return!0;var kr=Vr&&lr||Xr&&ar;return kr}},Xe=function(de){var je=He(de.top,de.bottom),bt=He(de.left,de.right);return function(kt){var qt=je(kt.top)&&je(kt.bottom)&&bt(kt.left)&&bt(kt.right);return qt}},Be={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},nt={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},At=function(de){return function(je){var bt=He(je.top,je.bottom),kt=He(je.left,je.right);return function(qt){return de===Be?bt(qt.top)&&bt(qt.bottom):kt(qt.left)&&kt(qt.right)}}},It=function(de,je){var bt=je.frame?je.frame.scroll.diff.displacement:Te;return Ue(de,bt)},ae=function(de,je,bt){return je.subject.active?bt(je.subject.active)(de):!1},he=function(de,je,bt){return bt(je)(de)},q=function(de){var je=de.target,bt=de.destination,kt=de.viewport,qt=de.withDroppableDisplacement,ar=de.isVisibleThroughFrameFn,lr=qt?It(je,bt):je;return ae(lr,bt,ar)&&he(lr,kt,ar)},ne=function(de){return q(Object(m.a)({},de,{isVisibleThroughFrameFn:ze}))},Se=function(de){return q(Object(m.a)({},de,{isVisibleThroughFrameFn:Xe}))},Ne=function(de){return q(Object(m.a)({},de,{isVisibleThroughFrameFn:At(de.destination.axis)}))},Me=function(de,je,bt){if(typeof bt=="boolean")return bt;if(!je)return!0;var kt=je.invisible,qt=je.visible;if(kt[de])return!1;var ar=qt[de];return ar?ar.shouldAnimate:!0};function $e(at,de){var je=at.page.marginBox,bt={top:de.point.y,right:0,bottom:0,left:de.point.x};return n(l(je,bt))}function vt(at){var de=at.afterDragging,je=at.destination,bt=at.displacedBy,kt=at.viewport,qt=at.forceShouldAnimate,ar=at.last;return de.reduce(function(yr,Vr){var Xr=$e(Vr,bt),Pr=Vr.descriptor.id;yr.all.push(Pr);var kr=ne({target:Xr,destination:je,viewport:kt,withDroppableDisplacement:!0});if(!kr)return yr.invisible[Vr.descriptor.id]=!0,yr;var Gr=Me(Pr,ar,qt),dn={draggableId:Pr,shouldAnimate:Gr};return yr.visible[Pr]=dn,yr},{all:[],visible:{},invisible:{}})}function Wt(at,de){if(!at.length)return 0;var je=at[at.length-1].descriptor.index;return de.inHomeList?je:je+1}function $t(at){var de=at.insideDestination,je=at.inHomeList,bt=at.displacedBy,kt=at.destination,qt=Wt(de,{inHomeList:je});return{displaced:ue,displacedBy:bt,at:{type:"REORDER",destination:{droppableId:kt.descriptor.id,index:qt}}}}function Dt(at){var de=at.draggable,je=at.insideDestination,bt=at.destination,kt=at.viewport,qt=at.displacedBy,ar=at.last,lr=at.index,yr=at.forceShouldAnimate,Vr=me(de,bt);if(lr==null)return $t({insideDestination:je,inHomeList:Vr,displacedBy:qt,destination:bt});var Xr=it(je,function(pn){return pn.descriptor.index===lr});if(!Xr)return $t({insideDestination:je,inHomeList:Vr,displacedBy:qt,destination:bt});var Pr=Pt(de,je),kr=je.indexOf(Xr),Gr=Pr.slice(kr),dn=vt({afterDragging:Gr,destination:bt,displacedBy:qt,last:ar,viewport:kt.frame,forceShouldAnimate:yr});return{displaced:dn,displacedBy:qt,at:{type:"REORDER",destination:{droppableId:bt.descriptor.id,index:lr}}}}function Kt(at,de){return Boolean(de.effected[at])}var Gt=function(de){var je=de.isMovingForward,bt=de.destination,kt=de.draggables,qt=de.combine,ar=de.afterCritical;if(!bt.isCombineEnabled)return null;var lr=qt.draggableId,yr=kt[lr],Vr=yr.descriptor.index,Xr=Kt(lr,ar);return Xr?je?Vr:Vr-1:je?Vr+1:Vr},Qt=function(de){var je=de.isMovingForward,bt=de.isInHomeList,kt=de.insideDestination,qt=de.location;if(!kt.length)return null;var ar=qt.index,lr=je?ar+1:ar-1,yr=kt[0].descriptor.index,Vr=kt[kt.length-1].descriptor.index,Xr=bt?Vr:Vr+1;return lr<yr||lr>Xr?null:lr},Mt=function(de){var je=de.isMovingForward,bt=de.isInHomeList,kt=de.draggable,qt=de.draggables,ar=de.destination,lr=de.insideDestination,yr=de.previousImpact,Vr=de.viewport,Xr=de.afterCritical,Pr=yr.at;if(Pr||Ae(!1),Pr.type==="REORDER"){var kr=Qt({isMovingForward:je,isInHomeList:bt,location:Pr.destination,insideDestination:lr});return kr==null?null:Dt({draggable:kt,insideDestination:lr,destination:ar,viewport:Vr,last:yr.displaced,displacedBy:yr.displacedBy,index:kr})}var Gr=Gt({isMovingForward:je,destination:ar,displaced:yr.displaced,draggables:qt,combine:Pr.combine,afterCritical:Xr});return Gr==null?null:Dt({draggable:kt,insideDestination:lr,destination:ar,viewport:Vr,last:yr.displaced,displacedBy:yr.displacedBy,index:Gr})},dr=function(de){var je=de.displaced,bt=de.afterCritical,kt=de.combineWith,qt=de.displacedBy,ar=Boolean(je.visible[kt]||je.invisible[kt]);return Kt(kt,bt)?ar?Te:se(qt.point):ar?qt.point:Te},er=function(de){var je=de.afterCritical,bt=de.impact,kt=de.draggables,qt=or(bt);qt||Ae(!1);var ar=qt.draggableId,lr=kt[ar].page.borderBox.center,yr=dr({displaced:bt.displaced,afterCritical:je,combineWith:ar,displacedBy:bt.displacedBy});return ye(lr,yr)},ot=function(de,je){return je.margin[de.start]+je.borderBox[de.size]/2},xt=function(de,je){return je.margin[de.end]+je.borderBox[de.size]/2},ut=function(de,je,bt){return je[de.crossAxisStart]+bt.margin[de.crossAxisStart]+bt.borderBox[de.crossAxisSize]/2},ft=function(de){var je=de.axis,bt=de.moveRelativeTo,kt=de.isMoving;return fe(je.line,bt.marginBox[je.end]+ot(je,kt),ut(je,bt.marginBox,kt))},Ot=function(de){var je=de.axis,bt=de.moveRelativeTo,kt=de.isMoving;return fe(je.line,bt.marginBox[je.start]-xt(je,kt),ut(je,bt.marginBox,kt))},Tt=function(de){var je=de.axis,bt=de.moveInto,kt=de.isMoving;return fe(je.line,bt.contentBox[je.start]+ot(je,kt),ut(je,bt.contentBox,kt))},ht=function(de){var je=de.impact,bt=de.draggable,kt=de.draggables,qt=de.droppable,ar=de.afterCritical,lr=yt(qt.descriptor.id,kt),yr=bt.page,Vr=qt.axis;if(!lr.length)return Tt({axis:Vr,moveInto:qt.page,isMoving:yr});var Xr=je.displaced,Pr=je.displacedBy,kr=Xr.all[0];if(kr){var Gr=kt[kr];if(Kt(kr,ar))return Ot({axis:Vr,moveRelativeTo:Gr.page,isMoving:yr});var dn=E(Gr.page,Pr.point);return Ot({axis:Vr,moveRelativeTo:dn,isMoving:yr})}var pn=lr[lr.length-1];if(pn.descriptor.id===bt.descriptor.id)return yr.borderBox.center;if(Kt(pn.descriptor.id,ar)){var ei=E(pn.page,se(ar.displacedBy.point));return ft({axis:Vr,moveRelativeTo:ei,isMoving:yr})}return ft({axis:Vr,moveRelativeTo:pn.page,isMoving:yr})},Ht=function(de,je){var bt=de.frame;return bt?ye(je,bt.scroll.diff.displacement):je},Ft=function(de){var je=de.impact,bt=de.draggable,kt=de.droppable,qt=de.draggables,ar=de.afterCritical,lr=bt.page.borderBox.center,yr=je.at;return kt&&yr?yr.type==="REORDER"?ht({impact:je,draggable:bt,draggables:qt,droppable:kt,afterCritical:ar}):er({impact:je,draggables:qt,afterCritical:ar}):lr},ir=function(de){var je=Ft(de),bt=de.droppable,kt=bt?Ht(bt,je):je;return kt},Xt=function(de,je){var bt=Fe(je,de.scroll.initial),kt=se(bt),qt=n({top:je.y,bottom:je.y+de.frame.height,left:je.x,right:je.x+de.frame.width}),ar={frame:qt,scroll:{initial:de.scroll.initial,max:de.scroll.max,current:je,diff:{value:bt,displacement:kt}}};return ar};function mr(at,de){return at.map(function(je){return de[je]})}function Ar(at,de){for(var je=0;je<de.length;je++){var bt=de[je].visible[at];if(bt)return bt}return null}var Nr=function(de){var je=de.impact,bt=de.viewport,kt=de.destination,qt=de.draggables,ar=de.maxScrollChange,lr=Xt(bt,ye(bt.scroll.current,ar)),yr=kt.frame?st(kt,ye(kt.frame.scroll.current,ar)):kt,Vr=je.displaced,Xr=vt({afterDragging:mr(Vr.all,qt),destination:kt,displacedBy:je.displacedBy,viewport:lr.frame,last:Vr,forceShouldAnimate:!1}),Pr=vt({afterDragging:mr(Vr.all,qt),destination:yr,displacedBy:je.displacedBy,viewport:bt.frame,last:Vr,forceShouldAnimate:!1}),kr={},Gr={},dn=[Vr,Xr,Pr];Vr.all.forEach(function(ei){var ci=Ar(ei,dn);if(ci){Gr[ei]=ci;return}kr[ei]=!0});var pn=Object(m.a)({},je,{displaced:{all:Vr.all,invisible:kr,visible:Gr}});return pn},Fr=function(de,je){return ye(de.scroll.diff.displacement,je)},tn=function(de){var je=de.pageBorderBoxCenter,bt=de.draggable,kt=de.viewport,qt=Fr(kt,je),ar=Fe(qt,bt.page.borderBox.center);return ye(bt.client.borderBox.center,ar)},qr=function(de){var je=de.draggable,bt=de.destination,kt=de.newPageBorderBoxCenter,qt=de.viewport,ar=de.withDroppableDisplacement,lr=de.onlyOnMainAxis,yr=lr===void 0?!1:lr,Vr=Fe(kt,je.page.borderBox.center),Xr=Ue(je.page.borderBox,Vr),Pr={target:Xr,destination:bt,withDroppableDisplacement:ar,viewport:qt};return yr?Ne(Pr):Se(Pr)},Lr=function(de){var je=de.isMovingForward,bt=de.draggable,kt=de.destination,qt=de.draggables,ar=de.previousImpact,lr=de.viewport,yr=de.previousPageBorderBoxCenter,Vr=de.previousClientSelection,Xr=de.afterCritical;if(!kt.isEnabled)return null;var Pr=yt(kt.descriptor.id,qt),kr=me(bt,kt),Gr=be({isMovingForward:je,draggable:bt,destination:kt,insideDestination:Pr,previousImpact:ar})||Mt({isMovingForward:je,isInHomeList:kr,draggable:bt,draggables:qt,destination:kt,insideDestination:Pr,previousImpact:ar,viewport:lr,afterCritical:Xr});if(!Gr)return null;var dn=ir({impact:Gr,draggable:bt,droppable:kt,draggables:qt,afterCritical:Xr}),pn=qr({draggable:bt,destination:kt,newPageBorderBoxCenter:dn,viewport:lr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(pn){var ei=tn({pageBorderBoxCenter:dn,draggable:bt,viewport:lr});return{clientSelection:ei,impact:Gr,scrollJumpRequest:null}}var ci=Fe(dn,yr),ii=Nr({impact:Gr,viewport:lr,destination:kt,draggables:qt,maxScrollChange:ci});return{clientSelection:Vr,impact:ii,scrollJumpRequest:ci}},Qr=function(de){var je=de.subject.active;return je||Ae(!1),je},_r=function(de){var je=de.isMovingForward,bt=de.pageBorderBoxCenter,kt=de.source,qt=de.droppables,ar=de.viewport,lr=kt.subject.active;if(!lr)return null;var yr=kt.axis,Vr=He(lr[yr.start],lr[yr.end]),Xr=dt(qt).filter(function(kr){return kr!==kt}).filter(function(kr){return kr.isEnabled}).filter(function(kr){return Boolean(kr.subject.active)}).filter(function(kr){return ze(ar.frame)(Qr(kr))}).filter(function(kr){var Gr=Qr(kr);return je?lr[yr.crossAxisEnd]<Gr[yr.crossAxisEnd]:Gr[yr.crossAxisStart]<lr[yr.crossAxisStart]}).filter(function(kr){var Gr=Qr(kr),dn=He(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(kr,Gr){var dn=Qr(kr)[yr.crossAxisStart],pn=Qr(Gr)[yr.crossAxisStart];return je?dn-pn:pn-dn}).filter(function(kr,Gr,dn){return Qr(kr)[yr.crossAxisStart]===Qr(dn[0])[yr.crossAxisStart]});if(!Xr.length)return null;if(Xr.length===1)return Xr[0];var Pr=Xr.filter(function(kr){var Gr=He(Qr(kr)[yr.start],Qr(kr)[yr.end]);return Gr(bt[yr.line])});return Pr.length===1?Pr[0]:Pr.length>1?Pr.sort(function(kr,Gr){return Qr(kr)[yr.start]-Qr(Gr)[yr.start]})[0]:Xr.sort(function(kr,Gr){var dn=Je(bt,Rt(Qr(kr))),pn=Je(bt,Rt(Qr(Gr)));return dn!==pn?dn-pn:Qr(kr)[yr.start]-Qr(Gr)[yr.start]})[0]},ur=function(de,je){var bt=de.page.borderBox.center;return Kt(de.descriptor.id,je)?Fe(bt,je.displacedBy.point):bt},pr=function(de,je){var bt=de.page.borderBox;return Kt(de.descriptor.id,je)?Ue(bt,se(je.displacedBy.point)):bt},cr=function(de){var je=de.pageBorderBoxCenter,bt=de.viewport,kt=de.destination,qt=de.insideDestination,ar=de.afterCritical,lr=qt.filter(function(yr){return Se({target:pr(yr,ar),destination:kt,viewport:bt.frame,withDroppableDisplacement:!0})}).sort(function(yr,Vr){var Xr=Le(je,Ht(kt,ur(yr,ar))),Pr=Le(je,Ht(kt,ur(Vr,ar)));return Xr<Pr?-1:Pr<Xr?1:yr.descriptor.index-Vr.descriptor.index});return lr[0]||null},fr=C(function(de,je){var bt=je[de.line];return{value:bt,point:fe(de.line,bt)}}),xr=function(de,je,bt){var kt=de.axis;if(de.descriptor.mode==="virtual")return fe(kt.line,je[kt.line]);var qt=de.subject.page.contentBox[kt.size],ar=yt(de.descriptor.id,bt),lr=ar.reduce(function(Xr,Pr){return Xr+Pr.client.marginBox[kt.size]},0),yr=lr+je[kt.line],Vr=yr-qt;return Vr<=0?null:fe(kt.line,Vr)},Yr=function(de,je){return Object(m.a)({},de,{scroll:Object(m.a)({},de.scroll,{max:je})})},un=function(de,je,bt){var kt=de.frame;me(je,de)&&Ae(!1),de.subject.withPlaceholder&&Ae(!1);var qt=fr(de.axis,je.displaceBy).point,ar=xr(de,qt,bt),lr={placeholderSize:qt,increasedBy:ar,oldFrameMaxScroll:de.frame?de.frame.scroll.max:null};if(!kt){var yr=rt({page:de.subject.page,withPlaceholder:lr,axis:de.axis,frame:de.frame});return Object(m.a)({},de,{subject:yr})}var Vr=ar?ye(kt.scroll.max,ar):kt.scroll.max,Xr=Yr(kt,Vr),Pr=rt({page:de.subject.page,withPlaceholder:lr,axis:de.axis,frame:Xr});return Object(m.a)({},de,{subject:Pr,frame:Xr})},Nn=function(de){var je=de.subject.withPlaceholder;je||Ae(!1);var bt=de.frame;if(!bt){var kt=rt({page:de.subject.page,axis:de.axis,frame:null,withPlaceholder:null});return Object(m.a)({},de,{subject:kt})}var qt=je.oldFrameMaxScroll;qt||Ae(!1);var ar=Yr(bt,qt),lr=rt({page:de.subject.page,axis:de.axis,frame:ar,withPlaceholder:null});return Object(m.a)({},de,{subject:lr,frame:ar})},jr=function(de){var je=de.previousPageBorderBoxCenter,bt=de.moveRelativeTo,kt=de.insideDestination,qt=de.draggable,ar=de.draggables,lr=de.destination,yr=de.viewport,Vr=de.afterCritical;if(!bt){if(kt.length)return null;var Xr={displaced:ue,displacedBy:pe,at:{type:"REORDER",destination:{droppableId:lr.descriptor.id,index:0}}},Pr=ir({impact:Xr,draggable:qt,droppable:lr,draggables:ar,afterCritical:Vr}),kr=me(qt,lr)?lr:un(lr,qt,ar),Gr=qr({draggable:qt,destination:kr,newPageBorderBoxCenter:Pr,viewport:yr.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return Gr?Xr:null}var dn=Boolean(je[lr.axis.line]<=bt.page.borderBox.center[lr.axis.line]),pn=function(){var ci=bt.descriptor.index;return bt.descriptor.id===qt.descriptor.id||dn?ci:ci+1}(),ei=fr(lr.axis,qt.displaceBy);return Dt({draggable:qt,insideDestination:kt,destination:lr,viewport:yr,displacedBy:ei,last:ue,index:pn})},Tn=function(de){var je=de.isMovingForward,bt=de.previousPageBorderBoxCenter,kt=de.draggable,qt=de.isOver,ar=de.draggables,lr=de.droppables,yr=de.viewport,Vr=de.afterCritical,Xr=_r({isMovingForward:je,pageBorderBoxCenter:bt,source:qt,droppables:lr,viewport:yr});if(!Xr)return null;var Pr=yt(Xr.descriptor.id,ar),kr=cr({pageBorderBoxCenter:bt,viewport:yr,destination:Xr,insideDestination:Pr,afterCritical:Vr}),Gr=jr({previousPageBorderBoxCenter:bt,destination:Xr,draggable:kt,draggables:ar,moveRelativeTo:kr,insideDestination:Pr,viewport:yr,afterCritical:Vr});if(!Gr)return null;var dn=ir({impact:Gr,draggable:kt,droppable:Xr,draggables:ar,afterCritical:Vr}),pn=tn({pageBorderBoxCenter:dn,draggable:kt,viewport:yr});return{clientSelection:pn,impact:Gr,scrollJumpRequest:null}},gn=function(de){var je=de.at;return je?je.type==="REORDER"?je.destination.droppableId:je.combine.droppableId:null},Bn=function(de,je){var bt=gn(de);return bt?je[bt]:null},zn=function(de){var je=de.state,bt=de.type,kt=Bn(je.impact,je.dimensions.droppables),qt=Boolean(kt),ar=je.dimensions.droppables[je.critical.droppable.id],lr=kt||ar,yr=lr.axis.direction,Vr=yr==="vertical"&&(bt==="MOVE_UP"||bt==="MOVE_DOWN")||yr==="horizontal"&&(bt==="MOVE_LEFT"||bt==="MOVE_RIGHT");if(Vr&&!qt)return null;var Xr=bt==="MOVE_DOWN"||bt==="MOVE_RIGHT",Pr=je.dimensions.draggables[je.critical.draggable.id],kr=je.current.page.borderBoxCenter,Gr=je.dimensions,dn=Gr.draggables,pn=Gr.droppables;return Vr?Lr({isMovingForward:Xr,previousPageBorderBoxCenter:kr,draggable:Pr,destination:lr,draggables:dn,viewport:je.viewport,previousClientSelection:je.current.client.selection,previousImpact:je.impact,afterCritical:je.afterCritical}):Tn({isMovingForward:Xr,previousPageBorderBoxCenter:kr,draggable:Pr,isOver:lr,draggables:dn,droppables:pn,viewport:je.viewport,afterCritical:je.afterCritical})};function qn(at){return at.phase==="DRAGGING"||at.phase==="COLLECTING"}function Yn(at){var de=He(at.top,at.bottom),je=He(at.left,at.right);return function(kt){return de(kt.y)&&je(kt.x)}}function Vn(at,de){return at.left<de.right&&at.right>de.left&&at.top<de.bottom&&at.bottom>de.top}function An(at){var de=at.pageBorderBox,je=at.draggable,bt=at.candidates,kt=je.page.borderBox.center,qt=bt.map(function(ar){var lr=ar.axis,yr=fe(ar.axis.line,de.center[lr.line],ar.page.borderBox.center[lr.crossAxisLine]);return{id:ar.descriptor.id,distance:Le(kt,yr)}}).sort(function(ar,lr){return lr.distance-ar.distance});return qt[0]?qt[0].id:null}function on(at){var de=at.pageBorderBox,je=at.draggable,bt=at.droppables,kt=dt(bt).filter(function(qt){if(!qt.isEnabled)return!1;var ar=qt.subject.active;if(!ar)return!1;if(!Vn(de,ar))return!1;if(Yn(ar)(de.center))return!0;var lr=qt.axis,yr=ar.center[lr.crossAxisLine],Vr=de[lr.crossAxisStart],Xr=de[lr.crossAxisEnd],Pr=He(ar[lr.crossAxisStart],ar[lr.crossAxisEnd]),kr=Pr(Vr),Gr=Pr(Xr);return!kr&&!Gr?!0:kr?Vr<yr:Xr>yr});return kt.length?kt.length===1?kt[0].descriptor.id:An({pageBorderBox:de,draggable:je,candidates:kt}):null}var ia=function(de,je){return n(Ue(de,je))},xa=function(de,je){var bt=de.frame;return bt?ia(je,bt.scroll.diff.value):je};function ta(at){var de=at.displaced,je=at.id;return Boolean(de.visible[je]||de.invisible[je])}function _i(at){var de=at.draggable,je=at.closest,bt=at.inHomeList;return je?bt&&je.descriptor.index>de.descriptor.index?je.descriptor.index-1:je.descriptor.index:null}var Ci=function(de){var je=de.pageBorderBoxWithDroppableScroll,bt=de.draggable,kt=de.destination,qt=de.insideDestination,ar=de.last,lr=de.viewport,yr=de.afterCritical,Vr=kt.axis,Xr=fr(kt.axis,bt.displaceBy),Pr=Xr.value,kr=je[Vr.start],Gr=je[Vr.end],dn=Pt(bt,qt),pn=it(dn,function(ci){var ii=ci.descriptor.id,Ji=ci.page.borderBox.center[Vr.line],Si=Kt(ii,yr),Va=ta({displaced:ar,id:ii});return Si?Va?Gr<=Ji:kr<Ji-Pr:Va?Gr<=Ji+Pr:kr<Ji}),ei=_i({draggable:bt,closest:pn,inHomeList:me(bt,kt)});return Dt({draggable:bt,insideDestination:qt,destination:kt,viewport:lr,last:ar,displacedBy:Xr,index:ei})},Gn=4,Ia=function(de){var je=de.draggable,bt=de.pageBorderBoxWithDroppableScroll,kt=de.previousImpact,qt=de.destination,ar=de.insideDestination,lr=de.afterCritical;if(!qt.isCombineEnabled)return null;var yr=qt.axis,Vr=fr(qt.axis,je.displaceBy),Xr=Vr.value,Pr=bt[yr.start],kr=bt[yr.end],Gr=Pt(je,ar),dn=it(Gr,function(ei){var ci=ei.descriptor.id,ii=ei.page.borderBox,Ji=ii[yr.size],Si=Ji/Gn,Va=Kt(ci,lr),Ei=ta({displaced:kt.displaced,id:ci});return Va?Ei?kr>ii[yr.start]+Si&&kr<ii[yr.end]-Si:Pr>ii[yr.start]-Xr+Si&&Pr<ii[yr.end]-Xr-Si:Ei?kr>ii[yr.start]+Xr+Si&&kr<ii[yr.end]+Xr-Si:Pr>ii[yr.start]+Si&&Pr<ii[yr.end]-Si});if(!dn)return null;var pn={displacedBy:Vr,displaced:kt.displaced,at:{type:"COMBINE",combine:{draggableId:dn.descriptor.id,droppableId:qt.descriptor.id}}};return pn},mn=function(de){var je=de.pageOffset,bt=de.draggable,kt=de.draggables,qt=de.droppables,ar=de.previousImpact,lr=de.viewport,yr=de.afterCritical,Vr=ia(bt.page.borderBox,je),Xr=on({pageBorderBox:Vr,draggable:bt,droppables:qt});if(!Xr)return De;var Pr=qt[Xr],kr=yt(Pr.descriptor.id,kt),Gr=xa(Pr,Vr);return Ia({pageBorderBoxWithDroppableScroll:Gr,draggable:bt,previousImpact:ar,destination:Pr,insideDestination:kr,afterCritical:yr})||Ci({pageBorderBoxWithDroppableScroll:Gr,draggable:bt,destination:Pr,insideDestination:kr,last:ar.displaced,viewport:lr,afterCritical:yr})},In=function(de,je){var bt;return Object(m.a)({},de,(bt={},bt[je.descriptor.id]=je,bt))},Ln=function(de){var je=de.previousImpact,bt=de.impact,kt=de.droppables,qt=gn(je),ar=gn(bt);if(!qt)return kt;if(qt===ar)return kt;var lr=kt[qt];if(!lr.subject.withPlaceholder)return kt;var yr=Nn(lr);return In(kt,yr)},_n=function(de){var je=de.draggable,bt=de.draggables,kt=de.droppables,qt=de.previousImpact,ar=de.impact,lr=Ln({previousImpact:qt,impact:ar,droppables:kt}),yr=gn(ar);if(!yr)return lr;var Vr=kt[yr];if(me(je,Vr))return lr;if(Vr.subject.withPlaceholder)return lr;var Xr=un(Vr,je,bt);return In(lr,Xr)},jn=function(de){var je=de.state,bt=de.clientSelection,kt=de.dimensions,qt=de.viewport,ar=de.impact,lr=de.scrollJumpRequest,yr=qt||je.viewport,Vr=kt||je.dimensions,Xr=bt||je.current.client.selection,Pr=Fe(Xr,je.initial.client.selection),kr={offset:Pr,selection:Xr,borderBoxCenter:ye(je.initial.client.borderBoxCenter,Pr)},Gr={selection:ye(kr.selection,yr.scroll.current),borderBoxCenter:ye(kr.borderBoxCenter,yr.scroll.current),offset:ye(kr.offset,yr.scroll.diff.value)},dn={client:kr,page:Gr};if(je.phase==="COLLECTING")return Object(m.a)({phase:"COLLECTING"},je,{dimensions:Vr,viewport:yr,current:dn});var pn=Vr.draggables[je.critical.draggable.id],ei=ar||mn({pageOffset:Gr.offset,draggable:pn,draggables:Vr.draggables,droppables:Vr.droppables,previousImpact:je.impact,viewport:yr,afterCritical:je.afterCritical}),ci=_n({draggable:pn,impact:ei,previousImpact:je.impact,draggables:Vr.draggables,droppables:Vr.droppables}),ii=Object(m.a)({},je,{current:dn,dimensions:{draggables:Vr.draggables,droppables:ci},impact:ei,viewport:yr,scrollJumpRequest:lr||null,forceShouldAnimate:lr?!1:null});return ii};function ni(at,de){return at.map(function(je){return de[je]})}var di=function(de){var je=de.impact,bt=de.viewport,kt=de.draggables,qt=de.destination,ar=de.forceShouldAnimate,lr=je.displaced,yr=ni(lr.all,kt),Vr=vt({afterDragging:yr,destination:qt,displacedBy:je.displacedBy,viewport:bt.frame,forceShouldAnimate:ar,last:lr});return Object(m.a)({},je,{displaced:Vr})},Na=function(de){var je=de.impact,bt=de.draggable,kt=de.droppable,qt=de.draggables,ar=de.viewport,lr=de.afterCritical,yr=ir({impact:je,draggable:bt,draggables:qt,droppable:kt,afterCritical:lr});return tn({pageBorderBoxCenter:yr,draggable:bt,viewport:ar})},Qi=function(de){var je=de.state,bt=de.dimensions,kt=de.viewport;je.movementMode==="SNAP"||Ae(!1);var qt=je.impact,ar=kt||je.viewport,lr=bt||je.dimensions,yr=lr.draggables,Vr=lr.droppables,Xr=yr[je.critical.draggable.id],Pr=gn(qt);Pr||Ae(!1);var kr=Vr[Pr],Gr=di({impact:qt,viewport:ar,destination:kr,draggables:yr}),dn=Na({impact:Gr,draggable:Xr,droppable:kr,draggables:yr,viewport:ar,afterCritical:je.afterCritical});return jn({impact:Gr,clientSelection:dn,state:je,dimensions:lr,viewport:ar})},ma=function(de){return{index:de.index,droppableId:de.droppableId}},Pa=function(de){var je=de.draggable,bt=de.home,kt=de.draggables,qt=de.viewport,ar=fr(bt.axis,je.displaceBy),lr=yt(bt.descriptor.id,kt),yr=lr.indexOf(je);yr!==-1||Ae(!1);var Vr=lr.slice(yr+1),Xr=Vr.reduce(function(dn,pn){return dn[pn.descriptor.id]=!0,dn},{}),Pr={inVirtualList:bt.descriptor.mode==="virtual",displacedBy:ar,effected:Xr},kr=vt({afterDragging:Vr,destination:bt,displacedBy:ar,last:null,viewport:qt.frame,forceShouldAnimate:!1}),Gr={displaced:kr,displacedBy:ar,at:{type:"REORDER",destination:ma(je.descriptor)}};return{impact:Gr,afterCritical:Pr}},Qa=function(de,je){return{draggables:de.draggables,droppables:In(de.droppables,je)}},Wi=function(de){},Co=function(de){},aa=function(de){var je=de.draggable,bt=de.offset,kt=de.initialWindowScroll,qt=E(je.client,bt),ar=A(qt,kt),lr=Object(m.a)({},je,{placeholder:Object(m.a)({},je.placeholder,{client:qt}),client:qt,page:ar});return lr},Hi=function(de){var je=de.frame;return je||Ae(!1),je},ga=function(de){var je=de.additions,bt=de.updatedDroppables,kt=de.viewport,qt=kt.scroll.diff.value;return je.map(function(ar){var lr=ar.descriptor.droppableId,yr=bt[lr],Vr=Hi(yr),Xr=Vr.scroll.diff.value,Pr=ye(qt,Xr),kr=aa({draggable:ar,offset:Pr,initialWindowScroll:kt.scroll.initial});return kr})},ha=function(de){var je=de.state,bt=de.published;Wi();var kt=bt.modified.map(function(Si){var Va=je.dimensions.droppables[Si.droppableId],Ei=st(Va,Si.scroll);return Ei}),qt=Object(m.a)({},je.dimensions.droppables,{},ve(kt)),ar=Zt(ga({additions:bt.additions,updatedDroppables:qt,viewport:je.viewport})),lr=Object(m.a)({},je.dimensions.draggables,{},ar);bt.removals.forEach(function(Si){delete lr[Si]});var yr={droppables:qt,draggables:lr},Vr=gn(je.impact),Xr=Vr?yr.droppables[Vr]:null,Pr=yr.draggables[je.critical.draggable.id],kr=yr.droppables[je.critical.droppable.id],Gr=Pa({draggable:Pr,home:kr,draggables:lr,viewport:je.viewport}),dn=Gr.impact,pn=Gr.afterCritical,ei=Xr&&Xr.isCombineEnabled?je.impact:dn,ci=mn({pageOffset:je.current.page.offset,draggable:yr.draggables[je.critical.draggable.id],draggables:yr.draggables,droppables:yr.droppables,previousImpact:ei,viewport:je.viewport,afterCritical:pn});Co();var ii=Object(m.a)({phase:"DRAGGING"},je,{phase:"DRAGGING",impact:ci,onLiftImpact:dn,dimensions:yr,afterCritical:pn,forceShouldAnimate:!1});if(je.phase==="COLLECTING")return ii;var Ji=Object(m.a)({phase:"DROP_PENDING"},ii,{phase:"DROP_PENDING",reason:je.reason,isWaiting:!1});return Ji},mo=function(de){return de.movementMode==="SNAP"},kn=function(de,je,bt){var kt=Qa(de.dimensions,je);return!mo(de)||bt?jn({state:de,dimensions:kt}):Qi({state:de,dimensions:kt})};function $i(at){return at.isDragging&&at.movementMode==="SNAP"?Object(m.a)({phase:"DRAGGING"},at,{scrollJumpRequest:null}):at}var eo={phase:"IDLE",completed:null,shouldFlush:!1},To=function(de,je){if(de===void 0&&(de=eo),je.type==="FLUSH")return Object(m.a)({},eo,{shouldFlush:!0});if(je.type==="INITIAL_PUBLISH"){de.phase==="IDLE"||Ae(!1);var bt=je.payload,kt=bt.critical,qt=bt.clientSelection,ar=bt.viewport,lr=bt.dimensions,yr=bt.movementMode,Vr=lr.draggables[kt.draggable.id],Xr=lr.droppables[kt.droppable.id],Pr={selection:qt,borderBoxCenter:Vr.client.borderBox.center,offset:Te},kr={client:Pr,page:{selection:ye(Pr.selection,ar.scroll.initial),borderBoxCenter:ye(Pr.selection,ar.scroll.initial),offset:ye(Pr.selection,ar.scroll.diff.value)}},Gr=dt(lr.droppables).every(function(te){return!te.isFixedOnPage}),dn=Pa({draggable:Vr,home:Xr,draggables:lr.draggables,viewport:ar}),pn=dn.impact,ei=dn.afterCritical,ci={phase:"DRAGGING",isDragging:!0,critical:kt,movementMode:yr,dimensions:lr,initial:kr,current:kr,isWindowScrollAllowed:Gr,impact:pn,afterCritical:ei,onLiftImpact:pn,viewport:ar,scrollJumpRequest:null,forceShouldAnimate:null};return ci}if(je.type==="COLLECTION_STARTING"){if(de.phase==="COLLECTING"||de.phase==="DROP_PENDING")return de;de.phase==="DRAGGING"||Ae(!1);var ii=Object(m.a)({phase:"COLLECTING"},de,{phase:"COLLECTING"});return ii}if(je.type==="PUBLISH_WHILE_DRAGGING")return de.phase==="COLLECTING"||de.phase==="DROP_PENDING"||Ae(!1),ha({state:de,published:je.payload});if(je.type==="MOVE"){if(de.phase==="DROP_PENDING")return de;qn(de)||Ae(!1);var Ji=je.payload.client;return Oe(Ji,de.current.client.selection)?de:jn({state:de,clientSelection:Ji,impact:mo(de)?de.impact:null})}if(je.type==="UPDATE_DROPPABLE_SCROLL"){if(de.phase==="DROP_PENDING")return $i(de);if(de.phase==="COLLECTING")return $i(de);qn(de)||Ae(!1);var Si=je.payload,Va=Si.id,Ei=Si.newScroll,co=de.dimensions.droppables[Va];if(!co)return de;var Ko=st(co,Ei);return kn(de,Ko,!1)}if(je.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(de.phase==="DROP_PENDING")return de;qn(de)||Ae(!1);var ao=je.payload,Uo=ao.id,O=ao.isEnabled,M=de.dimensions.droppables[Uo];M||Ae(!1),M.isEnabled!==O||Ae(!1);var J=Object(m.a)({},M,{isEnabled:O});return kn(de,J,!0)}if(je.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(de.phase==="DROP_PENDING")return de;qn(de)||Ae(!1);var ee=je.payload,ie=ee.id,Re=ee.isCombineEnabled,pt=de.dimensions.droppables[ie];pt||Ae(!1),pt.isCombineEnabled!==Re||Ae(!1);var Nt=Object(m.a)({},pt,{isCombineEnabled:Re});return kn(de,Nt,!0)}if(je.type==="MOVE_BY_WINDOW_SCROLL"){if(de.phase==="DROP_PENDING"||de.phase==="DROP_ANIMATING")return de;qn(de)||Ae(!1),de.isWindowScrollAllowed||Ae(!1);var zt=je.payload.newScroll;if(Oe(de.viewport.scroll.current,zt))return $i(de);var Yt=Xt(de.viewport,zt);return mo(de)?Qi({state:de,viewport:Yt}):jn({state:de,viewport:Yt})}if(je.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!qn(de))return de;var Cr=je.payload.maxScroll;if(Oe(Cr,de.viewport.scroll.max))return de;var Ur=Object(m.a)({},de.viewport,{scroll:Object(m.a)({},de.viewport.scroll,{max:Cr})});return Object(m.a)({phase:"DRAGGING"},de,{viewport:Ur})}if(je.type==="MOVE_UP"||je.type==="MOVE_DOWN"||je.type==="MOVE_LEFT"||je.type==="MOVE_RIGHT"){if(de.phase==="COLLECTING"||de.phase==="DROP_PENDING")return de;de.phase==="DRAGGING"||Ae(!1);var en=zn({state:de,type:je.type});return en?jn({state:de,impact:en.impact,clientSelection:en.clientSelection,scrollJumpRequest:en.scrollJumpRequest}):de}if(je.type==="DROP_PENDING"){var nn=je.payload.reason;de.phase==="COLLECTING"||Ae(!1);var xn=Object(m.a)({phase:"DROP_PENDING"},de,{phase:"DROP_PENDING",isWaiting:!0,reason:nn});return xn}if(je.type==="DROP_ANIMATE"){var Pn=je.payload,Zn=Pn.completed,Jn=Pn.dropDuration,oi=Pn.newHomeClientOffset;de.phase==="DRAGGING"||de.phase==="DROP_PENDING"||Ae(!1);var li={phase:"DROP_ANIMATING",completed:Zn,dropDuration:Jn,newHomeClientOffset:oi,dimensions:de.dimensions};return li}if(je.type==="DROP_COMPLETE"){var qe=je.payload.completed;return{phase:"IDLE",completed:qe,shouldFlush:!1}}return de},uo=function(de){return{type:"BEFORE_INITIAL_CAPTURE",payload:de}},rr=function(de){return{type:"LIFT",payload:de}},Tr=function(de){return{type:"INITIAL_PUBLISH",payload:de}},Br=function(de){return{type:"PUBLISH_WHILE_DRAGGING",payload:de}},Wr=function(){return{type:"COLLECTION_STARTING",payload:null}},hn=function(de){return{type:"UPDATE_DROPPABLE_SCROLL",payload:de}},tt=function(de){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:de}},jt=function(de){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:de}},Jt=function(de){return{type:"MOVE",payload:de}},nr=function(de){return{type:"MOVE_BY_WINDOW_SCROLL",payload:de}},Ir=function(de){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:de}},wr=function(){return{type:"MOVE_UP",payload:null}},Er=function(){return{type:"MOVE_DOWN",payload:null}},zr=function(){return{type:"MOVE_RIGHT",payload:null}},Jr=function(){return{type:"MOVE_LEFT",payload:null}},Zr=function(){return{type:"FLUSH",payload:null}},an=function(de){return{type:"DROP_ANIMATE",payload:de}},St=function(de){return{type:"DROP_COMPLETE",payload:de}},Vt=function(de){return{type:"DROP",payload:de}},sr=function(de){return{type:"DROP_PENDING",payload:de}},br=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Mr(at){if(at.length<=1)return;for(var de=at.map(function(lr){return lr.descriptor.index}),je={},bt=1;bt<de.length;bt++){var kt=de[bt],qt=de[bt-1];kt!==qt+1&&(je[kt]=!0)}if(!Object.keys(je).length)return;var ar=de.map(function(lr){var yr=Boolean(je[lr]);return yr?"[\u{1F525}"+lr+"]":""+lr}).join(", ")}function Dr(at,de){if(!1)var je}var rn=function(de){return function(je){var bt=je.getState,kt=je.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,Pr=bt();Pr.phase==="DROP_ANIMATING"&&kt(St({completed:Pr.completed})),bt().phase==="IDLE"||Ae(!1),kt(Zr()),kt(uo({draggableId:yr,movementMode:Xr}));var kr={shouldPublishImmediately:Xr==="SNAP"},Gr={draggableId:yr,scrollOptions:kr},dn=de.startPublishing(Gr),pn=dn.critical,ei=dn.dimensions,ci=dn.viewport;Dr(pn,ei),kt(Tr({critical:pn,dimensions:ei,clientSelection:Vr,movementMode:Xr,viewport:ci}))}}}},fn=function(de){return function(){return function(je){return function(bt){bt.type==="INITIAL_PUBLISH"&&de.dragging(),bt.type==="DROP_ANIMATE"&&de.dropping(bt.payload.completed.result.reason),(bt.type==="FLUSH"||bt.type==="DROP_COMPLETE")&&de.resting(),je(bt)}}}},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(de){var je=de+"s "+wn.drop;return"transform "+je+", opacity "+je},outOfTheWay:"transform "+bn,placeholder:"height "+bn+", width "+bn+", margin "+bn},vn=function(de){return Oe(de,Te)?null:"translate("+de.x+"px, "+de.y+"px)"},Rn={moveTo:vn,drop:function(de,je){var bt=vn(de);return bt?je?bt+" scale("+Hn.scale.drop+")":bt:null}},En=Sn.minDropTime,On=Sn.maxDropTime,Xn=On-En,ai=1500,ri=.6,Di=function(de){var je=de.current,bt=de.destination,kt=de.reason,qt=Le(je,bt);if(qt<=0)return En;if(qt>=ai)return On;var ar=qt/ai,lr=En+Xn*ar,yr=kt==="CANCEL"?lr*ri:lr;return Number(yr.toFixed(2))},yi=function(de){var je=de.impact,bt=de.draggable,kt=de.dimensions,qt=de.viewport,ar=de.afterCritical,lr=kt.draggables,yr=kt.droppables,Vr=gn(je),Xr=Vr?yr[Vr]:null,Pr=yr[bt.descriptor.droppableId],kr=Na({impact:je,draggable:bt,draggables:lr,afterCritical:ar,droppable:Xr||Pr,viewport:qt}),Gr=Fe(kr,bt.client.borderBox.center);return Gr},xi=function(de){var je=de.draggables,bt=de.reason,kt=de.lastImpact,qt=de.home,ar=de.viewport,lr=de.onLiftImpact;if(!kt.at||bt!=="DROP"){var yr=di({draggables:je,impact:lr,destination:qt,viewport:ar,forceShouldAnimate:!0});return{impact:yr,didDropInsideDroppable:!1}}if(kt.at.type==="REORDER")return{impact:kt,didDropInsideDroppable:!0};var Vr=Object(m.a)({},kt,{displaced:ue});return{impact:Vr,didDropInsideDroppable:!0}},Li=function(de){var je=de.getState,bt=de.dispatch;return function(kt){return function(qt){if(qt.type!=="DROP"){kt(qt);return}var ar=je(),lr=qt.payload.reason;if(ar.phase==="COLLECTING"){bt(sr({reason:lr}));return}if(ar.phase==="IDLE")return;var yr=ar.phase==="DROP_PENDING"&&ar.isWaiting;yr&&Ae(!1),ar.phase==="DRAGGING"||ar.phase==="DROP_PENDING"||Ae(!1);var Vr=ar.critical,Xr=ar.dimensions,Pr=Xr.draggables[ar.critical.draggable.id],kr=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=kr.impact,dn=kr.didDropInsideDroppable,pn=dn?_t(Gr):null,ei=dn?or(Gr):null,ci={index:Vr.draggable.index,droppableId:Vr.droppable.id},ii={draggableId:Pr.descriptor.id,type:Pr.descriptor.type,source:ci,reason:lr,mode:ar.movementMode,destination:pn,combine:ei},Ji=yi({impact:Gr,draggable:Pr,dimensions:Xr,viewport:ar.viewport,afterCritical:ar.afterCritical}),Si={critical:ar.critical,afterCritical:ar.afterCritical,result:ii,impact:Gr},Va=!Oe(ar.current.client.offset,Ji)||Boolean(ii.combine);if(!Va){bt(St({completed:Si}));return}var Ei=Di({current:ar.current.client.offset,destination:Ji,reason:lr}),co={newHomeClientOffset:Ji,dropDuration:Ei,completed:Si};bt(an(co))}}},Un=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Ri(at){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(je){if(je.target!==window&&je.target!==window.document)return;at()}}}function fa(at){var de=at.onWindowScroll;function je(){de(Un())}var bt=N(je),kt=Ri(bt),qt=G;function ar(){return qt!==G}function lr(){ar()&&Ae(!1),qt=ge(window,[kt])}function yr(){ar()||Ae(!1),bt.cancel(),qt(),qt=G}return{start:lr,stop:yr,isActive:ar}}var Ui=function(de){return de.type==="DROP_COMPLETE"||de.type==="DROP_ANIMATE"||de.type==="FLUSH"},Mi=function(de){var je=fa({onWindowScroll:function(kt){de.dispatch(nr({newScroll:kt}))}});return function(bt){return function(kt){!je.isActive()&&kt.type==="INITIAL_PUBLISH"&&je.start(),je.isActive()&&Ui(kt)&&je.stop(),bt(kt)}}},mi=function(de){var je=!1,bt=!1,kt=setTimeout(function(){bt=!0}),qt=function(lr){if(je)return;if(bt)return;je=!0,de(lr),clearTimeout(kt)};return qt.wasCalled=function(){return je},qt},hi=function(){var de=[],je=function(ar){var lr=re(de,function(Xr){return Xr.timerId===ar});lr!==-1||Ae(!1);var yr=de.splice(lr,1),Vr=yr[0];Vr.callback()},bt=function(ar){var lr=setTimeout(function(){return je(lr)}),yr={timerId:lr,callback:ar};de.push(yr)},kt=function(){if(!de.length)return;var ar=[].concat(de);de.length=0,ar.forEach(function(lr){clearTimeout(lr.timerId),lr.callback()})};return{add:bt,flush:kt}},qi=function(de,je){return de==null&&je==null?!0:de==null||je==null?!1:de.droppableId===je.droppableId&&de.index===je.index},va=function(de,je){return de==null&&je==null?!0:de==null||je==null?!1:de.draggableId===je.draggableId&&de.droppableId===je.droppableId},Ea=function(de,je){if(de===je)return!0;var bt=de.draggable.id===je.draggable.id&&de.draggable.droppableId===je.draggable.droppableId&&de.draggable.type===je.draggable.type&&de.draggable.index===je.draggable.index,kt=de.droppable.id===je.droppable.id&&de.droppable.type===je.droppable.type;return bt&&kt},ya=function(de,je){Wi(),je(),Co()},oa=function(de,je){return{draggableId:de.draggable.id,type:de.droppable.type,source:{droppableId:de.droppable.id,index:de.draggable.index},mode:je}},sa=function(de,je,bt,kt){if(!de){bt(kt(je));return}var qt=mi(bt),ar={announce:qt};de(je,ar),qt.wasCalled()||bt(kt(je))},Ni=function(de,je){var bt=hi(),kt=null,qt=function(Gr,dn){kt&&Ae(!1),ya("onBeforeCapture",function(){var pn=de().onBeforeCapture;if(pn){var ei={draggableId:Gr,mode:dn};pn(ei)}})},ar=function(Gr,dn){kt&&Ae(!1),ya("onBeforeDragStart",function(){var pn=de().onBeforeDragStart;pn&&pn(oa(Gr,dn))})},lr=function(Gr,dn){kt&&Ae(!1);var pn=oa(Gr,dn);kt={mode:dn,lastCritical:Gr,lastLocation:pn.source,lastCombine:null},bt.add(function(){ya("onDragStart",function(){return sa(de().onDragStart,pn,je,$.onDragStart)})})},yr=function(Gr,dn){var pn=_t(dn),ei=or(dn);kt||Ae(!1);var ci=!Ea(Gr,kt.lastCritical);ci&&(kt.lastCritical=Gr);var ii=!qi(kt.lastLocation,pn);ii&&(kt.lastLocation=pn);var Ji=!va(kt.lastCombine,ei);if(Ji&&(kt.lastCombine=ei),!ci&&!ii&&!Ji)return;var Si=Object(m.a)({},oa(Gr,kt.mode),{combine:ei,destination:pn});bt.add(function(){ya("onDragUpdate",function(){return sa(de().onDragUpdate,Si,je,$.onDragUpdate)})})},Vr=function(){kt||Ae(!1),bt.flush()},Xr=function(Gr){kt||Ae(!1),kt=null,ya("onDragEnd",function(){return sa(de().onDragEnd,Gr,je,$.onDragEnd)})},Pr=function(){if(!kt)return;var Gr=Object(m.a)({},oa(kt.lastCritical,kt.mode),{combine:null,destination:null,reason:"CANCEL"});Xr(Gr)};return{beforeCapture:qt,beforeStart:ar,start:lr,update:yr,flush:Vr,drop:Xr,abort:Pr}},$n=function(de,je){var bt=Ni(de,je);return function(kt){return function(qt){return function(ar){if(ar.type==="BEFORE_INITIAL_CAPTURE"){bt.beforeCapture(ar.payload.draggableId,ar.payload.movementMode);return}if(ar.type==="INITIAL_PUBLISH"){var lr=ar.payload.critical;bt.beforeStart(lr,ar.payload.movementMode),qt(ar),bt.start(lr,ar.payload.movementMode);return}if(ar.type==="DROP_COMPLETE"){var yr=ar.payload.completed.result;bt.flush(),qt(ar),bt.drop(yr);return}if(qt(ar),ar.type==="FLUSH"){bt.abort();return}var Vr=kt.getState();Vr.phase==="DRAGGING"&&bt.update(Vr.critical,Vr.impact)}}}},Ai=function(de){return function(je){return function(bt){if(bt.type!=="DROP_ANIMATION_FINISHED"){je(bt);return}var kt=de.getState();kt.phase==="DROP_ANIMATING"||Ae(!1),de.dispatch(St({completed:kt.completed}))}}},Oi=function(de){var je=null,bt=null;function kt(){bt&&(cancelAnimationFrame(bt),bt=null),je&&(je(),je=null)}return function(qt){return function(ar){if((ar.type==="FLUSH"||ar.type==="DROP_COMPLETE"||ar.type==="DROP_ANIMATION_FINISHED")&&kt(),qt(ar),ar.type!=="DROP_ANIMATE")return;var lr={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Vr=de.getState();Vr.phase==="DROP_ANIMATING"&&de.dispatch(br())}};bt=requestAnimationFrame(function(){bt=null,je=ge(window,[lr])})}}},Vi=function(de){return function(){return function(je){return function(bt){(bt.type==="DROP_COMPLETE"||bt.type==="FLUSH"||bt.type==="DROP_ANIMATE")&&de.stopPublishing(),je(bt)}}}},Xi=function(de){var je=!1;return function(){return function(bt){return function(kt){if(kt.type==="INITIAL_PUBLISH"){je=!0,de.tryRecordFocus(kt.payload.critical.draggable.id),bt(kt),de.tryRestoreFocusRecorded();return}if(bt(kt),!je)return;if(kt.type==="FLUSH"){je=!1,de.tryRestoreFocusRecorded();return}if(kt.type==="DROP_COMPLETE"){je=!1;var qt=kt.payload.completed.result;qt.combine&&de.tryShiftRecord(qt.draggableId,qt.combine.draggableId),de.tryRestoreFocusRecorded()}}}}},bi=function(de){return de.type==="DROP_COMPLETE"||de.type==="DROP_ANIMATE"||de.type==="FLUSH"},Aa=function(de){return function(je){return function(bt){return function(kt){if(bi(kt)){de.stop(),bt(kt);return}if(kt.type==="INITIAL_PUBLISH"){bt(kt);var qt=je.getState();qt.phase==="DRAGGING"||Ae(!1),de.start(qt);return}bt(kt),de.scroll(je.getState())}}}},ca=function(de){return function(je){return function(bt){if(je(bt),bt.type!=="PUBLISH_WHILE_DRAGGING")return;var kt=de.getState();if(kt.phase!=="DROP_PENDING")return;if(kt.isWaiting)return;de.dispatch(Vt({reason:kt.reason}))}}},la=v.d,gi=function(de){var je=de.dimensionMarshal,bt=de.focusMarshal,kt=de.styleMarshal,qt=de.getResponders,ar=de.announce,lr=de.autoScroller;return Object(v.e)(To,la(Object(v.a)(fn(kt),Vi(je),rn(je),Li,Ai,Oi,ca,Aa(lr),Mi,Xi(bt),$n(qt,ar))))},Ba=function(){return{additions:{},removals:{},modified:{}}};function Ma(at){var de=at.registry,je=at.callbacks,bt=Ba(),kt=null,qt=function(){if(kt)return;je.collectionStarting(),kt=requestAnimationFrame(function(){kt=null,Wi();var Xr=bt,Pr=Xr.additions,kr=Xr.removals,Gr=Xr.modified,dn=Object.keys(Pr).map(function(ci){return de.draggable.getById(ci).getDimension(Te)}).sort(function(ci,ii){return ci.descriptor.index-ii.descriptor.index}),pn=Object.keys(Gr).map(function(ci){var ii=de.droppable.getById(ci),Ji=ii.callbacks.getScrollWhileDragging();return{droppableId:ci,scroll:Ji}}),ei={additions:dn,removals:Object.keys(kr),modified:pn};bt=Ba(),Co(),je.publish(ei)})},ar=function(Xr){var Pr=Xr.descriptor.id;bt.additions[Pr]=Xr,bt.modified[Xr.descriptor.droppableId]=!0,bt.removals[Pr]&&delete bt.removals[Pr],qt()},lr=function(Xr){var Pr=Xr.descriptor;bt.removals[Pr.id]=!0,bt.modified[Pr.droppableId]=!0,bt.additions[Pr.id]&&delete bt.additions[Pr.id],qt()},yr=function(){if(!kt)return;cancelAnimationFrame(kt),kt=null,bt=Ba()};return{add:ar,remove:lr,stop:yr}}var ra=function(de){var je=de.scrollHeight,bt=de.scrollWidth,kt=de.height,qt=de.width,ar=Fe({x:bt,y:je},{x:qt,y:kt}),lr={x:Math.max(0,ar.x),y:Math.max(0,ar.y)};return lr},Yi=function(){var de=document.documentElement;return de||Ae(!1),de},Xa=function(){var de=Yi(),je=ra({scrollHeight:de.scrollHeight,scrollWidth:de.scrollWidth,width:de.clientWidth,height:de.clientHeight});return je},Ki=function(){var de=Un(),je=Xa(),bt=de.y,kt=de.x,qt=Yi(),ar=qt.clientWidth,lr=qt.clientHeight,yr=kt+ar,Vr=bt+lr,Xr=n({top:bt,left:kt,right:yr,bottom:Vr}),Pr={frame:Xr,scroll:{initial:de,current:de,max:je,diff:{value:Te,displacement:Te}}};return Pr},zi=function(de){var je=de.critical,bt=de.scrollOptions,kt=de.registry;Wi();var qt=Ki(),ar=qt.scroll.current,lr=je.droppable,yr=kt.droppable.getAllByType(lr.type).map(function(kr){return kr.callbacks.getDimensionAndWatchScroll(ar,bt)}),Vr=kt.draggable.getAllByType(je.draggable.type).map(function(kr){return kr.getDimension(ar)}),Xr={draggables:Zt(Vr),droppables:ve(yr)};Co();var Pr={dimensions:Xr,critical:je,viewport:qt};return Pr};function ba(at,de,je){if(je.descriptor.id===de.id)return!1;if(je.descriptor.type!==de.type)return!1;var bt=at.droppable.getById(je.descriptor.droppableId);return!(bt.descriptor.mode!=="virtual")}var Ua=function(de,je){var bt=null,kt=Ma({callbacks:{publish:je.publishWhileDragging,collectionStarting:je.collectionStarting},registry:de}),qt=function(dn,pn){if(de.droppable.exists(dn)||Ae(!1),!bt)return;je.updateDroppableIsEnabled({id:dn,isEnabled:pn})},ar=function(dn,pn){if(!bt)return;de.droppable.exists(dn)||Ae(!1),je.updateDroppableIsCombineEnabled({id:dn,isCombineEnabled:pn})},lr=function(dn,pn){if(!bt)return;de.droppable.exists(dn)||Ae(!1),je.updateDroppableScroll({id:dn,newScroll:pn})},yr=function(dn,pn){if(!bt)return;de.droppable.getById(dn).callbacks.scroll(pn)},Vr=function(){if(!bt)return;kt.stop();var dn=bt.critical.droppable;de.droppable.getAllByType(dn.type).forEach(function(pn){return pn.callbacks.dragStopped()}),bt.unsubscribe(),bt=null},Xr=function(dn){bt||Ae(!1);var pn=bt.critical.draggable;dn.type==="ADDITION"&&(ba(de,pn,dn.value)&&kt.add(dn.value)),dn.type==="REMOVAL"&&(ba(de,pn,dn.value)&&kt.remove(dn.value))},Pr=function(dn){bt&&Ae(!1);var pn=de.draggable.getById(dn.draggableId),ei=de.droppable.getById(pn.descriptor.droppableId),ci={draggable:pn.descriptor,droppable:ei.descriptor},ii=de.subscribe(Xr);return bt={critical:ci,unsubscribe:ii},zi({critical:ci,registry:de,scrollOptions:dn.scrollOptions})},kr={updateDroppableIsEnabled:qt,updateDroppableIsCombineEnabled:ar,scrollDroppable:yr,updateDroppableScroll:lr,startPublishing:Pr,stopPublishing:Vr};return kr},wa=function(de,je){return de.phase==="IDLE"?!0:de.phase!=="DROP_ANIMATING"||de.completed.result.draggableId===je?!1:de.completed.result.reason==="DROP"},vi=function(de){window.scrollBy(de.x,de.y)},Ya=C(function(at){return dt(at).filter(function(de){return de.isEnabled?!!de.frame:!1})}),Ka=function(de,je){var bt=it(Ya(je),function(kt){return kt.frame||Ae(!1),Yn(kt.frame.pageMarginBox)(de)});return bt},pa=function(de){var je=de.center,bt=de.destination,kt=de.droppables;if(bt){var qt=kt[bt];return qt.frame?qt:null}var ar=Ka(je,kt);return ar},Ii={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(de){return Math.pow(de,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},So=function(de,je){var bt=de[je.size]*Ii.startFromPercentage,kt=de[je.size]*Ii.maxScrollAtPercentage,qt={startScrollingFrom:bt,maxScrollValueAt:kt};return qt},za=function(de){var je=de.startOfRange,bt=de.endOfRange,kt=de.current,qt=bt-je;if(qt===0)return 0;var ar=kt-je,lr=ar/qt;return lr},ja=1,qa=function(de,je){if(de>je.startScrollingFrom)return 0;if(de<=je.maxScrollValueAt)return Ii.maxPixelScroll;if(de===je.startScrollingFrom)return ja;var bt=za({startOfRange:je.maxScrollValueAt,endOfRange:je.startScrollingFrom,current:de}),kt=1-bt,qt=Ii.maxPixelScroll*Ii.ease(kt);return Math.ceil(qt)},ho=Ii.durationDampening.accelerateAt,Ca=Ii.durationDampening.stopDampeningAt,to=function(de,je){var bt=je,kt=Ca,qt=Date.now(),ar=qt-bt;if(ar>=Ca)return de;if(ar<ho)return ja;var lr=za({startOfRange:ho,endOfRange:kt,current:ar}),yr=de*Ii.ease(lr);return Math.ceil(yr)},Lo=function(de){var je=de.distanceToEdge,bt=de.thresholds,kt=de.dragStartTime,qt=de.shouldUseTimeDampening,ar=qa(je,bt);return ar===0?0:qt?Math.max(to(ar,kt),ja):ar},Oa=function(de){var je=de.container,bt=de.distanceToEdges,kt=de.dragStartTime,qt=de.axis,ar=de.shouldUseTimeDampening,lr=So(je,qt),yr=bt[qt.end]<bt[qt.start];return yr?Lo({distanceToEdge:bt[qt.end],thresholds:lr,dragStartTime:kt,shouldUseTimeDampening:ar}):-1*Lo({distanceToEdge:bt[qt.start],thresholds:lr,dragStartTime:kt,shouldUseTimeDampening:ar})},Fi=function(de){var je=de.container,bt=de.subject,kt=de.proposedScroll,qt=bt.height>je.height,ar=bt.width>je.width;return!ar&&!qt?kt:ar&&qt?null:{x:ar?0:kt.x,y:qt?0:kt.y}},Ja=mt(function(at){return at===0?0:at}),Da=function(de){var je=de.dragStartTime,bt=de.container,kt=de.subject,qt=de.center,ar=de.shouldUseTimeDampening,lr={top:qt.y-bt.top,right:bt.right-qt.x,bottom:bt.bottom-qt.y,left:qt.x-bt.left},yr=Oa({container:bt,distanceToEdges:lr,dragStartTime:je,axis:Be,shouldUseTimeDampening:ar}),Vr=Oa({container:bt,distanceToEdges:lr,dragStartTime:je,axis:nt,shouldUseTimeDampening:ar}),Xr=Ja({x:Vr,y:yr});if(Oe(Xr,Te))return null;var Pr=Fi({container:bt,subject:kt,proposedScroll:Xr});return Pr?Oe(Pr,Te)?null:Pr:null},pi=mt(function(at){return at===0?0:at>0?1:-1}),Gi=function(){var at=function(je,bt){return je<0?je:je>bt?je-bt:0};return function(de){var je=de.current,bt=de.max,kt=de.change,qt=ye(je,kt),ar={x:at(qt.x,bt.x),y:at(qt.y,bt.y)};return Oe(ar,Te)?null:ar}}(),oo=function(de){var je=de.max,bt=de.current,kt=de.change,qt={x:Math.max(bt.x,je.x),y:Math.max(bt.y,je.y)},ar=pi(kt),lr=Gi({max:qt,current:bt,change:ar});return lr?ar.x!==0&&lr.x===0?!0:ar.y!==0&&lr.y===0:!0},go=function(de,je){return oo({current:de.scroll.current,max:de.scroll.max,change:je})},fo=function(de,je){if(!go(de,je))return null;var bt=de.scroll.max,kt=de.scroll.current;return Gi({current:kt,max:bt,change:je})},Ta=function(de,je){var bt=de.frame;return bt?oo({current:bt.scroll.current,max:bt.scroll.max,change:je}):!1},ki=function(de,je){var bt=de.frame;return bt&&Ta(de,je)?Gi({current:bt.scroll.current,max:bt.scroll.max,change:je}):null},Ra=function(de){var je=de.viewport,bt=de.subject,kt=de.center,qt=de.dragStartTime,ar=de.shouldUseTimeDampening,lr=Da({dragStartTime:qt,container:je.frame,subject:bt,center:kt,shouldUseTimeDampening:ar});return lr&&go(je,lr)?lr:null},Vo=function(de){var je=de.droppable,bt=de.subject,kt=de.center,qt=de.dragStartTime,ar=de.shouldUseTimeDampening,lr=je.frame;if(!lr)return null;var yr=Da({dragStartTime:qt,container:lr.pageMarginBox,subject:bt,center:kt,shouldUseTimeDampening:ar});return yr&&Ta(je,yr)?yr:null},ro=function(de){var je=de.state,bt=de.dragStartTime,kt=de.shouldUseTimeDampening,qt=de.scrollWindow,ar=de.scrollDroppable,lr=je.current.page.borderBoxCenter,yr=je.dimensions.draggables[je.critical.draggable.id],Vr=yr.page.marginBox;if(je.isWindowScrollAllowed){var Xr=je.viewport,Pr=Ra({dragStartTime:bt,viewport:Xr,subject:Vr,center:lr,shouldUseTimeDampening:kt});if(Pr){qt(Pr);return}}var kr=pa({center:lr,destination:gn(je.impact),droppables:je.dimensions.droppables});if(!kr)return;var Gr=Vo({dragStartTime:bt,droppable:kr,subject:Vr,center:lr,shouldUseTimeDampening:kt});Gr&&ar(kr.descriptor.id,Gr)},vo=function(de){var je=de.scrollWindow,bt=de.scrollDroppable,kt=N(je),qt=N(bt),ar=null,lr=function(Pr){ar||Ae(!1);var kr=ar,Gr=kr.shouldUseTimeDampening,dn=kr.dragStartTime;ro({state:Pr,scrollWindow:kt,scrollDroppable:qt,dragStartTime:dn,shouldUseTimeDampening:Gr})},yr=function(Pr){Wi(),ar&&Ae(!1);var kr=Date.now(),Gr=!1,dn=function(){Gr=!0};ro({state:Pr,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:dn,scrollDroppable:dn}),ar={dragStartTime:kr,shouldUseTimeDampening:Gr},Co(),Gr&&lr(Pr)},Vr=function(){if(!ar)return;kt.cancel(),qt.cancel(),ar=null};return{start:yr,stop:Vr,scroll:lr}},po=function(de){var je=de.move,bt=de.scrollDroppable,kt=de.scrollWindow,qt=function(Xr,Pr){var kr=ye(Xr.current.client.selection,Pr);je({client:kr})},ar=function(Xr,Pr){if(!Ta(Xr,Pr))return Pr;var kr=ki(Xr,Pr);if(!kr)return bt(Xr.descriptor.id,Pr),null;var Gr=Fe(Pr,kr);bt(Xr.descriptor.id,Gr);var dn=Fe(Pr,Gr);return dn},lr=function(Xr,Pr,kr){if(!Xr)return kr;if(!go(Pr,kr))return kr;var Gr=fo(Pr,kr);if(!Gr)return kt(kr),null;var dn=Fe(kr,Gr);kt(dn);var pn=Fe(kr,dn);return pn},yr=function(Xr){var Pr=Xr.scrollJumpRequest;if(!Pr)return;var kr=gn(Xr.impact);kr||Ae(!1);var Gr=ar(Xr.dimensions.droppables[kr],Pr);if(!Gr)return;var dn=Xr.viewport,pn=lr(Xr.isWindowScrollAllowed,dn,Gr);if(!pn)return;qt(Xr,pn)};return yr},Zi=function(de){var je=de.scrollDroppable,bt=de.scrollWindow,kt=de.move,qt=vo({scrollWindow:bt,scrollDroppable:je}),ar=po({move:kt,scrollWindow:bt,scrollDroppable:je}),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 at=xo+"-drag-handle";return{base:at,draggableId:at+"-draggable-id",contextId:at+"-context-id"}}(),Jo=function(){var at=xo+"-draggable";return{base:at,contextId:at+"-context-id",id:at+"-id"}}(),_s=function(){var at=xo+"-droppable";return{base:at,contextId:at+"-context-id",id:at+"-id"}}(),Cs={contextId:xo+"-scroll-container-context-id"},Ts=function(de){return function(je){return"["+je+'="'+de+'"]'}},Go=function(de,je){return de.map(function(bt){var kt=bt.styles[je];return kt?bt.selector+" { "+kt+" }":""}).join(" ")},bo="pointer-events: none;",Za=function(de){var je=Ts(de),bt=function(){var yr=`
cursor: -webkit-grab;
cursor: grab;
`;return{selector:je(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}}}(),kt=function(){var yr=`
transition: `+Mn.outOfTheWay+`;
`;return{selector:je(Jo.contextId),styles:{dragging:yr,dropAnimating:yr,userCancel:yr}}}(),qt={selector:je(_s.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=[kt,bt,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 de=document.querySelector("head");return de||Ae(!1),de},ps=function(de){var je=document.createElement("style");return de&&je.setAttribute("nonce",de),je.type="text/css",je};function Sr(at,de){var je=r(function(){return Za(at)},[at]),bt=Object(g.useRef)(null),kt=Object(g.useRef)(null),qt=o(C(function(Pr){var kr=kt.current;kr||Ae(!1),kr.textContent=Pr}),[]),ar=o(function(Pr){var kr=bt.current;kr||Ae(!1),kr.textContent=Pr},[]);Ga(function(){!bt.current&&!kt.current||Ae(!1);var Pr=ps(de),kr=ps(de);return bt.current=Pr,kt.current=kr,Pr.setAttribute(xo+"-always",at),kr.setAttribute(xo+"-dynamic",at),so().appendChild(Pr),so().appendChild(kr),ar(je.always),qt(je.resting),function(){var Gr=function(pn){var ei=pn.current;ei||Ae(!1),so().removeChild(ei),pn.current=null};Gr(bt),Gr(kt)}},[de,ar,qt,je.always,je.resting,at]);var lr=o(function(){return qt(je.dragging)},[qt,je.dragging]),yr=o(function(Pr){if(Pr==="DROP"){qt(je.dropAnimating);return}qt(je.userCancel)},[qt,je.dropAnimating,je.userCancel]),Vr=o(function(){if(!kt.current)return;qt(je.resting)},[qt,je.resting]),Xr=r(function(){return{dragging:lr,dropping:yr,resting:Vr}},[lr,yr,Vr]);return Xr}var Xo=function(de){return de&&de.ownerDocument?de.ownerDocument.defaultView:window};function ss(at){return at instanceof Xo(at).HTMLElement}function Ls(at,de){var je="["+is.contextId+'="'+at+'"]',bt=Qe(document.querySelectorAll(je));if(!bt.length)return null;var kt=it(bt,function(qt){return qt.getAttribute(is.draggableId)===de});return kt&&ss(kt)?kt:null}function Fa(at){var de=Object(g.useRef)({}),je=Object(g.useRef)(null),bt=Object(g.useRef)(null),kt=Object(g.useRef)(!1),qt=o(function(kr,Gr){var dn={id:kr,focus:Gr};return de.current[kr]=dn,function(){var ei=de.current,ci=ei[kr];ci!==dn&&delete ei[kr]}},[]),ar=o(function(kr){var Gr=Ls(at,kr);Gr&&Gr!==document.activeElement&&Gr.focus()},[at]),lr=o(function(kr,Gr){je.current===kr&&(je.current=Gr)},[]),yr=o(function(){if(bt.current)return;if(!kt.current)return;bt.current=requestAnimationFrame(function(){bt.current=null;var kr=je.current;kr&&ar(kr)})},[ar]),Vr=o(function(kr){je.current=null;var Gr=document.activeElement;if(!Gr)return;if(Gr.getAttribute(is.draggableId)!==kr)return;je.current=kr},[]);Ga(function(){return kt.current=!0,function(){kt.current=!1;var kr=bt.current;kr&&cancelAnimationFrame(kr)}},[]);var Xr=r(function(){return{register:qt,tryRecordFocus:Vr,tryRestoreFocusRecorded:yr,tryShiftRecord:lr}},[qt,Vr,yr,lr]);return Xr}function La(){var at={draggables:{},droppables:{}},de=[];function je(Pr){return de.push(Pr),function(){var Gr=de.indexOf(Pr);if(Gr===-1)return;de.splice(Gr,1)}}function bt(Pr){de.length&&de.forEach(function(kr){return kr(Pr)})}function kt(Pr){return at.draggables[Pr]||null}function qt(Pr){var kr=kt(Pr);return kr||Ae(!1),kr}var ar={register:function(kr){at.draggables[kr.descriptor.id]=kr,bt({type:"ADDITION",value:kr})},update:function(kr,Gr){var dn=at.draggables[Gr.descriptor.id];if(!dn)return;if(dn.uniqueId!==kr.uniqueId)return;delete at.draggables[Gr.descriptor.id],at.draggables[kr.descriptor.id]=kr},unregister:function(kr){var Gr=kr.descriptor.id,dn=kt(Gr);if(!dn)return;if(kr.uniqueId!==dn.uniqueId)return;delete at.draggables[Gr],bt({type:"REMOVAL",value:kr})},getById:qt,findById:kt,exists:function(kr){return Boolean(kt(kr))},getAllByType:function(kr){return oe(at.draggables).filter(function(Gr){return Gr.descriptor.type===kr})}};function lr(Pr){return at.droppables[Pr]||null}function yr(Pr){var kr=lr(Pr);return kr||Ae(!1),kr}var Vr={register:function(kr){at.droppables[kr.descriptor.id]=kr},unregister:function(kr){var Gr=lr(kr.descriptor.id);if(!Gr)return;if(kr.uniqueId!==Gr.uniqueId)return;delete at.droppables[kr.descriptor.id]},getById:yr,findById:lr,exists:function(kr){return Boolean(lr(kr))},getAllByType:function(kr){return oe(at.droppables).filter(function(Gr){return Gr.descriptor.type===kr})}};function Xr(){at.draggables={},at.droppables={},de.length=0}return{draggable:ar,droppable:Vr,subscribe:je,clean:Xr}}function Io(){var at=r(La,[]);return Object(g.useEffect)(function(){return function(){requestAnimationFrame(at.clean)}},[at]),at}var Oo=f.a.createContext(null),ts=function(){var de=document.body;return de||Ae(!1),de},Po={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(de){return"rbd-announcement-"+de};function ms(at){var de=r(function(){return rs(at)},[at]),je=Object(g.useRef)(null);Object(g.useEffect)(function(){var qt=document.createElement("div");return je.current=qt,qt.id=de,qt.setAttribute("aria-live","assertive"),qt.setAttribute("aria-atomic","true"),Object(m.a)(qt.style,Po),ts().appendChild(qt),function(){setTimeout(function(){var yr=ts();yr.contains(qt)&&yr.removeChild(qt),qt===je.current&&(je.current=null)})}},[de]);var bt=o(function(kt){var qt=je.current;if(qt){qt.textContent=kt;return}},[]);return bt}var ls=0,Ns={separator:"::"};function Ds(){ls=0}function as(at,de){return de===void 0&&(de=Ns),r(function(){return""+at+de.separator+ls++},[de.separator,at])}function $s(at){var de=at.contextId,je=at.uniqueId;return"rbd-hidden-text-"+de+"-"+je}function cs(at){var de=at.contextId,je=at.text,bt=as("hidden-text",{separator:"-"}),kt=r(function(){return $s({contextId:de,uniqueId:bt})},[bt,de]);return Object(g.useEffect)(function(){var ar=document.createElement("div");return ar.id=kt,ar.textContent=je,ar.style.display="none",ts().appendChild(ar),function(){var yr=ts();yr.contains(ar)&&yr.removeChild(ar)}},[kt,je]),kt}var Mo=f.a.createContext(null),Dn={react:"^16.8.5","react-dom":"^16.8.5"},Vs=/(\d+)\.(\d+)\.(\d+)/,Is=function(de){var je=Vs.exec(de);je!=null||Ae(!1);var bt=Number(je[1]),kt=Number(je[2]),qt=Number(je[3]);return{major:bt,minor:kt,patch:qt,raw:de}},Bt=function(de,je){return je.major>de.major?!0:je.major<de.major?!1:je.minor>de.minor?!0:je.minor<de.minor?!1:je.patch>=de.patch},le=function(de,je){var bt=Is(de),kt=Is(je);if(Bt(bt,kt))return},xe=`
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
`,Ie=function(de){var je=de.doctype;if(!je)return;je.name.toLowerCase()!=="html",je.publicId!==""};function We(at){}function Et(at,de){We(function(){Object(g.useEffect)(function(){try{at()}catch(je){z(`
A setup problem was encountered.
> `+je.message+`
`)}},de)})}function Ut(){Et(function(){le(Dn.react,f.a.version),Ie(document)},[])}function hr(at){var de=Object(g.useRef)(at);return Object(g.useEffect)(function(){de.current=at}),de}function gr(){var at=null;function de(){return Boolean(at)}function je(ar){return ar===at}function bt(ar){at&&Ae(!1);var lr={abandon:ar};return at=lr,lr}function kt(){at||Ae(!1),at=null}function qt(){at&&(at.abandon(),kt())}return{isClaimed:de,isActive:je,claim:bt,release:kt,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(de){yo[de.keyCode]&&de.preventDefault()},$a=function(){var at="visibilitychange";if(typeof document=="undefined")return at;var de=[at,"ms"+at,"webkit"+at,"moz"+at,"o"+at],je=it(de,function(bt){return"on"+bt in document});return je||at}(),Fo=0,No=5;function Ha(at,de){return Math.abs(de.x-at.x)>=No||Math.abs(de.y-at.y)>=No}var jo={type:"IDLE"};function ko(at){var de=at.cancel,je=at.completed,bt=at.getPhase,kt=at.setPhase;return[{eventName:"mousemove",fn:function(ar){var lr=ar.button,yr=ar.clientX,Vr=ar.clientY;if(lr!==Fo)return;var Xr={x:yr,y:Vr},Pr=bt();if(Pr.type==="DRAGGING"){ar.preventDefault(),Pr.actions.move(Xr);return}Pr.type==="PENDING"||Ae(!1);var kr=Pr.point;if(!Ha(kr,Xr))return;ar.preventDefault();var Gr=Pr.actions.fluidLift(Xr);kt({type:"DRAGGING",actions:Gr})}},{eventName:"mouseup",fn:function(ar){var lr=bt();if(lr.type!=="DRAGGING"){de();return}ar.preventDefault(),lr.actions.drop({shouldBlockNextClick:!0}),je()}},{eventName:"mousedown",fn:function(ar){bt().type==="DRAGGING"&&ar.preventDefault(),de()}},{eventName:"keydown",fn:function(ar){var lr=bt();if(lr.type==="PENDING"){de();return}if(ar.keyCode===ln){ar.preventDefault(),de();return}Ao(ar)}},{eventName:"resize",fn:de},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){bt().type==="PENDING"&&de()}},{eventName:"webkitmouseforcedown",fn:function(ar){var lr=bt();if(lr.type!=="IDLE"||Ae(!1),lr.actions.shouldRespectForcePress()){de();return}ar.preventDefault()}},{eventName:$a,fn:de}]}function Qo(at){var de=Object(g.useRef)(jo),je=Object(g.useRef)(G),bt=r(function(){return{eventName:"mousedown",fn:function(Pr){if(Pr.defaultPrevented)return;if(Pr.button!==Fo)return;if(Pr.ctrlKey||Pr.metaKey||Pr.shiftKey||Pr.altKey)return;var kr=at.findClosestDraggableId(Pr);if(!kr)return;var Gr=at.tryGetLock(kr,ar,{sourceEvent:Pr});if(!Gr)return;Pr.preventDefault();var dn={x:Pr.clientX,y:Pr.clientY};je.current(),Vr(Gr,dn)}}},[at]),kt=r(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Pr){if(Pr.defaultPrevented)return;var kr=at.findClosestDraggableId(Pr);if(!kr)return;var Gr=at.findOptionsForDraggable(kr);if(!Gr)return;if(Gr.shouldRespectForcePress)return;if(!at.canGetLock(kr))return;Pr.preventDefault()}}},[at]),qt=o(function(){var Pr={passive:!1,capture:!0};je.current=ge(window,[kt,bt],Pr)},[kt,bt]),ar=o(function(){var Xr=de.current;if(Xr.type==="IDLE")return;de.current=jo,je.current(),qt()},[qt]),lr=o(function(){var Xr=de.current;ar(),Xr.type==="DRAGGING"&&Xr.actions.cancel({shouldBlockNextClick:!0}),Xr.type==="PENDING"&&Xr.actions.abort()},[ar]),yr=o(function(){var Pr={capture:!0,passive:!1},kr=ko({cancel:lr,completed:ar,getPhase:function(){return de.current},setPhase:function(dn){de.current=dn}});je.current=ge(window,kr,Pr)},[lr,ar]),Vr=o(function(Pr,kr){de.current.type==="IDLE"||Ae(!1),de.current={type:"PENDING",point:kr,actions:Pr},yr()},[yr]);Ga(function(){return qt(),function(){je.current()}},[qt])}var wo;function us(){}var ns=(wo={},wo[Qn]=!0,wo[Cn]=!0,wo[wi]=!0,wo[ti]=!0,wo);function Xs(at,de){function je(){de(),at.cancel()}function bt(){de(),at.drop()}return[{eventName:"keydown",fn:function(qt){if(qt.keyCode===ln){qt.preventDefault(),je();return}if(qt.keyCode===yn){qt.preventDefault(),bt();return}if(qt.keyCode===lo){qt.preventDefault(),at.moveDown();return}if(qt.keyCode===ji){qt.preventDefault(),at.moveUp();return}if(qt.keyCode===Sa){qt.preventDefault(),at.moveRight();return}if(qt.keyCode===ea){qt.preventDefault(),at.moveLeft();return}if(ns[qt.keyCode]){qt.preventDefault();return}Ao(qt)}},{eventName:"mousedown",fn:je},{eventName:"mouseup",fn:je},{eventName:"click",fn:je},{eventName:"touchstart",fn:je},{eventName:"resize",fn:je},{eventName:"wheel",fn:je,options:{passive:!0}},{eventName:$a,fn:je}]}function Ys(at){var de=Object(g.useRef)(us),je=r(function(){return{eventName:"keydown",fn:function(qt){if(qt.defaultPrevented)return;if(qt.keyCode!==yn)return;var ar=at.findClosestDraggableId(qt);if(!ar)return;var lr=at.tryGetLock(ar,Xr,{sourceEvent:qt});if(!lr)return;qt.preventDefault();var yr=!0,Vr=lr.snapLift();de.current();function Xr(){yr||Ae(!1),yr=!1,de.current(),bt()}de.current=ge(window,Xs(Vr,Xr),{capture:!0,passive:!1})}}},[at]),bt=o(function(){var qt={passive:!1,capture:!0};de.current=ge(window,[je],qt)},[je]);Ga(function(){return bt(),function(){de.current()}},[bt])}var Yo={type:"IDLE"},Eo=120,ds=.15;function hs(at){var de=at.cancel,je=at.getPhase;return[{eventName:"orientationchange",fn:de},{eventName:"resize",fn:de},{eventName:"contextmenu",fn:function(kt){kt.preventDefault()}},{eventName:"keydown",fn:function(kt){if(je().type!=="DRAGGING"){de();return}kt.keyCode===ln&&kt.preventDefault(),de()}},{eventName:$a,fn:de}]}function Rs(at){var de=at.cancel,je=at.completed,bt=at.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(qt){var ar=bt();if(ar.type!=="DRAGGING"){de();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=bt();if(ar.type!=="DRAGGING"){de();return}qt.preventDefault(),ar.actions.drop({shouldBlockNextClick:!0}),je()}},{eventName:"touchcancel",fn:function(qt){if(bt().type!=="DRAGGING"){de();return}qt.preventDefault(),de()}},{eventName:"touchforcechange",fn:function(qt){var ar=bt();ar.type!=="IDLE"||Ae(!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&&de();return}if(Vr){if(ar.hasMoved){qt.preventDefault();return}de();return}qt.preventDefault()}},{eventName:$a,fn:de}]}function Do(at){var de=Object(g.useRef)(Yo),je=Object(g.useRef)(G),bt=o(function(){return de.current},[]),kt=o(function(Gr){de.current=Gr},[]),qt=r(function(){return{eventName:"touchstart",fn:function(Gr){if(Gr.defaultPrevented)return;var dn=at.findClosestDraggableId(Gr);if(!dn)return;var pn=at.tryGetLock(dn,lr,{sourceEvent:Gr});if(!pn)return;var ei=Gr.touches[0],ci=ei.clientX,ii=ei.clientY,Ji={x:ci,y:ii};je.current(),Pr(pn,Ji)}}},[at]),ar=o(function(){var Gr={capture:!0,passive:!1};je.current=ge(window,[qt],Gr)},[qt]),lr=o(function(){var kr=de.current;if(kr.type==="IDLE")return;kr.type==="PENDING"&&clearTimeout(kr.longPressTimerId),kt(Yo),je.current(),ar()},[ar,kt]),yr=o(function(){var kr=de.current;lr(),kr.type==="DRAGGING"&&kr.actions.cancel({shouldBlockNextClick:!0}),kr.type==="PENDING"&&kr.actions.abort()},[lr]),Vr=o(function(){var Gr={capture:!0,passive:!1},dn={cancel:yr,completed:lr,getPhase:bt},pn=ge(window,Rs(dn),Gr),ei=ge(window,hs(dn),Gr);je.current=function(){pn(),ei()}},[yr,bt,lr]),Xr=o(function(){var Gr=bt();Gr.type==="PENDING"||Ae(!1);var dn=Gr.actions.fluidLift(Gr.point);kt({type:"DRAGGING",actions:dn,hasMoved:!1})},[bt,kt]),Pr=o(function(Gr,dn){bt().type==="IDLE"||Ae(!1);var pn=setTimeout(Xr,Eo);kt({type:"PENDING",point:dn,actions:Gr,longPressTimerId:pn}),Vr()},[Vr,bt,kt,Xr]);Ga(function(){return ar(),function(){je.current();var dn=bt();dn.type==="PENDING"&&(clearTimeout(dn.longPressTimerId),kt(Yo))}},[bt,ar,kt]),Ga(function(){var Gr=ge(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Gr},[])}function ys(at){We(function(){var de=hr(at);Et(function(){de.current.length===at.length||Ae(!1)})})}var Ms={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function As(at,de){if(de==null)return!1;var je=Boolean(Ms[de.tagName.toLowerCase()]);if(je)return!0;var bt=de.getAttribute("contenteditable");return bt==="true"||bt===""?!0:de===at?!1:As(at,de.parentElement)}function Fs(at,de){var je=de.target;return ss(je)?As(at,je):!1}var Hs=function(de){return n(de.getBoundingClientRect()).center};function bs(at){return at instanceof Xo(at).Element}var ua=function(){var at="matches";if(typeof document=="undefined")return at;var de=[at,"msMatchesSelector","webkitMatchesSelector"],je=it(de,function(bt){return bt in Element.prototype});return je||at}();function ui(at,de){return at==null?null:at[ua](de)?at:ui(at.parentElement,de)}function Pi(at,de){return at.closest?at.closest(de):ui(at,de)}function Wn(at){return"["+is.contextId+'="'+at+'"]'}function io(at,de){var je=de.target;if(!bs(je))return null;var bt=Wn(at),kt=Pi(je,bt);return kt&&ss(kt)?kt:null}function qo(at,de){var je=io(at,de);return je?je.getAttribute(is.draggableId):null}function gs(at,de){var je="["+Jo.contextId+'="'+at+'"]',bt=Qe(document.querySelectorAll(je)),kt=it(bt,function(qt){return qt.getAttribute(Jo.id)===de});return kt&&ss(kt)?kt:null}function os(at){at.preventDefault()}function Zo(at){var de=at.expected,je=at.phase,bt=at.isLockActive,kt=at.shouldWarn;return bt()?!(de!==je):!1}function $o(at){var de=at.lockAPI,je=at.store,bt=at.registry,kt=at.draggableId;if(de.isClaimed())return!1;var qt=bt.draggable.findById(kt);return qt&&qt.options.isEnabled?!!wa(je.getState(),kt):!1}function ws(at){var de=at.lockAPI,je=at.contextId,bt=at.store,kt=at.registry,qt=at.draggableId,ar=at.forceSensorStop,lr=at.sourceEvent,yr=$o({lockAPI:de,store:bt,registry:kt,draggableId:qt});if(!yr)return null;var Vr=kt.draggable.getById(qt),Xr=gs(je,Vr.descriptor.id);if(!Xr)return null;if(lr&&!Vr.options.canDragInteractiveElements&&Fs(Xr,lr))return null;var Pr=de.claim(ar||G),kr="PRE_DRAG";function Gr(){return Vr.options.shouldRespectForcePress}function dn(){return de.isActive(Pr)}function pn(Ei,co){Zo({expected:Ei,phase:kr,isLockActive:dn,shouldWarn:!0})&&bt.dispatch(co())}var ei=pn.bind(null,"DRAGGING");function ci(Ei){function co(){de.release(),kr="COMPLETED"}kr!=="PRE_DRAG"&&(co(),kr==="PRE_DRAG"||Ae(!1)),bt.dispatch(rr(Ei.liftActionArgs)),kr="DRAGGING";function Ko(ao,Uo){if(Uo===void 0&&(Uo={shouldBlockNextClick:!1}),Ei.cleanup(),Uo.shouldBlockNextClick){var O=ge(window,[{eventName:"click",fn:os,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(O)}co(),bt.dispatch(Vt({reason:ao}))}return Object(m.a)({isActive:function(){return Zo({expected:"DRAGGING",phase:kr,isLockActive:dn,shouldWarn:!1})},shouldRespectForcePress:Gr,drop:function(Uo){return Ko("DROP",Uo)},cancel:function(Uo){return Ko("CANCEL",Uo)}},Ei.actions)}function ii(Ei){var co=N(function(ao){ei(function(){return Jt({client:ao})})}),Ko=ci({liftActionArgs:{id:qt,clientSelection:Ei,movementMode:"FLUID"},cleanup:function(){return co.cancel()},actions:{move:co}});return Object(m.a)({},Ko,{move:co})}function Ji(){var Ei={moveUp:function(){return ei(wr)},moveRight:function(){return ei(zr)},moveDown:function(){return ei(Er)},moveLeft:function(){return ei(Jr)}};return ci({liftActionArgs:{id:qt,clientSelection:Hs(Xr),movementMode:"SNAP"},cleanup:G,actions:Ei})}function Si(){var Ei=Zo({expected:"PRE_DRAG",phase:kr,isLockActive:dn,shouldWarn:!0});Ei&&de.release()}var Va={isActive:function(){return Zo({expected:"PRE_DRAG",phase:kr,isLockActive:dn,shouldWarn:!1})},shouldRespectForcePress:Gr,fluidLift:ii,snapLift:Ji,abort:Si};return Va}var Ho=[Qo,Ys,Do];function ll(at){var de=at.contextId,je=at.store,bt=at.registry,kt=at.customSensors,qt=at.enableDefaultSensors,ar=[].concat(qt?Ho:[],kt||[]),lr=Object(g.useState)(function(){return gr()})[0],yr=o(function(ii,Ji){ii.isDragging&&!Ji.isDragging&&lr.tryAbandon()},[lr]);Ga(function(){var ii=je.getState(),Ji=je.subscribe(function(){var Si=je.getState();yr(ii,Si),ii=Si});return Ji},[lr,je,yr]),Ga(function(){return lr.tryAbandon},[lr.tryAbandon]);var Vr=o(function(ci){return $o({lockAPI:lr,registry:bt,store:je,draggableId:ci})},[lr,bt,je]),Xr=o(function(ci,ii,Ji){return ws({lockAPI:lr,registry:bt,contextId:de,store:je,draggableId:ci,forceSensorStop:ii,sourceEvent:Ji&&Ji.sourceEvent?Ji.sourceEvent:null})},[de,lr,bt,je]),Pr=o(function(ci){return qo(de,ci)},[de]),kr=o(function(ci){var ii=bt.draggable.findById(ci);return ii?ii.options:null},[bt.draggable]),Gr=o(function(){if(!lr.isClaimed())return;lr.tryAbandon(),je.getState().phase!=="IDLE"&&je.dispatch(Zr())},[lr,je]),dn=o(lr.isClaimed,[lr]),pn=r(function(){return{canGetLock:Vr,tryGetLock:Xr,findClosestDraggableId:Pr,findOptionsForDraggable:kr,tryReleaseLock:Gr,isLockClaimed:dn}},[Vr,Xr,Pr,kr,Gr,dn]);ys(ar);for(var ei=0;ei<ar.length;ei++)ar[ei](pn)}var jl=function(de){return{onBeforeCapture:de.onBeforeCapture,onBeforeDragStart:de.onBeforeDragStart,onDragStart:de.onDragStart,onDragEnd:de.onDragEnd,onDragUpdate:de.onDragUpdate}};function cl(at){return at.current||Ae(!1),at.current}function Nl(at){var de=at.contextId,je=at.setCallbacks,bt=at.sensors,kt=at.nonce,qt=at.dragHandleUsageInstructions,ar=Object(g.useRef)(null);Ut();var lr=hr(at),yr=o(function(){return jl(lr.current)},[lr]),Vr=ms(de),Xr=cs({contextId:de,text:qt}),Pr=Sr(de,kt),kr=o(function(ao){cl(ar).dispatch(ao)},[]),Gr=r(function(){return Object(v.b)({publishWhileDragging:Br,updateDroppableScroll:hn,updateDroppableIsEnabled:tt,updateDroppableIsCombineEnabled:jt,collectionStarting:Wr},kr)},[kr]),dn=Io(),pn=r(function(){return Ua(dn,Gr)},[dn,Gr]),ei=r(function(){return Zi(Object(m.a)({scrollWindow:vi,scrollDroppable:pn.scrollDroppable},Object(v.b)({move:Jt},kr)))},[pn.scrollDroppable,kr]),ci=Fa(de),ii=r(function(){return gi({announce:Vr,autoScroller:ei,dimensionMarshal:pn,focusMarshal:ci,getResponders:yr,styleMarshal:Pr})},[Vr,ei,pn,ci,yr,Pr]);ar.current=ii;var Ji=o(function(){var ao=cl(ar),Uo=ao.getState();Uo.phase!=="IDLE"&&ao.dispatch(Zr())},[]),Si=o(function(){var ao=cl(ar).getState();return ao.isDragging||ao.phase==="DROP_ANIMATING"},[]),Va=r(function(){return{isDragging:Si,tryAbort:Ji}},[Si,Ji]);je(Va);var Ei=o(function(ao){return wa(cl(ar).getState(),ao)},[]),co=o(function(){return qn(cl(ar).getState())},[]),Ko=r(function(){return{marshal:pn,focus:ci,contextId:de,canLift:Ei,isMovementAllowed:co,dragHandleUsageInstructionsId:Xr,registry:dn}},[de,pn,Xr,ci,Ei,co,dn]);return ll({contextId:de,store:ii,registry:dn,customSensors:bt,enableDefaultSensors:at.enableDefaultSensors!==!1}),Object(g.useEffect)(function(){return Ji},[Ji]),f.a.createElement(Mo.Provider,{value:Ko},f.a.createElement(h.a,{context:Oo,store:ii},at.children))}var Os=0;function Gs(){Os=0}function el(){return r(function(){return""+Os++},[])}function Hl(){Gs(),Ds()}function Kl(at){var de=el(),je=at.dragHandleUsageInstructions||$.dragHandleUsageInstructions;return f.a.createElement(Pe,null,function(bt){return f.a.createElement(Nl,{nonce:at.nonce,contextId:de,setCallbacks:bt,dragHandleUsageInstructions:je,enableDefaultSensors:at.enableDefaultSensors,sensors:at.sensors,onBeforeCapture:at.onBeforeCapture,onBeforeDragStart:at.onBeforeDragStart,onDragStart:at.onDragStart,onDragUpdate:at.onDragUpdate,onDragEnd:at.onDragEnd},at.children)})}var Dl=function(de){return function(je){return de===je}},nc=Dl("scroll"),ic=Dl("auto"),es=Dl("visible"),tl=function(de,je){return je(de.overflowX)||je(de.overflowY)},ac=function(de,je){return je(de.overflowX)&&je(de.overflowY)},Rl=function(de){var je=window.getComputedStyle(de),bt={overflowX:je.overflowX,overflowY:je.overflowY};return tl(bt,nc)||tl(bt,ic)},Ml=function(){return!1;var de,je;if(!Rl(de))return!1;var bt,kt;if(ac(kt,es))return!1},bl=function at(de){return de==null?null:de===document.body?Ml()?de:null:de===document.documentElement?null:Rl(de)?de:at(de.parentElement)},zl=function(de){if(!de)return;var je=bl(de.parentElement);if(!je)return},ul=function(de){return{x:de.scrollLeft,y:de.scrollTop}},Wl=function at(de){if(!de)return!1;var je=window.getComputedStyle(de);return je.position==="fixed"?!0:at(de.parentElement)},oc=function(de){var je=bl(de),bt=Wl(de);return{closestScrollable:je,isFixedOnPage:bt}},sc=function(de){var je=de.descriptor,bt=de.isEnabled,kt=de.isCombineEnabled,qt=de.isFixedOnPage,ar=de.direction,lr=de.client,yr=de.page,Vr=de.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:Te,displacement:Te}}}}(),Pr=ar==="vertical"?Be:nt,kr=rt({page:yr,withPlaceholder:null,axis:Pr,frame:Xr}),Gr={descriptor:je,isCombineEnabled:kt,isFixedOnPage:qt,axis:Pr,isEnabled:bt,client:lr,page:yr,frame:Xr,subject:kr};return Gr},ks=function(de,je){var bt=T(de);if(!je)return bt;if(de!==je)return bt;var kt=bt.paddingBox.top-je.scrollTop,qt=bt.paddingBox.left-je.scrollLeft,ar=kt+je.scrollHeight,lr=qt+je.scrollWidth,yr={top:kt,right:lr,bottom:ar,left:qt},Vr=l(yr,bt.border),Xr=p({borderBox:Vr,margin:bt.margin,border:bt.border,padding:bt.padding});return Xr},rl=function(de){var je=de.ref,bt=de.descriptor,kt=de.env,qt=de.windowScroll,ar=de.direction,lr=de.isDropDisabled,yr=de.isCombineEnabled,Vr=de.shouldClipSubject,Xr=kt.closestScrollable,Pr=ks(je,Xr),kr=A(Pr,qt),Gr=function(){if(!Xr)return null;var pn=T(Xr),ei={scrollHeight:Xr.scrollHeight,scrollWidth:Xr.scrollWidth};return{client:pn,page:A(pn,qt),scroll:ul(Xr),scrollSize:ei,shouldClipSubject:Vr}}(),dn=sc({descriptor:bt,isEnabled:!lr,isCombineEnabled:yr,isFixedOnPage:kt.isFixedOnPage,direction:ar,client:Pr,page:kr,closest:Gr});return dn},wl={passive:!1},dl={passive:!0},Ss=function(de){return de.shouldPublishImmediately?wl:dl};function Ks(at){var de=Object(g.useContext)(at);return de||Ae(!1),de}var nl=function(de){return de&&de.env.closestScrollable||null};function Bs(at){var de=Object(g.useRef)(null),je=Ks(Mo),bt=as("droppable"),kt=je.registry,qt=je.marshal,ar=hr(at),lr=r(function(){return{id:at.droppableId,type:at.type,mode:at.mode}},[at.droppableId,at.mode,at.type]),yr=Object(g.useRef)(lr),Vr=r(function(){return C(function(Si,Va){de.current||Ae(!1);var Ei={x:Si,y:Va};qt.updateDroppableScroll(lr.id,Ei)})},[lr.id,qt]),Xr=o(function(){var Si=de.current;return!Si||!Si.env.closestScrollable?Te:ul(Si.env.closestScrollable)},[]),Pr=o(function(){var Si=Xr();Vr(Si.x,Si.y)},[Xr,Vr]),kr=r(function(){return N(Pr)},[Pr]),Gr=o(function(){var Si=de.current,Va=nl(Si);Si&&Va||Ae(!1);var Ei=Si.scrollOptions;if(Ei.shouldPublishImmediately){Pr();return}kr()},[kr,Pr]),dn=o(function(Si,Va){de.current&&Ae(!1);var Ei=ar.current,co=Ei.getDroppableRef();co||Ae(!1);var Ko=oc(co),ao={ref:co,descriptor:lr,env:Ko,scrollOptions:Va};de.current=ao;var Uo=rl({ref:co,descriptor:lr,env:Ko,windowScroll:Si,direction:Ei.direction,isDropDisabled:Ei.isDropDisabled,isCombineEnabled:Ei.isCombineEnabled,shouldClipSubject:!Ei.ignoreContainerClipping}),O=Ko.closestScrollable;return O&&(O.setAttribute(Cs.contextId,je.contextId),O.addEventListener("scroll",Gr,Ss(ao.scrollOptions))),Uo},[je.contextId,lr,Gr,ar]),pn=o(function(){var Si=de.current,Va=nl(Si);return Si&&Va||Ae(!1),ul(Va)},[]),ei=o(function(){var Si=de.current;Si||Ae(!1);var Va=nl(Si);if(de.current=null,!Va)return;kr.cancel(),Va.removeAttribute(Cs.contextId),Va.removeEventListener("scroll",Gr,Ss(Si.scrollOptions))},[Gr,kr]),ci=o(function(Si){var Va=de.current;Va||Ae(!1);var Ei=nl(Va);Ei||Ae(!1),Ei.scrollTop+=Si.y,Ei.scrollLeft+=Si.x},[]),ii=r(function(){return{getDimensionAndWatchScroll:dn,getScrollWhileDragging:pn,dragStopped:ei,scroll:ci}},[ei,dn,pn,ci]),Ji=r(function(){return{uniqueId:bt,descriptor:lr,callbacks:ii}},[ii,lr,bt]);Ga(function(){return yr.current=Ji.descriptor,kt.droppable.register(Ji),function(){de.current&&ei(),kt.droppable.unregister(Ji)}},[ii,lr,ei,Ji,qt,kt.droppable]),Ga(function(){if(!de.current)return;qt.updateDroppableIsEnabled(yr.current.id,!at.isDropDisabled)},[at.isDropDisabled,qt]),Ga(function(){if(!de.current)return;qt.updateDroppableIsCombineEnabled(yr.current.id,at.isCombineEnabled)},[at.isCombineEnabled,qt])}function Sl(){}var Fl={width:0,height:0,margin:Ke},Vl=function(de){var je=de.isAnimatingOpenOnMount,bt=de.placeholder,kt=de.animate;return je||kt==="close"?Fl:{height:bt.client.borderBox.height,width:bt.client.borderBox.width,margin:bt.client.margin}},xl=function(de){var je=de.isAnimatingOpenOnMount,bt=de.placeholder,kt=de.animate,qt=Vl({isAnimatingOpenOnMount:je,placeholder:bt,animate:kt});return{display:bt.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:kt!=="none"?Mn.placeholder:null}};function Qs(at){var de=Object(g.useRef)(null),je=o(function(){if(!de.current)return;clearTimeout(de.current),de.current=null},[]),bt=at.animate,kt=at.onTransitionEnd,qt=at.onClose,ar=at.contextId,lr=Object(g.useState)(at.animate==="open"),yr=lr[0],Vr=lr[1];Object(g.useEffect)(function(){return yr?bt!=="open"?(je(),Vr(!1),Sl):de.current?Sl:(de.current=setTimeout(function(){de.current=null,Vr(!1)}),je):Sl},[bt,yr,je]);var Xr=o(function(kr){if(kr.propertyName!=="height")return;kt(),bt==="close"&&qt()},[bt,qt,kt]),Pr=xl({isAnimatingOpenOnMount:yr,animate:at.animate,placeholder:at.placeholder});return f.a.createElement(at.placeholder.tagName,{style:Pr,"data-rbd-placeholder-context-id":ar,onTransitionEnd:Xr,ref:at.innerRef})}var hl=f.a.memo(Qs),il=f.a.createContext(null);function fl(at){at&&ss(at)||Ae(!1)}function El(at){return typeof at=="boolean"}function zs(at,de){de.forEach(function(je){return je(at)})}var Xl=[function(de){var je=de.props;je.droppableId||Ae(!1),typeof je.droppableId=="string"||Ae(!1)},function(de){var je=de.props;El(je.isDropDisabled)||Ae(!1),El(je.isCombineEnabled)||Ae(!1),El(je.ignoreContainerClipping)||Ae(!1)},function(de){var je=de.getDroppableRef;fl(je())}],Cl=[function(de){var je=de.props,bt=de.getPlaceholderRef;if(!je.placeholder)return;var kt=bt();if(kt)return}],pl=[function(de){var je=de.props;je.renderClone||Ae(!1)},function(de){var je=de.getPlaceholderRef;je()&&Ae(!1)}];function Tl(at){Et(function(){zs(at,Xl),at.props.mode==="standard"&&zs(at,Cl),at.props.mode==="virtual"&&zs(at,pl)})}var Yl=function(at){Object(y.a)(de,at);function de(){for(var bt,kt=arguments.length,qt=new Array(kt),ar=0;ar<kt;ar++)qt[ar]=arguments[ar];return bt=at.call.apply(at,[this].concat(qt))||this,bt.state={isVisible:Boolean(bt.props.on),data:bt.props.on,animate:bt.props.shouldAnimate&&bt.props.on?"open":"none"},bt.onClose=function(){if(bt.state.animate!=="close")return;bt.setState({isVisible:!1})},bt}de.getDerivedStateFromProps=function(kt,qt){return kt.shouldAnimate?kt.on?{isVisible:!0,data:kt.on,animate:"open"}:qt.isVisible?{isVisible:!0,data:qt.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(kt.on),data:kt.on,animate:"none"}};var je=de.prototype;return je.render=function(){if(!this.state.isVisible)return null;var kt={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(kt)},de}(f.a.PureComponent),kl={dragging:5e3,dropAnimating:4500},ml=function(de,je){return je?Mn.drop(je.duration):de?Mn.snap:Mn.fluid},Gl=function(de,je){return de?je?Hn.opacity.drop:Hn.opacity.combining:null},Js=function(de){return de.forceShouldAnimate!=null?de.forceShouldAnimate:de.mode==="SNAP"};function Ql(at){var de=at.dimension,je=de.client,bt=at.offset,kt=at.combineWith,qt=at.dropping,ar=Boolean(kt),lr=Js(at),yr=Boolean(qt),Vr=yr?Rn.drop(bt,ar):Rn.moveTo(bt),Xr={position:"fixed",top:je.marginBox.top,left:je.marginBox.left,boxSizing:"border-box",width:je.borderBox.width,height:je.borderBox.height,transition:ml(lr,qt),transform:Vr,opacity:Gl(ar,yr),zIndex:yr?kl.dropAnimating:kl.dragging,pointerEvents:"none"};return Xr}function Ro(at){return{transform:Rn.moveTo(at.offset),transition:at.shouldAnimateDisplacement?null:"none"}}function Ws(at){return at.type==="DRAGGING"?Ql(at):Ro(at)}function al(at,de,je){je===void 0&&(je=Te);var bt=window.getComputedStyle(de),kt=de.getBoundingClientRect(),qt=S(kt,bt),ar=A(qt,je),lr={client:qt,tagName:de.tagName.toLowerCase(),display:bt.display},yr={x:qt.marginBox.width,y:qt.marginBox.height},Vr={descriptor:at,placeholder:lr,displaceBy:yr,client:qt,page:ar};return Vr}function Ps(at){var de=as("draggable"),je=at.descriptor,bt=at.registry,kt=at.getDraggableRef,qt=at.canDragInteractiveElements,ar=at.shouldRespectForcePress,lr=at.isEnabled,yr=r(function(){return{canDragInteractiveElements:qt,shouldRespectForcePress:ar,isEnabled:lr}},[qt,lr,ar]),Vr=o(function(Gr){var dn=kt();return dn||Ae(!1),al(je,dn,Gr)},[je,kt]),Xr=r(function(){return{uniqueId:de,descriptor:je,options:yr,getDimension:Vr}},[je,Vr,yr,de]),Pr=Object(g.useRef)(Xr),kr=Object(g.useRef)(!0);Ga(function(){return bt.draggable.register(Pr.current),function(){return bt.draggable.unregister(Pr.current)}},[bt.draggable]),Ga(function(){if(kr.current){kr.current=!1;return}var Gr=Pr.current;Pr.current=Xr,bt.draggable.update(Xr,Gr)},[Xr,bt.draggable])}function Us(at,de,je){Et(function(){function bt(qt){return"Draggable[id: "+qt+"]: "}var kt=at.draggableId;if(kt||Ae(!1),typeof kt=="string"||Ae(!1),Ve(at.index)||Ae(!1),at.mapped.type==="DRAGGING")return;fl(je()),at.isEnabled&&(Ls(de,kt)||Ae(!1))})}function gl(at){We(function(){var de=Object(g.useRef)(at);Et(function(){at===de.current||Ae(!1)},[at])})}function xs(at){at.preventDefault()}function ol(at){var de=Object(g.useRef)(null),je=o(function(ao){de.current=ao},[]),bt=o(function(){return de.current},[]),kt=Ks(Mo),qt=kt.contextId,ar=kt.dragHandleUsageInstructionsId,lr=kt.registry,yr=Ks(il),Vr=yr.type,Xr=yr.droppableId,Pr=r(function(){return{id:at.draggableId,index:at.index,type:Vr,droppableId:Xr}},[at.draggableId,at.index,Vr,Xr]),kr=at.children,Gr=at.draggableId,dn=at.isEnabled,pn=at.shouldRespectForcePress,ei=at.canDragInteractiveElements,ci=at.isClone,ii=at.mapped,Ji=at.dropAnimationFinished;if(Us(at,qt,bt),gl(ci),!ci){var Si=r(function(){return{descriptor:Pr,registry:lr,getDraggableRef:bt,canDragInteractiveElements:ei,shouldRespectForcePress:pn,isEnabled:dn}},[Pr,lr,bt,ei,pn,dn]);Ps(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;Ji()},[Ji,ii]),co=r(function(){var ao=Ws(ii),Uo=ii.type==="DRAGGING"&&ii.dropping?Ei:null,O={innerRef:je,draggableProps:{"data-rbd-draggable-context-id":qt,"data-rbd-draggable-id":Gr,style:ao,onTransitionEnd:Uo},dragHandleProps:Va};return O},[qt,Va,Gr,ii,Ei,je]),Ko=r(function(){return{draggableId:Pr.id,type:Pr.type,source:{index:Pr.index,droppableId:Pr.droppableId}}},[Pr.droppableId,Pr.id,Pr.index,Pr.type]);return kr(co,ii.snapshot,Ko)}var Zs=function(de,je){return de===je},Bl=function(de){var je=de.combine,bt=de.destination;return bt?bt.droppableId:je?je.droppableId:null},Ll=function(de){return de.combine?de.combine.draggableId:null},vl=function(de){return de.at&&de.at.type==="COMBINE"?de.at.combine.draggableId:null};function ql(){var at=C(function(kt,qt){return{x:kt,y:qt}}),de=C(function(kt,qt,ar,lr,yr){return{isDragging:!0,isClone:qt,isDropAnimating:Boolean(yr),dropAnimation:yr,mode:kt,draggingOver:ar,combineWith:lr,combineTargetFor:null}}),je=C(function(kt,qt,ar,lr,yr,Vr,Xr){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:yr,combineWith:Vr,mode:qt,offset:kt,dimension:ar,forceShouldAnimate:Xr,snapshot:de(qt,lr,yr,Vr,null)}}}),bt=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),Pr=qt.forceShouldAnimate;return je(at(lr.x,lr.y),qt.movementMode,yr,ar.isClone,Vr,Xr,Pr)}if(qt.phase==="DROP_ANIMATING"){var kr=qt.completed;if(kr.result.draggableId!==ar.draggableId)return null;var Gr=ar.isClone,dn=qt.dimensions.draggables[ar.draggableId],pn=kr.result,ei=pn.mode,ci=Bl(pn),ii=Ll(pn),Ji=qt.dropDuration,Si={duration:Ji,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:ci,combineWith:ii,mode:ei,forceShouldAnimate:null,snapshot:de(ei,Gr,ci,ii,Si)}}}return null};return bt}function Pl(at){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:at,combineWith:null}}var yl={mapped:{type:"SECONDARY",offset:Te,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Pl(null)}};function Jl(){var at=C(function(ar,lr){return{x:ar,y:lr}}),de=C(Pl),je=C(function(ar,lr,yr){return lr===void 0&&(lr=null),{mapped:{type:"SECONDARY",offset:ar,combineTargetFor:lr,shouldAnimateDisplacement:yr,snapshot:de(lr)}}}),bt=function(lr){return lr?je(Te,lr,!0):null},kt=function(lr,yr,Vr,Xr){var Pr=Vr.displaced.visible[lr],kr=Boolean(Xr.inVirtualList&&Xr.effected[lr]),Gr=or(Vr),dn=Gr&&Gr.draggableId===lr?yr:null;if(!Pr){if(!kr)return bt(dn);if(Vr.displaced.invisible[lr])return null;var pn=se(Xr.displacedBy.point),ei=at(pn.x,pn.y);return je(ei,dn,!0)}if(kr)return bt(dn);var ci=Vr.displacedBy.point,ii=at(ci.x,ci.y);return je(ii,dn,Pr.shouldAnimate)},qt=function(lr,yr){if(lr.isDragging)return lr.critical.draggable.id===yr.draggableId?null:kt(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:kt(yr.draggableId,Vr.result.draggableId,Vr.impact,Vr.afterCritical)}return null};return qt}var lc=function(){var de=ql(),je=Jl(),bt=function(qt,ar){return de(qt,ar)||je(qt,ar)||yl};return bt},Zl={dropAnimationFinished:br},$l=Object(h.c)(lc,Zl,null,{context:Oo,pure:!0,areStatePropsEqual:Zs})(ol);function Il(at){var de=Ks(il),je=de.isUsingCloneFor;return je===at.draggableId&&!at.isClone?null:f.a.createElement($l,at)}function ec(at){var de=typeof at.isDragDisabled=="boolean"?!at.isDragDisabled:!0,je=Boolean(at.disableInteractiveElementBlocking),bt=Boolean(at.shouldRespectForcePress);return f.a.createElement(Il,Object(m.a)({},at,{isClone:!1,isEnabled:de,canDragInteractiveElements:je,shouldRespectForcePress:bt}))}function cc(at){var de=Object(g.useContext)(Mo);de||Ae(!1);var je=de.contextId,bt=de.isMovementAllowed,kt=Object(g.useRef)(null),qt=Object(g.useRef)(null),ar=at.children,lr=at.droppableId,yr=at.type,Vr=at.mode,Xr=at.direction,Pr=at.ignoreContainerClipping,kr=at.isDropDisabled,Gr=at.isCombineEnabled,dn=at.snapshot,pn=at.useClone,ei=at.updateViewportMaxScroll,ci=at.getContainerForClone,ii=o(function(){return kt.current},[]),Ji=o(function(M){kt.current=M},[]),Si=o(function(){return qt.current},[]),Va=o(function(M){qt.current=M},[]);Tl({props:at,getDroppableRef:ii,getPlaceholderRef:Si});var Ei=o(function(){bt()&&ei({maxScroll:Xa()})},[bt,ei]);Bs({droppableId:lr,type:yr,mode:Vr,direction:Xr,isDropDisabled:kr,isCombineEnabled:Gr,ignoreContainerClipping:Pr,getDroppableRef:ii});var co=f.a.createElement(Yl,{on:at.placeholder,shouldAnimate:at.shouldAnimatePlaceholder},function(M){var J=M.onClose,ee=M.data,ie=M.animate;return f.a.createElement(hl,{placeholder:ee,onClose:J,innerRef:Va,animate:ie,contextId:je,onTransitionEnd:Ei})}),Ko=r(function(){return{innerRef:Ji,placeholder:co,droppableProps:{"data-rbd-droppable-id":lr,"data-rbd-droppable-context-id":je}}},[je,lr,co,Ji]),ao=pn?pn.dragging.draggableId:null,Uo=r(function(){return{droppableId:lr,type:yr,isUsingCloneFor:ao}},[lr,ao,yr]);function O(){if(!pn)return null;var M=pn.dragging,J=pn.render,ee=f.a.createElement(Il,{draggableId:M.draggableId,index:M.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(ie,Re){return J(ie,Re,M)});return k.a.createPortal(ee,ci())}return f.a.createElement(il.Provider,{value:Uo},ar(Ko,dn),O())}var Ol=function(de,je){return de===je.droppable.type},js=function(de,je){return je.draggables[de.draggable.id]},_l=function(){var de={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},je=Object(m.a)({},de,{shouldAnimatePlaceholder:!1}),bt=C(function(ar){return{draggableId:ar.id,type:ar.type,source:{index:ar.index,droppableId:ar.droppableId}}}),kt=C(function(ar,lr,yr,Vr,Xr,Pr){var kr=Xr.descriptor.id,Gr=Xr.descriptor.droppableId===ar;if(Gr){var dn=Pr?{render:Pr,dragging:bt(Xr.descriptor)}:null,pn={isDraggingOver:yr,draggingOverWith:yr?kr:null,draggingFromThisWith:kr,isUsingPlaceholder:!0};return{placeholder:Xr.placeholder,shouldAnimatePlaceholder:!1,snapshot:pn,useClone:dn}}if(!lr)return je;if(!Vr)return de;var ei={isDraggingOver:yr,draggingOverWith:kr,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,Pr=!yr.isDropDisabled,kr=yr.renderClone;if(lr.isDragging){var Gr=lr.critical;if(!Ol(Xr,Gr))return je;var dn=js(Gr,lr.dimensions),pn=gn(lr.impact)===Vr;return kt(Vr,Pr,pn,pn,dn,kr)}if(lr.phase==="DROP_ANIMATING"){var ei=lr.completed;if(!Ol(Xr,ei.critical))return je;var ci=js(ei.critical,lr.dimensions);return kt(Vr,Pr,Bl(ei.result)===Vr,gn(ei.impact)===Vr,ci,kr)}if(lr.phase==="IDLE"&&lr.completed&&!lr.shouldFlush){var ii=lr.completed;if(!Ol(Xr,ii.critical))return je;var Ji=gn(ii.impact)===Vr,Si=Boolean(ii.impact.at&&ii.impact.at.type==="COMBINE"),Va=ii.critical.droppable.id===Vr;return Ji?Si?de:je:Va?de:je}return je};return qt},Al={updateViewportMaxScroll:Ir};function uc(){return document.body||Ae(!1),document.body}var dc={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:uc},sl=Object(h.c)(_l,Al,null,{context:Oo,pure:!0,areStatePropsEqual:Zs})(cc);sl.defaultProps=dc},ni6a:function(D,_,e){var g=e("pzxd"),f=e("mFDi"),y=e("gut8"),m=y.WILL_BE_RESTORED,v=new f,h=function(){};h.prototype={constructor:h,drawRectText:function(i,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;i.save();var n=this.transform;o.transformText?this.setTransform(i):n&&(v.copy(r),v.applyTransform(n),r=v),g.renderText(this,i,d,o,r,m),i.restore()}};var c=h;D.exports=c},nkfE:function(D,_,e){var g=e("bYtY"),f=e("ca2m"),y=e("bLfw"),m=e("+TT/"),v=m.getLayoutParams,h=m.mergeLayoutParam,c=e("jkPA"),a=["value","category","time","log"];function i(r,o,d,n){g.each(a,function(l){o.extend({type:r+"Axis."+l,mergeDefaultAndTheme:function(t,s){var u=this.layoutMode,p=u?v(t):{},w=s.getTheme();g.merge(t,w.get(l+"Axis")),g.merge(t,this.getDefaultOption()),t.type=d(r,t),u&&h(t,p,u)},optionUpdated:function(){var t=this.option;t.type==="category"&&(this.__ordinalMeta=c.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)})}),y.registerSubTypeDefaulter(r+"Axis",g.curry(d,r))}D.exports=i},noeP:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("UOVi");g.registerAction("dataZoom",function(m,v){var h=y.createLinkedNodesFinder(f.bind(v.eachComponent,v,"dataZoom"),y.eachAxisDim,function(a,i){return a.get(i.axisIndex)}),c=[];v.eachComponent({mainType:"dataZoom",query:m},function(a,i){c.push.apply(c,h(a).nodes)}),f.each(c,function(a,i){a.setRawRange({start:m.start,end:m.end,startValue:m.startValue,endValue:m.endValue})})})},o40c:function(D,_,e){var g=e("IwbS"),f=e("OS9S"),y=e("loD1"),m=e("aKvl"),v=g.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(i,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){i.moveTo(o[n++],o[n++]);for(var t=1;t<l;t++)i.lineTo(o[n++],o[n++])}}else for(var n=0;n<o.length;){var s=o[n++],u=o[n++],p=o[n++],w=o[n++];if(i.moveTo(s,u),d>0){var b=(s+p)/2-(u-w)*d,E=(u+w)/2-(p-s)*d;i.quadraticCurveTo(b,E,p,w)}else i.lineTo(p,w)}},findDataIndex:function(i,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 u=d[t++],p=d[t++],w=1;w<s;w++){var b=d[t++],E=d[t++];if(y.containStroke(u,p,b,E))return l}l++}else for(var l=0,t=0;t<d.length;){var u=d[t++],p=d[t++],b=d[t++],E=d[t++];if(n>0){var A=(u+b)/2-(p-E)*n,S=(p+E)/2-(b-u)*n;if(m.containStroke(u,p,A,S,b,E))return l}else if(y.containStroke(u,p,b,E))return l;l++}return-1}});function h(){this.group=new g.Group}var c=h.prototype;c.isPersistent=function(){return!this._incremental},c.updateData=function(i){this.group.removeAll();var r=new v({rectHover:!0,cursor:"default"});r.setShape({segs:i.getLayout("linesPoints")}),this._setCommon(r,i),this.group.add(r),this._incremental=null},c.incrementalPrepareUpdate=function(i){this.group.removeAll(),this._clearIncremental(),i.count()>5e5?(this._incremental||(this._incremental=new f({silent:!0})),this.group.add(this._incremental)):this._incremental=null},c.incrementalUpdate=function(i,r){var o=new v;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=i.start,this.group.add(o))},c.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},c._setCommon=function(i,r,o){var d=r.hostModel;i.setShape({polyline:d.get("polyline"),curveness:d.get("lineStyle.curveness")}),i.useStyle(d.getModel("lineStyle").getLineStyle()),i.style.strokeNoScale=!0;var n=r.getVisual("color");n&&i.setStyle("stroke",n),i.setStyle("fill"),o||(i.seriesIndex=d.seriesIndex,i.on("mousemove",function(l){i.dataIndex=null;var t=i.findDataIndex(l.offsetX,l.offsetY);t>0&&(i.dataIndex=t+i.__startIndex)}))},c._clearIncremental=function(){var i=this._incremental;i&&i.clearDisplaybles()};var a=h;D.exports=a},oBaM:function(D,_,e){var g=e("T4UG"),f=e("5GtS"),y=e("bYtY"),m=e("7aKB"),v=m.encodeHTML,h=e("xKMd"),c=g.extend({type:"series.radar",dependencies:["radar"],init:function(i){c.superApply(this,"init",arguments),this.legendVisualProvider=new h(y.bind(this.getData,this),y.bind(this.getRawData,this))},getInitialData:function(i,r){return f(this,{generateCoord:"indicator_",generateCoordCount:Infinity})},formatTooltip:function(i){var r=this.getData(),o=this.coordinateSystem,d=o.getIndicatorAxes(),n=this.getData().getName(i);return v(n===""?this.name:n)+"<br/>"+y.map(d,function(l,t){var s=r.get(r.mapDimension(l.dim),i);return v(l.name+" : "+s)}).join("<br />")},getTooltipPosition:function(i){if(i!=null){for(var r=this.getData(),o=this.coordinateSystem,d=r.getValues(y.map(o.dimensions,function(s){return r.mapDimension(s)}),i,!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}}),a=c;D.exports=a},oE7X:function(D,_,e){var g=e("bLfw");g.registerSubTypeDefaulter("timeline",function(){return"slider"})},oIFs:function(D,_,e){},oVpE:function(D,_,e){var g=e("bYtY"),f=e("IwbS"),y=e("mFDi"),m=e("6GrX"),v=m.calculateTextPosition,h=f.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(s,u){var p=u.cx,w=u.cy,b=u.width/2,E=u.height/2;s.moveTo(p,w-E),s.lineTo(p+b,w+E),s.lineTo(p-b,w+E),s.closePath()}}),c=f.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(s,u){var p=u.cx,w=u.cy,b=u.width/2,E=u.height/2;s.moveTo(p,w-E),s.lineTo(p+b,w),s.lineTo(p,w+E),s.lineTo(p-b,w),s.closePath()}}),a=f.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(s,u){var p=u.x,w=u.y,b=u.width/5*3,E=Math.max(b,u.height),A=b/2,S=A*A/(E-A),T=w-E+A+S,L=Math.asin(S/A),x=Math.cos(L)*A,C=Math.sin(L),I=Math.cos(L),N=A*.6,F=A*.7;s.moveTo(p-x,T+S),s.arc(p,T,A,Math.PI-L,Math.PI*2+L),s.bezierCurveTo(p+x-C*N,T+S+I*N,p,w-F,p,w),s.bezierCurveTo(p,w-F,p-x+C*N,T+S+I*N,p-x,T+S),s.closePath()}}),i=f.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(s,u){var p=u.height,w=u.width,b=u.x,E=u.y,A=w/3*2;s.moveTo(b,E),s.lineTo(b+A,E+p),s.lineTo(b,E+p/4*3),s.lineTo(b-A,E+p),s.lineTo(b,E),s.closePath()}}),r={line:f.Line,rect:f.Rect,roundRect:f.Rect,square:f.Rect,circle:f.Circle,diamond:c,pin:a,arrow:i,triangle:h},o={line:function(s,u,p,w,b){b.x1=s,b.y1=u+w/2,b.x2=s+p,b.y2=u+w/2},rect:function(s,u,p,w,b){b.x=s,b.y=u,b.width=p,b.height=w},roundRect:function(s,u,p,w,b){b.x=s,b.y=u,b.width=p,b.height=w,b.r=Math.min(p,w)/4},square:function(s,u,p,w,b){var E=Math.min(p,w);b.x=s,b.y=u,b.width=E,b.height=E},circle:function(s,u,p,w,b){b.cx=s+p/2,b.cy=u+w/2,b.r=Math.min(p,w)/2},diamond:function(s,u,p,w,b){b.cx=s+p/2,b.cy=u+w/2,b.width=p,b.height=w},pin:function(s,u,p,w,b){b.x=s+p/2,b.y=u+w/2,b.width=p,b.height=w},arrow:function(s,u,p,w,b){b.x=s+p/2,b.y=u+w/2,b.width=p,b.height=w},triangle:function(s,u,p,w,b){b.cx=s+p/2,b.cy=u+w/2,b.width=p,b.height=w}},d={};g.each(r,function(s,u){d[u]=new s});var n=f.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(s,u,p){var w=v(s,u,p),b=this.shape;return b&&b.symbolType==="pin"&&u.textPosition==="inside"&&(w.y=p.y+p.height*.4),w},buildPath:function(s,u,p){var w=u.symbolType;if(w!=="none"){var b=d[w];b||(w="rect",b=d[w]),o[w](u.x,u.y,u.width,u.height,b.shape),b.buildPath(s,b.shape,p)}}});function l(s,u){if(this.type!=="image"){var p=this.style,w=this.shape;w&&w.symbolType==="line"?p.stroke=s:this.__isEmptyBrush?(p.stroke=s,p.fill=u||"#fff"):(p.fill&&(p.fill=s),p.stroke&&(p.stroke=s)),this.dirty(!1)}}function t(s,u,p,w,b,E,A){var S=s.indexOf("empty")===0;S&&(s=s.substr(5,1).toLowerCase()+s.substr(6));var T;return s.indexOf("image://")===0?T=f.makeImage(s.slice(8),new y(u,p,w,b),A?"center":"cover"):s.indexOf("path://")===0?T=f.makePath(s.slice(7),{},new y(u,p,w,b),A?"center":"cover"):T=new n({shape:{symbolType:s,x:u,y:p,width:w,height:b}}),T.__isEmptyBrush=S,T.setColor=l,T.setColor(E),T}_.createSymbol=t},oY9F:function(D,_,e){var g=e("OlYY"),f=g.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});D.exports=f},or5M:function(D,_,e){var g=e("1hJj"),f=e("QoRX"),y=e("xYSL"),m=1,v=2;function h(c,a,i,r,o,d){var n=i&m,l=c.length,t=a.length;if(l!=t&&!(n&&t>l))return!1;var s=d.get(c),u=d.get(a);if(s&&u)return s==a&&u==c;var p=-1,w=!0,b=i&v?new g:void 0;for(d.set(c,a),d.set(a,c);++p<l;){var E=c[p],A=a[p];if(r)var S=n?r(A,E,p,a,c,d):r(E,A,p,c,a,d);if(S!==void 0){if(S)continue;w=!1;break}if(b){if(!f(a,function(T,L){if(!y(b,L)&&(E===T||o(E,T,i,r,d)))return b.push(L)})){w=!1;break}}else if(!(E===A||o(E,A,i,r,d))){w=!1;break}}return d.delete(c),d.delete(a),w}D.exports=h},osHv:function(D,_,e){(function(g){g(e("VrN/"))})(function(g){"use strict";var f=g.Pos;function y(u,p){return u.line-p.line||u.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",v=m+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",h=new RegExp("<(/?)(["+m+"]["+v+"]*)","g");function c(u,p,w,b){this.line=p,this.ch=w,this.cm=u,this.text=u.getLine(p),this.min=b?Math.max(b.from,u.firstLine()):u.firstLine(),this.max=b?Math.min(b.to-1,u.lastLine()):u.lastLine()}function a(u,p){var w=u.cm.getTokenTypeAt(f(u.line,p));return w&&/\btag\b/.test(w)}function i(u){return u.line>=u.max?void 0:(u.ch=0,u.text=u.cm.getLine(++u.line),!0)}function r(u){return u.line<=u.min?void 0:(u.text=u.cm.getLine(--u.line),u.ch=u.text.length,!0)}function o(u){for(;;){var p=u.text.indexOf(">",u.ch);if(p==-1){if(i(u))continue;return}if(!a(u,p+1)){u.ch=p+1;continue}var w=u.text.lastIndexOf("/",p),b=w>-1&&!/\S/.test(u.text.slice(w+1,p));return u.ch=p+1,b?"selfClose":"regular"}}function d(u){for(;;){var p=u.ch?u.text.lastIndexOf("<",u.ch-1):-1;if(p==-1){if(r(u))continue;return}if(!a(u,p+1)){u.ch=p;continue}h.lastIndex=p,u.ch=p;var w=h.exec(u.text);if(w&&w.index==p)return w}}function n(u){for(;;){h.lastIndex=u.ch;var p=h.exec(u.text);if(!p){if(i(u))continue;return}if(!a(u,p.index+1)){u.ch=p.index+1;continue}return u.ch=p.index+p[0].length,p}}function l(u){for(;;){var p=u.ch?u.text.lastIndexOf(">",u.ch-1):-1;if(p==-1){if(r(u))continue;return}if(!a(u,p+1)){u.ch=p;continue}var w=u.text.lastIndexOf("/",p),b=w>-1&&!/\S/.test(u.text.slice(w+1,p));return u.ch=p+1,b?"selfClose":"regular"}}function t(u,p){for(var w=[];;){var b=n(u),E,A=u.line,S=u.ch-(b?b[0].length:0);if(!b||!(E=o(u)))return;if(E=="selfClose")continue;if(b[1]){for(var T=w.length-1;T>=0;--T)if(w[T]==b[2]){w.length=T;break}if(T<0&&(!p||p==b[2]))return{tag:b[2],from:f(A,S),to:f(u.line,u.ch)}}else w.push(b[2])}}function s(u,p){for(var w=[];;){var b=l(u);if(!b)return;if(b=="selfClose"){d(u);continue}var E=u.line,A=u.ch,S=d(u);if(!S)return;if(S[1])w.push(S[2]);else{for(var T=w.length-1;T>=0;--T)if(w[T]==S[2]){w.length=T;break}if(T<0&&(!p||p==S[2]))return{tag:S[2],from:f(u.line,u.ch),to:f(E,A)}}}}g.registerHelper("fold","xml",function(u,p){for(var w=new c(u,p.line,0);;){var b=n(w);if(!b||w.line!=p.line)return;var E=o(w);if(!E)return;if(!b[1]&&E!="selfClose"){var A=f(w.line,w.ch),S=t(w,b[2]);return S&&y(S.from,A)>0?{from:A,to:S.from}:null}}}),g.findMatchingTag=function(u,p,w){var b=new c(u,p.line,p.ch,w);if(b.text.indexOf(">")==-1&&b.text.indexOf("<")==-1)return;var E=o(b),A=E&&f(b.line,b.ch),S=E&&d(b);if(!E||!S||y(b,p)>0)return;var T={from:f(b.line,b.ch),to:A,tag:S[2]};return E=="selfClose"?{open:T,close:null,at:"open"}:S[1]?{open:s(b,S[2]),close:T,at:"close"}:(b=new c(u,A.line,A.ch,w),{open:T,close:t(b,S[2]),at:"open"})},g.findEnclosingTag=function(u,p,w,b){for(var E=new c(u,p.line,p.ch,w);;){var A=s(E,b);if(!A)break;var S=new c(u,p.line,p.ch,w),T=t(S,A.tag);if(T)return{open:A,close:T}}},g.scanForClosingTag=function(u,p,w,b){var E=new c(u,p.line,p.ch,b?{from:0,to:b}:null);return t(E,w)}})},ozfa:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("KxFI"),m=e.n(y)},"p+If":function(D,_,e){var g=e("ProS");e("cpOr"),e("rkZ5");var f=e("ZYIC"),y=e("7ph2");g.registerLayout(f),g.registerVisual(y)},"p/La":function(D,_){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,y){f==="china"&&y.name==="\u53F0\u6E7E"&&y.geometries.push({type:"polygon",exterior:e[0]})}D.exports=g},p1MT:function(D,_,e){var g=e("Hw7h"),f=e("IwbS"),y=e("6Ic6"),m=e("OELB"),v=m.parsePercent,h=m.round,c=m.linearMap;function a(n,l){var t=n.get("center"),s=l.getWidth(),u=l.getHeight(),p=Math.min(s,u),w=v(t[0],l.getWidth()),b=v(t[1],l.getHeight()),E=v(n.get("radius"),p/2);return{cx:w,cy:b,r:E}}function i(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=y.extend({type:"gauge",render:function(n,l,t){this.group.removeAll();var s=n.get("axisLine.lineStyle.color"),u=a(n,t);this._renderMain(n,l,t,s,u)},dispose:function(){},_renderMain:function(n,l,t,s,u){for(var p=this.group,w=n.getModel("axisLine"),b=w.getModel("lineStyle"),E=n.get("clockwise"),A=-n.get("startAngle")/180*Math.PI,S=-n.get("endAngle")/180*Math.PI,T=(S-A)%r,L=A,x=b.get("width"),C=w.get("show"),I=0;C&&I<s.length;I++){var N=Math.min(Math.max(s[I][0],0),1),S=A+T*N,F=new f.Sector({shape:{startAngle:L,endAngle:S,cx:u.cx,cy:u.cy,clockwise:E,r0:u.r-x,r:u.r},silent:!0});F.setStyle({fill:s[I][1]}),F.setStyle(b.getLineStyle(["color","borderWidth","borderColor"])),p.add(F),L=S}var k=function(P){if(P<=0)return s[0][1];for(var K=0;K<s.length;K++)if(s[K][0]>=P&&(K===0?0:s[K-1][0])<P)return s[K][1];return s[K-1][1]};if(!E){var B=A;A=S,S=B}this._renderTicks(n,l,t,k,u,A,S,E),this._renderPointer(n,l,t,k,u,A,S,E),this._renderTitle(n,l,t,k,u),this._renderDetail(n,l,t,k,u)},_renderTicks:function(n,l,t,s,u,p,w,b){for(var E=this.group,A=u.cx,S=u.cy,T=u.r,L=+n.get("min"),x=+n.get("max"),C=n.getModel("splitLine"),I=n.getModel("axisTick"),N=n.getModel("axisLabel"),F=n.get("splitNumber"),k=I.get("splitNumber"),B=v(C.get("length"),T),P=v(I.get("length"),T),K=p,R=(w-p)/F,U=R/k,j=C.getModel("lineStyle").getLineStyle(),H=I.getModel("lineStyle").getLineStyle(),W=0;W<=F;W++){var X=Math.cos(K),z=Math.sin(K);if(C.get("show")){var G=new f.Line({shape:{x1:X*T+A,y1:z*T+S,x2:X*(T-B)+A,y2:z*(T-B)+S},style:j,silent:!0});j.stroke==="auto"&&G.setStyle({stroke:s(W/F)}),E.add(G)}if(N.get("show")){var Z=i(h(W/F*(x-L)+L),N.get("formatter")),ge=N.get("distance"),Q=s(W/F);E.add(new f.Text({style:f.setTextStyle({},N,{text:Z,x:X*(T-B-ge)+A,y:z*(T-B-ge)+S,textVerticalAlign:z<-.4?"top":z>.4?"bottom":"middle",textAlign:X<-.4?"left":X>.4?"right":"center"},{autoColor:Q}),silent:!0}))}if(I.get("show")&&W!==F){for(var we=0;we<=k;we++){var X=Math.cos(K),z=Math.sin(K),Ee=new f.Line({shape:{x1:X*T+A,y1:z*T+S,x2:X*(T-P)+A,y2:z*(T-P)+S},silent:!0,style:H});H.stroke==="auto"&&Ee.setStyle({stroke:s((W+we/k)/F)}),E.add(Ee),K+=U}K-=U}else K+=R}},_renderPointer:function(n,l,t,s,u,p,w,b){var E=this.group,A=this._data;if(!n.get("pointer.show")){A&&A.eachItemGraphicEl(function(C){E.remove(C)});return}var S=[+n.get("min"),+n.get("max")],T=[p,w],L=n.getData(),x=L.mapDimension("value");L.diff(A).add(function(C){var I=new g({shape:{angle:p}});f.initProps(I,{shape:{angle:c(L.get(x,C),S,T,!0)}},n),E.add(I),L.setItemGraphicEl(C,I)}).update(function(C,I){var N=A.getItemGraphicEl(I);f.updateProps(N,{shape:{angle:c(L.get(x,C),S,T,!0)}},n),E.add(N),L.setItemGraphicEl(C,N)}).remove(function(C){var I=A.getItemGraphicEl(C);E.remove(I)}).execute(),L.eachItemGraphicEl(function(C,I){var N=L.getItemModel(I),F=N.getModel("pointer");C.setShape({x:u.cx,y:u.cy,width:v(F.get("width"),u.r),r:v(F.get("length"),u.r)}),C.useStyle(N.getModel("itemStyle").getItemStyle()),C.style.fill==="auto"&&C.setStyle("fill",s(c(L.get(x,I),S,[0,1],!0))),f.setHoverStyle(C,N.getModel("emphasis.itemStyle").getItemStyle())}),this._data=L},_renderTitle:function(n,l,t,s,u){var p=n.getData(),w=p.mapDimension("value"),b=n.getModel("title");if(b.get("show")){var E=b.get("offsetCenter"),A=u.cx+v(E[0],u.r),S=u.cy+v(E[1],u.r),T=+n.get("min"),L=+n.get("max"),x=n.getData().get(w,0),C=s(c(x,[T,L],[0,1],!0));this.group.add(new f.Text({silent:!0,style:f.setTextStyle({},b,{x:A,y:S,text:p.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:C,forceRich:!0})}))}},_renderDetail:function(n,l,t,s,u){var p=n.getModel("detail"),w=+n.get("min"),b=+n.get("max");if(p.get("show")){var E=p.get("offsetCenter"),A=u.cx+v(E[0],u.r),S=u.cy+v(E[1],u.r),T=v(p.get("width"),u.r),L=v(p.get("height"),u.r),x=n.getData(),C=x.get(x.mapDimension("value"),0),I=s(c(C,[w,b],[0,1],!0));this.group.add(new f.Text({silent:!0,style:f.setTextStyle({},p,{x:A,y:S,text:i(C,p.get("formatter")),textWidth:isNaN(T)?null:T,textHeight:isNaN(L)?null:L,textAlign:"center",textVerticalAlign:"middle"},{autoColor:I,forceRich:!0})}))}}}),d=o;D.exports=d},"p77/":function(D,_,e){},pC0b:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("xzDV"),m=e.n(y),v=e("5Dmo")},"pED+":function(D,_,e){},pG52:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("WXVj"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},pLH3:function(D,_,e){var g=e("ProS");e("ALo7"),e("TWL2");var f=e("mOdp"),y=e("JLnu"),m=e("0/Rx");g.registerVisual(f("funnel")),g.registerLayout(y),g.registerProcessor(m("funnel"))},pP6R:function(D,_,e){var g=e("ProS"),f="\0_ec_interaction_mutex";function y(c,a,i){var r=h(c);r[a]=i}function m(c,a,i){var r=h(c),o=r[a];o===i&&(r[a]=null)}function v(c,a){return!!h(c)[a]}function h(c){return c[f]||(c[f]={})}g.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),_.take=y,_.release=m,_.isTaken=v},pSRY:function(D,_,e){var g=e("QkVE");function f(y){return g(this,y).has(y)}D.exports=f},pmaE:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("IwbS"),m=e("DEFe"),v="__seriesMapHighDown",h="__seriesMapCallKey",c=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 u=n.getItemLayout(s);if(!u||!u.point)return;var p=u.point,w=u.offset,b=new y.Circle({style:{fill:r.getData().getVisual("color")},shape:{cx:p[0]+w*9,cy:p[1],r:3},silent:!0,z2:8+(w?0:y.Z2_EMPHASIS_LIFT+1)});if(!w){var E=r.mainSeries.getData(),A=n.getName(s),S=E.indexOfName(A),T=n.getItemModel(s),L=T.getModel("label"),x=T.getModel("emphasis.label"),C=E.getItemGraphicEl(S),I=f.retrieve2(r.getFormattedLabel(S,"normal"),A),N=f.retrieve2(r.getFormattedLabel(S,"emphasis"),I),F=C[v],k=Math.random();if(!F){F=C[v]={};var B=f.curry(a,!0),P=f.curry(a,!1);C.on("mouseover",B).on("mouseout",P).on("emphasis",B).on("normal",P)}C[h]=k,f.extend(F,{recordVersion:k,circle:b,labelModel:L,hoverLabelModel:x,emphasisText:N,normalText:I}),i(F,!1)}l.add(b)})}});function a(r){var o=this[v];o&&o.recordVersion===this[h]&&i(o,r)}function i(r,o){var d=r.circle,n=r.labelModel,l=r.hoverLabelModel,t=r.emphasisText,s=r.normalText;o?(d.style.extendFrom(y.setTextStyle({},l,{text:l.get("show")?t:null},{isRectText:!0,useInsideStyle:!1},!0)),d.__mapOriginalZ2=d.z2,d.z2+=y.Z2_EMPHASIS_LIFT):(y.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))}D.exports=c},pwpV:function(D,_,e){},pzxd:function(D,_,e){var g=e("bYtY"),f=g.retrieve2,y=g.retrieve3,m=g.each,v=g.normalizeCssArray,h=g.isString,c=g.isObject,a=e("6GrX"),i=e("VpOo"),r=e("Xnb7"),o=e("fW2E"),d=e("gut8"),n=d.ContextCachedBy,l=d.WILL_BE_RESTORED,t=a.DEFAULT_FONT,s={left:1,right:1,center:1},u={top:1,bottom:1,middle:1},p=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],w={},b={};function E(W){return A(W),m(W.rich,A),W}function A(W){if(W){W.font=a.makeFont(W);var X=W.textAlign;X==="middle"&&(X="center"),W.textAlign=X==null||s[X]?X:"left";var z=W.textVerticalAlign||W.textBaseline;z==="center"&&(z="middle"),W.textVerticalAlign=z==null||u[z]?z:"top";var G=W.textPadding;G&&(W.textPadding=v(W.textPadding))}}function S(W,X,z,G,Z,ge){G.rich?L(W,X,z,G,Z,ge):T(W,X,z,G,Z,ge)}function T(W,X,z,G,Z,ge){"use strict";var Q=N(G),we,Ee=!1,Ae=X.__attrCachedBy===n.PLAIN_TEXT;ge!==l?(ge&&(we=ge.style,Ee=!Q&&Ae&&we),X.__attrCachedBy=Q?n.NONE:n.PLAIN_TEXT):Ae&&(X.__attrCachedBy=n.NONE);var Pe=G.font||t;(!Ee||Pe!==(we.font||t))&&(X.font=Pe);var Ge=W.__computedFont;W.__styleFont!==Pe&&(W.__styleFont=Pe,Ge=W.__computedFont=X.font);var gt=G.textPadding,_e=G.textLineHeight,Ce=W.__textCotentBlock;(!Ce||W.__dirtyText)&&(Ce=W.__textCotentBlock=a.parsePlainText(z,Ge,gt,_e,G.truncate));var lt=Ce.outerHeight,ce=Ce.lines,Y=Ce.lineHeight,V=B(b,W,G,Z),$=V.baseX,Te=V.baseY,ye=V.textAlign||"left",Fe=V.textVerticalAlign;C(X,G,Z,$,Te);var Oe=a.adjustTextY(Te,lt,Fe),se=$,fe=Oe;if(Q||gt){var Le=a.getWidth(z,Ge),Je=Le;gt&&(Je+=gt[1]+gt[3]);var mt=a.adjustTextX($,Je,ye);Q&&F(W,X,G,mt,Oe,Je,lt),gt&&(se=j($,ye,gt),fe+=gt[0])}X.textAlign=ye,X.textBaseline="middle",X.globalAlpha=G.opacity||1;for(var Ct=0;Ct<p.length;Ct++){var Ue=p[Ct],Rt=Ue[0],Ke=Ue[1],wt=G[Rt];(!Ee||wt!==we[Rt])&&(X[Ke]=o(X,Ke,wt||Ue[2]))}fe+=Y/2;var Ye=G.textStrokeWidth,et=Ee?we.textStrokeWidth:null,rt=!Ee||Ye!==et,st=!Ee||rt||G.textStroke!==we.textStroke,Ve=K(G.textStroke,Ye),oe=R(G.textFill);if(Ve&&(rt&&(X.lineWidth=Ye),st&&(X.strokeStyle=Ve)),oe&&((!Ee||G.textFill!==we.textFill)&&(X.fillStyle=oe)),ce.length===1)Ve&&X.strokeText(ce[0],se,fe),oe&&X.fillText(ce[0],se,fe);else for(var Ct=0;Ct<ce.length;Ct++)Ve&&X.strokeText(ce[Ct],se,fe),oe&&X.fillText(ce[Ct],se,fe),fe+=Y}function L(W,X,z,G,Z,ge){ge!==l&&(X.__attrCachedBy=n.NONE);var Q=W.__textCotentBlock;(!Q||W.__dirtyText)&&(Q=W.__textCotentBlock=a.parseRichText(z,G)),x(W,X,Q,G,Z)}function x(W,X,z,G,Z){var ge=z.width,Q=z.outerWidth,we=z.outerHeight,Ee=G.textPadding,Ae=B(b,W,G,Z),Pe=Ae.baseX,Ge=Ae.baseY,gt=Ae.textAlign,_e=Ae.textVerticalAlign;C(X,G,Z,Pe,Ge);var Ce=a.adjustTextX(Pe,Q,gt),lt=a.adjustTextY(Ge,we,_e),ce=Ce,Y=lt;Ee&&(ce+=Ee[3],Y+=Ee[0]);var V=ce+ge;N(G)&&F(W,X,G,Ce,lt,Q,we);for(var $=0;$<z.lines.length;$++){for(var Te=z.lines[$],ye=Te.tokens,Fe=ye.length,Oe=Te.lineHeight,se=Te.width,fe=0,Le=ce,Je=V,mt=Fe-1,Ct;fe<Fe&&(Ct=ye[fe],!Ct.textAlign||Ct.textAlign==="left");)I(W,X,Ct,G,Oe,Y,Le,"left"),se-=Ct.width,Le+=Ct.width,fe++;for(;mt>=0&&(Ct=ye[mt],Ct.textAlign==="right");)I(W,X,Ct,G,Oe,Y,Je,"right"),se-=Ct.width,Je-=Ct.width,mt--;for(Le+=(ge-(Le-ce)-(V-Je)-se)/2;fe<=mt;)Ct=ye[fe],I(W,X,Ct,G,Oe,Y,Le+Ct.width/2,"center"),Le+=Ct.width,fe++;Y+=Oe}}function C(W,X,z,G,Z){if(z&&X.textRotation){var ge=X.textOrigin;ge==="center"?(G=z.width/2+z.x,Z=z.height/2+z.y):ge&&(G=ge[0]+z.x,Z=ge[1]+z.y),W.translate(G,Z),W.rotate(-X.textRotation),W.translate(-G,-Z)}}function I(W,X,z,G,Z,ge,Q,we){var Ee=G.rich[z.styleName]||{};Ee.text=z.text;var Ae=z.textVerticalAlign,Pe=ge+Z/2;Ae==="top"?Pe=ge+z.height/2:Ae==="bottom"&&(Pe=ge+Z-z.height/2),!z.isLineHolder&&N(Ee)&&F(W,X,Ee,we==="right"?Q-z.width:we==="center"?Q-z.width/2:Q,Pe-z.height/2,z.width,z.height);var Ge=z.textPadding;Ge&&(Q=j(Q,we,Ge),Pe-=z.height/2-Ge[2]-z.textHeight/2),P(X,"shadowBlur",y(Ee.textShadowBlur,G.textShadowBlur,0)),P(X,"shadowColor",Ee.textShadowColor||G.textShadowColor||"transparent"),P(X,"shadowOffsetX",y(Ee.textShadowOffsetX,G.textShadowOffsetX,0)),P(X,"shadowOffsetY",y(Ee.textShadowOffsetY,G.textShadowOffsetY,0)),P(X,"textAlign",we),P(X,"textBaseline","middle"),P(X,"font",z.font||t);var gt=K(Ee.textStroke||G.textStroke,Ce),_e=R(Ee.textFill||G.textFill),Ce=f(Ee.textStrokeWidth,G.textStrokeWidth);gt&&(P(X,"lineWidth",Ce),P(X,"strokeStyle",gt),X.strokeText(z.text,Q,Pe)),_e&&(P(X,"fillStyle",_e),X.fillText(z.text,Q,Pe))}function N(W){return!!(W.textBackgroundColor||W.textBorderWidth&&W.textBorderColor)}function F(W,X,z,G,Z,ge,Q){var we=z.textBackgroundColor,Ee=z.textBorderWidth,Ae=z.textBorderColor,Pe=h(we);if(P(X,"shadowBlur",z.textBoxShadowBlur||0),P(X,"shadowColor",z.textBoxShadowColor||"transparent"),P(X,"shadowOffsetX",z.textBoxShadowOffsetX||0),P(X,"shadowOffsetY",z.textBoxShadowOffsetY||0),Pe||Ee&&Ae){X.beginPath();var Ge=z.textBorderRadius;Ge?i.buildPath(X,{x:G,y:Z,width:ge,height:Q,r:Ge}):X.rect(G,Z,ge,Q),X.closePath()}if(Pe)if(P(X,"fillStyle",we),z.fillOpacity!=null){var gt=X.globalAlpha;X.globalAlpha=z.fillOpacity*z.opacity,X.fill(),X.globalAlpha=gt}else X.fill();else if(c(we)){var _e=we.image;_e=r.createOrUpdateImage(_e,null,W,k,we),_e&&r.isImageReady(_e)&&X.drawImage(_e,G,Z,ge,Q)}if(Ee&&Ae)if(P(X,"lineWidth",Ee),P(X,"strokeStyle",Ae),z.strokeOpacity!=null){var gt=X.globalAlpha;X.globalAlpha=z.strokeOpacity*z.opacity,X.stroke(),X.globalAlpha=gt}else X.stroke()}function k(W,X){X.image=W}function B(W,X,z,G){var Z=z.x||0,ge=z.y||0,Q=z.textAlign,we=z.textVerticalAlign;if(G){var Ee=z.textPosition;if(Ee instanceof Array)Z=G.x+U(Ee[0],G.width),ge=G.y+U(Ee[1],G.height);else{var Ae=X&&X.calculateTextPosition?X.calculateTextPosition(w,z,G):a.calculateTextPosition(w,z,G);Z=Ae.x,ge=Ae.y,Q=Q||Ae.textAlign,we=we||Ae.textVerticalAlign}var Pe=z.textOffset;Pe&&(Z+=Pe[0],ge+=Pe[1])}return W=W||{},W.baseX=Z,W.baseY=ge,W.textAlign=Q,W.textVerticalAlign=we,W}function P(W,X,z){return W[X]=o(W,X,z),W[X]}function K(W,X){return W==null||X<=0||W==="transparent"||W==="none"?null:W.image||W.colorStops?"#000":W}function R(W){return W==null||W==="none"?null:W.image||W.colorStops?"#000":W}function U(W,X){return typeof W=="string"?W.lastIndexOf("%")>=0?parseFloat(W)/100*X:parseFloat(W):W}function j(W,X,z){return X==="right"?W-z[1]:X==="center"?W+z[3]/2-z[1]/2:W+z[3]}function H(W,X){return W!=null&&(W||X.textBackgroundColor||X.textBorderWidth&&X.textBorderColor||X.textPadding)}_.normalizeTextStyle=E,_.renderText=S,_.getBoxPosition=B,_.getStroke=K,_.getFill=R,_.parsePercent=U,_.needDrawText=H},"q/+u":function(D,_,e){var g=e("ProS"),f=e("9wZj"),y=e("yWXo"),m=e("h8O9");g.extendChartView({type:"scatter",render:function(v,h,c){var a=v.getData(),i=this._updateSymbolDraw(a,v);i.updateData(a,{clipShape:this._getClipShape(v)}),this._finished=!0},incrementalPrepareRender:function(v,h,c){var a=v.getData(),i=this._updateSymbolDraw(a,v);i.incrementalPrepareUpdate(a),this._finished=!1},incrementalRender:function(v,h,c){this._symbolDraw.incrementalUpdate(v,h.getData(),{clipShape:this._getClipShape(h)}),this._finished=v.end===h.getData().count()},updateTransform:function(v,h,c){var a=v.getData();if(this.group.dirty(),!this._finished||a.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var i=m().reset(v);i.progress&&i.progress({start:0,end:a.count()},a),this._symbolDraw.updateLayout(a)},_getClipShape:function(v){var h=v.coordinateSystem,c=h&&h.getArea&&h.getArea();return v.get("clip",!0)?c:null},_updateSymbolDraw:function(v,h){var c=this._symbolDraw,a=h.pipelineContext,i=a.large;return(!c||i!==this._isLargeDraw)&&(c&&c.remove(),c=this._symbolDraw=i?new y:new f,this._isLargeDraw=i,this.group.removeAll()),this.group.add(c.group),c},remove:function(v,h){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(D,_){var e=["lineStyle","normal","opacity"],g={seriesType:"parallel",reset:function(f,y,m){var v=f.getModel("itemStyle"),h=f.getModel("lineStyle"),c=y.get("color"),a=h.get("color")||v.get("color")||c[f.seriesIndex%c.length],i=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:i};n.setVisual("color",a);function t(s,u){d.eachActiveState(u,function(p,w){var b=l[p];if(p==="normal"&&u.hasItemOption){var E=u.getItemModel(w).get(e,!0);E!=null&&(b=E)}u.setItemVisual(w,"opacity",b)},s.start,s.end)}return{progress:t}}};D.exports=g},q4HE:function(D,_){var e="\\ud800-\\udfff",g="\\u0300-\\u036f",f="\\ufe20-\\ufe2f",y="\\u20d0-\\u20ff",m=g+f+y,v="\\ufe0e\\ufe0f",h="["+e+"]",c="["+m+"]",a="\\ud83c[\\udffb-\\udfff]",i="(?:"+c+"|"+a+")",r="[^"+e+"]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",n="\\u200d",l=i+"?",t="["+v+"]?",s="(?:"+n+"(?:"+[r,o,d].join("|")+")"+t+l+")*",u=t+l+s,p="(?:"+[r+c+"?",c,o,d,h].join("|")+")",w=RegExp(a+"(?="+a+")|"+p+u,"g");function b(E){for(var A=w.lastIndex=0;w.test(E);)++A;return A}D.exports=b},q7KB:function(D,_,e){},qH13:function(D,_,e){var g=e("ItGF"),f=e("QBsz"),y=f.applyTransform,m=e("mFDi"),v=e("Qe9p"),h=e("6GrX"),c=e("pzxd"),a=e("ni6a"),i=e("Gev7"),r=e("Dagg"),o=e("dqUG"),d=e("y+Vt"),n=e("IMiH"),l=e("QuXc"),t=e("06Qe"),s=n.CMD,u=Math.round,p=Math.sqrt,w=Math.abs,b=Math.cos,E=Math.sin,A=Math.max;if(!g.canvasSupported){var S=",",T="progid:DXImageTransform.Microsoft",L=21600,x=L/2,C=1e5,I=1e3,N=function(Te){Te.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",Te.coordsize=L+","+L,Te.coordorigin="0,0"},F=function(Te){return String(Te).replace(/&/g,"&amp;").replace(/"/g,"&quot;")},k=function(Te,ye,Fe){return"rgb("+[Te,ye,Fe].join(",")+")"},B=function(Te,ye){ye&&Te&&ye.parentNode!==Te&&Te.appendChild(ye)},P=function(Te,ye){ye&&Te&&ye.parentNode===Te&&Te.removeChild(ye)},K=function(Te,ye,Fe){return(parseFloat(Te)||0)*C+(parseFloat(ye)||0)*I+Fe},R=c.parsePercent,U=function(Te,ye,Fe){var Oe=v.parse(ye);Fe=+Fe,isNaN(Fe)&&(Fe=1),Oe&&(Te.color=k(Oe[0],Oe[1],Oe[2]),Te.opacity=Fe*Oe[3])},j=function(Te){var ye=v.parse(Te);return[k(ye[0],ye[1],ye[2]),ye[3]]},H=function(Te,ye,Fe){var Oe=ye.fill;if(Oe!=null)if(Oe instanceof l){var se,fe=0,Le=[0,0],Je=0,mt=1,Ct=Fe.getBoundingRect(),Ue=Ct.width,Rt=Ct.height;if(Oe.type==="linear"){se="gradient";var Ke=Fe.transform,wt=[Oe.x*Ue,Oe.y*Rt],Ye=[Oe.x2*Ue,Oe.y2*Rt];Ke&&(y(wt,wt,Ke),y(Ye,Ye,Ke));var et=Ye[0]-wt[0],rt=Ye[1]-wt[1];fe=Math.atan2(et,rt)*180/Math.PI,fe<0&&(fe+=360),fe<1e-6&&(fe=0)}else{se="gradientradial";var wt=[Oe.x*Ue,Oe.y*Rt],Ke=Fe.transform,st=Fe.scale,Ve=Ue,oe=Rt;Le=[(wt[0]-Ct.x)/Ve,(wt[1]-Ct.y)/oe],Ke&&y(wt,wt,Ke),Ve/=st[0]*L,oe/=st[1]*L;var re=A(Ve,oe);Je=2*0/re,mt=2*Oe.r/re-Je}var it=Oe.colorStops.slice();it.sort(function(me,pe){return me.offset-pe.offset});for(var Qe=it.length,ve=[],Zt=[],dt=0;dt<Qe;dt++){var ct=it[dt],yt=j(ct.color);Zt.push(ct.offset*mt+Je+" "+yt[0]),(dt===0||dt===Qe-1)&&ve.push(yt)}if(Qe>=2){var _t=ve[0][0],or=ve[1][0],Pt=ve[0][1]*ye.opacity,be=ve[1][1]*ye.opacity;Te.type=se,Te.method="none",Te.focus="100%",Te.angle=fe,Te.color=_t,Te.color2=or,Te.colors=Zt.join(","),Te.opacity=be,Te.opacity2=Pt}se==="radial"&&(Te.focusposition=Le.join(","))}else U(Te,Oe,ye.opacity)},W=function(Te,ye){ye.lineDash&&(Te.dashstyle=ye.lineDash.join(" ")),ye.stroke!=null&&!(ye.stroke instanceof l)&&U(Te,ye.stroke,ye.opacity)},X=function(Te,ye,Fe,Oe){var se=ye==="fill",fe=Te.getElementsByTagName(ye)[0];Fe[ye]!=null&&Fe[ye]!=="none"&&(se||!se&&Fe.lineWidth)?(Te[se?"filled":"stroked"]="true",Fe[ye]instanceof l&&P(Te,fe),fe||(fe=t.createNode(ye)),se?H(fe,Fe,Oe):W(fe,Fe),B(Te,fe)):(Te[se?"filled":"stroked"]="false",P(Te,fe))},z=[[],[],[]],G=function(Te,ye){var Fe=s.M,Oe=s.C,se=s.L,fe=s.A,Le=s.Q,Je=[],mt,Ct,Ue,Rt,Ke,wt,Ye=Te.data,et=Te.len();for(Rt=0;Rt<et;){Ue=Ye[Rt++],Ct="",mt=0;switch(Ue){case Fe:Ct=" m ",mt=1,Ke=Ye[Rt++],wt=Ye[Rt++],z[0][0]=Ke,z[0][1]=wt;break;case se:Ct=" l ",mt=1,Ke=Ye[Rt++],wt=Ye[Rt++],z[0][0]=Ke,z[0][1]=wt;break;case Le:case Oe:Ct=" c ",mt=3;var rt=Ye[Rt++],st=Ye[Rt++],Ve=Ye[Rt++],oe=Ye[Rt++],re,it;Ue===Le?(re=Ve,it=oe,Ve=(Ve+2*rt)/3,oe=(oe+2*st)/3,rt=(Ke+2*rt)/3,st=(wt+2*st)/3):(re=Ye[Rt++],it=Ye[Rt++]),z[0][0]=rt,z[0][1]=st,z[1][0]=Ve,z[1][1]=oe,z[2][0]=re,z[2][1]=it,Ke=re,wt=it;break;case fe:var Qe=0,ve=0,Zt=1,dt=1,ct=0;ye&&(Qe=ye[4],ve=ye[5],Zt=p(ye[0]*ye[0]+ye[1]*ye[1]),dt=p(ye[2]*ye[2]+ye[3]*ye[3]),ct=Math.atan2(-ye[1]/dt,ye[0]/Zt));var yt=Ye[Rt++],_t=Ye[Rt++],or=Ye[Rt++],Pt=Ye[Rt++],be=Ye[Rt++]+ct,me=Ye[Rt++]+be+ct;Rt++;var pe=Ye[Rt++],ue=yt+b(be)*or,De=_t+E(be)*Pt,rt=yt+b(me)*or,st=_t+E(me)*Pt,He=pe?" wa ":" at ";Math.abs(ue-rt)<1e-4&&(Math.abs(me-be)>.01?pe&&(ue+=270/L):Math.abs(De-_t)<1e-4?pe&&ue<yt||!pe&&ue>yt?st-=270/L:st+=270/L:pe&&De<_t||!pe&&De>_t?rt+=270/L:rt-=270/L),Je.push(He,u(((yt-or)*Zt+Qe)*L-x),S,u(((_t-Pt)*dt+ve)*L-x),S,u(((yt+or)*Zt+Qe)*L-x),S,u(((_t+Pt)*dt+ve)*L-x),S,u((ue*Zt+Qe)*L-x),S,u((De*dt+ve)*L-x),S,u((rt*Zt+Qe)*L-x),S,u((st*dt+ve)*L-x)),Ke=rt,wt=st;break;case s.R:var ze=z[0],Xe=z[1];ze[0]=Ye[Rt++],ze[1]=Ye[Rt++],Xe[0]=ze[0]+Ye[Rt++],Xe[1]=ze[1]+Ye[Rt++],ye&&(y(ze,ze,ye),y(Xe,Xe,ye)),ze[0]=u(ze[0]*L-x),Xe[0]=u(Xe[0]*L-x),ze[1]=u(ze[1]*L-x),Xe[1]=u(Xe[1]*L-x),Je.push(" m ",ze[0],S,ze[1]," l ",Xe[0],S,ze[1]," l ",Xe[0],S,Xe[1]," l ",ze[0],S,Xe[1]);break;case s.Z:Je.push(" x ")}if(mt>0){Je.push(Ct);for(var Be=0;Be<mt;Be++){var nt=z[Be];ye&&y(nt,nt,ye),Je.push(u(nt[0]*L-x),S,u(nt[1]*L-x),Be<mt-1?S:"")}}}return Je.join("")};d.prototype.brushVML=function($){var Te=this.style,ye=this._vmlEl;ye||(ye=t.createNode("shape"),N(ye),this._vmlEl=ye),X(ye,"fill",Te,this),X(ye,"stroke",Te,this);var Fe=this.transform,Oe=Fe!=null,se=ye.getElementsByTagName("stroke")[0];if(se){var fe=Te.lineWidth;if(Oe&&!Te.strokeNoScale){var Le=Fe[0]*Fe[3]-Fe[1]*Fe[2];fe*=p(w(Le))}se.weight=fe+"px"}var Je=this.path||(this.path=new n);this.__dirtyPath&&(Je.beginPath(),Je.subPixelOptimize=!1,this.buildPath(Je,this.shape),Je.toStatic(),this.__dirtyPath=!1),ye.path=G(Je,this.transform),ye.style.zIndex=K(this.zlevel,this.z,this.z2),B($,ye),Te.text!=null?this.drawRectText($,this.getBoundingRect()):this.removeRectText($)},d.prototype.onRemove=function($){P($,this._vmlEl),this.removeRectText($)},d.prototype.onAdd=function($){B($,this._vmlEl),this.appendRectText($)};var Z=function(Te){return typeof Te=="object"&&Te.tagName&&Te.tagName.toUpperCase()==="IMG"};r.prototype.brushVML=function($){var Te=this.style,ye=Te.image,Fe,Oe;if(Z(ye)){var se=ye.src;if(se===this._imageSrc)Fe=this._imageWidth,Oe=this._imageHeight;else{var fe=ye.runtimeStyle,Le=fe.width,Je=fe.height;fe.width="auto",fe.height="auto",Fe=ye.width,Oe=ye.height,fe.width=Le,fe.height=Je,this._imageSrc=se,this._imageWidth=Fe,this._imageHeight=Oe}ye=se}else ye===this._imageSrc&&(Fe=this._imageWidth,Oe=this._imageHeight);if(!ye)return;var mt=Te.x||0,Ct=Te.y||0,Ue=Te.width,Rt=Te.height,Ke=Te.sWidth,wt=Te.sHeight,Ye=Te.sx||0,et=Te.sy||0,rt=Ke&&wt,st=this._vmlEl;st||(st=t.doc.createElement("div"),N(st),this._vmlEl=st);var Ve=st.style,oe=!1,re,it=1,Qe=1;if(this.transform&&(re=this.transform,it=p(re[0]*re[0]+re[1]*re[1]),Qe=p(re[2]*re[2]+re[3]*re[3]),oe=re[1]||re[2]),oe){var ve=[mt,Ct],Zt=[mt+Ue,Ct],dt=[mt,Ct+Rt],ct=[mt+Ue,Ct+Rt];y(ve,ve,re),y(Zt,Zt,re),y(dt,dt,re),y(ct,ct,re);var yt=A(ve[0],Zt[0],dt[0],ct[0]),_t=A(ve[1],Zt[1],dt[1],ct[1]),or=[];or.push("M11=",re[0]/it,S,"M12=",re[2]/Qe,S,"M21=",re[1]/it,S,"M22=",re[3]/Qe,S,"Dx=",u(mt*it+re[4]),S,"Dy=",u(Ct*Qe+re[5])),Ve.padding="0 "+u(yt)+"px "+u(_t)+"px 0",Ve.filter=T+".Matrix("+or.join("")+", SizingMethod=clip)"}else re&&(mt=mt*it+re[4],Ct=Ct*Qe+re[5]),Ve.filter="",Ve.left=u(mt)+"px",Ve.top=u(Ct)+"px";var Pt=this._imageEl,be=this._cropEl;Pt||(Pt=t.doc.createElement("div"),this._imageEl=Pt);var me=Pt.style;if(rt){if(Fe&&Oe)me.width=u(it*Fe*Ue/Ke)+"px",me.height=u(Qe*Oe*Rt/wt)+"px";else{var pe=new Image,ue=this;pe.onload=function(){pe.onload=null,Fe=pe.width,Oe=pe.height,me.width=u(it*Fe*Ue/Ke)+"px",me.height=u(Qe*Oe*Rt/wt)+"px",ue._imageWidth=Fe,ue._imageHeight=Oe,ue._imageSrc=ye},pe.src=ye}be||(be=t.doc.createElement("div"),be.style.overflow="hidden",this._cropEl=be);var De=be.style;De.width=u((Ue+Ye*Ue/Ke)*it),De.height=u((Rt+et*Rt/wt)*Qe),De.filter=T+".Matrix(Dx="+-Ye*Ue/Ke*it+",Dy="+-et*Rt/wt*Qe+")",be.parentNode||st.appendChild(be),Pt.parentNode!==be&&be.appendChild(Pt)}else me.width=u(it*Ue)+"px",me.height=u(Qe*Rt)+"px",st.appendChild(Pt),be&&be.parentNode&&(st.removeChild(be),this._cropEl=null);var He="",ze=Te.opacity;ze<1&&(He+=".Alpha(opacity="+u(ze*100)+") "),He+=T+".AlphaImageLoader(src="+ye+", SizingMethod=scale)",me.filter=He,st.style.zIndex=K(this.zlevel,this.z,this.z2),B($,st),Te.text!=null&&this.drawRectText($,this.getBoundingRect())},r.prototype.onRemove=function($){P($,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText($)},r.prototype.onAdd=function($){B($,this._vmlEl),this.appendRectText($)};var ge="normal",Q={},we=0,Ee=100,Ae=document.createElement("div"),Pe=function(Te){var ye=Q[Te];if(!ye){we>Ee&&(we=0,Q={});var Fe=Ae.style,Oe;try{Fe.font=Te,Oe=Fe.fontFamily.split(",")[0]}catch(se){}ye={style:Fe.fontStyle||ge,variant:Fe.fontVariant||ge,weight:Fe.fontWeight||ge,size:parseFloat(Fe.fontSize||12)|0,family:Oe||"Microsoft YaHei"},Q[Te]=ye,we++}return ye},Ge;h.$override("measureText",function($,Te){var ye=t.doc;Ge||(Ge=ye.createElement("div"),Ge.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",t.doc.body.appendChild(Ge));try{Ge.style.font=Te}catch(Fe){}return Ge.innerHTML="",Ge.appendChild(ye.createTextNode($)),{width:Ge.offsetWidth}});for(var gt=new m,_e=function(Te,ye,Fe,Oe){var se=this.style;this.__dirty&&c.normalizeTextStyle(se,!0);var fe=se.text;if(fe!=null&&(fe+=""),!fe)return;if(se.rich){var Le=h.parseRichText(fe,se);fe=[];for(var Je=0;Je<Le.lines.length;Je++){for(var mt=Le.lines[Je].tokens,Ct=[],Ue=0;Ue<mt.length;Ue++)Ct.push(mt[Ue].text);fe.push(Ct.join(""))}fe=fe.join(`
`)}var Rt,Ke,wt=se.textAlign,Ye=se.textVerticalAlign,et=Pe(se.font),rt=et.style+" "+et.variant+" "+et.weight+" "+et.size+'px "'+et.family+'"';Fe=Fe||h.getBoundingRect(fe,rt,wt,Ye,se.textPadding,se.textLineHeight);var st=this.transform;if(st&&!Oe&&(gt.copy(ye),gt.applyTransform(st),ye=gt),Oe)Rt=ye.x,Ke=ye.y;else{var Ve=se.textPosition;if(Ve instanceof Array)Rt=ye.x+R(Ve[0],ye.width),Ke=ye.y+R(Ve[1],ye.height),wt=wt||"left";else{var oe=this.calculateTextPosition?this.calculateTextPosition({},se,ye):h.calculateTextPosition({},se,ye);Rt=oe.x,Ke=oe.y,wt=wt||oe.textAlign,Ye=Ye||oe.textVerticalAlign}}Rt=h.adjustTextX(Rt,Fe.width,wt),Ke=h.adjustTextY(Ke,Fe.height,Ye),Ke+=Fe.height/2;var re=t.createNode,it=this._textVmlEl,Qe,ve,Zt;it?(Zt=it.firstChild,Qe=Zt.nextSibling,ve=Qe.nextSibling):(it=re("line"),Qe=re("path"),ve=re("textpath"),Zt=re("skew"),ve.style["v-text-align"]="left",N(it),Qe.textpathok=!0,ve.on=!0,it.from="0 0",it.to="1000 0.05",B(it,Zt),B(it,Qe),B(it,ve),this._textVmlEl=it);var dt=[Rt,Ke],ct=it.style;st&&Oe?(y(dt,dt,st),Zt.on=!0,Zt.matrix=st[0].toFixed(3)+S+st[2].toFixed(3)+S+st[1].toFixed(3)+S+st[3].toFixed(3)+",0,0",Zt.offset=(u(dt[0])||0)+","+(u(dt[1])||0),Zt.origin="0 0",ct.left="0px",ct.top="0px"):(Zt.on=!1,ct.left=u(Rt)+"px",ct.top=u(Ke)+"px"),ve.string=F(fe);try{ve.style.font=rt}catch(yt){}X(it,"fill",{fill:se.textFill,opacity:se.opacity},this),X(it,"stroke",{stroke:se.textStroke,opacity:se.opacity,lineDash:se.lineDash||null},this),it.style.zIndex=K(this.zlevel,this.z,this.z2),B(Te,it)},Ce=function(Te){P(Te,this._textVmlEl),this._textVmlEl=null},lt=function(Te){B(Te,this._textVmlEl)},ce=[a,i,r,d,o],Y=0;Y<ce.length;Y++){var V=ce[Y].prototype;V.drawRectText=_e,V.removeRectText=Ce,V.appendRectText=lt}o.prototype.brushVML=function($){var Te=this.style;Te.text!=null?this.drawRectText($,{x:Te.x||0,y:Te.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText($)},o.prototype.onRemove=function($){this.removeRectText($)},o.prototype.onAdd=function($){this.appendRectText($)}}},qJCg:function(D,_,e){var g=e("BlVb"),f=e("mFDi"),y=e("IwbS"),m=y.linePolygonIntersect,v={lineX:h(0),lineY:h(1),rect:{point:function(i,r,o){return i&&o.boundingRect.contain(i[0],i[1])},rect:function(i,r,o){return i&&o.boundingRect.intersect(i)}},polygon:{point:function(i,r,o){return i&&o.boundingRect.contain(i[0],i[1])&&g.contain(o.range,i[0],i[1])},rect:function(i,r,o){var d=o.range;if(!i||d.length<=1)return!1;var n=i.x,l=i.y,t=i.width,s=i.height,u=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(i).contain(u[0],u[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(i){var r=["x","y"],o=["width","height"];return{point:function(d,n,l){if(d){var t=l.range,s=d[i];return c(s,t)}},rect:function(d,n,l){if(d){var t=l.range,s=[d[r[i]],d[r[i]]+d[o[i]]];return s[1]<s[0]&&s.reverse(),c(s[0],t)||c(s[1],t)||c(t[0],s)||c(t[1],s)}}}}function c(i,r){return r[0]<=i&&i<=r[1]}var a=v;D.exports=a},qMZE:function(D,_,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}}}});D.exports=f},qNPg:function(D,_,e){"use strict";e.d(_,"a",function(){return z});var g=e("rePB"),f=e("VTBJ"),y=e("KQm4"),m=e("ODXe"),v=e("Ff2n"),h=e("q1tI"),c=e("4IlW"),a=e("TSYQ"),i=e.n(a),r=e("6cGi"),o=e("bX4T"),d=e("8XRh"),n=e("8OUc"),l=e("c+Xe"),t=function(Z,ge){var Q=Z.prefixCls,we=Z.id,Ee=Z.inputElement,Ae=Z.disabled,Pe=Z.tabIndex,Ge=Z.autoFocus,gt=Z.autoComplete,_e=Z.editable,Ce=Z.accessibilityIndex,lt=Z.value,ce=Z.onKeyDown,Y=Z.onMouseDown,V=Z.onChange,$=Z.onPaste,Te=Z.onCompositionStart,ye=Z.onCompositionEnd,Fe=Z.open,Oe=Z.attrs,se=Ee||h.createElement("input",null),fe=se,Le=fe.ref,Je=fe.props,mt=Je.onKeyDown,Ct=Je.onChange,Ue=Je.onMouseDown,Rt=Je.onCompositionStart,Ke=Je.onCompositionEnd,wt=Je.style;return se=h.cloneElement(se,Object(f.a)(Object(f.a)({id:we,ref:Object(l.a)(ge,Le),disabled:Ae,tabIndex:Pe,autoComplete:gt||"off",autoFocus:Ge,className:"".concat(Q,"-selection-search-input"),style:Object(f.a)(Object(f.a)({},wt),{},{opacity:_e?null:0}),role:"combobox","aria-expanded":Fe,"aria-haspopup":"listbox","aria-owns":"".concat(we,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(we,"_list"),"aria-activedescendant":"".concat(we,"_list_").concat(Ce)},Oe),{},{value:_e?lt:"",readOnly:!_e,unselectable:_e?null:"on",onKeyDown:function(et){ce(et),mt&&mt(et)},onMouseDown:function(et){Y(et),Ue&&Ue(et)},onChange:function(et){V(et),Ct&&Ct(et)},onCompositionStart:function(et){Te(et),Rt&&Rt(et)},onCompositionEnd:function(et){ye(et),Ke&&Ke(et)},onPaste:$})),se},s=h.forwardRef(t);s.displayName="Input";var u=s,p=e("WKfj");function w(G,Z){p.b?h.useLayoutEffect(G,Z):h.useEffect(G,Z)}var b="__RC_SELECT_MAX_REST_COUNT__",E=function(Z){var ge=Z.id,Q=Z.prefixCls,we=Z.values,Ee=Z.open,Ae=Z.searchValue,Pe=Z.inputRef,Ge=Z.placeholder,gt=Z.disabled,_e=Z.mode,Ce=Z.showSearch,lt=Z.autoFocus,ce=Z.autoComplete,Y=Z.accessibilityIndex,V=Z.tabIndex,$=Z.removeIcon,Te=Z.choiceTransitionName,ye=Z.maxTagCount,Fe=Z.maxTagTextLength,Oe=Z.maxTagPlaceholder,se=Oe===void 0?function(yt){return"+ ".concat(yt.length," ...")}:Oe,fe=Z.tagRender,Le=Z.onSelect,Je=Z.onInputChange,mt=Z.onInputPaste,Ct=Z.onInputKeyDown,Ue=Z.onInputMouseDown,Rt=Z.onInputCompositionStart,Ke=Z.onInputCompositionEnd,wt=h.useState(!1),Ye=Object(m.a)(wt,2),et=Ye[0],rt=Ye[1],st=h.useRef(null),Ve=h.useState(0),oe=Object(m.a)(Ve,2),re=oe[0],it=oe[1];h.useEffect(function(){rt(!0)},[]);var Qe=Ee||_e==="tags"?Ae:"",ve=_e==="tags"||Ee&&Ce;w(function(){it(st.current.scrollWidth)},[Qe]);var Zt=we,dt;typeof ye=="number"&&(dt=we.length-ye,Zt=we.slice(0,ye)),typeof Fe=="number"&&(Zt=Zt.map(function(yt){var _t=yt.label,or=Object(v.a)(yt,["label"]),Pt=_t;if(typeof _t=="string"||typeof _t=="number"){var be=String(Pt);be.length>Fe&&(Pt="".concat(be.slice(0,Fe),"..."))}return Object(f.a)(Object(f.a)({},or),{},{label:Pt})})),dt>0&&Zt.push({key:b,label:typeof se=="function"?se(we.slice(ye)):se});var ct=h.createElement(d.CSSMotionList,{component:!1,keys:Zt,motionName:Te,motionAppear:et},function(yt){var _t=yt.key,or=yt.label,Pt=yt.value,be=yt.disabled,me=yt.className,pe=yt.style,ue=_t||Pt,De=_t!==b&&!be,He=function(Be){Be.preventDefault(),Be.stopPropagation()},ze=function(Be){Be&&Be.stopPropagation(),Le(Pt,{selected:!1})};return typeof fe=="function"?h.createElement("span",{key:ue,onMouseDown:He,className:me,style:pe},fe({label:or,value:Pt,disabled:be,closable:De,onClose:ze})):h.createElement("span",{key:ue,className:i()(me,"".concat(Q,"-selection-item"),Object(g.a)({},"".concat(Q,"-selection-item-disabled"),be)),style:pe},h.createElement("span",{className:"".concat(Q,"-selection-item-content")},or),De&&h.createElement(n.a,{className:"".concat(Q,"-selection-item-remove"),onMouseDown:He,onClick:ze,customizeIcon:$},"\xD7"))});return h.createElement(h.Fragment,null,ct,h.createElement("span",{className:"".concat(Q,"-selection-search"),style:{width:re}},h.createElement(u,{ref:Pe,open:Ee,prefixCls:Q,id:ge,inputElement:null,disabled:gt,autoFocus:lt,autoComplete:ce,editable:ve,accessibilityIndex:Y,value:Qe,onKeyDown:Ct,onMouseDown:Ue,onChange:Je,onPaste:mt,onCompositionStart:Rt,onCompositionEnd:Ke,tabIndex:V,attrs:Object(o.a)(Z,!0)}),h.createElement("span",{ref:st,className:"".concat(Q,"-selection-search-mirror"),"aria-hidden":!0},Qe,"\xA0")),!we.length&&!Qe&&h.createElement("span",{className:"".concat(Q,"-selection-placeholder")},Ge))},A=E,S=function(Z){var ge=Z.inputElement,Q=Z.prefixCls,we=Z.id,Ee=Z.inputRef,Ae=Z.disabled,Pe=Z.autoFocus,Ge=Z.autoComplete,gt=Z.accessibilityIndex,_e=Z.mode,Ce=Z.open,lt=Z.values,ce=Z.placeholder,Y=Z.tabIndex,V=Z.showSearch,$=Z.searchValue,Te=Z.activeValue,ye=Z.onInputKeyDown,Fe=Z.onInputMouseDown,Oe=Z.onInputChange,se=Z.onInputPaste,fe=Z.onInputCompositionStart,Le=Z.onInputCompositionEnd,Je=h.useState(!1),mt=Object(m.a)(Je,2),Ct=mt[0],Ue=mt[1],Rt=_e==="combobox",Ke=Rt||V&&Ce,wt=lt[0],Ye=$||"";Rt&&Te&&!Ct&&(Ye=Te),h.useEffect(function(){Rt&&Ue(!1)},[Rt,Te]);var et=_e!=="combobox"&&!Ce?!1:!!Ye,rt=wt&&(typeof wt.label=="string"||typeof wt.label=="number")?wt.label.toString():void 0;return h.createElement(h.Fragment,null,h.createElement("span",{className:"".concat(Q,"-selection-search")},h.createElement(u,{ref:Ee,prefixCls:Q,id:we,open:Ce,inputElement:ge,disabled:Ae,autoFocus:Pe,autoComplete:Ge,editable:Ke,accessibilityIndex:gt,value:Ye,onKeyDown:ye,onMouseDown:Fe,onChange:function(Ve){Ue(!0),Oe(Ve)},onPaste:se,onCompositionStart:fe,onCompositionEnd:Le,tabIndex:Y,attrs:Object(o.a)(Z,!0)})),!Rt&&wt&&!et&&h.createElement("span",{className:"".concat(Q,"-selection-item"),title:rt},wt.label),!wt&&!et&&h.createElement("span",{className:"".concat(Q,"-selection-placeholder")},ce))},T=S;function L(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Z=h.useRef(null),ge=h.useRef(null);h.useEffect(function(){return function(){window.clearTimeout(ge.current)}},[]);function Q(we){(we||Z.current===null)&&(Z.current=we),window.clearTimeout(ge.current),ge.current=window.setTimeout(function(){Z.current=null},G)}return[function(){return Z.current},Q]}var x=function(Z,ge){var Q=Object(h.useRef)(null),we=Object(h.useRef)(!1),Ee=Z.prefixCls,Ae=Z.multiple,Pe=Z.open,Ge=Z.mode,gt=Z.showSearch,_e=Z.tokenWithEnter,Ce=Z.onSearch,lt=Z.onSearchSubmit,ce=Z.onToggleOpen,Y=Z.onInputKeyDown,V=Z.domRef;h.useImperativeHandle(ge,function(){return{focus:function(){Q.current.focus()},blur:function(){Q.current.blur()}}});var $=L(0),Te=Object(m.a)($,2),ye=Te[0],Fe=Te[1],Oe=function(et){var rt=et.which;(rt===c.a.UP||rt===c.a.DOWN)&&et.preventDefault(),Y&&Y(et),rt===c.a.ENTER&&Ge==="tags"&&!we.current&&!Pe&&lt(et.target.value),[c.a.SHIFT,c.a.TAB,c.a.BACKSPACE,c.a.ESC].includes(rt)||ce(!0)},se=function(){Fe(!0)},fe=Object(h.useRef)(null),Le=function(et){Ce(et,!0,we.current)!==!1&&ce(!0)},Je=function(){we.current=!0},mt=function(){we.current=!1},Ct=function(et){var rt=et.target.value;if(_e&&fe.current&&/[\r\n]/.test(fe.current)){var st=fe.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");rt=rt.replace(st,fe.current)}fe.current=null,Le(rt)},Ue=function(et){var rt=et.clipboardData,st=rt.getData("text");fe.current=st},Rt=function(et){var rt=ye();if(et.target!==Q.current){rt||et.preventDefault();var st=document.body.style.msTouchAction!==void 0;st?setTimeout(function(){Q.current.focus()}):Q.current.focus()}(Ge!=="combobox"&&(!gt||!rt)||!Pe)&&(Pe&&Ce("",!0,!1),ce())},Ke={inputRef:Q,onInputKeyDown:Oe,onInputMouseDown:se,onInputChange:Ct,onInputPaste:Ue,onInputCompositionStart:Je,onInputCompositionEnd:mt},wt=Ae?h.createElement(A,Object.assign({},Z,Ke)):h.createElement(T,Object.assign({},Z,Ke));return h.createElement("div",{ref:V,className:"".concat(Ee,"-selector"),onMouseDown:Rt},wt)},C=h.forwardRef(x);C.displayName="Selector";var I=C,N=e("uciX"),F=function(Z){var ge=typeof Z!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:ge,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:ge,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:ge,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:ge,adjustY:1}}}},k=function(Z,ge){var Q=Z.prefixCls,we=Z.disabled,Ee=Z.visible,Ae=Z.children,Pe=Z.popupElement,Ge=Z.containerWidth,gt=Z.animation,_e=Z.transitionName,Ce=Z.dropdownStyle,lt=Z.dropdownClassName,ce=Z.direction,Y=ce===void 0?"ltr":ce,V=Z.dropdownMatchSelectWidth,$=V===void 0?!0:V,Te=Z.dropdownRender,ye=Z.dropdownAlign,Fe=Z.getPopupContainer,Oe=Z.empty,se=Z.getTriggerDOMNode,fe=Object(v.a)(Z,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),Le="".concat(Q,"-dropdown"),Je=Pe;Te&&(Je=Te(Pe));var mt=h.useMemo(function(){return F($)},[$]),Ct=gt?"".concat(Le,"-").concat(gt):_e,Ue=h.useRef(null);h.useImperativeHandle(ge,function(){return{getPopupElement:function(){return Ue.current}}});var Rt=Object(f.a)({minWidth:Ge},Ce);return typeof $=="number"?Rt.width=$:$&&(Rt.width=Ge),h.createElement(N.a,Object.assign({},fe,{showAction:[],hideAction:[],popupPlacement:Y==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:mt,prefixCls:Le,popupTransitionName:Ct,popup:h.createElement("div",{ref:Ue},Je),popupAlign:ye,popupVisible:Ee,getPopupContainer:Fe,popupClassName:i()(lt,Object(g.a)({},"".concat(Le,"-empty"),Oe)),popupStyle:Rt,getTriggerDOMNode:se}),Ae)},B=h.forwardRef(k);B.displayName="SelectTrigger";var P=B,K=e("wPlo");function R(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Z=h.useState(!1),ge=Object(m.a)(Z,2),Q=ge[0],we=ge[1],Ee=h.useRef(null),Ae=function(){window.clearTimeout(Ee.current)};h.useEffect(function(){return Ae},[]);var Pe=function(gt,_e){Ae(),Ee.current=window.setTimeout(function(){we(gt),_e&&_e()},G)};return[Q,Pe,Ae]}var U=e("2Qr1");function j(G,Z,ge){var Q=h.useRef(null);Q.current={elements:G.filter(function(we){return we}),open:Z,triggerOpen:ge},h.useEffect(function(){function we(Ee){var Ae=Ee.target;Q.current.open&&Q.current.elements.every(function(Pe){return!Pe.contains(Ae)&&Pe!==Ae})&&Q.current.triggerOpen(!1)}return window.addEventListener("mousedown",we),function(){return window.removeEventListener("mousedown",we)}},[])}function H(G){var Z=h.useRef(G),ge=h.useMemo(function(){var Q=new Map;Z.current.forEach(function(Ee){var Ae=Ee.value,Pe=Ee.label;Ae!==Pe&&Q.set(Ae,Pe)});var we=G.map(function(Ee){var Ae=Q.get(Ee.value);return Ee.value===Ee.label&&Ae?Object(f.a)(Object(f.a)({},Ee),{},{label:Ae}):Ee});return Z.current=we,we},[G]);return ge}function W(G,Z){var ge=h.useRef(null),Q=h.useMemo(function(){var Ee=new Map;return Z.forEach(function(Ae){var Pe=Ae.data.value;Ee.set(Pe,Ae)}),Ee},[G,Z]);ge.current=Q;var we=function(Ae){return Ae.map(function(Pe){return ge.current.get(Pe)}).filter(Boolean)};return we}var X=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function z(G){var Z=G.prefixCls,ge=G.components.optionList,Q=G.convertChildrenToData,we=G.flattenOptions,Ee=G.getLabeledValue,Ae=G.filterOptions,Pe=G.isValueDisabled,Ge=G.findValueOption,gt=G.warningProps,_e=G.fillOptionsWithMissingValue,Ce=G.omitDOMProps;function lt(Y,V){var $,Te=Y.prefixCls,ye=Te===void 0?Z:Te,Fe=Y.className,Oe=Y.id,se=Y.open,fe=Y.defaultOpen,Le=Y.options,Je=Y.children,mt=Y.mode,Ct=Y.value,Ue=Y.defaultValue,Rt=Y.labelInValue,Ke=Y.showSearch,wt=Y.inputValue,Ye=Y.searchValue,et=Y.filterOption,rt=Y.optionFilterProp,st=rt===void 0?"value":rt,Ve=Y.autoClearSearchValue,oe=Ve===void 0?!0:Ve,re=Y.onSearch,it=Y.allowClear,Qe=Y.clearIcon,ve=Y.showArrow,Zt=Y.inputIcon,dt=Y.menuItemSelectedIcon,ct=Y.disabled,yt=Y.loading,_t=Y.defaultActiveFirstOption,or=Y.notFoundContent,Pt=or===void 0?"Not Found":or,be=Y.optionLabelProp,me=Y.backfill,pe=Y.getInputElement,ue=Y.getPopupContainer,De=Y.listHeight,He=De===void 0?200:De,ze=Y.listItemHeight,Xe=ze===void 0?20:ze,Be=Y.animation,nt=Y.transitionName,At=Y.virtual,It=Y.dropdownStyle,ae=Y.dropdownClassName,he=Y.dropdownMatchSelectWidth,q=Y.dropdownRender,ne=Y.dropdownAlign,Se=Y.showAction,Ne=Se===void 0?[]:Se,Me=Y.direction,$e=Y.tokenSeparators,vt=Y.tagRender,Wt=Y.onPopupScroll,$t=Y.onDropdownVisibleChange,Dt=Y.onFocus,Kt=Y.onBlur,Gt=Y.onKeyUp,Qt=Y.onKeyDown,Mt=Y.onMouseDown,dr=Y.onChange,er=Y.onSelect,ot=Y.onDeselect,xt=Y.onClear,ut=Y.internalProps,ft=ut===void 0?{}:ut,Ot=Object(v.a)(Y,["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"]),Tt=ft.mark===K.a,ht=Ce?Ce(Ot):Ot;X.forEach(function(Rn){delete ht[Rn]});var Ht=Object(h.useRef)(null),Ft=Object(h.useRef)(null),ir=Object(h.useRef)(null),Xt=Object(h.useRef)(null),mr=Object(h.useMemo)(function(){return($e||[]).some(function(Rn){return[`
`,`\r
`].includes(Rn)})},[$e]),Ar=R(),Nr=Object(m.a)(Ar,3),Fr=Nr[0],tn=Nr[1],qr=Nr[2],Lr=Object(h.useState)(),Qr=Object(m.a)(Lr,2),_r=Qr[0],ur=Qr[1];Object(h.useEffect)(function(){ur("rc_select_".concat(Object(p.a)()))},[]);var pr=Oe||_r,cr=be;cr===void 0&&(cr=Le?"label":"children");var fr=mt==="combobox"?!1:Rt,xr=mt==="tags"||mt==="multiple",Yr=Ke!==void 0?Ke:xr||mt==="combobox",un=Object(h.useRef)(null);h.useImperativeHandle(V,function(){return{focus:ir.current.focus,blur:ir.current.blur}});var Nn=Object(r.a)(Ue,{value:Ct}),jr=Object(m.a)(Nn,2),Tn=jr[0],gn=jr[1],Bn=Object(h.useMemo)(function(){return Object(p.e)(Tn,{labelInValue:fr,combobox:mt==="combobox"})},[Tn,fr]),zn=Object(h.useMemo)(function(){return new Set(Bn)},[Bn]),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],_i=xa;mt==="combobox"&&Tn!==void 0?_i=Tn:Ye!==void 0?_i=Ye:wt&&(_i=wt);var Ci=Object(h.useMemo)(function(){var Rn=Le;return Rn===void 0&&(Rn=Q(Je)),mt==="tags"&&_e&&(Rn=_e(Rn,Tn,cr,Rt)),Rn||[]},[Le,Je,mt,Tn]),Gn=Object(h.useMemo)(function(){return we(Ci,Y)},[Ci]),Ia=W(Bn,Gn),mn=Object(h.useMemo)(function(){if(!_i||!Yr)return Object(y.a)(Ci);var Rn=Ae(_i,Ci,{optionFilterProp:st,filterOption:mt==="combobox"&&et===void 0?function(){return!0}:et});return mt==="tags"&&Rn.every(function(En){return En[st]!==_i})&&Rn.unshift({value:_i,label:_i,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Rn},[Ci,_i,mt,Yr]),In=Object(h.useMemo)(function(){return we(mn,Y)},[mn]);Object(h.useEffect)(function(){Xt.current&&Xt.current.scrollTo&&Xt.current.scrollTo(0)},[_i]);var Ln=Object(h.useMemo)(function(){var Rn=Bn.map(function(En){var On=Ia([En]),Xn=Ee(En,{options:On,prevValue:Tn,labelInValue:fr,optionLabelProp:cr});return Object(f.a)(Object(f.a)({},Xn),{},{disabled:Pe(En,On)})});return!mt&&Rn.length===1&&Rn[0].value===null&&Rn[0].label===null?[]:Rn},[Tn,Ci,mt]);Ln=H(Ln);var _n=function(En,On,Xn){var ai=Ia([En]),ri=Ge([En],ai)[0];if(!ft.skipTriggerSelect){var Di=fr?Ee(En,{options:ai,prevValue:Tn,labelInValue:fr,optionLabelProp:cr}):En;On&&er?er(Di,ri):!On&&ot&&ot(Di,ri)}Tt&&(On&&ft.onRawSelect?ft.onRawSelect(En,ri,Xn):!On&&ft.onRawDeselect&&ft.onRawDeselect(En,ri,Xn))},jn=Object(h.useState)([]),ni=Object(m.a)(jn,2),di=ni[0],Na=ni[1],Qi=function(En){if(Tt&&ft.skipTriggerChange)return;var On=Ia(En),Xn=Object(p.f)(Array.from(En),{labelInValue:fr,options:On,getLabeledValue:Ee,prevValue:Tn,optionLabelProp:cr}),ai=xr?Xn:Xn[0];if(dr&&(Bn.length!==0||Xn.length!==0)){var ri=Ge(En,On,{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,On){var Xn=On.selected,ai=On.source;if(ct)return;var ri;xr?(ri=new Set(Bn),Xn?ri.add(En):ri.delete(En)):(ri=new Set,ri.add(En)),(xr||!xr&&Array.from(Bn)[0]!==En)&&Qi(Array.from(ri)),_n(En,!xr||Xn,ai),mt==="combobox"?(ta(String(En)),An("")):(!xr||oe)&&(ta(""),An(""))},Pa=function(En,On){ma(En,Object(f.a)(Object(f.a)({},On),{},{source:"option"}))},Qa=function(En,On){ma(En,Object(f.a)(Object(f.a)({},On),{},{source:"selection"}))},Wi=mt==="combobox"&&pe&&pe()||null,Co=Object(r.a)(void 0,{defaultValue:fe,value:se}),aa=Object(m.a)(Co,2),Hi=aa[0],ga=aa[1],ha=Hi,mo=!Pt&&!mn.length;(ct||mo&&ha&&mt==="combobox")&&(ha=!1);var kn=mo?!1:ha,$i=function(En){var On=En!==void 0?En:!ha;Hi!==On&&!ct&&(ga(On),$t&&$t(On))};j([Ht.current,Ft.current&&Ft.current.getPopupElement()],kn,$i);var eo=function(En,On,Xn){var ai=!0,ri=En;An(null);var Di=Xn?null:Object(U.f)(En,$e),yi=Di;if(mt==="combobox")On&&Qi([ri]);else if(Di){ri="",mt!=="tags"&&(yi=Di.map(function(Li){var Un=Gn.find(function(Ri){var fa=Ri.data;return fa[cr]===Li});return Un?Un.data.value:null}).filter(function(Li){return Li!==null}));var xi=Array.from(new Set([].concat(Object(y.a)(Bn),Object(y.a)(yi))));Qi(xi),xi.forEach(function(Li){_n(Li,!0,"input")}),$i(!1),ai=!1}return ta(ri),re&&_i!==ri&&re(ri),ai},To=function(En){var On=Array.from(new Set([].concat(Object(y.a)(Bn),[En])));Qi(On),On.forEach(function(Xn){_n(Xn,!0,"input")}),ta("")};Object(h.useEffect)(function(){Hi&&!!ct&&ga(!1)},[ct]),Object(h.useEffect)(function(){!ha&&!xr&&mt!=="combobox"&&eo("",!1,!1)},[ha]);var uo=L(),rr=Object(m.a)(uo,2),Tr=rr[0],Br=rr[1],Wr=function(En){var On=Tr(),Xn=En.which;if(!ha&&Xn===c.a.ENTER&&$i(!0),Br(!!_i),Xn===c.a.BACKSPACE&&!On&&xr&&!_i&&Bn.length){var ai=Object(p.c)(Ln,Bn);ai.removedValue!==null&&(Qi(ai.values),_n(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 On=arguments.length,Xn=new Array(On>1?On-1:0),ai=1;ai<On;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))},tt=Object(h.useRef)(!1),jt=function(){tn(!0),ct||(Dt&&!tt.current&&Dt.apply(void 0,arguments),Ne.includes("focus")&&$i(!0)),tt.current=!0},Jt=function(){if(tn(!1,function(){tt.current=!1,$i(!1)}),ct)return;_i&&(mt==="tags"?(eo("",!1,!1),Qi(Array.from(new Set([].concat(Object(y.a)(Bn),[_i]))))):mt==="multiple"&&ta("")),Kt&&Kt.apply(void 0,arguments)},nr=[];Object(h.useEffect)(function(){return function(){nr.forEach(function(Rn){return clearTimeout(Rn)}),nr.splice(0,nr.length)}},[]);var Ir=function(En){var On=En.target,Xn=Ft.current&&Ft.current.getPopupElement();if(Xn&&Xn.contains(On)){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),zr=Er[0],Jr=Er[1],Zr=_t!==void 0?_t:mt!=="combobox",an=function(En,On){Jr(On),me&&mt==="combobox"&&En!==null&&An(String(En))},St=Object(h.useState)(null),Vt=Object(m.a)(St,2),sr=Vt[0],br=Vt[1],Mr=Object(h.useState)({}),Dr=Object(m.a)(Mr,2),rn=Dr[1];function fn(){rn({})}w(function(){if(kn){var Rn=Math.ceil(Ht.current.offsetWidth);sr!==Rn&&br(Rn)}},[kn]);var wn=h.createElement(ge,{ref:Xt,prefixCls:ye,id:pr,open:ha,childrenAsData:!Le,options:mn,flattenOptions:In,multiple:xr,values:zn,height:He,itemHeight:Xe,onSelect:Pa,onToggleOpen:$i,onActiveValue:an,defaultActiveFirstOption:Zr,notFoundContent:Pt,onScroll:Wt,searchValue:_i,menuItemSelectedIcon:dt,virtual:At!==!1&&he!==!1,onMouseEnter:fn}),Hn,Sn=function(){Tt&&ft.onClear&&ft.onClear(),xt&&xt(),Qi([]),eo("",!1,!1)};!ct&&it&&(Bn.length||_i)&&(Hn=h.createElement(n.a,{className:"".concat(ye,"-clear"),onMouseDown:Sn,customizeIcon:Qe},"\xD7"));var bn=ve!==void 0?ve:yt||!xr&&mt!=="combobox",Mn;bn&&(Mn=h.createElement(n.a,{className:i()("".concat(ye,"-arrow"),Object(g.a)({},"".concat(ye,"-arrow-loading"),yt)),customizeIcon:Zt,customizeIconProps:{loading:yt,searchValue:_i,open:ha,focused:Fr,showSearch:Yr}}));var vn=i()(ye,Fe,($={},Object(g.a)($,"".concat(ye,"-focused"),Fr),Object(g.a)($,"".concat(ye,"-multiple"),xr),Object(g.a)($,"".concat(ye,"-single"),!xr),Object(g.a)($,"".concat(ye,"-allow-clear"),it),Object(g.a)($,"".concat(ye,"-show-arrow"),bn),Object(g.a)($,"".concat(ye,"-disabled"),ct),Object(g.a)($,"".concat(ye,"-loading"),yt),Object(g.a)($,"".concat(ye,"-open"),ha),Object(g.a)($,"".concat(ye,"-customize-input"),Wi),Object(g.a)($,"".concat(ye,"-show-search"),Yr),$));return h.createElement("div",Object.assign({className:vn},ht,{ref:Ht,onMouseDown:Ir,onKeyDown:Wr,onKeyUp:hn,onFocus:jt,onBlur:Jt}),Fr&&!ha&&h.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(Bn.join(", "))),h.createElement(P,{ref:Ft,disabled:ct,prefixCls:ye,visible:kn,popupElement:wn,containerWidth:sr,animation:Be,transitionName:nt,dropdownStyle:It,dropdownClassName:ae,direction:Me,dropdownMatchSelectWidth:he,dropdownRender:q,dropdownAlign:ne,getPopupContainer:ue,empty:!Ci.length,getTriggerDOMNode:function(){return un.current}},h.createElement(I,Object.assign({},Y,{domRef:un,prefixCls:ye,inputElement:Wi,ref:ir,id:pr,showSearch:Yr,mode:mt,accessibilityIndex:zr,multiple:xr,tagRender:vt,values:Ln,open:ha,onToggleOpen:$i,searchValue:_i,activeValue:Vn,onSearch:eo,onSearchSubmit:To,onSelect:Qa,tokenWithEnter:mr}))),Mn,Hn)}var ce=h.forwardRef(lt);return ce}},qPY4:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("u4NN"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},qWUW:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("DL4k")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="CaretDownOutlined";var c=y.forwardRef(h);_.default=c},qWt2:function(D,_,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}}});D.exports=f},qZFw:function(D,_,e){var g=e("bYtY"),f=e("6GrX"),y=e("hM6l"),m=e("4NO4"),v=m.makeInner,h=v();function c(i,r){r=r||[0,360],y.call(this,"angle",i,r),this.type="category"}c.prototype={constructor:c,pointToData:function(i,r){return this.polar.pointToData(i,r)[this.dim==="radius"?0:1]},dataToAngle:y.prototype.dataToCoord,angleToData:y.prototype.coordToData,calculateCategoryInterval:function(){var i=this,r=i.getLabelModel(),o=i.scale,d=o.getExtent(),n=o.count();if(d[1]-d[0]<1)return 0;var l=d[0],t=i.dataToCoord(l+1)-i.dataToCoord(l),s=Math.abs(t),u=f.getBoundingRect(l,r.getFont(),"center","top"),p=Math.max(u.height,7),w=p/s;isNaN(w)&&(w=Infinity);var b=Math.max(0,Math.floor(w)),E=h(i.model),A=E.lastAutoInterval,S=E.lastTickCount;return A!=null&&S!=null&&Math.abs(A-b)<=1&&Math.abs(S-n)<=1&&A>b?b=A:(E.lastTickCount=n,E.lastAutoInterval=b),b}},g.inherits(c,y);var a=c;D.exports=a},qZTm:function(D,_,e){var g=e("fR/l"),f=e("MvSz"),y=e("7GkX");function m(v){return g(v,y,f)}D.exports=m},qgGe:function(D,_,e){var g=e("bYtY"),f=e("T4UG"),y=e("Bsck"),m=e("VaxA"),v=m.wrapTreePathInfo,h=f.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(a,i){var r={name:a.name,children:a.data};c(r);var o=a.levels||[],d={};return d.levels=o,y.createTree(r,this,d).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(a){var i=f.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(a);return i.treePathInfo=v(r,this),i},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(a){a?this._viewRoot=a:a=this._viewRoot;var i=this.getRawData().tree.root;(!a||a!==i&&!i.contains(a))&&(this._viewRoot=i)}});function c(a){var i=0;g.each(a.children,function(o){c(o);var d=o.value;g.isArray(d)&&(d=d[0]),i+=d});var r=a.value;g.isArray(r)&&(r=r[0]),(r==null||isNaN(r))&&(r=i),r<0&&(r=0),g.isArray(a.value)?a.value[0]=r:a.value=r}D.exports=h},qj72:function(D,_,e){var g=e("bYtY");function f(m,v){return v=v||[0,0],g.map(["x","y"],function(h,c){var a=this.getAxis(h),i=v[c],r=m[c]/2;return a.type==="category"?a.getBandWidth():Math.abs(a.dataToCoord(i-r)-a.dataToCoord(i+r))},this)}function y(m){var v=m.grid.getRect();return{coordSys:{type:"cartesian2d",x:v.x,y:v.y,width:v.width,height:v.height},api:{coord:function(h){return m.dataToPoint(h)},size:g.bind(f,m)}}}D.exports=y},"qt/9":function(D,_,e){var g=e("ProS"),f=e("bYtY");e("Wqna"),e("1tlw"),e("Mylv");var y=e("nVfU"),m=y.layout,v=e("f5Yq");e("Ae16"),g.registerLayout(f.curry(m,"pictorialBar")),g.registerVisual(v("pictorialBar","roundRect"))},quyA:function(D,_){var e="\\ud800-\\udfff",g="\\u0300-\\u036f",f="\\ufe20-\\ufe2f",y="\\u20d0-\\u20ff",m=g+f+y,v="\\ufe0e\\ufe0f",h="\\u200d",c=RegExp("["+h+e+m+v+"]");function a(i){return c.test(i)}D.exports=a},qwVE:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("K4ya"),m=e("XxSj"),v=g.PRIORITY.VISUAL.COMPONENT;g.registerVisual(v,{createOnAllSeries:!0,reset:function(c,a){var i=[];return a.eachComponent("visualMap",function(r){var o=c.pipelineContext;if(!r.isTargetSeries(c)||o&&o.large)return;i.push(y.incrementalApplyVisual(r.stateList,r.targetVisuals,f.bind(r.getValueState,r),r.getDataDimension(c.getData())))}),i}}),g.registerVisual(v,{createOnAllSeries:!0,reset:function(c,a){var i=c.getData(),r=[];a.eachComponent("visualMap",function(o){if(o.isTargetSeries(c)){var d=o.getVisualMeta(f.bind(h,null,c,o))||{stops:[],outerColors:[]},n=o.getDataDimension(i),l=i.getDimensionInfo(n);l!=null&&(d.dimension=l.index,r.push(d))}}),c.getData().setVisual("visualMeta",r)}});function h(c,a,i,r){for(var o=a.targetVisuals[r],d=m.prepareVisualTypes(o),n={color:c.getData().getVisual("color")},l=0,t=d.length;l<t;l++){var s=d[l],u=o[s==="opacity"?"__alphaForOpacity":s];u&&u.applyVisual(i,p,w)}return n.color;function p(b){return n[b]}function w(b,E){n[b]=E}}},"r+aA":function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("s2MQ")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="EyeInvisibleOutlined";var c=y.forwardRef(h);_.default=c},"r/2G":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("+Zaj"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},r6Bn:function(D,_,e){var g=e("bYtY"),f=e("ItGF"),y=e("4fz+"),m=e("BPZU");function v(a,i){return a.zlevel===i.zlevel?a.z===i.z?a.z2-i.z2:a.z-i.z:a.zlevel-i.zlevel}var h=function(){this._roots=[],this._displayList=[],this._displayListLen=0};h.prototype={constructor:h,traverse:function(i,r){for(var o=0;o<this._roots.length;o++)this._roots[o].traverse(i,r)},getDisplayList:function(i,r){return r=r||!1,i&&this.updateDisplayList(r),this._displayList},updateDisplayList:function(i){this._displayListLen=0;for(var r=this._roots,o=this._displayList,d=0,n=r.length;d<n;d++)this._updateAndAddDisplayable(r[d],null,i);o.length=this._displayListLen,f.canvasSupported&&m(o,v)},_updateAndAddDisplayable:function(i,r,o){if(i.ignore&&!o)return;i.beforeUpdate(),i.__dirty&&i.update(),i.afterUpdate();var d=i.clipPath;if(d){r?r=r.slice():r=[];for(var n=d,l=i;n;)n.parent=l,n.updateTransform(),r.push(n),l=n,n=n.clipPath}if(i.isGroup){for(var t=i._children,s=0;s<t.length;s++){var u=t[s];i.__dirty&&(u.__dirty=!0),this._updateAndAddDisplayable(u,r,o)}i.__dirty=!1}else i.__clipPaths=r,this._displayList[this._displayListLen++]=i},addRoot:function(i){if(i.__storage===this)return;i instanceof y&&i.addChildrenToStorage(this),this.addToStorage(i),this._roots.push(i)},delRoot:function(i){if(i==null){for(var r=0;r<this._roots.length;r++){var o=this._roots[r];o instanceof y&&o.delChildrenFromStorage(this)}this._roots=[],this._displayList=[],this._displayListLen=0;return}if(i instanceof Array){for(var r=0,d=i.length;r<d;r++)this.delRoot(i[r]);return}var n=g.indexOf(this._roots,i);n>=0&&(this.delFromStorage(i),this._roots.splice(n,1),i instanceof y&&i.delChildrenFromStorage(this))},addToStorage:function(i){return i&&(i.__storage=this,i.dirty(!1)),this},delFromStorage:function(i){return i&&(i.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:v};var c=h;D.exports=c},rA99:function(D,_,e){var g=e("y+Vt"),f=e("QBsz"),y=e("Sj9i"),m=y.quadraticSubdivide,v=y.cubicSubdivide,h=y.quadraticAt,c=y.cubicAt,a=y.quadraticDerivativeAt,i=y.cubicDerivativeAt,r=[];function o(n,l,t){var s=n.cpx2,u=n.cpy2;return s===null||u===null?[(t?i:c)(n.x1,n.cpx1,n.cpx2,n.x2,l),(t?i:c)(n.y1,n.cpy1,n.cpy2,n.y2,l)]:[(t?a:h)(n.x1,n.cpx1,n.x2,l),(t?a: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,u=t.y1,p=t.x2,w=t.y2,b=t.cpx1,E=t.cpy1,A=t.cpx2,S=t.cpy2,T=t.percent;if(T===0)return;l.moveTo(s,u),A==null||S==null?(T<1&&(m(s,b,p,T,r),b=r[1],p=r[2],m(u,E,w,T,r),E=r[1],w=r[2]),l.quadraticCurveTo(b,E,p,w)):(T<1&&(v(s,b,A,p,T,r),b=r[1],A=r[2],p=r[3],v(u,E,S,w,T,r),E=r[1],S=r[2],w=r[3]),l.bezierCurveTo(b,E,A,S,p,w))},pointAt:function(l){return o(this.shape,l,!1)},tangentAt:function(l){var t=o(this.shape,l,!0);return f.normalize(t,t)}});D.exports=d},"rAM+":function(D,_,e){"use strict";e.d(_,"a",function(){return f});var g=e("Qw5x");function f(y,m){var v;if(typeof Symbol=="undefined"||y[Symbol.iterator]==null){if(Array.isArray(y)||(v=Object(g.a)(y))||m&&y&&typeof y.length=="number"){v&&(y=v);var h=0,c=function(){};return{s:c,n:function(){return h>=y.length?{done:!0}:{done:!1,value:y[h++]}},e:function(d){throw d},f:c}}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 a=!0,i=!1,r;return{s:function(){v=y[Symbol.iterator]()},n:function(){var d=v.next();return a=d.done,d},e:function(d){i=!0,r=d},f:function(){try{!a&&v.return!=null&&v.return()}finally{if(i)throw r}}}}},rEGp:function(D,_){function e(g){var f=-1,y=Array(g.size);return g.forEach(function(m){y[++f]=m}),y}D.exports=e},rHrb:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.CopyToClipboard=void 0;var g=y(e("q1tI")),f=y(e("+QRC"));function y(w){return w&&w.__esModule?w:{default:w}}function m(w){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?m=function(E){return typeof E}:m=function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E},m(w)}function v(w,b){var E=Object.keys(w);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(w);b&&(A=A.filter(function(S){return Object.getOwnPropertyDescriptor(w,S).enumerable})),E.push.apply(E,A)}return E}function h(w){for(var b=1;b<arguments.length;b++){var E=arguments[b]!=null?arguments[b]:{};b%2?v(E,!0).forEach(function(A){u(w,A,E[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(E)):v(E).forEach(function(A){Object.defineProperty(w,A,Object.getOwnPropertyDescriptor(E,A))})}return w}function c(w,b){if(w==null)return{};var E=a(w,b),A,S;if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(w);for(S=0;S<T.length;S++){if(A=T[S],b.indexOf(A)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(w,A))continue;E[A]=w[A]}}return E}function a(w,b){if(w==null)return{};var E={},A=Object.keys(w),S,T;for(T=0;T<A.length;T++){if(S=A[T],b.indexOf(S)>=0)continue;E[S]=w[S]}return E}function i(w,b){if(!(w instanceof b))throw new TypeError("Cannot call a class as a function")}function r(w,b){for(var E=0;E<b.length;E++){var A=b[E];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(w,A.key,A)}}function o(w,b,E){return b&&r(w.prototype,b),E&&r(w,E),w}function d(w,b){return b&&(m(b)==="object"||typeof b=="function")?b:l(w)}function n(w){return n=Object.setPrototypeOf?Object.getPrototypeOf:function(E){return E.__proto__||Object.getPrototypeOf(E)},n(w)}function l(w){if(w===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w}function t(w,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function");w.prototype=Object.create(b&&b.prototype,{constructor:{value:w,writable:!0,configurable:!0}}),b&&s(w,b)}function s(w,b){return s=Object.setPrototypeOf||function(A,S){return A.__proto__=S,A},s(w,b)}function u(w,b,E){return b in w?Object.defineProperty(w,b,{value:E,enumerable:!0,configurable:!0,writable:!0}):w[b]=E,w}var p=function(w){t(b,w);function b(){var E,A;i(this,b);for(var S=arguments.length,T=new Array(S),L=0;L<S;L++)T[L]=arguments[L];return A=d(this,(E=n(b)).call.apply(E,[this].concat(T))),u(l(A),"onClick",function(x){var C=A.props,I=C.text,N=C.onCopy,F=C.children,k=C.options,B=g.default.Children.only(F),P=(0,f.default)(I,k);N&&N(I,P),B&&B.props&&typeof B.props.onClick=="function"&&B.props.onClick(x)}),A}return o(b,[{key:"render",value:function(){var A=this.props,S=A.text,T=A.onCopy,L=A.options,x=A.children,C=c(A,["text","onCopy","options","children"]),I=g.default.Children.only(x);return g.default.cloneElement(I,h({},C,{onClick:this.onClick}))}}]),b}(g.default.PureComponent);_.CopyToClipboard=p,u(p,"defaultProps",{onCopy:void 0,options:void 0})},rLCj:function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="ReloadOutlined";var h=_.a=g.forwardRef(v)},rUJ1:function(D,_){var e=/[&<>"']/,g=/[&<>"']/g,f=/[<>"']|&(?!#?\w+;)/,y=/[<>"']|&(?!#?\w+;)/g,m={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},v=function(x){return m[x]};function h(L,x){if(x){if(e.test(L))return L.replace(g,v)}else if(f.test(L))return L.replace(y,v);return L}var c=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function a(L){return L.replace(c,function(x,C){return C=C.toLowerCase(),C==="colon"?":":C.charAt(0)==="#"?C.charAt(1)==="x"?String.fromCharCode(parseInt(C.substring(2),16)):String.fromCharCode(+C.substring(1)):""})}var i=/(^|[^\[])\^/g;function r(L,x){L=L.source||L,x=x||"";var C={replace:function(N,F){return F=F.source||F,F=F.replace(i,"$1"),L=L.replace(N,F),C},getRegex:function(){return new RegExp(L,x)}};return C}var o=/[^\w:]/g,d=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function n(L,x,C){if(L){var I;try{I=decodeURIComponent(a(C)).replace(o,"").toLowerCase()}catch(N){return null}if(I.indexOf("javascript:")===0||I.indexOf("vbscript:")===0||I.indexOf("data:")===0)return null}x&&!d.test(C)&&(C=p(x,C));try{C=encodeURI(C).replace(/%25/g,"%")}catch(N){return null}return C}var l={},t=/^[^:]+:\/*[^/]*$/,s=/^([^:]+:)[\s\S]*$/,u=/^([^:]+:\/*[^/]*)[\s\S]*$/;function p(L,x){l[" "+L]||(t.test(L)?l[" "+L]=L+"/":l[" "+L]=A(L,"/",!0)),L=l[" "+L];var C=L.indexOf(":")===-1;return x.substring(0,2)==="//"?C?x:L.replace(s,"$1")+x:x.charAt(0)==="/"?C?x:L.replace(u,"$1")+x:L+x}var w={exec:function(){}};function b(L){for(var x=1,C,I;x<arguments.length;x++){C=arguments[x];for(I in C)Object.prototype.hasOwnProperty.call(C,I)&&(L[I]=C[I])}return L}function E(L,x){var C=L.replace(/\|/g,function(F,k,B){for(var P=!1,K=k;--K>=0&&B[K]==="\\";)P=!P;return P?"|":" |"}),I=C.split(/ \|/),N=0;if(I.length>x)I.splice(x);else for(;I.length<x;)I.push("");for(;N<I.length;N++)I[N]=I[N].trim().replace(/\\\|/g,"|");return I}function A(L,x,C){var I=L.length;if(I===0)return"";for(var N=0;N<I;){var F=L.charAt(I-N-1);if(F===x&&!C)N++;else if(F!==x&&C)N++;else break}return L.substr(0,I-N)}function S(L,x){if(L.indexOf(x[1])===-1)return-1;for(var C=L.length,I=0,N=0;N<C;N++)if(L[N]==="\\")N++;else if(L[N]===x[0])I++;else if(L[N]===x[1]&&(I--,I<0))return N;return-1}function T(L){L&&L.sanitize&&!L.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")}D.exports={escape:h,unescape:a,edit:r,cleanUrl:n,resolveUrl:p,noopTest:w,merge:b,splitCells:E,rtrim:A,findClosingBracket:S,checkSanitizeDeprecation:T}},rdUC:function(D,_,e){var g=e("MFOe"),f=g.Global;D.exports={name:"localStorage",read:m,write:v,each:h,remove:c,clearAll:a};function y(){return f.localStorage}function m(i){return y().getItem(i)}function v(i,r){return y().setItem(i,r)}function h(i){for(var r=y().length-1;r>=0;r--){var o=y().key(r);i(m(o),o)}}function c(i){return y().removeItem(i)}function a(){return y().clear()}},rdor:function(D,_,e){var g=e("lOQZ"),f=g.circularLayout;function y(m){m.eachSeriesByType("graph",function(v){v.get("layout")==="circular"&&f(v,"symbolSize")})}D.exports=y},rfSb:function(D,_,e){var g=e("T4UG"),f=e("sdST"),y=e("L0Ub"),m=y.getDimensionTypeByAxis,v=e("YXkt"),h=e("bYtY"),c=e("4NO4"),a=c.groupData,i=e("7aKB"),r=i.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,u=a(t,function(B){return B[2]}),p=[];u.buckets.each(function(B,P){p.push({name:P,dataList:B})});for(var w=p.length,b=-1,E=-1,A=0;A<w;++A){var S=p[A].dataList.length;S>b&&(b=S,E=A)}for(var T=0;T<w;++T){if(T===E)continue;for(var L=p[T].name,x=0;x<b;++x){for(var C=p[E].dataList[x][0],I=p[T].dataList.length,N=-1,F=0;F<I;++F){var k=p[T].dataList[F][0];if(k===C){N=F;break}}N===-1&&(t[s]=[],t[s][0]=C,t[s][1]=0,t[s][2]=L,s++)}}return t},getInitialData:function(t,s){for(var u=s.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],p=u.get("type"),w=h.filter(t.data,function(C){return C[2]!==void 0}),b=this.fixData(w||[]),E=[],A=this.nameMap=h.createHashMap(),S=0,T=0;T<b.length;++T)E.push(b[T][d]),A.get(b[T][d])||(A.set(b[T][d],S),S++);var L=f(b,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:m(p)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),x=new v(L,this);return x.initData(b),x},getLayerSeries:function(){for(var t=this.getData(),s=t.count(),u=[],p=0;p<s;++p)u[p]=p;var w=t.mapDimension("single"),b=a(u,function(A){return t.get("name",A)}),E=[];return b.buckets.each(function(A,S){A.sort(function(T,L){return t.get(w,T)-t.get(w,L)}),E.push({name:S,indices:A})}),E},getAxisTooltipData:function(t,s,u){h.isArray(t)||(t=t?[t]:[]);for(var p=this.getData(),w=this.getLayerSeries(),b=[],E=w.length,A,S=0;S<E;++S){for(var T=Number.MAX_VALUE,L=-1,x=w[S].indices.length,C=0;C<x;++C){var I=p.get(t[0],w[S].indices[C]),N=Math.abs(I-s);N<=T&&(A=I,T=N,L=w[S].indices[C])}b.push(L)}return{dataIndices:b,nestestValue:A}},formatTooltip:function(t){var s=this.getData(),u=s.getName(t),p=s.get(s.mapDimension("value"),t);return(isNaN(p)||p==null)&&(p="-"),r(u+" : "+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;D.exports=l},rkZ5:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("ProS"),m=e("c8qY"),v=e("D9ME"),h=e("fls0"),c=e("RSch"),a=e("akwb"),i=e("o40c"),r=e("ZYIC"),o=e("sK/D"),d=o.createClipPath,n=y.extendChartView({type:"lines",init:function(){},render:function(l,t,s){var u=l.getData(),p=this._updateLineDraw(u,l),w=l.get("zlevel"),b=l.get("effect.trailLength"),E=s.getZr(),A=E.painter.getType()==="svg";A||E.painter.getLayer(w).clear(!0),this._lastZlevel!=null&&!A&&E.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(l)&&b&&(A||E.configLayer(w,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(b/10+.9,1),0)})),p.updateData(u);var S=l.get("clip",!0)&&d(l.coordinateSystem,!1,l);S?this.group.setClipPath(S):this.group.removeClipPath(),this._lastZlevel=w,this._finished=!0},incrementalPrepareRender:function(l,t,s){var u=l.getData(),p=this._updateLineDraw(u,l);p.incrementalPrepareUpdate(u),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 u=l.getData(),p=l.pipelineContext;if(!this._finished||p.large||p.progressiveRender)return{update:!0};var w=r.reset(l);w.progress&&w.progress({start:0,end:u.count()},u),this._lineDraw.updateLayout(),this._clearLayer(s)},_updateLineDraw:function(l,t){var s=this._lineDraw,u=this._showEffect(t),p=!!t.get("polyline"),w=t.pipelineContext,b=w.large;return(!s||u!==this._hasEffet||p!==this._isPolyline||b!==this._isLargeDraw)&&(s&&s.remove(),s=this._lineDraw=b?new i:new m(p?u?a:c:u?v:h),this._hasEffet=u,this._isPolyline=p,this._isLargeDraw=b,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(){}});D.exports=n},rmlV:function(D,_,e){var g=e("y+Vt"),f=g.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(m,v){var h=.5522848,c=v.cx,a=v.cy,i=v.rx,r=v.ry,o=i*h,d=r*h;m.moveTo(c-i,a),m.bezierCurveTo(c-i,a-d,c-o,a-r,c,a-r),m.bezierCurveTo(c+o,a-r,c+i,a-d,c+i,a),m.bezierCurveTo(c+i,a+d,c+o,a+r,c,a+r),m.bezierCurveTo(c-o,a+r,c-i,a+d,c-i,a),m.closePath()}});D.exports=f},rnVJ:function(D,_,e){var g=e("bYtY"),f=["rect","polygon","keep","clear"];function y(v,h){var c=v&&v.brush;if(g.isArray(c)||(c=c?[c]:[]),!c.length)return;var a=[];g.each(c,function(n){var l=n.hasOwnProperty("toolbox")?n.toolbox:[];l instanceof Array&&(a=a.concat(l))});var i=v&&v.toolbox;g.isArray(i)&&(i=i[0]),i||(i={feature:{}},v.toolbox=[i]);var r=i.feature||(i.feature={}),o=r.brush||(r.brush={}),d=o.type||(o.type=[]);d.push.apply(d,a),m(d),h&&!d.length&&d.push.apply(d,f)}function m(v){var h={};g.each(v,function(c){h[c]=1}),v.length=0,g.each(h,function(c,a){v.push(a)})}D.exports=y},rwxt:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=e("GdRQ");function f(c,a){if(!(c instanceof a))throw new TypeError("Cannot call a class as a function")}function y(c,a){for(var i=0;i<a.length;i++){var r=a[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(c,r.key,r)}}function m(c,a,i){return a&&y(c.prototype,a),i&&y(c,i),c}var v=!g.supportsCursorURIs||g.isTouchDevice,h=function(){function c(){f(this,c),this._target=null,this._canvas=document.createElement("canvas"),v&&(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(c,[{key:"attach",value:function(i){if(this._target&&this.detach(),this._target=i,v){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(v){var i={capture:!0,passive:!0};this._target.removeEventListener("mouseover",this._eventHandlers.mouseover,i),this._target.removeEventListener("mouseleave",this._eventHandlers.mouseleave,i),this._target.removeEventListener("mousemove",this._eventHandlers.mousemove,i),this._target.removeEventListener("mouseup",this._eventHandlers.mouseup,i),document.body.removeChild(this._canvas)}this._target=null}},{key:"change",value:function(i,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(i),d,n)}catch(u){t=l.createImageData(d,n),t.data.set(new Uint8ClampedArray(i))}if(l.clearRect(0,0,d,n),l.putImageData(t,0,0),v)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(i,r){if(!v)return;window.visualViewport?(this._position.x=i+window.visualViewport.offsetLeft,this._position.y=r+window.visualViewport.offsetTop):(this._position.x=i,this._position.y=r),this._updatePosition();var o=document.elementFromPoint(i,r);this._updateVisibility(o)}},{key:"_handleMouseOver",value:function(i){this._handleMouseMove(i)}},{key:"_handleMouseLeave",value:function(i){this._updateVisibility(i.relatedTarget)}},{key:"_handleMouseMove",value:function(i){this._updateVisibility(i.target),this._position.x=i.clientX-this._hotSpot.x,this._position.y=i.clientY-this._hotSpot.y,this._updatePosition()}},{key:"_handleMouseUp",value:function(i){var r=this,o=document.elementFromPoint(i.clientX,i.clientY);this._updateVisibility(o),this._captureIsActive()&&window.setTimeout(function(){if(!r._target)return;o=document.elementFromPoint(i.clientX,i.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(i){return i?i===this._target?!0:this._target.contains(i)?!(window.getComputedStyle(i).cursor!=="none"):!1:!1}},{key:"_updateVisibility",value:function(i){this._captureIsActive()&&(i=document.captureElement),this._shouldShowCursor(i)?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)}}]),c}();_.default=h},rySg:function(D,_,e){e("SMc4"),e("8nMs")},s2MQ:function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},s2lz:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("IwbS"),m=e("gPAo"),v=e("VaxA"),h=e("9hCq"),c=e("SgGq"),a=e("mFDi"),i=e("Fofx"),r=e("5s0K"),o=e("KCsZ"),d=e("7aKB"),n=d.windowOpen,l=f.bind,t=y.Group,s=y.Rect,u=f.each,p=3,w=["label"],b=["emphasis","label"],E=["upperLabel"],A=["emphasis","upperLabel"],S=10,T=1,L=2,x=o([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),C=function(B){var P=x(B);return P.stroke=P.fill=P.lineWidth=null,P},I=g.extendChartView({type:"treemap",init:function(B,P){this._containerGroup,this._storage=N(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(B,P,K,R){var U=P.findComponents({mainType:"series",subType:"treemap",query:R});if(f.indexOf(U,B)<0)return;this.seriesModel=B,this.api=K,this.ecModel=P;var j=["treemapZoomToNode","treemapRootToNode"],H=v.retrieveTargetInfo(R,j,B),W=R&&R.type,X=B.layoutInfo,z=!this._oldTree,G=this._storage,Z=W==="treemapRootToNode"&&H&&G?{rootNodeGroup:G.nodeGroup[H.node.getRawIndex()],direction:R.direction}:null,ge=this._giveContainerGroup(X),Q=this._doRender(ge,B,Z);!z&&(!W||W==="treemapZoomToNode"||W==="treemapRootToNode")?this._doAnimation(ge,Q,B,Z):Q.renderFinally(),this._resetController(K),this._renderBreadcrumb(B,K,H)},_giveContainerGroup:function(B){var P=this._containerGroup;return P||(P=this._containerGroup=new t,this._initEvents(P),this.group.add(P)),P.attr("position",[B.x,B.y]),P},_doRender:function(B,P,K){var R=P.getData().tree,U=this._oldTree,j=N(),H=N(),W=this._storage,X=[],z=f.curry(F,P,H,W,K,j,X);Z(R.root?[R.root]:[],U&&U.root?[U.root]:[],B,R===U||!U,0);var G=ge(W);return this._oldTree=R,this._storage=H,{lastsForAnimation:j,willDeleteEls:G,renderFinally:Q};function Z(we,Ee,Ae,Pe,Ge){Pe?(Ee=we,u(we,function(Ce,lt){!Ce.isRemoved()&&_e(lt,lt)})):new m(Ee,we,gt,gt).add(_e).update(_e).remove(f.curry(_e,null)).execute();function gt(Ce){return Ce.getId()}function _e(Ce,lt){var ce=Ce!=null?we[Ce]:null,Y=lt!=null?Ee[lt]:null,V=z(ce,Y,Ae,Ge);V&&Z(ce&&ce.viewChildren||[],Y&&Y.viewChildren||[],V,Pe,Ge+1)}}function ge(we){var Ee=N();return we&&u(we,function(Ae,Pe){var Ge=Ee[Pe];u(Ae,function(gt){gt&&(Ge.push(gt),gt.__tmWillDelete=1)})}),Ee}function Q(){u(G,function(we){u(we,function(Ee){Ee.parent&&Ee.parent.remove(Ee)})}),u(X,function(we){we.invisible=!0,we.dirty()})}},_doAnimation:function(B,P,K,R){if(!K.get("animation"))return;var U=K.get("animationDurationUpdate"),j=K.get("animationEasing"),H=r.createWrap();u(P.willDeleteEls,function(W,X){u(W,function(z,G){if(z.invisible)return;var Z=z.parent,ge;if(R&&R.direction==="drillDown")ge=Z===R.rootNodeGroup?{shape:{x:0,y:0,width:Z.__tmNodeWidth,height:Z.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var Q=0,we=0;Z.__tmWillDelete||(Q=Z.__tmNodeWidth/2,we=Z.__tmNodeHeight/2),ge=X==="nodeGroup"?{position:[Q,we],style:{opacity:0}}:{shape:{x:Q,y:we,width:0,height:0},style:{opacity:0}}}ge&&H.add(z,ge,U,j)})}),u(this._storage,function(W,X){u(W,function(z,G){var Z=P.lastsForAnimation[X][G],ge={};if(!Z)return;X==="nodeGroup"?Z.old&&(ge.position=z.position.slice(),z.attr("position",Z.old)):(Z.old&&(ge.shape=f.extend({},z.shape),z.setShape(Z.old)),Z.fadein?(z.setStyle("opacity",0),ge.style={opacity:1}):z.style.opacity!==1&&(ge.style={opacity:1})),H.add(z,ge,U,j)})},this),this._state="animating",H.done(l(function(){this._state="ready",P.renderFinally()},this)).start()},_resetController:function(B){var P=this._controller;P||(P=this._controller=new c(B.getZr()),P.enable(this.seriesModel.get("roam")),P.on("pan",l(this._onPan,this)),P.on("zoom",l(this._onZoom,this)));var K=new a(0,0,B.getWidth(),B.getHeight());P.setPointerChecker(function(R,U,j){return K.contain(U,j)})},_clearController:function(){var B=this._controller;B&&(B.dispose(),B=null)},_onPan:function(B){if(this._state!=="animating"&&(Math.abs(B.dx)>p||Math.abs(B.dy)>p)){var P=this.seriesModel.getData().tree.root;if(!P)return;var K=P.getLayout();if(!K)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:K.x+B.dx,y:K.y+B.dy,width:K.width,height:K.height}})}},_onZoom:function(B){var P=B.originX,K=B.originY;if(this._state!=="animating"){var R=this.seriesModel.getData().tree.root;if(!R)return;var U=R.getLayout();if(!U)return;var j=new a(U.x,U.y,U.width,U.height),H=this.seriesModel.layoutInfo;P-=H.x,K-=H.y;var W=i.create();i.translate(W,W,[-P,-K]),i.scale(W,W,[B.scale,B.scale]),i.translate(W,W,[P,K]),j.applyTransform(W),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(B){B.on("click",function(P){if(this._state!=="ready")return;var K=this.seriesModel.get("nodeClick",!0);if(!K)return;var R=this.findTarget(P.offsetX,P.offsetY);if(!R)return;var U=R.node;if(U.getLayout().isLeafRoot)this._rootToNode(R);else if(K==="zoomToNode")this._zoomToNode(R);else if(K==="link"){var j=U.hostTree.data.getItemModel(U.dataIndex),H=j.get("link",!0),W=j.get("target",!0)||"blank";H&&n(H,W)}},this)},_renderBreadcrumb:function(B,P,K){K||(K=B.get("leafDepth",!0)!=null?{node:B.getViewRoot()}:this.findTarget(P.getWidth()/2,P.getHeight()/2),K||(K={node:B.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new h(this.group))).render(B,P,K.node,l(R,this));function R(U){this._state!=="animating"&&(v.aboveViewRoot(B.getViewRoot(),U)?this._rootToNode({node:U}):this._zoomToNode({node:U}))}},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=N(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(B){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:B.node})},_rootToNode:function(B){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:B.node})},findTarget:function(B,P){var K,R=this.seriesModel.getViewRoot();return R.eachNode({attr:"viewChildren",order:"preorder"},function(U){var j=this._storage.background[U.getRawIndex()];if(j){var H=j.transformCoordToLocal(B,P),W=j.shape;if(W.x<=H[0]&&H[0]<=W.x+W.width&&W.y<=H[1]&&H[1]<=W.y+W.height)K={node:U,offsetX:H[0],offsetY:H[1]};else return!1}},this),K}});function N(){return{nodeGroup:[],background:[],content:[]}}function F(B,P,K,R,U,j,H,W,X,z){if(!H)return;var G=H.getLayout(),Z=B.getData();if(Z.setItemGraphicEl(H.dataIndex,null),!G||!G.isInView)return;var ge=G.width,Q=G.height,we=G.borderWidth,Ee=G.invisible,Ae=H.getRawIndex(),Pe=W&&W.getRawIndex(),Ge=H.viewChildren,gt=G.upperHeight,_e=Ge&&Ge.length,Ce=H.getModel("itemStyle"),lt=H.getModel("emphasis.itemStyle"),ce=fe("nodeGroup",t);if(!ce)return;if(X.add(ce),ce.attr("position",[G.x||0,G.y||0]),ce.__tmNodeWidth=ge,ce.__tmNodeHeight=Q,G.isAboveViewRoot)return ce;var Y=H.getModel(),V=fe("background",s,z,T);if(V&&Te(ce,V,_e&&G.upperLabelHeight),_e)y.isHighDownDispatcher(ce)&&y.setAsHighDownDispatcher(ce,!1),V&&(y.setAsHighDownDispatcher(V,!0),Z.setItemGraphicEl(H.dataIndex,V));else{var $=fe("content",s,z,L);$&&ye(ce,$),V&&y.isHighDownDispatcher(V)&&y.setAsHighDownDispatcher(V,!1),y.setAsHighDownDispatcher(ce,!0),Z.setItemGraphicEl(H.dataIndex,ce)}return ce;function Te(mt,Ct,Ue){if(Ct.dataIndex=H.dataIndex,Ct.seriesIndex=B.seriesIndex,Ct.setShape({x:0,y:0,width:ge,height:Q}),Ee)Fe(Ct);else{Ct.invisible=!1;var Rt=H.getVisual("borderColor",!0),Ke=lt.get("borderColor"),wt=C(Ce);wt.fill=Rt;var Ye=x(lt);if(Ye.fill=Ke,Ue){var et=ge-2*we;Oe(wt,Ye,Rt,et,gt,{x:we,y:0,width:et,height:gt})}else wt.text=Ye.text=null;Ct.setStyle(wt),y.setElementHoverStyle(Ct,Ye)}mt.add(Ct)}function ye(mt,Ct){Ct.dataIndex=H.dataIndex,Ct.seriesIndex=B.seriesIndex;var Ue=Math.max(ge-2*we,0),Rt=Math.max(Q-2*we,0);if(Ct.culling=!0,Ct.setShape({x:we,y:we,width:Ue,height:Rt}),Ee)Fe(Ct);else{Ct.invisible=!1;var Ke=H.getVisual("color",!0),wt=C(Ce);wt.fill=Ke;var Ye=x(lt);Oe(wt,Ye,Ke,Ue,Rt),Ct.setStyle(wt),y.setElementHoverStyle(Ct,Ye)}mt.add(Ct)}function Fe(mt){!mt.invisible&&j.push(mt)}function Oe(mt,Ct,Ue,Rt,Ke,wt){var Ye=Y.get("name"),et=Y.getModel(wt?E:w),rt=Y.getModel(wt?A:b),st=et.getShallow("show");y.setLabelStyle(mt,Ct,et,rt,{defaultText:st?Ye:null,autoColor:Ue,isRectText:!0,labelFetcher:B,labelDataIndex:H.dataIndex,labelProp:wt?"upperLabel":"label"}),se(mt,wt,G),se(Ct,wt,G),wt&&(mt.textRect=f.clone(wt)),mt.truncate=st&&et.get("ellipsis")?{outerWidth:Rt,outerHeight:Ke,minChar:2}:null}function se(mt,Ct,Ue){var Rt=mt.text;if(!Ct&&Ue.isLeafRoot&&Rt!=null){var Ke=B.get("drillDownIcon",!0);mt.text=Ke?Ke+" "+Rt:Rt}}function fe(mt,Ct,Ue,Rt){var Ke=Pe!=null&&K[mt][Pe],wt=U[mt];return Ke?(K[mt][Pe]=null,Le(wt,Ke,mt)):Ee||(Ke=new Ct({z:k(Ue,Rt)}),Ke.__tmDepth=Ue,Ke.__tmStorageName=mt,Je(wt,Ke,mt)),P[mt][Ae]=Ke}function Le(mt,Ct,Ue){var Rt=mt[Ae]={};Rt.old=Ue==="nodeGroup"?Ct.position.slice():f.extend({},Ct.shape)}function Je(mt,Ct,Ue){var Rt=mt[Ae]={},Ke=H.parentNode;if(Ke&&(!R||R.direction==="drillDown")){var wt=0,Ye=0,et=U.background[Ke.getRawIndex()];!R&&et&&et.old&&(wt=et.old.width,Ye=et.old.height),Rt.old=Ue==="nodeGroup"?[0,Ye]:{x:wt,y:Ye,width:0,height:0}}Rt.fadein=Ue!=="nodeGroup"}}function k(B,P){var K=B*S+P;return(K-1)/K}D.exports=I},sAZ8:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("+rIm"),m=e("/IIm"),v=e("9KIM"),h=e("IwbS"),c=["axisLine","axisTickLabel","axisName"],a=g.extendComponentView({type:"parallelAxis",init:function(n,l){a.superApply(this,"init",arguments),(this._brushController=new m(l.getZr())).on("brush",f.bind(this._onBrush,this))},render:function(n,l,t,s){if(i(n,l,s))return;this.axisModel=n,this.api=t,this.group.removeAll();var u=this._axisGroup;if(this._axisGroup=new h.Group,this.group.add(this._axisGroup),!n.get("show"))return;var p=o(n,l),w=p.coordinateSystem,b=n.getAreaSelectStyle(),E=b.width,A=n.axis.dim,S=w.getAxisLayout(A),T=f.extend({strokeContainThreshold:E},S),L=new y(n,T);f.each(c,L.add,L),this._axisGroup.add(L.getGroup()),this._refreshBrushController(T,b,n,p,E,t);var x=s&&s.animation===!1?null:n;h.groupTransition(u,this._axisGroup,x)},_refreshBrushController:function(n,l,t,s,u,p){var w=t.axis.getExtent(),b=w[1]-w[0],E=Math.min(30,Math.abs(b)*.1),A=h.BoundingRect.create({x:w[0],y:-u/2,width:b,height:u});A.x-=E,A.width+=2*E,this._brushController.mount({enableGlobalPan:!0,rotation:n.rotation,position:n.position}).setPanels([{panelId:"pl",clipPath:v.makeRectPanelClipPath(A),isTargetByCursor:v.makeRectIsTargetByCursor(A,p,s),getLinearBrushOtherExtent:v.makeLinearBrushOtherExtent(A,0)}]).enableBrush({brushType:"lineX",brushStyle:l,removeOnClick:!0}).updateCovers(r(t))},_onBrush:function(n,l){var t=this.axisModel,s=t.axis,u=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:u})},dispose:function(){this._brushController.dispose()}});function i(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=a;D.exports=d},sE09:function(D,_,e){},sEf8:function(D,_){function e(g){return function(f){return g(f)}}D.exports=e},sGsY:function(D,_,e){"use strict";var g=e("lSNA"),f=e.n(g),y=e("pVnL"),m=e.n(y),v=e("q1tI"),h=e("TSYQ"),c=e.n(h),a=e("H84U"),i=e("B6l+"),r=e.n(i),o=function(H){var W=H.value,X=H.formatter,z=H.precision,G=H.decimalSeparator,Z=H.groupSeparator,ge=Z===void 0?"":Z,Q=H.prefixCls,we;if(typeof X=="function")we=X(W);else{var Ee=String(W),Ae=Ee.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Ae||Ee==="-")we=Ee;else{var Pe=Ae[1],Ge=Ae[2]||"0",gt=Ae[4]||"";Ge=Ge.replace(/\B(?=(\d{3})+(?!\d))/g,ge),typeof z=="number"&&(gt=r()(gt,z,"0").slice(0,z)),gt&&(gt="".concat(G).concat(gt)),we=[v.createElement("span",{key:"int",className:"".concat(Q,"-content-value-int")},Pe,Ge),gt&&v.createElement("span",{key:"decimal",className:"".concat(Q,"-content-value-decimal")},gt)]}}return v.createElement("span",{className:"".concat(Q,"-content-value")},we)},d=o,n=function(H){var W=H.prefixCls,X=H.className,z=H.style,G=H.valueStyle,Z=H.value,ge=Z===void 0?0:Z,Q=H.title,we=H.valueRender,Ee=H.prefix,Ae=H.suffix,Pe=H.direction,Ge=H.onMouseEnter,gt=H.onMouseLeave,_e=v.createElement(d,m()({},H,{value:ge})),Ce=c()(W,X,f()({},"".concat(W,"-rtl"),Pe==="rtl"));return v.createElement("div",{className:Ce,style:z,onMouseEnter:Ge,onMouseLeave:gt},Q&&v.createElement("div",{className:"".concat(W,"-title")},Q),v.createElement("div",{style:G,className:"".concat(W,"-content")},Ee&&v.createElement("span",{className:"".concat(W,"-content-prefix")},Ee),we?we(_e):_e,Ae&&v.createElement("span",{className:"".concat(W,"-content-suffix")},Ae)))};n.defaultProps={decimalSeparator:".",groupSeparator:","};var l=Object(a.c)({prefixCls:"statistic"})(n),t=l,s=e("lwsE"),u=e.n(s),p=e("W8MJ"),w=e.n(p),b=e("7W2i"),E=e.n(b),A=e("LQ03"),S=e.n(A),T=e("J4zp"),L=e.n(T),x=e("QQZ/"),C=e.n(x),I=[["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 N(j,H){var W=j,X=/\[[^\]]*]/g,z=(H.match(X)||[]).map(function(Q){return Q.slice(1,-1)}),G=H.replace(X,"[]"),Z=I.reduce(function(Q,we){var Ee=L()(we,2),Ae=Ee[0],Pe=Ee[1];if(Q.indexOf(Ae)!==-1){var Ge=Math.floor(W/Pe);return W-=Ge*Pe,Q.replace(new RegExp("".concat(Ae,"+"),"g"),function(gt){var _e=gt.length;return C()(Ge.toString(),_e,"0")})}return Q},G),ge=0;return Z.replace(X,function(){var Q=z[ge];return ge+=1,Q})}function F(j,H){var W=H.format,X=W===void 0?"":W,z=new Date(j).getTime(),G=Date.now(),Z=Math.max(z-G,0);return N(Z,X)}var k=e("0n0R"),B=1e3/30;function P(j){return new Date(j).getTime()}var K=function(j){E()(W,j);var H=S()(W);function W(){var X;return u()(this,W),X=H.apply(this,arguments),X.syncTimer=function(){var z=X.props.value,G=P(z);G>=Date.now()?X.startTimer():X.stopTimer()},X.startTimer=function(){if(X.countdownId)return;X.countdownId=window.setInterval(function(){X.forceUpdate()},B)},X.stopTimer=function(){var z=X.props,G=z.onFinish,Z=z.value;if(X.countdownId){clearInterval(X.countdownId),X.countdownId=void 0;var ge=P(Z);G&&ge<Date.now()&&G()}},X.formatCountdown=function(z,G){var Z=X.props.format;return F(z,m()(m()({},G),{format:Z}))},X.valueRender=function(z){return Object(k.a)(z,{title:void 0})},X}return w()(W,[{key:"componentDidMount",value:function(){this.syncTimer()}},{key:"componentDidUpdate",value:function(){this.syncTimer()}},{key:"componentWillUnmount",value:function(){this.stopTimer()}},{key:"render",value:function(){return v.createElement(t,m()({valueRender:this.valueRender},this.props,{formatter:this.formatCountdown}))}}]),W}(v.Component);K.defaultProps={format:"HH:mm:ss"};var R=K;t.Countdown=R;var U=_.a=t},"sK/D":function(D,_,e){var g=e("IwbS"),f=e("OELB"),y=f.round;function m(c,a,i){var r=c.getArea(),o=c.getBaseAxis().isHorizontal(),d=r.x,n=r.y,l=r.width,t=r.height,s=i.get("lineStyle.width")||2;d-=s/2,n-=s/2,l+=s,t+=s,d=Math.floor(d),l=Math.round(l);var u=new g.Rect({shape:{x:d,y:n,width:l,height:t}});return a&&(u.shape[o?"width":"height"]=0,g.initProps(u,{shape:{width:l,height:t}},i)),u}function v(c,a,i){var r=c.getArea(),o=new g.Sector({shape:{cx:y(c.cx,1),cy:y(c.cy,1),r0:y(r.r0,1),r:y(r.r,1),startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});return a&&(o.shape.endAngle=r.startAngle,g.initProps(o,{shape:{endAngle:r.endAngle}},i)),o}function h(c,a,i){if(c){if(c.type==="polar")return v(c,a,i);if(c.type==="cartesian2d")return m(c,a,i)}else return null;return null}_.createGridClipPath=m,_.createPolarClipPath=v,_.createClipPath=h},sKgW:function(D,_){var e=9007199254740991,g=Math.floor;function f(y,m){var v="";if(!y||m<1||m>e)return v;do m%2&&(v+=y),m=g(m/2),m&&(y+=y);while(m);return v}D.exports=f},sPJy:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("AOa7"),m=e.n(y),v=e("lUTK"),h=e("qVdP")},sPtV:function(D,_,e){"use strict";e.d(_,"a",function(){return m});var g=e("q1tI"),f=e.n(g),y=e("hkKa");function m(v){var h=g.useRef(v),c=Object(y.a)();return[function(){return h.current},function(a){h.current=a,c()}]}},sRwP:function(D,_,e){e("jsU+"),e("2548"),e("Tp9H"),e("06DH"),e("dnwI"),e("fE02"),e("33Ds")},"sS/r":function(D,_,e){var g=e("4fz+"),f=e("iRjW"),y=e("Yl7c"),m=function(){this.group=new g,this.uid=f.getUID("viewComponent")};m.prototype={constructor:m,init:function(c,a){},render:function(c,a,i,r){},dispose:function(){},filterForExposedEvent:null};var v=m.prototype;v.updateView=v.updateLayout=v.updateVisual=function(c,a,i,r){},y.enableClassExtend(m),y.enableClassManagement(m,{registerWhenExtend:!0});var h=m;D.exports=h},"sW+o":function(D,_,e){var g=e("SrGk"),f=e("bYtY"),y=e("SUKs"),m=e("Qe9p");function v(c,a){g.call(this,c,a,["linearGradient","radialGradient"],"__gradient_in_use__")}f.inherits(v,g),v.prototype.addWithoutUpdate=function(c,a){if(a&&a.style){var i=this;f.each(["fill","stroke"],function(r){if(a.style[r]&&(a.style[r].type==="linear"||a.style[r].type==="radial")){var o=a.style[r],d=i.getDefs(!0),n;o._dom?(n=o._dom,d.contains(o._dom)||i.addDom(n)):n=i.add(o),i.markUsed(a);var l=n.getAttribute("id");c.setAttribute(r,"url(#"+l+")")}})}},v.prototype.add=function(c){var a;if(c.type==="linear")a=this.createElement("linearGradient");else if(c.type==="radial")a=this.createElement("radialGradient");else return y("Illegal gradient type."),null;return c.id=c.id||this.nextId++,a.setAttribute("id","zr"+this._zrId+"-gradient-"+c.id),this.updateDom(c,a),this.addDom(a),a},v.prototype.update=function(c){var a=this;g.prototype.update.call(this,c,function(){var i=c.type,r=c._dom.tagName;i==="linear"&&r==="linearGradient"||i==="radial"&&r==="radialGradient"?a.updateDom(c,c._dom):(a.removeDom(c),a.add(c))})},v.prototype.updateDom=function(c,a){if(c.type==="linear")a.setAttribute("x1",c.x),a.setAttribute("y1",c.y),a.setAttribute("x2",c.x2),a.setAttribute("y2",c.y2);else if(c.type==="radial")a.setAttribute("cx",c.x),a.setAttribute("cy",c.y),a.setAttribute("r",c.r);else{y("Illegal gradient type.");return}c.global?a.setAttribute("gradientUnits","userSpaceOnUse"):a.setAttribute("gradientUnits","objectBoundingBox"),a.innerHTML="";for(var i=c.colorStops,r=0,o=i.length;r<o;++r){var d=this.createElement("stop");d.setAttribute("offset",i[r].offset*100+"%");var n=i[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",i[r].color);a.appendChild(d)}c._dom=a},v.prototype.markUsed=function(c){if(c.style){var a=c.style.fill;a&&a._dom&&g.prototype.markUsed.call(this,a._dom),a=c.style.stroke,a&&a._dom&&g.prototype.markUsed.call(this,a._dom)}};var h=v;D.exports=h},sboe:function(D,_,e){"use strict";e.d(_,"a",function(){return y});var g=e("q1tI"),f=e.n(g),y=g.createContext(null)},sdST:function(D,_,e){var g=e("hi0g");function f(y,m){return m=m||{},g(m.coordDimensions||[],y,{dimsDef:m.dimensionsDefine||y.dimensionsDefine,encodeDef:m.encodeDefine||y.encodeDefine,dimCount:m.dimensionsCount,encodeDefaulter:m.encodeDefaulter,generateCoord:m.generateCoord,generateCoordCount:m.generateCoordCount})}D.exports=f},seXi:function(D,_,e){var g=e("qZTm"),f=1,y=Object.prototype,m=y.hasOwnProperty;function v(h,c,a,i,r,o){var d=a&f,n=g(h),l=n.length,t=g(c),s=t.length;if(l!=s&&!d)return!1;for(var u=l;u--;){var p=n[u];if(!(d?p in c:m.call(c,p)))return!1}var w=o.get(h),b=o.get(c);if(w&&b)return w==c&&b==h;var E=!0;o.set(h,c),o.set(c,h);for(var A=d;++u<l;){p=n[u];var S=h[p],T=c[p];if(i)var L=d?i(T,S,p,c,h,o):i(S,T,p,h,c,o);if(!(L===void 0?S===T||r(S,T,a,i,o):L)){E=!1;break}A||(A=p=="constructor")}if(E&&!A){var x=h.constructor,C=c.constructor;x!=C&&"constructor"in h&&"constructor"in c&&!(typeof x=="function"&&x instanceof x&&typeof C=="function"&&C instanceof C)&&(E=!1)}return o.delete(h),o.delete(c),E}D.exports=v},shjB:function(D,_){var e=9007199254740991;function g(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=e}D.exports=g},sjKO:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=y;var g=30,f=12;function y(m,v){var h,c,a,i,r,o,d,n,l,t,s,u,p,w,b,E,A,S,T,L,x,C,I,N,F;h=m.state,c=m.next_in,N=m.input,a=c+(m.avail_in-5),i=m.next_out,F=m.output,r=i-(v-m.avail_out),o=i+(m.avail_out-257),d=h.dmax,n=h.wsize,l=h.whave,t=h.wnext,s=h.window,u=h.hold,p=h.bits,w=h.lencode,b=h.distcode,E=(1<<h.lenbits)-1,A=(1<<h.distbits)-1;e:do{p<15&&(u+=N[c++]<<p,p+=8,u+=N[c++]<<p,p+=8),S=w[u&E];t:for(;;){if(T=S>>>24,u>>>=T,p-=T,T=S>>>16&255,T===0)F[i++]=S&65535;else if(T&16){L=S&65535,T&=15,T&&(p<T&&(u+=N[c++]<<p,p+=8),L+=u&(1<<T)-1,u>>>=T,p-=T),p<15&&(u+=N[c++]<<p,p+=8,u+=N[c++]<<p,p+=8),S=b[u&A];r:for(;;){if(T=S>>>24,u>>>=T,p-=T,T=S>>>16&255,T&16){if(x=S&65535,T&=15,p<T&&(u+=N[c++]<<p,p+=8,p<T&&(u+=N[c++]<<p,p+=8)),x+=u&(1<<T)-1,x>d){m.msg="invalid distance too far back",h.mode=g;break e}if(u>>>=T,p-=T,T=i-r,x>T){if(T=x-T,T>l&&h.sane){m.msg="invalid distance too far back",h.mode=g;break e}if(C=0,I=s,t===0){if(C+=n-T,T<L){L-=T;do F[i++]=s[C++];while(--T);C=i-x,I=F}}else if(t<T){if(C+=n+t-T,T-=t,T<L){L-=T;do F[i++]=s[C++];while(--T);if(C=0,t<L){T=t,L-=T;do F[i++]=s[C++];while(--T);C=i-x,I=F}}}else if(C+=t-T,T<L){L-=T;do F[i++]=s[C++];while(--T);C=i-x,I=F}for(;L>2;)F[i++]=I[C++],F[i++]=I[C++],F[i++]=I[C++],L-=3;L&&(F[i++]=I[C++],L>1&&(F[i++]=I[C++]))}else{C=i-x;do F[i++]=F[C++],F[i++]=F[C++],F[i++]=F[C++],L-=3;while(L>2);L&&(F[i++]=F[C++],L>1&&(F[i++]=F[C++]))}}else if((T&64)===0){S=b[(S&65535)+(u&(1<<T)-1)];continue r}else{m.msg="invalid distance code",h.mode=g;break e}break}}else if((T&64)===0){S=w[(S&65535)+(u&(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(c<a&&i<o);L=p>>3,c-=L,p-=L<<3,u&=(1<<p)-1,m.next_in=c,m.next_out=i,m.avail_in=c<a?5+(a-c):5-(c-a),m.avail_out=i<o?257+(o-i):257-(i-o),h.hold=u,h.bits=p;return}},szbU:function(D,_,e){var g=e("bYtY"),f=g.each;function y(v){var h=v&&v.visualMap;g.isArray(h)||(h=h?[h]:[]),f(h,function(c){if(!c)return;m(c,"splitList")&&!m(c,"pieces")&&(c.pieces=c.splitList,delete c.splitList);var a=c.pieces;a&&g.isArray(a)&&f(a,function(i){g.isObject(i)&&(m(i,"start")&&!m(i,"min")&&(i.min=i.start),m(i,"end")&&!m(i,"max")&&(i.max=i.end))})})}function m(v,h){return v&&v.hasOwnProperty&&v.hasOwnProperty(h)}D.exports=y},t23M:function(D,_,e){"use strict";var g=e("VTBJ"),f=e("1OyB"),y=e("vuIU"),m=e("Ji7U"),v=e("LK+K"),h=e("q1tI"),c=e.n(h),a=e("m+aA"),i=e("Zm9Q"),r=e("Kwbf"),o=e("c+Xe"),d=e("bdgK"),n="rc-observer-key",l=function(t){Object(m.a)(u,t);var s=Object(v.a)(u);function u(){var p;return Object(f.a)(this,u),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(w){var b=p.props.onResize,E=w[0].target,A=E.getBoundingClientRect(),S=A.width,T=A.height,L=E.offsetWidth,x=E.offsetHeight,C=Math.floor(S),I=Math.floor(T);if(p.state.width!==C||p.state.height!==I||p.state.offsetWidth!==L||p.state.offsetHeight!==x){var N={width:C,height:I,offsetWidth:L,offsetHeight:x};p.setState(N),b&&Promise.resolve().then(function(){b(Object(g.a)(Object(g.a)({},N),{},{offsetWidth:L,offsetHeight:x}))})}},p.setChildNode=function(w){p.childNode=w},p}return Object(y.a)(u,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var w=this.props.disabled;if(w){this.destroyObserver();return}var b=Object(a.a)(this.childNode||this),E=b!==this.currentElement;E&&(this.destroyObserver(),this.currentElement=b),!this.resizeObserver&&b&&(this.resizeObserver=new d.default(this.onResize),this.resizeObserver.observe(b))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var w=this.props.children,b=Object(i.a)(w);if(b.length>1)Object(r.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(b.length===0)return Object(r.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var E=b[0];if(h.isValidElement(E)&&Object(o.c)(E)){var A=E.ref;b[0]=h.cloneElement(E,{ref:Object(o.a)(A,this.setChildNode)})}return b.length===1?b[0]:b.map(function(S,T){return!h.isValidElement(S)||"key"in S&&S.key!==null?S:h.cloneElement(S,{key:"".concat(n,"-").concat(T)})})}}]),u}(h.Component);l.displayName="ResizeObserver",_.a=l},t3Fx:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=Object.assign||function(s){for(var u=1;u<arguments.length;u++){var p=arguments[u];for(var w in p)Object.prototype.hasOwnProperty.call(p,w)&&(s[w]=p[w])}return s},f=function(){function s(u,p){for(var w=0;w<p.length;w++){var b=p[w];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(u,b.key,b)}}return function(u,p,w){return p&&s(u.prototype,p),w&&s(u,w),u}}(),y=e("q1tI"),m=o(y),v=e("17x9"),h=o(v),c=e("aUsF"),a=o(c),i=e("u3os"),r=e("kzFp");function o(s){return s&&s.__esModule?s:{default:s}}function d(s,u){if(!(s instanceof u))throw new TypeError("Cannot call a class as a function")}function n(s,u){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:s}function l(s,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);s.prototype=Object.create(u&&u.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(s,u):s.__proto__=u)}var t=function(s){l(u,s);function u(p){d(this,u);var w=n(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,p));return w.getEchartsInstance=function(){return w.echartsLib.getInstanceByDom(w.echartsElement)||w.echartsLib.init(w.echartsElement,w.props.theme,w.props.opts)},w.dispose=function(){if(w.echartsElement){try{(0,i.clear)(w.echartsElement)}catch(b){console.warn(b)}w.echartsLib.dispose(w.echartsElement)}},w.rerender=function(){var b=w.props,E=b.onEvents,A=b.onChartReady,S=w.renderEchartDom();w.bindEvents(S,E||{}),typeof A=="function"&&w.props.onChartReady(S),w.echartsElement&&(0,i.bind)(w.echartsElement,function(){try{S.resize()}catch(T){console.warn(T)}})},w.bindEvents=function(b,E){var A=function(L,x){typeof L=="string"&&typeof x=="function"&&b.on(L,function(C){x(C,b)})};for(var S in E)Object.prototype.hasOwnProperty.call(E,S)&&A(S,E[S])},w.renderEchartDom=function(){var b=w.getEchartsInstance();return b.setOption(w.props.option,w.props.notMerge||!1,w.props.lazyUpdate||!1),w.props.showLoading?b.showLoading(w.props.loadingOption||null):b.hideLoading(),b},w.echartsLib=p.echarts,w.echartsElement=null,w}return f(u,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(w){if(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(w,this.props))return;if(!(0,a.default)(w.theme,this.props.theme)||!(0,a.default)(w.opts,this.props.opts)||!(0,a.default)(w.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var b=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if((0,a.default)((0,r.pick)(this.props,b),(0,r.pick)(w,b)))return;var E=this.renderEchartDom();if(!(0,a.default)(w.style,this.props.style)||!(0,a.default)(w.className,this.props.className))try{E.resize()}catch(A){console.warn(A)}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var w=this,b=this.props,E=b.style,A=b.className,S=g({height:300},E);return m.default.createElement("div",{ref:function(L){w.echartsElement=L},style:S,className:"echarts-for-react "+A})}}]),u}(y.Component);_.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(D,_,e){var g=e("bYtY"),f=e("IwbS"),y=e("Qxkt"),m=e("Znkb"),v=e("+rIm"),h=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function c(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 a(o){var d=o.getRadiusAxis();return d.inverse?0:1}function i(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(),u=n.getMinorTicksCoords(),p=g.map(n.getViewLabels(),function(w){var w=g.clone(w);return w.coord=n.dataToCoord(w.tickValue),w});i(p),i(s),g.each(h,function(w){o.get(w+".show")&&(!n.scale.isBlank()||w==="axisLine")&&this["_"+w](o,l,s,u,t,p)},this)},_axisLine:function(o,d,n,l,t){var s=o.getModel("axisLine.lineStyle"),u=a(d),p=u?0:1,w;t[p]===0?w=new f.Circle({shape:{cx:d.cx,cy:d.cy,r:t[u]},style:s.getLineStyle(),z2:1,silent:!0}):w=new f.Ring({shape:{cx:d.cx,cy:d.cy,r:t[u],r0:t[p]},style:s.getLineStyle(),z2:1,silent:!0}),w.style.fill=null,this.group.add(w)},_axisTick:function(o,d,n,l,t){var s=o.getModel("axisTick"),u=(s.get("inside")?-1:1)*s.get("length"),p=t[a(d)],w=g.map(n,function(b){return new f.Line({shape:c(d,[p,p+u],b.coord)})});this.group.add(f.mergePath(w,{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"),u=o.getModel("minorTick"),p=(s.get("inside")?-1:1)*u.get("length"),w=t[a(d)],b=[],E=0;E<l.length;E++)for(var A=0;A<l[E].length;A++)b.push(new f.Line({shape:c(d,[w,w+p],l[E][A].coord)}));this.group.add(f.mergePath(b,{style:g.defaults(u.getModel("lineStyle").getLineStyle(),g.defaults(s.getLineStyle(),{stroke:o.get("axisLine.lineStyle.color")}))}))},_axisLabel:function(o,d,n,l,t,s){var u=o.getCategories(!0),p=o.getModel("axisLabel"),w=p.get("margin"),b=o.get("triggerEvent");g.each(s,function(E,A){var S=p,T=E.tickValue,L=t[a(d)],x=d.coordToPoint([L+w,E.coord]),C=d.cx,I=d.cy,N=Math.abs(x[0]-C)/L<.3?"center":x[0]>C?"left":"right",F=Math.abs(x[1]-I)/L<.3?"middle":x[1]>I?"top":"bottom";u&&u[T]&&u[T].textStyle&&(S=new y(u[T].textStyle,p,p.ecModel));var k=new f.Text({silent:v.isLabelSilent(o)});this.group.add(k),f.setTextStyle(k.style,S,{x:x[0],y:x[1],textFill:S.getTextColor()||o.get("axisLine.lineStyle.color"),text:E.formattedLabel,textAlign:N,textVerticalAlign:F}),b&&(k.eventData=v.makeAxisEventDataBase(o),k.eventData.targetType="axisLabel",k.eventData.value=E.rawLabel)},this)},_splitLine:function(o,d,n,l,t){var s=o.getModel("splitLine"),u=s.getModel("lineStyle"),p=u.get("color"),w=0;p=p instanceof Array?p:[p];for(var b=[],E=0;E<n.length;E++){var A=w++%p.length;b[A]=b[A]||[],b[A].push(new f.Line({shape:c(d,t,n[E].coord)}))}for(var E=0;E<b.length;E++)this.group.add(f.mergePath(b[E],{style:g.defaults({stroke:p[E%p.length]},u.getLineStyle()),silent:!0,z:o.get("z")}))},_minorSplitLine:function(o,d,n,l,t){if(!l.length)return;for(var s=o.getModel("minorSplitLine"),u=s.getModel("lineStyle"),p=[],w=0;w<l.length;w++)for(var b=0;b<l[w].length;b++)p.push(new f.Line({shape:c(d,t,l[w][b].coord)}));this.group.add(f.mergePath(p,{style:u.getLineStyle(),silent:!0,z:o.get("z")}))},_splitArea:function(o,d,n,l,t){if(!n.length)return;var s=o.getModel("splitArea"),u=s.getModel("areaStyle"),p=u.get("color"),w=0;p=p instanceof Array?p:[p];for(var b=[],E=Math.PI/180,A=-n[0].coord*E,S=Math.min(t[0],t[1]),T=Math.max(t[0],t[1]),L=o.get("clockwise"),x=1;x<n.length;x++){var C=w++%p.length;b[C]=b[C]||[],b[C].push(new f.Sector({shape:{cx:d.cx,cy:d.cy,r0:S,r:T,startAngle:A,endAngle:-n[x].coord*E,clockwise:L},silent:!0})),A=-n[x].coord*E}for(var x=0;x<b.length;x++)this.group.add(f.mergePath(b[x],{style:g.defaults({fill:p[x%p.length]},u.getAreaStyle()),silent:!0}))}});D.exports=r},tMB7:function(D,_,e){var g=e("y1pI");function f(y){var m=this.__data__,v=g(m,y);return v<0?void 0:m[v][1]}D.exports=f},tSko:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("SRve")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="PlusOutlined";var c=y.forwardRef(h);_.default=c},tadb:function(D,_,e){var g=e("Cwc5"),f=e("Kz5y"),y=g(f,"DataView");D.exports=y},tceW:function(D,_,e){var g=e("KCsZ"),f=g([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),y={getBarItemStyle:function(m){var v=f(this,m);if(this.getBorderLineDash){var h=this.getBorderLineDash();h&&(v.lineDash=h)}return v}};D.exports=y},txkQ:function(D,_,e){var g=e("aX58");_.zrender=g;var f=e("Fofx");_.matrix=f;var y=e("QBsz");_.vector=y;var m=e("bYtY"),v=e("Qe9p");_.color=v;var h=e("IwbS"),c=e("OELB");_.number=c;var a=e("7aKB");_.format=a;var i=e("iLNv"),r=i.throttle;_.throttle=i.throttle;var o=e("FUi9");_.helper=o;var d=e("vafp");_.parseGeoJSON=d;var n=e("YXkt");_.List=n;var l=e("Qxkt");_.Model=l;var t=e("hM6l");_.Axis=t;var s=e("ItGF");_.env=s;var u=d,p={};m.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(b){p[b]=m[b]});var w={};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(b){w[b]=h[b]}),_.parseGeoJson=u,_.util=p,_.graphic=w},u3DP:function(D,_,e){var g=e("6GrX"),f=e("OELB"),y=f.parsePercent,m=Math.PI/180;function v(i,r,o,d,n,l,t,s,u,p){i.sort(function(N,F){return N.y-F.y});function w(N,F,k,B){for(var P=N;P<F&&!(i[P].y+k>u+t);P++)if(i[P].y+=k,P>N&&P+1<F&&i[P+1].y>i[P].y+i[P].height){b(P,k/2);return}b(F-1,k/2)}function b(N,F){for(var k=N;k>=0&&!(i[k].y-F<u);k--)if(i[k].y-=F,k>0&&i[k].y>i[k-1].y+i[k-1].height)break}function E(N,F,k,B,P,K){for(var R=(K>0,F?Number.MAX_VALUE:0),U=0,j=N.length;U<j;U++){if(N[U].labelAlignTo!=="none")continue;var H=Math.abs(N[U].y-B),W=N[U].len,X=N[U].len2,z=H<P+W?Math.sqrt((P+W+X)*(P+W+X)-H*H):Math.abs(N[U].x-k);F&&z>=R&&(z=R-10),!F&&z<=R&&(z=R+10),N[U].x=k+z*K,R=z}}for(var A=0,S,T=i.length,L=[],x=[],C=0;C<T;C++){if(i[C].position==="outer"&&i[C].labelAlignTo==="labelLine"){var I=i[C].x-p;i[C].linePoints[1][0]+=I,i[C].x=p}S=i[C].y-A,S<0&&w(C,T,-S,n),A=i[C].y+i[C].height}t-A<0&&b(T-1,A-t);for(var C=0;C<T;C++)i[C].y>=o?x.push(i[C]):L.push(i[C]);E(L,!1,r,o,d,n),E(x,!0,r,o,d,n)}function h(i,r,o,d,n,l,t,s){for(var u=[],p=[],w=Number.MAX_VALUE,b=-Number.MAX_VALUE,E=0;E<i.length;E++){if(c(i[E]))continue;i[E].x<r?(w=Math.min(w,i[E].x),u.push(i[E])):(b=Math.max(b,i[E].x),p.push(i[E]))}v(p,r,o,d,1,n,l,t,s,b),v(u,r,o,d,-1,n,l,t,s,w);for(var E=0;E<i.length;E++){var A=i[E];if(c(A))continue;var S=A.linePoints;if(S){var T=A.labelAlignTo==="edge",L=A.textRect.width,x;T?A.x<r?x=S[2][0]-A.labelDistance-t-A.labelMargin:x=t+n-A.labelMargin-S[2][0]-A.labelDistance:A.x<r?x=A.x-t-A.bleedMargin:x=t+n-A.x-A.bleedMargin,x<A.textRect.width&&(A.text=g.truncateText(A.text,x,A.font),A.labelAlignTo==="edge"&&(L=g.getWidth(A.text,A.font)));var C=S[1][0]-S[2][0];T?A.x<r?S[2][0]=t+A.labelMargin+L+A.labelDistance:S[2][0]=t+n-A.labelMargin-L-A.labelDistance:(A.x<r?S[2][0]=A.x+A.labelDistance:S[2][0]=A.x-A.labelDistance,S[1][0]=S[2][0]+C),S[1][1]=S[2][1]=A.y}}}function c(i){return i.position==="center"}function a(i,r,o,d,n,l){var t=i.getData(),s=[],u,p,w=!1,b=(i.get("minShowLabelAngle")||0)*m;t.each(function(E){var A=t.getItemLayout(E),S=t.getItemModel(E),T=S.getModel("label"),L=T.get("position")||S.get("emphasis.label.position"),x=T.get("distanceToLabelLine"),C=T.get("alignTo"),I=y(T.get("margin"),o),N=T.get("bleedMargin"),F=T.getFont(),k=S.getModel("labelLine"),B=k.get("length");B=y(B,o);var P=k.get("length2");if(P=y(P,o),A.angle<b)return;var K=(A.startAngle+A.endAngle)/2,R=Math.cos(K),U=Math.sin(K),j,H,W,X;u=A.cx,p=A.cy;var z=i.getFormattedLabel(E,"normal")||t.getName(E),G=g.getBoundingRect(z,F,X,"top"),Z=L==="inside"||L==="inner";if(L==="center")j=A.cx,H=A.cy,X="center";else{var ge=(Z?(A.r+A.r0)/2*R:A.r*R)+u,Q=(Z?(A.r+A.r0)/2*U:A.r*U)+p;if(j=ge+R*3,H=Q+U*3,!Z){var we=ge+R*(B+r-A.r),Ee=Q+U*(B+r-A.r),Ae=we+(R<0?-1:1)*P,Pe=Ee;C==="edge"?j=R<0?n+I:n+o-I:j=Ae+(R<0?-x:x),H=Pe,W=[[ge,Q],[we,Ee],[Ae,Pe]]}X=Z?"center":C==="edge"?R>0?"right":"left":R>0?"left":"right"}var Ge,gt=T.get("rotate");typeof gt=="number"?Ge=gt*(Math.PI/180):Ge=gt?R<0?-K+Math.PI:-K:0,w=!!Ge,A.label={x:j,y:H,position:L,height:G.height,len:B,len2:P,linePoints:W,textAlign:X,verticalAlign:"middle",rotation:Ge,inside:Z,labelDistance:x,labelAlignTo:C,labelMargin:I,bleedMargin:N,textRect:G,text:z,font:F},Z||s.push(A.label)}),!w&&i.get("avoidLabelOverlap")&&h(s,u,p,r,o,d,n,l)}D.exports=a},u3os:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ver=_.clear=_.bind=void 0;var g=e("P4Qj"),f=function(h,c){var a=(0,g.getSensor)(h);return a.bind(c),function(){a.unbind(c)}};_.bind=f;var y=function(h){var c=(0,g.getSensor)(h);(0,g.removeSensor)(c)};_.clear=y;var m="1.0.1";_.ver=m},u4NN:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("Uc92")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="EyeOutlined";var c=y.forwardRef(h);_.default=c},u8Dt:function(D,_,e){var g=e("YESw"),f="__lodash_hash_undefined__",y=Object.prototype,m=y.hasOwnProperty;function v(h){var c=this.__data__;if(g){var a=c[h];return a===f?void 0:a}return m.call(c,h)?c[h]:void 0}D.exports=v},u9fO:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("b80e"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},uAnK:function(D,_,e){var g=e("bYtY"),f=e("Kagy"),y=e("KxfA"),m=y.retrieveRawValue;function v(h,c){var a=c.getModel("aria");if(a.get("show")){if(a.get("description")){h.setAttribute("aria-label",a.get("description"));return}}else return;var i=0;c.eachSeries(function(E,A){++i},this);var r=a.get("data.maxCount")||10,o=a.get("series.maxCount")||10,d=Math.min(i,o),n;if(i<1)return;var l=w();l?n=u(p("general.withTitle"),{title:l}):n=p("general.withoutTitle");var t=[],s=i>1?"series.multiple.prefix":"series.single.prefix";n+=u(p(s),{seriesCount:i}),c.eachSeries(function(E,A){if(A<d){var S,T=E.get("name"),L="series."+(i>1?"multiple":"single")+".";S=p(T?L+"withName":L+"withoutName"),S=u(S,{seriesId:E.seriesIndex,seriesName:E.get("name"),seriesType:b(E.subType)});var x=E.getData();window.data=x,x.count()>r?S+=u(p("data.partialData"),{displayCnt:r}):S+=p("data.allData");for(var C=[],I=0;I<x.count();I++)if(I<r){var N=x.getName(I),F=m(x,I);C.push(u(p(N?"data.withName":"data.withoutName"),{name:N,value:F}))}S+=C.join(p("data.separator.middle"))+p("data.separator.end"),t.push(S)}}),n+=t.join(p("series.multiple.separator.middle"))+p("series.multiple.separator.end"),h.setAttribute("aria-label",n);function u(E,A){if(typeof E!="string")return E;var S=E;return g.each(A,function(T,L){S=S.replace(new RegExp("\\{\\s*"+L+"\\s*\\}","g"),T)}),S}function p(E){var A=a.get(E);if(A==null){for(var S=E.split("."),T=f.aria,L=0;L<S.length;++L)T=T[S[L]];return T}else return A}function w(){var E=c.getModel("title").option;return E&&E.length&&(E=E[0]),E&&E.text}function b(E){return f.series.typeNames[E]||"\u81EA\u5B9A\u4E49\u56FE"}}D.exports=v},uK0f:function(D,_,e){(function(g,f){D.exports=f()})(this,function(){"use strict";function g(f,y,m){m=m||{},m.childrenKeyName=m.childrenKeyName||"children";var v=f||[],h=[],c=0;do{var a=v.filter(function(i){return y(i,c)})[0];if(!a)break;h.push(a),v=a[m.childrenKeyName]||[],c+=1}while(v.length>0);return h}return g})},uOyE:function(D,_,e){var g=e("ProS");g.registerAction({type:"brush",event:"brush"},function(f,y){y.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(D,_,e){D.exports=g;function g(){return e("gaXo"),{}}},ugBc:function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},v56E:function(D,_,e){},v5uJ:function(D,_,e){var g=e("ProS"),f=e("2B6p"),y=f.updateCenterAndZoom;g.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(m,v){v.eachComponent({mainType:"series",subType:"tree",query:m},function(h){var c=m.dataIndex,a=h.getData().tree,i=a.getNodeByDataIndex(c);i.isExpand=!i.isExpand})}),g.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(m,v){v.eachComponent({mainType:"series",subType:"tree",query:m},function(h){var c=h.coordinateSystem,a=y(c,m);h.setCenter&&h.setCenter(a.center),h.setZoom&&h.setZoom(a.zoom)})})},"vF/C":function(D,_,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(D,_,e){var g=e("SrGk"),f=e("bYtY");function y(h,c){g.call(this,h,c,["filter"],"__filter_in_use__","_shadowDom")}f.inherits(y,g),y.prototype.addWithoutUpdate=function(h,c){if(c&&m(c.style)){var a;if(c._shadowDom){a=c._shadowDom;var i=this.getDefs(!0);i.contains(c._shadowDom)||this.addDom(a)}else a=this.add(c);this.markUsed(c);var r=a.getAttribute("id");h.style.filter="url(#"+r+")"}},y.prototype.add=function(h){var c=this.createElement("filter");return h._shadowDomId=h._shadowDomId||this.nextId++,c.setAttribute("id","zr"+this._zrId+"-shadow-"+h._shadowDomId),this.updateDom(h,c),this.addDom(c),c},y.prototype.update=function(h,c){var a=c.style;if(m(a)){var i=this;g.prototype.update.call(this,c,function(){i.updateDom(c,c._shadowDom)})}else this.remove(h,c)},y.prototype.remove=function(h,c){c._shadowDomId!=null&&(this.removeDom(h),h.style.filter="")},y.prototype.updateDom=function(h,c){var a=c.getElementsByTagName("feDropShadow");a.length===0?a=this.createElement("feDropShadow"):a=a[0];var i=h.style,r=h.scale&&h.scale[0]||1,o=h.scale&&h.scale[1]||1,d,n,l,t;if(i.shadowBlur||i.shadowOffsetX||i.shadowOffsetY)d=i.shadowOffsetX||0,n=i.shadowOffsetY||0,l=i.shadowBlur,t=i.shadowColor;else if(i.textShadowBlur)d=i.textShadowOffsetX||0,n=i.textShadowOffsetY||0,l=i.textShadowBlur,t=i.textShadowColor;else{this.removeDom(c,i);return}a.setAttribute("dx",d/r),a.setAttribute("dy",n/o),a.setAttribute("flood-color",t);var s=l/2/r,u=l/2/o,p=s+" "+u;a.setAttribute("stdDeviation",p),c.setAttribute("x","-100%"),c.setAttribute("y","-100%"),c.setAttribute("width",Math.ceil(l/2*200)+"%"),c.setAttribute("height",Math.ceil(l/2*200)+"%"),c.appendChild(a),h._shadowDom=c},y.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 v=y;D.exports=v},vL6D:function(D,_,e){var g=e("bYtY"),f=e("+rIm"),y=e("IwbS"),m=e("7bkD"),v=e("Znkb"),h=e("WN+l"),c=h.rectCoordAxisBuildSplitArea,a=h.rectCoordAxisHandleRemove,i=["axisLine","axisTickLabel","axisName"],r=["splitArea","splitLine"],o=v.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(n,l,t,s){var u=this.group;u.removeAll();var p=this._axisGroup;this._axisGroup=new y.Group;var w=m.layout(n),b=new f(n,w);g.each(i,b.add,b),u.add(this._axisGroup),u.add(b.getGroup()),g.each(r,function(E){n.get(E+".show")&&this["_"+E](n)},this),y.groupTransition(p,this._axisGroup,n),o.superCall(this,"render",n,l,t,s)},remove:function(){a(this)},_splitLine:function(n){var l=n.axis;if(l.scale.isBlank())return;var t=n.getModel("splitLine"),s=t.getModel("lineStyle"),u=s.get("width"),p=s.get("color");p=p instanceof Array?p:[p];for(var w=n.coordinateSystem.getRect(),b=l.isHorizontal(),E=[],A=0,S=l.getTicksCoords({tickModel:t}),T=[],L=[],x=0;x<S.length;++x){var C=l.toGlobalCoord(S[x].coord);b?(T[0]=C,T[1]=w.y,L[0]=C,L[1]=w.y+w.height):(T[0]=w.x,T[1]=C,L[0]=w.x+w.width,L[1]=C);var I=A++%p.length;E[I]=E[I]||[],E[I].push(new y.Line({subPixelOptimize:!0,shape:{x1:T[0],y1:T[1],x2:L[0],y2:L[1]},style:{lineWidth:u},silent:!0}))}for(var x=0;x<E.length;++x)this.group.add(y.mergePath(E[x],{style:{stroke:p[x%p.length],lineDash:s.getLineDash(u),lineWidth:u},silent:!0}))},_splitArea:function(n){c(this,this._axisGroup,n,n)}}),d=o;D.exports=d},vWvF:function(D,_,e){var g=e("Bq2U"),f=e("SUKs"),y=e("bYtY"),m=y.isString,v=y.isFunction,h=y.isObject,c=y.isArrayLike,a=y.indexOf,i=function(){this.animators=[]};i.prototype={constructor:i,animate:function(t,s){var u,p=!1,w=this,b=this.__zr;if(t){var E=t.split("."),A=w;p=E[0]==="shape";for(var S=0,T=E.length;S<T;S++){if(!A)continue;A=A[E[S]]}A&&(u=A)}else u=w;if(!u){f('Property "'+t+'" is not existed in element '+w.id);return}var L=w.animators,x=new g(u,s);return x.during(function(C){w.dirty(p)}).done(function(){L.splice(a(L,x),1)}),L.push(x),b&&b.animation.addAnimator(x),x},stopAnimation:function(t){for(var s=this.animators,u=s.length,p=0;p<u;p++)s[p].stop(t);return s.length=0,this},animateTo:function(t,s,u,p,w,b){r(this,t,s,u,p,w,b)},animateFrom:function(t,s,u,p,w,b){r(this,t,s,u,p,w,b,!0)}};function r(l,t,s,u,p,w,b,E){m(u)?(w=p,p=u,u=0):v(p)?(w=p,p="linear",u=0):v(u)?(w=u,u=0):v(s)?(w=s,s=500):s||(s=500),l.stopAnimation(),o(l,"",l,t,s,u,E);var A=l.animators.slice(),S=A.length;function T(){S--,S||w&&w()}S||w&&w();for(var L=0;L<A.length;L++)A[L].done(T).start(p,b)}function o(l,t,s,u,p,w,b){var E={},A=0;for(var S in u){if(!u.hasOwnProperty(S))continue;s[S]!=null?h(u[S])&&!c(u[S])?o(l,t?t+"."+S:S,s[S],u[S],p,w,b):(b?(E[S]=s[S],d(l,t,S,u[S])):E[S]=u[S],A++):u[S]!=null&&!b&&d(l,t,S,u[S])}A>0&&l.animate(t,!1).when(p==null?500:p,E).delay(w||0)}function d(l,t,s,u){if(!t)l.attr(s,u);else{var p={};p[t]={},p[t][s]=u,l.attr(p)}}var n=i;D.exports=n},vZ6x:function(D,_,e){var g=e("Tghj"),f=g.__DEV__,y=e("bYtY"),m=e("IwbS"),v=e("4NO4"),h=e("9KIM"),c=y.each,a=y.indexOf,i=y.curry,r=["dataToPoint","pointToData"],o=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function d(x,C,I){var N=this._targetInfoList=[],F={},k=t(C,x);c(s,function(B,P){(!I||!I.include||a(I.include,P)>=0)&&B(k,N,F)})}var n=d.prototype;n.setOutputRanges=function(x,C){this.matchOutputRanges(x,C,function(I,N,F){if((I.coordRanges||(I.coordRanges=[])).push(N),!I.coordRange){I.coordRange=N;var k=w[I.brushType](0,F,N);I.__rangeOffset={offset:E[I.brushType](k.values,I.range,[1,1]),xyMinMax:k.xyMinMax}}})},n.matchOutputRanges=function(x,C,I){c(x,function(N){var F=this.findTargetInfo(N,C);F&&F!==!0&&y.each(F.coordSyses,function(k){var B=w[N.brushType](1,k,N.range);I(N,B.values,k,C)})},this)},n.setInputRanges=function(x,C){c(x,function(I){var N=this.findTargetInfo(I,C);if(I.range=I.range||[],N&&N!==!0){I.panelId=N.panelId;var F=w[I.brushType](0,N.coordSys,I.coordRange),k=I.__rangeOffset;I.range=k?E[I.brushType](F.values,k.offset,S(F.xyMinMax,k.xyMinMax)):F.values}},this)},n.makePanelOpts=function(x,C){return y.map(this._targetInfoList,function(I){var N=I.getPanelRect();return{panelId:I.panelId,defaultBrushType:C&&C(I),clipPath:h.makeRectPanelClipPath(N),isTargetByCursor:h.makeRectIsTargetByCursor(N,x,I.coordSysModel),getLinearBrushOtherExtent:h.makeLinearBrushOtherExtent(N)}})},n.controlSeries=function(x,C,I){var N=this.findTargetInfo(x,I);return N===!0||N&&a(N.coordSyses,C.coordinateSystem)>=0},n.findTargetInfo=function(x,C){for(var I=this._targetInfoList,N=t(C,x),F=0;F<I.length;F++){var k=I[F],B=x.panelId;if(B){if(k.panelId===B)return k}else for(var F=0;F<u.length;F++)if(u[F](N,k))return k}return!0};function l(x){return x[0]>x[1]&&x.reverse(),x}function t(x,C){return v.parseFinder(x,C,{includeMainTypes:o})}var s={grid:function(x,C){var I=x.xAxisModels,N=x.yAxisModels,F=x.gridModels,k=y.createHashMap(),B={},P={};if(!I&&!N&&!F)return;c(I,function(K){var R=K.axis.grid.model;k.set(R.id,R),B[R.id]=!0}),c(N,function(K){var R=K.axis.grid.model;k.set(R.id,R),P[R.id]=!0}),c(F,function(K){k.set(K.id,K),B[K.id]=!0,P[K.id]=!0}),k.each(function(K){var R=K.coordinateSystem,U=[];c(R.getCartesians(),function(j,H){(a(I,j.getAxis("x").model)>=0||a(N,j.getAxis("y").model)>=0)&&U.push(j)}),C.push({panelId:"grid--"+K.id,gridModel:K,coordSysModel:K,coordSys:U[0],coordSyses:U,getPanelRect:p.grid,xAxisDeclared:B[K.id],yAxisDeclared:P[K.id]})})},geo:function(x,C){c(x.geoModels,function(I){var N=I.coordinateSystem;C.push({panelId:"geo--"+I.id,geoModel:I,coordSysModel:I,coordSys:N,coordSyses:[N],getPanelRect:p.geo})})}},u=[function(x,C){var I=x.xAxisModel,N=x.yAxisModel,F=x.gridModel;return!F&&I&&(F=I.axis.grid.model),!F&&N&&(F=N.axis.grid.model),F&&F===C.gridModel},function(x,C){var I=x.geoModel;return I&&I===C.geoModel}],p={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var x=this.coordSys,C=x.getBoundingRect().clone();return C.applyTransform(m.getTransform(x)),C}},w={lineX:i(b,0),lineY:i(b,1),rect:function(x,C,I){var N=C[r[x]]([I[0][0],I[1][0]]),F=C[r[x]]([I[0][1],I[1][1]]),k=[l([N[0],F[0]]),l([N[1],F[1]])];return{values:k,xyMinMax:k}},polygon:function(x,C,I){var N=[[Infinity,-Infinity],[Infinity,-Infinity]],F=y.map(I,function(k){var B=C[r[x]](k);return N[0][0]=Math.min(N[0][0],B[0]),N[1][0]=Math.min(N[1][0],B[1]),N[0][1]=Math.max(N[0][1],B[0]),N[1][1]=Math.max(N[1][1],B[1]),B});return{values:F,xyMinMax:N}}};function b(x,C,I,N){var F=I.getAxis(["x","y"][x]),k=l(y.map([0,1],function(P){return C?F.coordToData(F.toLocalCoord(N[P])):F.toGlobalCoord(F.dataToCoord(N[P]))})),B=[];return B[x]=k,B[1-x]=[NaN,NaN],{values:k,xyMinMax:B}}var E={lineX:i(A,0),lineY:i(A,1),rect:function(x,C,I){return[[x[0][0]-I[0]*C[0][0],x[0][1]-I[0]*C[0][1]],[x[1][0]-I[1]*C[1][0],x[1][1]-I[1]*C[1][1]]]},polygon:function(x,C,I){return y.map(x,function(N,F){return[N[0]-I[0]*C[F][0],N[1]-I[1]*C[F][1]]})}};function A(x,C,I,N){return[C[0]-N[x]*I[0],C[1]-N[x]*I[1]]}function S(x,C){var I=T(x),N=T(C),F=[I[0]/N[0],I[1]/N[1]];return isNaN(F[0])&&(F[0]=1),isNaN(F[1])&&(F[1]=1),F}function T(x){return x?[x[0][1]-x[0][0],x[1][1]-x[1][0]]:[NaN,NaN]}var L=d;D.exports=L},vZI5:function(D,_,e){var g=e("bYtY"),f=e("T4UG"),y=e("5GhG"),m=y.seriesModelMixin,v=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(c,a,i){var r=a.getItemLayout(c);return r&&i.rect(r.brushRect)}});g.mixin(v,m,!0);var h=v;D.exports=h},vafp:function(D,_,e){var g=e("bYtY"),f=e("8nly");function y(h){if(!h.UTF8Encoding)return h;var c=h.UTF8Scale;c==null&&(c=1024);for(var a=h.features,i=0;i<a.length;i++)for(var r=a[i],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],c);else if(o.type==="MultiPolygon")for(var s=0;s<t.length;s++){var u=t[s];t[s]=m(u,n[l][s],c)}}return h.UTF8Encoding=!1,h}function m(h,c,a){for(var i=[],r=c[0],o=c[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,i.push([n/a,l/a])}return i}function v(h,c){return y(h),g.map(g.filter(h.features,function(a){return a.geometry&&a.properties&&a.geometry.coordinates.length>0}),function(a){var i=a.properties,r=a.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(i[c||"name"],d,i.cp);return n.properties=i,n})}D.exports=v},vcCh:function(D,_,e){var g=e("ProS");e("0qV/"),g.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(f,y){y.eachComponent({mainType:"series",subType:"sankey",query:f},function(m){m.setNodePosition(f.dataIndex,[f.localX,f.localY])})})},vewr:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.getPointerEvent=g,_.stopEvent=f,_.setCapture=a,_.releaseCapture=i;function g(r){return r.changedTouches?r.changedTouches[0]:r.touches?r.touches[0]:r}function f(r){r.stopPropagation(),r.preventDefault()}var y=!1,m=null;document.captureElement=null;function v(r){if(y)return;var o=new r.constructor(r.type,r);y=!0,document.captureElement?document.captureElement.dispatchEvent(o):m.dispatchEvent(o),y=!1,r.stopPropagation(),o.defaultPrevented&&r.preventDefault(),r.type==="mouseup"&&i()}function h(){var r=document.getElementById("noVNC_mouse_capture_elem");r.style.cursor=window.getComputedStyle(document.captureElement).cursor}var c=new MutationObserver(h);function a(r){if(r.setCapture)r.setCapture(),document.captureElement=r,r.addEventListener("mouseup",i);else{i();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",v),o.addEventListener("mousemove",v),o.addEventListener("mouseup",v)),document.captureElement=r,c.observe(r,{attributes:!0}),h(),o.style.display="",window.addEventListener("mousemove",v),window.addEventListener("mouseup",v)}}function i(){if(document.releaseCapture)document.releaseCapture(),document.captureElement=null;else{if(!document.captureElement)return;m=document.captureElement,document.captureElement=null,c.disconnect();var r=document.getElementById("noVNC_mouse_capture_elem");r.style.display="none",window.removeEventListener("mousemove",v),window.removeEventListener("mouseup",v)}}},vg9a:function(D,_,e){},"vk+C":function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("RZPm"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},w5pM:function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="PlusCircleOutlined";var h=_.a=g.forwardRef(v)},w6Tc:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("apAg"));function f(m){return m&&m.__esModule?m:{default:m}}var y=g;_.default=y,D.exports=y},wCAj:function(D,_,e){"use strict";var g=e("cDf5"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("J4zp"),h=e.n(v),c=e("pVnL"),a=e.n(c),i=e("q1tI"),r=e("TSYQ"),o=e.n(r),d=e("BGR+"),n=e("rePB"),l=e("VTBJ"),t=e("KQm4"),s=e("U8pU"),u=e("ODXe"),p=e("Gytx"),w=e.n(p),b=e("Kwbf"),E=e("t23M"),A=e("qx4F");function S(rr){return null}var T=S;function L(rr){return null}var x=L,C=e("Ff2n"),I=e("c+Xe"),N="RC_TABLE_KEY";function F(rr){return rr==null?[]:Array.isArray(rr)?rr:[rr]}function k(rr,Tr){if(!Tr&&typeof Tr!="number")return rr;for(var Br=F(Tr),Wr=rr,hn=0;hn<Br.length;hn+=1){if(!Wr)return null;var tt=Br[hn];Wr=Wr[tt]}return Wr}function B(rr){var Tr=[],Br={};return rr.forEach(function(Wr){for(var hn=Wr||{},tt=hn.key,jt=hn.dataIndex,Jt=tt||F(jt).join("-")||N;Br[Jt];)Jt="".concat(Jt,"_next");Br[Jt]=!0,Tr.push(Jt)}),Tr}function P(){var rr={};function Tr(tt,jt){jt&&Object.keys(jt).forEach(function(Jt){var nr=jt[Jt];nr&&Object(s.a)(nr)==="object"?(tt[Jt]=tt[Jt]||{},Tr(tt[Jt],nr)):tt[Jt]=nr})}for(var Br=arguments.length,Wr=new Array(Br),hn=0;hn<Br;hn++)Wr[hn]=arguments[hn];return Wr.forEach(function(tt){Tr(rr,tt)}),rr}function K(rr){return rr!=null}function R(rr){return rr&&Object(s.a)(rr)==="object"&&!Array.isArray(rr)&&!i.isValidElement(rr)}function U(rr){return typeof rr=="string"?!0:Object(I.c)(rr)}function j(rr,Tr){var Br,Wr=rr.prefixCls,hn=rr.className,tt=rr.record,jt=rr.index,Jt=rr.dataIndex,nr=rr.render,Ir=rr.children,wr=rr.component,Er=wr===void 0?"td":wr,zr=rr.colSpan,Jr=rr.rowSpan,Zr=rr.fixLeft,an=rr.fixRight,St=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(Ir)vn=Ir;else{var Rn=k(tt,Jt);if(vn=Rn,nr){var En=nr(Rn,tt,jt);R(En)?(vn=En.children,Mn=En.props):vn=En}}Object(s.a)(vn)==="object"&&!Array.isArray(vn)&&!i.isValidElement(vn)&&(vn=null),fn&&(Vt||sr)&&(vn=i.createElement("span",{className:"".concat(bn,"-content")},vn));var On=Mn||{},Xn=On.colSpan,ai=On.rowSpan,ri=On.style,Di=On.className,yi=Object(C.a)(On,["colSpan","rowSpan","style","className"]),xi=Xn!==void 0?Xn:zr,Li=ai!==void 0?ai:Jr;if(xi===0||Li===0)return null;var Un={},Ri=typeof Zr=="number",fa=typeof an=="number";Ri&&(Un.position="sticky",Un.left=Zr),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():i.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:Li&&Li!==1?Li:null,className:o()(bn,hn,(Br={},Object(n.a)(Br,"".concat(bn,"-fix-left"),Ri),Object(n.a)(Br,"".concat(bn,"-fix-left-first"),St),Object(n.a)(Br,"".concat(bn,"-fix-left-last"),Vt),Object(n.a)(Br,"".concat(bn,"-fix-right"),fa),Object(n.a)(Br,"".concat(bn,"-fix-right-first"),sr),Object(n.a)(Br,"".concat(bn,"-fix-right-last"),br),Object(n.a)(Br,"".concat(bn,"-ellipsis"),fn),Object(n.a)(Br,"".concat(bn,"-with-append"),Mr),Object(n.a)(Br,"".concat(bn,"-fix-sticky"),(Ri||fa)&&Sn),Br),rn.className,Di),style:Object(l.a)(Object(l.a)(Object(l.a)(Object(l.a)({},rn.style),Ui),Un),ri),ref:U(Er)?Tr:null});return i.createElement(Er,Object.assign({},hi),Mr,vn)}var H=i.forwardRef(j);H.displayName="Cell";var W=i.memo(H,function(rr,Tr){return Tr.shouldCellUpdate?!Tr.shouldCellUpdate(Tr.record,rr.record):!1}),X=W,z=i.createContext(null),G=z;function Z(rr,Tr,Br,Wr,hn){var tt=Br[rr]||{},jt=Br[Tr]||{},Jt,nr;tt.fixed==="left"?Jt=Wr.left[rr]:jt.fixed==="right"&&(nr=Wr.right[Tr]);var Ir=!1,wr=!1,Er=!1,zr=!1,Jr=Br[Tr+1],Zr=Br[rr-1];if(hn==="rtl"){if(Jt!==void 0){var an=Zr&&Zr.fixed==="left";zr=!an}else if(nr!==void 0){var St=Jr&&Jr.fixed==="right";Er=!St}}else if(Jt!==void 0){var Vt=Jr&&Jr.fixed==="left";Ir=!Vt}else if(nr!==void 0){var sr=Zr&&Zr.fixed==="right";wr=!sr}return{fixLeft:Jt,fixRight:nr,lastFixLeft:Ir,firstFixRight:wr,lastFixRight:Er,firstFixLeft:zr,isSticky:Wr.isSticky}}function ge(rr){var Tr=rr.cells,Br=rr.stickyOffsets,Wr=rr.flattenColumns,hn=rr.rowComponent,tt=rr.cellComponent,jt=rr.onHeaderRow,Jt=rr.index,nr=i.useContext(G),Ir=nr.prefixCls,wr=nr.direction,Er;jt&&(Er=jt(Tr.map(function(Jr){return Jr.column}),Jt));var zr=B(Tr.map(function(Jr){return Jr.column}));return i.createElement(hn,Object.assign({},Er),Tr.map(function(Jr,Zr){var an=Jr.column,St=Z(Jr.colStart,Jr.colEnd,Wr,Br,wr),Vt;return an&&an.onHeaderCell&&(Vt=Jr.column.onHeaderCell(an)),i.createElement(X,Object.assign({},Jr,{ellipsis:an.ellipsis,align:an.align,component:tt,prefixCls:Ir,key:zr[Zr]},St,{additionalProps:Vt,rowType:"header"}))}))}ge.displayName="HeaderRow";var Q=ge;function we(rr){var Tr=[];function Br(jt,Jt){var nr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Tr[nr]=Tr[nr]||[];var Ir=Jt,wr=jt.filter(Boolean).map(function(Er){var zr={key:Er.key,className:Er.className||"",children:Er.title,column:Er,colStart:Ir},Jr=1,Zr=Er.children;return Zr&&Zr.length>0&&(Jr=Br(Zr,Ir,nr+1).reduce(function(an,St){return an+St},0),zr.hasSubColumns=!0),"colSpan"in Er&&(Jr=Er.colSpan),"rowSpan"in Er&&(zr.rowSpan=Er.rowSpan),zr.colSpan=Jr,zr.colEnd=zr.colStart+Jr-1,Tr[nr].push(zr),Ir+=Jr,Jr});return wr}Br(rr,0);for(var Wr=Tr.length,hn=function(Jt){Tr[Jt].forEach(function(nr){!("rowSpan"in nr)&&!nr.hasSubColumns&&(nr.rowSpan=Wr-Jt)})},tt=0;tt<Wr;tt+=1)hn(tt);return Tr}function Ee(rr){var Tr=rr.stickyOffsets,Br=rr.columns,Wr=rr.flattenColumns,hn=rr.onHeaderRow,tt=i.useContext(G),jt=tt.prefixCls,Jt=tt.getComponent,nr=i.useMemo(function(){return we(Br)},[Br]),Ir=Jt(["header","wrapper"],"thead"),wr=Jt(["header","row"],"tr"),Er=Jt(["header","cell"],"th");return i.createElement(Ir,{className:"".concat(jt,"-thead")},nr.map(function(zr,Jr){var Zr=i.createElement(Q,{key:Jr,flattenColumns:Wr,cells:zr,stickyOffsets:Tr,rowComponent:wr,cellComponent:Er,onHeaderRow:hn,index:Jr});return Zr}))}var Ae=Ee,Pe="RC_TABLE_INTERNAL_COL_DEFINE";function Ge(rr){var Tr=rr.expandable,Br=Object(C.a)(rr,["expandable"]);return"expandable"in rr?Object(l.a)(Object(l.a)({},Br),Tr):Br}function gt(rr){return Object.keys(rr).reduce(function(Tr,Br){return(Br.substr(0,5)==="data-"||Br.substr(0,5)==="aria-")&&(Tr[Br]=rr[Br]),Tr},{})}function _e(rr){for(var Tr=rr.colWidths,Br=rr.columns,Wr=rr.columCount,hn=[],tt=Wr||Br.length,jt=!1,Jt=tt-1;Jt>=0;Jt-=1){var nr=Tr[Jt],Ir=Br&&Br[Jt],wr=Ir&&Ir[Pe];(nr||wr||jt)&&(hn.unshift(i.createElement("col",Object.assign({key:Jt,style:{width:nr,minWidth:nr}},wr))),jt=!0)}return i.createElement("colgroup",null,hn)}var Ce=_e;function lt(rr,Tr){return Object(i.useMemo)(function(){for(var Br=[],Wr=0;Wr<Tr;Wr+=1){var hn=rr[Wr];if(hn)Br[Wr]=hn;else return null}return Br},[rr.join("_"),Tr])}function ce(rr){var Tr=rr.noData,Br=rr.columns,Wr=rr.flattenColumns,hn=rr.colWidths,tt=rr.columCount,jt=rr.stickyOffsets,Jt=rr.direction,nr=rr.fixHeader,Ir=Object(C.a)(rr,["noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader"]),wr=i.useContext(G),Er=wr.prefixCls,zr=wr.scrollbarSize,Jr=wr.isSticky,Zr=Jr&&!nr?0:zr,an=Wr[Wr.length-1],St={fixed:an?an.fixed:null,onHeaderCell:function(){return{className:"".concat(Er,"-cell-scrollbar")}}},Vt=Object(i.useMemo)(function(){return Zr?[].concat(Object(t.a)(Br),[St]):Br},[Zr,Br]),sr=Object(i.useMemo)(function(){return Zr?[].concat(Object(t.a)(Wr),[St]):Wr},[Zr,Wr]),br=Object(i.useMemo)(function(){var Dr=jt.right,rn=jt.left;return Object(l.a)(Object(l.a)({},jt),{},{left:Jt==="rtl"?[].concat(Object(t.a)(rn.map(function(fn){return fn+Zr})),[0]):rn,right:Jt==="rtl"?Dr:[].concat(Object(t.a)(Dr.map(function(fn){return fn+Zr})),[0]),isSticky:Jr})},[Zr,jt,Jr]),Mr=lt(hn,tt);return i.createElement("table",{style:{tableLayout:"fixed",visibility:Tr||Mr?null:"hidden"}},i.createElement(Ce,{colWidths:Mr?[].concat(Object(t.a)(Mr),[Zr]):[],columCount:tt+1,columns:sr}),i.createElement(Ae,Object.assign({},Ir,{stickyOffsets:br,columns:Vt,flattenColumns:sr})))}var Y=ce,V=i.createContext(null),$=V;function Te(rr){var Tr=rr.prefixCls,Br=rr.children,Wr=rr.component,hn=rr.cellComponent,tt=rr.fixHeader,jt=rr.fixColumn,Jt=rr.horizonScroll,nr=rr.className,Ir=rr.expanded,wr=rr.componentWidth,Er=rr.colSpan,zr=i.useContext(G),Jr=zr.scrollbarSize;return i.useMemo(function(){var Zr=Br;return jt&&(Zr=i.createElement("div",{style:{width:wr-(tt?Jr:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Tr,"-expanded-row-fixed")},Zr)),i.createElement(Wr,{className:nr,style:{display:Ir?null:"none"}},i.createElement(X,{component:hn,prefixCls:Tr,colSpan:Er},Zr))},[Br,Wr,tt,Jt,nr,Ir,wr,Er,Jr])}var ye=Te;function Fe(rr){var Tr=rr.className,Br=rr.style,Wr=rr.record,hn=rr.index,tt=rr.rowKey,jt=rr.getRowKey,Jt=rr.rowExpandable,nr=rr.expandedKeys,Ir=rr.onRow,wr=rr.indent,Er=wr===void 0?0:wr,zr=rr.rowComponent,Jr=rr.cellComponent,Zr=rr.childrenColumnName,an=i.useContext(G),St=an.prefixCls,Vt=an.fixedInfoList,sr=i.useContext($),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,On=sr.expandIconColumnIndex,Xn=i.useState(!1),ai=Object(u.a)(Xn,2),ri=ai[0],Di=ai[1],yi=nr&&nr.has(rr.recordKey);i.useEffect(function(){yi&&Di(!0)},[yi]);var xi=wn==="row"&&(!Jt||Jt(Wr)),Li=wn==="nest",Un=Zr&&Wr&&Wr[Zr],Ri=xi||Li,fa;Ir&&(fa=Ir(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),Oi=1;Oi<$n;Oi++)Ai[Oi-1]=arguments[Oi];(Ni=fa).onClick.apply(Ni,[sa].concat(Ai))}},Mi;typeof bn=="string"?Mi=bn:typeof bn=="function"&&(Mi=bn(Wr,hn,Er));var mi=B(fn),hi=i.createElement(zr,Object.assign({},fa,{"data-row-key":tt,className:o()(Tr,"".concat(St,"-row"),"".concat(St,"-row-level-").concat(Er),Mi,fa&&fa.className),style:Object(l.a)(Object(l.a)({},Br),fa?fa.style:null),onClick:Ui}),fn.map(function(oa,sa){var Ni=oa.render,$n=oa.dataIndex,Ai=oa.className,Oi=mi[sa],Vi=Vt[sa],Xi;sa===(On||0)&&Li&&(Xi=i.createElement(i.Fragment,null,i.createElement("span",{style:{paddingLeft:"".concat(vn*Er,"px")},className:"".concat(St,"-row-indent indent-level-").concat(Er)}),Rn({prefixCls:St,expanded:yi,expandable:Un,record:Wr,onExpand:Sn})));var bi;return oa.onCell&&(bi=oa.onCell(Wr,hn)),i.createElement(X,Object.assign({className:Ai,ellipsis:oa.ellipsis,align:oa.align,component:Jr,prefixCls:St,key:Oi,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=i.createElement(ye,{expanded:yi,className:o()("".concat(St,"-expanded-row"),"".concat(St,"-expanded-row-level-").concat(Er+1),Ea),prefixCls:St,fixHeader:br,fixColumn:Mr,horizonScroll:Dr,component:zr,componentWidth:rn,cellComponent:Jr,colSpan:fn.length},va)}var ya;return Un&&yi&&(ya=(Wr[Zr]||[]).map(function(oa,sa){var Ni=jt(oa,sa);return i.createElement(Fe,Object.assign({},rr,{key:Ni,rowKey:Ni,record:oa,recordKey:Ni,index:sa,indent:Er+1}))})),i.createElement(i.Fragment,null,hi,qi,ya)}Fe.displayName="BodyRow";var Oe=Fe,se=i.createContext(null),fe=se;function Le(rr){var Tr=rr.data,Br=rr.getRowKey,Wr=rr.measureColumnWidth,hn=rr.expandedKeys,tt=rr.onRow,jt=rr.rowExpandable,Jt=rr.emptyNode,nr=rr.childrenColumnName,Ir=i.useContext(fe),wr=Ir.onColumnResize,Er=i.useContext(G),zr=Er.prefixCls,Jr=Er.getComponent,Zr=i.useContext($),an=Zr.fixHeader,St=Zr.horizonScroll,Vt=Zr.flattenColumns,sr=Zr.componentWidth;return i.useMemo(function(){var br=Jr(["body","wrapper"],"tbody"),Mr=Jr(["body","row"],"tr"),Dr=Jr(["body","cell"],"td"),rn;Tr.length?rn=Tr.map(function(wn,Hn){var Sn=Br(wn,Hn);return i.createElement(Oe,{key:Sn,rowKey:Sn,record:wn,recordKey:Sn,index:Hn,rowComponent:Mr,cellComponent:Dr,expandedKeys:hn,onRow:tt,getRowKey:Br,rowExpandable:jt,childrenColumnName:nr})}):rn=i.createElement(ye,{expanded:!0,className:"".concat(zr,"-placeholder"),prefixCls:zr,fixHeader:an,fixColumn:St,horizonScroll:St,component:Mr,componentWidth:sr,cellComponent:Dr,colSpan:Vt.length},Jt);var fn=B(Vt);return i.createElement(br,{className:"".concat(zr,"-tbody")},Wr&&i.createElement("tr",{"aria-hidden":"true",className:"".concat(zr,"-measure-row"),style:{height:0}},fn.map(function(wn){return i.createElement(E.a,{key:wn,onResize:function(Sn){var bn=Sn.offsetWidth;wr(wn,bn)}},i.createElement("td",{style:{padding:0,border:0,height:0}}))})),rn)},[Tr,zr,tt,Wr,hn,Br,Jr,sr,Jt,Vt])}var Je=i.memo(Le);Je.displayName="Body";var mt=Je,Ct=e("Zm9Q");function Ue(rr){return Object(Ct.a)(rr).filter(function(Tr){return i.isValidElement(Tr)}).map(function(Tr){var Br=Tr.key,Wr=Tr.props,hn=Wr.children,tt=Object(C.a)(Wr,["children"]),jt=Object(l.a)({key:Br},tt);return hn&&(jt.children=Ue(hn)),jt})}function Rt(rr){return rr.reduce(function(Tr,Br){var Wr=Br.fixed,hn=Wr===!0?"left":Wr,tt=Br.children;return tt&&tt.length>0?[].concat(Object(t.a)(Tr),Object(t.a)(Rt(tt).map(function(jt){return Object(l.a)({fixed:hn},jt)}))):[].concat(Object(t.a)(Tr),[Object(l.a)(Object(l.a)({},Br),{},{fixed:hn})])},[])}function Ke(rr){for(var Tr=!0,Br=0;Br<rr.length;Br+=1){var Wr=rr[Br];if(Tr&&Wr.fixed!=="left")Tr=!1;else if(!Tr&&Wr.fixed==="left"){Object(b.a)(!1,"Index ".concat(Br-1," of `columns` missing `fixed='left'` prop."));break}}for(var hn=!0,tt=rr.length-1;tt>=0;tt-=1){var jt=rr[tt];if(hn&&jt.fixed!=="right")hn=!1;else if(!hn&&jt.fixed==="right"){Object(b.a)(!1,"Index ".concat(tt+1," of `columns` missing `fixed='right'` prop."));break}}}function wt(rr){return rr.map(function(Tr){var Br=Tr.fixed,Wr=Object(C.a)(Tr,["fixed"]),hn=Br;return Br==="left"?hn="right":Br==="right"&&(hn="left"),Object(l.a)({fixed:hn},Wr)})}function Ye(rr,Tr){var Br=rr.prefixCls,Wr=rr.columns,hn=rr.children,tt=rr.expandable,jt=rr.expandedKeys,Jt=rr.getRowKey,nr=rr.onTriggerExpand,Ir=rr.expandIcon,wr=rr.rowExpandable,Er=rr.expandIconColumnIndex,zr=rr.direction,Jr=rr.expandRowByClick,Zr=i.useMemo(function(){return Wr||Ue(hn)},[Wr,hn]),an=i.useMemo(function(){if(tt){var sr,br=Er||0,Mr=Zr[br],Dr=(sr={},Object(n.a)(sr,Pe,{className:"".concat(Br,"-expand-icon-col")}),Object(n.a)(sr,"title",""),Object(n.a)(sr,"fixed",Mr?Mr.fixed:null),Object(n.a)(sr,"className","".concat(Br,"-row-expand-icon-cell")),Object(n.a)(sr,"render",function(wn,Hn,Sn){var bn=Jt(Hn,Sn),Mn=jt.has(bn),vn=wr?wr(Hn):!0,Rn=Ir({prefixCls:Br,expanded:Mn,expandable:vn,record:Hn,onExpand:nr});return Jr?i.createElement("span",{onClick:function(On){return On.stopPropagation()}},Rn):Rn}),sr),rn=Zr.slice();return br>=0&&rn.splice(br,0,Dr),rn}return Zr},[tt,Zr,Jt,jt,Ir,zr]),St=i.useMemo(function(){var sr=an;return Tr&&(sr=Tr(sr)),sr.length||(sr=[{render:function(){return null}}]),sr},[Tr,an,zr]),Vt=i.useMemo(function(){return zr==="rtl"?wt(Rt(St)):Rt(St)},[St,zr]);return[St,Vt]}var et=Ye,rt=e("xEkU"),st=e.n(rt);function Ve(rr){var Tr=Object(i.useRef)(rr),Br=Object(i.useState)({}),Wr=Object(u.a)(Br,2),hn=Wr[1],tt=Object(i.useRef)(null),jt=Object(i.useRef)([]);function Jt(nr){tt.current===null&&(jt.current=[],tt.current=st()(function(){jt.current.forEach(function(Ir){Tr.current=Ir(Tr.current)}),tt.current=null,hn({})})),jt.current.push(nr)}return Object(i.useEffect)(function(){return function(){st.a.cancel(tt.current)}},[]),[Tr.current,Jt]}function oe(rr){var Tr=Object(i.useRef)(rr),Br=Object(i.useRef)(null);function Wr(){window.clearTimeout(Br.current)}function hn(jt){Tr.current=jt,Wr(),Br.current=window.setTimeout(function(){Tr.current=null,Br.current=null},100)}function tt(){return Tr.current}return Object(i.useEffect)(function(){return Wr},[]),[hn,tt]}function re(rr,Tr,Br){var Wr=Object(i.useMemo)(function(){for(var hn=[],tt=[],jt=0,Jt=0,nr=0;nr<Tr;nr+=1)if(Br==="rtl"){tt[nr]=Jt,Jt+=rr[nr]||0;var Ir=Tr-nr-1;hn[Ir]=jt,jt+=rr[Ir]||0}else{hn[nr]=jt,jt+=rr[nr]||0;var wr=Tr-nr-1;tt[wr]=Jt,Jt+=rr[wr]||0}return{left:hn,right:tt}},[rr,Tr,Br]);return Wr}var it=re;function Qe(rr){var Tr=rr.className,Br=rr.children;return i.createElement("div",{className:Tr},Br)}var ve=Qe;function Zt(rr){var Tr=rr.className,Br=rr.index,Wr=rr.children,hn=rr.colSpan,tt=rr.rowSpan,jt=i.useContext(G),Jt=jt.prefixCls,nr=jt.fixedInfoList,Ir=nr[Br];return i.createElement(X,Object.assign({className:Tr,index:Br,component:"td",prefixCls:Jt,record:null,dataIndex:null,render:function(){return{children:Wr,props:{colSpan:hn,rowSpan:tt}}}},Ir))}function dt(rr){return i.createElement("tr",Object.assign({},rr))}function ct(rr){var Tr=rr.children,Br=i.useContext(G),Wr=Br.prefixCls;return i.createElement("tfoot",{className:"".concat(Wr,"-summary")},Tr)}var yt=ct,_t={Cell:Zt,Row:dt};function or(rr){var Tr,Br=rr.prefixCls,Wr=rr.record,hn=rr.onExpand,tt=rr.expanded,jt=rr.expandable,Jt="".concat(Br,"-row-expand-icon");if(!jt)return i.createElement("span",{className:o()(Jt,"".concat(Br,"-row-spaced"))});var nr=function(wr){hn(Wr,wr),wr.stopPropagation()};return i.createElement("span",{className:o()(Jt,(Tr={},Object(n.a)(Tr,"".concat(Br,"-row-expanded"),tt),Object(n.a)(Tr,"".concat(Br,"-row-collapsed"),!tt),Tr)),onClick:nr})}function Pt(rr,Tr,Br){var Wr=[];function hn(tt){(tt||[]).forEach(function(jt,Jt){Wr.push(Tr(jt,Jt)),hn(jt[Br])})}return hn(rr),Wr}var be=e("zT1h"),me=e("y0+3"),pe=function(Tr,Br){var Wr,hn,tt=Tr.scrollBodyRef,jt=Tr.onScroll,Jt=Tr.offsetScroll,nr=i.useContext(G),Ir=nr.prefixCls,wr=((Wr=tt.current)===null||Wr===void 0?void 0:Wr.scrollWidth)||0,Er=((hn=tt.current)===null||hn===void 0?void 0:hn.clientWidth)||0,zr=wr&&Er*(Er/wr),Jr=i.useRef(),Zr=Ve({scrollLeft:0,isHiddenScrollBar:!1}),an=Object(u.a)(Zr,2),St=an[0],Vt=an[1],sr=i.useRef({delta:0,x:0}),br=i.useState(!1),Mr=Object(u.a)(br,2),Dr=Mr[0],rn=Mr[1],fn=function(){rn(!1)},wn=function(vn){vn.persist(),sr.current.delta=vn.pageX-St.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),On=En.buttons;if(!Dr||On===0){Dr&&rn(!1);return}var Xn=sr.current.x+vn.pageX-sr.current.x-sr.current.delta;Xn<=0&&(Xn=0),Xn+zr>=Er&&(Xn=Er-zr),jt({scrollLeft:Xn/Er*(wr+2)}),sr.current.x=vn.pageX},Sn=function(){var vn=Object(me.b)(tt.current).top,Rn=vn+tt.current.offsetHeight,En=document.documentElement.scrollTop+window.innerHeight;Rn-Object(A.a)()<=En||vn>=En-Jt?Vt(function(On){return Object(l.a)(Object(l.a)({},On),{},{isHiddenScrollBar:!0})}):Vt(function(On){return Object(l.a)(Object(l.a)({},On),{},{isHiddenScrollBar:!1})})},bn=function(vn){Vt(function(Rn){return Object(l.a)(Object(l.a)({},Rn),{},{scrollLeft:vn/wr*Er||0})})};return i.useImperativeHandle(Br,function(){return{setScrollLeft:bn}}),i.useEffect(function(){var Mn=Object(be.a)(document.body,"mouseup",fn,!1),vn=Object(be.a)(document.body,"mousemove",Hn,!1);return Sn(),function(){Mn.remove(),vn.remove()}},[zr,Dr]),i.useEffect(function(){var Mn=Object(be.a)(window,"scroll",Sn,!1),vn=Object(be.a)(window,"resize",Sn,!1);return function(){Mn.remove(),vn.remove()}},[]),i.useEffect(function(){St.isHiddenScrollBar||Vt(function(Mn){var vn,Rn;return Object(l.a)(Object(l.a)({},Mn),{},{scrollLeft:tt.current.scrollLeft/((vn=tt.current)===null||vn===void 0?void 0:vn.scrollWidth)*((Rn=tt.current)===null||Rn===void 0?void 0:Rn.clientWidth)})})},[St.isHiddenScrollBar]),wr<=Er||!zr||St.isHiddenScrollBar?null:i.createElement("div",{style:{height:Object(A.a)(),width:Er,bottom:Jt},className:"".concat(Ir,"-sticky-scroll")},i.createElement("div",{onMouseDown:wn,ref:Jr,className:o()("".concat(Ir,"-sticky-scroll-bar"),Object(n.a)({},"".concat(Ir,"-sticky-scroll-bar-active"),Dr)),style:{width:"".concat(zr,"px"),transform:"translate3d(".concat(St.scrollLeft,"px, 0, 0)")}}))},ue=i.forwardRef(pe);function De(rr,Tr){return i.useMemo(function(){var Br=!!rr;return{isSticky:Br,stickyClassName:Br?"".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 He=[],ze={},Xe="rc-table-internal-hook",Be=i.memo(function(rr){var Tr=rr.children;return Tr},function(rr,Tr){return w()(rr.props,Tr.props)?rr.pingLeft!==Tr.pingLeft||rr.pingRight!==Tr.pingRight:!1});function nt(rr){var Tr,Br=rr.prefixCls,Wr=rr.className,hn=rr.rowClassName,tt=rr.style,jt=rr.data,Jt=rr.rowKey,nr=rr.scroll,Ir=rr.tableLayout,wr=rr.direction,Er=rr.title,zr=rr.footer,Jr=rr.summary,Zr=rr.id,an=rr.showHeader,St=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||He,Hn=!!wn.length,Sn=i.useState(0),bn=Object(u.a)(Sn,2),Mn=bn[0],vn=bn[1];i.useEffect(function(){vn(Object(A.a)())});var Rn=i.useMemo(function(){return P(St,{})},[St]),En=i.useCallback(function(Fa,La){return k(Rn,Fa)||La},[Rn]),On=i.useMemo(function(){return typeof Jt=="function"?Jt:function(Fa){var La=Fa&&Fa[Jt];return La}},[Jt]),Xn=Ge(rr),ai=Xn.expandIcon,ri=Xn.expandedRowKeys,Di=Xn.defaultExpandedRowKeys,yi=Xn.defaultExpandAllRows,xi=Xn.expandedRowRender,Li=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=i.useMemo(function(){return xi?"row":rr.expandable&&Mr===Xe&&rr.expandable.__PARENT_RENDER_ICON__||wn.some(function(Fa){return Fa&&Object(s.a)(Fa)==="object"&&Fa[va]})?"nest":!1},[!!xi,wn]),ya=i.useState(function(){return Di||(yi?Pt(wn,On,va):[])}),oa=Object(u.a)(ya,2),sa=oa[0],Ni=oa[1],$n=i.useMemo(function(){return new Set(ri||sa||[])},[ri,sa]),Ai=i.useCallback(function(Fa){var La=On(Fa,wn.indexOf(Fa)),Io,Oo=$n.has(La);Oo?($n.delete(La),Io=Object(t.a)($n)):Io=[].concat(Object(t.a)($n),[La]),Ni(Io),Li&&Li(!Oo,Fa),Un&&Un(Io)},[On,$n,wn,Li,Un]),Oi=i.useState(0),Vi=Object(u.a)(Oi,2),Xi=Vi[0],bi=Vi[1],Aa=et(Object(l.a)(Object(l.a)(Object(l.a)({},rr),Xn),{},{expandable:!!xi,expandedKeys:$n,getRowKey:On,onTriggerExpand:Ai,expandIcon:qi,expandIconColumnIndex:Ui,direction:wr}),Mr===Xe?Dr:null),ca=Object(u.a)(Aa,2),la=ca[0],gi=ca[1],Ba=i.useMemo(function(){return{columns:la,flattenColumns:gi}},[la,gi]),Ma=i.useRef(),ra=i.useRef(),Yi=i.useRef(),Xa=i.useState(!1),Ki=Object(u.a)(Xa,2),zi=Ki[0],ba=Ki[1],Ua=i.useState(!1),wa=Object(u.a)(Ua,2),vi=wa[0],Ya=wa[1],Ka=Ve(new Map),pa=Object(u.a)(Ka,2),Ii=pa[0],So=pa[1],za=B(gi),ja=za.map(function(Fa){return Ii.get(Fa)}),qa=i.useMemo(function(){return ja},[ja.join("_")]),ho=it(qa,gi.length,wr),Ca=nr&&K(nr.y),to=nr&&K(nr.x),Lo=to&&gi.some(function(Fa){var La=Fa.fixed;return La}),Oa=i.useRef(),Fi=De(fn,Br),Ja=Fi.isSticky,Da=Fi.offsetHeader,pi=Fi.offsetScroll,Gi=Fi.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=i.useCallback(function(Fa,La){So(function(Io){var Oo=new Map(Io);return Oo.set(Fa,La),Oo})},[]),ki=oe(null),Ra=Object(u.a)(ki,2),Vo=Ra[0],ro=Ra[1];function vo(Fa,La){La&&(typeof La=="function"?La(Fa):La.scrollLeft!==Fa&&(La.scrollLeft=Fa))}var po=function(La){var Io=La.currentTarget,Oo=La.scrollLeft,ts=typeof Oo=="number"?Oo:Io.scrollLeft,Po=Io||ze;if(!ro()||ro()===Po){var rs;Vo(Po),vo(ts,ra.current),vo(ts,Yi.current),vo(ts,(rs=Oa.current)===null||rs===void 0?void 0:rs.setScrollLeft)}if(Io){var ms=Io.scrollWidth,ls=Io.clientWidth;ba(ts>0),Ya(ts<ms-ls)}},Zi=function(){Yi.current&&po({currentTarget:Yi.current})},xo=function(La){var Io=La.width;Zi(),bi(Ma.current?Ma.current.offsetWidth:Io)};i.useEffect(function(){return Zi},[]),i.useEffect(function(){to&&Zi()},[to]),i.useEffect(function(){Mr===Xe&&rn&&(rn.body.current=Yi.current)});var is=En(["table"],"table"),Jo=i.useMemo(function(){return Ir||(Lo?nr.x==="max-content"?"auto":"fixed":Ca||gi.some(function(Fa){var La=Fa.ellipsis;return La})?"fixed":"auto")},[Ca,Lo,gi,Ir]),_s,Cs={colWidths:qa,columCount:gi.length,stickyOffsets:ho,onHeaderRow:br,fixHeader:Ca},Ts=i.useMemo(function(){return Hn?null:typeof Vt=="function"?Vt():Vt},[Hn,Vt]),Go=i.createElement(mt,{data:wn,measureColumnWidth:Ca||to||Ja,expandedKeys:$n,rowExpandable:fa,getRowKey:On,onRow:sr,emptyNode:Ts,childrenColumnName:va}),bo=i.createElement(Ce,{colWidths:gi.map(function(Fa){var La=Fa.width;return La}),columns:gi}),Za=Jr&&i.createElement(yt,null,Jr(wn)),Ga=En(["body"]);if(Ca||Ja){var so;typeof Ga=="function"?(so=Ga(wn,{scrollbarSize:Mn,ref:Yi,onScroll:po}),Cs.colWidths=gi.map(function(Fa,La){var Io=Fa.width,Oo=La===la.length-1?Io-Mn:Io;return typeof Oo=="number"&&!Number.isNaN(Oo)?Oo:(Object(b.a)(!1,"When use `components.body` with render props. Each column should have a fixed value."),0)})):so=i.createElement("div",{style:Object(l.a)(Object(l.a)({},oo),go),onScroll:po,ref:Yi,className:o()("".concat(Br,"-body"))},i.createElement(is,{style:Object(l.a)(Object(l.a)({},fo),{},{tableLayout:Jo})},bo,Go,Za),Ja&&i.createElement(ue,{ref:Oa,offsetScroll:pi,scrollBodyRef:Yi,onScroll:po})),_s=i.createElement(i.Fragment,null,an!==!1&&i.createElement("div",{style:Object(l.a)({overflow:"hidden"},Ja?{top:Da}:{}),onScroll:po,ref:ra,className:o()("".concat(Br,"-header"),Object(n.a)({},Gi,!!Gi))},i.createElement(Y,Object.assign({noData:!wn.length},Cs,Ba,{direction:wr}))),so)}else _s=i.createElement("div",{style:Object(l.a)(Object(l.a)({},oo),go),className:o()("".concat(Br,"-content")),onScroll:po,ref:Yi},i.createElement(is,{style:Object(l.a)(Object(l.a)({},fo),{},{tableLayout:Jo})},bo,an!==!1&&i.createElement(Ae,Object.assign({},Cs,Ba)),Go,Za));var ps=gt(rr),Sr=i.createElement("div",Object.assign({className:o()(Br,Wr,(Tr={},Object(n.a)(Tr,"".concat(Br,"-rtl"),wr==="rtl"),Object(n.a)(Tr,"".concat(Br,"-ping-left"),zi),Object(n.a)(Tr,"".concat(Br,"-ping-right"),vi),Object(n.a)(Tr,"".concat(Br,"-layout-fixed"),Ir==="fixed"),Object(n.a)(Tr,"".concat(Br,"-fixed-header"),Ca),Object(n.a)(Tr,"".concat(Br,"-fixed-column"),Lo),Object(n.a)(Tr,"".concat(Br,"-scroll-horizontal"),to),Object(n.a)(Tr,"".concat(Br,"-has-fix-left"),gi[0]&&gi[0].fixed),Object(n.a)(Tr,"".concat(Br,"-has-fix-right"),gi[gi.length-1]&&gi[gi.length-1].fixed==="right"),Tr)),style:tt,id:Zr,ref:Ma},ps),i.createElement(Be,{pingLeft:zi,pingRight:vi,props:Object(l.a)(Object(l.a)({},rr),{},{stickyOffsets:ho,mergedExpandedKeys:$n})},Er&&i.createElement(ve,{className:"".concat(Br,"-title")},Er(wn)),i.createElement("div",{className:"".concat(Br,"-container")},_s),zr&&i.createElement(ve,{className:"".concat(Br,"-footer")},zr(wn))));to&&(Sr=i.createElement(E.a,{onResize:xo},Sr));var Xo=i.useMemo(function(){return{prefixCls:Br,getComponent:En,scrollbarSize:Mn,direction:wr,fixedInfoList:gi.map(function(Fa,La){return Z(La,La,gi,ho,wr)}),isSticky:Ja}},[Br,En,Mn,wr,gi,ho,wr,Ja]),ss=i.useMemo(function(){return Object(l.a)(Object(l.a)({},Ba),{},{tableLayout:Jo,rowClassName:hn,expandedRowClassName:Mi,componentWidth:Xi,fixHeader:Ca,fixColumn:Lo,horizonScroll:to,expandIcon:qi,expandableType:Ea,expandRowByClick:Ri,expandedRowRender:xi,onTriggerExpand:Ai,expandIconColumnIndex:Ui,indentSize:hi})},[Ba,Jo,hn,Mi,Xi,Ca,Lo,to,qi,Ea,Ri,xi,Ai,Ui,hi]),Ls=i.useMemo(function(){return{onColumnResize:Ta}},[Ta]);return i.createElement(G.Provider,{value:Xo},i.createElement($.Provider,{value:ss},i.createElement(fe.Provider,{value:Ls},Sr)))}nt.Column=x,nt.ColumnGroup=T,nt.Summary=_t,nt.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var At=nt,It=At,ae=e("W9HT"),he=e("NUBc"),q=e("H84U"),ne=function(rr,Tr){var Br={};for(var Wr in rr)Object.prototype.hasOwnProperty.call(rr,Wr)&&Tr.indexOf(Wr)<0&&(Br[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])&&(Br[Wr[hn]]=rr[Wr[hn]]);return Br},Se=10;function Ne(rr,Tr){var Br={current:Tr.current,pageSize:Tr.pageSize},Wr=rr&&f()(rr)==="object"?rr:{};return Object.keys(Wr).forEach(function(hn){var tt=Tr[hn];typeof tt!="function"&&(Br[hn]=tt)}),Br}function Me(){for(var rr={},Tr=arguments.length,Br=new Array(Tr),Wr=0;Wr<Tr;Wr++)Br[Wr]=arguments[Wr];return Br.forEach(function(hn){hn&&Object.keys(hn).forEach(function(tt){var jt=hn[tt];jt!==void 0&&(rr[tt]=jt)})}),rr}function $e(rr,Tr,Br){var Wr=Tr&&f()(Tr)==="object"?Tr:{},hn=Wr.total,tt=hn===void 0?0:hn,jt=ne(Wr,["total"]),Jt=Object(i.useState)(function(){return{current:"defaultCurrent"in jt?jt.defaultCurrent:1,pageSize:"defaultPageSize"in jt?jt.defaultPageSize:Se}}),nr=h()(Jt,2),Ir=nr[0],wr=nr[1],Er=Me(Ir,jt,{total:tt>0?tt:rr});if(!tt){var zr=Math.ceil(rr/Er.pageSize);zr<Er.current&&(Er.current=1)}var Jr=function(){var St=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,Vt=arguments.length>1?arguments[1]:void 0;wr(a()(a()({},Er),{current:St,pageSize:Vt||Er.pageSize}))},Zr=function(St,Vt){var sr=Er==null?void 0:Er.pageSize;Vt&&Vt!==sr&&(St=1,Tr&&Tr.onShowSizeChange&&Tr.onShowSizeChange(St,Vt)),Tr&&Tr.onChange&&Tr.onChange(St,Vt),Jr(St,Vt),Br(St,Vt||sr)};return Tr===!1?[{},function(){}]:[a()(a()({},Er),{onChange:Zr}),Jr]}function vt(rr,Tr,Br){var Wr=i.useRef({});function hn(tt){if(!Wr.current||Wr.current.data!==rr||Wr.current.childrenColumnName!==Tr||Wr.current.getRowKey!==Br){var jt=function nr(Ir){Ir.forEach(function(wr,Er){var zr=Br(wr,Er);Jt.set(zr,wr),wr&&f()(wr)==="object"&&Tr in wr&&nr(wr[Tr]||[])})},Jt=new Map;jt(rr),Wr.current={data:rr,childrenColumnName:Tr,kvMap:Jt,getRowKey:Br}}return Wr.current.kvMap.get(tt)}return[hn]}var Wt=e("SA+Z"),$t=e.n(Wt),Dt=e("RIqP"),Kt=e.n(Dt),Gt=e("HQEm"),Qt=e.n(Gt),Mt=e("815F"),dr=e("NvD2"),er=e("OZM5"),ot=e("6cGi"),xt=e("kaz8"),ut=e("jsC+"),ft=e("BvKs"),Ot=e("9yH6"),Tt=e("uaoM"),ht="SELECT_ALL",Ht="SELECT_INVERT";function Ft(rr){return rr&&rr.fixed}function ir(rr,Tr){var Br=[];return(rr||[]).forEach(function(Wr){Br.push(Wr),Wr&&f()(Wr)==="object"&&Tr in Wr&&(Br=[].concat(Kt()(Br),Kt()(ir(Wr[Tr],Tr))))}),Br}function Xt(rr,Tr){var Br=rr||{},Wr=Br.preserveSelectedRowKeys,hn=Br.selectedRowKeys,tt=Br.getCheckboxProps,jt=Br.onChange,Jt=Br.onSelect,nr=Br.onSelectAll,Ir=Br.onSelectInvert,wr=Br.onSelectMultiple,Er=Br.columnWidth,zr=Br.type,Jr=Br.selections,Zr=Br.fixed,an=Br.renderCell,St=Br.hideSelectAll,Vt=Br.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=i.useRef(new Map),Rn=Object(ot.a)(hn||[],{value:hn}),En=h()(Rn,2),On=En[0],Xn=En[1],ai=Object(i.useMemo)(function(){return sr?{keyEntities:null}:Object(Mt.a)(Mr,void 0,fn)},[Mr,fn,sr]),ri=ai.keyEntities,Di=Object(i.useMemo)(function(){return ir(Dr,Hn)},[Dr,Hn]),yi=Object(i.useMemo)(function(){var Ni=new Map;return Di.forEach(function($n,Ai){var Oi=fn($n,Ai),Vi=(tt?tt($n):null)||{};Ni.set(Oi,Vi)}),Ni},[Di,fn,tt]),xi=Object(i.useCallback)(function(Ni){var $n;return!!(($n=yi.get(fn(Ni)))===null||$n===void 0?void 0:$n.disabled)},[yi,fn]),Li=Object(i.useMemo)(function(){if(sr)return[On,[]];var Ni=Object(dr.a)(On,!0,ri,xi),$n=Ni.checkedKeys,Ai=Ni.halfCheckedKeys;return[$n,Ai]},[On,sr,ri,xi]),Un=h()(Li,2),Ri=Un[0],fa=Un[1],Ui=Object(i.useMemo)(function(){var Ni=zr==="radio"?Ri.slice(0,1):Ri;return new Set(Ni)},[Ri,zr]),Mi=Object(i.useMemo)(function(){return zr==="radio"?new Set:new Set(fa)},[fa,zr]),mi=Object(i.useState)(null),hi=h()(mi,2),qi=hi[0],va=hi[1];i.useEffect(function(){rr||Xn([])},[!!rr]);var Ea=Object(i.useCallback)(function(Ni){var $n,Ai;if(Wr){var Oi=new Map;$n=Ni,Ai=Ni.map(function(Vi){var Xi=rn(Vi);return!Xi&&vn.current.has(Vi)&&(Xi=vn.current.get(Vi)),Oi.set(Vi,Xi),Xi}),vn.current=Oi}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(i.useCallback)(function(Ni,$n,Ai,Oi){if(Jt){var Vi=Ai.map(function(Xi){return rn(Xi)});Jt(rn(Ni),$n,Vi,Oi)}Ea(Ai)},[Jt,rn,Ea]),oa=Object(i.useMemo)(function(){if(!Jr||St)return null;var Ni=Jr===!0?[ht,Ht]:Jr;return Ni.map(function($n){return $n===ht?{key:"all",text:Sn.selectionAll,onSelect:function(){Ea(Mr.map(function(Oi,Vi){return fn(Oi,Vi)}))}}:$n===Ht?{key:"invert",text:Sn.selectInvert,onSelect:function(){var Oi=new Set(Ui);Dr.forEach(function(Xi,bi){var Aa=fn(Xi,bi);Oi.has(Aa)?Oi.delete(Aa):Oi.add(Aa)});var Vi=Array.from(Oi);Ea(Vi),Ir&&(Object(Tt.a)(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),Ir(Vi))}}:$n})},[Jr,Ui,Dr,fn,Ir,Ea]),sa=Object(i.useCallback)(function(Ni){if(!rr)return Ni;var $n=new Set(Ui),Ai=Di.map(fn).filter(function(zi){return!yi.get(zi).disabled}),Oi=Ai.every(function(zi){return $n.has(zi)}),Vi=Ai.some(function(zi){return $n.has(zi)}),Xi=function(){var ba=[];Oi?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(!Oi,Ua.map(function(wa){return rn(wa)}),ba.map(function(wa){return rn(wa)}))},bi;if(zr!=="radio"){var Aa;if(oa){var ca=i.createElement(ft.a,{getPopupContainer:Mn},oa.map(function(zi,ba){var Ua=zi.key,wa=zi.text,vi=zi.onSelect;return i.createElement(ft.a.Item,{key:Ua||ba,onClick:function(){vi&&vi(Ai)}},wa)}));Aa=i.createElement("div",{className:"".concat(br,"-selection-extra")},i.createElement(ut.a,{overlay:ca,getPopupContainer:Mn},i.createElement("span",null,i.createElement(Qt.a,null))))}var la=Di.every(function(zi,ba){var Ua=fn(zi,ba),wa=yi.get(Ua)||{};return wa.disabled});bi=!St&&i.createElement("div",{className:"".concat(br,"-selection")},i.createElement(xt.a,{checked:!la&&!!Di.length&&Oi,indeterminate:!Oi&&Vi,onChange:Xi,disabled:Di.length===0||la}),Aa)}var gi;zr==="radio"?gi=function(ba,Ua,wa){var vi=fn(Ua,wa),Ya=$n.has(vi);return{node:i.createElement(Ot.a,a()({},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),Ka=$n.has(Ya),pa=Mi.has(Ya),Ii=yi.get(Ya),So;return wn==="nest"?(So=pa,Object(Tt.a)(!(typeof(Ii==null?void 0:Ii.indeterminate)=="boolean"),"Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):So=(vi=Ii==null?void 0:Ii.indeterminate)!==null&&vi!==void 0?vi:pa,{node:i.createElement(xt.a,a()({},Ii,{indeterminate:So,checked:Ka,onClick:function(ja){return ja.stopPropagation()},onChange:function(ja){var qa=ja.nativeEvent,ho=qa.shiftKey,Ca=-1,to=-1;if(ho&&sr){var Lo=new Set([qi,Ya]);Ai.some(function(ki,Ra){if(Lo.has(ki))if(Ca===-1)Ca=Ra;else return to=Ra,!0;return!1})}if(to!==-1&&Ca!==to&&sr){var Oa=Ai.slice(Ca,to+1),Fi=[];Ka?Oa.forEach(function(ki){$n.has(ki)&&(Fi.push(ki),$n.delete(ki))}):Oa.forEach(function(ki){$n.has(ki)||(Fi.push(ki),$n.add(ki))});var Ja=Array.from($n);Ea(Ja),wr&&wr(!Ka,Ja.map(function(ki){return rn(ki)}),Fi.map(function(ki){return rn(ki)}))}else{var Da=Ri;if(sr){var pi=Ka?Object(er.b)(Da,Ya):Object(er.a)(Da,Ya);ya(Ya,!Ka,pi,qa)}else{var Gi=Object(dr.a)([].concat(Kt()(Da),[Ya]),!0,ri,xi),oo=Gi.checkedKeys,go=Gi.halfCheckedKeys,fo=oo;if(Ka){var Ta=new Set(oo);Ta.delete(Ya),fo=Object(dr.a)(Array.from(Ta),{checked:!1,halfCheckedKeys:go},ri,xi).checkedKeys}ya(Ya,!Ka,fo,qa)}}va(Ya)}})),checked:Ka}};var Ba=function(ba,Ua,wa){var vi=gi(ba,Ua,wa),Ya=vi.node,Ka=vi.checked;return an?an(Ka,Ua,wa,Ya):Ya},Ma=m()({width:Er,className:"".concat(br,"-selection-column"),title:rr.columnTitle||bi,render:Ba},Pe,{className:"".concat(br,"-selection-col")});if(wn==="row"&&Ni.length&&!bn){var ra=$t()(Ni),Yi=ra[0],Xa=ra.slice(1),Ki=Zr||Ft(Xa[0]);return Ki&&(Yi.fixed=Ki),[Yi,a()(a()({},Ma),{fixed:Ki})].concat(Kt()(Xa))}return[a()(a()({},Ma),{fixed:Zr||Ft(Ni[0])})].concat(Kt()(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"),Fr=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 Lr(rr,Tr){return Tr?"".concat(Tr,"-").concat(rr):"".concat(rr)}function Qr(rr,Tr){return typeof rr=="function"?rr(Tr):rr}var _r="ascend",ur="descend";function pr(rr){return f()(rr.sorter)==="object"&&typeof rr.sorter.multiple=="number"?rr.sorter.multiple:!1}function cr(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,Br){var Wr=[];function hn(tt,jt){Wr.push({column:tt,key:qr(tt,jt),multiplePriority:pr(tt),sortOrder:tt.sortOrder})}return(rr||[]).forEach(function(tt,jt){var Jt=Lr(jt,Br);tt.children?("sortOrder"in tt&&hn(tt,Jt),Wr=[].concat(Kt()(Wr),Kt()(xr(tt.children,Tr,Jt)))):tt.sorter&&("sortOrder"in tt?hn(tt,Jt):Tr&&tt.defaultSortOrder&&Wr.push({column:tt,key:qr(tt,Jt),multiplePriority:pr(tt),sortOrder:tt.defaultSortOrder}))}),Wr}function Yr(rr,Tr,Br,Wr,hn,tt,jt,Jt){return(Tr||[]).map(function(nr,Ir){var wr=Lr(Ir,Jt),Er=nr;if(Er.sorter){var zr=Er.sortDirections||hn,Jr=Er.showSorterTooltip===void 0?jt:Er.showSorterTooltip,Zr=qr(Er,wr),an=Br.find(function(Hn){var Sn=Hn.key;return Sn===Zr}),St=an?an.sortOrder:null,Vt=fr(zr,St),sr=zr.includes(_r)&&i.createElement(Fr.a,{className:o()("".concat(rr,"-column-sorter-up"),{active:St===_r})}),br=zr.includes(ur)&&i.createElement(Ar.a,{className:o()("".concat(rr,"-column-sorter-down"),{active:St===ur})}),Mr=tt||{},Dr=Mr.cancelSort,rn=Mr.triggerAsc,fn=Mr.triggerDesc,wn=Dr;Vt===ur?wn=fn:Vt===_r&&(wn=rn),Er=a()(a()({},Er),{className:o()(Er.className,m()({},"".concat(rr,"-column-sort"),St)),title:function(Sn){var bn=i.createElement("div",{className:"".concat(rr,"-column-sorters")},i.createElement("span",null,Qr(nr.title,Sn)),i.createElement("span",{className:o()("".concat(rr,"-column-sorter"),m()({},"".concat(rr,"-column-sorter-full"),sr&&br))},i.createElement("span",{className:"".concat(rr,"-column-sorter-inner")},sr,br)));return Jr?i.createElement(tn.a,{title:wn},i.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:Zr,sortOrder:Vt,multiplePriority:pr(nr)}),Mn&&Mn(vn)},bn.className=o()(bn.className,"".concat(rr,"-column-has-sorters")),bn}})}return"children"in Er&&(Er=a()(a()({},Er),{children:Yr(rr,Er.children,Br,Wr,hn,tt,jt,wr)})),Er})}function un(rr){var Tr=rr.column,Br=rr.sortOrder;return{column:Tr,order:Br,field:Tr.dataIndex,columnKey:Tr.key}}function Nn(rr){var Tr=rr.filter(function(Br){var Wr=Br.sortOrder;return Wr}).map(un);return Tr.length===0&&rr.length?a()(a()({},un(rr[rr.length-1])),{column:void 0}):Tr.length<=1?Tr[0]||{}:Tr}function jr(rr,Tr,Br){var Wr=Tr.slice().sort(function(jt,Jt){return Jt.multiplePriority-jt.multiplePriority}),hn=rr.slice(),tt=Wr.filter(function(jt){var Jt=jt.column.sorter,nr=jt.sortOrder;return cr(Jt)&&nr});return tt.length?hn.sort(function(jt,Jt){for(var nr=0;nr<tt.length;nr+=1){var Ir=tt[nr],wr=Ir.column.sorter,Er=Ir.sortOrder,zr=cr(wr);if(zr&&Er){var Jr=zr(jt,Jt,Er);if(Jr!==0)return Er===_r?Jr:-Jr}}return 0}).map(function(jt){var Jt=jt[Br];return Jt?a()(a()({},jt),m()({},Br,jr(Jt,Tr,Br))):jt}):hn}function Tn(rr){var Tr=rr.prefixCls,Br=rr.mergedColumns,Wr=rr.onSorterChange,hn=rr.sortDirections,tt=rr.tableLocale,jt=rr.showSorterTooltip,Jt=i.useState(xr(Br,!0)),nr=h()(Jt,2),Ir=nr[0],wr=nr[1],Er=i.useMemo(function(){var St=!0,Vt=xr(Br,!1);if(!Vt.length)return Ir;var sr=[];function br(Dr){St?sr.push(Dr):sr.push(a()(a()({},Dr),{sortOrder:null}))}var Mr=null;return Vt.forEach(function(Dr){Mr===null?(br(Dr),Dr.sortOrder&&(Dr.multiplePriority===!1?St=!1:Mr=!0)):(Mr&&Dr.multiplePriority!==!1||(St=!1),br(Dr))}),sr},[Br,Ir]),zr=i.useMemo(function(){var St=Er.map(function(Vt){var sr=Vt.column,br=Vt.sortOrder;return{column:sr,order:br}});return{sortColumns:St,sortColumn:St[0]&&St[0].column,sortOrder:St[0]&&St[0].order}},[Er]);function Jr(St){var Vt;St.multiplePriority===!1||!Er.length||Er[0].multiplePriority===!1?Vt=[St]:Vt=[].concat(Kt()(Er.filter(function(sr){var br=sr.key;return br!==St.key})),[St]),wr(Vt),Wr(Nn(Vt),Vt)}var Zr=function(Vt){return Yr(Tr,Vt,Er,Jr,hn,tt,jt)},an=function(){return Nn(Er)};return[Zr,Er,zr,an]}var gn=e("Y+p1"),Bn=e.n(gn),zn=e("5Uyt"),qn=e.n(zn),Yn=e("2/Rp"),Vn=e("ECub"),An=function(Tr){return i.createElement("div",{className:Tr.className,onClick:function(Wr){return Wr.stopPropagation()}},Tr.children)},on=An,ia=e("sPtV"),xa=ft.a.SubMenu,ta=ft.a.Item;function _i(rr){return rr.some(function(Tr){var Br=Tr.children;return Br})}function Ci(rr){var Tr=rr.filters,Br=rr.prefixCls,Wr=rr.filteredKeys,hn=rr.filterMultiple,tt=rr.locale;return Tr.length===0?i.createElement(i.Fragment,null,i.createElement(Vn.a,{image:Vn.a.PRESENTED_IMAGE_SIMPLE,description:tt.filterEmptyText,style:{margin:"16px 0"},imageStyle:{height:24}})):Tr.map(function(jt,Jt){var nr=String(jt.value);if(jt.children)return i.createElement(xa,{key:nr||Jt,title:jt.text,popupClassName:"".concat(Br,"-dropdown-submenu")},Ci({filters:jt.children,prefixCls:Br,filteredKeys:Wr,filterMultiple:hn,locale:tt}));var Ir=hn?xt.a:Ot.a;return i.createElement(ta,{key:jt.value!==void 0?nr:Jt},i.createElement(Ir,{checked:Wr.includes(nr)}),i.createElement("span",null,jt.text))})}function Gn(rr){var Tr,Br=rr.prefixCls,Wr=rr.column,hn=rr.dropdownPrefixCls,tt=rr.columnKey,jt=rr.filterMultiple,Jt=rr.filterState,nr=rr.triggerFilter,Ir=rr.locale,wr=rr.children,Er=rr.getPopupContainer,zr=Wr.filterDropdownVisible,Jr=Wr.onFilterDropdownVisibleChange,Zr=i.useState(!1),an=h()(Zr,2),St=an[0],Vt=an[1],sr=!!(Jt&&(((Tr=Jt.filteredKeys)===null||Tr===void 0?void 0:Tr.length)||Jt.forceFiltered)),br=function(hi){Vt(hi),Jr&&Jr(hi)},Mr=typeof zr=="boolean"?zr:St,Dr=Jt&&Jt.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)};i.useEffect(function(){Sn({selectedKeys:Dr||[]})},[Dr]);var bn=i.useState([]),Mn=h()(bn,2),vn=Mn[0],Rn=Mn[1],En=i.useRef(),On=function(hi){En.current=window.setTimeout(function(){Rn(hi)})},Xn=function(){window.clearTimeout(En.current)};i.useEffect(function(){return function(){window.clearTimeout(En.current)}},[]);var ai=function(hi){br(!1);var qi=hi&&hi.length?hi:null;if(qi===null&&(!Jt||!Jt.filteredKeys))return null;if(Bn()(qi,Jt==null?void 0:Jt.filteredKeys))return null;nr({column:Wr,key:tt,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"),!_i(Wr.filters||[]))),Li;if(typeof Wr.filterDropdown=="function")Li=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)Li=Wr.filterDropdown;else{var Un=wn()||[];Li=i.createElement(i.Fragment,null,i.createElement(ft.a,{multiple:jt,prefixCls:"".concat(hn,"-menu"),className:xi,onClick:Xn,onSelect:Sn,onDeselect:Sn,selectedKeys:Un,getPopupContainer:Er,openKeys:vn,onOpenChange:On},Ci({filters:Wr.filters||[],prefixCls:Br,filteredKeys:wn(),filterMultiple:jt,locale:Ir})),i.createElement("div",{className:"".concat(Br,"-dropdown-btns")},i.createElement(Yn.a,{type:"link",size:"small",disabled:Un.length===0,onClick:Di},Ir.filterReset),i.createElement(Yn.a,{type:"primary",size:"small",onClick:ri},Ir.filterConfirm)))}var Ri=i.createElement(on,{className:"".concat(Br,"-dropdown")},Li),fa;typeof Wr.filterIcon=="function"?fa=Wr.filterIcon(sr):Wr.filterIcon?fa=Wr.filterIcon:fa=i.createElement(qn.a,null);var Ui=i.useContext(q.b),Mi=Ui.direction;return i.createElement("div",{className:o()("".concat(Br,"-column"))},i.createElement("span",{className:"".concat(Br,"-column-title")},wr),i.createElement("span",{className:o()("".concat(Br,"-trigger-container"),m()({},"".concat(Br,"-trigger-container-open"),Mr)),onClick:function(hi){hi.stopPropagation()}},i.createElement(ut.a,{overlay:Ri,trigger:["click"],visible:Mr,onVisibleChange:yi,getPopupContainer:Er,placement:Mi==="rtl"?"bottomLeft":"bottomRight"},i.createElement("span",{role:"button",tabIndex:-1,className:o()("".concat(Br,"-trigger"),{active:sr})},fa))))}var Ia=Gn;function mn(rr,Tr,Br){var Wr=[];return(rr||[]).forEach(function(hn,tt){var jt=Lr(tt,Br);"children"in hn?Wr=[].concat(Kt()(Wr),Kt()(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 In(rr,Tr,Br,Wr,hn,tt,jt,Jt){return Br.map(function(nr,Ir){var wr=Lr(Ir,Jt),Er=nr.filterMultiple,zr=Er===void 0?!0:Er;if(nr.filters||"filterDropdown"in nr){var Jr=qr(nr,wr),Zr=Wr.find(function(an){var St=an.key;return Jr===St});return a()(a()({},nr),{title:function(St){return i.createElement(Ia,{prefixCls:"".concat(rr,"-filter"),dropdownPrefixCls:Tr,column:nr,columnKey:Jr,filterState:Zr,filterMultiple:zr,triggerFilter:hn,locale:jt,getPopupContainer:tt},Qr(nr.title,St))}})}return"children"in nr?a()(a()({},nr),{children:In(rr,Tr,nr.children,Wr,hn,tt,jt,wr)}):nr})}function Ln(rr){var Tr={};return rr.forEach(function(Br){var Wr=Br.key,hn=Br.filteredKeys;Tr[Wr]=hn||null}),Tr}function _n(rr){var Tr=[];return(rr||[]).forEach(function(Br){var Wr=Br.value,hn=Br.children;Tr.push(Wr),hn&&(Tr=[].concat(Kt()(Tr),Kt()(_n(hn))))}),Tr}function jn(rr,Tr){return Tr.reduce(function(Br,Wr){var hn=Wr.column,tt=hn.onFilter,jt=hn.filters,Jt=Wr.filteredKeys;return tt&&Jt&&Jt.length?Br.filter(function(nr){return Jt.some(function(Ir){var wr=_n(jt),Er=wr.findIndex(function(Jr){return String(Jr)===String(Ir)}),zr=Er!==-1?wr[Er]:Ir;return tt(zr,nr)})}):Br},rr)}function ni(rr){var Tr=rr.prefixCls,Br=rr.dropdownPrefixCls,Wr=rr.mergedColumns,hn=rr.onFilterChange,tt=rr.getPopupContainer,jt=rr.locale,Jt=i.useState(mn(Wr,!0)),nr=h()(Jt,2),Ir=nr[0],wr=nr[1],Er=i.useMemo(function(){var an=mn(Wr,!1);return an.every(function(St){var Vt=St.filteredKeys;return Vt===void 0})?Ir:an},[Wr,Ir]),zr=i.useCallback(function(){return Ln(Er)},[Er]),Jr=function(St){var Vt=Er.filter(function(sr){var br=sr.key;return br!==St.key});Vt.push(St),wr(Vt),hn(Ln(Vt),Vt)},Zr=function(St){return In(Tr,Br,St,Er,Jr,tt,jt)};return[Zr,Er,zr]}var di=ni;function Na(rr,Tr){return rr.map(function(Br){var Wr=a()({},Br);return Wr.title=Qr(Br.title,Tr),"children"in Wr&&(Wr.children=Na(Wr.children,Tr)),Wr})}function Qi(rr){var Tr=i.useCallback(function(Br){return Na(Br,rr)},[rr]);return[Tr]}function ma(rr){return function(Br){var Wr,hn=Br.prefixCls,tt=Br.onExpand,jt=Br.record,Jt=Br.expanded,nr=Br.expandable,Ir="".concat(hn,"-row-expand-icon");return i.createElement("button",{type:"button",onClick:function(Er){tt(jt,Er),Er.stopPropagation()},className:o()(Ir,(Wr={},m()(Wr,"".concat(Ir,"-spaced"),!nr),m()(Wr,"".concat(Ir,"-expanded"),nr&&Jt),m()(Wr,"".concat(Ir,"-collapsed"),nr&&!Jt),Wr)),"aria-label":Jt?rr.collapse:rr.expand})}}var Pa=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,kn=e("5OYt"),$i=[];function eo(rr){var Tr,Br=rr.prefixCls,Wr=rr.className,hn=rr.style,tt=rr.size,jt=rr.bordered,Jt=rr.dropdownPrefixCls,nr=rr.dataSource,Ir=rr.pagination,wr=rr.rowSelection,Er=rr.rowKey,zr=rr.rowClassName,Jr=rr.columns,Zr=rr.children,an=rr.childrenColumnName,St=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(Tt.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(kn.a)(),Rn=i.useMemo(function(){var Ta=new Set(Object.keys(vn).filter(function(ki){return vn[ki]}));return(Jr||Ue(Zr)).filter(function(ki){return!ki.responsive||ki.responsive.some(function(Ra){return Ta.has(Ra)})})},[Zr,Jr,vn]),En=Object(d.default)(rr,["className","style","columns"]),On=i.useContext(aa.b),Xn=i.useContext(q.b),ai=Xn.locale,ri=ai===void 0?Co:ai,Di=Xn.renderEmpty,yi=Xn.direction,xi=tt||On,Li=a()(a()({},ri.Table),Sn),Un=nr||$i,Ri=i.useContext(q.b),fa=Ri.getPrefixCls,Ui=fa("table",Br),Mi=fa("dropdown",Jt),mi=a()({childrenColumnName:an,expandIconColumnIndex:rn},Mr),hi=mi.childrenColumnName,qi=hi===void 0?"children":hi,va=i.useMemo(function(){return Un.some(function(Ta){var ki;return(ki=Ta)===null||ki===void 0?void 0:ki[qi]})?"nest":Dr||Mr&&Mr.expandedRowRender?"row":null},[Un]),Ea={body:i.useRef()},ya=i.useMemo(function(){return typeof Er=="function"?Er:function(Ta){var ki;return(ki=Ta)===null||ki===void 0?void 0:ki[Er]}},[Er]),oa=vt(Un,qi,ya),sa=h()(oa,1),Ni=sa[0],$n={},Ai=function(ki,Ra){var Vo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ro=a()(a()({},$n),ki);Vo&&($n.resetPagination(),ro.pagination.current&&(ro.pagination.current=1),Ir&&Ir.onChange&&Ir.onChange(1,ro.pagination.pageSize)),wn&&wn.scrollToFirstRowOnChange!==!1&&Ea.body.current&&Object(Qa.a)(0,{getContainer:function(){return Ea.body.current}}),St&&St(ro.pagination,ro.filters,ro.sorter,{currentDataSource:jn(jr(Un,ro.sorterStates,qi),ro.filterStates),action:Ra})},Oi=function(ki,Ra){Ai({sorter:ki,sorterStates:Ra},"sort",!1)},Vi=Tn({prefixCls:Ui,mergedColumns:Rn,onSorterChange:Oi,sortDirections:Hn||["ascend","descend"],tableLocale:Li,showSorterTooltip:Mn}),Xi=h()(Vi,4),bi=Xi[0],Aa=Xi[1],ca=Xi[2],la=Xi[3],gi=i.useMemo(function(){return jr(Un,Aa,qi)},[Un,Aa]);$n.sorter=la(),$n.sorterStates=Aa;var Ba=function(ki,Ra){Ai({filters:ki,filterStates:Ra},"filter",!0)},Ma=di({prefixCls:Ui,locale:Li,dropdownPrefixCls:Mi,mergedColumns:Rn,onFilterChange:Ba,getPopupContainer:Vt}),ra=h()(Ma,3),Yi=ra[0],Xa=ra[1],Ki=ra[2],zi=jn(gi,Xa);$n.filters=Ki(),$n.filterStates=Xa;var ba=i.useMemo(function(){return a()({},ca)},[ca]),Ua=Qi(ba),wa=h()(Ua,1),vi=wa[0],Ya=function(ki,Ra){Ai({pagination:a()(a()({},$n.pagination),{current:ki,pageSize:Ra})},"paginate")},Ka=$e(zi.length,Ir,Ya),pa=h()(Ka,2),Ii=pa[0],So=pa[1];$n.pagination=Ir===!1?{}:Ne(Ir,Ii),$n.resetPagination=So;var za=i.useMemo(function(){if(Ir===!1||!Ii.pageSize)return zi;var Ta=Ii.current,ki=Ta===void 0?1:Ta,Ra=Ii.total,Vo=Ii.pageSize,ro=Vo===void 0?Se:Vo;return zi.length<Ra?zi.length>ro?(Object(Tt.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."),zi.slice((ki-1)*ro,ki*ro)):zi:zi.slice((ki-1)*ro,ki*ro)},[!!Ir,zi,Ii&&Ii.current,Ii&&Ii.pageSize,Ii&&Ii.total]),ja=Xt(wr,{prefixCls:Ui,data:zi,pageData:za,getRowKey:ya,getRecordByKey:Ni,expandType:va,childrenColumnName:qi,locale:Li,expandIconColumnIndex:mi.expandIconColumnIndex,getPopupContainer:Vt}),qa=h()(ja,2),ho=qa[0],Ca=qa[1],to=function(ki,Ra,Vo){var ro;return typeof zr=="function"?ro=o()(zr(ki,Ra,Vo)):ro=o()(zr),o()(m()({},"".concat(Ui,"-row-selected"),Ca.has(ya(ki,Ra))),ro)};mi.__PARENT_RENDER_ICON__=mi.expandIcon,mi.expandIcon=mi.expandIcon||br||Pa(Li),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 Lo=i.useCallback(function(Ta){return vi(ho(Yi(bi(Ta))))},[bi,Yi,ho]),Oa,Fi;if(Ir!==!1){var Ja;Ii.size?Ja=Ii.size:Ja=xi==="small"||xi==="middle"?"small":void 0;var Da=function(ki){return i.createElement(he.a,a()({className:"".concat(Ui,"-pagination ").concat(Ui,"-pagination-").concat(ki)},Ii,{size:Ja}))},pi=yi==="rtl"?"left":"right";if(Ii.position!==null&&Array.isArray(Ii.position)){var Gi=Ii.position.find(function(Ta){return Ta.indexOf("top")!==-1}),oo=Ii.position.find(function(Ta){return Ta.indexOf("bottom")!==-1});!Gi&&!oo?Fi=Da(pi):(Gi&&(Oa=Da(Gi.toLowerCase().replace("top",""))),oo&&(Fi=Da(oo.toLowerCase().replace("bottom",""))))}else Fi=Da(pi)}var go;typeof sr=="boolean"?go={spinning:sr}:f()(sr)==="object"&&(go=a()({spinning:!0},sr));var fo=o()("".concat(Ui,"-wrapper"),Wr,m()({},"".concat(Ui,"-wrapper-rtl"),yi==="rtl"));return i.createElement("div",{className:fo,style:hn},i.createElement(ae.a,a()({spinning:!1},go),Oa,i.createElement(It,a()({},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:za,rowKey:ya,rowClassName:to,emptyText:Sn&&Sn.emptyText||Di("Table"),internalHooks:Xe,internalRefs:Ea,transformColumns:Lo})),zi&&zi.length>0&&Fi))}eo.defaultProps={rowKey:"key"},eo.SELECTION_ALL=ht,eo.SELECTION_INVERT=Ht,eo.Column=ga,eo.ColumnGroup=mo,eo.Summary=_t;var To=eo,uo=_.a=To},wDdD:function(D,_,e){var g=e("ProS"),f=e("bYtY");e("98bh"),e("GrNh");var y=e("d4KN"),m=e("mOdp"),v=e("KS52"),h=e("0/Rx");y("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(v,"pie")),g.registerProcessor(h("pie"))},"wF/u":function(D,_,e){var g=e("e5cp"),f=e("ExA7");function y(m,v,h,c,a){return m===v?!0:m==null||v==null||!f(m)&&!f(v)?m!==m&&v!==v:g(m,v,h,c,y,a)}D.exports=y},wJg7:function(D,_){var e=9007199254740991,g=/^(?:0|[1-9]\d*)$/;function f(y,m){var v=typeof y;return m=m==null?e:m,!!m&&(v=="number"||v!="symbol"&&g.test(y))&&(y>-1&&y%1==0)&&y<m}D.exports=f},wOnQ:function(D,_,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){D.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(te,ke){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ze,Lt){Ze.__proto__=Lt}||function(Ze,Lt){for(var tr in Lt)Lt.hasOwnProperty(tr)&&(Ze[tr]=Lt[tr])},g(te,ke)};function f(qe,te){g(qe,te);function ke(){this.constructor=qe}qe.prototype=te===null?Object.create(te):(ke.prototype=te.prototype,new ke)}var y=function(){return y=Object.assign||function(ke){for(var Ze,Lt=1,tr=arguments.length;Lt<tr;Lt++){Ze=arguments[Lt];for(var vr in Ze)Object.prototype.hasOwnProperty.call(Ze,vr)&&(ke[vr]=Ze[vr])}return ke},y.apply(this,arguments)};function m(qe,te,ke,Ze){return new(ke||(ke=Promise))(function(Lt,tr){function vr(Kr){try{Hr(Ze.next(Kr))}catch(cn){tr(cn)}}function Or(Kr){try{Hr(Ze.throw(Kr))}catch(cn){tr(cn)}}function Hr(Kr){Kr.done?Lt(Kr.value):new ke(function(cn){cn(Kr.value)}).then(vr,Or)}Hr((Ze=Ze.apply(qe,te||[])).next())})}function v(qe,te){var ke={label:0,sent:function(){if(tr[0]&1)throw tr[1];return tr[1]},trys:[],ops:[]},Ze,Lt,tr,vr;return vr={next:Or(0),throw:Or(1),return:Or(2)},typeof Symbol=="function"&&(vr[Symbol.iterator]=function(){return this}),vr;function Or(Kr){return function(cn){return Hr([Kr,cn])}}function Hr(Kr){if(Ze)throw new TypeError("Generator is already executing.");for(;ke;)try{if(Ze=1,Lt&&(tr=Kr[0]&2?Lt.return:Kr[0]?Lt.throw||((tr=Lt.return)&&tr.call(Lt),0):Lt.next)&&!(tr=tr.call(Lt,Kr[1])).done)return tr;(Lt=0,tr)&&(Kr=[Kr[0]&2,tr.value]);switch(Kr[0]){case 0:case 1:tr=Kr;break;case 4:return ke.label++,{value:Kr[1],done:!1};case 5:ke.label++,Lt=Kr[1],Kr=[0];continue;case 7:Kr=ke.ops.pop(),ke.trys.pop();continue;default:if(!(tr=ke.trys,tr=tr.length>0&&tr[tr.length-1])&&(Kr[0]===6||Kr[0]===2)){ke=0;continue}if(Kr[0]===3&&(!tr||Kr[1]>tr[0]&&Kr[1]<tr[3])){ke.label=Kr[1];break}if(Kr[0]===6&&ke.label<tr[1]){ke.label=tr[1],tr=Kr;break}if(tr&&ke.label<tr[2]){ke.label=tr[2],ke.ops.push(Kr);break}tr[2]&&ke.ops.pop(),ke.trys.pop();continue}Kr=te.call(qe,ke)}catch(cn){Kr=[6,cn],Lt=0}finally{Ze=tr=0}if(Kr[0]&5)throw Kr[1];return{value:Kr[0]?Kr[1]:void 0,done:!0}}}for(var h=function(){function qe(te,ke,Ze,Lt){this.left=te,this.top=ke,this.width=Ze,this.height=Lt}return qe.prototype.add=function(te,ke,Ze,Lt){return new qe(this.left+te,this.top+ke,this.width+Ze,this.height+Lt)},qe.fromClientRect=function(te){return new qe(te.left,te.top,te.width,te.height)},qe}(),c=function(te){return h.fromClientRect(te.getBoundingClientRect())},a=function(te){var ke=te.body,Ze=te.documentElement;if(!ke||!Ze)throw new Error("Unable to get document size");var Lt=Math.max(Math.max(ke.scrollWidth,Ze.scrollWidth),Math.max(ke.offsetWidth,Ze.offsetWidth),Math.max(ke.clientWidth,Ze.clientWidth)),tr=Math.max(Math.max(ke.scrollHeight,Ze.scrollHeight),Math.max(ke.offsetHeight,Ze.offsetHeight),Math.max(ke.clientHeight,Ze.clientHeight));return new h(0,0,Lt,tr)},i=function(te){for(var ke=[],Ze=0,Lt=te.length;Ze<Lt;){var tr=te.charCodeAt(Ze++);if(tr>=55296&&tr<=56319&&Ze<Lt){var vr=te.charCodeAt(Ze++);(vr&64512)===56320?ke.push(((tr&1023)<<10)+(vr&1023)+65536):(ke.push(tr),Ze--)}else ke.push(tr)}return ke},r=function(){for(var te=[],ke=0;ke<arguments.length;ke++)te[ke]=arguments[ke];if(String.fromCodePoint)return String.fromCodePoint.apply(String,te);var Ze=te.length;if(!Ze)return"";for(var Lt=[],tr=-1,vr="";++tr<Ze;){var Or=te[tr];Or<=65535?Lt.push(Or):(Or-=65536,Lt.push((Or>>10)+55296,Or%1024+56320)),(tr+1===Ze||Lt.length>16384)&&(vr+=String.fromCharCode.apply(String,Lt),Lt.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(te){var ke=te.length*.75,Ze=te.length,Lt,tr=0,vr,Or,Hr,Kr;te[te.length-1]==="="&&(ke--,te[te.length-2]==="="&&ke--);var cn=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(ke):new Array(ke),sn=Array.isArray(cn)?cn:new Uint8Array(cn);for(Lt=0;Lt<Ze;Lt+=4)vr=d[te.charCodeAt(Lt)],Or=d[te.charCodeAt(Lt+1)],Hr=d[te.charCodeAt(Lt+2)],Kr=d[te.charCodeAt(Lt+3)],sn[tr++]=vr<<2|Or>>4,sn[tr++]=(Or&15)<<4|Hr>>2,sn[tr++]=(Hr&3)<<6|Kr&63;return cn},t=function(te){for(var ke=te.length,Ze=[],Lt=0;Lt<ke;Lt+=2)Ze.push(te[Lt+1]<<8|te[Lt]);return Ze},s=function(te){for(var ke=te.length,Ze=[],Lt=0;Lt<ke;Lt+=4)Ze.push(te[Lt+3]<<24|te[Lt+2]<<16|te[Lt+1]<<8|te[Lt]);return Ze},u=5,p=6+5,w=2,b=p-u,E=65536>>u,A=1<<u,S=A-1,T=1024>>u,L=E+T,x=L,C=2048>>6,I=x+C,N=65536>>p,F=1<<b,k=F-1,B=function(te,ke,Ze){return te.slice?te.slice(ke,Ze):new Uint16Array(Array.prototype.slice.call(te,ke,Ze))},P=function(te,ke,Ze){return te.slice?te.slice(ke,Ze):new Uint32Array(Array.prototype.slice.call(te,ke,Ze))},K=function(te){var ke=l(te),Ze=Array.isArray(ke)?s(ke):new Uint32Array(ke),Lt=Array.isArray(ke)?t(ke):new Uint16Array(ke),tr=24,vr=B(Lt,tr/2,Ze[4]/2),Or=Ze[5]===2?B(Lt,(tr+Ze[4])/2):P(Ze,Math.ceil((tr+Ze[4])/4));return new R(Ze[0],Ze[1],Ze[2],Ze[3],vr,Or)},R=function(){function qe(te,ke,Ze,Lt,tr,vr){this.initialValue=te,this.errorValue=ke,this.highStart=Ze,this.highValueIndex=Lt,this.index=tr,this.data=vr}return qe.prototype.get=function(te){var ke;if(te>=0){if(te<55296||te>56319&&te<=65535)return ke=this.index[te>>u],ke=(ke<<w)+(te&S),this.data[ke];if(te<=65535)return ke=this.index[E+(te-55296>>u)],ke=(ke<<w)+(te&S),this.data[ke];if(te<this.highStart)return ke=I-N+(te>>p),ke=this.index[ke],ke+=te>>u&k,ke=this.index[ke],ke=(ke<<w)+(te&S),this.data[ke];if(te<=1114111)return this.data[this.highValueIndex]}return this.errorValue},qe}(),U="KwAAAAAAAAAACA4AIDoAAPAfAAACAAAAAAAIABAAGABAAEgAUABYAF4AZgBeAGYAYABoAHAAeABeAGYAfACEAIAAiACQAJgAoACoAK0AtQC9AMUAXgBmAF4AZgBeAGYAzQDVAF4AZgDRANkA3gDmAOwA9AD8AAQBDAEUARoBIgGAAIgAJwEvATcBPwFFAU0BTAFUAVwBZAFsAXMBewGDATAAiwGTAZsBogGkAawBtAG8AcIBygHSAdoB4AHoAfAB+AH+AQYCDgIWAv4BHgImAi4CNgI+AkUCTQJTAlsCYwJrAnECeQKBAk0CiQKRApkCoQKoArACuALAAsQCzAIwANQC3ALkAjAA7AL0AvwCAQMJAxADGAMwACADJgMuAzYDPgOAAEYDSgNSA1IDUgNaA1oDYANiA2IDgACAAGoDgAByA3YDfgOAAIQDgACKA5IDmgOAAIAAogOqA4AAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAK8DtwOAAIAAvwPHA88D1wPfAyAD5wPsA/QD/AOAAIAABAQMBBIEgAAWBB4EJgQuBDMEIAM7BEEEXgBJBCADUQRZBGEEaQQwADAAcQQ+AXkEgQSJBJEEgACYBIAAoASoBK8EtwQwAL8ExQSAAIAAgACAAIAAgACgAM0EXgBeAF4AXgBeAF4AXgBeANUEXgDZBOEEXgDpBPEE+QQBBQkFEQUZBSEFKQUxBTUFPQVFBUwFVAVcBV4AYwVeAGsFcwV7BYMFiwWSBV4AmgWgBacFXgBeAF4AXgBeAKsFXgCyBbEFugW7BcIFwgXIBcIFwgXQBdQF3AXkBesF8wX7BQMGCwYTBhsGIwYrBjMGOwZeAD8GRwZNBl4AVAZbBl4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAGMGXgBqBnEGXgBeAF4AXgBeAF4AXgBeAF4AXgB5BoAG4wSGBo4GkwaAAIADHgR5AF4AXgBeAJsGgABGA4AAowarBrMGswagALsGwwbLBjAA0wbaBtoG3QbaBtoG2gbaBtoG2gblBusG8wb7BgMHCwcTBxsHCwcjBysHMAc1BzUHOgdCB9oGSgdSB1oHYAfaBloHaAfaBlIH2gbaBtoG2gbaBtoG2gbaBjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHbQdeAF4ANQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQd1B30HNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B4MH2gaKB68EgACAAIAAgACAAIAAgACAAI8HlwdeAJ8HpweAAIAArwe3B14AXgC/B8UHygcwANAH2AfgB4AA6AfwBz4B+AcACFwBCAgPCBcIogEYAR8IJwiAAC8INwg/CCADRwhPCFcIXwhnCEoDGgSAAIAAgABvCHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIhAiLCI4IMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAANQc1BzUHNQc1BzUHNQc1BzUHNQc1B54INQc1B6II2gaqCLIIugiAAIAAvgjGCIAAgACAAIAAgACAAIAAgACAAIAAywiHAYAA0wiAANkI3QjlCO0I9Aj8CIAAgACAAAIJCgkSCRoJIgknCTYHLwk3CZYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiAAIAAAAFAAXgBeAGAAcABeAHwAQACQAKAArQC9AJ4AXgBeAE0A3gBRAN4A7AD8AMwBGgEAAKcBNwEFAUwBXAF4QkhCmEKnArcCgAHHAsABz4LAAcABwAHAAd+C6ABoAG+C/4LAAcABwAHAAc+DF4MAAcAB54M3gweDV4Nng3eDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEeDqABVg6WDqABoQ6gAaABoAHXDvcONw/3DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DncPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB7cPPwlGCU4JMACAAIAAgABWCV4JYQmAAGkJcAl4CXwJgAkwADAAMAAwAIgJgACLCZMJgACZCZ8JowmrCYAAswkwAF4AXgB8AIAAuwkABMMJyQmAAM4JgADVCTAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAqwYWBNkIMAAwADAAMADdCeAJ6AnuCR4E9gkwAP4JBQoNCjAAMACAABUK0wiAAB0KJAosCjQKgAAwADwKQwqAAEsKvQmdCVMKWwowADAAgACAALcEMACAAGMKgABrCjAAMAAwADAAMAAwADAAMAAwADAAMAAeBDAAMAAwADAAMAAwADAAMAAwADAAMAAwAIkEPQFzCnoKiQSCCooKkAqJBJgKoAqkCokEGAGsCrQKvArBCjAAMADJCtEKFQHZCuEK/gHpCvEKMAAwADAAMACAAIwE+QowAIAAPwEBCzAAMAAwADAAMACAAAkLEQswAIAAPwEZCyELgAAOCCkLMAAxCzkLMAAwADAAMAAwADAAXgBeAEELMAAwADAAMAAwADAAMAAwAEkLTQtVC4AAXAtkC4AAiQkwADAAMAAwADAAMAAwADAAbAtxC3kLgAuFC4sLMAAwAJMLlwufCzAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAApwswADAAMACAAIAAgACvC4AAgACAAIAAgACAALcLMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAvwuAAMcLgACAAIAAgACAAIAAyguAAIAAgACAAIAA0QswADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAANkLgACAAIAA4AswADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACJCR4E6AswADAAhwHwC4AA+AsADAgMEAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMACAAIAAGAwdDCUMMAAwAC0MNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQw1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHPQwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADUHNQc1BzUHNQc1BzUHNQc2BzAAMAA5DDUHNQc1BzUHNQc1BzUHNQc1BzUHNQdFDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAATQxSDFoMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAF4AXgBeAF4AXgBeAF4AYgxeAGoMXgBxDHkMfwxeAIUMXgBeAI0MMAAwADAAMAAwAF4AXgCVDJ0MMAAwADAAMABeAF4ApQxeAKsMswy7DF4Awgy9DMoMXgBeAF4AXgBeAF4AXgBeAF4AXgDRDNkMeQBqCeAM3Ax8AOYM7Az0DPgMXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgCgAAANoAAHDQ4NFg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAeDSYNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAC4NMABeAF4ANg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAD4NRg1ODVYNXg1mDTAAbQ0wADAAMAAwADAAMAAwADAA2gbaBtoG2gbaBtoG2gbaBnUNeg3CBYANwgWFDdoGjA3aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gaUDZwNpA2oDdoG2gawDbcNvw3HDdoG2gbPDdYN3A3fDeYN2gbsDfMN2gbaBvoN/g3aBgYODg7aBl4AXgBeABYOXgBeACUG2gYeDl4AJA5eACwO2w3aBtoGMQ45DtoG2gbaBtoGQQ7aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B1EO2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQdZDjUHNQc1BzUHNQc1B2EONQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHaA41BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B3AO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B2EO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBkkOeA6gAKAAoAAwADAAMAAwAKAAoACgAKAAoACgAKAAgA4wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAD//wQABAAEAAQABAAEAAQABAAEAA0AAwABAAEAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAKABMAFwAeABsAGgAeABcAFgASAB4AGwAYAA8AGAAcAEsASwBLAEsASwBLAEsASwBLAEsAGAAYAB4AHgAeABMAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAFgAbABIAHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYADQARAB4ABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkAFgAaABsAGwAbAB4AHQAdAB4ATwAXAB4ADQAeAB4AGgAbAE8ATwAOAFAAHQAdAB0ATwBPABcATwBPAE8AFgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwArAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAAQABAANAA0ASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAUAArACsAKwArACsAKwArACsABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAGgAaAFAAUABQAFAAUABMAB4AGwBQAB4AKwArACsABAAEAAQAKwBQAFAAUABQAFAAUAArACsAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUAArAFAAUAArACsABAArAAQABAAEAAQABAArACsAKwArAAQABAArACsABAAEAAQAKwArACsABAArACsAKwArACsAKwArAFAAUABQAFAAKwBQACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwAEAAQAUABQAFAABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQAKwArAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeABsAKwArACsAKwArACsAKwBQAAQABAAEAAQABAAEACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAKwArACsAKwArACsAKwArAAQABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwAEAFAAKwBQAFAAUABQAFAAUAArACsAKwBQAFAAUAArAFAAUABQAFAAKwArACsAUABQACsAUAArAFAAUAArACsAKwBQAFAAKwArACsAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQAKwArACsABAAEAAQAKwAEAAQABAAEACsAKwBQACsAKwArACsAKwArAAQAKwArACsAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAB4AHgAeAB4AHgAeABsAHgArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArAFAAUABQACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAB4AUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArACsAKwArACsAKwArAFAAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwArAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAKwBcAFwAKwBcACsAKwBcACsAKwArACsAKwArAFwAXABcAFwAKwBcAFwAXABcAFwAXABcACsAXABcAFwAKwBcACsAXAArACsAXABcACsAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgArACoAKgBcACsAKwBcAFwAXABcAFwAKwBcACsAKgAqACoAKgAqACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAFwAXABcAFwAUAAOAA4ADgAOAB4ADgAOAAkADgAOAA0ACQATABMAEwATABMACQAeABMAHgAeAB4ABAAEAB4AHgAeAB4AHgAeAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUAANAAQAHgAEAB4ABAAWABEAFgARAAQABABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAAQABAAEAAQABAANAAQABABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsADQANAB4AHgAeAB4AHgAeAAQAHgAeAB4AHgAeAB4AKwAeAB4ADgAOAA0ADgAeAB4AHgAeAB4ACQAJACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgAeAB4AHgBcAFwAXABcAFwAXAAqACoAKgAqAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAKgAqACoAKgAqACoAKgBcAFwAXAAqACoAKgAqAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAXAAqAEsASwBLAEsASwBLAEsASwBLAEsAKgAqACoAKgAqACoAUABQAFAAUABQAFAAKwBQACsAKwArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQACsAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwAEAAQABAAeAA0AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAEQArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAADQANAA0AUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAA0ADQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoADQANABUAXAANAB4ADQAbAFwAKgArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAB4AHgATABMADQANAA4AHgATABMAHgAEAAQABAAJACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAUABQAFAAUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwAeACsAKwArABMAEwBLAEsASwBLAEsASwBLAEsASwBLAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwBcAFwAXABcAFwAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcACsAKwArACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwAeAB4AXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsABABLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKgAqACoAKgAqACoAKgBcACoAKgAqACoAKgAqACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAUABQAFAAUABQAFAAUAArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4ADQANAA0ADQAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAHgAeAB4AHgBQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwANAA0ADQANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwBQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsABAAEAAQAHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAABABQAFAAUABQAAQABAAEAFAAUAAEAAQABAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAKwBQACsAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAKwArAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAKwAeAB4AHgAeAB4AHgAeAA4AHgArAA0ADQANAA0ADQANAA0ACQANAA0ADQAIAAQACwAEAAQADQAJAA0ADQAMAB0AHQAeABcAFwAWABcAFwAXABYAFwAdAB0AHgAeABQAFAAUAA0AAQABAAQABAAEAAQABAAJABoAGgAaABoAGgAaABoAGgAeABcAFwAdABUAFQAeAB4AHgAeAB4AHgAYABYAEQAVABUAFQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgANAB4ADQANAA0ADQAeAA0ADQANAAcAHgAeAB4AHgArAAQABAAEAAQABAAEAAQABAAEAAQAUABQACsAKwBPAFAAUABQAFAAUAAeAB4AHgAWABEATwBQAE8ATwBPAE8AUABQAFAAUABQAB4AHgAeABYAEQArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGgAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgBQABoAHgAdAB4AUAAeABoAHgAeAB4AHgAeAB4AHgAeAB4ATwAeAFAAGwAeAB4AUABQAFAAUABQAB4AHgAeAB0AHQAeAFAAHgBQAB4AUAAeAFAATwBQAFAAHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AUABQAFAAUABPAE8AUABQAFAAUABQAE8AUABQAE8AUABPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAE8ATwBPAE8ATwBPAE8ATwBPAE8AUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAATwAeAB4AKwArACsAKwAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB0AHQAeAB4AHgAdAB0AHgAeAB0AHgAeAB4AHQAeAB0AGwAbAB4AHQAeAB4AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB0AHgAdAB4AHQAdAB0AHQAdAB0AHgAdAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAdAB0AHQAdAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAlACUAHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB0AHQAeAB4AHgAeAB0AHQAdAB4AHgAdAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB0AHQAeAB4AHQAeAB4AHgAeAB0AHQAeAB4AHgAeACUAJQAdAB0AJQAeACUAJQAlACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHQAdAB0AHgAdACUAHQAdAB4AHQAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHQAdAB0AHQAlAB4AJQAlACUAHQAlACUAHQAdAB0AJQAlAB0AHQAlAB0AHQAlACUAJQAeAB0AHgAeAB4AHgAdAB0AJQAdAB0AHQAdAB0AHQAlACUAJQAlACUAHQAlACUAIAAlAB0AHQAlACUAJQAlACUAJQAlACUAHgAeAB4AJQAlACAAIAAgACAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeABcAFwAXABcAFwAXAB4AEwATACUAHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACUAJQBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwArACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAE8ATwBPAE8ATwBPAE8ATwAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeACsAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUAArACsAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQBQAFAAUABQACsAKwArACsAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAABAAEAAQAKwAEAAQAKwArACsAKwArAAQABAAEAAQAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsABAAEAAQAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsADQANAA0ADQANAA0ADQANAB4AKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAUABQAFAAUABQAA0ADQANAA0ADQANABQAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwANAA0ADQANAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAeAAQABAAEAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLACsADQArAB4AKwArAAQABAAEAAQAUABQAB4AUAArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwAEAAQABAAEAAQABAAEAAQABAAOAA0ADQATABMAHgAeAB4ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0AUABQAFAAUAAEAAQAKwArAAQADQANAB4AUAArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXABcAA0ADQANACoASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUAArACsAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANACsADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEcARwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwAeAAQABAANAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAEAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUAArACsAUAArACsAUABQACsAKwBQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAeAB4ADQANAA0ADQAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAArAAQABAArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAEAAQABAAEAAQABAAEACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAFgAWAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAKwBQACsAKwArACsAKwArAFAAKwArACsAKwBQACsAUAArAFAAKwBQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQACsAUAArAFAAKwBQACsAUABQACsAUAArACsAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAUABQAFAAUAArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUAArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAlACUAJQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeACUAJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeACUAJQAlACUAJQAeACUAJQAlACUAJQAgACAAIAAlACUAIAAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIQAhACEAIQAhACUAJQAgACAAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAIAAlACUAJQAlACAAJQAgACAAIAAgACAAIAAgACAAIAAlACUAJQAgACUAJQAlACUAIAAgACAAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeACUAHgAlAB4AJQAlACUAJQAlACAAJQAlACUAJQAeACUAHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAIAAgACAAIAAgAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFwAXABcAFQAVABUAHgAeAB4AHgAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAlACAAIAAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsA",j=50,H=1,W=2,X=3,z=4,G=5,Z=7,ge=8,Q=9,we=10,Ee=11,Ae=12,Pe=13,Ge=14,gt=15,_e=16,Ce=17,lt=18,ce=19,Y=20,V=21,$=22,Te=23,ye=24,Fe=25,Oe=26,se=27,fe=28,Le=29,Je=30,mt=31,Ct=32,Ue=33,Rt=34,Ke=35,wt=36,Ye=37,et=38,rt=39,st=40,Ve=41,oe=42,re=43,it="!",Qe="\xD7",ve="\xF7",Zt=K(U),dt=[Je,wt],ct=[H,W,X,G],yt=[we,ge],_t=[se,Oe],or=ct.concat(yt),Pt=[et,rt,st,Rt,Ke],be=[gt,Pe],me=function(te,ke){ke===void 0&&(ke="strict");var Ze=[],Lt=[],tr=[];return te.forEach(function(vr,Or){var Hr=Zt.get(vr);if(Hr>j?(tr.push(!0),Hr-=j):tr.push(!1),["normal","auto","loose"].indexOf(ke)!==-1&&[8208,8211,12316,12448].indexOf(vr)!==-1)return Lt.push(Or),Ze.push(_e);if(Hr===z||Hr===Ee){if(Or===0)return Lt.push(Or),Ze.push(Je);var Kr=Ze[Or-1];return or.indexOf(Kr)===-1?(Lt.push(Lt[Or-1]),Ze.push(Kr)):(Lt.push(Or),Ze.push(Je))}if(Lt.push(Or),Hr===mt)return Ze.push(ke==="strict"?V:Ye);if(Hr===oe)return Ze.push(Je);if(Hr===Le)return Ze.push(Je);if(Hr===re)return vr>=131072&&vr<=196605||vr>=196608&&vr<=262141?Ze.push(Ye):Ze.push(Je);Ze.push(Hr)}),[Lt,Ze,tr]},pe=function(te,ke,Ze,Lt){var tr=Lt[Ze];if(Array.isArray(te)?te.indexOf(tr)!==-1:te===tr)for(var vr=Ze;vr<=Lt.length;){vr++;var Or=Lt[vr];if(Or===ke)return!0;if(Or!==we)break}if(tr===we)for(var vr=Ze;vr>0;){vr--;var Hr=Lt[vr];if(Array.isArray(te)?te.indexOf(Hr)!==-1:te===Hr)for(var Kr=Ze;Kr<=Lt.length;){Kr++;var Or=Lt[Kr];if(Or===ke)return!0;if(Or!==we)break}if(Hr!==we)break}return!1},ue=function(te,ke){for(var Ze=te;Ze>=0;){var Lt=ke[Ze];if(Lt===we)Ze--;else return Lt}return 0},De=function(te,ke,Ze,Lt,tr){if(Ze[Lt]===0)return Qe;var vr=Lt-1;if(Array.isArray(tr)&&tr[vr]===!0)return Qe;var Or=vr-1,Hr=vr+1,Kr=ke[vr],cn=Or>=0?ke[Or]:0,sn=ke[Hr];if(Kr===W&&sn===X)return Qe;if(ct.indexOf(Kr)!==-1)return it;if(ct.indexOf(sn)!==-1)return Qe;if(yt.indexOf(sn)!==-1)return Qe;if(ue(vr,ke)===ge)return ve;if(Zt.get(te[vr])===Ee&&(sn===Ye||sn===Ct||sn===Ue))return Qe;if(Kr===Z||sn===Z)return Qe;if(Kr===Q)return Qe;if([we,Pe,gt].indexOf(Kr)===-1&&sn===Q)return Qe;if([Ce,lt,ce,ye,fe].indexOf(sn)!==-1)return Qe;if(ue(vr,ke)===$)return Qe;if(pe(Te,$,vr,ke))return Qe;if(pe([Ce,lt],V,vr,ke))return Qe;if(pe(Ae,Ae,vr,ke))return Qe;if(Kr===we)return ve;if(Kr===Te||sn===Te)return Qe;if(sn===_e||Kr===_e)return ve;if([Pe,gt,V].indexOf(sn)!==-1||Kr===Ge)return Qe;if(cn===wt&&be.indexOf(Kr)!==-1)return Qe;if(Kr===fe&&sn===wt)return Qe;if(sn===Y&&dt.concat(Y,ce,Fe,Ye,Ct,Ue).indexOf(Kr)!==-1)return Qe;if(dt.indexOf(sn)!==-1&&Kr===Fe||dt.indexOf(Kr)!==-1&&sn===Fe)return Qe;if(Kr===se&&[Ye,Ct,Ue].indexOf(sn)!==-1||[Ye,Ct,Ue].indexOf(Kr)!==-1&&sn===Oe)return Qe;if(dt.indexOf(Kr)!==-1&&_t.indexOf(sn)!==-1||_t.indexOf(Kr)!==-1&&dt.indexOf(sn)!==-1)return Qe;if([se,Oe].indexOf(Kr)!==-1&&(sn===Fe||[$,gt].indexOf(sn)!==-1&&ke[Hr+1]===Fe)||[$,gt].indexOf(Kr)!==-1&&sn===Fe||Kr===Fe&&[Fe,fe,ye].indexOf(sn)!==-1)return Qe;if([Fe,fe,ye,Ce,lt].indexOf(sn)!==-1)for(var Fn=vr;Fn>=0;){var si=ke[Fn];if(si===Fe)return Qe;if([fe,ye].indexOf(si)!==-1)Fn--;else break}if([se,Oe].indexOf(sn)!==-1)for(var Fn=[Ce,lt].indexOf(Kr)!==-1?Or:vr;Fn>=0;){var si=ke[Fn];if(si===Fe)return Qe;if([fe,ye].indexOf(si)!==-1)Fn--;else break}if(et===Kr&&[et,rt,Rt,Ke].indexOf(sn)!==-1||[rt,Rt].indexOf(Kr)!==-1&&[rt,st].indexOf(sn)!==-1||[st,Ke].indexOf(Kr)!==-1&&sn===st)return Qe;if(Pt.indexOf(Kr)!==-1&&[Y,Oe].indexOf(sn)!==-1||Pt.indexOf(sn)!==-1&&Kr===se)return Qe;if(dt.indexOf(Kr)!==-1&&dt.indexOf(sn)!==-1)return Qe;if(Kr===ye&&dt.indexOf(sn)!==-1)return Qe;if(dt.concat(Fe).indexOf(Kr)!==-1&&sn===$||dt.concat(Fe).indexOf(sn)!==-1&&Kr===lt)return Qe;if(Kr===Ve&&sn===Ve){for(var Kn=Ze[vr],fi=1;Kn>0&&(Kn--,ke[Kn]===Ve);)fi++;if(fi%2!==0)return Qe}return Kr===Ct&&sn===Ue?Qe:ve},He=function(te,ke){ke||(ke={lineBreak:"normal",wordBreak:"normal"});var Ze=me(te,ke.lineBreak),Lt=Ze[0],tr=Ze[1],vr=Ze[2];(ke.wordBreak==="break-all"||ke.wordBreak==="break-word")&&(tr=tr.map(function(Hr){return[Fe,Je,oe].indexOf(Hr)!==-1?Ye:Hr}));var Or=ke.wordBreak==="keep-all"?vr.map(function(Hr,Kr){return Hr&&te[Kr]>=19968&&te[Kr]<=40959}):void 0;return[Lt,tr,Or]},ze=function(){function qe(te,ke,Ze,Lt){this.codePoints=te,this.required=ke===it,this.start=Ze,this.end=Lt}return qe.prototype.slice=function(){return r.apply(void 0,this.codePoints.slice(this.start,this.end))},qe}(),Xe=function(te,ke){var Ze=i(te),Lt=He(Ze,ke),tr=Lt[0],vr=Lt[1],Or=Lt[2],Hr=Ze.length,Kr=0,cn=0;return{next:function(){if(cn>=Hr)return{done:!0,value:null};for(var Fn=Qe;cn<Hr&&(Fn=De(Ze,vr,tr,++cn,Or))===Qe;);if(Fn!==Qe||cn===Hr){var si=new ze(Ze,Fn,Kr,cn);return Kr=cn,{value:si,done:!1}}return{done:!0,value:null}}}},Be;(function(qe){qe[qe.STRING_TOKEN=0]="STRING_TOKEN",qe[qe.BAD_STRING_TOKEN=1]="BAD_STRING_TOKEN",qe[qe.LEFT_PARENTHESIS_TOKEN=2]="LEFT_PARENTHESIS_TOKEN",qe[qe.RIGHT_PARENTHESIS_TOKEN=3]="RIGHT_PARENTHESIS_TOKEN",qe[qe.COMMA_TOKEN=4]="COMMA_TOKEN",qe[qe.HASH_TOKEN=5]="HASH_TOKEN",qe[qe.DELIM_TOKEN=6]="DELIM_TOKEN",qe[qe.AT_KEYWORD_TOKEN=7]="AT_KEYWORD_TOKEN",qe[qe.PREFIX_MATCH_TOKEN=8]="PREFIX_MATCH_TOKEN",qe[qe.DASH_MATCH_TOKEN=9]="DASH_MATCH_TOKEN",qe[qe.INCLUDE_MATCH_TOKEN=10]="INCLUDE_MATCH_TOKEN",qe[qe.LEFT_CURLY_BRACKET_TOKEN=11]="LEFT_CURLY_BRACKET_TOKEN",qe[qe.RIGHT_CURLY_BRACKET_TOKEN=12]="RIGHT_CURLY_BRACKET_TOKEN",qe[qe.SUFFIX_MATCH_TOKEN=13]="SUFFIX_MATCH_TOKEN",qe[qe.SUBSTRING_MATCH_TOKEN=14]="SUBSTRING_MATCH_TOKEN",qe[qe.DIMENSION_TOKEN=15]="DIMENSION_TOKEN",qe[qe.PERCENTAGE_TOKEN=16]="PERCENTAGE_TOKEN",qe[qe.NUMBER_TOKEN=17]="NUMBER_TOKEN",qe[qe.FUNCTION=18]="FUNCTION",qe[qe.FUNCTION_TOKEN=19]="FUNCTION_TOKEN",qe[qe.IDENT_TOKEN=20]="IDENT_TOKEN",qe[qe.COLUMN_TOKEN=21]="COLUMN_TOKEN",qe[qe.URL_TOKEN=22]="URL_TOKEN",qe[qe.BAD_URL_TOKEN=23]="BAD_URL_TOKEN",qe[qe.CDC_TOKEN=24]="CDC_TOKEN",qe[qe.CDO_TOKEN=25]="CDO_TOKEN",qe[qe.COLON_TOKEN=26]="COLON_TOKEN",qe[qe.SEMICOLON_TOKEN=27]="SEMICOLON_TOKEN",qe[qe.LEFT_SQUARE_BRACKET_TOKEN=28]="LEFT_SQUARE_BRACKET_TOKEN",qe[qe.RIGHT_SQUARE_BRACKET_TOKEN=29]="RIGHT_SQUARE_BRACKET_TOKEN",qe[qe.UNICODE_RANGE_TOKEN=30]="UNICODE_RANGE_TOKEN",qe[qe.WHITESPACE_TOKEN=31]="WHITESPACE_TOKEN",qe[qe.EOF_TOKEN=32]="EOF_TOKEN"})(Be||(Be={}));var nt=1<<0,At=1<<1,It=1<<2,ae=1<<3,he=10,q=47,ne=92,Se=9,Ne=32,Me=34,$e=61,vt=35,Wt=36,$t=37,Dt=39,Kt=40,Gt=41,Qt=95,Mt=45,dr=33,er=60,ot=62,xt=64,ut=91,ft=93,Ot=61,Tt=123,ht=63,Ht=125,Ft=124,ir=126,Xt=128,mr=65533,Ar=42,Nr=43,Fr=44,tn=58,qr=59,Lr=46,Qr=0,_r=8,ur=11,pr=14,cr=31,fr=127,xr=-1,Yr=48,un=97,Nn=101,jr=102,Tn=117,gn=122,Bn=65,zn=69,qn=70,Yn=85,Vn=90,An=function(te){return te>=Yr&&te<=57},on=function(te){return te>=55296&&te<=57343},ia=function(te){return An(te)||te>=Bn&&te<=qn||te>=un&&te<=jr},xa=function(te){return te>=un&&te<=gn},ta=function(te){return te>=Bn&&te<=Vn},_i=function(te){return xa(te)||ta(te)},Ci=function(te){return te>=Xt},Gn=function(te){return te===he||te===Se||te===Ne},Ia=function(te){return _i(te)||Ci(te)||te===Qt},mn=function(te){return Ia(te)||An(te)||te===Mt},In=function(te){return te>=Qr&&te<=_r||te===ur||te>=pr&&te<=cr||te===fr},Ln=function(te,ke){return te!==ne?!1:ke!==he},_n=function(te,ke,Ze){return te===Mt?Ia(ke)||Ln(ke,Ze):Ia(te)?!0:!!(te===ne&&Ln(te,ke))},jn=function(te,ke,Ze){return te===Nr||te===Mt?An(ke)?!0:ke===Lr&&An(Ze):te===Lr?An(ke):An(te)},ni=function(te){var ke=0,Ze=1;(te[ke]===Nr||te[ke]===Mt)&&(te[ke]===Mt&&(Ze=-1),ke++);for(var Lt=[];An(te[ke]);)Lt.push(te[ke++]);var tr=Lt.length?parseInt(r.apply(void 0,Lt),10):0;te[ke]===Lr&&ke++;for(var vr=[];An(te[ke]);)vr.push(te[ke++]);var Or=vr.length,Hr=Or?parseInt(r.apply(void 0,vr),10):0;(te[ke]===zn||te[ke]===Nn)&&ke++;var Kr=1;(te[ke]===Nr||te[ke]===Mt)&&(te[ke]===Mt&&(Kr=-1),ke++);for(var cn=[];An(te[ke]);)cn.push(te[ke++]);var sn=cn.length?parseInt(r.apply(void 0,cn),10):0;return Ze*(tr+Hr*Math.pow(10,-Or))*Math.pow(10,Kr*sn)},di={type:Be.LEFT_PARENTHESIS_TOKEN},Na={type:Be.RIGHT_PARENTHESIS_TOKEN},Qi={type:Be.COMMA_TOKEN},ma={type:Be.SUFFIX_MATCH_TOKEN},Pa={type:Be.PREFIX_MATCH_TOKEN},Qa={type:Be.COLUMN_TOKEN},Wi={type:Be.DASH_MATCH_TOKEN},Co={type:Be.INCLUDE_MATCH_TOKEN},aa={type:Be.LEFT_CURLY_BRACKET_TOKEN},Hi={type:Be.RIGHT_CURLY_BRACKET_TOKEN},ga={type:Be.SUBSTRING_MATCH_TOKEN},ha={type:Be.BAD_URL_TOKEN},mo={type:Be.BAD_STRING_TOKEN},kn={type:Be.CDO_TOKEN},$i={type:Be.CDC_TOKEN},eo={type:Be.COLON_TOKEN},To={type:Be.SEMICOLON_TOKEN},uo={type:Be.LEFT_SQUARE_BRACKET_TOKEN},rr={type:Be.RIGHT_SQUARE_BRACKET_TOKEN},Tr={type:Be.WHITESPACE_TOKEN},Br={type:Be.EOF_TOKEN},Wr=function(){function qe(){this._value=[]}return qe.prototype.write=function(te){this._value=this._value.concat(i(te))},qe.prototype.read=function(){for(var te=[],ke=this.consumeToken();ke!==Br;)te.push(ke),ke=this.consumeToken();return te},qe.prototype.consumeToken=function(){var te=this.consumeCodePoint();switch(te){case Me:return this.consumeStringToken(Me);case vt:var ke=this.peekCodePoint(0),Ze=this.peekCodePoint(1),Lt=this.peekCodePoint(2);if(mn(ke)||Ln(Ze,Lt)){var tr=_n(ke,Ze,Lt)?At:nt,vr=this.consumeName();return{type:Be.HASH_TOKEN,value:vr,flags:tr}}break;case Wt:if(this.peekCodePoint(0)===$e)return this.consumeCodePoint(),ma;break;case Dt:return this.consumeStringToken(Dt);case Kt:return di;case Gt:return Na;case Ar:if(this.peekCodePoint(0)===$e)return this.consumeCodePoint(),ga;break;case Nr:if(jn(te,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(te),this.consumeNumericToken();break;case Fr:return Qi;case Mt:var Or=te,Hr=this.peekCodePoint(0),Kr=this.peekCodePoint(1);if(jn(Or,Hr,Kr))return this.reconsumeCodePoint(te),this.consumeNumericToken();if(_n(Or,Hr,Kr))return this.reconsumeCodePoint(te),this.consumeIdentLikeToken();if(Hr===Mt&&Kr===ot)return this.consumeCodePoint(),this.consumeCodePoint(),$i;break;case Lr:if(jn(te,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(te),this.consumeNumericToken();break;case q:if(this.peekCodePoint(0)===Ar)for(this.consumeCodePoint();;){var cn=this.consumeCodePoint();if(cn===Ar&&(cn=this.consumeCodePoint(),cn===q))return this.consumeToken();if(cn===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(),kn;break;case xt:var sn=this.peekCodePoint(0),Fn=this.peekCodePoint(1),si=this.peekCodePoint(2);if(_n(sn,Fn,si)){var vr=this.consumeName();return{type:Be.AT_KEYWORD_TOKEN,value:vr}}break;case ut:return uo;case ne:if(Ln(te,this.peekCodePoint(0)))return this.reconsumeCodePoint(te),this.consumeIdentLikeToken();break;case ft:return rr;case Ot:if(this.peekCodePoint(0)===$e)return this.consumeCodePoint(),Pa;break;case Tt:return aa;case Ht:return Hi;case Tn:case Yn:var Kn=this.peekCodePoint(0),fi=this.peekCodePoint(1);return Kn===Nr&&(ia(fi)||fi===ht)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(te),this.consumeIdentLikeToken();case Ft:if(this.peekCodePoint(0)===$e)return this.consumeCodePoint(),Wi;if(this.peekCodePoint(0)===Ft)return this.consumeCodePoint(),Qa;break;case ir:if(this.peekCodePoint(0)===$e)return this.consumeCodePoint(),Co;break;case xr:return Br}return Gn(te)?(this.consumeWhiteSpace(),Tr):An(te)?(this.reconsumeCodePoint(te),this.consumeNumericToken()):Ia(te)?(this.reconsumeCodePoint(te),this.consumeIdentLikeToken()):{type:Be.DELIM_TOKEN,value:r(te)}},qe.prototype.consumeCodePoint=function(){var te=this._value.shift();return typeof te=="undefined"?-1:te},qe.prototype.reconsumeCodePoint=function(te){this._value.unshift(te)},qe.prototype.peekCodePoint=function(te){return te>=this._value.length?-1:this._value[te]},qe.prototype.consumeUnicodeRangeToken=function(){for(var te=[],ke=this.consumeCodePoint();ia(ke)&&te.length<6;)te.push(ke),ke=this.consumeCodePoint();for(var Ze=!1;ke===ht&&te.length<6;)te.push(ke),ke=this.consumeCodePoint(),Ze=!0;if(Ze){var Lt=parseInt(r.apply(void 0,te.map(function(Hr){return Hr===ht?Yr:Hr})),16),tr=parseInt(r.apply(void 0,te.map(function(Hr){return Hr===ht?qn:Hr})),16);return{type:Be.UNICODE_RANGE_TOKEN,start:Lt,end:tr}}var vr=parseInt(r.apply(void 0,te),16);if(this.peekCodePoint(0)===Mt&&ia(this.peekCodePoint(1))){this.consumeCodePoint(),ke=this.consumeCodePoint();for(var Or=[];ia(ke)&&Or.length<6;)Or.push(ke),ke=this.consumeCodePoint();var tr=parseInt(r.apply(void 0,Or),16);return{type:Be.UNICODE_RANGE_TOKEN,start:vr,end:tr}}else return{type:Be.UNICODE_RANGE_TOKEN,start:vr,end:vr}},qe.prototype.consumeIdentLikeToken=function(){var te=this.consumeName();return te.toLowerCase()==="url"&&this.peekCodePoint(0)===Kt?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Kt?(this.consumeCodePoint(),{type:Be.FUNCTION_TOKEN,value:te}):{type:Be.IDENT_TOKEN,value:te}},qe.prototype.consumeUrlToken=function(){var te=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===xr)return{type:Be.URL_TOKEN,value:""};var ke=this.peekCodePoint(0);if(ke===Dt||ke===Me){var Ze=this.consumeStringToken(this.consumeCodePoint());return Ze.type===Be.STRING_TOKEN&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===xr||this.peekCodePoint(0)===Gt)?(this.consumeCodePoint(),{type:Be.URL_TOKEN,value:Ze.value}):(this.consumeBadUrlRemnants(),ha)}for(;;){var Lt=this.consumeCodePoint();if(Lt===xr||Lt===Gt)return{type:Be.URL_TOKEN,value:r.apply(void 0,te)};if(Gn(Lt))return this.consumeWhiteSpace(),this.peekCodePoint(0)===xr||this.peekCodePoint(0)===Gt?(this.consumeCodePoint(),{type:Be.URL_TOKEN,value:r.apply(void 0,te)}):(this.consumeBadUrlRemnants(),ha);if(Lt===Me||Lt===Dt||Lt===Kt||In(Lt))return this.consumeBadUrlRemnants(),ha;if(Lt===ne)if(Ln(Lt,this.peekCodePoint(0)))te.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ha;else te.push(Lt)}},qe.prototype.consumeWhiteSpace=function(){for(;Gn(this.peekCodePoint(0));)this.consumeCodePoint()},qe.prototype.consumeBadUrlRemnants=function(){for(;;){var te=this.consumeCodePoint();if(te===Gt||te===xr)return;Ln(te,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},qe.prototype.consumeStringSlice=function(te){for(var ke=6e4,Ze="";te>0;){var Lt=Math.min(ke,te);Ze+=r.apply(void 0,this._value.splice(0,Lt)),te-=Lt}return this._value.shift(),Ze},qe.prototype.consumeStringToken=function(te){var ke="",Ze=0;do{var Lt=this._value[Ze];if(Lt===xr||Lt===void 0||Lt===te)return ke+=this.consumeStringSlice(Ze),{type:Be.STRING_TOKEN,value:ke};if(Lt===he)return this._value.splice(0,Ze),mo;if(Lt===ne){var tr=this._value[Ze+1];tr!==xr&&tr!==void 0&&(tr===he?(ke+=this.consumeStringSlice(Ze),Ze=-1,this._value.shift()):Ln(Lt,tr)&&(ke+=this.consumeStringSlice(Ze),ke+=r(this.consumeEscapedCodePoint()),Ze=-1))}Ze++}while(!0)},qe.prototype.consumeNumber=function(){var te=[],ke=It,Ze=this.peekCodePoint(0);for((Ze===Nr||Ze===Mt)&&te.push(this.consumeCodePoint());An(this.peekCodePoint(0));)te.push(this.consumeCodePoint());Ze=this.peekCodePoint(0);var Lt=this.peekCodePoint(1);if(Ze===Lr&&An(Lt))for(te.push(this.consumeCodePoint(),this.consumeCodePoint()),ke=ae;An(this.peekCodePoint(0));)te.push(this.consumeCodePoint());Ze=this.peekCodePoint(0),Lt=this.peekCodePoint(1);var tr=this.peekCodePoint(2);if((Ze===zn||Ze===Nn)&&((Lt===Nr||Lt===Mt)&&An(tr)||An(Lt)))for(te.push(this.consumeCodePoint(),this.consumeCodePoint()),ke=ae;An(this.peekCodePoint(0));)te.push(this.consumeCodePoint());return[ni(te),ke]},qe.prototype.consumeNumericToken=function(){var te=this.consumeNumber(),ke=te[0],Ze=te[1],Lt=this.peekCodePoint(0),tr=this.peekCodePoint(1),vr=this.peekCodePoint(2);if(_n(Lt,tr,vr)){var Or=this.consumeName();return{type:Be.DIMENSION_TOKEN,number:ke,flags:Ze,unit:Or}}return Lt===$t?(this.consumeCodePoint(),{type:Be.PERCENTAGE_TOKEN,number:ke,flags:Ze}):{type:Be.NUMBER_TOKEN,number:ke,flags:Ze}},qe.prototype.consumeEscapedCodePoint=function(){var te=this.consumeCodePoint();if(ia(te)){for(var ke=r(te);ia(this.peekCodePoint(0))&&ke.length<6;)ke+=r(this.consumeCodePoint());Gn(this.peekCodePoint(0))&&this.consumeCodePoint();var Ze=parseInt(ke,16);return Ze===0||on(Ze)||Ze>1114111?mr:Ze}return te===xr?mr:te},qe.prototype.consumeName=function(){for(var te="";;){var ke=this.consumeCodePoint();if(mn(ke))te+=r(ke);else if(Ln(ke,this.peekCodePoint(0)))te+=r(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(ke),te}},qe}(),hn=function(){function qe(te){this._tokens=te}return qe.create=function(te){var ke=new Wr;return ke.write(te),new qe(ke.read())},qe.parseValue=function(te){return qe.create(te).parseComponentValue()},qe.parseValues=function(te){return qe.create(te).parseComponentValues()},qe.prototype.parseComponentValue=function(){for(var te=this.consumeToken();te.type===Be.WHITESPACE_TOKEN;)te=this.consumeToken();if(te.type===Be.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(te);var ke=this.consumeComponentValue();do te=this.consumeToken();while(te.type===Be.WHITESPACE_TOKEN);if(te.type===Be.EOF_TOKEN)return ke;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},qe.prototype.parseComponentValues=function(){for(var te=[];;){var ke=this.consumeComponentValue();if(ke.type===Be.EOF_TOKEN)return te;te.push(ke),te.push()}},qe.prototype.consumeComponentValue=function(){var te=this.consumeToken();switch(te.type){case Be.LEFT_CURLY_BRACKET_TOKEN:case Be.LEFT_SQUARE_BRACKET_TOKEN:case Be.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(te.type);case Be.FUNCTION_TOKEN:return this.consumeFunction(te)}return te},qe.prototype.consumeSimpleBlock=function(te){for(var ke={type:te,values:[]},Ze=this.consumeToken();;){if(Ze.type===Be.EOF_TOKEN||Jr(Ze,te))return ke;this.reconsumeToken(Ze),ke.values.push(this.consumeComponentValue()),Ze=this.consumeToken()}},qe.prototype.consumeFunction=function(te){for(var ke={name:te.value,values:[],type:Be.FUNCTION};;){var Ze=this.consumeToken();if(Ze.type===Be.EOF_TOKEN||Ze.type===Be.RIGHT_PARENTHESIS_TOKEN)return ke;this.reconsumeToken(Ze),ke.values.push(this.consumeComponentValue())}},qe.prototype.consumeToken=function(){var te=this._tokens.shift();return typeof te=="undefined"?Br:te},qe.prototype.reconsumeToken=function(te){this._tokens.unshift(te)},qe}(),tt=function(te){return te.type===Be.DIMENSION_TOKEN},jt=function(te){return te.type===Be.NUMBER_TOKEN},Jt=function(te){return te.type===Be.IDENT_TOKEN},nr=function(te){return te.type===Be.STRING_TOKEN},Ir=function(te,ke){return Jt(te)&&te.value===ke},wr=function(te){return te.type!==Be.WHITESPACE_TOKEN},Er=function(te){return te.type!==Be.WHITESPACE_TOKEN&&te.type!==Be.COMMA_TOKEN},zr=function(te){var ke=[],Ze=[];return te.forEach(function(Lt){if(Lt.type===Be.COMMA_TOKEN){if(Ze.length===0)throw new Error("Error parsing function args, zero tokens for arg");ke.push(Ze),Ze=[];return}Lt.type!==Be.WHITESPACE_TOKEN&&Ze.push(Lt)}),Ze.length&&ke.push(Ze),ke},Jr=function(te,ke){return ke===Be.LEFT_CURLY_BRACKET_TOKEN&&te.type===Be.RIGHT_CURLY_BRACKET_TOKEN||ke===Be.LEFT_SQUARE_BRACKET_TOKEN&&te.type===Be.RIGHT_SQUARE_BRACKET_TOKEN?!0:ke===Be.LEFT_PARENTHESIS_TOKEN&&te.type===Be.RIGHT_PARENTHESIS_TOKEN},Zr=function(te){return te.type===Be.NUMBER_TOKEN||te.type===Be.DIMENSION_TOKEN},an=function(te){return te.type===Be.PERCENTAGE_TOKEN||Zr(te)},St=function(te){return te.length>1?[te[0],te[1]]:[te[0]]},Vt={type:Be.NUMBER_TOKEN,number:0,flags:It},sr={type:Be.PERCENTAGE_TOKEN,number:50,flags:It},br={type:Be.PERCENTAGE_TOKEN,number:100,flags:It},Mr=function(te,ke,Ze){var Lt=te[0],tr=te[1];return[Dr(Lt,ke),Dr(typeof tr!="undefined"?tr:Lt,Ze)]},Dr=function(te,ke){if(te.type===Be.PERCENTAGE_TOKEN)return te.number/100*ke;if(tt(te))switch(te.unit){case"rem":case"em":return 16*te.number;case"px":default:return te.number}return te.number},rn="deg",fn="grad",wn="rad",Hn="turn",Sn={name:"angle",parse:function(te){if(te.type===Be.DIMENSION_TOKEN)switch(te.unit){case rn:return Math.PI*te.number/180;case fn:return Math.PI/200*te.number;case wn:return te.number;case Hn:return Math.PI*2*te.number}throw new Error("Unsupported angle type")}},bn=function(te){return te.type===Be.DIMENSION_TOKEN&&(te.unit===rn||te.unit===fn||te.unit===wn||te.unit===Hn)},Mn=function(te){var ke=te.filter(Jt).map(function(Ze){return Ze.value}).join(" ");switch(ke){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(te){return Math.PI*te/180},Rn={name:"color",parse:function(te){if(te.type===Be.FUNCTION){var ke=xi[te.name];if(typeof ke=="undefined")throw new Error('Attempting to parse an unsupported color function "'+te.name+'"');return ke(te.values)}if(te.type===Be.HASH_TOKEN){if(te.value.length===3){var Ze=te.value.substring(0,1),Lt=te.value.substring(1,2),tr=te.value.substring(2,3);return Xn(parseInt(Ze+Ze,16),parseInt(Lt+Lt,16),parseInt(tr+tr,16),1)}if(te.value.length===4){var Ze=te.value.substring(0,1),Lt=te.value.substring(1,2),tr=te.value.substring(2,3),vr=te.value.substring(3,4);return Xn(parseInt(Ze+Ze,16),parseInt(Lt+Lt,16),parseInt(tr+tr,16),parseInt(vr+vr,16)/255)}if(te.value.length===6){var Ze=te.value.substring(0,2),Lt=te.value.substring(2,4),tr=te.value.substring(4,6);return Xn(parseInt(Ze,16),parseInt(Lt,16),parseInt(tr,16),1)}if(te.value.length===8){var Ze=te.value.substring(0,2),Lt=te.value.substring(2,4),tr=te.value.substring(4,6),vr=te.value.substring(6,8);return Xn(parseInt(Ze,16),parseInt(Lt,16),parseInt(tr,16),parseInt(vr,16)/255)}}if(te.type===Be.IDENT_TOKEN){var Or=Li[te.value.toUpperCase()];if(typeof Or!="undefined")return Or}return Li.TRANSPARENT}},En=function(te){return(255&te)===0},On=function(te){var ke=255&te,Ze=255&te>>8,Lt=255&te>>16,tr=255&te>>24;return ke<255?"rgba("+tr+","+Lt+","+Ze+","+ke/255+")":"rgb("+tr+","+Lt+","+Ze+")"},Xn=function(te,ke,Ze,Lt){return(te<<24|ke<<16|Ze<<8|Math.round(Lt*255)<<0)>>>0},ai=function(te,ke){if(te.type===Be.NUMBER_TOKEN)return te.number;if(te.type===Be.PERCENTAGE_TOKEN){var Ze=ke===3?1:255;return ke===3?te.number/100*Ze:Math.round(te.number/100*Ze)}return 0},ri=function(te){var ke=te.filter(Er);if(ke.length===3){var Ze=ke.map(ai),Lt=Ze[0],tr=Ze[1],vr=Ze[2];return Xn(Lt,tr,vr,1)}if(ke.length===4){var Or=ke.map(ai),Lt=Or[0],tr=Or[1],vr=Or[2],Hr=Or[3];return Xn(Lt,tr,vr,Hr)}return 0};function Di(qe,te,ke){return ke<0&&(ke+=1),ke>=1&&(ke-=1),ke<1/6?(te-qe)*ke*6+qe:ke<1/2?te:ke<2/3?(te-qe)*6*(2/3-ke)+qe:qe}var yi=function(te){var ke=te.filter(Er),Ze=ke[0],Lt=ke[1],tr=ke[2],vr=ke[3],Or=(Ze.type===Be.NUMBER_TOKEN?vn(Ze.number):Sn.parse(Ze))/(Math.PI*2),Hr=an(Lt)?Lt.number/100:0,Kr=an(tr)?tr.number/100:0,cn=typeof vr!="undefined"&&an(vr)?Dr(vr,1):1;if(Hr===0)return Xn(Kr*255,Kr*255,Kr*255,1);var sn=Kr<=.5?Kr*(Hr+1):Kr+Hr-Kr*Hr,Fn=Kr*2-sn,si=Di(Fn,sn,Or+1/3),Kn=Di(Fn,sn,Or),fi=Di(Fn,sn,Or-1/3);return Xn(si*255,Kn*255,fi*255,cn)},xi={hsl:yi,hsla:yi,rgb:ri,rgba:ri},Li={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(qe){qe[qe.VALUE=0]="VALUE",qe[qe.LIST=1]="LIST",qe[qe.IDENT_VALUE=2]="IDENT_VALUE",qe[qe.TYPE_VALUE=3]="TYPE_VALUE",qe[qe.TOKEN_VALUE=4]="TOKEN_VALUE"})(Un||(Un={}));var Ri;(function(qe){qe[qe.BORDER_BOX=0]="BORDER_BOX",qe[qe.PADDING_BOX=1]="PADDING_BOX",qe[qe.CONTENT_BOX=2]="CONTENT_BOX"})(Ri||(Ri={}));var fa={name:"background-clip",initialValue:"border-box",prefix:!1,type:Un.LIST,parse:function(te){return te.map(function(ke){if(Jt(ke))switch(ke.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(te){var ke=Rn.parse(te[0]),Ze=te[1];return Ze&&an(Ze)?{color:ke,stop:Ze}:{color:ke,stop:null}},mi=function(te,ke){var Ze=te[0],Lt=te[te.length-1];Ze.stop===null&&(Ze.stop=Vt),Lt.stop===null&&(Lt.stop=br);for(var tr=[],vr=0,Or=0;Or<te.length;Or++){var Hr=te[Or].stop;if(Hr!==null){var Kr=Dr(Hr,ke);Kr>vr?tr.push(Kr):tr.push(vr),vr=Kr}else tr.push(null)}for(var cn=null,Or=0;Or<tr.length;Or++){var sn=tr[Or];if(sn===null)cn===null&&(cn=Or);else if(cn!==null){for(var Fn=Or-cn,si=tr[cn-1],Kn=(sn-si)/(Fn+1),fi=1;fi<=Fn;fi++)tr[cn+fi-1]=Kn*fi;cn=null}}return te.map(function(da,Ti){var na=da.color;return{color:na,stop:Math.max(Math.min(1,tr[Ti]/ke),0)}})},hi=function(te,ke,Ze){var Lt=ke/2,tr=Ze/2,vr=Dr(te[0],ke)-Lt,Or=tr-Dr(te[1],Ze);return(Math.atan2(Or,vr)+Math.PI*2)%(Math.PI*2)},qi=function(te,ke,Ze){var Lt=typeof te=="number"?te:hi(te,ke,Ze),tr=Math.abs(ke*Math.sin(Lt))+Math.abs(Ze*Math.cos(Lt)),vr=ke/2,Or=Ze/2,Hr=tr/2,Kr=Math.sin(Lt-Math.PI/2)*Hr,cn=Math.cos(Lt-Math.PI/2)*Hr;return[tr,vr-cn,vr+cn,Or-Kr,Or+Kr]},va=function(te,ke){return Math.sqrt(te*te+ke*ke)},Ea=function(te,ke,Ze,Lt,tr){var vr=[[0,0],[0,ke],[te,0],[te,ke]];return vr.reduce(function(Or,Hr){var Kr=Hr[0],cn=Hr[1],sn=va(Ze-Kr,Lt-cn);return(tr?sn<Or.optimumDistance:sn>Or.optimumDistance)?{optimumCorner:Hr,optimumDistance:sn}:Or},{optimumDistance:tr?Infinity:-Infinity,optimumCorner:null}).optimumCorner},ya=function(te,ke,Ze,Lt,tr){var vr=0,Or=0;switch(te.size){case Fi.CLOSEST_SIDE:te.shape===Oa.CIRCLE?vr=Or=Math.min(Math.abs(ke),Math.abs(ke-Lt),Math.abs(Ze),Math.abs(Ze-tr)):te.shape===Oa.ELLIPSE&&(vr=Math.min(Math.abs(ke),Math.abs(ke-Lt)),Or=Math.min(Math.abs(Ze),Math.abs(Ze-tr)));break;case Fi.CLOSEST_CORNER:if(te.shape===Oa.CIRCLE)vr=Or=Math.min(va(ke,Ze),va(ke,Ze-tr),va(ke-Lt,Ze),va(ke-Lt,Ze-tr));else if(te.shape===Oa.ELLIPSE){var Hr=Math.min(Math.abs(Ze),Math.abs(Ze-tr))/Math.min(Math.abs(ke),Math.abs(ke-Lt)),Kr=Ea(Lt,tr,ke,Ze,!0),cn=Kr[0],sn=Kr[1];vr=va(cn-ke,(sn-Ze)/Hr),Or=Hr*vr}break;case Fi.FARTHEST_SIDE:te.shape===Oa.CIRCLE?vr=Or=Math.max(Math.abs(ke),Math.abs(ke-Lt),Math.abs(Ze),Math.abs(Ze-tr)):te.shape===Oa.ELLIPSE&&(vr=Math.max(Math.abs(ke),Math.abs(ke-Lt)),Or=Math.max(Math.abs(Ze),Math.abs(Ze-tr)));break;case Fi.FARTHEST_CORNER:if(te.shape===Oa.CIRCLE)vr=Or=Math.max(va(ke,Ze),va(ke,Ze-tr),va(ke-Lt,Ze),va(ke-Lt,Ze-tr));else if(te.shape===Oa.ELLIPSE){var Hr=Math.max(Math.abs(Ze),Math.abs(Ze-tr))/Math.max(Math.abs(ke),Math.abs(ke-Lt)),Fn=Ea(Lt,tr,ke,Ze,!1),cn=Fn[0],sn=Fn[1];vr=va(cn-ke,(sn-Ze)/Hr),Or=Hr*vr}break}return Array.isArray(te.size)&&(vr=Dr(te.size[0],Lt),Or=te.size.length===2?Dr(te.size[1],tr):vr),[vr,Or]},oa=function(te){var ke=vn(180),Ze=[];return zr(te).forEach(function(Lt,tr){if(tr===0){var vr=Lt[0];if(vr.type===Be.IDENT_TOKEN&&vr.value==="to"){ke=Mn(Lt);return}else if(bn(vr)){ke=Sn.parse(vr);return}}var Or=Mi(Lt);Ze.push(Or)}),{angle:ke,stops:Ze,type:Ca.LINEAR_GRADIENT}},sa=function(te){var ke=vn(180),Ze=[];return zr(te).forEach(function(Lt,tr){if(tr===0){var vr=Lt[0];if(vr.type===Be.IDENT_TOKEN&&["top","left","right","bottom"].indexOf(vr.value)!==-1){ke=Mn(Lt);return}else if(bn(vr)){ke=(Sn.parse(vr)+vn(270))%vn(360);return}}var Or=Mi(Lt);Ze.push(Or)}),{angle:ke,stops:Ze,type:Ca.LINEAR_GRADIENT}},Ni=function(te){var ke=123;if(te.createRange){var Ze=te.createRange();if(Ze.getBoundingClientRect){var Lt=te.createElement("boundtest");Lt.style.height=ke+"px",Lt.style.display="block",te.body.appendChild(Lt),Ze.selectNode(Lt);var tr=Ze.getBoundingClientRect(),vr=Math.round(tr.height);if(te.body.removeChild(Lt),vr===ke)return!0}}return!1},$n=function(){return typeof new Image().crossOrigin!="undefined"},Ai=function(){return typeof new XMLHttpRequest().responseType=="string"},Oi=function(te){var ke=new Image,Ze=te.createElement("canvas"),Lt=Ze.getContext("2d");if(!Lt)return!1;ke.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{Lt.drawImage(ke,0,0),Ze.toDataURL()}catch(tr){return!1}return!0},Vi=function(te){return te[0]===0&&te[1]===255&&te[2]===0&&te[3]===255},Xi=function(te){var ke=te.createElement("canvas"),Ze=100;ke.width=Ze,ke.height=Ze;var Lt=ke.getContext("2d");if(!Lt)return Promise.reject(!1);Lt.fillStyle="rgb(0, 255, 0)",Lt.fillRect(0,0,Ze,Ze);var tr=new Image,vr=ke.toDataURL();tr.src=vr;var Or=bi(Ze,Ze,0,0,tr);return Lt.fillStyle="red",Lt.fillRect(0,0,Ze,Ze),Aa(Or).then(function(Hr){Lt.drawImage(Hr,0,0);var Kr=Lt.getImageData(0,0,Ze,Ze).data;Lt.fillStyle="red",Lt.fillRect(0,0,Ze,Ze);var cn=te.createElement("div");return cn.style.backgroundImage="url("+vr+")",cn.style.height=Ze+"px",Vi(Kr)?Aa(bi(Ze,Ze,0,0,cn)):Promise.reject(!1)}).then(function(Hr){return Lt.drawImage(Hr,0,0),Vi(Lt.getImageData(0,0,Ze,Ze).data)}).catch(function(){return!1})},bi=function(te,ke,Ze,Lt,tr){var vr="http://www.w3.org/2000/svg",Or=document.createElementNS(vr,"svg"),Hr=document.createElementNS(vr,"foreignObject");return Or.setAttributeNS(null,"width",te.toString()),Or.setAttributeNS(null,"height",ke.toString()),Hr.setAttributeNS(null,"width","100%"),Hr.setAttributeNS(null,"height","100%"),Hr.setAttributeNS(null,"x",Ze.toString()),Hr.setAttributeNS(null,"y",Lt.toString()),Hr.setAttributeNS(null,"externalResourcesRequired","true"),Or.appendChild(Hr),Hr.appendChild(tr),Or},Aa=function(te){return new Promise(function(ke,Ze){var Lt=new Image;Lt.onload=function(){return ke(Lt)},Lt.onerror=Ze,Lt.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(te))})},ca={get SUPPORT_RANGE_BOUNDS(){var qe=Ni(document);return Object.defineProperty(ca,"SUPPORT_RANGE_BOUNDS",{value:qe}),qe},get SUPPORT_SVG_DRAWING(){var qe=Oi(document);return Object.defineProperty(ca,"SUPPORT_SVG_DRAWING",{value:qe}),qe},get SUPPORT_FOREIGNOBJECT_DRAWING(){var qe=typeof Array.from=="function"&&typeof window.fetch=="function"?Xi(document):Promise.resolve(!1);return Object.defineProperty(ca,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:qe}),qe},get SUPPORT_CORS_IMAGES(){var qe=$n();return Object.defineProperty(ca,"SUPPORT_CORS_IMAGES",{value:qe}),qe},get SUPPORT_RESPONSE_TYPE(){var qe=Ai();return Object.defineProperty(ca,"SUPPORT_RESPONSE_TYPE",{value:qe}),qe},get SUPPORT_CORS_XHR(){var qe="withCredentials"in new XMLHttpRequest;return Object.defineProperty(ca,"SUPPORT_CORS_XHR",{value:qe}),qe}},la=function(){function qe(te){var ke=te.id,Ze=te.enabled;this.id=ke,this.enabled=Ze,this.start=Date.now()}return qe.prototype.debug=function(){for(var te=[],ke=0;ke<arguments.length;ke++)te[ke]=arguments[ke];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,[this.id,this.getTime()+"ms"].concat(te)):this.info.apply(this,te))},qe.prototype.getTime=function(){return Date.now()-this.start},qe.create=function(te){qe.instances[te.id]=new qe(te)},qe.destroy=function(te){delete qe.instances[te]},qe.getInstance=function(te){var ke=qe.instances[te];if(typeof ke=="undefined")throw new Error("No logger instance found with id "+te);return ke},qe.prototype.info=function(){for(var te=[],ke=0;ke<arguments.length;ke++)te[ke]=arguments[ke];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,[this.id,this.getTime()+"ms"].concat(te)))},qe.prototype.error=function(){for(var te=[],ke=0;ke<arguments.length;ke++)te[ke]=arguments[ke];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,[this.id,this.getTime()+"ms"].concat(te)):this.info.apply(this,te))},qe.instances={},qe}(),gi=function(){function qe(){}return qe.create=function(te,ke){return qe._caches[te]=new Ba(te,ke)},qe.destroy=function(te){delete qe._caches[te]},qe.open=function(te){var ke=qe._caches[te];if(typeof ke!="undefined")return ke;throw new Error('Cache with key "'+te+'" not found')},qe.getOrigin=function(te){var ke=qe._link;return ke?(ke.href=te,ke.href=ke.href,ke.protocol+ke.hostname+ke.port):"about:blank"},qe.isSameOrigin=function(te){return qe.getOrigin(te)===qe._origin},qe.setContext=function(te){qe._link=te.document.createElement("a"),qe._origin=qe.getOrigin(te.location.href)},qe.getInstance=function(){var te=qe._current;if(te===null)throw new Error("No cache instance attached");return te},qe.attachInstance=function(te){qe._current=te},qe.detachInstance=function(){qe._current=null},qe._caches={},qe._origin="about:blank",qe._current=null,qe}(),Ba=function(){function qe(te,ke){this.id=te,this._options=ke,this._cache={}}return qe.prototype.addImage=function(te){var ke=Promise.resolve();return this.has(te)||(ba(te)||Xa(te))&&(this._cache[te]=this.loadImage(te)),ke},qe.prototype.match=function(te){return this._cache[te]},qe.prototype.loadImage=function(te){return m(this,void 0,void 0,function(){var ke,Ze,Lt,tr,vr=this;return v(this,function(Or){switch(Or.label){case 0:return ke=gi.isSameOrigin(te),Ze=!Ki(te)&&this._options.useCORS===!0&&ca.SUPPORT_CORS_IMAGES&&!ke,Lt=!Ki(te)&&!ke&&typeof this._options.proxy=="string"&&ca.SUPPORT_CORS_XHR&&!Ze,!ke&&this._options.allowTaint===!1&&!Ki(te)&&!Lt&&!Ze?[2]:(tr=te,Lt?[4,this.proxy(tr)]:[3,2]);case 1:tr=Or.sent(),Or.label=2;case 2:return la.getInstance(this.id).debug("Added image "+te.substring(0,256)),[4,new Promise(function(Hr,Kr){var cn=new Image;cn.onload=function(){return Hr(cn)},cn.onerror=Kr,(zi(tr)||Ze)&&(cn.crossOrigin="anonymous"),cn.src=tr,cn.complete===!0&&setTimeout(function(){return Hr(cn)},500),vr._options.imageTimeout>0&&setTimeout(function(){return Kr("Timed out ("+vr._options.imageTimeout+"ms) loading image")},vr._options.imageTimeout)})];case 3:return[2,Or.sent()]}})})},qe.prototype.has=function(te){return typeof this._cache[te]!="undefined"},qe.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},qe.prototype.proxy=function(te){var ke=this,Ze=this._options.proxy;if(!Ze)throw new Error("No proxy defined");var Lt=te.substring(0,256);return new Promise(function(tr,vr){var Or=ca.SUPPORT_RESPONSE_TYPE?"blob":"text",Hr=new XMLHttpRequest;if(Hr.onload=function(){if(Hr.status===200)if(Or==="text")tr(Hr.response);else{var cn=new FileReader;cn.addEventListener("load",function(){return tr(cn.result)},!1),cn.addEventListener("error",function(sn){return vr(sn)},!1),cn.readAsDataURL(Hr.response)}else vr("Failed to proxy resource "+Lt+" with status code "+Hr.status)},Hr.onerror=vr,Hr.open("GET",Ze+"?url="+encodeURIComponent(te)+"&responseType="+Or),Or!=="text"&&Hr instanceof XMLHttpRequest&&(Hr.responseType=Or),ke._options.imageTimeout){var Kr=ke._options.imageTimeout;Hr.timeout=Kr,Hr.ontimeout=function(){return vr("Timed out ("+Kr+"ms) proxying "+Lt)}}Hr.send()})},qe}(),Ma=/^data:image\/svg\+xml/i,ra=/^data:image\/.*;base64,/i,Yi=/^data:image\/.*/i,Xa=function(te){return ca.SUPPORT_SVG_DRAWING||!Ua(te)},Ki=function(te){return Yi.test(te)},zi=function(te){return ra.test(te)},ba=function(te){return te.substr(0,4)==="blob"},Ua=function(te){return te.substr(-3).toLowerCase()==="svg"||Ma.test(te)},wa=function(te){var ke=vn(180),Ze=[],Lt=Ca.LINEAR_GRADIENT,tr=Oa.CIRCLE,vr=Fi.FARTHEST_CORNER,Or=[];return zr(te).forEach(function(Hr,Kr){var cn=Hr[0];if(Kr===0){if(Jt(cn)&&cn.value==="linear"){Lt=Ca.LINEAR_GRADIENT;return}else if(Jt(cn)&&cn.value==="radial"){Lt=Ca.RADIAL_GRADIENT;return}}if(cn.type===Be.FUNCTION){if(cn.name==="from"){var sn=Rn.parse(cn.values[0]);Ze.push({stop:Vt,color:sn})}else if(cn.name==="to"){var sn=Rn.parse(cn.values[0]);Ze.push({stop:br,color:sn})}else if(cn.name==="color-stop"){var Fn=cn.values.filter(Er);if(Fn.length===2){var sn=Rn.parse(Fn[1]),si=Fn[0];jt(si)&&Ze.push({stop:{type:Be.PERCENTAGE_TOKEN,number:si.number*100,flags:si.flags},color:sn})}}}}),Lt===Ca.LINEAR_GRADIENT?{angle:(ke+vn(180))%vn(360),stops:Ze,type:Lt}:{size:vr,shape:tr,stops:Ze,position:Or,type:Lt}},vi="closest-side",Ya="farthest-side",Ka="closest-corner",pa="farthest-corner",Ii="circle",So="ellipse",za="cover",ja="contain",qa=function(te){var ke=Oa.CIRCLE,Ze=Fi.FARTHEST_CORNER,Lt=[],tr=[];return zr(te).forEach(function(vr,Or){var Hr=!0;if(Or===0){var Kr=!1;Hr=vr.reduce(function(sn,Fn){if(Kr)if(Jt(Fn))switch(Fn.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(Fn)||Zr(Fn))&&tr.push(Fn);else if(Jt(Fn))switch(Fn.value){case Ii:return ke=Oa.CIRCLE,!1;case So:return ke=Oa.ELLIPSE,!1;case"at":return Kr=!0,!1;case vi:return Ze=Fi.CLOSEST_SIDE,!1;case za:case Ya:return Ze=Fi.FARTHEST_SIDE,!1;case ja:case Ka:return Ze=Fi.CLOSEST_CORNER,!1;case pa:return Ze=Fi.FARTHEST_CORNER,!1}else if(Zr(Fn)||an(Fn))return Array.isArray(Ze)||(Ze=[]),Ze.push(Fn),!1;return sn},Hr)}if(Hr){var cn=Mi(vr);Lt.push(cn)}}),{size:Ze,shape:ke,stops:Lt,position:tr,type:Ca.RADIAL_GRADIENT}},ho=function(te){var ke=Oa.CIRCLE,Ze=Fi.FARTHEST_CORNER,Lt=[],tr=[];return zr(te).forEach(function(vr,Or){var Hr=!0;if(Or===0?Hr=vr.reduce(function(cn,sn){if(Jt(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)||Zr(sn))return tr.push(sn),!1;return cn},Hr):Or===1&&(Hr=vr.reduce(function(cn,sn){if(Jt(sn))switch(sn.value){case Ii:return ke=Oa.CIRCLE,!1;case So:return ke=Oa.ELLIPSE,!1;case ja:case vi:return Ze=Fi.CLOSEST_SIDE,!1;case Ya:return Ze=Fi.FARTHEST_SIDE,!1;case Ka:return Ze=Fi.CLOSEST_CORNER,!1;case za:case pa:return Ze=Fi.FARTHEST_CORNER,!1}else if(Zr(sn)||an(sn))return Array.isArray(Ze)||(Ze=[]),Ze.push(sn),!1;return cn},Hr)),Hr){var Kr=Mi(vr);Lt.push(Kr)}}),{size:Ze,shape:ke,stops:Lt,position:tr,type:Ca.RADIAL_GRADIENT}},Ca;(function(qe){qe[qe.URL=0]="URL",qe[qe.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",qe[qe.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"})(Ca||(Ca={}));var to=function(te){return te.type===Ca.LINEAR_GRADIENT},Lo=function(te){return te.type===Ca.RADIAL_GRADIENT},Oa;(function(qe){qe[qe.CIRCLE=0]="CIRCLE",qe[qe.ELLIPSE=1]="ELLIPSE"})(Oa||(Oa={}));var Fi;(function(qe){qe[qe.CLOSEST_SIDE=0]="CLOSEST_SIDE",qe[qe.FARTHEST_SIDE=1]="FARTHEST_SIDE",qe[qe.CLOSEST_CORNER=2]="CLOSEST_CORNER",qe[qe.FARTHEST_CORNER=3]="FARTHEST_CORNER"})(Fi||(Fi={}));var Ja={name:"image",parse:function(te){if(te.type===Be.URL_TOKEN){var ke={url:te.value,type:Ca.URL};return gi.getInstance().addImage(te.value),ke}if(te.type===Be.FUNCTION){var Ze=pi[te.name];if(typeof Ze=="undefined")throw new Error('Attempting to parse an unsupported image function "'+te.name+'"');return Ze(te.values)}throw new Error("Unsupported image type")}};function Da(qe){return qe.type!==Be.FUNCTION||pi[qe.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(te){if(te.length===0)return[];var ke=te[0];return ke.type===Be.IDENT_TOKEN&&ke.value==="none"?[]:te.filter(function(Ze){return Er(Ze)&&Da(Ze)}).map(Ja.parse)}},oo={name:"background-origin",initialValue:"border-box",prefix:!1,type:Un.LIST,parse:function(te){return te.map(function(ke){if(Jt(ke))switch(ke.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(te){return zr(te).map(function(ke){return ke.filter(an)}).map(St)}},fo;(function(qe){qe[qe.REPEAT=0]="REPEAT",qe[qe.NO_REPEAT=1]="NO_REPEAT",qe[qe.REPEAT_X=2]="REPEAT_X",qe[qe.REPEAT_Y=3]="REPEAT_Y"})(fo||(fo={}));var Ta={name:"background-repeat",initialValue:"repeat",prefix:!1,type:Un.LIST,parse:function(te){return zr(te).map(function(ke){return ke.filter(Jt).map(function(Ze){return Ze.value}).join(" ")}).map(ki)}},ki=function(te){switch(te){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(qe){qe.AUTO="auto",qe.CONTAIN="contain",qe.COVER="cover"})(Ra||(Ra={}));var Vo={name:"background-size",initialValue:"0",prefix:!1,type:Un.LIST,parse:function(te){return zr(te).map(function(ke){return ke.filter(ro)})}},ro=function(te){return Jt(te)||an(te)},vo=function(te){return{name:"border-"+te+"-color",initialValue:"transparent",prefix:!1,type:Un.TYPE_VALUE,format:"color"}},po=vo("top"),Zi=vo("right"),xo=vo("bottom"),is=vo("left"),Jo=function(te){return{name:"border-radius-"+te,initialValue:"0 0",prefix:!1,type:Un.LIST,parse:function(Ze){return St(Ze.filter(an))}}},_s=Jo("top-left"),Cs=Jo("top-right"),Ts=Jo("bottom-right"),Go=Jo("bottom-left"),bo;(function(qe){qe[qe.NONE=0]="NONE",qe[qe.SOLID=1]="SOLID"})(bo||(bo={}));var Za=function(te){return{name:"border-"+te+"-style",initialValue:"solid",prefix:!1,type:Un.IDENT_VALUE,parse:function(Ze){switch(Ze){case"none":return bo.NONE}return bo.SOLID}}},Ga=Za("top"),so=Za("right"),ps=Za("bottom"),Sr=Za("left"),Xo=function(te){return{name:"border-"+te+"-width",initialValue:"0",type:Un.VALUE,prefix:!1,parse:function(Ze){return tt(Ze)?Ze.number:0}}},ss=Xo("top"),Ls=Xo("right"),Fa=Xo("bottom"),La=Xo("left"),Io={name:"color",initialValue:"transparent",prefix:!1,type:Un.TYPE_VALUE,format:"color"},Oo={name:"display",initialValue:"inline-block",prefix:!1,type:Un.LIST,parse:function(te){return te.filter(Jt).reduce(function(ke,Ze){return ke|ts(Ze.value)},0)}},ts=function(te){switch(te){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},Po;(function(qe){qe[qe.NONE=0]="NONE",qe[qe.LEFT=1]="LEFT",qe[qe.RIGHT=2]="RIGHT",qe[qe.INLINE_START=3]="INLINE_START",qe[qe.INLINE_END=4]="INLINE_END"})(Po||(Po={}));var rs={name:"float",initialValue:"none",prefix:!1,type:Un.IDENT_VALUE,parse:function(te){switch(te){case"left":return Po.LEFT;case"right":return Po.RIGHT;case"inline-start":return Po.INLINE_START;case"inline-end":return Po.INLINE_END}return Po.NONE}},ms={name:"letter-spacing",initialValue:"0",prefix:!1,type:Un.VALUE,parse:function(te){return te.type===Be.IDENT_TOKEN&&te.value==="normal"?0:te.type===Be.NUMBER_TOKEN||te.type===Be.DIMENSION_TOKEN?te.number:0}},ls;(function(qe){qe.NORMAL="normal",qe.STRICT="strict"})(ls||(ls={}));var Ns={name:"line-break",initialValue:"normal",prefix:!1,type:Un.IDENT_VALUE,parse:function(te){switch(te){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(te,ke){return Jt(te)&&te.value==="normal"?1.2*ke:te.type===Be.NUMBER_TOKEN?ke*te.number:an(te)?Dr(te,ke):ke},$s={name:"list-style-image",initialValue:"none",type:Un.VALUE,prefix:!1,parse:function(te){return te.type===Be.IDENT_TOKEN&&te.value==="none"?null:Ja.parse(te)}},cs;(function(qe){qe[qe.INSIDE=0]="INSIDE",qe[qe.OUTSIDE=1]="OUTSIDE"})(cs||(cs={}));var Mo={name:"list-style-position",initialValue:"outside",prefix:!1,type:Un.IDENT_VALUE,parse:function(te){switch(te){case"inside":return cs.INSIDE;case"outside":default:return cs.OUTSIDE}}},Dn;(function(qe){qe[qe.NONE=-1]="NONE",qe[qe.DISC=0]="DISC",qe[qe.CIRCLE=1]="CIRCLE",qe[qe.SQUARE=2]="SQUARE",qe[qe.DECIMAL=3]="DECIMAL",qe[qe.CJK_DECIMAL=4]="CJK_DECIMAL",qe[qe.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",qe[qe.LOWER_ROMAN=6]="LOWER_ROMAN",qe[qe.UPPER_ROMAN=7]="UPPER_ROMAN",qe[qe.LOWER_GREEK=8]="LOWER_GREEK",qe[qe.LOWER_ALPHA=9]="LOWER_ALPHA",qe[qe.UPPER_ALPHA=10]="UPPER_ALPHA",qe[qe.ARABIC_INDIC=11]="ARABIC_INDIC",qe[qe.ARMENIAN=12]="ARMENIAN",qe[qe.BENGALI=13]="BENGALI",qe[qe.CAMBODIAN=14]="CAMBODIAN",qe[qe.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",qe[qe.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",qe[qe.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",qe[qe.DEVANAGARI=18]="DEVANAGARI",qe[qe.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",qe[qe.GEORGIAN=20]="GEORGIAN",qe[qe.GUJARATI=21]="GUJARATI",qe[qe.GURMUKHI=22]="GURMUKHI",qe[qe.HEBREW=22]="HEBREW",qe[qe.HIRAGANA=23]="HIRAGANA",qe[qe.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",qe[qe.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",qe[qe.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",qe[qe.KANNADA=27]="KANNADA",qe[qe.KATAKANA=28]="KATAKANA",qe[qe.KATAKANA_IROHA=29]="KATAKANA_IROHA",qe[qe.KHMER=30]="KHMER",qe[qe.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",qe[qe.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",qe[qe.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",qe[qe.LAO=34]="LAO",qe[qe.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",qe[qe.MALAYALAM=36]="MALAYALAM",qe[qe.MONGOLIAN=37]="MONGOLIAN",qe[qe.MYANMAR=38]="MYANMAR",qe[qe.ORIYA=39]="ORIYA",qe[qe.PERSIAN=40]="PERSIAN",qe[qe.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",qe[qe.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",qe[qe.TAMIL=43]="TAMIL",qe[qe.TELUGU=44]="TELUGU",qe[qe.THAI=45]="THAI",qe[qe.TIBETAN=46]="TIBETAN",qe[qe.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",qe[qe.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",qe[qe.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",qe[qe.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",qe[qe.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"})(Dn||(Dn={}));var Vs={name:"list-style-type",initialValue:"none",prefix:!1,type:Un.IDENT_VALUE,parse:function(te){switch(te){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}}},Is=function(te){return{name:"margin-"+te,initialValue:"0",prefix:!1,type:Un.TOKEN_VALUE}},Bt=Is("top"),le=Is("right"),xe=Is("bottom"),Ie=Is("left"),We;(function(qe){qe[qe.VISIBLE=0]="VISIBLE",qe[qe.HIDDEN=1]="HIDDEN",qe[qe.SCROLL=2]="SCROLL",qe[qe.AUTO=3]="AUTO"})(We||(We={}));var Et={name:"overflow",initialValue:"visible",prefix:!1,type:Un.LIST,parse:function(te){return te.filter(Jt).map(function(ke){switch(ke.value){case"hidden":return We.HIDDEN;case"scroll":return We.SCROLL;case"auto":return We.AUTO;case"visible":default:return We.VISIBLE}})}},Ut;(function(qe){qe.NORMAL="normal",qe.BREAK_WORD="break-word"})(Ut||(Ut={}));var hr={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:Un.IDENT_VALUE,parse:function(te){switch(te){case"break-word":return Ut.BREAK_WORD;case"normal":default:return Ut.NORMAL}}},gr=function(te){return{name:"padding-"+te,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(qe){qe[qe.LEFT=0]="LEFT",qe[qe.CENTER=1]="CENTER",qe[qe.RIGHT=2]="RIGHT"})(Cn||(Cn={}));var Qn={name:"text-align",initialValue:"left",prefix:!1,type:Un.IDENT_VALUE,parse:function(te){switch(te){case"right":return Cn.RIGHT;case"center":case"justify":return Cn.CENTER;case"left":default:return Cn.LEFT}}},ti;(function(qe){qe[qe.STATIC=0]="STATIC",qe[qe.RELATIVE=1]="RELATIVE",qe[qe.ABSOLUTE=2]="ABSOLUTE",qe[qe.FIXED=3]="FIXED",qe[qe.STICKY=4]="STICKY"})(ti||(ti={}));var wi={name:"position",initialValue:"static",prefix:!1,type:Un.IDENT_VALUE,parse:function(te){switch(te){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(te){return te.length===1&&Ir(te[0],"none")?[]:zr(te).map(function(ke){for(var Ze={color:Li.TRANSPARENT,offsetX:Vt,offsetY:Vt,blur:Vt},Lt=0,tr=0;tr<ke.length;tr++){var vr=ke[tr];Zr(vr)?(Lt===0?Ze.offsetX=vr:Lt===1?Ze.offsetY=vr:Ze.blur=vr,Lt++):Ze.color=Rn.parse(vr)}return Ze})}},ji;(function(qe){qe[qe.NONE=0]="NONE",qe[qe.LOWERCASE=1]="LOWERCASE",qe[qe.UPPERCASE=2]="UPPERCASE",qe[qe.CAPITALIZE=3]="CAPITALIZE"})(ji||(ji={}));var Sa={name:"text-transform",initialValue:"none",prefix:!1,type:Un.IDENT_VALUE,parse:function(te){switch(te){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(te){if(te.type===Be.IDENT_TOKEN&&te.value==="none")return null;if(te.type===Be.FUNCTION){var ke=Ao[te.name];if(typeof ke=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+te.name+'"');return ke(te.values)}return null}},Wa=function(te){var ke=te.filter(function(Ze){return Ze.type===Be.NUMBER_TOKEN}).map(function(Ze){return Ze.number});return ke.length===6?ke:null},yo=function(te){var ke=te.filter(function(_a){return _a.type===Be.NUMBER_TOKEN}).map(function(_a){return _a.number}),Ze=ke[0],Lt=ke[1],tr=ke[2],vr=ke[3],Or=ke[4],Hr=ke[5],Kr=ke[6],cn=ke[7],sn=ke[8],Fn=ke[9],si=ke[10],Kn=ke[11],fi=ke[12],da=ke[13],Ti=ke[14],na=ke[15];return ke.length===16?[Ze,Lt,Or,Hr,fi,da]:null},Ao={matrix:Wa,matrix3d:yo},$a={type:Be.PERCENTAGE_TOKEN,number:50,flags:It},Fo=[$a,$a],No={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:Un.LIST,parse:function(te){var ke=te.filter(an);return ke.length!==2?Fo:[ke[0],ke[1]]}},Ha;(function(qe){qe[qe.VISIBLE=0]="VISIBLE",qe[qe.HIDDEN=1]="HIDDEN",qe[qe.COLLAPSE=2]="COLLAPSE"})(Ha||(Ha={}));var jo={name:"visible",initialValue:"none",prefix:!1,type:Un.IDENT_VALUE,parse:function(te){switch(te){case"hidden":return Ha.HIDDEN;case"collapse":return Ha.COLLAPSE;case"visible":default:return Ha.VISIBLE}}},ko;(function(qe){qe.NORMAL="normal",qe.BREAK_ALL="break-all",qe.KEEP_ALL="keep-all"})(ko||(ko={}));var Qo={name:"word-break",initialValue:"normal",prefix:!1,type:Un.IDENT_VALUE,parse:function(te){switch(te){case"break-all":return ko.BREAK_ALL;case"keep-all":return ko.KEEP_ALL;case"normal":default:return ko.NORMAL}}},wo={name:"z-index",initialValue:"auto",prefix:!1,type:Un.VALUE,parse:function(te){if(te.type===Be.IDENT_TOKEN)return{auto:!0,order:0};if(jt(te))return{auto:!1,order:te.number};throw new Error("Invalid z-index number parsed")}},us={name:"opacity",initialValue:"1",type:Un.VALUE,prefix:!1,parse:function(te){return jt(te)?te.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(te){return te.filter(Jt).map(function(ke){switch(ke.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(ke){return ke!==0})}},Ys={name:"font-family",initialValue:"",prefix:!1,type:Un.LIST,parse:function(te){var ke=[],Ze=[];return te.forEach(function(Lt){switch(Lt.type){case Be.IDENT_TOKEN:case Be.STRING_TOKEN:ke.push(Lt.value);break;case Be.NUMBER_TOKEN:ke.push(Lt.number.toString());break;case Be.COMMA_TOKEN:Ze.push(ke.join(" ")),ke.length=0;break}}),ke.length&&Ze.push(ke.join(" ")),Ze.map(function(Lt){return Lt.indexOf(" ")===-1?Lt:"'"+Lt+"'"})}},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(te){if(jt(te))return te.number;if(Jt(te))switch(te.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(te){return te.filter(Jt).map(function(ke){return ke.value})}},hs;(function(qe){qe.NORMAL="normal",qe.ITALIC="italic",qe.OBLIQUE="oblique"})(hs||(hs={}));var Rs={name:"font-style",initialValue:"normal",prefix:!1,type:Un.IDENT_VALUE,parse:function(te){switch(te){case"oblique":return hs.OBLIQUE;case"italic":return hs.ITALIC;case"normal":default:return hs.NORMAL}}},Do=function(te,ke){return(te&ke)!==0},ys={name:"content",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(te){if(te.length===0)return[];var ke=te[0];return ke.type===Be.IDENT_TOKEN&&ke.value==="none"?[]:te}},Ms={name:"counter-increment",initialValue:"none",prefix:!0,type:Un.LIST,parse:function(te){if(te.length===0)return null;var ke=te[0];if(ke.type===Be.IDENT_TOKEN&&ke.value==="none")return null;for(var Ze=[],Lt=te.filter(wr),tr=0;tr<Lt.length;tr++){var vr=Lt[tr],Or=Lt[tr+1];if(vr.type===Be.IDENT_TOKEN){var Hr=Or&&jt(Or)?Or.number:1;Ze.push({counter:vr.value,increment:Hr})}}return Ze}},As={name:"counter-reset",initialValue:"none",prefix:!0,type:Un.LIST,parse:function(te){if(te.length===0)return[];for(var ke=[],Ze=te.filter(wr),Lt=0;Lt<Ze.length;Lt++){var tr=Ze[Lt],vr=Ze[Lt+1];if(Jt(tr)&&tr.value!=="none"){var Or=vr&&jt(vr)?vr.number:0;ke.push({counter:tr.value,reset:Or})}}return ke}},Fs={name:"quotes",initialValue:"none",prefix:!0,type:Un.LIST,parse:function(te){if(te.length===0)return null;var ke=te[0];if(ke.type===Be.IDENT_TOKEN&&ke.value==="none")return null;var Ze=[],Lt=te.filter(nr);if(Lt.length%2!==0)return null;for(var tr=0;tr<Lt.length;tr+=2){var vr=Lt[tr].value,Or=Lt[tr+1].value;Ze.push({open:vr,close:Or})}return Ze}},Hs=function(te,ke,Ze){if(!te)return"";var Lt=te[Math.min(ke,te.length-1)];return Lt?Ze?Lt.open:Lt.close:""},bs={name:"box-shadow",initialValue:"none",type:Un.LIST,prefix:!1,parse:function(te){return te.length===1&&Ir(te[0],"none")?[]:zr(te).map(function(ke){for(var Ze={color:255,offsetX:Vt,offsetY:Vt,blur:Vt,spread:Vt,inset:!1},Lt=0,tr=0;tr<ke.length;tr++){var vr=ke[tr];Ir(vr,"inset")?Ze.inset=!0:Zr(vr)?(Lt===0?Ze.offsetX=vr:Lt===1?Ze.offsetY=vr:Lt===2?Ze.blur=vr:Ze.spread=vr,Lt++):Ze.color=Rn.parse(vr)}return Ze})}},ua=function(){function qe(te){this.backgroundClip=Wn(fa,te.backgroundClip),this.backgroundColor=Wn(Ui,te.backgroundColor),this.backgroundImage=Wn(Gi,te.backgroundImage),this.backgroundOrigin=Wn(oo,te.backgroundOrigin),this.backgroundPosition=Wn(go,te.backgroundPosition),this.backgroundRepeat=Wn(Ta,te.backgroundRepeat),this.backgroundSize=Wn(Vo,te.backgroundSize),this.borderTopColor=Wn(po,te.borderTopColor),this.borderRightColor=Wn(Zi,te.borderRightColor),this.borderBottomColor=Wn(xo,te.borderBottomColor),this.borderLeftColor=Wn(is,te.borderLeftColor),this.borderTopLeftRadius=Wn(_s,te.borderTopLeftRadius),this.borderTopRightRadius=Wn(Cs,te.borderTopRightRadius),this.borderBottomRightRadius=Wn(Ts,te.borderBottomRightRadius),this.borderBottomLeftRadius=Wn(Go,te.borderBottomLeftRadius),this.borderTopStyle=Wn(Ga,te.borderTopStyle),this.borderRightStyle=Wn(so,te.borderRightStyle),this.borderBottomStyle=Wn(ps,te.borderBottomStyle),this.borderLeftStyle=Wn(Sr,te.borderLeftStyle),this.borderTopWidth=Wn(ss,te.borderTopWidth),this.borderRightWidth=Wn(Ls,te.borderRightWidth),this.borderBottomWidth=Wn(Fa,te.borderBottomWidth),this.borderLeftWidth=Wn(La,te.borderLeftWidth),this.boxShadow=Wn(bs,te.boxShadow),this.color=Wn(Io,te.color),this.display=Wn(Oo,te.display),this.float=Wn(rs,te.cssFloat),this.fontFamily=Wn(Ys,te.fontFamily),this.fontSize=Wn(Yo,te.fontSize),this.fontStyle=Wn(Rs,te.fontStyle),this.fontVariant=Wn(ds,te.fontVariant),this.fontWeight=Wn(Eo,te.fontWeight),this.letterSpacing=Wn(ms,te.letterSpacing),this.lineBreak=Wn(Ns,te.lineBreak),this.lineHeight=Wn(Ds,te.lineHeight),this.listStyleImage=Wn($s,te.listStyleImage),this.listStylePosition=Wn(Mo,te.listStylePosition),this.listStyleType=Wn(Vs,te.listStyleType),this.marginTop=Wn(Bt,te.marginTop),this.marginRight=Wn(le,te.marginRight),this.marginBottom=Wn(xe,te.marginBottom),this.marginLeft=Wn(Ie,te.marginLeft),this.opacity=Wn(us,te.opacity);var ke=Wn(Et,te.overflow);this.overflowX=ke[0],this.overflowY=ke[ke.length>1?1:0],this.overflowWrap=Wn(hr,te.overflowWrap),this.paddingTop=Wn(Rr,te.paddingTop),this.paddingRight=Wn($r,te.paddingRight),this.paddingBottom=Wn(ln,te.paddingBottom),this.paddingLeft=Wn(yn,te.paddingLeft),this.position=Wn(wi,te.position),this.textAlign=Wn(Qn,te.textAlign),this.textDecorationColor=Wn(ns,te.textDecorationColor||te.color),this.textDecorationLine=Wn(Xs,te.textDecorationLine),this.textShadow=Wn(ea,te.textShadow),this.textTransform=Wn(Sa,te.textTransform),this.transform=Wn(lo,te.transform),this.transformOrigin=Wn(No,te.transformOrigin),this.visibility=Wn(jo,te.visibility),this.wordBreak=Wn(Qo,te.wordBreak),this.zIndex=Wn(wo,te.zIndex)}return qe.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===Ha.VISIBLE},qe.prototype.isTransparent=function(){return En(this.backgroundColor)},qe.prototype.isTransformed=function(){return this.transform!==null},qe.prototype.isPositioned=function(){return this.position!==ti.STATIC},qe.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},qe.prototype.isFloating=function(){return this.float!==Po.NONE},qe.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)},qe}(),ui=function(){function qe(te){this.content=Wn(ys,te.content),this.quotes=Wn(Fs,te.quotes)}return qe}(),Pi=function(){function qe(te){this.counterIncrement=Wn(Ms,te.counterIncrement),this.counterReset=Wn(As,te.counterReset)}return qe}(),Wn=function(te,ke){var Ze=new Wr,Lt=ke!==null&&typeof ke!="undefined"?ke.toString():te.initialValue;Ze.write(Lt);var tr=new hn(Ze.read());switch(te.type){case Un.IDENT_VALUE:var vr=tr.parseComponentValue();return te.parse(Jt(vr)?vr.value:te.initialValue);case Un.VALUE:return te.parse(tr.parseComponentValue());case Un.LIST:return te.parse(tr.parseComponentValues());case Un.TOKEN_VALUE:return tr.parseComponentValue();case Un.TYPE_VALUE:switch(te.format){case"angle":return Sn.parse(tr.parseComponentValue());case"color":return Rn.parse(tr.parseComponentValue());case"image":return Ja.parse(tr.parseComponentValue());case"length":var Or=tr.parseComponentValue();return Zr(Or)?Or:Vt;case"length-percentage":var Hr=tr.parseComponentValue();return an(Hr)?Hr:Vt}}throw new Error("Attempting to parse unsupported css format type "+te.format)},io=function(){function qe(te){this.styles=new ua(window.getComputedStyle(te,null)),this.textNodes=[],this.elements=[],this.styles.transform!==null&&nl(te)&&(te.style.transform="none"),this.bounds=c(te),this.flags=0}return qe}(),qo=function(){function qe(te,ke){this.text=te,this.bounds=ke}return qe}(),gs=function(te,ke,Ze){var Lt=$o(te,ke),tr=[],vr=0;return Lt.forEach(function(Or){if(ke.textDecorationLine.length||Or.trim().length>0)if(ca.SUPPORT_RANGE_BOUNDS)tr.push(new qo(Or,Zo(Ze,vr,Or.length)));else{var Hr=Ze.splitText(Or.length);tr.push(new qo(Or,os(Ze))),Ze=Hr}else ca.SUPPORT_RANGE_BOUNDS||(Ze=Ze.splitText(Or.length));vr+=Or.length}),tr},os=function(te){var ke=te.ownerDocument;if(ke){var Ze=ke.createElement("html2canvaswrapper");Ze.appendChild(te.cloneNode(!0));var Lt=te.parentNode;if(Lt){Lt.replaceChild(Ze,te);var tr=c(Ze);return Ze.firstChild&&Lt.replaceChild(Ze.firstChild,Ze),tr}}return new h(0,0,0,0)},Zo=function(te,ke,Ze){var Lt=te.ownerDocument;if(!Lt)throw new Error("Node has no owner document");var tr=Lt.createRange();return tr.setStart(te,ke),tr.setEnd(te,ke+Ze),h.fromClientRect(tr.getBoundingClientRect())},$o=function(te,ke){return ke.letterSpacing!==0?i(te).map(function(Ze){return r(Ze)}):ws(te,ke)},ws=function(te,ke){for(var Ze=Xe(te,{lineBreak:ke.lineBreak,wordBreak:ke.overflowWrap===Ut.BREAK_WORD?"break-word":ke.wordBreak}),Lt=[],tr;!(tr=Ze.next()).done;)tr.value&&Lt.push(tr.value.slice());return Lt},Ho=function(){function qe(te,ke){this.text=ll(te.data,ke.textTransform),this.textBounds=gs(this.text,ke,te)}return qe}(),ll=function(te,ke){switch(ke){case ji.LOWERCASE:return te.toLowerCase();case ji.CAPITALIZE:return te.replace(jl,cl);case ji.UPPERCASE:return te.toUpperCase();default:return te}},jl=/(^|\s|:|-|\(|\))([a-z])/g,cl=function(te,ke,Ze){return te.length>0?ke+Ze.toUpperCase():te},Nl=function(qe){f(te,qe);function te(ke){var Ze=qe.call(this,ke)||this;return Ze.src=ke.currentSrc||ke.src,Ze.intrinsicWidth=ke.naturalWidth,Ze.intrinsicHeight=ke.naturalHeight,gi.getInstance().addImage(Ze.src),Ze}return te}(io),Os=function(qe){f(te,qe);function te(ke){var Ze=qe.call(this,ke)||this;return Ze.canvas=ke,Ze.intrinsicWidth=ke.width,Ze.intrinsicHeight=ke.height,Ze}return te}(io),Gs=function(qe){f(te,qe);function te(ke){var Ze=qe.call(this,ke)||this,Lt=new XMLSerializer;return Ze.svg="data:image/svg+xml,"+encodeURIComponent(Lt.serializeToString(ke)),Ze.intrinsicWidth=ke.width.baseVal.value,Ze.intrinsicHeight=ke.height.baseVal.value,gi.getInstance().addImage(Ze.svg),Ze}return te}(io),el=function(qe){f(te,qe);function te(ke){var Ze=qe.call(this,ke)||this;return Ze.value=ke.value,Ze}return te}(io),Hl=function(qe){f(te,qe);function te(ke){var Ze=qe.call(this,ke)||this;return Ze.start=ke.start,Ze.reversed=typeof ke.reversed=="boolean"&&ke.reversed===!0,Ze}return te}(io),Kl=[{type:Be.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],Dl=[{type:Be.PERCENTAGE_TOKEN,flags:0,number:50}],nc=function(te){return te.width>te.height?new h(te.left+(te.width-te.height)/2,te.top,te.height,te.height):te.width<te.height?new h(te.left,te.top+(te.height-te.width)/2,te.width,te.width):te},ic=function(te){var ke=te.type===ac?new Array(te.value.length+1).join("\u2022"):te.value;return ke.length===0?te.placeholder||"":ke},es="checkbox",tl="radio",ac="password",Rl=707406591,Ml=function(qe){f(te,qe);function te(ke){var Ze=qe.call(this,ke)||this;Ze.type=ke.type.toLowerCase(),Ze.checked=ke.checked,Ze.value=ic(ke),(Ze.type===es||Ze.type===tl)&&(Ze.styles.backgroundColor=3739148031,Ze.styles.borderTopColor=Ze.styles.borderRightColor=Ze.styles.borderBottomColor=Ze.styles.borderLeftColor=2779096575,Ze.styles.borderTopWidth=Ze.styles.borderRightWidth=Ze.styles.borderBottomWidth=Ze.styles.borderLeftWidth=1,Ze.styles.borderTopStyle=Ze.styles.borderRightStyle=Ze.styles.borderBottomStyle=Ze.styles.borderLeftStyle=bo.SOLID,Ze.styles.backgroundClip=[Ri.BORDER_BOX],Ze.styles.backgroundOrigin=[0],Ze.bounds=nc(Ze.bounds));switch(Ze.type){case es:Ze.styles.borderTopRightRadius=Ze.styles.borderTopLeftRadius=Ze.styles.borderBottomRightRadius=Ze.styles.borderBottomLeftRadius=Kl;break;case tl:Ze.styles.borderTopRightRadius=Ze.styles.borderTopLeftRadius=Ze.styles.borderBottomRightRadius=Ze.styles.borderBottomLeftRadius=Dl;break}return Ze}return te}(io),bl=function(qe){f(te,qe);function te(ke){var Ze=qe.call(this,ke)||this,Lt=ke.options[ke.selectedIndex||0];return Ze.value=Lt&&Lt.text||"",Ze}return te}(io),zl=function(qe){f(te,qe);function te(ke){var Ze=qe.call(this,ke)||this;return Ze.value=ke.value,Ze}return te}(io),ul=function(te){return Rn.parse(hn.create(te).parseComponentValue())},Wl=function(qe){f(te,qe);function te(ke){var Ze=qe.call(this,ke)||this;Ze.src=ke.src,Ze.width=parseInt(ke.width,10)||0,Ze.height=parseInt(ke.height,10)||0,Ze.backgroundColor=Ze.styles.backgroundColor;try{if(ke.contentWindow&&ke.contentWindow.document&&ke.contentWindow.document.documentElement){Ze.tree=rl(ke.contentWindow.document.documentElement);var Lt=ke.contentWindow.document.documentElement?ul(getComputedStyle(ke.contentWindow.document.documentElement).backgroundColor):Li.TRANSPARENT,tr=ke.contentWindow.document.body?ul(getComputedStyle(ke.contentWindow.document.body).backgroundColor):Li.TRANSPARENT;Ze.backgroundColor=En(Lt)?En(tr)?Ze.styles.backgroundColor:tr:Lt}}catch(vr){}return Ze}return te}(io),oc=["OL","UL","MENU"],sc=function qe(te,ke,Ze){for(var Lt=te.firstChild,tr=void 0;Lt;Lt=tr)if(tr=Lt.nextSibling,Ss(Lt)&&Lt.data.trim().length>0)ke.textNodes.push(new Ho(Lt,ke.styles));else if(Ks(Lt)){var vr=ks(Lt);vr.styles.isVisible()&&(wl(Lt,vr,Ze)?vr.flags|=4:dl(vr.styles)&&(vr.flags|=2),oc.indexOf(Lt.tagName)!==-1&&(vr.flags|=8),ke.elements.push(vr),!Cl(Lt)&&!Qs(Lt)&&!pl(Lt)&&qe(Lt,vr,Ze))}},ks=function(te){return fl(te)?new Nl(te):il(te)?new Os(te):Qs(te)?new Gs(te):Sl(te)?new el(te):Fl(te)?new Hl(te):Vl(te)?new Ml(te):pl(te)?new bl(te):Cl(te)?new zl(te):El(te)?new Wl(te):new io(te)},rl=function(te){var ke=ks(te);return ke.flags|=4,sc(te,ke,ke),ke},wl=function(te,ke,Ze){return ke.styles.isPositionedWithZIndex()||ke.styles.opacity<1||ke.styles.isTransformed()||hl(te)&&Ze.styles.isTransparent()},dl=function(te){return te.isPositioned()||te.isFloating()},Ss=function(te){return te.nodeType===Node.TEXT_NODE},Ks=function(te){return te.nodeType===Node.ELEMENT_NODE},nl=function(te){return Ks(te)&&typeof te.style!="undefined"&&!Bs(te)},Bs=function(te){return typeof te.className=="object"},Sl=function(te){return te.tagName==="LI"},Fl=function(te){return te.tagName==="OL"},Vl=function(te){return te.tagName==="INPUT"},xl=function(te){return te.tagName==="HTML"},Qs=function(te){return te.tagName==="svg"},hl=function(te){return te.tagName==="BODY"},il=function(te){return te.tagName==="CANVAS"},fl=function(te){return te.tagName==="IMG"},El=function(te){return te.tagName==="IFRAME"},zs=function(te){return te.tagName==="STYLE"},Xl=function(te){return te.tagName==="SCRIPT"},Cl=function(te){return te.tagName==="TEXTAREA"},pl=function(te){return te.tagName==="SELECT"},Tl=function(){function qe(){this.counters={}}return qe.prototype.getCounterValue=function(te){var ke=this.counters[te];return ke&&ke.length?ke[ke.length-1]:1},qe.prototype.getCounterValues=function(te){var ke=this.counters[te];return ke||[]},qe.prototype.pop=function(te){var ke=this;te.forEach(function(Ze){return ke.counters[Ze].pop()})},qe.prototype.parse=function(te){var ke=this,Ze=te.counterIncrement,Lt=te.counterReset,tr=!0;Ze!==null&&Ze.forEach(function(Or){var Hr=ke.counters[Or.counter];Hr&&Or.increment!==0&&(tr=!1,Hr[Math.max(0,Hr.length-1)]+=Or.increment)});var vr=[];return tr&&Lt.forEach(function(Or){var Hr=ke.counters[Or.counter];vr.push(Or.counter),Hr||(Hr=ke.counters[Or.counter]=[]),Hr.push(Or.reset)}),vr},qe}(),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"]},kl={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"]},Js=function(te,ke,Ze,Lt,tr,vr){return te<ke||te>Ze?vl(te,tr,vr.length>0):Lt.integers.reduce(function(Or,Hr,Kr){for(;te>=Hr;)te-=Hr,Or+=Lt.values[Kr];return Or},"")+vr},Ql=function(te,ke,Ze,Lt){var tr="";do Ze||te--,tr=Lt(te)+tr,te/=ke;while(te*ke>=ke);return tr},Ro=function(te,ke,Ze,Lt,tr){var vr=Ze-ke+1;return(te<0?"-":"")+(Ql(Math.abs(te),vr,Lt,function(Or){return r(Math.floor(Or%vr)+ke)})+tr)},Ws=function(te,ke,Ze){Ze===void 0&&(Ze=". ");var Lt=ke.length;return Ql(Math.abs(te),Lt,!1,function(tr){return ke[Math.floor(tr%Lt)]})+Ze},al=1<<0,Ps=1<<1,Us=1<<2,gl=1<<3,xs=function(te,ke,Ze,Lt,tr,vr){if(te<-9999||te>9999)return vl(te,Dn.CJK_DECIMAL,tr.length>0);var Or=Math.abs(te),Hr=tr;if(Or===0)return ke[0]+Hr;for(var Kr=0;Or>0&&Kr<=4;Kr++){var cn=Or%10;cn===0&&Do(vr,al)&&Hr!==""?Hr=ke[cn]+Hr:cn>1||cn===1&&Kr===0||cn===1&&Kr===1&&Do(vr,Ps)||cn===1&&Kr===1&&Do(vr,Us)&&te>100||cn===1&&Kr>1&&Do(vr,gl)?Hr=ke[cn]+(Kr>0?Ze[Kr-1]:"")+Hr:cn===1&&Kr>0&&(Hr=Ze[Kr-1]+Hr),Or=Math.floor(Or/10)}return(te<0?Lt:"")+Hr},ol="\u5341\u767E\u5343\u842C",Zs="\u62FE\u4F70\u4EDF\u842C",Bl="\u30DE\u30A4\u30CA\u30B9",Ll="\uB9C8\uC774\uB108\uC2A4",vl=function(te,ke,Ze){var Lt=Ze?". ":"",tr=Ze?"\u3001":"",vr=Ze?", ":"",Or=Ze?" ":"";switch(ke){case Dn.DISC:return"\u2022"+Or;case Dn.CIRCLE:return"\u25E6"+Or;case Dn.SQUARE:return"\u25FE"+Or;case Dn.DECIMAL_LEADING_ZERO:var Hr=Ro(te,48,57,!0,Lt);return Hr.length<4?"0"+Hr:Hr;case Dn.CJK_DECIMAL:return Ws(te,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",tr);case Dn.LOWER_ROMAN:return Js(te,1,3999,Yl,Dn.DECIMAL,Lt).toLowerCase();case Dn.UPPER_ROMAN:return Js(te,1,3999,Yl,Dn.DECIMAL,Lt);case Dn.LOWER_GREEK:return Ro(te,945,969,!1,Lt);case Dn.LOWER_ALPHA:return Ro(te,97,122,!1,Lt);case Dn.UPPER_ALPHA:return Ro(te,65,90,!1,Lt);case Dn.ARABIC_INDIC:return Ro(te,1632,1641,!0,Lt);case Dn.ARMENIAN:case Dn.UPPER_ARMENIAN:return Js(te,1,9999,kl,Dn.DECIMAL,Lt);case Dn.LOWER_ARMENIAN:return Js(te,1,9999,kl,Dn.DECIMAL,Lt).toLowerCase();case Dn.BENGALI:return Ro(te,2534,2543,!0,Lt);case Dn.CAMBODIAN:case Dn.KHMER:return Ro(te,6112,6121,!0,Lt);case Dn.CJK_EARTHLY_BRANCH:return Ws(te,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",tr);case Dn.CJK_HEAVENLY_STEM:return Ws(te,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",tr);case Dn.CJK_IDEOGRAPHIC:case Dn.TRAD_CHINESE_INFORMAL:return xs(te,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ol,"\u8CA0",tr,Ps|Us|gl);case Dn.TRAD_CHINESE_FORMAL:return xs(te,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Zs,"\u8CA0",tr,al|Ps|Us|gl);case Dn.SIMP_CHINESE_INFORMAL:return xs(te,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ol,"\u8D1F",tr,Ps|Us|gl);case Dn.SIMP_CHINESE_FORMAL:return xs(te,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Zs,"\u8D1F",tr,al|Ps|Us|gl);case Dn.JAPANESE_INFORMAL:return xs(te,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Bl,tr,0);case Dn.JAPANESE_FORMAL:return xs(te,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Bl,tr,al|Ps|Us);case Dn.KOREAN_HANGUL_FORMAL:return xs(te,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",Ll,vr,al|Ps|Us);case Dn.KOREAN_HANJA_INFORMAL:return xs(te,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",Ll,vr,0);case Dn.KOREAN_HANJA_FORMAL:return xs(te,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",Ll,vr,al|Ps|Us);case Dn.DEVANAGARI:return Ro(te,2406,2415,!0,Lt);case Dn.GEORGIAN:return Js(te,1,19999,Gl,Dn.DECIMAL,Lt);case Dn.GUJARATI:return Ro(te,2790,2799,!0,Lt);case Dn.GURMUKHI:return Ro(te,2662,2671,!0,Lt);case Dn.HEBREW:return Js(te,1,10999,ml,Dn.DECIMAL,Lt);case Dn.HIRAGANA:return Ws(te,"\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(te,"\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(te,3302,3311,!0,Lt);case Dn.KATAKANA:return Ws(te,"\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(te,"\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(te,3792,3801,!0,Lt);case Dn.MONGOLIAN:return Ro(te,6160,6169,!0,Lt);case Dn.MYANMAR:return Ro(te,4160,4169,!0,Lt);case Dn.ORIYA:return Ro(te,2918,2927,!0,Lt);case Dn.PERSIAN:return Ro(te,1776,1785,!0,Lt);case Dn.TAMIL:return Ro(te,3046,3055,!0,Lt);case Dn.TELUGU:return Ro(te,3174,3183,!0,Lt);case Dn.THAI:return Ro(te,3664,3673,!0,Lt);case Dn.TIBETAN:return Ro(te,3872,3881,!0,Lt);case Dn.DECIMAL:default:return Ro(te,48,57,!0,Lt)}},ql="data-html2canvas-ignore",Pl=function(){function qe(te,ke){if(this.options=ke,this.scrolledElements=[],this.referenceElement=te,this.counters=new Tl,this.quoteDepth=0,!te.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(te.ownerDocument.documentElement)}return qe.prototype.toIFrame=function(te,ke){var Ze=this,Lt=Jl(te,ke);if(!Lt.contentWindow)return Promise.reject("Unable to find iframe window");var tr=te.defaultView.pageXOffset,vr=te.defaultView.pageYOffset,Or=Lt.contentWindow,Hr=Or.document,Kr=lc(Lt).then(function(){return m(Ze,void 0,void 0,function(){var cn;return v(this,function(sn){switch(sn.label){case 0:return this.scrolledElements.forEach(ec),Or&&(Or.scrollTo(ke.left,ke.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Or.scrollY!==ke.top||Or.scrollX!==ke.left)&&(Hr.documentElement.style.top=-ke.top+"px",Hr.documentElement.style.left=-ke.left+"px",Hr.documentElement.style.position="absolute")),cn=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 cn=="function"?[2,Promise.resolve().then(function(){return cn(Hr)}).then(function(){return Lt})]:[2,Lt]}})})});return Hr.open(),Hr.write($l(document.doctype)+"<html></html>"),Il(this.referenceElement.ownerDocument,tr,vr),Hr.replaceChild(Hr.adoptNode(this.documentElement),Hr.documentElement),Hr.close(),Kr},qe.prototype.createElementClone=function(te){if(il(te))return this.createCanvasClone(te);if(zs(te))return this.createStyleClone(te);var ke=te.cloneNode(!1);return fl(ke)&&ke.loading==="lazy"&&(ke.loading="eager"),ke},qe.prototype.createStyleClone=function(te){try{var ke=te.sheet;if(ke&&ke.cssRules){var Ze=[].slice.call(ke.cssRules,0).reduce(function(tr,vr){return vr&&typeof vr.cssText=="string"?tr+vr.cssText:tr},""),Lt=te.cloneNode(!1);return Lt.textContent=Ze,Lt}}catch(tr){if(la.getInstance(this.options.id).error("Unable to access cssRules property",tr),tr.name!=="SecurityError")throw tr}return te.cloneNode(!1)},qe.prototype.createCanvasClone=function(te){if(this.options.inlineImages&&te.ownerDocument){var ke=te.ownerDocument.createElement("img");try{return ke.src=te.toDataURL(),ke}catch(vr){la.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var Ze=te.cloneNode(!1);try{Ze.width=te.width,Ze.height=te.height;var Lt=te.getContext("2d"),tr=Ze.getContext("2d");return tr&&(Lt?tr.putImageData(Lt.getImageData(0,0,te.width,te.height),0,0):tr.drawImage(te,0,0)),Ze}catch(vr){}return Ze},qe.prototype.cloneNode=function(te){if(Ss(te))return document.createTextNode(te.data);if(!te.ownerDocument)return te.cloneNode(!1);var ke=te.ownerDocument.defaultView;if(ke&&Ks(te)&&(nl(te)||Bs(te))){var Ze=this.createElementClone(te),Lt=ke.getComputedStyle(te),tr=ke.getComputedStyle(te,":before"),vr=ke.getComputedStyle(te,":after");this.referenceElement===te&&nl(Ze)&&(this.clonedReferenceElement=Ze),hl(Ze)&&uc(Ze);for(var Or=this.counters.parse(new Pi(Lt)),Hr=this.resolvePseudoContent(te,Ze,tr,yl.BEFORE),Kr=te.firstChild;Kr;Kr=Kr.nextSibling)(!Ks(Kr)||!Xl(Kr)&&!Kr.hasAttribute(ql)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(Kr)))&&((!this.options.copyStyles||!Ks(Kr)||!zs(Kr))&&Ze.appendChild(this.cloneNode(Kr)));Hr&&Ze.insertBefore(Hr,Ze.firstChild);var cn=this.resolvePseudoContent(te,Ze,vr,yl.AFTER);return cn&&Ze.appendChild(cn),this.counters.pop(Or),Lt&&(this.options.copyStyles||Bs(te))&&!El(te)&&Zl(Lt,Ze),(te.scrollTop!==0||te.scrollLeft!==0)&&this.scrolledElements.push([Ze,te.scrollLeft,te.scrollTop]),(Cl(te)||pl(te))&&(Cl(Ze)||pl(Ze))&&(Ze.value=te.value),Ze}return te.cloneNode(!1)},qe.prototype.resolvePseudoContent=function(te,ke,Ze,Lt){var tr=this;if(!Ze)return;var vr=Ze.content,Or=ke.ownerDocument;if(!Or||!vr||vr==="none"||vr==="-moz-alt-content"||Ze.display==="none")return;this.counters.parse(new Pi(Ze));var Hr=new ui(Ze),Kr=Or.createElement("html2canvaspseudoelement");Zl(Ze,Kr),Hr.content.forEach(function(sn){if(sn.type===Be.STRING_TOKEN)Kr.appendChild(Or.createTextNode(sn.value));else if(sn.type===Be.URL_TOKEN){var Fn=Or.createElement("img");Fn.src=sn.value,Fn.style.opacity="1",Kr.appendChild(Fn)}else if(sn.type===Be.FUNCTION){if(sn.name==="attr"){var si=sn.values.filter(Jt);si.length&&Kr.appendChild(Or.createTextNode(te.getAttribute(si[0].value)||""))}else if(sn.name==="counter"){var Kn=sn.values.filter(Er),fi=Kn[0],da=Kn[1];if(fi&&Jt(fi)){var Ti=tr.counters.getCounterValue(fi.value),na=da&&Jt(da)?Vs.parse(da.value):Dn.DECIMAL;Kr.appendChild(Or.createTextNode(vl(Ti,na,!1)))}}else if(sn.name==="counters"){var _a=sn.values.filter(Er),fi=_a[0],Bi=_a[1],da=_a[2];if(fi&&Jt(fi)){var _o=tr.counters.getCounterValues(fi.value),no=da&&Jt(da)?Vs.parse(da.value):Dn.DECIMAL,zo=Bi&&Bi.type===Be.STRING_TOKEN?Bi.value:"",Bo=_o.map(function(fs){return vl(fs,no,!1)}).join(zo);Kr.appendChild(Or.createTextNode(Bo))}}}else if(sn.type===Be.IDENT_TOKEN)switch(sn.value){case"open-quote":Kr.appendChild(Or.createTextNode(Hs(Hr.quotes,tr.quoteDepth++,!0)));break;case"close-quote":Kr.appendChild(Or.createTextNode(Hs(Hr.quotes,--tr.quoteDepth,!1)));break;default:Kr.appendChild(Or.createTextNode(sn.value))}}),Kr.className=js+" "+_l;var cn=Lt===yl.BEFORE?" "+js:" "+_l;return Bs(ke)?ke.className.baseValue+=cn:ke.className+=cn,Kr},qe.destroy=function(te){return te.parentNode?(te.parentNode.removeChild(te),!0):!1},qe}(),yl;(function(qe){qe[qe.BEFORE=0]="BEFORE",qe[qe.AFTER=1]="AFTER"})(yl||(yl={}));var Jl=function(te,ke){var Ze=te.createElement("iframe");return Ze.className="html2canvas-container",Ze.style.visibility="hidden",Ze.style.position="fixed",Ze.style.left="-10000px",Ze.style.top="0px",Ze.style.border="0",Ze.width=ke.width.toString(),Ze.height=ke.height.toString(),Ze.scrolling="no",Ze.setAttribute(ql,"true"),te.body.appendChild(Ze),Ze},lc=function(te){return new Promise(function(ke,Ze){var Lt=te.contentWindow;if(!Lt)return Ze("No window assigned for iframe");var tr=Lt.document;Lt.onload=te.onload=tr.onreadystatechange=function(){Lt.onload=te.onload=tr.onreadystatechange=null;var vr=setInterval(function(){tr.body.childNodes.length>0&&tr.readyState==="complete"&&(clearInterval(vr),ke(te))},50)}})},Zl=function(te,ke){for(var Ze=te.length-1;Ze>=0;Ze--){var Lt=te.item(Ze);Lt!=="content"&&ke.style.setProperty(Lt,te.getPropertyValue(Lt))}return ke},$l=function(te){var ke="";return te&&(ke+="<!DOCTYPE ",te.name&&(ke+=te.name),te.internalSubset&&(ke+=te.internalSubset),te.publicId&&(ke+='"'+te.publicId+'"'),te.systemId&&(ke+='"'+te.systemId+'"'),ke+=">"),ke},Il=function(te,ke,Ze){te&&te.defaultView&&(ke!==te.defaultView.pageXOffset||Ze!==te.defaultView.pageYOffset)&&te.defaultView.scrollTo(ke,Ze)},ec=function(te){var ke=te[0],Ze=te[1],Lt=te[2];ke.scrollLeft=Ze,ke.scrollTop=Lt},cc=":before",Ol=":after",js="___html2canvas___pseudoelement_before",_l="___html2canvas___pseudoelement_after",Al=`{
content: "" !important;
display: none !important;
}`,uc=function(te){dc(te,"."+js+cc+Al+`
.`+_l+Ol+Al)},dc=function(te,ke){var Ze=te.ownerDocument;if(Ze){var Lt=Ze.createElement("style");Lt.textContent=ke,te.appendChild(Lt)}},sl;(function(qe){qe[qe.VECTOR=0]="VECTOR",qe[qe.BEZIER_CURVE=1]="BEZIER_CURVE"})(sl||(sl={}));var at=function(te,ke){return te.length===ke.length?te.some(function(Ze,Lt){return Ze===ke[Lt]}):!1},de=function(te,ke,Ze,Lt,tr){return te.map(function(vr,Or){switch(Or){case 0:return vr.add(ke,Ze);case 1:return vr.add(ke+Lt,Ze);case 2:return vr.add(ke+Lt,Ze+tr);case 3:return vr.add(ke,Ze+tr)}return vr})},je=function(){function qe(te,ke){this.type=sl.VECTOR,this.x=te,this.y=ke}return qe.prototype.add=function(te,ke){return new qe(this.x+te,this.y+ke)},qe}(),bt=function(te,ke,Ze){return new je(te.x+(ke.x-te.x)*Ze,te.y+(ke.y-te.y)*Ze)},kt=function(){function qe(te,ke,Ze,Lt){this.type=sl.BEZIER_CURVE,this.start=te,this.startControl=ke,this.endControl=Ze,this.end=Lt}return qe.prototype.subdivide=function(te,ke){var Ze=bt(this.start,this.startControl,te),Lt=bt(this.startControl,this.endControl,te),tr=bt(this.endControl,this.end,te),vr=bt(Ze,Lt,te),Or=bt(Lt,tr,te),Hr=bt(vr,Or,te);return ke?new qe(this.start,Ze,vr,Hr):new qe(Hr,Or,tr,this.end)},qe.prototype.add=function(te,ke){return new qe(this.start.add(te,ke),this.startControl.add(te,ke),this.endControl.add(te,ke),this.end.add(te,ke))},qe.prototype.reverse=function(){return new qe(this.end,this.endControl,this.startControl,this.start)},qe}(),qt=function(te){return te.type===sl.BEZIER_CURVE},ar=function(){function qe(te){var ke=te.styles,Ze=te.bounds,Lt=Mr(ke.borderTopLeftRadius,Ze.width,Ze.height),tr=Lt[0],vr=Lt[1],Or=Mr(ke.borderTopRightRadius,Ze.width,Ze.height),Hr=Or[0],Kr=Or[1],cn=Mr(ke.borderBottomRightRadius,Ze.width,Ze.height),sn=cn[0],Fn=cn[1],si=Mr(ke.borderBottomLeftRadius,Ze.width,Ze.height),Kn=si[0],fi=si[1],da=[];da.push((tr+Hr)/Ze.width),da.push((Kn+sn)/Ze.width),da.push((vr+fi)/Ze.height),da.push((Kr+Fn)/Ze.height);var Ti=Math.max.apply(Math,da);Ti>1&&(tr/=Ti,vr/=Ti,Hr/=Ti,Kr/=Ti,sn/=Ti,Fn/=Ti,Kn/=Ti,fi/=Ti);var na=Ze.width-Hr,_a=Ze.height-Fn,Bi=Ze.width-sn,_o=Ze.height-fi,no=ke.borderTopWidth,zo=ke.borderRightWidth,Bo=ke.borderBottomWidth,ka=ke.borderLeftWidth,Wo=Dr(ke.paddingTop,te.bounds.width),fs=Dr(ke.paddingRight,te.bounds.width),vs=Dr(ke.paddingBottom,te.bounds.width),Es=Dr(ke.paddingLeft,te.bounds.width);this.topLeftBorderBox=tr>0||vr>0?yr(Ze.left,Ze.top,tr,vr,lr.TOP_LEFT):new je(Ze.left,Ze.top),this.topRightBorderBox=Hr>0||Kr>0?yr(Ze.left+na,Ze.top,Hr,Kr,lr.TOP_RIGHT):new je(Ze.left+Ze.width,Ze.top),this.bottomRightBorderBox=sn>0||Fn>0?yr(Ze.left+Bi,Ze.top+_a,sn,Fn,lr.BOTTOM_RIGHT):new je(Ze.left+Ze.width,Ze.top+Ze.height),this.bottomLeftBorderBox=Kn>0||fi>0?yr(Ze.left,Ze.top+_o,Kn,fi,lr.BOTTOM_LEFT):new je(Ze.left,Ze.top+Ze.height),this.topLeftPaddingBox=tr>0||vr>0?yr(Ze.left+ka,Ze.top+no,Math.max(0,tr-ka),Math.max(0,vr-no),lr.TOP_LEFT):new je(Ze.left+ka,Ze.top+no),this.topRightPaddingBox=Hr>0||Kr>0?yr(Ze.left+Math.min(na,Ze.width+ka),Ze.top+no,na>Ze.width+ka?0:Hr-ka,Kr-no,lr.TOP_RIGHT):new je(Ze.left+Ze.width-zo,Ze.top+no),this.bottomRightPaddingBox=sn>0||Fn>0?yr(Ze.left+Math.min(Bi,Ze.width-ka),Ze.top+Math.min(_a,Ze.height+no),Math.max(0,sn-zo),Fn-Bo,lr.BOTTOM_RIGHT):new je(Ze.left+Ze.width-zo,Ze.top+Ze.height-Bo),this.bottomLeftPaddingBox=Kn>0||fi>0?yr(Ze.left+ka,Ze.top+_o,Math.max(0,Kn-ka),fi-Bo,lr.BOTTOM_LEFT):new je(Ze.left+ka,Ze.top+Ze.height-Bo),this.topLeftContentBox=tr>0||vr>0?yr(Ze.left+ka+Es,Ze.top+no+Wo,Math.max(0,tr-(ka+Es)),Math.max(0,vr-(no+Wo)),lr.TOP_LEFT):new je(Ze.left+ka+Es,Ze.top+no+Wo),this.topRightContentBox=Hr>0||Kr>0?yr(Ze.left+Math.min(na,Ze.width+ka+Es),Ze.top+no+Wo,na>Ze.width+ka+Es?0:Hr-ka+Es,Kr-(no+Wo),lr.TOP_RIGHT):new je(Ze.left+Ze.width-(zo+fs),Ze.top+no+Wo),this.bottomRightContentBox=sn>0||Fn>0?yr(Ze.left+Math.min(Bi,Ze.width-(ka+Es)),Ze.top+Math.min(_a,Ze.height+no+Wo),Math.max(0,sn-(zo+fs)),Fn-(Bo+vs),lr.BOTTOM_RIGHT):new je(Ze.left+Ze.width-(zo+fs),Ze.top+Ze.height-(Bo+vs)),this.bottomLeftContentBox=Kn>0||fi>0?yr(Ze.left+ka+Es,Ze.top+_o,Math.max(0,Kn-(ka+Es)),fi-(Bo+vs),lr.BOTTOM_LEFT):new je(Ze.left+ka+Es,Ze.top+Ze.height-(Bo+vs))}return qe}(),lr;(function(qe){qe[qe.TOP_LEFT=0]="TOP_LEFT",qe[qe.TOP_RIGHT=1]="TOP_RIGHT",qe[qe.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",qe[qe.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(lr||(lr={}));var yr=function(te,ke,Ze,Lt,tr){var vr=4*((Math.sqrt(2)-1)/3),Or=Ze*vr,Hr=Lt*vr,Kr=te+Ze,cn=ke+Lt;switch(tr){case lr.TOP_LEFT:return new kt(new je(te,cn),new je(te,cn-Hr),new je(Kr-Or,ke),new je(Kr,ke));case lr.TOP_RIGHT:return new kt(new je(te,ke),new je(te+Or,ke),new je(Kr,cn-Hr),new je(Kr,cn));case lr.BOTTOM_RIGHT:return new kt(new je(Kr,ke),new je(Kr,ke+Hr),new je(te+Or,cn),new je(te,cn));case lr.BOTTOM_LEFT:default:return new kt(new je(Kr,cn),new je(Kr-Or,cn),new je(te,ke+Hr),new je(te,ke))}},Vr=function(te){return[te.topLeftBorderBox,te.topRightBorderBox,te.bottomRightBorderBox,te.bottomLeftBorderBox]},Xr=function(te){return[te.topLeftContentBox,te.topRightContentBox,te.bottomRightContentBox,te.bottomLeftContentBox]},Pr=function(te){return[te.topLeftPaddingBox,te.topRightPaddingBox,te.bottomRightPaddingBox,te.bottomLeftPaddingBox]},kr=function(){function qe(te,ke,Ze){this.type=0,this.offsetX=te,this.offsetY=ke,this.matrix=Ze,this.target=2|4}return qe}(),Gr=function(){function qe(te,ke){this.type=1,this.target=ke,this.path=te}return qe}(),dn=function(te){return te.type===0},pn=function(te){return te.type===1},ei=function(){function qe(te){this.element=te,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return qe}(),ci=function(){function qe(te,ke){if(this.container=te,this.effects=ke.slice(0),this.curves=new ar(te),te.styles.transform!==null){var Ze=te.bounds.left+te.styles.transformOrigin[0].number,Lt=te.bounds.top+te.styles.transformOrigin[1].number,tr=te.styles.transform;this.effects.push(new kr(Ze,Lt,tr))}if(te.styles.overflowX!==We.VISIBLE){var vr=Vr(this.curves),Or=Pr(this.curves);at(vr,Or)?this.effects.push(new Gr(vr,2|4)):(this.effects.push(new Gr(vr,2)),this.effects.push(new Gr(Or,4)))}}return qe.prototype.getParentEffects=function(){var te=this.effects.slice(0);if(this.container.styles.overflowX!==We.VISIBLE){var ke=Vr(this.curves),Ze=Pr(this.curves);at(ke,Ze)||te.push(new Gr(Ze,2|4))}return te},qe}(),ii=function qe(te,ke,Ze,Lt){te.container.elements.forEach(function(tr){var vr=Do(tr.flags,4),Or=Do(tr.flags,2),Hr=new ci(tr,te.getParentEffects());Do(tr.styles.display,2048)&&Lt.push(Hr);var Kr=Do(tr.flags,8)?[]:Lt;if(vr||Or){var cn=vr||tr.styles.isPositioned()?Ze:ke,sn=new ei(Hr);if(tr.styles.isPositioned()||tr.styles.opacity<1||tr.styles.isTransformed()){var Fn=tr.styles.zIndex.order;if(Fn<0){var si=0;cn.negativeZIndex.some(function(fi,da){return Fn>fi.element.container.styles.zIndex.order?(si=da,!1):si>0}),cn.negativeZIndex.splice(si,0,sn)}else if(Fn>0){var Kn=0;cn.positiveZIndex.some(function(fi,da){return Fn>=fi.element.container.styles.zIndex.order?(Kn=da+1,!1):Kn>0}),cn.positiveZIndex.splice(Kn,0,sn)}else cn.zeroOrAutoZIndexOrTransformedOrOpacity.push(sn)}else tr.styles.isFloating()?cn.nonPositionedFloats.push(sn):cn.nonPositionedInlineLevel.push(sn);qe(Hr,sn,vr?sn:Ze,Kr)}else tr.styles.isInlineLevel()?ke.inlineLevel.push(Hr):ke.nonInlineLevel.push(Hr),qe(Hr,ke,Ze,Kr);Do(tr.flags,8)&&Ji(tr,Kr)})},Ji=function(te,ke){for(var Ze=te instanceof Hl?te.start:1,Lt=te instanceof Hl?te.reversed:!1,tr=0;tr<ke.length;tr++){var vr=ke[tr];vr.container instanceof el&&typeof vr.container.value=="number"&&vr.container.value!==0&&(Ze=vr.container.value),vr.listValue=vl(Ze,vr.container.styles.listStyleType,!0),Ze+=Lt?-1:1}},Si=function(te){var ke=new ci(te,[]),Ze=new ei(ke),Lt=[];return ii(ke,Ze,Ze,Lt),Ji(ke.container,Lt),Ze},Va=function(te,ke){switch(ke){case 0:return Ei(te.topLeftBorderBox,te.topLeftPaddingBox,te.topRightBorderBox,te.topRightPaddingBox);case 1:return Ei(te.topRightBorderBox,te.topRightPaddingBox,te.bottomRightBorderBox,te.bottomRightPaddingBox);case 2:return Ei(te.bottomRightBorderBox,te.bottomRightPaddingBox,te.bottomLeftBorderBox,te.bottomLeftPaddingBox);case 3:default:return Ei(te.bottomLeftBorderBox,te.bottomLeftPaddingBox,te.topLeftBorderBox,te.topLeftPaddingBox)}},Ei=function(te,ke,Ze,Lt){var tr=[];return qt(te)?tr.push(te.subdivide(.5,!1)):tr.push(te),qt(Ze)?tr.push(Ze.subdivide(.5,!0)):tr.push(Ze),qt(Lt)?tr.push(Lt.subdivide(.5,!0).reverse()):tr.push(Lt),qt(ke)?tr.push(ke.subdivide(.5,!1).reverse()):tr.push(ke),tr},co=function(te){var ke=te.bounds,Ze=te.styles;return ke.add(Ze.borderLeftWidth,Ze.borderTopWidth,-(Ze.borderRightWidth+Ze.borderLeftWidth),-(Ze.borderTopWidth+Ze.borderBottomWidth))},Ko=function(te){var ke=te.styles,Ze=te.bounds,Lt=Dr(ke.paddingLeft,Ze.width),tr=Dr(ke.paddingRight,Ze.width),vr=Dr(ke.paddingTop,Ze.width),Or=Dr(ke.paddingBottom,Ze.width);return Ze.add(Lt+ke.borderLeftWidth,vr+ke.borderTopWidth,-(ke.borderRightWidth+ke.borderLeftWidth+Lt+tr),-(ke.borderTopWidth+ke.borderBottomWidth+vr+Or))},ao=function(te,ke){return te===0?ke.bounds:te===2?Ko(ke):co(ke)},Uo=function(te,ke){return te===Ri.BORDER_BOX?ke.bounds:te===Ri.CONTENT_BOX?Ko(ke):co(ke)},O=function(te,ke,Ze){var Lt=ao(ie(te.styles.backgroundOrigin,ke),te),tr=Uo(ie(te.styles.backgroundClip,ke),te),vr=ee(ie(te.styles.backgroundSize,ke),Ze,Lt),Or=vr[0],Hr=vr[1],Kr=Mr(ie(te.styles.backgroundPosition,ke),Lt.width-Or,Lt.height-Hr),cn=Re(ie(te.styles.backgroundRepeat,ke),Kr,vr,Lt,tr),sn=Math.round(Lt.left+Kr[0]),Fn=Math.round(Lt.top+Kr[1]);return[cn,sn,Fn,Or,Hr]},M=function(te){return Jt(te)&&te.value===Ra.AUTO},J=function(te){return typeof te=="number"},ee=function(te,ke,Ze){var Lt=ke[0],tr=ke[1],vr=ke[2],Or=te[0],Hr=te[1];if(an(Or)&&Hr&&an(Hr))return[Dr(Or,Ze.width),Dr(Hr,Ze.height)];var Kr=J(vr);if(Jt(Or)&&(Or.value===Ra.CONTAIN||Or.value===Ra.COVER)){if(J(vr)){var cn=Ze.width/Ze.height;return cn<vr!==(Or.value===Ra.COVER)?[Ze.width,Ze.width/vr]:[Ze.height*vr,Ze.height]}return[Ze.width,Ze.height]}var sn=J(Lt),Fn=J(tr),si=sn||Fn;if(M(Or)&&(!Hr||M(Hr))){if(sn&&Fn)return[Lt,tr];if(!Kr&&!si)return[Ze.width,Ze.height];if(si&&Kr){var Kn=sn?Lt:tr*vr,fi=Fn?tr:Lt/vr;return[Kn,fi]}var da=sn?Lt:Ze.width,Ti=Fn?tr:Ze.height;return[da,Ti]}if(Kr){var na=0,_a=0;return an(Or)?na=Dr(Or,Ze.width):an(Hr)&&(_a=Dr(Hr,Ze.height)),M(Or)?na=_a*vr:(!Hr||M(Hr))&&(_a=na/vr),[na,_a]}var Bi=null,_o=null;if(an(Or)?Bi=Dr(Or,Ze.width):Hr&&an(Hr)&&(_o=Dr(Hr,Ze.height)),Bi!==null&&(!Hr||M(Hr))&&(_o=sn&&Fn?Bi/Lt*tr:Ze.height),_o!==null&&M(Or)&&(Bi=sn&&Fn?_o/tr*Lt:Ze.width),Bi!==null&&_o!==null)return[Bi,_o];throw new Error("Unable to calculate background-size for element")},ie=function(te,ke){var Ze=te[ke];return typeof Ze=="undefined"?te[0]:Ze},Re=function(te,ke,Ze,Lt,tr){var vr=ke[0],Or=ke[1],Hr=Ze[0],Kr=Ze[1];switch(te){case fo.REPEAT_X:return[new je(Math.round(Lt.left),Math.round(Lt.top+Or)),new je(Math.round(Lt.left+Lt.width),Math.round(Lt.top+Or)),new je(Math.round(Lt.left+Lt.width),Math.round(Kr+Lt.top+Or)),new je(Math.round(Lt.left),Math.round(Kr+Lt.top+Or))];case fo.REPEAT_Y:return[new je(Math.round(Lt.left+vr),Math.round(Lt.top)),new je(Math.round(Lt.left+vr+Hr),Math.round(Lt.top)),new je(Math.round(Lt.left+vr+Hr),Math.round(Lt.height+Lt.top)),new je(Math.round(Lt.left+vr),Math.round(Lt.height+Lt.top))];case fo.NO_REPEAT:return[new je(Math.round(Lt.left+vr),Math.round(Lt.top+Or)),new je(Math.round(Lt.left+vr+Hr),Math.round(Lt.top+Or)),new je(Math.round(Lt.left+vr+Hr),Math.round(Lt.top+Or+Kr)),new je(Math.round(Lt.left+vr),Math.round(Lt.top+Or+Kr))];default:return[new je(Math.round(tr.left),Math.round(tr.top)),new je(Math.round(tr.left+tr.width),Math.round(tr.top)),new je(Math.round(tr.left+tr.width),Math.round(tr.height+tr.top)),new je(Math.round(tr.left),Math.round(tr.height+tr.top))]}},pt="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Nt="Hidden Text",zt=function(){function qe(te){this._data={},this._document=te}return qe.prototype.parseMetrics=function(te,ke){var Ze=this._document.createElement("div"),Lt=this._document.createElement("img"),tr=this._document.createElement("span"),vr=this._document.body;Ze.style.visibility="hidden",Ze.style.fontFamily=te,Ze.style.fontSize=ke,Ze.style.margin="0",Ze.style.padding="0",vr.appendChild(Ze),Lt.src=pt,Lt.width=1,Lt.height=1,Lt.style.margin="0",Lt.style.padding="0",Lt.style.verticalAlign="baseline",tr.style.fontFamily=te,tr.style.fontSize=ke,tr.style.margin="0",tr.style.padding="0",tr.appendChild(this._document.createTextNode(Nt)),Ze.appendChild(tr),Ze.appendChild(Lt);var Or=Lt.offsetTop-tr.offsetTop+2;Ze.removeChild(tr),Ze.appendChild(this._document.createTextNode(Nt)),Ze.style.lineHeight="normal",Lt.style.verticalAlign="super";var Hr=Lt.offsetTop-Ze.offsetTop+2;return vr.removeChild(Ze),{baseline:Or,middle:Hr}},qe.prototype.getMetrics=function(te,ke){var Ze=te+" "+ke;return typeof this._data[Ze]=="undefined"&&(this._data[Ze]=this.parseMetrics(te,ke)),this._data[Ze]},qe}(),Yt=1e4,Cr=function(){function qe(te){this._activeEffects=[],this.canvas=te.canvas?te.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=te,te.canvas||(this.canvas.width=Math.floor(te.width*te.scale),this.canvas.height=Math.floor(te.height*te.scale),this.canvas.style.width=te.width+"px",this.canvas.style.height=te.height+"px"),this.fontMetrics=new zt(document),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-te.x+te.scrollX,-te.y+te.scrollY),this.ctx.textBaseline="bottom",this._activeEffects=[],la.getInstance(te.id).debug("Canvas renderer initialized ("+te.width+"x"+te.height+" at "+te.x+","+te.y+") with scale "+te.scale)}return qe.prototype.applyEffects=function(te,ke){for(var Ze=this;this._activeEffects.length;)this.popEffect();te.filter(function(Lt){return Do(Lt.target,ke)}).forEach(function(Lt){return Ze.applyEffect(Lt)})},qe.prototype.applyEffect=function(te){this.ctx.save(),dn(te)&&(this.ctx.translate(te.offsetX,te.offsetY),this.ctx.transform(te.matrix[0],te.matrix[1],te.matrix[2],te.matrix[3],te.matrix[4],te.matrix[5]),this.ctx.translate(-te.offsetX,-te.offsetY)),pn(te)&&(this.path(te.path),this.ctx.clip()),this._activeEffects.push(te)},qe.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},qe.prototype.renderStack=function(te){return m(this,void 0,void 0,function(){var ke;return v(this,function(Ze){switch(Ze.label){case 0:return ke=te.element.container.styles,ke.isVisible()?(this.ctx.globalAlpha=ke.opacity,[4,this.renderStackContent(te)]):[3,2];case 1:Ze.sent(),Ze.label=2;case 2:return[2]}})})},qe.prototype.renderNode=function(te){return m(this,void 0,void 0,function(){return v(this,function(ke){switch(ke.label){case 0:return te.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(te)]:[3,3];case 1:return ke.sent(),[4,this.renderNodeContent(te)];case 2:ke.sent(),ke.label=3;case 3:return[2]}})})},qe.prototype.renderTextWithLetterSpacing=function(te,ke){var Ze=this;if(ke===0)this.ctx.fillText(te.text,te.bounds.left,te.bounds.top+te.bounds.height);else{var Lt=i(te.text).map(function(tr){return r(tr)});Lt.reduce(function(tr,vr){return Ze.ctx.fillText(vr,tr,te.bounds.top+te.bounds.height),tr+Ze.ctx.measureText(vr).width},te.bounds.left)}},qe.prototype.createFontStyle=function(te){var ke=te.fontVariant.filter(function(tr){return tr==="normal"||tr==="small-caps"}).join(""),Ze=te.fontFamily.join(", "),Lt=tt(te.fontSize)?""+te.fontSize.number+te.fontSize.unit:te.fontSize.number+"px";return[[te.fontStyle,ke,te.fontWeight,Lt,Ze].join(" "),Ze,Lt]},qe.prototype.renderTextNode=function(te,ke){return m(this,void 0,void 0,function(){var Ze,Lt,tr,vr,Or=this;return v(this,function(Hr){return Ze=this.createFontStyle(ke),Lt=Ze[0],tr=Ze[1],vr=Ze[2],this.ctx.font=Lt,te.textBounds.forEach(function(Kr){Or.ctx.fillStyle=On(ke.color),Or.renderTextWithLetterSpacing(Kr,ke.letterSpacing);var cn=ke.textShadow;cn.length&&Kr.text.trim().length&&(cn.slice(0).reverse().forEach(function(sn){Or.ctx.shadowColor=On(sn.color),Or.ctx.shadowOffsetX=sn.offsetX.number*Or.options.scale,Or.ctx.shadowOffsetY=sn.offsetY.number*Or.options.scale,Or.ctx.shadowBlur=sn.blur.number,Or.ctx.fillText(Kr.text,Kr.bounds.left,Kr.bounds.top+Kr.bounds.height)}),Or.ctx.shadowColor="",Or.ctx.shadowOffsetX=0,Or.ctx.shadowOffsetY=0,Or.ctx.shadowBlur=0),ke.textDecorationLine.length&&(Or.ctx.fillStyle=On(ke.textDecorationColor||ke.color),ke.textDecorationLine.forEach(function(sn){switch(sn){case 1:var Fn=Or.fontMetrics.getMetrics(tr,vr).baseline;Or.ctx.fillRect(Kr.bounds.left,Math.round(Kr.bounds.top+Fn),Kr.bounds.width,1);break;case 2:Or.ctx.fillRect(Kr.bounds.left,Math.round(Kr.bounds.top),Kr.bounds.width,1);break;case 3:var si=Or.fontMetrics.getMetrics(tr,vr).middle;Or.ctx.fillRect(Kr.bounds.left,Math.ceil(Kr.bounds.top+si),Kr.bounds.width,1);break}}))}),[2]})})},qe.prototype.renderReplacedElement=function(te,ke,Ze){if(Ze&&te.intrinsicWidth>0&&te.intrinsicHeight>0){var Lt=Ko(te),tr=Pr(ke);this.path(tr),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(Ze,0,0,te.intrinsicWidth,te.intrinsicHeight,Lt.left,Lt.top,Lt.width,Lt.height),this.ctx.restore()}},qe.prototype.renderNodeContent=function(te){return m(this,void 0,void 0,function(){var ke,Ze,Lt,tr,vr,Or,Hr,Kr,Hr,cn,sn,Fn,si,Kn,fi,da,Ti,Hr,na,_a,Kn;return v(this,function(Bi){switch(Bi.label){case 0:this.applyEffects(te.effects,4),ke=te.container,Ze=te.curves,Lt=ke.styles,tr=0,vr=ke.textNodes,Bi.label=1;case 1:return tr<vr.length?(Or=vr[tr],[4,this.renderTextNode(Or,Lt)]):[3,4];case 2:Bi.sent(),Bi.label=3;case 3:return tr++,[3,1];case 4:if(!(ke instanceof Nl))return[3,8];Bi.label=5;case 5:return Bi.trys.push([5,7,,8]),[4,this.options.cache.match(ke.src)];case 6:return Hr=Bi.sent(),this.renderReplacedElement(ke,Ze,Hr),[3,8];case 7:return Kr=Bi.sent(),la.getInstance(this.options.id).error("Error loading image "+ke.src),[3,8];case 8:if(ke instanceof Os&&this.renderReplacedElement(ke,Ze,ke.canvas),!(ke instanceof Gs))return[3,12];Bi.label=9;case 9:return Bi.trys.push([9,11,,12]),[4,this.options.cache.match(ke.svg)];case 10:return Hr=Bi.sent(),this.renderReplacedElement(ke,Ze,Hr),[3,12];case 11:return cn=Bi.sent(),la.getInstance(this.options.id).error("Error loading svg "+ke.svg.substring(0,255)),[3,12];case 12:return ke instanceof Wl&&ke.tree?(sn=new qe({id:this.options.id,scale:this.options.scale,backgroundColor:ke.backgroundColor,x:0,y:0,scrollX:0,scrollY:0,width:ke.width,height:ke.height,cache:this.options.cache,windowWidth:ke.width,windowHeight:ke.height}),[4,sn.render(ke.tree)]):[3,14];case 13:Fn=Bi.sent(),ke.width&&ke.height&&this.ctx.drawImage(Fn,0,0,ke.width,ke.height,ke.bounds.left,ke.bounds.top,ke.bounds.width,ke.bounds.height),Bi.label=14;case 14:if(ke instanceof Ml&&(si=Math.min(ke.bounds.width,ke.bounds.height),ke.type===es?ke.checked&&(this.ctx.save(),this.path([new je(ke.bounds.left+si*.39363,ke.bounds.top+si*.79),new je(ke.bounds.left+si*.16,ke.bounds.top+si*.5549),new je(ke.bounds.left+si*.27347,ke.bounds.top+si*.44071),new je(ke.bounds.left+si*.39694,ke.bounds.top+si*.5649),new je(ke.bounds.left+si*.72983,ke.bounds.top+si*.23),new je(ke.bounds.left+si*.84,ke.bounds.top+si*.34085),new je(ke.bounds.left+si*.39363,ke.bounds.top+si*.79)]),this.ctx.fillStyle=On(Rl),this.ctx.fill(),this.ctx.restore()):ke.type===tl&&(ke.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(ke.bounds.left+si/2,ke.bounds.top+si/2,si/4,0,Math.PI*2,!0),this.ctx.fillStyle=On(Rl),this.ctx.fill(),this.ctx.restore()))),Ur(ke)&&ke.value.length){this.ctx.font=this.createFontStyle(Lt)[0],this.ctx.fillStyle=On(Lt.color),this.ctx.textBaseline="middle",this.ctx.textAlign=nn(ke.styles.textAlign),Kn=Ko(ke),fi=0;switch(ke.styles.textAlign){case Cn.CENTER:fi+=Kn.width/2;break;case Cn.RIGHT:fi+=Kn.width;break}da=Kn.add(fi,0,0,-Kn.height/2+1),this.ctx.save(),this.path([new je(Kn.left,Kn.top),new je(Kn.left+Kn.width,Kn.top),new je(Kn.left+Kn.width,Kn.top+Kn.height),new je(Kn.left,Kn.top+Kn.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new qo(ke.value,da),Lt.letterSpacing),this.ctx.restore(),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"}if(!Do(ke.styles.display,2048))return[3,20];if(!(ke.styles.listStyleImage!==null))return[3,19];if(Ti=ke.styles.listStyleImage,!(Ti.type===Ca.URL))return[3,18];Hr=void 0,na=Ti.url,Bi.label=15;case 15:return Bi.trys.push([15,17,,18]),[4,this.options.cache.match(na)];case 16:return Hr=Bi.sent(),this.ctx.drawImage(Hr,ke.bounds.left-(Hr.width+10),ke.bounds.top),[3,18];case 17:return _a=Bi.sent(),la.getInstance(this.options.id).error("Error loading list-style-image "+na),[3,18];case 18:return[3,20];case 19:te.listValue&&ke.styles.listStyleType!==Dn.NONE&&(this.ctx.font=this.createFontStyle(Lt)[0],this.ctx.fillStyle=On(Lt.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",Kn=new h(ke.bounds.left,ke.bounds.top+Dr(ke.styles.paddingTop,ke.bounds.width),ke.bounds.width,as(Lt.lineHeight,Lt.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new qo(te.listValue,Kn),Lt.letterSpacing),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),Bi.label=20;case 20:return[2]}})})},qe.prototype.renderStackContent=function(te){return m(this,void 0,void 0,function(){var ke,Ze,Lt,tr,vr,Lt,Or,Hr,Lt,Kr,cn,Lt,sn,Fn,Lt,si,Kn,Lt,fi,da,Lt;return v(this,function(Ti){switch(Ti.label){case 0:return[4,this.renderNodeBackgroundAndBorders(te.element)];case 1:Ti.sent(),ke=0,Ze=te.negativeZIndex,Ti.label=2;case 2:return ke<Ze.length?(Lt=Ze[ke],[4,this.renderStack(Lt)]):[3,5];case 3:Ti.sent(),Ti.label=4;case 4:return ke++,[3,2];case 5:return[4,this.renderNodeContent(te.element)];case 6:Ti.sent(),tr=0,vr=te.nonInlineLevel,Ti.label=7;case 7:return tr<vr.length?(Lt=vr[tr],[4,this.renderNode(Lt)]):[3,10];case 8:Ti.sent(),Ti.label=9;case 9:return tr++,[3,7];case 10:Or=0,Hr=te.nonPositionedFloats,Ti.label=11;case 11:return Or<Hr.length?(Lt=Hr[Or],[4,this.renderStack(Lt)]):[3,14];case 12:Ti.sent(),Ti.label=13;case 13:return Or++,[3,11];case 14:Kr=0,cn=te.nonPositionedInlineLevel,Ti.label=15;case 15:return Kr<cn.length?(Lt=cn[Kr],[4,this.renderStack(Lt)]):[3,18];case 16:Ti.sent(),Ti.label=17;case 17:return Kr++,[3,15];case 18:sn=0,Fn=te.inlineLevel,Ti.label=19;case 19:return sn<Fn.length?(Lt=Fn[sn],[4,this.renderNode(Lt)]):[3,22];case 20:Ti.sent(),Ti.label=21;case 21:return sn++,[3,19];case 22:si=0,Kn=te.zeroOrAutoZIndexOrTransformedOrOpacity,Ti.label=23;case 23:return si<Kn.length?(Lt=Kn[si],[4,this.renderStack(Lt)]):[3,26];case 24:Ti.sent(),Ti.label=25;case 25:return si++,[3,23];case 26:fi=0,da=te.positiveZIndex,Ti.label=27;case 27:return fi<da.length?(Lt=da[fi],[4,this.renderStack(Lt)]):[3,30];case 28:Ti.sent(),Ti.label=29;case 29:return fi++,[3,27];case 30:return[2]}})})},qe.prototype.mask=function(te){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(te.slice(0).reverse()),this.ctx.closePath()},qe.prototype.path=function(te){this.ctx.beginPath(),this.formatPath(te),this.ctx.closePath()},qe.prototype.formatPath=function(te){var ke=this;te.forEach(function(Ze,Lt){var tr=qt(Ze)?Ze.start:Ze;Lt===0?ke.ctx.moveTo(tr.x,tr.y):ke.ctx.lineTo(tr.x,tr.y),qt(Ze)&&ke.ctx.bezierCurveTo(Ze.startControl.x,Ze.startControl.y,Ze.endControl.x,Ze.endControl.y,Ze.end.x,Ze.end.y)})},qe.prototype.renderRepeat=function(te,ke,Ze,Lt){this.path(te),this.ctx.fillStyle=ke,this.ctx.translate(Ze,Lt),this.ctx.fill(),this.ctx.translate(-Ze,-Lt)},qe.prototype.resizeImage=function(te,ke,Ze){if(te.width===ke&&te.height===Ze)return te;var Lt=this.canvas.ownerDocument.createElement("canvas");Lt.width=ke,Lt.height=Ze;var tr=Lt.getContext("2d");return tr.drawImage(te,0,0,te.width,te.height,0,0,ke,Ze),Lt},qe.prototype.renderBackgroundImage=function(te){return m(this,void 0,void 0,function(){var ke,Ze,Lt,tr,vr,Or;return v(this,function(Hr){switch(Hr.label){case 0:ke=te.styles.backgroundImage.length-1,Ze=function(cn){var sn,Fn,si,Kn,fi,da,Ti,na,_a,Bi,_o,fi,da,Ti,na,_a,no,zo,Bo,ka,Wo,fs,vs,Es,vc,Bi,tc,fi,pc,mc,na,_a,gc,da,Ti,yc,Ul,Ac,bc,wc,hc,Sc,xc;return v(this,function(rc){switch(rc.label){case 0:if(!(cn.type===Ca.URL))return[3,5];sn=void 0,Fn=cn.url,rc.label=1;case 1:return rc.trys.push([1,3,,4]),[4,Lt.options.cache.match(Fn)];case 2:return sn=rc.sent(),[3,4];case 3:return si=rc.sent(),la.getInstance(Lt.options.id).error("Error loading background-image "+Fn),[3,4];case 4:return sn&&(Kn=O(te,ke,[sn.width,sn.height,sn.width/sn.height]),fi=Kn[0],da=Kn[1],Ti=Kn[2],na=Kn[3],_a=Kn[4],Bi=Lt.ctx.createPattern(Lt.resizeImage(sn,na,_a),"repeat"),Lt.renderRepeat(fi,Bi,da,Ti)),[3,6];case 5:to(cn)?(_o=O(te,ke,[null,null,null]),fi=_o[0],da=_o[1],Ti=_o[2],na=_o[3],_a=_o[4],no=qi(cn.angle,na,_a),zo=no[0],Bo=no[1],ka=no[2],Wo=no[3],fs=no[4],vs=document.createElement("canvas"),vs.width=na,vs.height=_a,Es=vs.getContext("2d"),vc=Es.createLinearGradient(Bo,Wo,ka,fs),mi(cn.stops,zo).forEach(function(fc){return vc.addColorStop(fc.stop,On(fc.color))}),Es.fillStyle=vc,Es.fillRect(0,0,na,_a),na>0&&_a>0&&(Bi=Lt.ctx.createPattern(vs,"repeat"),Lt.renderRepeat(fi,Bi,da,Ti))):Lo(cn)&&(tc=O(te,ke,[null,null,null]),fi=tc[0],pc=tc[1],mc=tc[2],na=tc[3],_a=tc[4],gc=cn.position.length===0?[sr]:cn.position,da=Dr(gc[0],na),Ti=Dr(gc[gc.length-1],_a),yc=ya(cn,da,Ti,na,_a),Ul=yc[0],Ac=yc[1],Ul>0&&Ul>0&&(bc=Lt.ctx.createRadialGradient(pc+da,mc+Ti,0,pc+da,mc+Ti,Ul),mi(cn.stops,Ul*2).forEach(function(fc){return bc.addColorStop(fc.stop,On(fc.color))}),Lt.path(fi),Lt.ctx.fillStyle=bc,Ul!==Ac?(wc=te.bounds.left+.5*te.bounds.width,hc=te.bounds.top+.5*te.bounds.height,Sc=Ac/Ul,xc=1/Sc,Lt.ctx.save(),Lt.ctx.translate(wc,hc),Lt.ctx.transform(1,0,0,Sc,0,0),Lt.ctx.translate(-wc,-hc),Lt.ctx.fillRect(pc,xc*(mc-hc)+hc,na,_a*xc),Lt.ctx.restore()):Lt.ctx.fill())),rc.label=6;case 6:return ke--,[2]}})},Lt=this,tr=0,vr=te.styles.backgroundImage.slice(0).reverse(),Hr.label=1;case 1:return tr<vr.length?(Or=vr[tr],[5,Ze(Or)]):[3,4];case 2:Hr.sent(),Hr.label=3;case 3:return tr++,[3,1];case 4:return[2]}})})},qe.prototype.renderBorder=function(te,ke,Ze){return m(this,void 0,void 0,function(){return v(this,function(Lt){return this.path(Va(Ze,ke)),this.ctx.fillStyle=On(te),this.ctx.fill(),[2]})})},qe.prototype.renderNodeBackgroundAndBorders=function(te){return m(this,void 0,void 0,function(){var ke,Ze,Lt,tr,vr,Or,Hr,Kr,cn=this;return v(this,function(sn){switch(sn.label){case 0:return this.applyEffects(te.effects,2),ke=te.container.styles,Ze=!En(ke.backgroundColor)||ke.backgroundImage.length,Lt=[{style:ke.borderTopStyle,color:ke.borderTopColor},{style:ke.borderRightStyle,color:ke.borderRightColor},{style:ke.borderBottomStyle,color:ke.borderBottomColor},{style:ke.borderLeftStyle,color:ke.borderLeftColor}],tr=en(ie(ke.backgroundClip,0),te.curves),Ze||ke.boxShadow.length?(this.ctx.save(),this.path(tr),this.ctx.clip(),En(ke.backgroundColor)||(this.ctx.fillStyle=On(ke.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(te.container)]):[3,2];case 1:sn.sent(),this.ctx.restore(),ke.boxShadow.slice(0).reverse().forEach(function(Fn){cn.ctx.save();var si=Vr(te.curves),Kn=Fn.inset?0:Yt,fi=de(si,-Kn+(Fn.inset?1:-1)*Fn.spread.number,(Fn.inset?1:-1)*Fn.spread.number,Fn.spread.number*(Fn.inset?-2:2),Fn.spread.number*(Fn.inset?-2:2));Fn.inset?(cn.path(si),cn.ctx.clip(),cn.mask(fi)):(cn.mask(si),cn.ctx.clip(),cn.path(fi)),cn.ctx.shadowOffsetX=Fn.offsetX.number+Kn,cn.ctx.shadowOffsetY=Fn.offsetY.number,cn.ctx.shadowColor=On(Fn.color),cn.ctx.shadowBlur=Fn.blur.number,cn.ctx.fillStyle=Fn.inset?On(Fn.color):"rgba(0,0,0,1)",cn.ctx.fill(),cn.ctx.restore()}),sn.label=2;case 2:vr=0,Or=0,Hr=Lt,sn.label=3;case 3:return Or<Hr.length?(Kr=Hr[Or],Kr.style!==bo.NONE&&!En(Kr.color)?[4,this.renderBorder(Kr.color,vr,te.curves)]:[3,5]):[3,7];case 4:sn.sent(),sn.label=5;case 5:vr++,sn.label=6;case 6:return Or++,[3,3];case 7:return[2]}})})},qe.prototype.render=function(te){return m(this,void 0,void 0,function(){var ke;return v(this,function(Ze){switch(Ze.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=On(this.options.backgroundColor),this.ctx.fillRect(this.options.x-this.options.scrollX,this.options.y-this.options.scrollY,this.options.width,this.options.height)),ke=Si(te),[4,this.renderStack(ke)];case 1:return Ze.sent(),this.applyEffects([],2),[2,this.canvas]}})})},qe}(),Ur=function(te){return te instanceof zl||te instanceof bl?!0:te instanceof Ml&&te.type!==tl&&te.type!==es},en=function(te,ke){switch(te){case Ri.BORDER_BOX:return Vr(ke);case Ri.CONTENT_BOX:return Xr(ke);case Ri.PADDING_BOX:default:return Pr(ke)}},nn=function(te){switch(te){case Cn.CENTER:return"center";case Cn.RIGHT:return"right";case Cn.LEFT:default:return"left"}},xn=function(){function qe(te){this.canvas=te.canvas?te.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=te,this.canvas.width=Math.floor(te.width*te.scale),this.canvas.height=Math.floor(te.height*te.scale),this.canvas.style.width=te.width+"px",this.canvas.style.height=te.height+"px",this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-te.x+te.scrollX,-te.y+te.scrollY),la.getInstance(te.id).debug("EXPERIMENTAL ForeignObject renderer initialized ("+te.width+"x"+te.height+" at "+te.x+","+te.y+") with scale "+te.scale)}return qe.prototype.render=function(te){return m(this,void 0,void 0,function(){var ke,Ze;return v(this,function(Lt){switch(Lt.label){case 0:return ke=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,te),[4,Pn(ke)];case 1:return Ze=Lt.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=On(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(Ze,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},qe}(),Pn=function(te){return new Promise(function(ke,Ze){var Lt=new Image;Lt.onload=function(){ke(Lt)},Lt.onerror=Ze,Lt.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(te))})},Zn=void 0,Jn=function(te){return Rn.parse(hn.create(te).parseComponentValue())},oi=function(te,ke){return ke===void 0&&(ke={}),li(te,ke)};typeof window!="undefined"&&gi.setContext(window);var li=function(te,ke){return m(Zn,void 0,void 0,function(){var Ze,Lt,tr,vr,Or,Hr,Kr,cn,sn,Fn,si,Kn,fi,da,Ti,na,_a,Bi,_o,no,zo,Bo,ka,Wo,fs,Wo;return v(this,function(vs){switch(vs.label){case 0:if(Ze=te.ownerDocument,!Ze)throw new Error("Element is not attached to a Document");if(Lt=Ze.defaultView,!Lt)throw new Error("Document is not attached to a Window");return tr=(Math.round(Math.random()*1e3)+Date.now()).toString(16),vr=hl(te)||xl(te)?a(Ze):c(te),Or=vr.width,Hr=vr.height,Kr=vr.left,cn=vr.top,sn={allowTaint:!1,imageTimeout:15e3,proxy:void 0,useCORS:!1},Fn=y({},sn,ke),si={backgroundColor:"#ffffff",cache:ke.cache?ke.cache:gi.create(tr,Fn),logging:!0,removeContainer:!0,foreignObjectRendering:!1,scale:Lt.devicePixelRatio||1,windowWidth:Lt.innerWidth,windowHeight:Lt.innerHeight,scrollX:Lt.pageXOffset,scrollY:Lt.pageYOffset,x:Kr,y:cn,width:Math.ceil(Or),height:Math.ceil(Hr),id:tr},Kn=y({},si,Fn,ke),fi=new h(Kn.scrollX,Kn.scrollY,Kn.windowWidth,Kn.windowHeight),la.create({id:tr,enabled:Kn.logging}),la.getInstance(tr).debug("Starting document clone"),da=new Pl(te,{id:tr,onclone:Kn.onclone,ignoreElements:Kn.ignoreElements,inlineImages:Kn.foreignObjectRendering,copyStyles:Kn.foreignObjectRendering}),Ti=da.clonedReferenceElement,Ti?[4,da.toIFrame(Ze,fi)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return na=vs.sent(),_a=Ze.documentElement?Jn(getComputedStyle(Ze.documentElement).backgroundColor):Li.TRANSPARENT,Bi=Ze.body?Jn(getComputedStyle(Ze.body).backgroundColor):Li.TRANSPARENT,_o=ke.backgroundColor,no=typeof _o=="string"?Jn(_o):_o===null?Li.TRANSPARENT:4294967295,zo=te===Ze.documentElement?En(_a)?En(Bi)?no:Bi:_a:no,Bo={id:tr,cache:Kn.cache,canvas:Kn.canvas,backgroundColor:zo,scale:Kn.scale,x:Kn.x,y:Kn.y,scrollX:Kn.scrollX,scrollY:Kn.scrollY,width:Kn.width,height:Kn.height,windowWidth:Kn.windowWidth,windowHeight:Kn.windowHeight},Kn.foreignObjectRendering?(la.getInstance(tr).debug("Document cloned, using foreign object rendering"),Wo=new xn(Bo),[4,Wo.render(Ti)]):[3,3];case 2:return ka=vs.sent(),[3,5];case 3:return la.getInstance(tr).debug("Document cloned, using computed rendering"),gi.attachInstance(Kn.cache),la.getInstance(tr).debug("Starting DOM parsing"),fs=rl(Ti),gi.detachInstance(),zo===fs.styles.backgroundColor&&(fs.styles.backgroundColor=Li.TRANSPARENT),la.getInstance(tr).debug("Starting renderer"),Wo=new Cr(Bo),[4,Wo.render(fs)];case 4:ka=vs.sent(),vs.label=5;case 5:return Kn.removeContainer===!0&&(Pl.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,ka]}})})};return oi})},wPlo:function(D,_,e){"use strict";e.d(_,"a",function(){return g});var g="RC_SELECT_INTERNAL_PROPS_MARK"},wXyp:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("ygfH")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="CheckOutlined";var c=y.forwardRef(h);_.default=c},wYyv:function(D,_,e){"use strict";var g=e("R5yR"),f=e("5wUe"),y=function(h,c,a){var i=c<0?h.length+c:c;if(i>=0&&i<h.length){var r=a<0?h.length+a:a,o=h.splice(c,1),d=f(o,1),n=d[0];h.splice(r,0,n)}},m=function(h,c,a){return h=g(h),y(h,c,a),h};D.exports=m,D.exports.mutate=y},wgJM:function(D,_,e){"use strict";e.d(_,"a",function(){return y});var g=function(v){return+setTimeout(v,16)},f=function(v){return clearTimeout(v)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(g=function(v){return window.requestAnimationFrame(v)},f=function(v){return window.cancelAnimationFrame(v)});function y(m){return g(m)}y.cancel=f},wgjA:function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},whVF:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=e("lNSK"),f=y(e("1q3G"));function y(a){return a&&a.__esModule?a:{default:a}}function m(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}function v(a,i){for(var r=0;r<i.length;r++){var o=i[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(a,o.key,o)}}function h(a,i,r){return i&&v(a.prototype,i),r&&v(a,r),a}var c=function(){function a(){m(this,a),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(a,[{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),u=0,p=0;p<n.length;p++)s.set(n[p],u),u+=n[p].length;d=s}return this.strm.input=null,this.strm.avail_in=0,this.strm.next_in=0,d}}]),a}();_.default=c},wlus:function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="MinusCircleOutlined";var h=_.a=g.forwardRef(v)},wr5s:function(D,_,e){var g=e("IwbS"),f=g.extendShape,y=f({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},buildPath:function(m,v){var h=v.cx,c=v.cy,a=Math.max(v.r0||0,0),i=Math.max(v.r,0),r=(i-a)*.5,o=a+r,d=v.startAngle,n=v.endAngle,l=v.clockwise,t=Math.cos(d),s=Math.sin(d),u=Math.cos(n),p=Math.sin(n),w=l?n-d<Math.PI*2:d-n<Math.PI*2;w&&(m.moveTo(t*a+h,s*a+c),m.arc(t*o+h,s*o+c,r,-Math.PI+d,d,!l)),m.arc(h,c,i,d,n,!l),m.moveTo(u*i+h,p*i+c),m.arc(u*o+h,p*o+c,r,n-Math.PI*2,n-Math.PI,!l),a!==0&&(m.arc(h,c,a,n,d,l),m.moveTo(t*a+h,p*a+c)),m.closePath()}});D.exports=y},wt3j:function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("/IIm"),m=e("EMyp"),v=m.layoutCovers,h=g.extendComponentView({type:"brush",init:function(a,i){this.ecModel=a,this.api=i,this.model,(this._brushController=new y(i.getZr())).on("brush",f.bind(this._onBrush,this)).mount()},render:function(a){return this.model=a,c.apply(this,arguments)},updateTransform:function(a,i){return v(i),c.apply(this,arguments)},updateView:c,dispose:function(){this._brushController.dispose()},_onBrush:function(a,i){var r=this.model.id;this.model.brushTargetManager.setOutputRanges(a,this.ecModel),(!i.isEnd||i.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:r,areas:f.clone(a),$from:r}),i.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:r,areas:f.clone(a),$from:r})}});function c(a,i,r,o){(!o||o.$from!==a.id)&&this._brushController.setPanels(a.brushTargetManager.makePanelOpts(r)).enableBrush(a.brushOption).updateCovers(a.areas.slice())}D.exports=h},wy8a:function(D,_,e){var g=e("KxBF");function f(y,m,v){var h=y.length;return v=v===void 0?h:v,!m&&v>=h?y:g(y,m,v)}D.exports=f},x3X8:function(D,_,e){var g=e("KxfA"),f=g.retrieveRawValue;function y(m,v){var h=m.mapDimension("defaultedLabel",!0),c=h.length;if(c===1)return f(m,v,h[0]);if(c){for(var a=[],i=0;i<h.length;i++){var r=f(m,v,h[i]);a.push(r)}return a.join(" ")}}_.getDefaultLabel=y},x54q:function(D,_,e){},x6Kt:function(D,_,e){var g=e("y+Vt"),f=e("VpOo"),y=e("nPnh"),m=y.subPixelOptimizeRect,v={},h=g.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(a,i){var r,o,d,n;this.subPixelOptimize?(m(v,i,this.style),r=v.x,o=v.y,d=v.width,n=v.height,v.r=i.r,i=v):(r=i.x,o=i.y,d=i.width,n=i.height),i.r?f.buildPath(a,i):a.rect(r,o,d,n),a.closePath();return}});D.exports=h},xGfz:function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="PlusSquareOutlined";var h=_.a=g.forwardRef(v)},xKMd:function(D,_){function e(f,y){this.getAllNames=function(){var m=y();return m.mapArray(m.getName)},this.containName=function(m){var v=y();return v.indexOfName(m)>=0},this.indexOfName=function(m){var v=f();return v.indexOfName(m)},this.getItemVisual=function(m,v){var h=f();return h.getItemVisual(m,v)}}var g=e;D.exports=g},xO64:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var g=f(e("8K/p"));function f(t){return t&&t.__esModule?t:{default:t}}function y(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(u){return typeof u}:y=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},y(t)}function m(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function v(t,s){for(var u=0;u<s.length;u++){var p=s[u];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(t,p.key,p)}}function h(t,s,u){return s&&v(t.prototype,s),u&&v(t,u),t}function c(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&&a(t,s)}function a(t,s){return a=Object.setPrototypeOf||function(p,w){return p.__proto__=w,p},a(t,s)}function i(t){var s=d();return function(){var p=n(t),w;if(s){var b=n(this).constructor;w=Reflect.construct(p,arguments,b)}else w=p.apply(this,arguments);return r(this,w)}}function r(t,s){return s&&(y(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(u){return u.__proto__||Object.getPrototypeOf(u)},n(t)}var l=function(t){c(u,t);var s=i(u);function u(){return m(this,u),s.apply(this,arguments)}return h(u,[{key:"_pngRect",value:function(w,b,E,A,S,T,L){var x=this._readData(S);return x===null?!1:(T.imageRect(w,b,E,A,"image/png",x),!0)}},{key:"_basicRect",value:function(w,b,E,A,S,T,L,x){throw new Error("BasicCompression received in TightPNG rect")}}]),u}(g.default);_.default=l},xRUu:function(D,_,e){e("hJvP"),e("hFmY"),e("sAZ8")},xSIq:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.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"};_.default=g},xSat:function(D,_){var e={axisPointer:1,tooltip:1,brush:1};function g(f,y,m){var v=y.getComponentByElement(f.topTarget),h=v&&v.coordinateSystem;return v&&v!==m&&!e[v.mainType]&&h&&h.model!==m}_.onIrrelevantElement=g},xTNl:function(D,_){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]};D.exports=g},xYSL:function(D,_){function e(g,f){return g.has(f)}D.exports=e},xb2K:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("5yev")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="RedoOutlined";var c=y.forwardRef(h);_.default=c},xiyX:function(D,_,e){var g=e("bYtY"),f=e("bLfw"),y=e("nkfE"),m=e("ICMv"),v=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 c(i,r){return r.type||(r.data?"category":"value")}g.merge(v.prototype,m),y("single",v,c,h);var a=v;D.exports=a},xlC8:function(D,_,e){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=g;function g(f,y,m,v){for(var h=f&65535|0,c=f>>>16&65535|0,a=0;m!==0;){a=m>2e3?2e3:m,m-=a;do h=h+y[v++]|0,c=c+h|0;while(--a);h%=65521,c%=65521}return h|c<<16|0}},xvlK:function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="PlusOutlined";var h=_.a=g.forwardRef(v)},xzDV:function(D,_,e){},"y+Vt":function(D,_,e){var g=e("Gev7"),f=e("bYtY"),y=e("IMiH"),m=e("2DNl"),v=e("3C/r"),h=v.prototype.getCanvasPattern,c=Math.abs,a=new y(!0);function i(o){g.call(this,o),this.path=null}i.prototype={constructor:i,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(d,n){var l=this.style,t=this.path||a,s=l.hasStroke(),u=l.hasFill(),p=l.fill,w=l.stroke,b=u&&!!p.colorStops,E=s&&!!w.colorStops,A=u&&!!p.image,S=s&&!!w.image;if(l.bind(d,this,n),this.setTransform(d),this.__dirty){var T;b&&(T=T||this.getBoundingRect(),this._fillGradient=l.getGradient(d,p,T)),E&&(T=T||this.getBoundingRect(),this._strokeGradient=l.getGradient(d,w,T))}b?d.fillStyle=this._fillGradient:A&&(d.fillStyle=h.call(p,d)),E?d.strokeStyle=this._strokeGradient:S&&(d.strokeStyle=h.call(w,d));var L=l.lineDash,x=l.lineDashOffset,C=!!d.setLineDash,I=this.getGlobalScale();if(t.setScale(I[0],I[1],this.segmentIgnoreThreshold),this.__dirtyPath||L&&!C&&s?(t.beginPath(d),L&&!C&&(t.setLineDash(L),t.setLineDashOffset(x)),this.buildPath(t,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(d.beginPath(),this.path.rebuildPath(d)),u)if(l.fillOpacity!=null){var N=d.globalAlpha;d.globalAlpha=l.fillOpacity*l.opacity,t.fill(d),d.globalAlpha=N}else t.fill(d);if(L&&C&&(d.setLineDash(L),d.lineDashOffset=x),s)if(l.strokeOpacity!=null){var N=d.globalAlpha;d.globalAlpha=l.strokeOpacity*l.opacity,t.stroke(d),d.globalAlpha=N}else t.stroke(d);L&&C&&d.setLineDash([]),l.text!=null&&(this.restoreTransform(d),this.drawRectText(d,this.getBoundingRect()))},buildPath:function(d,n,l){},createPathProxy:function(){this.path=new y},getBoundingRect:function(){var d=this._rect,n=this.style,l=!d;if(l){var t=this.path;t||(t=this.path=new y),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 u=n.lineWidth,p=n.strokeNoScale?this.getLineScale():1;n.hasFill()||(u=Math.max(u,this.strokeContainThreshold||4)),p>1e-10&&(s.width+=u/p,s.height+=u/p,s.x-=u/p/2,s.y-=u/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 u=this.path.data;if(s.hasStroke()){var p=s.lineWidth,w=s.strokeNoScale?this.getLineScale():1;if(w>1e-10&&(s.hasFill()||(p=Math.max(p,this.strokeContainThreshold)),m.containStroke(u,p/w,d,n)))return!0}if(s.hasFill())return m.contain(u,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&&c(d[0]-1)>1e-10&&c(d[3]-1)>1e-10?Math.sqrt(c(d[0]*d[3]-d[2]*d[1])):1}},i.extend=function(o){var d=function(t){i.call(this,t),o.style&&this.style.extendFrom(o.style,!1);var s=o.shape;if(s){this.shape=this.shape||{};var u=this.shape;for(var p in s)!u.hasOwnProperty(p)&&s.hasOwnProperty(p)&&(u[p]=s[p])}o.init&&o.init.call(this,t)};f.inherits(d,i);for(var n in o)n!=="style"&&n!=="shape"&&(d.prototype[n]=o[n]);return d},f.inherits(i,g);var r=i;D.exports=r},"y+lR":function(D,_,e){var g=e("bYtY"),f=e("mFDi"),y=e("z35g");function m(h){y.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 c=this.getAxis("x"),a=this.getAxis("y");return c.contain(c.toLocalCoord(h[0]))&&a.contain(a.toLocalCoord(h[1]))},containData:function(h){return this.getAxis("x").containData(h[0])&&this.getAxis("y").containData(h[1])},dataToPoint:function(h,c,a){var i=this.getAxis("x"),r=this.getAxis("y");return a=a||[],a[0]=i.toGlobalCoord(i.dataToCoord(h[0])),a[1]=r.toGlobalCoord(r.dataToCoord(h[1])),a},clampData:function(h,c){var a=this.getAxis("x").scale,i=this.getAxis("y").scale,r=a.getExtent(),o=i.getExtent(),d=a.parse(h[0]),n=i.parse(h[1]);return c=c||[],c[0]=Math.min(Math.max(Math.min(r[0],r[1]),d),Math.max(r[0],r[1])),c[1]=Math.min(Math.max(Math.min(o[0],o[1]),n),Math.max(o[0],o[1])),c},pointToData:function(h,c){var a=this.getAxis("x"),i=this.getAxis("y");return c=c||[],c[0]=a.coordToData(a.toLocalCoord(h[0])),c[1]=i.coordToData(i.toLocalCoord(h[1])),c},getOtherAxis:function(h){return this.getAxis(h.dim==="x"?"y":"x")},getArea:function(){var h=this.getAxis("x").getGlobalExtent(),c=this.getAxis("y").getGlobalExtent(),a=Math.min(h[0],h[1]),i=Math.min(c[0],c[1]),r=Math.max(h[0],h[1])-a,o=Math.max(c[0],c[1])-i,d=new f(a,i,r,o);return d}},g.inherits(m,y);var v=m;D.exports=v},"y0+3":function(D,_,e){"use strict";e.d(_,"a",function(){return o}),e.d(_,"b",function(){return n});var g=/margin|padding|width|height|max|min|offset/,f={left:!0,top:!0},y={cssFloat:1,styleFloat:1,float:1};function m(l){return l.nodeType===1?l.ownerDocument.defaultView.getComputedStyle(l,null):{}}function v(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,u=m(l);return t=y[t]?"cssFloat"in l.style?"cssFloat":"styleFloat":t,s===1?u:v(l,t,u[t]||l.style[t])}function c(l,t,s){var u=arguments.length;if(t=y[t]?"cssFloat"in l.style?"cssFloat":"styleFloat":t,u===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)&&c(l,p,t[p]);return m(l)}function a(l){return l===document.body?document.documentElement.clientWidth:l.offsetWidth}function i(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(D,_,e){var g=e("ljhN");function f(y,m){for(var v=y.length;v--;)if(g(y[v][0],m))return v;return-1}D.exports=f},y23F:function(D,_){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 v=m.target;v&&!v.draggable;)v=v.parent;v&&(this._draggingTarget=v,v.dragging=!0,this._x=m.offsetX,this._y=m.offsetY,this.dispatchToElement(g(v,m),"dragstart",m.event))},_drag:function(m){var v=this._draggingTarget;if(v){var h=m.offsetX,c=m.offsetY,a=h-this._x,i=c-this._y;this._x=h,this._y=c,v.drift(a,i,m),this.dispatchToElement(g(v,m),"drag",m.event);var r=this.findHover(h,c,v).target,o=this._dropTarget;this._dropTarget=r,v!==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 v=this._draggingTarget;v&&(v.dragging=!1),this.dispatchToElement(g(v,m),"dragend",m.event),this._dropTarget&&this.dispatchToElement(g(this._dropTarget,m),"drop",m.event),this._draggingTarget=null,this._dropTarget=null}};function g(y,m){return{target:y,topTarget:m&&m.topTarget}}var f=e;D.exports=f},y2l5:function(D,_,e){var g=e("MwEJ"),f=e("T4UG"),y=f.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(m,v){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}});D.exports=y},y3Kf:function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="UpOutlined";var h=_.a=g.forwardRef(v)},y3NT:function(D,_,e){var g=e("OELB"),f=g.parsePercent,y=e("bYtY"),m=Math.PI/180;function v(a,i,r,o){i.eachSeriesByType(a,function(d){var n=d.get("center"),l=d.get("radius");y.isArray(l)||(l=[0,l]),y.isArray(n)||(n=[n,n]);var t=r.getWidth(),s=r.getHeight(),u=Math.min(t,s),p=f(n[0],t),w=f(n[1],s),b=f(l[0],u/2),E=f(l[1],u/2),A=-d.get("startAngle")*m,S=d.get("minAngle")*m,T=d.getData().tree.root,L=d.getViewRoot(),x=L.depth,C=d.get("sort");C!=null&&h(L,C);var I=0;y.each(L.children,function(z){!isNaN(z.getValue())&&I++});var N=L.getValue(),F=Math.PI/(N||I)*2,k=L.depth>0,B=L.height-(k?-1:1),P=(E-b)/(B||1),K=d.get("clockwise"),R=d.get("stillShowZeroSum"),U=K?1:-1,j=function(z,G){if(!z)return;var Z=G;if(z!==T){var ge=z.getValue(),Q=N===0&&R?F:ge*F;Q<S&&(Q=S),Z=G+U*Q;var we=z.depth-x-(k?-1:1),Ee=b+P*we,Ae=b+P*(we+1),Pe=z.getModel();Pe.get("r0")!=null&&(Ee=f(Pe.get("r0"),u/2)),Pe.get("r")!=null&&(Ae=f(Pe.get("r"),u/2)),z.setLayout({angle:Q,startAngle:G,endAngle:Z,clockwise:K,cx:p,cy:w,r0:Ee,r:Ae})}if(z.children&&z.children.length){var Ge=0;y.each(z.children,function(gt){Ge+=j(gt,G+Ge)})}return Z-G};if(k){var H=b,W=b+P,X=Math.PI*2;T.setLayout({angle:X,startAngle:A,endAngle:A+X,clockwise:K,cx:p,cy:w,r0:H,r:W})}j(L,A)})}function h(a,i){var r=a.children||[];a.children=c(r,i),r.length&&y.each(a.children,function(o){h(o,i)})}function c(a,i){if(typeof i=="function")return a.sort(i);var r=i==="asc";return a.sort(function(o,d){var n=(o.getValue()-d.getValue())*(r?1:-1);return n===0?(o.dataIndex-d.dataIndex)*(r?-1:1):n})}D.exports=v},y3Yb:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("HBhm")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="PaperClipOutlined";var c=y.forwardRef(h);_.default=c},"y4/Y":function(D,_,e){var g=e("ProS"),f=e("bYtY"),y=e("zTMp"),m=e("62sa");e("SKx+"),e("1LEl"),e("Sp2Z"),g.registerPreprocessor(function(v){if(v){(!v.axisPointer||v.axisPointer.length===0)&&(v.axisPointer={});var h=v.axisPointer.link;h&&!f.isArray(h)&&(v.axisPointer.link=[h])}}),g.registerProcessor(g.PRIORITY.PROCESSOR.STATISTIC,function(v,h){v.getComponent("axisPointer").coordSysAxesInfo=y.collect(v,h)}),g.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},m)},y7Aq:function(D,_,e){var g=e("bYtY"),f=e("+TT/"),y=f.getLayoutRect;function m(h,c,a){var i=h.option,r=i.align;if(r!=null&&r!=="auto")return r;for(var o={width:c.getWidth(),height:c.getHeight()},d=i.orient==="horizontal"?1:0,n=[["left","right","width"],["top","bottom","height"]],l=n[d],t=[0,null,10],s={},u=0;u<3;u++)s[n[1-d][u]]=t[u],s[l[u]]=u===2?a[0]:i[l[u]];var p=[["x","width",3],["y","height",0]][d],w=y(s,o,i.padding);return l[(w.margin[p[2]]||0)+w[p[0]]+w[p[1]]*.5<o[p[1]]*.5?0:1]}function v(h,c){return g.each(h||[],function(a){a.dataIndex!=null&&(a.dataIndexInside=a.dataIndex,a.dataIndex=null),a.highlightKey="visualMap"+(c?c.componentIndex:"")}),h}_.getItemAlign=m,_.makeHighDownBatch=v},y8nQ:function(D,_,e){"use strict";var g=e("cIOH"),f=e.n(g),y=e("gwTy"),m=e.n(y),v=e("1GLa")},yEEn:function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="ArrowDownOutlined";var h=_.a=g.forwardRef(v)},yGk4:function(D,_,e){var g=e("Cwc5"),f=e("Kz5y"),y=g(f,"Set");D.exports=y},yO87:function(D,_,e){var g=e("bYtY"),f=e("oVpE"),y=f.createSymbol,m=e("IwbS"),v=m.Group,h=e("OELB"),c=h.parsePercent,a=e("FBjb"),i=3;function r(t){return g.isArray(t)||(t=[+t,+t]),t}function o(t,s){var u=s.rippleEffectColor||s.color;t.eachChild(function(p){p.attr({z:s.z,zlevel:s.zlevel,style:{stroke:s.brushType==="stroke"?u:null,fill:s.brushType==="fill"?u:null}})})}function d(t,s){v.call(this);var u=new a(t,s),p=new v;this.add(u),this.add(p),p.beforeUpdate=function(){this.attr(u.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,u=t.color,p=this.childAt(1),w=0;w<i;w++){var b=y(s,-1,-1,2,2,u);b.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var E=-w/i*t.period+t.effectOffset;b.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(E).start(),b.animateStyle(!0).when(t.period,{opacity:0}).delay(E).start(),p.add(b)}o(p,t)},n.updateEffectAnimation=function(t){for(var s=this._effectCfg,u=this.childAt(1),p=["symbolType","period","rippleScale"],w=0;w<p.length;w++){var b=p[w];if(s[b]!==t[b]){this.stopEffectAnimation(),this.startEffectAnimation(t);return}}o(u,t)},n.highlight=function(){this.trigger("emphasis")},n.downplay=function(){this.trigger("normal")},n.updateData=function(t,s){var u=t.hostModel;this.childAt(0).updateData(t,s);var p=this.childAt(1),w=t.getItemModel(s),b=t.getItemVisual(s,"symbol"),E=r(t.getItemVisual(s,"symbolSize")),A=t.getItemVisual(s,"color");p.attr("scale",E),p.traverse(function(F){F.attr({fill:A})});var S=w.getShallow("symbolOffset");if(S){var T=p.position;T[0]=c(S[0],E[0]),T[1]=c(S[1],E[1])}var L=t.getItemVisual(s,"symbolRotate");p.rotation=(L||0)*Math.PI/180||0;var x={};if(x.showEffectOn=u.get("showEffectOn"),x.rippleScale=w.get("rippleEffect.scale"),x.brushType=w.get("rippleEffect.brushType"),x.period=w.get("rippleEffect.period")*1e3,x.effectOffset=s/t.count(),x.z=w.getShallow("z")||0,x.zlevel=w.getShallow("zlevel")||0,x.symbolType=b,x.color=A,x.rippleEffectColor=w.get("rippleEffect.color"),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),x.showEffectOn==="render")this._effectCfg?this.updateEffectAnimation(x):this.startEffectAnimation(x),this._effectCfg=x;else{this._effectCfg=null,this.stopEffectAnimation();var C=this.childAt(0),I=function(){C.highlight(),x.showEffectOn!=="render"&&this.startEffectAnimation(x)},N=function(){C.downplay(),x.showEffectOn!=="render"&&this.stopEffectAnimation()};this.on("mouseover",I,this).on("mouseout",N,this).on("emphasis",I,this).on("normal",N,this)}this._effectCfg=x},n.fadeOut=function(t){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),t&&t()},g.inherits(d,v);var l=d;D.exports=l},yS9w:function(D,_,e){var g=e("MEGo"),f=g.parseSVG,y=g.makeViewBoxTransform,m=e("4fz+"),v=e("x6Kt"),h=e("bYtY"),c=h.assert,a=h.createHashMap,i=e("mFDi"),r=e("4NO4"),o=r.makeInner,d=o(),n={load:function(t,s){var u=d(s).originRoot;if(u)return{root:u,boundingRect:d(s).boundingRect};var p=l(s);return d(s).originRoot=p.root,d(s).boundingRect=p.boundingRect,p},makeGraphic:function(t,s,u){var p=d(s),w=p.rootMap||(p.rootMap=a()),b=w.get(u);if(b)return b;var E=p.originRoot,A=p.boundingRect;return p.originRootHostKey?b=l(s,A).root:(p.originRootHostKey=u,b=E),w.set(u,b)},removeGraphic:function(t,s,u){var p=d(s),w=p.rootMap;w&&w.removeKey(u),u===p.originRootHostKey&&(p.originRootHostKey=null)}};function l(t,s){var u=t.svgXML,p,w;try{p=u&&f(u,{ignoreViewBox:!0,ignoreRootClip:!0})||{},w=p.root,c(w!=null)}catch(L){throw new Error(`Invalid svg format
`+L.message)}var b=p.width,E=p.height,A=p.viewBoxRect;if(s||(s=b==null||E==null?w.getBoundingRect():new i(0,0,0,0),b!=null&&(s.width=b),E!=null&&(s.height=E)),A){var S=y(A,s.width,s.height),T=w;w=new m,w.add(T),T.scale=S.scale,T.position=S.position}return w.setClipPath(new v({shape:s.plain()})),{root:w,boundingRect:s}}D.exports=n},yWXo:function(D,_,e){var g=e("IwbS"),f=e("oVpE"),y=f.createSymbol,m=e("OS9S"),v=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,u=s&&n[0]<v;if(u)return;for(var p=0;p<d.length;){var w=d[p++],b=d[p++];if(isNaN(w)||isNaN(b))continue;if(this.softClipShape&&!this.softClipShape.contain(w,b))continue;t.x=w-n[0]/2,t.y=b-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]<v;if(!l)return;this.setTransform(r);for(var t=0;t<d.length;){var s=d[t++],u=d[t++];if(isNaN(s)||isNaN(u))continue;if(this.softClipShape&&!this.softClipShape.contain(s,u))continue;r.fillRect(s-n[0]/2,u-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),u=n.length/2-1;u>=0;u--){var p=u*2,w=n[p]-t/2,b=n[p+1]-s/2;if(r>=w&&o>=b&&r<=w+t&&o<=b+s)return u}return-1}});function c(){this.group=new g.Group}var a=c.prototype;a.isPersistent=function(){return!this._incremental},a.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},a.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)})},a.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},a.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)},a._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=y(o.getVisual("symbol"),0,0,0,0),r.setColor=r.symbolProxy.setColor;var s=r.shape.size[0]<v;r.useStyle(l.getModel("itemStyle").getItemStyle(s?["color","shadowBlur","shadowColor"]:["color"]));var u=o.getVisual("color");u&&r.setColor(u),d||(r.seriesIndex=l.seriesIndex,r.on("mousemove",function(p){r.dataIndex=null;var w=r.findDataIndex(p.offsetX,p.offsetY);w>=0&&(r.dataIndex=w+(r.startIndex||0))}))},a.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},a._clearIncremental=function(){var r=this._incremental;r&&r.clearDisplaybles()};var i=c;D.exports=i},ycre:function(D,_,e){var g=e("711d"),f=g("length");D.exports=f},ye1Q:function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="LoadingOutlined";var h=_.a=g.forwardRef(v)},ygfH:function(D,_,e){"use strict";Object.defineProperty(_,"__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"};_.default=g},yik8:function(D,_,e){var g=e("bZqE"),f=g.eachAfter,y=g.eachBefore,m=e("Itpr"),v=m.init,h=m.firstWalk,c=m.secondWalk,a=m.separation,i=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"),u=0,p=0,w=null;s==="radial"?(u=2*Math.PI,p=Math.min(t.height,t.width)/2,w=a(function(B,P){return(B.parentNode===P.parentNode?1:2)/B.depth})):(u=t.width,p=t.height,w=a());var b=n.getData().tree.root,E=b.children[0];if(E){v(b),f(E,h,w),b.hierNode.modifier=-E.hierNode.prelim,y(E,c);var A=E,S=E,T=E;y(E,function(B){var P=B.getLayout().x;P<A.getLayout().x&&(A=B),P>S.getLayout().x&&(S=B),B.depth>T.depth&&(T=B)});var L=A===S?1:w(A,S)/2,x=L-A.getLayout().x,C=0,I=0,N=0,F=0;if(s==="radial")C=u/(S.getLayout().x+L+x),I=p/(T.depth-1||1),y(E,function(B){N=(B.getLayout().x+x)*C,F=(B.depth-1)*I;var P=i(N,F);B.setLayout({x:P.x,y:P.y,rawX:N,rawY:F},!0)});else{var k=n.getOrient();k==="RL"||k==="LR"?(I=p/(S.getLayout().x+L+x),C=u/(T.depth-1||1),y(E,function(B){F=(B.getLayout().x+x)*I,N=k==="LR"?(B.depth-1)*C:u-(B.depth-1)*C,B.setLayout({x:N,y:F},!0)})):(k==="TB"||k==="BT")&&(C=u/(S.getLayout().x+L+x),I=p/(T.depth-1||1),y(E,function(B){N=(B.getLayout().x+x)*C,F=k==="TB"?(B.depth-1)*I:p-(B.depth-1)*I,B.setLayout({x:N,y:F},!0)}))}}}D.exports=o},ynwM:function(D,_,e){var g=e("MFOe"),f=g.Global;D.exports={name:"oldFF-globalStorage",read:m,write:v,each:h,remove:c,clearAll:a};var y=f.globalStorage;function m(i){return y[i]}function v(i,r){y[i]=r}function h(i){for(var r=y.length-1;r>=0;r--){var o=y.key(r);i(y[o],o)}}function c(i){return y.removeItem(i)}function a(){h(function(i,r){delete y[i]})}},ypgQ:function(D,_,e){var g=e("bYtY"),f=e("4NO4"),y=e("bLfw"),m=g.each,v=g.clone,h=g.map,c=g.merge,a=/^(min|max)?(.+)$/;function i(s){this._api=s,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}i.prototype={constructor:i,setOption:function(s,u){s&&g.each(f.normalizeToArray(s.series),function(b){b&&b.data&&g.isTypedArray(b.data)&&g.setAsPrimitive(b.data)}),s=v(s);var p=this._optionBackup,w=r.call(this,s,u,!p);this._newBaseOption=w.baseOption,p?(l(p.baseOption,w.baseOption),w.timelineOptions.length&&(p.timelineOptions=w.timelineOptions),w.mediaList.length&&(p.mediaList=w.mediaList),w.mediaDefault&&(p.mediaDefault=w.mediaDefault)):this._optionBackup=w},mountOption:function(s){var u=this._optionBackup;return this._timelineOptions=h(u.timelineOptions,v),this._mediaList=h(u.mediaList,v),this._mediaDefault=v(u.mediaDefault),this._currentMediaIndices=[],v(s?u.baseOption:this._newBaseOption)},getTimelineOption:function(s){var u,p=this._timelineOptions;if(p.length){var w=s.getComponent("timeline");w&&(u=v(p[w.getCurrentIndex()],!0))}return u},getMediaOption:function(s){var u=this._api.getWidth(),p=this._api.getHeight(),w=this._mediaList,b=this._mediaDefault,E=[],A=[];if(!w.length&&!b)return A;for(var S=0,T=w.length;S<T;S++)o(w[S].query,u,p)&&E.push(S);return!E.length&&b&&(E=[-1]),E.length&&!n(E,this._currentMediaIndices)&&(A=h(E,function(L){return v(L===-1?b.option:w[L].option)})),this._currentMediaIndices=E,A}};function r(s,u,p){var w=[],b=[],E,A,S=s.timeline;if(s.baseOption&&(A=s.baseOption),(S||s.options)&&(A=A||{},w=(s.options||[]).slice()),s.media){A=A||{};var T=s.media;m(T,function(L){L&&L.option&&(L.query?b.push(L):E||(E=L))})}return A||(A=s),A.timeline||(A.timeline=S),m([A].concat(w).concat(g.map(b,function(L){return L.option})),function(L){m(u,function(x){x(L,p)})}),{baseOption:A,timelineOptions:w,mediaDefault:E,mediaList:b}}function o(s,u,p){var w={width:u,height:p,aspectratio:u/p},b=!0;return g.each(s,function(E,A){var S=A.match(a);if(!S||!S[1]||!S[2])return;var T=S[1],L=S[2].toLowerCase();d(w[L],E,T)||(b=!1)}),b}function d(s,u,p){return p==="min"?s>=u:p==="max"?s<=u:s===u}function n(s,u){return s.join(",")===u.join(",")}function l(s,u){u=u||{},m(u,function(p,w){if(p==null)return;var b=s[w];if(!y.hasClass(w))s[w]=c(b,p,!0);else{p=f.normalizeToArray(p),b=f.normalizeToArray(b);var E=f.mappingToExists(b,p);s[w]=h(E,function(A){return A.option&&A.exist?c(A.exist,A.option,!0):A.exist||A.option})}})}var t=i;D.exports=t},yxFR:function(D,_,e){var g=e("y+Vt"),f=e("nPnh"),y=f.subPixelOptimizeLine,m={},v=g.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(c,a){var i,r,o,d;this.subPixelOptimize?(y(m,a,this.style),i=m.x1,r=m.y1,o=m.x2,d=m.y2):(i=a.x1,r=a.y1,o=a.x2,d=a.y2);var n=a.percent;if(n===0)return;c.moveTo(i,r),n<1&&(o=i*(1-n)+o*n,d=r*(1-n)+d*n),c.lineTo(o,d)},pointAt:function(c){var a=this.shape;return[a.x1*(1-c)+a.x2*c,a.y1*(1-c)+a.y2*c]}});D.exports=v},z35g:function(D,_,e){var g=e("bYtY");function f(v){return this._axes[v]}var y=function(v){this._axes={},this._dimList=[],this.name=v||""};y.prototype={constructor:y,type:"cartesian",getAxis:function(v){return this._axes[v]},getAxes:function(){return g.map(this._dimList,f,this)},getAxesByScale:function(v){return v=v.toLowerCase(),g.filter(this.getAxes(),function(h){return h.scale.type===v})},addAxis:function(v){var h=v.dim;this._axes[h]=v,this._dimList.push(h)},dataToCoord:function(v){return this._dataCoordConvert(v,"dataToCoord")},coordToData:function(v){return this._dataCoordConvert(v,"coordToData")},_dataCoordConvert:function(v,h){for(var c=this._dimList,a=v instanceof Array?[]:{},i=0;i<c.length;i++){var r=c[i],o=this._axes[r];a[r]=o[h](v[r])}return a}};var m=y;D.exports=m},z7Xi:function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="UploadOutlined";var h=_.a=g.forwardRef(v)},zAh6:function(D,_,e){"use strict";e.d(_,"a",function(){return v});var g=e("xEkU"),f=e.n(g),y=e("i6bk");function m(h,c,a,i){var r=a-c;return h/=i/2,h<1?r/2*h*h*h+c:r/2*((h-=2)*h*h+2)+c}function v(h){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=c.getContainer,i=a===void 0?function(){return window}:a,r=c.callback,o=c.duration,d=o===void 0?450:o,n=i(),l=Object(y.a)(n,!0),t=Date.now(),s=function u(){var p=Date.now(),w=p-t,b=m(w>d?d:w,l,h,d);Object(y.b)(n)?n.scrollTo(window.pageXOffset,b):n instanceof HTMLDocument||n.constructor.name==="HTMLDocument"?n.documentElement.scrollTop=b:n.scrollTop=b,w<d?f()(u):typeof r=="function"&&r()};f()(s)}},zDms:function(D,_,e){var g=e("bYtY"),f=e("OELB"),y=e("UOVi"),m=e("72pK"),v=g.each,h=f.asc,c=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};c.prototype={constructor:c,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(y.isCoordSupported(t.get("coordinateSystem"))){var s=this._dimName,u=l.queryComponents({mainType:s+"Axis",index:t.get(s+"AxisIndex"),id:t.get(s+"AxisId")})[0];this._axisIndex===(u&&u.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",u,p;s?(p="gridIndex",u=n==="x"?"y":"x"):(p="polarIndex",u=n==="angle"?"radius":"angle");var w;return l.eachComponent(u+"Axis",function(b){(b.get(p)||0)===(t.get(p)||0)&&(w=b)}),w},getMinMaxSpan:function(){return g.clone(this._minMaxSpan)},calculateDataWindow:function(n){var l=this._dataExtent,t=this.getAxisModel(),s=t.axis.scale,u=this._dataZoomModel.getRangePropMode(),p=[0,100],w=[],b=[],E;v(["start","end"],function(T,L){var x=n[T],C=n[T+"Value"];u[L]==="percent"?(x==null&&(x=p[L]),C=s.parse(f.linearMap(x,p,l))):(E=!0,C=C==null?l[L]:s.parse(C),x=f.linearMap(C,l,p)),b[L]=C,w[L]=x}),h(b),h(w);var A=this._minMaxSpan;E?S(b,w,l,p,!1):S(w,b,p,l,!0);function S(T,L,x,C,I){var N=I?"Span":"ValueSpan";m(0,T,x,"all",A["min"+N],A["max"+N]);for(var F=0;F<2;F++)L[F]=f.linearMap(T[F],x,C,!0),I&&(L[F]=s.parse(L[F]))}return{valueWindow:b,percentWindow:w}},reset:function(n){if(n!==this._dataZoomModel)return;var l=this.getTargetSeriesModels();this._dataExtent=a(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(),u=n.get("filterMode"),p=this._valueWindow;if(u==="none")return;v(s,function(b){var E=b.getData(),A=E.mapDimension(t,!0);if(!A.length)return;u==="weakFilter"?E.filterSelf(function(S){for(var T,L,x,C=0;C<A.length;C++){var I=E.get(A[C],S),N=!isNaN(I),F=I<p[0],k=I>p[1];if(N&&!F&&!k)return!0;N&&(x=!0),F&&(T=!0),k&&(L=!0)}return x&&T&&L}):v(A,function(S){if(u==="empty")b.setData(E=E.map(S,function(L){return w(L)?L:NaN}));else{var T={};T[S]=p,E.selectRange(T)}}),v(A,function(S){E.setApproximateExtent(p,S)})});function w(b){return b>=p[0]&&b<=p[1]}}};function a(n,l,t){var s=[Infinity,-Infinity];return v(t,function(u){var p=u.getData();p&&v(p.mapDimension(l,!0),function(w){var b=p.getApproximateExtent(w);b[0]<s[0]&&(s[0]=b[0]),b[1]>s[1]&&(s[1]=b[1])})}),s[1]<s[0]&&(s=[NaN,NaN]),i(n,s),s}function i(n,l){var t=n.getAxisModel(),s=t.getMin(!0),u=t.get("type")==="category",p=u&&t.getCategories().length;s!=null&&s!=="dataMin"&&typeof s!="function"?l[0]=s:u&&(l[0]=p>0?0:NaN);var w=t.getMax(!0);return w!=null&&w!=="dataMax"&&typeof w!="function"?l[1]=w:u&&(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,u=n._valueWindow;if(!s)return;var p=f.getPixelPrecision(u,[0,500]);p=Math.min(p,20);var w=l||s[0]===0&&s[1]===100;t.setRange(w?null:+u[0].toFixed(p),w?null:+u[1].toFixed(p))}function o(n){var l=n._minMaxSpan={},t=n._dataZoomModel,s=n._dataExtent;v(["min","max"],function(u){var p=t.get(u+"Span"),w=t.get(u+"ValueSpan");w!=null&&(w=n.getAxisModel().axis.scale.parse(w)),w!=null?p=f.linearMap(s[0]+w,s,[0,100],!0):p!=null&&(w=f.linearMap(p,[0,100],s,!0)-s[0]),l[u+"Span"]=p,l[u+"ValueSpan"]=w})}var d=c;D.exports=d},zM3Q:function(D,_,e){var g=e("4NO4"),f=g.makeInner;function y(){var m=f();return function(v){var h=m(v),c=v.pipelineContext,a=h.large,i=h.progressiveRender,r=h.large=c&&c.large,o=h.progressiveRender=c&&c.progressiveRender;return!!(a^r||i^o)&&"reset"}}D.exports=y},zRKj:function(D,_,e){e("Ae16"),e("Sp2Z"),e("y4/Y")},zTMp:function(D,_,e){var g=e("bYtY"),f=e("Qxkt"),y=g.each,m=g.curry;function v(s,u){var p={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return h(p,s,u),p.seriesInvolved&&a(p,s),p}function h(s,u,p){var w=u.getComponent("tooltip"),b=u.getComponent("axisPointer"),E=b.get("link",!0)||[],A=[];y(p.getCoordinateSystems(),function(S){if(!S.axisPointerEnabled)return;var T=t(S.model),L=s.coordSysAxesInfo[T]={};s.coordSysMap[T]=S;var x=S.model,C=x.getModel("tooltip",w);if(y(S.getAxes(),m(k,!1,null)),S.getTooltipAxes&&w&&C.get("show")){var I=C.get("trigger")==="axis",N=C.get("axisPointer.type")==="cross",F=S.getTooltipAxes(C.get("axisPointer.axis"));(I||N)&&y(F.baseAxes,m(k,N?"cross":!0,I)),N&&y(F.otherAxes,m(k,"cross",!1))}function k(B,P,K){var R=K.model.getModel("axisPointer",b),U=R.get("show");if(!U||U==="auto"&&!B&&!l(R))return;P==null&&(P=R.get("triggerTooltip")),R=B?c(K,C,b,u,B,P):R;var j=R.get("snap"),H=t(K.model),W=P||j||K.type==="category",X=s.axesInfo[H]={key:H,axis:K,coordSys:S,axisPointerModel:R,triggerTooltip:P,involveSeries:W,snap:j,useHandle:l(R),seriesModels:[]};L[H]=X,s.seriesInvolved|=W;var z=i(E,K);if(z!=null){var G=A[z]||(A[z]={axesInfo:{}});G.axesInfo[H]=X,G.mapper=E[z].mapper,X.linkGroup=G}}})}function c(s,u,p,w,b,E){var A=u.getModel("axisPointer"),S={};y(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(C){S[C]=g.clone(A.get(C))}),S.snap=s.type!=="category"&&!!E,A.get("type")==="cross"&&(S.type="line");var T=S.label||(S.label={});if(T.show==null&&(T.show=!1),b==="cross"){var L=A.get("label.show");if(T.show=L!=null?L:!0,!E){var x=S.lineStyle=A.get("crossStyle");x&&g.defaults(T,x.textStyle)}}return s.model.getModel("axisPointer",new f(S,p,w))}function a(s,u){u.eachSeries(function(p){var w=p.coordinateSystem,b=p.get("tooltip.trigger",!0),E=p.get("tooltip.show",!0);if(!w||b==="none"||b===!1||b==="item"||E===!1||p.get("axisPointer.show",!0)===!1)return;y(s.coordSysAxesInfo[t(w.model)],function(A){var S=A.axis;w.getAxis(S.dim)===S&&(A.seriesModels.push(p),A.seriesDataCount==null&&(A.seriesDataCount=0),A.seriesDataCount+=p.getData().count())})},this)}function i(s,u){for(var p=u.model,w=u.dim,b=0;b<s.length;b++){var E=s[b]||{};if(r(E[w+"AxisId"],p.id)||r(E[w+"AxisIndex"],p.componentIndex)||r(E[w+"AxisName"],p.name))return b}}function r(s,u){return s==="all"||g.isArray(s)&&g.indexOf(s,u)>=0||s===u}function o(s){var u=d(s);if(!u)return;var p=u.axisPointerModel,w=u.axis.scale,b=p.option,E=p.get("status"),A=p.get("value");A!=null&&(A=w.parse(A));var S=l(p);E==null&&(b.status=S?"show":"hide");var T=w.getExtent().slice();T[0]>T[1]&&T.reverse(),(A==null||A>T[1])&&(A=T[1]),A<T[0]&&(A=T[0]),b.value=A,S&&(b.status=u.axis.scale.isBlank()?"hide":"show")}function d(s){var u=(s.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return u&&u.axesInfo[t(s)]}function n(s){var u=d(s);return u&&u.axisPointerModel}function l(s){return!!s.get("handle.show")}function t(s){return s.type+"||"+s.id}_.collect=v,_.fixValue=o,_.getAxisInfo=d,_.getAxisPointerModel=n,_.makeKey=t},zYTA:function(D,_,e){var g=e("bYtY"),f=256;function y(){var v=g.createCanvas();this.canvas=v,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}y.prototype={update:function(v,h,c,a,i,r){var o=this._getBrush(),d=this._getGradient(v,i,"inRange"),n=this._getGradient(v,i,"outOfRange"),l=this.pointSize+this.blurSize,t=this.canvas,s=t.getContext("2d"),u=v.length;t.width=h,t.height=c;for(var p=0;p<u;++p){var w=v[p],b=w[0],E=w[1],A=w[2],S=a(A);s.globalAlpha=S,s.drawImage(o,b-l,E-l)}if(!t.width||!t.height)return t;for(var T=s.getImageData(0,0,t.width,t.height),L=T.data,x=0,C=L.length,I=this.minOpacity,N=this.maxOpacity,F=N-I;x<C;){var S=L[x+3]/256,k=Math.floor(S*(f-1))*4;if(S>0){var B=r(S)?d:n;S>0&&(S=S*F+I),L[x++]=B[k],L[x++]=B[k+1],L[x++]=B[k+2],L[x++]=B[k+3]*S*256}else x+=4}return s.putImageData(T,0,0),t},_getBrush:function(){var v=this._brushCanvas||(this._brushCanvas=g.createCanvas()),h=this.pointSize+this.blurSize,c=h*2;v.width=c,v.height=c;var a=v.getContext("2d");return a.clearRect(0,0,c,c),a.shadowOffsetX=c,a.shadowBlur=this.blurSize,a.shadowColor="#000",a.beginPath(),a.arc(-h,h,this.pointSize,0,Math.PI*2,!0),a.closePath(),a.fill(),v},_getGradient:function(v,h,c){for(var a=this._gradientPixels,i=a[c]||(a[c]=new Uint8ClampedArray(256*4)),r=[0,0,0,0],o=0,d=0;d<256;d++)h[c](d/255,!0,r),i[o++]=r[0],i[o++]=r[1],i[o++]=r[2],i[o++]=r[3];return i}};var m=y;D.exports=m},zarK:function(D,_,e){var g=e("YH21"),f=g.addEventListener,y=g.removeEventListener,m=g.normalizeEvent,v=g.getNativeEvent,h=e("bYtY"),c=e("H6uX"),a=e("ItGF"),i=300,r=a.domSupported,o=function(){var B=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],P=["touchstart","touchend","touchmove"],K={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},R=h.map(B,function(U){var j=U.replace("mouse","pointer");return K.hasOwnProperty(j)?j:U});return{mouse:B,touch:P,pointer:R}}(),d={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function n(B){return B==="mousewheel"&&a.browser.firefox?"DOMMouseScroll":B}function l(B){var P=B.pointerType;return P==="pen"||P==="touch"}function t(B){B.touching=!0,B.touchTimer!=null&&(clearTimeout(B.touchTimer),B.touchTimer=null),B.touchTimer=setTimeout(function(){B.touching=!1,B.touchTimer=null},700)}function s(B){B&&(B.zrByTouch=!0)}function u(B,P){return m(B.dom,new w(B,P),!0)}function p(B,P){for(var K=P,R=!1;K&&K.nodeType!==9&&!(R=K.domBelongToZr||K!==P&&K===B.painterRoot);)K=K.parentNode;return R}function w(B,P){this.type=P.type,this.target=this.currentTarget=B.dom,this.pointerType=P.pointerType,this.clientX=P.clientX,this.clientY=P.clientY}var b=w.prototype;b.stopPropagation=b.stopImmediatePropagation=b.preventDefault=h.noop;var E={mousedown:function(P){P=m(this.dom,P),this._mayPointerCapture=[P.zrX,P.zrY],this.trigger("mousedown",P)},mousemove:function(P){P=m(this.dom,P);var K=this._mayPointerCapture;K&&(P.zrX!==K[0]||P.zrY!==K[1])&&C(this,!0),this.trigger("mousemove",P)},mouseup:function(P){P=m(this.dom,P),C(this,!1),this.trigger("mouseup",P)},mouseout:function(P){P=m(this.dom,P),this._pointerCapturing&&(P.zrEventControl="no_globalout");var K=P.toElement||P.relatedTarget;P.zrIsToLocalDOM=p(this,K),this.trigger("mouseout",P)},touchstart:function(P){P=m(this.dom,P),s(P),this._lastTouchMoment=new Date,this.handler.processGesture(P,"start"),E.mousemove.call(this,P),E.mousedown.call(this,P)},touchmove:function(P){P=m(this.dom,P),s(P),this.handler.processGesture(P,"change"),E.mousemove.call(this,P)},touchend:function(P){P=m(this.dom,P),s(P),this.handler.processGesture(P,"end"),E.mouseup.call(this,P),+new Date-this._lastTouchMoment<i&&E.click.call(this,P)},pointerdown:function(P){E.mousedown.call(this,P)},pointermove:function(P){l(P)||E.mousemove.call(this,P)},pointerup:function(P){E.mouseup.call(this,P)},pointerout:function(P){l(P)||E.mouseout.call(this,P)}};h.each(["click","mousewheel","dblclick","contextmenu"],function(B){E[B]=function(P){P=m(this.dom,P),this.trigger(B,P)}});var A={pointermove:function(P){l(P)||A.mousemove.call(this,P)},pointerup:function(P){A.mouseup.call(this,P)},mousemove:function(P){this.trigger("mousemove",P)},mouseup:function(P){var K=this._pointerCapturing;C(this,!1),this.trigger("mouseup",P),K&&(P.zrEventControl="only_globalout",this.trigger("mouseout",P))}};function S(B,P){var K=P.domHandlers;a.pointerEventsSupported?h.each(o.pointer,function(R){L(P,R,function(U){K[R].call(B,U)})}):(a.touchEventsSupported&&h.each(o.touch,function(R){L(P,R,function(U){K[R].call(B,U),t(P)})}),h.each(o.mouse,function(R){L(P,R,function(U){U=v(U),P.touching||K[R].call(B,U)})}))}function T(B,P){a.pointerEventsSupported?h.each(d.pointer,K):a.touchEventsSupported||h.each(d.mouse,K);function K(R){function U(j){j=v(j),p(B,j.target)||(j=u(B,j),P.domHandlers[R].call(B,j))}L(P,R,U,{capture:!0})}}function L(B,P,K,R){B.mounted[P]=K,B.listenerOpts[P]=R,f(B.domTarget,n(P),K,R)}function x(B){var P=B.mounted;for(var K in P)P.hasOwnProperty(K)&&y(B.domTarget,n(K),P[K],B.listenerOpts[K]);B.mounted={}}function C(B,P){if(B._mayPointerCapture=null,r&&B._pointerCapturing^P){B._pointerCapturing=P;var K=B._globalHandlerScope;P?T(B,K):x(K)}}function I(B,P){this.domTarget=B,this.domHandlers=P,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function N(B,P){c.call(this),this.dom=B,this.painterRoot=P,this._localHandlerScope=new I(B,E),r&&(this._globalHandlerScope=new I(document,A)),this._pointerCapturing=!1,this._mayPointerCapture=null,S(this,this._localHandlerScope)}var F=N.prototype;F.dispose=function(){x(this._localHandlerScope),r&&x(this._globalHandlerScope)},F.setCursor=function(B){this.dom.style&&(this.dom.style.cursor=B||"default")},h.mixin(N,c);var k=N;D.exports=k},zdCA:function(D,_,e){"use strict";var g=e("TqRt"),f=e("284h");Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var y=f(e("q1tI")),m=g(e("PSzr")),v=g(e("KQxl")),h=function(i,r){return y.createElement(v.default,Object.assign({},i,{ref:r,icon:m.default}))};h.displayName="BarsOutlined";var c=y.forwardRef(h);_.default=c},zeV3:function(D,_,e){"use strict";var g=e("pVnL"),f=e.n(g),y=e("lSNA"),m=e.n(y),v=e("q1tI"),h=e.n(v),c=e("TSYQ"),a=e.n(c),i=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 u=0,s=Object.getOwnPropertySymbols(n);u<s.length;u++)l.indexOf(s[u])<0&&Object.prototype.propertyIsEnumerable.call(n,s[u])&&(t[s[u]]=n[s[u]]);return t},o={small:8,middle:16,large:24},d=function(l){var t,s=v.useContext(i.b),u=s.getPrefixCls,p=s.space,w=s.direction,b=l.size,E=b===void 0?(p==null?void 0:p.size)||"small":b,A=l.align,S=l.className,T=l.children,L=l.direction,x=L===void 0?"horizontal":L,C=l.prefixCls,I=r(l,["size","align","className","children","direction","prefixCls"]),N=v.Children.count(T);if(N===0)return null;var F=A===void 0&&x==="horizontal"?"center":A,k=u("space",C),B=a()(k,"".concat(k,"-").concat(x),(t={},m()(t,"".concat(k,"-rtl"),w==="rtl"),m()(t,"".concat(k,"-align-").concat(F),F),t),S),P="".concat(k,"-item"),K=w==="rtl"?"marginLeft":"marginRight";return v.createElement("div",f()({className:B},I),v.Children.map(T,function(R,U){return v.createElement("div",{className:P,key:"".concat(P,"-").concat(U),style:U===N-1||R===null||R===void 0?{}:m()({},x==="vertical"?"marginBottom":K,typeof E=="string"?o[E]:E)},R)}))};_.a=d},zoYe:function(D,_,e){var g=e("nmnc"),f=e("eUgh"),y=e("Z0cm"),m=e("/9aa"),v=1/0,h=g?g.prototype:void 0,c=h?h.toString:void 0;function a(i){if(typeof i=="string")return i;if(y(i))return f(i,a)+"";if(m(i))return c?c.call(i):"";var r=i+"";return r=="0"&&1/i==-v?"-0":r}D.exports=a},zs7G:function(D,_,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"},y=f,m=e("6VBw"),v=function(a,i){return g.createElement(m.a,Object.assign({},a,{ref:i,icon:y}))};v.displayName="DoubleRightOutlined";var h=_.a=g.forwardRef(v)},zuHt:function(D,_,e){var g=e("bYtY");function f(y){var m={};y.eachSeriesByType("map",function(v){var h=v.getMapType();if(v.getHostGeoModel()||m[h])return;var c={};g.each(v.seriesGroup,function(i){var r=i.coordinateSystem,o=i.originalData;i.get("showLegendSymbol")&&y.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=c[l]||0,u=r.dataToPoint(t.center);c[l]=s+1,o.setItemLayout(n,{point:u,offset:s})})});var a=v.getData();a.each(function(i){var r=a.getName(i),o=a.getItemLayout(i)||{};o.showLabel=!c[r],a.setItemLayout(i,o)}),m[h]=!0})}D.exports=f}}]);